@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/chunks/pkg/booking-engine/dist/schemas/{insurance-CPeHsTss.js → insurance-DXc34Bzy.js}
RENAMED
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
import { identifierSchema as e, isoDateTimeSchema as t } from "../models/types-rIp4ReXN.js";
|
|
2
2
|
import { moneyMinorSchema as n } from "./money-CVoCY4of.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { productIdSchema as r } from "./product-id--yyUTH1Y.js";
|
|
4
|
+
import { productKindSchema as i } from "../models/Product.shared-CWP_qule.js";
|
|
5
|
+
import { z as a } from "zod";
|
|
5
6
|
//#region ../booking-engine/dist/schemas/insurance.js
|
|
6
|
-
var
|
|
7
|
+
var o = a.enum(["sharelock", "morio"]), s = a.enum(["storefront", "staff"]), c = a.object({
|
|
7
8
|
bookingItemId: e,
|
|
8
|
-
productId:
|
|
9
|
+
productId: r,
|
|
9
10
|
productVariantId: e.optional(),
|
|
10
|
-
kind:
|
|
11
|
-
qty:
|
|
11
|
+
kind: i,
|
|
12
|
+
qty: a.number().int().positive(),
|
|
12
13
|
pricePerDayMinor: n,
|
|
13
14
|
deductibleAmountMinor: n,
|
|
14
15
|
insuredValueMinor: n,
|
|
15
16
|
totalMinor: n
|
|
16
|
-
}),
|
|
17
|
-
accepted:
|
|
17
|
+
}), l = a.object({
|
|
18
|
+
accepted: a.literal(!0),
|
|
18
19
|
acceptedAt: t,
|
|
19
|
-
consentSource:
|
|
20
|
-
provider:
|
|
21
|
-
billableDays:
|
|
20
|
+
consentSource: s,
|
|
21
|
+
provider: o,
|
|
22
|
+
billableDays: a.number().int().positive(),
|
|
22
23
|
subtotalMinor: n,
|
|
23
|
-
items:
|
|
24
|
-
}),
|
|
25
|
-
function
|
|
24
|
+
items: a.array(c).min(1)
|
|
25
|
+
}), u = 1440 * 60 * 1e3;
|
|
26
|
+
function d(e, t) {
|
|
26
27
|
let n = new Intl.DateTimeFormat("en-CA", {
|
|
27
28
|
timeZone: t,
|
|
28
29
|
year: "numeric",
|
|
@@ -31,12 +32,12 @@ function u(e, t) {
|
|
|
31
32
|
}), r = new Map(n.formatToParts(e).map((e) => [e.type, e.value]));
|
|
32
33
|
return Date.UTC(Number(r.get("year")), Number(r.get("month")) - 1, Number(r.get("day")));
|
|
33
34
|
}
|
|
34
|
-
function
|
|
35
|
+
function f(e, t, n = "UTC") {
|
|
35
36
|
if (!Number.isFinite(e.getTime()) || !Number.isFinite(t.getTime())) throw Error("Insurance dates must be valid.");
|
|
36
37
|
if (t.getTime() <= e.getTime()) throw Error("Insurance end datetime must be after the start datetime.");
|
|
37
|
-
return Math.max(1, Math.round((
|
|
38
|
+
return Math.max(1, Math.round((d(t, n) - d(e, n)) / u) + 1);
|
|
38
39
|
}
|
|
39
|
-
function
|
|
40
|
+
function p(e) {
|
|
40
41
|
let t = Math.max(1, Math.round(e.billableDays)), n = e.items.flatMap((e) => {
|
|
41
42
|
if (e.kind !== "bike" && e.kind !== "e-bike" || e.insurance?.enabled !== !0) return [];
|
|
42
43
|
let n = Math.max(1, Math.round(e.qty)), r = Math.max(0, Math.round(e.insurance.pricePerDayMinor ?? 0)), i = Math.max(0, Math.round(e.insurance.deductibleAmountMinor ?? 0)), a = Math.max(0, Math.round(e.insurance.insuredValueMinor ?? 0));
|
|
@@ -53,7 +54,7 @@ function f(e) {
|
|
|
53
54
|
}];
|
|
54
55
|
});
|
|
55
56
|
if (n.length === 0) throw Error("Insurance is not available for the selected products.");
|
|
56
|
-
return
|
|
57
|
+
return l.parse({
|
|
57
58
|
accepted: !0,
|
|
58
59
|
acceptedAt: e.acceptedAt,
|
|
59
60
|
consentSource: e.consentSource,
|
|
@@ -64,4 +65,4 @@ function f(e) {
|
|
|
64
65
|
});
|
|
65
66
|
}
|
|
66
67
|
//#endregion
|
|
67
|
-
export {
|
|
68
|
+
export { s as bookingInsuranceConsentSourceSchema, c as bookingInsuranceItemSnapshotSchema, l as bookingInsuranceSnapshotSchema, p as buildBookingInsuranceSnapshot, f as calculateInsuranceCalendarDays, o as insuranceProviderSchema };
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { productIdSchema as p } from "./schemas/product-id--yyUTH1Y.js";
|
|
5
|
+
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 "./models/Product.shared-CWP_qule.js";
|
|
6
|
+
import { richTextJsonDocSchema as k, richTextSchema as A, richTextVersionSchema as j } from "./schemas/rich-text-DTRh7U3z.js";
|
|
7
|
+
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 "./schemas/shop-opening-hours-BlLD1gfz.js";
|
|
8
|
+
import { DEFAULT_CANCELLATION_POLICY as V, DEFAULT_PAYMENT_POLICIES as H, cancellationPolicySchema as U, cancellationPolicyTierSchema as W, paymentPoliciesSchema as G } from "./schemas/booking-engine-configuration-LnrhShqm.js";
|
|
9
|
+
import { fulfillmentModeSchema as K, publicBookingEngineConfigurationSchema as q, publicCheckoutConfigurationSchema as J, publicCheckoutDynamicOptionsSchema as Y } from "./schemas/public-booking-engine-configuration-CEM9mexX.js";
|
|
10
|
+
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 "./schemas/cart-inputs-epi7FXIk.js";
|
|
11
|
+
import { bookingInsuranceConsentSourceSchema as ae, bookingInsuranceItemSnapshotSchema as oe, bookingInsuranceSnapshotSchema as se, buildBookingInsuranceSnapshot as ce, calculateInsuranceCalendarDays as le, insuranceProviderSchema as ue } from "./schemas/insurance-DXc34Bzy.js";
|
|
12
|
+
import "./schemas/base-product-Bde9lJQD.js";
|
|
13
|
+
import { assetIdSchema as de, baseAssetSchema as fe, baseAssetStatusSchema as pe } from "./schemas/base-asset-BhIOL2rP.js";
|
|
14
|
+
import { baseBookingItemSchema as me, baseBookingSchema as he, baseBookingStateSchema as ge } from "./schemas/base-booking-C9kJFMIu.js";
|
|
15
|
+
export { X as DEFAULT_BOOKING_DELIVERY_OPTION, V as DEFAULT_CANCELLATION_POLICY, H as DEFAULT_PAYMENT_POLICIES, m as DEFAULT_PRODUCT_KIND, h as PRODUCT_VARIANT_CODE_IDENTIFIER_KIND, g as PRODUCT_VARIANT_CODE_MAX_LENGTH, _ as accessoryProductSchema, de as assetIdSchema, fe as baseAssetSchema, pe as baseAssetStatusSchema, me as baseBookingItemSchema, he as baseBookingSchema, ge as baseBookingStateSchema, v as bikeProductSchema, Z as bookingCustomerInputSchema, Q as bookingDeliveryOptionSchema, ae as bookingInsuranceConsentSourceSchema, oe as bookingInsuranceItemSnapshotSchema, se as bookingInsuranceSnapshotSchema, $ as bookingScheduleInputSchema, ce as buildBookingInsuranceSnapshot, le as calculateInsuranceCalendarDays, U as cancellationPolicySchema, W as cancellationPolicyTierSchema, ee as cartItemInputSchema, te as createBookingInputBaseSchema, ne as createBookingInputSchema, e as createLocalizedStringEntry, a as currencyCodeSchema, o as currencyMinorUnitDigits, y as eBikeProductSchema, K as fulfillmentModeSchema, t as getLocalizedStringValue, ue as insuranceProviderSchema, b as isProductVariantCodeIdentifierKind, M as isoDateSchema, n as localizedStringArraySchema, r as localizedStringEntrySchema, i as localizedStringSchema, s as majorToMinor, c as minorToMajor, l as moneyMinorSchema, G as paymentPoliciesSchema, 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, q as publicBookingEngineConfigurationSchema, J as publicCheckoutConfigurationSchema, Y as publicCheckoutDynamicOptionsSchema, re as resolveBookingDeliveryOption, 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, u as signedMoneyMinorSchema, B as timeOfDaySchema, ie as validateBookingDeliveryAddress };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __toESM as e } from "../../../../_virtual/_rolldown/runtime-
|
|
1
|
+
import { __toESM as e } from "../../../../_virtual/_rolldown/runtime-B5ovbsoX.js";
|
|
2
2
|
import { cn as t } from "../lib/utils-DXB19bzk.js";
|
|
3
3
|
import { DEFAULT_MAP_ROUTE_COLOR as n, DEFAULT_MAP_SKELETON_COLOR as r, createMapRoutePaint as i } from "./constants-dF2KdJZy.js";
|
|
4
4
|
import { DEFAULT_MAP_CENTER as a } from "../static/strings-1T2w7LqX.js";
|
|
@@ -6,7 +6,7 @@ import { classifyMapboxError as o, toSanitizedMapboxError as s } from "./mapboxE
|
|
|
6
6
|
import { Component as c, useEffect as l, useRef as u, useState as d } from "react";
|
|
7
7
|
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
8
8
|
//#region ../ui/dist/Map/MapContent.js
|
|
9
|
-
var m = 2, h = 750, g = null, _ = async () => (g ||= Promise.all([import("../../../../node_modules/mapbox-gl/dist/mapbox-gl-
|
|
9
|
+
var m = 2, h = 750, g = null, _ = async () => (g ||= Promise.all([import("../../../../node_modules/mapbox-gl/dist/mapbox-gl-C3MzR-4r.js").then((t) => /* @__PURE__ */ e(t.default, 1)), Promise.resolve({ })]).then(([e]) => e.default ?? e).catch((e) => {
|
|
10
10
|
throw g = null, e;
|
|
11
11
|
}), g), v = ({ mapboxToken: e, initialCenter: c = a, initialZoom: g = 11, markers: v = [], routeGeoJson: y, routeColor: x = n, routeWidth: S = 5, polygonGeoJson: C, routeEndpointsToFetch: w, className: T, style: E, interactive: D = !0, showNavigationControl: O = !0, cooperativeGestures: k = !0, mapStyle: A = "mapbox://styles/pr37capital/cmajla29i003901s9ex09hiw4", onMapLoad: j, onMapMoveOrZoom: M, skeletonColor: N = r }) => {
|
|
12
12
|
let P = u(null), F = u(null), [I, L] = d(null), R = u([]), z = u(g), [B, V] = d(null), [H, U] = d(!1), W = u(!1), G = t("relative overflow-clip w-full h-full", T);
|
|
@@ -14,7 +14,7 @@ var l = ({ className: t, style: n, color: r }) => /* @__PURE__ */ c("div", {
|
|
|
14
14
|
style: { backgroundColor: r ?? "rgb(201 221 176)" }
|
|
15
15
|
})
|
|
16
16
|
}), /* @__PURE__ */ s("div", { className: "h-full w-full transition-opacity duration-500 ease-out pointer-events-none opacity-0" })]
|
|
17
|
-
}), u = r(() => import("./Map/MapContent-
|
|
17
|
+
}), u = r(() => import("./Map/MapContent-BgCi-wZr.js")), d = (e) => {
|
|
18
18
|
let r = a(null), [c, d] = o(!1);
|
|
19
19
|
i(() => {
|
|
20
20
|
if (t()) return;
|
package/dist/chunks/pkg/ui/dist/{MorphingModalWizard-DOH1GYVR.js → MorphingModalWizard-j1CgFGLe.js}
RENAMED
|
@@ -5,7 +5,6 @@ import "./Button-Cr_u8vnh.js";
|
|
|
5
5
|
import { createContext as e, useContext as t } from "react";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
7
|
import "lucide-react";
|
|
8
|
-
import "framer-motion";
|
|
9
8
|
//#region ../ui/dist/MorphingModalWizard.js
|
|
10
9
|
var n = e(null), r = () => t(n);
|
|
11
10
|
//#endregion
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { getStorefrontProductVariantDisplay as e, getStorefrontProductVariantHeightRange as t } from "../../lib/productVariants.js";
|
|
2
2
|
import { Button as n } from "../../ui/button.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
3
|
+
import { AnimatePresence as r } from "../../chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/index-DmhaitYv.js";
|
|
4
|
+
import { motion as i } from "../../chunks/node_modules/framer-motion/dist/es/render/components/motion/proxy-DXxjnqei.js";
|
|
5
|
+
import { Input as a } from "../../ui/input.js";
|
|
6
|
+
import { BikeProductCard as o } from "../BikeProductCard/index.js";
|
|
7
|
+
import { useEffect as s, useRef as c, useState as l } from "react";
|
|
8
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
9
|
+
import { useTranslation as f } from "react-i18next";
|
|
10
|
+
import { cn as p } from "@rpcbase/ui";
|
|
11
|
+
import { Plus as m } from "lucide-react";
|
|
11
12
|
//#region src/components/BookingBikeQuickAddCard/index.tsx
|
|
12
13
|
var h = () => typeof window < "u" && window.matchMedia("(hover: hover) and (pointer: fine)").matches, g = (e) => {
|
|
13
14
|
let t = Number.parseInt(e, 10);
|
|
@@ -17,10 +18,10 @@ var h = () => typeof window < "u" && window.matchMedia("(hover: hover) and (poin
|
|
|
17
18
|
return t ? String(g(t)) : "";
|
|
18
19
|
};
|
|
19
20
|
function v({ bike: v, detailsPath: y, productDetailsLinkState: b, actionDisabled: x = !1, fallbackLanguage: S, dimOnColumnCount: C, onAction: w, onQuickAdd: T, onHoverStart: E, onHoverEnd: D, testId: O }) {
|
|
20
|
-
let { t: k } =
|
|
21
|
+
let { t: k } = f(), A = c(null), [j, M] = l(!1), [N, P] = l({}), F = v.productVariants ?? [], I = !x && F.length > 0, L = () => !I || !h() ? !1 : (M(!0), !0), R = () => {
|
|
21
22
|
M(!1), P({});
|
|
22
23
|
};
|
|
23
|
-
|
|
24
|
+
s(() => {
|
|
24
25
|
if (!j) return;
|
|
25
26
|
let e = (e) => {
|
|
26
27
|
if (e.pointerType !== "mouse") return;
|
|
@@ -61,15 +62,15 @@ function v({ bike: v, detailsPath: y, productDetailsLinkState: b, actionDisabled
|
|
|
61
62
|
let t = g(H(e));
|
|
62
63
|
U(e, String(t)), T(e, t);
|
|
63
64
|
};
|
|
64
|
-
return /* @__PURE__ */
|
|
65
|
+
return /* @__PURE__ */ d("div", {
|
|
65
66
|
ref: A,
|
|
66
67
|
"data-testid": O,
|
|
67
68
|
onPointerEnter: z,
|
|
68
69
|
onPointerLeave: B,
|
|
69
70
|
onFocusCapture: L,
|
|
70
71
|
onBlurCapture: V,
|
|
71
|
-
className:
|
|
72
|
-
children: [/* @__PURE__ */
|
|
72
|
+
className: p("relative h-full overflow-visible transition-opacity duration-200", C === 1 && "opacity-20 md:opacity-100", C === 2 && "md:opacity-20", j && I && "z-30"),
|
|
73
|
+
children: [/* @__PURE__ */ u(o, {
|
|
73
74
|
bike: v,
|
|
74
75
|
detailsPath: y,
|
|
75
76
|
productDetailsLinkState: b,
|
|
@@ -78,10 +79,10 @@ function v({ bike: v, detailsPath: y, productDetailsLinkState: b, actionDisabled
|
|
|
78
79
|
actionDisabled: x,
|
|
79
80
|
fallbackLanguage: S,
|
|
80
81
|
variant: "booking",
|
|
81
|
-
className:
|
|
82
|
-
}), /* @__PURE__ */
|
|
82
|
+
className: p("transition-[border-color,box-shadow,border-radius] duration-200 hover:border-primary/20 hover:shadow-md", j && I && "!rounded-b-none border-primary/20 !border-b-white shadow-lg")
|
|
83
|
+
}), /* @__PURE__ */ u(r, {
|
|
83
84
|
initial: !1,
|
|
84
|
-
children: j && I ? /* @__PURE__ */
|
|
85
|
+
children: j && I ? /* @__PURE__ */ u(i.div, {
|
|
85
86
|
initial: {
|
|
86
87
|
opacity: 0,
|
|
87
88
|
y: -8,
|
|
@@ -110,54 +111,54 @@ function v({ bike: v, detailsPath: y, productDetailsLinkState: b, actionDisabled
|
|
|
110
111
|
"data-testid": `storefront-booking-bike-quick-selector-${v.id}`.toLowerCase(),
|
|
111
112
|
onClick: (e) => e.stopPropagation(),
|
|
112
113
|
onKeyDown: (e) => e.stopPropagation(),
|
|
113
|
-
children: /* @__PURE__ */
|
|
114
|
-
let { label:
|
|
115
|
-
return /* @__PURE__ */
|
|
114
|
+
children: /* @__PURE__ */ u("div", { children: F.map((r) => {
|
|
115
|
+
let { label: i } = e(r), o = t(r), s = `storefront-booking-bike-quick-quantity-${v.id}-${r.id}`.toLowerCase();
|
|
116
|
+
return /* @__PURE__ */ d("div", {
|
|
116
117
|
className: "flex items-center justify-between gap-3 border-b border-slate-100 py-1.5 last:border-b-0",
|
|
117
118
|
children: [
|
|
118
|
-
/* @__PURE__ */
|
|
119
|
+
/* @__PURE__ */ d("div", {
|
|
119
120
|
className: "flex min-w-0 flex-1 items-baseline gap-2",
|
|
120
|
-
children: [/* @__PURE__ */
|
|
121
|
+
children: [/* @__PURE__ */ u("span", {
|
|
121
122
|
className: "min-w-0 truncate text-sm font-semibold text-slate-950",
|
|
122
|
-
title:
|
|
123
|
-
children:
|
|
124
|
-
}), o ? /* @__PURE__ */
|
|
123
|
+
title: i,
|
|
124
|
+
children: i
|
|
125
|
+
}), o ? /* @__PURE__ */ u("span", {
|
|
125
126
|
className: "truncate text-xs text-slate-500",
|
|
126
127
|
children: o
|
|
127
128
|
}) : null]
|
|
128
129
|
}),
|
|
129
|
-
/* @__PURE__ */
|
|
130
|
+
/* @__PURE__ */ u("label", {
|
|
130
131
|
className: "sr-only",
|
|
131
132
|
htmlFor: s,
|
|
132
|
-
children: /* @__PURE__ */
|
|
133
|
+
children: /* @__PURE__ */ u("span", { children: k("quantity_label") })
|
|
133
134
|
}),
|
|
134
|
-
/* @__PURE__ */
|
|
135
|
+
/* @__PURE__ */ d("div", {
|
|
135
136
|
className: "flex shrink-0 items-center",
|
|
136
|
-
children: [/* @__PURE__ */
|
|
137
|
+
children: [/* @__PURE__ */ u(a, {
|
|
137
138
|
id: s,
|
|
138
139
|
type: "text",
|
|
139
140
|
inputMode: "numeric",
|
|
140
141
|
pattern: "[0-9]*",
|
|
141
|
-
value: H(
|
|
142
|
-
onChange: (e) => W(
|
|
143
|
-
onBlur: () => G(
|
|
142
|
+
value: H(r.id),
|
|
143
|
+
onChange: (e) => W(r.id, e),
|
|
144
|
+
onBlur: () => G(r.id),
|
|
144
145
|
className: "h-8 w-9 rounded-r-none border-r-0 px-1 text-center text-base focus-visible:z-10 md:text-sm",
|
|
145
146
|
"aria-label": k("quantity_label"),
|
|
146
147
|
"data-testid": s
|
|
147
|
-
}), /* @__PURE__ */
|
|
148
|
+
}), /* @__PURE__ */ d(n, {
|
|
148
149
|
type: "button",
|
|
149
150
|
size: "sm",
|
|
150
151
|
className: "h-8 gap-1 rounded-l-none px-2 text-xs",
|
|
151
|
-
onClick: () => K(
|
|
152
|
-
"data-testid": `storefront-booking-bike-quick-add-${v.id}-${
|
|
153
|
-
children: [/* @__PURE__ */
|
|
152
|
+
onClick: () => K(r.id),
|
|
153
|
+
"data-testid": `storefront-booking-bike-quick-add-${v.id}-${r.id}`.toLowerCase(),
|
|
154
|
+
children: [/* @__PURE__ */ u("span", { children: k("add_short") }), /* @__PURE__ */ u(m, {
|
|
154
155
|
className: "h-3.5 w-3.5",
|
|
155
156
|
"aria-hidden": "true"
|
|
156
157
|
})]
|
|
157
158
|
})]
|
|
158
159
|
})
|
|
159
160
|
]
|
|
160
|
-
},
|
|
161
|
+
}, r.id);
|
|
161
162
|
}) })
|
|
162
163
|
}, "quick-selector") : null
|
|
163
164
|
})]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Content as e, Provider as t, Root as n, TooltipTrigger as r } from "../../../ui/tooltip.js";
|
|
2
2
|
import { useBookingPeriod as i } from "../BookingPeriodContext.js";
|
|
3
|
-
import { useMorphingModalWizardOverlayLayer as a } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-
|
|
3
|
+
import { useMorphingModalWizardOverlayLayer as a } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-j1CgFGLe.js";
|
|
4
4
|
import { DayPicker as o } from "../../../ui/day-picker.js";
|
|
5
5
|
import { Label as s } from "../../../ui/label.js";
|
|
6
6
|
import { BookingPeriodFieldErrorMessage as c } from "./BookingPeriodFieldErrorMessage.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBookingPeriod as e } from "../BookingPeriodContext.js";
|
|
2
|
-
import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-
|
|
2
|
+
import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-j1CgFGLe.js";
|
|
3
3
|
import { Label as n } from "../../../ui/label.js";
|
|
4
4
|
import { BookingPeriodFieldErrorMessage as r } from "./BookingPeriodFieldErrorMessage.js";
|
|
5
5
|
import { BookingHourPickerField as i } from "./internal/BookingHourPickerField.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBookingPeriod as e } from "../BookingPeriodContext.js";
|
|
2
|
-
import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-
|
|
2
|
+
import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-j1CgFGLe.js";
|
|
3
3
|
import { DayPicker as n } from "../../../ui/day-picker.js";
|
|
4
4
|
import { Label as r } from "../../../ui/label.js";
|
|
5
5
|
import { BookingPeriodFieldErrorMessage as i } from "./BookingPeriodFieldErrorMessage.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBookingPeriod as e } from "../BookingPeriodContext.js";
|
|
2
|
-
import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-
|
|
2
|
+
import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-j1CgFGLe.js";
|
|
3
3
|
import { Label as n } from "../../../ui/label.js";
|
|
4
4
|
import { BookingPeriodFieldErrorMessage as r } from "./BookingPeriodFieldErrorMessage.js";
|
|
5
5
|
import { BookingHourPickerField as i } from "./internal/BookingHourPickerField.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import { RefObject } from 'react';
|
|
|
17
17
|
import { TFunction } from 'i18next';
|
|
18
18
|
import { VariantProps } from 'class-variance-authority';
|
|
19
19
|
import { z } from 'zod';
|
|
20
|
+
import { ZodString } from 'zod';
|
|
20
21
|
|
|
21
22
|
export declare function AboutSection(): JSX.Element;
|
|
22
23
|
|
|
@@ -2593,6 +2594,8 @@ export declare interface ProductAccessory {
|
|
|
2593
2594
|
productVariants?: ProductVariant[];
|
|
2594
2595
|
}
|
|
2595
2596
|
|
|
2597
|
+
export declare const productIdSchema: ZodString;
|
|
2598
|
+
|
|
2596
2599
|
export declare type ProductInsurance = z.infer<typeof productInsuranceSchema>;
|
|
2597
2600
|
|
|
2598
2601
|
export declare const productInsuranceSchema: z.ZodObject<{
|