ublo-lib 1.31.44 → 1.32.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1047) hide show
  1. package/es/common/components/admin-links/admin-links.d.ts +2 -2
  2. package/es/common/components/admin-links/admin-links.d.ts.map +1 -0
  3. package/es/common/components/admin-links/admin-links.js +59 -0
  4. package/es/common/components/admin-links/index.d.ts +1 -0
  5. package/es/common/components/admin-links/index.d.ts.map +1 -0
  6. package/es/common/components/analytics.d.ts +1 -0
  7. package/es/common/components/analytics.d.ts.map +1 -0
  8. package/es/common/components/analytics.js +3 -12
  9. package/es/common/components/breadcrumb.d.ts +2 -2
  10. package/es/common/components/breadcrumb.d.ts.map +1 -0
  11. package/es/common/components/{breadcrumb.jsx → breadcrumb.js} +6 -11
  12. package/es/common/components/carousel-zone.d.ts +2 -2
  13. package/es/common/components/carousel-zone.d.ts.map +1 -0
  14. package/es/common/components/carousel-zone.js +5 -26
  15. package/es/common/components/carousel.d.ts +2 -1
  16. package/es/common/components/carousel.d.ts.map +1 -0
  17. package/es/common/components/carousel.js +15 -32
  18. package/es/common/components/cart-preview/api.d.ts +1 -0
  19. package/es/common/components/cart-preview/api.d.ts.map +1 -0
  20. package/es/common/components/cart-preview/api.js +3 -12
  21. package/es/common/components/cart-preview/cart-pill.d.ts +2 -2
  22. package/es/common/components/cart-preview/cart-pill.d.ts.map +1 -0
  23. package/es/common/components/cart-preview/cart-pill.js +2 -1
  24. package/es/common/components/cart-preview/cart-preview.d.ts +2 -2
  25. package/es/common/components/cart-preview/cart-preview.d.ts.map +1 -0
  26. package/es/common/components/cart-preview/cart-preview.js +14 -46
  27. package/es/common/components/cart-preview/index.d.ts +1 -0
  28. package/es/common/components/cart-preview/index.d.ts.map +1 -0
  29. package/es/common/components/cart-preview/utils.d.ts +1 -0
  30. package/es/common/components/cart-preview/utils.d.ts.map +1 -0
  31. package/es/common/components/collapsible/collapsible.d.ts +2 -1
  32. package/es/common/components/collapsible/collapsible.d.ts.map +1 -0
  33. package/es/common/components/collapsible/{collapsible.jsx → collapsible.js} +4 -10
  34. package/es/common/components/collapsible/index.d.ts +1 -0
  35. package/es/common/components/collapsible/index.d.ts.map +1 -0
  36. package/es/common/components/cookie-consent/cookie-consent.d.ts +1 -0
  37. package/es/common/components/cookie-consent/cookie-consent.d.ts.map +1 -0
  38. package/es/common/components/cookie-consent/cookie-consent.js +7 -39
  39. package/es/common/components/cookie-consent/index.d.ts +1 -0
  40. package/es/common/components/cookie-consent/index.d.ts.map +1 -0
  41. package/es/common/components/cookie-consent/messages.d.ts +1 -0
  42. package/es/common/components/cookie-consent/messages.d.ts.map +1 -0
  43. package/es/common/components/cookie-consent/utils.d.ts +1 -0
  44. package/es/common/components/cookie-consent/utils.d.ts.map +1 -0
  45. package/es/common/components/cookie-consent/utils.js +18 -29
  46. package/es/common/components/cross-selling-editor/cross-selling-editor.d.ts +2 -1
  47. package/es/common/components/cross-selling-editor/cross-selling-editor.d.ts.map +1 -0
  48. package/es/common/components/cross-selling-editor/{cross-selling-editor.jsx → cross-selling-editor.js} +3 -9
  49. package/es/common/components/cross-selling-editor/editor.d.ts +2 -1
  50. package/es/common/components/cross-selling-editor/editor.d.ts.map +1 -0
  51. package/es/common/components/cross-selling-editor/{editor.jsx → editor.js} +5 -16
  52. package/es/common/components/cross-selling-editor/hooks/use-custom-offers.d.ts +1 -0
  53. package/es/common/components/cross-selling-editor/hooks/use-custom-offers.d.ts.map +1 -0
  54. package/es/common/components/cross-selling-editor/hooks/use-custom-offers.js +6 -15
  55. package/es/common/components/cross-selling-editor/hooks/use-tunnel-offers.d.ts +1 -0
  56. package/es/common/components/cross-selling-editor/hooks/use-tunnel-offers.d.ts.map +1 -0
  57. package/es/common/components/cross-selling-editor/hooks/use-tunnel-offers.js +4 -13
  58. package/es/common/components/cross-selling-editor/index.d.ts +1 -0
  59. package/es/common/components/cross-selling-editor/index.d.ts.map +1 -0
  60. package/es/common/components/cross-selling-editor/override-trigger-form.d.ts +2 -1
  61. package/es/common/components/cross-selling-editor/override-trigger-form.d.ts.map +1 -0
  62. package/es/common/components/cross-selling-editor/override-trigger-form.js +54 -0
  63. package/es/common/components/cross-selling-editor/override.d.ts +2 -1
  64. package/es/common/components/cross-selling-editor/override.d.ts.map +1 -0
  65. package/es/common/components/cross-selling-editor/{override.jsx → override.js} +25 -26
  66. package/es/common/components/cross-selling-editor/overrides-list.d.ts +2 -1
  67. package/es/common/components/cross-selling-editor/overrides-list.d.ts.map +1 -0
  68. package/es/common/components/cross-selling-editor/overrides-list.js +55 -0
  69. package/es/common/components/cross-selling-editor/rule.d.ts +2 -1
  70. package/es/common/components/cross-selling-editor/rule.d.ts.map +1 -0
  71. package/es/common/components/cross-selling-editor/rule.js +74 -0
  72. package/es/common/components/cross-selling-editor/rules.d.ts +2 -1
  73. package/es/common/components/cross-selling-editor/rules.d.ts.map +1 -0
  74. package/es/common/components/cross-selling-editor/rules.js +31 -0
  75. package/es/common/components/cross-selling-editor/services/api.d.ts +1 -0
  76. package/es/common/components/cross-selling-editor/services/api.d.ts.map +1 -0
  77. package/es/common/components/cross-selling-editor/services/api.js +10 -24
  78. package/es/common/components/cross-selling-editor/services/utils.d.ts +1 -0
  79. package/es/common/components/cross-selling-editor/services/utils.d.ts.map +1 -0
  80. package/es/common/components/cross-selling-editor/services/utils.js +34 -48
  81. package/es/common/components/cross-selling-editor/tester-tunnel-offer.d.ts +2 -2
  82. package/es/common/components/cross-selling-editor/tester-tunnel-offer.d.ts.map +1 -0
  83. package/es/common/components/cross-selling-editor/tester-tunnel-offer.js +21 -0
  84. package/es/common/components/cross-selling-editor/tester.d.ts +2 -2
  85. package/es/common/components/cross-selling-editor/tester.d.ts.map +1 -0
  86. package/es/common/components/cross-selling-editor/{tester.jsx → tester.js} +12 -53
  87. package/es/common/components/cross-selling-editor/types.d.ts +1 -0
  88. package/es/common/components/cross-selling-editor/types.d.ts.map +1 -0
  89. package/es/common/components/custom-contact-form/attachment.d.ts +2 -2
  90. package/es/common/components/custom-contact-form/attachment.d.ts.map +1 -0
  91. package/es/common/components/custom-contact-form/attachment.js +15 -37
  92. package/es/common/components/custom-contact-form/custom-contact-form.d.ts +2 -1
  93. package/es/common/components/custom-contact-form/custom-contact-form.d.ts.map +1 -0
  94. package/es/common/components/custom-contact-form/custom-contact-form.js +90 -0
  95. package/es/common/components/custom-contact-form/field.d.ts +2 -2
  96. package/es/common/components/custom-contact-form/field.d.ts.map +1 -0
  97. package/es/common/components/custom-contact-form/field.js +30 -32
  98. package/es/common/components/custom-contact-form/icons.d.ts +5 -5
  99. package/es/common/components/custom-contact-form/icons.d.ts.map +1 -0
  100. package/es/common/components/custom-contact-form/icons.js +7 -34
  101. package/es/common/components/custom-contact-form/index.d.ts +1 -0
  102. package/es/common/components/custom-contact-form/index.d.ts.map +1 -0
  103. package/es/common/components/custom-contact-form/messages.d.ts +1 -0
  104. package/es/common/components/custom-contact-form/messages.d.ts.map +1 -0
  105. package/es/common/components/custom-contact-form/utils.d.ts +1 -0
  106. package/es/common/components/custom-contact-form/utils.d.ts.map +1 -0
  107. package/es/common/components/custom-contact-form/utils.js +32 -35
  108. package/es/common/components/date-picker/calendar.d.ts +2 -2
  109. package/es/common/components/date-picker/calendar.d.ts.map +1 -0
  110. package/es/common/components/date-picker/calendar.js +13 -74
  111. package/es/common/components/date-picker/data.d.ts +1 -0
  112. package/es/common/components/date-picker/data.d.ts.map +1 -0
  113. package/es/common/components/date-picker/date-item.d.ts +2 -2
  114. package/es/common/components/date-picker/date-item.d.ts.map +1 -0
  115. package/es/common/components/date-picker/date-item.js +8 -11
  116. package/es/common/components/date-picker/date-picker.d.ts +2 -2
  117. package/es/common/components/date-picker/date-picker.d.ts.map +1 -0
  118. package/es/common/components/date-picker/date-picker.js +2 -7
  119. package/es/common/components/date-picker/helper.d.ts +2 -2
  120. package/es/common/components/date-picker/helper.d.ts.map +1 -0
  121. package/es/common/components/date-picker/helper.js +2 -19
  122. package/es/common/components/date-picker/index.d.ts +1 -0
  123. package/es/common/components/date-picker/index.d.ts.map +1 -0
  124. package/es/common/components/date-picker/messages.d.ts +1 -0
  125. package/es/common/components/date-picker/messages.d.ts.map +1 -0
  126. package/es/common/components/date-picker/month.d.ts +2 -2
  127. package/es/common/components/date-picker/month.d.ts.map +1 -0
  128. package/es/common/components/date-picker/month.js +6 -17
  129. package/es/common/components/date-picker/utils.d.ts +2 -1
  130. package/es/common/components/date-picker/utils.d.ts.map +1 -0
  131. package/es/common/components/date-picker/utils.js +2 -2
  132. package/es/common/components/editable-calendar/calendar-caption.d.ts +2 -2
  133. package/es/common/components/editable-calendar/calendar-caption.d.ts.map +1 -0
  134. package/es/common/components/editable-calendar/calendar-caption.js +37 -50
  135. package/es/common/components/editable-calendar/calendar-date.d.ts +2 -2
  136. package/es/common/components/editable-calendar/calendar-date.d.ts.map +1 -0
  137. package/es/common/components/editable-calendar/calendar-date.js +2 -5
  138. package/es/common/components/editable-calendar/calendar-editor.d.ts +2 -2
  139. package/es/common/components/editable-calendar/calendar-editor.d.ts.map +1 -0
  140. package/es/common/components/editable-calendar/calendar-editor.js +10 -21
  141. package/es/common/components/editable-calendar/calendar-header.d.ts +2 -2
  142. package/es/common/components/editable-calendar/calendar-header.d.ts.map +1 -0
  143. package/es/common/components/editable-calendar/calendar-header.js +2 -11
  144. package/es/common/components/editable-calendar/calendar.d.ts +2 -2
  145. package/es/common/components/editable-calendar/calendar.d.ts.map +1 -0
  146. package/es/common/components/editable-calendar/calendar.js +3 -20
  147. package/es/common/components/editable-calendar/data.d.ts +1 -0
  148. package/es/common/components/editable-calendar/data.d.ts.map +1 -0
  149. package/es/common/components/editable-calendar/index.d.ts +1 -0
  150. package/es/common/components/editable-calendar/index.d.ts.map +1 -0
  151. package/es/common/components/editable-calendar/index.js +2 -1
  152. package/es/common/components/editable-calendar/utils.d.ts +2 -1
  153. package/es/common/components/editable-calendar/utils.d.ts.map +1 -0
  154. package/es/common/components/editable-map/cluster.d.ts +1 -0
  155. package/es/common/components/editable-map/cluster.d.ts.map +1 -0
  156. package/es/common/components/editable-map/cluster.js +2 -3
  157. package/es/common/components/editable-map/edit-form.d.ts +2 -2
  158. package/es/common/components/editable-map/edit-form.d.ts.map +1 -0
  159. package/es/common/components/editable-map/edit-form.js +3 -24
  160. package/es/common/components/editable-map/editable-map.d.ts +2 -2
  161. package/es/common/components/editable-map/editable-map.d.ts.map +1 -0
  162. package/es/common/components/editable-map/editable-map.js +6 -22
  163. package/es/common/components/editable-map/full-screen-button.d.ts +2 -2
  164. package/es/common/components/editable-map/full-screen-button.d.ts.map +1 -0
  165. package/es/common/components/editable-map/full-screen-button.js +2 -3
  166. package/es/common/components/editable-map/helper.d.ts +2 -2
  167. package/es/common/components/editable-map/helper.d.ts.map +1 -0
  168. package/es/common/components/editable-map/helper.js +2 -21
  169. package/es/common/components/editable-map/icon-picker.d.ts +2 -2
  170. package/es/common/components/editable-map/icon-picker.d.ts.map +1 -0
  171. package/es/common/components/editable-map/icon-picker.js +10 -25
  172. package/es/common/components/editable-map/icons/esf-pralognan.d.ts +51 -51
  173. package/es/common/components/editable-map/icons/esf-pralognan.d.ts.map +1 -0
  174. package/es/common/components/editable-map/icons/esf-pralognan.js +57 -372
  175. package/es/common/components/editable-map/icons/esf.d.ts +39 -39
  176. package/es/common/components/editable-map/icons/esf.d.ts.map +1 -0
  177. package/es/common/components/editable-map/icons/esf.js +45 -265
  178. package/es/common/components/editable-map/icons/index.d.ts +1 -0
  179. package/es/common/components/editable-map/icons/index.d.ts.map +1 -0
  180. package/es/common/components/editable-map/icons/lavovelo.d.ts +5 -5
  181. package/es/common/components/editable-map/icons/lavovelo.d.ts.map +1 -0
  182. package/es/common/components/editable-map/icons/lavovelo.js +7 -42
  183. package/es/common/components/editable-map/icons/sata-huez.d.ts +29 -29
  184. package/es/common/components/editable-map/icons/sata-huez.d.ts.map +1 -0
  185. package/es/common/components/editable-map/icons/sata-huez.js +34 -169
  186. package/es/common/components/editable-map/icons/sedev-vars.d.ts +29 -29
  187. package/es/common/components/editable-map/icons/sedev-vars.d.ts.map +1 -0
  188. package/es/common/components/editable-map/icons/sedev-vars.js +34 -169
  189. package/es/common/components/editable-map/icons/viarmonia.d.ts +3 -3
  190. package/es/common/components/editable-map/icons/viarmonia.d.ts.map +1 -0
  191. package/es/common/components/editable-map/icons/viarmonia.js +5 -25
  192. package/es/common/components/editable-map/index.d.ts +1 -0
  193. package/es/common/components/editable-map/index.d.ts.map +1 -0
  194. package/es/common/components/editable-map/index.js +7 -11
  195. package/es/common/components/editable-map/map-events.d.ts +1 -0
  196. package/es/common/components/editable-map/map-events.d.ts.map +1 -0
  197. package/es/common/components/editable-map/map-events.js +2 -3
  198. package/es/common/components/editable-map/marker-list.d.ts +2 -2
  199. package/es/common/components/editable-map/marker-list.d.ts.map +1 -0
  200. package/es/common/components/editable-map/marker-list.js +27 -37
  201. package/es/common/components/editable-map/markers.d.ts +1 -0
  202. package/es/common/components/editable-map/markers.d.ts.map +1 -0
  203. package/es/common/components/editable-map/markers.js +7 -11
  204. package/es/common/components/editable-map/popup-data.d.ts +2 -2
  205. package/es/common/components/editable-map/popup-data.d.ts.map +1 -0
  206. package/es/common/components/editable-map/popup-data.js +2 -7
  207. package/es/common/components/editable-map/slopes-toggle.d.ts +2 -2
  208. package/es/common/components/editable-map/slopes-toggle.d.ts.map +1 -0
  209. package/es/common/components/editable-map/slopes-toggle.js +2 -3
  210. package/es/common/components/error-404/error-404.d.ts +2 -2
  211. package/es/common/components/error-404/error-404.d.ts.map +1 -0
  212. package/es/common/components/error-404/error-404.js +2 -11
  213. package/es/common/components/error-404/index.d.ts +1 -0
  214. package/es/common/components/error-404/index.d.ts.map +1 -0
  215. package/es/common/components/error-404/messages.d.ts +1 -0
  216. package/es/common/components/error-404/messages.d.ts.map +1 -0
  217. package/es/common/components/error-404/messages.js +1 -2
  218. package/es/common/components/faq.d.ts +2 -1
  219. package/es/common/components/faq.d.ts.map +1 -0
  220. package/es/common/components/faq.js +2 -4
  221. package/es/common/components/gesco-contact-form/gesco-contact-form.d.ts +2 -2
  222. package/es/common/components/gesco-contact-form/gesco-contact-form.d.ts.map +1 -0
  223. package/es/common/components/gesco-contact-form/gesco-contact-form.js +108 -0
  224. package/es/common/components/gesco-contact-form/hooks/use-params.d.ts +1 -0
  225. package/es/common/components/gesco-contact-form/hooks/use-params.d.ts.map +1 -0
  226. package/es/common/components/gesco-contact-form/hooks/use-params.js +3 -12
  227. package/es/common/components/gesco-contact-form/index.d.ts +1 -0
  228. package/es/common/components/gesco-contact-form/index.d.ts.map +1 -0
  229. package/es/common/components/gesco-contact-form/phone-code-select.d.ts +2 -2
  230. package/es/common/components/gesco-contact-form/phone-code-select.d.ts.map +1 -0
  231. package/es/common/components/gesco-contact-form/{phone-code-select.jsx → phone-code-select.js} +8 -8
  232. package/es/common/components/gesco-contact-form/services/api.d.ts +1 -0
  233. package/es/common/components/gesco-contact-form/services/api.d.ts.map +1 -0
  234. package/es/common/components/gesco-contact-form/services/api.js +8 -22
  235. package/es/common/components/gesco-contact-form/services/form.d.ts +1 -0
  236. package/es/common/components/gesco-contact-form/services/form.d.ts.map +1 -0
  237. package/es/common/components/gesco-contact-form/services/form.js +3 -6
  238. package/es/common/components/gesco-contact-form/services/messages.d.ts +1 -0
  239. package/es/common/components/gesco-contact-form/services/messages.d.ts.map +1 -0
  240. package/es/common/components/gesco-contact-form/services/messages.js +1 -1
  241. package/es/common/components/gesco-contact-form/services/plausible.d.ts +1 -0
  242. package/es/common/components/gesco-contact-form/services/plausible.d.ts.map +1 -0
  243. package/es/common/components/gesco-contact-form/services/plausible.js +2 -3
  244. package/es/common/components/gesco-contact-form/types.d.ts +1 -0
  245. package/es/common/components/gesco-contact-form/types.d.ts.map +1 -0
  246. package/es/common/components/info-buttons.d.ts +2 -1
  247. package/es/common/components/info-buttons.d.ts.map +1 -0
  248. package/es/common/components/info-buttons.js +7 -22
  249. package/es/common/components/information/index.d.ts +1 -0
  250. package/es/common/components/information/index.d.ts.map +1 -0
  251. package/es/common/components/information/information.d.ts +2 -2
  252. package/es/common/components/information/information.d.ts.map +1 -0
  253. package/es/common/components/information/{information.jsx → information.js} +6 -16
  254. package/es/common/components/instant-search/hooks/use-constant.d.ts +1 -0
  255. package/es/common/components/instant-search/hooks/use-constant.d.ts.map +1 -0
  256. package/es/common/components/instant-search/hooks/use-debounced-search.d.ts +1 -0
  257. package/es/common/components/instant-search/hooks/use-debounced-search.d.ts.map +1 -0
  258. package/es/common/components/instant-search/hooks/use-debounced-search.js +1 -10
  259. package/es/common/components/instant-search/hooks/use-search.d.ts +1 -0
  260. package/es/common/components/instant-search/hooks/use-search.d.ts.map +1 -0
  261. package/es/common/components/instant-search/hooks/use-search.js +2 -11
  262. package/es/common/components/instant-search/index.d.ts +1 -0
  263. package/es/common/components/instant-search/index.d.ts.map +1 -0
  264. package/es/common/components/instant-search/input.d.ts +2 -2
  265. package/es/common/components/instant-search/input.d.ts.map +1 -0
  266. package/es/common/components/instant-search/{input.jsx → input.js} +17 -25
  267. package/es/common/components/instant-search/instant-search.d.ts +2 -2
  268. package/es/common/components/instant-search/instant-search.d.ts.map +1 -0
  269. package/es/common/components/instant-search/{instant-search.jsx → instant-search.js} +3 -16
  270. package/es/common/components/instant-search/links.d.ts +2 -2
  271. package/es/common/components/instant-search/links.d.ts.map +1 -0
  272. package/es/common/components/instant-search/links.js +30 -0
  273. package/es/common/components/instant-search/no-product.d.ts +2 -2
  274. package/es/common/components/instant-search/no-product.d.ts.map +1 -0
  275. package/es/common/components/instant-search/no-product.js +4 -0
  276. package/es/common/components/instant-search/products.d.ts +2 -1
  277. package/es/common/components/instant-search/products.d.ts.map +1 -0
  278. package/es/common/components/instant-search/products.js +42 -0
  279. package/es/common/components/instant-search/results.d.ts +2 -2
  280. package/es/common/components/instant-search/results.d.ts.map +1 -0
  281. package/es/common/components/instant-search/results.js +41 -0
  282. package/es/common/components/instant-search/services/api.d.ts +1 -0
  283. package/es/common/components/instant-search/services/api.d.ts.map +1 -0
  284. package/es/common/components/instant-search/services/api.js +0 -1
  285. package/es/common/components/instant-search/services/dates.d.ts +1 -0
  286. package/es/common/components/instant-search/services/dates.d.ts.map +1 -0
  287. package/es/common/components/instant-search/services/dates.js +0 -3
  288. package/es/common/components/instant-search/services/messages.d.ts +1 -0
  289. package/es/common/components/instant-search/services/messages.d.ts.map +1 -0
  290. package/es/common/components/instant-search/services/utils.d.ts +1 -0
  291. package/es/common/components/instant-search/services/utils.d.ts.map +1 -0
  292. package/es/common/components/instant-search/services/utils.js +1 -2
  293. package/es/common/components/msem-preset-editor/components/facet-selector.d.ts +2 -2
  294. package/es/common/components/msem-preset-editor/components/facet-selector.d.ts.map +1 -0
  295. package/es/common/components/msem-preset-editor/components/{facet-selector.jsx → facet-selector.js} +7 -4
  296. package/es/common/components/msem-preset-editor/components/form.d.ts +2 -2
  297. package/es/common/components/msem-preset-editor/components/form.d.ts.map +1 -0
  298. package/es/common/components/msem-preset-editor/components/form.js +9 -0
  299. package/es/common/components/msem-preset-editor/components/stay-picker.d.ts +2 -2
  300. package/es/common/components/msem-preset-editor/components/stay-picker.d.ts.map +1 -0
  301. package/es/common/components/msem-preset-editor/components/{stay-picker.jsx → stay-picker.js} +5 -8
  302. package/es/common/components/msem-preset-editor/components/widget-list-item.d.ts +2 -1
  303. package/es/common/components/msem-preset-editor/components/widget-list-item.d.ts.map +1 -0
  304. package/es/common/components/msem-preset-editor/components/widget-list-item.js +55 -0
  305. package/es/common/components/msem-preset-editor/components/widget-list.d.ts +2 -1
  306. package/es/common/components/msem-preset-editor/components/widget-list.d.ts.map +1 -0
  307. package/es/common/components/msem-preset-editor/components/widget-list.js +34 -0
  308. package/es/common/components/msem-preset-editor/editor-dialog.d.ts +2 -1
  309. package/es/common/components/msem-preset-editor/editor-dialog.d.ts.map +1 -0
  310. package/es/common/components/msem-preset-editor/editor-dialog.js +27 -0
  311. package/es/common/components/msem-preset-editor/editors/elloha.d.ts +2 -1
  312. package/es/common/components/msem-preset-editor/editors/elloha.d.ts.map +1 -0
  313. package/es/common/components/msem-preset-editor/editors/elloha.js +79 -0
  314. package/es/common/components/msem-preset-editor/editors/index.d.ts +1 -0
  315. package/es/common/components/msem-preset-editor/editors/index.d.ts.map +1 -0
  316. package/es/common/components/msem-preset-editor/editors/lodgings.d.ts +2 -1
  317. package/es/common/components/msem-preset-editor/editors/lodgings.d.ts.map +1 -0
  318. package/es/common/components/msem-preset-editor/editors/lodgings.js +192 -0
  319. package/es/common/components/msem-preset-editor/editors/ski-passes-jb.d.ts +2 -1
  320. package/es/common/components/msem-preset-editor/editors/ski-passes-jb.d.ts.map +1 -0
  321. package/es/common/components/msem-preset-editor/editors/ski-passes-jb.js +85 -0
  322. package/es/common/components/msem-preset-editor/editors/ski-passes.d.ts +2 -1
  323. package/es/common/components/msem-preset-editor/editors/ski-passes.d.ts.map +1 -0
  324. package/es/common/components/msem-preset-editor/editors/ski-passes.js +198 -0
  325. package/es/common/components/msem-preset-editor/editors/standard-products.d.ts +2 -1
  326. package/es/common/components/msem-preset-editor/editors/standard-products.d.ts.map +1 -0
  327. package/es/common/components/msem-preset-editor/editors/{standard-products.jsx → standard-products.js} +16 -21
  328. package/es/common/components/msem-preset-editor/editors/vakario.d.ts +2 -1
  329. package/es/common/components/msem-preset-editor/editors/vakario.d.ts.map +1 -0
  330. package/es/common/components/msem-preset-editor/editors/{vakario.jsx → vakario.js} +50 -48
  331. package/es/common/components/msem-preset-editor/index.d.ts +1 -0
  332. package/es/common/components/msem-preset-editor/index.d.ts.map +1 -0
  333. package/es/common/components/msem-preset-editor/msem-preset-editor.d.ts +2 -1
  334. package/es/common/components/msem-preset-editor/msem-preset-editor.d.ts.map +1 -0
  335. package/es/common/components/msem-preset-editor/msem-preset-editor.js +161 -0
  336. package/es/common/components/msem-preset-editor/services/api.d.ts +1 -0
  337. package/es/common/components/msem-preset-editor/services/api.d.ts.map +1 -0
  338. package/es/common/components/msem-preset-editor/services/api.js +42 -79
  339. package/es/common/components/msem-preset-editor/services/offers.d.ts +1 -0
  340. package/es/common/components/msem-preset-editor/services/offers.d.ts.map +1 -0
  341. package/es/common/components/msem-preset-editor/services/offers.js +35 -57
  342. package/es/common/components/msem-preset-editor/services/preset.d.ts +1 -0
  343. package/es/common/components/msem-preset-editor/services/preset.d.ts.map +1 -0
  344. package/es/common/components/msem-preset-editor/services/preset.js +1 -1
  345. package/es/common/components/msem-preset-editor/services/url-params.d.ts +1 -0
  346. package/es/common/components/msem-preset-editor/services/url-params.d.ts.map +1 -0
  347. package/es/common/components/msem-preset-linker/components/actions.d.ts +2 -2
  348. package/es/common/components/msem-preset-linker/components/actions.d.ts.map +1 -0
  349. package/es/common/components/msem-preset-linker/components/{actions.jsx → actions.js} +7 -22
  350. package/es/common/components/msem-preset-linker/components/overlays.d.ts +2 -2
  351. package/es/common/components/msem-preset-linker/components/overlays.d.ts.map +1 -0
  352. package/es/common/components/msem-preset-linker/components/{overlays.jsx → overlays.js} +6 -13
  353. package/es/common/components/msem-preset-linker/components/resort-selector.d.ts +2 -2
  354. package/es/common/components/msem-preset-linker/components/resort-selector.d.ts.map +1 -0
  355. package/es/common/components/msem-preset-linker/components/{resort-selector.jsx → resort-selector.js} +3 -3
  356. package/es/common/components/msem-preset-linker/hooks/use-msem-presets.d.ts +1 -0
  357. package/es/common/components/msem-preset-linker/hooks/use-msem-presets.d.ts.map +1 -0
  358. package/es/common/components/msem-preset-linker/hooks/use-msem-presets.js +2 -3
  359. package/es/common/components/msem-preset-linker/index.d.ts +1 -0
  360. package/es/common/components/msem-preset-linker/index.d.ts.map +1 -0
  361. package/es/common/components/msem-preset-linker/msem-preset-linker.d.ts +2 -1
  362. package/es/common/components/msem-preset-linker/msem-preset-linker.d.ts.map +1 -0
  363. package/es/common/components/msem-preset-linker/{msem-preset-linker.jsx → msem-preset-linker.js} +11 -13
  364. package/es/common/components/msem-preset-linker/services/url-params.d.ts +1 -0
  365. package/es/common/components/msem-preset-linker/services/url-params.d.ts.map +1 -0
  366. package/es/common/components/packages-selector/index.d.ts +2 -2
  367. package/es/common/components/packages-selector/index.d.ts.map +1 -0
  368. package/es/common/components/packages-selector/index.js +13 -33
  369. package/es/common/components/plausible/hooks/use-plausible.d.ts +2 -1
  370. package/es/common/components/plausible/hooks/use-plausible.d.ts.map +1 -0
  371. package/es/common/components/plausible/hooks/use-plausible.js +6 -6
  372. package/es/common/components/plausible/index.d.ts +1 -0
  373. package/es/common/components/plausible/index.d.ts.map +1 -0
  374. package/es/common/components/plausible/plausible.d.ts +2 -2
  375. package/es/common/components/plausible/plausible.d.ts.map +1 -0
  376. package/es/{future/components/plausible/plausible.jsx → common/components/plausible/plausible.js} +2 -3
  377. package/es/common/components/plausible/services/callback.d.ts +1 -0
  378. package/es/common/components/plausible/services/callback.d.ts.map +1 -0
  379. package/es/common/components/plausible/services/callback.js +14 -20
  380. package/es/common/components/plausible/services/load.d.ts +1 -0
  381. package/es/common/components/plausible/services/load.d.ts.map +1 -0
  382. package/es/common/components/plausible/services/send-goal.d.ts +1 -0
  383. package/es/common/components/plausible/services/send-goal.d.ts.map +1 -0
  384. package/es/common/components/popup.d.ts +2 -2
  385. package/es/common/components/popup.d.ts.map +1 -0
  386. package/es/common/components/popup.js +5 -35
  387. package/es/common/components/scroll-spy.d.ts +2 -1
  388. package/es/common/components/scroll-spy.d.ts.map +1 -0
  389. package/es/common/components/{scroll-spy.jsx → scroll-spy.js} +10 -20
  390. package/es/common/components/scrolling-carousel/index.d.ts +1 -0
  391. package/es/common/components/scrolling-carousel/index.d.ts.map +1 -0
  392. package/es/common/components/scrolling-carousel/scrolling-carousel.d.ts +2 -1
  393. package/es/common/components/scrolling-carousel/scrolling-carousel.d.ts.map +1 -0
  394. package/es/common/components/scrolling-carousel/{scrolling-carousel.jsx → scrolling-carousel.js} +25 -23
  395. package/es/common/components/search-bar/hooks/use-constant.d.ts +1 -0
  396. package/es/common/components/search-bar/hooks/use-constant.d.ts.map +1 -0
  397. package/es/common/components/search-bar/hooks/use-debounced-search.d.ts +1 -0
  398. package/es/common/components/search-bar/hooks/use-debounced-search.d.ts.map +1 -0
  399. package/es/common/components/search-bar/hooks/use-debounced-search.js +1 -10
  400. package/es/common/components/search-bar/hooks/use-search.d.ts +1 -0
  401. package/es/common/components/search-bar/hooks/use-search.d.ts.map +1 -0
  402. package/es/common/components/search-bar/hooks/use-search.js +2 -11
  403. package/es/common/components/search-bar/index.d.ts +1 -0
  404. package/es/common/components/search-bar/index.d.ts.map +1 -0
  405. package/es/common/components/search-bar/messages.d.ts +1 -0
  406. package/es/common/components/search-bar/messages.d.ts.map +1 -0
  407. package/es/common/components/search-bar/search-bar.d.ts +2 -1
  408. package/es/common/components/search-bar/search-bar.d.ts.map +1 -0
  409. package/es/common/components/search-bar/search-bar.js +38 -51
  410. package/es/common/components/search-bar/utils/fetcher.d.ts +1 -0
  411. package/es/common/components/search-bar/utils/fetcher.d.ts.map +1 -0
  412. package/es/common/components/search-bar/utils/fetcher.js +3 -12
  413. package/es/common/components/search-bar/utils/keyboard-keys.d.ts +1 -0
  414. package/es/common/components/search-bar/utils/keyboard-keys.d.ts.map +1 -0
  415. package/es/common/components/search-bar/utils/params.d.ts +1 -0
  416. package/es/common/components/search-bar/utils/params.d.ts.map +1 -0
  417. package/es/common/components/tabbed-zones.d.ts +2 -2
  418. package/es/common/components/tabbed-zones.d.ts.map +1 -0
  419. package/es/common/components/tabbed-zones.js +50 -0
  420. package/es/common/components/video-player/controls.d.ts +2 -1
  421. package/es/common/components/video-player/controls.d.ts.map +1 -0
  422. package/es/common/components/video-player/controls.js +5 -39
  423. package/es/common/components/video-player/icons.d.ts +7 -7
  424. package/es/common/components/video-player/icons.d.ts.map +1 -0
  425. package/es/common/components/video-player/icons.js +8 -35
  426. package/es/common/components/video-player/index.d.ts +1 -0
  427. package/es/common/components/video-player/index.d.ts.map +1 -0
  428. package/es/common/components/video-player/utils.d.ts +1 -0
  429. package/es/common/components/video-player/utils.d.ts.map +1 -0
  430. package/es/common/components/video-player/video-player.d.ts +2 -1
  431. package/es/common/components/video-player/video-player.d.ts.map +1 -0
  432. package/es/common/components/video-player/video-player.js +3 -17
  433. package/es/common/hooks/use-account.d.ts +1 -0
  434. package/es/common/hooks/use-account.d.ts.map +1 -0
  435. package/es/common/hooks/use-account.js +8 -19
  436. package/es/common/hooks/use-faq.d.ts +1 -0
  437. package/es/common/hooks/use-faq.d.ts.map +1 -0
  438. package/es/common/hooks/use-in-view.d.ts +1 -0
  439. package/es/common/hooks/use-in-view.d.ts.map +1 -0
  440. package/es/common/hooks/use-in-view.js +1 -1
  441. package/es/common/hooks/use-injected-cms-markup.d.ts +1 -0
  442. package/es/common/hooks/use-injected-cms-markup.d.ts.map +1 -0
  443. package/es/common/hooks/use-injected-cms-markup.js +5 -14
  444. package/es/common/hooks/use-packages.d.ts +1 -0
  445. package/es/common/hooks/use-packages.d.ts.map +1 -0
  446. package/es/common/hooks/use-packages.js +5 -13
  447. package/es/common/hooks/use-scroll-direction.d.ts +1 -0
  448. package/es/common/hooks/use-scroll-direction.d.ts.map +1 -0
  449. package/es/common/hooks/use-stay.d.ts +1 -0
  450. package/es/common/hooks/use-stay.d.ts.map +1 -0
  451. package/es/common/hooks/use-sticky.d.ts +1 -0
  452. package/es/common/hooks/use-sticky.d.ts.map +1 -0
  453. package/es/common/hooks/use-tunnel.d.ts +1 -0
  454. package/es/common/hooks/use-tunnel.d.ts.map +1 -0
  455. package/es/common/hooks/use-tunnel.js +10 -22
  456. package/es/common/hooks/use-update-effect.d.ts +2 -1
  457. package/es/common/hooks/use-update-effect.d.ts.map +1 -0
  458. package/es/common/hooks/use-update-effect.js +2 -2
  459. package/es/common/hooks/use-window-sizes.d.ts +1 -0
  460. package/es/common/hooks/use-window-sizes.d.ts.map +1 -0
  461. package/es/common/hooks/use-youtube-popup.d.ts +1 -0
  462. package/es/common/hooks/use-youtube-popup.d.ts.map +1 -0
  463. package/es/common/hooks/use-youtube-popup.js +10 -12
  464. package/es/common/hooks/use-zone-sync.d.ts +1 -0
  465. package/es/common/hooks/use-zone-sync.d.ts.map +1 -0
  466. package/es/common/hooks/use-zone-sync.js +2 -4
  467. package/es/common/utils/cms.d.ts +1 -0
  468. package/es/common/utils/cms.d.ts.map +1 -0
  469. package/es/common/utils/cms.js +16 -29
  470. package/es/common/utils/cookies.d.ts +1 -0
  471. package/es/common/utils/cookies.d.ts.map +1 -0
  472. package/es/common/utils/copy.d.ts +1 -0
  473. package/es/common/utils/copy.d.ts.map +1 -0
  474. package/es/common/utils/dates.d.ts +1 -0
  475. package/es/common/utils/dates.d.ts.map +1 -0
  476. package/es/common/utils/elements.d.ts +1 -0
  477. package/es/common/utils/elements.d.ts.map +1 -0
  478. package/es/common/utils/elements.js +1 -2
  479. package/es/common/utils/events.d.ts +1 -0
  480. package/es/common/utils/events.d.ts.map +1 -0
  481. package/es/common/utils/events.js +0 -17
  482. package/es/common/utils/fetcher.d.ts +1 -0
  483. package/es/common/utils/fetcher.d.ts.map +1 -0
  484. package/es/common/utils/fetcher.js +5 -15
  485. package/es/common/utils/file-manager.d.ts +1 -0
  486. package/es/common/utils/file-manager.d.ts.map +1 -0
  487. package/es/common/utils/file-manager.js +3 -12
  488. package/es/common/utils/load-js.d.ts +1 -0
  489. package/es/common/utils/load-js.d.ts.map +1 -0
  490. package/es/common/utils/msem-widget.d.ts +2 -2
  491. package/es/common/utils/msem-widget.d.ts.map +1 -0
  492. package/es/common/utils/msem-widget.js +39 -0
  493. package/es/common/utils/scrollbar-size.d.ts +1 -0
  494. package/es/common/utils/scrollbar-size.d.ts.map +1 -0
  495. package/es/common/utils/touch-device.d.ts +1 -0
  496. package/es/common/utils/touch-device.d.ts.map +1 -0
  497. package/es/common/utils/url-parameters.d.ts +1 -0
  498. package/es/common/utils/url-parameters.d.ts.map +1 -0
  499. package/es/esf/components/account-button/account-button.d.ts +2 -2
  500. package/es/esf/components/account-button/account-button.d.ts.map +1 -0
  501. package/es/esf/components/account-button/{account-button.jsx → account-button.js} +2 -5
  502. package/es/esf/components/account-button/index.d.ts +1 -0
  503. package/es/esf/components/account-button/index.d.ts.map +1 -0
  504. package/es/esf/components/booking-form/booking-form.d.ts +2 -2
  505. package/es/esf/components/booking-form/booking-form.d.ts.map +1 -0
  506. package/es/esf/components/booking-form/booking-form.js +3 -10
  507. package/es/esf/components/booking-form/data.d.ts +1 -0
  508. package/es/esf/components/booking-form/data.d.ts.map +1 -0
  509. package/es/esf/components/booking-form/field.d.ts +2 -2
  510. package/es/esf/components/booking-form/field.d.ts.map +1 -0
  511. package/es/esf/components/booking-form/field.js +6 -5
  512. package/es/esf/components/booking-form/hooks/use-custom-fields.d.ts +1 -0
  513. package/es/esf/components/booking-form/hooks/use-custom-fields.d.ts.map +1 -0
  514. package/es/esf/components/booking-form/hooks/use-stay.d.ts +1 -0
  515. package/es/esf/components/booking-form/hooks/use-stay.d.ts.map +1 -0
  516. package/es/esf/components/booking-form/index.d.ts +1 -0
  517. package/es/esf/components/booking-form/index.d.ts.map +1 -0
  518. package/es/esf/components/booking-form/lesson.d.ts +2 -2
  519. package/es/esf/components/booking-form/lesson.d.ts.map +1 -0
  520. package/es/esf/components/booking-form/lesson.js +2 -15
  521. package/es/esf/components/booking-form/lessons.d.ts +2 -2
  522. package/es/esf/components/booking-form/lessons.d.ts.map +1 -0
  523. package/es/esf/components/booking-form/lessons.js +12 -22
  524. package/es/esf/components/booking-form/messages.d.ts +1 -0
  525. package/es/esf/components/booking-form/messages.d.ts.map +1 -0
  526. package/es/esf/components/booking-form/personal-data.d.ts +2 -2
  527. package/es/esf/components/booking-form/personal-data.d.ts.map +1 -0
  528. package/es/esf/components/booking-form/personal-data.js +3 -17
  529. package/es/esf/components/booking-form/progress-bar.d.ts +2 -2
  530. package/es/esf/components/booking-form/progress-bar.d.ts.map +1 -0
  531. package/es/esf/components/booking-form/progress-bar.js +9 -13
  532. package/es/esf/components/booking-form/steps.d.ts +2 -2
  533. package/es/esf/components/booking-form/steps.d.ts.map +1 -0
  534. package/es/esf/components/booking-form/steps.js +2 -7
  535. package/es/esf/components/booking-form/summary.d.ts +2 -2
  536. package/es/esf/components/booking-form/summary.d.ts.map +1 -0
  537. package/es/esf/components/booking-form/summary.js +42 -86
  538. package/es/esf/components/booking-form/utils.d.ts +1 -0
  539. package/es/esf/components/booking-form/utils.d.ts.map +1 -0
  540. package/es/esf/components/booking-form/utils.js +8 -17
  541. package/es/esf/components/covid-link/index.d.ts +1 -0
  542. package/es/esf/components/covid-link/index.d.ts.map +1 -0
  543. package/es/esf/components/covid-link/index.js +0 -131
  544. package/es/esf/components/covid-link/mask-icon.d.ts +2 -2
  545. package/es/esf/components/covid-link/mask-icon.d.ts.map +1 -0
  546. package/es/esf/components/covid-link/mask-icon.js +2 -4
  547. package/es/esf/components/covid-link/vax-pass-icon.d.ts +2 -2
  548. package/es/esf/components/covid-link/vax-pass-icon.d.ts.map +1 -0
  549. package/es/esf/components/covid-link/vax-pass-icon.js +2 -12
  550. package/es/esf/components/cp-form.d.ts +2 -1
  551. package/es/esf/components/cp-form.d.ts.map +1 -0
  552. package/es/esf/components/cp-form.js +5 -14
  553. package/es/esf/components/instructors-book/api.d.ts +1 -0
  554. package/es/esf/components/instructors-book/api.d.ts.map +1 -0
  555. package/es/esf/components/instructors-book/api.js +30 -41
  556. package/es/esf/components/instructors-book/book.d.ts +2 -2
  557. package/es/esf/components/instructors-book/book.d.ts.map +1 -0
  558. package/es/esf/components/instructors-book/book.js +7 -19
  559. package/es/esf/components/instructors-book/filters.d.ts +2 -2
  560. package/es/esf/components/instructors-book/filters.d.ts.map +1 -0
  561. package/es/esf/components/instructors-book/filters.js +2 -5
  562. package/es/esf/components/instructors-book/flags.d.ts +16 -16
  563. package/es/esf/components/instructors-book/flags.d.ts.map +1 -0
  564. package/es/esf/components/instructors-book/flags.js +17 -92
  565. package/es/esf/components/instructors-book/index.d.ts +1 -0
  566. package/es/esf/components/instructors-book/index.d.ts.map +1 -0
  567. package/es/esf/components/instructors-book/instructor.d.ts +2 -2
  568. package/es/esf/components/instructors-book/instructor.d.ts.map +1 -0
  569. package/es/esf/components/instructors-book/instructor.js +4 -34
  570. package/es/esf/components/instructors-book/list.d.ts +2 -2
  571. package/es/esf/components/instructors-book/list.d.ts.map +1 -0
  572. package/es/esf/components/instructors-book/list.js +5 -12
  573. package/es/esf/components/instructors-book/messages.d.ts +1 -0
  574. package/es/esf/components/instructors-book/messages.d.ts.map +1 -0
  575. package/es/esf/components/instructors-book/prefixes.d.ts +1 -0
  576. package/es/esf/components/instructors-book/prefixes.d.ts.map +1 -0
  577. package/es/esf/components/instructors-book/sheet.d.ts +2 -2
  578. package/es/esf/components/instructors-book/sheet.d.ts.map +1 -0
  579. package/es/esf/components/instructors-book/sheet.js +18 -76
  580. package/es/esf/components/instructors-book/suggestions.d.ts +2 -2
  581. package/es/esf/components/instructors-book/suggestions.d.ts.map +1 -0
  582. package/es/esf/components/instructors-book/suggestions.js +5 -23
  583. package/es/esf/components/instructors-book/utils.d.ts +1 -0
  584. package/es/esf/components/instructors-book/utils.d.ts.map +1 -0
  585. package/es/esf/components/levels/detail.d.ts +2 -2
  586. package/es/esf/components/levels/detail.d.ts.map +1 -0
  587. package/es/esf/components/levels/detail.js +2 -12
  588. package/es/esf/components/levels/index.d.ts +1 -0
  589. package/es/esf/components/levels/index.d.ts.map +1 -0
  590. package/es/esf/components/levels/levels.d.ts +2 -2
  591. package/es/esf/components/levels/levels.d.ts.map +1 -0
  592. package/es/esf/components/levels/levels.js +31 -70
  593. package/es/esf/components/loyal-customers/api.d.ts +1 -0
  594. package/es/esf/components/loyal-customers/api.d.ts.map +1 -0
  595. package/es/esf/components/loyal-customers/api.js +10 -23
  596. package/es/esf/components/loyal-customers/components/bin-icon.d.ts +2 -2
  597. package/es/esf/components/loyal-customers/components/bin-icon.d.ts.map +1 -0
  598. package/es/esf/components/loyal-customers/components/bin-icon.js +2 -8
  599. package/es/esf/components/loyal-customers/components/customer-form.d.ts +2 -2
  600. package/es/esf/components/loyal-customers/components/customer-form.d.ts.map +1 -0
  601. package/es/esf/components/loyal-customers/components/customer-form.js +11 -35
  602. package/es/esf/components/loyal-customers/components/field.d.ts +2 -2
  603. package/es/esf/components/loyal-customers/components/field.d.ts.map +1 -0
  604. package/es/esf/components/loyal-customers/components/field.js +6 -6
  605. package/es/esf/components/loyal-customers/components/row.d.ts +2 -2
  606. package/es/esf/components/loyal-customers/components/row.d.ts.map +1 -0
  607. package/es/esf/components/loyal-customers/components/row.js +2 -23
  608. package/es/esf/components/loyal-customers/components/rows.d.ts +2 -2
  609. package/es/esf/components/loyal-customers/components/rows.d.ts.map +1 -0
  610. package/es/esf/components/loyal-customers/components/rows.js +8 -12
  611. package/es/esf/components/loyal-customers/components/stay.d.ts +2 -2
  612. package/es/esf/components/loyal-customers/components/stay.d.ts.map +1 -0
  613. package/es/esf/components/loyal-customers/components/stay.js +2 -13
  614. package/es/esf/components/loyal-customers/components/student-form.d.ts +2 -2
  615. package/es/esf/components/loyal-customers/components/student-form.d.ts.map +1 -0
  616. package/es/esf/components/loyal-customers/components/student-form.js +7 -37
  617. package/es/esf/components/loyal-customers/components/voucher.d.ts +2 -2
  618. package/es/esf/components/loyal-customers/components/voucher.d.ts.map +1 -0
  619. package/es/esf/components/loyal-customers/components/voucher.js +2 -3
  620. package/es/esf/components/loyal-customers/content.d.ts +1 -0
  621. package/es/esf/components/loyal-customers/content.d.ts.map +1 -0
  622. package/es/esf/components/loyal-customers/content.js +7 -7
  623. package/es/esf/components/loyal-customers/data.d.ts +1 -0
  624. package/es/esf/components/loyal-customers/data.d.ts.map +1 -0
  625. package/es/esf/components/loyal-customers/hooks/use-stored-rows.d.ts +1 -0
  626. package/es/esf/components/loyal-customers/hooks/use-stored-rows.d.ts.map +1 -0
  627. package/es/esf/components/loyal-customers/index.d.ts +1 -0
  628. package/es/esf/components/loyal-customers/index.d.ts.map +1 -0
  629. package/es/esf/components/loyal-customers/loyal-customers.d.ts +2 -2
  630. package/es/esf/components/loyal-customers/loyal-customers.d.ts.map +1 -0
  631. package/es/esf/components/loyal-customers/loyal-customers.js +3 -18
  632. package/es/esf/components/loyal-customers/messages.d.ts +1 -0
  633. package/es/esf/components/loyal-customers/messages.d.ts.map +1 -0
  634. package/es/esf/components/loyal-customers/utils.d.ts +1 -0
  635. package/es/esf/components/loyal-customers/utils.d.ts.map +1 -0
  636. package/es/esf/components/loyal-customers/utils.js +2 -2
  637. package/es/esf/components/magic-box/booking.d.ts +2 -2
  638. package/es/esf/components/magic-box/booking.d.ts.map +1 -0
  639. package/es/esf/components/magic-box/booking.js +19 -30
  640. package/es/esf/components/magic-box/filter.d.ts +2 -2
  641. package/es/esf/components/magic-box/filter.d.ts.map +1 -0
  642. package/es/esf/components/magic-box/filter.js +3 -5
  643. package/es/esf/components/magic-box/filters.d.ts +2 -2
  644. package/es/esf/components/magic-box/filters.d.ts.map +1 -0
  645. package/es/esf/components/magic-box/filters.js +4 -5
  646. package/es/esf/components/magic-box/index.d.ts +1 -0
  647. package/es/esf/components/magic-box/index.d.ts.map +1 -0
  648. package/es/esf/components/magic-box/magic-box.d.ts +2 -1
  649. package/es/esf/components/magic-box/magic-box.d.ts.map +1 -0
  650. package/es/esf/components/magic-box/{magic-box.jsx → magic-box.js} +14 -34
  651. package/es/esf/components/magic-box/messages.d.ts +1 -0
  652. package/es/esf/components/magic-box/messages.d.ts.map +1 -0
  653. package/es/esf/components/magic-box/services/api.d.ts +1 -0
  654. package/es/esf/components/magic-box/services/api.d.ts.map +1 -0
  655. package/es/esf/components/magic-box/services/api.js +15 -29
  656. package/es/esf/components/magic-box/services/widgets.d.ts +1 -0
  657. package/es/esf/components/magic-box/services/widgets.d.ts.map +1 -0
  658. package/es/esf/components/magic-box/services/widgets.js +2 -14
  659. package/es/esf/components/parcours-esf/index.d.ts +1 -0
  660. package/es/esf/components/parcours-esf/index.d.ts.map +1 -0
  661. package/es/esf/components/parcours-esf/parcours-esf.d.ts +2 -2
  662. package/es/esf/components/parcours-esf/parcours-esf.d.ts.map +1 -0
  663. package/es/esf/components/parcours-esf/{parcours-esf.jsx → parcours-esf.js} +3 -11
  664. package/es/esf/components/period-picker/controls.d.ts +2 -2
  665. package/es/esf/components/period-picker/controls.d.ts.map +1 -0
  666. package/es/esf/components/period-picker/controls.js +2 -8
  667. package/es/esf/components/period-picker/date-display.d.ts +2 -2
  668. package/es/esf/components/period-picker/date-display.d.ts.map +1 -0
  669. package/es/esf/components/period-picker/date-display.js +5 -13
  670. package/es/esf/components/period-picker/days.d.ts +1 -0
  671. package/es/esf/components/period-picker/days.d.ts.map +1 -0
  672. package/es/esf/components/period-picker/days.js +4 -14
  673. package/es/esf/components/period-picker/extended-stay-picker.d.ts +2 -2
  674. package/es/esf/components/period-picker/extended-stay-picker.d.ts.map +1 -0
  675. package/es/esf/components/period-picker/extended-stay-picker.js +2 -11
  676. package/es/esf/components/period-picker/index.d.ts +1 -0
  677. package/es/esf/components/period-picker/index.d.ts.map +1 -0
  678. package/es/esf/components/period-picker/messages.d.ts +1 -0
  679. package/es/esf/components/period-picker/messages.d.ts.map +1 -0
  680. package/es/esf/components/period-picker/period-picker.d.ts +2 -2
  681. package/es/esf/components/period-picker/period-picker.d.ts.map +1 -0
  682. package/es/esf/components/period-picker/period-picker.js +7 -19
  683. package/es/esf/components/period-picker/popup.d.ts +1 -0
  684. package/es/esf/components/period-picker/popup.d.ts.map +1 -0
  685. package/es/esf/components/period-picker/popup.js +2 -7
  686. package/es/esf/components/period-picker/services/dates.d.ts +1 -0
  687. package/es/esf/components/period-picker/services/dates.d.ts.map +1 -0
  688. package/es/esf/components/period-picker/services/dates.js +2 -5
  689. package/es/esf/components/period-picker/services/events.d.ts +1 -0
  690. package/es/esf/components/period-picker/services/events.d.ts.map +1 -0
  691. package/es/esf/components/period-picker/services/motions.d.ts +1 -0
  692. package/es/esf/components/period-picker/services/motions.d.ts.map +1 -0
  693. package/es/esf/components/period-picker/services/sections.d.ts +1 -0
  694. package/es/esf/components/period-picker/services/sections.d.ts.map +1 -0
  695. package/es/esf/components/period-picker/services/stay.d.ts +1 -0
  696. package/es/esf/components/period-picker/services/stay.d.ts.map +1 -0
  697. package/es/esf/components/period-picker/title.d.ts +2 -2
  698. package/es/esf/components/period-picker/title.d.ts.map +1 -0
  699. package/es/esf/components/period-picker/title.js +3 -4
  700. package/es/esf/components/period-picker/warning.d.ts +2 -2
  701. package/es/esf/components/period-picker/warning.d.ts.map +1 -0
  702. package/es/esf/components/period-picker/warning.js +2 -16
  703. package/es/esf/components/period-picker/weeks.d.ts +1 -0
  704. package/es/esf/components/period-picker/weeks.d.ts.map +1 -0
  705. package/es/esf/components/period-picker/weeks.js +7 -50
  706. package/es/esf/components/reviews.d.ts +2 -2
  707. package/es/esf/components/reviews.d.ts.map +1 -0
  708. package/es/esf/components/reviews.js +5 -13
  709. package/es/esf/components/village-maps/icons.d.ts +6 -6
  710. package/es/esf/components/village-maps/icons.d.ts.map +1 -0
  711. package/es/esf/components/village-maps/icons.js +7 -32
  712. package/es/esf/components/village-maps/index.d.ts +2 -1
  713. package/es/esf/components/village-maps/index.d.ts.map +1 -0
  714. package/es/esf/components/village-maps/index.js +21 -62
  715. package/es/esf/components/village-maps/messages.d.ts +1 -0
  716. package/es/esf/components/village-maps/messages.d.ts.map +1 -0
  717. package/es/esf/components/village-maps/utils.d.ts +1 -0
  718. package/es/esf/components/village-maps/utils.d.ts.map +1 -0
  719. package/es/esf/components/village-maps/utils.js +1 -2
  720. package/es/esf/components/week-picker/index.d.ts +2 -1
  721. package/es/esf/components/week-picker/index.d.ts.map +1 -0
  722. package/es/esf/components/week-picker/index.js +5 -54
  723. package/es/esf/components/week-picker/messages.d.ts +1 -0
  724. package/es/esf/components/week-picker/messages.d.ts.map +1 -0
  725. package/es/esf/components/week-picker/utils.d.ts +1 -0
  726. package/es/esf/components/week-picker/utils.d.ts.map +1 -0
  727. package/es/esf/components/week-picker/utils.js +0 -3
  728. package/es/esf/components/week-picker/week.d.ts +2 -2
  729. package/es/esf/components/week-picker/week.d.ts.map +1 -0
  730. package/es/esf/components/week-picker/week.js +2 -11
  731. package/es/esf/components/week-picker-2/index.d.ts +2 -1
  732. package/es/esf/components/week-picker-2/index.d.ts.map +1 -0
  733. package/es/esf/components/week-picker-2/index.js +5 -56
  734. package/es/esf/components/week-picker-2/messages.d.ts +1 -0
  735. package/es/esf/components/week-picker-2/messages.d.ts.map +1 -0
  736. package/es/esf/components/week-picker-2/utils.d.ts +1 -0
  737. package/es/esf/components/week-picker-2/utils.d.ts.map +1 -0
  738. package/es/esf/components/week-picker-2/utils.js +0 -3
  739. package/es/esf/components/week-picker-2/week.d.ts +2 -2
  740. package/es/esf/components/week-picker-2/week.d.ts.map +1 -0
  741. package/es/esf/components/week-picker-2/week.js +2 -12
  742. package/es/esf/hooks/use-affiliation.d.ts +1 -0
  743. package/es/esf/hooks/use-affiliation.d.ts.map +1 -0
  744. package/es/esf/hooks/use-booking-links.d.ts +1 -0
  745. package/es/esf/hooks/use-booking-links.d.ts.map +1 -0
  746. package/es/esf/hooks/use-booking-links.js +6 -16
  747. package/es/esf/hooks/use-reviews.d.ts +1 -0
  748. package/es/esf/hooks/use-reviews.d.ts.map +1 -0
  749. package/es/esf/hooks/use-reviews.js +3 -12
  750. package/es/esf/hooks/use-season-products.d.ts +1 -0
  751. package/es/esf/hooks/use-season-products.d.ts.map +1 -0
  752. package/es/esf/hooks/use-season-products.js +3 -13
  753. package/es/future/components/msem/index.d.ts +1 -0
  754. package/es/future/components/msem/index.d.ts.map +1 -0
  755. package/es/future/components/msem/script.d.ts +2 -2
  756. package/es/future/components/msem/script.d.ts.map +1 -0
  757. package/es/future/components/msem/script.js +8 -0
  758. package/es/future/components/msem/tunnel.d.ts +1 -0
  759. package/es/future/components/msem/tunnel.d.ts.map +1 -0
  760. package/es/future/components/msem/{tunnel.jsx → tunnel.js} +9 -6
  761. package/es/future/components/msem/types.d.ts +1 -0
  762. package/es/future/components/msem/types.d.ts.map +1 -0
  763. package/es/future/components/msem/utils.d.ts +1 -0
  764. package/es/future/components/msem/utils.d.ts.map +1 -0
  765. package/es/future/components/msem/utils.js +1 -2
  766. package/es/future/components/plausible/hooks/use-plausible.d.ts +2 -1
  767. package/es/future/components/plausible/hooks/use-plausible.d.ts.map +1 -0
  768. package/es/future/components/plausible/hooks/use-plausible.js +6 -6
  769. package/es/future/components/plausible/index.d.ts +1 -0
  770. package/es/future/components/plausible/index.d.ts.map +1 -0
  771. package/es/future/components/plausible/plausible.d.ts +2 -2
  772. package/es/future/components/plausible/plausible.d.ts.map +1 -0
  773. package/es/{common/components/plausible/plausible.jsx → future/components/plausible/plausible.js} +2 -3
  774. package/es/future/components/plausible/services/callback.d.ts +1 -0
  775. package/es/future/components/plausible/services/callback.d.ts.map +1 -0
  776. package/es/future/components/plausible/services/callback.js +14 -20
  777. package/es/future/components/plausible/services/load.d.ts +1 -0
  778. package/es/future/components/plausible/services/load.d.ts.map +1 -0
  779. package/es/future/components/plausible/services/send-goal.d.ts +1 -0
  780. package/es/future/components/plausible/services/send-goal.d.ts.map +1 -0
  781. package/es/lbm/components/lumiplan/api.d.ts +1 -0
  782. package/es/lbm/components/lumiplan/api.d.ts.map +1 -0
  783. package/es/lbm/components/lumiplan/api.js +31 -57
  784. package/es/lbm/components/lumiplan/domain.d.ts +1 -0
  785. package/es/lbm/components/lumiplan/domain.d.ts.map +1 -0
  786. package/es/lbm/components/lumiplan/domain.js +34 -0
  787. package/es/lbm/components/lumiplan/header.d.ts +2 -2
  788. package/es/lbm/components/lumiplan/header.d.ts.map +1 -0
  789. package/es/lbm/components/lumiplan/{header.jsx → header.js} +2 -9
  790. package/es/lbm/components/lumiplan/i18n/translations.d.ts +2 -2
  791. package/es/lbm/components/lumiplan/i18n/translations.d.ts.map +1 -0
  792. package/es/lbm/components/lumiplan/i18n/{translations.jsx → translations.js} +2 -2
  793. package/es/lbm/components/lumiplan/icons/alert.d.ts +2 -2
  794. package/es/lbm/components/lumiplan/icons/alert.d.ts.map +1 -0
  795. package/es/lbm/components/lumiplan/icons/alert.js +2 -4
  796. package/es/lbm/components/lumiplan/icons/avalanche-risk.d.ts +2 -2
  797. package/es/lbm/components/lumiplan/icons/avalanche-risk.d.ts.map +1 -0
  798. package/es/lbm/components/lumiplan/icons/avalanche-risk.js +2 -3
  799. package/es/lbm/components/lumiplan/icons/cabin.d.ts +2 -2
  800. package/es/lbm/components/lumiplan/icons/cabin.d.ts.map +1 -0
  801. package/es/lbm/components/lumiplan/icons/cabin.js +2 -3
  802. package/es/lbm/components/lumiplan/icons/check.d.ts +2 -2
  803. package/es/lbm/components/lumiplan/icons/check.d.ts.map +1 -0
  804. package/es/lbm/components/lumiplan/icons/check.js +2 -3
  805. package/es/lbm/components/lumiplan/icons/close.d.ts +2 -2
  806. package/es/lbm/components/lumiplan/icons/close.d.ts.map +1 -0
  807. package/es/lbm/components/lumiplan/icons/close.js +2 -4
  808. package/es/lbm/components/lumiplan/icons/cloud.d.ts +2 -2
  809. package/es/lbm/components/lumiplan/icons/cloud.d.ts.map +1 -0
  810. package/es/lbm/components/lumiplan/icons/cloud.js +2 -4
  811. package/es/lbm/components/lumiplan/icons/dawn.d.ts +2 -2
  812. package/es/lbm/components/lumiplan/icons/dawn.d.ts.map +1 -0
  813. package/es/lbm/components/lumiplan/icons/dawn.js +2 -4
  814. package/es/lbm/components/lumiplan/icons/fog.d.ts +2 -2
  815. package/es/lbm/components/lumiplan/icons/fog.d.ts.map +1 -0
  816. package/es/lbm/components/lumiplan/icons/fog.js +2 -5
  817. package/es/lbm/components/lumiplan/icons/heavy-snow.d.ts +2 -2
  818. package/es/lbm/components/lumiplan/icons/heavy-snow.d.ts.map +1 -0
  819. package/es/lbm/components/lumiplan/icons/heavy-snow.js +2 -8
  820. package/es/lbm/components/lumiplan/icons/information.d.ts +2 -2
  821. package/es/lbm/components/lumiplan/icons/information.d.ts.map +1 -0
  822. package/es/lbm/components/lumiplan/icons/information.js +2 -4
  823. package/es/lbm/components/lumiplan/icons/isothermal.d.ts +2 -2
  824. package/es/lbm/components/lumiplan/icons/isothermal.d.ts.map +1 -0
  825. package/es/lbm/components/lumiplan/icons/isothermal.js +2 -8
  826. package/es/lbm/components/lumiplan/icons/lifts/index.d.ts +1 -0
  827. package/es/lbm/components/lumiplan/icons/lifts/index.d.ts.map +1 -0
  828. package/es/lbm/components/lumiplan/icons/lifts/tapis-roulant.d.ts +2 -2
  829. package/es/lbm/components/lumiplan/icons/lifts/tapis-roulant.d.ts.map +1 -0
  830. package/es/lbm/components/lumiplan/icons/lifts/tapis-roulant.js +2 -3
  831. package/es/lbm/components/lumiplan/icons/lifts/telecabine.d.ts +2 -2
  832. package/es/lbm/components/lumiplan/icons/lifts/telecabine.d.ts.map +1 -0
  833. package/es/lbm/components/lumiplan/icons/lifts/telecabine.js +2 -3
  834. package/es/lbm/components/lumiplan/icons/lifts/telesiege-debrayable.d.ts +2 -2
  835. package/es/lbm/components/lumiplan/icons/lifts/telesiege-debrayable.d.ts.map +1 -0
  836. package/es/lbm/components/lumiplan/icons/lifts/telesiege-debrayable.js +2 -6
  837. package/es/lbm/components/lumiplan/icons/lifts/telesiege.d.ts +2 -2
  838. package/es/lbm/components/lumiplan/icons/lifts/telesiege.d.ts.map +1 -0
  839. package/es/lbm/components/lumiplan/icons/lifts/telesiege.js +2 -3
  840. package/es/lbm/components/lumiplan/icons/lifts/teleski.d.ts +2 -2
  841. package/es/lbm/components/lumiplan/icons/lifts/teleski.d.ts.map +1 -0
  842. package/es/lbm/components/lumiplan/icons/lifts/teleski.js +2 -3
  843. package/es/lbm/components/lumiplan/icons/link.d.ts +2 -2
  844. package/es/lbm/components/lumiplan/icons/link.d.ts.map +1 -0
  845. package/es/lbm/components/lumiplan/icons/link.js +2 -4
  846. package/es/lbm/components/lumiplan/icons/night.d.ts +2 -2
  847. package/es/lbm/components/lumiplan/icons/night.d.ts.map +1 -0
  848. package/es/lbm/components/lumiplan/icons/night.js +2 -3
  849. package/es/lbm/components/lumiplan/icons/rain.d.ts +2 -2
  850. package/es/lbm/components/lumiplan/icons/rain.d.ts.map +1 -0
  851. package/es/lbm/components/lumiplan/icons/rain.js +2 -8
  852. package/es/lbm/components/lumiplan/icons/rainy-rainy.d.ts +2 -2
  853. package/es/lbm/components/lumiplan/icons/rainy-rainy.d.ts.map +1 -0
  854. package/es/lbm/components/lumiplan/icons/rainy-rainy.js +2 -4
  855. package/es/lbm/components/lumiplan/icons/rainy.d.ts +2 -2
  856. package/es/lbm/components/lumiplan/icons/rainy.d.ts.map +1 -0
  857. package/es/lbm/components/lumiplan/icons/rainy.js +2 -4
  858. package/es/lbm/components/lumiplan/icons/reload.d.ts +2 -2
  859. package/es/lbm/components/lumiplan/icons/reload.d.ts.map +1 -0
  860. package/es/lbm/components/lumiplan/icons/reload.js +2 -11
  861. package/es/lbm/components/lumiplan/icons/road-condition.d.ts +2 -2
  862. package/es/lbm/components/lumiplan/icons/road-condition.d.ts.map +1 -0
  863. package/es/lbm/components/lumiplan/icons/road-condition.js +2 -8
  864. package/es/lbm/components/lumiplan/icons/slopes.d.ts +2 -2
  865. package/es/lbm/components/lumiplan/icons/slopes.d.ts.map +1 -0
  866. package/es/lbm/components/lumiplan/icons/slopes.js +2 -3
  867. package/es/lbm/components/lumiplan/icons/snow-cover.d.ts +2 -2
  868. package/es/lbm/components/lumiplan/icons/snow-cover.d.ts.map +1 -0
  869. package/es/lbm/components/lumiplan/icons/snow-cover.js +2 -3
  870. package/es/lbm/components/lumiplan/icons/snow.d.ts +2 -2
  871. package/es/lbm/components/lumiplan/icons/snow.d.ts.map +1 -0
  872. package/es/lbm/components/lumiplan/icons/snow.js +2 -6
  873. package/es/lbm/components/lumiplan/icons/storm.d.ts +2 -2
  874. package/es/lbm/components/lumiplan/icons/storm.d.ts.map +1 -0
  875. package/es/lbm/components/lumiplan/icons/storm.js +2 -3
  876. package/es/lbm/components/lumiplan/icons/sun.d.ts +2 -2
  877. package/es/lbm/components/lumiplan/icons/sun.d.ts.map +1 -0
  878. package/es/lbm/components/lumiplan/icons/sun.js +2 -3
  879. package/es/lbm/components/lumiplan/icons/sunny.d.ts +2 -2
  880. package/es/lbm/components/lumiplan/icons/sunny.d.ts.map +1 -0
  881. package/es/lbm/components/lumiplan/icons/sunny.js +2 -5
  882. package/es/lbm/components/lumiplan/icons/time.d.ts +2 -2
  883. package/es/lbm/components/lumiplan/icons/time.d.ts.map +1 -0
  884. package/es/lbm/components/lumiplan/icons/time.js +2 -4
  885. package/es/lbm/components/lumiplan/icons/trails/accrobranche.d.ts +2 -2
  886. package/es/lbm/components/lumiplan/icons/trails/accrobranche.d.ts.map +1 -0
  887. package/es/lbm/components/lumiplan/icons/trails/accrobranche.js +2 -4
  888. package/es/lbm/components/lumiplan/icons/trails/boarder-cross.d.ts +2 -2
  889. package/es/lbm/components/lumiplan/icons/trails/boarder-cross.d.ts.map +1 -0
  890. package/es/lbm/components/lumiplan/icons/trails/boarder-cross.js +2 -5
  891. package/es/lbm/components/lumiplan/icons/trails/champ-de-bosse.d.ts +2 -2
  892. package/es/lbm/components/lumiplan/icons/trails/champ-de-bosse.d.ts.map +1 -0
  893. package/es/lbm/components/lumiplan/icons/trails/champ-de-bosse.js +2 -4
  894. package/es/lbm/components/lumiplan/icons/trails/freeride.d.ts +2 -2
  895. package/es/lbm/components/lumiplan/icons/trails/freeride.d.ts.map +1 -0
  896. package/es/lbm/components/lumiplan/icons/trails/freeride.js +2 -3
  897. package/es/lbm/components/lumiplan/icons/trails/index.d.ts +1 -0
  898. package/es/lbm/components/lumiplan/icons/trails/index.d.ts.map +1 -0
  899. package/es/lbm/components/lumiplan/icons/trails/luge-sur-rail.d.ts +2 -2
  900. package/es/lbm/components/lumiplan/icons/trails/luge-sur-rail.d.ts.map +1 -0
  901. package/es/lbm/components/lumiplan/icons/trails/luge-sur-rail.js +2 -4
  902. package/es/lbm/components/lumiplan/icons/trails/luge.d.ts +2 -2
  903. package/es/lbm/components/lumiplan/icons/trails/luge.d.ts.map +1 -0
  904. package/es/lbm/components/lumiplan/icons/trails/luge.js +2 -3
  905. package/es/lbm/components/lumiplan/icons/trails/pieton.d.ts +2 -2
  906. package/es/lbm/components/lumiplan/icons/trails/pieton.d.ts.map +1 -0
  907. package/es/lbm/components/lumiplan/icons/trails/pieton.js +2 -3
  908. package/es/lbm/components/lumiplan/icons/trails/piste-eclairee.d.ts +2 -2
  909. package/es/lbm/components/lumiplan/icons/trails/piste-eclairee.d.ts.map +1 -0
  910. package/es/lbm/components/lumiplan/icons/trails/piste-eclairee.js +2 -4
  911. package/es/lbm/components/lumiplan/icons/trails/raquette.d.ts +2 -2
  912. package/es/lbm/components/lumiplan/icons/trails/raquette.d.ts.map +1 -0
  913. package/es/lbm/components/lumiplan/icons/trails/raquette.js +2 -15
  914. package/es/lbm/components/lumiplan/icons/trails/ski-alpin.d.ts +2 -2
  915. package/es/lbm/components/lumiplan/icons/trails/ski-alpin.d.ts.map +1 -0
  916. package/es/lbm/components/lumiplan/icons/trails/ski-alpin.js +2 -3
  917. package/es/lbm/components/lumiplan/icons/trails/ski-fond.d.ts +2 -2
  918. package/es/lbm/components/lumiplan/icons/trails/ski-fond.d.ts.map +1 -0
  919. package/es/lbm/components/lumiplan/icons/trails/ski-fond.js +2 -3
  920. package/es/lbm/components/lumiplan/icons/trails/snowpark.d.ts +2 -2
  921. package/es/lbm/components/lumiplan/icons/trails/snowpark.d.ts.map +1 -0
  922. package/es/lbm/components/lumiplan/icons/trails/snowpark.js +2 -3
  923. package/es/lbm/components/lumiplan/icons/trails/snowtubing.d.ts +2 -2
  924. package/es/lbm/components/lumiplan/icons/trails/snowtubing.d.ts.map +1 -0
  925. package/es/lbm/components/lumiplan/icons/trails/snowtubing.js +2 -5
  926. package/es/lbm/components/lumiplan/icons/trails/tyrolienne.d.ts +2 -2
  927. package/es/lbm/components/lumiplan/icons/trails/tyrolienne.d.ts.map +1 -0
  928. package/es/lbm/components/lumiplan/icons/trails/tyrolienne.js +2 -3
  929. package/es/lbm/components/lumiplan/icons/trails/vtt.d.ts +2 -2
  930. package/es/lbm/components/lumiplan/icons/trails/vtt.d.ts.map +1 -0
  931. package/es/lbm/components/lumiplan/icons/trails/vtt.js +2 -4
  932. package/es/lbm/components/lumiplan/icons/trails/zone-freeride.d.ts +2 -2
  933. package/es/lbm/components/lumiplan/icons/trails/zone-freeride.d.ts.map +1 -0
  934. package/es/lbm/components/lumiplan/icons/trails/zone-freeride.js +2 -3
  935. package/es/lbm/components/lumiplan/icons/variable-snow.d.ts +2 -2
  936. package/es/lbm/components/lumiplan/icons/variable-snow.d.ts.map +1 -0
  937. package/es/lbm/components/lumiplan/icons/variable-snow.js +2 -7
  938. package/es/lbm/components/lumiplan/icons/variable-storm.d.ts +2 -2
  939. package/es/lbm/components/lumiplan/icons/variable-storm.d.ts.map +1 -0
  940. package/es/lbm/components/lumiplan/icons/variable-storm.js +2 -4
  941. package/es/lbm/components/lumiplan/icons/variable.d.ts +2 -2
  942. package/es/lbm/components/lumiplan/icons/variable.d.ts.map +1 -0
  943. package/es/lbm/components/lumiplan/icons/variable.js +2 -4
  944. package/es/lbm/components/lumiplan/icons/warning.d.ts +2 -2
  945. package/es/lbm/components/lumiplan/icons/warning.d.ts.map +1 -0
  946. package/es/lbm/components/lumiplan/icons/warning.js +2 -4
  947. package/es/lbm/components/lumiplan/icons/wind.d.ts +2 -2
  948. package/es/lbm/components/lumiplan/icons/wind.d.ts.map +1 -0
  949. package/es/lbm/components/lumiplan/icons/wind.js +2 -3
  950. package/es/lbm/components/lumiplan/index.d.ts +1 -0
  951. package/es/lbm/components/lumiplan/index.d.ts.map +1 -0
  952. package/es/lbm/components/lumiplan/lumiplan.d.ts +2 -2
  953. package/es/lbm/components/lumiplan/lumiplan.d.ts.map +1 -0
  954. package/es/lbm/components/lumiplan/{lumiplan.jsx → lumiplan.js} +20 -39
  955. package/es/lbm/components/lumiplan/opening.d.ts +1 -0
  956. package/es/lbm/components/lumiplan/opening.d.ts.map +1 -0
  957. package/es/lbm/components/lumiplan/opening.js +56 -0
  958. package/es/lbm/components/lumiplan/pois.d.ts +1 -0
  959. package/es/lbm/components/lumiplan/pois.d.ts.map +1 -0
  960. package/es/lbm/components/lumiplan/pois.js +184 -0
  961. package/es/lbm/components/lumiplan/print-button.d.ts +2 -2
  962. package/es/lbm/components/lumiplan/print-button.d.ts.map +1 -0
  963. package/es/lbm/components/lumiplan/print-button.js +14 -0
  964. package/es/lbm/components/lumiplan/resort-selector.d.ts +2 -2
  965. package/es/lbm/components/lumiplan/resort-selector.d.ts.map +1 -0
  966. package/es/lbm/components/lumiplan/{resort-selector.jsx → resort-selector.js} +10 -16
  967. package/es/lbm/components/lumiplan/road-condition.d.ts +1 -0
  968. package/es/lbm/components/lumiplan/road-condition.d.ts.map +1 -0
  969. package/es/lbm/components/lumiplan/road-condition.js +27 -0
  970. package/es/lbm/components/lumiplan/signature.d.ts +2 -2
  971. package/es/lbm/components/lumiplan/signature.d.ts.map +1 -0
  972. package/es/lbm/components/lumiplan/{signature.jsx → signature.js} +2 -3
  973. package/es/lbm/components/lumiplan/todays-tips.d.ts +1 -0
  974. package/es/lbm/components/lumiplan/todays-tips.d.ts.map +1 -0
  975. package/es/lbm/components/lumiplan/todays-tips.js +23 -0
  976. package/es/lbm/components/lumiplan/toolbar.d.ts +2 -2
  977. package/es/lbm/components/lumiplan/toolbar.d.ts.map +1 -0
  978. package/es/lbm/components/lumiplan/toolbar.js +8 -0
  979. package/es/lbm/components/lumiplan/types.d.ts +1 -0
  980. package/es/lbm/components/lumiplan/types.d.ts.map +1 -0
  981. package/es/lbm/components/lumiplan/weather/avalanche-risk.d.ts +2 -2
  982. package/es/lbm/components/lumiplan/weather/avalanche-risk.d.ts.map +1 -0
  983. package/es/lbm/components/lumiplan/weather/avalanche-risk.js +12 -0
  984. package/es/lbm/components/lumiplan/weather/index.d.ts +1 -0
  985. package/es/lbm/components/lumiplan/weather/index.d.ts.map +1 -0
  986. package/es/lbm/components/lumiplan/weather/snow-data.d.ts +2 -2
  987. package/es/lbm/components/lumiplan/weather/snow-data.d.ts.map +1 -0
  988. package/es/lbm/components/lumiplan/weather/snow-data.js +8 -0
  989. package/es/lbm/components/lumiplan/weather/weather-data.d.ts +2 -2
  990. package/es/lbm/components/lumiplan/weather/weather-data.d.ts.map +1 -0
  991. package/es/lbm/components/lumiplan/weather/weather-data.js +16 -0
  992. package/es/lbm/components/lumiplan/weather/weather-days.d.ts +2 -2
  993. package/es/lbm/components/lumiplan/weather/weather-days.d.ts.map +1 -0
  994. package/es/lbm/components/lumiplan/weather/weather-days.js +53 -0
  995. package/es/lbm/components/lumiplan/weather/weather-icon.d.ts +17 -17
  996. package/es/lbm/components/lumiplan/weather/weather-icon.d.ts.map +1 -0
  997. package/es/lbm/components/lumiplan/weather/{weather-icon.jsx → weather-icon.js} +2 -2
  998. package/es/lbm/components/lumiplan/weather/weather-zones.d.ts +2 -2
  999. package/es/lbm/components/lumiplan/weather/weather-zones.d.ts.map +1 -0
  1000. package/es/lbm/components/lumiplan/weather/{weather-zones.jsx → weather-zones.js} +18 -27
  1001. package/es/lbm/components/lumiplan/weather/weather.d.ts +1 -0
  1002. package/es/lbm/components/lumiplan/weather/weather.d.ts.map +1 -0
  1003. package/es/lbm/components/lumiplan/weather/weather.js +55 -0
  1004. package/package.json +20 -20
  1005. package/es/common/components/admin-links/admin-links.jsx +0 -65
  1006. package/es/common/components/cross-selling-editor/override-trigger-form.jsx +0 -68
  1007. package/es/common/components/cross-selling-editor/overrides-list.jsx +0 -74
  1008. package/es/common/components/cross-selling-editor/rule.jsx +0 -55
  1009. package/es/common/components/cross-selling-editor/rules.jsx +0 -53
  1010. package/es/common/components/cross-selling-editor/tester-tunnel-offer.jsx +0 -26
  1011. package/es/common/components/custom-contact-form/custom-contact-form.jsx +0 -121
  1012. package/es/common/components/gesco-contact-form/gesco-contact-form.jsx +0 -152
  1013. package/es/common/components/instant-search/links.jsx +0 -45
  1014. package/es/common/components/instant-search/no-product.jsx +0 -19
  1015. package/es/common/components/instant-search/products.jsx +0 -67
  1016. package/es/common/components/instant-search/results.jsx +0 -68
  1017. package/es/common/components/msem-preset-editor/components/form.jsx +0 -28
  1018. package/es/common/components/msem-preset-editor/components/widget-list-item.jsx +0 -97
  1019. package/es/common/components/msem-preset-editor/components/widget-list.jsx +0 -46
  1020. package/es/common/components/msem-preset-editor/editor-dialog.jsx +0 -45
  1021. package/es/common/components/msem-preset-editor/editors/elloha.jsx +0 -95
  1022. package/es/common/components/msem-preset-editor/editors/lodgings.jsx +0 -235
  1023. package/es/common/components/msem-preset-editor/editors/ski-passes-jb.jsx +0 -89
  1024. package/es/common/components/msem-preset-editor/editors/ski-passes.jsx +0 -215
  1025. package/es/common/components/msem-preset-editor/msem-preset-editor.jsx +0 -176
  1026. package/es/common/components/tabbed-zones.jsx +0 -68
  1027. package/es/common/utils/msem-widget.jsx +0 -49
  1028. package/es/future/components/msem/script.jsx +0 -7
  1029. package/es/lbm/components/lumiplan/domain.jsx +0 -74
  1030. package/es/lbm/components/lumiplan/opening.jsx +0 -108
  1031. package/es/lbm/components/lumiplan/pois.jsx +0 -233
  1032. package/es/lbm/components/lumiplan/print-button.jsx +0 -27
  1033. package/es/lbm/components/lumiplan/road-condition.jsx +0 -59
  1034. package/es/lbm/components/lumiplan/todays-tips.jsx +0 -28
  1035. package/es/lbm/components/lumiplan/toolbar.jsx +0 -15
  1036. package/es/lbm/components/lumiplan/weather/avalanche-risk.jsx +0 -22
  1037. package/es/lbm/components/lumiplan/weather/snow-data.jsx +0 -44
  1038. package/es/lbm/components/lumiplan/weather/weather-data.jsx +0 -85
  1039. package/es/lbm/components/lumiplan/weather/weather-days.jsx +0 -60
  1040. package/es/lbm/components/lumiplan/weather/weather.jsx +0 -80
  1041. /package/es/common/components/admin-links/{index.jsx → index.js} +0 -0
  1042. /package/es/common/components/collapsible/{index.jsx → index.js} +0 -0
  1043. /package/es/common/components/cross-selling-editor/{index.jsx → index.js} +0 -0
  1044. /package/es/common/components/instant-search/{index.jsx → index.js} +0 -0
  1045. /package/es/common/components/msem-preset-editor/editors/{index.jsx → index.js} +0 -0
  1046. /package/es/common/components/msem-preset-linker/{index.jsx → index.js} +0 -0
  1047. /package/es/common/components/scrolling-carousel/{index.jsx → index.js} +0 -0
@@ -5,3 +5,4 @@ declare function CookieConsent({ lang, consent, updateConsent }: {
5
5
  consent: any;
6
6
  updateConsent: any;
7
7
  }): import("react-dom/node_modules/@types/react").ReactPortal;
8
+ //# sourceMappingURL=cookie-consent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cookie-consent.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cookie-consent/cookie-consent.js"],"names":[],"mappings":"AAsGO,0CA6BN;;AArHD;;;;8DAsFC"}
@@ -1,12 +1,4 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
2
  import * as React from "react";
11
3
  import * as ReactDOM from "react-dom";
12
4
  import getConfig from "next/config";
@@ -34,17 +26,17 @@ const CookieConsent = ({ lang, consent, updateConsent }) => {
34
26
  }, [isEnabled, mounted, updateConsent]);
35
27
  React.useEffect(() => {
36
28
  if (mounted) {
37
- const runEffect = () => __awaiter(void 0, void 0, void 0, function* () {
29
+ const runEffect = async () => {
38
30
  if (consent && hotjar) {
39
31
  const { id, version = 6 } = hotjar;
40
- yield Utils.loadHotjar(id, version);
32
+ await Utils.loadHotjar(id, version);
41
33
  }
42
34
  else {
43
35
  const script = document.querySelector('[data-id="hotjar"]');
44
36
  if (script)
45
37
  script.remove();
46
38
  }
47
- });
39
+ };
48
40
  runEffect();
49
41
  }
50
42
  }, [consent, mounted]);
@@ -53,31 +45,9 @@ const CookieConsent = ({ lang, consent, updateConsent }) => {
53
45
  const classes = classNames(css.banner, {
54
46
  [css.opened]: consent === null,
55
47
  });
56
- return ReactDOM.createPortal(<div className={classes}>
57
- <div className={css.inner}>
58
- <div className={css.iconContainer}>
59
- <svg className={css.icon} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="24" width="24">
60
- <path d="M10.5 10q.625 0 1.062-.438Q12 9.125 12 8.5t-.438-1.062Q11.125 7 10.5 7t-1.062.438Q9 7.875 9 8.5t.438 1.062Q9.875 10 10.5 10Zm-2 5q.625 0 1.062-.438Q10 14.125 10 13.5t-.438-1.062Q9.125 12 8.5 12t-1.062.438Q7 12.875 7 13.5t.438 1.062Q7.875 15 8.5 15Zm6.5 1q.425 0 .713-.288Q16 15.425 16 15t-.287-.713Q15.425 14 15 14t-.712.287Q14 14.575 14 15t.288.712Q14.575 16 15 16Zm-3 6q-2.075 0-3.9-.788-1.825-.787-3.175-2.137-1.35-1.35-2.137-3.175Q2 14.075 2 12q0-2.025.838-3.938Q3.675 6.15 5.163 4.7 6.65 3.25 8.7 2.5q2.05-.75 4.5-.45.375.05.575.312.2.263.225.713.05 1.6 1.188 2.737Q16.325 6.95 17.9 7q.525.025.8.3.275.275.3.85.05 1.05.638 1.725.587.675 1.637 1.025.35.125.537.362.188.238.188.588.05 2.075-.725 3.925-.775 1.85-2.125 3.237-1.35 1.388-3.2 2.188-1.85.8-3.95.8Zm0-2q3.05 0 5.413-2.1 2.362-2.1 2.587-5.35-1.25-.55-1.962-1.5-.713-.95-.963-2.125-1.925-.275-3.3-1.65-1.375-1.375-1.7-3.3-2-.05-3.513.725-1.512.775-2.524 1.987Q5.025 7.9 4.513 9.325 4 10.75 4 12q0 3.325 2.338 5.663Q8.675 20 12 20Zm0-8.1Z"/>
61
- </svg>
62
- </div>
63
- <div className={css.text}>
64
- <div className={css.title}>
65
- {Messages.get(lang, isEnabled ? "cookie-consent-title" : "no-cookie-title")}
66
- </div>
67
- {isEnabled && (<div className={css.description} dangerouslySetInnerHTML={{
68
- __html: Messages.get(lang, "cookie-consent-text"),
69
- }}/>)}
70
- </div>
71
- <div className={css.buttons}>
72
- {isEnabled && (<Button className={css.button} onClick={cookieAllowed(true)}>
73
- {Messages.get(lang, "cookie-consent-agree")}
74
- </Button>)}
75
- <Button className={css.button} onClick={cookieAllowed(false)}>
76
- {Messages.get(lang, isEnabled ? "cookie-consent-revoke" : "no-cookie-button")}
77
- </Button>
78
- </div>
79
- </div>
80
- </div>, document.body);
48
+ return ReactDOM.createPortal(_jsx("div", { className: classes, children: _jsxs("div", { className: css.inner, children: [_jsx("div", { className: css.iconContainer, children: _jsx("svg", { className: css.icon, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", height: "24", width: "24", children: _jsx("path", { d: "M10.5 10q.625 0 1.062-.438Q12 9.125 12 8.5t-.438-1.062Q11.125 7 10.5 7t-1.062.438Q9 7.875 9 8.5t.438 1.062Q9.875 10 10.5 10Zm-2 5q.625 0 1.062-.438Q10 14.125 10 13.5t-.438-1.062Q9.125 12 8.5 12t-1.062.438Q7 12.875 7 13.5t.438 1.062Q7.875 15 8.5 15Zm6.5 1q.425 0 .713-.288Q16 15.425 16 15t-.287-.713Q15.425 14 15 14t-.712.287Q14 14.575 14 15t.288.712Q14.575 16 15 16Zm-3 6q-2.075 0-3.9-.788-1.825-.787-3.175-2.137-1.35-1.35-2.137-3.175Q2 14.075 2 12q0-2.025.838-3.938Q3.675 6.15 5.163 4.7 6.65 3.25 8.7 2.5q2.05-.75 4.5-.45.375.05.575.312.2.263.225.713.05 1.6 1.188 2.737Q16.325 6.95 17.9 7q.525.025.8.3.275.275.3.85.05 1.05.638 1.725.587.675 1.637 1.025.35.125.537.362.188.238.188.588.05 2.075-.725 3.925-.775 1.85-2.125 3.237-1.35 1.388-3.2 2.188-1.85.8-3.95.8Zm0-2q3.05 0 5.413-2.1 2.362-2.1 2.587-5.35-1.25-.55-1.962-1.5-.713-.95-.963-2.125-1.925-.275-3.3-1.65-1.375-1.375-1.7-3.3-2-.05-3.513.725-1.512.775-2.524 1.987Q5.025 7.9 4.513 9.325 4 10.75 4 12q0 3.325 2.338 5.663Q8.675 20 12 20Zm0-8.1Z" }) }) }), _jsxs("div", { className: css.text, children: [_jsx("div", { className: css.title, children: Messages.get(lang, isEnabled ? "cookie-consent-title" : "no-cookie-title") }), isEnabled && (_jsx("div", { className: css.description, dangerouslySetInnerHTML: {
49
+ __html: Messages.get(lang, "cookie-consent-text"),
50
+ } }))] }), _jsxs("div", { className: css.buttons, children: [isEnabled && (_jsx(Button, { className: css.button, onClick: cookieAllowed(true), children: Messages.get(lang, "cookie-consent-agree") })), _jsx(Button, { className: css.button, onClick: cookieAllowed(false), children: Messages.get(lang, isEnabled ? "cookie-consent-revoke" : "no-cookie-button") })] })] }) }), document.body);
81
51
  };
82
52
  export const useCookieConsent = () => {
83
53
  const [consent, setConsent] = React.useState(null);
@@ -92,7 +62,6 @@ export const useCookieConsent = () => {
92
62
  setConsent(value);
93
63
  }
94
64
  catch (e) {
95
- // eslint-disable-next-line no-console
96
65
  console.error(e);
97
66
  }
98
67
  };
@@ -103,7 +72,6 @@ export const useCookieConsent = () => {
103
72
  setConsent(currentConsent);
104
73
  }
105
74
  catch (e) {
106
- // eslint-disable-next-line no-console
107
75
  console.error(e);
108
76
  }
109
77
  }, [consent]);
@@ -2,3 +2,4 @@ export { useCookieConsent };
2
2
  export default CookieConsent;
3
3
  import { useCookieConsent } from "./cookie-consent";
4
4
  import CookieConsent from "./cookie-consent";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cookie-consent/index.js"],"names":[],"mappings":";;iCAAgD,kBAAkB;0BAAlB,kBAAkB"}
@@ -1 +1,2 @@
1
1
  export function get(lang: any, message: any): any;
2
+ //# sourceMappingURL=messages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cookie-consent/messages.js"],"names":[],"mappings":"AA8BO,kDAGN"}
@@ -1 +1,2 @@
1
1
  export function loadHotjar(id: any, version: any, debug?: boolean): Promise<void>;
2
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cookie-consent/utils.js"],"names":[],"mappings":"AAAA,kFAkBC"}
@@ -1,30 +1,19 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- export function loadHotjar(id, version, debug = false) {
11
- return __awaiter(this, void 0, void 0, function* () {
12
- (function (h, o, t, j, a, r) {
13
- h.hj =
14
- h.hj ||
15
- function () {
16
- (h.hj.q = h.hj.q || []).push(arguments);
17
- };
18
- h._hjSettings = { hjid: id, hjsv: version, hjDebug: debug };
19
- h._scriptPath = t + h._hjSettings.hjid + j + h._hjSettings.hjsv;
20
- if (!document.querySelector('script[src*="' + h._scriptPath + '"]')) {
21
- a = o.getElementsByTagName("head")[0];
22
- r = o.createElement("script");
23
- r.async = 1;
24
- r.src = h._scriptPath;
25
- r["data-id"] = "hotjar";
26
- a.appendChild(r);
27
- }
28
- })(window, document, "https://static.hotjar.com/c/hotjar-", ".js?sv=");
29
- });
1
+ export async function loadHotjar(id, version, debug = false) {
2
+ (function (h, o, t, j, a, r) {
3
+ h.hj =
4
+ h.hj ||
5
+ function () {
6
+ (h.hj.q = h.hj.q || []).push(arguments);
7
+ };
8
+ h._hjSettings = { hjid: id, hjsv: version, hjDebug: debug };
9
+ h._scriptPath = t + h._hjSettings.hjid + j + h._hjSettings.hjsv;
10
+ if (!document.querySelector('script[src*="' + h._scriptPath + '"]')) {
11
+ a = o.getElementsByTagName("head")[0];
12
+ r = o.createElement("script");
13
+ r.async = 1;
14
+ r.src = h._scriptPath;
15
+ r["data-id"] = "hotjar";
16
+ a.appendChild(r);
17
+ }
18
+ })(window, document, "https://static.hotjar.com/c/hotjar-", ".js?sv=");
30
19
  }
@@ -14,5 +14,6 @@ type Props = {
14
14
  className?: string;
15
15
  children?: React.ReactNode;
16
16
  };
17
- export default function CrossSellingEditor({ titleZoneProps, contentZoneProps, durations, className, children, }: Props): React.JSX.Element;
17
+ export default function CrossSellingEditor({ titleZoneProps, contentZoneProps, durations, className, children, }: Props): import("react/jsx-runtime").JSX.Element;
18
18
  export {};
19
+ //# sourceMappingURL=cross-selling-editor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cross-selling-editor.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cross-selling-editor/cross-selling-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,KAAK,SAAS,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,cAAmB,EACnB,gBAAqB,EACrB,SAAS,EACT,SAAS,EACT,QAAQ,GACT,EAAE,KAAK,2CAqDP"}
@@ -1,8 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
2
  import * as React from "react";
2
3
  import classNames from "classnames";
3
4
  import Zone from "ublo/zone";
4
5
  import { useUbloContext } from "ublo/with-ublo";
5
- // import * as Plausible from "ublo-lib/es/common/components/plausible";
6
6
  import * as Plausible from "../plausible";
7
7
  import Editor from "./editor";
8
8
  import styles from "./cross-selling-editor.module.css";
@@ -11,14 +11,13 @@ export default function CrossSellingEditor({ titleZoneProps = {}, contentZonePro
11
11
  const titleRef = React.useRef();
12
12
  const { cmsMode } = useUbloContext();
13
13
  const sendPlausibleEvent = (e) => {
14
- var _a;
15
14
  const container = e.target.closest("data-custom-offers");
16
15
  const sections = Array.from(container.querySelectorAll("section"));
17
16
  const section = e.target.closest("section");
18
17
  const link = section.querySelector("a");
19
18
  if (link) {
20
19
  const selector = ".tunnel-offer__title, [data-title]";
21
- const offer = ((_a = link.querySelector(selector)) === null || _a === void 0 ? void 0 : _a.textContent) || "";
20
+ const offer = link.querySelector(selector)?.textContent || "";
22
21
  const position = sections.indexOf(section) + 1;
23
22
  Plausible.sendGoal("Cart Cross Selling Offer: Click", {
24
23
  Clicked: offer,
@@ -26,10 +25,5 @@ export default function CrossSellingEditor({ titleZoneProps = {}, contentZonePro
26
25
  });
27
26
  }
28
27
  };
29
- return (<div className={classNames(styles.editor, className)} onClick={sendPlausibleEvent}>
30
- {children}
31
- {cmsMode === "editing" && <Editor zoneRef={ref} durations={durations}/>}
32
- {titleZoneProps.enabled && (<Zone ref={titleRef} id={titleZoneProps.id || "tunnel-offers-title"} className={classNames(styles.titleZone, titleZoneProps.className)} section={titleZoneProps.section} maxSections={1} tooltip="Zone d'edition : Titre des offres" data-title-zone={titleZoneProps.dataAttributeValue || ""}/>)}
33
- {contentZoneProps.enabled && (<Zone ref={ref} id={contentZoneProps.id || "tunnel-offers"} className={classNames(styles.contentZone, contentZoneProps.className)} section={contentZoneProps.section} tooltip="Zone d'edition : Offres" data-content-zone={contentZoneProps.dataAttributeValue || ""}/>)}
34
- </div>);
28
+ return (_jsxs("div", { className: classNames(styles.editor, className), onClick: sendPlausibleEvent, children: [children, cmsMode === "editing" && _jsx(Editor, { zoneRef: ref, durations: durations }), titleZoneProps.enabled && (_jsx(Zone, { ref: titleRef, id: titleZoneProps.id || "tunnel-offers-title", className: classNames(styles.titleZone, titleZoneProps.className), section: titleZoneProps.section, maxSections: 1, tooltip: "Zone d'edition : Titre des offres", "data-title-zone": titleZoneProps.dataAttributeValue || "" })), contentZoneProps.enabled && (_jsx(Zone, { ref: ref, id: contentZoneProps.id || "tunnel-offers", className: classNames(styles.contentZone, contentZoneProps.className), section: contentZoneProps.section, tooltip: "Zone d'edition : Offres", "data-content-zone": contentZoneProps.dataAttributeValue || "" }))] }));
35
29
  }
@@ -4,5 +4,6 @@ type Props = {
4
4
  zoneRef: React.RefObject<HTMLElement>;
5
5
  durations: Durations;
6
6
  };
7
- export default function Editor({ zoneRef, durations }: Props): React.JSX.Element;
7
+ export default function Editor({ zoneRef, durations }: Props): import("react/jsx-runtime").JSX.Element;
8
8
  export {};
9
+ //# sourceMappingURL=editor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cross-selling-editor/editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,KAAK,EAAU,SAAS,EAAE,MAAM,SAAS,CAAC;AAGjD,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACtC,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,KAAK,2CAgE3D"}
@@ -1,3 +1,4 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
2
  import * as React from "react";
2
3
  import Dialog from "dt-design-system/es/dialog";
3
4
  import Button from "dt-design-system/es/button";
@@ -15,7 +16,7 @@ export default function Editor({ zoneRef, durations }) {
15
16
  init(zoneContainer, setConfig);
16
17
  }, [zoneContainer]);
17
18
  React.useEffect(() => {
18
- const configContainer = zoneContainer === null || zoneContainer === void 0 ? void 0 : zoneContainer.querySelector(`#${Utils.CONFIG_ID}`);
19
+ const configContainer = zoneContainer?.querySelector(`#${Utils.CONFIG_ID}`);
19
20
  if (configContainer) {
20
21
  configContainer.textContent = JSON.stringify(config);
21
22
  }
@@ -35,22 +36,10 @@ export default function Editor({ zoneRef, durations }) {
35
36
  const closeDialog = () => {
36
37
  setDialogOpened(false);
37
38
  };
38
- return (<>
39
- <Tooltip content="Paramétrer les offres croisées">
40
- <Button className={styles.button} onClick={openDialog}>
41
- <Icons.Settings />
42
- </Button>
43
- </Tooltip>
44
- <Dialog className={styles.dialog} isOpened={dialogOpened} close={closeDialog} showAsModal={false}>
45
- <div className={styles.dialogInner}>
46
- <Rules container={zoneContainer} config={config} setConfig={setConfig} tunnelOffers={Utils.tunnelOffers} durations={durations}/>
47
- <Tester container={zoneContainer} config={config} tunnelOffers={Utils.tunnelOffers} durations={durations}/>
48
- </div>
49
- </Dialog>
50
- </>);
39
+ return (_jsxs(_Fragment, { children: [_jsx(Tooltip, { content: "Param\u00E9trer les offres crois\u00E9es", children: _jsx(Button, { className: styles.button, onClick: openDialog, children: _jsx(Icons.Settings, {}) }) }), _jsx(Dialog, { className: styles.dialog, isOpened: dialogOpened, close: closeDialog, showAsModal: false, children: _jsxs("div", { className: styles.dialogInner, children: [_jsx(Rules, { container: zoneContainer, config: config, setConfig: setConfig, tunnelOffers: Utils.tunnelOffers, durations: durations }), _jsx(Tester, { container: zoneContainer, config: config, tunnelOffers: Utils.tunnelOffers, durations: durations })] }) })] }));
51
40
  }
52
41
  function init(zoneContainer, setConfig) {
53
- let configContainer = zoneContainer === null || zoneContainer === void 0 ? void 0 : zoneContainer.querySelector(`#${Utils.CONFIG_ID}`);
42
+ let configContainer = zoneContainer?.querySelector(`#${Utils.CONFIG_ID}`);
54
43
  if (!configContainer) {
55
44
  configContainer = Object.assign(document.createElement("script"), {
56
45
  id: Utils.CONFIG_ID,
@@ -69,7 +58,7 @@ function init(zoneContainer, setConfig) {
69
58
  function patchSections(zoneContainer) {
70
59
  if (!zoneContainer)
71
60
  return;
72
- const sections = Array.from(zoneContainer === null || zoneContainer === void 0 ? void 0 : zoneContainer.querySelectorAll("section[data-class]"));
61
+ const sections = Array.from(zoneContainer?.querySelectorAll("section[data-class]"));
73
62
  sections.forEach((section) => {
74
63
  const hasUuid = section.hasAttribute("data-uuid");
75
64
  if (!hasUuid) {
@@ -4,3 +4,4 @@ type Props = {
4
4
  };
5
5
  export default function useCustomOffers({ titleSelector, contentSelector, }?: Props): string;
6
6
  export {};
7
+ //# sourceMappingURL=use-custom-offers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-custom-offers.d.ts","sourceRoot":"","sources":["../../../../../src/common/components/cross-selling-editor/hooks/use-custom-offers.ts"],"names":[],"mappings":"AAKA,KAAK,KAAK,GAAG;IACX,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,aAAa,EACb,eAAe,GAChB,GAAE,KAAU,UAgEZ"}
@@ -1,12 +1,3 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
1
  import * as React from "react";
11
2
  import { useUbloContext } from "ublo/with-ublo";
12
3
  import * as API from "../services/api";
@@ -17,7 +8,7 @@ export default function useCustomOffers({ titleSelector, contentSelector, } = {}
17
8
  React.useEffect(() => {
18
9
  const titleZone = document.querySelector(titleSelector || "[data-title-zone]");
19
10
  const contentZone = document.querySelector(contentSelector || "[data-content-zone]");
20
- const getOffers = () => __awaiter(this, void 0, void 0, function* () {
11
+ const getOffers = async () => {
21
12
  const cartId = window.sessionStorage.getItem("cartId");
22
13
  let items = {};
23
14
  let merchants = [];
@@ -26,11 +17,11 @@ export default function useCustomOffers({ titleSelector, contentSelector, } = {}
26
17
  let durationTags = [];
27
18
  if (cartId) {
28
19
  try {
29
- const { cart } = yield API.fetchMseMCart(cartId, lang);
20
+ const { cart } = await API.fetchMseMCart(cartId, lang);
30
21
  items = Utils.formatCartContent(cart);
31
22
  merchants = Utils.getMerchantsFromCart(cart);
32
23
  stay = Utils.getStayFromCart(cart);
33
- [skiPassDurations, durationTags] = yield Promise.all([
24
+ [skiPassDurations, durationTags] = await Promise.all([
34
25
  Utils.getSkiPassDurationFromCart(cart),
35
26
  Utils.getDurationTagsFromCart(cart),
36
27
  ]);
@@ -46,16 +37,16 @@ export default function useCustomOffers({ titleSelector, contentSelector, } = {}
46
37
  };
47
38
  const storedConfig = Utils.getConfig(contentZone);
48
39
  const sortedOffers = Utils.getSortedOffers(contentZone, content, storedConfig);
49
- const title = (titleZone === null || titleZone === void 0 ? void 0 : titleZone.innerHTML) || "";
40
+ const title = titleZone?.innerHTML || "";
50
41
  const customOffers = sortedOffers.length > 0
51
- ? /* html */ `
42
+ ? `
52
43
  ${title}
53
44
  <div data-custom-offers="">
54
45
  ${sortedOffers.map(({ elementHTML }) => elementHTML).join("")}
55
46
  </div>`
56
47
  : null;
57
48
  setOffers(customOffers);
58
- });
49
+ };
59
50
  getOffers();
60
51
  }, [contentSelector, lang, path, titleSelector]);
61
52
  return offers;
@@ -1 +1,2 @@
1
1
  export default function useTunnelOffers(zone: string, path: string, cart: any): any[];
2
+ //# sourceMappingURL=use-tunnel-offers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-tunnel-offers.d.ts","sourceRoot":"","sources":["../../../../../src/common/components/cross-selling-editor/hooks/use-tunnel-offers.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,KAAA,SAyCvE"}
@@ -1,12 +1,3 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
1
  import * as React from "react";
11
2
  import { useUbloContext } from "ublo/with-ublo";
12
3
  import { fetchZone } from "ublo/fetcher";
@@ -15,15 +6,15 @@ export default function useTunnelOffers(zone, path, cart) {
15
6
  const { ubloApi, site, lang } = useUbloContext();
16
7
  const [offers, setOffers] = React.useState([]);
17
8
  React.useEffect(() => {
18
- const getOffers = () => __awaiter(this, void 0, void 0, function* () {
19
- const offers = yield fetchZone(ubloApi, site, lang, path, zone);
9
+ const getOffers = async () => {
10
+ const offers = await fetchZone(ubloApi, site, lang, path, zone);
20
11
  const container = Object.assign(document.createElement("div"), {
21
12
  innerHTML: offers,
22
13
  });
23
14
  const items = Utils.formatCartContent(cart);
24
15
  const merchants = Utils.getMerchantsFromCart(cart);
25
16
  const stay = Utils.getStayFromCart(cart);
26
- const [skiPassDurations, durationTags] = yield Promise.all([
17
+ const [skiPassDurations, durationTags] = await Promise.all([
27
18
  Utils.getSkiPassDurationFromCart(cart),
28
19
  Utils.getDurationTagsFromCart(cart),
29
20
  ]);
@@ -37,7 +28,7 @@ export default function useTunnelOffers(zone, path, cart) {
37
28
  const storedConfig = Utils.getConfig(container);
38
29
  const sortedOffers = Utils.getSortedOffers(container, content, storedConfig);
39
30
  setOffers(sortedOffers);
40
- });
31
+ };
41
32
  getOffers();
42
33
  }, [cart, lang, path, site, ubloApi, zone]);
43
34
  return offers;
@@ -1,2 +1,3 @@
1
1
  import CrossSellingEditor from "./cross-selling-editor";
2
2
  export default CrossSellingEditor;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cross-selling-editor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,wBAAwB,CAAC;AAExD,eAAe,kBAAkB,CAAC"}
@@ -6,5 +6,6 @@ type Props = {
6
6
  setConfig: React.Dispatch<React.SetStateAction<Config>>;
7
7
  durations: Durations;
8
8
  };
9
- export default function OverrideTriggerForm({ currentOffer, override, setConfig, durations, }: Props): React.JSX.Element;
9
+ export default function OverrideTriggerForm({ currentOffer, override, setConfig, durations, }: Props): import("react/jsx-runtime").JSX.Element;
10
10
  export {};
11
+ //# sourceMappingURL=override-trigger-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"override-trigger-form.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cross-selling-editor/override-trigger-form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAa,MAAM,SAAS,CAAC;AAEtE,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACxD,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAC1C,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,SAAS,GACV,EAAE,KAAK,2CAuJP"}
@@ -0,0 +1,54 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import Input from "dt-design-system/es/input";
3
+ import * as Icons from "dt-design-system/es/icons";
4
+ import styles from "./override-trigger-form.module.css";
5
+ import Select from "dt-design-system/es/select";
6
+ import Tooltip from "dt-design-system/es/tooltip";
7
+ import NumberPicker from "dt-design-system/es/number-picker";
8
+ export default function OverrideTriggerForm({ currentOffer, override, setConfig, durations, }) {
9
+ const triggers = override?.triggers || {};
10
+ const { stayFrom, stayTo, stayDuration = 0, merchant, skiPassDuration, skiPassDurationOperator = ">", durationTag, } = triggers;
11
+ const updateEntry = (key, value) => {
12
+ setConfig((config = {}) => {
13
+ const itemConfig = (config[currentOffer] || {});
14
+ const itemOverrides = itemConfig.overrides || [];
15
+ const newConfig = {
16
+ ...config,
17
+ [currentOffer]: {
18
+ ...itemConfig,
19
+ overrides: [
20
+ ...itemOverrides.map((o) => {
21
+ if (o.id === override.id) {
22
+ const triggersConfig = o.triggers || {};
23
+ return {
24
+ ...o,
25
+ triggers: {
26
+ ...triggersConfig,
27
+ [key]: value,
28
+ },
29
+ };
30
+ }
31
+ return o;
32
+ }),
33
+ ],
34
+ },
35
+ };
36
+ return newConfig;
37
+ });
38
+ };
39
+ const submitForm = (e) => {
40
+ e.preventDefault();
41
+ e.stopPropagation();
42
+ };
43
+ const stopPropagation = (e) => {
44
+ e.stopPropagation();
45
+ };
46
+ const operatorOptions = [
47
+ { value: ">", label: "Supérieur à" },
48
+ { value: ">=", label: "Supérieur ou égal à" },
49
+ { value: "<", label: "Inférieur à" },
50
+ { value: "<=", label: "Inférieur ou égal à" },
51
+ { value: "=", label: "Égal à" },
52
+ ];
53
+ return (_jsxs("form", { className: styles.form, onSubmit: submitForm, onClick: stopPropagation, children: [_jsx("div", { className: styles.title, children: "D\u00E9clencheur(s)" }), _jsx("div", { className: styles.subTitle, children: "S\u00E9jour" }), _jsx(Input, { className: styles.input, type: "date", label: "Inclu entre", value: stayFrom || "", onValueChange: (value) => updateEntry("stayFrom", value), compact: true }), _jsx(Input, { className: styles.input, type: "date", label: "et", value: stayTo || "", onValueChange: (value) => updateEntry("stayTo", value), compact: true }), _jsx(NumberPicker, { label: _jsxs(_Fragment, { children: ["Nombre de jour(s)", _jsx(Tooltip, { content: "S\u00E9jour d'une dur\u00E9e sup\u00E9rieur ou \u00E9gal \u00E0...", children: _jsx("span", { className: styles.labelIconContainer, children: _jsx(Icons.Info, { className: styles.labelIcon }) }) })] }), min: 0, max: 40, value: stayDuration || 0, onChange: (value) => updateEntry("stayDuration", value), withInput: true, compact: true }), _jsx("div", { className: styles.subTitle, children: "G\u00E9n\u00E9ral" }), _jsx(Input, { className: styles.input, label: _jsxs(_Fragment, { children: ["Code(s) marchand(s)", _jsx(Tooltip, { content: "Si plusieurs codes marchands, les s\u00E9parer par une virgule", children: _jsx("span", { className: styles.labelIconContainer, children: _jsx(Icons.Info, { className: styles.labelIcon }) }) })] }), value: merchant || "", onValueChange: (value) => updateEntry("merchant", value), compact: true }), _jsx("div", { className: styles.subTitle, children: "Forfaits" }), _jsx(NumberPicker, { className: styles.input, label: "Dur\u00E9e", min: 0, max: 40, value: skiPassDuration || 0, onChange: (value) => updateEntry("skiPassDuration", value), withInput: true, compact: true }), _jsx(Select, { className: styles.input, label: "Op\u00E9rateur de comparaison", options: operatorOptions, value: skiPassDurationOperator || ">", onValueChange: (value) => updateEntry("skiPassDurationOperator", value), compact: true }), durations && (_jsx(Select, { className: styles.input, label: durations?.title, placeholder: " ", options: durations?.tags, value: durationTag || "", onValueChange: (value) => updateEntry("durationTag", value), compact: true }))] }));
54
+ }
@@ -12,5 +12,6 @@ type Props = {
12
12
  closeCreationForm: () => void;
13
13
  durations: Durations;
14
14
  };
15
- export default function Override({ index, currentOffer, overrides, override, currentOverride, setCurrentOverride, config, setConfig, closeCreationForm, durations, }: Props): React.JSX.Element;
15
+ export default function Override({ index, currentOffer, overrides, override, currentOverride, setCurrentOverride, config, setConfig, closeCreationForm, durations, }: Props): import("react/jsx-runtime").JSX.Element;
16
16
  export {};
17
+ //# sourceMappingURL=override.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"override.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cross-selling-editor/override.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EACV,MAAM,EACN,SAAS,EAET,QAAQ,IAAI,YAAY,EACzB,MAAM,SAAS,CAAC;AAEjB,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,QAAQ,EAAE,YAAY,CAAC;IACvB,eAAe,EAAE,YAAY,CAAC;IAC9B,kBAAkB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;IACvE,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACxD,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,KAAK,EACL,YAAY,EACZ,SAAS,EACT,QAAQ,EACR,eAAe,EACf,kBAAkB,EAClB,MAAM,EACN,SAAS,EACT,iBAAiB,EACjB,SAAS,GACV,EAAE,KAAK,2CAkKP"}
@@ -1,3 +1,4 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
2
  import * as React from "react";
2
3
  import classNames from "classnames";
3
4
  import Popover from "dt-design-system/es/popover";
@@ -33,7 +34,13 @@ export default function Override({ index, currentOffer, overrides, override, cur
33
34
  const newOverrides = [...itemOverrides];
34
35
  newOverrides.splice(currentIndex, 1);
35
36
  newOverrides.splice(newIndex, 0, override);
36
- const newConfig = Object.assign(Object.assign({}, config), { [currentOffer]: Object.assign(Object.assign({}, itemConfig), { overrides: newOverrides }) });
37
+ const newConfig = {
38
+ ...config,
39
+ [currentOffer]: {
40
+ ...itemConfig,
41
+ overrides: newOverrides,
42
+ },
43
+ };
37
44
  return newConfig;
38
45
  });
39
46
  };
@@ -44,7 +51,13 @@ export default function Override({ index, currentOffer, overrides, override, cur
44
51
  setConfig((config = {}) => {
45
52
  const itemConfig = (config[currentOffer] || {});
46
53
  const itemOverrides = itemConfig.overrides || [];
47
- const newConfig = Object.assign(Object.assign({}, config), { [currentOffer]: Object.assign(Object.assign({}, itemConfig), { overrides: itemOverrides.filter((o) => o.id !== override.id) }) });
54
+ const newConfig = {
55
+ ...config,
56
+ [currentOffer]: {
57
+ ...itemConfig,
58
+ overrides: itemOverrides.filter((o) => o.id !== override.id),
59
+ },
60
+ };
48
61
  return newConfig;
49
62
  });
50
63
  closeCreationForm();
@@ -64,12 +77,18 @@ export default function Override({ index, currentOffer, overrides, override, cur
64
77
  setConfig((config = {}) => {
65
78
  const itemConfig = (config[currentOffer] || {});
66
79
  const itemOverrides = itemConfig.overrides || [];
67
- const newConfig = Object.assign(Object.assign({}, config), { [currentOffer]: Object.assign(Object.assign({}, itemConfig), { overrides: itemOverrides.map((o) => {
80
+ const newConfig = {
81
+ ...config,
82
+ [currentOffer]: {
83
+ ...itemConfig,
84
+ overrides: itemOverrides.map((o) => {
68
85
  if (o.id === override.id) {
69
- return Object.assign(Object.assign({}, o), { name: target.value });
86
+ return { ...o, name: target.value };
70
87
  }
71
88
  return o;
72
- }) }) });
89
+ }),
90
+ },
91
+ };
73
92
  return newConfig;
74
93
  });
75
94
  }
@@ -78,25 +97,5 @@ export default function Override({ index, currentOffer, overrides, override, cur
78
97
  const classes = classNames(styles.override, {
79
98
  [styles.current]: currentOverride && override.id === currentOverride.id,
80
99
  });
81
- return (<div className={classes} onClick={updateCurrentOverride}>
82
- <div className={styles.sortControls}>
83
- <Button variant="transparent" className={styles.sortControl} disabled={isFirst} onClick={sort("up")} compact>
84
- <Icons.ChevronUp />
85
- </Button>
86
- <Button variant="transparent" className={styles.sortControl} disabled={isLast} onClick={sort("down")} compact>
87
- <Icons.ChevronDown />
88
- </Button>
89
- </div>
90
- <Input className={styles.input} value={override.name} onChange={updateOverrideName} onClick={stopPropagation} onBlur={updateOverrideName} compact/>
91
- <Popover trigger={<Button className={styles.edit} compact onClick={toggleFormOpen}>
92
- <Icons.Tune />
93
- </Button>} open={formOpen} onOpenChange={updateFormOpen}>
94
- <OverrideTriggerForm currentOffer={currentOffer} override={override} setConfig={setConfig} durations={durations}/>
95
- </Popover>
96
- <Tooltip content="Supprimer">
97
- <Button className={styles.delete} variant="danger" compact onClick={removeOverride}>
98
- <Icons.Bin />
99
- </Button>
100
- </Tooltip>
101
- </div>);
100
+ return (_jsxs("div", { className: classes, onClick: updateCurrentOverride, children: [_jsxs("div", { className: styles.sortControls, children: [_jsx(Button, { variant: "transparent", className: styles.sortControl, disabled: isFirst, onClick: sort("up"), compact: true, children: _jsx(Icons.ChevronUp, {}) }), _jsx(Button, { variant: "transparent", className: styles.sortControl, disabled: isLast, onClick: sort("down"), compact: true, children: _jsx(Icons.ChevronDown, {}) })] }), _jsx(Input, { className: styles.input, value: override.name, onChange: updateOverrideName, onClick: stopPropagation, onBlur: updateOverrideName, compact: true }), _jsx(Popover, { trigger: _jsx(Button, { className: styles.edit, compact: true, onClick: toggleFormOpen, children: _jsx(Icons.Tune, {}) }), open: formOpen, onOpenChange: updateFormOpen, children: _jsx(OverrideTriggerForm, { currentOffer: currentOffer, override: override, setConfig: setConfig, durations: durations }) }), _jsx(Tooltip, { content: "Supprimer", children: _jsx(Button, { className: styles.delete, variant: "danger", compact: true, onClick: removeOverride, children: _jsx(Icons.Bin, {}) }) })] }));
102
101
  }
@@ -9,5 +9,6 @@ type Props = {
9
9
  setConfig: React.Dispatch<React.SetStateAction<Config>>;
10
10
  durations: Durations;
11
11
  };
12
- export default function OverridesList({ currentOffer, overrides, currentOverride, setCurrentOverride, config, setConfig, durations, }: Props): React.JSX.Element;
12
+ export default function OverridesList({ currentOffer, overrides, currentOverride, setCurrentOverride, config, setConfig, durations, }: Props): import("react/jsx-runtime").JSX.Element;
13
13
  export {};
14
+ //# sourceMappingURL=overrides-list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overrides-list.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cross-selling-editor/overrides-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,KAAK,EACV,MAAM,EACN,SAAS,EAET,QAAQ,IAAI,YAAY,EACzB,MAAM,SAAS,CAAC;AAEjB,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,YAAY,EAAE,CAAC;IAC1B,eAAe,EAAE,YAAY,CAAC;IAC9B,kBAAkB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;IACvE,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACxD,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,YAAY,EACZ,SAAS,EACT,eAAe,EACf,kBAAkB,EAClB,MAAM,EACN,SAAS,EACT,SAAS,GACV,EAAE,KAAK,2CAoIP"}