@eui/ecl 19.3.3-snapshot-1754580137043 → 19.3.3-snapshot-1754592815527

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 (877) hide show
  1. package/components/ecl-accordion/ecl-accordion-item.component.d.ts +1 -1
  2. package/components/ecl-accordion/ecl-accordion-item.component.d.ts.map +1 -1
  3. package/components/ecl-accordion/ecl-accordion.component.d.ts +1 -1
  4. package/components/ecl-accordion/ecl-accordion.component.d.ts.map +1 -1
  5. package/components/ecl-accordion/ecl-accordion.module.d.ts +7 -4
  6. package/components/ecl-accordion/ecl-accordion.module.d.ts.map +1 -1
  7. package/components/ecl-accordion/index.d.ts +3 -0
  8. package/components/ecl-accordion/index.d.ts.map +1 -1
  9. package/components/ecl-app/ecl-app.component.d.ts +1 -1
  10. package/components/ecl-app/ecl-app.component.d.ts.map +1 -1
  11. package/components/ecl-app/ecl-app.module.d.ts +6 -4
  12. package/components/ecl-app/ecl-app.module.d.ts.map +1 -1
  13. package/components/ecl-app/index.d.ts +2 -0
  14. package/components/ecl-app/index.d.ts.map +1 -1
  15. package/components/ecl-banner/ecl-banner-description.directive.d.ts +3 -3
  16. package/components/ecl-banner/ecl-banner-description.directive.d.ts.map +1 -1
  17. package/components/ecl-banner/ecl-banner-picture.directive.d.ts +2 -2
  18. package/components/ecl-banner/ecl-banner-picture.directive.d.ts.map +1 -1
  19. package/components/ecl-banner/ecl-banner-title.directive.d.ts +3 -3
  20. package/components/ecl-banner/ecl-banner-title.directive.d.ts.map +1 -1
  21. package/components/ecl-banner/ecl-banner-video.directive.d.ts +1 -1
  22. package/components/ecl-banner/ecl-banner-video.directive.d.ts.map +1 -1
  23. package/components/ecl-banner/ecl-banner.component.d.ts +1 -1
  24. package/components/ecl-banner/ecl-banner.component.d.ts.map +1 -1
  25. package/components/ecl-banner/ecl-banner.module.d.ts +7 -5
  26. package/components/ecl-banner/ecl-banner.module.d.ts.map +1 -1
  27. package/components/ecl-banner/index.d.ts +6 -1
  28. package/components/ecl-banner/index.d.ts.map +1 -1
  29. package/components/ecl-blockquote/ecl-blockquote-picture.directive.d.ts +2 -2
  30. package/components/ecl-blockquote/ecl-blockquote-picture.directive.d.ts.map +1 -1
  31. package/components/ecl-blockquote/ecl-blockquote.component.d.ts +1 -1
  32. package/components/ecl-blockquote/ecl-blockquote.component.d.ts.map +1 -1
  33. package/components/ecl-blockquote/ecl-blockquote.module.d.ts +7 -2
  34. package/components/ecl-blockquote/ecl-blockquote.module.d.ts.map +1 -1
  35. package/components/ecl-blockquote/index.d.ts +4 -0
  36. package/components/ecl-blockquote/index.d.ts.map +1 -1
  37. package/components/ecl-breadcrumb/ecl-breadcrumb-container.directive.d.ts +1 -1
  38. package/components/ecl-breadcrumb/ecl-breadcrumb-container.directive.d.ts.map +1 -1
  39. package/components/ecl-breadcrumb/ecl-breadcrumb-segment.component.d.ts +1 -1
  40. package/components/ecl-breadcrumb/ecl-breadcrumb-segment.component.d.ts.map +1 -1
  41. package/components/ecl-breadcrumb/ecl-breadcrumb.component.d.ts +1 -1
  42. package/components/ecl-breadcrumb/ecl-breadcrumb.component.d.ts.map +1 -1
  43. package/components/ecl-breadcrumb/ecl-breadcrumb.module.d.ts +6 -7
  44. package/components/ecl-breadcrumb/ecl-breadcrumb.module.d.ts.map +1 -1
  45. package/components/ecl-breadcrumb/index.d.ts +4 -0
  46. package/components/ecl-breadcrumb/index.d.ts.map +1 -1
  47. package/components/ecl-button/ecl-button-label.directive.d.ts +3 -3
  48. package/components/ecl-button/ecl-button-label.directive.d.ts.map +1 -1
  49. package/components/ecl-button/ecl-button.component.d.ts +1 -1
  50. package/components/ecl-button/ecl-button.component.d.ts.map +1 -1
  51. package/components/ecl-button/ecl-button.module.d.ts +7 -3
  52. package/components/ecl-button/ecl-button.module.d.ts.map +1 -1
  53. package/components/ecl-button/index.d.ts +3 -0
  54. package/components/ecl-button/index.d.ts.map +1 -1
  55. package/components/ecl-card/ecl-card-body.component.d.ts +1 -1
  56. package/components/ecl-card/ecl-card-body.component.d.ts.map +1 -1
  57. package/components/ecl-card/ecl-card-picture.directive.d.ts +2 -2
  58. package/components/ecl-card/ecl-card-picture.directive.d.ts.map +1 -1
  59. package/components/ecl-card/ecl-card.component.d.ts +2 -2
  60. package/components/ecl-card/ecl-card.component.d.ts.map +1 -1
  61. package/components/ecl-card/ecl-card.module.d.ts +7 -5
  62. package/components/ecl-card/ecl-card.module.d.ts.map +1 -1
  63. package/components/ecl-card/index.d.ts +4 -0
  64. package/components/ecl-card/index.d.ts.map +1 -1
  65. package/components/ecl-carousel/ecl-carousel-item.component.d.ts +1 -1
  66. package/components/ecl-carousel/ecl-carousel-item.component.d.ts.map +1 -1
  67. package/components/ecl-carousel/ecl-carousel.component.d.ts +1 -1
  68. package/components/ecl-carousel/ecl-carousel.component.d.ts.map +1 -1
  69. package/components/ecl-carousel/ecl-carousel.module.d.ts +7 -4
  70. package/components/ecl-carousel/ecl-carousel.module.d.ts.map +1 -1
  71. package/components/ecl-carousel/index.d.ts +3 -0
  72. package/components/ecl-carousel/index.d.ts.map +1 -1
  73. package/components/ecl-category-filter/ecl-category-filter/ecl-category-filter.component.d.ts +1 -1
  74. package/components/ecl-category-filter/ecl-category-filter/ecl-category-filter.component.d.ts.map +1 -1
  75. package/components/ecl-category-filter/ecl-category-filter-list/ecl-category-filter-item.component.d.ts +1 -1
  76. package/components/ecl-category-filter/ecl-category-filter-list/ecl-category-filter-item.component.d.ts.map +1 -1
  77. package/components/ecl-category-filter/ecl-category-filter-list/ecl-category-filter-list.component.d.ts +1 -1
  78. package/components/ecl-category-filter/ecl-category-filter-list/ecl-category-filter-list.component.d.ts.map +1 -1
  79. package/components/ecl-category-filter/ecl-category-filter.module.d.ts +7 -6
  80. package/components/ecl-category-filter/ecl-category-filter.module.d.ts.map +1 -1
  81. package/components/ecl-category-filter/index.d.ts +4 -0
  82. package/components/ecl-category-filter/index.d.ts.map +1 -1
  83. package/components/ecl-checkbox/ecl-checkbox-help.component.d.ts +1 -1
  84. package/components/ecl-checkbox/ecl-checkbox-help.component.d.ts.map +1 -1
  85. package/components/ecl-checkbox/ecl-checkbox-input.directive.d.ts +1 -1
  86. package/components/ecl-checkbox/ecl-checkbox-input.directive.d.ts.map +1 -1
  87. package/components/ecl-checkbox/ecl-checkbox-label.component.d.ts +1 -1
  88. package/components/ecl-checkbox/ecl-checkbox-label.component.d.ts.map +1 -1
  89. package/components/ecl-checkbox/ecl-checkbox.directive.d.ts.map +1 -1
  90. package/components/ecl-checkbox/ecl-checkbox.module.d.ts +7 -4
  91. package/components/ecl-checkbox/ecl-checkbox.module.d.ts.map +1 -1
  92. package/components/ecl-checkbox/index.d.ts +5 -0
  93. package/components/ecl-checkbox/index.d.ts.map +1 -1
  94. package/components/ecl-content-block/ecl-content-block-elements.directive.d.ts +17 -17
  95. package/components/ecl-content-block/ecl-content-block-elements.directive.d.ts.map +1 -1
  96. package/components/ecl-content-block/ecl-content-block.component.d.ts +1 -1
  97. package/components/ecl-content-block/ecl-content-block.component.d.ts.map +1 -1
  98. package/components/ecl-content-block/ecl-content-block.module.d.ts +6 -2
  99. package/components/ecl-content-block/ecl-content-block.module.d.ts.map +1 -1
  100. package/components/ecl-content-block/index.d.ts +3 -0
  101. package/components/ecl-content-block/index.d.ts.map +1 -1
  102. package/components/ecl-content-item/ecl-content-item-image.directive.d.ts +2 -2
  103. package/components/ecl-content-item/ecl-content-item-image.directive.d.ts.map +1 -1
  104. package/components/ecl-content-item/ecl-content-item.component.d.ts +3 -4
  105. package/components/ecl-content-item/ecl-content-item.component.d.ts.map +1 -1
  106. package/components/ecl-content-item/ecl-content-item.module.d.ts +6 -3
  107. package/components/ecl-content-item/ecl-content-item.module.d.ts.map +1 -1
  108. package/components/ecl-content-item/index.d.ts +3 -0
  109. package/components/ecl-content-item/index.d.ts.map +1 -1
  110. package/components/ecl-date-block/ecl-date-block.component.d.ts +25 -1
  111. package/components/ecl-date-block/ecl-date-block.component.d.ts.map +1 -1
  112. package/components/ecl-date-block/ecl-date-block.module.d.ts +6 -26
  113. package/components/ecl-date-block/ecl-date-block.module.d.ts.map +1 -1
  114. package/components/ecl-date-block/index.d.ts +2 -0
  115. package/components/ecl-date-block/index.d.ts.map +1 -1
  116. package/components/ecl-date-picker/ecl-date-picker.directive.d.ts +1 -1
  117. package/components/ecl-date-picker/ecl-date-picker.directive.d.ts.map +1 -1
  118. package/components/ecl-date-picker/ecl-date-picker.module.d.ts +6 -3
  119. package/components/ecl-date-picker/ecl-date-picker.module.d.ts.map +1 -1
  120. package/components/ecl-date-picker/index.d.ts +2 -0
  121. package/components/ecl-date-picker/index.d.ts.map +1 -1
  122. package/components/ecl-expandable/ecl-expandable.component.d.ts +1 -1
  123. package/components/ecl-expandable/ecl-expandable.component.d.ts.map +1 -1
  124. package/components/ecl-expandable/ecl-expandable.module.d.ts +6 -5
  125. package/components/ecl-expandable/ecl-expandable.module.d.ts.map +1 -1
  126. package/components/ecl-expandable/index.d.ts +2 -0
  127. package/components/ecl-expandable/index.d.ts.map +1 -1
  128. package/components/ecl-fact-figures/ecl-fact-figures-description.component.d.ts +1 -1
  129. package/components/ecl-fact-figures/ecl-fact-figures-item.component.d.ts +1 -1
  130. package/components/ecl-fact-figures/ecl-fact-figures-item.component.d.ts.map +1 -1
  131. package/components/ecl-fact-figures/ecl-fact-figures-title.component.d.ts +1 -1
  132. package/components/ecl-fact-figures/ecl-fact-figures-title.component.d.ts.map +1 -1
  133. package/components/ecl-fact-figures/ecl-fact-figures-value.component.d.ts +1 -1
  134. package/components/ecl-fact-figures/ecl-fact-figures-value.component.d.ts.map +1 -1
  135. package/components/ecl-fact-figures/ecl-fact-figures-view-all.component.d.ts +1 -1
  136. package/components/ecl-fact-figures/ecl-fact-figures-view-all.component.d.ts.map +1 -1
  137. package/components/ecl-fact-figures/ecl-fact-figures.component.d.ts +1 -1
  138. package/components/ecl-fact-figures/ecl-fact-figures.component.d.ts.map +1 -1
  139. package/components/ecl-fact-figures/ecl-fact-figures.module.d.ts +6 -3
  140. package/components/ecl-fact-figures/ecl-fact-figures.module.d.ts.map +1 -1
  141. package/components/ecl-fact-figures/index.d.ts +7 -0
  142. package/components/ecl-fact-figures/index.d.ts.map +1 -1
  143. package/components/ecl-featured/ecl-featured-item-description.component.d.ts +1 -1
  144. package/components/ecl-featured/ecl-featured-item-description.component.d.ts.map +1 -1
  145. package/components/ecl-featured/ecl-featured-item-footer.component.d.ts +1 -1
  146. package/components/ecl-featured/ecl-featured-item-footer.component.d.ts.map +1 -1
  147. package/components/ecl-featured/ecl-featured-item-link.directive.d.ts +3 -3
  148. package/components/ecl-featured/ecl-featured-item-link.directive.d.ts.map +1 -1
  149. package/components/ecl-featured/ecl-featured-item.component.d.ts +1 -1
  150. package/components/ecl-featured/ecl-featured-item.component.d.ts.map +1 -1
  151. package/components/ecl-featured/ecl-featured.component.d.ts +1 -1
  152. package/components/ecl-featured/ecl-featured.component.d.ts.map +1 -1
  153. package/components/ecl-featured/ecl-featured.module.d.ts +7 -4
  154. package/components/ecl-featured/ecl-featured.module.d.ts.map +1 -1
  155. package/components/ecl-featured/index.d.ts +8 -2
  156. package/components/ecl-featured/index.d.ts.map +1 -1
  157. package/components/ecl-feedback-message/ecl-feedback-message.directive.d.ts +1 -1
  158. package/components/ecl-feedback-message/ecl-feedback-message.directive.d.ts.map +1 -1
  159. package/components/ecl-feedback-message/ecl-feedback-message.module.d.ts +6 -2
  160. package/components/ecl-feedback-message/ecl-feedback-message.module.d.ts.map +1 -1
  161. package/components/ecl-feedback-message/index.d.ts +2 -0
  162. package/components/ecl-feedback-message/index.d.ts.map +1 -1
  163. package/components/ecl-file/ecl-file-download.directive.d.ts +3 -3
  164. package/components/ecl-file/ecl-file-download.directive.d.ts.map +1 -1
  165. package/components/ecl-file/ecl-file-item/ecl-file-item.component.d.ts +1 -1
  166. package/components/ecl-file/ecl-file-item/ecl-file-item.component.d.ts.map +1 -1
  167. package/components/ecl-file/ecl-file-items/ecl-file-items.component.d.ts +1 -1
  168. package/components/ecl-file/ecl-file-items/ecl-file-items.component.d.ts.map +1 -1
  169. package/components/ecl-file/ecl-file-picture.directive.d.ts +3 -3
  170. package/components/ecl-file/ecl-file-picture.directive.d.ts.map +1 -1
  171. package/components/ecl-file/ecl-file-taxonomy/ecl-file-taxonomy.component.d.ts +1 -1
  172. package/components/ecl-file/ecl-file-taxonomy/ecl-file-taxonomy.component.d.ts.map +1 -1
  173. package/components/ecl-file/ecl-file.component.d.ts +2 -3
  174. package/components/ecl-file/ecl-file.component.d.ts.map +1 -1
  175. package/components/ecl-file/ecl-file.module.d.ts +6 -7
  176. package/components/ecl-file/ecl-file.module.d.ts.map +1 -1
  177. package/components/ecl-file/index.d.ts +7 -0
  178. package/components/ecl-file/index.d.ts.map +1 -1
  179. package/components/ecl-file-upload/ecl-file-upload.directive.d.ts +1 -1
  180. package/components/ecl-file-upload/ecl-file-upload.directive.d.ts.map +1 -1
  181. package/components/ecl-file-upload/ecl-file-upload.module.d.ts +6 -2
  182. package/components/ecl-file-upload/ecl-file-upload.module.d.ts.map +1 -1
  183. package/components/ecl-file-upload/index.d.ts +2 -0
  184. package/components/ecl-file-upload/index.d.ts.map +1 -1
  185. package/components/ecl-form-group/ecl-form-group.component.d.ts +1 -1
  186. package/components/ecl-form-group/ecl-form-group.component.d.ts.map +1 -1
  187. package/components/ecl-form-group/ecl-form-group.module.d.ts +6 -4
  188. package/components/ecl-form-group/ecl-form-group.module.d.ts.map +1 -1
  189. package/components/ecl-form-group/index.d.ts +2 -0
  190. package/components/ecl-form-group/index.d.ts.map +1 -1
  191. package/components/ecl-form-label/ecl-form-label-optional.directive.d.ts +1 -1
  192. package/components/ecl-form-label/ecl-form-label-optional.directive.d.ts.map +1 -1
  193. package/components/ecl-form-label/ecl-form-label.component.d.ts +1 -1
  194. package/components/ecl-form-label/ecl-form-label.component.d.ts.map +1 -1
  195. package/components/ecl-form-label/ecl-form-label.module.d.ts +6 -3
  196. package/components/ecl-form-label/ecl-form-label.module.d.ts.map +1 -1
  197. package/components/ecl-form-label/index.d.ts +3 -0
  198. package/components/ecl-form-label/index.d.ts.map +1 -1
  199. package/components/ecl-gallery/ecl-gallery-footer.component.d.ts +1 -1
  200. package/components/ecl-gallery/ecl-gallery-footer.component.d.ts.map +1 -1
  201. package/components/ecl-gallery/ecl-gallery-item.component.d.ts +1 -1
  202. package/components/ecl-gallery/ecl-gallery-item.component.d.ts.map +1 -1
  203. package/components/ecl-gallery/ecl-gallery-media.directive.d.ts +3 -3
  204. package/components/ecl-gallery/ecl-gallery-media.directive.d.ts.map +1 -1
  205. package/components/ecl-gallery/ecl-gallery.component.d.ts +1 -1
  206. package/components/ecl-gallery/ecl-gallery.component.d.ts.map +1 -1
  207. package/components/ecl-gallery/ecl-gallery.module.d.ts +6 -6
  208. package/components/ecl-gallery/ecl-gallery.module.d.ts.map +1 -1
  209. package/components/ecl-gallery/index.d.ts +5 -0
  210. package/components/ecl-gallery/index.d.ts.map +1 -1
  211. package/components/ecl-help-block/ecl-help-block.directive.d.ts +1 -1
  212. package/components/ecl-help-block/ecl-help-block.directive.d.ts.map +1 -1
  213. package/components/ecl-help-block/ecl-help-block.module.d.ts +6 -2
  214. package/components/ecl-help-block/ecl-help-block.module.d.ts.map +1 -1
  215. package/components/ecl-help-block/index.d.ts +2 -0
  216. package/components/ecl-help-block/index.d.ts.map +1 -1
  217. package/components/ecl-icon/ecl-icon.component.d.ts +5 -7
  218. package/components/ecl-icon/ecl-icon.component.d.ts.map +1 -1
  219. package/components/ecl-icon/ecl-icon.module.d.ts +6 -2
  220. package/components/ecl-icon/ecl-icon.module.d.ts.map +1 -1
  221. package/components/ecl-icon/index.d.ts +2 -0
  222. package/components/ecl-icon/index.d.ts.map +1 -1
  223. package/components/ecl-inpage-navigation/ecl-inpage-navigation-item.component.d.ts +1 -1
  224. package/components/ecl-inpage-navigation/ecl-inpage-navigation-item.component.d.ts.map +1 -1
  225. package/components/ecl-inpage-navigation/ecl-inpage-navigation-list.directive.d.ts +1 -1
  226. package/components/ecl-inpage-navigation/ecl-inpage-navigation-list.directive.d.ts.map +1 -1
  227. package/components/ecl-inpage-navigation/ecl-inpage-navigation.component.d.ts +1 -1
  228. package/components/ecl-inpage-navigation/ecl-inpage-navigation.component.d.ts.map +1 -1
  229. package/components/ecl-inpage-navigation/ecl-inpage-navigation.module.d.ts +6 -6
  230. package/components/ecl-inpage-navigation/ecl-inpage-navigation.module.d.ts.map +1 -1
  231. package/components/ecl-inpage-navigation/index.d.ts +4 -0
  232. package/components/ecl-inpage-navigation/index.d.ts.map +1 -1
  233. package/components/ecl-label/ecl-label.directive.d.ts +1 -1
  234. package/components/ecl-label/ecl-label.directive.d.ts.map +1 -1
  235. package/components/ecl-label/ecl-label.module.d.ts +6 -2
  236. package/components/ecl-label/ecl-label.module.d.ts.map +1 -1
  237. package/components/ecl-label/index.d.ts +2 -0
  238. package/components/ecl-label/index.d.ts.map +1 -1
  239. package/components/ecl-link/ecl-link-label.directive.d.ts +3 -3
  240. package/components/ecl-link/ecl-link-label.directive.d.ts.map +1 -1
  241. package/components/ecl-link/ecl-link.directive.d.ts +1 -1
  242. package/components/ecl-link/ecl-link.directive.d.ts.map +1 -1
  243. package/components/ecl-link/ecl-link.module.d.ts +6 -2
  244. package/components/ecl-link/ecl-link.module.d.ts.map +1 -1
  245. package/components/ecl-link/index.d.ts +3 -0
  246. package/components/ecl-link/index.d.ts.map +1 -1
  247. package/components/ecl-list/ecl-description-list-definition/ecl-description-list-definition.component.d.ts +1 -1
  248. package/components/ecl-list/ecl-description-list-definition/ecl-description-list-definition.component.d.ts.map +1 -1
  249. package/components/ecl-list/ecl-description-list-definition-item.directive.d.ts +2 -2
  250. package/components/ecl-list/ecl-description-list-definition-item.directive.d.ts.map +1 -1
  251. package/components/ecl-list/ecl-list.directive.d.ts +6 -6
  252. package/components/ecl-list/ecl-list.directive.d.ts.map +1 -1
  253. package/components/ecl-list/ecl-list.module.d.ts +6 -4
  254. package/components/ecl-list/ecl-list.module.d.ts.map +1 -1
  255. package/components/ecl-list/index.d.ts +4 -0
  256. package/components/ecl-list/index.d.ts.map +1 -1
  257. package/components/ecl-list-illustration/ecl-list-illustration-icon.directive.d.ts +1 -1
  258. package/components/ecl-list-illustration/ecl-list-illustration-icon.directive.d.ts.map +1 -1
  259. package/components/ecl-list-illustration/ecl-list-illustration-item.component.d.ts +1 -1
  260. package/components/ecl-list-illustration/ecl-list-illustration-item.component.d.ts.map +1 -1
  261. package/components/ecl-list-illustration/ecl-list-illustration-picture.directive.d.ts +2 -2
  262. package/components/ecl-list-illustration/ecl-list-illustration-picture.directive.d.ts.map +1 -1
  263. package/components/ecl-list-illustration/ecl-list-illustration.component.d.ts +1 -1
  264. package/components/ecl-list-illustration/ecl-list-illustration.component.d.ts.map +1 -1
  265. package/components/ecl-list-illustration/ecl-list-illustration.module.d.ts +6 -3
  266. package/components/ecl-list-illustration/ecl-list-illustration.module.d.ts.map +1 -1
  267. package/components/ecl-list-illustration/index.d.ts +5 -0
  268. package/components/ecl-list-illustration/index.d.ts.map +1 -1
  269. package/components/ecl-loading-indicator/ecl-loading-indicator-label.directive.d.ts +1 -1
  270. package/components/ecl-loading-indicator/ecl-loading-indicator-label.directive.d.ts.map +1 -1
  271. package/components/ecl-loading-indicator/ecl-loading-indicator-overlay.directive.d.ts +1 -1
  272. package/components/ecl-loading-indicator/ecl-loading-indicator-overlay.directive.d.ts.map +1 -1
  273. package/components/ecl-loading-indicator/ecl-loading-indicator.component.d.ts +1 -1
  274. package/components/ecl-loading-indicator/ecl-loading-indicator.component.d.ts.map +1 -1
  275. package/components/ecl-loading-indicator/ecl-loading-indicator.module.d.ts +7 -3
  276. package/components/ecl-loading-indicator/ecl-loading-indicator.module.d.ts.map +1 -1
  277. package/components/ecl-loading-indicator/index.d.ts +4 -0
  278. package/components/ecl-loading-indicator/index.d.ts.map +1 -1
  279. package/components/ecl-media-container/ecl-media-container-iframe.directive.d.ts +1 -1
  280. package/components/ecl-media-container/ecl-media-container-iframe.directive.d.ts.map +1 -1
  281. package/components/ecl-media-container/ecl-media-container-item-audio-description.directive.d.ts +1 -1
  282. package/components/ecl-media-container/ecl-media-container-item-audio-description.directive.d.ts.map +1 -1
  283. package/components/ecl-media-container/ecl-media-container-item.directive.d.ts +1 -1
  284. package/components/ecl-media-container/ecl-media-container-item.directive.d.ts.map +1 -1
  285. package/components/ecl-media-container/ecl-media-container-picture.directive.d.ts +1 -1
  286. package/components/ecl-media-container/ecl-media-container-picture.directive.d.ts.map +1 -1
  287. package/components/ecl-media-container/ecl-media-container.component.d.ts +1 -1
  288. package/components/ecl-media-container/ecl-media-container.component.d.ts.map +1 -1
  289. package/components/ecl-media-container/ecl-media-container.module.d.ts +6 -5
  290. package/components/ecl-media-container/ecl-media-container.module.d.ts.map +1 -1
  291. package/components/ecl-media-container/index.d.ts +6 -0
  292. package/components/ecl-media-container/index.d.ts.map +1 -1
  293. package/components/ecl-mega-menu/directives/ecl-mega-menu-container.directive.d.ts +1 -1
  294. package/components/ecl-mega-menu/directives/ecl-mega-menu-container.directive.d.ts.map +1 -1
  295. package/components/ecl-mega-menu/directives/ecl-mega-menu-featured-list.directive.d.ts +2 -2
  296. package/components/ecl-mega-menu/directives/ecl-mega-menu-featured-list.directive.d.ts.map +1 -1
  297. package/components/ecl-mega-menu/directives/ecl-mega-menu-featured-picture.directive.d.ts +2 -2
  298. package/components/ecl-mega-menu/directives/ecl-mega-menu-featured-picture.directive.d.ts.map +1 -1
  299. package/components/ecl-mega-menu/directives/ecl-mega-menu-list.directive.d.ts +3 -3
  300. package/components/ecl-mega-menu/directives/ecl-mega-menu-list.directive.d.ts.map +1 -1
  301. package/components/ecl-mega-menu/ecl-mega-menu-featured/ecl-mega-menu-featured.component.d.ts +1 -1
  302. package/components/ecl-mega-menu/ecl-mega-menu-featured/ecl-mega-menu-featured.component.d.ts.map +1 -1
  303. package/components/ecl-mega-menu/ecl-mega-menu-info/ecl-mega-menu-info.component.d.ts +1 -1
  304. package/components/ecl-mega-menu/ecl-mega-menu-info/ecl-mega-menu-info.component.d.ts.map +1 -1
  305. package/components/ecl-mega-menu/ecl-mega-menu-item/ecl-mega-menu-item.component.d.ts +1 -1
  306. package/components/ecl-mega-menu/ecl-mega-menu-item/ecl-mega-menu-item.component.d.ts.map +1 -1
  307. package/components/ecl-mega-menu/ecl-mega-menu-subitem/ecl-mega-menu-subitem.component.d.ts +1 -1
  308. package/components/ecl-mega-menu/ecl-mega-menu-subitem/ecl-mega-menu-subitem.component.d.ts.map +1 -1
  309. package/components/ecl-mega-menu/ecl-mega-menu.component.d.ts +1 -1
  310. package/components/ecl-mega-menu/ecl-mega-menu.component.d.ts.map +1 -1
  311. package/components/ecl-mega-menu/ecl-mega-menu.module.d.ts +6 -8
  312. package/components/ecl-mega-menu/ecl-mega-menu.module.d.ts.map +1 -1
  313. package/components/ecl-mega-menu/index.d.ts +10 -0
  314. package/components/ecl-mega-menu/index.d.ts.map +1 -1
  315. package/components/ecl-menu/ecl-menu/ecl-menu-item.component.d.ts +1 -1
  316. package/components/ecl-menu/ecl-menu/ecl-menu-item.component.d.ts.map +1 -1
  317. package/components/ecl-menu/ecl-menu/ecl-menu.component.d.ts +1 -1
  318. package/components/ecl-menu/ecl-menu/ecl-menu.component.d.ts.map +1 -1
  319. package/components/ecl-menu/ecl-menu-mega/ecl-menu-mega-item.component.d.ts +1 -1
  320. package/components/ecl-menu/ecl-menu-mega/ecl-menu-mega-item.component.d.ts.map +1 -1
  321. package/components/ecl-menu/ecl-menu-mega/ecl-menu-mega.component.d.ts +1 -1
  322. package/components/ecl-menu/ecl-menu-mega/ecl-menu-mega.component.d.ts.map +1 -1
  323. package/components/ecl-menu/ecl-menu.module.d.ts +6 -8
  324. package/components/ecl-menu/ecl-menu.module.d.ts.map +1 -1
  325. package/components/ecl-menu/index.d.ts +3 -0
  326. package/components/ecl-menu/index.d.ts.map +1 -1
  327. package/components/ecl-modal/ecl-modal-body-fixed.directive.d.ts +1 -1
  328. package/components/ecl-modal/ecl-modal-body-fixed.directive.d.ts.map +1 -1
  329. package/components/ecl-modal/ecl-modal-body.component.d.ts +1 -1
  330. package/components/ecl-modal/ecl-modal-body.component.d.ts.map +1 -1
  331. package/components/ecl-modal/ecl-modal-close.directive.d.ts +1 -1
  332. package/components/ecl-modal/ecl-modal-close.directive.d.ts.map +1 -1
  333. package/components/ecl-modal/ecl-modal-footer.component.d.ts +1 -1
  334. package/components/ecl-modal/ecl-modal-footer.component.d.ts.map +1 -1
  335. package/components/ecl-modal/ecl-modal-header.component.d.ts +1 -1
  336. package/components/ecl-modal/ecl-modal-header.component.d.ts.map +1 -1
  337. package/components/ecl-modal/ecl-modal-trigger.directive.d.ts +1 -1
  338. package/components/ecl-modal/ecl-modal-trigger.directive.d.ts.map +1 -1
  339. package/components/ecl-modal/ecl-modal.component.d.ts +1 -1
  340. package/components/ecl-modal/ecl-modal.component.d.ts.map +1 -1
  341. package/components/ecl-modal/ecl-modal.module.d.ts +7 -6
  342. package/components/ecl-modal/ecl-modal.module.d.ts.map +1 -1
  343. package/components/ecl-modal/index.d.ts +8 -0
  344. package/components/ecl-modal/index.d.ts.map +1 -1
  345. package/components/ecl-multiselect/boldText.pipe.d.ts +1 -1
  346. package/components/ecl-multiselect/boldText.pipe.d.ts.map +1 -1
  347. package/components/ecl-multiselect/ecl-multiselect-dropdown/ecl-multiselect-dropdown.component.d.ts +1 -1
  348. package/components/ecl-multiselect/ecl-multiselect-dropdown/ecl-multiselect-dropdown.component.d.ts.map +1 -1
  349. package/components/ecl-multiselect/ecl-multiselect-input/ecl-multiselect-input.component.d.ts +1 -1
  350. package/components/ecl-multiselect/ecl-multiselect-input/ecl-multiselect-input.component.d.ts.map +1 -1
  351. package/components/ecl-multiselect/ecl-multiselect-optgroup/ecl-multiselect-optgroup.component.d.ts +1 -1
  352. package/components/ecl-multiselect/ecl-multiselect-optgroup/ecl-multiselect-optgroup.component.d.ts.map +1 -1
  353. package/components/ecl-multiselect/ecl-multiselect-option/ecl-multiselect-option.component.d.ts +3 -3
  354. package/components/ecl-multiselect/ecl-multiselect-option/ecl-multiselect-option.component.d.ts.map +1 -1
  355. package/components/ecl-multiselect/ecl-multiselect-option.directive.d.ts +1 -1
  356. package/components/ecl-multiselect/ecl-multiselect-option.directive.d.ts.map +1 -1
  357. package/components/ecl-multiselect/ecl-multiselect.component.d.ts +1 -1
  358. package/components/ecl-multiselect/ecl-multiselect.component.d.ts.map +1 -1
  359. package/components/ecl-multiselect/ecl-multiselect.module.d.ts +6 -7
  360. package/components/ecl-multiselect/ecl-multiselect.module.d.ts.map +1 -1
  361. package/components/ecl-multiselect/index.d.ts +8 -0
  362. package/components/ecl-multiselect/index.d.ts.map +1 -1
  363. package/components/ecl-navigation-list/ecl-navigation-list-item.component.d.ts +1 -1
  364. package/components/ecl-navigation-list/ecl-navigation-list-item.component.d.ts.map +1 -1
  365. package/components/ecl-navigation-list/ecl-navigation-list-picture.directive.d.ts +2 -2
  366. package/components/ecl-navigation-list/ecl-navigation-list-picture.directive.d.ts.map +1 -1
  367. package/components/ecl-navigation-list/ecl-navigation-list.component.d.ts +1 -1
  368. package/components/ecl-navigation-list/ecl-navigation-list.component.d.ts.map +1 -1
  369. package/components/ecl-navigation-list/ecl-navigation-list.module.d.ts +6 -2
  370. package/components/ecl-navigation-list/ecl-navigation-list.module.d.ts.map +1 -1
  371. package/components/ecl-navigation-list/index.d.ts +4 -0
  372. package/components/ecl-navigation-list/index.d.ts.map +1 -1
  373. package/components/ecl-news-ticker/ecl-news-ticker-icon.directive.d.ts +1 -1
  374. package/components/ecl-news-ticker/ecl-news-ticker-icon.directive.d.ts.map +1 -1
  375. package/components/ecl-news-ticker/ecl-news-ticker-item.component.d.ts +1 -1
  376. package/components/ecl-news-ticker/ecl-news-ticker-item.component.d.ts.map +1 -1
  377. package/components/ecl-news-ticker/ecl-news-ticker.component.d.ts +1 -1
  378. package/components/ecl-news-ticker/ecl-news-ticker.component.d.ts.map +1 -1
  379. package/components/ecl-news-ticker/ecl-news-ticker.module.d.ts +7 -6
  380. package/components/ecl-news-ticker/ecl-news-ticker.module.d.ts.map +1 -1
  381. package/components/ecl-news-ticker/index.d.ts +4 -0
  382. package/components/ecl-news-ticker/index.d.ts.map +1 -1
  383. package/components/ecl-notification/ecl-notification-title.directive.d.ts +1 -1
  384. package/components/ecl-notification/ecl-notification-title.directive.d.ts.map +1 -1
  385. package/components/ecl-notification/ecl-notification.component.d.ts +1 -1
  386. package/components/ecl-notification/ecl-notification.component.d.ts.map +1 -1
  387. package/components/ecl-notification/ecl-notification.module.d.ts +7 -6
  388. package/components/ecl-notification/ecl-notification.module.d.ts.map +1 -1
  389. package/components/ecl-notification/index.d.ts +3 -0
  390. package/components/ecl-notification/index.d.ts.map +1 -1
  391. package/components/ecl-page-header/ecl-page-header-background.directive.d.ts +2 -2
  392. package/components/ecl-page-header/ecl-page-header-background.directive.d.ts.map +1 -1
  393. package/components/ecl-page-header/ecl-page-header-description.directive.d.ts +4 -4
  394. package/components/ecl-page-header/ecl-page-header-description.directive.d.ts.map +1 -1
  395. package/components/ecl-page-header/ecl-page-header-info.directive.d.ts +1 -1
  396. package/components/ecl-page-header/ecl-page-header-info.directive.d.ts.map +1 -1
  397. package/components/ecl-page-header/ecl-page-header-meta.directive.d.ts +2 -2
  398. package/components/ecl-page-header/ecl-page-header-meta.directive.d.ts.map +1 -1
  399. package/components/ecl-page-header/ecl-page-header-title.directive.d.ts +1 -1
  400. package/components/ecl-page-header/ecl-page-header-title.directive.d.ts.map +1 -1
  401. package/components/ecl-page-header/ecl-page-header.component.d.ts +1 -1
  402. package/components/ecl-page-header/ecl-page-header.component.d.ts.map +1 -1
  403. package/components/ecl-page-header/ecl-page-header.module.d.ts +6 -2
  404. package/components/ecl-page-header/ecl-page-header.module.d.ts.map +1 -1
  405. package/components/ecl-page-header/index.d.ts +7 -0
  406. package/components/ecl-page-header/index.d.ts.map +1 -1
  407. package/components/ecl-pagination/ecl-pagination-item.component.d.ts +1 -1
  408. package/components/ecl-pagination/ecl-pagination-item.component.d.ts.map +1 -1
  409. package/components/ecl-pagination/ecl-pagination-list.directive.d.ts +1 -1
  410. package/components/ecl-pagination/ecl-pagination-list.directive.d.ts.map +1 -1
  411. package/components/ecl-pagination/ecl-pagination.component.d.ts +1 -1
  412. package/components/ecl-pagination/ecl-pagination.component.d.ts.map +1 -1
  413. package/components/ecl-pagination/ecl-pagination.module.d.ts +6 -6
  414. package/components/ecl-pagination/ecl-pagination.module.d.ts.map +1 -1
  415. package/components/ecl-pagination/index.d.ts +4 -0
  416. package/components/ecl-pagination/index.d.ts.map +1 -1
  417. package/components/ecl-popover/ecl-popover-content.directive.d.ts +1 -1
  418. package/components/ecl-popover/ecl-popover-content.directive.d.ts.map +1 -1
  419. package/components/ecl-popover/ecl-popover-toggle.directive.d.ts +1 -1
  420. package/components/ecl-popover/ecl-popover-toggle.directive.d.ts.map +1 -1
  421. package/components/ecl-popover/ecl-popover.component.d.ts +1 -1
  422. package/components/ecl-popover/ecl-popover.component.d.ts.map +1 -1
  423. package/components/ecl-popover/ecl-popover.module.d.ts +7 -5
  424. package/components/ecl-popover/ecl-popover.module.d.ts.map +1 -1
  425. package/components/ecl-popover/index.d.ts +4 -0
  426. package/components/ecl-popover/index.d.ts.map +1 -1
  427. package/components/ecl-radio/ecl-radio-help.component.d.ts +1 -1
  428. package/components/ecl-radio/ecl-radio-help.component.d.ts.map +1 -1
  429. package/components/ecl-radio/ecl-radio-input.directive.d.ts +1 -1
  430. package/components/ecl-radio/ecl-radio-input.directive.d.ts.map +1 -1
  431. package/components/ecl-radio/ecl-radio-label.component.d.ts +1 -1
  432. package/components/ecl-radio/ecl-radio-label.component.d.ts.map +1 -1
  433. package/components/ecl-radio/ecl-radio.directive.d.ts +1 -1
  434. package/components/ecl-radio/ecl-radio.directive.d.ts.map +1 -1
  435. package/components/ecl-radio/ecl-radio.module.d.ts +6 -2
  436. package/components/ecl-radio/ecl-radio.module.d.ts.map +1 -1
  437. package/components/ecl-radio/index.d.ts +5 -0
  438. package/components/ecl-radio/index.d.ts.map +1 -1
  439. package/components/ecl-range/ecl-range-bubble.component.d.ts +1 -1
  440. package/components/ecl-range/ecl-range-bubble.component.d.ts.map +1 -1
  441. package/components/ecl-range/ecl-range-value.component.d.ts +1 -1
  442. package/components/ecl-range/ecl-range-value.component.d.ts.map +1 -1
  443. package/components/ecl-range/ecl-range.directive.d.ts +1 -1
  444. package/components/ecl-range/ecl-range.directive.d.ts.map +1 -1
  445. package/components/ecl-range/ecl-range.module.d.ts +6 -3
  446. package/components/ecl-range/ecl-range.module.d.ts.map +1 -1
  447. package/components/ecl-range/index.d.ts +4 -0
  448. package/components/ecl-range/index.d.ts.map +1 -1
  449. package/components/ecl-rating-field/ecl-rating-field.component.d.ts +1 -1
  450. package/components/ecl-rating-field/ecl-rating-field.component.d.ts.map +1 -1
  451. package/components/ecl-rating-field/ecl-rating-field.module.d.ts +6 -3
  452. package/components/ecl-rating-field/ecl-rating-field.module.d.ts.map +1 -1
  453. package/components/ecl-rating-field/index.d.ts +2 -0
  454. package/components/ecl-rating-field/index.d.ts.map +1 -1
  455. package/components/ecl-search-form/ecl-search-form.component.d.ts +1 -1
  456. package/components/ecl-search-form/ecl-search-form.component.d.ts.map +1 -1
  457. package/components/ecl-search-form/ecl-search-form.module.d.ts +6 -9
  458. package/components/ecl-search-form/ecl-search-form.module.d.ts.map +1 -1
  459. package/components/ecl-search-form/index.d.ts +2 -0
  460. package/components/ecl-search-form/index.d.ts.map +1 -1
  461. package/components/ecl-select/ecl-select-container.component.d.ts +1 -1
  462. package/components/ecl-select/ecl-select-container.component.d.ts.map +1 -1
  463. package/components/ecl-select/ecl-select.directive.d.ts +1 -1
  464. package/components/ecl-select/ecl-select.directive.d.ts.map +1 -1
  465. package/components/ecl-select/ecl-select.module.d.ts +7 -5
  466. package/components/ecl-select/ecl-select.module.d.ts.map +1 -1
  467. package/components/ecl-select/index.d.ts +3 -0
  468. package/components/ecl-select/index.d.ts.map +1 -1
  469. package/components/ecl-separator/ecl-separator.directive.d.ts +1 -1
  470. package/components/ecl-separator/ecl-separator.directive.d.ts.map +1 -1
  471. package/components/ecl-separator/ecl-separator.module.d.ts +6 -2
  472. package/components/ecl-separator/ecl-separator.module.d.ts.map +1 -1
  473. package/components/ecl-separator/index.d.ts +2 -0
  474. package/components/ecl-separator/index.d.ts.map +1 -1
  475. package/components/ecl-site-footer/ecl-footer-elements/ec/ecl-site-footer-fixed-content.d.ts +1 -1
  476. package/components/ecl-site-footer/ecl-footer-elements/ec/ecl-site-footer-fixed-content.d.ts.map +1 -1
  477. package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-column.directive.d.ts +3 -3
  478. package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-column.directive.d.ts.map +1 -1
  479. package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-description.directive.d.ts +1 -1
  480. package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-description.directive.d.ts.map +1 -1
  481. package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-link.directive.d.ts +4 -4
  482. package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-link.directive.d.ts.map +1 -1
  483. package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-list.directive.d.ts +5 -5
  484. package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-list.directive.d.ts.map +1 -1
  485. package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-section.directive.d.ts +1 -1
  486. package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-section.directive.d.ts.map +1 -1
  487. package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-title.directive.d.ts +2 -2
  488. package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-title.directive.d.ts.map +1 -1
  489. package/components/ecl-site-footer/ecl-footer-elements/eu/ecl-site-footer-fixed-content.d.ts +1 -1
  490. package/components/ecl-site-footer/ecl-footer-elements/eu/ecl-site-footer-fixed-content.d.ts.map +1 -1
  491. package/components/ecl-site-footer/ecl-site-footer.component.d.ts +1 -1
  492. package/components/ecl-site-footer/ecl-site-footer.component.d.ts.map +1 -1
  493. package/components/ecl-site-footer/ecl-site-footer.module.d.ts +6 -5
  494. package/components/ecl-site-footer/ecl-site-footer.module.d.ts.map +1 -1
  495. package/components/ecl-site-footer/index.d.ts +3 -0
  496. package/components/ecl-site-footer/index.d.ts.map +1 -1
  497. package/components/ecl-site-header/action/ecl-site-header-action.component.d.ts +1 -1
  498. package/components/ecl-site-header/action/ecl-site-header-action.component.d.ts.map +1 -1
  499. package/components/ecl-site-header/banner-top/ecl-site-header-banner-top.component.d.ts +1 -1
  500. package/components/ecl-site-header/banner-top/ecl-site-header-banner-top.component.d.ts.map +1 -1
  501. package/components/ecl-site-header/cta/ecl-site-header-cta.directive.d.ts +1 -1
  502. package/components/ecl-site-header/cta/ecl-site-header-cta.directive.d.ts.map +1 -1
  503. package/components/ecl-site-header/custom-action/ecl-site-header-custom-action.component.d.ts +1 -1
  504. package/components/ecl-site-header/custom-action/ecl-site-header-custom-action.component.d.ts.map +1 -1
  505. package/components/ecl-site-header/custom-action/ecl-site-header-custom-action.directive.d.ts +3 -3
  506. package/components/ecl-site-header/custom-action/ecl-site-header-custom-action.directive.d.ts.map +1 -1
  507. package/components/ecl-site-header/ecl-site-header-environment/ecl-site-header-environment.component.d.ts +1 -1
  508. package/components/ecl-site-header/ecl-site-header-environment/ecl-site-header-environment.component.d.ts.map +1 -1
  509. package/components/ecl-site-header/ecl-site-header.component.d.ts +1 -1
  510. package/components/ecl-site-header/ecl-site-header.component.d.ts.map +1 -1
  511. package/components/ecl-site-header/ecl-site-header.module.d.ts +6 -10
  512. package/components/ecl-site-header/ecl-site-header.module.d.ts.map +1 -1
  513. package/components/ecl-site-header/index.d.ts +13 -0
  514. package/components/ecl-site-header/index.d.ts.map +1 -1
  515. package/components/ecl-site-header/language/ecl-site-header-language-popover.component.d.ts +1 -1
  516. package/components/ecl-site-header/language/ecl-site-header-language-popover.component.d.ts.map +1 -1
  517. package/components/ecl-site-header/language/ecl-site-header-language.component.d.ts +1 -1
  518. package/components/ecl-site-header/language/ecl-site-header-language.component.d.ts.map +1 -1
  519. package/components/ecl-site-header/login/ecl-site-header-login-details.directive.d.ts +2 -2
  520. package/components/ecl-site-header/login/ecl-site-header-login-details.directive.d.ts.map +1 -1
  521. package/components/ecl-site-header/login/ecl-site-header-login.component.d.ts +1 -1
  522. package/components/ecl-site-header/login/ecl-site-header-login.component.d.ts.map +1 -1
  523. package/components/ecl-site-header/notification/ecl-site-header-notification.component.d.ts +1 -1
  524. package/components/ecl-site-header/notification/ecl-site-header-notification.component.d.ts.map +1 -1
  525. package/components/ecl-site-header/picture/ecl-site-header-picture.directive.d.ts +3 -3
  526. package/components/ecl-site-header/picture/ecl-site-header-picture.directive.d.ts.map +1 -1
  527. package/components/ecl-site-header/search/ecl-site-header-search.component.d.ts +1 -1
  528. package/components/ecl-site-header/search/ecl-site-header-search.component.d.ts.map +1 -1
  529. package/components/ecl-social-media-follow/ecl-social-media-follow-item.component.d.ts +1 -1
  530. package/components/ecl-social-media-follow/ecl-social-media-follow-item.component.d.ts.map +1 -1
  531. package/components/ecl-social-media-follow/ecl-social-media-follow-link.directive.d.ts +1 -1
  532. package/components/ecl-social-media-follow/ecl-social-media-follow-link.directive.d.ts.map +1 -1
  533. package/components/ecl-social-media-follow/ecl-social-media-follow.component.d.ts +1 -1
  534. package/components/ecl-social-media-follow/ecl-social-media-follow.component.d.ts.map +1 -1
  535. package/components/ecl-social-media-follow/ecl-social-media-follow.module.d.ts +6 -5
  536. package/components/ecl-social-media-follow/ecl-social-media-follow.module.d.ts.map +1 -1
  537. package/components/ecl-social-media-follow/index.d.ts +4 -0
  538. package/components/ecl-social-media-follow/index.d.ts.map +1 -1
  539. package/components/ecl-social-media-share/ecl-social-media-share-item.component.d.ts +1 -1
  540. package/components/ecl-social-media-share/ecl-social-media-share-item.component.d.ts.map +1 -1
  541. package/components/ecl-social-media-share/ecl-social-media-share-link.directive.d.ts +1 -1
  542. package/components/ecl-social-media-share/ecl-social-media-share-link.directive.d.ts.map +1 -1
  543. package/components/ecl-social-media-share/ecl-social-media-share.component.d.ts +1 -1
  544. package/components/ecl-social-media-share/ecl-social-media-share.component.d.ts.map +1 -1
  545. package/components/ecl-social-media-share/ecl-social-media-share.module.d.ts +6 -4
  546. package/components/ecl-social-media-share/ecl-social-media-share.module.d.ts.map +1 -1
  547. package/components/ecl-social-media-share/index.d.ts +4 -0
  548. package/components/ecl-social-media-share/index.d.ts.map +1 -1
  549. package/components/ecl-splash-page/ecl-splash-page-language-category/ecl-splash-page-language-category.component.d.ts +1 -1
  550. package/components/ecl-splash-page/ecl-splash-page-language-category/ecl-splash-page-language-category.component.d.ts.map +1 -1
  551. package/components/ecl-splash-page/ecl-splash-page-language-container/ecl-splash-page-language-container.component.d.ts +1 -1
  552. package/components/ecl-splash-page/ecl-splash-page-language-container/ecl-splash-page-language-container.component.d.ts.map +1 -1
  553. package/components/ecl-splash-page/ecl-splash-page-language-link/ecl-splash-page-language-link.component.d.ts +1 -1
  554. package/components/ecl-splash-page/ecl-splash-page-language-link/ecl-splash-page-language-link.component.d.ts.map +1 -1
  555. package/components/ecl-splash-page/ecl-splash-page-language-list.directive.d.ts +2 -2
  556. package/components/ecl-splash-page/ecl-splash-page-language-list.directive.d.ts.map +1 -1
  557. package/components/ecl-splash-page/ecl-splash-page-picture.directive.d.ts +3 -3
  558. package/components/ecl-splash-page/ecl-splash-page-picture.directive.d.ts.map +1 -1
  559. package/components/ecl-splash-page/ecl-splash-page.component.d.ts +1 -1
  560. package/components/ecl-splash-page/ecl-splash-page.component.d.ts.map +1 -1
  561. package/components/ecl-splash-page/ecl-splash-page.module.d.ts +6 -2
  562. package/components/ecl-splash-page/ecl-splash-page.module.d.ts.map +1 -1
  563. package/components/ecl-splash-page/index.d.ts +7 -0
  564. package/components/ecl-splash-page/index.d.ts.map +1 -1
  565. package/components/ecl-sticky-container/ecl-sticky-container.component.d.ts +1 -1
  566. package/components/ecl-sticky-container/ecl-sticky-container.component.d.ts.map +1 -1
  567. package/components/ecl-sticky-container/ecl-sticky-container.module.d.ts +6 -2
  568. package/components/ecl-sticky-container/ecl-sticky-container.module.d.ts.map +1 -1
  569. package/components/ecl-sticky-container/index.d.ts +2 -0
  570. package/components/ecl-sticky-container/index.d.ts.map +1 -1
  571. package/components/ecl-table/ecl-table-sort-button.component.d.ts +1 -1
  572. package/components/ecl-table/ecl-table-sort-button.component.d.ts.map +1 -1
  573. package/components/ecl-table/ecl-table.directive.d.ts +9 -9
  574. package/components/ecl-table/ecl-table.directive.d.ts.map +1 -1
  575. package/components/ecl-table/ecl-table.module.d.ts +6 -3
  576. package/components/ecl-table/ecl-table.module.d.ts.map +1 -1
  577. package/components/ecl-table/index.d.ts +3 -0
  578. package/components/ecl-table/index.d.ts.map +1 -1
  579. package/components/ecl-tabs/ecl-tab-label.component.d.ts +1 -1
  580. package/components/ecl-tabs/ecl-tab-label.component.d.ts.map +1 -1
  581. package/components/ecl-tabs/ecl-tab-more.component.d.ts +1 -1
  582. package/components/ecl-tabs/ecl-tab-more.component.d.ts.map +1 -1
  583. package/components/ecl-tabs/ecl-tab.component.d.ts +1 -1
  584. package/components/ecl-tabs/ecl-tab.component.d.ts.map +1 -1
  585. package/components/ecl-tabs/ecl-tabs.component.d.ts +1 -1
  586. package/components/ecl-tabs/ecl-tabs.component.d.ts.map +1 -1
  587. package/components/ecl-tabs/ecl-tabs.module.d.ts +6 -7
  588. package/components/ecl-tabs/ecl-tabs.module.d.ts.map +1 -1
  589. package/components/ecl-tabs/index.d.ts +5 -0
  590. package/components/ecl-tabs/index.d.ts.map +1 -1
  591. package/components/ecl-tag/ecl-tag-icon.directive.d.ts +1 -1
  592. package/components/ecl-tag/ecl-tag-icon.directive.d.ts.map +1 -1
  593. package/components/ecl-tag/ecl-tag-set.directive.d.ts +2 -2
  594. package/components/ecl-tag/ecl-tag-set.directive.d.ts.map +1 -1
  595. package/components/ecl-tag/ecl-tag.component.d.ts +1 -1
  596. package/components/ecl-tag/ecl-tag.component.d.ts.map +1 -1
  597. package/components/ecl-tag/ecl-tag.module.d.ts +6 -3
  598. package/components/ecl-tag/ecl-tag.module.d.ts.map +1 -1
  599. package/components/ecl-tag/index.d.ts +4 -0
  600. package/components/ecl-tag/index.d.ts.map +1 -1
  601. package/components/ecl-text-area/ecl-text-area.directive.d.ts +1 -1
  602. package/components/ecl-text-area/ecl-text-area.directive.d.ts.map +1 -1
  603. package/components/ecl-text-area/ecl-text-area.module.d.ts +7 -2
  604. package/components/ecl-text-area/ecl-text-area.module.d.ts.map +1 -1
  605. package/components/ecl-text-area/index.d.ts +2 -0
  606. package/components/ecl-text-area/index.d.ts.map +1 -1
  607. package/components/ecl-text-input/ecl-text-input.directive.d.ts.map +1 -1
  608. package/components/ecl-text-input/ecl-text-input.module.d.ts +8 -3
  609. package/components/ecl-text-input/ecl-text-input.module.d.ts.map +1 -1
  610. package/components/ecl-text-input/index.d.ts +2 -0
  611. package/components/ecl-text-input/index.d.ts.map +1 -1
  612. package/components/ecl-timeline/ecl-timeline-item-label.directive.d.ts +1 -1
  613. package/components/ecl-timeline/ecl-timeline-item-label.directive.d.ts.map +1 -1
  614. package/components/ecl-timeline/ecl-timeline-item-title.directive.d.ts +1 -1
  615. package/components/ecl-timeline/ecl-timeline-item-title.directive.d.ts.map +1 -1
  616. package/components/ecl-timeline/ecl-timeline-item-toggler.component.d.ts +1 -1
  617. package/components/ecl-timeline/ecl-timeline-item-toggler.component.d.ts.map +1 -1
  618. package/components/ecl-timeline/ecl-timeline-item.component.d.ts +1 -1
  619. package/components/ecl-timeline/ecl-timeline-item.component.d.ts.map +1 -1
  620. package/components/ecl-timeline/ecl-timeline.component.d.ts +1 -1
  621. package/components/ecl-timeline/ecl-timeline.component.d.ts.map +1 -1
  622. package/components/ecl-timeline/ecl-timeline.module.d.ts +6 -5
  623. package/components/ecl-timeline/ecl-timeline.module.d.ts.map +1 -1
  624. package/components/ecl-timeline/index.d.ts +6 -0
  625. package/components/ecl-timeline/index.d.ts.map +1 -1
  626. package/docs/components/EclAccordionComponent.html +8 -0
  627. package/docs/components/EclAccordionItemComponent.html +8 -0
  628. package/docs/components/EclBannerComponent.html +8 -0
  629. package/docs/components/EclBlockquoteComponent.html +6 -0
  630. package/docs/components/EclBreadcrumbComponent.html +9 -0
  631. package/docs/components/EclBreadcrumbSegmentComponent.html +9 -0
  632. package/docs/components/EclButtonComponent.html +7 -0
  633. package/docs/components/EclCarouselComponent.html +8 -0
  634. package/docs/components/EclCategoryFilterItemComponent.html +7 -0
  635. package/docs/components/EclCheckboxLabelComponent.html +6 -0
  636. package/docs/components/EclContentItemComponent.html +0 -43
  637. package/docs/components/EclDateBlockComponent.html +12 -0
  638. package/docs/components/EclDescriptionListDefinitionComponent.html +7 -0
  639. package/docs/components/EclExpandableComponent.html +8 -0
  640. package/docs/components/EclFileComponent.html +7 -0
  641. package/docs/components/EclFileItemsComponent.html +8 -0
  642. package/docs/components/EclFormLabelComponent.html +6 -0
  643. package/docs/components/EclGalleryComponent.html +9 -0
  644. package/docs/components/EclGalleryFooterComponent.html +7 -0
  645. package/docs/components/EclGalleryItemComponent.html +6 -0
  646. package/docs/components/EclIconComponent.html +15 -84
  647. package/docs/components/EclInpageNavigationComponent.html +9 -0
  648. package/docs/components/EclInpageNavigationItemComponent.html +6 -0
  649. package/docs/components/EclMediaContainerComponent.html +7 -0
  650. package/docs/components/EclMegaMenuComponent.html +8 -0
  651. package/docs/components/EclMegaMenuItemComponent.html +9 -0
  652. package/docs/components/EclMegaMenuSubitemComponent.html +10 -0
  653. package/docs/components/EclMenuComponent.html +8 -0
  654. package/docs/components/EclMenuItemComponent.html +10 -0
  655. package/docs/components/EclMenuMegaItemComponent.html +7 -0
  656. package/docs/components/EclModalBodyComponent.html +6 -0
  657. package/docs/components/EclModalComponent.html +6 -0
  658. package/docs/components/EclModalHeaderComponent.html +8 -0
  659. package/docs/components/EclMultiselectDropdownComponent.html +11 -0
  660. package/docs/components/EclMultiselectInputComponent.html +8 -0
  661. package/docs/components/EclMultiselectOptionComponent.html +7 -0
  662. package/docs/components/EclNewsTickerComponent.html +9 -0
  663. package/docs/components/EclNotificationComponent.html +10 -0
  664. package/docs/components/EclPageHeaderComponent.html +6 -0
  665. package/docs/components/EclPaginationComponent.html +7 -0
  666. package/docs/components/EclPaginationItemComponent.html +9 -0
  667. package/docs/components/EclPopoverComponent.html +7 -0
  668. package/docs/components/EclRangeValueComponent.html +6 -0
  669. package/docs/components/EclRatingFieldComponent.html +6 -0
  670. package/docs/components/EclSearchFormComponent.html +11 -0
  671. package/docs/components/EclSelectContainerComponent.html +8 -0
  672. package/docs/components/EclSiteFooterComponent.html +8 -0
  673. package/docs/components/EclSiteFooterFixedContentECComponent.html +16 -0
  674. package/docs/components/EclSiteFooterFixedContentEUComponent.html +17 -0
  675. package/docs/components/EclSiteHeaderComponent.html +9 -0
  676. package/docs/components/EclSiteHeaderCustomActionComponent.html +8 -0
  677. package/docs/components/EclSiteHeaderLanguageComponent.html +10 -0
  678. package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +9 -0
  679. package/docs/components/EclSiteHeaderLoginComponent.html +7 -0
  680. package/docs/components/EclSiteHeaderSearchComponent.html +9 -0
  681. package/docs/components/EclSocialMediaFollowItemComponent.html +9 -0
  682. package/docs/components/EclSocialMediaShareItemComponent.html +8 -0
  683. package/docs/components/EclTabComponent.html +6 -0
  684. package/docs/components/EclTableSortButtonComponent.html +7 -0
  685. package/docs/components/EclTabsComponent.html +11 -0
  686. package/docs/components/EclTagComponent.html +7 -0
  687. package/docs/components/EclTimelineItemComponent.html +8 -0
  688. package/docs/directives/EclBlockquoteImageDirective.html +4 -0
  689. package/docs/directives/EclCheckboxDirective.html +0 -4
  690. package/docs/directives/EclTextInputDirective.html +0 -4
  691. package/docs/js/menu-wc.js +603 -498
  692. package/docs/js/menu-wc_es5.js +1 -1
  693. package/docs/js/search/search_index.js +2 -2
  694. package/docs/miscellaneous/variables.html +1898 -72
  695. package/docs/modules/EclAccordionModule.html +20 -14
  696. package/docs/modules/EclAppModule.html +17 -11
  697. package/docs/modules/EclBannerModule.html +29 -29
  698. package/docs/modules/EclBlockquoteModule.html +22 -6
  699. package/docs/modules/EclBreadcrumbModule.html +29 -29
  700. package/docs/modules/EclButtonModule.html +23 -17
  701. package/docs/modules/EclCardModule.html +29 -26
  702. package/docs/modules/EclCarouselModule.html +22 -64
  703. package/docs/modules/EclCategoryFilterModule.html +21 -18
  704. package/docs/modules/EclCheckboxModule.html +29 -29
  705. package/docs/modules/EclContentBlockModule.html +29 -13
  706. package/docs/modules/EclContentItemModule.html +29 -13
  707. package/docs/modules/EclDateBlockModule.html +20 -4
  708. package/docs/modules/EclDatePickerModule.html +20 -4
  709. package/docs/modules/EclExpandableModule.html +17 -14
  710. package/docs/modules/EclFactFiguresModule.html +25 -9
  711. package/docs/modules/EclFeaturedModule.html +29 -23
  712. package/docs/modules/EclFeedbackMessageModule.html +20 -4
  713. package/docs/modules/EclFileModule.html +29 -32
  714. package/docs/modules/EclFileUploadModule.html +20 -4
  715. package/docs/modules/EclFormGroupModule.html +17 -11
  716. package/docs/modules/EclFormLabelModule.html +21 -5
  717. package/docs/modules/EclGalleryModule.html +29 -29
  718. package/docs/modules/EclHelpBlockModule.html +20 -4
  719. package/docs/modules/EclIconModule.html +20 -4
  720. package/docs/modules/EclInpageNavigationModule.html +29 -38
  721. package/docs/modules/EclLabelModule.html +20 -4
  722. package/docs/modules/EclLinkModule.html +23 -7
  723. package/docs/modules/EclListIllustrationModule.html +29 -13
  724. package/docs/modules/EclListModule.html +29 -23
  725. package/docs/modules/EclLoadingIndicatorModule.html +22 -6
  726. package/docs/modules/EclMediaContainerModule.html +29 -26
  727. package/docs/modules/EclMegaMenuModule.html +29 -29
  728. package/docs/modules/EclMenuModule.html +29 -29
  729. package/docs/modules/EclModalModule.html +29 -26
  730. package/docs/modules/EclMultiselectModule.html +55 -25
  731. package/docs/modules/EclNavigationListModule.html +29 -13
  732. package/docs/modules/EclNewsTickerModule.html +29 -29
  733. package/docs/modules/EclNotificationModule.html +18 -18
  734. package/docs/modules/EclPageHeaderModule.html +29 -13
  735. package/docs/modules/EclPaginationModule.html +29 -26
  736. package/docs/modules/EclPopoverModule.html +29 -29
  737. package/docs/modules/EclRadioModule.html +23 -7
  738. package/docs/modules/EclRangeModule.html +29 -13
  739. package/docs/modules/EclRatingFieldModule.html +18 -66
  740. package/docs/modules/EclSearchFormModule.html +17 -23
  741. package/docs/modules/EclSelectModule.html +29 -26
  742. package/docs/modules/EclSeparatorModule.html +20 -4
  743. package/docs/modules/EclSiteFooterModule.html +29 -26
  744. package/docs/modules/EclSiteHeaderModule.html +29 -44
  745. package/docs/modules/EclSocialMediaFollowModule.html +29 -26
  746. package/docs/modules/EclSocialMediaShareModule.html +29 -26
  747. package/docs/modules/EclSplashPageModule.html +29 -13
  748. package/docs/modules/EclStickyContainerModule.html +20 -4
  749. package/docs/modules/EclTableModule.html +29 -23
  750. package/docs/modules/EclTabsModule.html +29 -32
  751. package/docs/modules/EclTagModule.html +29 -23
  752. package/docs/modules/EclTextAreaModule.html +20 -4
  753. package/docs/modules/EclTextInputModule.html +16 -1
  754. package/docs/modules/EclTimelineModule.html +24 -21
  755. package/docs/properties.html +1 -1
  756. package/fesm2022/eui-ecl-components-ecl-accordion.mjs +57 -47
  757. package/fesm2022/eui-ecl-components-ecl-accordion.mjs.map +1 -1
  758. package/fesm2022/eui-ecl-components-ecl-app.mjs +17 -10
  759. package/fesm2022/eui-ecl-components-ecl-app.mjs.map +1 -1
  760. package/fesm2022/eui-ecl-components-ecl-banner.mjs +164 -152
  761. package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
  762. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs +21 -11
  763. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs.map +1 -1
  764. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs +26 -20
  765. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs.map +1 -1
  766. package/fesm2022/eui-ecl-components-ecl-button.mjs +27 -16
  767. package/fesm2022/eui-ecl-components-ecl-button.mjs.map +1 -1
  768. package/fesm2022/eui-ecl-components-ecl-card.mjs +56 -39
  769. package/fesm2022/eui-ecl-components-ecl-card.mjs.map +1 -1
  770. package/fesm2022/eui-ecl-components-ecl-carousel.mjs +28 -17
  771. package/fesm2022/eui-ecl-components-ecl-carousel.mjs.map +1 -1
  772. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs +28 -18
  773. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs.map +1 -1
  774. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs +23 -17
  775. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs.map +1 -1
  776. package/fesm2022/eui-ecl-components-ecl-content-block.mjs +50 -43
  777. package/fesm2022/eui-ecl-components-ecl-content-block.mjs.map +1 -1
  778. package/fesm2022/eui-ecl-components-ecl-content-item.mjs +34 -29
  779. package/fesm2022/eui-ecl-components-ecl-content-item.mjs.map +1 -1
  780. package/fesm2022/eui-ecl-components-ecl-date-block.mjs +20 -12
  781. package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
  782. package/fesm2022/eui-ecl-components-ecl-date-picker.mjs +16 -10
  783. package/fesm2022/eui-ecl-components-ecl-date-picker.mjs.map +1 -1
  784. package/fesm2022/eui-ecl-components-ecl-expandable.mjs +17 -10
  785. package/fesm2022/eui-ecl-components-ecl-expandable.mjs.map +1 -1
  786. package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs +32 -21
  787. package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs.map +1 -1
  788. package/fesm2022/eui-ecl-components-ecl-featured.mjs +140 -120
  789. package/fesm2022/eui-ecl-components-ecl-featured.mjs.map +1 -1
  790. package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs +14 -8
  791. package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs.map +1 -1
  792. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs +15 -8
  793. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs.map +1 -1
  794. package/fesm2022/eui-ecl-components-ecl-file.mjs +131 -129
  795. package/fesm2022/eui-ecl-components-ecl-file.mjs.map +1 -1
  796. package/fesm2022/eui-ecl-components-ecl-form-group.mjs +15 -10
  797. package/fesm2022/eui-ecl-components-ecl-form-group.mjs.map +1 -1
  798. package/fesm2022/eui-ecl-components-ecl-form-label.mjs +38 -32
  799. package/fesm2022/eui-ecl-components-ecl-form-label.mjs.map +1 -1
  800. package/fesm2022/eui-ecl-components-ecl-gallery.mjs +40 -31
  801. package/fesm2022/eui-ecl-components-ecl-gallery.mjs.map +1 -1
  802. package/fesm2022/eui-ecl-components-ecl-help-block.mjs +14 -8
  803. package/fesm2022/eui-ecl-components-ecl-help-block.mjs.map +1 -1
  804. package/fesm2022/eui-ecl-components-ecl-icon.mjs +32 -28
  805. package/fesm2022/eui-ecl-components-ecl-icon.mjs.map +1 -1
  806. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +31 -25
  807. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
  808. package/fesm2022/eui-ecl-components-ecl-label.mjs +14 -8
  809. package/fesm2022/eui-ecl-components-ecl-label.mjs.map +1 -1
  810. package/fesm2022/eui-ecl-components-ecl-link.mjs +64 -61
  811. package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
  812. package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs +25 -18
  813. package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs.map +1 -1
  814. package/fesm2022/eui-ecl-components-ecl-list.mjs +34 -27
  815. package/fesm2022/eui-ecl-components-ecl-list.mjs.map +1 -1
  816. package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs +20 -13
  817. package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs.map +1 -1
  818. package/fesm2022/eui-ecl-components-ecl-media-container.mjs +67 -61
  819. package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
  820. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +59 -66
  821. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
  822. package/fesm2022/eui-ecl-components-ecl-menu.mjs +36 -49
  823. package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
  824. package/fesm2022/eui-ecl-components-ecl-modal.mjs +98 -80
  825. package/fesm2022/eui-ecl-components-ecl-modal.mjs.map +1 -1
  826. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs +219 -214
  827. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
  828. package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs +61 -53
  829. package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs.map +1 -1
  830. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs +39 -17
  831. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
  832. package/fesm2022/eui-ecl-components-ecl-notification.mjs +30 -17
  833. package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
  834. package/fesm2022/eui-ecl-components-ecl-page-header.mjs +118 -111
  835. package/fesm2022/eui-ecl-components-ecl-page-header.mjs.map +1 -1
  836. package/fesm2022/eui-ecl-components-ecl-pagination.mjs +73 -67
  837. package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
  838. package/fesm2022/eui-ecl-components-ecl-popover.mjs +54 -44
  839. package/fesm2022/eui-ecl-components-ecl-popover.mjs.map +1 -1
  840. package/fesm2022/eui-ecl-components-ecl-radio.mjs +19 -14
  841. package/fesm2022/eui-ecl-components-ecl-radio.mjs.map +1 -1
  842. package/fesm2022/eui-ecl-components-ecl-range.mjs +48 -42
  843. package/fesm2022/eui-ecl-components-ecl-range.mjs.map +1 -1
  844. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs +16 -10
  845. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs.map +1 -1
  846. package/fesm2022/eui-ecl-components-ecl-search-form.mjs +23 -43
  847. package/fesm2022/eui-ecl-components-ecl-search-form.mjs.map +1 -1
  848. package/fesm2022/eui-ecl-components-ecl-select.mjs +32 -15
  849. package/fesm2022/eui-ecl-components-ecl-select.mjs.map +1 -1
  850. package/fesm2022/eui-ecl-components-ecl-separator.mjs +14 -8
  851. package/fesm2022/eui-ecl-components-ecl-separator.mjs.map +1 -1
  852. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +194 -177
  853. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
  854. package/fesm2022/eui-ecl-components-ecl-site-header.mjs +294 -303
  855. package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
  856. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs +27 -19
  857. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs.map +1 -1
  858. package/fesm2022/eui-ecl-components-ecl-social-media-share.mjs +25 -17
  859. package/fesm2022/eui-ecl-components-ecl-social-media-share.mjs.map +1 -1
  860. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs +35 -25
  861. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs.map +1 -1
  862. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs +15 -8
  863. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs.map +1 -1
  864. package/fesm2022/eui-ecl-components-ecl-table.mjs +37 -30
  865. package/fesm2022/eui-ecl-components-ecl-table.mjs.map +1 -1
  866. package/fesm2022/eui-ecl-components-ecl-tabs.mjs +64 -73
  867. package/fesm2022/eui-ecl-components-ecl-tabs.mjs.map +1 -1
  868. package/fesm2022/eui-ecl-components-ecl-tag.mjs +21 -17
  869. package/fesm2022/eui-ecl-components-ecl-tag.mjs.map +1 -1
  870. package/fesm2022/eui-ecl-components-ecl-text-area.mjs +15 -8
  871. package/fesm2022/eui-ecl-components-ecl-text-area.mjs.map +1 -1
  872. package/fesm2022/eui-ecl-components-ecl-text-input.mjs +14 -6
  873. package/fesm2022/eui-ecl-components-ecl-text-input.mjs.map +1 -1
  874. package/fesm2022/eui-ecl-components-ecl-timeline.mjs +32 -24
  875. package/fesm2022/eui-ecl-components-ecl-timeline.mjs.map +1 -1
  876. package/fesm2022/eui-ecl.mjs.map +1 -1
  877. package/package.json +1 -1
@@ -1,43 +1,12 @@
1
- import { CommonModule } from '@angular/common';
2
1
  import * as i0 from '@angular/core';
3
2
  import { HostBinding, Input, Component, EventEmitter, booleanAttribute, HostListener, Output, Optional, Self, Directive, NgModule } from '@angular/core';
4
- import * as i1 from '@ngx-translate/core';
5
- import { TranslateModule } from '@ngx-translate/core';
6
3
  import * as i1$1 from '@eui/ecl/core';
7
4
  import { ECLBaseDirective, EclBaseEvent } from '@eui/ecl/core';
5
+ import * as i1 from '@ngx-translate/core';
6
+ import { TranslateModule } from '@ngx-translate/core';
8
7
  import { Subject, takeUntil, distinctUntilChanged, fromEvent } from 'rxjs';
9
8
  import * as i2 from '@angular/forms';
10
9
 
11
- /**
12
- * Component representing the value label displayed next to a range input.
13
- * Applies ECL styling for the value element.
14
- */
15
- class EclRangeValueComponent extends ECLBaseDirective {
16
- /**
17
- * Returns the CSS classes applied to the host element.
18
- * Adds the base `ecl-range__value` class for styling.
19
- */
20
- get cssClasses() {
21
- return [super.getCssClasses('ecl-range__value')].join(' ').trim();
22
- }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRangeValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
24
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: EclRangeValueComponent, isStandalone: false, selector: "ecl-range-value", inputs: { value: "value", id: "id" }, host: { properties: { "attr.id": "this.id", "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "{{ 'ecl.common.VALUE' | translate }}: <span class=\"ecl-range__value-current\"> {{ value }} </span>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "pipe", type: i1.TranslatePipe, name: "translate" }] }); }
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRangeValueComponent, decorators: [{
27
- type: Component,
28
- args: [{ selector: 'ecl-range-value', standalone: false, template: "{{ 'ecl.common.VALUE' | translate }}: <span class=\"ecl-range__value-current\"> {{ value }} </span>\n", styles: [":host{display:block}\n"] }]
29
- }], propDecorators: { value: [{
30
- type: Input
31
- }], id: [{
32
- type: Input
33
- }, {
34
- type: HostBinding,
35
- args: ['attr.id']
36
- }], cssClasses: [{
37
- type: HostBinding,
38
- args: ['class']
39
- }] } });
40
-
41
10
  /**
42
11
  * Component representing a bubble tooltip shown above a range input,
43
12
  * used to display the current value with ECL styling.
@@ -66,11 +35,11 @@ class EclRangeBubbleComponent extends ECLBaseDirective {
66
35
  this.isVisible = false;
67
36
  }
68
37
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRangeBubbleComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
69
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: EclRangeBubbleComponent, isStandalone: false, selector: "ecl-range-bubble", inputs: { value: "value" }, host: { properties: { "class": "this.cssClasses", "style.left.px": "this.left" } }, usesInheritance: true, ngImport: i0, template: "<span class=\"ecl-range__value-bubble\">{{value}}</span>" }); }
38
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: EclRangeBubbleComponent, isStandalone: true, selector: "ecl-range-bubble", inputs: { value: "value" }, host: { properties: { "class": "this.cssClasses", "style.left.px": "this.left" } }, usesInheritance: true, ngImport: i0, template: "<span class=\"ecl-range__value-bubble\">{{value}}</span>" }); }
70
39
  }
71
40
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRangeBubbleComponent, decorators: [{
72
41
  type: Component,
73
- args: [{ selector: 'ecl-range-bubble', standalone: false, template: "<span class=\"ecl-range__value-bubble\">{{value}}</span>" }]
42
+ args: [{ selector: 'ecl-range-bubble', template: "<span class=\"ecl-range__value-bubble\">{{value}}</span>" }]
74
43
  }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { value: [{
75
44
  type: Input
76
45
  }], cssClasses: [{
@@ -81,6 +50,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
81
50
  args: ['style.left.px']
82
51
  }] } });
83
52
 
53
+ /**
54
+ * Component representing the value label displayed next to a range input.
55
+ * Applies ECL styling for the value element.
56
+ */
57
+ class EclRangeValueComponent extends ECLBaseDirective {
58
+ /**
59
+ * Returns the CSS classes applied to the host element.
60
+ * Adds the base `ecl-range__value` class for styling.
61
+ */
62
+ get cssClasses() {
63
+ return [super.getCssClasses('ecl-range__value')].join(' ').trim();
64
+ }
65
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRangeValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
66
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: EclRangeValueComponent, isStandalone: true, selector: "ecl-range-value", inputs: { value: "value", id: "id" }, host: { properties: { "attr.id": "this.id", "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "{{ 'ecl.common.VALUE' | translate }}: <span class=\"ecl-range__value-current\"> {{ value }} </span>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }] }); }
67
+ }
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRangeValueComponent, decorators: [{
69
+ type: Component,
70
+ args: [{ selector: 'ecl-range-value', imports: [TranslateModule], template: "{{ 'ecl.common.VALUE' | translate }}: <span class=\"ecl-range__value-current\"> {{ value }} </span>\n", styles: [":host{display:block}\n"] }]
71
+ }], propDecorators: { value: [{
72
+ type: Input
73
+ }], id: [{
74
+ type: Input
75
+ }, {
76
+ type: HostBinding,
77
+ args: ['attr.id']
78
+ }], cssClasses: [{
79
+ type: HostBinding,
80
+ args: ['class']
81
+ }] } });
82
+
84
83
  /**
85
84
  * Event emitted by the ECL range directive
86
85
  * whenever the range value changes.
@@ -240,13 +239,12 @@ class EclRangeDirective extends ECLBaseDirective {
240
239
  }
241
240
  }
242
241
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRangeDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }, { token: i1$1.EclRtlService }, { token: i0.ChangeDetectorRef }, { token: i2.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }
243
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.14", type: EclRangeDirective, isStandalone: false, selector: "input[eclRange]", inputs: { eclSize: "eclSize", value: "value", rangeValueId: "rangeValueId", isInvalid: ["isInvalid", "isInvalid", booleanAttribute], hasValueLabel: ["hasValueLabel", "hasValueLabel", booleanAttribute] }, outputs: { rangeChange: "rangeChange" }, host: { listeners: { "input": "onInput($event)" }, properties: { "class": "this.cssClasses", "class.ecl-range--invalid": "this.invalidState" } }, usesInheritance: true, ngImport: i0 }); }
242
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.14", type: EclRangeDirective, isStandalone: true, selector: "input[eclRange]", inputs: { eclSize: "eclSize", value: "value", rangeValueId: "rangeValueId", isInvalid: ["isInvalid", "isInvalid", booleanAttribute], hasValueLabel: ["hasValueLabel", "hasValueLabel", booleanAttribute] }, outputs: { rangeChange: "rangeChange" }, host: { listeners: { "input": "onInput($event)" }, properties: { "class": "this.cssClasses", "class.ecl-range--invalid": "this.invalidState" } }, usesInheritance: true, ngImport: i0 }); }
244
243
  }
245
244
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRangeDirective, decorators: [{
246
245
  type: Directive,
247
246
  args: [{
248
247
  selector: 'input[eclRange]',
249
- standalone: false,
250
248
  }]
251
249
  }], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }, { type: i1$1.EclRtlService }, { type: i0.ChangeDetectorRef }, { type: i2.NgControl, decorators: [{
252
250
  type: Optional
@@ -278,23 +276,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
278
276
  }] } });
279
277
 
280
278
  const COMPONENTS = [EclRangeDirective, EclRangeValueComponent, EclRangeBubbleComponent];
279
+ /**
280
+ * Module that provides the EclRange directive and its dependencies.
281
+ *
282
+ * @deprecated Use {@link EUI_ECL_RANGE} instead.
283
+ */
281
284
  class EclRangeModule {
282
285
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
283
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: EclRangeModule, declarations: [EclRangeDirective, EclRangeValueComponent, EclRangeBubbleComponent], imports: [CommonModule, TranslateModule], exports: [EclRangeDirective, EclRangeValueComponent, EclRangeBubbleComponent] }); }
284
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRangeModule, imports: [CommonModule, TranslateModule] }); }
286
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: EclRangeModule, imports: [EclRangeDirective, EclRangeValueComponent, EclRangeBubbleComponent], exports: [EclRangeDirective, EclRangeValueComponent, EclRangeBubbleComponent] }); }
287
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRangeModule, imports: [EclRangeValueComponent] }); }
285
288
  }
286
289
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRangeModule, decorators: [{
287
290
  type: NgModule,
288
291
  args: [{
289
- imports: [CommonModule, TranslateModule],
292
+ imports: [...COMPONENTS],
290
293
  exports: [...COMPONENTS],
291
- declarations: [...COMPONENTS],
292
294
  }]
293
295
  }] });
294
296
 
297
+ const EUI_ECL_RANGE = [
298
+ EclRangeDirective, EclRangeValueComponent, EclRangeBubbleComponent,
299
+ ];
300
+
295
301
  /**
296
302
  * Generated bundle index. Do not edit.
297
303
  */
298
304
 
299
- export { EclRangeBubbleComponent, EclRangeDirective, EclRangeEvent, EclRangeModule, EclRangeValueComponent };
305
+ export { EUI_ECL_RANGE, EclRangeBubbleComponent, EclRangeDirective, EclRangeEvent, EclRangeModule, EclRangeValueComponent };
300
306
  //# sourceMappingURL=eui-ecl-components-ecl-range.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-range.mjs","sources":["../../components/ecl-range/ecl-range-value.component.ts","../../components/ecl-range/ecl-range-value.component.html","../../components/ecl-range/ecl-range-bubble.component.ts","../../components/ecl-range/ecl-range-bubble.component.html","../../components/ecl-range/events/ecl-range.event.ts","../../components/ecl-range/ecl-range.directive.ts","../../components/ecl-range/ecl-range.module.ts","../../components/ecl-range/eui-ecl-components-ecl-range.ts"],"sourcesContent":["import { Component, HostBinding, Input } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component representing the value label displayed next to a range input.\n * Applies ECL styling for the value element.\n */\n@Component({\n selector: 'ecl-range-value',\n templateUrl: './ecl-range-value.component.html',\n standalone: false,\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclRangeValueComponent extends ECLBaseDirective {\n /**\n * Value to display next to the range input.\n */\n @Input() value: number;\n\n /**\n * ID attribute applied to the component's host element.\n */\n @Input() @HostBinding('attr.id') id: string;\n\n /**\n * Returns the CSS classes applied to the host element.\n * Adds the base `ecl-range__value` class for styling.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-range__value')].join(' ').trim();\n }\n}\n","{{ 'ecl.common.VALUE' | translate }}: <span class=\"ecl-range__value-current\"> {{ value }} </span>\n","import { Component, ElementRef, HostBinding, Input } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component representing a bubble tooltip shown above a range input,\n * used to display the current value with ECL styling.\n */\n@Component({\n\tselector: 'ecl-range-bubble',\n\ttemplateUrl: './ecl-range-bubble.component.html',\n standalone: false,\n})\nexport class EclRangeBubbleComponent extends ECLBaseDirective {\n\t/**\n\t * Value displayed inside the bubble.\n\t */\n\t@Input() value: number;\n\n\t/**\n\t * Returns the CSS classes applied to the host element.\n\t * Always includes `ecl-range__bubble` and optionally adds the visible modifier.\n\t */\n\t@HostBinding('class')\n\tget cssClasses(): string {\n\t\treturn [\n\t\t\tsuper.getCssClasses('ecl-range__bubble'),\n\t\t\tthis.isVisible ? 'ecl-range__bubble--visible' : '',\n\t\t].join(' ').trim();\n\t}\n\n\t/**\n\t * Horizontal offset in pixels for positioning the bubble.\n\t * Applied as the left style property of the host element.\n\t */\n\t@HostBinding('style.left.px') left: number;\n\n\t/**\n\t * Controls the visibility of the bubble.\n\t * Adds the `ecl-range__bubble--visible` class when true.\n\t */\n\tisVisible = false;\n\n\t/**\n\t * Reference to the host DOM element.\n\t */\n\tconstructor(public el: ElementRef) {\n\t\tsuper();\n\t}\n}\n","<span class=\"ecl-range__value-bubble\">{{value}}</span>","import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Event emitted by the ECL range directive\n * whenever the range value changes.\n */\nexport class EclRangeEvent extends EclBaseEvent {\n /**\n * The current numeric value of the range input.\n */\n constructor(public value: number) {\n super();\n }\n}\n","import {\n Directive,\n ElementRef,\n EventEmitter,\n HostBinding,\n HostListener,\n Input,\n OnDestroy,\n OnInit,\n Optional,\n Output,\n Self,\n ViewContainerRef,\n booleanAttribute,\n ChangeDetectorRef,\n} from '@angular/core';\nimport { NgControl } from '@angular/forms';\nimport { Subject, distinctUntilChanged, fromEvent, takeUntil } from 'rxjs';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclRtlService } from '@eui/ecl/core';\nimport { EclRangeValueComponent } from './ecl-range-value.component';\nimport { EclRangeBubbleComponent } from './ecl-range-bubble.component';\nimport { EclRangeEvent } from './events/ecl-range.event';\n\n/**\n * Directive enhancing native input[type=range] with ECL styles and behavior.\n * Adds value display, bubble indicator, RTL support and integration with reactive forms.\n */\n@Directive({\n selector: 'input[eclRange]',\n standalone: false,\n})\nexport class EclRangeDirective extends ECLBaseDirective implements OnInit, OnDestroy {\n /**\n * Defines the size of the range component.\n * Adds a corresponding size class like `ecl-range--m`.\n */\n @Input() eclSize = 'm';\n\n /**\n * Initial value for the range input when used standalone.\n */\n @Input() value: string;\n\n /**\n * ID assigned to the projected ECL range value component.\n */\n @Input() rangeValueId: string;\n\n /**\n * Adds the `ecl-range--invalid` class when true.\n */\n @Input({ transform: booleanAttribute }) isInvalid = false;\n\n /**\n * Enables or disables the display of a value label.\n */\n @Input({ transform: booleanAttribute }) hasValueLabel = true;\n\n /**\n * Emits when the range value changes.\n */\n @Output() rangeChange = new EventEmitter<EclRangeEvent>();\n\n private rangeValueComponent: EclRangeValueComponent;\n private rangeBubbleComponent: EclRangeBubbleComponent;\n private isRtl = false;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n\n constructor(\n private viewContainerRef: ViewContainerRef,\n private el: ElementRef,\n private eclRtlService: EclRtlService,\n private cd: ChangeDetectorRef,\n @Optional() @Self() protected ngControl: NgControl,\n ) {\n super();\n }\n\n /**\n * Returns the CSS classes applied to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-range'), this.eclSize ? `ecl-range--${this.eclSize}` : ''].join(' ').trim();\n }\n\n /**\n * Returns whether the component is in an invalid state.\n * Checks reactive form control if available, or uses `isInvalid` input.\n */\n @HostBinding('class.ecl-range--invalid')\n get invalidState(): boolean {\n if (this.ngControl) {\n return this.ngControl.status === 'INVALID' && this.ngControl.touched;\n } else {\n return this.isInvalid;\n }\n }\n\n /**\n * Handles native input events on the range element\n * when not used with reactive forms.\n */\n @HostListener('input', ['$event'])\n onInput(evt: InputEvent): void {\n if (!this.ngControl) {\n const target = evt.target as HTMLInputElement;\n this.updateRangeValue(target.value);\n }\n }\n\n /**\n * Angular lifecycle hook.\n * Initializes dynamic components and event listeners.\n */\n ngOnInit(): void {\n this.createRangeValueComponent();\n this.initializeRangeValueComponent();\n this.initializeEventListeners();\n this.observeReactiveFormValueChanges();\n this.handleRtlChangeState();\n }\n\n /**\n * Angular lifecycle hook.\n * Cleans up subscriptions on destroy.\n */\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n private handleRtlChangeState(): void {\n this.eclRtlService.currentRtlState$.pipe(takeUntil(this.destroy$)).subscribe((rtlState) => {\n this.isRtl = rtlState;\n });\n }\n\n private createRangeValueComponent(): void {\n const componentRangeBubbleRef = this.viewContainerRef.createComponent(EclRangeBubbleComponent);\n const componentRangeValueRef = this.viewContainerRef.createComponent(EclRangeValueComponent);\n this.rangeBubbleComponent = componentRangeBubbleRef.instance;\n this.rangeValueComponent = componentRangeValueRef.instance;\n if (this.rangeValueId) {\n this.rangeValueComponent.id = this.rangeValueId;\n }\n }\n\n private initializeRangeValueComponent(): void {\n const initialValue = this.ngControl ? this.ngControl.value : this.value;\n this.updateRangeValue(initialValue);\n }\n\n private observeReactiveFormValueChanges(): void {\n this.ngControl?.valueChanges.pipe(distinctUntilChanged()).subscribe((value: string) => {\n this.updateRangeValue(value);\n });\n }\n\n private updateRangeValue(value: string): void {\n const numberValue = parseInt(value, 10);\n\n this.rangeBubbleComponent.value = numberValue;\n this.rangeValueComponent.value = numberValue;\n\n this.rangeChange.next(new EclRangeEvent(numberValue));\n }\n\n private initializeEventListeners(): void {\n const rangeElement = this.el.nativeElement;\n\n const mouseEnter$ = fromEvent(rangeElement, 'mouseenter');\n const mouseLeave$ = fromEvent(rangeElement, 'mouseleave');\n const rangeValueChange$ = fromEvent(rangeElement, 'input');\n\n mouseEnter$.pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.rangeBubbleComponent.isVisible = true;\n this.cd.detectChanges();\n this.recalculateBubblePosition();\n });\n\n rangeValueChange$.pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.recalculateBubblePosition();\n });\n\n mouseLeave$.pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.rangeBubbleComponent.isVisible = false;\n });\n }\n\n private recalculateBubblePosition(): void {\n\n const halfThumbWidth = 8;\n const halfLabelWidth = this.rangeBubbleComponent.el.nativeElement.offsetWidth / 2;\n\n const rect = this.el.nativeElement.getBoundingClientRect();\n const center = rect.width / 2;\n\n const min = this.el.nativeElement.min ? this.el.nativeElement.min : 0;\n const max = this.el.nativeElement.max;\n const percentOfRange =\n (this.el.nativeElement.value - min) / (max - min);\n\n const valuePxPosition = percentOfRange * rect.width;\n const distFromCenter = valuePxPosition - center;\n const percentDistFromCenter = distFromCenter / center;\n\n const offset = percentDistFromCenter * halfThumbWidth;\n if (this.isRtl) {\n this.rangeBubbleComponent.left = this.el.nativeElement.offsetLeft + rect.width - valuePxPosition - halfLabelWidth + offset;\n } else {\n this.rangeBubbleComponent.left = valuePxPosition - halfLabelWidth - offset + this.el.nativeElement.offsetLeft;\n }\n }\n\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { EclRangeValueComponent } from './ecl-range-value.component';\nimport { EclRangeDirective } from './ecl-range.directive';\nimport { EclRangeBubbleComponent } from './ecl-range-bubble.component';\n\nconst COMPONENTS = [EclRangeDirective, EclRangeValueComponent, EclRangeBubbleComponent];\n\n@NgModule({\n imports: [CommonModule, TranslateModule],\n exports: [...COMPONENTS],\n declarations: [...COMPONENTS],\n})\nexport class EclRangeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;AAGA;;;AAGG;AAaG,MAAO,sBAAuB,SAAQ,gBAAgB,CAAA;AAWxD;;;AAGG;AACH,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IACrE;+GAlBS,sBAAsB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,qNCnBnC,uGACA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,aAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FDkBa,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAZlC,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,cAEf,KAAK,EAAA,QAAA,EAAA,uGAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA;8BAaR,KAAK,EAAA,CAAA;sBAAb;gBAKgC,EAAE,EAAA,CAAA;sBAAlC;;sBAAS,WAAW;uBAAC,SAAS;gBAO3B,UAAU,EAAA,CAAA;sBADb,WAAW;uBAAC,OAAO;;;AE/BxB;;;AAGG;AAMG,MAAO,uBAAwB,SAAQ,g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A,EAAA,CAAA;kBAL1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,eAAe,CAAC;AACxC,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAChC,iBAAA;;;ACbD;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-range.mjs","sources":["../../components/ecl-range/ecl-range-bubble.component.ts","../../components/ecl-range/ecl-range-bubble.component.html","../../components/ecl-range/ecl-range-value.component.ts","../../components/ecl-range/ecl-range-value.component.html","../../components/ecl-range/events/ecl-range.event.ts","../../components/ecl-range/ecl-range.directive.ts","../../components/ecl-range/ecl-range.module.ts","../../components/ecl-range/index.ts","../../components/ecl-range/eui-ecl-components-ecl-range.ts"],"sourcesContent":["import { Component, ElementRef, HostBinding, Input } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component representing a bubble tooltip shown above a range input,\n * used to display the current value with ECL styling.\n */\n@Component({\n\tselector: 'ecl-range-bubble',\n\ttemplateUrl: './ecl-range-bubble.component.html',\n})\nexport class EclRangeBubbleComponent extends ECLBaseDirective {\n\t/**\n\t * Value displayed inside the bubble.\n\t */\n\t@Input() value: number;\n\n\t/**\n\t * Returns the CSS classes applied to the host element.\n\t * Always includes `ecl-range__bubble` and optionally adds the visible modifier.\n\t */\n\t@HostBinding('class')\n\tget cssClasses(): string {\n\t\treturn [\n\t\t\tsuper.getCssClasses('ecl-range__bubble'),\n\t\t\tthis.isVisible ? 'ecl-range__bubble--visible' : '',\n\t\t].join(' ').trim();\n\t}\n\n\t/**\n\t * Horizontal offset in pixels for positioning the bubble.\n\t * Applied as the left style property of the host element.\n\t */\n\t@HostBinding('style.left.px') left: number;\n\n\t/**\n\t * Controls the visibility of the bubble.\n\t * Adds the `ecl-range__bubble--visible` class when true.\n\t */\n\tisVisible = false;\n\n\t/**\n\t * Reference to the host DOM element.\n\t */\n\tconstructor(public el: ElementRef) {\n\t\tsuper();\n\t}\n}\n","<span class=\"ecl-range__value-bubble\">{{value}}</span>","import { Component, HostBinding, Input } from '@angular/core';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component representing the value label displayed next to a range input.\n * Applies ECL styling for the value element.\n */\n@Component({\n selector: 'ecl-range-value',\n templateUrl: './ecl-range-value.component.html',\n imports: [TranslateModule],\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclRangeValueComponent extends ECLBaseDirective {\n /**\n * Value to display next to the range input.\n */\n @Input() value: number;\n\n /**\n * ID attribute applied to the component's host element.\n */\n @Input() @HostBinding('attr.id') id: string;\n\n /**\n * Returns the CSS classes applied to the host element.\n * Adds the base `ecl-range__value` class for styling.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-range__value')].join(' ').trim();\n }\n}\n","{{ 'ecl.common.VALUE' | translate }}: <span class=\"ecl-range__value-current\"> {{ value }} </span>\n","import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Event emitted by the ECL range directive\n * whenever the range value changes.\n */\nexport class EclRangeEvent extends EclBaseEvent {\n /**\n * The current numeric value of the range input.\n */\n constructor(public value: number) {\n super();\n }\n}\n","import {\n Directive,\n ElementRef,\n EventEmitter,\n HostBinding,\n HostListener,\n Input,\n OnDestroy,\n OnInit,\n Optional,\n Output,\n Self,\n ViewContainerRef,\n booleanAttribute,\n ChangeDetectorRef,\n} from '@angular/core';\nimport { NgControl } from '@angular/forms';\nimport { Subject, distinctUntilChanged, fromEvent, takeUntil } from 'rxjs';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclRtlService } from '@eui/ecl/core';\nimport { EclRangeValueComponent } from './ecl-range-value.component';\nimport { EclRangeBubbleComponent } from './ecl-range-bubble.component';\nimport { EclRangeEvent } from './events/ecl-range.event';\n\n/**\n * Directive enhancing native input[type=range] with ECL styles and behavior.\n * Adds value display, bubble indicator, RTL support and integration with reactive forms.\n */\n@Directive({\n selector: 'input[eclRange]',\n})\nexport class EclRangeDirective extends ECLBaseDirective implements OnInit, OnDestroy {\n /**\n * Defines the size of the range component.\n * Adds a corresponding size class like `ecl-range--m`.\n */\n @Input() eclSize = 'm';\n\n /**\n * Initial value for the range input when used standalone.\n */\n @Input() value: string;\n\n /**\n * ID assigned to the projected ECL range value component.\n */\n @Input() rangeValueId: string;\n\n /**\n * Adds the `ecl-range--invalid` class when true.\n */\n @Input({ transform: booleanAttribute }) isInvalid = false;\n\n /**\n * Enables or disables the display of a value label.\n */\n @Input({ transform: booleanAttribute }) hasValueLabel = true;\n\n /**\n * Emits when the range value changes.\n */\n @Output() rangeChange = new EventEmitter<EclRangeEvent>();\n\n private rangeValueComponent: EclRangeValueComponent;\n private rangeBubbleComponent: EclRangeBubbleComponent;\n private isRtl = false;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n\n constructor(\n private viewContainerRef: ViewContainerRef,\n private el: ElementRef,\n private eclRtlService: EclRtlService,\n private cd: ChangeDetectorRef,\n @Optional() @Self() protected ngControl: NgControl,\n ) {\n super();\n }\n\n /**\n * Returns the CSS classes applied to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-range'), this.eclSize ? `ecl-range--${this.eclSize}` : ''].join(' ').trim();\n }\n\n /**\n * Returns whether the component is in an invalid state.\n * Checks reactive form control if available, or uses `isInvalid` input.\n */\n @HostBinding('class.ecl-range--invalid')\n get invalidState(): boolean {\n if (this.ngControl) {\n return this.ngControl.status === 'INVALID' && this.ngControl.touched;\n } else {\n return this.isInvalid;\n }\n }\n\n /**\n * Handles native input events on the range element\n * when not used with reactive forms.\n */\n @HostListener('input', ['$event'])\n onInput(evt: InputEvent): void {\n if (!this.ngControl) {\n const target = evt.target as HTMLInputElement;\n this.updateRangeValue(target.value);\n }\n }\n\n /**\n * Angular lifecycle hook.\n * Initializes dynamic components and event listeners.\n */\n ngOnInit(): void {\n this.createRangeValueComponent();\n this.initializeRangeValueComponent();\n this.initializeEventListeners();\n this.observeReactiveFormValueChanges();\n this.handleRtlChangeState();\n }\n\n /**\n * Angular lifecycle hook.\n * Cleans up subscriptions on destroy.\n */\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n private handleRtlChangeState(): void {\n this.eclRtlService.currentRtlState$.pipe(takeUntil(this.destroy$)).subscribe((rtlState) => {\n this.isRtl = rtlState;\n });\n }\n\n private createRangeValueComponent(): void {\n const componentRangeBubbleRef = this.viewContainerRef.createComponent(EclRangeBubbleComponent);\n const componentRangeValueRef = this.viewContainerRef.createComponent(EclRangeValueComponent);\n this.rangeBubbleComponent = componentRangeBubbleRef.instance;\n this.rangeValueComponent = componentRangeValueRef.instance;\n if (this.rangeValueId) {\n this.rangeValueComponent.id = this.rangeValueId;\n }\n }\n\n private initializeRangeValueComponent(): void {\n const initialValue = this.ngControl ? this.ngControl.value : this.value;\n this.updateRangeValue(initialValue);\n }\n\n private observeReactiveFormValueChanges(): void {\n this.ngControl?.valueChanges.pipe(distinctUntilChanged()).subscribe((value: string) => {\n this.updateRangeValue(value);\n });\n }\n\n private updateRangeValue(value: string): void {\n const numberValue = parseInt(value, 10);\n\n this.rangeBubbleComponent.value = numberValue;\n this.rangeValueComponent.value = numberValue;\n\n this.rangeChange.next(new EclRangeEvent(numberValue));\n }\n\n private initializeEventListeners(): void {\n const rangeElement = this.el.nativeElement;\n\n const mouseEnter$ = fromEvent(rangeElement, 'mouseenter');\n const mouseLeave$ = fromEvent(rangeElement, 'mouseleave');\n const rangeValueChange$ = fromEvent(rangeElement, 'input');\n\n mouseEnter$.pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.rangeBubbleComponent.isVisible = true;\n this.cd.detectChanges();\n this.recalculateBubblePosition();\n });\n\n rangeValueChange$.pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.recalculateBubblePosition();\n });\n\n mouseLeave$.pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.rangeBubbleComponent.isVisible = false;\n });\n }\n\n private recalculateBubblePosition(): void {\n\n const halfThumbWidth = 8;\n const halfLabelWidth = this.rangeBubbleComponent.el.nativeElement.offsetWidth / 2;\n\n const rect = this.el.nativeElement.getBoundingClientRect();\n const center = rect.width / 2;\n\n const min = this.el.nativeElement.min ? this.el.nativeElement.min : 0;\n const max = this.el.nativeElement.max;\n const percentOfRange =\n (this.el.nativeElement.value - min) / (max - min);\n\n const valuePxPosition = percentOfRange * rect.width;\n const distFromCenter = valuePxPosition - center;\n const percentDistFromCenter = distFromCenter / center;\n\n const offset = percentDistFromCenter * halfThumbWidth;\n if (this.isRtl) {\n this.rangeBubbleComponent.left = this.el.nativeElement.offsetLeft + rect.width - valuePxPosition - halfLabelWidth + offset;\n } else {\n this.rangeBubbleComponent.left = valuePxPosition - halfLabelWidth - offset + this.el.nativeElement.offsetLeft;\n }\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { EclRangeBubbleComponent } from './ecl-range-bubble.component';\nimport { EclRangeValueComponent } from './ecl-range-value.component';\nimport { EclRangeDirective } from './ecl-range.directive';\n\nconst COMPONENTS = [EclRangeDirective, EclRangeValueComponent, EclRangeBubbleComponent];\n\n/**\n * Module that provides the EclRange directive and its dependencies.\n *\n * @deprecated Use {@link EUI_ECL_RANGE} instead.\n */\n@NgModule({\n imports: [...COMPONENTS],\n exports: [...COMPONENTS],\n})\nexport class EclRangeModule {}\n","import { EclRangeBubbleComponent } from './ecl-range-bubble.component';\nimport { EclRangeValueComponent } from './ecl-range-value.component';\nimport { EclRangeDirective } from './ecl-range.directive';\n\nexport * from './ecl-range.module';\nexport * from './ecl-range.directive';\nexport * from './ecl-range-value.component';\nexport * from './ecl-range-bubble.component';\nexport * from './events/ecl-range.event';\n\nexport const EUI_ECL_RANGE = [\n EclRangeDirective, EclRangeValueComponent, EclRangeBubbleComponent,\n] as const;","/**\n * Generated bundle index.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,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AAC3B,iBAAA;;;ACLM,MAAM,aAAa,GAAG;IACzB,iBAAiB,EAAE,sBAAsB,EAAE,uBAAuB;;;ACXtE;;AAEG;;;;"}
@@ -1,6 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { forwardRef, EventEmitter, booleanAttribute, numberAttribute, HostBinding, Output, Input, Component, NgModule } from '@angular/core';
3
- import { CommonModule } from '@angular/common';
4
3
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
5
4
  import { EclBaseEvent, ECLBaseDirective } from '@eui/ecl/core';
6
5
  import * as i1 from '@eui/ecl/components/ecl-icon';
@@ -93,11 +92,11 @@ class EclRatingFieldComponent extends ECLBaseDirective {
93
92
  this.onTouched = fn;
94
93
  }
95
94
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRatingFieldComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
96
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: EclRatingFieldComponent, isStandalone: false, selector: "ecl-rating-field", inputs: { name: "name", numberOfStars: ["numberOfStars", "numberOfStars", numberAttribute], rating: ["rating", "rating", numberAttribute], disabled: ["disabled", "disabled", booleanAttribute] }, outputs: { ratingChange: "ratingChange" }, host: { properties: { "attr.disabled": "this.disabled", "class": "this.cssClasses" } }, providers: [ECL_RATINGFIELD_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0, template: "@for(n of numbers;track n) {\n <input\n type=\"radio\"\n id=\"{{ name }}-{{ n }}\"\n [name]=\"name\"\n class=\"ecl-rating-field__input\"\n [value]=\"n\"\n required=\"\"\n [attr.checked]=\"rating === n ? true : undefined\"\n [attr.disabled]=\"disabled ? true : undefined\"\n (click)=\"onRadioClick(n)\" />\n <label class=\"ecl-rating-field__label\" for=\"{{ name }}-{{ n }}\">\n <span class=\"ecl-u-sr-only\">{{ n }} stars</span>\n <ecl-icon icon=\"star-filled\" class=\"ecl-rating-field__icon-filled\" size=\"l\"> </ecl-icon>\n <ecl-icon icon=\"star-outline\" class=\"ecl-rating-field__icon-outline\" size=\"l\"> </ecl-icon>\n </label>\n}\n", dependencies: [{ kind: "component", type: i1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }] }); }
95
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: EclRatingFieldComponent, isStandalone: true, selector: "ecl-rating-field", inputs: { name: "name", numberOfStars: ["numberOfStars", "numberOfStars", numberAttribute], rating: ["rating", "rating", numberAttribute], disabled: ["disabled", "disabled", booleanAttribute] }, outputs: { ratingChange: "ratingChange" }, host: { properties: { "attr.disabled": "this.disabled", "class": "this.cssClasses" } }, providers: [ECL_RATINGFIELD_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0, template: "@for(n of numbers;track n) {\n <input\n type=\"radio\"\n id=\"{{ name }}-{{ n }}\"\n [name]=\"name\"\n class=\"ecl-rating-field__input\"\n [value]=\"n\"\n required=\"\"\n [attr.checked]=\"rating === n ? true : undefined\"\n [attr.disabled]=\"disabled ? true : undefined\"\n (click)=\"onRadioClick(n)\" />\n <label class=\"ecl-rating-field__label\" for=\"{{ name }}-{{ n }}\">\n <span class=\"ecl-u-sr-only\">{{ n }} stars</span>\n <ecl-icon icon=\"star-filled\" class=\"ecl-rating-field__icon-filled\" size=\"l\"> </ecl-icon>\n <ecl-icon icon=\"star-outline\" class=\"ecl-rating-field__icon-outline\" size=\"l\"> </ecl-icon>\n </label>\n}\n", dependencies: [{ kind: "ngmodule", type: EclIconModule }, { kind: "component", type: i1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }] }); }
97
96
  }
98
97
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRatingFieldComponent, decorators: [{
99
98
  type: Component,
100
- args: [{ selector: 'ecl-rating-field', standalone: false, providers: [ECL_RATINGFIELD_VALUE_ACCESSOR], template: "@for(n of numbers;track n) {\n <input\n type=\"radio\"\n id=\"{{ name }}-{{ n }}\"\n [name]=\"name\"\n class=\"ecl-rating-field__input\"\n [value]=\"n\"\n required=\"\"\n [attr.checked]=\"rating === n ? true : undefined\"\n [attr.disabled]=\"disabled ? true : undefined\"\n (click)=\"onRadioClick(n)\" />\n <label class=\"ecl-rating-field__label\" for=\"{{ name }}-{{ n }}\">\n <span class=\"ecl-u-sr-only\">{{ n }} stars</span>\n <ecl-icon icon=\"star-filled\" class=\"ecl-rating-field__icon-filled\" size=\"l\"> </ecl-icon>\n <ecl-icon icon=\"star-outline\" class=\"ecl-rating-field__icon-outline\" size=\"l\"> </ecl-icon>\n </label>\n}\n" }]
99
+ args: [{ selector: 'ecl-rating-field', imports: [EclIconModule], providers: [ECL_RATINGFIELD_VALUE_ACCESSOR], template: "@for(n of numbers;track n) {\n <input\n type=\"radio\"\n id=\"{{ name }}-{{ n }}\"\n [name]=\"name\"\n class=\"ecl-rating-field__input\"\n [value]=\"n\"\n required=\"\"\n [attr.checked]=\"rating === n ? true : undefined\"\n [attr.disabled]=\"disabled ? true : undefined\"\n (click)=\"onRadioClick(n)\" />\n <label class=\"ecl-rating-field__label\" for=\"{{ name }}-{{ n }}\">\n <span class=\"ecl-u-sr-only\">{{ n }} stars</span>\n <ecl-icon icon=\"star-filled\" class=\"ecl-rating-field__icon-filled\" size=\"l\"> </ecl-icon>\n <ecl-icon icon=\"star-outline\" class=\"ecl-rating-field__icon-outline\" size=\"l\"> </ecl-icon>\n </label>\n}\n" }]
101
100
  }], propDecorators: { name: [{
102
101
  type: Input
103
102
  }], numberOfStars: [{
@@ -119,24 +118,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
119
118
  args: ['class']
120
119
  }] } });
121
120
 
122
- const COMPONENTS = [EclRatingFieldComponent];
121
+ /**
122
+ * Module that provides the EclRatingField component.
123
+ *
124
+ * @deprecated Use {@link EUI_ECL_RATING_FIELD} instead.
125
+ */
123
126
  class EclRatingFieldModule {
124
127
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRatingFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
125
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: EclRatingFieldModule, declarations: [EclRatingFieldComponent], imports: [CommonModule, EclIconModule], exports: [EclRatingFieldComponent] }); }
126
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRatingFieldModule, imports: [CommonModule, EclIconModule] }); }
128
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: EclRatingFieldModule, imports: [EclRatingFieldComponent], exports: [EclRatingFieldComponent] }); }
129
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRatingFieldModule, imports: [EclRatingFieldComponent] }); }
127
130
  }
128
131
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclRatingFieldModule, decorators: [{
129
132
  type: NgModule,
130
133
  args: [{
131
- imports: [CommonModule, EclIconModule],
132
- exports: [...COMPONENTS],
133
- declarations: [...COMPONENTS],
134
+ imports: [EclRatingFieldComponent],
135
+ exports: [EclRatingFieldComponent],
134
136
  }]
135
137
  }] });
136
138
 
139
+ const EUI_ECL_RATING_FIELD = [
140
+ EclRatingFieldComponent,
141
+ ];
142
+
137
143
  /**
138
144
  * Generated bundle index. Do not edit.
139
145
  */
140
146
 
141
- export { ECL_RATINGFIELD_VALUE_ACCESSOR, EclRatingChangeEvent, EclRatingFieldComponent, EclRatingFieldModule };
147
+ export { ECL_RATINGFIELD_VALUE_ACCESSOR, EUI_ECL_RATING_FIELD, EclRatingChangeEvent, EclRatingFieldComponent, EclRatingFieldModule };
142
148
  //# sourceMappingURL=eui-ecl-components-ecl-rating-field.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-rating-field.mjs","sources":["../../components/ecl-rating-field/events/ecl-rating-change.event.ts","../../components/ecl-rating-field/ecl-rating-field.component.ts","../../components/ecl-rating-field/ecl-rating-field.component.html","../../components/ecl-rating-field/ecl-rating-field.module.ts","../../components/ecl-rating-field/eui-ecl-components-ecl-rating-field.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\n\nexport class EclRatingChangeEvent extends EclBaseEvent {\n constructor(public readonly value: number) {\n super();\n }\n}","import { booleanAttribute, Component, EventEmitter, forwardRef, HostBinding, Input, numberAttribute, Output, Provider } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclRatingChangeEvent } from './events/ecl-rating-change.event';\n\nexport const ECL_RATINGFIELD_VALUE_ACCESSOR: Provider = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => EclRatingFieldComponent),\n multi: true,\n};\n\nconst noop = (): void => {\n /** empty */\n};\n\n/**\n * Component representing rating field, displayed with stars.\n * Typically used when the user needs to evaluate something.\n */\n@Component({\n selector: 'ecl-rating-field',\n templateUrl: './ecl-rating-field.component.html',\n standalone: false,\n providers: [ECL_RATINGFIELD_VALUE_ACCESSOR],\n})\nexport class EclRatingFieldComponent extends ECLBaseDirective implements ControlValueAccessor {\n /**\n * Name of the radio group. Also used for creating id for each radio button.\n */\n @Input() name = 'rating';\n /**\n * How many stars should the rating have.\n */\n @Input({ transform: numberAttribute }) numberOfStars = 5;\n /**\n * The initial value, if any.\n */\n @Input({ transform: numberAttribute }) rating: number;\n /**\n * Can be used to set disabled status.\n */\n @Input({ transform: booleanAttribute })\n @HostBinding('attr.disabled')\n disabled: boolean;\n\n /**\n * The event to be emitted when rating is changed.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Output() ratingChange = new EventEmitter<any>();\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private onChange: (_: any) => void = noop;\n private onTouched: () => void = noop;\n\n /**\n * Array of numbers, from 1 to 'numberOfStars'\n */\n get numbers(): Array<number> {\n return Array(this.numberOfStars)\n .fill(0)\n .map((_, i) => this.numberOfStars - i);\n }\n\n /**\n * Applies the base class `ecl-rating-field` to the host element. Applies 'ecl-rating-field--disabled' class on condition.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-rating-field'), this.disabled ? 'ecl-rating-field--disabled' : ''].join(' ').trim();\n }\n\n /**\n * Method that sets the new rating and emit 'ratingChange' event, that includes the new rating number.\n * @param rating - the new rating\n */\n onRadioClick(rating: number): void {\n this.rating = rating;\n this.onTouched();\n this.onChange(this.rating);\n\n const evt = new EclRatingChangeEvent(rating);\n this.ratingChange.next(evt);\n }\n\n /**\n * Informs the component of any changes in the parent (ControlValueAccessor). Sets the new value for the 'rating' property.\n * @param value \n */\n writeValue(value: number): void {\n this.rating = value;\n }\n\n /**\n * Disable/enable component.\n * @param isDisabled \n */\n setDisabledState(isDisabled: boolean): void {\n this.disabled = isDisabled || null;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n}\n","@for(n of numbers;track n) {\n <input\n type=\"radio\"\n id=\"{{ name }}-{{ n }}\"\n [name]=\"name\"\n class=\"ecl-rating-field__input\"\n [value]=\"n\"\n required=\"\"\n [attr.checked]=\"rating === n ? true : undefined\"\n [attr.disabled]=\"disabled ? true : undefined\"\n (click)=\"onRadioClick(n)\" />\n <label class=\"ecl-rating-field__label\" for=\"{{ name }}-{{ n }}\">\n <span class=\"ecl-u-sr-only\">{{ n }} stars</span>\n <ecl-icon icon=\"star-filled\" class=\"ecl-rating-field__icon-filled\" size=\"l\"> </ecl-icon>\n <ecl-icon icon=\"star-outline\" class=\"ecl-rating-field__icon-outline\" size=\"l\"> </ecl-icon>\n </label>\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EclRatingFieldComponent } from './ecl-rating-field.component';\nimport { EclIconModule } from '@eui/ecl/components/ecl-icon';\n\nconst COMPONENTS = [EclRatingFieldComponent];\n\n@NgModule({\n imports: [CommonModule, EclIconModule],\n exports: [...COMPONENTS],\n declarations: [...COMPONENTS],\n})\nexport class EclRatingFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAEM,MAAO,oBAAqB,SAAQ,YAAY,CAAA;AAClD,IAAA,WAAA,CAA4B,KAAa,EAAA;AACrC,QAAA,KAAK,EAAE;QADiB,IAAA,CAAA,KAAK,GAAL,KAAK;IAEjC;AACH;;ACDM,MAAM,8BAA8B,GAAa;AACpD,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,uBAAuB,CAAC;AACtD,IAAA,KAAK,EAAE,IAAI;;AAGf,MAAM,IAAI,GAAG,MAAW;;AAExB,CAAC;AAED;;;AAGG;AAOG,MAAO,uBAAwB,SAAQ,gBAAgB,CAAA;AAN7D,IAAA,WAAA,GAAA;;AAOI;;AAEG;QACM,IAAA,CAAA,IAAI,GAAG,QAAQ;AACxB;;AAEG;QACoC,IAAA,CAAA,aAAa,GAAG,CAAC;AAYxD;;AAEG;;AAEO,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,YAAY,EAAO;;QAGxC,IAA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EAAE,SAAS,EAAE,eAAe,EAAE;gBAIE,MAAM,EAAA,CAAA;sBAA5C,KAAK;uBAAC,EAAE,SAAS,EAAE,eAAe,EAAE;gBAMrC,QAAQ,EAAA,CAAA;sBAFP,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;;sBACrC,WAAW;uBAAC,eAAe;gBAOlB,YAAY,EAAA,CAAA;sBAArB;gBAmBG,UAAU,EAAA,CAAA;sBADb,WAAW;uBAAC,OAAO;;;AE9DxB,MAAM,UAAU,GAAG,CAAC,uBAAuB,CAAC;MAO/B,oBAAoB,CAAA;+GAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,iBAPb,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAG7B,YAAY,EAAE,aAAa,aAHrB,uBAAuB,CAAA,EAAA,CAAA,CAAA;gHAO9B,oBAAoB,EAAA,OAAA,EAAA,CAJnB,YAAY,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA;;4FAI5B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;AACtC,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAChC,iBAAA;;;ACXD;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-rating-field.mjs","sources":["../../components/ecl-rating-field/events/ecl-rating-change.event.ts","../../components/ecl-rating-field/ecl-rating-field.component.ts","../../components/ecl-rating-field/ecl-rating-field.component.html","../../components/ecl-rating-field/ecl-rating-field.module.ts","../../components/ecl-rating-field/index.ts","../../components/ecl-rating-field/eui-ecl-components-ecl-rating-field.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\n\nexport class EclRatingChangeEvent extends EclBaseEvent {\n constructor(public readonly value: number) {\n super();\n }\n}","import { booleanAttribute, Component, EventEmitter, forwardRef, HostBinding, Input, numberAttribute, Output, Provider } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclRatingChangeEvent } from './events/ecl-rating-change.event';\nimport { EclIconModule } from '@eui/ecl/components/ecl-icon';\n\nexport const ECL_RATINGFIELD_VALUE_ACCESSOR: Provider = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => EclRatingFieldComponent),\n multi: true,\n};\n\nconst noop = (): void => {\n /** empty */\n};\n\n/**\n * Component representing rating field, displayed with stars.\n * Typically used when the user needs to evaluate something.\n */\n@Component({\n selector: 'ecl-rating-field',\n templateUrl: './ecl-rating-field.component.html',\n imports: [EclIconModule], // TODO: replace with EUI_ECL_ICON\n providers: [ECL_RATINGFIELD_VALUE_ACCESSOR],\n})\nexport class EclRatingFieldComponent extends ECLBaseDirective implements ControlValueAccessor {\n /**\n * Name of the radio group. Also used for creating id for each radio button.\n */\n @Input() name = 'rating';\n /**\n * How many stars should the rating have.\n */\n @Input({ transform: numberAttribute }) numberOfStars = 5;\n /**\n * The initial value, if any.\n */\n @Input({ transform: numberAttribute }) rating: number;\n /**\n * Can be used to set disabled status.\n */\n @Input({ transform: booleanAttribute })\n @HostBinding('attr.disabled')\n disabled: boolean;\n\n /**\n * The event to be emitted when rating is changed.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Output() ratingChange = new EventEmitter<any>();\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private onChange: (_: any) => void = noop;\n private onTouched: () => void = noop;\n\n /**\n * Array of numbers, from 1 to 'numberOfStars'\n */\n get numbers(): Array<number> {\n return Array(this.numberOfStars)\n .fill(0)\n .map((_, i) => this.numberOfStars - i);\n }\n\n /**\n * Applies the base class `ecl-rating-field` to the host element. Applies 'ecl-rating-field--disabled' class on condition.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-rating-field'), this.disabled ? 'ecl-rating-field--disabled' : ''].join(' ').trim();\n }\n\n /**\n * Method that sets the new rating and emit 'ratingChange' event, that includes the new rating number.\n * @param rating - the new rating\n */\n onRadioClick(rating: number): void {\n this.rating = rating;\n this.onTouched();\n this.onChange(this.rating);\n\n const evt = new EclRatingChangeEvent(rating);\n this.ratingChange.next(evt);\n }\n\n /**\n * Informs the component of any changes in the parent (ControlValueAccessor). Sets the new value for the 'rating' property.\n * @param value \n */\n writeValue(value: number): void {\n this.rating = value;\n }\n\n /**\n * Disable/enable component.\n * @param isDisabled \n */\n setDisabledState(isDisabled: boolean): void {\n this.disabled = isDisabled || null;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n}\n","@for(n of numbers;track n) {\n <input\n type=\"radio\"\n id=\"{{ name }}-{{ n }}\"\n [name]=\"name\"\n class=\"ecl-rating-field__input\"\n [value]=\"n\"\n required=\"\"\n [attr.checked]=\"rating === n ? true : undefined\"\n [attr.disabled]=\"disabled ? true : undefined\"\n (click)=\"onRadioClick(n)\" />\n <label class=\"ecl-rating-field__label\" for=\"{{ name }}-{{ n }}\">\n <span class=\"ecl-u-sr-only\">{{ n }} stars</span>\n <ecl-icon icon=\"star-filled\" class=\"ecl-rating-field__icon-filled\" size=\"l\"> </ecl-icon>\n <ecl-icon icon=\"star-outline\" class=\"ecl-rating-field__icon-outline\" size=\"l\"> </ecl-icon>\n </label>\n}\n","import { NgModule } from '@angular/core';\nimport { EclRatingFieldComponent } from './ecl-rating-field.component';\n\n/**\n * Module that provides the EclRatingField component.\n *\n * @deprecated Use {@link EUI_ECL_RATING_FIELD} instead.\n */\n@NgModule({\n imports: [EclRatingFieldComponent],\n exports: [EclRatingFieldComponent],\n})\nexport class EclRatingFieldModule {}\n","import { EclRatingFieldComponent } from './ecl-rating-field.component';\n\nexport * from './ecl-rating-field.module';\nexport * from './ecl-rating-field.component';\nexport * from './events/ecl-rating-change.event';\n\nexport const EUI_ECL_RATING_FIELD = [\n EclRatingFieldComponent,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAEM,MAAO,oBAAqB,SAAQ,YAAY,CAAA;AAClD,IAAA,WAAA,CAA4B,KAAa,EAAA;AACrC,QAAA,KAAK,EAAE;QADiB,IAAA,CAAA,KAAK,GAAL,KAAK;IAEjC;AACH;;ACAM,MAAM,8BAA8B,GAAa;AACpD,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,uBAAuB,CAAC;AACtD,IAAA,KAAK,EAAE,IAAI;;AAGf,MAAM,IAAI,GAAG,MAAW;;AAExB,CAAC;AAED;;;AAGG;AAOG,MAAO,uBAAwB,SAAQ,gBAAgB,CAAA;AAN7D,IAAA,WAAA,GAAA;;AAOI;;AAEG;QACM,IAAA,CAAA,IAAI,GAAG,QAAQ;AACxB;;AAEG;QACoC,IAAA,CAAA,aAAa,GAAG,CAAC;AAYxD;;AAEG;;AAEO,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,YAAY,EAAO;;QAGxC,IAAA,CAAA,QAAQ,GAAqB,IAAI;QACjC,IAAA,CAAA,SAAS,GAAe,IAAI;AAyDvC,IAAA;AAvDG;;AAEG;AACH,IAAA,IAAI,OAAO,GAAA;AACP,QAAA,OAAO,KAAK,CAAC,IAAI,CAAC,aAAa;aAC1B,IAAI,CAAC,CAAC;A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;uBAAC,EAAE,SAAS,EAAE,eAAe,EAAE;gBAMrC,QAAQ,EAAA,CAAA;sBAFP,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;;sBACrC,WAAW;uBAAC,eAAe;gBAOlB,YAAY,EAAA,CAAA;sBAArB;gBAmBG,UAAU,EAAA,CAAA;sBADb,WAAW;uBAAC,OAAO;;;AEjExB;;;;AAIG;MAKU,oBAAoB,CAAA;+GAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAApB,oBAAoB,EAAA,OAAA,EAAA,CAHnB,uBAAuB,CAAA,EAAA,OAAA,EAAA,CACvB,uBAAuB,CAAA,EAAA,CAAA,CAAA;AAExB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAHnB,uBAAuB,CAAA,EAAA,CAAA,CAAA;;4FAGxB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,uBAAuB,CAAC;oBAClC,OAAO,EAAE,CAAC,uBAAuB,CAAC;AACrC,iBAAA;;;ACLM,MAAM,oBAAoB,GAAG;IAChC,uBAAuB;;;ACP3B;;AAEG;;;;"}
@@ -1,21 +1,19 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { forwardRef, EventEmitter, HostListener, Output, HostBinding, Input, Component, NgModule } from '@angular/core';
3
- import { CommonModule } from '@angular/common';
4
- import * as i3 from '@eui/ecl/components/ecl-button';
3
+ import * as i3 from '@angular/forms';
4
+ import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
5
+ import * as i2 from '@ngx-translate/core';
6
+ import { TranslateModule } from '@ngx-translate/core';
7
+ import * as i1 from '@eui/ecl/core';
8
+ import { EclBaseEvent, ECLBaseDirective } from '@eui/ecl/core';
9
+ import * as i4 from '@eui/ecl/components/ecl-button';
5
10
  import { EclButtonModule } from '@eui/ecl/components/ecl-button';
6
11
  import * as i5 from '@eui/ecl/components/ecl-form-group';
7
12
  import { EclFormGroupModule } from '@eui/ecl/components/ecl-form-group';
8
- import * as i2 from '@angular/forms';
9
- import { NG_VALUE_ACCESSOR, ReactiveFormsModule, FormsModule } from '@angular/forms';
10
13
  import * as i6 from '@eui/ecl/components/ecl-text-input';
11
14
  import { EclTextInputModule } from '@eui/ecl/components/ecl-text-input';
12
- import * as i4 from '@eui/ecl/components/ecl-icon';
15
+ import * as i7 from '@eui/ecl/components/ecl-icon';
13
16
  import { EclIconModule } from '@eui/ecl/components/ecl-icon';
14
- import * as i7 from '@ngx-translate/core';
15
- import { TranslateModule } from '@ngx-translate/core';
16
- import * as i1 from '@eui/ecl/core';
17
- import { EclBaseEvent, ECLBaseDirective } from '@eui/ecl/core';
18
- import { EclFormLabelModule } from '@eui/ecl/components/ecl-form-label';
19
17
 
20
18
  class EclSearchFormEvent extends EclBaseEvent {
21
19
  constructor(keyword) {
@@ -95,11 +93,11 @@ class EclSearchFormComponent extends ECLBaseDirective {
95
93
  this.onTouched = fn;
96
94
  }
97
95
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclSearchFormComponent, deps: [{ token: i1.EclThemeService }], target: i0.ɵɵFactoryTarget.Component }); }
98
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: EclSearchFormComponent, isStandalone: false, selector: "ecl-search-form", inputs: { searchInputText: "searchInputText", placeholder: "placeholder", searchButtonLabel: "searchButtonLabel", searchButtonIcon: "searchButtonIcon", buttonExtraClassses: "buttonExtraClassses", inputExtraClassses: "inputExtraClassses" }, outputs: { search: "search" }, host: { listeners: { "keydown.enter": "onEnterKeyDown($event)" }, properties: { "class": "this.cssClasses", "attr.role": "this.role" } }, providers: [ECL_SEARCH_FORM_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0, template: "<ecl-form-group>\n <input\n eclTextInput\n [(ngModel)]=\"searchInputText\"\n (ngModelChange)=\"onModelChange($event)\"\n type=\"search\"\n name=\"search-input\"\n placeholder=\"{{ placeholder || 'ecl.common.SEARCH' | translate }}\"\n class=\"ecl-search-form__text-input {{inputExtraClassses}}\" />\n</ecl-form-group>\n<button eclButton type=\"submit\" [variant]=\"eclThemeService.isECTheme() ? 'ghost': 'primary'\" (click)=\"onSearchClick($event)\"\n class=\"ecl-search-form__button {{buttonExtraClassses}}\">\n <ecl-icon [icon]=\"searchButtonIcon\" size=\"xs\"></ecl-icon>\n <span eclButtonLabel>\n {{ searchButtonLabel || 'ecl.common.SEARCH' | translate }}\n </span>\n</button>\n", dependencies: [{ kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "component", type: i3.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "containerStyleClass"] }, { kind: "directive", type: i3.EclButtonLabelDirective, selector: "[eclButtonLabel]" }, { kind: "component", type: i4.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "component", type: i5.EclFormGroupComponent, selector: "[eclFormGroup], ecl-form-group" }, { kind: "directive", type: i6.EclTextInputDirective, selector: "input[eclTextInput]", inputs: ["type", "eclSize", "isInvalid"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] }); }
96
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: EclSearchFormComponent, isStandalone: true, selector: "ecl-search-form", inputs: { searchInputText: "searchInputText", placeholder: "placeholder", searchButtonLabel: "searchButtonLabel", searchButtonIcon: "searchButtonIcon", buttonExtraClassses: "buttonExtraClassses", inputExtraClassses: "inputExtraClassses" }, outputs: { search: "search" }, host: { listeners: { "keydown.enter": "onEnterKeyDown($event)" }, properties: { "class": "this.cssClasses", "attr.role": "this.role" } }, providers: [ECL_SEARCH_FORM_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0, template: "<ecl-form-group>\n <input\n eclTextInput\n [(ngModel)]=\"searchInputText\"\n (ngModelChange)=\"onModelChange($event)\"\n type=\"search\"\n name=\"search-input\"\n placeholder=\"{{ placeholder || 'ecl.common.SEARCH' | translate }}\"\n class=\"ecl-search-form__text-input {{inputExtraClassses}}\" />\n</ecl-form-group>\n<button eclButton type=\"submit\" [variant]=\"eclThemeService.isECTheme() ? 'ghost': 'primary'\" (click)=\"onSearchClick($event)\"\n class=\"ecl-search-form__button {{buttonExtraClassses}}\">\n <ecl-icon [icon]=\"searchButtonIcon\" size=\"xs\"></ecl-icon>\n <span eclButtonLabel>\n {{ searchButtonLabel || 'ecl.common.SEARCH' | translate }}\n </span>\n</button>\n", dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: EclButtonModule }, { kind: "component", type: i4.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "containerStyleClass"] }, { kind: "directive", type: i4.EclButtonLabelDirective, selector: "[eclButtonLabel]" }, { kind: "ngmodule", type: EclFormGroupModule }, { kind: "component", type: i5.EclFormGroupComponent, selector: "[eclFormGroup], ecl-form-group" }, { kind: "ngmodule", type: EclTextInputModule }, { kind: "directive", type: i6.EclTextInputDirective, selector: "input[eclTextInput]", inputs: ["type", "eclSize", "isInvalid"] }, { kind: "ngmodule", type: EclIconModule }, { kind: "component", type: i7.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }] }); }
99
97
  }
100
98
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclSearchFormComponent, decorators: [{
101
99
  type: Component,
102
- args: [{ selector: 'ecl-search-form', standalone: false, providers: [ECL_SEARCH_FORM_VALUE_ACCESSOR], template: "<ecl-form-group>\n <input\n eclTextInput\n [(ngModel)]=\"searchInputText\"\n (ngModelChange)=\"onModelChange($event)\"\n type=\"search\"\n name=\"search-input\"\n placeholder=\"{{ placeholder || 'ecl.common.SEARCH' | translate }}\"\n class=\"ecl-search-form__text-input {{inputExtraClassses}}\" />\n</ecl-form-group>\n<button eclButton type=\"submit\" [variant]=\"eclThemeService.isECTheme() ? 'ghost': 'primary'\" (click)=\"onSearchClick($event)\"\n class=\"ecl-search-form__button {{buttonExtraClassses}}\">\n <ecl-icon [icon]=\"searchButtonIcon\" size=\"xs\"></ecl-icon>\n <span eclButtonLabel>\n {{ searchButtonLabel || 'ecl.common.SEARCH' | translate }}\n </span>\n</button>\n" }]
100
+ args: [{ selector: 'ecl-search-form', imports: [TranslateModule, FormsModule, EclButtonModule, EclFormGroupModule, EclTextInputModule, EclIconModule], providers: [ECL_SEARCH_FORM_VALUE_ACCESSOR], template: "<ecl-form-group>\n <input\n eclTextInput\n [(ngModel)]=\"searchInputText\"\n (ngModelChange)=\"onModelChange($event)\"\n type=\"search\"\n name=\"search-input\"\n placeholder=\"{{ placeholder || 'ecl.common.SEARCH' | translate }}\"\n class=\"ecl-search-form__text-input {{inputExtraClassses}}\" />\n</ecl-form-group>\n<button eclButton type=\"submit\" [variant]=\"eclThemeService.isECTheme() ? 'ghost': 'primary'\" (click)=\"onSearchClick($event)\"\n class=\"ecl-search-form__button {{buttonExtraClassses}}\">\n <ecl-icon [icon]=\"searchButtonIcon\" size=\"xs\"></ecl-icon>\n <span eclButtonLabel>\n {{ searchButtonLabel || 'ecl.common.SEARCH' | translate }}\n </span>\n</button>\n" }]
103
101
  }], ctorParameters: () => [{ type: i1.EclThemeService }], propDecorators: { searchInputText: [{
104
102
  type: Input
105
103
  }], placeholder: [{
@@ -125,49 +123,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
125
123
  args: ['keydown.enter', ['$event']]
126
124
  }] } });
127
125
 
126
+ /**
127
+ * Module that provides the EclSearchForm component.
128
+ *
129
+ * @deprecated Use {@link EUI_ECL_SEARCH_FORM} instead.
130
+ */
128
131
  class EclSearchFormModule {
129
132
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclSearchFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
130
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: EclSearchFormModule, declarations: [EclSearchFormComponent], imports: [CommonModule,
131
- ReactiveFormsModule,
132
- TranslateModule,
133
- EclButtonModule,
134
- EclIconModule,
135
- EclFormGroupModule,
136
- EclFormLabelModule,
137
- EclTextInputModule,
138
- FormsModule], exports: [EclSearchFormComponent] }); }
139
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclSearchFormModule, imports: [CommonModule,
140
- ReactiveFormsModule,
141
- TranslateModule,
142
- EclButtonModule,
143
- EclIconModule,
144
- EclFormGroupModule,
145
- EclFormLabelModule,
146
- EclTextInputModule,
147
- FormsModule] }); }
133
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: EclSearchFormModule, imports: [EclSearchFormComponent], exports: [EclSearchFormComponent] }); }
134
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclSearchFormModule, imports: [EclSearchFormComponent] }); }
148
135
  }
149
136
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclSearchFormModule, decorators: [{
150
137
  type: NgModule,
151
138
  args: [{
152
- imports: [
153
- CommonModule,
154
- ReactiveFormsModule,
155
- TranslateModule,
156
- EclButtonModule,
157
- EclIconModule,
158
- EclFormGroupModule,
159
- EclFormLabelModule,
160
- EclTextInputModule,
161
- FormsModule,
162
- ],
139
+ imports: [EclSearchFormComponent],
163
140
  exports: [EclSearchFormComponent],
164
- declarations: [EclSearchFormComponent],
165
141
  }]
166
142
  }] });
167
143
 
144
+ const EUI_ECL_SEARCH_FORM = [
145
+ EclSearchFormComponent,
146
+ ];
147
+
168
148
  /**
169
149
  * Generated bundle index. Do not edit.
170
150
  */
171
151
 
172
- export { ECL_SEARCH_FORM_VALUE_ACCESSOR, EclSearchFormComponent, EclSearchFormEvent, EclSearchFormModule };
152
+ export { ECL_SEARCH_FORM_VALUE_ACCESSOR, EUI_ECL_SEARCH_FORM, EclSearchFormComponent, EclSearchFormEvent, EclSearchFormModule };
173
153
  //# sourceMappingURL=eui-ecl-components-ecl-search-form.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-search-form.mjs","sources":["../../components/ecl-search-form/events/ecl-search-form.event.ts","../../components/ecl-search-form/ecl-search-form.component.ts","../../components/ecl-search-form/ecl-search-form.component.html","../../components/ecl-search-form/ecl-search-form.module.ts","../../components/ecl-search-form/eui-ecl-components-ecl-search-form.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\n\nexport class EclSearchFormEvent extends EclBaseEvent {\n\tconstructor(public keyword: string) {\n\t\tsuper();\n\t}\n}\n","import {\n Component,\n EventEmitter,\n forwardRef,\n HostBinding,\n HostListener,\n Input,\n Output,\n Provider,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclThemeService } from '@eui/ecl/core';\nimport { EclSearchFormEvent } from './events/ecl-search-form.event';\n\nexport const ECL_SEARCH_FORM_VALUE_ACCESSOR: Provider = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => EclSearchFormComponent),\n multi: true,\n};\n\nconst noop = (): void => {\n /** empty*/\n};\n\n/**\n * Component representing search field - input and button, in a responsive, styled layout.\n */\n@Component({\n selector: 'ecl-search-form',\n templateUrl: 'ecl-search-form.component.html',\n standalone: false,\n providers: [ECL_SEARCH_FORM_VALUE_ACCESSOR],\n})\nexport class EclSearchFormComponent extends ECLBaseDirective implements ControlValueAccessor {\n /**\n * The current/default search text.\n */\n @Input() searchInputText: string;\n @Input() placeholder: string;\n @Input() searchButtonLabel: string;\n @Input() searchButtonIcon = 'search';\n @Input() buttonExtraClassses = '';\n @Input() inputExtraClassses = '';\n\n /**\n * Applies the base class `ecl-search-form` to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-search-form')].join(' ').trim();\n }\n\n @HostBinding('attr.role') role = 'search';\n\n /**\n * This event is emited, when user performs the search action. Includes the search text from the input field.\n */\n // TODO: this output should be renamed in v20 - breaking change!\n // eslint-disable-next-line @angular-eslint/no-output-native\n @Output() search = new EventEmitter<EclSearchFormEvent>();\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private onChange: (_: any) => void = noop;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private onTouched: (_: any) => void = noop;\n\n constructor(protected eclThemeService: EclThemeService) {\n super();\n }\n\n /**\n * Perform search when user clicks the search button. Emits the search event with the search text.\n */\n onSearchClick(evt: Event): void {\n this.search.next(new EclSearchFormEvent(this.searchInputText));\n evt.preventDefault();\n }\n\n /**\n * Perform search when user clicks Enter when on the input field. Emits the search event with the search text.\n */\n @HostListener('keydown.enter', ['$event'])\n onEnterKeyDown(evt: Event): void {\n this.search.next(new EclSearchFormEvent(this.searchInputText));\n evt.preventDefault();\n }\n\n /**\n * Assigns the new input text value to the 'searchInputText' property, each time the input is changed.\n * @param newValue \n */\n onModelChange(newValue: string): void {\n this.searchInputText = newValue;\n this.onChange(newValue);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n writeValue(value: any): void {\n this.searchInputText = value;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnChange(fn: (_: any) => void): void {\n this.onChange = fn;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnTouched(fn: (_: any) => void): void {\n this.onTouched = fn;\n }\n}\n","<ecl-form-group>\n <input\n eclTextInput\n [(ngModel)]=\"searchInputText\"\n (ngModelChange)=\"onModelChange($event)\"\n type=\"search\"\n name=\"search-input\"\n placeholder=\"{{ placeholder || 'ecl.common.SEARCH' | translate }}\"\n class=\"ecl-search-form__text-input {{inputExtraClassses}}\" />\n</ecl-form-group>\n<button eclButton type=\"submit\" [variant]=\"eclThemeService.isECTheme() ? 'ghost': 'primary'\" (click)=\"onSearchClick($event)\"\n class=\"ecl-search-form__button {{buttonExtraClassses}}\">\n <ecl-icon [icon]=\"searchButtonIcon\" size=\"xs\"></ecl-icon>\n <span eclButtonLabel>\n {{ searchButtonLabel || 'ecl.common.SEARCH' | translate }}\n </span>\n</button>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EclButtonModule } from '@eui/ecl/components/ecl-button';\nimport { EclFormGroupModule } from '@eui/ecl/components/ecl-form-group';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { EclTextInputModule } from '@eui/ecl/components/ecl-text-input';\nimport { EclIconModule } from '@eui/ecl/components/ecl-icon';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { EclSearchFormComponent } from './ecl-search-form.component';\nimport { EclFormLabelModule } from '@eui/ecl/components/ecl-form-label';\n\n@NgModule({\n imports: [\n CommonModule,\n ReactiveFormsModule,\n TranslateModule,\n EclButtonModule,\n EclIconModule,\n EclFormGroupModule,\n EclFormLabelModule,\n EclTextInputModule,\n FormsModule,\n ],\n exports: [EclSearchFormComponent],\n declarations: [EclSearchFormComponent],\n})\nexport class EclSearchFormModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAEM,MAAO,kBAAmB,SAAQ,YAAY,CAAA;AACnD,IAAA,WAAA,CAAmB,OAAe,EAAA;AACjC,QAAA,KAAK,EAAE;QADW,IAAA,CAAA,OAAO,GAAP,OAAO;IAE1B;AACA;;ACSM,MAAM,8BAA8B,GAAa;AACpD,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,sBAAsB,CAAC;AACrD,IAAA,KAAK,EAAE,IAAI;;AAGf,MAAM,IAAI,GAAG,MAAW;;AAExB,CAAC;AAED;;AAEG;AAOG,MAAO,sBAAuB,SAAQ,gBAAgB,CAAA;AAWxD;;AAEE;AACF,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IACpE;AAgBA,IAAA,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CAAC,sBAAsB,CAAC;AACzC,iBAAA;;;ACzBD;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-search-form.mjs","sources":["../../components/ecl-search-form/events/ecl-search-form.event.ts","../../components/ecl-search-form/ecl-search-form.component.ts","../../components/ecl-search-form/ecl-search-form.component.html","../../components/ecl-search-form/ecl-search-form.module.ts","../../components/ecl-search-form/index.ts","../../components/ecl-search-form/eui-ecl-components-ecl-search-form.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\n\nexport class EclSearchFormEvent extends EclBaseEvent {\n\tconstructor(public keyword: string) {\n\t\tsuper();\n\t}\n}\n","import {\n Component,\n EventEmitter,\n forwardRef,\n HostBinding,\n HostListener,\n Input,\n Output,\n Provider,\n} from '@angular/core';\nimport { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclThemeService } from '@eui/ecl/core';\nimport { EclSearchFormEvent } from './events/ecl-search-form.event';\nimport { EclButtonModule } from '@eui/ecl/components/ecl-button';\nimport { EclFormGroupModule } from '@eui/ecl/components/ecl-form-group';\nimport { EclTextInputModule } from '@eui/ecl/components/ecl-text-input';\nimport { EclIconModule } from '@eui/ecl/components/ecl-icon';\n\nexport const ECL_SEARCH_FORM_VALUE_ACCESSOR: Provider = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => EclSearchFormComponent),\n multi: true,\n};\n\nconst noop = (): void => {\n /** empty*/\n};\n\n/**\n * Component representing search field - input and button, in a responsive, styled layout.\n */\n@Component({\n selector: 'ecl-search-form',\n templateUrl: 'ecl-search-form.component.html',\n imports: [TranslateModule, FormsModule, EclButtonModule, EclFormGroupModule, EclTextInputModule, EclIconModule], // TODO: replace with new names EUI_ECL_...\n providers: [ECL_SEARCH_FORM_VALUE_ACCESSOR],\n})\nexport class EclSearchFormComponent extends ECLBaseDirective implements ControlValueAccessor {\n /**\n * The current/default search text.\n */\n @Input() searchInputText: string;\n @Input() placeholder: string;\n @Input() searchButtonLabel: string;\n @Input() searchButtonIcon = 'search';\n @Input() buttonExtraClassses = '';\n @Input() inputExtraClassses = '';\n\n /**\n * Applies the base class `ecl-search-form` to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-search-form')].join(' ').trim();\n }\n\n @HostBinding('attr.role') role = 'search';\n\n /**\n * This event is emited, when user performs the search action. Includes the search text from the input field.\n */\n // TODO: this output should be renamed in v20 - breaking change!\n // eslint-disable-next-line @angular-eslint/no-output-native\n @Output() search = new EventEmitter<EclSearchFormEvent>();\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private onChange: (_: any) => void = noop;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private onTouched: (_: any) => void = noop;\n\n constructor(protected eclThemeService: EclThemeService) {\n super();\n }\n\n /**\n * Perform search when user clicks the search button. Emits the search event with the search text.\n */\n onSearchClick(evt: Event): void {\n this.search.next(new EclSearchFormEvent(this.searchInputText));\n evt.preventDefault();\n }\n\n /**\n * Perform search when user clicks Enter when on the input field. Emits the search event with the search text.\n */\n @HostListener('keydown.enter', ['$event'])\n onEnterKeyDown(evt: Event): void {\n this.search.next(new EclSearchFormEvent(this.searchInputText));\n evt.preventDefault();\n }\n\n /**\n * Assigns the new input text value to the 'searchInputText' property, each time the input is changed.\n * @param newValue \n */\n onModelChange(newValue: string): void {\n this.searchInputText = newValue;\n this.onChange(newValue);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n writeValue(value: any): void {\n this.searchInputText = value;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnChange(fn: (_: any) => void): void {\n this.onChange = fn;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnTouched(fn: (_: any) => void): void {\n this.onTouched = fn;\n }\n}\n","<ecl-form-group>\n <input\n eclTextInput\n [(ngModel)]=\"searchInputText\"\n (ngModelChange)=\"onModelChange($event)\"\n type=\"search\"\n name=\"search-input\"\n placeholder=\"{{ placeholder || 'ecl.common.SEARCH' | translate }}\"\n class=\"ecl-search-form__text-input {{inputExtraClassses}}\" />\n</ecl-form-group>\n<button eclButton type=\"submit\" [variant]=\"eclThemeService.isECTheme() ? 'ghost': 'primary'\" (click)=\"onSearchClick($event)\"\n class=\"ecl-search-form__button {{buttonExtraClassses}}\">\n <ecl-icon [icon]=\"searchButtonIcon\" size=\"xs\"></ecl-icon>\n <span eclButtonLabel>\n {{ searchButtonLabel || 'ecl.common.SEARCH' | translate }}\n </span>\n</button>\n","import { NgModule } from '@angular/core';\nimport { EclSearchFormComponent } from './ecl-search-form.component';\n\n/**\n * Module that provides the EclSearchForm component.\n *\n * @deprecated Use {@link EUI_ECL_SEARCH_FORM} instead.\n */\n@NgModule({\n imports: [EclSearchFormComponent],\n exports: [EclSearchFormComponent],\n})\nexport class EclSearchFormModule {}\n","import { EclSearchFormComponent } from './ecl-search-form.component';\n\nexport * from './ecl-search-form.module';\nexport * from './ecl-search-form.component';\nexport * from './events/ecl-search-form.event';\n\nexport const EUI_ECL_SEARCH_FORM = [\n EclSearchFormComponent,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAEM,MAAO,kBAAmB,SAAQ,YAAY,CAAA;AACnD,IAAA,WAAA,CAAmB,OAAe,EAAA;AACjC,QAAA,KAAK,EAAE;QADW,IAAA,CAAA,OAAO,GAAP,OAAO;IAE1B;AACA;;ACcM,MAAM,8BAA8B,GAAa;AACpD,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,sBAAsB,CAAC;AACrD,IAAA,KAAK,EAAE,IAAI;;AAGf,MAAM,IAAI,GAAG,MAAW;;AAExB,CAAC;AAED;;AAEG;AAOG,MAAO,sBAAuB,SAAQ,gBAAgB,CAAA;AAWxD;;A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