@loczer/storefront-sdk 0.217.0 → 0.219.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/BookingFlowPageLayout/index.d.ts +13 -0
- package/dist/components/BookingFlowPageLayout/index.d.ts.map +1 -0
- package/dist/components/BookingFlowPageLayout/index.js +35 -0
- package/dist/components/BookingPeriodSelector/components/BookingEndDateField.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingEndDateField.js +11 -34
- package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartDateField.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartDateField.js +2 -5
- package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +1 -1
- package/dist/components/BookingPeriodSelector/index.d.ts +1 -1
- package/dist/components/BookingPeriodSelector/index.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/useBookingPeriodController.d.ts +0 -5
- package/dist/components/BookingPeriodSelector/useBookingPeriodController.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/useBookingPeriodController.js +150 -159
- package/dist/components/Footer/BusinessHours.d.ts +2 -1
- package/dist/components/Footer/BusinessHours.d.ts.map +1 -1
- package/dist/components/Footer/BusinessHours.js +19 -18
- package/dist/components/Footer/businessHoursStatus.d.ts +25 -0
- package/dist/components/Footer/businessHoursStatus.d.ts.map +1 -0
- package/dist/components/Footer/businessHoursStatus.js +99 -0
- package/dist/components/Footer/businessHoursUtils.d.ts +2 -1
- package/dist/components/Footer/businessHoursUtils.d.ts.map +1 -1
- package/dist/components/Footer/businessHoursUtils.js +52 -45
- package/dist/components/Footer/index.d.ts +2 -1
- package/dist/components/Footer/index.d.ts.map +1 -1
- package/dist/components/Footer/index.js +26 -25
- package/dist/components/Layout/index.d.ts.map +1 -1
- package/dist/components/Layout/index.js +2 -1
- package/dist/components/Map/index.js +1 -1
- package/dist/components/StorefrontCancellationPolicyNotice/index.d.ts.map +1 -1
- package/dist/components/StorefrontCancellationPolicyNotice/index.js +89 -86
- package/dist/components/StorefrontCartPanel/index.js +4 -4
- package/dist/components/StorefrontInsuranceNotice/index.d.ts +2 -1
- package/dist/components/StorefrontInsuranceNotice/index.d.ts.map +1 -1
- package/dist/components/StorefrontInsuranceNotice/index.js +155 -162
- package/dist/i18n/en.d.ts +7 -1
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +8 -2
- package/dist/i18n/fr.d.ts +7 -1
- package/dist/i18n/fr.d.ts.map +1 -1
- package/dist/i18n/fr.js +8 -2
- package/dist/index.d.ts +27 -9
- 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/lib/pricing.d.ts.map +1 -1
- package/dist/lib/pricing.js +3 -1
- package/dist/lib/products.d.ts +6 -0
- package/dist/lib/products.d.ts.map +1 -1
- package/dist/lib/products.js +36 -32
- package/dist/pages/BookingPage.d.ts.map +1 -1
- package/dist/pages/BookingPage.js +306 -335
- package/dist/pages/CheckoutPage.d.ts.map +1 -1
- package/dist/pages/CheckoutPage.js +154 -168
- package/dist/pages/HomePage.d.ts.map +1 -1
- package/dist/pages/HomePage.js +435 -378
- package/dist/storefront.css +1 -1
- 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
|
@@ -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.219.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 };
|