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

    Function MonthCalendar

    • Render a month grid and delegate date selection and month navigation to the host.

      Parameters

      • __namedParameters: {
            colors?: EventColors;
            compact?: boolean;
            format?: BookingFormat;
            leadHours?: number;
            locations?: ShopFranchiseLocationResponse[];
            month: string;
            onMonthChange?: (month: string) => void;
            onSelect: (w: Timewindow) => void;
            seats?: number;
            windows: Timewindow[];
        } & EventCollection
        • Optionalcolors?: EventColors

          Optional CSS colors keyed by event identifier.

          {}
          
        • Optionalcompact?: boolean

          Use the compact month layout.

          false
          
        • Optionalformat?: BookingFormat

          Optional locale and currency formatting settings.

          {}
          
        • OptionalleadHours?: number

          Minimum Berlin wall-clock lead time in hours. Defaults to 24.

          24
          
        • Optionallocations?: ShopFranchiseLocationResponse[]

          Public installation locations.

          []
          
        • month: string

          Visible month in YYYY-MM format.

        • OptionalonMonthChange?: (month: string) => void

          Receive the requested ISO year-month for host navigation. Optional; omitted unless supplied by the host or backend.

        • onSelect: (w: Timewindow) => void

          Receive the selected dated timewindow.

        • Optionalseats?: number

          Booked places, or requested seat count depending on the signature.

          1
          
        • windows: Timewindow[]

          Dated availability returned by the API.

      Returns Element