@loczer/storefront-sdk 0.148.0 → 0.150.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/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/assets/dev.svg-jGkd1F38.js +4 -0
- package/dist/chunks/assets/playground-hero-preview.svg-DNbSwXV5.js +4 -0
- package/dist/chunks/assets/whatsapp.svg-grlzka-t.js +4 -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 +44 -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 +84 -0
- package/dist/lib/storefrontAvailability.js +54 -0
- package/dist/lib/storefrontImage.d.ts +10 -0
- package/dist/lib/storefrontImage.js +16 -0
- package/dist/lib/storefrontProducts.d.ts +371 -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 +107 -0
- package/dist/storefrontImage.d.ts +16 -0
- package/dist/storefrontProducts.d.ts +400 -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,1119 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { LoaderArgs } from '@rpcbase/client';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
|
|
5
|
+
declare type AccessoryProduct = StorefrontPublicAccessoryProduct & {
|
|
6
|
+
kind: "accessory";
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
declare type BikeProduct = Omit<StorefrontPublicBikeProduct, "kind"> & {
|
|
10
|
+
kind: "bike" | "e-bike";
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export declare const loader: ({ ctx, params }: LoaderArgs) => Promise<{
|
|
14
|
+
storeSlug: string;
|
|
15
|
+
storefrontConfiguration: {
|
|
16
|
+
storeSlug: string;
|
|
17
|
+
shop: {
|
|
18
|
+
id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
slug?: string | undefined;
|
|
21
|
+
timeZone?: string | undefined;
|
|
22
|
+
url?: string | undefined;
|
|
23
|
+
googleMapsLink?: string | undefined;
|
|
24
|
+
googleRequestReviewsLink?: string | undefined;
|
|
25
|
+
emailAddress?: string | undefined;
|
|
26
|
+
contactPhone1?: string | undefined;
|
|
27
|
+
contactPhone2?: string | undefined;
|
|
28
|
+
address?: string | undefined;
|
|
29
|
+
city?: string | undefined;
|
|
30
|
+
country?: string | undefined;
|
|
31
|
+
gpsCoordinates?: [number, number] | undefined;
|
|
32
|
+
};
|
|
33
|
+
settings: {
|
|
34
|
+
status: "unpublished" | "published";
|
|
35
|
+
checkoutMode: "auto_approve_when_possible" | "manual_approval_required";
|
|
36
|
+
availabilityDisplay: {
|
|
37
|
+
defaultMode: "soldOutOnly" | "soldOutAndFewRemaining" | "fewRemaining" | "fewRemainingCounts" | "remainingCounts";
|
|
38
|
+
defaultFewRemainingThreshold?: number | undefined;
|
|
39
|
+
};
|
|
40
|
+
enabled: boolean;
|
|
41
|
+
fulfillmentModes: ("pickup" | "delivery")[];
|
|
42
|
+
deliveryDisabledReason: string;
|
|
43
|
+
sameDayCutoff: string;
|
|
44
|
+
};
|
|
45
|
+
bookingEngine: {
|
|
46
|
+
availabilityDisplay: {
|
|
47
|
+
defaultMode: "soldOutOnly" | "soldOutAndFewRemaining" | "fewRemaining" | "fewRemainingCounts" | "remainingCounts";
|
|
48
|
+
defaultFewRemainingThreshold?: number | undefined;
|
|
49
|
+
};
|
|
50
|
+
holdSettings: {
|
|
51
|
+
enabled: boolean;
|
|
52
|
+
defaultTtlMinutes: number;
|
|
53
|
+
};
|
|
54
|
+
pricing: {
|
|
55
|
+
baseUnit: "hour" | "half_day" | "day" | "week" | "month";
|
|
56
|
+
rentalUnits: {
|
|
57
|
+
unit: "hour" | "half_day" | "day" | "week" | "month";
|
|
58
|
+
durationHours: number;
|
|
59
|
+
label?: Record<string, {
|
|
60
|
+
[x: string]: unknown;
|
|
61
|
+
value: string;
|
|
62
|
+
updatedAt: Date;
|
|
63
|
+
autoTranslated?: boolean | undefined;
|
|
64
|
+
}> | undefined;
|
|
65
|
+
}[];
|
|
66
|
+
halfDay?: {
|
|
67
|
+
enabled: boolean;
|
|
68
|
+
boundaryHour: number;
|
|
69
|
+
} | undefined;
|
|
70
|
+
};
|
|
71
|
+
bookingDeposit: {
|
|
72
|
+
enabled: boolean;
|
|
73
|
+
percentage: number;
|
|
74
|
+
optimizeDepositAmount: boolean;
|
|
75
|
+
};
|
|
76
|
+
securityDeposit: {
|
|
77
|
+
mode: "optional" | "required" | "disabled";
|
|
78
|
+
};
|
|
79
|
+
shop: {
|
|
80
|
+
timeZone: string;
|
|
81
|
+
openingHours: {
|
|
82
|
+
name: string;
|
|
83
|
+
startDate: string;
|
|
84
|
+
endDate: string;
|
|
85
|
+
openingHours: {
|
|
86
|
+
day: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
87
|
+
openingSlots: {
|
|
88
|
+
start: string;
|
|
89
|
+
end: string;
|
|
90
|
+
}[];
|
|
91
|
+
}[];
|
|
92
|
+
}[];
|
|
93
|
+
openingHoursOverrides?: {
|
|
94
|
+
date: string;
|
|
95
|
+
openingSlots: {
|
|
96
|
+
start: string;
|
|
97
|
+
end: string;
|
|
98
|
+
}[];
|
|
99
|
+
}[] | undefined;
|
|
100
|
+
};
|
|
101
|
+
currency: "EUR" | "USD" | "GBP" | "CHF";
|
|
102
|
+
checkout: {
|
|
103
|
+
mode: "auto_approve_when_possible" | "manual_approval_required";
|
|
104
|
+
dynamicOptions?: {
|
|
105
|
+
fulfillmentModes?: ("pickup" | "delivery")[] | undefined;
|
|
106
|
+
sameDayCutoff?: string | undefined;
|
|
107
|
+
} | undefined;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
workspace?: {
|
|
111
|
+
name?: string | undefined;
|
|
112
|
+
workspaceLanguage?: "fr" | "en" | undefined;
|
|
113
|
+
languages?: string[] | undefined;
|
|
114
|
+
} | undefined;
|
|
115
|
+
content?: {
|
|
116
|
+
galleryImageIds: string[];
|
|
117
|
+
whatsappPhone1Enabled: boolean;
|
|
118
|
+
whatsappPhone2Enabled: boolean;
|
|
119
|
+
showWhatsappFloatingButton: boolean;
|
|
120
|
+
modalMessages: {
|
|
121
|
+
id: string;
|
|
122
|
+
enabled: boolean;
|
|
123
|
+
showOnEachVisit: boolean;
|
|
124
|
+
startDate: string | null;
|
|
125
|
+
endDate: string | null;
|
|
126
|
+
imageIds: string[];
|
|
127
|
+
title?: Record<string, {
|
|
128
|
+
[x: string]: unknown;
|
|
129
|
+
value: string;
|
|
130
|
+
updatedAt: Date;
|
|
131
|
+
autoTranslated?: boolean | undefined;
|
|
132
|
+
}> | undefined;
|
|
133
|
+
subtitle?: Record<string, {
|
|
134
|
+
[x: string]: unknown;
|
|
135
|
+
value: string;
|
|
136
|
+
updatedAt: Date;
|
|
137
|
+
autoTranslated?: boolean | undefined;
|
|
138
|
+
}> | undefined;
|
|
139
|
+
message?: Record<string, {
|
|
140
|
+
version: 1;
|
|
141
|
+
json: string;
|
|
142
|
+
html: string;
|
|
143
|
+
text: string;
|
|
144
|
+
}> | undefined;
|
|
145
|
+
}[];
|
|
146
|
+
faq: {
|
|
147
|
+
general: {
|
|
148
|
+
id: string;
|
|
149
|
+
question: Record<string, {
|
|
150
|
+
[x: string]: unknown;
|
|
151
|
+
value: string;
|
|
152
|
+
updatedAt: Date;
|
|
153
|
+
autoTranslated?: boolean | undefined;
|
|
154
|
+
}>;
|
|
155
|
+
answer: Record<string, {
|
|
156
|
+
[x: string]: unknown;
|
|
157
|
+
value: string;
|
|
158
|
+
updatedAt: Date;
|
|
159
|
+
autoTranslated?: boolean | undefined;
|
|
160
|
+
}>;
|
|
161
|
+
}[];
|
|
162
|
+
deliveries: {
|
|
163
|
+
id: string;
|
|
164
|
+
question: Record<string, {
|
|
165
|
+
[x: string]: unknown;
|
|
166
|
+
value: string;
|
|
167
|
+
updatedAt: Date;
|
|
168
|
+
autoTranslated?: boolean | undefined;
|
|
169
|
+
}>;
|
|
170
|
+
answer: Record<string, {
|
|
171
|
+
[x: string]: unknown;
|
|
172
|
+
value: string;
|
|
173
|
+
updatedAt: Date;
|
|
174
|
+
autoTranslated?: boolean | undefined;
|
|
175
|
+
}>;
|
|
176
|
+
}[];
|
|
177
|
+
booking: {
|
|
178
|
+
id: string;
|
|
179
|
+
question: Record<string, {
|
|
180
|
+
[x: string]: unknown;
|
|
181
|
+
value: string;
|
|
182
|
+
updatedAt: Date;
|
|
183
|
+
autoTranslated?: boolean | undefined;
|
|
184
|
+
}>;
|
|
185
|
+
answer: Record<string, {
|
|
186
|
+
[x: string]: unknown;
|
|
187
|
+
value: string;
|
|
188
|
+
updatedAt: Date;
|
|
189
|
+
autoTranslated?: boolean | undefined;
|
|
190
|
+
}>;
|
|
191
|
+
}[];
|
|
192
|
+
};
|
|
193
|
+
tagline?: Record<string, {
|
|
194
|
+
[x: string]: unknown;
|
|
195
|
+
value: string;
|
|
196
|
+
updatedAt: Date;
|
|
197
|
+
autoTranslated?: boolean | undefined;
|
|
198
|
+
}> | undefined;
|
|
199
|
+
logoSquareImageId?: string | undefined;
|
|
200
|
+
logoWideImageId?: string | undefined;
|
|
201
|
+
topBannerMessage?: Record<string, {
|
|
202
|
+
[x: string]: unknown;
|
|
203
|
+
value: string;
|
|
204
|
+
updatedAt: Date;
|
|
205
|
+
autoTranslated?: boolean | undefined;
|
|
206
|
+
}> | undefined;
|
|
207
|
+
about?: Record<string, {
|
|
208
|
+
version: 1;
|
|
209
|
+
json: string;
|
|
210
|
+
html: string;
|
|
211
|
+
text: string;
|
|
212
|
+
}> | undefined;
|
|
213
|
+
whatsappMessage?: Record<string, {
|
|
214
|
+
[x: string]: unknown;
|
|
215
|
+
value: string;
|
|
216
|
+
updatedAt: Date;
|
|
217
|
+
autoTranslated?: boolean | undefined;
|
|
218
|
+
}> | undefined;
|
|
219
|
+
} | undefined;
|
|
220
|
+
modules?: {
|
|
221
|
+
reviews?: {
|
|
222
|
+
enabled: boolean;
|
|
223
|
+
showRecentReviewsOnStorefront: boolean;
|
|
224
|
+
} | undefined;
|
|
225
|
+
} | undefined;
|
|
226
|
+
};
|
|
227
|
+
bikes: BikeProduct[];
|
|
228
|
+
accessories: AccessoryProduct[];
|
|
229
|
+
language: StorefrontI18nLanguage;
|
|
230
|
+
}>;
|
|
231
|
+
|
|
232
|
+
declare type StorefrontConfiguration = z.infer<typeof storefrontConfigurationSchema>;
|
|
233
|
+
|
|
234
|
+
declare const storefrontConfigurationSchema: z.ZodObject<{
|
|
235
|
+
storeSlug: z.ZodString;
|
|
236
|
+
workspace: z.ZodOptional<z.ZodObject<{
|
|
237
|
+
name: z.ZodOptional<z.ZodString>;
|
|
238
|
+
workspaceLanguage: z.ZodOptional<z.ZodEnum<{
|
|
239
|
+
fr: "fr";
|
|
240
|
+
en: "en";
|
|
241
|
+
}>>;
|
|
242
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
243
|
+
}, z.core.$strip>>;
|
|
244
|
+
shop: z.ZodObject<{
|
|
245
|
+
id: z.ZodString;
|
|
246
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
247
|
+
name: z.ZodString;
|
|
248
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
249
|
+
url: z.ZodOptional<z.ZodString>;
|
|
250
|
+
googleMapsLink: z.ZodOptional<z.ZodString>;
|
|
251
|
+
googleRequestReviewsLink: z.ZodOptional<z.ZodString>;
|
|
252
|
+
emailAddress: z.ZodOptional<z.ZodString>;
|
|
253
|
+
contactPhone1: z.ZodOptional<z.ZodString>;
|
|
254
|
+
contactPhone2: z.ZodOptional<z.ZodString>;
|
|
255
|
+
address: z.ZodOptional<z.ZodString>;
|
|
256
|
+
city: z.ZodOptional<z.ZodString>;
|
|
257
|
+
country: z.ZodOptional<z.ZodString>;
|
|
258
|
+
gpsCoordinates: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
259
|
+
}, z.core.$strip>;
|
|
260
|
+
settings: z.ZodObject<{
|
|
261
|
+
status: z.ZodEnum<{
|
|
262
|
+
unpublished: "unpublished";
|
|
263
|
+
published: "published";
|
|
264
|
+
}>;
|
|
265
|
+
checkoutMode: z.ZodEnum<{
|
|
266
|
+
auto_approve_when_possible: "auto_approve_when_possible";
|
|
267
|
+
manual_approval_required: "manual_approval_required";
|
|
268
|
+
}>;
|
|
269
|
+
availabilityDisplay: z.ZodObject<{
|
|
270
|
+
defaultMode: z.ZodEnum<{
|
|
271
|
+
soldOutOnly: "soldOutOnly";
|
|
272
|
+
soldOutAndFewRemaining: "soldOutAndFewRemaining";
|
|
273
|
+
fewRemaining: "fewRemaining";
|
|
274
|
+
fewRemainingCounts: "fewRemainingCounts";
|
|
275
|
+
remainingCounts: "remainingCounts";
|
|
276
|
+
}>;
|
|
277
|
+
defaultFewRemainingThreshold: z.ZodOptional<z.ZodNumber>;
|
|
278
|
+
}, z.core.$strip>;
|
|
279
|
+
enabled: z.ZodBoolean;
|
|
280
|
+
fulfillmentModes: z.ZodArray<z.ZodEnum<{
|
|
281
|
+
pickup: "pickup";
|
|
282
|
+
delivery: "delivery";
|
|
283
|
+
}>>;
|
|
284
|
+
deliveryDisabledReason: z.ZodDefault<z.ZodString>;
|
|
285
|
+
sameDayCutoff: z.ZodString;
|
|
286
|
+
}, z.core.$strip>;
|
|
287
|
+
bookingEngine: z.ZodType<{
|
|
288
|
+
availabilityDisplay: {
|
|
289
|
+
defaultMode: "soldOutOnly" | "soldOutAndFewRemaining" | "fewRemaining" | "fewRemainingCounts" | "remainingCounts";
|
|
290
|
+
defaultFewRemainingThreshold?: number | undefined;
|
|
291
|
+
};
|
|
292
|
+
holdSettings: {
|
|
293
|
+
enabled: boolean;
|
|
294
|
+
defaultTtlMinutes: number;
|
|
295
|
+
};
|
|
296
|
+
pricing: {
|
|
297
|
+
baseUnit: "hour" | "half_day" | "day" | "week" | "month";
|
|
298
|
+
rentalUnits: {
|
|
299
|
+
unit: "hour" | "half_day" | "day" | "week" | "month";
|
|
300
|
+
durationHours: number;
|
|
301
|
+
label?: Record<string, {
|
|
302
|
+
[x: string]: unknown;
|
|
303
|
+
value: string;
|
|
304
|
+
updatedAt: Date;
|
|
305
|
+
autoTranslated?: boolean | undefined;
|
|
306
|
+
}> | undefined;
|
|
307
|
+
}[];
|
|
308
|
+
halfDay?: {
|
|
309
|
+
enabled: boolean;
|
|
310
|
+
boundaryHour: number;
|
|
311
|
+
} | undefined;
|
|
312
|
+
};
|
|
313
|
+
bookingDeposit: {
|
|
314
|
+
enabled: boolean;
|
|
315
|
+
percentage: number;
|
|
316
|
+
optimizeDepositAmount: boolean;
|
|
317
|
+
};
|
|
318
|
+
securityDeposit: {
|
|
319
|
+
mode: "optional" | "required" | "disabled";
|
|
320
|
+
};
|
|
321
|
+
shop: {
|
|
322
|
+
timeZone: string;
|
|
323
|
+
openingHours: {
|
|
324
|
+
name: string;
|
|
325
|
+
startDate: string;
|
|
326
|
+
endDate: string;
|
|
327
|
+
openingHours: {
|
|
328
|
+
day: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
329
|
+
openingSlots: {
|
|
330
|
+
start: string;
|
|
331
|
+
end: string;
|
|
332
|
+
}[];
|
|
333
|
+
}[];
|
|
334
|
+
}[];
|
|
335
|
+
openingHoursOverrides?: {
|
|
336
|
+
date: string;
|
|
337
|
+
openingSlots: {
|
|
338
|
+
start: string;
|
|
339
|
+
end: string;
|
|
340
|
+
}[];
|
|
341
|
+
}[] | undefined;
|
|
342
|
+
};
|
|
343
|
+
currency: "EUR" | "USD" | "GBP" | "CHF";
|
|
344
|
+
checkout: {
|
|
345
|
+
mode: "auto_approve_when_possible" | "manual_approval_required";
|
|
346
|
+
dynamicOptions?: {
|
|
347
|
+
fulfillmentModes?: ("pickup" | "delivery")[] | undefined;
|
|
348
|
+
sameDayCutoff?: string | undefined;
|
|
349
|
+
} | undefined;
|
|
350
|
+
};
|
|
351
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
352
|
+
availabilityDisplay: {
|
|
353
|
+
defaultMode: "soldOutOnly" | "soldOutAndFewRemaining" | "fewRemaining" | "fewRemainingCounts" | "remainingCounts";
|
|
354
|
+
defaultFewRemainingThreshold?: number | undefined;
|
|
355
|
+
};
|
|
356
|
+
holdSettings: {
|
|
357
|
+
enabled: boolean;
|
|
358
|
+
defaultTtlMinutes: number;
|
|
359
|
+
};
|
|
360
|
+
pricing: {
|
|
361
|
+
baseUnit: "hour" | "half_day" | "day" | "week" | "month";
|
|
362
|
+
rentalUnits: {
|
|
363
|
+
unit: "hour" | "half_day" | "day" | "week" | "month";
|
|
364
|
+
durationHours: number;
|
|
365
|
+
label?: Record<string, {
|
|
366
|
+
[x: string]: unknown;
|
|
367
|
+
value: string;
|
|
368
|
+
updatedAt: Date;
|
|
369
|
+
autoTranslated?: boolean | undefined;
|
|
370
|
+
}> | undefined;
|
|
371
|
+
}[];
|
|
372
|
+
halfDay?: {
|
|
373
|
+
enabled: boolean;
|
|
374
|
+
boundaryHour: number;
|
|
375
|
+
} | undefined;
|
|
376
|
+
};
|
|
377
|
+
bookingDeposit: {
|
|
378
|
+
enabled: boolean;
|
|
379
|
+
percentage: number;
|
|
380
|
+
optimizeDepositAmount: boolean;
|
|
381
|
+
};
|
|
382
|
+
securityDeposit: {
|
|
383
|
+
mode: "optional" | "required" | "disabled";
|
|
384
|
+
};
|
|
385
|
+
shop: {
|
|
386
|
+
timeZone: string;
|
|
387
|
+
openingHours: {
|
|
388
|
+
name: string;
|
|
389
|
+
startDate: string;
|
|
390
|
+
endDate: string;
|
|
391
|
+
openingHours: {
|
|
392
|
+
day: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
393
|
+
openingSlots: {
|
|
394
|
+
start: string;
|
|
395
|
+
end: string;
|
|
396
|
+
}[];
|
|
397
|
+
}[];
|
|
398
|
+
}[];
|
|
399
|
+
openingHoursOverrides?: {
|
|
400
|
+
date: string;
|
|
401
|
+
openingSlots: {
|
|
402
|
+
start: string;
|
|
403
|
+
end: string;
|
|
404
|
+
}[];
|
|
405
|
+
}[] | undefined;
|
|
406
|
+
};
|
|
407
|
+
currency: "EUR" | "USD" | "GBP" | "CHF";
|
|
408
|
+
checkout: {
|
|
409
|
+
mode: "auto_approve_when_possible" | "manual_approval_required";
|
|
410
|
+
dynamicOptions?: {
|
|
411
|
+
fulfillmentModes?: ("pickup" | "delivery")[] | undefined;
|
|
412
|
+
sameDayCutoff?: string | undefined;
|
|
413
|
+
} | undefined;
|
|
414
|
+
};
|
|
415
|
+
}, unknown>>;
|
|
416
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
417
|
+
tagline: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
418
|
+
value: z.ZodString;
|
|
419
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
420
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
421
|
+
}, z.core.$loose>>>;
|
|
422
|
+
logoSquareImageId: z.ZodOptional<z.ZodString>;
|
|
423
|
+
logoWideImageId: z.ZodOptional<z.ZodString>;
|
|
424
|
+
galleryImageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
425
|
+
topBannerMessage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
426
|
+
value: z.ZodString;
|
|
427
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
428
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
429
|
+
}, z.core.$loose>>>;
|
|
430
|
+
about: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
431
|
+
version: z.ZodLiteral<1>;
|
|
432
|
+
json: z.ZodString;
|
|
433
|
+
html: z.ZodString;
|
|
434
|
+
text: z.ZodString;
|
|
435
|
+
}, z.core.$strict>>>;
|
|
436
|
+
whatsappPhone1Enabled: z.ZodDefault<z.ZodBoolean>;
|
|
437
|
+
whatsappPhone2Enabled: z.ZodDefault<z.ZodBoolean>;
|
|
438
|
+
whatsappMessage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
439
|
+
value: z.ZodString;
|
|
440
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
441
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
442
|
+
}, z.core.$loose>>>;
|
|
443
|
+
showWhatsappFloatingButton: z.ZodDefault<z.ZodBoolean>;
|
|
444
|
+
modalMessages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
445
|
+
id: z.ZodString;
|
|
446
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
447
|
+
showOnEachVisit: z.ZodDefault<z.ZodBoolean>;
|
|
448
|
+
startDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
449
|
+
endDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
450
|
+
title: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
451
|
+
value: z.ZodString;
|
|
452
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
453
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
454
|
+
}, z.core.$loose>>>;
|
|
455
|
+
subtitle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
456
|
+
value: z.ZodString;
|
|
457
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
458
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
459
|
+
}, z.core.$loose>>>;
|
|
460
|
+
message: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
461
|
+
version: z.ZodLiteral<1>;
|
|
462
|
+
json: z.ZodString;
|
|
463
|
+
html: z.ZodString;
|
|
464
|
+
text: z.ZodString;
|
|
465
|
+
}, z.core.$strict>>>>;
|
|
466
|
+
imageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
467
|
+
}, z.core.$strip>>>;
|
|
468
|
+
faq: z.ZodDefault<z.ZodObject<{
|
|
469
|
+
general: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
470
|
+
id: z.ZodString;
|
|
471
|
+
question: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
472
|
+
value: z.ZodString;
|
|
473
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
474
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
475
|
+
}, z.core.$loose>>;
|
|
476
|
+
answer: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
477
|
+
value: z.ZodString;
|
|
478
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
479
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
480
|
+
}, z.core.$loose>>;
|
|
481
|
+
}, z.core.$strip>>>;
|
|
482
|
+
deliveries: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
483
|
+
id: z.ZodString;
|
|
484
|
+
question: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
485
|
+
value: z.ZodString;
|
|
486
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
487
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
488
|
+
}, z.core.$loose>>;
|
|
489
|
+
answer: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
490
|
+
value: z.ZodString;
|
|
491
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
492
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
493
|
+
}, z.core.$loose>>;
|
|
494
|
+
}, z.core.$strip>>>;
|
|
495
|
+
booking: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
496
|
+
id: z.ZodString;
|
|
497
|
+
question: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
498
|
+
value: z.ZodString;
|
|
499
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
500
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
501
|
+
}, z.core.$loose>>;
|
|
502
|
+
answer: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
503
|
+
value: z.ZodString;
|
|
504
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
505
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
506
|
+
}, z.core.$loose>>;
|
|
507
|
+
}, z.core.$strip>>>;
|
|
508
|
+
}, z.core.$strip>>;
|
|
509
|
+
}, z.core.$strip>>;
|
|
510
|
+
modules: z.ZodOptional<z.ZodObject<{
|
|
511
|
+
reviews: z.ZodOptional<z.ZodObject<{
|
|
512
|
+
enabled: z.ZodBoolean;
|
|
513
|
+
showRecentReviewsOnStorefront: z.ZodBoolean;
|
|
514
|
+
}, z.core.$strip>>;
|
|
515
|
+
}, z.core.$strip>>;
|
|
516
|
+
}, z.core.$strip>;
|
|
517
|
+
|
|
518
|
+
declare type StorefrontContextValue = {
|
|
519
|
+
storeSlug: string;
|
|
520
|
+
storefrontConfiguration: StorefrontConfiguration;
|
|
521
|
+
bikes: BikeProduct[];
|
|
522
|
+
accessories: AccessoryProduct[];
|
|
523
|
+
mapboxToken?: string;
|
|
524
|
+
language: StorefrontI18nLanguage;
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
declare type StorefrontI18nLanguage = "en" | "fr";
|
|
528
|
+
|
|
529
|
+
declare function StorefrontProvider(): JSX.Element;
|
|
530
|
+
export default StorefrontProvider;
|
|
531
|
+
|
|
532
|
+
declare type StorefrontPublicAccessoryProduct = z.infer<typeof storefrontPublicAccessoryProductSchema>;
|
|
533
|
+
|
|
534
|
+
declare const storefrontPublicAccessoryProductSchema: z.ZodObject<{
|
|
535
|
+
id: z.ZodString;
|
|
536
|
+
checkoutProductId: z.ZodOptional<z.ZodString>;
|
|
537
|
+
representedVariantId: z.ZodOptional<z.ZodString>;
|
|
538
|
+
slug: z.ZodString;
|
|
539
|
+
name: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
540
|
+
value: z.ZodString;
|
|
541
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
542
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
543
|
+
}, z.core.$loose>>;
|
|
544
|
+
description: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
545
|
+
value: z.ZodString;
|
|
546
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
547
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
548
|
+
}, z.core.$loose>>>;
|
|
549
|
+
warning: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
550
|
+
value: z.ZodString;
|
|
551
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
552
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
553
|
+
}, z.core.$loose>>>;
|
|
554
|
+
images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
555
|
+
primaryImageStyle: z.ZodOptional<z.ZodObject<{
|
|
556
|
+
bgMode: z.ZodEnum<{
|
|
557
|
+
transparent: "transparent";
|
|
558
|
+
solid: "solid";
|
|
559
|
+
complex: "complex";
|
|
560
|
+
}>;
|
|
561
|
+
bgColor: z.ZodOptional<z.ZodString>;
|
|
562
|
+
needsLightBorder: z.ZodDefault<z.ZodBoolean>;
|
|
563
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
564
|
+
analyzerVersion: z.ZodOptional<z.ZodNumber>;
|
|
565
|
+
}, z.core.$strip>>;
|
|
566
|
+
prices: z.ZodArray<z.ZodObject<{
|
|
567
|
+
value: z.ZodNumber;
|
|
568
|
+
unit: z.ZodEnum<{
|
|
569
|
+
hour: "hour";
|
|
570
|
+
half_day: "half_day";
|
|
571
|
+
day: "day";
|
|
572
|
+
week: "week";
|
|
573
|
+
month: "month";
|
|
574
|
+
}>;
|
|
575
|
+
quantity: z.ZodNumber;
|
|
576
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
577
|
+
}, z.core.$strip>>;
|
|
578
|
+
features: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
579
|
+
value: z.ZodString;
|
|
580
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
581
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
582
|
+
}, z.core.$loose>>>>;
|
|
583
|
+
productVariants: z.ZodArray<z.ZodObject<{
|
|
584
|
+
id: z.ZodString;
|
|
585
|
+
computedName: z.ZodString;
|
|
586
|
+
attributes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
587
|
+
key: z.ZodString;
|
|
588
|
+
label: z.ZodOptional<z.ZodString>;
|
|
589
|
+
value: z.ZodString;
|
|
590
|
+
}, z.core.$strip>>>;
|
|
591
|
+
identifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
592
|
+
kind: z.ZodString;
|
|
593
|
+
value: z.ZodString;
|
|
594
|
+
}, z.core.$strip>>>;
|
|
595
|
+
}, z.core.$strip>>;
|
|
596
|
+
storefrontDisplayMode: z.ZodDefault<z.ZodEnum<{
|
|
597
|
+
variant_selector: "variant_selector";
|
|
598
|
+
variants_as_products: "variants_as_products";
|
|
599
|
+
}>>;
|
|
600
|
+
}, z.core.$strip>;
|
|
601
|
+
|
|
602
|
+
declare type StorefrontPublicBikeProduct = z.infer<typeof storefrontPublicBikeProductSchema>;
|
|
603
|
+
|
|
604
|
+
declare const storefrontPublicBikeProductSchema: z.ZodObject<{
|
|
605
|
+
id: z.ZodString;
|
|
606
|
+
checkoutProductId: z.ZodOptional<z.ZodString>;
|
|
607
|
+
representedVariantId: z.ZodOptional<z.ZodString>;
|
|
608
|
+
slug: z.ZodString;
|
|
609
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
610
|
+
bike: "bike";
|
|
611
|
+
"e-bike": "e-bike";
|
|
612
|
+
}>>;
|
|
613
|
+
name: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
614
|
+
value: z.ZodString;
|
|
615
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
616
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
617
|
+
}, z.core.$loose>>;
|
|
618
|
+
description: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
619
|
+
value: z.ZodString;
|
|
620
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
621
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
622
|
+
}, z.core.$loose>>>;
|
|
623
|
+
warning: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
624
|
+
value: z.ZodString;
|
|
625
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
626
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
627
|
+
}, z.core.$loose>>>;
|
|
628
|
+
images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
629
|
+
primaryImageStyle: z.ZodOptional<z.ZodObject<{
|
|
630
|
+
bgMode: z.ZodEnum<{
|
|
631
|
+
transparent: "transparent";
|
|
632
|
+
solid: "solid";
|
|
633
|
+
complex: "complex";
|
|
634
|
+
}>;
|
|
635
|
+
bgColor: z.ZodOptional<z.ZodString>;
|
|
636
|
+
needsLightBorder: z.ZodDefault<z.ZodBoolean>;
|
|
637
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
638
|
+
analyzerVersion: z.ZodOptional<z.ZodNumber>;
|
|
639
|
+
}, z.core.$strip>>;
|
|
640
|
+
prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
641
|
+
value: z.ZodNumber;
|
|
642
|
+
unit: z.ZodEnum<{
|
|
643
|
+
hour: "hour";
|
|
644
|
+
half_day: "half_day";
|
|
645
|
+
day: "day";
|
|
646
|
+
week: "week";
|
|
647
|
+
month: "month";
|
|
648
|
+
}>;
|
|
649
|
+
quantity: z.ZodNumber;
|
|
650
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
651
|
+
}, z.core.$strip>>>;
|
|
652
|
+
features: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
653
|
+
value: z.ZodString;
|
|
654
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
655
|
+
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
656
|
+
}, z.core.$loose>>>>;
|
|
657
|
+
productVariants: z.ZodArray<z.ZodObject<{
|
|
658
|
+
id: z.ZodString;
|
|
659
|
+
computedName: z.ZodString;
|
|
660
|
+
attributes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
661
|
+
key: z.ZodString;
|
|
662
|
+
label: z.ZodOptional<z.ZodString>;
|
|
663
|
+
value: z.ZodString;
|
|
664
|
+
}, z.core.$strip>>>;
|
|
665
|
+
identifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
666
|
+
kind: z.ZodString;
|
|
667
|
+
value: z.ZodString;
|
|
668
|
+
}, z.core.$strip>>>;
|
|
669
|
+
}, z.core.$strip>>;
|
|
670
|
+
storefrontDisplayMode: z.ZodDefault<z.ZodEnum<{
|
|
671
|
+
variant_selector: "variant_selector";
|
|
672
|
+
variants_as_products: "variants_as_products";
|
|
673
|
+
}>>;
|
|
674
|
+
availabilityStatus: z.ZodOptional<z.ZodEnum<{
|
|
675
|
+
AVAILABLE: "AVAILABLE";
|
|
676
|
+
LOW_STOCK: "LOW_STOCK";
|
|
677
|
+
OUT_OF_STOCK: "OUT_OF_STOCK";
|
|
678
|
+
}>>;
|
|
679
|
+
}, z.core.$strip>;
|
|
680
|
+
|
|
681
|
+
export declare function useOptionalStorefront(): StorefrontContextValue | undefined;
|
|
682
|
+
|
|
683
|
+
export declare function useStorefront(): StorefrontContextValue;
|
|
684
|
+
|
|
685
|
+
export declare function useStorefrontConfig(): {
|
|
686
|
+
config: {
|
|
687
|
+
storeSlug: string;
|
|
688
|
+
shop: {
|
|
689
|
+
id: string;
|
|
690
|
+
name: string;
|
|
691
|
+
slug?: string | undefined;
|
|
692
|
+
timeZone?: string | undefined;
|
|
693
|
+
url?: string | undefined;
|
|
694
|
+
googleMapsLink?: string | undefined;
|
|
695
|
+
googleRequestReviewsLink?: string | undefined;
|
|
696
|
+
emailAddress?: string | undefined;
|
|
697
|
+
contactPhone1?: string | undefined;
|
|
698
|
+
contactPhone2?: string | undefined;
|
|
699
|
+
address?: string | undefined;
|
|
700
|
+
city?: string | undefined;
|
|
701
|
+
country?: string | undefined;
|
|
702
|
+
gpsCoordinates?: [number, number] | undefined;
|
|
703
|
+
};
|
|
704
|
+
settings: {
|
|
705
|
+
status: "unpublished" | "published";
|
|
706
|
+
checkoutMode: "auto_approve_when_possible" | "manual_approval_required";
|
|
707
|
+
availabilityDisplay: {
|
|
708
|
+
defaultMode: "soldOutOnly" | "soldOutAndFewRemaining" | "fewRemaining" | "fewRemainingCounts" | "remainingCounts";
|
|
709
|
+
defaultFewRemainingThreshold?: number | undefined;
|
|
710
|
+
};
|
|
711
|
+
enabled: boolean;
|
|
712
|
+
fulfillmentModes: ("pickup" | "delivery")[];
|
|
713
|
+
deliveryDisabledReason: string;
|
|
714
|
+
sameDayCutoff: string;
|
|
715
|
+
};
|
|
716
|
+
bookingEngine: {
|
|
717
|
+
availabilityDisplay: {
|
|
718
|
+
defaultMode: "soldOutOnly" | "soldOutAndFewRemaining" | "fewRemaining" | "fewRemainingCounts" | "remainingCounts";
|
|
719
|
+
defaultFewRemainingThreshold?: number | undefined;
|
|
720
|
+
};
|
|
721
|
+
holdSettings: {
|
|
722
|
+
enabled: boolean;
|
|
723
|
+
defaultTtlMinutes: number;
|
|
724
|
+
};
|
|
725
|
+
pricing: {
|
|
726
|
+
baseUnit: "hour" | "half_day" | "day" | "week" | "month";
|
|
727
|
+
rentalUnits: {
|
|
728
|
+
unit: "hour" | "half_day" | "day" | "week" | "month";
|
|
729
|
+
durationHours: number;
|
|
730
|
+
label?: Record<string, {
|
|
731
|
+
[x: string]: unknown;
|
|
732
|
+
value: string;
|
|
733
|
+
updatedAt: Date;
|
|
734
|
+
autoTranslated?: boolean | undefined;
|
|
735
|
+
}> | undefined;
|
|
736
|
+
}[];
|
|
737
|
+
halfDay?: {
|
|
738
|
+
enabled: boolean;
|
|
739
|
+
boundaryHour: number;
|
|
740
|
+
} | undefined;
|
|
741
|
+
};
|
|
742
|
+
bookingDeposit: {
|
|
743
|
+
enabled: boolean;
|
|
744
|
+
percentage: number;
|
|
745
|
+
optimizeDepositAmount: boolean;
|
|
746
|
+
};
|
|
747
|
+
securityDeposit: {
|
|
748
|
+
mode: "optional" | "required" | "disabled";
|
|
749
|
+
};
|
|
750
|
+
shop: {
|
|
751
|
+
timeZone: string;
|
|
752
|
+
openingHours: {
|
|
753
|
+
name: string;
|
|
754
|
+
startDate: string;
|
|
755
|
+
endDate: string;
|
|
756
|
+
openingHours: {
|
|
757
|
+
day: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
758
|
+
openingSlots: {
|
|
759
|
+
start: string;
|
|
760
|
+
end: string;
|
|
761
|
+
}[];
|
|
762
|
+
}[];
|
|
763
|
+
}[];
|
|
764
|
+
openingHoursOverrides?: {
|
|
765
|
+
date: string;
|
|
766
|
+
openingSlots: {
|
|
767
|
+
start: string;
|
|
768
|
+
end: string;
|
|
769
|
+
}[];
|
|
770
|
+
}[] | undefined;
|
|
771
|
+
};
|
|
772
|
+
currency: "EUR" | "USD" | "GBP" | "CHF";
|
|
773
|
+
checkout: {
|
|
774
|
+
mode: "auto_approve_when_possible" | "manual_approval_required";
|
|
775
|
+
dynamicOptions?: {
|
|
776
|
+
fulfillmentModes?: ("pickup" | "delivery")[] | undefined;
|
|
777
|
+
sameDayCutoff?: string | undefined;
|
|
778
|
+
} | undefined;
|
|
779
|
+
};
|
|
780
|
+
};
|
|
781
|
+
workspace?: {
|
|
782
|
+
name?: string | undefined;
|
|
783
|
+
workspaceLanguage?: "fr" | "en" | undefined;
|
|
784
|
+
languages?: string[] | undefined;
|
|
785
|
+
} | undefined;
|
|
786
|
+
content?: {
|
|
787
|
+
galleryImageIds: string[];
|
|
788
|
+
whatsappPhone1Enabled: boolean;
|
|
789
|
+
whatsappPhone2Enabled: boolean;
|
|
790
|
+
showWhatsappFloatingButton: boolean;
|
|
791
|
+
modalMessages: {
|
|
792
|
+
id: string;
|
|
793
|
+
enabled: boolean;
|
|
794
|
+
showOnEachVisit: boolean;
|
|
795
|
+
startDate: string | null;
|
|
796
|
+
endDate: string | null;
|
|
797
|
+
imageIds: string[];
|
|
798
|
+
title?: Record<string, {
|
|
799
|
+
[x: string]: unknown;
|
|
800
|
+
value: string;
|
|
801
|
+
updatedAt: Date;
|
|
802
|
+
autoTranslated?: boolean | undefined;
|
|
803
|
+
}> | undefined;
|
|
804
|
+
subtitle?: Record<string, {
|
|
805
|
+
[x: string]: unknown;
|
|
806
|
+
value: string;
|
|
807
|
+
updatedAt: Date;
|
|
808
|
+
autoTranslated?: boolean | undefined;
|
|
809
|
+
}> | undefined;
|
|
810
|
+
message?: Record<string, {
|
|
811
|
+
version: 1;
|
|
812
|
+
json: string;
|
|
813
|
+
html: string;
|
|
814
|
+
text: string;
|
|
815
|
+
}> | undefined;
|
|
816
|
+
}[];
|
|
817
|
+
faq: {
|
|
818
|
+
general: {
|
|
819
|
+
id: string;
|
|
820
|
+
question: Record<string, {
|
|
821
|
+
[x: string]: unknown;
|
|
822
|
+
value: string;
|
|
823
|
+
updatedAt: Date;
|
|
824
|
+
autoTranslated?: boolean | undefined;
|
|
825
|
+
}>;
|
|
826
|
+
answer: Record<string, {
|
|
827
|
+
[x: string]: unknown;
|
|
828
|
+
value: string;
|
|
829
|
+
updatedAt: Date;
|
|
830
|
+
autoTranslated?: boolean | undefined;
|
|
831
|
+
}>;
|
|
832
|
+
}[];
|
|
833
|
+
deliveries: {
|
|
834
|
+
id: string;
|
|
835
|
+
question: Record<string, {
|
|
836
|
+
[x: string]: unknown;
|
|
837
|
+
value: string;
|
|
838
|
+
updatedAt: Date;
|
|
839
|
+
autoTranslated?: boolean | undefined;
|
|
840
|
+
}>;
|
|
841
|
+
answer: Record<string, {
|
|
842
|
+
[x: string]: unknown;
|
|
843
|
+
value: string;
|
|
844
|
+
updatedAt: Date;
|
|
845
|
+
autoTranslated?: boolean | undefined;
|
|
846
|
+
}>;
|
|
847
|
+
}[];
|
|
848
|
+
booking: {
|
|
849
|
+
id: string;
|
|
850
|
+
question: Record<string, {
|
|
851
|
+
[x: string]: unknown;
|
|
852
|
+
value: string;
|
|
853
|
+
updatedAt: Date;
|
|
854
|
+
autoTranslated?: boolean | undefined;
|
|
855
|
+
}>;
|
|
856
|
+
answer: Record<string, {
|
|
857
|
+
[x: string]: unknown;
|
|
858
|
+
value: string;
|
|
859
|
+
updatedAt: Date;
|
|
860
|
+
autoTranslated?: boolean | undefined;
|
|
861
|
+
}>;
|
|
862
|
+
}[];
|
|
863
|
+
};
|
|
864
|
+
tagline?: Record<string, {
|
|
865
|
+
[x: string]: unknown;
|
|
866
|
+
value: string;
|
|
867
|
+
updatedAt: Date;
|
|
868
|
+
autoTranslated?: boolean | undefined;
|
|
869
|
+
}> | undefined;
|
|
870
|
+
logoSquareImageId?: string | undefined;
|
|
871
|
+
logoWideImageId?: string | undefined;
|
|
872
|
+
topBannerMessage?: Record<string, {
|
|
873
|
+
[x: string]: unknown;
|
|
874
|
+
value: string;
|
|
875
|
+
updatedAt: Date;
|
|
876
|
+
autoTranslated?: boolean | undefined;
|
|
877
|
+
}> | undefined;
|
|
878
|
+
about?: Record<string, {
|
|
879
|
+
version: 1;
|
|
880
|
+
json: string;
|
|
881
|
+
html: string;
|
|
882
|
+
text: string;
|
|
883
|
+
}> | undefined;
|
|
884
|
+
whatsappMessage?: Record<string, {
|
|
885
|
+
[x: string]: unknown;
|
|
886
|
+
value: string;
|
|
887
|
+
updatedAt: Date;
|
|
888
|
+
autoTranslated?: boolean | undefined;
|
|
889
|
+
}> | undefined;
|
|
890
|
+
} | undefined;
|
|
891
|
+
modules?: {
|
|
892
|
+
reviews?: {
|
|
893
|
+
enabled: boolean;
|
|
894
|
+
showRecentReviewsOnStorefront: boolean;
|
|
895
|
+
} | undefined;
|
|
896
|
+
} | undefined;
|
|
897
|
+
};
|
|
898
|
+
storefrontConfiguration: {
|
|
899
|
+
storeSlug: string;
|
|
900
|
+
shop: {
|
|
901
|
+
id: string;
|
|
902
|
+
name: string;
|
|
903
|
+
slug?: string | undefined;
|
|
904
|
+
timeZone?: string | undefined;
|
|
905
|
+
url?: string | undefined;
|
|
906
|
+
googleMapsLink?: string | undefined;
|
|
907
|
+
googleRequestReviewsLink?: string | undefined;
|
|
908
|
+
emailAddress?: string | undefined;
|
|
909
|
+
contactPhone1?: string | undefined;
|
|
910
|
+
contactPhone2?: string | undefined;
|
|
911
|
+
address?: string | undefined;
|
|
912
|
+
city?: string | undefined;
|
|
913
|
+
country?: string | undefined;
|
|
914
|
+
gpsCoordinates?: [number, number] | undefined;
|
|
915
|
+
};
|
|
916
|
+
settings: {
|
|
917
|
+
status: "unpublished" | "published";
|
|
918
|
+
checkoutMode: "auto_approve_when_possible" | "manual_approval_required";
|
|
919
|
+
availabilityDisplay: {
|
|
920
|
+
defaultMode: "soldOutOnly" | "soldOutAndFewRemaining" | "fewRemaining" | "fewRemainingCounts" | "remainingCounts";
|
|
921
|
+
defaultFewRemainingThreshold?: number | undefined;
|
|
922
|
+
};
|
|
923
|
+
enabled: boolean;
|
|
924
|
+
fulfillmentModes: ("pickup" | "delivery")[];
|
|
925
|
+
deliveryDisabledReason: string;
|
|
926
|
+
sameDayCutoff: string;
|
|
927
|
+
};
|
|
928
|
+
bookingEngine: {
|
|
929
|
+
availabilityDisplay: {
|
|
930
|
+
defaultMode: "soldOutOnly" | "soldOutAndFewRemaining" | "fewRemaining" | "fewRemainingCounts" | "remainingCounts";
|
|
931
|
+
defaultFewRemainingThreshold?: number | undefined;
|
|
932
|
+
};
|
|
933
|
+
holdSettings: {
|
|
934
|
+
enabled: boolean;
|
|
935
|
+
defaultTtlMinutes: number;
|
|
936
|
+
};
|
|
937
|
+
pricing: {
|
|
938
|
+
baseUnit: "hour" | "half_day" | "day" | "week" | "month";
|
|
939
|
+
rentalUnits: {
|
|
940
|
+
unit: "hour" | "half_day" | "day" | "week" | "month";
|
|
941
|
+
durationHours: number;
|
|
942
|
+
label?: Record<string, {
|
|
943
|
+
[x: string]: unknown;
|
|
944
|
+
value: string;
|
|
945
|
+
updatedAt: Date;
|
|
946
|
+
autoTranslated?: boolean | undefined;
|
|
947
|
+
}> | undefined;
|
|
948
|
+
}[];
|
|
949
|
+
halfDay?: {
|
|
950
|
+
enabled: boolean;
|
|
951
|
+
boundaryHour: number;
|
|
952
|
+
} | undefined;
|
|
953
|
+
};
|
|
954
|
+
bookingDeposit: {
|
|
955
|
+
enabled: boolean;
|
|
956
|
+
percentage: number;
|
|
957
|
+
optimizeDepositAmount: boolean;
|
|
958
|
+
};
|
|
959
|
+
securityDeposit: {
|
|
960
|
+
mode: "optional" | "required" | "disabled";
|
|
961
|
+
};
|
|
962
|
+
shop: {
|
|
963
|
+
timeZone: string;
|
|
964
|
+
openingHours: {
|
|
965
|
+
name: string;
|
|
966
|
+
startDate: string;
|
|
967
|
+
endDate: string;
|
|
968
|
+
openingHours: {
|
|
969
|
+
day: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
970
|
+
openingSlots: {
|
|
971
|
+
start: string;
|
|
972
|
+
end: string;
|
|
973
|
+
}[];
|
|
974
|
+
}[];
|
|
975
|
+
}[];
|
|
976
|
+
openingHoursOverrides?: {
|
|
977
|
+
date: string;
|
|
978
|
+
openingSlots: {
|
|
979
|
+
start: string;
|
|
980
|
+
end: string;
|
|
981
|
+
}[];
|
|
982
|
+
}[] | undefined;
|
|
983
|
+
};
|
|
984
|
+
currency: "EUR" | "USD" | "GBP" | "CHF";
|
|
985
|
+
checkout: {
|
|
986
|
+
mode: "auto_approve_when_possible" | "manual_approval_required";
|
|
987
|
+
dynamicOptions?: {
|
|
988
|
+
fulfillmentModes?: ("pickup" | "delivery")[] | undefined;
|
|
989
|
+
sameDayCutoff?: string | undefined;
|
|
990
|
+
} | undefined;
|
|
991
|
+
};
|
|
992
|
+
};
|
|
993
|
+
workspace?: {
|
|
994
|
+
name?: string | undefined;
|
|
995
|
+
workspaceLanguage?: "fr" | "en" | undefined;
|
|
996
|
+
languages?: string[] | undefined;
|
|
997
|
+
} | undefined;
|
|
998
|
+
content?: {
|
|
999
|
+
galleryImageIds: string[];
|
|
1000
|
+
whatsappPhone1Enabled: boolean;
|
|
1001
|
+
whatsappPhone2Enabled: boolean;
|
|
1002
|
+
showWhatsappFloatingButton: boolean;
|
|
1003
|
+
modalMessages: {
|
|
1004
|
+
id: string;
|
|
1005
|
+
enabled: boolean;
|
|
1006
|
+
showOnEachVisit: boolean;
|
|
1007
|
+
startDate: string | null;
|
|
1008
|
+
endDate: string | null;
|
|
1009
|
+
imageIds: string[];
|
|
1010
|
+
title?: Record<string, {
|
|
1011
|
+
[x: string]: unknown;
|
|
1012
|
+
value: string;
|
|
1013
|
+
updatedAt: Date;
|
|
1014
|
+
autoTranslated?: boolean | undefined;
|
|
1015
|
+
}> | undefined;
|
|
1016
|
+
subtitle?: Record<string, {
|
|
1017
|
+
[x: string]: unknown;
|
|
1018
|
+
value: string;
|
|
1019
|
+
updatedAt: Date;
|
|
1020
|
+
autoTranslated?: boolean | undefined;
|
|
1021
|
+
}> | undefined;
|
|
1022
|
+
message?: Record<string, {
|
|
1023
|
+
version: 1;
|
|
1024
|
+
json: string;
|
|
1025
|
+
html: string;
|
|
1026
|
+
text: string;
|
|
1027
|
+
}> | undefined;
|
|
1028
|
+
}[];
|
|
1029
|
+
faq: {
|
|
1030
|
+
general: {
|
|
1031
|
+
id: string;
|
|
1032
|
+
question: Record<string, {
|
|
1033
|
+
[x: string]: unknown;
|
|
1034
|
+
value: string;
|
|
1035
|
+
updatedAt: Date;
|
|
1036
|
+
autoTranslated?: boolean | undefined;
|
|
1037
|
+
}>;
|
|
1038
|
+
answer: Record<string, {
|
|
1039
|
+
[x: string]: unknown;
|
|
1040
|
+
value: string;
|
|
1041
|
+
updatedAt: Date;
|
|
1042
|
+
autoTranslated?: boolean | undefined;
|
|
1043
|
+
}>;
|
|
1044
|
+
}[];
|
|
1045
|
+
deliveries: {
|
|
1046
|
+
id: string;
|
|
1047
|
+
question: Record<string, {
|
|
1048
|
+
[x: string]: unknown;
|
|
1049
|
+
value: string;
|
|
1050
|
+
updatedAt: Date;
|
|
1051
|
+
autoTranslated?: boolean | undefined;
|
|
1052
|
+
}>;
|
|
1053
|
+
answer: Record<string, {
|
|
1054
|
+
[x: string]: unknown;
|
|
1055
|
+
value: string;
|
|
1056
|
+
updatedAt: Date;
|
|
1057
|
+
autoTranslated?: boolean | undefined;
|
|
1058
|
+
}>;
|
|
1059
|
+
}[];
|
|
1060
|
+
booking: {
|
|
1061
|
+
id: string;
|
|
1062
|
+
question: Record<string, {
|
|
1063
|
+
[x: string]: unknown;
|
|
1064
|
+
value: string;
|
|
1065
|
+
updatedAt: Date;
|
|
1066
|
+
autoTranslated?: boolean | undefined;
|
|
1067
|
+
}>;
|
|
1068
|
+
answer: Record<string, {
|
|
1069
|
+
[x: string]: unknown;
|
|
1070
|
+
value: string;
|
|
1071
|
+
updatedAt: Date;
|
|
1072
|
+
autoTranslated?: boolean | undefined;
|
|
1073
|
+
}>;
|
|
1074
|
+
}[];
|
|
1075
|
+
};
|
|
1076
|
+
tagline?: Record<string, {
|
|
1077
|
+
[x: string]: unknown;
|
|
1078
|
+
value: string;
|
|
1079
|
+
updatedAt: Date;
|
|
1080
|
+
autoTranslated?: boolean | undefined;
|
|
1081
|
+
}> | undefined;
|
|
1082
|
+
logoSquareImageId?: string | undefined;
|
|
1083
|
+
logoWideImageId?: string | undefined;
|
|
1084
|
+
topBannerMessage?: Record<string, {
|
|
1085
|
+
[x: string]: unknown;
|
|
1086
|
+
value: string;
|
|
1087
|
+
updatedAt: Date;
|
|
1088
|
+
autoTranslated?: boolean | undefined;
|
|
1089
|
+
}> | undefined;
|
|
1090
|
+
about?: Record<string, {
|
|
1091
|
+
version: 1;
|
|
1092
|
+
json: string;
|
|
1093
|
+
html: string;
|
|
1094
|
+
text: string;
|
|
1095
|
+
}> | undefined;
|
|
1096
|
+
whatsappMessage?: Record<string, {
|
|
1097
|
+
[x: string]: unknown;
|
|
1098
|
+
value: string;
|
|
1099
|
+
updatedAt: Date;
|
|
1100
|
+
autoTranslated?: boolean | undefined;
|
|
1101
|
+
}> | undefined;
|
|
1102
|
+
} | undefined;
|
|
1103
|
+
modules?: {
|
|
1104
|
+
reviews?: {
|
|
1105
|
+
enabled: boolean;
|
|
1106
|
+
showRecentReviewsOnStorefront: boolean;
|
|
1107
|
+
} | undefined;
|
|
1108
|
+
} | undefined;
|
|
1109
|
+
};
|
|
1110
|
+
};
|
|
1111
|
+
|
|
1112
|
+
export declare function useStorefrontProducts(): {
|
|
1113
|
+
bikes: BikeProduct[];
|
|
1114
|
+
accessories: AccessoryProduct[];
|
|
1115
|
+
};
|
|
1116
|
+
|
|
1117
|
+
export declare function useStorefrontWorkspaceLanguage(): StorefrontI18nLanguage;
|
|
1118
|
+
|
|
1119
|
+
export { }
|