@loczer/storefront-sdk 0.217.0 → 0.218.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/_virtual/_rolldown/{runtime-CkxIErRK.js → runtime-B5ovbsoX.js} +12 -5
- package/dist/chunks/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm-6voMhWrN.js +11 -0
- package/dist/chunks/node_modules/@emotion/memoize/dist/emotion-memoize.esm-CbcNHeNh.js +12 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild-DVb6X_PO.js +61 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild-DyihLa7p.js +53 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/index-DmhaitYv.js +60 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence-Cig9mH3B.js +20 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/utils-MuK80fQc.js +11 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/LayoutGroupContext-CppToMHP.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/LazyContext-pz7xXPnk.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionConfigContext-CoJIbMbt.js +10 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionContext/create-Bn_I3YGX.js +17 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionContext/index-B9obK4sO.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/MotionContext/utils-ByjX9df_.js +15 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/PresenceContext-Cj2bJFe0.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext-DhUxGAwV.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/events/add-pointer-event-CHKBre-7.js +8 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/events/event-info-CIMY2v27.js +11 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls-BP560JFy.js +258 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/index-DH25rbJs.js +22 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints-uATfUwby.js +59 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/focus-D5PGq15I.js +27 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/hover-BSuPivdx.js +20 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/pan/PanSession-DQk2Dv3G.js +138 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/pan/index-CSmtHc88.js +42 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/press-jh5KkKLw.js +26 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animation/exit-C4vmhIuU.js +39 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animation/index-BxVBcgYs.js +25 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animations-D8nAGh1h.js +9 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/definitions-D5AEjfKY.js +51 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/drag-Ilu0wLsZ.js +15 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/gestures-NOCelRjM.js +13 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout-CiUIGE9r.js +61 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/layout-B_FwT4yv.js +9 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/load-features-BzH6YCRU.js +13 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/viewport/index-CulwEMSa.js +46 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/viewport/observers-x2xlB0Om.js +24 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/index-Nj9omPyM.js +70 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/symbol-BaRQvk9k.js +4 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref-B42kEDKi.js +21 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/use-visual-element-CG31NdKM.js +58 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/use-visual-state-C3wTD2F4.js +50 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/valid-prop-B-V3c3JM.js +7 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/components/create-proxy-CkstUqll.js +10 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle-DUpS38r2.js +13 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/components/motion/proxy-DXxjnqei.js +7 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/create-visual-element-Da4IYVeR.js +8 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/use-render-vjqx3wpA.js +21 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/utils/filter-props-8AWb0Fmy.js +19 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component-Dfh-TmXQ.js +7 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/html/use-html-visual-state-B0BxPJ3u.js +11 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/html/use-props-D5zID_2s.js +26 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/html/utils/create-render-state-dth6BoLB.js +9 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/lowercase-elements-C04v53NG.js +30 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/use-props-MZrwg07L.js +26 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state-pJSuuPIs.js +11 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state-b0r4UXLU.js +8 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/distance-DcZpIXTw.js +8 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/get-context-window-pYdCDRbN.js +4 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/is-browser-DaKd-mJB.js +4 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/is-ref-object-DfJ8Lr_g.js +6 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/use-composed-ref-EoyZU9bo.js +25 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/use-constant-B5X65PZe.js +9 -0
- package/dist/chunks/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect-D1bPqOsw.js +7 -0
- package/dist/chunks/node_modules/mapbox-gl/dist/{mapbox-gl-C3ih7CyM.js → mapbox-gl-C3MzR-4r.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation-CaTU1DM6.js +107 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/JSAnimation-zfqrUSXR.js +129 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/NativeAnimation-CfiXAYmD.js +84 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended-BKiHRnbh.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/animate/single-value-66TFY3Ue.js +10 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/drivers/frame-C46tnJcG.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/inertia-CSs70-4B.js +32 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/keyframes-B8KsYraP.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/spring-CEJsZ0ds.js +166 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration-N3fRuYmx.js +9 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing-CNVBTdyB.js +16 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator-CeGXg0jv.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/utils/velocity-NngCxIQM.js +9 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/motion-value-Dpez8dQD.js +45 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-DZ-rOn58.js +21 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target-C0xS2WGG.js +57 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant-B35oZvml.js +26 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver-_h9E3nwl.js +61 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver-BxwoVKip.js +67 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/get-final-BQVKjyPS.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default-DW_NtU-K.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill-D-JxRntL.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time-BCh-zgvS.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards-Dasqyq5W.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none-Boi7nzNq.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable-DZ2uKxwT.js +18 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion-CZVviGe6.js +36 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id-DKf-WdGO.js +5 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id-B3ocRUEp.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/WithPromise-Df7bJffn.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger-Zf1BbESP.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/can-animate-8-JdOSKl.js +18 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion-DbIMqS6o.js +25 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/default-transitions-DVnwrMKg.js +27 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/get-value-transition-5a_kRob8.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/is-animatable-C5hoiztj.js +5 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/is-css-variable-CyNVJBsm.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined-C1rwuBUy.js +19 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant-COWEl80Q.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type-BMiDtDGg.js +16 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/resolve-transition-BTqjVzCB.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier-J2lt5jeZ.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing-BD7Y9jJG.js +11 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/easing/supported-Cz-WgHfd.js +35 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation-ClEsx3cW.js +19 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi-DOBuuHlt.js +24 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values-D6fGw6G9.js +10 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator-BP_nJDar.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color-DlLrfl3t.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/linear-CfxAW4iV.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing-CXVzjJ-M.js +17 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/events/add-dom-event-CWEtxeZQ.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/batcher-DfPEJ0tV.js +30 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/frame-CKZTADU1.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/microtask-C0-dBzym.js +5 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/order-CHyaH5qN.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/render-step-CdDpWyF_.js +32 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/frameloop/sync-time-C_QyRCNd.js +15 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/drag/state/is-active-CVvtbTCK.js +10 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/drag/state/set-active-CDl0txXn.js +11 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/hover-rZyMySKA.js +36 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/index-CdNLBeeX.js +36 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible-DVnEOolg.js +21 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard-OEdF2Pgl.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/press/utils/state-Ebi7SIjG.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child-Bpzb9pAt.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer-CiELcwyf.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/gestures/utils/setup-51FdPiwb.js +16 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/animation/mix-values-CI36Bvu8.js +25 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/conversion-C53fTUL0.js +39 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/copy-DLOE8cY-.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-apply-D_7fQFIs.js +43 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-calc-CnWZkKos.js +30 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/delta-remove-BVg-RIJ5.js +29 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/models-d7gxmOp4.js +18 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/geometry/utils-DB_aXUBK.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode-DO5yRSLp.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode-DPNJVDRP.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/create-projection-node-23wDIc4D.js +584 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/state-DB-DwaXn.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/shared/stack-tv0ZE6-p.js +51 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius-o5vW8fHp.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow-BhjA57xW.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/scale-correction-Dqs0DG_x.js +17 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/transform-NKB2cwBd.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth-D4ki-lbA.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/each-axis-Bvmvr7Z2.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/flat-tree-DoVrrxxY.js +19 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/has-transform-MC2xCktm.js +18 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/utils/measure-9EHDTj-Q.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/Feature-BO-74BEK.js +9 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/VisualElement-Q2WcJv6t.js +204 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement-C0PGIt5i.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/is-css-var-Dp_b3naF.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/parse-transform-BhriW6XO.js +56 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/style-set-rv8o9V7z.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash-DkTMivH-.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement-BlmAcWaG.js +39 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/build-styles-d8t31XT-.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/build-transform-ses8bYxd.js +36 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/render-D0WyK2kl.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values-Dnanh7Pq.js +11 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/store-BtTKq2jY.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement-CQOmrr3k.js +40 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs-CfRsHEuP.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs-eLNLAV8t.js +28 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag-DmzYEr13.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/path-DrGKJJG-.js +15 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/render--nKPYECx.js +10 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values-BZpmWNaV.js +14 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/animation-state-DDMO-7FQ.js +135 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/get-variant-context-qR057mHU.js +19 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-animation-controls-B7ktiywN.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants-BTh61RuJ.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value-DJbn-QIQ.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target-BjHS8PGf.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/is-variant-label-CVoIfHaT.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/keys-position-6KzA4Ufp.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/keys-transform-D89O3jUI.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/motion-values-BofpGQv9.js +21 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index-CBQsVFcz.js +11 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state-ClY5PInV.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants-CctcYJsO.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/resolve-variants-YRQnmPS8.js +20 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/setters-CAm56hbR.js +20 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/shallow-compare-D_Ag1Ugh.js +10 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/variant-props-wnjnGla7.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/resize/handle-element-C0cdHgCp.js +37 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/resize/handle-window-CYcfJ-yc.js +22 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/resize/index-BxIqM2kA.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/stats/buffer-Ddx-OwOh.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/border-radius-BzX2eyPO.js +9 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/delay-CHrWJUrg.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/interpolate-CzC1L8ZO.js +33 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/is-html-element-C0nwVk_b.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/is-svg-element-DBzZMKGK.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/is-svg-svg-element-Ckc3gGsT.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/color-DWwiDYZb.js +30 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/complex-BHS_05I4.js +52 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/immediate-BKaWg21K.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/index-BRygSkxI.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/number-BQSwMPU1.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/visibility-Cskd_oLV.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/resolve-elements-Dtu6Z_Ty.js +14 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/flags-BurPNJ34.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/linear-easing-Pzz4ZlUa.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/memo-DC0cOD0o.js +9 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline-rru9B6Gb.js +5 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/index-Bwg0vVXH.js +92 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/auto-koixlyde.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/hex-D_nQPreB.js +19 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/hsla-UmYS8wgv.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba-DcyRElEM.js +21 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/index-N7DJKOLI.js +15 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/rgba-CdLIc-3D.js +15 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/color/utils-MnexfjLY.js +16 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/filter-ClIAXOZw.js +26 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/index-grhmCqMW.js +52 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/mask-BwJciot3.js +14 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/dimensions-DiF9rgiq.js +16 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/int-CXf2V5s3.js +8 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/defaults-CUGdDi7c.js +24 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/number-CbCxH6Jz.js +64 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/transform-KMLgKYda.js +32 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/numbers/index-DYQnrXRf.js +15 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/numbers/units-Cl3LhAl3.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/test-BkLtGGhq.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/animatable-none-48Tgfh--.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/color-regex-C3uB4EIr.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/find-DcyXW-Sp.js +12 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/float-regex-DjWNXroL.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/get-as-type-D-jDTeib.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/is-nullish-CqG_su_i.js +6 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/sanitize-CHpVppHV.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex-B5zaDk0y.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/utils/is-motion-value-DjNWSbJA.js +4 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value-B_1ESd5B.js +7 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/will-change/add-will-change-DBvewpY4.js +13 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/value/will-change/is-T16fSSX5.js +7 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/array-BBGK1j1b.js +10 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/clamp-B15uFKIC.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/anticipate-CGu5JxBr.js +5 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/back-Dx4ysBOm.js +7 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/circ-BQFsYAQF.js +6 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/cubic-bezier-ChP-yr8D.js +18 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/ease-aj5zpqzD.js +5 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/modifiers/mirror-DK1HENQt.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/modifiers/reverse-SiUI2DwA.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition-c8Afth9n.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/is-easing-array-5MLjLjPK.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/map-ldz_Xg06.js +31 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/errors-zYMa5JTQ.js +10 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/format-error-message-Dbn0S6vS.js +6 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/global-config-BqV2nflf.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/is-numerical-string-CiTQN66D.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/is-object-QQQynvgM.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/is-zero-value-string-Bss1UzBi.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/memo-CwaXJmzB.js +8 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/noop-DF4YCrc8.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/pipe-BweOLNhL.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/progress-B3YfSCwx.js +7 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/subscription-manager-B1v5ik_R.js +26 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/time-conversion-WGVLVIZI.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/velocity-per-second-Hq_yU5RD.js +4 -0
- package/dist/chunks/node_modules/motion-utils/dist/es/warn-once-CNQIsdRh.js +8 -0
- package/dist/chunks/pkg/booking-engine/dist/models/Product.shared-CWP_qule.js +71 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/base-asset-BhIOL2rP.js +23 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/base-booking-C9kJFMIu.js +69 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/{base-product-BJHQLX8t.js → base-product-Bde9lJQD.js} +2 -1
- package/dist/chunks/pkg/booking-engine/dist/schemas/cart-inputs-epi7FXIk.js +74 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas/{insurance-CPeHsTss.js → insurance-DXc34Bzy.js} +20 -19
- package/dist/chunks/pkg/booking-engine/dist/schemas/product-id--yyUTH1Y.js +5 -0
- package/dist/chunks/pkg/booking-engine/dist/schemas-DGn2a1my.js +15 -0
- package/dist/chunks/pkg/ui/dist/Map/{MapContent-TzYCv8ji.js → MapContent-BgCi-wZr.js} +2 -2
- package/dist/chunks/pkg/ui/dist/{Map-ZM-ZOU9P.js → Map-DCNW_9J_.js} +1 -1
- package/dist/chunks/pkg/ui/dist/{MorphingModalWizard-DOH1GYVR.js → MorphingModalWizard-j1CgFGLe.js} +0 -1
- package/dist/components/BookingBikeQuickAddCard/index.js +37 -36
- package/dist/components/BookingPeriodSelector/components/BookingEndDateField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartDateField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +1 -1
- package/dist/components/Map/index.js +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +80 -79
- package/dist/lib/booking-period.js +1 -1
- package/dist/lib/booking.js +2 -2
- package/dist/lib/checkoutSubmit.js +3 -3
- package/dist/storefrontSchemas.js +1 -1
- package/package.json +1 -2
- package/dist/chunks/pkg/booking-engine/dist/models/Product.shared-iVSHRdn4.js +0 -70
- package/dist/chunks/pkg/booking-engine/dist/schemas/base-asset-B4y__1qj.js +0 -22
- package/dist/chunks/pkg/booking-engine/dist/schemas/base-booking-Bhy2Kww1.js +0 -68
- package/dist/chunks/pkg/booking-engine/dist/schemas/cart-inputs-D1_Wmkca.js +0 -72
- package/dist/chunks/pkg/booking-engine/dist/schemas-C2PdkXfm.js +0 -14
package/dist/index.js
CHANGED
|
@@ -2,92 +2,93 @@
|
|
|
2
2
|
import { createLocalizedStringEntry as e, getLocalizedStringValue as t, localizedStringArraySchema as n, localizedStringEntrySchema as r, localizedStringSchema as i } from "./chunks/pkg/booking-engine/dist/models/LocalizedString-D_TRgAdr.js";
|
|
3
3
|
import { currencyCodeSchema as a, currencyMinorUnitDigits as o, majorToMinor as s, minorToMajor as c, moneyMinorSchema as l, signedMoneyMinorSchema as u } from "./chunks/pkg/booking-engine/dist/schemas/money-CVoCY4of.js";
|
|
4
4
|
import { priceSchema as d, priceUnitSchema as f } from "./chunks/pkg/booking-engine/dist/models/Price-DCAgqkKh.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import "./chunks/pkg/booking-engine/dist/schemas-
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import { ROUTE as
|
|
29
|
-
import { ROUTE as
|
|
30
|
-
import { ROUTE as
|
|
31
|
-
import { ROUTE as
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import { storefront as cr } from "./i18n/
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
5
|
+
import { productIdSchema as p } from "./chunks/pkg/booking-engine/dist/schemas/product-id--yyUTH1Y.js";
|
|
6
|
+
import { DEFAULT_PRODUCT_KIND as m, PRODUCT_VARIANT_CODE_IDENTIFIER_KIND as h, PRODUCT_VARIANT_CODE_MAX_LENGTH as g, accessoryProductSchema as _, bikeProductSchema as v, eBikeProductSchema as y, isProductVariantCodeIdentifierKind as b, productInsuranceSchema as x, productKindSchema as S, productSchema as C, productStorefrontDisplayModeSchema as w, productVariantAttributeSchema as T, productVariantCodeSchema as E, productVariantIdentifierSchema as D, productVariantSchema as O } from "./chunks/pkg/booking-engine/dist/models/Product.shared-CWP_qule.js";
|
|
7
|
+
import { richTextJsonDocSchema as k, richTextSchema as A, richTextVersionSchema as j } from "./chunks/pkg/booking-engine/dist/schemas/rich-text-DTRh7U3z.js";
|
|
8
|
+
import { isoDateSchema as M, shopConfigurationSchema as N, shopExtraTimeSlotRuleSchema as P, shopOpeningDayIndexSchema as F, shopOpeningDaySchema as I, shopOpeningHoursOverrideSchema as L, shopOpeningHoursPeriodSchema as R, shopOpeningSlotSchema as z, timeOfDaySchema as B } from "./chunks/pkg/booking-engine/dist/schemas/shop-opening-hours-BlLD1gfz.js";
|
|
9
|
+
import { DEFAULT_CANCELLATION_POLICY as V, DEFAULT_PAYMENT_POLICIES as H, cancellationPolicySchema as U, cancellationPolicyTierSchema as W, paymentPoliciesSchema as G } from "./chunks/pkg/booking-engine/dist/schemas/booking-engine-configuration-LnrhShqm.js";
|
|
10
|
+
import { fulfillmentModeSchema as K, publicBookingEngineConfigurationSchema as q, publicCheckoutConfigurationSchema as J, publicCheckoutDynamicOptionsSchema as Y } from "./chunks/pkg/booking-engine/dist/schemas/public-booking-engine-configuration-CEM9mexX.js";
|
|
11
|
+
import { DEFAULT_BOOKING_DELIVERY_OPTION as X, bookingCustomerInputSchema as Z, bookingDeliveryOptionSchema as Q, bookingScheduleInputSchema as $, cartItemInputSchema as ee, createBookingInputBaseSchema as te, createBookingInputSchema as ne, resolveBookingDeliveryOption as re, validateBookingDeliveryAddress as ie } from "./chunks/pkg/booking-engine/dist/schemas/cart-inputs-epi7FXIk.js";
|
|
12
|
+
import { bookingInsuranceConsentSourceSchema as ae, bookingInsuranceItemSnapshotSchema as oe, bookingInsuranceSnapshotSchema as se, buildBookingInsuranceSnapshot as ce, calculateInsuranceCalendarDays as le, insuranceProviderSchema as ue } from "./chunks/pkg/booking-engine/dist/schemas/insurance-DXc34Bzy.js";
|
|
13
|
+
import { assetIdSchema as de, baseAssetSchema as fe, baseAssetStatusSchema as pe } from "./chunks/pkg/booking-engine/dist/schemas/base-asset-BhIOL2rP.js";
|
|
14
|
+
import { baseBookingItemSchema as me, baseBookingSchema as he, baseBookingStateSchema as ge } from "./chunks/pkg/booking-engine/dist/schemas/base-booking-C9kJFMIu.js";
|
|
15
|
+
import "./chunks/pkg/booking-engine/dist/schemas-DGn2a1my.js";
|
|
16
|
+
import { STOREFRONT_HERO_MODES as _e, storefrontCheckoutModeSchema as ve, storefrontConfigurationSchema as ye, storefrontContentSchema as be, storefrontFaqItemSchema as xe, storefrontFaqSchema as Se, storefrontFulfillmentModeSchema as Ce, storefrontHeroModeSchema as we, storefrontInformationSchema as Te, storefrontLocalizedRichTextSchema as Ee, storefrontModalMessageSchema as De, storefrontModulesSchema as Oe, storefrontReviewsModuleSchema as ke, storefrontRichTextSchema as Ae, storefrontSettingsSchema as je, storefrontShopSchema as Me, storefrontStatusSchema as Ne, storefrontWorkspaceSchema as Pe } from "./storefrontSchemas.js";
|
|
17
|
+
import { BOOKING_SEARCH_KEYS as Fe, TIME_OPTIONS as Ie, applyBookingParamsToSearch as Le, createBookingPeriodConfigFromBookingEngineConfiguration as Re, createBookingPeriodConfigFromShopConfiguration as ze, createBookingPeriodConfigFromStorefrontConfiguration as Be, getBookingParamsFromSearch as Ve, getBookingSessionStorageKey as He, getDefaultBookingParams as Ue, getDefaultBookingParamsForStorefrontConfiguration as We, pickBookingSearchParams as Ge, readBookingSearchParamsFromSessionStorage as Ke, readBookingSearchParamsFromStorage as qe, resolveBookingSearchParams as Je, resolveBookingSearchParamsFromSessionStorage as Ye, writeBookingSearchParamsToSessionStorage as Xe, writeBookingSearchParamsToStorage as Ze } from "./lib/booking.js";
|
|
18
|
+
import { getLocalizedEntry as Qe, getLocalizedValue as $e } from "./localization.js";
|
|
19
|
+
import { CATALOG_PRODUCT_BASE_RATE_UNSET as et, buildStorefrontProductSlug as tt, buildVariantStorefrontProductId as nt, compareCatalogProducts as rt, compareStorefrontAccessoryProducts as it, compareStorefrontBikeProducts as at, findStorefrontProduct as ot, findStorefrontProductBySlug as st, getCatalogProductBaseRateMinor as ct, getCatalogProductPaginationSort as lt, getCatalogProductSortFieldForPriceUnit as ut, getStorefrontBaseDailyRateMinor as dt, getStorefrontCheckoutProductId as ft, getStorefrontProductSelectionDisplayName as pt, getStorefrontRepresentedVariantId as mt, toStorefrontAccessoryProducts as ht, toStorefrontBikeProducts as gt, toStorefrontBookingProducts as _t, toStorefrontBookingProductsCollections as vt } from "./lib/products.js";
|
|
20
|
+
import { StorefrontCartProvider as yt, resolveStorefrontCartItemProduct as bt, useStorefrontCart as xt } from "./lib/cart.js";
|
|
21
|
+
import { cn as St, formatPriceMinor as Ct, getAvailabilityVariant as wt, getMinDayPriceMinor as Tt } from "./lib/utils.js";
|
|
22
|
+
import { buildPriceTierLabels as Et, buildRentalPriceRows as Dt, calculateBookingRentalUnitSummary as Ot, calculateRentalPriceForQuantity as kt, formatRentalUnitQuantity as At, formatStorefrontPriceMinor as jt, getPricingUnitLabel as Mt } from "./lib/pricing.js";
|
|
23
|
+
import { buildStorefrontCartSummary as Nt } from "./lib/cartSummary.js";
|
|
24
|
+
import { ROUTE as Pt, requestSchema as Ft, responseSchema as It } from "./lib/contactForm.js";
|
|
25
|
+
import { formatStorefrontPhoneDisplay as Lt, resolveStorefrontMapsHref as Rt, resolveStorefrontPhoneContact as zt } from "./lib/storefrontContact.js";
|
|
26
|
+
import { STOREFRONT_ITINERARIES_FEATURED_ROUTE as Bt, STOREFRONT_ITINERARIES_LIST_ROUTE as Vt, STOREFRONT_ITINERARY_DETAIL_ROUTE as Ht, storefrontItinerariesFeaturedRequestSchema as Ut, storefrontItinerariesFeaturedResponseSchema as Wt, storefrontItinerariesListRequestSchema as Gt, storefrontItinerariesListResponseSchema as Kt, storefrontItineraryBoundsSchema as qt, storefrontItineraryCoordinateSchema as Jt, storefrontItineraryDetailRequestSchema as Yt, storefrontItineraryDetailResponseSchema as Xt, storefrontItineraryDetailSchema as Zt, storefrontItineraryDifficultySchema as Qt, storefrontItineraryLocalizedStringSchema as $t, storefrontItineraryMetricsSchema as en, storefrontItineraryPreviewSchema as tn, storefrontItineraryStepSchema as nn, storefrontItinerarySummarySchema as rn, storefrontItineraryTripTypeSchema as an } from "./lib/storefrontItineraries.js";
|
|
27
|
+
import { buildWhatsAppHref as on, resolveStorefrontWhatsAppContact as sn, resolveStorefrontWhatsAppHref as cn } from "./lib/whatsapp.js";
|
|
28
|
+
import { ROUTE as ln, requestBaseSchema as un, requestCheckoutItemSchema as dn, requestDeliveryRefinement as fn, requestSchema as pn, responseSchema as mn } from "./lib/checkoutSubmit.js";
|
|
29
|
+
import { ROUTE as hn, requestSchema as gn, responseSchema as _n, storefrontPublicAccessoryProductSchema as vn, storefrontPublicBikeAvailabilityStatusSchema as yn, storefrontPublicBikeProductSchema as bn, storefrontPublicProductDisplayModeSchema as xn, storefrontPublicProductPriceSchema as Sn, storefrontPublicProductVariantAttributeSchema as Cn, storefrontPublicProductVariantIdentifierSchema as wn, storefrontPublicProductVariantSchema as Tn } from "./lib/storefrontProducts.js";
|
|
30
|
+
import { ROUTE as En, buildStorefrontAvailabilityKey as Dn, doesStorefrontAvailabilityDisplaySoldOut as On, getStorefrontAvailabilityIssue as kn, getStorefrontAvailabilityStatus as An, isStorefrontAvailabilityInsufficient as jn, publicAvailabilityDisplayModeSchema as Mn, requestSchema as Nn, responseSchema as Pn, shouldBlockStorefrontUnavailableItem as Fn, storefrontAvailabilityProductSchema as In, storefrontAvailabilityScheduleSchema as Ln, storefrontPublicAvailabilityRecordSchema as Rn } from "./lib/storefrontAvailability.js";
|
|
31
|
+
import { ROUTE as zn, buildStorefrontImageUrl as Bn, requestSchema as Vn } from "./lib/storefrontImage.js";
|
|
32
|
+
import { ROUTE as Hn, requestSchema as Un, responseSchema as Wn, storefrontTimeSlotSchema as Gn, timeSlotJourneySchema as Kn } from "./lib/storefrontTimeSlots.js";
|
|
33
|
+
import { Footer as qn } from "./components/Footer/index.js";
|
|
34
|
+
import { Badge as Jn, badgeVariants as Yn } from "./ui/badge.js";
|
|
35
|
+
import { Button as Xn, buttonVariants as Zn, storefrontButtonRadiusClassName as Qn } from "./ui/button.js";
|
|
36
|
+
import { StorefrontContext as $n, useOptionalStorefront as er, useStorefront as tr, useStorefrontBookingProducts as nr, useStorefrontConfig as rr, useStorefrontItineraries as ir, useStorefrontProducts as ar, useStorefrontWorkspaceLanguage as or } from "./StorefrontContext.js";
|
|
37
|
+
import { Header as sr } from "./components/Header/index.js";
|
|
38
|
+
import { storefront as cr } from "./i18n/en.js";
|
|
39
|
+
import { storefront as lr } from "./i18n/fr.js";
|
|
40
|
+
import { PoweredByLoczerBadge as ur } from "./components/PoweredByLoczerBadge/index.js";
|
|
41
|
+
import { PlatformFooter as dr } from "./components/PlatformFooter/index.js";
|
|
42
|
+
import { useWhatsAppFloatingButton as fr } from "./components/WhatsAppFloatingButton/useWhatsAppFloatingButton.js";
|
|
43
|
+
import { WhatsAppFloatingButton as pr } from "./components/WhatsAppFloatingButton/WhatsAppFloatingButton.js";
|
|
43
44
|
import "./components/WhatsAppFloatingButton/index.js";
|
|
44
|
-
import { Layout as
|
|
45
|
-
import { DelayedPlaceholder as
|
|
46
|
-
import { BookingPeriodProvider as
|
|
47
|
-
import { Label as
|
|
48
|
-
import { BookingStartDateField as
|
|
49
|
-
import { BookingStartTimeField as
|
|
50
|
-
import { BookingEndDateField as
|
|
51
|
-
import { BookingEndTimeField as
|
|
52
|
-
import { BookingTimeSlotsStatus as
|
|
53
|
-
import { BookingMobileDateDrawer as
|
|
54
|
-
import { BookingPeriodSelector as
|
|
55
|
-
import { BookingFlowSteps as
|
|
56
|
-
import { Input as
|
|
57
|
-
import { DeliveryAddressSelector as
|
|
58
|
-
import { Form as
|
|
59
|
-
import { Textarea as
|
|
60
|
-
import { ContactSection as
|
|
61
|
-
import { TestimonialsSection as
|
|
62
|
-
import { AboutSection as
|
|
63
|
-
import { AdminFloatingButton as
|
|
45
|
+
import { Layout as mr } from "./components/Layout/index.js";
|
|
46
|
+
import { DelayedPlaceholder as hr, DelayedReveal as gr } from "./components/DelayedReveal/index.js";
|
|
47
|
+
import { BookingPeriodProvider as _r, useBookingPeriod as vr } from "./components/BookingPeriodSelector/BookingPeriodContext.js";
|
|
48
|
+
import { Label as yr } from "./ui/label.js";
|
|
49
|
+
import { BookingStartDateField as br } from "./components/BookingPeriodSelector/components/BookingStartDateField.js";
|
|
50
|
+
import { BookingStartTimeField as xr } from "./components/BookingPeriodSelector/components/BookingStartTimeField.js";
|
|
51
|
+
import { BookingEndDateField as Sr } from "./components/BookingPeriodSelector/components/BookingEndDateField.js";
|
|
52
|
+
import { BookingEndTimeField as Cr } from "./components/BookingPeriodSelector/components/BookingEndTimeField.js";
|
|
53
|
+
import { BookingTimeSlotsStatus as wr } from "./components/BookingPeriodSelector/components/BookingTimeSlotsStatus.js";
|
|
54
|
+
import { BookingMobileDateDrawer as Tr } from "./components/BookingPeriodSelector/components/BookingMobileDateDrawer.js";
|
|
55
|
+
import { BookingPeriodSelector as Er } from "./components/BookingPeriodSelector/index.js";
|
|
56
|
+
import { BookingFlowSteps as Dr } from "./components/BookingFlowSteps/index.js";
|
|
57
|
+
import { Input as Or } from "./ui/input.js";
|
|
58
|
+
import { DeliveryAddressSelector as kr } from "./components/DeliveryAddressSelector/index.js";
|
|
59
|
+
import { Form as Ar, FormControl as jr, FormDescription as Mr, FormField as Nr, FormItem as Pr, FormLabel as Fr, FormMessage as Ir, useFormField as Lr } from "./ui/form.js";
|
|
60
|
+
import { Textarea as Rr } from "./ui/textarea.js";
|
|
61
|
+
import { ContactSection as zr } from "./components/ContactSection/index.js";
|
|
62
|
+
import { TestimonialsSection as Br } from "./components/TestimonialsSection/index.js";
|
|
63
|
+
import { AboutSection as Vr } from "./components/AboutSection/index.js";
|
|
64
|
+
import { AdminFloatingButton as Hr } from "./components/AdminFloatingButton/AdminFloatingButton.js";
|
|
64
65
|
import "./components/AdminFloatingButton/index.js";
|
|
65
|
-
import { ItineraryListItem as
|
|
66
|
-
import { ItineraryRouteMap as
|
|
67
|
-
import { ItinerariesSection as
|
|
66
|
+
import { ItineraryListItem as Ur } from "./components/Itineraries/ItineraryListItem.js";
|
|
67
|
+
import { ItineraryRouteMap as Wr } from "./components/Itineraries/ItineraryRouteMap.js";
|
|
68
|
+
import { ItinerariesSection as Gr } from "./components/Itineraries/ItinerariesSection.js";
|
|
68
69
|
import "./components/Itineraries/index.js";
|
|
69
|
-
import { StepSectionTitle as
|
|
70
|
-
import { Card as
|
|
71
|
-
import { ProductWarningNotice as
|
|
72
|
-
import { StorefrontCartPanel as
|
|
73
|
-
import { ProductPriceBadge as
|
|
74
|
-
import { ContractSaleDocument as
|
|
70
|
+
import { StepSectionTitle as Kr } from "./components/StepSectionTitle/index.js";
|
|
71
|
+
import { Card as qr, CardAction as Jr, CardContent as Yr, CardDescription as Xr, CardFooter as Zr, CardHeader as Qr, CardTitle as $r } from "./ui/card.js";
|
|
72
|
+
import { ProductWarningNotice as ei } from "./components/ProductWarningNotice/index.js";
|
|
73
|
+
import { StorefrontCartPanel as ti } from "./components/StorefrontCartPanel/index.js";
|
|
74
|
+
import { ProductPriceBadge as ni } from "./components/ProductPriceBadge/index.js";
|
|
75
|
+
import { ContractSaleDocument as ri } from "./components/ContractSaleDocument/Invoice.js";
|
|
75
76
|
import "./components/ContractSaleDocument/index.js";
|
|
76
|
-
import { RadioGroup as
|
|
77
|
+
import { RadioGroup as ii, RadioGroupItem as ai } from "./ui/radio-group.js";
|
|
77
78
|
import "./pages/HomePage.js";
|
|
78
79
|
import "./pages/BookingPage.js";
|
|
79
80
|
import "./pages/ProductPage.js";
|
|
80
|
-
import
|
|
81
|
-
import
|
|
82
|
-
import
|
|
81
|
+
import oi from "./pages/ItinerariesPage.js";
|
|
82
|
+
import si, { loader as ci } from "./pages/ItineraryDetailsPage.js";
|
|
83
|
+
import li from "./pages/RentalTermsPage.js";
|
|
83
84
|
import "./pages/CheckoutPage.js";
|
|
84
85
|
import "./pages/CheckoutSuccessPage.js";
|
|
85
86
|
import "./pages/NotFoundPage.js";
|
|
86
|
-
import { accessories as
|
|
87
|
-
import
|
|
88
|
-
import { contractSaleDocumentAcceptanceLevelSchema as
|
|
89
|
-
import { ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE as
|
|
90
|
-
import
|
|
91
|
-
import { loader as
|
|
92
|
-
import { Select as
|
|
93
|
-
export { Ti as ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE, Br as AboutSection, Vr as AdminFloatingButton, Pe as BOOKING_SEARCH_KEYS, qn as Badge, xr as BookingEndDateField, Sr as BookingEndTimeField, Er as BookingFlowSteps, wr as BookingMobileDateDrawer, gr as BookingPeriodProvider, Tr as BookingPeriodSelector, yr as BookingStartDateField, br as BookingStartTimeField, Cr as BookingTimeSlotsStatus, Yn as Button, $e as CATALOG_PRODUCT_BASE_RATE_UNSET, Kr as Card, qr as CardAction, Jr as CardContent, Yr as CardDescription, Xr as CardFooter, Zr as CardHeader, Qr as CardTitle, Rr as ContactSection, ni as ContractSaleDocument, Y as DEFAULT_BOOKING_DELIVERY_OPTION, B as DEFAULT_CANCELLATION_POLICY, V as DEFAULT_PAYMENT_POLICIES, p as DEFAULT_PRODUCT_KIND, Ei as DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE, mr as DelayedPlaceholder, hr as DelayedReveal, Or as DeliveryAddressSelector, Kn as Footer, kr as Form, Ar as FormControl, jr as FormDescription, Mr as FormField, Nr as FormItem, Pr as FormLabel, Fr as FormMessage, Di as GET_CONTRACT_SALE_DOCUMENT_ROUTE, or as Header, Dr as Input, ai as ItinerariesPage, Wr as ItinerariesSection, oi as ItineraryDetailsPage, Hr as ItineraryListItem, Ur as ItineraryRouteMap, vr as Label, pr as Layout, m as PRODUCT_VARIANT_CODE_IDENTIFIER_KIND, h as PRODUCT_VARIANT_CODE_MAX_LENGTH, ur as PlatformFooter, lr as PoweredByLoczerBadge, ti as ProductPriceBadge, $r as ProductWarningNotice, Nt as ROUTE, ri as RadioGroup, ii as RadioGroupItem, ci as RentalTermsPage, Tn as STOREFRONT_AVAILABILITY_ROUTE, cn as STOREFRONT_CHECKOUT_SUBMIT_ROUTE, ge as STOREFRONT_HERO_MODES, Rn as STOREFRONT_IMAGE_ROUTE, zt as STOREFRONT_ITINERARIES_FEATURED_ROUTE, Bt as STOREFRONT_ITINERARIES_LIST_ROUTE, Vt as STOREFRONT_ITINERARY_DETAIL_ROUTE, mn as STOREFRONT_PRODUCTS_ROUTE, Vn as STOREFRONT_TIME_SLOTS_ROUTE, Wi as Select, Gi as SelectContent, Ki as SelectGroup, qi as SelectIcon, Ji as SelectItem, Yi as SelectItemIndicator, Xi as SelectItemText, Zi as SelectLabel, Qi as SelectScrollDownButton, $i as SelectScrollUpButton, ea as SelectSeparator, ta as SelectTrigger, na as SelectValue, Gr as StepSectionTitle, ei as StorefrontCartPanel, vt as StorefrontCartProvider, Qn as StorefrontContext, Fe as TIME_OPTIONS, zr as TestimonialsSection, Lr as Textarea, fr as WhatsAppFloatingButton, Oi as acceptContractSaleDocumentRequestSchema, ki as acceptContractSaleDocumentResponseSchema, li as accessories, g as accessoryProductSchema, Ie as applyBookingParamsToSearch, ue as assetIdSchema, Jn as badgeVariants, de as baseAssetSchema, fe as baseAssetStatusSchema, pe as baseBookingItemSchema, me as baseBookingSchema, he as baseBookingStateSchema, _ as bikeProductSchema, ui as bikes, X as bookingCustomerInputSchema, Z as bookingDeliveryOptionSchema, ie as bookingInsuranceConsentSourceSchema, ae as bookingInsuranceItemSnapshotSchema, oe as bookingInsuranceSnapshotSchema, Q as bookingScheduleInputSchema, se as buildBookingInsuranceSnapshot, Tt as buildPriceTierLabels, Et as buildRentalPriceRows, En as buildStorefrontAvailabilityKey, Mt as buildStorefrontCartSummary, zn as buildStorefrontImageUrl, et as buildStorefrontProductSlug, tt as buildVariantStorefrontProductId, an as buildWhatsAppHref, Xn as buttonVariants, Dt as calculateBookingRentalUnitSummary, ce as calculateInsuranceCalendarDays, Ot as calculateRentalPriceForQuantity, H as cancellationPolicySchema, U as cancellationPolicyTierSchema, $ as cartItemInputSchema, xt as cn, nt as compareCatalogProducts, rt as compareStorefrontAccessoryProducts, it as compareStorefrontBikeProducts, Ai as contractSaleDocumentAcceptanceInputSchema, di as contractSaleDocumentAcceptanceLevelSchema, ji as contractSaleDocumentAcceptanceRecordInputSchema, fi as contractSaleDocumentAcceptanceRecordSchema, pi as contractSaleDocumentAcceptanceSchema, mi as contractSaleDocumentAddressSchema, Mi as contractSaleDocumentApiAcceptanceRecordSchema, Ni as contractSaleDocumentApiAcceptanceSchema, Pi as contractSaleDocumentApiSchema, Fi as contractSaleDocumentApiSignatureSchema, hi as contractSaleDocumentAppendixKindSchema, gi as contractSaleDocumentAppendixSchema, _i as contractSaleDocumentContactSchema, vi as contractSaleDocumentKindSchema, yi as contractSaleDocumentLanguageCodeSchema, bi as contractSaleDocumentLanguageSchema, xi as contractSaleDocumentLineItemSchema, Ii as contractSaleDocumentReferenceSchema, Li as contractSaleDocumentReferenceTypeSchema, Si as contractSaleDocumentRentalSchema, Ci as contractSaleDocumentSchema, Ri as contractSaleDocumentSignatureInputSchema, wi as contractSaleDocumentSignatureSchema, ee as createBookingInputBaseSchema, te as createBookingInputSchema, Le as createBookingPeriodConfigFromBookingEngineConfiguration, Re as createBookingPeriodConfigFromShopConfiguration, ze as createBookingPeriodConfigFromStorefrontConfiguration, e as createLocalizedStringEntry, a as currencyCodeSchema, o as currencyMinorUnitDigits, Dn as doesStorefrontAvailabilityDisplaySoldOut, zi as downloadContractSaleDocumentPdfRequestSchema, v as eBikeProductSchema, at as findStorefrontProduct, ot as findStorefrontProductBySlug, St as formatPriceMinor, kt as formatRentalUnitQuantity, It as formatStorefrontPhoneDisplay, At as formatStorefrontPriceMinor, G as fulfillmentModeSchema, Ct as getAvailabilityVariant, Be as getBookingParamsFromSearch, Ve as getBookingSessionStorageKey, st as getCatalogProductBaseRateMinor, ct as getCatalogProductPaginationSort, lt as getCatalogProductSortFieldForPriceUnit, Bi as getContractSaleDocumentRequestSchema, Vi as getContractSaleDocumentResponseSchema, He as getDefaultBookingParams, Ue as getDefaultBookingParamsForStorefrontConfiguration, Ze as getLocalizedEntry, t as getLocalizedStringValue, Qe as getLocalizedValue, wt as getMinDayPriceMinor, jt as getPricingUnitLabel, On as getStorefrontAvailabilityIssue, kn as getStorefrontAvailabilityStatus, ut as getStorefrontBaseDailyRateMinor, dt as getStorefrontCheckoutProductId, ft as getStorefrontProductSelectionDisplayName, pt as getStorefrontRepresentedVariantId, le as insuranceProviderSchema, y as isProductVariantCodeIdentifierKind, An as isStorefrontAvailabilityInsufficient, j as isoDateSchema, si as itineraryDetailsLoader, Ui as loader, n as localizedStringArraySchema, r as localizedStringEntrySchema, i as localizedStringSchema, s as majorToMinor, c as minorToMajor, l as moneyMinorSchema, W as paymentPoliciesSchema, We as pickBookingSearchParams, d as priceSchema, f as priceUnitSchema, b as productInsuranceSchema, x as productKindSchema, S as productSchema, C as productStorefrontDisplayModeSchema, w as productVariantAttributeSchema, T as productVariantCodeSchema, E as productVariantIdentifierSchema, D as productVariantSchema, jn as publicAvailabilityDisplayModeSchema, K as publicBookingEngineConfigurationSchema, q as publicCheckoutConfigurationSchema, J as publicCheckoutDynamicOptionsSchema, Ge as readBookingSearchParamsFromSessionStorage, Ke as readBookingSearchParamsFromStorage, Pt as requestSchema, ne as resolveBookingDeliveryOption, qe as resolveBookingSearchParams, Je as resolveBookingSearchParamsFromSessionStorage, yt as resolveStorefrontCartItemProduct, Lt as resolveStorefrontMapsHref, Rt as resolveStorefrontPhoneContact, on as resolveStorefrontWhatsAppContact, sn as resolveStorefrontWhatsAppHref, Ft as responseSchema, O as richTextJsonDocSchema, k as richTextSchema, A as richTextVersionSchema, M as shopConfigurationSchema, N as shopExtraTimeSlotRuleSchema, P as shopOpeningDayIndexSchema, F as shopOpeningDaySchema, I as shopOpeningHoursOverrideSchema, L as shopOpeningHoursPeriodSchema, R as shopOpeningSlotSchema, Pn as shouldBlockStorefrontUnavailableItem, u as signedMoneyMinorSchema, Fn as storefrontAvailabilityProductSchema, Mn as storefrontAvailabilityRequestSchema, Nn as storefrontAvailabilityResponseSchema, In as storefrontAvailabilityScheduleSchema, Zn as storefrontButtonRadiusClassName, _e as storefrontCheckoutModeSchema, dn as storefrontCheckoutSubmitDeliveryRefinement, un as storefrontCheckoutSubmitItemSchema, ln as storefrontCheckoutSubmitRequestBaseSchema, fn as storefrontCheckoutSubmitRequestSchema, pn as storefrontCheckoutSubmitResponseSchema, ve as storefrontConfigurationSchema, ye as storefrontContentSchema, sr as storefrontEn, be as storefrontFaqItemSchema, xe as storefrontFaqSchema, cr as storefrontFr, Se as storefrontFulfillmentModeSchema, Ce as storefrontHeroModeSchema, Bn as storefrontImageRequestSchema, we as storefrontInformationSchema, Ht as storefrontItinerariesFeaturedRequestSchema, Ut as storefrontItinerariesFeaturedResponseSchema, Wt as storefrontItinerariesListRequestSchema, Gt as storefrontItinerariesListResponseSchema, Kt as storefrontItineraryBoundsSchema, qt as storefrontItineraryCoordinateSchema, Jt as storefrontItineraryDetailRequestSchema, Yt as storefrontItineraryDetailResponseSchema, Xt as storefrontItineraryDetailSchema, Zt as storefrontItineraryDifficultySchema, Qt as storefrontItineraryLocalizedStringSchema, $t as storefrontItineraryMetricsSchema, en as storefrontItineraryPreviewSchema, tn as storefrontItineraryStepSchema, nn as storefrontItinerarySummarySchema, rn as storefrontItineraryTripTypeSchema, Te as storefrontLocalizedRichTextSchema, Ee as storefrontModalMessageSchema, De as storefrontModulesSchema, hn as storefrontProductsRequestSchema, gn as storefrontProductsResponseSchema, _n as storefrontPublicAccessoryProductSchema, Ln as storefrontPublicAvailabilityRecordSchema, vn as storefrontPublicBikeAvailabilityStatusSchema, yn as storefrontPublicBikeProductSchema, bn as storefrontPublicProductDisplayModeSchema, xn as storefrontPublicProductPriceSchema, Sn as storefrontPublicProductVariantAttributeSchema, Cn as storefrontPublicProductVariantIdentifierSchema, wn as storefrontPublicProductVariantSchema, Oe as storefrontReviewsModuleSchema, ke as storefrontRichTextSchema, Hi as storefrontRoutes, Ae as storefrontSettingsSchema, je as storefrontShopSchema, Me as storefrontStatusSchema, Gn as storefrontTimeSlotJourneySchema, Wn as storefrontTimeSlotSchema, Hn as storefrontTimeSlotsRequestSchema, Un as storefrontTimeSlotsResponseSchema, Ne as storefrontWorkspaceSchema, z as timeOfDaySchema, mt as toStorefrontAccessoryProducts, ht as toStorefrontBikeProducts, gt as toStorefrontBookingProducts, _t as toStorefrontBookingProductsCollections, _r as useBookingPeriod, Ir as useFormField, $n as useOptionalStorefront, er as useStorefront, tr as useStorefrontBookingProducts, bt as useStorefrontCart, nr as useStorefrontConfig, rr as useStorefrontItineraries, ir as useStorefrontProducts, ar as useStorefrontWorkspaceLanguage, dr as useWhatsAppFloatingButton, re as validateBookingDeliveryAddress, Ye as writeBookingSearchParamsToSessionStorage, Xe as writeBookingSearchParamsToStorage };
|
|
87
|
+
import { accessories as ui } from "./data/accessories.js";
|
|
88
|
+
import di from "./data/bikes.js";
|
|
89
|
+
import { contractSaleDocumentAcceptanceLevelSchema as fi, contractSaleDocumentAcceptanceRecordSchema as pi, contractSaleDocumentAcceptanceSchema as mi, contractSaleDocumentAddressSchema as hi, contractSaleDocumentAppendixKindSchema as gi, contractSaleDocumentAppendixSchema as _i, contractSaleDocumentContactSchema as vi, contractSaleDocumentKindSchema as yi, contractSaleDocumentLanguageCodeSchema as bi, contractSaleDocumentLanguageSchema as xi, contractSaleDocumentLineItemSchema as Si, contractSaleDocumentRentalSchema as Ci, contractSaleDocumentSchema as wi, contractSaleDocumentSignatureSchema as Ti } from "./lib/contractSaleDocument.js";
|
|
90
|
+
import { ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE as Ei, DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE as Di, GET_CONTRACT_SALE_DOCUMENT_ROUTE as Oi, acceptContractSaleDocumentRequestSchema as ki, acceptContractSaleDocumentResponseSchema as Ai, contractSaleDocumentAcceptanceInputSchema as ji, contractSaleDocumentAcceptanceRecordInputSchema as Mi, contractSaleDocumentApiAcceptanceRecordSchema as Ni, contractSaleDocumentApiAcceptanceSchema as Pi, contractSaleDocumentApiSchema as Fi, contractSaleDocumentApiSignatureSchema as Ii, contractSaleDocumentReferenceSchema as Li, contractSaleDocumentReferenceTypeSchema as Ri, contractSaleDocumentSignatureInputSchema as zi, downloadContractSaleDocumentPdfRequestSchema as Bi, getContractSaleDocumentRequestSchema as Vi, getContractSaleDocumentResponseSchema as Hi } from "./lib/contractSaleDocumentApi.js";
|
|
91
|
+
import Ui from "./routes.js";
|
|
92
|
+
import { loader as Wi } from "./StorefrontProvider.js";
|
|
93
|
+
import { Select as Gi, SelectContent as Ki, SelectGroup as qi, SelectIcon as Ji, SelectItem as Yi, SelectItemIndicator as Xi, SelectItemText as Zi, SelectLabel as Qi, SelectScrollDownButton as $i, SelectScrollUpButton as ea, SelectSeparator as ta, SelectTrigger as na, SelectValue as ra } from "./ui/select.js";
|
|
94
|
+
export { Ei as ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE, Vr as AboutSection, Hr as AdminFloatingButton, Fe as BOOKING_SEARCH_KEYS, Jn as Badge, Sr as BookingEndDateField, Cr as BookingEndTimeField, Dr as BookingFlowSteps, Tr as BookingMobileDateDrawer, _r as BookingPeriodProvider, Er as BookingPeriodSelector, br as BookingStartDateField, xr as BookingStartTimeField, wr as BookingTimeSlotsStatus, Xn as Button, et as CATALOG_PRODUCT_BASE_RATE_UNSET, qr as Card, Jr as CardAction, Yr as CardContent, Xr as CardDescription, Zr as CardFooter, Qr as CardHeader, $r as CardTitle, zr as ContactSection, ri as ContractSaleDocument, X as DEFAULT_BOOKING_DELIVERY_OPTION, V as DEFAULT_CANCELLATION_POLICY, H as DEFAULT_PAYMENT_POLICIES, m as DEFAULT_PRODUCT_KIND, Di as DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE, hr as DelayedPlaceholder, gr as DelayedReveal, kr as DeliveryAddressSelector, qn as Footer, Ar as Form, jr as FormControl, Mr as FormDescription, Nr as FormField, Pr as FormItem, Fr as FormLabel, Ir as FormMessage, Oi as GET_CONTRACT_SALE_DOCUMENT_ROUTE, sr as Header, Or as Input, oi as ItinerariesPage, Gr as ItinerariesSection, si as ItineraryDetailsPage, Ur as ItineraryListItem, Wr as ItineraryRouteMap, yr as Label, mr as Layout, h as PRODUCT_VARIANT_CODE_IDENTIFIER_KIND, g as PRODUCT_VARIANT_CODE_MAX_LENGTH, dr as PlatformFooter, ur as PoweredByLoczerBadge, ni as ProductPriceBadge, ei as ProductWarningNotice, Pt as ROUTE, ii as RadioGroup, ai as RadioGroupItem, li as RentalTermsPage, En as STOREFRONT_AVAILABILITY_ROUTE, ln as STOREFRONT_CHECKOUT_SUBMIT_ROUTE, _e as STOREFRONT_HERO_MODES, zn as STOREFRONT_IMAGE_ROUTE, Bt as STOREFRONT_ITINERARIES_FEATURED_ROUTE, Vt as STOREFRONT_ITINERARIES_LIST_ROUTE, Ht as STOREFRONT_ITINERARY_DETAIL_ROUTE, hn as STOREFRONT_PRODUCTS_ROUTE, Hn as STOREFRONT_TIME_SLOTS_ROUTE, Gi as Select, Ki as SelectContent, qi as SelectGroup, Ji as SelectIcon, Yi as SelectItem, Xi as SelectItemIndicator, Zi as SelectItemText, Qi as SelectLabel, $i as SelectScrollDownButton, ea as SelectScrollUpButton, ta as SelectSeparator, na as SelectTrigger, ra as SelectValue, Kr as StepSectionTitle, ti as StorefrontCartPanel, yt as StorefrontCartProvider, $n as StorefrontContext, Ie as TIME_OPTIONS, Br as TestimonialsSection, Rr as Textarea, pr as WhatsAppFloatingButton, ki as acceptContractSaleDocumentRequestSchema, Ai as acceptContractSaleDocumentResponseSchema, ui as accessories, _ as accessoryProductSchema, Le as applyBookingParamsToSearch, de as assetIdSchema, Yn as badgeVariants, fe as baseAssetSchema, pe as baseAssetStatusSchema, me as baseBookingItemSchema, he as baseBookingSchema, ge as baseBookingStateSchema, v as bikeProductSchema, di as bikes, Z as bookingCustomerInputSchema, Q as bookingDeliveryOptionSchema, ae as bookingInsuranceConsentSourceSchema, oe as bookingInsuranceItemSnapshotSchema, se as bookingInsuranceSnapshotSchema, $ as bookingScheduleInputSchema, ce as buildBookingInsuranceSnapshot, Et as buildPriceTierLabels, Dt as buildRentalPriceRows, Dn as buildStorefrontAvailabilityKey, Nt as buildStorefrontCartSummary, Bn as buildStorefrontImageUrl, tt as buildStorefrontProductSlug, nt as buildVariantStorefrontProductId, on as buildWhatsAppHref, Zn as buttonVariants, Ot as calculateBookingRentalUnitSummary, le as calculateInsuranceCalendarDays, kt as calculateRentalPriceForQuantity, U as cancellationPolicySchema, W as cancellationPolicyTierSchema, ee as cartItemInputSchema, St as cn, rt as compareCatalogProducts, it as compareStorefrontAccessoryProducts, at as compareStorefrontBikeProducts, ji as contractSaleDocumentAcceptanceInputSchema, fi as contractSaleDocumentAcceptanceLevelSchema, Mi as contractSaleDocumentAcceptanceRecordInputSchema, pi as contractSaleDocumentAcceptanceRecordSchema, mi as contractSaleDocumentAcceptanceSchema, hi as contractSaleDocumentAddressSchema, Ni as contractSaleDocumentApiAcceptanceRecordSchema, Pi as contractSaleDocumentApiAcceptanceSchema, Fi as contractSaleDocumentApiSchema, Ii as contractSaleDocumentApiSignatureSchema, gi as contractSaleDocumentAppendixKindSchema, _i as contractSaleDocumentAppendixSchema, vi as contractSaleDocumentContactSchema, yi as contractSaleDocumentKindSchema, bi as contractSaleDocumentLanguageCodeSchema, xi as contractSaleDocumentLanguageSchema, Si as contractSaleDocumentLineItemSchema, Li as contractSaleDocumentReferenceSchema, Ri as contractSaleDocumentReferenceTypeSchema, Ci as contractSaleDocumentRentalSchema, wi as contractSaleDocumentSchema, zi as contractSaleDocumentSignatureInputSchema, Ti as contractSaleDocumentSignatureSchema, te as createBookingInputBaseSchema, ne as createBookingInputSchema, Re as createBookingPeriodConfigFromBookingEngineConfiguration, ze as createBookingPeriodConfigFromShopConfiguration, Be as createBookingPeriodConfigFromStorefrontConfiguration, e as createLocalizedStringEntry, a as currencyCodeSchema, o as currencyMinorUnitDigits, On as doesStorefrontAvailabilityDisplaySoldOut, Bi as downloadContractSaleDocumentPdfRequestSchema, y as eBikeProductSchema, ot as findStorefrontProduct, st as findStorefrontProductBySlug, Ct as formatPriceMinor, At as formatRentalUnitQuantity, Lt as formatStorefrontPhoneDisplay, jt as formatStorefrontPriceMinor, K as fulfillmentModeSchema, wt as getAvailabilityVariant, Ve as getBookingParamsFromSearch, He as getBookingSessionStorageKey, ct as getCatalogProductBaseRateMinor, lt as getCatalogProductPaginationSort, ut as getCatalogProductSortFieldForPriceUnit, Vi as getContractSaleDocumentRequestSchema, Hi as getContractSaleDocumentResponseSchema, Ue as getDefaultBookingParams, We as getDefaultBookingParamsForStorefrontConfiguration, Qe as getLocalizedEntry, t as getLocalizedStringValue, $e as getLocalizedValue, Tt as getMinDayPriceMinor, Mt as getPricingUnitLabel, kn as getStorefrontAvailabilityIssue, An as getStorefrontAvailabilityStatus, dt as getStorefrontBaseDailyRateMinor, ft as getStorefrontCheckoutProductId, pt as getStorefrontProductSelectionDisplayName, mt as getStorefrontRepresentedVariantId, ue as insuranceProviderSchema, b as isProductVariantCodeIdentifierKind, jn as isStorefrontAvailabilityInsufficient, M as isoDateSchema, ci as itineraryDetailsLoader, Wi as loader, n as localizedStringArraySchema, r as localizedStringEntrySchema, i as localizedStringSchema, s as majorToMinor, c as minorToMajor, l as moneyMinorSchema, G as paymentPoliciesSchema, Ge as pickBookingSearchParams, d as priceSchema, f as priceUnitSchema, p as productIdSchema, x as productInsuranceSchema, S as productKindSchema, C as productSchema, w as productStorefrontDisplayModeSchema, T as productVariantAttributeSchema, E as productVariantCodeSchema, D as productVariantIdentifierSchema, O as productVariantSchema, Mn as publicAvailabilityDisplayModeSchema, q as publicBookingEngineConfigurationSchema, J as publicCheckoutConfigurationSchema, Y as publicCheckoutDynamicOptionsSchema, Ke as readBookingSearchParamsFromSessionStorage, qe as readBookingSearchParamsFromStorage, Ft as requestSchema, re as resolveBookingDeliveryOption, Je as resolveBookingSearchParams, Ye as resolveBookingSearchParamsFromSessionStorage, bt as resolveStorefrontCartItemProduct, Rt as resolveStorefrontMapsHref, zt as resolveStorefrontPhoneContact, sn as resolveStorefrontWhatsAppContact, cn as resolveStorefrontWhatsAppHref, It as responseSchema, k as richTextJsonDocSchema, A as richTextSchema, j as richTextVersionSchema, N as shopConfigurationSchema, P as shopExtraTimeSlotRuleSchema, F as shopOpeningDayIndexSchema, I as shopOpeningDaySchema, L as shopOpeningHoursOverrideSchema, R as shopOpeningHoursPeriodSchema, z as shopOpeningSlotSchema, Fn as shouldBlockStorefrontUnavailableItem, u as signedMoneyMinorSchema, In as storefrontAvailabilityProductSchema, Nn as storefrontAvailabilityRequestSchema, Pn as storefrontAvailabilityResponseSchema, Ln as storefrontAvailabilityScheduleSchema, Qn as storefrontButtonRadiusClassName, ve as storefrontCheckoutModeSchema, fn as storefrontCheckoutSubmitDeliveryRefinement, dn as storefrontCheckoutSubmitItemSchema, un as storefrontCheckoutSubmitRequestBaseSchema, pn as storefrontCheckoutSubmitRequestSchema, mn as storefrontCheckoutSubmitResponseSchema, ye as storefrontConfigurationSchema, be as storefrontContentSchema, cr as storefrontEn, xe as storefrontFaqItemSchema, Se as storefrontFaqSchema, lr as storefrontFr, Ce as storefrontFulfillmentModeSchema, we as storefrontHeroModeSchema, Vn as storefrontImageRequestSchema, Te as storefrontInformationSchema, Ut as storefrontItinerariesFeaturedRequestSchema, Wt as storefrontItinerariesFeaturedResponseSchema, Gt as storefrontItinerariesListRequestSchema, Kt as storefrontItinerariesListResponseSchema, qt as storefrontItineraryBoundsSchema, Jt as storefrontItineraryCoordinateSchema, Yt as storefrontItineraryDetailRequestSchema, Xt as storefrontItineraryDetailResponseSchema, Zt as storefrontItineraryDetailSchema, Qt as storefrontItineraryDifficultySchema, $t as storefrontItineraryLocalizedStringSchema, en as storefrontItineraryMetricsSchema, tn as storefrontItineraryPreviewSchema, nn as storefrontItineraryStepSchema, rn as storefrontItinerarySummarySchema, an as storefrontItineraryTripTypeSchema, Ee as storefrontLocalizedRichTextSchema, De as storefrontModalMessageSchema, Oe as storefrontModulesSchema, gn as storefrontProductsRequestSchema, _n as storefrontProductsResponseSchema, vn as storefrontPublicAccessoryProductSchema, Rn as storefrontPublicAvailabilityRecordSchema, yn as storefrontPublicBikeAvailabilityStatusSchema, bn as storefrontPublicBikeProductSchema, xn as storefrontPublicProductDisplayModeSchema, Sn as storefrontPublicProductPriceSchema, Cn as storefrontPublicProductVariantAttributeSchema, wn as storefrontPublicProductVariantIdentifierSchema, Tn as storefrontPublicProductVariantSchema, ke as storefrontReviewsModuleSchema, Ae as storefrontRichTextSchema, Ui as storefrontRoutes, je as storefrontSettingsSchema, Me as storefrontShopSchema, Ne as storefrontStatusSchema, Kn as storefrontTimeSlotJourneySchema, Gn as storefrontTimeSlotSchema, Un as storefrontTimeSlotsRequestSchema, Wn as storefrontTimeSlotsResponseSchema, Pe as storefrontWorkspaceSchema, B as timeOfDaySchema, ht as toStorefrontAccessoryProducts, gt as toStorefrontBikeProducts, _t as toStorefrontBookingProducts, vt as toStorefrontBookingProductsCollections, vr as useBookingPeriod, Lr as useFormField, er as useOptionalStorefront, tr as useStorefront, nr as useStorefrontBookingProducts, xt as useStorefrontCart, rr as useStorefrontConfig, ir as useStorefrontItineraries, ar as useStorefrontProducts, or as useStorefrontWorkspaceLanguage, fr as useWhatsAppFloatingButton, ie as validateBookingDeliveryAddress, Xe as writeBookingSearchParamsToSessionStorage, Ze as writeBookingSearchParamsToStorage };
|
package/dist/lib/booking.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DEFAULT_BOOKING_DELIVERY_OPTION as e } from "../chunks/pkg/booking-engine/dist/schemas/cart-inputs-
|
|
2
|
-
import "../chunks/pkg/booking-engine/dist/schemas-
|
|
1
|
+
import { DEFAULT_BOOKING_DELIVERY_OPTION as e } from "../chunks/pkg/booking-engine/dist/schemas/cart-inputs-epi7FXIk.js";
|
|
2
|
+
import "../chunks/pkg/booking-engine/dist/schemas-DGn2a1my.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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { productKindSchema as e } from "../chunks/pkg/booking-engine/dist/models/Product.shared-
|
|
2
|
-
import { DEFAULT_BOOKING_DELIVERY_OPTION as t, bookingScheduleInputSchema as n } from "../chunks/pkg/booking-engine/dist/schemas/cart-inputs-
|
|
3
|
-
import "../chunks/pkg/booking-engine/dist/schemas-
|
|
1
|
+
import { productKindSchema as e } from "../chunks/pkg/booking-engine/dist/models/Product.shared-CWP_qule.js";
|
|
2
|
+
import { DEFAULT_BOOKING_DELIVERY_OPTION as t, bookingScheduleInputSchema as n } from "../chunks/pkg/booking-engine/dist/schemas/cart-inputs-epi7FXIk.js";
|
|
3
|
+
import "../chunks/pkg/booking-engine/dist/schemas-DGn2a1my.js";
|
|
4
4
|
import { storefrontFulfillmentModeSchema as r } from "../storefrontSchemas.js";
|
|
5
5
|
import { MISSING_ONLINE_PAYMENT_PROVIDER_ERROR_CODE as i, checkoutPaymentErrorCodeSchema as a } from "./checkoutPaymentDecision.js";
|
|
6
6
|
import { z as o } from "zod";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { timeOfDaySchema as e } from "./chunks/pkg/booking-engine/dist/schemas/shop-opening-hours-BlLD1gfz.js";
|
|
2
2
|
import { publicBookingEngineConfigurationSchema as t } from "./chunks/pkg/booking-engine/dist/schemas/public-booking-engine-configuration-CEM9mexX.js";
|
|
3
|
-
import "./chunks/pkg/booking-engine/dist/schemas-
|
|
3
|
+
import "./chunks/pkg/booking-engine/dist/schemas-DGn2a1my.js";
|
|
4
4
|
import { z as n } from "zod";
|
|
5
5
|
//#region src/storefrontSchemas.ts
|
|
6
6
|
var r = n.string().trim().regex(/^\+[1-9]\d{1,14}$/, { message: "Invalid phone number format (expected E.164, e.g. +14155552671)." }), i = n.object({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loczer/storefront-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.218.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -146,7 +146,6 @@
|
|
|
146
146
|
"class-variance-authority": "0.7.1",
|
|
147
147
|
"clsx": "2.1.1",
|
|
148
148
|
"date-fns": "4.1.0",
|
|
149
|
-
"framer-motion": "12.41.0",
|
|
150
149
|
"html-to-image": "1.11.13",
|
|
151
150
|
"imask": "7.6.1",
|
|
152
151
|
"i18next": "26.3.6",
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { identifierSchema as e, isoDateTimeSchema as t } from "./types-rIp4ReXN.js";
|
|
2
|
-
import { localizedStringArraySchema as n, localizedStringSchema as r } from "./LocalizedString-D_TRgAdr.js";
|
|
3
|
-
import { moneyMinorSchema as i } from "../schemas/money-CVoCY4of.js";
|
|
4
|
-
import { priceSchema as a } from "./Price-DCAgqkKh.js";
|
|
5
|
-
import { z as o } from "zod";
|
|
6
|
-
//#region ../booking-engine/dist/models/Product.shared.js
|
|
7
|
-
var s = o.enum([
|
|
8
|
-
"bike",
|
|
9
|
-
"e-bike",
|
|
10
|
-
"accessory"
|
|
11
|
-
]), c = "bike", l = o.enum(["variant_selector", "variants_as_products"]), u = o.union([o.string().trim().url(), o.string().trim().regex(/^[a-f0-9]{24}$/i)]), d = "variant_code", f = 3, p = o.string().trim().min(1, "Variant code is required").max(3, "Variant code must be 3 characters or less");
|
|
12
|
-
function m(e) {
|
|
13
|
-
return e.trim().toLowerCase() === d;
|
|
14
|
-
}
|
|
15
|
-
var h = o.object({
|
|
16
|
-
kind: e,
|
|
17
|
-
value: e
|
|
18
|
-
}).superRefine((e, t) => {
|
|
19
|
-
if (!m(e.kind)) return;
|
|
20
|
-
let n = p.safeParse(e.value);
|
|
21
|
-
if (!n.success) for (let e of n.error.issues) t.addIssue({
|
|
22
|
-
code: o.ZodIssueCode.custom,
|
|
23
|
-
path: ["value"],
|
|
24
|
-
message: e.message
|
|
25
|
-
});
|
|
26
|
-
}), g = o.object({
|
|
27
|
-
key: e,
|
|
28
|
-
label: o.string().min(1).optional(),
|
|
29
|
-
value: o.string().min(1)
|
|
30
|
-
}), _ = o.object({
|
|
31
|
-
id: e,
|
|
32
|
-
computedName: o.string().min(1),
|
|
33
|
-
attributes: o.array(g).default([]),
|
|
34
|
-
identifiers: o.array(h).default([])
|
|
35
|
-
}), v = o.object({
|
|
36
|
-
enabled: o.boolean().default(!1),
|
|
37
|
-
pricePerDayMinor: i.default(0),
|
|
38
|
-
deductibleAmountMinor: i.default(0),
|
|
39
|
-
insuredValueMinor: i.default(0)
|
|
40
|
-
}), y = o.object({
|
|
41
|
-
_id: e,
|
|
42
|
-
kind: s,
|
|
43
|
-
name: r,
|
|
44
|
-
description: r.optional(),
|
|
45
|
-
warning: r.optional(),
|
|
46
|
-
images: o.array(u).optional(),
|
|
47
|
-
prices: o.array(a).optional(),
|
|
48
|
-
depositAmount: i.default(0),
|
|
49
|
-
insurance: v.default({
|
|
50
|
-
enabled: !1,
|
|
51
|
-
pricePerDayMinor: 0,
|
|
52
|
-
deductibleAmountMinor: 0,
|
|
53
|
-
insuredValueMinor: 0
|
|
54
|
-
}),
|
|
55
|
-
bufferStartMinutes: o.number().int().min(0).optional(),
|
|
56
|
-
bufferEndMinutes: o.number().int().min(0).optional(),
|
|
57
|
-
storefrontDisplayMode: l.default("variant_selector"),
|
|
58
|
-
createdAt: t,
|
|
59
|
-
updatedAt: t,
|
|
60
|
-
productVariants: o.array(_).min(1)
|
|
61
|
-
}), b = y.extend({ features: n.optional() }), x = b.extend({ kind: o.literal("bike") }), S = b.extend({ kind: o.literal("e-bike") }), C = y.extend({
|
|
62
|
-
kind: o.literal("accessory"),
|
|
63
|
-
prices: o.array(a)
|
|
64
|
-
}), w = o.discriminatedUnion("kind", [
|
|
65
|
-
x,
|
|
66
|
-
S,
|
|
67
|
-
C
|
|
68
|
-
]);
|
|
69
|
-
//#endregion
|
|
70
|
-
export { c as DEFAULT_PRODUCT_KIND, d as PRODUCT_VARIANT_CODE_IDENTIFIER_KIND, f as PRODUCT_VARIANT_CODE_MAX_LENGTH, C as accessoryProductSchema, x as bikeProductSchema, S as eBikeProductSchema, m as isProductVariantCodeIdentifierKind, v as productInsuranceSchema, s as productKindSchema, w as productSchema, l as productStorefrontDisplayModeSchema, g as productVariantAttributeSchema, p as productVariantCodeSchema, h as productVariantIdentifierSchema, _ as productVariantSchema };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { booleanNumberRecordSchema as e, identifierSchema as t, isoDateTimeSchema as n, objectIdStringSchema as r } from "../models/types-rIp4ReXN.js";
|
|
2
|
-
import { productVariantIdentifierSchema as i } from "../models/Product.shared-iVSHRdn4.js";
|
|
3
|
-
import { z as a } from "zod";
|
|
4
|
-
//#region ../booking-engine/dist/schemas/base-asset.js
|
|
5
|
-
var o = a.enum([
|
|
6
|
-
"available",
|
|
7
|
-
"maintenance",
|
|
8
|
-
"lost",
|
|
9
|
-
"blocked"
|
|
10
|
-
]), s = r.transform((e) => e.toLowerCase()), c = a.object({
|
|
11
|
-
_id: s,
|
|
12
|
-
productId: t,
|
|
13
|
-
shopId: t,
|
|
14
|
-
status: o,
|
|
15
|
-
identifiers: a.array(i).default([]),
|
|
16
|
-
productVariantId: t,
|
|
17
|
-
attributes: e.optional(),
|
|
18
|
-
createdAt: n,
|
|
19
|
-
updatedAt: n
|
|
20
|
-
});
|
|
21
|
-
//#endregion
|
|
22
|
-
export { s as assetIdSchema, c as baseAssetSchema, o as baseAssetStatusSchema };
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { identifierSchema as e, isoDateTimeSchema as t, objectIdStringSchema as n, ulidStringSchema as r } from "../models/types-rIp4ReXN.js";
|
|
2
|
-
import { moneyMinorSchema as i } from "./money-CVoCY4of.js";
|
|
3
|
-
import { productKindSchema as a } from "../models/Product.shared-iVSHRdn4.js";
|
|
4
|
-
import { richTextSchema as o } from "./rich-text-DTRh7U3z.js";
|
|
5
|
-
import { cancellationPolicySchema as s } from "./booking-engine-configuration-LnrhShqm.js";
|
|
6
|
-
import { bookingInsuranceSnapshotSchema as c } from "./insurance-CPeHsTss.js";
|
|
7
|
-
import { z as l } from "zod";
|
|
8
|
-
//#region ../booking-engine/dist/schemas/base-booking.js
|
|
9
|
-
var u = l.enum([
|
|
10
|
-
"pending_approval",
|
|
11
|
-
"pending_payment",
|
|
12
|
-
"confirmed",
|
|
13
|
-
"active",
|
|
14
|
-
"completed",
|
|
15
|
-
"canceled",
|
|
16
|
-
"expired"
|
|
17
|
-
]), d = l.object({
|
|
18
|
-
_id: e,
|
|
19
|
-
productId: e,
|
|
20
|
-
kind: a,
|
|
21
|
-
qty: l.number().int().positive(),
|
|
22
|
-
productVariantId: e.optional()
|
|
23
|
-
}), f = l.object({
|
|
24
|
-
firstName: l.string().trim().min(1).optional(),
|
|
25
|
-
lastName: l.string().trim().min(1).optional(),
|
|
26
|
-
name: l.preprocess((e) => {
|
|
27
|
-
if (typeof e != "string") return;
|
|
28
|
-
let t = e.trim();
|
|
29
|
-
return t.length > 0 ? t : void 0;
|
|
30
|
-
}, l.string().min(1).optional()),
|
|
31
|
-
email: l.preprocess((e) => {
|
|
32
|
-
if (typeof e != "string") return;
|
|
33
|
-
let t = e.trim();
|
|
34
|
-
return t.length > 0 ? t : void 0;
|
|
35
|
-
}, l.string().email().optional()),
|
|
36
|
-
phone: l.preprocess((e) => {
|
|
37
|
-
if (typeof e != "string") return;
|
|
38
|
-
let t = e.trim();
|
|
39
|
-
return t.length > 0 ? t : void 0;
|
|
40
|
-
}, l.string().min(1).optional()),
|
|
41
|
-
message: o.optional()
|
|
42
|
-
}), p = l.object({
|
|
43
|
-
_id: n,
|
|
44
|
-
externalId: r,
|
|
45
|
-
state: u,
|
|
46
|
-
shopId: e,
|
|
47
|
-
customer: f,
|
|
48
|
-
deliveryOption: l.enum(["delivery", "pickup"]),
|
|
49
|
-
start: t,
|
|
50
|
-
end: t,
|
|
51
|
-
startAddress: l.string().optional(),
|
|
52
|
-
endAddress: l.string().optional(),
|
|
53
|
-
items: l.array(d),
|
|
54
|
-
couponCode: l.string().min(1).optional(),
|
|
55
|
-
couponDiscountRate: l.number().min(0).max(1).optional(),
|
|
56
|
-
couponDiscountAmountUnits: i.optional(),
|
|
57
|
-
couponAutoApplied: l.boolean().optional(),
|
|
58
|
-
couponPriceRuleId: e.optional(),
|
|
59
|
-
lateReturnSurchargeUnits: i.optional(),
|
|
60
|
-
insurance: c.optional(),
|
|
61
|
-
totalPriceUnits: i.optional(),
|
|
62
|
-
cancellationPolicySnapshot: s.optional(),
|
|
63
|
-
cancellationPolicyOverride: s.optional(),
|
|
64
|
-
createdAt: t,
|
|
65
|
-
updatedAt: t
|
|
66
|
-
});
|
|
67
|
-
//#endregion
|
|
68
|
-
export { d as baseBookingItemSchema, p as baseBookingSchema, u as baseBookingStateSchema };
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { identifierSchema as e } from "../models/types-rIp4ReXN.js";
|
|
2
|
-
import { moneyMinorSchema as t } from "./money-CVoCY4of.js";
|
|
3
|
-
import { richTextSchema as n } from "./rich-text-DTRh7U3z.js";
|
|
4
|
-
import { isoDateSchema as r, timeOfDaySchema as i } from "./shop-opening-hours-BlLD1gfz.js";
|
|
5
|
-
import { fulfillmentModeSchema as a } from "./public-booking-engine-configuration-CEM9mexX.js";
|
|
6
|
-
import { z as o } from "zod";
|
|
7
|
-
//#region ../booking-engine/dist/schemas/cart-inputs.js
|
|
8
|
-
var s = o.object({
|
|
9
|
-
startDate: r,
|
|
10
|
-
endDate: r,
|
|
11
|
-
startTime: i,
|
|
12
|
-
endTime: i
|
|
13
|
-
}), c = o.object({
|
|
14
|
-
firstName: o.preprocess((e) => {
|
|
15
|
-
if (typeof e != "string") return;
|
|
16
|
-
let t = e.trim();
|
|
17
|
-
return t.length > 0 ? t : void 0;
|
|
18
|
-
}, o.string().min(1).optional()),
|
|
19
|
-
lastName: o.preprocess((e) => {
|
|
20
|
-
if (typeof e != "string") return;
|
|
21
|
-
let t = e.trim();
|
|
22
|
-
return t.length > 0 ? t : void 0;
|
|
23
|
-
}, o.string().min(1).optional()),
|
|
24
|
-
name: o.preprocess((e) => {
|
|
25
|
-
if (typeof e != "string") return;
|
|
26
|
-
let t = e.trim();
|
|
27
|
-
return t.length > 0 ? t : void 0;
|
|
28
|
-
}, o.string().min(1).optional()),
|
|
29
|
-
email: o.preprocess((e) => {
|
|
30
|
-
if (typeof e != "string") return;
|
|
31
|
-
let t = e.trim();
|
|
32
|
-
return t.length > 0 ? t : void 0;
|
|
33
|
-
}, o.string().email().optional()),
|
|
34
|
-
phone: o.preprocess((e) => {
|
|
35
|
-
if (typeof e != "string") return;
|
|
36
|
-
let t = e.trim();
|
|
37
|
-
return t.length > 0 ? t : void 0;
|
|
38
|
-
}, o.string().min(1).optional()),
|
|
39
|
-
message: n.optional()
|
|
40
|
-
}), l = o.object({
|
|
41
|
-
productId: e,
|
|
42
|
-
productVariantId: e.optional(),
|
|
43
|
-
qty: o.number().int().positive()
|
|
44
|
-
}), u = a, d = "pickup";
|
|
45
|
-
function f(e) {
|
|
46
|
-
return e === "delivery" ? "delivery" : d;
|
|
47
|
-
}
|
|
48
|
-
function p(e, t) {
|
|
49
|
-
e.deliveryOption === "delivery" && (e.startAddress?.trim() || t.addIssue({
|
|
50
|
-
code: o.ZodIssueCode.custom,
|
|
51
|
-
message: "Delivery start address is required.",
|
|
52
|
-
path: ["startAddress"]
|
|
53
|
-
}));
|
|
54
|
-
}
|
|
55
|
-
var m = o.object({
|
|
56
|
-
customer: c,
|
|
57
|
-
items: o.array(l),
|
|
58
|
-
schedule: s,
|
|
59
|
-
pickupShopId: e,
|
|
60
|
-
cartId: e.optional(),
|
|
61
|
-
couponCode: o.string().min(1).optional(),
|
|
62
|
-
couponDiscountRate: o.number().min(0).max(1).optional(),
|
|
63
|
-
couponDiscountAmountUnits: t.optional(),
|
|
64
|
-
couponAutoApplied: o.boolean().optional(),
|
|
65
|
-
couponPriceRuleId: e.optional(),
|
|
66
|
-
insuranceAccepted: o.boolean().default(!1),
|
|
67
|
-
deliveryOption: u.optional(),
|
|
68
|
-
startAddress: o.string().trim().max(500).optional(),
|
|
69
|
-
endAddress: o.string().trim().max(500).optional()
|
|
70
|
-
}), h = m.superRefine(p);
|
|
71
|
-
//#endregion
|
|
72
|
-
export { d as DEFAULT_BOOKING_DELIVERY_OPTION, c as bookingCustomerInputSchema, u as bookingDeliveryOptionSchema, s as bookingScheduleInputSchema, l as cartItemInputSchema, m as createBookingInputBaseSchema, h as createBookingInputSchema, f as resolveBookingDeliveryOption, p as validateBookingDeliveryAddress };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { createLocalizedStringEntry as e, getLocalizedStringValue as t, localizedStringArraySchema as n, localizedStringEntrySchema as r, localizedStringSchema as i } from "./models/LocalizedString-D_TRgAdr.js";
|
|
2
|
-
import { currencyCodeSchema as a, currencyMinorUnitDigits as o, majorToMinor as s, minorToMajor as c, moneyMinorSchema as l, signedMoneyMinorSchema as u } from "./schemas/money-CVoCY4of.js";
|
|
3
|
-
import { priceSchema as d, priceUnitSchema as f } from "./models/Price-DCAgqkKh.js";
|
|
4
|
-
import { DEFAULT_PRODUCT_KIND as p, PRODUCT_VARIANT_CODE_IDENTIFIER_KIND as m, PRODUCT_VARIANT_CODE_MAX_LENGTH as h, accessoryProductSchema as g, bikeProductSchema as _, eBikeProductSchema as v, isProductVariantCodeIdentifierKind as y, productInsuranceSchema as b, productKindSchema as x, productSchema as S, productStorefrontDisplayModeSchema as C, productVariantAttributeSchema as w, productVariantCodeSchema as T, productVariantIdentifierSchema as E, productVariantSchema as D } from "./models/Product.shared-iVSHRdn4.js";
|
|
5
|
-
import { richTextJsonDocSchema as O, richTextSchema as k, richTextVersionSchema as A } from "./schemas/rich-text-DTRh7U3z.js";
|
|
6
|
-
import { isoDateSchema as j, shopConfigurationSchema as M, shopExtraTimeSlotRuleSchema as N, shopOpeningDayIndexSchema as P, shopOpeningDaySchema as F, shopOpeningHoursOverrideSchema as I, shopOpeningHoursPeriodSchema as L, shopOpeningSlotSchema as R, timeOfDaySchema as z } from "./schemas/shop-opening-hours-BlLD1gfz.js";
|
|
7
|
-
import { DEFAULT_CANCELLATION_POLICY as B, DEFAULT_PAYMENT_POLICIES as V, cancellationPolicySchema as H, cancellationPolicyTierSchema as U, paymentPoliciesSchema as W } from "./schemas/booking-engine-configuration-LnrhShqm.js";
|
|
8
|
-
import { fulfillmentModeSchema as G, publicBookingEngineConfigurationSchema as K, publicCheckoutConfigurationSchema as q, publicCheckoutDynamicOptionsSchema as J } from "./schemas/public-booking-engine-configuration-CEM9mexX.js";
|
|
9
|
-
import { DEFAULT_BOOKING_DELIVERY_OPTION as Y, bookingCustomerInputSchema as X, bookingDeliveryOptionSchema as Z, bookingScheduleInputSchema as Q, cartItemInputSchema as $, createBookingInputBaseSchema as ee, createBookingInputSchema as te, resolveBookingDeliveryOption as ne, validateBookingDeliveryAddress as re } from "./schemas/cart-inputs-D1_Wmkca.js";
|
|
10
|
-
import { bookingInsuranceConsentSourceSchema as ie, bookingInsuranceItemSnapshotSchema as ae, bookingInsuranceSnapshotSchema as oe, buildBookingInsuranceSnapshot as se, calculateInsuranceCalendarDays as ce, insuranceProviderSchema as le } from "./schemas/insurance-CPeHsTss.js";
|
|
11
|
-
import "./schemas/base-product-BJHQLX8t.js";
|
|
12
|
-
import { assetIdSchema as ue, baseAssetSchema as de, baseAssetStatusSchema as fe } from "./schemas/base-asset-B4y__1qj.js";
|
|
13
|
-
import { baseBookingItemSchema as pe, baseBookingSchema as me, baseBookingStateSchema as he } from "./schemas/base-booking-Bhy2Kww1.js";
|
|
14
|
-
export { Y as DEFAULT_BOOKING_DELIVERY_OPTION, B as DEFAULT_CANCELLATION_POLICY, V as DEFAULT_PAYMENT_POLICIES, p as DEFAULT_PRODUCT_KIND, m as PRODUCT_VARIANT_CODE_IDENTIFIER_KIND, h as PRODUCT_VARIANT_CODE_MAX_LENGTH, g as accessoryProductSchema, ue as assetIdSchema, de as baseAssetSchema, fe as baseAssetStatusSchema, pe as baseBookingItemSchema, me as baseBookingSchema, he as baseBookingStateSchema, _ as bikeProductSchema, X as bookingCustomerInputSchema, Z as bookingDeliveryOptionSchema, ie as bookingInsuranceConsentSourceSchema, ae as bookingInsuranceItemSnapshotSchema, oe as bookingInsuranceSnapshotSchema, Q as bookingScheduleInputSchema, se as buildBookingInsuranceSnapshot, ce as calculateInsuranceCalendarDays, H as cancellationPolicySchema, U as cancellationPolicyTierSchema, $ as cartItemInputSchema, ee as createBookingInputBaseSchema, te as createBookingInputSchema, e as createLocalizedStringEntry, a as currencyCodeSchema, o as currencyMinorUnitDigits, v as eBikeProductSchema, G as fulfillmentModeSchema, t as getLocalizedStringValue, le as insuranceProviderSchema, y as isProductVariantCodeIdentifierKind, j as isoDateSchema, n as localizedStringArraySchema, r as localizedStringEntrySchema, i as localizedStringSchema, s as majorToMinor, c as minorToMajor, l as moneyMinorSchema, W as paymentPoliciesSchema, d as priceSchema, f as priceUnitSchema, b as productInsuranceSchema, x as productKindSchema, S as productSchema, C as productStorefrontDisplayModeSchema, w as productVariantAttributeSchema, T as productVariantCodeSchema, E as productVariantIdentifierSchema, D as productVariantSchema, K as publicBookingEngineConfigurationSchema, q as publicCheckoutConfigurationSchema, J as publicCheckoutDynamicOptionsSchema, ne as resolveBookingDeliveryOption, O as richTextJsonDocSchema, k as richTextSchema, A as richTextVersionSchema, M as shopConfigurationSchema, N as shopExtraTimeSlotRuleSchema, P as shopOpeningDayIndexSchema, F as shopOpeningDaySchema, I as shopOpeningHoursOverrideSchema, L as shopOpeningHoursPeriodSchema, R as shopOpeningSlotSchema, u as signedMoneyMinorSchema, z as timeOfDaySchema, re as validateBookingDeliveryAddress };
|