ublo-lib 1.31.44 → 1.32.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/common/components/admin-links/admin-links.d.ts +2 -2
- package/es/common/components/admin-links/admin-links.d.ts.map +1 -0
- package/es/common/components/admin-links/admin-links.js +59 -0
- package/es/common/components/admin-links/index.d.ts +1 -0
- package/es/common/components/admin-links/index.d.ts.map +1 -0
- package/es/common/components/analytics.d.ts +1 -0
- package/es/common/components/analytics.d.ts.map +1 -0
- package/es/common/components/analytics.js +3 -12
- package/es/common/components/breadcrumb.d.ts +2 -2
- package/es/common/components/breadcrumb.d.ts.map +1 -0
- package/es/common/components/{breadcrumb.jsx → breadcrumb.js} +6 -11
- package/es/common/components/carousel-zone.d.ts +2 -2
- package/es/common/components/carousel-zone.d.ts.map +1 -0
- package/es/common/components/carousel-zone.js +5 -26
- package/es/common/components/carousel.d.ts +2 -1
- package/es/common/components/carousel.d.ts.map +1 -0
- package/es/common/components/carousel.js +15 -32
- package/es/common/components/cart-preview/api.d.ts +1 -0
- package/es/common/components/cart-preview/api.d.ts.map +1 -0
- package/es/common/components/cart-preview/api.js +3 -12
- package/es/common/components/cart-preview/cart-pill.d.ts +2 -2
- package/es/common/components/cart-preview/cart-pill.d.ts.map +1 -0
- package/es/common/components/cart-preview/cart-pill.js +2 -1
- package/es/common/components/cart-preview/cart-preview.d.ts +2 -2
- package/es/common/components/cart-preview/cart-preview.d.ts.map +1 -0
- package/es/common/components/cart-preview/cart-preview.js +14 -46
- package/es/common/components/cart-preview/index.d.ts +1 -0
- package/es/common/components/cart-preview/index.d.ts.map +1 -0
- package/es/common/components/cart-preview/utils.d.ts +1 -0
- package/es/common/components/cart-preview/utils.d.ts.map +1 -0
- package/es/common/components/collapsible/collapsible.d.ts +2 -1
- package/es/common/components/collapsible/collapsible.d.ts.map +1 -0
- package/es/common/components/collapsible/{collapsible.jsx → collapsible.js} +4 -10
- package/es/common/components/collapsible/index.d.ts +1 -0
- package/es/common/components/collapsible/index.d.ts.map +1 -0
- package/es/common/components/cookie-consent/cookie-consent.d.ts +1 -0
- package/es/common/components/cookie-consent/cookie-consent.d.ts.map +1 -0
- package/es/common/components/cookie-consent/cookie-consent.js +7 -39
- package/es/common/components/cookie-consent/index.d.ts +1 -0
- package/es/common/components/cookie-consent/index.d.ts.map +1 -0
- package/es/common/components/cookie-consent/messages.d.ts +1 -0
- package/es/common/components/cookie-consent/messages.d.ts.map +1 -0
- package/es/common/components/cookie-consent/utils.d.ts +1 -0
- package/es/common/components/cookie-consent/utils.d.ts.map +1 -0
- package/es/common/components/cookie-consent/utils.js +18 -29
- package/es/common/components/cross-selling-editor/cross-selling-editor.d.ts +2 -1
- package/es/common/components/cross-selling-editor/cross-selling-editor.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/{cross-selling-editor.jsx → cross-selling-editor.js} +3 -9
- package/es/common/components/cross-selling-editor/editor.d.ts +2 -1
- package/es/common/components/cross-selling-editor/editor.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/{editor.jsx → editor.js} +5 -16
- package/es/common/components/cross-selling-editor/hooks/use-custom-offers.d.ts +1 -0
- package/es/common/components/cross-selling-editor/hooks/use-custom-offers.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/hooks/use-custom-offers.js +6 -15
- package/es/common/components/cross-selling-editor/hooks/use-tunnel-offers.d.ts +1 -0
- package/es/common/components/cross-selling-editor/hooks/use-tunnel-offers.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/hooks/use-tunnel-offers.js +4 -13
- package/es/common/components/cross-selling-editor/index.d.ts +1 -0
- package/es/common/components/cross-selling-editor/index.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/override-trigger-form.d.ts +2 -1
- package/es/common/components/cross-selling-editor/override-trigger-form.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/override-trigger-form.js +54 -0
- package/es/common/components/cross-selling-editor/override.d.ts +2 -1
- package/es/common/components/cross-selling-editor/override.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/{override.jsx → override.js} +25 -26
- package/es/common/components/cross-selling-editor/overrides-list.d.ts +2 -1
- package/es/common/components/cross-selling-editor/overrides-list.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/overrides-list.js +55 -0
- package/es/common/components/cross-selling-editor/rule.d.ts +2 -1
- package/es/common/components/cross-selling-editor/rule.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/rule.js +74 -0
- package/es/common/components/cross-selling-editor/rules.d.ts +2 -1
- package/es/common/components/cross-selling-editor/rules.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/rules.js +31 -0
- package/es/common/components/cross-selling-editor/services/api.d.ts +1 -0
- package/es/common/components/cross-selling-editor/services/api.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/services/api.js +10 -24
- package/es/common/components/cross-selling-editor/services/utils.d.ts +1 -0
- package/es/common/components/cross-selling-editor/services/utils.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/services/utils.js +34 -48
- package/es/common/components/cross-selling-editor/tester-tunnel-offer.d.ts +2 -2
- package/es/common/components/cross-selling-editor/tester-tunnel-offer.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/tester-tunnel-offer.js +21 -0
- package/es/common/components/cross-selling-editor/tester.d.ts +2 -2
- package/es/common/components/cross-selling-editor/tester.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/{tester.jsx → tester.js} +12 -53
- package/es/common/components/cross-selling-editor/types.d.ts +1 -0
- package/es/common/components/cross-selling-editor/types.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/attachment.d.ts +2 -2
- package/es/common/components/custom-contact-form/attachment.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/attachment.js +15 -37
- package/es/common/components/custom-contact-form/custom-contact-form.d.ts +2 -1
- package/es/common/components/custom-contact-form/custom-contact-form.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/custom-contact-form.js +90 -0
- package/es/common/components/custom-contact-form/field.d.ts +2 -2
- package/es/common/components/custom-contact-form/field.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/field.js +30 -32
- package/es/common/components/custom-contact-form/icons.d.ts +5 -5
- package/es/common/components/custom-contact-form/icons.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/icons.js +7 -34
- package/es/common/components/custom-contact-form/index.d.ts +1 -0
- package/es/common/components/custom-contact-form/index.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/messages.d.ts +1 -0
- package/es/common/components/custom-contact-form/messages.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/utils.d.ts +1 -0
- package/es/common/components/custom-contact-form/utils.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/utils.js +32 -35
- package/es/common/components/date-picker/calendar.d.ts +2 -2
- package/es/common/components/date-picker/calendar.d.ts.map +1 -0
- package/es/common/components/date-picker/calendar.js +13 -74
- package/es/common/components/date-picker/data.d.ts +1 -0
- package/es/common/components/date-picker/data.d.ts.map +1 -0
- package/es/common/components/date-picker/date-item.d.ts +2 -2
- package/es/common/components/date-picker/date-item.d.ts.map +1 -0
- package/es/common/components/date-picker/date-item.js +8 -11
- package/es/common/components/date-picker/date-picker.d.ts +2 -2
- package/es/common/components/date-picker/date-picker.d.ts.map +1 -0
- package/es/common/components/date-picker/date-picker.js +2 -7
- package/es/common/components/date-picker/helper.d.ts +2 -2
- package/es/common/components/date-picker/helper.d.ts.map +1 -0
- package/es/common/components/date-picker/helper.js +2 -19
- package/es/common/components/date-picker/index.d.ts +1 -0
- package/es/common/components/date-picker/index.d.ts.map +1 -0
- package/es/common/components/date-picker/messages.d.ts +1 -0
- package/es/common/components/date-picker/messages.d.ts.map +1 -0
- package/es/common/components/date-picker/month.d.ts +2 -2
- package/es/common/components/date-picker/month.d.ts.map +1 -0
- package/es/common/components/date-picker/month.js +6 -17
- package/es/common/components/date-picker/utils.d.ts +2 -1
- package/es/common/components/date-picker/utils.d.ts.map +1 -0
- package/es/common/components/date-picker/utils.js +2 -2
- package/es/common/components/editable-calendar/calendar-caption.d.ts +2 -2
- package/es/common/components/editable-calendar/calendar-caption.d.ts.map +1 -0
- package/es/common/components/editable-calendar/calendar-caption.js +37 -50
- package/es/common/components/editable-calendar/calendar-date.d.ts +2 -2
- package/es/common/components/editable-calendar/calendar-date.d.ts.map +1 -0
- package/es/common/components/editable-calendar/calendar-date.js +2 -5
- package/es/common/components/editable-calendar/calendar-editor.d.ts +2 -2
- package/es/common/components/editable-calendar/calendar-editor.d.ts.map +1 -0
- package/es/common/components/editable-calendar/calendar-editor.js +10 -21
- package/es/common/components/editable-calendar/calendar-header.d.ts +2 -2
- package/es/common/components/editable-calendar/calendar-header.d.ts.map +1 -0
- package/es/common/components/editable-calendar/calendar-header.js +2 -11
- package/es/common/components/editable-calendar/calendar.d.ts +2 -2
- package/es/common/components/editable-calendar/calendar.d.ts.map +1 -0
- package/es/common/components/editable-calendar/calendar.js +3 -20
- package/es/common/components/editable-calendar/data.d.ts +1 -0
- package/es/common/components/editable-calendar/data.d.ts.map +1 -0
- package/es/common/components/editable-calendar/index.d.ts +1 -0
- package/es/common/components/editable-calendar/index.d.ts.map +1 -0
- package/es/common/components/editable-calendar/index.js +2 -1
- package/es/common/components/editable-calendar/utils.d.ts +2 -1
- package/es/common/components/editable-calendar/utils.d.ts.map +1 -0
- package/es/common/components/editable-map/cluster.d.ts +1 -0
- package/es/common/components/editable-map/cluster.d.ts.map +1 -0
- package/es/common/components/editable-map/cluster.js +2 -3
- package/es/common/components/editable-map/edit-form.d.ts +2 -2
- package/es/common/components/editable-map/edit-form.d.ts.map +1 -0
- package/es/common/components/editable-map/edit-form.js +3 -24
- package/es/common/components/editable-map/editable-map.d.ts +2 -2
- package/es/common/components/editable-map/editable-map.d.ts.map +1 -0
- package/es/common/components/editable-map/editable-map.js +6 -22
- package/es/common/components/editable-map/full-screen-button.d.ts +2 -2
- package/es/common/components/editable-map/full-screen-button.d.ts.map +1 -0
- package/es/common/components/editable-map/full-screen-button.js +2 -3
- package/es/common/components/editable-map/helper.d.ts +2 -2
- package/es/common/components/editable-map/helper.d.ts.map +1 -0
- package/es/common/components/editable-map/helper.js +2 -21
- package/es/common/components/editable-map/icon-picker.d.ts +2 -2
- package/es/common/components/editable-map/icon-picker.d.ts.map +1 -0
- package/es/common/components/editable-map/icon-picker.js +10 -25
- package/es/common/components/editable-map/icons/esf-pralognan.d.ts +51 -51
- package/es/common/components/editable-map/icons/esf-pralognan.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/esf-pralognan.js +57 -372
- package/es/common/components/editable-map/icons/esf.d.ts +39 -39
- package/es/common/components/editable-map/icons/esf.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/esf.js +45 -265
- package/es/common/components/editable-map/icons/index.d.ts +1 -0
- package/es/common/components/editable-map/icons/index.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/lavovelo.d.ts +5 -5
- package/es/common/components/editable-map/icons/lavovelo.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/lavovelo.js +7 -42
- package/es/common/components/editable-map/icons/sata-huez.d.ts +29 -29
- package/es/common/components/editable-map/icons/sata-huez.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/sata-huez.js +34 -169
- package/es/common/components/editable-map/icons/sedev-vars.d.ts +29 -29
- package/es/common/components/editable-map/icons/sedev-vars.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/sedev-vars.js +34 -169
- package/es/common/components/editable-map/icons/viarmonia.d.ts +3 -3
- package/es/common/components/editable-map/icons/viarmonia.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/viarmonia.js +5 -25
- package/es/common/components/editable-map/index.d.ts +1 -0
- package/es/common/components/editable-map/index.d.ts.map +1 -0
- package/es/common/components/editable-map/index.js +7 -11
- package/es/common/components/editable-map/map-events.d.ts +1 -0
- package/es/common/components/editable-map/map-events.d.ts.map +1 -0
- package/es/common/components/editable-map/map-events.js +2 -3
- package/es/common/components/editable-map/marker-list.d.ts +2 -2
- package/es/common/components/editable-map/marker-list.d.ts.map +1 -0
- package/es/common/components/editable-map/marker-list.js +27 -37
- package/es/common/components/editable-map/markers.d.ts +1 -0
- package/es/common/components/editable-map/markers.d.ts.map +1 -0
- package/es/common/components/editable-map/markers.js +7 -11
- package/es/common/components/editable-map/popup-data.d.ts +2 -2
- package/es/common/components/editable-map/popup-data.d.ts.map +1 -0
- package/es/common/components/editable-map/popup-data.js +2 -7
- package/es/common/components/editable-map/slopes-toggle.d.ts +2 -2
- package/es/common/components/editable-map/slopes-toggle.d.ts.map +1 -0
- package/es/common/components/editable-map/slopes-toggle.js +2 -3
- package/es/common/components/error-404/error-404.d.ts +2 -2
- package/es/common/components/error-404/error-404.d.ts.map +1 -0
- package/es/common/components/error-404/error-404.js +2 -11
- package/es/common/components/error-404/index.d.ts +1 -0
- package/es/common/components/error-404/index.d.ts.map +1 -0
- package/es/common/components/error-404/messages.d.ts +1 -0
- package/es/common/components/error-404/messages.d.ts.map +1 -0
- package/es/common/components/error-404/messages.js +1 -2
- package/es/common/components/faq.d.ts +2 -1
- package/es/common/components/faq.d.ts.map +1 -0
- package/es/common/components/faq.js +2 -4
- package/es/common/components/gesco-contact-form/gesco-contact-form.d.ts +2 -2
- package/es/common/components/gesco-contact-form/gesco-contact-form.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/gesco-contact-form.js +108 -0
- package/es/common/components/gesco-contact-form/hooks/use-params.d.ts +1 -0
- package/es/common/components/gesco-contact-form/hooks/use-params.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/hooks/use-params.js +3 -12
- package/es/common/components/gesco-contact-form/index.d.ts +1 -0
- package/es/common/components/gesco-contact-form/index.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/phone-code-select.d.ts +2 -2
- package/es/common/components/gesco-contact-form/phone-code-select.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/{phone-code-select.jsx → phone-code-select.js} +8 -8
- package/es/common/components/gesco-contact-form/services/api.d.ts +1 -0
- package/es/common/components/gesco-contact-form/services/api.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/services/api.js +8 -22
- package/es/common/components/gesco-contact-form/services/form.d.ts +1 -0
- package/es/common/components/gesco-contact-form/services/form.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/services/form.js +3 -6
- package/es/common/components/gesco-contact-form/services/messages.d.ts +1 -0
- package/es/common/components/gesco-contact-form/services/messages.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/services/messages.js +1 -1
- package/es/common/components/gesco-contact-form/services/plausible.d.ts +1 -0
- package/es/common/components/gesco-contact-form/services/plausible.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/services/plausible.js +2 -3
- package/es/common/components/gesco-contact-form/types.d.ts +1 -0
- package/es/common/components/gesco-contact-form/types.d.ts.map +1 -0
- package/es/common/components/info-buttons.d.ts +2 -1
- package/es/common/components/info-buttons.d.ts.map +1 -0
- package/es/common/components/info-buttons.js +7 -22
- package/es/common/components/information/index.d.ts +1 -0
- package/es/common/components/information/index.d.ts.map +1 -0
- package/es/common/components/information/information.d.ts +2 -2
- package/es/common/components/information/information.d.ts.map +1 -0
- package/es/common/components/information/{information.jsx → information.js} +6 -16
- package/es/common/components/instant-search/hooks/use-constant.d.ts +1 -0
- package/es/common/components/instant-search/hooks/use-constant.d.ts.map +1 -0
- package/es/common/components/instant-search/hooks/use-debounced-search.d.ts +1 -0
- package/es/common/components/instant-search/hooks/use-debounced-search.d.ts.map +1 -0
- package/es/common/components/instant-search/hooks/use-debounced-search.js +1 -10
- package/es/common/components/instant-search/hooks/use-search.d.ts +1 -0
- package/es/common/components/instant-search/hooks/use-search.d.ts.map +1 -0
- package/es/common/components/instant-search/hooks/use-search.js +2 -11
- package/es/common/components/instant-search/index.d.ts +1 -0
- package/es/common/components/instant-search/index.d.ts.map +1 -0
- package/es/common/components/instant-search/input.d.ts +2 -2
- package/es/common/components/instant-search/input.d.ts.map +1 -0
- package/es/common/components/instant-search/{input.jsx → input.js} +17 -25
- package/es/common/components/instant-search/instant-search.d.ts +2 -2
- package/es/common/components/instant-search/instant-search.d.ts.map +1 -0
- package/es/common/components/instant-search/{instant-search.jsx → instant-search.js} +3 -16
- package/es/common/components/instant-search/links.d.ts +2 -2
- package/es/common/components/instant-search/links.d.ts.map +1 -0
- package/es/common/components/instant-search/links.js +30 -0
- package/es/common/components/instant-search/no-product.d.ts +2 -2
- package/es/common/components/instant-search/no-product.d.ts.map +1 -0
- package/es/common/components/instant-search/no-product.js +4 -0
- package/es/common/components/instant-search/products.d.ts +2 -1
- package/es/common/components/instant-search/products.d.ts.map +1 -0
- package/es/common/components/instant-search/products.js +42 -0
- package/es/common/components/instant-search/results.d.ts +2 -2
- package/es/common/components/instant-search/results.d.ts.map +1 -0
- package/es/common/components/instant-search/results.js +41 -0
- package/es/common/components/instant-search/services/api.d.ts +1 -0
- package/es/common/components/instant-search/services/api.d.ts.map +1 -0
- package/es/common/components/instant-search/services/api.js +0 -1
- package/es/common/components/instant-search/services/dates.d.ts +1 -0
- package/es/common/components/instant-search/services/dates.d.ts.map +1 -0
- package/es/common/components/instant-search/services/dates.js +0 -3
- package/es/common/components/instant-search/services/messages.d.ts +1 -0
- package/es/common/components/instant-search/services/messages.d.ts.map +1 -0
- package/es/common/components/instant-search/services/utils.d.ts +1 -0
- package/es/common/components/instant-search/services/utils.d.ts.map +1 -0
- package/es/common/components/instant-search/services/utils.js +1 -2
- package/es/common/components/msem-preset-editor/components/facet-selector.d.ts +2 -2
- package/es/common/components/msem-preset-editor/components/facet-selector.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/components/{facet-selector.jsx → facet-selector.js} +7 -4
- package/es/common/components/msem-preset-editor/components/form.d.ts +2 -2
- package/es/common/components/msem-preset-editor/components/form.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/components/form.js +9 -0
- package/es/common/components/msem-preset-editor/components/stay-picker.d.ts +2 -2
- package/es/common/components/msem-preset-editor/components/stay-picker.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/components/{stay-picker.jsx → stay-picker.js} +5 -8
- package/es/common/components/msem-preset-editor/components/widget-list-item.d.ts +2 -1
- package/es/common/components/msem-preset-editor/components/widget-list-item.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/components/widget-list-item.js +55 -0
- package/es/common/components/msem-preset-editor/components/widget-list.d.ts +2 -1
- package/es/common/components/msem-preset-editor/components/widget-list.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/components/widget-list.js +34 -0
- package/es/common/components/msem-preset-editor/editor-dialog.d.ts +2 -1
- package/es/common/components/msem-preset-editor/editor-dialog.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editor-dialog.js +27 -0
- package/es/common/components/msem-preset-editor/editors/elloha.d.ts +2 -1
- package/es/common/components/msem-preset-editor/editors/elloha.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/elloha.js +79 -0
- package/es/common/components/msem-preset-editor/editors/index.d.ts +1 -0
- package/es/common/components/msem-preset-editor/editors/index.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/lodgings.d.ts +2 -1
- package/es/common/components/msem-preset-editor/editors/lodgings.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/lodgings.js +192 -0
- package/es/common/components/msem-preset-editor/editors/ski-passes-jb.d.ts +2 -1
- package/es/common/components/msem-preset-editor/editors/ski-passes-jb.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/ski-passes-jb.js +85 -0
- package/es/common/components/msem-preset-editor/editors/ski-passes.d.ts +2 -1
- package/es/common/components/msem-preset-editor/editors/ski-passes.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/ski-passes.js +198 -0
- package/es/common/components/msem-preset-editor/editors/standard-products.d.ts +2 -1
- package/es/common/components/msem-preset-editor/editors/standard-products.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/{standard-products.jsx → standard-products.js} +16 -21
- package/es/common/components/msem-preset-editor/editors/vakario.d.ts +2 -1
- package/es/common/components/msem-preset-editor/editors/vakario.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/{vakario.jsx → vakario.js} +50 -48
- package/es/common/components/msem-preset-editor/index.d.ts +1 -0
- package/es/common/components/msem-preset-editor/index.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/msem-preset-editor.d.ts +2 -1
- package/es/common/components/msem-preset-editor/msem-preset-editor.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/msem-preset-editor.js +161 -0
- package/es/common/components/msem-preset-editor/services/api.d.ts +1 -0
- package/es/common/components/msem-preset-editor/services/api.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/services/api.js +42 -79
- package/es/common/components/msem-preset-editor/services/offers.d.ts +1 -0
- package/es/common/components/msem-preset-editor/services/offers.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/services/offers.js +35 -57
- package/es/common/components/msem-preset-editor/services/preset.d.ts +1 -0
- package/es/common/components/msem-preset-editor/services/preset.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/services/preset.js +1 -1
- package/es/common/components/msem-preset-editor/services/url-params.d.ts +1 -0
- package/es/common/components/msem-preset-editor/services/url-params.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/components/actions.d.ts +2 -2
- package/es/common/components/msem-preset-linker/components/actions.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/components/{actions.jsx → actions.js} +7 -22
- package/es/common/components/msem-preset-linker/components/overlays.d.ts +2 -2
- package/es/common/components/msem-preset-linker/components/overlays.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/components/{overlays.jsx → overlays.js} +6 -13
- package/es/common/components/msem-preset-linker/components/resort-selector.d.ts +2 -2
- package/es/common/components/msem-preset-linker/components/resort-selector.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/components/{resort-selector.jsx → resort-selector.js} +3 -3
- package/es/common/components/msem-preset-linker/hooks/use-msem-presets.d.ts +1 -0
- package/es/common/components/msem-preset-linker/hooks/use-msem-presets.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/hooks/use-msem-presets.js +2 -3
- package/es/common/components/msem-preset-linker/index.d.ts +1 -0
- package/es/common/components/msem-preset-linker/index.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/msem-preset-linker.d.ts +2 -1
- package/es/common/components/msem-preset-linker/msem-preset-linker.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/{msem-preset-linker.jsx → msem-preset-linker.js} +11 -13
- package/es/common/components/msem-preset-linker/services/url-params.d.ts +1 -0
- package/es/common/components/msem-preset-linker/services/url-params.d.ts.map +1 -0
- package/es/common/components/packages-selector/index.d.ts +2 -2
- package/es/common/components/packages-selector/index.d.ts.map +1 -0
- package/es/common/components/packages-selector/index.js +13 -33
- package/es/common/components/plausible/hooks/use-plausible.d.ts +2 -1
- package/es/common/components/plausible/hooks/use-plausible.d.ts.map +1 -0
- package/es/common/components/plausible/hooks/use-plausible.js +6 -6
- package/es/common/components/plausible/index.d.ts +1 -0
- package/es/common/components/plausible/index.d.ts.map +1 -0
- package/es/common/components/plausible/plausible.d.ts +2 -2
- package/es/common/components/plausible/plausible.d.ts.map +1 -0
- package/es/{future/components/plausible/plausible.jsx → common/components/plausible/plausible.js} +2 -3
- package/es/common/components/plausible/services/callback.d.ts +1 -0
- package/es/common/components/plausible/services/callback.d.ts.map +1 -0
- package/es/common/components/plausible/services/callback.js +14 -20
- package/es/common/components/plausible/services/load.d.ts +1 -0
- package/es/common/components/plausible/services/load.d.ts.map +1 -0
- package/es/common/components/plausible/services/send-goal.d.ts +1 -0
- package/es/common/components/plausible/services/send-goal.d.ts.map +1 -0
- package/es/common/components/popup.d.ts +2 -2
- package/es/common/components/popup.d.ts.map +1 -0
- package/es/common/components/popup.js +5 -35
- package/es/common/components/scroll-spy.d.ts +2 -1
- package/es/common/components/scroll-spy.d.ts.map +1 -0
- package/es/common/components/{scroll-spy.jsx → scroll-spy.js} +10 -20
- package/es/common/components/scrolling-carousel/index.d.ts +1 -0
- package/es/common/components/scrolling-carousel/index.d.ts.map +1 -0
- package/es/common/components/scrolling-carousel/scrolling-carousel.d.ts +2 -1
- package/es/common/components/scrolling-carousel/scrolling-carousel.d.ts.map +1 -0
- package/es/common/components/scrolling-carousel/{scrolling-carousel.jsx → scrolling-carousel.js} +25 -23
- package/es/common/components/search-bar/hooks/use-constant.d.ts +1 -0
- package/es/common/components/search-bar/hooks/use-constant.d.ts.map +1 -0
- package/es/common/components/search-bar/hooks/use-debounced-search.d.ts +1 -0
- package/es/common/components/search-bar/hooks/use-debounced-search.d.ts.map +1 -0
- package/es/common/components/search-bar/hooks/use-debounced-search.js +1 -10
- package/es/common/components/search-bar/hooks/use-search.d.ts +1 -0
- package/es/common/components/search-bar/hooks/use-search.d.ts.map +1 -0
- package/es/common/components/search-bar/hooks/use-search.js +2 -11
- package/es/common/components/search-bar/index.d.ts +1 -0
- package/es/common/components/search-bar/index.d.ts.map +1 -0
- package/es/common/components/search-bar/messages.d.ts +1 -0
- package/es/common/components/search-bar/messages.d.ts.map +1 -0
- package/es/common/components/search-bar/search-bar.d.ts +2 -1
- package/es/common/components/search-bar/search-bar.d.ts.map +1 -0
- package/es/common/components/search-bar/search-bar.js +38 -51
- package/es/common/components/search-bar/utils/fetcher.d.ts +1 -0
- package/es/common/components/search-bar/utils/fetcher.d.ts.map +1 -0
- package/es/common/components/search-bar/utils/fetcher.js +3 -12
- package/es/common/components/search-bar/utils/keyboard-keys.d.ts +1 -0
- package/es/common/components/search-bar/utils/keyboard-keys.d.ts.map +1 -0
- package/es/common/components/search-bar/utils/params.d.ts +1 -0
- package/es/common/components/search-bar/utils/params.d.ts.map +1 -0
- package/es/common/components/tabbed-zones.d.ts +2 -2
- package/es/common/components/tabbed-zones.d.ts.map +1 -0
- package/es/common/components/tabbed-zones.js +50 -0
- package/es/common/components/video-player/controls.d.ts +2 -1
- package/es/common/components/video-player/controls.d.ts.map +1 -0
- package/es/common/components/video-player/controls.js +5 -39
- package/es/common/components/video-player/icons.d.ts +7 -7
- package/es/common/components/video-player/icons.d.ts.map +1 -0
- package/es/common/components/video-player/icons.js +8 -35
- package/es/common/components/video-player/index.d.ts +1 -0
- package/es/common/components/video-player/index.d.ts.map +1 -0
- package/es/common/components/video-player/utils.d.ts +1 -0
- package/es/common/components/video-player/utils.d.ts.map +1 -0
- package/es/common/components/video-player/video-player.d.ts +2 -1
- package/es/common/components/video-player/video-player.d.ts.map +1 -0
- package/es/common/components/video-player/video-player.js +3 -17
- package/es/common/hooks/use-account.d.ts +1 -0
- package/es/common/hooks/use-account.d.ts.map +1 -0
- package/es/common/hooks/use-account.js +8 -19
- package/es/common/hooks/use-faq.d.ts +1 -0
- package/es/common/hooks/use-faq.d.ts.map +1 -0
- package/es/common/hooks/use-in-view.d.ts +1 -0
- package/es/common/hooks/use-in-view.d.ts.map +1 -0
- package/es/common/hooks/use-in-view.js +1 -1
- package/es/common/hooks/use-injected-cms-markup.d.ts +1 -0
- package/es/common/hooks/use-injected-cms-markup.d.ts.map +1 -0
- package/es/common/hooks/use-injected-cms-markup.js +5 -14
- package/es/common/hooks/use-packages.d.ts +1 -0
- package/es/common/hooks/use-packages.d.ts.map +1 -0
- package/es/common/hooks/use-packages.js +5 -13
- package/es/common/hooks/use-scroll-direction.d.ts +1 -0
- package/es/common/hooks/use-scroll-direction.d.ts.map +1 -0
- package/es/common/hooks/use-stay.d.ts +1 -0
- package/es/common/hooks/use-stay.d.ts.map +1 -0
- package/es/common/hooks/use-sticky.d.ts +1 -0
- package/es/common/hooks/use-sticky.d.ts.map +1 -0
- package/es/common/hooks/use-tunnel.d.ts +1 -0
- package/es/common/hooks/use-tunnel.d.ts.map +1 -0
- package/es/common/hooks/use-tunnel.js +10 -22
- package/es/common/hooks/use-update-effect.d.ts +2 -1
- package/es/common/hooks/use-update-effect.d.ts.map +1 -0
- package/es/common/hooks/use-update-effect.js +2 -2
- package/es/common/hooks/use-window-sizes.d.ts +1 -0
- package/es/common/hooks/use-window-sizes.d.ts.map +1 -0
- package/es/common/hooks/use-youtube-popup.d.ts +1 -0
- package/es/common/hooks/use-youtube-popup.d.ts.map +1 -0
- package/es/common/hooks/use-youtube-popup.js +10 -12
- package/es/common/hooks/use-zone-sync.d.ts +1 -0
- package/es/common/hooks/use-zone-sync.d.ts.map +1 -0
- package/es/common/hooks/use-zone-sync.js +2 -4
- package/es/common/utils/cms.d.ts +1 -0
- package/es/common/utils/cms.d.ts.map +1 -0
- package/es/common/utils/cms.js +16 -29
- package/es/common/utils/cookies.d.ts +1 -0
- package/es/common/utils/cookies.d.ts.map +1 -0
- package/es/common/utils/copy.d.ts +1 -0
- package/es/common/utils/copy.d.ts.map +1 -0
- package/es/common/utils/dates.d.ts +1 -0
- package/es/common/utils/dates.d.ts.map +1 -0
- package/es/common/utils/elements.d.ts +1 -0
- package/es/common/utils/elements.d.ts.map +1 -0
- package/es/common/utils/elements.js +1 -2
- package/es/common/utils/events.d.ts +1 -0
- package/es/common/utils/events.d.ts.map +1 -0
- package/es/common/utils/events.js +0 -17
- package/es/common/utils/fetcher.d.ts +1 -0
- package/es/common/utils/fetcher.d.ts.map +1 -0
- package/es/common/utils/fetcher.js +5 -15
- package/es/common/utils/file-manager.d.ts +1 -0
- package/es/common/utils/file-manager.d.ts.map +1 -0
- package/es/common/utils/file-manager.js +3 -12
- package/es/common/utils/load-js.d.ts +1 -0
- package/es/common/utils/load-js.d.ts.map +1 -0
- package/es/common/utils/msem-widget.d.ts +2 -2
- package/es/common/utils/msem-widget.d.ts.map +1 -0
- package/es/common/utils/msem-widget.js +39 -0
- package/es/common/utils/scrollbar-size.d.ts +1 -0
- package/es/common/utils/scrollbar-size.d.ts.map +1 -0
- package/es/common/utils/touch-device.d.ts +1 -0
- package/es/common/utils/touch-device.d.ts.map +1 -0
- package/es/common/utils/url-parameters.d.ts +1 -0
- package/es/common/utils/url-parameters.d.ts.map +1 -0
- package/es/esf/components/account-button/account-button.d.ts +2 -2
- package/es/esf/components/account-button/account-button.d.ts.map +1 -0
- package/es/esf/components/account-button/{account-button.jsx → account-button.js} +2 -5
- package/es/esf/components/account-button/index.d.ts +1 -0
- package/es/esf/components/account-button/index.d.ts.map +1 -0
- package/es/esf/components/booking-form/booking-form.d.ts +2 -2
- package/es/esf/components/booking-form/booking-form.d.ts.map +1 -0
- package/es/esf/components/booking-form/booking-form.js +3 -10
- package/es/esf/components/booking-form/data.d.ts +1 -0
- package/es/esf/components/booking-form/data.d.ts.map +1 -0
- package/es/esf/components/booking-form/field.d.ts +2 -2
- package/es/esf/components/booking-form/field.d.ts.map +1 -0
- package/es/esf/components/booking-form/field.js +6 -5
- package/es/esf/components/booking-form/hooks/use-custom-fields.d.ts +1 -0
- package/es/esf/components/booking-form/hooks/use-custom-fields.d.ts.map +1 -0
- package/es/esf/components/booking-form/hooks/use-stay.d.ts +1 -0
- package/es/esf/components/booking-form/hooks/use-stay.d.ts.map +1 -0
- package/es/esf/components/booking-form/index.d.ts +1 -0
- package/es/esf/components/booking-form/index.d.ts.map +1 -0
- package/es/esf/components/booking-form/lesson.d.ts +2 -2
- package/es/esf/components/booking-form/lesson.d.ts.map +1 -0
- package/es/esf/components/booking-form/lesson.js +2 -15
- package/es/esf/components/booking-form/lessons.d.ts +2 -2
- package/es/esf/components/booking-form/lessons.d.ts.map +1 -0
- package/es/esf/components/booking-form/lessons.js +12 -22
- package/es/esf/components/booking-form/messages.d.ts +1 -0
- package/es/esf/components/booking-form/messages.d.ts.map +1 -0
- package/es/esf/components/booking-form/personal-data.d.ts +2 -2
- package/es/esf/components/booking-form/personal-data.d.ts.map +1 -0
- package/es/esf/components/booking-form/personal-data.js +3 -17
- package/es/esf/components/booking-form/progress-bar.d.ts +2 -2
- package/es/esf/components/booking-form/progress-bar.d.ts.map +1 -0
- package/es/esf/components/booking-form/progress-bar.js +9 -13
- package/es/esf/components/booking-form/steps.d.ts +2 -2
- package/es/esf/components/booking-form/steps.d.ts.map +1 -0
- package/es/esf/components/booking-form/steps.js +2 -7
- package/es/esf/components/booking-form/summary.d.ts +2 -2
- package/es/esf/components/booking-form/summary.d.ts.map +1 -0
- package/es/esf/components/booking-form/summary.js +42 -86
- package/es/esf/components/booking-form/utils.d.ts +1 -0
- package/es/esf/components/booking-form/utils.d.ts.map +1 -0
- package/es/esf/components/booking-form/utils.js +8 -17
- package/es/esf/components/covid-link/index.d.ts +1 -0
- package/es/esf/components/covid-link/index.d.ts.map +1 -0
- package/es/esf/components/covid-link/index.js +0 -131
- package/es/esf/components/covid-link/mask-icon.d.ts +2 -2
- package/es/esf/components/covid-link/mask-icon.d.ts.map +1 -0
- package/es/esf/components/covid-link/mask-icon.js +2 -4
- package/es/esf/components/covid-link/vax-pass-icon.d.ts +2 -2
- package/es/esf/components/covid-link/vax-pass-icon.d.ts.map +1 -0
- package/es/esf/components/covid-link/vax-pass-icon.js +2 -12
- package/es/esf/components/cp-form.d.ts +2 -1
- package/es/esf/components/cp-form.d.ts.map +1 -0
- package/es/esf/components/cp-form.js +5 -14
- package/es/esf/components/instructors-book/api.d.ts +1 -0
- package/es/esf/components/instructors-book/api.d.ts.map +1 -0
- package/es/esf/components/instructors-book/api.js +30 -41
- package/es/esf/components/instructors-book/book.d.ts +2 -2
- package/es/esf/components/instructors-book/book.d.ts.map +1 -0
- package/es/esf/components/instructors-book/book.js +7 -19
- package/es/esf/components/instructors-book/filters.d.ts +2 -2
- package/es/esf/components/instructors-book/filters.d.ts.map +1 -0
- package/es/esf/components/instructors-book/filters.js +2 -5
- package/es/esf/components/instructors-book/flags.d.ts +16 -16
- package/es/esf/components/instructors-book/flags.d.ts.map +1 -0
- package/es/esf/components/instructors-book/flags.js +17 -92
- package/es/esf/components/instructors-book/index.d.ts +1 -0
- package/es/esf/components/instructors-book/index.d.ts.map +1 -0
- package/es/esf/components/instructors-book/instructor.d.ts +2 -2
- package/es/esf/components/instructors-book/instructor.d.ts.map +1 -0
- package/es/esf/components/instructors-book/instructor.js +4 -34
- package/es/esf/components/instructors-book/list.d.ts +2 -2
- package/es/esf/components/instructors-book/list.d.ts.map +1 -0
- package/es/esf/components/instructors-book/list.js +5 -12
- package/es/esf/components/instructors-book/messages.d.ts +1 -0
- package/es/esf/components/instructors-book/messages.d.ts.map +1 -0
- package/es/esf/components/instructors-book/prefixes.d.ts +1 -0
- package/es/esf/components/instructors-book/prefixes.d.ts.map +1 -0
- package/es/esf/components/instructors-book/sheet.d.ts +2 -2
- package/es/esf/components/instructors-book/sheet.d.ts.map +1 -0
- package/es/esf/components/instructors-book/sheet.js +18 -76
- package/es/esf/components/instructors-book/suggestions.d.ts +2 -2
- package/es/esf/components/instructors-book/suggestions.d.ts.map +1 -0
- package/es/esf/components/instructors-book/suggestions.js +5 -23
- package/es/esf/components/instructors-book/utils.d.ts +1 -0
- package/es/esf/components/instructors-book/utils.d.ts.map +1 -0
- package/es/esf/components/levels/detail.d.ts +2 -2
- package/es/esf/components/levels/detail.d.ts.map +1 -0
- package/es/esf/components/levels/detail.js +2 -12
- package/es/esf/components/levels/index.d.ts +1 -0
- package/es/esf/components/levels/index.d.ts.map +1 -0
- package/es/esf/components/levels/levels.d.ts +2 -2
- package/es/esf/components/levels/levels.d.ts.map +1 -0
- package/es/esf/components/levels/levels.js +31 -70
- package/es/esf/components/loyal-customers/api.d.ts +1 -0
- package/es/esf/components/loyal-customers/api.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/api.js +10 -23
- package/es/esf/components/loyal-customers/components/bin-icon.d.ts +2 -2
- package/es/esf/components/loyal-customers/components/bin-icon.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/bin-icon.js +2 -8
- package/es/esf/components/loyal-customers/components/customer-form.d.ts +2 -2
- package/es/esf/components/loyal-customers/components/customer-form.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/customer-form.js +11 -35
- package/es/esf/components/loyal-customers/components/field.d.ts +2 -2
- package/es/esf/components/loyal-customers/components/field.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/field.js +6 -6
- package/es/esf/components/loyal-customers/components/row.d.ts +2 -2
- package/es/esf/components/loyal-customers/components/row.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/row.js +2 -23
- package/es/esf/components/loyal-customers/components/rows.d.ts +2 -2
- package/es/esf/components/loyal-customers/components/rows.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/rows.js +8 -12
- package/es/esf/components/loyal-customers/components/stay.d.ts +2 -2
- package/es/esf/components/loyal-customers/components/stay.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/stay.js +2 -13
- package/es/esf/components/loyal-customers/components/student-form.d.ts +2 -2
- package/es/esf/components/loyal-customers/components/student-form.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/student-form.js +7 -37
- package/es/esf/components/loyal-customers/components/voucher.d.ts +2 -2
- package/es/esf/components/loyal-customers/components/voucher.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/voucher.js +2 -3
- package/es/esf/components/loyal-customers/content.d.ts +1 -0
- package/es/esf/components/loyal-customers/content.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/content.js +7 -7
- package/es/esf/components/loyal-customers/data.d.ts +1 -0
- package/es/esf/components/loyal-customers/data.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/hooks/use-stored-rows.d.ts +1 -0
- package/es/esf/components/loyal-customers/hooks/use-stored-rows.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/index.d.ts +1 -0
- package/es/esf/components/loyal-customers/index.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/loyal-customers.d.ts +2 -2
- package/es/esf/components/loyal-customers/loyal-customers.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/loyal-customers.js +3 -18
- package/es/esf/components/loyal-customers/messages.d.ts +1 -0
- package/es/esf/components/loyal-customers/messages.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/utils.d.ts +1 -0
- package/es/esf/components/loyal-customers/utils.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/utils.js +2 -2
- package/es/esf/components/magic-box/booking.d.ts +2 -2
- package/es/esf/components/magic-box/booking.d.ts.map +1 -0
- package/es/esf/components/magic-box/booking.js +19 -30
- package/es/esf/components/magic-box/filter.d.ts +2 -2
- package/es/esf/components/magic-box/filter.d.ts.map +1 -0
- package/es/esf/components/magic-box/filter.js +3 -5
- package/es/esf/components/magic-box/filters.d.ts +2 -2
- package/es/esf/components/magic-box/filters.d.ts.map +1 -0
- package/es/esf/components/magic-box/filters.js +4 -5
- package/es/esf/components/magic-box/index.d.ts +1 -0
- package/es/esf/components/magic-box/index.d.ts.map +1 -0
- package/es/esf/components/magic-box/magic-box.d.ts +2 -1
- package/es/esf/components/magic-box/magic-box.d.ts.map +1 -0
- package/es/esf/components/magic-box/{magic-box.jsx → magic-box.js} +14 -34
- package/es/esf/components/magic-box/messages.d.ts +1 -0
- package/es/esf/components/magic-box/messages.d.ts.map +1 -0
- package/es/esf/components/magic-box/services/api.d.ts +1 -0
- package/es/esf/components/magic-box/services/api.d.ts.map +1 -0
- package/es/esf/components/magic-box/services/api.js +15 -29
- package/es/esf/components/magic-box/services/widgets.d.ts +1 -0
- package/es/esf/components/magic-box/services/widgets.d.ts.map +1 -0
- package/es/esf/components/magic-box/services/widgets.js +2 -14
- package/es/esf/components/parcours-esf/index.d.ts +1 -0
- package/es/esf/components/parcours-esf/index.d.ts.map +1 -0
- package/es/esf/components/parcours-esf/parcours-esf.d.ts +2 -2
- package/es/esf/components/parcours-esf/parcours-esf.d.ts.map +1 -0
- package/es/esf/components/parcours-esf/{parcours-esf.jsx → parcours-esf.js} +3 -11
- package/es/esf/components/period-picker/controls.d.ts +2 -2
- package/es/esf/components/period-picker/controls.d.ts.map +1 -0
- package/es/esf/components/period-picker/controls.js +2 -8
- package/es/esf/components/period-picker/date-display.d.ts +2 -2
- package/es/esf/components/period-picker/date-display.d.ts.map +1 -0
- package/es/esf/components/period-picker/date-display.js +5 -13
- package/es/esf/components/period-picker/days.d.ts +1 -0
- package/es/esf/components/period-picker/days.d.ts.map +1 -0
- package/es/esf/components/period-picker/days.js +4 -14
- package/es/esf/components/period-picker/extended-stay-picker.d.ts +2 -2
- package/es/esf/components/period-picker/extended-stay-picker.d.ts.map +1 -0
- package/es/esf/components/period-picker/extended-stay-picker.js +2 -11
- package/es/esf/components/period-picker/index.d.ts +1 -0
- package/es/esf/components/period-picker/index.d.ts.map +1 -0
- package/es/esf/components/period-picker/messages.d.ts +1 -0
- package/es/esf/components/period-picker/messages.d.ts.map +1 -0
- package/es/esf/components/period-picker/period-picker.d.ts +2 -2
- package/es/esf/components/period-picker/period-picker.d.ts.map +1 -0
- package/es/esf/components/period-picker/period-picker.js +7 -19
- package/es/esf/components/period-picker/popup.d.ts +1 -0
- package/es/esf/components/period-picker/popup.d.ts.map +1 -0
- package/es/esf/components/period-picker/popup.js +2 -7
- package/es/esf/components/period-picker/services/dates.d.ts +1 -0
- package/es/esf/components/period-picker/services/dates.d.ts.map +1 -0
- package/es/esf/components/period-picker/services/dates.js +2 -5
- package/es/esf/components/period-picker/services/events.d.ts +1 -0
- package/es/esf/components/period-picker/services/events.d.ts.map +1 -0
- package/es/esf/components/period-picker/services/motions.d.ts +1 -0
- package/es/esf/components/period-picker/services/motions.d.ts.map +1 -0
- package/es/esf/components/period-picker/services/sections.d.ts +1 -0
- package/es/esf/components/period-picker/services/sections.d.ts.map +1 -0
- package/es/esf/components/period-picker/services/stay.d.ts +1 -0
- package/es/esf/components/period-picker/services/stay.d.ts.map +1 -0
- package/es/esf/components/period-picker/title.d.ts +2 -2
- package/es/esf/components/period-picker/title.d.ts.map +1 -0
- package/es/esf/components/period-picker/title.js +3 -4
- package/es/esf/components/period-picker/warning.d.ts +2 -2
- package/es/esf/components/period-picker/warning.d.ts.map +1 -0
- package/es/esf/components/period-picker/warning.js +2 -16
- package/es/esf/components/period-picker/weeks.d.ts +1 -0
- package/es/esf/components/period-picker/weeks.d.ts.map +1 -0
- package/es/esf/components/period-picker/weeks.js +7 -50
- package/es/esf/components/reviews.d.ts +2 -2
- package/es/esf/components/reviews.d.ts.map +1 -0
- package/es/esf/components/reviews.js +5 -13
- package/es/esf/components/village-maps/icons.d.ts +6 -6
- package/es/esf/components/village-maps/icons.d.ts.map +1 -0
- package/es/esf/components/village-maps/icons.js +7 -32
- package/es/esf/components/village-maps/index.d.ts +2 -1
- package/es/esf/components/village-maps/index.d.ts.map +1 -0
- package/es/esf/components/village-maps/index.js +21 -62
- package/es/esf/components/village-maps/messages.d.ts +1 -0
- package/es/esf/components/village-maps/messages.d.ts.map +1 -0
- package/es/esf/components/village-maps/utils.d.ts +1 -0
- package/es/esf/components/village-maps/utils.d.ts.map +1 -0
- package/es/esf/components/village-maps/utils.js +1 -2
- package/es/esf/components/week-picker/index.d.ts +2 -1
- package/es/esf/components/week-picker/index.d.ts.map +1 -0
- package/es/esf/components/week-picker/index.js +5 -54
- package/es/esf/components/week-picker/messages.d.ts +1 -0
- package/es/esf/components/week-picker/messages.d.ts.map +1 -0
- package/es/esf/components/week-picker/utils.d.ts +1 -0
- package/es/esf/components/week-picker/utils.d.ts.map +1 -0
- package/es/esf/components/week-picker/utils.js +0 -3
- package/es/esf/components/week-picker/week.d.ts +2 -2
- package/es/esf/components/week-picker/week.d.ts.map +1 -0
- package/es/esf/components/week-picker/week.js +2 -11
- package/es/esf/components/week-picker-2/index.d.ts +2 -1
- package/es/esf/components/week-picker-2/index.d.ts.map +1 -0
- package/es/esf/components/week-picker-2/index.js +5 -56
- package/es/esf/components/week-picker-2/messages.d.ts +1 -0
- package/es/esf/components/week-picker-2/messages.d.ts.map +1 -0
- package/es/esf/components/week-picker-2/utils.d.ts +1 -0
- package/es/esf/components/week-picker-2/utils.d.ts.map +1 -0
- package/es/esf/components/week-picker-2/utils.js +0 -3
- package/es/esf/components/week-picker-2/week.d.ts +2 -2
- package/es/esf/components/week-picker-2/week.d.ts.map +1 -0
- package/es/esf/components/week-picker-2/week.js +2 -12
- package/es/esf/hooks/use-affiliation.d.ts +1 -0
- package/es/esf/hooks/use-affiliation.d.ts.map +1 -0
- package/es/esf/hooks/use-booking-links.d.ts +1 -0
- package/es/esf/hooks/use-booking-links.d.ts.map +1 -0
- package/es/esf/hooks/use-booking-links.js +6 -16
- package/es/esf/hooks/use-reviews.d.ts +1 -0
- package/es/esf/hooks/use-reviews.d.ts.map +1 -0
- package/es/esf/hooks/use-reviews.js +3 -12
- package/es/esf/hooks/use-season-products.d.ts +1 -0
- package/es/esf/hooks/use-season-products.d.ts.map +1 -0
- package/es/esf/hooks/use-season-products.js +3 -13
- package/es/future/components/msem/index.d.ts +1 -0
- package/es/future/components/msem/index.d.ts.map +1 -0
- package/es/future/components/msem/script.d.ts +2 -2
- package/es/future/components/msem/script.d.ts.map +1 -0
- package/es/future/components/msem/script.js +8 -0
- package/es/future/components/msem/tunnel.d.ts +1 -0
- package/es/future/components/msem/tunnel.d.ts.map +1 -0
- package/es/future/components/msem/{tunnel.jsx → tunnel.js} +9 -6
- package/es/future/components/msem/types.d.ts +1 -0
- package/es/future/components/msem/types.d.ts.map +1 -0
- package/es/future/components/msem/utils.d.ts +1 -0
- package/es/future/components/msem/utils.d.ts.map +1 -0
- package/es/future/components/msem/utils.js +1 -2
- package/es/future/components/plausible/hooks/use-plausible.d.ts +2 -1
- package/es/future/components/plausible/hooks/use-plausible.d.ts.map +1 -0
- package/es/future/components/plausible/hooks/use-plausible.js +6 -6
- package/es/future/components/plausible/index.d.ts +1 -0
- package/es/future/components/plausible/index.d.ts.map +1 -0
- package/es/future/components/plausible/plausible.d.ts +2 -2
- package/es/future/components/plausible/plausible.d.ts.map +1 -0
- package/es/{common/components/plausible/plausible.jsx → future/components/plausible/plausible.js} +2 -3
- package/es/future/components/plausible/services/callback.d.ts +1 -0
- package/es/future/components/plausible/services/callback.d.ts.map +1 -0
- package/es/future/components/plausible/services/callback.js +14 -20
- package/es/future/components/plausible/services/load.d.ts +1 -0
- package/es/future/components/plausible/services/load.d.ts.map +1 -0
- package/es/future/components/plausible/services/send-goal.d.ts +1 -0
- package/es/future/components/plausible/services/send-goal.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/api.d.ts +1 -0
- package/es/lbm/components/lumiplan/api.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/api.js +31 -57
- package/es/lbm/components/lumiplan/domain.d.ts +1 -0
- package/es/lbm/components/lumiplan/domain.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/domain.js +34 -0
- package/es/lbm/components/lumiplan/header.d.ts +2 -2
- package/es/lbm/components/lumiplan/header.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/{header.jsx → header.js} +2 -9
- package/es/lbm/components/lumiplan/i18n/translations.d.ts +2 -2
- package/es/lbm/components/lumiplan/i18n/translations.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/i18n/{translations.jsx → translations.js} +2 -2
- package/es/lbm/components/lumiplan/icons/alert.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/alert.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/alert.js +2 -4
- package/es/lbm/components/lumiplan/icons/avalanche-risk.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/avalanche-risk.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/avalanche-risk.js +2 -3
- package/es/lbm/components/lumiplan/icons/cabin.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/cabin.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/cabin.js +2 -3
- package/es/lbm/components/lumiplan/icons/check.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/check.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/check.js +2 -3
- package/es/lbm/components/lumiplan/icons/close.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/close.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/close.js +2 -4
- package/es/lbm/components/lumiplan/icons/cloud.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/cloud.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/cloud.js +2 -4
- package/es/lbm/components/lumiplan/icons/dawn.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/dawn.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/dawn.js +2 -4
- package/es/lbm/components/lumiplan/icons/fog.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/fog.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/fog.js +2 -5
- package/es/lbm/components/lumiplan/icons/heavy-snow.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/heavy-snow.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/heavy-snow.js +2 -8
- package/es/lbm/components/lumiplan/icons/information.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/information.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/information.js +2 -4
- package/es/lbm/components/lumiplan/icons/isothermal.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/isothermal.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/isothermal.js +2 -8
- package/es/lbm/components/lumiplan/icons/lifts/index.d.ts +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/index.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/tapis-roulant.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/lifts/tapis-roulant.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/tapis-roulant.js +2 -3
- package/es/lbm/components/lumiplan/icons/lifts/telecabine.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/lifts/telecabine.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/telecabine.js +2 -3
- package/es/lbm/components/lumiplan/icons/lifts/telesiege-debrayable.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/lifts/telesiege-debrayable.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/telesiege-debrayable.js +2 -6
- package/es/lbm/components/lumiplan/icons/lifts/telesiege.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/lifts/telesiege.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/telesiege.js +2 -3
- package/es/lbm/components/lumiplan/icons/lifts/teleski.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/lifts/teleski.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/teleski.js +2 -3
- package/es/lbm/components/lumiplan/icons/link.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/link.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/link.js +2 -4
- package/es/lbm/components/lumiplan/icons/night.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/night.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/night.js +2 -3
- package/es/lbm/components/lumiplan/icons/rain.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/rain.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/rain.js +2 -8
- package/es/lbm/components/lumiplan/icons/rainy-rainy.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/rainy-rainy.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/rainy-rainy.js +2 -4
- package/es/lbm/components/lumiplan/icons/rainy.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/rainy.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/rainy.js +2 -4
- package/es/lbm/components/lumiplan/icons/reload.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/reload.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/reload.js +2 -11
- package/es/lbm/components/lumiplan/icons/road-condition.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/road-condition.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/road-condition.js +2 -8
- package/es/lbm/components/lumiplan/icons/slopes.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/slopes.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/slopes.js +2 -3
- package/es/lbm/components/lumiplan/icons/snow-cover.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/snow-cover.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/snow-cover.js +2 -3
- package/es/lbm/components/lumiplan/icons/snow.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/snow.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/snow.js +2 -6
- package/es/lbm/components/lumiplan/icons/storm.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/storm.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/storm.js +2 -3
- package/es/lbm/components/lumiplan/icons/sun.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/sun.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/sun.js +2 -3
- package/es/lbm/components/lumiplan/icons/sunny.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/sunny.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/sunny.js +2 -5
- package/es/lbm/components/lumiplan/icons/time.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/time.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/time.js +2 -4
- package/es/lbm/components/lumiplan/icons/trails/accrobranche.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/accrobranche.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/accrobranche.js +2 -4
- package/es/lbm/components/lumiplan/icons/trails/boarder-cross.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/boarder-cross.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/boarder-cross.js +2 -5
- package/es/lbm/components/lumiplan/icons/trails/champ-de-bosse.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/champ-de-bosse.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/champ-de-bosse.js +2 -4
- package/es/lbm/components/lumiplan/icons/trails/freeride.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/freeride.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/freeride.js +2 -3
- package/es/lbm/components/lumiplan/icons/trails/index.d.ts +1 -0
- package/es/lbm/components/lumiplan/icons/trails/index.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/luge-sur-rail.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/luge-sur-rail.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/luge-sur-rail.js +2 -4
- package/es/lbm/components/lumiplan/icons/trails/luge.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/luge.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/luge.js +2 -3
- package/es/lbm/components/lumiplan/icons/trails/pieton.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/pieton.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/pieton.js +2 -3
- package/es/lbm/components/lumiplan/icons/trails/piste-eclairee.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/piste-eclairee.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/piste-eclairee.js +2 -4
- package/es/lbm/components/lumiplan/icons/trails/raquette.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/raquette.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/raquette.js +2 -15
- package/es/lbm/components/lumiplan/icons/trails/ski-alpin.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/ski-alpin.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/ski-alpin.js +2 -3
- package/es/lbm/components/lumiplan/icons/trails/ski-fond.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/ski-fond.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/ski-fond.js +2 -3
- package/es/lbm/components/lumiplan/icons/trails/snowpark.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/snowpark.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/snowpark.js +2 -3
- package/es/lbm/components/lumiplan/icons/trails/snowtubing.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/snowtubing.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/snowtubing.js +2 -5
- package/es/lbm/components/lumiplan/icons/trails/tyrolienne.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/tyrolienne.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/tyrolienne.js +2 -3
- package/es/lbm/components/lumiplan/icons/trails/vtt.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/vtt.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/vtt.js +2 -4
- package/es/lbm/components/lumiplan/icons/trails/zone-freeride.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/trails/zone-freeride.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/zone-freeride.js +2 -3
- package/es/lbm/components/lumiplan/icons/variable-snow.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/variable-snow.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/variable-snow.js +2 -7
- package/es/lbm/components/lumiplan/icons/variable-storm.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/variable-storm.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/variable-storm.js +2 -4
- package/es/lbm/components/lumiplan/icons/variable.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/variable.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/variable.js +2 -4
- package/es/lbm/components/lumiplan/icons/warning.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/warning.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/warning.js +2 -4
- package/es/lbm/components/lumiplan/icons/wind.d.ts +2 -2
- package/es/lbm/components/lumiplan/icons/wind.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/wind.js +2 -3
- package/es/lbm/components/lumiplan/index.d.ts +1 -0
- package/es/lbm/components/lumiplan/index.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/lumiplan.d.ts +2 -2
- package/es/lbm/components/lumiplan/lumiplan.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/{lumiplan.jsx → lumiplan.js} +20 -39
- package/es/lbm/components/lumiplan/opening.d.ts +1 -0
- package/es/lbm/components/lumiplan/opening.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/opening.js +56 -0
- package/es/lbm/components/lumiplan/pois.d.ts +1 -0
- package/es/lbm/components/lumiplan/pois.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/pois.js +184 -0
- package/es/lbm/components/lumiplan/print-button.d.ts +2 -2
- package/es/lbm/components/lumiplan/print-button.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/print-button.js +14 -0
- package/es/lbm/components/lumiplan/resort-selector.d.ts +2 -2
- package/es/lbm/components/lumiplan/resort-selector.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/{resort-selector.jsx → resort-selector.js} +10 -16
- package/es/lbm/components/lumiplan/road-condition.d.ts +1 -0
- package/es/lbm/components/lumiplan/road-condition.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/road-condition.js +27 -0
- package/es/lbm/components/lumiplan/signature.d.ts +2 -2
- package/es/lbm/components/lumiplan/signature.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/{signature.jsx → signature.js} +2 -3
- package/es/lbm/components/lumiplan/todays-tips.d.ts +1 -0
- package/es/lbm/components/lumiplan/todays-tips.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/todays-tips.js +23 -0
- package/es/lbm/components/lumiplan/toolbar.d.ts +2 -2
- package/es/lbm/components/lumiplan/toolbar.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/toolbar.js +8 -0
- package/es/lbm/components/lumiplan/types.d.ts +1 -0
- package/es/lbm/components/lumiplan/types.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/avalanche-risk.d.ts +2 -2
- package/es/lbm/components/lumiplan/weather/avalanche-risk.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/avalanche-risk.js +12 -0
- package/es/lbm/components/lumiplan/weather/index.d.ts +1 -0
- package/es/lbm/components/lumiplan/weather/index.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/snow-data.d.ts +2 -2
- package/es/lbm/components/lumiplan/weather/snow-data.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/snow-data.js +8 -0
- package/es/lbm/components/lumiplan/weather/weather-data.d.ts +2 -2
- package/es/lbm/components/lumiplan/weather/weather-data.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/weather-data.js +16 -0
- package/es/lbm/components/lumiplan/weather/weather-days.d.ts +2 -2
- package/es/lbm/components/lumiplan/weather/weather-days.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/weather-days.js +53 -0
- package/es/lbm/components/lumiplan/weather/weather-icon.d.ts +17 -17
- package/es/lbm/components/lumiplan/weather/weather-icon.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/{weather-icon.jsx → weather-icon.js} +2 -2
- package/es/lbm/components/lumiplan/weather/weather-zones.d.ts +2 -2
- package/es/lbm/components/lumiplan/weather/weather-zones.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/{weather-zones.jsx → weather-zones.js} +18 -27
- package/es/lbm/components/lumiplan/weather/weather.d.ts +1 -0
- package/es/lbm/components/lumiplan/weather/weather.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/weather.js +55 -0
- package/package.json +20 -20
- package/es/common/components/admin-links/admin-links.jsx +0 -65
- package/es/common/components/cross-selling-editor/override-trigger-form.jsx +0 -68
- package/es/common/components/cross-selling-editor/overrides-list.jsx +0 -74
- package/es/common/components/cross-selling-editor/rule.jsx +0 -55
- package/es/common/components/cross-selling-editor/rules.jsx +0 -53
- package/es/common/components/cross-selling-editor/tester-tunnel-offer.jsx +0 -26
- package/es/common/components/custom-contact-form/custom-contact-form.jsx +0 -121
- package/es/common/components/gesco-contact-form/gesco-contact-form.jsx +0 -152
- package/es/common/components/instant-search/links.jsx +0 -45
- package/es/common/components/instant-search/no-product.jsx +0 -19
- package/es/common/components/instant-search/products.jsx +0 -67
- package/es/common/components/instant-search/results.jsx +0 -68
- package/es/common/components/msem-preset-editor/components/form.jsx +0 -28
- package/es/common/components/msem-preset-editor/components/widget-list-item.jsx +0 -97
- package/es/common/components/msem-preset-editor/components/widget-list.jsx +0 -46
- package/es/common/components/msem-preset-editor/editor-dialog.jsx +0 -45
- package/es/common/components/msem-preset-editor/editors/elloha.jsx +0 -95
- package/es/common/components/msem-preset-editor/editors/lodgings.jsx +0 -235
- package/es/common/components/msem-preset-editor/editors/ski-passes-jb.jsx +0 -89
- package/es/common/components/msem-preset-editor/editors/ski-passes.jsx +0 -215
- package/es/common/components/msem-preset-editor/msem-preset-editor.jsx +0 -176
- package/es/common/components/tabbed-zones.jsx +0 -68
- package/es/common/utils/msem-widget.jsx +0 -49
- package/es/future/components/msem/script.jsx +0 -7
- package/es/lbm/components/lumiplan/domain.jsx +0 -74
- package/es/lbm/components/lumiplan/opening.jsx +0 -108
- package/es/lbm/components/lumiplan/pois.jsx +0 -233
- package/es/lbm/components/lumiplan/print-button.jsx +0 -27
- package/es/lbm/components/lumiplan/road-condition.jsx +0 -59
- package/es/lbm/components/lumiplan/todays-tips.jsx +0 -28
- package/es/lbm/components/lumiplan/toolbar.jsx +0 -15
- package/es/lbm/components/lumiplan/weather/avalanche-risk.jsx +0 -22
- package/es/lbm/components/lumiplan/weather/snow-data.jsx +0 -44
- package/es/lbm/components/lumiplan/weather/weather-data.jsx +0 -85
- package/es/lbm/components/lumiplan/weather/weather-days.jsx +0 -60
- package/es/lbm/components/lumiplan/weather/weather.jsx +0 -80
- /package/es/common/components/admin-links/{index.jsx → index.js} +0 -0
- /package/es/common/components/collapsible/{index.jsx → index.js} +0 -0
- /package/es/common/components/cross-selling-editor/{index.jsx → index.js} +0 -0
- /package/es/common/components/instant-search/{index.jsx → index.js} +0 -0
- /package/es/common/components/msem-preset-editor/editors/{index.jsx → index.js} +0 -0
- /package/es/common/components/msem-preset-linker/{index.jsx → index.js} +0 -0
- /package/es/common/components/scrolling-carousel/{index.jsx → index.js} +0 -0
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
2
|
import * as React from "react";
|
|
11
3
|
import { useInView } from "framer-motion";
|
|
12
4
|
import getConfig from "next/config";
|
|
@@ -50,9 +42,9 @@ export default function Lumiplan() {
|
|
|
50
42
|
const [timestamp, setTimestamp] = React.useState(new Date());
|
|
51
43
|
const [signature, setSignature] = React.useState();
|
|
52
44
|
const [mode, setMode] = React.useState("weather");
|
|
53
|
-
const fetchAllData = () =>
|
|
45
|
+
const fetchAllData = async () => {
|
|
54
46
|
try {
|
|
55
|
-
const [opening, weather, access, domain, pois, signature] =
|
|
47
|
+
const [opening, weather, access, domain, pois, signature] = await Promise.all([
|
|
56
48
|
API.getResortOpening(currentResortId),
|
|
57
49
|
Promise.all([
|
|
58
50
|
API.getWeather(currentResortId),
|
|
@@ -82,28 +74,28 @@ export default function Lumiplan() {
|
|
|
82
74
|
setPois(null);
|
|
83
75
|
setSignature(null);
|
|
84
76
|
}
|
|
85
|
-
}
|
|
77
|
+
};
|
|
86
78
|
React.useEffect(() => {
|
|
87
79
|
setResortOpening(undefined);
|
|
88
80
|
if (isTodaysTipsInView || isOpeningsInView) {
|
|
89
|
-
const fetchData = () =>
|
|
81
|
+
const fetchData = async () => {
|
|
90
82
|
try {
|
|
91
|
-
const result =
|
|
83
|
+
const result = await API.getResortOpening(currentResortId);
|
|
92
84
|
setResortOpening(result);
|
|
93
85
|
}
|
|
94
86
|
catch (error) {
|
|
95
87
|
setResortOpening(null);
|
|
96
88
|
}
|
|
97
|
-
}
|
|
89
|
+
};
|
|
98
90
|
fetchData();
|
|
99
91
|
}
|
|
100
92
|
}, [currentResortId, isOpeningsInView, isTodaysTipsInView]);
|
|
101
93
|
React.useEffect(() => {
|
|
102
94
|
setWeather(undefined);
|
|
103
95
|
if (isWeatherInView) {
|
|
104
|
-
const fetchData = () =>
|
|
96
|
+
const fetchData = async () => {
|
|
105
97
|
try {
|
|
106
|
-
const [weather, snow] =
|
|
98
|
+
const [weather, snow] = await Promise.all([
|
|
107
99
|
API.getWeather(currentResortId),
|
|
108
100
|
API.getSnow(currentResortId),
|
|
109
101
|
]);
|
|
@@ -112,31 +104,31 @@ export default function Lumiplan() {
|
|
|
112
104
|
catch (error) {
|
|
113
105
|
setWeather(null);
|
|
114
106
|
}
|
|
115
|
-
}
|
|
107
|
+
};
|
|
116
108
|
fetchData();
|
|
117
109
|
}
|
|
118
110
|
}, [currentResortId, isWeatherInView]);
|
|
119
111
|
React.useEffect(() => {
|
|
120
112
|
setResortAccess(undefined);
|
|
121
113
|
if (isRoadConditionInView) {
|
|
122
|
-
const fetchData = () =>
|
|
114
|
+
const fetchData = async () => {
|
|
123
115
|
try {
|
|
124
|
-
const result =
|
|
116
|
+
const result = await API.getResortAccess(currentResortId);
|
|
125
117
|
setResortAccess(result);
|
|
126
118
|
}
|
|
127
119
|
catch (error) {
|
|
128
120
|
setResortAccess(null);
|
|
129
121
|
}
|
|
130
|
-
}
|
|
122
|
+
};
|
|
131
123
|
fetchData();
|
|
132
124
|
}
|
|
133
125
|
}, [currentResortId, isRoadConditionInView]);
|
|
134
126
|
React.useEffect(() => {
|
|
135
127
|
setDomain(undefined);
|
|
136
128
|
if (isDomainInView) {
|
|
137
|
-
const fetchData = () =>
|
|
129
|
+
const fetchData = async () => {
|
|
138
130
|
try {
|
|
139
|
-
const [slopes, lifts] =
|
|
131
|
+
const [slopes, lifts] = await Promise.all([
|
|
140
132
|
API.getSlopes(currentResortId),
|
|
141
133
|
API.getLifts(currentResortId),
|
|
142
134
|
]);
|
|
@@ -145,35 +137,24 @@ export default function Lumiplan() {
|
|
|
145
137
|
catch (error) {
|
|
146
138
|
setDomain(null);
|
|
147
139
|
}
|
|
148
|
-
}
|
|
140
|
+
};
|
|
149
141
|
fetchData();
|
|
150
142
|
}
|
|
151
143
|
}, [currentResortId, isDomainInView]);
|
|
152
144
|
React.useEffect(() => {
|
|
153
145
|
setPois(undefined);
|
|
154
146
|
if (isPoisInView) {
|
|
155
|
-
const fetchData = () =>
|
|
147
|
+
const fetchData = async () => {
|
|
156
148
|
try {
|
|
157
|
-
const result =
|
|
149
|
+
const result = await API.getPois(currentResortId);
|
|
158
150
|
setPois(result);
|
|
159
151
|
}
|
|
160
152
|
catch (error) {
|
|
161
153
|
setPois(null);
|
|
162
154
|
}
|
|
163
|
-
}
|
|
155
|
+
};
|
|
164
156
|
fetchData();
|
|
165
157
|
}
|
|
166
158
|
}, [currentResortId, isPoisInView]);
|
|
167
|
-
return (
|
|
168
|
-
<Header date={timestamp} mode={mode}/>
|
|
169
|
-
{!disablePrint && (<Toolbar setMode={setMode} fetchAllData={fetchAllData}/>)}
|
|
170
|
-
<ResortSelector resorts={lumiplanResorts} currentResortId={currentResortId} setCurrentResortId={setCurrentResortId}/>
|
|
171
|
-
<TodaysTips ref={todaysTipsRef} resortOpening={resortOpening}/>
|
|
172
|
-
<Weather ref={weatherRef} weather={weather}/>
|
|
173
|
-
<RoadCondition ref={roadConditionRef} resortAccess={resortAccess}/>
|
|
174
|
-
<Domain ref={domainRef} domain={domain}/>
|
|
175
|
-
<Pois ref={poisRef} pois={pois}/>
|
|
176
|
-
{showOpening && (<Opening ref={openingsRef} resortOpening={resortOpening} showOpening={currentResort.showOpening}/>)}
|
|
177
|
-
<Signature signature={signature}/>
|
|
178
|
-
</div>);
|
|
159
|
+
return (_jsxs("div", { "data-mode": mode, className: css.lumiplan, children: [_jsx(Header, { date: timestamp, mode: mode }), !disablePrint && (_jsx(Toolbar, { setMode: setMode, fetchAllData: fetchAllData })), _jsx(ResortSelector, { resorts: lumiplanResorts, currentResortId: currentResortId, setCurrentResortId: setCurrentResortId }), _jsx(TodaysTips, { ref: todaysTipsRef, resortOpening: resortOpening }), _jsx(Weather, { ref: weatherRef, weather: weather }), _jsx(RoadCondition, { ref: roadConditionRef, resortAccess: resortAccess }), _jsx(Domain, { ref: domainRef, domain: domain }), _jsx(Pois, { ref: poisRef, pois: pois }), showOpening && (_jsx(Opening, { ref: openingsRef, resortOpening: resortOpening, showOpening: currentResort.showOpening })), _jsx(Signature, { signature: signature })] }));
|
|
179
160
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opening.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/lumiplan/opening.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,KAAK,EAAE,aAAa,EAAO,MAAM,SAAS,CAAC;AAGlD,KAAK,KAAK,GAAG;IACX,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB,CAAC;AAEF,QAAA,MAAM,OAAO,8EA+EZ,CAAC;AA0CF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import classNames from "classnames";
|
|
4
|
+
import { useUbloContext } from "ublo/with-ublo";
|
|
5
|
+
import Loader from "dt-design-system/es/loader";
|
|
6
|
+
import * as Icons from "dt-design-system/es/icons";
|
|
7
|
+
import NightIcon from "./icons/night";
|
|
8
|
+
import DawnIcon from "./icons/dawn";
|
|
9
|
+
import T, { t } from "./i18n/translations";
|
|
10
|
+
import css from "./opening.module.css";
|
|
11
|
+
const Opening = React.forwardRef(({ resortOpening, showOpening }, ref) => {
|
|
12
|
+
const { lang } = useUbloContext();
|
|
13
|
+
let tagCode = "opening.navigation-title-full";
|
|
14
|
+
if (!showOpening?.includes("dawn")) {
|
|
15
|
+
tagCode = "opening.navigation-title-night";
|
|
16
|
+
}
|
|
17
|
+
else if (!showOpening?.includes("night")) {
|
|
18
|
+
tagCode = "opening.navigation-title-dawn";
|
|
19
|
+
}
|
|
20
|
+
if (resortOpening === undefined) {
|
|
21
|
+
return (_jsx("div", { ref: ref, className: css.loader, "data-tags": t(lang, tagCode), children: _jsx(Loader, { variant: "overlay" }) }));
|
|
22
|
+
}
|
|
23
|
+
if (!resortOpening?.availability) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
const { dawnSkiingDays, nightSkiingDays } = resortOpening.availability;
|
|
27
|
+
const dayIndex = new Date().getDay() - 1;
|
|
28
|
+
const orderedDays = reorganizeDays(dawnSkiingDays, dayIndex);
|
|
29
|
+
const orderedNights = reorganizeDays(nightSkiingDays, dayIndex);
|
|
30
|
+
return (_jsx("div", { ref: ref, className: css.opening, "data-tags": t(lang, tagCode), children: _jsx("div", { className: css.tableOuter, children: _jsx("div", { className: css.tableInner, children: _jsxs("table", { className: css.table, children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", {}), orderedDays.map((day, i) => {
|
|
31
|
+
const dayNumber = new Date();
|
|
32
|
+
dayNumber.setDate(dayNumber.getDate() + i);
|
|
33
|
+
const weekDay = t(lang, `opening.days.${day.dayType}`);
|
|
34
|
+
return (_jsxs("th", { className: css.heading, children: [_jsx(_Fragment, { children: _jsxs("div", { className: css.headingInner, children: [weekDay, " ", dayNumber.getDate()] }) }), _jsx(_Fragment, { children: _jsxs("div", { className: css.headingPrinted, children: [formatPrintedDays(weekDay), dayNumber.getDate()] }) })] }, day.dayType));
|
|
35
|
+
})] }) }), _jsxs("tbody", { children: [showOpening?.includes("dawn") && (_jsx("tr", { children: _jsx(Rows, { kind: "dawn", rows: orderedDays }) })), showOpening?.includes("night") && (_jsx("tr", { children: _jsx(Rows, { kind: "night", rows: orderedNights }) }))] })] }) }) }) }));
|
|
36
|
+
});
|
|
37
|
+
function Rows({ kind, rows }) {
|
|
38
|
+
const Icon = kind === "dawn" ? DawnIcon : NightIcon;
|
|
39
|
+
return (_jsxs(_Fragment, { children: [_jsx("td", { className: css.heading, children: _jsxs("span", { className: css.rowHeadingInner, children: [_jsx(Icon, {}), _jsx("span", { className: css.kindPrinted, children: _jsx(T, { id: `opening.${kind}` }) })] }) }), rows.map(({ dayType, open }) => {
|
|
40
|
+
const code = open ? "opening.available" : "opening.unavailable";
|
|
41
|
+
const classes = classNames(css.cell, {
|
|
42
|
+
[css.cellAvailable]: open,
|
|
43
|
+
});
|
|
44
|
+
return (_jsx("td", { className: classes, children: _jsxs("span", { className: css.cellInner, children: [_jsx("span", { className: css.hiddenPrint, children: _jsx(T, { id: code }) }), !open && _jsx(Icons.Cross, {}), open && _jsx(Icons.Check, { className: css.showPrint })] }) }, `${dayType}-${kind}`));
|
|
45
|
+
})] }));
|
|
46
|
+
}
|
|
47
|
+
Opening.displayName = "Opening";
|
|
48
|
+
export default Opening;
|
|
49
|
+
function reorganizeDays(days, index) {
|
|
50
|
+
const daysBefore = days.slice(0, index);
|
|
51
|
+
const daysAfter = days.slice(index);
|
|
52
|
+
return [...daysAfter, ...daysBefore];
|
|
53
|
+
}
|
|
54
|
+
function formatPrintedDays(day) {
|
|
55
|
+
return `${day.slice(0, 3)}. `;
|
|
56
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pois.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/lumiplan/pois.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,OAAO,KAAK,EAAO,QAAQ,EAAQ,MAAM,SAAS,CAAC;AA4DnD,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CACxB,CAAC;AAYF,QAAA,MAAM,IAAI,8EAoQR,CAAC;AAIH,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import getConfig from "next/config";
|
|
4
|
+
import Image from "next/image";
|
|
5
|
+
import classNames from "classnames";
|
|
6
|
+
import { useUbloContext } from "ublo/with-ublo";
|
|
7
|
+
import Button from "dt-design-system/es/button";
|
|
8
|
+
import Tooltip from "dt-design-system/es/tooltip";
|
|
9
|
+
import Popover from "dt-design-system/es/popover";
|
|
10
|
+
import Loader from "dt-design-system/es/loader";
|
|
11
|
+
import * as Icons from "dt-design-system/es/icons";
|
|
12
|
+
import useWindowSizes from "../../../common/hooks/use-window-sizes";
|
|
13
|
+
import * as LiftsIcons from "./icons/lifts";
|
|
14
|
+
import * as TrailIcons from "./icons/trails";
|
|
15
|
+
import LinkIcon from "./icons/link";
|
|
16
|
+
import T, { t } from "./i18n/translations";
|
|
17
|
+
import css from "./pois.module.css";
|
|
18
|
+
const LIFT_ICONS = {
|
|
19
|
+
TRAIN: LiftsIcons.Teleski,
|
|
20
|
+
FUNICULAR: LiftsIcons.Teleski,
|
|
21
|
+
TRAM: LiftsIcons.Teleski,
|
|
22
|
+
CABRIOLET_GONDOLA: LiftsIcons.Telecabine,
|
|
23
|
+
GONDOLA: LiftsIcons.Telecabine,
|
|
24
|
+
COMBINED_CHAIR_GONDOLA_LIFT: LiftsIcons.Telecabine,
|
|
25
|
+
DETACHABLE_BUBBLE_CHAIRLIFT: LiftsIcons.Telecabine,
|
|
26
|
+
DETACHABLE_CHAIRLIFT: LiftsIcons.TelesiegeDebrayable,
|
|
27
|
+
CHAIRLIFT: LiftsIcons.Telesiege,
|
|
28
|
+
SURFACE_LIFT: LiftsIcons.Teleski,
|
|
29
|
+
MAGIC_CARPET: LiftsIcons.TapisRoulant,
|
|
30
|
+
ROPE_TOW: LiftsIcons.Teleski,
|
|
31
|
+
DEFAULT: LiftsIcons.Teleski,
|
|
32
|
+
};
|
|
33
|
+
const TRAIL_ICONS = {
|
|
34
|
+
BIKE_PARK: TrailIcons.VTT,
|
|
35
|
+
BOARDERCROSS: TrailIcons.BoarderCross,
|
|
36
|
+
BUMP_TRAIL: TrailIcons.ChampDeBosse,
|
|
37
|
+
COASTER: TrailIcons.LugeSurRail,
|
|
38
|
+
CROSS_COUNTRY_MOUNTAIN_BIKING: TrailIcons.BoarderCross,
|
|
39
|
+
CROSS_COUNTRY_SKIING: TrailIcons.SkiAlpin,
|
|
40
|
+
DOWNHILL_MOUNTAIN_BIKING: TrailIcons.VTT,
|
|
41
|
+
DOWNHILL_SKIING: TrailIcons.SkiAlpin,
|
|
42
|
+
EBIKE: TrailIcons.VTT,
|
|
43
|
+
ENDURO: TrailIcons.VTT,
|
|
44
|
+
FREERIDE_AREA_OFF_PIST: TrailIcons.SkiAlpin,
|
|
45
|
+
FREERIDE_SKI_ITINERARY: TrailIcons.SkiAlpin,
|
|
46
|
+
FUN_ZONE: TrailIcons.Freeride,
|
|
47
|
+
GATE: TrailIcons.Freeride,
|
|
48
|
+
GLADES: TrailIcons.Freeride,
|
|
49
|
+
ILLUMINATED_TRAIL: TrailIcons.PisteEclairee,
|
|
50
|
+
MULTI_USE_TRAIL: TrailIcons.Freeride,
|
|
51
|
+
MTB_ENDURO: TrailIcons.VTT,
|
|
52
|
+
PATH: TrailIcons.Pieton,
|
|
53
|
+
PEDESTRIAN: TrailIcons.Pieton,
|
|
54
|
+
ROUTE_OF_CROSS_COUNTRY: TrailIcons.SkiAlpin,
|
|
55
|
+
SKI_TOURING: TrailIcons.Freeride,
|
|
56
|
+
SLEDDING_HILL: TrailIcons.Luge,
|
|
57
|
+
SNOWPARK: TrailIcons.Snowpark,
|
|
58
|
+
SNOWPARK_LINE: TrailIcons.Snowpark,
|
|
59
|
+
SNOWSHOE: TrailIcons.Raquette,
|
|
60
|
+
SNOWTUBING: TrailIcons.Snowtubing,
|
|
61
|
+
TERRAIN_PARK: TrailIcons.Snowpark,
|
|
62
|
+
TERRAIN_PARK_US: TrailIcons.Snowpark,
|
|
63
|
+
TRAIL_RUNNING: TrailIcons.Pieton,
|
|
64
|
+
TREETOP_ADVENTURE_PARK: TrailIcons.Accrobranche,
|
|
65
|
+
TYROLEAN: TrailIcons.Tyrolienne,
|
|
66
|
+
VIDEO_ZONE: TrailIcons.Freeride,
|
|
67
|
+
UNDEF: TrailIcons.Freeride,
|
|
68
|
+
DEFAULT: TrailIcons.Freeride,
|
|
69
|
+
};
|
|
70
|
+
const { publicRuntimeConfig } = getConfig();
|
|
71
|
+
const { lumiplanApi } = publicRuntimeConfig;
|
|
72
|
+
const SPECIAL_TRAILS = {
|
|
73
|
+
"Labell'glisse": `${lumiplanApi}/pistes-ludiques/labell-glisse.png`,
|
|
74
|
+
Waouland: `${lumiplanApi}/pistes-ludiques/waouland.png`,
|
|
75
|
+
Opoualand: `${lumiplanApi}/pistes-ludiques/opoualand.png`,
|
|
76
|
+
"The Flying Donuts": `${lumiplanApi}/pistes-ludiques/flying-donuts.png`,
|
|
77
|
+
"Schlitte Mountain": `${lumiplanApi}/pistes-ludiques/schlitte-mountain.png`,
|
|
78
|
+
Boris: `${lumiplanApi}/pistes-ludiques/boris.png`,
|
|
79
|
+
"Rail Park": `${lumiplanApi}/pistes-ludiques/rail-park.png`,
|
|
80
|
+
};
|
|
81
|
+
const Pois = React.forwardRef(({ pois }, ref) => {
|
|
82
|
+
const { lang } = useUbloContext();
|
|
83
|
+
const { width: windowWidth } = useWindowSizes();
|
|
84
|
+
const isMobile = windowWidth && windowWidth < 768;
|
|
85
|
+
if (pois === undefined) {
|
|
86
|
+
return (_jsx("div", { ref: ref, className: css.loader, children: _jsx(Loader, { variant: "overlay" }) }));
|
|
87
|
+
}
|
|
88
|
+
if (!pois) {
|
|
89
|
+
return null;
|
|
90
|
+
}
|
|
91
|
+
const flattenedPois = pois.reduce((acc, zone) => {
|
|
92
|
+
const { name, lifts = [], trails = [], activities = [], interconnections = [], } = zone;
|
|
93
|
+
const liftsWithSectorName = lifts.map((lift) => ({
|
|
94
|
+
...lift,
|
|
95
|
+
sectorName: name,
|
|
96
|
+
}));
|
|
97
|
+
const trailsWithSectorName = trails.map((trail) => ({
|
|
98
|
+
...trail,
|
|
99
|
+
sectorName: name,
|
|
100
|
+
}));
|
|
101
|
+
const activitiesWithSectorName = activities.map((activity) => ({
|
|
102
|
+
...activity,
|
|
103
|
+
sectorName: name,
|
|
104
|
+
}));
|
|
105
|
+
const interconnectionsWithSectorName = interconnections.map((interconnection) => ({
|
|
106
|
+
...interconnection,
|
|
107
|
+
sectorName: name,
|
|
108
|
+
}));
|
|
109
|
+
return [
|
|
110
|
+
...interconnectionsWithSectorName,
|
|
111
|
+
...acc,
|
|
112
|
+
...liftsWithSectorName,
|
|
113
|
+
...trailsWithSectorName,
|
|
114
|
+
...activitiesWithSectorName,
|
|
115
|
+
];
|
|
116
|
+
}, []);
|
|
117
|
+
if (!flattenedPois.length) {
|
|
118
|
+
return null;
|
|
119
|
+
}
|
|
120
|
+
return (_jsx("div", { className: css.pois, children: _jsx("div", { className: css.inner, children: pois.map((zone) => {
|
|
121
|
+
const { name, lifts = [], trails = [], activities = [], interconnections = [], } = zone;
|
|
122
|
+
const zonePois = [
|
|
123
|
+
...interconnections,
|
|
124
|
+
...lifts,
|
|
125
|
+
...trails,
|
|
126
|
+
...activities,
|
|
127
|
+
];
|
|
128
|
+
if (!zonePois.length) {
|
|
129
|
+
return null;
|
|
130
|
+
}
|
|
131
|
+
return (_jsxs("div", { className: css.zone, children: [_jsx("div", { className: css.zoneName, children: name }), _jsx("div", { className: css.list, children: zonePois.map(({ id, name, type, liftType, trailType, activityType, trailLevel, messagePoi, openingStatus, snowQuality, groomingStatus, openingTimesReal, openingTimesTh, }) => {
|
|
132
|
+
const isLift = type === "SKI_LIFT";
|
|
133
|
+
const isInterconnection = type === "LINK";
|
|
134
|
+
const translationCode = isLift
|
|
135
|
+
? `pois.lifts.${liftType}`
|
|
136
|
+
: `pois.trails.${trailType}`;
|
|
137
|
+
const hasTrailLevel = trailLevel !== undefined &&
|
|
138
|
+
trailLevel !== "UNDEF" &&
|
|
139
|
+
trailLevel !== "YELLOW";
|
|
140
|
+
const trailLevelLabel = hasTrailLevel
|
|
141
|
+
? `(${t(lang, `pois.trail-levels.${trailLevel}`)})`
|
|
142
|
+
: null;
|
|
143
|
+
const specialTrail = Object.keys(SPECIAL_TRAILS).find((key) => name?.toLowerCase()?.includes(key.toLowerCase()));
|
|
144
|
+
const message = messagePoi?.data?.find(({ language }) => {
|
|
145
|
+
const _lang = lang === "fr" ? "fr_FR" : "en_US";
|
|
146
|
+
return language === _lang;
|
|
147
|
+
});
|
|
148
|
+
const hasGroomingStatus = groomingStatus !== undefined &&
|
|
149
|
+
groomingStatus !== "UNDEF";
|
|
150
|
+
const hasSnowQuality = snowQuality !== undefined && snowQuality !== "UNDEF";
|
|
151
|
+
const classes = classNames(css.poi, {
|
|
152
|
+
[css[trailLevel]]: hasTrailLevel,
|
|
153
|
+
});
|
|
154
|
+
let status = "CLOSED";
|
|
155
|
+
if (openingStatus?.includes("DELAYED")) {
|
|
156
|
+
status = "DELAYED";
|
|
157
|
+
}
|
|
158
|
+
else if (openingStatus?.includes("STOPPED")) {
|
|
159
|
+
status = "STOPPED";
|
|
160
|
+
}
|
|
161
|
+
else if (openingStatus?.includes("FORECAST")) {
|
|
162
|
+
status = "FORECAST";
|
|
163
|
+
}
|
|
164
|
+
else if (openingStatus?.includes("OPEN")) {
|
|
165
|
+
status = "OPEN";
|
|
166
|
+
}
|
|
167
|
+
const statusCode = `pois.opening-statuses.${status}`;
|
|
168
|
+
let Icon = isLift
|
|
169
|
+
? LIFT_ICONS[liftType] || LIFT_ICONS.DEFAULT
|
|
170
|
+
: TRAIL_ICONS[activityType || trailType] ||
|
|
171
|
+
TRAIL_ICONS.DEFAULT;
|
|
172
|
+
if (isInterconnection) {
|
|
173
|
+
Icon = LinkIcon;
|
|
174
|
+
}
|
|
175
|
+
const openingTimes = openingTimesReal || openingTimesTh;
|
|
176
|
+
const isClosed = status === "CLOSED";
|
|
177
|
+
const showOpeningTimes = !isClosed && openingTimes && openingTimes?.length > 0;
|
|
178
|
+
return (_jsxs("div", { className: classes, children: [_jsx("div", { className: css.poiIcon, children: specialTrail ? (_jsx(Image, { src: SPECIAL_TRAILS[specialTrail], width: 50, height: 50, alt: specialTrail })) : (_jsx(Icon, {})) }), _jsxs("div", { className: css.poiInfo, children: [_jsxs("div", { className: css.poiHeader, children: [_jsx("span", { className: css.poiName, children: name }), _jsxs("span", { className: css.poiStatus, children: [_jsx(T, { id: statusCode }), showOpeningTimes && (_jsxs("div", { className: css.poiOpeningTimes, children: [openingTimes[0].beginTime, " -", " ", openingTimes[0].endTime] }))] })] }), _jsxs("div", { className: css.poiDetail, children: [isInterconnection && (_jsx("div", { className: css.poiDetailHeader, children: _jsx("b", { children: _jsx(T, { id: "interconnection" }) }) })), trailType !== "FUN_ZONE" &&
|
|
179
|
+
activityType !== "FUN_ZONE" && (_jsxs("div", { className: css.poiDetailKind, children: [_jsx(T, { id: translationCode }), " ", trailLevelLabel] })), !isLift && (_jsxs("div", { className: css.poiTrailDetail, children: [hasGroomingStatus && (_jsx("div", { className: css.poiTrailDetailItem, children: _jsx(T, { id: `snow.grooming.states.${groomingStatus}` }) })), hasSnowQuality && (_jsxs("div", { className: css.poiTrailDetailItem, children: [_jsx(T, { id: "snow.snow-quality.title" }), " :", " ", _jsx(T, { id: `snow.snow-quality.states.${snowQuality}` })] }))] }))] }), message?.data && (_jsx("b", { className: css.printedMessage, children: message.data }))] }), _jsx("div", { className: css.poiMessage, children: message?.data && (_jsx(_Fragment, { children: isMobile ? (_jsx(Popover, { innerClassName: css.poiPopover, trigger: _jsx(Button, { variant: "transparent", children: _jsx(Icons.Info, {}) }), children: message.data })) : (_jsx(Tooltip, { content: message.data, children: _jsx(Button, { variant: "transparent", children: _jsx(Icons.Info, {}) }) })) })) })] }, id));
|
|
180
|
+
}) })] }, name));
|
|
181
|
+
}) }) }));
|
|
182
|
+
});
|
|
183
|
+
Pois.displayName = "Pois";
|
|
184
|
+
export default Pois;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
1
|
import type { PrintMode } from "./types";
|
|
3
2
|
type Props = {
|
|
4
3
|
fetchAllData: () => Promise<void>;
|
|
5
4
|
mode: PrintMode;
|
|
6
5
|
setMode: (mode: PrintMode) => void;
|
|
7
6
|
};
|
|
8
|
-
export default function PrintButton({ fetchAllData, mode, setMode }: Props):
|
|
7
|
+
export default function PrintButton({ fetchAllData, mode, setMode }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
9
|
+
//# sourceMappingURL=print-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"print-button.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/lumiplan/print-button.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGzC,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAClC,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,KAAK,2CAgBzE"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import Button from "dt-design-system/es/button";
|
|
3
|
+
import T from "./i18n/translations";
|
|
4
|
+
import styles from "./print-button.module.css";
|
|
5
|
+
export default function PrintButton({ fetchAllData, mode, setMode }) {
|
|
6
|
+
const triggerPrint = async () => {
|
|
7
|
+
setMode(mode);
|
|
8
|
+
await fetchAllData();
|
|
9
|
+
window.requestAnimationFrame(() => {
|
|
10
|
+
window.print();
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
return (_jsx("div", { className: styles.wrapper, children: _jsx(Button, { variant: "secondary", compact: true, onClick: triggerPrint, children: _jsx(T, { id: `print.${mode}` }) }) }));
|
|
14
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
1
|
type Resort = {
|
|
3
2
|
id: number;
|
|
4
3
|
label: string;
|
|
@@ -8,5 +7,6 @@ type Props = {
|
|
|
8
7
|
currentResortId: number;
|
|
9
8
|
setCurrentResortId: (id: number) => void;
|
|
10
9
|
};
|
|
11
|
-
export default function ResortSelector({ resorts, currentResortId, setCurrentResortId, }: Props):
|
|
10
|
+
export default function ResortSelector({ resorts, currentResortId, setCurrentResortId, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export {};
|
|
12
|
+
//# sourceMappingURL=resort-selector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resort-selector.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/lumiplan/resort-selector.tsx"],"names":[],"mappings":"AAOA,KAAK,MAAM,GAAG;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IAExB,kBAAkB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,OAAO,EACP,eAAe,EACf,kBAAkB,GACnB,EAAE,KAAK,2CAqDP"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import classNames from "classnames";
|
|
3
|
-
// import useWindowSizes from "ublo-lib/es/common/hooks/use-window-sizes";
|
|
4
4
|
import useWindowSizes from "../../../common/hooks/use-window-sizes";
|
|
5
5
|
import Button from "dt-design-system/es/button";
|
|
6
6
|
import css from "./resort-selector.module.css";
|
|
@@ -29,19 +29,13 @@ export default function ResortSelector({ resorts, currentResortId, setCurrentRes
|
|
|
29
29
|
[css.leftShadow]: showLeftShadow,
|
|
30
30
|
[css.rightShadow]: showRightShadow,
|
|
31
31
|
});
|
|
32
|
-
return (
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
};
|
|
41
|
-
return (<Button key={id} className={classes} onClick={updateCurrentResort}>
|
|
42
|
-
{label}
|
|
43
|
-
</Button>);
|
|
44
|
-
})}
|
|
45
|
-
</div>
|
|
46
|
-
</div>);
|
|
32
|
+
return (_jsx("div", { ref: containerRef, className: classes, children: _jsx("div", { ref: scrollerRef, onScroll: refreshShadows, className: css.content, children: resorts.map(({ id, label }) => {
|
|
33
|
+
const classes = classNames(css.button, {
|
|
34
|
+
[css.selected]: id === currentResortId,
|
|
35
|
+
});
|
|
36
|
+
const updateCurrentResort = () => {
|
|
37
|
+
setCurrentResortId(id);
|
|
38
|
+
};
|
|
39
|
+
return (_jsx(Button, { className: classes, onClick: updateCurrentResort, children: label }, id));
|
|
40
|
+
}) }) }));
|
|
47
41
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"road-condition.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/lumiplan/road-condition.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAG5C,KAAK,KAAK,GAAG;IACX,YAAY,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;CACpC,CAAC;AAEF,QAAA,MAAM,aAAa,8EA6FlB,CAAC;AAIF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { useUbloContext } from "ublo/with-ublo";
|
|
4
|
+
import Loader from "dt-design-system/es/loader";
|
|
5
|
+
import T, { t } from "./i18n/translations";
|
|
6
|
+
import RoadConditionIcon from "./icons/road-condition";
|
|
7
|
+
import css from "./road-condition.module.css";
|
|
8
|
+
const RoadCondition = React.forwardRef(({ resortAccess }, ref) => {
|
|
9
|
+
const { lang } = useUbloContext();
|
|
10
|
+
if (resortAccess === undefined) {
|
|
11
|
+
return (_jsx("div", { ref: ref, className: css.loader, "data-tags": t(lang, "road-conditions.navigation-title"), children: _jsx(Loader, { variant: "overlay" }) }));
|
|
12
|
+
}
|
|
13
|
+
if (!resortAccess?.roadConditions?.length) {
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
const { roadConditions } = resortAccess;
|
|
17
|
+
return (_jsxs("div", { ref: ref, className: css.conditions, "data-tags": t(lang, "road-conditions.navigation-title"), children: [_jsx("div", { className: css.title, dangerouslySetInnerHTML: { __html: t(lang, "road-conditions.title") } }), roadConditions.map(({ id, name, status, roadInfo, equipment, surface, number }) => {
|
|
18
|
+
const roadInfoData = roadInfo?.data?.find(({ language }) => {
|
|
19
|
+
const _lang = lang === "fr" ? "fr_FR" : "en_US";
|
|
20
|
+
return language === _lang;
|
|
21
|
+
});
|
|
22
|
+
const hasValidNumber = !isNaN(parseInt(number, 10)) && number !== "0";
|
|
23
|
+
return (_jsxs("div", { className: css.condition, children: [_jsx(RoadConditionIcon, { className: css.icon }), _jsxs("div", { className: css.right, children: [_jsxs("div", { className: css.status, children: [_jsx(T, { id: "road-conditions.road" }), " ", _jsx(T, { id: `road-conditions.status.${status ? "OPENED" : "CLOSED"}` })] }), _jsxs("div", { className: css.top, children: [name?.trim() && (_jsxs("div", { className: css.name, children: [name, " ", hasValidNumber && _jsxs(_Fragment, { children: ["n\u00B0", number] })] })), surface?.trim() && surface !== "UNDEF" && (_jsxs("div", { className: css.surface, children: [_jsx("b", { children: _jsx(T, { id: "road-conditions.surface.title" }) }), _jsx(T, { id: `road-conditions.surface.states.${surface}` }), "."] })), equipment?.trim() && equipment !== "UNDEF" && (_jsxs("div", { className: css.equipment, children: [_jsx("b", { children: _jsx(T, { id: "road-conditions.equipment.title" }) }), _jsx(T, { id: `road-conditions.equipment.states.${equipment}` })] }))] }), roadInfoData && (_jsx("div", { className: css.bottom, dangerouslySetInnerHTML: { __html: roadInfoData.data } }))] })] }, id));
|
|
24
|
+
})] }));
|
|
25
|
+
});
|
|
26
|
+
RoadCondition.displayName = "RoadCondition";
|
|
27
|
+
export default RoadCondition;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { Signature as SignatureType } from "./types";
|
|
3
2
|
type Props = {
|
|
4
3
|
signature: SignatureType;
|
|
5
4
|
};
|
|
6
|
-
export default function Signature({ signature }: Props): import("react").JSX.Element;
|
|
5
|
+
export default function Signature({ signature }: Props): import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export {};
|
|
7
|
+
//# sourceMappingURL=signature.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signature.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/lumiplan/signature.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,SAAS,CAAC;AAG1D,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,aAAa,CAAC;CAC1B,CAAC;AAKF,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,SAAS,EAAE,EAAE,KAAK,2CAarD"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
2
|
import Image from "next/image";
|
|
2
3
|
import getConfig from "next/config";
|
|
3
4
|
import styles from "./signature.module.css";
|
|
@@ -6,7 +7,5 @@ const { lumiplanApi } = publicRuntimeConfig;
|
|
|
6
7
|
export default function Signature({ signature }) {
|
|
7
8
|
if (!signature)
|
|
8
9
|
return null;
|
|
9
|
-
return (
|
|
10
|
-
<Image src={`${lumiplanApi}/labellemontagne-white.svg`} height={400} width={100} alt="labellemontagne"/>
|
|
11
|
-
</div>);
|
|
10
|
+
return (_jsx("div", { className: styles.signature, children: _jsx(Image, { src: `${lumiplanApi}/labellemontagne-white.svg`, height: 400, width: 100, alt: "labellemontagne" }) }));
|
|
12
11
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"todays-tips.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/lumiplan/todays-tips.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAG7C,KAAK,KAAK,GAAG;IACX,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;CACtC,CAAC;AAEF,QAAA,MAAM,UAAU,8EAsCf,CAAC;AAIF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { useUbloContext } from "ublo/with-ublo";
|
|
4
|
+
import Loader from "dt-design-system/es/loader";
|
|
5
|
+
import { t } from "./i18n/translations";
|
|
6
|
+
import css from "./todays-tips.module.css";
|
|
7
|
+
const TodaysTips = React.forwardRef(({ resortOpening }, ref) => {
|
|
8
|
+
const { lang } = useUbloContext();
|
|
9
|
+
const todaysTips = resortOpening?.resortInfos?.find(({ type }) => type === "RESORT_TIP_OF_THE_DAY");
|
|
10
|
+
if (todaysTips === undefined) {
|
|
11
|
+
return (_jsx("div", { ref: ref, className: css.loader, children: _jsx(Loader, { variant: "overlay" }) }));
|
|
12
|
+
}
|
|
13
|
+
if (!todaysTips) {
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
const text = todaysTips.data.find(({ language }) => language === "fr_FR");
|
|
17
|
+
if (!text?.data) {
|
|
18
|
+
return null;
|
|
19
|
+
}
|
|
20
|
+
return (_jsxs("div", { ref: ref, className: css.tips, children: [_jsx("div", { className: css.title, dangerouslySetInnerHTML: { __html: t(lang, "todays-tips.title") } }), _jsx("div", { className: css.text, dangerouslySetInnerHTML: { __html: text.data } })] }));
|
|
21
|
+
});
|
|
22
|
+
TodaysTips.displayName = "TodaysTips";
|
|
23
|
+
export default TodaysTips;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
1
|
type Props = {
|
|
3
2
|
setMode: (mode: "weather" | "trails") => void;
|
|
4
3
|
fetchAllData: () => Promise<void>;
|
|
5
4
|
};
|
|
6
|
-
export default function Toolbar({ setMode, fetchAllData }: Props):
|
|
5
|
+
export default function Toolbar({ setMode, fetchAllData }: Props): import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export {};
|
|
7
|
+
//# sourceMappingURL=toolbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/lumiplan/toolbar.tsx"],"names":[],"mappings":"AAMA,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,CAAC,IAAI,EAAE,SAAS,GAAG,QAAQ,KAAK,IAAI,CAAC;IAC9C,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACnC,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,2CAmB/D"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as Icons from "dt-design-system/es/icons";
|
|
3
|
+
import PrintButton from "./print-button";
|
|
4
|
+
import T from "./i18n/translations";
|
|
5
|
+
import styles from "./toolbar.module.css";
|
|
6
|
+
export default function Toolbar({ setMode, fetchAllData }) {
|
|
7
|
+
return (_jsx("div", { className: styles.toolbar, children: _jsxs("div", { className: styles.inner, children: [_jsx(Icons.Download, { className: styles.icon }), _jsx(T, { id: "print.label" }), _jsx(PrintButton, { fetchAllData: fetchAllData, mode: "weather", setMode: setMode }), _jsx(PrintButton, { fetchAllData: fetchAllData, mode: "trails", setMode: setMode })] }) }));
|
|
8
|
+
}
|