@loczer/storefront-sdk 0.147.0 → 0.149.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BookingPage.d.ts +6 -0
- package/dist/CheckoutPage.d.ts +6 -0
- package/dist/CheckoutPaymentPage.d.ts +6 -0
- package/dist/CheckoutSuccessPage.d.ts +6 -0
- package/dist/ContractSaleDocumentPage.d.ts +116 -0
- package/dist/ErrorPage.d.ts +6 -0
- package/dist/HomePage.d.ts +6 -0
- package/dist/I18nProvider.d.ts +23 -0
- package/dist/NotFoundPage.d.ts +6 -0
- package/dist/PaymentLinkPage.d.ts +40 -0
- package/dist/PaymentLinkSuccessPage.d.ts +40 -0
- package/dist/ProductPage.d.ts +6 -0
- package/dist/StorefrontProvider.d.ts +1119 -0
- package/dist/StorefrontProvider.js +95 -0
- package/dist/accessories.d.ts +42 -0
- package/dist/apiCall.d.ts +7 -0
- package/dist/assets/dev.svg +4 -0
- package/dist/assets/playground-hero-preview.svg +4 -0
- package/dist/assets/whatsapp.svg +4 -0
- package/dist/badge.d.ts +14 -0
- package/dist/bikes.d.ts +107 -0
- package/dist/booking-period-time-slots.d.ts +279 -0
- package/dist/booking-period.d.ts +173 -0
- package/dist/booking.d.ts +384 -0
- package/dist/button.d.ts +16 -0
- package/dist/card.d.ts +18 -0
- package/dist/cart.d.ts +30 -0
- package/dist/cartSummary.d.ts +205 -0
- package/dist/checkoutPaymentDecision.d.ts +48 -0
- package/dist/checkoutPaymentSession.d.ts +65 -0
- package/dist/checkoutSubmit.d.ts +61 -0
- package/dist/checkoutVerifyCoupon.d.ts +45 -0
- package/dist/chunks/node_modules/react-day-picker/dist/esm/components/DayButton-D9KJeDKs.js +10 -0
- package/dist/chunks/pkg/booking-engine/dist/models/LocalizedString--6q77SPQ.js +36 -0
- package/dist/chunks/pkg/booking-engine/dist/models/Price-BlFRDHXV.js +13 -0
- package/dist/chunks/pkg/booking-engine/dist/models/Product.shared-BiDGmurZ.js +85 -0
- package/dist/chunks/pkg/booking-engine/dist/models/types-DLcvzW5b.js +13 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/base-asset-GJ9eIvIL.js +18 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/base-booking-D9k8ehGi.js +75 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/booking-engine-configuration-CnBdp3jk.js +104 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/cart-inputs-DYgEGJ5M.js +73 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/money-Dy4b9loa.js +23 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/public-booking-engine-configuration-C9VB-WhU.js +17 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/rich-text-CqXhNDN3.js +15 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/shop-opening-hours-B47MMaoD.js +45 -0
- package/dist/chunks/pkg/booking-engine/dist/utils/pricing-DcnUXaeI.js +36 -0
- package/dist/chunks/pkg/ui/dist/Button-CEl4MEmL.js +44 -0
- package/dist/chunks/pkg/ui/dist/Dialog-COr6fnKd.js +283 -0
- package/dist/chunks/pkg/ui/dist/Drawer/index-BxM7gmh_.js +226 -0
- package/dist/chunks/pkg/ui/dist/Map/MapContent-BqCzk6pD.js +292 -0
- package/dist/chunks/pkg/ui/dist/Map/constants-AiBwXZf6.js +4 -0
- package/dist/chunks/pkg/ui/dist/Map-Cqn7INdm.js +50 -0
- package/dist/chunks/pkg/ui/dist/MorphingModalWizard-D7hc-dDP.js +30 -0
- package/dist/chunks/pkg/ui/dist/ResponsiveDialog-D8YzB_3J.js +154 -0
- package/dist/chunks/pkg/ui/dist/ScrollArea-D9UdixQL.js +67 -0
- package/dist/chunks/pkg/ui/dist/SsrHydratablePortal/index-Ue09qUAi.js +40 -0
- package/dist/chunks/pkg/ui/dist/_virtual/_commonjsHelpers-W3dGiUWw.js +6 -0
- package/dist/chunks/pkg/ui/dist/_virtual/index-C9tmbAjU.js +5 -0
- package/dist/chunks/pkg/ui/dist/_virtual/index2-Cr2SmWQI.js +4 -0
- package/dist/chunks/pkg/ui/dist/_virtual/mapbox-gl-8G326Xvx.js +27 -0
- package/dist/chunks/pkg/ui/dist/_virtual/mapbox-gl2-CffgHKjA.js +4 -0
- package/dist/chunks/pkg/ui/dist/_virtual/use-sync-external-store-shim.development-DmH-ks33.js +4 -0
- package/dist/chunks/pkg/ui/dist/_virtual/use-sync-external-store-shim.production-BjPWYSZb.js +4 -0
- package/dist/chunks/pkg/ui/dist/_virtual/with-selector-BTwk-iW5.js +5 -0
- package/dist/chunks/pkg/ui/dist/_virtual/with-selector.development-DmH-ks33.js +4 -0
- package/dist/chunks/pkg/ui/dist/_virtual/with-selector.production-xTL6w2lb.js +4 -0
- package/dist/chunks/pkg/ui/dist/_virtual/with-selector2-Cr2SmWQI.js +4 -0
- package/dist/chunks/pkg/ui/dist/lib/body-pointer-events-CyPsDvc9.js +16 -0
- package/dist/chunks/pkg/ui/dist/lib/isAutomationRuntime-Cu2aNI6_.js +5 -0
- package/dist/chunks/pkg/ui/dist/lib/slot-CklkPb7k.js +50 -0
- package/dist/chunks/pkg/ui/dist/lib/useMediaQuery-DhKGnWgn.js +20 -0
- package/dist/chunks/pkg/ui/dist/lib/utils-B6zhukbw.js +8 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/csp-provider/CSPContext-9LViUOEN.js +13 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/backdrop/DialogBackdrop-dfhPbhun.js +40 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/close/DialogClose-CiEiuP0S.js +41 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/description/DialogDescription-C793yEmX.js +25 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/popup/DialogPopup-Ce1MaHNd.js +80 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/popup/DialogPopupCssVars-Bt8y0AZk.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/popup/DialogPopupDataAttributes-C1piwkT4.js +7 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/portal/DialogPortal-DCoXyUCa.js +30 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/portal/DialogPortalContext-CtWBuvRl.js +14 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/root/DialogRoot-DYrthiUT.js +64 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/root/DialogRootContext-D__rrg4-.js +14 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/root/useDialogRoot-Dmki7CJG.js +81 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/store/DialogStore-ltMcMpnh.js +69 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/title/DialogTitle-BYe_-O2U.js +25 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/trigger/DialogTrigger-CDsWAaqd.js +56 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/viewport/DialogViewport-CoAyzYQs.js +54 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/viewport/DialogViewportDataAttributes-C_9BMPUj.js +7 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/backdrop/DrawerBackdrop-BqcC6xGK.js +45 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/backdrop/DrawerBackdropCssVars-BtzwweRf.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/close/DrawerClose-K9toitLg.js +5 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/content/DrawerContent-DAER5HEH.js +22 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/content/DrawerContentDataAttributes-CpDnPAXP.js +4 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/description/DrawerDescription-CmzTECJs.js +5 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/popup/DrawerPopup-BXOe4Llu.js +241 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/popup/DrawerPopupCssVars-Ct685Bcm.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/popup/DrawerPopupDataAttributes-BsZri5W4.js +7 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/portal/DrawerPortal-BfTFM1p8.js +5 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/provider/DrawerProviderContext-euW_U5h8.js +10 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/root/DrawerRoot-DuO16Hl3.js +148 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/root/DrawerRootContext-Cyaf-7qv.js +14 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/root/useDrawerSnapPoints-CVbKGPMi.js +105 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/title/DrawerTitle-DPojAJP6.js +5 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/trigger/DrawerTrigger-BKWBskBD.js +5 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/viewport/DrawerViewport-BA1WyQud.js +593 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/viewport/DrawerViewportContext-xR35hPcl.js +10 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingFocusManager-B-v_gyUI.js +264 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingPortal-6JOqLjHM.js +129 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingRootStore-D8M2d4pp.js +74 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingTree-BJGeWpX5.js +15 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useClick-C3V1YAJN.js +68 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useDismiss-BzvyAPc1.js +265 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useInteractions-BWCpGAad.js +48 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useRole-DfMbRaU2.js +76 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useSyncedFloatingRootContext-Cczfd0Dg.js +35 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/composite-keZdnJD9.js +11 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/constants-B-72x4uQ.js +7 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/createAttribute-DQjmnndx.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/createEventEmitter-156NFNq-.js +17 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/element-7_beKIST.js +29 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/enqueueFocus-BoxfANJQ.js +22 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/event-BJf3Eroa.js +29 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/getEmptyRootContext-AtxQDZdS.js +18 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/markOthers-im_zgP9x.js +80 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/nodes-BbaFB8UD.js +15 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/tabbable-BUkXLKOZ.js +140 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/clamp--orC6ThW.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/composite/composite-Bl9mbNwg.js +14 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/composite/root/CompositeRootContext-hBCEpdkp.js +14 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/constants-DrTrmCr_.js +12 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/createBaseUIEventDetails-WO93mcXE.js +26 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/direction-context/DirectionContext-DHsnfCgz.js +10 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/getStateAttributesProps-rQvCQegA.js +16 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/reason-parts-DKJ_-O8k.js +13 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/shadowDom-DTBRPFkJ.js +31 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/stateAttributesMapping-B17IMmGk.js +16 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/use-button/useButton-CW30d95j.js +113 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/useAnimationsFinished-B8I0rTuq.js +54 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/useBaseUiId-BhlhP3ZP.js +7 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/useOpenChangeComplete-Doxu2x_W.js +22 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/useRenderElement-CktkgllD.js +71 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/useTransitionStatus-D7bNijs9.js +42 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/useValueChanged-DNmBrXYR.js +14 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/merge-props/mergeProps-taN4tP1i.js +102 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/constants-BMXX3oM8.js +5 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/corner/ScrollAreaCorner-z0cNScNF.js +31 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/root/ScrollAreaRoot-Cw_gyhhI.js +166 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/root/ScrollAreaRootContext-CQVTL1yg.js +14 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/root/ScrollAreaRootCssVars-UMzfvqzf.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/root/ScrollAreaRootDataAttributes-DYAeFs1E.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/root/stateAttributes-e5OzHsp_.js +25 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/scrollbar/ScrollAreaScrollbar-DGyLPhKe.js +132 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/scrollbar/ScrollAreaScrollbarContext-Cn2tB9KX.js +14 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/scrollbar/ScrollAreaScrollbarCssVars-CVtQQfDD.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/scrollbar/ScrollAreaScrollbarDataAttributes-CcesYZ2Y.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/thumb/ScrollAreaThumb-08Mmzry4.js +50 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/utils/getOffset-D1-wFs-x.js +9 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/viewport/ScrollAreaViewport-CadjBxEp.js +201 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/viewport/ScrollAreaViewportContext-O9cXognJ.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/viewport/ScrollAreaViewportCssVars-Dttwkr3N.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/FocusGuard-BkeVKSkX.js +24 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/InternalBackdrop-CZUtC9bU.js +30 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/getElementAtPoint-CR7qt9tE.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/popupStateMapping-DVUopj_P.js +32 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/popups/popupStoreUtils-DSjS8g02.js +95 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/popups/popupTriggerMap-RUMkUgDU.js +64 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/popups/store-Bz3dUxiI.js +52 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/resolveClassName-D2IlO_XQ.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/resolveRef-Csx4Vghu.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/resolveStyle-MTmYMe0U.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/scrollEdges-DZboWB_y.js +12 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/scrollable-D1F6TRF5.js +34 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/styles-BrbvX9PD.js +16 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/useFocusableWhenDisabled-CJZi1M5y.js +24 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/useOpenInteractionType-CW--rAaF.js +30 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/useSwipeDismiss-ZcIND0Ss.js +530 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/addEventListener-DnnRp2CB.js +8 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/detectBrowser-CntSiJrj.js +43 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/empty-C3-x9M2q.js +7 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/error-KZbzusBH.js +11 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/formatErrorMessage-BJfWDcMI.js +11 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/getReactElementRef-CB7CT3xn.js +11 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/inertValue-C-Qws-Vy.js +7 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/mergeCleanups-vij8IUwv.js +11 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/mergeObjects-DodLCs_x.js +14 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/owner-CfKP3-Rk.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/reactVersion-oVIlFc4q.js +8 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/safeReact-C4X27Y1Z.js +7 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/store/ReactStore-CfPgecP0.js +145 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/store/Store-CRAQANWM.js +86 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/store/createSelector-SDRl3LYE.js +17 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/store/useStore-BsRFFm2l.js +21 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useAnimationFrame-C0av1dS7.js +68 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useControlled-BYl9LGEz.js +53 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useEnhancedClickHandler-Cu2E1baO.js +19 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useId-D8NyJjt3.js +20 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useIsoLayoutEffect-oOMudEAz.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useMergedRefs-p9UujHQn.js +69 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useOnFirstRender-IB3XPZ7h.js +8 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useOnMount-DjNCK2YI.js +8 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useRefWithInit-BObJZm23.js +9 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useScrollLock-kV6bksFe.js +125 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useStableCallback-DyHa2qMJ.js +32 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useTimeout-BPZmm8PE.js +32 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useValueAsRef-CCfi_eqC.js +19 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/visuallyHidden-CQbAGmCA.js +18 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/warn-eK9kQMmi.js +11 -0
- package/dist/chunks/pkg/ui/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom-BULZuLW5.js +71 -0
- package/dist/chunks/pkg/ui/dist/node_modules/class-variance-authority/dist/index-DEupJ0QT.js +35 -0
- package/dist/chunks/pkg/ui/dist/node_modules/clsx/dist/clsx-DPl_DXM-.js +16 -0
- package/dist/chunks/pkg/ui/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id-DunDwGdX.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext-BWutRI4l.js +2 -0
- package/dist/chunks/pkg/ui/dist/node_modules/framer-motion/dist/es/context/LazyContext-yIDUGdfR.js +2 -0
- package/dist/chunks/pkg/ui/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext-C3EPauom.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext-BWutRI4l.js +2 -0
- package/dist/chunks/pkg/ui/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node-BDwaGtmx.js +9 -0
- package/dist/chunks/pkg/ui/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash-h54_qXon.js +4 -0
- package/dist/chunks/pkg/ui/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props-DZcjZ2yt.js +9 -0
- package/dist/chunks/pkg/ui/dist/node_modules/lucide-react/dist/esm/Icon-BNiQfVqr.js +35 -0
- package/dist/chunks/pkg/ui/dist/node_modules/lucide-react/dist/esm/createLucideIcon-5_J8fxOF.js +21 -0
- package/dist/chunks/pkg/ui/dist/node_modules/lucide-react/dist/esm/defaultAttributes-C1BTxN61.js +14 -0
- package/dist/chunks/pkg/ui/dist/node_modules/lucide-react/dist/esm/icons/arrow-left-asE1l_Qw.js +9 -0
- package/dist/chunks/pkg/ui/dist/node_modules/lucide-react/dist/esm/icons/x-Cdi8GS7U.js +9 -0
- package/dist/chunks/pkg/ui/dist/node_modules/lucide-react/dist/esm/shared/src/utils-nzQUBs6v.js +18 -0
- package/dist/chunks/pkg/ui/dist/node_modules/mapbox-gl/dist/mapbox-gl-BWrsjoOR.js +35536 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion-Cc0tLlFf.js +5 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform-DY2FRn5v.js +22 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/color/hex-BN1laQGd.js +19 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-CflwzkVO.js +12 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/color/index-D1GFyA5S.js +15 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/color/rgba-BIy7YqPw.js +16 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/color/utils-IDKsSWKt.js +18 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/complex/filter-AXB6Rjjs.js +4 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/complex/index-Z9QmZfw0.js +51 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/complex/mask-AXB6Rjjs.js +4 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/int-CwcJvGhp.js +4 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/numbers/index-CWjqASeJ.js +16 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/numbers/units-DNXf-Ngr.js +11 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex-DKss3XP5.js +4 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex-Dw3Xm45S.js +4 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish-B7IIKRzS.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize-DYfJ2EAL.js +4 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex-CjD_eR3p.js +4 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-utils/dist/es/clamp-BMGeQDyI.js +4 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-utils/dist/es/errors-CBdvTtJZ.js +2 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-utils/dist/es/format-error-message-BwUIYuzJ.js +6 -0
- package/dist/chunks/pkg/ui/dist/node_modules/motion-utils/dist/es/noop-BGdtcOlD.js +4 -0
- package/dist/chunks/pkg/ui/dist/node_modules/tailwind-merge/dist/bundle-mjs-2e7LjAK7.js +2763 -0
- package/dist/chunks/pkg/ui/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development-PEz9rQUM.js +58 -0
- package/dist/chunks/pkg/ui/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production-1dR2oH6_.js +57 -0
- package/dist/chunks/pkg/ui/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development-Bjtnv0KW.js +58 -0
- package/dist/chunks/pkg/ui/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production-BvTUQFJj.js +46 -0
- package/dist/chunks/pkg/ui/dist/node_modules/use-sync-external-store/shim/index-g__WfpEy.js +10 -0
- package/dist/chunks/pkg/ui/dist/node_modules/use-sync-external-store/shim/with-selector-DFIcfxeX.js +10 -0
- package/dist/chunks/pkg/ui/dist/static/strings-lR4Uv4ze.js +4 -0
- package/dist/components/AboutSection/index.d.ts +7 -0
- package/dist/components/AboutSection/index.js +94 -0
- package/dist/components/AddressAutocompleteInput/index.d.ts +17 -0
- package/dist/components/AddressAutocompleteInput/index.js +143 -0
- package/dist/components/BikeProductCard/index.d.ts +17 -0
- package/dist/components/BikeProductCard/index.js +78 -0
- package/dist/components/BookingBikeVariantDialog/index.d.ts +2 -0
- package/dist/components/BookingBikeVariantDialog/index.js +216 -0
- package/dist/components/BookingFlowSteps/index.d.ts +9 -0
- package/dist/components/BookingFlowSteps/index.js +59 -0
- package/dist/components/BookingPeriodSelector/BookingPeriodContext.js +16 -0
- package/dist/components/BookingPeriodSelector/components/BookingEndDateField.js +333 -0
- package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +112 -0
- package/dist/components/BookingPeriodSelector/components/BookingPeriodFieldErrorMessage.js +7 -0
- package/dist/components/BookingPeriodSelector/components/BookingStartDateField.js +156 -0
- package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +130 -0
- package/dist/components/BookingPeriodSelector/components/internal/ModalDayPickerField.js +302 -0
- package/dist/components/BookingPeriodSelector/components/internal/ModalHourPickerField.js +368 -0
- package/dist/components/BookingPeriodSelector/index.d.ts +12 -0
- package/dist/components/BookingPeriodSelector/index.js +27 -0
- package/dist/components/BookingPeriodSelector/useBookingPeriodController.js +241 -0
- package/dist/components/ContactSection/index.d.ts +6 -0
- package/dist/components/ContactSection/index.js +228 -0
- package/dist/components/ContractSaleDocument/AcceptanceModal.js +36 -0
- package/dist/components/ContractSaleDocument/Invoice.js +402 -0
- package/dist/components/ContractSaleDocument/InvoiceDetails.js +180 -0
- package/dist/components/ContractSaleDocument/Page.js +14 -0
- package/dist/components/ContractSaleDocument/PageFooter.js +26 -0
- package/dist/components/ContractSaleDocument/PageHeader.js +26 -0
- package/dist/components/ContractSaleDocument/SignatureModal.js +131 -0
- package/dist/components/ContractSaleDocument/TermsAndConditionsContent.js +46 -0
- package/dist/components/ContractSaleDocument/ThumbnailSidebar.js +59 -0
- package/dist/components/ContractSaleDocument/index.d.ts +3 -0
- package/dist/components/ContractSaleDocument/index.js +4 -0
- package/dist/components/ContractSaleDocument/language.js +36 -0
- package/dist/components/DelayedReveal/index.d.ts +15 -0
- package/dist/components/DelayedReveal/index.js +61 -0
- package/dist/components/DeliveryAddressSelector/index.d.ts +23 -0
- package/dist/components/DeliveryAddressSelector/index.js +95 -0
- package/dist/components/Footer/BusinessHours.js +125 -0
- package/dist/components/Footer/businessHoursUtils.js +27 -0
- package/dist/components/Footer/index.d.ts +11 -0
- package/dist/components/Footer/index.js +127 -0
- package/dist/components/FulfillmentSection/index.d.ts +23 -0
- package/dist/components/FulfillmentSection/index.js +107 -0
- package/dist/components/Header/index.d.ts +10 -0
- package/dist/components/Header/index.js +119 -0
- package/dist/components/Layout/index.d.ts +7 -0
- package/dist/components/Layout/index.js +47 -0
- package/dist/components/Map/createMarkerElement.js +17 -0
- package/dist/components/Map/index.d.ts +3 -0
- package/dist/components/Map/index.js +6 -0
- package/dist/components/PlatformFooter/index.d.ts +2 -0
- package/dist/components/PlatformFooter/index.js +51 -0
- package/dist/components/PlaygroundDevFloatingButton/index.d.ts +2 -0
- package/dist/components/PlaygroundDevFloatingButton/index.js +216 -0
- package/dist/components/PoweredByLoczerBadge/index.d.ts +9 -0
- package/dist/components/PoweredByLoczerBadge/index.js +73 -0
- package/dist/components/ProductPriceBadge/index.d.ts +9 -0
- package/dist/components/ProductPriceBadge/index.js +229 -0
- package/dist/components/ProductWarningNotice/index.d.ts +7 -0
- package/dist/components/ProductWarningNotice/index.js +22 -0
- package/dist/components/StepSectionTitle/index.d.ts +8 -0
- package/dist/components/StepSectionTitle/index.js +6 -0
- package/dist/components/StorefrontCartPanel/index.d.ts +25 -0
- package/dist/components/StorefrontCartPanel/index.js +131 -0
- package/dist/components/StorefrontPopupMessages/index.d.ts +7 -0
- package/dist/components/StorefrontPopupMessages/index.js +172 -0
- package/dist/components/TestimonialsSection/index.d.ts +2 -0
- package/dist/components/TestimonialsSection/index.js +349 -0
- package/dist/components/WhatsAppFloatingButton/WhatsAppFloatingButton.js +24 -0
- package/dist/components/WhatsAppFloatingButton/index.d.ts +4 -0
- package/dist/components/WhatsAppFloatingButton/index.js +6 -0
- package/dist/components/WhatsAppFloatingButton/useWhatsAppFloatingButton.js +74 -0
- package/dist/components/payment/MollieCardFieldsForm.js +135 -0
- package/dist/components/payment/StripeCardFieldsForm.js +100 -0
- package/dist/components/payment/index.d.ts +3 -0
- package/dist/components/payment/index.js +6 -0
- package/dist/config.d.ts +19 -0
- package/dist/contactForm.d.ts +22 -0
- package/dist/contractSaleDocument.d.ts +242 -0
- package/dist/contractSaleDocumentApi.d.ts +481 -0
- package/dist/data/accessories.d.ts +30 -0
- package/dist/data/accessories.js +145 -0
- package/dist/data/bikes.d.ts +101 -0
- package/dist/data/bikes.js +418 -0
- package/dist/data/config.d.ts +15 -0
- package/dist/data/config.js +28 -0
- package/dist/en.d.ts +369 -0
- package/dist/form.d.ts +44 -0
- package/dist/fr.d.ts +369 -0
- package/dist/i18n/I18nProvider.d.ts +16 -0
- package/dist/i18n/I18nProvider.js +120 -0
- package/dist/i18n/en.d.ts +368 -0
- package/dist/i18n/en.js +370 -0
- package/dist/i18n/fr.d.ts +368 -0
- package/dist/i18n/fr.js +370 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +331 -0
- package/dist/input.d.ts +5 -0
- package/dist/isAutomationRuntime.d.ts +3 -0
- package/dist/label.d.ts +7 -0
- package/dist/lib/apiCall.d.ts +4 -0
- package/dist/lib/apiCall.js +6 -0
- package/dist/lib/booking-period-time-slots.d.ts +61 -0
- package/dist/lib/booking-period-time-slots.js +273 -0
- package/dist/lib/booking-period.d.ts +147 -0
- package/dist/lib/booking-period.js +349 -0
- package/dist/lib/booking.d.ts +39 -0
- package/dist/lib/booking.js +159 -0
- package/dist/lib/cart.d.ts +25 -0
- package/dist/lib/cart.js +87 -0
- package/dist/lib/cartSummary.d.ts +31 -0
- package/dist/lib/cartSummary.js +41 -0
- package/dist/lib/checkoutPaymentDecision.d.ts +40 -0
- package/dist/lib/checkoutPaymentDecision.js +33 -0
- package/dist/lib/checkoutPaymentSession.d.ts +55 -0
- package/dist/lib/checkoutPaymentSession.js +44 -0
- package/dist/lib/checkoutSubmit.d.ts +53 -0
- package/dist/lib/checkoutSubmit.js +59 -0
- package/dist/lib/checkoutVerifyCoupon.d.ts +39 -0
- package/dist/lib/checkoutVerifyCoupon.js +32 -0
- package/dist/lib/contactForm.d.ts +16 -0
- package/dist/lib/contactForm.js +16 -0
- package/dist/lib/contractSaleDocument.d.ts +216 -0
- package/dist/lib/contractSaleDocument.js +70 -0
- package/dist/lib/contractSaleDocumentApi.d.ts +449 -0
- package/dist/lib/contractSaleDocumentApi.js +77 -0
- package/dist/lib/isAutomationRuntime.d.ts +2 -0
- package/dist/lib/isAutomationRuntime.js +5 -0
- package/dist/lib/mollieComponentStyles.d.ts +2 -0
- package/dist/lib/mollieComponentStyles.js +31 -0
- package/dist/lib/playgroundDevSettings.d.ts +11 -0
- package/dist/lib/playgroundDevSettings.js +61 -0
- package/dist/lib/pricing.d.ts +14 -0
- package/dist/lib/pricing.js +50 -0
- package/dist/lib/productImageStyles.d.ts +9 -0
- package/dist/lib/productImageStyles.js +8 -0
- package/dist/lib/productVariants.d.ts +13 -0
- package/dist/lib/productVariants.js +26 -0
- package/dist/lib/products.d.ts +37 -0
- package/dist/lib/products.js +58 -0
- package/dist/lib/richAddress.d.ts +21 -0
- package/dist/lib/richAddress.js +24 -0
- package/dist/lib/securePaymentLink.d.ts +105 -0
- package/dist/lib/securePaymentLink.js +79 -0
- package/dist/lib/storefrontAvailability.d.ts +82 -0
- package/dist/lib/storefrontAvailability.js +54 -0
- package/dist/lib/storefrontImage.d.ts +9 -0
- package/dist/lib/storefrontImage.js +16 -0
- package/dist/lib/storefrontProducts.d.ts +369 -0
- package/dist/lib/storefrontProducts.js +89 -0
- package/dist/lib/storefrontReviews.d.ts +72 -0
- package/dist/lib/storefrontReviews.js +36 -0
- package/dist/lib/utils.d.ts +16 -0
- package/dist/lib/utils.js +27 -0
- package/dist/lib/whatsapp.d.ts +17 -0
- package/dist/lib/whatsapp.js +60 -0
- package/dist/localization.d.ts +13 -0
- package/dist/localization.js +16 -0
- package/dist/mollieComponentStyles.d.ts +3 -0
- package/dist/pages/BookingPage.d.ts +2 -0
- package/dist/pages/BookingPage.js +535 -0
- package/dist/pages/CheckoutPage.d.ts +2 -0
- package/dist/pages/CheckoutPage.js +428 -0
- package/dist/pages/CheckoutPaymentPage.d.ts +2 -0
- package/dist/pages/CheckoutPaymentPage.js +243 -0
- package/dist/pages/CheckoutSuccessPage.d.ts +2 -0
- package/dist/pages/CheckoutSuccessPage.js +24 -0
- package/dist/pages/ContractSaleDocumentPage.d.ts +109 -0
- package/dist/pages/ContractSaleDocumentPage.js +342 -0
- package/dist/pages/ErrorPage.d.ts +2 -0
- package/dist/pages/ErrorPage.js +47 -0
- package/dist/pages/HomePage.d.ts +2 -0
- package/dist/pages/HomePage.js +501 -0
- package/dist/pages/NotFoundPage.d.ts +2 -0
- package/dist/pages/NotFoundPage.js +28 -0
- package/dist/pages/PaymentLinkPage.d.ts +34 -0
- package/dist/pages/PaymentLinkPage.js +258 -0
- package/dist/pages/PaymentLinkSuccessPage.d.ts +34 -0
- package/dist/pages/PaymentLinkSuccessPage.js +140 -0
- package/dist/pages/ProductPage.d.ts +2 -0
- package/dist/pages/ProductPage.js +255 -0
- package/dist/pages/checkout/components/CheckoutCouponCard.js +72 -0
- package/dist/pages/checkout/components/CheckoutDetailsCard.js +68 -0
- package/dist/pages/checkout/components/CheckoutPaymentSummaryCard.js +90 -0
- package/dist/pages/checkout/components/CheckoutSummaryColumn.js +41 -0
- package/dist/pages/checkout/types.js +10 -0
- package/dist/playgroundDevSettings.d.ts +19 -0
- package/dist/pricing.d.ts +35 -0
- package/dist/productImageStyles.d.ts +25 -0
- package/dist/productVariants.d.ts +16 -0
- package/dist/products.d.ts +224 -0
- package/dist/radio-group.d.ts +14 -0
- package/dist/richAddress.d.ts +24 -0
- package/dist/routes.d.ts +6 -0
- package/dist/routes.js +32 -0
- package/dist/securePaymentLink.d.ts +125 -0
- package/dist/select.d.ts +41 -0
- package/dist/slot.d.ts +15 -0
- package/dist/static/strings.js +4 -0
- package/dist/storefront.css +1 -0
- package/dist/storefrontAvailability.d.ts +103 -0
- package/dist/storefrontImage.d.ts +14 -0
- package/dist/storefrontProducts.d.ts +396 -0
- package/dist/storefrontReviews.d.ts +84 -0
- package/dist/storefrontSchemas.d.ts +588 -0
- package/dist/storefrontSchemas.js +132 -0
- package/dist/textarea.d.ts +5 -0
- package/dist/tooltip.d.ts +43 -0
- package/dist/ui/badge.d.ts +10 -0
- package/dist/ui/badge.js +39 -0
- package/dist/ui/button.d.ts +12 -0
- package/dist/ui/button.js +44 -0
- package/dist/ui/card.d.ts +10 -0
- package/dist/ui/card.js +93 -0
- package/dist/ui/form.d.ts +25 -0
- package/dist/ui/form.js +135 -0
- package/dist/ui/input.d.ts +4 -0
- package/dist/ui/input.js +24 -0
- package/dist/ui/label.d.ts +5 -0
- package/dist/ui/label.js +18 -0
- package/dist/ui/radio-group.d.ts +10 -0
- package/dist/ui/radio-group.js +55 -0
- package/dist/ui/select.d.ts +22 -0
- package/dist/ui/select.js +255 -0
- package/dist/ui/slot.d.ts +11 -0
- package/dist/ui/slot.js +33 -0
- package/dist/ui/textarea.d.ts +4 -0
- package/dist/ui/textarea.js +20 -0
- package/dist/ui/tooltip.d.ts +20 -0
- package/dist/ui/tooltip.js +73 -0
- package/dist/utils.d.ts +23 -0
- package/dist/whatsapp.d.ts +318 -0
- package/package.json +9 -1
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
export declare const adjustBookingPeriod: (period: BookingPeriodInput, options: BookingPeriodAdjustmentOptions) => BookingPeriodAdjustmentResult;
|
|
2
|
+
|
|
3
|
+
export declare interface BookingPeriodAdjustmentOptions {
|
|
4
|
+
referenceDate?: Date;
|
|
5
|
+
toleranceMinutes?: number;
|
|
6
|
+
config: BookingPeriodConfig;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export declare interface BookingPeriodAdjustmentResult {
|
|
10
|
+
startDateString?: string;
|
|
11
|
+
startTime?: string | null;
|
|
12
|
+
endDateString?: string;
|
|
13
|
+
endTime?: string | null;
|
|
14
|
+
wasAdjusted: boolean;
|
|
15
|
+
adjustmentReason?: "start_date_in_past" | "start_time_in_past";
|
|
16
|
+
shouldResetEnd: boolean;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export declare type BookingPeriodConfig = {
|
|
20
|
+
timing: BookingTimingConfig;
|
|
21
|
+
openingHours: StoreOpeningHours;
|
|
22
|
+
openingHoursOverrides: StoreOpeningOverride[];
|
|
23
|
+
timeZone: string;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export declare type BookingPeriodConstants = ReturnType<typeof createBookingPeriodConstants>;
|
|
27
|
+
|
|
28
|
+
export declare interface BookingPeriodInput {
|
|
29
|
+
startDate?: Date | string | null;
|
|
30
|
+
startTime?: string | null;
|
|
31
|
+
endDate?: Date | string | null;
|
|
32
|
+
endTime?: string | null;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export declare type BookingTimingConfig = {
|
|
36
|
+
slotIntervalMinutes: number;
|
|
37
|
+
autoFillCutoffMinutes: number;
|
|
38
|
+
pastToleranceMinutes: number;
|
|
39
|
+
minBufferMinutes: number;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export declare const businessDateStringToDate: (dateString: string) => Date;
|
|
43
|
+
|
|
44
|
+
export declare const createBookingPeriodConstants: (config: BookingPeriodConfig) => {
|
|
45
|
+
timeZone: string;
|
|
46
|
+
slotIntervalMinutes: number;
|
|
47
|
+
autoFillCutoffMinutes: number;
|
|
48
|
+
pastToleranceMinutes: number;
|
|
49
|
+
minBufferMinutes: number;
|
|
50
|
+
defaultOpeningMinutes: number;
|
|
51
|
+
defaultClosingMinutes: number;
|
|
52
|
+
defaultOpeningLabel: string;
|
|
53
|
+
defaultClosingLabel: string;
|
|
54
|
+
defaultSummaryLabel: string;
|
|
55
|
+
defaultWeekday: Weekday;
|
|
56
|
+
defaultSeasonWeekday: Weekday;
|
|
57
|
+
defaultStartMinutes: number;
|
|
58
|
+
defaultStartTime: string;
|
|
59
|
+
defaultEndMinutes: number;
|
|
60
|
+
defaultEndTime: string;
|
|
61
|
+
getDayHours: (weekday: Weekday, options?: {
|
|
62
|
+
dateString?: string;
|
|
63
|
+
}) => NormalizedWorkingDay | undefined;
|
|
64
|
+
getIntervalsForWeekday: (weekday: Weekday, options?: {
|
|
65
|
+
dateString?: string;
|
|
66
|
+
}) => NormalizedOpeningSlot[];
|
|
67
|
+
getSeasonDayHours: (weekday: Weekday, options?: {
|
|
68
|
+
dateString?: string;
|
|
69
|
+
}) => NormalizedWorkingDay | undefined;
|
|
70
|
+
getSeasonIntervalsForWeekday: (weekday: Weekday, options?: {
|
|
71
|
+
dateString?: string;
|
|
72
|
+
}) => NormalizedOpeningSlot[];
|
|
73
|
+
getFirstStartMinutesForWeekday: (weekday: Weekday, fromMinutes?: number | null, options?: {
|
|
74
|
+
dateString?: string;
|
|
75
|
+
}) => number | null;
|
|
76
|
+
getLastStartMinutesForWeekday: (weekday: Weekday, options?: {
|
|
77
|
+
dateString?: string;
|
|
78
|
+
}) => number | null;
|
|
79
|
+
isValidStartMinutesForWeekday: (weekday: Weekday, minutes: number | null, options?: {
|
|
80
|
+
dateString?: string;
|
|
81
|
+
}) => boolean;
|
|
82
|
+
getNormalizedOpeningHours: (options?: {
|
|
83
|
+
dateString?: string;
|
|
84
|
+
}) => NormalizedOpeningHours;
|
|
85
|
+
getSeasonNormalizedOpeningHours: (options?: {
|
|
86
|
+
dateString?: string;
|
|
87
|
+
}) => NormalizedOpeningHours;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export declare const dateToBusinessDateString: (date: Date | string | null | undefined, timeZone: string) => string | undefined;
|
|
91
|
+
|
|
92
|
+
export declare interface DefaultBookingPeriod {
|
|
93
|
+
startDate: Date;
|
|
94
|
+
startTime: string;
|
|
95
|
+
endDate: Date;
|
|
96
|
+
endTime: string;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export declare interface DefaultBookingPeriodOptions {
|
|
100
|
+
referenceDate?: Date;
|
|
101
|
+
config: BookingPeriodConfig;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export declare const getDefaultBookingPeriod: (options: DefaultBookingPeriodOptions) => DefaultBookingPeriod;
|
|
105
|
+
|
|
106
|
+
export declare const minutesToTimeString: (minutes: number) => string;
|
|
107
|
+
|
|
108
|
+
export declare type NormalizedOpeningHours = {
|
|
109
|
+
days: NormalizedWorkingDay[];
|
|
110
|
+
defaultOpeningMinutes: number;
|
|
111
|
+
defaultClosingMinutes: number;
|
|
112
|
+
defaultOpeningLabel: string;
|
|
113
|
+
defaultClosingLabel: string;
|
|
114
|
+
defaultSummaryLabel: string;
|
|
115
|
+
season: {
|
|
116
|
+
name?: string;
|
|
117
|
+
startDate: string;
|
|
118
|
+
endDate: string;
|
|
119
|
+
} | null;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
export declare type NormalizedOpeningSlot = {
|
|
123
|
+
startMinutes: number;
|
|
124
|
+
endMinutes: number;
|
|
125
|
+
startLabel: string;
|
|
126
|
+
endLabel: string;
|
|
127
|
+
rangeLabel: string;
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
export declare type NormalizedWorkingDay = {
|
|
131
|
+
day: Weekday;
|
|
132
|
+
isClosed: boolean;
|
|
133
|
+
openingSlots: NormalizedOpeningSlot[];
|
|
134
|
+
openingMinutes: number | null;
|
|
135
|
+
closingMinutes: number | null;
|
|
136
|
+
summaryLabel: string | null;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
export declare const normalizeOpeningHours: (openingHours: StoreOpeningHours, openingHoursOverrides: StoreOpeningOverride[], options?: NormalizeOpeningHoursOptions) => NormalizedOpeningHours;
|
|
140
|
+
|
|
141
|
+
export declare type NormalizeOpeningHoursOptions = {
|
|
142
|
+
referenceDate?: Date | string | null;
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
export declare const parseTimeToMinutes: (time?: string | null) => number | null;
|
|
146
|
+
|
|
147
|
+
export declare type StoreOpeningDay = {
|
|
148
|
+
day: Weekday;
|
|
149
|
+
openingSlots: StoreOpeningSlot[];
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
export declare type StoreOpeningHours = StoreOpeningSeason[];
|
|
153
|
+
|
|
154
|
+
export declare type StoreOpeningOverride = {
|
|
155
|
+
date: string;
|
|
156
|
+
openingSlots: StoreOpeningSlot[];
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
export declare type StoreOpeningSeason = {
|
|
160
|
+
name?: string;
|
|
161
|
+
startDate: string;
|
|
162
|
+
endDate: string;
|
|
163
|
+
openingHours: StoreOpeningDay[];
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
export declare type StoreOpeningSlot = {
|
|
167
|
+
start: string;
|
|
168
|
+
end: string;
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
export declare type Weekday = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
172
|
+
|
|
173
|
+
export { }
|
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
export declare const applyBookingParamsToSearch: (searchParams: URLSearchParams, booking: Partial<StorefrontBookingParams>) => URLSearchParams;
|
|
4
|
+
|
|
5
|
+
export declare const BOOKING_SEARCH_KEYS: readonly ["fulfillment", "start_date", "start_time", "end_date", "end_time", "start_address", "end_address"];
|
|
6
|
+
|
|
7
|
+
export declare type BookingFulfillment = "pickup" | "delivery";
|
|
8
|
+
|
|
9
|
+
declare type BookingPeriodConfig = {
|
|
10
|
+
timing: BookingTimingConfig;
|
|
11
|
+
openingHours: StoreOpeningHours;
|
|
12
|
+
openingHoursOverrides: StoreOpeningOverride[];
|
|
13
|
+
timeZone: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
declare type BookingSearchStorage = Pick<Storage, "getItem" | "removeItem" | "setItem"> | null | undefined;
|
|
17
|
+
|
|
18
|
+
declare type BookingTimingConfig = {
|
|
19
|
+
slotIntervalMinutes: number;
|
|
20
|
+
autoFillCutoffMinutes: number;
|
|
21
|
+
pastToleranceMinutes: number;
|
|
22
|
+
minBufferMinutes: number;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export declare const createBookingPeriodConfigFromStorefrontConfiguration: (storefrontConfiguration: StorefrontConfiguration) => BookingPeriodConfig;
|
|
26
|
+
|
|
27
|
+
export declare const getBookingDurationLabel: (booking: StorefrontBookingParams) => {
|
|
28
|
+
hours: number;
|
|
29
|
+
minutes: number;
|
|
30
|
+
label: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export declare const getBookingDurationMinutes: (booking: StorefrontBookingParams) => number;
|
|
34
|
+
|
|
35
|
+
export declare const getBookingParamsFromSearch: (searchParams: URLSearchParams, fallback?: Partial<StorefrontBookingParams>) => StorefrontBookingParams;
|
|
36
|
+
|
|
37
|
+
export declare const getBookingSessionStorageKey: (storeSlug?: string) => string;
|
|
38
|
+
|
|
39
|
+
export declare const getDefaultBookingParams: (now?: Date) => StorefrontBookingParams;
|
|
40
|
+
|
|
41
|
+
export declare const getDefaultBookingParamsForStorefrontConfiguration: (storefrontConfiguration: StorefrontConfiguration, now?: Date) => StorefrontBookingParams;
|
|
42
|
+
|
|
43
|
+
export declare const pickBookingSearchParams: (searchParams: URLSearchParams) => URLSearchParams;
|
|
44
|
+
|
|
45
|
+
export declare const readBookingSearchParamsFromSessionStorage: (storeSlug?: string) => URLSearchParams;
|
|
46
|
+
|
|
47
|
+
export declare const readBookingSearchParamsFromStorage: (storage: BookingSearchStorage, storeSlug?: string) => URLSearchParams;
|
|
48
|
+
|
|
49
|
+
export declare const resolveBookingSearchParams: (searchParams: URLSearchParams, options?: {
|
|
50
|
+
storage?: BookingSearchStorage;
|
|
51
|
+
storeSlug?: string;
|
|
52
|
+
}) => URLSearchParams;
|
|
53
|
+
|
|
54
|
+
export declare const resolveBookingSearchParamsFromSessionStorage: (searchParams: URLSearchParams, storeSlug?: string) => URLSearchParams;
|
|
55
|
+
|
|
56
|
+
export declare type StorefrontBookingParams = {
|
|
57
|
+
fulfillment: BookingFulfillment;
|
|
58
|
+
start_date: string;
|
|
59
|
+
start_time: string;
|
|
60
|
+
end_date: string;
|
|
61
|
+
end_time: string;
|
|
62
|
+
start_address: string;
|
|
63
|
+
end_address: string;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
declare type StorefrontConfiguration = z.infer<typeof storefrontConfigurationSchema>;
|
|
67
|
+
|
|
68
|
+
declare const storefrontConfigurationSchema: z.ZodObject<{
|
|
69
|
+
storeSlug: z.ZodString;
|
|
70
|
+
workspace: z.ZodOptional<z.ZodObject<{
|
|
71
|
+
name: z.ZodOptional<z.ZodString>;
|
|
72
|
+
workspaceLanguage: z.ZodOptional<z.ZodEnum<{
|
|
73
|
+
fr: "fr";
|
|
74
|
+
en: "en";
|
|
75
|
+
}>>;
|
|
76
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
77
|
+
}, z.core.$strip>>;
|
|
78
|
+
shop: z.ZodObject<{
|
|
79
|
+
id: z.ZodString;
|
|
80
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
81
|
+
name: z.ZodString;
|
|
82
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
83
|
+
url: z.ZodOptional<z.ZodString>;
|
|
84
|
+
googleMapsLink: z.ZodOptional<z.ZodString>;
|
|
85
|
+
googleRequestReviewsLink: z.ZodOptional<z.ZodString>;
|
|
86
|
+
emailAddress: z.ZodOptional<z.ZodString>;
|
|
87
|
+
contactPhone1: z.ZodOptional<z.ZodString>;
|
|
88
|
+
contactPhone2: z.ZodOptional<z.ZodString>;
|
|
89
|
+
address: z.ZodOptional<z.ZodString>;
|
|
90
|
+
city: z.ZodOptional<z.ZodString>;
|
|
91
|
+
country: z.ZodOptional<z.ZodString>;
|
|
92
|
+
gpsCoordinates: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
93
|
+
}, z.core.$strip>;
|
|
94
|
+
settings: z.ZodObject<{
|
|
95
|
+
status: z.ZodEnum<{
|
|
96
|
+
unpublished: "unpublished";
|
|
97
|
+
published: "published";
|
|
98
|
+
}>;
|
|
99
|
+
checkoutMode: z.ZodEnum<{
|
|
100
|
+
auto_approve_when_possible: "auto_approve_when_possible";
|
|
101
|
+
manual_approval_required: "manual_approval_required";
|
|
102
|
+
}>;
|
|
103
|
+
availabilityDisplay: z.ZodObject<{
|
|
104
|
+
defaultMode: z.ZodEnum<{
|
|
105
|
+
soldOutOnly: "soldOutOnly";
|
|
106
|
+
soldOutAndFewRemaining: "soldOutAndFewRemaining";
|
|
107
|
+
fewRemaining: "fewRemaining";
|
|
108
|
+
fewRemainingCounts: "fewRemainingCounts";
|
|
109
|
+
remainingCounts: "remainingCounts";
|
|
110
|
+
}>;
|
|
111
|
+
defaultFewRemainingThreshold: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
}, z.core.$strip>;
|
|
113
|
+
enabled: z.ZodBoolean;
|
|
114
|
+
fulfillmentModes: z.ZodArray<z.ZodEnum<{
|
|
115
|
+
pickup: "pickup";
|
|
116
|
+
delivery: "delivery";
|
|
117
|
+
}>>;
|
|
118
|
+
deliveryDisabledReason: z.ZodDefault<z.ZodString>;
|
|
119
|
+
sameDayCutoff: z.ZodString;
|
|
120
|
+
}, z.core.$strip>;
|
|
121
|
+
bookingEngine: z.ZodType<{
|
|
122
|
+
availabilityDisplay: {
|
|
123
|
+
defaultMode: "soldOutOnly" | "soldOutAndFewRemaining" | "fewRemaining" | "fewRemainingCounts" | "remainingCounts";
|
|
124
|
+
defaultFewRemainingThreshold?: number | undefined;
|
|
125
|
+
};
|
|
126
|
+
holdSettings: {
|
|
127
|
+
enabled: boolean;
|
|
128
|
+
defaultTtlMinutes: number;
|
|
129
|
+
};
|
|
130
|
+
pricing: {
|
|
131
|
+
baseUnit: "hour" | "half_day" | "day" | "week" | "month";
|
|
132
|
+
rentalUnits: {
|
|
133
|
+
unit: "hour" | "half_day" | "day" | "week" | "month";
|
|
134
|
+
durationHours: number;
|
|
135
|
+
label?: Record<string, {
|
|
136
|
+
[x: string]: unknown;
|
|
137
|
+
value: string;
|
|
138
|
+
updatedAt: Date;
|
|
139
|
+
autoTranslated?: boolean | undefined;
|
|
140
|
+
}> | undefined;
|
|
141
|
+
}[];
|
|
142
|
+
halfDay?: {
|
|
143
|
+
enabled: boolean;
|
|
144
|
+
boundaryHour: number;
|
|
145
|
+
} | undefined;
|
|
146
|
+
};
|
|
147
|
+
bookingDeposit: {
|
|
148
|
+
enabled: boolean;
|
|
149
|
+
percentage: number;
|
|
150
|
+
optimizeDepositAmount: boolean;
|
|
151
|
+
};
|
|
152
|
+
securityDeposit: {
|
|
153
|
+
mode: "optional" | "required" | "disabled";
|
|
154
|
+
};
|
|
155
|
+
shop: {
|
|
156
|
+
timeZone: string;
|
|
157
|
+
openingHours: {
|
|
158
|
+
name: string;
|
|
159
|
+
startDate: string;
|
|
160
|
+
endDate: string;
|
|
161
|
+
openingHours: {
|
|
162
|
+
day: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
163
|
+
openingSlots: {
|
|
164
|
+
start: string;
|
|
165
|
+
end: string;
|
|
166
|
+
}[];
|
|
167
|
+
}[];
|
|
168
|
+
}[];
|
|
169
|
+
openingHoursOverrides?: {
|
|
170
|
+
date: string;
|
|
171
|
+
openingSlots: {
|
|
172
|
+
start: string;
|
|
173
|
+
end: string;
|
|
174
|
+
}[];
|
|
175
|
+
}[] | undefined;
|
|
176
|
+
};
|
|
177
|
+
currency: "EUR" | "USD" | "GBP" | "CHF";
|
|
178
|
+
checkout: {
|
|
179
|
+
mode: "auto_approve_when_possible" | "manual_approval_required";
|
|
180
|
+
dynamicOptions?: {
|
|
181
|
+
fulfillmentModes?: ("pickup" | "delivery")[] | undefined;
|
|
182
|
+
sameDayCutoff?: string | undefined;
|
|
183
|
+
} | undefined;
|
|
184
|
+
};
|
|
185
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
186
|
+
availabilityDisplay: {
|
|
187
|
+
defaultMode: "soldOutOnly" | "soldOutAndFewRemaining" | "fewRemaining" | "fewRemainingCounts" | "remainingCounts";
|
|
188
|
+
defaultFewRemainingThreshold?: number | undefined;
|
|
189
|
+
};
|
|
190
|
+
holdSettings: {
|
|
191
|
+
enabled: boolean;
|
|
192
|
+
defaultTtlMinutes: number;
|
|
193
|
+
};
|
|
194
|
+
pricing: {
|
|
195
|
+
baseUnit: "hour" | "half_day" | "day" | "week" | "month";
|
|
196
|
+
rentalUnits: {
|
|
197
|
+
unit: "hour" | "half_day" | "day" | "week" | "month";
|
|
198
|
+
durationHours: number;
|
|
199
|
+
label?: Record<string, {
|
|
200
|
+
[x: string]: unknown;
|
|
201
|
+
value: string;
|
|
202
|
+
updatedAt: Date;
|
|
203
|
+
autoTranslated?: boolean | undefined;
|
|
204
|
+
}> | undefined;
|
|
205
|
+
}[];
|
|
206
|
+
halfDay?: {
|
|
207
|
+
enabled: boolean;
|
|
208
|
+
boundaryHour: number;
|
|
209
|
+
} | undefined;
|
|
210
|
+
};
|
|
211
|
+
bookingDeposit: {
|
|
212
|
+
enabled: boolean;
|
|
213
|
+
percentage: number;
|
|
214
|
+
optimizeDepositAmount: boolean;
|
|
215
|
+
};
|
|
216
|
+
securityDeposit: {
|
|
217
|
+
mode: "optional" | "required" | "disabled";
|
|
218
|
+
};
|
|
219
|
+
shop: {
|
|
220
|
+
timeZone: string;
|
|
221
|
+
openingHours: {
|
|
222
|
+
name: string;
|
|
223
|
+
startDate: string;
|
|
224
|
+
endDate: string;
|
|
225
|
+
openingHours: {
|
|
226
|
+
day: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
227
|
+
openingSlots: {
|
|
228
|
+
start: string;
|
|
229
|
+
end: string;
|
|
230
|
+
}[];
|
|
231
|
+
}[];
|
|
232
|
+
}[];
|
|
233
|
+
openingHoursOverrides?: {
|
|
234
|
+
date: string;
|
|
235
|
+
openingSlots: {
|
|
236
|
+
start: string;
|
|
237
|
+
end: string;
|
|
238
|
+
}[];
|
|
239
|
+
}[] | undefined;
|
|
240
|
+
};
|
|
241
|
+
currency: "EUR" | "USD" | "GBP" | "CHF";
|
|
242
|
+
checkout: {
|
|
243
|
+
mode: "auto_approve_when_possible" | "manual_approval_required";
|
|
244
|
+
dynamicOptions?: {
|
|
245
|
+
fulfillmentModes?: ("pickup" | "delivery")[] | undefined;
|
|
246
|
+
sameDayCutoff?: string | undefined;
|
|
247
|
+
} | undefined;
|
|
248
|
+
};
|
|
249
|
+
}, unknown>>;
|
|
250
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
251
|
+
tagline: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
252
|
+
value: z.ZodString;
|
|
253
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
254
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
255
|
+
}, z.core.$loose>>>;
|
|
256
|
+
logoSquareImageId: z.ZodOptional<z.ZodString>;
|
|
257
|
+
logoWideImageId: z.ZodOptional<z.ZodString>;
|
|
258
|
+
galleryImageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
259
|
+
topBannerMessage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
260
|
+
value: z.ZodString;
|
|
261
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
262
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
263
|
+
}, z.core.$loose>>>;
|
|
264
|
+
about: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
265
|
+
version: z.ZodLiteral<1>;
|
|
266
|
+
json: z.ZodString;
|
|
267
|
+
html: z.ZodString;
|
|
268
|
+
text: z.ZodString;
|
|
269
|
+
}, z.core.$strict>>>;
|
|
270
|
+
whatsappPhone1Enabled: z.ZodDefault<z.ZodBoolean>;
|
|
271
|
+
whatsappPhone2Enabled: z.ZodDefault<z.ZodBoolean>;
|
|
272
|
+
whatsappMessage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
273
|
+
value: z.ZodString;
|
|
274
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
275
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
276
|
+
}, z.core.$loose>>>;
|
|
277
|
+
showWhatsappFloatingButton: z.ZodDefault<z.ZodBoolean>;
|
|
278
|
+
modalMessages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
279
|
+
id: z.ZodString;
|
|
280
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
281
|
+
showOnEachVisit: z.ZodDefault<z.ZodBoolean>;
|
|
282
|
+
startDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
283
|
+
endDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
284
|
+
title: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
285
|
+
value: z.ZodString;
|
|
286
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
287
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
288
|
+
}, z.core.$loose>>>;
|
|
289
|
+
subtitle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
290
|
+
value: z.ZodString;
|
|
291
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
292
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
293
|
+
}, z.core.$loose>>>;
|
|
294
|
+
message: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
295
|
+
version: z.ZodLiteral<1>;
|
|
296
|
+
json: z.ZodString;
|
|
297
|
+
html: z.ZodString;
|
|
298
|
+
text: z.ZodString;
|
|
299
|
+
}, z.core.$strict>>>>;
|
|
300
|
+
imageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
301
|
+
}, z.core.$strip>>>;
|
|
302
|
+
faq: z.ZodDefault<z.ZodObject<{
|
|
303
|
+
general: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
304
|
+
id: z.ZodString;
|
|
305
|
+
question: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
306
|
+
value: z.ZodString;
|
|
307
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
308
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
309
|
+
}, z.core.$loose>>;
|
|
310
|
+
answer: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
311
|
+
value: z.ZodString;
|
|
312
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
313
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
314
|
+
}, z.core.$loose>>;
|
|
315
|
+
}, z.core.$strip>>>;
|
|
316
|
+
deliveries: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
317
|
+
id: z.ZodString;
|
|
318
|
+
question: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
319
|
+
value: z.ZodString;
|
|
320
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
321
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
322
|
+
}, z.core.$loose>>;
|
|
323
|
+
answer: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
324
|
+
value: z.ZodString;
|
|
325
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
326
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
327
|
+
}, z.core.$loose>>;
|
|
328
|
+
}, z.core.$strip>>>;
|
|
329
|
+
booking: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
330
|
+
id: z.ZodString;
|
|
331
|
+
question: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
332
|
+
value: z.ZodString;
|
|
333
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
334
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
335
|
+
}, z.core.$loose>>;
|
|
336
|
+
answer: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
337
|
+
value: z.ZodString;
|
|
338
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
339
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
340
|
+
}, z.core.$loose>>;
|
|
341
|
+
}, z.core.$strip>>>;
|
|
342
|
+
}, z.core.$strip>>;
|
|
343
|
+
}, z.core.$strip>>;
|
|
344
|
+
modules: z.ZodOptional<z.ZodObject<{
|
|
345
|
+
reviews: z.ZodOptional<z.ZodObject<{
|
|
346
|
+
enabled: z.ZodBoolean;
|
|
347
|
+
showRecentReviewsOnStorefront: z.ZodBoolean;
|
|
348
|
+
}, z.core.$strip>>;
|
|
349
|
+
}, z.core.$strip>>;
|
|
350
|
+
}, z.core.$strip>;
|
|
351
|
+
|
|
352
|
+
declare type StoreOpeningDay = {
|
|
353
|
+
day: Weekday;
|
|
354
|
+
openingSlots: StoreOpeningSlot[];
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
declare type StoreOpeningHours = StoreOpeningSeason[];
|
|
358
|
+
|
|
359
|
+
declare type StoreOpeningOverride = {
|
|
360
|
+
date: string;
|
|
361
|
+
openingSlots: StoreOpeningSlot[];
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
declare type StoreOpeningSeason = {
|
|
365
|
+
name?: string;
|
|
366
|
+
startDate: string;
|
|
367
|
+
endDate: string;
|
|
368
|
+
openingHours: StoreOpeningDay[];
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
declare type StoreOpeningSlot = {
|
|
372
|
+
start: string;
|
|
373
|
+
end: string;
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
export declare const TIME_OPTIONS: string[];
|
|
377
|
+
|
|
378
|
+
declare type Weekday = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
379
|
+
|
|
380
|
+
export declare const writeBookingSearchParamsToSessionStorage: (storeSlug: string | undefined, booking: Partial<StorefrontBookingParams> | URLSearchParams) => void;
|
|
381
|
+
|
|
382
|
+
export declare const writeBookingSearchParamsToStorage: (storage: BookingSearchStorage, storeSlug: string | undefined, booking: Partial<StorefrontBookingParams> | URLSearchParams) => void;
|
|
383
|
+
|
|
384
|
+
export { }
|
package/dist/button.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
import * as React_2 from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
|
|
7
|
+
export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export declare const buttonVariants: (props?: ({
|
|
12
|
+
variant?: "default" | "link" | "secondary" | "outline" | "destructive" | "ghost" | null | undefined;
|
|
13
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
14
|
+
} & ClassProp) | undefined) => string;
|
|
15
|
+
|
|
16
|
+
export { }
|
package/dist/card.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import * as React_2 from 'react';
|
|
3
|
+
|
|
4
|
+
export declare function Card({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
5
|
+
|
|
6
|
+
export declare function CardAction({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
7
|
+
|
|
8
|
+
export declare function CardContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
9
|
+
|
|
10
|
+
export declare function CardDescription({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
11
|
+
|
|
12
|
+
export declare function CardFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
13
|
+
|
|
14
|
+
export declare function CardHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
15
|
+
|
|
16
|
+
export declare function CardTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
17
|
+
|
|
18
|
+
export { }
|
package/dist/cart.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
declare type StorefrontCartContextValue = {
|
|
5
|
+
items: StorefrontCartItem[];
|
|
6
|
+
itemCount: number;
|
|
7
|
+
addItem: (item: Omit<StorefrontCartItem, "key"> & {
|
|
8
|
+
key?: string;
|
|
9
|
+
}) => void;
|
|
10
|
+
setQuantity: (key: string, quantity: number) => void;
|
|
11
|
+
removeItem: (key: string) => void;
|
|
12
|
+
clear: () => void;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export declare type StorefrontCartItem = {
|
|
16
|
+
key: string;
|
|
17
|
+
kind: "bike" | "e-bike" | "accessory";
|
|
18
|
+
productId: string;
|
|
19
|
+
productVariantId?: string;
|
|
20
|
+
quantity: number;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export declare function StorefrontCartProvider({ storeSlug, children }: {
|
|
24
|
+
storeSlug: string;
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
}): JSX.Element;
|
|
27
|
+
|
|
28
|
+
export declare const useStorefrontCart: () => StorefrontCartContextValue;
|
|
29
|
+
|
|
30
|
+
export { }
|