@loczer/storefront-sdk 0.243.0 → 0.245.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 (339) hide show
  1. package/dist/StorefrontProvider.d.ts +1 -1
  2. package/dist/StorefrontProvider.d.ts.map +1 -1
  3. package/dist/StorefrontProvider.js +4 -1
  4. package/dist/chunks/_virtual/_rolldown/{runtime-B5ovbsoX.js → runtime-DpZa9pCg.js} +2 -2
  5. package/dist/chunks/node_modules/@emotion/is-prop-valid/dist/{emotion-is-prop-valid.esm-6voMhWrN.js → emotion-is-prop-valid.esm-D9ze9ppN.js} +2 -2
  6. package/dist/chunks/node_modules/@emotion/memoize/dist/{emotion-memoize.esm-CbcNHeNh.js → emotion-memoize.esm-sGdSSg82.js} +1 -1
  7. package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/{PopChild-DVb6X_PO.js → PopChild-C8mc9qQ1.js} +2 -2
  8. package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/{PresenceChild-DyihLa7p.js → PresenceChild-DpkfTOqF.js} +1 -1
  9. package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/{index-DmhaitYv.js → index-CCinwqZ4.js} +1 -1
  10. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/{VisualElementDragControls-BP560JFy.js → VisualElementDragControls-ehmc8ew3.js} +4 -4
  11. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/{index-DH25rbJs.js → index-J8tZUjyC.js} +1 -1
  12. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/{focus-D5PGq15I.js → focus-QRFsm9N6.js} +2 -2
  13. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/pan/{PanSession-DQk2Dv3G.js → PanSession-sLXp8p5d.js} +1 -1
  14. package/dist/chunks/node_modules/framer-motion/dist/es/gestures/pan/{index-CSmtHc88.js → index-Xxp3TAsP.js} +1 -1
  15. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animation/{index-BxVBcgYs.js → index-sdX-6EwE.js} +1 -1
  16. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{animations-D8nAGh1h.js → animations-Do3vJ57n.js} +1 -1
  17. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{definitions-D5AEjfKY.js → definitions-CrLGvrIW.js} +1 -1
  18. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{drag-Ilu0wLsZ.js → drag-D43Pfu5N.js} +3 -3
  19. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{gestures-NOCelRjM.js → gestures-d_VvxeG9.js} +1 -1
  20. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{layout-B_FwT4yv.js → layout-CH7VeP6a.js} +1 -1
  21. package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{load-features-BzH6YCRU.js → load-features-Dc-tYT1C.js} +2 -2
  22. package/dist/chunks/node_modules/framer-motion/dist/es/motion/{index-Nj9omPyM.js → index-BzvHDqTG.js} +6 -6
  23. package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/{use-motion-ref-B42kEDKi.js → use-motion-ref-b2ngB2oB.js} +6 -5
  24. package/dist/chunks/node_modules/framer-motion/dist/es/render/components/{create-proxy-CkstUqll.js → create-proxy-b3I_Abov.js} +1 -1
  25. package/dist/chunks/node_modules/framer-motion/dist/es/render/components/motion/{feature-bundle-DUpS38r2.js → feature-bundle-BPees4f2.js} +4 -4
  26. package/dist/chunks/node_modules/framer-motion/dist/es/render/components/motion/{proxy-DXxjnqei.js → proxy-CHoQ_ZRl.js} +3 -3
  27. package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/{create-visual-element-Da4IYVeR.js → create-visual-element-P5BfE5c-.js} +2 -2
  28. package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/{use-render-vjqx3wpA.js → use-render-XDKV9hl7.js} +3 -3
  29. package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/utils/{filter-props-8AWb0Fmy.js → filter-props-BHmAkqZq.js} +3 -3
  30. package/dist/chunks/node_modules/framer-motion/dist/es/render/html/{use-html-visual-state-B0BxPJ3u.js → use-html-visual-state-BwoylOjP.js} +1 -1
  31. package/dist/chunks/node_modules/framer-motion/dist/es/render/html/{use-props-D5zID_2s.js → use-props-DKjpQtOA.js} +2 -2
  32. package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/{use-props-MZrwg07L.js → use-props-BHBzwG-y.js} +2 -2
  33. package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/{use-svg-visual-state-pJSuuPIs.js → use-svg-visual-state-RrEwe-Jg.js} +1 -1
  34. package/dist/chunks/node_modules/mapbox-gl/dist/mapbox-gl-49Q9GS_J.js +51367 -0
  35. package/dist/chunks/node_modules/motion-dom/dist/es/animation/{AsyncMotionValueAnimation-CaTU1DM6.js → AsyncMotionValueAnimation-QkWJcmvx.js} +3 -3
  36. package/dist/chunks/node_modules/motion-dom/dist/es/animation/{JSAnimation-zfqrUSXR.js → JSAnimation-B3EkibvU.js} +5 -5
  37. package/dist/chunks/node_modules/motion-dom/dist/es/animation/{NativeAnimation-CfiXAYmD.js → NativeAnimation-PX7uv064.js} +1 -1
  38. package/dist/chunks/node_modules/motion-dom/dist/es/animation/{NativeAnimationExtended-BKiHRnbh.js → NativeAnimationExtended-DUr-8pW-.js} +3 -3
  39. package/dist/chunks/node_modules/motion-dom/dist/es/animation/animate/{single-value-66TFY3Ue.js → single-value-ylYRBACN.js} +2 -2
  40. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/{inertia-CSs70-4B.js → inertia-B4eMgMD9.js} +1 -1
  41. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/{keyframes-B8KsYraP.js → keyframes-BX4MJrAc.js} +4 -4
  42. package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/{spring-CEJsZ0ds.js → spring-C_F1KfbZ.js} +20 -18
  43. package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/{motion-value-Dpez8dQD.js → motion-value-BmihEEW1.js} +2 -2
  44. package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/{visual-element-DZ-rOn58.js → visual-element-CtkP5Gn5.js} +2 -2
  45. package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/{visual-element-target-C0xS2WGG.js → visual-element-target-DpGNCPE4.js} +2 -2
  46. package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/{visual-element-variant-B35oZvml.js → visual-element-variant-CxSEFpTW.js} +3 -2
  47. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/{DOMKeyframesResolver-_h9E3nwl.js → DOMKeyframesResolver-iSzLXXCF.js} +7 -5
  48. package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/{make-none-animatable-DZ2uKxwT.js → make-none-animatable-BInq-is-.js} +2 -2
  49. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/{can-animate-8-JdOSKl.js → can-animate-CIdIqiWo.js} +1 -1
  50. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/{is-animatable-C5hoiztj.js → is-animatable-BGX1Yix6.js} +1 -1
  51. package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/{replace-transition-type-BMiDtDGg.js → replace-transition-type-BVc4She4.js} +3 -3
  52. package/dist/chunks/node_modules/motion-dom/dist/es/projection/animation/{mix-values-CI36Bvu8.js → mix-values-CUtXHDNv.js} +1 -1
  53. package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/{DocumentProjectionNode-DO5yRSLp.js → DocumentProjectionNode-a4NjIj1Z.js} +1 -1
  54. package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/{HTMLProjectionNode-DPNJVDRP.js → HTMLProjectionNode-COUG5JKF.js} +2 -2
  55. package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/{create-projection-node-23wDIc4D.js → create-projection-node-DfFGqLfO.js} +10 -10
  56. package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/{scale-border-radius-o5vW8fHp.js → scale-border-radius-B3d55250.js} +4 -2
  57. package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/{scale-box-shadow-BhjA57xW.js → scale-box-shadow-CXM1wetm.js} +1 -1
  58. package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/{scale-correction-Dqs0DG_x.js → scale-correction-DYAhjuKS.js} +2 -2
  59. package/dist/chunks/node_modules/motion-dom/dist/es/render/{VisualElement-Q2WcJv6t.js → VisualElement-D4anjFHe.js} +8 -8
  60. package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/{DOMVisualElement-C0PGIt5i.js → DOMVisualElement-mXFQzxeX.js} +2 -2
  61. package/dist/chunks/node_modules/motion-dom/dist/es/render/html/{HTMLVisualElement-BlmAcWaG.js → HTMLVisualElement-BC0DN7kN.js} +3 -3
  62. package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/{build-styles-d8t31XT-.js → build-styles-C4WRC_7w.js} +4 -2
  63. package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/{scrape-motion-values-Dnanh7Pq.js → scrape-motion-values-Clsn6hBW.js} +1 -1
  64. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/{SVGVisualElement-CQOmrr3k.js → SVGVisualElement-BZJThkam.js} +4 -4
  65. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/{build-attrs-CfRsHEuP.js → build-attrs-BP0WdL-f.js} +1 -1
  66. package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/{scrape-motion-values-BZpmWNaV.js → scrape-motion-values-BV3zag64.js} +1 -1
  67. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/{animation-state-DDMO-7FQ.js → animation-state-7nc5cyDt.js} +1 -1
  68. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/{is-forced-motion-value-DJbn-QIQ.js → is-forced-motion-value-na4PRH8B.js} +1 -1
  69. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/{motion-values-BofpGQv9.js → motion-values-Jxbijqm2.js} +9 -7
  70. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/reduced-motion/{index-CBQsVFcz.js → index-C6y6_rcH.js} +6 -4
  71. package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/{setters-CAm56hbR.js → setters-cb40O846.js} +1 -1
  72. package/dist/chunks/node_modules/motion-dom/dist/es/resize/{handle-element-C0cdHgCp.js → handle-element-CZXdtHtQ.js} +1 -1
  73. package/dist/chunks/node_modules/motion-dom/dist/es/resize/{index-BxIqM2kA.js → index-B0TFHCzC.js} +1 -1
  74. package/dist/chunks/node_modules/motion-dom/dist/es/utils/{interpolate-CzC1L8ZO.js → interpolate-DaT00cIL.js} +6 -2
  75. package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/{complex-BHS_05I4.js → complex-Dzjn5Hlx.js} +3 -3
  76. package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/{index-BRygSkxI.js → index-BTEusiQo.js} +1 -1
  77. package/dist/chunks/node_modules/motion-dom/dist/es/value/{index-Bwg0vVXH.js → index-DDb4jJZH.js} +1 -1
  78. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/{filter-ClIAXOZw.js → filter-9zFmXawI.js} +1 -1
  79. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/{index-grhmCqMW.js → index-kIkrRR12.js} +1 -1
  80. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/{mask-BwJciot3.js → mask-D3jErLqD.js} +1 -1
  81. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/{defaults-CUGdDi7c.js → defaults-DaVNIt_-.js} +2 -2
  82. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/{animatable-none-48Tgfh--.js → animatable-none-CG-S6RYF.js} +4 -4
  83. package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/{find-DcyXW-Sp.js → find-lgXuo3rG.js} +1 -1
  84. package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/{map-ldz_Xg06.js → map-Bo5YYj4g.js} +2 -2
  85. package/dist/chunks/node_modules/motion-utils/dist/es/{subscription-manager-B1v5ik_R.js → subscription-manager-B_Ro4fGW.js} +6 -4
  86. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/date/index-DOKIsFm0.js +1 -0
  87. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/date/{mini-CSEBo1ZP.js → mini-BrzKaarB.js} +32 -17
  88. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/index-DnORfqv6.js +4 -0
  89. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/tz/index-T2rXFLAn.js +1 -0
  90. package/dist/chunks/pkg/booking-engine/dist/{pricing-BJaynUu_.js → pricing-kF_if7gh.js} +1 -1
  91. package/dist/chunks/pkg/booking-engine/dist/schemas/{base-booking-D9S-zS-D.js → base-booking-CDvf2otC.js} +1 -1
  92. package/dist/chunks/pkg/booking-engine/dist/schemas/{insurance-v2GZHSVq.js → insurance-DPNjf8J2.js} +1 -1
  93. package/dist/chunks/pkg/booking-engine/dist/{schemas-B82mPOxs.js → schemas-C4LrjyTw.js} +2 -2
  94. package/dist/chunks/pkg/booking-engine/dist/utils/{schedule-ssRov9xe.js → schedule-BxFtoe9n.js} +2 -2
  95. package/dist/chunks/pkg/booking-engine/dist/utils/{timezone-B6XIbBPz.js → timezone-JBbwrzTd.js} +2 -2
  96. package/dist/chunks/pkg/ui/dist/{Dialog-CczmPDwY.js → Dialog-C7SJ1avA.js} +1 -1
  97. package/dist/chunks/pkg/ui/dist/Drawer/{index-Dp62Y2o5.js → index-CFC5ZQKl.js} +1 -1
  98. package/dist/chunks/pkg/ui/dist/Map/{MapContent-BgCi-wZr.js → MapContent-iwk3GnoZ.js} +4 -4
  99. package/dist/chunks/pkg/ui/dist/{Map-DCNW_9J_.js → Map-hqJFsVdw.js} +1 -1
  100. package/dist/chunks/pkg/ui/dist/{MorphingModalWizard-Q8O5Rjfq.js → MorphingModalWizard-DlRlB0NU.js} +1 -1
  101. package/dist/chunks/pkg/ui/dist/{ResponsiveDialog-BJ0RG6gh.js → ResponsiveDialog-g_bq80AX.js} +2 -2
  102. package/dist/chunks/pkg/ui/dist/lib/{body-pointer-events-DLBTed3C.js → body-pointer-events-E0eBpW9g.js} +1 -1
  103. package/dist/components/AboutSection/index.d.ts +1 -1
  104. package/dist/components/AboutSection/index.d.ts.map +1 -1
  105. package/dist/components/AddressAutocompleteInput/index.js +1 -1
  106. package/dist/components/AdminFloatingButton/AdminFloatingButton.d.ts +1 -1
  107. package/dist/components/AdminFloatingButton/AdminFloatingButton.d.ts.map +1 -1
  108. package/dist/components/BikeProductCard/index.d.ts +1 -1
  109. package/dist/components/BikeProductCard/index.d.ts.map +1 -1
  110. package/dist/components/BookingBikeQuickAddCard/index.d.ts +1 -1
  111. package/dist/components/BookingBikeQuickAddCard/index.d.ts.map +1 -1
  112. package/dist/components/BookingBikeQuickAddCard/index.js +2 -2
  113. package/dist/components/BookingBikeVariantDialog/index.d.ts +1 -1
  114. package/dist/components/BookingBikeVariantDialog/index.d.ts.map +1 -1
  115. package/dist/components/BookingBikeVariantDialog/index.js +2 -2
  116. package/dist/components/BookingFlowPageLayout/index.d.ts +1 -1
  117. package/dist/components/BookingFlowPageLayout/index.d.ts.map +1 -1
  118. package/dist/components/BookingFlowSteps/index.d.ts +1 -1
  119. package/dist/components/BookingFlowSteps/index.d.ts.map +1 -1
  120. package/dist/components/BookingPeriodSelector/BookingPeriodContext.d.ts +1 -1
  121. package/dist/components/BookingPeriodSelector/BookingPeriodContext.d.ts.map +1 -1
  122. package/dist/components/BookingPeriodSelector/components/BookingEndDateField.d.ts +1 -1
  123. package/dist/components/BookingPeriodSelector/components/BookingEndDateField.d.ts.map +1 -1
  124. package/dist/components/BookingPeriodSelector/components/BookingEndDateField.js +1 -1
  125. package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.d.ts +1 -1
  126. package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.d.ts.map +1 -1
  127. package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +1 -1
  128. package/dist/components/BookingPeriodSelector/components/BookingMobileDateDrawer.d.ts +1 -1
  129. package/dist/components/BookingPeriodSelector/components/BookingMobileDateDrawer.d.ts.map +1 -1
  130. package/dist/components/BookingPeriodSelector/components/BookingMobileDateDrawer.js +3 -3
  131. package/dist/components/BookingPeriodSelector/components/BookingPeriodFieldErrorMessage.d.ts +1 -1
  132. package/dist/components/BookingPeriodSelector/components/BookingPeriodFieldErrorMessage.d.ts.map +1 -1
  133. package/dist/components/BookingPeriodSelector/components/BookingStartDateField.d.ts +1 -1
  134. package/dist/components/BookingPeriodSelector/components/BookingStartDateField.d.ts.map +1 -1
  135. package/dist/components/BookingPeriodSelector/components/BookingStartDateField.js +1 -1
  136. package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.d.ts +1 -1
  137. package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.d.ts.map +1 -1
  138. package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +1 -1
  139. package/dist/components/BookingPeriodSelector/components/BookingTimeSlotsStatus.d.ts +1 -1
  140. package/dist/components/BookingPeriodSelector/components/BookingTimeSlotsStatus.d.ts.map +1 -1
  141. package/dist/components/BookingPeriodSelector/components/internal/BookingHourPickerField.d.ts +1 -1
  142. package/dist/components/BookingPeriodSelector/components/internal/BookingHourPickerField.d.ts.map +1 -1
  143. package/dist/components/BookingPeriodSelector/components/internal/ModalDayPickerField.d.ts +1 -1
  144. package/dist/components/BookingPeriodSelector/components/internal/ModalDayPickerField.d.ts.map +1 -1
  145. package/dist/components/BookingPeriodSelector/components/internal/ModalDayPickerField.js +2 -2
  146. package/dist/components/BookingPeriodSelector/components/internal/StorefrontHourPickerField.d.ts +2 -2
  147. package/dist/components/BookingPeriodSelector/components/internal/StorefrontHourPickerField.d.ts.map +1 -1
  148. package/dist/components/BookingPeriodSelector/components/internal/StorefrontHourPickerField.js +5 -5
  149. package/dist/components/BookingPeriodSelector/index.d.ts +1 -1
  150. package/dist/components/BookingPeriodSelector/index.d.ts.map +1 -1
  151. package/dist/components/BookingPeriodSelector/useBookingPeriodController.js +20 -16
  152. package/dist/components/ContactSection/index.d.ts +1 -1
  153. package/dist/components/ContactSection/index.d.ts.map +1 -1
  154. package/dist/components/ContactSection/index.js +69 -69
  155. package/dist/components/ContractSaleDocument/AcceptanceModal.d.ts +1 -1
  156. package/dist/components/ContractSaleDocument/AcceptanceModal.d.ts.map +1 -1
  157. package/dist/components/ContractSaleDocument/DocumentAcceptanceSection.d.ts +1 -1
  158. package/dist/components/ContractSaleDocument/DocumentAcceptanceSection.d.ts.map +1 -1
  159. package/dist/components/ContractSaleDocument/Invoice.d.ts +1 -1
  160. package/dist/components/ContractSaleDocument/Invoice.d.ts.map +1 -1
  161. package/dist/components/ContractSaleDocument/InvoiceDetails.d.ts +1 -1
  162. package/dist/components/ContractSaleDocument/InvoiceDetails.d.ts.map +1 -1
  163. package/dist/components/ContractSaleDocument/PageFooter.d.ts +1 -1
  164. package/dist/components/ContractSaleDocument/PageFooter.d.ts.map +1 -1
  165. package/dist/components/ContractSaleDocument/PageHeader.d.ts +1 -1
  166. package/dist/components/ContractSaleDocument/PageHeader.d.ts.map +1 -1
  167. package/dist/components/ContractSaleDocument/SignatureModal.d.ts +1 -1
  168. package/dist/components/ContractSaleDocument/SignatureModal.d.ts.map +1 -1
  169. package/dist/components/ContractSaleDocument/TermsAndConditionsContent.d.ts +1 -1
  170. package/dist/components/ContractSaleDocument/TermsAndConditionsContent.d.ts.map +1 -1
  171. package/dist/components/ContractSaleDocument/ThumbnailSidebar.d.ts +1 -1
  172. package/dist/components/ContractSaleDocument/ThumbnailSidebar.d.ts.map +1 -1
  173. package/dist/components/DelayedReveal/index.d.ts +2 -2
  174. package/dist/components/DelayedReveal/index.d.ts.map +1 -1
  175. package/dist/components/DeliveryAddressSelector/index.d.ts +1 -1
  176. package/dist/components/DeliveryAddressSelector/index.d.ts.map +1 -1
  177. package/dist/components/FaqSection/index.d.ts +1 -1
  178. package/dist/components/FaqSection/index.d.ts.map +1 -1
  179. package/dist/components/Footer/BusinessHours.d.ts +1 -1
  180. package/dist/components/Footer/BusinessHours.d.ts.map +1 -1
  181. package/dist/components/Footer/BusinessHours.js +12 -12
  182. package/dist/components/Footer/BusinessHoursOverviewDialog.d.ts +1 -1
  183. package/dist/components/Footer/BusinessHoursOverviewDialog.d.ts.map +1 -1
  184. package/dist/components/Footer/BusinessHoursOverviewDialog.js +1 -1
  185. package/dist/components/Footer/businessHoursStatus.js +1 -1
  186. package/dist/components/Footer/index.d.ts +1 -1
  187. package/dist/components/Footer/index.d.ts.map +1 -1
  188. package/dist/components/FulfillmentSection/index.d.ts +1 -1
  189. package/dist/components/FulfillmentSection/index.d.ts.map +1 -1
  190. package/dist/components/FulfillmentSection/index.js +1 -1
  191. package/dist/components/Header/index.d.ts +1 -1
  192. package/dist/components/Header/index.d.ts.map +1 -1
  193. package/dist/components/Itineraries/ItinerariesSection.d.ts +1 -1
  194. package/dist/components/Itineraries/ItinerariesSection.d.ts.map +1 -1
  195. package/dist/components/Itineraries/ItineraryListItem.d.ts +1 -1
  196. package/dist/components/Itineraries/ItineraryListItem.d.ts.map +1 -1
  197. package/dist/components/Itineraries/ItineraryRouteMap.d.ts +1 -1
  198. package/dist/components/Itineraries/ItineraryRouteMap.d.ts.map +1 -1
  199. package/dist/components/LanguageSelector/index.d.ts +1 -1
  200. package/dist/components/LanguageSelector/index.d.ts.map +1 -1
  201. package/dist/components/Layout/index.d.ts +1 -1
  202. package/dist/components/Layout/index.d.ts.map +1 -1
  203. package/dist/components/Map/index.js +1 -1
  204. package/dist/components/PlatformFooter/index.d.ts +1 -1
  205. package/dist/components/PlatformFooter/index.d.ts.map +1 -1
  206. package/dist/components/PlaygroundDevFloatingButton/index.d.ts +1 -1
  207. package/dist/components/PlaygroundDevFloatingButton/index.d.ts.map +1 -1
  208. package/dist/components/PoweredByLoczerBadge/index.d.ts +1 -1
  209. package/dist/components/PoweredByLoczerBadge/index.d.ts.map +1 -1
  210. package/dist/components/ProductPriceBadge/index.d.ts +1 -1
  211. package/dist/components/ProductPriceBadge/index.d.ts.map +1 -1
  212. package/dist/components/ProductPriceBadge/index.js +2 -2
  213. package/dist/components/ProductWarningNotice/index.d.ts +1 -1
  214. package/dist/components/ProductWarningNotice/index.d.ts.map +1 -1
  215. package/dist/components/SignatureInput/index.js +1 -1
  216. package/dist/components/SignatureInput.d.ts +1 -1
  217. package/dist/components/SignatureInput.d.ts.map +1 -1
  218. package/dist/components/StepSectionTitle/index.d.ts +1 -1
  219. package/dist/components/StepSectionTitle/index.d.ts.map +1 -1
  220. package/dist/components/StorefrontCancellationPolicyNotice/index.d.ts +1 -1
  221. package/dist/components/StorefrontCancellationPolicyNotice/index.d.ts.map +1 -1
  222. package/dist/components/StorefrontCancellationPolicyNotice/index.js +1 -1
  223. package/dist/components/StorefrontCartPanel/index.d.ts +1 -1
  224. package/dist/components/StorefrontCartPanel/index.d.ts.map +1 -1
  225. package/dist/components/StorefrontInformationDocument/index.d.ts +2 -2
  226. package/dist/components/StorefrontInformationDocument/index.d.ts.map +1 -1
  227. package/dist/components/StorefrontInsuranceNotice/index.d.ts +1 -1
  228. package/dist/components/StorefrontInsuranceNotice/index.d.ts.map +1 -1
  229. package/dist/components/StorefrontInsuranceNotice/index.js +1 -1
  230. package/dist/components/StorefrontPopupMessages/index.d.ts +1 -1
  231. package/dist/components/StorefrontPopupMessages/index.d.ts.map +1 -1
  232. package/dist/components/StorefrontPopupMessages/index.js +2 -2
  233. package/dist/components/TestimonialsSection/index.d.ts +2 -1
  234. package/dist/components/TestimonialsSection/index.d.ts.map +1 -1
  235. package/dist/components/TestimonialsSection/index.js +16 -16
  236. package/dist/components/WhatsAppFloatingButton/WhatsAppFloatingButton.d.ts +1 -1
  237. package/dist/components/WhatsAppFloatingButton/WhatsAppFloatingButton.d.ts.map +1 -1
  238. package/dist/components/payment/MollieCardFieldsForm.d.ts +1 -1
  239. package/dist/components/payment/MollieCardFieldsForm.d.ts.map +1 -1
  240. package/dist/components/payment/StripeCardFieldsForm.d.ts +1 -1
  241. package/dist/components/payment/StripeCardFieldsForm.d.ts.map +1 -1
  242. package/dist/i18n/I18nProvider.d.ts +1 -1
  243. package/dist/i18n/I18nProvider.d.ts.map +1 -1
  244. package/dist/i18n/I18nProvider.js +3 -3
  245. package/dist/index.d.ts +57 -56
  246. package/dist/index.js +3 -3
  247. package/dist/lib/booking-period.js +3 -3
  248. package/dist/lib/booking.js +7 -7
  249. package/dist/lib/cart.d.ts +1 -1
  250. package/dist/lib/cart.d.ts.map +1 -1
  251. package/dist/lib/cart.js +1 -1
  252. package/dist/lib/checkoutSubmit.js +1 -1
  253. package/dist/lib/contractSaleDocumentApi.d.ts +22 -22
  254. package/dist/lib/floatingButtonCollision.js +1 -1
  255. package/dist/lib/pricing.js +2 -2
  256. package/dist/lib/storefrontAddress.js +1 -1
  257. package/dist/pages/BookingPage.d.ts +1 -1
  258. package/dist/pages/BookingPage.d.ts.map +1 -1
  259. package/dist/pages/CheckoutPage.d.ts +1 -1
  260. package/dist/pages/CheckoutPage.d.ts.map +1 -1
  261. package/dist/pages/CheckoutPaymentPage.d.ts +1 -1
  262. package/dist/pages/CheckoutPaymentPage.d.ts.map +1 -1
  263. package/dist/pages/CheckoutSuccessPage.d.ts +1 -1
  264. package/dist/pages/CheckoutSuccessPage.d.ts.map +1 -1
  265. package/dist/pages/ContractSaleDocumentPage.d.ts +1 -1
  266. package/dist/pages/ContractSaleDocumentPage.d.ts.map +1 -1
  267. package/dist/pages/ContractSaleDocumentPage.js +9 -6
  268. package/dist/pages/ErrorPage.d.ts +1 -1
  269. package/dist/pages/ErrorPage.d.ts.map +1 -1
  270. package/dist/pages/HomePage.d.ts +1 -1
  271. package/dist/pages/HomePage.d.ts.map +1 -1
  272. package/dist/pages/HomePage.js +1 -1
  273. package/dist/pages/InsuranceTermsPage.d.ts +1 -1
  274. package/dist/pages/InsuranceTermsPage.d.ts.map +1 -1
  275. package/dist/pages/InsuranceTermsPage.js +2 -2
  276. package/dist/pages/ItinerariesPage.d.ts +1 -1
  277. package/dist/pages/ItinerariesPage.d.ts.map +1 -1
  278. package/dist/pages/ItineraryDetailsPage.d.ts +1 -1
  279. package/dist/pages/ItineraryDetailsPage.d.ts.map +1 -1
  280. package/dist/pages/NotFoundPage.d.ts +1 -1
  281. package/dist/pages/NotFoundPage.d.ts.map +1 -1
  282. package/dist/pages/PaymentLinkPage.d.ts +1 -1
  283. package/dist/pages/PaymentLinkPage.d.ts.map +1 -1
  284. package/dist/pages/PaymentLinkSuccessPage.d.ts +1 -1
  285. package/dist/pages/PaymentLinkSuccessPage.d.ts.map +1 -1
  286. package/dist/pages/ProductPage.d.ts +1 -1
  287. package/dist/pages/ProductPage.d.ts.map +1 -1
  288. package/dist/pages/ProductPage.js +8 -8
  289. package/dist/pages/RentalTermsPage.d.ts +1 -1
  290. package/dist/pages/RentalTermsPage.d.ts.map +1 -1
  291. package/dist/pages/checkout/components/CheckoutBookingPeriodSummary.d.ts +1 -1
  292. package/dist/pages/checkout/components/CheckoutBookingPeriodSummary.d.ts.map +1 -1
  293. package/dist/pages/checkout/components/CheckoutCouponCard.d.ts +1 -1
  294. package/dist/pages/checkout/components/CheckoutCouponCard.d.ts.map +1 -1
  295. package/dist/pages/checkout/components/CheckoutDetailsCard.d.ts +1 -1
  296. package/dist/pages/checkout/components/CheckoutDetailsCard.d.ts.map +1 -1
  297. package/dist/pages/checkout/components/CheckoutDetailsCard.js +1 -1
  298. package/dist/pages/checkout/components/CheckoutInsuranceCard.d.ts +1 -1
  299. package/dist/pages/checkout/components/CheckoutInsuranceCard.d.ts.map +1 -1
  300. package/dist/pages/checkout/components/CheckoutLoadingSkeleton.d.ts +1 -1
  301. package/dist/pages/checkout/components/CheckoutLoadingSkeleton.d.ts.map +1 -1
  302. package/dist/pages/checkout/components/CheckoutMobileSummaryDrawer.d.ts +1 -1
  303. package/dist/pages/checkout/components/CheckoutMobileSummaryDrawer.d.ts.map +1 -1
  304. package/dist/pages/checkout/components/CheckoutPaymentCard.d.ts +1 -1
  305. package/dist/pages/checkout/components/CheckoutPaymentCard.d.ts.map +1 -1
  306. package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts +1 -1
  307. package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts.map +1 -1
  308. package/dist/pages/checkout/components/MollieCheckoutForm.d.ts +1 -1
  309. package/dist/pages/checkout/components/MollieCheckoutForm.d.ts.map +1 -1
  310. package/dist/pages/checkout/components/StripeCheckoutForm.d.ts +1 -1
  311. package/dist/pages/checkout/components/StripeCheckoutForm.d.ts.map +1 -1
  312. package/dist/pages/itineraries/ElevationProfile.d.ts +1 -1
  313. package/dist/pages/itineraries/ElevationProfile.d.ts.map +1 -1
  314. package/dist/pages/itineraries/ElevationProfile.js +1 -1
  315. package/dist/routes.d.ts +1 -1
  316. package/dist/storefront.css +1 -1
  317. package/dist/storefrontSchemas.d.ts +3 -3
  318. package/dist/storefrontSchemas.js +1 -1
  319. package/dist/ui/badge.d.ts +1 -1
  320. package/dist/ui/badge.d.ts.map +1 -1
  321. package/dist/ui/card.d.ts +7 -7
  322. package/dist/ui/card.d.ts.map +1 -1
  323. package/dist/ui/day-picker.d.ts +1 -1
  324. package/dist/ui/day-picker.d.ts.map +1 -1
  325. package/dist/ui/drawer.d.ts +4 -4
  326. package/dist/ui/drawer.d.ts.map +1 -1
  327. package/dist/ui/form.d.ts +8 -8
  328. package/dist/ui/form.d.ts.map +1 -1
  329. package/dist/ui/select.d.ts +1 -1
  330. package/dist/ui/select.d.ts.map +1 -1
  331. package/dist/ui/theme.d.ts +1 -1
  332. package/dist/ui/theme.d.ts.map +1 -1
  333. package/dist/ui/tooltip.d.ts +2 -2
  334. package/dist/ui/tooltip.d.ts.map +1 -1
  335. package/package.json +17 -17
  336. package/dist/chunks/node_modules/mapbox-gl/dist/mapbox-gl-C3MzR-4r.js +0 -44953
  337. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/date/index-DAbcklF5.js +0 -1
  338. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/index--u3Qf-qy.js +0 -4
  339. package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/tz/index-CEcibV-H.js +0 -1
@@ -6,7 +6,7 @@ import { jsx as s } from "react/jsx-runtime";
6
6
  import { I18nextProvider as c } from "react-i18next";
7
7
  import { createInstance as l } from "i18next";
8
8
  //#region src/i18n/I18nProvider.tsx
9
- var u = "storefront", d = "loczer_storefront_lng", f = "loczer_storefront_lng", p = 3600 * 24 * 365, m = [...e], h = "en", g = {
9
+ var u = "storefront", d = "loczer_storefront_lng", f = "loczer_storefront_lng", p = 31536e3, m = [...e], h = "en", g = {
10
10
  en: { [u]: n },
11
11
  fr: { [u]: r }
12
12
  }, _ = (e, n) => {
@@ -51,7 +51,7 @@ var u = "storefront", d = "loczer_storefront_lng", f = "loczer_storefront_lng",
51
51
  }
52
52
  return t(navigator.language);
53
53
  }, w = (e, t) => typeof window > "u" ? _(e, t) : v(document.cookie) ?? S() ?? x() ?? C() ?? _(e, t), T = (e) => {
54
- if (!(typeof window > "u")) {
54
+ if (typeof window < "u") {
55
55
  try {
56
56
  window.localStorage.setItem(d, e);
57
57
  } catch {}
@@ -87,7 +87,7 @@ function A({ initialLanguage: e, configuredLanguages: n, configuredFallbackLangu
87
87
  return t(e.language) !== p && e.changeLanguage(p), e;
88
88
  });
89
89
  return i(() => {
90
- !d || m.current === d || (m.current = d, t(h.language) !== d && h.changeLanguage(d));
90
+ d && m.current !== d && (m.current = d, t(h.language) !== d && h.changeLanguage(d));
91
91
  }, [h, d]), /* @__PURE__ */ s(c, {
92
92
  i18n: h,
93
93
  defaultNS: u,
package/dist/index.d.ts CHANGED
@@ -3,11 +3,12 @@ import { ClassValue } from 'clsx';
3
3
  import { ComponentPropsWithoutRef } from 'react';
4
4
  import { Context } from 'react';
5
5
  import { ControllerProps } from '@rpcbase/form';
6
+ import { default as default_2 } from 'react';
6
7
  import { FieldError } from 'react-hook-form';
7
8
  import { FieldPath } from '@rpcbase/form';
8
9
  import { FieldValues } from '@rpcbase/form';
9
10
  import { FormProviderProps } from 'react-hook-form';
10
- import { JSX } from 'react/jsx-runtime';
11
+ import { JSX } from 'react';
11
12
  import { LoaderArgs } from '@rpcbase/client';
12
13
  import { Locale } from 'date-fns';
13
14
  import { MouseEventHandler } from 'react';
@@ -169,25 +170,25 @@ export declare const acceptContractSaleDocumentResponseSchema: z.ZodObject<{
169
170
  }>>;
170
171
  issuerSignature: z.ZodOptional<z.ZodString>;
171
172
  notes: z.ZodOptional<z.ZodString>;
172
- date: z.ZodPreprocess<z.ZodDate>;
173
- dueDate: z.ZodPreprocess<z.ZodDate>;
173
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
174
+ dueDate: z.ZodPreprocess<z.ZodDate, unknown>;
174
175
  rental: z.ZodOptional<z.ZodObject<{
175
176
  bookingNumber: z.ZodString;
176
177
  pickupAddress: z.ZodOptional<z.ZodString>;
177
178
  returnAddress: z.ZodOptional<z.ZodString>;
178
179
  timeZone: z.ZodOptional<z.ZodString>;
179
- start: z.ZodPreprocess<z.ZodDate>;
180
- end: z.ZodPreprocess<z.ZodDate>;
180
+ start: z.ZodPreprocess<z.ZodDate, unknown>;
181
+ end: z.ZodPreprocess<z.ZodDate, unknown>;
181
182
  }, z.core.$strip>>;
182
183
  acceptance: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
183
184
  mode: z.ZodLiteral<"acceptance">;
184
- date: z.ZodPreprocess<z.ZodDate>;
185
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
185
186
  }, z.core.$strip>, z.ZodObject<{
186
187
  mode: z.ZodLiteral<"signature">;
187
188
  name: z.ZodString;
188
189
  phone: z.ZodString;
189
190
  signature: z.ZodString;
190
- date: z.ZodPreprocess<z.ZodDate>;
191
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
191
192
  }, z.core.$strip>], "mode">>;
192
193
  }, z.core.$strip>>;
193
194
  reference: z.ZodOptional<z.ZodObject<{
@@ -288,7 +289,7 @@ export declare const assetIdSchema: z.ZodPipe<z.ZodString, z.ZodTransform<string
288
289
 
289
290
  export declare function Badge({ className, variant, asChild, ...props }: React_2.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
290
291
  asChild?: boolean;
291
- }): JSX.Element;
292
+ }): React_2.JSX.Element;
292
293
 
293
294
  export declare const badgeVariants: (props?: ({
294
295
  variant?: "default" | "secondary" | "outline" | "destructive" | null | undefined;
@@ -360,9 +361,9 @@ export declare const baseBookingSchema: z.ZodObject<{
360
361
  }>;
361
362
  shopId: z.ZodString;
362
363
  customer: z.ZodObject<{
363
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
364
- email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
365
- phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
364
+ name: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
365
+ email: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
366
+ phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
366
367
  message: z.ZodOptional<z.ZodObject<{
367
368
  version: z.ZodLiteral<1>;
368
369
  json: z.ZodString;
@@ -637,9 +638,9 @@ export declare const BOOKING_SEARCH_KEYS: readonly ["fulfillment", "start_date",
637
638
  export declare type BookingCustomerInput = z.infer<typeof bookingCustomerInputSchema>;
638
639
 
639
640
  export declare const bookingCustomerInputSchema: z.ZodObject<{
640
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
641
- email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
642
- phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
641
+ name: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
642
+ email: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
643
+ phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
643
644
  message: z.ZodOptional<z.ZodObject<{
644
645
  version: z.ZodLiteral<1>;
645
646
  json: z.ZodString;
@@ -1008,19 +1009,19 @@ export declare const cancellationPolicyTierSchema: z.ZodObject<{
1008
1009
  refundPercentage: z.ZodNumber;
1009
1010
  }, z.core.$strip>;
1010
1011
 
1011
- export declare function Card({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
1012
+ export declare function Card({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
1012
1013
 
1013
- export declare function CardAction({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
1014
+ export declare function CardAction({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
1014
1015
 
1015
- export declare function CardContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
1016
+ export declare function CardContent({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
1016
1017
 
1017
- export declare function CardDescription({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
1018
+ export declare function CardDescription({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
1018
1019
 
1019
- export declare function CardFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
1020
+ export declare function CardFooter({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
1020
1021
 
1021
- export declare function CardHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
1022
+ export declare function CardHeader({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
1022
1023
 
1023
- export declare function CardTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
1024
+ export declare function CardTitle({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
1024
1025
 
1025
1026
  export declare type CartItemInput = z.infer<typeof cartItemInputSchema>;
1026
1027
 
@@ -1114,18 +1115,18 @@ export declare type ContractSaleDocumentApiAcceptanceRecord = z.infer<typeof con
1114
1115
 
1115
1116
  export declare const contractSaleDocumentApiAcceptanceRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1116
1117
  mode: z.ZodLiteral<"acceptance">;
1117
- date: z.ZodPreprocess<z.ZodDate>;
1118
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
1118
1119
  }, z.core.$strip>, z.ZodObject<{
1119
1120
  mode: z.ZodLiteral<"signature">;
1120
1121
  name: z.ZodString;
1121
1122
  phone: z.ZodString;
1122
1123
  signature: z.ZodString;
1123
- date: z.ZodPreprocess<z.ZodDate>;
1124
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
1124
1125
  }, z.core.$strip>], "mode">;
1125
1126
 
1126
1127
  export declare const contractSaleDocumentApiAcceptanceSchema: z.ZodObject<{
1127
1128
  mode: z.ZodLiteral<"acceptance">;
1128
- date: z.ZodPreprocess<z.ZodDate>;
1129
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
1129
1130
  }, z.core.$strip>;
1130
1131
 
1131
1132
  export declare const contractSaleDocumentApiSchema: z.ZodObject<{
@@ -1252,25 +1253,25 @@ export declare const contractSaleDocumentApiSchema: z.ZodObject<{
1252
1253
  }>>;
1253
1254
  issuerSignature: z.ZodOptional<z.ZodString>;
1254
1255
  notes: z.ZodOptional<z.ZodString>;
1255
- date: z.ZodPreprocess<z.ZodDate>;
1256
- dueDate: z.ZodPreprocess<z.ZodDate>;
1256
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
1257
+ dueDate: z.ZodPreprocess<z.ZodDate, unknown>;
1257
1258
  rental: z.ZodOptional<z.ZodObject<{
1258
1259
  bookingNumber: z.ZodString;
1259
1260
  pickupAddress: z.ZodOptional<z.ZodString>;
1260
1261
  returnAddress: z.ZodOptional<z.ZodString>;
1261
1262
  timeZone: z.ZodOptional<z.ZodString>;
1262
- start: z.ZodPreprocess<z.ZodDate>;
1263
- end: z.ZodPreprocess<z.ZodDate>;
1263
+ start: z.ZodPreprocess<z.ZodDate, unknown>;
1264
+ end: z.ZodPreprocess<z.ZodDate, unknown>;
1264
1265
  }, z.core.$strip>>;
1265
1266
  acceptance: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1266
1267
  mode: z.ZodLiteral<"acceptance">;
1267
- date: z.ZodPreprocess<z.ZodDate>;
1268
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
1268
1269
  }, z.core.$strip>, z.ZodObject<{
1269
1270
  mode: z.ZodLiteral<"signature">;
1270
1271
  name: z.ZodString;
1271
1272
  phone: z.ZodString;
1272
1273
  signature: z.ZodString;
1273
- date: z.ZodPreprocess<z.ZodDate>;
1274
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
1274
1275
  }, z.core.$strip>], "mode">>;
1275
1276
  }, z.core.$strip>;
1276
1277
 
@@ -1281,7 +1282,7 @@ export declare const contractSaleDocumentApiSignatureSchema: z.ZodObject<{
1281
1282
  name: z.ZodString;
1282
1283
  phone: z.ZodString;
1283
1284
  signature: z.ZodString;
1284
- date: z.ZodPreprocess<z.ZodDate>;
1285
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
1285
1286
  }, z.core.$strip>;
1286
1287
 
1287
1288
  export declare type ContractSaleDocumentAppendix = z.infer<typeof contractSaleDocumentAppendixSchema>;
@@ -1605,9 +1606,9 @@ export declare type CreateBookingInput = z.input<typeof createBookingInputSchema
1605
1606
 
1606
1607
  export declare const createBookingInputBaseSchema: z.ZodObject<{
1607
1608
  customer: z.ZodObject<{
1608
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
1609
- email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
1610
- phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
1609
+ name: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
1610
+ email: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
1611
+ phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
1611
1612
  message: z.ZodOptional<z.ZodObject<{
1612
1613
  version: z.ZodLiteral<1>;
1613
1614
  json: z.ZodString;
@@ -1644,9 +1645,9 @@ export declare const createBookingInputBaseSchema: z.ZodObject<{
1644
1645
 
1645
1646
  export declare const createBookingInputSchema: z.ZodObject<{
1646
1647
  customer: z.ZodObject<{
1647
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
1648
- email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
1649
- phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
1648
+ name: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
1649
+ email: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
1650
+ phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
1650
1651
  message: z.ZodOptional<z.ZodObject<{
1651
1652
  version: z.ZodLiteral<1>;
1652
1653
  json: z.ZodString;
@@ -1852,7 +1853,7 @@ declare type FooterProps = {
1852
1853
  showInsuranceTerms?: boolean;
1853
1854
  };
1854
1855
 
1855
- export declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, handleSubmit, unregister, control, register, setFocus, subscribe, }: FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React_2.JSX.Element;
1856
+ export declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getErrors, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, resetDefaultValues, handleSubmit, unregister, control, register, setFocus, subscribe, }: FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React_2.JSX.Element;
1856
1857
 
1857
1858
  export declare function formatBookingReference(params: {
1858
1859
  workspaceTrackingPrefix: string;
@@ -1879,17 +1880,17 @@ export declare const formatStorefrontPriceMinor: (valueMinor: number, locale: st
1879
1880
  currency?: string;
1880
1881
  }) => string;
1881
1882
 
1882
- export declare function FormControl({ ...props }: React_2.ComponentProps<typeof Slot>): JSX.Element;
1883
+ export declare function FormControl({ ...props }: React_2.ComponentProps<typeof Slot>): React_2.JSX.Element;
1883
1884
 
1884
- export declare function FormDescription({ className, ...props }: React_2.ComponentProps<"p">): JSX.Element;
1885
+ export declare function FormDescription({ className, ...props }: React_2.ComponentProps<"p">): React_2.JSX.Element;
1885
1886
 
1886
- export declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => JSX.Element;
1887
+ export declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React_2.JSX.Element;
1887
1888
 
1888
- export declare function FormItem({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
1889
+ export declare function FormItem({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
1889
1890
 
1890
- export declare function FormLabel({ className, ...props }: React_2.ComponentProps<typeof Label>): JSX.Element;
1891
+ export declare function FormLabel({ className, ...props }: React_2.ComponentProps<typeof Label>): React_2.JSX.Element;
1891
1892
 
1892
- export declare function FormMessage({ className, ...props }: React_2.ComponentProps<"p">): JSX.Element | null;
1893
+ export declare function FormMessage({ className, ...props }: React_2.ComponentProps<"p">): React_2.JSX.Element | null;
1893
1894
 
1894
1895
  export declare type FulfillmentMode = z.infer<typeof fulfillmentModeSchema>;
1895
1896
 
@@ -2053,25 +2054,25 @@ export declare const getContractSaleDocumentResponseSchema: z.ZodObject<{
2053
2054
  }>>;
2054
2055
  issuerSignature: z.ZodOptional<z.ZodString>;
2055
2056
  notes: z.ZodOptional<z.ZodString>;
2056
- date: z.ZodPreprocess<z.ZodDate>;
2057
- dueDate: z.ZodPreprocess<z.ZodDate>;
2057
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
2058
+ dueDate: z.ZodPreprocess<z.ZodDate, unknown>;
2058
2059
  rental: z.ZodOptional<z.ZodObject<{
2059
2060
  bookingNumber: z.ZodString;
2060
2061
  pickupAddress: z.ZodOptional<z.ZodString>;
2061
2062
  returnAddress: z.ZodOptional<z.ZodString>;
2062
2063
  timeZone: z.ZodOptional<z.ZodString>;
2063
- start: z.ZodPreprocess<z.ZodDate>;
2064
- end: z.ZodPreprocess<z.ZodDate>;
2064
+ start: z.ZodPreprocess<z.ZodDate, unknown>;
2065
+ end: z.ZodPreprocess<z.ZodDate, unknown>;
2065
2066
  }, z.core.$strip>>;
2066
2067
  acceptance: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2067
2068
  mode: z.ZodLiteral<"acceptance">;
2068
- date: z.ZodPreprocess<z.ZodDate>;
2069
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
2069
2070
  }, z.core.$strip>, z.ZodObject<{
2070
2071
  mode: z.ZodLiteral<"signature">;
2071
2072
  name: z.ZodString;
2072
2073
  phone: z.ZodString;
2073
2074
  signature: z.ZodString;
2074
- date: z.ZodPreprocess<z.ZodDate>;
2075
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
2075
2076
  }, z.core.$strip>], "mode">>;
2076
2077
  }, z.core.$strip>>;
2077
2078
  reference: z.ZodOptional<z.ZodObject<{
@@ -3307,7 +3308,7 @@ export declare const richTextVersionSchema: z.ZodLiteral<1>;
3307
3308
 
3308
3309
  export declare const ROUTE = "/api/public/storefront/contact-form";
3309
3310
 
3310
- export declare function Select({ value, defaultValue, onValueChange, open, defaultOpen, onOpenChange, children, }: SelectProps): JSX.Element;
3311
+ export declare function Select({ value, defaultValue, onValueChange, open, defaultOpen, onOpenChange, children, }: SelectProps): React_2.JSX.Element;
3311
3312
 
3312
3313
  export declare const SelectContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & {
3313
3314
  position?: "popper" | "item-aligned";
@@ -4044,7 +4045,7 @@ export declare const storefrontConfigurationSchema: z.ZodObject<{
4044
4045
  json: z.ZodString;
4045
4046
  html: z.ZodString;
4046
4047
  text: z.ZodString;
4047
- }, z.core.$strict>>>>;
4048
+ }, z.core.$strict>>, unknown>>;
4048
4049
  imageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
4049
4050
  }, z.core.$strip>>>;
4050
4051
  faq: z.ZodDefault<z.ZodObject<{
@@ -4198,7 +4199,7 @@ export declare const storefrontContentSchema: z.ZodObject<{
4198
4199
  json: z.ZodString;
4199
4200
  html: z.ZodString;
4200
4201
  text: z.ZodString;
4201
- }, z.core.$strict>>>>;
4202
+ }, z.core.$strict>>, unknown>>;
4202
4203
  imageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
4203
4204
  }, z.core.$strip>>>;
4204
4205
  faq: z.ZodDefault<z.ZodObject<{
@@ -5908,7 +5909,7 @@ export declare const storefrontModalMessageSchema: z.ZodObject<{
5908
5909
  json: z.ZodString;
5909
5910
  html: z.ZodString;
5910
5911
  text: z.ZodString;
5911
- }, z.core.$strict>>>>;
5912
+ }, z.core.$strict>>, unknown>>;
5912
5913
  imageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
5913
5914
  }, z.core.$strip>;
5914
5915
 
@@ -6498,7 +6499,7 @@ declare type StoreOpeningSlot = {
6498
6499
  end: string;
6499
6500
  };
6500
6501
 
6501
- export declare const TestimonialsSection: () => JSX.Element | null;
6502
+ export declare const TestimonialsSection: () => default_2.JSX.Element | null;
6502
6503
 
6503
6504
  export declare const Textarea: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React_2.RefAttributes<HTMLTextAreaElement>>;
6504
6505
 
@@ -6537,7 +6538,7 @@ export declare const useFormField: () => {
6537
6538
  isDirty: boolean;
6538
6539
  isTouched: boolean;
6539
6540
  isValidating: boolean;
6540
- error?: FieldError;
6541
+ error?: FieldError | undefined;
6541
6542
  id: string;
6542
6543
  name: string;
6543
6544
  formItemId: string;
package/dist/index.js CHANGED
@@ -10,11 +10,11 @@ import { isoDateSchema as z, shopConfigurationSchema as B, shopExtraTimeSlotRule
10
10
  import { DEFAULT_CANCELLATION_POLICY as J, DEFAULT_PAYMENT_POLICIES as Y, cancellationPolicySchema as X, cancellationPolicyTierSchema as Z, paymentPoliciesSchema as Q } from "./chunks/pkg/booking-engine/dist/schemas/booking-engine-configuration-CxKlxKCo.js";
11
11
  import { fulfillmentModeSchema as $, publicBookingEngineConfigurationSchema as ee, publicCheckoutConfigurationSchema as te, publicCheckoutDynamicOptionsSchema as ne } from "./chunks/pkg/booking-engine/dist/schemas/public-booking-engine-configuration-BwWn9aK0.js";
12
12
  import { DEFAULT_BOOKING_DELIVERY_OPTION as re, bookingCustomerInputSchema as ie, bookingDeliveryOptionSchema as ae, bookingScheduleInputSchema as oe, cartItemInputSchema as se, createBookingInputBaseSchema as ce, createBookingInputSchema as le, resolveBookingDeliveryOption as ue, validateBookingDeliveryAddress as de } from "./chunks/pkg/booking-engine/dist/schemas/cart-inputs-CIeuiTzp.js";
13
- import { bookingInsuranceConsentSourceSchema as fe, bookingInsuranceItemSnapshotSchema as pe, bookingInsuranceSnapshotSchema as me, buildBookingInsuranceSnapshot as he, calculateInsuranceCalendarDays as ge, insuranceProviderSchema as _e } from "./chunks/pkg/booking-engine/dist/schemas/insurance-v2GZHSVq.js";
13
+ import { bookingInsuranceConsentSourceSchema as fe, bookingInsuranceItemSnapshotSchema as pe, bookingInsuranceSnapshotSchema as me, buildBookingInsuranceSnapshot as he, calculateInsuranceCalendarDays as ge, insuranceProviderSchema as _e } from "./chunks/pkg/booking-engine/dist/schemas/insurance-DPNjf8J2.js";
14
14
  import { resolveOpeningHoursForDate as ve, resolveOpeningHoursPeriodForDate as ye } from "./chunks/pkg/booking-engine/dist/utils/opening-hours-period-TCyLhzZw.js";
15
15
  import { assetIdSchema as be, baseAssetSchema as xe, baseAssetStatusSchema as Se } from "./chunks/pkg/booking-engine/dist/schemas/base-asset-DtBfhenO.js";
16
- import { baseBookingItemSchema as Ce, baseBookingSchema as we, baseBookingStateSchema as Te } from "./chunks/pkg/booking-engine/dist/schemas/base-booking-D9S-zS-D.js";
17
- import "./chunks/pkg/booking-engine/dist/schemas-B82mPOxs.js";
16
+ import { baseBookingItemSchema as Ce, baseBookingSchema as we, baseBookingStateSchema as Te } from "./chunks/pkg/booking-engine/dist/schemas/base-booking-CDvf2otC.js";
17
+ import "./chunks/pkg/booking-engine/dist/schemas-C4LrjyTw.js";
18
18
  import { STOREFRONT_HERO_MODES as Ee, storefrontCheckoutModeSchema as De, storefrontConfigurationSchema as Oe, storefrontContentSchema as ke, storefrontFaqAdditionalLinkSchema as Ae, storefrontFaqItemSchema as je, storefrontFaqSchema as Me, storefrontFulfillmentModeSchema as Ne, storefrontHeroModeSchema as Pe, storefrontInformationSchema as Fe, storefrontLocalizedRichTextSchema as Ie, storefrontModalMessageSchema as Le, storefrontModulesSchema as Re, storefrontReviewsModuleSchema as ze, storefrontRichTextSchema as Be, storefrontSettingsSchema as Ve, storefrontShopSchema as He, storefrontStatusSchema as Ue, storefrontWorkspaceSchema as We } from "./storefrontSchemas.js";
19
19
  import { BOOKING_SEARCH_KEYS as Ge, TIME_OPTIONS as Ke, applyBookingParamsToSearch as qe, createBookingPeriodConfigFromBookingEngineConfiguration as Je, createBookingPeriodConfigFromShopConfiguration as Ye, createBookingPeriodConfigFromStorefrontConfiguration as Xe, getBookingParamsFromSearch as Ze, getBookingSessionStorageKey as Qe, getDefaultBookingParams as $e, getDefaultBookingParamsForStorefrontConfiguration as et, pickBookingSearchParams as tt, readBookingSearchParamsFromSessionStorage as nt, readBookingSearchParamsFromStorage as rt, resolveBookingSearchParams as it, resolveBookingSearchParamsFromSessionStorage as at, writeBookingSearchParamsToSessionStorage as ot, writeBookingSearchParamsToStorage as st } from "./lib/booking.js";
20
20
  import { getLocalizedEntry as ct, getLocalizedValue as lt } from "./localization.js";
@@ -1,6 +1,6 @@
1
- import { __exportAll as e } from "../chunks/_virtual/_rolldown/runtime-B5ovbsoX.js";
1
+ import { __exportAll as e } from "../chunks/_virtual/_rolldown/runtime-DpZa9pCg.js";
2
2
  import { resolveOpeningHoursForDate as t } from "../chunks/pkg/booking-engine/dist/utils/opening-hours-period-TCyLhzZw.js";
3
- import "../chunks/pkg/booking-engine/dist/schemas-B82mPOxs.js";
3
+ import "../chunks/pkg/booking-engine/dist/schemas-C4LrjyTw.js";
4
4
  //#region src/lib/booking-period.ts
5
5
  var n = /* @__PURE__ */ e({
6
6
  adjustBookingPeriod: () => M,
@@ -220,7 +220,7 @@ var n = /* @__PURE__ */ e({
220
220
  let { year: t, month: n, day: r } = v(e);
221
221
  if (x(t, n, r)) return b(t, n, r);
222
222
  }, C = (e) => {
223
- if (!(!e || Number.isNaN(e.getTime()))) return b(e.getFullYear(), e.getMonth() + 1, e.getDate());
223
+ if (e && !Number.isNaN(e.getTime())) return b(e.getFullYear(), e.getMonth() + 1, e.getDate());
224
224
  }, w = (e, t) => {
225
225
  if (!Number.isNaN(e.getTime())) return g(e, t, {
226
226
  year: "numeric",
@@ -1,5 +1,5 @@
1
1
  import { DEFAULT_BOOKING_DELIVERY_OPTION as e } from "../chunks/pkg/booking-engine/dist/schemas/cart-inputs-CIeuiTzp.js";
2
- import "../chunks/pkg/booking-engine/dist/schemas-B82mPOxs.js";
2
+ import "../chunks/pkg/booking-engine/dist/schemas-C4LrjyTw.js";
3
3
  import { getDefaultBookingPeriod as t, parseTimeToMinutes as n } from "./booking-period.js";
4
4
  import { format as r } from "date-fns";
5
5
  //#region src/lib/booking.ts
@@ -52,16 +52,16 @@ var i = [
52
52
  let n = e.checkout.dynamicOptions?.sameDayCutoff;
53
53
  return g(e.shop, { sameDayCutoff: t.sameDayCutoff ?? n });
54
54
  }, v = (e) => _(e.bookingEngine, { sameDayCutoff: e.settings.sameDayCutoff }), y = (n, r = /* @__PURE__ */ new Date()) => {
55
- let i = t({
56
- config: v(n),
55
+ let i = v(n), a = t({
56
+ config: i,
57
57
  referenceDate: r
58
58
  });
59
59
  return {
60
60
  fulfillment: e,
61
- startDate: o(i.startDate),
62
- startTime: i.startTime,
63
- endDate: o(i.endDate),
64
- endTime: i.endTime,
61
+ startDate: o(a.startDate),
62
+ startTime: a.startTime,
63
+ endDate: o(a.endDate),
64
+ endTime: a.endTime,
65
65
  startAddress: "",
66
66
  endAddress: ""
67
67
  };
@@ -30,7 +30,7 @@ export declare function StorefrontCartProvider({ storeSlug, products, children,
30
30
  storeSlug: string;
31
31
  products: StorefrontProductsCollections;
32
32
  children: ReactNode;
33
- }): import("react/jsx-runtime").JSX.Element;
33
+ }): import("react").JSX.Element;
34
34
  export declare const useStorefrontCart: () => StorefrontCartContextValue;
35
35
  export {};
36
36
  //# sourceMappingURL=cart.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cart.d.ts","sourceRoot":"","sources":["../../src/lib/cart.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAE5G,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,6BAA6B,EACnC,MAAM,YAAY,CAAA;AAGnB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,WAAW,CAAA;IACrC,SAAS,EAAE,MAAM,CAAA;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AASD,KAAK,4BAA4B,GAAG;IAClC,iBAAiB,EAAE,MAAM,CAAA;IACzB,yBAAyB,CAAC,EAAE,MAAM,CAAA;CACnC,CAAA;AAED,KAAK,0BAA0B,GAAG;IAChC,KAAK,EAAE,kBAAkB,EAAE,CAAA;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,kBAAkB,EAAE,KAAK,CAAC,GAAG;QAAE,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IAC3E,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IACpD,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,uBAAuB,EAAE,MAAM,4BAA4B,CAAA;IAC3D,6BAA6B,EAAE,CAAC,iBAAiB,EAAE,MAAM,KAAK,IAAI,CAAA;IAClE,oBAAoB,EAAE,MAAM,IAAI,CAAA;IAChC,KAAK,EAAE,MAAM,IAAI,CAAA;CAClB,CAAA;AAiBD,eAAO,MAAM,gCAAgC,GAC3C,MAAM,kBAAkB,EACxB,UAAU,6BAA6B,KACtC,iBAAiB,GAAG,IAQtB,CAAA;AAmED,wBAAgB,sBAAsB,CAAC,EACrC,SAAS,EACT,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,6BAA6B,CAAA;IACvC,QAAQ,EAAE,SAAS,CAAA;CACpB,2CAgLA;AAED,eAAO,MAAM,iBAAiB,kCAM7B,CAAA"}
1
+ {"version":3,"file":"cart.d.ts","sourceRoot":"","sources":["../../src/lib/cart.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAE5G,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,6BAA6B,EACnC,MAAM,YAAY,CAAA;AAGnB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,WAAW,CAAA;IACrC,SAAS,EAAE,MAAM,CAAA;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AASD,KAAK,4BAA4B,GAAG;IAClC,iBAAiB,EAAE,MAAM,CAAA;IACzB,yBAAyB,CAAC,EAAE,MAAM,CAAA;CACnC,CAAA;AAED,KAAK,0BAA0B,GAAG;IAChC,KAAK,EAAE,kBAAkB,EAAE,CAAA;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,kBAAkB,EAAE,KAAK,CAAC,GAAG;QAAE,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IAC3E,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IACpD,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,uBAAuB,EAAE,MAAM,4BAA4B,CAAA;IAC3D,6BAA6B,EAAE,CAAC,iBAAiB,EAAE,MAAM,KAAK,IAAI,CAAA;IAClE,oBAAoB,EAAE,MAAM,IAAI,CAAA;IAChC,KAAK,EAAE,MAAM,IAAI,CAAA;CAClB,CAAA;AAiBD,eAAO,MAAM,gCAAgC,GAC3C,MAAM,kBAAkB,EACxB,UAAU,6BAA6B,KACtC,iBAAiB,GAAG,IAQtB,CAAA;AAmED,wBAAgB,sBAAsB,CAAC,EACrC,SAAS,EACT,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,6BAA6B,CAAA;IACvC,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAgLA;AAED,eAAO,MAAM,iBAAiB,kCAM7B,CAAA"}
package/dist/lib/cart.js CHANGED
@@ -45,7 +45,7 @@ function h({ storeSlug: e, products: t, children: r }) {
45
45
  let e = m(window.localStorage.getItem(f));
46
46
  v((t) => !h && t.items.length > 0 ? t : e), g(!0);
47
47
  }, [f]), i(() => {
48
- typeof window > "u" || h && window.localStorage.setItem(f, JSON.stringify(_));
48
+ typeof window < "u" && h && window.localStorage.setItem(f, JSON.stringify(_));
49
49
  }, [
50
50
  h,
51
51
  _,
@@ -1,7 +1,7 @@
1
1
  import { productKindSchema as e } from "../chunks/pkg/booking-engine/dist/models/Product.shared-JIXwUVrg.js";
2
2
  import { bookingReferenceSchema as t } from "../chunks/pkg/booking-engine/dist/schemas/booking-reference-DLKcpIa4.js";
3
3
  import { DEFAULT_BOOKING_DELIVERY_OPTION as n, bookingScheduleInputSchema as r } from "../chunks/pkg/booking-engine/dist/schemas/cart-inputs-CIeuiTzp.js";
4
- import "../chunks/pkg/booking-engine/dist/schemas-B82mPOxs.js";
4
+ import "../chunks/pkg/booking-engine/dist/schemas-C4LrjyTw.js";
5
5
  import { storefrontFulfillmentModeSchema as i } from "../storefrontSchemas.js";
6
6
  import { z as a } from "zod";
7
7
  //#region src/lib/checkoutSubmit.ts
@@ -16,7 +16,7 @@ export declare const contractSaleDocumentReferenceSchema: z.ZodObject<{
16
16
  export type ContractSaleDocumentReference = z.infer<typeof contractSaleDocumentReferenceSchema>;
17
17
  export declare const contractSaleDocumentApiAcceptanceSchema: z.ZodObject<{
18
18
  mode: z.ZodLiteral<"acceptance">;
19
- date: z.ZodPreprocess<z.ZodDate>;
19
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
20
20
  }, z.core.$strip>;
21
21
  export type ContractSaleDocumentApiAcceptance = z.infer<typeof contractSaleDocumentApiAcceptanceSchema>;
22
22
  export declare const contractSaleDocumentApiSignatureSchema: z.ZodObject<{
@@ -24,18 +24,18 @@ export declare const contractSaleDocumentApiSignatureSchema: z.ZodObject<{
24
24
  name: z.ZodString;
25
25
  phone: z.ZodString;
26
26
  signature: z.ZodString;
27
- date: z.ZodPreprocess<z.ZodDate>;
27
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
28
28
  }, z.core.$strip>;
29
29
  export type ContractSaleDocumentApiSignature = z.infer<typeof contractSaleDocumentApiSignatureSchema>;
30
30
  export declare const contractSaleDocumentApiAcceptanceRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
31
31
  mode: z.ZodLiteral<"acceptance">;
32
- date: z.ZodPreprocess<z.ZodDate>;
32
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
33
33
  }, z.core.$strip>, z.ZodObject<{
34
34
  mode: z.ZodLiteral<"signature">;
35
35
  name: z.ZodString;
36
36
  phone: z.ZodString;
37
37
  signature: z.ZodString;
38
- date: z.ZodPreprocess<z.ZodDate>;
38
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
39
39
  }, z.core.$strip>], "mode">;
40
40
  export type ContractSaleDocumentApiAcceptanceRecord = z.infer<typeof contractSaleDocumentApiAcceptanceRecordSchema>;
41
41
  export declare const contractSaleDocumentApiSchema: z.ZodObject<{
@@ -162,25 +162,25 @@ export declare const contractSaleDocumentApiSchema: z.ZodObject<{
162
162
  }>>;
163
163
  issuerSignature: z.ZodOptional<z.ZodString>;
164
164
  notes: z.ZodOptional<z.ZodString>;
165
- date: z.ZodPreprocess<z.ZodDate>;
166
- dueDate: z.ZodPreprocess<z.ZodDate>;
165
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
166
+ dueDate: z.ZodPreprocess<z.ZodDate, unknown>;
167
167
  rental: z.ZodOptional<z.ZodObject<{
168
168
  bookingNumber: z.ZodString;
169
169
  pickupAddress: z.ZodOptional<z.ZodString>;
170
170
  returnAddress: z.ZodOptional<z.ZodString>;
171
171
  timeZone: z.ZodOptional<z.ZodString>;
172
- start: z.ZodPreprocess<z.ZodDate>;
173
- end: z.ZodPreprocess<z.ZodDate>;
172
+ start: z.ZodPreprocess<z.ZodDate, unknown>;
173
+ end: z.ZodPreprocess<z.ZodDate, unknown>;
174
174
  }, z.core.$strip>>;
175
175
  acceptance: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
176
176
  mode: z.ZodLiteral<"acceptance">;
177
- date: z.ZodPreprocess<z.ZodDate>;
177
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
178
178
  }, z.core.$strip>, z.ZodObject<{
179
179
  mode: z.ZodLiteral<"signature">;
180
180
  name: z.ZodString;
181
181
  phone: z.ZodString;
182
182
  signature: z.ZodString;
183
- date: z.ZodPreprocess<z.ZodDate>;
183
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
184
184
  }, z.core.$strip>], "mode">>;
185
185
  }, z.core.$strip>;
186
186
  export type ContractSaleDocumentApi = z.infer<typeof contractSaleDocumentApiSchema>;
@@ -349,25 +349,25 @@ export declare const getContractSaleDocumentResponseSchema: z.ZodObject<{
349
349
  }>>;
350
350
  issuerSignature: z.ZodOptional<z.ZodString>;
351
351
  notes: z.ZodOptional<z.ZodString>;
352
- date: z.ZodPreprocess<z.ZodDate>;
353
- dueDate: z.ZodPreprocess<z.ZodDate>;
352
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
353
+ dueDate: z.ZodPreprocess<z.ZodDate, unknown>;
354
354
  rental: z.ZodOptional<z.ZodObject<{
355
355
  bookingNumber: z.ZodString;
356
356
  pickupAddress: z.ZodOptional<z.ZodString>;
357
357
  returnAddress: z.ZodOptional<z.ZodString>;
358
358
  timeZone: z.ZodOptional<z.ZodString>;
359
- start: z.ZodPreprocess<z.ZodDate>;
360
- end: z.ZodPreprocess<z.ZodDate>;
359
+ start: z.ZodPreprocess<z.ZodDate, unknown>;
360
+ end: z.ZodPreprocess<z.ZodDate, unknown>;
361
361
  }, z.core.$strip>>;
362
362
  acceptance: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
363
363
  mode: z.ZodLiteral<"acceptance">;
364
- date: z.ZodPreprocess<z.ZodDate>;
364
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
365
365
  }, z.core.$strip>, z.ZodObject<{
366
366
  mode: z.ZodLiteral<"signature">;
367
367
  name: z.ZodString;
368
368
  phone: z.ZodString;
369
369
  signature: z.ZodString;
370
- date: z.ZodPreprocess<z.ZodDate>;
370
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
371
371
  }, z.core.$strip>], "mode">>;
372
372
  }, z.core.$strip>>;
373
373
  reference: z.ZodOptional<z.ZodObject<{
@@ -523,25 +523,25 @@ export declare const acceptContractSaleDocumentResponseSchema: z.ZodObject<{
523
523
  }>>;
524
524
  issuerSignature: z.ZodOptional<z.ZodString>;
525
525
  notes: z.ZodOptional<z.ZodString>;
526
- date: z.ZodPreprocess<z.ZodDate>;
527
- dueDate: z.ZodPreprocess<z.ZodDate>;
526
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
527
+ dueDate: z.ZodPreprocess<z.ZodDate, unknown>;
528
528
  rental: z.ZodOptional<z.ZodObject<{
529
529
  bookingNumber: z.ZodString;
530
530
  pickupAddress: z.ZodOptional<z.ZodString>;
531
531
  returnAddress: z.ZodOptional<z.ZodString>;
532
532
  timeZone: z.ZodOptional<z.ZodString>;
533
- start: z.ZodPreprocess<z.ZodDate>;
534
- end: z.ZodPreprocess<z.ZodDate>;
533
+ start: z.ZodPreprocess<z.ZodDate, unknown>;
534
+ end: z.ZodPreprocess<z.ZodDate, unknown>;
535
535
  }, z.core.$strip>>;
536
536
  acceptance: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
537
537
  mode: z.ZodLiteral<"acceptance">;
538
- date: z.ZodPreprocess<z.ZodDate>;
538
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
539
539
  }, z.core.$strip>, z.ZodObject<{
540
540
  mode: z.ZodLiteral<"signature">;
541
541
  name: z.ZodString;
542
542
  phone: z.ZodString;
543
543
  signature: z.ZodString;
544
- date: z.ZodPreprocess<z.ZodDate>;
544
+ date: z.ZodPreprocess<z.ZodDate, unknown>;
545
545
  }, z.core.$strip>], "mode">>;
546
546
  }, z.core.$strip>>;
547
547
  reference: z.ZodOptional<z.ZodObject<{
@@ -62,7 +62,7 @@ var { participants: i, activePairs: a } = r, o = (e, t) => [e, t].sort().join("\
62
62
  _ > t && c.moveBy(-s.normalX * _, -s.normalY * _);
63
63
  let v = Math.hypot(d.velocityX, d.velocityY);
64
64
  if (m && v >= 30 && !r.isDragging()) {
65
- let t = Math.max(v * (1 - e), 80);
65
+ let t = Math.max(v * .55, 80);
66
66
  r.kick(d.velocityX * e + s.normalX * t, d.velocityY * e + s.normalY * t);
67
67
  }
68
68
  }
@@ -1,6 +1,6 @@
1
1
  import { calculatePriceForQuantity as e } from "../chunks/pkg/booking-engine/dist/utils/pricing-CqXJ5fMP.js";
2
- import { calculateRentalQuantity as t, combineDateAndTime as n } from "../chunks/pkg/booking-engine/dist/utils/schedule-ssRov9xe.js";
3
- import "../chunks/pkg/booking-engine/dist/pricing-BJaynUu_.js";
2
+ import { calculateRentalQuantity as t, combineDateAndTime as n } from "../chunks/pkg/booking-engine/dist/utils/schedule-BxFtoe9n.js";
3
+ import "../chunks/pkg/booking-engine/dist/pricing-kF_if7gh.js";
4
4
  import { formatPriceMinor as r } from "./utils.js";
5
5
  //#region src/lib/pricing.ts
6
6
  var i = "EUR", a = "day", o = 8, s = (e) => [...e].sort((e, t) => e.quantity - t.quantity), c = (e) => e.find((e) => e.currency?.trim())?.currency?.trim() || i, l = (e) => Math.abs(e) % 100 == 0 ? {
@@ -11,7 +11,7 @@ var e = /^(?:[A-Z]{1,3}[-\s]*)?\d{4,10}(?:[-\s]+\d{3,4})?\s+/i, t = /^(\d+[A-Za-
11
11
  return t;
12
12
  }, i = (e, t) => {
13
13
  let r = n(t);
14
- !r || e.some((e) => n(e) === r) || e.push(t);
14
+ r && !e.some((e) => n(e) === r) && e.push(t);
15
15
  }, a = (a) => {
16
16
  let o = a?.address?.trim() ?? "";
17
17
  if (!o) return "";
@@ -1,2 +1,2 @@
1
- export default function BookingPage(): import("react/jsx-runtime").JSX.Element;
1
+ export default function BookingPage(): import("react").JSX.Element;
2
2
  //# sourceMappingURL=BookingPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BookingPage.d.ts","sourceRoot":"","sources":["../../src/pages/BookingPage.tsx"],"names":[],"mappings":"AA+MA,MAAM,CAAC,OAAO,UAAU,WAAW,4CA+qBlC"}
1
+ {"version":3,"file":"BookingPage.d.ts","sourceRoot":"","sources":["../../src/pages/BookingPage.tsx"],"names":[],"mappings":"AA+MA,MAAM,CAAC,OAAO,UAAU,WAAW,gCA+qBlC"}
@@ -1,2 +1,2 @@
1
- export default function CheckoutPage(): import("react/jsx-runtime").JSX.Element;
1
+ export default function CheckoutPage(): import("react").JSX.Element;
2
2
  //# sourceMappingURL=CheckoutPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckoutPage.d.ts","sourceRoot":"","sources":["../../src/pages/CheckoutPage.tsx"],"names":[],"mappings":"AAuFA,MAAM,CAAC,OAAO,UAAU,YAAY,4CA2rBnC"}
1
+ {"version":3,"file":"CheckoutPage.d.ts","sourceRoot":"","sources":["../../src/pages/CheckoutPage.tsx"],"names":[],"mappings":"AAuFA,MAAM,CAAC,OAAO,UAAU,YAAY,gCA2rBnC"}
@@ -1,2 +1,2 @@
1
- export default function CheckoutPaymentPage(): import("react/jsx-runtime").JSX.Element;
1
+ export default function CheckoutPaymentPage(): import("react").JSX.Element;
2
2
  //# sourceMappingURL=CheckoutPaymentPage.d.ts.map