@infineon/infineon-design-system-stencil 29.2.2--canary.1496.81db20b5062bd11fe61e2c6a9d91d86642a87bc7.0 → 29.3.0--canary.1639.52a545f9a651e2536d4f40c373f7eb826907d680.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 (394) hide show
  1. package/dist/cjs/ifx-accordion_2.cjs.entry.js +1 -1
  2. package/dist/cjs/ifx-alert.cjs.entry.js +49 -0
  3. package/dist/cjs/ifx-alert.cjs.entry.js.map +1 -0
  4. package/dist/cjs/ifx-badge.cjs.entry.js +1 -1
  5. package/dist/cjs/ifx-basic-table.cjs.entry.js +1 -1
  6. package/dist/cjs/ifx-breadcrumb-item-label.cjs.entry.js +1 -1
  7. package/dist/cjs/ifx-breadcrumb-item.cjs.entry.js +1 -1
  8. package/dist/cjs/ifx-breadcrumb.cjs.entry.js +1 -1
  9. package/dist/cjs/ifx-button.cjs.entry.js +1 -1
  10. package/dist/cjs/ifx-card-headline.cjs.entry.js +1 -1
  11. package/dist/cjs/ifx-card-image.cjs.entry.js +1 -1
  12. package/dist/cjs/ifx-card-links.cjs.entry.js +1 -1
  13. package/dist/cjs/ifx-card-overline.cjs.entry.js +1 -1
  14. package/dist/cjs/ifx-card-text.cjs.entry.js +1 -1
  15. package/dist/cjs/ifx-card.cjs.entry.js +1 -1
  16. package/dist/cjs/ifx-checkbox.cjs.entry.js +1 -1
  17. package/dist/cjs/ifx-chip_3.cjs.entry.js +8 -3
  18. package/dist/cjs/ifx-chip_3.cjs.entry.js.map +1 -1
  19. package/dist/cjs/ifx-content-switcher-item.cjs.entry.js +1 -1
  20. package/dist/cjs/ifx-content-switcher.cjs.entry.js +1 -1
  21. package/dist/cjs/ifx-date-picker.cjs.entry.js +1 -1
  22. package/dist/cjs/ifx-dropdown-header.cjs.entry.js +1 -1
  23. package/dist/cjs/ifx-dropdown-item.cjs.entry.js +1 -1
  24. package/dist/cjs/ifx-dropdown-menu.cjs.entry.js +1 -1
  25. package/dist/cjs/ifx-dropdown-separator.cjs.entry.js +1 -1
  26. package/dist/cjs/ifx-dropdown-trigger-button.cjs.entry.js +1 -1
  27. package/dist/cjs/ifx-dropdown-trigger.cjs.entry.js +1 -1
  28. package/dist/cjs/ifx-dropdown.cjs.entry.js +1 -1
  29. package/dist/cjs/ifx-faq.cjs.entry.js +2 -2
  30. package/dist/cjs/ifx-filter-accordion.cjs.entry.js +1 -1
  31. package/dist/cjs/ifx-filter-bar.cjs.entry.js +1 -1
  32. package/dist/cjs/ifx-filter-search.cjs.entry.js +1 -1
  33. package/dist/cjs/ifx-filter-type-group.cjs.entry.js +1 -1
  34. package/dist/cjs/ifx-footer-column.cjs.entry.js +1 -1
  35. package/dist/cjs/ifx-footer.cjs.entry.js +1 -1
  36. package/dist/cjs/ifx-icon-button.cjs.entry.js +1 -1
  37. package/dist/cjs/ifx-icon.cjs.entry.js +1 -1
  38. package/dist/cjs/ifx-icons-preview.cjs.entry.js +1 -1
  39. package/dist/cjs/ifx-link.cjs.entry.js +1 -1
  40. package/dist/cjs/ifx-list-entry.cjs.entry.js +1 -1
  41. package/dist/cjs/ifx-list-group.cjs.entry.js +1 -1
  42. package/dist/cjs/ifx-list-item.cjs.entry.js +1 -1
  43. package/dist/cjs/ifx-list-notification.cjs.entry.js +1 -1
  44. package/dist/cjs/ifx-list.cjs.entry.js +1 -1
  45. package/dist/cjs/ifx-modal.cjs.entry.js +1 -1
  46. package/dist/cjs/{ifx-multiselect.cjs.entry.js → ifx-multiselect_2.cjs.entry.js} +70 -2
  47. package/dist/cjs/ifx-multiselect_2.cjs.entry.js.map +1 -0
  48. package/dist/cjs/ifx-navbar-item.cjs.entry.js +1 -1
  49. package/dist/cjs/ifx-navbar-profile.cjs.entry.js +1 -1
  50. package/dist/cjs/ifx-navbar.cjs.entry.js +1 -1
  51. package/dist/cjs/ifx-notification.cjs.entry.js +1 -1
  52. package/dist/cjs/ifx-number-indicator.cjs.entry.js +1 -1
  53. package/dist/cjs/ifx-overview-table.cjs.entry.js +1 -1
  54. package/dist/cjs/ifx-progress-bar.cjs.entry.js +1 -1
  55. package/dist/cjs/ifx-radio-button.cjs.entry.js +1 -1
  56. package/dist/cjs/ifx-search-bar.cjs.entry.js +1 -1
  57. package/dist/cjs/ifx-search-field.cjs.entry.js +1 -1
  58. package/dist/cjs/ifx-segment.cjs.entry.js +1 -1
  59. package/dist/cjs/ifx-segmented-control.cjs.entry.js +1 -1
  60. package/dist/cjs/ifx-select.cjs.entry.js +59 -4
  61. package/dist/cjs/ifx-select.cjs.entry.js.map +1 -1
  62. package/dist/cjs/ifx-set-filter.cjs.entry.js +1 -1
  63. package/dist/cjs/ifx-sidebar-item.cjs.entry.js +1 -1
  64. package/dist/cjs/ifx-sidebar-title.cjs.entry.js +1 -1
  65. package/dist/cjs/ifx-sidebar.cjs.entry.js +1 -1
  66. package/dist/cjs/ifx-slider.cjs.entry.js +1 -1
  67. package/dist/cjs/ifx-spinner.cjs.entry.js +35 -0
  68. package/dist/cjs/ifx-spinner.cjs.entry.js.map +1 -0
  69. package/dist/cjs/ifx-status.cjs.entry.js +1 -1
  70. package/dist/cjs/ifx-step.cjs.entry.js +1 -1
  71. package/dist/cjs/ifx-stepper.cjs.entry.js +1 -1
  72. package/dist/cjs/ifx-switch.cjs.entry.js +1 -1
  73. package/dist/cjs/ifx-tab.cjs.entry.js +1 -1
  74. package/dist/cjs/ifx-table.cjs.entry.js +1 -1
  75. package/dist/cjs/ifx-tabs.cjs.entry.js +1 -1
  76. package/dist/cjs/ifx-tag.cjs.entry.js +1 -1
  77. package/dist/cjs/ifx-textarea.cjs.entry.js +3 -3
  78. package/dist/cjs/ifx-tooltip.cjs.entry.js +5 -5
  79. package/dist/cjs/{index-155a65a3.js → index-f6c58643.js} +19 -30
  80. package/dist/cjs/index-f6c58643.js.map +1 -0
  81. package/dist/cjs/infineon-design-system-stencil.cjs.js +2 -2
  82. package/dist/cjs/loader.cjs.js +2 -2
  83. package/dist/collection/collection-manifest.json +0 -2
  84. package/dist/collection/components/pagination/pagination.js +7 -2
  85. package/dist/collection/components/pagination/pagination.js.map +1 -1
  86. package/dist/collection/components/select/single-select/select.css +3 -0
  87. package/dist/collection/components/select/single-select/select.js +76 -3
  88. package/dist/collection/components/select/single-select/select.js.map +1 -1
  89. package/dist/collection/components/text-field/text-field.js +4 -4
  90. package/dist/collection/components/textarea/textarea.js +2 -2
  91. package/dist/collection/components/tooltip/tooltip.js +4 -4
  92. package/dist/collection/index.js.map +1 -1
  93. package/dist/collection/stories/setup-and-installation/faq/faq.js +1 -1
  94. package/dist/components/ifx-alert.js +68 -1
  95. package/dist/components/ifx-alert.js.map +1 -1
  96. package/dist/components/ifx-faq.js +1 -1
  97. package/dist/components/ifx-pagination.js +1 -1
  98. package/dist/components/ifx-select.js +1 -1
  99. package/dist/components/ifx-set-filter.js +2 -2
  100. package/dist/components/ifx-spinner.js +46 -1
  101. package/dist/components/ifx-spinner.js.map +1 -1
  102. package/dist/components/ifx-table.js +2 -2
  103. package/dist/components/ifx-text-field.js +1 -1
  104. package/dist/components/ifx-textarea.js +2 -2
  105. package/dist/components/ifx-tooltip.js +4 -4
  106. package/dist/components/{p-2e5420cd.js → p-81357e99.js} +9 -4
  107. package/dist/components/p-81357e99.js.map +1 -0
  108. package/dist/components/{p-e62107e4.js → p-b9024e1a.js} +62 -5
  109. package/dist/components/p-b9024e1a.js.map +1 -0
  110. package/dist/components/{p-b537c83a.js → p-d5a199fb.js} +5 -5
  111. package/dist/components/{p-b537c83a.js.map → p-d5a199fb.js.map} +1 -1
  112. package/dist/esm/ifx-accordion_2.entry.js +1 -1
  113. package/dist/{components/p-81263927.js → esm/ifx-alert.entry.js} +8 -35
  114. package/dist/esm/ifx-alert.entry.js.map +1 -0
  115. package/dist/esm/ifx-badge.entry.js +1 -1
  116. package/dist/esm/ifx-basic-table.entry.js +1 -1
  117. package/dist/esm/ifx-breadcrumb-item-label.entry.js +1 -1
  118. package/dist/esm/ifx-breadcrumb-item.entry.js +1 -1
  119. package/dist/esm/ifx-breadcrumb.entry.js +1 -1
  120. package/dist/esm/ifx-button.entry.js +1 -1
  121. package/dist/esm/ifx-card-headline.entry.js +1 -1
  122. package/dist/esm/ifx-card-image.entry.js +1 -1
  123. package/dist/esm/ifx-card-links.entry.js +1 -1
  124. package/dist/esm/ifx-card-overline.entry.js +1 -1
  125. package/dist/esm/ifx-card-text.entry.js +1 -1
  126. package/dist/esm/ifx-card.entry.js +1 -1
  127. package/dist/esm/ifx-checkbox.entry.js +1 -1
  128. package/dist/esm/ifx-chip_3.entry.js +8 -3
  129. package/dist/esm/ifx-chip_3.entry.js.map +1 -1
  130. package/dist/esm/ifx-content-switcher-item.entry.js +1 -1
  131. package/dist/esm/ifx-content-switcher.entry.js +1 -1
  132. package/dist/esm/ifx-date-picker.entry.js +1 -1
  133. package/dist/esm/ifx-dropdown-header.entry.js +1 -1
  134. package/dist/esm/ifx-dropdown-item.entry.js +1 -1
  135. package/dist/esm/ifx-dropdown-menu.entry.js +1 -1
  136. package/dist/esm/ifx-dropdown-separator.entry.js +1 -1
  137. package/dist/esm/ifx-dropdown-trigger-button.entry.js +1 -1
  138. package/dist/esm/ifx-dropdown-trigger.entry.js +1 -1
  139. package/dist/esm/ifx-dropdown.entry.js +1 -1
  140. package/dist/esm/ifx-faq.entry.js +2 -2
  141. package/dist/esm/ifx-filter-accordion.entry.js +1 -1
  142. package/dist/esm/ifx-filter-bar.entry.js +1 -1
  143. package/dist/esm/ifx-filter-search.entry.js +1 -1
  144. package/dist/esm/ifx-filter-type-group.entry.js +1 -1
  145. package/dist/esm/ifx-footer-column.entry.js +1 -1
  146. package/dist/esm/ifx-footer.entry.js +1 -1
  147. package/dist/esm/ifx-icon-button.entry.js +1 -1
  148. package/dist/esm/ifx-icon.entry.js +1 -1
  149. package/dist/esm/ifx-icons-preview.entry.js +1 -1
  150. package/dist/esm/ifx-link.entry.js +1 -1
  151. package/dist/esm/ifx-list-entry.entry.js +1 -1
  152. package/dist/esm/ifx-list-group.entry.js +1 -1
  153. package/dist/esm/ifx-list-item.entry.js +1 -1
  154. package/dist/esm/ifx-list-notification.entry.js +1 -1
  155. package/dist/esm/ifx-list.entry.js +1 -1
  156. package/dist/esm/ifx-modal.entry.js +1 -1
  157. package/dist/esm/{ifx-multiselect.entry.js → ifx-multiselect_2.entry.js} +70 -3
  158. package/dist/esm/ifx-multiselect_2.entry.js.map +1 -0
  159. package/dist/esm/ifx-navbar-item.entry.js +1 -1
  160. package/dist/esm/ifx-navbar-profile.entry.js +1 -1
  161. package/dist/esm/ifx-navbar.entry.js +1 -1
  162. package/dist/esm/ifx-notification.entry.js +1 -1
  163. package/dist/esm/ifx-number-indicator.entry.js +1 -1
  164. package/dist/esm/ifx-overview-table.entry.js +1 -1
  165. package/dist/esm/ifx-progress-bar.entry.js +1 -1
  166. package/dist/esm/ifx-radio-button.entry.js +1 -1
  167. package/dist/esm/ifx-search-bar.entry.js +1 -1
  168. package/dist/esm/ifx-search-field.entry.js +1 -1
  169. package/dist/esm/ifx-segment.entry.js +1 -1
  170. package/dist/esm/ifx-segmented-control.entry.js +1 -1
  171. package/dist/esm/ifx-select.entry.js +59 -4
  172. package/dist/esm/ifx-select.entry.js.map +1 -1
  173. package/dist/esm/ifx-set-filter.entry.js +1 -1
  174. package/dist/esm/ifx-sidebar-item.entry.js +1 -1
  175. package/dist/esm/ifx-sidebar-title.entry.js +1 -1
  176. package/dist/esm/ifx-sidebar.entry.js +1 -1
  177. package/dist/esm/ifx-slider.entry.js +1 -1
  178. package/dist/{components/p-53704c65.js → esm/ifx-spinner.entry.js} +9 -28
  179. package/dist/esm/ifx-spinner.entry.js.map +1 -0
  180. package/dist/esm/ifx-status.entry.js +1 -1
  181. package/dist/esm/ifx-step.entry.js +1 -1
  182. package/dist/esm/ifx-stepper.entry.js +1 -1
  183. package/dist/esm/ifx-switch.entry.js +1 -1
  184. package/dist/esm/ifx-tab.entry.js +1 -1
  185. package/dist/esm/ifx-table.entry.js +1 -1
  186. package/dist/esm/ifx-tabs.entry.js +1 -1
  187. package/dist/esm/ifx-tag.entry.js +1 -1
  188. package/dist/esm/ifx-textarea.entry.js +3 -3
  189. package/dist/esm/ifx-tooltip.entry.js +5 -5
  190. package/dist/esm/{index-d021b985.js → index-fc6a5751.js} +20 -30
  191. package/dist/esm/index-fc6a5751.js.map +1 -0
  192. package/dist/esm/infineon-design-system-stencil.js +3 -3
  193. package/dist/esm/loader.js +3 -3
  194. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
  195. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js.map +1 -1
  196. package/dist/infineon-design-system-stencil/{p-716f6675.entry.js → p-02be14a9.entry.js} +2 -2
  197. package/dist/infineon-design-system-stencil/{p-4082111f.entry.js → p-0b5ad497.entry.js} +2 -2
  198. package/dist/infineon-design-system-stencil/{p-4126ee6a.entry.js → p-0c570fa2.entry.js} +2 -2
  199. package/dist/infineon-design-system-stencil/p-0ddf85fc.entry.js +2 -0
  200. package/dist/infineon-design-system-stencil/p-0ddf85fc.entry.js.map +1 -0
  201. package/dist/infineon-design-system-stencil/{p-ca00d3c8.entry.js → p-1175d112.entry.js} +2 -2
  202. package/dist/infineon-design-system-stencil/{p-d517ea6c.entry.js → p-16348b9d.entry.js} +2 -2
  203. package/dist/infineon-design-system-stencil/{p-e76c8cce.entry.js → p-16f9a47c.entry.js} +2 -2
  204. package/dist/infineon-design-system-stencil/{p-b1543f1d.entry.js → p-1b9317bd.entry.js} +2 -2
  205. package/dist/infineon-design-system-stencil/{p-070a401c.entry.js → p-1d9e400c.entry.js} +2 -2
  206. package/dist/infineon-design-system-stencil/{p-e2c6464a.entry.js → p-1f329979.entry.js} +2 -2
  207. package/dist/infineon-design-system-stencil/{p-f037e2e1.entry.js → p-208b28b1.entry.js} +2 -2
  208. package/dist/infineon-design-system-stencil/p-25bf54c9.entry.js +2 -0
  209. package/dist/infineon-design-system-stencil/{p-3a64f78a.entry.js → p-2ae0a0d0.entry.js} +2 -2
  210. package/dist/infineon-design-system-stencil/{p-4626a7a5.entry.js → p-2d17e5b2.entry.js} +2 -2
  211. package/dist/infineon-design-system-stencil/{p-7973be1c.entry.js → p-2e8c0115.entry.js} +2 -2
  212. package/dist/infineon-design-system-stencil/{p-8bd1eb2e.entry.js → p-2fbad873.entry.js} +2 -2
  213. package/dist/infineon-design-system-stencil/{p-3b597917.entry.js → p-30640970.entry.js} +2 -2
  214. package/dist/infineon-design-system-stencil/{p-c9211767.entry.js → p-31889cb2.entry.js} +2 -2
  215. package/dist/infineon-design-system-stencil/{p-5269c5f6.entry.js → p-31e9d4f8.entry.js} +2 -2
  216. package/dist/infineon-design-system-stencil/{p-f98cae21.entry.js → p-336778c3.entry.js} +2 -2
  217. package/dist/infineon-design-system-stencil/{p-005cee40.entry.js → p-37654645.entry.js} +2 -2
  218. package/dist/infineon-design-system-stencil/{p-1e32dc46.entry.js → p-37ecac74.entry.js} +2 -2
  219. package/dist/infineon-design-system-stencil/{p-23fc1ac6.entry.js → p-39697853.entry.js} +2 -2
  220. package/dist/infineon-design-system-stencil/{p-8299d886.entry.js → p-3be58aa2.entry.js} +2 -2
  221. package/dist/infineon-design-system-stencil/{p-22c3e2a6.entry.js → p-4111bbdc.entry.js} +2 -2
  222. package/dist/infineon-design-system-stencil/{p-95c56362.entry.js → p-41b0849d.entry.js} +2 -2
  223. package/dist/infineon-design-system-stencil/{p-9256384e.entry.js → p-4349aa3a.entry.js} +2 -2
  224. package/dist/infineon-design-system-stencil/{p-1f0a54f5.entry.js → p-47476fcb.entry.js} +2 -2
  225. package/dist/infineon-design-system-stencil/p-492a9ab7.entry.js +2 -0
  226. package/dist/infineon-design-system-stencil/{p-4b7b93c4.entry.js → p-49872432.entry.js} +2 -2
  227. package/dist/infineon-design-system-stencil/p-4aab4af4.entry.js +2 -0
  228. package/dist/infineon-design-system-stencil/p-4aab4af4.entry.js.map +1 -0
  229. package/dist/infineon-design-system-stencil/{p-a4205f38.entry.js → p-4af08129.entry.js} +2 -2
  230. package/dist/infineon-design-system-stencil/{p-2deacdfc.entry.js → p-50e122c4.entry.js} +2 -2
  231. package/dist/infineon-design-system-stencil/{p-67efe96d.entry.js → p-5992e272.entry.js} +2 -2
  232. package/dist/infineon-design-system-stencil/{p-ec5fcb90.entry.js → p-5cc523fb.entry.js} +2 -2
  233. package/dist/infineon-design-system-stencil/{p-3e313cf5.entry.js → p-5edfe317.entry.js} +2 -2
  234. package/dist/infineon-design-system-stencil/{p-9e68df13.entry.js → p-666e0ea0.entry.js} +2 -2
  235. package/dist/infineon-design-system-stencil/{p-9c641115.entry.js → p-6ad287cf.entry.js} +2 -2
  236. package/dist/infineon-design-system-stencil/{p-d70843bb.entry.js → p-6e61295f.entry.js} +2 -2
  237. package/dist/infineon-design-system-stencil/{p-23061813.entry.js → p-7378190d.entry.js} +2 -2
  238. package/dist/infineon-design-system-stencil/p-75436967.entry.js +2 -0
  239. package/dist/infineon-design-system-stencil/p-75436967.entry.js.map +1 -0
  240. package/dist/infineon-design-system-stencil/{p-80d79ac2.entry.js → p-79b4d359.entry.js} +2 -2
  241. package/dist/infineon-design-system-stencil/p-80bb0959.js +3 -0
  242. package/dist/infineon-design-system-stencil/{p-7aa4082c.js.map → p-80bb0959.js.map} +1 -1
  243. package/dist/infineon-design-system-stencil/{p-a7b721e4.entry.js → p-8b089cd1.entry.js} +2 -2
  244. package/dist/infineon-design-system-stencil/{p-d4432905.entry.js → p-8c9887e3.entry.js} +2 -2
  245. package/dist/infineon-design-system-stencil/{p-6ff541a9.entry.js → p-951cf503.entry.js} +2 -2
  246. package/dist/infineon-design-system-stencil/{p-b10e3175.entry.js → p-985c7bdc.entry.js} +2 -2
  247. package/dist/infineon-design-system-stencil/{p-f2ba1590.entry.js → p-9c50bc3e.entry.js} +2 -2
  248. package/dist/infineon-design-system-stencil/{p-577e735a.entry.js → p-a10f9b3c.entry.js} +2 -2
  249. package/dist/infineon-design-system-stencil/{p-8ccea8df.entry.js → p-a29b6247.entry.js} +2 -2
  250. package/dist/infineon-design-system-stencil/{p-55e8c571.entry.js → p-a3c03169.entry.js} +2 -2
  251. package/dist/infineon-design-system-stencil/{p-27a85cb6.entry.js → p-b010bfcb.entry.js} +3 -3
  252. package/dist/infineon-design-system-stencil/p-b010bfcb.entry.js.map +1 -0
  253. package/dist/infineon-design-system-stencil/{p-83a3c6d9.entry.js → p-b30b66e5.entry.js} +2 -2
  254. package/dist/infineon-design-system-stencil/{p-10f2f4d2.entry.js → p-b3fb648f.entry.js} +2 -2
  255. package/dist/infineon-design-system-stencil/{p-8822c055.entry.js → p-b8f31dc3.entry.js} +2 -2
  256. package/dist/infineon-design-system-stencil/{p-a825eb1f.entry.js → p-bc40ad21.entry.js} +2 -2
  257. package/dist/infineon-design-system-stencil/{p-5a134c12.entry.js → p-c22f8c81.entry.js} +2 -2
  258. package/dist/infineon-design-system-stencil/{p-15c2d91e.entry.js → p-c2e6cbdb.entry.js} +2 -2
  259. package/dist/infineon-design-system-stencil/{p-21f9efe3.entry.js → p-c61a9185.entry.js} +2 -2
  260. package/dist/infineon-design-system-stencil/{p-cc49128c.entry.js → p-c9aca4b7.entry.js} +2 -2
  261. package/dist/infineon-design-system-stencil/{p-3f71f020.entry.js → p-cb0ddc9b.entry.js} +2 -2
  262. package/dist/infineon-design-system-stencil/{p-6c3947ee.entry.js → p-cdad5d2c.entry.js} +2 -2
  263. package/dist/infineon-design-system-stencil/{p-d0afd036.entry.js → p-ce9e5451.entry.js} +2 -2
  264. package/dist/infineon-design-system-stencil/{p-0b2330b1.entry.js → p-d31a6167.entry.js} +2 -2
  265. package/dist/infineon-design-system-stencil/{p-95c0da4c.entry.js → p-d323e4ed.entry.js} +2 -2
  266. package/dist/infineon-design-system-stencil/{p-a2c65b72.entry.js → p-db4a364b.entry.js} +2 -2
  267. package/dist/infineon-design-system-stencil/{p-a2c65b72.entry.js.map → p-db4a364b.entry.js.map} +1 -1
  268. package/dist/infineon-design-system-stencil/{p-f93d0e29.entry.js → p-dba5e033.entry.js} +2 -2
  269. package/dist/infineon-design-system-stencil/{p-8c0caf65.entry.js → p-e6427f2e.entry.js} +2 -2
  270. package/dist/infineon-design-system-stencil/{p-da42f326.entry.js → p-e8cde48d.entry.js} +2 -2
  271. package/dist/infineon-design-system-stencil/{p-2cde10eb.entry.js → p-ea74d7ab.entry.js} +2 -2
  272. package/dist/infineon-design-system-stencil/{p-bbc7a00e.entry.js → p-ee68427e.entry.js} +2 -2
  273. package/dist/infineon-design-system-stencil/{p-d7b5242d.entry.js → p-f121e197.entry.js} +2 -2
  274. package/dist/infineon-design-system-stencil/{p-85b95a9b.entry.js → p-f3383274.entry.js} +2 -2
  275. package/dist/infineon-design-system-stencil/{p-0c6417aa.entry.js → p-fcf71895.entry.js} +2 -2
  276. package/dist/types/components/select/single-select/select.d.ts +7 -0
  277. package/dist/types/components.d.ts +1 -49
  278. package/package.json +1 -1
  279. package/dist/cjs/ifx-alert_2.cjs.entry.js +0 -201
  280. package/dist/cjs/ifx-alert_2.cjs.entry.js.map +0 -1
  281. package/dist/cjs/ifx-multiselect.cjs.entry.js.map +0 -1
  282. package/dist/cjs/ifx-spinner_2.cjs.entry.js +0 -103
  283. package/dist/cjs/ifx-spinner_2.cjs.entry.js.map +0 -1
  284. package/dist/cjs/ifx-templates-ui.cjs.entry.js +0 -61
  285. package/dist/cjs/ifx-templates-ui.cjs.entry.js.map +0 -1
  286. package/dist/cjs/index-155a65a3.js.map +0 -1
  287. package/dist/collection/components/templates/template/template.css +0 -76
  288. package/dist/collection/components/templates/template/template.js +0 -263
  289. package/dist/collection/components/templates/template/template.js.map +0 -1
  290. package/dist/collection/components/templates/templates-ui/templates-ui.css +0 -33
  291. package/dist/collection/components/templates/templates-ui/templates-ui.js +0 -75
  292. package/dist/collection/components/templates/templates-ui/templates-ui.js.map +0 -1
  293. package/dist/components/ifx-template.d.ts +0 -11
  294. package/dist/components/ifx-template.js +0 -8
  295. package/dist/components/ifx-template.js.map +0 -1
  296. package/dist/components/ifx-templates-ui.d.ts +0 -11
  297. package/dist/components/ifx-templates-ui.js +0 -123
  298. package/dist/components/ifx-templates-ui.js.map +0 -1
  299. package/dist/components/p-2e5420cd.js.map +0 -1
  300. package/dist/components/p-53704c65.js.map +0 -1
  301. package/dist/components/p-80d6c6e4.js +0 -211
  302. package/dist/components/p-80d6c6e4.js.map +0 -1
  303. package/dist/components/p-81263927.js.map +0 -1
  304. package/dist/components/p-e62107e4.js.map +0 -1
  305. package/dist/esm/ifx-alert_2.entry.js +0 -196
  306. package/dist/esm/ifx-alert_2.entry.js.map +0 -1
  307. package/dist/esm/ifx-multiselect.entry.js.map +0 -1
  308. package/dist/esm/ifx-spinner_2.entry.js +0 -98
  309. package/dist/esm/ifx-spinner_2.entry.js.map +0 -1
  310. package/dist/esm/ifx-templates-ui.entry.js +0 -57
  311. package/dist/esm/ifx-templates-ui.entry.js.map +0 -1
  312. package/dist/esm/index-d021b985.js.map +0 -1
  313. package/dist/infineon-design-system-stencil/p-1a9b19fa.entry.js +0 -2
  314. package/dist/infineon-design-system-stencil/p-1a9b19fa.entry.js.map +0 -1
  315. package/dist/infineon-design-system-stencil/p-21ab54a8.entry.js +0 -2
  316. package/dist/infineon-design-system-stencil/p-21ab54a8.entry.js.map +0 -1
  317. package/dist/infineon-design-system-stencil/p-27a85cb6.entry.js.map +0 -1
  318. package/dist/infineon-design-system-stencil/p-3419fe00.entry.js +0 -2
  319. package/dist/infineon-design-system-stencil/p-7aa4082c.js +0 -3
  320. package/dist/infineon-design-system-stencil/p-a76a2ec0.entry.js +0 -2
  321. package/dist/infineon-design-system-stencil/p-a76a2ec0.entry.js.map +0 -1
  322. package/dist/infineon-design-system-stencil/p-e3ce1662.entry.js +0 -2
  323. package/dist/infineon-design-system-stencil/p-e3ce1662.entry.js.map +0 -1
  324. package/dist/infineon-design-system-stencil/p-ff8f6ddc.entry.js +0 -2
  325. package/dist/types/components/templates/template/template.d.ts +0 -33
  326. package/dist/types/components/templates/templates-ui/templates-ui.d.ts +0 -10
  327. /package/dist/infineon-design-system-stencil/{p-716f6675.entry.js.map → p-02be14a9.entry.js.map} +0 -0
  328. /package/dist/infineon-design-system-stencil/{p-4082111f.entry.js.map → p-0b5ad497.entry.js.map} +0 -0
  329. /package/dist/infineon-design-system-stencil/{p-4126ee6a.entry.js.map → p-0c570fa2.entry.js.map} +0 -0
  330. /package/dist/infineon-design-system-stencil/{p-ca00d3c8.entry.js.map → p-1175d112.entry.js.map} +0 -0
  331. /package/dist/infineon-design-system-stencil/{p-d517ea6c.entry.js.map → p-16348b9d.entry.js.map} +0 -0
  332. /package/dist/infineon-design-system-stencil/{p-e76c8cce.entry.js.map → p-16f9a47c.entry.js.map} +0 -0
  333. /package/dist/infineon-design-system-stencil/{p-b1543f1d.entry.js.map → p-1b9317bd.entry.js.map} +0 -0
  334. /package/dist/infineon-design-system-stencil/{p-070a401c.entry.js.map → p-1d9e400c.entry.js.map} +0 -0
  335. /package/dist/infineon-design-system-stencil/{p-e2c6464a.entry.js.map → p-1f329979.entry.js.map} +0 -0
  336. /package/dist/infineon-design-system-stencil/{p-f037e2e1.entry.js.map → p-208b28b1.entry.js.map} +0 -0
  337. /package/dist/infineon-design-system-stencil/{p-3419fe00.entry.js.map → p-25bf54c9.entry.js.map} +0 -0
  338. /package/dist/infineon-design-system-stencil/{p-3a64f78a.entry.js.map → p-2ae0a0d0.entry.js.map} +0 -0
  339. /package/dist/infineon-design-system-stencil/{p-4626a7a5.entry.js.map → p-2d17e5b2.entry.js.map} +0 -0
  340. /package/dist/infineon-design-system-stencil/{p-7973be1c.entry.js.map → p-2e8c0115.entry.js.map} +0 -0
  341. /package/dist/infineon-design-system-stencil/{p-8bd1eb2e.entry.js.map → p-2fbad873.entry.js.map} +0 -0
  342. /package/dist/infineon-design-system-stencil/{p-3b597917.entry.js.map → p-30640970.entry.js.map} +0 -0
  343. /package/dist/infineon-design-system-stencil/{p-c9211767.entry.js.map → p-31889cb2.entry.js.map} +0 -0
  344. /package/dist/infineon-design-system-stencil/{p-5269c5f6.entry.js.map → p-31e9d4f8.entry.js.map} +0 -0
  345. /package/dist/infineon-design-system-stencil/{p-f98cae21.entry.js.map → p-336778c3.entry.js.map} +0 -0
  346. /package/dist/infineon-design-system-stencil/{p-005cee40.entry.js.map → p-37654645.entry.js.map} +0 -0
  347. /package/dist/infineon-design-system-stencil/{p-1e32dc46.entry.js.map → p-37ecac74.entry.js.map} +0 -0
  348. /package/dist/infineon-design-system-stencil/{p-23fc1ac6.entry.js.map → p-39697853.entry.js.map} +0 -0
  349. /package/dist/infineon-design-system-stencil/{p-8299d886.entry.js.map → p-3be58aa2.entry.js.map} +0 -0
  350. /package/dist/infineon-design-system-stencil/{p-22c3e2a6.entry.js.map → p-4111bbdc.entry.js.map} +0 -0
  351. /package/dist/infineon-design-system-stencil/{p-95c56362.entry.js.map → p-41b0849d.entry.js.map} +0 -0
  352. /package/dist/infineon-design-system-stencil/{p-9256384e.entry.js.map → p-4349aa3a.entry.js.map} +0 -0
  353. /package/dist/infineon-design-system-stencil/{p-1f0a54f5.entry.js.map → p-47476fcb.entry.js.map} +0 -0
  354. /package/dist/infineon-design-system-stencil/{p-ff8f6ddc.entry.js.map → p-492a9ab7.entry.js.map} +0 -0
  355. /package/dist/infineon-design-system-stencil/{p-4b7b93c4.entry.js.map → p-49872432.entry.js.map} +0 -0
  356. /package/dist/infineon-design-system-stencil/{p-a4205f38.entry.js.map → p-4af08129.entry.js.map} +0 -0
  357. /package/dist/infineon-design-system-stencil/{p-2deacdfc.entry.js.map → p-50e122c4.entry.js.map} +0 -0
  358. /package/dist/infineon-design-system-stencil/{p-67efe96d.entry.js.map → p-5992e272.entry.js.map} +0 -0
  359. /package/dist/infineon-design-system-stencil/{p-ec5fcb90.entry.js.map → p-5cc523fb.entry.js.map} +0 -0
  360. /package/dist/infineon-design-system-stencil/{p-3e313cf5.entry.js.map → p-5edfe317.entry.js.map} +0 -0
  361. /package/dist/infineon-design-system-stencil/{p-9e68df13.entry.js.map → p-666e0ea0.entry.js.map} +0 -0
  362. /package/dist/infineon-design-system-stencil/{p-9c641115.entry.js.map → p-6ad287cf.entry.js.map} +0 -0
  363. /package/dist/infineon-design-system-stencil/{p-d70843bb.entry.js.map → p-6e61295f.entry.js.map} +0 -0
  364. /package/dist/infineon-design-system-stencil/{p-23061813.entry.js.map → p-7378190d.entry.js.map} +0 -0
  365. /package/dist/infineon-design-system-stencil/{p-80d79ac2.entry.js.map → p-79b4d359.entry.js.map} +0 -0
  366. /package/dist/infineon-design-system-stencil/{p-a7b721e4.entry.js.map → p-8b089cd1.entry.js.map} +0 -0
  367. /package/dist/infineon-design-system-stencil/{p-d4432905.entry.js.map → p-8c9887e3.entry.js.map} +0 -0
  368. /package/dist/infineon-design-system-stencil/{p-6ff541a9.entry.js.map → p-951cf503.entry.js.map} +0 -0
  369. /package/dist/infineon-design-system-stencil/{p-b10e3175.entry.js.map → p-985c7bdc.entry.js.map} +0 -0
  370. /package/dist/infineon-design-system-stencil/{p-f2ba1590.entry.js.map → p-9c50bc3e.entry.js.map} +0 -0
  371. /package/dist/infineon-design-system-stencil/{p-577e735a.entry.js.map → p-a10f9b3c.entry.js.map} +0 -0
  372. /package/dist/infineon-design-system-stencil/{p-8ccea8df.entry.js.map → p-a29b6247.entry.js.map} +0 -0
  373. /package/dist/infineon-design-system-stencil/{p-55e8c571.entry.js.map → p-a3c03169.entry.js.map} +0 -0
  374. /package/dist/infineon-design-system-stencil/{p-83a3c6d9.entry.js.map → p-b30b66e5.entry.js.map} +0 -0
  375. /package/dist/infineon-design-system-stencil/{p-10f2f4d2.entry.js.map → p-b3fb648f.entry.js.map} +0 -0
  376. /package/dist/infineon-design-system-stencil/{p-8822c055.entry.js.map → p-b8f31dc3.entry.js.map} +0 -0
  377. /package/dist/infineon-design-system-stencil/{p-a825eb1f.entry.js.map → p-bc40ad21.entry.js.map} +0 -0
  378. /package/dist/infineon-design-system-stencil/{p-5a134c12.entry.js.map → p-c22f8c81.entry.js.map} +0 -0
  379. /package/dist/infineon-design-system-stencil/{p-15c2d91e.entry.js.map → p-c2e6cbdb.entry.js.map} +0 -0
  380. /package/dist/infineon-design-system-stencil/{p-21f9efe3.entry.js.map → p-c61a9185.entry.js.map} +0 -0
  381. /package/dist/infineon-design-system-stencil/{p-cc49128c.entry.js.map → p-c9aca4b7.entry.js.map} +0 -0
  382. /package/dist/infineon-design-system-stencil/{p-3f71f020.entry.js.map → p-cb0ddc9b.entry.js.map} +0 -0
  383. /package/dist/infineon-design-system-stencil/{p-6c3947ee.entry.js.map → p-cdad5d2c.entry.js.map} +0 -0
  384. /package/dist/infineon-design-system-stencil/{p-d0afd036.entry.js.map → p-ce9e5451.entry.js.map} +0 -0
  385. /package/dist/infineon-design-system-stencil/{p-0b2330b1.entry.js.map → p-d31a6167.entry.js.map} +0 -0
  386. /package/dist/infineon-design-system-stencil/{p-95c0da4c.entry.js.map → p-d323e4ed.entry.js.map} +0 -0
  387. /package/dist/infineon-design-system-stencil/{p-f93d0e29.entry.js.map → p-dba5e033.entry.js.map} +0 -0
  388. /package/dist/infineon-design-system-stencil/{p-8c0caf65.entry.js.map → p-e6427f2e.entry.js.map} +0 -0
  389. /package/dist/infineon-design-system-stencil/{p-da42f326.entry.js.map → p-e8cde48d.entry.js.map} +0 -0
  390. /package/dist/infineon-design-system-stencil/{p-2cde10eb.entry.js.map → p-ea74d7ab.entry.js.map} +0 -0
  391. /package/dist/infineon-design-system-stencil/{p-bbc7a00e.entry.js.map → p-ee68427e.entry.js.map} +0 -0
  392. /package/dist/infineon-design-system-stencil/{p-d7b5242d.entry.js.map → p-f121e197.entry.js.map} +0 -0
  393. /package/dist/infineon-design-system-stencil/{p-85b95a9b.entry.js.map → p-f3383274.entry.js.map} +0 -0
  394. /package/dist/infineon-design-system-stencil/{p-0c6417aa.entry.js.map → p-fcf71895.entry.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h } from './p-4c09147f.js';
2
2
  import { d as defineCustomElement$3 } from './p-a2411b44.js';
3
3
  import { d as defineCustomElement$2 } from './p-6a771687.js';
4
- import { d as defineCustomElement$1 } from './p-e62107e4.js';
4
+ import { d as defineCustomElement$1 } from './p-b9024e1a.js';
5
5
 
6
6
  const paginationCss = "@charset \"UTF-8\";:root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}:host{display:inline-flex}.container{display:inline-flex;justify-content:center;align-items:center;gap:32px;font-family:var(--ifx-font-family)}.container .items__per-page-wrapper{display:flex;align-items:center;gap:16px}.container .items__per-page-wrapper .items__per-page-label{color:#1D1D1D;font-size:14px;font-style:normal;font-weight:600;line-height:20px}.container .items__per-page-wrapper .items__per-page-field{display:flex;flex-direction:column;align-items:flex-start}.container .items__per-page-wrapper .items__per-page-field ifx-select{width:92px}.container .items__total-wrapper{display:flex;justify-content:center;align-items:center;gap:12px}.container .items__total-wrapper .items__total-button{display:flex;width:40px;height:40px;justify-content:center;align-items:center;border-radius:100px;border:1px solid #BFBBBB;background:#FFF}.container .items__total-wrapper .page__numbers-wrapper{display:flex;justify-content:center;align-items:center;gap:12px}.container .items__total-wrapper .page__numbers-wrapper .page__number-item{display:flex;padding:6px;flex-direction:column;justify-content:center;align-items:center;gap:10px;border-radius:100px}.container .items__total-wrapper .page__numbers-wrapper .page__number-item.active{background-color:#0A8276}.container .items__total-wrapper .page__numbers-wrapper .page__number-item.active span{color:#fff}.container .items__total-wrapper .page__numbers-wrapper .page__number-item:hover{cursor:pointer}.container .items__total-wrapper .page__numbers-wrapper .page__number-item:hover:not(.active){background-color:#ddd}.container .items__total-wrapper .page__numbers-wrapper .page__number-item:active:not(.active){background-color:#575352}.container .items__total-wrapper .page__numbers-wrapper .page__number-item span{display:flex;width:16px;height:16px;flex-direction:column;justify-content:center;color:#1D1D1D;text-align:center;font-size:13px;font-style:normal;font-weight:400;line-height:20px}.pagination{display:flex}.pagination ifx-icon-button:first-of-type{margin-right:12px}.pagination ifx-icon-button:last-of-type{margin-left:12px}a{padding:8px;border-radius:100px}ol{list-style-type:none;padding:0;margin:0;display:inline-flex;align-items:center;gap:12px}li{display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:100px}li:hover:not(.active) a{background-color:#EEEDED}li:active:not(.active) a{background-color:#575352;color:#fff}li.active{background-color:#0A8276}li.active a{color:#fff}li:hover{cursor:pointer}li a{text-decoration:none;display:flex;width:16px;height:16px;flex-direction:column;justify-content:center;color:#1D1D1D;text-align:center;font-size:13px;font-style:normal;font-weight:400;line-height:20px;align-items:center}.prev.disabled,.next.disabled{cursor:default}.prev.disabled:hover,.next.disabled:hover{cursor:default;text-decoration:none}.prev{margin-right:2.5px}.next{margin-left:2.5px}@media (min-width: 400px){li:first-child,li.active-sibling,li.active,li.active+li,li:last-child{display:inline-flex !important;flex-direction:row}li:first-child:nth-last-child(n+8)~li{display:none}li:first-child:nth-last-child(n+8)~li.active-sibling:before{content:\"…\";font-size:13px;display:inline-block;margin-right:6px}li:first-child:nth-last-child(n+8)~li.active+li:after{content:\"…\";font-size:13px;display:inline-block;margin-left:6px}li:first-child:nth-last-child(n+8)~li:nth-last-child(-n+5){display:inline-flex;flex-direction:row}li:first-child:nth-last-child(n+8)~li:nth-last-child(5):before{content:\"…\";font-size:13px;display:inline-block;margin-right:6px}li:first-child:nth-last-child(n+8)~li:nth-child(-n+2):before,li:first-child:nth-last-child(n+8)~li:nth-child(-n+2):after,li:first-child:nth-last-child(n+8)~li:nth-last-child(-n+2):before,li:first-child:nth-last-child(n+8)~li:nth-last-child(-n+2):after,li:first-child:nth-last-child(n+8)~li.active-sibling:nth-last-child(-n+4):before,li:first-child:nth-last-child(n+8)~li.active-sibling:nth-last-child(-n+4):after{display:none !important}li:first-child:nth-last-child(n+8).active~li:nth-last-child(-n+5),li:first-child:nth-last-child(n+8)~li.active~li:nth-last-child(-n+5){display:none}li:first-child:nth-last-child(n+8).active~li:nth-last-child(-n+5):before,li:first-child:nth-last-child(n+8)~li.active~li:nth-last-child(-n+5):before{display:none}li:first-child:nth-last-child(n+8).active~li:nth-child(-n+5),li:first-child:nth-last-child(n+8)~li.active~li:nth-child(-n+5){display:inline-flex !important;flex-direction:row}li:first-child:nth-last-child(n+8).active~li:nth-child(-n+4):after,li:first-child:nth-last-child(n+8)~li.active~li:nth-child(-n+4):after{display:none}li:first-child:nth-last-child(n+8).active~li:nth-child(5):after,li:first-child:nth-last-child(n+8)~li.active~li:nth-child(5):after{content:\"…\";font-size:13px;display:inline-block;margin-left:6px}li:first-child:nth-last-child(n+8).active:before,li:first-child:nth-last-child(n+8).active:after,li:first-child:nth-last-child(n+8)~li.active:before,li:first-child:nth-last-child(n+8)~li.active:after{display:none}}";
7
7
  const IfxPaginationStyle0 = paginationCss;
@@ -25,7 +25,12 @@ const Pagination = /*@__PURE__*/ proxyCustomElement(class Pagination extends H {
25
25
  this.total = 1;
26
26
  }
27
27
  setItemsPerPage(e) {
28
- this.itemsPerPage = parseInt(e.detail.label);
28
+ if (e.detail) {
29
+ this.itemsPerPage = parseInt(e.detail.label);
30
+ }
31
+ else {
32
+ this.itemsPerPage = 10;
33
+ }
29
34
  }
30
35
  componentDidLoad() {
31
36
  this.calculateVisiblePageIndices();
@@ -145,7 +150,7 @@ const Pagination = /*@__PURE__*/ proxyCustomElement(class Pagination extends H {
145
150
  this.initPagination(paginationElement);
146
151
  }
147
152
  render() {
148
- return (h("div", { key: '81ad7ccfd09a8910f5d2518dcd91b99cc14f41d1', "aria-label": 'a pagination', "aria-value": this.currentPage, class: "container" }, h("div", { key: 'b7a7bf4568fc3abd9b490752b629b592c6117e36', class: 'items__per-page-wrapper' }, h("div", { key: 'ee3705aa50d5f280441a1103180332aed19f6b34', class: 'items__per-page-label' }, "Results per Page"), h("div", { key: '4209e3ea87f521c521058abce05b84d142ff48a5', class: 'items__per-page-field' }, h("ifx-select", { key: '3e08099f17c94e8da0af423b76efccc42d67ee3d', value: 'undefined', size: 's', placeholder: 'false', "show-search": 'false', "search-placeholder-value": 'Search...', disabled: false, error: false, "error-message": 'Error', label: '', "placeholder-value": 'Placeholder', options: '[{"value":"ten","label":"10","selected":true}, {"value":"Twenty","label":"20","selected":false}, {"value":"Thirty","label":"30","selected":false}]' }))), h("div", { key: '6263309862456698c883c6657ca4a75de829a6fb', class: 'items__total-wrapper' }, h("div", { key: 'ae8646f4047bb64b18742cc6eed7333950ae3411', class: 'page__numbers-wrapper' }, h("div", { key: '9e79df9d12fed9c83e2cece8fde43804bb629295', class: "pagination" }, h("ifx-icon-button", { key: 'dcca426cb38bdfc7a659298f07b01ecbb0dfd0b4', variant: 'secondary', class: "prev", color: 'primary', icon: 'arrow-left-24' }), h("ol", { key: '4cfaa5390921cc509101ef693acec9b6a830ce73' }, this.numberOfPages.map((item) => h("li", { class: `${this.internalPage === item ? 'active' : ""}` }, h("a", { href: undefined }, item)))), h("ifx-icon-button", { key: '25a9a800f8d5bc4bf8c2bc90a2ddb985cd474699', class: "next", variant: 'secondary', color: 'primary', icon: 'arrow-right-24' }))))));
153
+ return (h("div", { key: 'fa57bfbd14b7ccfb8dbd5ef450c7db53a98bce50', "aria-label": 'a pagination', "aria-value": this.currentPage, class: "container" }, h("div", { key: 'f4eff578aa7189bbb52c0ac161faadd6a9ca2774', class: 'items__per-page-wrapper' }, h("div", { key: 'c199973fbd9d3518d21634fda3bc695bda392a24', class: 'items__per-page-label' }, "Results per Page"), h("div", { key: '3f8318383647cf41d67b5b1a0fd9c387dffe0e50', class: 'items__per-page-field' }, h("ifx-select", { key: '1cc33baebbb0d8930c8314ee5f39dbc393984d53', value: 'undefined', size: 's', placeholder: 'false', "show-search": 'false', "search-placeholder-value": 'Search...', disabled: false, error: false, "error-message": 'Error', label: '', "placeholder-value": 'Placeholder', options: '[{"value":"ten","label":"10","selected":true}, {"value":"Twenty","label":"20","selected":false}, {"value":"Thirty","label":"30","selected":false}]' }))), h("div", { key: '992b8b3219a3017fafc44d7d66be2d5997758945', class: 'items__total-wrapper' }, h("div", { key: 'ec4061b565a4dcd5fbe20fa655315328305bee4e', class: 'page__numbers-wrapper' }, h("div", { key: '67dfe394137b0edb704afe8367ed87697bbb52ee', class: "pagination" }, h("ifx-icon-button", { key: 'd6207f9becee00b57bda596fc7117bf4f757c10f', variant: 'secondary', class: "prev", color: 'primary', icon: 'arrow-left-24' }), h("ol", { key: 'c5a7300ffb926ab41a77a0e673cde2b85c8e196c' }, this.numberOfPages.map((item) => h("li", { class: `${this.internalPage === item ? 'active' : ""}` }, h("a", { href: undefined }, item)))), h("ifx-icon-button", { key: 'f2f96994c6cbd1b7c401eb9d81228d4b5dc7cfde', class: "next", variant: 'secondary', color: 'primary', icon: 'arrow-right-24' }))))));
149
154
  }
150
155
  get el() { return this; }
151
156
  static get style() { return IfxPaginationStyle0; }
@@ -187,4 +192,4 @@ function defineCustomElement() {
187
192
 
188
193
  export { Pagination as P, defineCustomElement as d };
189
194
 
190
- //# sourceMappingURL=p-2e5420cd.js.map
195
+ //# sourceMappingURL=p-81357e99.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-81357e99.js","mappings":";;;;;AAAA,MAAM,aAAa,GAAG,yjKAAyjK,CAAC;AAChlK,4BAAe,aAAa;;MCOf,UAAU;;;;;;;;QAWb,mBAAc,GAAG,UAAU,CAAA;QAC3B,iBAAY,GAAG,QAAQ,CAAA;QACvB,yBAAoB,GAAG,gBAAgB,CAAA;QACvC,aAAQ,GAAG,YAAY,CAAC;2BATF,CAAC;4BACC,CAAC;4BACD,EAAE;6BACC,EAAE;qBACb,CAAC;;IAQzB,eAAe,CAAC,CAAC;QACf,IAAG,CAAC,CAAC,MAAM,EAAE;YACX,IAAI,CAAC,YAAY,GAAG,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;SAC7C;aAAM;YACL,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;SACxB;KACF;IAED,gBAAgB;QACd,IAAI,CAAC,2BAA2B,EAAE,CAAA;QAClC,IAAI,iBAAiB,GAAG,IAAI,CAAC,EAAE,CAAC,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AW,IAC5E,4DAAK,KAAK,EAAC,yBAAyB,IAClC,4DAAK,KAAK,EAAC,uBAAuB,uBAAuB,EACzD,4DAAK,KAAK,EAAC,uBAAuB,IAChC,mEACE,KAAK,EAAC,WAAW,EACjB,IAAI,EAAC,GAAG,EACR,WAAW,EAAC,OAAO,iBACP,OAAO,8BACM,WAAW,EACpC,QAAQ,EAAE,KAAK,EACf,KAAK,EAAE,KAAK,mBACE,OAAO,EACrB,KAAK,EAAC,EAAE,uBACU,aAAa,EAC/B,OAAO,EAAC,oJAAoJ,GACjJ,CACT,CACF,EACN,4DAAK,KAAK,EAAC,sBAAsB,IAC/B,4DAAK,KAAK,EAAC,uBAAuB,IAChC,4DAAK,KAAK,EAAC,YAAY,IACrB,wEAAiB,OAAO,EAAC,WAAW,EAAC,KAAK,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,EAAC,IAAI,EAAC,eAAe,GAAmB,EACzG,6DACG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,IAAI,KAC3B,UAAI,KAAK,EAAE,GAAG,IAAI,CAAC,YAAY,KAAK,IAAI,GAAG,QAAQ,GAAG,EAAE,EAAE,IAAE,SAAG,IAAI,EAAE,SAAS,IAAG,IAAI,CAAK,CAAK,CAAC,CAC/F,EACL,wEAAiB,KAAK,EAAC,MAAM,EAAC,OAAO,EAAC,WAAW,EAAC,KAAK,EAAC,SAAS,EAAC,IAAI,EAAC,gBAAgB,GAAmB,CACtG,CACF,CACF,CACF,EACN;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/pagination/pagination.scss?tag=ifx-pagination&encapsulation=shadow","src/components/pagination/pagination.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: inline-flex;\n}\n\n.container {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n gap: 32px;\n font-family: var(--ifx-font-family);\n\n\n & .items__per-page-wrapper {\n display: flex;\n align-items: center;\n gap: 16px;\n\n & .items__per-page-label {\n color: #1D1D1D;\n font-size: 14px;\n font-style: normal;\n font-weight: 600;\n line-height: 20px;\n }\n\n & .items__per-page-field {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n\n & ifx-select {\n width: 92px;\n }\n }\n }\n\n & .items__total-wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 12px;\n\n & .items__total-button {\n display: flex;\n width: 40px;\n height: 40px;\n justify-content: center;\n align-items: center;\n border-radius: 100px;\n border: 1px solid #BFBBBB;\n background: #FFF;\n }\n\n & .page__numbers-wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 12px;\n\n & .page__number-item {\n display: flex;\n padding: 6px;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 10px;\n border-radius: 100px;\n\n &.active {\n background-color: #0A8276;\n\n & span {\n color: #fff;\n }\n }\n\n &:hover {\n cursor: pointer;\n }\n\n &:hover:not(.active) {\n background-color: #ddd;\n\n }\n\n &:active:not(.active) {\n background-color: #575352;\n }\n\n & span {\n display: flex;\n width: 16px;\n height: 16px;\n flex-direction: column;\n justify-content: center;\n color: #1D1D1D;\n text-align: center;\n font-size: 13px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n }\n }\n }\n }\n}\n\n\n.pagination {\n display: flex;\n\n & ifx-icon-button:first-of-type {\n margin-right: 12px;\n }\n\n & ifx-icon-button:last-of-type {\n margin-left: 12px;\n }\n}\n\na {\n padding: 8px;\n border-radius: 100px;\n}\n\nol {\n list-style-type: none;\n padding: 0;\n margin: 0;\n display: inline-flex;\n align-items: center;\n gap: 12px;\n}\n\nli {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n border-radius: 100px;\n\n &:hover:not(.active) {\n & a {\n background-color: #EEEDED;\n }\n }\n\n &:active:not(.active) {\n & a {\n background-color: #575352;\n color: #fff;\n }\n }\n\n &.active {\n background-color: #0A8276;\n\n & a {\n color: #fff;\n }\n }\n\n &:hover {\n cursor: pointer;\n }\n\n & a {\n text-decoration: none;\n display: flex;\n width: 16px;\n height: 16px;\n flex-direction: column;\n justify-content: center;\n color: #1D1D1D;\n text-align: center;\n font-size: 13px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n align-items: center;\n }\n}\n\n.prev,\n.next {\n &.disabled {\n cursor: default;\n\n &:hover {\n cursor: default;\n text-decoration: none;\n }\n }\n}\n\n.prev {\n margin-right: 2.5px;\n}\n\n.next {\n margin-left: 2.5px;\n}\n\n\n@mixin ellipsis($before: true) {\n content: \"\\2026\";\n font-size: 13px;\n display: inline-block;\n\n @if($before) {\n margin-right: 6px;\n }\n\n @else {\n margin-left: 6px;\n }\n}\n\n\n// @media(max-width:460px) {\n// li {\n\n// &:first-child,\n// &.active,\n// &.active-sibling:nth-last-child(2), // Show second to last child if the last one is active\n// &:last-child {\n// //display: inline-block !important;\n// display: inline-flex !important;\n// flex-direction: row;\n// }\n\n// $how-many-on-ends: 3; // 1,2,3,...,10 || 1,...,8,9,10\n// // There are >= 5 pages\n// &:first-child:nth-last-child(n+6) {\n\n// &~li {\n// // Start out with all siblings hidden\n// display: none;\n\n// // Show the last children in the list by default\n// &:nth-last-child(-n+#{$how-many-on-ends}) {\n// //display: inline-block;\n// display: inline-flex;\n// flex-direction: row;\n\n// }\n\n// // The child at the beginning of the last group shows ellipsis for the group\n// &:nth-last-child(#{$how-many-on-ends}) {\n// &:before {\n// @include ellipsis(true);\n// }\n// }\n\n// // The very beginning elements do not need to show ellipsis\n// // The very end elements do not need to show ellipsis\n// }\n\n\n// &.active,\n// &~li.active {\n\n// // Show ellipsis before and after the active element\n// &:before {\n// @include ellipsis(true);\n// }\n// &:after {\n// @include ellipsis(false);\n// }\n\n\n// // If the active element is in the first or last group, don't show ellipsis (siblings will take care of it)\n// &:nth-child(-n+#{$how-many-on-ends - 1}),\n// &:nth-last-child(-n+#{$how-many-on-ends - 1}) {\n// &:before, &:after {\n// display: none;\n// }\n// }\n\n// // Hide the last group if \"active\" comes before them\n// &~li:nth-last-child(-n+#{$how-many-on-ends}) {\n// display: none;\n// }\n\n// // Show the first group together if \"active\" comes before them\n// &~li:nth-child(-n+#{$how-many-on-ends}) {\n// //display: inline-block;\n// display: inline-flex;\n// flex-direction: row;\n// }\n\n// // If \"active\" is before the last member in the group, don't show ellipsis\n// &~li:nth-child(-n+#{$how-many-on-ends - 1}) {\n// &:after {\n// display: none;\n// }\n// }\n\n\n// // The child at the end of the first group shows ellipsis for the group\n// &~li:nth-child(#{$how-many-on-ends}) {\n// &:after {\n// @include ellipsis(false);\n// }\n// }\n// }\n// }\n// }\n// }\n\n@media (min-width: 400px) {\n li {\n\n &:first-child,\n &.active-sibling,\n &.active,\n &.active+li,\n &:last-child {\n //display: inline-block!important;\n display: inline-flex !important;\n flex-direction: row;\n }\n\n // There are >= 7 pages\n &:first-child:nth-last-child(n+8) {\n $how-many-on-ends: 5; // 1,2,3,4,5,...,10 || 1,...6,7,8,9,10\n\n &~li {\n // Start out with all siblings hidden\n display: none;\n\n // Show ellipsis before the previous one\n &.active-sibling:before {\n @include ellipsis(true);\n }\n\n // Show ellipsis after the next one\n &.active+li:after {\n @include ellipsis(false);\n }\n\n // Show the last children in the list by default\n &:nth-last-child(-n+#{$how-many-on-ends}) {\n //display: inline-block;\n display: inline-flex;\n flex-direction: row;\n }\n\n // The child at the beginning of the last group shows ellipsis for the group\n &:nth-last-child(#{$how-many-on-ends}) {\n &:before {\n @include ellipsis(true);\n }\n }\n\n // The very beginning elements do not need to show ellipsis\n &:nth-child(-n+#{$how-many-on-ends - 3}),\n // The very end elements do not need to show ellipsis\n &:nth-last-child(-n+#{$how-many-on-ends - 3}),\n // Even if it's a sibling to \"active\"\n &.active-sibling:nth-last-child(-n+#{$how-many-on-ends - 1}) {\n\n &:before,\n &:after {\n display: none !important;\n }\n }\n }\n\n &.active,\n &~li.active {\n\n // Hide the last group if \"active\" comes before them\n &~li:nth-last-child(-n+#{$how-many-on-ends}) {\n display: none;\n\n // If there is overlap, the element will show, but hide it's ellipsis\n &:before {\n display: none;\n }\n }\n\n // Show the first group together if \"active\" comes before them\n &~li:nth-child(-n+#{$how-many-on-ends}) {\n //display: inline-block;\n display: inline-flex !important;\n flex-direction: row;\n }\n\n // If \"active\" is before the last member in the group, don't show ellipsis\n &~li:nth-child(-n+#{$how-many-on-ends - 1}) {\n &:after {\n display: none;\n }\n }\n\n\n // The child at the end of the first group shows ellipsis for the group\n &~li:nth-child(#{$how-many-on-ends}) {\n &:after {\n @include ellipsis(false);\n }\n }\n\n // \"active\" should never show ellipsis\n &:before,\n &:after {\n display: none;\n }\n }\n }\n }\n}","import { Component, h, Element, Event, EventEmitter, Prop, State, Listen } from '@stencil/core';\n \n\n@Component({\n tag: 'ifx-pagination',\n styleUrl: 'pagination.scss',\n shadow: true\n})\nexport class Pagination {\n @Element() el;\n @Event() ifxPageChange: EventEmitter;\n @Event() ifxNextPage: EventEmitter;\n @Event() ifxPrevPage: EventEmitter;\n @Prop() currentPage: number = 0;\n @State() internalPage: number = 1;\n @State() itemsPerPage: number = 10;\n @State() numberOfPages: number[] = [];\n @Prop() total: number = 1;\n\n private CLASS_DISABLED = \"disabled\"\n private CLASS_ACTIVE = \"active\"\n private CLASS_SIBLING_ACTIVE = \"active-sibling\"\n private DATA_KEY = \"pagination\";\n\n @Listen('ifxSelect')\n setItemsPerPage(e) {\n if(e.detail) {\n this.itemsPerPage = parseInt(e.detail.label)\n } else { \n this.itemsPerPage = 10;\n }\n }\n\n componentDidLoad() {\n this.calculateVisiblePageIndices()\n var paginationElement = this.el.shadowRoot.querySelector(\".pagination\");\n let leftArrow = paginationElement.querySelector('.prev')\n this.navigateSinglePage(leftArrow, true)\n\n }\n\n calculateNumberOfPages() {\n if (isNaN(this.currentPage)) {\n this.currentPage = 1;\n }\n const total = this.total <= this.itemsPerPage ? this.itemsPerPage : this.total;\n const itemsPerPage = this.itemsPerPage;\n const totalPageNumber = Math.ceil(total / itemsPerPage);\n\n if (this.currentPage <= 0) {\n this.internalPage = 1;\n } else if (this.currentPage > totalPageNumber) {\n this.internalPage = totalPageNumber;\n } else this.internalPage = this.currentPage;\n\n this.numberOfPages = Array.from({ length: totalPageNumber }, (_, index) => index + 1);\n }\n\n componentWillLoad() {\n this.calculateNumberOfPages()\n }\n\n componentDidUpdate() {\n var paginationElement = this.el.shadowRoot.querySelector(\".pagination\");\n var listItems = paginationElement.querySelectorAll(\"li\");\n this.addEventListenersToPageItems(listItems, paginationElement)\n\n if (paginationElement.dataset[this.DATA_KEY] < this.numberOfPages) {\n paginationElement.dataset[this.DATA_KEY] = paginationElement.dataset[this.DATA_KEY];\n } else paginationElement.dataset[this.DATA_KEY] = 0;\n\n this.changePage(paginationElement, false)\n }\n\n componentWillUpdate() {\n this.calculateNumberOfPages()\n }\n\n handleEventEmission(currActive) {\n let currentPage = currActive + 1;\n let totalPages = this.numberOfPages.length;\n let prevPage = currActive === 0 ? null : currActive;\n let nextPage = currActive + 2 > totalPages ? null : currActive + 2;\n let itemsPerPage = this.itemsPerPage\n this.ifxPageChange.emit({ currentPage, totalPages, prevPage, nextPage, itemsPerPage })\n }\n\n addEventListenersToPageItems(listItems, paginationContainer) {\n listItems.forEach((item) => {\n item.addEventListener(\"click\", (e) => {\n var parent = paginationContainer;\n let listItems = parent.querySelectorAll(\"li\");\n parent.dataset[this.DATA_KEY] = Array.from(listItems).indexOf(e.currentTarget)\n this.changePage(parent, false)\n });\n });\n }\n\n initPagination(paginationContainer) {\n var listItems = paginationContainer.querySelectorAll(\"li\");\n\n paginationContainer.dataset[this.DATA_KEY] = Array.from(listItems).indexOf(paginationContainer.querySelector(\".active\"));\n\n paginationContainer.querySelector(\".prev\").addEventListener(\"click\", (e) => this.navigateSinglePage(e, false));\n paginationContainer.querySelector(\".next\").addEventListener(\"click\", (e) => this.navigateSinglePage(e, false));\n\n this.addEventListenersToPageItems(listItems, paginationContainer)\n }\n\n navigateSinglePage(e, initialValue) {\n let el = e;\n if (typeof e.target === 'object') {\n el = e.target\n }\n\n if (!el.classList.contains(this.CLASS_DISABLED)) {\n var parent = el.closest(\".pagination\");\n var currActive = parseInt(parent.dataset[this.DATA_KEY], 10);\n currActive += 1 * (el.classList.contains(\"prev\") ? -1 : 1);\n\n if (currActive === -1) {\n currActive = 0;\n }\n\n parent.dataset[this.DATA_KEY] = currActive;\n this.changePage(parent, initialValue)\n }\n }\n\n changePage(pagination, initialValue) {\n const paginationContainer = pagination;\n var listItems = paginationContainer.querySelectorAll(\"li\");\n var currActive = parseInt(paginationContainer.dataset[this.DATA_KEY], 10);\n\n listItems.forEach((item) => {\n item.classList.remove(this.CLASS_ACTIVE);\n item.classList.remove(this.CLASS_SIBLING_ACTIVE);\n });\n\n if (initialValue && this.internalPage > 1) {\n currActive = Math.floor(this.internalPage - 1);\n paginationContainer.dataset[this.DATA_KEY] = currActive;\n }\n\n this.handleEventEmission(currActive)\n\n listItems[currActive].classList.add(this.CLASS_ACTIVE);\n\n if (currActive === 0) {\n paginationContainer.querySelector(\".prev\").classList.add(this.CLASS_DISABLED);\n paginationContainer.querySelector(\".prev\").disabled = true;\n\n } else {\n listItems[currActive - 1].classList.add(this.CLASS_SIBLING_ACTIVE);\n paginationContainer.querySelector(\".prev\").classList.remove(this.CLASS_DISABLED);\n paginationContainer.querySelector(\".prev\").disabled = false;\n }\n\n if (currActive === (listItems.length - 1)) {\n paginationContainer.querySelector(\".next\").classList.add(this.CLASS_DISABLED);\n paginationContainer.querySelector(\".next\").disabled = true;\n\n } else {\n paginationContainer.querySelector(\".next\").classList.remove(this.CLASS_DISABLED);\n paginationContainer.querySelector(\".next\").disabled = false;\n }\n }\n\n calculateVisiblePageIndices() {\n var paginationElement = this.el.shadowRoot.querySelector(\".pagination\");\n this.initPagination(paginationElement)\n }\n\n render() {\n return (\n <div aria-label='a pagination' aria-value={this.currentPage} class=\"container\">\n <div class='items__per-page-wrapper'>\n <div class='items__per-page-label'>Results per Page</div>\n <div class='items__per-page-field'>\n <ifx-select\n value='undefined'\n size='s'\n placeholder='false'\n show-search='false'\n search-placeholder-value='Search...'\n disabled={false}\n error={false}\n error-message='Error'\n label=''\n placeholder-value='Placeholder'\n options='[{\"value\":\"ten\",\"label\":\"10\",\"selected\":true}, {\"value\":\"Twenty\",\"label\":\"20\",\"selected\":false}, {\"value\":\"Thirty\",\"label\":\"30\",\"selected\":false}]' >\n </ifx-select>\n </div>\n </div>\n <div class='items__total-wrapper'>\n <div class='page__numbers-wrapper'>\n <div class=\"pagination\">\n <ifx-icon-button variant='secondary' class=\"prev\" color='primary' icon='arrow-left-24'></ifx-icon-button>\n <ol>\n {this.numberOfPages.map((item) =>\n <li class={`${this.internalPage === item ? 'active' : \"\"}`}><a href={undefined}>{item}</a></li>)}\n </ol>\n <ifx-icon-button class=\"next\" variant='secondary' color='primary' icon='arrow-right-24'></ifx-icon-button>\n </div>\n </div>\n </div>\n </div>\n );\n }\n}"],"version":3}
@@ -6831,7 +6831,7 @@ function isJSONParseable(str) {
6831
6831
  }
6832
6832
  }
6833
6833
 
6834
- const selectCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}.ifx-select-container{box-sizing:border-box;font-family:var(--ifx-font-family);}.ifx-select-container.small-select{height:36px}.ifx-select-container.medium-select{height:40px}.ifx-select-container:hover{cursor:pointer}.ifx-select-container .ifx-label-wrapper{font-size:1rem;line-height:1.5rem;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere;max-width:100%;overflow:hidden}.ifx-select-container .ifx-error-message-wrapper{color:#CD002F;font-size:0.75rem;line-height:1rem;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere;max-width:100%;overflow:hidden}.ifx-select-container .ifx-choices__wrapper{background-color:#FFFFFF;box-sizing:border-box;position:relative;display:flex;align-items:center;border:1px solid #8D8786;border-radius:1px;font-weight:400;font-style:normal}.ifx-select-container .ifx-choices__wrapper.small-select{height:36px;line-height:20px;padding:8px 12px;font-size:0.875rem;line-height:1.25rem}.ifx-select-container .ifx-choices__wrapper.medium-select{height:40px;line-height:24px;padding:8px 16px;font-size:1rem;line-height:1.5rem}.ifx-select-container .ifx-choices__wrapper.disabled{background:#EEEDED;color:#575352;border-color:#575352;cursor:default;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ifx-select-container .ifx-choices__wrapper.disabled .ifx-choices__icon-wrapper-down:hover{cursor:default}.ifx-select-container .ifx-choices__wrapper.error{border-color:#CD002F}.ifx-select-container .ifx-choices__wrapper:hover:not(.focus,:focus){border-color:#575352}.ifx-select-container .ifx-choices__wrapper.active{border-color:#0A8276 !important}.ifx-select-container .ifx-choices__wrapper.active .ifx-choices__icon-wrapper-up{display:flex;align-items:center;justify-content:center;padding-left:8px}.ifx-select-container .ifx-choices__wrapper.active .ifx-choices__icon-wrapper-down{display:none}.ifx-select-container .ifx-choices__wrapper:focus-visible:not(.active):not(:active){outline:none}.ifx-select-container .ifx-choices__wrapper:focus-visible:not(.active):not(:active)::before{content:\"\";position:absolute;width:calc(100% + 4px);height:calc(100% + 4px);top:50%;left:50%;transform:translate(-50%, -50%);border:2px solid #0A8276;border-radius:2px}.ifx-select-container .ifx-choices__wrapper:focus:not(.active,:active):not(.disabled)::before{content:\"\";position:absolute;width:calc(100% + 4px);height:calc(100% + 4px);top:50%;left:50%;transform:translate(-50%, -50%)}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-up{display:none}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-up:hover{cursor:pointer}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-down{display:flex;align-items:center;justify-content:center;padding-left:8px}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-down:hover{cursor:pointer}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-delete{display:flex;align-items:center;justify-content:center}.ifx-select-container .choices{width:100%}.ifx-select-container .choices:focus{outline:none}.choices .ifx-select-container.is-focused{outline:none}.ifx-select-container .choices:last-child{margin-bottom:0}.ifx-select-container .choices.is-disabled .choices__inner,.ifx-select-container .choices.is-disabled .choices__input{cursor:default;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ifx-select-container .choices.is-disabled .choices__item{cursor:default;color:#575352}.ifx-select-container .choices [hidden]{display:none !important}.ifx-select-container .choices[data-type*=select-one]{cursor:pointer}.ifx-select-container .choices[data-type*=select-one] .choices__input{display:block;width:100%;padding:8px 16px;border-bottom:1px solid #8D8786;background-color:#ffffff;margin:0;font-style:normal;font-weight:400}.ifx-select-container .choices[data-type*=select-one] .choices__input.small-select{font-size:0.875rem;line-height:1.25rem}.ifx-select-container .choices[data-type*=select-one] .choices__input.medium-select{font-size:1rem;line-height:1.5rem}.ifx-select-container .choices[data-type*=select-one] .choices__single-button{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);padding:0;background-size:8px;position:absolute;top:50%;right:0;margin-top:-10px;margin-right:25px;height:20px;width:20px;border-radius:10em;opacity:0.5}.ifx-select-container .choices[data-type*=select-one] .choices__single-button:hover,.ifx-select-container .choices[data-type*=select-one] .choices__single-button:focus{opacity:1}.ifx-select-container .choices[data-type*=select-one] .choices__single-button:focus{box-shadow:0px 0px 0px 2px #0A8276}.ifx-select-container .choices[data-type*=select-one] .choices__item[data-value=\"\"] .choices__single-button{display:none}.ifx-select-container .choices[data-type*=select-one].is-open:after{margin-top:-7.5px}.ifx-select-container .choices[data-type*=select-one][dir=rtl]:after{left:11.5px;right:auto}.ifx-select-container .choices[data-type*=select-one][dir=rtl] .choices__single-button{right:auto;left:0;margin-left:25px;margin-right:0}.ifx-select-container .choices[data-type*=select-multiple]{cursor:pointer}.ifx-select-container .choices[data-type*=select-multiple] .choices__input{display:block;width:100%;margin:0}.ifx-select-container .choices[data-type*=select-multiple] .choices__inner,.ifx-select-container .choices[data-type*=text] .choices__inner{cursor:text}.ifx-select-container .choices[data-type*=select-multiple] .choices__button,.ifx-select-container .choices[data-type*=text] .choices__button{position:relative;display:inline-block;margin-top:0;margin-right:-4px;margin-bottom:0;margin-left:8px;padding-left:16px;border-left:1px solid #0A8276;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);background-size:8px;width:8px;line-height:1;opacity:0.75;border-radius:0}.ifx-select-container .choices[data-type*=select-multiple] .choices__button:hover,.ifx-select-container .choices[data-type*=select-multiple] .choices__button:focus,.ifx-select-container .choices[data-type*=text] .choices__button:hover,.ifx-select-container .choices[data-type*=text] .choices__button:focus{opacity:1}.ifx-select-container .choices__inner{overflow:hidden}.ifx-select-container .is-focused .choices__inner,.ifx-select-container .is-open .choices__inner{border-color:#b7b7b7}.ifx-select-container .is-open .choices__inner{border-radius:2.5px 2.5px 0 0}.ifx-select-container .is-flipped.is-open .choices__inner{border-radius:0 0 2.5px 2.5px}.ifx-select-container .choices__list{margin:0;padding-left:0;list-style:none}.ifx-select-container .choices__list--single .choices__item{width:100%;display:flex;justify-content:space-between}.ifx-select-container .disabled>.choices__list--single .choices__item[data-value=\"\"]{color:#8D8786;}.ifx-select-container .choices__list--multiple .choices__item{display:inline-block;vertical-align:middle;border-radius:20px;padding:4px 10px;font-size:0.75rem;line-height:1rem;font-weight:500;margin-right:3.75px;margin-bottom:3.75px;background-color:#0A8276;border:1px solid #0A8276;color:#FFFFFF;word-break:break-all;box-sizing:border-box}.ifx-select-container .choices__list--multiple .choices__item[data-deletable]{padding-right:5px}.ifx-select-container [dir=rtl] .choices__list--multiple .choices__item{margin-right:0;margin-left:3.75px}.ifx-select-container .choices__list--multiple .choices__item.is-highlighted{background-color:#EEEDED;border:1px solid #0A8276}.ifx-select-container .choices__list--dropdown{visibility:hidden;box-sizing:border-box;position:absolute;width:100%;background-color:#fff;top:100%;margin-top:-1px;overflow:hidden;word-break:break-all;will-change:visibility;box-shadow:0px 0px 16px rgba(29, 29, 29, 0.12);border-radius:1px;margin-top:8px;z-index:1000;left:0}.ifx-select-container .choices__list--dropdown.is-active{visibility:visible}.ifx-select-container .is-open .choices__list--dropdown{border-color:#b7b7b7}.ifx-select-container .is-flipped .choices__list--dropdown{top:auto;bottom:100%;margin-top:0;margin-bottom:-1px;border-radius:0.25rem 0.25rem 0 0}.ifx-select-container .choices__list--dropdown .choices__list{position:relative;max-height:300px;overflow:auto;-webkit-overflow-scrolling:touch;will-change:scroll-position}.ifx-select-container .choices__list--dropdown .choices__item{position:relative;padding:8px 16px;gap:8px;align-items:center;display:flex;justify-content:space-between;font-style:normal;font-weight:400}.ifx-select-container .choices__list--dropdown .choices__item.small-select{font-size:0.875rem;line-height:1.25rem}.ifx-select-container .choices__list--dropdown .choices__item.medium-select{font-size:1rem;line-height:1.5rem}.ifx-select-container .choices__list--dropdown .choices__item.selected{color:#0A8276}.ifx-select-container [dir=rtl] .choices__list--dropdown .choices__item{text-align:right}@media (min-width: 640px){.ifx-select-container .choices__list--dropdown .choices__item--selectable:after{font-size:0.75rem;line-height:1rem;opacity:0;position:absolute;right:10px;top:50%;transform:translateY(-50%)}.ifx-select-container [dir=rtl] .choices__list--dropdown .choices__item--selectable{text-align:right;padding-left:100px;padding-right:10px}.ifx-select-container [dir=rtl] .choices__list--dropdown .choices__item--selectable:after{right:auto;left:10px}}.ifx-select-container .choices__list--dropdown .choices__item--selectable.is-highlighted{background-color:#EEEDED}.ifx-select-container .choices__list--dropdown .choices__item--selectable.is-highlighted.selected{color:#0A8276}.ifx-select-container .choices__list--dropdown .choices__item--selectable:hover{background-color:#EEEDED}.ifx-select-container .choices__list--dropdown .choices__item--selectable:hover.selected{color:#0A8276}.ifx-select-container .choices__list--dropdown .choices__item--selectable.is-highlighted:after{opacity:0.5}.ifx-select-container .choices__item{cursor:default}.ifx-select-container .choices__item--selectable{cursor:pointer}.ifx-select-container .choices__item--disabled{cursor:default;-webkit-user-select:none;-ms-user-select:none;user-select:none;opacity:0.5}.ifx-select-container .choices__heading{font-weight:600;font-size:0.75rem;line-height:1rem;padding:10px;border-bottom:1px solid #f7f7f7;color:#1D1D1D}.ifx-select-container .choices__button{text-indent:-9999px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;cursor:pointer}.ifx-select-container .choices__button:focus{outline:none}.ifx-select-container .choices__single-button{text-indent:-9999px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;cursor:pointer;visibility:hidden}.ifx-select-container .choices__single-button:focus{outline:none}.ifx-select-container .choices__input{display:inline-block;vertical-align:baseline;background-color:#f9f9f9;font-size:0.875rem;line-height:1.25rem;margin-bottom:5px;border:0;border-radius:0;max-width:100%}.ifx-select-container .choices__input--cloned{background-color:transparent}.ifx-select-container .choices__input::-ms-clear{display:none;width:0;height:0}.ifx-select-container .choices__input::-ms-reveal{display:none;width:0;height:0}.ifx-select-container .choices__input::-webkit-search-decoration,.ifx-select-container .choices__input::-webkit-search-cancel-button,.ifx-select-container .choices__input::-webkit-search-results-button,.ifx-select-container .choices__input::-webkit-search-results-decoration{display:none}.ifx-select-container .choices__input:focus{outline:0}.ifx-select-container [dir=rtl] .choices__input{padding-right:2px;padding-left:0}.ifx-select-container .choices__placeholder{opacity:0.5}";
6834
+ const selectCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}.ifx-select-container{box-sizing:border-box;font-family:var(--ifx-font-family);}.ifx-select-container.small-select{height:36px}.ifx-select-container.medium-select{height:40px}.ifx-select-container:hover{cursor:pointer}.ifx-select-container .ifx-label-wrapper{font-size:1rem;line-height:1.5rem;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere;max-width:100%;overflow:hidden}.ifx-select-container .ifx-error-message-wrapper{color:#CD002F;font-size:0.75rem;line-height:1rem;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere;max-width:100%;overflow:hidden}.ifx-select-container .ifx-choices__wrapper{background-color:#FFFFFF;box-sizing:border-box;position:relative;display:flex;align-items:center;border:1px solid #8D8786;border-radius:1px;font-weight:400;font-style:normal}.ifx-select-container .ifx-choices__wrapper.small-select{height:36px;line-height:20px;padding:8px 12px;font-size:0.875rem;line-height:1.25rem}.ifx-select-container .ifx-choices__wrapper.medium-select{height:40px;line-height:24px;padding:8px 16px;font-size:1rem;line-height:1.5rem}.ifx-select-container .ifx-choices__wrapper.disabled{background:#EEEDED;color:#575352;border-color:#575352;cursor:default;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ifx-select-container .ifx-choices__wrapper.disabled .ifx-choices__icon-wrapper-down:hover{cursor:default}.ifx-select-container .ifx-choices__wrapper.error{border-color:#CD002F}.ifx-select-container .ifx-choices__wrapper:hover:not(.focus,:focus){border-color:#575352}.ifx-select-container .ifx-choices__wrapper.active{border-color:#0A8276 !important}.ifx-select-container .ifx-choices__wrapper.active .ifx-choices__icon-wrapper-up{display:flex;align-items:center;justify-content:center;padding-left:8px}.ifx-select-container .ifx-choices__wrapper.active .ifx-choices__icon-wrapper-down{display:none}.ifx-select-container .ifx-choices__wrapper:focus-visible:not(.active):not(:active){outline:none}.ifx-select-container .ifx-choices__wrapper:focus-visible:not(.active):not(:active)::before{content:\"\";position:absolute;width:calc(100% + 4px);height:calc(100% + 4px);top:50%;left:50%;transform:translate(-50%, -50%);border:2px solid #0A8276;border-radius:2px}.ifx-select-container .ifx-choices__wrapper:focus:not(.active,:active):not(.disabled)::before{content:\"\";position:absolute;width:calc(100% + 4px);height:calc(100% + 4px);top:50%;left:50%;transform:translate(-50%, -50%)}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-up{display:none}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-up:hover{cursor:pointer}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-down{display:flex;align-items:center;justify-content:center;padding-left:8px}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-down:hover{cursor:pointer}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-delete{display:flex;align-items:center;justify-content:center}.ifx-select-container .ifx-choices__wrapper .ifx-choices__icon-wrapper-delete.hide{display:none}.ifx-select-container .choices{width:100%}.ifx-select-container .choices:focus{outline:none}.choices .ifx-select-container.is-focused{outline:none}.ifx-select-container .choices:last-child{margin-bottom:0}.ifx-select-container .choices.is-disabled .choices__inner,.ifx-select-container .choices.is-disabled .choices__input{cursor:default;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ifx-select-container .choices.is-disabled .choices__item{cursor:default;color:#575352}.ifx-select-container .choices [hidden]{display:none !important}.ifx-select-container .choices[data-type*=select-one]{cursor:pointer}.ifx-select-container .choices[data-type*=select-one] .choices__input{display:block;width:100%;padding:8px 16px;border-bottom:1px solid #8D8786;background-color:#ffffff;margin:0;font-style:normal;font-weight:400}.ifx-select-container .choices[data-type*=select-one] .choices__input.small-select{font-size:0.875rem;line-height:1.25rem}.ifx-select-container .choices[data-type*=select-one] .choices__input.medium-select{font-size:1rem;line-height:1.5rem}.ifx-select-container .choices[data-type*=select-one] .choices__single-button{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);padding:0;background-size:8px;position:absolute;top:50%;right:0;margin-top:-10px;margin-right:25px;height:20px;width:20px;border-radius:10em;opacity:0.5}.ifx-select-container .choices[data-type*=select-one] .choices__single-button:hover,.ifx-select-container .choices[data-type*=select-one] .choices__single-button:focus{opacity:1}.ifx-select-container .choices[data-type*=select-one] .choices__single-button:focus{box-shadow:0px 0px 0px 2px #0A8276}.ifx-select-container .choices[data-type*=select-one] .choices__item[data-value=\"\"] .choices__single-button{display:none}.ifx-select-container .choices[data-type*=select-one].is-open:after{margin-top:-7.5px}.ifx-select-container .choices[data-type*=select-one][dir=rtl]:after{left:11.5px;right:auto}.ifx-select-container .choices[data-type*=select-one][dir=rtl] .choices__single-button{right:auto;left:0;margin-left:25px;margin-right:0}.ifx-select-container .choices[data-type*=select-multiple]{cursor:pointer}.ifx-select-container .choices[data-type*=select-multiple] .choices__input{display:block;width:100%;margin:0}.ifx-select-container .choices[data-type*=select-multiple] .choices__inner,.ifx-select-container .choices[data-type*=text] .choices__inner{cursor:text}.ifx-select-container .choices[data-type*=select-multiple] .choices__button,.ifx-select-container .choices[data-type*=text] .choices__button{position:relative;display:inline-block;margin-top:0;margin-right:-4px;margin-bottom:0;margin-left:8px;padding-left:16px;border-left:1px solid #0A8276;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);background-size:8px;width:8px;line-height:1;opacity:0.75;border-radius:0}.ifx-select-container .choices[data-type*=select-multiple] .choices__button:hover,.ifx-select-container .choices[data-type*=select-multiple] .choices__button:focus,.ifx-select-container .choices[data-type*=text] .choices__button:hover,.ifx-select-container .choices[data-type*=text] .choices__button:focus{opacity:1}.ifx-select-container .choices__inner{overflow:hidden}.ifx-select-container .is-focused .choices__inner,.ifx-select-container .is-open .choices__inner{border-color:#b7b7b7}.ifx-select-container .is-open .choices__inner{border-radius:2.5px 2.5px 0 0}.ifx-select-container .is-flipped.is-open .choices__inner{border-radius:0 0 2.5px 2.5px}.ifx-select-container .choices__list{margin:0;padding-left:0;list-style:none}.ifx-select-container .choices__list--single .choices__item{width:100%;display:flex;justify-content:space-between}.ifx-select-container .disabled>.choices__list--single .choices__item[data-value=\"\"]{color:#8D8786;}.ifx-select-container .choices__list--multiple .choices__item{display:inline-block;vertical-align:middle;border-radius:20px;padding:4px 10px;font-size:0.75rem;line-height:1rem;font-weight:500;margin-right:3.75px;margin-bottom:3.75px;background-color:#0A8276;border:1px solid #0A8276;color:#FFFFFF;word-break:break-all;box-sizing:border-box}.ifx-select-container .choices__list--multiple .choices__item[data-deletable]{padding-right:5px}.ifx-select-container [dir=rtl] .choices__list--multiple .choices__item{margin-right:0;margin-left:3.75px}.ifx-select-container .choices__list--multiple .choices__item.is-highlighted{background-color:#EEEDED;border:1px solid #0A8276}.ifx-select-container .choices__list--dropdown{visibility:hidden;box-sizing:border-box;position:absolute;width:100%;background-color:#fff;top:100%;margin-top:-1px;overflow:hidden;word-break:break-all;will-change:visibility;box-shadow:0px 0px 16px rgba(29, 29, 29, 0.12);border-radius:1px;margin-top:8px;z-index:1000;left:0}.ifx-select-container .choices__list--dropdown.is-active{visibility:visible}.ifx-select-container .is-open .choices__list--dropdown{border-color:#b7b7b7}.ifx-select-container .is-flipped .choices__list--dropdown{top:auto;bottom:100%;margin-top:0;margin-bottom:-1px;border-radius:0.25rem 0.25rem 0 0}.ifx-select-container .choices__list--dropdown .choices__list{position:relative;max-height:300px;overflow:auto;-webkit-overflow-scrolling:touch;will-change:scroll-position}.ifx-select-container .choices__list--dropdown .choices__item{position:relative;padding:8px 16px;gap:8px;align-items:center;display:flex;justify-content:space-between;font-style:normal;font-weight:400}.ifx-select-container .choices__list--dropdown .choices__item.small-select{font-size:0.875rem;line-height:1.25rem}.ifx-select-container .choices__list--dropdown .choices__item.medium-select{font-size:1rem;line-height:1.5rem}.ifx-select-container .choices__list--dropdown .choices__item.selected{color:#0A8276}.ifx-select-container [dir=rtl] .choices__list--dropdown .choices__item{text-align:right}@media (min-width: 640px){.ifx-select-container .choices__list--dropdown .choices__item--selectable:after{font-size:0.75rem;line-height:1rem;opacity:0;position:absolute;right:10px;top:50%;transform:translateY(-50%)}.ifx-select-container [dir=rtl] .choices__list--dropdown .choices__item--selectable{text-align:right;padding-left:100px;padding-right:10px}.ifx-select-container [dir=rtl] .choices__list--dropdown .choices__item--selectable:after{right:auto;left:10px}}.ifx-select-container .choices__list--dropdown .choices__item--selectable.is-highlighted{background-color:#EEEDED}.ifx-select-container .choices__list--dropdown .choices__item--selectable.is-highlighted.selected{color:#0A8276}.ifx-select-container .choices__list--dropdown .choices__item--selectable:hover{background-color:#EEEDED}.ifx-select-container .choices__list--dropdown .choices__item--selectable:hover.selected{color:#0A8276}.ifx-select-container .choices__list--dropdown .choices__item--selectable.is-highlighted:after{opacity:0.5}.ifx-select-container .choices__item{cursor:default}.ifx-select-container .choices__item--selectable{cursor:pointer}.ifx-select-container .choices__item--disabled{cursor:default;-webkit-user-select:none;-ms-user-select:none;user-select:none;opacity:0.5}.ifx-select-container .choices__heading{font-weight:600;font-size:0.75rem;line-height:1rem;padding:10px;border-bottom:1px solid #f7f7f7;color:#1D1D1D}.ifx-select-container .choices__button{text-indent:-9999px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;cursor:pointer}.ifx-select-container .choices__button:focus{outline:none}.ifx-select-container .choices__single-button{text-indent:-9999px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;cursor:pointer;visibility:hidden}.ifx-select-container .choices__single-button:focus{outline:none}.ifx-select-container .choices__input{display:inline-block;vertical-align:baseline;background-color:#f9f9f9;font-size:0.875rem;line-height:1.25rem;margin-bottom:5px;border:0;border-radius:0;max-width:100%}.ifx-select-container .choices__input--cloned{background-color:transparent}.ifx-select-container .choices__input::-ms-clear{display:none;width:0;height:0}.ifx-select-container .choices__input::-ms-reveal{display:none;width:0;height:0}.ifx-select-container .choices__input::-webkit-search-decoration,.ifx-select-container .choices__input::-webkit-search-cancel-button,.ifx-select-container .choices__input::-webkit-search-results-button,.ifx-select-container .choices__input::-webkit-search-results-decoration{display:none}.ifx-select-container .choices__input:focus{outline:0}.ifx-select-container [dir=rtl] .choices__input{padding-right:2px;padding-left:0}.ifx-select-container .choices__placeholder{opacity:0.5}";
6835
6835
  const IfxSelectStyle0 = selectCss;
6836
6836
 
6837
6837
  const Choices = /*@__PURE__*/ proxyCustomElement(class Choices extends H {
@@ -6890,6 +6890,7 @@ const Choices = /*@__PURE__*/ proxyCustomElement(class Choices extends H {
6890
6890
  this.options = undefined;
6891
6891
  this.size = 'medium (40px)';
6892
6892
  this.selectedOption = null;
6893
+ this.optionIsSelected = false;
6893
6894
  }
6894
6895
  watchDisabled(newValue) {
6895
6896
  if (newValue) {
@@ -6905,6 +6906,7 @@ const Choices = /*@__PURE__*/ proxyCustomElement(class Choices extends H {
6905
6906
  this.setPreSelected(null);
6906
6907
  this.closeDropdown();
6907
6908
  this.ifxSelect.emit(null);
6909
+ this.optionIsSelected = false;
6908
6910
  }
6909
6911
  async handleChange() {
6910
6912
  this.ifxSelect.emit(this.choice.getValue());
@@ -7001,15 +7003,68 @@ const Choices = /*@__PURE__*/ proxyCustomElement(class Choices extends H {
7001
7003
  this.choice.ajax(fn);
7002
7004
  return this;
7003
7005
  }
7006
+ async handleDeleteIcon() {
7007
+ const width = this.root.offsetWidth;
7008
+ const deleteIconWrapper = this.root.querySelector('.ifx-choices__icon-wrapper-delete');
7009
+ if (deleteIconWrapper) {
7010
+ if (width <= 180) {
7011
+ deleteIconWrapper.classList.add('hide');
7012
+ }
7013
+ else {
7014
+ deleteIconWrapper.classList.remove('hide');
7015
+ }
7016
+ }
7017
+ }
7018
+ handleCloseButton() {
7019
+ if (typeof this.options === 'string') {
7020
+ const optionsToArray = JSON.parse(this.options);
7021
+ const optionIsSelected = optionsToArray.find(option => option.selected === true);
7022
+ if (optionIsSelected) {
7023
+ this.optionIsSelected = true;
7024
+ }
7025
+ else {
7026
+ this.optionIsSelected = false;
7027
+ }
7028
+ }
7029
+ else if (this.options && Array.isArray(this.options)) {
7030
+ const optionIsSelected = this.options.find(option => option.selected === true);
7031
+ if (optionIsSelected) {
7032
+ this.optionIsSelected = true;
7033
+ }
7034
+ else {
7035
+ this.optionIsSelected = false;
7036
+ }
7037
+ }
7038
+ }
7039
+ componentWillLoad() {
7040
+ this.handleCloseButton();
7041
+ }
7042
+ componentWillUpdate() {
7043
+ this.handleCloseButton();
7044
+ }
7045
+ addResizeObserver() {
7046
+ this.resizeObserver = new ResizeObserver(() => {
7047
+ this.handleDeleteIcon();
7048
+ });
7049
+ const componentWrapper = this.root.querySelector('.ifx-choices__wrapper');
7050
+ this.resizeObserver.observe(componentWrapper);
7051
+ }
7004
7052
  componentDidLoad() {
7005
7053
  this.init();
7006
7054
  this.addEventListenersToHandleCustomFocusAndActiveState();
7055
+ this.handleDeleteIcon();
7056
+ this.addResizeObserver();
7007
7057
  }
7008
7058
  componentDidUpdate() {
7009
7059
  this.init();
7060
+ this.handleDeleteIcon();
7010
7061
  }
7011
7062
  disconnectedCallback() {
7012
7063
  this.destroy();
7064
+ if (this.resizeObserver) {
7065
+ this.resizeObserver.disconnect();
7066
+ this.resizeObserver = null;
7067
+ }
7013
7068
  }
7014
7069
  render() {
7015
7070
  const attributes = {
@@ -7021,9 +7076,9 @@ const Choices = /*@__PURE__*/ proxyCustomElement(class Choices extends H {
7021
7076
  // destroy choices element to restore previous dom structure
7022
7077
  // so vdom can replace the element correctly
7023
7078
  this.destroy();
7024
- return (h("div", { key: 'cc4aa1451568eb991d3f4e13347edc845c6574eb', class: `ifx-select-container` }, this.label ? (h("div", { class: "ifx-label-wrapper" }, h("span", null, this.label))) : null, h("div", { key: '346daae5f26f925c92bc9c05f8fdcc82d527f150', class: `${choicesWrapperClass}
7079
+ return (h("div", { key: 'c41ec36261a1133b438648bc6a564107267c5b1a', class: `ifx-select-container` }, this.label ? (h("div", { class: "ifx-label-wrapper" }, h("span", null, this.label))) : null, h("div", { key: 'dae048e7ad4c6a40bf5c900fb5c2c2e01ea58a4e', class: `${choicesWrapperClass}
7025
7080
  ${this.disabled ? 'disabled' : ''}
7026
- ${this.error ? 'error' : ''}`, onClick: this.disabled ? undefined : () => this.toggleDropdown(), onKeyDown: event => this.handleKeyDown(event) }, h("select", Object.assign({ key: '9114088806559c215d4068abdb14aeea7a177bd7', disabled: this.disabled }, attributes, { "data-trigger": true, onChange: () => this.handleChange() }), this.createSelectOptions(this.options)), this.selectedOption && (h("div", { key: 'ee1e90f64f0857d98e304a4601328f27ee16d0f5', class: "ifx-choices__icon-wrapper-delete" }, h("ifx-icon", { key: '5383046def462a937e130b628ee24522b6991214', icon: "cremove16", onClick: () => this.handleDeleteSelection() }))), h("div", { key: '02a6a155d64a74b1a75dcdd81998d32877a34d9f', class: "ifx-choices__icon-wrapper-up" }, h("ifx-icon", { key: "icon-up", icon: "chevronup-16" })), h("div", { key: 'ffa5b188cfdf00b87b41a098b3ae7e71a3a9a83e', class: "ifx-choices__icon-wrapper-down" }, h("ifx-icon", { key: "icon-down", icon: "chevron-down-16" }))), this.error ? (h("div", { class: "ifx-error-message-wrapper" }, h("span", null, this.errorMessage))) : null));
7081
+ ${this.error ? 'error' : ''}`, onClick: this.disabled ? undefined : () => this.toggleDropdown(), onKeyDown: event => this.handleKeyDown(event) }, h("select", Object.assign({ key: 'c2ae87cc9b9a9401b9a414acaf9cabd02a8c1a3a', disabled: this.disabled }, attributes, { "data-trigger": true, onChange: () => this.handleChange() }), this.createSelectOptions(this.options)), this.optionIsSelected && (h("div", { key: '19ef95cd95e990f2d8707428e5b5138db7a97a93', class: "ifx-choices__icon-wrapper-delete" }, h("ifx-icon", { key: '4457e333e2c96f26a48eb32978f8146be973c94d', icon: "cremove16", onClick: () => this.handleDeleteSelection() }))), h("div", { key: '0c30abd8c4446d05e05b1d4aa33c264b0b810a6f', class: "ifx-choices__icon-wrapper-up" }, h("ifx-icon", { key: "icon-up", icon: "chevronup-16" })), h("div", { key: '16472c10d36e48a4545d91d5a3431bb8bedeefb7', class: "ifx-choices__icon-wrapper-down" }, h("ifx-icon", { key: "icon-down", icon: "chevron-down-16" }))), this.error ? (h("div", { class: "ifx-error-message-wrapper" }, h("span", null, this.errorMessage))) : null));
7027
7082
  }
7028
7083
  toggleDropdown() {
7029
7084
  const div = this.root.querySelector('.ifx-choices__wrapper');
@@ -7304,6 +7359,7 @@ const Choices = /*@__PURE__*/ proxyCustomElement(class Choices extends H {
7304
7359
  "options": [1025],
7305
7360
  "size": [1],
7306
7361
  "selectedOption": [32],
7362
+ "optionIsSelected": [32],
7307
7363
  "handleChange": [64],
7308
7364
  "highlightItem": [64],
7309
7365
  "unhighlightItem": [64],
@@ -7321,7 +7377,8 @@ const Choices = /*@__PURE__*/ proxyCustomElement(class Choices extends H {
7321
7377
  "clearChoices": [64],
7322
7378
  "clearStore": [64],
7323
7379
  "clearInput": [64],
7324
- "ajax": [64]
7380
+ "ajax": [64],
7381
+ "handleDeleteIcon": [64]
7325
7382
  }, [[5, "mousedown", "handleOutsideClick"]], {
7326
7383
  "disabled": ["watchDisabled"]
7327
7384
  }]);
@@ -7346,4 +7403,4 @@ function defineCustomElement() {
7346
7403
 
7347
7404
  export { Choices as C, defineCustomElement as d };
7348
7405
 
7349
- //# sourceMappingURL=p-e62107e4.js.map
7406
+ //# sourceMappingURL=p-b9024e1a.js.map