@infineon/infineon-design-system-stencil 39.4.4-canary.0 → 39.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1210) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +452 -452
  3. package/dist/cjs/dom-utils-dykhxr-_.js.map +1 -1
  4. package/dist/cjs/framework-detection-C_6nNXcS.js.map +1 -1
  5. package/dist/cjs/ifx-accordion.ifx-accordion-item.entry.cjs.js.map +1 -1
  6. package/dist/cjs/ifx-accordion_2.cjs.entry.js +2 -2
  7. package/dist/cjs/ifx-accordion_2.cjs.entry.js.map +1 -1
  8. package/dist/cjs/ifx-action-list-item.cjs.entry.js +1 -1
  9. package/dist/cjs/ifx-action-list-item.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ifx-action-list-item.entry.cjs.js.map +1 -1
  11. package/dist/cjs/ifx-action-list.cjs.entry.js +1 -1
  12. package/dist/cjs/ifx-action-list.cjs.entry.js.map +1 -1
  13. package/dist/cjs/ifx-action-list.entry.cjs.js.map +1 -1
  14. package/dist/cjs/ifx-alert.ifx-template.entry.cjs.js.map +1 -1
  15. package/dist/cjs/ifx-alert_2.cjs.entry.js +1 -1
  16. package/dist/cjs/ifx-alert_2.cjs.entry.js.map +1 -1
  17. package/dist/cjs/ifx-basic-table.cjs.entry.js +7 -7
  18. package/dist/cjs/ifx-basic-table.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ifx-basic-table.entry.cjs.js.map +1 -1
  20. package/dist/cjs/ifx-breadcrumb-item-label.cjs.entry.js +1 -1
  21. package/dist/cjs/ifx-breadcrumb-item-label.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ifx-breadcrumb-item-label.entry.cjs.js.map +1 -1
  23. package/dist/cjs/ifx-breadcrumb-item.cjs.entry.js +1 -1
  24. package/dist/cjs/ifx-breadcrumb-item.cjs.entry.js.map +1 -1
  25. package/dist/cjs/ifx-breadcrumb-item.entry.cjs.js.map +1 -1
  26. package/dist/cjs/ifx-breadcrumb.cjs.entry.js +1 -1
  27. package/dist/cjs/ifx-breadcrumb.cjs.entry.js.map +1 -1
  28. package/dist/cjs/ifx-breadcrumb.entry.cjs.js.map +1 -1
  29. package/dist/cjs/ifx-button.cjs.entry.js +1 -1
  30. package/dist/cjs/ifx-button.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ifx-button.entry.cjs.js.map +1 -1
  32. package/dist/cjs/ifx-card-headline.cjs.entry.js +1 -1
  33. package/dist/cjs/ifx-card-headline.cjs.entry.js.map +1 -1
  34. package/dist/cjs/ifx-card-headline.entry.cjs.js.map +1 -1
  35. package/dist/cjs/ifx-card-image.cjs.entry.js +1 -1
  36. package/dist/cjs/ifx-card-image.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ifx-card-image.entry.cjs.js.map +1 -1
  38. package/dist/cjs/ifx-card-links.cjs.entry.js +1 -1
  39. package/dist/cjs/ifx-card-links.cjs.entry.js.map +1 -1
  40. package/dist/cjs/ifx-card-links.entry.cjs.js.map +1 -1
  41. package/dist/cjs/ifx-card-overline.cjs.entry.js +1 -1
  42. package/dist/cjs/ifx-card-overline.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ifx-card-overline.entry.cjs.js.map +1 -1
  44. package/dist/cjs/ifx-card-text.cjs.entry.js +1 -1
  45. package/dist/cjs/ifx-card-text.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ifx-card-text.entry.cjs.js.map +1 -1
  47. package/dist/cjs/ifx-card.cjs.entry.js +5 -5
  48. package/dist/cjs/ifx-card.cjs.entry.js.map +1 -1
  49. package/dist/cjs/ifx-card.entry.cjs.js.map +1 -1
  50. package/dist/cjs/ifx-checkbox-group.cjs.entry.js +1 -1
  51. package/dist/cjs/ifx-checkbox-group.cjs.entry.js.map +1 -1
  52. package/dist/cjs/ifx-checkbox-group.entry.cjs.js.map +1 -1
  53. package/dist/cjs/ifx-checkbox.cjs.entry.js +6 -6
  54. package/dist/cjs/ifx-checkbox.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ifx-checkbox.entry.cjs.js.map +1 -1
  56. package/dist/cjs/ifx-chip.ifx-chip-item.ifx-pagination.entry.cjs.js.map +1 -1
  57. package/dist/cjs/ifx-chip_3.cjs.entry.js +15 -15
  58. package/dist/cjs/ifx-chip_3.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ifx-content-switcher-item.cjs.entry.js +1 -1
  60. package/dist/cjs/ifx-content-switcher-item.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ifx-content-switcher-item.entry.cjs.js.map +1 -1
  62. package/dist/cjs/ifx-content-switcher.cjs.entry.js +1 -1
  63. package/dist/cjs/ifx-content-switcher.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ifx-content-switcher.entry.cjs.js.map +1 -1
  65. package/dist/cjs/ifx-date-picker.cjs.entry.js +2 -2
  66. package/dist/cjs/ifx-date-picker.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ifx-date-picker.entry.cjs.js.map +1 -1
  68. package/dist/cjs/ifx-download.cjs.entry.js +2 -2
  69. package/dist/cjs/ifx-download.cjs.entry.js.map +1 -1
  70. package/dist/cjs/ifx-download.entry.cjs.js.map +1 -1
  71. package/dist/cjs/ifx-dropdown-header.cjs.entry.js +1 -1
  72. package/dist/cjs/ifx-dropdown-header.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ifx-dropdown-header.entry.cjs.js.map +1 -1
  74. package/dist/cjs/ifx-dropdown-item.cjs.entry.js +1 -1
  75. package/dist/cjs/ifx-dropdown-item.cjs.entry.js.map +1 -1
  76. package/dist/cjs/ifx-dropdown-item.entry.cjs.js.map +1 -1
  77. package/dist/cjs/ifx-dropdown-menu.cjs.entry.js +4 -4
  78. package/dist/cjs/ifx-dropdown-menu.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ifx-dropdown-menu.entry.cjs.js.map +1 -1
  80. package/dist/cjs/ifx-dropdown-separator.cjs.entry.js +1 -1
  81. package/dist/cjs/ifx-dropdown-separator.cjs.entry.js.map +1 -1
  82. package/dist/cjs/ifx-dropdown-separator.entry.cjs.js.map +1 -1
  83. package/dist/cjs/ifx-dropdown-trigger-button.cjs.entry.js +2 -2
  84. package/dist/cjs/ifx-dropdown-trigger-button.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ifx-dropdown-trigger-button.entry.cjs.js.map +1 -1
  86. package/dist/cjs/ifx-dropdown-trigger.cjs.entry.js +1 -1
  87. package/dist/cjs/ifx-dropdown-trigger.cjs.entry.js.map +1 -1
  88. package/dist/cjs/ifx-dropdown-trigger.entry.cjs.js.map +1 -1
  89. package/dist/cjs/ifx-dropdown.cjs.entry.js +1 -1
  90. package/dist/cjs/ifx-dropdown.cjs.entry.js.map +1 -1
  91. package/dist/cjs/ifx-dropdown.entry.cjs.js.map +1 -1
  92. package/dist/cjs/ifx-faq.cjs.entry.js +1 -1
  93. package/dist/cjs/ifx-faq.cjs.entry.js.map +1 -1
  94. package/dist/cjs/ifx-faq.entry.cjs.js.map +1 -1
  95. package/dist/cjs/ifx-file-upload.cjs.entry.js +2 -2
  96. package/dist/cjs/ifx-file-upload.cjs.entry.js.map +1 -1
  97. package/dist/cjs/ifx-file-upload.entry.cjs.js.map +1 -1
  98. package/dist/cjs/ifx-filter-accordion.cjs.entry.js +2 -2
  99. package/dist/cjs/ifx-filter-accordion.cjs.entry.js.map +1 -1
  100. package/dist/cjs/ifx-filter-accordion.entry.cjs.js.map +1 -1
  101. package/dist/cjs/ifx-filter-bar.cjs.entry.js +1 -1
  102. package/dist/cjs/ifx-filter-bar.cjs.entry.js.map +1 -1
  103. package/dist/cjs/ifx-filter-bar.entry.cjs.js.map +1 -1
  104. package/dist/cjs/ifx-filter-search.cjs.entry.js +1 -1
  105. package/dist/cjs/ifx-filter-search.cjs.entry.js.map +1 -1
  106. package/dist/cjs/ifx-filter-search.entry.cjs.js.map +1 -1
  107. package/dist/cjs/ifx-filter-type-group.cjs.entry.js +1 -1
  108. package/dist/cjs/ifx-filter-type-group.cjs.entry.js.map +1 -1
  109. package/dist/cjs/ifx-filter-type-group.entry.cjs.js.map +1 -1
  110. package/dist/cjs/ifx-footer-column.cjs.entry.js +1 -1
  111. package/dist/cjs/ifx-footer-column.cjs.entry.js.map +1 -1
  112. package/dist/cjs/ifx-footer-column.entry.cjs.js.map +1 -1
  113. package/dist/cjs/ifx-footer.cjs.entry.js +4 -4
  114. package/dist/cjs/ifx-footer.cjs.entry.js.map +1 -1
  115. package/dist/cjs/ifx-footer.entry.cjs.js.map +1 -1
  116. package/dist/cjs/ifx-icon-button.cjs.entry.js +1 -1
  117. package/dist/cjs/ifx-icon-button.cjs.entry.js.map +1 -1
  118. package/dist/cjs/ifx-icon-button.entry.cjs.js.map +1 -1
  119. package/dist/cjs/ifx-icon.cjs.entry.js +1 -1
  120. package/dist/cjs/ifx-icon.cjs.entry.js.map +1 -1
  121. package/dist/cjs/ifx-icon.entry.cjs.js.map +1 -1
  122. package/dist/cjs/ifx-icons-preview.cjs.entry.js +1 -1
  123. package/dist/cjs/ifx-icons-preview.cjs.entry.js.map +1 -1
  124. package/dist/cjs/ifx-icons-preview.entry.cjs.js.map +1 -1
  125. package/dist/cjs/ifx-indicator.cjs.entry.js +2 -2
  126. package/dist/cjs/ifx-indicator.cjs.entry.js.map +1 -1
  127. package/dist/cjs/ifx-indicator.entry.cjs.js.map +1 -1
  128. package/dist/cjs/ifx-link.cjs.entry.js +1 -1
  129. package/dist/cjs/ifx-link.cjs.entry.js.map +1 -1
  130. package/dist/cjs/ifx-link.entry.cjs.js.map +1 -1
  131. package/dist/cjs/ifx-list-entry.cjs.entry.js +1 -1
  132. package/dist/cjs/ifx-list-entry.cjs.entry.js.map +1 -1
  133. package/dist/cjs/ifx-list-entry.entry.cjs.js.map +1 -1
  134. package/dist/cjs/ifx-list.cjs.entry.js.map +1 -1
  135. package/dist/cjs/ifx-list.entry.cjs.js.map +1 -1
  136. package/dist/cjs/ifx-modal.cjs.entry.js +2 -2
  137. package/dist/cjs/ifx-modal.cjs.entry.js.map +1 -1
  138. package/dist/cjs/ifx-modal.entry.cjs.js.map +1 -1
  139. package/dist/cjs/ifx-multiselect.ifx-multiselect-option.entry.cjs.js.map +1 -1
  140. package/dist/cjs/ifx-multiselect_2.cjs.entry.js +14 -14
  141. package/dist/cjs/ifx-multiselect_2.cjs.entry.js.map +1 -1
  142. package/dist/cjs/ifx-navbar-item.cjs.entry.js +5 -5
  143. package/dist/cjs/ifx-navbar-item.cjs.entry.js.map +1 -1
  144. package/dist/cjs/ifx-navbar-item.entry.cjs.js.map +1 -1
  145. package/dist/cjs/ifx-navbar-profile.cjs.entry.js +6 -6
  146. package/dist/cjs/ifx-navbar-profile.cjs.entry.js.map +1 -1
  147. package/dist/cjs/ifx-navbar-profile.entry.cjs.js.map +1 -1
  148. package/dist/cjs/ifx-navbar.cjs.entry.js +3 -3
  149. package/dist/cjs/ifx-navbar.cjs.entry.js.map +1 -1
  150. package/dist/cjs/ifx-navbar.entry.cjs.js.map +1 -1
  151. package/dist/cjs/ifx-notification.cjs.entry.js +2 -2
  152. package/dist/cjs/ifx-notification.cjs.entry.js.map +1 -1
  153. package/dist/cjs/ifx-notification.entry.cjs.js.map +1 -1
  154. package/dist/cjs/ifx-overview-table.cjs.entry.js +1 -1
  155. package/dist/cjs/ifx-overview-table.cjs.entry.js.map +1 -1
  156. package/dist/cjs/ifx-overview-table.entry.cjs.js.map +1 -1
  157. package/dist/cjs/ifx-progress-bar.cjs.entry.js +1 -1
  158. package/dist/cjs/ifx-progress-bar.cjs.entry.js.map +1 -1
  159. package/dist/cjs/ifx-progress-bar.entry.cjs.js.map +1 -1
  160. package/dist/cjs/ifx-radio-button-group.cjs.entry.js +1 -1
  161. package/dist/cjs/ifx-radio-button-group.cjs.entry.js.map +1 -1
  162. package/dist/cjs/ifx-radio-button-group.entry.cjs.js.map +1 -1
  163. package/dist/cjs/ifx-radio-button.cjs.entry.js +10 -10
  164. package/dist/cjs/ifx-radio-button.cjs.entry.js.map +1 -1
  165. package/dist/cjs/ifx-radio-button.entry.cjs.js.map +1 -1
  166. package/dist/cjs/ifx-search-bar.cjs.entry.js +1 -1
  167. package/dist/cjs/ifx-search-bar.cjs.entry.js.map +1 -1
  168. package/dist/cjs/ifx-search-bar.entry.cjs.js.map +1 -1
  169. package/dist/cjs/ifx-search-field.cjs.entry.js +2 -2
  170. package/dist/cjs/ifx-search-field.cjs.entry.js.map +1 -1
  171. package/dist/cjs/ifx-search-field.entry.cjs.js.map +1 -1
  172. package/dist/cjs/ifx-segment.cjs.entry.js +1 -1
  173. package/dist/cjs/ifx-segment.cjs.entry.js.map +1 -1
  174. package/dist/cjs/ifx-segment.entry.cjs.js.map +1 -1
  175. package/dist/cjs/ifx-segmented-control.cjs.entry.js +2 -2
  176. package/dist/cjs/ifx-segmented-control.cjs.entry.js.map +1 -1
  177. package/dist/cjs/ifx-segmented-control.entry.cjs.js.map +1 -1
  178. package/dist/cjs/ifx-select.cjs.entry.js +38 -38
  179. package/dist/cjs/ifx-select.cjs.entry.js.map +1 -1
  180. package/dist/cjs/ifx-select.entry.cjs.js.map +1 -1
  181. package/dist/cjs/ifx-set-filter.cjs.entry.js.map +1 -1
  182. package/dist/cjs/ifx-set-filter.entry.cjs.js.map +1 -1
  183. package/dist/cjs/ifx-sidebar-item.cjs.entry.js +5 -5
  184. package/dist/cjs/ifx-sidebar-item.cjs.entry.js.map +1 -1
  185. package/dist/cjs/ifx-sidebar-item.entry.cjs.js.map +1 -1
  186. package/dist/cjs/ifx-sidebar-title.cjs.entry.js +1 -1
  187. package/dist/cjs/ifx-sidebar-title.cjs.entry.js.map +1 -1
  188. package/dist/cjs/ifx-sidebar-title.entry.cjs.js.map +1 -1
  189. package/dist/cjs/ifx-sidebar.cjs.entry.js +5 -5
  190. package/dist/cjs/ifx-sidebar.cjs.entry.js.map +1 -1
  191. package/dist/cjs/ifx-sidebar.entry.cjs.js.map +1 -1
  192. package/dist/cjs/ifx-slider.cjs.entry.js +2 -2
  193. package/dist/cjs/ifx-slider.cjs.entry.js.map +1 -1
  194. package/dist/cjs/ifx-slider.entry.cjs.js.map +1 -1
  195. package/dist/cjs/ifx-spinner.ifx-text-field.entry.cjs.js.map +1 -1
  196. package/dist/cjs/ifx-spinner_2.cjs.entry.js +7 -7
  197. package/dist/cjs/ifx-spinner_2.cjs.entry.js.map +1 -1
  198. package/dist/cjs/ifx-status.cjs.entry.js +1 -1
  199. package/dist/cjs/ifx-status.cjs.entry.js.map +1 -1
  200. package/dist/cjs/ifx-status.entry.cjs.js.map +1 -1
  201. package/dist/cjs/ifx-step.cjs.entry.js +11 -11
  202. package/dist/cjs/ifx-step.cjs.entry.js.map +1 -1
  203. package/dist/cjs/ifx-step.entry.cjs.js.map +1 -1
  204. package/dist/cjs/ifx-stepper.cjs.entry.js +2 -2
  205. package/dist/cjs/ifx-stepper.cjs.entry.js.map +1 -1
  206. package/dist/cjs/ifx-stepper.entry.cjs.js.map +1 -1
  207. package/dist/cjs/ifx-switch.cjs.entry.js +1 -1
  208. package/dist/cjs/ifx-switch.cjs.entry.js.map +1 -1
  209. package/dist/cjs/ifx-switch.entry.cjs.js.map +1 -1
  210. package/dist/cjs/ifx-tab.cjs.entry.js +1 -1
  211. package/dist/cjs/ifx-tab.cjs.entry.js.map +1 -1
  212. package/dist/cjs/ifx-tab.entry.cjs.js.map +1 -1
  213. package/dist/cjs/ifx-table.cjs.entry.js +143 -48
  214. package/dist/cjs/ifx-table.cjs.entry.js.map +1 -1
  215. package/dist/cjs/ifx-table.entry.cjs.js.map +1 -1
  216. package/dist/cjs/ifx-tabs.cjs.entry.js +2 -2
  217. package/dist/cjs/ifx-tabs.cjs.entry.js.map +1 -1
  218. package/dist/cjs/ifx-tabs.entry.cjs.js.map +1 -1
  219. package/dist/cjs/ifx-templates-ui.cjs.entry.js +1 -1
  220. package/dist/cjs/ifx-templates-ui.cjs.entry.js.map +1 -1
  221. package/dist/cjs/ifx-templates-ui.entry.cjs.js.map +1 -1
  222. package/dist/cjs/ifx-textarea.cjs.entry.js +2 -2
  223. package/dist/cjs/ifx-textarea.cjs.entry.js.map +1 -1
  224. package/dist/cjs/ifx-textarea.entry.cjs.js.map +1 -1
  225. package/dist/cjs/ifx-tooltip.cjs.entry.js +4 -4
  226. package/dist/cjs/ifx-tooltip.cjs.entry.js.map +1 -1
  227. package/dist/cjs/ifx-tooltip.entry.cjs.js.map +1 -1
  228. package/dist/cjs/ifx-tree-view-item.cjs.entry.js +2 -2
  229. package/dist/cjs/ifx-tree-view-item.cjs.entry.js.map +1 -1
  230. package/dist/cjs/ifx-tree-view-item.entry.cjs.js.map +1 -1
  231. package/dist/cjs/ifx-tree-view.cjs.entry.js +1 -1
  232. package/dist/cjs/ifx-tree-view.cjs.entry.js.map +1 -1
  233. package/dist/cjs/ifx-tree-view.entry.cjs.js.map +1 -1
  234. package/dist/cjs/infineon-design-system-stencil.cjs.js +1 -1
  235. package/dist/cjs/loader.cjs.js +1 -1
  236. package/dist/collection/collection-manifest.json +6 -6
  237. package/dist/collection/components/accordion/accordion.js +1 -1
  238. package/dist/collection/components/accordion/accordion.js.map +1 -1
  239. package/dist/collection/components/accordion/accordion.stories.js +14 -14
  240. package/dist/collection/components/accordion/accordion.stories.js.map +1 -1
  241. package/dist/collection/components/accordion/accordionItem.js +1 -1
  242. package/dist/collection/components/accordion/accordionItem.js.map +1 -1
  243. package/dist/collection/components/action-list/action-list-item.js +2 -2
  244. package/dist/collection/components/action-list/action-list-item.js.map +1 -1
  245. package/dist/collection/components/action-list/action-list.js +1 -1
  246. package/dist/collection/components/action-list/action-list.js.map +1 -1
  247. package/dist/collection/components/action-list/action-list.stories.js +175 -175
  248. package/dist/collection/components/action-list/action-list.stories.js.map +1 -1
  249. package/dist/collection/components/alert/alert.js.map +1 -1
  250. package/dist/collection/components/alert/alert.stories.js +5 -5
  251. package/dist/collection/components/alert/alert.stories.js.map +1 -1
  252. package/dist/collection/components/breadcrumb/breadcrumb-item-label.js +1 -1
  253. package/dist/collection/components/breadcrumb/breadcrumb-item-label.js.map +1 -1
  254. package/dist/collection/components/breadcrumb/breadcrumb-item.js +1 -1
  255. package/dist/collection/components/breadcrumb/breadcrumb-item.js.map +1 -1
  256. package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
  257. package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
  258. package/dist/collection/components/breadcrumb/breadcrumb.stories.js +24 -24
  259. package/dist/collection/components/breadcrumb/breadcrumb.stories.js.map +1 -1
  260. package/dist/collection/components/button/button.js +1 -1
  261. package/dist/collection/components/button/button.js.map +1 -1
  262. package/dist/collection/components/button/button.stories.js +2 -2
  263. package/dist/collection/components/button/button.stories.js.map +1 -1
  264. package/dist/collection/components/card/card-headline/card-headline.js +1 -1
  265. package/dist/collection/components/card/card-headline/card-headline.js.map +1 -1
  266. package/dist/collection/components/card/card-image/card-image.js +1 -1
  267. package/dist/collection/components/card/card-image/card-image.js.map +1 -1
  268. package/dist/collection/components/card/card-links/card-links.js +1 -1
  269. package/dist/collection/components/card/card-links/card-links.js.map +1 -1
  270. package/dist/collection/components/card/card-overline/card-overline.js +1 -1
  271. package/dist/collection/components/card/card-overline/card-overline.js.map +1 -1
  272. package/dist/collection/components/card/card-text/card-text.js +1 -1
  273. package/dist/collection/components/card/card-text/card-text.js.map +1 -1
  274. package/dist/collection/components/card/card.js +5 -5
  275. package/dist/collection/components/card/card.js.map +1 -1
  276. package/dist/collection/components/card/card.stories.js +50 -50
  277. package/dist/collection/components/card/card.stories.js.map +1 -1
  278. package/dist/collection/components/checkbox/checkbox.js +6 -6
  279. package/dist/collection/components/checkbox/checkbox.js.map +1 -1
  280. package/dist/collection/components/checkbox/checkbox.stories.js.map +1 -1
  281. package/dist/collection/components/checkbox-group/checkbox-group.js +1 -1
  282. package/dist/collection/components/checkbox-group/checkbox-group.js.map +1 -1
  283. package/dist/collection/components/checkbox-group/checkbox-group.stories.js +3 -3
  284. package/dist/collection/components/checkbox-group/checkbox-group.stories.js.map +1 -1
  285. package/dist/collection/components/chip/chip-item/chip-item.js +2 -2
  286. package/dist/collection/components/chip/chip-item/chip-item.js.map +1 -1
  287. package/dist/collection/components/chip/chip.js +12 -12
  288. package/dist/collection/components/chip/chip.js.map +1 -1
  289. package/dist/collection/components/chip/chip.stories.js +16 -16
  290. package/dist/collection/components/chip/chip.stories.js.map +1 -1
  291. package/dist/collection/components/chip/interfaces.js.map +1 -1
  292. package/dist/collection/components/content-switcher/content-switcher-item.js +1 -1
  293. package/dist/collection/components/content-switcher/content-switcher-item.js.map +1 -1
  294. package/dist/collection/components/content-switcher/content-switcher.js +2 -2
  295. package/dist/collection/components/content-switcher/content-switcher.js.map +1 -1
  296. package/dist/collection/components/content-switcher/content-switcher.stories.js +2 -2
  297. package/dist/collection/components/content-switcher/content-switcher.stories.js.map +1 -1
  298. package/dist/collection/components/date-picker/date-picker.js +2 -2
  299. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  300. package/dist/collection/components/date-picker/date-picker.stories.js.map +1 -1
  301. package/dist/collection/components/download/download.js +2 -2
  302. package/dist/collection/components/download/download.js.map +1 -1
  303. package/dist/collection/components/download/download.stories.js.map +1 -1
  304. package/dist/collection/components/dropdown/IOpenable.js.map +1 -1
  305. package/dist/collection/components/dropdown/dropdown-header/dropdown-header.js +1 -1
  306. package/dist/collection/components/dropdown/dropdown-header/dropdown-header.js.map +1 -1
  307. package/dist/collection/components/dropdown/dropdown-item/dropdown-item.js +1 -1
  308. package/dist/collection/components/dropdown/dropdown-item/dropdown-item.js.map +1 -1
  309. package/dist/collection/components/dropdown/dropdown-menu/dropdown-menu.js +4 -4
  310. package/dist/collection/components/dropdown/dropdown-menu/dropdown-menu.js.map +1 -1
  311. package/dist/collection/components/dropdown/dropdown-seperator/dropdown-separator.js +1 -1
  312. package/dist/collection/components/dropdown/dropdown-seperator/dropdown-separator.js.map +1 -1
  313. package/dist/collection/components/dropdown/dropdown-trigger/dropdown-trigger.js +1 -1
  314. package/dist/collection/components/dropdown/dropdown-trigger/dropdown-trigger.js.map +1 -1
  315. package/dist/collection/components/dropdown/dropdown-trigger-button/dropdown-trigger-button.js +2 -2
  316. package/dist/collection/components/dropdown/dropdown-trigger-button/dropdown-trigger-button.js.map +1 -1
  317. package/dist/collection/components/dropdown/dropdown.js +2 -2
  318. package/dist/collection/components/dropdown/dropdown.js.map +1 -1
  319. package/dist/collection/components/dropdown/dropdown.stories.js +90 -90
  320. package/dist/collection/components/dropdown/dropdown.stories.js.map +1 -1
  321. package/dist/collection/components/file-upload/file-upload.js +2 -2
  322. package/dist/collection/components/file-upload/file-upload.js.map +1 -1
  323. package/dist/collection/components/file-upload/file-upload.stories.js.map +1 -1
  324. package/dist/collection/components/footer/footer-column.js +1 -1
  325. package/dist/collection/components/footer/footer-column.js.map +1 -1
  326. package/dist/collection/components/footer/footer.js +4 -4
  327. package/dist/collection/components/footer/footer.js.map +1 -1
  328. package/dist/collection/components/footer/footer.stories.js +89 -89
  329. package/dist/collection/components/footer/footer.stories.js.map +1 -1
  330. package/dist/collection/components/icon/infineonIconStencil.js +1 -1
  331. package/dist/collection/components/icon/infineonIconStencil.js.map +1 -1
  332. package/dist/collection/components/icon/infineonIconStencil.stories.js.map +1 -1
  333. package/dist/collection/components/icon-button/icon-button.js +1 -1
  334. package/dist/collection/components/icon-button/icon-button.js.map +1 -1
  335. package/dist/collection/components/icon-button/icon-button.stories.js +1 -1
  336. package/dist/collection/components/icon-button/icon-button.stories.js.map +1 -1
  337. package/dist/collection/components/icons-preview/icons-preview.js +1 -1
  338. package/dist/collection/components/icons-preview/icons-preview.js.map +1 -1
  339. package/dist/collection/components/icons-preview/icons-preview.stories.js.map +1 -1
  340. package/dist/collection/components/indicator/indicator.js +2 -2
  341. package/dist/collection/components/indicator/indicator.js.map +1 -1
  342. package/dist/collection/components/indicator/indicator.stories.js.map +1 -1
  343. package/dist/collection/components/link/link.js +1 -1
  344. package/dist/collection/components/link/link.js.map +1 -1
  345. package/dist/collection/components/link/link.stories.js +5 -5
  346. package/dist/collection/components/link/link.stories.js.map +1 -1
  347. package/dist/collection/components/modal/modal.js +2 -2
  348. package/dist/collection/components/modal/modal.js.map +1 -1
  349. package/dist/collection/components/modal/modal.stories.js +2 -2
  350. package/dist/collection/components/modal/modal.stories.js.map +1 -1
  351. package/dist/collection/components/navigation/navbar/navbar-item.js +5 -5
  352. package/dist/collection/components/navigation/navbar/navbar-item.js.map +1 -1
  353. package/dist/collection/components/navigation/navbar/navbar-profile.js +6 -6
  354. package/dist/collection/components/navigation/navbar/navbar-profile.js.map +1 -1
  355. package/dist/collection/components/navigation/navbar/navbar.js +3 -3
  356. package/dist/collection/components/navigation/navbar/navbar.js.map +1 -1
  357. package/dist/collection/components/navigation/navbar/navbar.stories.js +51 -51
  358. package/dist/collection/components/navigation/navbar/navbar.stories.js.map +1 -1
  359. package/dist/collection/components/navigation/sidebar/sidebar-item.js +5 -5
  360. package/dist/collection/components/navigation/sidebar/sidebar-item.js.map +1 -1
  361. package/dist/collection/components/navigation/sidebar/sidebar-title.js +1 -1
  362. package/dist/collection/components/navigation/sidebar/sidebar-title.js.map +1 -1
  363. package/dist/collection/components/navigation/sidebar/sidebar.js +5 -5
  364. package/dist/collection/components/navigation/sidebar/sidebar.js.map +1 -1
  365. package/dist/collection/components/navigation/sidebar/sidebar.stories.js +117 -117
  366. package/dist/collection/components/navigation/sidebar/sidebar.stories.js.map +1 -1
  367. package/dist/collection/components/notification/notification.js +3 -3
  368. package/dist/collection/components/notification/notification.js.map +1 -1
  369. package/dist/collection/components/notification/notification.stories.js +7 -7
  370. package/dist/collection/components/notification/notification.stories.js.map +1 -1
  371. package/dist/collection/components/overview-table/overview-table.js +1 -1
  372. package/dist/collection/components/overview-table/overview-table.js.map +1 -1
  373. package/dist/collection/components/overview-table/overview-table.stories.js.map +1 -1
  374. package/dist/collection/components/pagination/pagination.js +1 -1
  375. package/dist/collection/components/pagination/pagination.js.map +1 -1
  376. package/dist/collection/components/pagination/pagination.stories.js.map +1 -1
  377. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  378. package/dist/collection/components/progress-bar/progress-bar.js.map +1 -1
  379. package/dist/collection/components/progress-bar/progress-bar.stories.js +6 -6
  380. package/dist/collection/components/progress-bar/progress-bar.stories.js.map +1 -1
  381. package/dist/collection/components/radio-button/radio-button.js +10 -10
  382. package/dist/collection/components/radio-button/radio-button.js.map +1 -1
  383. package/dist/collection/components/radio-button/radio-button.stories.js.map +1 -1
  384. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  385. package/dist/collection/components/radio-button-group/radio-button-group.js.map +1 -1
  386. package/dist/collection/components/radio-button-group/radio-button-group.stories.js +3 -3
  387. package/dist/collection/components/radio-button-group/radio-button-group.stories.js.map +1 -1
  388. package/dist/collection/components/search-bar/search-bar.js +1 -1
  389. package/dist/collection/components/search-bar/search-bar.js.map +1 -1
  390. package/dist/collection/components/search-bar/search-bar.stories.js.map +1 -1
  391. package/dist/collection/components/search-field/search-field.js +4 -4
  392. package/dist/collection/components/search-field/search-field.js.map +1 -1
  393. package/dist/collection/components/search-field/search-field.stories.js.map +1 -1
  394. package/dist/collection/components/segmented-control/segment/segment.js +1 -1
  395. package/dist/collection/components/segmented-control/segment/segment.js.map +1 -1
  396. package/dist/collection/components/segmented-control/segmented-control.js +2 -2
  397. package/dist/collection/components/segmented-control/segmented-control.js.map +1 -1
  398. package/dist/collection/components/segmented-control/segmented-control.stories.js +14 -14
  399. package/dist/collection/components/segmented-control/segmented-control.stories.js.map +1 -1
  400. package/dist/collection/components/select/multi-select/interfaces.js.map +1 -1
  401. package/dist/collection/components/select/multi-select/multiselect-option.js +4 -4
  402. package/dist/collection/components/select/multi-select/multiselect-option.js.map +1 -1
  403. package/dist/collection/components/select/multi-select/multiselect.js +10 -10
  404. package/dist/collection/components/select/multi-select/multiselect.js.map +1 -1
  405. package/dist/collection/components/select/multi-select/multiselect.stories.js +156 -156
  406. package/dist/collection/components/select/multi-select/multiselect.stories.js.map +1 -1
  407. package/dist/collection/components/select/single-select/interfaces.js.map +1 -1
  408. package/dist/collection/components/select/single-select/select.js +38 -38
  409. package/dist/collection/components/select/single-select/select.js.map +1 -1
  410. package/dist/collection/components/select/single-select/select.stories.js +13 -13
  411. package/dist/collection/components/select/single-select/select.stories.js.map +1 -1
  412. package/dist/collection/components/select/single-select/utils.js.map +1 -1
  413. package/dist/collection/components/slider/slider.js +2 -2
  414. package/dist/collection/components/slider/slider.js.map +1 -1
  415. package/dist/collection/components/slider/slider.stories.js.map +1 -1
  416. package/dist/collection/components/spinner/spinner.js +2 -2
  417. package/dist/collection/components/spinner/spinner.js.map +1 -1
  418. package/dist/collection/components/spinner/spinner.stories.js.map +1 -1
  419. package/dist/collection/components/status/status.js +1 -1
  420. package/dist/collection/components/status/status.js.map +1 -1
  421. package/dist/collection/components/status/status.stories.js.map +1 -1
  422. package/dist/collection/components/stepper/interfaces.js.map +1 -1
  423. package/dist/collection/components/stepper/step/step.js +12 -12
  424. package/dist/collection/components/stepper/step/step.js.map +1 -1
  425. package/dist/collection/components/stepper/stepper.js +2 -2
  426. package/dist/collection/components/stepper/stepper.js.map +1 -1
  427. package/dist/collection/components/stepper/stepper.stories.js +13 -13
  428. package/dist/collection/components/stepper/stepper.stories.js.map +1 -1
  429. package/dist/collection/components/switch/switch.js +1 -1
  430. package/dist/collection/components/switch/switch.js.map +1 -1
  431. package/dist/collection/components/switch/switch.stories.js.map +1 -1
  432. package/dist/collection/components/table-advanced-version/buttonCellRenderer.js.map +1 -1
  433. package/dist/collection/components/table-advanced-version/checkboxCellRenderer.js.map +1 -1
  434. package/dist/collection/components/table-advanced-version/checkboxHeaderRenderer.js.map +1 -1
  435. package/dist/collection/components/table-advanced-version/customLoadingOverlay.js +2 -2
  436. package/dist/collection/components/table-advanced-version/customLoadingOverlay.js.map +1 -1
  437. package/dist/collection/components/table-advanced-version/customNoRowsOverlay.js +4 -4
  438. package/dist/collection/components/table-advanced-version/customNoRowsOverlay.js.map +1 -1
  439. package/dist/collection/components/table-advanced-version/filter-bar/filter-bar.js +1 -1
  440. package/dist/collection/components/table-advanced-version/filter-bar/filter-bar.js.map +1 -1
  441. package/dist/collection/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.js +2 -2
  442. package/dist/collection/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.js.map +1 -1
  443. package/dist/collection/components/table-advanced-version/filter-type-group/filter-search/filter-search.js +1 -1
  444. package/dist/collection/components/table-advanced-version/filter-type-group/filter-search/filter-search.js.map +1 -1
  445. package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.js +1 -1
  446. package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.js.map +1 -1
  447. package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.stories.js +17 -17
  448. package/dist/collection/components/table-advanced-version/filter-type-group/filter-type-group.stories.js.map +1 -1
  449. package/dist/collection/components/table-advanced-version/filter-type-group/utils.js.map +1 -1
  450. package/dist/collection/components/table-advanced-version/iconButtonCellRenderer.js.map +1 -1
  451. package/dist/collection/components/table-advanced-version/interfaces.js.map +1 -1
  452. package/dist/collection/components/table-advanced-version/linkCellRenderer.js.map +1 -1
  453. package/dist/collection/components/table-advanced-version/list/list-entry/list-entry.js +1 -1
  454. package/dist/collection/components/table-advanced-version/list/list-entry/list-entry.js.map +1 -1
  455. package/dist/collection/components/table-advanced-version/list/list.js.map +1 -1
  456. package/dist/collection/components/table-advanced-version/list/list.stories.js.map +1 -1
  457. package/dist/collection/components/table-advanced-version/set-filter/setFilter.js.map +1 -1
  458. package/dist/collection/components/table-advanced-version/statusCellRenderer.js.map +1 -1
  459. package/dist/collection/components/table-advanced-version/table.js +139 -43
  460. package/dist/collection/components/table-advanced-version/table.js.map +1 -1
  461. package/dist/collection/components/table-advanced-version/table.stories.js +84 -84
  462. package/dist/collection/components/table-advanced-version/table.stories.js.map +1 -1
  463. package/dist/collection/components/table-basic-version/customLoadingOverlay.js +2 -2
  464. package/dist/collection/components/table-basic-version/customLoadingOverlay.js.map +1 -1
  465. package/dist/collection/components/table-basic-version/customNoRowsOverlay.js +4 -4
  466. package/dist/collection/components/table-basic-version/customNoRowsOverlay.js.map +1 -1
  467. package/dist/collection/components/table-basic-version/interfaces.js.map +1 -1
  468. package/dist/collection/components/table-basic-version/table.js +1 -1
  469. package/dist/collection/components/table-basic-version/table.js.map +1 -1
  470. package/dist/collection/components/table-basic-version/table.stories.js +6 -6
  471. package/dist/collection/components/table-basic-version/table.stories.js.map +1 -1
  472. package/dist/collection/components/tabs/tab.js +1 -1
  473. package/dist/collection/components/tabs/tab.js.map +1 -1
  474. package/dist/collection/components/tabs/tabs.js +2 -2
  475. package/dist/collection/components/tabs/tabs.js.map +1 -1
  476. package/dist/collection/components/tabs/tabs.stories.js +4 -4
  477. package/dist/collection/components/tabs/tabs.stories.js.map +1 -1
  478. package/dist/collection/components/templates/template/template.js +1 -1
  479. package/dist/collection/components/templates/template/template.js.map +1 -1
  480. package/dist/collection/components/templates/templates-ui/templates-ui.js +1 -1
  481. package/dist/collection/components/templates/templates-ui/templates-ui.js.map +1 -1
  482. package/dist/collection/components/text-field/text-field.js +5 -5
  483. package/dist/collection/components/text-field/text-field.js.map +1 -1
  484. package/dist/collection/components/text-field/text-field.stories.js +1 -1
  485. package/dist/collection/components/text-field/text-field.stories.js.map +1 -1
  486. package/dist/collection/components/textarea/textarea.js +2 -2
  487. package/dist/collection/components/textarea/textarea.js.map +1 -1
  488. package/dist/collection/components/textarea/textarea.stories.js +23 -23
  489. package/dist/collection/components/textarea/textarea.stories.js.map +1 -1
  490. package/dist/collection/components/tooltip/tooltip.js +4 -4
  491. package/dist/collection/components/tooltip/tooltip.js.map +1 -1
  492. package/dist/collection/components/tooltip/tooltip.stories.js.map +1 -1
  493. package/dist/collection/components/tree-view/tree-view-item.js +5 -5
  494. package/dist/collection/components/tree-view/tree-view-item.js.map +1 -1
  495. package/dist/collection/components/tree-view/tree-view.js +1 -1
  496. package/dist/collection/components/tree-view/tree-view.js.map +1 -1
  497. package/dist/collection/components/tree-view/tree-view.stories.js +76 -76
  498. package/dist/collection/components/tree-view/tree-view.stories.js.map +1 -1
  499. package/dist/collection/global/font-import.js.map +1 -1
  500. package/dist/collection/global/utils/animation.js.map +1 -1
  501. package/dist/collection/global/utils/dom-ready.js.map +1 -1
  502. package/dist/collection/global/utils/dom-utils.js.map +1 -1
  503. package/dist/collection/global/utils/focus-trap.js.map +1 -1
  504. package/dist/collection/global/utils/framework-detection.js.map +1 -1
  505. package/dist/collection/global/utils/tracking.js.map +1 -1
  506. package/dist/collection/index.js.map +1 -1
  507. package/dist/collection/stories/setup-and-installation/faq/faq.js +1 -1
  508. package/dist/collection/stories/setup-and-installation/faq/faq.js.map +1 -1
  509. package/dist/collection/test-setup.js.map +1 -1
  510. package/dist/components/ifx-accordion-item.js +1 -1
  511. package/dist/components/ifx-accordion.js +1 -1
  512. package/dist/components/ifx-action-list-item.js +1 -1
  513. package/dist/components/ifx-action-list-item.js.map +1 -1
  514. package/dist/components/ifx-action-list.js +1 -1
  515. package/dist/components/ifx-action-list.js.map +1 -1
  516. package/dist/components/ifx-alert.js +1 -1
  517. package/dist/components/ifx-basic-table.js +7 -7
  518. package/dist/components/ifx-basic-table.js.map +1 -1
  519. package/dist/components/ifx-breadcrumb-item-label.js +2 -2
  520. package/dist/components/ifx-breadcrumb-item-label.js.map +1 -1
  521. package/dist/components/ifx-breadcrumb-item.js +1 -1
  522. package/dist/components/ifx-breadcrumb-item.js.map +1 -1
  523. package/dist/components/ifx-breadcrumb.js +1 -1
  524. package/dist/components/ifx-breadcrumb.js.map +1 -1
  525. package/dist/components/ifx-button.js +1 -1
  526. package/dist/components/ifx-card-headline.js +1 -1
  527. package/dist/components/ifx-card-headline.js.map +1 -1
  528. package/dist/components/ifx-card-image.js +1 -1
  529. package/dist/components/ifx-card-image.js.map +1 -1
  530. package/dist/components/ifx-card-links.js +1 -1
  531. package/dist/components/ifx-card-links.js.map +1 -1
  532. package/dist/components/ifx-card-overline.js +1 -1
  533. package/dist/components/ifx-card-overline.js.map +1 -1
  534. package/dist/components/ifx-card-text.js +1 -1
  535. package/dist/components/ifx-card-text.js.map +1 -1
  536. package/dist/components/ifx-card.js +5 -5
  537. package/dist/components/ifx-card.js.map +1 -1
  538. package/dist/components/ifx-checkbox-group.js +2 -2
  539. package/dist/components/ifx-checkbox-group.js.map +1 -1
  540. package/dist/components/ifx-checkbox.js +1 -1
  541. package/dist/components/ifx-chip-item.js +1 -1
  542. package/dist/components/ifx-chip.js +1 -1
  543. package/dist/components/ifx-content-switcher-item.js +1 -1
  544. package/dist/components/ifx-content-switcher-item.js.map +1 -1
  545. package/dist/components/ifx-content-switcher.js +1 -1
  546. package/dist/components/ifx-content-switcher.js.map +1 -1
  547. package/dist/components/ifx-date-picker.js +3 -3
  548. package/dist/components/ifx-date-picker.js.map +1 -1
  549. package/dist/components/ifx-download.js +3 -3
  550. package/dist/components/ifx-download.js.map +1 -1
  551. package/dist/components/ifx-dropdown-header.js +1 -1
  552. package/dist/components/ifx-dropdown-header.js.map +1 -1
  553. package/dist/components/ifx-dropdown-item.js +2 -2
  554. package/dist/components/ifx-dropdown-item.js.map +1 -1
  555. package/dist/components/ifx-dropdown-menu.js +4 -4
  556. package/dist/components/ifx-dropdown-menu.js.map +1 -1
  557. package/dist/components/ifx-dropdown-separator.js +1 -1
  558. package/dist/components/ifx-dropdown-separator.js.map +1 -1
  559. package/dist/components/ifx-dropdown-trigger-button.js +4 -4
  560. package/dist/components/ifx-dropdown-trigger-button.js.map +1 -1
  561. package/dist/components/ifx-dropdown-trigger.js +1 -1
  562. package/dist/components/ifx-dropdown-trigger.js.map +1 -1
  563. package/dist/components/ifx-dropdown.js +1 -1
  564. package/dist/components/ifx-dropdown.js.map +1 -1
  565. package/dist/components/ifx-faq.js +4 -4
  566. package/dist/components/ifx-faq.js.map +1 -1
  567. package/dist/components/ifx-file-upload.js +6 -6
  568. package/dist/components/ifx-file-upload.js.map +1 -1
  569. package/dist/components/ifx-filter-accordion.js +4 -4
  570. package/dist/components/ifx-filter-accordion.js.map +1 -1
  571. package/dist/components/ifx-filter-bar.js +3 -3
  572. package/dist/components/ifx-filter-bar.js.map +1 -1
  573. package/dist/components/ifx-filter-search.js +3 -3
  574. package/dist/components/ifx-filter-search.js.map +1 -1
  575. package/dist/components/ifx-filter-type-group.js +1 -1
  576. package/dist/components/ifx-filter-type-group.js.map +1 -1
  577. package/dist/components/ifx-footer-column.js +1 -1
  578. package/dist/components/ifx-footer-column.js.map +1 -1
  579. package/dist/components/ifx-footer.js +4 -4
  580. package/dist/components/ifx-footer.js.map +1 -1
  581. package/dist/components/ifx-icon-button.js +1 -1
  582. package/dist/components/ifx-icon.js +1 -1
  583. package/dist/components/ifx-icons-preview.js +5 -5
  584. package/dist/components/ifx-icons-preview.js.map +1 -1
  585. package/dist/components/ifx-indicator.js +1 -1
  586. package/dist/components/ifx-link.js +1 -1
  587. package/dist/components/ifx-list-entry.js +4 -4
  588. package/dist/components/ifx-list-entry.js.map +1 -1
  589. package/dist/components/ifx-list.js +2 -2
  590. package/dist/components/ifx-list.js.map +1 -1
  591. package/dist/components/ifx-modal.js +4 -4
  592. package/dist/components/ifx-modal.js.map +1 -1
  593. package/dist/components/ifx-multiselect-option.js +1 -1
  594. package/dist/components/ifx-multiselect.js +1 -1
  595. package/dist/components/ifx-navbar-item.js +7 -7
  596. package/dist/components/ifx-navbar-item.js.map +1 -1
  597. package/dist/components/ifx-navbar-profile.js +6 -6
  598. package/dist/components/ifx-navbar-profile.js.map +1 -1
  599. package/dist/components/ifx-navbar.js +4 -4
  600. package/dist/components/ifx-navbar.js.map +1 -1
  601. package/dist/components/ifx-notification.js +1 -1
  602. package/dist/components/ifx-overview-table.js +4 -4
  603. package/dist/components/ifx-overview-table.js.map +1 -1
  604. package/dist/components/ifx-pagination.js +1 -1
  605. package/dist/components/ifx-progress-bar.js +1 -1
  606. package/dist/components/ifx-radio-button-group.js +2 -2
  607. package/dist/components/ifx-radio-button-group.js.map +1 -1
  608. package/dist/components/ifx-radio-button.js +1 -1
  609. package/dist/components/ifx-search-bar.js +3 -3
  610. package/dist/components/ifx-search-bar.js.map +1 -1
  611. package/dist/components/ifx-search-field.js +1 -1
  612. package/dist/components/ifx-segment.js +2 -2
  613. package/dist/components/ifx-segment.js.map +1 -1
  614. package/dist/components/ifx-segmented-control.js +3 -3
  615. package/dist/components/ifx-segmented-control.js.map +1 -1
  616. package/dist/components/ifx-select.js +1 -1
  617. package/dist/components/ifx-set-filter.js +7 -7
  618. package/dist/components/ifx-set-filter.js.map +1 -1
  619. package/dist/components/ifx-sidebar-item.js +7 -7
  620. package/dist/components/ifx-sidebar-item.js.map +1 -1
  621. package/dist/components/ifx-sidebar-title.js +1 -1
  622. package/dist/components/ifx-sidebar-title.js.map +1 -1
  623. package/dist/components/ifx-sidebar.js +6 -6
  624. package/dist/components/ifx-sidebar.js.map +1 -1
  625. package/dist/components/ifx-slider.js +3 -3
  626. package/dist/components/ifx-slider.js.map +1 -1
  627. package/dist/components/ifx-spinner.js +1 -1
  628. package/dist/components/ifx-status.js +1 -1
  629. package/dist/components/ifx-status.js.map +1 -1
  630. package/dist/components/ifx-step.js +12 -12
  631. package/dist/components/ifx-step.js.map +1 -1
  632. package/dist/components/ifx-stepper.js +2 -2
  633. package/dist/components/ifx-stepper.js.map +1 -1
  634. package/dist/components/ifx-switch.js +1 -1
  635. package/dist/components/ifx-switch.js.map +1 -1
  636. package/dist/components/ifx-tab.js +1 -1
  637. package/dist/components/ifx-tab.js.map +1 -1
  638. package/dist/components/ifx-table.js +153 -57
  639. package/dist/components/ifx-table.js.map +1 -1
  640. package/dist/components/ifx-tabs.js +4 -4
  641. package/dist/components/ifx-tabs.js.map +1 -1
  642. package/dist/components/ifx-template.js +1 -1
  643. package/dist/components/ifx-templates-ui.js +9 -9
  644. package/dist/components/ifx-templates-ui.js.map +1 -1
  645. package/dist/components/ifx-text-field.js +1 -1
  646. package/dist/components/ifx-textarea.js +2 -2
  647. package/dist/components/ifx-textarea.js.map +1 -1
  648. package/dist/components/ifx-tooltip.js +5 -5
  649. package/dist/components/ifx-tooltip.js.map +1 -1
  650. package/dist/components/ifx-tree-view-item.js +4 -4
  651. package/dist/components/ifx-tree-view-item.js.map +1 -1
  652. package/dist/components/ifx-tree-view.js +1 -1
  653. package/dist/components/ifx-tree-view.js.map +1 -1
  654. package/dist/components/{p-BVontUD4.js → p-4wfkxGlJ.js} +6 -6
  655. package/dist/components/p-4wfkxGlJ.js.map +1 -0
  656. package/dist/components/{p-UJUcpUZI.js → p-BG0cmSVP.js} +6 -6
  657. package/dist/components/p-BG0cmSVP.js.map +1 -0
  658. package/dist/components/{p-DcAKq8Jr.js → p-BGgzlGhs.js} +12 -12
  659. package/dist/components/p-BGgzlGhs.js.map +1 -0
  660. package/dist/components/{p-B61ip_5M.js → p-BQj9WQQe.js} +9 -9
  661. package/dist/components/p-BQj9WQQe.js.map +1 -0
  662. package/dist/components/{p-B8O27fA1.js → p-BR9GBwm3.js} +3 -3
  663. package/dist/components/p-BR9GBwm3.js.map +1 -0
  664. package/dist/components/{p-rP_UHrBl.js → p-BxahGQyq.js} +4 -4
  665. package/dist/components/p-BxahGQyq.js.map +1 -0
  666. package/dist/components/{p-BODyHBnq.js → p-C12r4j5b.js} +3 -3
  667. package/dist/components/p-C12r4j5b.js.map +1 -0
  668. package/dist/components/{p-D3I_SqHt.js → p-CRSbKJxa.js} +5 -5
  669. package/dist/components/p-CRSbKJxa.js.map +1 -0
  670. package/dist/components/{p-B5v9D54X.js → p-CcGE_f9F.js} +15 -15
  671. package/dist/components/p-CcGE_f9F.js.map +1 -0
  672. package/dist/components/{p-TR-rcXLt.js → p-CnXEcTdH.js} +3 -3
  673. package/dist/components/p-CnXEcTdH.js.map +1 -0
  674. package/dist/components/{p-DzvIkH4S.js → p-DFInpODO.js} +8 -8
  675. package/dist/components/p-DFInpODO.js.map +1 -0
  676. package/dist/components/{p-C0oKAW62.js → p-DHLzWSzN.js} +41 -41
  677. package/dist/components/p-DHLzWSzN.js.map +1 -0
  678. package/dist/components/{p-sukt4tRE.js → p-DNZFFt4T.js} +16 -16
  679. package/dist/components/p-DNZFFt4T.js.map +1 -0
  680. package/dist/components/{p-y82FFfi8.js → p-DRqwZrk0.js} +4 -4
  681. package/dist/components/p-DRqwZrk0.js.map +1 -0
  682. package/dist/components/{p-BNfoBOb0.js → p-DdOsLLJc.js} +4 -4
  683. package/dist/components/p-DdOsLLJc.js.map +1 -0
  684. package/dist/components/{p-BnjY2AJX.js → p-DhNY6ZGA.js} +3 -3
  685. package/dist/components/{p-BnjY2AJX.js.map → p-DhNY6ZGA.js.map} +1 -1
  686. package/dist/components/{p-ncBPrnzY.js → p-Djr4amRx.js} +8 -8
  687. package/dist/components/p-Djr4amRx.js.map +1 -0
  688. package/dist/components/{p-BpoV3zpc.js → p-F-WOWp_H.js} +4 -4
  689. package/dist/components/p-F-WOWp_H.js.map +1 -0
  690. package/dist/components/{p-DrBheHJU.js → p-R79iWjuc.js} +3 -3
  691. package/dist/components/p-R79iWjuc.js.map +1 -0
  692. package/dist/components/{p-CIgjv3WT.js → p-RF9z92mE.js} +3 -3
  693. package/dist/components/p-RF9z92mE.js.map +1 -0
  694. package/dist/components/p-bqYaVeZb.js.map +1 -1
  695. package/dist/components/{p-DfhZt04W.js → p-esRQWwdS.js} +8 -8
  696. package/dist/components/p-esRQWwdS.js.map +1 -0
  697. package/dist/components/{p-T-OkJYup.js → p-v3vmQuAS.js} +6 -6
  698. package/dist/components/p-v3vmQuAS.js.map +1 -0
  699. package/dist/esm/dom-utils-Bw2fh5LT.js.map +1 -1
  700. package/dist/esm/framework-detection-DcmcuUOA.js.map +1 -1
  701. package/dist/esm/ifx-accordion.ifx-accordion-item.entry.js.map +1 -1
  702. package/dist/esm/ifx-accordion_2.entry.js +2 -2
  703. package/dist/esm/ifx-accordion_2.entry.js.map +1 -1
  704. package/dist/esm/ifx-action-list-item.entry.js +1 -1
  705. package/dist/esm/ifx-action-list-item.entry.js.map +1 -1
  706. package/dist/esm/ifx-action-list.entry.js +1 -1
  707. package/dist/esm/ifx-action-list.entry.js.map +1 -1
  708. package/dist/esm/ifx-alert.ifx-template.entry.js.map +1 -1
  709. package/dist/esm/ifx-alert_2.entry.js +1 -1
  710. package/dist/esm/ifx-alert_2.entry.js.map +1 -1
  711. package/dist/esm/ifx-basic-table.entry.js +7 -7
  712. package/dist/esm/ifx-basic-table.entry.js.map +1 -1
  713. package/dist/esm/ifx-breadcrumb-item-label.entry.js +1 -1
  714. package/dist/esm/ifx-breadcrumb-item-label.entry.js.map +1 -1
  715. package/dist/esm/ifx-breadcrumb-item.entry.js +1 -1
  716. package/dist/esm/ifx-breadcrumb-item.entry.js.map +1 -1
  717. package/dist/esm/ifx-breadcrumb.entry.js +1 -1
  718. package/dist/esm/ifx-breadcrumb.entry.js.map +1 -1
  719. package/dist/esm/ifx-button.entry.js +1 -1
  720. package/dist/esm/ifx-button.entry.js.map +1 -1
  721. package/dist/esm/ifx-card-headline.entry.js +1 -1
  722. package/dist/esm/ifx-card-headline.entry.js.map +1 -1
  723. package/dist/esm/ifx-card-image.entry.js +1 -1
  724. package/dist/esm/ifx-card-image.entry.js.map +1 -1
  725. package/dist/esm/ifx-card-links.entry.js +1 -1
  726. package/dist/esm/ifx-card-links.entry.js.map +1 -1
  727. package/dist/esm/ifx-card-overline.entry.js +1 -1
  728. package/dist/esm/ifx-card-overline.entry.js.map +1 -1
  729. package/dist/esm/ifx-card-text.entry.js +1 -1
  730. package/dist/esm/ifx-card-text.entry.js.map +1 -1
  731. package/dist/esm/ifx-card.entry.js +5 -5
  732. package/dist/esm/ifx-card.entry.js.map +1 -1
  733. package/dist/esm/ifx-checkbox-group.entry.js +1 -1
  734. package/dist/esm/ifx-checkbox-group.entry.js.map +1 -1
  735. package/dist/esm/ifx-checkbox.entry.js +6 -6
  736. package/dist/esm/ifx-checkbox.entry.js.map +1 -1
  737. package/dist/esm/ifx-chip.ifx-chip-item.ifx-pagination.entry.js.map +1 -1
  738. package/dist/esm/ifx-chip_3.entry.js +15 -15
  739. package/dist/esm/ifx-chip_3.entry.js.map +1 -1
  740. package/dist/esm/ifx-content-switcher-item.entry.js +1 -1
  741. package/dist/esm/ifx-content-switcher-item.entry.js.map +1 -1
  742. package/dist/esm/ifx-content-switcher.entry.js +1 -1
  743. package/dist/esm/ifx-content-switcher.entry.js.map +1 -1
  744. package/dist/esm/ifx-date-picker.entry.js +2 -2
  745. package/dist/esm/ifx-date-picker.entry.js.map +1 -1
  746. package/dist/esm/ifx-download.entry.js +2 -2
  747. package/dist/esm/ifx-download.entry.js.map +1 -1
  748. package/dist/esm/ifx-dropdown-header.entry.js +1 -1
  749. package/dist/esm/ifx-dropdown-header.entry.js.map +1 -1
  750. package/dist/esm/ifx-dropdown-item.entry.js +1 -1
  751. package/dist/esm/ifx-dropdown-item.entry.js.map +1 -1
  752. package/dist/esm/ifx-dropdown-menu.entry.js +4 -4
  753. package/dist/esm/ifx-dropdown-menu.entry.js.map +1 -1
  754. package/dist/esm/ifx-dropdown-separator.entry.js +1 -1
  755. package/dist/esm/ifx-dropdown-separator.entry.js.map +1 -1
  756. package/dist/esm/ifx-dropdown-trigger-button.entry.js +2 -2
  757. package/dist/esm/ifx-dropdown-trigger-button.entry.js.map +1 -1
  758. package/dist/esm/ifx-dropdown-trigger.entry.js +1 -1
  759. package/dist/esm/ifx-dropdown-trigger.entry.js.map +1 -1
  760. package/dist/esm/ifx-dropdown.entry.js +1 -1
  761. package/dist/esm/ifx-dropdown.entry.js.map +1 -1
  762. package/dist/esm/ifx-faq.entry.js +1 -1
  763. package/dist/esm/ifx-faq.entry.js.map +1 -1
  764. package/dist/esm/ifx-file-upload.entry.js +2 -2
  765. package/dist/esm/ifx-file-upload.entry.js.map +1 -1
  766. package/dist/esm/ifx-filter-accordion.entry.js +2 -2
  767. package/dist/esm/ifx-filter-accordion.entry.js.map +1 -1
  768. package/dist/esm/ifx-filter-bar.entry.js +1 -1
  769. package/dist/esm/ifx-filter-bar.entry.js.map +1 -1
  770. package/dist/esm/ifx-filter-search.entry.js +1 -1
  771. package/dist/esm/ifx-filter-search.entry.js.map +1 -1
  772. package/dist/esm/ifx-filter-type-group.entry.js +1 -1
  773. package/dist/esm/ifx-filter-type-group.entry.js.map +1 -1
  774. package/dist/esm/ifx-footer-column.entry.js +1 -1
  775. package/dist/esm/ifx-footer-column.entry.js.map +1 -1
  776. package/dist/esm/ifx-footer.entry.js +4 -4
  777. package/dist/esm/ifx-footer.entry.js.map +1 -1
  778. package/dist/esm/ifx-icon-button.entry.js +1 -1
  779. package/dist/esm/ifx-icon-button.entry.js.map +1 -1
  780. package/dist/esm/ifx-icon.entry.js +1 -1
  781. package/dist/esm/ifx-icon.entry.js.map +1 -1
  782. package/dist/esm/ifx-icons-preview.entry.js +1 -1
  783. package/dist/esm/ifx-icons-preview.entry.js.map +1 -1
  784. package/dist/esm/ifx-indicator.entry.js +2 -2
  785. package/dist/esm/ifx-indicator.entry.js.map +1 -1
  786. package/dist/esm/ifx-link.entry.js +1 -1
  787. package/dist/esm/ifx-link.entry.js.map +1 -1
  788. package/dist/esm/ifx-list-entry.entry.js +1 -1
  789. package/dist/esm/ifx-list-entry.entry.js.map +1 -1
  790. package/dist/esm/ifx-list.entry.js.map +1 -1
  791. package/dist/esm/ifx-modal.entry.js +2 -2
  792. package/dist/esm/ifx-modal.entry.js.map +1 -1
  793. package/dist/esm/ifx-multiselect.ifx-multiselect-option.entry.js.map +1 -1
  794. package/dist/esm/ifx-multiselect_2.entry.js +14 -14
  795. package/dist/esm/ifx-multiselect_2.entry.js.map +1 -1
  796. package/dist/esm/ifx-navbar-item.entry.js +5 -5
  797. package/dist/esm/ifx-navbar-item.entry.js.map +1 -1
  798. package/dist/esm/ifx-navbar-profile.entry.js +6 -6
  799. package/dist/esm/ifx-navbar-profile.entry.js.map +1 -1
  800. package/dist/esm/ifx-navbar.entry.js +3 -3
  801. package/dist/esm/ifx-navbar.entry.js.map +1 -1
  802. package/dist/esm/ifx-notification.entry.js +2 -2
  803. package/dist/esm/ifx-notification.entry.js.map +1 -1
  804. package/dist/esm/ifx-overview-table.entry.js +1 -1
  805. package/dist/esm/ifx-overview-table.entry.js.map +1 -1
  806. package/dist/esm/ifx-progress-bar.entry.js +1 -1
  807. package/dist/esm/ifx-progress-bar.entry.js.map +1 -1
  808. package/dist/esm/ifx-radio-button-group.entry.js +1 -1
  809. package/dist/esm/ifx-radio-button-group.entry.js.map +1 -1
  810. package/dist/esm/ifx-radio-button.entry.js +10 -10
  811. package/dist/esm/ifx-radio-button.entry.js.map +1 -1
  812. package/dist/esm/ifx-search-bar.entry.js +1 -1
  813. package/dist/esm/ifx-search-bar.entry.js.map +1 -1
  814. package/dist/esm/ifx-search-field.entry.js +2 -2
  815. package/dist/esm/ifx-search-field.entry.js.map +1 -1
  816. package/dist/esm/ifx-segment.entry.js +1 -1
  817. package/dist/esm/ifx-segment.entry.js.map +1 -1
  818. package/dist/esm/ifx-segmented-control.entry.js +2 -2
  819. package/dist/esm/ifx-segmented-control.entry.js.map +1 -1
  820. package/dist/esm/ifx-select.entry.js +38 -38
  821. package/dist/esm/ifx-select.entry.js.map +1 -1
  822. package/dist/esm/ifx-set-filter.entry.js.map +1 -1
  823. package/dist/esm/ifx-sidebar-item.entry.js +5 -5
  824. package/dist/esm/ifx-sidebar-item.entry.js.map +1 -1
  825. package/dist/esm/ifx-sidebar-title.entry.js +1 -1
  826. package/dist/esm/ifx-sidebar-title.entry.js.map +1 -1
  827. package/dist/esm/ifx-sidebar.entry.js +5 -5
  828. package/dist/esm/ifx-sidebar.entry.js.map +1 -1
  829. package/dist/esm/ifx-slider.entry.js +2 -2
  830. package/dist/esm/ifx-slider.entry.js.map +1 -1
  831. package/dist/esm/ifx-spinner.ifx-text-field.entry.js.map +1 -1
  832. package/dist/esm/ifx-spinner_2.entry.js +7 -7
  833. package/dist/esm/ifx-spinner_2.entry.js.map +1 -1
  834. package/dist/esm/ifx-status.entry.js +1 -1
  835. package/dist/esm/ifx-status.entry.js.map +1 -1
  836. package/dist/esm/ifx-step.entry.js +11 -11
  837. package/dist/esm/ifx-step.entry.js.map +1 -1
  838. package/dist/esm/ifx-stepper.entry.js +2 -2
  839. package/dist/esm/ifx-stepper.entry.js.map +1 -1
  840. package/dist/esm/ifx-switch.entry.js +1 -1
  841. package/dist/esm/ifx-switch.entry.js.map +1 -1
  842. package/dist/esm/ifx-tab.entry.js +1 -1
  843. package/dist/esm/ifx-tab.entry.js.map +1 -1
  844. package/dist/esm/ifx-table.entry.js +143 -48
  845. package/dist/esm/ifx-table.entry.js.map +1 -1
  846. package/dist/esm/ifx-tabs.entry.js +2 -2
  847. package/dist/esm/ifx-tabs.entry.js.map +1 -1
  848. package/dist/esm/ifx-templates-ui.entry.js +1 -1
  849. package/dist/esm/ifx-templates-ui.entry.js.map +1 -1
  850. package/dist/esm/ifx-textarea.entry.js +2 -2
  851. package/dist/esm/ifx-textarea.entry.js.map +1 -1
  852. package/dist/esm/ifx-tooltip.entry.js +4 -4
  853. package/dist/esm/ifx-tooltip.entry.js.map +1 -1
  854. package/dist/esm/ifx-tree-view-item.entry.js +2 -2
  855. package/dist/esm/ifx-tree-view-item.entry.js.map +1 -1
  856. package/dist/esm/ifx-tree-view.entry.js +1 -1
  857. package/dist/esm/ifx-tree-view.entry.js.map +1 -1
  858. package/dist/esm/infineon-design-system-stencil.js +1 -1
  859. package/dist/esm/loader.js +1 -1
  860. package/dist/infineon-design-system-stencil/ifx-accordion.ifx-accordion-item.entry.esm.js.map +1 -1
  861. package/dist/infineon-design-system-stencil/ifx-action-list-item.entry.esm.js.map +1 -1
  862. package/dist/infineon-design-system-stencil/ifx-action-list.entry.esm.js.map +1 -1
  863. package/dist/infineon-design-system-stencil/ifx-alert.ifx-template.entry.esm.js.map +1 -1
  864. package/dist/infineon-design-system-stencil/ifx-basic-table.entry.esm.js.map +1 -1
  865. package/dist/infineon-design-system-stencil/ifx-breadcrumb-item-label.entry.esm.js.map +1 -1
  866. package/dist/infineon-design-system-stencil/ifx-breadcrumb-item.entry.esm.js.map +1 -1
  867. package/dist/infineon-design-system-stencil/ifx-breadcrumb.entry.esm.js.map +1 -1
  868. package/dist/infineon-design-system-stencil/ifx-button.entry.esm.js.map +1 -1
  869. package/dist/infineon-design-system-stencil/ifx-card-headline.entry.esm.js.map +1 -1
  870. package/dist/infineon-design-system-stencil/ifx-card-image.entry.esm.js.map +1 -1
  871. package/dist/infineon-design-system-stencil/ifx-card-links.entry.esm.js.map +1 -1
  872. package/dist/infineon-design-system-stencil/ifx-card-overline.entry.esm.js.map +1 -1
  873. package/dist/infineon-design-system-stencil/ifx-card-text.entry.esm.js.map +1 -1
  874. package/dist/infineon-design-system-stencil/ifx-card.entry.esm.js.map +1 -1
  875. package/dist/infineon-design-system-stencil/ifx-checkbox-group.entry.esm.js.map +1 -1
  876. package/dist/infineon-design-system-stencil/ifx-checkbox.entry.esm.js.map +1 -1
  877. package/dist/infineon-design-system-stencil/ifx-chip.ifx-chip-item.ifx-pagination.entry.esm.js.map +1 -1
  878. package/dist/infineon-design-system-stencil/ifx-content-switcher-item.entry.esm.js.map +1 -1
  879. package/dist/infineon-design-system-stencil/ifx-content-switcher.entry.esm.js.map +1 -1
  880. package/dist/infineon-design-system-stencil/ifx-date-picker.entry.esm.js.map +1 -1
  881. package/dist/infineon-design-system-stencil/ifx-download.entry.esm.js.map +1 -1
  882. package/dist/infineon-design-system-stencil/ifx-dropdown-header.entry.esm.js.map +1 -1
  883. package/dist/infineon-design-system-stencil/ifx-dropdown-item.entry.esm.js.map +1 -1
  884. package/dist/infineon-design-system-stencil/ifx-dropdown-menu.entry.esm.js.map +1 -1
  885. package/dist/infineon-design-system-stencil/ifx-dropdown-separator.entry.esm.js.map +1 -1
  886. package/dist/infineon-design-system-stencil/ifx-dropdown-trigger-button.entry.esm.js.map +1 -1
  887. package/dist/infineon-design-system-stencil/ifx-dropdown-trigger.entry.esm.js.map +1 -1
  888. package/dist/infineon-design-system-stencil/ifx-dropdown.entry.esm.js.map +1 -1
  889. package/dist/infineon-design-system-stencil/ifx-faq.entry.esm.js.map +1 -1
  890. package/dist/infineon-design-system-stencil/ifx-file-upload.entry.esm.js.map +1 -1
  891. package/dist/infineon-design-system-stencil/ifx-filter-accordion.entry.esm.js.map +1 -1
  892. package/dist/infineon-design-system-stencil/ifx-filter-bar.entry.esm.js.map +1 -1
  893. package/dist/infineon-design-system-stencil/ifx-filter-search.entry.esm.js.map +1 -1
  894. package/dist/infineon-design-system-stencil/ifx-filter-type-group.entry.esm.js.map +1 -1
  895. package/dist/infineon-design-system-stencil/ifx-footer-column.entry.esm.js.map +1 -1
  896. package/dist/infineon-design-system-stencil/ifx-footer.entry.esm.js.map +1 -1
  897. package/dist/infineon-design-system-stencil/ifx-icon-button.entry.esm.js.map +1 -1
  898. package/dist/infineon-design-system-stencil/ifx-icon.entry.esm.js.map +1 -1
  899. package/dist/infineon-design-system-stencil/ifx-icons-preview.entry.esm.js.map +1 -1
  900. package/dist/infineon-design-system-stencil/ifx-indicator.entry.esm.js.map +1 -1
  901. package/dist/infineon-design-system-stencil/ifx-link.entry.esm.js.map +1 -1
  902. package/dist/infineon-design-system-stencil/ifx-list-entry.entry.esm.js.map +1 -1
  903. package/dist/infineon-design-system-stencil/ifx-list.entry.esm.js.map +1 -1
  904. package/dist/infineon-design-system-stencil/ifx-modal.entry.esm.js.map +1 -1
  905. package/dist/infineon-design-system-stencil/ifx-multiselect.ifx-multiselect-option.entry.esm.js.map +1 -1
  906. package/dist/infineon-design-system-stencil/ifx-navbar-item.entry.esm.js.map +1 -1
  907. package/dist/infineon-design-system-stencil/ifx-navbar-profile.entry.esm.js.map +1 -1
  908. package/dist/infineon-design-system-stencil/ifx-navbar.entry.esm.js.map +1 -1
  909. package/dist/infineon-design-system-stencil/ifx-notification.entry.esm.js.map +1 -1
  910. package/dist/infineon-design-system-stencil/ifx-overview-table.entry.esm.js.map +1 -1
  911. package/dist/infineon-design-system-stencil/ifx-progress-bar.entry.esm.js.map +1 -1
  912. package/dist/infineon-design-system-stencil/ifx-radio-button-group.entry.esm.js.map +1 -1
  913. package/dist/infineon-design-system-stencil/ifx-radio-button.entry.esm.js.map +1 -1
  914. package/dist/infineon-design-system-stencil/ifx-search-bar.entry.esm.js.map +1 -1
  915. package/dist/infineon-design-system-stencil/ifx-search-field.entry.esm.js.map +1 -1
  916. package/dist/infineon-design-system-stencil/ifx-segment.entry.esm.js.map +1 -1
  917. package/dist/infineon-design-system-stencil/ifx-segmented-control.entry.esm.js.map +1 -1
  918. package/dist/infineon-design-system-stencil/ifx-select.entry.esm.js.map +1 -1
  919. package/dist/infineon-design-system-stencil/ifx-set-filter.entry.esm.js.map +1 -1
  920. package/dist/infineon-design-system-stencil/ifx-sidebar-item.entry.esm.js.map +1 -1
  921. package/dist/infineon-design-system-stencil/ifx-sidebar-title.entry.esm.js.map +1 -1
  922. package/dist/infineon-design-system-stencil/ifx-sidebar.entry.esm.js.map +1 -1
  923. package/dist/infineon-design-system-stencil/ifx-slider.entry.esm.js.map +1 -1
  924. package/dist/infineon-design-system-stencil/ifx-spinner.ifx-text-field.entry.esm.js.map +1 -1
  925. package/dist/infineon-design-system-stencil/ifx-status.entry.esm.js.map +1 -1
  926. package/dist/infineon-design-system-stencil/ifx-step.entry.esm.js.map +1 -1
  927. package/dist/infineon-design-system-stencil/ifx-stepper.entry.esm.js.map +1 -1
  928. package/dist/infineon-design-system-stencil/ifx-switch.entry.esm.js.map +1 -1
  929. package/dist/infineon-design-system-stencil/ifx-tab.entry.esm.js.map +1 -1
  930. package/dist/infineon-design-system-stencil/ifx-table.entry.esm.js.map +1 -1
  931. package/dist/infineon-design-system-stencil/ifx-tabs.entry.esm.js.map +1 -1
  932. package/dist/infineon-design-system-stencil/ifx-templates-ui.entry.esm.js.map +1 -1
  933. package/dist/infineon-design-system-stencil/ifx-textarea.entry.esm.js.map +1 -1
  934. package/dist/infineon-design-system-stencil/ifx-tooltip.entry.esm.js.map +1 -1
  935. package/dist/infineon-design-system-stencil/ifx-tree-view-item.entry.esm.js.map +1 -1
  936. package/dist/infineon-design-system-stencil/ifx-tree-view.entry.esm.js.map +1 -1
  937. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
  938. package/dist/infineon-design-system-stencil/{p-6c41a04b.entry.js → p-05f66dcb.entry.js} +2 -2
  939. package/dist/infineon-design-system-stencil/p-05f66dcb.entry.js.map +1 -0
  940. package/dist/infineon-design-system-stencil/{p-edda61ad.entry.js → p-060845fd.entry.js} +2 -2
  941. package/dist/infineon-design-system-stencil/p-060845fd.entry.js.map +1 -0
  942. package/dist/infineon-design-system-stencil/{p-fd3e81ea.entry.js → p-06d2f85b.entry.js} +2 -2
  943. package/dist/infineon-design-system-stencil/p-06d2f85b.entry.js.map +1 -0
  944. package/dist/infineon-design-system-stencil/{p-56c892b7.entry.js → p-0929589d.entry.js} +2 -2
  945. package/dist/infineon-design-system-stencil/p-0929589d.entry.js.map +1 -0
  946. package/dist/infineon-design-system-stencil/{p-a3feab7d.entry.js → p-0be8f0c9.entry.js} +2 -2
  947. package/dist/infineon-design-system-stencil/p-0be8f0c9.entry.js.map +1 -0
  948. package/dist/infineon-design-system-stencil/{p-99700497.entry.js → p-0fb9f42b.entry.js} +2 -2
  949. package/dist/infineon-design-system-stencil/p-0fb9f42b.entry.js.map +1 -0
  950. package/dist/infineon-design-system-stencil/{p-52c43df7.entry.js → p-116c853e.entry.js} +2 -2
  951. package/dist/infineon-design-system-stencil/p-116c853e.entry.js.map +1 -0
  952. package/dist/infineon-design-system-stencil/{p-9469fe88.entry.js → p-169f26ae.entry.js} +2 -2
  953. package/dist/infineon-design-system-stencil/p-169f26ae.entry.js.map +1 -0
  954. package/dist/infineon-design-system-stencil/{p-5e6dc7d8.entry.js → p-1c1b1a1f.entry.js} +2 -2
  955. package/dist/infineon-design-system-stencil/p-1c1b1a1f.entry.js.map +1 -0
  956. package/dist/infineon-design-system-stencil/p-1d494424.entry.js +2 -0
  957. package/dist/infineon-design-system-stencil/p-1d494424.entry.js.map +1 -0
  958. package/dist/infineon-design-system-stencil/{p-c8a488bb.entry.js → p-22e9960d.entry.js} +2 -2
  959. package/dist/infineon-design-system-stencil/p-22e9960d.entry.js.map +1 -0
  960. package/dist/infineon-design-system-stencil/{p-e6254813.entry.js → p-2503d869.entry.js} +2 -2
  961. package/dist/infineon-design-system-stencil/p-2503d869.entry.js.map +1 -0
  962. package/dist/infineon-design-system-stencil/{p-80672b31.entry.js → p-273907cb.entry.js} +2 -2
  963. package/dist/infineon-design-system-stencil/p-273907cb.entry.js.map +1 -0
  964. package/dist/infineon-design-system-stencil/{p-210b1849.entry.js → p-2813423a.entry.js} +2 -2
  965. package/dist/infineon-design-system-stencil/p-2813423a.entry.js.map +1 -0
  966. package/dist/infineon-design-system-stencil/{p-694aa84a.entry.js → p-2b4b2b06.entry.js} +2 -2
  967. package/dist/infineon-design-system-stencil/p-2b4b2b06.entry.js.map +1 -0
  968. package/dist/infineon-design-system-stencil/{p-18c6d719.entry.js → p-2e172019.entry.js} +2 -2
  969. package/dist/infineon-design-system-stencil/p-2e172019.entry.js.map +1 -0
  970. package/dist/infineon-design-system-stencil/p-307e6a72.entry.js +2 -0
  971. package/dist/infineon-design-system-stencil/p-307e6a72.entry.js.map +1 -0
  972. package/dist/infineon-design-system-stencil/{p-0f35aeb6.entry.js → p-35d2266a.entry.js} +2 -2
  973. package/dist/infineon-design-system-stencil/p-35d2266a.entry.js.map +1 -0
  974. package/dist/infineon-design-system-stencil/{p-57f89e06.entry.js → p-380368ca.entry.js} +2 -2
  975. package/dist/infineon-design-system-stencil/p-380368ca.entry.js.map +1 -0
  976. package/dist/infineon-design-system-stencil/{p-2d3e3eea.entry.js → p-39561a49.entry.js} +2 -2
  977. package/dist/infineon-design-system-stencil/p-39561a49.entry.js.map +1 -0
  978. package/dist/infineon-design-system-stencil/{p-cc748b24.entry.js → p-39e3ee45.entry.js} +2 -2
  979. package/dist/infineon-design-system-stencil/p-39e3ee45.entry.js.map +1 -0
  980. package/dist/infineon-design-system-stencil/{p-501cf224.entry.js → p-3d77ef02.entry.js} +2 -2
  981. package/dist/infineon-design-system-stencil/p-3d77ef02.entry.js.map +1 -0
  982. package/dist/infineon-design-system-stencil/p-3eeacac9.entry.js +2 -0
  983. package/dist/infineon-design-system-stencil/p-3eeacac9.entry.js.map +1 -0
  984. package/dist/infineon-design-system-stencil/{p-4a0ae909.entry.js → p-45dad0d1.entry.js} +2 -2
  985. package/dist/infineon-design-system-stencil/p-45dad0d1.entry.js.map +1 -0
  986. package/dist/infineon-design-system-stencil/p-4669e01f.entry.js.map +1 -1
  987. package/dist/infineon-design-system-stencil/{p-30af152b.entry.js → p-4da5a2a5.entry.js} +2 -2
  988. package/dist/infineon-design-system-stencil/p-4da5a2a5.entry.js.map +1 -0
  989. package/dist/infineon-design-system-stencil/{p-db796fec.entry.js → p-4fba0543.entry.js} +2 -2
  990. package/dist/infineon-design-system-stencil/p-4fba0543.entry.js.map +1 -0
  991. package/dist/infineon-design-system-stencil/p-5367db9d.entry.js +2 -0
  992. package/dist/infineon-design-system-stencil/p-5367db9d.entry.js.map +1 -0
  993. package/dist/infineon-design-system-stencil/p-58dd6f5c.entry.js +2 -0
  994. package/dist/infineon-design-system-stencil/p-58dd6f5c.entry.js.map +1 -0
  995. package/dist/infineon-design-system-stencil/{p-961940f9.entry.js → p-5b571505.entry.js} +2 -2
  996. package/dist/infineon-design-system-stencil/p-5b571505.entry.js.map +1 -0
  997. package/dist/infineon-design-system-stencil/{p-af2c2c1f.entry.js → p-5e3d0ff0.entry.js} +2 -2
  998. package/dist/infineon-design-system-stencil/p-5e3d0ff0.entry.js.map +1 -0
  999. package/dist/infineon-design-system-stencil/{p-5e2e0f37.entry.js → p-5fb3eb8b.entry.js} +2 -2
  1000. package/dist/infineon-design-system-stencil/p-5fb3eb8b.entry.js.map +1 -0
  1001. package/dist/infineon-design-system-stencil/{p-3ffb4e39.entry.js → p-6a07106e.entry.js} +2 -2
  1002. package/dist/infineon-design-system-stencil/p-6a07106e.entry.js.map +1 -0
  1003. package/dist/infineon-design-system-stencil/{p-b2e514e5.entry.js → p-6e115707.entry.js} +2 -2
  1004. package/dist/infineon-design-system-stencil/p-6e115707.entry.js.map +1 -0
  1005. package/dist/infineon-design-system-stencil/p-6eb6af05.entry.js +2 -0
  1006. package/dist/infineon-design-system-stencil/p-6eb6af05.entry.js.map +1 -0
  1007. package/dist/infineon-design-system-stencil/{p-ee8900a5.entry.js → p-744c1c8e.entry.js} +2 -2
  1008. package/dist/infineon-design-system-stencil/p-744c1c8e.entry.js.map +1 -0
  1009. package/dist/infineon-design-system-stencil/p-760cfc7e.entry.js +2 -0
  1010. package/dist/infineon-design-system-stencil/p-760cfc7e.entry.js.map +1 -0
  1011. package/dist/infineon-design-system-stencil/{p-228e8272.entry.js → p-8a58c2be.entry.js} +2 -2
  1012. package/dist/infineon-design-system-stencil/p-8a58c2be.entry.js.map +1 -0
  1013. package/dist/infineon-design-system-stencil/{p-e8a60f3b.entry.js → p-8ceb2ccc.entry.js} +2 -2
  1014. package/dist/infineon-design-system-stencil/p-8ceb2ccc.entry.js.map +1 -0
  1015. package/dist/infineon-design-system-stencil/p-92ee6f73.entry.js.map +1 -1
  1016. package/dist/infineon-design-system-stencil/p-94dfe026.entry.js +2 -0
  1017. package/dist/infineon-design-system-stencil/p-94dfe026.entry.js.map +1 -0
  1018. package/dist/infineon-design-system-stencil/{p-7cf9f8a3.entry.js → p-9517d1b0.entry.js} +2 -2
  1019. package/dist/infineon-design-system-stencil/p-9517d1b0.entry.js.map +1 -0
  1020. package/dist/infineon-design-system-stencil/{p-81289e5f.entry.js → p-97b2ac42.entry.js} +2 -2
  1021. package/dist/infineon-design-system-stencil/p-97b2ac42.entry.js.map +1 -0
  1022. package/dist/infineon-design-system-stencil/{p-9f1ec0af.entry.js → p-9b06df76.entry.js} +2 -2
  1023. package/dist/infineon-design-system-stencil/p-9b06df76.entry.js.map +1 -0
  1024. package/dist/infineon-design-system-stencil/p-9ba730bb.entry.js +2 -0
  1025. package/dist/infineon-design-system-stencil/p-9ba730bb.entry.js.map +1 -0
  1026. package/dist/infineon-design-system-stencil/{p-e66a51e4.entry.js → p-9deaa65e.entry.js} +2 -2
  1027. package/dist/infineon-design-system-stencil/p-9deaa65e.entry.js.map +1 -0
  1028. package/dist/infineon-design-system-stencil/p-Bw2fh5LT.js.map +1 -1
  1029. package/dist/infineon-design-system-stencil/p-DcmcuUOA.js.map +1 -1
  1030. package/dist/infineon-design-system-stencil/{p-5251b206.entry.js → p-a4dd2fe1.entry.js} +2 -2
  1031. package/dist/infineon-design-system-stencil/p-a4dd2fe1.entry.js.map +1 -0
  1032. package/dist/infineon-design-system-stencil/{p-08316f9f.entry.js → p-a85754a5.entry.js} +2 -2
  1033. package/dist/infineon-design-system-stencil/{p-08316f9f.entry.js.map → p-a85754a5.entry.js.map} +1 -1
  1034. package/dist/infineon-design-system-stencil/{p-f6b4c091.entry.js → p-ab326703.entry.js} +2 -2
  1035. package/dist/infineon-design-system-stencil/p-ab326703.entry.js.map +1 -0
  1036. package/dist/infineon-design-system-stencil/{p-01754b50.entry.js → p-b7672947.entry.js} +2 -2
  1037. package/dist/infineon-design-system-stencil/p-b7672947.entry.js.map +1 -0
  1038. package/dist/infineon-design-system-stencil/{p-27a7a852.entry.js → p-bd8c6834.entry.js} +2 -2
  1039. package/dist/infineon-design-system-stencil/p-bd8c6834.entry.js.map +1 -0
  1040. package/dist/infineon-design-system-stencil/p-beaba918.entry.js +2 -0
  1041. package/dist/infineon-design-system-stencil/p-beaba918.entry.js.map +1 -0
  1042. package/dist/infineon-design-system-stencil/{p-e8f801be.entry.js → p-c578a728.entry.js} +2 -2
  1043. package/dist/infineon-design-system-stencil/p-c578a728.entry.js.map +1 -0
  1044. package/dist/infineon-design-system-stencil/{p-c896414e.entry.js → p-c6826c1e.entry.js} +2 -2
  1045. package/dist/infineon-design-system-stencil/p-c6826c1e.entry.js.map +1 -0
  1046. package/dist/infineon-design-system-stencil/{p-0b0f2040.entry.js → p-ca312cbb.entry.js} +2 -2
  1047. package/dist/infineon-design-system-stencil/p-ca312cbb.entry.js.map +1 -0
  1048. package/dist/infineon-design-system-stencil/{p-962821bc.entry.js → p-ca870353.entry.js} +2 -2
  1049. package/dist/infineon-design-system-stencil/p-ca870353.entry.js.map +1 -0
  1050. package/dist/infineon-design-system-stencil/{p-4b41a66f.entry.js → p-ce799b3d.entry.js} +2 -2
  1051. package/dist/infineon-design-system-stencil/p-ce799b3d.entry.js.map +1 -0
  1052. package/dist/infineon-design-system-stencil/{p-acd3359f.entry.js → p-d267f6d2.entry.js} +2 -2
  1053. package/dist/infineon-design-system-stencil/p-d267f6d2.entry.js.map +1 -0
  1054. package/dist/infineon-design-system-stencil/{p-eb0e4967.entry.js → p-d2b076fe.entry.js} +2 -2
  1055. package/dist/infineon-design-system-stencil/p-d2b076fe.entry.js.map +1 -0
  1056. package/dist/infineon-design-system-stencil/p-d4373c36.entry.js +2 -0
  1057. package/dist/infineon-design-system-stencil/p-d4373c36.entry.js.map +1 -0
  1058. package/dist/infineon-design-system-stencil/{p-c6013ced.entry.js → p-d65a334c.entry.js} +2 -2
  1059. package/dist/infineon-design-system-stencil/p-d65a334c.entry.js.map +1 -0
  1060. package/dist/infineon-design-system-stencil/p-dac7d817.entry.js +2 -0
  1061. package/dist/infineon-design-system-stencil/p-dac7d817.entry.js.map +1 -0
  1062. package/dist/infineon-design-system-stencil/{p-252e292d.entry.js → p-dbc6ae20.entry.js} +2 -2
  1063. package/dist/infineon-design-system-stencil/p-dbc6ae20.entry.js.map +1 -0
  1064. package/dist/infineon-design-system-stencil/{p-9a3be43a.entry.js → p-dcd0af23.entry.js} +2 -2
  1065. package/dist/infineon-design-system-stencil/p-dcd0af23.entry.js.map +1 -0
  1066. package/dist/infineon-design-system-stencil/{p-ac371faa.entry.js → p-e3c11b6c.entry.js} +2 -2
  1067. package/dist/infineon-design-system-stencil/p-e3c11b6c.entry.js.map +1 -0
  1068. package/dist/infineon-design-system-stencil/p-e6c4c4cf.entry.js +2 -0
  1069. package/dist/infineon-design-system-stencil/p-e6c4c4cf.entry.js.map +1 -0
  1070. package/dist/infineon-design-system-stencil/{p-f2bcdd91.entry.js → p-e78ffc43.entry.js} +2 -2
  1071. package/dist/infineon-design-system-stencil/p-e78ffc43.entry.js.map +1 -0
  1072. package/dist/infineon-design-system-stencil/{p-4b8ff4cb.entry.js → p-e7c656cd.entry.js} +2 -2
  1073. package/dist/infineon-design-system-stencil/p-e7c656cd.entry.js.map +1 -0
  1074. package/dist/infineon-design-system-stencil/{p-f3b42bba.entry.js → p-edbfa46e.entry.js} +2 -2
  1075. package/dist/infineon-design-system-stencil/p-edbfa46e.entry.js.map +1 -0
  1076. package/dist/infineon-design-system-stencil/{p-72a516f9.entry.js → p-ee04eb6e.entry.js} +2 -2
  1077. package/dist/infineon-design-system-stencil/p-ee04eb6e.entry.js.map +1 -0
  1078. package/dist/infineon-design-system-stencil/{p-f1c5b005.entry.js → p-f06b0ae3.entry.js} +2 -2
  1079. package/dist/infineon-design-system-stencil/p-f06b0ae3.entry.js.map +1 -0
  1080. package/dist/infineon-design-system-stencil/{p-a423e08f.entry.js → p-f1ba768a.entry.js} +2 -2
  1081. package/dist/infineon-design-system-stencil/p-f1ba768a.entry.js.map +1 -0
  1082. package/dist/infineon-design-system-stencil/{p-8f90cc75.entry.js → p-f2c8c7a6.entry.js} +2 -2
  1083. package/dist/infineon-design-system-stencil/p-f2c8c7a6.entry.js.map +1 -0
  1084. package/dist/infineon-design-system-stencil/{p-5b7a11f2.entry.js → p-fb92000d.entry.js} +2 -2
  1085. package/dist/infineon-design-system-stencil/p-fb92000d.entry.js.map +1 -0
  1086. package/dist/infineon-design-system-stencil/p-fc359efa.entry.js +2 -0
  1087. package/dist/infineon-design-system-stencil/p-fc359efa.entry.js.map +1 -0
  1088. package/dist/infineon-design-system-stencil/{p-8cc6cd75.entry.js → p-fcae5dc1.entry.js} +2 -2
  1089. package/dist/infineon-design-system-stencil/p-fcae5dc1.entry.js.map +1 -0
  1090. package/dist/infineon-design-system-stencil/{p-a8632f44.entry.js → p-ff4cc197.entry.js} +2 -2
  1091. package/dist/infineon-design-system-stencil/p-ff4cc197.entry.js.map +1 -0
  1092. package/dist/types/components/checkbox/checkbox.d.ts +1 -1
  1093. package/dist/types/components/link/link.d.ts +1 -1
  1094. package/dist/types/components/navigation/navbar/navbar-item.d.ts +1 -1
  1095. package/dist/types/components/select/single-select/types/choices.d.ts +2 -2
  1096. package/dist/types/components/table-advanced-version/list/list.d.ts +1 -1
  1097. package/dist/types/components/table-advanced-version/table.d.ts +1 -0
  1098. package/dist/types/components/tooltip/tooltip.d.ts +1 -1
  1099. package/dist/types/global.d.ts +3 -3
  1100. package/dist/types/loader.d.ts +1 -1
  1101. package/package.json +111 -111
  1102. package/dist/components/p-B5v9D54X.js.map +0 -1
  1103. package/dist/components/p-B61ip_5M.js.map +0 -1
  1104. package/dist/components/p-B8O27fA1.js.map +0 -1
  1105. package/dist/components/p-BNfoBOb0.js.map +0 -1
  1106. package/dist/components/p-BODyHBnq.js.map +0 -1
  1107. package/dist/components/p-BVontUD4.js.map +0 -1
  1108. package/dist/components/p-BpoV3zpc.js.map +0 -1
  1109. package/dist/components/p-C0oKAW62.js.map +0 -1
  1110. package/dist/components/p-CIgjv3WT.js.map +0 -1
  1111. package/dist/components/p-D3I_SqHt.js.map +0 -1
  1112. package/dist/components/p-DcAKq8Jr.js.map +0 -1
  1113. package/dist/components/p-DfhZt04W.js.map +0 -1
  1114. package/dist/components/p-DrBheHJU.js.map +0 -1
  1115. package/dist/components/p-DzvIkH4S.js.map +0 -1
  1116. package/dist/components/p-T-OkJYup.js.map +0 -1
  1117. package/dist/components/p-TR-rcXLt.js.map +0 -1
  1118. package/dist/components/p-UJUcpUZI.js.map +0 -1
  1119. package/dist/components/p-ncBPrnzY.js.map +0 -1
  1120. package/dist/components/p-rP_UHrBl.js.map +0 -1
  1121. package/dist/components/p-sukt4tRE.js.map +0 -1
  1122. package/dist/components/p-y82FFfi8.js.map +0 -1
  1123. package/dist/infineon-design-system-stencil/p-01754b50.entry.js.map +0 -1
  1124. package/dist/infineon-design-system-stencil/p-0b0f2040.entry.js.map +0 -1
  1125. package/dist/infineon-design-system-stencil/p-0f35aeb6.entry.js.map +0 -1
  1126. package/dist/infineon-design-system-stencil/p-18c6d719.entry.js.map +0 -1
  1127. package/dist/infineon-design-system-stencil/p-210b1849.entry.js.map +0 -1
  1128. package/dist/infineon-design-system-stencil/p-228e8272.entry.js.map +0 -1
  1129. package/dist/infineon-design-system-stencil/p-252e292d.entry.js.map +0 -1
  1130. package/dist/infineon-design-system-stencil/p-27a7a852.entry.js.map +0 -1
  1131. package/dist/infineon-design-system-stencil/p-2d3e3eea.entry.js.map +0 -1
  1132. package/dist/infineon-design-system-stencil/p-30af152b.entry.js.map +0 -1
  1133. package/dist/infineon-design-system-stencil/p-356425ec.entry.js +0 -2
  1134. package/dist/infineon-design-system-stencil/p-356425ec.entry.js.map +0 -1
  1135. package/dist/infineon-design-system-stencil/p-3ffb4e39.entry.js.map +0 -1
  1136. package/dist/infineon-design-system-stencil/p-46b370da.entry.js +0 -2
  1137. package/dist/infineon-design-system-stencil/p-46b370da.entry.js.map +0 -1
  1138. package/dist/infineon-design-system-stencil/p-4a0ae909.entry.js.map +0 -1
  1139. package/dist/infineon-design-system-stencil/p-4b41a66f.entry.js.map +0 -1
  1140. package/dist/infineon-design-system-stencil/p-4b8ff4cb.entry.js.map +0 -1
  1141. package/dist/infineon-design-system-stencil/p-501cf224.entry.js.map +0 -1
  1142. package/dist/infineon-design-system-stencil/p-5251b206.entry.js.map +0 -1
  1143. package/dist/infineon-design-system-stencil/p-52b7ca57.entry.js +0 -2
  1144. package/dist/infineon-design-system-stencil/p-52b7ca57.entry.js.map +0 -1
  1145. package/dist/infineon-design-system-stencil/p-52c43df7.entry.js.map +0 -1
  1146. package/dist/infineon-design-system-stencil/p-56c892b7.entry.js.map +0 -1
  1147. package/dist/infineon-design-system-stencil/p-57f89e06.entry.js.map +0 -1
  1148. package/dist/infineon-design-system-stencil/p-5b7a11f2.entry.js.map +0 -1
  1149. package/dist/infineon-design-system-stencil/p-5e2e0f37.entry.js.map +0 -1
  1150. package/dist/infineon-design-system-stencil/p-5e6dc7d8.entry.js.map +0 -1
  1151. package/dist/infineon-design-system-stencil/p-5e7e0b40.entry.js +0 -2
  1152. package/dist/infineon-design-system-stencil/p-5e7e0b40.entry.js.map +0 -1
  1153. package/dist/infineon-design-system-stencil/p-5f28de7f.entry.js +0 -2
  1154. package/dist/infineon-design-system-stencil/p-5f28de7f.entry.js.map +0 -1
  1155. package/dist/infineon-design-system-stencil/p-694aa84a.entry.js.map +0 -1
  1156. package/dist/infineon-design-system-stencil/p-6c41a04b.entry.js.map +0 -1
  1157. package/dist/infineon-design-system-stencil/p-72a516f9.entry.js.map +0 -1
  1158. package/dist/infineon-design-system-stencil/p-7cf9f8a3.entry.js.map +0 -1
  1159. package/dist/infineon-design-system-stencil/p-80672b31.entry.js.map +0 -1
  1160. package/dist/infineon-design-system-stencil/p-81289e5f.entry.js.map +0 -1
  1161. package/dist/infineon-design-system-stencil/p-8872ee5c.entry.js +0 -2
  1162. package/dist/infineon-design-system-stencil/p-8872ee5c.entry.js.map +0 -1
  1163. package/dist/infineon-design-system-stencil/p-8cc6cd75.entry.js.map +0 -1
  1164. package/dist/infineon-design-system-stencil/p-8f90cc75.entry.js.map +0 -1
  1165. package/dist/infineon-design-system-stencil/p-9469fe88.entry.js.map +0 -1
  1166. package/dist/infineon-design-system-stencil/p-961940f9.entry.js.map +0 -1
  1167. package/dist/infineon-design-system-stencil/p-962821bc.entry.js.map +0 -1
  1168. package/dist/infineon-design-system-stencil/p-99700497.entry.js.map +0 -1
  1169. package/dist/infineon-design-system-stencil/p-9a3be43a.entry.js.map +0 -1
  1170. package/dist/infineon-design-system-stencil/p-9f1ec0af.entry.js.map +0 -1
  1171. package/dist/infineon-design-system-stencil/p-9f51c51a.entry.js +0 -2
  1172. package/dist/infineon-design-system-stencil/p-9f51c51a.entry.js.map +0 -1
  1173. package/dist/infineon-design-system-stencil/p-a3feab7d.entry.js.map +0 -1
  1174. package/dist/infineon-design-system-stencil/p-a423e08f.entry.js.map +0 -1
  1175. package/dist/infineon-design-system-stencil/p-a8632f44.entry.js.map +0 -1
  1176. package/dist/infineon-design-system-stencil/p-aa79ab02.entry.js +0 -2
  1177. package/dist/infineon-design-system-stencil/p-aa79ab02.entry.js.map +0 -1
  1178. package/dist/infineon-design-system-stencil/p-ac371faa.entry.js.map +0 -1
  1179. package/dist/infineon-design-system-stencil/p-acd3359f.entry.js.map +0 -1
  1180. package/dist/infineon-design-system-stencil/p-af2c2c1f.entry.js.map +0 -1
  1181. package/dist/infineon-design-system-stencil/p-b2e514e5.entry.js.map +0 -1
  1182. package/dist/infineon-design-system-stencil/p-b83f33e2.entry.js +0 -2
  1183. package/dist/infineon-design-system-stencil/p-b83f33e2.entry.js.map +0 -1
  1184. package/dist/infineon-design-system-stencil/p-c5d6762c.entry.js +0 -2
  1185. package/dist/infineon-design-system-stencil/p-c5d6762c.entry.js.map +0 -1
  1186. package/dist/infineon-design-system-stencil/p-c6013ced.entry.js.map +0 -1
  1187. package/dist/infineon-design-system-stencil/p-c896414e.entry.js.map +0 -1
  1188. package/dist/infineon-design-system-stencil/p-c8a488bb.entry.js.map +0 -1
  1189. package/dist/infineon-design-system-stencil/p-cc748b24.entry.js.map +0 -1
  1190. package/dist/infineon-design-system-stencil/p-d1be48d9.entry.js +0 -2
  1191. package/dist/infineon-design-system-stencil/p-d1be48d9.entry.js.map +0 -1
  1192. package/dist/infineon-design-system-stencil/p-da112045.entry.js +0 -2
  1193. package/dist/infineon-design-system-stencil/p-da112045.entry.js.map +0 -1
  1194. package/dist/infineon-design-system-stencil/p-db796fec.entry.js.map +0 -1
  1195. package/dist/infineon-design-system-stencil/p-e6254813.entry.js.map +0 -1
  1196. package/dist/infineon-design-system-stencil/p-e66a51e4.entry.js.map +0 -1
  1197. package/dist/infineon-design-system-stencil/p-e759a91a.entry.js +0 -2
  1198. package/dist/infineon-design-system-stencil/p-e759a91a.entry.js.map +0 -1
  1199. package/dist/infineon-design-system-stencil/p-e8a60f3b.entry.js.map +0 -1
  1200. package/dist/infineon-design-system-stencil/p-e8f801be.entry.js.map +0 -1
  1201. package/dist/infineon-design-system-stencil/p-e9381c81.entry.js +0 -2
  1202. package/dist/infineon-design-system-stencil/p-e9381c81.entry.js.map +0 -1
  1203. package/dist/infineon-design-system-stencil/p-eb0e4967.entry.js.map +0 -1
  1204. package/dist/infineon-design-system-stencil/p-edda61ad.entry.js.map +0 -1
  1205. package/dist/infineon-design-system-stencil/p-ee8900a5.entry.js.map +0 -1
  1206. package/dist/infineon-design-system-stencil/p-f1c5b005.entry.js.map +0 -1
  1207. package/dist/infineon-design-system-stencil/p-f2bcdd91.entry.js.map +0 -1
  1208. package/dist/infineon-design-system-stencil/p-f3b42bba.entry.js.map +0 -1
  1209. package/dist/infineon-design-system-stencil/p-f6b4c091.entry.js.map +0 -1
  1210. package/dist/infineon-design-system-stencil/p-fd3e81ea.entry.js.map +0 -1
@@ -1,9 +1,9 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h } from './index.js';
2
2
  import { i as isNestedInIfxComponent, d as detectFramework, t as trackComponent } from './p-bqYaVeZb.js';
3
- import { d as defineCustomElement$5 } from './p-DrBheHJU.js';
4
- import { d as defineCustomElement$4 } from './p-BnjY2AJX.js';
5
- import { d as defineCustomElement$3 } from './p-BpoV3zpc.js';
6
- import { d as defineCustomElement$2 } from './p-B8O27fA1.js';
3
+ import { d as defineCustomElement$5 } from './p-R79iWjuc.js';
4
+ import { d as defineCustomElement$4 } from './p-DhNY6ZGA.js';
5
+ import { d as defineCustomElement$3 } from './p-F-WOWp_H.js';
6
+ import { d as defineCustomElement$2 } from './p-BR9GBwm3.js';
7
7
 
8
8
  const fileUploadCss = ":root{--ifx-font-family:\"Source Sans 3\", \"Arial, sans-serif\"}:host{font-family:var(--ifx-font-family, sans-serif)}.file-upload-wrapper{display:flex;flex-direction:column}.file-upload-wrapper.disabled{pointer-events:none}.file-upload-wrapper.disabled label,.file-upload-wrapper.disabled .file-upload-info{color:#575352}.file-upload-label{font-style:normal;font-weight:400;font-size:1rem;line-height:1.5rem;color:#1D1D1D}.file-upload-label .required{display:inline-block;margin-left:4px}.file-upload-label .required.error{color:#CD002F}.upload-dropzone{border:1px dashed #BFBBBB;padding:40px;text-align:center;cursor:pointer;color:#1D1D1D;transition:border-color 0.3s ease;border-radius:1px;background:#FFFFFF}.upload-dropzone ifx-icon{color:#0A8276}.upload-dropzone:hover{border:1px dashed #8D8786}.upload-dropzone.drag-over{border:1px solid #0A8276;background:#F7F7F7}.upload-dropzone.drag-over.error{border:1px solid #0A8276}.upload-dropzone.error{border-color:#CD002F}.disabled .upload-dropzone{pointer-events:none;border-color:#BFBBBB;color:#BFBBBB}.disabled .upload-dropzone ifx-icon{color:#BFBBBB}.upload-dropzone input{display:none}.file-upload-info{font-style:normal;font-weight:400;font-size:0.75rem;line-height:1rem;letter-spacing:0em;color:#1D1D1D;margin:0;margin-top:4px}.file-upload-status{font-style:normal;font-weight:400;font-size:0.75rem;line-height:1rem;letter-spacing:0.2px;margin-top:8px}.file-upload-status.file-upload-status__error{display:flex;align-items:center;color:#CD002F}.file-upload-status.file-upload-status__error ifx-icon{position:relative;top:-1px;color:#CD002F;margin-right:8px}.upload-heading{font:600 1.125rem/1.625rem \"Source Sans 3\";margin-bottom:8px}.file-list-wrapper{margin-top:16px}.file-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:16px}.file-item{border:1px solid #BFBBBB;padding-top:12px;padding-right:16px;padding-bottom:8px;padding-left:16px;display:flex;gap:8px}.file-info{width:100%;min-width:0}.file-top-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:-8px}.file-top-row ifx-icon{flex-shrink:0}.file-name-wrapper{display:flex;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;font-weight:400;font-size:0.875rem}.file-name-base{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:1;min-width:0}.file-name-ext{flex-shrink:0;margin-left:0}.file-middle-row{display:flex;align-items:center;font-size:0.75rem;line-height:1rem;flex-wrap:wrap;color:#575352}.file-middle-row .file-status{margin-left:12px}.file-middle-row .file-status ifx-icon{margin-right:8px}.file-progress-row{margin-top:4px}.file-progress-row ifx-progress-bar{width:100%}.upload-success{border-color:#0A8276}.upload-success .file-status ifx-icon{position:relative;top:1px;color:#4CA460}.upload-failed{border-color:#CD002F}.upload-failed .file-status{color:#CD002F;margin-left:0}";
9
9
 
@@ -643,10 +643,10 @@ const FileUpload = /*@__PURE__*/ proxyCustomElement(class FileUpload extends H {
643
643
  this.validateRequired();
644
644
  }
645
645
  render() {
646
- return (h("div", { key: '1f124f8353f9792779c45c93c69ada515a98e5da', class: {
646
+ return (h("div", { key: 'ef6b20aec846cdb005bbf42292a6d38a6ed1a503', class: {
647
647
  'file-upload-wrapper': true,
648
648
  'disabled': this.disabled,
649
- } }, this.label && (h("label", { key: '978f9239732d695dd2423808c7f693425f57234f', class: "file-upload-label", htmlFor: this.internalId }, this.label, this.required && h("span", { key: '244a6645265dcfceba6b4a4a6ccc99b2c91725f9', class: `required ${this.requiredError ? 'error' : ''}` }, "*"))), this.dragAndDrop ? this.renderDragAndDropArea() : this.renderUploadArea(), (this.files.length > 0 || this.rejectedSizeFiles.length > 0 || this.rejectedTypeFiles.length > 0) && (h("div", { key: '2f2f116d633310829185149787ad207027b79141', class: "file-list-wrapper" }, h("div", { key: '9d572976ac747a7a6a50be2d8d097a2e896c55fb', class: "upload-heading" }, this.labelUploadedFilesHeading), h("ul", { key: '223220ed67180059f08025543d7d46ff76b84308', class: "file-list" }, this.rejectedSizeFiles.map(fileName => (h("li", { class: "file-item upload-failed", key: `rejected-size-${fileName}` }, h("div", { class: "file-icon" }, h("ifx-icon", { icon: "file-16" })), h("div", { class: "file-info" }, h("div", { class: "file-top-row" }, h("span", { class: "file-name-wrapper" }, h("span", { class: "file-name-base" }, this.splitFileNameParts({ name: fileName }).base), h("span", { class: "file-name-ext" }, this.splitFileNameParts({ name: fileName }).ext)), h("div", { class: "file-actions" }, h("ifx-icon-button", { shape: "square", variant: "tertiary", icon: "delete-forever-16", size: "s", "aria-label": this.ariaLabelRemoveFile, onClick: () => this.clearRejectedFile(fileName, 'size') }))), h("div", { class: "file-middle-row" }, h("span", { class: "file-status", "aria-label": this.labelFileTooLarge.replace('{{size}}', this.maxFileSizeMB.toString()) }, this.getFormattedFileTooLargeText())))))), this.rejectedTypeFiles.map(fileName => (h("li", { class: "file-item upload-failed", key: `rejected-type-${fileName}` }, h("div", { class: "file-icon" }, h("ifx-icon", { icon: "file-16" })), h("div", { class: "file-info" }, h("div", { class: "file-top-row" }, h("span", { class: "file-name-wrapper" }, h("span", { class: "file-name-base" }, this.splitFileNameParts({ name: fileName }).base), h("span", { class: "file-name-ext" }, this.splitFileNameParts({ name: fileName }).ext)), h("div", { class: "file-actions" }, h("ifx-icon-button", { shape: "square", variant: "tertiary", icon: "delete-forever-16", size: "s", "aria-label": this.ariaLabelRemoveFile, onClick: () => this.clearRejectedFile(fileName, 'type') }))), h("div", { class: "file-middle-row" }, h("span", { class: "file-status", "aria-label": this.labelUnsupportedFileType }, this.labelUnsupportedFileType)))))), this.files.map(file => {
649
+ } }, this.label && (h("label", { key: '91b547b30348f765a3542c88c50790d84affaa8a', class: "file-upload-label", htmlFor: this.internalId }, this.label, this.required && h("span", { key: 'bef4e9628b629bacfc729a962b37a009185eb374', class: `required ${this.requiredError ? 'error' : ''}` }, "*"))), this.dragAndDrop ? this.renderDragAndDropArea() : this.renderUploadArea(), (this.files.length > 0 || this.rejectedSizeFiles.length > 0 || this.rejectedTypeFiles.length > 0) && (h("div", { key: '0bbe459c523c0a9077f23c458fb59e03b5ae0134', class: "file-list-wrapper" }, h("div", { key: 'e01f3966e8a3d5697da4d57ea7eb711d026177b9', class: "upload-heading" }, this.labelUploadedFilesHeading), h("ul", { key: '7c3c8ce0f8a4ebdac12c843b120482140adf93c2', class: "file-list" }, this.rejectedSizeFiles.map(fileName => (h("li", { class: "file-item upload-failed", key: `rejected-size-${fileName}` }, h("div", { class: "file-icon" }, h("ifx-icon", { icon: "file-16" })), h("div", { class: "file-info" }, h("div", { class: "file-top-row" }, h("span", { class: "file-name-wrapper" }, h("span", { class: "file-name-base" }, this.splitFileNameParts({ name: fileName }).base), h("span", { class: "file-name-ext" }, this.splitFileNameParts({ name: fileName }).ext)), h("div", { class: "file-actions" }, h("ifx-icon-button", { shape: "square", variant: "tertiary", icon: "delete-forever-16", size: "s", "aria-label": this.ariaLabelRemoveFile, onClick: () => this.clearRejectedFile(fileName, 'size') }))), h("div", { class: "file-middle-row" }, h("span", { class: "file-status", "aria-label": this.labelFileTooLarge.replace('{{size}}', this.maxFileSizeMB.toString()) }, this.getFormattedFileTooLargeText())))))), this.rejectedTypeFiles.map(fileName => (h("li", { class: "file-item upload-failed", key: `rejected-type-${fileName}` }, h("div", { class: "file-icon" }, h("ifx-icon", { icon: "file-16" })), h("div", { class: "file-info" }, h("div", { class: "file-top-row" }, h("span", { class: "file-name-wrapper" }, h("span", { class: "file-name-base" }, this.splitFileNameParts({ name: fileName }).base), h("span", { class: "file-name-ext" }, this.splitFileNameParts({ name: fileName }).ext)), h("div", { class: "file-actions" }, h("ifx-icon-button", { shape: "square", variant: "tertiary", icon: "delete-forever-16", size: "s", "aria-label": this.ariaLabelRemoveFile, onClick: () => this.clearRejectedFile(fileName, 'type') }))), h("div", { class: "file-middle-row" }, h("span", { class: "file-status", "aria-label": this.labelUnsupportedFileType }, this.labelUnsupportedFileType)))))), this.files.map(file => {
650
650
  var _a;
651
651
  const task = this.uploadTasks.find(t => t.file.name === file.name);
652
652
  const progress = (_a = task === null || task === void 0 ? void 0 : task.progress) !== null && _a !== void 0 ? _a : 100;
@@ -1 +1 @@
1
- {"file":"ifx-file-upload.js","mappings":";;;;;;;AAAA,MAAM,aAAa,GAAG,o1FAAo1F;;MCoB71F,UAAU,iBAAAA,k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AAC,EAC/B,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,EACC,YAAA,EAAA,IAAI,CAAC,iBAAiB,EAAA,EAElC,CAAA,CAAA,UAAA,EAAA,EAAU,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,aAAa,EAAY,CAAA,EAC1D,CAAI,CAAA,GAAA,EAAA,IAAA,EAAA,IAAI,CAAC,gBAAgB,CAAK,EAC9B,CAAG,CAAA,GAAA,EAAA,EAAA,KAAK,EAAC,kBAAkB,EAAA,EAAE,IAAI,CAAC,oBAAoB,EAAE,CAAK,EAC7D,CAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAA,EAC/C,CACE,CAAA,OAAA,EAAA,EAAA,EAAE,EAAE,IAAI,CAAC,UAAU,EACnB,GAAG,EAAE,cAAc,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAE,IAAI,CAAC,kBAAkB,EAAE,EACjC,QAAQ,EACR,IAAA,EAAA,QAAQ,EAAE,CAAC,IAAI,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,EACvC,QAAQ,EAAE,IAAI,CAAC,eAAe,EAAE,EAAA,YAAA,EACpB,IAAI,CAAC,kBAAkB,EACnC,CAAA,CACE,CACF,EACL,IAAI,CAAC,mBAAmB,EAAE,CACvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/file-upload/file-upload.scss?tag=ifx-file-upload&encapsulation=shadow","src/components/file-upload/file-upload.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\r\n@use \"../../global/font.scss\";\r\n\r\n:host {\r\n // TODO remove\r\n font-family: var(--ifx-font-family, sans-serif);\r\n}\r\n\r\n.file-upload-wrapper {\r\n display: flex;\r\n flex-direction: column;\r\n\r\n &.disabled {\r\n pointer-events: none;\r\n\r\n label,\r\n .file-upload-info {\r\n color: tokens.$ifxColorEngineering500;\r\n }\r\n }\r\n}\r\n\r\n.file-upload-label {\r\n font-style: normal;\r\n font-weight: 400;\r\n font-size: tokens.$ifxFontSizeM;\r\n line-height: tokens.$ifxLineHeightM;\r\n color: tokens.$ifxColorBaseBlack;\r\n\r\n .required {\r\n display: inline-block;\r\n margin-left: 4px;\r\n\r\n &.error {\r\n color: tokens.$ifxColorRed500;\r\n }\r\n }\r\n}\r\n\r\n.upload-dropzone {\r\n border: 1px dashed tokens.$ifxColorEngineering300;\r\n padding: tokens.$ifxSpace500;\r\n text-align: center;\r\n cursor: pointer;\r\n color: tokens.$ifxColorBaseBlack;\r\n transition: border-color 0.3s ease;\r\n border-radius: tokens.$ifxBorderRadius12;\r\n background: tokens.$ifxColorBaseWhite;\r\n\r\n ifx-icon {\r\n color: tokens.$ifxColorOcean500;\r\n }\r\n\r\n &:hover {\r\n border: 1px dashed tokens.$ifxColorEngineering400;\r\n }\r\n\r\n &.drag-over {\r\n border: 1px solid tokens.$ifxColorOcean500;\r\n background: tokens.$ifxColorEngineering100;\r\n\r\n &.error {\r\n border: 1px solid tokens.$ifxColorOcean500;\r\n }\r\n }\r\n\r\n &.error {\r\n border-color: tokens.$ifxColorRed500;\r\n }\r\n\r\n .disabled & {\r\n pointer-events: none;\r\n border-color: tokens.$ifxColorEngineering300;\r\n color: tokens.$ifxColorEngineering300;\r\n\r\n ifx-icon {\r\n color: tokens.$ifxColorEngineering300;\r\n }\r\n }\r\n}\r\n\r\n.upload-dropzone input {\r\n display: none;\r\n}\r\n\r\n.file-upload-info {\r\n font-style: normal;\r\n font-weight: tokens.$ifxFontWeightRegular;\r\n font-size: tokens.$ifxFontSizeXs;\r\n line-height: tokens.$ifxLineHeightXs;\r\n letter-spacing: tokens.$ifxLetterSpacingDefault;\r\n color: tokens.$ifxColorBaseBlack;\r\n margin: 0;\r\n margin-top: tokens.$ifxSpace50;\r\n}\r\n\r\n.file-upload-status {\r\n font-style: normal;\r\n font-weight: 400;\r\n font-size: tokens.$ifxFontSizeXs;\r\n line-height: tokens.$ifxLineHeightXs;\r\n letter-spacing: 0.2px;\r\n margin-top: tokens.$ifxSpace100;\r\n\r\n &.file-upload-status__error {\r\n display: flex;\r\n align-items: center;\r\n color: tokens.$ifxColorRed500;\r\n\r\n ifx-icon {\r\n position: relative;\r\n top: - tokens.$ifxSpace12;\r\n color: tokens.$ifxColorRed500;\r\n margin-right: tokens.$ifxSpace100;\r\n }\r\n }\r\n}\r\n\r\n.upload-heading {\r\n font: tokens.$ifxHeadingHeading06;\r\n margin-bottom: tokens.$ifxSpace100;\r\n}\r\n\r\n.file-list-wrapper {\r\n margin-top: tokens.$ifxSpace200;\r\n}\r\n\r\n.file-list {\r\n list-style: none;\r\n padding: 0;\r\n margin: 0;\r\n display: flex;\r\n flex-direction: column;\r\n gap: tokens.$ifxSpace200;\r\n}\r\n\r\n.file-item {\r\n border: 1px solid tokens.$ifxColorEngineering300;\r\n padding-top: tokens.$ifxSpace150;\r\n padding-right: tokens.$ifxSpace200;\r\n padding-bottom: tokens.$ifxSpace100;\r\n padding-left: tokens.$ifxSpace200;\r\n display: flex;\r\n gap: tokens.$ifxSpace100;\r\n}\r\n\r\n.file-info {\r\n width: 100%;\r\n min-width: 0;\r\n}\r\n\r\n.file-top-row {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n gap: tokens.$ifxSpace200;\r\n margin-top: - tokens.$ifxSpace100;\r\n}\r\n\r\n.file-top-row ifx-icon {\r\n flex-shrink: 0;\r\n}\r\n\r\n.file-name-wrapper {\r\n display: flex;\r\n min-width: 0;\r\n max-width: 100%;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n font-weight: tokens.$ifxFontWeightRegular;\r\n font-size: tokens.$ifxFontSizeS;\r\n}\r\n\r\n.file-name-base {\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n flex-shrink: 1;\r\n min-width: 0;\r\n}\r\n\r\n.file-name-ext {\r\n flex-shrink: 0;\r\n margin-left: 0;\r\n}\r\n\r\n.file-middle-row {\r\n display: flex;\r\n align-items: center;\r\n font-size: tokens.$ifxFontSizeXs;\r\n line-height: tokens.$ifxLineHeightXs;\r\n flex-wrap: wrap;\r\n color: tokens.$ifxColorEngineering500;\r\n\r\n .file-status {\r\n margin-left: tokens.$ifxSpace150;\r\n\r\n ifx-icon {\r\n margin-right: tokens.$ifxSpace100;\r\n }\r\n }\r\n}\r\n\r\n.file-progress-row {\r\n margin-top: tokens.$ifxSpace50;\r\n}\r\n\r\n.file-progress-row ifx-progress-bar {\r\n width: 100%;\r\n}\r\n\r\n.upload-success {\r\n border-color: tokens.$ifxColorOcean500;\r\n\r\n .file-status {\r\n ifx-icon {\r\n position: relative;\r\n top: tokens.$ifxSpace12;\r\n color: tokens.$ifxColorGreen500;\r\n }\r\n }\r\n}\r\n\r\n.upload-failed {\r\n border-color: tokens.$ifxColorRed500;\r\n\r\n .file-status {\r\n color: tokens.$ifxColorRed500;\r\n margin-left: 0;\r\n }\r\n}\r\n","import { Component, h, State, Event, EventEmitter, Prop, Method, Element } from '@stencil/core';\r\nimport { trackComponent } from '../../global/utils/tracking';\r\nimport { isNestedInIfxComponent } from '../../global/utils/dom-utils';\r\nimport { detectFramework } from '../../global/utils/framework-detection';\r\n\r\ninterface UploadTask {\r\n file: File;\r\n progress: number;\r\n intervalId: number | null;\r\n completed: boolean;\r\n error?: boolean;\r\n}\r\n\r\nexport type FileUploadErrorReason = 'network-error' | 'timeout' | 'file-too-large' | 'unsupported-type' | 'invalid-type' | 'custom' | (string & {});\r\n\r\n@Component({\r\n tag: 'ifx-file-upload',\r\n styleUrl: 'file-upload.scss',\r\n shadow: true,\r\n})\r\nexport class FileUpload {\r\n @Element() hostElement: HTMLElement;\r\n\r\n @Prop() dragAndDrop: boolean = false;\r\n @Prop() required: boolean = false;\r\n @Prop() disabled: boolean = false;\r\n @Prop() maxFileSizeMB: number = 7;\r\n /** Default set of allowed file extensions (used internally). Can be extended using `additionalAllowedFileTypes`. */\r\n @Prop() allowedFileTypes?: string | string[] = undefined;\r\n @Prop() additionalAllowedFileTypes?: string | string[] = [];\r\n /** When set to true, allows any file type to be uploaded (no file type restrictions). */\r\n @Prop() allowAnyFileType: boolean = false;\r\n /** Custom file extensions to allow (e.g., 'xml', 'asc', 'cfg'). Recommended format: without dots. Also accepts format with dots like '.xml'. Do not use wildcards like '*.xml'. */\r\n @Prop() allowedFileExtensions?: string | string[] = [];\r\n @Prop() uploadHandler?: (file: File, onProgress?: (progress: number) => void) => Promise<void>;\r\n\r\n private _maxFiles?: number;\r\n @Prop()\r\n get maxFiles(): number | undefined {\r\n return this._maxFiles;\r\n }\r\n set maxFiles(value: number | undefined) {\r\n if (typeof value === 'number' && value < 1) {\r\n console.warn('Invalid `maxFiles` value. Must be >= 1. Value ignored.');\r\n this._maxFiles = undefined;\r\n } else {\r\n this._maxFiles = value;\r\n }\r\n }\r\n\r\n @Prop() label: string = 'Label';\r\n @Prop() labelRequiredError: string = 'At least one file must be uploaded';\r\n @Prop() labelBrowseFiles: string = 'Browse files';\r\n @Prop() labelDragAndDrop: string = 'Drag & Drop or browse files to upload';\r\n @Prop() labelUploadedFilesHeading: string = 'Uploaded files';\r\n @Prop() labelFileTooLarge: string = 'Upload failed. Max file size: {{size}}MB.';\r\n @Prop() labelUnsupportedFileType: string = 'Unsupported file type.';\r\n @Prop() labelUploaded: string = 'Successfully uploaded';\r\n @Prop() labelUploadFailed: string = 'Upload failed. Please try again.';\r\n @Prop() labelSupportedFormatsTemplate: string = 'Supported file formats: {{types}}. Max file size: {{size}}MB.';\r\n @Prop() labelFileSingular: string = 'file';\r\n @Prop() labelFilePlural: string = 'files';\r\n @Prop() labelMaxFilesInfo?: string = 'Up to {{count}} {{files}}.';\r\n @Prop() labelMaxFilesExceeded: string = 'Upload limit exceeded. Only {{count}} {{files}} allowed.';\r\n\r\n @Prop() ariaLabelBrowseFiles: string = 'Browse files';\r\n @Prop() ariaLabelDropzone: string = 'Upload area. Click to browse or drag and drop files.';\r\n @Prop() ariaLabelFileInput: string = 'Upload file';\r\n @Prop() ariaLabelRemoveFile: string = 'Remove file';\r\n @Prop() ariaLabelCancelUpload: string = 'Cancel upload';\r\n @Prop() ariaLabelRetryUpload: string = 'Retry upload';\r\n @Prop() ariaLabelUploadingStatus: string = 'Upload in progress';\r\n @Prop() ariaLabelUploadedStatus: string = 'Upload completed';\r\n @Prop() ariaLabelUploadFailedStatus: string = 'Upload failed';\r\n\r\n private showDemoStates?: boolean;\r\n private internalId = `ifx-file-upload-${Math.random().toString(36).substr(2, 9)}`;\r\n\r\n @State() isDragOver: boolean = false;\r\n @State() files: File[] = [];\r\n @State() uploadTasks: UploadTask[] = [];\r\n @State() rejectedSizeFiles: string[] = [];\r\n @State() rejectedTypeFiles: string[] = [];\r\n @State() requiredError: boolean = false;\r\n @State() statusMessage: { type: 'error' | 'info' | 'success'; text: string } | null = null;\r\n\r\n @Event() ifxFileUploadAdd: EventEmitter<{ addedFiles: File[]; files: File[] }>;\r\n @Event() ifxFileUploadRemove: EventEmitter<{ removedFile: File; files: File[] }>;\r\n @Event() ifxFileUploadChange: EventEmitter<{ files: File[] }>;\r\n @Event() ifxFileUploadError: EventEmitter<{ errorType: string; file: File; message: string; reason?: string }>;\r\n @Event() ifxFileUploadInvalid: EventEmitter<{ file: File; reason: string }>;\r\n @Event() ifxFileUploadStart: EventEmitter<{ file: File }>;\r\n @Event() ifxFileUploadComplete: EventEmitter<{ file: File }>;\r\n @Event() ifxFileUploadAllComplete: EventEmitter<{ files: File[] }>;\r\n @Event() ifxFileUploadAbort: EventEmitter<{ file: File }>;\r\n @Event() ifxFileUploadDrop: EventEmitter<{ droppedFiles: File[]; acceptedFiles: File[]; rejectedFiles: File[] }>;\r\n @Event() ifxFileUploadClick: EventEmitter<void>;\r\n @Event() ifxFileUploadMaxFilesExceeded: EventEmitter<{ maxFiles: number; attempted: number }>;\r\n @Event() ifxFileUploadValidation: EventEmitter<{ valid: boolean }>;\r\n @Event() ifxFileUploadRetry: EventEmitter<{ file: File }>;\r\n\r\n private fileInputEl: HTMLInputElement | null = null;\r\n\r\n private extensionToMimeMap: Record<string, string> = {\r\n /**\r\n * Maps file extensions to MIME types.\r\n * This is only used for translating `allowedFileTypes` (extensions) into MIME types,\r\n * and for labeling in the UI. It does NOT define which files are globally allowed.\r\n */\r\n\r\n // Images\r\n jpg: 'image/jpeg',\r\n jpeg: 'image/jpeg',\r\n png: 'image/png',\r\n gif: 'image/gif',\r\n svg: 'image/svg+xml',\r\n webp: 'image/webp',\r\n\r\n // Documents\r\n pdf: 'application/pdf',\r\n doc: 'application/msword',\r\n docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',\r\n xls: 'application/vnd.ms-excel',\r\n xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\r\n ppt: 'application/vnd.ms-powerpoint',\r\n pptx: 'application/vnd.openxmlformats-officedocument.presentationml.presentation',\r\n txt: 'text/plain',\r\n csv: 'text/csv',\r\n json: 'application/json',\r\n\r\n // Audio/Video\r\n mp3: 'audio/mpeg',\r\n wav: 'audio/wav',\r\n mp4: 'video/mp4',\r\n mov: 'video/quicktime',\r\n webm: 'video/webm',\r\n\r\n // Archive / Code\r\n zip: 'application/zip',\r\n rar: 'application/vnd.rar',\r\n tar: 'application/x-tar',\r\n gz: 'application/gzip',\r\n\r\n // Sonstiges\r\n xml: 'application/xml',\r\n html: 'text/html',\r\n css: 'text/css',\r\n js: 'application/javascript',\r\n };\r\n\r\n private validateRequired(): void {\r\n if (this.required && this.files.length === 0) {\r\n this.requiredError = true;\r\n\r\n if (this.statusMessage?.text !== this.labelRequiredError) {\r\n this.statusMessage = {\r\n type: 'error',\r\n text: this.labelRequiredError,\r\n };\r\n }\r\n\r\n this.ifxFileUploadValidation.emit({ valid: false });\r\n } else {\r\n this.requiredError = false;\r\n\r\n if (this.statusMessage?.text === this.labelRequiredError) {\r\n this.statusMessage = null;\r\n }\r\n\r\n this.ifxFileUploadValidation.emit({ valid: true });\r\n }\r\n }\r\n\r\n private pluralize(count: number): string {\r\n // If allowAnyFileType is true, use generic terms\r\n if (this.allowAnyFileType) {\r\n return count === 1 ? 'file' : 'files';\r\n }\r\n return count === 1 ? this.labelFileSingular : this.labelFilePlural;\r\n }\r\n\r\n private getNormalizedFileTypes(): string[] {\r\n // If allowedFileTypes is not set and allowedFileExtensions is set, return empty array\r\n if (!this.allowedFileTypes && this.allowedFileExtensions && this.getNormalizedFileExtensions().length > 0) {\r\n return [];\r\n }\r\n\r\n // If allowedFileTypes is not set and no allowedFileExtensions, use defaults\r\n if (!this.allowedFileTypes) {\r\n return ['jpg', 'jpeg', 'png', 'pdf', 'mov', 'mp3', 'mp4'];\r\n }\r\n\r\n if (Array.isArray(this.allowedFileTypes)) {\r\n return this.allowedFileTypes;\r\n }\r\n try {\r\n return JSON.parse(this.allowedFileTypes);\r\n } catch {\r\n return this.allowedFileTypes.split(',').map(t => t.trim());\r\n }\r\n }\r\n\r\n private getNormalizedFileExtensions(): string[] {\r\n if (!this.allowedFileExtensions) return [];\r\n if (Array.isArray(this.allowedFileExtensions)) {\r\n return this.allowedFileExtensions;\r\n }\r\n try {\r\n return JSON.parse(this.allowedFileExtensions);\r\n } catch {\r\n return this.allowedFileExtensions.split(',').map(t => t.trim());\r\n }\r\n }\r\n\r\n /**\r\n * Enhanced file type validation that supports:\r\n * - allowAnyFileType flag for unrestricted uploads (overrides all restrictions)\r\n * - allowedFileTypes (predefined extensions mapped to MIME types) - if not set and allowedFileExtensions is set, ignored\r\n * - additionalAllowedFileTypes (MIME types)\r\n * - allowedFileExtensions (custom extensions) - if only this is set, only these extensions are allowed\r\n */\r\n private isFileTypeAllowed(file: File): boolean {\r\n // If allowAnyFileType is true, accept all files (overrides all restrictions)\r\n if (this.allowAnyFileType) {\r\n return true;\r\n }\r\n\r\n const fileExtension = this.getFileExtension(file.name);\r\n\r\n // Check against allowedFileTypes (predefined extensions)\r\n const normalizedTypes = this.getNormalizedFileTypes();\r\n const allowedMimes = normalizedTypes.map(ext => this.extensionToMimeMap[ext.toLowerCase()]).filter(Boolean);\r\n\r\n if (allowedMimes.includes(file.type)) {\r\n return true;\r\n }\r\n\r\n // Check against additionalAllowedFileTypes (MIME types)\r\n const additionalMimeTypes = this.getAdditionalMimeTypes();\r\n if (additionalMimeTypes.includes(file.type)) {\r\n return true;\r\n }\r\n\r\n // Check against allowedFileExtensions (custom extensions)\r\n const customExtensions = this.getNormalizedFileExtensions();\r\n if (customExtensions.length > 0 && fileExtension) {\r\n for (const ext of customExtensions) {\r\n const normalizedExt = ext.startsWith('.') ? ext.substring(1).toLowerCase() : ext.toLowerCase();\r\n if (fileExtension === normalizedExt) {\r\n return true;\r\n }\r\n }\r\n }\r\n\r\n return false;\r\n }\r\n\r\n /**\r\n * Extracts file extension from filename (without dot)\r\n */\r\n private getFileExtension(filename: string): string | null {\r\n const lastDotIndex = filename.lastIndexOf('.');\r\n if (lastDotIndex === -1 || lastDotIndex === filename.length - 1) {\r\n return null;\r\n }\r\n return filename.substring(lastDotIndex + 1).toLowerCase();\r\n }\r\n\r\n private getLabelFromMimeType(mime: string): string {\r\n for (const [ext, knownMime] of Object.entries(this.extensionToMimeMap)) {\r\n if (knownMime === mime) {\r\n return ext.toUpperCase();\r\n }\r\n }\r\n return mime; // fallback: show raw MIME\r\n }\r\n\r\n handleFileChange(event: Event) {\r\n const input = event.target as HTMLInputElement;\r\n if (!input.files) return;\r\n this.processFiles(input.files);\r\n }\r\n\r\n handleDrop(event: DragEvent) {\r\n if (this.disabled) return;\r\n event.preventDefault();\r\n event.stopPropagation();\r\n this.isDragOver = false;\r\n if (event.dataTransfer?.files) {\r\n const droppedFiles = Array.from(event.dataTransfer.files);\r\n\r\n const acceptedFiles: File[] = [];\r\n const rejectedFiles: File[] = [];\r\n\r\n droppedFiles.forEach(file => {\r\n const isValidType = this.isFileTypeAllowed(file);\r\n const isValidSize = file.size <= this.maxFileSizeMB * 1024 * 1024;\r\n if (isValidType && isValidSize) acceptedFiles.push(file);\r\n else rejectedFiles.push(file);\r\n });\r\n\r\n this.ifxFileUploadDrop.emit({\r\n droppedFiles,\r\n acceptedFiles,\r\n rejectedFiles,\r\n });\r\n\r\n this.processFiles(event.dataTransfer.files);\r\n }\r\n }\r\n\r\n handleDragOver(event: DragEvent) {\r\n if (this.disabled) return;\r\n event.preventDefault();\r\n this.isDragOver = true;\r\n }\r\n\r\n handleDragLeave(event: DragEvent) {\r\n if (this.disabled) return;\r\n event.preventDefault();\r\n this.isDragOver = false;\r\n }\r\n\r\n processFiles(fileList: FileList) {\r\n const selectedFiles = Array.from(fileList);\r\n\r\n const validFiles: File[] = [];\r\n const rejectedSize: string[] = [];\r\n const rejectedType: string[] = [];\r\n\r\n selectedFiles.forEach(file => {\r\n const isValidType = this.isFileTypeAllowed(file);\r\n const isValidSize = file.size <= this.maxFileSizeMB * 1024 * 1024;\r\n const isDuplicate = this.files.some(existing => existing.name === file.name && existing.size === file.size);\r\n\r\n if (isDuplicate) {\r\n this.ifxFileUploadInvalid.emit({ file, reason: 'duplicate' });\r\n this.ifxFileUploadError.emit({\r\n file,\r\n errorType: 'duplicate',\r\n message: `File \"${file.name}\" is already added`,\r\n reason: 'duplicate',\r\n });\r\n return;\r\n }\r\n\r\n if (isValidType && isValidSize) {\r\n validFiles.push(file);\r\n } else {\r\n if (!isValidType) {\r\n rejectedType.push(file.name);\r\n this.ifxFileUploadInvalid.emit({ file, reason: 'invalid-type' });\r\n }\r\n if (!isValidSize) {\r\n rejectedSize.push(file.name);\r\n this.ifxFileUploadInvalid.emit({ file, reason: 'invalid-size' });\r\n }\r\n this.ifxFileUploadError.emit({\r\n file,\r\n errorType: !isValidType ? 'invalid-type' : 'file-too-large',\r\n message: 'Invalid file rejected',\r\n reason: !isValidType ? 'unsupported-type' : 'file-too-large',\r\n });\r\n }\r\n });\r\n\r\n this.rejectedSizeFiles = [...this.rejectedSizeFiles, ...rejectedSize];\r\n this.rejectedTypeFiles = [...this.rejectedTypeFiles, ...rejectedType];\r\n\r\n if (this.maxFiles && this.files.length + validFiles.length > this.maxFiles) {\r\n const availableSlots = this.maxFiles - this.files.length;\r\n const limitedFiles = validFiles.slice(0, Math.max(availableSlots, 0));\r\n const overflowFiles = validFiles.slice(availableSlots);\r\n\r\n this.files = [...this.files, ...limitedFiles];\r\n\r\n limitedFiles.forEach(file => this.startUpload(file));\r\n\r\n if (limitedFiles.length > 0) {\r\n this.ifxFileUploadAdd.emit({ addedFiles: limitedFiles, files: this.files });\r\n this.ifxFileUploadChange.emit({ files: this.files });\r\n }\r\n\r\n overflowFiles.forEach(file => {\r\n this.ifxFileUploadInvalid.emit({ file, reason: 'too-many-files' });\r\n this.ifxFileUploadError.emit({\r\n file,\r\n errorType: 'too-many-files',\r\n message: `Upload limit exceeded. Max ${this.maxFiles} files allowed.`,\r\n reason: 'too-many-files',\r\n });\r\n });\r\n\r\n if (overflowFiles.length > 0) {\r\n this.statusMessage = {\r\n type: 'error',\r\n text: this.labelMaxFilesExceeded.replace('{{count}}', this.maxFiles.toString()).replace('{{files}}', this.pluralize(this.maxFiles)),\r\n };\r\n this.ifxFileUploadMaxFilesExceeded.emit({\r\n maxFiles: this.maxFiles,\r\n attempted: this.files.length + validFiles.length,\r\n });\r\n }\r\n\r\n return;\r\n }\r\n\r\n validFiles.forEach(file => this.startUpload(file));\r\n this.files = [...this.files, ...validFiles];\r\n\r\n if (validFiles.length > 0) {\r\n this.ifxFileUploadAdd.emit({ addedFiles: validFiles, files: this.files });\r\n this.ifxFileUploadChange.emit({ files: this.files });\r\n }\r\n\r\n this.validateRequired();\r\n }\r\n\r\n retryUpload(file: File) {\r\n const taskIndex = this.uploadTasks.findIndex(t => t.file.name === file.name);\r\n if (taskIndex !== -1) {\r\n this.uploadTasks.splice(taskIndex, 1);\r\n this.uploadTasks = [...this.uploadTasks];\r\n }\r\n this.ifxFileUploadRetry.emit({ file });\r\n this.startUpload(file);\r\n }\r\n\r\n private checkAndEmitAllComplete(): void {\r\n if (this.uploadTasks.every(t => t.completed || t.error)) {\r\n const hasSuccessfulUploads = this.uploadTasks.some(t => t.completed && !t.error);\r\n if (hasSuccessfulUploads) {\r\n const successfulFiles = this.uploadTasks.filter(t => t.completed && !t.error).map(t => t.file);\r\n this.ifxFileUploadAllComplete.emit({ files: successfulFiles });\r\n }\r\n }\r\n }\r\n\r\n private resetFileInput(): void {\r\n if (this.fileInputEl) {\r\n this.fileInputEl.value = '';\r\n }\r\n }\r\n\r\n private updateTaskProgress(file: File, progress: number): void {\r\n const task = this.uploadTasks.find(t => t.file === file);\r\n if (task) {\r\n const newProgress = Math.max(task.progress, Math.min(100, progress));\r\n if (newProgress !== task.progress) {\r\n task.progress = newProgress;\r\n this.uploadTasks = [...this.uploadTasks];\r\n }\r\n }\r\n }\r\n\r\n startUpload(file: File) {\r\n this.ifxFileUploadStart.emit({ file });\r\n const task: UploadTask = {\r\n file,\r\n progress: 3, // Start with initial progress for better UX\r\n intervalId: null,\r\n completed: false,\r\n };\r\n this.uploadTasks = [...this.uploadTasks, task];\r\n\r\n if (this.uploadHandler) {\r\n this.uploadHandler(file, (percent: number) => {\r\n this.updateTaskProgress(file, percent);\r\n })\r\n .then(() => {\r\n task.progress = 100;\r\n task.completed = true;\r\n this.uploadTasks = [...this.uploadTasks];\r\n this.ifxFileUploadComplete.emit({ file });\r\n this.ifxFileUploadChange.emit({ files: this.files });\r\n this.checkAndEmitAllComplete();\r\n })\r\n .catch(() => {\r\n task.error = true;\r\n this.uploadTasks = [...this.uploadTasks];\r\n this.ifxFileUploadError.emit({\r\n file,\r\n errorType: 'upload-failed',\r\n message: 'Upload handler rejected file',\r\n reason: 'custom',\r\n });\r\n this.checkAndEmitAllComplete();\r\n });\r\n } else {\r\n const totalSize = file.size;\r\n const fakeUploadSpeed = 100000;\r\n let uploaded = 0;\r\n task.intervalId = window.setInterval(() => {\r\n uploaded += fakeUploadSpeed / 5;\r\n const progress = Math.min(100, Math.round((uploaded / totalSize) * 100));\r\n this.updateTaskProgress(file, progress);\r\n\r\n if (progress >= 100) {\r\n clearInterval(task.intervalId!);\r\n task.completed = true;\r\n task.intervalId = null;\r\n this.uploadTasks = [...this.uploadTasks];\r\n this.ifxFileUploadComplete.emit({ file });\r\n this.ifxFileUploadChange.emit({ files: this.files });\r\n this.checkAndEmitAllComplete();\r\n }\r\n }, 200);\r\n }\r\n }\r\n\r\n cancelUpload(file: File) {\r\n const taskIndex = this.uploadTasks.findIndex(t => t.file.name === file.name);\r\n if (taskIndex !== -1) {\r\n const task = this.uploadTasks[taskIndex];\r\n if (task?.intervalId !== null) {\r\n clearInterval(task.intervalId);\r\n }\r\n this.uploadTasks = this.uploadTasks.filter((_, i) => i !== taskIndex);\r\n }\r\n this.files = this.files.filter(f => f.name !== file.name);\r\n this.ifxFileUploadAbort.emit({ file });\r\n this.ifxFileUploadChange.emit({ files: this.files });\r\n this.resetFileInput();\r\n this.validateRequired();\r\n }\r\n\r\n removeFile(file: File) {\r\n this.uploadTasks = this.uploadTasks.filter(task => task.file.name !== file.name);\r\n this.files = this.files.filter(f => f.name !== file.name);\r\n this.ifxFileUploadRemove.emit({ removedFile: file, files: this.files });\r\n this.ifxFileUploadChange.emit({ files: this.files });\r\n this.validateRequired();\r\n\r\n this.resetFileInput();\r\n\r\n if (this.maxFiles && this.files.length < this.maxFiles && this.statusMessage?.text !== this.labelRequiredError) {\r\n this.statusMessage = null;\r\n }\r\n }\r\n\r\n clearRejectedFile(fileName: string, type: 'size' | 'type') {\r\n if (type === 'size') {\r\n this.rejectedSizeFiles = this.rejectedSizeFiles.filter(f => f !== fileName);\r\n } else {\r\n this.rejectedTypeFiles = this.rejectedTypeFiles.filter(f => f !== fileName);\r\n }\r\n\r\n this.resetFileInput();\r\n\r\n if (this.maxFiles && this.files.length < this.maxFiles) {\r\n this.statusMessage = null;\r\n }\r\n\r\n this.validateRequired();\r\n }\r\n\r\n splitFileNameParts(file: File): { base: string; ext: string } {\r\n const name = file.name;\r\n const dotIndex = name.lastIndexOf('.');\r\n if (dotIndex === -1) return { base: name, ext: '' };\r\n return {\r\n base: name.substring(0, dotIndex),\r\n ext: name.substring(dotIndex),\r\n };\r\n }\r\n\r\n getFileIcon(file: File): string {\r\n const extension = file.name.split('.').pop()?.toLowerCase();\r\n switch (extension) {\r\n case 'pdf':\r\n return 'file-pdf-16';\r\n case 'jpg':\r\n case 'jpeg':\r\n return 'file-jpg-16';\r\n case 'png':\r\n return 'file-png-16';\r\n case 'mov':\r\n return 'file-mov-16';\r\n case 'mp3':\r\n return 'file-mp3-16';\r\n case 'mp4':\r\n return 'file-mp4-16';\r\n default:\r\n return 'file-16';\r\n }\r\n }\r\n\r\n formatSize(bytes: number): string {\r\n if (bytes >= 1024 * 1024 * 1024) {\r\n return `${(bytes / (1024 * 1024 * 1024)).toFixed(1)} GB`;\r\n } else if (bytes >= 1024 * 1024) {\r\n return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;\r\n } else if (bytes >= 1024) {\r\n return `${(bytes / 1024).toFixed(0)} KB`;\r\n } else {\r\n return `${bytes} B`;\r\n }\r\n }\r\n\r\n getAcceptAttribute(): string {\r\n // If allowAnyFileType is true, don't restrict the input\r\n if (this.allowAnyFileType) {\r\n return '';\r\n }\r\n\r\n const acceptValues: string[] = [];\r\n\r\n // Add extensions from allowedFileTypes\r\n const extensionTypes = this.getNormalizedFileTypes().map(ext => '.' + ext.toLowerCase());\r\n acceptValues.push(...extensionTypes);\r\n\r\n // Add MIME types from additionalAllowedFileTypes\r\n const mimeTypes = this.getAdditionalMimeTypes();\r\n acceptValues.push(...mimeTypes);\r\n\r\n // Add custom file extensions\r\n const customExtensions = this.getNormalizedFileExtensions();\r\n customExtensions.forEach(ext => {\r\n const normalizedExt = ext.startsWith('.') ? ext : '.' + ext;\r\n acceptValues.push(normalizedExt);\r\n });\r\n\r\n return acceptValues.join(',');\r\n }\r\n\r\n private getFormattedProgressText(task: UploadTask): string {\r\n const uploadedSize = Math.round((task.progress / 100) * task.file.size);\r\n const uploadedText = this.formatSize(uploadedSize);\r\n const totalText = this.formatSize(task.file.size);\r\n return `${uploadedText} / ${totalText} uploaded`;\r\n }\r\n\r\n private getAdditionalMimeTypes(): string[] {\r\n if (!this.additionalAllowedFileTypes) return [];\r\n if (Array.isArray(this.additionalAllowedFileTypes)) return this.additionalAllowedFileTypes;\r\n return this.additionalAllowedFileTypes.split(',').map(t => t.trim());\r\n }\r\n\r\n private getSupportedFileText(): string {\r\n if (this.allowAnyFileType) {\r\n let text = `All file types allowed. Max file size: ${this.maxFileSizeMB}MB.`;\r\n if (this.labelMaxFilesInfo && this.maxFiles) {\r\n const fileWord = this.pluralize(this.maxFiles);\r\n const maxFilesText = this.labelMaxFilesInfo.replace('{{count}}', this.maxFiles.toString()).replace('{{files}}', fileWord);\r\n text += ` ${maxFilesText}`;\r\n }\r\n return text;\r\n }\r\n\r\n const allTypes: string[] = [];\r\n\r\n // Add extensions from allowedFileTypes\r\n const extensions = this.getNormalizedFileTypes().map(ext => ext.toUpperCase());\r\n allTypes.push(...extensions);\r\n\r\n // Add MIME types from additionalAllowedFileTypes\r\n const mimeTypes = this.getAdditionalMimeTypes().map(mime => this.getLabelFromMimeType(mime));\r\n allTypes.push(...mimeTypes);\r\n\r\n // Add custom file extensions\r\n const customExtensions = this.getNormalizedFileExtensions().map(ext => {\r\n const cleanExt = ext.startsWith('.') ? ext.substring(1) : ext;\r\n return cleanExt.toUpperCase();\r\n });\r\n allTypes.push(...customExtensions);\r\n\r\n const typesLabel = allTypes.join(', ');\r\n\r\n let text = this.labelSupportedFormatsTemplate.replace('{{types}}', typesLabel).replace('{{size}}', this.maxFileSizeMB.toString());\r\n\r\n if (this.labelMaxFilesInfo && this.maxFiles) {\r\n const fileWord = this.pluralize(this.maxFiles);\r\n const maxFilesText = this.labelMaxFilesInfo.replace('{{count}}', this.maxFiles.toString()).replace('{{files}}', fileWord);\r\n text += ` ${maxFilesText}`;\r\n }\r\n\r\n return text;\r\n }\r\n\r\n private getFormattedFileTooLargeText(): string {\r\n return this.labelFileTooLarge.replace('{{size}}', this.maxFileSizeMB.toString());\r\n }\r\n\r\n private renderStatusMessage() {\r\n if (!this.statusMessage) return null;\r\n\r\n return (\r\n <div class={`file-upload-status file-upload-status__${this.statusMessage.type}`}>\r\n {this.statusMessage.type === 'error' && <ifx-icon icon=\"c-warning-16\"></ifx-icon>}\r\n {this.statusMessage.text}\r\n </div>\r\n );\r\n }\r\n\r\n private isInputDisabled(): boolean {\r\n return this.disabled || (this.maxFiles !== undefined && this.files.length >= this.maxFiles);\r\n }\r\n\r\n async componentDidLoad() {\r\n if (!isNestedInIfxComponent(this.hostElement)) {\r\n const framework = detectFramework();\r\n trackComponent('ifx-file-upload', await framework);\r\n }\r\n\r\n if (this.hostElement.hasAttribute('show-demo-states')) {\r\n this.showDemoStates = true;\r\n }\r\n\r\n if (this.showDemoStates) {\r\n this.injectDemoState();\r\n }\r\n }\r\n\r\n // Storybook Demo\r\n @Method()\r\n async injectDemoState() {\r\n const dummyContent = new Array(50000).fill('a').join(''); // ~50 KB\r\n const bigContent = dummyContent + dummyContent; // ~100 KB\r\n\r\n const uploading = new File([dummyContent], 'Image.jpg', { type: 'image/jpeg' }); // ~50 KB\r\n const uploaded = new File([bigContent], 'File.pdf', { type: 'application/pdf' }); // ~100 KB\r\n const failed = new File([dummyContent], 'Text.docx', { type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' }); // ~50 KB\r\n const tooLarge = new File([bigContent + bigContent + bigContent], 'Video.mp4', { type: 'video/mp4' }); // ~300 KB\r\n const unsupported = new File(['demo'], 'Script.exe', { type: 'application/x-msdownload' }); // very small\r\n\r\n this.files = [uploaded, uploading, failed];\r\n this.uploadTasks = [\r\n { file: uploaded, progress: 100, intervalId: null, completed: true },\r\n { file: uploading, progress: 40, intervalId: null, completed: false },\r\n { file: failed, progress: 80, intervalId: null, completed: false, error: true },\r\n ];\r\n this.rejectedSizeFiles = [tooLarge.name];\r\n this.rejectedTypeFiles = [unsupported.name];\r\n }\r\n\r\n // Storybook Demo\r\n @Method()\r\n async triggerDemoValidation(): Promise<void> {\r\n this.validateRequired();\r\n }\r\n\r\n render() {\r\n return (\r\n <div\r\n class={{\r\n 'file-upload-wrapper': true,\r\n 'disabled': this.disabled,\r\n }}\r\n >\r\n {this.label && (\r\n <label class=\"file-upload-label\" htmlFor={this.internalId}>\r\n {this.label}\r\n {this.required && <span class={`required ${this.requiredError ? 'error' : ''}`}>*</span>}\r\n </label>\r\n )}\r\n\r\n {this.dragAndDrop ? this.renderDragAndDropArea() : this.renderUploadArea()}\r\n\r\n {(this.files.length > 0 || this.rejectedSizeFiles.length > 0 || this.rejectedTypeFiles.length > 0) && (\r\n <div class=\"file-list-wrapper\">\r\n <div class=\"upload-heading\">{this.labelUploadedFilesHeading}</div>\r\n <ul class=\"file-list\">\r\n {this.rejectedSizeFiles.map(fileName => (\r\n <li class=\"file-item upload-failed\" key={`rejected-size-${fileName}`}>\r\n <div class=\"file-icon\">\r\n <ifx-icon icon=\"file-16\"></ifx-icon>\r\n </div>\r\n <div class=\"file-info\">\r\n <div class=\"file-top-row\">\r\n <span class=\"file-name-wrapper\">\r\n <span class=\"file-name-base\">{this.splitFileNameParts({ name: fileName } as File).base}</span>\r\n <span class=\"file-name-ext\">{this.splitFileNameParts({ name: fileName } as File).ext}</span>\r\n </span>\r\n <div class=\"file-actions\">\r\n <ifx-icon-button\r\n shape=\"square\"\r\n variant=\"tertiary\"\r\n icon=\"delete-forever-16\"\r\n size=\"s\"\r\n aria-label={this.ariaLabelRemoveFile}\r\n onClick={() => this.clearRejectedFile(fileName, 'size')}\r\n ></ifx-icon-button>\r\n </div>\r\n </div>\r\n <div class=\"file-middle-row\">\r\n <span class=\"file-status\" aria-label={this.labelFileTooLarge.replace('{{size}}', this.maxFileSizeMB.toString())}>\r\n {this.getFormattedFileTooLargeText()}\r\n </span>\r\n </div>\r\n </div>\r\n </li>\r\n ))}\r\n\r\n {this.rejectedTypeFiles.map(fileName => (\r\n <li class=\"file-item upload-failed\" key={`rejected-type-${fileName}`}>\r\n <div class=\"file-icon\">\r\n <ifx-icon icon=\"file-16\"></ifx-icon>\r\n </div>\r\n <div class=\"file-info\">\r\n <div class=\"file-top-row\">\r\n <span class=\"file-name-wrapper\">\r\n <span class=\"file-name-base\">{this.splitFileNameParts({ name: fileName } as File).base}</span>\r\n <span class=\"file-name-ext\">{this.splitFileNameParts({ name: fileName } as File).ext}</span>\r\n </span>\r\n <div class=\"file-actions\">\r\n <ifx-icon-button\r\n shape=\"square\"\r\n variant=\"tertiary\"\r\n icon=\"delete-forever-16\"\r\n size=\"s\"\r\n aria-label={this.ariaLabelRemoveFile}\r\n onClick={() => this.clearRejectedFile(fileName, 'type')}\r\n ></ifx-icon-button>\r\n </div>\r\n </div>\r\n <div class=\"file-middle-row\">\r\n <span class=\"file-status\" aria-label={this.labelUnsupportedFileType}>\r\n {this.labelUnsupportedFileType}\r\n </span>\r\n </div>\r\n </div>\r\n </li>\r\n ))}\r\n\r\n {this.files.map(file => {\r\n const task = this.uploadTasks.find(t => t.file.name === file.name);\r\n const progress = task?.progress ?? 100;\r\n const isUploading = task && !task.completed;\r\n const isError = task?.error === true;\r\n const itemClass = isError ? 'file-item upload-failed' : isUploading ? 'file-item uploading' : 'file-item upload-success';\r\n const uniqueKey = `${file.name}-${file.size}`;\r\n const { base, ext } = this.splitFileNameParts(file);\r\n\r\n return (\r\n <li class={itemClass} key={uniqueKey}>\r\n <div class=\"file-icon\">\r\n <ifx-icon icon={this.getFileIcon(file)}></ifx-icon>\r\n </div>\r\n <div class=\"file-info\">\r\n <div class=\"file-top-row\">\r\n <span class=\"file-name-wrapper\">\r\n <span class=\"file-name-base\">{base}</span>\r\n <span class=\"file-name-ext\">{ext}</span>\r\n </span>\r\n <div class=\"file-actions\">\r\n <ifx-icon-button\r\n shape=\"square\"\r\n variant=\"tertiary\"\r\n icon=\"refresh-16\"\r\n size=\"s\"\r\n aria-label={this.ariaLabelRetryUpload}\r\n onClick={() => this.retryUpload(file)}\r\n style={{ display: isError ? 'inline-flex' : 'none' }}\r\n ></ifx-icon-button>\r\n <ifx-icon-button\r\n shape=\"square\"\r\n variant=\"tertiary\"\r\n icon=\"cross-16\"\r\n size=\"s\"\r\n aria-label={this.ariaLabelCancelUpload}\r\n onClick={() => this.cancelUpload(file)}\r\n style={{ display: isUploading ? 'inline-flex' : 'none' }}\r\n ></ifx-icon-button>\r\n <ifx-icon-button\r\n shape=\"square\"\r\n variant=\"tertiary\"\r\n icon=\"delete-forever-16\"\r\n size=\"s\"\r\n aria-label={this.ariaLabelRemoveFile}\r\n onClick={() => this.removeFile(file)}\r\n style={{ display: !isUploading ? 'inline-flex' : 'none' }}\r\n ></ifx-icon-button>\r\n </div>\r\n </div>\r\n\r\n <div class=\"file-middle-row\">\r\n {isUploading && task && !task.error && (\r\n <span class=\"file-uploading\" aria-label={this.ariaLabelUploadingStatus}>\r\n {this.getFormattedProgressText(task)}\r\n </span>\r\n )}\r\n {!isUploading && !isError && (\r\n <span>\r\n <span class=\"file-size\">{this.formatSize(file.size)}</span>\r\n <span class=\"file-status\" aria-label={this.ariaLabelUploadedStatus}>\r\n <ifx-icon icon=\"check-16\"></ifx-icon>\r\n {this.labelUploaded}\r\n </span>\r\n </span>\r\n )}\r\n {isError && (\r\n <span class=\"file-status\" aria-label={this.ariaLabelUploadFailedStatus}>\r\n {this.labelUploadFailed}\r\n </span>\r\n )}\r\n </div>\r\n\r\n {isUploading && task && !task.error && (\r\n <div class=\"file-progress-row\">\r\n <ifx-progress-bar size=\"s\" value={progress} show-label=\"true\"></ifx-progress-bar>\r\n </div>\r\n )}\r\n </div>\r\n </li>\r\n );\r\n })}\r\n </ul>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n\r\n renderUploadArea() {\r\n const handleInputRef = (el: HTMLInputElement | null) => {\r\n this.fileInputEl = el;\r\n };\r\n\r\n return (\r\n <div class={{ 'upload-button': true }}>\r\n <ifx-button variant=\"secondary\" onClick={() => this.fileInputEl?.click()} disabled={this.isInputDisabled()} aria-label={this.ariaLabelBrowseFiles}>\r\n <ifx-icon icon=\"upload-16\"></ifx-icon>\r\n {this.labelBrowseFiles}\r\n </ifx-button>\r\n <input\r\n id={this.internalId}\r\n ref={handleInputRef}\r\n type=\"file\"\r\n accept={this.getAcceptAttribute()}\r\n multiple\r\n onChange={e => this.handleFileChange(e)}\r\n style={{ display: 'none' }}\r\n disabled={this.isInputDisabled()}\r\n aria-label={this.ariaLabelFileInput}\r\n />\r\n <p class=\"file-upload-info\">{this.getSupportedFileText()}</p>\r\n {this.renderStatusMessage()}\r\n </div>\r\n );\r\n }\r\n\r\n renderDragAndDropArea() {\r\n const handleInputRef = (el: HTMLInputElement | null) => {\r\n this.fileInputEl = el;\r\n };\r\n\r\n const triggerInputClick = () => {\r\n if (this.fileInputEl) {\r\n this.fileInputEl.click();\r\n }\r\n };\r\n\r\n return (\r\n <div class={{ disabled: this.isInputDisabled() }}>\r\n <div\r\n class={{ 'upload-dropzone': true, 'drag-over': this.isDragOver, 'error': this.requiredError }}\r\n onClick={triggerInputClick}\r\n onDragOver={e => this.handleDragOver(e)}\r\n onDragLeave={e => this.handleDragLeave(e)}\r\n onDrop={e => this.handleDrop(e)}\r\n role=\"button\"\r\n tabIndex={0}\r\n aria-label={this.ariaLabelDropzone}\r\n >\r\n <ifx-icon icon=\"upload-16\" class=\"custom-icon\"></ifx-icon>\r\n <p>{this.labelDragAndDrop}</p>\r\n <p class=\"file-upload-info\">{this.getSupportedFileText()}</p>\r\n <div style={{ height: '0px', overflow: 'hidden' }}>\r\n <input\r\n id={this.internalId}\r\n ref={handleInputRef}\r\n type=\"file\"\r\n accept={this.getAcceptAttribute()}\r\n multiple\r\n onChange={e => this.handleFileChange(e)}\r\n disabled={this.isInputDisabled()}\r\n aria-label={this.ariaLabelFileInput}\r\n />\r\n </div>\r\n </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AI,CAAC,cAAc,CAAC,CAAC,CAAC,EACvC,WAAW,EAAE,CAAC,IAAI,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EACzC,MAAM,EAAE,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAC/B,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,EACC,YAAA,EAAA,IAAI,CAAC,iBAAiB,EAAA,EAElC,CAAA,CAAA,UAAA,EAAA,EAAU,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,aAAa,EAAY,CAAA,EAC1D,CAAI,CAAA,GAAA,EAAA,IAAA,EAAA,IAAI,CAAC,gBAAgB,CAAK,EAC9B,CAAG,CAAA,GAAA,EAAA,EAAA,KAAK,EAAC,kBAAkB,EAAA,EAAE,IAAI,CAAC,oBAAoB,EAAE,CAAK,EAC7D,CAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAA,EAC/C,CACE,CAAA,OAAA,EAAA,EAAA,EAAE,EAAE,IAAI,CAAC,UAAU,EACnB,GAAG,EAAE,cAAc,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAE,IAAI,CAAC,kBAAkB,EAAE,EACjC,QAAQ,EACR,IAAA,EAAA,QAAQ,EAAE,CAAC,IAAI,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,EACvC,QAAQ,EAAE,IAAI,CAAC,eAAe,EAAE,EAAA,YAAA,EACpB,IAAI,CAAC,kBAAkB,EACnC,CAAA,CACE,CACF,EACL,IAAI,CAAC,mBAAmB,EAAE,CACvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/file-upload/file-upload.scss?tag=ifx-file-upload&encapsulation=shadow","src/components/file-upload/file-upload.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n // TODO remove\n font-family: var(--ifx-font-family, sans-serif);\n}\n\n.file-upload-wrapper {\n display: flex;\n flex-direction: column;\n\n &.disabled {\n pointer-events: none;\n\n label,\n .file-upload-info {\n color: tokens.$ifxColorEngineering500;\n }\n }\n}\n\n.file-upload-label {\n font-style: normal;\n font-weight: 400;\n font-size: tokens.$ifxFontSizeM;\n line-height: tokens.$ifxLineHeightM;\n color: tokens.$ifxColorBaseBlack;\n\n .required {\n display: inline-block;\n margin-left: 4px;\n\n &.error {\n color: tokens.$ifxColorRed500;\n }\n }\n}\n\n.upload-dropzone {\n border: 1px dashed tokens.$ifxColorEngineering300;\n padding: tokens.$ifxSpace500;\n text-align: center;\n cursor: pointer;\n color: tokens.$ifxColorBaseBlack;\n transition: border-color 0.3s ease;\n border-radius: tokens.$ifxBorderRadius12;\n background: tokens.$ifxColorBaseWhite;\n\n ifx-icon {\n color: tokens.$ifxColorOcean500;\n }\n\n &:hover {\n border: 1px dashed tokens.$ifxColorEngineering400;\n }\n\n &.drag-over {\n border: 1px solid tokens.$ifxColorOcean500;\n background: tokens.$ifxColorEngineering100;\n\n &.error {\n border: 1px solid tokens.$ifxColorOcean500;\n }\n }\n\n &.error {\n border-color: tokens.$ifxColorRed500;\n }\n\n .disabled & {\n pointer-events: none;\n border-color: tokens.$ifxColorEngineering300;\n color: tokens.$ifxColorEngineering300;\n\n ifx-icon {\n color: tokens.$ifxColorEngineering300;\n }\n }\n}\n\n.upload-dropzone input {\n display: none;\n}\n\n.file-upload-info {\n font-style: normal;\n font-weight: tokens.$ifxFontWeightRegular;\n font-size: tokens.$ifxFontSizeXs;\n line-height: tokens.$ifxLineHeightXs;\n letter-spacing: tokens.$ifxLetterSpacingDefault;\n color: tokens.$ifxColorBaseBlack;\n margin: 0;\n margin-top: tokens.$ifxSpace50;\n}\n\n.file-upload-status {\n font-style: normal;\n font-weight: 400;\n font-size: tokens.$ifxFontSizeXs;\n line-height: tokens.$ifxLineHeightXs;\n letter-spacing: 0.2px;\n margin-top: tokens.$ifxSpace100;\n\n &.file-upload-status__error {\n display: flex;\n align-items: center;\n color: tokens.$ifxColorRed500;\n\n ifx-icon {\n position: relative;\n top: - tokens.$ifxSpace12;\n color: tokens.$ifxColorRed500;\n margin-right: tokens.$ifxSpace100;\n }\n }\n}\n\n.upload-heading {\n font: tokens.$ifxHeadingHeading06;\n margin-bottom: tokens.$ifxSpace100;\n}\n\n.file-list-wrapper {\n margin-top: tokens.$ifxSpace200;\n}\n\n.file-list {\n list-style: none;\n padding: 0;\n margin: 0;\n display: flex;\n flex-direction: column;\n gap: tokens.$ifxSpace200;\n}\n\n.file-item {\n border: 1px solid tokens.$ifxColorEngineering300;\n padding-top: tokens.$ifxSpace150;\n padding-right: tokens.$ifxSpace200;\n padding-bottom: tokens.$ifxSpace100;\n padding-left: tokens.$ifxSpace200;\n display: flex;\n gap: tokens.$ifxSpace100;\n}\n\n.file-info {\n width: 100%;\n min-width: 0;\n}\n\n.file-top-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: tokens.$ifxSpace200;\n margin-top: - tokens.$ifxSpace100;\n}\n\n.file-top-row ifx-icon {\n flex-shrink: 0;\n}\n\n.file-name-wrapper {\n display: flex;\n min-width: 0;\n max-width: 100%;\n white-space: nowrap;\n overflow: hidden;\n font-weight: tokens.$ifxFontWeightRegular;\n font-size: tokens.$ifxFontSizeS;\n}\n\n.file-name-base {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n flex-shrink: 1;\n min-width: 0;\n}\n\n.file-name-ext {\n flex-shrink: 0;\n margin-left: 0;\n}\n\n.file-middle-row {\n display: flex;\n align-items: center;\n font-size: tokens.$ifxFontSizeXs;\n line-height: tokens.$ifxLineHeightXs;\n flex-wrap: wrap;\n color: tokens.$ifxColorEngineering500;\n\n .file-status {\n margin-left: tokens.$ifxSpace150;\n\n ifx-icon {\n margin-right: tokens.$ifxSpace100;\n }\n }\n}\n\n.file-progress-row {\n margin-top: tokens.$ifxSpace50;\n}\n\n.file-progress-row ifx-progress-bar {\n width: 100%;\n}\n\n.upload-success {\n border-color: tokens.$ifxColorOcean500;\n\n .file-status {\n ifx-icon {\n position: relative;\n top: tokens.$ifxSpace12;\n color: tokens.$ifxColorGreen500;\n }\n }\n}\n\n.upload-failed {\n border-color: tokens.$ifxColorRed500;\n\n .file-status {\n color: tokens.$ifxColorRed500;\n margin-left: 0;\n }\n}\n","import { Component, h, State, Event, EventEmitter, Prop, Method, Element } from '@stencil/core';\nimport { trackComponent } from '../../global/utils/tracking';\nimport { isNestedInIfxComponent } from '../../global/utils/dom-utils';\nimport { detectFramework } from '../../global/utils/framework-detection';\n\ninterface UploadTask {\n file: File;\n progress: number;\n intervalId: number | null;\n completed: boolean;\n error?: boolean;\n}\n\nexport type FileUploadErrorReason = 'network-error' | 'timeout' | 'file-too-large' | 'unsupported-type' | 'invalid-type' | 'custom' | (string & {});\n\n@Component({\n tag: 'ifx-file-upload',\n styleUrl: 'file-upload.scss',\n shadow: true,\n})\nexport class FileUpload {\n @Element() hostElement: HTMLElement;\n\n @Prop() dragAndDrop: boolean = false;\n @Prop() required: boolean = false;\n @Prop() disabled: boolean = false;\n @Prop() maxFileSizeMB: number = 7;\n /** Default set of allowed file extensions (used internally). Can be extended using `additionalAllowedFileTypes`. */\n @Prop() allowedFileTypes?: string | string[] = undefined;\n @Prop() additionalAllowedFileTypes?: string | string[] = [];\n /** When set to true, allows any file type to be uploaded (no file type restrictions). */\n @Prop() allowAnyFileType: boolean = false;\n /** Custom file extensions to allow (e.g., 'xml', 'asc', 'cfg'). Recommended format: without dots. Also accepts format with dots like '.xml'. Do not use wildcards like '*.xml'. */\n @Prop() allowedFileExtensions?: string | string[] = [];\n @Prop() uploadHandler?: (file: File, onProgress?: (progress: number) => void) => Promise<void>;\n\n private _maxFiles?: number;\n @Prop()\n get maxFiles(): number | undefined {\n return this._maxFiles;\n }\n set maxFiles(value: number | undefined) {\n if (typeof value === 'number' && value < 1) {\n console.warn('Invalid `maxFiles` value. Must be >= 1. Value ignored.');\n this._maxFiles = undefined;\n } else {\n this._maxFiles = value;\n }\n }\n\n @Prop() label: string = 'Label';\n @Prop() labelRequiredError: string = 'At least one file must be uploaded';\n @Prop() labelBrowseFiles: string = 'Browse files';\n @Prop() labelDragAndDrop: string = 'Drag & Drop or browse files to upload';\n @Prop() labelUploadedFilesHeading: string = 'Uploaded files';\n @Prop() labelFileTooLarge: string = 'Upload failed. Max file size: {{size}}MB.';\n @Prop() labelUnsupportedFileType: string = 'Unsupported file type.';\n @Prop() labelUploaded: string = 'Successfully uploaded';\n @Prop() labelUploadFailed: string = 'Upload failed. Please try again.';\n @Prop() labelSupportedFormatsTemplate: string = 'Supported file formats: {{types}}. Max file size: {{size}}MB.';\n @Prop() labelFileSingular: string = 'file';\n @Prop() labelFilePlural: string = 'files';\n @Prop() labelMaxFilesInfo?: string = 'Up to {{count}} {{files}}.';\n @Prop() labelMaxFilesExceeded: string = 'Upload limit exceeded. Only {{count}} {{files}} allowed.';\n\n @Prop() ariaLabelBrowseFiles: string = 'Browse files';\n @Prop() ariaLabelDropzone: string = 'Upload area. Click to browse or drag and drop files.';\n @Prop() ariaLabelFileInput: string = 'Upload file';\n @Prop() ariaLabelRemoveFile: string = 'Remove file';\n @Prop() ariaLabelCancelUpload: string = 'Cancel upload';\n @Prop() ariaLabelRetryUpload: string = 'Retry upload';\n @Prop() ariaLabelUploadingStatus: string = 'Upload in progress';\n @Prop() ariaLabelUploadedStatus: string = 'Upload completed';\n @Prop() ariaLabelUploadFailedStatus: string = 'Upload failed';\n\n private showDemoStates?: boolean;\n private internalId = `ifx-file-upload-${Math.random().toString(36).substr(2, 9)}`;\n\n @State() isDragOver: boolean = false;\n @State() files: File[] = [];\n @State() uploadTasks: UploadTask[] = [];\n @State() rejectedSizeFiles: string[] = [];\n @State() rejectedTypeFiles: string[] = [];\n @State() requiredError: boolean = false;\n @State() statusMessage: { type: 'error' | 'info' | 'success'; text: string } | null = null;\n\n @Event() ifxFileUploadAdd: EventEmitter<{ addedFiles: File[]; files: File[] }>;\n @Event() ifxFileUploadRemove: EventEmitter<{ removedFile: File; files: File[] }>;\n @Event() ifxFileUploadChange: EventEmitter<{ files: File[] }>;\n @Event() ifxFileUploadError: EventEmitter<{ errorType: string; file: File; message: string; reason?: string }>;\n @Event() ifxFileUploadInvalid: EventEmitter<{ file: File; reason: string }>;\n @Event() ifxFileUploadStart: EventEmitter<{ file: File }>;\n @Event() ifxFileUploadComplete: EventEmitter<{ file: File }>;\n @Event() ifxFileUploadAllComplete: EventEmitter<{ files: File[] }>;\n @Event() ifxFileUploadAbort: EventEmitter<{ file: File }>;\n @Event() ifxFileUploadDrop: EventEmitter<{ droppedFiles: File[]; acceptedFiles: File[]; rejectedFiles: File[] }>;\n @Event() ifxFileUploadClick: EventEmitter<void>;\n @Event() ifxFileUploadMaxFilesExceeded: EventEmitter<{ maxFiles: number; attempted: number }>;\n @Event() ifxFileUploadValidation: EventEmitter<{ valid: boolean }>;\n @Event() ifxFileUploadRetry: EventEmitter<{ file: File }>;\n\n private fileInputEl: HTMLInputElement | null = null;\n\n private extensionToMimeMap: Record<string, string> = {\n /**\n * Maps file extensions to MIME types.\n * This is only used for translating `allowedFileTypes` (extensions) into MIME types,\n * and for labeling in the UI. It does NOT define which files are globally allowed.\n */\n\n // Images\n jpg: 'image/jpeg',\n jpeg: 'image/jpeg',\n png: 'image/png',\n gif: 'image/gif',\n svg: 'image/svg+xml',\n webp: 'image/webp',\n\n // Documents\n pdf: 'application/pdf',\n doc: 'application/msword',\n docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',\n xls: 'application/vnd.ms-excel',\n xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n ppt: 'application/vnd.ms-powerpoint',\n pptx: 'application/vnd.openxmlformats-officedocument.presentationml.presentation',\n txt: 'text/plain',\n csv: 'text/csv',\n json: 'application/json',\n\n // Audio/Video\n mp3: 'audio/mpeg',\n wav: 'audio/wav',\n mp4: 'video/mp4',\n mov: 'video/quicktime',\n webm: 'video/webm',\n\n // Archive / Code\n zip: 'application/zip',\n rar: 'application/vnd.rar',\n tar: 'application/x-tar',\n gz: 'application/gzip',\n\n // Sonstiges\n xml: 'application/xml',\n html: 'text/html',\n css: 'text/css',\n js: 'application/javascript',\n };\n\n private validateRequired(): void {\n if (this.required && this.files.length === 0) {\n this.requiredError = true;\n\n if (this.statusMessage?.text !== this.labelRequiredError) {\n this.statusMessage = {\n type: 'error',\n text: this.labelRequiredError,\n };\n }\n\n this.ifxFileUploadValidation.emit({ valid: false });\n } else {\n this.requiredError = false;\n\n if (this.statusMessage?.text === this.labelRequiredError) {\n this.statusMessage = null;\n }\n\n this.ifxFileUploadValidation.emit({ valid: true });\n }\n }\n\n private pluralize(count: number): string {\n // If allowAnyFileType is true, use generic terms\n if (this.allowAnyFileType) {\n return count === 1 ? 'file' : 'files';\n }\n return count === 1 ? this.labelFileSingular : this.labelFilePlural;\n }\n\n private getNormalizedFileTypes(): string[] {\n // If allowedFileTypes is not set and allowedFileExtensions is set, return empty array\n if (!this.allowedFileTypes && this.allowedFileExtensions && this.getNormalizedFileExtensions().length > 0) {\n return [];\n }\n\n // If allowedFileTypes is not set and no allowedFileExtensions, use defaults\n if (!this.allowedFileTypes) {\n return ['jpg', 'jpeg', 'png', 'pdf', 'mov', 'mp3', 'mp4'];\n }\n\n if (Array.isArray(this.allowedFileTypes)) {\n return this.allowedFileTypes;\n }\n try {\n return JSON.parse(this.allowedFileTypes);\n } catch {\n return this.allowedFileTypes.split(',').map(t => t.trim());\n }\n }\n\n private getNormalizedFileExtensions(): string[] {\n if (!this.allowedFileExtensions) return [];\n if (Array.isArray(this.allowedFileExtensions)) {\n return this.allowedFileExtensions;\n }\n try {\n return JSON.parse(this.allowedFileExtensions);\n } catch {\n return this.allowedFileExtensions.split(',').map(t => t.trim());\n }\n }\n\n /**\n * Enhanced file type validation that supports:\n * - allowAnyFileType flag for unrestricted uploads (overrides all restrictions)\n * - allowedFileTypes (predefined extensions mapped to MIME types) - if not set and allowedFileExtensions is set, ignored\n * - additionalAllowedFileTypes (MIME types)\n * - allowedFileExtensions (custom extensions) - if only this is set, only these extensions are allowed\n */\n private isFileTypeAllowed(file: File): boolean {\n // If allowAnyFileType is true, accept all files (overrides all restrictions)\n if (this.allowAnyFileType) {\n return true;\n }\n\n const fileExtension = this.getFileExtension(file.name);\n\n // Check against allowedFileTypes (predefined extensions)\n const normalizedTypes = this.getNormalizedFileTypes();\n const allowedMimes = normalizedTypes.map(ext => this.extensionToMimeMap[ext.toLowerCase()]).filter(Boolean);\n\n if (allowedMimes.includes(file.type)) {\n return true;\n }\n\n // Check against additionalAllowedFileTypes (MIME types)\n const additionalMimeTypes = this.getAdditionalMimeTypes();\n if (additionalMimeTypes.includes(file.type)) {\n return true;\n }\n\n // Check against allowedFileExtensions (custom extensions)\n const customExtensions = this.getNormalizedFileExtensions();\n if (customExtensions.length > 0 && fileExtension) {\n for (const ext of customExtensions) {\n const normalizedExt = ext.startsWith('.') ? ext.substring(1).toLowerCase() : ext.toLowerCase();\n if (fileExtension === normalizedExt) {\n return true;\n }\n }\n }\n\n return false;\n }\n\n /**\n * Extracts file extension from filename (without dot)\n */\n private getFileExtension(filename: string): string | null {\n const lastDotIndex = filename.lastIndexOf('.');\n if (lastDotIndex === -1 || lastDotIndex === filename.length - 1) {\n return null;\n }\n return filename.substring(lastDotIndex + 1).toLowerCase();\n }\n\n private getLabelFromMimeType(mime: string): string {\n for (const [ext, knownMime] of Object.entries(this.extensionToMimeMap)) {\n if (knownMime === mime) {\n return ext.toUpperCase();\n }\n }\n return mime; // fallback: show raw MIME\n }\n\n handleFileChange(event: Event) {\n const input = event.target as HTMLInputElement;\n if (!input.files) return;\n this.processFiles(input.files);\n }\n\n handleDrop(event: DragEvent) {\n if (this.disabled) return;\n event.preventDefault();\n event.stopPropagation();\n this.isDragOver = false;\n if (event.dataTransfer?.files) {\n const droppedFiles = Array.from(event.dataTransfer.files);\n\n const acceptedFiles: File[] = [];\n const rejectedFiles: File[] = [];\n\n droppedFiles.forEach(file => {\n const isValidType = this.isFileTypeAllowed(file);\n const isValidSize = file.size <= this.maxFileSizeMB * 1024 * 1024;\n if (isValidType && isValidSize) acceptedFiles.push(file);\n else rejectedFiles.push(file);\n });\n\n this.ifxFileUploadDrop.emit({\n droppedFiles,\n acceptedFiles,\n rejectedFiles,\n });\n\n this.processFiles(event.dataTransfer.files);\n }\n }\n\n handleDragOver(event: DragEvent) {\n if (this.disabled) return;\n event.preventDefault();\n this.isDragOver = true;\n }\n\n handleDragLeave(event: DragEvent) {\n if (this.disabled) return;\n event.preventDefault();\n this.isDragOver = false;\n }\n\n processFiles(fileList: FileList) {\n const selectedFiles = Array.from(fileList);\n\n const validFiles: File[] = [];\n const rejectedSize: string[] = [];\n const rejectedType: string[] = [];\n\n selectedFiles.forEach(file => {\n const isValidType = this.isFileTypeAllowed(file);\n const isValidSize = file.size <= this.maxFileSizeMB * 1024 * 1024;\n const isDuplicate = this.files.some(existing => existing.name === file.name && existing.size === file.size);\n\n if (isDuplicate) {\n this.ifxFileUploadInvalid.emit({ file, reason: 'duplicate' });\n this.ifxFileUploadError.emit({\n file,\n errorType: 'duplicate',\n message: `File \"${file.name}\" is already added`,\n reason: 'duplicate',\n });\n return;\n }\n\n if (isValidType && isValidSize) {\n validFiles.push(file);\n } else {\n if (!isValidType) {\n rejectedType.push(file.name);\n this.ifxFileUploadInvalid.emit({ file, reason: 'invalid-type' });\n }\n if (!isValidSize) {\n rejectedSize.push(file.name);\n this.ifxFileUploadInvalid.emit({ file, reason: 'invalid-size' });\n }\n this.ifxFileUploadError.emit({\n file,\n errorType: !isValidType ? 'invalid-type' : 'file-too-large',\n message: 'Invalid file rejected',\n reason: !isValidType ? 'unsupported-type' : 'file-too-large',\n });\n }\n });\n\n this.rejectedSizeFiles = [...this.rejectedSizeFiles, ...rejectedSize];\n this.rejectedTypeFiles = [...this.rejectedTypeFiles, ...rejectedType];\n\n if (this.maxFiles && this.files.length + validFiles.length > this.maxFiles) {\n const availableSlots = this.maxFiles - this.files.length;\n const limitedFiles = validFiles.slice(0, Math.max(availableSlots, 0));\n const overflowFiles = validFiles.slice(availableSlots);\n\n this.files = [...this.files, ...limitedFiles];\n\n limitedFiles.forEach(file => this.startUpload(file));\n\n if (limitedFiles.length > 0) {\n this.ifxFileUploadAdd.emit({ addedFiles: limitedFiles, files: this.files });\n this.ifxFileUploadChange.emit({ files: this.files });\n }\n\n overflowFiles.forEach(file => {\n this.ifxFileUploadInvalid.emit({ file, reason: 'too-many-files' });\n this.ifxFileUploadError.emit({\n file,\n errorType: 'too-many-files',\n message: `Upload limit exceeded. Max ${this.maxFiles} files allowed.`,\n reason: 'too-many-files',\n });\n });\n\n if (overflowFiles.length > 0) {\n this.statusMessage = {\n type: 'error',\n text: this.labelMaxFilesExceeded.replace('{{count}}', this.maxFiles.toString()).replace('{{files}}', this.pluralize(this.maxFiles)),\n };\n this.ifxFileUploadMaxFilesExceeded.emit({\n maxFiles: this.maxFiles,\n attempted: this.files.length + validFiles.length,\n });\n }\n\n return;\n }\n\n validFiles.forEach(file => this.startUpload(file));\n this.files = [...this.files, ...validFiles];\n\n if (validFiles.length > 0) {\n this.ifxFileUploadAdd.emit({ addedFiles: validFiles, files: this.files });\n this.ifxFileUploadChange.emit({ files: this.files });\n }\n\n this.validateRequired();\n }\n\n retryUpload(file: File) {\n const taskIndex = this.uploadTasks.findIndex(t => t.file.name === file.name);\n if (taskIndex !== -1) {\n this.uploadTasks.splice(taskIndex, 1);\n this.uploadTasks = [...this.uploadTasks];\n }\n this.ifxFileUploadRetry.emit({ file });\n this.startUpload(file);\n }\n\n private checkAndEmitAllComplete(): void {\n if (this.uploadTasks.every(t => t.completed || t.error)) {\n const hasSuccessfulUploads = this.uploadTasks.some(t => t.completed && !t.error);\n if (hasSuccessfulUploads) {\n const successfulFiles = this.uploadTasks.filter(t => t.completed && !t.error).map(t => t.file);\n this.ifxFileUploadAllComplete.emit({ files: successfulFiles });\n }\n }\n }\n\n private resetFileInput(): void {\n if (this.fileInputEl) {\n this.fileInputEl.value = '';\n }\n }\n\n private updateTaskProgress(file: File, progress: number): void {\n const task = this.uploadTasks.find(t => t.file === file);\n if (task) {\n const newProgress = Math.max(task.progress, Math.min(100, progress));\n if (newProgress !== task.progress) {\n task.progress = newProgress;\n this.uploadTasks = [...this.uploadTasks];\n }\n }\n }\n\n startUpload(file: File) {\n this.ifxFileUploadStart.emit({ file });\n const task: UploadTask = {\n file,\n progress: 3, // Start with initial progress for better UX\n intervalId: null,\n completed: false,\n };\n this.uploadTasks = [...this.uploadTasks, task];\n\n if (this.uploadHandler) {\n this.uploadHandler(file, (percent: number) => {\n this.updateTaskProgress(file, percent);\n })\n .then(() => {\n task.progress = 100;\n task.completed = true;\n this.uploadTasks = [...this.uploadTasks];\n this.ifxFileUploadComplete.emit({ file });\n this.ifxFileUploadChange.emit({ files: this.files });\n this.checkAndEmitAllComplete();\n })\n .catch(() => {\n task.error = true;\n this.uploadTasks = [...this.uploadTasks];\n this.ifxFileUploadError.emit({\n file,\n errorType: 'upload-failed',\n message: 'Upload handler rejected file',\n reason: 'custom',\n });\n this.checkAndEmitAllComplete();\n });\n } else {\n const totalSize = file.size;\n const fakeUploadSpeed = 100000;\n let uploaded = 0;\n task.intervalId = window.setInterval(() => {\n uploaded += fakeUploadSpeed / 5;\n const progress = Math.min(100, Math.round((uploaded / totalSize) * 100));\n this.updateTaskProgress(file, progress);\n\n if (progress >= 100) {\n clearInterval(task.intervalId!);\n task.completed = true;\n task.intervalId = null;\n this.uploadTasks = [...this.uploadTasks];\n this.ifxFileUploadComplete.emit({ file });\n this.ifxFileUploadChange.emit({ files: this.files });\n this.checkAndEmitAllComplete();\n }\n }, 200);\n }\n }\n\n cancelUpload(file: File) {\n const taskIndex = this.uploadTasks.findIndex(t => t.file.name === file.name);\n if (taskIndex !== -1) {\n const task = this.uploadTasks[taskIndex];\n if (task?.intervalId !== null) {\n clearInterval(task.intervalId);\n }\n this.uploadTasks = this.uploadTasks.filter((_, i) => i !== taskIndex);\n }\n this.files = this.files.filter(f => f.name !== file.name);\n this.ifxFileUploadAbort.emit({ file });\n this.ifxFileUploadChange.emit({ files: this.files });\n this.resetFileInput();\n this.validateRequired();\n }\n\n removeFile(file: File) {\n this.uploadTasks = this.uploadTasks.filter(task => task.file.name !== file.name);\n this.files = this.files.filter(f => f.name !== file.name);\n this.ifxFileUploadRemove.emit({ removedFile: file, files: this.files });\n this.ifxFileUploadChange.emit({ files: this.files });\n this.validateRequired();\n\n this.resetFileInput();\n\n if (this.maxFiles && this.files.length < this.maxFiles && this.statusMessage?.text !== this.labelRequiredError) {\n this.statusMessage = null;\n }\n }\n\n clearRejectedFile(fileName: string, type: 'size' | 'type') {\n if (type === 'size') {\n this.rejectedSizeFiles = this.rejectedSizeFiles.filter(f => f !== fileName);\n } else {\n this.rejectedTypeFiles = this.rejectedTypeFiles.filter(f => f !== fileName);\n }\n\n this.resetFileInput();\n\n if (this.maxFiles && this.files.length < this.maxFiles) {\n this.statusMessage = null;\n }\n\n this.validateRequired();\n }\n\n splitFileNameParts(file: File): { base: string; ext: string } {\n const name = file.name;\n const dotIndex = name.lastIndexOf('.');\n if (dotIndex === -1) return { base: name, ext: '' };\n return {\n base: name.substring(0, dotIndex),\n ext: name.substring(dotIndex),\n };\n }\n\n getFileIcon(file: File): string {\n const extension = file.name.split('.').pop()?.toLowerCase();\n switch (extension) {\n case 'pdf':\n return 'file-pdf-16';\n case 'jpg':\n case 'jpeg':\n return 'file-jpg-16';\n case 'png':\n return 'file-png-16';\n case 'mov':\n return 'file-mov-16';\n case 'mp3':\n return 'file-mp3-16';\n case 'mp4':\n return 'file-mp4-16';\n default:\n return 'file-16';\n }\n }\n\n formatSize(bytes: number): string {\n if (bytes >= 1024 * 1024 * 1024) {\n return `${(bytes / (1024 * 1024 * 1024)).toFixed(1)} GB`;\n } else if (bytes >= 1024 * 1024) {\n return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;\n } else if (bytes >= 1024) {\n return `${(bytes / 1024).toFixed(0)} KB`;\n } else {\n return `${bytes} B`;\n }\n }\n\n getAcceptAttribute(): string {\n // If allowAnyFileType is true, don't restrict the input\n if (this.allowAnyFileType) {\n return '';\n }\n\n const acceptValues: string[] = [];\n\n // Add extensions from allowedFileTypes\n const extensionTypes = this.getNormalizedFileTypes().map(ext => '.' + ext.toLowerCase());\n acceptValues.push(...extensionTypes);\n\n // Add MIME types from additionalAllowedFileTypes\n const mimeTypes = this.getAdditionalMimeTypes();\n acceptValues.push(...mimeTypes);\n\n // Add custom file extensions\n const customExtensions = this.getNormalizedFileExtensions();\n customExtensions.forEach(ext => {\n const normalizedExt = ext.startsWith('.') ? ext : '.' + ext;\n acceptValues.push(normalizedExt);\n });\n\n return acceptValues.join(',');\n }\n\n private getFormattedProgressText(task: UploadTask): string {\n const uploadedSize = Math.round((task.progress / 100) * task.file.size);\n const uploadedText = this.formatSize(uploadedSize);\n const totalText = this.formatSize(task.file.size);\n return `${uploadedText} / ${totalText} uploaded`;\n }\n\n private getAdditionalMimeTypes(): string[] {\n if (!this.additionalAllowedFileTypes) return [];\n if (Array.isArray(this.additionalAllowedFileTypes)) return this.additionalAllowedFileTypes;\n return this.additionalAllowedFileTypes.split(',').map(t => t.trim());\n }\n\n private getSupportedFileText(): string {\n if (this.allowAnyFileType) {\n let text = `All file types allowed. Max file size: ${this.maxFileSizeMB}MB.`;\n if (this.labelMaxFilesInfo && this.maxFiles) {\n const fileWord = this.pluralize(this.maxFiles);\n const maxFilesText = this.labelMaxFilesInfo.replace('{{count}}', this.maxFiles.toString()).replace('{{files}}', fileWord);\n text += ` ${maxFilesText}`;\n }\n return text;\n }\n\n const allTypes: string[] = [];\n\n // Add extensions from allowedFileTypes\n const extensions = this.getNormalizedFileTypes().map(ext => ext.toUpperCase());\n allTypes.push(...extensions);\n\n // Add MIME types from additionalAllowedFileTypes\n const mimeTypes = this.getAdditionalMimeTypes().map(mime => this.getLabelFromMimeType(mime));\n allTypes.push(...mimeTypes);\n\n // Add custom file extensions\n const customExtensions = this.getNormalizedFileExtensions().map(ext => {\n const cleanExt = ext.startsWith('.') ? ext.substring(1) : ext;\n return cleanExt.toUpperCase();\n });\n allTypes.push(...customExtensions);\n\n const typesLabel = allTypes.join(', ');\n\n let text = this.labelSupportedFormatsTemplate.replace('{{types}}', typesLabel).replace('{{size}}', this.maxFileSizeMB.toString());\n\n if (this.labelMaxFilesInfo && this.maxFiles) {\n const fileWord = this.pluralize(this.maxFiles);\n const maxFilesText = this.labelMaxFilesInfo.replace('{{count}}', this.maxFiles.toString()).replace('{{files}}', fileWord);\n text += ` ${maxFilesText}`;\n }\n\n return text;\n }\n\n private getFormattedFileTooLargeText(): string {\n return this.labelFileTooLarge.replace('{{size}}', this.maxFileSizeMB.toString());\n }\n\n private renderStatusMessage() {\n if (!this.statusMessage) return null;\n\n return (\n <div class={`file-upload-status file-upload-status__${this.statusMessage.type}`}>\n {this.statusMessage.type === 'error' && <ifx-icon icon=\"c-warning-16\"></ifx-icon>}\n {this.statusMessage.text}\n </div>\n );\n }\n\n private isInputDisabled(): boolean {\n return this.disabled || (this.maxFiles !== undefined && this.files.length >= this.maxFiles);\n }\n\n async componentDidLoad() {\n if (!isNestedInIfxComponent(this.hostElement)) {\n const framework = detectFramework();\n trackComponent('ifx-file-upload', await framework);\n }\n\n if (this.hostElement.hasAttribute('show-demo-states')) {\n this.showDemoStates = true;\n }\n\n if (this.showDemoStates) {\n this.injectDemoState();\n }\n }\n\n // Storybook Demo\n @Method()\n async injectDemoState() {\n const dummyContent = new Array(50000).fill('a').join(''); // ~50 KB\n const bigContent = dummyContent + dummyContent; // ~100 KB\n\n const uploading = new File([dummyContent], 'Image.jpg', { type: 'image/jpeg' }); // ~50 KB\n const uploaded = new File([bigContent], 'File.pdf', { type: 'application/pdf' }); // ~100 KB\n const failed = new File([dummyContent], 'Text.docx', { type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' }); // ~50 KB\n const tooLarge = new File([bigContent + bigContent + bigContent], 'Video.mp4', { type: 'video/mp4' }); // ~300 KB\n const unsupported = new File(['demo'], 'Script.exe', { type: 'application/x-msdownload' }); // very small\n\n this.files = [uploaded, uploading, failed];\n this.uploadTasks = [\n { file: uploaded, progress: 100, intervalId: null, completed: true },\n { file: uploading, progress: 40, intervalId: null, completed: false },\n { file: failed, progress: 80, intervalId: null, completed: false, error: true },\n ];\n this.rejectedSizeFiles = [tooLarge.name];\n this.rejectedTypeFiles = [unsupported.name];\n }\n\n // Storybook Demo\n @Method()\n async triggerDemoValidation(): Promise<void> {\n this.validateRequired();\n }\n\n render() {\n return (\n <div\n class={{\n 'file-upload-wrapper': true,\n 'disabled': this.disabled,\n }}\n >\n {this.label && (\n <label class=\"file-upload-label\" htmlFor={this.internalId}>\n {this.label}\n {this.required && <span class={`required ${this.requiredError ? 'error' : ''}`}>*</span>}\n </label>\n )}\n\n {this.dragAndDrop ? this.renderDragAndDropArea() : this.renderUploadArea()}\n\n {(this.files.length > 0 || this.rejectedSizeFiles.length > 0 || this.rejectedTypeFiles.length > 0) && (\n <div class=\"file-list-wrapper\">\n <div class=\"upload-heading\">{this.labelUploadedFilesHeading}</div>\n <ul class=\"file-list\">\n {this.rejectedSizeFiles.map(fileName => (\n <li class=\"file-item upload-failed\" key={`rejected-size-${fileName}`}>\n <div class=\"file-icon\">\n <ifx-icon icon=\"file-16\"></ifx-icon>\n </div>\n <div class=\"file-info\">\n <div class=\"file-top-row\">\n <span class=\"file-name-wrapper\">\n <span class=\"file-name-base\">{this.splitFileNameParts({ name: fileName } as File).base}</span>\n <span class=\"file-name-ext\">{this.splitFileNameParts({ name: fileName } as File).ext}</span>\n </span>\n <div class=\"file-actions\">\n <ifx-icon-button\n shape=\"square\"\n variant=\"tertiary\"\n icon=\"delete-forever-16\"\n size=\"s\"\n aria-label={this.ariaLabelRemoveFile}\n onClick={() => this.clearRejectedFile(fileName, 'size')}\n ></ifx-icon-button>\n </div>\n </div>\n <div class=\"file-middle-row\">\n <span class=\"file-status\" aria-label={this.labelFileTooLarge.replace('{{size}}', this.maxFileSizeMB.toString())}>\n {this.getFormattedFileTooLargeText()}\n </span>\n </div>\n </div>\n </li>\n ))}\n\n {this.rejectedTypeFiles.map(fileName => (\n <li class=\"file-item upload-failed\" key={`rejected-type-${fileName}`}>\n <div class=\"file-icon\">\n <ifx-icon icon=\"file-16\"></ifx-icon>\n </div>\n <div class=\"file-info\">\n <div class=\"file-top-row\">\n <span class=\"file-name-wrapper\">\n <span class=\"file-name-base\">{this.splitFileNameParts({ name: fileName } as File).base}</span>\n <span class=\"file-name-ext\">{this.splitFileNameParts({ name: fileName } as File).ext}</span>\n </span>\n <div class=\"file-actions\">\n <ifx-icon-button\n shape=\"square\"\n variant=\"tertiary\"\n icon=\"delete-forever-16\"\n size=\"s\"\n aria-label={this.ariaLabelRemoveFile}\n onClick={() => this.clearRejectedFile(fileName, 'type')}\n ></ifx-icon-button>\n </div>\n </div>\n <div class=\"file-middle-row\">\n <span class=\"file-status\" aria-label={this.labelUnsupportedFileType}>\n {this.labelUnsupportedFileType}\n </span>\n </div>\n </div>\n </li>\n ))}\n\n {this.files.map(file => {\n const task = this.uploadTasks.find(t => t.file.name === file.name);\n const progress = task?.progress ?? 100;\n const isUploading = task && !task.completed;\n const isError = task?.error === true;\n const itemClass = isError ? 'file-item upload-failed' : isUploading ? 'file-item uploading' : 'file-item upload-success';\n const uniqueKey = `${file.name}-${file.size}`;\n const { base, ext } = this.splitFileNameParts(file);\n\n return (\n <li class={itemClass} key={uniqueKey}>\n <div class=\"file-icon\">\n <ifx-icon icon={this.getFileIcon(file)}></ifx-icon>\n </div>\n <div class=\"file-info\">\n <div class=\"file-top-row\">\n <span class=\"file-name-wrapper\">\n <span class=\"file-name-base\">{base}</span>\n <span class=\"file-name-ext\">{ext}</span>\n </span>\n <div class=\"file-actions\">\n <ifx-icon-button\n shape=\"square\"\n variant=\"tertiary\"\n icon=\"refresh-16\"\n size=\"s\"\n aria-label={this.ariaLabelRetryUpload}\n onClick={() => this.retryUpload(file)}\n style={{ display: isError ? 'inline-flex' : 'none' }}\n ></ifx-icon-button>\n <ifx-icon-button\n shape=\"square\"\n variant=\"tertiary\"\n icon=\"cross-16\"\n size=\"s\"\n aria-label={this.ariaLabelCancelUpload}\n onClick={() => this.cancelUpload(file)}\n style={{ display: isUploading ? 'inline-flex' : 'none' }}\n ></ifx-icon-button>\n <ifx-icon-button\n shape=\"square\"\n variant=\"tertiary\"\n icon=\"delete-forever-16\"\n size=\"s\"\n aria-label={this.ariaLabelRemoveFile}\n onClick={() => this.removeFile(file)}\n style={{ display: !isUploading ? 'inline-flex' : 'none' }}\n ></ifx-icon-button>\n </div>\n </div>\n\n <div class=\"file-middle-row\">\n {isUploading && task && !task.error && (\n <span class=\"file-uploading\" aria-label={this.ariaLabelUploadingStatus}>\n {this.getFormattedProgressText(task)}\n </span>\n )}\n {!isUploading && !isError && (\n <span>\n <span class=\"file-size\">{this.formatSize(file.size)}</span>\n <span class=\"file-status\" aria-label={this.ariaLabelUploadedStatus}>\n <ifx-icon icon=\"check-16\"></ifx-icon>\n {this.labelUploaded}\n </span>\n </span>\n )}\n {isError && (\n <span class=\"file-status\" aria-label={this.ariaLabelUploadFailedStatus}>\n {this.labelUploadFailed}\n </span>\n )}\n </div>\n\n {isUploading && task && !task.error && (\n <div class=\"file-progress-row\">\n <ifx-progress-bar size=\"s\" value={progress} show-label=\"true\"></ifx-progress-bar>\n </div>\n )}\n </div>\n </li>\n );\n })}\n </ul>\n </div>\n )}\n </div>\n );\n }\n\n renderUploadArea() {\n const handleInputRef = (el: HTMLInputElement | null) => {\n this.fileInputEl = el;\n };\n\n return (\n <div class={{ 'upload-button': true }}>\n <ifx-button variant=\"secondary\" onClick={() => this.fileInputEl?.click()} disabled={this.isInputDisabled()} aria-label={this.ariaLabelBrowseFiles}>\n <ifx-icon icon=\"upload-16\"></ifx-icon>\n {this.labelBrowseFiles}\n </ifx-button>\n <input\n id={this.internalId}\n ref={handleInputRef}\n type=\"file\"\n accept={this.getAcceptAttribute()}\n multiple\n onChange={e => this.handleFileChange(e)}\n style={{ display: 'none' }}\n disabled={this.isInputDisabled()}\n aria-label={this.ariaLabelFileInput}\n />\n <p class=\"file-upload-info\">{this.getSupportedFileText()}</p>\n {this.renderStatusMessage()}\n </div>\n );\n }\n\n renderDragAndDropArea() {\n const handleInputRef = (el: HTMLInputElement | null) => {\n this.fileInputEl = el;\n };\n\n const triggerInputClick = () => {\n if (this.fileInputEl) {\n this.fileInputEl.click();\n }\n };\n\n return (\n <div class={{ disabled: this.isInputDisabled() }}>\n <div\n class={{ 'upload-dropzone': true, 'drag-over': this.isDragOver, 'error': this.requiredError }}\n onClick={triggerInputClick}\n onDragOver={e => this.handleDragOver(e)}\n onDragLeave={e => this.handleDragLeave(e)}\n onDrop={e => this.handleDrop(e)}\n role=\"button\"\n tabIndex={0}\n aria-label={this.ariaLabelDropzone}\n >\n <ifx-icon icon=\"upload-16\" class=\"custom-icon\"></ifx-icon>\n <p>{this.labelDragAndDrop}</p>\n <p class=\"file-upload-info\">{this.getSupportedFileText()}</p>\n <div style={{ height: '0px', overflow: 'hidden' }}>\n <input\n id={this.internalId}\n ref={handleInputRef}\n type=\"file\"\n accept={this.getAcceptAttribute()}\n multiple\n onChange={e => this.handleFileChange(e)}\n disabled={this.isInputDisabled()}\n aria-label={this.ariaLabelFileInput}\n />\n </div>\n </div>\n {this.renderStatusMessage()}\n </div>\n );\n }\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h } from './index.js';
2
- import { d as defineCustomElement$3 } from './p-BnjY2AJX.js';
3
- import { d as defineCustomElement$2 } from './p-rP_UHrBl.js';
2
+ import { d as defineCustomElement$3 } from './p-DhNY6ZGA.js';
3
+ import { d as defineCustomElement$2 } from './p-BxahGQyq.js';
4
4
 
5
5
  // utils.ts
6
6
  function getInitiallySelectedItems(el) {
@@ -52,8 +52,8 @@ const FilterAccordion = /*@__PURE__*/ proxyCustomElement(class FilterAccordion e
52
52
  this.el.removeEventListener('ifxListUpdate', this.handleCheckedChange);
53
53
  }
54
54
  render() {
55
- return (h("div", { key: 'cb823204c42f517329ffc5531940e883f284df29', class: `accordion ${this.expanded ? 'expanded' : ''}` }, h("div", { key: '02ccdacd3ec3bd512b20607def154b99421e9c30', class: `header ${this.expanded ? 'expanded' : ''}`, onClick: this.toggleAccordion }, h("div", { key: '634afad1cc58347ca0c96cb6db2cd07a2e94d75f', class: `text-and-icon ${this.expanded ? 'expanded' : ''}` }, h("div", { key: 'f2bff912b12b2fc6b517c9cdf2e2dd9ec4dc1c48', class: "text" }, h("span", { key: '4ff0889e587879cfa7fb46621d8e3418d13ed0d0' }, this.filterGroupName), h("ifx-indicator", { key: '3fa49a2194d194a14aa7cf66e230c710586f7ac6', variant: 'number', number: this.count })), h("ifx-icon", { key: '4a2680ef1af767917150476d787d2acd63f2ef7a', class: this.expanded ? '' : 'hidden', icon: "minus-16", onClick: this.toggleAccordion }), h("ifx-icon", { key: '650b71df532af9b10da6f82d9fe190abd0b39e8f', class: this.expanded ? 'hidden' : '', icon: "plus-16", onClick: this.toggleAccordion }))), this.expanded &&
56
- h("div", { key: 'd6ae6444398886b069881d7b2642b768d4f3ba6c', class: "filter-accordion-container" }, h("slot", { key: 'f24cfd9da32daf4e0f2c884c83ee2e7b3e8cd7fa', name: "list" }))));
55
+ return (h("div", { key: '70376ec184dcd378c6c595d5b30cdb82c8082de6', class: `accordion ${this.expanded ? 'expanded' : ''}` }, h("div", { key: 'c056174028a70bb2f4e28ced5dd81dca18f1a395', class: `header ${this.expanded ? 'expanded' : ''}`, onClick: this.toggleAccordion }, h("div", { key: 'dcdce6679b05c5acad3ba2216270564ea41cc451', class: `text-and-icon ${this.expanded ? 'expanded' : ''}` }, h("div", { key: '49c6ebef37a4b6798210425c694b4ade083a8216', class: "text" }, h("span", { key: 'd027e2e2cc48441b93d490321ac1b5cb2e8d8103' }, this.filterGroupName), h("ifx-indicator", { key: 'b9c83f3318aadd8c25a232233a83448713c80495', variant: 'number', number: this.count })), h("ifx-icon", { key: 'e4759317302f8f4c876a4f9bb87f1295b816a8a4', class: this.expanded ? '' : 'hidden', icon: "minus-16", onClick: this.toggleAccordion }), h("ifx-icon", { key: '4eb6119e32b9b8871d2b1f77d362499e6d9948ce', class: this.expanded ? 'hidden' : '', icon: "plus-16", onClick: this.toggleAccordion }))), this.expanded &&
56
+ h("div", { key: '833bcbac536f4d39419682e217f1c398c43b8e3b', class: "filter-accordion-container" }, h("slot", { key: '9b6fd50774992f88098423ca1ff8e91587bae9b6', name: "list" }))));
57
57
  }
58
58
  get el() { return this; }
59
59
  static get style() { return filterAccordionCss; }
@@ -1 +1 @@
1
- {"file":"ifx-filter-accordion.js","mappings":";;;;AAAA;AACM,SAAU,yBAAyB,CAAC,EAAe,EAAA;IACtD,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,gBAAgB,CAAC;AAErD,SAAA,MAAM,CAAC,KAAK,IAAI,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,KAAK,MAAM;SACtD,GAAG,CAAC,KAAK,IAAG;QACX,OAAO;AACL,YAAA,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC;AAClC,YAAA,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC;AAClC,YAAA,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,MAAM;SAChC;AACH,KAAC,CAAC;AACN;;ACZA,MAAM,kBAAkB,GAAG,s0BAAs0B;;MCQp1B,eAAe,iBAAAA,kBAAA,CAAA,MAAA,eAAA,SAAAC,CAAA,CAAA;AAL5B,IAAA,WAAA,GAAA;;;;;AAMU,QAAA,IAAW,CAAA,WAAA,GAAG,KAAK;AAElB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/table-advanced-version/filter-type-group/utils.ts","src/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.scss?tag=ifx-filter-accordion&encapsulation=shadow","src/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.tsx"],"sourcesContent":["// utils.ts\r\nexport function getInitiallySelectedItems(el: HTMLElement) {\r\n return Array.from(el.querySelectorAll('ifx-list-entry'))\r\n\r\n .filter(entry => entry.getAttribute('value') === 'true')\r\n .map(entry => {\r\n return {\r\n label: entry.getAttribute('label'),\r\n value: entry.getAttribute('value'),\r\n type: entry.getAttribute('type')\r\n };\r\n });\r\n}","@use \"~@infineon/design-system-tokens/dist/tokens\";\r\n\r\n\r\n.header {\r\n display: flex;\r\n align-items: flex-start;\r\n align-self: stretch;\r\n cursor: pointer;\r\n border-left: 3px solid transparent;\r\n}\r\n\r\n.text-and-icon {\r\n display: flex;\r\n padding: tokens.$ifxSpace150 tokens.$ifxSpace200 tokens.$ifxSpace150 tokens.$ifxSpace250;\r\n align-items: center;\r\n gap: tokens.$ifxSpace200;\r\n flex: 1 0 0;\r\n}\r\n\r\n.header.expanded {\r\n border-left: 3px solid tokens.$ifxColorOcean500;\r\n}\r\n\r\n.text {\r\n display: flex;\r\n align-items: center;\r\n gap: 8px;\r\n flex: 1 0 0;\r\n color: tokens.$ifxColorBaseBlack;\r\n font-size: 16px;\r\n font-style: normal;\r\n font-weight: 600;\r\n line-height: 24px;\r\n}\r\n\r\n.hidden {\r\n display: none;\r\n}\r\n\r\n.accordion {\r\n border-bottom: 1px solid tokens.$ifxColorEngineering200;\r\n}\r\n\r\n\r\n.filter-accordion-container {\r\n display: flex;\r\n padding: 8px 16px 16px 20px;\r\n flex-direction: column;\r\n align-items: flex-start;\r\n gap: 12px;\r\n align-self: stretch;\r\n border-left: 3px solid tokens.$ifxColorOcean500;\r\n}\r\n\r\n::slotted(ifx-filter-entry:nth-child(n+7)) {\r\n display: none;\r\n}\r\n\r\n.link {\r\n display: flex;\r\n align-items: center;\r\n gap: 8px;\r\n}\r\n\r\n.show-more ::slotted(ifx-filter-entry:nth-child(n+7)) {\r\n display: block;\r\n}\r\n\r\n.show-more .show-more-link {\r\n display: none;\r\n}","import { Component, h, Prop, State, Event, EventEmitter, Element } from '@stencil/core';\r\nimport { getInitiallySelectedItems } from '../utils';\r\n\r\n@Component({\r\n tag: 'ifx-filter-accordion',\r\n styleUrl: 'filter-accordion.scss',\r\n shadow: true,\r\n})\r\nexport class FilterAccordion {\r\n private initialized = false;\r\n @Element() private el: HTMLElement;\r\n @State() expanded: boolean = false;\r\n @Prop() maxVisibleItems: number;\r\n @State() count: number = 0;\r\n @State() totalItems = 0;\r\n\r\n @Prop() filterGroupName = \"\";\r\n\r\n @Event() ifxFilterAccordionChange: EventEmitter;\r\n\r\n componentWillLoad() {\r\n this.el.addEventListener('ifxListUpdate', this.handleCheckedChange);\r\n\r\n }\r\n\r\ncomponentDidLoad() {\r\n if (!this.initialized) {\r\n const selectedItems = getInitiallySelectedItems(this.el);\r\n this.count = selectedItems.length;\r\n this.initialized = true; // Prevent further execution in future calls\r\n }\r\n}\r\n\r\n\r\nhandleCheckedChange = (event: CustomEvent) => {\r\n const selectedItems = event.detail.selectedItems;\r\n this.count = selectedItems.length;\r\n this.ifxFilterAccordionChange.emit({ filterGroupName: this.filterGroupName, selectedItems });\r\n }\r\n\r\n componentWillUnload() {\r\n this.el.removeEventListener('ifxListUpdate', this.handleCheckedChange);\r\n }\r\n\r\n toggleAccordion = (event: MouseEvent) => {\r\n event.stopPropagation();\r\n this.expanded = !this.expanded;\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`accordion ${this.expanded ? 'expanded' : ''}`}>\r\n <div class={`header ${this.expanded ? 'expanded' : ''}`} onClick={this.toggleAccordion} >\r\n <div class={`text-and-icon ${this.expanded ? 'expanded' : ''}`}>\r\n <div class=\"text\">\r\n <span>{this.filterGroupName}</span>\r\n <ifx-indicator variant='number' number={this.count}></ifx-indicator>\r\n </div>\r\n <ifx-icon\r\n class={this.expanded ? '' : 'hidden'}\r\n icon=\"minus-16\"\r\n onClick={this.toggleAccordion}\r\n ></ifx-icon>\r\n <ifx-icon\r\n class={this.expanded ? 'hidden' : ''}\r\n icon=\"plus-16\"\r\n onClick={this.toggleAccordion}\r\n ></ifx-icon>\r\n </div>\r\n </div>\r\n {this.expanded &&\r\n <div class=\"filter-accordion-container\">\r\n <slot name=\"list\"></slot>\r\n </div>\r\n }\r\n </div>\r\n );\r\n }\r\n}"],"version":3}
1
+ {"file":"ifx-filter-accordion.js","mappings":";;;;AAAA;AACM,SAAU,yBAAyB,CAAC,EAAe,EAAA;IACtD,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,gBAAgB,CAAC;AAErD,SAAA,MAAM,CAAC,KAAK,IAAI,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,KAAK,MAAM;SACtD,GAAG,CAAC,KAAK,IAAG;QACX,OAAO;AACL,YAAA,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC;AAClC,YAAA,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC;AAClC,YAAA,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,MAAM;SAChC;AACH,KAAC,CAAC;AACN;;ACZA,MAAM,kBAAkB,GAAG,s0BAAs0B;;MCQp1B,eAAe,iBAAAA,kBAAA,CAAA,MAAA,eAAA,SAAAC,CAAA,CAAA;AAL5B,IAAA,WAAA,GAAA;;;;;AAMU,QAAA,IAAW,CAAA,WAAA,GAAG,KAAK;AAElB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AAEzB,QAAA,IAAK,CAAA,KAAA,GAAW,CAAC;AACjB,QAAA,IAAU,CAAA,UAAA,GAAG,CAAC;AAEf,QAAA,IAAe,CAAA,eAAA,GAAG,EAAE;AAkB9B,QAA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AE,IAAI,CAAC,eAAe,EAAA,EACpF,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,CAAA,cAAA,EAAiB,IAAI,CAAC,QAAQ,GAAG,UAAU,GAAG,EAAE,CAAE,CAAA,EAAA,EAC5D,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,MAAM,EAAA,EACf,CAAO,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EAAA,IAAI,CAAC,eAAe,CAAQ,EACnC,CAAe,CAAA,eAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,EAAE,IAAI,CAAC,KAAK,EAAA,CAAkB,CAChE,EACN,CACE,CAAA,UAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,IAAI,CAAC,QAAQ,GAAG,EAAE,GAAG,QAAQ,EACpC,IAAI,EAAC,UAAU,EACf,OAAO,EAAE,IAAI,CAAC,eAAe,EACnB,CAAA,EACZ,CACE,CAAA,UAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,IAAI,CAAC,QAAQ,GAAG,QAAQ,GAAG,EAAE,EACpC,IAAI,EAAC,SAAS,EACd,OAAO,EAAE,IAAI,CAAC,eAAe,EACnB,CAAA,CACR,CACF,EACL,IAAI,CAAC,QAAQ;AACZ,YAAA,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,4BAA4B,EAAA,EACrC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,MAAM,GAAQ,CACrB,CAEJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/table-advanced-version/filter-type-group/utils.ts","src/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.scss?tag=ifx-filter-accordion&encapsulation=shadow","src/components/table-advanced-version/filter-type-group/filter-accordion/filter-accordion.tsx"],"sourcesContent":["// utils.ts\nexport function getInitiallySelectedItems(el: HTMLElement) {\n return Array.from(el.querySelectorAll('ifx-list-entry'))\n\n .filter(entry => entry.getAttribute('value') === 'true')\n .map(entry => {\n return {\n label: entry.getAttribute('label'),\n value: entry.getAttribute('value'),\n type: entry.getAttribute('type')\n };\n });\n}","@use \"~@infineon/design-system-tokens/dist/tokens\";\n\n\n.header {\n display: flex;\n align-items: flex-start;\n align-self: stretch;\n cursor: pointer;\n border-left: 3px solid transparent;\n}\n\n.text-and-icon {\n display: flex;\n padding: tokens.$ifxSpace150 tokens.$ifxSpace200 tokens.$ifxSpace150 tokens.$ifxSpace250;\n align-items: center;\n gap: tokens.$ifxSpace200;\n flex: 1 0 0;\n}\n\n.header.expanded {\n border-left: 3px solid tokens.$ifxColorOcean500;\n}\n\n.text {\n display: flex;\n align-items: center;\n gap: 8px;\n flex: 1 0 0;\n color: tokens.$ifxColorBaseBlack;\n font-size: 16px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px;\n}\n\n.hidden {\n display: none;\n}\n\n.accordion {\n border-bottom: 1px solid tokens.$ifxColorEngineering200;\n}\n\n\n.filter-accordion-container {\n display: flex;\n padding: 8px 16px 16px 20px;\n flex-direction: column;\n align-items: flex-start;\n gap: 12px;\n align-self: stretch;\n border-left: 3px solid tokens.$ifxColorOcean500;\n}\n\n::slotted(ifx-filter-entry:nth-child(n+7)) {\n display: none;\n}\n\n.link {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.show-more ::slotted(ifx-filter-entry:nth-child(n+7)) {\n display: block;\n}\n\n.show-more .show-more-link {\n display: none;\n}","import { Component, h, Prop, State, Event, EventEmitter, Element } from '@stencil/core';\nimport { getInitiallySelectedItems } from '../utils';\n\n@Component({\n tag: 'ifx-filter-accordion',\n styleUrl: 'filter-accordion.scss',\n shadow: true,\n})\nexport class FilterAccordion {\n private initialized = false;\n @Element() private el: HTMLElement;\n @State() expanded: boolean = false;\n @Prop() maxVisibleItems: number;\n @State() count: number = 0;\n @State() totalItems = 0;\n\n @Prop() filterGroupName = \"\";\n\n @Event() ifxFilterAccordionChange: EventEmitter;\n\n componentWillLoad() {\n this.el.addEventListener('ifxListUpdate', this.handleCheckedChange);\n\n }\n\ncomponentDidLoad() {\n if (!this.initialized) {\n const selectedItems = getInitiallySelectedItems(this.el);\n this.count = selectedItems.length;\n this.initialized = true; // Prevent further execution in future calls\n }\n}\n\n\nhandleCheckedChange = (event: CustomEvent) => {\n const selectedItems = event.detail.selectedItems;\n this.count = selectedItems.length;\n this.ifxFilterAccordionChange.emit({ filterGroupName: this.filterGroupName, selectedItems });\n }\n\n componentWillUnload() {\n this.el.removeEventListener('ifxListUpdate', this.handleCheckedChange);\n }\n\n toggleAccordion = (event: MouseEvent) => {\n event.stopPropagation();\n this.expanded = !this.expanded;\n }\n\n render() {\n return (\n <div class={`accordion ${this.expanded ? 'expanded' : ''}`}>\n <div class={`header ${this.expanded ? 'expanded' : ''}`} onClick={this.toggleAccordion} >\n <div class={`text-and-icon ${this.expanded ? 'expanded' : ''}`}>\n <div class=\"text\">\n <span>{this.filterGroupName}</span>\n <ifx-indicator variant='number' number={this.count}></ifx-indicator>\n </div>\n <ifx-icon\n class={this.expanded ? '' : 'hidden'}\n icon=\"minus-16\"\n onClick={this.toggleAccordion}\n ></ifx-icon>\n <ifx-icon\n class={this.expanded ? 'hidden' : ''}\n icon=\"plus-16\"\n onClick={this.toggleAccordion}\n ></ifx-icon>\n </div>\n </div>\n {this.expanded &&\n <div class=\"filter-accordion-container\">\n <slot name=\"list\"></slot>\n </div>\n }\n </div>\n );\n }\n}"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, a as Host } from './index.js';
2
- import { d as defineCustomElement$3 } from './p-DrBheHJU.js';
3
- import { d as defineCustomElement$2 } from './p-BnjY2AJX.js';
2
+ import { d as defineCustomElement$3 } from './p-R79iWjuc.js';
3
+ import { d as defineCustomElement$2 } from './p-DhNY6ZGA.js';
4
4
 
5
5
  const filterBarCss = ":host{display:block;width:100%}.search-container{display:flex;width:calc(100% - 48px);padding-left:24px;padding-right:24px;flex-direction:row;align-items:flex-start;margin-bottom:16px}.components-container{display:flex;width:calc(100% - 48px);padding-left:24px;padding-right:24px;flex-direction:row;align-items:flex-end;align-content:flex-end;flex-wrap:wrap;gap:16px}.filter-slot-wrapper{flex-grow:1;flex-basis:100%;max-width:100%}@media (max-width: 1024px){.more-filters-wrapper{order:3;width:100%;display:flex;justify-content:center;padding-top:16px;}}@media (min-width: 720px) and (max-width: 1024px){.filter-slot-wrapper{flex-basis:calc((100% - 16px) / 2);max-width:calc((100% - 16px) / 2)}}@media (min-width: 1025px){.filter-slot-wrapper{flex-basis:auto;max-width:200px}::slotted([slot=filter-search]){max-width:828px}}::slotted([slot=filter-search]){flex-grow:1;flex-basis:100%;width:100%}";
6
6
 
@@ -96,7 +96,7 @@ const FilterBar = /*@__PURE__*/ proxyCustomElement(class FilterBar extends H {
96
96
  // Calculate slotsToShow safely
97
97
  const slotsToShow = Math.min(safeVisibleSlots, actualNumberOfComponents, Number.MAX_SAFE_INTEGER);
98
98
  const slots = Array.from({ length: slotsToShow }, (_, i) => (h("div", { class: "filter-slot-wrapper" }, h("slot", { name: `filter-component-${i + 1}` }))));
99
- return (h(Host, { key: 'e501634e3acd41a5112eacd9f31983e4f392889b' }, h("div", { key: '4d03a14d9e7681998c49491451bbf13617407442', class: "search-container" }, h("slot", { key: '19663dd6d8535bbcee2b1a3f4e7ab27dbd10f347', name: "filter-search" }), " "), h("div", { key: '5dd35aa40dbd16c7c69012752741f55bfc511e06', class: "components-container" }, slots.length > 0 ? slots : h("slot", { name: "filter-component" }), this.showMoreFiltersButton && !this.showAllFilters && (h("div", { key: '0d011826e4eea2a9df2a0a30ce62f406d638414d', class: "more-filters-wrapper", onClick: this.handleMoreFiltersClick }, h("ifx-button", { key: 'e042e8d8866f3e71a48395c428d17d64660c7aa3', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false" }, h("ifx-icon", { key: '7473306595bca3a1a497919d776a6045b5f97ffe', icon: "filter-16" }), "More filters"))))));
99
+ return (h(Host, { key: '2b4927cc61d5e9c566f85544f47b8f3a4305be4e' }, h("div", { key: 'dc3fc02769297cfea89e54f7403bd811ad4cf952', class: "search-container" }, h("slot", { key: '9ec9fe23bd4d14de1d2795d0d2dd21622c93eb76', name: "filter-search" }), " "), h("div", { key: 'c4ea12c884a69fc6905cb178de6da350648821e0', class: "components-container" }, slots.length > 0 ? slots : h("slot", { name: "filter-component" }), this.showMoreFiltersButton && !this.showAllFilters && (h("div", { key: 'd99f66f19f88a1788b9bfdb86b5ceacbe2fd3fad', class: "more-filters-wrapper", onClick: this.handleMoreFiltersClick }, h("ifx-button", { key: 'fbf09d84fc2ea71ece0a6440fc808ddf89b78f65', type: "button", disabled: false, variant: "tertiary", size: "m", target: "_blank", theme: "default", "full-width": "false" }, h("ifx-icon", { key: '930c10fd594a70b820249134cbbb320e17ebf8a7', icon: "filter-16" }), "More filters"))))));
100
100
  }
101
101
  get el() { return this; }
102
102
  static get style() { return filterBarCss; }
@@ -1 +1 @@
1
- {"file":"ifx-filter-bar.js","mappings":";;;;AAAA,MAAM,YAAY,GAAG,i4BAAi4B;;MCQz4B,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;AALtB,IAAA,WAAA,GAAA;;;;;AAOW,QAAA,IAAe,CAAA,eAAA,GAAwE,EAAE;AAEzF,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;AAChC,QAAA,IAAA,CAAA,eAAe,GAAW,CAAC,CAAC;AAE9B,QAAA,IAAqB,CAAA,qBAAA,GAAY,IAAI;AA0B3C,QAAA,IAAsB,CAAA,sBAAA,GAAG,MAAK;AAC5B,YAAA,IAAI,CAAC,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;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/table-advanced-version/filter-bar/filter-bar.scss?tag=ifx-filter-bar&encapsulation=shadow","src/components/table-advanced-version/filter-bar/filter-bar.tsx"],"sourcesContent":["/* filter-bar.scss */\r\n@use \"~@infineon/design-system-tokens/dist/tokens\";\r\n\r\n:host {\r\n display: block;\r\n width: 100%;\r\n}\r\n\r\n.search-container {\r\n display: flex;\r\n width: calc(100% - 48px); /* Adjust width to account for padding */\r\n padding-left: 24px;\r\n padding-right: 24px; flex-direction: row;\r\n align-items: flex-start;\r\n margin-bottom: tokens.$ifxSpace200;\r\n}\r\n\r\n.components-container {\r\n display: flex;\r\n width: calc(100% - 48px); /* Adjust width to account for padding */\r\n padding-left: 24px;\r\n padding-right: 24px; flex-direction: row;\r\n align-items: flex-end;\r\n align-content:flex-end;\r\n flex-wrap: wrap;\r\n gap: tokens.$ifxSpace200;\r\n}\r\n\r\n.filter-slot-wrapper {\r\n flex-grow: 1;\r\n flex-basis: 100%; \r\n max-width: 100%; \r\n }\r\n\r\n@media (max-width: 1024px) { /* Adjust based on your breakpoints for mid/small screens */\r\n .more-filters-wrapper {\r\n order: 3; /* Keeps the button at the end/new row */\r\n width: 100%; /* Takes full width to allow centering */\r\n display: flex; /* Enables flexbox properties */\r\n justify-content: center; /* Centers the button horizontally */\r\n padding-top: tokens.$ifxSpace200; /* Adds space above the button, adjust as needed */\r\n }\r\n }\r\n\r\n\r\n @media (min-width: 720px) and (max-width: 1024px) {\r\n .filter-slot-wrapper {\r\n flex-basis: calc((100% - tokens.$ifxSpace200) / 2);\r\n max-width: calc((100% - tokens.$ifxSpace200) / 2);\r\n }\r\n \r\n\r\n}\r\n\r\n @media (min-width: 1025px) {\r\n .filter-slot-wrapper {\r\n flex-basis: auto; \r\n max-width: 200px; \r\n }\r\n\r\n ::slotted([slot=\"filter-search\"]) {\r\n max-width: 828px;\r\n }\r\n }\r\n \r\n ::slotted([slot=\"filter-search\"]) {\r\n flex-grow: 1;\r\n flex-basis: 100%;\r\n width: 100%; \r\n }","// FilterBar.tsx\r\nimport { Component, h, Host, Element, Event, EventEmitter, State, Prop } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'ifx-filter-bar',\r\n styleUrl: 'filter-bar.scss',\r\n shadow: true\r\n})\r\nexport class FilterBar {\r\n @Element() el: HTMLElement;\r\n @State() selectedOptions: Array<{ filterName: string, filterValues: [string], type: string }> = [];\r\n @Event() ifxTopbarFilterChange: EventEmitter;\r\n @State() showAllFilters: boolean = false;\r\n @Prop() maxShownFilters: number = 4; // Default to 4, can be overridden by parent component\r\n @State() visibleSlots: number;\r\n@Prop() showMoreFiltersButton: boolean = true;\r\n\r\n /* If the component is ever removed and then reattached to the DOM, \r\nconnectedCallback ensures that the event listeners are properly set up again */\r\n connectedCallback() {\r\n this.el.addEventListener('ifxFilterSelect', this.handleTopbarFilterChange);\r\n this.el.addEventListener('ifxFilterSearchChange', this.handleSearchChange);\r\n window.addEventListener('ifxResetFiltersEvent', this.handleResetEvent);\r\n }\r\n\r\n componentWillUnload() {\r\n this.el.removeEventListener('ifxFilterSelect', this.handleTopbarFilterChange);\r\n this.el.removeEventListener('ifxFilterSearchChange', this.handleSearchChange);\r\n window.removeEventListener('ifxResetFiltersEvent', this.handleResetEvent);\r\n }\r\n\r\n \r\n componentWillLoad() {\r\n this.updateVisibleSlots();\r\n }\r\n\r\n// Modify updateVisibleSlots to use showAllFilters to determine the number of slots\r\nupdateVisibleSlots() {\r\n this.visibleSlots = this.showAllFilters ? Number.MAX_SAFE_INTEGER : this.maxShownFilters;\r\n }\r\n\r\n handleMoreFiltersClick = () => {\r\n this.showAllFilters = true;\r\n this.updateVisibleSlots(); // Recalculate visible slots based on the new state\r\n }\r\n\r\n handleResetEvent = () => {\r\n const filterSearchSlot = this.el.shadowRoot?.querySelector('slot[name=\"filter-search\"]');\r\n if (filterSearchSlot instanceof HTMLSlotElement) { // Ensure it's treated as HTMLSlotElement\r\n const filterSearchSlottedElements = filterSearchSlot.assignedElements({ flatten: true });\r\n \r\n filterSearchSlottedElements.forEach((filterSearchWrapper: HTMLElement) => {\r\n const filterSearch = filterSearchWrapper.querySelector('ifx-filter-search');\r\n\r\n const searchField = filterSearch.shadowRoot.querySelectorAll('ifx-search-field')\r\n\r\n if (searchField.length > 0) {\r\n searchField.forEach((searchFieldElement: any) => {\r\n searchFieldElement.value = '';\r\n });\r\n }\r\n });\r\n }\r\n\r\n this.selectedOptions = [];\r\n\r\n // Emit the change to inform any parent components that the filters have been reset\r\n this.ifxTopbarFilterChange.emit(this.selectedOptions);\r\n }\r\n\r\n\r\n handleSearchChange = (event: CustomEvent) => {\r\n this.handleTopbarFilterChange(event);\r\n }\r\n\r\n handleFilterSelect = (event: CustomEvent) => {\r\n this.handleTopbarFilterChange(event);\r\n }\r\n\r\n handleTopbarFilterChange = (event: CustomEvent) => {\r\n const newSelectedOptions = [...this.selectedOptions];\r\n\r\n if (event.type === 'ifxFilterSearchChange') {\r\n const { filterName, filterValue } = event.detail;\r\n const existingOptionIndex = newSelectedOptions.findIndex(option => option.filterName === filterName);\r\n\r\n if (existingOptionIndex !== -1) {\r\n // If an existing filter is found, update its value\r\n newSelectedOptions[existingOptionIndex].filterValues = [filterValue];\r\n } else {\r\n newSelectedOptions.push({ filterName: filterName, filterValues: [filterValue], type: 'text' });\r\n }\r\n } else if (event.type === 'ifxFilterSelect') {\r\n const { filterName, filterValues, type } = event.detail;\r\n const existingOptionIndex = newSelectedOptions.findIndex(option => option.filterName === filterName);\r\n\r\n if (existingOptionIndex !== -1) {\r\n newSelectedOptions[existingOptionIndex].filterValues = filterValues;\r\n newSelectedOptions[existingOptionIndex].type = type; // Update type based on the number of selected items\r\n } else {\r\n newSelectedOptions.push({ filterName: filterName, filterValues: filterValues, type: type });\r\n }\r\n }\r\n\r\n this.selectedOptions = newSelectedOptions;\r\n this.ifxTopbarFilterChange.emit(this.selectedOptions);\r\n }\r\n\r\n render() {\r\n const safeVisibleSlots = Math.max(0, this.visibleSlots);\r\n\r\n const actualNumberOfComponents = this.el.querySelectorAll('ifx-set-filter').length; \r\n // Calculate slotsToShow safely\r\n const slotsToShow = Math.min(safeVisibleSlots, actualNumberOfComponents, Number.MAX_SAFE_INTEGER);\r\n\r\n const slots = Array.from({ length: slotsToShow }, (_, i) => (\r\n <div class=\"filter-slot-wrapper\">\r\n <slot name={`filter-component-${i + 1}`}></slot>\r\n </div>\r\n ));\r\n\r\n return (\r\n <Host>\r\n <div class=\"search-container\">\r\n <slot name=\"filter-search\"></slot> {/* Directly place the search slot here */}\r\n </div>\r\n <div class=\"components-container\">\r\n {slots.length > 0 ? slots : <slot name=\"filter-component\"></slot>}\r\n {this.showMoreFiltersButton && !this.showAllFilters && (\r\n <div class=\"more-filters-wrapper\" onClick={this.handleMoreFiltersClick}>\r\n <ifx-button type=\"button\" disabled={false} variant=\"tertiary\" size=\"m\" target=\"_blank\" theme=\"default\" full-width=\"false\">\r\n <ifx-icon icon=\"filter-16\"></ifx-icon>More filters\r\n </ifx-button>\r\n </div>\r\n )}\r\n </div>\r\n </Host>\r\n );\r\n }\r\n}"],"version":3}
1
+ {"file":"ifx-filter-bar.js","mappings":";;;;AAAA,MAAM,YAAY,GAAG,i4BAAi4B;;MCQz4B,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;AALtB,IAAA,WAAA,GAAA;;;;;AAOW,QAAA,IAAe,CAAA,eAAA,GAAwE,EAAE;AAEzF,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;AAChC,QAAA,IAAA,CAAA,eAAe,GAAW,CAAC,CAAC;AAE9B,QAAA,IAAqB,CAAA,qBAAA,GAAY,IAAI;AA0B3C,QAAA,IAAsB,CAAA,sBAAA,GAAG,MAAK;AAC5B,YAAA,IAAI,CAAC,cAAc,GAAG,IAAI;AAC1B,YAAA,IAAI,CAAC,kBAAkB,EAAE,CAAC;AAC5B,SAAC;AAED,QAAA,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ar/filter-bar.scss?tag=ifx-filter-bar&encapsulation=shadow","src/components/table-advanced-version/filter-bar/filter-bar.tsx"],"sourcesContent":["/* filter-bar.scss */\n@use \"~@infineon/design-system-tokens/dist/tokens\";\n\n:host {\n display: block;\n width: 100%;\n}\n\n.search-container {\n display: flex;\n width: calc(100% - 48px); /* Adjust width to account for padding */\n padding-left: 24px;\n padding-right: 24px; flex-direction: row;\n align-items: flex-start;\n margin-bottom: tokens.$ifxSpace200;\n}\n\n.components-container {\n display: flex;\n width: calc(100% - 48px); /* Adjust width to account for padding */\n padding-left: 24px;\n padding-right: 24px; flex-direction: row;\n align-items: flex-end;\n align-content:flex-end;\n flex-wrap: wrap;\n gap: tokens.$ifxSpace200;\n}\n\n.filter-slot-wrapper {\n flex-grow: 1;\n flex-basis: 100%; \n max-width: 100%; \n }\n\n@media (max-width: 1024px) { /* Adjust based on your breakpoints for mid/small screens */\n .more-filters-wrapper {\n order: 3; /* Keeps the button at the end/new row */\n width: 100%; /* Takes full width to allow centering */\n display: flex; /* Enables flexbox properties */\n justify-content: center; /* Centers the button horizontally */\n padding-top: tokens.$ifxSpace200; /* Adds space above the button, adjust as needed */\n }\n }\n\n\n @media (min-width: 720px) and (max-width: 1024px) {\n .filter-slot-wrapper {\n flex-basis: calc((100% - tokens.$ifxSpace200) / 2);\n max-width: calc((100% - tokens.$ifxSpace200) / 2);\n }\n \n\n}\n\n @media (min-width: 1025px) {\n .filter-slot-wrapper {\n flex-basis: auto; \n max-width: 200px; \n }\n\n ::slotted([slot=\"filter-search\"]) {\n max-width: 828px;\n }\n }\n \n ::slotted([slot=\"filter-search\"]) {\n flex-grow: 1;\n flex-basis: 100%;\n width: 100%; \n }","// FilterBar.tsx\nimport { Component, h, Host, Element, Event, EventEmitter, State, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ifx-filter-bar',\n styleUrl: 'filter-bar.scss',\n shadow: true\n})\nexport class FilterBar {\n @Element() el: HTMLElement;\n @State() selectedOptions: Array<{ filterName: string, filterValues: [string], type: string }> = [];\n @Event() ifxTopbarFilterChange: EventEmitter;\n @State() showAllFilters: boolean = false;\n @Prop() maxShownFilters: number = 4; // Default to 4, can be overridden by parent component\n @State() visibleSlots: number;\n@Prop() showMoreFiltersButton: boolean = true;\n\n /* If the component is ever removed and then reattached to the DOM, \nconnectedCallback ensures that the event listeners are properly set up again */\n connectedCallback() {\n this.el.addEventListener('ifxFilterSelect', this.handleTopbarFilterChange);\n this.el.addEventListener('ifxFilterSearchChange', this.handleSearchChange);\n window.addEventListener('ifxResetFiltersEvent', this.handleResetEvent);\n }\n\n componentWillUnload() {\n this.el.removeEventListener('ifxFilterSelect', this.handleTopbarFilterChange);\n this.el.removeEventListener('ifxFilterSearchChange', this.handleSearchChange);\n window.removeEventListener('ifxResetFiltersEvent', this.handleResetEvent);\n }\n\n \n componentWillLoad() {\n this.updateVisibleSlots();\n }\n\n// Modify updateVisibleSlots to use showAllFilters to determine the number of slots\nupdateVisibleSlots() {\n this.visibleSlots = this.showAllFilters ? Number.MAX_SAFE_INTEGER : this.maxShownFilters;\n }\n\n handleMoreFiltersClick = () => {\n this.showAllFilters = true;\n this.updateVisibleSlots(); // Recalculate visible slots based on the new state\n }\n\n handleResetEvent = () => {\n const filterSearchSlot = this.el.shadowRoot?.querySelector('slot[name=\"filter-search\"]');\n if (filterSearchSlot instanceof HTMLSlotElement) { // Ensure it's treated as HTMLSlotElement\n const filterSearchSlottedElements = filterSearchSlot.assignedElements({ flatten: true });\n \n filterSearchSlottedElements.forEach((filterSearchWrapper: HTMLElement) => {\n const filterSearch = filterSearchWrapper.querySelector('ifx-filter-search');\n\n const searchField = filterSearch.shadowRoot.querySelectorAll('ifx-search-field')\n\n if (searchField.length > 0) {\n searchField.forEach((searchFieldElement: any) => {\n searchFieldElement.value = '';\n });\n }\n });\n }\n\n this.selectedOptions = [];\n\n // Emit the change to inform any parent components that the filters have been reset\n this.ifxTopbarFilterChange.emit(this.selectedOptions);\n }\n\n\n handleSearchChange = (event: CustomEvent) => {\n this.handleTopbarFilterChange(event);\n }\n\n handleFilterSelect = (event: CustomEvent) => {\n this.handleTopbarFilterChange(event);\n }\n\n handleTopbarFilterChange = (event: CustomEvent) => {\n const newSelectedOptions = [...this.selectedOptions];\n\n if (event.type === 'ifxFilterSearchChange') {\n const { filterName, filterValue } = event.detail;\n const existingOptionIndex = newSelectedOptions.findIndex(option => option.filterName === filterName);\n\n if (existingOptionIndex !== -1) {\n // If an existing filter is found, update its value\n newSelectedOptions[existingOptionIndex].filterValues = [filterValue];\n } else {\n newSelectedOptions.push({ filterName: filterName, filterValues: [filterValue], type: 'text' });\n }\n } else if (event.type === 'ifxFilterSelect') {\n const { filterName, filterValues, type } = event.detail;\n const existingOptionIndex = newSelectedOptions.findIndex(option => option.filterName === filterName);\n\n if (existingOptionIndex !== -1) {\n newSelectedOptions[existingOptionIndex].filterValues = filterValues;\n newSelectedOptions[existingOptionIndex].type = type; // Update type based on the number of selected items\n } else {\n newSelectedOptions.push({ filterName: filterName, filterValues: filterValues, type: type });\n }\n }\n\n this.selectedOptions = newSelectedOptions;\n this.ifxTopbarFilterChange.emit(this.selectedOptions);\n }\n\n render() {\n const safeVisibleSlots = Math.max(0, this.visibleSlots);\n\n const actualNumberOfComponents = this.el.querySelectorAll('ifx-set-filter').length; \n // Calculate slotsToShow safely\n const slotsToShow = Math.min(safeVisibleSlots, actualNumberOfComponents, Number.MAX_SAFE_INTEGER);\n\n const slots = Array.from({ length: slotsToShow }, (_, i) => (\n <div class=\"filter-slot-wrapper\">\n <slot name={`filter-component-${i + 1}`}></slot>\n </div>\n ));\n\n return (\n <Host>\n <div class=\"search-container\">\n <slot name=\"filter-search\"></slot> {/* Directly place the search slot here */}\n </div>\n <div class=\"components-container\">\n {slots.length > 0 ? slots : <slot name=\"filter-component\"></slot>}\n {this.showMoreFiltersButton && !this.showAllFilters && (\n <div class=\"more-filters-wrapper\" onClick={this.handleMoreFiltersClick}>\n <ifx-button type=\"button\" disabled={false} variant=\"tertiary\" size=\"m\" target=\"_blank\" theme=\"default\" full-width=\"false\">\n <ifx-icon icon=\"filter-16\"></ifx-icon>More filters\n </ifx-button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}"],"version":3}