ublo-lib 1.31.43 → 1.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/common/components/admin-links/admin-links.d.ts +11 -0
- package/es/common/components/admin-links/admin-links.d.ts.map +1 -0
- package/es/common/components/admin-links/admin-links.js +52 -95
- package/es/common/components/admin-links/index.d.ts +3 -0
- package/es/common/components/admin-links/index.d.ts.map +1 -0
- package/es/common/components/admin-links/index.js +1 -1
- package/es/common/components/analytics.d.ts +6 -0
- package/es/common/components/analytics.d.ts.map +1 -0
- package/es/common/components/analytics.js +27 -34
- package/es/common/components/breadcrumb.d.ts +16 -0
- package/es/common/components/breadcrumb.d.ts.map +1 -0
- package/es/common/components/breadcrumb.js +24 -79
- package/es/common/components/carousel-zone.d.ts +7 -0
- package/es/common/components/carousel-zone.d.ts.map +1 -0
- package/es/common/components/carousel-zone.js +15 -55
- package/es/common/components/carousel.d.ts +15 -0
- package/es/common/components/carousel.d.ts.map +1 -0
- package/es/common/components/carousel.js +271 -343
- package/es/common/components/cart-preview/api.d.ts +2 -0
- package/es/common/components/cart-preview/api.d.ts.map +1 -0
- package/es/common/components/cart-preview/api.js +13 -18
- package/es/common/components/cart-preview/cart-pill.d.ts +5 -0
- package/es/common/components/cart-preview/cart-pill.d.ts.map +1 -0
- package/es/common/components/cart-preview/cart-pill.js +6 -10
- package/es/common/components/cart-preview/cart-preview.d.ts +6 -0
- package/es/common/components/cart-preview/cart-preview.d.ts.map +1 -0
- package/es/common/components/cart-preview/cart-preview.js +41 -102
- package/es/common/components/cart-preview/index.d.ts +3 -0
- package/es/common/components/cart-preview/index.d.ts.map +1 -0
- package/es/common/components/cart-preview/index.js +1 -1
- package/es/common/components/cart-preview/utils.d.ts +3 -0
- package/es/common/components/cart-preview/utils.d.ts.map +1 -0
- package/es/common/components/cart-preview/utils.js +23 -13
- package/es/common/components/collapsible/collapsible.d.ts +10 -0
- package/es/common/components/collapsible/collapsible.d.ts.map +1 -0
- package/es/common/components/collapsible/collapsible.js +35 -59
- package/es/common/components/collapsible/index.d.ts +3 -0
- package/es/common/components/collapsible/index.d.ts.map +1 -0
- package/es/common/components/collapsible/index.js +1 -1
- package/es/common/components/cookie-consent/cookie-consent.d.ts +8 -0
- package/es/common/components/cookie-consent/cookie-consent.d.ts.map +1 -0
- package/es/common/components/cookie-consent/cookie-consent.js +67 -112
- package/es/common/components/cookie-consent/index.d.ts +5 -0
- package/es/common/components/cookie-consent/index.d.ts.map +1 -0
- package/es/common/components/cookie-consent/index.js +1 -1
- package/es/common/components/cookie-consent/messages.d.ts +2 -0
- package/es/common/components/cookie-consent/messages.d.ts.map +1 -0
- package/es/common/components/cookie-consent/messages.js +27 -27
- package/es/common/components/cookie-consent/utils.d.ts +2 -0
- package/es/common/components/cookie-consent/utils.d.ts.map +1 -0
- package/es/common/components/cookie-consent/utils.js +18 -20
- package/es/common/components/cross-selling-editor/cross-selling-editor.d.ts +19 -0
- 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.js +22 -53
- package/es/common/components/cross-selling-editor/editor.d.ts +9 -0
- package/es/common/components/cross-selling-editor/editor.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/editor.js +64 -95
- package/es/common/components/cross-selling-editor/hooks/use-custom-offers.d.ts +7 -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 +47 -51
- package/es/common/components/cross-selling-editor/hooks/use-tunnel-offers.d.ts +2 -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 +30 -31
- package/es/common/components/cross-selling-editor/index.d.ts +3 -0
- package/es/common/components/cross-selling-editor/index.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/index.js +1 -1
- package/es/common/components/cross-selling-editor/override-trigger-form.d.ts +11 -0
- 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 +48 -160
- package/es/common/components/cross-selling-editor/override.d.ts +17 -0
- package/es/common/components/cross-selling-editor/override.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/override.js +89 -155
- package/es/common/components/cross-selling-editor/overrides-list.d.ts +14 -0
- package/es/common/components/cross-selling-editor/overrides-list.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/overrides-list.js +47 -123
- package/es/common/components/cross-selling-editor/rule.d.ts +14 -0
- package/es/common/components/cross-selling-editor/rule.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/rule.js +66 -97
- package/es/common/components/cross-selling-editor/rules.d.ts +12 -0
- package/es/common/components/cross-selling-editor/rules.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/rules.js +21 -76
- package/es/common/components/cross-selling-editor/services/api.d.ts +3 -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 +11 -25
- package/es/common/components/cross-selling-editor/services/utils.d.ts +62 -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 +161 -173
- package/es/common/components/cross-selling-editor/tester-tunnel-offer.d.ts +13 -0
- 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 +15 -59
- package/es/common/components/cross-selling-editor/tester.d.ts +10 -0
- package/es/common/components/cross-selling-editor/tester.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/tester.js +83 -187
- package/es/common/components/cross-selling-editor/types.d.ts +30 -0
- package/es/common/components/cross-selling-editor/types.d.ts.map +1 -0
- package/es/common/components/cross-selling-editor/types.js +1 -1
- package/es/common/components/custom-contact-form/attachment.d.ts +9 -0
- package/es/common/components/custom-contact-form/attachment.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/attachment.js +109 -201
- package/es/common/components/custom-contact-form/custom-contact-form.d.ts +25 -0
- 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 +73 -147
- package/es/common/components/custom-contact-form/field.d.ts +10 -0
- package/es/common/components/custom-contact-form/field.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/field.js +113 -218
- package/es/common/components/custom-contact-form/icons.d.ts +5 -0
- package/es/common/components/custom-contact-form/icons.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/icons.js +8 -50
- package/es/common/components/custom-contact-form/index.d.ts +3 -0
- package/es/common/components/custom-contact-form/index.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/index.js +1 -1
- package/es/common/components/custom-contact-form/messages.d.ts +2 -0
- package/es/common/components/custom-contact-form/messages.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/messages.js +78 -77
- package/es/common/components/custom-contact-form/utils.d.ts +30 -0
- package/es/common/components/custom-contact-form/utils.d.ts.map +1 -0
- package/es/common/components/custom-contact-form/utils.js +96 -122
- package/es/common/components/date-picker/calendar.d.ts +14 -0
- package/es/common/components/date-picker/calendar.d.ts.map +1 -0
- package/es/common/components/date-picker/calendar.js +111 -250
- package/es/common/components/date-picker/data.d.ts +87 -0
- package/es/common/components/date-picker/data.d.ts.map +1 -0
- package/es/common/components/date-picker/data.js +72 -78
- package/es/common/components/date-picker/date-item.d.ts +21 -0
- package/es/common/components/date-picker/date-item.d.ts.map +1 -0
- package/es/common/components/date-picker/date-item.js +120 -117
- package/es/common/components/date-picker/date-picker.d.ts +16 -0
- package/es/common/components/date-picker/date-picker.d.ts.map +1 -0
- package/es/common/components/date-picker/date-picker.js +23 -56
- package/es/common/components/date-picker/helper.d.ts +9 -0
- package/es/common/components/date-picker/helper.d.ts.map +1 -0
- package/es/common/components/date-picker/helper.js +20 -51
- package/es/common/components/date-picker/index.d.ts +4 -0
- package/es/common/components/date-picker/index.d.ts.map +1 -0
- package/es/common/components/date-picker/index.js +1 -1
- package/es/common/components/date-picker/messages.d.ts +2 -0
- package/es/common/components/date-picker/messages.d.ts.map +1 -0
- package/es/common/components/date-picker/messages.js +47 -46
- package/es/common/components/date-picker/month.d.ts +20 -0
- package/es/common/components/date-picker/month.d.ts.map +1 -0
- package/es/common/components/date-picker/month.js +16 -72
- package/es/common/components/date-picker/utils.d.ts +25 -0
- package/es/common/components/date-picker/utils.d.ts.map +1 -0
- package/es/common/components/date-picker/utils.js +104 -88
- package/es/common/components/editable-calendar/calendar-caption.d.ts +5 -0
- package/es/common/components/editable-calendar/calendar-caption.d.ts.map +1 -0
- package/es/common/components/editable-calendar/calendar-caption.js +80 -144
- package/es/common/components/editable-calendar/calendar-date.d.ts +12 -0
- package/es/common/components/editable-calendar/calendar-date.d.ts.map +1 -0
- package/es/common/components/editable-calendar/calendar-date.js +61 -79
- package/es/common/components/editable-calendar/calendar-editor.d.ts +7 -0
- package/es/common/components/editable-calendar/calendar-editor.d.ts.map +1 -0
- package/es/common/components/editable-calendar/calendar-editor.js +38 -83
- package/es/common/components/editable-calendar/calendar-header.d.ts +8 -0
- package/es/common/components/editable-calendar/calendar-header.d.ts.map +1 -0
- package/es/common/components/editable-calendar/calendar-header.js +4 -26
- package/es/common/components/editable-calendar/calendar.d.ts +6 -0
- package/es/common/components/editable-calendar/calendar.d.ts.map +1 -0
- package/es/common/components/editable-calendar/calendar.js +64 -115
- package/es/common/components/editable-calendar/data.d.ts +132 -0
- package/es/common/components/editable-calendar/data.d.ts.map +1 -0
- package/es/common/components/editable-calendar/data.js +95 -101
- package/es/common/components/editable-calendar/index.d.ts +2 -0
- package/es/common/components/editable-calendar/index.d.ts.map +1 -0
- package/es/common/components/editable-calendar/index.js +38 -49
- package/es/common/components/editable-calendar/utils.d.ts +19 -0
- package/es/common/components/editable-calendar/utils.d.ts.map +1 -0
- package/es/common/components/editable-calendar/utils.js +58 -52
- package/es/common/components/editable-map/cluster.d.ts +5 -0
- package/es/common/components/editable-map/cluster.d.ts.map +1 -0
- package/es/common/components/editable-map/cluster.js +6 -12
- package/es/common/components/editable-map/edit-form.d.ts +7 -0
- package/es/common/components/editable-map/edit-form.d.ts.map +1 -0
- package/es/common/components/editable-map/edit-form.js +22 -97
- package/es/common/components/editable-map/editable-map.d.ts +6 -0
- package/es/common/components/editable-map/editable-map.d.ts.map +1 -0
- package/es/common/components/editable-map/editable-map.js +40 -111
- package/es/common/components/editable-map/full-screen-button.d.ts +6 -0
- package/es/common/components/editable-map/full-screen-button.d.ts.map +1 -0
- package/es/common/components/editable-map/full-screen-button.js +60 -59
- package/es/common/components/editable-map/helper.d.ts +2 -0
- package/es/common/components/editable-map/helper.d.ts.map +1 -0
- package/es/common/components/editable-map/helper.js +3 -23
- package/es/common/components/editable-map/icon-picker.d.ts +6 -0
- package/es/common/components/editable-map/icon-picker.d.ts.map +1 -0
- package/es/common/components/editable-map/icon-picker.js +26 -63
- package/es/common/components/editable-map/icons/esf-pralognan.d.ts +51 -0
- package/es/common/components/editable-map/icons/esf-pralognan.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/esf-pralognan.js +54 -1085
- package/es/common/components/editable-map/icons/esf.d.ts +39 -0
- package/es/common/components/editable-map/icons/esf.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/esf.js +43 -755
- package/es/common/components/editable-map/icons/index.d.ts +7 -0
- package/es/common/components/editable-map/icons/index.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/index.js +1 -1
- package/es/common/components/editable-map/icons/lavovelo.d.ts +5 -0
- package/es/common/components/editable-map/icons/lavovelo.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/lavovelo.js +8 -84
- package/es/common/components/editable-map/icons/sata-huez.d.ts +29 -0
- package/es/common/components/editable-map/icons/sata-huez.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/sata-huez.js +32 -466
- package/es/common/components/editable-map/icons/sedev-vars.d.ts +29 -0
- package/es/common/components/editable-map/icons/sedev-vars.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/sedev-vars.js +32 -466
- package/es/common/components/editable-map/icons/viarmonia.d.ts +3 -0
- package/es/common/components/editable-map/icons/viarmonia.d.ts.map +1 -0
- package/es/common/components/editable-map/icons/viarmonia.js +6 -40
- package/es/common/components/editable-map/index.d.ts +5 -0
- package/es/common/components/editable-map/index.d.ts.map +1 -0
- package/es/common/components/editable-map/index.js +62 -74
- package/es/common/components/editable-map/map-events.d.ts +10 -0
- package/es/common/components/editable-map/map-events.d.ts.map +1 -0
- package/es/common/components/editable-map/map-events.js +32 -40
- package/es/common/components/editable-map/marker-list.d.ts +7 -0
- package/es/common/components/editable-map/marker-list.d.ts.map +1 -0
- package/es/common/components/editable-map/marker-list.js +54 -87
- package/es/common/components/editable-map/markers.d.ts +7 -0
- package/es/common/components/editable-map/markers.d.ts.map +1 -0
- package/es/common/components/editable-map/markers.js +35 -88
- package/es/common/components/editable-map/popup-data.d.ts +4 -0
- package/es/common/components/editable-map/popup-data.d.ts.map +1 -0
- package/es/common/components/editable-map/popup-data.js +9 -35
- package/es/common/components/editable-map/slopes-toggle.d.ts +5 -0
- package/es/common/components/editable-map/slopes-toggle.d.ts.map +1 -0
- package/es/common/components/editable-map/slopes-toggle.js +8 -18
- package/es/common/components/error-404/error-404.d.ts +6 -0
- package/es/common/components/error-404/error-404.d.ts.map +1 -0
- package/es/common/components/error-404/error-404.js +13 -42
- package/es/common/components/error-404/index.d.ts +3 -0
- package/es/common/components/error-404/index.d.ts.map +1 -0
- package/es/common/components/error-404/index.js +1 -1
- package/es/common/components/error-404/messages.d.ts +2 -0
- package/es/common/components/error-404/messages.d.ts.map +1 -0
- package/es/common/components/error-404/messages.js +13 -13
- package/es/common/components/faq.d.ts +7 -0
- package/es/common/components/faq.d.ts.map +1 -0
- package/es/common/components/faq.js +43 -49
- package/es/common/components/gesco-contact-form/gesco-contact-form.d.ts +18 -0
- 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 +93 -247
- package/es/common/components/gesco-contact-form/hooks/use-params.d.ts +15 -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 +20 -35
- package/es/common/components/gesco-contact-form/index.d.ts +3 -0
- package/es/common/components/gesco-contact-form/index.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/index.js +1 -1
- package/es/common/components/gesco-contact-form/phone-code-select.d.ts +7 -0
- 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.js +56 -76
- package/es/common/components/gesco-contact-form/services/api.d.ts +30 -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 +7 -7
- package/es/common/components/gesco-contact-form/services/form.d.ts +31 -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 +22 -39
- package/es/common/components/gesco-contact-form/services/messages.d.ts +34 -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 +65 -68
- package/es/common/components/gesco-contact-form/services/plausible.d.ts +3 -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 +9 -8
- package/es/common/components/gesco-contact-form/types.d.ts +34 -0
- package/es/common/components/gesco-contact-form/types.d.ts.map +1 -0
- package/es/common/components/gesco-contact-form/types.js +1 -1
- package/es/common/components/info-buttons.d.ts +8 -0
- package/es/common/components/info-buttons.d.ts.map +1 -0
- package/es/common/components/info-buttons.js +75 -94
- package/es/common/components/information/index.d.ts +3 -0
- package/es/common/components/information/index.d.ts.map +1 -0
- package/es/common/components/information/index.js +1 -1
- package/es/common/components/information/information.d.ts +6 -0
- package/es/common/components/information/information.d.ts.map +1 -0
- package/es/common/components/information/information.js +31 -50
- package/es/common/components/instant-search/hooks/use-constant.d.ts +2 -0
- package/es/common/components/instant-search/hooks/use-constant.d.ts.map +1 -0
- package/es/common/components/instant-search/hooks/use-constant.js +6 -8
- package/es/common/components/instant-search/hooks/use-debounced-search.d.ts +7 -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 +5 -14
- package/es/common/components/instant-search/hooks/use-search.d.ts +16 -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 +6 -10
- package/es/common/components/instant-search/index.d.ts +3 -0
- package/es/common/components/instant-search/index.d.ts.map +1 -0
- package/es/common/components/instant-search/index.js +1 -1
- package/es/common/components/instant-search/input.d.ts +15 -0
- package/es/common/components/instant-search/input.d.ts.map +1 -0
- package/es/common/components/instant-search/input.js +45 -75
- package/es/common/components/instant-search/instant-search.d.ts +19 -0
- package/es/common/components/instant-search/instant-search.d.ts.map +1 -0
- package/es/common/components/instant-search/instant-search.js +71 -124
- package/es/common/components/instant-search/links.d.ts +12 -0
- package/es/common/components/instant-search/links.d.ts.map +1 -0
- package/es/common/components/instant-search/links.js +23 -74
- package/es/common/components/instant-search/no-product.d.ts +6 -0
- package/es/common/components/instant-search/no-product.d.ts.map +1 -0
- package/es/common/components/instant-search/no-product.js +4 -81
- package/es/common/components/instant-search/products.d.ts +14 -0
- package/es/common/components/instant-search/products.d.ts.map +1 -0
- package/es/common/components/instant-search/products.js +31 -118
- package/es/common/components/instant-search/results.d.ts +76 -0
- package/es/common/components/instant-search/results.d.ts.map +1 -0
- package/es/common/components/instant-search/results.js +32 -121
- package/es/common/components/instant-search/services/api.d.ts +2 -0
- package/es/common/components/instant-search/services/api.d.ts.map +1 -0
- package/es/common/components/instant-search/services/api.js +9 -12
- package/es/common/components/instant-search/services/dates.d.ts +2 -0
- package/es/common/components/instant-search/services/dates.d.ts.map +1 -0
- package/es/common/components/instant-search/services/dates.js +38 -36
- package/es/common/components/instant-search/services/messages.d.ts +2 -0
- package/es/common/components/instant-search/services/messages.d.ts.map +1 -0
- package/es/common/components/instant-search/services/messages.js +3 -3
- package/es/common/components/instant-search/services/utils.d.ts +4 -0
- package/es/common/components/instant-search/services/utils.d.ts.map +1 -0
- package/es/common/components/instant-search/services/utils.js +34 -34
- package/es/common/components/msem-preset-editor/components/facet-selector.d.ts +6 -0
- 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.js +22 -39
- package/es/common/components/msem-preset-editor/components/form.d.ts +8 -0
- package/es/common/components/msem-preset-editor/components/form.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/components/form.js +5 -54
- package/es/common/components/msem-preset-editor/components/stay-picker.d.ts +14 -0
- 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.js +33 -72
- package/es/common/components/msem-preset-editor/components/widget-list-item.d.ts +12 -0
- 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 +49 -131
- package/es/common/components/msem-preset-editor/components/widget-list.d.ts +17 -0
- 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 +29 -54
- package/es/common/components/msem-preset-editor/editor-dialog.d.ts +30 -0
- package/es/common/components/msem-preset-editor/editor-dialog.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editor-dialog.js +21 -68
- package/es/common/components/msem-preset-editor/editors/elloha.d.ts +15 -0
- package/es/common/components/msem-preset-editor/editors/elloha.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/elloha.js +68 -102
- package/es/common/components/msem-preset-editor/editors/index.d.ts +16 -0
- package/es/common/components/msem-preset-editor/editors/index.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/index.js +7 -7
- package/es/common/components/msem-preset-editor/editors/lodgings.d.ts +17 -0
- package/es/common/components/msem-preset-editor/editors/lodgings.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/lodgings.js +175 -316
- package/es/common/components/msem-preset-editor/editors/ski-passes-jb.d.ts +16 -0
- 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 +74 -119
- package/es/common/components/msem-preset-editor/editors/ski-passes.d.ts +16 -0
- 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 +180 -267
- package/es/common/components/msem-preset-editor/editors/standard-products.d.ts +16 -0
- 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.js +55 -84
- package/es/common/components/msem-preset-editor/editors/vakario.d.ts +15 -0
- package/es/common/components/msem-preset-editor/editors/vakario.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/editors/vakario.js +167 -240
- package/es/common/components/msem-preset-editor/index.d.ts +3 -0
- package/es/common/components/msem-preset-editor/index.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/index.js +1 -1
- package/es/common/components/msem-preset-editor/msem-preset-editor.d.ts +28 -0
- 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 +137 -227
- package/es/common/components/msem-preset-editor/services/api.d.ts +15 -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 +40 -69
- package/es/common/components/msem-preset-editor/services/offers.d.ts +23 -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 +45 -76
- package/es/common/components/msem-preset-editor/services/preset.d.ts +32 -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 +18 -26
- package/es/common/components/msem-preset-editor/services/url-params.d.ts +3 -0
- package/es/common/components/msem-preset-editor/services/url-params.d.ts.map +1 -0
- package/es/common/components/msem-preset-editor/services/url-params.js +24 -24
- package/es/common/components/msem-preset-linker/components/actions.d.ts +11 -0
- package/es/common/components/msem-preset-linker/components/actions.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/components/actions.js +40 -52
- package/es/common/components/msem-preset-linker/components/overlays.d.ts +8 -0
- package/es/common/components/msem-preset-linker/components/overlays.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/components/overlays.js +44 -60
- package/es/common/components/msem-preset-linker/components/resort-selector.d.ts +6 -0
- 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.js +11 -21
- package/es/common/components/msem-preset-linker/hooks/use-msem-presets.d.ts +5 -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 +31 -48
- package/es/common/components/msem-preset-linker/index.d.ts +3 -0
- package/es/common/components/msem-preset-linker/index.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/index.js +1 -1
- package/es/common/components/msem-preset-linker/msem-preset-linker.d.ts +30 -0
- 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.js +42 -72
- package/es/common/components/msem-preset-linker/services/url-params.d.ts +2 -0
- package/es/common/components/msem-preset-linker/services/url-params.d.ts.map +1 -0
- package/es/common/components/msem-preset-linker/services/url-params.js +13 -10
- package/es/common/components/packages-selector/index.d.ts +7 -0
- package/es/common/components/packages-selector/index.d.ts.map +1 -0
- package/es/common/components/packages-selector/index.js +21 -49
- package/es/common/components/plausible/hooks/use-plausible.d.ts +12 -0
- package/es/common/components/plausible/hooks/use-plausible.d.ts.map +1 -0
- package/es/common/components/plausible/hooks/use-plausible.js +18 -22
- package/es/common/components/plausible/index.d.ts +8 -0
- package/es/common/components/plausible/index.d.ts.map +1 -0
- package/es/common/components/plausible/index.js +1 -1
- package/es/common/components/plausible/plausible.d.ts +7 -0
- package/es/common/components/plausible/plausible.d.ts.map +1 -0
- package/es/common/components/plausible/plausible.js +13 -23
- package/es/common/components/plausible/services/callback.d.ts +24 -0
- package/es/common/components/plausible/services/callback.d.ts.map +1 -0
- package/es/common/components/plausible/services/callback.js +117 -186
- package/es/common/components/plausible/services/load.d.ts +2 -0
- package/es/common/components/plausible/services/load.d.ts.map +1 -0
- package/es/common/components/plausible/services/load.js +6 -4
- package/es/common/components/plausible/services/send-goal.d.ts +7 -0
- package/es/common/components/plausible/services/send-goal.d.ts.map +1 -0
- package/es/common/components/plausible/services/send-goal.js +3 -6
- package/es/common/components/popup.d.ts +6 -0
- package/es/common/components/popup.d.ts.map +1 -0
- package/es/common/components/popup.js +21 -80
- package/es/common/components/scroll-spy.d.ts +14 -0
- package/es/common/components/scroll-spy.d.ts.map +1 -0
- package/es/common/components/scroll-spy.js +43 -56
- package/es/common/components/scrolling-carousel/index.d.ts +3 -0
- package/es/common/components/scrolling-carousel/index.d.ts.map +1 -0
- package/es/common/components/scrolling-carousel/index.js +1 -1
- package/es/common/components/scrolling-carousel/scrolling-carousel.d.ts +8 -0
- package/es/common/components/scrolling-carousel/scrolling-carousel.d.ts.map +1 -0
- package/es/common/components/scrolling-carousel/scrolling-carousel.js +55 -94
- package/es/common/components/search-bar/hooks/use-constant.d.ts +2 -0
- package/es/common/components/search-bar/hooks/use-constant.d.ts.map +1 -0
- package/es/common/components/search-bar/hooks/use-constant.js +6 -8
- package/es/common/components/search-bar/hooks/use-debounced-search.d.ts +7 -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 +5 -14
- package/es/common/components/search-bar/hooks/use-search.d.ts +12 -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 +5 -11
- package/es/common/components/search-bar/index.d.ts +3 -0
- package/es/common/components/search-bar/index.d.ts.map +1 -0
- package/es/common/components/search-bar/index.js +1 -1
- package/es/common/components/search-bar/messages.d.ts +15 -0
- package/es/common/components/search-bar/messages.d.ts.map +1 -0
- package/es/common/components/search-bar/messages.js +16 -16
- package/es/common/components/search-bar/search-bar.d.ts +13 -0
- package/es/common/components/search-bar/search-bar.d.ts.map +1 -0
- package/es/common/components/search-bar/search-bar.js +134 -204
- package/es/common/components/search-bar/utils/fetcher.d.ts +2 -0
- package/es/common/components/search-bar/utils/fetcher.d.ts.map +1 -0
- package/es/common/components/search-bar/utils/fetcher.js +6 -12
- package/es/common/components/search-bar/utils/keyboard-keys.d.ts +6 -0
- package/es/common/components/search-bar/utils/keyboard-keys.d.ts.map +1 -0
- package/es/common/components/search-bar/utils/keyboard-keys.js +1 -1
- package/es/common/components/search-bar/utils/params.d.ts +2 -0
- package/es/common/components/search-bar/utils/params.d.ts.map +1 -0
- package/es/common/components/search-bar/utils/params.js +11 -8
- package/es/common/components/tabbed-zones.d.ts +12 -0
- package/es/common/components/tabbed-zones.d.ts.map +1 -0
- package/es/common/components/tabbed-zones.js +47 -100
- package/es/common/components/video-player/controls.d.ts +17 -0
- package/es/common/components/video-player/controls.d.ts.map +1 -0
- package/es/common/components/video-player/controls.js +37 -114
- package/es/common/components/video-player/icons.d.ts +7 -0
- package/es/common/components/video-player/icons.d.ts.map +1 -0
- package/es/common/components/video-player/icons.js +8 -48
- package/es/common/components/video-player/index.d.ts +2 -0
- package/es/common/components/video-player/index.d.ts.map +1 -0
- package/es/common/components/video-player/index.js +1 -1
- package/es/common/components/video-player/utils.d.ts +5 -0
- package/es/common/components/video-player/utils.d.ts.map +1 -0
- package/es/common/components/video-player/utils.js +42 -34
- package/es/common/components/video-player/video-player.d.ts +10 -0
- package/es/common/components/video-player/video-player.d.ts.map +1 -0
- package/es/common/components/video-player/video-player.js +63 -101
- package/es/common/hooks/use-account.d.ts +7 -0
- package/es/common/hooks/use-account.d.ts.map +1 -0
- package/es/common/hooks/use-account.js +22 -25
- package/es/common/hooks/use-faq.d.ts +3 -0
- package/es/common/hooks/use-faq.d.ts.map +1 -0
- package/es/common/hooks/use-faq.js +36 -37
- package/es/common/hooks/use-in-view.d.ts +5 -0
- package/es/common/hooks/use-in-view.d.ts.map +1 -0
- package/es/common/hooks/use-in-view.js +74 -74
- package/es/common/hooks/use-injected-cms-markup.d.ts +3 -0
- package/es/common/hooks/use-injected-cms-markup.d.ts.map +1 -0
- package/es/common/hooks/use-injected-cms-markup.js +37 -39
- package/es/common/hooks/use-packages.d.ts +3 -0
- package/es/common/hooks/use-packages.d.ts.map +1 -0
- package/es/common/hooks/use-packages.js +90 -97
- package/es/common/hooks/use-scroll-direction.d.ts +11 -0
- package/es/common/hooks/use-scroll-direction.d.ts.map +1 -0
- package/es/common/hooks/use-scroll-direction.js +32 -37
- package/es/common/hooks/use-stay.d.ts +4 -0
- package/es/common/hooks/use-stay.d.ts.map +1 -0
- package/es/common/hooks/use-stay.js +13 -16
- package/es/common/hooks/use-sticky.d.ts +4 -0
- package/es/common/hooks/use-sticky.d.ts.map +1 -0
- package/es/common/hooks/use-sticky.js +35 -35
- package/es/common/hooks/use-tunnel.d.ts +11 -0
- package/es/common/hooks/use-tunnel.d.ts.map +1 -0
- package/es/common/hooks/use-tunnel.js +44 -51
- package/es/common/hooks/use-update-effect.d.ts +2 -0
- package/es/common/hooks/use-update-effect.d.ts.map +1 -0
- package/es/common/hooks/use-update-effect.js +9 -9
- package/es/common/hooks/use-window-sizes.d.ts +7 -0
- package/es/common/hooks/use-window-sizes.d.ts.map +1 -0
- package/es/common/hooks/use-window-sizes.js +28 -29
- package/es/common/hooks/use-youtube-popup.d.ts +3 -0
- package/es/common/hooks/use-youtube-popup.d.ts.map +1 -0
- package/es/common/hooks/use-youtube-popup.js +44 -53
- package/es/common/hooks/use-zone-sync.d.ts +3 -0
- package/es/common/hooks/use-zone-sync.d.ts.map +1 -0
- package/es/common/hooks/use-zone-sync.js +52 -52
- package/es/common/utils/cms.d.ts +4 -0
- package/es/common/utils/cms.d.ts.map +1 -0
- package/es/common/utils/cms.js +17 -15
- package/es/common/utils/cookies.d.ts +2 -0
- package/es/common/utils/cookies.d.ts.map +1 -0
- package/es/common/utils/cookies.js +11 -10
- package/es/common/utils/copy.d.ts +2 -0
- package/es/common/utils/copy.d.ts.map +1 -0
- package/es/common/utils/copy.js +11 -11
- package/es/common/utils/dates.d.ts +2 -0
- package/es/common/utils/dates.d.ts.map +1 -0
- package/es/common/utils/dates.js +10 -8
- package/es/common/utils/elements.d.ts +5 -0
- package/es/common/utils/elements.d.ts.map +1 -0
- package/es/common/utils/elements.js +15 -14
- package/es/common/utils/events.d.ts +4 -0
- package/es/common/utils/events.d.ts.map +1 -0
- package/es/common/utils/events.js +2 -4
- package/es/common/utils/fetcher.d.ts +5 -0
- package/es/common/utils/fetcher.d.ts.map +1 -0
- package/es/common/utils/fetcher.js +37 -27
- package/es/common/utils/file-manager.d.ts +13 -0
- package/es/common/utils/file-manager.d.ts.map +1 -0
- package/es/common/utils/file-manager.js +10 -12
- package/es/common/utils/load-js.d.ts +3 -0
- package/es/common/utils/load-js.d.ts.map +1 -0
- package/es/common/utils/load-js.js +11 -10
- package/es/common/utils/msem-widget.d.ts +16 -0
- package/es/common/utils/msem-widget.d.ts.map +1 -0
- package/es/common/utils/msem-widget.js +30 -36
- package/es/common/utils/scrollbar-size.d.ts +2 -0
- package/es/common/utils/scrollbar-size.d.ts.map +1 -0
- package/es/common/utils/scrollbar-size.js +1 -1
- package/es/common/utils/touch-device.d.ts +2 -0
- package/es/common/utils/touch-device.d.ts.map +1 -0
- package/es/common/utils/touch-device.js +3 -1
- package/es/common/utils/url-parameters.d.ts +2 -0
- package/es/common/utils/url-parameters.d.ts.map +1 -0
- package/es/common/utils/url-parameters.js +7 -11
- package/es/esf/components/account-button/account-button.d.ts +14 -0
- package/es/esf/components/account-button/account-button.d.ts.map +1 -0
- package/es/esf/components/account-button/account-button.js +8 -35
- package/es/esf/components/account-button/index.d.ts +3 -0
- package/es/esf/components/account-button/index.d.ts.map +1 -0
- package/es/esf/components/account-button/index.js +1 -1
- package/es/esf/components/booking-form/booking-form.d.ts +3 -0
- package/es/esf/components/booking-form/booking-form.d.ts.map +1 -0
- package/es/esf/components/booking-form/booking-form.js +24 -65
- package/es/esf/components/booking-form/data.d.ts +335 -0
- package/es/esf/components/booking-form/data.d.ts.map +1 -0
- package/es/esf/components/booking-form/data.js +212 -206
- package/es/esf/components/booking-form/field.d.ts +10 -0
- package/es/esf/components/booking-form/field.d.ts.map +1 -0
- package/es/esf/components/booking-form/field.js +80 -102
- package/es/esf/components/booking-form/hooks/use-custom-fields.d.ts +3 -0
- package/es/esf/components/booking-form/hooks/use-custom-fields.d.ts.map +1 -0
- package/es/esf/components/booking-form/hooks/use-custom-fields.js +17 -23
- package/es/esf/components/booking-form/hooks/use-stay.d.ts +3 -0
- package/es/esf/components/booking-form/hooks/use-stay.d.ts.map +1 -0
- package/es/esf/components/booking-form/hooks/use-stay.js +9 -9
- package/es/esf/components/booking-form/index.d.ts +3 -0
- package/es/esf/components/booking-form/index.d.ts.map +1 -0
- package/es/esf/components/booking-form/index.js +1 -1
- package/es/esf/components/booking-form/lesson.d.ts +9 -0
- package/es/esf/components/booking-form/lesson.d.ts.map +1 -0
- package/es/esf/components/booking-form/lesson.js +18 -48
- package/es/esf/components/booking-form/lessons.d.ts +12 -0
- package/es/esf/components/booking-form/lessons.d.ts.map +1 -0
- package/es/esf/components/booking-form/lessons.js +41 -77
- package/es/esf/components/booking-form/messages.d.ts +2 -0
- package/es/esf/components/booking-form/messages.d.ts.map +1 -0
- package/es/esf/components/booking-form/messages.js +51 -50
- package/es/esf/components/booking-form/personal-data.d.ts +10 -0
- package/es/esf/components/booking-form/personal-data.d.ts.map +1 -0
- package/es/esf/components/booking-form/personal-data.js +17 -55
- package/es/esf/components/booking-form/progress-bar.d.ts +6 -0
- package/es/esf/components/booking-form/progress-bar.d.ts.map +1 -0
- package/es/esf/components/booking-form/progress-bar.js +12 -29
- package/es/esf/components/booking-form/steps.d.ts +14 -0
- package/es/esf/components/booking-form/steps.d.ts.map +1 -0
- package/es/esf/components/booking-form/steps.js +33 -70
- package/es/esf/components/booking-form/summary.d.ts +11 -0
- package/es/esf/components/booking-form/summary.d.ts.map +1 -0
- package/es/esf/components/booking-form/summary.js +60 -134
- package/es/esf/components/booking-form/utils.d.ts +6 -0
- package/es/esf/components/booking-form/utils.d.ts.map +1 -0
- package/es/esf/components/booking-form/utils.js +41 -55
- package/es/esf/components/covid-link/index.d.ts +3 -0
- package/es/esf/components/covid-link/index.d.ts.map +1 -0
- package/es/esf/components/covid-link/index.js +2 -2
- package/es/esf/components/covid-link/mask-icon.d.ts +3 -0
- package/es/esf/components/covid-link/mask-icon.d.ts.map +1 -0
- package/es/esf/components/covid-link/mask-icon.js +3 -15
- package/es/esf/components/covid-link/vax-pass-icon.d.ts +3 -0
- package/es/esf/components/covid-link/vax-pass-icon.d.ts.map +1 -0
- package/es/esf/components/covid-link/vax-pass-icon.js +3 -32
- package/es/esf/components/cp-form.d.ts +15 -0
- package/es/esf/components/cp-form.d.ts.map +1 -0
- package/es/esf/components/cp-form.js +50 -58
- package/es/esf/components/instructors-book/api.d.ts +4 -0
- package/es/esf/components/instructors-book/api.d.ts.map +1 -0
- package/es/esf/components/instructors-book/api.js +51 -53
- package/es/esf/components/instructors-book/book.d.ts +5 -0
- package/es/esf/components/instructors-book/book.d.ts.map +1 -0
- package/es/esf/components/instructors-book/book.js +54 -75
- package/es/esf/components/instructors-book/filters.d.ts +9 -0
- package/es/esf/components/instructors-book/filters.d.ts.map +1 -0
- package/es/esf/components/instructors-book/filters.js +20 -56
- package/es/esf/components/instructors-book/flags.d.ts +34 -0
- package/es/esf/components/instructors-book/flags.d.ts.map +1 -0
- package/es/esf/components/instructors-book/flags.js +33 -246
- package/es/esf/components/instructors-book/index.d.ts +7 -0
- package/es/esf/components/instructors-book/index.d.ts.map +1 -0
- package/es/esf/components/instructors-book/index.js +1 -1
- package/es/esf/components/instructors-book/instructor.d.ts +8 -0
- package/es/esf/components/instructors-book/instructor.d.ts.map +1 -0
- package/es/esf/components/instructors-book/instructor.js +34 -103
- package/es/esf/components/instructors-book/list.d.ts +10 -0
- package/es/esf/components/instructors-book/list.d.ts.map +1 -0
- package/es/esf/components/instructors-book/list.js +14 -40
- package/es/esf/components/instructors-book/messages.d.ts +2 -0
- package/es/esf/components/instructors-book/messages.d.ts.map +1 -0
- package/es/esf/components/instructors-book/messages.js +38 -38
- package/es/esf/components/instructors-book/prefixes.d.ts +6 -0
- package/es/esf/components/instructors-book/prefixes.d.ts.map +1 -0
- package/es/esf/components/instructors-book/prefixes.js +3 -3
- package/es/esf/components/instructors-book/sheet.d.ts +8 -0
- package/es/esf/components/instructors-book/sheet.d.ts.map +1 -0
- package/es/esf/components/instructors-book/sheet.js +37 -161
- package/es/esf/components/instructors-book/suggestions.d.ts +7 -0
- package/es/esf/components/instructors-book/suggestions.d.ts.map +1 -0
- package/es/esf/components/instructors-book/suggestions.js +25 -51
- package/es/esf/components/instructors-book/utils.d.ts +14 -0
- package/es/esf/components/instructors-book/utils.d.ts.map +1 -0
- package/es/esf/components/instructors-book/utils.js +42 -39
- package/es/esf/components/levels/detail.d.ts +5 -0
- package/es/esf/components/levels/detail.d.ts.map +1 -0
- package/es/esf/components/levels/detail.js +4 -34
- package/es/esf/components/levels/index.d.ts +3 -0
- package/es/esf/components/levels/index.d.ts.map +1 -0
- package/es/esf/components/levels/index.js +1 -1
- package/es/esf/components/levels/levels.d.ts +5 -0
- package/es/esf/components/levels/levels.d.ts.map +1 -0
- package/es/esf/components/levels/levels.js +199 -324
- package/es/esf/components/loyal-customers/api.d.ts +5 -0
- package/es/esf/components/loyal-customers/api.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/api.js +10 -18
- package/es/esf/components/loyal-customers/components/bin-icon.d.ts +3 -0
- package/es/esf/components/loyal-customers/components/bin-icon.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/bin-icon.js +3 -25
- package/es/esf/components/loyal-customers/components/customer-form.d.ts +18 -0
- package/es/esf/components/loyal-customers/components/customer-form.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/customer-form.js +29 -88
- package/es/esf/components/loyal-customers/components/field.d.ts +9 -0
- package/es/esf/components/loyal-customers/components/field.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/field.js +67 -91
- package/es/esf/components/loyal-customers/components/row.d.ts +10 -0
- package/es/esf/components/loyal-customers/components/row.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/row.js +10 -66
- package/es/esf/components/loyal-customers/components/rows.d.ts +9 -0
- package/es/esf/components/loyal-customers/components/rows.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/rows.js +10 -30
- package/es/esf/components/loyal-customers/components/stay.d.ts +5 -0
- package/es/esf/components/loyal-customers/components/stay.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/stay.js +13 -30
- package/es/esf/components/loyal-customers/components/student-form.d.ts +10 -0
- package/es/esf/components/loyal-customers/components/student-form.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/student-form.js +28 -105
- package/es/esf/components/loyal-customers/components/voucher.d.ts +7 -0
- package/es/esf/components/loyal-customers/components/voucher.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/components/voucher.js +4 -19
- package/es/esf/components/loyal-customers/content.d.ts +18 -0
- package/es/esf/components/loyal-customers/content.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/content.js +43 -46
- package/es/esf/components/loyal-customers/data.d.ts +167 -0
- package/es/esf/components/loyal-customers/data.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/data.js +62 -113
- package/es/esf/components/loyal-customers/hooks/use-stored-rows.d.ts +4 -0
- package/es/esf/components/loyal-customers/hooks/use-stored-rows.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/hooks/use-stored-rows.js +9 -8
- package/es/esf/components/loyal-customers/index.d.ts +3 -0
- package/es/esf/components/loyal-customers/index.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/index.js +1 -1
- package/es/esf/components/loyal-customers/loyal-customers.d.ts +17 -0
- package/es/esf/components/loyal-customers/loyal-customers.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/loyal-customers.js +47 -120
- package/es/esf/components/loyal-customers/messages.d.ts +2 -0
- package/es/esf/components/loyal-customers/messages.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/messages.js +57 -56
- package/es/esf/components/loyal-customers/utils.d.ts +21 -0
- package/es/esf/components/loyal-customers/utils.d.ts.map +1 -0
- package/es/esf/components/loyal-customers/utils.js +42 -67
- package/es/esf/components/magic-box/booking.d.ts +11 -0
- package/es/esf/components/magic-box/booking.d.ts.map +1 -0
- package/es/esf/components/magic-box/booking.js +86 -90
- package/es/esf/components/magic-box/filter.d.ts +8 -0
- package/es/esf/components/magic-box/filter.d.ts.map +1 -0
- package/es/esf/components/magic-box/filter.js +14 -38
- package/es/esf/components/magic-box/filters.d.ts +7 -0
- package/es/esf/components/magic-box/filters.d.ts.map +1 -0
- package/es/esf/components/magic-box/filters.js +6 -18
- package/es/esf/components/magic-box/index.d.ts +3 -0
- package/es/esf/components/magic-box/index.d.ts.map +1 -0
- package/es/esf/components/magic-box/index.js +1 -1
- package/es/esf/components/magic-box/magic-box.d.ts +28 -0
- package/es/esf/components/magic-box/magic-box.d.ts.map +1 -0
- package/es/esf/components/magic-box/magic-box.js +105 -169
- package/es/esf/components/magic-box/messages.d.ts +2 -0
- package/es/esf/components/magic-box/messages.d.ts.map +1 -0
- package/es/esf/components/magic-box/messages.js +27 -26
- package/es/esf/components/magic-box/services/api.d.ts +19 -0
- package/es/esf/components/magic-box/services/api.d.ts.map +1 -0
- package/es/esf/components/magic-box/services/api.js +24 -47
- package/es/esf/components/magic-box/services/widgets.d.ts +2 -0
- package/es/esf/components/magic-box/services/widgets.d.ts.map +1 -0
- package/es/esf/components/magic-box/services/widgets.js +2 -2
- package/es/esf/components/parcours-esf/index.d.ts +3 -0
- package/es/esf/components/parcours-esf/index.d.ts.map +1 -0
- package/es/esf/components/parcours-esf/index.js +1 -1
- package/es/esf/components/parcours-esf/parcours-esf.d.ts +14 -0
- package/es/esf/components/parcours-esf/parcours-esf.d.ts.map +1 -0
- package/es/esf/components/parcours-esf/parcours-esf.js +27 -45
- package/es/esf/components/period-picker/controls.d.ts +5 -0
- package/es/esf/components/period-picker/controls.d.ts.map +1 -0
- package/es/esf/components/period-picker/controls.js +16 -38
- package/es/esf/components/period-picker/date-display.d.ts +4 -0
- package/es/esf/components/period-picker/date-display.d.ts.map +1 -0
- package/es/esf/components/period-picker/date-display.js +32 -59
- package/es/esf/components/period-picker/days.d.ts +4 -0
- package/es/esf/components/period-picker/days.d.ts.map +1 -0
- package/es/esf/components/period-picker/days.js +58 -102
- package/es/esf/components/period-picker/extended-stay-picker.d.ts +12 -0
- package/es/esf/components/period-picker/extended-stay-picker.d.ts.map +1 -0
- package/es/esf/components/period-picker/extended-stay-picker.js +14 -48
- package/es/esf/components/period-picker/index.d.ts +3 -0
- package/es/esf/components/period-picker/index.d.ts.map +1 -0
- package/es/esf/components/period-picker/index.js +1 -1
- package/es/esf/components/period-picker/messages.d.ts +2 -0
- package/es/esf/components/period-picker/messages.d.ts.map +1 -0
- package/es/esf/components/period-picker/messages.js +87 -87
- package/es/esf/components/period-picker/period-picker.d.ts +8 -0
- package/es/esf/components/period-picker/period-picker.d.ts.map +1 -0
- package/es/esf/components/period-picker/period-picker.js +113 -183
- package/es/esf/components/period-picker/popup.d.ts +8 -0
- package/es/esf/components/period-picker/popup.d.ts.map +1 -0
- package/es/esf/components/period-picker/popup.js +11 -33
- package/es/esf/components/period-picker/services/dates.d.ts +16 -0
- package/es/esf/components/period-picker/services/dates.d.ts.map +1 -0
- package/es/esf/components/period-picker/services/dates.js +67 -68
- package/es/esf/components/period-picker/services/events.d.ts +2 -0
- package/es/esf/components/period-picker/services/events.d.ts.map +1 -0
- package/es/esf/components/period-picker/services/events.js +3 -6
- package/es/esf/components/period-picker/services/motions.d.ts +51 -0
- package/es/esf/components/period-picker/services/motions.d.ts.map +1 -0
- package/es/esf/components/period-picker/services/motions.js +8 -33
- package/es/esf/components/period-picker/services/sections.d.ts +3 -0
- package/es/esf/components/period-picker/services/sections.d.ts.map +1 -0
- package/es/esf/components/period-picker/services/sections.js +39 -31
- package/es/esf/components/period-picker/services/stay.d.ts +3 -0
- package/es/esf/components/period-picker/services/stay.d.ts.map +1 -0
- package/es/esf/components/period-picker/services/stay.js +20 -21
- package/es/esf/components/period-picker/title.d.ts +5 -0
- package/es/esf/components/period-picker/title.d.ts.map +1 -0
- package/es/esf/components/period-picker/title.js +8 -22
- package/es/esf/components/period-picker/warning.d.ts +8 -0
- package/es/esf/components/period-picker/warning.d.ts.map +1 -0
- package/es/esf/components/period-picker/warning.js +10 -43
- package/es/esf/components/period-picker/weeks.d.ts +4 -0
- package/es/esf/components/period-picker/weeks.d.ts.map +1 -0
- package/es/esf/components/period-picker/weeks.js +55 -137
- package/es/esf/components/reviews.d.ts +7 -0
- package/es/esf/components/reviews.d.ts.map +1 -0
- package/es/esf/components/reviews.js +19 -25
- package/es/esf/components/village-maps/icons.d.ts +6 -0
- package/es/esf/components/village-maps/icons.d.ts.map +1 -0
- package/es/esf/components/village-maps/icons.js +7 -38
- package/es/esf/components/village-maps/index.d.ts +9 -0
- package/es/esf/components/village-maps/index.d.ts.map +1 -0
- package/es/esf/components/village-maps/index.js +59 -193
- package/es/esf/components/village-maps/messages.d.ts +3 -0
- package/es/esf/components/village-maps/messages.d.ts.map +1 -0
- package/es/esf/components/village-maps/messages.js +13 -13
- package/es/esf/components/village-maps/utils.d.ts +5 -0
- package/es/esf/components/village-maps/utils.d.ts.map +1 -0
- package/es/esf/components/village-maps/utils.js +19 -19
- package/es/esf/components/week-picker/index.d.ts +15 -0
- package/es/esf/components/week-picker/index.d.ts.map +1 -0
- package/es/esf/components/week-picker/index.js +133 -222
- package/es/esf/components/week-picker/messages.d.ts +28 -0
- package/es/esf/components/week-picker/messages.d.ts.map +1 -0
- package/es/esf/components/week-picker/messages.js +31 -30
- package/es/esf/components/week-picker/utils.d.ts +6 -0
- package/es/esf/components/week-picker/utils.d.ts.map +1 -0
- package/es/esf/components/week-picker/utils.js +49 -47
- package/es/esf/components/week-picker/week.d.ts +10 -0
- package/es/esf/components/week-picker/week.d.ts.map +1 -0
- package/es/esf/components/week-picker/week.js +22 -46
- package/es/esf/components/week-picker-2/index.d.ts +15 -0
- package/es/esf/components/week-picker-2/index.d.ts.map +1 -0
- package/es/esf/components/week-picker-2/index.js +156 -259
- package/es/esf/components/week-picker-2/messages.d.ts +32 -0
- package/es/esf/components/week-picker-2/messages.d.ts.map +1 -0
- package/es/esf/components/week-picker-2/messages.js +29 -29
- package/es/esf/components/week-picker-2/utils.d.ts +6 -0
- package/es/esf/components/week-picker-2/utils.d.ts.map +1 -0
- package/es/esf/components/week-picker-2/utils.js +49 -47
- package/es/esf/components/week-picker-2/week.d.ts +10 -0
- package/es/esf/components/week-picker-2/week.d.ts.map +1 -0
- package/es/esf/components/week-picker-2/week.js +22 -49
- package/es/esf/hooks/use-affiliation.d.ts +2 -0
- package/es/esf/hooks/use-affiliation.d.ts.map +1 -0
- package/es/esf/hooks/use-affiliation.js +12 -16
- package/es/esf/hooks/use-booking-links.d.ts +2 -0
- package/es/esf/hooks/use-booking-links.d.ts.map +1 -0
- package/es/esf/hooks/use-booking-links.js +42 -34
- package/es/esf/hooks/use-reviews.d.ts +3 -0
- package/es/esf/hooks/use-reviews.d.ts.map +1 -0
- package/es/esf/hooks/use-reviews.js +18 -22
- package/es/esf/hooks/use-season-products.d.ts +2 -0
- package/es/esf/hooks/use-season-products.d.ts.map +1 -0
- package/es/esf/hooks/use-season-products.js +73 -79
- package/es/future/components/msem/index.d.ts +4 -0
- package/es/future/components/msem/index.d.ts.map +1 -0
- package/es/future/components/msem/index.js +1 -1
- package/es/future/components/msem/script.d.ts +6 -0
- package/es/future/components/msem/script.d.ts.map +1 -0
- package/es/future/components/msem/script.js +7 -13
- package/es/future/components/msem/tunnel.d.ts +42 -0
- package/es/future/components/msem/tunnel.d.ts.map +1 -0
- package/es/future/components/msem/tunnel.js +17 -30
- package/es/future/components/msem/types.d.ts +16 -0
- package/es/future/components/msem/types.d.ts.map +1 -0
- package/es/future/components/msem/types.js +1 -1
- package/es/future/components/msem/utils.d.ts +4 -0
- package/es/future/components/msem/utils.d.ts.map +1 -0
- package/es/future/components/msem/utils.js +18 -16
- package/es/future/components/plausible/hooks/use-plausible.d.ts +12 -0
- package/es/future/components/plausible/hooks/use-plausible.d.ts.map +1 -0
- package/es/future/components/plausible/hooks/use-plausible.js +18 -22
- package/es/future/components/plausible/index.d.ts +8 -0
- package/es/future/components/plausible/index.d.ts.map +1 -0
- package/es/future/components/plausible/index.js +1 -1
- package/es/future/components/plausible/plausible.d.ts +7 -0
- package/es/future/components/plausible/plausible.d.ts.map +1 -0
- package/es/future/components/plausible/plausible.js +13 -23
- package/es/future/components/plausible/services/callback.d.ts +24 -0
- package/es/future/components/plausible/services/callback.d.ts.map +1 -0
- package/es/future/components/plausible/services/callback.js +117 -186
- package/es/future/components/plausible/services/load.d.ts +2 -0
- package/es/future/components/plausible/services/load.d.ts.map +1 -0
- package/es/future/components/plausible/services/load.js +6 -4
- package/es/future/components/plausible/services/send-goal.d.ts +7 -0
- package/es/future/components/plausible/services/send-goal.d.ts.map +1 -0
- package/es/future/components/plausible/services/send-goal.js +3 -6
- package/es/lbm/components/lumiplan/api.d.ts +9 -0
- package/es/lbm/components/lumiplan/api.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/api.js +19 -39
- package/es/lbm/components/lumiplan/domain.d.ts +8 -0
- package/es/lbm/components/lumiplan/domain.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/domain.js +21 -105
- package/es/lbm/components/lumiplan/header.d.ts +8 -0
- package/es/lbm/components/lumiplan/header.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/header.js +15 -36
- package/es/lbm/components/lumiplan/i18n/translations.d.ts +7 -0
- package/es/lbm/components/lumiplan/i18n/translations.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/i18n/translations.js +15 -24
- package/es/lbm/components/lumiplan/icons/alert.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/alert.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/alert.js +4 -21
- package/es/lbm/components/lumiplan/icons/avalanche-risk.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/avalanche-risk.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/avalanche-risk.js +4 -14
- package/es/lbm/components/lumiplan/icons/cabin.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/cabin.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/cabin.js +4 -14
- package/es/lbm/components/lumiplan/icons/check.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/check.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/check.js +4 -16
- package/es/lbm/components/lumiplan/icons/close.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/close.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/close.js +4 -21
- package/es/lbm/components/lumiplan/icons/cloud.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/cloud.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/cloud.js +4 -20
- package/es/lbm/components/lumiplan/icons/dawn.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/dawn.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/dawn.js +4 -19
- package/es/lbm/components/lumiplan/icons/fog.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/fog.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/fog.js +4 -23
- package/es/lbm/components/lumiplan/icons/heavy-snow.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/heavy-snow.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/heavy-snow.js +4 -32
- package/es/lbm/components/lumiplan/icons/information.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/information.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/information.js +4 -21
- package/es/lbm/components/lumiplan/icons/isothermal.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/isothermal.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/isothermal.js +4 -25
- package/es/lbm/components/lumiplan/icons/lifts/index.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/lifts/index.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/index.js +1 -1
- package/es/lbm/components/lumiplan/icons/lifts/tapis-roulant.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/lifts/tapis-roulant.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/tapis-roulant.js +4 -16
- package/es/lbm/components/lumiplan/icons/lifts/telecabine.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/lifts/telecabine.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/telecabine.js +4 -16
- package/es/lbm/components/lumiplan/icons/lifts/telesiege-debrayable.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/lifts/telesiege-debrayable.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/telesiege-debrayable.js +4 -27
- package/es/lbm/components/lumiplan/icons/lifts/telesiege.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/lifts/telesiege.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/telesiege.js +4 -16
- package/es/lbm/components/lumiplan/icons/lifts/teleski.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/lifts/teleski.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/lifts/teleski.js +4 -16
- package/es/lbm/components/lumiplan/icons/link.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/link.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/link.js +4 -17
- package/es/lbm/components/lumiplan/icons/night.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/night.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/night.js +4 -14
- package/es/lbm/components/lumiplan/icons/rain.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/rain.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/rain.js +4 -24
- package/es/lbm/components/lumiplan/icons/rainy-rainy.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/rainy-rainy.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/rainy-rainy.js +4 -20
- package/es/lbm/components/lumiplan/icons/rainy.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/rainy.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/rainy.js +4 -20
- package/es/lbm/components/lumiplan/icons/reload.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/reload.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/reload.js +4 -30
- package/es/lbm/components/lumiplan/icons/road-condition.d.ts +7 -0
- package/es/lbm/components/lumiplan/icons/road-condition.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/road-condition.js +4 -28
- package/es/lbm/components/lumiplan/icons/slopes.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/slopes.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/slopes.js +4 -14
- package/es/lbm/components/lumiplan/icons/snow-cover.d.ts +7 -0
- package/es/lbm/components/lumiplan/icons/snow-cover.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/snow-cover.js +4 -16
- package/es/lbm/components/lumiplan/icons/snow.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/snow.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/snow.js +4 -26
- package/es/lbm/components/lumiplan/icons/storm.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/storm.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/storm.js +4 -15
- package/es/lbm/components/lumiplan/icons/sun.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/sun.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/sun.js +4 -16
- package/es/lbm/components/lumiplan/icons/sunny.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/sunny.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/sunny.js +4 -23
- package/es/lbm/components/lumiplan/icons/time.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/time.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/time.js +4 -21
- package/es/lbm/components/lumiplan/icons/trails/accrobranche.d.ts +5 -0
- package/es/lbm/components/lumiplan/icons/trails/accrobranche.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/accrobranche.js +4 -17
- package/es/lbm/components/lumiplan/icons/trails/boarder-cross.d.ts +5 -0
- package/es/lbm/components/lumiplan/icons/trails/boarder-cross.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/boarder-cross.js +4 -21
- package/es/lbm/components/lumiplan/icons/trails/champ-de-bosse.d.ts +5 -0
- 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 +4 -19
- package/es/lbm/components/lumiplan/icons/trails/freeride.d.ts +5 -0
- package/es/lbm/components/lumiplan/icons/trails/freeride.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/freeride.js +4 -16
- package/es/lbm/components/lumiplan/icons/trails/index.d.ts +17 -0
- package/es/lbm/components/lumiplan/icons/trails/index.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/index.js +1 -1
- package/es/lbm/components/lumiplan/icons/trails/luge-sur-rail.d.ts +5 -0
- 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 +4 -19
- package/es/lbm/components/lumiplan/icons/trails/luge.d.ts +5 -0
- package/es/lbm/components/lumiplan/icons/trails/luge.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/luge.js +4 -16
- package/es/lbm/components/lumiplan/icons/trails/pieton.d.ts +5 -0
- package/es/lbm/components/lumiplan/icons/trails/pieton.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/pieton.js +4 -16
- package/es/lbm/components/lumiplan/icons/trails/piste-eclairee.d.ts +5 -0
- package/es/lbm/components/lumiplan/icons/trails/piste-eclairee.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/piste-eclairee.js +4 -19
- package/es/lbm/components/lumiplan/icons/trails/raquette.d.ts +5 -0
- package/es/lbm/components/lumiplan/icons/trails/raquette.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/raquette.js +4 -65
- package/es/lbm/components/lumiplan/icons/trails/ski-alpin.d.ts +5 -0
- package/es/lbm/components/lumiplan/icons/trails/ski-alpin.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/ski-alpin.js +4 -16
- package/es/lbm/components/lumiplan/icons/trails/ski-fond.d.ts +5 -0
- package/es/lbm/components/lumiplan/icons/trails/ski-fond.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/ski-fond.js +4 -16
- package/es/lbm/components/lumiplan/icons/trails/snowpark.d.ts +5 -0
- package/es/lbm/components/lumiplan/icons/trails/snowpark.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/snowpark.js +4 -16
- package/es/lbm/components/lumiplan/icons/trails/snowtubing.d.ts +5 -0
- package/es/lbm/components/lumiplan/icons/trails/snowtubing.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/snowtubing.js +4 -23
- package/es/lbm/components/lumiplan/icons/trails/tyrolienne.d.ts +5 -0
- package/es/lbm/components/lumiplan/icons/trails/tyrolienne.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/tyrolienne.js +4 -16
- package/es/lbm/components/lumiplan/icons/trails/vtt.d.ts +5 -0
- package/es/lbm/components/lumiplan/icons/trails/vtt.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/vtt.js +4 -19
- package/es/lbm/components/lumiplan/icons/trails/zone-freeride.d.ts +5 -0
- package/es/lbm/components/lumiplan/icons/trails/zone-freeride.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/trails/zone-freeride.js +4 -16
- package/es/lbm/components/lumiplan/icons/variable-snow.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/variable-snow.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/variable-snow.js +4 -29
- package/es/lbm/components/lumiplan/icons/variable-storm.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/variable-storm.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/variable-storm.js +4 -22
- package/es/lbm/components/lumiplan/icons/variable.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/variable.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/variable.js +4 -20
- package/es/lbm/components/lumiplan/icons/warning.d.ts +6 -0
- package/es/lbm/components/lumiplan/icons/warning.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/warning.js +4 -21
- package/es/lbm/components/lumiplan/icons/wind.d.ts +7 -0
- package/es/lbm/components/lumiplan/icons/wind.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/icons/wind.js +12 -26
- package/es/lbm/components/lumiplan/index.d.ts +3 -0
- package/es/lbm/components/lumiplan/index.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/index.js +1 -1
- package/es/lbm/components/lumiplan/lumiplan.d.ts +2 -0
- package/es/lbm/components/lumiplan/lumiplan.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/lumiplan.js +138 -167
- package/es/lbm/components/lumiplan/opening.d.ts +9 -0
- package/es/lbm/components/lumiplan/opening.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/opening.js +40 -131
- package/es/lbm/components/lumiplan/pois.d.ts +8 -0
- package/es/lbm/components/lumiplan/pois.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/pois.js +160 -275
- package/es/lbm/components/lumiplan/print-button.d.ts +9 -0
- package/es/lbm/components/lumiplan/print-button.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/print-button.js +11 -26
- package/es/lbm/components/lumiplan/resort-selector.d.ts +12 -0
- package/es/lbm/components/lumiplan/resort-selector.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/resort-selector.js +35 -58
- package/es/lbm/components/lumiplan/road-condition.d.ts +8 -0
- package/es/lbm/components/lumiplan/road-condition.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/road-condition.js +19 -100
- package/es/lbm/components/lumiplan/signature.d.ts +7 -0
- package/es/lbm/components/lumiplan/signature.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/signature.js +8 -21
- package/es/lbm/components/lumiplan/todays-tips.d.ts +8 -0
- package/es/lbm/components/lumiplan/todays-tips.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/todays-tips.js +16 -45
- package/es/lbm/components/lumiplan/toolbar.d.ts +7 -0
- package/es/lbm/components/lumiplan/toolbar.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/toolbar.js +4 -27
- package/es/lbm/components/lumiplan/types.d.ts +292 -0
- package/es/lbm/components/lumiplan/types.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/types.js +1 -1
- package/es/lbm/components/lumiplan/weather/avalanche-risk.d.ts +4 -0
- package/es/lbm/components/lumiplan/weather/avalanche-risk.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/avalanche-risk.js +8 -33
- package/es/lbm/components/lumiplan/weather/index.d.ts +3 -0
- package/es/lbm/components/lumiplan/weather/index.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/index.js +1 -1
- package/es/lbm/components/lumiplan/weather/snow-data.d.ts +8 -0
- package/es/lbm/components/lumiplan/weather/snow-data.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/snow-data.js +5 -71
- package/es/lbm/components/lumiplan/weather/weather-data.d.ts +9 -0
- package/es/lbm/components/lumiplan/weather/weather-data.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/weather-data.js +13 -128
- package/es/lbm/components/lumiplan/weather/weather-days.d.ts +7 -0
- package/es/lbm/components/lumiplan/weather/weather-days.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/weather-days.js +47 -76
- package/es/lbm/components/lumiplan/weather/weather-icon.d.ts +68 -0
- package/es/lbm/components/lumiplan/weather/weather-icon.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/weather-icon.js +20 -23
- package/es/lbm/components/lumiplan/weather/weather-zones.d.ts +6 -0
- package/es/lbm/components/lumiplan/weather/weather-zones.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/weather-zones.js +41 -71
- package/es/lbm/components/lumiplan/weather/weather.d.ts +8 -0
- package/es/lbm/components/lumiplan/weather/weather.d.ts.map +1 -0
- package/es/lbm/components/lumiplan/weather/weather.js +39 -123
- package/package.json +13 -29
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import getConfig from "next/config";
|
|
3
4
|
import Image from "next/image";
|
|
@@ -14,286 +15,170 @@ import * as TrailIcons from "./icons/trails";
|
|
|
14
15
|
import LinkIcon from "./icons/link";
|
|
15
16
|
import T, { t } from "./i18n/translations";
|
|
16
17
|
import css from "./pois.module.css";
|
|
17
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
18
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
20
18
|
const LIFT_ICONS = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
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,
|
|
34
32
|
};
|
|
35
33
|
const TRAIL_ICONS = {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
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,
|
|
71
69
|
};
|
|
72
|
-
const {
|
|
73
|
-
|
|
74
|
-
} = getConfig();
|
|
75
|
-
const {
|
|
76
|
-
lumiplanApi
|
|
77
|
-
} = publicRuntimeConfig;
|
|
70
|
+
const { publicRuntimeConfig } = getConfig();
|
|
71
|
+
const { lumiplanApi } = publicRuntimeConfig;
|
|
78
72
|
const SPECIAL_TRAILS = {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
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`,
|
|
86
80
|
};
|
|
87
|
-
const Pois = React.forwardRef(({
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
const hasGroomingStatus = groomingStatus !== undefined && groomingStatus !== "UNDEF";
|
|
189
|
-
const hasSnowQuality = snowQuality !== undefined && snowQuality !== "UNDEF";
|
|
190
|
-
const classes = classNames(css.poi, {
|
|
191
|
-
[css[trailLevel]]: hasTrailLevel
|
|
192
|
-
});
|
|
193
|
-
let status = "CLOSED";
|
|
194
|
-
if (openingStatus?.includes("DELAYED")) {
|
|
195
|
-
status = "DELAYED";
|
|
196
|
-
} else if (openingStatus?.includes("STOPPED")) {
|
|
197
|
-
status = "STOPPED";
|
|
198
|
-
} else if (openingStatus?.includes("FORECAST")) {
|
|
199
|
-
status = "FORECAST";
|
|
200
|
-
} else if (openingStatus?.includes("OPEN")) {
|
|
201
|
-
status = "OPEN";
|
|
202
|
-
}
|
|
203
|
-
const statusCode = `pois.opening-statuses.${status}`;
|
|
204
|
-
let Icon = isLift ? LIFT_ICONS[liftType] || LIFT_ICONS.DEFAULT : TRAIL_ICONS[activityType || trailType] || TRAIL_ICONS.DEFAULT;
|
|
205
|
-
if (isInterconnection) {
|
|
206
|
-
Icon = LinkIcon;
|
|
207
|
-
}
|
|
208
|
-
const openingTimes = openingTimesReal || openingTimesTh;
|
|
209
|
-
const isClosed = status === "CLOSED";
|
|
210
|
-
const showOpeningTimes = !isClosed && openingTimes && openingTimes?.length > 0;
|
|
211
|
-
return _jsxs("div", {
|
|
212
|
-
className: classes,
|
|
213
|
-
children: [_jsx("div", {
|
|
214
|
-
className: css.poiIcon,
|
|
215
|
-
children: specialTrail ? _jsx(Image, {
|
|
216
|
-
src: SPECIAL_TRAILS[specialTrail],
|
|
217
|
-
width: 50,
|
|
218
|
-
height: 50,
|
|
219
|
-
alt: specialTrail
|
|
220
|
-
}) : _jsx(Icon, {})
|
|
221
|
-
}), _jsxs("div", {
|
|
222
|
-
className: css.poiInfo,
|
|
223
|
-
children: [_jsxs("div", {
|
|
224
|
-
className: css.poiHeader,
|
|
225
|
-
children: [_jsx("span", {
|
|
226
|
-
className: css.poiName,
|
|
227
|
-
children: name
|
|
228
|
-
}), _jsxs("span", {
|
|
229
|
-
className: css.poiStatus,
|
|
230
|
-
children: [_jsx(T, {
|
|
231
|
-
id: statusCode
|
|
232
|
-
}), showOpeningTimes && _jsxs("div", {
|
|
233
|
-
className: css.poiOpeningTimes,
|
|
234
|
-
children: [openingTimes[0].beginTime, " -", " ", openingTimes[0].endTime]
|
|
235
|
-
})]
|
|
236
|
-
})]
|
|
237
|
-
}), _jsxs("div", {
|
|
238
|
-
className: css.poiDetail,
|
|
239
|
-
children: [isInterconnection && _jsx("div", {
|
|
240
|
-
className: css.poiDetailHeader,
|
|
241
|
-
children: _jsx("b", {
|
|
242
|
-
children: _jsx(T, {
|
|
243
|
-
id: "interconnection"
|
|
244
|
-
})
|
|
245
|
-
})
|
|
246
|
-
}), trailType !== "FUN_ZONE" && activityType !== "FUN_ZONE" && _jsxs("div", {
|
|
247
|
-
className: css.poiDetailKind,
|
|
248
|
-
children: [_jsx(T, {
|
|
249
|
-
id: translationCode
|
|
250
|
-
}), " ", trailLevelLabel]
|
|
251
|
-
}), !isLift && _jsxs("div", {
|
|
252
|
-
className: css.poiTrailDetail,
|
|
253
|
-
children: [hasGroomingStatus && _jsx("div", {
|
|
254
|
-
className: css.poiTrailDetailItem,
|
|
255
|
-
children: _jsx(T, {
|
|
256
|
-
id: `snow.grooming.states.${groomingStatus}`
|
|
257
|
-
})
|
|
258
|
-
}), hasSnowQuality && _jsxs("div", {
|
|
259
|
-
className: css.poiTrailDetailItem,
|
|
260
|
-
children: [_jsx(T, {
|
|
261
|
-
id: "snow.snow-quality.title"
|
|
262
|
-
}), " :", " ", _jsx(T, {
|
|
263
|
-
id: `snow.snow-quality.states.${snowQuality}`
|
|
264
|
-
})]
|
|
265
|
-
})]
|
|
266
|
-
})]
|
|
267
|
-
}), message?.data && _jsx("b", {
|
|
268
|
-
className: css.printedMessage,
|
|
269
|
-
children: message.data
|
|
270
|
-
})]
|
|
271
|
-
}), _jsx("div", {
|
|
272
|
-
className: css.poiMessage,
|
|
273
|
-
children: message?.data && _jsx(_Fragment, {
|
|
274
|
-
children: isMobile ? _jsx(Popover, {
|
|
275
|
-
innerClassName: css.poiPopover,
|
|
276
|
-
trigger: _jsx(Button, {
|
|
277
|
-
variant: "transparent",
|
|
278
|
-
children: _jsx(Icons.Info, {})
|
|
279
|
-
}),
|
|
280
|
-
children: message.data
|
|
281
|
-
}) : _jsx(Tooltip, {
|
|
282
|
-
content: message.data,
|
|
283
|
-
children: _jsx(Button, {
|
|
284
|
-
variant: "transparent",
|
|
285
|
-
children: _jsx(Icons.Info, {})
|
|
286
|
-
})
|
|
287
|
-
})
|
|
288
|
-
})
|
|
289
|
-
})]
|
|
290
|
-
}, id);
|
|
291
|
-
})
|
|
292
|
-
})]
|
|
293
|
-
}, name);
|
|
294
|
-
})
|
|
295
|
-
})
|
|
296
|
-
});
|
|
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
|
+
}) }) }));
|
|
297
182
|
});
|
|
298
183
|
Pois.displayName = "Pois";
|
|
299
|
-
export default Pois;
|
|
184
|
+
export default Pois;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PrintMode } from "./types";
|
|
2
|
+
type Props = {
|
|
3
|
+
fetchAllData: () => Promise<void>;
|
|
4
|
+
mode: PrintMode;
|
|
5
|
+
setMode: (mode: PrintMode) => void;
|
|
6
|
+
};
|
|
7
|
+
export default function PrintButton({ fetchAllData, mode, setMode }: Props): import("react/jsx-runtime").JSX.Element;
|
|
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"}
|
|
@@ -1,29 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import Button from "dt-design-system/es/button";
|
|
3
3
|
import T from "./i18n/translations";
|
|
4
4
|
import styles from "./print-button.module.css";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
window.print();
|
|
16
|
-
});
|
|
17
|
-
};
|
|
18
|
-
return _jsx("div", {
|
|
19
|
-
className: styles.wrapper,
|
|
20
|
-
children: _jsx(Button, {
|
|
21
|
-
variant: "secondary",
|
|
22
|
-
compact: true,
|
|
23
|
-
onClick: triggerPrint,
|
|
24
|
-
children: _jsx(T, {
|
|
25
|
-
id: `print.${mode}`
|
|
26
|
-
})
|
|
27
|
-
})
|
|
28
|
-
});
|
|
29
|
-
}
|
|
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
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type Resort = {
|
|
2
|
+
id: number;
|
|
3
|
+
label: string;
|
|
4
|
+
};
|
|
5
|
+
type Props = {
|
|
6
|
+
resorts: Resort[];
|
|
7
|
+
currentResortId: number;
|
|
8
|
+
setCurrentResortId: (id: number) => void;
|
|
9
|
+
};
|
|
10
|
+
export default function ResortSelector({ resorts, currentResortId, setCurrentResortId, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
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,64 +1,41 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import classNames from "classnames";
|
|
3
4
|
import useWindowSizes from "../../../common/hooks/use-window-sizes";
|
|
4
5
|
import Button from "dt-design-system/es/button";
|
|
5
6
|
import css from "./resort-selector.module.css";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
})
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
setShowRightShadow(scroller.scrollLeft < maxScroll - 50);
|
|
7
|
+
export default function ResortSelector({ resorts, currentResortId, setCurrentResortId, }) {
|
|
8
|
+
const [showLeftShadow, setShowLeftShadow] = React.useState(false);
|
|
9
|
+
const [showRightShadow, setShowRightShadow] = React.useState(false);
|
|
10
|
+
const containerRef = React.useRef(null);
|
|
11
|
+
const scrollerRef = React.useRef(null);
|
|
12
|
+
const { width, height } = useWindowSizes();
|
|
13
|
+
const refreshShadows = React.useCallback(() => {
|
|
14
|
+
const container = containerRef.current;
|
|
15
|
+
const scroller = scrollerRef.current;
|
|
16
|
+
if (container && scroller) {
|
|
17
|
+
setShowLeftShadow(scroller.scrollLeft > 50);
|
|
18
|
+
const maxScroll = Math.round(scroller.scrollWidth) - Math.round(scroller.clientWidth);
|
|
19
|
+
setShowRightShadow(scroller.scrollLeft < maxScroll - 50);
|
|
20
|
+
}
|
|
21
|
+
}, []);
|
|
22
|
+
React.useEffect(() => {
|
|
23
|
+
refreshShadows();
|
|
24
|
+
}, [refreshShadows, width, height]);
|
|
25
|
+
if (!resorts || resorts.length < 2) {
|
|
26
|
+
return null;
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
children: _jsx("div", {
|
|
43
|
-
ref: scrollerRef,
|
|
44
|
-
onScroll: refreshShadows,
|
|
45
|
-
className: css.content,
|
|
46
|
-
children: resorts.map(({
|
|
47
|
-
id,
|
|
48
|
-
label
|
|
49
|
-
}) => {
|
|
50
|
-
const classes = classNames(css.button, {
|
|
51
|
-
[css.selected]: id === currentResortId
|
|
52
|
-
});
|
|
53
|
-
const updateCurrentResort = () => {
|
|
54
|
-
setCurrentResortId(id);
|
|
55
|
-
};
|
|
56
|
-
return _jsx(Button, {
|
|
57
|
-
className: classes,
|
|
58
|
-
onClick: updateCurrentResort,
|
|
59
|
-
children: label
|
|
60
|
-
}, id);
|
|
61
|
-
})
|
|
62
|
-
})
|
|
63
|
-
});
|
|
64
|
-
}
|
|
28
|
+
const classes = classNames(css.selector, {
|
|
29
|
+
[css.leftShadow]: showLeftShadow,
|
|
30
|
+
[css.rightShadow]: showRightShadow,
|
|
31
|
+
});
|
|
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
|
+
}) }) }));
|
|
41
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ResortAccess } from "./types";
|
|
3
|
+
type Props = {
|
|
4
|
+
resortAccess?: ResortAccess | null;
|
|
5
|
+
};
|
|
6
|
+
declare const RoadCondition: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export default RoadCondition;
|
|
8
|
+
//# sourceMappingURL=road-condition.d.ts.map
|
|
@@ -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"}
|