@loczer/storefront-sdk 0.243.0 → 0.245.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/StorefrontProvider.d.ts +1 -1
- package/dist/StorefrontProvider.d.ts.map +1 -1
- package/dist/StorefrontProvider.js +4 -1
- package/dist/chunks/_virtual/_rolldown/{runtime-B5ovbsoX.js → runtime-DpZa9pCg.js} +2 -2
- package/dist/chunks/node_modules/@emotion/is-prop-valid/dist/{emotion-is-prop-valid.esm-6voMhWrN.js → emotion-is-prop-valid.esm-D9ze9ppN.js} +2 -2
- package/dist/chunks/node_modules/@emotion/memoize/dist/{emotion-memoize.esm-CbcNHeNh.js → emotion-memoize.esm-sGdSSg82.js} +1 -1
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/{PopChild-DVb6X_PO.js → PopChild-C8mc9qQ1.js} +2 -2
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/{PresenceChild-DyihLa7p.js → PresenceChild-DpkfTOqF.js} +1 -1
- package/dist/chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/{index-DmhaitYv.js → index-CCinwqZ4.js} +1 -1
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/{VisualElementDragControls-BP560JFy.js → VisualElementDragControls-ehmc8ew3.js} +4 -4
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/drag/{index-DH25rbJs.js → index-J8tZUjyC.js} +1 -1
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/{focus-D5PGq15I.js → focus-QRFsm9N6.js} +2 -2
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/pan/{PanSession-DQk2Dv3G.js → PanSession-sLXp8p5d.js} +1 -1
- package/dist/chunks/node_modules/framer-motion/dist/es/gestures/pan/{index-CSmtHc88.js → index-Xxp3TAsP.js} +1 -1
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/animation/{index-BxVBcgYs.js → index-sdX-6EwE.js} +1 -1
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{animations-D8nAGh1h.js → animations-Do3vJ57n.js} +1 -1
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{definitions-D5AEjfKY.js → definitions-CrLGvrIW.js} +1 -1
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{drag-Ilu0wLsZ.js → drag-D43Pfu5N.js} +3 -3
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{gestures-NOCelRjM.js → gestures-d_VvxeG9.js} +1 -1
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{layout-B_FwT4yv.js → layout-CH7VeP6a.js} +1 -1
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/features/{load-features-BzH6YCRU.js → load-features-Dc-tYT1C.js} +2 -2
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/{index-Nj9omPyM.js → index-BzvHDqTG.js} +6 -6
- package/dist/chunks/node_modules/framer-motion/dist/es/motion/utils/{use-motion-ref-B42kEDKi.js → use-motion-ref-b2ngB2oB.js} +6 -5
- package/dist/chunks/node_modules/framer-motion/dist/es/render/components/{create-proxy-CkstUqll.js → create-proxy-b3I_Abov.js} +1 -1
- package/dist/chunks/node_modules/framer-motion/dist/es/render/components/motion/{feature-bundle-DUpS38r2.js → feature-bundle-BPees4f2.js} +4 -4
- package/dist/chunks/node_modules/framer-motion/dist/es/render/components/motion/{proxy-DXxjnqei.js → proxy-CHoQ_ZRl.js} +3 -3
- package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/{create-visual-element-Da4IYVeR.js → create-visual-element-P5BfE5c-.js} +2 -2
- package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/{use-render-vjqx3wpA.js → use-render-XDKV9hl7.js} +3 -3
- package/dist/chunks/node_modules/framer-motion/dist/es/render/dom/utils/{filter-props-8AWb0Fmy.js → filter-props-BHmAkqZq.js} +3 -3
- package/dist/chunks/node_modules/framer-motion/dist/es/render/html/{use-html-visual-state-B0BxPJ3u.js → use-html-visual-state-BwoylOjP.js} +1 -1
- package/dist/chunks/node_modules/framer-motion/dist/es/render/html/{use-props-D5zID_2s.js → use-props-DKjpQtOA.js} +2 -2
- package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/{use-props-MZrwg07L.js → use-props-BHBzwG-y.js} +2 -2
- package/dist/chunks/node_modules/framer-motion/dist/es/render/svg/{use-svg-visual-state-pJSuuPIs.js → use-svg-visual-state-RrEwe-Jg.js} +1 -1
- package/dist/chunks/node_modules/mapbox-gl/dist/mapbox-gl-49Q9GS_J.js +51367 -0
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/{AsyncMotionValueAnimation-CaTU1DM6.js → AsyncMotionValueAnimation-QkWJcmvx.js} +3 -3
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/{JSAnimation-zfqrUSXR.js → JSAnimation-B3EkibvU.js} +5 -5
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/{NativeAnimation-CfiXAYmD.js → NativeAnimation-PX7uv064.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/{NativeAnimationExtended-BKiHRnbh.js → NativeAnimationExtended-DUr-8pW-.js} +3 -3
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/animate/{single-value-66TFY3Ue.js → single-value-ylYRBACN.js} +2 -2
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/{inertia-CSs70-4B.js → inertia-B4eMgMD9.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/{keyframes-B8KsYraP.js → keyframes-BX4MJrAc.js} +4 -4
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/generators/{spring-CEJsZ0ds.js → spring-C_F1KfbZ.js} +20 -18
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/{motion-value-Dpez8dQD.js → motion-value-BmihEEW1.js} +2 -2
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/{visual-element-DZ-rOn58.js → visual-element-CtkP5Gn5.js} +2 -2
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/{visual-element-target-C0xS2WGG.js → visual-element-target-DpGNCPE4.js} +2 -2
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/interfaces/{visual-element-variant-B35oZvml.js → visual-element-variant-CxSEFpTW.js} +3 -2
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/{DOMKeyframesResolver-_h9E3nwl.js → DOMKeyframesResolver-iSzLXXCF.js} +7 -5
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/keyframes/utils/{make-none-animatable-DZ2uKxwT.js → make-none-animatable-BInq-is-.js} +2 -2
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/{can-animate-8-JdOSKl.js → can-animate-CIdIqiWo.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/{is-animatable-C5hoiztj.js → is-animatable-BGX1Yix6.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/animation/utils/{replace-transition-type-BMiDtDGg.js → replace-transition-type-BVc4She4.js} +3 -3
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/animation/{mix-values-CI36Bvu8.js → mix-values-CUtXHDNv.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/{DocumentProjectionNode-DO5yRSLp.js → DocumentProjectionNode-a4NjIj1Z.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/{HTMLProjectionNode-DPNJVDRP.js → HTMLProjectionNode-COUG5JKF.js} +2 -2
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/node/{create-projection-node-23wDIc4D.js → create-projection-node-DfFGqLfO.js} +10 -10
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/{scale-border-radius-o5vW8fHp.js → scale-border-radius-B3d55250.js} +4 -2
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/{scale-box-shadow-BhjA57xW.js → scale-box-shadow-CXM1wetm.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/projection/styles/{scale-correction-Dqs0DG_x.js → scale-correction-DYAhjuKS.js} +2 -2
- package/dist/chunks/node_modules/motion-dom/dist/es/render/{VisualElement-Q2WcJv6t.js → VisualElement-D4anjFHe.js} +8 -8
- package/dist/chunks/node_modules/motion-dom/dist/es/render/dom/{DOMVisualElement-C0PGIt5i.js → DOMVisualElement-mXFQzxeX.js} +2 -2
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/{HTMLVisualElement-BlmAcWaG.js → HTMLVisualElement-BC0DN7kN.js} +3 -3
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/{build-styles-d8t31XT-.js → build-styles-C4WRC_7w.js} +4 -2
- package/dist/chunks/node_modules/motion-dom/dist/es/render/html/utils/{scrape-motion-values-Dnanh7Pq.js → scrape-motion-values-Clsn6hBW.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/{SVGVisualElement-CQOmrr3k.js → SVGVisualElement-BZJThkam.js} +4 -4
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/{build-attrs-CfRsHEuP.js → build-attrs-BP0WdL-f.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/render/svg/utils/{scrape-motion-values-BZpmWNaV.js → scrape-motion-values-BV3zag64.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/{animation-state-DDMO-7FQ.js → animation-state-7nc5cyDt.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/{is-forced-motion-value-DJbn-QIQ.js → is-forced-motion-value-na4PRH8B.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/{motion-values-BofpGQv9.js → motion-values-Jxbijqm2.js} +9 -7
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/reduced-motion/{index-CBQsVFcz.js → index-C6y6_rcH.js} +6 -4
- package/dist/chunks/node_modules/motion-dom/dist/es/render/utils/{setters-CAm56hbR.js → setters-cb40O846.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/resize/{handle-element-C0cdHgCp.js → handle-element-CZXdtHtQ.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/resize/{index-BxIqM2kA.js → index-B0TFHCzC.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/{interpolate-CzC1L8ZO.js → interpolate-DaT00cIL.js} +6 -2
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/{complex-BHS_05I4.js → complex-Dzjn5Hlx.js} +3 -3
- package/dist/chunks/node_modules/motion-dom/dist/es/utils/mix/{index-BRygSkxI.js → index-BTEusiQo.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/value/{index-Bwg0vVXH.js → index-DDb4jJZH.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/{filter-ClIAXOZw.js → filter-9zFmXawI.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/{index-grhmCqMW.js → index-kIkrRR12.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/complex/{mask-BwJciot3.js → mask-D3jErLqD.js} +1 -1
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/maps/{defaults-CUGdDi7c.js → defaults-DaVNIt_-.js} +2 -2
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/{animatable-none-48Tgfh--.js → animatable-none-CG-S6RYF.js} +4 -4
- package/dist/chunks/node_modules/motion-dom/dist/es/value/types/utils/{find-DcyXW-Sp.js → find-lgXuo3rG.js} +1 -1
- package/dist/chunks/node_modules/motion-utils/dist/es/easing/utils/{map-ldz_Xg06.js → map-Bo5YYj4g.js} +2 -2
- package/dist/chunks/node_modules/motion-utils/dist/es/{subscription-manager-B1v5ik_R.js → subscription-manager-B_Ro4fGW.js} +6 -4
- package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/date/index-DOKIsFm0.js +1 -0
- package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/date/{mini-CSEBo1ZP.js → mini-BrzKaarB.js} +32 -17
- package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/index-DnORfqv6.js +4 -0
- package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/tz/index-T2rXFLAn.js +1 -0
- package/dist/chunks/pkg/booking-engine/dist/{pricing-BJaynUu_.js → pricing-kF_if7gh.js} +1 -1
- package/dist/chunks/pkg/booking-engine/dist/schemas/{base-booking-D9S-zS-D.js → base-booking-CDvf2otC.js} +1 -1
- package/dist/chunks/pkg/booking-engine/dist/schemas/{insurance-v2GZHSVq.js → insurance-DPNjf8J2.js} +1 -1
- package/dist/chunks/pkg/booking-engine/dist/{schemas-B82mPOxs.js → schemas-C4LrjyTw.js} +2 -2
- package/dist/chunks/pkg/booking-engine/dist/utils/{schedule-ssRov9xe.js → schedule-BxFtoe9n.js} +2 -2
- package/dist/chunks/pkg/booking-engine/dist/utils/{timezone-B6XIbBPz.js → timezone-JBbwrzTd.js} +2 -2
- package/dist/chunks/pkg/ui/dist/{Dialog-CczmPDwY.js → Dialog-C7SJ1avA.js} +1 -1
- package/dist/chunks/pkg/ui/dist/Drawer/{index-Dp62Y2o5.js → index-CFC5ZQKl.js} +1 -1
- package/dist/chunks/pkg/ui/dist/Map/{MapContent-BgCi-wZr.js → MapContent-iwk3GnoZ.js} +4 -4
- package/dist/chunks/pkg/ui/dist/{Map-DCNW_9J_.js → Map-hqJFsVdw.js} +1 -1
- package/dist/chunks/pkg/ui/dist/{MorphingModalWizard-Q8O5Rjfq.js → MorphingModalWizard-DlRlB0NU.js} +1 -1
- package/dist/chunks/pkg/ui/dist/{ResponsiveDialog-BJ0RG6gh.js → ResponsiveDialog-g_bq80AX.js} +2 -2
- package/dist/chunks/pkg/ui/dist/lib/{body-pointer-events-DLBTed3C.js → body-pointer-events-E0eBpW9g.js} +1 -1
- package/dist/components/AboutSection/index.d.ts +1 -1
- package/dist/components/AboutSection/index.d.ts.map +1 -1
- package/dist/components/AddressAutocompleteInput/index.js +1 -1
- package/dist/components/AdminFloatingButton/AdminFloatingButton.d.ts +1 -1
- package/dist/components/AdminFloatingButton/AdminFloatingButton.d.ts.map +1 -1
- package/dist/components/BikeProductCard/index.d.ts +1 -1
- package/dist/components/BikeProductCard/index.d.ts.map +1 -1
- package/dist/components/BookingBikeQuickAddCard/index.d.ts +1 -1
- package/dist/components/BookingBikeQuickAddCard/index.d.ts.map +1 -1
- package/dist/components/BookingBikeQuickAddCard/index.js +2 -2
- package/dist/components/BookingBikeVariantDialog/index.d.ts +1 -1
- package/dist/components/BookingBikeVariantDialog/index.d.ts.map +1 -1
- package/dist/components/BookingBikeVariantDialog/index.js +2 -2
- package/dist/components/BookingFlowPageLayout/index.d.ts +1 -1
- package/dist/components/BookingFlowPageLayout/index.d.ts.map +1 -1
- package/dist/components/BookingFlowSteps/index.d.ts +1 -1
- package/dist/components/BookingFlowSteps/index.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/BookingPeriodContext.d.ts +1 -1
- package/dist/components/BookingPeriodSelector/BookingPeriodContext.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingEndDateField.d.ts +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingEndDateField.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingEndDateField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.d.ts +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingMobileDateDrawer.d.ts +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingMobileDateDrawer.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingMobileDateDrawer.js +3 -3
- package/dist/components/BookingPeriodSelector/components/BookingPeriodFieldErrorMessage.d.ts +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingPeriodFieldErrorMessage.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartDateField.d.ts +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartDateField.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartDateField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.d.ts +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingTimeSlotsStatus.d.ts +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingTimeSlotsStatus.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/components/internal/BookingHourPickerField.d.ts +1 -1
- package/dist/components/BookingPeriodSelector/components/internal/BookingHourPickerField.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/components/internal/ModalDayPickerField.d.ts +1 -1
- package/dist/components/BookingPeriodSelector/components/internal/ModalDayPickerField.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/components/internal/ModalDayPickerField.js +2 -2
- package/dist/components/BookingPeriodSelector/components/internal/StorefrontHourPickerField.d.ts +2 -2
- package/dist/components/BookingPeriodSelector/components/internal/StorefrontHourPickerField.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/components/internal/StorefrontHourPickerField.js +5 -5
- package/dist/components/BookingPeriodSelector/index.d.ts +1 -1
- package/dist/components/BookingPeriodSelector/index.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/useBookingPeriodController.js +20 -16
- package/dist/components/ContactSection/index.d.ts +1 -1
- package/dist/components/ContactSection/index.d.ts.map +1 -1
- package/dist/components/ContactSection/index.js +69 -69
- package/dist/components/ContractSaleDocument/AcceptanceModal.d.ts +1 -1
- package/dist/components/ContractSaleDocument/AcceptanceModal.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/DocumentAcceptanceSection.d.ts +1 -1
- package/dist/components/ContractSaleDocument/DocumentAcceptanceSection.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/Invoice.d.ts +1 -1
- package/dist/components/ContractSaleDocument/Invoice.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/InvoiceDetails.d.ts +1 -1
- package/dist/components/ContractSaleDocument/InvoiceDetails.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/PageFooter.d.ts +1 -1
- package/dist/components/ContractSaleDocument/PageFooter.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/PageHeader.d.ts +1 -1
- package/dist/components/ContractSaleDocument/PageHeader.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/SignatureModal.d.ts +1 -1
- package/dist/components/ContractSaleDocument/SignatureModal.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/TermsAndConditionsContent.d.ts +1 -1
- package/dist/components/ContractSaleDocument/TermsAndConditionsContent.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/ThumbnailSidebar.d.ts +1 -1
- package/dist/components/ContractSaleDocument/ThumbnailSidebar.d.ts.map +1 -1
- package/dist/components/DelayedReveal/index.d.ts +2 -2
- package/dist/components/DelayedReveal/index.d.ts.map +1 -1
- package/dist/components/DeliveryAddressSelector/index.d.ts +1 -1
- package/dist/components/DeliveryAddressSelector/index.d.ts.map +1 -1
- package/dist/components/FaqSection/index.d.ts +1 -1
- package/dist/components/FaqSection/index.d.ts.map +1 -1
- package/dist/components/Footer/BusinessHours.d.ts +1 -1
- package/dist/components/Footer/BusinessHours.d.ts.map +1 -1
- package/dist/components/Footer/BusinessHours.js +12 -12
- package/dist/components/Footer/BusinessHoursOverviewDialog.d.ts +1 -1
- package/dist/components/Footer/BusinessHoursOverviewDialog.d.ts.map +1 -1
- package/dist/components/Footer/BusinessHoursOverviewDialog.js +1 -1
- package/dist/components/Footer/businessHoursStatus.js +1 -1
- package/dist/components/Footer/index.d.ts +1 -1
- package/dist/components/Footer/index.d.ts.map +1 -1
- package/dist/components/FulfillmentSection/index.d.ts +1 -1
- package/dist/components/FulfillmentSection/index.d.ts.map +1 -1
- package/dist/components/FulfillmentSection/index.js +1 -1
- package/dist/components/Header/index.d.ts +1 -1
- package/dist/components/Header/index.d.ts.map +1 -1
- package/dist/components/Itineraries/ItinerariesSection.d.ts +1 -1
- package/dist/components/Itineraries/ItinerariesSection.d.ts.map +1 -1
- package/dist/components/Itineraries/ItineraryListItem.d.ts +1 -1
- package/dist/components/Itineraries/ItineraryListItem.d.ts.map +1 -1
- package/dist/components/Itineraries/ItineraryRouteMap.d.ts +1 -1
- package/dist/components/Itineraries/ItineraryRouteMap.d.ts.map +1 -1
- package/dist/components/LanguageSelector/index.d.ts +1 -1
- package/dist/components/LanguageSelector/index.d.ts.map +1 -1
- package/dist/components/Layout/index.d.ts +1 -1
- package/dist/components/Layout/index.d.ts.map +1 -1
- package/dist/components/Map/index.js +1 -1
- package/dist/components/PlatformFooter/index.d.ts +1 -1
- package/dist/components/PlatformFooter/index.d.ts.map +1 -1
- package/dist/components/PlaygroundDevFloatingButton/index.d.ts +1 -1
- package/dist/components/PlaygroundDevFloatingButton/index.d.ts.map +1 -1
- package/dist/components/PoweredByLoczerBadge/index.d.ts +1 -1
- package/dist/components/PoweredByLoczerBadge/index.d.ts.map +1 -1
- package/dist/components/ProductPriceBadge/index.d.ts +1 -1
- package/dist/components/ProductPriceBadge/index.d.ts.map +1 -1
- package/dist/components/ProductPriceBadge/index.js +2 -2
- package/dist/components/ProductWarningNotice/index.d.ts +1 -1
- package/dist/components/ProductWarningNotice/index.d.ts.map +1 -1
- package/dist/components/SignatureInput/index.js +1 -1
- package/dist/components/SignatureInput.d.ts +1 -1
- package/dist/components/SignatureInput.d.ts.map +1 -1
- package/dist/components/StepSectionTitle/index.d.ts +1 -1
- package/dist/components/StepSectionTitle/index.d.ts.map +1 -1
- package/dist/components/StorefrontCancellationPolicyNotice/index.d.ts +1 -1
- package/dist/components/StorefrontCancellationPolicyNotice/index.d.ts.map +1 -1
- package/dist/components/StorefrontCancellationPolicyNotice/index.js +1 -1
- package/dist/components/StorefrontCartPanel/index.d.ts +1 -1
- package/dist/components/StorefrontCartPanel/index.d.ts.map +1 -1
- package/dist/components/StorefrontInformationDocument/index.d.ts +2 -2
- package/dist/components/StorefrontInformationDocument/index.d.ts.map +1 -1
- package/dist/components/StorefrontInsuranceNotice/index.d.ts +1 -1
- package/dist/components/StorefrontInsuranceNotice/index.d.ts.map +1 -1
- package/dist/components/StorefrontInsuranceNotice/index.js +1 -1
- package/dist/components/StorefrontPopupMessages/index.d.ts +1 -1
- package/dist/components/StorefrontPopupMessages/index.d.ts.map +1 -1
- package/dist/components/StorefrontPopupMessages/index.js +2 -2
- package/dist/components/TestimonialsSection/index.d.ts +2 -1
- package/dist/components/TestimonialsSection/index.d.ts.map +1 -1
- package/dist/components/TestimonialsSection/index.js +16 -16
- package/dist/components/WhatsAppFloatingButton/WhatsAppFloatingButton.d.ts +1 -1
- package/dist/components/WhatsAppFloatingButton/WhatsAppFloatingButton.d.ts.map +1 -1
- package/dist/components/payment/MollieCardFieldsForm.d.ts +1 -1
- package/dist/components/payment/MollieCardFieldsForm.d.ts.map +1 -1
- package/dist/components/payment/StripeCardFieldsForm.d.ts +1 -1
- package/dist/components/payment/StripeCardFieldsForm.d.ts.map +1 -1
- package/dist/i18n/I18nProvider.d.ts +1 -1
- package/dist/i18n/I18nProvider.d.ts.map +1 -1
- package/dist/i18n/I18nProvider.js +3 -3
- package/dist/index.d.ts +57 -56
- package/dist/index.js +3 -3
- package/dist/lib/booking-period.js +3 -3
- package/dist/lib/booking.js +7 -7
- package/dist/lib/cart.d.ts +1 -1
- package/dist/lib/cart.d.ts.map +1 -1
- package/dist/lib/cart.js +1 -1
- package/dist/lib/checkoutSubmit.js +1 -1
- package/dist/lib/contractSaleDocumentApi.d.ts +22 -22
- package/dist/lib/floatingButtonCollision.js +1 -1
- package/dist/lib/pricing.js +2 -2
- package/dist/lib/storefrontAddress.js +1 -1
- package/dist/pages/BookingPage.d.ts +1 -1
- package/dist/pages/BookingPage.d.ts.map +1 -1
- package/dist/pages/CheckoutPage.d.ts +1 -1
- package/dist/pages/CheckoutPage.d.ts.map +1 -1
- package/dist/pages/CheckoutPaymentPage.d.ts +1 -1
- package/dist/pages/CheckoutPaymentPage.d.ts.map +1 -1
- package/dist/pages/CheckoutSuccessPage.d.ts +1 -1
- package/dist/pages/CheckoutSuccessPage.d.ts.map +1 -1
- package/dist/pages/ContractSaleDocumentPage.d.ts +1 -1
- package/dist/pages/ContractSaleDocumentPage.d.ts.map +1 -1
- package/dist/pages/ContractSaleDocumentPage.js +9 -6
- package/dist/pages/ErrorPage.d.ts +1 -1
- package/dist/pages/ErrorPage.d.ts.map +1 -1
- package/dist/pages/HomePage.d.ts +1 -1
- package/dist/pages/HomePage.d.ts.map +1 -1
- package/dist/pages/HomePage.js +1 -1
- package/dist/pages/InsuranceTermsPage.d.ts +1 -1
- package/dist/pages/InsuranceTermsPage.d.ts.map +1 -1
- package/dist/pages/InsuranceTermsPage.js +2 -2
- package/dist/pages/ItinerariesPage.d.ts +1 -1
- package/dist/pages/ItinerariesPage.d.ts.map +1 -1
- package/dist/pages/ItineraryDetailsPage.d.ts +1 -1
- package/dist/pages/ItineraryDetailsPage.d.ts.map +1 -1
- package/dist/pages/NotFoundPage.d.ts +1 -1
- package/dist/pages/NotFoundPage.d.ts.map +1 -1
- package/dist/pages/PaymentLinkPage.d.ts +1 -1
- package/dist/pages/PaymentLinkPage.d.ts.map +1 -1
- package/dist/pages/PaymentLinkSuccessPage.d.ts +1 -1
- package/dist/pages/PaymentLinkSuccessPage.d.ts.map +1 -1
- package/dist/pages/ProductPage.d.ts +1 -1
- package/dist/pages/ProductPage.d.ts.map +1 -1
- package/dist/pages/ProductPage.js +8 -8
- package/dist/pages/RentalTermsPage.d.ts +1 -1
- package/dist/pages/RentalTermsPage.d.ts.map +1 -1
- package/dist/pages/checkout/components/CheckoutBookingPeriodSummary.d.ts +1 -1
- package/dist/pages/checkout/components/CheckoutBookingPeriodSummary.d.ts.map +1 -1
- package/dist/pages/checkout/components/CheckoutCouponCard.d.ts +1 -1
- package/dist/pages/checkout/components/CheckoutCouponCard.d.ts.map +1 -1
- package/dist/pages/checkout/components/CheckoutDetailsCard.d.ts +1 -1
- package/dist/pages/checkout/components/CheckoutDetailsCard.d.ts.map +1 -1
- package/dist/pages/checkout/components/CheckoutDetailsCard.js +1 -1
- package/dist/pages/checkout/components/CheckoutInsuranceCard.d.ts +1 -1
- package/dist/pages/checkout/components/CheckoutInsuranceCard.d.ts.map +1 -1
- package/dist/pages/checkout/components/CheckoutLoadingSkeleton.d.ts +1 -1
- package/dist/pages/checkout/components/CheckoutLoadingSkeleton.d.ts.map +1 -1
- package/dist/pages/checkout/components/CheckoutMobileSummaryDrawer.d.ts +1 -1
- package/dist/pages/checkout/components/CheckoutMobileSummaryDrawer.d.ts.map +1 -1
- package/dist/pages/checkout/components/CheckoutPaymentCard.d.ts +1 -1
- package/dist/pages/checkout/components/CheckoutPaymentCard.d.ts.map +1 -1
- package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts +1 -1
- package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts.map +1 -1
- package/dist/pages/checkout/components/MollieCheckoutForm.d.ts +1 -1
- package/dist/pages/checkout/components/MollieCheckoutForm.d.ts.map +1 -1
- package/dist/pages/checkout/components/StripeCheckoutForm.d.ts +1 -1
- package/dist/pages/checkout/components/StripeCheckoutForm.d.ts.map +1 -1
- package/dist/pages/itineraries/ElevationProfile.d.ts +1 -1
- package/dist/pages/itineraries/ElevationProfile.d.ts.map +1 -1
- package/dist/pages/itineraries/ElevationProfile.js +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/storefront.css +1 -1
- package/dist/storefrontSchemas.d.ts +3 -3
- package/dist/storefrontSchemas.js +1 -1
- package/dist/ui/badge.d.ts +1 -1
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/card.d.ts +7 -7
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/day-picker.d.ts +1 -1
- package/dist/ui/day-picker.d.ts.map +1 -1
- package/dist/ui/drawer.d.ts +4 -4
- package/dist/ui/drawer.d.ts.map +1 -1
- package/dist/ui/form.d.ts +8 -8
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/select.d.ts +1 -1
- package/dist/ui/select.d.ts.map +1 -1
- package/dist/ui/theme.d.ts +1 -1
- package/dist/ui/theme.d.ts.map +1 -1
- package/dist/ui/tooltip.d.ts +2 -2
- package/dist/ui/tooltip.d.ts.map +1 -1
- package/package.json +17 -17
- package/dist/chunks/node_modules/mapbox-gl/dist/mapbox-gl-C3MzR-4r.js +0 -44953
- package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/date/index-DAbcklF5.js +0 -1
- package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/index--u3Qf-qy.js +0 -4
- package/dist/chunks/pkg/booking-engine/dist/node_modules/@date-fns/tz/tz/index-CEcibV-H.js +0 -1
|
@@ -19,18 +19,18 @@ import { PhoneNumberInput as D, cn as O } from "@rpcbase/ui";
|
|
|
19
19
|
import { Mail as k, MapPin as A, Phone as j } from "lucide-react";
|
|
20
20
|
import { useForm as M, zodResolver as N } from "@rpcbase/form";
|
|
21
21
|
//#region src/components/ContactSection/index.tsx
|
|
22
|
-
var
|
|
23
|
-
function
|
|
24
|
-
let { t:
|
|
25
|
-
storefrontConfiguration:
|
|
26
|
-
language:
|
|
27
|
-
}),
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
22
|
+
var te = (e) => e.startsWith("fr") ? "FR" : "US", P = "text-sm font-normal text-current decoration-current underline-offset-4 group-hover:underline", F = "group flex items-start gap-3 text-slate-600 transition-colors hover:text-slate-800";
|
|
23
|
+
function I({ storeSlug: I }) {
|
|
24
|
+
let { t: L, i18n: R } = E(), { storefrontConfiguration: z, mapboxToken: B } = d(), { shop: V } = z, H = r(V), U = V.emailAddress?.trim() ?? "", W = V.address?.trim() ?? "", G = n(V), K = i({
|
|
25
|
+
storefrontConfiguration: z,
|
|
26
|
+
language: R.language
|
|
27
|
+
}), q = K?.href, J = C(() => S.object({
|
|
28
|
+
name: S.string().trim().min(1, L("contact_form_validation_name_required")),
|
|
29
|
+
emailAddress: S.string().trim().email(L("contact_form_validation_email_invalid")),
|
|
30
|
+
phoneNumber: S.string().trim().min(6, L("contact_form_validation_phone_invalid")),
|
|
31
|
+
message: S.string().trim().min(1, L("contact_form_validation_message_required")).max(8192, L("contact_form_validation_message_too_long"))
|
|
32
|
+
}), [L, R.language]), Y = M({
|
|
33
|
+
resolver: N(J),
|
|
34
34
|
defaultValues: {
|
|
35
35
|
name: "",
|
|
36
36
|
emailAddress: "",
|
|
@@ -38,36 +38,36 @@ function L({ storeSlug: L }) {
|
|
|
38
38
|
message: ""
|
|
39
39
|
}
|
|
40
40
|
}), X = C(() => {
|
|
41
|
-
let e =
|
|
41
|
+
let e = V.gpsCoordinates;
|
|
42
42
|
return e ? [e[1], e[0]] : null;
|
|
43
|
-
}, [
|
|
43
|
+
}, [V.gpsCoordinates]), Z = X ?? l, Q = C(() => b(), []), $ = C(() => X ? {
|
|
44
44
|
coords: X,
|
|
45
45
|
element: Q || void 0,
|
|
46
46
|
offset: [0, -25.5],
|
|
47
|
-
popupHTML:
|
|
47
|
+
popupHTML: W || "[Missing shop address]",
|
|
48
48
|
popupCloseButton: !1
|
|
49
49
|
} : null, [
|
|
50
|
-
|
|
50
|
+
W,
|
|
51
51
|
X,
|
|
52
52
|
Q
|
|
53
|
-
]),
|
|
53
|
+
]), ne = C(() => $ ? [$] : [], [$]), re = Y.handleSubmit(async (n) => {
|
|
54
54
|
try {
|
|
55
55
|
let r = await fetch(e, {
|
|
56
56
|
method: "POST",
|
|
57
57
|
headers: { "Content-Type": "application/json" },
|
|
58
58
|
body: JSON.stringify({
|
|
59
|
-
storeSlug:
|
|
59
|
+
storeSlug: I,
|
|
60
60
|
...n
|
|
61
61
|
})
|
|
62
62
|
}), i = await r.json().then((e) => t.safeParse(e)).catch(() => ({ success: !1 }));
|
|
63
63
|
if (r.ok && "success" in i && i.success && i.data.success) {
|
|
64
|
-
f.success(
|
|
64
|
+
f.success(L("contact_form_success_toast")), Y.reset();
|
|
65
65
|
return;
|
|
66
66
|
}
|
|
67
|
-
let a = "success" in i && i.success && i.data.error ? i.data.error :
|
|
67
|
+
let a = "success" in i && i.success && i.data.error ? i.data.error : L("contact_form_error_toast");
|
|
68
68
|
f.error(a);
|
|
69
69
|
} catch (e) {
|
|
70
|
-
console.warn("Storefront contact form request failed", e), f.error(
|
|
70
|
+
console.warn("Storefront contact form request failed", e), f.error(L("contact_form_error_toast"));
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
73
|
return /* @__PURE__ */ w("section", {
|
|
@@ -80,10 +80,10 @@ function L({ storeSlug: L }) {
|
|
|
80
80
|
className: "mx-auto max-w-2xl text-center",
|
|
81
81
|
children: [/* @__PURE__ */ w("h2", {
|
|
82
82
|
className: "text-3xl font-semibold tracking-tight text-slate-950",
|
|
83
|
-
children:
|
|
83
|
+
children: L("contact_section_title")
|
|
84
84
|
}), /* @__PURE__ */ w("p", {
|
|
85
85
|
className: "mt-3 text-sm text-slate-600 sm:text-base",
|
|
86
|
-
children:
|
|
86
|
+
children: L("contact_section_subtitle")
|
|
87
87
|
})]
|
|
88
88
|
}), /* @__PURE__ */ T("div", {
|
|
89
89
|
className: "mt-8 grid gap-6 rounded-xl border border-slate-200 bg-white p-4 shadow-sm lg:grid-cols-2 lg:p-6",
|
|
@@ -92,17 +92,17 @@ function L({ storeSlug: L }) {
|
|
|
92
92
|
children: [
|
|
93
93
|
/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("h3", {
|
|
94
94
|
className: "text-lg font-semibold text-slate-950",
|
|
95
|
-
children:
|
|
95
|
+
children: L("contact_section_info_title")
|
|
96
96
|
}), /* @__PURE__ */ w("p", {
|
|
97
97
|
className: "mt-2 text-sm text-slate-600",
|
|
98
|
-
children:
|
|
98
|
+
children: L(q ? "contact_section_info_description" : "contact_section_info_description_without_whatsapp")
|
|
99
99
|
})] }),
|
|
100
100
|
/* @__PURE__ */ T("div", {
|
|
101
101
|
className: "grid gap-5",
|
|
102
102
|
children: [
|
|
103
|
-
|
|
104
|
-
className:
|
|
105
|
-
href:
|
|
103
|
+
K ? /* @__PURE__ */ T("a", {
|
|
104
|
+
className: F,
|
|
105
|
+
href: K.href,
|
|
106
106
|
target: "_blank",
|
|
107
107
|
rel: "noreferrer",
|
|
108
108
|
children: [/* @__PURE__ */ w("span", {
|
|
@@ -117,16 +117,16 @@ function L({ storeSlug: L }) {
|
|
|
117
117
|
className: "flex min-w-0 flex-col gap-1",
|
|
118
118
|
children: [/* @__PURE__ */ w("span", {
|
|
119
119
|
className: "text-2xs font-medium uppercase tracking-[0.08em] text-slate-500",
|
|
120
|
-
children:
|
|
120
|
+
children: L("contact_section_whatsapp_label")
|
|
121
121
|
}), /* @__PURE__ */ w("span", {
|
|
122
|
-
className:
|
|
123
|
-
children:
|
|
122
|
+
className: P,
|
|
123
|
+
children: K.phoneDisplay
|
|
124
124
|
})]
|
|
125
125
|
})]
|
|
126
126
|
}) : null,
|
|
127
|
-
|
|
128
|
-
className:
|
|
129
|
-
href:
|
|
127
|
+
H ? /* @__PURE__ */ T("a", {
|
|
128
|
+
className: F,
|
|
129
|
+
href: H.href,
|
|
130
130
|
children: [/* @__PURE__ */ w("span", {
|
|
131
131
|
className: "mt-0.5 inline-flex h-8 w-8 items-center justify-center text-current transition-colors",
|
|
132
132
|
children: /* @__PURE__ */ w(j, {
|
|
@@ -137,10 +137,10 @@ function L({ storeSlug: L }) {
|
|
|
137
137
|
className: "flex min-w-0 flex-col gap-1",
|
|
138
138
|
children: [/* @__PURE__ */ w("span", {
|
|
139
139
|
className: "text-2xs font-medium uppercase tracking-[0.08em] text-slate-500",
|
|
140
|
-
children:
|
|
140
|
+
children: L("contact_section_phone_label")
|
|
141
141
|
}), /* @__PURE__ */ w("span", {
|
|
142
|
-
className:
|
|
143
|
-
children:
|
|
142
|
+
className: P,
|
|
143
|
+
children: H.phoneDisplay
|
|
144
144
|
})]
|
|
145
145
|
})]
|
|
146
146
|
}) : /* @__PURE__ */ T("div", {
|
|
@@ -155,16 +155,16 @@ function L({ storeSlug: L }) {
|
|
|
155
155
|
className: "flex min-w-0 flex-col gap-1",
|
|
156
156
|
children: [/* @__PURE__ */ w("span", {
|
|
157
157
|
className: "text-2xs font-medium uppercase tracking-[0.08em] text-slate-500",
|
|
158
|
-
children:
|
|
158
|
+
children: L("contact_section_phone_label")
|
|
159
159
|
}), /* @__PURE__ */ w("span", {
|
|
160
160
|
className: "text-sm font-normal",
|
|
161
161
|
children: c
|
|
162
162
|
})]
|
|
163
163
|
})]
|
|
164
164
|
}),
|
|
165
|
-
|
|
166
|
-
className:
|
|
167
|
-
href: `mailto:${
|
|
165
|
+
U ? /* @__PURE__ */ T("a", {
|
|
166
|
+
className: F,
|
|
167
|
+
href: `mailto:${U}`,
|
|
168
168
|
children: [/* @__PURE__ */ w("span", {
|
|
169
169
|
className: "mt-0.5 inline-flex h-8 w-8 items-center justify-center text-current transition-colors",
|
|
170
170
|
children: /* @__PURE__ */ w(k, {
|
|
@@ -175,10 +175,10 @@ function L({ storeSlug: L }) {
|
|
|
175
175
|
className: "flex min-w-0 flex-col gap-1",
|
|
176
176
|
children: [/* @__PURE__ */ w("span", {
|
|
177
177
|
className: "text-2xs font-medium uppercase tracking-[0.08em] text-slate-500",
|
|
178
|
-
children:
|
|
178
|
+
children: L("contact_section_email_label")
|
|
179
179
|
}), /* @__PURE__ */ w("span", {
|
|
180
|
-
className:
|
|
181
|
-
children:
|
|
180
|
+
className: P,
|
|
181
|
+
children: U
|
|
182
182
|
})]
|
|
183
183
|
})]
|
|
184
184
|
}) : /* @__PURE__ */ T("div", {
|
|
@@ -193,16 +193,16 @@ function L({ storeSlug: L }) {
|
|
|
193
193
|
className: "flex min-w-0 flex-col gap-1",
|
|
194
194
|
children: [/* @__PURE__ */ w("span", {
|
|
195
195
|
className: "text-2xs font-medium uppercase tracking-[0.08em] text-slate-500",
|
|
196
|
-
children:
|
|
196
|
+
children: L("contact_section_email_label")
|
|
197
197
|
}), /* @__PURE__ */ w("span", {
|
|
198
198
|
className: "text-sm font-normal",
|
|
199
199
|
children: s
|
|
200
200
|
})]
|
|
201
201
|
})]
|
|
202
202
|
}),
|
|
203
|
-
|
|
204
|
-
className:
|
|
205
|
-
href:
|
|
203
|
+
G && W ? /* @__PURE__ */ T("a", {
|
|
204
|
+
className: F,
|
|
205
|
+
href: G,
|
|
206
206
|
target: "_blank",
|
|
207
207
|
rel: "noreferrer",
|
|
208
208
|
children: [/* @__PURE__ */ w("span", {
|
|
@@ -215,10 +215,10 @@ function L({ storeSlug: L }) {
|
|
|
215
215
|
className: "flex min-w-0 flex-col gap-1",
|
|
216
216
|
children: [/* @__PURE__ */ w("span", {
|
|
217
217
|
className: "text-2xs font-medium uppercase tracking-[0.08em] text-slate-500",
|
|
218
|
-
children:
|
|
218
|
+
children: L("contact_section_address_label")
|
|
219
219
|
}), /* @__PURE__ */ w("span", {
|
|
220
|
-
className:
|
|
221
|
-
children:
|
|
220
|
+
className: P,
|
|
221
|
+
children: W
|
|
222
222
|
})]
|
|
223
223
|
})]
|
|
224
224
|
}) : /* @__PURE__ */ T("div", {
|
|
@@ -233,7 +233,7 @@ function L({ storeSlug: L }) {
|
|
|
233
233
|
className: "flex min-w-0 flex-col gap-1",
|
|
234
234
|
children: [/* @__PURE__ */ w("span", {
|
|
235
235
|
className: "text-2xs font-medium uppercase tracking-[0.08em] text-slate-500",
|
|
236
|
-
children:
|
|
236
|
+
children: L("contact_section_address_label")
|
|
237
237
|
}), /* @__PURE__ */ w("span", {
|
|
238
238
|
className: "text-sm font-normal",
|
|
239
239
|
children: o
|
|
@@ -246,10 +246,10 @@ function L({ storeSlug: L }) {
|
|
|
246
246
|
className: "relative",
|
|
247
247
|
"data-testid": "storefront-contact-map",
|
|
248
248
|
children: /* @__PURE__ */ w(x, {
|
|
249
|
-
mapboxToken:
|
|
249
|
+
mapboxToken: B,
|
|
250
250
|
initialCenter: Z,
|
|
251
251
|
initialZoom: X ? 10 : 1,
|
|
252
|
-
markers:
|
|
252
|
+
markers: ne,
|
|
253
253
|
showNavigationControl: !1,
|
|
254
254
|
className: "overflow-clip w-full h-52 rounded-lg"
|
|
255
255
|
})
|
|
@@ -258,28 +258,28 @@ function L({ storeSlug: L }) {
|
|
|
258
258
|
}), /* @__PURE__ */ T("div", { children: [
|
|
259
259
|
/* @__PURE__ */ w("h3", {
|
|
260
260
|
className: "text-lg font-semibold text-slate-950",
|
|
261
|
-
children:
|
|
261
|
+
children: L("contact_section_form_title")
|
|
262
262
|
}),
|
|
263
263
|
/* @__PURE__ */ w("p", {
|
|
264
264
|
className: "mt-2 text-sm text-slate-600",
|
|
265
|
-
children:
|
|
265
|
+
children: L("contact_section_form_description")
|
|
266
266
|
}),
|
|
267
267
|
/* @__PURE__ */ w("div", {
|
|
268
268
|
className: "mt-6",
|
|
269
269
|
children: /* @__PURE__ */ w(m, {
|
|
270
270
|
...Y,
|
|
271
271
|
children: /* @__PURE__ */ T("form", {
|
|
272
|
-
onSubmit:
|
|
272
|
+
onSubmit: re,
|
|
273
273
|
className: "grid gap-4",
|
|
274
274
|
children: [
|
|
275
275
|
/* @__PURE__ */ w(g, {
|
|
276
276
|
control: Y.control,
|
|
277
277
|
name: "name",
|
|
278
278
|
render: ({ field: e }) => /* @__PURE__ */ T(_, { children: [
|
|
279
|
-
/* @__PURE__ */ w(v, { children:
|
|
279
|
+
/* @__PURE__ */ w(v, { children: L("contact_form_name_label") }),
|
|
280
280
|
/* @__PURE__ */ w(h, { children: /* @__PURE__ */ w(p, {
|
|
281
281
|
...e,
|
|
282
|
-
placeholder:
|
|
282
|
+
placeholder: L("contact_form_name_placeholder"),
|
|
283
283
|
className: "h-11"
|
|
284
284
|
}) }),
|
|
285
285
|
/* @__PURE__ */ w(y, {})
|
|
@@ -289,11 +289,11 @@ function L({ storeSlug: L }) {
|
|
|
289
289
|
control: Y.control,
|
|
290
290
|
name: "emailAddress",
|
|
291
291
|
render: ({ field: e }) => /* @__PURE__ */ T(_, { children: [
|
|
292
|
-
/* @__PURE__ */ w(v, { children:
|
|
292
|
+
/* @__PURE__ */ w(v, { children: L("contact_form_email_label") }),
|
|
293
293
|
/* @__PURE__ */ w(h, { children: /* @__PURE__ */ w(p, {
|
|
294
294
|
...e,
|
|
295
295
|
type: "email",
|
|
296
|
-
placeholder:
|
|
296
|
+
placeholder: L("contact_form_email_placeholder"),
|
|
297
297
|
className: "h-11"
|
|
298
298
|
}) }),
|
|
299
299
|
/* @__PURE__ */ w(y, {})
|
|
@@ -303,7 +303,7 @@ function L({ storeSlug: L }) {
|
|
|
303
303
|
control: Y.control,
|
|
304
304
|
name: "phoneNumber",
|
|
305
305
|
render: ({ field: e, fieldState: t }) => /* @__PURE__ */ T(_, { children: [
|
|
306
|
-
/* @__PURE__ */ w(v, { children:
|
|
306
|
+
/* @__PURE__ */ w(v, { children: L("contact_form_phone_label") }),
|
|
307
307
|
/* @__PURE__ */ w(h, { children: /* @__PURE__ */ w(D, {
|
|
308
308
|
name: e.name,
|
|
309
309
|
value: e.value ?? "",
|
|
@@ -312,9 +312,9 @@ function L({ storeSlug: L }) {
|
|
|
312
312
|
let n = t.e164 || t.formattedInternational || t.rawInput || "";
|
|
313
313
|
e.onChange(n);
|
|
314
314
|
},
|
|
315
|
-
defaultCountry:
|
|
316
|
-
locale:
|
|
317
|
-
placeholder:
|
|
315
|
+
defaultCountry: te(R.language),
|
|
316
|
+
locale: R.language,
|
|
317
|
+
placeholder: L("contact_form_phone_placeholder"),
|
|
318
318
|
className: "relative",
|
|
319
319
|
inputClassName: O("flex h-11 w-full rounded-md border border-input bg-background py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", t.error && "border-destructive focus-visible:ring-destructive"),
|
|
320
320
|
renderValidationMessage: ({ message: e }) => t.error?.message ? null : /* @__PURE__ */ w(y, {
|
|
@@ -329,11 +329,11 @@ function L({ storeSlug: L }) {
|
|
|
329
329
|
control: Y.control,
|
|
330
330
|
name: "message",
|
|
331
331
|
render: ({ field: e }) => /* @__PURE__ */ T(_, { children: [
|
|
332
|
-
/* @__PURE__ */ w(v, { children:
|
|
332
|
+
/* @__PURE__ */ w(v, { children: L("contact_form_message_label") }),
|
|
333
333
|
/* @__PURE__ */ w(h, { children: /* @__PURE__ */ w(ee, {
|
|
334
334
|
...e,
|
|
335
335
|
rows: 5,
|
|
336
|
-
placeholder:
|
|
336
|
+
placeholder: L("contact_form_message_placeholder"),
|
|
337
337
|
className: "min-h-[132px]"
|
|
338
338
|
}) }),
|
|
339
339
|
/* @__PURE__ */ w(y, {})
|
|
@@ -344,7 +344,7 @@ function L({ storeSlug: L }) {
|
|
|
344
344
|
children: /* @__PURE__ */ w(u, {
|
|
345
345
|
type: "submit",
|
|
346
346
|
disabled: Y.formState.isSubmitting,
|
|
347
|
-
children: Y.formState.isSubmitting ?
|
|
347
|
+
children: Y.formState.isSubmitting ? L("contact_form_submitting_button") : L("contact_form_submit_button")
|
|
348
348
|
})
|
|
349
349
|
})
|
|
350
350
|
]
|
|
@@ -357,4 +357,4 @@ function L({ storeSlug: L }) {
|
|
|
357
357
|
});
|
|
358
358
|
}
|
|
359
359
|
//#endregion
|
|
360
|
-
export {
|
|
360
|
+
export { I as ContactSection };
|
|
@@ -3,6 +3,6 @@ type AcceptanceModalProps = {
|
|
|
3
3
|
onClose: () => void;
|
|
4
4
|
onAccept: () => Promise<void> | void;
|
|
5
5
|
};
|
|
6
|
-
export declare function AcceptanceModal({ isOpen, onClose, onAccept }: AcceptanceModalProps): import("react
|
|
6
|
+
export declare function AcceptanceModal({ isOpen, onClose, onAccept }: AcceptanceModalProps): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=AcceptanceModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcceptanceModal.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/AcceptanceModal.tsx"],"names":[],"mappings":"AAMA,KAAK,oBAAoB,GAAG;IAC1B,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;CACrC,CAAA;AAED,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,oBAAoB
|
|
1
|
+
{"version":3,"file":"AcceptanceModal.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/AcceptanceModal.tsx"],"names":[],"mappings":"AAMA,KAAK,oBAAoB,GAAG;IAC1B,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;CACrC,CAAA;AAED,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,oBAAoB,+BAwClF"}
|
|
@@ -6,6 +6,6 @@ type DocumentAcceptanceSectionProps = {
|
|
|
6
6
|
className?: string;
|
|
7
7
|
compact?: boolean;
|
|
8
8
|
};
|
|
9
|
-
export declare function DocumentAcceptanceSection({ saleDocument, documentLanguage, formatDate, className, compact, }: DocumentAcceptanceSectionProps): import("react
|
|
9
|
+
export declare function DocumentAcceptanceSection({ saleDocument, documentLanguage, formatDate, className, compact, }: DocumentAcceptanceSectionProps): import("react").JSX.Element | null;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=DocumentAcceptanceSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentAcceptanceSection.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/DocumentAcceptanceSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,oBAAoB,EACpB,4BAA4B,EAC7B,MAAM,gCAAgC,CAAA;AAIvC,KAAK,8BAA8B,GAAG;IACpC,YAAY,EAAE,oBAAoB,CAAA;IAClC,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,KAAK,MAAM,CAAA;IACpD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,wBAAgB,yBAAyB,CAAC,EACxC,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,SAAS,EACT,OAAe,GAChB,EAAE,8BAA8B,
|
|
1
|
+
{"version":3,"file":"DocumentAcceptanceSection.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/DocumentAcceptanceSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,oBAAoB,EACpB,4BAA4B,EAC7B,MAAM,gCAAgC,CAAA;AAIvC,KAAK,8BAA8B,GAAG;IACpC,YAAY,EAAE,oBAAoB,CAAA;IAClC,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,KAAK,MAAM,CAAA;IACpD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,wBAAgB,yBAAyB,CAAC,EACxC,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,SAAS,EACT,OAAe,GAChB,EAAE,8BAA8B,sCA2IhC"}
|
|
@@ -8,6 +8,6 @@ type ContractSaleDocumentProps = {
|
|
|
8
8
|
publicDocumentUrl?: string;
|
|
9
9
|
onAccept?: (acceptance: ContractSaleDocumentAcceptanceRecord) => Promise<ContractSaleDocumentData | void> | ContractSaleDocumentData | void;
|
|
10
10
|
};
|
|
11
|
-
export declare function ContractSaleDocument({ data: initialData, showAppendices, withEnglishTranslation, heightMode, renderMode, publicDocumentUrl, onAccept, }: ContractSaleDocumentProps): import("react
|
|
11
|
+
export declare function ContractSaleDocument({ data: initialData, showAppendices, withEnglishTranslation, heightMode, renderMode, publicDocumentUrl, onAccept, }: ContractSaleDocumentProps): import("react").JSX.Element;
|
|
12
12
|
export type { ContractSaleDocumentProps };
|
|
13
13
|
//# sourceMappingURL=Invoice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Invoice.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/Invoice.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,oBAAoB,IAAI,wBAAwB,EAChD,oCAAoC,EAKrC,MAAM,gCAAgC,CAAA;AAUvC,OAAO,eAAe,CAAA;AAOtB,KAAK,yBAAyB,GAAG;IAC/B,IAAI,EAAE,wBAAwB,CAAA;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,UAAU,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAA;IAClC,UAAU,CAAC,EAAE,aAAa,GAAG,KAAK,CAAA;IAClC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,EAAE,CACT,UAAU,EAAE,oCAAoC,KAC7C,OAAO,CAAC,wBAAwB,GAAG,IAAI,CAAC,GAAG,wBAAwB,GAAG,IAAI,CAAA;CAChF,CAAA;AAsKD,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EAAE,WAAW,EACjB,cAAqB,EACrB,sBAA6B,EAC7B,UAAuB,EACvB,UAA0B,EAC1B,iBAAiB,EACjB,QAAQ,GACT,EAAE,yBAAyB
|
|
1
|
+
{"version":3,"file":"Invoice.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/Invoice.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EACV,oBAAoB,IAAI,wBAAwB,EAChD,oCAAoC,EAKrC,MAAM,gCAAgC,CAAA;AAUvC,OAAO,eAAe,CAAA;AAOtB,KAAK,yBAAyB,GAAG;IAC/B,IAAI,EAAE,wBAAwB,CAAA;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,UAAU,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAA;IAClC,UAAU,CAAC,EAAE,aAAa,GAAG,KAAK,CAAA;IAClC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,EAAE,CACT,UAAU,EAAE,oCAAoC,KAC7C,OAAO,CAAC,wBAAwB,GAAG,IAAI,CAAC,GAAG,wBAAwB,GAAG,IAAI,CAAA;CAChF,CAAA;AAsKD,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EAAE,WAAW,EACjB,cAAqB,EACrB,sBAA6B,EAC7B,UAAuB,EACvB,UAA0B,EAC1B,iBAAiB,EACjB,QAAQ,GACT,EAAE,yBAAyB,+BAsiB3B;AAED,YAAY,EAAE,yBAAyB,EAAE,CAAA"}
|
|
@@ -14,6 +14,6 @@ type InvoiceDetailsProps = {
|
|
|
14
14
|
documentQrCodeUrl?: string;
|
|
15
15
|
compact?: boolean;
|
|
16
16
|
};
|
|
17
|
-
export declare function InvoiceDetails({ saleDocument, items, subtotal, tax, total, formatDate, documentLanguage, showInvoiceMeta, showTotalsSection, showNotesSection, showAcceptanceSection, documentQrCodeUrl, compact, }: InvoiceDetailsProps): import("react
|
|
17
|
+
export declare function InvoiceDetails({ saleDocument, items, subtotal, tax, total, formatDate, documentLanguage, showInvoiceMeta, showTotalsSection, showNotesSection, showAcceptanceSection, documentQrCodeUrl, compact, }: InvoiceDetailsProps): import("react").JSX.Element;
|
|
18
18
|
export {};
|
|
19
19
|
//# sourceMappingURL=InvoiceDetails.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvoiceDetails.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/InvoiceDetails.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,oBAAoB,EACpB,4BAA4B,EAC5B,4BAA4B,EAC7B,MAAM,gCAAgC,CAAA;AAKvC,KAAK,mBAAmB,GAAG;IACzB,YAAY,EAAE,oBAAoB,CAAA;IAClC,KAAK,EAAE,4BAA4B,EAAE,CAAA;IACrC,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,KAAK,MAAM,CAAA;IACpD,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAwDD,wBAAgB,cAAc,CAAC,EAC7B,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,GAAG,EACH,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,eAAsB,EACtB,iBAAwB,EACxB,gBAAuB,EACvB,qBAA4B,EAC5B,iBAAiB,EACjB,OAAe,GAChB,EAAE,mBAAmB
|
|
1
|
+
{"version":3,"file":"InvoiceDetails.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/InvoiceDetails.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,oBAAoB,EACpB,4BAA4B,EAC5B,4BAA4B,EAC7B,MAAM,gCAAgC,CAAA;AAKvC,KAAK,mBAAmB,GAAG;IACzB,YAAY,EAAE,oBAAoB,CAAA;IAClC,KAAK,EAAE,4BAA4B,EAAE,CAAA;IACrC,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,KAAK,MAAM,CAAA;IACpD,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAwDD,wBAAgB,cAAc,CAAC,EAC7B,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,GAAG,EACH,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,eAAsB,EACtB,iBAAwB,EACxB,gBAAuB,EACvB,qBAA4B,EAC5B,iBAAiB,EACjB,OAAe,GAChB,EAAE,mBAAmB,+BAgWrB"}
|
|
@@ -7,6 +7,6 @@ type PageFooterProps = {
|
|
|
7
7
|
documentLanguage: ContractSaleDocumentLanguage;
|
|
8
8
|
compact?: boolean;
|
|
9
9
|
};
|
|
10
|
-
export declare function PageFooter({ documentTitle, saleDocumentNumber, currentPage, totalPages, documentLanguage, compact, }: PageFooterProps): import("react
|
|
10
|
+
export declare function PageFooter({ documentTitle, saleDocumentNumber, currentPage, totalPages, documentLanguage, compact, }: PageFooterProps): import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=PageFooter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageFooter.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/PageFooter.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAIlF,KAAK,eAAe,GAAG;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,wBAAgB,UAAU,CAAC,EACzB,aAAa,EACb,kBAAkB,EAClB,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,OAAe,GAChB,EAAE,eAAe
|
|
1
|
+
{"version":3,"file":"PageFooter.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/PageFooter.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAIlF,KAAK,eAAe,GAAG;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,wBAAgB,UAAU,CAAC,EACzB,aAAa,EACb,kBAAkB,EAClB,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,OAAe,GAChB,EAAE,eAAe,+BAsBjB"}
|
|
@@ -7,6 +7,6 @@ type PageHeaderProps = {
|
|
|
7
7
|
documentLanguage: ContractSaleDocumentLanguage;
|
|
8
8
|
compact?: boolean;
|
|
9
9
|
};
|
|
10
|
-
export declare function PageHeader({ documentTitle, saleDocumentNumber, currentPage, totalPages, documentLanguage, compact, }: PageHeaderProps): import("react
|
|
10
|
+
export declare function PageHeader({ documentTitle, saleDocumentNumber, currentPage, totalPages, documentLanguage, compact, }: PageHeaderProps): import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=PageHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/PageHeader.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAIlF,KAAK,eAAe,GAAG;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,wBAAgB,UAAU,CAAC,EACzB,aAAa,EACb,kBAAkB,EAClB,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,OAAe,GAChB,EAAE,eAAe
|
|
1
|
+
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/PageHeader.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAIlF,KAAK,eAAe,GAAG;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,wBAAgB,UAAU,CAAC,EACzB,aAAa,EACb,kBAAkB,EAClB,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,OAAe,GAChB,EAAE,eAAe,+BAsBjB"}
|
|
@@ -4,6 +4,6 @@ type SignatureModalProps = {
|
|
|
4
4
|
onClose: () => void;
|
|
5
5
|
onSave: (signature: ContractSaleDocumentSignature) => Promise<void> | void;
|
|
6
6
|
};
|
|
7
|
-
export declare function SignatureModal({ isOpen, onClose, onSave }: SignatureModalProps): import("react
|
|
7
|
+
export declare function SignatureModal({ isOpen, onClose, onSave }: SignatureModalProps): import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=SignatureModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignatureModal.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/SignatureModal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAA;AAOnF,KAAK,mBAAmB,GAAG;IACzB,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,EAAE,CAAC,SAAS,EAAE,6BAA6B,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;CAC3E,CAAA;AAED,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,mBAAmB
|
|
1
|
+
{"version":3,"file":"SignatureModal.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/SignatureModal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAA;AAOnF,KAAK,mBAAmB,GAAG;IACzB,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,EAAE,CAAC,SAAS,EAAE,6BAA6B,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;CAC3E,CAAA;AAED,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,mBAAmB,+BA+H9E"}
|
|
@@ -5,6 +5,6 @@ type TermsAndConditionsContentProps = {
|
|
|
5
5
|
withEnglishTranslation: boolean;
|
|
6
6
|
showTitle?: boolean;
|
|
7
7
|
};
|
|
8
|
-
export declare const TermsAndConditionsContent: ({ title, articles, withEnglishTranslation, showTitle, }: TermsAndConditionsContentProps) => import("react
|
|
8
|
+
export declare const TermsAndConditionsContent: ({ title, articles, withEnglishTranslation, showTitle, }: TermsAndConditionsContentProps) => import("react").JSX.Element;
|
|
9
9
|
export {};
|
|
10
10
|
//# sourceMappingURL=TermsAndConditionsContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TermsAndConditionsContent.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/TermsAndConditionsContent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAA;AAGrF,KAAK,8BAA8B,GAAG;IACpC,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,+BAA+B,EAAE,CAAA;IAC3C,sBAAsB,EAAE,OAAO,CAAA;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAoDD,eAAO,MAAM,yBAAyB,GAAI,yDAKvC,8BAA8B,
|
|
1
|
+
{"version":3,"file":"TermsAndConditionsContent.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/TermsAndConditionsContent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAA;AAGrF,KAAK,8BAA8B,GAAG;IACpC,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,+BAA+B,EAAE,CAAA;IAC3C,sBAAsB,EAAE,OAAO,CAAA;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAoDD,eAAO,MAAM,yBAAyB,GAAI,yDAKvC,8BAA8B,gCAuChC,CAAA"}
|
|
@@ -7,6 +7,6 @@ type ThumbnailSidebarProps = {
|
|
|
7
7
|
contentClassName?: string;
|
|
8
8
|
isLoading?: boolean;
|
|
9
9
|
};
|
|
10
|
-
export declare function ThumbnailSidebar({ thumbnails, activePage, onThumbnailClick, totalPages, heightClassName, contentClassName, isLoading, }: ThumbnailSidebarProps): import("react
|
|
10
|
+
export declare function ThumbnailSidebar({ thumbnails, activePage, onThumbnailClick, totalPages, heightClassName, contentClassName, isLoading, }: ThumbnailSidebarProps): import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=ThumbnailSidebar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThumbnailSidebar.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/ThumbnailSidebar.tsx"],"names":[],"mappings":"AAGA,KAAK,qBAAqB,GAAG;IAC3B,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,eAAyB,EACzB,gBAAgB,EAChB,SAAiB,GAClB,EAAE,qBAAqB
|
|
1
|
+
{"version":3,"file":"ThumbnailSidebar.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/ThumbnailSidebar.tsx"],"names":[],"mappings":"AAGA,KAAK,qBAAqB,GAAG;IAC3B,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,eAAyB,EACzB,gBAAgB,EAChB,SAAiB,GAClB,EAAE,qBAAqB,+BAmDvB"}
|
|
@@ -9,7 +9,7 @@ export declare const DelayedPlaceholder: ({ value, className, reserveWidth, }: {
|
|
|
9
9
|
value: string;
|
|
10
10
|
className?: string;
|
|
11
11
|
reserveWidth?: string;
|
|
12
|
-
}) => import("react
|
|
13
|
-
export declare const DelayedReveal: ({ value, children, fallback, reserveWidth }: DelayedRevealProps) => import("react
|
|
12
|
+
}) => import("react").JSX.Element;
|
|
13
|
+
export declare const DelayedReveal: ({ value, children, fallback, reserveWidth }: DelayedRevealProps) => import("react").JSX.Element;
|
|
14
14
|
export {};
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DelayedReveal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgC,MAAM,OAAO,CAAA;AAI/D,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,SAAS,CAAA;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAID,eAAO,MAAM,kBAAkB,GAAI,qCAIhC;IACD,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DelayedReveal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgC,MAAM,OAAO,CAAA;AAI/D,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,SAAS,CAAA;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAID,eAAO,MAAM,kBAAkB,GAAI,qCAIhC;IACD,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,gCAWA,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,6CAAoD,kBAAkB,gCA4CnG,CAAA"}
|
|
@@ -18,6 +18,6 @@ type DeliveryAddressSelectorProps = {
|
|
|
18
18
|
locationRestriction?: AddressAutocompleteLocationRestriction;
|
|
19
19
|
allowedTypes?: Iterable<string>;
|
|
20
20
|
};
|
|
21
|
-
export declare function DeliveryAddressSelector({ startAddress, onStartAddressChange, returnAddress, onReturnAddressChange, startAddressLabel, startAddressPlaceholder, returnAddressLabel, returnAddressPlaceholder, returnAddressHelper, open, className, inputClassName, labelClassName, testIdPrefix, googleMapsApiKey, locationRestriction, allowedTypes, }: DeliveryAddressSelectorProps): import("react
|
|
21
|
+
export declare function DeliveryAddressSelector({ startAddress, onStartAddressChange, returnAddress, onReturnAddressChange, startAddressLabel, startAddressPlaceholder, returnAddressLabel, returnAddressPlaceholder, returnAddressHelper, open, className, inputClassName, labelClassName, testIdPrefix, googleMapsApiKey, locationRestriction, allowedTypes, }: DeliveryAddressSelectorProps): import("react").JSX.Element;
|
|
22
22
|
export {};
|
|
23
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DeliveryAddressSelector/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAA4B,KAAK,sCAAsC,EAAE,MAAM,6BAA6B,CAAA;AAGnH,KAAK,4BAA4B,GAAG;IAClC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oBAAoB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,qBAAqB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAChD,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,wBAAwB,CAAC,EAAE,MAAM,CAAA;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,mBAAmB,CAAC,EAAE,sCAAsC,CAAA;IAC5D,YAAY,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;CAChC,CAAA;AAED,wBAAgB,uBAAuB,CAAC,EACtC,YAAiB,EACjB,oBAAoB,EACpB,aAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,EAClB,wBAAwB,EACxB,mBAAmB,EACnB,IAAW,EACX,SAAS,EACT,cAAc,EACd,cAAc,EACd,YAA4C,EAC5C,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,GACb,EAAE,4BAA4B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DeliveryAddressSelector/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAA4B,KAAK,sCAAsC,EAAE,MAAM,6BAA6B,CAAA;AAGnH,KAAK,4BAA4B,GAAG;IAClC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oBAAoB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,qBAAqB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAChD,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,wBAAwB,CAAC,EAAE,MAAM,CAAA;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,mBAAmB,CAAC,EAAE,sCAAsC,CAAA;IAC5D,YAAY,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;CAChC,CAAA;AAED,wBAAgB,uBAAuB,CAAC,EACtC,YAAiB,EACjB,oBAAoB,EACpB,aAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,EAClB,wBAAwB,EACxB,mBAAmB,EACnB,IAAW,EACX,SAAS,EACT,cAAc,EACd,cAAc,EACd,YAA4C,EAC5C,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,GACb,EAAE,4BAA4B,+BAoF9B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function FaqSection(): import("react
|
|
1
|
+
export declare function FaqSection(): import("react").JSX.Element | null;
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FaqSection/index.tsx"],"names":[],"mappings":"AAyEA,wBAAgB,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FaqSection/index.tsx"],"names":[],"mappings":"AAyEA,wBAAgB,UAAU,uCAkDzB"}
|
|
@@ -6,6 +6,6 @@ type BusinessHoursProps = {
|
|
|
6
6
|
openingHoursOverrides: StoreOpeningOverride[];
|
|
7
7
|
timeZone: string;
|
|
8
8
|
};
|
|
9
|
-
export declare function BusinessHours({ openingHours, openingHoursOverrides, timeZone }: BusinessHoursProps): import("react
|
|
9
|
+
export declare function BusinessHours({ openingHours, openingHoursOverrides, timeZone }: BusinessHoursProps): import("react").JSX.Element | null;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=BusinessHours.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BusinessHours.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/BusinessHours.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EAC1B,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,sBAAsB,CAAA;AAG7B,MAAM,MAAM,YAAY,GAAG,yBAAyB,CAAA;AAEpD,KAAK,kBAAkB,GAAG;IACxB,YAAY,EAAE,iBAAiB,CAAA;IAC/B,qBAAqB,EAAE,oBAAoB,EAAE,CAAA;IAC7C,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,wBAAgB,aAAa,CAAC,EAAE,YAAY,EAAE,qBAAqB,EAAE,QAAQ,EAAE,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"BusinessHours.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/BusinessHours.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EAC1B,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,sBAAsB,CAAA;AAG7B,MAAM,MAAM,YAAY,GAAG,yBAAyB,CAAA;AAEpD,KAAK,kBAAkB,GAAG;IACxB,YAAY,EAAE,iBAAiB,CAAA;IAC/B,qBAAqB,EAAE,oBAAoB,EAAE,CAAA;IAC7C,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,wBAAgB,aAAa,CAAC,EAAE,YAAY,EAAE,qBAAqB,EAAE,QAAQ,EAAE,EAAE,kBAAkB,sCAgGlG"}
|
|
@@ -5,10 +5,10 @@ import { useTranslation as a } from "react-i18next";
|
|
|
5
5
|
import { ChevronDown as o, Clock as s } from "lucide-react";
|
|
6
6
|
//#region src/components/Footer/BusinessHours.tsx
|
|
7
7
|
function c({ openingHours: c, openingHoursOverrides: l, timeZone: u }) {
|
|
8
|
-
let { t: d, i18n: f } = a(), { seasons:
|
|
8
|
+
let { t: d, i18n: f } = a(), p = f.language || "en", { seasons: m, defaultSeasonId: h } = e({
|
|
9
9
|
openingHours: c,
|
|
10
10
|
openingHoursOverrides: l,
|
|
11
|
-
language:
|
|
11
|
+
language: p,
|
|
12
12
|
closedLabel: d("footer_business_hours_closed"),
|
|
13
13
|
formatWeekdayRange: (e, t) => d("footer_business_hours_weekday_range", {
|
|
14
14
|
start: e,
|
|
@@ -19,23 +19,23 @@ function c({ openingHours: c, openingHoursOverrides: l, timeZone: u }) {
|
|
|
19
19
|
end: t
|
|
20
20
|
}),
|
|
21
21
|
timeZone: u
|
|
22
|
-
}), [
|
|
22
|
+
}), [g, _] = n(h);
|
|
23
23
|
return t(() => {
|
|
24
|
-
if (!
|
|
25
|
-
|
|
24
|
+
if (!m.length) {
|
|
25
|
+
g !== null && _(null);
|
|
26
26
|
return;
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
g !== null && (m.some((e) => e.id === g) || _(h));
|
|
29
29
|
}, [
|
|
30
|
-
p,
|
|
31
30
|
m,
|
|
32
|
-
h
|
|
33
|
-
|
|
31
|
+
h,
|
|
32
|
+
g
|
|
33
|
+
]), m.length ? /* @__PURE__ */ r("div", {
|
|
34
34
|
"data-testid": "footer-business-hours",
|
|
35
35
|
children: /* @__PURE__ */ r("div", {
|
|
36
36
|
className: "space-y-2",
|
|
37
|
-
children:
|
|
38
|
-
let t =
|
|
37
|
+
children: m.map((e) => {
|
|
38
|
+
let t = g === e.id;
|
|
39
39
|
return /* @__PURE__ */ i("section", {
|
|
40
40
|
"data-testid": `footer-business-hours-season-${e.id}`,
|
|
41
41
|
children: [/* @__PURE__ */ r("h3", { children: /* @__PURE__ */ i("button", {
|
|
@@ -44,7 +44,7 @@ function c({ openingHours: c, openingHoursOverrides: l, timeZone: u }) {
|
|
|
44
44
|
"data-testid": `footer-business-hours-season-toggle-${e.id}`,
|
|
45
45
|
"aria-expanded": t,
|
|
46
46
|
onClick: () => {
|
|
47
|
-
|
|
47
|
+
_((t) => t === e.id ? null : e.id);
|
|
48
48
|
},
|
|
49
49
|
children: [/* @__PURE__ */ i("span", {
|
|
50
50
|
className: "min-w-0",
|
|
@@ -6,6 +6,6 @@ type BusinessHoursOverviewDialogProps = {
|
|
|
6
6
|
mapsHref?: string;
|
|
7
7
|
onOpenChange: (open: boolean) => void;
|
|
8
8
|
};
|
|
9
|
-
export declare function BusinessHoursOverviewDialog({ open, seasons, exceptions, mapsHref, onOpenChange, }: BusinessHoursOverviewDialogProps): import("react
|
|
9
|
+
export declare function BusinessHoursOverviewDialog({ open, seasons, exceptions, mapsHref, onOpenChange, }: BusinessHoursOverviewDialogProps): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=BusinessHoursOverviewDialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BusinessHoursOverviewDialog.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/BusinessHoursOverviewDialog.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,4BAA4B,EAC5B,yBAAyB,EAC1B,MAAM,sBAAsB,CAAA;AAG7B,KAAK,gCAAgC,GAAG;IACtC,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE,yBAAyB,EAAE,CAAA;IACpC,UAAU,EAAE,4BAA4B,EAAE,CAAA;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;CACtC,CAAA;AAED,wBAAgB,2BAA2B,CAAC,EAC1C,IAAI,EACJ,OAAO,EACP,UAAU,EACV,QAAQ,EACR,YAAY,GACb,EAAE,gCAAgC
|
|
1
|
+
{"version":3,"file":"BusinessHoursOverviewDialog.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/BusinessHoursOverviewDialog.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EACV,4BAA4B,EAC5B,yBAAyB,EAC1B,MAAM,sBAAsB,CAAA;AAG7B,KAAK,gCAAgC,GAAG;IACtC,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE,yBAAyB,EAAE,CAAA;IACpC,UAAU,EAAE,4BAA4B,EAAE,CAAA;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;CACtC,CAAA;AAED,wBAAgB,2BAA2B,CAAC,EAC1C,IAAI,EACJ,OAAO,EACP,UAAU,EACV,QAAQ,EACR,YAAY,GACb,EAAE,gCAAgC,+BAuKlC"}
|