@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
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { businessDateStringToDate as e, calendarDateToBusinessDateString as t, getWeekdayFromDateString as n, instantToBusinessDateTimeParts as r, normalizeBusinessDateString as i, parseTimeToMinutes as a } from "../../lib/booking-period.js";
|
|
2
|
+
//#region src/components/Footer/businessHoursStatus.ts
|
|
3
|
+
var o = 370, s = (n, r) => {
|
|
4
|
+
let i = e(n);
|
|
5
|
+
if (!Number.isNaN(i.getTime())) return i.setDate(i.getDate() + r), t(i);
|
|
6
|
+
}, c = (e) => Array.isArray(e) ? e.map((e) => {
|
|
7
|
+
let t = a(e.start), n = a(e.end);
|
|
8
|
+
return t == null || n == null || t >= 1440 || n > 1440 || n <= t ? null : {
|
|
9
|
+
startMinutes: t,
|
|
10
|
+
endMinutes: n,
|
|
11
|
+
startTime: e.start
|
|
12
|
+
};
|
|
13
|
+
}).filter((e) => e != null).sort((e, t) => e.startMinutes - t.startMinutes) : [], l = (e) => {
|
|
14
|
+
let t = /* @__PURE__ */ new Map();
|
|
15
|
+
return e.forEach((e) => {
|
|
16
|
+
let n = i(e.date);
|
|
17
|
+
n && t.set(n, e);
|
|
18
|
+
}), t;
|
|
19
|
+
}, u = (e, t, r) => {
|
|
20
|
+
let a = r.get(e);
|
|
21
|
+
if (a) return c(a.openingSlots);
|
|
22
|
+
let o = t.find((t) => {
|
|
23
|
+
let n = i(t.startDate), r = i(t.endDate);
|
|
24
|
+
return !n || !r ? !1 : e >= (n < r ? n : r) && e <= (n < r ? r : n);
|
|
25
|
+
});
|
|
26
|
+
if (!o) return [];
|
|
27
|
+
let s = n(e);
|
|
28
|
+
return c(o.openingHours.find((e) => e.day === s)?.openingSlots);
|
|
29
|
+
}, d = ({ openingHours: e, openingHoursOverrides: t, timeZone: n, referenceDate: i = /* @__PURE__ */ new Date() }) => {
|
|
30
|
+
if (e.length === 0 && t.length === 0) return { kind: "unknown" };
|
|
31
|
+
let a;
|
|
32
|
+
try {
|
|
33
|
+
a = r(i, n);
|
|
34
|
+
} catch {
|
|
35
|
+
return { kind: "unknown" };
|
|
36
|
+
}
|
|
37
|
+
if (!a) return { kind: "unknown" };
|
|
38
|
+
let c = l(t);
|
|
39
|
+
for (let t = 0; t <= o; t += 1) {
|
|
40
|
+
let n = s(a.dateString, t);
|
|
41
|
+
if (!n) return { kind: "unknown" };
|
|
42
|
+
let r = u(n, e, c);
|
|
43
|
+
if (t === 0 && r.some((e) => a.minutesFromMidnight >= e.startMinutes && a.minutesFromMidnight < e.endMinutes)) return { kind: "open" };
|
|
44
|
+
let i = r.find((e) => t > 0 || e.startMinutes > a.minutesFromMidnight);
|
|
45
|
+
if (i) return {
|
|
46
|
+
kind: "closed",
|
|
47
|
+
nextOpening: {
|
|
48
|
+
date: n,
|
|
49
|
+
daysFromToday: t,
|
|
50
|
+
time: i.startTime
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
kind: "closed",
|
|
56
|
+
nextOpening: null
|
|
57
|
+
};
|
|
58
|
+
}, f = (e, t) => {
|
|
59
|
+
let n = a(e);
|
|
60
|
+
if (n == null || n >= 1440) return e;
|
|
61
|
+
let r = new Date(Date.UTC(2024, 0, 1, Math.floor(n / 60), n % 60));
|
|
62
|
+
try {
|
|
63
|
+
return new Intl.DateTimeFormat(t, {
|
|
64
|
+
hour: "numeric",
|
|
65
|
+
minute: "2-digit",
|
|
66
|
+
timeZone: "UTC"
|
|
67
|
+
}).format(r);
|
|
68
|
+
} catch {
|
|
69
|
+
return e;
|
|
70
|
+
}
|
|
71
|
+
}, p = (e, t) => {
|
|
72
|
+
let n = i(e);
|
|
73
|
+
if (!n) return e;
|
|
74
|
+
let [r, a, o] = n.split("-").map(Number), s = new Date(Date.UTC(r, a - 1, o));
|
|
75
|
+
try {
|
|
76
|
+
return new Intl.DateTimeFormat(t, {
|
|
77
|
+
weekday: "long",
|
|
78
|
+
timeZone: "UTC"
|
|
79
|
+
}).format(s);
|
|
80
|
+
} catch {
|
|
81
|
+
return e;
|
|
82
|
+
}
|
|
83
|
+
}, m = (e, t) => {
|
|
84
|
+
let n = i(e);
|
|
85
|
+
if (!n) return e;
|
|
86
|
+
let [r, a, o] = n.split("-").map(Number), s = new Date(Date.UTC(r, a - 1, o));
|
|
87
|
+
try {
|
|
88
|
+
return new Intl.DateTimeFormat(t, {
|
|
89
|
+
year: "numeric",
|
|
90
|
+
month: "long",
|
|
91
|
+
day: "numeric",
|
|
92
|
+
timeZone: "UTC"
|
|
93
|
+
}).format(s);
|
|
94
|
+
} catch {
|
|
95
|
+
return e;
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
//#endregion
|
|
99
|
+
export { m as formatBusinessHoursDate, f as formatBusinessHoursTime, p as formatBusinessHoursWeekday, d as getBusinessHoursStatus };
|
|
@@ -38,10 +38,11 @@ type BuildBusinessHoursSeasonSummaryOptions = {
|
|
|
38
38
|
closedLabel: string;
|
|
39
39
|
formatWeekdayRange: (startLabel: string, endLabel: string) => string;
|
|
40
40
|
formatSeasonRange: (startDate: string, endDate: string) => string;
|
|
41
|
+
timeZone: string;
|
|
41
42
|
includeReferenceDateOverrideInSeason?: boolean;
|
|
42
43
|
referenceDate?: Date;
|
|
43
44
|
};
|
|
44
|
-
export declare const buildBusinessHoursSeasonSummary: ({ openingHours, openingHoursOverrides, language, closedLabel, formatWeekdayRange, formatSeasonRange, includeReferenceDateOverrideInSeason, referenceDate, }: BuildBusinessHoursSeasonSummaryOptions) => {
|
|
45
|
+
export declare const buildBusinessHoursSeasonSummary: ({ openingHours, openingHoursOverrides, language, closedLabel, formatWeekdayRange, formatSeasonRange, timeZone, includeReferenceDateOverrideInSeason, referenceDate, }: BuildBusinessHoursSeasonSummaryOptions) => {
|
|
45
46
|
seasons: BusinessHoursSeasonOption[];
|
|
46
47
|
exceptions: BusinessHoursExceptionOption[];
|
|
47
48
|
defaultSeasonId: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"businessHoursUtils.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/businessHoursUtils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"businessHoursUtils.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/businessHoursUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAQL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,OAAO,EACb,MAAM,0BAA0B,CAAA;AACjC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AAGtE,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,OAAO,CAAA;IAClB,KAAK,EAAE,wBAAwB,EAAE,CAAA;CAClC,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,KAAK,sBAAsB,GAAG,uBAAuB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,cAAc,CAAC,CAAA;AAC9F,KAAK,+BAA+B,GAAG,uBAAuB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,uBAAuB,CAAC,CAAA;AAShH,eAAO,MAAM,+BAA+B,GAC1C,eAAe,sBAAsB,KACpC,iBAiBF,CAAA;AAED,eAAO,MAAM,wCAAwC,GACnD,wBAAwB,+BAA+B,KACtD,oBAAoB,EAYtB,CAAA;AAOD,eAAO,MAAM,uBAAuB,GAClC,OAAO,qBAAqB,EAAE,EAC9B,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,KACjE,wBAAwB,EA4C1B,CAAA;AAiED,KAAK,sCAAsC,GAAG;IAC5C,YAAY,EAAE,iBAAiB,CAAA;IAC/B,qBAAqB,EAAE,oBAAoB,EAAE,CAAA;IAC7C,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,kBAAkB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAA;IACpE,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,MAAM,CAAA;IACjE,QAAQ,EAAE,MAAM,CAAA;IAChB,oCAAoC,CAAC,EAAE,OAAO,CAAA;IAC9C,aAAa,CAAC,EAAE,IAAI,CAAA;CACrB,CAAA;AAWD,eAAO,MAAM,+BAA+B,GAAI,uKAU7C,sCAAsC,KAAG;IAC1C,OAAO,EAAE,yBAAyB,EAAE,CAAA;IACpC,UAAU,EAAE,4BAA4B,EAAE,CAAA;IAC1C,eAAe,EAAE,MAAM,GAAG,IAAI,CAAA;CAoH/B,CAAA"}
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { businessDateStringToDate as e, calendarDateToBusinessDateString as t,
|
|
1
|
+
import { businessDateStringToDate as e, calendarDateToBusinessDateString as t, instantToBusinessDateString as n, minutesToTimeString as r, normalizeBusinessDateString as i, normalizeOpeningHours as a, parseTimeToMinutes as o } from "../../lib/booking-period.js";
|
|
2
|
+
import { addMonths as s } from "date-fns";
|
|
2
3
|
//#region src/components/Footer/businessHoursUtils.ts
|
|
3
|
-
var
|
|
4
|
+
var c = 3, l = 6, u = (e) => (Math.trunc(e) % 7 + 7) % 7, d = (e) => Array.isArray(e) ? e.map((e) => ({
|
|
4
5
|
name: e.name,
|
|
5
6
|
startDate: e.startDate,
|
|
6
7
|
endDate: e.endDate,
|
|
7
8
|
openingHours: e.openingHours.map((e) => ({
|
|
8
|
-
day:
|
|
9
|
+
day: u(e.day),
|
|
9
10
|
openingSlots: e.openingSlots.map((e) => ({
|
|
10
11
|
start: e.start,
|
|
11
12
|
end: e.end
|
|
12
13
|
}))
|
|
13
14
|
}))
|
|
14
|
-
})) : [],
|
|
15
|
+
})) : [], f = (e) => Array.isArray(e) ? e.map((e) => ({
|
|
15
16
|
date: e.date,
|
|
16
17
|
openingSlots: e.openingSlots.map((e) => ({
|
|
17
18
|
start: e.start,
|
|
18
19
|
end: e.end
|
|
19
20
|
}))
|
|
20
|
-
})) : [],
|
|
21
|
-
let n = [...e].sort((e, t) => e.weekday - t.weekday), r = n.filter((e) =>
|
|
21
|
+
})) : [], p = (e) => e <= 4, m = (e) => e === 5 || e === 6, h = (e, t) => {
|
|
22
|
+
let n = [...e].sort((e, t) => e.weekday - t.weekday), r = n.filter((e) => p(e.weekday)), i = n.filter((e) => m(e.weekday)), a = [], o = 0;
|
|
22
23
|
for (; o < r.length;) {
|
|
23
24
|
let e = r[o], n = e.value, i = o;
|
|
24
25
|
for (; i + 1 < r.length && r[i + 1].value === n;) i += 1;
|
|
@@ -37,19 +38,19 @@ var o = (e) => (Math.trunc(e) % 7 + 7) % 7, s = (e) => Array.isArray(e) ? e.map(
|
|
|
37
38
|
value: e.value
|
|
38
39
|
}));
|
|
39
40
|
return [...a, ...s];
|
|
40
|
-
},
|
|
41
|
+
}, g = (e, t) => {
|
|
41
42
|
let n = new Date(2024, 0, 8, 12);
|
|
42
43
|
n.setDate(n.getDate() + e);
|
|
43
44
|
let r = new Intl.DateTimeFormat(t, { weekday: "long" }).format(n);
|
|
44
45
|
return r && `${r.charAt(0).toLocaleUpperCase(t)}${r.slice(1)}`;
|
|
45
|
-
},
|
|
46
|
+
}, _ = (t, n) => {
|
|
46
47
|
let r = e(t);
|
|
47
48
|
return Number.isNaN(r.getTime()) ? t : new Intl.DateTimeFormat(n, {
|
|
48
49
|
year: "numeric",
|
|
49
50
|
month: "short",
|
|
50
51
|
day: "2-digit"
|
|
51
52
|
}).format(r);
|
|
52
|
-
},
|
|
53
|
+
}, v = (t, n) => {
|
|
53
54
|
let r = e(t);
|
|
54
55
|
if (Number.isNaN(r.getTime())) return t;
|
|
55
56
|
let i = new Intl.DateTimeFormat(n, {
|
|
@@ -59,63 +60,69 @@ var o = (e) => (Math.trunc(e) % 7 + 7) % 7, s = (e) => Array.isArray(e) ? e.map(
|
|
|
59
60
|
day: "numeric"
|
|
60
61
|
}).format(r);
|
|
61
62
|
return i && `${i.charAt(0).toLocaleUpperCase(n)}${i.slice(1)}`;
|
|
62
|
-
},
|
|
63
|
-
let
|
|
64
|
-
let t =
|
|
65
|
-
return t == null ||
|
|
63
|
+
}, y = (e, t) => {
|
|
64
|
+
let n = e.map((e) => {
|
|
65
|
+
let t = o(e.start), n = o(e.end);
|
|
66
|
+
return t == null || n == null || n <= t ? null : {
|
|
66
67
|
startMinutes: t,
|
|
67
|
-
label: `${
|
|
68
|
+
label: `${r(t)} - ${r(n)}`
|
|
68
69
|
};
|
|
69
70
|
}).filter((e) => !!e).sort((e, t) => e.startMinutes - t.startMinutes).map((e) => e.label);
|
|
70
|
-
return
|
|
71
|
-
},
|
|
72
|
-
|
|
71
|
+
return n.length > 0 ? n.join(" / ") : t;
|
|
72
|
+
}, b = (e, r) => {
|
|
73
|
+
try {
|
|
74
|
+
return n(e, r);
|
|
75
|
+
} catch {
|
|
76
|
+
return t(e);
|
|
77
|
+
}
|
|
78
|
+
}, x = ({ openingHours: n, openingHoursOverrides: r, language: o, closedLabel: d, formatWeekdayRange: f, formatSeasonRange: p, timeZone: m, includeReferenceDateOverrideInSeason: x = !0, referenceDate: S = /* @__PURE__ */ new Date() }) => {
|
|
79
|
+
let C = a(n, x ? r : [], { referenceDate: S }), w = C.season, T = C.days.map((e) => ({
|
|
73
80
|
weekday: e.day,
|
|
74
|
-
label:
|
|
75
|
-
value: e.summaryLabel ??
|
|
76
|
-
})),
|
|
77
|
-
|
|
78
|
-
let
|
|
79
|
-
let r = t.startDate ===
|
|
81
|
+
label: g(e.day, o),
|
|
82
|
+
value: e.summaryLabel ?? d
|
|
83
|
+
})), E = new Date(S);
|
|
84
|
+
E.setHours(0, 0, 0, 0);
|
|
85
|
+
let D = n.map((t, n) => {
|
|
86
|
+
let r = t.startDate === w?.startDate && t.endDate === w?.endDate, i = /* @__PURE__ */ new Map();
|
|
80
87
|
r || t.openingHours.forEach((e) => {
|
|
81
|
-
i.set(
|
|
88
|
+
i.set(u(e.day), e.openingSlots);
|
|
82
89
|
});
|
|
83
|
-
let a = r ?
|
|
90
|
+
let a = r ? T : Array.from({ length: 7 }, (e, t) => {
|
|
84
91
|
let n = t;
|
|
85
92
|
return {
|
|
86
93
|
weekday: n,
|
|
87
|
-
label:
|
|
88
|
-
value:
|
|
94
|
+
label: g(n, o),
|
|
95
|
+
value: y(i.get(n) ?? [], d)
|
|
89
96
|
};
|
|
90
|
-
}),
|
|
91
|
-
|
|
92
|
-
let
|
|
97
|
+
}), s = p(_(t.startDate, o), _(t.endDate, o)), c = e(t.startDate), l = e(t.endDate);
|
|
98
|
+
c.setHours(0, 0, 0, 0), l.setHours(0, 0, 0, 0);
|
|
99
|
+
let m = !Number.isNaN(c.getTime()) && !Number.isNaN(l.getTime()) && c.getTime() <= E.getTime() && l.getTime() >= E.getTime();
|
|
93
100
|
return {
|
|
94
101
|
id: String(n),
|
|
95
|
-
label: t.name ||
|
|
96
|
-
rangeLabel:
|
|
102
|
+
label: t.name || s,
|
|
103
|
+
rangeLabel: s,
|
|
97
104
|
startDate: t.startDate,
|
|
98
105
|
endDate: t.endDate,
|
|
99
|
-
isCurrent:
|
|
100
|
-
items:
|
|
106
|
+
isCurrent: m,
|
|
107
|
+
items: h(a, f)
|
|
101
108
|
};
|
|
102
109
|
}).filter((t) => {
|
|
103
110
|
let n = e(t.endDate);
|
|
104
|
-
return Number.isNaN(n.getTime()) ? !0 : (n.setHours(0, 0, 0, 0), n.getTime() >=
|
|
105
|
-
}).sort((e, t) => e.startDate.localeCompare(t.startDate)),
|
|
106
|
-
return
|
|
107
|
-
let t =
|
|
108
|
-
!t ||
|
|
111
|
+
return Number.isNaN(n.getTime()) ? !0 : (n.setHours(0, 0, 0, 0), n.getTime() >= E.getTime());
|
|
112
|
+
}).sort((e, t) => e.startDate.localeCompare(t.startDate)), O = D.length > 0 ? D.find((e) => e.startDate === w?.startDate && e.endDate === w?.endDate)?.id ?? D[0].id : null, k = b(S, m), A = k ? t(s(e(k), l)) : void 0, j = /* @__PURE__ */ new Map();
|
|
113
|
+
return r.forEach((e) => {
|
|
114
|
+
let t = i(e.date);
|
|
115
|
+
!t || k && t < k || A && t > A || j.set(t, e);
|
|
109
116
|
}), {
|
|
110
|
-
seasons:
|
|
111
|
-
exceptions: Array.from(
|
|
117
|
+
seasons: D,
|
|
118
|
+
exceptions: Array.from(j.entries()).sort(([e], [t]) => e.localeCompare(t)).slice(0, c).map(([e, t]) => ({
|
|
112
119
|
id: e,
|
|
113
120
|
date: e,
|
|
114
|
-
label:
|
|
115
|
-
value:
|
|
121
|
+
label: v(e, o),
|
|
122
|
+
value: y(t.openingSlots, d)
|
|
116
123
|
})),
|
|
117
|
-
defaultSeasonId:
|
|
124
|
+
defaultSeasonId: O
|
|
118
125
|
};
|
|
119
126
|
};
|
|
120
127
|
//#endregion
|
|
121
|
-
export {
|
|
128
|
+
export { x as buildBusinessHoursSeasonSummary, h as groupBusinessHoursItems, d as normalizeStorefrontOpeningHours, f as normalizeStorefrontOpeningHoursOverrides };
|
|
@@ -6,7 +6,8 @@ type FooterProps = {
|
|
|
6
6
|
whatsappPhoneDisplay?: string;
|
|
7
7
|
openingHours?: StorefrontConfiguration["bookingEngine"]["shop"]["openingHours"];
|
|
8
8
|
openingHoursOverrides?: StorefrontConfiguration["bookingEngine"]["shop"]["openingHoursOverrides"];
|
|
9
|
+
timeZone?: string;
|
|
9
10
|
};
|
|
10
|
-
export declare function Footer({ storeSlug, shop, whatsappHref, whatsappPhoneDisplay, openingHours, openingHoursOverrides, }: FooterProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare function Footer({ storeSlug, shop, whatsappHref, whatsappPhoneDisplay, openingHours, openingHoursOverrides, timeZone, }: FooterProps): import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
export {};
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/index.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAetF,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,YAAY,CAAC,EAAE,uBAAuB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,cAAc,CAAC,CAAA;IAC/E,qBAAqB,CAAC,EAAE,uBAAuB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,uBAAuB,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/index.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAetF,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,YAAY,CAAC,EAAE,uBAAuB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,cAAc,CAAC,CAAA;IAC/E,qBAAqB,CAAC,EAAE,uBAAuB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,uBAAuB,CAAC,CAAA;IACjG,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,wBAAgB,MAAM,CAAC,EACrB,SAAS,EACT,IAAI,EACJ,YAAY,EACZ,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,QAAQ,GACT,EAAE,WAAW,2CAqJb"}
|
|
@@ -10,8 +10,8 @@ import { cn as p } from "@rpcbase/ui";
|
|
|
10
10
|
import { Clock as m, Mail as h, MapPin as g, Phone as _ } from "lucide-react";
|
|
11
11
|
//#region src/components/Footer/index.tsx
|
|
12
12
|
var v = "group inline-flex gap-2 text-sm font-normal text-slate-600 decoration-current underline-offset-4 transition-colors hover:text-slate-800 hover:underline", y = "inline-flex text-sm font-normal text-slate-600 decoration-current underline-offset-4 transition-colors hover:text-slate-800 hover:underline", b = "mt-0.5 inline-flex h-4 w-4 flex-shrink-0 items-center justify-center text-current transition-colors";
|
|
13
|
-
function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, openingHours: T, openingHoursOverrides: E }) {
|
|
14
|
-
let { t:
|
|
13
|
+
function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, openingHours: T, openingHoursOverrides: E, timeZone: D }) {
|
|
14
|
+
let { t: O } = f(), k = t(S), A = S?.emailAddress?.trim() ?? "", j = S?.address?.trim() ?? "", M = e(S), N = o(T), P = s(E), F = N.length > 0, I = x?.trim() || S?.slug?.trim() || "", L = I ? `/${encodeURIComponent(I)}/rental-terms` : "rental-terms";
|
|
15
15
|
return /* @__PURE__ */ l("footer", {
|
|
16
16
|
className: "border-t bg-white",
|
|
17
17
|
children: /* @__PURE__ */ u("div", {
|
|
@@ -21,14 +21,14 @@ function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, op
|
|
|
21
21
|
className: "space-y-2",
|
|
22
22
|
children: [/* @__PURE__ */ l("p", {
|
|
23
23
|
className: "text-sm font-semibold text-slate-950",
|
|
24
|
-
children: /* @__PURE__ */ l("span", { children:
|
|
24
|
+
children: /* @__PURE__ */ l("span", { children: O("footer_information_title") })
|
|
25
25
|
}), /* @__PURE__ */ l("nav", {
|
|
26
26
|
className: "grid gap-2",
|
|
27
|
-
"aria-label":
|
|
27
|
+
"aria-label": O("footer_information_title"),
|
|
28
28
|
children: /* @__PURE__ */ l(d, {
|
|
29
29
|
className: y,
|
|
30
|
-
to:
|
|
31
|
-
children: /* @__PURE__ */ l("span", { children:
|
|
30
|
+
to: L,
|
|
31
|
+
children: /* @__PURE__ */ l("span", { children: O("rental_terms_title") })
|
|
32
32
|
})
|
|
33
33
|
})]
|
|
34
34
|
}),
|
|
@@ -36,7 +36,7 @@ function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, op
|
|
|
36
36
|
className: "space-y-2",
|
|
37
37
|
children: [/* @__PURE__ */ l("p", {
|
|
38
38
|
className: "text-sm font-semibold text-slate-950",
|
|
39
|
-
children: /* @__PURE__ */ l("span", { children:
|
|
39
|
+
children: /* @__PURE__ */ l("span", { children: O("footer_contact_title") })
|
|
40
40
|
}), /* @__PURE__ */ u("div", {
|
|
41
41
|
className: "grid gap-2",
|
|
42
42
|
children: [
|
|
@@ -55,24 +55,24 @@ function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, op
|
|
|
55
55
|
"aria-hidden": "true"
|
|
56
56
|
})
|
|
57
57
|
}),
|
|
58
|
-
/* @__PURE__ */ l("span", { children:
|
|
58
|
+
/* @__PURE__ */ l("span", { children: O("footer_whatsapp_link") }),
|
|
59
59
|
w ? /* @__PURE__ */ l("span", {
|
|
60
60
|
className: "text-slate-500",
|
|
61
61
|
children: w
|
|
62
62
|
}) : null
|
|
63
63
|
]
|
|
64
64
|
}) : null,
|
|
65
|
-
|
|
65
|
+
k ? /* @__PURE__ */ u("a", {
|
|
66
66
|
className: p(v, "items-center"),
|
|
67
|
-
href:
|
|
68
|
-
"aria-label":
|
|
67
|
+
href: k.href,
|
|
68
|
+
"aria-label": k.phoneDisplay,
|
|
69
69
|
children: [/* @__PURE__ */ l("span", {
|
|
70
70
|
className: b,
|
|
71
71
|
children: /* @__PURE__ */ l(_, {
|
|
72
72
|
className: "h-4 w-4",
|
|
73
73
|
"aria-hidden": "true"
|
|
74
74
|
})
|
|
75
|
-
}), /* @__PURE__ */ l("span", { children:
|
|
75
|
+
}), /* @__PURE__ */ l("span", { children: k.phoneDisplay })]
|
|
76
76
|
}) : /* @__PURE__ */ u("div", {
|
|
77
77
|
className: p(v, "items-center text-destructive hover:text-destructive hover:no-underline"),
|
|
78
78
|
children: [/* @__PURE__ */ l("span", {
|
|
@@ -83,17 +83,17 @@ function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, op
|
|
|
83
83
|
})
|
|
84
84
|
}), /* @__PURE__ */ l("span", { children: a })]
|
|
85
85
|
}),
|
|
86
|
-
|
|
86
|
+
A ? /* @__PURE__ */ u("a", {
|
|
87
87
|
className: p(v, "items-center"),
|
|
88
|
-
href: `mailto:${
|
|
89
|
-
"aria-label":
|
|
88
|
+
href: `mailto:${A}`,
|
|
89
|
+
"aria-label": A,
|
|
90
90
|
children: [/* @__PURE__ */ l("span", {
|
|
91
91
|
className: b,
|
|
92
92
|
children: /* @__PURE__ */ l(h, {
|
|
93
93
|
className: "h-4 w-4",
|
|
94
94
|
"aria-hidden": "true"
|
|
95
95
|
})
|
|
96
|
-
}), /* @__PURE__ */ l("span", { children:
|
|
96
|
+
}), /* @__PURE__ */ l("span", { children: A })]
|
|
97
97
|
}) : /* @__PURE__ */ u("div", {
|
|
98
98
|
className: p(v, "items-center text-destructive hover:text-destructive hover:no-underline"),
|
|
99
99
|
children: [/* @__PURE__ */ l("span", {
|
|
@@ -104,9 +104,9 @@ function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, op
|
|
|
104
104
|
})
|
|
105
105
|
}), /* @__PURE__ */ l("span", { children: i })]
|
|
106
106
|
}),
|
|
107
|
-
|
|
107
|
+
M && j ? /* @__PURE__ */ u("a", {
|
|
108
108
|
className: p(v, "items-start"),
|
|
109
|
-
href:
|
|
109
|
+
href: M,
|
|
110
110
|
target: "_blank",
|
|
111
111
|
rel: "noreferrer",
|
|
112
112
|
children: [/* @__PURE__ */ l("span", {
|
|
@@ -115,7 +115,7 @@ function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, op
|
|
|
115
115
|
className: "h-4 w-4",
|
|
116
116
|
"aria-hidden": "true"
|
|
117
117
|
})
|
|
118
|
-
}), /* @__PURE__ */ l("span", { children:
|
|
118
|
+
}), /* @__PURE__ */ l("span", { children: j })]
|
|
119
119
|
}) : /* @__PURE__ */ u("div", {
|
|
120
120
|
className: p(v, "items-start text-destructive hover:text-destructive hover:no-underline"),
|
|
121
121
|
children: [/* @__PURE__ */ l("span", {
|
|
@@ -133,10 +133,11 @@ function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, op
|
|
|
133
133
|
className: "space-y-2",
|
|
134
134
|
children: [/* @__PURE__ */ l("p", {
|
|
135
135
|
className: "text-sm font-semibold text-slate-950",
|
|
136
|
-
children: /* @__PURE__ */ l("span", { children:
|
|
137
|
-
}),
|
|
138
|
-
openingHours:
|
|
139
|
-
openingHoursOverrides:
|
|
136
|
+
children: /* @__PURE__ */ l("span", { children: O("footer_hours_title") })
|
|
137
|
+
}), F ? /* @__PURE__ */ l(c, {
|
|
138
|
+
openingHours: N,
|
|
139
|
+
openingHoursOverrides: P,
|
|
140
|
+
timeZone: D ?? S?.timeZone ?? "UTC"
|
|
140
141
|
}) : /* @__PURE__ */ u("div", {
|
|
141
142
|
className: "grid gap-1 text-sm text-slate-700",
|
|
142
143
|
children: [/* @__PURE__ */ u("p", {
|
|
@@ -144,13 +145,13 @@ function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, op
|
|
|
144
145
|
children: [/* @__PURE__ */ l(m, {
|
|
145
146
|
className: "h-4 w-4 text-slate-400",
|
|
146
147
|
"aria-hidden": "true"
|
|
147
|
-
}), /* @__PURE__ */ l("span", { children:
|
|
148
|
+
}), /* @__PURE__ */ l("span", { children: O("footer_hours_week") })]
|
|
148
149
|
}), /* @__PURE__ */ u("p", {
|
|
149
150
|
className: "inline-flex items-center gap-2",
|
|
150
151
|
children: [/* @__PURE__ */ l(m, {
|
|
151
152
|
className: "h-4 w-4 text-slate-400",
|
|
152
153
|
"aria-hidden": "true"
|
|
153
|
-
}), /* @__PURE__ */ l("span", { children:
|
|
154
|
+
}), /* @__PURE__ */ l("span", { children: O("footer_hours_weekend") })]
|
|
154
155
|
})]
|
|
155
156
|
})]
|
|
156
157
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAA;AAGvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AAItE,KAAK,WAAW,GAAG;IACjB,uBAAuB,CAAC,EAAE,uBAAuB,CAAA;IACjD,kBAAkB,EAAE,6BAA6B,CAAA;CAClD,CAAA;AAED,wBAAgB,MAAM,CAAC,EACrB,uBAAuB,EACvB,kBAAkB,GACnB,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAA;AAGvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AAItE,KAAK,WAAW,GAAG;IACjB,uBAAuB,CAAC,EAAE,uBAAuB,CAAA;IACjD,kBAAkB,EAAE,6BAA6B,CAAA;CAClD,CAAA;AAED,wBAAgB,MAAM,CAAC,EACrB,uBAAuB,EACvB,kBAAkB,GACnB,EAAE,WAAW,2CAmEb"}
|
|
@@ -54,7 +54,8 @@ function b({ storefrontConfiguration: b, storefrontProducts: x }) {
|
|
|
54
54
|
whatsappHref: D,
|
|
55
55
|
whatsappPhoneDisplay: E?.phoneDisplay,
|
|
56
56
|
openingHours: b?.bookingEngine.shop.openingHours,
|
|
57
|
-
openingHoursOverrides: b?.bookingEngine.shop.openingHoursOverrides
|
|
57
|
+
openingHoursOverrides: b?.bookingEngine.shop.openingHoursOverrides,
|
|
58
|
+
timeZone: b?.bookingEngine.shop.timeZone
|
|
58
59
|
}),
|
|
59
60
|
/* @__PURE__ */ f(i, {}),
|
|
60
61
|
D && b?.content?.showWhatsappFloatingButton !== !1 ? /* @__PURE__ */ f(s, { href: D }) : null,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StorefrontCancellationPolicyNotice/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StorefrontCancellationPolicyNotice/index.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AAOtE,KAAK,kBAAkB,GAAG,uBAAuB,CAAC,eAAe,CAAC,CAAC,oBAAoB,CAAC,CAAA;AACxF,KAAK,sBAAsB,GAAG,kBAAkB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAA;AAEjE,KAAK,uCAAuC,GAAG;IAC7C,MAAM,EAAE,kBAAkB,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAOD,eAAO,MAAM,6CAA6C,GACxD,QAAQ,kBAAkB,KACzB,sBAAsB,GAAG,IAG3B,CAAA;AAaD,wBAAgB,kCAAkC,CAAC,EACjD,MAAM,EACN,SAAS,GACV,EAAE,uCAAuC,kDAmHzC"}
|