ublo-lib 1.31.44 → 1.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +1 -0
- package/es/common/components/plausible/hooks/use-plausible.d.ts.map +1 -0
- 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} +2 -14
- 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 +1 -0
- package/es/common/hooks/use-update-effect.d.ts.map +1 -0
- 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 +1 -0
- package/es/future/components/plausible/hooks/use-plausible.d.ts.map +1 -0
- 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 +13 -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,28 +1,8 @@
|
|
|
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
|
-
};
|
|
10
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
11
|
-
var t = {};
|
|
12
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
13
|
-
t[p] = s[p];
|
|
14
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
15
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
16
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
17
|
-
t[p[i]] = s[p[i]];
|
|
18
|
-
}
|
|
19
|
-
return t;
|
|
20
|
-
};
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
2
|
import * as React from "react";
|
|
22
3
|
import classNames from "classnames";
|
|
23
4
|
import { useUbloContext } from "ublo/with-ublo";
|
|
24
5
|
import Month from "./month";
|
|
25
|
-
// import Popup from "../popup";
|
|
26
6
|
import Popup from "ublo-lib/es/common/components/popup";
|
|
27
7
|
import Helper from "./helper";
|
|
28
8
|
import Button from "dt-design-system/es/button";
|
|
@@ -103,21 +83,21 @@ export default function Calendar({ date, display, stayDates = [], min, max, onSu
|
|
|
103
83
|
const enableAvailability = Boolean(stays);
|
|
104
84
|
const matchingStays = Utils.getMatchingStays(stays, selectedDates);
|
|
105
85
|
const allMatchingStaysEnd = enableAvailability
|
|
106
|
-
? matchingStays
|
|
86
|
+
? matchingStays?.map((stay) => Utils.formatDate(stay.end))
|
|
107
87
|
: undefined;
|
|
108
88
|
React.useEffect(() => {
|
|
109
89
|
if (availabilities) {
|
|
110
|
-
const fetchAvailabilities = () =>
|
|
90
|
+
const fetchAvailabilities = async () => {
|
|
111
91
|
setIsLoading(true);
|
|
112
92
|
setError(undefined);
|
|
113
93
|
setStays(undefined);
|
|
114
94
|
const bareStart = `${year}-${Utils.zeroPad(month, 2)}-01`;
|
|
115
95
|
const start = Utils.formatDate(Utils.addDays(bareStart, -7));
|
|
116
96
|
const numberDays = hide2ndMonth ? 38 : 76;
|
|
117
|
-
const { fetcher
|
|
97
|
+
const { fetcher, ...rest } = availabilities;
|
|
118
98
|
try {
|
|
119
|
-
const { stays } =
|
|
120
|
-
if (stays
|
|
99
|
+
const { stays } = await fetcher({ ...rest, start, numberDays });
|
|
100
|
+
if (stays?.length) {
|
|
121
101
|
const formatedStays = stays.map((stay) => {
|
|
122
102
|
return { start: new Date(stay.start), end: new Date(stay.end) };
|
|
123
103
|
});
|
|
@@ -128,7 +108,7 @@ export default function Calendar({ date, display, stayDates = [], min, max, onSu
|
|
|
128
108
|
setError(Messages.get(lang, "availability-loading-error"));
|
|
129
109
|
}
|
|
130
110
|
setIsLoading(false);
|
|
131
|
-
}
|
|
111
|
+
};
|
|
132
112
|
fetchAvailabilities();
|
|
133
113
|
}
|
|
134
114
|
}, [availabilities, hide2ndMonth, lang, month, year]);
|
|
@@ -136,53 +116,12 @@ export default function Calendar({ date, display, stayDates = [], min, max, onSu
|
|
|
136
116
|
[styles.calendarTouch]: hide2ndMonth,
|
|
137
117
|
[styles.calendarLoading]: isLoading,
|
|
138
118
|
});
|
|
139
|
-
return (
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
<Icons.ChevronLeft />
|
|
145
|
-
</Button>
|
|
146
|
-
<Button variant="transparent" className={styles.control} onClick={gotoNextMonth}>
|
|
147
|
-
<Icons.ChevronRight />
|
|
148
|
-
</Button>
|
|
149
|
-
</div>
|
|
150
|
-
<Month display={display} month={month} year={year} min={min} max={max} selecting={selecting} setSelecting={setSelecting} selectedDates={selectedDates} setSelectedDates={setSelectedDates} firstSelectedDate={firstSelectedDate} setFirstSelectedDate={setFirstSelectedDate} lastSelectedDate={lastSelectedDate} setLastSelectedDate={setLastSelectedDate} singleDate={singleDate} submitOnSelectionEnd={submitOnSelectionEnd} onSubmit={submit} stays={stays} matchingStays={matchingStays} allMatchingStaysEnd={allMatchingStaysEnd}/>
|
|
151
|
-
{!hide2ndMonth && (<Month display={display} month={monthAlt} year={yearAlt} min={min} max={max} selecting={selecting} setSelecting={setSelecting} selectedDates={selectedDates} setSelectedDates={setSelectedDates} firstSelectedDate={firstSelectedDate} setFirstSelectedDate={setFirstSelectedDate} lastSelectedDate={lastSelectedDate} setLastSelectedDate={setLastSelectedDate} singleDate={singleDate} submitOnSelectionEnd={submitOnSelectionEnd} onSubmit={submit} stays={stays} matchingStays={matchingStays} allMatchingStaysEnd={allMatchingStaysEnd}/>)}
|
|
152
|
-
</div>
|
|
153
|
-
<div className={styles.buttons}>
|
|
154
|
-
<Button variant="transparent" className={styles.close} onClick={close}>
|
|
155
|
-
{Messages.get(lang, "close")}
|
|
156
|
-
</Button>
|
|
157
|
-
{showReset && (<Button variant="link" className={styles.reset} onClick={reset}>
|
|
158
|
-
{Messages.get(lang, "reset")}
|
|
159
|
-
</Button>)}
|
|
160
|
-
<Button className={styles.submit} onClick={() => submit(selectedDates)} disabled={!submitEnabled}>
|
|
161
|
-
<Icons.Check />
|
|
162
|
-
{Messages.get(lang, "submit")}
|
|
163
|
-
</Button>
|
|
164
|
-
</div>
|
|
165
|
-
{showPopup && (<Popup title={Messages.get(lang, "warning-date-change-title")} className={datePickerStyles.popup} close={() => setShowPopup(false)} backdrop>
|
|
166
|
-
<ConfirmDateChangeForm lang={lang} cancel={() => setShowPopup(false)} confirm={() => {
|
|
167
|
-
window.sessionStorage.removeItem("cartId");
|
|
168
|
-
submit(selectedDates);
|
|
169
|
-
setShowPopup(false);
|
|
170
|
-
}}/>
|
|
171
|
-
</Popup>)}
|
|
172
|
-
</div>);
|
|
119
|
+
return (_jsxs("div", { className: classes, children: [!singleDate && (_jsx(Helper, { lang: lang, selecting: selecting, selectedDates: selectedDates, availabilities: availabilities, isLoading: isLoading, error: error })), _jsxs("div", { className: styles.months, children: [_jsxs("div", { className: styles.controls, children: [_jsx(Button, { variant: "transparent", className: styles.control, onClick: gotoPreviousMonth, disabled: isPast, children: _jsx(Icons.ChevronLeft, {}) }), _jsx(Button, { variant: "transparent", className: styles.control, onClick: gotoNextMonth, children: _jsx(Icons.ChevronRight, {}) })] }), _jsx(Month, { display: display, month: month, year: year, min: min, max: max, selecting: selecting, setSelecting: setSelecting, selectedDates: selectedDates, setSelectedDates: setSelectedDates, firstSelectedDate: firstSelectedDate, setFirstSelectedDate: setFirstSelectedDate, lastSelectedDate: lastSelectedDate, setLastSelectedDate: setLastSelectedDate, singleDate: singleDate, submitOnSelectionEnd: submitOnSelectionEnd, onSubmit: submit, stays: stays, matchingStays: matchingStays, allMatchingStaysEnd: allMatchingStaysEnd }), !hide2ndMonth && (_jsx(Month, { display: display, month: monthAlt, year: yearAlt, min: min, max: max, selecting: selecting, setSelecting: setSelecting, selectedDates: selectedDates, setSelectedDates: setSelectedDates, firstSelectedDate: firstSelectedDate, setFirstSelectedDate: setFirstSelectedDate, lastSelectedDate: lastSelectedDate, setLastSelectedDate: setLastSelectedDate, singleDate: singleDate, submitOnSelectionEnd: submitOnSelectionEnd, onSubmit: submit, stays: stays, matchingStays: matchingStays, allMatchingStaysEnd: allMatchingStaysEnd }))] }), _jsxs("div", { className: styles.buttons, children: [_jsx(Button, { variant: "transparent", className: styles.close, onClick: close, children: Messages.get(lang, "close") }), showReset && (_jsx(Button, { variant: "link", className: styles.reset, onClick: reset, children: Messages.get(lang, "reset") })), _jsxs(Button, { className: styles.submit, onClick: () => submit(selectedDates), disabled: !submitEnabled, children: [_jsx(Icons.Check, {}), Messages.get(lang, "submit")] })] }), showPopup && (_jsx(Popup, { title: Messages.get(lang, "warning-date-change-title"), className: datePickerStyles.popup, close: () => setShowPopup(false), backdrop: true, children: _jsx(ConfirmDateChangeForm, { lang: lang, cancel: () => setShowPopup(false), confirm: () => {
|
|
120
|
+
window.sessionStorage.removeItem("cartId");
|
|
121
|
+
submit(selectedDates);
|
|
122
|
+
setShowPopup(false);
|
|
123
|
+
} }) }))] }));
|
|
173
124
|
}
|
|
174
125
|
function ConfirmDateChangeForm({ lang, cancel, confirm }) {
|
|
175
|
-
return (
|
|
176
|
-
<div className={styles.confirmDateChangeMessage}>
|
|
177
|
-
{Messages.get(lang, "warning-date-change-text")}
|
|
178
|
-
</div>
|
|
179
|
-
<div className={styles.confirmDateChangeButtons}>
|
|
180
|
-
<button className={classNames(styles.confirmDateChangeButton, styles.confirmDateChangeButtonCancel)} onClick={cancel}>
|
|
181
|
-
{Messages.get(lang, "warning-date-change-cancel")}
|
|
182
|
-
</button>
|
|
183
|
-
<button className={classNames(styles.confirmDateChangeButton, styles.confirmDateChangeButtonConfirm)} onClick={confirm}>
|
|
184
|
-
{Messages.get(lang, "warning-date-change-confirm")}
|
|
185
|
-
</button>
|
|
186
|
-
</div>
|
|
187
|
-
</div>);
|
|
126
|
+
return (_jsxs("div", { className: styles.confirmDateChange, children: [_jsx("div", { className: styles.confirmDateChangeMessage, children: Messages.get(lang, "warning-date-change-text") }), _jsxs("div", { className: styles.confirmDateChangeButtons, children: [_jsx("button", { className: classNames(styles.confirmDateChangeButton, styles.confirmDateChangeButtonCancel), onClick: cancel, children: Messages.get(lang, "warning-date-change-cancel") }), _jsx("button", { className: classNames(styles.confirmDateChangeButton, styles.confirmDateChangeButtonConfirm), onClick: confirm, children: Messages.get(lang, "warning-date-change-confirm") })] })] }));
|
|
188
127
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/common/components/date-picker/data.js"],"names":[],"mappings":";;;;;;;;;;;AAaA,+BAAkD;AAElD,gCAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDpD,+BAAgC;AAEzB,iEAkCN"}
|
|
@@ -17,5 +17,5 @@ export default function DateItem({ date, index, month, year, min, max, selectedD
|
|
|
17
17
|
stays: any;
|
|
18
18
|
matchingStays: any;
|
|
19
19
|
allMatchingStaysEnd: any;
|
|
20
|
-
}):
|
|
21
|
-
|
|
20
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
//# sourceMappingURL=date-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-item.d.ts","sourceRoot":"","sources":["../../../../src/common/components/date-picker/date-item.js"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;;;4CAyLC"}
|
|
@@ -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";
|
|
@@ -23,16 +24,16 @@ export default function DateItem({ date, index, month, year, min, max, selectedD
|
|
|
23
24
|
(selecting && firstSelectedDate && Utils.isBefore(date, firstSelectedDate));
|
|
24
25
|
const isSelected = selectedDates.some((d) => d.getTime() === _date.getTime());
|
|
25
26
|
const enableAvailability = Boolean(stays);
|
|
26
|
-
const isAvailable =
|
|
27
|
+
const isAvailable = stays?.some((stay) => {
|
|
27
28
|
const { start, end } = stay;
|
|
28
29
|
const formatedStart = Utils.formatDate(start);
|
|
29
30
|
const formatedEnd = Utils.formatDate(end);
|
|
30
31
|
const formatedDate = Utils.formatDate(_date);
|
|
31
32
|
return (formatedStart === formatedDate ||
|
|
32
33
|
(selecting && formatedEnd === formatedDate));
|
|
33
|
-
})
|
|
34
|
+
}) || false;
|
|
34
35
|
const shortestMatchingStaysLength = enableAvailability &&
|
|
35
|
-
|
|
36
|
+
matchingStays?.reduce((acc, stay) => {
|
|
36
37
|
const fromDate = new Date(stay.start);
|
|
37
38
|
const toDate = new Date(stay.end);
|
|
38
39
|
const days = Utils.getDateInterval(fromDate, toDate);
|
|
@@ -41,10 +42,10 @@ export default function DateItem({ date, index, month, year, min, max, selectedD
|
|
|
41
42
|
return nights;
|
|
42
43
|
}
|
|
43
44
|
return acc;
|
|
44
|
-
}, Infinity)
|
|
45
|
+
}, Infinity);
|
|
45
46
|
const isDisabled = (enableAvailability &&
|
|
46
47
|
selecting &&
|
|
47
|
-
|
|
48
|
+
allMatchingStaysEnd?.length &&
|
|
48
49
|
!allMatchingStaysEnd.includes(date.join("-"))) ||
|
|
49
50
|
(enableAvailability && !isAvailable) ||
|
|
50
51
|
isPastDate ||
|
|
@@ -111,9 +112,7 @@ export default function DateItem({ date, index, month, year, min, max, selectedD
|
|
|
111
112
|
[styles.available]: enableAvailability && isAvailable,
|
|
112
113
|
[styles.notAvailable]: enableAvailability && !isAvailable && !isSelected,
|
|
113
114
|
});
|
|
114
|
-
const dateComponent = (
|
|
115
|
-
<span>{_date.getDate()}</span>
|
|
116
|
-
</Button>);
|
|
115
|
+
const dateComponent = (_jsx(Button, { className: classes, onClick: updateDateSelection, disabled: !isSelected && isDisabled, children: _jsx("span", { children: _date.getDate() }) }));
|
|
117
116
|
const showPopover = enableAvailability &&
|
|
118
117
|
isInMonth &&
|
|
119
118
|
isFirstSelected &&
|
|
@@ -123,9 +122,7 @@ export default function DateItem({ date, index, month, year, min, max, selectedD
|
|
|
123
122
|
const tooltip = Messages.get(lang, shortestMatchingStaysLength > 1
|
|
124
123
|
? "min-nights-plural"
|
|
125
124
|
: "min-nights-singular");
|
|
126
|
-
return (
|
|
127
|
-
{shortestMatchingStaysLength} {tooltip}
|
|
128
|
-
</Popover>);
|
|
125
|
+
return (_jsxs(Popover, { trigger: dateComponent, open: true, className: styles.popover, innerClassName: "nights-number-hint__inner", contentProps: { side: "top" }, children: [shortestMatchingStaysLength, " ", tooltip] }));
|
|
129
126
|
}
|
|
130
127
|
else {
|
|
131
128
|
return dateComponent;
|
|
@@ -9,8 +9,8 @@ export default function DatePicker({ stayDates, onSubmit, close, min, max, avail
|
|
|
9
9
|
singleDate: any;
|
|
10
10
|
submitOnSelectionEnd: any;
|
|
11
11
|
disableConfirmModal: any;
|
|
12
|
-
}):
|
|
13
|
-
import * as React from "react";
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
14
13
|
import * as Data from "./data";
|
|
15
14
|
import * as Utils from "./utils";
|
|
16
15
|
export { Data, Utils };
|
|
16
|
+
//# sourceMappingURL=date-picker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["../../../../src/common/components/date-picker/date-picker.js"],"names":[],"mappings":"AAWA;;;;;;;;;;;4CAqDC;sBA3DqB,QAAQ;uBACP,SAAS"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import classNames from "classnames";
|
|
3
4
|
import useWindowSizes from "../../hooks/use-window-sizes";
|
|
4
|
-
// import useWindowSizes from "ublo-lib/es/common/hooks/use-window-sizes";
|
|
5
5
|
import Calendar from "./calendar";
|
|
6
6
|
import * as Data from "./data";
|
|
7
7
|
import * as Utils from "./utils";
|
|
@@ -27,10 +27,5 @@ export default function DatePicker({ stayDates = [], onSubmit, close, min, max,
|
|
|
27
27
|
const classes = classNames(styles.datePicker, {
|
|
28
28
|
[styles.datePickerPopup]: openInPopup,
|
|
29
29
|
});
|
|
30
|
-
return (
|
|
31
|
-
{openInPopup && <div className={styles.backdrop} onClick={close}/>}
|
|
32
|
-
<div className={classes}>
|
|
33
|
-
<Calendar display={display} stayDates={stayDates} min={min} max={max} onSubmit={onSubmit} singleDate={singleDate} submitOnSelectionEnd={submitOnSelectionEnd} availabilities={availabilities} disableConfirmModal={disableConfirmModal} close={close}/>
|
|
34
|
-
</div>
|
|
35
|
-
</>);
|
|
30
|
+
return (_jsxs(_Fragment, { children: [openInPopup && _jsx("div", { className: styles.backdrop, onClick: close }), _jsx("div", { className: classes, children: _jsx(Calendar, { display: display, stayDates: stayDates, min: min, max: max, onSubmit: onSubmit, singleDate: singleDate, submitOnSelectionEnd: submitOnSelectionEnd, availabilities: availabilities, disableConfirmModal: disableConfirmModal, close: close }) })] }));
|
|
36
31
|
}
|
|
@@ -5,5 +5,5 @@ export default function Helper({ lang, selecting, selectedDates, availabilities,
|
|
|
5
5
|
availabilities: any;
|
|
6
6
|
isLoading: any;
|
|
7
7
|
error: any;
|
|
8
|
-
}):
|
|
9
|
-
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../../src/common/components/date-picker/helper.js"],"names":[],"mappings":"AAOA;;;;;;;4CAmDC"}
|
|
@@ -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 Loader from "dt-design-system/es/loader";
|
|
@@ -21,23 +22,5 @@ export default function Helper({ lang, selecting, selectedDates, availabilities,
|
|
|
21
22
|
const endClasses = classNames(styles.step, {
|
|
22
23
|
[styles.stepCurrent]: selecting && selectedDates.length,
|
|
23
24
|
});
|
|
24
|
-
return (
|
|
25
|
-
<div className={styles.left}>
|
|
26
|
-
<div className={styles.title}>{Messages.get(lang, "helper-title")}</div>
|
|
27
|
-
{enableAvailability && (isLoading || error) && (<div className={loadingClasses}>
|
|
28
|
-
{!error && <Loader className={styles.loader}/>}
|
|
29
|
-
{error || Messages.get(lang, "availability-loading")}
|
|
30
|
-
</div>)}
|
|
31
|
-
</div>
|
|
32
|
-
<div className={styles.steps}>
|
|
33
|
-
<div className={startClasses}>
|
|
34
|
-
{Messages.get(lang, "helper-start-date")}{" "}
|
|
35
|
-
<span>{firstDate || Messages.get(lang, "helper-placeholder")}</span>
|
|
36
|
-
</div>
|
|
37
|
-
<div className={endClasses}>
|
|
38
|
-
{Messages.get(lang, "helper-end-date")}{" "}
|
|
39
|
-
<span>{lastDate || Messages.get(lang, "helper-placeholder")}</span>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
</div>);
|
|
25
|
+
return (_jsxs("div", { className: styles.helper, children: [_jsxs("div", { className: styles.left, children: [_jsx("div", { className: styles.title, children: Messages.get(lang, "helper-title") }), enableAvailability && (isLoading || error) && (_jsxs("div", { className: loadingClasses, children: [!error && _jsx(Loader, { className: styles.loader }), error || Messages.get(lang, "availability-loading")] }))] }), _jsxs("div", { className: styles.steps, children: [_jsxs("div", { className: startClasses, children: [Messages.get(lang, "helper-start-date"), " ", _jsx("span", { children: firstDate || Messages.get(lang, "helper-placeholder") })] }), _jsxs("div", { className: endClasses, children: [Messages.get(lang, "helper-end-date"), " ", _jsx("span", { children: lastDate || Messages.get(lang, "helper-placeholder") })] })] })] }));
|
|
43
26
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/components/date-picker/index.js"],"names":[],"mappings":";uBAAuB,eAAe"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../src/common/components/date-picker/messages.js"],"names":[],"mappings":"AAgDO,6CAIN"}
|
|
@@ -16,5 +16,5 @@ export default function Month({ display, month, year, min, max, selecting, setSe
|
|
|
16
16
|
stays: any;
|
|
17
17
|
matchingStays: any;
|
|
18
18
|
allMatchingStaysEnd: any;
|
|
19
|
-
}):
|
|
20
|
-
|
|
19
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=month.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"month.d.ts","sourceRoot":"","sources":["../../../../src/common/components/date-picker/month.js"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;4CAwEC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import { useUbloContext } from "ublo/with-ublo";
|
|
3
4
|
import DateItem from "./date-item";
|
|
@@ -12,21 +13,9 @@ export default function Month({ display, month, year, min, max, selecting, setSe
|
|
|
12
13
|
const calendarMonth = month;
|
|
13
14
|
const calendarYear = year;
|
|
14
15
|
const calendarDates = Data.calendar(calendarMonth, calendarYear);
|
|
15
|
-
return (
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
{days.map((day) => {
|
|
21
|
-
return (<div key={day} className={styles.day}>
|
|
22
|
-
{i18nWeekDays[day]}
|
|
23
|
-
</div>);
|
|
24
|
-
})}
|
|
25
|
-
</div>
|
|
26
|
-
<div className={styles.dates}>
|
|
27
|
-
{calendarDates.map((date, i) => {
|
|
28
|
-
return (<DateItem key={i} index={i} display={display} date={date} month={month} year={year} min={min} max={max} selectedDates={selectedDates} setSelectedDates={setSelectedDates} setFirstSelectedDate={setFirstSelectedDate} setLastSelectedDate={setLastSelectedDate} selecting={selecting} setSelecting={setSelecting} singleDate={singleDate} submitOnSelectionEnd={submitOnSelectionEnd} onSubmit={onSubmit} stays={stays} matchingStays={matchingStays} allMatchingStaysEnd={allMatchingStaysEnd}/>);
|
|
29
|
-
})}
|
|
30
|
-
</div>
|
|
31
|
-
</div>);
|
|
16
|
+
return (_jsxs("div", { className: styles.month, children: [_jsxs("div", { className: styles.title, children: [monthName, " ", year] }), _jsx("div", { className: styles.days, children: days.map((day) => {
|
|
17
|
+
return (_jsx("div", { className: styles.day, children: i18nWeekDays[day] }, day));
|
|
18
|
+
}) }), _jsx("div", { className: styles.dates, children: calendarDates.map((date, i) => {
|
|
19
|
+
return (_jsx(DateItem, { index: i, display: display, date: date, month: month, year: year, min: min, max: max, selectedDates: selectedDates, setSelectedDates: setSelectedDates, setFirstSelectedDate: setFirstSelectedDate, setLastSelectedDate: setLastSelectedDate, selecting: selecting, setSelecting: setSelecting, singleDate: singleDate, submitOnSelectionEnd: submitOnSelectionEnd, onSubmit: onSubmit, stays: stays, matchingStays: matchingStays, allMatchingStaysEnd: allMatchingStaysEnd }, i));
|
|
20
|
+
}) })] }));
|
|
32
21
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export function addDays(_date: any, days: any): Date;
|
|
2
2
|
export function getMatchingStays(stays: any, selectedDates: any): any;
|
|
3
3
|
export function zeroPad(value: any, length: any): string;
|
|
4
|
-
export function getMonthDays(month?: number, year?: number):
|
|
4
|
+
export function getMonthDays(month?: number, year?: number): 30 | 29 | 28 | 31;
|
|
5
5
|
export function getMonthFirstDay(month?: number, year?: number): number;
|
|
6
6
|
export function weekToLongDate(date: any): string;
|
|
7
7
|
export function formatDate(date: any): string;
|
|
@@ -22,3 +22,4 @@ export function getNextMonth(month: any, year: any): {
|
|
|
22
22
|
month: any;
|
|
23
23
|
year: any;
|
|
24
24
|
};
|
|
25
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/common/components/date-picker/utils.js"],"names":[],"mappings":"AAwGA,qDAIC;AAmDD,sEAQC;AArKM,yDAAmE;AAEnE,+EAcN;AAEM,wEAGkD;AAElD,kDAMN;AAEM,8CAMN;AAEM,2CAKN;AAEM,iEAUN;AAEM,+DAgBN;AAEM,2CAMN;AAEM,uDAON;AAEM,sDAON;AAQM,qEAQN;AAEM,gDAQN;AAEM,yEAaN;AAEM;;;EAKN;AAEM;;;EAKN"}
|
|
@@ -125,9 +125,9 @@ export const getNextMonth = (month, year) => {
|
|
|
125
125
|
return { month: nextMonth, year: nextMonthYear };
|
|
126
126
|
};
|
|
127
127
|
export function getMatchingStays(stays, selectedDates) {
|
|
128
|
-
if (!
|
|
128
|
+
if (!stays?.length || !selectedDates.length)
|
|
129
129
|
return;
|
|
130
|
-
const matchingStays = stays
|
|
130
|
+
const matchingStays = stays?.filter((s) => {
|
|
131
131
|
return formatDate(s.start) === formatDate(selectedDates[0]);
|
|
132
132
|
});
|
|
133
133
|
return matchingStays;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-caption.d.ts","sourceRoot":"","sources":["../../../../src/common/components/editable-calendar/calendar-caption.js"],"names":[],"mappings":"AAkBA;;;4CAsDC"}
|
|
@@ -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 { useUbloContext } from "ublo/with-ublo";
|
|
3
4
|
import Input from "dt-design-system/es/input";
|
|
@@ -33,67 +34,53 @@ export default function CalendarCaption({ presets, setPresets }) {
|
|
|
33
34
|
if (isEditing) {
|
|
34
35
|
const newPresets = {
|
|
35
36
|
colors: colors.reduce((acc, color, index) => {
|
|
36
|
-
return
|
|
37
|
+
return {
|
|
38
|
+
...acc,
|
|
39
|
+
[index]: {
|
|
37
40
|
text: values[index],
|
|
38
41
|
backgroundColor: color,
|
|
39
42
|
textColor: textColors[index],
|
|
40
|
-
}
|
|
43
|
+
},
|
|
44
|
+
};
|
|
41
45
|
}, {}),
|
|
42
46
|
};
|
|
43
47
|
setPresets((currentPresets) => {
|
|
44
|
-
return
|
|
48
|
+
return { ...currentPresets, ...newPresets };
|
|
45
49
|
});
|
|
46
50
|
}
|
|
47
51
|
}, [colors, isEditing, setPresets, textColors, values]);
|
|
48
|
-
return isEditing ? (
|
|
52
|
+
return isEditing ? (_jsx(Editor, { colors: colors, setColors: setColors, values: values, setValues: setValues, textColors: textColors, setTextColors: setTextColors })) : (_jsx(Caption, { colors: colors, values: values, textColors: textColors }));
|
|
49
53
|
}
|
|
50
54
|
function Editor({ colors, setColors, values, setValues, textColors, setTextColors, }) {
|
|
51
|
-
return (
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
<Input className={css.color} style={{ color: textColors[index], backgroundColor: color }} placeholder="Horaires" onValueChange={updateValue} value={values[index]} compact/>
|
|
78
|
-
<input className={css.colorPicker} type="color" value={color} onChange={updateColor}/>
|
|
79
|
-
<input className={css.textColorPicker} type="color" value={textColors[index]} onChange={updateTextColor} list="textColors"/>
|
|
80
|
-
<span className={css.textPickerLabel}>A</span>
|
|
81
|
-
</div>);
|
|
82
|
-
})}
|
|
83
|
-
<datalist id="textColors">
|
|
84
|
-
<option>#000000</option>
|
|
85
|
-
<option>#ffffff</option>
|
|
86
|
-
</datalist>
|
|
87
|
-
</div>);
|
|
55
|
+
return (_jsxs("div", { className: css.root, children: [colors.map((color, index) => {
|
|
56
|
+
const updateValue = (value) => {
|
|
57
|
+
setValues((prev) => {
|
|
58
|
+
const newValues = [...prev];
|
|
59
|
+
newValues[index] = value;
|
|
60
|
+
return newValues;
|
|
61
|
+
});
|
|
62
|
+
};
|
|
63
|
+
const updateColor = (e) => {
|
|
64
|
+
const color = e.target.value;
|
|
65
|
+
setColors((prev) => {
|
|
66
|
+
const newColors = [...prev];
|
|
67
|
+
newColors[index] = color;
|
|
68
|
+
return newColors;
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
const updateTextColor = (e) => {
|
|
72
|
+
const color = e.target.value;
|
|
73
|
+
setTextColors((prev) => {
|
|
74
|
+
const newTextColors = [...prev];
|
|
75
|
+
newTextColors[index] = color;
|
|
76
|
+
return newTextColors;
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
return (_jsxs("div", { className: css.row, children: [_jsx(Input, { className: css.color, style: { color: textColors[index], backgroundColor: color }, placeholder: "Horaires", onValueChange: updateValue, value: values[index], compact: true }), _jsx("input", { className: css.colorPicker, type: "color", value: color, onChange: updateColor }), _jsx("input", { className: css.textColorPicker, type: "color", value: textColors[index], onChange: updateTextColor, list: "textColors" }), _jsx("span", { className: css.textPickerLabel, children: "A" })] }, `${color}-${index}`));
|
|
80
|
+
}), _jsxs("datalist", { id: "textColors", children: [_jsx("option", { children: "#000000" }), _jsx("option", { children: "#ffffff" })] })] }));
|
|
88
81
|
}
|
|
89
82
|
function Caption({ colors, values, textColors }) {
|
|
90
|
-
return (
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
<div className={css.color} style={{ color: textColors[index], backgroundColor: color }}>
|
|
94
|
-
{values[index]}
|
|
95
|
-
</div>
|
|
96
|
-
</div>);
|
|
97
|
-
})}
|
|
98
|
-
</div>);
|
|
83
|
+
return (_jsx("div", { className: css.root, children: colors.map((color, index) => {
|
|
84
|
+
return (_jsx("div", { className: css.row, children: _jsx("div", { className: css.color, style: { color: textColors[index], backgroundColor: color }, children: values[index] }) }, `${color}-${index}`));
|
|
85
|
+
}) }));
|
|
99
86
|
}
|
|
@@ -8,5 +8,5 @@ export default function CalendarDate({ date, month, year, minDate, presets, sele
|
|
|
8
8
|
setSelecting: any;
|
|
9
9
|
hoveredDates: any;
|
|
10
10
|
setHoveredDates: any;
|
|
11
|
-
}):
|
|
12
|
-
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=calendar-date.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-date.d.ts","sourceRoot":"","sources":["../../../../src/common/components/editable-calendar/calendar-date.js"],"names":[],"mappings":"AAQA;;;;;;;;;;4CAgGC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } 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";
|
|
@@ -63,9 +64,5 @@ export default function CalendarDate({ date, month, year, minDate, presets, sele
|
|
|
63
64
|
return item.getTime() === _date.getTime();
|
|
64
65
|
}),
|
|
65
66
|
});
|
|
66
|
-
return (
|
|
67
|
-
<button className={classes} tabIndex={isDisabled ? -1 : 0} onMouseDown={startSelecting} onMouseEnter={computeSelection} onMouseUp={stopSelecting} style={dateStyles}>
|
|
68
|
-
{_date.getDate()}
|
|
69
|
-
</button>
|
|
70
|
-
</Tooltip>);
|
|
67
|
+
return (_jsx(Tooltip, { content: dateTooltip, children: _jsx("button", { className: classes, tabIndex: isDisabled ? -1 : 0, onMouseDown: startSelecting, onMouseEnter: computeSelection, onMouseUp: stopSelecting, style: dateStyles, children: _date.getDate() }) }));
|
|
71
68
|
}
|
|
@@ -3,5 +3,5 @@ export default function CalendarEditor({ presets, setPresets, hoveredDates, clos
|
|
|
3
3
|
setPresets: any;
|
|
4
4
|
hoveredDates: any;
|
|
5
5
|
closeEditor: any;
|
|
6
|
-
}):
|
|
7
|
-
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=calendar-editor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-editor.d.ts","sourceRoot":"","sources":["../../../../src/common/components/editable-calendar/calendar-editor.js"],"names":[],"mappings":"AAMA;;;;;4CA0EC"}
|
|
@@ -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 * as Icons from "dt-design-system/es/icons";
|
|
@@ -12,10 +13,10 @@ export default function CalendarEditor({ presets, setPresets, hoveredDates, clos
|
|
|
12
13
|
const newDates = formatedHoveredDates.reduce((acc, date) => {
|
|
13
14
|
if (!colorIndex)
|
|
14
15
|
return acc;
|
|
15
|
-
return
|
|
16
|
+
return { ...acc, [date]: colorIndex };
|
|
16
17
|
}, {});
|
|
17
18
|
const newPresets = {
|
|
18
|
-
dates:
|
|
19
|
+
dates: { ...dates, ...newDates },
|
|
19
20
|
};
|
|
20
21
|
if (!colorIndex) {
|
|
21
22
|
for (const date of formatedHoveredDates) {
|
|
@@ -30,26 +31,14 @@ export default function CalendarEditor({ presets, setPresets, hoveredDates, clos
|
|
|
30
31
|
}
|
|
31
32
|
});
|
|
32
33
|
setPresets((currentPresets) => {
|
|
33
|
-
return
|
|
34
|
+
return { ...currentPresets, ...newPresets };
|
|
34
35
|
});
|
|
35
36
|
closeEditor();
|
|
36
37
|
};
|
|
37
|
-
return (
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
Aucun
|
|
44
|
-
</Button>
|
|
45
|
-
{Object.keys(colors).map((key) => {
|
|
46
|
-
const { text, backgroundColor, textColor } = colors[key];
|
|
47
|
-
if (!text)
|
|
48
|
-
return null;
|
|
49
|
-
return (<Button key={key} variant="secondary" className={css.color} style={{ color: textColor, backgroundColor }} onClick={updateDates(key)}>
|
|
50
|
-
{text}
|
|
51
|
-
</Button>);
|
|
52
|
-
})}
|
|
53
|
-
</div>
|
|
54
|
-
</div>);
|
|
38
|
+
return (_jsxs("div", { className: css.editor, children: [_jsx(Button, { variant: "transparent", className: css.close, onClick: closeEditor, children: _jsx(Icons.Cross, {}) }), _jsxs("div", { className: css.inner, children: [_jsx(Button, { variant: "transparent", className: css.cleanup, onClick: updateDates(), children: "Aucun" }), Object.keys(colors).map((key) => {
|
|
39
|
+
const { text, backgroundColor, textColor } = colors[key];
|
|
40
|
+
if (!text)
|
|
41
|
+
return null;
|
|
42
|
+
return (_jsx(Button, { variant: "secondary", className: css.color, style: { color: textColor, backgroundColor }, onClick: updateDates(key), children: text }, key));
|
|
43
|
+
})] })] }));
|
|
55
44
|
}
|