@ukic/canary-web-components 3.0.0-canary.27 → 3.0.0-canary.29

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 (643) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-046745ee.js → helpers-2cc5f6db.js} +5 -1
  3. package/dist/cjs/helpers-2cc5f6db.js.map +1 -0
  4. package/dist/cjs/helpers-da852478.js.map +1 -1
  5. package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
  6. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  7. package/dist/cjs/ic-action-chip.cjs.entry.js +1 -1
  8. package/dist/cjs/ic-alert.cjs.entry.js +6 -4
  9. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  10. package/dist/cjs/ic-back-to-top.cjs.entry.js +6 -5
  11. package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-badge.cjs.entry.js +3 -3
  13. package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +3 -3
  15. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
  16. package/dist/cjs/ic-breadcrumb.cjs.entry.js +5 -4
  17. package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ic-button_3.cjs.entry.js +43 -19
  19. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-card-horizontal.cjs.entry.js +32 -6
  21. package/dist/cjs/ic-card-horizontal.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ic-card-vertical.cjs.entry.js +5 -5
  23. package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ic-checkbox-group.cjs.entry.js +9 -5
  25. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  26. package/dist/cjs/ic-checkbox_3.cjs.entry.js +13 -14
  27. package/dist/cjs/ic-checkbox_3.cjs.entry.js.map +1 -1
  28. package/dist/cjs/ic-chip.cjs.entry.js +4 -4
  29. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  30. package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
  31. package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
  32. package/dist/cjs/ic-data-row.cjs.entry.js +3 -3
  33. package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
  34. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +3 -3
  35. package/dist/cjs/ic-data-table.cjs.entry.js +35 -15
  36. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  37. package/dist/cjs/ic-date-input.cjs.entry.js +8 -4
  38. package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ic-date-picker.cjs.entry.js +15 -10
  40. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-dialog.cjs.entry.js +39 -13
  42. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  43. package/dist/cjs/ic-divider.cjs.entry.js +3 -2
  44. package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  46. package/dist/cjs/ic-footer-link.cjs.entry.js +3 -3
  47. package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  49. package/dist/cjs/ic-hero.cjs.entry.js +8 -7
  50. package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +6 -6
  52. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +11 -11
  54. package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-layout-grid-item.cjs.entry.js +2 -2
  56. package/dist/cjs/ic-layout-grid-item.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ic-layout-grid.cjs.entry.js +2 -2
  58. package/dist/cjs/ic-layout-grid.cjs.entry.js.map +1 -1
  59. package/dist/cjs/ic-link.cjs.entry.js +2 -2
  60. package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
  61. package/dist/cjs/ic-menu-group.cjs.entry.js +2 -2
  62. package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ic-menu-item.cjs.entry.js +3 -2
  64. package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
  65. package/dist/cjs/ic-menu.cjs.entry.js +13 -10
  66. package/dist/cjs/ic-menu.cjs.entry.js.map +1 -1
  67. package/dist/cjs/ic-navigation-button.cjs.entry.js +3 -3
  68. package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-navigation-group.cjs.entry.js +2 -2
  70. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  71. package/dist/cjs/ic-navigation-item.cjs.entry.js +4 -4
  72. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  73. package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -5
  74. package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ic-page-header.cjs.entry.js +8 -8
  76. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  77. package/dist/cjs/ic-pagination_4.cjs.entry.js +36 -23
  78. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-popover-menu.cjs.entry.js +5 -5
  80. package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-radio-group.cjs.entry.js +5 -5
  82. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  83. package/dist/cjs/ic-radio-option.cjs.entry.js +5 -5
  84. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  85. package/dist/cjs/ic-search-bar.cjs.entry.js +10 -10
  86. package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
  88. package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
  89. package/dist/cjs/ic-side-navigation.cjs.entry.js +6 -6
  90. package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
  91. package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
  92. package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
  93. package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
  94. package/dist/cjs/ic-skip-link.cjs.entry.js.map +1 -1
  95. package/dist/cjs/ic-status-tag.cjs.entry.js +4 -4
  96. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  97. package/dist/cjs/ic-step.cjs.entry.js +15 -14
  98. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  99. package/dist/cjs/ic-stepper.cjs.entry.js +4 -3
  100. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  101. package/dist/cjs/ic-switch.cjs.entry.js +5 -5
  102. package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
  103. package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
  104. package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
  105. package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
  106. package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
  107. package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
  108. package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
  109. package/dist/cjs/ic-tab.cjs.entry.js +3 -3
  110. package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
  111. package/dist/cjs/ic-table-of-contents.cjs.entry.js +3 -3
  112. package/dist/cjs/ic-theme.cjs.entry.js +2 -2
  113. package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
  114. package/dist/cjs/ic-time-input.cjs.entry.js +9 -5
  115. package/dist/cjs/ic-time-input.cjs.entry.js.map +1 -1
  116. package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
  117. package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
  118. package/dist/cjs/ic-toast.cjs.entry.js +8 -5
  119. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  120. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +8 -4
  121. package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
  122. package/dist/cjs/ic-toggle-button.cjs.entry.js +58 -45
  123. package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
  124. package/dist/cjs/ic-top-navigation.cjs.entry.js +6 -6
  125. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  126. package/dist/cjs/ic-tree-item.cjs.entry.js +2 -2
  127. package/dist/cjs/ic-tree-view.cjs.entry.js +3 -3
  128. package/dist/cjs/ic-typography.cjs.entry.js +3 -3
  129. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  130. package/dist/cjs/loader.cjs.js +1 -1
  131. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.css +65 -12
  132. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js +88 -13
  133. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js.map +1 -1
  134. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.stories.js +355 -36
  135. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.stories.js.map +1 -1
  136. package/dist/collection/components/ic-data-table/ic-data-table.css +17 -17
  137. package/dist/collection/components/ic-data-table/ic-data-table.js +37 -16
  138. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  139. package/dist/collection/components/ic-data-table/ic-data-table.stories.js +11 -1
  140. package/dist/collection/components/ic-data-table/ic-data-table.stories.js.map +1 -1
  141. package/dist/collection/components/ic-data-table/story-data.js +80 -0
  142. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  143. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js +3 -3
  144. package/dist/collection/components/ic-date-input/ic-date-input.js +34 -4
  145. package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
  146. package/dist/collection/components/ic-date-input/ic-date-input.stories.js +81 -0
  147. package/dist/collection/components/ic-date-input/ic-date-input.stories.js.map +1 -1
  148. package/dist/collection/components/ic-date-picker/ic-date-picker.js +41 -10
  149. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
  150. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +6 -7
  151. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  152. package/dist/collection/components/ic-table-of-contents/ic-table-of-contents.js +3 -3
  153. package/dist/collection/components/ic-time-input/ic-time-input.js +35 -5
  154. package/dist/collection/components/ic-time-input/ic-time-input.js.map +1 -1
  155. package/dist/collection/components/ic-time-input/ic-time-input.stories.js +82 -1
  156. package/dist/collection/components/ic-time-input/ic-time-input.stories.js.map +1 -1
  157. package/dist/collection/components/ic-tree-item/ic-tree-item.js +2 -2
  158. package/dist/collection/components/ic-tree-view/ic-tree-view.js +3 -3
  159. package/dist/collection/utils/types.js.map +1 -1
  160. package/dist/components/helpers.js +4 -1
  161. package/dist/components/helpers.js.map +1 -1
  162. package/dist/components/helpers2.js.map +1 -1
  163. package/dist/components/ic-action-chip.js +1 -1
  164. package/dist/components/ic-alert.js +6 -4
  165. package/dist/components/ic-alert.js.map +1 -1
  166. package/dist/components/ic-back-to-top.js +6 -5
  167. package/dist/components/ic-back-to-top.js.map +1 -1
  168. package/dist/components/ic-badge.js +3 -3
  169. package/dist/components/ic-badge.js.map +1 -1
  170. package/dist/components/ic-breadcrumb-group.js +3 -3
  171. package/dist/components/ic-breadcrumb-group.js.map +1 -1
  172. package/dist/components/ic-breadcrumb2.js +5 -4
  173. package/dist/components/ic-breadcrumb2.js.map +1 -1
  174. package/dist/components/ic-button2.js +35 -11
  175. package/dist/components/ic-button2.js.map +1 -1
  176. package/dist/components/ic-card-horizontal.js +34 -6
  177. package/dist/components/ic-card-horizontal.js.map +1 -1
  178. package/dist/components/ic-card-vertical.js +5 -5
  179. package/dist/components/ic-card-vertical.js.map +1 -1
  180. package/dist/components/ic-checkbox-group.js +10 -5
  181. package/dist/components/ic-checkbox-group.js.map +1 -1
  182. package/dist/components/ic-checkbox2.js +5 -5
  183. package/dist/components/ic-checkbox2.js.map +1 -1
  184. package/dist/components/ic-chip.js +4 -4
  185. package/dist/components/ic-chip.js.map +1 -1
  186. package/dist/components/ic-data-list.js +2 -2
  187. package/dist/components/ic-data-list.js.map +1 -1
  188. package/dist/components/ic-data-row.js +3 -3
  189. package/dist/components/ic-data-row.js.map +1 -1
  190. package/dist/components/ic-data-table-title-bar.js +3 -3
  191. package/dist/components/ic-data-table.js +36 -15
  192. package/dist/components/ic-data-table.js.map +1 -1
  193. package/dist/components/ic-date-input2.js +9 -4
  194. package/dist/components/ic-date-input2.js.map +1 -1
  195. package/dist/components/ic-date-picker.js +16 -10
  196. package/dist/components/ic-date-picker.js.map +1 -1
  197. package/dist/components/ic-dialog.js +39 -13
  198. package/dist/components/ic-dialog.js.map +1 -1
  199. package/dist/components/ic-divider2.js +3 -2
  200. package/dist/components/ic-divider2.js.map +1 -1
  201. package/dist/components/ic-empty-state2.js +3 -3
  202. package/dist/components/ic-empty-state2.js.map +1 -1
  203. package/dist/components/ic-footer-link-group.js +1 -1
  204. package/dist/components/ic-footer-link.js +3 -3
  205. package/dist/components/ic-footer-link.js.map +1 -1
  206. package/dist/components/ic-footer.js +1 -1
  207. package/dist/components/ic-hero.js +8 -7
  208. package/dist/components/ic-hero.js.map +1 -1
  209. package/dist/components/ic-horizontal-scroll2.js +6 -6
  210. package/dist/components/ic-horizontal-scroll2.js.map +1 -1
  211. package/dist/components/ic-input-component-container2.js +4 -4
  212. package/dist/components/ic-input-component-container2.js.map +1 -1
  213. package/dist/components/ic-input-container2.js +2 -2
  214. package/dist/components/ic-input-container2.js.map +1 -1
  215. package/dist/components/ic-input-label2.js +3 -3
  216. package/dist/components/ic-input-label2.js.map +1 -1
  217. package/dist/components/ic-input-validation2.js +4 -4
  218. package/dist/components/ic-input-validation2.js.map +1 -1
  219. package/dist/components/ic-layout-grid-item.js +2 -2
  220. package/dist/components/ic-layout-grid-item.js.map +1 -1
  221. package/dist/components/ic-layout-grid.js +2 -2
  222. package/dist/components/ic-layout-grid.js.map +1 -1
  223. package/dist/components/ic-link2.js +1 -1
  224. package/dist/components/ic-link2.js.map +1 -1
  225. package/dist/components/ic-loading-indicator2.js +7 -6
  226. package/dist/components/ic-loading-indicator2.js.map +1 -1
  227. package/dist/components/ic-menu-group.js +2 -2
  228. package/dist/components/ic-menu-group.js.map +1 -1
  229. package/dist/components/ic-menu-item2.js +3 -2
  230. package/dist/components/ic-menu-item2.js.map +1 -1
  231. package/dist/components/ic-menu2.js +13 -10
  232. package/dist/components/ic-menu2.js.map +1 -1
  233. package/dist/components/ic-navigation-button.js +3 -3
  234. package/dist/components/ic-navigation-button.js.map +1 -1
  235. package/dist/components/ic-navigation-group.js +2 -2
  236. package/dist/components/ic-navigation-group.js.map +1 -1
  237. package/dist/components/ic-navigation-item.js +4 -4
  238. package/dist/components/ic-navigation-item.js.map +1 -1
  239. package/dist/components/ic-navigation-menu2.js +5 -5
  240. package/dist/components/ic-navigation-menu2.js.map +1 -1
  241. package/dist/components/ic-page-header.js +8 -8
  242. package/dist/components/ic-page-header.js.map +1 -1
  243. package/dist/components/ic-pagination-bar2.js +6 -7
  244. package/dist/components/ic-pagination-bar2.js.map +1 -1
  245. package/dist/components/ic-pagination-item2.js +2 -2
  246. package/dist/components/ic-pagination-item2.js.map +1 -1
  247. package/dist/components/ic-pagination2.js +4 -4
  248. package/dist/components/ic-pagination2.js.map +1 -1
  249. package/dist/components/ic-popover-menu.js +5 -5
  250. package/dist/components/ic-popover-menu.js.map +1 -1
  251. package/dist/components/ic-radio-group.js +5 -5
  252. package/dist/components/ic-radio-group.js.map +1 -1
  253. package/dist/components/ic-radio-option.js +5 -5
  254. package/dist/components/ic-radio-option.js.map +1 -1
  255. package/dist/components/ic-search-bar.js +10 -10
  256. package/dist/components/ic-search-bar.js.map +1 -1
  257. package/dist/components/ic-section-container2.js +2 -2
  258. package/dist/components/ic-section-container2.js.map +1 -1
  259. package/dist/components/ic-select2.js +20 -12
  260. package/dist/components/ic-select2.js.map +1 -1
  261. package/dist/components/ic-side-navigation.js +6 -6
  262. package/dist/components/ic-side-navigation.js.map +1 -1
  263. package/dist/components/ic-skeleton.js +2 -2
  264. package/dist/components/ic-skeleton.js.map +1 -1
  265. package/dist/components/ic-skip-link.js +2 -2
  266. package/dist/components/ic-skip-link.js.map +1 -1
  267. package/dist/components/ic-status-tag.js +3 -3
  268. package/dist/components/ic-status-tag.js.map +1 -1
  269. package/dist/components/ic-step.js +15 -14
  270. package/dist/components/ic-step.js.map +1 -1
  271. package/dist/components/ic-stepper.js +3 -2
  272. package/dist/components/ic-stepper.js.map +1 -1
  273. package/dist/components/ic-switch.js +5 -5
  274. package/dist/components/ic-switch.js.map +1 -1
  275. package/dist/components/ic-tab-context.js +1 -1
  276. package/dist/components/ic-tab-context.js.map +1 -1
  277. package/dist/components/ic-tab-group.js +2 -2
  278. package/dist/components/ic-tab-group.js.map +1 -1
  279. package/dist/components/ic-tab-panel.js +2 -2
  280. package/dist/components/ic-tab-panel.js.map +1 -1
  281. package/dist/components/ic-tab.js +2 -2
  282. package/dist/components/ic-tab.js.map +1 -1
  283. package/dist/components/ic-table-of-contents.js +3 -3
  284. package/dist/components/ic-text-field2.js +12 -7
  285. package/dist/components/ic-text-field2.js.map +1 -1
  286. package/dist/components/ic-theme.js +2 -2
  287. package/dist/components/ic-theme.js.map +1 -1
  288. package/dist/components/ic-time-input.js +10 -5
  289. package/dist/components/ic-time-input.js.map +1 -1
  290. package/dist/components/ic-toast-region.js +1 -1
  291. package/dist/components/ic-toast-region.js.map +1 -1
  292. package/dist/components/ic-toast.js +8 -5
  293. package/dist/components/ic-toast.js.map +1 -1
  294. package/dist/components/ic-toggle-button-group.js +7 -3
  295. package/dist/components/ic-toggle-button-group.js.map +1 -1
  296. package/dist/components/ic-toggle-button.js +58 -45
  297. package/dist/components/ic-toggle-button.js.map +1 -1
  298. package/dist/components/ic-tooltip2.js +3 -3
  299. package/dist/components/ic-tooltip2.js.map +1 -1
  300. package/dist/components/ic-top-navigation.js +6 -6
  301. package/dist/components/ic-top-navigation.js.map +1 -1
  302. package/dist/components/ic-tree-item.js +2 -2
  303. package/dist/components/ic-tree-view.js +3 -3
  304. package/dist/components/ic-typography2.js +2 -2
  305. package/dist/components/ic-typography2.js.map +1 -1
  306. package/dist/core/core.css +11 -8
  307. package/dist/core/core.esm.js +1 -1
  308. package/dist/core/core.esm.js.map +1 -1
  309. package/dist/core/{p-c9953122.entry.js → p-035dbee0.entry.js} +2 -2
  310. package/dist/core/p-035dbee0.entry.js.map +1 -0
  311. package/dist/core/{p-d4a1e90d.entry.js → p-03ae0bc3.entry.js} +2 -2
  312. package/dist/core/{p-d4a1e90d.entry.js.map → p-03ae0bc3.entry.js.map} +1 -1
  313. package/dist/core/p-04a9f82f.entry.js +2 -0
  314. package/dist/core/p-04a9f82f.entry.js.map +1 -0
  315. package/dist/core/{p-e4f1d72b.entry.js → p-069e758b.entry.js} +2 -2
  316. package/dist/core/{p-4747c39f.entry.js → p-09c31ac6.entry.js} +2 -2
  317. package/dist/core/{p-4747c39f.entry.js.map → p-09c31ac6.entry.js.map} +1 -1
  318. package/dist/core/p-0f22f41e.js.map +1 -1
  319. package/dist/core/{p-0b0cc10d.entry.js → p-10950727.entry.js} +2 -2
  320. package/dist/core/p-10950727.entry.js.map +1 -0
  321. package/dist/core/p-12e8dcdd.entry.js +2 -0
  322. package/dist/core/p-12e8dcdd.entry.js.map +1 -0
  323. package/dist/core/{p-f7b1d6bf.entry.js → p-13c8859b.entry.js} +2 -2
  324. package/dist/core/{p-f7b1d6bf.entry.js.map → p-13c8859b.entry.js.map} +1 -1
  325. package/dist/core/p-15a81f32.entry.js +2 -0
  326. package/dist/core/p-15a81f32.entry.js.map +1 -0
  327. package/dist/core/p-1900c7c7.entry.js +2 -0
  328. package/dist/core/p-1900c7c7.entry.js.map +1 -0
  329. package/dist/core/{p-94e5ed81.entry.js → p-193afb53.entry.js} +2 -2
  330. package/dist/core/{p-94e5ed81.entry.js.map → p-193afb53.entry.js.map} +1 -1
  331. package/dist/core/{p-796b9ac5.entry.js → p-1be092cc.entry.js} +2 -2
  332. package/dist/core/{p-796b9ac5.entry.js.map → p-1be092cc.entry.js.map} +1 -1
  333. package/dist/core/{p-8908b8e6.entry.js → p-1ca62941.entry.js} +2 -2
  334. package/dist/core/p-2528ecec.entry.js +2 -0
  335. package/dist/core/p-2528ecec.entry.js.map +1 -0
  336. package/dist/core/{p-6d4418e4.entry.js → p-3594922d.entry.js} +2 -2
  337. package/dist/core/{p-6d4418e4.entry.js.map → p-3594922d.entry.js.map} +1 -1
  338. package/dist/core/{p-54da2d5f.entry.js → p-3f0bce15.entry.js} +2 -2
  339. package/dist/core/{p-54da2d5f.entry.js.map → p-3f0bce15.entry.js.map} +1 -1
  340. package/dist/core/p-402870f7.entry.js +2 -0
  341. package/dist/core/p-402870f7.entry.js.map +1 -0
  342. package/dist/core/{p-07365d6f.entry.js → p-444cd8d3.entry.js} +2 -2
  343. package/dist/core/{p-07365d6f.entry.js.map → p-444cd8d3.entry.js.map} +1 -1
  344. package/dist/core/{p-18b793e0.entry.js → p-5a1cfb3c.entry.js} +2 -2
  345. package/dist/core/{p-9cf6ccfd.entry.js → p-5cf704e3.entry.js} +2 -2
  346. package/dist/core/{p-9cf6ccfd.entry.js.map → p-5cf704e3.entry.js.map} +1 -1
  347. package/dist/core/{p-5d6290bb.entry.js → p-5ef453b6.entry.js} +2 -2
  348. package/dist/core/p-5ef453b6.entry.js.map +1 -0
  349. package/dist/core/{p-9b68bee6.entry.js → p-615d474e.entry.js} +2 -2
  350. package/dist/core/p-63203e59.entry.js +2 -0
  351. package/dist/core/p-63203e59.entry.js.map +1 -0
  352. package/dist/core/p-6c238418.entry.js +2 -0
  353. package/dist/core/p-6c238418.entry.js.map +1 -0
  354. package/dist/core/{p-f591abc2.entry.js → p-7026afad.entry.js} +2 -2
  355. package/dist/core/{p-f591abc2.entry.js.map → p-7026afad.entry.js.map} +1 -1
  356. package/dist/core/p-72171192.entry.js +2 -0
  357. package/dist/core/p-72171192.entry.js.map +1 -0
  358. package/dist/core/p-72b7051a.entry.js +2 -0
  359. package/dist/core/p-72b7051a.entry.js.map +1 -0
  360. package/dist/core/{p-2bba11f8.entry.js → p-7bf9bbde.entry.js} +2 -2
  361. package/dist/core/{p-2bba11f8.entry.js.map → p-7bf9bbde.entry.js.map} +1 -1
  362. package/dist/core/{p-77c4d1d2.entry.js → p-7cf6b428.entry.js} +2 -2
  363. package/dist/core/{p-77c4d1d2.entry.js.map → p-7cf6b428.entry.js.map} +1 -1
  364. package/dist/core/{p-e8cea1d5.entry.js → p-7f304d85.entry.js} +2 -2
  365. package/dist/core/{p-e8cea1d5.entry.js.map → p-7f304d85.entry.js.map} +1 -1
  366. package/dist/core/{p-37d217b5.entry.js → p-889bb8db.entry.js} +2 -2
  367. package/dist/core/{p-37d217b5.entry.js.map → p-889bb8db.entry.js.map} +1 -1
  368. package/dist/core/{p-8c841dc8.entry.js → p-8c580d88.entry.js} +2 -2
  369. package/dist/core/{p-0ec0be8d.entry.js → p-8c94541e.entry.js} +2 -2
  370. package/dist/core/{p-0ec0be8d.entry.js.map → p-8c94541e.entry.js.map} +1 -1
  371. package/dist/core/{p-6d2fa004.entry.js → p-92936b49.entry.js} +2 -2
  372. package/dist/core/{p-57721431.entry.js → p-93e1ba0a.entry.js} +2 -2
  373. package/dist/core/{p-57721431.entry.js.map → p-93e1ba0a.entry.js.map} +1 -1
  374. package/dist/core/{p-70447473.entry.js → p-982a173d.entry.js} +2 -2
  375. package/dist/core/{p-70447473.entry.js.map → p-982a173d.entry.js.map} +1 -1
  376. package/dist/core/p-9a9605c3.entry.js +2 -0
  377. package/dist/core/p-9a9605c3.entry.js.map +1 -0
  378. package/dist/core/{p-37daa8fe.entry.js → p-9c2e9189.entry.js} +2 -2
  379. package/dist/core/{p-37daa8fe.entry.js.map → p-9c2e9189.entry.js.map} +1 -1
  380. package/dist/core/p-9ce9d39a.entry.js +2 -0
  381. package/dist/core/p-9ce9d39a.entry.js.map +1 -0
  382. package/dist/core/p-9e200827.entry.js +2 -0
  383. package/dist/core/{p-9af5008c.entry.js.map → p-9e200827.entry.js.map} +1 -1
  384. package/dist/core/{p-e0abd214.entry.js → p-9fade6ad.entry.js} +2 -2
  385. package/dist/core/p-9fade6ad.entry.js.map +1 -0
  386. package/dist/core/{p-fba9f5b6.entry.js → p-a27e1cee.entry.js} +2 -2
  387. package/dist/core/{p-fba9f5b6.entry.js.map → p-a27e1cee.entry.js.map} +1 -1
  388. package/dist/core/p-a8cc28a6.entry.js +2 -0
  389. package/dist/core/p-a8cc28a6.entry.js.map +1 -0
  390. package/dist/core/{p-f6209622.entry.js → p-a99ad459.entry.js} +2 -2
  391. package/dist/core/{p-f6209622.entry.js.map → p-a99ad459.entry.js.map} +1 -1
  392. package/dist/core/{p-9a8bcb78.entry.js → p-b00efb15.entry.js} +2 -2
  393. package/dist/core/{p-9a8bcb78.entry.js.map → p-b00efb15.entry.js.map} +1 -1
  394. package/dist/core/{p-656b92d7.entry.js → p-b6d6b26e.entry.js} +2 -2
  395. package/dist/core/{p-ff4a873e.entry.js → p-b88db5e3.entry.js} +2 -2
  396. package/dist/core/{p-ff4a873e.entry.js.map → p-b88db5e3.entry.js.map} +1 -1
  397. package/dist/core/p-c0d4db72.entry.js +2 -0
  398. package/dist/core/p-c0d4db72.entry.js.map +1 -0
  399. package/dist/core/{p-d77981a5.entry.js → p-c87cc0d1.entry.js} +2 -2
  400. package/dist/core/{p-d77981a5.entry.js.map → p-c87cc0d1.entry.js.map} +1 -1
  401. package/dist/core/{p-553531bf.entry.js → p-c8ce7d60.entry.js} +2 -2
  402. package/dist/core/{p-553531bf.entry.js.map → p-c8ce7d60.entry.js.map} +1 -1
  403. package/dist/core/p-d144ca59.entry.js +2 -0
  404. package/dist/core/p-d144ca59.entry.js.map +1 -0
  405. package/dist/core/{p-492fcb51.entry.js → p-d8200098.entry.js} +2 -2
  406. package/dist/core/{p-492fcb51.entry.js.map → p-d8200098.entry.js.map} +1 -1
  407. package/dist/core/{p-479e5fa2.entry.js → p-df220b91.entry.js} +2 -2
  408. package/dist/core/p-e380a54e.entry.js +2 -0
  409. package/dist/core/p-e380a54e.entry.js.map +1 -0
  410. package/dist/core/{p-b7a726fb.entry.js → p-e4b82731.entry.js} +2 -2
  411. package/dist/core/{p-b7a726fb.entry.js.map → p-e4b82731.entry.js.map} +1 -1
  412. package/dist/core/{p-542ac498.js → p-e4ef4263.js} +2 -2
  413. package/dist/core/p-e4ef4263.js.map +1 -0
  414. package/dist/core/p-ea1de762.entry.js +2 -0
  415. package/dist/core/p-ea1de762.entry.js.map +1 -0
  416. package/dist/core/{p-a86756fa.entry.js → p-eb958cc8.entry.js} +2 -2
  417. package/dist/core/{p-a86756fa.entry.js.map → p-eb958cc8.entry.js.map} +1 -1
  418. package/dist/core/{p-b4a2f6fa.entry.js → p-f098e531.entry.js} +2 -2
  419. package/dist/core/{p-b4a2f6fa.entry.js.map → p-f098e531.entry.js.map} +1 -1
  420. package/dist/core/p-f16c4210.entry.js +2 -0
  421. package/dist/core/p-f16c4210.entry.js.map +1 -0
  422. package/dist/core/{p-c1ae14ad.entry.js → p-f3ccaa0b.entry.js} +2 -2
  423. package/dist/core/{p-c1ae14ad.entry.js.map → p-f3ccaa0b.entry.js.map} +1 -1
  424. package/dist/core/p-f457d508.entry.js +2 -0
  425. package/dist/core/p-f457d508.entry.js.map +1 -0
  426. package/dist/core/{p-266d5e13.entry.js → p-f4e7cae6.entry.js} +2 -2
  427. package/dist/core/{p-266d5e13.entry.js.map → p-f4e7cae6.entry.js.map} +1 -1
  428. package/dist/core/{p-bf5558ac.entry.js → p-fad44bc8.entry.js} +2 -2
  429. package/dist/core/{p-bf5558ac.entry.js.map → p-fad44bc8.entry.js.map} +1 -1
  430. package/dist/core/{p-5fcfcfb6.entry.js → p-fb43abd6.entry.js} +2 -2
  431. package/dist/core/{p-5fcfcfb6.entry.js.map → p-fb43abd6.entry.js.map} +1 -1
  432. package/dist/core/p-fd64c0e5.entry.js +2 -0
  433. package/dist/core/p-fd64c0e5.entry.js.map +1 -0
  434. package/dist/core/{p-ba26a1f0.entry.js → p-ffbf493f.entry.js} +2 -2
  435. package/dist/core/p-ffc1cea6.entry.js +2 -0
  436. package/dist/core/p-ffc1cea6.entry.js.map +1 -0
  437. package/dist/esm/core.js +1 -1
  438. package/dist/esm/{helpers-1dbd527e.js → helpers-5419eb6c.js} +5 -2
  439. package/dist/esm/helpers-5419eb6c.js.map +1 -0
  440. package/dist/esm/helpers-89cb996d.js.map +1 -1
  441. package/dist/esm/ic-accordion-group.entry.js +1 -1
  442. package/dist/esm/ic-accordion.entry.js +1 -1
  443. package/dist/esm/ic-action-chip.entry.js +1 -1
  444. package/dist/esm/ic-alert.entry.js +6 -4
  445. package/dist/esm/ic-alert.entry.js.map +1 -1
  446. package/dist/esm/ic-back-to-top.entry.js +6 -5
  447. package/dist/esm/ic-back-to-top.entry.js.map +1 -1
  448. package/dist/esm/ic-badge.entry.js +3 -3
  449. package/dist/esm/ic-badge.entry.js.map +1 -1
  450. package/dist/esm/ic-breadcrumb-group.entry.js +3 -3
  451. package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
  452. package/dist/esm/ic-breadcrumb.entry.js +5 -4
  453. package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
  454. package/dist/esm/ic-button_3.entry.js +43 -19
  455. package/dist/esm/ic-button_3.entry.js.map +1 -1
  456. package/dist/esm/ic-card-horizontal.entry.js +32 -6
  457. package/dist/esm/ic-card-horizontal.entry.js.map +1 -1
  458. package/dist/esm/ic-card-vertical.entry.js +5 -5
  459. package/dist/esm/ic-card-vertical.entry.js.map +1 -1
  460. package/dist/esm/ic-checkbox-group.entry.js +9 -5
  461. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  462. package/dist/esm/ic-checkbox_3.entry.js +13 -14
  463. package/dist/esm/ic-checkbox_3.entry.js.map +1 -1
  464. package/dist/esm/ic-chip.entry.js +4 -4
  465. package/dist/esm/ic-chip.entry.js.map +1 -1
  466. package/dist/esm/ic-data-list.entry.js +2 -2
  467. package/dist/esm/ic-data-list.entry.js.map +1 -1
  468. package/dist/esm/ic-data-row.entry.js +3 -3
  469. package/dist/esm/ic-data-row.entry.js.map +1 -1
  470. package/dist/esm/ic-data-table-title-bar.entry.js +3 -3
  471. package/dist/esm/ic-data-table.entry.js +35 -15
  472. package/dist/esm/ic-data-table.entry.js.map +1 -1
  473. package/dist/esm/ic-date-input.entry.js +8 -4
  474. package/dist/esm/ic-date-input.entry.js.map +1 -1
  475. package/dist/esm/ic-date-picker.entry.js +15 -10
  476. package/dist/esm/ic-date-picker.entry.js.map +1 -1
  477. package/dist/esm/ic-dialog.entry.js +39 -13
  478. package/dist/esm/ic-dialog.entry.js.map +1 -1
  479. package/dist/esm/ic-divider.entry.js +3 -2
  480. package/dist/esm/ic-divider.entry.js.map +1 -1
  481. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  482. package/dist/esm/ic-footer-link.entry.js +3 -3
  483. package/dist/esm/ic-footer-link.entry.js.map +1 -1
  484. package/dist/esm/ic-footer.entry.js +1 -1
  485. package/dist/esm/ic-hero.entry.js +8 -7
  486. package/dist/esm/ic-hero.entry.js.map +1 -1
  487. package/dist/esm/ic-horizontal-scroll.entry.js +6 -6
  488. package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
  489. package/dist/esm/ic-input-component-container_4.entry.js +11 -11
  490. package/dist/esm/ic-input-component-container_4.entry.js.map +1 -1
  491. package/dist/esm/ic-layout-grid-item.entry.js +2 -2
  492. package/dist/esm/ic-layout-grid-item.entry.js.map +1 -1
  493. package/dist/esm/ic-layout-grid.entry.js +2 -2
  494. package/dist/esm/ic-layout-grid.entry.js.map +1 -1
  495. package/dist/esm/ic-link.entry.js +2 -2
  496. package/dist/esm/ic-link.entry.js.map +1 -1
  497. package/dist/esm/ic-menu-group.entry.js +2 -2
  498. package/dist/esm/ic-menu-group.entry.js.map +1 -1
  499. package/dist/esm/ic-menu-item.entry.js +3 -2
  500. package/dist/esm/ic-menu-item.entry.js.map +1 -1
  501. package/dist/esm/ic-menu.entry.js +13 -10
  502. package/dist/esm/ic-menu.entry.js.map +1 -1
  503. package/dist/esm/ic-navigation-button.entry.js +3 -3
  504. package/dist/esm/ic-navigation-button.entry.js.map +1 -1
  505. package/dist/esm/ic-navigation-group.entry.js +2 -2
  506. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  507. package/dist/esm/ic-navigation-item.entry.js +4 -4
  508. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  509. package/dist/esm/ic-navigation-menu.entry.js +5 -5
  510. package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
  511. package/dist/esm/ic-page-header.entry.js +8 -8
  512. package/dist/esm/ic-page-header.entry.js.map +1 -1
  513. package/dist/esm/ic-pagination_4.entry.js +36 -23
  514. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  515. package/dist/esm/ic-popover-menu.entry.js +5 -5
  516. package/dist/esm/ic-popover-menu.entry.js.map +1 -1
  517. package/dist/esm/ic-radio-group.entry.js +5 -5
  518. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  519. package/dist/esm/ic-radio-option.entry.js +5 -5
  520. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  521. package/dist/esm/ic-search-bar.entry.js +10 -10
  522. package/dist/esm/ic-search-bar.entry.js.map +1 -1
  523. package/dist/esm/ic-section-container.entry.js +2 -2
  524. package/dist/esm/ic-section-container.entry.js.map +1 -1
  525. package/dist/esm/ic-side-navigation.entry.js +6 -6
  526. package/dist/esm/ic-side-navigation.entry.js.map +1 -1
  527. package/dist/esm/ic-skeleton.entry.js +2 -2
  528. package/dist/esm/ic-skeleton.entry.js.map +1 -1
  529. package/dist/esm/ic-skip-link.entry.js +2 -2
  530. package/dist/esm/ic-skip-link.entry.js.map +1 -1
  531. package/dist/esm/ic-status-tag.entry.js +4 -4
  532. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  533. package/dist/esm/ic-step.entry.js +15 -14
  534. package/dist/esm/ic-step.entry.js.map +1 -1
  535. package/dist/esm/ic-stepper.entry.js +4 -3
  536. package/dist/esm/ic-stepper.entry.js.map +1 -1
  537. package/dist/esm/ic-switch.entry.js +5 -5
  538. package/dist/esm/ic-switch.entry.js.map +1 -1
  539. package/dist/esm/ic-tab-context.entry.js +1 -1
  540. package/dist/esm/ic-tab-context.entry.js.map +1 -1
  541. package/dist/esm/ic-tab-group.entry.js +3 -3
  542. package/dist/esm/ic-tab-group.entry.js.map +1 -1
  543. package/dist/esm/ic-tab-panel.entry.js +2 -2
  544. package/dist/esm/ic-tab-panel.entry.js.map +1 -1
  545. package/dist/esm/ic-tab.entry.js +3 -3
  546. package/dist/esm/ic-tab.entry.js.map +1 -1
  547. package/dist/esm/ic-table-of-contents.entry.js +3 -3
  548. package/dist/esm/ic-theme.entry.js +2 -2
  549. package/dist/esm/ic-theme.entry.js.map +1 -1
  550. package/dist/esm/ic-time-input.entry.js +9 -5
  551. package/dist/esm/ic-time-input.entry.js.map +1 -1
  552. package/dist/esm/ic-toast-region.entry.js +1 -1
  553. package/dist/esm/ic-toast-region.entry.js.map +1 -1
  554. package/dist/esm/ic-toast.entry.js +8 -5
  555. package/dist/esm/ic-toast.entry.js.map +1 -1
  556. package/dist/esm/ic-toggle-button-group.entry.js +8 -4
  557. package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
  558. package/dist/esm/ic-toggle-button.entry.js +58 -45
  559. package/dist/esm/ic-toggle-button.entry.js.map +1 -1
  560. package/dist/esm/ic-top-navigation.entry.js +6 -6
  561. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  562. package/dist/esm/ic-tree-item.entry.js +2 -2
  563. package/dist/esm/ic-tree-view.entry.js +3 -3
  564. package/dist/esm/ic-typography.entry.js +3 -3
  565. package/dist/esm/ic-typography.entry.js.map +1 -1
  566. package/dist/esm/loader.js +1 -1
  567. package/dist/types/components/ic-card-horizontal/ic-card-horizontal.d.ts +19 -4
  568. package/dist/types/components/ic-card-horizontal/ic-card-horizontal.stories.d.ts +51 -9
  569. package/dist/types/components/ic-data-table/ic-data-table.d.ts +5 -0
  570. package/dist/types/components/ic-data-table/ic-data-table.stories.d.ts +6 -0
  571. package/dist/types/components/ic-data-table/story-data.d.ts +1 -0
  572. package/dist/types/components/ic-date-input/ic-date-input.d.ts +5 -1
  573. package/dist/types/components/ic-date-input/ic-date-input.stories.d.ts +15 -9
  574. package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +5 -1
  575. package/dist/types/components/ic-time-input/ic-time-input.d.ts +5 -1
  576. package/dist/types/components/ic-time-input/ic-time-input.stories.d.ts +14 -8
  577. package/dist/types/components.d.ts +66 -24
  578. package/dist/types/utils/types.d.ts +7 -2
  579. package/hydrate/index.js +496 -325
  580. package/hydrate/index.mjs +496 -325
  581. package/package.json +3 -3
  582. package/dist/cjs/helpers-046745ee.js.map +0 -1
  583. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.types.js +0 -2
  584. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.types.js.map +0 -1
  585. package/dist/core/p-05e0cadf.entry.js +0 -2
  586. package/dist/core/p-05e0cadf.entry.js.map +0 -1
  587. package/dist/core/p-0b0cc10d.entry.js.map +0 -1
  588. package/dist/core/p-0e882f70.entry.js +0 -2
  589. package/dist/core/p-0e882f70.entry.js.map +0 -1
  590. package/dist/core/p-182883cb.entry.js +0 -2
  591. package/dist/core/p-182883cb.entry.js.map +0 -1
  592. package/dist/core/p-1d89fcda.entry.js +0 -2
  593. package/dist/core/p-1d89fcda.entry.js.map +0 -1
  594. package/dist/core/p-2f0ab1d0.entry.js +0 -2
  595. package/dist/core/p-2f0ab1d0.entry.js.map +0 -1
  596. package/dist/core/p-35bff926.entry.js +0 -2
  597. package/dist/core/p-35bff926.entry.js.map +0 -1
  598. package/dist/core/p-542ac498.js.map +0 -1
  599. package/dist/core/p-5d6290bb.entry.js.map +0 -1
  600. package/dist/core/p-6addd986.entry.js +0 -2
  601. package/dist/core/p-6addd986.entry.js.map +0 -1
  602. package/dist/core/p-6e5fc63c.entry.js +0 -2
  603. package/dist/core/p-6e5fc63c.entry.js.map +0 -1
  604. package/dist/core/p-7986db4a.entry.js +0 -2
  605. package/dist/core/p-7986db4a.entry.js.map +0 -1
  606. package/dist/core/p-7bb3531c.entry.js +0 -2
  607. package/dist/core/p-7bb3531c.entry.js.map +0 -1
  608. package/dist/core/p-816aae93.entry.js +0 -2
  609. package/dist/core/p-816aae93.entry.js.map +0 -1
  610. package/dist/core/p-8a5ae4ab.entry.js +0 -2
  611. package/dist/core/p-8a5ae4ab.entry.js.map +0 -1
  612. package/dist/core/p-8b4a7a78.entry.js +0 -2
  613. package/dist/core/p-8b4a7a78.entry.js.map +0 -1
  614. package/dist/core/p-9af5008c.entry.js +0 -2
  615. package/dist/core/p-9fa329f2.entry.js +0 -2
  616. package/dist/core/p-9fa329f2.entry.js.map +0 -1
  617. package/dist/core/p-a7a572d9.entry.js +0 -2
  618. package/dist/core/p-a7a572d9.entry.js.map +0 -1
  619. package/dist/core/p-ac2f8cc8.entry.js +0 -2
  620. package/dist/core/p-ac2f8cc8.entry.js.map +0 -1
  621. package/dist/core/p-b10f5992.entry.js +0 -2
  622. package/dist/core/p-b10f5992.entry.js.map +0 -1
  623. package/dist/core/p-b2b5d4fa.entry.js +0 -2
  624. package/dist/core/p-b2b5d4fa.entry.js.map +0 -1
  625. package/dist/core/p-bad17ba7.entry.js +0 -2
  626. package/dist/core/p-bad17ba7.entry.js.map +0 -1
  627. package/dist/core/p-bf08d34c.entry.js +0 -2
  628. package/dist/core/p-bf08d34c.entry.js.map +0 -1
  629. package/dist/core/p-c4bf8742.entry.js +0 -2
  630. package/dist/core/p-c4bf8742.entry.js.map +0 -1
  631. package/dist/core/p-c9953122.entry.js.map +0 -1
  632. package/dist/core/p-e0abd214.entry.js.map +0 -1
  633. package/dist/esm/helpers-1dbd527e.js.map +0 -1
  634. package/dist/types/components/ic-card-horizontal/ic-card-horizontal.types.d.ts +0 -1
  635. /package/dist/core/{p-e4f1d72b.entry.js.map → p-069e758b.entry.js.map} +0 -0
  636. /package/dist/core/{p-8908b8e6.entry.js.map → p-1ca62941.entry.js.map} +0 -0
  637. /package/dist/core/{p-18b793e0.entry.js.map → p-5a1cfb3c.entry.js.map} +0 -0
  638. /package/dist/core/{p-9b68bee6.entry.js.map → p-615d474e.entry.js.map} +0 -0
  639. /package/dist/core/{p-8c841dc8.entry.js.map → p-8c580d88.entry.js.map} +0 -0
  640. /package/dist/core/{p-6d2fa004.entry.js.map → p-92936b49.entry.js.map} +0 -0
  641. /package/dist/core/{p-656b92d7.entry.js.map → p-b6d6b26e.entry.js.map} +0 -0
  642. /package/dist/core/{p-479e5fa2.entry.js.map → p-df220b91.entry.js.map} +0 -0
  643. /package/dist/core/{p-ba26a1f0.entry.js.map → p-ffbf493f.entry.js.map} +0 -0
@@ -0,0 +1,2 @@
1
+ import{r as i,c as t,h as e,F as s,H as a,g as o}from"./p-8e4e97b4.js";import{c as n}from"./p-e081702e.js";import{h as r,m as l,i as h,o as d}from"./p-e4ef4263.js";const c='/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0;}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px;}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;min-height:100% !important;background:rgb(0 0 0 / 60%);z-index:var(--ic-z-index-dialog);opacity:0}:host(.ic-dialog-fade-in){opacity:1}:host(.disable-height-constraint){background:none;justify-content:unset;align-items:unset}.dialog.disable-height-constraint{max-height:none;position:relative}.dialog.disable-height-constraint .content-area{overflow-y:visible}@media (prefers-reduced-motion: no-preference){:host{transition:opacity var(--ic-easing-transition-slow)}.dialog{transform:translateY(-3rem);transition:transform 1000s}:host(.ic-dialog-fade-in) .dialog{transform:translateY(0);transition:transform var(--ic-easing-transition-slow)}}:host(.ic-dialog-hidden){display:none}.dialog{background-color:var(--ic-dialog-background);color:var(--ic-dialog-text-primary);--ic-typography-color:var(--ic-dialog-text-primary);border:var(--ic-space-1px) solid var(--ic-dialog-border);border-radius:var(--ic-border-radius);padding:var(--ic-space-xs) 0 var(--ic-space-md);display:flex;flex-direction:column;box-sizing:border-box;overflow-x:visible}.small{width:50%;max-width:25rem;min-height:11rem;max-height:70vh}.medium{width:70vw;max-width:44rem;min-height:12.5rem;max-height:70vh}.large{width:90vw;max-width:62.5rem;min-height:12.5rem;max-height:90vh}.heading-area{display:flex;margin-bottom:var(--ic-space-xs);padding:0 var(--ic-space-md)}.heading{overflow-wrap:break-word}.close-icon{margin-left:auto}.close-icon>svg{color:var(--ic-dialog-clear-button)}.content-area{padding:0 var(--ic-space-md);margin:0;overflow-y:auto}#dialog-content{margin-bottom:var(--ic-space-sm)}#dialog-content ::slotted(ic-typography){overflow-wrap:break-word}#dialog-content ::slotted(*){position:relative}.dialog-controls{margin-top:auto;padding:var(--ic-space-xs) var(--ic-space-md) 0;display:flex;justify-content:flex-end;gap:var(--ic-space-md)}.dialog-control-button{width:-moz-fit-content;width:fit-content}.backdrop{overflow-y:auto;position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgb(0 0 0 / 60%);z-index:var(--ic-z-index-dialog);padding-top:16px;padding-bottom:16px}.heading ic-typography{--ic-typography-color:var(--ic-dialog-text-primary)}.label ic-typography{--ic-typography-color:var(--ic-dialog-label)}@media (min-width: 800px){.large:not(.disable-width-constraint)>.content-area{width:75%}}@media (max-width: 576px){.dialog{width:100vw;height:100vh;max-width:none;max-height:none;box-sizing:border-box}.backdrop{padding:0}.dialog.disable-height-constraint{height:auto;min-height:100vh}}@media (max-width: 364px){.dialog-control-button{width:unset}}';const g=c;const u=class{constructor(a){i(this,a);this.icDialogCancelled=t(this,"icDialogCancelled",7);this.icDialogClosed=t(this,"icDialogClosed",7);this.icDialogConfirmed=t(this,"icDialogConfirmed",7);this.icDialogOpened=t(this,"icDialogOpened",7);this.contentAreaMutationObserver=null;this.DATA_GETS_FOCUS="data-gets-focus";this.DIALOG_CONTROLS="dialog-controls";this.dialogHeight=0;this.focusedElementIndex=0;this.IC_TEXT_FIELD="IC-TEXT-FIELD";this.IC_ACCORDION="IC-ACCORDION";this.IC_ACCORDION_GROUP="IC-ACCORDION-GROUP";this.IC_CHECKBOX="IC-CHECKBOX";this.IC_SEARCH_BAR="IC-SEARCH-BAR";this.IC_TAB_CONTEXT="IC-TAB-CONTEXT";this.interactiveElementList=[];this.resizeObserver=null;this.focusAttemptCount=0;this.dialogRendered=false;this.fadeIn=false;this.closeOnBackdropClick=true;this.destructive=false;this.dismissLabel="Dismiss";this.disableHeightConstraint=false;this.disableWidthConstraint=false;this.hideCloseButton=false;this.hideDefaultControls=false;this.open=false;this.size="small";this.theme="inherit";this.dialogOpened=()=>{var i,t;this.dialogRendered=true;if(this.disableHeightConstraint){(i=this.dialogEl)===null||i===void 0?void 0:i.show()}else{(t=this.dialogEl)===null||t===void 0?void 0:t.showModal()}setTimeout((()=>{this.fadeIn=true;if(this.backdropEl&&this.disableHeightConstraint&&this.backdropEl.scrollTop!==0){this.backdropEl.scrollTop=0}}),10);setTimeout((()=>{this.getInteractiveElements();this.setInitialFocus();r(this.runResizeObserver)}),75);setTimeout((()=>{this.icDialogOpened.emit()}),80)};this.runResizeObserver=()=>{if(this.dialogEl){this.resizeObserver=new ResizeObserver((()=>{clearTimeout(this.resizeTimeout);this.resizeTimeout=window.setTimeout(this.resizeObserverCallback,80)}));this.resizeObserver.observe(this.dialogEl)}};this.resizeObserverCallback=()=>{if(this.dialogEl&&this.dialogEl.clientHeight!==this.dialogHeight){this.dialogHeight=this.dialogEl.clientHeight}};this.refreshInteractiveElementsOnSlotChange=()=>{var i,t,e;const s=(i=this.el.shadowRoot)===null||i===void 0?void 0:i.querySelector("#dialog-content");if(s){this.contentArea=s.querySelector("slot");(t=this.contentArea)===null||t===void 0?void 0:t.addEventListener("slotchange",this.getInteractiveElements);this.contentAreaMutationObserver=new MutationObserver((()=>{this.getInteractiveElements()}));(e=l(s))===null||e===void 0?void 0:e.forEach((i=>{var t;(t=this.contentAreaMutationObserver)===null||t===void 0?void 0:t.observe(i,{childList:true,subtree:true})}))}};this.removeSlotChangeListener=()=>{var i;if(this.contentArea){this.contentArea.removeEventListener("slotchange",this.getInteractiveElements);(i=this.contentAreaMutationObserver)===null||i===void 0?void 0:i.disconnect()}};this.setInitialFocus=()=>{this.sourceElement=document.activeElement;if(!this.interactiveElementList.length){setTimeout((()=>{this.getInteractiveElements();if(this.interactiveElementList.length){this.setInitialFocus()}}),10);return}this.focusedElementIndex=this.interactiveElementList.findIndex((i=>i.hasAttribute(this.DATA_GETS_FOCUS)));if(this.focusedElementIndex===-1){this.focusedElementIndex=0}const i=this.interactiveElementList[this.focusedElementIndex];if(i){this.focusElement(i)}};this.getFocusedElementIndex=()=>{var i;for(let t=0;t<this.interactiveElementList.length;t++){if(this.interactiveElementList[t]===(((i=this.el.shadowRoot)===null||i===void 0?void 0:i.activeElement)||document.activeElement)){this.focusedElementIndex=t}}};this.closeIconClick=()=>{this.open=false};this.getInteractiveElements=()=>{var i;this.interactiveElementList=Array.from(((i=this.el.shadowRoot)===null||i===void 0?void 0:i.querySelectorAll("ic-button"))||[]);const t=Array.from(this.el.querySelectorAll(`a[href], button, input:not(.ic-input), textarea, select, details, [tabindex]:not([tabindex="-1"]),\n ic-button, ic-checkbox, ic-select, ic-search-bar, ic-tab-context,\n ic-back-to-top, ic-breadcrumb, ic-chip[dismissible="true"], ic-footer-link, ic-link, ic-navigation-button,\n ic-navigation-item, ic-switch, ic-text-field, ic-accordion-group, ic-accordion, ic-date-input, ic-date-picker`));if(t.length>0){if(t[0].slot!==this.DIALOG_CONTROLS){t[0].setAttribute(this.DATA_GETS_FOCUS,"")}else if(!this.destructive){t[t.length-1].setAttribute(this.DATA_GETS_FOCUS,"")}}for(let i=0;i<t.length;i++){this.interactiveElementList.splice(1+i,0,t[i])}};this.getNextFocusEl=i=>this.interactiveElementList[i];this.onTabKeyPress=i=>{var t;this.getFocusedElementIndex();if(((t=this.interactiveElementList[this.focusedElementIndex])===null||t===void 0?void 0:t.tagName)===this.IC_SEARCH_BAR){return false}this.setFocusIndexBasedOnShiftKey(i);this.loopNextFocusIndexIfLastElement();this.focusAttemptCount=0;this.focusElement(this.getNextFocusEl(this.focusedElementIndex),i);return true};this.shouldSkipElement=i=>{if(!i){return true}const t=getComputedStyle(i).visibility==="hidden"||i.offsetHeight===0||i.hasAttribute("disabled")||i.tagName===this.IC_ACCORDION_GROUP&&i.hasAttribute("single-expansion");const e=i.closest("ic-radio-option");return t||i.getAttribute("type")==="radio"&&!!e&&!(e.hasAttribute("selected")||i.tabIndex===0)};this.focusElement=(i,t=false)=>{if(!i){return}if(this.focusAttemptCount++>this.interactiveElementList.length){return}if(this.shouldSkipElement(i)){this.setFocusIndexBasedOnShiftKey(t);this.loopNextFocusIndexIfLastElement();this.focusElement(this.getNextFocusEl(this.focusedElementIndex),t)}else{switch(i.tagName){case this.IC_ACCORDION_GROUP:case this.IC_ACCORDION:case this.IC_SEARCH_BAR:case this.IC_TEXT_FIELD:case this.IC_CHECKBOX:case this.IC_TAB_CONTEXT:i.setFocus();break;default:i.focus()}}};this.renderDialog=()=>{const{hideDefaultControls:i,size:t,heading:a,label:o,destructive:r,dismissLabel:l,hideCloseButton:d,disableHeightConstraint:c,disableWidthConstraint:g,closeIconClick:u,DIALOG_CONTROLS:p}=this;const m=h(this.el,p);return e("dialog",{class:{dialog:true,[`${t}`]:true,"disable-height-constraint":!!c,"disable-width-constraint":!!g},"aria-labelledby":"dialog-label dialog-heading","aria-describedby":"dialog-alert dialog-content",ref:i=>this.dialogEl=i},e("div",{class:"heading-area"},e("div",{class:"heading-content"},e("div",{class:"label"},e("slot",{name:"label"},e("ic-typography",{variant:"label",id:"dialog-label"},o))),e("div",{class:"heading"},e("slot",{name:"heading"},e("ic-typography",{variant:"h4",id:"dialog-heading"},a)))),!d&&e("ic-button",{class:"close-icon",variant:"icon-tertiary",innerHTML:n,"aria-label":l,onClick:u,"data-gets-focus":r||i&&!m?"":null})),e("div",{class:"content-area"},h(this.el,"alert")&&e("slot",{name:"alert"}),e("div",{id:"dialog-content"},e("slot",null))),(m||!i)&&e("div",{class:{[p]:true}},m?e("slot",{name:p}):e(s,null,e("ic-button",{variant:"tertiary",onClick:()=>this.cancelDialog(),class:"dialog-control-button","data-gets-focus":null},"Cancel"),e("ic-button",{variant:r?"destructive":"primary",onClick:()=>this.confirmDialog(),class:"dialog-control-button","data-gets-focus":""},"Confirm"))))}}watchOpenHandler(){if(this.open){this.dialogOpened()}else{this.fadeIn=false;if(this.resizeObserver!==null){this.resizeObserver.disconnect()}setTimeout((()=>{var i,t;this.dialogRendered=false;(i=this.dialogEl)===null||i===void 0?void 0:i.close();(t=this.sourceElement)===null||t===void 0?void 0:t.focus();this.dialogHeight=0;this.icDialogClosed.emit()}),80)}}disconnectedCallback(){this.removeSlotChangeListener()}componentDidLoad(){this.refreshInteractiveElementsOnSlotChange();if(this.open){this.dialogOpened()}!h(this.el,"heading")&&d([{prop:this.heading,propName:"heading"}],"Dialog")}componentDidRender(){document.body.style.overflow=getComputedStyle(this.el).display!=="none"&&this.disableHeightConstraint?"hidden":"auto"}handleKeyboard(i){if(this.dialogRendered){switch(i.key){case"Tab":if(this.onTabKeyPress(i.shiftKey)){i.preventDefault()}break;case"Escape":if(!i.repeat){this.open=false}i.stopImmediatePropagation();break}}}handleClick(i){if(this.dialogEl&&this.closeOnBackdropClick&&i.composedPath().indexOf(this.dialogEl)<=0){const{top:t,height:e,left:s,width:a}=this.dialogEl.getBoundingClientRect();const o=t<=i.clientY&&i.clientY<=t+e&&s<=i.clientX&&i.clientX<=s+a;if(!o){this.open=false}}}async cancelDialog(){this.icDialogCancelled.emit();this.open=false}async confirmDialog(){this.icDialogConfirmed.emit()}loopNextFocusIndexIfLastElement(){if(this.focusedElementIndex>this.interactiveElementList.length-1)this.focusedElementIndex=0;else if(this.focusedElementIndex<0){this.focusedElementIndex=this.interactiveElementList.length-1}}setFocusIndexBasedOnShiftKey(i){if(i){this.focusedElementIndex-=1}else{this.focusedElementIndex+=1}}render(){const{dialogRendered:i,disableHeightConstraint:t,fadeIn:s,theme:o,size:n}=this;return e(a,{key:"fca8d5ed62295efef6630d45e8174331c4d99e48",class:{"ic-dialog-hidden":!i,"ic-dialog-fade-in":s,"disable-height-constraint":!!t,[`ic-theme-${o}`]:o!=="inherit",[`ic-dialog-size-${n}`]:n!=undefined}},t?e("div",{class:"backdrop",ref:i=>this.backdropEl=i},this.renderDialog()):this.renderDialog())}get el(){return o(this)}static get watchers(){return{open:["watchOpenHandler"]}}};u.style=g;export{u as ic_dialog};
2
+ //# sourceMappingURL=p-e380a54e.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["icDialogCss","IcDialogStyle0","Dialog","constructor","hostRef","this","contentAreaMutationObserver","DATA_GETS_FOCUS","DIALOG_CONTROLS","dialogHeight","focusedElementIndex","IC_TEXT_FIELD","IC_ACCORDION","IC_ACCORDION_GROUP","IC_CHECKBOX","IC_SEARCH_BAR","IC_TAB_CONTEXT","interactiveElementList","resizeObserver","focusAttemptCount","dialogRendered","fadeIn","closeOnBackdropClick","destructive","dismissLabel","disableHeightConstraint","disableWidthConstraint","hideCloseButton","hideDefaultControls","open","size","theme","dialogOpened","_a","_b","dialogEl","show","showModal","setTimeout","backdropEl","scrollTop","getInteractiveElements","setInitialFocus","checkResizeObserver","runResizeObserver","icDialogOpened","emit","ResizeObserver","clearTimeout","resizeTimeout","window","resizeObserverCallback","observe","clientHeight","refreshInteractiveElementsOnSlotChange","_c","contentWrapper","el","shadowRoot","querySelector","contentArea","addEventListener","MutationObserver","getSlotElements","forEach","childList","subtree","removeSlotChangeListener","removeEventListener","disconnect","sourceElement","document","activeElement","length","findIndex","element","hasAttribute","elToFocus","focusElement","getFocusedElementIndex","i","closeIconClick","Array","from","querySelectorAll","slottedInteractiveElements","slot","setAttribute","splice","getNextFocusEl","onTabKeyPress","shiftKey","tagName","setFocusIndexBasedOnShiftKey","loopNextFocusIndexIfLastElement","shouldSkipElement","isHidden","getComputedStyle","visibility","offsetHeight","radioEl","closest","getAttribute","tabIndex","setFocus","focus","renderDialog","heading","label","controlsSlotUsed","isSlotUsed","h","class","dialog","ref","name","variant","id","innerHTML","closeIcon","onClick","Fragment","cancelDialog","confirmDialog","watchOpenHandler","close","icDialogClosed","disconnectedCallback","componentDidLoad","onComponentRequiredPropUndefined","prop","propName","componentDidRender","body","style","overflow","display","handleKeyboard","ev","key","preventDefault","repeat","stopImmediatePropagation","handleClick","composedPath","indexOf","top","height","left","width","getBoundingClientRect","isInDialog","clientY","clientX","icDialogCancelled","icDialogConfirmed","render","Host","undefined"],"sources":["../web-components/dist/collection/components/ic-dialog/ic-dialog.css?tag=ic-dialog&encapsulation=shadow","../web-components/dist/collection/components/ic-dialog/ic-dialog.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n/**\n * @prop --ic-z-index-dialog: z-index of dialog \n */\n\n:host {\n position: fixed;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 100% !important;\n background: rgb(0 0 0 / 60%);\n z-index: var(--ic-z-index-dialog);\n opacity: 0;\n}\n\n:host(.ic-dialog-fade-in) {\n opacity: 1;\n}\n\n:host(.disable-height-constraint) {\n background: none;\n justify-content: unset;\n align-items: unset;\n}\n\n.dialog.disable-height-constraint {\n max-height: none;\n position: relative;\n}\n\n.dialog.disable-height-constraint .content-area {\n overflow-y: visible;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :host {\n transition: opacity var(--ic-easing-transition-slow);\n }\n\n .dialog {\n transform: translateY(-3rem);\n transition: transform 1000s;\n }\n\n :host(.ic-dialog-fade-in) .dialog {\n transform: translateY(0);\n transition: transform var(--ic-easing-transition-slow);\n }\n}\n\n:host(.ic-dialog-hidden) {\n display: none;\n}\n\n.dialog {\n background-color: var(--ic-dialog-background);\n color: var(--ic-dialog-text-primary);\n\n --ic-typography-color: var(--ic-dialog-text-primary);\n\n border: var(--ic-space-1px) solid var(--ic-dialog-border);\n border-radius: var(--ic-border-radius);\n padding: var(--ic-space-xs) 0 var(--ic-space-md);\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n overflow-x: visible;\n}\n\n.small {\n width: 50%;\n max-width: 25rem;\n min-height: 11rem;\n max-height: 70vh;\n}\n\n.medium {\n width: 70vw;\n max-width: 44rem;\n min-height: 12.5rem;\n max-height: 70vh;\n}\n\n.large {\n width: 90vw;\n max-width: 62.5rem;\n min-height: 12.5rem;\n max-height: 90vh;\n}\n\n.heading-area {\n display: flex;\n margin-bottom: var(--ic-space-xs);\n padding: 0 var(--ic-space-md);\n}\n\n.heading {\n overflow-wrap: break-word;\n}\n\n.close-icon {\n margin-left: auto;\n}\n\n.close-icon > svg {\n color: var(--ic-dialog-clear-button);\n}\n\n.content-area {\n padding: 0 var(--ic-space-md);\n margin: 0;\n overflow-y: auto;\n}\n\n#dialog-content {\n margin-bottom: var(--ic-space-sm);\n}\n\n#dialog-content ::slotted(ic-typography) {\n overflow-wrap: break-word;\n}\n\n#dialog-content ::slotted(*) {\n position: relative;\n}\n\n.dialog-controls {\n margin-top: auto;\n padding: var(--ic-space-xs) var(--ic-space-md) 0;\n display: flex;\n justify-content: flex-end;\n gap: var(--ic-space-md);\n}\n\n.dialog-control-button {\n width: -moz-fit-content;\n width: fit-content;\n}\n\n.backdrop {\n overflow-y: auto;\n position: fixed;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgb(0 0 0 / 60%);\n z-index: var(--ic-z-index-dialog);\n padding-top: 16px;\n padding-bottom: 16px;\n}\n\n.heading ic-typography {\n --ic-typography-color: var(--ic-dialog-text-primary);\n}\n\n.label ic-typography {\n --ic-typography-color: var(--ic-dialog-label);\n}\n\n@media (min-width: 800px) {\n .large:not(.disable-width-constraint) > .content-area {\n width: 75%;\n }\n}\n\n@media (max-width: 576px) {\n .dialog {\n width: 100vw;\n height: 100vh;\n max-width: none;\n max-height: none;\n box-sizing: border-box;\n }\n\n .backdrop {\n padding: 0;\n }\n\n .dialog.disable-height-constraint {\n height: auto;\n min-height: 100vh;\n }\n}\n\n@media (max-width: 364px) {\n .dialog-control-button {\n width: unset;\n }\n}\n","import { Host, h, Fragment, } from \"@stencil/core\";\nimport closeIcon from \"../../assets/close-icon.svg\";\nimport { isSlotUsed, checkResizeObserver, onComponentRequiredPropUndefined, getSlotElements, } from \"../../utils/helpers\";\n/**\n * @slot dialog-controls - Content will be place at the bottom of the dialog.\n * @slot heading - Content will be placed at the top of the dialog.\n * @slot label - Content will be placed above the dialog heading.\n * @slot alert - Content will be placed at the top of the content area of the dialog.\n */\nexport class Dialog {\n constructor() {\n this.contentAreaMutationObserver = null;\n this.DATA_GETS_FOCUS = \"data-gets-focus\";\n this.DIALOG_CONTROLS = \"dialog-controls\";\n this.dialogHeight = 0;\n this.focusedElementIndex = 0;\n this.IC_TEXT_FIELD = \"IC-TEXT-FIELD\";\n this.IC_ACCORDION = \"IC-ACCORDION\";\n this.IC_ACCORDION_GROUP = \"IC-ACCORDION-GROUP\";\n this.IC_CHECKBOX = \"IC-CHECKBOX\";\n this.IC_SEARCH_BAR = \"IC-SEARCH-BAR\";\n this.IC_TAB_CONTEXT = \"IC-TAB-CONTEXT\";\n this.interactiveElementList = [];\n this.resizeObserver = null;\n this.focusAttemptCount = 0;\n this.dialogRendered = false;\n this.fadeIn = false;\n /**\n * If set to `false`, the dialog will not close when the backdrop is clicked.\n */\n this.closeOnBackdropClick = true;\n /**\n * If 'true', sets the 'primary' or rightmost button to the destructive variant. Stops initial focus being set on the 'primary' or rightmost default or slotted button.\n */\n this.destructive = false;\n /**\n * Sets the dismiss label tooltip and aria label.\n */\n this.dismissLabel = \"Dismiss\";\n /**\n * If set to `true`, the content area max height and overflow properties are removed allowing the dialog to stretch below the fold.\n * This prop also prevents popover elements from being cut off within the content area.\n */\n this.disableHeightConstraint = false;\n /**\n * If set to `true`, the content area width property is removed, allowing content to take the full width of the dialog when using the large variant.\n */\n this.disableWidthConstraint = false;\n /**\n * If `true`, the close button will not be displayed.\n */\n this.hideCloseButton = false;\n /**\n * If set to `true`, default button controls will not be shown, but slotted dialog controls will still be displayed.\n */\n this.hideDefaultControls = false;\n /**\n * If `true`, the dialog will be displayed.\n */\n this.open = false;\n /**\n * Sets the maximum and minimum height and width for the dialog.\n */\n this.size = \"small\";\n /**\n * Sets the theme color to the dark or light theme color. \"inherit\" will set the color based on the system settings or ic-theme component.\n */\n this.theme = \"inherit\";\n this.dialogOpened = () => {\n var _a, _b;\n this.dialogRendered = true;\n if (this.disableHeightConstraint) {\n (_a = this.dialogEl) === null || _a === void 0 ? void 0 : _a.show();\n }\n else {\n (_b = this.dialogEl) === null || _b === void 0 ? void 0 : _b.showModal();\n }\n setTimeout(() => {\n this.fadeIn = true;\n /**\n * This is required to set scroll back to top if:\n * - dialog content goes below the fold\n * - is closed using cancel or confirm and reopened.\n *\n * Without this, the scroll bar will start from the dialog's last scroll-x coordinate.\n */\n if (this.backdropEl &&\n this.disableHeightConstraint &&\n this.backdropEl.scrollTop !== 0) {\n this.backdropEl.scrollTop = 0;\n }\n }, 10);\n setTimeout(() => {\n this.getInteractiveElements();\n this.setInitialFocus();\n checkResizeObserver(this.runResizeObserver);\n }, 75);\n setTimeout(() => {\n this.icDialogOpened.emit();\n }, 80);\n };\n this.runResizeObserver = () => {\n if (this.dialogEl) {\n this.resizeObserver = new ResizeObserver(() => {\n clearTimeout(this.resizeTimeout);\n this.resizeTimeout = window.setTimeout(this.resizeObserverCallback, 80);\n });\n this.resizeObserver.observe(this.dialogEl);\n }\n };\n this.resizeObserverCallback = () => {\n if (this.dialogEl && this.dialogEl.clientHeight !== this.dialogHeight) {\n this.dialogHeight = this.dialogEl.clientHeight;\n }\n };\n this.refreshInteractiveElementsOnSlotChange = () => {\n var _a, _b, _c;\n const contentWrapper = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(\"#dialog-content\");\n if (contentWrapper) {\n this.contentArea = contentWrapper.querySelector(\"slot\");\n // Detect changes to slotted elements\n (_b = this.contentArea) === null || _b === void 0 ? void 0 : _b.addEventListener(\"slotchange\", this.getInteractiveElements);\n this.contentAreaMutationObserver = new MutationObserver(() => {\n this.getInteractiveElements();\n });\n // Detect changes to children of slotted elements\n (_c = getSlotElements(contentWrapper)) === null || _c === void 0 ? void 0 : _c.forEach((el) => {\n var _a;\n (_a = this.contentAreaMutationObserver) === null || _a === void 0 ? void 0 : _a.observe(el, {\n childList: true,\n subtree: true,\n });\n });\n }\n };\n this.removeSlotChangeListener = () => {\n var _a;\n if (this.contentArea) {\n this.contentArea.removeEventListener(\"slotchange\", this.getInteractiveElements);\n (_a = this.contentAreaMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n };\n this.setInitialFocus = () => {\n this.sourceElement = document.activeElement;\n if (!this.interactiveElementList.length) {\n // No interactive elements yet, retry shortly\n setTimeout(() => {\n this.getInteractiveElements();\n if (this.interactiveElementList.length) {\n this.setInitialFocus();\n }\n }, 10);\n return;\n }\n this.focusedElementIndex = this.interactiveElementList.findIndex((element) => element.hasAttribute(this.DATA_GETS_FOCUS));\n if (this.focusedElementIndex === -1) {\n this.focusedElementIndex = 0;\n }\n const elToFocus = this.interactiveElementList[this.focusedElementIndex];\n if (elToFocus) {\n this.focusElement(elToFocus);\n }\n };\n this.getFocusedElementIndex = () => {\n var _a;\n for (let i = 0; i < this.interactiveElementList.length; i++) {\n if (this.interactiveElementList[i] ===\n (((_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.activeElement) || document.activeElement)) {\n this.focusedElementIndex = i;\n }\n }\n };\n this.closeIconClick = () => {\n this.open = false;\n };\n this.getInteractiveElements = () => {\n var _a;\n this.interactiveElementList = Array.from(((_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll(\"ic-button\")) || []);\n const slottedInteractiveElements = Array.from(this.el.querySelectorAll(`a[href], button, input:not(.ic-input), textarea, select, details, [tabindex]:not([tabindex=\"-1\"]),\n ic-button, ic-checkbox, ic-select, ic-search-bar, ic-tab-context,\n ic-back-to-top, ic-breadcrumb, ic-chip[dismissible=\"true\"], ic-footer-link, ic-link, ic-navigation-button,\n ic-navigation-item, ic-switch, ic-text-field, ic-accordion-group, ic-accordion, ic-date-input, ic-date-picker`));\n if (slottedInteractiveElements.length > 0) {\n if (slottedInteractiveElements[0].slot !== this.DIALOG_CONTROLS) {\n slottedInteractiveElements[0].setAttribute(this.DATA_GETS_FOCUS, \"\");\n }\n else if (!this.destructive) {\n slottedInteractiveElements[slottedInteractiveElements.length - 1].setAttribute(this.DATA_GETS_FOCUS, \"\");\n }\n }\n for (let i = 0; i < slottedInteractiveElements.length; i++) {\n this.interactiveElementList.splice(1 + i, 0, slottedInteractiveElements[i]);\n }\n };\n this.getNextFocusEl = (focusedElementIndex) => this.interactiveElementList[focusedElementIndex];\n this.onTabKeyPress = (shiftKey) => {\n var _a;\n this.getFocusedElementIndex();\n if (((_a = this.interactiveElementList[this.focusedElementIndex]) === null || _a === void 0 ? void 0 : _a.tagName) ===\n this.IC_SEARCH_BAR) {\n return false;\n }\n this.setFocusIndexBasedOnShiftKey(shiftKey);\n this.loopNextFocusIndexIfLastElement();\n this.focusAttemptCount = 0;\n this.focusElement(this.getNextFocusEl(this.focusedElementIndex), shiftKey);\n return true;\n };\n this.shouldSkipElement = (element) => {\n if (!element) {\n return true;\n }\n const isHidden = getComputedStyle(element).visibility === \"hidden\" ||\n element.offsetHeight === 0 ||\n element.hasAttribute(\"disabled\") ||\n (element.tagName === this.IC_ACCORDION_GROUP &&\n element.hasAttribute(\"single-expansion\"));\n const radioEl = element.closest(\"ic-radio-option\");\n return (isHidden ||\n (element.getAttribute(\"type\") === \"radio\" &&\n !!radioEl &&\n !(radioEl.hasAttribute(\"selected\") || element.tabIndex === 0)));\n };\n this.focusElement = (element, shiftKey = false) => {\n if (!element) {\n return;\n }\n if (this.focusAttemptCount++ > this.interactiveElementList.length) {\n return;\n }\n if (this.shouldSkipElement(element)) {\n this.setFocusIndexBasedOnShiftKey(shiftKey);\n this.loopNextFocusIndexIfLastElement();\n this.focusElement(this.getNextFocusEl(this.focusedElementIndex), shiftKey);\n }\n else {\n switch (element.tagName) {\n case this.IC_ACCORDION_GROUP:\n case this.IC_ACCORDION:\n case this.IC_SEARCH_BAR:\n case this.IC_TEXT_FIELD:\n case this.IC_CHECKBOX:\n case this.IC_TAB_CONTEXT:\n element.setFocus();\n break;\n default:\n element.focus();\n }\n }\n };\n this.renderDialog = () => {\n const { hideDefaultControls, size, heading, label, destructive, dismissLabel, hideCloseButton, disableHeightConstraint, disableWidthConstraint, closeIconClick, DIALOG_CONTROLS, } = this;\n const controlsSlotUsed = isSlotUsed(this.el, DIALOG_CONTROLS);\n return (h(\"dialog\", { class: {\n dialog: true,\n [`${size}`]: true,\n \"disable-height-constraint\": !!disableHeightConstraint,\n \"disable-width-constraint\": !!disableWidthConstraint,\n }, \"aria-labelledby\": \"dialog-label dialog-heading\", \"aria-describedby\": \"dialog-alert dialog-content\", ref: (el) => (this.dialogEl = el) }, h(\"div\", { class: \"heading-area\" }, h(\"div\", { class: \"heading-content\" }, h(\"div\", { class: \"label\" }, h(\"slot\", { name: \"label\" }, h(\"ic-typography\", { variant: \"label\", id: \"dialog-label\" }, label))), h(\"div\", { class: \"heading\" }, h(\"slot\", { name: \"heading\" }, h(\"ic-typography\", { variant: \"h4\", id: \"dialog-heading\" }, heading)))), !hideCloseButton && (h(\"ic-button\", { class: \"close-icon\", variant: \"icon-tertiary\", innerHTML: closeIcon, \"aria-label\": dismissLabel, onClick: closeIconClick, \"data-gets-focus\": destructive || (hideDefaultControls && !controlsSlotUsed)\n ? \"\"\n : null }))), h(\"div\", { class: \"content-area\" }, isSlotUsed(this.el, \"alert\") && h(\"slot\", { name: \"alert\" }), h(\"div\", { id: \"dialog-content\" }, h(\"slot\", null))), (controlsSlotUsed || !hideDefaultControls) && (h(\"div\", { class: {\n [DIALOG_CONTROLS]: true,\n } }, controlsSlotUsed ? (h(\"slot\", { name: DIALOG_CONTROLS })) : (h(Fragment, null, h(\"ic-button\", { variant: \"tertiary\", onClick: () => this.cancelDialog(), class: \"dialog-control-button\", \"data-gets-focus\": null }, \"Cancel\"), h(\"ic-button\", { variant: destructive ? \"destructive\" : \"primary\", onClick: () => this.confirmDialog(), class: \"dialog-control-button\", \"data-gets-focus\": \"\" }, \"Confirm\")))))));\n };\n }\n watchOpenHandler() {\n if (this.open) {\n this.dialogOpened();\n }\n else {\n this.fadeIn = false;\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n setTimeout(() => {\n var _a, _b;\n this.dialogRendered = false;\n (_a = this.dialogEl) === null || _a === void 0 ? void 0 : _a.close();\n (_b = this.sourceElement) === null || _b === void 0 ? void 0 : _b.focus();\n this.dialogHeight = 0;\n this.icDialogClosed.emit();\n }, 80);\n }\n }\n disconnectedCallback() {\n this.removeSlotChangeListener();\n }\n componentDidLoad() {\n this.refreshInteractiveElementsOnSlotChange();\n if (this.open) {\n this.dialogOpened();\n }\n !isSlotUsed(this.el, \"heading\") &&\n onComponentRequiredPropUndefined([{ prop: this.heading, propName: \"heading\" }], \"Dialog\");\n }\n componentDidRender() {\n document.body.style.overflow =\n getComputedStyle(this.el).display !== \"none\" &&\n this.disableHeightConstraint\n ? \"hidden\"\n : \"auto\";\n }\n handleKeyboard(ev) {\n if (this.dialogRendered) {\n switch (ev.key) {\n case \"Tab\":\n if (this.onTabKeyPress(ev.shiftKey)) {\n ev.preventDefault();\n }\n break;\n case \"Escape\":\n if (!ev.repeat) {\n this.open = false;\n }\n ev.stopImmediatePropagation();\n break;\n }\n }\n }\n handleClick(ev) {\n if (this.dialogEl &&\n this.closeOnBackdropClick &&\n ev.composedPath().indexOf(this.dialogEl) <= 0) {\n const { top, height, left, width } = this.dialogEl.getBoundingClientRect();\n const isInDialog = top <= ev.clientY &&\n ev.clientY <= top + height &&\n left <= ev.clientX &&\n ev.clientX <= left + width;\n if (!isInDialog) {\n this.open = false;\n }\n }\n }\n /**\n * Cancels the dialog. Used by the default 'Cancel' button or can be called manually to trigger cancelling of dialog.\n */\n async cancelDialog() {\n this.icDialogCancelled.emit();\n this.open = false;\n }\n /**\n * Confirms the dialog. Used by the default 'Confirm' button or can be called manually to trigger confirming of dialog.\n */\n async confirmDialog() {\n this.icDialogConfirmed.emit();\n }\n loopNextFocusIndexIfLastElement() {\n if (this.focusedElementIndex > this.interactiveElementList.length - 1)\n this.focusedElementIndex = 0;\n else if (this.focusedElementIndex < 0) {\n this.focusedElementIndex = this.interactiveElementList.length - 1;\n }\n }\n setFocusIndexBasedOnShiftKey(shiftKey) {\n if (shiftKey) {\n this.focusedElementIndex -= 1;\n }\n else {\n this.focusedElementIndex += 1;\n }\n }\n render() {\n const { dialogRendered, disableHeightConstraint, fadeIn, theme, size } = this;\n return (h(Host, { key: 'fca8d5ed62295efef6630d45e8174331c4d99e48', class: {\n \"ic-dialog-hidden\": !dialogRendered,\n \"ic-dialog-fade-in\": fadeIn,\n \"disable-height-constraint\": !!disableHeightConstraint,\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n [`ic-dialog-size-${size}`]: size != undefined,\n } }, disableHeightConstraint ? (h(\"div\", { class: \"backdrop\", ref: (el) => (this.backdropEl = el) }, this.renderDialog())) : (this.renderDialog())));\n }\n static get is() { return \"ic-dialog\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-dialog.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-dialog.css\"]\n };\n }\n static get properties() {\n return {\n \"closeOnBackdropClick\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If set to `false`, the dialog will not close when the backdrop is clicked.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"close-on-backdrop-click\",\n \"reflect\": false,\n \"defaultValue\": \"true\"\n },\n \"destructive\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If 'true', sets the 'primary' or rightmost button to the destructive variant. Stops initial focus being set on the 'primary' or rightmost default or slotted button.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"destructive\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"dismissLabel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the dismiss label tooltip and aria label.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"dismiss-label\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"Dismiss\\\"\"\n },\n \"disableHeightConstraint\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If set to `true`, the content area max height and overflow properties are removed allowing the dialog to stretch below the fold.\\nThis prop also prevents popover elements from being cut off within the content area.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"disable-height-constraint\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"disableWidthConstraint\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If set to `true`, the content area width property is removed, allowing content to take the full width of the dialog when using the large variant.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"disable-width-constraint\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"hideCloseButton\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the close button will not be displayed.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"hide-close-button\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"hideDefaultControls\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If set to `true`, default button controls will not be shown, but slotted dialog controls will still be displayed.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"hide-default-controls\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"heading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the heading for the dialog.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"heading\",\n \"reflect\": false\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the optional label for the dialog which appears above the heading.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"open\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the dialog will be displayed.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"open\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"size\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"\\\"small\\\" | \\\"medium\\\" | \\\"large\\\"\",\n \"resolved\": \"\\\"large\\\" | \\\"medium\\\" | \\\"small\\\" | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the maximum and minimum height and width for the dialog.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"size\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"small\\\"\"\n },\n \"theme\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcThemeMode\",\n \"resolved\": \"\\\"dark\\\" | \\\"inherit\\\" | \\\"light\\\" | undefined\",\n \"references\": {\n \"IcThemeMode\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcThemeMode\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the theme color to the dark or light theme color. \\\"inherit\\\" will set the color based on the system settings or ic-theme component.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"theme\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"inherit\\\"\"\n }\n };\n }\n static get states() {\n return {\n \"dialogRendered\": {},\n \"fadeIn\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"icDialogCancelled\",\n \"name\": \"icDialogCancelled\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Cancellation event emitted when default 'Cancel' button clicked or 'cancelDialog' method is called.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"icDialogClosed\",\n \"name\": \"icDialogClosed\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when dialog has closed.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"icDialogConfirmed\",\n \"name\": \"icDialogConfirmed\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Confirmation event emitted when default 'Confirm' primary button clicked or 'confirmDialog' method is called.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"icDialogOpened\",\n \"name\": \"icDialogOpened\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when dialog has opened.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"cancelDialog\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Cancels the dialog. Used by the default 'Cancel' button or can be called manually to trigger cancelling of dialog.\",\n \"tags\": []\n }\n },\n \"confirmDialog\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Confirms the dialog. Used by the default 'Confirm' button or can be called manually to trigger confirming of dialog.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"open\",\n \"methodName\": \"watchOpenHandler\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"keydown\",\n \"method\": \"handleKeyboard\",\n \"target\": \"document\",\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"click\",\n \"method\": \"handleClick\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=ic-dialog.js.map\n"],"mappings":"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","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as i,c as e,h as t,H as o,g as a}from"./p-8e4e97b4.js";import{d as c,g as s,r,o as n,a as d,i as l,b as p}from"./p-542ac498.js";const h=`<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M10 0C4.47 0 0 4.47 0 10C0 15.53 4.47 20 10 20C15.53 20 20 15.53 20 10C20 4.47 15.53 0 10 0ZM15 13.59L13.59 15L10 11.41L6.41 15L5 13.59L8.59 10L5 6.41L6.41 5L10 8.59L13.59 5L15 6.41L11.41 10L15 13.59Z" fill="currentColor"/>\n</svg>\n`;const b='/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0;}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px;}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;max-width:100%;vertical-align:middle}:host(.ic-chip-dismissed){display:none}.chip{--chip-bg-color:transparent;--chip-hover-bg:var(--ic-chip-action-hover);--chip-pressed-bg:var(--ic-chip-action-pressed);display:flex;padding:calc(var(--ic-space-xxs) - var(--ic-space-1px)) var(--ic-space-xxs);font-size:0.875rem;border-radius:var(--ic-space-md);text-align:left;text-decoration:none;position:relative;background-color:var(--chip-bg-color);border:var(--ic-border-width) solid transparent;justify-content:space-between}@media (prefers-reduced-motion: no-preference){.chip{transition:var(--ic-easing-transition-fast)}}.chip.small{padding:var(--ic-space-1px) var(--ic-space-xxxs);border-radius:calc(var(--ic-space-md) - var(--ic-space-xxxs))}.chip.large{padding:calc(var(--ic-space-xs) - var(--ic-space-1px)) var(--ic-space-xs);border-radius:calc(var(--ic-space-md) + var(--ic-space-xxs))}.label{padding:0 var(--ic-space-xs)}.chip:focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);z-index:1}ic-tooltip:focus-within{z-index:1}.filled{--chip-bg-color:var(\n --chip-custom-color,\n var(--ic-chip-background-filled-default)\n );--ic-typography-color:var(\n --chip-custom-foreground-color,\n var(--ic-chip-label)\n );color:var(--chip-custom-foreground-color, var(--ic-chip-label))}.filled.disabled{--chip-bg-color:var(--ic-chip-background-filled-inactive)}:host(.ic-chip-dark-text){--chip-custom-foreground-color:var(--ic-architectural-black)}:host(.ic-chip-light-text){--chip-custom-foreground-color:var(--ic-architectural-white)}:host(.ic-chip-dark-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-dark-bg-hover)}:host(.ic-chip-dark-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-dark-bg-pressed)}:host(.ic-chip-light-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-light-bg-hover)}:host(.ic-chip-light-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-light-bg-pressed)}.outlined{color:var(--ic-chip-outline-label);border-color:var(--chip-custom-color, var(--ic-chip-outline));padding:calc(var(--ic-space-xxs));--ic-typography-color:var(--ic-chip-outline-label)}.outlined.disabled{border:var(--ic-border-disabled);border-color:var(--ic-chip-outline-inactive)}.chip.disabled ic-typography{--ic-typography-color:var(--ic-chip-label-inactive)}.dismiss-icon{border:none;border-radius:50%;padding:0;color:currentcolor;background:none;cursor:pointer;margin:var(--ic-space-xxxs);height:calc(var(--ic-space-lg) - var(--ic-space-xxs));width:calc(var(--ic-space-lg) - var(--ic-space-xxs))}.dismiss-icon:focus{outline:var(--ic-hc-focus-outline)}.dismiss-icon[disabled]{pointer-events:none;color:var(--ic-chip-icon-inactive)}.icon{padding:var(--ic-space-xxxs);box-sizing:border-box}.icon,ic-tooltip{width:var(--ic-space-lg);height:var(--ic-space-lg)}.chip.disabled path,.chip.disabled ::slotted(svg){fill:var(--ic-chip-icon-inactive)}.outlined.non-transparent{background-color:var(--ic-chip-outline-background)}:host .chip.hovered:not(:focus-within){background-image:linear-gradient(var(--chip-hover-bg) 0 0)}:host .chip:focus-within{background-image:linear-gradient(var(--chip-pressed-bg) 0 0)}.sr-only{position:absolute;left:-9999px}.sr-only:dir(rtl){right:-9999px}@media (forced-colors: active){.chip{border:var(--ic-border-hc)}.chip.disabled{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:GrayText}.chip.disabled ic-typography{--ic-typography-color:GrayText}.chip.disabled path,.chip.disabled ::slotted(svg){fill:GrayText}.chip:focus-within{outline:none;border-color:Highlight}}';const u=b;const g=class{constructor(t){i(this,t);this.icDismiss=e(this,"icDismiss",7);this.foregroundColor=null;this.hovered=false;this.visible=true;this.disabled=false;this.dismissible=false;this.dismissLabel="Dismiss";this.size="medium";this.theme="inherit";this.transparentBackground=true;this.variant="filled";this.dismissAction=()=>{this.icDismiss.emit()};this.mouseEnterHandler=()=>{this.hovered=true};this.mouseLeaveHandler=()=>{this.hovered=false}}customColorHandler(){const i=this.customColor&&c(this.customColor);if(!i){this.foregroundColor=null;return}const{r:e,g:t,b:o,a}=i;this.foregroundColor=s((e*299+t*587+o*114)/1e3);this.el.setAttribute("style",`--chip-custom-color: rgba(${e}, ${t}, ${o}, ${a});`)}watchDisabledHandler(){r(this.disabled,this.el)}disconnectedCallback(){var i;(i=this.hostMutationObserver)===null||i===void 0?void 0:i.disconnect()}componentWillLoad(){r(this.disabled,this.el);this.customColorHandler()}componentDidLoad(){n([{prop:this.label,propName:"label"}],"Chip");this.hostMutationObserver=new MutationObserver((i=>d(i,["icon","badge"],this)));this.hostMutationObserver.observe(this.el,{childList:true})}handleClick(){this.visible=!this.visible}async setFocus(){var i;(i=this.buttonEl)===null||i===void 0?void 0:i.focus()}render(){const{label:i,variant:e,size:a,dismissible:c,visible:s,disabled:r,hovered:n,theme:d,foregroundColor:b,dismissLabel:u,transparentBackground:g}=this;const f=`${i} chip`;return t(o,{key:"c7b88d4999b6de5004edc4bd27e185b9232fdaf9",class:{"ic-chip-dismissed":!s,[`ic-theme-${d}`]:d!=="inherit",[`ic-chip-${b}-text`]:e==="filled"&&!!b}},s&&t("div",{key:"dbbb2bd77adea5e65d61e11b6c4b2b06fadbb9b1",class:{chip:true,[`${e}`]:true,[`${a}`]:true,disabled:r,dismissible:c,hovered:n,"non-transparent":e==="outlined"&&!g}},l(this.el,"icon")&&t("div",{key:"443ef9dc619483da883171e367ac9541aaf61a38",class:"icon"},t("slot",{key:"3d5f5e0db37a1d2c0b8d2f25e0af2801cc52598e",name:"icon"})),t("ic-typography",{key:"23603177321e0a67c86da4720574592e3db8db80",variant:"label","apply-vertical-margins":false,class:{label:true,"in-ag-grid":p(this.el)}},t("span",{key:"2d55524b494e17a0ee3c8a7441ffbc1a5d47f6a4"},i)),c&&t("ic-tooltip",{key:"2def11f340b2b51518caebdf0e87b61e87d9baeb",label:u,target:"dismiss-icon",class:{"tooltip-disabled":r}},t("button",{key:"c437a1dc096b14ba3bb2fa5723fa0044e83a9b3a",id:"dismiss-icon",class:"dismiss-icon",ref:i=>this.buttonEl=i,"aria-label":`${u} ${f}`,disabled:r,tabindex:r?-1:0,onClick:this.dismissAction,onMouseEnter:this.mouseEnterHandler,onMouseLeave:this.mouseLeaveHandler,innerHTML:h})),l(this.el,"badge")&&t("slot",{key:"9b3fec37d1d44def4248cf53ae2916d9f62e1a08",name:"badge"})),c&&t("div",{key:"bc8d8601488092dde7dae7db5f0f36b802f6df9f",class:"sr-only","aria-live":"polite"},!s?`Dismissed ${f}`:""))}static get delegatesFocus(){return true}get el(){return a(this)}static get watchers(){return{customColor:["customColorHandler"],disabled:["watchDisabledHandler"]}}};g.style=u;export{g as ic_chip};
2
- //# sourceMappingURL=p-b7a726fb.entry.js.map
1
+ import{r as i,c as e,h as t,H as o,g as a}from"./p-8e4e97b4.js";import{d as c,g as s,r,o as n,a as l,i as d,b as p}from"./p-e4ef4263.js";const h=`<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M10 0C4.47 0 0 4.47 0 10C0 15.53 4.47 20 10 20C15.53 20 20 15.53 20 10C20 4.47 15.53 0 10 0ZM15 13.59L13.59 15L10 11.41L6.41 15L5 13.59L8.59 10L5 6.41L6.41 5L10 8.59L13.59 5L15 6.41L11.41 10L15 13.59Z" fill="currentColor"/>\n</svg>\n`;const b='/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0;}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px;}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;max-width:100%;vertical-align:middle}:host(.ic-chip-dismissed){display:none}.chip{--chip-bg-color:transparent;--chip-hover-bg:var(--ic-chip-action-hover);--chip-pressed-bg:var(--ic-chip-action-pressed);display:flex;padding:calc(var(--ic-space-xxs) - var(--ic-space-1px)) var(--ic-space-xxs);font-size:0.875rem;border-radius:var(--ic-space-md);text-align:left;text-decoration:none;position:relative;background-color:var(--chip-bg-color);border:var(--ic-border-width) solid transparent;justify-content:space-between}@media (prefers-reduced-motion: no-preference){.chip{transition:var(--ic-easing-transition-fast)}}.chip.small{padding:var(--ic-space-1px) var(--ic-space-xxxs);border-radius:calc(var(--ic-space-md) - var(--ic-space-xxxs))}.chip.large{padding:calc(var(--ic-space-xs) - var(--ic-space-1px)) var(--ic-space-xs);border-radius:calc(var(--ic-space-md) + var(--ic-space-xxs))}.label{padding:0 var(--ic-space-xs)}.chip:focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);z-index:1}ic-tooltip:focus-within{z-index:1}.filled{--chip-bg-color:var(\n --chip-custom-color,\n var(--ic-chip-background-filled-default)\n );--ic-typography-color:var(\n --chip-custom-foreground-color,\n var(--ic-chip-label)\n );color:var(--chip-custom-foreground-color, var(--ic-chip-label))}.filled.disabled{--chip-bg-color:var(--ic-chip-background-filled-inactive)}:host(.ic-chip-dark-text){--chip-custom-foreground-color:var(--ic-architectural-black)}:host(.ic-chip-light-text){--chip-custom-foreground-color:var(--ic-architectural-white)}:host(.ic-chip-dark-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-dark-bg-hover)}:host(.ic-chip-dark-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-dark-bg-pressed)}:host(.ic-chip-light-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-light-bg-hover)}:host(.ic-chip-light-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-light-bg-pressed)}.outlined{color:var(--ic-chip-outline-label);border-color:var(--chip-custom-color, var(--ic-chip-outline));padding:calc(var(--ic-space-xxs));--ic-typography-color:var(--ic-chip-outline-label)}.outlined.disabled{border:var(--ic-border-disabled);border-color:var(--ic-chip-outline-inactive)}.chip.disabled ic-typography{--ic-typography-color:var(--ic-chip-label-inactive)}.dismiss-icon{border:none;border-radius:50%;padding:0;color:currentcolor;background:none;cursor:pointer;margin:var(--ic-space-xxxs);height:calc(var(--ic-space-lg) - var(--ic-space-xxs));width:calc(var(--ic-space-lg) - var(--ic-space-xxs))}.dismiss-icon:focus{outline:var(--ic-hc-focus-outline)}.dismiss-icon[disabled]{pointer-events:none;color:var(--ic-chip-icon-inactive)}.icon{padding:var(--ic-space-xxxs);box-sizing:border-box}.icon,ic-tooltip{width:var(--ic-space-lg);height:var(--ic-space-lg)}.chip.disabled path,.chip.disabled ::slotted(svg){fill:var(--ic-chip-icon-inactive)}.outlined.non-transparent{background-color:var(--ic-chip-outline-background)}:host .chip.hovered:not(:focus-within){background-image:linear-gradient(var(--chip-hover-bg) 0 0)}:host .chip:focus-within{background-image:linear-gradient(var(--chip-pressed-bg) 0 0)}.sr-only{position:absolute;left:-9999px}.sr-only:dir(rtl){right:-9999px}@media (forced-colors: active){.chip{border:var(--ic-border-hc)}.chip.disabled{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:GrayText}.chip.disabled ic-typography{--ic-typography-color:GrayText}.chip.disabled path,.chip.disabled ::slotted(svg){fill:GrayText}.chip:focus-within{outline:none;border-color:Highlight}}';const u=b;const g=class{constructor(t){i(this,t);this.icDismiss=e(this,"icDismiss",7);this.foregroundColor=null;this.hovered=false;this.visible=true;this.disabled=false;this.dismissible=false;this.dismissLabel="Dismiss";this.size="medium";this.theme="inherit";this.transparentBackground=true;this.variant="filled";this.dismissAction=()=>{this.icDismiss.emit()};this.mouseEnterHandler=()=>{this.hovered=true};this.mouseLeaveHandler=()=>{this.hovered=false}}customColorHandler(){const i=this.customColor&&c(this.customColor);if(!i){this.foregroundColor=null;return}const{r:e,g:t,b:o,a}=i;this.foregroundColor=s((e*299+t*587+o*114)/1e3);this.el.setAttribute("style",`--chip-custom-color: rgba(${e}, ${t}, ${o}, ${a});`)}watchDisabledHandler(){r(this.disabled,this.el)}disconnectedCallback(){var i;(i=this.hostMutationObserver)===null||i===void 0?void 0:i.disconnect()}componentWillLoad(){r(this.disabled,this.el);this.customColorHandler()}componentDidLoad(){n([{prop:this.label,propName:"label"}],"Chip");this.hostMutationObserver=new MutationObserver((i=>l(i,["icon","badge"],this)));this.hostMutationObserver.observe(this.el,{childList:true})}handleClick(){this.visible=!this.visible}async setFocus(){var i;(i=this.buttonEl)===null||i===void 0?void 0:i.focus()}render(){const{label:i,variant:e,size:a,dismissible:c,visible:s,disabled:r,hovered:n,theme:l,foregroundColor:b,dismissLabel:u,transparentBackground:g}=this;const f=`${i} chip`;return t(o,{key:"91df6058439a8c6dbd74de3d46153e4d0c54d623",class:{"ic-chip-dismissed":!s,[`ic-theme-${l}`]:l!=="inherit",[`ic-chip-${b}-text`]:e==="filled"&&!!b}},s&&t("div",{key:"e7fe4dfe8ebedf808512a29aceef28a6700cd233",class:{chip:true,[`${e}`]:true,[`${a}`]:true,disabled:r,dismissible:c,hovered:n,"non-transparent":e==="outlined"&&!g}},d(this.el,"icon")&&t("div",{key:"81b38c990e638413596f6e5e8041f68eef20e064",class:"icon"},t("slot",{key:"3a1fda2665ac0aea65df3bfaa94552f5e6fa2e1e",name:"icon"})),t("ic-typography",{key:"a496fa5e7be6ec073cb1b2225b7a1e1f79f94f3f",variant:"label","apply-vertical-margins":false,class:{label:true,"in-ag-grid":p(this.el)}},t("span",{key:"942471f0fd86b350166c14433c40d6d912a52b17"},i)),c&&t("ic-tooltip",{key:"c9ea0b5045a625a7b42ae71b22bc9737b05501ee",label:u,target:"dismiss-icon",class:{"tooltip-disabled":r}},t("button",{key:"7fb04f03ac698a002fea17de94980623b33502dd",id:"dismiss-icon",class:"dismiss-icon",ref:i=>this.buttonEl=i,"aria-label":`${u} ${f}`,disabled:r,tabindex:r?-1:0,onClick:this.dismissAction,onMouseEnter:this.mouseEnterHandler,onMouseLeave:this.mouseLeaveHandler,innerHTML:h})),d(this.el,"badge")&&t("slot",{key:"99b017ad25c78367d25411312b47aa1f73d8f682",name:"badge"})),c&&t("div",{key:"b847f0255a3aaca7f1f24e2de1e939e0a6518c2f",class:"sr-only","aria-live":"polite"},!s?`Dismissed ${f}`:""))}static get delegatesFocus(){return true}get el(){return a(this)}static get watchers(){return{customColor:["customColorHandler"],disabled:["watchDisabledHandler"]}}};g.style=u;export{g as ic_chip};
2
+ //# sourceMappingURL=p-e4b82731.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["icChipCss","IcChipStyle0","Chip","constructor","hostRef","this","foregroundColor","hovered","visible","disabled","dismissible","dismissLabel","size","theme","transparentBackground","variant","dismissAction","icDismiss","emit","mouseEnterHandler","mouseLeaveHandler","customColorHandler","colorRGBA","customColor","convertToRGBA","r","g","b","a","getBrandForegroundAppearance","el","setAttribute","watchDisabledHandler","removeDisabledFalse","disconnectedCallback","_a","hostMutationObserver","disconnect","componentWillLoad","componentDidLoad","onComponentRequiredPropUndefined","prop","label","propName","MutationObserver","mutationList","renderDynamicChildSlots","observe","childList","handleClick","setFocus","buttonEl","focus","render","ariaLabel","h","Host","key","class","chip","isSlotUsed","name","isElInAGGrid","target","id","ref","tabindex","onClick","onMouseEnter","onMouseLeave","innerHTML","dismissIcon","delegatesFocus"],"sources":["../web-components/dist/collection/components/ic-chip/ic-chip.css?tag=ic-chip&encapsulation=shadow","../web-components/dist/collection/components/ic-chip/ic-chip.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n display: inline-block;\n max-width: 100%;\n vertical-align: middle;\n}\n\n:host(.ic-chip-dismissed) {\n display: none;\n}\n\n.chip {\n --chip-bg-color: transparent;\n --chip-hover-bg: var(--ic-chip-action-hover);\n --chip-pressed-bg: var(--ic-chip-action-pressed);\n\n display: flex;\n padding: calc(var(--ic-space-xxs) - var(--ic-space-1px)) var(--ic-space-xxs);\n font-size: 0.875rem;\n border-radius: var(--ic-space-md);\n text-align: left;\n text-decoration: none;\n position: relative;\n background-color: var(--chip-bg-color);\n border: var(--ic-border-width) solid transparent;\n justify-content: space-between;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .chip {\n transition: var(--ic-easing-transition-fast);\n }\n}\n\n.chip.small {\n padding: var(--ic-space-1px) var(--ic-space-xxxs);\n border-radius: calc(var(--ic-space-md) - var(--ic-space-xxxs));\n}\n\n.chip.large {\n padding: calc(var(--ic-space-xs) - var(--ic-space-1px)) var(--ic-space-xs);\n border-radius: calc(var(--ic-space-md) + var(--ic-space-xxs));\n}\n\n.label {\n padding: 0 var(--ic-space-xs);\n}\n\n.chip:focus-within {\n box-shadow: var(--ic-border-focus);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n}\n\nic-tooltip:focus-within {\n z-index: 1;\n}\n\n.filled {\n --chip-bg-color: var(\n --chip-custom-color,\n var(--ic-chip-background-filled-default)\n );\n --ic-typography-color: var(\n --chip-custom-foreground-color,\n var(--ic-chip-label)\n );\n\n color: var(--chip-custom-foreground-color, var(--ic-chip-label));\n}\n\n.filled.disabled {\n --chip-bg-color: var(--ic-chip-background-filled-inactive);\n}\n\n:host(.ic-chip-dark-text) {\n --chip-custom-foreground-color: var(--ic-architectural-black);\n}\n\n:host(.ic-chip-light-text) {\n --chip-custom-foreground-color: var(--ic-architectural-white);\n}\n\n:host(.ic-chip-dark-text) .chip.filled.hovered:not(:focus-within) {\n --chip-hover-bg: var(--ic-action-dark-bg-hover);\n}\n\n:host(.ic-chip-dark-text) .chip.filled:focus-within {\n --chip-pressed-bg: var(--ic-action-dark-bg-pressed);\n}\n\n:host(.ic-chip-light-text) .chip.filled.hovered:not(:focus-within) {\n --chip-hover-bg: var(--ic-action-light-bg-hover);\n}\n\n:host(.ic-chip-light-text) .chip.filled:focus-within {\n --chip-pressed-bg: var(--ic-action-light-bg-pressed);\n}\n\n.outlined {\n color: var(--ic-chip-outline-label);\n border-color: var(--chip-custom-color, var(--ic-chip-outline));\n padding: calc(var(--ic-space-xxs));\n\n --ic-typography-color: var(--ic-chip-outline-label);\n}\n\n.outlined.disabled {\n border: var(--ic-border-disabled);\n border-color: var(--ic-chip-outline-inactive);\n}\n\n.chip.disabled ic-typography {\n --ic-typography-color: var(--ic-chip-label-inactive);\n}\n\n.dismiss-icon {\n border: none;\n border-radius: 50%;\n padding: 0;\n color: currentcolor;\n background: none;\n cursor: pointer;\n margin: var(--ic-space-xxxs);\n height: calc(var(--ic-space-lg) - var(--ic-space-xxs));\n width: calc(var(--ic-space-lg) - var(--ic-space-xxs));\n}\n\n.dismiss-icon:focus {\n outline: var(--ic-hc-focus-outline);\n}\n\n.dismiss-icon[disabled] {\n pointer-events: none;\n color: var(--ic-chip-icon-inactive);\n}\n\n.icon {\n padding: var(--ic-space-xxxs);\n box-sizing: border-box;\n}\n\n.icon,\nic-tooltip {\n width: var(--ic-space-lg);\n height: var(--ic-space-lg);\n}\n\n.chip.disabled path,\n.chip.disabled ::slotted(svg) {\n fill: var(--ic-chip-icon-inactive);\n}\n\n.outlined.non-transparent {\n background-color: var(--ic-chip-outline-background);\n}\n\n:host .chip.hovered:not(:focus-within) {\n background-image: linear-gradient(var(--chip-hover-bg) 0 0);\n}\n\n:host .chip:focus-within {\n background-image: linear-gradient(var(--chip-pressed-bg) 0 0);\n}\n\n.sr-only {\n position: absolute;\n left: -9999px;\n}\n\n.sr-only:dir(rtl) {\n right: -9999px;\n}\n\n@media (forced-colors: active) {\n .chip {\n border: var(--ic-border-hc);\n }\n\n .chip.disabled {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border-color: GrayText;\n }\n\n .chip.disabled ic-typography {\n --ic-typography-color: GrayText;\n }\n\n .chip.disabled path,\n .chip.disabled ::slotted(svg) {\n fill: GrayText;\n }\n\n .chip:focus-within {\n outline: none;\n border-color: Highlight;\n }\n}\n","import { h, Host, } from \"@stencil/core\";\nimport { onComponentRequiredPropUndefined, isSlotUsed, removeDisabledFalse, convertToRGBA, isElInAGGrid, getBrandForegroundAppearance, renderDynamicChildSlots, } from \"../../utils/helpers\";\nimport dismissIcon from \"../../assets/dismiss-icon.svg\";\n/**\n * @slot icon - Content will be rendered at the start of the chip.\n * @slot badge - Badge component overlaying the top right of the chip.\n */\nexport class Chip {\n constructor() {\n this.foregroundColor = null;\n this.hovered = false;\n this.visible = true;\n /**\n * If `true`, the chip will appear disabled.\n */\n this.disabled = false;\n /**\n * If `true`, the chip will have a close button at the end to dismiss it.\n */\n this.dismissible = false;\n /**\n * The text in the dismiss button tooltip and aria label. Makes the user aware of the action resulting from clicking the 'Dismiss chip' button.\n */\n this.dismissLabel = \"Dismiss\";\n /**\n * The size of the chip.\n */\n this.size = \"medium\";\n /**\n * Sets the chip to the dark or light theme colors. \"inherit\" will set the color based on the system settings or ic-theme component.\n * Setting the \"customColor\" prop will override this.\n */\n this.theme = \"inherit\";\n /**\n * If `true`, the outlined variant of chip will have a transparent background rather than the theme defined color.\n */\n this.transparentBackground = true;\n /**\n * The emphasis of the chip.\n */\n this.variant = \"filled\";\n this.dismissAction = () => {\n this.icDismiss.emit();\n };\n this.mouseEnterHandler = () => {\n this.hovered = true;\n };\n this.mouseLeaveHandler = () => {\n this.hovered = false;\n };\n }\n customColorHandler() {\n const colorRGBA = this.customColor && convertToRGBA(this.customColor);\n if (!colorRGBA) {\n this.foregroundColor = null;\n return;\n }\n const { r, g, b, a } = colorRGBA;\n this.foregroundColor = getBrandForegroundAppearance((r * 299 + g * 587 + b * 114) / 1000);\n this.el.setAttribute(\"style\", `--chip-custom-color: rgba(${r}, ${g}, ${b}, ${a});`);\n }\n watchDisabledHandler() {\n removeDisabledFalse(this.disabled, this.el);\n }\n disconnectedCallback() {\n var _a;\n (_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n componentWillLoad() {\n removeDisabledFalse(this.disabled, this.el);\n this.customColorHandler();\n }\n componentDidLoad() {\n onComponentRequiredPropUndefined([{ prop: this.label, propName: \"label\" }], \"Chip\");\n this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, [\"icon\", \"badge\"], this));\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n handleClick() {\n this.visible = !this.visible;\n }\n /**\n * Sets focus on the chip.\n */\n async setFocus() {\n var _a;\n (_a = this.buttonEl) === null || _a === void 0 ? void 0 : _a.focus();\n }\n render() {\n const { label, variant, size, dismissible, visible, disabled, hovered, theme, foregroundColor, dismissLabel, transparentBackground, } = this;\n const ariaLabel = `${label} chip`;\n return (h(Host, { key: 'c7b88d4999b6de5004edc4bd27e185b9232fdaf9', class: {\n \"ic-chip-dismissed\": !visible,\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n [`ic-chip-${foregroundColor}-text`]: variant === \"filled\" && !!foregroundColor,\n } }, visible && (h(\"div\", { key: 'dbbb2bd77adea5e65d61e11b6c4b2b06fadbb9b1', class: {\n chip: true,\n [`${variant}`]: true,\n [`${size}`]: true,\n disabled,\n dismissible,\n hovered,\n \"non-transparent\": variant === \"outlined\" && !transparentBackground,\n } }, isSlotUsed(this.el, \"icon\") && (h(\"div\", { key: '443ef9dc619483da883171e367ac9541aaf61a38', class: \"icon\" }, h(\"slot\", { key: '3d5f5e0db37a1d2c0b8d2f25e0af2801cc52598e', name: \"icon\" }))), h(\"ic-typography\", { key: '23603177321e0a67c86da4720574592e3db8db80', variant: \"label\", \"apply-vertical-margins\": false, class: { label: true, \"in-ag-grid\": isElInAGGrid(this.el) } }, h(\"span\", { key: '2d55524b494e17a0ee3c8a7441ffbc1a5d47f6a4' }, label)), dismissible && (h(\"ic-tooltip\", { key: '2def11f340b2b51518caebdf0e87b61e87d9baeb', label: dismissLabel, target: \"dismiss-icon\", class: { \"tooltip-disabled\": disabled } }, h(\"button\", { key: 'c437a1dc096b14ba3bb2fa5723fa0044e83a9b3a', id: \"dismiss-icon\", class: \"dismiss-icon\", ref: (el) => (this.buttonEl = el), \"aria-label\": `${dismissLabel} ${ariaLabel}`, disabled: disabled, tabindex: disabled ? -1 : 0, onClick: this.dismissAction, onMouseEnter: this.mouseEnterHandler, onMouseLeave: this.mouseLeaveHandler, innerHTML: dismissIcon }))), isSlotUsed(this.el, \"badge\") && h(\"slot\", { key: '9b3fec37d1d44def4248cf53ae2916d9f62e1a08', name: \"badge\" }))), dismissible && (h(\"div\", { key: 'bc8d8601488092dde7dae7db5f0f36b802f6df9f', class: \"sr-only\", \"aria-live\": \"polite\" }, !visible ? `Dismissed ${ariaLabel}` : \"\"))));\n }\n static get is() { return \"ic-chip\"; }\n static get encapsulation() { return \"shadow\"; }\n static get delegatesFocus() { return true; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-chip.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-chip.css\"]\n };\n }\n static get properties() {\n return {\n \"customColor\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcColor\",\n \"resolved\": \"`#${string}` | `rgb(${string})` | `rgba(${string})` | undefined\",\n \"references\": {\n \"IcColor\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcColor\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The custom chip colour. This will override the theme colour.\\nCan be a hex value e.g. \\\"#ff0000\\\", RGB e.g. \\\"rgb(255, 0, 0)\\\", or RGBA e.g. \\\"rgba(255, 0, 0, 1)\\\".\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"custom-color\",\n \"reflect\": false\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the chip will appear disabled.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"dismissible\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the chip will have a close button at the end to dismiss it.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"dismissible\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"dismissLabel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The text in the dismiss button tooltip and aria label. Makes the user aware of the action resulting from clicking the 'Dismiss chip' button.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"dismiss-label\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"Dismiss\\\"\"\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The text rendered within the chip.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"size\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcSizes\",\n \"resolved\": \"\\\"large\\\" | \\\"medium\\\" | \\\"small\\\"\",\n \"references\": {\n \"IcSizes\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcSizes\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The size of the chip.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"size\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"medium\\\"\"\n },\n \"theme\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcThemeMode\",\n \"resolved\": \"\\\"dark\\\" | \\\"inherit\\\" | \\\"light\\\"\",\n \"references\": {\n \"IcThemeMode\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcThemeMode\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the chip to the dark or light theme colors. \\\"inherit\\\" will set the color based on the system settings or ic-theme component.\\nSetting the \\\"customColor\\\" prop will override this.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"theme\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"inherit\\\"\"\n },\n \"transparentBackground\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the outlined variant of chip will have a transparent background rather than the theme defined color.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"transparent-background\",\n \"reflect\": false,\n \"defaultValue\": \"true\"\n },\n \"variant\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcEmphasisType\",\n \"resolved\": \"\\\"filled\\\" | \\\"outlined\\\"\",\n \"references\": {\n \"IcEmphasisType\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcEmphasisType\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The emphasis of the chip.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"variant\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"filled\\\"\"\n }\n };\n }\n static get states() {\n return {\n \"foregroundColor\": {},\n \"hovered\": {},\n \"visible\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"icDismiss\",\n \"name\": \"icDismiss\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Is emitted when the user dismisses the chip.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the chip.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"customColor\",\n \"methodName\": \"customColorHandler\"\n }, {\n \"propName\": \"disabled\",\n \"methodName\": \"watchDisabledHandler\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"icDismiss\",\n \"method\": \"handleClick\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=ic-chip.js.map\n"],"mappings":"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","ignoreList":[]}
1
+ {"version":3,"names":["icChipCss","IcChipStyle0","Chip","constructor","hostRef","this","foregroundColor","hovered","visible","disabled","dismissible","dismissLabel","size","theme","transparentBackground","variant","dismissAction","icDismiss","emit","mouseEnterHandler","mouseLeaveHandler","customColorHandler","colorRGBA","customColor","convertToRGBA","r","g","b","a","getBrandForegroundAppearance","el","setAttribute","watchDisabledHandler","removeDisabledFalse","disconnectedCallback","_a","hostMutationObserver","disconnect","componentWillLoad","componentDidLoad","onComponentRequiredPropUndefined","prop","label","propName","MutationObserver","mutationList","renderDynamicChildSlots","observe","childList","handleClick","setFocus","buttonEl","focus","render","ariaLabel","h","Host","key","class","chip","isSlotUsed","name","isElInAGGrid","target","id","ref","tabindex","onClick","onMouseEnter","onMouseLeave","innerHTML","dismissIcon","delegatesFocus"],"sources":["../web-components/dist/collection/components/ic-chip/ic-chip.css?tag=ic-chip&encapsulation=shadow","../web-components/dist/collection/components/ic-chip/ic-chip.js"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font-style: inherit;\n vertical-align: baseline;\n}\n\n\n:host {\n display: inline-block;\n max-width: 100%;\n vertical-align: middle;\n}\n\n:host(.ic-chip-dismissed) {\n display: none;\n}\n\n.chip {\n --chip-bg-color: transparent;\n --chip-hover-bg: var(--ic-chip-action-hover);\n --chip-pressed-bg: var(--ic-chip-action-pressed);\n\n display: flex;\n padding: calc(var(--ic-space-xxs) - var(--ic-space-1px)) var(--ic-space-xxs);\n font-size: 0.875rem;\n border-radius: var(--ic-space-md);\n text-align: left;\n text-decoration: none;\n position: relative;\n background-color: var(--chip-bg-color);\n border: var(--ic-border-width) solid transparent;\n justify-content: space-between;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .chip {\n transition: var(--ic-easing-transition-fast);\n }\n}\n\n.chip.small {\n padding: var(--ic-space-1px) var(--ic-space-xxxs);\n border-radius: calc(var(--ic-space-md) - var(--ic-space-xxxs));\n}\n\n.chip.large {\n padding: calc(var(--ic-space-xs) - var(--ic-space-1px)) var(--ic-space-xs);\n border-radius: calc(var(--ic-space-md) + var(--ic-space-xxs));\n}\n\n.label {\n padding: 0 var(--ic-space-xs);\n}\n\n.chip:focus-within {\n box-shadow: var(--ic-border-focus);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n}\n\nic-tooltip:focus-within {\n z-index: 1;\n}\n\n.filled {\n --chip-bg-color: var(\n --chip-custom-color,\n var(--ic-chip-background-filled-default)\n );\n --ic-typography-color: var(\n --chip-custom-foreground-color,\n var(--ic-chip-label)\n );\n\n color: var(--chip-custom-foreground-color, var(--ic-chip-label));\n}\n\n.filled.disabled {\n --chip-bg-color: var(--ic-chip-background-filled-inactive);\n}\n\n:host(.ic-chip-dark-text) {\n --chip-custom-foreground-color: var(--ic-architectural-black);\n}\n\n:host(.ic-chip-light-text) {\n --chip-custom-foreground-color: var(--ic-architectural-white);\n}\n\n:host(.ic-chip-dark-text) .chip.filled.hovered:not(:focus-within) {\n --chip-hover-bg: var(--ic-action-dark-bg-hover);\n}\n\n:host(.ic-chip-dark-text) .chip.filled:focus-within {\n --chip-pressed-bg: var(--ic-action-dark-bg-pressed);\n}\n\n:host(.ic-chip-light-text) .chip.filled.hovered:not(:focus-within) {\n --chip-hover-bg: var(--ic-action-light-bg-hover);\n}\n\n:host(.ic-chip-light-text) .chip.filled:focus-within {\n --chip-pressed-bg: var(--ic-action-light-bg-pressed);\n}\n\n.outlined {\n color: var(--ic-chip-outline-label);\n border-color: var(--chip-custom-color, var(--ic-chip-outline));\n padding: calc(var(--ic-space-xxs));\n\n --ic-typography-color: var(--ic-chip-outline-label);\n}\n\n.outlined.disabled {\n border: var(--ic-border-disabled);\n border-color: var(--ic-chip-outline-inactive);\n}\n\n.chip.disabled ic-typography {\n --ic-typography-color: var(--ic-chip-label-inactive);\n}\n\n.dismiss-icon {\n border: none;\n border-radius: 50%;\n padding: 0;\n color: currentcolor;\n background: none;\n cursor: pointer;\n margin: var(--ic-space-xxxs);\n height: calc(var(--ic-space-lg) - var(--ic-space-xxs));\n width: calc(var(--ic-space-lg) - var(--ic-space-xxs));\n}\n\n.dismiss-icon:focus {\n outline: var(--ic-hc-focus-outline);\n}\n\n.dismiss-icon[disabled] {\n pointer-events: none;\n color: var(--ic-chip-icon-inactive);\n}\n\n.icon {\n padding: var(--ic-space-xxxs);\n box-sizing: border-box;\n}\n\n.icon,\nic-tooltip {\n width: var(--ic-space-lg);\n height: var(--ic-space-lg);\n}\n\n.chip.disabled path,\n.chip.disabled ::slotted(svg) {\n fill: var(--ic-chip-icon-inactive);\n}\n\n.outlined.non-transparent {\n background-color: var(--ic-chip-outline-background);\n}\n\n:host .chip.hovered:not(:focus-within) {\n background-image: linear-gradient(var(--chip-hover-bg) 0 0);\n}\n\n:host .chip:focus-within {\n background-image: linear-gradient(var(--chip-pressed-bg) 0 0);\n}\n\n.sr-only {\n position: absolute;\n left: -9999px;\n}\n\n.sr-only:dir(rtl) {\n right: -9999px;\n}\n\n@media (forced-colors: active) {\n .chip {\n border: var(--ic-border-hc);\n }\n\n .chip.disabled {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border-color: GrayText;\n }\n\n .chip.disabled ic-typography {\n --ic-typography-color: GrayText;\n }\n\n .chip.disabled path,\n .chip.disabled ::slotted(svg) {\n fill: GrayText;\n }\n\n .chip:focus-within {\n outline: none;\n border-color: Highlight;\n }\n}\n","import { h, Host, } from \"@stencil/core\";\nimport { onComponentRequiredPropUndefined, isSlotUsed, removeDisabledFalse, convertToRGBA, isElInAGGrid, getBrandForegroundAppearance, renderDynamicChildSlots, } from \"../../utils/helpers\";\nimport dismissIcon from \"../../assets/dismiss-icon.svg\";\n/**\n * @slot icon - Content will be rendered at the start of the chip.\n * @slot badge - Badge component overlaying the top right of the chip.\n */\nexport class Chip {\n constructor() {\n this.foregroundColor = null;\n this.hovered = false;\n this.visible = true;\n /**\n * If `true`, the chip will appear disabled.\n */\n this.disabled = false;\n /**\n * If `true`, the chip will have a close button at the end to dismiss it.\n */\n this.dismissible = false;\n /**\n * The text in the dismiss button tooltip and aria label. Makes the user aware of the action resulting from clicking the 'Dismiss chip' button.\n */\n this.dismissLabel = \"Dismiss\";\n /**\n * The size of the chip.\n */\n this.size = \"medium\";\n /**\n * Sets the chip to the dark or light theme colors. \"inherit\" will set the color based on the system settings or ic-theme component.\n * Setting the \"customColor\" prop will override this.\n */\n this.theme = \"inherit\";\n /**\n * If `true`, the outlined variant of chip will have a transparent background rather than the theme defined color.\n */\n this.transparentBackground = true;\n /**\n * The emphasis of the chip.\n */\n this.variant = \"filled\";\n this.dismissAction = () => {\n this.icDismiss.emit();\n };\n this.mouseEnterHandler = () => {\n this.hovered = true;\n };\n this.mouseLeaveHandler = () => {\n this.hovered = false;\n };\n }\n customColorHandler() {\n const colorRGBA = this.customColor && convertToRGBA(this.customColor);\n if (!colorRGBA) {\n this.foregroundColor = null;\n return;\n }\n const { r, g, b, a } = colorRGBA;\n this.foregroundColor = getBrandForegroundAppearance((r * 299 + g * 587 + b * 114) / 1000);\n this.el.setAttribute(\"style\", `--chip-custom-color: rgba(${r}, ${g}, ${b}, ${a});`);\n }\n watchDisabledHandler() {\n removeDisabledFalse(this.disabled, this.el);\n }\n disconnectedCallback() {\n var _a;\n (_a = this.hostMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n componentWillLoad() {\n removeDisabledFalse(this.disabled, this.el);\n this.customColorHandler();\n }\n componentDidLoad() {\n onComponentRequiredPropUndefined([{ prop: this.label, propName: \"label\" }], \"Chip\");\n this.hostMutationObserver = new MutationObserver((mutationList) => renderDynamicChildSlots(mutationList, [\"icon\", \"badge\"], this));\n this.hostMutationObserver.observe(this.el, {\n childList: true,\n });\n }\n handleClick() {\n this.visible = !this.visible;\n }\n /**\n * Sets focus on the chip.\n */\n async setFocus() {\n var _a;\n (_a = this.buttonEl) === null || _a === void 0 ? void 0 : _a.focus();\n }\n render() {\n const { label, variant, size, dismissible, visible, disabled, hovered, theme, foregroundColor, dismissLabel, transparentBackground, } = this;\n const ariaLabel = `${label} chip`;\n return (h(Host, { key: '91df6058439a8c6dbd74de3d46153e4d0c54d623', class: {\n \"ic-chip-dismissed\": !visible,\n [`ic-theme-${theme}`]: theme !== \"inherit\",\n [`ic-chip-${foregroundColor}-text`]: variant === \"filled\" && !!foregroundColor,\n } }, visible && (h(\"div\", { key: 'e7fe4dfe8ebedf808512a29aceef28a6700cd233', class: {\n chip: true,\n [`${variant}`]: true,\n [`${size}`]: true,\n disabled,\n dismissible,\n hovered,\n \"non-transparent\": variant === \"outlined\" && !transparentBackground,\n } }, isSlotUsed(this.el, \"icon\") && (h(\"div\", { key: '81b38c990e638413596f6e5e8041f68eef20e064', class: \"icon\" }, h(\"slot\", { key: '3a1fda2665ac0aea65df3bfaa94552f5e6fa2e1e', name: \"icon\" }))), h(\"ic-typography\", { key: 'a496fa5e7be6ec073cb1b2225b7a1e1f79f94f3f', variant: \"label\", \"apply-vertical-margins\": false, class: { label: true, \"in-ag-grid\": isElInAGGrid(this.el) } }, h(\"span\", { key: '942471f0fd86b350166c14433c40d6d912a52b17' }, label)), dismissible && (h(\"ic-tooltip\", { key: 'c9ea0b5045a625a7b42ae71b22bc9737b05501ee', label: dismissLabel, target: \"dismiss-icon\", class: { \"tooltip-disabled\": disabled } }, h(\"button\", { key: '7fb04f03ac698a002fea17de94980623b33502dd', id: \"dismiss-icon\", class: \"dismiss-icon\", ref: (el) => (this.buttonEl = el), \"aria-label\": `${dismissLabel} ${ariaLabel}`, disabled: disabled, tabindex: disabled ? -1 : 0, onClick: this.dismissAction, onMouseEnter: this.mouseEnterHandler, onMouseLeave: this.mouseLeaveHandler, innerHTML: dismissIcon }))), isSlotUsed(this.el, \"badge\") && h(\"slot\", { key: '99b017ad25c78367d25411312b47aa1f73d8f682', name: \"badge\" }))), dismissible && (h(\"div\", { key: 'b847f0255a3aaca7f1f24e2de1e939e0a6518c2f', class: \"sr-only\", \"aria-live\": \"polite\" }, !visible ? `Dismissed ${ariaLabel}` : \"\"))));\n }\n static get is() { return \"ic-chip\"; }\n static get encapsulation() { return \"shadow\"; }\n static get delegatesFocus() { return true; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"ic-chip.css\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"ic-chip.css\"]\n };\n }\n static get properties() {\n return {\n \"customColor\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcColor\",\n \"resolved\": \"`#${string}` | `rgb(${string})` | `rgba(${string})` | undefined\",\n \"references\": {\n \"IcColor\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcColor\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The custom chip colour. This will override the theme colour.\\nCan be a hex value e.g. \\\"#ff0000\\\", RGB e.g. \\\"rgb(255, 0, 0)\\\", or RGBA e.g. \\\"rgba(255, 0, 0, 1)\\\".\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"custom-color\",\n \"reflect\": false\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the chip will appear disabled.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"dismissible\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the chip will have a close button at the end to dismiss it.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"dismissible\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"dismissLabel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The text in the dismiss button tooltip and aria label. Makes the user aware of the action resulting from clicking the 'Dismiss chip' button.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"dismiss-label\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"Dismiss\\\"\"\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The text rendered within the chip.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"size\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcSizes\",\n \"resolved\": \"\\\"large\\\" | \\\"medium\\\" | \\\"small\\\"\",\n \"references\": {\n \"IcSizes\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcSizes\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The size of the chip.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"size\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"medium\\\"\"\n },\n \"theme\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcThemeMode\",\n \"resolved\": \"\\\"dark\\\" | \\\"inherit\\\" | \\\"light\\\"\",\n \"references\": {\n \"IcThemeMode\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcThemeMode\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Sets the chip to the dark or light theme colors. \\\"inherit\\\" will set the color based on the system settings or ic-theme component.\\nSetting the \\\"customColor\\\" prop will override this.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"theme\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"inherit\\\"\"\n },\n \"transparentBackground\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the outlined variant of chip will have a transparent background rather than the theme defined color.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"transparent-background\",\n \"reflect\": false,\n \"defaultValue\": \"true\"\n },\n \"variant\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"IcEmphasisType\",\n \"resolved\": \"\\\"filled\\\" | \\\"outlined\\\"\",\n \"references\": {\n \"IcEmphasisType\": {\n \"location\": \"import\",\n \"path\": \"../../utils/types\",\n \"id\": \"src/utils/types.ts::IcEmphasisType\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The emphasis of the chip.\"\n },\n \"getter\": false,\n \"setter\": false,\n \"attribute\": \"variant\",\n \"reflect\": false,\n \"defaultValue\": \"\\\"filled\\\"\"\n }\n };\n }\n static get states() {\n return {\n \"foregroundColor\": {},\n \"hovered\": {},\n \"visible\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"icDismiss\",\n \"name\": \"icDismiss\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Is emitted when the user dismisses the chip.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the chip.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"customColor\",\n \"methodName\": \"customColorHandler\"\n }, {\n \"propName\": \"disabled\",\n \"methodName\": \"watchDisabledHandler\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"icDismiss\",\n \"method\": \"handleClick\",\n \"target\": undefined,\n \"capture\": true,\n \"passive\": false\n }];\n }\n}\n//# sourceMappingURL=ic-chip.js.map\n"],"mappings":"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","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{f as n}from"./p-8e4e97b4.js";var t;(function(n){n["Warning"]="warning";n["Error"]="error";n["Success"]="success"})(t||(t={}));var o;(function(n){n["Default"]="default";n["Dark"]="dark";n["Light"]="light"})(o||(o={}));const e=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">\n <title>Error</title>\n <g>\n <path d="M8.77 3L3.5 8.27V15.73L8.77 21H16.23L21.5 15.73V8.27L16.23 3M8.91 7L12.5 10.59L16.09 7L17.5 8.41L13.91 12L17.5 15.59L16.09 17L12.5 13.41L8.91 17L7.5 15.59L11.09 12L7.5 8.41" />\n </g>\n</svg>\n`;const i=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">\n <title>For your information</title>\n <g>\n <path d="M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 17C11.45 17 11 16.55 11 16V12C11 11.45 11.45 11 12 11C12.55 11 13 11.45 13 12V16C13 16.55 12.55 17 12 17ZM13 9H11V7H13V9Z" />\n </g>\n</svg>\n`;const a=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">\n<title>Neutral</title>\n <g>\n <path d="M19.5 3H5.5C4.4 3 3.5 3.9 3.5 5V19C3.5 20.1 4.4 21 5.5 21H19.5C20.6 21 21.5 20.1 21.5 19V5C21.5 3.9 20.6 3 19.5 3ZM12.51 18C11.81 18 11.25 17.44 11.25 16.74C11.25 16.03 11.81 15.49 12.51 15.49C13.22 15.49 13.76 16.03 13.76 16.74C13.75 17.43 13.22 18 12.51 18ZM15.52 10.6C14.76 11.71 14.04 12.06 13.65 12.77C13.55 12.95 13.49 13.09 13.46 13.4C13.41 13.85 13.01 14.18 12.56 14.18H12.5C11.98 14.18 11.57 13.74 11.62 13.22C11.65 12.88 11.73 12.53 11.92 12.19C12.41 11.32 13.34 10.8 13.88 10.03C14.45 9.22 14.13 7.7 12.51 7.7C11.8 7.7 11.33 8.06 11.04 8.49C10.79 8.85 10.35 9.02 9.94 8.85C9.41 8.64 9.22 8 9.54 7.54C10.15 6.65 11.17 6 12.49 6C13.97 6 14.98 6.67 15.5 7.52C15.94 8.24 16.2 9.59 15.52 10.6Z" />\n </g>\n</svg>\n`;const r=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">\n <title>Success</title>\n <g>\n <path d="M12.5 2C6.98 2 2.5 6.48 2.5 12C2.5 17.52 6.98 22 12.5 22C18.02 22 22.5 17.52 22.5 12C22.5 6.48 18.02 2 12.5 2ZM9.79 16.29L6.2 12.7C5.81 12.31 5.81 11.68 6.2 11.29C6.59 10.9 7.22 10.9 7.61 11.29L10.5 14.17L17.38 7.29C17.77 6.9 18.4 6.9 18.79 7.29C19.18 7.68 19.18 8.31 18.79 8.7L11.2 16.29C10.82 16.68 10.18 16.68 9.79 16.29Z" />\n </g>\n</svg>\n`;const s=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">\n <title>Warning</title>\n <g>\n <path d="M4.47 20.5037H19.53C21.07 20.5037 22.03 18.8337 21.26 17.5037L13.73 4.49375C12.96 3.16375 11.04 3.16375 10.27 4.49375L2.74 17.5037C1.97 18.8337 2.93 20.5037 4.47 20.5037ZM12 13.5037C11.45 13.5037 11 13.0537 11 12.5037V10.5037C11 9.95375 11.45 9.50375 12 9.50375C12.55 9.50375 13 9.95375 13 10.5037V12.5037C13 13.0537 12.55 13.5037 12 13.5037ZM13 17.5037H11V15.5037H13V17.5037Z" />\n </g>\n</svg>\n`;const l=`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">\n <title>Artificial Intelligence (AI)</title>\n <g clip-path="url(#clip0_43876_12457)">\n <path d="M19.801 3C20.4637 3 21.001 3.53726 21.001 4.2V19.8C21.001 20.4628 20.4637 21 19.801 21H4.20098C3.53824 21 3.00098 20.4628 3.00098 19.8V4.2C3.00098 3.53726 3.53824 3 4.20098 3H19.801ZM8.94555 8.87988C8.88361 8.87988 8.82803 8.91796 8.80567 8.97573L6.32024 15.3958C6.28219 15.4941 6.35472 15.6 6.46013 15.6H7.19363C7.2559 15.6 7.3117 15.5615 7.33384 15.5033L7.89546 14.0262C7.9176 13.968 7.97339 13.9295 8.03567 13.9295H10.64C10.7023 13.9295 10.7582 13.968 10.7803 14.0263L11.3403 15.5032C11.3624 15.5615 11.4182 15.6 11.4805 15.6H12.2625C12.3678 15.6 12.4403 15.4944 12.4025 15.3962L9.9356 8.97608C9.91333 8.91813 9.85767 8.87988 9.79558 8.87988H8.94555ZM13.6123 8.87988C13.5294 8.87988 13.4623 8.94704 13.4623 9.02988V9.69024C13.4623 9.77308 13.5294 9.84024 13.6123 9.84024H14.3969C14.4797 9.84024 14.5469 9.9074 14.5469 9.99024V14.4902C14.5469 14.5731 14.4797 14.6402 14.3969 14.6402H13.6123C13.5294 14.6402 13.4623 14.7074 13.4623 14.7902V15.45C13.4623 15.5328 13.5294 15.6 13.6123 15.6H16.5186C16.6014 15.6 16.6686 15.5328 16.6686 15.45V14.7902C16.6686 14.7074 16.6014 14.6402 16.5186 14.6402H15.7334C15.6506 14.6402 15.5834 14.5731 15.5834 14.4902V9.99024C15.5834 9.9074 15.6506 9.84024 15.7334 9.84024H16.5186C16.6014 9.84024 16.6686 9.77308 16.6686 9.69024V9.02988C16.6686 8.94704 16.6014 8.87988 16.5186 8.87988H13.6123ZM9.35138 10.0705C9.40898 10.2433 9.47318 10.4353 9.54356 10.6465C9.61394 10.8577 9.6746 11.0497 9.72578 11.2225C9.78338 11.3952 9.82202 11.504 9.84122 11.5488L10.288 12.7279C10.3252 12.8261 10.2527 12.9311 10.1478 12.9311H8.52949C8.42445 12.9311 8.35194 12.8259 8.3893 12.7277L8.82344 11.5869C8.86182 11.4782 8.91003 11.3437 8.96758 11.1838C9.02516 11.0174 9.08288 10.8413 9.14042 10.6559C9.20438 10.4704 9.2615 10.2943 9.31268 10.1279C9.31947 10.1084 9.32604 10.0892 9.3325 10.0705C9.33554 10.0616 9.34853 10.0616 9.35138 10.0705Z" />\n </g>\n <defs>\n <clipPath id="clip0_43876_12457">\n <rect width="18" height="18" fill="white" transform="translate(3.00098 3)"/>\n </clipPath>\n </defs>\n</svg>`;const c={neutral:{icon:a,ariaLabel:"Neutral"},info:{icon:i,ariaLabel:"For your information"},warning:{icon:s,ariaLabel:"Warning"},error:{icon:e,ariaLabel:"Error"},success:{icon:r,ariaLabel:"Success"},ai:{icon:l,ariaLabel:"AI"}};const d=["aria-atomic","aria-autocomplete","aria-busy","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-dropeffect","aria-errormessage","aria-expanded","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"];const u={XS:576,S:768,M:992,L:1200,XL:99999};const v=["ic-hero","ic-top-navigation","ic-footer","ic-side-navigation","ic-alert"].join(",");const p=["ic-alert"];const C={"ic-alert":["ic-link","ic-button"]};const f=136.701;const g=130;const w=["Alt","AltGraph","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","AudioVolumeDown","AudioVolumeMute","AudioVolumeUp","CapsLock","ContextMenu","Control","Delete","End","Enter","Escape","F1","F10","F11","F12","F2","F3","F4","F5","F6","F7","F8","F9","Home","Insert","Meta","NumLock","PageDown","PageUp","Shift","Tab"];const m=[];const b=133.3505;const h="anywhere";const L="ic-input";const x=(n,t=[])=>{const o={};t.forEach((t=>{const e=n.getAttribute(t);if(e!==null){o[t]=e;n.removeAttribute(t)}}));return o};const A=(n,t)=>{const o=n._original||n;return{_original:n,emit:M(o.emit.bind(o),t)}};const M=(n,t=0)=>{let o;return(...e)=>{clearTimeout(o);o=setTimeout(n,t,...e)}};const V=(n,t,o,e=false,i=true)=>{if(o&&(i||N(n))){let i=y(n);if(!i){i=n.ownerDocument.createElement("input");i.type="hidden";i.classList.add(L);n.appendChild(i)}i.disabled=e;i.name=o;i.value=t instanceof Date?t.toISOString():t||""}};const y=n=>Array.from(n.querySelectorAll(`input.${L}`)).filter((t=>n===t.parentElement))[0];const H=(n,t,o,e,i,a,r)=>{if(a!==undefined&&N(t)){let s=y(t);if(s===null||s===undefined){s=t.ownerDocument.createElement("input");s.classList.add(L);t.appendChild(s)}s.type="file";s.hidden=true;s.multiple=o;s.name=a;s.disabled=e;if(r)s.files=r;if(i)s.accept=i;s.onchange=()=>{n.emit(s.files)};s.click()}};const I=n=>{var t;(t=y(n))===null||t===void 0?void 0:t.remove()};const N=n=>!!n&&!!n.shadowRoot&&!!n.attachShadow;const k=n=>n+"-helper-text";const F=n=>n+"-validation-text";const $=(n,t,o,e)=>`${Y(n,"helper-text")||o?k(t):""} ${e?F(t):""}`.trim();const Z=(n,t=null)=>{var e;const i=n.parentElement||n.getRootNode().host.parentElement;const a=i===null||i===void 0?void 0:i.closest(v);if(!a)return o.Default;const r=a.tagName.toLowerCase();if((e=C[r])===null||e===void 0?void 0:e.includes(n.tagName.toLowerCase())){return o.Default}else if(t!==null&&!p.includes(r)){return t}else if(a.classList.contains(`${r}-${o.Dark}`)||a.classList.contains(o.Dark)){return o.Dark}else{return o.Light}};const E=()=>"maxTouchPoints"in navigator&&"userAgent"in navigator?navigator.maxTouchPoints>0&&/iPad|iPhone|iPod|Android|webOS|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent):false;const P=(n,t)=>{var o,e,i,a,r,s,l;const c=t.type==="submit"||t.type==="reset"?`hidden-form-${t.type}-button`:"hidden-form-button";const d=(o=document.querySelector(`#${c}`))!==null&&o!==void 0?o:document.createElement("button");d.setAttribute("type",(e=t.type)!==null&&e!==void 0?e:"button");d.id=c;d.style.display="none";d.formAction=(i=t.formaction)!==null&&i!==void 0?i:"";d.formEnctype=(a=t.formenctype)!==null&&a!==void 0?a:"";d.formMethod=(r=t.formmethod)!==null&&r!==void 0?r:"";d.formNoValidate=(s=t.formnovalidate)!==null&&s!==void 0?s:false;d.formTarget=(l=t.formtarget)!==null&&l!==void 0?l:"";n===null||n===void 0?void 0:n.appendChild(d);d.click()};const T=n=>!n||n.trim().length===0;const O=n=>n!==undefined?n:undefined;const S=(n,t,o="value",e="label")=>{const i=[];if(t.length>0&&t.map){t.map((n=>{if(n.children){n.children.map((n=>i.push(n)))}else{i.push(n)}}));const a=i.find((t=>t[o]===n));if(a!==undefined)return a[e]}return undefined};const D=(n,t,o,e=h,i="label")=>n.filter((n=>{var a;const r=n[i].toLowerCase();const s=(a=n.description)===null||a===void 0?void 0:a.toLowerCase();const l=o.toLowerCase();return e===h?t?r.includes(l)||(s===null||s===void 0?void 0:s.includes(l)):r.includes(l):t?r.startsWith(l)||(s===null||s===void 0?void 0:s.startsWith(l)):r.startsWith(l)}));const B=n=>{const t=[];if(n.length>0&&n.map){n.map((n=>{if(n.children){n.children.map((n=>t.push(n)))}else{t.push(n)}}))}return t.length};const G=n=>window.matchMedia(`(max-width: ${n}px)`).matches;const R=()=>{if(G(K.S)){return K.S}if(G(K.M)){return K.M}if(G(K.L)){return K.L}if(G(K.XL)){return K.XL}return K.UNDEFINED};const U=n=>getComputedStyle(document.documentElement).getPropertyValue(n);const _=()=>(parseInt(U("--ic-brand-color-primary-r"))*299+parseInt(U("--ic-brand-color-primary-g"))*587+parseInt(U("--ic-brand-color-primary-b"))*114)/1e3;const W=(n=_())=>n>b?o.Dark:o.Light;const X=(n,t)=>(n===null||n===void 0?void 0:n.querySelector(`[slot="${t}"]`))||null;const j=(n,t)=>X(n,t)!==null;const q=(n,t)=>{const o=X(n,t);return o?z(o):null};const z=n=>{const t=n.firstElementChild;if(t===null)return[n];const o=t.assignedElements?t.assignedElements():t.childNodes;return o.length?o:n.tagName?[n]:null};const J=({parentElement:n})=>{let t={navType:"",parent:null};if(n){switch(n.tagName){case"IC-NAVIGATION-GROUP":t=J(n);break;case"IC-TOP-NAVIGATION":t={navType:"top",parent:n};break;case"IC-SIDE-NAVIGATION":t={navType:"side",parent:n};break;case"IC-PAGE-HEADER":t={navType:"page-header",parent:null};break}}return t};const K={XS:Number(U("--ic-breakpoint-xs").replace("px","")),S:Number(U("--ic-breakpoint-sm").replace("px","")),M:Number(U("--ic-breakpoint-md").replace("px","")),L:Number(U("--ic-breakpoint-lg").replace("px","")),XL:Number(U("--ic-breakpoint-xl").replace("px","")),UNDEFINED:1200};const Q=(n,t)=>!!n&&!t;const Y=({children:n},t)=>Array.from(n).some((n=>n.getAttribute("slot")===t));const nn=(n,t,o)=>{if(n===undefined&&t!==n){o()}};const tn=(n,t)=>{n.forEach((({prop:n,propName:o})=>{if(n===null||n===undefined){console.error(`No ${o} specified for ${t} component - prop '${o}' (web components) / '${on(o)}' (react) required`)}}))};const on=n=>n.toLowerCase().split("-").map(((n,t)=>t===0?n:`${n.substring(0,1).toUpperCase()}${n.substring(1)}`)).join("");const en=n=>{if(typeof window!=="undefined"&&typeof window.ResizeObserver!=="undefined"){n()}};const an=n=>parseInt(n,16);const rn=n=>{const t=n.replace("#","").split("").map((n=>n.repeat(2)));return{r:an(n.length===4?t[0]:n.slice(1,3)),g:an(n.length===4?t[1]:n.slice(3,5)),b:an(n.length===4?t[2]:n.slice(5)),a:1}};const sn=n=>{const t=n.slice(3,4).toLowerCase()==="a";const o=n.substring(t?5:4,n.length-1).replace(/ /g,"").split(",").map(Number);return{r:o[0],g:o[1],b:o[2],a:t?o[3]:1}};const ln=({scrollWidth:n,clientWidth:t})=>n>t;const cn=()=>!!document.querySelector("ic-classification-banner:not([inline='true'])");const dn=(n,t)=>{var o;(o=n.closest("FORM"))===null||o===void 0?void 0:o.addEventListener("reset",t)};const un=(n,t)=>{var o;(o=n.closest("FORM"))===null||o===void 0?void 0:o.removeEventListener("reset",t)};const vn=(n,t=16)=>`${1/t*parseInt(n)}rem`;const pn=(n,t)=>{if(!n){t.removeAttribute("disabled")}};const Cn=()=>window.navigator.userAgent.toUpperCase().indexOf("MAC")>=0;const fn=n=>{const t=n===null||n===void 0?void 0:n.slice(0,1).toLowerCase();if(t!=="#"&&t!=="r")return null;return t==="#"?rn(n):sn(n)};const gn=n=>n.charAt(0).toUpperCase()+n.slice(1);const wn=(n,t,o)=>{const e=n=>Array.from(n).some((n=>Array.isArray(o)?o.some((t=>n.slot===t)):n.slot===o));return e(n)||e(t)};const mn=n=>!!n.closest(".ag-cell")&&!!n.closest(".ag-root");const bn=n=>{var t;return((t=n.parentElement)===null||t===void 0?void 0:t.tagName)===`${n.tagName}-GROUP`};const hn=(n,t)=>n.some((({type:n,addedNodes:o,removedNodes:e})=>n==="childList"&&wn(o,e,t)));const Ln=(t,o,e)=>{if(hn(t,o)){n(e)}};const xn=n=>{var t,o,e,i,a;const r=(o=(t=n.parentElement)===null||t===void 0?void 0:t.closest(v))===null||o===void 0?void 0:o.theme;if(r&&r!=="inherit")return r;const s=(i=(e=n.parentElement)===null||e===void 0?void 0:e.closest("ic-theme"))===null||i===void 0?void 0:i.theme;if(s&&s!=="system")return s;return((a=window.matchMedia)===null||a===void 0?void 0:a.call(window,"(prefers-color-scheme: dark)").matches)?"dark":"light"};export{F as $,D as A,S as B,P as C,K as D,A as E,V as F,T as G,_ as H,o as I,f as J,X as K,bn as L,I as M,q as N,gn as O,wn as P,B as Q,E as R,t as S,w as T,ln as U,c as V,g as W,m as X,Cn as Y,r as Z,k as _,Ln as a,s as a0,e as a1,H as a2,mn as b,nn as c,fn as d,O as e,R as f,W as g,en as h,Y as i,Z as j,$ as k,Q as l,z as m,u as n,tn as o,vn as p,cn as q,pn as r,j as s,x as t,xn as u,d as v,J as w,U as x,un as y,dn as z};
2
- //# sourceMappingURL=p-542ac498.js.map
1
+ import{f as n}from"./p-8e4e97b4.js";var t;(function(n){n["Warning"]="warning";n["Error"]="error";n["Success"]="success"})(t||(t={}));var o;(function(n){n["Default"]="default";n["Dark"]="dark";n["Light"]="light"})(o||(o={}));const i=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">\n <title>Error</title>\n <g>\n <path d="M8.77 3L3.5 8.27V15.73L8.77 21H16.23L21.5 15.73V8.27L16.23 3M8.91 7L12.5 10.59L16.09 7L17.5 8.41L13.91 12L17.5 15.59L16.09 17L12.5 13.41L8.91 17L7.5 15.59L11.09 12L7.5 8.41" />\n </g>\n</svg>\n`;const e=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">\n <title>For your information</title>\n <g>\n <path d="M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 17C11.45 17 11 16.55 11 16V12C11 11.45 11.45 11 12 11C12.55 11 13 11.45 13 12V16C13 16.55 12.55 17 12 17ZM13 9H11V7H13V9Z" />\n </g>\n</svg>\n`;const a=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">\n<title>Neutral</title>\n <g>\n <path d="M19.5 3H5.5C4.4 3 3.5 3.9 3.5 5V19C3.5 20.1 4.4 21 5.5 21H19.5C20.6 21 21.5 20.1 21.5 19V5C21.5 3.9 20.6 3 19.5 3ZM12.51 18C11.81 18 11.25 17.44 11.25 16.74C11.25 16.03 11.81 15.49 12.51 15.49C13.22 15.49 13.76 16.03 13.76 16.74C13.75 17.43 13.22 18 12.51 18ZM15.52 10.6C14.76 11.71 14.04 12.06 13.65 12.77C13.55 12.95 13.49 13.09 13.46 13.4C13.41 13.85 13.01 14.18 12.56 14.18H12.5C11.98 14.18 11.57 13.74 11.62 13.22C11.65 12.88 11.73 12.53 11.92 12.19C12.41 11.32 13.34 10.8 13.88 10.03C14.45 9.22 14.13 7.7 12.51 7.7C11.8 7.7 11.33 8.06 11.04 8.49C10.79 8.85 10.35 9.02 9.94 8.85C9.41 8.64 9.22 8 9.54 7.54C10.15 6.65 11.17 6 12.49 6C13.97 6 14.98 6.67 15.5 7.52C15.94 8.24 16.2 9.59 15.52 10.6Z" />\n </g>\n</svg>\n`;const r=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">\n <title>Success</title>\n <g>\n <path d="M12.5 2C6.98 2 2.5 6.48 2.5 12C2.5 17.52 6.98 22 12.5 22C18.02 22 22.5 17.52 22.5 12C22.5 6.48 18.02 2 12.5 2ZM9.79 16.29L6.2 12.7C5.81 12.31 5.81 11.68 6.2 11.29C6.59 10.9 7.22 10.9 7.61 11.29L10.5 14.17L17.38 7.29C17.77 6.9 18.4 6.9 18.79 7.29C19.18 7.68 19.18 8.31 18.79 8.7L11.2 16.29C10.82 16.68 10.18 16.68 9.79 16.29Z" />\n </g>\n</svg>\n`;const s=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">\n <title>Warning</title>\n <g>\n <path d="M4.47 20.5037H19.53C21.07 20.5037 22.03 18.8337 21.26 17.5037L13.73 4.49375C12.96 3.16375 11.04 3.16375 10.27 4.49375L2.74 17.5037C1.97 18.8337 2.93 20.5037 4.47 20.5037ZM12 13.5037C11.45 13.5037 11 13.0537 11 12.5037V10.5037C11 9.95375 11.45 9.50375 12 9.50375C12.55 9.50375 13 9.95375 13 10.5037V12.5037C13 13.0537 12.55 13.5037 12 13.5037ZM13 17.5037H11V15.5037H13V17.5037Z" />\n </g>\n</svg>\n`;const l=`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">\n <title>Artificial Intelligence (AI)</title>\n <g clip-path="url(#clip0_43876_12457)">\n <path d="M19.801 3C20.4637 3 21.001 3.53726 21.001 4.2V19.8C21.001 20.4628 20.4637 21 19.801 21H4.20098C3.53824 21 3.00098 20.4628 3.00098 19.8V4.2C3.00098 3.53726 3.53824 3 4.20098 3H19.801ZM8.94555 8.87988C8.88361 8.87988 8.82803 8.91796 8.80567 8.97573L6.32024 15.3958C6.28219 15.4941 6.35472 15.6 6.46013 15.6H7.19363C7.2559 15.6 7.3117 15.5615 7.33384 15.5033L7.89546 14.0262C7.9176 13.968 7.97339 13.9295 8.03567 13.9295H10.64C10.7023 13.9295 10.7582 13.968 10.7803 14.0263L11.3403 15.5032C11.3624 15.5615 11.4182 15.6 11.4805 15.6H12.2625C12.3678 15.6 12.4403 15.4944 12.4025 15.3962L9.9356 8.97608C9.91333 8.91813 9.85767 8.87988 9.79558 8.87988H8.94555ZM13.6123 8.87988C13.5294 8.87988 13.4623 8.94704 13.4623 9.02988V9.69024C13.4623 9.77308 13.5294 9.84024 13.6123 9.84024H14.3969C14.4797 9.84024 14.5469 9.9074 14.5469 9.99024V14.4902C14.5469 14.5731 14.4797 14.6402 14.3969 14.6402H13.6123C13.5294 14.6402 13.4623 14.7074 13.4623 14.7902V15.45C13.4623 15.5328 13.5294 15.6 13.6123 15.6H16.5186C16.6014 15.6 16.6686 15.5328 16.6686 15.45V14.7902C16.6686 14.7074 16.6014 14.6402 16.5186 14.6402H15.7334C15.6506 14.6402 15.5834 14.5731 15.5834 14.4902V9.99024C15.5834 9.9074 15.6506 9.84024 15.7334 9.84024H16.5186C16.6014 9.84024 16.6686 9.77308 16.6686 9.69024V9.02988C16.6686 8.94704 16.6014 8.87988 16.5186 8.87988H13.6123ZM9.35138 10.0705C9.40898 10.2433 9.47318 10.4353 9.54356 10.6465C9.61394 10.8577 9.6746 11.0497 9.72578 11.2225C9.78338 11.3952 9.82202 11.504 9.84122 11.5488L10.288 12.7279C10.3252 12.8261 10.2527 12.9311 10.1478 12.9311H8.52949C8.42445 12.9311 8.35194 12.8259 8.3893 12.7277L8.82344 11.5869C8.86182 11.4782 8.91003 11.3437 8.96758 11.1838C9.02516 11.0174 9.08288 10.8413 9.14042 10.6559C9.20438 10.4704 9.2615 10.2943 9.31268 10.1279C9.31947 10.1084 9.32604 10.0892 9.3325 10.0705C9.33554 10.0616 9.34853 10.0616 9.35138 10.0705Z" />\n </g>\n <defs>\n <clipPath id="clip0_43876_12457">\n <rect width="18" height="18" fill="white" transform="translate(3.00098 3)"/>\n </clipPath>\n </defs>\n</svg>`;const c={neutral:{icon:a,ariaLabel:"Neutral"},info:{icon:e,ariaLabel:"For your information"},warning:{icon:s,ariaLabel:"Warning"},error:{icon:i,ariaLabel:"Error"},success:{icon:r,ariaLabel:"Success"},ai:{icon:l,ariaLabel:"AI"}};const d=["aria-atomic","aria-autocomplete","aria-busy","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-dropeffect","aria-errormessage","aria-expanded","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"];const u={XS:576,S:768,M:992,L:1200,XL:99999};const v=["ic-hero","ic-top-navigation","ic-footer","ic-side-navigation","ic-alert"].join(",");const p=["ic-alert"];const C={"ic-alert":["ic-link","ic-button"]};const f=136.701;const g=130;const w=["Alt","AltGraph","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","AudioVolumeDown","AudioVolumeMute","AudioVolumeUp","CapsLock","ContextMenu","Control","Delete","End","Enter","Escape","F1","F10","F11","F12","F2","F3","F4","F5","F6","F7","F8","F9","Home","Insert","Meta","NumLock","PageDown","PageUp","Shift","Tab"];const m=[];const b=133.3505;const h="anywhere";const L="ic-input";const x=(n,t=[])=>{const o={};t.forEach((t=>{const i=n.getAttribute(t);if(i!==null){o[t]=i;n.removeAttribute(t)}}));return o};const A=(n,t)=>{const o=n._original||n;return{_original:n,emit:M(o.emit.bind(o),t)}};const M=(n,t=0)=>{let o;return(...i)=>{clearTimeout(o);o=setTimeout(n,t,...i)}};const V=(n,t,o,i=false,e=true)=>{if(o&&(e||N(n))){let e=y(n);if(!e){e=n.ownerDocument.createElement("input");e.type="hidden";e.classList.add(L);n.appendChild(e)}e.disabled=i;e.name=o;e.value=t instanceof Date?t.toISOString():t||""}};const y=n=>Array.from(n.querySelectorAll(`input.${L}`)).filter((t=>n===t.parentElement))[0];const H=(n,t,o,i,e,a,r)=>{if(a!==undefined&&N(t)){let s=y(t);if(s===null||s===undefined){s=t.ownerDocument.createElement("input");s.classList.add(L);t.appendChild(s)}s.type="file";s.hidden=true;s.multiple=o;s.name=a;s.disabled=i;if(r)s.files=r;if(e)s.accept=e;s.onchange=()=>{n.emit(s.files)};s.click()}};const I=n=>{var t;(t=y(n))===null||t===void 0?void 0:t.remove()};const N=n=>!!n&&!!n.shadowRoot&&!!n.attachShadow;const k=n=>n+"-helper-text";const F=n=>n+"-validation-text";const $=(n,t,o,i)=>`${Y(n,"helper-text")||o?k(t):""} ${i?F(t):""}`.trim();const Z=(n,t=null)=>{var i;const e=n.parentElement||n.getRootNode().host.parentElement;const a=e===null||e===void 0?void 0:e.closest(v);if(!a)return o.Default;const r=a.tagName.toLowerCase();if((i=C[r])===null||i===void 0?void 0:i.includes(n.tagName.toLowerCase())){return o.Default}else if(t!==null&&!p.includes(r)){return t}else if(a.classList.contains(`${r}-${o.Dark}`)||a.classList.contains(o.Dark)){return o.Dark}else{return o.Light}};const E=()=>"maxTouchPoints"in navigator&&"userAgent"in navigator?navigator.maxTouchPoints>0&&/iPad|iPhone|iPod|Android|webOS|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent):false;const P=(n,t)=>{var o,i,e,a,r,s,l;const c=t.type==="submit"||t.type==="reset"?`hidden-form-${t.type}-button`:"hidden-form-button";const d=(o=document.querySelector(`#${c}`))!==null&&o!==void 0?o:document.createElement("button");d.setAttribute("type",(i=t.type)!==null&&i!==void 0?i:"button");d.id=c;d.style.display="none";d.formAction=(e=t.formaction)!==null&&e!==void 0?e:"";d.formEnctype=(a=t.formenctype)!==null&&a!==void 0?a:"";d.formMethod=(r=t.formmethod)!==null&&r!==void 0?r:"";d.formNoValidate=(s=t.formnovalidate)!==null&&s!==void 0?s:false;d.formTarget=(l=t.formtarget)!==null&&l!==void 0?l:"";n===null||n===void 0?void 0:n.appendChild(d);d.click()};const T=n=>!n||n.trim().length===0;const O=n=>n!==undefined?n:undefined;const S=(n,t,o="value",i="label")=>{const e=[];if(t.length>0&&t.map){t.map((n=>{if(n.children){n.children.map((n=>e.push(n)))}else{e.push(n)}}));const a=e.find((t=>t[o]===n));if(a!==undefined)return a[i]}return undefined};const D=(n,t,o,i=h,e="label")=>n.filter((n=>{var a;const r=n[e].toLowerCase();const s=(a=n.description)===null||a===void 0?void 0:a.toLowerCase();const l=o.toLowerCase();return i===h?t?r.includes(l)||(s===null||s===void 0?void 0:s.includes(l)):r.includes(l):t?r.startsWith(l)||(s===null||s===void 0?void 0:s.startsWith(l)):r.startsWith(l)}));const B=n=>{const t=[];if(n.length>0&&n.map){n.map((n=>{if(n.children){n.children.map((n=>t.push(n)))}else{t.push(n)}}))}return t.length};const G=n=>window.matchMedia(`(max-width: ${n}px)`).matches;const R=()=>{if(G(K.S)){return K.S}if(G(K.M)){return K.M}if(G(K.L)){return K.L}if(G(K.XL)){return K.XL}return K.UNDEFINED};const U=n=>getComputedStyle(document.documentElement).getPropertyValue(n);const _=()=>(parseInt(U("--ic-brand-color-primary-r"))*299+parseInt(U("--ic-brand-color-primary-g"))*587+parseInt(U("--ic-brand-color-primary-b"))*114)/1e3;const W=(n=_())=>n>b?o.Dark:o.Light;const X=(n,t)=>(n===null||n===void 0?void 0:n.querySelector(`[slot="${t}"]`))||null;const j=(n,t)=>X(n,t)!==null;const q=(n,t)=>{const o=X(n,t);return o?z(o):null};const z=n=>{const t=n.firstElementChild;if(t===null)return[n];const o=t.assignedElements?t.assignedElements():t.childNodes;return o.length?o:n.tagName?[n]:null};const J=({parentElement:n})=>{let t={navType:"",parent:null};if(n){switch(n.tagName){case"IC-NAVIGATION-GROUP":t=J(n);break;case"IC-TOP-NAVIGATION":t={navType:"top",parent:n};break;case"IC-SIDE-NAVIGATION":t={navType:"side",parent:n};break;case"IC-PAGE-HEADER":t={navType:"page-header",parent:null};break}}return t};const K={XS:Number(U("--ic-breakpoint-xs").replace("px","")),S:Number(U("--ic-breakpoint-sm").replace("px","")),M:Number(U("--ic-breakpoint-md").replace("px","")),L:Number(U("--ic-breakpoint-lg").replace("px","")),XL:Number(U("--ic-breakpoint-xl").replace("px","")),UNDEFINED:1200};const Q=(n,t)=>!!n&&!t;const Y=({children:n},t)=>Array.from(n).some((n=>n.getAttribute("slot")===t));const nn=(n,t,o)=>{if(n===undefined&&t!==n){o()}};const tn=(n,t)=>{n.forEach((({prop:n,propName:o})=>{if(n===null||n===undefined){console.error(`No ${o} specified for ${t} component - prop '${o}' (web components) / '${on(o)}' (react) required`)}}))};const on=n=>n.toLowerCase().split("-").map(((n,t)=>t===0?n:`${n.substring(0,1).toUpperCase()}${n.substring(1)}`)).join("");const en=n=>{if(typeof window!=="undefined"&&typeof window.ResizeObserver!=="undefined"){n()}};const an=n=>parseInt(n,16);const rn=n=>{const t=n.replace("#","").split("").map((n=>n.repeat(2)));return{r:an(n.length===4?t[0]:n.slice(1,3)),g:an(n.length===4?t[1]:n.slice(3,5)),b:an(n.length===4?t[2]:n.slice(5)),a:1}};const sn=n=>{const t=n.slice(3,4).toLowerCase()==="a";const o=n.substring(t?5:4,n.length-1).replace(/ /g,"").split(",").map(Number);return{r:o[0],g:o[1],b:o[2],a:t?o[3]:1}};const ln=({scrollWidth:n,clientWidth:t})=>n>t;const cn=()=>!!document.querySelector("ic-classification-banner:not([inline='true'])");const dn=(n,t)=>{var o;(o=n.closest("FORM"))===null||o===void 0?void 0:o.addEventListener("reset",t)};const un=(n,t)=>{var o;(o=n.closest("FORM"))===null||o===void 0?void 0:o.removeEventListener("reset",t)};const vn=(n,t=16)=>`${1/t*parseInt(n)}rem`;const pn=(n,t)=>{if(!n){t.removeAttribute("disabled")}};const Cn=()=>window.navigator.userAgent.toUpperCase().indexOf("MAC")>=0;const fn=n=>{const t=n===null||n===void 0?void 0:n.slice(0,1).toLowerCase();if(t!=="#"&&t!=="r")return null;return t==="#"?rn(n):sn(n)};const gn=n=>n.charAt(0).toUpperCase()+n.slice(1);const wn=(n,t,o)=>{const i=n=>Array.from(n).some((n=>Array.isArray(o)?o.some((t=>n.slot===t)):n.slot===o));return i(n)||i(t)};const mn=n=>!!n.closest(".ag-cell")&&!!n.closest(".ag-root");const bn=n=>{var t;return((t=n.parentElement)===null||t===void 0?void 0:t.tagName)===`${n.tagName}-GROUP`};const hn=(n,t)=>n.some((({type:n,addedNodes:o,removedNodes:i})=>n==="childList"&&wn(o,i,t)));const Ln=(t,o,i)=>{if(hn(t,o)){n(i)}};const xn=n=>{var t,o,i,e,a;const r=(o=(t=n.parentElement)===null||t===void 0?void 0:t.closest(v))===null||o===void 0?void 0:o.theme;if(r&&r!=="inherit")return r;const s=(e=(i=n.parentElement)===null||i===void 0?void 0:i.closest("ic-theme"))===null||e===void 0?void 0:e.theme;if(s&&s!=="system")return s;return((a=window.matchMedia)===null||a===void 0?void 0:a.call(window,"(prefers-color-scheme: dark)").matches)?"dark":"light"};const An=/safari/i.test(window.navigator.userAgent)&&!/Edge/i.test(window.navigator.userAgent)&&!/chrome/i.test(window.navigator.userAgent);export{F as $,D as A,S as B,P as C,K as D,A as E,V as F,T as G,_ as H,o as I,f as J,X as K,bn as L,I as M,q as N,gn as O,wn as P,Cn as Q,B as R,E as S,t as T,w as U,c as V,g as W,ln as X,m as Y,r as Z,k as _,Ln as a,s as a0,i as a1,H as a2,An as a3,mn as b,nn as c,fn as d,O as e,R as f,W as g,en as h,Y as i,Z as j,$ as k,Q as l,z as m,u as n,tn as o,vn as p,cn as q,pn as r,j as s,x as t,xn as u,d as v,J as w,U as x,un as y,dn as z};
2
+ //# sourceMappingURL=p-e4ef4263.js.map