@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,292 @@
|
|
|
1
|
+
import { jsx as y, jsxs as _ } from "react/jsx-runtime";
|
|
2
|
+
import { Component as J, useRef as E, useState as B, useEffect as g } from "react";
|
|
3
|
+
import { COORDS as q } from "../static/strings-lR4Uv4ze.js";
|
|
4
|
+
import { cn as L } from "../lib/utils-B6zhukbw.js";
|
|
5
|
+
import { DEFAULT_MAP_SKELETON_COLOR as K } from "./constants-AiBwXZf6.js";
|
|
6
|
+
let M = null;
|
|
7
|
+
const U = async () => (M || (M = Promise.all([
|
|
8
|
+
// import("mapbox-gl/dist/esm-min/mapbox-gl.js"),
|
|
9
|
+
import("../_virtual/mapbox-gl-8G326Xvx.js").then((i) => i.m),
|
|
10
|
+
Promise.resolve({})
|
|
11
|
+
]).then(([i]) => i.default ?? i).catch((i) => {
|
|
12
|
+
throw M = null, i;
|
|
13
|
+
})), M), W = ({
|
|
14
|
+
mapboxToken: i,
|
|
15
|
+
initialCenter: l = q,
|
|
16
|
+
initialZoom: n = 11,
|
|
17
|
+
markers: c = [],
|
|
18
|
+
routeGeoJson: s,
|
|
19
|
+
polygonGeoJson: m,
|
|
20
|
+
routeEndpointsToFetch: C,
|
|
21
|
+
className: F,
|
|
22
|
+
style: k,
|
|
23
|
+
interactive: I = !0,
|
|
24
|
+
showNavigationControl: Z = !0,
|
|
25
|
+
cooperativeGestures: G = !0,
|
|
26
|
+
mapStyle: $ = "mapbox://styles/pr37capital/cmajla29i003901s9ex09hiw4",
|
|
27
|
+
onMapLoad: T,
|
|
28
|
+
onMapMoveOrZoom: S,
|
|
29
|
+
skeletonColor: H = K
|
|
30
|
+
}) => {
|
|
31
|
+
const v = E(null), w = E(null), [e, R] = B(null), j = E([]), A = E(n), [z, x] = B(null), [D, O] = B(!1), N = E(!1), P = L("relative overflow-clip w-full h-full", F);
|
|
32
|
+
return g(() => {
|
|
33
|
+
if (!v.current || e) return;
|
|
34
|
+
let o = !1, r = null;
|
|
35
|
+
return (async () => {
|
|
36
|
+
if (!i) {
|
|
37
|
+
x("Configuration carte manquante (token).");
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
try {
|
|
41
|
+
const a = await U();
|
|
42
|
+
if (o) return;
|
|
43
|
+
if (w.current = a, a.accessToken = i, !(typeof a.supported != "function" || a.supported({ failIfMajorPerformanceCaveat: !0 }))) {
|
|
44
|
+
x("La carte n'est pas supportée sur cet appareil.");
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
} catch (a) {
|
|
48
|
+
o || (console.error("Failed to load Mapbox GL:", a), x("La carte n'est pas supportée sur cet appareil."));
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
if (o || !w.current || !v.current) return;
|
|
52
|
+
v.current.hasChildNodes() && v.current.replaceChildren();
|
|
53
|
+
try {
|
|
54
|
+
r = new w.current.Map({
|
|
55
|
+
container: v.current,
|
|
56
|
+
style: $,
|
|
57
|
+
center: l,
|
|
58
|
+
zoom: n,
|
|
59
|
+
attributionControl: !1,
|
|
60
|
+
interactive: I,
|
|
61
|
+
cooperativeGestures: G,
|
|
62
|
+
pitchWithRotate: !1,
|
|
63
|
+
dragRotate: !1,
|
|
64
|
+
touchPitch: !1,
|
|
65
|
+
performanceMetricsCollection: !1
|
|
66
|
+
});
|
|
67
|
+
} catch (a) {
|
|
68
|
+
console.error("Failed to initialize Mapbox map:", a), x("Erreur lors du chargement de la carte.");
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
const t = r;
|
|
72
|
+
if (t.on("error", (a) => {
|
|
73
|
+
console.error("Mapbox map error event:", a?.error || a);
|
|
74
|
+
try {
|
|
75
|
+
t.remove();
|
|
76
|
+
} catch (f) {
|
|
77
|
+
console.error("Error removing failed map instance:", f);
|
|
78
|
+
}
|
|
79
|
+
R(null), x("Erreur lors du chargement de la carte.");
|
|
80
|
+
}), t.touchZoomRotate?.disableRotation?.(), Z) {
|
|
81
|
+
const a = new Y({ showCompass: !1 });
|
|
82
|
+
t.addControl(a, "bottom-right");
|
|
83
|
+
}
|
|
84
|
+
const d = () => {
|
|
85
|
+
N.current || (N.current = !0, O(!0));
|
|
86
|
+
};
|
|
87
|
+
t.on("load", () => {
|
|
88
|
+
R(t), T && T(t), typeof t.areTilesLoaded == "function" && t.areTilesLoaded() ? d() : t.once("idle", d);
|
|
89
|
+
});
|
|
90
|
+
})(), () => {
|
|
91
|
+
o = !0;
|
|
92
|
+
try {
|
|
93
|
+
r?.remove();
|
|
94
|
+
} catch (t) {
|
|
95
|
+
console.error("Error removing map instance on unmount:", t);
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
}, []), g(() => {
|
|
99
|
+
e || (O(!1), N.current = !1);
|
|
100
|
+
}, [e]), g(() => {
|
|
101
|
+
if (!e || !S) return;
|
|
102
|
+
const o = () => S(e);
|
|
103
|
+
return e.on("moveend", o), e.on("zoomend", o), () => {
|
|
104
|
+
e.off("moveend", o), e.off("zoomend", o);
|
|
105
|
+
};
|
|
106
|
+
}, [e, S]), g(() => {
|
|
107
|
+
e && n !== A.current && (e.setZoom(n), A.current = n);
|
|
108
|
+
}, [n, e]), g(() => {
|
|
109
|
+
const o = w.current;
|
|
110
|
+
!e || !o || (j.current.forEach((r) => r.remove()), j.current = [], c.forEach((r) => {
|
|
111
|
+
const t = {};
|
|
112
|
+
r.element ? t.element = r.element : t.color = r.color || "#3FB1CE", r.offset && (t.offset = r.offset);
|
|
113
|
+
const d = new o.Marker(t).setLngLat(r.coords).addTo(e);
|
|
114
|
+
if (r.popupHTML) {
|
|
115
|
+
const a = { offset: 25 };
|
|
116
|
+
r.popupCloseButton === !1 && (a.closeButton = !1);
|
|
117
|
+
const f = new o.Popup(a).setHTML(r.popupHTML);
|
|
118
|
+
let p;
|
|
119
|
+
const u = () => {
|
|
120
|
+
clearTimeout(p), f.isOpen() || f.setLngLat(r.coords).addTo(e);
|
|
121
|
+
}, h = () => {
|
|
122
|
+
p = setTimeout(() => {
|
|
123
|
+
f.remove();
|
|
124
|
+
}, 200);
|
|
125
|
+
};
|
|
126
|
+
d.getElement().addEventListener("mouseenter", u), d.getElement().addEventListener("mouseleave", h), f.on("open", () => {
|
|
127
|
+
const b = f.getElement();
|
|
128
|
+
b && (b.addEventListener("mouseenter", u), b.addEventListener("mouseleave", h));
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
j.current.push(d);
|
|
132
|
+
}));
|
|
133
|
+
}, [e, c]), g(() => {
|
|
134
|
+
if (!e || !e.isStyleLoaded()) return;
|
|
135
|
+
const o = "route-geojson-direct", r = "route-layer-direct";
|
|
136
|
+
e.getLayer(r) && e.removeLayer(r), e.getSource(o) && e.removeSource(o), s && (e.addSource(o, {
|
|
137
|
+
type: "geojson",
|
|
138
|
+
data: s
|
|
139
|
+
}), e.addLayer({
|
|
140
|
+
id: r,
|
|
141
|
+
type: "line",
|
|
142
|
+
source: o,
|
|
143
|
+
layout: { "line-join": "round", "line-cap": "round" },
|
|
144
|
+
paint: { "line-color": "#DB2777", "line-width": 5, "line-opacity": 0.75 }
|
|
145
|
+
}));
|
|
146
|
+
}, [e, s]), g(() => {
|
|
147
|
+
if (!e || !e.isStyleLoaded()) return;
|
|
148
|
+
const o = "polygon-data", r = "polygon-fill-layer", t = "polygon-line-layer";
|
|
149
|
+
e.getLayer(r) && e.removeLayer(r), e.getLayer(t) && e.removeLayer(t), e.getSource(o) && e.removeSource(o), m && (e.addSource(o, {
|
|
150
|
+
type: "geojson",
|
|
151
|
+
data: m
|
|
152
|
+
}), e.addLayer({
|
|
153
|
+
id: r,
|
|
154
|
+
type: "fill",
|
|
155
|
+
source: o,
|
|
156
|
+
paint: {
|
|
157
|
+
"fill-color": ["coalesce", ["get", "fill-color"], "#3b82f6"],
|
|
158
|
+
"fill-opacity": ["coalesce", ["get", "fill-opacity"], 0.2]
|
|
159
|
+
}
|
|
160
|
+
}), e.addLayer({
|
|
161
|
+
id: t,
|
|
162
|
+
type: "line",
|
|
163
|
+
source: o,
|
|
164
|
+
paint: {
|
|
165
|
+
"line-color": ["coalesce", ["get", "line-color"], "#3b82f6"],
|
|
166
|
+
"line-width": ["coalesce", ["get", "line-width"], 2]
|
|
167
|
+
}
|
|
168
|
+
}));
|
|
169
|
+
}, [e, m]), g(() => {
|
|
170
|
+
if (!e || !e.isStyleLoaded() || !C || C.coordinates.length < 2)
|
|
171
|
+
return;
|
|
172
|
+
const { profile: o = "cycling", coordinates: r } = C, t = "route-fetched", d = "route-layer-fetched";
|
|
173
|
+
return (async () => {
|
|
174
|
+
if (!i) return;
|
|
175
|
+
const a = r.map((p) => {
|
|
176
|
+
if (Array.isArray(p))
|
|
177
|
+
return p.join(",");
|
|
178
|
+
const u = p, h = typeof u.lng == "number" ? u.lng : typeof u.lon == "number" ? u.lon : void 0, b = typeof u.lat == "number" ? u.lat : void 0;
|
|
179
|
+
return typeof h != "number" || typeof b != "number" ? "" : `${h},${b}`;
|
|
180
|
+
}).filter(Boolean).join(";"), f = `https://api.mapbox.com/directions/v5/mapbox/${o}/${a}?geometries=geojson&access_token=${i}`;
|
|
181
|
+
try {
|
|
182
|
+
const p = await fetch(f);
|
|
183
|
+
if (!p.ok) {
|
|
184
|
+
const h = await p.text();
|
|
185
|
+
console.error(`Mapbox API responded with ${p.status}: ${h}`);
|
|
186
|
+
return;
|
|
187
|
+
}
|
|
188
|
+
const u = await p.json();
|
|
189
|
+
if (u.routes && u.routes.length > 0) {
|
|
190
|
+
const h = u.routes[0].geometry;
|
|
191
|
+
e.getLayer(d) && e.removeLayer(d), e.getSource(t) && e.removeSource(t), e.addSource(t, { type: "geojson", data: h }), e.addLayer({
|
|
192
|
+
id: d,
|
|
193
|
+
type: "line",
|
|
194
|
+
source: t,
|
|
195
|
+
layout: { "line-join": "round", "line-cap": "round" },
|
|
196
|
+
paint: { "line-color": "#3887be", "line-width": 5, "line-opacity": 0.75 }
|
|
197
|
+
});
|
|
198
|
+
} else
|
|
199
|
+
console.error("No routes found in Mapbox response.", u);
|
|
200
|
+
} catch (p) {
|
|
201
|
+
console.error("Failed to fetch route from Mapbox:", p);
|
|
202
|
+
}
|
|
203
|
+
})(), () => {
|
|
204
|
+
e && e.isStyleLoaded() && (e.getLayer(d) && e.removeLayer(d), e.getSource(t) && e.removeSource(t));
|
|
205
|
+
};
|
|
206
|
+
}, [e, C]), z ? /* @__PURE__ */ y("div", { className: P, style: k, children: /* @__PURE__ */ y("div", { className: L("flex h-full w-full items-center justify-center text-center text-sm text-gray-500"), children: z }) }) : /* @__PURE__ */ _("div", { className: P, style: k, children: [
|
|
207
|
+
/* @__PURE__ */ y(
|
|
208
|
+
"div",
|
|
209
|
+
{
|
|
210
|
+
"aria-hidden": "true",
|
|
211
|
+
className: L(
|
|
212
|
+
"absolute inset-0 transition-opacity duration-500 ease-out",
|
|
213
|
+
D ? "pointer-events-none opacity-0" : "opacity-100"
|
|
214
|
+
),
|
|
215
|
+
children: /* @__PURE__ */ y("div", { className: "h-full w-full", style: { backgroundColor: H } })
|
|
216
|
+
}
|
|
217
|
+
),
|
|
218
|
+
/* @__PURE__ */ y(
|
|
219
|
+
"div",
|
|
220
|
+
{
|
|
221
|
+
ref: v,
|
|
222
|
+
className: L(
|
|
223
|
+
"h-full w-full transition-opacity duration-500 ease-out",
|
|
224
|
+
D ? "opacity-100" : "pointer-events-none opacity-0"
|
|
225
|
+
)
|
|
226
|
+
}
|
|
227
|
+
)
|
|
228
|
+
] });
|
|
229
|
+
};
|
|
230
|
+
class X extends J {
|
|
231
|
+
constructor(l) {
|
|
232
|
+
super(l), this.state = { hasError: !1 };
|
|
233
|
+
}
|
|
234
|
+
static getDerivedStateFromError() {
|
|
235
|
+
return { hasError: !0 };
|
|
236
|
+
}
|
|
237
|
+
componentDidCatch(l, n) {
|
|
238
|
+
console.error("MapErrorBoundary caught an error:", l, n);
|
|
239
|
+
}
|
|
240
|
+
render() {
|
|
241
|
+
const l = L("overflow-clip w-full h-full", this.props.className);
|
|
242
|
+
return this.state.hasError ? /* @__PURE__ */ y("div", { className: l, style: this.props.style, children: /* @__PURE__ */ y("div", { className: L("flex h-full w-full items-center justify-center text-center text-sm text-gray-500"), children: "Erreur lors du chargement de la carte." }) }) : this.props.children;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
class Y {
|
|
246
|
+
constructor(l = {}) {
|
|
247
|
+
this.options = l;
|
|
248
|
+
}
|
|
249
|
+
container = null;
|
|
250
|
+
map = null;
|
|
251
|
+
compassIcon = null;
|
|
252
|
+
compassButton = null;
|
|
253
|
+
onAdd(l) {
|
|
254
|
+
this.map = l;
|
|
255
|
+
const n = document.createElement("div");
|
|
256
|
+
if (n.className = "mapboxgl-ctrl mapboxgl-ctrl-tailwind flex flex-col overflow-hidden divide-y divide-border/50 rounded-md border border-border/60 bg-background/55 text-sm text-foreground shadow-lg backdrop-blur", this.options.showZoom !== !1) {
|
|
257
|
+
const c = document.createElement("span");
|
|
258
|
+
c.textContent = "+", c.setAttribute("class", "text-lg leading-none"), n.appendChild(this.createButton("Zoomer", c, () => this.map?.zoomIn()));
|
|
259
|
+
const s = document.createElement("span");
|
|
260
|
+
s.textContent = "−", s.setAttribute("class", "text-lg leading-none"), n.appendChild(this.createButton("Dézoomer", s, () => this.map?.zoomOut()));
|
|
261
|
+
}
|
|
262
|
+
if (this.options.showCompass !== !1) {
|
|
263
|
+
const c = document.createElement("span");
|
|
264
|
+
c.setAttribute("class", "flex h-5 w-5 items-center justify-center text-primary"), c.innerHTML = '<svg viewBox="0 0 24 24" class="h-5 w-5"><path d="M12 3l3 8-8 3z" fill="currentColor"/><path d="M12 21l-3-8 8-3z" fill="currentColor" opacity="0.3"/></svg>', this.compassIcon = c;
|
|
265
|
+
const s = this.createButton("Réinitialiser l'orientation", c, () => this.map?.resetNorth());
|
|
266
|
+
this.compassButton = s, n.appendChild(s), this.updateCompassRotation(), this.map.on("rotate", this.updateCompassRotation), this.map.on("pitch", this.updateCompassRotation);
|
|
267
|
+
}
|
|
268
|
+
return this.container = n, n;
|
|
269
|
+
}
|
|
270
|
+
onRemove() {
|
|
271
|
+
this.map && (this.map.off("rotate", this.updateCompassRotation), this.map.off("pitch", this.updateCompassRotation)), this.compassIcon = null, this.compassButton = null, this.container?.remove(), this.container = null, this.map = null;
|
|
272
|
+
}
|
|
273
|
+
createButton(l, n, c) {
|
|
274
|
+
const s = document.createElement("button");
|
|
275
|
+
return s.type = "button", s.setAttribute("aria-label", l), s.className = "flex h-10 w-10 items-center justify-center transition-colors hover:bg-primary/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/60 focus-visible:ring-offset-2 focus-visible:ring-offset-background", s.appendChild(n), s.addEventListener("click", (m) => {
|
|
276
|
+
m.preventDefault(), c();
|
|
277
|
+
}), s.addEventListener("keydown", (m) => {
|
|
278
|
+
(m.key === "Enter" || m.key === " ") && (m.preventDefault(), c());
|
|
279
|
+
}), s;
|
|
280
|
+
}
|
|
281
|
+
updateCompassRotation = () => {
|
|
282
|
+
if (!this.map || !this.compassIcon || !this.compassButton) return;
|
|
283
|
+
const l = this.map.getBearing(), n = this.map.getPitch();
|
|
284
|
+
this.compassIcon.style.transform = `rotate(${-l}deg)`;
|
|
285
|
+
const c = Math.abs(l) < 0.01 && Math.abs(n) < 0.01;
|
|
286
|
+
this.compassButton.classList.toggle("opacity-60", c);
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
const re = (i) => /* @__PURE__ */ y(X, { className: i.className, style: i.style, children: /* @__PURE__ */ y(W, { ...i }) });
|
|
290
|
+
export {
|
|
291
|
+
re as default
|
|
292
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsx as e, jsxs as y } from "react/jsx-runtime";
|
|
2
|
+
import { lazy as b, useRef as N, useState as h, useEffect as k, Suspense as C } from "react";
|
|
3
|
+
import { cn as E } from "./lib/utils-B6zhukbw.js";
|
|
4
|
+
import { isAutomationRuntime as I } from "./lib/isAutomationRuntime-Cu2aNI6_.js";
|
|
5
|
+
import { DEFAULT_MAP_SKELETON_COLOR as f } from "./Map/constants-AiBwXZf6.js";
|
|
6
|
+
const x = ({ className: t, style: n, color: o }) => /* @__PURE__ */ y("div", { className: E("relative overflow-clip w-full h-full", t), style: n, children: [
|
|
7
|
+
/* @__PURE__ */ e(
|
|
8
|
+
"div",
|
|
9
|
+
{
|
|
10
|
+
"aria-hidden": "true",
|
|
11
|
+
className: "absolute inset-0 transition-opacity duration-500 ease-out opacity-100",
|
|
12
|
+
children: /* @__PURE__ */ e("div", { className: "h-full w-full", style: { backgroundColor: o ?? f } })
|
|
13
|
+
}
|
|
14
|
+
),
|
|
15
|
+
/* @__PURE__ */ e("div", { className: "h-full w-full transition-opacity duration-500 ease-out pointer-events-none opacity-0" })
|
|
16
|
+
] }), O = b(() => import("./Map/MapContent-BqCzk6pD.js")), A = (t) => {
|
|
17
|
+
const n = N(null), [o, p] = h(!1);
|
|
18
|
+
k(() => {
|
|
19
|
+
if (I())
|
|
20
|
+
return;
|
|
21
|
+
let u = !1, s = null, r = null, i = null;
|
|
22
|
+
const a = () => {
|
|
23
|
+
u || p(!0);
|
|
24
|
+
}, w = () => {
|
|
25
|
+
const l = window;
|
|
26
|
+
l.requestIdleCallback ? r = l.requestIdleCallback(a, { timeout: 4e3 }) : i = window.setTimeout(a, 4e3);
|
|
27
|
+
}, d = () => {
|
|
28
|
+
if (o) return;
|
|
29
|
+
const l = n.current;
|
|
30
|
+
"IntersectionObserver" in window && l && (s = new IntersectionObserver((v) => {
|
|
31
|
+
v.some((m) => m.isIntersecting || m.intersectionRatio > 0) && (a(), s?.disconnect());
|
|
32
|
+
}, { rootMargin: "400px 0px" }), s.observe(l)), w();
|
|
33
|
+
};
|
|
34
|
+
return document.readyState === "complete" ? d() : window.addEventListener("load", d, { once: !0 }), () => {
|
|
35
|
+
u = !0, s?.disconnect(), r !== null && window.cancelIdleCallback?.(r), i && clearTimeout(i);
|
|
36
|
+
};
|
|
37
|
+
}, [o]);
|
|
38
|
+
const c = /* @__PURE__ */ e(
|
|
39
|
+
x,
|
|
40
|
+
{
|
|
41
|
+
className: t.className,
|
|
42
|
+
style: t.style,
|
|
43
|
+
color: t.skeletonColor ?? f
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
return /* @__PURE__ */ e("div", { ref: n, children: /* @__PURE__ */ e(C, { fallback: c, children: o ? /* @__PURE__ */ e(O, { ...t }) : c }) });
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
A as Map
|
|
50
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import { createContext as o, useContext as r } from "react";
|
|
3
|
+
import "./Button-CEl4MEmL.js";
|
|
4
|
+
import "./Dialog-COr6fnKd.js";
|
|
5
|
+
import "./node_modules/@base-ui/react/esm/scroll-area/root/ScrollAreaRoot-Cw_gyhhI.js";
|
|
6
|
+
import "./node_modules/@base-ui/react/esm/scroll-area/viewport/ScrollAreaViewport-CadjBxEp.js";
|
|
7
|
+
import "./node_modules/@base-ui/react/esm/scroll-area/corner/ScrollAreaCorner-z0cNScNF.js";
|
|
8
|
+
import "./node_modules/@base-ui/react/esm/scroll-area/scrollbar/ScrollAreaScrollbar-DGyLPhKe.js";
|
|
9
|
+
import "./node_modules/@base-ui/react/esm/scroll-area/thumb/ScrollAreaThumb-08Mmzry4.js";
|
|
10
|
+
import "./node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion-Cc0tLlFf.js";
|
|
11
|
+
import "./node_modules/motion-dom/dist/es/value/types/color/rgba-BIy7YqPw.js";
|
|
12
|
+
import "./node_modules/motion-dom/dist/es/value/types/numbers/index-CWjqASeJ.js";
|
|
13
|
+
import "./node_modules/motion-dom/dist/es/value/types/numbers/units-DNXf-Ngr.js";
|
|
14
|
+
import "./node_modules/motion-dom/dist/es/value/types/complex/filter-AXB6Rjjs.js";
|
|
15
|
+
import "./node_modules/motion-dom/dist/es/value/types/complex/mask-AXB6Rjjs.js";
|
|
16
|
+
import "./node_modules/motion-dom/dist/es/value/types/int-CwcJvGhp.js";
|
|
17
|
+
import "./node_modules/motion-utils/dist/es/errors-CBdvTtJZ.js";
|
|
18
|
+
import "./node_modules/framer-motion/dist/es/context/LayoutGroupContext-BWutRI4l.js";
|
|
19
|
+
import "./node_modules/framer-motion/dist/es/context/LazyContext-yIDUGdfR.js";
|
|
20
|
+
import "./node_modules/framer-motion/dist/es/context/MotionConfigContext-C3EPauom.js";
|
|
21
|
+
import "./node_modules/framer-motion/dist/es/render/dom/utils/filter-props-DZcjZ2yt.js";
|
|
22
|
+
import "./node_modules/framer-motion/dist/es/animation/optimized-appear/data-id-DunDwGdX.js";
|
|
23
|
+
import "./node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext-BWutRI4l.js";
|
|
24
|
+
import "./node_modules/framer-motion/dist/es/projection/node/create-projection-node-BDwaGtmx.js";
|
|
25
|
+
import "./node_modules/lucide-react/dist/esm/icons/arrow-left-asE1l_Qw.js";
|
|
26
|
+
import "./node_modules/lucide-react/dist/esm/icons/x-Cdi8GS7U.js";
|
|
27
|
+
const t = o(null), k = () => r(t);
|
|
28
|
+
export {
|
|
29
|
+
k as useMorphingModalWizardOverlayLayer
|
|
30
|
+
};
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { jsx as o, jsxs as R } from "react/jsx-runtime";
|
|
2
|
+
import * as i from "react";
|
|
3
|
+
import { DialogTrigger as h, DialogClose as w, DialogContent as b, DialogTitle as y, DialogDescription as M, Dialog as E, DialogHeader as O, DialogFooter as T } from "./Dialog-COr6fnKd.js";
|
|
4
|
+
import { DrawerTrigger as I, DrawerClose as N, DrawerContent as _, DrawerTitle as x, DrawerDescription as $, Drawer as H, DrawerHeader as P, DrawerFooter as k } from "./Drawer/index-BxM7gmh_.js";
|
|
5
|
+
import { useMediaQuery as B } from "./lib/useMediaQuery-DhKGnWgn.js";
|
|
6
|
+
import { cn as m } from "./lib/utils-B6zhukbw.js";
|
|
7
|
+
import L from "./node_modules/lucide-react/dist/esm/icons/x-Cdi8GS7U.js";
|
|
8
|
+
const S = 639, j = `(max-width: ${S}px)`, C = i.createContext(null);
|
|
9
|
+
function n(e) {
|
|
10
|
+
const s = i.useContext(C);
|
|
11
|
+
if (!s)
|
|
12
|
+
throw new Error(`${e} must be used within ResponsiveDialog.`);
|
|
13
|
+
return s;
|
|
14
|
+
}
|
|
15
|
+
function z({
|
|
16
|
+
children: e,
|
|
17
|
+
defaultOpen: s,
|
|
18
|
+
drawerProps: a,
|
|
19
|
+
forceMobile: f,
|
|
20
|
+
mobileBreakpoint: D = j,
|
|
21
|
+
modal: d,
|
|
22
|
+
onOpenChange: u,
|
|
23
|
+
open: r
|
|
24
|
+
}) {
|
|
25
|
+
const v = B(D), p = f ?? v, [g, l] = i.useState(s ?? !1);
|
|
26
|
+
i.useEffect(() => {
|
|
27
|
+
r !== void 0 && l(r);
|
|
28
|
+
}, [r]);
|
|
29
|
+
const t = { modal: d, onOpenChange: (c) => {
|
|
30
|
+
r === void 0 && l(c), u?.(c);
|
|
31
|
+
}, open: r ?? g };
|
|
32
|
+
return /* @__PURE__ */ o(C.Provider, { value: { isMobile: p }, children: p ? /* @__PURE__ */ o(H, { ...t, ...a, children: e }) : /* @__PURE__ */ o(E, { ...t, children: e }) });
|
|
33
|
+
}
|
|
34
|
+
const A = i.forwardRef((e, s) => {
|
|
35
|
+
const { isMobile: a } = n("ResponsiveDialogTrigger");
|
|
36
|
+
return a ? /* @__PURE__ */ o(
|
|
37
|
+
I,
|
|
38
|
+
{
|
|
39
|
+
ref: s,
|
|
40
|
+
...e
|
|
41
|
+
}
|
|
42
|
+
) : /* @__PURE__ */ o(h, { ref: s, ...e });
|
|
43
|
+
});
|
|
44
|
+
A.displayName = "ResponsiveDialogTrigger";
|
|
45
|
+
const F = i.forwardRef((e, s) => {
|
|
46
|
+
const { isMobile: a } = n("ResponsiveDialogClose");
|
|
47
|
+
return a ? /* @__PURE__ */ o(
|
|
48
|
+
N,
|
|
49
|
+
{
|
|
50
|
+
ref: s,
|
|
51
|
+
...e
|
|
52
|
+
}
|
|
53
|
+
) : /* @__PURE__ */ o(w, { ref: s, ...e });
|
|
54
|
+
});
|
|
55
|
+
F.displayName = "ResponsiveDialogClose";
|
|
56
|
+
const V = i.forwardRef(({
|
|
57
|
+
children: e,
|
|
58
|
+
className: s,
|
|
59
|
+
desktopClassName: a,
|
|
60
|
+
dialogContentProps: f,
|
|
61
|
+
desktopOverlayClassName: D,
|
|
62
|
+
mobileClassName: d,
|
|
63
|
+
mobileOverlayClassName: u,
|
|
64
|
+
overlayClassName: r,
|
|
65
|
+
showCloseButton: v,
|
|
66
|
+
drawerContentProps: p,
|
|
67
|
+
...g
|
|
68
|
+
}, l) => {
|
|
69
|
+
const { isMobile: t } = n("ResponsiveDialogContent"), c = v ?? !t;
|
|
70
|
+
return t ? /* @__PURE__ */ o(
|
|
71
|
+
_,
|
|
72
|
+
{
|
|
73
|
+
ref: l,
|
|
74
|
+
className: m(s, d),
|
|
75
|
+
overlayClassName: m(r, u),
|
|
76
|
+
...g,
|
|
77
|
+
...p,
|
|
78
|
+
children: /* @__PURE__ */ R("div", { className: "relative", children: [
|
|
79
|
+
e,
|
|
80
|
+
c ? /* @__PURE__ */ o(N, { asChild: !0, children: /* @__PURE__ */ R(
|
|
81
|
+
"button",
|
|
82
|
+
{
|
|
83
|
+
type: "button",
|
|
84
|
+
className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
85
|
+
children: [
|
|
86
|
+
/* @__PURE__ */ o(L, { className: "h-4 w-4" }),
|
|
87
|
+
/* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
) }) : null
|
|
91
|
+
] })
|
|
92
|
+
}
|
|
93
|
+
) : /* @__PURE__ */ o(
|
|
94
|
+
b,
|
|
95
|
+
{
|
|
96
|
+
ref: l,
|
|
97
|
+
className: m(s, a),
|
|
98
|
+
overlayClassName: m(r, D),
|
|
99
|
+
showCloseButton: c,
|
|
100
|
+
...g,
|
|
101
|
+
...f,
|
|
102
|
+
children: e
|
|
103
|
+
}
|
|
104
|
+
);
|
|
105
|
+
});
|
|
106
|
+
V.displayName = "ResponsiveDialogContent";
|
|
107
|
+
function J({
|
|
108
|
+
className: e,
|
|
109
|
+
...s
|
|
110
|
+
}) {
|
|
111
|
+
const { isMobile: a } = n("ResponsiveDialogHeader");
|
|
112
|
+
return a ? /* @__PURE__ */ o(P, { className: e, ...s }) : /* @__PURE__ */ o(O, { className: e, ...s });
|
|
113
|
+
}
|
|
114
|
+
function K({
|
|
115
|
+
className: e,
|
|
116
|
+
...s
|
|
117
|
+
}) {
|
|
118
|
+
const { isMobile: a } = n("ResponsiveDialogFooter");
|
|
119
|
+
return a ? /* @__PURE__ */ o(k, { className: e, ...s }) : /* @__PURE__ */ o(T, { className: e, ...s });
|
|
120
|
+
}
|
|
121
|
+
const G = i.forwardRef((e, s) => {
|
|
122
|
+
const { isMobile: a } = n("ResponsiveDialogTitle");
|
|
123
|
+
return a ? /* @__PURE__ */ o(
|
|
124
|
+
x,
|
|
125
|
+
{
|
|
126
|
+
ref: s,
|
|
127
|
+
...e
|
|
128
|
+
}
|
|
129
|
+
) : /* @__PURE__ */ o(y, { ref: s, ...e });
|
|
130
|
+
});
|
|
131
|
+
G.displayName = "ResponsiveDialogTitle";
|
|
132
|
+
const U = i.forwardRef((e, s) => {
|
|
133
|
+
const { isMobile: a } = n("ResponsiveDialogDescription");
|
|
134
|
+
return a ? /* @__PURE__ */ o(
|
|
135
|
+
$,
|
|
136
|
+
{
|
|
137
|
+
ref: s,
|
|
138
|
+
...e
|
|
139
|
+
}
|
|
140
|
+
) : /* @__PURE__ */ o(M, { ref: s, ...e });
|
|
141
|
+
});
|
|
142
|
+
U.displayName = "ResponsiveDialogDescription";
|
|
143
|
+
export {
|
|
144
|
+
S as RESPONSIVE_DIALOG_MOBILE_MAX_WIDTH,
|
|
145
|
+
j as RESPONSIVE_DIALOG_MOBILE_MEDIA_QUERY,
|
|
146
|
+
z as ResponsiveDialog,
|
|
147
|
+
F as ResponsiveDialogClose,
|
|
148
|
+
V as ResponsiveDialogContent,
|
|
149
|
+
U as ResponsiveDialogDescription,
|
|
150
|
+
K as ResponsiveDialogFooter,
|
|
151
|
+
J as ResponsiveDialogHeader,
|
|
152
|
+
G as ResponsiveDialogTitle,
|
|
153
|
+
A as ResponsiveDialogTrigger
|
|
154
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsxs as s, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { cn as t } from "./lib/utils-B6zhukbw.js";
|
|
3
|
+
import { ScrollAreaRoot as n } from "./node_modules/@base-ui/react/esm/scroll-area/root/ScrollAreaRoot-Cw_gyhhI.js";
|
|
4
|
+
import { ScrollAreaViewport as c } from "./node_modules/@base-ui/react/esm/scroll-area/viewport/ScrollAreaViewport-CadjBxEp.js";
|
|
5
|
+
import { ScrollAreaCorner as m } from "./node_modules/@base-ui/react/esm/scroll-area/corner/ScrollAreaCorner-z0cNScNF.js";
|
|
6
|
+
import { ScrollAreaScrollbar as d } from "./node_modules/@base-ui/react/esm/scroll-area/scrollbar/ScrollAreaScrollbar-DGyLPhKe.js";
|
|
7
|
+
import { ScrollAreaThumb as f } from "./node_modules/@base-ui/react/esm/scroll-area/thumb/ScrollAreaThumb-08Mmzry4.js";
|
|
8
|
+
function A({
|
|
9
|
+
className: l,
|
|
10
|
+
children: r,
|
|
11
|
+
type: a,
|
|
12
|
+
...i
|
|
13
|
+
}) {
|
|
14
|
+
return /* @__PURE__ */ s(
|
|
15
|
+
n,
|
|
16
|
+
{
|
|
17
|
+
"data-slot": "scroll-area",
|
|
18
|
+
className: t("relative", l),
|
|
19
|
+
...i,
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ o(
|
|
22
|
+
c,
|
|
23
|
+
{
|
|
24
|
+
"data-slot": "scroll-area-viewport",
|
|
25
|
+
className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
|
|
26
|
+
children: r
|
|
27
|
+
}
|
|
28
|
+
),
|
|
29
|
+
/* @__PURE__ */ o(e, {}),
|
|
30
|
+
/* @__PURE__ */ o(e, { orientation: "horizontal" }),
|
|
31
|
+
/* @__PURE__ */ o(m, {})
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
function e({
|
|
37
|
+
className: l,
|
|
38
|
+
orientation: r = "vertical",
|
|
39
|
+
...a
|
|
40
|
+
}) {
|
|
41
|
+
return /* @__PURE__ */ o(
|
|
42
|
+
d,
|
|
43
|
+
{
|
|
44
|
+
"data-slot": "scroll-area-scrollbar",
|
|
45
|
+
orientation: r,
|
|
46
|
+
"data-orientation": r,
|
|
47
|
+
className: t(
|
|
48
|
+
"flex touch-none p-px transition-colors select-none",
|
|
49
|
+
r === "vertical" && "h-full w-2.5 border-l border-l-transparent",
|
|
50
|
+
r === "horizontal" && "h-2.5 flex-col border-t border-t-transparent",
|
|
51
|
+
l
|
|
52
|
+
),
|
|
53
|
+
...a,
|
|
54
|
+
children: /* @__PURE__ */ o(
|
|
55
|
+
f,
|
|
56
|
+
{
|
|
57
|
+
"data-slot": "scroll-area-thumb",
|
|
58
|
+
className: "bg-border relative flex-1 rounded-full"
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
export {
|
|
65
|
+
A as ScrollArea,
|
|
66
|
+
e as ScrollBar
|
|
67
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsx as u, Fragment as y } from "react/jsx-runtime";
|
|
2
|
+
import * as r from "react";
|
|
3
|
+
const d = "data-rb-ssr-hydratable-portal";
|
|
4
|
+
function m(t) {
|
|
5
|
+
if (typeof document > "u") return !1;
|
|
6
|
+
const e = Array.from(
|
|
7
|
+
document.querySelectorAll("[" + d + "]")
|
|
8
|
+
);
|
|
9
|
+
return e.some((o) => o.getAttribute(d) === t) || e.length > 0;
|
|
10
|
+
}
|
|
11
|
+
function i(t, e) {
|
|
12
|
+
return typeof t == "function" ? t(e) : t;
|
|
13
|
+
}
|
|
14
|
+
function b({
|
|
15
|
+
children: t,
|
|
16
|
+
enabled: e,
|
|
17
|
+
inline: o,
|
|
18
|
+
keepMounted: c
|
|
19
|
+
}) {
|
|
20
|
+
const a = r.useId(), [l] = r.useState(() => typeof window > "u" ? !0 : m(a)), [n, f] = r.useState(() => typeof window > "u" ? !1 : !l);
|
|
21
|
+
if (r.useEffect(() => {
|
|
22
|
+
n || f(!0);
|
|
23
|
+
}, [n]), !e && !c) return null;
|
|
24
|
+
const s = {
|
|
25
|
+
isInline: !n,
|
|
26
|
+
shouldUsePortal: n,
|
|
27
|
+
wasHydratedFromInline: l
|
|
28
|
+
};
|
|
29
|
+
return n ? /* @__PURE__ */ u(y, { children: t ? i(t, s) : null }) : /* @__PURE__ */ u(
|
|
30
|
+
"div",
|
|
31
|
+
{
|
|
32
|
+
"data-rb-ssr-hydratable-portal": a,
|
|
33
|
+
style: { display: "contents" },
|
|
34
|
+
children: i(o, s)
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
b as SsrHydratablePortal
|
|
40
|
+
};
|