ublo-lib 1.31.44 → 1.32.1
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/es/common/components/admin-links/admin-links.d.ts +2 -2
- package/es/common/components/admin-links/admin-links.d.ts.map +1 -0
- package/es/common/components/admin-links/admin-links.js +59 -0
- package/es/common/components/admin-links/index.d.ts +1 -0
- package/es/common/components/admin-links/index.d.ts.map +1 -0
- package/es/common/components/analytics.d.ts +1 -0
- package/es/common/components/analytics.d.ts.map +1 -0
- package/es/common/components/analytics.js +3 -12
- package/es/common/components/breadcrumb.d.ts +2 -2
- package/es/common/components/breadcrumb.d.ts.map +1 -0
- package/es/common/components/{breadcrumb.jsx → breadcrumb.js} +6 -11
- package/es/common/components/carousel-zone.d.ts +2 -2
- package/es/common/components/carousel-zone.d.ts.map +1 -0
- package/es/common/components/carousel-zone.js +5 -26
- package/es/common/components/carousel.d.ts +2 -1
- package/es/common/components/carousel.d.ts.map +1 -0
- package/es/common/components/carousel.js +15 -32
- package/es/common/components/cart-preview/api.d.ts +1 -0
- package/es/common/components/cart-preview/api.d.ts.map +1 -0
- package/es/common/components/cart-preview/api.js +3 -12
- package/es/common/components/cart-preview/cart-pill.d.ts +2 -2
- package/es/common/components/cart-preview/cart-pill.d.ts.map +1 -0
- package/es/common/components/cart-preview/cart-pill.js +2 -1
- package/es/common/components/cart-preview/cart-preview.d.ts +2 -2
- package/es/common/components/cart-preview/cart-preview.d.ts.map +1 -0
- package/es/common/components/cart-preview/cart-preview.js +14 -46
- package/es/common/components/cart-preview/index.d.ts +1 -0
- package/es/common/components/cart-preview/index.d.ts.map +1 -0
- package/es/common/components/cart-preview/utils.d.ts +1 -0
- package/es/common/components/cart-preview/utils.d.ts.map +1 -0
- package/es/common/components/collapsible/collapsible.d.ts +2 -1
- package/es/common/components/collapsible/collapsible.d.ts.map +1 -0
- package/es/common/components/collapsible/{collapsible.jsx → collapsible.js} +4 -10
- package/es/common/components/collapsible/index.d.ts +1 -0
- package/es/common/components/collapsible/index.d.ts.map +1 -0
- package/es/common/components/cookie-consent/cookie-consent.d.ts +1 -0
- package/es/common/components/cookie-consent/cookie-consent.d.ts.map +1 -0
- package/es/common/components/cookie-consent/cookie-consent.js +7 -39
- package/es/common/components/cookie-consent/index.d.ts +1 -0
- package/es/common/components/cookie-consent/index.d.ts.map +1 -0
- package/es/common/components/cookie-consent/messages.d.ts +1 -0
- package/es/common/components/cookie-consent/messages.d.ts.map +1 -0
- package/es/common/components/cookie-consent/utils.d.ts +1 -0
- package/es/common/components/cookie-consent/utils.d.ts.map +1 -0
- package/es/common/components/cookie-consent/utils.js +18 -29
- package/es/common/components/cross-selling-editor/cross-selling-editor.d.ts +2 -1
- package/es/common/components/cross-selling-editor/cross-selling-editor.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/{cross-selling-editor.jsx → cross-selling-editor.js} +3 -9
- package/es/common/components/cross-selling-editor/editor.d.ts +2 -1
- package/es/common/components/cross-selling-editor/editor.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/{editor.jsx → editor.js} +5 -16
- package/es/common/components/cross-selling-editor/hooks/use-custom-offers.d.ts +1 -0
- package/es/common/components/cross-selling-editor/hooks/use-custom-offers.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/hooks/use-custom-offers.js +6 -15
- package/es/common/components/cross-selling-editor/hooks/use-tunnel-offers.d.ts +1 -0
- package/es/common/components/cross-selling-editor/hooks/use-tunnel-offers.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/hooks/use-tunnel-offers.js +4 -13
- package/es/common/components/cross-selling-editor/index.d.ts +1 -0
- package/es/common/components/cross-selling-editor/index.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/override-trigger-form.d.ts +2 -1
- package/es/common/components/cross-selling-editor/override-trigger-form.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/override-trigger-form.js +54 -0
- package/es/common/components/cross-selling-editor/override.d.ts +2 -1
- package/es/common/components/cross-selling-editor/override.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/{override.jsx → override.js} +25 -26
- package/es/common/components/cross-selling-editor/overrides-list.d.ts +2 -1
- package/es/common/components/cross-selling-editor/overrides-list.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/overrides-list.js +55 -0
- package/es/common/components/cross-selling-editor/rule.d.ts +2 -1
- package/es/common/components/cross-selling-editor/rule.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/rule.js +74 -0
- package/es/common/components/cross-selling-editor/rules.d.ts +2 -1
- package/es/common/components/cross-selling-editor/rules.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/rules.js +31 -0
- package/es/common/components/cross-selling-editor/services/api.d.ts +1 -0
- package/es/common/components/cross-selling-editor/services/api.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/services/api.js +10 -24
- package/es/common/components/cross-selling-editor/services/utils.d.ts +1 -0
- package/es/common/components/cross-selling-editor/services/utils.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/services/utils.js +34 -48
- package/es/common/components/cross-selling-editor/tester-tunnel-offer.d.ts +2 -2
- package/es/common/components/cross-selling-editor/tester-tunnel-offer.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/tester-tunnel-offer.js +21 -0
- package/es/common/components/cross-selling-editor/tester.d.ts +2 -2
- package/es/common/components/cross-selling-editor/tester.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/{tester.jsx → tester.js} +12 -53
- package/es/common/components/cross-selling-editor/types.d.ts +1 -0
- package/es/common/components/cross-selling-editor/types.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/attachment.d.ts +2 -2
- package/es/common/components/custom-contact-form/attachment.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/attachment.js +15 -37
- package/es/common/components/custom-contact-form/custom-contact-form.d.ts +2 -1
- package/es/common/components/custom-contact-form/custom-contact-form.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/custom-contact-form.js +90 -0
- package/es/common/components/custom-contact-form/field.d.ts +2 -2
- package/es/common/components/custom-contact-form/field.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/field.js +30 -32
- package/es/common/components/custom-contact-form/icons.d.ts +5 -5
- package/es/common/components/custom-contact-form/icons.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/icons.js +7 -34
- package/es/common/components/custom-contact-form/index.d.ts +1 -0
- package/es/common/components/custom-contact-form/index.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/messages.d.ts +1 -0
- package/es/common/components/custom-contact-form/messages.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/utils.d.ts +1 -0
- package/es/common/components/custom-contact-form/utils.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/utils.js +32 -35
- package/es/common/components/date-picker/calendar.d.ts +2 -2
- package/es/common/components/date-picker/calendar.d.ts.map +1 -0
- package/es/common/components/date-picker/calendar.js +13 -74
- package/es/common/components/date-picker/data.d.ts +1 -0
- package/es/common/components/date-picker/data.d.ts.map +1 -0
- package/es/common/components/date-picker/date-item.d.ts +2 -2
- package/es/common/components/date-picker/date-item.d.ts.map +1 -0
- package/es/common/components/date-picker/date-item.js +8 -11
- package/es/common/components/date-picker/date-picker.d.ts +2 -2
- package/es/common/components/date-picker/date-picker.d.ts.map +1 -0
- package/es/common/components/date-picker/date-picker.js +2 -7
- package/es/common/components/date-picker/helper.d.ts +2 -2
- package/es/common/components/date-picker/helper.d.ts.map +1 -0
- package/es/common/components/date-picker/helper.js +2 -19
- package/es/common/components/date-picker/index.d.ts +1 -0
- package/es/common/components/date-picker/index.d.ts.map +1 -0
- package/es/common/components/date-picker/messages.d.ts +1 -0
- package/es/common/components/date-picker/messages.d.ts.map +1 -0
- package/es/common/components/date-picker/month.d.ts +2 -2
- package/es/common/components/date-picker/month.d.ts.map +1 -0
- package/es/common/components/date-picker/month.js +6 -17
- package/es/common/components/date-picker/utils.d.ts +2 -1
- package/es/common/components/date-picker/utils.d.ts.map +1 -0
- package/es/common/components/date-picker/utils.js +2 -2
- package/es/common/components/editable-calendar/calendar-caption.d.ts +2 -2
- package/es/common/components/editable-calendar/calendar-caption.d.ts.map +1 -0
- package/es/common/components/editable-calendar/calendar-caption.js +37 -50
- package/es/common/components/editable-calendar/calendar-date.d.ts +2 -2
- package/es/common/components/editable-calendar/calendar-date.d.ts.map +1 -0
- package/es/common/components/editable-calendar/calendar-date.js +2 -5
- package/es/common/components/editable-calendar/calendar-editor.d.ts +2 -2
- package/es/common/components/editable-calendar/calendar-editor.d.ts.map +1 -0
- package/es/common/components/editable-calendar/calendar-editor.js +10 -21
- package/es/common/components/editable-calendar/calendar-header.d.ts +2 -2
- package/es/common/components/editable-calendar/calendar-header.d.ts.map +1 -0
- package/es/common/components/editable-calendar/calendar-header.js +2 -11
- package/es/common/components/editable-calendar/calendar.d.ts +2 -2
- package/es/common/components/editable-calendar/calendar.d.ts.map +1 -0
- package/es/common/components/editable-calendar/calendar.js +3 -20
- package/es/common/components/editable-calendar/data.d.ts +1 -0
- package/es/common/components/editable-calendar/data.d.ts.map +1 -0
- package/es/common/components/editable-calendar/index.d.ts +1 -0
- package/es/common/components/editable-calendar/index.d.ts.map +1 -0
- package/es/common/components/editable-calendar/index.js +2 -1
- package/es/common/components/editable-calendar/utils.d.ts +2 -1
- package/es/common/components/editable-calendar/utils.d.ts.map +1 -0
- package/es/common/components/editable-map/cluster.d.ts +1 -0
- package/es/common/components/editable-map/cluster.d.ts.map +1 -0
- package/es/common/components/editable-map/cluster.js +2 -3
- package/es/common/components/editable-map/edit-form.d.ts +2 -2
- package/es/common/components/editable-map/edit-form.d.ts.map +1 -0
- package/es/common/components/editable-map/edit-form.js +3 -24
- package/es/common/components/editable-map/editable-map.d.ts +2 -2
- package/es/common/components/editable-map/editable-map.d.ts.map +1 -0
- package/es/common/components/editable-map/editable-map.js +6 -22
- package/es/common/components/editable-map/full-screen-button.d.ts +2 -2
- package/es/common/components/editable-map/full-screen-button.d.ts.map +1 -0
- package/es/common/components/editable-map/full-screen-button.js +2 -3
- package/es/common/components/editable-map/helper.d.ts +2 -2
- package/es/common/components/editable-map/helper.d.ts.map +1 -0
- package/es/common/components/editable-map/helper.js +2 -21
- package/es/common/components/editable-map/icon-picker.d.ts +2 -2
- package/es/common/components/editable-map/icon-picker.d.ts.map +1 -0
- package/es/common/components/editable-map/icon-picker.js +10 -25
- package/es/common/components/editable-map/icons/esf-pralognan.d.ts +51 -51
- package/es/common/components/editable-map/icons/esf-pralognan.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/esf-pralognan.js +57 -372
- package/es/common/components/editable-map/icons/esf.d.ts +39 -39
- package/es/common/components/editable-map/icons/esf.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/esf.js +45 -265
- package/es/common/components/editable-map/icons/index.d.ts +1 -0
- package/es/common/components/editable-map/icons/index.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/lavovelo.d.ts +5 -5
- package/es/common/components/editable-map/icons/lavovelo.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/lavovelo.js +7 -42
- package/es/common/components/editable-map/icons/sata-huez.d.ts +29 -29
- package/es/common/components/editable-map/icons/sata-huez.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/sata-huez.js +34 -169
- package/es/common/components/editable-map/icons/sedev-vars.d.ts +29 -29
- package/es/common/components/editable-map/icons/sedev-vars.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/sedev-vars.js +34 -169
- package/es/common/components/editable-map/icons/viarmonia.d.ts +3 -3
- package/es/common/components/editable-map/icons/viarmonia.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/viarmonia.js +5 -25
- package/es/common/components/editable-map/index.d.ts +1 -0
- package/es/common/components/editable-map/index.d.ts.map +1 -0
- package/es/common/components/editable-map/index.js +7 -11
- package/es/common/components/editable-map/map-events.d.ts +1 -0
- package/es/common/components/editable-map/map-events.d.ts.map +1 -0
- package/es/common/components/editable-map/map-events.js +2 -3
- package/es/common/components/editable-map/marker-list.d.ts +2 -2
- package/es/common/components/editable-map/marker-list.d.ts.map +1 -0
- package/es/common/components/editable-map/marker-list.js +27 -37
- package/es/common/components/editable-map/markers.d.ts +1 -0
- package/es/common/components/editable-map/markers.d.ts.map +1 -0
- package/es/common/components/editable-map/markers.js +7 -11
- package/es/common/components/editable-map/popup-data.d.ts +2 -2
- package/es/common/components/editable-map/popup-data.d.ts.map +1 -0
- package/es/common/components/editable-map/popup-data.js +2 -7
- package/es/common/components/editable-map/slopes-toggle.d.ts +2 -2
- package/es/common/components/editable-map/slopes-toggle.d.ts.map +1 -0
- package/es/common/components/editable-map/slopes-toggle.js +2 -3
- package/es/common/components/error-404/error-404.d.ts +2 -2
- package/es/common/components/error-404/error-404.d.ts.map +1 -0
- package/es/common/components/error-404/error-404.js +2 -11
- package/es/common/components/error-404/index.d.ts +1 -0
- package/es/common/components/error-404/index.d.ts.map +1 -0
- package/es/common/components/error-404/messages.d.ts +1 -0
- package/es/common/components/error-404/messages.d.ts.map +1 -0
- package/es/common/components/error-404/messages.js +1 -2
- package/es/common/components/faq.d.ts +2 -1
- package/es/common/components/faq.d.ts.map +1 -0
- package/es/common/components/faq.js +2 -4
- package/es/common/components/gesco-contact-form/gesco-contact-form.d.ts +2 -2
- package/es/common/components/gesco-contact-form/gesco-contact-form.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/gesco-contact-form.js +108 -0
- package/es/common/components/gesco-contact-form/hooks/use-params.d.ts +1 -0
- package/es/common/components/gesco-contact-form/hooks/use-params.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/hooks/use-params.js +3 -12
- package/es/common/components/gesco-contact-form/index.d.ts +1 -0
- package/es/common/components/gesco-contact-form/index.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/phone-code-select.d.ts +2 -2
- package/es/common/components/gesco-contact-form/phone-code-select.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/{phone-code-select.jsx → phone-code-select.js} +8 -8
- package/es/common/components/gesco-contact-form/services/api.d.ts +1 -0
- package/es/common/components/gesco-contact-form/services/api.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/services/api.js +8 -22
- package/es/common/components/gesco-contact-form/services/form.d.ts +1 -0
- package/es/common/components/gesco-contact-form/services/form.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/services/form.js +3 -6
- package/es/common/components/gesco-contact-form/services/messages.d.ts +1 -0
- package/es/common/components/gesco-contact-form/services/messages.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/services/messages.js +1 -1
- package/es/common/components/gesco-contact-form/services/plausible.d.ts +1 -0
- package/es/common/components/gesco-contact-form/services/plausible.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/services/plausible.js +2 -3
- package/es/common/components/gesco-contact-form/types.d.ts +1 -0
- package/es/common/components/gesco-contact-form/types.d.ts.map +1 -0
- package/es/common/components/info-buttons.d.ts +2 -1
- package/es/common/components/info-buttons.d.ts.map +1 -0
- package/es/common/components/info-buttons.js +7 -22
- package/es/common/components/information/index.d.ts +1 -0
- package/es/common/components/information/index.d.ts.map +1 -0
- package/es/common/components/information/information.d.ts +2 -2
- package/es/common/components/information/information.d.ts.map +1 -0
- package/es/common/components/information/{information.jsx → information.js} +6 -16
- package/es/common/components/instant-search/hooks/use-constant.d.ts +1 -0
- package/es/common/components/instant-search/hooks/use-constant.d.ts.map +1 -0
- package/es/common/components/instant-search/hooks/use-debounced-search.d.ts +1 -0
- package/es/common/components/instant-search/hooks/use-debounced-search.d.ts.map +1 -0
- package/es/common/components/instant-search/hooks/use-debounced-search.js +1 -10
- package/es/common/components/instant-search/hooks/use-search.d.ts +1 -0
- package/es/common/components/instant-search/hooks/use-search.d.ts.map +1 -0
- package/es/common/components/instant-search/hooks/use-search.js +2 -11
- package/es/common/components/instant-search/index.d.ts +1 -0
- package/es/common/components/instant-search/index.d.ts.map +1 -0
- package/es/common/components/instant-search/input.d.ts +2 -2
- package/es/common/components/instant-search/input.d.ts.map +1 -0
- package/es/common/components/instant-search/{input.jsx → input.js} +17 -25
- package/es/common/components/instant-search/instant-search.d.ts +2 -2
- package/es/common/components/instant-search/instant-search.d.ts.map +1 -0
- package/es/common/components/instant-search/{instant-search.jsx → instant-search.js} +3 -16
- package/es/common/components/instant-search/links.d.ts +2 -2
- package/es/common/components/instant-search/links.d.ts.map +1 -0
- package/es/common/components/instant-search/links.js +30 -0
- package/es/common/components/instant-search/no-product.d.ts +2 -2
- package/es/common/components/instant-search/no-product.d.ts.map +1 -0
- package/es/common/components/instant-search/no-product.js +4 -0
- package/es/common/components/instant-search/products.d.ts +2 -1
- package/es/common/components/instant-search/products.d.ts.map +1 -0
- package/es/common/components/instant-search/products.js +42 -0
- package/es/common/components/instant-search/results.d.ts +2 -2
- package/es/common/components/instant-search/results.d.ts.map +1 -0
- package/es/common/components/instant-search/results.js +41 -0
- package/es/common/components/instant-search/services/api.d.ts +1 -0
- package/es/common/components/instant-search/services/api.d.ts.map +1 -0
- package/es/common/components/instant-search/services/api.js +0 -1
- package/es/common/components/instant-search/services/dates.d.ts +1 -0
- package/es/common/components/instant-search/services/dates.d.ts.map +1 -0
- package/es/common/components/instant-search/services/dates.js +0 -3
- package/es/common/components/instant-search/services/messages.d.ts +1 -0
- package/es/common/components/instant-search/services/messages.d.ts.map +1 -0
- package/es/common/components/instant-search/services/utils.d.ts +1 -0
- package/es/common/components/instant-search/services/utils.d.ts.map +1 -0
- package/es/common/components/instant-search/services/utils.js +1 -2
- package/es/common/components/msem-preset-editor/components/facet-selector.d.ts +2 -2
- package/es/common/components/msem-preset-editor/components/facet-selector.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/components/{facet-selector.jsx → facet-selector.js} +7 -4
- package/es/common/components/msem-preset-editor/components/form.d.ts +2 -2
- package/es/common/components/msem-preset-editor/components/form.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/components/form.js +9 -0
- package/es/common/components/msem-preset-editor/components/stay-picker.d.ts +2 -2
- package/es/common/components/msem-preset-editor/components/stay-picker.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/components/{stay-picker.jsx → stay-picker.js} +5 -8
- package/es/common/components/msem-preset-editor/components/widget-list-item.d.ts +2 -1
- package/es/common/components/msem-preset-editor/components/widget-list-item.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/components/widget-list-item.js +55 -0
- package/es/common/components/msem-preset-editor/components/widget-list.d.ts +2 -1
- package/es/common/components/msem-preset-editor/components/widget-list.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/components/widget-list.js +34 -0
- package/es/common/components/msem-preset-editor/editor-dialog.d.ts +2 -1
- package/es/common/components/msem-preset-editor/editor-dialog.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editor-dialog.js +27 -0
- package/es/common/components/msem-preset-editor/editors/elloha.d.ts +2 -1
- package/es/common/components/msem-preset-editor/editors/elloha.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/elloha.js +79 -0
- package/es/common/components/msem-preset-editor/editors/index.d.ts +1 -0
- package/es/common/components/msem-preset-editor/editors/index.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/lodgings.d.ts +2 -1
- package/es/common/components/msem-preset-editor/editors/lodgings.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/lodgings.js +192 -0
- package/es/common/components/msem-preset-editor/editors/ski-passes-jb.d.ts +2 -1
- package/es/common/components/msem-preset-editor/editors/ski-passes-jb.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/ski-passes-jb.js +85 -0
- package/es/common/components/msem-preset-editor/editors/ski-passes.d.ts +2 -1
- package/es/common/components/msem-preset-editor/editors/ski-passes.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/ski-passes.js +198 -0
- package/es/common/components/msem-preset-editor/editors/standard-products.d.ts +2 -1
- package/es/common/components/msem-preset-editor/editors/standard-products.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/{standard-products.jsx → standard-products.js} +16 -21
- package/es/common/components/msem-preset-editor/editors/vakario.d.ts +2 -1
- package/es/common/components/msem-preset-editor/editors/vakario.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/{vakario.jsx → vakario.js} +50 -48
- package/es/common/components/msem-preset-editor/index.d.ts +1 -0
- package/es/common/components/msem-preset-editor/index.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/msem-preset-editor.d.ts +2 -1
- package/es/common/components/msem-preset-editor/msem-preset-editor.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/msem-preset-editor.js +161 -0
- package/es/common/components/msem-preset-editor/services/api.d.ts +1 -0
- package/es/common/components/msem-preset-editor/services/api.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/services/api.js +42 -79
- package/es/common/components/msem-preset-editor/services/offers.d.ts +1 -0
- package/es/common/components/msem-preset-editor/services/offers.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/services/offers.js +35 -57
- package/es/common/components/msem-preset-editor/services/preset.d.ts +1 -0
- package/es/common/components/msem-preset-editor/services/preset.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/services/preset.js +1 -1
- package/es/common/components/msem-preset-editor/services/url-params.d.ts +1 -0
- package/es/common/components/msem-preset-editor/services/url-params.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/components/actions.d.ts +2 -2
- package/es/common/components/msem-preset-linker/components/actions.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/components/{actions.jsx → actions.js} +7 -22
- package/es/common/components/msem-preset-linker/components/overlays.d.ts +2 -2
- package/es/common/components/msem-preset-linker/components/overlays.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/components/{overlays.jsx → overlays.js} +6 -13
- package/es/common/components/msem-preset-linker/components/resort-selector.d.ts +2 -2
- package/es/common/components/msem-preset-linker/components/resort-selector.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/components/{resort-selector.jsx → resort-selector.js} +3 -3
- package/es/common/components/msem-preset-linker/hooks/use-msem-presets.d.ts +1 -0
- package/es/common/components/msem-preset-linker/hooks/use-msem-presets.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/hooks/use-msem-presets.js +2 -3
- package/es/common/components/msem-preset-linker/index.d.ts +1 -0
- package/es/common/components/msem-preset-linker/index.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/msem-preset-linker.d.ts +2 -1
- package/es/common/components/msem-preset-linker/msem-preset-linker.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/{msem-preset-linker.jsx → msem-preset-linker.js} +11 -13
- package/es/common/components/msem-preset-linker/services/url-params.d.ts +1 -0
- package/es/common/components/msem-preset-linker/services/url-params.d.ts.map +1 -0
- package/es/common/components/packages-selector/index.d.ts +2 -2
- package/es/common/components/packages-selector/index.d.ts.map +1 -0
- package/es/common/components/packages-selector/index.js +13 -33
- package/es/common/components/plausible/hooks/use-plausible.d.ts +2 -1
- package/es/common/components/plausible/hooks/use-plausible.d.ts.map +1 -0
- package/es/common/components/plausible/hooks/use-plausible.js +6 -6
- package/es/common/components/plausible/index.d.ts +1 -0
- package/es/common/components/plausible/index.d.ts.map +1 -0
- package/es/common/components/plausible/plausible.d.ts +2 -2
- package/es/common/components/plausible/plausible.d.ts.map +1 -0
- package/es/{future/components/plausible/plausible.jsx → common/components/plausible/plausible.js} +2 -3
- package/es/common/components/plausible/services/callback.d.ts +1 -0
- package/es/common/components/plausible/services/callback.d.ts.map +1 -0
- package/es/common/components/plausible/services/callback.js +14 -20
- package/es/common/components/plausible/services/load.d.ts +1 -0
- package/es/common/components/plausible/services/load.d.ts.map +1 -0
- package/es/common/components/plausible/services/send-goal.d.ts +1 -0
- package/es/common/components/plausible/services/send-goal.d.ts.map +1 -0
- package/es/common/components/popup.d.ts +2 -2
- package/es/common/components/popup.d.ts.map +1 -0
- package/es/common/components/popup.js +5 -35
- package/es/common/components/scroll-spy.d.ts +2 -1
- package/es/common/components/scroll-spy.d.ts.map +1 -0
- package/es/common/components/{scroll-spy.jsx → scroll-spy.js} +10 -20
- package/es/common/components/scrolling-carousel/index.d.ts +1 -0
- package/es/common/components/scrolling-carousel/index.d.ts.map +1 -0
- package/es/common/components/scrolling-carousel/scrolling-carousel.d.ts +2 -1
- package/es/common/components/scrolling-carousel/scrolling-carousel.d.ts.map +1 -0
- package/es/common/components/scrolling-carousel/{scrolling-carousel.jsx → scrolling-carousel.js} +25 -23
- package/es/common/components/search-bar/hooks/use-constant.d.ts +1 -0
- package/es/common/components/search-bar/hooks/use-constant.d.ts.map +1 -0
- package/es/common/components/search-bar/hooks/use-debounced-search.d.ts +1 -0
- package/es/common/components/search-bar/hooks/use-debounced-search.d.ts.map +1 -0
- package/es/common/components/search-bar/hooks/use-debounced-search.js +1 -10
- package/es/common/components/search-bar/hooks/use-search.d.ts +1 -0
- package/es/common/components/search-bar/hooks/use-search.d.ts.map +1 -0
- package/es/common/components/search-bar/hooks/use-search.js +2 -11
- package/es/common/components/search-bar/index.d.ts +1 -0
- package/es/common/components/search-bar/index.d.ts.map +1 -0
- package/es/common/components/search-bar/messages.d.ts +1 -0
- package/es/common/components/search-bar/messages.d.ts.map +1 -0
- package/es/common/components/search-bar/search-bar.d.ts +2 -1
- package/es/common/components/search-bar/search-bar.d.ts.map +1 -0
- package/es/common/components/search-bar/search-bar.js +38 -51
- package/es/common/components/search-bar/utils/fetcher.d.ts +1 -0
- package/es/common/components/search-bar/utils/fetcher.d.ts.map +1 -0
- package/es/common/components/search-bar/utils/fetcher.js +3 -12
- package/es/common/components/search-bar/utils/keyboard-keys.d.ts +1 -0
- package/es/common/components/search-bar/utils/keyboard-keys.d.ts.map +1 -0
- package/es/common/components/search-bar/utils/params.d.ts +1 -0
- package/es/common/components/search-bar/utils/params.d.ts.map +1 -0
- package/es/common/components/tabbed-zones.d.ts +2 -2
- package/es/common/components/tabbed-zones.d.ts.map +1 -0
- package/es/common/components/tabbed-zones.js +50 -0
- package/es/common/components/video-player/controls.d.ts +2 -1
- package/es/common/components/video-player/controls.d.ts.map +1 -0
- package/es/common/components/video-player/controls.js +5 -39
- package/es/common/components/video-player/icons.d.ts +7 -7
- package/es/common/components/video-player/icons.d.ts.map +1 -0
- package/es/common/components/video-player/icons.js +8 -35
- package/es/common/components/video-player/index.d.ts +1 -0
- package/es/common/components/video-player/index.d.ts.map +1 -0
- package/es/common/components/video-player/utils.d.ts +1 -0
- package/es/common/components/video-player/utils.d.ts.map +1 -0
- package/es/common/components/video-player/video-player.d.ts +2 -1
- package/es/common/components/video-player/video-player.d.ts.map +1 -0
- package/es/common/components/video-player/video-player.js +3 -17
- package/es/common/hooks/use-account.d.ts +1 -0
- package/es/common/hooks/use-account.d.ts.map +1 -0
- package/es/common/hooks/use-account.js +8 -19
- package/es/common/hooks/use-faq.d.ts +1 -0
- package/es/common/hooks/use-faq.d.ts.map +1 -0
- package/es/common/hooks/use-in-view.d.ts +1 -0
- package/es/common/hooks/use-in-view.d.ts.map +1 -0
- package/es/common/hooks/use-in-view.js +1 -1
- package/es/common/hooks/use-injected-cms-markup.d.ts +1 -0
- package/es/common/hooks/use-injected-cms-markup.d.ts.map +1 -0
- package/es/common/hooks/use-injected-cms-markup.js +5 -14
- package/es/common/hooks/use-packages.d.ts +1 -0
- package/es/common/hooks/use-packages.d.ts.map +1 -0
- package/es/common/hooks/use-packages.js +5 -13
- package/es/common/hooks/use-scroll-direction.d.ts +1 -0
- package/es/common/hooks/use-scroll-direction.d.ts.map +1 -0
- package/es/common/hooks/use-stay.d.ts +1 -0
- package/es/common/hooks/use-stay.d.ts.map +1 -0
- package/es/common/hooks/use-sticky.d.ts +1 -0
- package/es/common/hooks/use-sticky.d.ts.map +1 -0
- package/es/common/hooks/use-tunnel.d.ts +1 -0
- package/es/common/hooks/use-tunnel.d.ts.map +1 -0
- package/es/common/hooks/use-tunnel.js +10 -22
- package/es/common/hooks/use-update-effect.d.ts +2 -1
- package/es/common/hooks/use-update-effect.d.ts.map +1 -0
- package/es/common/hooks/use-update-effect.js +2 -2
- package/es/common/hooks/use-window-sizes.d.ts +1 -0
- package/es/common/hooks/use-window-sizes.d.ts.map +1 -0
- package/es/common/hooks/use-youtube-popup.d.ts +1 -0
- package/es/common/hooks/use-youtube-popup.d.ts.map +1 -0
- package/es/common/hooks/use-youtube-popup.js +10 -12
- package/es/common/hooks/use-zone-sync.d.ts +1 -0
- package/es/common/hooks/use-zone-sync.d.ts.map +1 -0
- package/es/common/hooks/use-zone-sync.js +2 -4
- package/es/common/utils/cms.d.ts +1 -0
- package/es/common/utils/cms.d.ts.map +1 -0
- package/es/common/utils/cms.js +16 -29
- package/es/common/utils/cookies.d.ts +1 -0
- package/es/common/utils/cookies.d.ts.map +1 -0
- package/es/common/utils/copy.d.ts +1 -0
- package/es/common/utils/copy.d.ts.map +1 -0
- package/es/common/utils/dates.d.ts +1 -0
- package/es/common/utils/dates.d.ts.map +1 -0
- package/es/common/utils/elements.d.ts +1 -0
- package/es/common/utils/elements.d.ts.map +1 -0
- package/es/common/utils/elements.js +1 -2
- package/es/common/utils/events.d.ts +1 -0
- package/es/common/utils/events.d.ts.map +1 -0
- package/es/common/utils/events.js +0 -17
- package/es/common/utils/fetcher.d.ts +1 -0
- package/es/common/utils/fetcher.d.ts.map +1 -0
- package/es/common/utils/fetcher.js +5 -15
- package/es/common/utils/file-manager.d.ts +1 -0
- package/es/common/utils/file-manager.d.ts.map +1 -0
- package/es/common/utils/file-manager.js +3 -12
- package/es/common/utils/load-js.d.ts +1 -0
- package/es/common/utils/load-js.d.ts.map +1 -0
- package/es/common/utils/msem-widget.d.ts +2 -2
- package/es/common/utils/msem-widget.d.ts.map +1 -0
- package/es/common/utils/msem-widget.js +39 -0
- package/es/common/utils/scrollbar-size.d.ts +1 -0
- package/es/common/utils/scrollbar-size.d.ts.map +1 -0
- package/es/common/utils/touch-device.d.ts +1 -0
- package/es/common/utils/touch-device.d.ts.map +1 -0
- package/es/common/utils/url-parameters.d.ts +1 -0
- package/es/common/utils/url-parameters.d.ts.map +1 -0
- package/es/esf/components/account-button/account-button.d.ts +2 -2
- package/es/esf/components/account-button/account-button.d.ts.map +1 -0
- package/es/esf/components/account-button/{account-button.jsx → account-button.js} +2 -5
- package/es/esf/components/account-button/index.d.ts +1 -0
- package/es/esf/components/account-button/index.d.ts.map +1 -0
- package/es/esf/components/booking-form/booking-form.d.ts +2 -2
- package/es/esf/components/booking-form/booking-form.d.ts.map +1 -0
- package/es/esf/components/booking-form/booking-form.js +3 -10
- package/es/esf/components/booking-form/data.d.ts +1 -0
- package/es/esf/components/booking-form/data.d.ts.map +1 -0
- package/es/esf/components/booking-form/field.d.ts +2 -2
- package/es/esf/components/booking-form/field.d.ts.map +1 -0
- package/es/esf/components/booking-form/field.js +6 -5
- package/es/esf/components/booking-form/hooks/use-custom-fields.d.ts +1 -0
- package/es/esf/components/booking-form/hooks/use-custom-fields.d.ts.map +1 -0
- package/es/esf/components/booking-form/hooks/use-stay.d.ts +1 -0
- package/es/esf/components/booking-form/hooks/use-stay.d.ts.map +1 -0
- package/es/esf/components/booking-form/index.d.ts +1 -0
- package/es/esf/components/booking-form/index.d.ts.map +1 -0
- package/es/esf/components/booking-form/lesson.d.ts +2 -2
- package/es/esf/components/booking-form/lesson.d.ts.map +1 -0
- package/es/esf/components/booking-form/lesson.js +2 -15
- package/es/esf/components/booking-form/lessons.d.ts +2 -2
- package/es/esf/components/booking-form/lessons.d.ts.map +1 -0
- package/es/esf/components/booking-form/lessons.js +12 -22
- package/es/esf/components/booking-form/messages.d.ts +1 -0
- package/es/esf/components/booking-form/messages.d.ts.map +1 -0
- package/es/esf/components/booking-form/personal-data.d.ts +2 -2
- package/es/esf/components/booking-form/personal-data.d.ts.map +1 -0
- package/es/esf/components/booking-form/personal-data.js +3 -17
- package/es/esf/components/booking-form/progress-bar.d.ts +2 -2
- package/es/esf/components/booking-form/progress-bar.d.ts.map +1 -0
- package/es/esf/components/booking-form/progress-bar.js +9 -13
- package/es/esf/components/booking-form/steps.d.ts +2 -2
- package/es/esf/components/booking-form/steps.d.ts.map +1 -0
- package/es/esf/components/booking-form/steps.js +2 -7
- package/es/esf/components/booking-form/summary.d.ts +2 -2
- package/es/esf/components/booking-form/summary.d.ts.map +1 -0
- package/es/esf/components/booking-form/summary.js +42 -86
- package/es/esf/components/booking-form/utils.d.ts +1 -0
- package/es/esf/components/booking-form/utils.d.ts.map +1 -0
- package/es/esf/components/booking-form/utils.js +8 -17
- package/es/esf/components/covid-link/index.d.ts +1 -0
- package/es/esf/components/covid-link/index.d.ts.map +1 -0
- package/es/esf/components/covid-link/index.js +0 -131
- package/es/esf/components/covid-link/mask-icon.d.ts +2 -2
- package/es/esf/components/covid-link/mask-icon.d.ts.map +1 -0
- package/es/esf/components/covid-link/mask-icon.js +2 -4
- package/es/esf/components/covid-link/vax-pass-icon.d.ts +2 -2
- package/es/esf/components/covid-link/vax-pass-icon.d.ts.map +1 -0
- package/es/esf/components/covid-link/vax-pass-icon.js +2 -12
- package/es/esf/components/cp-form.d.ts +2 -1
- package/es/esf/components/cp-form.d.ts.map +1 -0
- package/es/esf/components/cp-form.js +5 -14
- package/es/esf/components/instructors-book/api.d.ts +1 -0
- package/es/esf/components/instructors-book/api.d.ts.map +1 -0
- package/es/esf/components/instructors-book/api.js +30 -41
- package/es/esf/components/instructors-book/book.d.ts +2 -2
- package/es/esf/components/instructors-book/book.d.ts.map +1 -0
- package/es/esf/components/instructors-book/book.js +7 -19
- package/es/esf/components/instructors-book/filters.d.ts +2 -2
- package/es/esf/components/instructors-book/filters.d.ts.map +1 -0
- package/es/esf/components/instructors-book/filters.js +2 -5
- package/es/esf/components/instructors-book/flags.d.ts +16 -16
- package/es/esf/components/instructors-book/flags.d.ts.map +1 -0
- package/es/esf/components/instructors-book/flags.js +17 -92
- package/es/esf/components/instructors-book/index.d.ts +1 -0
- package/es/esf/components/instructors-book/index.d.ts.map +1 -0
- package/es/esf/components/instructors-book/instructor.d.ts +2 -2
- package/es/esf/components/instructors-book/instructor.d.ts.map +1 -0
- package/es/esf/components/instructors-book/instructor.js +4 -34
- package/es/esf/components/instructors-book/list.d.ts +2 -2
- package/es/esf/components/instructors-book/list.d.ts.map +1 -0
- package/es/esf/components/instructors-book/list.js +5 -12
- package/es/esf/components/instructors-book/messages.d.ts +1 -0
- package/es/esf/components/instructors-book/messages.d.ts.map +1 -0
- package/es/esf/components/instructors-book/prefixes.d.ts +1 -0
- package/es/esf/components/instructors-book/prefixes.d.ts.map +1 -0
- package/es/esf/components/instructors-book/sheet.d.ts +2 -2
- package/es/esf/components/instructors-book/sheet.d.ts.map +1 -0
- package/es/esf/components/instructors-book/sheet.js +18 -76
- package/es/esf/components/instructors-book/suggestions.d.ts +2 -2
- package/es/esf/components/instructors-book/suggestions.d.ts.map +1 -0
- package/es/esf/components/instructors-book/suggestions.js +5 -23
- package/es/esf/components/instructors-book/utils.d.ts +1 -0
- package/es/esf/components/instructors-book/utils.d.ts.map +1 -0
- package/es/esf/components/levels/detail.d.ts +2 -2
- package/es/esf/components/levels/detail.d.ts.map +1 -0
- package/es/esf/components/levels/detail.js +2 -12
- package/es/esf/components/levels/index.d.ts +1 -0
- package/es/esf/components/levels/index.d.ts.map +1 -0
- package/es/esf/components/levels/levels.d.ts +2 -2
- package/es/esf/components/levels/levels.d.ts.map +1 -0
- package/es/esf/components/levels/levels.js +31 -70
- package/es/esf/components/loyal-customers/api.d.ts +1 -0
- package/es/esf/components/loyal-customers/api.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/api.js +10 -23
- package/es/esf/components/loyal-customers/components/bin-icon.d.ts +2 -2
- package/es/esf/components/loyal-customers/components/bin-icon.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/bin-icon.js +2 -8
- package/es/esf/components/loyal-customers/components/customer-form.d.ts +2 -2
- package/es/esf/components/loyal-customers/components/customer-form.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/customer-form.js +11 -35
- package/es/esf/components/loyal-customers/components/field.d.ts +2 -2
- package/es/esf/components/loyal-customers/components/field.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/field.js +6 -6
- package/es/esf/components/loyal-customers/components/row.d.ts +2 -2
- package/es/esf/components/loyal-customers/components/row.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/row.js +2 -23
- package/es/esf/components/loyal-customers/components/rows.d.ts +2 -2
- package/es/esf/components/loyal-customers/components/rows.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/rows.js +8 -12
- package/es/esf/components/loyal-customers/components/stay.d.ts +2 -2
- package/es/esf/components/loyal-customers/components/stay.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/stay.js +2 -13
- package/es/esf/components/loyal-customers/components/student-form.d.ts +2 -2
- package/es/esf/components/loyal-customers/components/student-form.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/student-form.js +7 -37
- package/es/esf/components/loyal-customers/components/voucher.d.ts +2 -2
- package/es/esf/components/loyal-customers/components/voucher.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/voucher.js +2 -3
- package/es/esf/components/loyal-customers/content.d.ts +1 -0
- package/es/esf/components/loyal-customers/content.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/content.js +7 -7
- package/es/esf/components/loyal-customers/data.d.ts +1 -0
- package/es/esf/components/loyal-customers/data.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/hooks/use-stored-rows.d.ts +1 -0
- package/es/esf/components/loyal-customers/hooks/use-stored-rows.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/index.d.ts +1 -0
- package/es/esf/components/loyal-customers/index.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/loyal-customers.d.ts +2 -2
- package/es/esf/components/loyal-customers/loyal-customers.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/loyal-customers.js +3 -18
- package/es/esf/components/loyal-customers/messages.d.ts +1 -0
- package/es/esf/components/loyal-customers/messages.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/utils.d.ts +1 -0
- package/es/esf/components/loyal-customers/utils.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/utils.js +2 -2
- package/es/esf/components/magic-box/booking.d.ts +2 -2
- package/es/esf/components/magic-box/booking.d.ts.map +1 -0
- package/es/esf/components/magic-box/booking.js +19 -30
- package/es/esf/components/magic-box/filter.d.ts +2 -2
- package/es/esf/components/magic-box/filter.d.ts.map +1 -0
- package/es/esf/components/magic-box/filter.js +3 -5
- package/es/esf/components/magic-box/filters.d.ts +2 -2
- package/es/esf/components/magic-box/filters.d.ts.map +1 -0
- package/es/esf/components/magic-box/filters.js +4 -5
- package/es/esf/components/magic-box/index.d.ts +1 -0
- package/es/esf/components/magic-box/index.d.ts.map +1 -0
- package/es/esf/components/magic-box/magic-box.d.ts +2 -1
- package/es/esf/components/magic-box/magic-box.d.ts.map +1 -0
- package/es/esf/components/magic-box/{magic-box.jsx → magic-box.js} +14 -34
- package/es/esf/components/magic-box/messages.d.ts +1 -0
- package/es/esf/components/magic-box/messages.d.ts.map +1 -0
- package/es/esf/components/magic-box/services/api.d.ts +1 -0
- package/es/esf/components/magic-box/services/api.d.ts.map +1 -0
- package/es/esf/components/magic-box/services/api.js +15 -29
- package/es/esf/components/magic-box/services/widgets.d.ts +1 -0
- package/es/esf/components/magic-box/services/widgets.d.ts.map +1 -0
- package/es/esf/components/magic-box/services/widgets.js +2 -14
- package/es/esf/components/parcours-esf/index.d.ts +1 -0
- package/es/esf/components/parcours-esf/index.d.ts.map +1 -0
- package/es/esf/components/parcours-esf/parcours-esf.d.ts +2 -2
- package/es/esf/components/parcours-esf/parcours-esf.d.ts.map +1 -0
- package/es/esf/components/parcours-esf/{parcours-esf.jsx → parcours-esf.js} +3 -11
- package/es/esf/components/period-picker/controls.d.ts +2 -2
- package/es/esf/components/period-picker/controls.d.ts.map +1 -0
- package/es/esf/components/period-picker/controls.js +2 -8
- package/es/esf/components/period-picker/date-display.d.ts +2 -2
- package/es/esf/components/period-picker/date-display.d.ts.map +1 -0
- package/es/esf/components/period-picker/date-display.js +5 -13
- package/es/esf/components/period-picker/days.d.ts +1 -0
- package/es/esf/components/period-picker/days.d.ts.map +1 -0
- package/es/esf/components/period-picker/days.js +4 -14
- package/es/esf/components/period-picker/extended-stay-picker.d.ts +2 -2
- package/es/esf/components/period-picker/extended-stay-picker.d.ts.map +1 -0
- package/es/esf/components/period-picker/extended-stay-picker.js +2 -11
- package/es/esf/components/period-picker/index.d.ts +1 -0
- package/es/esf/components/period-picker/index.d.ts.map +1 -0
- package/es/esf/components/period-picker/messages.d.ts +1 -0
- package/es/esf/components/period-picker/messages.d.ts.map +1 -0
- package/es/esf/components/period-picker/period-picker.d.ts +2 -2
- package/es/esf/components/period-picker/period-picker.d.ts.map +1 -0
- package/es/esf/components/period-picker/period-picker.js +7 -19
- package/es/esf/components/period-picker/popup.d.ts +1 -0
- package/es/esf/components/period-picker/popup.d.ts.map +1 -0
- package/es/esf/components/period-picker/popup.js +2 -7
- package/es/esf/components/period-picker/services/dates.d.ts +1 -0
- package/es/esf/components/period-picker/services/dates.d.ts.map +1 -0
- package/es/esf/components/period-picker/services/dates.js +2 -5
- package/es/esf/components/period-picker/services/events.d.ts +1 -0
- package/es/esf/components/period-picker/services/events.d.ts.map +1 -0
- package/es/esf/components/period-picker/services/motions.d.ts +1 -0
- package/es/esf/components/period-picker/services/motions.d.ts.map +1 -0
- package/es/esf/components/period-picker/services/sections.d.ts +1 -0
- package/es/esf/components/period-picker/services/sections.d.ts.map +1 -0
- package/es/esf/components/period-picker/services/stay.d.ts +1 -0
- package/es/esf/components/period-picker/services/stay.d.ts.map +1 -0
- package/es/esf/components/period-picker/title.d.ts +2 -2
- package/es/esf/components/period-picker/title.d.ts.map +1 -0
- package/es/esf/components/period-picker/title.js +3 -4
- package/es/esf/components/period-picker/warning.d.ts +2 -2
- package/es/esf/components/period-picker/warning.d.ts.map +1 -0
- package/es/esf/components/period-picker/warning.js +2 -16
- package/es/esf/components/period-picker/weeks.d.ts +1 -0
- package/es/esf/components/period-picker/weeks.d.ts.map +1 -0
- package/es/esf/components/period-picker/weeks.js +7 -50
- package/es/esf/components/reviews.d.ts +2 -2
- package/es/esf/components/reviews.d.ts.map +1 -0
- package/es/esf/components/reviews.js +5 -13
- package/es/esf/components/village-maps/icons.d.ts +6 -6
- package/es/esf/components/village-maps/icons.d.ts.map +1 -0
- package/es/esf/components/village-maps/icons.js +7 -32
- package/es/esf/components/village-maps/index.d.ts +2 -1
- package/es/esf/components/village-maps/index.d.ts.map +1 -0
- package/es/esf/components/village-maps/index.js +21 -62
- package/es/esf/components/village-maps/messages.d.ts +1 -0
- package/es/esf/components/village-maps/messages.d.ts.map +1 -0
- package/es/esf/components/village-maps/utils.d.ts +1 -0
- package/es/esf/components/village-maps/utils.d.ts.map +1 -0
- package/es/esf/components/village-maps/utils.js +1 -2
- package/es/esf/components/week-picker/index.d.ts +2 -1
- package/es/esf/components/week-picker/index.d.ts.map +1 -0
- package/es/esf/components/week-picker/index.js +5 -54
- package/es/esf/components/week-picker/messages.d.ts +1 -0
- package/es/esf/components/week-picker/messages.d.ts.map +1 -0
- package/es/esf/components/week-picker/utils.d.ts +1 -0
- package/es/esf/components/week-picker/utils.d.ts.map +1 -0
- package/es/esf/components/week-picker/utils.js +0 -3
- package/es/esf/components/week-picker/week.d.ts +2 -2
- package/es/esf/components/week-picker/week.d.ts.map +1 -0
- package/es/esf/components/week-picker/week.js +2 -11
- package/es/esf/components/week-picker-2/index.d.ts +2 -1
- package/es/esf/components/week-picker-2/index.d.ts.map +1 -0
- package/es/esf/components/week-picker-2/index.js +5 -56
- package/es/esf/components/week-picker-2/messages.d.ts +1 -0
- package/es/esf/components/week-picker-2/messages.d.ts.map +1 -0
- package/es/esf/components/week-picker-2/utils.d.ts +1 -0
- package/es/esf/components/week-picker-2/utils.d.ts.map +1 -0
- package/es/esf/components/week-picker-2/utils.js +0 -3
- package/es/esf/components/week-picker-2/week.d.ts +2 -2
- package/es/esf/components/week-picker-2/week.d.ts.map +1 -0
- package/es/esf/components/week-picker-2/week.js +2 -12
- package/es/esf/hooks/use-affiliation.d.ts +1 -0
- package/es/esf/hooks/use-affiliation.d.ts.map +1 -0
- package/es/esf/hooks/use-booking-links.d.ts +1 -0
- package/es/esf/hooks/use-booking-links.d.ts.map +1 -0
- package/es/esf/hooks/use-booking-links.js +6 -16
- package/es/esf/hooks/use-reviews.d.ts +1 -0
- package/es/esf/hooks/use-reviews.d.ts.map +1 -0
- package/es/esf/hooks/use-reviews.js +3 -12
- package/es/esf/hooks/use-season-products.d.ts +1 -0
- package/es/esf/hooks/use-season-products.d.ts.map +1 -0
- package/es/esf/hooks/use-season-products.js +3 -13
- package/es/future/components/msem/index.d.ts +1 -0
- package/es/future/components/msem/index.d.ts.map +1 -0
- package/es/future/components/msem/script.d.ts +2 -2
- package/es/future/components/msem/script.d.ts.map +1 -0
- package/es/future/components/msem/script.js +8 -0
- package/es/future/components/msem/tunnel.d.ts +1 -0
- package/es/future/components/msem/tunnel.d.ts.map +1 -0
- package/es/future/components/msem/{tunnel.jsx → tunnel.js} +9 -6
- package/es/future/components/msem/types.d.ts +1 -0
- package/es/future/components/msem/types.d.ts.map +1 -0
- package/es/future/components/msem/utils.d.ts +1 -0
- package/es/future/components/msem/utils.d.ts.map +1 -0
- package/es/future/components/msem/utils.js +1 -2
- package/es/future/components/plausible/hooks/use-plausible.d.ts +2 -1
- package/es/future/components/plausible/hooks/use-plausible.d.ts.map +1 -0
- package/es/future/components/plausible/hooks/use-plausible.js +6 -6
- package/es/future/components/plausible/index.d.ts +1 -0
- package/es/future/components/plausible/index.d.ts.map +1 -0
- package/es/future/components/plausible/plausible.d.ts +2 -2
- package/es/future/components/plausible/plausible.d.ts.map +1 -0
- package/es/{common/components/plausible/plausible.jsx → future/components/plausible/plausible.js} +2 -3
- package/es/future/components/plausible/services/callback.d.ts +1 -0
- package/es/future/components/plausible/services/callback.d.ts.map +1 -0
- package/es/future/components/plausible/services/callback.js +14 -20
- package/es/future/components/plausible/services/load.d.ts +1 -0
- package/es/future/components/plausible/services/load.d.ts.map +1 -0
- package/es/future/components/plausible/services/send-goal.d.ts +1 -0
- package/es/future/components/plausible/services/send-goal.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/api.d.ts +1 -0
- package/es/lbm/components/lumiplan/api.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/api.js +31 -57
- package/es/lbm/components/lumiplan/domain.d.ts +1 -0
- package/es/lbm/components/lumiplan/domain.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/domain.js +34 -0
- package/es/lbm/components/lumiplan/header.d.ts +2 -2
- package/es/lbm/components/lumiplan/header.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/{header.jsx → header.js} +2 -9
- package/es/lbm/components/lumiplan/i18n/translations.d.ts +2 -2
- package/es/lbm/components/lumiplan/i18n/translations.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/i18n/{translations.jsx → translations.js} +2 -2
- package/es/lbm/components/lumiplan/icons/alert.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/alert.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/alert.js +2 -4
- package/es/lbm/components/lumiplan/icons/avalanche-risk.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/avalanche-risk.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/avalanche-risk.js +2 -3
- package/es/lbm/components/lumiplan/icons/cabin.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/cabin.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/cabin.js +2 -3
- package/es/lbm/components/lumiplan/icons/check.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/check.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/check.js +2 -3
- package/es/lbm/components/lumiplan/icons/close.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/close.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/close.js +2 -4
- package/es/lbm/components/lumiplan/icons/cloud.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/cloud.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/cloud.js +2 -4
- package/es/lbm/components/lumiplan/icons/dawn.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/dawn.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/dawn.js +2 -4
- package/es/lbm/components/lumiplan/icons/fog.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/fog.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/fog.js +2 -5
- package/es/lbm/components/lumiplan/icons/heavy-snow.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/heavy-snow.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/heavy-snow.js +2 -8
- package/es/lbm/components/lumiplan/icons/information.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/information.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/information.js +2 -4
- package/es/lbm/components/lumiplan/icons/isothermal.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/isothermal.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/isothermal.js +2 -8
- package/es/lbm/components/lumiplan/icons/lifts/index.d.ts +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/index.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/tapis-roulant.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/lifts/tapis-roulant.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/tapis-roulant.js +2 -3
- package/es/lbm/components/lumiplan/icons/lifts/telecabine.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/lifts/telecabine.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/telecabine.js +2 -3
- package/es/lbm/components/lumiplan/icons/lifts/telesiege-debrayable.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/lifts/telesiege-debrayable.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/telesiege-debrayable.js +2 -6
- package/es/lbm/components/lumiplan/icons/lifts/telesiege.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/lifts/telesiege.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/telesiege.js +2 -3
- package/es/lbm/components/lumiplan/icons/lifts/teleski.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/lifts/teleski.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/teleski.js +2 -3
- package/es/lbm/components/lumiplan/icons/link.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/link.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/link.js +2 -4
- package/es/lbm/components/lumiplan/icons/night.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/night.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/night.js +2 -3
- package/es/lbm/components/lumiplan/icons/rain.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/rain.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/rain.js +2 -8
- package/es/lbm/components/lumiplan/icons/rainy-rainy.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/rainy-rainy.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/rainy-rainy.js +2 -4
- package/es/lbm/components/lumiplan/icons/rainy.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/rainy.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/rainy.js +2 -4
- package/es/lbm/components/lumiplan/icons/reload.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/reload.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/reload.js +2 -11
- package/es/lbm/components/lumiplan/icons/road-condition.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/road-condition.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/road-condition.js +2 -8
- package/es/lbm/components/lumiplan/icons/slopes.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/slopes.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/slopes.js +2 -3
- package/es/lbm/components/lumiplan/icons/snow-cover.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/snow-cover.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/snow-cover.js +2 -3
- package/es/lbm/components/lumiplan/icons/snow.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/snow.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/snow.js +2 -6
- package/es/lbm/components/lumiplan/icons/storm.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/storm.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/storm.js +2 -3
- package/es/lbm/components/lumiplan/icons/sun.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/sun.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/sun.js +2 -3
- package/es/lbm/components/lumiplan/icons/sunny.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/sunny.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/sunny.js +2 -5
- package/es/lbm/components/lumiplan/icons/time.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/time.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/time.js +2 -4
- package/es/lbm/components/lumiplan/icons/trails/accrobranche.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/accrobranche.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/accrobranche.js +2 -4
- package/es/lbm/components/lumiplan/icons/trails/boarder-cross.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/boarder-cross.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/boarder-cross.js +2 -5
- package/es/lbm/components/lumiplan/icons/trails/champ-de-bosse.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/champ-de-bosse.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/champ-de-bosse.js +2 -4
- package/es/lbm/components/lumiplan/icons/trails/freeride.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/freeride.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/freeride.js +2 -3
- package/es/lbm/components/lumiplan/icons/trails/index.d.ts +1 -0
- package/es/lbm/components/lumiplan/icons/trails/index.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/luge-sur-rail.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/luge-sur-rail.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/luge-sur-rail.js +2 -4
- package/es/lbm/components/lumiplan/icons/trails/luge.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/luge.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/luge.js +2 -3
- package/es/lbm/components/lumiplan/icons/trails/pieton.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/pieton.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/pieton.js +2 -3
- package/es/lbm/components/lumiplan/icons/trails/piste-eclairee.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/piste-eclairee.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/piste-eclairee.js +2 -4
- package/es/lbm/components/lumiplan/icons/trails/raquette.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/raquette.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/raquette.js +2 -15
- package/es/lbm/components/lumiplan/icons/trails/ski-alpin.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/ski-alpin.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/ski-alpin.js +2 -3
- package/es/lbm/components/lumiplan/icons/trails/ski-fond.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/ski-fond.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/ski-fond.js +2 -3
- package/es/lbm/components/lumiplan/icons/trails/snowpark.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/snowpark.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/snowpark.js +2 -3
- package/es/lbm/components/lumiplan/icons/trails/snowtubing.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/snowtubing.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/snowtubing.js +2 -5
- package/es/lbm/components/lumiplan/icons/trails/tyrolienne.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/tyrolienne.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/tyrolienne.js +2 -3
- package/es/lbm/components/lumiplan/icons/trails/vtt.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/vtt.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/vtt.js +2 -4
- package/es/lbm/components/lumiplan/icons/trails/zone-freeride.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/zone-freeride.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/zone-freeride.js +2 -3
- package/es/lbm/components/lumiplan/icons/variable-snow.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/variable-snow.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/variable-snow.js +2 -7
- package/es/lbm/components/lumiplan/icons/variable-storm.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/variable-storm.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/variable-storm.js +2 -4
- package/es/lbm/components/lumiplan/icons/variable.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/variable.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/variable.js +2 -4
- package/es/lbm/components/lumiplan/icons/warning.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/warning.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/warning.js +2 -4
- package/es/lbm/components/lumiplan/icons/wind.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/wind.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/wind.js +2 -3
- package/es/lbm/components/lumiplan/index.d.ts +1 -0
- package/es/lbm/components/lumiplan/index.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/lumiplan.d.ts +2 -2
- package/es/lbm/components/lumiplan/lumiplan.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/{lumiplan.jsx → lumiplan.js} +20 -39
- package/es/lbm/components/lumiplan/opening.d.ts +1 -0
- package/es/lbm/components/lumiplan/opening.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/opening.js +56 -0
- package/es/lbm/components/lumiplan/pois.d.ts +1 -0
- package/es/lbm/components/lumiplan/pois.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/pois.js +184 -0
- package/es/lbm/components/lumiplan/print-button.d.ts +2 -2
- package/es/lbm/components/lumiplan/print-button.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/print-button.js +14 -0
- package/es/lbm/components/lumiplan/resort-selector.d.ts +2 -2
- package/es/lbm/components/lumiplan/resort-selector.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/{resort-selector.jsx → resort-selector.js} +10 -16
- package/es/lbm/components/lumiplan/road-condition.d.ts +1 -0
- package/es/lbm/components/lumiplan/road-condition.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/road-condition.js +27 -0
- package/es/lbm/components/lumiplan/signature.d.ts +2 -2
- package/es/lbm/components/lumiplan/signature.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/{signature.jsx → signature.js} +2 -3
- package/es/lbm/components/lumiplan/todays-tips.d.ts +1 -0
- package/es/lbm/components/lumiplan/todays-tips.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/todays-tips.js +23 -0
- package/es/lbm/components/lumiplan/toolbar.d.ts +2 -2
- package/es/lbm/components/lumiplan/toolbar.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/toolbar.js +8 -0
- package/es/lbm/components/lumiplan/types.d.ts +1 -0
- package/es/lbm/components/lumiplan/types.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/avalanche-risk.d.ts +2 -2
- package/es/lbm/components/lumiplan/weather/avalanche-risk.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/avalanche-risk.js +12 -0
- package/es/lbm/components/lumiplan/weather/index.d.ts +1 -0
- package/es/lbm/components/lumiplan/weather/index.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/snow-data.d.ts +2 -2
- package/es/lbm/components/lumiplan/weather/snow-data.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/snow-data.js +8 -0
- package/es/lbm/components/lumiplan/weather/weather-data.d.ts +2 -2
- package/es/lbm/components/lumiplan/weather/weather-data.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/weather-data.js +16 -0
- package/es/lbm/components/lumiplan/weather/weather-days.d.ts +2 -2
- package/es/lbm/components/lumiplan/weather/weather-days.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/weather-days.js +53 -0
- package/es/lbm/components/lumiplan/weather/weather-icon.d.ts +17 -17
- package/es/lbm/components/lumiplan/weather/weather-icon.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/{weather-icon.jsx → weather-icon.js} +2 -2
- package/es/lbm/components/lumiplan/weather/weather-zones.d.ts +2 -2
- package/es/lbm/components/lumiplan/weather/weather-zones.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/{weather-zones.jsx → weather-zones.js} +18 -27
- package/es/lbm/components/lumiplan/weather/weather.d.ts +1 -0
- package/es/lbm/components/lumiplan/weather/weather.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/weather.js +55 -0
- package/package.json +20 -20
- package/es/common/components/admin-links/admin-links.jsx +0 -65
- package/es/common/components/cross-selling-editor/override-trigger-form.jsx +0 -68
- package/es/common/components/cross-selling-editor/overrides-list.jsx +0 -74
- package/es/common/components/cross-selling-editor/rule.jsx +0 -55
- package/es/common/components/cross-selling-editor/rules.jsx +0 -53
- package/es/common/components/cross-selling-editor/tester-tunnel-offer.jsx +0 -26
- package/es/common/components/custom-contact-form/custom-contact-form.jsx +0 -121
- package/es/common/components/gesco-contact-form/gesco-contact-form.jsx +0 -152
- package/es/common/components/instant-search/links.jsx +0 -45
- package/es/common/components/instant-search/no-product.jsx +0 -19
- package/es/common/components/instant-search/products.jsx +0 -67
- package/es/common/components/instant-search/results.jsx +0 -68
- package/es/common/components/msem-preset-editor/components/form.jsx +0 -28
- package/es/common/components/msem-preset-editor/components/widget-list-item.jsx +0 -97
- package/es/common/components/msem-preset-editor/components/widget-list.jsx +0 -46
- package/es/common/components/msem-preset-editor/editor-dialog.jsx +0 -45
- package/es/common/components/msem-preset-editor/editors/elloha.jsx +0 -95
- package/es/common/components/msem-preset-editor/editors/lodgings.jsx +0 -235
- package/es/common/components/msem-preset-editor/editors/ski-passes-jb.jsx +0 -89
- package/es/common/components/msem-preset-editor/editors/ski-passes.jsx +0 -215
- package/es/common/components/msem-preset-editor/msem-preset-editor.jsx +0 -176
- package/es/common/components/tabbed-zones.jsx +0 -68
- package/es/common/utils/msem-widget.jsx +0 -49
- package/es/future/components/msem/script.jsx +0 -7
- package/es/lbm/components/lumiplan/domain.jsx +0 -74
- package/es/lbm/components/lumiplan/opening.jsx +0 -108
- package/es/lbm/components/lumiplan/pois.jsx +0 -233
- package/es/lbm/components/lumiplan/print-button.jsx +0 -27
- package/es/lbm/components/lumiplan/road-condition.jsx +0 -59
- package/es/lbm/components/lumiplan/todays-tips.jsx +0 -28
- package/es/lbm/components/lumiplan/toolbar.jsx +0 -15
- package/es/lbm/components/lumiplan/weather/avalanche-risk.jsx +0 -22
- package/es/lbm/components/lumiplan/weather/snow-data.jsx +0 -44
- package/es/lbm/components/lumiplan/weather/weather-data.jsx +0 -85
- package/es/lbm/components/lumiplan/weather/weather-days.jsx +0 -60
- package/es/lbm/components/lumiplan/weather/weather.jsx +0 -80
- /package/es/common/components/admin-links/{index.jsx → index.js} +0 -0
- /package/es/common/components/collapsible/{index.jsx → index.js} +0 -0
- /package/es/common/components/cross-selling-editor/{index.jsx → index.js} +0 -0
- /package/es/common/components/instant-search/{index.jsx → index.js} +0 -0
- /package/es/common/components/msem-preset-editor/editors/{index.jsx → index.js} +0 -0
- /package/es/common/components/msem-preset-linker/{index.jsx → index.js} +0 -0
- /package/es/common/components/scrolling-carousel/{index.jsx → index.js} +0 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
1
|
type Link = {
|
|
3
2
|
name: string;
|
|
4
3
|
onClick: string | (() => void);
|
|
@@ -7,5 +6,6 @@ type Link = {
|
|
|
7
6
|
type Props = {
|
|
8
7
|
customLinks?: Record<string, Link>;
|
|
9
8
|
};
|
|
10
|
-
declare const AdminLinks: ({ customLinks }: Props) =>
|
|
9
|
+
declare const AdminLinks: ({ customLinks }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export default AdminLinks;
|
|
11
|
+
//# sourceMappingURL=admin-links.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-links.d.ts","sourceRoot":"","sources":["../../../../src/common/components/admin-links/admin-links.tsx"],"names":[],"mappings":"AAMA,KAAK,IAAI,GAAG;IACV,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;CACpC,CAAC;AAeF,QAAA,MAAM,UAAU,oBAAqB,KAAK,4CA8EzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { useUbloContext } from "ublo/with-ublo";
|
|
4
|
+
import { loadFileManager } from "../../utils/file-manager";
|
|
5
|
+
import styles from "./admin-links.module.css";
|
|
6
|
+
const ToggleIcon = () => {
|
|
7
|
+
return (_jsx("svg", { viewBox: "0 0 24 24", width: "24", height: "24", className: styles.toggleIcon, children: _jsx("path", { d: "M19.44 12.99l-.01.02c.04-.33.08-.67.08-1.01 0-.34-.03-.66-.07-.99l.01.02 2.44-1.92-2.43-4.22-2.87 1.16.01.01c-.52-.4-1.09-.74-1.71-1h.01L14.44 2H9.57l-.44 3.07h.01c-.62.26-1.19.6-1.71 1l.01-.01-2.88-1.17-2.44 4.22 2.44 1.92.01-.02c-.04.33-.07.65-.07.99 0 .34.03.68.08 1.01l-.01-.02-2.1 1.65-.33.26 2.43 4.2 2.88-1.15-.02-.04c.53.41 1.1.75 1.73 1.01h-.03L9.58 22h4.85s.03-.18.06-.42l.38-2.65h-.01c.62-.26 1.2-.6 1.73-1.01l-.02.04 2.88 1.15 2.43-4.2s-.14-.12-.33-.26l-2.11-1.66zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z" }) }));
|
|
8
|
+
};
|
|
9
|
+
const AdminLinks = ({ customLinks }) => {
|
|
10
|
+
const { lang, cmsMode, config } = useUbloContext();
|
|
11
|
+
const [open, setOpen] = React.useState(false);
|
|
12
|
+
const hasLangPrefix = config.langPrefix.links;
|
|
13
|
+
const { plausibleLink } = config;
|
|
14
|
+
const links = {
|
|
15
|
+
msemAdmin: {
|
|
16
|
+
name: "Administration MseM",
|
|
17
|
+
onClick: "https://admin.mon-sejour-en-montagne.com/",
|
|
18
|
+
target: "_blank",
|
|
19
|
+
},
|
|
20
|
+
tutoriels: {
|
|
21
|
+
name: "Tutoriels",
|
|
22
|
+
onClick: "https://www.valraiso.net/toolbox/?auth=my-toolbox&filter=tools",
|
|
23
|
+
target: "_blank",
|
|
24
|
+
},
|
|
25
|
+
popup: {
|
|
26
|
+
name: "Popup",
|
|
27
|
+
onClick: hasLangPrefix ? `/${lang.concat("/popup")}` : "/popup",
|
|
28
|
+
},
|
|
29
|
+
fileManager: {
|
|
30
|
+
name: "Photothèque",
|
|
31
|
+
onClick: loadFileManager,
|
|
32
|
+
},
|
|
33
|
+
plausible: {
|
|
34
|
+
name: "Statistiques",
|
|
35
|
+
onClick: typeof plausibleLink === "string"
|
|
36
|
+
? plausibleLink
|
|
37
|
+
: plausibleLink?.[lang],
|
|
38
|
+
target: "_blank",
|
|
39
|
+
},
|
|
40
|
+
...customLinks,
|
|
41
|
+
};
|
|
42
|
+
return (_jsx("div", { className: styles.root, children: cmsMode && (_jsxs(_Fragment, { children: [_jsx("div", { className: styles.toggle, onClick: () => setOpen(!open), children: _jsx(ToggleIcon, {}) }), open && (_jsxs("div", { className: styles.links, children: [_jsx("div", { className: styles.linksTitle, children: "Liens utiles" }), Object.keys(links).map((key, i) => {
|
|
43
|
+
const link = links[key];
|
|
44
|
+
if (!link)
|
|
45
|
+
return null;
|
|
46
|
+
const { name, onClick, target } = link;
|
|
47
|
+
const isHrefValid = typeof onClick === "string" && onClick !== "";
|
|
48
|
+
const isFunction = typeof onClick === "function";
|
|
49
|
+
if (!isHrefValid && !isFunction) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
const Tag = isHrefValid ? "a" : "button";
|
|
53
|
+
const anchorProps = { href: onClick, target };
|
|
54
|
+
const buttonProps = { onClick };
|
|
55
|
+
const props = isFunction ? buttonProps : anchorProps;
|
|
56
|
+
return (_jsx(Tag, { className: styles.link, ...props, children: name }, i));
|
|
57
|
+
})] }))] })) }));
|
|
58
|
+
};
|
|
59
|
+
export default AdminLinks;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/components/admin-links/index.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,eAAe,CAAC;AAEvC,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../../src/common/components/analytics.js"],"names":[],"mappings":";AAcA;;;QAqBC"}
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
1
|
import { useEffect } from "react";
|
|
11
2
|
import getConfig from "next/config";
|
|
12
3
|
const { publicRuntimeConfig } = getConfig();
|
|
@@ -20,15 +11,15 @@ const loadGTag = (id) => new Promise((resolve) => {
|
|
|
20
11
|
const Analytics = ({ consent, gaAccountOverride }) => {
|
|
21
12
|
const gaId = gaAccountOverride || gaAccount;
|
|
22
13
|
useEffect(() => {
|
|
23
|
-
const startGTag = () =>
|
|
24
|
-
|
|
14
|
+
const startGTag = async () => {
|
|
15
|
+
await loadGTag(gaId);
|
|
25
16
|
window.dataLayer = window.dataLayer || [];
|
|
26
17
|
function gtag() {
|
|
27
18
|
window.dataLayer.push(arguments);
|
|
28
19
|
}
|
|
29
20
|
gtag("js", new Date());
|
|
30
21
|
gtag("config", gaId);
|
|
31
|
-
}
|
|
22
|
+
};
|
|
32
23
|
const allowAnalytics = consent && gaId;
|
|
33
24
|
if (allowAnalytics) {
|
|
34
25
|
startGTag();
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
1
|
type ItemProps = {
|
|
3
2
|
title: string;
|
|
4
3
|
shortTitle?: string;
|
|
@@ -12,5 +11,6 @@ type BreadcrumbProps = {
|
|
|
12
11
|
breadcrumb: ItemProps;
|
|
13
12
|
exclusions: string[];
|
|
14
13
|
};
|
|
15
|
-
export default function Breadcrumb({ breadcrumb, exclusions, }: BreadcrumbProps):
|
|
14
|
+
export default function Breadcrumb({ breadcrumb, exclusions, }: BreadcrumbProps): import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
export {};
|
|
16
|
+
//# sourceMappingURL=breadcrumb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/common/components/breadcrumb.tsx"],"names":[],"mappings":"AAGA,KAAK,SAAS,GAAG;IACf,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC;IACnB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,UAAU,EAAE,SAAS,CAAC;IACtB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,UAAU,EACV,UAAe,GAChB,EAAE,eAAe,2CAMjB"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import Link from "ublo/link";
|
|
3
3
|
export default function Breadcrumb({ breadcrumb, exclusions = [], }) {
|
|
4
|
-
return (
|
|
5
|
-
<Items rawItem={breadcrumb} exclusions={exclusions}/>
|
|
6
|
-
</div>);
|
|
4
|
+
return (_jsx("div", { className: "breadcrumb", children: _jsx(Items, { rawItem: breadcrumb, exclusions: exclusions }) }));
|
|
7
5
|
}
|
|
8
6
|
function Items({ rawItem, exclusions }) {
|
|
9
7
|
if (!rawItem)
|
|
@@ -12,8 +10,8 @@ function Items({ rawItem, exclusions }) {
|
|
|
12
10
|
const isCurrent = next === undefined;
|
|
13
11
|
const isNextExcluded = !isCurrent && exclusions.includes(next.name);
|
|
14
12
|
const itemToRender = isNextExcluded ? next.next : next;
|
|
15
|
-
const nextItem = !isCurrent ? (
|
|
16
|
-
return (
|
|
13
|
+
const nextItem = !isCurrent ? (_jsx(Items, { rawItem: itemToRender, exclusions: exclusions })) : null;
|
|
14
|
+
return (_jsx(Item, { name: name, page: page, path: path, itemTitle: title, nextItem: nextItem, isCurrent: isCurrent, exclusions: exclusions }));
|
|
17
15
|
}
|
|
18
16
|
function Item({ name, page, path, itemTitle, nextItem, isCurrent, exclusions, }) {
|
|
19
17
|
const hasTemplate = page !== undefined;
|
|
@@ -23,10 +21,7 @@ function Item({ name, page, path, itemTitle, nextItem, isCurrent, exclusions, })
|
|
|
23
21
|
const Tag = isExternalUrl ? "a" : noHref ? "span" : Link;
|
|
24
22
|
const linkProps = { title: itemTitle, page, as: path };
|
|
25
23
|
const spanProps = { dangerouslySetInnerHTML: { __html: itemTitle } };
|
|
26
|
-
const anchorProps =
|
|
24
|
+
const anchorProps = { ...spanProps, href: path };
|
|
27
25
|
const props = isExternalUrl ? anchorProps : noHref ? spanProps : linkProps;
|
|
28
|
-
return (
|
|
29
|
-
{!isExcluded && <Tag className="breadcrumb__item" {...props}/>}
|
|
30
|
-
{nextItem}
|
|
31
|
-
</>);
|
|
26
|
+
return (_jsxs(_Fragment, { children: [!isExcluded && _jsx(Tag, { className: "breadcrumb__item", ...props }), nextItem] }));
|
|
32
27
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"carousel-zone.d.ts","sourceRoot":"","sources":["../../../src/common/components/carousel-zone.js"],"names":[],"mappings":";AAIA;;;;4CA4CC"}
|
|
@@ -1,19 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
2
|
import * as React from "react";
|
|
13
3
|
import Zone from "ublo/zone";
|
|
14
4
|
import { useUbloContext } from "ublo/with-ublo";
|
|
15
|
-
const CarouselZone = (
|
|
16
|
-
var { id, options = {} } = _a, props = __rest(_a, ["id", "options"]);
|
|
5
|
+
const CarouselZone = ({ id, options = {}, ...props }) => {
|
|
17
6
|
const { cmsMode } = useUbloContext();
|
|
18
7
|
const { duration = 5000, transition = 160, fade = true, auto = true, prevButton, nextButton, navigation, } = options;
|
|
19
8
|
const carouselOpt = {
|
|
@@ -21,20 +10,10 @@ const CarouselZone = (_a) => {
|
|
|
21
10
|
transition,
|
|
22
11
|
fade: cmsMode === "editing" ? false : fade,
|
|
23
12
|
auto,
|
|
24
|
-
prevButton: cmsMode === "editing" ? (
|
|
25
|
-
|
|
26
|
-
<path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/>
|
|
27
|
-
</svg>
|
|
28
|
-
</div>) : (prevButton),
|
|
29
|
-
nextButton: cmsMode === "editing" ? (<div className="carousel__button carousel__button--editing carousel__button--right">
|
|
30
|
-
<svg className="carousel__icon" viewBox="0 0 24 24">
|
|
31
|
-
<path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/>
|
|
32
|
-
</svg>
|
|
33
|
-
</div>) : (nextButton),
|
|
13
|
+
prevButton: cmsMode === "editing" ? (_jsx("div", { className: "carousel__button carousel__button--editing carousel__button--left", children: _jsx("svg", { className: "carousel__icon", viewBox: "0 0 24 24", children: _jsx("path", { d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" }) }) })) : (prevButton),
|
|
14
|
+
nextButton: cmsMode === "editing" ? (_jsx("div", { className: "carousel__button carousel__button--editing carousel__button--right", children: _jsx("svg", { className: "carousel__icon", viewBox: "0 0 24 24", children: _jsx("path", { d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" }) }) })) : (nextButton),
|
|
34
15
|
navigation,
|
|
35
16
|
};
|
|
36
|
-
return (
|
|
37
|
-
<Zone id={id} carousel carouselOpt={carouselOpt} {...props}/>
|
|
38
|
-
</div>);
|
|
17
|
+
return (_jsx("div", { className: "carousel-zone", children: _jsx(Zone, { id: id, carousel: true, carouselOpt: carouselOpt, ...props }) }));
|
|
39
18
|
};
|
|
40
19
|
export default CarouselZone;
|
|
@@ -10,5 +10,6 @@ declare function Carousel({ delay, fade, controls, dots, thumbnails, alwaysShowC
|
|
|
10
10
|
allowDragOnDesktop: any;
|
|
11
11
|
children: any;
|
|
12
12
|
onChange: any;
|
|
13
|
-
}):
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
import * as React from "react";
|
|
15
|
+
//# sourceMappingURL=carousel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["../../../src/common/components/carousel.js"],"names":[],"mappings":";;AAUA;;;;;;;;;;4CA4SC;uBAtTsB,OAAO"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import classNames from "classnames";
|
|
3
4
|
import { useUbloContext } from "ublo/with-ublo";
|
|
@@ -18,15 +19,14 @@ function Carousel({ delay = 4000, fade = false, controls, dots, thumbnails, alwa
|
|
|
18
19
|
const showNextArrow = current < count - 1;
|
|
19
20
|
const showPrevArrow = current !== 0;
|
|
20
21
|
const next = React.useCallback((e) => {
|
|
21
|
-
e
|
|
22
|
+
e?.stopPropagation();
|
|
22
23
|
setCurrent(euclideanModulo(current + 1, count));
|
|
23
24
|
}, [current, count]);
|
|
24
25
|
const prev = React.useCallback((e) => {
|
|
25
|
-
e
|
|
26
|
+
e?.stopPropagation();
|
|
26
27
|
setCurrent(euclideanModulo(current - 1, count));
|
|
27
28
|
}, [current, count]);
|
|
28
29
|
const onTouchStart = (e) => {
|
|
29
|
-
var _a;
|
|
30
30
|
if (fade)
|
|
31
31
|
return;
|
|
32
32
|
const { type } = e;
|
|
@@ -34,7 +34,7 @@ function Carousel({ delay = 4000, fade = false, controls, dots, thumbnails, alwa
|
|
|
34
34
|
const cancel = !draggingAllowed && mousedown;
|
|
35
35
|
if (cancel ||
|
|
36
36
|
touchStartPosition ||
|
|
37
|
-
(!mousedown && !
|
|
37
|
+
(!mousedown && !e.targetTouches?.length)) {
|
|
38
38
|
const carousel = carouselRef.current;
|
|
39
39
|
const inner = carousel.firstElementChild;
|
|
40
40
|
inner.style.transform = `translateX(${-current * 100}%)`;
|
|
@@ -49,7 +49,6 @@ function Carousel({ delay = 4000, fade = false, controls, dots, thumbnails, alwa
|
|
|
49
49
|
setTouchStartPosition({ startX, startY });
|
|
50
50
|
};
|
|
51
51
|
const onTouchMove = (e) => {
|
|
52
|
-
var _a;
|
|
53
52
|
if (fade)
|
|
54
53
|
return;
|
|
55
54
|
const { type } = e;
|
|
@@ -57,7 +56,7 @@ function Carousel({ delay = 4000, fade = false, controls, dots, thumbnails, alwa
|
|
|
57
56
|
const cancel = !draggingAllowed && mousemove;
|
|
58
57
|
if (!touchStartPosition ||
|
|
59
58
|
cancel ||
|
|
60
|
-
(!mousemove && !
|
|
59
|
+
(!mousemove && !e.targetTouches?.length)) {
|
|
61
60
|
setTouchStartPosition(undefined);
|
|
62
61
|
return;
|
|
63
62
|
}
|
|
@@ -75,7 +74,6 @@ function Carousel({ delay = 4000, fade = false, controls, dots, thumbnails, alwa
|
|
|
75
74
|
setDragging(deltaX);
|
|
76
75
|
};
|
|
77
76
|
const onTouchEnd = (e) => {
|
|
78
|
-
var _a;
|
|
79
77
|
if (fade)
|
|
80
78
|
return;
|
|
81
79
|
const { type } = e;
|
|
@@ -86,7 +84,7 @@ function Carousel({ delay = 4000, fade = false, controls, dots, thumbnails, alwa
|
|
|
86
84
|
const inner = carousel.firstElementChild;
|
|
87
85
|
if (!touchStartPosition ||
|
|
88
86
|
cancel ||
|
|
89
|
-
(!mouseup && !
|
|
87
|
+
(!mouseup && !e.changedTouches?.length)) {
|
|
90
88
|
inner.style.transform = `translateX(${-current * 100}%)`;
|
|
91
89
|
inner.style.removeProperty("transition");
|
|
92
90
|
setTouchStartPosition(undefined);
|
|
@@ -123,8 +121,7 @@ function Carousel({ delay = 4000, fade = false, controls, dots, thumbnails, alwa
|
|
|
123
121
|
setSections(sections);
|
|
124
122
|
}, [getSections]);
|
|
125
123
|
React.useEffect(() => {
|
|
126
|
-
|
|
127
|
-
const zone = (_a = carouselRef.current) === null || _a === void 0 ? void 0 : _a.querySelector(".cms");
|
|
124
|
+
const zone = carouselRef.current?.querySelector(".cms");
|
|
128
125
|
if (zone) {
|
|
129
126
|
zone.addEventListener("ublo-section-created", updateSections);
|
|
130
127
|
zone.addEventListener("ublo-section-pasted", updateSections);
|
|
@@ -221,22 +218,11 @@ function Carousel({ delay = 4000, fade = false, controls, dots, thumbnails, alwa
|
|
|
221
218
|
onTouchEnd,
|
|
222
219
|
onMouseLeave: onTouchEnd,
|
|
223
220
|
};
|
|
224
|
-
return (
|
|
225
|
-
{children}
|
|
226
|
-
{(editing || (controls && showPrevArrow) || alwaysShowControls) && (<button className="carousel--prev" onClick={prev} disabled={alwaysShowControls && !showPrevArrow} aria-label="Précedent / Previous">
|
|
227
|
-
<Icons.ArrowLeft className="carousel--icon"/>
|
|
228
|
-
</button>)}
|
|
229
|
-
{(editing || (controls && showNextArrow) || alwaysShowControls) && (<button className="carousel--next" onClick={next} disabled={alwaysShowControls && !showNextArrow} aria-label="Suivant / Next">
|
|
230
|
-
<Icons.ArrowRight className="carousel--icon"/>
|
|
231
|
-
</button>)}
|
|
232
|
-
{dots && (<Dots count={count} current={current} setCurrent={setCurrent} sections={sections}/>)}
|
|
233
|
-
{thumbnails && count > 1 && (<Thumbnails carouselRef={carouselRef} count={count} current={current} setCurrent={setCurrent} sections={sections}/>)}
|
|
234
|
-
</div>);
|
|
221
|
+
return (_jsxs("div", { ref: carouselRef, className: classes, ...eventHandlers, children: [children, (editing || (controls && showPrevArrow) || alwaysShowControls) && (_jsx("button", { className: "carousel--prev", onClick: prev, disabled: alwaysShowControls && !showPrevArrow, "aria-label": "Pr\u00E9cedent / Previous", children: _jsx(Icons.ArrowLeft, { className: "carousel--icon" }) })), (editing || (controls && showNextArrow) || alwaysShowControls) && (_jsx("button", { className: "carousel--next", onClick: next, disabled: alwaysShowControls && !showNextArrow, "aria-label": "Suivant / Next", children: _jsx(Icons.ArrowRight, { className: "carousel--icon" }) })), dots && (_jsx(Dots, { count: count, current: current, setCurrent: setCurrent, sections: sections })), thumbnails && count > 1 && (_jsx(Thumbnails, { carouselRef: carouselRef, count: count, current: current, setCurrent: setCurrent, sections: sections }))] }));
|
|
235
222
|
}
|
|
236
223
|
function Dots({ count, current, setCurrent }) {
|
|
237
224
|
const length = [...new Array(count)];
|
|
238
|
-
return (
|
|
239
|
-
{length.map((_, i) => {
|
|
225
|
+
return (_jsx("div", { className: "carousel__dots", children: length.map((_, i) => {
|
|
240
226
|
const updateCurrent = (e) => {
|
|
241
227
|
e.stopPropagation();
|
|
242
228
|
setCurrent(i);
|
|
@@ -244,9 +230,8 @@ function Dots({ count, current, setCurrent }) {
|
|
|
244
230
|
const classes = classNames("carousel__dot", {
|
|
245
231
|
"carousel__dot--current": i === current,
|
|
246
232
|
});
|
|
247
|
-
return (
|
|
248
|
-
})}
|
|
249
|
-
</div>);
|
|
233
|
+
return (_jsx("button", { className: classes, onClick: updateCurrent, "aria-label": i }, i));
|
|
234
|
+
}) }));
|
|
250
235
|
}
|
|
251
236
|
function Thumbnails({ carouselRef, current, setCurrent, sections }) {
|
|
252
237
|
const [thumbnails, setThumbnails] = React.useState([]);
|
|
@@ -256,7 +241,7 @@ function Thumbnails({ carouselRef, current, setCurrent, sections }) {
|
|
|
256
241
|
if (sections.length) {
|
|
257
242
|
const images = Array.from(sections).reduce((acc, section) => {
|
|
258
243
|
const image = section.querySelector("img");
|
|
259
|
-
if (!
|
|
244
|
+
if (!image?.src)
|
|
260
245
|
return acc;
|
|
261
246
|
return [...acc, image.src];
|
|
262
247
|
}, []);
|
|
@@ -266,8 +251,7 @@ function Thumbnails({ carouselRef, current, setCurrent, sections }) {
|
|
|
266
251
|
}, [carouselRef, sections]);
|
|
267
252
|
if (!thumbnails.length)
|
|
268
253
|
return null;
|
|
269
|
-
return (
|
|
270
|
-
{thumbnails.map((thumbnail, i) => {
|
|
254
|
+
return (_jsx("div", { className: "carousel__thumbnails", children: thumbnails.map((thumbnail, i) => {
|
|
271
255
|
const updateCurrent = (e) => {
|
|
272
256
|
e.stopPropagation();
|
|
273
257
|
setCurrent(i);
|
|
@@ -275,9 +259,8 @@ function Thumbnails({ carouselRef, current, setCurrent, sections }) {
|
|
|
275
259
|
const classes = classNames("carousel__thumbnail", {
|
|
276
260
|
"carousel__thumbnail--current": i === current,
|
|
277
261
|
});
|
|
278
|
-
return (
|
|
279
|
-
})}
|
|
280
|
-
</div>);
|
|
262
|
+
return (_jsx("input", { type: "image", className: classes, src: thumbnail, onClick: updateCurrent }, i));
|
|
263
|
+
}) }));
|
|
281
264
|
}
|
|
282
265
|
function euclideanModulo(a, b) {
|
|
283
266
|
const m = a % b;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-preview/api.js"],"names":[],"mappings":"AAEO,6EAYN"}
|
|
@@ -1,19 +1,10 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
1
|
const api = "https://widget.vente-en-ligne-esf.com/api";
|
|
11
|
-
export const fetchCart = (cartId, lang, resort) =>
|
|
2
|
+
export const fetchCart = async (cartId, lang, resort) => {
|
|
12
3
|
const id = JSON.parse(cartId);
|
|
13
4
|
const payload = { cartId: id, lang, resort };
|
|
14
5
|
const endpoint = `${api}/esfplus/cart`;
|
|
15
6
|
try {
|
|
16
|
-
const res =
|
|
7
|
+
const res = await fetch(endpoint, {
|
|
17
8
|
method: "POST",
|
|
18
9
|
headers: { "content-type": "application/json;charset=UTF-8" },
|
|
19
10
|
body: JSON.stringify(payload),
|
|
@@ -21,4 +12,4 @@ export const fetchCart = (cartId, lang, resort) => __awaiter(void 0, void 0, voi
|
|
|
21
12
|
return res.json();
|
|
22
13
|
}
|
|
23
14
|
catch (err) { }
|
|
24
|
-
}
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cart-pill.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-preview/cart-pill.js"],"names":[],"mappings":";AAGA;;4CAIC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import css from "./cart-pill.module.css";
|
|
3
4
|
const CartPill = ({ count }) => {
|
|
4
5
|
if (!count)
|
|
5
6
|
return null;
|
|
6
|
-
return
|
|
7
|
+
return _jsx("div", { className: css.pill, children: count });
|
|
7
8
|
};
|
|
8
9
|
export default CartPill;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cart-preview.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-preview/cart-preview.js"],"names":[],"mappings":";AAYA;;;4CAuEC"}
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
10
2
|
import * as React from "react";
|
|
11
3
|
import classNames from "classnames";
|
|
12
4
|
import getConfig from "next/config";
|
|
@@ -24,14 +16,14 @@ const CartPreview = ({ lang, visible }) => {
|
|
|
24
16
|
const [cart, setCart] = React.useState();
|
|
25
17
|
React.useEffect(() => {
|
|
26
18
|
const cartId = window.sessionStorage.cartId;
|
|
27
|
-
const getCart = () =>
|
|
28
|
-
const response =
|
|
19
|
+
const getCart = async () => {
|
|
20
|
+
const response = await API.fetchCart(cartId, ubloLang, resort);
|
|
29
21
|
const nbInscriptions = Utils.countInscriptions(response);
|
|
30
22
|
if (response && response.cart) {
|
|
31
23
|
setCart(response);
|
|
32
24
|
}
|
|
33
25
|
setCount(nbInscriptions);
|
|
34
|
-
}
|
|
26
|
+
};
|
|
35
27
|
if (resort && cartId) {
|
|
36
28
|
getCart();
|
|
37
29
|
}
|
|
@@ -45,39 +37,15 @@ const CartPreview = ({ lang, visible }) => {
|
|
|
45
37
|
const classes = classNames(css.preview, {
|
|
46
38
|
[css.previewVisible]: visible,
|
|
47
39
|
});
|
|
48
|
-
return (
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
<div className={css.entryRows}>
|
|
59
|
-
{inscriptions.map((inscription, i) => {
|
|
60
|
-
const { product, activity } = inscription;
|
|
61
|
-
if (!product && !activity)
|
|
62
|
-
return null;
|
|
63
|
-
const { name, label } = product || activity;
|
|
64
|
-
return (<p key={i} className={css.entryRow}>
|
|
65
|
-
{name || label}
|
|
66
|
-
</p>);
|
|
67
|
-
})}
|
|
68
|
-
</div>
|
|
69
|
-
</div>);
|
|
70
|
-
})}
|
|
71
|
-
<div className={css.total}>
|
|
72
|
-
<div className={css.totalTitle}>
|
|
73
|
-
Total <em>({count} produits)</em>
|
|
74
|
-
</div>
|
|
75
|
-
<div className={css.totalAmount}>{price} €</div>
|
|
76
|
-
</div>
|
|
77
|
-
<Button className={css.bottomButton} onClick={stopPropagation}>
|
|
78
|
-
Voir le panier
|
|
79
|
-
</Button>
|
|
80
|
-
</div>
|
|
81
|
-
</>);
|
|
40
|
+
return (_jsxs(_Fragment, { children: [_jsx(CartPill, { count: count }), _jsxs("div", { className: classes, onClick: preventClick, children: [orders.map((order, i) => {
|
|
41
|
+
const { inscriptions = [], merchantName, price, total } = order;
|
|
42
|
+
return (_jsxs("div", { className: css.entry, children: [_jsxs("div", { className: css.entryTitle, children: [merchantName, _jsxs("span", { className: css.entryPrice, children: [total || price, " \u20AC"] })] }), _jsx("div", { className: css.entryRows, children: inscriptions.map((inscription, i) => {
|
|
43
|
+
const { product, activity } = inscription;
|
|
44
|
+
if (!product && !activity)
|
|
45
|
+
return null;
|
|
46
|
+
const { name, label } = product || activity;
|
|
47
|
+
return (_jsx("p", { className: css.entryRow, children: name || label }, i));
|
|
48
|
+
}) })] }, i));
|
|
49
|
+
}), _jsxs("div", { className: css.total, children: [_jsxs("div", { className: css.totalTitle, children: ["Total ", _jsxs("em", { children: ["(", count, " produits)"] })] }), _jsxs("div", { className: css.totalAmount, children: [price, " \u20AC"] })] }), _jsx(Button, { className: css.bottomButton, onClick: stopPropagation, children: "Voir le panier" })] })] }));
|
|
82
50
|
};
|
|
83
51
|
export default CartPreview;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-preview/index.js"],"names":[],"mappings":";wBAAwB,gBAAgB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-preview/utils.js"],"names":[],"mappings":"AAcO,oEAIN;AAEM,kDAMN"}
|
|
@@ -5,5 +5,6 @@ type Props = {
|
|
|
5
5
|
lang: string;
|
|
6
6
|
gradientColor: string;
|
|
7
7
|
};
|
|
8
|
-
export default function Collapsible({ gradientColor, height, children, lang, }: Props):
|
|
8
|
+
export default function Collapsible({ gradientColor, height, children, lang, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export {};
|
|
10
|
+
//# sourceMappingURL=collapsible.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../../../src/common/components/collapsible/collapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAaF,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,aAAsB,EACtB,MAAY,EACZ,QAAQ,EACR,IAAI,GACL,EAAE,KAAK,2CAgDP"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import Button from "dt-design-system/es/button";
|
|
3
4
|
import { motion } from "framer-motion";
|
|
@@ -33,19 +34,12 @@ export default function Collapsible({ gradientColor = "#fff", height = 150, chil
|
|
|
33
34
|
: messages[messageLang].open;
|
|
34
35
|
const Icon = opened ? Icons.ChevronUp : Icons.ChevronDown;
|
|
35
36
|
React.useEffect(() => {
|
|
36
|
-
|
|
37
|
-
const
|
|
38
|
-
const childrenHeight = (_b = childrenRef.current) === null || _b === void 0 ? void 0 : _b.offsetHeight;
|
|
37
|
+
const parentHeight = parentRef.current?.offsetHeight;
|
|
38
|
+
const childrenHeight = childrenRef.current?.offsetHeight;
|
|
39
39
|
const isConnected = Cms.isConnected();
|
|
40
40
|
if (!isConnected && childrenHeight > parentHeight) {
|
|
41
41
|
setHasOverflow(true);
|
|
42
42
|
}
|
|
43
43
|
}, []);
|
|
44
|
-
return (
|
|
45
|
-
<div ref={childrenRef}>{children}</div>
|
|
46
|
-
{hasOverflow && (<Button className={styles.message} onClick={toggleOpen}>
|
|
47
|
-
{message}
|
|
48
|
-
<Icon />
|
|
49
|
-
</Button>)}
|
|
50
|
-
</motion.div>);
|
|
44
|
+
return (_jsxs(motion.div, { ref: parentRef, animate: { height: opened || !hasOverflow ? "auto" : height }, initial: { height }, className: classes, style: { "--gradient-color": gradientColor }, children: [_jsx("div", { ref: childrenRef, children: children }), hasOverflow && (_jsxs(Button, { className: styles.message, onClick: toggleOpen, children: [message, _jsx(Icon, {})] }))] }));
|
|
51
45
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/components/collapsible/index.tsx"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,eAAe,CAAC;AAExC,eAAe,WAAW,CAAC"}
|