@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.
Files changed (491) hide show
  1. package/dist/BookingPage.d.ts +6 -0
  2. package/dist/CheckoutPage.d.ts +6 -0
  3. package/dist/CheckoutPaymentPage.d.ts +6 -0
  4. package/dist/CheckoutSuccessPage.d.ts +6 -0
  5. package/dist/ContractSaleDocumentPage.d.ts +116 -0
  6. package/dist/ErrorPage.d.ts +6 -0
  7. package/dist/HomePage.d.ts +6 -0
  8. package/dist/I18nProvider.d.ts +23 -0
  9. package/dist/NotFoundPage.d.ts +6 -0
  10. package/dist/PaymentLinkPage.d.ts +40 -0
  11. package/dist/PaymentLinkSuccessPage.d.ts +40 -0
  12. package/dist/ProductPage.d.ts +6 -0
  13. package/dist/StorefrontProvider.d.ts +1119 -0
  14. package/dist/StorefrontProvider.js +95 -0
  15. package/dist/accessories.d.ts +42 -0
  16. package/dist/apiCall.d.ts +7 -0
  17. package/dist/badge.d.ts +14 -0
  18. package/dist/bikes.d.ts +107 -0
  19. package/dist/booking-period-time-slots.d.ts +279 -0
  20. package/dist/booking-period.d.ts +173 -0
  21. package/dist/booking.d.ts +384 -0
  22. package/dist/button.d.ts +16 -0
  23. package/dist/card.d.ts +18 -0
  24. package/dist/cart.d.ts +30 -0
  25. package/dist/cartSummary.d.ts +205 -0
  26. package/dist/checkoutPaymentDecision.d.ts +48 -0
  27. package/dist/checkoutPaymentSession.d.ts +65 -0
  28. package/dist/checkoutSubmit.d.ts +61 -0
  29. package/dist/checkoutVerifyCoupon.d.ts +45 -0
  30. package/dist/chunks/assets/dev.svg-jGkd1F38.js +4 -0
  31. package/dist/chunks/assets/playground-hero-preview.svg-DNbSwXV5.js +4 -0
  32. package/dist/chunks/assets/whatsapp.svg-grlzka-t.js +4 -0
  33. package/dist/chunks/node_modules/react-day-picker/dist/esm/components/DayButton-D9KJeDKs.js +10 -0
  34. package/dist/chunks/pkg/booking-engine/dist/models/LocalizedString--6q77SPQ.js +36 -0
  35. package/dist/chunks/pkg/booking-engine/dist/models/Price-BlFRDHXV.js +13 -0
  36. package/dist/chunks/pkg/booking-engine/dist/models/Product.shared-BiDGmurZ.js +85 -0
  37. package/dist/chunks/pkg/booking-engine/dist/models/types-DLcvzW5b.js +13 -0
  38. package/dist/chunks/pkg/booking-engine/dist/schemas/base-asset-GJ9eIvIL.js +18 -0
  39. package/dist/chunks/pkg/booking-engine/dist/schemas/base-booking-D9k8ehGi.js +75 -0
  40. package/dist/chunks/pkg/booking-engine/dist/schemas/booking-engine-configuration-CnBdp3jk.js +104 -0
  41. package/dist/chunks/pkg/booking-engine/dist/schemas/cart-inputs-DYgEGJ5M.js +73 -0
  42. package/dist/chunks/pkg/booking-engine/dist/schemas/money-Dy4b9loa.js +23 -0
  43. package/dist/chunks/pkg/booking-engine/dist/schemas/public-booking-engine-configuration-C9VB-WhU.js +17 -0
  44. package/dist/chunks/pkg/booking-engine/dist/schemas/rich-text-CqXhNDN3.js +15 -0
  45. package/dist/chunks/pkg/booking-engine/dist/schemas/shop-opening-hours-B47MMaoD.js +45 -0
  46. package/dist/chunks/pkg/booking-engine/dist/utils/pricing-DcnUXaeI.js +36 -0
  47. package/dist/chunks/pkg/ui/dist/Button-CEl4MEmL.js +44 -0
  48. package/dist/chunks/pkg/ui/dist/Dialog-COr6fnKd.js +283 -0
  49. package/dist/chunks/pkg/ui/dist/Drawer/index-BxM7gmh_.js +226 -0
  50. package/dist/chunks/pkg/ui/dist/Map/MapContent-BqCzk6pD.js +292 -0
  51. package/dist/chunks/pkg/ui/dist/Map/constants-AiBwXZf6.js +4 -0
  52. package/dist/chunks/pkg/ui/dist/Map-Cqn7INdm.js +50 -0
  53. package/dist/chunks/pkg/ui/dist/MorphingModalWizard-D7hc-dDP.js +30 -0
  54. package/dist/chunks/pkg/ui/dist/ResponsiveDialog-D8YzB_3J.js +154 -0
  55. package/dist/chunks/pkg/ui/dist/ScrollArea-D9UdixQL.js +67 -0
  56. package/dist/chunks/pkg/ui/dist/SsrHydratablePortal/index-Ue09qUAi.js +40 -0
  57. package/dist/chunks/pkg/ui/dist/_virtual/_commonjsHelpers-W3dGiUWw.js +6 -0
  58. package/dist/chunks/pkg/ui/dist/_virtual/index-C9tmbAjU.js +5 -0
  59. package/dist/chunks/pkg/ui/dist/_virtual/index2-Cr2SmWQI.js +4 -0
  60. package/dist/chunks/pkg/ui/dist/_virtual/mapbox-gl-8G326Xvx.js +27 -0
  61. package/dist/chunks/pkg/ui/dist/_virtual/mapbox-gl2-CffgHKjA.js +4 -0
  62. package/dist/chunks/pkg/ui/dist/_virtual/use-sync-external-store-shim.development-DmH-ks33.js +4 -0
  63. package/dist/chunks/pkg/ui/dist/_virtual/use-sync-external-store-shim.production-BjPWYSZb.js +4 -0
  64. package/dist/chunks/pkg/ui/dist/_virtual/with-selector-BTwk-iW5.js +5 -0
  65. package/dist/chunks/pkg/ui/dist/_virtual/with-selector.development-DmH-ks33.js +4 -0
  66. package/dist/chunks/pkg/ui/dist/_virtual/with-selector.production-xTL6w2lb.js +4 -0
  67. package/dist/chunks/pkg/ui/dist/_virtual/with-selector2-Cr2SmWQI.js +4 -0
  68. package/dist/chunks/pkg/ui/dist/lib/body-pointer-events-CyPsDvc9.js +16 -0
  69. package/dist/chunks/pkg/ui/dist/lib/isAutomationRuntime-Cu2aNI6_.js +5 -0
  70. package/dist/chunks/pkg/ui/dist/lib/slot-CklkPb7k.js +50 -0
  71. package/dist/chunks/pkg/ui/dist/lib/useMediaQuery-DhKGnWgn.js +20 -0
  72. package/dist/chunks/pkg/ui/dist/lib/utils-B6zhukbw.js +8 -0
  73. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/csp-provider/CSPContext-9LViUOEN.js +13 -0
  74. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/backdrop/DialogBackdrop-dfhPbhun.js +40 -0
  75. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/close/DialogClose-CiEiuP0S.js +41 -0
  76. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/description/DialogDescription-C793yEmX.js +25 -0
  77. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/popup/DialogPopup-Ce1MaHNd.js +80 -0
  78. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/popup/DialogPopupCssVars-Bt8y0AZk.js +6 -0
  79. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/popup/DialogPopupDataAttributes-C1piwkT4.js +7 -0
  80. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/portal/DialogPortal-DCoXyUCa.js +30 -0
  81. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/portal/DialogPortalContext-CtWBuvRl.js +14 -0
  82. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/root/DialogRoot-DYrthiUT.js +64 -0
  83. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/root/DialogRootContext-D__rrg4-.js +14 -0
  84. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/root/useDialogRoot-Dmki7CJG.js +81 -0
  85. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/store/DialogStore-ltMcMpnh.js +69 -0
  86. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/title/DialogTitle-BYe_-O2U.js +25 -0
  87. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/trigger/DialogTrigger-CDsWAaqd.js +56 -0
  88. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/viewport/DialogViewport-CoAyzYQs.js +54 -0
  89. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/dialog/viewport/DialogViewportDataAttributes-C_9BMPUj.js +7 -0
  90. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/backdrop/DrawerBackdrop-BqcC6xGK.js +45 -0
  91. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/backdrop/DrawerBackdropCssVars-BtzwweRf.js +6 -0
  92. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/close/DrawerClose-K9toitLg.js +5 -0
  93. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/content/DrawerContent-DAER5HEH.js +22 -0
  94. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/content/DrawerContentDataAttributes-CpDnPAXP.js +4 -0
  95. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/description/DrawerDescription-CmzTECJs.js +5 -0
  96. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/popup/DrawerPopup-BXOe4Llu.js +241 -0
  97. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/popup/DrawerPopupCssVars-Ct685Bcm.js +6 -0
  98. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/popup/DrawerPopupDataAttributes-BsZri5W4.js +7 -0
  99. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/portal/DrawerPortal-BfTFM1p8.js +5 -0
  100. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/provider/DrawerProviderContext-euW_U5h8.js +10 -0
  101. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/root/DrawerRoot-DuO16Hl3.js +148 -0
  102. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/root/DrawerRootContext-Cyaf-7qv.js +14 -0
  103. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/root/useDrawerSnapPoints-CVbKGPMi.js +105 -0
  104. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/title/DrawerTitle-DPojAJP6.js +5 -0
  105. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/trigger/DrawerTrigger-BKWBskBD.js +5 -0
  106. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/viewport/DrawerViewport-BA1WyQud.js +593 -0
  107. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/drawer/viewport/DrawerViewportContext-xR35hPcl.js +10 -0
  108. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingFocusManager-B-v_gyUI.js +264 -0
  109. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingPortal-6JOqLjHM.js +129 -0
  110. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingRootStore-D8M2d4pp.js +74 -0
  111. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingTree-BJGeWpX5.js +15 -0
  112. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useClick-C3V1YAJN.js +68 -0
  113. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useDismiss-BzvyAPc1.js +265 -0
  114. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useInteractions-BWCpGAad.js +48 -0
  115. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useRole-DfMbRaU2.js +76 -0
  116. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useSyncedFloatingRootContext-Cczfd0Dg.js +35 -0
  117. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/composite-keZdnJD9.js +11 -0
  118. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/constants-B-72x4uQ.js +7 -0
  119. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/createAttribute-DQjmnndx.js +6 -0
  120. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/createEventEmitter-156NFNq-.js +17 -0
  121. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/element-7_beKIST.js +29 -0
  122. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/enqueueFocus-BoxfANJQ.js +22 -0
  123. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/event-BJf3Eroa.js +29 -0
  124. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/getEmptyRootContext-AtxQDZdS.js +18 -0
  125. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/markOthers-im_zgP9x.js +80 -0
  126. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/nodes-BbaFB8UD.js +15 -0
  127. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/tabbable-BUkXLKOZ.js +140 -0
  128. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/clamp--orC6ThW.js +6 -0
  129. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/composite/composite-Bl9mbNwg.js +14 -0
  130. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/composite/root/CompositeRootContext-hBCEpdkp.js +14 -0
  131. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/constants-DrTrmCr_.js +12 -0
  132. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/createBaseUIEventDetails-WO93mcXE.js +26 -0
  133. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/direction-context/DirectionContext-DHsnfCgz.js +10 -0
  134. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/getStateAttributesProps-rQvCQegA.js +16 -0
  135. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/reason-parts-DKJ_-O8k.js +13 -0
  136. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/shadowDom-DTBRPFkJ.js +31 -0
  137. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/stateAttributesMapping-B17IMmGk.js +16 -0
  138. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/use-button/useButton-CW30d95j.js +113 -0
  139. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/useAnimationsFinished-B8I0rTuq.js +54 -0
  140. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/useBaseUiId-BhlhP3ZP.js +7 -0
  141. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/useOpenChangeComplete-Doxu2x_W.js +22 -0
  142. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/useRenderElement-CktkgllD.js +71 -0
  143. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/useTransitionStatus-D7bNijs9.js +42 -0
  144. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/internals/useValueChanged-DNmBrXYR.js +14 -0
  145. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/merge-props/mergeProps-taN4tP1i.js +102 -0
  146. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/constants-BMXX3oM8.js +5 -0
  147. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/corner/ScrollAreaCorner-z0cNScNF.js +31 -0
  148. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/root/ScrollAreaRoot-Cw_gyhhI.js +166 -0
  149. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/root/ScrollAreaRootContext-CQVTL1yg.js +14 -0
  150. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/root/ScrollAreaRootCssVars-UMzfvqzf.js +6 -0
  151. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/root/ScrollAreaRootDataAttributes-DYAeFs1E.js +6 -0
  152. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/root/stateAttributes-e5OzHsp_.js +25 -0
  153. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/scrollbar/ScrollAreaScrollbar-DGyLPhKe.js +132 -0
  154. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/scrollbar/ScrollAreaScrollbarContext-Cn2tB9KX.js +14 -0
  155. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/scrollbar/ScrollAreaScrollbarCssVars-CVtQQfDD.js +6 -0
  156. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/scrollbar/ScrollAreaScrollbarDataAttributes-CcesYZ2Y.js +6 -0
  157. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/thumb/ScrollAreaThumb-08Mmzry4.js +50 -0
  158. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/utils/getOffset-D1-wFs-x.js +9 -0
  159. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/viewport/ScrollAreaViewport-CadjBxEp.js +201 -0
  160. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/viewport/ScrollAreaViewportContext-O9cXognJ.js +6 -0
  161. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/scroll-area/viewport/ScrollAreaViewportCssVars-Dttwkr3N.js +6 -0
  162. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/FocusGuard-BkeVKSkX.js +24 -0
  163. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/InternalBackdrop-CZUtC9bU.js +30 -0
  164. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/getElementAtPoint-CR7qt9tE.js +6 -0
  165. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/popupStateMapping-DVUopj_P.js +32 -0
  166. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/popups/popupStoreUtils-DSjS8g02.js +95 -0
  167. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/popups/popupTriggerMap-RUMkUgDU.js +64 -0
  168. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/popups/store-Bz3dUxiI.js +52 -0
  169. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/resolveClassName-D2IlO_XQ.js +6 -0
  170. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/resolveRef-Csx4Vghu.js +6 -0
  171. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/resolveStyle-MTmYMe0U.js +6 -0
  172. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/scrollEdges-DZboWB_y.js +12 -0
  173. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/scrollable-D1F6TRF5.js +34 -0
  174. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/styles-BrbvX9PD.js +16 -0
  175. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/useFocusableWhenDisabled-CJZi1M5y.js +24 -0
  176. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/useOpenInteractionType-CW--rAaF.js +30 -0
  177. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/react/esm/utils/useSwipeDismiss-ZcIND0Ss.js +530 -0
  178. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/addEventListener-DnnRp2CB.js +8 -0
  179. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/detectBrowser-CntSiJrj.js +43 -0
  180. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/empty-C3-x9M2q.js +7 -0
  181. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/error-KZbzusBH.js +11 -0
  182. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/formatErrorMessage-BJfWDcMI.js +11 -0
  183. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/getReactElementRef-CB7CT3xn.js +11 -0
  184. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/inertValue-C-Qws-Vy.js +7 -0
  185. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/mergeCleanups-vij8IUwv.js +11 -0
  186. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/mergeObjects-DodLCs_x.js +14 -0
  187. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/owner-CfKP3-Rk.js +6 -0
  188. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/reactVersion-oVIlFc4q.js +8 -0
  189. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/safeReact-C4X27Y1Z.js +7 -0
  190. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/store/ReactStore-CfPgecP0.js +145 -0
  191. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/store/Store-CRAQANWM.js +86 -0
  192. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/store/createSelector-SDRl3LYE.js +17 -0
  193. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/store/useStore-BsRFFm2l.js +21 -0
  194. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useAnimationFrame-C0av1dS7.js +68 -0
  195. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useControlled-BYl9LGEz.js +53 -0
  196. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useEnhancedClickHandler-Cu2E1baO.js +19 -0
  197. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useId-D8NyJjt3.js +20 -0
  198. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useIsoLayoutEffect-oOMudEAz.js +6 -0
  199. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useMergedRefs-p9UujHQn.js +69 -0
  200. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useOnFirstRender-IB3XPZ7h.js +8 -0
  201. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useOnMount-DjNCK2YI.js +8 -0
  202. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useRefWithInit-BObJZm23.js +9 -0
  203. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useScrollLock-kV6bksFe.js +125 -0
  204. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useStableCallback-DyHa2qMJ.js +32 -0
  205. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useTimeout-BPZmm8PE.js +32 -0
  206. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/useValueAsRef-CCfi_eqC.js +19 -0
  207. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/visuallyHidden-CQbAGmCA.js +18 -0
  208. package/dist/chunks/pkg/ui/dist/node_modules/@base-ui/utils/esm/warn-eK9kQMmi.js +11 -0
  209. package/dist/chunks/pkg/ui/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom-BULZuLW5.js +71 -0
  210. package/dist/chunks/pkg/ui/dist/node_modules/class-variance-authority/dist/index-DEupJ0QT.js +35 -0
  211. package/dist/chunks/pkg/ui/dist/node_modules/clsx/dist/clsx-DPl_DXM-.js +16 -0
  212. package/dist/chunks/pkg/ui/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id-DunDwGdX.js +6 -0
  213. package/dist/chunks/pkg/ui/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext-BWutRI4l.js +2 -0
  214. package/dist/chunks/pkg/ui/dist/node_modules/framer-motion/dist/es/context/LazyContext-yIDUGdfR.js +2 -0
  215. package/dist/chunks/pkg/ui/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext-C3EPauom.js +6 -0
  216. package/dist/chunks/pkg/ui/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext-BWutRI4l.js +2 -0
  217. package/dist/chunks/pkg/ui/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node-BDwaGtmx.js +9 -0
  218. package/dist/chunks/pkg/ui/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash-h54_qXon.js +4 -0
  219. package/dist/chunks/pkg/ui/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props-DZcjZ2yt.js +9 -0
  220. package/dist/chunks/pkg/ui/dist/node_modules/lucide-react/dist/esm/Icon-BNiQfVqr.js +35 -0
  221. package/dist/chunks/pkg/ui/dist/node_modules/lucide-react/dist/esm/createLucideIcon-5_J8fxOF.js +21 -0
  222. package/dist/chunks/pkg/ui/dist/node_modules/lucide-react/dist/esm/defaultAttributes-C1BTxN61.js +14 -0
  223. package/dist/chunks/pkg/ui/dist/node_modules/lucide-react/dist/esm/icons/arrow-left-asE1l_Qw.js +9 -0
  224. package/dist/chunks/pkg/ui/dist/node_modules/lucide-react/dist/esm/icons/x-Cdi8GS7U.js +9 -0
  225. package/dist/chunks/pkg/ui/dist/node_modules/lucide-react/dist/esm/shared/src/utils-nzQUBs6v.js +18 -0
  226. package/dist/chunks/pkg/ui/dist/node_modules/mapbox-gl/dist/mapbox-gl-BWrsjoOR.js +35536 -0
  227. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion-Cc0tLlFf.js +5 -0
  228. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform-DY2FRn5v.js +22 -0
  229. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/color/hex-BN1laQGd.js +19 -0
  230. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-CflwzkVO.js +12 -0
  231. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/color/index-D1GFyA5S.js +15 -0
  232. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/color/rgba-BIy7YqPw.js +16 -0
  233. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/color/utils-IDKsSWKt.js +18 -0
  234. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/complex/filter-AXB6Rjjs.js +4 -0
  235. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/complex/index-Z9QmZfw0.js +51 -0
  236. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/complex/mask-AXB6Rjjs.js +4 -0
  237. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/int-CwcJvGhp.js +4 -0
  238. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/numbers/index-CWjqASeJ.js +16 -0
  239. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/numbers/units-DNXf-Ngr.js +11 -0
  240. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex-DKss3XP5.js +4 -0
  241. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex-Dw3Xm45S.js +4 -0
  242. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish-B7IIKRzS.js +6 -0
  243. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize-DYfJ2EAL.js +4 -0
  244. package/dist/chunks/pkg/ui/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex-CjD_eR3p.js +4 -0
  245. package/dist/chunks/pkg/ui/dist/node_modules/motion-utils/dist/es/clamp-BMGeQDyI.js +4 -0
  246. package/dist/chunks/pkg/ui/dist/node_modules/motion-utils/dist/es/errors-CBdvTtJZ.js +2 -0
  247. package/dist/chunks/pkg/ui/dist/node_modules/motion-utils/dist/es/format-error-message-BwUIYuzJ.js +6 -0
  248. package/dist/chunks/pkg/ui/dist/node_modules/motion-utils/dist/es/noop-BGdtcOlD.js +4 -0
  249. package/dist/chunks/pkg/ui/dist/node_modules/tailwind-merge/dist/bundle-mjs-2e7LjAK7.js +2763 -0
  250. 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
  251. 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
  252. package/dist/chunks/pkg/ui/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development-Bjtnv0KW.js +58 -0
  253. package/dist/chunks/pkg/ui/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production-BvTUQFJj.js +46 -0
  254. package/dist/chunks/pkg/ui/dist/node_modules/use-sync-external-store/shim/index-g__WfpEy.js +10 -0
  255. package/dist/chunks/pkg/ui/dist/node_modules/use-sync-external-store/shim/with-selector-DFIcfxeX.js +10 -0
  256. package/dist/chunks/pkg/ui/dist/static/strings-lR4Uv4ze.js +4 -0
  257. package/dist/components/AboutSection/index.d.ts +7 -0
  258. package/dist/components/AboutSection/index.js +94 -0
  259. package/dist/components/AddressAutocompleteInput/index.d.ts +17 -0
  260. package/dist/components/AddressAutocompleteInput/index.js +143 -0
  261. package/dist/components/BikeProductCard/index.d.ts +17 -0
  262. package/dist/components/BikeProductCard/index.js +78 -0
  263. package/dist/components/BookingBikeVariantDialog/index.d.ts +2 -0
  264. package/dist/components/BookingBikeVariantDialog/index.js +216 -0
  265. package/dist/components/BookingFlowSteps/index.d.ts +9 -0
  266. package/dist/components/BookingFlowSteps/index.js +59 -0
  267. package/dist/components/BookingPeriodSelector/BookingPeriodContext.js +16 -0
  268. package/dist/components/BookingPeriodSelector/components/BookingEndDateField.js +333 -0
  269. package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +112 -0
  270. package/dist/components/BookingPeriodSelector/components/BookingPeriodFieldErrorMessage.js +7 -0
  271. package/dist/components/BookingPeriodSelector/components/BookingStartDateField.js +156 -0
  272. package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +130 -0
  273. package/dist/components/BookingPeriodSelector/components/internal/ModalDayPickerField.js +302 -0
  274. package/dist/components/BookingPeriodSelector/components/internal/ModalHourPickerField.js +368 -0
  275. package/dist/components/BookingPeriodSelector/index.d.ts +12 -0
  276. package/dist/components/BookingPeriodSelector/index.js +27 -0
  277. package/dist/components/BookingPeriodSelector/useBookingPeriodController.js +241 -0
  278. package/dist/components/ContactSection/index.d.ts +6 -0
  279. package/dist/components/ContactSection/index.js +228 -0
  280. package/dist/components/ContractSaleDocument/AcceptanceModal.js +36 -0
  281. package/dist/components/ContractSaleDocument/Invoice.js +402 -0
  282. package/dist/components/ContractSaleDocument/InvoiceDetails.js +180 -0
  283. package/dist/components/ContractSaleDocument/Page.js +14 -0
  284. package/dist/components/ContractSaleDocument/PageFooter.js +26 -0
  285. package/dist/components/ContractSaleDocument/PageHeader.js +26 -0
  286. package/dist/components/ContractSaleDocument/SignatureModal.js +131 -0
  287. package/dist/components/ContractSaleDocument/TermsAndConditionsContent.js +46 -0
  288. package/dist/components/ContractSaleDocument/ThumbnailSidebar.js +59 -0
  289. package/dist/components/ContractSaleDocument/index.d.ts +3 -0
  290. package/dist/components/ContractSaleDocument/index.js +4 -0
  291. package/dist/components/ContractSaleDocument/language.js +36 -0
  292. package/dist/components/DelayedReveal/index.d.ts +15 -0
  293. package/dist/components/DelayedReveal/index.js +61 -0
  294. package/dist/components/DeliveryAddressSelector/index.d.ts +23 -0
  295. package/dist/components/DeliveryAddressSelector/index.js +95 -0
  296. package/dist/components/Footer/BusinessHours.js +125 -0
  297. package/dist/components/Footer/businessHoursUtils.js +27 -0
  298. package/dist/components/Footer/index.d.ts +11 -0
  299. package/dist/components/Footer/index.js +127 -0
  300. package/dist/components/FulfillmentSection/index.d.ts +23 -0
  301. package/dist/components/FulfillmentSection/index.js +107 -0
  302. package/dist/components/Header/index.d.ts +10 -0
  303. package/dist/components/Header/index.js +119 -0
  304. package/dist/components/Layout/index.d.ts +7 -0
  305. package/dist/components/Layout/index.js +47 -0
  306. package/dist/components/Map/createMarkerElement.js +17 -0
  307. package/dist/components/Map/index.d.ts +3 -0
  308. package/dist/components/Map/index.js +6 -0
  309. package/dist/components/PlatformFooter/index.d.ts +2 -0
  310. package/dist/components/PlatformFooter/index.js +51 -0
  311. package/dist/components/PlaygroundDevFloatingButton/index.d.ts +2 -0
  312. package/dist/components/PlaygroundDevFloatingButton/index.js +216 -0
  313. package/dist/components/PoweredByLoczerBadge/index.d.ts +9 -0
  314. package/dist/components/PoweredByLoczerBadge/index.js +73 -0
  315. package/dist/components/ProductPriceBadge/index.d.ts +9 -0
  316. package/dist/components/ProductPriceBadge/index.js +229 -0
  317. package/dist/components/ProductWarningNotice/index.d.ts +7 -0
  318. package/dist/components/ProductWarningNotice/index.js +22 -0
  319. package/dist/components/StepSectionTitle/index.d.ts +8 -0
  320. package/dist/components/StepSectionTitle/index.js +6 -0
  321. package/dist/components/StorefrontCartPanel/index.d.ts +25 -0
  322. package/dist/components/StorefrontCartPanel/index.js +131 -0
  323. package/dist/components/StorefrontPopupMessages/index.d.ts +7 -0
  324. package/dist/components/StorefrontPopupMessages/index.js +172 -0
  325. package/dist/components/TestimonialsSection/index.d.ts +2 -0
  326. package/dist/components/TestimonialsSection/index.js +349 -0
  327. package/dist/components/WhatsAppFloatingButton/WhatsAppFloatingButton.js +44 -0
  328. package/dist/components/WhatsAppFloatingButton/index.d.ts +4 -0
  329. package/dist/components/WhatsAppFloatingButton/index.js +6 -0
  330. package/dist/components/WhatsAppFloatingButton/useWhatsAppFloatingButton.js +74 -0
  331. package/dist/components/payment/MollieCardFieldsForm.js +135 -0
  332. package/dist/components/payment/StripeCardFieldsForm.js +100 -0
  333. package/dist/components/payment/index.d.ts +3 -0
  334. package/dist/components/payment/index.js +6 -0
  335. package/dist/config.d.ts +19 -0
  336. package/dist/contactForm.d.ts +22 -0
  337. package/dist/contractSaleDocument.d.ts +242 -0
  338. package/dist/contractSaleDocumentApi.d.ts +481 -0
  339. package/dist/data/accessories.d.ts +30 -0
  340. package/dist/data/accessories.js +145 -0
  341. package/dist/data/bikes.d.ts +101 -0
  342. package/dist/data/bikes.js +418 -0
  343. package/dist/data/config.d.ts +15 -0
  344. package/dist/data/config.js +28 -0
  345. package/dist/en.d.ts +369 -0
  346. package/dist/form.d.ts +44 -0
  347. package/dist/fr.d.ts +369 -0
  348. package/dist/i18n/I18nProvider.d.ts +16 -0
  349. package/dist/i18n/I18nProvider.js +120 -0
  350. package/dist/i18n/en.d.ts +368 -0
  351. package/dist/i18n/en.js +370 -0
  352. package/dist/i18n/fr.d.ts +368 -0
  353. package/dist/i18n/fr.js +370 -0
  354. package/dist/index.d.ts +20 -0
  355. package/dist/index.js +331 -0
  356. package/dist/input.d.ts +5 -0
  357. package/dist/isAutomationRuntime.d.ts +3 -0
  358. package/dist/label.d.ts +7 -0
  359. package/dist/lib/apiCall.d.ts +4 -0
  360. package/dist/lib/apiCall.js +6 -0
  361. package/dist/lib/booking-period-time-slots.d.ts +61 -0
  362. package/dist/lib/booking-period-time-slots.js +273 -0
  363. package/dist/lib/booking-period.d.ts +147 -0
  364. package/dist/lib/booking-period.js +349 -0
  365. package/dist/lib/booking.d.ts +39 -0
  366. package/dist/lib/booking.js +159 -0
  367. package/dist/lib/cart.d.ts +25 -0
  368. package/dist/lib/cart.js +87 -0
  369. package/dist/lib/cartSummary.d.ts +31 -0
  370. package/dist/lib/cartSummary.js +41 -0
  371. package/dist/lib/checkoutPaymentDecision.d.ts +40 -0
  372. package/dist/lib/checkoutPaymentDecision.js +33 -0
  373. package/dist/lib/checkoutPaymentSession.d.ts +55 -0
  374. package/dist/lib/checkoutPaymentSession.js +44 -0
  375. package/dist/lib/checkoutSubmit.d.ts +53 -0
  376. package/dist/lib/checkoutSubmit.js +59 -0
  377. package/dist/lib/checkoutVerifyCoupon.d.ts +39 -0
  378. package/dist/lib/checkoutVerifyCoupon.js +32 -0
  379. package/dist/lib/contactForm.d.ts +16 -0
  380. package/dist/lib/contactForm.js +16 -0
  381. package/dist/lib/contractSaleDocument.d.ts +216 -0
  382. package/dist/lib/contractSaleDocument.js +70 -0
  383. package/dist/lib/contractSaleDocumentApi.d.ts +449 -0
  384. package/dist/lib/contractSaleDocumentApi.js +77 -0
  385. package/dist/lib/isAutomationRuntime.d.ts +2 -0
  386. package/dist/lib/isAutomationRuntime.js +5 -0
  387. package/dist/lib/mollieComponentStyles.d.ts +2 -0
  388. package/dist/lib/mollieComponentStyles.js +31 -0
  389. package/dist/lib/playgroundDevSettings.d.ts +11 -0
  390. package/dist/lib/playgroundDevSettings.js +61 -0
  391. package/dist/lib/pricing.d.ts +14 -0
  392. package/dist/lib/pricing.js +50 -0
  393. package/dist/lib/productImageStyles.d.ts +9 -0
  394. package/dist/lib/productImageStyles.js +8 -0
  395. package/dist/lib/productVariants.d.ts +13 -0
  396. package/dist/lib/productVariants.js +26 -0
  397. package/dist/lib/products.d.ts +37 -0
  398. package/dist/lib/products.js +58 -0
  399. package/dist/lib/richAddress.d.ts +21 -0
  400. package/dist/lib/richAddress.js +24 -0
  401. package/dist/lib/securePaymentLink.d.ts +105 -0
  402. package/dist/lib/securePaymentLink.js +79 -0
  403. package/dist/lib/storefrontAvailability.d.ts +84 -0
  404. package/dist/lib/storefrontAvailability.js +54 -0
  405. package/dist/lib/storefrontImage.d.ts +10 -0
  406. package/dist/lib/storefrontImage.js +16 -0
  407. package/dist/lib/storefrontProducts.d.ts +371 -0
  408. package/dist/lib/storefrontProducts.js +89 -0
  409. package/dist/lib/storefrontReviews.d.ts +72 -0
  410. package/dist/lib/storefrontReviews.js +36 -0
  411. package/dist/lib/utils.d.ts +16 -0
  412. package/dist/lib/utils.js +27 -0
  413. package/dist/lib/whatsapp.d.ts +17 -0
  414. package/dist/lib/whatsapp.js +60 -0
  415. package/dist/localization.d.ts +13 -0
  416. package/dist/localization.js +16 -0
  417. package/dist/mollieComponentStyles.d.ts +3 -0
  418. package/dist/pages/BookingPage.d.ts +2 -0
  419. package/dist/pages/BookingPage.js +535 -0
  420. package/dist/pages/CheckoutPage.d.ts +2 -0
  421. package/dist/pages/CheckoutPage.js +428 -0
  422. package/dist/pages/CheckoutPaymentPage.d.ts +2 -0
  423. package/dist/pages/CheckoutPaymentPage.js +243 -0
  424. package/dist/pages/CheckoutSuccessPage.d.ts +2 -0
  425. package/dist/pages/CheckoutSuccessPage.js +24 -0
  426. package/dist/pages/ContractSaleDocumentPage.d.ts +109 -0
  427. package/dist/pages/ContractSaleDocumentPage.js +342 -0
  428. package/dist/pages/ErrorPage.d.ts +2 -0
  429. package/dist/pages/ErrorPage.js +47 -0
  430. package/dist/pages/HomePage.d.ts +2 -0
  431. package/dist/pages/HomePage.js +501 -0
  432. package/dist/pages/NotFoundPage.d.ts +2 -0
  433. package/dist/pages/NotFoundPage.js +28 -0
  434. package/dist/pages/PaymentLinkPage.d.ts +34 -0
  435. package/dist/pages/PaymentLinkPage.js +258 -0
  436. package/dist/pages/PaymentLinkSuccessPage.d.ts +34 -0
  437. package/dist/pages/PaymentLinkSuccessPage.js +140 -0
  438. package/dist/pages/ProductPage.d.ts +2 -0
  439. package/dist/pages/ProductPage.js +255 -0
  440. package/dist/pages/checkout/components/CheckoutCouponCard.js +72 -0
  441. package/dist/pages/checkout/components/CheckoutDetailsCard.js +68 -0
  442. package/dist/pages/checkout/components/CheckoutPaymentSummaryCard.js +90 -0
  443. package/dist/pages/checkout/components/CheckoutSummaryColumn.js +41 -0
  444. package/dist/pages/checkout/types.js +10 -0
  445. package/dist/playgroundDevSettings.d.ts +19 -0
  446. package/dist/pricing.d.ts +35 -0
  447. package/dist/productImageStyles.d.ts +25 -0
  448. package/dist/productVariants.d.ts +16 -0
  449. package/dist/products.d.ts +224 -0
  450. package/dist/radio-group.d.ts +14 -0
  451. package/dist/richAddress.d.ts +24 -0
  452. package/dist/routes.d.ts +6 -0
  453. package/dist/routes.js +32 -0
  454. package/dist/securePaymentLink.d.ts +125 -0
  455. package/dist/select.d.ts +41 -0
  456. package/dist/slot.d.ts +15 -0
  457. package/dist/static/strings.js +4 -0
  458. package/dist/storefront.css +1 -0
  459. package/dist/storefrontAvailability.d.ts +107 -0
  460. package/dist/storefrontImage.d.ts +16 -0
  461. package/dist/storefrontProducts.d.ts +400 -0
  462. package/dist/storefrontReviews.d.ts +84 -0
  463. package/dist/storefrontSchemas.d.ts +588 -0
  464. package/dist/storefrontSchemas.js +132 -0
  465. package/dist/textarea.d.ts +5 -0
  466. package/dist/tooltip.d.ts +43 -0
  467. package/dist/ui/badge.d.ts +10 -0
  468. package/dist/ui/badge.js +39 -0
  469. package/dist/ui/button.d.ts +12 -0
  470. package/dist/ui/button.js +44 -0
  471. package/dist/ui/card.d.ts +10 -0
  472. package/dist/ui/card.js +93 -0
  473. package/dist/ui/form.d.ts +25 -0
  474. package/dist/ui/form.js +135 -0
  475. package/dist/ui/input.d.ts +4 -0
  476. package/dist/ui/input.js +24 -0
  477. package/dist/ui/label.d.ts +5 -0
  478. package/dist/ui/label.js +18 -0
  479. package/dist/ui/radio-group.d.ts +10 -0
  480. package/dist/ui/radio-group.js +55 -0
  481. package/dist/ui/select.d.ts +22 -0
  482. package/dist/ui/select.js +255 -0
  483. package/dist/ui/slot.d.ts +11 -0
  484. package/dist/ui/slot.js +33 -0
  485. package/dist/ui/textarea.d.ts +4 -0
  486. package/dist/ui/textarea.js +20 -0
  487. package/dist/ui/tooltip.d.ts +20 -0
  488. package/dist/ui/tooltip.js +73 -0
  489. package/dist/utils.d.ts +23 -0
  490. package/dist/whatsapp.d.ts +318 -0
  491. package/package.json +9 -1
@@ -0,0 +1,255 @@
1
+ import { jsx as t, jsxs as s } from "react/jsx-runtime";
2
+ import { useMemo as g, useState as N, useEffect as T } from "react";
3
+ import { useParams as Nt, useSearchParams as kt, useLocation as St, useNavigate as wt, Link as Z } from "@rpcbase/router";
4
+ import { cn as k } from "@rpcbase/ui";
5
+ import { ArrowLeft as tt, ArrowRight as B, Bike as It, CheckCircle2 as Pt } from "lucide-react";
6
+ import { useTranslation as Vt } from "react-i18next";
7
+ import { apiPost as At } from "../lib/apiCall.js";
8
+ import { getAvailabilityVariant as Ct } from "../lib/utils.js";
9
+ import { resolveBookingSearchParamsFromSessionStorage as Lt, getBookingParamsFromSearch as Tt, writeBookingSearchParamsToSessionStorage as Bt } from "../lib/booking.js";
10
+ import { getLocalizedValue as S } from "../localization.js";
11
+ import { Badge as et } from "../ui/badge.js";
12
+ import { Button as b } from "../ui/button.js";
13
+ import { Card as Ot } from "../ui/card.js";
14
+ import { Input as Rt } from "../ui/input.js";
15
+ import { RadioGroup as $t, RadioGroupItem as Ft } from "../ui/radio-group.js";
16
+ import { useStorefrontCart as zt } from "../lib/cart.js";
17
+ import { findStorefrontProductBySlug as jt, getStorefrontCheckoutProductId as O } from "../lib/products.js";
18
+ import { ROUTE as Mt, responseSchema as Kt, buildStorefrontAvailabilityKey as m, getStorefrontAvailabilityStatus as at, isStorefrontAvailabilityInsufficient as it, getStorefrontAvailabilityIssue as Dt } from "../lib/storefrontAvailability.js";
19
+ import { getProductVariantAttributeValue as Et, getStorefrontProductVariantDisplay as qt } from "../lib/productVariants.js";
20
+ import { resolveProductImageContainerStyle as Gt } from "../lib/productImageStyles.js";
21
+ import { useStorefront as Ut, useStorefrontProducts as Wt } from "../StorefrontProvider.js";
22
+ import { ProductPriceBadge as Qt } from "../components/ProductPriceBadge/index.js";
23
+ import { ProductWarningNotice as Ht } from "../components/ProductWarningNotice/index.js";
24
+ const rt = (e, n = () => !0) => {
25
+ if (!e) return null;
26
+ if (e.representedVariantId?.trim()) return e.representedVariantId.trim();
27
+ const a = e.productVariants ?? [];
28
+ return a.find((o) => n(o.id))?.id ?? a[0]?.id ?? null;
29
+ }, Jt = (e, n) => {
30
+ if (!e) return [];
31
+ const a = O(e), l = /* @__PURE__ */ new Map();
32
+ l.set(m(a), { productId: a, quantity: n });
33
+ for (const v of e.productVariants ?? [])
34
+ l.set(m(a, v.id), {
35
+ productId: a,
36
+ productVariantId: v.id,
37
+ quantity: n
38
+ });
39
+ const o = e.representedVariantId?.trim();
40
+ return o && l.set(m(a, o), {
41
+ productId: a,
42
+ productVariantId: o,
43
+ quantity: n
44
+ }), Array.from(l.values());
45
+ }, Xt = (e, n) => {
46
+ const a = O(e), l = e.representedVariantId?.trim();
47
+ if (l) {
48
+ const o = n.get(m(a, l));
49
+ if (o) return o;
50
+ }
51
+ return n.get(m(a));
52
+ }, Yt = (e, n, a) => a.get(m(O(e), n)), st = (e, n, a) => {
53
+ const l = Dt(n);
54
+ return l === "quantity_unavailable" ? e("availability_quantity_unavailable") : l === "unavailable" || a === "OUT_OF_STOCK" ? e("availability_out_of_stock") : n?.remaining !== void 0 ? e("availability_remaining_count", { count: n.remaining }) : n?.fewRemaining || a === "LOW_STOCK" ? e("availability_low_stock") : e("availability_in_stock");
55
+ }, Zt = (e) => "availabilityStatus" in e ? e.availabilityStatus ?? "AVAILABLE" : "AVAILABLE";
56
+ function ke() {
57
+ const { t: e, i18n: n } = Vt(), { storeSlug: a, productSlug: l } = Nt(), [o] = kt(), v = St(), nt = wt(), { addItem: lt, itemCount: R } = zt(), { storefrontConfiguration: ot } = Ut(), x = ot.workspace?.workspaceLanguage, { bikes: $, accessories: F } = Wt(), i = g(
58
+ () => l ? jt(l, { bikes: $, accessories: F }) : null,
59
+ [F, $, l]
60
+ ), p = g(
61
+ () => Lt(o, a),
62
+ [o, a]
63
+ ), d = g(() => Tt(p), [p]), z = p.toString(), j = `/${a ?? ""}/checkout${z ? `?${z}` : ""}`, M = `/${a ?? ""}`, ct = M, w = v.state, dt = typeof w?.backTo == "string" && w.backTo.startsWith(M) ? w.backTo : ct, [I, K] = N(1), [u, P] = N(() => rt(i)), V = Number.isFinite(I) ? Math.max(1, Math.min(99, Math.floor(I))) : 1, A = g(
64
+ () => Jt(i, V),
65
+ [V, i]
66
+ ), [D, y] = N([]), [mt, C] = N(!1);
67
+ T(() => {
68
+ if (K(1), !i) {
69
+ P(null);
70
+ return;
71
+ }
72
+ P(rt(i));
73
+ }, [l, i]), T(() => {
74
+ Bt(a, p);
75
+ }, [p, a]), T(() => {
76
+ if (!a || A.length === 0) {
77
+ y([]), C(!1);
78
+ return;
79
+ }
80
+ let r = !1;
81
+ return C(!0), y([]), (async () => {
82
+ try {
83
+ const c = await At(
84
+ Mt,
85
+ {
86
+ storeSlug: a,
87
+ schedule: {
88
+ startDate: d.start_date,
89
+ endDate: d.end_date,
90
+ startTime: d.start_time,
91
+ endTime: d.end_time
92
+ },
93
+ products: A
94
+ }
95
+ ), _ = Kt.parse(c);
96
+ if (r) return;
97
+ y(_.success ? _.availability ?? [] : []);
98
+ } catch (c) {
99
+ if (r) return;
100
+ console.error("Failed to load storefront product availability", c), y([]);
101
+ } finally {
102
+ r || C(!1);
103
+ }
104
+ })(), () => {
105
+ r = !0;
106
+ };
107
+ }, [
108
+ A,
109
+ d.end_date,
110
+ d.end_time,
111
+ d.start_date,
112
+ d.start_time,
113
+ a
114
+ ]);
115
+ const E = g(() => new Map(
116
+ D.map((r) => [
117
+ m(r.productId, r.productVariantId),
118
+ r
119
+ ])
120
+ ), [D]), q = () => {
121
+ nt(dt);
122
+ };
123
+ if (!i)
124
+ return /* @__PURE__ */ t("div", { className: "mx-auto max-w-3xl px-4 py-10 sm:px-6", children: /* @__PURE__ */ s("div", { className: "rounded-2xl border border-slate-200 bg-white p-6 shadow-sm", children: [
125
+ /* @__PURE__ */ t("h1", { className: "text-xl font-semibold tracking-tight text-slate-950", children: /* @__PURE__ */ t("span", { children: e("product_not_found_title") }) }),
126
+ /* @__PURE__ */ t("p", { className: "mt-2 text-sm text-slate-600", children: /* @__PURE__ */ t("span", { children: e("product_not_found_description") }) }),
127
+ /* @__PURE__ */ t("div", { className: "mt-6", children: /* @__PURE__ */ s(b, { type: "button", className: "gap-2", onClick: q, children: [
128
+ /* @__PURE__ */ t(tt, { className: "h-4 w-4", "aria-hidden": "true" }),
129
+ /* @__PURE__ */ t("span", { children: e("go_back") })
130
+ ] }) })
131
+ ] }) });
132
+ const G = S(i.name, n.language, x), ut = S(i.description, n.language, x), pt = S(i.warning, n.language, x), U = typeof i.images?.[0] == "string" ? i.images[0].trim() : "", W = Gt(i.primaryImageStyle), h = Xt(i, E), Q = Zt(i), H = h ? at(h) : Q, ht = Ct(H), ft = mt ? e("availability_checking") : st(e, h, H), J = h ? it(h) : Q === "OUT_OF_STOCK", L = i.productVariants ?? [], gt = L.some((r) => !!Et(r, "size")), bt = e(gt ? "product_size_label" : "product_variant_label"), vt = !!u, xt = () => {
133
+ u && lt({
134
+ kind: i.kind,
135
+ productId: i.id,
136
+ ...u ? { productVariantId: u } : {},
137
+ quantity: V
138
+ });
139
+ };
140
+ return /* @__PURE__ */ t("div", { className: "mx-auto max-w-7xl px-4 py-8 sm:px-6", children: /* @__PURE__ */ s("div", { className: "flex flex-col gap-6", children: [
141
+ /* @__PURE__ */ s("div", { className: "flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between", children: [
142
+ /* @__PURE__ */ s(
143
+ b,
144
+ {
145
+ type: "button",
146
+ variant: "ghost",
147
+ className: "h-auto justify-start gap-2 self-start px-0 text-sm font-medium text-slate-700 hover:bg-transparent hover:text-slate-950",
148
+ onClick: q,
149
+ children: [
150
+ /* @__PURE__ */ t(tt, { className: "h-4 w-4", "aria-hidden": "true" }),
151
+ /* @__PURE__ */ t("span", { children: e("go_back") })
152
+ ]
153
+ }
154
+ ),
155
+ /* @__PURE__ */ t(Z, { to: j, className: k(R > 0 ? "inline-flex" : "hidden"), children: /* @__PURE__ */ s(b, { size: "sm", className: "gap-2", children: [
156
+ /* @__PURE__ */ t("span", { children: e("checkout_button") }),
157
+ /* @__PURE__ */ t(B, { className: "h-4 w-4", "aria-hidden": "true" })
158
+ ] }) })
159
+ ] }),
160
+ /* @__PURE__ */ s("div", { className: "grid gap-6 lg:grid-cols-12", children: [
161
+ /* @__PURE__ */ s("div", { className: "lg:col-span-7", children: [
162
+ /* @__PURE__ */ t(
163
+ "div",
164
+ {
165
+ className: k("relative aspect-[1618/1000] overflow-hidden rounded-2xl", W.className),
166
+ style: W.style,
167
+ children: U ? /* @__PURE__ */ t(
168
+ "img",
169
+ {
170
+ src: U,
171
+ alt: G,
172
+ className: "absolute inset-0 h-full w-full object-contain p-2",
173
+ loading: "lazy"
174
+ }
175
+ ) : /* @__PURE__ */ t("div", { className: "absolute inset-0 flex items-center justify-center text-slate-400", children: /* @__PURE__ */ t(It, { className: "h-12 w-12", "aria-hidden": "true" }) })
176
+ }
177
+ ),
178
+ /* @__PURE__ */ s("div", { className: "mt-5 flex flex-col gap-3", children: [
179
+ /* @__PURE__ */ s("div", { className: "flex flex-wrap items-center gap-2", children: [
180
+ /* @__PURE__ */ t(et, { variant: ht.variant, children: /* @__PURE__ */ t("span", { children: ft }) }),
181
+ /* @__PURE__ */ t(Qt, { prices: i.prices })
182
+ ] }),
183
+ /* @__PURE__ */ t("h1", { className: "text-2xl font-semibold tracking-tight text-slate-950", children: /* @__PURE__ */ t("span", { children: G }) }),
184
+ /* @__PURE__ */ t("p", { className: "text-sm text-slate-600", children: /* @__PURE__ */ t("span", { children: ut }) }),
185
+ i.features?.length ? /* @__PURE__ */ s("div", { className: "mt-2 space-y-2", children: [
186
+ /* @__PURE__ */ t("p", { className: "text-sm font-semibold text-slate-950", children: /* @__PURE__ */ t("span", { children: e("product_features_title") }) }),
187
+ /* @__PURE__ */ t("ul", { className: "grid gap-1 text-sm text-slate-700", children: i.features.map((r, c) => /* @__PURE__ */ s("li", { className: "inline-flex items-start gap-2", children: [
188
+ /* @__PURE__ */ t(Pt, { className: "mt-0.5 h-4 w-4 text-emerald-600", "aria-hidden": "true" }),
189
+ /* @__PURE__ */ t("span", { children: S(r, n.language, x) })
190
+ ] }, `${i.id}-${c}`)) })
191
+ ] }) : null,
192
+ /* @__PURE__ */ t(Ht, { warning: pt })
193
+ ] })
194
+ ] }),
195
+ /* @__PURE__ */ t("div", { className: "lg:col-span-5", children: /* @__PURE__ */ s(Ot, { className: "border-slate-200 bg-white shadow-sm", children: [
196
+ /* @__PURE__ */ s("div", { className: "border-b border-slate-200 px-5 py-4", children: [
197
+ /* @__PURE__ */ t("p", { className: "text-sm font-semibold text-slate-950", children: /* @__PURE__ */ t("span", { children: e("add_to_cart_title") }) }),
198
+ /* @__PURE__ */ t("p", { className: "mt-1 text-xs text-slate-600", children: /* @__PURE__ */ t("span", { children: e("add_to_cart_description") }) })
199
+ ] }),
200
+ /* @__PURE__ */ s("div", { className: "grid gap-4 px-5 py-5", children: [
201
+ L.length > 1 ? /* @__PURE__ */ s("div", { className: "grid gap-2", children: [
202
+ /* @__PURE__ */ t("p", { className: "text-xs font-medium text-slate-700", children: /* @__PURE__ */ t("span", { children: bt }) }),
203
+ /* @__PURE__ */ t($t, { value: u ?? "", onValueChange: P, className: "grid gap-2", children: L.map((r) => {
204
+ const c = `variant-${i.id}-${r.id}`.toLowerCase(), _ = `storefront-product-variant-option-${i.id}-${r.id}`.toLowerCase(), { label: yt, description: X } = qt(r), f = Yt(i, r.id, E), _t = f ? it(f) : J, Y = f ? st(e, f, at(f)) : J ? e("availability_out_of_stock") : null;
205
+ return /* @__PURE__ */ s(
206
+ "label",
207
+ {
208
+ htmlFor: c,
209
+ "data-testid": _,
210
+ className: k(
211
+ "flex items-start gap-3 rounded-xl border p-3 transition",
212
+ u === r.id ? "border-slate-900 bg-slate-50" : "border-slate-200 bg-white"
213
+ ),
214
+ children: [
215
+ /* @__PURE__ */ t(Ft, { id: c, value: r.id, className: "mt-1" }),
216
+ /* @__PURE__ */ s("span", { className: "flex flex-1 flex-col gap-0.5", children: [
217
+ /* @__PURE__ */ t("span", { className: "text-sm font-medium text-slate-950", children: yt }),
218
+ X ? /* @__PURE__ */ t("span", { className: "text-xs text-slate-600", children: X }) : null,
219
+ Y ? /* @__PURE__ */ t("span", { className: "pt-1", children: /* @__PURE__ */ t(et, { variant: _t ? "destructive" : "outline", children: /* @__PURE__ */ t("span", { children: Y }) }) }) : null
220
+ ] })
221
+ ]
222
+ },
223
+ c
224
+ );
225
+ }) })
226
+ ] }) : null,
227
+ /* @__PURE__ */ s("div", { className: "grid gap-2", children: [
228
+ /* @__PURE__ */ t("p", { className: "text-xs font-medium text-slate-700", children: /* @__PURE__ */ t("span", { children: e("quantity_label") }) }),
229
+ /* @__PURE__ */ t(
230
+ Rt,
231
+ {
232
+ type: "number",
233
+ min: 1,
234
+ max: 99,
235
+ value: I,
236
+ onChange: (r) => K(Number(r.target.value))
237
+ }
238
+ )
239
+ ] }),
240
+ /* @__PURE__ */ s(b, { className: "h-11 rounded-xl text-sm font-semibold gap-2", onClick: xt, disabled: !vt, children: [
241
+ /* @__PURE__ */ t("span", { children: e("add_to_cart") }),
242
+ /* @__PURE__ */ t(B, { className: "h-4 w-4", "aria-hidden": "true" })
243
+ ] }),
244
+ /* @__PURE__ */ t(Z, { to: j, className: k(R > 0 ? "block" : "hidden"), children: /* @__PURE__ */ s(b, { variant: "outline", className: "h-11 w-full rounded-xl gap-2", children: [
245
+ /* @__PURE__ */ t("span", { children: e("go_to_checkout") }),
246
+ /* @__PURE__ */ t(B, { className: "h-4 w-4", "aria-hidden": "true" })
247
+ ] }) })
248
+ ] })
249
+ ] }) })
250
+ ] })
251
+ ] }) });
252
+ }
253
+ export {
254
+ ke as default
255
+ };
@@ -0,0 +1,72 @@
1
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
+ import { Tag as g, Loader2 as b, X as N } from "lucide-react";
3
+ import { useTranslation as _ } from "react-i18next";
4
+ import { Button as d } from "../../../ui/button.js";
5
+ import { Card as f } from "../../../ui/card.js";
6
+ import { Input as v } from "../../../ui/input.js";
7
+ function z({
8
+ code: r,
9
+ appliedCode: n,
10
+ discountLabel: c,
11
+ message: o,
12
+ error: s,
13
+ loading: l,
14
+ disabled: i,
15
+ onCodeChange: p,
16
+ onApply: m,
17
+ onRemove: h
18
+ }) {
19
+ const { t: a } = _(), u = r.trim().length > 0 && !l && !i;
20
+ return /* @__PURE__ */ e(f, { className: "border-slate-200 bg-white shadow-sm", children: /* @__PURE__ */ t("div", { className: "grid gap-3 px-5 py-5", children: [
21
+ /* @__PURE__ */ t("div", { className: "flex items-center gap-2", children: [
22
+ /* @__PURE__ */ e(g, { className: "h-4 w-4 text-slate-500", "aria-hidden": "true" }),
23
+ /* @__PURE__ */ e("p", { className: "text-sm font-semibold text-slate-950", children: /* @__PURE__ */ e("span", { children: a("checkout_coupon_title") }) })
24
+ ] }),
25
+ /* @__PURE__ */ t("div", { className: "grid gap-2 sm:grid-cols-[1fr_auto]", children: [
26
+ /* @__PURE__ */ e(
27
+ v,
28
+ {
29
+ value: r,
30
+ onChange: (x) => p(x.target.value.toUpperCase()),
31
+ placeholder: a("checkout_coupon_placeholder"),
32
+ disabled: l || i,
33
+ "aria-label": a("checkout_coupon_label")
34
+ }
35
+ ),
36
+ /* @__PURE__ */ t(
37
+ d,
38
+ {
39
+ type: "button",
40
+ variant: "outline",
41
+ disabled: !u,
42
+ className: "gap-2",
43
+ onClick: m,
44
+ children: [
45
+ l ? /* @__PURE__ */ e(b, { className: "h-4 w-4 animate-spin", "aria-hidden": "true" }) : null,
46
+ /* @__PURE__ */ e("span", { children: a("checkout_coupon_apply") })
47
+ ]
48
+ }
49
+ )
50
+ ] }),
51
+ n && c ? /* @__PURE__ */ t("div", { className: "flex items-center justify-between gap-3 rounded-lg border border-emerald-200 bg-emerald-50 px-3 py-2 text-sm text-emerald-800", children: [
52
+ /* @__PURE__ */ e("span", { children: a("checkout_coupon_applied", { code: n, amount: c }) }),
53
+ /* @__PURE__ */ e(
54
+ d,
55
+ {
56
+ type: "button",
57
+ variant: "ghost",
58
+ size: "icon",
59
+ className: "h-7 w-7 text-emerald-800 hover:bg-emerald-100",
60
+ onClick: h,
61
+ "aria-label": a("checkout_coupon_remove"),
62
+ children: /* @__PURE__ */ e(N, { className: "h-4 w-4", "aria-hidden": "true" })
63
+ }
64
+ )
65
+ ] }) : null,
66
+ o ? /* @__PURE__ */ e("p", { className: "text-xs text-slate-600", children: /* @__PURE__ */ e("span", { children: o }) }) : null,
67
+ s ? /* @__PURE__ */ e("p", { className: "text-xs text-red-700", children: /* @__PURE__ */ e("span", { children: s }) }) : null
68
+ ] }) });
69
+ }
70
+ export {
71
+ z as CheckoutCouponCard
72
+ };
@@ -0,0 +1,68 @@
1
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
+ import { useTranslation as m } from "react-i18next";
3
+ import { Card as s } from "../../../ui/card.js";
4
+ import { Form as p, FormField as t, FormItem as n, FormLabel as a, FormControl as d, FormMessage as h } from "../../../ui/form.js";
5
+ import { Input as i } from "../../../ui/input.js";
6
+ import { Textarea as _ } from "../../../ui/textarea.js";
7
+ function N({ form: c }) {
8
+ const { t: l } = m();
9
+ return /* @__PURE__ */ o(s, { className: "border-slate-200 bg-white shadow-sm", children: [
10
+ /* @__PURE__ */ o("div", { className: "border-b border-slate-200 px-5 py-4", children: [
11
+ /* @__PURE__ */ e("p", { className: "text-sm font-semibold text-slate-950", children: /* @__PURE__ */ e("span", { children: l("checkout_form_title") }) }),
12
+ /* @__PURE__ */ e("p", { className: "mt-1 text-xs text-slate-600", children: /* @__PURE__ */ e("span", { children: l("checkout_form_description") }) })
13
+ ] }),
14
+ /* @__PURE__ */ e("div", { className: "px-5 py-5", children: /* @__PURE__ */ e(p, { ...c, children: /* @__PURE__ */ o("form", { onSubmit: (r) => r.preventDefault(), className: "grid gap-3", children: [
15
+ /* @__PURE__ */ e(
16
+ t,
17
+ {
18
+ control: c.control,
19
+ name: "full_name",
20
+ render: ({ field: r }) => /* @__PURE__ */ o(n, { children: [
21
+ /* @__PURE__ */ e(a, { children: l("checkout_full_name_label") }),
22
+ /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(i, { ...r, placeholder: l("checkout_full_name_placeholder") }) }),
23
+ /* @__PURE__ */ e(h, {})
24
+ ] })
25
+ }
26
+ ),
27
+ /* @__PURE__ */ e(
28
+ t,
29
+ {
30
+ control: c.control,
31
+ name: "email",
32
+ render: ({ field: r }) => /* @__PURE__ */ o(n, { children: [
33
+ /* @__PURE__ */ e(a, { children: l("checkout_email_label") }),
34
+ /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(i, { ...r, type: "email", placeholder: l("checkout_email_placeholder") }) }),
35
+ /* @__PURE__ */ e(h, {})
36
+ ] })
37
+ }
38
+ ),
39
+ /* @__PURE__ */ e(
40
+ t,
41
+ {
42
+ control: c.control,
43
+ name: "phone",
44
+ render: ({ field: r }) => /* @__PURE__ */ o(n, { children: [
45
+ /* @__PURE__ */ e(a, { children: l("checkout_phone_label") }),
46
+ /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(i, { ...r, placeholder: l("checkout_phone_placeholder") }) }),
47
+ /* @__PURE__ */ e(h, {})
48
+ ] })
49
+ }
50
+ ),
51
+ /* @__PURE__ */ e(
52
+ t,
53
+ {
54
+ control: c.control,
55
+ name: "notes",
56
+ render: ({ field: r }) => /* @__PURE__ */ o(n, { children: [
57
+ /* @__PURE__ */ e(a, { children: l("checkout_notes_label") }),
58
+ /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(_, { ...r, rows: 4, placeholder: l("checkout_notes_placeholder") }) }),
59
+ /* @__PURE__ */ e(h, {})
60
+ ] })
61
+ }
62
+ )
63
+ ] }) }) })
64
+ ] });
65
+ }
66
+ export {
67
+ N as CheckoutDetailsCard
68
+ };
@@ -0,0 +1,90 @@
1
+ import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
+ import { Loader2 as k, AlertTriangle as v } from "lucide-react";
3
+ import { useTranslation as w } from "react-i18next";
4
+ import { Button as C } from "../../../ui/button.js";
5
+ import { Card as j } from "../../../ui/card.js";
6
+ function F({
7
+ estimatedTotalLabel: m,
8
+ couponCode: o,
9
+ discountAmountLabel: s,
10
+ totalExcludingTaxLabel: p,
11
+ vatAmountLabel: h,
12
+ vatRateLabel: u,
13
+ depositAmountLabel: r,
14
+ amountToCollectMinor: x,
15
+ amountToCollectLabel: _,
16
+ paymentSummaryHelper: c,
17
+ paymentDecisionLoading: n,
18
+ paymentDecisionError: d,
19
+ canChoosePaymentMethod: i,
20
+ showAmountDueNowRow: b,
21
+ selectedPaymentMethod: g,
22
+ submitting: N,
23
+ onSelectPaymentMethod: f
24
+ }) {
25
+ const { t } = w(), y = [
26
+ { id: "card", label: t("checkout_payment_method_card") },
27
+ { id: "apple_pay", label: t("checkout_payment_method_apple_pay") },
28
+ { id: "other", label: t("checkout_payment_method_other") }
29
+ ];
30
+ return /* @__PURE__ */ a(j, { className: "border-slate-200 bg-white shadow-sm", children: [
31
+ /* @__PURE__ */ a("div", { className: "border-b border-slate-200 px-5 py-4", children: [
32
+ /* @__PURE__ */ e("p", { className: "text-sm font-semibold text-slate-950", children: /* @__PURE__ */ e("span", { children: t("checkout_payment_totals_title") }) }),
33
+ i ? /* @__PURE__ */ e("p", { className: "mt-1 text-xs text-slate-600", children: /* @__PURE__ */ e("span", { children: t("checkout_payment_totals_description") }) }) : null
34
+ ] }),
35
+ /* @__PURE__ */ a("div", { className: "grid gap-4 px-5 py-5", children: [
36
+ /* @__PURE__ */ a("dl", { className: "grid overflow-hidden rounded-xl border border-slate-200 bg-white text-sm", children: [
37
+ /* @__PURE__ */ a("div", { className: "grid grid-cols-[1fr_auto] items-center gap-x-4 px-4 py-3", children: [
38
+ /* @__PURE__ */ e("dt", { className: "text-slate-700", children: /* @__PURE__ */ e("span", { children: t("checkout_estimated_total") }) }),
39
+ /* @__PURE__ */ e("dd", { className: "font-semibold tabular-nums text-slate-900", children: /* @__PURE__ */ e("span", { children: m }) })
40
+ ] }),
41
+ s ? /* @__PURE__ */ a("div", { className: "grid grid-cols-[1fr_auto] items-center gap-x-4 border-t border-slate-200 px-4 py-3", children: [
42
+ /* @__PURE__ */ e("dt", { className: "text-emerald-700", children: /* @__PURE__ */ e("span", { children: t("checkout_coupon_discount", { code: o ?? "" }) }) }),
43
+ /* @__PURE__ */ e("dd", { className: "font-medium tabular-nums text-emerald-700", children: /* @__PURE__ */ e("span", { children: s }) })
44
+ ] }) : null,
45
+ /* @__PURE__ */ a("div", { className: "grid grid-cols-[1fr_auto] items-center gap-x-4 border-t border-slate-200 px-4 py-3", children: [
46
+ /* @__PURE__ */ e("dt", { className: "text-slate-600", children: /* @__PURE__ */ e("span", { children: t("checkout_payment_total_excluding_tax") }) }),
47
+ /* @__PURE__ */ e("dd", { className: "font-medium tabular-nums text-slate-700", children: /* @__PURE__ */ e("span", { children: p }) })
48
+ ] }),
49
+ /* @__PURE__ */ a("div", { className: "grid grid-cols-[1fr_auto] items-center gap-x-4 border-t border-slate-200 px-4 py-3", children: [
50
+ /* @__PURE__ */ e("dt", { className: "text-slate-600", children: /* @__PURE__ */ e("span", { children: t("checkout_payment_vat", { rate: u }) }) }),
51
+ /* @__PURE__ */ e("dd", { className: "font-medium tabular-nums text-slate-700", children: /* @__PURE__ */ e("span", { children: h }) })
52
+ ] }),
53
+ r ? /* @__PURE__ */ a("div", { className: "grid grid-cols-[1fr_auto] items-center gap-x-4 border-t border-slate-200 px-4 py-3", children: [
54
+ /* @__PURE__ */ e("dt", { className: "text-slate-700", children: /* @__PURE__ */ e("span", { children: t("checkout_payment_deposit_amount") }) }),
55
+ /* @__PURE__ */ e("dd", { className: "font-medium tabular-nums text-slate-900", children: /* @__PURE__ */ e("span", { children: r }) })
56
+ ] }) : null,
57
+ b ? /* @__PURE__ */ a("div", { className: "grid grid-cols-[1fr_auto] items-center gap-x-4 border-t border-slate-300 bg-slate-50 px-4 py-3", children: [
58
+ /* @__PURE__ */ e("dt", { className: "text-sm font-semibold text-slate-900", children: /* @__PURE__ */ e("span", { children: t("checkout_payment_amount_due_now") }) }),
59
+ /* @__PURE__ */ e("dd", { className: `text-base font-bold tabular-nums tracking-tight ${x > 0 ? "text-slate-950" : "text-slate-800"}`, children: /* @__PURE__ */ e("span", { children: _ }) })
60
+ ] }) : null
61
+ ] }),
62
+ c ? /* @__PURE__ */ e("p", { className: "text-xs text-slate-600", children: /* @__PURE__ */ e("span", { children: c }) }) : null,
63
+ n ? /* @__PURE__ */ a("div", { className: "flex items-center gap-2 text-sm text-slate-600", children: [
64
+ /* @__PURE__ */ e(k, { className: "h-4 w-4 animate-spin", "aria-hidden": "true" }),
65
+ /* @__PURE__ */ e("span", { children: t("checkout_payment_loading") })
66
+ ] }) : null,
67
+ d ? /* @__PURE__ */ e("div", { className: "grid gap-3 rounded-xl border border-red-200 bg-red-50 p-4", children: /* @__PURE__ */ a("div", { className: "flex items-start gap-2 text-sm text-red-700", children: [
68
+ /* @__PURE__ */ e(v, { className: "mt-0.5 h-4 w-4", "aria-hidden": "true" }),
69
+ /* @__PURE__ */ e("span", { children: d })
70
+ ] }) }) : null,
71
+ !n && !d && i ? /* @__PURE__ */ e("div", { className: "grid gap-2 sm:grid-cols-3", children: y.map((l) => /* @__PURE__ */ e(
72
+ C,
73
+ {
74
+ type: "button",
75
+ variant: g === l.id ? "default" : "outline",
76
+ disabled: N,
77
+ className: "h-9 rounded-full px-4 text-xs",
78
+ onClick: () => {
79
+ f(l.id);
80
+ },
81
+ children: /* @__PURE__ */ e("span", { children: l.label })
82
+ },
83
+ l.id
84
+ )) }) : null
85
+ ] })
86
+ ] });
87
+ }
88
+ export {
89
+ F as CheckoutPaymentSummaryCard
90
+ };
@@ -0,0 +1,41 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { useTranslation as d } from "react-i18next";
3
+ import { StorefrontCartPanel as f } from "../../../components/StorefrontCartPanel/index.js";
4
+ function C({
5
+ lines: r,
6
+ itemCount: e,
7
+ totalPerDayMinor: i,
8
+ estimatedDays: m,
9
+ estimatedTotalMinor: s,
10
+ discountedEstimatedTotalMinor: a,
11
+ discountAmountMinor: c,
12
+ couponCode: n,
13
+ durationLabel: l,
14
+ onQuantityChange: u,
15
+ onRemove: p
16
+ }) {
17
+ const { t } = d();
18
+ return /* @__PURE__ */ o("div", { className: "lg:col-span-5", children: /* @__PURE__ */ o(
19
+ f,
20
+ {
21
+ lines: r,
22
+ itemCount: e,
23
+ totalPerDayMinor: i,
24
+ estimatedDays: m,
25
+ estimatedTotalMinor: s,
26
+ discountedEstimatedTotalMinor: a,
27
+ discountAmountMinor: c,
28
+ couponCode: n,
29
+ durationLabel: l,
30
+ title: t("checkout_summary_title"),
31
+ description: t("checkout_summary_description"),
32
+ editable: !0,
33
+ stickyTopClassName: "top-32",
34
+ onQuantityChange: u,
35
+ onRemove: p
36
+ }
37
+ ) });
38
+ }
39
+ export {
40
+ C as CheckoutSummaryColumn
41
+ };
@@ -0,0 +1,10 @@
1
+ import { z as t } from "zod";
2
+ const r = t.object({
3
+ full_name: t.string().trim().min(2),
4
+ email: t.string().trim().email(),
5
+ phone: t.string().trim().min(6).optional().or(t.literal("")),
6
+ notes: t.string().trim().max(2e3).optional().or(t.literal(""))
7
+ });
8
+ export {
9
+ r as checkoutFormSchema
10
+ };
@@ -0,0 +1,19 @@
1
+ export declare const DEFAULT_PLAYGROUND_DEV_SETTINGS: PlaygroundDevSettings;
2
+
3
+ export declare const isStorefrontPlaygroundRuntime: () => boolean;
4
+
5
+ export declare type PlaygroundDevSettings = {
6
+ heroMode: PlaygroundHeroMode;
7
+ };
8
+
9
+ export declare type PlaygroundHeroMode = "current_booking_hero" | "booking_bar_overlay_hero" | "vertical_marquee_hero";
10
+
11
+ export declare const readPlaygroundDevSettings: () => PlaygroundDevSettings;
12
+
13
+ export declare const resetPlaygroundDevSettings: () => void;
14
+
15
+ export declare const usePlaygroundDevSettings: () => PlaygroundDevSettings;
16
+
17
+ export declare const writePlaygroundDevSettings: (nextSettings: PlaygroundDevSettings) => void;
18
+
19
+ export { }
@@ -0,0 +1,35 @@
1
+ import { TFunction } from 'i18next';
2
+ import { z } from 'zod';
3
+
4
+ export declare function buildDailyPriceRows(prices: StorefrontPublicProductPrice[] | undefined, locale: string): DailyPriceRow[];
5
+
6
+ export declare function buildPriceTierLabels(prices: StorefrontPublicProductPrice[] | undefined, locale: string, t: TFunction): string[];
7
+
8
+ export declare function calculateDailyPriceForQuantity(prices: StorefrontPublicProductPrice[] | undefined, dayCount: number): number | null;
9
+
10
+ export declare type DailyPriceRow = {
11
+ dayCount: number;
12
+ totalPriceLabel: string;
13
+ perDayPriceLabel: string;
14
+ };
15
+
16
+ export declare const formatStorefrontPriceMinor: (valueMinor: number, locale: string, { currency }?: {
17
+ currency?: string;
18
+ }) => string;
19
+
20
+ declare type StorefrontPublicProductPrice = z.infer<typeof storefrontPublicProductPriceSchema>;
21
+
22
+ declare const storefrontPublicProductPriceSchema: z.ZodObject<{
23
+ value: z.ZodNumber;
24
+ unit: z.ZodEnum<{
25
+ hour: "hour";
26
+ half_day: "half_day";
27
+ day: "day";
28
+ week: "week";
29
+ month: "month";
30
+ }>;
31
+ quantity: z.ZodNumber;
32
+ currency: z.ZodOptional<z.ZodString>;
33
+ }, z.core.$strip>;
34
+
35
+ export { }
@@ -0,0 +1,25 @@
1
+ import { CSSProperties } from 'react';
2
+ import { z } from 'zod';
3
+
4
+ declare type ProductImageContainerStyle = {
5
+ className: string;
6
+ style?: CSSProperties;
7
+ };
8
+
9
+ export declare const resolveProductImageContainerStyle: (primaryImageStyle?: StorefrontPublicImageStyle) => ProductImageContainerStyle;
10
+
11
+ declare type StorefrontPublicImageStyle = z.infer<typeof storefrontPublicImageStyleSchema>;
12
+
13
+ declare const storefrontPublicImageStyleSchema: z.ZodObject<{
14
+ bgMode: z.ZodEnum<{
15
+ transparent: "transparent";
16
+ solid: "solid";
17
+ complex: "complex";
18
+ }>;
19
+ bgColor: z.ZodOptional<z.ZodString>;
20
+ needsLightBorder: z.ZodDefault<z.ZodBoolean>;
21
+ confidence: z.ZodOptional<z.ZodNumber>;
22
+ analyzerVersion: z.ZodOptional<z.ZodNumber>;
23
+ }, z.core.$strip>;
24
+
25
+ export { }
@@ -0,0 +1,16 @@
1
+ export declare function getProductVariantAttributeValue(variant: ProductVariantLike, key: string): string | undefined;
2
+
3
+ export declare function getProductVariantDisplay(variant: ProductVariantLike): {
4
+ label: string;
5
+ description?: string;
6
+ };
7
+
8
+ export declare const getStorefrontProductVariantDisplay: typeof getProductVariantDisplay;
9
+
10
+ declare type ProductVariantLike = {
11
+ id?: unknown;
12
+ computedName?: unknown;
13
+ attributes?: unknown;
14
+ };
15
+
16
+ export { }