@infineon/infineon-design-system-stencil 29.0.0 → 29.0.1--canary.1496.e3cf8609ecd461f6b0d341141e450b68c8d5072f.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 (374) hide show
  1. package/dist/cjs/ifx-accordion_2.cjs.entry.js +1 -1
  2. package/dist/cjs/ifx-alert_2.cjs.entry.js +201 -0
  3. package/dist/cjs/ifx-alert_2.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 +1 -1
  18. package/dist/cjs/ifx-content-switcher-item.cjs.entry.js +1 -1
  19. package/dist/cjs/ifx-content-switcher.cjs.entry.js +1 -1
  20. package/dist/cjs/ifx-date-picker.cjs.entry.js +1 -1
  21. package/dist/cjs/ifx-dropdown-header.cjs.entry.js +1 -1
  22. package/dist/cjs/ifx-dropdown-item.cjs.entry.js +1 -1
  23. package/dist/cjs/ifx-dropdown-menu.cjs.entry.js +1 -1
  24. package/dist/cjs/ifx-dropdown-separator.cjs.entry.js +1 -1
  25. package/dist/cjs/ifx-dropdown-trigger-button.cjs.entry.js +1 -1
  26. package/dist/cjs/ifx-dropdown-trigger.cjs.entry.js +1 -1
  27. package/dist/cjs/ifx-dropdown.cjs.entry.js +1 -1
  28. package/dist/cjs/ifx-faq.cjs.entry.js +2 -2
  29. package/dist/cjs/ifx-filter-accordion.cjs.entry.js +1 -1
  30. package/dist/cjs/ifx-filter-bar.cjs.entry.js +1 -1
  31. package/dist/cjs/ifx-filter-search.cjs.entry.js +1 -1
  32. package/dist/cjs/ifx-filter-type-group.cjs.entry.js +1 -1
  33. package/dist/cjs/ifx-footer-column.cjs.entry.js +1 -1
  34. package/dist/cjs/ifx-footer.cjs.entry.js +1 -1
  35. package/dist/cjs/ifx-icon-button.cjs.entry.js +1 -1
  36. package/dist/cjs/ifx-icon.cjs.entry.js +1 -1
  37. package/dist/cjs/ifx-icons-preview.cjs.entry.js +1 -1
  38. package/dist/cjs/ifx-link.cjs.entry.js +1 -1
  39. package/dist/cjs/ifx-list-entry.cjs.entry.js +1 -1
  40. package/dist/cjs/ifx-list-group.cjs.entry.js +1 -1
  41. package/dist/cjs/ifx-list-item.cjs.entry.js +1 -1
  42. package/dist/cjs/ifx-list-notification.cjs.entry.js +1 -1
  43. package/dist/cjs/ifx-list.cjs.entry.js +1 -1
  44. package/dist/cjs/ifx-modal.cjs.entry.js +1 -1
  45. package/dist/cjs/{ifx-multiselect_2.cjs.entry.js → ifx-multiselect.cjs.entry.js} +2 -70
  46. package/dist/cjs/ifx-multiselect.cjs.entry.js.map +1 -0
  47. package/dist/cjs/ifx-navbar-item.cjs.entry.js +1 -1
  48. package/dist/cjs/ifx-navbar-profile.cjs.entry.js +1 -1
  49. package/dist/cjs/ifx-navbar.cjs.entry.js +1 -1
  50. package/dist/cjs/ifx-notification.cjs.entry.js +1 -1
  51. package/dist/cjs/ifx-number-indicator.cjs.entry.js +1 -1
  52. package/dist/cjs/ifx-overview-table.cjs.entry.js +1 -1
  53. package/dist/cjs/ifx-progress-bar.cjs.entry.js +1 -1
  54. package/dist/cjs/ifx-radio-button.cjs.entry.js +1 -1
  55. package/dist/cjs/ifx-search-bar.cjs.entry.js +1 -1
  56. package/dist/cjs/ifx-search-field.cjs.entry.js +1 -1
  57. package/dist/cjs/ifx-segment.cjs.entry.js +1 -1
  58. package/dist/cjs/ifx-segmented-control.cjs.entry.js +1 -1
  59. package/dist/cjs/ifx-select.cjs.entry.js +1 -1
  60. package/dist/cjs/ifx-set-filter.cjs.entry.js +1 -1
  61. package/dist/cjs/ifx-sidebar-item.cjs.entry.js +1 -1
  62. package/dist/cjs/ifx-sidebar-title.cjs.entry.js +1 -1
  63. package/dist/cjs/ifx-sidebar.cjs.entry.js +1 -1
  64. package/dist/cjs/ifx-slider.cjs.entry.js +1 -1
  65. package/dist/cjs/ifx-spinner_2.cjs.entry.js +103 -0
  66. package/dist/cjs/ifx-spinner_2.cjs.entry.js.map +1 -0
  67. package/dist/cjs/ifx-status.cjs.entry.js +1 -1
  68. package/dist/cjs/ifx-step.cjs.entry.js +1 -1
  69. package/dist/cjs/ifx-stepper.cjs.entry.js +1 -1
  70. package/dist/cjs/ifx-switch.cjs.entry.js +1 -1
  71. package/dist/cjs/ifx-tab.cjs.entry.js +1 -1
  72. package/dist/cjs/ifx-table.cjs.entry.js +1 -1
  73. package/dist/cjs/ifx-tabs.cjs.entry.js +1 -1
  74. package/dist/cjs/ifx-tag.cjs.entry.js +1 -1
  75. package/dist/cjs/ifx-templates-ui.cjs.entry.js +61 -0
  76. package/dist/cjs/ifx-templates-ui.cjs.entry.js.map +1 -0
  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-f6c58643.js → index-155a65a3.js} +30 -19
  80. package/dist/cjs/index-155a65a3.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 +2 -0
  84. package/dist/collection/components/templates/template/template.css +69 -0
  85. package/dist/collection/components/templates/template/template.js +263 -0
  86. package/dist/collection/components/templates/template/template.js.map +1 -0
  87. package/dist/collection/components/templates/templates-ui/templates-ui.css +33 -0
  88. package/dist/collection/components/templates/templates-ui/templates-ui.js +75 -0
  89. package/dist/collection/components/templates/templates-ui/templates-ui.js.map +1 -0
  90. package/dist/collection/components/text-field/text-field.js +4 -4
  91. package/dist/collection/components/textarea/textarea.js +2 -2
  92. package/dist/collection/components/tooltip/tooltip.js +4 -4
  93. package/dist/collection/index.js.map +1 -1
  94. package/dist/collection/stories/setup-and-installation/faq/faq.js +1 -1
  95. package/dist/components/ifx-alert.js +1 -68
  96. package/dist/components/ifx-alert.js.map +1 -1
  97. package/dist/components/ifx-faq.js +1 -1
  98. package/dist/components/ifx-set-filter.js +1 -1
  99. package/dist/components/ifx-spinner.js +1 -46
  100. package/dist/components/ifx-spinner.js.map +1 -1
  101. package/dist/components/ifx-template.d.ts +11 -0
  102. package/dist/components/ifx-template.js +8 -0
  103. package/dist/components/ifx-template.js.map +1 -0
  104. package/dist/components/ifx-templates-ui.d.ts +11 -0
  105. package/dist/components/ifx-templates-ui.js +123 -0
  106. package/dist/components/ifx-templates-ui.js.map +1 -0
  107. package/dist/components/ifx-text-field.js +1 -1
  108. package/dist/components/ifx-textarea.js +2 -2
  109. package/dist/components/ifx-tooltip.js +4 -4
  110. package/dist/components/p-005f19d0.js +211 -0
  111. package/dist/components/p-005f19d0.js.map +1 -0
  112. package/dist/components/{p-975b1a84.js → p-2e2d4631.js} +5 -5
  113. package/dist/components/{p-975b1a84.js.map → p-2e2d4631.js.map} +1 -1
  114. package/dist/{esm/ifx-alert.entry.js → components/p-81263927.js} +35 -8
  115. package/dist/components/p-81263927.js.map +1 -0
  116. package/dist/{esm/ifx-spinner.entry.js → components/p-c2f1f943.js} +28 -9
  117. package/dist/components/p-c2f1f943.js.map +1 -0
  118. package/dist/esm/ifx-accordion_2.entry.js +1 -1
  119. package/dist/esm/ifx-alert_2.entry.js +196 -0
  120. package/dist/esm/ifx-alert_2.entry.js.map +1 -0
  121. package/dist/esm/ifx-badge.entry.js +1 -1
  122. package/dist/esm/ifx-basic-table.entry.js +1 -1
  123. package/dist/esm/ifx-breadcrumb-item-label.entry.js +1 -1
  124. package/dist/esm/ifx-breadcrumb-item.entry.js +1 -1
  125. package/dist/esm/ifx-breadcrumb.entry.js +1 -1
  126. package/dist/esm/ifx-button.entry.js +1 -1
  127. package/dist/esm/ifx-card-headline.entry.js +1 -1
  128. package/dist/esm/ifx-card-image.entry.js +1 -1
  129. package/dist/esm/ifx-card-links.entry.js +1 -1
  130. package/dist/esm/ifx-card-overline.entry.js +1 -1
  131. package/dist/esm/ifx-card-text.entry.js +1 -1
  132. package/dist/esm/ifx-card.entry.js +1 -1
  133. package/dist/esm/ifx-checkbox.entry.js +1 -1
  134. package/dist/esm/ifx-chip_3.entry.js +1 -1
  135. package/dist/esm/ifx-content-switcher-item.entry.js +1 -1
  136. package/dist/esm/ifx-content-switcher.entry.js +1 -1
  137. package/dist/esm/ifx-date-picker.entry.js +1 -1
  138. package/dist/esm/ifx-dropdown-header.entry.js +1 -1
  139. package/dist/esm/ifx-dropdown-item.entry.js +1 -1
  140. package/dist/esm/ifx-dropdown-menu.entry.js +1 -1
  141. package/dist/esm/ifx-dropdown-separator.entry.js +1 -1
  142. package/dist/esm/ifx-dropdown-trigger-button.entry.js +1 -1
  143. package/dist/esm/ifx-dropdown-trigger.entry.js +1 -1
  144. package/dist/esm/ifx-dropdown.entry.js +1 -1
  145. package/dist/esm/ifx-faq.entry.js +2 -2
  146. package/dist/esm/ifx-filter-accordion.entry.js +1 -1
  147. package/dist/esm/ifx-filter-bar.entry.js +1 -1
  148. package/dist/esm/ifx-filter-search.entry.js +1 -1
  149. package/dist/esm/ifx-filter-type-group.entry.js +1 -1
  150. package/dist/esm/ifx-footer-column.entry.js +1 -1
  151. package/dist/esm/ifx-footer.entry.js +1 -1
  152. package/dist/esm/ifx-icon-button.entry.js +1 -1
  153. package/dist/esm/ifx-icon.entry.js +1 -1
  154. package/dist/esm/ifx-icons-preview.entry.js +1 -1
  155. package/dist/esm/ifx-link.entry.js +1 -1
  156. package/dist/esm/ifx-list-entry.entry.js +1 -1
  157. package/dist/esm/ifx-list-group.entry.js +1 -1
  158. package/dist/esm/ifx-list-item.entry.js +1 -1
  159. package/dist/esm/ifx-list-notification.entry.js +1 -1
  160. package/dist/esm/ifx-list.entry.js +1 -1
  161. package/dist/esm/ifx-modal.entry.js +1 -1
  162. package/dist/esm/{ifx-multiselect_2.entry.js → ifx-multiselect.entry.js} +3 -70
  163. package/dist/esm/ifx-multiselect.entry.js.map +1 -0
  164. package/dist/esm/ifx-navbar-item.entry.js +1 -1
  165. package/dist/esm/ifx-navbar-profile.entry.js +1 -1
  166. package/dist/esm/ifx-navbar.entry.js +1 -1
  167. package/dist/esm/ifx-notification.entry.js +1 -1
  168. package/dist/esm/ifx-number-indicator.entry.js +1 -1
  169. package/dist/esm/ifx-overview-table.entry.js +1 -1
  170. package/dist/esm/ifx-progress-bar.entry.js +1 -1
  171. package/dist/esm/ifx-radio-button.entry.js +1 -1
  172. package/dist/esm/ifx-search-bar.entry.js +1 -1
  173. package/dist/esm/ifx-search-field.entry.js +1 -1
  174. package/dist/esm/ifx-segment.entry.js +1 -1
  175. package/dist/esm/ifx-segmented-control.entry.js +1 -1
  176. package/dist/esm/ifx-select.entry.js +1 -1
  177. package/dist/esm/ifx-set-filter.entry.js +1 -1
  178. package/dist/esm/ifx-sidebar-item.entry.js +1 -1
  179. package/dist/esm/ifx-sidebar-title.entry.js +1 -1
  180. package/dist/esm/ifx-sidebar.entry.js +1 -1
  181. package/dist/esm/ifx-slider.entry.js +1 -1
  182. package/dist/esm/ifx-spinner_2.entry.js +98 -0
  183. package/dist/esm/ifx-spinner_2.entry.js.map +1 -0
  184. package/dist/esm/ifx-status.entry.js +1 -1
  185. package/dist/esm/ifx-step.entry.js +1 -1
  186. package/dist/esm/ifx-stepper.entry.js +1 -1
  187. package/dist/esm/ifx-switch.entry.js +1 -1
  188. package/dist/esm/ifx-tab.entry.js +1 -1
  189. package/dist/esm/ifx-table.entry.js +1 -1
  190. package/dist/esm/ifx-tabs.entry.js +1 -1
  191. package/dist/esm/ifx-tag.entry.js +1 -1
  192. package/dist/esm/ifx-templates-ui.entry.js +57 -0
  193. package/dist/esm/ifx-templates-ui.entry.js.map +1 -0
  194. package/dist/esm/ifx-textarea.entry.js +3 -3
  195. package/dist/esm/ifx-tooltip.entry.js +5 -5
  196. package/dist/esm/{index-fc6a5751.js → index-d021b985.js} +30 -20
  197. package/dist/esm/index-d021b985.js.map +1 -0
  198. package/dist/esm/infineon-design-system-stencil.js +3 -3
  199. package/dist/esm/loader.js +3 -3
  200. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js +1 -1
  201. package/dist/infineon-design-system-stencil/infineon-design-system-stencil.esm.js.map +1 -1
  202. package/dist/infineon-design-system-stencil/{p-37654645.entry.js → p-005cee40.entry.js} +2 -2
  203. package/dist/infineon-design-system-stencil/{p-849b1812.entry.js → p-0288ba3d.entry.js} +2 -2
  204. package/dist/infineon-design-system-stencil/{p-1d9e400c.entry.js → p-070a401c.entry.js} +2 -2
  205. package/dist/infineon-design-system-stencil/{p-d31a6167.entry.js → p-0b2330b1.entry.js} +2 -2
  206. package/dist/infineon-design-system-stencil/{p-fcf71895.entry.js → p-0c6417aa.entry.js} +2 -2
  207. package/dist/infineon-design-system-stencil/{p-b3fb648f.entry.js → p-10f2f4d2.entry.js} +2 -2
  208. package/dist/infineon-design-system-stencil/{p-e21ab79f.entry.js → p-13fe8cf1.entry.js} +2 -2
  209. package/dist/infineon-design-system-stencil/{p-6c6ddeb1.entry.js → p-16fe5fbf.entry.js} +2 -2
  210. package/dist/infineon-design-system-stencil/{p-100ec922.entry.js → p-1b399289.entry.js} +2 -2
  211. package/dist/infineon-design-system-stencil/{p-47476fcb.entry.js → p-1f0a54f5.entry.js} +2 -2
  212. package/dist/infineon-design-system-stencil/{p-c61a9185.entry.js → p-21f9efe3.entry.js} +2 -2
  213. package/dist/infineon-design-system-stencil/{p-4111bbdc.entry.js → p-22c3e2a6.entry.js} +2 -2
  214. package/dist/infineon-design-system-stencil/{p-73a92169.entry.js → p-316580c5.entry.js} +2 -2
  215. package/dist/infineon-design-system-stencil/{p-2ae0a0d0.entry.js → p-3a64f78a.entry.js} +2 -2
  216. package/dist/infineon-design-system-stencil/{p-cb0ddc9b.entry.js → p-3f71f020.entry.js} +2 -2
  217. package/dist/infineon-design-system-stencil/{p-0b5ad497.entry.js → p-4082111f.entry.js} +2 -2
  218. package/dist/infineon-design-system-stencil/{p-0c570fa2.entry.js → p-4126ee6a.entry.js} +2 -2
  219. package/dist/infineon-design-system-stencil/{p-2d17e5b2.entry.js → p-4626a7a5.entry.js} +2 -2
  220. package/dist/infineon-design-system-stencil/{p-d2749c43.entry.js → p-47f2b16e.entry.js} +2 -2
  221. package/dist/infineon-design-system-stencil/p-4b0ebbb7.entry.js +2 -0
  222. package/dist/infineon-design-system-stencil/p-4b0ebbb7.entry.js.map +1 -0
  223. package/dist/infineon-design-system-stencil/{p-45c14df8.entry.js → p-503ceded.entry.js} +2 -2
  224. package/dist/infineon-design-system-stencil/{p-a3c03169.entry.js → p-55e8c571.entry.js} +2 -2
  225. package/dist/infineon-design-system-stencil/{p-2afb8620.entry.js → p-57abf001.entry.js} +2 -2
  226. package/dist/infineon-design-system-stencil/{p-c22f8c81.entry.js → p-5a134c12.entry.js} +2 -2
  227. package/dist/infineon-design-system-stencil/{p-19565224.entry.js → p-64a959d7.entry.js} +2 -2
  228. package/dist/infineon-design-system-stencil/{p-5992e272.entry.js → p-67efe96d.entry.js} +2 -2
  229. package/dist/infineon-design-system-stencil/{p-57671542.entry.js → p-6d4e98fc.entry.js} +2 -2
  230. package/dist/infineon-design-system-stencil/{p-951cf503.entry.js → p-6ff541a9.entry.js} +2 -2
  231. package/dist/infineon-design-system-stencil/{p-a4f220c4.entry.js → p-71615622.entry.js} +2 -2
  232. package/dist/infineon-design-system-stencil/p-76a1dc49.entry.js +2 -0
  233. package/dist/infineon-design-system-stencil/p-76a1dc49.entry.js.map +1 -0
  234. package/dist/infineon-design-system-stencil/p-7aa4082c.js +3 -0
  235. package/dist/infineon-design-system-stencil/{p-80bb0959.js.map → p-7aa4082c.js.map} +1 -1
  236. package/dist/infineon-design-system-stencil/{p-79b4d359.entry.js → p-80d79ac2.entry.js} +2 -2
  237. package/dist/infineon-design-system-stencil/{p-9518ef02.entry.js → p-812d02b9.entry.js} +2 -2
  238. package/dist/infineon-design-system-stencil/{p-3be58aa2.entry.js → p-8299d886.entry.js} +2 -2
  239. package/dist/infineon-design-system-stencil/{p-e65cee48.entry.js → p-8598dae1.entry.js} +2 -2
  240. package/dist/infineon-design-system-stencil/{p-f3383274.entry.js → p-85b95a9b.entry.js} +2 -2
  241. package/dist/infineon-design-system-stencil/{p-d868e967.entry.js → p-87ecf8b1.entry.js} +2 -2
  242. package/dist/infineon-design-system-stencil/{p-b8f31dc3.entry.js → p-8822c055.entry.js} +2 -2
  243. package/dist/infineon-design-system-stencil/{p-e6427f2e.entry.js → p-8c0caf65.entry.js} +2 -2
  244. package/dist/infineon-design-system-stencil/{p-a29b6247.entry.js → p-8ccea8df.entry.js} +2 -2
  245. package/dist/infineon-design-system-stencil/{p-4349aa3a.entry.js → p-9256384e.entry.js} +2 -2
  246. package/dist/infineon-design-system-stencil/{p-d323e4ed.entry.js → p-95c0da4c.entry.js} +2 -2
  247. package/dist/infineon-design-system-stencil/{p-41b0849d.entry.js → p-95c56362.entry.js} +2 -2
  248. package/dist/infineon-design-system-stencil/{p-6ad287cf.entry.js → p-9c641115.entry.js} +2 -2
  249. package/dist/infineon-design-system-stencil/{p-9ecb5401.entry.js → p-9e9855ba.entry.js} +2 -2
  250. package/dist/infineon-design-system-stencil/p-a54b4237.entry.js +2 -0
  251. package/dist/infineon-design-system-stencil/{p-985c7bdc.entry.js → p-b10e3175.entry.js} +2 -2
  252. package/dist/infineon-design-system-stencil/{p-1b9317bd.entry.js → p-b1543f1d.entry.js} +2 -2
  253. package/dist/infineon-design-system-stencil/p-bad85c4c.entry.js +2 -0
  254. package/dist/infineon-design-system-stencil/p-bad85c4c.entry.js.map +1 -0
  255. package/dist/infineon-design-system-stencil/{p-ee68427e.entry.js → p-bbc7a00e.entry.js} +2 -2
  256. package/dist/infineon-design-system-stencil/{p-9b77f2ec.entry.js → p-c0b0a253.entry.js} +2 -2
  257. package/dist/infineon-design-system-stencil/{p-661d19d6.entry.js → p-c0f0e6e8.entry.js} +2 -2
  258. package/dist/infineon-design-system-stencil/{p-2ea18356.entry.js → p-c231d3b7.entry.js} +2 -2
  259. package/dist/infineon-design-system-stencil/{p-31889cb2.entry.js → p-c9211767.entry.js} +2 -2
  260. package/dist/infineon-design-system-stencil/{p-9f1ab459.entry.js → p-c996c583.entry.js} +2 -2
  261. package/dist/infineon-design-system-stencil/{p-1175d112.entry.js → p-ca00d3c8.entry.js} +2 -2
  262. package/dist/infineon-design-system-stencil/{p-9910fa06.entry.js → p-caa281a5.entry.js} +2 -2
  263. package/dist/infineon-design-system-stencil/{p-c9aca4b7.entry.js → p-cc49128c.entry.js} +2 -2
  264. package/dist/infineon-design-system-stencil/{p-8c9887e3.entry.js → p-d4432905.entry.js} +2 -2
  265. package/dist/infineon-design-system-stencil/{p-16348b9d.entry.js → p-d517ea6c.entry.js} +2 -2
  266. package/dist/infineon-design-system-stencil/{p-6e61295f.entry.js → p-d70843bb.entry.js} +2 -2
  267. package/dist/infineon-design-system-stencil/{p-e8cde48d.entry.js → p-da42f326.entry.js} +2 -2
  268. package/dist/infineon-design-system-stencil/{p-7d11833b.entry.js → p-dd0ed952.entry.js} +2 -2
  269. package/dist/infineon-design-system-stencil/p-e3ce1662.entry.js +2 -0
  270. package/dist/infineon-design-system-stencil/p-e3ce1662.entry.js.map +1 -0
  271. package/dist/infineon-design-system-stencil/{p-10ae176f.entry.js → p-e50308f6.entry.js} +2 -2
  272. package/dist/infineon-design-system-stencil/{p-5ab7bd95.entry.js → p-e6d3b4b2.entry.js} +2 -2
  273. package/dist/infineon-design-system-stencil/{p-1e07a44d.entry.js → p-eb9f7514.entry.js} +2 -2
  274. package/dist/infineon-design-system-stencil/{p-5cc523fb.entry.js → p-ec5fcb90.entry.js} +2 -2
  275. package/dist/infineon-design-system-stencil/{p-4631ff84.entry.js → p-f11ef28f.entry.js} +2 -2
  276. package/dist/infineon-design-system-stencil/{p-85e4c1c2.entry.js → p-f26ddec7.entry.js} +2 -2
  277. package/dist/infineon-design-system-stencil/{p-9c50bc3e.entry.js → p-f2ba1590.entry.js} +2 -2
  278. package/dist/infineon-design-system-stencil/{p-18d07164.entry.js → p-f2d917ca.entry.js} +2 -2
  279. package/dist/infineon-design-system-stencil/{p-dba5e033.entry.js → p-f93d0e29.entry.js} +2 -2
  280. package/dist/infineon-design-system-stencil/{p-ba22e912.entry.js → p-fdcdec39.entry.js} +2 -2
  281. package/dist/infineon-design-system-stencil/p-ff8f6ddc.entry.js +2 -0
  282. package/dist/types/components/templates/template/template.d.ts +33 -0
  283. package/dist/types/components/templates/templates-ui/templates-ui.d.ts +10 -0
  284. package/dist/types/components.d.ts +49 -0
  285. package/package.json +1 -1
  286. package/dist/cjs/ifx-alert.cjs.entry.js +0 -49
  287. package/dist/cjs/ifx-alert.cjs.entry.js.map +0 -1
  288. package/dist/cjs/ifx-multiselect_2.cjs.entry.js.map +0 -1
  289. package/dist/cjs/ifx-spinner.cjs.entry.js +0 -35
  290. package/dist/cjs/ifx-spinner.cjs.entry.js.map +0 -1
  291. package/dist/cjs/index-f6c58643.js.map +0 -1
  292. package/dist/esm/ifx-alert.entry.js.map +0 -1
  293. package/dist/esm/ifx-multiselect_2.entry.js.map +0 -1
  294. package/dist/esm/ifx-spinner.entry.js.map +0 -1
  295. package/dist/esm/index-fc6a5751.js.map +0 -1
  296. package/dist/infineon-design-system-stencil/p-492a9ab7.entry.js +0 -2
  297. package/dist/infineon-design-system-stencil/p-4aab4af4.entry.js +0 -2
  298. package/dist/infineon-design-system-stencil/p-4aab4af4.entry.js.map +0 -1
  299. package/dist/infineon-design-system-stencil/p-80bb0959.js +0 -3
  300. package/dist/infineon-design-system-stencil/p-a9a1fc54.entry.js +0 -2
  301. package/dist/infineon-design-system-stencil/p-b4d2f129.entry.js +0 -2
  302. package/dist/infineon-design-system-stencil/p-b4d2f129.entry.js.map +0 -1
  303. package/dist/infineon-design-system-stencil/p-c90f337e.entry.js +0 -2
  304. package/dist/infineon-design-system-stencil/p-c90f337e.entry.js.map +0 -1
  305. /package/dist/infineon-design-system-stencil/{p-37654645.entry.js.map → p-005cee40.entry.js.map} +0 -0
  306. /package/dist/infineon-design-system-stencil/{p-849b1812.entry.js.map → p-0288ba3d.entry.js.map} +0 -0
  307. /package/dist/infineon-design-system-stencil/{p-1d9e400c.entry.js.map → p-070a401c.entry.js.map} +0 -0
  308. /package/dist/infineon-design-system-stencil/{p-d31a6167.entry.js.map → p-0b2330b1.entry.js.map} +0 -0
  309. /package/dist/infineon-design-system-stencil/{p-fcf71895.entry.js.map → p-0c6417aa.entry.js.map} +0 -0
  310. /package/dist/infineon-design-system-stencil/{p-b3fb648f.entry.js.map → p-10f2f4d2.entry.js.map} +0 -0
  311. /package/dist/infineon-design-system-stencil/{p-e21ab79f.entry.js.map → p-13fe8cf1.entry.js.map} +0 -0
  312. /package/dist/infineon-design-system-stencil/{p-6c6ddeb1.entry.js.map → p-16fe5fbf.entry.js.map} +0 -0
  313. /package/dist/infineon-design-system-stencil/{p-100ec922.entry.js.map → p-1b399289.entry.js.map} +0 -0
  314. /package/dist/infineon-design-system-stencil/{p-47476fcb.entry.js.map → p-1f0a54f5.entry.js.map} +0 -0
  315. /package/dist/infineon-design-system-stencil/{p-c61a9185.entry.js.map → p-21f9efe3.entry.js.map} +0 -0
  316. /package/dist/infineon-design-system-stencil/{p-4111bbdc.entry.js.map → p-22c3e2a6.entry.js.map} +0 -0
  317. /package/dist/infineon-design-system-stencil/{p-73a92169.entry.js.map → p-316580c5.entry.js.map} +0 -0
  318. /package/dist/infineon-design-system-stencil/{p-2ae0a0d0.entry.js.map → p-3a64f78a.entry.js.map} +0 -0
  319. /package/dist/infineon-design-system-stencil/{p-cb0ddc9b.entry.js.map → p-3f71f020.entry.js.map} +0 -0
  320. /package/dist/infineon-design-system-stencil/{p-0b5ad497.entry.js.map → p-4082111f.entry.js.map} +0 -0
  321. /package/dist/infineon-design-system-stencil/{p-0c570fa2.entry.js.map → p-4126ee6a.entry.js.map} +0 -0
  322. /package/dist/infineon-design-system-stencil/{p-2d17e5b2.entry.js.map → p-4626a7a5.entry.js.map} +0 -0
  323. /package/dist/infineon-design-system-stencil/{p-d2749c43.entry.js.map → p-47f2b16e.entry.js.map} +0 -0
  324. /package/dist/infineon-design-system-stencil/{p-45c14df8.entry.js.map → p-503ceded.entry.js.map} +0 -0
  325. /package/dist/infineon-design-system-stencil/{p-a3c03169.entry.js.map → p-55e8c571.entry.js.map} +0 -0
  326. /package/dist/infineon-design-system-stencil/{p-2afb8620.entry.js.map → p-57abf001.entry.js.map} +0 -0
  327. /package/dist/infineon-design-system-stencil/{p-c22f8c81.entry.js.map → p-5a134c12.entry.js.map} +0 -0
  328. /package/dist/infineon-design-system-stencil/{p-19565224.entry.js.map → p-64a959d7.entry.js.map} +0 -0
  329. /package/dist/infineon-design-system-stencil/{p-5992e272.entry.js.map → p-67efe96d.entry.js.map} +0 -0
  330. /package/dist/infineon-design-system-stencil/{p-57671542.entry.js.map → p-6d4e98fc.entry.js.map} +0 -0
  331. /package/dist/infineon-design-system-stencil/{p-951cf503.entry.js.map → p-6ff541a9.entry.js.map} +0 -0
  332. /package/dist/infineon-design-system-stencil/{p-a4f220c4.entry.js.map → p-71615622.entry.js.map} +0 -0
  333. /package/dist/infineon-design-system-stencil/{p-79b4d359.entry.js.map → p-80d79ac2.entry.js.map} +0 -0
  334. /package/dist/infineon-design-system-stencil/{p-9518ef02.entry.js.map → p-812d02b9.entry.js.map} +0 -0
  335. /package/dist/infineon-design-system-stencil/{p-3be58aa2.entry.js.map → p-8299d886.entry.js.map} +0 -0
  336. /package/dist/infineon-design-system-stencil/{p-e65cee48.entry.js.map → p-8598dae1.entry.js.map} +0 -0
  337. /package/dist/infineon-design-system-stencil/{p-f3383274.entry.js.map → p-85b95a9b.entry.js.map} +0 -0
  338. /package/dist/infineon-design-system-stencil/{p-d868e967.entry.js.map → p-87ecf8b1.entry.js.map} +0 -0
  339. /package/dist/infineon-design-system-stencil/{p-b8f31dc3.entry.js.map → p-8822c055.entry.js.map} +0 -0
  340. /package/dist/infineon-design-system-stencil/{p-e6427f2e.entry.js.map → p-8c0caf65.entry.js.map} +0 -0
  341. /package/dist/infineon-design-system-stencil/{p-a29b6247.entry.js.map → p-8ccea8df.entry.js.map} +0 -0
  342. /package/dist/infineon-design-system-stencil/{p-4349aa3a.entry.js.map → p-9256384e.entry.js.map} +0 -0
  343. /package/dist/infineon-design-system-stencil/{p-d323e4ed.entry.js.map → p-95c0da4c.entry.js.map} +0 -0
  344. /package/dist/infineon-design-system-stencil/{p-41b0849d.entry.js.map → p-95c56362.entry.js.map} +0 -0
  345. /package/dist/infineon-design-system-stencil/{p-6ad287cf.entry.js.map → p-9c641115.entry.js.map} +0 -0
  346. /package/dist/infineon-design-system-stencil/{p-9ecb5401.entry.js.map → p-9e9855ba.entry.js.map} +0 -0
  347. /package/dist/infineon-design-system-stencil/{p-a9a1fc54.entry.js.map → p-a54b4237.entry.js.map} +0 -0
  348. /package/dist/infineon-design-system-stencil/{p-985c7bdc.entry.js.map → p-b10e3175.entry.js.map} +0 -0
  349. /package/dist/infineon-design-system-stencil/{p-1b9317bd.entry.js.map → p-b1543f1d.entry.js.map} +0 -0
  350. /package/dist/infineon-design-system-stencil/{p-ee68427e.entry.js.map → p-bbc7a00e.entry.js.map} +0 -0
  351. /package/dist/infineon-design-system-stencil/{p-9b77f2ec.entry.js.map → p-c0b0a253.entry.js.map} +0 -0
  352. /package/dist/infineon-design-system-stencil/{p-661d19d6.entry.js.map → p-c0f0e6e8.entry.js.map} +0 -0
  353. /package/dist/infineon-design-system-stencil/{p-2ea18356.entry.js.map → p-c231d3b7.entry.js.map} +0 -0
  354. /package/dist/infineon-design-system-stencil/{p-31889cb2.entry.js.map → p-c9211767.entry.js.map} +0 -0
  355. /package/dist/infineon-design-system-stencil/{p-9f1ab459.entry.js.map → p-c996c583.entry.js.map} +0 -0
  356. /package/dist/infineon-design-system-stencil/{p-1175d112.entry.js.map → p-ca00d3c8.entry.js.map} +0 -0
  357. /package/dist/infineon-design-system-stencil/{p-9910fa06.entry.js.map → p-caa281a5.entry.js.map} +0 -0
  358. /package/dist/infineon-design-system-stencil/{p-c9aca4b7.entry.js.map → p-cc49128c.entry.js.map} +0 -0
  359. /package/dist/infineon-design-system-stencil/{p-8c9887e3.entry.js.map → p-d4432905.entry.js.map} +0 -0
  360. /package/dist/infineon-design-system-stencil/{p-16348b9d.entry.js.map → p-d517ea6c.entry.js.map} +0 -0
  361. /package/dist/infineon-design-system-stencil/{p-6e61295f.entry.js.map → p-d70843bb.entry.js.map} +0 -0
  362. /package/dist/infineon-design-system-stencil/{p-e8cde48d.entry.js.map → p-da42f326.entry.js.map} +0 -0
  363. /package/dist/infineon-design-system-stencil/{p-7d11833b.entry.js.map → p-dd0ed952.entry.js.map} +0 -0
  364. /package/dist/infineon-design-system-stencil/{p-10ae176f.entry.js.map → p-e50308f6.entry.js.map} +0 -0
  365. /package/dist/infineon-design-system-stencil/{p-5ab7bd95.entry.js.map → p-e6d3b4b2.entry.js.map} +0 -0
  366. /package/dist/infineon-design-system-stencil/{p-1e07a44d.entry.js.map → p-eb9f7514.entry.js.map} +0 -0
  367. /package/dist/infineon-design-system-stencil/{p-5cc523fb.entry.js.map → p-ec5fcb90.entry.js.map} +0 -0
  368. /package/dist/infineon-design-system-stencil/{p-4631ff84.entry.js.map → p-f11ef28f.entry.js.map} +0 -0
  369. /package/dist/infineon-design-system-stencil/{p-85e4c1c2.entry.js.map → p-f26ddec7.entry.js.map} +0 -0
  370. /package/dist/infineon-design-system-stencil/{p-9c50bc3e.entry.js.map → p-f2ba1590.entry.js.map} +0 -0
  371. /package/dist/infineon-design-system-stencil/{p-18d07164.entry.js.map → p-f2d917ca.entry.js.map} +0 -0
  372. /package/dist/infineon-design-system-stencil/{p-dba5e033.entry.js.map → p-f93d0e29.entry.js.map} +0 -0
  373. /package/dist/infineon-design-system-stencil/{p-ba22e912.entry.js.map → p-fdcdec39.entry.js.map} +0 -0
  374. /package/dist/infineon-design-system-stencil/{p-492a9ab7.entry.js.map → p-ff8f6ddc.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as i,h as f,a as o}from"./p-80bb0959.js";const a=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}.ifx-notification__wrapper{display:flex;flex-direction:row;align-items:center;padding:8px 16px;background-color:#FFFFFF;font-family:var(--ifx-font-family);color:#1D1D1D;border:1px solid #EEEDED}.ifx-notification__wrapper.ifx-notification__wrapper--success{border-left:4px solid #4CA460}.ifx-notification__wrapper.ifx-notification__wrapper--success .ifx-notification__icon{color:#4CA460}.ifx-notification__wrapper.ifx-notification__wrapper--warning{border-left:4px solid #E16B25}.ifx-notification__wrapper.ifx-notification__wrapper--warning .ifx-notification__icon{color:#E16B25}.ifx-notification__wrapper.ifx-notification__wrapper--error{border-left:4px solid #CD002F}.ifx-notification__wrapper.ifx-notification__wrapper--error .ifx-notification__icon{color:#CD002F}.ifx-notification__wrapper .ifx-notification__icon{margin-right:8px;display:flex;align-self:flex-start;padding-top:2px}.ifx-notification__wrapper .ifx-notification__body{display:flex;flex-direction:row;flex-grow:1}.ifx-notification__wrapper .ifx-notification__body .ifx-notification__slot{flex-grow:1}@media (max-width: 576px){.ifx-notification__wrapper .ifx-notification__icon{align-self:flex-start}.ifx-notification__wrapper .ifx-notification__body{flex-direction:column}.ifx-notification__wrapper .ifx-notification__link{margin-top:8px}}';const n=a;const t=class{constructor(f){i(this,f);this.icon=undefined;this.variant="success";this.linkText=undefined;this.linkHref=undefined;this.linkTarget="_blank"}getClassName(){switch(this.variant){case"success":return"ifx-notification__wrapper--success";case"warning":return"ifx-notification__wrapper--warning";case"error":return"ifx-notification__wrapper--error";default:return"ifx-notification__wrapper--success"}}render(){return f(o,{key:"0bd4234870363bd814985bc5d0583eed2be7db46"},f("div",{key:"f0f9263f865bf2698f7d82d839a47aa7d240defe",class:"ifx-notification__wrapper "+this.getClassName()},f("div",{key:"89a510add70e7136aebccd2f3448f4f2be993a8c",class:"ifx-notification__icon"},f("ifx-icon",{key:"9bc8cc4c1ef631a3c5f4031841e017ad56fb04d2",icon:this.icon})),f("div",{key:"11a30ba727a6da41b5f97e0c6d4d39c3f2d48fff",class:"ifx-notification__body"},f("div",{key:"ef61b07c3f07ee7e494725d972015119dcffce08",class:"ifx-notification__slot"},f("slot",{key:"068c2ec364d8bc30f53d4f236a556f6d1cfee4c6"})),this.linkText&&this.linkHref&&f("div",{key:"59ef023f93c24c84e40bacb2fe75e7d920d17768",class:"ifx-notification__link"},f("ifx-link",{key:"301c06577ad333a83be9c60caf3ce2a758747cbb",href:this.linkHref,target:this.linkTarget},this.linkText,f("ifx-icon",{key:"a00a577925fd5654f334e84dadd1a67aca462ace",icon:"arrow-right-16"}))))))}};t.style=n;export{t as ifx_notification};
2
- //# sourceMappingURL=p-41b0849d.entry.js.map
1
+ import{r as i,h as f,a as o}from"./p-7aa4082c.js";const a=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}.ifx-notification__wrapper{display:flex;flex-direction:row;align-items:center;padding:8px 16px;background-color:#FFFFFF;font-family:var(--ifx-font-family);color:#1D1D1D;border:1px solid #EEEDED}.ifx-notification__wrapper.ifx-notification__wrapper--success{border-left:4px solid #4CA460}.ifx-notification__wrapper.ifx-notification__wrapper--success .ifx-notification__icon{color:#4CA460}.ifx-notification__wrapper.ifx-notification__wrapper--warning{border-left:4px solid #E16B25}.ifx-notification__wrapper.ifx-notification__wrapper--warning .ifx-notification__icon{color:#E16B25}.ifx-notification__wrapper.ifx-notification__wrapper--error{border-left:4px solid #CD002F}.ifx-notification__wrapper.ifx-notification__wrapper--error .ifx-notification__icon{color:#CD002F}.ifx-notification__wrapper .ifx-notification__icon{margin-right:8px;display:flex;align-self:flex-start;padding-top:2px}.ifx-notification__wrapper .ifx-notification__body{display:flex;flex-direction:row;flex-grow:1}.ifx-notification__wrapper .ifx-notification__body .ifx-notification__slot{flex-grow:1}@media (max-width: 576px){.ifx-notification__wrapper .ifx-notification__icon{align-self:flex-start}.ifx-notification__wrapper .ifx-notification__body{flex-direction:column}.ifx-notification__wrapper .ifx-notification__link{margin-top:8px}}';const n=a;const t=class{constructor(f){i(this,f);this.icon=undefined;this.variant="success";this.linkText=undefined;this.linkHref=undefined;this.linkTarget="_blank"}getClassName(){switch(this.variant){case"success":return"ifx-notification__wrapper--success";case"warning":return"ifx-notification__wrapper--warning";case"error":return"ifx-notification__wrapper--error";default:return"ifx-notification__wrapper--success"}}render(){return f(o,{key:"0bd4234870363bd814985bc5d0583eed2be7db46"},f("div",{key:"f0f9263f865bf2698f7d82d839a47aa7d240defe",class:"ifx-notification__wrapper "+this.getClassName()},f("div",{key:"89a510add70e7136aebccd2f3448f4f2be993a8c",class:"ifx-notification__icon"},f("ifx-icon",{key:"9bc8cc4c1ef631a3c5f4031841e017ad56fb04d2",icon:this.icon})),f("div",{key:"11a30ba727a6da41b5f97e0c6d4d39c3f2d48fff",class:"ifx-notification__body"},f("div",{key:"ef61b07c3f07ee7e494725d972015119dcffce08",class:"ifx-notification__slot"},f("slot",{key:"068c2ec364d8bc30f53d4f236a556f6d1cfee4c6"})),this.linkText&&this.linkHref&&f("div",{key:"59ef023f93c24c84e40bacb2fe75e7d920d17768",class:"ifx-notification__link"},f("ifx-link",{key:"301c06577ad333a83be9c60caf3ce2a758747cbb",href:this.linkHref,target:this.linkTarget},this.linkText,f("ifx-icon",{key:"a00a577925fd5654f334e84dadd1a67aca462ace",icon:"arrow-right-16"}))))))}};t.style=n;export{t as ifx_notification};
2
+ //# sourceMappingURL=p-95c56362.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,g as r}from"./p-80bb0959.js";const a=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{display:flex}.breadcrumb{list-style:none;padding:0px;margin:0px;display:flex;flex-direction:row;font-family:var(--ifx-font-family);font-size:0.875rem;align-items:flex-start}';const o=a;const n=class{constructor(t){e(this,t)}componentDidLoad(){const e=this.el.shadowRoot.firstChild;this.validateBreadcrumbItemStructure(e)}validateBreadcrumbItemStructure(e){if(!e){console.error("element not found");return}const t=e.querySelector("slot");if(t){const e=t.assignedNodes();for(let t=0;t<e.length;t++){const r=e[t];if(r.nodeName==="IFX-BREADCRUMB-ITEM"){const e=r;const t=e.querySelector("ifx-breadcrumb-item-label");const a=e.querySelector("ifx-dropdown-menu");if(t.hasAttribute("url")&&a){throw new Error("ifx-breadcrumb-item cannot have both a url and a dropdown menu.")}}}}}render(){return t("nav",{key:"82aec60bebf9a71d7cdcfc2916f91c0e36dee868","aria-label":"Page navigation breadcrumb"},t("ol",{key:"70bae75b26b5df4c509f16c0ab8e2b10333de8ac",class:"breadcrumb"},t("slot",{key:"1cb28e3640f20319349b4f6d3cb1568508d3b1ba"})))}get el(){return r(this)}};n.style=o;export{n as ifx_breadcrumb};
2
- //# sourceMappingURL=p-6ad287cf.entry.js.map
1
+ import{r as e,h as t,g as a}from"./p-7aa4082c.js";const r=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{display:flex}.breadcrumb{list-style:none;padding:0px;margin:0px;display:flex;flex-direction:row;font-family:var(--ifx-font-family);font-size:0.875rem;align-items:flex-start}';const o=r;const n=class{constructor(t){e(this,t)}componentDidLoad(){const e=this.el.shadowRoot.firstChild;this.validateBreadcrumbItemStructure(e)}validateBreadcrumbItemStructure(e){if(!e){console.error("element not found");return}const t=e.querySelector("slot");if(t){const e=t.assignedNodes();for(let t=0;t<e.length;t++){const a=e[t];if(a.nodeName==="IFX-BREADCRUMB-ITEM"){const e=a;const t=e.querySelector("ifx-breadcrumb-item-label");const r=e.querySelector("ifx-dropdown-menu");if(t.hasAttribute("url")&&r){throw new Error("ifx-breadcrumb-item cannot have both a url and a dropdown menu.")}}}}}render(){return t("nav",{key:"82aec60bebf9a71d7cdcfc2916f91c0e36dee868","aria-label":"Page navigation breadcrumb"},t("ol",{key:"70bae75b26b5df4c509f16c0ab8e2b10333de8ac",class:"breadcrumb"},t("slot",{key:"1cb28e3640f20319349b4f6d3cb1568508d3b1ba"})))}get el(){return a(this)}};n.style=o;export{n as ifx_breadcrumb};
2
+ //# sourceMappingURL=p-9c641115.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,c as t,h as r,a}from"./p-80bb0959.js";const s=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{display:flex;flex-direction:column}.wrapper__label{color:#1D1D1D;font:400 1rem/1.5rem "Source Sans 3"}:host(.wrapper--disabled) .wrapper__label{color:#575352}.wrapper__textarea textarea{border:1px solid #8D8786;border-radius:1px;padding:8px 16px;background-color:#FFFFFF;color:#1D1D1D;font:400 1rem/1.5rem "Source Sans 3";transition:all 100ms ease;transition-property:border-color}.wrapper__textarea textarea:hover{border:1px solid #575352}.wrapper__textarea textarea:focus-within{outline:none;border:1px solid #0A8276}:host(.wrapper--error) .wrapper__textarea textarea{border:1px solid #CD002F}:host(.wrapper--disabled) .wrapper__textarea textarea{border:1px solid #575352;background-color:#EEEDED}.wrapper__caption{color:#1D1D1D;font:400 0.75rem/1rem "Source Sans 3"}:host(.wrapper--error) .wrapper__caption{color:#CD002F}:host(.wrapper--disabled) .wrapper__caption{color:#575352}';const i=s;const o=class{constructor(r){e(this,r);this.ifxInput=t(this,"ifxInput",7);if(r.$hostElement$["s-ei"]){this.internals=r.$hostElement$["s-ei"]}else{this.internals=r.$hostElement$.attachInternals();r.$hostElement$["s-ei"]=this.internals}this.inputId=`ifx-textarea-${++d}`;this.caption=undefined;this.cols=undefined;this.disabled=false;this.error=false;this.label=undefined;this.maxlength=undefined;this.name=undefined;this.placeholder=undefined;this.readOnly=false;this.resize="both";this.rows=undefined;this.value=undefined;this.wrap="soft"}async reset(){this.resetTextarea()}formResetCallback(){this.resetTextarea();this.internals.setFormValue("")}handleOnInput(e){this.value=e.target.value;this.internals.setFormValue(this.value);this.ifxInput.emit(this.value)}resetTextarea(){this.value="";this.internals.setValidity({});this.internals.setFormValue("")}componentWillLoad(){this.internals.setFormValue(this.value)}render(){var e,t;return r(a,{key:"fa5c845d5352544c1b4c62a09407aebb95da24d3",class:`wrapper \n\t\t\t\t\t\twrapper--${this.error?"error":""}\n\t\t\t\t\t\twrapper--${this.disabled?"disabled":""}`},r("label",{key:"e68472869f26f77d87cf8cefd29d8e56aac74c95",class:"wrapper__label",htmlFor:this.inputId},(e=this.label)===null||e===void 0?void 0:e.trim()),r("div",{key:"e4d5c36b7608d981bf33dc764453c9cc75883f59",class:"wrapper__textarea"},r("textarea",{key:"93988a66ea85198eb40fab3989a82f8a794d815f","aria-label":"a textarea","aria-value":this.value,"aria-disabled":this.disabled,id:this.inputId,style:{resize:this.resize},name:this.name?this.name:this.inputId,cols:this.cols,rows:this.rows,maxlength:this.maxlength,wrap:this.wrap,disabled:this.disabled,readonly:this.readOnly,placeholder:this.placeholder,value:this.value,onInput:e=>this.handleOnInput(e)})),((t=this.caption)===null||t===void 0?void 0:t.trim())&&r("div",{key:"f58f74a260af7090a6e8059081dfe27fc3fe49c9",class:"wrapper__caption"},this.caption.trim()))}static get formAssociated(){return true}};let d=0;o.style=i;export{o as ifx_textarea};
2
- //# sourceMappingURL=p-9ecb5401.entry.js.map
1
+ import{r as e,c as t,h as r,a}from"./p-7aa4082c.js";const s=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{display:flex;flex-direction:column}.wrapper__label{color:#1D1D1D;font:400 1rem/1.5rem "Source Sans 3"}:host(.wrapper--disabled) .wrapper__label{color:#575352}.wrapper__textarea textarea{border:1px solid #8D8786;border-radius:1px;padding:8px 16px;background-color:#FFFFFF;color:#1D1D1D;font:400 1rem/1.5rem "Source Sans 3";transition:all 100ms ease;transition-property:border-color}.wrapper__textarea textarea:hover{border:1px solid #575352}.wrapper__textarea textarea:focus-within{outline:none;border:1px solid #0A8276}:host(.wrapper--error) .wrapper__textarea textarea{border:1px solid #CD002F}:host(.wrapper--disabled) .wrapper__textarea textarea{border:1px solid #575352;background-color:#EEEDED}.wrapper__caption{color:#1D1D1D;font:400 0.75rem/1rem "Source Sans 3"}:host(.wrapper--error) .wrapper__caption{color:#CD002F}:host(.wrapper--disabled) .wrapper__caption{color:#575352}';const i=s;const o=class{constructor(r){e(this,r);this.ifxInput=t(this,"ifxInput",7);if(r.$hostElement$["s-ei"]){this.internals=r.$hostElement$["s-ei"]}else{this.internals=r.$hostElement$.attachInternals();r.$hostElement$["s-ei"]=this.internals}this.inputId=`ifx-textarea-${++d}`;this.caption=undefined;this.cols=undefined;this.disabled=false;this.error=false;this.label=undefined;this.maxlength=undefined;this.name=undefined;this.placeholder=undefined;this.readOnly=false;this.resize="both";this.rows=undefined;this.value=undefined;this.wrap="soft"}async reset(){this.resetTextarea()}formResetCallback(){this.resetTextarea();this.internals.setFormValue("")}handleOnInput(e){this.value=e.target.value;this.internals.setFormValue(this.value);this.ifxInput.emit(this.value)}resetTextarea(){this.value="";this.internals.setValidity({});this.internals.setFormValue("")}componentWillLoad(){this.internals.setFormValue(this.value)}render(){var e,t;return r(a,{key:"03fe4b308027807fae6cdf5e7435514a662e94b2",class:`wrapper \n\t\t\t\t\t\twrapper--${this.error?"error":""}\n\t\t\t\t\t\twrapper--${this.disabled?"disabled":""}`},r("label",{key:"40963544ae18994f33ab0ea794ed35f8752521e8",class:"wrapper__label",htmlFor:this.inputId},(e=this.label)===null||e===void 0?void 0:e.trim()),r("div",{key:"97d75285049482c2dc324df4d1f30a8c367bb2ba",class:"wrapper__textarea"},r("textarea",{key:"90311918547d3c1ce4f4c99a292f01236b2ae924","aria-label":"a textarea","aria-value":this.value,"aria-disabled":this.disabled,id:this.inputId,style:{resize:this.resize},name:this.name?this.name:this.inputId,cols:this.cols,rows:this.rows,maxlength:this.maxlength,wrap:this.wrap,disabled:this.disabled,readonly:this.readOnly,placeholder:this.placeholder,value:this.value,onInput:e=>this.handleOnInput(e)})),((t=this.caption)===null||t===void 0?void 0:t.trim())&&r("div",{key:"24d8ef9d59b734259491076d6ec544416aa6ac79",class:"wrapper__caption"},this.caption.trim()))}static get formAssociated(){return true}};let d=0;o.style=i;export{o as ifx_textarea};
2
+ //# sourceMappingURL=p-9e9855ba.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as t,h as s,g as e}from"./p-7aa4082c.js";const r=":host{display:block}";const c=r;const i=class{constructor(s){t(this,s);this.header=undefined;this.disabled=undefined;this.icon="";this.iconPosition="left"}render(){return s("slot",{key:"b137ce6b9fbc38d6bcd9548552d1ff6407732ba7"})}get el(){return e(this)}};i.style=c;export{i as ifx_tab};
2
+ //# sourceMappingURL=p-a54b4237.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as n,h as e}from"./p-80bb0959.js";const a=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{display:inline-flex}.numberIndicator__container{display:inline-flex;padding:0px 4px;max-height:16px;justify-content:center;align-items:center;border-radius:100px;background-color:#0A8276;font-family:var(--ifx-font-family)}.numberIndicator__container span{color:#FFFFFF;text-align:center;font-size:0.875rem;font-style:normal;font-weight:600;line-height:16px}.numberIndicator__container.inverted{background-color:#FFFFFF}.numberIndicator__container.inverted span{color:#0A8276}';const r=a;const i=class{constructor(e){n(this,e);this.inverted=false}render(){return e("div",{key:"069584449b4a5c3bf9500f8e4c1f457eaa06aad2","aria-label":"a number indicator",class:`numberIndicator__container ${this.inverted?"inverted":""}`},e("span",{key:"51baf8af7fb5df8571bb03e8ae06826c7bdbda15"},e("slot",{key:"07fe77c17f48004146adbf01aef35de0584e92f6"})))}};i.style=r;export{i as ifx_number_indicator};
2
- //# sourceMappingURL=p-985c7bdc.entry.js.map
1
+ import{r as n,h as e}from"./p-7aa4082c.js";const a=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{display:inline-flex}.numberIndicator__container{display:inline-flex;padding:0px 4px;max-height:16px;justify-content:center;align-items:center;border-radius:100px;background-color:#0A8276;font-family:var(--ifx-font-family)}.numberIndicator__container span{color:#FFFFFF;text-align:center;font-size:0.875rem;font-style:normal;font-weight:600;line-height:16px}.numberIndicator__container.inverted{background-color:#FFFFFF}.numberIndicator__container.inverted span{color:#0A8276}';const r=a;const i=class{constructor(e){n(this,e);this.inverted=false}render(){return e("div",{key:"069584449b4a5c3bf9500f8e4c1f457eaa06aad2","aria-label":"a number indicator",class:`numberIndicator__container ${this.inverted?"inverted":""}`},e("span",{key:"51baf8af7fb5df8571bb03e8ae06826c7bdbda15"},e("slot",{key:"07fe77c17f48004146adbf01aef35de0584e92f6"})))}};i.style=r;export{i as ifx_number_indicator};
2
+ //# sourceMappingURL=p-b10e3175.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as i,g as t}from"./p-80bb0959.js";const o=".list-group-notification{width:350px;height:88px;padding:16px;margin-bottom:8px;background-color:#FFFFFF;border:1px solid #EEEDED;font-family:var(--ifx-font-family)}.list-group-notification .description__section{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.list-group-notification.flush{border:none;border-bottom:1px solid #EEEDED}.list-group-notification .heading__section{display:flex;justify-content:space-between;margin-bottom:8px;color:#0A8276}.list-group-notification .heading__section-title{flex:1;margin:0;font-weight:600;line-height:1.2;font-size:1rem;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.list-group-notification .heading__section-time{flex:none;margin-left:2px;font-size:0.875rem;line-height:1.25rem;font-weight:400;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}";const s=o;const n=class{constructor(i){e(this,i);this.titleText="";this.isFlush=false;this.creationTime=undefined;this.postTime=undefined;this.shownTime=undefined}setDisplayTime(e,i,t,o){if(e<=60){this.shownTime=`Just now`}else if(i<=60){this.shownTime=`${i} min. ago`}else if(t<=24){this.shownTime=t>1?`${t} hr. ago`:`${t} hrs. ago`}else if(o){this.shownTime=t<48?`1 day ago`:`${o} days ago`;if(t>168){this.shownTime=`${(new Date).getDay()}.${(new Date).getMonth()}.${(new Date).getFullYear()}`}}}stringToDate(e){if(!e)return null;let i=e.split("/");if(i[2]){if(i[2].split(" ")[1]){let e=i[2].split(" ")[1].split(":");i[2]=i[2].split(" ")[0];return new Date(+i[2],i[1]-1,+i[0],e[0],e[1],e[2])}}}getElapsedTime(e){let i=this.stringToDate(e);if(i){let e=Date.now()-i.getTime();let t=Math.floor(e/1e3);let o=Math.floor(e/6e4);let s=Math.floor(o/60);let n=Math.floor(s/24);this.setDisplayTime(t,o,s,n)}}setTimeInterval(e){this.postTime=window.setInterval((()=>{this.getElapsedTime(e)}),1e3)}componentWillLoad(){this.getElapsedTime(this.creationTime);this.setTimeInterval(this.creationTime);const e=this.el.closest("ifx-list-group");if(e.flush){this.isFlush=true}else this.isFlush=false}disconnectedCallback(){window.clearInterval(this.postTime)}render(){return i("div",{key:"91e1c400374162be139fed99ce0d7e4495b46eb6",class:`list-group-notification ${this.isFlush?"flush":""}`},i("div",{key:"f15575375e0698d0bedb1989e86bfcc24347d1a6",class:"heading__section"},i("h6",{key:"ea441212ebfe13f6d2714417dbe3f2770598fd6d",class:"heading__section-title"},this.titleText),i("div",{key:"0dffec118ce4c588e992531d68492382ad20476d",class:"heading__section-time"},this.shownTime)),i("div",{key:"063ccfbb83b2a2d839e6e230ec88fba4b9d59a1d",class:"description__section"},i("slot",{key:"e449dec2d47fba283a71b1f284963652d39b8ac8"})))}get el(){return t(this)}};n.style=s;export{n as ifx_list_notification};
2
- //# sourceMappingURL=p-1b9317bd.entry.js.map
1
+ import{r as e,h as i,g as t}from"./p-7aa4082c.js";const o=".list-group-notification{width:350px;height:88px;padding:16px;margin-bottom:8px;background-color:#FFFFFF;border:1px solid #EEEDED;font-family:var(--ifx-font-family)}.list-group-notification .description__section{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.list-group-notification.flush{border:none;border-bottom:1px solid #EEEDED}.list-group-notification .heading__section{display:flex;justify-content:space-between;margin-bottom:8px;color:#0A8276}.list-group-notification .heading__section-title{flex:1;margin:0;font-weight:600;line-height:1.2;font-size:1rem;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.list-group-notification .heading__section-time{flex:none;margin-left:2px;font-size:0.875rem;line-height:1.25rem;font-weight:400;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}";const s=o;const n=class{constructor(i){e(this,i);this.titleText="";this.isFlush=false;this.creationTime=undefined;this.postTime=undefined;this.shownTime=undefined}setDisplayTime(e,i,t,o){if(e<=60){this.shownTime=`Just now`}else if(i<=60){this.shownTime=`${i} min. ago`}else if(t<=24){this.shownTime=t>1?`${t} hr. ago`:`${t} hrs. ago`}else if(o){this.shownTime=t<48?`1 day ago`:`${o} days ago`;if(t>168){this.shownTime=`${(new Date).getDay()}.${(new Date).getMonth()}.${(new Date).getFullYear()}`}}}stringToDate(e){if(!e)return null;let i=e.split("/");if(i[2]){if(i[2].split(" ")[1]){let e=i[2].split(" ")[1].split(":");i[2]=i[2].split(" ")[0];return new Date(+i[2],i[1]-1,+i[0],e[0],e[1],e[2])}}}getElapsedTime(e){let i=this.stringToDate(e);if(i){let e=Date.now()-i.getTime();let t=Math.floor(e/1e3);let o=Math.floor(e/6e4);let s=Math.floor(o/60);let n=Math.floor(s/24);this.setDisplayTime(t,o,s,n)}}setTimeInterval(e){this.postTime=window.setInterval((()=>{this.getElapsedTime(e)}),1e3)}componentWillLoad(){this.getElapsedTime(this.creationTime);this.setTimeInterval(this.creationTime);const e=this.el.closest("ifx-list-group");if(e.flush){this.isFlush=true}else this.isFlush=false}disconnectedCallback(){window.clearInterval(this.postTime)}render(){return i("div",{key:"91e1c400374162be139fed99ce0d7e4495b46eb6",class:`list-group-notification ${this.isFlush?"flush":""}`},i("div",{key:"f15575375e0698d0bedb1989e86bfcc24347d1a6",class:"heading__section"},i("h6",{key:"ea441212ebfe13f6d2714417dbe3f2770598fd6d",class:"heading__section-title"},this.titleText),i("div",{key:"0dffec118ce4c588e992531d68492382ad20476d",class:"heading__section-time"},this.shownTime)),i("div",{key:"063ccfbb83b2a2d839e6e230ec88fba4b9d59a1d",class:"description__section"},i("slot",{key:"e449dec2d47fba283a71b1f284963652d39b8ac8"})))}get el(){return t(this)}};n.style=s;export{n as ifx_list_notification};
2
+ //# sourceMappingURL=p-b1543f1d.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as e,c as t,h as r,g as i}from"./p-7aa4082c.js";const o=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{display:block}.alert__info-wrapper{display:flex;padding:16px 24px;font-family:var(--ifx-font-family);box-shadow:0px 6px 9px 0px rgba(29, 29, 29, 0.1019607843)}.alert__info-wrapper .info__text-wrapper{display:flex;flex-direction:column;gap:8px;width:100%}.alert__info-wrapper .info__text-wrapper .info__headline-wrapper{display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.alert__info-wrapper .info__text-wrapper .info__headline-wrapper,.alert__info-wrapper .info__text-wrapper .info__description-wrapper{color:#1D1D1D;font-size:16px;font-style:normal;font-weight:600;line-height:24px}.alert__info-wrapper .info__text-wrapper .info__headline-wrapper ::slotted(p),.alert__info-wrapper .info__text-wrapper .info__description-wrapper ::slotted(p){padding:0;margin:0}.alert__info-wrapper .info__text-wrapper .info__description-wrapper{font-weight:400}.alert__info-wrapper .close-icon-wrapper{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.alert__info-wrapper .close-icon-wrapper button{all:unset;display:flex;align-items:center;justify-content:center;line-height:0;color:#1D1D1D;height:24px;width:24px}.alert__info-wrapper .close-icon-wrapper button:focus{outline:2px solid #0A8276;outline-offset:2px}.alert{display:flex;border:1px solid #0A8276;border-radius:1px;color:#1D1D1D;background-color:#FFFFFF;font-family:var(--ifx-font-family);box-shadow:0px 6px 9px 0px rgba(29, 29, 29, 0.1019607843)}.alert .close-icon-wrapper{display:flex;align-items:center;justify-content:center;min-width:40px}.alert .close-icon-wrapper button{all:unset;display:flex;align-items:center;justify-content:center;line-height:0;color:#1D1D1D;height:24px;width:24px}.alert .close-icon-wrapper button:focus{outline:2px solid #0A8276;outline-offset:2px}.alert .icon-wrapper{position:relative;min-width:48px;display:flex;justify-content:center;align-items:center;background-color:#0A8276}.alert .alert-text{font-size:16px;width:100%;padding:12px 0px 12px 12px;color:#1D1D1D;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere;}.alert.primary{border:1px solid #0A8276}.alert.primary .icon-wrapper{background-color:#0A8276;color:#FFFFFF}.alert.success{border:1px solid #4CA460}.alert.success .icon-wrapper{background-color:#4CA460;color:#FFFFFF}.alert.danger{border:1px solid #CD002F}.alert.danger .icon-wrapper{background-color:#CD002F;color:#FFFFFF}.alert.warning{border:1px solid #E16B25}.alert.warning .icon-wrapper{background-color:#E16B25;color:#FFFFFF}.close-icon-wrapper ifx-icon:hover{cursor:pointer}';const a=o;const s=class{constructor(r){e(this,r);this.ifxClose=t(this,"ifxClose",7);this.alertTypeDescription={primary:"Neutral alert",success:"Success Alert",danger:"Error Alert",warning:"Warning Alert",info:"Neutral alert"};this.variant="primary";this.icon=undefined;this.closable=true;this.AriaLive="assertive";this.uniqueId=undefined}handleClose(){this.ifxClose.emit()}renderCloseButton(){return r("div",{class:"close-icon-wrapper"},r("button",{onClick:this.handleClose.bind(this),"aria-label":"Dismiss alert"},r("ifx-icon",{icon:"cross-16"})))}generateUniqueId(e="id"){return`${e}-${Math.random().toString(36).substring(2,9)}`}componentWillLoad(){if(!this.uniqueId){this.uniqueId=this.generateUniqueId("alert")}}render(){return this.variant==="info"?r("div",{class:"alert__info-wrapper",role:"alert","aria-live":this.AriaLive,"aria-describedby":this.alertTypeDescription[this.variant],"aria-labelledby":"alert-text alert-description"},r("div",{class:"info__text-wrapper"},r("div",{class:"info__headline-wrapper"},r("slot",{name:"headline"})),r("div",{id:`alert-description-${this.uniqueId}`,class:"info__description-wrapper"},r("slot",{name:"desc"}))),this.closable?this.renderCloseButton():null):r("div",{class:`alert ${this.variant}`,role:"alert"},this.icon&&r("div",{class:"icon-wrapper"},r("ifx-icon",{icon:this.icon})),r("div",{class:"alert-text",id:`alert-text-${this.uniqueId}`},r("slot",null)),this.closable?this.renderCloseButton():null)}};s.style=a;const l=".react__template-wrapper{display:flex;width:300px;height:200px;border-radius:3px;border:1px solid #ccc}.react__template-wrapper.hide{display:none}.react__template-wrapper:hover{cursor:pointer}.template__page-wrapper{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.template__page-wrapper .repository__url{text-decoration:none}.input__fields-wrapper{display:flex;flex-direction:column;gap:10px}.details__wrapper{display:flex;flex-direction:column;gap:10px}.selection__buttons-wrapper{display:flex;gap:10px;padding-top:10px;align-items:center}.selection__buttons-wrapper .vue__label{color:#ccc}.selection__buttons-wrapper label:not(.vue__label):hover{cursor:pointer}.selection__buttons-wrapper .selection__input{display:flex;align-items:center;gap:5px}.selection__buttons-wrapper .selection__input input{margin:0;height:20px;width:20px}.selection__buttons-wrapper .selection__input input:hover:not(.vue__input){cursor:pointer}.image__wrapper img{width:300px;height:100%;border-radius:3px;object-fit:fill}";const n=l;const p=class{constructor(r){e(this,r);this.toggleTemplates=t(this,"toggleTemplates",7);this.fieldError=t(this,"fieldError",7);this.repoDetails={name:"",desc:"",framework:""};this.repoUrl=undefined;this.showDetails=false;this.isTemplatePage=false;this.isLoading=true;this.repoError=undefined;this.name=undefined;this.thumbnail=undefined}authUser(){const e=undefined;const t="http://localhost:6262/?path=/docs/dds-templates--development";const r=undefined;const i=undefined;const o=`https://github.com/login/oauth/authorize?`+`client_id=${e}&`+`redirect_uri=${t}&`+`scope=${r}&`+`state=${i}`;window.open(o,"_blank")}componentDidLoad(){const e=new URL(window.location.href);const t=e.searchParams.get("code");const{templateName:r}=this.getLocalStorageValues();if(t&&this.name===r){this.isTemplatePage=true;this.toggleTemplates.emit("details");this.getUserToken(t)}}getLocalStorageValues(){const e=localStorage.getItem("repo_name");const t=localStorage.getItem("repo_desc");const r=localStorage.getItem("repo_framework");const i=localStorage.getItem("selectedTemplate");return{repoName:e,repoDesc:t,repoFramework:r,templateName:i}}async getUserToken(e){const{repoName:t,repoDesc:r,repoFramework:i,templateName:o}=this.getLocalStorageValues();fetch(`http://localhost:5000/token/${e}/${t}/${r}/${i}/${o}`).then((e=>{if(e.ok){return e.text()}else{return e.text().then((e=>{throw new Error(e)}))}})).then((e=>{if(e){this.isLoading=false;this.repoUrl=e;localStorage.clear()}})).catch((e=>{this.repoError=e.message;console.error("Error:",e.message)}))}handleUserInput(e,t){if(t==="name"){this.repoDetails=Object.assign(Object.assign({},this.repoDetails),{name:e.target.value})}else if(t==="desc"){this.repoDetails=Object.assign(Object.assign({},this.repoDetails),{desc:e.target.value})}else if(t==="framework"){this.repoDetails=Object.assign(Object.assign({},this.repoDetails),{framework:e.target.value})}}submitUserData(){if(this.repoDetails.name&&this.repoDetails.desc&&this.repoDetails.framework){localStorage.setItem("repo_name",this.repoDetails.name);localStorage.setItem("repo_desc",this.repoDetails.desc);localStorage.setItem("repo_framework",this.repoDetails.framework);localStorage.setItem("selectedTemplate",this.name);this.fieldError.emit(false);this.authUser()}else{this.fieldError.emit("All fields are mandatory")}}togglePadding(e){let t=this.el.parentElement;if(t){const r=t.getRootNode();if(r instanceof ShadowRoot){t=r.host.parentElement}else{t=t.parentElement}if(e==="remove"){t.parentElement.style.padding="0px"}else if(e==="add"){t.parentElement.style.padding="4rem 20px"}}}handleCurrentTemplate(e){if(e){this.togglePadding("remove");const t=e.currentTarget;this.toggleTemplates.emit(t);this.showDetails=true}}async toggleTemplate(e){const t=this.el.shadowRoot.querySelector(".react__template-wrapper");if(t){if(!t.classList.contains("hide")&&e){if(t!==e){t.classList.add("hide")}}else{if(this.showDetails){this.showDetails=false}this.togglePadding("add");t.classList.remove("hide")}}}render(){return r("div",{key:"0c438bc36e752d1792da4675d8c3287b845579a1"},this.isTemplatePage?r("div",{class:"template__page-wrapper"},!this.repoUrl&&!this.repoError&&r("div",null,r("h3",null,"Your repository is getting ready.."),r("p",null,"This will only take a minute.")),this.isLoading&&!this.repoError&&r("div",null,r("ifx-spinner",{variant:"default",size:"s"})),this.repoUrl&&r("ifx-link",{href:this.repoUrl,target:"_parent",size:"m",variant:"underlined"},"Your repository"),this.repoError&&r("div",null,this.repoError)):r("div",{class:"react__template-container"},r("div",{class:"react__template-wrapper",onClick:e=>this.handleCurrentTemplate(e)},r("div",{class:"image__wrapper"},r("img",{src:this.thumbnail}))),this.showDetails&&r("div",{class:"details__wrapper"},r("div",{class:"selection__buttons-wrapper"},r("div",{class:"selection__input"},r("input",{type:"radio",id:"react",name:"chosen_framework",value:"react",onInput:e=>this.handleUserInput(e,"framework")}),r("label",{htmlFor:"react"},"React")),r("div",{class:"selection__input vue"},r("input",{class:"vue__input",disabled:true,type:"radio",id:"vue",name:"chosen_framework",value:"vue",onInput:e=>this.handleUserInput(e,"framework")}),r("label",{class:"vue__label",htmlFor:"vue"},"Vue")," (Soon)")),r("div",{class:"input__fields-wrapper"},r("ifx-text-field",{required:true,onInput:e=>this.handleUserInput(e,"name"),size:"m",icon:"c-info-16",placeholder:"Your repository name"},"Repository Name"),r("ifx-text-field",{required:true,size:"m",icon:"c-info-16",onInput:e=>this.handleUserInput(e,"desc"),placeholder:"Your repository description"},"Repository Description"),r("ifx-button",{fullWidth:true,onClick:()=>this.submitUserData(),variant:"primary"},"Generate template")))))}get el(){return i(this)}};p.style=n;export{s as ifx_alert,p as ifx_template};
2
+ //# sourceMappingURL=p-bad85c4c.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["alertCss","IfxAlertStyle0","Alert","this","alertTypeDescription","primary","success","danger","warning","info","handleClose","ifxClose","emit","renderCloseButton","h","class","onClick","bind","icon","generateUniqueId","prefix","Math","random","toString","substring","componentWillLoad","uniqueId","render","variant","role","AriaLive","name","id","closable","templateCss","IfxTemplateStyle0","Template","desc","framework","authUser","clientId","undefined","redirectUri","scope","state","authorizationUrl","window","open","componentDidLoad","url","URL","location","href","code","searchParams","get","templateName","getLocalStorageValues","isTemplatePage","toggleTemplates","getUserToken","repoName","localStorage","getItem","repoDesc","repoFramework","authCode","fetch","then","response","ok","text","errorMessage","Error","data","isLoading","repoUrl","clear","catch","error","repoError","message","console","handleUserInput","e","type","repoDetails","Object","assign","target","value","submitUserData","setItem","fieldError","togglePadding","action","parent","el","parentElement","rootNode","getRootNode","ShadowRoot","host","style","padding","handleCurrentTemplate","targetTemplate","currentTarget","showDetails","toggleTemplate","currTemp","templateWrapper","shadowRoot","querySelector","classList","contains","add","remove","key","size","src","thumbnail","onInput","htmlFor","disabled","required","placeholder","fullWidth"],"sources":["src/components/alert/alert.scss?tag=ifx-alert&encapsulation=shadow","src/components/alert/alert.tsx","src/components/templates/template/template.scss?tag=ifx-template&encapsulation=shadow","src/components/templates/template/template.tsx"],"sourcesContent":["@use \"~@infineon/design-system-tokens/dist/tokens\";\n@use \"../../global/font.scss\";\n\n:host {\n display: block;\n}\n\n.alert__info-wrapper {\n display: flex;\n padding: 16px 24px;\n font-family: var(--ifx-font-family);\n box-shadow: 0px 6px 9px 0px #1D1D1D1A;\n\n\n & .info__text-wrapper {\n display: flex;\n flex-direction: column;\n gap: tokens.$ifxSpace100;\n width: 100%;\n\n & .info__headline-wrapper {\n display: -webkit-box;\n -webkit-line-clamp: 1;\n line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n & .info__headline-wrapper,\n .info__description-wrapper {\n color: #1D1D1D;\n font-size: 16px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px;\n\n ::slotted(p) {\n padding: 0;\n margin: 0;\n }\n }\n\n & .info__description-wrapper {\n font-weight: 400;\n }\n }\n\n & .close-icon-wrapper {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n //min-width: tokens.$ifxSize500;\n\n & button {\n all: unset;\n display: flex;\n align-items: center;\n justify-content: center;\n line-height: 0;\n color: tokens.$ifxColorBaseBlack;\n height: tokens.$ifxSize300;\n width: tokens.$ifxSize300;\n\n\n &:focus {\n outline: 2px solid tokens.$ifxColorOcean500;\n outline-offset: 2px;\n }\n }\n }\n}\n\n.alert {\n display: flex;\n border: 1px solid tokens.$ifxColorOcean500;\n border-radius: tokens.$ifxBorderRadius12;\n color: tokens.$ifxColorBaseBlack;\n background-color: tokens.$ifxColorBaseWhite;\n font-family: var(--ifx-font-family);\n box-shadow: 0px 6px 9px 0px #1D1D1D1A;\n\n\n & .close-icon-wrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: tokens.$ifxSize500;\n\n & button {\n all: unset;\n display: flex;\n align-items: center;\n justify-content: center;\n line-height: 0;\n color: tokens.$ifxColorBaseBlack;\n height: tokens.$ifxSize300;\n width: tokens.$ifxSize300;\n\n &:focus {\n outline: 2px solid tokens.$ifxColorOcean500;\n outline-offset: 2px;\n }\n }\n }\n\n & .icon-wrapper {\n position: relative;\n min-width: tokens.$ifxSize600;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: tokens.$ifxColorOcean500;\n }\n\n & .alert-text {\n font-size: 16px;\n width: 100%;\n padding: 12px 0px 12px 12px;\n color: tokens.$ifxColorBaseBlack;\n\n white-space: pre-wrap;\n /* wraps text at spaces and within words */\n word-wrap: break-word;\n /* breaks text within a word if necessary */\n overflow-wrap: anywhere;\n /* breaks text at arbitrary points when needed */\n }\n\n &.primary {\n border: 1px solid tokens.$ifxColorOcean500;\n\n & .icon-wrapper {\n background-color: tokens.$ifxColorOcean500;\n color: tokens.$ifxColorBaseWhite;\n }\n }\n\n &.success {\n border: 1px solid tokens.$ifxColorGreen500;\n\n & .icon-wrapper {\n background-color: tokens.$ifxColorGreen500;\n color: tokens.$ifxColorBaseWhite;\n }\n }\n\n &.danger {\n border: 1px solid tokens.$ifxColorRed500;\n\n & .icon-wrapper {\n background-color: tokens.$ifxColorRed500;\n color: tokens.$ifxColorBaseWhite;\n }\n }\n\n &.warning {\n border: 1px solid tokens.$ifxColorOrange500;\n\n & .icon-wrapper {\n background-color: tokens.$ifxColorOrange500;\n color: tokens.$ifxColorBaseWhite;\n }\n }\n}\n\n.close-icon-wrapper {\n & ifx-icon {\n &:hover {\n cursor: pointer;\n }\n }\n}","import { Component, Prop, h, Event, EventEmitter, State } from '@stencil/core';\n\n@Component({\n tag: 'ifx-alert',\n styleUrl: 'alert.scss',\n shadow: true,\n})\nexport class Alert {\n @Prop() variant: 'primary' | 'success' | 'danger' | 'warning' | 'info' = 'primary';\n @Prop() icon: string;\n @Event() ifxClose: EventEmitter;\n @Prop() closable: boolean = true;\n @Prop() AriaLive = 'assertive';\n @State() uniqueId: string;\n\n alertTypeDescription = {\n \"primary\": 'Neutral alert',\n \"success\": 'Success Alert',\n \"danger\": 'Error Alert',\n \"warning\": 'Warning Alert',\n \"info\": 'Neutral alert',\n };\n\n handleClose() {\n this.ifxClose.emit();\n }\n\n renderCloseButton() {\n return (\n <div class=\"close-icon-wrapper\">\n <button onClick={this.handleClose.bind(this)} aria-label=\"Dismiss alert\">\n <ifx-icon icon=\"cross-16\" />\n </button>\n </div>\n );\n }\n\n generateUniqueId(prefix = 'id') {\n return `${prefix}-${Math.random().toString(36).substring(2, 9)}`;\n }\n\n componentWillLoad() { \n if (!this.uniqueId) {\n this.uniqueId = this.generateUniqueId('alert');\n }\n }\n\n render() {\n return this.variant === 'info' ? (\n <div class=\"alert__info-wrapper\" role=\"alert\" aria-live={this.AriaLive} aria-describedby={this.alertTypeDescription[this.variant]} aria-labelledby=\"alert-text alert-description\">\n <div class=\"info__text-wrapper\">\n <div class=\"info__headline-wrapper\">\n <slot name=\"headline\" />\n </div>\n <div id={`alert-description-${this.uniqueId}`} class=\"info__description-wrapper\">\n <slot name=\"desc\" />\n </div>\n </div>\n {this.closable ? this.renderCloseButton() : null}\n </div>\n ) : (\n <div class={`alert ${this.variant}`} role=\"alert\">\n {this.icon && (\n <div class=\"icon-wrapper\">\n <ifx-icon icon={this.icon} />\n </div>\n )}\n <div class=\"alert-text\" id={`alert-text-${this.uniqueId}`}>\n <slot />\n </div>\n {this.closable ? this.renderCloseButton() : null}\n </div>\n );\n }\n}\n","\n.react__template-wrapper { \n display: flex;\n width: 300px;\n height: 200px;\n border-radius: 3px;\n border: 1px solid #ccc;\n\n &.hide { \n display: none;\n }\n \n &:hover { \n cursor: pointer;\n }\n}\n\n.template__page-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n\n & .repository__url { \n text-decoration: none;\n }\n}\n\n.input__fields-wrapper { \n display: flex;\n flex-direction: column;\n gap: 10px;\n\n}\n\n.details__wrapper { \n display: flex;\n flex-direction: column;\n gap: 10px;\n}\n\n.selection__buttons-wrapper { \n display: flex;\n gap: 10px;\n padding-top: 10px;\n align-items: center;\n & .vue__label { \n color: #ccc;\n }\n\n & label:not(.vue__label) { \n &:hover { \n cursor: pointer;\n }\n }\n\n & .selection__input { \n display: flex;\n align-items: center;\n gap: 5px;\n & input { \n margin: 0;\n height: 20px;\n width: 20px;\n &:hover:not(.vue__input) { \n cursor: pointer;\n }\n }\n }\n}\n\n.image__wrapper { \n img { \n width: 300px;\n height: 100%;\n border-radius: 3px;\n object-fit: fill;\n }\n}","import { Component, h, Element, State, Prop, Event, EventEmitter, Method } from '@stencil/core';\n\n@Component({\n tag: 'ifx-template',\n styleUrl: 'template.scss',\n shadow: true,\n})\nexport class Template {\n @Element() el: HTMLElement;\n @State() repoDetails: { name: string, desc: string, framework: string } = { name: \"\", desc: \"\", framework: \"\" };\n @State() repoUrl: string;\n @State() showDetails: boolean = false;\n @State() isTemplatePage: boolean = false;\n @State() isLoading: boolean = true;\n @State() repoError: string;\n @Prop() name: string;\n @Event() toggleTemplates: EventEmitter;\n @Event() fieldError: EventEmitter;\n @Prop() thumbnail: string;\n\n authUser() { \n const clientId = process.env.CLIENT_ID;\n const redirectUri = 'http://localhost:6262/?path=/docs/dds-templates--development';\n const scope = process.env.SCOPE;\n const state = process.env.STATE;\n\n const authorizationUrl = `https://github.com/login/oauth/authorize?` +\n `client_id=${clientId}&` +\n `redirect_uri=${redirectUri}&` +\n `scope=${scope}&` +\n `state=${state}`;\n \n window.open(authorizationUrl, '_blank'); \n }\n\n componentDidLoad() { \n const url = new URL(window.location.href);\n const code = url.searchParams.get('code');\n const { templateName } = this.getLocalStorageValues()\n if(code && this.name === templateName) { \n this.isTemplatePage = true;\n this.toggleTemplates.emit('details')\n this.getUserToken(code)\n } \n }\n\n getLocalStorageValues() { \n const repoName = localStorage.getItem('repo_name');\n const repoDesc = localStorage.getItem('repo_desc');\n const repoFramework = localStorage.getItem('repo_framework');\n const templateName = localStorage.getItem('selectedTemplate');\n return { repoName, repoDesc, repoFramework, templateName }\n }\n\n async getUserToken(authCode) {\n const { repoName, repoDesc, repoFramework, templateName } = this.getLocalStorageValues();\n\n fetch(`http://localhost:5000/token/${authCode}/${repoName}/${repoDesc}/${repoFramework}/${templateName}`)\n .then(response => {\n if (response.ok) {\n return response.text();\n } else {\n return response.text().then(errorMessage => {\n throw new Error(errorMessage);\n });\n }\n })\n .then(data => { \n if(data) { \n this.isLoading = false;\n this.repoUrl = data;\n localStorage.clear();\n } \n })\n .catch(error => {\n this.repoError = error.message;\n console.error('Error:', error.message)\n });\n }\n\n handleUserInput(e, type) { \n if (type === 'name') {\n this.repoDetails = { ...this.repoDetails, name: e.target.value };\n } else if (type === 'desc') {\n this.repoDetails = { ...this.repoDetails, desc: e.target.value };\n } else if(type === 'framework') { \n this.repoDetails = { ...this.repoDetails, framework: e.target.value };\n }\n }\n\n submitUserData() { \n if(this.repoDetails.name && this.repoDetails.desc && this.repoDetails.framework) { \n localStorage.setItem('repo_name', this.repoDetails.name);\n localStorage.setItem('repo_desc', this.repoDetails.desc);\n localStorage.setItem('repo_framework', this.repoDetails.framework);\n localStorage.setItem('selectedTemplate', this.name);\n this.fieldError.emit(false)\n this.authUser()\n } else { \n this.fieldError.emit('All fields are mandatory')\n }\n }\n\n togglePadding(action) { \n let parent = this.el.parentElement;\n if (parent) {\n const rootNode = parent.getRootNode();\n if (rootNode instanceof ShadowRoot) {\n parent = rootNode.host.parentElement;\n } else {\n parent = parent.parentElement;\n }\n if(action === 'remove') { \n parent.parentElement.style.padding = '0px';\n } else if(action === 'add') { \n parent.parentElement.style.padding = '4rem 20px';\n }\n }\n }\n\n handleCurrentTemplate(e) { \n if(e) { \n this.togglePadding('remove')\n const targetTemplate = e.currentTarget;\n this.toggleTemplates.emit(targetTemplate)\n this.showDetails = true;\n } \n }\n\n @Method()\n async toggleTemplate(currTemp) { \n const templateWrapper = this.el.shadowRoot.querySelector('.react__template-wrapper');\n if(templateWrapper) { \n if(!templateWrapper.classList.contains('hide') && currTemp ) { \n if(templateWrapper !== currTemp) {\n templateWrapper.classList.add('hide')\n }\n } else { \n if(this.showDetails) { \n this.showDetails = false;\n }\n this.togglePadding('add')\n templateWrapper.classList.remove('hide')\n }\n }\n }\n\n \n render() {\n return (\n <div>\n {this.isTemplatePage \n ? \n <div class=\"template__page-wrapper\">\n {!this.repoUrl && !this.repoError && \n <div>\n <h3>Your repository is getting ready..</h3>\n <p>This will only take a minute.</p>\n </div>}\n {this.isLoading && !this.repoError && <div><ifx-spinner variant='default' size='s' /></div>}\n {this.repoUrl && <ifx-link href={this.repoUrl} target=\"_parent\" size=\"m\" variant=\"underlined\">Your repository</ifx-link>}\n {this.repoError && <div>{this.repoError}</div>}\n </div> \n : \n <div class=\"react__template-container\">\n <div class=\"react__template-wrapper\" onClick={(e) => this.handleCurrentTemplate(e)}>\n <div class=\"image__wrapper\">\n <img src={this.thumbnail} />\n </div>\n </div>\n {this.showDetails && \n <div class=\"details__wrapper\">\n <div class=\"selection__buttons-wrapper\">\n <div class=\"selection__input\">\n <input type=\"radio\" id=\"react\" name=\"chosen_framework\" value=\"react\" onInput={(e) => this.handleUserInput(e, 'framework')} />\n <label htmlFor=\"react\">React</label>\n </div>\n <div class=\"selection__input vue\">\n <input class=\"vue__input\" disabled type=\"radio\" id=\"vue\" name=\"chosen_framework\" value=\"vue\" onInput={(e) => this.handleUserInput(e, 'framework')}/>\n <label class=\"vue__label\" htmlFor=\"vue\">Vue</label> (Soon)\n </div>\n </div>\n \n\n <div class=\"input__fields-wrapper\">\n <ifx-text-field required={true} onInput={(e) => this.handleUserInput(e, 'name')} size=\"m\" icon=\"c-info-16\" placeholder=\"Your repository name\">Repository Name</ifx-text-field>\n\n <ifx-text-field required={true} size=\"m\" icon=\"c-info-16\" onInput={(e) => this.handleUserInput(e, 'desc')} placeholder=\"Your repository description\">Repository Description</ifx-text-field>\n\n <ifx-button fullWidth={true} onClick={() => this.submitUserData()} variant='primary'>Generate template</ifx-button>\n </div>\n \n </div>}\n </div>}\n </div>\n );\n }\n}"],"mappings":"yDAAA,MAAMA,EAAW,qoFACjB,MAAAC,EAAeD,E,MCMFE,EAAK,M,4DAQhBC,KAAAC,qBAAuB,CACrBC,QAAW,gBACXC,QAAW,gBACXC,OAAU,cACVC,QAAW,gBACXC,KAAQ,iB,aAZ+D,U,kCAG7C,K,cACT,Y,wBAWnB,WAAAC,GACEP,KAAKQ,SAASC,M,CAGhB,iBAAAC,GACE,OACEC,EAAA,OAAKC,MAAM,sBACTD,EAAA,UAAQE,QAASb,KAAKO,YAAYO,KAAKd,MAAK,aAAa,iBACvDW,EAAA,YAAUI,KAAK,c,CAMvB,gBAAAC,CAAiBC,EAAS,MACxB,MAAO,GAAGA,KAAUC,KAAKC,SAASC,SAAS,IAAIC,UAAU,EAAG,I,CAG9D,iBAAAC,GACE,IAAKtB,KAAKuB,SAAU,CAClBvB,KAAKuB,SAAWvB,KAAKgB,iBAAiB,Q,EAI1C,MAAAQ,GACE,OAAOxB,KAAKyB,UAAY,OACtBd,EAAA,OAAKC,MAAM,sBAAsBc,KAAK,QAAO,YAAY1B,KAAK2B,SAAQ,mBAAoB3B,KAAKC,qBAAqBD,KAAKyB,SAAQ,kBAAkB,gCACjJd,EAAA,OAAKC,MAAM,sBACTD,EAAA,OAAKC,MAAM,0BACTD,EAAA,QAAMiB,KAAK,cAEbjB,EAAA,OAAKkB,GAAI,qBAAqB7B,KAAKuB,WAAYX,MAAM,6BACnDD,EAAA,QAAMiB,KAAK,WAGd5B,KAAK8B,SAAW9B,KAAKU,oBAAsB,MAG9CC,EAAA,OAAKC,MAAO,SAASZ,KAAKyB,UAAWC,KAAK,SACvC1B,KAAKe,MACJJ,EAAA,OAAKC,MAAM,gBACTD,EAAA,YAAUI,KAAMf,KAAKe,QAGzBJ,EAAA,OAAKC,MAAM,aAAaiB,GAAI,cAAc7B,KAAKuB,YAC7CZ,EAAA,cAEDX,KAAK8B,SAAW9B,KAAKU,oBAAsB,K,aCtEpD,MAAMqB,EAAc,4hCACpB,MAAAC,EAAeD,E,MCMFE,EAAQ,M,kIAEuD,CAAEL,KAAM,GAAIM,KAAM,GAAIC,UAAW,I,wCAE3E,M,oBACG,M,eACL,K,sEAO9B,QAAAC,GACE,MAAMC,EAAWC,UACjB,MAAMC,EAAc,+DACpB,MAAMC,EAAQF,UACd,MAAMG,EAAQH,UAEd,MAAMI,EAAmB,4CACvB,aAAaL,KACb,gBAAgBE,KAChB,SAASC,KACT,SAASC,IAETE,OAAOC,KAAKF,EAAkB,S,CAGlC,gBAAAG,GACE,MAAMC,EAAM,IAAIC,IAAIJ,OAAOK,SAASC,MACpC,MAAMC,EAAOJ,EAAIK,aAAaC,IAAI,QAClC,MAAMC,aAAEA,GAAiBrD,KAAKsD,wBAC9B,GAAGJ,GAAQlD,KAAK4B,OAASyB,EAAc,CACrCrD,KAAKuD,eAAiB,KACtBvD,KAAKwD,gBAAgB/C,KAAK,WAC1BT,KAAKyD,aAAaP,E,EAItB,qBAAAI,GACE,MAAMI,EAAWC,aAAaC,QAAQ,aACtC,MAAMC,EAAWF,aAAaC,QAAQ,aACtC,MAAME,EAAgBH,aAAaC,QAAQ,kBAC3C,MAAMP,EAAeM,aAAaC,QAAQ,oBAC1C,MAAO,CAAEF,WAAUG,WAAUC,gBAAeT,e,CAG9C,kBAAMI,CAAaM,GACjB,MAAML,SAAEA,EAAQG,SAAEA,EAAQC,cAAEA,EAAaT,aAAEA,GAAiBrD,KAAKsD,wBAEjEU,MAAM,+BAA+BD,KAAYL,KAAYG,KAAYC,KAAiBT,KACzFY,MAAKC,IACJ,GAAIA,EAASC,GAAI,CACf,OAAOD,EAASE,M,KACX,CACL,OAAOF,EAASE,OAAOH,MAAKI,IAC1B,MAAM,IAAIC,MAAMD,EAAa,G,KAIlCJ,MAAKM,IACJ,GAAGA,EAAM,CACPvE,KAAKwE,UAAY,MACjBxE,KAAKyE,QAAUF,EACfZ,aAAae,O,KAGhBC,OAAMC,IACL5E,KAAK6E,UAAYD,EAAME,QACvBC,QAAQH,MAAM,SAAUA,EAAME,QAAQ,G,CAI1C,eAAAE,CAAgBC,EAAGC,GACjB,GAAIA,IAAS,OAAQ,CACnBlF,KAAKmF,YAAWC,OAAAC,OAAAD,OAAAC,OAAA,GAAQrF,KAAKmF,aAAW,CAAEvD,KAAMqD,EAAEK,OAAOC,O,MACpD,GAAIL,IAAS,OAAQ,CAC1BlF,KAAKmF,YAAWC,OAAAC,OAAAD,OAAAC,OAAA,GAAQrF,KAAKmF,aAAW,CAAEjD,KAAM+C,EAAEK,OAAOC,O,MACpD,GAAGL,IAAS,YAAa,CAC9BlF,KAAKmF,YAAWC,OAAAC,OAAAD,OAAAC,OAAA,GAAQrF,KAAKmF,aAAW,CAAEhD,UAAW8C,EAAEK,OAAOC,O,EAIlE,cAAAC,GACE,GAAGxF,KAAKmF,YAAYvD,MAAQ5B,KAAKmF,YAAYjD,MAAQlC,KAAKmF,YAAYhD,UAAW,CAC/EwB,aAAa8B,QAAQ,YAAazF,KAAKmF,YAAYvD,MACnD+B,aAAa8B,QAAQ,YAAazF,KAAKmF,YAAYjD,MACnDyB,aAAa8B,QAAQ,iBAAkBzF,KAAKmF,YAAYhD,WACxDwB,aAAa8B,QAAQ,mBAAoBzF,KAAK4B,MAC9C5B,KAAK0F,WAAWjF,KAAK,OACrBT,KAAKoC,U,KACA,CACLpC,KAAK0F,WAAWjF,KAAK,2B,EAIzB,aAAAkF,CAAcC,GACZ,IAAIC,EAAS7F,KAAK8F,GAAGC,cACrB,GAAIF,EAAQ,CACV,MAAMG,EAAWH,EAAOI,cACxB,GAAID,aAAoBE,WAAY,CAClCL,EAASG,EAASG,KAAKJ,a,KAClB,CACLF,EAASA,EAAOE,a,CAElB,GAAGH,IAAW,SAAU,CACtBC,EAAOE,cAAcK,MAAMC,QAAU,K,MAChC,GAAGT,IAAW,MAAO,CAC1BC,EAAOE,cAAcK,MAAMC,QAAU,W,GAK3C,qBAAAC,CAAsBrB,GACpB,GAAGA,EAAG,CACJjF,KAAK2F,cAAc,UACnB,MAAMY,EAAiBtB,EAAEuB,cACzBxG,KAAKwD,gBAAgB/C,KAAK8F,GAC1BvG,KAAKyG,YAAc,I,EAKvB,oBAAMC,CAAeC,GACnB,MAAMC,EAAkB5G,KAAK8F,GAAGe,WAAWC,cAAc,4BACzD,GAAGF,EAAiB,CAClB,IAAIA,EAAgBG,UAAUC,SAAS,SAAWL,EAAW,CAC3D,GAAGC,IAAoBD,EAAU,CAC/BC,EAAgBG,UAAUE,IAAI,O,MAE3B,CACL,GAAGjH,KAAKyG,YAAa,CACnBzG,KAAKyG,YAAc,K,CAErBzG,KAAK2F,cAAc,OACnBiB,EAAgBG,UAAUG,OAAO,O,GAMvC,MAAA1F,GACI,OACEb,EAAA,OAAAwG,IAAA,4CACGnH,KAAKuD,eAEN5C,EAAA,OAAKC,MAAM,2BACPZ,KAAKyE,UAAYzE,KAAK6E,WACxBlE,EAAA,WACEA,EAAA,gDACAA,EAAA,2CAEDX,KAAKwE,YAAcxE,KAAK6E,WAAalE,EAAA,WAAKA,EAAA,eAAac,QAAQ,UAAU2F,KAAK,OAC9EpH,KAAKyE,SAAW9D,EAAA,YAAUsC,KAAMjD,KAAKyE,QAASa,OAAO,UAAU8B,KAAK,IAAI3F,QAAQ,cAAY,mBAC5FzB,KAAK6E,WAAalE,EAAA,WAAMX,KAAK6E,YAGhClE,EAAA,OAAKC,MAAM,6BACPD,EAAA,OAAKC,MAAM,0BAA0BC,QAAUoE,GAAMjF,KAAKsG,sBAAsBrB,IAC9EtE,EAAA,OAAKC,MAAM,kBACTD,EAAA,OAAK0G,IAAKrH,KAAKsH,cAGpBtH,KAAKyG,aACN9F,EAAA,OAAKC,MAAM,oBACTD,EAAA,OAAKC,MAAM,8BACTD,EAAA,OAAKC,MAAM,oBACTD,EAAA,SAAOuE,KAAK,QAAQrD,GAAG,QAAQD,KAAK,mBAAmB2D,MAAM,QAAQgC,QAAUtC,GAAMjF,KAAKgF,gBAAgBC,EAAG,eAC7GtE,EAAA,SAAO6G,QAAQ,SAAO,UAExB7G,EAAA,OAAKC,MAAM,wBACTD,EAAA,SAAOC,MAAM,aAAa6G,SAAQ,KAACvC,KAAK,QAAQrD,GAAG,MAAMD,KAAK,mBAAmB2D,MAAM,MAAMgC,QAAUtC,GAAMjF,KAAKgF,gBAAgBC,EAAG,eACrItE,EAAA,SAAOC,MAAM,aAAa4G,QAAQ,OAAK,OAAY,YAKvD7G,EAAA,OAAKC,MAAM,yBACTD,EAAA,kBAAgB+G,SAAU,KAAMH,QAAUtC,GAAMjF,KAAKgF,gBAAgBC,EAAG,QAASmC,KAAK,IAAIrG,KAAK,YAAY4G,YAAY,wBAAsB,mBAE7IhH,EAAA,kBAAgB+G,SAAU,KAAMN,KAAK,IAAIrG,KAAK,YAAYwG,QAAUtC,GAAMjF,KAAKgF,gBAAgBC,EAAG,QAAS0C,YAAY,+BAA6B,0BAEpJhH,EAAA,cAAYiH,UAAW,KAAM/G,QAAS,IAAMb,KAAKwF,iBAAkB/D,QAAQ,WAAS,wB","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as e,c as t,h as i,g as n}from"./p-80bb0959.js";const a='.navbar__item{position:relative;display:flex;flex-direction:row;align-items:center;padding:0px 8px;flex:none;order:0;flex-grow:0;font-family:var(--ifx-font-family);text-decoration:none;font-weight:400;font-size:16px;color:#1D1D1D}.navbar__item.hide{display:none}.navbar__item.isParent{gap:8px}.navbar__item .navItemIconWrapper{transition:0.3s}.navbar__item.open .navItemIconWrapper{transform:rotate(-180deg);transition:0.3s}.navbar__item:hover{color:#0A8276;cursor:pointer}.navbar__item:hover .username__tooltip{display:block}.navbar__item:hover .navbar__container-right-content-navigation-item-icon-wrapper .initials__wrapper{cursor:pointer;background-color:#08665C}.navbar__item.remove{display:none}.navbar__item.removeLabel .label__wrapper{display:none}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper{position:relative;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:0px;gap:8px;flex:none;order:0;flex-grow:0}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper .username__tooltip{display:none;position:absolute;top:35px;right:0;text-wrap:nowrap;padding:1px 5px;font-size:13px;font-family:"Source Sans 3";background-color:black;color:#fff;z-index:99}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper:hover .username__tooltip{display:block}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper .initials__wrapper{display:flex;width:24px;height:24px;justify-content:center;align-items:center;border-radius:100%;background-color:#0A8276}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper .initials__wrapper .initials{color:#FFF;text-align:center;font-family:"Source Sans 3";font-size:14px;font-style:normal;font-weight:600;line-height:20px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper img{width:24px;height:24px;border-radius:100%}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper.removeWrapper{display:none}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper.hide{display:none}.container{position:relative}.container .sub__layer-back-button{display:none}.container .sub__layer-back-button.show{display:flex;justify-content:flex-start}.container .sub__layer-back-button.show .back__button-wrapper{display:flex;align-items:center;gap:8px;padding:8px 0 16px 0;color:#0A8276;font-size:16px;font-style:normal;font-weight:600;line-height:24px}.container .sub__layer-back-button.show .back__button-wrapper span:hover,.container .sub__layer-back-button.show .back__button-wrapper ifx-icon:hover{cursor:pointer}.container.hide{display:none}.container .inner__content-wrapper{display:flex;justify-content:space-between;align-items:center;gap:8px}.container .inner__content-wrapper.no-gap{gap:0px}.navbar-menu{position:absolute;display:none;list-style-type:none;visibility:visible;flex-direction:column;width:224px;min-width:224px;background:#FFFFFF;box-shadow:0px 6px 9px 0px rgba(29, 29, 29, 0.1019607843);border:1px solid #EEEDED;padding:8px 0px;font-family:var(--ifx-font-family)}.navbar-menu.open:not(.itemInMobileMenu){display:flex}.navbar-menu.itemInMobileMenu{display:none}.navbar-menu.right{left:100%;top:-40%}.navbar-menu.left{top:-40%;right:100%}.navbar-menu.rightSideItemMenu{left:initial;right:0px}.navbar__item.layer__item-parent{color:#1D1D1D;font-size:24px;font-style:normal;font-weight:600;line-height:32px;letter-spacing:-0.24px;cursor:initial}.navbar__item.layer__item-parent .navbar__container-right-content-navigation-item-icon-wrapper ifx-icon svg{width:24px;height:24px}.navbar__item.sidebarMenuItem{justify-content:space-between;padding:0}.navbar__item.menuItem{text-decoration:none;color:#1D1D1D;display:flex;align-items:center;justify-content:space-between;padding:8px 16px;gap:8px;font-family:var(--ifx-font-family)}.navbar__item.menuItem.hide{display:none}.navbar__item.menuItem .label__wrapper{color:#1D1D1D;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.navbar__item.menuItem:hover{cursor:pointer;background-color:#EEEDED}.navbar__item.menuItem:active{background-color:#BFBBBB}.sub__layer-menu{padding:5px;display:none}.sub__layer-menu.remove__margin{margin:0;padding:0}.sub__layer-menu.open{display:block}.navbar__item.hide{display:none}.menuItemRightIconWrapper.hide{display:none}.navItemIconWrapper.hide{display:none}';const s=a;const o=class{constructor(i){e(this,i);this.ifxNavItem=t(this,"ifxNavItem",7);this.showLabel=true;this.icon="";this.href="";this.target="_self";this.hideOnMobile=true;this.internalHref="";this.isMenuItem=false;this.hasChildNavItems=false;this.isSidebarMenuItem=false;this.itemPosition=undefined}handleOutsideClick(e){const t=e.composedPath();const i=this.getItemMenu();if(i){if(i.classList.contains("open")){if(!t.includes(this.el)){this.closeItemMenu()}}}}async hideComponent(){this.el.style.display="none"}async showComponent(){this.el.style.display=""}async toggleChildren(e){const t=this.getItemMenu();const i=this.getChevronDownIconWrapper();if(t){this.handleClassList(i,e,"hide");this.handleClassList(t,e,"itemInMobileMenu")}}async moveChildComponentsIntoSubLayerMenu(){const e=this.getItemMenu();if(e){const t=this.handleClassList(e,"contains","open");if(t){const e=this.getNavBarItem();const t=this.getSubLayerBackButton();this.handleClassList(e,"add","layer__item-parent");this.handleClassList(t,"add","show");this.ifxNavItem.emit({component:this.el,action:"hideFirstLayer"})}}const t=this.el.querySelectorAll('[slot="first__layer"]');this.isSidebarMenuItem=true;for(let e=0;e<t.length;e++){t[e].setAttribute("slot","second__layer");t[e].moveChildComponentsIntoSubLayerMenu()}}getSubLayerBackButton(){const e=this.el.shadowRoot.querySelector(".sub__layer-back-button");return e}async toggleFirstLayerItem(e,t){const i=this.getNavBarItem();const n=this.getSubLayerMenu();const a=this.getSubLayerBackButton();this.handleClassList(a,[e],"show");this.handleClassList(i,[t],"hide");this.handleClassList(n,[t],"remove__margin")}openSubLayerMenu(){if(this.hasChildNavItems){const e=this.getSubLayerBackButton();const t=this.getRightArrowIcon();const i=this.getNavBarItem();const n=this.getSubLayerMenu();const a=this.el.getAttribute("slot");this.handleClassList(e,"add","show");this.handleClassList(t,"add","hide");this.handleClassList(i,"add","layer__item-parent");this.handleClassList(n,"add","open");if(a.toLowerCase()==="second__layer"){this.ifxNavItem.emit({component:this.el,parent:this.el.parentElement,action:"hideSecondLayer"});this.handleClassList(i,"remove","menuItem")}else{this.ifxNavItem.emit({component:this.el,action:"hideFirstLayer"})}}}async addMenuItemClass(){const e=this.getNavBarItem();this.handleClassList(e,"add","menuItem");const t=this.getRightArrowIcon();if(this.hasChildNavItems){this.handleClassList(t,"remove","hide")}}async moveChildComponentsBackIntoNavbar(){const e=this.getSubLayerBackButton();const t=this.getNavBarItem();const i=this.getSubLayerMenu();this.handleClassList(e,"remove","show");this.handleClassList(t,"remove","layer__item-parent");this.handleClassList(i,"remove","remove__margin");this.ifxNavItem.emit({component:this.el,action:"show"});const n=this.el.querySelectorAll('[slot="second__layer"]');this.isSidebarMenuItem=false;this.showComponent();this.handleClassList(t,"remove","hide");for(let e=0;e<n.length;e++){n[e].setAttribute("slot","first__layer");n[e].moveChildComponentsBackIntoNavbar();n[e].addMenuItemClass();n[e].returnToFirstLayer()}}getRightArrowIcon(){const e=this.el.shadowRoot.querySelector(".menuItemRightIconWrapper");return e}getChevronDownIconWrapper(){const e=this.el.shadowRoot.querySelector(".navItemIconWrapper");return e}async returnToFirstLayer(){const e=this.getSubLayerBackButton();const t=this.getNavBarItem();const i=this.getRightArrowIcon();const n=this.getSubLayerMenu();const a=this.el.getAttribute("slot");this.handleClassList(e,"remove","show");this.handleClassList(t,"remove","layer__item-parent");this.handleClassList(n,"remove","open");if(this.hasChildNavItems){this.handleClassList(i,"remove","hide")}if(a.toLowerCase()==="second__layer"){this.ifxNavItem.emit({component:this.el,parent:this.el.parentElement,action:"returnToSecondLayer"});this.handleClassList(t,"add","menuItem")}else{this.ifxNavItem.emit({component:this.el,action:"return"})}}componentWillLoad(){this.setHref();this.checkIfItemIsNested();this.checkIfItemHasChildren()}componentDidLoad(){if(this.hasChildNavItems){const e=this.getNavbarItems();this.relocateItemsToFirstlayer(e)}}componentDidUpdate(){const e=this.getNavBarItem();const t=this.handleClassList(e,"contains","layer__item-parent");if(this.isSidebarMenuItem&&t){const e=this.getRightArrowIcon();this.handleClassList(e,"add","hide")}}async setMenuItemPosition(){if(this.isMenuItem&&this.hasChildNavItems){const e=this.getItemMenuPosition();if(e==="left"){this.itemPosition="left"}else if(e==="right"){this.itemPosition="right"}}}handleClassList(e,t,i){e.classList[t](i);if(t==="contains"){return e.classList.contains(i)}}getNavbarItems(){const e=this.el.querySelectorAll("ifx-navbar-item");return e}getNavBarItem(){const e=this.el.shadowRoot.querySelector(".navbar__item");return e}getSubLayerMenu(){const e=this.el.shadowRoot.querySelector(".sub__layer-menu");return e}relocateItemsToFirstlayer(e){e.forEach((e=>{e.setAttribute("slot","first__layer")}))}setHref(){if(this.href.toLowerCase().trim()===""){this.internalHref=undefined}else this.internalHref=this.href}checkIfItemIsNested(){const e=this.el.parentElement;if(e.tagName.toUpperCase()==="IFX-NAVBAR-ITEM"||e.tagName.toUpperCase()==="IFX-NAVBAR-PROFILE"){this.isMenuItem=true;return}else{this.isMenuItem=false}}checkIfItemHasChildren(){const e=this.getNavbarItems();if(e.length!==0){this.hasChildNavItems=true}else{this.hasChildNavItems=false}}async setItemSideSpecifications(){const e=this.el;const t=this.getItemMenu();const i=e.getAttribute("slot");if(i.toLowerCase().trim()==="right-item"){this.handleClassList(t,"add","rightSideItemMenu")}return true}getItemMenu(){const e=this.el.shadowRoot.querySelector(".navbar-menu");return e}closeItemMenu(){const e=this.getItemMenu();const t=this.getNavBarItem();if(e){this.handleClassList(e,"remove","open");this.handleClassList(t,"remove","open")}}getItemMenuPosition(){let e=this.el;while(e){if(e.tagName==="IFX-NAVBAR-PROFILE"||e.slot==="right-item"){return"left"}e=e.parentElement||e.getRootNode().host}return"right"}toggleItemMenu(){const e=this.el.getAttribute("slot");if(e.toLowerCase()==="mobile-menu-top"||e.toLowerCase()==="second__layer"){this.openSubLayerMenu()}if(!this.internalHref&&e.toLowerCase()!=="mobile-menu-top"&&e.toLowerCase()!=="second__layer"){const e=this.getItemMenu();if(this.hasChildNavItems){const t=this.getNavBarItem();this.handleClassList(e,"toggle","open");this.handleClassList(t,"toggle","open")}}}handleNestedLayerMenu(e){if(this.isMenuItem&&this.hasChildNavItems&&!this.isSidebarMenuItem){const t=this.getItemMenu();const i=this.getItemMenuPosition();if(e.type.toUpperCase()==="MOUSEENTER"){this.handleClassList(t,"add","open");if(i==="left"){this.handleClassList(t,"add","left")}else if(i==="right"){this.handleClassList(t,"add","right")}}if(e.type.toUpperCase()==="MOUSELEAVE"){this.handleClassList(t,"remove","open");if(i==="left"){this.handleClassList(t,"remove","left")}else if(i==="right"){this.handleClassList(t,"remove","right")}}}}render(){return i("div",{key:"13634ecaec0e699cd630a988c488bf5f1a78acc6",class:"container",onMouseLeave:e=>this.handleNestedLayerMenu(e),onMouseEnter:e=>this.handleNestedLayerMenu(e)},i("div",{key:"243a36ef46d86276decb997b0600eca0b0d5c5fe",class:"sub__layer-back-button"},i("div",{key:"8934bd3c56917caec9d4d393c2ada5b118b763c8",class:"back__button-wrapper",onClick:()=>this.returnToFirstLayer()},i("ifx-icon",{key:"322cb49509916ef87a3c93c95195cf33a026f75c",icon:"arrow-left-16"}),i("span",{key:"7ca43ff202b61aec18c7cd91392f745af9b643a1"},"Back"))),i("a",{key:"6fefb94a500381ea7db602b140603d7b32ee8a6f",href:this.internalHref,target:this.target,onClick:()=>this.toggleItemMenu(),class:`navbar__item ${this.isSidebarMenuItem?"sidebarMenuItem":""} ${!this.showLabel?"removeLabel":""} ${this.isMenuItem?"menuItem":""} ${this.hasChildNavItems?"isParent":""}`},i("div",{key:"35c9c7e69206dde9663cb5122006cdc6ceb46192",class:"inner__content-wrapper"},i("div",{key:"9d34ff13cca7e3d987fc5e40bd9567bbad2d1f71",class:`navbar__container-right-content-navigation-item-icon-wrapper ${!this.icon?"removeWrapper":""}`},this.icon&&i("ifx-icon",{key:"427f3744c3a20cd3de4d715409957b631b40fb19",icon:this.icon})),this.itemPosition==="left"&&this.hasChildNavItems&&this.isMenuItem&&i("div",{key:"66409c1673b1214743b192a9310a7cd83c70260f",class:"menuItemLeftIconWrapper"},i("ifx-icon",{key:"346ee2953bdc95c412ab25a0a7d2ab4ea1a057d2",icon:"chevron-left-12"})),i("span",{key:"43753e73eed3245fc078ac6ee0f7465b332647e6",class:"label__wrapper"},i("slot",{key:"effd9eddf861ebca903beb5a9f989bfa002410b7"}))),i("div",{key:"81ce037c34415e3cd3904677ce6f1497e0d8a84e",class:`navItemIconWrapper ${this.hasChildNavItems&&!this.isMenuItem&&!this.isSidebarMenuItem?"":"hide"}`},i("ifx-icon",{key:"17e855f85f4f3c9c0f39273fb0e50f7bfa6f13bd",icon:"chevron-down-12"})),i("div",{key:"abb1a9f20ccd63761a95e9d7abd24f6e18ea8ed5",class:`menuItemRightIconWrapper ${this.itemPosition==="right"&&this.hasChildNavItems&&this.isMenuItem||this.isSidebarMenuItem&&this.hasChildNavItems?"":"hide"}`},i("ifx-icon",{key:"c6c6e4c5973e55523cfcbd4c846ccb28a5e05efa",icon:"chevron-right-12"}))),this.hasChildNavItems&&!this.isSidebarMenuItem&&i("ul",{key:"61cac30e199cc2fc11b4bcd215e600997257af6b",class:"navbar-menu"}," ",i("slot",{key:"c2448abecc34b3cddbadaf2d121b4f418c0c35f3",name:"first__layer"})," "),this.isSidebarMenuItem&&i("ul",{key:"ce74087ee987d5841b666f42c36ed1ef61a5a8a5",class:"sub__layer-menu"}," ",i("slot",{key:"35494e30c60e050ef6a77722030c6889d3d9a382",name:"second__layer"})," "))}get el(){return n(this)}};o.style=s;export{o as ifx_navbar_item};
2
- //# sourceMappingURL=p-ee68427e.entry.js.map
1
+ import{r as e,c as t,h as i,g as n}from"./p-7aa4082c.js";const a='.navbar__item{position:relative;display:flex;flex-direction:row;align-items:center;padding:0px 8px;flex:none;order:0;flex-grow:0;font-family:var(--ifx-font-family);text-decoration:none;font-weight:400;font-size:16px;color:#1D1D1D}.navbar__item.hide{display:none}.navbar__item.isParent{gap:8px}.navbar__item .navItemIconWrapper{transition:0.3s}.navbar__item.open .navItemIconWrapper{transform:rotate(-180deg);transition:0.3s}.navbar__item:hover{color:#0A8276;cursor:pointer}.navbar__item:hover .username__tooltip{display:block}.navbar__item:hover .navbar__container-right-content-navigation-item-icon-wrapper .initials__wrapper{cursor:pointer;background-color:#08665C}.navbar__item.remove{display:none}.navbar__item.removeLabel .label__wrapper{display:none}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper{position:relative;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:0px;gap:8px;flex:none;order:0;flex-grow:0}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper .username__tooltip{display:none;position:absolute;top:35px;right:0;text-wrap:nowrap;padding:1px 5px;font-size:13px;font-family:"Source Sans 3";background-color:black;color:#fff;z-index:99}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper:hover .username__tooltip{display:block}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper .initials__wrapper{display:flex;width:24px;height:24px;justify-content:center;align-items:center;border-radius:100%;background-color:#0A8276}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper .initials__wrapper .initials{color:#FFF;text-align:center;font-family:"Source Sans 3";font-size:14px;font-style:normal;font-weight:600;line-height:20px;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper img{width:24px;height:24px;border-radius:100%}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper.removeWrapper{display:none}.navbar__item .navbar__container-right-content-navigation-item-icon-wrapper.hide{display:none}.container{position:relative}.container .sub__layer-back-button{display:none}.container .sub__layer-back-button.show{display:flex;justify-content:flex-start}.container .sub__layer-back-button.show .back__button-wrapper{display:flex;align-items:center;gap:8px;padding:8px 0 16px 0;color:#0A8276;font-size:16px;font-style:normal;font-weight:600;line-height:24px}.container .sub__layer-back-button.show .back__button-wrapper span:hover,.container .sub__layer-back-button.show .back__button-wrapper ifx-icon:hover{cursor:pointer}.container.hide{display:none}.container .inner__content-wrapper{display:flex;justify-content:space-between;align-items:center;gap:8px}.container .inner__content-wrapper.no-gap{gap:0px}.navbar-menu{position:absolute;display:none;list-style-type:none;visibility:visible;flex-direction:column;width:224px;min-width:224px;background:#FFFFFF;box-shadow:0px 6px 9px 0px rgba(29, 29, 29, 0.1019607843);border:1px solid #EEEDED;padding:8px 0px;font-family:var(--ifx-font-family)}.navbar-menu.open:not(.itemInMobileMenu){display:flex}.navbar-menu.itemInMobileMenu{display:none}.navbar-menu.right{left:100%;top:-40%}.navbar-menu.left{top:-40%;right:100%}.navbar-menu.rightSideItemMenu{left:initial;right:0px}.navbar__item.layer__item-parent{color:#1D1D1D;font-size:24px;font-style:normal;font-weight:600;line-height:32px;letter-spacing:-0.24px;cursor:initial}.navbar__item.layer__item-parent .navbar__container-right-content-navigation-item-icon-wrapper ifx-icon svg{width:24px;height:24px}.navbar__item.sidebarMenuItem{justify-content:space-between;padding:0}.navbar__item.menuItem{text-decoration:none;color:#1D1D1D;display:flex;align-items:center;justify-content:space-between;padding:8px 16px;gap:8px;font-family:var(--ifx-font-family)}.navbar__item.menuItem.hide{display:none}.navbar__item.menuItem .label__wrapper{color:#1D1D1D;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.navbar__item.menuItem:hover{cursor:pointer;background-color:#EEEDED}.navbar__item.menuItem:active{background-color:#BFBBBB}.sub__layer-menu{padding:5px;display:none}.sub__layer-menu.remove__margin{margin:0;padding:0}.sub__layer-menu.open{display:block}.navbar__item.hide{display:none}.menuItemRightIconWrapper.hide{display:none}.navItemIconWrapper.hide{display:none}';const s=a;const o=class{constructor(i){e(this,i);this.ifxNavItem=t(this,"ifxNavItem",7);this.showLabel=true;this.icon="";this.href="";this.target="_self";this.hideOnMobile=true;this.internalHref="";this.isMenuItem=false;this.hasChildNavItems=false;this.isSidebarMenuItem=false;this.itemPosition=undefined}handleOutsideClick(e){const t=e.composedPath();const i=this.getItemMenu();if(i){if(i.classList.contains("open")){if(!t.includes(this.el)){this.closeItemMenu()}}}}async hideComponent(){this.el.style.display="none"}async showComponent(){this.el.style.display=""}async toggleChildren(e){const t=this.getItemMenu();const i=this.getChevronDownIconWrapper();if(t){this.handleClassList(i,e,"hide");this.handleClassList(t,e,"itemInMobileMenu")}}async moveChildComponentsIntoSubLayerMenu(){const e=this.getItemMenu();if(e){const t=this.handleClassList(e,"contains","open");if(t){const e=this.getNavBarItem();const t=this.getSubLayerBackButton();this.handleClassList(e,"add","layer__item-parent");this.handleClassList(t,"add","show");this.ifxNavItem.emit({component:this.el,action:"hideFirstLayer"})}}const t=this.el.querySelectorAll('[slot="first__layer"]');this.isSidebarMenuItem=true;for(let e=0;e<t.length;e++){t[e].setAttribute("slot","second__layer");t[e].moveChildComponentsIntoSubLayerMenu()}}getSubLayerBackButton(){const e=this.el.shadowRoot.querySelector(".sub__layer-back-button");return e}async toggleFirstLayerItem(e,t){const i=this.getNavBarItem();const n=this.getSubLayerMenu();const a=this.getSubLayerBackButton();this.handleClassList(a,[e],"show");this.handleClassList(i,[t],"hide");this.handleClassList(n,[t],"remove__margin")}openSubLayerMenu(){if(this.hasChildNavItems){const e=this.getSubLayerBackButton();const t=this.getRightArrowIcon();const i=this.getNavBarItem();const n=this.getSubLayerMenu();const a=this.el.getAttribute("slot");this.handleClassList(e,"add","show");this.handleClassList(t,"add","hide");this.handleClassList(i,"add","layer__item-parent");this.handleClassList(n,"add","open");if(a.toLowerCase()==="second__layer"){this.ifxNavItem.emit({component:this.el,parent:this.el.parentElement,action:"hideSecondLayer"});this.handleClassList(i,"remove","menuItem")}else{this.ifxNavItem.emit({component:this.el,action:"hideFirstLayer"})}}}async addMenuItemClass(){const e=this.getNavBarItem();this.handleClassList(e,"add","menuItem");const t=this.getRightArrowIcon();if(this.hasChildNavItems){this.handleClassList(t,"remove","hide")}}async moveChildComponentsBackIntoNavbar(){const e=this.getSubLayerBackButton();const t=this.getNavBarItem();const i=this.getSubLayerMenu();this.handleClassList(e,"remove","show");this.handleClassList(t,"remove","layer__item-parent");this.handleClassList(i,"remove","remove__margin");this.ifxNavItem.emit({component:this.el,action:"show"});const n=this.el.querySelectorAll('[slot="second__layer"]');this.isSidebarMenuItem=false;this.showComponent();this.handleClassList(t,"remove","hide");for(let e=0;e<n.length;e++){n[e].setAttribute("slot","first__layer");n[e].moveChildComponentsBackIntoNavbar();n[e].addMenuItemClass();n[e].returnToFirstLayer()}}getRightArrowIcon(){const e=this.el.shadowRoot.querySelector(".menuItemRightIconWrapper");return e}getChevronDownIconWrapper(){const e=this.el.shadowRoot.querySelector(".navItemIconWrapper");return e}async returnToFirstLayer(){const e=this.getSubLayerBackButton();const t=this.getNavBarItem();const i=this.getRightArrowIcon();const n=this.getSubLayerMenu();const a=this.el.getAttribute("slot");this.handleClassList(e,"remove","show");this.handleClassList(t,"remove","layer__item-parent");this.handleClassList(n,"remove","open");if(this.hasChildNavItems){this.handleClassList(i,"remove","hide")}if(a.toLowerCase()==="second__layer"){this.ifxNavItem.emit({component:this.el,parent:this.el.parentElement,action:"returnToSecondLayer"});this.handleClassList(t,"add","menuItem")}else{this.ifxNavItem.emit({component:this.el,action:"return"})}}componentWillLoad(){this.setHref();this.checkIfItemIsNested();this.checkIfItemHasChildren()}componentDidLoad(){if(this.hasChildNavItems){const e=this.getNavbarItems();this.relocateItemsToFirstlayer(e)}}componentDidUpdate(){const e=this.getNavBarItem();const t=this.handleClassList(e,"contains","layer__item-parent");if(this.isSidebarMenuItem&&t){const e=this.getRightArrowIcon();this.handleClassList(e,"add","hide")}}async setMenuItemPosition(){if(this.isMenuItem&&this.hasChildNavItems){const e=this.getItemMenuPosition();if(e==="left"){this.itemPosition="left"}else if(e==="right"){this.itemPosition="right"}}}handleClassList(e,t,i){e.classList[t](i);if(t==="contains"){return e.classList.contains(i)}}getNavbarItems(){const e=this.el.querySelectorAll("ifx-navbar-item");return e}getNavBarItem(){const e=this.el.shadowRoot.querySelector(".navbar__item");return e}getSubLayerMenu(){const e=this.el.shadowRoot.querySelector(".sub__layer-menu");return e}relocateItemsToFirstlayer(e){e.forEach((e=>{e.setAttribute("slot","first__layer")}))}setHref(){if(this.href.toLowerCase().trim()===""){this.internalHref=undefined}else this.internalHref=this.href}checkIfItemIsNested(){const e=this.el.parentElement;if(e.tagName.toUpperCase()==="IFX-NAVBAR-ITEM"||e.tagName.toUpperCase()==="IFX-NAVBAR-PROFILE"){this.isMenuItem=true;return}else{this.isMenuItem=false}}checkIfItemHasChildren(){const e=this.getNavbarItems();if(e.length!==0){this.hasChildNavItems=true}else{this.hasChildNavItems=false}}async setItemSideSpecifications(){const e=this.el;const t=this.getItemMenu();const i=e.getAttribute("slot");if(i.toLowerCase().trim()==="right-item"){this.handleClassList(t,"add","rightSideItemMenu")}return true}getItemMenu(){const e=this.el.shadowRoot.querySelector(".navbar-menu");return e}closeItemMenu(){const e=this.getItemMenu();const t=this.getNavBarItem();if(e){this.handleClassList(e,"remove","open");this.handleClassList(t,"remove","open")}}getItemMenuPosition(){let e=this.el;while(e){if(e.tagName==="IFX-NAVBAR-PROFILE"||e.slot==="right-item"){return"left"}e=e.parentElement||e.getRootNode().host}return"right"}toggleItemMenu(){const e=this.el.getAttribute("slot");if(e.toLowerCase()==="mobile-menu-top"||e.toLowerCase()==="second__layer"){this.openSubLayerMenu()}if(!this.internalHref&&e.toLowerCase()!=="mobile-menu-top"&&e.toLowerCase()!=="second__layer"){const e=this.getItemMenu();if(this.hasChildNavItems){const t=this.getNavBarItem();this.handleClassList(e,"toggle","open");this.handleClassList(t,"toggle","open")}}}handleNestedLayerMenu(e){if(this.isMenuItem&&this.hasChildNavItems&&!this.isSidebarMenuItem){const t=this.getItemMenu();const i=this.getItemMenuPosition();if(e.type.toUpperCase()==="MOUSEENTER"){this.handleClassList(t,"add","open");if(i==="left"){this.handleClassList(t,"add","left")}else if(i==="right"){this.handleClassList(t,"add","right")}}if(e.type.toUpperCase()==="MOUSELEAVE"){this.handleClassList(t,"remove","open");if(i==="left"){this.handleClassList(t,"remove","left")}else if(i==="right"){this.handleClassList(t,"remove","right")}}}}render(){return i("div",{key:"13634ecaec0e699cd630a988c488bf5f1a78acc6",class:"container",onMouseLeave:e=>this.handleNestedLayerMenu(e),onMouseEnter:e=>this.handleNestedLayerMenu(e)},i("div",{key:"243a36ef46d86276decb997b0600eca0b0d5c5fe",class:"sub__layer-back-button"},i("div",{key:"8934bd3c56917caec9d4d393c2ada5b118b763c8",class:"back__button-wrapper",onClick:()=>this.returnToFirstLayer()},i("ifx-icon",{key:"322cb49509916ef87a3c93c95195cf33a026f75c",icon:"arrow-left-16"}),i("span",{key:"7ca43ff202b61aec18c7cd91392f745af9b643a1"},"Back"))),i("a",{key:"6fefb94a500381ea7db602b140603d7b32ee8a6f",href:this.internalHref,target:this.target,onClick:()=>this.toggleItemMenu(),class:`navbar__item ${this.isSidebarMenuItem?"sidebarMenuItem":""} ${!this.showLabel?"removeLabel":""} ${this.isMenuItem?"menuItem":""} ${this.hasChildNavItems?"isParent":""}`},i("div",{key:"35c9c7e69206dde9663cb5122006cdc6ceb46192",class:"inner__content-wrapper"},i("div",{key:"9d34ff13cca7e3d987fc5e40bd9567bbad2d1f71",class:`navbar__container-right-content-navigation-item-icon-wrapper ${!this.icon?"removeWrapper":""}`},this.icon&&i("ifx-icon",{key:"427f3744c3a20cd3de4d715409957b631b40fb19",icon:this.icon})),this.itemPosition==="left"&&this.hasChildNavItems&&this.isMenuItem&&i("div",{key:"66409c1673b1214743b192a9310a7cd83c70260f",class:"menuItemLeftIconWrapper"},i("ifx-icon",{key:"346ee2953bdc95c412ab25a0a7d2ab4ea1a057d2",icon:"chevron-left-12"})),i("span",{key:"43753e73eed3245fc078ac6ee0f7465b332647e6",class:"label__wrapper"},i("slot",{key:"effd9eddf861ebca903beb5a9f989bfa002410b7"}))),i("div",{key:"81ce037c34415e3cd3904677ce6f1497e0d8a84e",class:`navItemIconWrapper ${this.hasChildNavItems&&!this.isMenuItem&&!this.isSidebarMenuItem?"":"hide"}`},i("ifx-icon",{key:"17e855f85f4f3c9c0f39273fb0e50f7bfa6f13bd",icon:"chevron-down-12"})),i("div",{key:"abb1a9f20ccd63761a95e9d7abd24f6e18ea8ed5",class:`menuItemRightIconWrapper ${this.itemPosition==="right"&&this.hasChildNavItems&&this.isMenuItem||this.isSidebarMenuItem&&this.hasChildNavItems?"":"hide"}`},i("ifx-icon",{key:"c6c6e4c5973e55523cfcbd4c846ccb28a5e05efa",icon:"chevron-right-12"}))),this.hasChildNavItems&&!this.isSidebarMenuItem&&i("ul",{key:"61cac30e199cc2fc11b4bcd215e600997257af6b",class:"navbar-menu"}," ",i("slot",{key:"c2448abecc34b3cddbadaf2d121b4f418c0c35f3",name:"first__layer"})," "),this.isSidebarMenuItem&&i("ul",{key:"ce74087ee987d5841b666f42c36ed1ef61a5a8a5",class:"sub__layer-menu"}," ",i("slot",{key:"35494e30c60e050ef6a77722030c6889d3d9a382",name:"second__layer"})," "))}get el(){return n(this)}};o.style=s;export{o as ifx_navbar_item};
2
+ //# sourceMappingURL=p-bbc7a00e.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,c as a,h as i,g as s}from"./p-80bb0959.js";const r=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{width:100%;display:flex}.search-bar{box-sizing:border-box;height:40px;background-color:#FFFFFF;display:flex;flex-direction:row;align-items:center;width:100%;font-family:var(--ifx-font-family)}.search-bar.closed{display:flex;width:auto;justify-content:flex-start}.search-bar .search-bar-wrapper{display:flex;align-items:center;gap:16px;width:100%}.search-bar .search-bar-wrapper a{text-decoration:none;font-size:1rem;font-style:normal;font-weight:600;line-height:1.5rem;color:#0A8276;cursor:pointer}.search-bar .search-bar-wrapper ifx-search-field{width:100%}.search-bar .search-bar__icon-wrapper{display:none;flex-direction:row;align-items:center}.search-bar .search-bar__icon-wrapper ifx-icon:hover{cursor:pointer}.search-bar.closed .search-bar__icon-wrapper{display:flex}.search-bar.closed .search-bar-wrapper{display:none}';const t=r;const h=class{constructor(i){e(this,i);this.ifxInput=a(this,"ifxInput",7);this.ifxSearchBarIsOpen=a(this,"ifxSearchBarIsOpen",7);this.handleCloseButton=()=>{this.internalState=!this.internalState;this.ifxSearchBarIsOpen.emit(this.internalState)};this.handleFocus=()=>{this.internalState=true};this.isOpen=true;this.disabled=false;this.internalState=undefined;this.value=undefined;this.maxlength=undefined}async onNavbarMobile(){this.ifxSearchBarIsOpen.emit(false);this.internalState=false}handlePropChange(){this.internalState=this.isOpen}setInitialState(){this.internalState=this.isOpen}componentWillLoad(){this.setInitialState();this.ifxSearchBarIsOpen.emit(this.internalState)}handleInput(e){this.value=e.detail}render(){return i("div",{key:"a0d45dc79e136db856db02b31a16eb3e93b516ae","aria-label":"a search bar","aria-disabled":this.disabled,class:`search-bar ${this.internalState?"open":"closed"}`},this.internalState?i("div",{class:"search-bar-wrapper"},i("ifx-search-field",{disabled:this.disabled,value:this.value,maxlength:this.maxlength,onIfxInput:this.handleInput.bind(this)},i("ifx-icon",{icon:"search-16",slot:"search-icon"})),i("a",{tabindex:"-1",href:"javascript:void(0)",onClick:this.handleCloseButton},"Close")):i("div",{class:"search-bar__icon-wrapper",onClick:this.handleCloseButton},i("ifx-icon",{icon:"search-16"})))}get el(){return s(this)}static get watchers(){return{isOpen:["handlePropChange"]}}};h.style=t;export{h as ifx_search_bar};
2
- //# sourceMappingURL=p-9b77f2ec.entry.js.map
1
+ import{r as a,c as e,h as i,g as s}from"./p-7aa4082c.js";const r=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{width:100%;display:flex}.search-bar{box-sizing:border-box;height:40px;background-color:#FFFFFF;display:flex;flex-direction:row;align-items:center;width:100%;font-family:var(--ifx-font-family)}.search-bar.closed{display:flex;width:auto;justify-content:flex-start}.search-bar .search-bar-wrapper{display:flex;align-items:center;gap:16px;width:100%}.search-bar .search-bar-wrapper a{text-decoration:none;font-size:1rem;font-style:normal;font-weight:600;line-height:1.5rem;color:#0A8276;cursor:pointer}.search-bar .search-bar-wrapper ifx-search-field{width:100%}.search-bar .search-bar__icon-wrapper{display:none;flex-direction:row;align-items:center}.search-bar .search-bar__icon-wrapper ifx-icon:hover{cursor:pointer}.search-bar.closed .search-bar__icon-wrapper{display:flex}.search-bar.closed .search-bar-wrapper{display:none}';const t=r;const h=class{constructor(i){a(this,i);this.ifxInput=e(this,"ifxInput",7);this.ifxSearchBarIsOpen=e(this,"ifxSearchBarIsOpen",7);this.handleCloseButton=()=>{this.internalState=!this.internalState;this.ifxSearchBarIsOpen.emit(this.internalState)};this.handleFocus=()=>{this.internalState=true};this.isOpen=true;this.disabled=false;this.internalState=undefined;this.value=undefined;this.maxlength=undefined}async onNavbarMobile(){this.ifxSearchBarIsOpen.emit(false);this.internalState=false}handlePropChange(){this.internalState=this.isOpen}setInitialState(){this.internalState=this.isOpen}componentWillLoad(){this.setInitialState();this.ifxSearchBarIsOpen.emit(this.internalState)}handleInput(a){this.value=a.detail}render(){return i("div",{key:"a0d45dc79e136db856db02b31a16eb3e93b516ae","aria-label":"a search bar","aria-disabled":this.disabled,class:`search-bar ${this.internalState?"open":"closed"}`},this.internalState?i("div",{class:"search-bar-wrapper"},i("ifx-search-field",{disabled:this.disabled,value:this.value,maxlength:this.maxlength,onIfxInput:this.handleInput.bind(this)},i("ifx-icon",{icon:"search-16",slot:"search-icon"})),i("a",{tabindex:"-1",href:"javascript:void(0)",onClick:this.handleCloseButton},"Close")):i("div",{class:"search-bar__icon-wrapper",onClick:this.handleCloseButton},i("ifx-icon",{icon:"search-16"})))}get el(){return s(this)}static get watchers(){return{isOpen:["handlePropChange"]}}};h.style=t;export{h as ifx_search_bar};
2
+ //# sourceMappingURL=p-c0b0a253.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as i,h as e,g as s}from"./p-80bb0959.js";const a=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{display:flex}.tabs{display:flex;font-family:var(--ifx-font-family)}.tabs.horizontal{flex-direction:column}.tabs.vertical{flex-direction:row}.tabs-list{display:flex;list-style:none;padding:0;margin:0;position:relative;font-weight:600}.tabs-list:focus-within .active-border{display:none}.active-border{content:"";position:absolute;transition:left 0.3s ease-in-out, top 0.3s ease-in-out, height 0.3s ease-in-out}.tabs.horizontal .active-border{bottom:0;left:0;height:2px;background-color:#0A8276}.tabs.vertical .tabs-list{flex-direction:column;border-bottom:none}.tabs.vertical .tab-content{padding-top:0px;padding-left:32px}.tab-item{display:flex;align-items:center;gap:8px;padding:8px 16px;cursor:pointer;position:relative}.tab-item.icon__right{flex-direction:row-reverse;justify-content:flex-end}.tab-item:hover{color:#0A8276}.tab-item:active,.tab-item.active{color:#0A8276}.tab-item:focus,.tab-item.focus{outline:none;border-radius:1px;box-shadow:0 0 0 2px #FFFFFF, 0 0 0 4px #0A8276}.tab-item:focus+.active-border,.tab-item.focus+.active-border{display:none}.tab-item.disabled{color:#BFBBBB;pointer-events:none}.tabs.vertical .tab-item{border-right:2px solid transparent;min-width:7em}.tabs.vertical .active-border{left:0;top:0;width:2px;background-color:#0A8276}.tab-content{padding-top:24px;padding-left:0px;flex-grow:1}.tabs.small .tab-item{font-size:0.875rem}';const o=a;const n=class{constructor(e){t(this,e);this.ifxTabChange=i(this,"ifxTabChange",7);this.orientation="horizontal";this.activeTabIndex=0;this.internalOrientation=undefined;this.internalActiveTabIndex=0;this.internalFocusedTabIndex=0;this.tabRefs=[];this.tabHeaderRefs=[];this.disabledTabs=[];this.tabObjects=[]}updateBorderOnWindowResize(){this.updateBorderAndFocus()}setActiveAndFocusedTab(t){var i;if(t>=this.tabObjects.length){t=this.tabObjects.length-1}if(t<0){t=0}if(!((i=this.tabObjects[t])===null||i===void 0?void 0:i.disabled)){this.internalActiveTabIndex=t;this.internalFocusedTabIndex=t}}activeTabIndexChanged(t,i){if(t!==i){this.setActiveAndFocusedTab(t)}}componentWillLoad(){this.internalOrientation=this.orientation.toLowerCase()==="vertical"?"vertical":"horizontal";if(this.internalActiveTabIndex!==this.activeTabIndex){this.ifxTabChange.emit({previousTab:this.internalActiveTabIndex,currentTab:this.activeTabIndex})}this.onSlotChange();this.setActiveAndFocusedTab(this.activeTabIndex);this.updateTabStyles()}updateTabStyles(){this.tabHeaderRefs.forEach(((t,i)=>{t.classList.toggle("active",i===this.internalActiveTabIndex);t.setAttribute("aria-selected",i===this.internalActiveTabIndex?"true":"false")}))}reRenderBorder(){const t=this.el.shadowRoot.querySelector(".active-border");if(t&&this.tabHeaderRefs[this.internalActiveTabIndex]){if(this.orientation==="horizontal"){t.style.left=`${this.tabHeaderRefs[this.internalActiveTabIndex].offsetLeft}px`;t.style.width=`${this.tabHeaderRefs[this.internalActiveTabIndex].offsetWidth}px`;t.style.top="";t.style.height=""}else{t.style.top=`${this.tabHeaderRefs[this.internalActiveTabIndex].offsetTop}px`;t.style.height=`${this.tabHeaderRefs[this.internalActiveTabIndex].offsetHeight}px`;t.style.left="";t.style.width=""}}}onSlotChange(){const t=this.el.querySelectorAll("ifx-tab");this.tabObjects=Array.from(t).map((t=>({header:t===null||t===void 0?void 0:t.header,disabled:(t===null||t===void 0?void 0:t.disabled)===true,icon:t===null||t===void 0?void 0:t.icon,iconPosition:t===null||t===void 0?void 0:t.iconPosition})));this.tabRefs=Array.from(t);this.tabRefs.forEach(((t,i)=>{t.setAttribute("slot",`tab-${i}`)}))}setDefaultOrientation(){const t=["horizontal","vertical"];const i=this.orientation.toLowerCase();if(!t.includes(i)){this.internalOrientation="horizontal"}else this.internalOrientation=this.orientation}componentDidLoad(){this.updateBorderAndFocus();this.tabHeaderRefs.forEach(((t,i)=>{t.addEventListener("focus",this.onTabFocus(i))}))}onTabFocus(t){return()=>{this.internalFocusedTabIndex=t}}disconnectedCallback(){this.tabHeaderRefs.forEach(((t,i)=>{t.removeEventListener("focus",this.onTabFocus(i))}))}componentDidUpdate(){this.updateBorderAndFocus()}updateBorderAndFocus(){this.reRenderBorder();this.updateTabFocusability()}updateTabFocusability(){this.tabHeaderRefs.forEach(((t,i)=>{t.tabIndex=i===this.internalActiveTabIndex?0:-1}))}focusNextTab(){let t=this.internalFocusedTabIndex+1;while(t<this.tabHeaderRefs.length&&this.tabObjects[t].disabled){t++}if(t>=0&&t<this.tabHeaderRefs.length){this.internalFocusedTabIndex=t;this.tabHeaderRefs[t].focus()}}focusPreviousTab(){let t=this.internalFocusedTabIndex-1;while(t>=0&&this.tabObjects[t].disabled){t--}if(t>=0&&t<this.tabHeaderRefs.length){this.internalFocusedTabIndex=t;this.tabHeaderRefs[t].focus()}}getTabItemClass(t){const i=t===this.internalActiveTabIndex&&!this.tabObjects[t].disabled;const e=this.tabObjects[t].disabled;const s=this.tabObjects[t].iconPosition;return`tab-item ${i?"active":""} ${e?"disabled":""} ${"icon__"+s}`}handleClick(t,i){this.ifxTabChange.emit({previousTab:this.internalActiveTabIndex,currentTab:i});if(!t.disabled)this.internalActiveTabIndex=i}handleKeyDown(t){if(t.key==="Tab"){if(t.shiftKey){if(this.internalFocusedTabIndex===0){return}else{t.preventDefault();this.focusPreviousTab()}}else{if(this.internalFocusedTabIndex===this.tabHeaderRefs.length-1){return}else{t.preventDefault();this.focusNextTab()}}}else if(t.key==="Enter"){if(this.internalFocusedTabIndex!==-1&&!this.tabObjects[this.internalFocusedTabIndex].disabled){const t=this.internalActiveTabIndex;this.internalActiveTabIndex=this.internalFocusedTabIndex;this.ifxTabChange.emit({previousTab:t,currentTab:this.internalFocusedTabIndex})}}}render(){var t;return e("div",{key:"d28ad9e4b1e8d89344ca813dbe25a7ecc77c6e83","aria-label":"navigation tabs",class:`tabs ${this.internalOrientation}`},e("ul",{key:"4fcd2e26e21a6de4835dadb8522c4858d949aea6",role:"tablist",class:"tabs-list"},(t=this.tabObjects)===null||t===void 0?void 0:t.map(((t,i)=>e("li",{class:this.getTabItemClass(i),ref:t=>this.tabHeaderRefs[i]=t,tabindex:"0",onClick:()=>this.handleClick(t,i),"aria-selected":i===this.internalActiveTabIndex?"true":"false","aria-disabled":t.disabled?"true":"false",role:"tab"},(t===null||t===void 0?void 0:t.icon)?e("ifx-icon",{icon:t.icon}):"",t===null||t===void 0?void 0:t.header))),e("div",{key:"e3e19e8f3d482acee9be0f47c3fc0e322df79705",class:"active-border"})),e("div",{key:"97896ce0bb1fa65e854a03f1cfa392801b24edc6",class:"tab-content"},Array.from(this.tabObjects).map(((t,i)=>e("div",{style:{display:i===this.internalActiveTabIndex?"block":"none"}},e("slot",{name:`tab-${i}`}))))))}get el(){return s(this)}static get watchers(){return{activeTabIndex:["activeTabIndexChanged"]}}};n.style=o;export{n as ifx_tabs};
2
- //# sourceMappingURL=p-661d19d6.entry.js.map
1
+ import{r as t,c as i,h as e,g as s}from"./p-7aa4082c.js";const a=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{display:flex}.tabs{display:flex;font-family:var(--ifx-font-family)}.tabs.horizontal{flex-direction:column}.tabs.vertical{flex-direction:row}.tabs-list{display:flex;list-style:none;padding:0;margin:0;position:relative;font-weight:600}.tabs-list:focus-within .active-border{display:none}.active-border{content:"";position:absolute;transition:left 0.3s ease-in-out, top 0.3s ease-in-out, height 0.3s ease-in-out}.tabs.horizontal .active-border{bottom:0;left:0;height:2px;background-color:#0A8276}.tabs.vertical .tabs-list{flex-direction:column;border-bottom:none}.tabs.vertical .tab-content{padding-top:0px;padding-left:32px}.tab-item{display:flex;align-items:center;gap:8px;padding:8px 16px;cursor:pointer;position:relative}.tab-item.icon__right{flex-direction:row-reverse;justify-content:flex-end}.tab-item:hover{color:#0A8276}.tab-item:active,.tab-item.active{color:#0A8276}.tab-item:focus,.tab-item.focus{outline:none;border-radius:1px;box-shadow:0 0 0 2px #FFFFFF, 0 0 0 4px #0A8276}.tab-item:focus+.active-border,.tab-item.focus+.active-border{display:none}.tab-item.disabled{color:#BFBBBB;pointer-events:none}.tabs.vertical .tab-item{border-right:2px solid transparent;min-width:7em}.tabs.vertical .active-border{left:0;top:0;width:2px;background-color:#0A8276}.tab-content{padding-top:24px;padding-left:0px;flex-grow:1}.tabs.small .tab-item{font-size:0.875rem}';const o=a;const n=class{constructor(e){t(this,e);this.ifxTabChange=i(this,"ifxTabChange",7);this.orientation="horizontal";this.activeTabIndex=0;this.internalOrientation=undefined;this.internalActiveTabIndex=0;this.internalFocusedTabIndex=0;this.tabRefs=[];this.tabHeaderRefs=[];this.disabledTabs=[];this.tabObjects=[]}updateBorderOnWindowResize(){this.updateBorderAndFocus()}setActiveAndFocusedTab(t){var i;if(t>=this.tabObjects.length){t=this.tabObjects.length-1}if(t<0){t=0}if(!((i=this.tabObjects[t])===null||i===void 0?void 0:i.disabled)){this.internalActiveTabIndex=t;this.internalFocusedTabIndex=t}}activeTabIndexChanged(t,i){if(t!==i){this.setActiveAndFocusedTab(t)}}componentWillLoad(){this.internalOrientation=this.orientation.toLowerCase()==="vertical"?"vertical":"horizontal";if(this.internalActiveTabIndex!==this.activeTabIndex){this.ifxTabChange.emit({previousTab:this.internalActiveTabIndex,currentTab:this.activeTabIndex})}this.onSlotChange();this.setActiveAndFocusedTab(this.activeTabIndex);this.updateTabStyles()}updateTabStyles(){this.tabHeaderRefs.forEach(((t,i)=>{t.classList.toggle("active",i===this.internalActiveTabIndex);t.setAttribute("aria-selected",i===this.internalActiveTabIndex?"true":"false")}))}reRenderBorder(){const t=this.el.shadowRoot.querySelector(".active-border");if(t&&this.tabHeaderRefs[this.internalActiveTabIndex]){if(this.orientation==="horizontal"){t.style.left=`${this.tabHeaderRefs[this.internalActiveTabIndex].offsetLeft}px`;t.style.width=`${this.tabHeaderRefs[this.internalActiveTabIndex].offsetWidth}px`;t.style.top="";t.style.height=""}else{t.style.top=`${this.tabHeaderRefs[this.internalActiveTabIndex].offsetTop}px`;t.style.height=`${this.tabHeaderRefs[this.internalActiveTabIndex].offsetHeight}px`;t.style.left="";t.style.width=""}}}onSlotChange(){const t=this.el.querySelectorAll("ifx-tab");this.tabObjects=Array.from(t).map((t=>({header:t===null||t===void 0?void 0:t.header,disabled:(t===null||t===void 0?void 0:t.disabled)===true,icon:t===null||t===void 0?void 0:t.icon,iconPosition:t===null||t===void 0?void 0:t.iconPosition})));this.tabRefs=Array.from(t);this.tabRefs.forEach(((t,i)=>{t.setAttribute("slot",`tab-${i}`)}))}setDefaultOrientation(){const t=["horizontal","vertical"];const i=this.orientation.toLowerCase();if(!t.includes(i)){this.internalOrientation="horizontal"}else this.internalOrientation=this.orientation}componentDidLoad(){this.updateBorderAndFocus();this.tabHeaderRefs.forEach(((t,i)=>{t.addEventListener("focus",this.onTabFocus(i))}))}onTabFocus(t){return()=>{this.internalFocusedTabIndex=t}}disconnectedCallback(){this.tabHeaderRefs.forEach(((t,i)=>{t.removeEventListener("focus",this.onTabFocus(i))}))}componentDidUpdate(){this.updateBorderAndFocus()}updateBorderAndFocus(){this.reRenderBorder();this.updateTabFocusability()}updateTabFocusability(){this.tabHeaderRefs.forEach(((t,i)=>{t.tabIndex=i===this.internalActiveTabIndex?0:-1}))}focusNextTab(){let t=this.internalFocusedTabIndex+1;while(t<this.tabHeaderRefs.length&&this.tabObjects[t].disabled){t++}if(t>=0&&t<this.tabHeaderRefs.length){this.internalFocusedTabIndex=t;this.tabHeaderRefs[t].focus()}}focusPreviousTab(){let t=this.internalFocusedTabIndex-1;while(t>=0&&this.tabObjects[t].disabled){t--}if(t>=0&&t<this.tabHeaderRefs.length){this.internalFocusedTabIndex=t;this.tabHeaderRefs[t].focus()}}getTabItemClass(t){const i=t===this.internalActiveTabIndex&&!this.tabObjects[t].disabled;const e=this.tabObjects[t].disabled;const s=this.tabObjects[t].iconPosition;return`tab-item ${i?"active":""} ${e?"disabled":""} ${"icon__"+s}`}handleClick(t,i){this.ifxTabChange.emit({previousTab:this.internalActiveTabIndex,currentTab:i});if(!t.disabled)this.internalActiveTabIndex=i}handleKeyDown(t){if(t.key==="Tab"){if(t.shiftKey){if(this.internalFocusedTabIndex===0){return}else{t.preventDefault();this.focusPreviousTab()}}else{if(this.internalFocusedTabIndex===this.tabHeaderRefs.length-1){return}else{t.preventDefault();this.focusNextTab()}}}else if(t.key==="Enter"){if(this.internalFocusedTabIndex!==-1&&!this.tabObjects[this.internalFocusedTabIndex].disabled){const t=this.internalActiveTabIndex;this.internalActiveTabIndex=this.internalFocusedTabIndex;this.ifxTabChange.emit({previousTab:t,currentTab:this.internalFocusedTabIndex})}}}render(){var t;return e("div",{key:"d28ad9e4b1e8d89344ca813dbe25a7ecc77c6e83","aria-label":"navigation tabs",class:`tabs ${this.internalOrientation}`},e("ul",{key:"4fcd2e26e21a6de4835dadb8522c4858d949aea6",role:"tablist",class:"tabs-list"},(t=this.tabObjects)===null||t===void 0?void 0:t.map(((t,i)=>e("li",{class:this.getTabItemClass(i),ref:t=>this.tabHeaderRefs[i]=t,tabindex:"0",onClick:()=>this.handleClick(t,i),"aria-selected":i===this.internalActiveTabIndex?"true":"false","aria-disabled":t.disabled?"true":"false",role:"tab"},(t===null||t===void 0?void 0:t.icon)?e("ifx-icon",{icon:t.icon}):"",t===null||t===void 0?void 0:t.header))),e("div",{key:"e3e19e8f3d482acee9be0f47c3fc0e322df79705",class:"active-border"})),e("div",{key:"97896ce0bb1fa65e854a03f1cfa392801b24edc6",class:"tab-content"},Array.from(this.tabObjects).map(((t,i)=>e("div",{style:{display:i===this.internalActiveTabIndex?"block":"none"}},e("slot",{name:`tab-${i}`}))))))}get el(){return s(this)}static get watchers(){return{activeTabIndex:["activeTabIndexChanged"]}}};n.style=o;export{n as ifx_tabs};
2
+ //# sourceMappingURL=p-c0f0e6e8.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as s,h as e}from"./p-80bb0959.js";const t=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{display:flex;width:100%}.progress-bar{height:16px;bottom:0;right:0;top:0;left:0;display:flex;height:20px;border-radius:1px;width:100%;overflow:hidden;background-color:#EEEDED;font-family:var(--ifx-font-family, sans-serif)}.progress-bar.s{height:4px}.progress-bar .label{font-style:normal;font-size:0.875rem;font-weight:400;line-height:1.25rem;color:#FFFFFF}.progress-bar .progress{display:flex;align-items:center;justify-content:center;min-width:fit-content;height:100%;background-color:#0A8276;transition:width 0.2s ease}';const a=t;const i=class{constructor(e){s(this,e);this.value=0;this.size=undefined;this.showLabel=false;this.internalValue=undefined}valueChanged(s,e){if(s!==e){this.internalValue=s}}componentWillLoad(){this.internalValue=this.value}render(){return e("div",{key:"0ff795929756b1595746d14884de3a3d867cd1a3","aria-label":"a progress bar","aria-value":this.value,class:`progress-bar ${this.size}`},e("div",{key:"07a41eb8ad3b9a7447ff267c844585c386f9a0fd",class:"progress",style:{width:`${this.internalValue}%`}},this.showLabel&&this.size!=="s"&&this.internalValue!==0&&e("span",{key:"e5f1e82c316f7cf7a35ae1f7c85a16c4a7fd7236",class:"label"},`${this.internalValue}%`)))}static get watchers(){return{value:["valueChanged"]}}};i.style=a;export{i as ifx_progress_bar};
2
- //# sourceMappingURL=p-2ea18356.entry.js.map
1
+ import{r as s,h as e}from"./p-7aa4082c.js";const t=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{display:flex;width:100%}.progress-bar{height:16px;bottom:0;right:0;top:0;left:0;display:flex;height:20px;border-radius:1px;width:100%;overflow:hidden;background-color:#EEEDED;font-family:var(--ifx-font-family, sans-serif)}.progress-bar.s{height:4px}.progress-bar .label{font-style:normal;font-size:0.875rem;font-weight:400;line-height:1.25rem;color:#FFFFFF}.progress-bar .progress{display:flex;align-items:center;justify-content:center;min-width:fit-content;height:100%;background-color:#0A8276;transition:width 0.2s ease}';const a=t;const i=class{constructor(e){s(this,e);this.value=0;this.size=undefined;this.showLabel=false;this.internalValue=undefined}valueChanged(s,e){if(s!==e){this.internalValue=s}}componentWillLoad(){this.internalValue=this.value}render(){return e("div",{key:"0ff795929756b1595746d14884de3a3d867cd1a3","aria-label":"a progress bar","aria-value":this.value,class:`progress-bar ${this.size}`},e("div",{key:"07a41eb8ad3b9a7447ff267c844585c386f9a0fd",class:"progress",style:{width:`${this.internalValue}%`}},this.showLabel&&this.size!=="s"&&this.internalValue!==0&&e("span",{key:"e5f1e82c316f7cf7a35ae1f7c85a16c4a7fd7236",class:"label"},`${this.internalValue}%`)))}static get watchers(){return{value:["valueChanged"]}}};i.style=a;export{i as ifx_progress_bar};
2
+ //# sourceMappingURL=p-c231d3b7.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as i}from"./p-80bb0959.js";import{c as n}from"./p-5cdc6210.js";const t=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{display:inline-flex}.link{display:inline-flex;align-items:center;font-weight:400;font-size:1rem;text-decoration:none;color:#0A8276;gap:8px;line-height:1.6;font-family:var(--ifx-font-family)}.link:focus{outline-width:2px;outline-style:solid;outline-color:#0A8276;outline-offset:4px;border-radius:3px}.link.bold{font-weight:600}.link.bold:hover{text-decoration:underline}.link.bold:active{color:#08665C;font-style:normal;font-weight:600;text-decoration:underline}.link.underlined{text-decoration:underline;text-decoration-color:#0A8276;color:#1D1D1D;text-underline-offset:8px}.link.underlined:hover{color:#0A8276}.link.underlined:active{color:#0A8276}.link.underlined:disabled,.link.underlined.disabled{text-decoration-color:#BFBBBB}.link.title{text-decoration:none;font-weight:600;color:#1D1D1D}.link.title:hover{color:#0A8276}.link.title:active{color:#08665C}.link.menu{font-weight:400;font-style:normal;line-height:26px;color:#1D1D1D}.link.menu:hover{color:#0A8276}.link.menu:active{color:#08665C}.link.small{font-size:0.875rem}.link.medium{font-size:1rem}.link.large{font-size:1.125rem}.link.extraLarge{font-size:1.25rem}.link.underline{text-decoration:underline}.link:disabled,.link.disabled{color:#BFBBBB;cursor:default;pointer-events:none}';const l=t;const o=class{constructor(i){e(this,i);this.href=undefined;this.target="_self";this.variant="bold";this.size=undefined;this.disabled=false;this.internalHref="";this.internalTarget="";this.internalVariant=""}setInternalStates(){if(this.href){this.internalHref=this.href.trim()}else{this.internalHref=undefined}this.internalTarget=this.target.trim();this.internalVariant=this.variant.trim().toLowerCase()}componentWillRender(){this.setInternalStates()}render(){return i("a",{key:"13fc06640399624a0e11f2b60ff335b0b1dff82c","aria-label":"a navigation link button",href:this.internalHref,target:this.internalTarget,class:this.linkClassNames()},i("slot",{key:"1304bfe3e670a2918fac007362217c7e5d70dd4b"}))}getSizeClass(){const e=this.size==="s"?"small":null;const i=this.size==="m"?"medium":null;const n=this.size==="l"?"large":null;const t=this.size==="xl"?"extraLarge":null;if(e){return e}else if(i){return i}else if(n){return n}else if(t&&this.internalVariant==="underlined"){return"large"}else if(t&&this.internalVariant!=="underlined"){return t}else return""}getVariantClass(){const e=this.internalVariant==="bold"?"bold":null;const i=this.internalVariant==="title"?"title":null;const n=this.internalVariant==="underlined"?"underlined":null;const t=this.internalVariant==="menu"?"menu":null;if(e){return e}else if(i){return i}else if(n){return n}else if(t){return t}else return e}linkClassNames(){return n("link","primary",this.getVariantClass(),this.getSizeClass(),this.disabled?"disabled":"")}};o.style=l;export{o as ifx_link};
2
- //# sourceMappingURL=p-31889cb2.entry.js.map
1
+ import{r as e,h as i}from"./p-7aa4082c.js";import{c as n}from"./p-5cdc6210.js";const t=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{display:inline-flex}.link{display:inline-flex;align-items:center;font-weight:400;font-size:1rem;text-decoration:none;color:#0A8276;gap:8px;line-height:1.6;font-family:var(--ifx-font-family)}.link:focus{outline-width:2px;outline-style:solid;outline-color:#0A8276;outline-offset:4px;border-radius:3px}.link.bold{font-weight:600}.link.bold:hover{text-decoration:underline}.link.bold:active{color:#08665C;font-style:normal;font-weight:600;text-decoration:underline}.link.underlined{text-decoration:underline;text-decoration-color:#0A8276;color:#1D1D1D;text-underline-offset:8px}.link.underlined:hover{color:#0A8276}.link.underlined:active{color:#0A8276}.link.underlined:disabled,.link.underlined.disabled{text-decoration-color:#BFBBBB}.link.title{text-decoration:none;font-weight:600;color:#1D1D1D}.link.title:hover{color:#0A8276}.link.title:active{color:#08665C}.link.menu{font-weight:400;font-style:normal;line-height:26px;color:#1D1D1D}.link.menu:hover{color:#0A8276}.link.menu:active{color:#08665C}.link.small{font-size:0.875rem}.link.medium{font-size:1rem}.link.large{font-size:1.125rem}.link.extraLarge{font-size:1.25rem}.link.underline{text-decoration:underline}.link:disabled,.link.disabled{color:#BFBBBB;cursor:default;pointer-events:none}';const l=t;const o=class{constructor(i){e(this,i);this.href=undefined;this.target="_self";this.variant="bold";this.size=undefined;this.disabled=false;this.internalHref="";this.internalTarget="";this.internalVariant=""}setInternalStates(){if(this.href){this.internalHref=this.href.trim()}else{this.internalHref=undefined}this.internalTarget=this.target.trim();this.internalVariant=this.variant.trim().toLowerCase()}componentWillRender(){this.setInternalStates()}render(){return i("a",{key:"13fc06640399624a0e11f2b60ff335b0b1dff82c","aria-label":"a navigation link button",href:this.internalHref,target:this.internalTarget,class:this.linkClassNames()},i("slot",{key:"1304bfe3e670a2918fac007362217c7e5d70dd4b"}))}getSizeClass(){const e=this.size==="s"?"small":null;const i=this.size==="m"?"medium":null;const n=this.size==="l"?"large":null;const t=this.size==="xl"?"extraLarge":null;if(e){return e}else if(i){return i}else if(n){return n}else if(t&&this.internalVariant==="underlined"){return"large"}else if(t&&this.internalVariant!=="underlined"){return t}else return""}getVariantClass(){const e=this.internalVariant==="bold"?"bold":null;const i=this.internalVariant==="title"?"title":null;const n=this.internalVariant==="underlined"?"underlined":null;const t=this.internalVariant==="menu"?"menu":null;if(e){return e}else if(i){return i}else if(n){return n}else if(t){return t}else return e}linkClassNames(){return n("link","primary",this.getVariantClass(),this.getSizeClass(),this.disabled?"disabled":"")}};o.style=l;export{o as ifx_link};
2
+ //# sourceMappingURL=p-c9211767.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as e,h as s,g as i}from"./p-80bb0959.js";const r=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}.stepper{display:flex;align-items:center}.stepper.compact{justify-content:space-between;align-items:center}.stepper.compact.compact-right{flex-direction:row-reverse;text-align:left}.stepper.compact .stepper-wrapper{width:unset;flex-direction:column}.stepper.vertical{height:100%}.stepper.vertical .stepper-wrapper{flex-direction:column;width:unset;height:100%}.stepper-wrapper{display:flex;flex-direction:row;width:100%}.stepper-wrapper ::slotted(*){display:flex;flex:1;justify-content:flex-start}.stepper-progress{display:flex;justify-content:center;align-items:center;font:600 0.875rem/1.25rem "Source Sans 3";min-width:56px;height:56px;border-radius:9999px;background:conic-gradient(#0A8276 var(--pb, 0%), #8D8786 0)}.stepper-progress .progress-detail{display:flex;justify-content:center;align-items:center;text-align:center;width:48px;height:48px;border-radius:9999px;background:white}';const a=r;const p=class{constructor(s){t(this,s);this.ifxChange=e(this,"ifxChange",7);this.activeStep=1;this.indicatorPosition="left";this.showStepNumber=false;this.variant="default";this.stepsCount=undefined;this.shouldEmitEvent=true;this.emittedByClick=false}onStepChange(t){const e=this.getSteps();const s=e[t.detail.previousActiveStep-1];if(s&&!s.complete){s.setAttribute("error","true")}}handleActiveStep(t,e){const s=this.getSteps();if(!this.shouldEmitEvent){this.shouldEmitEvent=true;return}if(!s[t-1].disabled){this.emitIfxChange(t,e)}else{if(t<e){let i=t;this.shouldEmitEvent=false;while(i>=1&&s[i-1].disabled)i--;if(i<1){this.activeStep=e}else{this.emitIfxChange(i,e);this.activeStep=i}}else{let i=t;this.shouldEmitEvent=false;while(i<=this.stepsCount&&s[i-1].disabled)i++;if(i>this.stepsCount){this.activeStep=e}else{this.emitIfxChange(i,e);this.activeStep=i}}}}emitIfxChange(t,e){this.ifxChange.emit({activeStep:t,previousActiveStep:e,totalSteps:this.stepsCount,emittedByClick:this.emittedByClick});this.emittedByClick=false}getSteps(){const t=this.el.querySelectorAll("ifx-step");return t}addStepIdsToStepsAndCountSteps(){const t=this.getSteps();t[t.length-1].lastStep=true;for(let e=0;e<t.length;e++){t[e].stepId=e+1}this.stepsCount=t.length}setActiveStep(t,e=false){this.emittedByClick=e;this.activeStep=t}setStepsBeforeActiveToComplete(){const t=this.getSteps();t.forEach(((t,e)=>{if(e+1<this.activeStep)t.complete=true}))}syncIfxSteps(){const t=this.getSteps();for(let e=0;e<t.length;e++){const s={activeStep:this.activeStep,indicatorPosition:this.indicatorPosition!=="right"?"left":"right",showStepNumber:this.showStepNumber,variant:this.variant!=="compact"&&this.variant!=="vertical"?"default":this.variant,setActiveStep:this.setActiveStep.bind(this)};t[e].stepperState=s}}setInitialActiveStep(){this.activeStep=Math.max(1,Math.min(this.stepsCount+(this.variant!=="compact"?1:0),this.activeStep))}componentWillLoad(){this.addStepIdsToStepsAndCountSteps();this.setInitialActiveStep();this.setStepsBeforeActiveToComplete()}componentDidLoad(){this.syncIfxSteps()}componentWillUpdate(){this.syncIfxSteps()}render(){return s("div",{key:"f2e93e259a501fd05a2a80c7397d06a0b8e1ac68","aria-label":"a stepper",role:"navigation",class:`stepper ${this.variant!=="compact"&&this.variant!=="vertical"?"default":this.variant} ${this.variant==="compact"?"compact-"+this.indicatorPosition:""}`},this.variant==="compact"&&s("div",{key:"ce3a39478b07bb66339386a4d5628f9f8863a4be",class:"stepper-progress"},s("div",{key:"5a7e0c967387d6b17dfa4dd2e676acc1eed4661a",class:"progress-detail"},`${Math.min(this.activeStep,this.stepsCount)} of ${this.stepsCount}`)),s("div",{key:"8db37824dcce73499eae526a34f17ff85a943e8d",class:`stepper-wrapper`},s("slot",{key:"b8bf71472c5b63c993999dcc41b6694d5f683afd"})))}componentDidRender(){if(this.variant=="compact"){const t=this.el.shadowRoot.querySelector(".stepper-progress");t.style.setProperty("--pb",`${this.activeStep/this.stepsCount*100}%`)}}get el(){return i(this)}static get watchers(){return{activeStep:["handleActiveStep"]}}};p.style=a;export{p as ifx_stepper};
2
- //# sourceMappingURL=p-9f1ab459.entry.js.map
1
+ import{r as t,c as e,h as s,g as i}from"./p-7aa4082c.js";const r=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}.stepper{display:flex;align-items:center}.stepper.compact{justify-content:space-between;align-items:center}.stepper.compact.compact-right{flex-direction:row-reverse;text-align:left}.stepper.compact .stepper-wrapper{width:unset;flex-direction:column}.stepper.vertical{height:100%}.stepper.vertical .stepper-wrapper{flex-direction:column;width:unset;height:100%}.stepper-wrapper{display:flex;flex-direction:row;width:100%}.stepper-wrapper ::slotted(*){display:flex;flex:1;justify-content:flex-start}.stepper-progress{display:flex;justify-content:center;align-items:center;font:600 0.875rem/1.25rem "Source Sans 3";min-width:56px;height:56px;border-radius:9999px;background:conic-gradient(#0A8276 var(--pb, 0%), #8D8786 0)}.stepper-progress .progress-detail{display:flex;justify-content:center;align-items:center;text-align:center;width:48px;height:48px;border-radius:9999px;background:white}';const a=r;const p=class{constructor(s){t(this,s);this.ifxChange=e(this,"ifxChange",7);this.activeStep=1;this.indicatorPosition="left";this.showStepNumber=false;this.variant="default";this.stepsCount=undefined;this.shouldEmitEvent=true;this.emittedByClick=false}onStepChange(t){const e=this.getSteps();const s=e[t.detail.previousActiveStep-1];if(s&&!s.complete){s.setAttribute("error","true")}}handleActiveStep(t,e){const s=this.getSteps();if(!this.shouldEmitEvent){this.shouldEmitEvent=true;return}if(!s[t-1].disabled){this.emitIfxChange(t,e)}else{if(t<e){let i=t;this.shouldEmitEvent=false;while(i>=1&&s[i-1].disabled)i--;if(i<1){this.activeStep=e}else{this.emitIfxChange(i,e);this.activeStep=i}}else{let i=t;this.shouldEmitEvent=false;while(i<=this.stepsCount&&s[i-1].disabled)i++;if(i>this.stepsCount){this.activeStep=e}else{this.emitIfxChange(i,e);this.activeStep=i}}}}emitIfxChange(t,e){this.ifxChange.emit({activeStep:t,previousActiveStep:e,totalSteps:this.stepsCount,emittedByClick:this.emittedByClick});this.emittedByClick=false}getSteps(){const t=this.el.querySelectorAll("ifx-step");return t}addStepIdsToStepsAndCountSteps(){const t=this.getSteps();t[t.length-1].lastStep=true;for(let e=0;e<t.length;e++){t[e].stepId=e+1}this.stepsCount=t.length}setActiveStep(t,e=false){this.emittedByClick=e;this.activeStep=t}setStepsBeforeActiveToComplete(){const t=this.getSteps();t.forEach(((t,e)=>{if(e+1<this.activeStep)t.complete=true}))}syncIfxSteps(){const t=this.getSteps();for(let e=0;e<t.length;e++){const s={activeStep:this.activeStep,indicatorPosition:this.indicatorPosition!=="right"?"left":"right",showStepNumber:this.showStepNumber,variant:this.variant!=="compact"&&this.variant!=="vertical"?"default":this.variant,setActiveStep:this.setActiveStep.bind(this)};t[e].stepperState=s}}setInitialActiveStep(){this.activeStep=Math.max(1,Math.min(this.stepsCount+(this.variant!=="compact"?1:0),this.activeStep))}componentWillLoad(){this.addStepIdsToStepsAndCountSteps();this.setInitialActiveStep();this.setStepsBeforeActiveToComplete()}componentDidLoad(){this.syncIfxSteps()}componentWillUpdate(){this.syncIfxSteps()}render(){return s("div",{key:"f2e93e259a501fd05a2a80c7397d06a0b8e1ac68","aria-label":"a stepper",role:"navigation",class:`stepper ${this.variant!=="compact"&&this.variant!=="vertical"?"default":this.variant} ${this.variant==="compact"?"compact-"+this.indicatorPosition:""}`},this.variant==="compact"&&s("div",{key:"ce3a39478b07bb66339386a4d5628f9f8863a4be",class:"stepper-progress"},s("div",{key:"5a7e0c967387d6b17dfa4dd2e676acc1eed4661a",class:"progress-detail"},`${Math.min(this.activeStep,this.stepsCount)} of ${this.stepsCount}`)),s("div",{key:"8db37824dcce73499eae526a34f17ff85a943e8d",class:`stepper-wrapper`},s("slot",{key:"b8bf71472c5b63c993999dcc41b6694d5f683afd"})))}componentDidRender(){if(this.variant=="compact"){const t=this.el.shadowRoot.querySelector(".stepper-progress");t.style.setProperty("--pb",`${this.activeStep/this.stepsCount*100}%`)}}get el(){return i(this)}static get watchers(){return{activeStep:["handleActiveStep"]}}};p.style=a;export{p as ifx_stepper};
2
+ //# sourceMappingURL=p-c996c583.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,a as o}from"./p-80bb0959.js";const r='.ifx-content-switcher-item{all:unset;height:36px;box-sizing:border-box;border-radius:9999px;border:3px solid transparent;padding:7px 20px;font-family:"Source Sans 3";font-weight:600;font-size:14px;line-height:20px;display:flex;justify-content:center;align-items:center;gap:8px;background-color:transparent}.ifx-content-switcher-item.selected{color:#0A8276;background-color:#FFFFFF;border:3px solid #0A8276}.ifx-content-switcher-item:hover{color:#08665C;background-color:#FFFFFF;border:3px solid #08665C;cursor:pointer}.ifx-content-switcher-item:active{color:#08665C;background-color:#FFFFFF;border:3px solid #06534B}.ifx-content-switcher-item:focus{color:#08665C;background-color:#FFFFFF;border:3px solid #08665C}';const c=r;const i=class{constructor(t){e(this,t);this.selected=false;this.value=undefined}render(){return t(o,{key:"99244cbfde12465c294ba0ce760731ba6e88c8db"},t("button",{key:"76e0009bcd1dc452964c03cb10e851321467cec2",class:"ifx-content-switcher-item"+(this.selected?" selected":"")},t("slot",{key:"987a09faed55d3066f1b80740cdbf6b7de571496"})))}};i.style=c;export{i as ifx_content_switcher_item};
2
- //# sourceMappingURL=p-1175d112.entry.js.map
1
+ import{r as e,h as t,a as o}from"./p-7aa4082c.js";const r='.ifx-content-switcher-item{all:unset;height:36px;box-sizing:border-box;border-radius:9999px;border:3px solid transparent;padding:7px 20px;font-family:"Source Sans 3";font-weight:600;font-size:14px;line-height:20px;display:flex;justify-content:center;align-items:center;gap:8px;background-color:transparent}.ifx-content-switcher-item.selected{color:#0A8276;background-color:#FFFFFF;border:3px solid #0A8276}.ifx-content-switcher-item:hover{color:#08665C;background-color:#FFFFFF;border:3px solid #08665C;cursor:pointer}.ifx-content-switcher-item:active{color:#08665C;background-color:#FFFFFF;border:3px solid #06534B}.ifx-content-switcher-item:focus{color:#08665C;background-color:#FFFFFF;border:3px solid #08665C}';const c=r;const i=class{constructor(t){e(this,t);this.selected=false;this.value=undefined}render(){return t(o,{key:"99244cbfde12465c294ba0ce760731ba6e88c8db"},t("button",{key:"76e0009bcd1dc452964c03cb10e851321467cec2",class:"ifx-content-switcher-item"+(this.selected?" selected":"")},t("slot",{key:"987a09faed55d3066f1b80740cdbf6b7de571496"})))}};i.style=c;export{i as ifx_content_switcher_item};
2
+ //# sourceMappingURL=p-ca00d3c8.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,c as i,h as t,g as a}from"./p-80bb0959.js";const s=".sidebar-filter-search-wrapper{display:flex;padding:12px 16px 16px 16px;flex-direction:column;align-items:flex-start;align-self:stretch;gap:4px;font-family:var(--ifx-font-family);background:#EEEDED}.topbar-filter-search-wrapper{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;gap:4px;font-family:var(--ifx-font-family)}.topbar-filter-search-wrapper ifx-search-field{width:100%;}.filter-name{font-size:1rem;line-height:1.5rem;font-weight:600}";const r=s;const h=class{constructor(t){e(this,t);this.ifxFilterSearchChange=i(this,"ifxFilterSearchChange",7);this.filterName=undefined;this.disabled=false;this.filterValue=undefined;this.filterKey=undefined;this.showDeleteIcon=false;this.filterOrientation="sidebar";this.placeholder=undefined}valueChanged(e){this.host.setAttribute("value",e.toString())}handleFilterSearchChange(e){const i=this.host.parentElement.querySelector(`ifx-filter-search[filter-name="${this.filterName}"]`);if(i&&i!==this.host){throw new Error(`A search filter with the name '${this.filterName}' already exists.`)}this.filterValue=e.detail;this.showDeleteIcon=this.filterValue!=="";this.ifxFilterSearchChange.emit({filterName:this.filterName,filterValue:this.filterValue,filterKey:this.filterKey})}render(){return t("div",{key:"8cdd4193200169a952c6e555fee923e5b56c4704",class:`${this.filterOrientation==="sidebar"?"sidebar-filter-search-wrapper":"topbar-filter-search-wrapper"}`},t("div",{key:"a177bc89bac2793bd46a087e98418c5a95ab21ef",class:"filter-name"},this.filterName),t("ifx-search-field",{key:"40d03e426b30cb13974aba88e456d4dc930313e0",placeholder:this.placeholder,"show-delete-icon":this.showDeleteIcon,disabled:this.disabled,value:this.filterValue}))}get host(){return a(this)}static get watchers(){return{value:["valueChanged"]}}};h.style=r;export{h as ifx_filter_search};
2
- //# sourceMappingURL=p-9910fa06.entry.js.map
1
+ import{r as e,c as i,h as t,g as a}from"./p-7aa4082c.js";const s=".sidebar-filter-search-wrapper{display:flex;padding:12px 16px 16px 16px;flex-direction:column;align-items:flex-start;align-self:stretch;gap:4px;font-family:var(--ifx-font-family);background:#EEEDED}.topbar-filter-search-wrapper{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;gap:4px;font-family:var(--ifx-font-family)}.topbar-filter-search-wrapper ifx-search-field{width:100%;}.filter-name{font-size:1rem;line-height:1.5rem;font-weight:600}";const r=s;const h=class{constructor(t){e(this,t);this.ifxFilterSearchChange=i(this,"ifxFilterSearchChange",7);this.filterName=undefined;this.disabled=false;this.filterValue=undefined;this.filterKey=undefined;this.showDeleteIcon=false;this.filterOrientation="sidebar";this.placeholder=undefined}valueChanged(e){this.host.setAttribute("value",e.toString())}handleFilterSearchChange(e){const i=this.host.parentElement.querySelector(`ifx-filter-search[filter-name="${this.filterName}"]`);if(i&&i!==this.host){throw new Error(`A search filter with the name '${this.filterName}' already exists.`)}this.filterValue=e.detail;this.showDeleteIcon=this.filterValue!=="";this.ifxFilterSearchChange.emit({filterName:this.filterName,filterValue:this.filterValue,filterKey:this.filterKey})}render(){return t("div",{key:"8cdd4193200169a952c6e555fee923e5b56c4704",class:`${this.filterOrientation==="sidebar"?"sidebar-filter-search-wrapper":"topbar-filter-search-wrapper"}`},t("div",{key:"a177bc89bac2793bd46a087e98418c5a95ab21ef",class:"filter-name"},this.filterName),t("ifx-search-field",{key:"40d03e426b30cb13974aba88e456d4dc930313e0",placeholder:this.placeholder,"show-delete-icon":this.showDeleteIcon,disabled:this.disabled,value:this.filterValue}))}get host(){return a(this)}static get watchers(){return{value:["valueChanged"]}}};h.style=r;export{h as ifx_filter_search};
2
+ //# sourceMappingURL=p-caa281a5.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as a,a as r,g as d}from"./p-80bb0959.js";const o=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{display:inline-flex}.card{position:relative;display:inline-flex;flex-direction:column;word-wrap:break-word;background-color:#FFFFFF;background-clip:border-box;border:1px solid #EEEDED;border-radius:1px;width:350px;height:auto;font-family:var(--ifx-font-family)}.card:has(.card-href:focus),.card:has(.card-href:hover){outline:none;border-color:#0A8276}.card:has(.card-href:focus) ::slotted(ifx-card-headline),.card:has(.card-href:hover) ::slotted(ifx-card-headline){color:#0A8276}.card.noBtns .vertical .lower__body-wrapper{padding-bottom:24px}.card.noBtns .horizontal .lower__body-wrapper{padding-bottom:24px}.card .horizontal{display:flex;flex-direction:row;min-height:218px}.card .horizontal .card-img{flex:1;text-decoration:none}.card .horizontal .card-img.noImage{display:none}.card .horizontal .card-img ::slotted([slot=img]){width:100%;vertical-align:bottom}.card .horizontal .lower__body-wrapper{flex:1;display:grid;grid-template-rows:1fr auto}.card .horizontal .lower__body-wrapper .upper-body{display:flex;flex-direction:column;text-decoration:none;color:#1D1D1D;padding:24px 24px 0px 24px}.card .vertical .upper__body-wrapper{text-decoration:none;color:#1D1D1D}.card .vertical .upper__body-wrapper .card-img{height:190px}.card .vertical .upper__body-wrapper .card-img.noImage{display:none}.card .vertical .upper__body-wrapper .upper-body{padding:24px 24px 0px 24px}.card .vertical .lower__body-wrapper:hover{border-color:#EEEDED}.card.horizontal{flex-direction:row;width:538px}.card.horizontal .card-img{flex:1;order:2}.card.horizontal .card-img ::slotted([slot=img]){width:100%;height:100%;vertical-align:bottom;object-fit:cover}.card.horizontal.left .horizontal .card-img{order:1}.card.horizontal.left .horizontal .lower__body-wrapper{order:2}.card .card-href:focus{outline:none}';const i=o;const t=class{constructor(a){e(this,a);this.noBtns=undefined;this.direction="vertical";this.alignment=undefined;this.noImg=undefined;this.href="";this.internalHref="";this.target="_self";this.AriaLabel=undefined}setImgPosition(e){this.alignment=e.detail}handleComponentAdjustment(){const e=this.el.querySelector("ifx-card-image");const a=this.el.querySelector("ifx-card-links");if(!e){this.noImg=true}else this.noImg=false;if(!a){this.noBtns=true}else this.noBtns=false;if(this.href.trim()===""){this.internalHref=undefined}else this.internalHref=this.href}handleClassList(e,a,r){e.classList[a](r)}componentWillLoad(){this.handleComponentAdjustment()}componentWillUpdate(){this.handleComponentAdjustment()}render(){return a(r,{key:"01e7592f9bf887e80837db93ab637fa77fb1ce1f"},a("div",{key:"8b784dff18da8f47e57a293554dc18af013293f4","aria-label":this.AriaLabel,class:`card \n ${this.noBtns?"noBtns":""}\n ${this.direction} \n ${this.alignment}`,role:"region"},this.direction==="horizontal"&&a("div",{key:"69e234c4c3302dd8bf6b5133016e3c0642cf0034",class:"horizontal"},a("a",{key:"c4e4288637327e7e0f68b68a3ee750e3567c327d",class:`card-img ${this.noImg?"noImage":""} ${this.internalHref?"card-href":""}`,href:this.internalHref},a("slot",{key:"d119095e1e71d459b160744276a2987b9596d076",name:"img"})),a("div",{key:"53b3816544b90daec193ced7b084aa2dfa12f7c6",class:"lower__body-wrapper"},a("a",{key:"61477913ea24a2bdc3765771bf60af809a5643f5",class:`upper-body ${this.internalHref?"card-href":""}`,href:this.internalHref},a("slot",{key:"aa49da1c6b7cefefb5d9f36f72f3166e09c2e494"})),a("div",{key:"da9e12e7e215397ed699f3158676235d3ec1e05c"},a("slot",{key:"dd43320f7bc1d0dce6f3c6a3bbf4de31c60d9f77",name:"buttons"})))),this.direction==="vertical"&&a("div",{key:"81a7e3a57402983a7544cb80c37609ca1189b8cd",class:"vertical"},a("a",{key:"3835c2cbb6de0e6b518f72d7752033e71e62e5f6",class:`upper__body-wrapper ${this.internalHref?"card-href":""}`,href:this.internalHref,target:this.target},a("div",{key:"57f555a369c10897d75058780993a45d0dc4b1da",class:`card-img ${this.noImg?"noImage":""}`},a("slot",{key:"fc23cd2f3575e0c8bf9dc4e50581527175d3dfa5",name:"img"})),a("div",{key:"abc7faafe9cb34acba6cd6db1daca948438511e9",class:"upper-body"},a("slot",{key:"9f8ed0bfa8ac124368b0fc0af24037ab9549d26b"}))),a("div",{key:"f13ded514016af3d5975224049db6c84c32e7c03",class:"lower__body-wrapper"},a("slot",{key:"3a6875e3f2daa209ad56bc5417facd8835af3ea0",name:"buttons"})))))}get el(){return d(this)}};t.style=i;export{t as ifx_card};
2
- //# sourceMappingURL=p-c9aca4b7.entry.js.map
1
+ import{r as e,h as a,a as r,g as d}from"./p-7aa4082c.js";const o=':root{--ifx-font-family:"Source Sans 3";font-family:var(--ifx-font-family, sans-serif)}:host{display:inline-flex}.card{position:relative;display:inline-flex;flex-direction:column;word-wrap:break-word;background-color:#FFFFFF;background-clip:border-box;border:1px solid #EEEDED;border-radius:1px;width:350px;height:auto;font-family:var(--ifx-font-family)}.card:has(.card-href:focus),.card:has(.card-href:hover){outline:none;border-color:#0A8276}.card:has(.card-href:focus) ::slotted(ifx-card-headline),.card:has(.card-href:hover) ::slotted(ifx-card-headline){color:#0A8276}.card.noBtns .vertical .lower__body-wrapper{padding-bottom:24px}.card.noBtns .horizontal .lower__body-wrapper{padding-bottom:24px}.card .horizontal{display:flex;flex-direction:row;min-height:218px}.card .horizontal .card-img{flex:1;text-decoration:none}.card .horizontal .card-img.noImage{display:none}.card .horizontal .card-img ::slotted([slot=img]){width:100%;vertical-align:bottom}.card .horizontal .lower__body-wrapper{flex:1;display:grid;grid-template-rows:1fr auto}.card .horizontal .lower__body-wrapper .upper-body{display:flex;flex-direction:column;text-decoration:none;color:#1D1D1D;padding:24px 24px 0px 24px}.card .vertical .upper__body-wrapper{text-decoration:none;color:#1D1D1D}.card .vertical .upper__body-wrapper .card-img{height:190px}.card .vertical .upper__body-wrapper .card-img.noImage{display:none}.card .vertical .upper__body-wrapper .upper-body{padding:24px 24px 0px 24px}.card .vertical .lower__body-wrapper:hover{border-color:#EEEDED}.card.horizontal{flex-direction:row;width:538px}.card.horizontal .card-img{flex:1;order:2}.card.horizontal .card-img ::slotted([slot=img]){width:100%;height:100%;vertical-align:bottom;object-fit:cover}.card.horizontal.left .horizontal .card-img{order:1}.card.horizontal.left .horizontal .lower__body-wrapper{order:2}.card .card-href:focus{outline:none}';const i=o;const t=class{constructor(a){e(this,a);this.noBtns=undefined;this.direction="vertical";this.alignment=undefined;this.noImg=undefined;this.href="";this.internalHref="";this.target="_self";this.AriaLabel=undefined}setImgPosition(e){this.alignment=e.detail}handleComponentAdjustment(){const e=this.el.querySelector("ifx-card-image");const a=this.el.querySelector("ifx-card-links");if(!e){this.noImg=true}else this.noImg=false;if(!a){this.noBtns=true}else this.noBtns=false;if(this.href.trim()===""){this.internalHref=undefined}else this.internalHref=this.href}handleClassList(e,a,r){e.classList[a](r)}componentWillLoad(){this.handleComponentAdjustment()}componentWillUpdate(){this.handleComponentAdjustment()}render(){return a(r,{key:"01e7592f9bf887e80837db93ab637fa77fb1ce1f"},a("div",{key:"8b784dff18da8f47e57a293554dc18af013293f4","aria-label":this.AriaLabel,class:`card \n ${this.noBtns?"noBtns":""}\n ${this.direction} \n ${this.alignment}`,role:"region"},this.direction==="horizontal"&&a("div",{key:"69e234c4c3302dd8bf6b5133016e3c0642cf0034",class:"horizontal"},a("a",{key:"c4e4288637327e7e0f68b68a3ee750e3567c327d",class:`card-img ${this.noImg?"noImage":""} ${this.internalHref?"card-href":""}`,href:this.internalHref},a("slot",{key:"d119095e1e71d459b160744276a2987b9596d076",name:"img"})),a("div",{key:"53b3816544b90daec193ced7b084aa2dfa12f7c6",class:"lower__body-wrapper"},a("a",{key:"61477913ea24a2bdc3765771bf60af809a5643f5",class:`upper-body ${this.internalHref?"card-href":""}`,href:this.internalHref},a("slot",{key:"aa49da1c6b7cefefb5d9f36f72f3166e09c2e494"})),a("div",{key:"da9e12e7e215397ed699f3158676235d3ec1e05c"},a("slot",{key:"dd43320f7bc1d0dce6f3c6a3bbf4de31c60d9f77",name:"buttons"})))),this.direction==="vertical"&&a("div",{key:"81a7e3a57402983a7544cb80c37609ca1189b8cd",class:"vertical"},a("a",{key:"3835c2cbb6de0e6b518f72d7752033e71e62e5f6",class:`upper__body-wrapper ${this.internalHref?"card-href":""}`,href:this.internalHref,target:this.target},a("div",{key:"57f555a369c10897d75058780993a45d0dc4b1da",class:`card-img ${this.noImg?"noImage":""}`},a("slot",{key:"fc23cd2f3575e0c8bf9dc4e50581527175d3dfa5",name:"img"})),a("div",{key:"abc7faafe9cb34acba6cd6db1daca948438511e9",class:"upper-body"},a("slot",{key:"9f8ed0bfa8ac124368b0fc0af24037ab9549d26b"}))),a("div",{key:"f13ded514016af3d5975224049db6c84c32e7c03",class:"lower__body-wrapper"},a("slot",{key:"3a6875e3f2daa209ad56bc5417facd8835af3ea0",name:"buttons"})))))}get el(){return d(this)}};t.style=i;export{t as ifx_card};
2
+ //# sourceMappingURL=p-cc49128c.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as s}from"./p-80bb0959.js";const i=":host{display:inline-block}.rotate{transition:transform 0.2s ease-in-out;transform:rotate(-180deg);margin-top:0em}.icon{margin-top:0em;transition:transform 0.2s ease-in-out}";const o=i;const n=class{constructor(s){t(this,s);this.isOpen=false;this.theme="default";this.variant=undefined;this.size="m";this.disabled=undefined;this.hideArrow=false}render(){return s("ifx-button",{key:"4dc468fdf8211511a97d58441059b0ca44bb880c",variant:this.variant,theme:this.theme,size:this.size,disabled:this.disabled,class:"dropdown-trigger-button"},s("slot",{key:"5e77a7b367905623309508c784233784685caf94"}),!this.hideArrow&&s("ifx-icon",{key:"c60c753f1d57a4ab819a680c48fa1664704dc42b",icon:"chevron-down-12",class:`icon${this.isOpen?" rotate":""}`}))}};n.style=o;export{n as ifx_dropdown_trigger_button};
2
- //# sourceMappingURL=p-8c9887e3.entry.js.map
1
+ import{r as t,h as s}from"./p-7aa4082c.js";const i=":host{display:inline-block}.rotate{transition:transform 0.2s ease-in-out;transform:rotate(-180deg);margin-top:0em}.icon{margin-top:0em;transition:transform 0.2s ease-in-out}";const o=i;const n=class{constructor(s){t(this,s);this.isOpen=false;this.theme="default";this.variant=undefined;this.size="m";this.disabled=undefined;this.hideArrow=false}render(){return s("ifx-button",{key:"4dc468fdf8211511a97d58441059b0ca44bb880c",variant:this.variant,theme:this.theme,size:this.size,disabled:this.disabled,class:"dropdown-trigger-button"},s("slot",{key:"5e77a7b367905623309508c784233784685caf94"}),!this.hideArrow&&s("ifx-icon",{key:"c60c753f1d57a4ab819a680c48fa1664704dc42b",icon:"chevron-down-12",class:`icon${this.isOpen?" rotate":""}`}))}};n.style=o;export{n as ifx_dropdown_trigger_button};
2
+ //# sourceMappingURL=p-d4432905.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as i,g as e}from"./p-80bb0959.js";const s='@charset "UTF-8";.list-group-item{display:flex;align-items:center;justify-content:space-between;height:40px;width:350px;padding:8px 16px;background-color:#FFFFFF;border:1px solid #EEEDED;border-radius:1px 1px 0px 0px;font-style:normal;font-weight:400;font-size:1rem;line-height:1.5rem;font-family:var(--ifx-font-family)}.list-group-item.flush{border:none;border-bottom:1px solid #EEEDED}.list-group-item.flush.bulletpoint{padding:8px}.list-group-item.bulletpoint .list-group-item-content::before{content:"•";display:inline-block;font-size:1.125rem;padding-right:10px}.list-group-item:hover:not(.show){background-color:#EEEDED}.list-group-item:active:not(.show){background-color:#0A8276;color:#FFFFFF}.list-group-item.show{display:block;height:88px;padding:16px}';const o=s;const l=class{constructor(i){t(this,i);this.isFlush=false;this.hasBulletpoint=false;this.badge=false;this.badgeValue=0}componentWillLoad(){const t=this.el.closest("ifx-list-group");if(t.flush){this.isFlush=true}else this.isFlush=false;if(t.bulletpoint&&!this.badge){this.hasBulletpoint=true}else this.hasBulletpoint=false}render(){return i("div",{key:"d50beef84939fea9d25bd5a7a0450683f4580f89",class:`list-group-item \n ${this.isFlush?"flush":""}\n ${this.hasBulletpoint?"bulletpoint":""}`},i("div",{key:"56373799f79b2379fb0f22ef0f2abf8468bd74c9",class:"list-group-item-content"},i("slot",{key:"2080edc3978491aa3abd0de9dff866f5d8582a4b"})),this.badge&&i("ifx-number-indicator",{key:"212364a9efd52a75d47f453c7652574c2332082c"},this.badgeValue))}get el(){return e(this)}};l.style=o;export{l as ifx_list_item};
2
- //# sourceMappingURL=p-16348b9d.entry.js.map
1
+ import{r as t,h as i,g as e}from"./p-7aa4082c.js";const s='@charset "UTF-8";.list-group-item{display:flex;align-items:center;justify-content:space-between;height:40px;width:350px;padding:8px 16px;background-color:#FFFFFF;border:1px solid #EEEDED;border-radius:1px 1px 0px 0px;font-style:normal;font-weight:400;font-size:1rem;line-height:1.5rem;font-family:var(--ifx-font-family)}.list-group-item.flush{border:none;border-bottom:1px solid #EEEDED}.list-group-item.flush.bulletpoint{padding:8px}.list-group-item.bulletpoint .list-group-item-content::before{content:"•";display:inline-block;font-size:1.125rem;padding-right:10px}.list-group-item:hover:not(.show){background-color:#EEEDED}.list-group-item:active:not(.show){background-color:#0A8276;color:#FFFFFF}.list-group-item.show{display:block;height:88px;padding:16px}';const o=s;const l=class{constructor(i){t(this,i);this.isFlush=false;this.hasBulletpoint=false;this.badge=false;this.badgeValue=0}componentWillLoad(){const t=this.el.closest("ifx-list-group");if(t.flush){this.isFlush=true}else this.isFlush=false;if(t.bulletpoint&&!this.badge){this.hasBulletpoint=true}else this.hasBulletpoint=false}render(){return i("div",{key:"d50beef84939fea9d25bd5a7a0450683f4580f89",class:`list-group-item \n ${this.isFlush?"flush":""}\n ${this.hasBulletpoint?"bulletpoint":""}`},i("div",{key:"56373799f79b2379fb0f22ef0f2abf8468bd74c9",class:"list-group-item-content"},i("slot",{key:"2080edc3978491aa3abd0de9dff866f5d8582a4b"})),this.badge&&i("ifx-number-indicator",{key:"212364a9efd52a75d47f453c7652574c2332082c"},this.badgeValue))}get el(){return e(this)}};l.style=o;export{l as ifx_list_item};
2
+ //# sourceMappingURL=p-d517ea6c.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as i,h as e,a as s,g as h}from"./p-80bb0959.js";const n=".ifx-content-switcher{background-color:#FFFFFF;border:1px solid #BFBBBB;border-radius:9999px;height:36px;width:fit-content;box-sizing:border-box;display:flex;flex-direction:row;align-items:center}.ifx-content-switcher ::slotted(ifx-content-switcher-item){position:relative}.ifx-content-switcher ::slotted(ifx-content-switcher-item:first-child){left:-1px;margin-right:-1px}.ifx-content-switcher ::slotted(ifx-content-switcher-item:last-child){right:-1px;margin-left:-1px}.ifx-content-switcher ::slotted(.ifx-content-switcher-divider){width:1px;height:20px;background-color:#8D8786;margin:0px 1px;visibility:visible}.ifx-content-switcher ::slotted(.ifx-content-switcher-divider.hidden){visibility:hidden}";const r=n;const c=class{constructor(e){t(this,e);this.ifxChange=i(this,"ifxChange",7);this.eventHandlers=new Map;this.items=undefined;this.activeIndex=-1;this.hoverIndex=-1;this.focusIndex=-1;this.dividers=Array()}componentWillLoad(){this.items=Array.from(this.el.children);this.initializeDividers();this.addEventListeners();this.ensureSingleSelectedItem()}disconnectedCallback(){this.removeEventListeners()}initializeDividers(){this.items.forEach(((t,i)=>{if(i<this.items.length-1){const i=document.createElement("div");i.classList.add("ifx-content-switcher-divider");t.after(i);this.dividers.push(i)}}))}addEventListeners(){this.items.forEach(((t,i)=>{const e={click:()=>this.selectItem(i),mouseenter:()=>this.handleHover(i,true),mouseleave:()=>this.handleHover(i,false),focus:()=>this.handleFocus(i,true),blur:()=>this.handleFocus(i,false)};Object.keys(e).forEach((i=>{t.addEventListener(i,e[i])}));this.eventHandlers.set(t,e)}))}removeEventListeners(){this.eventHandlers.forEach(((t,i)=>{Object.keys(t).forEach((e=>{i.removeEventListener(e,t[e])}))}));this.eventHandlers.clear()}ensureSingleSelectedItem(){this.items.forEach(((t,i)=>{if(t.hasAttribute("selected")){if(this.activeIndex<0){this.selectItem(i)}else{t.removeAttribute("selected")}}}))}handleHover(t,i){this.hoverIndex=i?t:-1;this.updateDividersOfItem(t)}handleFocus(t,i){this.focusIndex=i?t:-1;this.updateDividersOfItem(t)}updateDividersOfItem(t){if(t<this.items.length-1){this.updateDividerVisibility(t)}if(t>0){this.updateDividerVisibility(t-1)}}updateDividerVisibility(t){const i=new Set([this.activeIndex,this.activeIndex-1,this.hoverIndex,this.hoverIndex-1,this.focusIndex,this.focusIndex-1]);this.setDividerVisibility(t,i.has(t))}setDividerVisibility(t,i){if(this.dividers[t]){this.dividers[t].classList.toggle("hidden",i)}}selectItem(t){if(t===this.activeIndex)return;const i=this.activeIndex;if(i>=0){this.items[i].removeAttribute("selected")}this.activeIndex=t;this.items[t].setAttribute("selected","true");this.ifxChange.emit({oldValue:this.getValueOfItem(i),newValue:this.getValueOfItem(t)});this.updateDividersOfItem(i);this.updateDividersOfItem(t)}getValueOfItem(t){if(this.items[t]==null)return t.toLocaleString();return this.items[t].getAttribute("value")||t.toLocaleString()}render(){return e(s,{key:"0c50e18a9ac86fb7be75a049c82bb73bbad834ec"},e("div",{key:"6b17a332e6be8a261d7e70143dd60bc51bf637df",class:"ifx-content-switcher",role:"group"},e("slot",{key:"23a9d14ad25b16d4b3f6411199765b74ef1b9d62"})))}get el(){return h(this)}};c.style=r;export{c as ifx_content_switcher};
2
- //# sourceMappingURL=p-6e61295f.entry.js.map
1
+ import{r as t,c as i,h as e,a as s,g as h}from"./p-7aa4082c.js";const n=".ifx-content-switcher{background-color:#FFFFFF;border:1px solid #BFBBBB;border-radius:9999px;height:36px;width:fit-content;box-sizing:border-box;display:flex;flex-direction:row;align-items:center}.ifx-content-switcher ::slotted(ifx-content-switcher-item){position:relative}.ifx-content-switcher ::slotted(ifx-content-switcher-item:first-child){left:-1px;margin-right:-1px}.ifx-content-switcher ::slotted(ifx-content-switcher-item:last-child){right:-1px;margin-left:-1px}.ifx-content-switcher ::slotted(.ifx-content-switcher-divider){width:1px;height:20px;background-color:#8D8786;margin:0px 1px;visibility:visible}.ifx-content-switcher ::slotted(.ifx-content-switcher-divider.hidden){visibility:hidden}";const r=n;const c=class{constructor(e){t(this,e);this.ifxChange=i(this,"ifxChange",7);this.eventHandlers=new Map;this.items=undefined;this.activeIndex=-1;this.hoverIndex=-1;this.focusIndex=-1;this.dividers=Array()}componentWillLoad(){this.items=Array.from(this.el.children);this.initializeDividers();this.addEventListeners();this.ensureSingleSelectedItem()}disconnectedCallback(){this.removeEventListeners()}initializeDividers(){this.items.forEach(((t,i)=>{if(i<this.items.length-1){const i=document.createElement("div");i.classList.add("ifx-content-switcher-divider");t.after(i);this.dividers.push(i)}}))}addEventListeners(){this.items.forEach(((t,i)=>{const e={click:()=>this.selectItem(i),mouseenter:()=>this.handleHover(i,true),mouseleave:()=>this.handleHover(i,false),focus:()=>this.handleFocus(i,true),blur:()=>this.handleFocus(i,false)};Object.keys(e).forEach((i=>{t.addEventListener(i,e[i])}));this.eventHandlers.set(t,e)}))}removeEventListeners(){this.eventHandlers.forEach(((t,i)=>{Object.keys(t).forEach((e=>{i.removeEventListener(e,t[e])}))}));this.eventHandlers.clear()}ensureSingleSelectedItem(){this.items.forEach(((t,i)=>{if(t.hasAttribute("selected")){if(this.activeIndex<0){this.selectItem(i)}else{t.removeAttribute("selected")}}}))}handleHover(t,i){this.hoverIndex=i?t:-1;this.updateDividersOfItem(t)}handleFocus(t,i){this.focusIndex=i?t:-1;this.updateDividersOfItem(t)}updateDividersOfItem(t){if(t<this.items.length-1){this.updateDividerVisibility(t)}if(t>0){this.updateDividerVisibility(t-1)}}updateDividerVisibility(t){const i=new Set([this.activeIndex,this.activeIndex-1,this.hoverIndex,this.hoverIndex-1,this.focusIndex,this.focusIndex-1]);this.setDividerVisibility(t,i.has(t))}setDividerVisibility(t,i){if(this.dividers[t]){this.dividers[t].classList.toggle("hidden",i)}}selectItem(t){if(t===this.activeIndex)return;const i=this.activeIndex;if(i>=0){this.items[i].removeAttribute("selected")}this.activeIndex=t;this.items[t].setAttribute("selected","true");this.ifxChange.emit({oldValue:this.getValueOfItem(i),newValue:this.getValueOfItem(t)});this.updateDividersOfItem(i);this.updateDividersOfItem(t)}getValueOfItem(t){if(this.items[t]==null)return t.toLocaleString();return this.items[t].getAttribute("value")||t.toLocaleString()}render(){return e(s,{key:"0c50e18a9ac86fb7be75a049c82bb73bbad834ec"},e("div",{key:"6b17a332e6be8a261d7e70143dd60bc51bf637df",class:"ifx-content-switcher",role:"group"},e("slot",{key:"23a9d14ad25b16d4b3f6411199765b74ef1b9d62"})))}get el(){return h(this)}};c.style=r;export{c as ifx_content_switcher};
2
+ //# sourceMappingURL=p-d70843bb.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as s,a as t,g as i}from"./p-80bb0959.js";const a=":host{display:inline-flex}.list-group-container{display:inline-flex;flex-direction:column;gap:3px}";const l=a;const n=class{constructor(s){e(this,s);this.flush=false;this.bulletpoint=false;this.notification=false}render(){return s(t,{key:"5d89f65af5f1b8e1f78b88f70065c55281eb8c27"},s("div",{key:"0ae653b5307044468d507ee9be6539a430c2103c",class:`list-group-container \n ${this.flush?"flush":""} \n ${this.bulletpoint?"bulletpoint":""}`},s("slot",{key:"d7cd601c0b1bfd63aa5dee3f4f657082fa1e30e3",name:"list-item"}),s("slot",{key:"77efa54a094a8f97081f0d2dd26e527e96a3d79f",name:"list-notification"})))}get el(){return i(this)}};n.style=l;export{n as ifx_list_group};
2
- //# sourceMappingURL=p-e8cde48d.entry.js.map
1
+ import{r as e,h as s,a as t,g as a}from"./p-7aa4082c.js";const i=":host{display:inline-flex}.list-group-container{display:inline-flex;flex-direction:column;gap:3px}";const l=i;const n=class{constructor(s){e(this,s);this.flush=false;this.bulletpoint=false;this.notification=false}render(){return s(t,{key:"5d89f65af5f1b8e1f78b88f70065c55281eb8c27"},s("div",{key:"0ae653b5307044468d507ee9be6539a430c2103c",class:`list-group-container \n ${this.flush?"flush":""} \n ${this.bulletpoint?"bulletpoint":""}`},s("slot",{key:"d7cd601c0b1bfd63aa5dee3f4f657082fa1e30e3",name:"list-item"}),s("slot",{key:"77efa54a094a8f97081f0d2dd26e527e96a3d79f",name:"list-notification"})))}get el(){return a(this)}};n.style=l;export{n as ifx_list_group};
2
+ //# sourceMappingURL=p-da42f326.entry.js.map