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,201 +1,132 @@
|
|
|
1
1
|
import sendGoal from "./send-goal";
|
|
2
2
|
const EVENT_NAMES = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
view_item: "MseM: View item",
|
|
4
|
+
add_to_cart: "MseM: Add to cart",
|
|
5
|
+
remove_from_cart: "MseM: Remove from cart",
|
|
6
|
+
checkout: "MseM: Begin checkout",
|
|
7
|
+
add_payment_info: "MseM: Checkout process",
|
|
8
|
+
purchase: "MseM: Payment success",
|
|
9
|
+
payment_failure: "MseM: Payment failure",
|
|
10
10
|
};
|
|
11
|
-
export function MseM({
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
const formatedItems = formatPeekPerformancesItem(items);
|
|
87
|
-
const rawData = JSON.stringify({
|
|
88
|
-
products: formatedItems,
|
|
89
|
-
hoteId,
|
|
90
|
-
stay
|
|
91
|
-
});
|
|
92
|
-
sendGoal(name, {
|
|
93
|
-
cartId,
|
|
94
|
-
stayFrom: stay?.from,
|
|
95
|
-
rawData
|
|
96
|
-
}, revenue);
|
|
97
|
-
break;
|
|
98
|
-
}
|
|
99
|
-
case "add_payment_info":
|
|
100
|
-
{
|
|
101
|
-
const formatedItems = formatPeekPerformancesItem(items);
|
|
102
|
-
const rawData = JSON.stringify({
|
|
103
|
-
products: formatedItems,
|
|
104
|
-
hoteId,
|
|
105
|
-
stay,
|
|
106
|
-
paymentMethod: paymentType
|
|
107
|
-
});
|
|
108
|
-
sendGoal(name, {
|
|
109
|
-
cartId,
|
|
110
|
-
"Payment type": paymentType,
|
|
111
|
-
stayFrom: stay?.from,
|
|
112
|
-
rawData
|
|
113
|
-
}, revenue);
|
|
114
|
-
break;
|
|
115
|
-
}
|
|
116
|
-
case "purchase":
|
|
117
|
-
{
|
|
118
|
-
const isFailure = execcode !== "0000";
|
|
119
|
-
const formatedItems = formatPeekPerformancesItem(items);
|
|
120
|
-
const attempts = cartId && getPurchaseAttempts()[cartId] || 0;
|
|
121
|
-
const rawData = JSON.stringify({
|
|
122
|
-
products: formatedItems,
|
|
123
|
-
hoteId,
|
|
124
|
-
stay,
|
|
125
|
-
attempts,
|
|
126
|
-
paymentMethod: paymentType,
|
|
127
|
-
execCode: execcode
|
|
128
|
-
});
|
|
129
|
-
if (isFailure) {
|
|
130
|
-
name = EVENT_NAMES.payment_failure;
|
|
131
|
-
sendGoal(name, {
|
|
132
|
-
cartId,
|
|
133
|
-
orderId,
|
|
134
|
-
Code: execcode,
|
|
135
|
-
stayFrom: stay?.from,
|
|
136
|
-
rawData
|
|
137
|
-
}, revenue);
|
|
138
|
-
if (cartId) {
|
|
139
|
-
setPurchaseAttempts(cartId, attempts + 1);
|
|
140
|
-
}
|
|
141
|
-
} else {
|
|
142
|
-
sendGoal(name, {
|
|
143
|
-
cartId,
|
|
144
|
-
orderId,
|
|
145
|
-
Code: execcode,
|
|
146
|
-
stayFrom: stay?.from,
|
|
147
|
-
rawData
|
|
148
|
-
}, revenue);
|
|
11
|
+
export function MseM({ event, payment_type: paymentType, execcode, items = [], orderId, cartId, currency = "EUR", }) {
|
|
12
|
+
const hoteId = getBusinessProvider();
|
|
13
|
+
const stay = getStay();
|
|
14
|
+
const amount = items.reduce((acc, item) => {
|
|
15
|
+
return acc + item.gtmData.price * item.gtmData.quantity;
|
|
16
|
+
}, 0);
|
|
17
|
+
const revenue = { currency, amount };
|
|
18
|
+
let name = EVENT_NAMES[event];
|
|
19
|
+
const firstProductProps = {
|
|
20
|
+
Name: items[0]?.gtmData.item_name,
|
|
21
|
+
Brand: items[0]?.gtmData.item_brand,
|
|
22
|
+
Kind: items[0]?.gtmData.item_category,
|
|
23
|
+
Activity: items[0]?.gtmData.item_category2,
|
|
24
|
+
Code: items[0]?.gtmData.item_category3,
|
|
25
|
+
Product: items[0]?.gtmData.item_variant,
|
|
26
|
+
};
|
|
27
|
+
switch (event) {
|
|
28
|
+
case "view_item": {
|
|
29
|
+
const formatedItems = formatPeekPerformancesItem(items);
|
|
30
|
+
const rawData = JSON.stringify({ products: formatedItems, hoteId, stay });
|
|
31
|
+
sendGoal(name, { ...firstProductProps, stayFrom: stay?.from, rawData });
|
|
32
|
+
break;
|
|
33
|
+
}
|
|
34
|
+
case "add_to_cart": {
|
|
35
|
+
const formatedItems = formatPeekPerformancesItem(items);
|
|
36
|
+
const rawData = JSON.stringify({ products: formatedItems, hoteId, stay });
|
|
37
|
+
sendGoal(name, { ...firstProductProps, stayFrom: stay?.from, rawData }, revenue);
|
|
38
|
+
break;
|
|
39
|
+
}
|
|
40
|
+
case "remove_from_cart": {
|
|
41
|
+
const formatedItems = formatPeekPerformancesItem(items);
|
|
42
|
+
const rawData = JSON.stringify({ products: formatedItems, hoteId, stay });
|
|
43
|
+
sendGoal(name, { ...firstProductProps, stayFrom: stay?.from, rawData }, revenue);
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
case "checkout": {
|
|
47
|
+
const formatedItems = formatPeekPerformancesItem(items);
|
|
48
|
+
const rawData = JSON.stringify({ products: formatedItems, hoteId, stay });
|
|
49
|
+
sendGoal(name, { cartId, stayFrom: stay?.from, rawData }, revenue);
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
case "add_payment_info": {
|
|
53
|
+
const formatedItems = formatPeekPerformancesItem(items);
|
|
54
|
+
const rawData = JSON.stringify({
|
|
55
|
+
products: formatedItems,
|
|
56
|
+
hoteId,
|
|
57
|
+
stay,
|
|
58
|
+
paymentMethod: paymentType,
|
|
59
|
+
});
|
|
60
|
+
sendGoal(name, { cartId, "Payment type": paymentType, stayFrom: stay?.from, rawData }, revenue);
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
case "purchase": {
|
|
64
|
+
const isFailure = execcode !== "0000";
|
|
65
|
+
const formatedItems = formatPeekPerformancesItem(items);
|
|
66
|
+
const attempts = (cartId && getPurchaseAttempts()[cartId]) || 0;
|
|
67
|
+
const rawData = JSON.stringify({
|
|
68
|
+
products: formatedItems,
|
|
69
|
+
hoteId,
|
|
70
|
+
stay,
|
|
71
|
+
attempts,
|
|
72
|
+
paymentMethod: paymentType,
|
|
73
|
+
execCode: execcode,
|
|
74
|
+
});
|
|
75
|
+
if (isFailure) {
|
|
76
|
+
name = EVENT_NAMES.payment_failure;
|
|
77
|
+
sendGoal(name, { cartId, orderId, Code: execcode, stayFrom: stay?.from, rawData }, revenue);
|
|
78
|
+
if (cartId) {
|
|
79
|
+
setPurchaseAttempts(cartId, attempts + 1);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
sendGoal(name, { cartId, orderId, Code: execcode, stayFrom: stay?.from, rawData }, revenue);
|
|
84
|
+
}
|
|
85
|
+
break;
|
|
149
86
|
}
|
|
150
|
-
|
|
151
|
-
}
|
|
152
|
-
}
|
|
87
|
+
}
|
|
153
88
|
}
|
|
154
89
|
const PURCHASE_ATTEMPTS_STORAGE_KEY = "purchase_attempts";
|
|
155
90
|
function getPurchaseAttempts() {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
91
|
+
try {
|
|
92
|
+
const storedAttempts = window.localStorage.getItem(PURCHASE_ATTEMPTS_STORAGE_KEY);
|
|
93
|
+
return storedAttempts !== null ? JSON.parse(storedAttempts) : {};
|
|
94
|
+
}
|
|
95
|
+
catch (e) {
|
|
96
|
+
return {};
|
|
97
|
+
}
|
|
162
98
|
}
|
|
163
99
|
function setPurchaseAttempts(cartId, attempts) {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
...purchaseAttempts,
|
|
167
|
-
[cartId]: attempts
|
|
168
|
-
}));
|
|
100
|
+
const purchaseAttempts = getPurchaseAttempts();
|
|
101
|
+
window.localStorage.setItem(PURCHASE_ATTEMPTS_STORAGE_KEY, JSON.stringify({ ...purchaseAttempts, [cartId]: attempts }));
|
|
169
102
|
}
|
|
170
103
|
function formatPeekPerformancesItem(items) {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
gtmData
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
};
|
|
181
|
-
});
|
|
104
|
+
if (!items || !items.length)
|
|
105
|
+
return;
|
|
106
|
+
return items.map(({ gtmData }) => {
|
|
107
|
+
return {
|
|
108
|
+
category: gtmData.item_category,
|
|
109
|
+
subCategory: gtmData.item_category2,
|
|
110
|
+
merchant: gtmData.item_brand,
|
|
111
|
+
price: gtmData.price,
|
|
112
|
+
};
|
|
113
|
+
});
|
|
182
114
|
}
|
|
183
115
|
function getStay() {
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
116
|
+
const stay = window.sessionStorage.getItem("stay");
|
|
117
|
+
if (stay) {
|
|
118
|
+
return JSON.parse(stay);
|
|
119
|
+
}
|
|
188
120
|
}
|
|
189
121
|
function getBusinessProvider() {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
}
|
|
122
|
+
const businessProvider = window.localStorage.getItem("businessProvider");
|
|
123
|
+
if (businessProvider) {
|
|
124
|
+
try {
|
|
125
|
+
const { id } = JSON.parse(businessProvider);
|
|
126
|
+
if (id !== -1) {
|
|
127
|
+
return id;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
catch (e) { }
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"load.d.ts","sourceRoot":"","sources":["../../../../../src/future/components/plausible/services/load.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,IAAI,SAM3B"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export default function load() {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
window.plausible =
|
|
3
|
+
window.plausible ||
|
|
4
|
+
function () {
|
|
5
|
+
(window.plausible.q = window.plausible.q || []).push(arguments);
|
|
6
|
+
};
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-goal.d.ts","sourceRoot":"","sources":["../../../../../src/future/components/plausible/services/send-goal.ts"],"names":[],"mappings":"AAEA,KAAK,OAAO,GAAG;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,QAAQ,CAC9B,IAAI,EAAE,MAAM,EACZ,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC3B,OAAO,CAAC,EAAE,OAAO,QAIlB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare function getResortOpening(resort: number): Promise<any>;
|
|
2
|
+
export declare function getWeather(resort: number): Promise<any>;
|
|
3
|
+
export declare function getSnow(resort: number): Promise<any>;
|
|
4
|
+
export declare function getResortAccess(resort: number): Promise<any>;
|
|
5
|
+
export declare function getSlopes(resort: number): Promise<any>;
|
|
6
|
+
export declare function getLifts(resort: number): Promise<any>;
|
|
7
|
+
export declare function getPois(resort: number): Promise<any>;
|
|
8
|
+
export declare function getSignature(resort: number): Promise<any>;
|
|
9
|
+
//# sourceMappingURL=api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/lumiplan/api.ts"],"names":[],"mappings":"AAOA,wBAAsB,gBAAgB,CAAC,MAAM,EAAE,MAAM,gBAGpD;AAED,wBAAsB,UAAU,CAAC,MAAM,EAAE,MAAM,gBAG9C;AAED,wBAAsB,OAAO,CAAC,MAAM,EAAE,MAAM,gBAG3C;AAED,wBAAsB,eAAe,CAAC,MAAM,EAAE,MAAM,gBAGnD;AAED,wBAAsB,SAAS,CAAC,MAAM,EAAE,MAAM,gBAG7C;AAED,wBAAsB,QAAQ,CAAC,MAAM,EAAE,MAAM,gBAG5C;AAED,wBAAsB,OAAO,CAAC,MAAM,EAAE,MAAM,gBAG3C;AAED,wBAAsB,YAAY,CAAC,MAAM,EAAE,MAAM,gBAGhD"}
|
|
@@ -1,56 +1,36 @@
|
|
|
1
1
|
import getConfig from "next/config";
|
|
2
2
|
import * as Fetcher from "../../../common/utils/fetcher";
|
|
3
|
-
const {
|
|
4
|
-
|
|
5
|
-
} = getConfig();
|
|
6
|
-
const {
|
|
7
|
-
lumiplanApi
|
|
8
|
-
} = publicRuntimeConfig;
|
|
3
|
+
const { publicRuntimeConfig } = getConfig();
|
|
4
|
+
const { lumiplanApi } = publicRuntimeConfig;
|
|
9
5
|
export async function getResortOpening(resort) {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
resort
|
|
13
|
-
});
|
|
6
|
+
const endpoint = `${lumiplanApi}/resort-opening`;
|
|
7
|
+
return Fetcher.get(endpoint, { resort });
|
|
14
8
|
}
|
|
15
9
|
export async function getWeather(resort) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
resort
|
|
19
|
-
});
|
|
10
|
+
const endpoint = `${lumiplanApi}/weather`;
|
|
11
|
+
return Fetcher.get(endpoint, { resort });
|
|
20
12
|
}
|
|
21
13
|
export async function getSnow(resort) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
resort
|
|
25
|
-
});
|
|
14
|
+
const endpoint = `${lumiplanApi}/snow`;
|
|
15
|
+
return Fetcher.get(endpoint, { resort });
|
|
26
16
|
}
|
|
27
17
|
export async function getResortAccess(resort) {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
resort
|
|
31
|
-
});
|
|
18
|
+
const endpoint = `${lumiplanApi}/resort-access`;
|
|
19
|
+
return Fetcher.get(endpoint, { resort });
|
|
32
20
|
}
|
|
33
21
|
export async function getSlopes(resort) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
resort
|
|
37
|
-
});
|
|
22
|
+
const endpoint = `${lumiplanApi}/slopes`;
|
|
23
|
+
return Fetcher.get(endpoint, { resort });
|
|
38
24
|
}
|
|
39
25
|
export async function getLifts(resort) {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
resort
|
|
43
|
-
});
|
|
26
|
+
const endpoint = `${lumiplanApi}/lifts`;
|
|
27
|
+
return Fetcher.get(endpoint, { resort });
|
|
44
28
|
}
|
|
45
29
|
export async function getPois(resort) {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
resort
|
|
49
|
-
});
|
|
30
|
+
const endpoint = `${lumiplanApi}/pois`;
|
|
31
|
+
return Fetcher.get(endpoint, { resort });
|
|
50
32
|
}
|
|
51
33
|
export async function getSignature(resort) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
});
|
|
56
|
-
}
|
|
34
|
+
const endpoint = `${lumiplanApi}/signature`;
|
|
35
|
+
return Fetcher.get(endpoint, { resort });
|
|
36
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { DomainInfo } from "./types";
|
|
3
|
+
type Props = {
|
|
4
|
+
domain?: DomainInfo | null;
|
|
5
|
+
};
|
|
6
|
+
declare const Domain: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export default Domain;
|
|
8
|
+
//# sourceMappingURL=domain.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domain.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/lumiplan/domain.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAG1C,KAAK,KAAK,GAAG;IACX,MAAM,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAM,MAAM,8EAmFV,CAAC;AAIH,eAAe,MAAM,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import Link from "ublo/link";
|
|
3
4
|
import { useUbloContext } from "ublo/with-ublo";
|
|
@@ -9,110 +10,25 @@ import TelesiegeIcon from "./icons/lifts/telesiege";
|
|
|
9
10
|
import SlopesIcon from "./icons/slopes";
|
|
10
11
|
import T, { t } from "./i18n/translations";
|
|
11
12
|
import css from "./domain.module.css";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
})
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
if (!domain?.lifts || !domain?.slopes) {
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
const {
|
|
38
|
-
lifts,
|
|
39
|
-
slopes
|
|
40
|
-
} = domain;
|
|
41
|
-
return _jsx("div", {
|
|
42
|
-
ref: ref,
|
|
43
|
-
className: css.domain,
|
|
44
|
-
"data-tags": t(lang, "domain.navigation-title"),
|
|
45
|
-
children: _jsxs("div", {
|
|
46
|
-
className: css.inner,
|
|
47
|
-
children: [_jsx("div", {
|
|
48
|
-
className: css.title,
|
|
49
|
-
dangerouslySetInnerHTML: {
|
|
50
|
-
__html: t(lang, "domain.title")
|
|
51
|
-
}
|
|
52
|
-
}), _jsxs("div", {
|
|
53
|
-
className: css.info,
|
|
54
|
-
children: [_jsxs("div", {
|
|
55
|
-
className: css.card,
|
|
56
|
-
children: [_jsx(TelesiegeIcon, {}), _jsx("span", {
|
|
57
|
-
className: css.cardTitle,
|
|
58
|
-
children: _jsx(T, {
|
|
59
|
-
id: "domain.lifts.title"
|
|
60
|
-
})
|
|
61
|
-
}), _jsxs("div", {
|
|
62
|
-
className: css.cardCount,
|
|
63
|
-
children: [_jsx("b", {
|
|
64
|
-
children: lifts.count.open
|
|
65
|
-
}), " / ", lifts.count.total]
|
|
66
|
-
})]
|
|
67
|
-
}), _jsxs("div", {
|
|
68
|
-
className: css.card,
|
|
69
|
-
children: [_jsx(SlopesIcon, {}), _jsx("span", {
|
|
70
|
-
className: css.cardTitle,
|
|
71
|
-
children: _jsx(T, {
|
|
72
|
-
id: "domain.slopes.title"
|
|
73
|
-
})
|
|
74
|
-
}), _jsxs("div", {
|
|
75
|
-
className: css.cardCount,
|
|
76
|
-
children: [_jsx("b", {
|
|
77
|
-
children: slopes.count.open
|
|
78
|
-
}), " / ", slopes.count.total]
|
|
79
|
-
})]
|
|
80
|
-
})]
|
|
81
|
-
}), _jsx("div", {
|
|
82
|
-
className: css.slopes,
|
|
83
|
-
children: Object.keys(slopes.slopes).map(key => {
|
|
84
|
-
const {
|
|
85
|
-
open,
|
|
86
|
-
total
|
|
87
|
-
} = slopes.slopes[key];
|
|
88
|
-
const classes = classNames(css.slope, {
|
|
89
|
-
[css[key]]: key
|
|
90
|
-
});
|
|
91
|
-
return _jsxs("div", {
|
|
92
|
-
className: classes,
|
|
93
|
-
children: [_jsx("div", {
|
|
94
|
-
className: css.slopePill
|
|
95
|
-
}), _jsx("div", {
|
|
96
|
-
className: css.slopeKind,
|
|
97
|
-
children: _jsx(T, {
|
|
98
|
-
id: `domain.slopes.${key}`
|
|
99
|
-
})
|
|
100
|
-
}), _jsxs("div", {
|
|
101
|
-
className: css.slopeCount,
|
|
102
|
-
children: [_jsx("b", {
|
|
103
|
-
children: open
|
|
104
|
-
}), " / ", total]
|
|
105
|
-
})]
|
|
106
|
-
}, key);
|
|
107
|
-
})
|
|
108
|
-
}), slopeMapPath && _jsxs(Button, {
|
|
109
|
-
tag: Link,
|
|
110
|
-
className: css.mapButton,
|
|
111
|
-
href: slopeMapPath,
|
|
112
|
-
children: [_jsx(Icons.Map, {}), t(lang, "domain.map")]
|
|
113
|
-
})]
|
|
114
|
-
})
|
|
115
|
-
});
|
|
13
|
+
const Domain = React.forwardRef(({ domain }, ref) => {
|
|
14
|
+
const { lang, config } = useUbloContext();
|
|
15
|
+
const { slopeMapPath } = config;
|
|
16
|
+
if (domain === undefined) {
|
|
17
|
+
return (_jsx("div", { ref: ref, className: css.loader, "data-tags": t(lang, "domain.navigation-title"), children: _jsx(Loader, { variant: "overlay" }) }));
|
|
18
|
+
}
|
|
19
|
+
if (!domain?.lifts || !domain?.slopes) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
const { lifts, slopes } = domain;
|
|
23
|
+
return (_jsx("div", { ref: ref, className: css.domain, "data-tags": t(lang, "domain.navigation-title"), children: _jsxs("div", { className: css.inner, children: [_jsx("div", { className: css.title, dangerouslySetInnerHTML: {
|
|
24
|
+
__html: t(lang, "domain.title"),
|
|
25
|
+
} }), _jsxs("div", { className: css.info, children: [_jsxs("div", { className: css.card, children: [_jsx(TelesiegeIcon, {}), _jsx("span", { className: css.cardTitle, children: _jsx(T, { id: "domain.lifts.title" }) }), _jsxs("div", { className: css.cardCount, children: [_jsx("b", { children: lifts.count.open }), " / ", lifts.count.total] })] }), _jsxs("div", { className: css.card, children: [_jsx(SlopesIcon, {}), _jsx("span", { className: css.cardTitle, children: _jsx(T, { id: "domain.slopes.title" }) }), _jsxs("div", { className: css.cardCount, children: [_jsx("b", { children: slopes.count.open }), " / ", slopes.count.total] })] })] }), _jsx("div", { className: css.slopes, children: Object.keys(slopes.slopes).map((key) => {
|
|
26
|
+
const { open, total } = slopes.slopes[key];
|
|
27
|
+
const classes = classNames(css.slope, {
|
|
28
|
+
[css[key]]: key,
|
|
29
|
+
});
|
|
30
|
+
return (_jsxs("div", { className: classes, children: [_jsx("div", { className: css.slopePill }), _jsx("div", { className: css.slopeKind, children: _jsx(T, { id: `domain.slopes.${key}` }) }), _jsxs("div", { className: css.slopeCount, children: [_jsx("b", { children: open }), " / ", total] })] }, key));
|
|
31
|
+
}) }), slopeMapPath && (_jsxs(Button, { tag: Link, className: css.mapButton, href: slopeMapPath, children: [_jsx(Icons.Map, {}), t(lang, "domain.map")] }))] }) }));
|
|
116
32
|
});
|
|
117
33
|
Domain.displayName = "Domain";
|
|
118
|
-
export default Domain;
|
|
34
|
+
export default Domain;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../src/lbm/components/lumiplan/header.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGzC,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,KAAK,2CAyBlD"}
|