Shopvento UI - v0.2.0
    Preparing search index...

    Function DateSheet

    • Render a selected date in a modal sheet with seats, availability and booking-mode guidance.

      Parameters

      • __namedParameters: {
            color?: string;
            detailUrl?: string;
            format?: BookingFormat;
            initialSeats?: number;
            labels?: Partial<BookingLabels>;
            location?: ShopFranchiseLocationResponse;
            nextWindow?: Timewindow;
            onClose: () => void;
            onContinue: (w: Timewindow, seats: number) => void;
            onSelect?: (window: Timewindow) => void;
            phone?: string;
            phoneLabel?: string;
            settings: ShopSettings;
            variants: ShopTasting[];
            window: Timewindow;
            windows?: Timewindow[];
        }
        • Optionalcolor?: string

          Optional CSS color for the event. Optional; omitted unless supplied by the host or backend.

        • OptionaldetailUrl?: string

          Optional host event details URL. Optional; omitted unless supplied by the host or backend.

        • Optionalformat?: BookingFormat

          Optional locale and currency formatting settings.

          {}
          
        • OptionalinitialSeats?: number

          Initial selected seat count.

          2
          
        • Optionallabels?: Partial<BookingLabels>

          Host-owned copy overrides or account terminology. Optional; omitted unless supplied by the host or backend.

        • Optionallocation?: ShopFranchiseLocationResponse

          Selected installation location. Optional; omitted unless supplied by the host or backend.

        • OptionalnextWindow?: Timewindow

          Optional next available timewindow. Optional; omitted unless supplied by the host or backend.

        • onClose: () => void

          Close the modal in host state.

        • onContinue: (w: Timewindow, seats: number) => void

          Receive the selected window and seat count to continue booking.

        • OptionalonSelect?: (window: Timewindow) => void

          Receive the selected dated timewindow. Optional; omitted unless supplied by the host or backend.

        • Optionalphone?: string

          Host contact phone number or customer international phone field. Optional; omitted unless supplied by the host or backend.

        • OptionalphoneLabel?: string

          Customer-visible phone link label. Optional; omitted unless supplied by the host or backend.

        • settings: ShopSettings

          Authoritative public installation flags and booking limits.

        • variants: ShopTasting[]

          Public event variants with backend prices.

        • window: Timewindow

          Selected dated timewindow.

        • Optionalwindows?: Timewindow[]

          Dated availability returned by the API.

          []
          

      Returns Element