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.
Files changed (1093) hide show
  1. package/es/common/components/admin-links/admin-links.d.ts +11 -0
  2. package/es/common/components/admin-links/admin-links.d.ts.map +1 -0
  3. package/es/common/components/admin-links/admin-links.js +52 -95
  4. package/es/common/components/admin-links/index.d.ts +3 -0
  5. package/es/common/components/admin-links/index.d.ts.map +1 -0
  6. package/es/common/components/admin-links/index.js +1 -1
  7. package/es/common/components/analytics.d.ts +6 -0
  8. package/es/common/components/analytics.d.ts.map +1 -0
  9. package/es/common/components/analytics.js +27 -34
  10. package/es/common/components/breadcrumb.d.ts +16 -0
  11. package/es/common/components/breadcrumb.d.ts.map +1 -0
  12. package/es/common/components/breadcrumb.js +24 -79
  13. package/es/common/components/carousel-zone.d.ts +7 -0
  14. package/es/common/components/carousel-zone.d.ts.map +1 -0
  15. package/es/common/components/carousel-zone.js +15 -55
  16. package/es/common/components/carousel.d.ts +15 -0
  17. package/es/common/components/carousel.d.ts.map +1 -0
  18. package/es/common/components/carousel.js +271 -343
  19. package/es/common/components/cart-preview/api.d.ts +2 -0
  20. package/es/common/components/cart-preview/api.d.ts.map +1 -0
  21. package/es/common/components/cart-preview/api.js +13 -18
  22. package/es/common/components/cart-preview/cart-pill.d.ts +5 -0
  23. package/es/common/components/cart-preview/cart-pill.d.ts.map +1 -0
  24. package/es/common/components/cart-preview/cart-pill.js +6 -10
  25. package/es/common/components/cart-preview/cart-preview.d.ts +6 -0
  26. package/es/common/components/cart-preview/cart-preview.d.ts.map +1 -0
  27. package/es/common/components/cart-preview/cart-preview.js +41 -102
  28. package/es/common/components/cart-preview/index.d.ts +3 -0
  29. package/es/common/components/cart-preview/index.d.ts.map +1 -0
  30. package/es/common/components/cart-preview/index.js +1 -1
  31. package/es/common/components/cart-preview/utils.d.ts +3 -0
  32. package/es/common/components/cart-preview/utils.d.ts.map +1 -0
  33. package/es/common/components/cart-preview/utils.js +23 -13
  34. package/es/common/components/collapsible/collapsible.d.ts +10 -0
  35. package/es/common/components/collapsible/collapsible.d.ts.map +1 -0
  36. package/es/common/components/collapsible/collapsible.js +35 -59
  37. package/es/common/components/collapsible/index.d.ts +3 -0
  38. package/es/common/components/collapsible/index.d.ts.map +1 -0
  39. package/es/common/components/collapsible/index.js +1 -1
  40. package/es/common/components/cookie-consent/cookie-consent.d.ts +8 -0
  41. package/es/common/components/cookie-consent/cookie-consent.d.ts.map +1 -0
  42. package/es/common/components/cookie-consent/cookie-consent.js +67 -112
  43. package/es/common/components/cookie-consent/index.d.ts +5 -0
  44. package/es/common/components/cookie-consent/index.d.ts.map +1 -0
  45. package/es/common/components/cookie-consent/index.js +1 -1
  46. package/es/common/components/cookie-consent/messages.d.ts +2 -0
  47. package/es/common/components/cookie-consent/messages.d.ts.map +1 -0
  48. package/es/common/components/cookie-consent/messages.js +27 -27
  49. package/es/common/components/cookie-consent/utils.d.ts +2 -0
  50. package/es/common/components/cookie-consent/utils.d.ts.map +1 -0
  51. package/es/common/components/cookie-consent/utils.js +18 -20
  52. package/es/common/components/cross-selling-editor/cross-selling-editor.d.ts +19 -0
  53. package/es/common/components/cross-selling-editor/cross-selling-editor.d.ts.map +1 -0
  54. package/es/common/components/cross-selling-editor/cross-selling-editor.js +22 -53
  55. package/es/common/components/cross-selling-editor/editor.d.ts +9 -0
  56. package/es/common/components/cross-selling-editor/editor.d.ts.map +1 -0
  57. package/es/common/components/cross-selling-editor/editor.js +64 -95
  58. package/es/common/components/cross-selling-editor/hooks/use-custom-offers.d.ts +7 -0
  59. package/es/common/components/cross-selling-editor/hooks/use-custom-offers.d.ts.map +1 -0
  60. package/es/common/components/cross-selling-editor/hooks/use-custom-offers.js +47 -51
  61. package/es/common/components/cross-selling-editor/hooks/use-tunnel-offers.d.ts +2 -0
  62. package/es/common/components/cross-selling-editor/hooks/use-tunnel-offers.d.ts.map +1 -0
  63. package/es/common/components/cross-selling-editor/hooks/use-tunnel-offers.js +30 -31
  64. package/es/common/components/cross-selling-editor/index.d.ts +3 -0
  65. package/es/common/components/cross-selling-editor/index.d.ts.map +1 -0
  66. package/es/common/components/cross-selling-editor/index.js +1 -1
  67. package/es/common/components/cross-selling-editor/override-trigger-form.d.ts +11 -0
  68. package/es/common/components/cross-selling-editor/override-trigger-form.d.ts.map +1 -0
  69. package/es/common/components/cross-selling-editor/override-trigger-form.js +48 -160
  70. package/es/common/components/cross-selling-editor/override.d.ts +17 -0
  71. package/es/common/components/cross-selling-editor/override.d.ts.map +1 -0
  72. package/es/common/components/cross-selling-editor/override.js +89 -155
  73. package/es/common/components/cross-selling-editor/overrides-list.d.ts +14 -0
  74. package/es/common/components/cross-selling-editor/overrides-list.d.ts.map +1 -0
  75. package/es/common/components/cross-selling-editor/overrides-list.js +47 -123
  76. package/es/common/components/cross-selling-editor/rule.d.ts +14 -0
  77. package/es/common/components/cross-selling-editor/rule.d.ts.map +1 -0
  78. package/es/common/components/cross-selling-editor/rule.js +66 -97
  79. package/es/common/components/cross-selling-editor/rules.d.ts +12 -0
  80. package/es/common/components/cross-selling-editor/rules.d.ts.map +1 -0
  81. package/es/common/components/cross-selling-editor/rules.js +21 -76
  82. package/es/common/components/cross-selling-editor/services/api.d.ts +3 -0
  83. package/es/common/components/cross-selling-editor/services/api.d.ts.map +1 -0
  84. package/es/common/components/cross-selling-editor/services/api.js +11 -25
  85. package/es/common/components/cross-selling-editor/services/utils.d.ts +62 -0
  86. package/es/common/components/cross-selling-editor/services/utils.d.ts.map +1 -0
  87. package/es/common/components/cross-selling-editor/services/utils.js +161 -173
  88. package/es/common/components/cross-selling-editor/tester-tunnel-offer.d.ts +13 -0
  89. package/es/common/components/cross-selling-editor/tester-tunnel-offer.d.ts.map +1 -0
  90. package/es/common/components/cross-selling-editor/tester-tunnel-offer.js +15 -59
  91. package/es/common/components/cross-selling-editor/tester.d.ts +10 -0
  92. package/es/common/components/cross-selling-editor/tester.d.ts.map +1 -0
  93. package/es/common/components/cross-selling-editor/tester.js +83 -187
  94. package/es/common/components/cross-selling-editor/types.d.ts +30 -0
  95. package/es/common/components/cross-selling-editor/types.d.ts.map +1 -0
  96. package/es/common/components/cross-selling-editor/types.js +1 -1
  97. package/es/common/components/custom-contact-form/attachment.d.ts +9 -0
  98. package/es/common/components/custom-contact-form/attachment.d.ts.map +1 -0
  99. package/es/common/components/custom-contact-form/attachment.js +109 -201
  100. package/es/common/components/custom-contact-form/custom-contact-form.d.ts +25 -0
  101. package/es/common/components/custom-contact-form/custom-contact-form.d.ts.map +1 -0
  102. package/es/common/components/custom-contact-form/custom-contact-form.js +73 -147
  103. package/es/common/components/custom-contact-form/field.d.ts +10 -0
  104. package/es/common/components/custom-contact-form/field.d.ts.map +1 -0
  105. package/es/common/components/custom-contact-form/field.js +113 -218
  106. package/es/common/components/custom-contact-form/icons.d.ts +5 -0
  107. package/es/common/components/custom-contact-form/icons.d.ts.map +1 -0
  108. package/es/common/components/custom-contact-form/icons.js +8 -50
  109. package/es/common/components/custom-contact-form/index.d.ts +3 -0
  110. package/es/common/components/custom-contact-form/index.d.ts.map +1 -0
  111. package/es/common/components/custom-contact-form/index.js +1 -1
  112. package/es/common/components/custom-contact-form/messages.d.ts +2 -0
  113. package/es/common/components/custom-contact-form/messages.d.ts.map +1 -0
  114. package/es/common/components/custom-contact-form/messages.js +78 -77
  115. package/es/common/components/custom-contact-form/utils.d.ts +30 -0
  116. package/es/common/components/custom-contact-form/utils.d.ts.map +1 -0
  117. package/es/common/components/custom-contact-form/utils.js +96 -122
  118. package/es/common/components/date-picker/calendar.d.ts +14 -0
  119. package/es/common/components/date-picker/calendar.d.ts.map +1 -0
  120. package/es/common/components/date-picker/calendar.js +111 -250
  121. package/es/common/components/date-picker/data.d.ts +87 -0
  122. package/es/common/components/date-picker/data.d.ts.map +1 -0
  123. package/es/common/components/date-picker/data.js +72 -78
  124. package/es/common/components/date-picker/date-item.d.ts +21 -0
  125. package/es/common/components/date-picker/date-item.d.ts.map +1 -0
  126. package/es/common/components/date-picker/date-item.js +120 -117
  127. package/es/common/components/date-picker/date-picker.d.ts +16 -0
  128. package/es/common/components/date-picker/date-picker.d.ts.map +1 -0
  129. package/es/common/components/date-picker/date-picker.js +23 -56
  130. package/es/common/components/date-picker/helper.d.ts +9 -0
  131. package/es/common/components/date-picker/helper.d.ts.map +1 -0
  132. package/es/common/components/date-picker/helper.js +20 -51
  133. package/es/common/components/date-picker/index.d.ts +4 -0
  134. package/es/common/components/date-picker/index.d.ts.map +1 -0
  135. package/es/common/components/date-picker/index.js +1 -1
  136. package/es/common/components/date-picker/messages.d.ts +2 -0
  137. package/es/common/components/date-picker/messages.d.ts.map +1 -0
  138. package/es/common/components/date-picker/messages.js +47 -46
  139. package/es/common/components/date-picker/month.d.ts +20 -0
  140. package/es/common/components/date-picker/month.d.ts.map +1 -0
  141. package/es/common/components/date-picker/month.js +16 -72
  142. package/es/common/components/date-picker/utils.d.ts +25 -0
  143. package/es/common/components/date-picker/utils.d.ts.map +1 -0
  144. package/es/common/components/date-picker/utils.js +104 -88
  145. package/es/common/components/editable-calendar/calendar-caption.d.ts +5 -0
  146. package/es/common/components/editable-calendar/calendar-caption.d.ts.map +1 -0
  147. package/es/common/components/editable-calendar/calendar-caption.js +80 -144
  148. package/es/common/components/editable-calendar/calendar-date.d.ts +12 -0
  149. package/es/common/components/editable-calendar/calendar-date.d.ts.map +1 -0
  150. package/es/common/components/editable-calendar/calendar-date.js +61 -79
  151. package/es/common/components/editable-calendar/calendar-editor.d.ts +7 -0
  152. package/es/common/components/editable-calendar/calendar-editor.d.ts.map +1 -0
  153. package/es/common/components/editable-calendar/calendar-editor.js +38 -83
  154. package/es/common/components/editable-calendar/calendar-header.d.ts +8 -0
  155. package/es/common/components/editable-calendar/calendar-header.d.ts.map +1 -0
  156. package/es/common/components/editable-calendar/calendar-header.js +4 -26
  157. package/es/common/components/editable-calendar/calendar.d.ts +6 -0
  158. package/es/common/components/editable-calendar/calendar.d.ts.map +1 -0
  159. package/es/common/components/editable-calendar/calendar.js +64 -115
  160. package/es/common/components/editable-calendar/data.d.ts +132 -0
  161. package/es/common/components/editable-calendar/data.d.ts.map +1 -0
  162. package/es/common/components/editable-calendar/data.js +95 -101
  163. package/es/common/components/editable-calendar/index.d.ts +2 -0
  164. package/es/common/components/editable-calendar/index.d.ts.map +1 -0
  165. package/es/common/components/editable-calendar/index.js +38 -49
  166. package/es/common/components/editable-calendar/utils.d.ts +19 -0
  167. package/es/common/components/editable-calendar/utils.d.ts.map +1 -0
  168. package/es/common/components/editable-calendar/utils.js +58 -52
  169. package/es/common/components/editable-map/cluster.d.ts +5 -0
  170. package/es/common/components/editable-map/cluster.d.ts.map +1 -0
  171. package/es/common/components/editable-map/cluster.js +6 -12
  172. package/es/common/components/editable-map/edit-form.d.ts +7 -0
  173. package/es/common/components/editable-map/edit-form.d.ts.map +1 -0
  174. package/es/common/components/editable-map/edit-form.js +22 -97
  175. package/es/common/components/editable-map/editable-map.d.ts +6 -0
  176. package/es/common/components/editable-map/editable-map.d.ts.map +1 -0
  177. package/es/common/components/editable-map/editable-map.js +40 -111
  178. package/es/common/components/editable-map/full-screen-button.d.ts +6 -0
  179. package/es/common/components/editable-map/full-screen-button.d.ts.map +1 -0
  180. package/es/common/components/editable-map/full-screen-button.js +60 -59
  181. package/es/common/components/editable-map/helper.d.ts +2 -0
  182. package/es/common/components/editable-map/helper.d.ts.map +1 -0
  183. package/es/common/components/editable-map/helper.js +3 -23
  184. package/es/common/components/editable-map/icon-picker.d.ts +6 -0
  185. package/es/common/components/editable-map/icon-picker.d.ts.map +1 -0
  186. package/es/common/components/editable-map/icon-picker.js +26 -63
  187. package/es/common/components/editable-map/icons/esf-pralognan.d.ts +51 -0
  188. package/es/common/components/editable-map/icons/esf-pralognan.d.ts.map +1 -0
  189. package/es/common/components/editable-map/icons/esf-pralognan.js +54 -1085
  190. package/es/common/components/editable-map/icons/esf.d.ts +39 -0
  191. package/es/common/components/editable-map/icons/esf.d.ts.map +1 -0
  192. package/es/common/components/editable-map/icons/esf.js +43 -755
  193. package/es/common/components/editable-map/icons/index.d.ts +7 -0
  194. package/es/common/components/editable-map/icons/index.d.ts.map +1 -0
  195. package/es/common/components/editable-map/icons/index.js +1 -1
  196. package/es/common/components/editable-map/icons/lavovelo.d.ts +5 -0
  197. package/es/common/components/editable-map/icons/lavovelo.d.ts.map +1 -0
  198. package/es/common/components/editable-map/icons/lavovelo.js +8 -84
  199. package/es/common/components/editable-map/icons/sata-huez.d.ts +29 -0
  200. package/es/common/components/editable-map/icons/sata-huez.d.ts.map +1 -0
  201. package/es/common/components/editable-map/icons/sata-huez.js +32 -466
  202. package/es/common/components/editable-map/icons/sedev-vars.d.ts +29 -0
  203. package/es/common/components/editable-map/icons/sedev-vars.d.ts.map +1 -0
  204. package/es/common/components/editable-map/icons/sedev-vars.js +32 -466
  205. package/es/common/components/editable-map/icons/viarmonia.d.ts +3 -0
  206. package/es/common/components/editable-map/icons/viarmonia.d.ts.map +1 -0
  207. package/es/common/components/editable-map/icons/viarmonia.js +6 -40
  208. package/es/common/components/editable-map/index.d.ts +5 -0
  209. package/es/common/components/editable-map/index.d.ts.map +1 -0
  210. package/es/common/components/editable-map/index.js +62 -74
  211. package/es/common/components/editable-map/map-events.d.ts +10 -0
  212. package/es/common/components/editable-map/map-events.d.ts.map +1 -0
  213. package/es/common/components/editable-map/map-events.js +32 -40
  214. package/es/common/components/editable-map/marker-list.d.ts +7 -0
  215. package/es/common/components/editable-map/marker-list.d.ts.map +1 -0
  216. package/es/common/components/editable-map/marker-list.js +54 -87
  217. package/es/common/components/editable-map/markers.d.ts +7 -0
  218. package/es/common/components/editable-map/markers.d.ts.map +1 -0
  219. package/es/common/components/editable-map/markers.js +35 -88
  220. package/es/common/components/editable-map/popup-data.d.ts +4 -0
  221. package/es/common/components/editable-map/popup-data.d.ts.map +1 -0
  222. package/es/common/components/editable-map/popup-data.js +9 -35
  223. package/es/common/components/editable-map/slopes-toggle.d.ts +5 -0
  224. package/es/common/components/editable-map/slopes-toggle.d.ts.map +1 -0
  225. package/es/common/components/editable-map/slopes-toggle.js +8 -18
  226. package/es/common/components/error-404/error-404.d.ts +6 -0
  227. package/es/common/components/error-404/error-404.d.ts.map +1 -0
  228. package/es/common/components/error-404/error-404.js +13 -42
  229. package/es/common/components/error-404/index.d.ts +3 -0
  230. package/es/common/components/error-404/index.d.ts.map +1 -0
  231. package/es/common/components/error-404/index.js +1 -1
  232. package/es/common/components/error-404/messages.d.ts +2 -0
  233. package/es/common/components/error-404/messages.d.ts.map +1 -0
  234. package/es/common/components/error-404/messages.js +13 -13
  235. package/es/common/components/faq.d.ts +7 -0
  236. package/es/common/components/faq.d.ts.map +1 -0
  237. package/es/common/components/faq.js +43 -49
  238. package/es/common/components/gesco-contact-form/gesco-contact-form.d.ts +18 -0
  239. package/es/common/components/gesco-contact-form/gesco-contact-form.d.ts.map +1 -0
  240. package/es/common/components/gesco-contact-form/gesco-contact-form.js +93 -247
  241. package/es/common/components/gesco-contact-form/hooks/use-params.d.ts +15 -0
  242. package/es/common/components/gesco-contact-form/hooks/use-params.d.ts.map +1 -0
  243. package/es/common/components/gesco-contact-form/hooks/use-params.js +20 -35
  244. package/es/common/components/gesco-contact-form/index.d.ts +3 -0
  245. package/es/common/components/gesco-contact-form/index.d.ts.map +1 -0
  246. package/es/common/components/gesco-contact-form/index.js +1 -1
  247. package/es/common/components/gesco-contact-form/phone-code-select.d.ts +7 -0
  248. package/es/common/components/gesco-contact-form/phone-code-select.d.ts.map +1 -0
  249. package/es/common/components/gesco-contact-form/phone-code-select.js +56 -76
  250. package/es/common/components/gesco-contact-form/services/api.d.ts +30 -0
  251. package/es/common/components/gesco-contact-form/services/api.d.ts.map +1 -0
  252. package/es/common/components/gesco-contact-form/services/api.js +7 -7
  253. package/es/common/components/gesco-contact-form/services/form.d.ts +31 -0
  254. package/es/common/components/gesco-contact-form/services/form.d.ts.map +1 -0
  255. package/es/common/components/gesco-contact-form/services/form.js +22 -39
  256. package/es/common/components/gesco-contact-form/services/messages.d.ts +34 -0
  257. package/es/common/components/gesco-contact-form/services/messages.d.ts.map +1 -0
  258. package/es/common/components/gesco-contact-form/services/messages.js +65 -68
  259. package/es/common/components/gesco-contact-form/services/plausible.d.ts +3 -0
  260. package/es/common/components/gesco-contact-form/services/plausible.d.ts.map +1 -0
  261. package/es/common/components/gesco-contact-form/services/plausible.js +9 -8
  262. package/es/common/components/gesco-contact-form/types.d.ts +34 -0
  263. package/es/common/components/gesco-contact-form/types.d.ts.map +1 -0
  264. package/es/common/components/gesco-contact-form/types.js +1 -1
  265. package/es/common/components/info-buttons.d.ts +8 -0
  266. package/es/common/components/info-buttons.d.ts.map +1 -0
  267. package/es/common/components/info-buttons.js +75 -94
  268. package/es/common/components/information/index.d.ts +3 -0
  269. package/es/common/components/information/index.d.ts.map +1 -0
  270. package/es/common/components/information/index.js +1 -1
  271. package/es/common/components/information/information.d.ts +6 -0
  272. package/es/common/components/information/information.d.ts.map +1 -0
  273. package/es/common/components/information/information.js +31 -50
  274. package/es/common/components/instant-search/hooks/use-constant.d.ts +2 -0
  275. package/es/common/components/instant-search/hooks/use-constant.d.ts.map +1 -0
  276. package/es/common/components/instant-search/hooks/use-constant.js +6 -8
  277. package/es/common/components/instant-search/hooks/use-debounced-search.d.ts +7 -0
  278. package/es/common/components/instant-search/hooks/use-debounced-search.d.ts.map +1 -0
  279. package/es/common/components/instant-search/hooks/use-debounced-search.js +5 -14
  280. package/es/common/components/instant-search/hooks/use-search.d.ts +16 -0
  281. package/es/common/components/instant-search/hooks/use-search.d.ts.map +1 -0
  282. package/es/common/components/instant-search/hooks/use-search.js +6 -10
  283. package/es/common/components/instant-search/index.d.ts +3 -0
  284. package/es/common/components/instant-search/index.d.ts.map +1 -0
  285. package/es/common/components/instant-search/index.js +1 -1
  286. package/es/common/components/instant-search/input.d.ts +15 -0
  287. package/es/common/components/instant-search/input.d.ts.map +1 -0
  288. package/es/common/components/instant-search/input.js +45 -75
  289. package/es/common/components/instant-search/instant-search.d.ts +19 -0
  290. package/es/common/components/instant-search/instant-search.d.ts.map +1 -0
  291. package/es/common/components/instant-search/instant-search.js +71 -124
  292. package/es/common/components/instant-search/links.d.ts +12 -0
  293. package/es/common/components/instant-search/links.d.ts.map +1 -0
  294. package/es/common/components/instant-search/links.js +23 -74
  295. package/es/common/components/instant-search/no-product.d.ts +6 -0
  296. package/es/common/components/instant-search/no-product.d.ts.map +1 -0
  297. package/es/common/components/instant-search/no-product.js +4 -81
  298. package/es/common/components/instant-search/products.d.ts +14 -0
  299. package/es/common/components/instant-search/products.d.ts.map +1 -0
  300. package/es/common/components/instant-search/products.js +31 -118
  301. package/es/common/components/instant-search/results.d.ts +76 -0
  302. package/es/common/components/instant-search/results.d.ts.map +1 -0
  303. package/es/common/components/instant-search/results.js +32 -121
  304. package/es/common/components/instant-search/services/api.d.ts +2 -0
  305. package/es/common/components/instant-search/services/api.d.ts.map +1 -0
  306. package/es/common/components/instant-search/services/api.js +9 -12
  307. package/es/common/components/instant-search/services/dates.d.ts +2 -0
  308. package/es/common/components/instant-search/services/dates.d.ts.map +1 -0
  309. package/es/common/components/instant-search/services/dates.js +38 -36
  310. package/es/common/components/instant-search/services/messages.d.ts +2 -0
  311. package/es/common/components/instant-search/services/messages.d.ts.map +1 -0
  312. package/es/common/components/instant-search/services/messages.js +3 -3
  313. package/es/common/components/instant-search/services/utils.d.ts +4 -0
  314. package/es/common/components/instant-search/services/utils.d.ts.map +1 -0
  315. package/es/common/components/instant-search/services/utils.js +34 -34
  316. package/es/common/components/msem-preset-editor/components/facet-selector.d.ts +6 -0
  317. package/es/common/components/msem-preset-editor/components/facet-selector.d.ts.map +1 -0
  318. package/es/common/components/msem-preset-editor/components/facet-selector.js +22 -39
  319. package/es/common/components/msem-preset-editor/components/form.d.ts +8 -0
  320. package/es/common/components/msem-preset-editor/components/form.d.ts.map +1 -0
  321. package/es/common/components/msem-preset-editor/components/form.js +5 -54
  322. package/es/common/components/msem-preset-editor/components/stay-picker.d.ts +14 -0
  323. package/es/common/components/msem-preset-editor/components/stay-picker.d.ts.map +1 -0
  324. package/es/common/components/msem-preset-editor/components/stay-picker.js +33 -72
  325. package/es/common/components/msem-preset-editor/components/widget-list-item.d.ts +12 -0
  326. package/es/common/components/msem-preset-editor/components/widget-list-item.d.ts.map +1 -0
  327. package/es/common/components/msem-preset-editor/components/widget-list-item.js +49 -131
  328. package/es/common/components/msem-preset-editor/components/widget-list.d.ts +17 -0
  329. package/es/common/components/msem-preset-editor/components/widget-list.d.ts.map +1 -0
  330. package/es/common/components/msem-preset-editor/components/widget-list.js +29 -54
  331. package/es/common/components/msem-preset-editor/editor-dialog.d.ts +30 -0
  332. package/es/common/components/msem-preset-editor/editor-dialog.d.ts.map +1 -0
  333. package/es/common/components/msem-preset-editor/editor-dialog.js +21 -68
  334. package/es/common/components/msem-preset-editor/editors/elloha.d.ts +15 -0
  335. package/es/common/components/msem-preset-editor/editors/elloha.d.ts.map +1 -0
  336. package/es/common/components/msem-preset-editor/editors/elloha.js +68 -102
  337. package/es/common/components/msem-preset-editor/editors/index.d.ts +16 -0
  338. package/es/common/components/msem-preset-editor/editors/index.d.ts.map +1 -0
  339. package/es/common/components/msem-preset-editor/editors/index.js +7 -7
  340. package/es/common/components/msem-preset-editor/editors/lodgings.d.ts +17 -0
  341. package/es/common/components/msem-preset-editor/editors/lodgings.d.ts.map +1 -0
  342. package/es/common/components/msem-preset-editor/editors/lodgings.js +175 -316
  343. package/es/common/components/msem-preset-editor/editors/ski-passes-jb.d.ts +16 -0
  344. package/es/common/components/msem-preset-editor/editors/ski-passes-jb.d.ts.map +1 -0
  345. package/es/common/components/msem-preset-editor/editors/ski-passes-jb.js +74 -119
  346. package/es/common/components/msem-preset-editor/editors/ski-passes.d.ts +16 -0
  347. package/es/common/components/msem-preset-editor/editors/ski-passes.d.ts.map +1 -0
  348. package/es/common/components/msem-preset-editor/editors/ski-passes.js +180 -267
  349. package/es/common/components/msem-preset-editor/editors/standard-products.d.ts +16 -0
  350. package/es/common/components/msem-preset-editor/editors/standard-products.d.ts.map +1 -0
  351. package/es/common/components/msem-preset-editor/editors/standard-products.js +55 -84
  352. package/es/common/components/msem-preset-editor/editors/vakario.d.ts +15 -0
  353. package/es/common/components/msem-preset-editor/editors/vakario.d.ts.map +1 -0
  354. package/es/common/components/msem-preset-editor/editors/vakario.js +167 -240
  355. package/es/common/components/msem-preset-editor/index.d.ts +3 -0
  356. package/es/common/components/msem-preset-editor/index.d.ts.map +1 -0
  357. package/es/common/components/msem-preset-editor/index.js +1 -1
  358. package/es/common/components/msem-preset-editor/msem-preset-editor.d.ts +28 -0
  359. package/es/common/components/msem-preset-editor/msem-preset-editor.d.ts.map +1 -0
  360. package/es/common/components/msem-preset-editor/msem-preset-editor.js +137 -227
  361. package/es/common/components/msem-preset-editor/services/api.d.ts +15 -0
  362. package/es/common/components/msem-preset-editor/services/api.d.ts.map +1 -0
  363. package/es/common/components/msem-preset-editor/services/api.js +40 -69
  364. package/es/common/components/msem-preset-editor/services/offers.d.ts +23 -0
  365. package/es/common/components/msem-preset-editor/services/offers.d.ts.map +1 -0
  366. package/es/common/components/msem-preset-editor/services/offers.js +45 -76
  367. package/es/common/components/msem-preset-editor/services/preset.d.ts +32 -0
  368. package/es/common/components/msem-preset-editor/services/preset.d.ts.map +1 -0
  369. package/es/common/components/msem-preset-editor/services/preset.js +18 -26
  370. package/es/common/components/msem-preset-editor/services/url-params.d.ts +3 -0
  371. package/es/common/components/msem-preset-editor/services/url-params.d.ts.map +1 -0
  372. package/es/common/components/msem-preset-editor/services/url-params.js +24 -24
  373. package/es/common/components/msem-preset-linker/components/actions.d.ts +11 -0
  374. package/es/common/components/msem-preset-linker/components/actions.d.ts.map +1 -0
  375. package/es/common/components/msem-preset-linker/components/actions.js +40 -52
  376. package/es/common/components/msem-preset-linker/components/overlays.d.ts +8 -0
  377. package/es/common/components/msem-preset-linker/components/overlays.d.ts.map +1 -0
  378. package/es/common/components/msem-preset-linker/components/overlays.js +44 -60
  379. package/es/common/components/msem-preset-linker/components/resort-selector.d.ts +6 -0
  380. package/es/common/components/msem-preset-linker/components/resort-selector.d.ts.map +1 -0
  381. package/es/common/components/msem-preset-linker/components/resort-selector.js +11 -21
  382. package/es/common/components/msem-preset-linker/hooks/use-msem-presets.d.ts +5 -0
  383. package/es/common/components/msem-preset-linker/hooks/use-msem-presets.d.ts.map +1 -0
  384. package/es/common/components/msem-preset-linker/hooks/use-msem-presets.js +31 -48
  385. package/es/common/components/msem-preset-linker/index.d.ts +3 -0
  386. package/es/common/components/msem-preset-linker/index.d.ts.map +1 -0
  387. package/es/common/components/msem-preset-linker/index.js +1 -1
  388. package/es/common/components/msem-preset-linker/msem-preset-linker.d.ts +30 -0
  389. package/es/common/components/msem-preset-linker/msem-preset-linker.d.ts.map +1 -0
  390. package/es/common/components/msem-preset-linker/msem-preset-linker.js +42 -72
  391. package/es/common/components/msem-preset-linker/services/url-params.d.ts +2 -0
  392. package/es/common/components/msem-preset-linker/services/url-params.d.ts.map +1 -0
  393. package/es/common/components/msem-preset-linker/services/url-params.js +13 -10
  394. package/es/common/components/packages-selector/index.d.ts +7 -0
  395. package/es/common/components/packages-selector/index.d.ts.map +1 -0
  396. package/es/common/components/packages-selector/index.js +21 -49
  397. package/es/common/components/plausible/hooks/use-plausible.d.ts +12 -0
  398. package/es/common/components/plausible/hooks/use-plausible.d.ts.map +1 -0
  399. package/es/common/components/plausible/hooks/use-plausible.js +18 -22
  400. package/es/common/components/plausible/index.d.ts +8 -0
  401. package/es/common/components/plausible/index.d.ts.map +1 -0
  402. package/es/common/components/plausible/index.js +1 -1
  403. package/es/common/components/plausible/plausible.d.ts +7 -0
  404. package/es/common/components/plausible/plausible.d.ts.map +1 -0
  405. package/es/common/components/plausible/plausible.js +13 -23
  406. package/es/common/components/plausible/services/callback.d.ts +24 -0
  407. package/es/common/components/plausible/services/callback.d.ts.map +1 -0
  408. package/es/common/components/plausible/services/callback.js +117 -186
  409. package/es/common/components/plausible/services/load.d.ts +2 -0
  410. package/es/common/components/plausible/services/load.d.ts.map +1 -0
  411. package/es/common/components/plausible/services/load.js +6 -4
  412. package/es/common/components/plausible/services/send-goal.d.ts +7 -0
  413. package/es/common/components/plausible/services/send-goal.d.ts.map +1 -0
  414. package/es/common/components/plausible/services/send-goal.js +3 -6
  415. package/es/common/components/popup.d.ts +6 -0
  416. package/es/common/components/popup.d.ts.map +1 -0
  417. package/es/common/components/popup.js +21 -80
  418. package/es/common/components/scroll-spy.d.ts +14 -0
  419. package/es/common/components/scroll-spy.d.ts.map +1 -0
  420. package/es/common/components/scroll-spy.js +43 -56
  421. package/es/common/components/scrolling-carousel/index.d.ts +3 -0
  422. package/es/common/components/scrolling-carousel/index.d.ts.map +1 -0
  423. package/es/common/components/scrolling-carousel/index.js +1 -1
  424. package/es/common/components/scrolling-carousel/scrolling-carousel.d.ts +8 -0
  425. package/es/common/components/scrolling-carousel/scrolling-carousel.d.ts.map +1 -0
  426. package/es/common/components/scrolling-carousel/scrolling-carousel.js +55 -94
  427. package/es/common/components/search-bar/hooks/use-constant.d.ts +2 -0
  428. package/es/common/components/search-bar/hooks/use-constant.d.ts.map +1 -0
  429. package/es/common/components/search-bar/hooks/use-constant.js +6 -8
  430. package/es/common/components/search-bar/hooks/use-debounced-search.d.ts +7 -0
  431. package/es/common/components/search-bar/hooks/use-debounced-search.d.ts.map +1 -0
  432. package/es/common/components/search-bar/hooks/use-debounced-search.js +5 -14
  433. package/es/common/components/search-bar/hooks/use-search.d.ts +12 -0
  434. package/es/common/components/search-bar/hooks/use-search.d.ts.map +1 -0
  435. package/es/common/components/search-bar/hooks/use-search.js +5 -11
  436. package/es/common/components/search-bar/index.d.ts +3 -0
  437. package/es/common/components/search-bar/index.d.ts.map +1 -0
  438. package/es/common/components/search-bar/index.js +1 -1
  439. package/es/common/components/search-bar/messages.d.ts +15 -0
  440. package/es/common/components/search-bar/messages.d.ts.map +1 -0
  441. package/es/common/components/search-bar/messages.js +16 -16
  442. package/es/common/components/search-bar/search-bar.d.ts +13 -0
  443. package/es/common/components/search-bar/search-bar.d.ts.map +1 -0
  444. package/es/common/components/search-bar/search-bar.js +134 -204
  445. package/es/common/components/search-bar/utils/fetcher.d.ts +2 -0
  446. package/es/common/components/search-bar/utils/fetcher.d.ts.map +1 -0
  447. package/es/common/components/search-bar/utils/fetcher.js +6 -12
  448. package/es/common/components/search-bar/utils/keyboard-keys.d.ts +6 -0
  449. package/es/common/components/search-bar/utils/keyboard-keys.d.ts.map +1 -0
  450. package/es/common/components/search-bar/utils/keyboard-keys.js +1 -1
  451. package/es/common/components/search-bar/utils/params.d.ts +2 -0
  452. package/es/common/components/search-bar/utils/params.d.ts.map +1 -0
  453. package/es/common/components/search-bar/utils/params.js +11 -8
  454. package/es/common/components/tabbed-zones.d.ts +12 -0
  455. package/es/common/components/tabbed-zones.d.ts.map +1 -0
  456. package/es/common/components/tabbed-zones.js +47 -100
  457. package/es/common/components/video-player/controls.d.ts +17 -0
  458. package/es/common/components/video-player/controls.d.ts.map +1 -0
  459. package/es/common/components/video-player/controls.js +37 -114
  460. package/es/common/components/video-player/icons.d.ts +7 -0
  461. package/es/common/components/video-player/icons.d.ts.map +1 -0
  462. package/es/common/components/video-player/icons.js +8 -48
  463. package/es/common/components/video-player/index.d.ts +2 -0
  464. package/es/common/components/video-player/index.d.ts.map +1 -0
  465. package/es/common/components/video-player/index.js +1 -1
  466. package/es/common/components/video-player/utils.d.ts +5 -0
  467. package/es/common/components/video-player/utils.d.ts.map +1 -0
  468. package/es/common/components/video-player/utils.js +42 -34
  469. package/es/common/components/video-player/video-player.d.ts +10 -0
  470. package/es/common/components/video-player/video-player.d.ts.map +1 -0
  471. package/es/common/components/video-player/video-player.js +63 -101
  472. package/es/common/hooks/use-account.d.ts +7 -0
  473. package/es/common/hooks/use-account.d.ts.map +1 -0
  474. package/es/common/hooks/use-account.js +22 -25
  475. package/es/common/hooks/use-faq.d.ts +3 -0
  476. package/es/common/hooks/use-faq.d.ts.map +1 -0
  477. package/es/common/hooks/use-faq.js +36 -37
  478. package/es/common/hooks/use-in-view.d.ts +5 -0
  479. package/es/common/hooks/use-in-view.d.ts.map +1 -0
  480. package/es/common/hooks/use-in-view.js +74 -74
  481. package/es/common/hooks/use-injected-cms-markup.d.ts +3 -0
  482. package/es/common/hooks/use-injected-cms-markup.d.ts.map +1 -0
  483. package/es/common/hooks/use-injected-cms-markup.js +37 -39
  484. package/es/common/hooks/use-packages.d.ts +3 -0
  485. package/es/common/hooks/use-packages.d.ts.map +1 -0
  486. package/es/common/hooks/use-packages.js +90 -97
  487. package/es/common/hooks/use-scroll-direction.d.ts +11 -0
  488. package/es/common/hooks/use-scroll-direction.d.ts.map +1 -0
  489. package/es/common/hooks/use-scroll-direction.js +32 -37
  490. package/es/common/hooks/use-stay.d.ts +4 -0
  491. package/es/common/hooks/use-stay.d.ts.map +1 -0
  492. package/es/common/hooks/use-stay.js +13 -16
  493. package/es/common/hooks/use-sticky.d.ts +4 -0
  494. package/es/common/hooks/use-sticky.d.ts.map +1 -0
  495. package/es/common/hooks/use-sticky.js +35 -35
  496. package/es/common/hooks/use-tunnel.d.ts +11 -0
  497. package/es/common/hooks/use-tunnel.d.ts.map +1 -0
  498. package/es/common/hooks/use-tunnel.js +44 -51
  499. package/es/common/hooks/use-update-effect.d.ts +2 -0
  500. package/es/common/hooks/use-update-effect.d.ts.map +1 -0
  501. package/es/common/hooks/use-update-effect.js +9 -9
  502. package/es/common/hooks/use-window-sizes.d.ts +7 -0
  503. package/es/common/hooks/use-window-sizes.d.ts.map +1 -0
  504. package/es/common/hooks/use-window-sizes.js +28 -29
  505. package/es/common/hooks/use-youtube-popup.d.ts +3 -0
  506. package/es/common/hooks/use-youtube-popup.d.ts.map +1 -0
  507. package/es/common/hooks/use-youtube-popup.js +44 -53
  508. package/es/common/hooks/use-zone-sync.d.ts +3 -0
  509. package/es/common/hooks/use-zone-sync.d.ts.map +1 -0
  510. package/es/common/hooks/use-zone-sync.js +52 -52
  511. package/es/common/utils/cms.d.ts +4 -0
  512. package/es/common/utils/cms.d.ts.map +1 -0
  513. package/es/common/utils/cms.js +17 -15
  514. package/es/common/utils/cookies.d.ts +2 -0
  515. package/es/common/utils/cookies.d.ts.map +1 -0
  516. package/es/common/utils/cookies.js +11 -10
  517. package/es/common/utils/copy.d.ts +2 -0
  518. package/es/common/utils/copy.d.ts.map +1 -0
  519. package/es/common/utils/copy.js +11 -11
  520. package/es/common/utils/dates.d.ts +2 -0
  521. package/es/common/utils/dates.d.ts.map +1 -0
  522. package/es/common/utils/dates.js +10 -8
  523. package/es/common/utils/elements.d.ts +5 -0
  524. package/es/common/utils/elements.d.ts.map +1 -0
  525. package/es/common/utils/elements.js +15 -14
  526. package/es/common/utils/events.d.ts +4 -0
  527. package/es/common/utils/events.d.ts.map +1 -0
  528. package/es/common/utils/events.js +2 -4
  529. package/es/common/utils/fetcher.d.ts +5 -0
  530. package/es/common/utils/fetcher.d.ts.map +1 -0
  531. package/es/common/utils/fetcher.js +37 -27
  532. package/es/common/utils/file-manager.d.ts +13 -0
  533. package/es/common/utils/file-manager.d.ts.map +1 -0
  534. package/es/common/utils/file-manager.js +10 -12
  535. package/es/common/utils/load-js.d.ts +3 -0
  536. package/es/common/utils/load-js.d.ts.map +1 -0
  537. package/es/common/utils/load-js.js +11 -10
  538. package/es/common/utils/msem-widget.d.ts +16 -0
  539. package/es/common/utils/msem-widget.d.ts.map +1 -0
  540. package/es/common/utils/msem-widget.js +30 -36
  541. package/es/common/utils/scrollbar-size.d.ts +2 -0
  542. package/es/common/utils/scrollbar-size.d.ts.map +1 -0
  543. package/es/common/utils/scrollbar-size.js +1 -1
  544. package/es/common/utils/touch-device.d.ts +2 -0
  545. package/es/common/utils/touch-device.d.ts.map +1 -0
  546. package/es/common/utils/touch-device.js +3 -1
  547. package/es/common/utils/url-parameters.d.ts +2 -0
  548. package/es/common/utils/url-parameters.d.ts.map +1 -0
  549. package/es/common/utils/url-parameters.js +7 -11
  550. package/es/esf/components/account-button/account-button.d.ts +14 -0
  551. package/es/esf/components/account-button/account-button.d.ts.map +1 -0
  552. package/es/esf/components/account-button/account-button.js +8 -35
  553. package/es/esf/components/account-button/index.d.ts +3 -0
  554. package/es/esf/components/account-button/index.d.ts.map +1 -0
  555. package/es/esf/components/account-button/index.js +1 -1
  556. package/es/esf/components/booking-form/booking-form.d.ts +3 -0
  557. package/es/esf/components/booking-form/booking-form.d.ts.map +1 -0
  558. package/es/esf/components/booking-form/booking-form.js +24 -65
  559. package/es/esf/components/booking-form/data.d.ts +335 -0
  560. package/es/esf/components/booking-form/data.d.ts.map +1 -0
  561. package/es/esf/components/booking-form/data.js +212 -206
  562. package/es/esf/components/booking-form/field.d.ts +10 -0
  563. package/es/esf/components/booking-form/field.d.ts.map +1 -0
  564. package/es/esf/components/booking-form/field.js +80 -102
  565. package/es/esf/components/booking-form/hooks/use-custom-fields.d.ts +3 -0
  566. package/es/esf/components/booking-form/hooks/use-custom-fields.d.ts.map +1 -0
  567. package/es/esf/components/booking-form/hooks/use-custom-fields.js +17 -23
  568. package/es/esf/components/booking-form/hooks/use-stay.d.ts +3 -0
  569. package/es/esf/components/booking-form/hooks/use-stay.d.ts.map +1 -0
  570. package/es/esf/components/booking-form/hooks/use-stay.js +9 -9
  571. package/es/esf/components/booking-form/index.d.ts +3 -0
  572. package/es/esf/components/booking-form/index.d.ts.map +1 -0
  573. package/es/esf/components/booking-form/index.js +1 -1
  574. package/es/esf/components/booking-form/lesson.d.ts +9 -0
  575. package/es/esf/components/booking-form/lesson.d.ts.map +1 -0
  576. package/es/esf/components/booking-form/lesson.js +18 -48
  577. package/es/esf/components/booking-form/lessons.d.ts +12 -0
  578. package/es/esf/components/booking-form/lessons.d.ts.map +1 -0
  579. package/es/esf/components/booking-form/lessons.js +41 -77
  580. package/es/esf/components/booking-form/messages.d.ts +2 -0
  581. package/es/esf/components/booking-form/messages.d.ts.map +1 -0
  582. package/es/esf/components/booking-form/messages.js +51 -50
  583. package/es/esf/components/booking-form/personal-data.d.ts +10 -0
  584. package/es/esf/components/booking-form/personal-data.d.ts.map +1 -0
  585. package/es/esf/components/booking-form/personal-data.js +17 -55
  586. package/es/esf/components/booking-form/progress-bar.d.ts +6 -0
  587. package/es/esf/components/booking-form/progress-bar.d.ts.map +1 -0
  588. package/es/esf/components/booking-form/progress-bar.js +12 -29
  589. package/es/esf/components/booking-form/steps.d.ts +14 -0
  590. package/es/esf/components/booking-form/steps.d.ts.map +1 -0
  591. package/es/esf/components/booking-form/steps.js +33 -70
  592. package/es/esf/components/booking-form/summary.d.ts +11 -0
  593. package/es/esf/components/booking-form/summary.d.ts.map +1 -0
  594. package/es/esf/components/booking-form/summary.js +60 -134
  595. package/es/esf/components/booking-form/utils.d.ts +6 -0
  596. package/es/esf/components/booking-form/utils.d.ts.map +1 -0
  597. package/es/esf/components/booking-form/utils.js +41 -55
  598. package/es/esf/components/covid-link/index.d.ts +3 -0
  599. package/es/esf/components/covid-link/index.d.ts.map +1 -0
  600. package/es/esf/components/covid-link/index.js +2 -2
  601. package/es/esf/components/covid-link/mask-icon.d.ts +3 -0
  602. package/es/esf/components/covid-link/mask-icon.d.ts.map +1 -0
  603. package/es/esf/components/covid-link/mask-icon.js +3 -15
  604. package/es/esf/components/covid-link/vax-pass-icon.d.ts +3 -0
  605. package/es/esf/components/covid-link/vax-pass-icon.d.ts.map +1 -0
  606. package/es/esf/components/covid-link/vax-pass-icon.js +3 -32
  607. package/es/esf/components/cp-form.d.ts +15 -0
  608. package/es/esf/components/cp-form.d.ts.map +1 -0
  609. package/es/esf/components/cp-form.js +50 -58
  610. package/es/esf/components/instructors-book/api.d.ts +4 -0
  611. package/es/esf/components/instructors-book/api.d.ts.map +1 -0
  612. package/es/esf/components/instructors-book/api.js +51 -53
  613. package/es/esf/components/instructors-book/book.d.ts +5 -0
  614. package/es/esf/components/instructors-book/book.d.ts.map +1 -0
  615. package/es/esf/components/instructors-book/book.js +54 -75
  616. package/es/esf/components/instructors-book/filters.d.ts +9 -0
  617. package/es/esf/components/instructors-book/filters.d.ts.map +1 -0
  618. package/es/esf/components/instructors-book/filters.js +20 -56
  619. package/es/esf/components/instructors-book/flags.d.ts +34 -0
  620. package/es/esf/components/instructors-book/flags.d.ts.map +1 -0
  621. package/es/esf/components/instructors-book/flags.js +33 -246
  622. package/es/esf/components/instructors-book/index.d.ts +7 -0
  623. package/es/esf/components/instructors-book/index.d.ts.map +1 -0
  624. package/es/esf/components/instructors-book/index.js +1 -1
  625. package/es/esf/components/instructors-book/instructor.d.ts +8 -0
  626. package/es/esf/components/instructors-book/instructor.d.ts.map +1 -0
  627. package/es/esf/components/instructors-book/instructor.js +34 -103
  628. package/es/esf/components/instructors-book/list.d.ts +10 -0
  629. package/es/esf/components/instructors-book/list.d.ts.map +1 -0
  630. package/es/esf/components/instructors-book/list.js +14 -40
  631. package/es/esf/components/instructors-book/messages.d.ts +2 -0
  632. package/es/esf/components/instructors-book/messages.d.ts.map +1 -0
  633. package/es/esf/components/instructors-book/messages.js +38 -38
  634. package/es/esf/components/instructors-book/prefixes.d.ts +6 -0
  635. package/es/esf/components/instructors-book/prefixes.d.ts.map +1 -0
  636. package/es/esf/components/instructors-book/prefixes.js +3 -3
  637. package/es/esf/components/instructors-book/sheet.d.ts +8 -0
  638. package/es/esf/components/instructors-book/sheet.d.ts.map +1 -0
  639. package/es/esf/components/instructors-book/sheet.js +37 -161
  640. package/es/esf/components/instructors-book/suggestions.d.ts +7 -0
  641. package/es/esf/components/instructors-book/suggestions.d.ts.map +1 -0
  642. package/es/esf/components/instructors-book/suggestions.js +25 -51
  643. package/es/esf/components/instructors-book/utils.d.ts +14 -0
  644. package/es/esf/components/instructors-book/utils.d.ts.map +1 -0
  645. package/es/esf/components/instructors-book/utils.js +42 -39
  646. package/es/esf/components/levels/detail.d.ts +5 -0
  647. package/es/esf/components/levels/detail.d.ts.map +1 -0
  648. package/es/esf/components/levels/detail.js +4 -34
  649. package/es/esf/components/levels/index.d.ts +3 -0
  650. package/es/esf/components/levels/index.d.ts.map +1 -0
  651. package/es/esf/components/levels/index.js +1 -1
  652. package/es/esf/components/levels/levels.d.ts +5 -0
  653. package/es/esf/components/levels/levels.d.ts.map +1 -0
  654. package/es/esf/components/levels/levels.js +199 -324
  655. package/es/esf/components/loyal-customers/api.d.ts +5 -0
  656. package/es/esf/components/loyal-customers/api.d.ts.map +1 -0
  657. package/es/esf/components/loyal-customers/api.js +10 -18
  658. package/es/esf/components/loyal-customers/components/bin-icon.d.ts +3 -0
  659. package/es/esf/components/loyal-customers/components/bin-icon.d.ts.map +1 -0
  660. package/es/esf/components/loyal-customers/components/bin-icon.js +3 -25
  661. package/es/esf/components/loyal-customers/components/customer-form.d.ts +18 -0
  662. package/es/esf/components/loyal-customers/components/customer-form.d.ts.map +1 -0
  663. package/es/esf/components/loyal-customers/components/customer-form.js +29 -88
  664. package/es/esf/components/loyal-customers/components/field.d.ts +9 -0
  665. package/es/esf/components/loyal-customers/components/field.d.ts.map +1 -0
  666. package/es/esf/components/loyal-customers/components/field.js +67 -91
  667. package/es/esf/components/loyal-customers/components/row.d.ts +10 -0
  668. package/es/esf/components/loyal-customers/components/row.d.ts.map +1 -0
  669. package/es/esf/components/loyal-customers/components/row.js +10 -66
  670. package/es/esf/components/loyal-customers/components/rows.d.ts +9 -0
  671. package/es/esf/components/loyal-customers/components/rows.d.ts.map +1 -0
  672. package/es/esf/components/loyal-customers/components/rows.js +10 -30
  673. package/es/esf/components/loyal-customers/components/stay.d.ts +5 -0
  674. package/es/esf/components/loyal-customers/components/stay.d.ts.map +1 -0
  675. package/es/esf/components/loyal-customers/components/stay.js +13 -30
  676. package/es/esf/components/loyal-customers/components/student-form.d.ts +10 -0
  677. package/es/esf/components/loyal-customers/components/student-form.d.ts.map +1 -0
  678. package/es/esf/components/loyal-customers/components/student-form.js +28 -105
  679. package/es/esf/components/loyal-customers/components/voucher.d.ts +7 -0
  680. package/es/esf/components/loyal-customers/components/voucher.d.ts.map +1 -0
  681. package/es/esf/components/loyal-customers/components/voucher.js +4 -19
  682. package/es/esf/components/loyal-customers/content.d.ts +18 -0
  683. package/es/esf/components/loyal-customers/content.d.ts.map +1 -0
  684. package/es/esf/components/loyal-customers/content.js +43 -46
  685. package/es/esf/components/loyal-customers/data.d.ts +167 -0
  686. package/es/esf/components/loyal-customers/data.d.ts.map +1 -0
  687. package/es/esf/components/loyal-customers/data.js +62 -113
  688. package/es/esf/components/loyal-customers/hooks/use-stored-rows.d.ts +4 -0
  689. package/es/esf/components/loyal-customers/hooks/use-stored-rows.d.ts.map +1 -0
  690. package/es/esf/components/loyal-customers/hooks/use-stored-rows.js +9 -8
  691. package/es/esf/components/loyal-customers/index.d.ts +3 -0
  692. package/es/esf/components/loyal-customers/index.d.ts.map +1 -0
  693. package/es/esf/components/loyal-customers/index.js +1 -1
  694. package/es/esf/components/loyal-customers/loyal-customers.d.ts +17 -0
  695. package/es/esf/components/loyal-customers/loyal-customers.d.ts.map +1 -0
  696. package/es/esf/components/loyal-customers/loyal-customers.js +47 -120
  697. package/es/esf/components/loyal-customers/messages.d.ts +2 -0
  698. package/es/esf/components/loyal-customers/messages.d.ts.map +1 -0
  699. package/es/esf/components/loyal-customers/messages.js +57 -56
  700. package/es/esf/components/loyal-customers/utils.d.ts +21 -0
  701. package/es/esf/components/loyal-customers/utils.d.ts.map +1 -0
  702. package/es/esf/components/loyal-customers/utils.js +42 -67
  703. package/es/esf/components/magic-box/booking.d.ts +11 -0
  704. package/es/esf/components/magic-box/booking.d.ts.map +1 -0
  705. package/es/esf/components/magic-box/booking.js +86 -90
  706. package/es/esf/components/magic-box/filter.d.ts +8 -0
  707. package/es/esf/components/magic-box/filter.d.ts.map +1 -0
  708. package/es/esf/components/magic-box/filter.js +14 -38
  709. package/es/esf/components/magic-box/filters.d.ts +7 -0
  710. package/es/esf/components/magic-box/filters.d.ts.map +1 -0
  711. package/es/esf/components/magic-box/filters.js +6 -18
  712. package/es/esf/components/magic-box/index.d.ts +3 -0
  713. package/es/esf/components/magic-box/index.d.ts.map +1 -0
  714. package/es/esf/components/magic-box/index.js +1 -1
  715. package/es/esf/components/magic-box/magic-box.d.ts +28 -0
  716. package/es/esf/components/magic-box/magic-box.d.ts.map +1 -0
  717. package/es/esf/components/magic-box/magic-box.js +105 -169
  718. package/es/esf/components/magic-box/messages.d.ts +2 -0
  719. package/es/esf/components/magic-box/messages.d.ts.map +1 -0
  720. package/es/esf/components/magic-box/messages.js +27 -26
  721. package/es/esf/components/magic-box/services/api.d.ts +19 -0
  722. package/es/esf/components/magic-box/services/api.d.ts.map +1 -0
  723. package/es/esf/components/magic-box/services/api.js +24 -47
  724. package/es/esf/components/magic-box/services/widgets.d.ts +2 -0
  725. package/es/esf/components/magic-box/services/widgets.d.ts.map +1 -0
  726. package/es/esf/components/magic-box/services/widgets.js +2 -2
  727. package/es/esf/components/parcours-esf/index.d.ts +3 -0
  728. package/es/esf/components/parcours-esf/index.d.ts.map +1 -0
  729. package/es/esf/components/parcours-esf/index.js +1 -1
  730. package/es/esf/components/parcours-esf/parcours-esf.d.ts +14 -0
  731. package/es/esf/components/parcours-esf/parcours-esf.d.ts.map +1 -0
  732. package/es/esf/components/parcours-esf/parcours-esf.js +27 -45
  733. package/es/esf/components/period-picker/controls.d.ts +5 -0
  734. package/es/esf/components/period-picker/controls.d.ts.map +1 -0
  735. package/es/esf/components/period-picker/controls.js +16 -38
  736. package/es/esf/components/period-picker/date-display.d.ts +4 -0
  737. package/es/esf/components/period-picker/date-display.d.ts.map +1 -0
  738. package/es/esf/components/period-picker/date-display.js +32 -59
  739. package/es/esf/components/period-picker/days.d.ts +4 -0
  740. package/es/esf/components/period-picker/days.d.ts.map +1 -0
  741. package/es/esf/components/period-picker/days.js +58 -102
  742. package/es/esf/components/period-picker/extended-stay-picker.d.ts +12 -0
  743. package/es/esf/components/period-picker/extended-stay-picker.d.ts.map +1 -0
  744. package/es/esf/components/period-picker/extended-stay-picker.js +14 -48
  745. package/es/esf/components/period-picker/index.d.ts +3 -0
  746. package/es/esf/components/period-picker/index.d.ts.map +1 -0
  747. package/es/esf/components/period-picker/index.js +1 -1
  748. package/es/esf/components/period-picker/messages.d.ts +2 -0
  749. package/es/esf/components/period-picker/messages.d.ts.map +1 -0
  750. package/es/esf/components/period-picker/messages.js +87 -87
  751. package/es/esf/components/period-picker/period-picker.d.ts +8 -0
  752. package/es/esf/components/period-picker/period-picker.d.ts.map +1 -0
  753. package/es/esf/components/period-picker/period-picker.js +113 -183
  754. package/es/esf/components/period-picker/popup.d.ts +8 -0
  755. package/es/esf/components/period-picker/popup.d.ts.map +1 -0
  756. package/es/esf/components/period-picker/popup.js +11 -33
  757. package/es/esf/components/period-picker/services/dates.d.ts +16 -0
  758. package/es/esf/components/period-picker/services/dates.d.ts.map +1 -0
  759. package/es/esf/components/period-picker/services/dates.js +67 -68
  760. package/es/esf/components/period-picker/services/events.d.ts +2 -0
  761. package/es/esf/components/period-picker/services/events.d.ts.map +1 -0
  762. package/es/esf/components/period-picker/services/events.js +3 -6
  763. package/es/esf/components/period-picker/services/motions.d.ts +51 -0
  764. package/es/esf/components/period-picker/services/motions.d.ts.map +1 -0
  765. package/es/esf/components/period-picker/services/motions.js +8 -33
  766. package/es/esf/components/period-picker/services/sections.d.ts +3 -0
  767. package/es/esf/components/period-picker/services/sections.d.ts.map +1 -0
  768. package/es/esf/components/period-picker/services/sections.js +39 -31
  769. package/es/esf/components/period-picker/services/stay.d.ts +3 -0
  770. package/es/esf/components/period-picker/services/stay.d.ts.map +1 -0
  771. package/es/esf/components/period-picker/services/stay.js +20 -21
  772. package/es/esf/components/period-picker/title.d.ts +5 -0
  773. package/es/esf/components/period-picker/title.d.ts.map +1 -0
  774. package/es/esf/components/period-picker/title.js +8 -22
  775. package/es/esf/components/period-picker/warning.d.ts +8 -0
  776. package/es/esf/components/period-picker/warning.d.ts.map +1 -0
  777. package/es/esf/components/period-picker/warning.js +10 -43
  778. package/es/esf/components/period-picker/weeks.d.ts +4 -0
  779. package/es/esf/components/period-picker/weeks.d.ts.map +1 -0
  780. package/es/esf/components/period-picker/weeks.js +55 -137
  781. package/es/esf/components/reviews.d.ts +7 -0
  782. package/es/esf/components/reviews.d.ts.map +1 -0
  783. package/es/esf/components/reviews.js +19 -25
  784. package/es/esf/components/village-maps/icons.d.ts +6 -0
  785. package/es/esf/components/village-maps/icons.d.ts.map +1 -0
  786. package/es/esf/components/village-maps/icons.js +7 -38
  787. package/es/esf/components/village-maps/index.d.ts +9 -0
  788. package/es/esf/components/village-maps/index.d.ts.map +1 -0
  789. package/es/esf/components/village-maps/index.js +59 -193
  790. package/es/esf/components/village-maps/messages.d.ts +3 -0
  791. package/es/esf/components/village-maps/messages.d.ts.map +1 -0
  792. package/es/esf/components/village-maps/messages.js +13 -13
  793. package/es/esf/components/village-maps/utils.d.ts +5 -0
  794. package/es/esf/components/village-maps/utils.d.ts.map +1 -0
  795. package/es/esf/components/village-maps/utils.js +19 -19
  796. package/es/esf/components/week-picker/index.d.ts +15 -0
  797. package/es/esf/components/week-picker/index.d.ts.map +1 -0
  798. package/es/esf/components/week-picker/index.js +133 -222
  799. package/es/esf/components/week-picker/messages.d.ts +28 -0
  800. package/es/esf/components/week-picker/messages.d.ts.map +1 -0
  801. package/es/esf/components/week-picker/messages.js +31 -30
  802. package/es/esf/components/week-picker/utils.d.ts +6 -0
  803. package/es/esf/components/week-picker/utils.d.ts.map +1 -0
  804. package/es/esf/components/week-picker/utils.js +49 -47
  805. package/es/esf/components/week-picker/week.d.ts +10 -0
  806. package/es/esf/components/week-picker/week.d.ts.map +1 -0
  807. package/es/esf/components/week-picker/week.js +22 -46
  808. package/es/esf/components/week-picker-2/index.d.ts +15 -0
  809. package/es/esf/components/week-picker-2/index.d.ts.map +1 -0
  810. package/es/esf/components/week-picker-2/index.js +156 -259
  811. package/es/esf/components/week-picker-2/messages.d.ts +32 -0
  812. package/es/esf/components/week-picker-2/messages.d.ts.map +1 -0
  813. package/es/esf/components/week-picker-2/messages.js +29 -29
  814. package/es/esf/components/week-picker-2/utils.d.ts +6 -0
  815. package/es/esf/components/week-picker-2/utils.d.ts.map +1 -0
  816. package/es/esf/components/week-picker-2/utils.js +49 -47
  817. package/es/esf/components/week-picker-2/week.d.ts +10 -0
  818. package/es/esf/components/week-picker-2/week.d.ts.map +1 -0
  819. package/es/esf/components/week-picker-2/week.js +22 -49
  820. package/es/esf/hooks/use-affiliation.d.ts +2 -0
  821. package/es/esf/hooks/use-affiliation.d.ts.map +1 -0
  822. package/es/esf/hooks/use-affiliation.js +12 -16
  823. package/es/esf/hooks/use-booking-links.d.ts +2 -0
  824. package/es/esf/hooks/use-booking-links.d.ts.map +1 -0
  825. package/es/esf/hooks/use-booking-links.js +42 -34
  826. package/es/esf/hooks/use-reviews.d.ts +3 -0
  827. package/es/esf/hooks/use-reviews.d.ts.map +1 -0
  828. package/es/esf/hooks/use-reviews.js +18 -22
  829. package/es/esf/hooks/use-season-products.d.ts +2 -0
  830. package/es/esf/hooks/use-season-products.d.ts.map +1 -0
  831. package/es/esf/hooks/use-season-products.js +73 -79
  832. package/es/future/components/msem/index.d.ts +4 -0
  833. package/es/future/components/msem/index.d.ts.map +1 -0
  834. package/es/future/components/msem/index.js +1 -1
  835. package/es/future/components/msem/script.d.ts +6 -0
  836. package/es/future/components/msem/script.d.ts.map +1 -0
  837. package/es/future/components/msem/script.js +7 -13
  838. package/es/future/components/msem/tunnel.d.ts +42 -0
  839. package/es/future/components/msem/tunnel.d.ts.map +1 -0
  840. package/es/future/components/msem/tunnel.js +17 -30
  841. package/es/future/components/msem/types.d.ts +16 -0
  842. package/es/future/components/msem/types.d.ts.map +1 -0
  843. package/es/future/components/msem/types.js +1 -1
  844. package/es/future/components/msem/utils.d.ts +4 -0
  845. package/es/future/components/msem/utils.d.ts.map +1 -0
  846. package/es/future/components/msem/utils.js +18 -16
  847. package/es/future/components/plausible/hooks/use-plausible.d.ts +12 -0
  848. package/es/future/components/plausible/hooks/use-plausible.d.ts.map +1 -0
  849. package/es/future/components/plausible/hooks/use-plausible.js +18 -22
  850. package/es/future/components/plausible/index.d.ts +8 -0
  851. package/es/future/components/plausible/index.d.ts.map +1 -0
  852. package/es/future/components/plausible/index.js +1 -1
  853. package/es/future/components/plausible/plausible.d.ts +7 -0
  854. package/es/future/components/plausible/plausible.d.ts.map +1 -0
  855. package/es/future/components/plausible/plausible.js +13 -23
  856. package/es/future/components/plausible/services/callback.d.ts +24 -0
  857. package/es/future/components/plausible/services/callback.d.ts.map +1 -0
  858. package/es/future/components/plausible/services/callback.js +117 -186
  859. package/es/future/components/plausible/services/load.d.ts +2 -0
  860. package/es/future/components/plausible/services/load.d.ts.map +1 -0
  861. package/es/future/components/plausible/services/load.js +6 -4
  862. package/es/future/components/plausible/services/send-goal.d.ts +7 -0
  863. package/es/future/components/plausible/services/send-goal.d.ts.map +1 -0
  864. package/es/future/components/plausible/services/send-goal.js +3 -6
  865. package/es/lbm/components/lumiplan/api.d.ts +9 -0
  866. package/es/lbm/components/lumiplan/api.d.ts.map +1 -0
  867. package/es/lbm/components/lumiplan/api.js +19 -39
  868. package/es/lbm/components/lumiplan/domain.d.ts +8 -0
  869. package/es/lbm/components/lumiplan/domain.d.ts.map +1 -0
  870. package/es/lbm/components/lumiplan/domain.js +21 -105
  871. package/es/lbm/components/lumiplan/header.d.ts +8 -0
  872. package/es/lbm/components/lumiplan/header.d.ts.map +1 -0
  873. package/es/lbm/components/lumiplan/header.js +15 -36
  874. package/es/lbm/components/lumiplan/i18n/translations.d.ts +7 -0
  875. package/es/lbm/components/lumiplan/i18n/translations.d.ts.map +1 -0
  876. package/es/lbm/components/lumiplan/i18n/translations.js +15 -24
  877. package/es/lbm/components/lumiplan/icons/alert.d.ts +6 -0
  878. package/es/lbm/components/lumiplan/icons/alert.d.ts.map +1 -0
  879. package/es/lbm/components/lumiplan/icons/alert.js +4 -21
  880. package/es/lbm/components/lumiplan/icons/avalanche-risk.d.ts +6 -0
  881. package/es/lbm/components/lumiplan/icons/avalanche-risk.d.ts.map +1 -0
  882. package/es/lbm/components/lumiplan/icons/avalanche-risk.js +4 -14
  883. package/es/lbm/components/lumiplan/icons/cabin.d.ts +6 -0
  884. package/es/lbm/components/lumiplan/icons/cabin.d.ts.map +1 -0
  885. package/es/lbm/components/lumiplan/icons/cabin.js +4 -14
  886. package/es/lbm/components/lumiplan/icons/check.d.ts +6 -0
  887. package/es/lbm/components/lumiplan/icons/check.d.ts.map +1 -0
  888. package/es/lbm/components/lumiplan/icons/check.js +4 -16
  889. package/es/lbm/components/lumiplan/icons/close.d.ts +6 -0
  890. package/es/lbm/components/lumiplan/icons/close.d.ts.map +1 -0
  891. package/es/lbm/components/lumiplan/icons/close.js +4 -21
  892. package/es/lbm/components/lumiplan/icons/cloud.d.ts +6 -0
  893. package/es/lbm/components/lumiplan/icons/cloud.d.ts.map +1 -0
  894. package/es/lbm/components/lumiplan/icons/cloud.js +4 -20
  895. package/es/lbm/components/lumiplan/icons/dawn.d.ts +6 -0
  896. package/es/lbm/components/lumiplan/icons/dawn.d.ts.map +1 -0
  897. package/es/lbm/components/lumiplan/icons/dawn.js +4 -19
  898. package/es/lbm/components/lumiplan/icons/fog.d.ts +6 -0
  899. package/es/lbm/components/lumiplan/icons/fog.d.ts.map +1 -0
  900. package/es/lbm/components/lumiplan/icons/fog.js +4 -23
  901. package/es/lbm/components/lumiplan/icons/heavy-snow.d.ts +6 -0
  902. package/es/lbm/components/lumiplan/icons/heavy-snow.d.ts.map +1 -0
  903. package/es/lbm/components/lumiplan/icons/heavy-snow.js +4 -32
  904. package/es/lbm/components/lumiplan/icons/information.d.ts +6 -0
  905. package/es/lbm/components/lumiplan/icons/information.d.ts.map +1 -0
  906. package/es/lbm/components/lumiplan/icons/information.js +4 -21
  907. package/es/lbm/components/lumiplan/icons/isothermal.d.ts +6 -0
  908. package/es/lbm/components/lumiplan/icons/isothermal.d.ts.map +1 -0
  909. package/es/lbm/components/lumiplan/icons/isothermal.js +4 -25
  910. package/es/lbm/components/lumiplan/icons/lifts/index.d.ts +6 -0
  911. package/es/lbm/components/lumiplan/icons/lifts/index.d.ts.map +1 -0
  912. package/es/lbm/components/lumiplan/icons/lifts/index.js +1 -1
  913. package/es/lbm/components/lumiplan/icons/lifts/tapis-roulant.d.ts +6 -0
  914. package/es/lbm/components/lumiplan/icons/lifts/tapis-roulant.d.ts.map +1 -0
  915. package/es/lbm/components/lumiplan/icons/lifts/tapis-roulant.js +4 -16
  916. package/es/lbm/components/lumiplan/icons/lifts/telecabine.d.ts +6 -0
  917. package/es/lbm/components/lumiplan/icons/lifts/telecabine.d.ts.map +1 -0
  918. package/es/lbm/components/lumiplan/icons/lifts/telecabine.js +4 -16
  919. package/es/lbm/components/lumiplan/icons/lifts/telesiege-debrayable.d.ts +6 -0
  920. package/es/lbm/components/lumiplan/icons/lifts/telesiege-debrayable.d.ts.map +1 -0
  921. package/es/lbm/components/lumiplan/icons/lifts/telesiege-debrayable.js +4 -27
  922. package/es/lbm/components/lumiplan/icons/lifts/telesiege.d.ts +6 -0
  923. package/es/lbm/components/lumiplan/icons/lifts/telesiege.d.ts.map +1 -0
  924. package/es/lbm/components/lumiplan/icons/lifts/telesiege.js +4 -16
  925. package/es/lbm/components/lumiplan/icons/lifts/teleski.d.ts +6 -0
  926. package/es/lbm/components/lumiplan/icons/lifts/teleski.d.ts.map +1 -0
  927. package/es/lbm/components/lumiplan/icons/lifts/teleski.js +4 -16
  928. package/es/lbm/components/lumiplan/icons/link.d.ts +6 -0
  929. package/es/lbm/components/lumiplan/icons/link.d.ts.map +1 -0
  930. package/es/lbm/components/lumiplan/icons/link.js +4 -17
  931. package/es/lbm/components/lumiplan/icons/night.d.ts +6 -0
  932. package/es/lbm/components/lumiplan/icons/night.d.ts.map +1 -0
  933. package/es/lbm/components/lumiplan/icons/night.js +4 -14
  934. package/es/lbm/components/lumiplan/icons/rain.d.ts +6 -0
  935. package/es/lbm/components/lumiplan/icons/rain.d.ts.map +1 -0
  936. package/es/lbm/components/lumiplan/icons/rain.js +4 -24
  937. package/es/lbm/components/lumiplan/icons/rainy-rainy.d.ts +6 -0
  938. package/es/lbm/components/lumiplan/icons/rainy-rainy.d.ts.map +1 -0
  939. package/es/lbm/components/lumiplan/icons/rainy-rainy.js +4 -20
  940. package/es/lbm/components/lumiplan/icons/rainy.d.ts +6 -0
  941. package/es/lbm/components/lumiplan/icons/rainy.d.ts.map +1 -0
  942. package/es/lbm/components/lumiplan/icons/rainy.js +4 -20
  943. package/es/lbm/components/lumiplan/icons/reload.d.ts +6 -0
  944. package/es/lbm/components/lumiplan/icons/reload.d.ts.map +1 -0
  945. package/es/lbm/components/lumiplan/icons/reload.js +4 -30
  946. package/es/lbm/components/lumiplan/icons/road-condition.d.ts +7 -0
  947. package/es/lbm/components/lumiplan/icons/road-condition.d.ts.map +1 -0
  948. package/es/lbm/components/lumiplan/icons/road-condition.js +4 -28
  949. package/es/lbm/components/lumiplan/icons/slopes.d.ts +6 -0
  950. package/es/lbm/components/lumiplan/icons/slopes.d.ts.map +1 -0
  951. package/es/lbm/components/lumiplan/icons/slopes.js +4 -14
  952. package/es/lbm/components/lumiplan/icons/snow-cover.d.ts +7 -0
  953. package/es/lbm/components/lumiplan/icons/snow-cover.d.ts.map +1 -0
  954. package/es/lbm/components/lumiplan/icons/snow-cover.js +4 -16
  955. package/es/lbm/components/lumiplan/icons/snow.d.ts +6 -0
  956. package/es/lbm/components/lumiplan/icons/snow.d.ts.map +1 -0
  957. package/es/lbm/components/lumiplan/icons/snow.js +4 -26
  958. package/es/lbm/components/lumiplan/icons/storm.d.ts +6 -0
  959. package/es/lbm/components/lumiplan/icons/storm.d.ts.map +1 -0
  960. package/es/lbm/components/lumiplan/icons/storm.js +4 -15
  961. package/es/lbm/components/lumiplan/icons/sun.d.ts +6 -0
  962. package/es/lbm/components/lumiplan/icons/sun.d.ts.map +1 -0
  963. package/es/lbm/components/lumiplan/icons/sun.js +4 -16
  964. package/es/lbm/components/lumiplan/icons/sunny.d.ts +6 -0
  965. package/es/lbm/components/lumiplan/icons/sunny.d.ts.map +1 -0
  966. package/es/lbm/components/lumiplan/icons/sunny.js +4 -23
  967. package/es/lbm/components/lumiplan/icons/time.d.ts +6 -0
  968. package/es/lbm/components/lumiplan/icons/time.d.ts.map +1 -0
  969. package/es/lbm/components/lumiplan/icons/time.js +4 -21
  970. package/es/lbm/components/lumiplan/icons/trails/accrobranche.d.ts +5 -0
  971. package/es/lbm/components/lumiplan/icons/trails/accrobranche.d.ts.map +1 -0
  972. package/es/lbm/components/lumiplan/icons/trails/accrobranche.js +4 -17
  973. package/es/lbm/components/lumiplan/icons/trails/boarder-cross.d.ts +5 -0
  974. package/es/lbm/components/lumiplan/icons/trails/boarder-cross.d.ts.map +1 -0
  975. package/es/lbm/components/lumiplan/icons/trails/boarder-cross.js +4 -21
  976. package/es/lbm/components/lumiplan/icons/trails/champ-de-bosse.d.ts +5 -0
  977. package/es/lbm/components/lumiplan/icons/trails/champ-de-bosse.d.ts.map +1 -0
  978. package/es/lbm/components/lumiplan/icons/trails/champ-de-bosse.js +4 -19
  979. package/es/lbm/components/lumiplan/icons/trails/freeride.d.ts +5 -0
  980. package/es/lbm/components/lumiplan/icons/trails/freeride.d.ts.map +1 -0
  981. package/es/lbm/components/lumiplan/icons/trails/freeride.js +4 -16
  982. package/es/lbm/components/lumiplan/icons/trails/index.d.ts +17 -0
  983. package/es/lbm/components/lumiplan/icons/trails/index.d.ts.map +1 -0
  984. package/es/lbm/components/lumiplan/icons/trails/index.js +1 -1
  985. package/es/lbm/components/lumiplan/icons/trails/luge-sur-rail.d.ts +5 -0
  986. package/es/lbm/components/lumiplan/icons/trails/luge-sur-rail.d.ts.map +1 -0
  987. package/es/lbm/components/lumiplan/icons/trails/luge-sur-rail.js +4 -19
  988. package/es/lbm/components/lumiplan/icons/trails/luge.d.ts +5 -0
  989. package/es/lbm/components/lumiplan/icons/trails/luge.d.ts.map +1 -0
  990. package/es/lbm/components/lumiplan/icons/trails/luge.js +4 -16
  991. package/es/lbm/components/lumiplan/icons/trails/pieton.d.ts +5 -0
  992. package/es/lbm/components/lumiplan/icons/trails/pieton.d.ts.map +1 -0
  993. package/es/lbm/components/lumiplan/icons/trails/pieton.js +4 -16
  994. package/es/lbm/components/lumiplan/icons/trails/piste-eclairee.d.ts +5 -0
  995. package/es/lbm/components/lumiplan/icons/trails/piste-eclairee.d.ts.map +1 -0
  996. package/es/lbm/components/lumiplan/icons/trails/piste-eclairee.js +4 -19
  997. package/es/lbm/components/lumiplan/icons/trails/raquette.d.ts +5 -0
  998. package/es/lbm/components/lumiplan/icons/trails/raquette.d.ts.map +1 -0
  999. package/es/lbm/components/lumiplan/icons/trails/raquette.js +4 -65
  1000. package/es/lbm/components/lumiplan/icons/trails/ski-alpin.d.ts +5 -0
  1001. package/es/lbm/components/lumiplan/icons/trails/ski-alpin.d.ts.map +1 -0
  1002. package/es/lbm/components/lumiplan/icons/trails/ski-alpin.js +4 -16
  1003. package/es/lbm/components/lumiplan/icons/trails/ski-fond.d.ts +5 -0
  1004. package/es/lbm/components/lumiplan/icons/trails/ski-fond.d.ts.map +1 -0
  1005. package/es/lbm/components/lumiplan/icons/trails/ski-fond.js +4 -16
  1006. package/es/lbm/components/lumiplan/icons/trails/snowpark.d.ts +5 -0
  1007. package/es/lbm/components/lumiplan/icons/trails/snowpark.d.ts.map +1 -0
  1008. package/es/lbm/components/lumiplan/icons/trails/snowpark.js +4 -16
  1009. package/es/lbm/components/lumiplan/icons/trails/snowtubing.d.ts +5 -0
  1010. package/es/lbm/components/lumiplan/icons/trails/snowtubing.d.ts.map +1 -0
  1011. package/es/lbm/components/lumiplan/icons/trails/snowtubing.js +4 -23
  1012. package/es/lbm/components/lumiplan/icons/trails/tyrolienne.d.ts +5 -0
  1013. package/es/lbm/components/lumiplan/icons/trails/tyrolienne.d.ts.map +1 -0
  1014. package/es/lbm/components/lumiplan/icons/trails/tyrolienne.js +4 -16
  1015. package/es/lbm/components/lumiplan/icons/trails/vtt.d.ts +5 -0
  1016. package/es/lbm/components/lumiplan/icons/trails/vtt.d.ts.map +1 -0
  1017. package/es/lbm/components/lumiplan/icons/trails/vtt.js +4 -19
  1018. package/es/lbm/components/lumiplan/icons/trails/zone-freeride.d.ts +5 -0
  1019. package/es/lbm/components/lumiplan/icons/trails/zone-freeride.d.ts.map +1 -0
  1020. package/es/lbm/components/lumiplan/icons/trails/zone-freeride.js +4 -16
  1021. package/es/lbm/components/lumiplan/icons/variable-snow.d.ts +6 -0
  1022. package/es/lbm/components/lumiplan/icons/variable-snow.d.ts.map +1 -0
  1023. package/es/lbm/components/lumiplan/icons/variable-snow.js +4 -29
  1024. package/es/lbm/components/lumiplan/icons/variable-storm.d.ts +6 -0
  1025. package/es/lbm/components/lumiplan/icons/variable-storm.d.ts.map +1 -0
  1026. package/es/lbm/components/lumiplan/icons/variable-storm.js +4 -22
  1027. package/es/lbm/components/lumiplan/icons/variable.d.ts +6 -0
  1028. package/es/lbm/components/lumiplan/icons/variable.d.ts.map +1 -0
  1029. package/es/lbm/components/lumiplan/icons/variable.js +4 -20
  1030. package/es/lbm/components/lumiplan/icons/warning.d.ts +6 -0
  1031. package/es/lbm/components/lumiplan/icons/warning.d.ts.map +1 -0
  1032. package/es/lbm/components/lumiplan/icons/warning.js +4 -21
  1033. package/es/lbm/components/lumiplan/icons/wind.d.ts +7 -0
  1034. package/es/lbm/components/lumiplan/icons/wind.d.ts.map +1 -0
  1035. package/es/lbm/components/lumiplan/icons/wind.js +12 -26
  1036. package/es/lbm/components/lumiplan/index.d.ts +3 -0
  1037. package/es/lbm/components/lumiplan/index.d.ts.map +1 -0
  1038. package/es/lbm/components/lumiplan/index.js +1 -1
  1039. package/es/lbm/components/lumiplan/lumiplan.d.ts +2 -0
  1040. package/es/lbm/components/lumiplan/lumiplan.d.ts.map +1 -0
  1041. package/es/lbm/components/lumiplan/lumiplan.js +138 -167
  1042. package/es/lbm/components/lumiplan/opening.d.ts +9 -0
  1043. package/es/lbm/components/lumiplan/opening.d.ts.map +1 -0
  1044. package/es/lbm/components/lumiplan/opening.js +40 -131
  1045. package/es/lbm/components/lumiplan/pois.d.ts +8 -0
  1046. package/es/lbm/components/lumiplan/pois.d.ts.map +1 -0
  1047. package/es/lbm/components/lumiplan/pois.js +160 -275
  1048. package/es/lbm/components/lumiplan/print-button.d.ts +9 -0
  1049. package/es/lbm/components/lumiplan/print-button.d.ts.map +1 -0
  1050. package/es/lbm/components/lumiplan/print-button.js +11 -26
  1051. package/es/lbm/components/lumiplan/resort-selector.d.ts +12 -0
  1052. package/es/lbm/components/lumiplan/resort-selector.d.ts.map +1 -0
  1053. package/es/lbm/components/lumiplan/resort-selector.js +35 -58
  1054. package/es/lbm/components/lumiplan/road-condition.d.ts +8 -0
  1055. package/es/lbm/components/lumiplan/road-condition.d.ts.map +1 -0
  1056. package/es/lbm/components/lumiplan/road-condition.js +19 -100
  1057. package/es/lbm/components/lumiplan/signature.d.ts +7 -0
  1058. package/es/lbm/components/lumiplan/signature.d.ts.map +1 -0
  1059. package/es/lbm/components/lumiplan/signature.js +8 -21
  1060. package/es/lbm/components/lumiplan/todays-tips.d.ts +8 -0
  1061. package/es/lbm/components/lumiplan/todays-tips.d.ts.map +1 -0
  1062. package/es/lbm/components/lumiplan/todays-tips.js +16 -45
  1063. package/es/lbm/components/lumiplan/toolbar.d.ts +7 -0
  1064. package/es/lbm/components/lumiplan/toolbar.d.ts.map +1 -0
  1065. package/es/lbm/components/lumiplan/toolbar.js +4 -27
  1066. package/es/lbm/components/lumiplan/types.d.ts +292 -0
  1067. package/es/lbm/components/lumiplan/types.d.ts.map +1 -0
  1068. package/es/lbm/components/lumiplan/types.js +1 -1
  1069. package/es/lbm/components/lumiplan/weather/avalanche-risk.d.ts +4 -0
  1070. package/es/lbm/components/lumiplan/weather/avalanche-risk.d.ts.map +1 -0
  1071. package/es/lbm/components/lumiplan/weather/avalanche-risk.js +8 -33
  1072. package/es/lbm/components/lumiplan/weather/index.d.ts +3 -0
  1073. package/es/lbm/components/lumiplan/weather/index.d.ts.map +1 -0
  1074. package/es/lbm/components/lumiplan/weather/index.js +1 -1
  1075. package/es/lbm/components/lumiplan/weather/snow-data.d.ts +8 -0
  1076. package/es/lbm/components/lumiplan/weather/snow-data.d.ts.map +1 -0
  1077. package/es/lbm/components/lumiplan/weather/snow-data.js +5 -71
  1078. package/es/lbm/components/lumiplan/weather/weather-data.d.ts +9 -0
  1079. package/es/lbm/components/lumiplan/weather/weather-data.d.ts.map +1 -0
  1080. package/es/lbm/components/lumiplan/weather/weather-data.js +13 -128
  1081. package/es/lbm/components/lumiplan/weather/weather-days.d.ts +7 -0
  1082. package/es/lbm/components/lumiplan/weather/weather-days.d.ts.map +1 -0
  1083. package/es/lbm/components/lumiplan/weather/weather-days.js +47 -76
  1084. package/es/lbm/components/lumiplan/weather/weather-icon.d.ts +68 -0
  1085. package/es/lbm/components/lumiplan/weather/weather-icon.d.ts.map +1 -0
  1086. package/es/lbm/components/lumiplan/weather/weather-icon.js +20 -23
  1087. package/es/lbm/components/lumiplan/weather/weather-zones.d.ts +6 -0
  1088. package/es/lbm/components/lumiplan/weather/weather-zones.d.ts.map +1 -0
  1089. package/es/lbm/components/lumiplan/weather/weather-zones.js +41 -71
  1090. package/es/lbm/components/lumiplan/weather/weather.d.ts +8 -0
  1091. package/es/lbm/components/lumiplan/weather/weather.d.ts.map +1 -0
  1092. package/es/lbm/components/lumiplan/weather/weather.js +39 -123
  1093. package/package.json +13 -29
@@ -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 Select, { formatOptions } from "dt-design-system/es/select";
3
4
  import Input from "dt-design-system/es/input";
@@ -13,250 +14,95 @@ import * as Form from "./services/form";
13
14
  import * as API from "./services/api";
14
15
  import * as Plausible from "./services/plausible";
15
16
  import styles from "./gesco-contact-form.module.css";
16
- import { jsx as _jsx } from "react/jsx-runtime";
17
- import { jsxs as _jsxs } from "react/jsx-runtime";
18
- export default function GescoContactForm({
19
- lang = "fr",
20
- channel = "ESF",
21
- resort,
22
- merchant,
23
- categories,
24
- subject,
25
- facet = "WINTER",
26
- host = "https://admin.mon-sejour-en-montagne.com",
27
- onSubmit,
28
- messagesOverrides = {}
29
- }) {
30
- const {
31
- params,
32
- error
33
- } = useParams({
34
- lang,
35
- channel,
36
- resort,
37
- merchant,
38
- categories,
39
- host
40
- });
41
- const [submiting, setSubmiting] = React.useState(false);
42
- const [stayNeeded, setStayNeeded] = React.useState(false);
43
- const [stayMin, setStayMin] = React.useState();
44
- const [stayToMin, setStayToMin] = React.useState();
45
- const [stayFromMax, setStayFromMax] = React.useState();
46
- const [sendSuccess, setSendSuccess] = React.useState(false);
47
- const [sendError, setSendError] = React.useState(false);
48
- const [formKey, setFormKey] = React.useState(0);
49
- React.useEffect(() => {
50
- const now = new Date();
51
- setStayMin(now.toISOString().split("T")[0]);
52
- }, []);
53
- const _lang = lang === "fr" ? "fr" : "en";
54
- const needCategory = stayNeeded && params?.categories?.length !== undefined && params?.categories?.length > 1;
55
- const loading = !error && params === undefined;
56
- const defaultCategoryValue = stayNeeded && params?.categories?.[0]?.code;
57
- const messages = Messages.get(_lang, messagesOverrides);
58
- const subjectOptions = formatOptions("label", "id", params?.subjects);
59
- const categoryOptions = formatOptions("label", "code", params?.categories);
60
- const countryOptions = formatOptions("name", "code", params?.countries);
61
- const submitForm = async e => {
62
- e.preventDefault();
63
- setSubmiting(true);
64
- setSendSuccess(false);
65
- setSendError(false);
66
- const form = e.currentTarget;
67
- let values = Form.extractValues(form.elements);
68
- if (!values.category && defaultCategoryValue) {
69
- values = {
70
- ...values,
71
- category: defaultCategoryValue
72
- };
73
- }
74
- if (subject) {
75
- values = {
76
- ...values,
77
- subject
78
- };
79
- }
80
- const payload = Form.buildPayload({
81
- lang: _lang,
82
- merchant,
83
- channel,
84
- resort,
85
- facet
86
- }, values);
87
- try {
88
- const result = await API.send(host, payload);
89
- if (result.error) {
90
- throw new Error(result.error);
91
- }
92
- onSubmit?.(payload);
93
- Plausible.sendEvent(values, params);
94
- setSendSuccess(true);
95
- form.reset();
96
- setFormKey(formKey + 1);
97
- } catch (e) {
98
- console.error(e);
99
- setSendError(true);
100
- } finally {
101
- setSubmiting(false);
102
- }
103
- };
104
- const checkIfStayIsNeeded = value => {
105
- const subject = params?.subjects?.find(s => String(s.id) === value);
106
- setStayNeeded(Boolean(subject?.stay));
107
- };
108
- const hideSuccess = () => {
109
- setSendSuccess(false);
110
- };
111
- const hideError = () => {
112
- setSendError(false);
113
- };
114
- const updateStayToMin = value => {
115
- setStayToMin(value);
116
- };
117
- const updateStayFromMax = value => {
118
- setStayFromMax(value);
119
- };
120
- return _jsxs("form", {
121
- className: styles.form,
122
- onSubmit: submitForm,
123
- children: [!subject && _jsx(Select, {
124
- name: "subject",
125
- label: messages.subject,
126
- className: styles.fullWidthField,
127
- placeholder: messages.defaultSubject,
128
- options: subjectOptions,
129
- disabled: Boolean(error) || loading,
130
- onValueChange: checkIfStayIsNeeded,
131
- required: true
132
- }), _jsx(Input, {
133
- name: "firstname",
134
- type: "text",
135
- icon: "User",
136
- label: messages.firstname,
137
- pattern: ".{2,}",
138
- patternError: Messages.format(messages.lengthError, {
139
- label: messages.firstname,
140
- length: "1"
141
- }),
142
- disabled: Boolean(error) || loading,
143
- required: true
144
- }), _jsx(Input, {
145
- name: "lastname",
146
- type: "text",
147
- icon: "User",
148
- label: messages.lastname,
149
- pattern: ".{2,}",
150
- patternError: Messages.format(messages.lengthError, {
151
- label: messages.lastname,
152
- length: "1"
153
- }),
154
- disabled: Boolean(error) || loading,
155
- required: true
156
- }), _jsx(Input, {
157
- name: "email",
158
- type: "email",
159
- icon: "Mail",
160
- label: messages.email,
161
- pattern: "[^@\\s]+@[^@\\s]+\\.[^@\\s]+",
162
- patternError: messages.emailError,
163
- disabled: Boolean(error) || loading,
164
- required: true
165
- }), _jsxs("div", {
166
- className: styles.phoneGroup,
167
- children: [_jsx(PhoneCodeSelect, {
168
- messages: messages,
169
- disabled: Boolean(error) || loading
170
- }), _jsx(Input, {
171
- name: "phone",
172
- type: "phone",
173
- className: styles.phoneField,
174
- label: messages.phone,
175
- inputMode: "numeric",
176
- pattern: "[0-9 ]{9,15}$",
177
- patternError: messages.phoneError,
178
- disabled: Boolean(error) || loading,
179
- required: true
180
- })]
181
- }), _jsx(Select, {
182
- name: "country",
183
- icon: "Globe",
184
- label: messages.country,
185
- className: styles.fullWidthField,
186
- placeholder: messages.defaultCountry,
187
- options: countryOptions,
188
- disabled: Boolean(error) || loading,
189
- required: true
190
- }), needCategory && _jsx(Select, {
191
- name: "category",
192
- icon: "Plane",
193
- label: messages.category,
194
- className: styles.fullWidthField,
195
- placeholder: messages.defaultCategory,
196
- options: categoryOptions,
197
- disabled: Boolean(error) || loading,
198
- required: true
199
- }), _jsx(Input, {
200
- name: "stayFrom",
201
- className: styles.stayField,
202
- type: "date",
203
- label: messages.stayFromDate,
204
- placeholder: messages.dateFormat,
205
- onValueChange: updateStayToMin,
206
- hint: stayFromMax,
207
- min: stayMin,
208
- max: stayFromMax,
209
- disabled: Boolean(error) || loading,
210
- patternError: Messages.format(messages.mandatoryError, {
211
- label: messages.stayFrom
212
- }),
213
- required: true,
214
- extended: true
215
- }), _jsx(Input, {
216
- name: "stayTo",
217
- className: styles.stayField,
218
- type: "date",
219
- label: messages.stayToDate,
220
- placeholder: messages.dateFormat,
221
- onValueChange: updateStayFromMax,
222
- hint: stayToMin,
223
- min: stayToMin || stayMin,
224
- disabled: Boolean(error) || loading,
225
- patternError: Messages.format(messages.mandatoryError, {
226
- label: messages.stayTo
227
- }),
228
- required: true,
229
- extended: true
230
- }), _jsx(Textarea, {
231
- name: "message",
232
- className: styles.fullWidthField,
233
- label: messages.message,
234
- disabled: Boolean(error) || loading,
235
- required: true,
236
- autoSizing: true
237
- }), _jsx("div", {
238
- className: styles.send,
239
- children: _jsxs(Button, {
240
- type: "submit",
241
- disabled: Boolean(error) || loading || submiting,
242
- children: [submiting ? _jsx(Loader, {
243
- className: styles.loader
244
- }) : _jsx(Icons.Plane, {}), messages.submit]
245
- })
246
- }), sendSuccess && _jsx(Information, {
247
- className: styles.response,
248
- type: "success",
249
- close: hideSuccess,
250
- children: messages.sendSucesss
251
- }), sendError && _jsx(Information, {
252
- className: styles.response,
253
- type: "error",
254
- close: hideError,
255
- children: messages.sendError
256
- }), error && _jsx(Information, {
257
- className: styles.error,
258
- type: "warning",
259
- children: messages.parametersError
260
- })]
261
- }, formKey);
262
- }
17
+ export default function GescoContactForm({ lang = "fr", channel = "ESF", resort, merchant, categories, subject, facet = "WINTER", host = "https://admin.mon-sejour-en-montagne.com", onSubmit, messagesOverrides = {}, }) {
18
+ const { params, error } = useParams({
19
+ lang,
20
+ channel,
21
+ resort,
22
+ merchant,
23
+ categories,
24
+ host,
25
+ });
26
+ const [submiting, setSubmiting] = React.useState(false);
27
+ const [stayNeeded, setStayNeeded] = React.useState(false);
28
+ const [stayMin, setStayMin] = React.useState();
29
+ const [stayToMin, setStayToMin] = React.useState();
30
+ const [stayFromMax, setStayFromMax] = React.useState();
31
+ const [sendSuccess, setSendSuccess] = React.useState(false);
32
+ const [sendError, setSendError] = React.useState(false);
33
+ const [formKey, setFormKey] = React.useState(0);
34
+ React.useEffect(() => {
35
+ const now = new Date();
36
+ setStayMin(now.toISOString().split("T")[0]);
37
+ }, []);
38
+ const _lang = lang === "fr" ? "fr" : "en";
39
+ const needCategory = stayNeeded &&
40
+ params?.categories?.length !== undefined &&
41
+ params?.categories?.length > 1;
42
+ const loading = !error && params === undefined;
43
+ const defaultCategoryValue = stayNeeded && params?.categories?.[0]?.code;
44
+ const messages = Messages.get(_lang, messagesOverrides);
45
+ const subjectOptions = formatOptions("label", "id", params?.subjects);
46
+ const categoryOptions = formatOptions("label", "code", params?.categories);
47
+ const countryOptions = formatOptions("name", "code", params?.countries);
48
+ const submitForm = async (e) => {
49
+ e.preventDefault();
50
+ setSubmiting(true);
51
+ setSendSuccess(false);
52
+ setSendError(false);
53
+ const form = e.currentTarget;
54
+ let values = Form.extractValues(form.elements);
55
+ if (!values.category && defaultCategoryValue) {
56
+ values = { ...values, category: defaultCategoryValue };
57
+ }
58
+ if (subject) {
59
+ values = { ...values, subject };
60
+ }
61
+ const payload = Form.buildPayload({ lang: _lang, merchant, channel, resort, facet }, values);
62
+ try {
63
+ const result = await API.send(host, payload);
64
+ if (result.error) {
65
+ throw new Error(result.error);
66
+ }
67
+ onSubmit?.(payload);
68
+ Plausible.sendEvent(values, params);
69
+ setSendSuccess(true);
70
+ form.reset();
71
+ setFormKey(formKey + 1);
72
+ }
73
+ catch (e) {
74
+ console.error(e);
75
+ setSendError(true);
76
+ }
77
+ finally {
78
+ setSubmiting(false);
79
+ }
80
+ };
81
+ const checkIfStayIsNeeded = (value) => {
82
+ const subject = params?.subjects?.find((s) => String(s.id) === value);
83
+ setStayNeeded(Boolean(subject?.stay));
84
+ };
85
+ const hideSuccess = () => {
86
+ setSendSuccess(false);
87
+ };
88
+ const hideError = () => {
89
+ setSendError(false);
90
+ };
91
+ const updateStayToMin = (value) => {
92
+ setStayToMin(value);
93
+ };
94
+ const updateStayFromMax = (value) => {
95
+ setStayFromMax(value);
96
+ };
97
+ return (_jsxs("form", { className: styles.form, onSubmit: submitForm, children: [!subject && (_jsx(Select, { name: "subject", label: messages.subject, className: styles.fullWidthField, placeholder: messages.defaultSubject, options: subjectOptions, disabled: Boolean(error) || loading, onValueChange: checkIfStayIsNeeded, required: true })), _jsx(Input, { name: "firstname", type: "text", icon: "User", label: messages.firstname, pattern: ".{2,}", patternError: Messages.format(messages.lengthError, {
98
+ label: messages.firstname,
99
+ length: "1",
100
+ }), disabled: Boolean(error) || loading, required: true }), _jsx(Input, { name: "lastname", type: "text", icon: "User", label: messages.lastname, pattern: ".{2,}", patternError: Messages.format(messages.lengthError, {
101
+ label: messages.lastname,
102
+ length: "1",
103
+ }), disabled: Boolean(error) || loading, required: true }), _jsx(Input, { name: "email", type: "email", icon: "Mail", label: messages.email, pattern: "[^@\\s]+@[^@\\s]+\\.[^@\\s]+", patternError: messages.emailError, disabled: Boolean(error) || loading, required: true }), _jsxs("div", { className: styles.phoneGroup, children: [_jsx(PhoneCodeSelect, { messages: messages, disabled: Boolean(error) || loading }), _jsx(Input, { name: "phone", type: "phone", className: styles.phoneField, label: messages.phone, inputMode: "numeric", pattern: "[0-9 ]{9,15}$", patternError: messages.phoneError, disabled: Boolean(error) || loading, required: true })] }), _jsx(Select, { name: "country", icon: "Globe", label: messages.country, className: styles.fullWidthField, placeholder: messages.defaultCountry, options: countryOptions, disabled: Boolean(error) || loading, required: true }), needCategory && (_jsx(Select, { name: "category", icon: "Plane", label: messages.category, className: styles.fullWidthField, placeholder: messages.defaultCategory, options: categoryOptions, disabled: Boolean(error) || loading, required: true })), _jsx(Input, { name: "stayFrom", className: styles.stayField, type: "date", label: messages.stayFromDate, placeholder: messages.dateFormat, onValueChange: updateStayToMin, hint: stayFromMax, min: stayMin, max: stayFromMax, disabled: Boolean(error) || loading, patternError: Messages.format(messages.mandatoryError, {
104
+ label: messages.stayFrom,
105
+ }), required: true, extended: true }), _jsx(Input, { name: "stayTo", className: styles.stayField, type: "date", label: messages.stayToDate, placeholder: messages.dateFormat, onValueChange: updateStayFromMax, hint: stayToMin, min: stayToMin || stayMin, disabled: Boolean(error) || loading, patternError: Messages.format(messages.mandatoryError, {
106
+ label: messages.stayTo,
107
+ }), required: true, extended: true }), _jsx(Textarea, { name: "message", className: styles.fullWidthField, label: messages.message, disabled: Boolean(error) || loading, required: true, autoSizing: true }), _jsx("div", { className: styles.send, children: _jsxs(Button, { type: "submit", disabled: Boolean(error) || loading || submiting, children: [submiting ? _jsx(Loader, { className: styles.loader }) : _jsx(Icons.Plane, {}), messages.submit] }) }), sendSuccess && (_jsx(Information, { className: styles.response, type: "success", close: hideSuccess, children: messages.sendSucesss })), sendError && (_jsx(Information, { className: styles.response, type: "error", close: hideError, children: messages.sendError })), error && (_jsx(Information, { className: styles.error, type: "warning", children: messages.parametersError }))] }, formKey));
108
+ }
@@ -0,0 +1,15 @@
1
+ import type { Params } from "../types";
2
+ type Arguments = {
3
+ lang: string;
4
+ channel: string;
5
+ resort?: number;
6
+ merchant?: string;
7
+ categories?: string[];
8
+ host: string;
9
+ };
10
+ export default function useParams(args: Arguments): {
11
+ params: Params;
12
+ error: string;
13
+ };
14
+ export {};
15
+ //# sourceMappingURL=use-params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-params.d.ts","sourceRoot":"","sources":["../../../../../src/common/components/gesco-contact-form/hooks/use-params.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,IAAI,EAAE,SAAS;;;EAuBhD"}
@@ -1,39 +1,24 @@
1
1
  import * as React from "react";
2
2
  import * as API from "../services/api";
3
3
  export default function useParams(args) {
4
- const [params, setParams] = React.useState();
5
- const [error, setError] = React.useState();
6
- const {
7
- lang,
8
- resort,
9
- merchant,
10
- channel,
11
- categories,
12
- host
13
- } = args;
14
- React.useEffect(() => {
15
- const runEffect = async () => {
16
- try {
17
- const payload = {
18
- lang,
19
- channel,
20
- resort,
21
- merchant,
22
- categories
4
+ const [params, setParams] = React.useState();
5
+ const [error, setError] = React.useState();
6
+ const { lang, resort, merchant, channel, categories, host } = args;
7
+ React.useEffect(() => {
8
+ const runEffect = async () => {
9
+ try {
10
+ const payload = { lang, channel, resort, merchant, categories };
11
+ const result = await API.getParams(host, payload);
12
+ if (!result || result.error) {
13
+ throw new Error(result.error);
14
+ }
15
+ setParams(result);
16
+ }
17
+ catch (error) {
18
+ setError(error);
19
+ }
23
20
  };
24
- const result = await API.getParams(host, payload);
25
- if (!result || result.error) {
26
- throw new Error(result.error);
27
- }
28
- setParams(result);
29
- } catch (error) {
30
- setError(error);
31
- }
32
- };
33
- runEffect();
34
- }, [categories, channel, host, lang, merchant, resort]);
35
- return {
36
- params,
37
- error
38
- };
39
- }
21
+ runEffect();
22
+ }, [categories, channel, host, lang, merchant, resort]);
23
+ return { params, error };
24
+ }
@@ -0,0 +1,3 @@
1
+ import GescoContactForm from "./gesco-contact-form";
2
+ export default GescoContactForm;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/components/gesco-contact-form/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,sBAAsB,CAAC;AAEpD,eAAe,gBAAgB,CAAC"}
@@ -1,2 +1,2 @@
1
1
  import GescoContactForm from "./gesco-contact-form";
2
- export default GescoContactForm;
2
+ export default GescoContactForm;
@@ -0,0 +1,7 @@
1
+ type Props = {
2
+ messages: Record<string, string>;
3
+ disabled?: boolean;
4
+ };
5
+ export default function PhoneCodeSelect({ messages, disabled }: Props): import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=phone-code-select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phone-code-select.d.ts","sourceRoot":"","sources":["../../../../src/common/components/gesco-contact-form/phone-code-select.tsx"],"names":[],"mappings":"AAMA,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AA0BF,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,KAAK,2CAgEpE"}
@@ -1,81 +1,61 @@
1
- import * as React from "react";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import Select from "dt-design-system/es/custom-select";
3
3
  import * as Flags from "dt-design-system/es/flags";
4
4
  import prefixes from "./data/phone-prefixes.json";
5
5
  import styles from "./phone-code-select.module.css";
6
- import { jsx as _jsx } from "react/jsx-runtime";
7
- import { jsxs as _jsxs } from "react/jsx-runtime";
8
- const HIGHLIGHTED_COUNTRIES = ["France", "United Kingdom", "Belgium", "Netherlands", "Switzerland", "United States", "Luxembourg", "Ireland", "Spain", "Brazil", "Germany", "Italy", "Portugal", "Australia"];
6
+ const HIGHLIGHTED_COUNTRIES = [
7
+ "France",
8
+ "United Kingdom",
9
+ "Belgium",
10
+ "Netherlands",
11
+ "Switzerland",
12
+ "United States",
13
+ "Luxembourg",
14
+ "Ireland",
15
+ "Spain",
16
+ "Brazil",
17
+ "Germany",
18
+ "Italy",
19
+ "Portugal",
20
+ "Australia",
21
+ ];
9
22
  const FIRST_PREFIX = prefixes[0];
10
- export default function PhoneCodeSelect({
11
- messages,
12
- disabled
13
- }) {
14
- const defaultValue = `${FIRST_PREFIX.country}|${FIRST_PREFIX.code}`;
15
- const deduppedPrefixes = prefixes.reduce((acc, prefix) => {
16
- const {
17
- code
18
- } = prefix;
19
- const splitted = code.split(", ").map(splitted => ({
20
- ...prefix,
21
- code: splitted
22
- }));
23
- return [...acc, ...splitted];
24
- }, []).sort((a, b) => {
25
- if (HIGHLIGHTED_COUNTRIES.includes(a.country) || HIGHLIGHTED_COUNTRIES.includes(b.country)) {
26
- return 0;
27
- }
28
- return a.code.localeCompare(b.code);
29
- });
30
- const bareOptions = deduppedPrefixes.map(({
31
- country,
32
- code,
33
- iso
34
- }) => {
35
- const Icon = Flags[iso.toLowerCase()] || "svg";
36
- return {
37
- label: _jsxs("span", {
38
- className: styles.option,
39
- children: [_jsx(Icon, {
40
- className: styles.icon
41
- }), _jsxs("span", {
42
- className: styles.code,
43
- children: ["+", code]
44
- })]
45
- }),
46
- value: `${country}|${code}`,
47
- kind: "item"
48
- };
49
- });
50
- const separator = {
51
- kind: "separator"
52
- };
53
- const {
54
- highlighted,
55
- others
56
- } = bareOptions.reduce((acc, option) => {
57
- const {
58
- value
59
- } = option;
60
- const [country] = value.split("|");
61
- const isHighlighted = HIGHLIGHTED_COUNTRIES.includes(country);
62
- const key = isHighlighted ? "highlighted" : "others";
63
- return {
64
- ...acc,
65
- [key]: [...acc[key], option]
66
- };
67
- }, {
68
- highlighted: [],
69
- others: []
70
- });
71
- const options = [...highlighted, separator, ...others];
72
- return _jsx(Select, {
73
- name: "phoneCode",
74
- className: styles.select,
75
- label: messages.phoneCode,
76
- options: options,
77
- defaultValue: defaultValue,
78
- disabled: disabled,
79
- required: true
80
- });
81
- }
23
+ export default function PhoneCodeSelect({ messages, disabled }) {
24
+ const defaultValue = `${FIRST_PREFIX.country}|${FIRST_PREFIX.code}`;
25
+ const deduppedPrefixes = prefixes
26
+ .reduce((acc, prefix) => {
27
+ const { code } = prefix;
28
+ const splitted = code
29
+ .split(", ")
30
+ .map((splitted) => ({ ...prefix, code: splitted }));
31
+ return [...acc, ...splitted];
32
+ }, [])
33
+ .sort((a, b) => {
34
+ if (HIGHLIGHTED_COUNTRIES.includes(a.country) ||
35
+ HIGHLIGHTED_COUNTRIES.includes(b.country)) {
36
+ return 0;
37
+ }
38
+ return a.code.localeCompare(b.code);
39
+ });
40
+ const bareOptions = deduppedPrefixes.map(({ country, code, iso }) => {
41
+ const Icon = Flags[iso.toLowerCase()] || "svg";
42
+ return {
43
+ label: (_jsxs("span", { className: styles.option, children: [_jsx(Icon, { className: styles.icon }), _jsxs("span", { className: styles.code, children: ["+", code] })] })),
44
+ value: `${country}|${code}`,
45
+ kind: "item",
46
+ };
47
+ });
48
+ const separator = { kind: "separator" };
49
+ const { highlighted, others } = bareOptions.reduce((acc, option) => {
50
+ const { value } = option;
51
+ const [country] = value.split("|");
52
+ const isHighlighted = HIGHLIGHTED_COUNTRIES.includes(country);
53
+ const key = isHighlighted ? "highlighted" : "others";
54
+ return {
55
+ ...acc,
56
+ [key]: [...acc[key], option],
57
+ };
58
+ }, { highlighted: [], others: [] });
59
+ const options = [...highlighted, separator, ...others];
60
+ return (_jsx(Select, { name: "phoneCode", className: styles.select, label: messages.phoneCode, options: options, defaultValue: defaultValue, disabled: disabled, required: true }));
61
+ }
@@ -0,0 +1,30 @@
1
+ type ParamsPayload = {
2
+ lang: string;
3
+ channel: string;
4
+ resort?: number;
5
+ merchant?: string;
6
+ categories?: string[];
7
+ };
8
+ export declare function getParams(host: string, payload: ParamsPayload): Promise<any>;
9
+ type SendPayload = {
10
+ lang: "fr" | "en";
11
+ channel: string;
12
+ resort?: number;
13
+ merchant?: string;
14
+ facet: "WINTER" | "SUMMER";
15
+ subject: string;
16
+ firstname: string;
17
+ lastname: string;
18
+ email: string;
19
+ phone: string;
20
+ country: string;
21
+ category?: string;
22
+ stayFrom: string;
23
+ stayTo: string;
24
+ message: string;
25
+ userAgent?: string;
26
+ language?: string;
27
+ };
28
+ export declare function send(host: string, payload: SendPayload): Promise<any>;
29
+ export {};
30
+ //# sourceMappingURL=api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../src/common/components/gesco-contact-form/services/api.ts"],"names":[],"mappings":"AAGA,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC;AAEF,wBAAsB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,gBAInE;AAED,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,wBAAsB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,gBAI5D"}
@@ -1,11 +1,11 @@
1
1
  import * as Fetcher from "../../../utils/fetcher";
2
2
  export async function getParams(host, payload) {
3
- const endpoint = `${host}/api/gesco/contact/parameters`;
4
- const result = await Fetcher.post(endpoint, payload);
5
- return result;
3
+ const endpoint = `${host}/api/gesco/contact/parameters`;
4
+ const result = await Fetcher.post(endpoint, payload);
5
+ return result;
6
6
  }
7
7
  export async function send(host, payload) {
8
- const endpoint = `${host}/api/gesco/contact/send`;
9
- const result = await Fetcher.post(endpoint, payload);
10
- return result;
11
- }
8
+ const endpoint = `${host}/api/gesco/contact/send`;
9
+ const result = await Fetcher.post(endpoint, payload);
10
+ return result;
11
+ }