--- /** * Intake Wizard shell. * * Renders a step progress bar + back/next buttons; the active step's * content is rendered inline from the matching component under * ./steps/Step.astro via dynamic import. * * Props: * service_slug: which catalog entry this wizard targets * steps: ordered list from INTAKE_MANIFEST[slug] * title: page title shown above the wizard * * State lives in window.sessionStorage under the key * "pw-intake-" so a reload doesn't wipe progress. Step components * read/write via the shared `PWIntake` browser helper declared below. */ import EntityStep from "./steps/EntityStep.astro"; import CategoryStep from "./steps/CategoryStep.astro"; import OfficerStep from "./steps/OfficerStep.astro"; import JurisdictionStep from "./steps/JurisdictionStep.astro"; import HistoryStep from "./steps/HistoryStep.astro"; import WirelessStep from "./steps/WirelessStep.astro"; import EarthStationStep from "./steps/EarthStationStep.astro"; import AudioBridgingStep from "./steps/AudioBridgingStep.astro"; import RevenueStep from "./steps/RevenueStep.astro"; import BundledServiceStep from "./steps/BundledServiceStep.astro"; import IccImportStep from "./steps/IccImportStep.astro"; import ResellerCertStep from "./steps/ResellerCertStep.astro"; import LNPARegionStep from "./steps/LNPARegionStep.astro"; import Block6CertStep from "./steps/Block6CertStep.astro"; import BDCDataStep from "./steps/BDCDataStep.astro"; import STIRShakenStep from "./steps/STIRShakenStep.astro"; import CALEAStep from "./steps/CALEAStep.astro"; import ForeignCarrierStep from "./steps/ForeignCarrierStep.astro"; import ForeignQualStep from "./steps/ForeignQualStep.astro"; import DCAgentStep from "./steps/DCAgentStep.astro"; import CPNIStep from "./steps/CPNIStep.astro"; import CDRPeriodStep from "./steps/CDRPeriodStep.astro"; import OCNStep from "./steps/OCNStep.astro"; import ClassificationWizard from "./steps/ClassificationWizard.astro"; import ReviewStep from "./steps/ReviewStep.astro"; import PaymentStep from "./steps/PaymentStep.astro"; export interface Props { service_slug: string; steps: string[]; title: string; } const { service_slug, steps, title } = Astro.props; const STEP_LABELS: Record = { entity: "Carrier", category: "Line 105", classification: "Carrier Type", officer: "Officers", jurisdiction: "Jurisdictions", history: "Service Start", wireless: "Wireless", earth_station: "Satellite / Pvt Line", audio_bridging: "Audio Bridging", revenue: "Revenue", bundled_service: "Bundles", icc_import: "ICC Import", reseller_cert: "Resellers", lnpa_region: "LNPA Regions", block6_cert: "Certifications", bdc_data: "BDC Data", stir_shaken: "STIR/SHAKEN", calea: "CALEA", foreign_carrier: "Foreign Affiliation", foreign_qual: "State Registration", dc_agent: "D.C. Agent", cpni_questions: "CPNI Details", cdr_period: "Reporting Period", ocn: "OCN Details", review: "Review", payment: "Payment", }; ---

{title}

    {steps.map((step, i) => (
  1. {i + 1} {STEP_LABELS[step] ?? step}
  2. ))}
{steps.includes("entity") && } {steps.includes("category") && } {steps.includes("officer") && } {steps.includes("jurisdiction") && } {steps.includes("history") && } {steps.includes("revenue") && } {steps.includes("bundled_service") && } {steps.includes("icc_import") && } {steps.includes("reseller_cert") && } {steps.includes("lnpa_region") && } {steps.includes("block6_cert") && } {steps.includes("bdc_data") && } {steps.includes("stir_shaken") && } {steps.includes("calea") && } {steps.includes("foreign_carrier") && } {steps.includes("foreign_qual") && } {steps.includes("dc_agent") && } {steps.includes("cpni_questions") && } {steps.includes("cdr_period") && } {steps.includes("ocn") && } {steps.includes("classification") && } {steps.includes("review") && } {steps.includes("payment") && }