@siemens/ix 2.6.0 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1228) hide show
  1. package/components/a11y.js.map +1 -1
  2. package/components/application-header.js +20 -11
  3. package/components/application-header.js.map +1 -1
  4. package/components/avatar.js.map +1 -1
  5. package/components/breadcrumb-item.js.map +1 -1
  6. package/components/button.js +7 -2
  7. package/components/button.js.map +1 -1
  8. package/components/card-content.js +2 -2
  9. package/components/card-content.js.map +1 -1
  10. package/components/card-title.js +2 -2
  11. package/components/card-title.js.map +1 -1
  12. package/components/card.js +1 -1
  13. package/components/card.js.map +1 -1
  14. package/components/date-picker.js +4 -4
  15. package/components/date-picker.js.map +1 -1
  16. package/components/divider.js +1 -1
  17. package/components/dropdown-item.js +4 -4
  18. package/components/dropdown-item.js.map +1 -1
  19. package/components/dropdown.js +2 -2
  20. package/components/field-label.js +1 -1
  21. package/components/field-label.js.map +1 -1
  22. package/components/field-wrapper.js +2 -2
  23. package/components/field-wrapper.js.map +1 -1
  24. package/components/filter-chip.js +2 -2
  25. package/components/filter-chip.js.map +1 -1
  26. package/components/group-context-menu.js +1 -1
  27. package/components/group-context-menu.js.map +1 -1
  28. package/components/group-item.js +2 -2
  29. package/components/icon-button.js +4 -4
  30. package/components/icon-button.js.map +1 -1
  31. package/components/index.js +4 -0
  32. package/components/index.js.map +1 -1
  33. package/components/index2.js +4 -0
  34. package/components/index2.js.map +1 -1
  35. package/components/index3.js +2 -1
  36. package/components/index3.js.map +1 -1
  37. package/components/input.util.js +30 -10
  38. package/components/input.util.js.map +1 -1
  39. package/components/ix-application-switch-modal.js +1 -1
  40. package/components/ix-application-switch-modal.js.map +1 -1
  41. package/components/ix-application.js +7 -3
  42. package/components/ix-application.js.map +1 -1
  43. package/components/ix-basic-navigation.js +2 -2
  44. package/components/ix-basic-navigation.js.map +1 -1
  45. package/components/ix-card-list.js +6 -6
  46. package/components/ix-card-list.js.map +1 -1
  47. package/components/ix-category-filter.js +4 -4
  48. package/components/ix-category-filter.js.map +1 -1
  49. package/components/ix-checkbox-group.js +2 -2
  50. package/components/ix-checkbox.js +5 -4
  51. package/components/ix-checkbox.js.map +1 -1
  52. package/components/ix-chip.js +5 -5
  53. package/components/ix-chip.js.map +1 -1
  54. package/components/ix-content.js +3 -3
  55. package/components/ix-css-grid-item.js +1 -1
  56. package/components/ix-css-grid-item.js.map +1 -1
  57. package/components/ix-custom-field.js +1 -1
  58. package/components/ix-date-dropdown.js +13 -5
  59. package/components/ix-date-dropdown.js.map +1 -1
  60. package/components/ix-date-input.js +12 -13
  61. package/components/ix-date-input.js.map +1 -1
  62. package/components/ix-drawer.js +2 -2
  63. package/components/ix-dropdown-header.js +1 -1
  64. package/components/ix-dropdown-header.js.map +1 -1
  65. package/components/ix-dropdown-quick-actions.js +1 -1
  66. package/components/ix-empty-state.js +1 -1
  67. package/components/ix-empty-state.js.map +1 -1
  68. package/components/ix-event-list-item.js +4 -4
  69. package/components/ix-event-list.js +2 -2
  70. package/components/ix-expanding-search.js +10 -4
  71. package/components/ix-expanding-search.js.map +1 -1
  72. package/components/ix-flip-tile-content.js +1 -1
  73. package/components/ix-flip-tile.js +6 -5
  74. package/components/ix-flip-tile.js.map +1 -1
  75. package/components/ix-group.js +8 -8
  76. package/components/ix-group.js.map +1 -1
  77. package/components/ix-helper-text.js +1 -1
  78. package/components/ix-icon-toggle-button.js +1 -1
  79. package/components/ix-icon-toggle-button.js.map +1 -1
  80. package/components/ix-input-group.js +1 -1
  81. package/components/ix-input-group.js.map +1 -1
  82. package/components/ix-input.js +12 -7
  83. package/components/ix-input.js.map +1 -1
  84. package/components/ix-key-value-list.js +2 -2
  85. package/components/ix-key-value-list.js.map +1 -1
  86. package/components/ix-key-value.js +1 -1
  87. package/components/ix-key-value.js.map +1 -1
  88. package/components/ix-kpi.js +3 -3
  89. package/components/ix-kpi.js.map +1 -1
  90. package/components/ix-layout-auto.js +1 -1
  91. package/components/ix-link-button.js +3 -3
  92. package/components/ix-link-button.js.map +1 -1
  93. package/components/ix-map-navigation.js +4 -4
  94. package/components/ix-map-navigation.js.map +1 -1
  95. package/components/ix-menu-about-item.js +1 -1
  96. package/components/ix-menu-about-item.js.map +1 -1
  97. package/components/ix-menu-about-news.js +4 -4
  98. package/components/ix-menu-about-news.js.map +1 -1
  99. package/components/ix-menu-about.js +1 -1
  100. package/components/ix-menu-about.js.map +1 -1
  101. package/components/ix-menu-avatar.js +2 -2
  102. package/components/ix-menu-avatar.js.map +1 -1
  103. package/components/ix-menu-category.js +28 -13
  104. package/components/ix-menu-category.js.map +1 -1
  105. package/components/ix-menu-settings-item.js +1 -1
  106. package/components/ix-menu-settings-item.js.map +1 -1
  107. package/components/ix-menu.js +24 -16
  108. package/components/ix-menu.js.map +1 -1
  109. package/components/ix-message-bar.js +4 -2
  110. package/components/ix-message-bar.js.map +1 -1
  111. package/components/ix-modal-footer.js +1 -1
  112. package/components/ix-modal-loading.js +1 -1
  113. package/components/ix-modal.js +3 -3
  114. package/components/ix-modal.js.map +1 -1
  115. package/components/ix-number-input.js +14 -9
  116. package/components/ix-number-input.js.map +1 -1
  117. package/components/ix-pagination.js +8 -5
  118. package/components/ix-pagination.js.map +1 -1
  119. package/components/ix-pane-layout.js +1 -1
  120. package/components/ix-pill.js +19 -8
  121. package/components/ix-pill.js.map +1 -1
  122. package/components/ix-push-card.js +1 -1
  123. package/components/ix-push-card.js.map +1 -1
  124. package/components/ix-radio-group.js +2 -2
  125. package/components/ix-radio.js +6 -5
  126. package/components/ix-radio.js.map +1 -1
  127. package/components/ix-split-button-item.js +1 -1
  128. package/components/ix-split-button-item.js.map +1 -1
  129. package/components/ix-split-button.js +1 -1
  130. package/components/ix-split-button.js.map +1 -1
  131. package/components/ix-textarea.js +3 -3
  132. package/components/ix-textarea.js.map +1 -1
  133. package/components/ix-tile.js +4 -4
  134. package/components/ix-tile.js.map +1 -1
  135. package/components/ix-toast-container.js +10 -6
  136. package/components/ix-toast-container.js.map +1 -1
  137. package/components/ix-toggle-button.js +2 -2
  138. package/components/ix-toggle-button.js.map +1 -1
  139. package/components/ix-toggle.js +25 -5
  140. package/components/ix-toggle.js.map +1 -1
  141. package/components/ix-tree.js +330 -496
  142. package/components/ix-tree.js.map +1 -1
  143. package/components/ix-upload.js +3 -3
  144. package/components/ix-validation-tooltip.js +5 -2
  145. package/components/ix-validation-tooltip.js.map +1 -1
  146. package/components/ix-workflow-step.js +4 -3
  147. package/components/ix-workflow-step.js.map +1 -1
  148. package/components/ix-workflow-steps.js +1 -1
  149. package/components/ix-workflow-steps.js.map +1 -1
  150. package/components/layout-grid.js +2 -2
  151. package/components/make-ref.js.map +1 -1
  152. package/components/map-navigation-overlay.js +2 -2
  153. package/components/map-navigation-overlay.js.map +1 -1
  154. package/components/menu-avatar-item.js +1 -1
  155. package/components/menu-avatar-item.js.map +1 -1
  156. package/components/menu-expand-icon.js +1 -1
  157. package/components/menu-expand-icon.js.map +1 -1
  158. package/components/menu-item.js +3 -3
  159. package/components/menu-tabs-fc.js +10 -3
  160. package/components/menu-tabs-fc.js.map +1 -1
  161. package/components/modal-content.js +1 -1
  162. package/components/modal-header.js +1 -1
  163. package/components/modal.js +6 -0
  164. package/components/modal.js.map +1 -1
  165. package/components/row.js +1 -1
  166. package/components/select-item.js +1 -1
  167. package/components/select.js +95 -57
  168. package/components/select.js.map +1 -1
  169. package/components/shadow-dom.js.map +1 -1
  170. package/components/spinner.js +1 -1
  171. package/components/tabs.js +2 -2
  172. package/components/time-picker.js +1 -1
  173. package/components/time-picker.js.map +1 -1
  174. package/components/toast.js +2 -2
  175. package/components/toast.js.map +1 -1
  176. package/components/tooltip.js +2 -2
  177. package/components/tree-item.js +6 -5
  178. package/components/tree-item.js.map +1 -1
  179. package/components/validation.js +1 -7
  180. package/components/validation.js.map +1 -1
  181. package/dist/cjs/a11y-ae470f01.js.map +1 -1
  182. package/dist/cjs/{app-globals-3c9c6a50.js → app-globals-ca59f3ec.js} +2 -2
  183. package/dist/cjs/{app-globals-3c9c6a50.js.map → app-globals-ca59f3ec.js.map} +1 -1
  184. package/dist/cjs/core-js-b22adfab.js +26 -0
  185. package/dist/cjs/core-js-b22adfab.js.map +1 -0
  186. package/dist/cjs/{helper-text-util-3192e78f.js → helper-text-util-635a1877.js} +2 -2
  187. package/dist/cjs/{helper-text-util-3192e78f.js.map → helper-text-util-635a1877.js.map} +1 -1
  188. package/dist/cjs/{index-74904d8b.js → index-12d386cf.js} +6 -2
  189. package/dist/cjs/index-12d386cf.js.map +1 -0
  190. package/dist/cjs/{index-d2117dc0.js → index-b44a6617.js} +3 -1
  191. package/dist/cjs/index-b44a6617.js.map +1 -0
  192. package/dist/cjs/index.cjs.js +6 -2
  193. package/dist/cjs/index.cjs.js.map +1 -1
  194. package/dist/cjs/{index.es2017-0c2b80b6.js → index.es2017-805b5876.js} +3 -3
  195. package/dist/cjs/{index.es2017-0c2b80b6.js.map → index.es2017-805b5876.js.map} +1 -1
  196. package/dist/cjs/{input.util-1c2fa43d.js → input.util-dee6616a.js} +32 -11
  197. package/dist/cjs/input.util-dee6616a.js.map +1 -0
  198. package/dist/cjs/ix-application-header.cjs.entry.js +22 -13
  199. package/dist/cjs/ix-application-header.cjs.entry.js.map +1 -1
  200. package/dist/cjs/ix-application-switch-modal.cjs.entry.js +2 -2
  201. package/dist/cjs/ix-application-switch-modal.cjs.entry.js.map +1 -1
  202. package/dist/cjs/ix-application.cjs.entry.js +7 -3
  203. package/dist/cjs/ix-application.cjs.entry.js.map +1 -1
  204. package/dist/cjs/ix-avatar_2.cjs.entry.js +1 -1
  205. package/dist/cjs/ix-avatar_2.cjs.entry.js.map +1 -1
  206. package/dist/cjs/ix-basic-navigation.cjs.entry.js +2 -2
  207. package/dist/cjs/ix-basic-navigation.cjs.entry.js.map +1 -1
  208. package/dist/cjs/ix-breadcrumb-item.cjs.entry.js.map +1 -1
  209. package/dist/cjs/ix-button.cjs.entry.js +7 -2
  210. package/dist/cjs/ix-button.cjs.entry.js.map +1 -1
  211. package/dist/cjs/ix-card-accordion_2.cjs.entry.js +2 -2
  212. package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
  213. package/dist/cjs/ix-card-list.cjs.entry.js +6 -6
  214. package/dist/cjs/ix-card-list.cjs.entry.js.map +1 -1
  215. package/dist/cjs/ix-card_2.cjs.entry.js +3 -3
  216. package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
  217. package/dist/cjs/ix-category-filter.cjs.entry.js +4 -4
  218. package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
  219. package/dist/cjs/ix-checkbox-group.cjs.entry.js +3 -3
  220. package/dist/cjs/ix-checkbox.cjs.entry.js +6 -5
  221. package/dist/cjs/ix-checkbox.cjs.entry.js.map +1 -1
  222. package/dist/cjs/ix-chip.cjs.entry.js +5 -5
  223. package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
  224. package/dist/cjs/ix-col_4.cjs.entry.js +8 -8
  225. package/dist/cjs/ix-col_4.cjs.entry.js.map +1 -1
  226. package/dist/cjs/ix-content.cjs.entry.js +3 -3
  227. package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
  228. package/dist/cjs/ix-css-grid-item.cjs.entry.js.map +1 -1
  229. package/dist/cjs/ix-custom-field.cjs.entry.js +2 -2
  230. package/dist/cjs/ix-date-dropdown.cjs.entry.js +9 -5
  231. package/dist/cjs/ix-date-dropdown.cjs.entry.js.map +1 -1
  232. package/dist/cjs/ix-date-input.cjs.entry.js +13 -13
  233. package/dist/cjs/ix-date-input.cjs.entry.js.map +1 -1
  234. package/dist/cjs/ix-divider.cjs.entry.js +1 -1
  235. package/dist/cjs/ix-drawer.cjs.entry.js +2 -2
  236. package/dist/cjs/ix-dropdown-header.cjs.entry.js +1 -1
  237. package/dist/cjs/ix-dropdown-header.cjs.entry.js.map +1 -1
  238. package/dist/cjs/ix-dropdown-item.cjs.entry.js +4 -4
  239. package/dist/cjs/ix-dropdown-item.cjs.entry.js.map +1 -1
  240. package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
  241. package/dist/cjs/ix-dropdown.cjs.entry.js +2 -2
  242. package/dist/cjs/ix-empty-state.cjs.entry.js +1 -1
  243. package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -1
  244. package/dist/cjs/ix-event-list-item.cjs.entry.js +4 -4
  245. package/dist/cjs/ix-event-list.cjs.entry.js +2 -2
  246. package/dist/cjs/ix-expanding-search.cjs.entry.js +7 -4
  247. package/dist/cjs/ix-expanding-search.cjs.entry.js.map +1 -1
  248. package/dist/cjs/ix-field-label_3.cjs.entry.js +8 -8
  249. package/dist/cjs/ix-field-label_3.cjs.entry.js.map +1 -1
  250. package/dist/cjs/ix-filter-chip_2.cjs.entry.js +3 -3
  251. package/dist/cjs/ix-filter-chip_2.cjs.entry.js.map +1 -1
  252. package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
  253. package/dist/cjs/ix-flip-tile.cjs.entry.js +6 -5
  254. package/dist/cjs/ix-flip-tile.cjs.entry.js.map +1 -1
  255. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +3 -3
  256. package/dist/cjs/ix-group-context-menu_2.cjs.entry.js.map +1 -1
  257. package/dist/cjs/ix-group.cjs.entry.js +8 -8
  258. package/dist/cjs/ix-group.cjs.entry.js.map +1 -1
  259. package/dist/cjs/ix-helper-text.cjs.entry.js +4 -4
  260. package/dist/cjs/ix-icon-button_2.cjs.entry.js +5 -5
  261. package/dist/cjs/ix-icon-button_2.cjs.entry.js.map +1 -1
  262. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +1 -1
  263. package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -1
  264. package/dist/cjs/{ix-icon.entry-e95ddded.js → ix-icon.entry-e33446e2.js} +2 -2
  265. package/dist/cjs/{ix-icon.entry-e95ddded.js.map → ix-icon.entry-e33446e2.js.map} +1 -1
  266. package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
  267. package/dist/cjs/ix-input-group.cjs.entry.js.map +1 -1
  268. package/dist/cjs/ix-input.cjs.entry.js +15 -9
  269. package/dist/cjs/ix-input.cjs.entry.js.map +1 -1
  270. package/dist/cjs/ix-key-value-list.cjs.entry.js +2 -2
  271. package/dist/cjs/ix-key-value-list.cjs.entry.js.map +1 -1
  272. package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
  273. package/dist/cjs/ix-key-value.cjs.entry.js.map +1 -1
  274. package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
  275. package/dist/cjs/ix-kpi.cjs.entry.js.map +1 -1
  276. package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
  277. package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
  278. package/dist/cjs/ix-link-button.cjs.entry.js.map +1 -1
  279. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +2 -2
  280. package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js.map +1 -1
  281. package/dist/cjs/ix-map-navigation.cjs.entry.js +4 -4
  282. package/dist/cjs/ix-map-navigation.cjs.entry.js.map +1 -1
  283. package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
  284. package/dist/cjs/ix-menu-about-item.cjs.entry.js.map +1 -1
  285. package/dist/cjs/ix-menu-about-news.cjs.entry.js +4 -4
  286. package/dist/cjs/ix-menu-about-news.cjs.entry.js.map +1 -1
  287. package/dist/cjs/ix-menu-about.cjs.entry.js +2 -2
  288. package/dist/cjs/ix-menu-about.cjs.entry.js.map +1 -1
  289. package/dist/cjs/ix-menu-avatar.cjs.entry.js +2 -2
  290. package/dist/cjs/ix-menu-avatar.cjs.entry.js.map +1 -1
  291. package/dist/cjs/ix-menu-category.cjs.entry.js +28 -13
  292. package/dist/cjs/ix-menu-category.cjs.entry.js.map +1 -1
  293. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +1 -1
  294. package/dist/cjs/ix-menu-expand-icon.cjs.entry.js.map +1 -1
  295. package/dist/cjs/ix-menu-item.cjs.entry.js +3 -3
  296. package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
  297. package/dist/cjs/ix-menu-settings-item.cjs.entry.js.map +1 -1
  298. package/dist/cjs/ix-menu-settings.cjs.entry.js +1 -1
  299. package/dist/cjs/ix-menu.cjs.entry.js +26 -18
  300. package/dist/cjs/ix-menu.cjs.entry.js.map +1 -1
  301. package/dist/cjs/ix-message-bar.cjs.entry.js +4 -2
  302. package/dist/cjs/ix-message-bar.cjs.entry.js.map +1 -1
  303. package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
  304. package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
  305. package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
  306. package/dist/cjs/ix-modal.cjs.entry.js +3 -3
  307. package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
  308. package/dist/cjs/ix-number-input.cjs.entry.js +17 -11
  309. package/dist/cjs/ix-number-input.cjs.entry.js.map +1 -1
  310. package/dist/cjs/ix-pagination.cjs.entry.js +8 -5
  311. package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -1
  312. package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
  313. package/dist/cjs/ix-pill.cjs.entry.js +17 -7
  314. package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
  315. package/dist/cjs/ix-push-card.cjs.entry.js +1 -1
  316. package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
  317. package/dist/cjs/ix-radio-group.cjs.entry.js +3 -3
  318. package/dist/cjs/ix-radio.cjs.entry.js +6 -5
  319. package/dist/cjs/ix-radio.cjs.entry.js.map +1 -1
  320. package/dist/cjs/ix-select.cjs.entry.js +93 -57
  321. package/dist/cjs/ix-select.cjs.entry.js.map +1 -1
  322. package/dist/cjs/ix-split-button-item.cjs.entry.js +1 -1
  323. package/dist/cjs/ix-split-button-item.cjs.entry.js.map +1 -1
  324. package/dist/cjs/ix-split-button.cjs.entry.js +1 -1
  325. package/dist/cjs/ix-split-button.cjs.entry.js.map +1 -1
  326. package/dist/cjs/ix-tab-item_2.cjs.entry.js +2 -2
  327. package/dist/cjs/ix-textarea.cjs.entry.js +6 -5
  328. package/dist/cjs/ix-textarea.cjs.entry.js.map +1 -1
  329. package/dist/cjs/ix-tile.cjs.entry.js +4 -4
  330. package/dist/cjs/ix-tile.cjs.entry.js.map +1 -1
  331. package/dist/cjs/ix-time-picker.cjs.entry.js +2 -2
  332. package/dist/cjs/ix-time-picker.cjs.entry.js.map +1 -1
  333. package/dist/cjs/ix-toast-container.cjs.entry.js +10 -6
  334. package/dist/cjs/ix-toast-container.cjs.entry.js.map +1 -1
  335. package/dist/cjs/ix-toast.cjs.entry.js +2 -2
  336. package/dist/cjs/ix-toast.cjs.entry.js.map +1 -1
  337. package/dist/cjs/ix-toggle-button.cjs.entry.js +2 -2
  338. package/dist/cjs/ix-toggle-button.cjs.entry.js.map +1 -1
  339. package/dist/cjs/ix-toggle.cjs.entry.js +17 -3
  340. package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
  341. package/dist/cjs/ix-tree-item.cjs.entry.js +6 -5
  342. package/dist/cjs/ix-tree-item.cjs.entry.js.map +1 -1
  343. package/dist/cjs/ix-tree.cjs.entry.js +330 -489
  344. package/dist/cjs/ix-tree.cjs.entry.js.map +1 -1
  345. package/dist/cjs/ix-upload.cjs.entry.js +3 -3
  346. package/dist/cjs/ix-validation-tooltip.cjs.entry.js +5 -2
  347. package/dist/cjs/ix-validation-tooltip.cjs.entry.js.map +1 -1
  348. package/dist/cjs/ix-workflow-step.cjs.entry.js +4 -3
  349. package/dist/cjs/ix-workflow-step.cjs.entry.js.map +1 -1
  350. package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
  351. package/dist/cjs/ix-workflow-steps.cjs.entry.js.map +1 -1
  352. package/dist/cjs/loader.cjs.js +3 -3
  353. package/dist/cjs/make-ref-499e1e41.js.map +1 -1
  354. package/dist/cjs/{menu-tabs-fc-eb899b0d.js → menu-tabs-fc-a9f928f5.js} +11 -4
  355. package/dist/cjs/menu-tabs-fc-a9f928f5.js.map +1 -0
  356. package/dist/cjs/{modal-a49409aa.js → modal-923c83a6.js} +7 -1
  357. package/dist/cjs/modal-923c83a6.js.map +1 -0
  358. package/dist/cjs/{setup-86b7d543.js → setup-49660b91.js} +13 -3
  359. package/dist/cjs/setup-49660b91.js.map +1 -0
  360. package/dist/cjs/shadow-dom-454acc38.js.map +1 -1
  361. package/dist/cjs/siemens-ix.cjs.js +3 -3
  362. package/dist/cjs/{validation-1e3dd5ee.js → validation-cb884b13.js} +2 -8
  363. package/dist/cjs/validation-cb884b13.js.map +1 -0
  364. package/dist/collection/components/action-card/action-card.js +3 -3
  365. package/dist/collection/components/application/application.js +12 -8
  366. package/dist/collection/components/application/application.js.map +1 -1
  367. package/dist/collection/components/application-header/application-header.js +39 -13
  368. package/dist/collection/components/application-header/application-header.js.map +1 -1
  369. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +3 -3
  370. package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js.map +1 -1
  371. package/dist/collection/components/application-header/test/application-header.ct.js +2 -2
  372. package/dist/collection/components/application-header/test/application-header.ct.js.map +1 -1
  373. package/dist/collection/components/avatar/avatar.js +4 -4
  374. package/dist/collection/components/avatar/avatar.js.map +1 -1
  375. package/dist/collection/components/basic-navigation/basic-navigation.js +5 -5
  376. package/dist/collection/components/basic-navigation/basic-navigation.js.map +1 -1
  377. package/dist/collection/components/blind/blind.js +3 -3
  378. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +4 -4
  379. package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
  380. package/dist/collection/components/button/button-component.js +2 -0
  381. package/dist/collection/components/button/button-component.js.map +1 -0
  382. package/dist/collection/components/button/button.js +8 -3
  383. package/dist/collection/components/button/button.js.map +1 -1
  384. package/dist/collection/components/button/test/button.spec.js.map +1 -1
  385. package/dist/collection/components/card/card.css +7 -0
  386. package/dist/collection/components/card-content/card-content.css +13 -5
  387. package/dist/collection/components/card-content/card-content.js +1 -1
  388. package/dist/collection/components/card-content/card-content.js.map +1 -1
  389. package/dist/collection/components/card-list/card-list.css +1 -0
  390. package/dist/collection/components/card-list/card-list.js +7 -7
  391. package/dist/collection/components/card-list/card-list.js.map +1 -1
  392. package/dist/collection/components/card-title/card-title.css +2 -2
  393. package/dist/collection/components/card-title/card-title.js +1 -1
  394. package/dist/collection/components/category-filter/category-filter.css +3 -3
  395. package/dist/collection/components/category-filter/category-filter.js +9 -9
  396. package/dist/collection/components/category-filter/filter-state.js +4 -0
  397. package/dist/collection/components/category-filter/filter-state.js.map +1 -1
  398. package/dist/collection/components/checkbox/checkbox.css +216 -91
  399. package/dist/collection/components/checkbox/checkbox.js +7 -6
  400. package/dist/collection/components/checkbox/checkbox.js.map +1 -1
  401. package/dist/collection/components/checkbox/tests/checkbox.ct.js +20 -0
  402. package/dist/collection/components/checkbox/tests/checkbox.ct.js.map +1 -1
  403. package/dist/collection/components/checkbox-group/checkbox-group.js +8 -8
  404. package/dist/collection/components/chip/chip.js +10 -10
  405. package/dist/collection/components/chip/chip.js.map +1 -1
  406. package/dist/collection/components/chip/test/chip.ct.js +4 -2
  407. package/dist/collection/components/chip/test/chip.ct.js.map +1 -1
  408. package/dist/collection/components/col/col.js +4 -4
  409. package/dist/collection/components/content/content.js +3 -3
  410. package/dist/collection/components/content-header/content-header.js +2 -2
  411. package/dist/collection/components/css-grid/css-grid-item.js +2 -2
  412. package/dist/collection/components/css-grid/css-grid-item.js.map +1 -1
  413. package/dist/collection/components/css-grid/css-grid.js +1 -1
  414. package/dist/collection/components/custom-field/custom-field.js +8 -8
  415. package/dist/collection/components/date-dropdown/date-dropdown.js +88 -6
  416. package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
  417. package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js +1 -0
  418. package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js.map +1 -1
  419. package/dist/collection/components/date-input/date-input.css +6 -6
  420. package/dist/collection/components/date-input/date-input.js +27 -26
  421. package/dist/collection/components/date-input/date-input.js.map +1 -1
  422. package/dist/collection/components/date-picker/date-picker.js +9 -9
  423. package/dist/collection/components/date-picker/date-picker.js.map +1 -1
  424. package/dist/collection/components/date-time-card/date-time-card.js +1 -1
  425. package/dist/collection/components/datetime-picker/datetime-picker.js +8 -8
  426. package/dist/collection/components/divider/divider.js +1 -1
  427. package/dist/collection/components/drawer/drawer.js +3 -3
  428. package/dist/collection/components/dropdown/dropdown.js +7 -7
  429. package/dist/collection/components/dropdown/test/dropdown.ct.js.map +1 -1
  430. package/dist/collection/components/dropdown-button/dropdown-button.js +3 -3
  431. package/dist/collection/components/dropdown-header/dropdown-header.js +3 -3
  432. package/dist/collection/components/dropdown-header/dropdown-header.js.map +1 -1
  433. package/dist/collection/components/dropdown-item/dropdown-item.css +0 -3
  434. package/dist/collection/components/dropdown-item/dropdown-item.js +5 -5
  435. package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
  436. package/dist/collection/components/empty-state/empty-state.js +7 -7
  437. package/dist/collection/components/empty-state/empty-state.js.map +1 -1
  438. package/dist/collection/components/event-list/event-list.js +2 -2
  439. package/dist/collection/components/event-list-item/event-list-item.js +6 -6
  440. package/dist/collection/components/expanding-search/expanding-search.js +67 -4
  441. package/dist/collection/components/expanding-search/expanding-search.js.map +1 -1
  442. package/dist/collection/components/expanding-search/test/expanding-search.spec.js +5 -4
  443. package/dist/collection/components/expanding-search/test/expanding-search.spec.js.map +1 -1
  444. package/dist/collection/components/field-label/field-label.js +15 -7
  445. package/dist/collection/components/field-label/field-label.js.map +1 -1
  446. package/dist/collection/components/field-label/tests/field-label.ct.js +2 -2
  447. package/dist/collection/components/field-label/tests/field-label.ct.js.map +1 -1
  448. package/dist/collection/components/field-wrapper/field-wrapper.js +19 -11
  449. package/dist/collection/components/field-wrapper/field-wrapper.js.map +1 -1
  450. package/dist/collection/components/filter-chip/filter-chip.js +2 -2
  451. package/dist/collection/components/filter-chip/filter-chip.js.map +1 -1
  452. package/dist/collection/components/flip-tile/flip-tile.js +8 -7
  453. package/dist/collection/components/flip-tile/flip-tile.js.map +1 -1
  454. package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
  455. package/dist/collection/components/group/group-context-menu.js +1 -1
  456. package/dist/collection/components/group/group-context-menu.js.map +1 -1
  457. package/dist/collection/components/group/group.js +11 -11
  458. package/dist/collection/components/group/group.js.map +1 -1
  459. package/dist/collection/components/group-item/group-item.js +6 -6
  460. package/dist/collection/components/helper-text/helper-text.js +7 -7
  461. package/dist/collection/components/icon-button/icon-button.js +18 -15
  462. package/dist/collection/components/icon-button/icon-button.js.map +1 -1
  463. package/dist/collection/components/icon-button/test/icon-button.spec.js +16 -33
  464. package/dist/collection/components/icon-button/test/icon-button.spec.js.map +1 -1
  465. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +3 -3
  466. package/dist/collection/components/icon-toggle-button/icon-toggle-button.js.map +1 -1
  467. package/dist/collection/components/input/input.css +6 -6
  468. package/dist/collection/components/input/input.fc.js +4 -8
  469. package/dist/collection/components/input/input.fc.js.map +1 -1
  470. package/dist/collection/components/input/input.js +27 -20
  471. package/dist/collection/components/input/input.js.map +1 -1
  472. package/dist/collection/components/input/input.util.js +25 -1
  473. package/dist/collection/components/input/input.util.js.map +1 -1
  474. package/dist/collection/components/input/number-input.css +3 -3
  475. package/dist/collection/components/input/number-input.js +31 -24
  476. package/dist/collection/components/input/number-input.js.map +1 -1
  477. package/dist/collection/components/input/tests/validation.ct.js +21 -0
  478. package/dist/collection/components/input/tests/validation.ct.js.map +1 -0
  479. package/dist/collection/components/input/textarea.css +3 -3
  480. package/dist/collection/components/input/textarea.js +18 -18
  481. package/dist/collection/components/input/textarea.js.map +1 -1
  482. package/dist/collection/components/input-group/input-group.js +1 -1
  483. package/dist/collection/components/input-group/input-group.js.map +1 -1
  484. package/dist/collection/components/key-value/key-value.js +5 -5
  485. package/dist/collection/components/key-value/key-value.js.map +1 -1
  486. package/dist/collection/components/key-value-list/key-value-list.js +4 -3
  487. package/dist/collection/components/key-value-list/key-value-list.js.map +1 -1
  488. package/dist/collection/components/kpi/kpi.js +9 -9
  489. package/dist/collection/components/kpi/kpi.js.map +1 -1
  490. package/dist/collection/components/layout-auto/layout-auto.js +1 -1
  491. package/dist/collection/components/layout-grid/layout-grid.js +2 -2
  492. package/dist/collection/components/link-button/link-button.js +5 -5
  493. package/dist/collection/components/link-button/link-button.js.map +1 -1
  494. package/dist/collection/components/map-navigation/map-navigation.js +11 -11
  495. package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
  496. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +10 -10
  497. package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js.map +1 -1
  498. package/dist/collection/components/menu/menu-expand-icon.js +3 -3
  499. package/dist/collection/components/menu/menu-expand-icon.js.map +1 -1
  500. package/dist/collection/components/menu/menu.js +44 -19
  501. package/dist/collection/components/menu/menu.js.map +1 -1
  502. package/dist/collection/components/menu-about/menu-about.js +3 -3
  503. package/dist/collection/components/menu-about/menu-about.js.map +1 -1
  504. package/dist/collection/components/menu-about-item/menu-about-item.js +3 -3
  505. package/dist/collection/components/menu-about-item/menu-about-item.js.map +1 -1
  506. package/dist/collection/components/menu-about-news/menu-about-news.js +8 -8
  507. package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -1
  508. package/dist/collection/components/menu-avatar/menu-avatar.js +10 -10
  509. package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
  510. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +5 -5
  511. package/dist/collection/components/menu-avatar-item/menu-avatar-item.js.map +1 -1
  512. package/dist/collection/components/menu-category/menu-category.js +34 -19
  513. package/dist/collection/components/menu-category/menu-category.js.map +1 -1
  514. package/dist/collection/components/menu-item/menu-item.js +7 -7
  515. package/dist/collection/components/menu-settings/menu-settings.js +3 -3
  516. package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
  517. package/dist/collection/components/menu-settings-item/menu-settings-item.js +3 -3
  518. package/dist/collection/components/menu-settings-item/menu-settings-item.js.map +1 -1
  519. package/dist/collection/components/message-bar/message-bar.js +4 -2
  520. package/dist/collection/components/message-bar/message-bar.js.map +1 -1
  521. package/dist/collection/components/message-bar/test/message-bar.spec.js.map +1 -1
  522. package/dist/collection/components/modal/modal.js +6 -6
  523. package/dist/collection/components/modal/modal.js.map +1 -1
  524. package/dist/collection/components/modal/test/modal.ct.js +57 -65
  525. package/dist/collection/components/modal/test/modal.ct.js.map +1 -1
  526. package/dist/collection/components/modal-content/modal-content.js +1 -1
  527. package/dist/collection/components/modal-footer/modal-footer.js +1 -1
  528. package/dist/collection/components/modal-header/modal-header.js +3 -3
  529. package/dist/collection/components/modal-loading/modal-loading.js +1 -1
  530. package/dist/collection/components/pagination/pagination.js +10 -6
  531. package/dist/collection/components/pagination/pagination.js.map +1 -1
  532. package/dist/collection/components/pagination/test/pagination.ct.js +1 -1
  533. package/dist/collection/components/pagination/test/pagination.ct.js.map +1 -1
  534. package/dist/collection/components/pagination/test/pagination.spec.js.map +1 -1
  535. package/dist/collection/components/pane/pane.js +2 -2
  536. package/dist/collection/components/pane-layout/pane-layout.js +1 -1
  537. package/dist/collection/components/pill/pill.css +14 -1
  538. package/dist/collection/components/pill/pill.js +25 -10
  539. package/dist/collection/components/pill/pill.js.map +1 -1
  540. package/dist/collection/components/pill/tests/pill.ct.js +23 -0
  541. package/dist/collection/components/pill/tests/pill.ct.js.map +1 -0
  542. package/dist/collection/components/push-card/push-card.css +8 -1
  543. package/dist/collection/components/push-card/push-card.js +4 -4
  544. package/dist/collection/components/radio/radio.css +0 -16
  545. package/dist/collection/components/radio/radio.js +9 -8
  546. package/dist/collection/components/radio/radio.js.map +1 -1
  547. package/dist/collection/components/radio/test/radio.ct.js +19 -0
  548. package/dist/collection/components/radio/test/radio.ct.js.map +1 -1
  549. package/dist/collection/components/radio-group/radio-group.js +10 -10
  550. package/dist/collection/components/row/row.js +1 -1
  551. package/dist/collection/components/select/select.css +3 -0
  552. package/dist/collection/components/select/select.js +142 -66
  553. package/dist/collection/components/select/select.js.map +1 -1
  554. package/dist/collection/components/select/test/select-keyboard.ct.js +379 -0
  555. package/dist/collection/components/select/test/select-keyboard.ct.js.map +1 -0
  556. package/dist/collection/components/select/test/select.ct.js +128 -308
  557. package/dist/collection/components/select/test/select.ct.js.map +1 -1
  558. package/dist/collection/components/select-item/select-item.js +3 -3
  559. package/dist/collection/components/select-item/test/select-item.spec.js +3 -6
  560. package/dist/collection/components/select-item/test/select-item.spec.js.map +1 -1
  561. package/dist/collection/components/slider/slider.js +2 -2
  562. package/dist/collection/components/spinner/spinner.js +1 -1
  563. package/dist/collection/components/split-button/split-button.js +3 -3
  564. package/dist/collection/components/split-button/split-button.js.map +1 -1
  565. package/dist/collection/components/split-button-item/split-button-item.js +5 -5
  566. package/dist/collection/components/split-button-item/split-button-item.js.map +1 -1
  567. package/dist/collection/components/tab-item/tab-item.js +1 -1
  568. package/dist/collection/components/tabs/tabs.js +2 -2
  569. package/dist/collection/components/tile/tile.js +4 -4
  570. package/dist/collection/components/tile/tile.js.map +1 -1
  571. package/dist/collection/components/time-picker/time-picker.css +3 -3
  572. package/dist/collection/components/time-picker/time-picker.js +4 -4
  573. package/dist/collection/components/toast/toast-container.js +10 -6
  574. package/dist/collection/components/toast/toast-container.js.map +1 -1
  575. package/dist/collection/components/toast/toast.js +8 -8
  576. package/dist/collection/components/toast/toast.js.map +1 -1
  577. package/dist/collection/components/toggle/toggle.css +376 -161
  578. package/dist/collection/components/toggle/toggle.js +19 -5
  579. package/dist/collection/components/toggle/toggle.js.map +1 -1
  580. package/dist/collection/components/toggle-button/toggle-button.js +4 -4
  581. package/dist/collection/components/toggle-button/toggle-button.js.map +1 -1
  582. package/dist/collection/components/tooltip/tooltip.js +4 -4
  583. package/dist/collection/components/tree/test/tree.ct.js.map +1 -1
  584. package/dist/collection/components/tree/tree.js +7 -4
  585. package/dist/collection/components/tree/tree.js.map +1 -1
  586. package/dist/collection/components/tree-item/tree-item.js +8 -7
  587. package/dist/collection/components/tree-item/tree-item.js.map +1 -1
  588. package/dist/collection/components/typography/typography.js +3 -3
  589. package/dist/collection/components/upload/upload.js +4 -4
  590. package/dist/collection/components/utils/a11y.js.map +1 -1
  591. package/dist/collection/components/utils/app-switch/index.js +4 -0
  592. package/dist/collection/components/utils/app-switch/index.js.map +1 -1
  593. package/dist/collection/components/utils/input/validation.js +1 -7
  594. package/dist/collection/components/utils/input/validation.js.map +1 -1
  595. package/dist/collection/components/utils/lazy-list/index.js +2 -0
  596. package/dist/collection/components/utils/lazy-list/index.js.map +1 -0
  597. package/dist/collection/components/utils/lazy-list/lazy.js +343 -0
  598. package/dist/collection/components/utils/lazy-list/lazy.js.map +1 -0
  599. package/dist/collection/components/utils/make-ref.js.map +1 -1
  600. package/dist/collection/components/utils/menu-tabs/menu-tabs-fc.js +5 -1
  601. package/dist/collection/components/utils/menu-tabs/menu-tabs-fc.js.map +1 -1
  602. package/dist/collection/components/utils/menu-tabs/menu-tabs-utils.js +4 -1
  603. package/dist/collection/components/utils/menu-tabs/menu-tabs-utils.js.map +1 -1
  604. package/dist/collection/components/utils/modal/modal.js +6 -0
  605. package/dist/collection/components/utils/modal/modal.js.map +1 -1
  606. package/dist/collection/components/utils/shadow-dom.js.map +1 -1
  607. package/dist/collection/components/validation-tooltip/validation-tooltip.js +7 -4
  608. package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +1 -1
  609. package/dist/collection/components/workflow-step/workflow-step.js +4 -3
  610. package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
  611. package/dist/collection/components/workflow-steps/test/workflow-steps.spec.js.map +1 -1
  612. package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
  613. package/dist/collection/components/workflow-steps/workflow-steps.js.map +1 -1
  614. package/dist/collection/setup.ct.js +18 -0
  615. package/dist/collection/setup.ct.js.map +1 -0
  616. package/dist/collection/setup.js +11 -1
  617. package/dist/collection/setup.js.map +1 -1
  618. package/dist/collection/tests/application-header/application-header.e2e.js.map +1 -1
  619. package/dist/collection/tests/button/button.e2e.js.map +1 -1
  620. package/dist/collection/tests/card/card.e2e.js +6 -0
  621. package/dist/collection/tests/card/card.e2e.js.map +1 -1
  622. package/dist/collection/tests/date-dropdown/date-dropdown.e2e.js +3 -3
  623. package/dist/collection/tests/date-dropdown/date-dropdown.e2e.js.map +1 -1
  624. package/dist/collection/tests/date-input/date-input.e2e.js +17 -0
  625. package/dist/collection/tests/date-input/date-input.e2e.js.map +1 -0
  626. package/dist/collection/tests/expanding-search/expanding-search.e2e.js +1 -1
  627. package/dist/collection/tests/expanding-search/expanding-search.e2e.js.map +1 -1
  628. package/dist/collection/tests/html-tags/html-tags.e2e.js +17 -0
  629. package/dist/collection/tests/html-tags/html-tags.e2e.js.map +1 -0
  630. package/dist/collection/tests/icon-toggle-button/toggle-button.e2e.js.map +1 -1
  631. package/dist/collection/tests/input-common/input-common.e2e.js +27 -0
  632. package/dist/collection/tests/input-common/input-common.e2e.js.map +1 -0
  633. package/dist/collection/tests/menu/menu.e2e.js +11 -0
  634. package/dist/collection/tests/menu/menu.e2e.js.map +1 -1
  635. package/dist/collection/tests/push-card/push-card.e2e.js +6 -0
  636. package/dist/collection/tests/push-card/push-card.e2e.js.map +1 -1
  637. package/dist/collection/tests/toggle-button/toggle-button.e2e.js.map +1 -1
  638. package/dist/collection/tests/upload/upload.e2e.js +1 -1
  639. package/dist/collection/tests/upload/upload.e2e.js.map +1 -1
  640. package/dist/collection/tests/utils/test/page.js +37 -5
  641. package/dist/collection/tests/utils/test/page.js.map +1 -1
  642. package/dist/collection/tests/workflow-steps/workflow-steps.e2e.js +4 -3
  643. package/dist/collection/tests/workflow-steps/workflow-steps.e2e.js.map +1 -1
  644. package/dist/esm/a11y-b10c12e0.js.map +1 -1
  645. package/dist/esm/app-globals-c85c7809.js +7 -0
  646. package/dist/esm/{app-globals-ae0ca705.js.map → app-globals-c85c7809.js.map} +1 -1
  647. package/dist/esm/{core-js-78b486a8.js → core-js-4a847feb.js} +2 -2
  648. package/dist/esm/{core-js-78b486a8.js.map → core-js-4a847feb.js.map} +1 -1
  649. package/dist/esm/{helper-text-util-10896253.js → helper-text-util-e47b864d.js} +2 -2
  650. package/dist/esm/{helper-text-util-10896253.js.map → helper-text-util-e47b864d.js.map} +1 -1
  651. package/dist/esm/{index-ad2af369.js → index-2b76ea55.js} +3 -2
  652. package/dist/esm/index-2b76ea55.js.map +1 -0
  653. package/dist/esm/{index-60d17930.js → index-f8425403.js} +6 -2
  654. package/dist/esm/index-f8425403.js.map +1 -0
  655. package/dist/esm/{index.es2017-93ac816c.js → index.es2017-4e6fdf77.js} +3 -3
  656. package/dist/esm/{index.es2017-93ac816c.js.map → index.es2017-4e6fdf77.js.map} +1 -1
  657. package/dist/esm/index.js +7 -3
  658. package/dist/esm/index.js.map +1 -1
  659. package/dist/esm/{input.util-715860e3.js → input.util-deca1217.js} +32 -12
  660. package/dist/esm/input.util-deca1217.js.map +1 -0
  661. package/dist/esm/ix-application-header.entry.js +22 -13
  662. package/dist/esm/ix-application-header.entry.js.map +1 -1
  663. package/dist/esm/ix-application-switch-modal.entry.js +2 -2
  664. package/dist/esm/ix-application-switch-modal.entry.js.map +1 -1
  665. package/dist/esm/ix-application.entry.js +7 -3
  666. package/dist/esm/ix-application.entry.js.map +1 -1
  667. package/dist/esm/ix-avatar_2.entry.js +1 -1
  668. package/dist/esm/ix-avatar_2.entry.js.map +1 -1
  669. package/dist/esm/ix-basic-navigation.entry.js +2 -2
  670. package/dist/esm/ix-basic-navigation.entry.js.map +1 -1
  671. package/dist/esm/ix-breadcrumb-item.entry.js.map +1 -1
  672. package/dist/esm/ix-button.entry.js +7 -2
  673. package/dist/esm/ix-button.entry.js.map +1 -1
  674. package/dist/esm/ix-card-accordion_2.entry.js +2 -2
  675. package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
  676. package/dist/esm/ix-card-list.entry.js +6 -6
  677. package/dist/esm/ix-card-list.entry.js.map +1 -1
  678. package/dist/esm/ix-card_2.entry.js +3 -3
  679. package/dist/esm/ix-card_2.entry.js.map +1 -1
  680. package/dist/esm/ix-category-filter.entry.js +4 -4
  681. package/dist/esm/ix-category-filter.entry.js.map +1 -1
  682. package/dist/esm/ix-checkbox-group.entry.js +3 -3
  683. package/dist/esm/ix-checkbox.entry.js +6 -5
  684. package/dist/esm/ix-checkbox.entry.js.map +1 -1
  685. package/dist/esm/ix-chip.entry.js +5 -5
  686. package/dist/esm/ix-chip.entry.js.map +1 -1
  687. package/dist/esm/ix-col_4.entry.js +8 -8
  688. package/dist/esm/ix-col_4.entry.js.map +1 -1
  689. package/dist/esm/ix-content.entry.js +3 -3
  690. package/dist/esm/ix-css-grid-item.entry.js +1 -1
  691. package/dist/esm/ix-css-grid-item.entry.js.map +1 -1
  692. package/dist/esm/ix-custom-field.entry.js +2 -2
  693. package/dist/esm/ix-date-dropdown.entry.js +9 -5
  694. package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
  695. package/dist/esm/ix-date-input.entry.js +13 -13
  696. package/dist/esm/ix-date-input.entry.js.map +1 -1
  697. package/dist/esm/ix-divider.entry.js +1 -1
  698. package/dist/esm/ix-drawer.entry.js +2 -2
  699. package/dist/esm/ix-dropdown-header.entry.js +1 -1
  700. package/dist/esm/ix-dropdown-header.entry.js.map +1 -1
  701. package/dist/esm/ix-dropdown-item.entry.js +4 -4
  702. package/dist/esm/ix-dropdown-item.entry.js.map +1 -1
  703. package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
  704. package/dist/esm/ix-dropdown.entry.js +2 -2
  705. package/dist/esm/ix-empty-state.entry.js +1 -1
  706. package/dist/esm/ix-empty-state.entry.js.map +1 -1
  707. package/dist/esm/ix-event-list-item.entry.js +4 -4
  708. package/dist/esm/ix-event-list.entry.js +2 -2
  709. package/dist/esm/ix-expanding-search.entry.js +7 -4
  710. package/dist/esm/ix-expanding-search.entry.js.map +1 -1
  711. package/dist/esm/ix-field-label_3.entry.js +8 -8
  712. package/dist/esm/ix-field-label_3.entry.js.map +1 -1
  713. package/dist/esm/ix-filter-chip_2.entry.js +3 -3
  714. package/dist/esm/ix-filter-chip_2.entry.js.map +1 -1
  715. package/dist/esm/ix-flip-tile-content.entry.js +1 -1
  716. package/dist/esm/ix-flip-tile.entry.js +6 -5
  717. package/dist/esm/ix-flip-tile.entry.js.map +1 -1
  718. package/dist/esm/ix-group-context-menu_2.entry.js +3 -3
  719. package/dist/esm/ix-group-context-menu_2.entry.js.map +1 -1
  720. package/dist/esm/ix-group.entry.js +8 -8
  721. package/dist/esm/ix-group.entry.js.map +1 -1
  722. package/dist/esm/ix-helper-text.entry.js +4 -4
  723. package/dist/esm/ix-icon-button_2.entry.js +5 -5
  724. package/dist/esm/ix-icon-button_2.entry.js.map +1 -1
  725. package/dist/esm/ix-icon-toggle-button.entry.js +1 -1
  726. package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -1
  727. package/dist/esm/{ix-icon.entry-621b700a.js → ix-icon.entry-f5f7c268.js} +2 -2
  728. package/dist/esm/{ix-icon.entry-621b700a.js.map → ix-icon.entry-f5f7c268.js.map} +1 -1
  729. package/dist/esm/ix-input-group.entry.js +1 -1
  730. package/dist/esm/ix-input-group.entry.js.map +1 -1
  731. package/dist/esm/ix-input.entry.js +15 -9
  732. package/dist/esm/ix-input.entry.js.map +1 -1
  733. package/dist/esm/ix-key-value-list.entry.js +2 -2
  734. package/dist/esm/ix-key-value-list.entry.js.map +1 -1
  735. package/dist/esm/ix-key-value.entry.js +1 -1
  736. package/dist/esm/ix-key-value.entry.js.map +1 -1
  737. package/dist/esm/ix-kpi.entry.js +3 -3
  738. package/dist/esm/ix-kpi.entry.js.map +1 -1
  739. package/dist/esm/ix-layout-auto.entry.js +1 -1
  740. package/dist/esm/ix-link-button.entry.js +3 -3
  741. package/dist/esm/ix-link-button.entry.js.map +1 -1
  742. package/dist/esm/ix-map-navigation-overlay.entry.js +2 -2
  743. package/dist/esm/ix-map-navigation-overlay.entry.js.map +1 -1
  744. package/dist/esm/ix-map-navigation.entry.js +4 -4
  745. package/dist/esm/ix-map-navigation.entry.js.map +1 -1
  746. package/dist/esm/ix-menu-about-item.entry.js +1 -1
  747. package/dist/esm/ix-menu-about-item.entry.js.map +1 -1
  748. package/dist/esm/ix-menu-about-news.entry.js +4 -4
  749. package/dist/esm/ix-menu-about-news.entry.js.map +1 -1
  750. package/dist/esm/ix-menu-about.entry.js +2 -2
  751. package/dist/esm/ix-menu-about.entry.js.map +1 -1
  752. package/dist/esm/ix-menu-avatar.entry.js +2 -2
  753. package/dist/esm/ix-menu-avatar.entry.js.map +1 -1
  754. package/dist/esm/ix-menu-category.entry.js +28 -13
  755. package/dist/esm/ix-menu-category.entry.js.map +1 -1
  756. package/dist/esm/ix-menu-expand-icon.entry.js +1 -1
  757. package/dist/esm/ix-menu-expand-icon.entry.js.map +1 -1
  758. package/dist/esm/ix-menu-item.entry.js +3 -3
  759. package/dist/esm/ix-menu-settings-item.entry.js +1 -1
  760. package/dist/esm/ix-menu-settings-item.entry.js.map +1 -1
  761. package/dist/esm/ix-menu-settings.entry.js +1 -1
  762. package/dist/esm/ix-menu.entry.js +26 -18
  763. package/dist/esm/ix-menu.entry.js.map +1 -1
  764. package/dist/esm/ix-message-bar.entry.js +4 -2
  765. package/dist/esm/ix-message-bar.entry.js.map +1 -1
  766. package/dist/esm/ix-modal-content_2.entry.js +2 -2
  767. package/dist/esm/ix-modal-footer.entry.js +1 -1
  768. package/dist/esm/ix-modal-loading.entry.js +1 -1
  769. package/dist/esm/ix-modal.entry.js +3 -3
  770. package/dist/esm/ix-modal.entry.js.map +1 -1
  771. package/dist/esm/ix-number-input.entry.js +17 -11
  772. package/dist/esm/ix-number-input.entry.js.map +1 -1
  773. package/dist/esm/ix-pagination.entry.js +8 -5
  774. package/dist/esm/ix-pagination.entry.js.map +1 -1
  775. package/dist/esm/ix-pane-layout.entry.js +1 -1
  776. package/dist/esm/ix-pill.entry.js +17 -7
  777. package/dist/esm/ix-pill.entry.js.map +1 -1
  778. package/dist/esm/ix-push-card.entry.js +1 -1
  779. package/dist/esm/ix-push-card.entry.js.map +1 -1
  780. package/dist/esm/ix-radio-group.entry.js +3 -3
  781. package/dist/esm/ix-radio.entry.js +6 -5
  782. package/dist/esm/ix-radio.entry.js.map +1 -1
  783. package/dist/esm/ix-select.entry.js +93 -57
  784. package/dist/esm/ix-select.entry.js.map +1 -1
  785. package/dist/esm/ix-split-button-item.entry.js +1 -1
  786. package/dist/esm/ix-split-button-item.entry.js.map +1 -1
  787. package/dist/esm/ix-split-button.entry.js +1 -1
  788. package/dist/esm/ix-split-button.entry.js.map +1 -1
  789. package/dist/esm/ix-tab-item_2.entry.js +2 -2
  790. package/dist/esm/ix-textarea.entry.js +6 -5
  791. package/dist/esm/ix-textarea.entry.js.map +1 -1
  792. package/dist/esm/ix-tile.entry.js +4 -4
  793. package/dist/esm/ix-tile.entry.js.map +1 -1
  794. package/dist/esm/ix-time-picker.entry.js +2 -2
  795. package/dist/esm/ix-time-picker.entry.js.map +1 -1
  796. package/dist/esm/ix-toast-container.entry.js +10 -6
  797. package/dist/esm/ix-toast-container.entry.js.map +1 -1
  798. package/dist/esm/ix-toast.entry.js +2 -2
  799. package/dist/esm/ix-toast.entry.js.map +1 -1
  800. package/dist/esm/ix-toggle-button.entry.js +2 -2
  801. package/dist/esm/ix-toggle-button.entry.js.map +1 -1
  802. package/dist/esm/ix-toggle.entry.js +18 -4
  803. package/dist/esm/ix-toggle.entry.js.map +1 -1
  804. package/dist/esm/ix-tree-item.entry.js +6 -5
  805. package/dist/esm/ix-tree-item.entry.js.map +1 -1
  806. package/dist/esm/ix-tree.entry.js +330 -489
  807. package/dist/esm/ix-tree.entry.js.map +1 -1
  808. package/dist/esm/ix-upload.entry.js +3 -3
  809. package/dist/esm/ix-validation-tooltip.entry.js +5 -2
  810. package/dist/esm/ix-validation-tooltip.entry.js.map +1 -1
  811. package/dist/esm/ix-workflow-step.entry.js +4 -3
  812. package/dist/esm/ix-workflow-step.entry.js.map +1 -1
  813. package/dist/esm/ix-workflow-steps.entry.js +1 -1
  814. package/dist/esm/ix-workflow-steps.entry.js.map +1 -1
  815. package/dist/esm/loader.js +3 -3
  816. package/dist/esm/make-ref-4b76e9b5.js.map +1 -1
  817. package/dist/esm/{menu-tabs-fc-563a74d9.js → menu-tabs-fc-43b4155d.js} +11 -4
  818. package/dist/esm/menu-tabs-fc-43b4155d.js.map +1 -0
  819. package/dist/esm/{modal-101eef04.js → modal-4b3f8800.js} +7 -1
  820. package/dist/{cjs/modal-a49409aa.js.map → esm/modal-4b3f8800.js.map} +1 -1
  821. package/dist/esm/{setup-d88021f8.js → setup-3a3f57db.js} +13 -3
  822. package/dist/esm/setup-3a3f57db.js.map +1 -0
  823. package/dist/esm/shadow-dom-cc0bc152.js.map +1 -1
  824. package/dist/esm/siemens-ix.js +3 -3
  825. package/dist/esm/{validation-45aa490c.js → validation-54137eaa.js} +2 -8
  826. package/dist/esm/validation-54137eaa.js.map +1 -0
  827. package/dist/siemens-ix/index.esm.js +1 -1
  828. package/dist/siemens-ix/index.esm.js.map +1 -1
  829. package/dist/siemens-ix/{p-bd4c1a44.entry.js → p-03136fc0.entry.js} +2 -2
  830. package/dist/siemens-ix/p-03136fc0.entry.js.map +1 -0
  831. package/dist/siemens-ix/p-060d5c58.entry.js +2 -0
  832. package/dist/siemens-ix/p-060d5c58.entry.js.map +1 -0
  833. package/dist/siemens-ix/{p-475ac85f.entry.js → p-08168e53.entry.js} +2 -2
  834. package/dist/siemens-ix/{p-475ac85f.entry.js.map → p-08168e53.entry.js.map} +1 -1
  835. package/dist/siemens-ix/p-088ad2da.entry.js +2 -0
  836. package/dist/siemens-ix/p-088ad2da.entry.js.map +1 -0
  837. package/dist/siemens-ix/p-0c8a6f43.entry.js +2 -0
  838. package/dist/siemens-ix/{p-0be907d4.entry.js.map → p-0c8a6f43.entry.js.map} +1 -1
  839. package/dist/siemens-ix/{p-8457d846.entry.js → p-0cb18eff.entry.js} +2 -2
  840. package/dist/siemens-ix/p-0cb18eff.entry.js.map +1 -0
  841. package/dist/siemens-ix/{p-2a34a0c2.entry.js → p-0f44ccd1.entry.js} +2 -2
  842. package/dist/siemens-ix/{p-2a34a0c2.entry.js.map → p-0f44ccd1.entry.js.map} +1 -1
  843. package/dist/siemens-ix/p-14d038c6.entry.js +2 -0
  844. package/dist/siemens-ix/p-14d038c6.entry.js.map +1 -0
  845. package/dist/siemens-ix/{p-6722bcff.entry.js → p-16055d56.entry.js} +2 -2
  846. package/dist/siemens-ix/{p-6722bcff.entry.js.map → p-16055d56.entry.js.map} +1 -1
  847. package/dist/siemens-ix/p-177268f7.entry.js +2 -0
  848. package/dist/siemens-ix/p-177268f7.entry.js.map +1 -0
  849. package/dist/siemens-ix/{p-f97a15c4.js → p-186a1f30.js} +2 -2
  850. package/dist/siemens-ix/p-186a1f30.js.map +1 -0
  851. package/dist/siemens-ix/{p-175599e4.entry.js → p-19d1c463.entry.js} +2 -2
  852. package/dist/siemens-ix/{p-2d3a6d29.entry.js → p-1bff0a1f.entry.js} +2 -2
  853. package/dist/siemens-ix/{p-8da941cd.entry.js → p-1c74bd8b.entry.js} +2 -2
  854. package/dist/siemens-ix/{p-8da941cd.entry.js.map → p-1c74bd8b.entry.js.map} +1 -1
  855. package/dist/siemens-ix/{p-0c89cbcc.entry.js → p-1d545640.entry.js} +2 -2
  856. package/dist/siemens-ix/p-1d545640.entry.js.map +1 -0
  857. package/dist/siemens-ix/p-21a8aeaf.js +2 -0
  858. package/dist/siemens-ix/p-21a8aeaf.js.map +1 -0
  859. package/dist/siemens-ix/p-227b0ddd.entry.js +2 -0
  860. package/dist/siemens-ix/p-227b0ddd.entry.js.map +1 -0
  861. package/dist/siemens-ix/{p-63dd987f.entry.js → p-22fc61c9.entry.js} +2 -2
  862. package/dist/siemens-ix/p-22fc61c9.entry.js.map +1 -0
  863. package/dist/siemens-ix/{p-ede52531.entry.js → p-2396b68a.entry.js} +2 -2
  864. package/dist/siemens-ix/p-2396b68a.entry.js.map +1 -0
  865. package/dist/siemens-ix/{p-b2a06e46.entry.js → p-27befdd7.entry.js} +2 -2
  866. package/dist/siemens-ix/p-27befdd7.entry.js.map +1 -0
  867. package/dist/siemens-ix/{p-286feb7e.entry.js → p-297cd68a.entry.js} +2 -2
  868. package/dist/siemens-ix/{p-6bae4e9b.entry.js → p-2f29e208.entry.js} +2 -2
  869. package/dist/siemens-ix/{p-6bae4e9b.entry.js.map → p-2f29e208.entry.js.map} +1 -1
  870. package/dist/siemens-ix/p-309b82ec.entry.js +2 -0
  871. package/dist/siemens-ix/{p-4ec6ddfb.entry.js → p-30a24560.entry.js} +2 -2
  872. package/dist/siemens-ix/p-30a24560.entry.js.map +1 -0
  873. package/dist/siemens-ix/{p-37af7117.entry.js → p-327a1655.entry.js} +2 -2
  874. package/dist/siemens-ix/p-327a1655.entry.js.map +1 -0
  875. package/dist/siemens-ix/p-345e1c73.js.map +1 -1
  876. package/dist/siemens-ix/{p-6624076c.entry.js → p-353f081a.entry.js} +2 -2
  877. package/dist/siemens-ix/p-37eadb06.entry.js +2 -0
  878. package/dist/siemens-ix/{p-ffca56d6.entry.js.map → p-37eadb06.entry.js.map} +1 -1
  879. package/dist/siemens-ix/{p-dfb181c1.entry.js → p-37f1d0ed.entry.js} +2 -2
  880. package/dist/siemens-ix/p-37f1d0ed.entry.js.map +1 -0
  881. package/dist/siemens-ix/{p-5c1b136c.entry.js → p-388b9368.entry.js} +2 -2
  882. package/dist/siemens-ix/{p-5c1b136c.entry.js.map → p-388b9368.entry.js.map} +1 -1
  883. package/dist/siemens-ix/p-38d9d569.js +2 -0
  884. package/dist/siemens-ix/p-38d9d569.js.map +1 -0
  885. package/dist/siemens-ix/{p-d929f23d.entry.js → p-3fd2bacd.entry.js} +2 -2
  886. package/dist/siemens-ix/{p-d929f23d.entry.js.map → p-3fd2bacd.entry.js.map} +1 -1
  887. package/dist/siemens-ix/{p-e9a37b3f.entry.js → p-40da22b1.entry.js} +2 -2
  888. package/dist/siemens-ix/p-40da22b1.entry.js.map +1 -0
  889. package/dist/siemens-ix/{p-4cc79e8f.entry.js → p-44425604.entry.js} +2 -2
  890. package/dist/siemens-ix/p-44fa005c.js +4 -0
  891. package/dist/siemens-ix/{p-a2200306.js.map → p-44fa005c.js.map} +1 -1
  892. package/dist/siemens-ix/{p-05839c77.entry.js → p-48d6554c.entry.js} +2 -2
  893. package/dist/siemens-ix/p-49ca9211.entry.js +2 -0
  894. package/dist/siemens-ix/{p-f39048a2.entry.js.map → p-49ca9211.entry.js.map} +1 -1
  895. package/dist/siemens-ix/{p-0dbc970e.entry.js → p-4cb35508.entry.js} +2 -2
  896. package/dist/siemens-ix/p-4e51d716.entry.js.map +1 -1
  897. package/dist/siemens-ix/p-559cdf73.js +2 -0
  898. package/dist/siemens-ix/p-559cdf73.js.map +1 -0
  899. package/dist/siemens-ix/p-5767345b.entry.js +2 -0
  900. package/dist/siemens-ix/p-5b86301e.js +2 -0
  901. package/dist/siemens-ix/p-5b86301e.js.map +1 -0
  902. package/dist/siemens-ix/p-5fe87e71.js.map +1 -1
  903. package/dist/siemens-ix/{p-cbfca958.entry.js → p-617b3d78.entry.js} +2 -2
  904. package/dist/siemens-ix/{p-654f91f2.entry.js → p-623297ef.entry.js} +2 -2
  905. package/dist/siemens-ix/p-623297ef.entry.js.map +1 -0
  906. package/dist/siemens-ix/p-637df471.entry.js +2 -0
  907. package/dist/siemens-ix/p-637df471.entry.js.map +1 -0
  908. package/dist/siemens-ix/p-6635972c.entry.js +2 -0
  909. package/dist/siemens-ix/p-6635972c.entry.js.map +1 -0
  910. package/dist/siemens-ix/{p-48718dc1.entry.js → p-67209151.entry.js} +2 -2
  911. package/dist/siemens-ix/p-67209151.entry.js.map +1 -0
  912. package/dist/siemens-ix/{p-1c5ebea3.entry.js → p-676a4bd0.entry.js} +2 -2
  913. package/dist/siemens-ix/{p-1c5ebea3.entry.js.map → p-676a4bd0.entry.js.map} +1 -1
  914. package/dist/siemens-ix/{p-3205726a.entry.js → p-6af64cf4.entry.js} +2 -2
  915. package/dist/siemens-ix/{p-3205726a.entry.js.map → p-6af64cf4.entry.js.map} +1 -1
  916. package/dist/siemens-ix/{p-392b4297.entry.js → p-6b84501c.entry.js} +2 -2
  917. package/dist/siemens-ix/{p-392b4297.entry.js.map → p-6b84501c.entry.js.map} +1 -1
  918. package/dist/siemens-ix/{p-484aa96b.js → p-6ccf39dd.js} +2 -2
  919. package/dist/siemens-ix/p-6ccf39dd.js.map +1 -0
  920. package/dist/siemens-ix/{p-66178fe6.entry.js → p-6f3b0a66.entry.js} +2 -2
  921. package/dist/siemens-ix/{p-66178fe6.entry.js.map → p-6f3b0a66.entry.js.map} +1 -1
  922. package/dist/siemens-ix/{p-edc1d44a.entry.js → p-6f970ba4.entry.js} +2 -2
  923. package/dist/siemens-ix/p-6f970ba4.entry.js.map +1 -0
  924. package/dist/siemens-ix/p-71a4590c.entry.js +2 -0
  925. package/dist/siemens-ix/p-71a4590c.entry.js.map +1 -0
  926. package/dist/siemens-ix/{p-1f6df0c6.js → p-738c2d1f.js} +2 -2
  927. package/dist/siemens-ix/{p-be860121.entry.js → p-790709c5.entry.js} +2 -2
  928. package/dist/siemens-ix/p-790709c5.entry.js.map +1 -0
  929. package/dist/siemens-ix/{p-68bb2a09.entry.js → p-7b65535a.entry.js} +2 -2
  930. package/dist/siemens-ix/p-7b65535a.entry.js.map +1 -0
  931. package/dist/siemens-ix/{p-e7ac5657.entry.js → p-7e91e565.entry.js} +2 -2
  932. package/dist/siemens-ix/p-7e91e565.entry.js.map +1 -0
  933. package/dist/siemens-ix/p-8039ec6b.entry.js +2 -0
  934. package/dist/siemens-ix/p-8039ec6b.entry.js.map +1 -0
  935. package/dist/siemens-ix/p-8964b303.entry.js +2 -0
  936. package/dist/siemens-ix/p-8964b303.entry.js.map +1 -0
  937. package/dist/siemens-ix/p-89734934.js +2 -0
  938. package/dist/siemens-ix/{p-50096707.js.map → p-89734934.js.map} +1 -1
  939. package/dist/siemens-ix/{p-b74a8cdc.entry.js → p-8a6d403c.entry.js} +2 -2
  940. package/dist/siemens-ix/p-8a6d403c.entry.js.map +1 -0
  941. package/dist/siemens-ix/{p-a3364116.entry.js → p-8df3318f.entry.js} +2 -2
  942. package/dist/siemens-ix/p-8df3318f.entry.js.map +1 -0
  943. package/dist/siemens-ix/p-8efd9181.entry.js +2 -0
  944. package/dist/siemens-ix/p-8efd9181.entry.js.map +1 -0
  945. package/dist/siemens-ix/{p-d0b38ae2.entry.js → p-9213afda.entry.js} +2 -2
  946. package/dist/siemens-ix/{p-d0b38ae2.entry.js.map → p-9213afda.entry.js.map} +1 -1
  947. package/dist/siemens-ix/{p-f35386ec.js → p-93d4d3c9.js} +2 -2
  948. package/dist/siemens-ix/p-93fab3c7.entry.js +2 -0
  949. package/dist/siemens-ix/{p-c236cf18.entry.js.map → p-93fab3c7.entry.js.map} +1 -1
  950. package/dist/siemens-ix/{p-b62f8f62.entry.js → p-988ca463.entry.js} +2 -2
  951. package/dist/siemens-ix/{p-83da8f11.entry.js → p-9c63869a.entry.js} +2 -2
  952. package/dist/siemens-ix/p-9dd344d4.entry.js +2 -0
  953. package/dist/siemens-ix/{p-2643f32a.entry.js.map → p-9dd344d4.entry.js.map} +1 -1
  954. package/dist/siemens-ix/{p-815699d1.entry.js → p-9df683f8.entry.js} +2 -2
  955. package/dist/siemens-ix/p-9df683f8.entry.js.map +1 -0
  956. package/dist/siemens-ix/p-a36ee7b7.entry.js +2 -0
  957. package/dist/siemens-ix/p-a36ee7b7.entry.js.map +1 -0
  958. package/dist/siemens-ix/{p-fe87443e.js → p-a6af13b0.js} +2 -2
  959. package/dist/siemens-ix/p-aac089f0.entry.js +2 -0
  960. package/dist/siemens-ix/p-aac089f0.entry.js.map +1 -0
  961. package/dist/siemens-ix/p-ac9bb8be.entry.js +2 -0
  962. package/dist/siemens-ix/{p-6a4a2064.entry.js → p-af565741.entry.js} +2 -2
  963. package/dist/siemens-ix/p-af565741.entry.js.map +1 -0
  964. package/dist/siemens-ix/p-b00f255c.entry.js +2 -0
  965. package/dist/siemens-ix/{p-a36ad7c7.entry.js → p-b8b7aa8e.entry.js} +2 -2
  966. package/dist/siemens-ix/{p-9948574f.entry.js → p-ba1aeecb.entry.js} +2 -2
  967. package/dist/siemens-ix/p-ba1aeecb.entry.js.map +1 -0
  968. package/dist/siemens-ix/{p-df7060ae.entry.js → p-ba60132f.entry.js} +2 -2
  969. package/dist/siemens-ix/{p-54efe56b.entry.js → p-bb33784f.entry.js} +2 -2
  970. package/dist/siemens-ix/{p-2d7ea063.entry.js → p-bb99415f.entry.js} +2 -2
  971. package/dist/siemens-ix/p-bb99415f.entry.js.map +1 -0
  972. package/dist/siemens-ix/{p-2db63240.entry.js → p-bc05aafe.entry.js} +2 -2
  973. package/dist/siemens-ix/p-bc05aafe.entry.js.map +1 -0
  974. package/dist/siemens-ix/{p-d19b52bd.entry.js → p-bf01468d.entry.js} +2 -2
  975. package/dist/siemens-ix/{p-8c2b62c3.entry.js → p-c272dbbd.entry.js} +2 -2
  976. package/dist/siemens-ix/p-c272dbbd.entry.js.map +1 -0
  977. package/dist/siemens-ix/p-c4b75f38.entry.js +2 -0
  978. package/dist/siemens-ix/{p-caf49e00.entry.js → p-c7c8e52b.entry.js} +2 -2
  979. package/dist/siemens-ix/{p-57e60a06.entry.js → p-ca95654f.entry.js} +2 -2
  980. package/dist/siemens-ix/{p-57e60a06.entry.js.map → p-ca95654f.entry.js.map} +1 -1
  981. package/dist/siemens-ix/p-ce563a48.js.map +1 -1
  982. package/dist/siemens-ix/{p-3f367d44.entry.js → p-d489e0b3.entry.js} +2 -2
  983. package/dist/siemens-ix/{p-3f367d44.entry.js.map → p-d489e0b3.entry.js.map} +1 -1
  984. package/dist/siemens-ix/p-d70eb520.entry.js +2 -0
  985. package/dist/siemens-ix/p-d70eb520.entry.js.map +1 -0
  986. package/dist/siemens-ix/p-d8c93983.entry.js +2 -0
  987. package/dist/siemens-ix/p-d8c93983.entry.js.map +1 -0
  988. package/dist/siemens-ix/{p-9d323232.entry.js → p-d9b3c267.entry.js} +2 -2
  989. package/dist/siemens-ix/{p-9d323232.entry.js.map → p-d9b3c267.entry.js.map} +1 -1
  990. package/dist/siemens-ix/p-dcc76d47.entry.js +2 -0
  991. package/dist/siemens-ix/p-dcc76d47.entry.js.map +1 -0
  992. package/dist/siemens-ix/{p-0f2bf43d.entry.js → p-e09995d4.entry.js} +2 -2
  993. package/dist/siemens-ix/{p-2b226409.entry.js → p-e1e48602.entry.js} +2 -2
  994. package/dist/siemens-ix/p-e1e48602.entry.js.map +1 -0
  995. package/dist/siemens-ix/p-ebfaeb95.entry.js +2 -0
  996. package/dist/siemens-ix/{p-c6796e64.entry.js.map → p-ebfaeb95.entry.js.map} +1 -1
  997. package/dist/siemens-ix/{p-4c9b7548.entry.js → p-f023b24b.entry.js} +2 -2
  998. package/dist/siemens-ix/p-f023b24b.entry.js.map +1 -0
  999. package/dist/siemens-ix/p-f5ccceb6.entry.js +2 -0
  1000. package/dist/siemens-ix/p-f5ccceb6.entry.js.map +1 -0
  1001. package/dist/siemens-ix/p-f815f96e.entry.js +2 -0
  1002. package/dist/siemens-ix/p-f815f96e.entry.js.map +1 -0
  1003. package/dist/siemens-ix/p-fe158b99.js +2 -0
  1004. package/dist/siemens-ix/p-fe158b99.js.map +1 -0
  1005. package/dist/siemens-ix/siemens-ix-core.css +1 -1
  1006. package/dist/siemens-ix/siemens-ix.css +3 -3
  1007. package/dist/siemens-ix/siemens-ix.esm.js +1 -1
  1008. package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
  1009. package/dist/types/components/application/application.d.ts +4 -4
  1010. package/dist/types/components/application-header/application-header.d.ts +8 -2
  1011. package/dist/types/components/application-header/application-switch-modal/application-switch-modal.d.ts +1 -1
  1012. package/dist/types/components/application-sidebar/events.d.ts +2 -2
  1013. package/dist/types/components/basic-navigation/basic-navigation.d.ts +3 -3
  1014. package/dist/types/components/blind/blind.d.ts +1 -1
  1015. package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +2 -2
  1016. package/dist/types/components/button/base-button.d.ts +1 -1
  1017. package/dist/types/components/button/button-component.d.ts +31 -0
  1018. package/dist/types/components/button/button.d.ts +3 -1
  1019. package/dist/types/components/card-accordion/card-accordion.d.ts +1 -1
  1020. package/dist/types/components/category-filter/category-filter.d.ts +1 -1
  1021. package/dist/types/components/chip/chip.d.ts +2 -2
  1022. package/dist/types/components/date-dropdown/date-dropdown.d.ts +19 -1
  1023. package/dist/types/components/date-input/date-input.d.ts +3 -1
  1024. package/dist/types/components/date-picker/date-picker.d.ts +2 -2
  1025. package/dist/types/components/dropdown/dropdown-controller.d.ts +2 -2
  1026. package/dist/types/components/dropdown/dropdown.d.ts +1 -1
  1027. package/dist/types/components/dropdown-header/dropdown-header.d.ts +1 -1
  1028. package/dist/types/components/empty-state/empty-state.d.ts +3 -3
  1029. package/dist/types/components/expanding-search/expanding-search.d.ts +15 -1
  1030. package/dist/types/components/field-label/field-label.d.ts +1 -1
  1031. package/dist/types/components/field-wrapper/field-wrapper.d.ts +1 -1
  1032. package/dist/types/components/field-wrapper/helper-text-util.d.ts +1 -1
  1033. package/dist/types/components/filter-chip/filter-chip.d.ts +1 -1
  1034. package/dist/types/components/flip-tile/flip-tile.d.ts +2 -2
  1035. package/dist/types/components/group/group.d.ts +1 -1
  1036. package/dist/types/components/icon-button/icon-button.d.ts +4 -4
  1037. package/dist/types/components/icon-toggle-button/icon-toggle-button.d.ts +1 -1
  1038. package/dist/types/components/input/input.d.ts +5 -1
  1039. package/dist/types/components/input/input.util.d.ts +2 -0
  1040. package/dist/types/components/input/number-input.d.ts +5 -1
  1041. package/dist/types/components/input/tests/validation.ct.d.ts +1 -0
  1042. package/dist/types/components/input-group/input-group.d.ts +1 -1
  1043. package/dist/types/components/key-value/key-value.d.ts +2 -2
  1044. package/dist/types/components/kpi/kpi.d.ts +3 -3
  1045. package/dist/types/components/link-button/link-button.d.ts +1 -1
  1046. package/dist/types/components/map-navigation/map-navigation.d.ts +2 -2
  1047. package/dist/types/components/map-navigation-overlay/map-navigation-overlay.d.ts +4 -4
  1048. package/dist/types/components/menu/menu-expand-icon.d.ts +1 -1
  1049. package/dist/types/components/menu/menu.d.ts +12 -5
  1050. package/dist/types/components/menu-about/menu-about.d.ts +1 -1
  1051. package/dist/types/components/menu-about-item/menu-about-item.d.ts +1 -1
  1052. package/dist/types/components/menu-about-news/menu-about-news.d.ts +2 -2
  1053. package/dist/types/components/menu-avatar/menu-avatar.d.ts +4 -4
  1054. package/dist/types/components/menu-avatar-item/menu-avatar-item.d.ts +3 -3
  1055. package/dist/types/components/menu-category/menu-category.d.ts +6 -6
  1056. package/dist/types/components/menu-settings/menu-settings.d.ts +1 -1
  1057. package/dist/types/components/menu-settings-item/menu-settings-item.d.ts +1 -1
  1058. package/dist/types/components/message-bar/message-bar.d.ts +2 -2
  1059. package/dist/types/components/modal/modal.d.ts +2 -2
  1060. package/dist/types/components/modal/test/modal.ct.d.ts +2 -1
  1061. package/dist/types/components/pane/pane.d.ts +1 -1
  1062. package/dist/types/components/pill/pill.d.ts +6 -2
  1063. package/dist/types/components/pill/tests/pill.ct.d.ts +1 -0
  1064. package/dist/types/components/select/select.d.ts +25 -9
  1065. package/dist/types/components/select/test/select-keyboard.ct.d.ts +1 -0
  1066. package/dist/types/components/select-item/select-item.d.ts +1 -1
  1067. package/dist/types/components/slider/slider.d.ts +1 -1
  1068. package/dist/types/components/split-button/split-button.d.ts +3 -3
  1069. package/dist/types/components/split-button-item/split-button-item.d.ts +2 -2
  1070. package/dist/types/components/tabs/tabs.d.ts +1 -1
  1071. package/dist/types/components/time-picker/time-picker.d.ts +1 -1
  1072. package/dist/types/components/toast/toast.d.ts +3 -3
  1073. package/dist/types/components/toggle-button/toggle-button.d.ts +1 -1
  1074. package/dist/types/components/tree/tree.d.ts +1 -1
  1075. package/dist/types/components/utils/a11y.d.ts +1 -1
  1076. package/dist/types/components/utils/application-layout/context.d.ts +3 -3
  1077. package/dist/types/components/utils/application-layout/service.d.ts +1 -1
  1078. package/dist/types/components/utils/context.d.ts +2 -2
  1079. package/dist/types/components/utils/find-element.d.ts +1 -1
  1080. package/dist/types/components/utils/lazy-list/index.d.ts +2 -0
  1081. package/dist/types/components/utils/lazy-list/lazy.d.ts +51 -0
  1082. package/dist/types/components/utils/make-ref.d.ts +1 -1
  1083. package/dist/types/components/utils/menu-service/menu-service.d.ts +1 -1
  1084. package/dist/types/components/utils/modal/message.d.ts +5 -5
  1085. package/dist/types/components/utils/shadow-dom.d.ts +2 -2
  1086. package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +7 -7
  1087. package/dist/types/components/workflow-steps/workflow-steps.d.ts +1 -1
  1088. package/dist/types/components.d.ts +156 -62
  1089. package/dist/types/setup.ct.d.ts +1 -0
  1090. package/dist/types/setup.d.ts +1 -0
  1091. package/dist/types/tests/utils/test/index.d.ts +1 -1
  1092. package/dist/types/tests/utils/test/page.d.ts +12 -2
  1093. package/hydrate/index.js +879 -867
  1094. package/package.json +3 -5
  1095. package/scss/components/form/_input.scss +4 -1
  1096. package/dist/cjs/_commonjsHelpers-0192c5b3.js +0 -17
  1097. package/dist/cjs/_commonjsHelpers-0192c5b3.js.map +0 -1
  1098. package/dist/cjs/core-js-2fc351ee.js +0 -26
  1099. package/dist/cjs/core-js-2fc351ee.js.map +0 -1
  1100. package/dist/cjs/index-74904d8b.js.map +0 -1
  1101. package/dist/cjs/index-d2117dc0.js.map +0 -1
  1102. package/dist/cjs/input.util-1c2fa43d.js.map +0 -1
  1103. package/dist/cjs/menu-tabs-fc-eb899b0d.js.map +0 -1
  1104. package/dist/cjs/setup-86b7d543.js.map +0 -1
  1105. package/dist/cjs/validation-1e3dd5ee.js.map +0 -1
  1106. package/dist/esm/_commonjsHelpers-e557d4a5.js +0 -13
  1107. package/dist/esm/_commonjsHelpers-e557d4a5.js.map +0 -1
  1108. package/dist/esm/app-globals-ae0ca705.js +0 -7
  1109. package/dist/esm/index-60d17930.js.map +0 -1
  1110. package/dist/esm/index-ad2af369.js.map +0 -1
  1111. package/dist/esm/input.util-715860e3.js.map +0 -1
  1112. package/dist/esm/menu-tabs-fc-563a74d9.js.map +0 -1
  1113. package/dist/esm/modal-101eef04.js.map +0 -1
  1114. package/dist/esm/setup-d88021f8.js.map +0 -1
  1115. package/dist/esm/validation-45aa490c.js.map +0 -1
  1116. package/dist/siemens-ix/p-044c2a7b.entry.js +0 -2
  1117. package/dist/siemens-ix/p-044c2a7b.entry.js.map +0 -1
  1118. package/dist/siemens-ix/p-08463669.entry.js +0 -2
  1119. package/dist/siemens-ix/p-08463669.entry.js.map +0 -1
  1120. package/dist/siemens-ix/p-0be907d4.entry.js +0 -2
  1121. package/dist/siemens-ix/p-0c89cbcc.entry.js.map +0 -1
  1122. package/dist/siemens-ix/p-0f0e7e14.entry.js +0 -2
  1123. package/dist/siemens-ix/p-0f0e7e14.entry.js.map +0 -1
  1124. package/dist/siemens-ix/p-23a4b81f.js +0 -2
  1125. package/dist/siemens-ix/p-23a4b81f.js.map +0 -1
  1126. package/dist/siemens-ix/p-2643f32a.entry.js +0 -2
  1127. package/dist/siemens-ix/p-2b226409.entry.js.map +0 -1
  1128. package/dist/siemens-ix/p-2b367b12.entry.js +0 -2
  1129. package/dist/siemens-ix/p-2b367b12.entry.js.map +0 -1
  1130. package/dist/siemens-ix/p-2b9c5f59.entry.js +0 -2
  1131. package/dist/siemens-ix/p-2d7ea063.entry.js.map +0 -1
  1132. package/dist/siemens-ix/p-2db63240.entry.js.map +0 -1
  1133. package/dist/siemens-ix/p-37af7117.entry.js.map +0 -1
  1134. package/dist/siemens-ix/p-40dc610f.entry.js +0 -2
  1135. package/dist/siemens-ix/p-40dc610f.entry.js.map +0 -1
  1136. package/dist/siemens-ix/p-424e8092.entry.js +0 -2
  1137. package/dist/siemens-ix/p-424e8092.entry.js.map +0 -1
  1138. package/dist/siemens-ix/p-45840cb9.js +0 -2
  1139. package/dist/siemens-ix/p-4624a772.entry.js +0 -2
  1140. package/dist/siemens-ix/p-4624a772.entry.js.map +0 -1
  1141. package/dist/siemens-ix/p-484aa96b.js.map +0 -1
  1142. package/dist/siemens-ix/p-48718dc1.entry.js.map +0 -1
  1143. package/dist/siemens-ix/p-4a631d9c.entry.js +0 -2
  1144. package/dist/siemens-ix/p-4a631d9c.entry.js.map +0 -1
  1145. package/dist/siemens-ix/p-4a9330a5.entry.js +0 -2
  1146. package/dist/siemens-ix/p-4a9330a5.entry.js.map +0 -1
  1147. package/dist/siemens-ix/p-4c9b7548.entry.js.map +0 -1
  1148. package/dist/siemens-ix/p-4ec6ddfb.entry.js.map +0 -1
  1149. package/dist/siemens-ix/p-50096707.js +0 -2
  1150. package/dist/siemens-ix/p-52928e21.entry.js +0 -2
  1151. package/dist/siemens-ix/p-52928e21.entry.js.map +0 -1
  1152. package/dist/siemens-ix/p-5682e985.js +0 -2
  1153. package/dist/siemens-ix/p-5682e985.js.map +0 -1
  1154. package/dist/siemens-ix/p-5db5a0b5.entry.js +0 -2
  1155. package/dist/siemens-ix/p-5db5a0b5.entry.js.map +0 -1
  1156. package/dist/siemens-ix/p-63dd987f.entry.js.map +0 -1
  1157. package/dist/siemens-ix/p-654f91f2.entry.js.map +0 -1
  1158. package/dist/siemens-ix/p-66559451.entry.js +0 -2
  1159. package/dist/siemens-ix/p-68bb2a09.entry.js.map +0 -1
  1160. package/dist/siemens-ix/p-6a4a2064.entry.js.map +0 -1
  1161. package/dist/siemens-ix/p-6e3f1de3.entry.js +0 -2
  1162. package/dist/siemens-ix/p-6e3f1de3.entry.js.map +0 -1
  1163. package/dist/siemens-ix/p-792e1c52.entry.js +0 -2
  1164. package/dist/siemens-ix/p-792e1c52.entry.js.map +0 -1
  1165. package/dist/siemens-ix/p-79bb0d39.js +0 -2
  1166. package/dist/siemens-ix/p-79bb0d39.js.map +0 -1
  1167. package/dist/siemens-ix/p-7aa07d9b.entry.js +0 -2
  1168. package/dist/siemens-ix/p-7af324e9.entry.js +0 -2
  1169. package/dist/siemens-ix/p-7af324e9.entry.js.map +0 -1
  1170. package/dist/siemens-ix/p-815699d1.entry.js.map +0 -1
  1171. package/dist/siemens-ix/p-8457d846.entry.js.map +0 -1
  1172. package/dist/siemens-ix/p-857f99c8.entry.js +0 -2
  1173. package/dist/siemens-ix/p-857f99c8.entry.js.map +0 -1
  1174. package/dist/siemens-ix/p-8c2b62c3.entry.js.map +0 -1
  1175. package/dist/siemens-ix/p-9948574f.entry.js.map +0 -1
  1176. package/dist/siemens-ix/p-9fe2759f.entry.js +0 -2
  1177. package/dist/siemens-ix/p-9fe2759f.entry.js.map +0 -1
  1178. package/dist/siemens-ix/p-a2200306.js +0 -4
  1179. package/dist/siemens-ix/p-a3364116.entry.js.map +0 -1
  1180. package/dist/siemens-ix/p-a427e6a2.js +0 -2
  1181. package/dist/siemens-ix/p-a427e6a2.js.map +0 -1
  1182. package/dist/siemens-ix/p-a61ed462.entry.js +0 -2
  1183. package/dist/siemens-ix/p-a61ed462.entry.js.map +0 -1
  1184. package/dist/siemens-ix/p-b2a06e46.entry.js.map +0 -1
  1185. package/dist/siemens-ix/p-b74a8cdc.entry.js.map +0 -1
  1186. package/dist/siemens-ix/p-bd4c1a44.entry.js.map +0 -1
  1187. package/dist/siemens-ix/p-bded112a.entry.js +0 -2
  1188. package/dist/siemens-ix/p-bded112a.entry.js.map +0 -1
  1189. package/dist/siemens-ix/p-be860121.entry.js.map +0 -1
  1190. package/dist/siemens-ix/p-c236cf18.entry.js +0 -2
  1191. package/dist/siemens-ix/p-c6796e64.entry.js +0 -2
  1192. package/dist/siemens-ix/p-d01f05cf.entry.js +0 -2
  1193. package/dist/siemens-ix/p-d7aa00d6.js +0 -2
  1194. package/dist/siemens-ix/p-d7aa00d6.js.map +0 -1
  1195. package/dist/siemens-ix/p-dfb181c1.entry.js.map +0 -1
  1196. package/dist/siemens-ix/p-e7ac5657.entry.js.map +0 -1
  1197. package/dist/siemens-ix/p-e9a37b3f.entry.js.map +0 -1
  1198. package/dist/siemens-ix/p-edc1d44a.entry.js.map +0 -1
  1199. package/dist/siemens-ix/p-ede52531.entry.js.map +0 -1
  1200. package/dist/siemens-ix/p-f39048a2.entry.js +0 -2
  1201. package/dist/siemens-ix/p-f7618d1d.entry.js +0 -2
  1202. package/dist/siemens-ix/p-f7618d1d.entry.js.map +0 -1
  1203. package/dist/siemens-ix/p-f97a15c4.js.map +0 -1
  1204. package/dist/siemens-ix/p-ffca56d6.entry.js +0 -2
  1205. /package/dist/siemens-ix/{p-175599e4.entry.js.map → p-19d1c463.entry.js.map} +0 -0
  1206. /package/dist/siemens-ix/{p-2d3a6d29.entry.js.map → p-1bff0a1f.entry.js.map} +0 -0
  1207. /package/dist/siemens-ix/{p-286feb7e.entry.js.map → p-297cd68a.entry.js.map} +0 -0
  1208. /package/dist/siemens-ix/{p-2b9c5f59.entry.js.map → p-309b82ec.entry.js.map} +0 -0
  1209. /package/dist/siemens-ix/{p-6624076c.entry.js.map → p-353f081a.entry.js.map} +0 -0
  1210. /package/dist/siemens-ix/{p-4cc79e8f.entry.js.map → p-44425604.entry.js.map} +0 -0
  1211. /package/dist/siemens-ix/{p-05839c77.entry.js.map → p-48d6554c.entry.js.map} +0 -0
  1212. /package/dist/siemens-ix/{p-0dbc970e.entry.js.map → p-4cb35508.entry.js.map} +0 -0
  1213. /package/dist/siemens-ix/{p-45840cb9.js.map → p-5767345b.entry.js.map} +0 -0
  1214. /package/dist/siemens-ix/{p-cbfca958.entry.js.map → p-617b3d78.entry.js.map} +0 -0
  1215. /package/dist/siemens-ix/{p-1f6df0c6.js.map → p-738c2d1f.js.map} +0 -0
  1216. /package/dist/siemens-ix/{p-f35386ec.js.map → p-93d4d3c9.js.map} +0 -0
  1217. /package/dist/siemens-ix/{p-b62f8f62.entry.js.map → p-988ca463.entry.js.map} +0 -0
  1218. /package/dist/siemens-ix/{p-83da8f11.entry.js.map → p-9c63869a.entry.js.map} +0 -0
  1219. /package/dist/siemens-ix/{p-fe87443e.js.map → p-a6af13b0.js.map} +0 -0
  1220. /package/dist/siemens-ix/{p-7aa07d9b.entry.js.map → p-ac9bb8be.entry.js.map} +0 -0
  1221. /package/dist/siemens-ix/{p-d01f05cf.entry.js.map → p-b00f255c.entry.js.map} +0 -0
  1222. /package/dist/siemens-ix/{p-a36ad7c7.entry.js.map → p-b8b7aa8e.entry.js.map} +0 -0
  1223. /package/dist/siemens-ix/{p-df7060ae.entry.js.map → p-ba60132f.entry.js.map} +0 -0
  1224. /package/dist/siemens-ix/{p-54efe56b.entry.js.map → p-bb33784f.entry.js.map} +0 -0
  1225. /package/dist/siemens-ix/{p-d19b52bd.entry.js.map → p-bf01468d.entry.js.map} +0 -0
  1226. /package/dist/siemens-ix/{p-66559451.entry.js.map → p-c4b75f38.entry.js.map} +0 -0
  1227. /package/dist/siemens-ix/{p-caf49e00.entry.js.map → p-c7c8e52b.entry.js.map} +0 -0
  1228. /package/dist/siemens-ix/{p-0f2bf43d.entry.js.map → p-e09995d4.entry.js.map} +0 -0
@@ -0,0 +1,2 @@
1
+ import{r as e,c as o,h as t,H as r,g as h}from"./p-5806df2b.js";import{a as i}from"./p-5fe87e71.js";const c=':host{display:inline-flex;flex-direction:row;position:relative;height:1.5rem;margin-block-start:0.25rem;margin-block-end:0.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host input[type=checkbox]{display:none}:host .wrapper{display:flex;align-items:flex-start;width:100%;height:100%}:host .label{display:inline-block;white-space:normal;overflow:hidden;text-overflow:ellipsis;margin-block-start:0.125rem;margin-inline-start:0.5625rem}:host .switch{all:unset;position:relative;display:inline-block;width:3rem;min-width:3rem;max-width:3rem;height:1.5rem}:host .slider{position:absolute;top:0;left:0;right:0;bottom:0;background-color:var(--theme-switch-off--background);transition:var(--theme-default-time);border-radius:1.5rem;border:0.0625rem solid transparent}:host .slider:before{position:absolute;content:"";height:1.125rem;width:1.125rem;left:0.125rem;bottom:0.125rem;background-color:var(--theme-switch-thumb-off--background);transition:var(--theme-default-time);border-radius:50%}:host .switch.checked>.slider::before{background-color:var(--theme-switch-thumb-on--background);transform:translateX(1.5rem)}:host .switch>.slider{border-color:var(--theme-switch-off--border-color)}:host .switch:hover>.slider{background-color:var(--theme-switch-off--background--hover);border-color:var(--theme-switch-off--border-color--hover)}:host .switch:hover>.slider:before{background-color:var(--theme-switch-thumb-off--background--hover)}:host .switch:active>.slider{background-color:var(--theme-switch-off--background--active);border-color:var(--theme-switch-off--border-color--active)}:host .switch:active>.slider:before{background-color:var(--theme-switch-thumb-off--background--active)}:host .switch.checked>.slider{background-color:var(--theme-switch-on--background);border-color:var(--theme-switch-on--border-color)}:host .switch.checked:hover>.slider{background-color:var(--theme-switch-on--background--hover);border-color:var(--theme-switch-on--border-color--hover)}:host .switch.checked:hover>.slider:before{background-color:var(--theme-switch-thumb-on--background--hover)}:host .switch.checked:active>.slider{background-color:var(--theme-switch-on--background--active);border-color:var(--theme-switch-on--border-color--active)}:host .switch.checked:active>.slider:before{background-color:var(--theme-switch-thumb-on--background--active)}:host .switch.indeterminate>.slider::before{transform:translateX(0.75rem)}:host(:not(.disabled)) .wrapper{cursor:pointer}:host(:not(.disabled)) .switch:focus-visible>.slider{outline:0.0625rem solid var(--theme-color-focus-bdr);outline-offset:0.0625rem}:host(.disabled){pointer-events:none}:host(.disabled) .switch{opacity:0.5}:host(.disabled) .switch>.slider{background-color:var(--theme-switch-off--background--disabled)}:host(.disabled) .switch>.slider:before{background-color:var(--theme-switch-thumb-off--background--disabled)}:host(.disabled) .switch.checked>.slider{background-color:var(--theme-switch-on--background--disabled)}:host(.disabled) .switch.checked>.slider:before{background-color:var(--theme-switch-thumb-on--background--disabled)}:host(.disabled) .label{color:var(--theme-color-weak-text)}:host(.ix-info:not(.disabled)) .slider{--theme-switch-off--background:var(\n --theme-switch-off--background--info\n );--theme-switch-off--background--hover:var(\n --theme-switch-off--background--info--hover\n );--theme-switch-off--background--active:var(\n --theme-switch-off--background--info--active\n );--theme-switch-thumb-off--background:var(\n --theme-switch-thumb-off--background--info\n );--theme-switch-thumb-off--background--hover:var(\n --theme-switch-thumb-off--background--info--hover\n );--theme-switch-thumb-off--background--active:var(\n --theme-switch-thumb-off--background--info--active\n );--theme-switch-off--border-color:var(\n --theme-switch-off--border-color--info\n );--theme-switch-off--border-color--hover:var(\n --theme-switch-off--border-color--info--hover\n );--theme-switch-off--border-color--active:var(\n --theme-switch-off--border-color--info--active\n );--theme-switch-on--background:var(\n --theme-switch-on--background--info\n );--theme-switch-on--background--hover:var(\n --theme-switch-on--background--info--hover\n );--theme-switch-on--background--active:var(\n --theme-switch-on--background--info--active\n );--theme-switch-thumb-on--background:var(\n --theme-switch-thumb-on--background--info\n );--theme-switch-thumb-on--background--hover:var(\n --theme-switch-thumb-on--background--info--hover\n );--theme-switch-thumb-on--background--active:var(\n --theme-switch-thumb-on--background--info--active\n );--theme-switch-on--border-color:var(\n --theme-switch-on--border-color--info\n );--theme-switch-on--border-color--hover:var(\n --theme-switch-on--border-color--info--hover\n );--theme-switch-on--border-color--active:var(\n --theme-switch-on--border-color--info--active\n );--theme-switch-mixed--background:var(\n --theme-switch-mixed--background--info\n );--theme-switch-mixed--background--hover:var(\n --theme-switch-mixed--background--info--hover\n );--theme-switch-mixed--background--active:var(\n --theme-switch-mixed--background--info--active\n );--theme-switch-thumb-mixed--background:var(\n --theme-switch-thumb-mixed--background--info\n );--theme-switch-thumb-mixed--background--hover:var(\n --theme-switch-thumb-mixed--background--info--hover\n );--theme-switch-thumb-mixed--background--active:var(\n --theme-switch-thumb-mixed--background--info--active\n );--theme-switch-mixed--border-color:var(\n --theme-switch-mixed--border-color--info\n );--theme-switch-mixed--border-color--hover:var(\n --theme-switch-mixed--border-color--info--hover\n );--theme-switch-mixed--border-color--active:var(\n --theme-switch-mixed--border-color--info--active\n )}:host(.ix-warning:not(.disabled)) .slider{--theme-switch-off--background:var(\n --theme-switch-off--background--warning\n );--theme-switch-off--background--hover:var(\n --theme-switch-off--background--warning--hover\n );--theme-switch-off--background--active:var(\n --theme-switch-off--background--warning--active\n );--theme-switch-thumb-off--background:var(\n --theme-switch-thumb-off--background--warning\n );--theme-switch-thumb-off--background--hover:var(\n --theme-switch-thumb-off--background--warning--hover\n );--theme-switch-thumb-off--background--active:var(\n --theme-switch-thumb-off--background--warning--active\n );--theme-switch-off--border-color:var(\n --theme-switch-off--border-color--warning\n );--theme-switch-off--border-color--hover:var(\n --theme-switch-off--border-color--warning--hover\n );--theme-switch-off--border-color--active:var(\n --theme-switch-off--border-color--warning--active\n );--theme-switch-on--background:var(\n --theme-switch-on--background--warning\n );--theme-switch-on--background--hover:var(\n --theme-switch-on--background--warning--hover\n );--theme-switch-on--background--active:var(\n --theme-switch-on--background--warning--active\n );--theme-switch-thumb-on--background:var(\n --theme-switch-thumb-on--background--warning\n );--theme-switch-thumb-on--background--hover:var(\n --theme-switch-thumb-on--background--warning--hover\n );--theme-switch-thumb-on--background--active:var(\n --theme-switch-thumb-on--background--warning--active\n );--theme-switch-on--border-color:var(\n --theme-switch-on--border-color--warning\n );--theme-switch-on--border-color--hover:var(\n --theme-switch-on--border-color--warning--hover\n );--theme-switch-on--border-color--active:var(\n --theme-switch-on--border-color--warning--active\n );--theme-switch-mixed--background:var(\n --theme-switch-mixed--background--warning\n );--theme-switch-mixed--background--hover:var(\n --theme-switch-mixed--background--warning--hover\n );--theme-switch-mixed--background--active:var(\n --theme-switch-mixed--background--warning--active\n );--theme-switch-thumb-mixed--background:var(\n --theme-switch-thumb-mixed--background--warning\n );--theme-switch-thumb-mixed--background--hover:var(\n --theme-switch-thumb-mixed--background--warning--hover\n );--theme-switch-thumb-mixed--background--active:var(\n --theme-switch-thumb-mixed--background--warning--active\n );--theme-switch-mixed--border-color:var(\n --theme-switch-mixed--border-color--warning\n );--theme-switch-mixed--border-color--hover:var(\n --theme-switch-mixed--border-color--warning--hover\n );--theme-switch-mixed--border-color--active:var(\n --theme-switch-mixed--border-color--warning--active\n )}:host(.ix-invalid--required:not(.disabled)) .slider{--theme-switch-off--background:var(\n --theme-switch-off--background--invalid\n );--theme-switch-off--background--hover:var(\n --theme-switch-off--background--invalid--hover\n );--theme-switch-off--background--active:var(\n --theme-switch-off--background--invalid--active\n );--theme-switch-thumb-off--background:var(\n --theme-switch-thumb-off--background--invalid\n );--theme-switch-thumb-off--background--hover:var(\n --theme-switch-thumb-off--background--invalid--hover\n );--theme-switch-thumb-off--background--active:var(\n --theme-switch-thumb-off--background--invalid--active\n );--theme-switch-off--border-color:var(\n --theme-switch-off--border-color--invalid\n );--theme-switch-off--border-color--hover:var(\n --theme-switch-off--border-color--invalid--hover\n );--theme-switch-off--border-color--active:var(\n --theme-switch-off--border-color--invalid--active\n );--theme-switch-on--background:var(\n --theme-switch-on--background--invalid\n );--theme-switch-on--background--hover:var(\n --theme-switch-on--background--invalid--hover\n );--theme-switch-on--background--active:var(\n --theme-switch-on--background--invalid--active\n );--theme-switch-thumb-on--background:var(\n --theme-switch-thumb-on--background--invalid\n );--theme-switch-thumb-on--background--hover:var(\n --theme-switch-thumb-on--background--invalid--hover\n );--theme-switch-thumb-on--background--active:var(\n --theme-switch-thumb-on--background--invalid--active\n );--theme-switch-on--border-color:var(\n --theme-switch-on--border-color--invalid\n );--theme-switch-on--border-color--hover:var(\n --theme-switch-on--border-color--invalid--hover\n );--theme-switch-on--border-color--active:var(\n --theme-switch-on--border-color--invalid--active\n );--theme-switch-mixed--background:var(\n --theme-switch-mixed--background--invalid\n );--theme-switch-mixed--background--hover:var(\n --theme-switch-mixed--background--invalid--hover\n );--theme-switch-mixed--background--active:var(\n --theme-switch-mixed--background--invalid--active\n );--theme-switch-thumb-mixed--background:var(\n --theme-switch-thumb-mixed--background--invalid\n );--theme-switch-thumb-mixed--background--hover:var(\n --theme-switch-thumb-mixed--background--invalid--hover\n );--theme-switch-thumb-mixed--background--active:var(\n --theme-switch-thumb-mixed--background--invalid--active\n );--theme-switch-mixed--border-color:var(\n --theme-switch-mixed--border-color--invalid\n );--theme-switch-mixed--border-color--hover:var(\n --theme-switch-mixed--border-color--invalid--hover\n );--theme-switch-mixed--border-color--active:var(\n --theme-switch-mixed--border-color--invalid--active\n )}:host(.ix-invalid:not(.disabled)) .slider{--theme-switch-off--background:var(\n --theme-switch-off--background--invalid\n );--theme-switch-off--background--hover:var(\n --theme-switch-off--background--invalid--hover\n );--theme-switch-off--background--active:var(\n --theme-switch-off--background--invalid--active\n );--theme-switch-thumb-off--background:var(\n --theme-switch-thumb-off--background--invalid\n );--theme-switch-thumb-off--background--hover:var(\n --theme-switch-thumb-off--background--invalid--hover\n );--theme-switch-thumb-off--background--active:var(\n --theme-switch-thumb-off--background--invalid--active\n );--theme-switch-off--border-color:var(\n --theme-switch-off--border-color--invalid\n );--theme-switch-off--border-color--hover:var(\n --theme-switch-off--border-color--invalid--hover\n );--theme-switch-off--border-color--active:var(\n --theme-switch-off--border-color--invalid--active\n );--theme-switch-on--background:var(\n --theme-switch-on--background--invalid\n );--theme-switch-on--background--hover:var(\n --theme-switch-on--background--invalid--hover\n );--theme-switch-on--background--active:var(\n --theme-switch-on--background--invalid--active\n );--theme-switch-thumb-on--background:var(\n --theme-switch-thumb-on--background--invalid\n );--theme-switch-thumb-on--background--hover:var(\n --theme-switch-thumb-on--background--invalid--hover\n );--theme-switch-thumb-on--background--active:var(\n --theme-switch-thumb-on--background--invalid--active\n );--theme-switch-on--border-color:var(\n --theme-switch-on--border-color--invalid\n );--theme-switch-on--border-color--hover:var(\n --theme-switch-on--border-color--invalid--hover\n );--theme-switch-on--border-color--active:var(\n --theme-switch-on--border-color--invalid--active\n );--theme-switch-mixed--background:var(\n --theme-switch-mixed--background--invalid\n );--theme-switch-mixed--background--hover:var(\n --theme-switch-mixed--background--invalid--hover\n );--theme-switch-mixed--background--active:var(\n --theme-switch-mixed--background--invalid--active\n );--theme-switch-thumb-mixed--background:var(\n --theme-switch-thumb-mixed--background--invalid\n );--theme-switch-thumb-mixed--background--hover:var(\n --theme-switch-thumb-mixed--background--invalid--hover\n );--theme-switch-thumb-mixed--background--active:var(\n --theme-switch-thumb-mixed--background--invalid--active\n );--theme-switch-mixed--border-color:var(\n --theme-switch-mixed--border-color--invalid\n );--theme-switch-mixed--border-color--hover:var(\n --theme-switch-mixed--border-color--invalid--hover\n );--theme-switch-mixed--border-color--active:var(\n --theme-switch-mixed--border-color--invalid--active\n )}';const n=c;const a=class{constructor(t){e(this,t);this.checkedChange=o(this,"checkedChange",7);this.valueChange=o(this,"valueChange",7);if(t.$hostElement$["s-ei"]){this.formInternals=t.$hostElement$["s-ei"]}else{this.formInternals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.formInternals}this.name=undefined;this.value="on";this.checked=false;this.disabled=false;this.indeterminate=false;this.textOn="On";this.textOff="Off";this.textIndeterminate="Mixed";this.hideText=false;this.required=false}onCheckedChange(e){if(this.disabled){return}if(this.indeterminate){this.indeterminate=false}this.checked=e;this.checkedChange.emit(this.checked)}componentWillLoad(){this.updateFormInternalValue()}updateFormInternalValue(){if(this.checked){this.formInternals.setFormValue(this.value)}else{this.formInternals.setFormValue(null)}}watchCheckedChange(){this.updateFormInternalValue()}hasValidValue(){return Promise.resolve(this.checked)}getAssociatedFormElement(){return Promise.resolve(this.formInternals.form)}render(){let e=this.textOff;if(this.checked){e=this.textOn}if(this.indeterminate){e=this.textIndeterminate}return t(r,{key:"508fa5cd92f3b3707823b13175a6e243def7d61f",class:{disabled:this.disabled}},t("label",{key:"b01e8a3e4fb781dc979ebf915aa71055a688d0da",class:"wrapper"},t("button",{key:"22301abf1c108d18d8c73d5288f9b6cceb6f4992",role:"switch","aria-checked":i(this.checked),class:{switch:true,checked:this.checked,indeterminate:this.indeterminate},onClick:()=>this.onCheckedChange(!this.checked)},t("div",{key:"2f0a33aa378f39f77f7905028884b93b530e9c5e",class:"slider"})),t("input",{key:"f5bb8b2a44d5881f769d2306b5eeadac9481dc46",type:"checkbox",disabled:this.disabled,indeterminate:this.indeterminate,checked:this.checked,tabindex:0,"aria-hidden":i(true),"aria-checked":i(this.checked),onChange:e=>this.onCheckedChange(e.target.checked)}),!this.hideText&&t("ix-typography",{key:"d631ef3c16f5df85c752534b4f1c798f520678d3",class:"label"},e)))}static get formAssociated(){return true}get hostElement(){return h(this)}static get watchers(){return{checked:["watchCheckedChange"]}}};a.style=n;export{a as ix_toggle};
2
+ //# sourceMappingURL=p-71a4590c.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["toggleCss","IxToggleStyle0","Toggle","onCheckedChange","newChecked","this","disabled","indeterminate","checked","checkedChange","emit","componentWillLoad","updateFormInternalValue","formInternals","setFormValue","value","watchCheckedChange","hasValidValue","Promise","resolve","getAssociatedFormElement","form","render","toggleText","textOff","textOn","textIndeterminate","h","Host","key","class","role","a11yBoolean","switch","onClick","type","tabindex","onChange","event","target","hideText"],"sources":["src/components/toggle/toggle.scss?tag=ix-toggle&encapsulation=shadow","src/components/toggle/toggle.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'mixins/hover';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: inline-flex;\n flex-direction: row;\n position: relative;\n height: 1.5rem;\n margin-block-start: 0.25rem;\n margin-block-end: 0.25rem;\n\n input[type='checkbox'] {\n display: none;\n }\n\n .wrapper {\n display: flex;\n align-items: flex-start;\n width: 100%;\n height: 100%;\n }\n\n .label {\n display: inline-block;\n white-space: normal;\n overflow: hidden;\n text-overflow: ellipsis;\n margin-block-start: 0.125rem;\n margin-inline-start: 0.5625rem;\n }\n\n .switch {\n all: unset;\n position: relative;\n display: inline-block;\n width: 3rem;\n min-width: 3rem;\n max-width: 3rem;\n height: 1.5rem;\n }\n\n .slider {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: var(--theme-switch-off--background);\n transition: var(--theme-default-time);\n border-radius: 1.5rem;\n border: 0.0625rem solid transparent;\n }\n\n .slider:before {\n position: absolute;\n content: '';\n height: 1.125rem;\n width: 1.125rem;\n left: 0.125rem;\n bottom: 0.125rem;\n background-color: var(--theme-switch-thumb-off--background);\n transition: var(--theme-default-time);\n border-radius: 50%;\n }\n\n .switch.checked > .slider::before {\n background-color: var(--theme-switch-thumb-on--background);\n transform: translateX(1.5rem);\n }\n\n .switch > .slider {\n border-color: var(--theme-switch-off--border-color);\n }\n\n .switch:hover > .slider {\n background-color: var(--theme-switch-off--background--hover);\n border-color: var(--theme-switch-off--border-color--hover);\n }\n\n .switch:hover > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--hover);\n }\n\n .switch:active > .slider {\n background-color: var(--theme-switch-off--background--active);\n border-color: var(--theme-switch-off--border-color--active);\n }\n\n .switch:active > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--active);\n }\n\n .switch.checked > .slider {\n background-color: var(--theme-switch-on--background);\n border-color: var(--theme-switch-on--border-color);\n }\n\n .switch.checked:hover > .slider {\n background-color: var(--theme-switch-on--background--hover);\n border-color: var(--theme-switch-on--border-color--hover);\n }\n\n .switch.checked:hover > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--hover);\n }\n\n .switch.checked:active > .slider {\n background-color: var(--theme-switch-on--background--active);\n border-color: var(--theme-switch-on--border-color--active);\n }\n\n .switch.checked:active > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--active);\n }\n\n .switch.indeterminate > .slider::before {\n transform: translateX(0.75rem);\n }\n}\n\n:host(:not(.disabled)) {\n .wrapper {\n cursor: pointer;\n }\n\n .switch:focus-visible > .slider {\n outline: 0.0625rem solid var(--theme-color-focus-bdr);\n outline-offset: 0.0625rem;\n }\n}\n\n:host(.disabled) {\n pointer-events: none;\n\n .switch {\n opacity: 0.5;\n }\n\n .switch > .slider {\n background-color: var(--theme-switch-off--background--disabled);\n }\n\n .switch > .slider:before {\n background-color: var(--theme-switch-thumb-off--background--disabled);\n }\n\n .switch.checked > .slider {\n background-color: var(--theme-switch-on--background--disabled);\n }\n\n .switch.checked > .slider:before {\n background-color: var(--theme-switch-thumb-on--background--disabled);\n }\n\n .label {\n color: var(--theme-color-weak-text);\n }\n}\n\n@mixin toggle-variant($selector) {\n :host(#{$selector}:not(.disabled)) {\n .slider {\n @content;\n }\n }\n}\n\n@mixin define-toggle-vars($state, $type) {\n --theme-switch-#{$state}--background: var(\n --theme-switch-#{$state}--background--#{$type}\n );\n --theme-switch-#{$state}--background--hover: var(\n --theme-switch-#{$state}--background--#{$type}--hover\n );\n --theme-switch-#{$state}--background--active: var(\n --theme-switch-#{$state}--background--#{$type}--active\n );\n\n --theme-switch-thumb-#{$state}--background: var(\n --theme-switch-thumb-#{$state}--background--#{$type}\n );\n --theme-switch-thumb-#{$state}--background--hover: var(\n --theme-switch-thumb-#{$state}--background--#{$type}--hover\n );\n --theme-switch-thumb-#{$state}--background--active: var(\n --theme-switch-thumb-#{$state}--background--#{$type}--active\n );\n\n --theme-switch-#{$state}--border-color: var(\n --theme-switch-#{$state}--border-color--#{$type}\n );\n --theme-switch-#{$state}--border-color--hover: var(\n --theme-switch-#{$state}--border-color--#{$type}--hover\n );\n --theme-switch-#{$state}--border-color--active: var(\n --theme-switch-#{$state}--border-color--#{$type}--active\n );\n}\n\n@include toggle-variant($selector: '.ix-info') {\n @include define-toggle-vars('off', 'info');\n @include define-toggle-vars('on', 'info');\n @include define-toggle-vars('mixed', 'info');\n}\n\n@include toggle-variant($selector: '.ix-warning') {\n @include define-toggle-vars('off', 'warning');\n @include define-toggle-vars('on', 'warning');\n @include define-toggle-vars('mixed', 'warning');\n}\n\n@include toggle-variant($selector: '.ix-invalid--required') {\n @include define-toggle-vars('off', 'invalid');\n @include define-toggle-vars('on', 'invalid');\n @include define-toggle-vars('mixed', 'invalid');\n}\n\n@include toggle-variant($selector: '.ix-invalid') {\n @include define-toggle-vars('off', 'invalid');\n @include define-toggle-vars('on', 'invalid');\n @include define-toggle-vars('mixed', 'invalid');\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { a11yBoolean } from '../utils/a11y';\nimport { IxFormComponent } from '../utils/input';\n\n/**\n * @form-ready 2.6.0\n * */\n@Component({\n tag: 'ix-toggle',\n styleUrl: 'toggle.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class Toggle implements IxFormComponent<string> {\n @AttachInternals() formInternals!: ElementInternals;\n\n @Element() hostElement!: HTMLIxToggleElement;\n\n /**\n * Name of the checkbox component\n */\n @Prop({ reflect: true }) name?: string;\n\n /**\n * Value of the checkbox component\n */\n @Prop({ reflect: true }) value: string = 'on';\n\n /**\n * Whether the slide-toggle element is checked or not.\n */\n @Prop({ mutable: true, reflect: true }) checked = false;\n\n /**\n * Whether the slide-toggle element is disabled or not.\n */\n @Prop() disabled = false;\n\n /**\n * If true the control is in indeterminate state\n */\n @Prop({ mutable: true, reflect: true }) indeterminate = false;\n\n /**\n * Text for on state\n */\n @Prop() textOn = 'On';\n\n /**\n * Text for off state\n */\n @Prop() textOff = 'Off';\n\n /**\n * Text for indeterminate state\n */\n @Prop() textIndeterminate = 'Mixed';\n\n /**\n * Hide `on` and `off` text\n */\n @Prop() hideText = false;\n\n /**\n * Required state of the checkbox component.\n *\n * If true, checkbox needs to be checked to be valid\n */\n @Prop({ reflect: true }) required = false;\n\n /**\n * An event will be dispatched each time the slide-toggle changes its value.\n */\n @Event() checkedChange!: EventEmitter<boolean>;\n\n /** @internal */\n @Event() valueChange!: EventEmitter<string>;\n\n onCheckedChange(newChecked: boolean) {\n if (this.disabled) {\n return;\n }\n\n if (this.indeterminate) {\n this.indeterminate = false;\n }\n this.checked = newChecked;\n this.checkedChange.emit(this.checked);\n }\n\n componentWillLoad() {\n this.updateFormInternalValue();\n }\n\n updateFormInternalValue(): void {\n if (this.checked) {\n this.formInternals.setFormValue(this.value);\n } else {\n this.formInternals.setFormValue(null);\n }\n }\n\n @Watch('checked')\n watchCheckedChange() {\n this.updateFormInternalValue();\n }\n\n /** @internal */\n @Method()\n hasValidValue(): Promise<boolean> {\n return Promise.resolve(this.checked);\n }\n\n /** @internal */\n @Method()\n getAssociatedFormElement(): Promise<HTMLFormElement | null> {\n return Promise.resolve(this.formInternals.form);\n }\n\n render() {\n let toggleText = this.textOff;\n\n if (this.checked) {\n toggleText = this.textOn;\n }\n\n if (this.indeterminate) {\n toggleText = this.textIndeterminate;\n }\n return (\n <Host\n class={{\n disabled: this.disabled,\n }}\n >\n <label class=\"wrapper\">\n <button\n role=\"switch\"\n aria-checked={a11yBoolean(this.checked)}\n class={{\n switch: true,\n checked: this.checked,\n indeterminate: this.indeterminate,\n }}\n onClick={() => this.onCheckedChange(!this.checked)}\n >\n <div class=\"slider\"></div>\n </button>\n <input\n type=\"checkbox\"\n disabled={this.disabled}\n indeterminate={this.indeterminate}\n checked={this.checked}\n tabindex={0}\n aria-hidden={a11yBoolean(true)}\n aria-checked={a11yBoolean(this.checked)}\n onChange={(event) =>\n this.onCheckedChange((event.target as HTMLInputElement).checked)\n }\n />\n {!this.hideText && (\n <ix-typography class=\"label\">{toggleText}</ix-typography>\n )}\n </label>\n </Host>\n );\n }\n}\n"],"mappings":"oGAAA,MAAMA,EAAY,oodAClB,MAAAC,EAAeD,E,MCgCFE,EAAM,M,0TAawB,K,aAKS,M,cAK/B,M,mBAKqC,M,YAKvC,K,aAKC,M,uBAKU,Q,cAKT,M,cAOiB,K,CAUpC,eAAAC,CAAgBC,GACd,GAAIC,KAAKC,SAAU,CACjB,M,CAGF,GAAID,KAAKE,cAAe,CACtBF,KAAKE,cAAgB,K,CAEvBF,KAAKG,QAAUJ,EACfC,KAAKI,cAAcC,KAAKL,KAAKG,Q,CAG/B,iBAAAG,GACEN,KAAKO,yB,CAGP,uBAAAA,GACE,GAAIP,KAAKG,QAAS,CAChBH,KAAKQ,cAAcC,aAAaT,KAAKU,M,KAChC,CACLV,KAAKQ,cAAcC,aAAa,K,EAKpC,kBAAAE,GACEX,KAAKO,yB,CAKP,aAAAK,GACE,OAAOC,QAAQC,QAAQd,KAAKG,Q,CAK9B,wBAAAY,GACE,OAAOF,QAAQC,QAAQd,KAAKQ,cAAcQ,K,CAG5C,MAAAC,GACE,IAAIC,EAAalB,KAAKmB,QAEtB,GAAInB,KAAKG,QAAS,CAChBe,EAAalB,KAAKoB,M,CAGpB,GAAIpB,KAAKE,cAAe,CACtBgB,EAAalB,KAAKqB,iB,CAEpB,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,MAAO,CACLxB,SAAUD,KAAKC,WAGjBqB,EAAA,SAAAE,IAAA,2CAAOC,MAAM,WACXH,EAAA,UAAAE,IAAA,2CACEE,KAAK,SAAQ,eACCC,EAAY3B,KAAKG,SAC/BsB,MAAO,CACLG,OAAQ,KACRzB,QAASH,KAAKG,QACdD,cAAeF,KAAKE,eAEtB2B,QAAS,IAAM7B,KAAKF,iBAAiBE,KAAKG,UAE1CmB,EAAA,OAAAE,IAAA,2CAAKC,MAAM,YAEbH,EAAA,SAAAE,IAAA,2CACEM,KAAK,WACL7B,SAAUD,KAAKC,SACfC,cAAeF,KAAKE,cACpBC,QAASH,KAAKG,QACd4B,SAAU,EAAC,cACEJ,EAAY,MAAK,eAChBA,EAAY3B,KAAKG,SAC/B6B,SAAWC,GACTjC,KAAKF,gBAAiBmC,EAAMC,OAA4B/B,YAG1DH,KAAKmC,UACLb,EAAA,iBAAAE,IAAA,2CAAeC,MAAM,SAASP,I"}
@@ -1,2 +1,2 @@
1
- function t(){var t=[];if(typeof window!=="undefined"){var n=window;if(!n.customElements||n.Element&&(!n.Element.prototype.closest||!n.Element.prototype.matches||!n.Element.prototype.remove||!n.Element.prototype.getRootNode)){t.push(import("./p-5d43cae8.js"))}var e=function(){try{var t=new URL("b","http://a");t.pathname="c%20d";return t.href==="http://a/c%20d"&&t.searchParams}catch(t){return false}};if("function"!==typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||n.NodeList&&!n.NodeList.prototype.forEach||!n.fetch||!e()||typeof WeakMap=="undefined"){t.push(import("./p-a2200306.js").then((function(t){return t.c})))}}return Promise.all(t)}const n="ix-icons";let e;let s;let o=false;let c=false;const l=(t,n="")=>{{return()=>{}}};const i=(t,n)=>{{return()=>{}}};const f="{visibility:hidden}.hydrated{visibility:inherit}";const r={};const u="http://www.w3.org/2000/svg";const a="http://www.w3.org/1999/xhtml";const d=t=>t!=null;const p=t=>{t=typeof t;return t==="object"||t==="function"};function h(t){var n,e,s;return(s=(e=(n=t.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&s!==void 0?s:undefined}const y=(t,n,...e)=>{let s=null;let o=false;let c=false;const l=[];const i=n=>{for(let e=0;e<n.length;e++){s=n[e];if(Array.isArray(s)){i(s)}else if(s!=null&&typeof s!=="boolean"){if(o=typeof t!=="function"&&!p(s)){s=String(s)}if(o&&c){l[l.length-1].t+=s}else{l.push(o?m(null,s):s)}c=o}}};i(e);if(n){{const t=n.className||n.class;if(t){n.class=typeof t!=="object"?t:Object.keys(t).filter((n=>t[n])).join(" ")}}}const f=m(t,null);f.o=n;if(l.length>0){f.l=l}return f};const m=(t,n)=>{const e={i:0,u:t,t:n,p:null,l:null};{e.o=null}return e};const w={};const $=t=>t&&t.u===w;const b=(t,n)=>{if(t!=null&&!p(t)){if(n&1){return String(t)}return t}return t};const g=(t,n,e)=>{const s=pt.ce(n,e);t.dispatchEvent(s);return s};const v=new WeakMap;const S=(t,n,e)=>{let s=ut.get(t);if(yt&&e){s=s||new CSSStyleSheet;if(typeof s==="string"){s=n}else{s.replaceSync(n)}}else{s=n}ut.set(t,s)};const j=(t,n,e,s)=>{var o;let c=C(n);const l=ut.get(c);t=t.nodeType===11?t:dt;if(l){if(typeof l==="string"){t=t.head||t;let n=v.get(t);let e;if(!n){v.set(t,n=new Set)}if(!n.has(c)){{{e=dt.createElement("style");e.innerHTML=l}const n=(o=pt.h)!==null&&o!==void 0?o:h(dt);if(n!=null){e.setAttribute("nonce",n)}t.insertBefore(e,t.querySelector("link"))}if(n){n.add(c)}}}else if(!t.adoptedStyleSheets.includes(l)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]}}return c};const O=t=>{const n=t.m;const e=t.$hostElement$;const s=n.i;const o=l("attachStyles",n.$);const c=j(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);if(s&10){e["s-sc"]=c;e.classList.add(c+"-h")}o()};const C=(t,n)=>"sc-"+t.$;const k=(t,n,e,s,o,c)=>{if(e!==s){let l=lt(t,n);n.toLowerCase();if(n==="class"){const n=t.classList;const o=x(e);const c=x(s);n.remove(...o.filter((t=>t&&!c.includes(t))));n.add(...c.filter((t=>t&&!o.includes(t))))}else if(n==="style"){{for(const n in e){if(!s||s[n]==null){if(n.includes("-")){t.style.removeProperty(n)}else{t.style[n]=""}}}}for(const n in s){if(!e||s[n]!==e[n]){if(n.includes("-")){t.style.setProperty(n,s[n])}else{t.style[n]=s[n]}}}}else{const i=p(s);if((l||i&&s!==null)&&!o){try{if(!t.tagName.includes("-")){const o=s==null?"":s;if(n==="list"){l=false}else if(e==null||t[n]!=o){t[n]=o}}else{t[n]=s}}catch(t){}}if(s==null||s===false){if(s!==false||t.getAttribute(n)===""){{t.removeAttribute(n)}}}else if((!l||c&4||o)&&!i){s=s===true?"":s;{t.setAttribute(n,s)}}}}};const M=/\s/;const x=t=>!t?[]:t.split(M);const P=(t,n,e,s)=>{const o=n.p.nodeType===11&&n.p.host?n.p.host:n.p;const c=t&&t.o||r;const l=n.o||r;{for(s in c){if(!(s in l)){k(o,s,c[s],undefined,e,n.i)}}}for(s in l){k(o,s,c[s],l[s],e,n.i)}};const U=(t,n,s,c)=>{const l=n.l[s];let i=0;let f;let r;{if(!o){o=l.u==="svg"}f=l.p=dt.createElementNS(o?u:a,l.u);if(o&&l.u==="foreignObject"){o=false}{P(null,l,o)}if(d(e)&&f["s-si"]!==e){f.classList.add(f["s-si"]=e)}if(l.l){for(i=0;i<l.l.length;++i){r=U(t,l,i);if(r){f.appendChild(r)}}}{if(l.u==="svg"){o=false}else if(f.tagName==="foreignObject"){o=true}}}return f};const _=(t,n,e,o,c,l)=>{let i=t;let f;if(i.shadowRoot&&i.tagName===s){i=i.shadowRoot}for(;c<=l;++c){if(o[c]){f=U(null,e,c);if(f){o[c].p=f;i.insertBefore(f,n)}}}};const A=(t,n,e,s,o)=>{for(;n<=e;++n){if(s=t[n]){o=s.p;o.remove()}}};const E=(t,n,e,s)=>{let o=0;let c=0;let l=n.length-1;let i=n[0];let f=n[l];let r=s.length-1;let u=s[0];let a=s[r];let d;while(o<=l&&c<=r){if(i==null){i=n[++o]}else if(f==null){f=n[--l]}else if(u==null){u=s[++c]}else if(a==null){a=s[--r]}else if(L(i,u)){N(i,u);i=n[++o];u=s[++c]}else if(L(f,a)){N(f,a);f=n[--l];a=s[--r]}else if(L(i,a)){N(i,a);t.insertBefore(i.p,f.p.nextSibling);i=n[++o];a=s[--r]}else if(L(f,u)){N(f,u);t.insertBefore(f.p,i.p);f=n[--l];u=s[++c]}else{{d=U(n&&n[c],e,c);u=s[++c]}if(d){{i.p.parentNode.insertBefore(d,i.p)}}}}if(o>l){_(t,s[r+1]==null?null:s[r+1].p,e,s,c,r)}else if(c>r){A(n,o,l)}};const L=(t,n)=>{if(t.u===n.u){return true}return false};const N=(t,n)=>{const e=n.p=t.p;const s=t.l;const c=n.l;const l=n.u;{{o=l==="svg"?true:l==="foreignObject"?false:o}{{P(t,n,o)}}if(s!==null&&c!==null){E(e,s,n,c)}else if(c!==null){_(e,null,n,c,0,c.length-1)}else if(s!==null){A(s,0,s.length-1)}if(o&&l==="svg"){o=false}}};const R=(t,n)=>{const o=t.$hostElement$;const c=t.v||m(null,null);const l=$(n)?n:y(null,null,n);s=o.tagName;l.u=null;l.i|=4;t.v=l;l.p=c.p=o.shadowRoot||o;{e=o["s-sc"]}N(c,l)};const T=(t,n)=>{if(n&&!t.S&&n["s-p"]){n["s-p"].push(new Promise((n=>t.S=n)))}};const W=(t,n)=>{{t.i|=16}if(t.i&4){t.i|=512;return}T(t,t.j);const e=()=>H(t,n);return St(e)};const H=(t,n)=>{const e=l("scheduleUpdate",t.m.$);const s=t.O;let o;e();return F(o,(()=>I(t,s,n)))};const I=async(t,n,e)=>{const s=t.$hostElement$;const o=l("update",t.m.$);const c=s["s-rc"];if(e){O(t)}const i=l("render",t.m.$);{q(t,n)}if(c){c.map((t=>t()));s["s-rc"]=undefined}i();o();{const n=s["s-p"];const e=()=>z(t);if(n.length===0){e()}else{Promise.all(n).then(e);t.i|=4;n.length=0}}};const q=(t,n,e)=>{try{n=n.render();{t.i&=~16}{t.i|=2}{{{R(t,n)}}}}catch(n){it(n,t.$hostElement$)}return null};const z=t=>{const n=t.m.$;const e=t.$hostElement$;const s=l("postUpdate",n);const o=t.j;if(!(t.i&64)){t.i|=64;{V(e)}s();{t.C(e);if(!o){B()}}}else{s()}{if(t.S){t.S();t.S=undefined}if(t.i&512){vt((()=>W(t,false)))}t.i&=~(4|512)}};const B=t=>{{V(dt.documentElement)}vt((()=>g(at,"appload",{detail:{namespace:n}})))};const D=(t,n,e)=>{if(t&&t[n]){try{return t[n](e)}catch(t){it(t)}}return undefined};const F=(t,n)=>t&&t.then?t.then(n):n();const V=t=>t.classList.add("hydrated");const G=(t,n)=>st(t).k.get(n);const J=(t,n,e,s)=>{const o=st(t);const c=o.$hostElement$;const l=o.k.get(n);const i=o.i;const f=o.O;e=b(e,s.M[n][0]);const r=Number.isNaN(l)&&Number.isNaN(e);const u=e!==l&&!r;if((!(i&8)||l===undefined)&&u){o.k.set(n,e);if(f){if(s.P&&i&128){const t=s.P[n];if(t){t.map((t=>{try{f[t](e,l,n)}catch(t){it(t,c)}}))}}if((i&(2|16))===2){W(o,false)}}}};const K=(t,n,e)=>{if(n.M){if(t.watchers){n.P=t.watchers}const s=Object.entries(n.M);const o=t.prototype;s.map((([t,[s]])=>{if(s&31||e&2&&s&32){Object.defineProperty(o,t,{get(){return G(this,t)},set(e){J(this,t,e,n)},configurable:true,enumerable:true})}}));if(e&1){const n=new Map;o.attributeChangedCallback=function(t,e,s){pt.jmp((()=>{const e=n.get(t);if(this.hasOwnProperty(e)){s=this[e];delete this[e]}else if(o.hasOwnProperty(e)&&typeof this[e]==="number"&&this[e]==s){return}this[e]=s===null&&typeof this[e]==="boolean"?false:s}))};t.observedAttributes=s.filter((([t,n])=>n[0]&15)).map((([t,e])=>{const s=e[1]||t;n.set(s,t);return s}))}}return t};const Q=async(t,n,e,s,o)=>{if((n.i&32)===0){{n.i|=32;o=rt(e);if(o.then){const t=i();o=await o;t()}if(!o.isProxied){{e.P=o.watchers}K(o,e,2);o.isProxied=true}const t=l("createInstance",e.$);{n.i|=8}try{new o(n)}catch(t){it(t)}{n.i&=~8}{n.i|=128}t();X(n.O)}if(o.style){let t=o.style;const n=C(e);if(!ut.has(n)){const s=l("registerStyles",e.$);S(n,t,!!(e.i&1));s()}}}const c=n.j;const f=()=>W(n,true);if(c&&c["s-rc"]){c["s-rc"].push(f)}else{f()}};const X=t=>{{D(t,"connectedCallback")}};const Y=t=>{if((pt.i&1)===0){const n=st(t);const e=n.m;const s=l("connectedCallback",e.$);if(!(n.i&1)){n.i|=1;{let e=t;while(e=e.parentNode||e.host){if(e["s-p"]){T(n,n.j=e);break}}}if(e.M){Object.entries(e.M).map((([n,[e]])=>{if(e&31&&t.hasOwnProperty(n)){const e=t[n];delete t[n];t[n]=e}}))}{Q(t,n,e)}}else{X(n.O)}s()}};const Z=t=>{if((pt.i&1)===0){st(t)}};const tt=(t,n={})=>{var e;const s=l();const o=[];const c=n.exclude||[];const i=at.customElements;const r=dt.head;const u=r.querySelector("meta[charset]");const a=dt.createElement("style");const d=[];let p;let y=true;Object.assign(pt,n);pt.U=new URL(n.resourcesUrl||"./",dt.baseURI).href;t.map((t=>{t[1].map((n=>{const e={i:n[0],$:n[1],M:n[2],_:n[3]};{e.M=n[2]}{e.P={}}const s=e.$;const l=class extends HTMLElement{constructor(t){super(t);t=this;ct(t,e);if(e.i&1){{{t.attachShadow({mode:"open"})}}}}connectedCallback(){if(p){clearTimeout(p);p=null}if(y){d.push(this)}else{pt.jmp((()=>Y(this)))}}disconnectedCallback(){pt.jmp((()=>Z(this)))}componentOnReady(){return st(this).A}};e.L=t[0];if(!c.includes(s)&&!i.get(s)){o.push(s);i.define(s,K(l,e,1))}}))}));{a.innerHTML=o+f;a.setAttribute("data-styles","");const t=(e=pt.h)!==null&&e!==void 0?e:h(dt);if(t!=null){a.setAttribute("nonce",t)}r.insertBefore(a,u?u.nextSibling:r.firstChild)}y=false;if(d.length){d.map((t=>t.connectedCallback()))}else{{pt.jmp((()=>p=setTimeout(B,30)))}}s()};const nt=t=>pt.h=t;const et=new WeakMap;const st=t=>et.get(t);const ot=(t,n)=>et.set(n.O=t,n);const ct=(t,n)=>{const e={i:0,$hostElement$:t,m:n,k:new Map};{e.A=new Promise((t=>e.C=t));t["s-p"]=[];t["s-rc"]=[]}return et.set(t,e)};const lt=(t,n)=>n in t;const it=(t,n)=>(0,console.error)(t,n);const ft=new Map;const rt=(t,n,e)=>{const s=t.$.replace(/-/g,"_");const o=t.L;const c=ft.get(o);if(c){return c[s]}if(!e||!BUILD.hotModuleReplacement){const t=t=>{ft.set(o,t);return t[s]};switch(o){case"ix-icon":return import("./p-fe87443e.js").then(t,it)}}return import(`./${o}.entry.js${""}`).then((t=>{{ft.set(o,t)}return t[s]}),it)};const ut=new Map;const at=typeof window!=="undefined"?window:{};const dt=at.document||{head:{}};const pt={i:0,U:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,s)=>t.addEventListener(n,e,s),rel:(t,n,e,s)=>t.removeEventListener(n,e,s),ce:(t,n)=>new CustomEvent(t,n)};const ht=t=>Promise.resolve(t);const yt=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const mt=[];const wt=[];const $t=(t,n)=>e=>{t.push(e);if(!c){c=true;if(n&&pt.i&4){vt(gt)}else{pt.raf(gt)}}};const bt=t=>{for(let n=0;n<t.length;n++){try{t[n](performance.now())}catch(t){it(t)}}t.length=0};const gt=()=>{bt(mt);{bt(wt);if(c=mt.length>0){pt.raf(gt)}}};const vt=t=>ht().then(t);const St=$t(wt,true);const jt=()=>ht();const Ot=(t,n)=>{if(typeof window==="undefined")return Promise.resolve();return jt().then((()=>tt([["ix-icon",[[1,"ix-icon",{size:[1],color:[1],name:[1],svgContent:[32]}]]]],n)))};const Ct=Object.freeze({__proto__:null,applyPolyfills:t,setNonce:nt,defineCustomElements:Ot});export{w as H,y as h,Ct as i,ot as r};
2
- //# sourceMappingURL=p-1f6df0c6.js.map
1
+ function t(){var t=[];if(typeof window!=="undefined"){var n=window;if(!n.customElements||n.Element&&(!n.Element.prototype.closest||!n.Element.prototype.matches||!n.Element.prototype.remove||!n.Element.prototype.getRootNode)){t.push(import("./p-5d43cae8.js"))}var e=function(){try{var t=new URL("b","http://a");t.pathname="c%20d";return t.href==="http://a/c%20d"&&t.searchParams}catch(t){return false}};if("function"!==typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||n.NodeList&&!n.NodeList.prototype.forEach||!n.fetch||!e()||typeof WeakMap=="undefined"){t.push(import("./p-44fa005c.js").then((function(t){return t.c})))}}return Promise.all(t)}const n="ix-icons";let e;let s;let o=false;let c=false;const l=(t,n="")=>{{return()=>{}}};const i=(t,n)=>{{return()=>{}}};const f="{visibility:hidden}.hydrated{visibility:inherit}";const r={};const u="http://www.w3.org/2000/svg";const a="http://www.w3.org/1999/xhtml";const d=t=>t!=null;const p=t=>{t=typeof t;return t==="object"||t==="function"};function h(t){var n,e,s;return(s=(e=(n=t.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&s!==void 0?s:undefined}const y=(t,n,...e)=>{let s=null;let o=false;let c=false;const l=[];const i=n=>{for(let e=0;e<n.length;e++){s=n[e];if(Array.isArray(s)){i(s)}else if(s!=null&&typeof s!=="boolean"){if(o=typeof t!=="function"&&!p(s)){s=String(s)}if(o&&c){l[l.length-1].t+=s}else{l.push(o?m(null,s):s)}c=o}}};i(e);if(n){{const t=n.className||n.class;if(t){n.class=typeof t!=="object"?t:Object.keys(t).filter((n=>t[n])).join(" ")}}}const f=m(t,null);f.o=n;if(l.length>0){f.l=l}return f};const m=(t,n)=>{const e={i:0,u:t,t:n,p:null,l:null};{e.o=null}return e};const w={};const $=t=>t&&t.u===w;const b=(t,n)=>{if(t!=null&&!p(t)){if(n&1){return String(t)}return t}return t};const g=(t,n,e)=>{const s=pt.ce(n,e);t.dispatchEvent(s);return s};const v=new WeakMap;const S=(t,n,e)=>{let s=ut.get(t);if(yt&&e){s=s||new CSSStyleSheet;if(typeof s==="string"){s=n}else{s.replaceSync(n)}}else{s=n}ut.set(t,s)};const j=(t,n,e,s)=>{var o;let c=C(n);const l=ut.get(c);t=t.nodeType===11?t:dt;if(l){if(typeof l==="string"){t=t.head||t;let n=v.get(t);let e;if(!n){v.set(t,n=new Set)}if(!n.has(c)){{{e=dt.createElement("style");e.innerHTML=l}const n=(o=pt.h)!==null&&o!==void 0?o:h(dt);if(n!=null){e.setAttribute("nonce",n)}t.insertBefore(e,t.querySelector("link"))}if(n){n.add(c)}}}else if(!t.adoptedStyleSheets.includes(l)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]}}return c};const O=t=>{const n=t.m;const e=t.$hostElement$;const s=n.i;const o=l("attachStyles",n.$);const c=j(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);if(s&10){e["s-sc"]=c;e.classList.add(c+"-h")}o()};const C=(t,n)=>"sc-"+t.$;const k=(t,n,e,s,o,c)=>{if(e!==s){let l=lt(t,n);n.toLowerCase();if(n==="class"){const n=t.classList;const o=x(e);const c=x(s);n.remove(...o.filter((t=>t&&!c.includes(t))));n.add(...c.filter((t=>t&&!o.includes(t))))}else if(n==="style"){{for(const n in e){if(!s||s[n]==null){if(n.includes("-")){t.style.removeProperty(n)}else{t.style[n]=""}}}}for(const n in s){if(!e||s[n]!==e[n]){if(n.includes("-")){t.style.setProperty(n,s[n])}else{t.style[n]=s[n]}}}}else{const i=p(s);if((l||i&&s!==null)&&!o){try{if(!t.tagName.includes("-")){const o=s==null?"":s;if(n==="list"){l=false}else if(e==null||t[n]!=o){t[n]=o}}else{t[n]=s}}catch(t){}}if(s==null||s===false){if(s!==false||t.getAttribute(n)===""){{t.removeAttribute(n)}}}else if((!l||c&4||o)&&!i){s=s===true?"":s;{t.setAttribute(n,s)}}}}};const M=/\s/;const x=t=>!t?[]:t.split(M);const P=(t,n,e,s)=>{const o=n.p.nodeType===11&&n.p.host?n.p.host:n.p;const c=t&&t.o||r;const l=n.o||r;{for(s in c){if(!(s in l)){k(o,s,c[s],undefined,e,n.i)}}}for(s in l){k(o,s,c[s],l[s],e,n.i)}};const U=(t,n,s,c)=>{const l=n.l[s];let i=0;let f;let r;{if(!o){o=l.u==="svg"}f=l.p=dt.createElementNS(o?u:a,l.u);if(o&&l.u==="foreignObject"){o=false}{P(null,l,o)}if(d(e)&&f["s-si"]!==e){f.classList.add(f["s-si"]=e)}if(l.l){for(i=0;i<l.l.length;++i){r=U(t,l,i);if(r){f.appendChild(r)}}}{if(l.u==="svg"){o=false}else if(f.tagName==="foreignObject"){o=true}}}return f};const _=(t,n,e,o,c,l)=>{let i=t;let f;if(i.shadowRoot&&i.tagName===s){i=i.shadowRoot}for(;c<=l;++c){if(o[c]){f=U(null,e,c);if(f){o[c].p=f;i.insertBefore(f,n)}}}};const A=(t,n,e,s,o)=>{for(;n<=e;++n){if(s=t[n]){o=s.p;o.remove()}}};const E=(t,n,e,s)=>{let o=0;let c=0;let l=n.length-1;let i=n[0];let f=n[l];let r=s.length-1;let u=s[0];let a=s[r];let d;while(o<=l&&c<=r){if(i==null){i=n[++o]}else if(f==null){f=n[--l]}else if(u==null){u=s[++c]}else if(a==null){a=s[--r]}else if(L(i,u)){N(i,u);i=n[++o];u=s[++c]}else if(L(f,a)){N(f,a);f=n[--l];a=s[--r]}else if(L(i,a)){N(i,a);t.insertBefore(i.p,f.p.nextSibling);i=n[++o];a=s[--r]}else if(L(f,u)){N(f,u);t.insertBefore(f.p,i.p);f=n[--l];u=s[++c]}else{{d=U(n&&n[c],e,c);u=s[++c]}if(d){{i.p.parentNode.insertBefore(d,i.p)}}}}if(o>l){_(t,s[r+1]==null?null:s[r+1].p,e,s,c,r)}else if(c>r){A(n,o,l)}};const L=(t,n)=>{if(t.u===n.u){return true}return false};const N=(t,n)=>{const e=n.p=t.p;const s=t.l;const c=n.l;const l=n.u;{{o=l==="svg"?true:l==="foreignObject"?false:o}{{P(t,n,o)}}if(s!==null&&c!==null){E(e,s,n,c)}else if(c!==null){_(e,null,n,c,0,c.length-1)}else if(s!==null){A(s,0,s.length-1)}if(o&&l==="svg"){o=false}}};const R=(t,n)=>{const o=t.$hostElement$;const c=t.v||m(null,null);const l=$(n)?n:y(null,null,n);s=o.tagName;l.u=null;l.i|=4;t.v=l;l.p=c.p=o.shadowRoot||o;{e=o["s-sc"]}N(c,l)};const T=(t,n)=>{if(n&&!t.S&&n["s-p"]){n["s-p"].push(new Promise((n=>t.S=n)))}};const W=(t,n)=>{{t.i|=16}if(t.i&4){t.i|=512;return}T(t,t.j);const e=()=>H(t,n);return St(e)};const H=(t,n)=>{const e=l("scheduleUpdate",t.m.$);const s=t.O;let o;e();return F(o,(()=>I(t,s,n)))};const I=async(t,n,e)=>{const s=t.$hostElement$;const o=l("update",t.m.$);const c=s["s-rc"];if(e){O(t)}const i=l("render",t.m.$);{q(t,n)}if(c){c.map((t=>t()));s["s-rc"]=undefined}i();o();{const n=s["s-p"];const e=()=>z(t);if(n.length===0){e()}else{Promise.all(n).then(e);t.i|=4;n.length=0}}};const q=(t,n,e)=>{try{n=n.render();{t.i&=~16}{t.i|=2}{{{R(t,n)}}}}catch(n){it(n,t.$hostElement$)}return null};const z=t=>{const n=t.m.$;const e=t.$hostElement$;const s=l("postUpdate",n);const o=t.j;if(!(t.i&64)){t.i|=64;{V(e)}s();{t.C(e);if(!o){B()}}}else{s()}{if(t.S){t.S();t.S=undefined}if(t.i&512){vt((()=>W(t,false)))}t.i&=~(4|512)}};const B=t=>{{V(dt.documentElement)}vt((()=>g(at,"appload",{detail:{namespace:n}})))};const D=(t,n,e)=>{if(t&&t[n]){try{return t[n](e)}catch(t){it(t)}}return undefined};const F=(t,n)=>t&&t.then?t.then(n):n();const V=t=>t.classList.add("hydrated");const G=(t,n)=>st(t).k.get(n);const J=(t,n,e,s)=>{const o=st(t);const c=o.$hostElement$;const l=o.k.get(n);const i=o.i;const f=o.O;e=b(e,s.M[n][0]);const r=Number.isNaN(l)&&Number.isNaN(e);const u=e!==l&&!r;if((!(i&8)||l===undefined)&&u){o.k.set(n,e);if(f){if(s.P&&i&128){const t=s.P[n];if(t){t.map((t=>{try{f[t](e,l,n)}catch(t){it(t,c)}}))}}if((i&(2|16))===2){W(o,false)}}}};const K=(t,n,e)=>{if(n.M){if(t.watchers){n.P=t.watchers}const s=Object.entries(n.M);const o=t.prototype;s.map((([t,[s]])=>{if(s&31||e&2&&s&32){Object.defineProperty(o,t,{get(){return G(this,t)},set(e){J(this,t,e,n)},configurable:true,enumerable:true})}}));if(e&1){const n=new Map;o.attributeChangedCallback=function(t,e,s){pt.jmp((()=>{const e=n.get(t);if(this.hasOwnProperty(e)){s=this[e];delete this[e]}else if(o.hasOwnProperty(e)&&typeof this[e]==="number"&&this[e]==s){return}this[e]=s===null&&typeof this[e]==="boolean"?false:s}))};t.observedAttributes=s.filter((([t,n])=>n[0]&15)).map((([t,e])=>{const s=e[1]||t;n.set(s,t);return s}))}}return t};const Q=async(t,n,e,s,o)=>{if((n.i&32)===0){{n.i|=32;o=rt(e);if(o.then){const t=i();o=await o;t()}if(!o.isProxied){{e.P=o.watchers}K(o,e,2);o.isProxied=true}const t=l("createInstance",e.$);{n.i|=8}try{new o(n)}catch(t){it(t)}{n.i&=~8}{n.i|=128}t();X(n.O)}if(o.style){let t=o.style;const n=C(e);if(!ut.has(n)){const s=l("registerStyles",e.$);S(n,t,!!(e.i&1));s()}}}const c=n.j;const f=()=>W(n,true);if(c&&c["s-rc"]){c["s-rc"].push(f)}else{f()}};const X=t=>{{D(t,"connectedCallback")}};const Y=t=>{if((pt.i&1)===0){const n=st(t);const e=n.m;const s=l("connectedCallback",e.$);if(!(n.i&1)){n.i|=1;{let e=t;while(e=e.parentNode||e.host){if(e["s-p"]){T(n,n.j=e);break}}}if(e.M){Object.entries(e.M).map((([n,[e]])=>{if(e&31&&t.hasOwnProperty(n)){const e=t[n];delete t[n];t[n]=e}}))}{Q(t,n,e)}}else{X(n.O)}s()}};const Z=t=>{if((pt.i&1)===0){st(t)}};const tt=(t,n={})=>{var e;const s=l();const o=[];const c=n.exclude||[];const i=at.customElements;const r=dt.head;const u=r.querySelector("meta[charset]");const a=dt.createElement("style");const d=[];let p;let y=true;Object.assign(pt,n);pt.U=new URL(n.resourcesUrl||"./",dt.baseURI).href;t.map((t=>{t[1].map((n=>{const e={i:n[0],$:n[1],M:n[2],_:n[3]};{e.M=n[2]}{e.P={}}const s=e.$;const l=class extends HTMLElement{constructor(t){super(t);t=this;ct(t,e);if(e.i&1){{{t.attachShadow({mode:"open"})}}}}connectedCallback(){if(p){clearTimeout(p);p=null}if(y){d.push(this)}else{pt.jmp((()=>Y(this)))}}disconnectedCallback(){pt.jmp((()=>Z(this)))}componentOnReady(){return st(this).A}};e.L=t[0];if(!c.includes(s)&&!i.get(s)){o.push(s);i.define(s,K(l,e,1))}}))}));{a.innerHTML=o+f;a.setAttribute("data-styles","");const t=(e=pt.h)!==null&&e!==void 0?e:h(dt);if(t!=null){a.setAttribute("nonce",t)}r.insertBefore(a,u?u.nextSibling:r.firstChild)}y=false;if(d.length){d.map((t=>t.connectedCallback()))}else{{pt.jmp((()=>p=setTimeout(B,30)))}}s()};const nt=t=>pt.h=t;const et=new WeakMap;const st=t=>et.get(t);const ot=(t,n)=>et.set(n.O=t,n);const ct=(t,n)=>{const e={i:0,$hostElement$:t,m:n,k:new Map};{e.A=new Promise((t=>e.C=t));t["s-p"]=[];t["s-rc"]=[]}return et.set(t,e)};const lt=(t,n)=>n in t;const it=(t,n)=>(0,console.error)(t,n);const ft=new Map;const rt=(t,n,e)=>{const s=t.$.replace(/-/g,"_");const o=t.L;const c=ft.get(o);if(c){return c[s]}if(!e||!BUILD.hotModuleReplacement){const t=t=>{ft.set(o,t);return t[s]};switch(o){case"ix-icon":return import("./p-a6af13b0.js").then(t,it)}}return import(`./${o}.entry.js${""}`).then((t=>{{ft.set(o,t)}return t[s]}),it)};const ut=new Map;const at=typeof window!=="undefined"?window:{};const dt=at.document||{head:{}};const pt={i:0,U:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,s)=>t.addEventListener(n,e,s),rel:(t,n,e,s)=>t.removeEventListener(n,e,s),ce:(t,n)=>new CustomEvent(t,n)};const ht=t=>Promise.resolve(t);const yt=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const mt=[];const wt=[];const $t=(t,n)=>e=>{t.push(e);if(!c){c=true;if(n&&pt.i&4){vt(gt)}else{pt.raf(gt)}}};const bt=t=>{for(let n=0;n<t.length;n++){try{t[n](performance.now())}catch(t){it(t)}}t.length=0};const gt=()=>{bt(mt);{bt(wt);if(c=mt.length>0){pt.raf(gt)}}};const vt=t=>ht().then(t);const St=$t(wt,true);const jt=()=>ht();const Ot=(t,n)=>{if(typeof window==="undefined")return Promise.resolve();return jt().then((()=>tt([["ix-icon",[[1,"ix-icon",{size:[1],color:[1],name:[1],svgContent:[32]}]]]],n)))};const Ct=Object.freeze({__proto__:null,applyPolyfills:t,setNonce:nt,defineCustomElements:Ot});export{w as H,y as h,Ct as i,ot as r};
2
+ //# sourceMappingURL=p-738c2d1f.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,H as o,g as r,c as s}from"./p-5806df2b.js";import{g as i}from"./p-345e1c73.js";const a=":host{display:block;position:relative;height:2rem;width:2rem;margin-block-start:0.3125rem;margin-inline-end:0.3125rem;margin-inline-start:auto}:host .hide{visibility:collapse}:host ::slotted(ix-dropdown){cursor:default}";const n=a;const c=class{constructor(t){e(this,t);this.showContextMenu=false}getTrigger(){return this.hostElement}configureDropdown(e,t){e.positioningStrategy="fixed";e.trigger=t}onSlotChange(){const e=this.hostElement.shadowRoot.querySelector("slot");if(!e){return}const t=i(e);this.showContextMenu=t.length!==0;const o=t.find((e=>e.tagName==="IX-DROPDOWN"));const r=this.getTrigger();if(!r){return}if(!o){return}this.configureDropdown(o,r)}render(){return t(o,{key:"8ca41b44ac2bc8963ddcb6ab826132358064d77f"},t("ix-icon-button",{key:"4fbb61b89a762941489e4c279a5a38f84448d362",class:{hide:!this.showContextMenu},size:"24",ghost:true,icon:"context-menu"}),t("slot",{key:"566ef77c6ed9e9d4281dc28cbb1bfb124335a806",onSlotchange:()=>this.onSlotChange()}))}get hostElement(){return r(this)}};c.style=n;const l=":host{display:flex;min-height:2.25rem;height:2.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host>button{display:flex;height:100%;width:100%;align-items:center;justify-content:flex-start;position:relative;outline:none;background-color:var(--theme-group-item--background);border:1px solid transparent;color:var(--theme-color-std-text);cursor:pointer;padding-left:2.5rem}:host>button:focus-visible{border:1px solid var(--theme-color-focus-bdr)}:host ix-icon{margin-right:0.25rem;margin-top:-0.125rem}:host .group-entry-selection-indicator{position:absolute;left:-1px;height:calc(100% + 2px);width:0.25rem}:host .group-entry-text{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .group-entry-text-secondary{display:flex;justify-content:flex-end;flex-grow:1;white-space:nowrap;color:var(--theme-color-soft-text)}:host .group-entry-text-secondary,:host .group-entry-text-secondary span{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.selected){border-top-width:0.062rem !important;background-color:var(--theme-color-ghost--selected)}:host(.selected) .group-entry-selection-indicator{background-color:var(--theme-group-item-indicator--background--selected)}:host(:hover){background-color:var(--theme-color-ghost--selected-hover);border-color:var(--theme-group-item--border-color--hover)}:host(.selected:hover){background-color:var(--theme-color-ghost--selected-hover)}:host(:active){background-color:var(--theme-color-ghost--selected-active);border-color:var(--theme-group-item--border-color--active)}:host(.selected:active){background-color:var(--theme-color-ghost--selected-active)}";const h=l;const d=class{constructor(t){e(this,t);this.selectedChanged=s(this,"selectedChanged",7);this.icon=undefined;this.text=undefined;this.secondaryText=undefined;this.suppressSelection=false;this.selected=false;this.focusable=true;this.index=undefined}clickListen(){this.selectedChanged.emit(this.hostElement)}render(){return t(o,{key:"dcd397f79a186587a57fc449ac788f41fa23d10b",class:{selected:this.selected&&!this.suppressSelection}},t("button",{key:"a0f56d039ab36de73b80f60ccca09ec8bb399bc0",tabindex:this.focusable?0:-1},t("div",{key:"b6b2d08cd9b58287baa2bfa37fa04ae70ee87cac",class:"group-entry-selection-indicator"}),this.icon?t("ix-icon",{size:"16",name:this.icon}):null,this.text?t("span",{class:"group-entry-text"},t("span",{title:this.text},this.text)):null,this.secondaryText?t("span",{class:"group-entry-text-secondary"},t("span",{title:this.secondaryText},this.secondaryText)):null,t("slot",{key:"3bde77249566d9242e510dafcac7c57c4f6b2211"})))}get hostElement(){return r(this)}};d.style=h;export{c as ix_group_context_menu,d as ix_group_item};
2
- //# sourceMappingURL=p-be860121.entry.js.map
1
+ import{r as e,h as t,H as o,g as r,c as s}from"./p-5806df2b.js";import{g as i}from"./p-345e1c73.js";const a=":host{display:block;position:relative;height:2rem;width:2rem;margin-block-start:0.3125rem;margin-inline-end:0.3125rem;margin-inline-start:auto}:host .hide{visibility:collapse}:host ::slotted(ix-dropdown){cursor:default}";const n=a;const c=class{constructor(t){e(this,t);this.showContextMenu=false}getTrigger(){return this.hostElement}configureDropdown(e,t){e.positioningStrategy="fixed";e.trigger=t}onSlotChange(){const e=this.hostElement.shadowRoot.querySelector("slot");if(!e){return}const t=i(e);this.showContextMenu=t.length!==0;const o=t.find((e=>e.tagName==="IX-DROPDOWN"));const r=this.getTrigger();if(!r){return}if(!o){return}this.configureDropdown(o,r)}render(){return t(o,{key:"d45b69098ce3f502ce7dd34ae16d83393d4bde9f"},t("ix-icon-button",{key:"5dfb6b0781db8bc095145e77c20fd72fb8ed85af",class:{hide:!this.showContextMenu},size:"24",ghost:true,icon:"context-menu"}),t("slot",{key:"0c0d0b119f95122c5b976f882ea9036f6598381a",onSlotchange:()=>this.onSlotChange()}))}get hostElement(){return r(this)}};c.style=n;const l=":host{display:flex;min-height:2.25rem;height:2.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host>button{display:flex;height:100%;width:100%;align-items:center;justify-content:flex-start;position:relative;outline:none;background-color:var(--theme-group-item--background);border:1px solid transparent;color:var(--theme-color-std-text);cursor:pointer;padding-left:2.5rem}:host>button:focus-visible{border:1px solid var(--theme-color-focus-bdr)}:host ix-icon{margin-right:0.25rem;margin-top:-0.125rem}:host .group-entry-selection-indicator{position:absolute;left:-1px;height:calc(100% + 2px);width:0.25rem}:host .group-entry-text{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .group-entry-text-secondary{display:flex;justify-content:flex-end;flex-grow:1;white-space:nowrap;color:var(--theme-color-soft-text)}:host .group-entry-text-secondary,:host .group-entry-text-secondary span{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.selected){border-top-width:0.062rem !important;background-color:var(--theme-color-ghost--selected)}:host(.selected) .group-entry-selection-indicator{background-color:var(--theme-group-item-indicator--background--selected)}:host(:hover){background-color:var(--theme-color-ghost--selected-hover);border-color:var(--theme-group-item--border-color--hover)}:host(.selected:hover){background-color:var(--theme-color-ghost--selected-hover)}:host(:active){background-color:var(--theme-color-ghost--selected-active);border-color:var(--theme-group-item--border-color--active)}:host(.selected:active){background-color:var(--theme-color-ghost--selected-active)}";const h=l;const d=class{constructor(t){e(this,t);this.selectedChanged=s(this,"selectedChanged",7);this.icon=undefined;this.text=undefined;this.secondaryText=undefined;this.suppressSelection=false;this.selected=false;this.focusable=true;this.index=undefined}clickListen(){this.selectedChanged.emit(this.hostElement)}render(){return t(o,{key:"bdade798c7b506d739029a27c9b73a90f101bc0e",class:{selected:this.selected&&!this.suppressSelection}},t("button",{key:"aa88b5a436cc197341a9afdf7a5cd0e522fd325a",tabindex:this.focusable?0:-1},t("div",{key:"c5e7c0aeadc32db6a8c6b0deb262620aaaff1fa1",class:"group-entry-selection-indicator"}),this.icon?t("ix-icon",{size:"16",name:this.icon}):null,this.text?t("span",{class:"group-entry-text"},t("span",{title:this.text},this.text)):null,this.secondaryText?t("span",{class:"group-entry-text-secondary"},t("span",{title:this.secondaryText},this.secondaryText)):null,t("slot",{key:"a6fa0189ef24b3ce6c593ee99f2df83263b97053"})))}get hostElement(){return r(this)}};d.style=h;export{c as ix_group_context_menu,d as ix_group_item};
2
+ //# sourceMappingURL=p-790709c5.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["groupContextMenuCss","IxGroupContextMenuStyle0","GroupContextMenu","getTrigger","this","hostElement","configureDropdown","dropdownElement","triggerElement","positioningStrategy","trigger","onSlotChange","slot","shadowRoot","querySelector","elements","getSlottedElements","showContextMenu","length","find","elm","tagName","render","h","Host","key","class","hide","size","ghost","icon","onSlotchange","groupItemCss","IxGroupItemStyle0","GroupItem","clickListen","selectedChanged","emit","selected","suppressSelection","tabindex","focusable","name","text","title","secondaryText"],"sources":["src/components/group/group-context-menu.scss?tag=ix-group-context-menu&encapsulation=shadow","src/components/group/group-context-menu.tsx","src/components/group-item/group-item.scss?tag=ix-group-item&encapsulation=shadow","src/components/group-item/group-item.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n:host {\n display: block;\n position: relative;\n\n height: 2rem;\n width: 2rem;\n\n margin-block-start: 0.3125rem;\n margin-inline-end: 0.3125rem;\n margin-inline-start: auto;\n\n .hide {\n visibility: collapse;\n }\n\n ::slotted(ix-dropdown) {\n cursor: default;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, State } from '@stencil/core';\nimport { getSlottedElements } from '../utils/shadow-dom';\n\n@Component({\n tag: 'ix-group-context-menu',\n styleUrl: './group-context-menu.scss',\n shadow: true,\n})\nexport class GroupContextMenu {\n @Element() hostElement!: HTMLIxGroupContextMenuElement;\n\n @State() showContextMenu = false;\n\n private getTrigger() {\n return this.hostElement;\n }\n\n private configureDropdown(\n dropdownElement: HTMLIxDropdownElement,\n triggerElement: HTMLElement\n ) {\n dropdownElement.positioningStrategy = 'fixed';\n dropdownElement.trigger = triggerElement;\n }\n\n private onSlotChange() {\n const slot = this.hostElement.shadowRoot!.querySelector('slot');\n if (!slot) {\n return;\n }\n const elements = getSlottedElements(slot);\n this.showContextMenu = elements.length !== 0;\n\n const dropdownElement = elements.find(\n (elm: Element) => elm.tagName === 'IX-DROPDOWN'\n );\n\n const triggerElement = this.getTrigger();\n\n if (!triggerElement) {\n return;\n }\n\n if (!dropdownElement) {\n return;\n }\n\n this.configureDropdown(dropdownElement, triggerElement);\n }\n\n render() {\n return (\n <Host>\n <ix-icon-button\n class={{ hide: !this.showContextMenu }}\n size=\"24\"\n ghost={true}\n icon={'context-menu'}\n ></ix-icon-button>\n <slot onSlotchange={() => this.onSlotChange()}></slot>\n </Host>\n );\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'legacy/mixins/fonts';\n@import 'mixins/shadow-dom/hover';\n@import 'mixins/shadow-dom/component';\n@import 'mixins/text-truncation';\n\n$focusBorderWidth: 1px;\n\n:host {\n @include ix-component;\n display: flex;\n min-height: 2.25rem;\n height: 2.25rem;\n\n > button {\n display: flex;\n height: 100%;\n width: 100%;\n align-items: center;\n justify-content: flex-start;\n position: relative;\n outline: none;\n background-color: var(--theme-group-item--background);\n border: 1px solid transparent;\n color: var(--theme-color-std-text);\n cursor: pointer;\n\n padding-left: 2.5rem;\n\n &:focus-visible {\n border: $focusBorderWidth solid var(--theme-color-focus-bdr);\n }\n }\n\n ix-icon {\n margin-right: $tiny-space;\n margin-top: -0.125rem;\n }\n\n .group-entry-selection-indicator {\n position: absolute;\n left: -#{$focusBorderWidth};\n height: calc(100% + #{$focusBorderWidth * 2});\n width: $tiny-space;\n }\n\n .group-entry-text {\n @include text-default;\n @include ellipsis();\n }\n\n .group-entry-text-secondary {\n &,\n span {\n @include text-default;\n @include ellipsis;\n }\n\n display: flex;\n justify-content: flex-end;\n flex-grow: 1;\n white-space: nowrap;\n color: var(--theme-color-soft-text);\n }\n}\n\n:host(.selected) {\n border-top-width: 0.062rem !important;\n background-color: var(--theme-color-ghost--selected);\n\n .group-entry-selection-indicator {\n background-color: var(--theme-group-item-indicator--background--selected);\n }\n}\n\n:host(:hover) {\n background-color: var(--theme-color-ghost--selected-hover);\n border-color: var(--theme-group-item--border-color--hover);\n}\n\n:host(.selected:hover) {\n background-color: var(--theme-color-ghost--selected-hover);\n}\n\n:host(:active) {\n background-color: var(--theme-color-ghost--selected-active);\n border-color: var(--theme-group-item--border-color--active);\n}\n\n:host(.selected:active) {\n background-color: var(--theme-color-ghost--selected-active);\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-group-item',\n styleUrl: 'group-item.scss',\n shadow: true,\n})\nexport class GroupItem {\n @Element() hostElement!: HTMLIxGroupItemElement;\n\n /**\n * Group item icon\n */\n @Prop() icon?: string;\n\n /**\n * Group item text\n */\n @Prop() text?: string;\n\n /**\n * Group item secondary text\n */\n @Prop() secondaryText?: string;\n\n /**\n * Supress the selection of the group\n */\n @Prop() suppressSelection = false;\n\n /**\n * Show selected state\n */\n @Prop() selected: boolean = false;\n\n /**\n * The elements tabindex attribute will get set accordingly.\n * If true tabindex will be 0, -1 otherwise.\n */\n @Prop() focusable = true;\n\n /**\n * Selection changed\n */\n @Event() selectedChanged!: EventEmitter<HTMLIxGroupItemElement>;\n\n /**\n * Index\n */\n @Prop() index?: number;\n\n @Listen('click', { passive: true })\n clickListen() {\n this.selectedChanged.emit(this.hostElement);\n }\n\n render() {\n return (\n <Host\n class={{\n selected: this.selected && !this.suppressSelection,\n }}\n >\n <button tabindex={this.focusable ? 0 : -1}>\n <div class=\"group-entry-selection-indicator\"></div>\n {this.icon ? <ix-icon size=\"16\" name={this.icon}></ix-icon> : null}\n {this.text ? (\n <span class=\"group-entry-text\">\n <span title={this.text}>{this.text}</span>\n </span>\n ) : null}\n {this.secondaryText ? (\n <span class=\"group-entry-text-secondary\">\n <span title={this.secondaryText}>{this.secondaryText}</span>\n </span>\n ) : null}\n <slot></slot>\n </button>\n </Host>\n );\n }\n}\n"],"mappings":"oGAAA,MAAMA,EAAsB,8NAC5B,MAAAC,EAAeD,E,MCgBFE,EAAgB,M,8CAGA,K,CAEnB,UAAAC,GACN,OAAOC,KAAKC,W,CAGN,iBAAAC,CACNC,EACAC,GAEAD,EAAgBE,oBAAsB,QACtCF,EAAgBG,QAAUF,C,CAGpB,YAAAG,GACN,MAAMC,EAAOR,KAAKC,YAAYQ,WAAYC,cAAc,QACxD,IAAKF,EAAM,CACT,M,CAEF,MAAMG,EAAWC,EAAmBJ,GACpCR,KAAKa,gBAAkBF,EAASG,SAAW,EAE3C,MAAMX,EAAkBQ,EAASI,MAC9BC,GAAiBA,EAAIC,UAAY,gBAGpC,MAAMb,EAAiBJ,KAAKD,aAE5B,IAAKK,EAAgB,CACnB,M,CAGF,IAAKD,EAAiB,CACpB,M,CAGFH,KAAKE,kBAAkBC,EAAiBC,E,CAG1C,MAAAc,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,kBAAAE,IAAA,2CACEC,MAAO,CAAEC,MAAOvB,KAAKa,iBACrBW,KAAK,KACLC,MAAO,KACPC,KAAM,iBAERP,EAAA,QAAAE,IAAA,2CAAMM,aAAc,IAAM3B,KAAKO,iB,8CCpEvC,MAAMqB,EAAe,kqFACrB,MAAAC,EAAeD,E,MCwBFE,EAAS,M,sKAqBQ,M,cAKA,M,eAMR,K,qBAapB,WAAAC,GACE/B,KAAKgC,gBAAgBC,KAAKjC,KAAKC,Y,CAGjC,MAAAiB,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,MAAO,CACLY,SAAUlC,KAAKkC,WAAalC,KAAKmC,oBAGnChB,EAAA,UAAAE,IAAA,2CAAQe,SAAUpC,KAAKqC,UAAY,GAAK,GACtClB,EAAA,OAAAE,IAAA,2CAAKC,MAAM,oCACVtB,KAAK0B,KAAOP,EAAA,WAASK,KAAK,KAAKc,KAAMtC,KAAK0B,OAAmB,KAC7D1B,KAAKuC,KACJpB,EAAA,QAAMG,MAAM,oBACVH,EAAA,QAAMqB,MAAOxC,KAAKuC,MAAOvC,KAAKuC,OAE9B,KACHvC,KAAKyC,cACJtB,EAAA,QAAMG,MAAM,8BACVH,EAAA,QAAMqB,MAAOxC,KAAKyC,eAAgBzC,KAAKyC,gBAEvC,KACJtB,EAAA,QAAAE,IAAA,8C"}
@@ -1,2 +1,2 @@
1
- import{r as o,h as e,H as t,g as r}from"./p-5806df2b.js";import{B as n}from"./p-35e14912.js";const d=":host{display:inline-block;height:2rem;vertical-align:middle;cursor:pointer;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host button{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;overflow:hidden;align-items:center;justify-content:center;width:100%;height:100%;padding:0 0.5rem}:host ix-spinner{margin-right:0.25rem}:host ix-icon{margin-right:0.25rem}:host .content{display:inline-block;position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host .content-start{width:100%}:host .icon{pointer-events:none}:host(.disabled){cursor:default}:host .btn-danger{border-radius:var(--theme-btn--border-radius)}:host .btn-danger,:host .btn-danger.focus,:host .btn-danger:focus-visible{background-color:var(--theme-btn-danger--background);color:var(--theme-btn-danger--color);--ix-button-color:var(--theme-btn-danger--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-danger--border-color);border-style:solid}:host .btn-danger:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-danger.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger.selected:not(.disabled):not(:disabled):active,:host .btn-danger.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger:not(.disabled):not(:disabled):hover{border-color:var(--theme-btn-danger--border-color--hover);background-color:var(--theme-btn-danger--background--hover);color:var(--theme-btn-danger--color--hover)}:host .btn-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger:not(.disabled):not(:disabled):active,:host .btn-danger:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-danger--border-color--active);background-color:var(--theme-btn-danger--background--active);color:var(--theme-btn-danger--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-danger.disabled,:host(.disabled) .btn-danger:disabled{pointer-events:none;border-color:var(--theme-btn-danger--border-color--disabled);background-color:var(--theme-btn-danger--background--disabled);color:var(--theme-btn-danger--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-danger--color--disabled)}:host .btn-outline-danger{border-radius:var(--theme-btn--border-radius)}:host .btn-outline-danger,:host .btn-outline-danger.focus,:host .btn-outline-danger:focus-visible{background-color:var(--theme-btn-outline-danger--background);color:var(--theme-btn-outline-danger--color);--ix-button-color:var(--theme-btn-outline-danger--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-danger--border-color);border-style:solid}:host .btn-outline-danger:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-outline-danger.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-outline-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-danger.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-outline-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-danger.selected:not(.disabled):not(:disabled):active,:host .btn-outline-danger.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-outline-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-danger:not(.disabled):not(:disabled):hover{border-color:var(--theme-btn-outline-danger--border-color--hover);background-color:var(--theme-btn-outline-danger--background--hover);color:var(--theme-btn-outline-danger--color--hover)}:host .btn-outline-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-danger:not(.disabled):not(:disabled):active,:host .btn-outline-danger:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-outline-danger--border-color--active);background-color:var(--theme-btn-outline-danger--background--active);color:var(--theme-btn-outline-danger--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-outline-danger.disabled,:host(.disabled) .btn-outline-danger:disabled{pointer-events:none;border-color:var(--theme-btn-outline-danger--border-color--disabled);background-color:var(--theme-btn-outline-danger--background--disabled);color:var(--theme-btn-outline-danger--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-danger--color--disabled)}:host .btn-invisible-danger{border-radius:var(--theme-btn--border-radius)}:host .btn-invisible-danger,:host .btn-invisible-danger.focus,:host .btn-invisible-danger:focus-visible{background-color:var(--theme-btn-invisible-danger--background);color:var(--theme-btn-invisible-danger--color);--ix-button-color:var(--theme-btn-invisible-danger--color);border-color:transparent}:host .btn-invisible-danger:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-invisible-danger.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-invisible-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-danger.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-invisible-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-danger.selected:not(.disabled):not(:disabled):active,:host .btn-invisible-danger.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-invisible-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-danger:not(.disabled):not(:disabled):hover{background-color:var(--theme-btn-invisible-danger--background--hover);color:var(--theme-btn-invisible-danger--color--hover)}:host .btn-invisible-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-danger:not(.disabled):not(:disabled):active,:host .btn-invisible-danger:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-invisible-danger--background--active);color:var(--theme-btn-invisible-danger--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-invisible-danger.disabled,:host(.disabled) .btn-invisible-danger:disabled{pointer-events:none;background-color:var(--theme-btn-invisible-danger--background--disabled);color:var(--theme-btn-invisible-danger--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-danger--color--disabled)}:host .btn-primary{border-radius:var(--theme-btn--border-radius)}:host .btn-primary,:host .btn-primary.focus,:host .btn-primary:focus-visible{background-color:var(--theme-btn-primary--background);color:var(--theme-btn-primary--color);--ix-button-color:var(--theme-btn-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-primary--border-color);border-style:solid}:host .btn-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary.selected:not(.disabled):not(:disabled):active,:host .btn-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary:not(.disabled):not(:disabled):hover{border-color:var(--theme-btn-primary--border-color--hover);background-color:var(--theme-btn-primary--background--hover);color:var(--theme-btn-primary--color--hover)}:host .btn-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary:not(.disabled):not(:disabled):active,:host .btn-primary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-primary--border-color--active);background-color:var(--theme-btn-primary--background--active);color:var(--theme-btn-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-primary.disabled,:host(.disabled) .btn-primary:disabled{pointer-events:none;border-color:var(--theme-btn-primary--border-color--disabled);background-color:var(--theme-btn-primary--background--disabled);color:var(--theme-btn-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-primary--color--disabled)}:host .btn-outline-primary{border-radius:var(--theme-btn--border-radius)}:host .btn-outline-primary,:host .btn-outline-primary.focus,:host .btn-outline-primary:focus-visible{background-color:var(--theme-btn-outline-primary--background);color:var(--theme-btn-outline-primary--color);--ix-button-color:var(--theme-btn-outline-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-primary--border-color);border-style:solid}:host .btn-outline-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-outline-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-outline-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-primary.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-outline-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-primary.selected:not(.disabled):not(:disabled):active,:host .btn-outline-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-outline-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-primary:not(.disabled):not(:disabled):hover{border-color:var(--theme-btn-outline-primary--border-color--hover);background-color:var(--theme-btn-outline-primary--background--hover);color:var(--theme-btn-outline-primary--color--hover)}:host .btn-outline-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-primary:not(.disabled):not(:disabled):active,:host .btn-outline-primary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-outline-primary--border-color--active);background-color:var(--theme-btn-outline-primary--background--active);color:var(--theme-btn-outline-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-outline-primary.disabled,:host(.disabled) .btn-outline-primary:disabled{pointer-events:none;border-color:var(--theme-btn-outline-primary--border-color--disabled);background-color:var(--theme-btn-outline-primary--background--disabled);color:var(--theme-btn-outline-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-primary--color--disabled)}:host .btn-invisible-primary{border-radius:var(--theme-btn--border-radius)}:host .btn-invisible-primary,:host .btn-invisible-primary.focus,:host .btn-invisible-primary:focus-visible{background-color:var(--theme-btn-invisible-primary--background);color:var(--theme-btn-invisible-primary--color);--ix-button-color:var(--theme-btn-invisible-primary--color);border-color:transparent}:host .btn-invisible-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-invisible-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-invisible-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-primary.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-invisible-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-primary.selected:not(.disabled):not(:disabled):active,:host .btn-invisible-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-invisible-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-primary:not(.disabled):not(:disabled):hover{background-color:var(--theme-btn-invisible-primary--background--hover);color:var(--theme-btn-invisible-primary--color--hover)}:host .btn-invisible-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-primary:not(.disabled):not(:disabled):active,:host .btn-invisible-primary:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-invisible-primary--background--active);color:var(--theme-btn-invisible-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-invisible-primary.disabled,:host(.disabled) .btn-invisible-primary:disabled{pointer-events:none;background-color:var(--theme-btn-invisible-primary--background--disabled);color:var(--theme-btn-invisible-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-primary--color--disabled)}:host .btn-secondary{border-radius:var(--theme-btn--border-radius)}:host .btn-secondary,:host .btn-secondary.focus,:host .btn-secondary:focus-visible{background-color:var(--theme-btn-secondary--background);color:var(--theme-btn-secondary--color);--ix-button-color:var(--theme-btn-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-secondary--border-color);border-style:solid}:host .btn-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary:not(.disabled):not(:disabled):hover{border-color:var(--theme-btn-secondary--border-color--hover);background-color:var(--theme-btn-secondary--background--hover);color:var(--theme-btn-secondary--color--hover)}:host .btn-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary:not(.disabled):not(:disabled):active,:host .btn-secondary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-secondary--border-color--active);background-color:var(--theme-btn-secondary--background--active);color:var(--theme-btn-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-secondary.disabled,:host(.disabled) .btn-secondary:disabled{pointer-events:none;border-color:var(--theme-btn-secondary--border-color--disabled);background-color:var(--theme-btn-secondary--background--disabled);color:var(--theme-btn-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-secondary--color--disabled)}:host .btn-outline-secondary{border-radius:var(--theme-btn--border-radius)}:host .btn-outline-secondary,:host .btn-outline-secondary.focus,:host .btn-outline-secondary:focus-visible{background-color:var(--theme-btn-outline-secondary--background);color:var(--theme-btn-outline-secondary--color);--ix-button-color:var(--theme-btn-outline-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-secondary--border-color);border-style:solid}:host .btn-outline-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-outline-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-outline-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-secondary.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-outline-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-outline-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-outline-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-secondary:not(.disabled):not(:disabled):hover{border-color:var(--theme-btn-outline-secondary--border-color--hover);background-color:var(--theme-btn-outline-secondary--background--hover);color:var(--theme-btn-outline-secondary--color--hover)}:host .btn-outline-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-secondary:not(.disabled):not(:disabled):active,:host .btn-outline-secondary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-outline-secondary--border-color--active);background-color:var(--theme-btn-outline-secondary--background--active);color:var(--theme-btn-outline-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-outline-secondary.disabled,:host(.disabled) .btn-outline-secondary:disabled{pointer-events:none;border-color:var(--theme-btn-outline-secondary--border-color--disabled);background-color:var(--theme-btn-outline-secondary--background--disabled);color:var(--theme-btn-outline-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-secondary--color--disabled)}:host .btn-invisible-secondary{border-radius:var(--theme-btn--border-radius)}:host .btn-invisible-secondary,:host .btn-invisible-secondary.focus,:host .btn-invisible-secondary:focus-visible{background-color:var(--theme-btn-invisible-secondary--background);color:var(--theme-btn-invisible-secondary--color);--ix-button-color:var(--theme-btn-invisible-secondary--color);border-color:transparent}:host .btn-invisible-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-invisible-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-invisible-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-secondary:not(.disabled):not(:disabled):hover{background-color:var(--theme-btn-invisible-secondary--background--hover);color:var(--theme-btn-invisible-secondary--color--hover)}:host .btn-invisible-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-secondary:not(.disabled):not(:disabled):active,:host .btn-invisible-secondary:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-invisible-secondary--background--active);color:var(--theme-btn-invisible-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-invisible-secondary.disabled,:host(.disabled) .btn-invisible-secondary:disabled{pointer-events:none;background-color:var(--theme-btn-invisible-secondary--background--disabled);color:var(--theme-btn-invisible-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-secondary--color--disabled)}:host{min-width:5rem}";const i=d;const a=class{constructor(e){o(this,e);this.variant="primary";this.outline=false;this.ghost=false;this.disabled=false;this.type="button";this.loading=false;this.icon=undefined;this.alignment="center";this.iconSize="24"}handleClick(o){if(this.disabled||this.loading){o.stopPropagation();o.preventDefault()}}componentDidLoad(){if(this.type==="submit"){const o=document.createElement("button");o.style.display="none";o.type="submit";o.tabIndex=-1;this.hostElement.appendChild(o);this.submitButtonElement=o}}dispatchFormEvents(){if(this.type==="submit"&&this.submitButtonElement&&!this.disabled&&!this.loading){this.submitButtonElement.click()}}render(){const o={variant:this.variant,outline:this.outline,ghost:this.ghost,iconOnly:false,iconOval:false,selected:false,disabled:this.disabled||this.loading,icon:this.icon,iconSize:this.iconSize,loading:this.loading,onClick:()=>this.dispatchFormEvents(),type:this.type,alignment:this.alignment};return e(t,{key:"abc4e56d344d0e643d75881be8af126d1741c71d",class:{disabled:this.disabled||this.loading}},e(n,Object.assign({key:"b99f950df525f45a94fd44a59591124c803d5254"},o),e("slot",{key:"0aba994d33f94c9c235ec25da2bea0be1a2b798c"})))}get hostElement(){return r(this)}};a.style=i;export{a as ix_button};
2
- //# sourceMappingURL=p-68bb2a09.entry.js.map
1
+ import{r as o,h as e,H as t,g as r}from"./p-5806df2b.js";import{B as n}from"./p-35e14912.js";const d=":host{display:inline-block;height:2rem;vertical-align:middle;cursor:pointer;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host button{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;overflow:hidden;align-items:center;justify-content:center;width:100%;height:100%;padding:0 0.5rem}:host ix-spinner{margin-right:0.25rem}:host ix-icon{margin-right:0.25rem}:host .content{display:inline-block;position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host .content-start{width:100%}:host .icon{pointer-events:none}:host(.disabled){cursor:default}:host .btn-danger{border-radius:var(--theme-btn--border-radius)}:host .btn-danger,:host .btn-danger.focus,:host .btn-danger:focus-visible{background-color:var(--theme-btn-danger--background);color:var(--theme-btn-danger--color);--ix-button-color:var(--theme-btn-danger--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-danger--border-color);border-style:solid}:host .btn-danger:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-danger.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger.selected:not(.disabled):not(:disabled):active,:host .btn-danger.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger:not(.disabled):not(:disabled):hover{border-color:var(--theme-btn-danger--border-color--hover);background-color:var(--theme-btn-danger--background--hover);color:var(--theme-btn-danger--color--hover)}:host .btn-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger:not(.disabled):not(:disabled):active,:host .btn-danger:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-danger--border-color--active);background-color:var(--theme-btn-danger--background--active);color:var(--theme-btn-danger--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-danger.disabled,:host(.disabled) .btn-danger:disabled{pointer-events:none;border-color:var(--theme-btn-danger--border-color--disabled);background-color:var(--theme-btn-danger--background--disabled);color:var(--theme-btn-danger--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-danger--color--disabled)}:host .btn-outline-danger{border-radius:var(--theme-btn--border-radius)}:host .btn-outline-danger,:host .btn-outline-danger.focus,:host .btn-outline-danger:focus-visible{background-color:var(--theme-btn-outline-danger--background);color:var(--theme-btn-outline-danger--color);--ix-button-color:var(--theme-btn-outline-danger--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-danger--border-color);border-style:solid}:host .btn-outline-danger:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-outline-danger.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-outline-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-danger.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-outline-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-danger.selected:not(.disabled):not(:disabled):active,:host .btn-outline-danger.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-outline-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-danger:not(.disabled):not(:disabled):hover{border-color:var(--theme-btn-outline-danger--border-color--hover);background-color:var(--theme-btn-outline-danger--background--hover);color:var(--theme-btn-outline-danger--color--hover)}:host .btn-outline-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-danger:not(.disabled):not(:disabled):active,:host .btn-outline-danger:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-outline-danger--border-color--active);background-color:var(--theme-btn-outline-danger--background--active);color:var(--theme-btn-outline-danger--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-outline-danger.disabled,:host(.disabled) .btn-outline-danger:disabled{pointer-events:none;border-color:var(--theme-btn-outline-danger--border-color--disabled);background-color:var(--theme-btn-outline-danger--background--disabled);color:var(--theme-btn-outline-danger--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-danger--color--disabled)}:host .btn-invisible-danger{border-radius:var(--theme-btn--border-radius)}:host .btn-invisible-danger,:host .btn-invisible-danger.focus,:host .btn-invisible-danger:focus-visible{background-color:var(--theme-btn-invisible-danger--background);color:var(--theme-btn-invisible-danger--color);--ix-button-color:var(--theme-btn-invisible-danger--color);border-color:transparent}:host .btn-invisible-danger:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-invisible-danger.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-invisible-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-danger.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-invisible-danger.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-danger.selected:not(.disabled):not(:disabled):active,:host .btn-invisible-danger.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-invisible-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-danger:not(.disabled):not(:disabled):hover{background-color:var(--theme-btn-invisible-danger--background--hover);color:var(--theme-btn-invisible-danger--color--hover)}:host .btn-invisible-danger:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-danger:not(.disabled):not(:disabled):active,:host .btn-invisible-danger:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-invisible-danger--background--active);color:var(--theme-btn-invisible-danger--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-invisible-danger.disabled,:host(.disabled) .btn-invisible-danger:disabled{pointer-events:none;background-color:var(--theme-btn-invisible-danger--background--disabled);color:var(--theme-btn-invisible-danger--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-danger--color--disabled)}:host .btn-primary{border-radius:var(--theme-btn--border-radius)}:host .btn-primary,:host .btn-primary.focus,:host .btn-primary:focus-visible{background-color:var(--theme-btn-primary--background);color:var(--theme-btn-primary--color);--ix-button-color:var(--theme-btn-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-primary--border-color);border-style:solid}:host .btn-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary.selected:not(.disabled):not(:disabled):active,:host .btn-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary:not(.disabled):not(:disabled):hover{border-color:var(--theme-btn-primary--border-color--hover);background-color:var(--theme-btn-primary--background--hover);color:var(--theme-btn-primary--color--hover)}:host .btn-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary:not(.disabled):not(:disabled):active,:host .btn-primary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-primary--border-color--active);background-color:var(--theme-btn-primary--background--active);color:var(--theme-btn-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-primary.disabled,:host(.disabled) .btn-primary:disabled{pointer-events:none;border-color:var(--theme-btn-primary--border-color--disabled);background-color:var(--theme-btn-primary--background--disabled);color:var(--theme-btn-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-primary--color--disabled)}:host .btn-outline-primary{border-radius:var(--theme-btn--border-radius)}:host .btn-outline-primary,:host .btn-outline-primary.focus,:host .btn-outline-primary:focus-visible{background-color:var(--theme-btn-outline-primary--background);color:var(--theme-btn-outline-primary--color);--ix-button-color:var(--theme-btn-outline-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-primary--border-color);border-style:solid}:host .btn-outline-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-outline-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-outline-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-primary.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-outline-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-primary.selected:not(.disabled):not(:disabled):active,:host .btn-outline-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-outline-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-primary:not(.disabled):not(:disabled):hover{border-color:var(--theme-btn-outline-primary--border-color--hover);background-color:var(--theme-btn-outline-primary--background--hover);color:var(--theme-btn-outline-primary--color--hover)}:host .btn-outline-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-primary:not(.disabled):not(:disabled):active,:host .btn-outline-primary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-outline-primary--border-color--active);background-color:var(--theme-btn-outline-primary--background--active);color:var(--theme-btn-outline-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-outline-primary.disabled,:host(.disabled) .btn-outline-primary:disabled{pointer-events:none;border-color:var(--theme-btn-outline-primary--border-color--disabled);background-color:var(--theme-btn-outline-primary--background--disabled);color:var(--theme-btn-outline-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-primary--color--disabled)}:host .btn-invisible-primary{border-radius:var(--theme-btn--border-radius)}:host .btn-invisible-primary,:host .btn-invisible-primary.focus,:host .btn-invisible-primary:focus-visible{background-color:var(--theme-btn-invisible-primary--background);color:var(--theme-btn-invisible-primary--color);--ix-button-color:var(--theme-btn-invisible-primary--color);border-color:transparent}:host .btn-invisible-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-invisible-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-invisible-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-primary.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-invisible-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-primary.selected:not(.disabled):not(:disabled):active,:host .btn-invisible-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-invisible-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-primary:not(.disabled):not(:disabled):hover{background-color:var(--theme-btn-invisible-primary--background--hover);color:var(--theme-btn-invisible-primary--color--hover)}:host .btn-invisible-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-primary:not(.disabled):not(:disabled):active,:host .btn-invisible-primary:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-invisible-primary--background--active);color:var(--theme-btn-invisible-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-invisible-primary.disabled,:host(.disabled) .btn-invisible-primary:disabled{pointer-events:none;background-color:var(--theme-btn-invisible-primary--background--disabled);color:var(--theme-btn-invisible-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-primary--color--disabled)}:host .btn-secondary{border-radius:var(--theme-btn--border-radius)}:host .btn-secondary,:host .btn-secondary.focus,:host .btn-secondary:focus-visible{background-color:var(--theme-btn-secondary--background);color:var(--theme-btn-secondary--color);--ix-button-color:var(--theme-btn-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-secondary--border-color);border-style:solid}:host .btn-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary:not(.disabled):not(:disabled):hover{border-color:var(--theme-btn-secondary--border-color--hover);background-color:var(--theme-btn-secondary--background--hover);color:var(--theme-btn-secondary--color--hover)}:host .btn-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary:not(.disabled):not(:disabled):active,:host .btn-secondary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-secondary--border-color--active);background-color:var(--theme-btn-secondary--background--active);color:var(--theme-btn-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-secondary.disabled,:host(.disabled) .btn-secondary:disabled{pointer-events:none;border-color:var(--theme-btn-secondary--border-color--disabled);background-color:var(--theme-btn-secondary--background--disabled);color:var(--theme-btn-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-secondary--color--disabled)}:host .btn-outline-secondary{border-radius:var(--theme-btn--border-radius)}:host .btn-outline-secondary,:host .btn-outline-secondary.focus,:host .btn-outline-secondary:focus-visible{background-color:var(--theme-btn-outline-secondary--background);color:var(--theme-btn-outline-secondary--color);--ix-button-color:var(--theme-btn-outline-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-secondary--border-color);border-style:solid}:host .btn-outline-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-outline-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-outline-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-secondary.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-outline-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-outline-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-outline-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-secondary:not(.disabled):not(:disabled):hover{border-color:var(--theme-btn-outline-secondary--border-color--hover);background-color:var(--theme-btn-outline-secondary--background--hover);color:var(--theme-btn-outline-secondary--color--hover)}:host .btn-outline-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-outline-secondary:not(.disabled):not(:disabled):active,:host .btn-outline-secondary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-outline-secondary--border-color--active);background-color:var(--theme-btn-outline-secondary--background--active);color:var(--theme-btn-outline-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-outline-secondary.disabled,:host(.disabled) .btn-outline-secondary:disabled{pointer-events:none;border-color:var(--theme-btn-outline-secondary--border-color--disabled);background-color:var(--theme-btn-outline-secondary--background--disabled);color:var(--theme-btn-outline-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-secondary--color--disabled)}:host .btn-invisible-secondary{border-radius:var(--theme-btn--border-radius)}:host .btn-invisible-secondary,:host .btn-invisible-secondary.focus,:host .btn-invisible-secondary:focus-visible{background-color:var(--theme-btn-invisible-secondary--background);color:var(--theme-btn-invisible-secondary--color);--ix-button-color:var(--theme-btn-invisible-secondary--color);border-color:transparent}:host .btn-invisible-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-invisible-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled):hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-invisible-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}:host .btn-invisible-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-secondary:not(.disabled):not(:disabled):hover{background-color:var(--theme-btn-invisible-secondary--background--hover);color:var(--theme-btn-invisible-secondary--color--hover)}:host .btn-invisible-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-invisible-secondary:not(.disabled):not(:disabled):active,:host .btn-invisible-secondary:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-invisible-secondary--background--active);color:var(--theme-btn-invisible-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-invisible-secondary.disabled,:host(.disabled) .btn-invisible-secondary:disabled{pointer-events:none;background-color:var(--theme-btn-invisible-secondary--background--disabled);color:var(--theme-btn-invisible-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-secondary--color--disabled)}:host{min-width:5rem}";const i=d;const a=class{constructor(e){o(this,e);this.variant="primary";this.outline=false;this.ghost=false;this.disabled=false;this.type="button";this.loading=false;this.icon=undefined;this.alignment="center";this.iconSize="24"}handleClick(o){if(this.disabled||this.loading){o.stopPropagation();o.preventDefault()}}componentDidLoad(){if(this.type==="submit"){const o=document.createElement("button");o.style.display="none";o.type="submit";o.tabIndex=-1;this.hostElement.appendChild(o);this.submitButtonElement=o}}dispatchFormEvents(){if(this.type==="submit"&&this.submitButtonElement&&!this.disabled&&!this.loading){this.submitButtonElement.click()}}setFocus(){var o;(o=this.hostElement.shadowRoot.querySelector("button"))===null||o===void 0?void 0:o.focus()}render(){const o={variant:this.variant,outline:this.outline,ghost:this.ghost,iconOnly:false,iconOval:false,selected:false,disabled:this.disabled||this.loading,icon:this.icon,iconSize:this.iconSize,loading:this.loading,onClick:()=>this.dispatchFormEvents(),type:this.type,alignment:this.alignment,tabIndex:this.hostElement.tabIndex};return e(t,{key:"dce7bc83febc68f17b995b03bae8313bc984ded9",tabindex:this.disabled?-1:0,class:{disabled:this.disabled||this.loading},onFocus:()=>this.setFocus()},e(n,Object.assign({key:"d7a6db5c7cb1952abcbb2c5192eb22914ba0fe09"},o),e("slot",{key:"5fe5afdd6081641872b63d9a9a9a5909e72d6f0b"})))}get hostElement(){return r(this)}};a.style=i;export{a as ix_button};
2
+ //# sourceMappingURL=p-7b65535a.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["buttonCss","IxButtonStyle0","Button","handleClick","event","this","disabled","loading","stopPropagation","preventDefault","componentDidLoad","type","submitButton","document","createElement","style","display","tabIndex","hostElement","appendChild","submitButtonElement","dispatchFormEvents","click","setFocus","_a","shadowRoot","querySelector","focus","render","baseButtonProps","variant","outline","ghost","iconOnly","iconOval","selected","icon","iconSize","onClick","alignment","h","Host","key","tabindex","class","onFocus","BaseButton","Object","assign"],"sources":["src/components/button/button.scss?tag=ix-button&encapsulation=shadow","src/components/button/button.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import './button-mixin';\n\n@include btn;\n$button-categories: (danger, primary, secondary);\n@each $category in $button-categories {\n @include btn-variant($category);\n @include btn-variant('outline-#{$category}');\n @include btn-variant('invisible-#{$category}', false);\n}\n\n:host {\n min-width: 5rem;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Listen, Prop } from '@stencil/core';\nimport { BaseButton, BaseButtonProps } from './base-button';\nimport { IxButtonComponent } from './button-component';\n\nexport type ButtonVariant = 'danger' | 'primary' | 'secondary';\n\n@Component({\n tag: 'ix-button',\n shadow: true,\n styleUrl: './button.scss',\n})\nexport class Button implements IxButtonComponent {\n /**\n * Button variant\n * @since 2.3.0 - variant danger\n */\n @Prop() variant: ButtonVariant = 'primary';\n\n /**\n * Outline button\n */\n @Prop() outline = false;\n\n /**\n * Button with no background or outline\n */\n @Prop() ghost = false;\n\n /**\n * Disable the button\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * Type of the button\n */\n @Prop() type: 'button' | 'submit' = 'button';\n\n /**\n * Loading button\n *\n * @since 2.0.0\n */\n @Prop() loading: boolean = false;\n\n /**\n * Icon name\n */\n @Prop() icon?: string;\n\n /** @internal */\n @Prop() alignment: 'center' | 'start' = 'center';\n\n /** @internal */\n @Prop() iconSize: '12' | '16' | '24' = '24';\n\n @Element() hostElement!: HTMLIxButtonElement;\n\n /**\n * Temp. workaround until stencil issue is fixed (https://github.com/ionic-team/stencil/issues/2284)\n */\n submitButtonElement?: HTMLButtonElement;\n\n @Listen('click', { capture: true })\n handleClick(event: Event) {\n if (this.disabled || this.loading) {\n event.stopPropagation();\n event.preventDefault();\n }\n }\n\n componentDidLoad() {\n if (this.type === 'submit') {\n const submitButton = document.createElement('button');\n submitButton.style.display = 'none';\n submitButton.type = 'submit';\n submitButton.tabIndex = -1;\n this.hostElement.appendChild(submitButton);\n\n this.submitButtonElement = submitButton;\n }\n }\n\n dispatchFormEvents() {\n if (\n this.type === 'submit' &&\n this.submitButtonElement &&\n !this.disabled &&\n !this.loading\n ) {\n this.submitButtonElement.click();\n }\n }\n\n setFocus() {\n this.hostElement.shadowRoot!.querySelector('button')?.focus();\n }\n\n render() {\n const baseButtonProps: BaseButtonProps = {\n variant: this.variant,\n outline: this.outline,\n ghost: this.ghost,\n iconOnly: false,\n iconOval: false,\n selected: false,\n disabled: this.disabled || this.loading,\n icon: this.icon,\n iconSize: this.iconSize,\n loading: this.loading,\n onClick: () => this.dispatchFormEvents(),\n type: this.type,\n alignment: this.alignment,\n tabIndex: this.hostElement.tabIndex,\n };\n\n return (\n <Host\n tabindex={this.disabled ? -1 : 0}\n class={{\n disabled: this.disabled || this.loading,\n }}\n onFocus={() => this.setFocus()}\n >\n <BaseButton {...baseButtonProps}>\n <slot></slot>\n </BaseButton>\n </Host>\n );\n }\n}\n"],"mappings":"6FAAA,MAAMA,EAAY,oyrBAClB,MAAAC,EAAeD,E,MCmBFE,EAAM,M,sCAKgB,U,aAKf,M,WAKF,M,cAKoB,M,UAKA,S,aAOT,M,mCAQa,S,cAGD,I,CAUvC,WAAAC,CAAYC,GACV,GAAIC,KAAKC,UAAYD,KAAKE,QAAS,CACjCH,EAAMI,kBACNJ,EAAMK,gB,EAIV,gBAAAC,GACE,GAAIL,KAAKM,OAAS,SAAU,CAC1B,MAAMC,EAAeC,SAASC,cAAc,UAC5CF,EAAaG,MAAMC,QAAU,OAC7BJ,EAAaD,KAAO,SACpBC,EAAaK,UAAY,EACzBZ,KAAKa,YAAYC,YAAYP,GAE7BP,KAAKe,oBAAsBR,C,EAI/B,kBAAAS,GACE,GACEhB,KAAKM,OAAS,UACdN,KAAKe,sBACJf,KAAKC,WACLD,KAAKE,QACN,CACAF,KAAKe,oBAAoBE,O,EAI7B,QAAAC,G,OACEC,EAAAnB,KAAKa,YAAYO,WAAYC,cAAc,aAAS,MAAAF,SAAA,SAAAA,EAAEG,O,CAGxD,MAAAC,GACE,MAAMC,EAAmC,CACvCC,QAASzB,KAAKyB,QACdC,QAAS1B,KAAK0B,QACdC,MAAO3B,KAAK2B,MACZC,SAAU,MACVC,SAAU,MACVC,SAAU,MACV7B,SAAUD,KAAKC,UAAYD,KAAKE,QAChC6B,KAAM/B,KAAK+B,KACXC,SAAUhC,KAAKgC,SACf9B,QAASF,KAAKE,QACd+B,QAAS,IAAMjC,KAAKgB,qBACpBV,KAAMN,KAAKM,KACX4B,UAAWlC,KAAKkC,UAChBtB,SAAUZ,KAAKa,YAAYD,UAG7B,OACEuB,EAACC,EAAI,CAAAC,IAAA,2CACHC,SAAUtC,KAAKC,UAAY,EAAI,EAC/BsC,MAAO,CACLtC,SAAUD,KAAKC,UAAYD,KAAKE,SAElCsC,QAAS,IAAMxC,KAAKkB,YAEpBiB,EAACM,EAAUC,OAAAC,OAAA,CAAAN,IAAA,4CAAKb,GACdW,EAAA,QAAAE,IAAA,8C"}
@@ -1,2 +1,2 @@
1
- import{r as o,c as t,h as r,H as e}from"./p-5806df2b.js";const n=".form-control,.form-control-plaintext{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);color:var(--theme-input--color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:var(--theme-input--border-radius);height:2rem;min-height:2rem;min-width:2rem;background-color:var(--theme-input--background);border:solid 1px var(--theme-input--border-color);box-shadow:var(--theme-input--box-shadow);padding-inline-start:0.5rem;padding-inline-end:0.5rem}.form-control::-moz-placeholder,.form-control-plaintext::-moz-placeholder{color:var(--theme-input-hint--color)}.form-control::placeholder,.form-control-plaintext::placeholder{color:var(--theme-input-hint--color)}.form-control:not(:-moz-read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled),.form-control-plaintext:not(:-moz-read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled){cursor:pointer}.form-control:not(:read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled),.form-control-plaintext:not(:read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled){cursor:pointer}.form-control:not(:-moz-read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled):hover,.form-control-plaintext:not(:-moz-read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled):hover{background-color:var(--theme-input--background--hover);border-color:var(--theme-input--border-color--hover);cursor:auto}.form-control:not(:read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled):hover,.form-control-plaintext:not(:read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled):hover{background-color:var(--theme-input--background--hover);border-color:var(--theme-input--border-color--hover);cursor:auto}.form-control:not(:-moz-read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled):focus-visible,.form-control-plaintext:not(:-moz-read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled):focus-visible{background-color:var(--theme-input--background--focus);border-color:var(--theme-input--border-color--focus);outline-offset:var(--theme-input--focus--outline-offset);box-shadow:var(--theme-input--box-shadow);outline:1px solid var(--theme-color-focus-bdr)}.form-control:not(:read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled):focus-visible,.form-control-plaintext:not(:read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled):focus-visible{background-color:var(--theme-input--background--focus);border-color:var(--theme-input--border-color--focus);outline-offset:var(--theme-input--focus--outline-offset);box-shadow:var(--theme-input--box-shadow);outline:1px solid var(--theme-color-focus-bdr)}.form-control:focus-visible{color:var(--theme-input--color)}.form-control[type=number]{text-align:right}.form-control[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}.form-control.readonly,.form-control[readonly]{background:transparent !important;border-block-start:none !important;border-inline-start:none !important;border-inline-end:none !important;border-radius:0rem}.form-control:-moz-read-only{box-shadow:none !important;outline:none !important;border-color:var(--theme-input--border-color);cursor:default !important}.form-control:read-only,.form-control[readonly],.form-control[readOnly],.form-control.readonly{box-shadow:none !important;outline:none !important;border-color:var(--theme-input--border-color);cursor:default !important}.form-control:read-only::-moz-placeholder,.form-control[readonly]::-moz-placeholder,.form-control[readOnly]::-moz-placeholder,.form-control.readonly::-moz-placeholder{color:transparent}.form-control:-moz-read-only::placeholder{color:transparent}.form-control:read-only::placeholder,.form-control[readonly]::placeholder,.form-control[readOnly]::placeholder,.form-control.readonly::placeholder{color:transparent}.form-control:disabled,.form-control.disabled{background:transparent !important;border-block-start:none !important;border-inline-start:none !important;border-inline-end:none !important;border-radius:0rem;color:var(--theme-color-weak-text);border-color:var(--theme-input--border-color-bottom--disabled)}.form-control:disabled::-moz-placeholder,.form-control.disabled::-moz-placeholder{color:transparent}.form-control:disabled::placeholder,.form-control.disabled::placeholder{color:transparent}.form-control-plaintext{outline:0}.form-group{position:relative}.input-wrapper{display:flex;position:relative;align-items:center;flex-wrap:nowrap}.input-wrapper>.glyph{display:block;position:absolute;margin-inline-start:0.312rem;color:var(--theme-color-std-text)}.input-wrapper>input{padding-inline-start:2.2rem}select.form-control{padding:0 0.312rem}textarea.form-control{padding:0.375rem 0.5rem}input.disabled,input:disabled{color:var(--theme-input--color--disabled)}input:-moz-read-only{cursor:default}input:read-only,input.readonly{cursor:default}:host{display:inline-flex;width:auto;height:2rem;align-items:center;justify-content:space-between;position:relative;}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .input-container{transition:all var(--theme-medium-time) ease-in-out}:host input{box-shadow:var(--theme-input--box-shadow);cursor:auto !important;width:100%}:host .expanded{width:11.5625rem}:host .expanded.fullWidth{width:100%}:host .collapsed{width:1.5rem;border:none}:host .btn-search-icon{align-self:center;margin:auto;position:relative}:host .btn-search{display:flex;max-width:2rem;max-height:2rem;border-radius:var(--theme-input--border-radius);transition:all var(--theme-default-time) ease-in-out;z-index:1;align-items:center;position:relative;border:none}:host .btn-search:not(.disabled):not(:disabled){cursor:pointer}:host .btn-search:not(.disabled):not(:disabled):hover{border-color:transparent}:host .btn-search:not(.disabled):not(:disabled){cursor:pointer}:host .btn-search:not(.disabled):not(:disabled):active,:host .btn-search:not(.disabled):not(:disabled).active{border-color:transparent}:host .btn-search:not(.disabled):not(:disabled):focus-visible{outline:none}:host .btn-search:not(.disabled):not(:disabled):focus-visible{outline:var(--focus--border-color);outline-width:1px;outline-style:solid}:host .btn-search.btn-search--expanded{margin-left:0.25rem;pointer-events:none}:host .btn-search:active{width:2rem;height:2rem;border-radius:var(--theme-input--border-radius);border:var(--theme-std-bdr-1) !important}:host .input-container{display:flex;position:absolute;align-items:center;flex-wrap:nowrap}:host .btn-clear{position:absolute;border-radius:var(--theme-input--border-radius);right:0px;margin-right:0.25rem}:host .input{padding-left:2rem !important;padding-right:2.5rem !important}:host .opacity-before{opacity:0}:host .opacity-after{opacity:1}:host(.right-position){width:11.5625rem !important}:host(.right-position.fullWidth){width:100% !important}:host(.right-position.fullWidth) .fullWidth{width:100% !important}";const a=n;const i=class{expandInput(){setTimeout(this.focusTextInput,300);this.expanded=true}collapseInput(){if(!this.isFieldChanged&&this.expanded){this.expanded=false}}clearInput(){this.value="";this.isFieldChanged=false}onChange(o){this.value=o.target.value;if(this.isFieldChanged&&this.value===""){this.isFieldChanged=false}else{this.isFieldChanged=true}this.valueChange.emit(this.value)}constructor(r){o(this,r);this.valueChange=t(this,"valueChange",7);this.icon="search";this.placeholder="Enter text here";this.value="";this.fullWidth=false;this.isFieldChanged=false;this.expanded=false;this.hasFocus=false;this.focusTextInput=this.focusTextInput.bind(this)}focusTextInput(){var o;(o=this.textInput)===null||o===void 0?void 0:o.focus()}clearClicked(){var o;this.clearInput();(o=this.textInput)===null||o===void 0?void 0:o.focus();this.valueChange.emit(this.value)}render(){return r(e,{key:"a95e8e89feb4d738194ac5d709ed0e41a06870d0",class:{expanded:this.expanded,"right-position":this.expanded,fullWidth:this.fullWidth}},r("ix-icon-button",{key:"e8640b3f3362adca9b820190a47a91a66cd634e6",size:this.expanded?"16":"24",icon:this.icon,ghost:true,variant:"primary","data-testid":"button",onClick:()=>this.expandInput(),tabindex:this.expanded?-1:0,color:this.hasFocus?"input-search-icon--color--focus":undefined,class:{"btn-search":true,"btn-search--expanded":this.expanded}}),r("div",{key:"5cfe2e19c1e9ffc2e061b530aeb8801c3f52b6aa",class:{expanded:this.expanded,fullWidth:this.fullWidth,collapsed:!this.expanded,"disable-pointer":!this.expanded,"input-container":true},"data-testid":"input-wrapper"},r("input",{key:"ed0e943c5fc6860a0687f4ea950642146be5623f",class:{"form-control":true,input:this.expanded,"disable-pointer":!this.expanded,"opacity-before":!this.expanded,"opacity-after":this.expanded},ref:o=>this.textInput=o,"data-testid":"input",placeholder:this.placeholder,type:"text",value:this.value,onBlur:()=>{this.collapseInput();this.hasFocus=false},onFocus:()=>this.hasFocus=true,onInput:o=>this.onChange(o),tabindex:this.expanded?0:-1}),this.isFieldChanged?r("ix-icon-button",{class:"btn-clear",icon:"clear",ghost:true,size:"16","data-testid":"clear-button",onClick:()=>this.clearClicked()}):null))}};i.style=a;export{i as ix_expanding_search};
2
- //# sourceMappingURL=p-e7ac5657.entry.js.map
1
+ import{r as o,c as t,h as r,H as e}from"./p-5806df2b.js";const n=".form-control,.form-control-plaintext{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);color:var(--theme-input--color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:var(--theme-input--border-radius);height:2rem;min-height:2rem;min-width:2rem;background-color:var(--theme-input--background);border:solid 1px var(--theme-input--border-color);box-shadow:var(--theme-input--box-shadow);padding-inline-start:0.5rem;padding-inline-end:0.5rem}.form-control::-moz-placeholder,.form-control-plaintext::-moz-placeholder{color:var(--theme-input-hint--color)}.form-control::placeholder,.form-control-plaintext::placeholder{color:var(--theme-input-hint--color)}.form-control:not(:-moz-read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled),.form-control-plaintext:not(:-moz-read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled){cursor:pointer}.form-control:not(:read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled),.form-control-plaintext:not(:read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled){cursor:pointer}.form-control:not(:-moz-read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled):hover,.form-control-plaintext:not(:-moz-read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled):hover{background-color:var(--theme-input--background--hover);border-color:var(--theme-input--border-color--hover);cursor:auto}.form-control:not(:read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled):hover,.form-control-plaintext:not(:read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled):hover{background-color:var(--theme-input--background--hover);border-color:var(--theme-input--border-color--hover);cursor:auto}.form-control:not(:-moz-read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled):focus-visible,.form-control-plaintext:not(:-moz-read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled):focus-visible{background-color:var(--theme-input--background--focus);border-color:var(--theme-input--border-color--focus);outline-offset:var(--theme-input--focus--outline-offset);box-shadow:var(--theme-input--box-shadow);outline:1px solid var(--theme-color-focus-bdr)}.form-control:not(:read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled):focus-visible,.form-control-plaintext:not(:read-only):not([readonly]):not([readOnly]):not(.readonly):not(.disabled):not(:disabled):focus-visible{background-color:var(--theme-input--background--focus);border-color:var(--theme-input--border-color--focus);outline-offset:var(--theme-input--focus--outline-offset);box-shadow:var(--theme-input--box-shadow);outline:1px solid var(--theme-color-focus-bdr)}.form-control:focus-visible{color:var(--theme-input--color)}.form-control[type=number]{text-align:right}.form-control[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}.form-control.readonly,.form-control[readonly]{background:transparent !important;border-block-start:none !important;border-inline-start:none !important;border-inline-end:none !important;border-radius:0rem}.form-control:-moz-read-only{box-shadow:none !important;outline:none !important;border-color:var(--theme-input--border-color);cursor:default !important}.form-control:read-only,.form-control[readonly],.form-control[readOnly],.form-control.readonly{box-shadow:none !important;outline:none !important;border-color:var(--theme-input--border-color);cursor:default !important}.form-control:read-only::-moz-placeholder,.form-control[readonly]::-moz-placeholder,.form-control[readOnly]::-moz-placeholder,.form-control.readonly::-moz-placeholder{color:transparent}.form-control:-moz-read-only::placeholder{color:transparent}.form-control:read-only::placeholder,.form-control[readonly]::placeholder,.form-control[readOnly]::placeholder,.form-control.readonly::placeholder{color:transparent}.form-control:disabled,.form-control.disabled{background:transparent !important;border-block-start:none !important;border-inline-start:none !important;border-inline-end:none !important;border-radius:0rem;color:var(--theme-color-weak-text);border-color:var(--theme-input--border-color-bottom--disabled)}.form-control:disabled::-moz-placeholder,.form-control.disabled::-moz-placeholder{color:transparent}.form-control:disabled::placeholder,.form-control.disabled::placeholder{color:transparent}.form-control-plaintext{outline:0}.form-group{position:relative}.input-wrapper{display:flex;position:relative;align-items:center;flex-wrap:nowrap}.input-wrapper>.glyph{display:block;position:absolute;margin-inline-start:0.312rem;color:var(--theme-color-std-text)}.input-wrapper>input{padding-inline-start:2.2rem}select.form-control{padding:0 0.312rem}textarea.form-control{padding:0.375rem 0.5rem}input.disabled,input:disabled{color:var(--theme-input--color--disabled)}input:-moz-read-only{cursor:default}input:read-only,input.readonly{cursor:default}:host{display:inline-flex;width:auto;height:2rem;align-items:center;justify-content:space-between;position:relative;}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .input-container{transition:all var(--theme-medium-time) ease-in-out}:host input{box-shadow:var(--theme-input--box-shadow);cursor:auto !important;width:100%}:host .expanded{width:11.5625rem}:host .expanded.fullWidth{width:100%}:host .collapsed{width:1.5rem;border:none}:host .btn-search-icon{align-self:center;margin:auto;position:relative}:host .btn-search{display:flex;max-width:2rem;max-height:2rem;border-radius:var(--theme-input--border-radius);transition:all var(--theme-default-time) ease-in-out;z-index:1;align-items:center;position:relative;border:none}:host .btn-search:not(.disabled):not(:disabled){cursor:pointer}:host .btn-search:not(.disabled):not(:disabled):hover{border-color:transparent}:host .btn-search:not(.disabled):not(:disabled){cursor:pointer}:host .btn-search:not(.disabled):not(:disabled):active,:host .btn-search:not(.disabled):not(:disabled).active{border-color:transparent}:host .btn-search:not(.disabled):not(:disabled):focus-visible{outline:none}:host .btn-search:not(.disabled):not(:disabled):focus-visible{outline:var(--focus--border-color);outline-width:1px;outline-style:solid}:host .btn-search.btn-search--expanded{margin-left:0.25rem;pointer-events:none}:host .btn-search:active{width:2rem;height:2rem;border-radius:var(--theme-input--border-radius);border:var(--theme-std-bdr-1) !important}:host .input-container{display:flex;position:absolute;align-items:center;flex-wrap:nowrap}:host .btn-clear{position:absolute;border-radius:var(--theme-input--border-radius);right:0px;margin-right:0.25rem}:host .input{padding-left:2rem !important;padding-right:2.5rem !important}:host .opacity-before{opacity:0}:host .opacity-after{opacity:1}:host(.right-position){width:11.5625rem !important}:host(.right-position.fullWidth){width:100% !important}:host(.right-position.fullWidth) .fullWidth{width:100% !important}";const a=n;const i=class{expandInput(){setTimeout(this.focusTextInput,300);this.expanded=true}collapseInput(){if(!this.isFieldChanged&&this.expanded){this.expanded=false}}clearInput(){this.value="";this.isFieldChanged=false}onChange(o){this.value=o.target.value;if(this.isFieldChanged&&this.value===""){this.isFieldChanged=false}else{this.isFieldChanged=true}this.valueChange.emit(this.value)}constructor(r){o(this,r);this.valueChange=t(this,"valueChange",7);this.icon="search";this.placeholder="Enter text here";this.value="";this.fullWidth=false;this.variant="primary";this.outline=false;this.ghost=true;this.isFieldChanged=false;this.expanded=false;this.hasFocus=false;this.focusTextInput=this.focusTextInput.bind(this)}focusTextInput(){var o;(o=this.textInput)===null||o===void 0?void 0:o.focus()}clearClicked(){var o;this.clearInput();(o=this.textInput)===null||o===void 0?void 0:o.focus();this.valueChange.emit(this.value)}render(){return r(e,{key:"f1981aaa35a3437b84b131f32ba2c5e5c29e363d",class:{expanded:this.expanded,"right-position":this.expanded,fullWidth:this.fullWidth}},r("ix-icon-button",{key:"e9dab8436d9e74ed8c4e434c689e6b59af4fdf29",size:this.expanded?"16":"24",icon:this.icon,variant:this.expanded?"primary":this.variant,ghost:this.ghost||this.expanded,outline:this.outline&&!this.expanded,"data-testid":"button",onClick:()=>this.expandInput(),tabindex:this.expanded?-1:0,color:this.hasFocus?"input-search-icon--color--focus":undefined,class:{"btn-search":true,"btn-search--expanded":this.expanded}}),r("div",{key:"e5c9c707728595451c33efbdce5973884bfdf81e",class:{expanded:this.expanded,fullWidth:this.fullWidth,collapsed:!this.expanded,"disable-pointer":!this.expanded,"input-container":true},"data-testid":"input-wrapper"},r("input",{key:"93edc9d89807125a7de4ed7d40eaa7945534fd6a",class:{"form-control":true,input:this.expanded,"disable-pointer":!this.expanded,"opacity-before":!this.expanded,"opacity-after":this.expanded},ref:o=>this.textInput=o,"data-testid":"input",placeholder:this.placeholder,type:"text",value:this.value,onBlur:()=>{this.collapseInput();this.hasFocus=false},onFocus:()=>this.hasFocus=true,onInput:o=>this.onChange(o),tabindex:this.expanded?0:-1}),this.isFieldChanged?r("ix-icon-button",{class:"btn-clear",icon:"clear",ghost:true,size:"16","data-testid":"clear-button",onClick:()=>this.clearClicked()}):null))}};i.style=a;export{i as ix_expanding_search};
2
+ //# sourceMappingURL=p-7e91e565.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["expandingSearchCss","IxExpandingSearchStyle0","ExpandingSearch","expandInput","setTimeout","this","focusTextInput","expanded","collapseInput","isFieldChanged","clearInput","value","onChange","e","target","valueChange","emit","constructor","hostRef","bind","_a","textInput","focus","clearClicked","render","h","Host","key","class","fullWidth","size","icon","variant","ghost","outline","onClick","tabindex","color","hasFocus","undefined","collapsed","input","ref","el","placeholder","type","onBlur","onFocus","onInput"],"sources":["src/components/expanding-search/expanding-search.scss?tag=ix-expanding-search&encapsulation=shadow","src/components/expanding-search/expanding-search.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n@import 'common-variables';\n@import 'legacy/components/forms';\n@import 'mixins/shadow-dom/component';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n\n$container-width: 11.5625rem;\n\n:host {\n @include ix-component;\n\n display: inline-flex;\n width: auto;\n height: $x-large-space;\n align-items: center;\n justify-content: space-between;\n position: relative;\n\n .input-container {\n transition: all var(--theme-medium-time) ease-in-out;\n }\n\n input {\n box-shadow: var(--theme-input--box-shadow);\n cursor: auto !important;\n width: 100%;\n }\n\n .expanded {\n width: $container-width;\n\n &.fullWidth {\n width: 100%;\n }\n }\n\n .collapsed {\n width: $large-space;\n border: none;\n }\n\n /*collapsed view*/\n .btn-search-icon {\n align-self: center;\n margin: auto;\n position: relative;\n }\n\n .btn-search {\n display: flex;\n max-width: $x-large-space;\n max-height: $x-large-space;\n border-radius: var(--theme-input--border-radius);\n transition: all var(--theme-default-time) ease-in-out;\n z-index: 1;\n align-items: center;\n position: relative;\n border: none;\n\n @include hover {\n border-color: transparent;\n }\n\n @include active {\n border-color: transparent;\n }\n\n @include focus {\n outline: none;\n }\n\n @include focus-visible {\n outline: var(--focus--border-color);\n outline-width: 1px;\n outline-style: solid;\n }\n }\n\n .btn-search.btn-search--expanded {\n margin-left: 0.25rem;\n pointer-events: none;\n }\n\n .btn-search:active {\n width: $x-large-space;\n height: $x-large-space;\n border-radius: var(--theme-input--border-radius);\n border: var(--theme-std-bdr-1) !important;\n }\n\n /*expanded view*/\n .input-container {\n display: flex;\n position: absolute;\n align-items: center;\n flex-wrap: nowrap;\n }\n\n .btn-clear {\n position: absolute;\n border-radius: var(--theme-input--border-radius);\n right: 0px;\n margin-right: 0.25rem;\n }\n\n .input {\n padding-left: $x-large-space !important;\n padding-right: 2.5rem !important;\n }\n\n .opacity-before {\n opacity: 0;\n }\n\n .opacity-after {\n opacity: 1;\n }\n}\n\n:host(.right-position) {\n width: $container-width !important;\n}\n\n:host(.right-position.fullWidth) {\n width: 100% !important;\n\n .fullWidth {\n width: 100% !important;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport { ButtonVariant } from '../button/button';\nimport { IxButtonComponent } from '../button/button-component';\n\n@Component({\n tag: 'ix-expanding-search',\n styleUrl: 'expanding-search.scss',\n shadow: true,\n})\nexport class ExpandingSearch\n implements Omit<IxButtonComponent, 'type' | 'icon' | 'disabled' | 'loading'>\n{\n /**\n * Search icon\n */\n @Prop() icon = 'search';\n\n /**\n * Placeholder text\n */\n @Prop() placeholder = 'Enter text here';\n\n /**\n * Default value\n */\n @Prop({ mutable: true }) value = '';\n\n /**\n * If true the search field will fill all available horizontal space of it's parent container when expanded.\n * @since 1.6.0\n */\n @Prop() fullWidth = false;\n\n /**\n * button variant\n */\n @Prop() variant: ButtonVariant = 'primary';\n\n /**\n * Outline button\n */\n @Prop() outline = false;\n\n /**\n * Button with no background or outline\n */\n @Prop() ghost = true;\n\n @State() isFieldChanged = false;\n @State() expanded = false;\n @State() hasFocus = false;\n\n /**\n * Value changed\n */\n @Event() valueChange!: EventEmitter<string>;\n\n private expandInput() {\n setTimeout(this.focusTextInput, 300);\n this.expanded = true;\n }\n\n private collapseInput() {\n if (!this.isFieldChanged && this.expanded) {\n this.expanded = false;\n }\n }\n\n private clearInput() {\n this.value = '';\n this.isFieldChanged = false;\n }\n\n private onChange(e: InputEvent) {\n this.value = (e.target as HTMLInputElement).value;\n if (this.isFieldChanged && this.value === '') {\n this.isFieldChanged = false;\n } else {\n this.isFieldChanged = true;\n }\n\n this.valueChange.emit(this.value);\n }\n\n private textInput?: HTMLInputElement;\n\n constructor() {\n this.focusTextInput = this.focusTextInput.bind(this);\n }\n\n private focusTextInput() {\n this.textInput?.focus();\n }\n\n private clearClicked() {\n this.clearInput();\n this.textInput?.focus();\n this.valueChange.emit(this.value);\n }\n\n render() {\n return (\n <Host\n class={{\n expanded: this.expanded,\n 'right-position': this.expanded,\n fullWidth: this.fullWidth,\n }}\n >\n <ix-icon-button\n size={this.expanded ? '16' : '24'}\n icon={this.icon}\n variant={this.expanded ? 'primary' : this.variant}\n ghost={this.ghost || this.expanded}\n outline={this.outline && !this.expanded}\n data-testid=\"button\"\n onClick={() => this.expandInput()}\n tabindex={this.expanded ? -1 : 0}\n color={this.hasFocus ? 'input-search-icon--color--focus' : undefined}\n class={{\n 'btn-search': true,\n 'btn-search--expanded': this.expanded,\n }}\n ></ix-icon-button>\n\n <div\n class={{\n expanded: this.expanded,\n fullWidth: this.fullWidth,\n collapsed: !this.expanded,\n 'disable-pointer': !this.expanded,\n 'input-container': true,\n }}\n data-testid=\"input-wrapper\"\n >\n <input\n class={{\n 'form-control': true,\n input: this.expanded,\n 'disable-pointer': !this.expanded,\n 'opacity-before': !this.expanded,\n 'opacity-after': this.expanded,\n }}\n ref={(el) => (this.textInput = el)}\n data-testid=\"input\"\n placeholder={this.placeholder}\n type=\"text\"\n value={this.value}\n onBlur={() => {\n this.collapseInput();\n this.hasFocus = false;\n }}\n onFocus={() => (this.hasFocus = true)}\n onInput={(e: InputEvent) => this.onChange(e)}\n tabindex={this.expanded ? 0 : -1}\n />\n\n {this.isFieldChanged ? (\n <ix-icon-button\n class=\"btn-clear\"\n icon={'clear'}\n ghost={true}\n size=\"16\"\n data-testid=\"clear-button\"\n onClick={() => this.clearClicked()}\n />\n ) : null}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAqB,20PAC3B,MAAAC,EAAeD,E,MCyBFE,EAAe,MAgDlB,WAAAC,GACNC,WAAWC,KAAKC,eAAgB,KAChCD,KAAKE,SAAW,I,CAGV,aAAAC,GACN,IAAKH,KAAKI,gBAAkBJ,KAAKE,SAAU,CACzCF,KAAKE,SAAW,K,EAIZ,UAAAG,GACNL,KAAKM,MAAQ,GACbN,KAAKI,eAAiB,K,CAGhB,QAAAG,CAASC,GACfR,KAAKM,MAASE,EAAEC,OAA4BH,MAC5C,GAAIN,KAAKI,gBAAkBJ,KAAKM,QAAU,GAAI,CAC5CN,KAAKI,eAAiB,K,KACjB,CACLJ,KAAKI,eAAiB,I,CAGxBJ,KAAKU,YAAYC,KAAKX,KAAKM,M,CAK7B,WAAAM,CAAAC,G,6DAvEe,S,iBAKO,kB,WAKW,G,eAMb,M,aAKa,U,aAKf,M,WAKF,K,oBAEU,M,cACN,M,cACA,MAqClBb,KAAKC,eAAiBD,KAAKC,eAAea,KAAKd,K,CAGzC,cAAAC,G,OACNc,EAAAf,KAAKgB,aAAS,MAAAD,SAAA,SAAAA,EAAEE,O,CAGV,YAAAC,G,MACNlB,KAAKK,cACLU,EAAAf,KAAKgB,aAAS,MAAAD,SAAA,SAAAA,EAAEE,QAChBjB,KAAKU,YAAYC,KAAKX,KAAKM,M,CAG7B,MAAAa,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,MAAO,CACLrB,SAAUF,KAAKE,SACf,iBAAkBF,KAAKE,SACvBsB,UAAWxB,KAAKwB,YAGlBJ,EAAA,kBAAAE,IAAA,2CACEG,KAAMzB,KAAKE,SAAW,KAAO,KAC7BwB,KAAM1B,KAAK0B,KACXC,QAAS3B,KAAKE,SAAW,UAAYF,KAAK2B,QAC1CC,MAAO5B,KAAK4B,OAAS5B,KAAKE,SAC1B2B,QAAS7B,KAAK6B,UAAY7B,KAAKE,SAAQ,cAC3B,SACZ4B,QAAS,IAAM9B,KAAKF,cACpBiC,SAAU/B,KAAKE,UAAY,EAAI,EAC/B8B,MAAOhC,KAAKiC,SAAW,kCAAoCC,UAC3DX,MAAO,CACL,aAAc,KACd,uBAAwBvB,KAAKE,YAIjCkB,EAAA,OAAAE,IAAA,2CACEC,MAAO,CACLrB,SAAUF,KAAKE,SACfsB,UAAWxB,KAAKwB,UAChBW,WAAYnC,KAAKE,SACjB,mBAAoBF,KAAKE,SACzB,kBAAmB,MACpB,cACW,iBAEZkB,EAAA,SAAAE,IAAA,2CACEC,MAAO,CACL,eAAgB,KAChBa,MAAOpC,KAAKE,SACZ,mBAAoBF,KAAKE,SACzB,kBAAmBF,KAAKE,SACxB,gBAAiBF,KAAKE,UAExBmC,IAAMC,GAAQtC,KAAKgB,UAAYsB,EAAG,cACtB,QACZC,YAAavC,KAAKuC,YAClBC,KAAK,OACLlC,MAAON,KAAKM,MACZmC,OAAQ,KACNzC,KAAKG,gBACLH,KAAKiC,SAAW,KAAK,EAEvBS,QAAS,IAAO1C,KAAKiC,SAAW,KAChCU,QAAUnC,GAAkBR,KAAKO,SAASC,GAC1CuB,SAAU/B,KAAKE,SAAW,GAAK,IAGhCF,KAAKI,eACJgB,EAAA,kBACEG,MAAM,YACNG,KAAM,QACNE,MAAO,KACPH,KAAK,KAAI,cACG,eACZK,QAAS,IAAM9B,KAAKkB,iBAEpB,M"}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as i,h as e,H as s,g as o}from"./p-5806df2b.js";import{a as r}from"./p-5fe87e71.js";import{A as n}from"./p-3c668c0e.js";import{H as h}from"./p-186a1f30.js";import{O as l}from"./p-9d5d4948.js";import{m as d}from"./p-ce563a48.js";import{c as a}from"./p-e898862b.js";import"./p-178ce002.js";const c=":host{display:inline-block;position:relative;min-height:2rem;height:auto;border-radius:var(--theme-input--border-radius)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .d-none{display:none}:host .select{position:relative;display:flex;align-items:center;width:100%;background-color:var(--theme-input--background);border:var(--theme-input--border-thickness) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);padding:0 0 0 0.5rem;box-shadow:var(--theme-inset-shadow-1) !important}:host .select:not(.disabled):not(:disabled){cursor:pointer}:host .select:not(.disabled):not(:disabled):hover{background-color:var(--theme-input--background--hover);border-color:var(--theme-input--border-color--hover)}:host .select:focus-within{background-color:var(--theme-input--background--focus);border-color:var(--theme-input--border-color--focus);outline:1px solid #119fff;outline-offset:var(--theme-input--focus--outline-offset)}:host .select.readonly,:host .select.disabled{box-shadow:none !important;border:none;border-radius:0;cursor:pointer}:host .select.readonly,:host .select.readonly:hover,:host .select.readonly:active,:host .select.disabled,:host .select.disabled:hover,:host .select.disabled:active{background-color:transparent !important}:host .select.readonly:focus,:host .select.readonly:focus-within,:host .select.readonly:focus-visible,:host .select.disabled:focus,:host .select.disabled:focus-within,:host .select.disabled:focus-visible{outline:none}:host .select.readonly input:focus,:host .select.readonly input:focus-visible,:host .select.disabled input:focus,:host .select.disabled input:focus-visible{outline:none}:host .select.disabled{border-bottom:var(--theme-input--border-thickness) solid var(--theme-color-weak-bdr)}:host .select.disabled input{color:var(--theme-color-weak-text)}:host .select.readonly{border-bottom:var(--theme-input--border-thickness) solid var(--theme-color-soft-bdr)}:host .select.readonly input{color:var(--theme-color-std-text)}:host .hidden{display:none !important}:host .trigger{display:flex;align-items:center;flex-grow:1;height:100%}:host .input-container{display:flex;position:relative;align-items:flex-start;width:100%;height:100%}:host .input-container .chips{position:relative;display:flex;align-items:center;flex-wrap:wrap;height:100%;max-height:3.5rem;flex-grow:1;overflow-y:auto}:host .input-container .chips>ix-filter-chip{margin:0.1rem}:host .input-container ix-icon-button{height:1.875rem;width:1.875rem;min-height:1.875rem;min-width:1.875rem}:host .input-container input{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);background:transparent;height:1.75rem;width:100%}:host .input-container input,:host .input-container input:hover,:host .input-container input:focus-visible{border:none;outline:none}:host .input-container input::-moz-placeholder{color:var(--theme-input-select-icon--color)}:host .input-container input::placeholder{color:var(--theme-input-select-icon--color)}:host .input-container input.hide-placeholder::-moz-placeholder{opacity:0}:host .input-container input.hide-placeholder::placeholder{opacity:0}:host ix-dropdown{max-width:100%}:host .dropdown-visible{--ix-icon-button-color:var(--theme-color-dynamic--hover)}:host .add-item{display:flex;justify-content:flex-start;align-items:center;position:relative;width:100%}:host .select-list-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;height:2rem;color:var(--theme-select-list-item-hint--color);margin:0 0.5rem 0 1rem}:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) .select{border-color:var(--theme-input--border-color--info)}:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) .select:hover{border-color:var(--theme-input--border-color--info--hover) !important}:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) .select:active{border-color:var(--theme-input--border-color--info--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) .select{border-color:var(--theme-input--border-color--warning)}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) .select:hover{border-color:var(--theme-input--border-color--warning--hover) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) .select:active{border-color:var(--theme-input--border-color--warning--active) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) .select,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) .select{border-color:var(--theme-input--border-color--invalid);background-color:var(--theme-input--background--invalid);box-shadow:none}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) .select:hover,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) .select:hover{border-color:var(--theme-input--border-color--invalid--hover) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) .select:active,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) .select:active{border-color:var(--theme-input--border-color--invalid--active) !important}";const u=c;var f=undefined&&undefined.__decorate||function(t,i,e,s){var o=arguments.length,r=o<3?i:s===null?s=Object.getOwnPropertyDescriptor(i,e):s,n;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(t,i,e,s);else for(var h=t.length-1;h>=0;h--)if(n=t[h])r=(o<3?n(r):o>3?n(i,e,r):n(i,e))||r;return o>3&&r&&Object.defineProperty(i,e,r),r};const b=class{constructor(e){t(this,e);this.valueChange=i(this,"valueChange",7);this.itemSelectionChange=i(this,"itemSelectionChange",7);this.inputChange=i(this,"inputChange",7);this.addItem=i(this,"addItem",7);this.ixBlur=i(this,"ixBlur",7);if(e.$hostElement$["s-ei"]){this.formInternals=e.$hostElement$["s-ei"]}else{this.formInternals=e.$hostElement$.attachInternals();e.$hostElement$["s-ei"]=this.formInternals}this.dropdownWrapperRef=d();this.dropdownAnchorRef=d();this.inputRef=d();this.itemObserver=a((()=>{if(!this.arrowFocusController){return}this.arrowFocusController.items=this.visibleNonShadowItems}));this.focusControllerCallbackBind=this.focusDropdownItem.bind(this);this.name=undefined;this.required=false;this.label=undefined;this.warningText=undefined;this.infoText=undefined;this.invalidText=undefined;this.validText=undefined;this.helperText=undefined;this.showTextAsTooltip=undefined;this.selectedIndices=undefined;this.value=[];this.allowClear=false;this.mode="single";this.editable=false;this.disabled=false;this.readonly=false;this.i18nPlaceholder="Select an option";this.i18nPlaceholderEditable="Type of select option";this.i18nSelectListHeader="Select an option";this.i18nNoMatches="No matches";this.hideListHeader=false;this.dropdownWidth=undefined;this.dropdownMaxWidth=undefined;this.dropdownShow=false;this.selectedLabels=[];this.isDropdownEmpty=false;this.navigationItem=undefined;this.inputFilterText="";this.inputValue="";this.isInvalid=false;this.isValid=false;this.isInfo=false;this.isWarning=false}get nonShadowItems(){return Array.from(this.hostElement.querySelectorAll("ix-select-item"))}get visibleNonShadowItems(){return this.nonShadowItems.filter((t=>!t.classList.contains("d-none")))}get shadowItems(){return Array.from(this.hostElement.shadowRoot.querySelectorAll("ix-select-item"))}get visibleShadowItems(){return this.shadowItems.filter((t=>!t.classList.contains("d-none")))}get items(){return[...this.nonShadowItems,...this.shadowItems]}get visibleItems(){return this.items.filter((t=>!t.classList.contains("d-none")))}get selectedItems(){return this.items.filter((t=>t.selected))}get addItemButton(){return this.hostElement.shadowRoot.querySelector(".add-item")}get isSingleMode(){return this.mode==="single"}get isMultipleMode(){return this.mode==="multiple"}get isEveryDropdownItemHidden(){return this.items.every((t=>t.classList.contains("d-none")))}watchSelectedIndices(t){this.value=t;this.updateSelection()}watchValue(t){this.selectedIndices=t;this.updateSelection()}watchDropdownShow(t){if(t&&this.dropdownElement){this.itemObserver.observe(this.dropdownElement,{childList:true,subtree:true})}else{this.cleanupResources()}}cleanupResources(){var t,i;(t=this.arrowFocusController)===null||t===void 0?void 0:t.disconnect();this.arrowFocusController=undefined;(i=this.itemObserver)===null||i===void 0?void 0:i.disconnect()}onItemClicked(t){const i=t.detail;this.itemClick(i)}async updateFormInternalValue(t){if(Array.isArray(t)){this.formInternals.setFormValue(t.join(","));return}this.formInternals.setFormValue(t)}async hasValidValue(){return this.required&&!!this.hasValue()}hasValue(){if(Array.isArray(this.value)){return!!this.value.length}return!!this.value}focusDropdownItem(t){var i,e;this.navigationItem=undefined;if(t<this.visibleNonShadowItems.length){const s=(e=(i=this.visibleNonShadowItems[t])===null||i===void 0?void 0:i.shadowRoot)===null||e===void 0?void 0:e.querySelector("ix-dropdown-item");if(!s){return}requestAnimationFrame((()=>{var t,i;(i=(t=s===null||s===void 0?void 0:s.shadowRoot)===null||t===void 0?void 0:t.querySelector("button"))===null||i===void 0?void 0:i.focus()}))}}itemClick(t){const i=this.value;const e=this.toggleValue(t);this.value=e;const s=this.emitValueChange(e);if(s){this.value=i;return}this.updateSelection()}emitAddItem(t){var i;if(t===undefined||t.trim()===""){return false}const{defaultPrevented:e}=this.addItem.emit(t);if(e){return true}const s=document.createElement("ix-select-item");s.value=t;s.label=t;(i=this.customItemsContainerElement)===null||i===void 0?void 0:i.appendChild(s);this.clearInput();this.itemClick(t);return false}toggleValue(t){if(!this.isMultipleMode){return t}if(!this.value){return[t]}let i=this.value;if(!Array.isArray(i)){i=[i]}if(i.includes(t)){return i.filter((i=>i!==t))}else{return[...i,t]}}updateSelection(){var t,i;let e=[];if(this.value){e=Array.isArray(this.value)?[...this.value]:[this.value]}this.items.forEach((t=>{t.selected=e.some((i=>{if(typeof i!==typeof t.value){return i.toString()===t.value.toString()}else{return i===t.value}}))}));this.selectedLabels=this.selectedItems.map((t=>t.label));if(((t=this.selectedLabels)===null||t===void 0?void 0:t.length)&&this.isSingleMode){this.inputValue=(i=this.selectedLabels[0])!==null&&i!==void 0?i:""}else{this.inputValue=""}this.inputElement&&(this.inputElement.value=this.inputValue)}emitValueChange(t){const{defaultPrevented:i}=this.valueChange.emit(t);if(i){return true}if(!t){this.itemSelectionChange.emit([])}else{this.itemSelectionChange.emit(Array.isArray(t)?t:[t])}this.updateFormInternalValue(t);return false}componentDidLoad(){var t;(t=this.inputElement)===null||t===void 0?void 0:t.addEventListener("input",(()=>{var t;this.dropdownShow=true;this.inputChange.emit((t=this.inputElement)===null||t===void 0?void 0:t.value)}))}componentWillLoad(){if(this.selectedIndices&&!this.value){this.value=this.selectedIndices}this.updateSelection();this.updateFormInternalValue(this.value)}componentDidRender(){if(!this.dropdownShow||this.arrowFocusController||!this.dropdownElement){return}this.arrowFocusController=new n(this.visibleNonShadowItems,this.dropdownElement,this.focusControllerCallbackBind);this.arrowFocusController.wrap=!this.isAddItemVisible()&&!this.visibleShadowItems.length}onLabelChange(t){t.preventDefault();t.stopImmediatePropagation();this.updateSelection()}disconnectedCallback(){this.cleanupResources()}itemExists(t){return this.items.find((i=>i.label===t))}dropdownVisibilityChanged(t){var i,e;this.dropdownShow=t.detail;if(t.detail){(i=this.inputElement)===null||i===void 0?void 0:i.focus();(e=this.inputElement)===null||e===void 0?void 0:e.select();this.removeHiddenFromItems();this.isDropdownEmpty=this.isEveryDropdownItemHidden}else{this.navigationItem=undefined;this.updateSelection();this.inputFilterText=""}}async onKeyDown(t){if(t.code==="ArrowDown"||t.code==="ArrowUp"){await this.onArrowNavigation(t,t.code)}if(!this.dropdownShow){return}if(t.code==="Enter"||t.code==="NumpadEnter"){await this.onEnterNavigation(t.target)}if(t.code==="Escape"){this.dropdownShow=false}}async onEnterNavigation(t){if(this.isMultipleMode){return}const i=this.inputFilterText.trim();const e=t===null||t===void 0?void 0:t.label;const s=this.itemExists(i);if(s){this.itemClick(s.value)}else if(this.editable&&!this.itemExists(e)){const t=this.emitAddItem(i);if(t){return}}this.dropdownShow=false;this.updateSelection()}async onArrowNavigation(t,i){var e;if(t.defaultPrevented){return}t.preventDefault();t.stopPropagation();this.dropdownShow=true;if(!this.navigationItem&&document.activeElement===this.hostElement){if(this.visibleItems.length){this.applyFocusTo(this.visibleItems.shift())}else if(this.isAddItemVisible()){this.focusAddItemButton()}return}const s=i==="ArrowUp";const o=document.activeElement?this.visibleNonShadowItems.indexOf(document.activeElement):-1;if(o===0){if(!this.visibleShadowItems.length&&this.isAddItemVisible()){this.focusAddItemButton()}else{this.applyFocusTo(this.visibleShadowItems.pop())}return}else if(o!==-1&&o===this.visibleNonShadowItems.length-1){if(this.visibleShadowItems.length){this.applyFocusTo(this.visibleShadowItems.shift())}else if(this.isAddItemVisible()){this.focusAddItemButton()}return}if(!this.navigationItem){return}if(this.isAddItemVisible()&&((e=this.addItemElement)===null||e===void 0?void 0:e.contains(await this.navigationItem.getDropdownItemElement()))){if(s){this.applyFocusTo(this.visibleItems.pop())}else if(this.visibleItems.length){this.applyFocusTo(this.visibleItems.shift())}return}const r=this.visibleShadowItems.indexOf(this.navigationItem);if(s){if(r===0){if(this.visibleNonShadowItems.length){this.applyFocusTo(this.visibleNonShadowItems.pop())}else if(this.isAddItemVisible()){this.focusAddItemButton()}}else{this.applyFocusTo(this.visibleShadowItems[r-1])}}else{if(r===this.visibleShadowItems.length-1){if(this.isAddItemVisible()){this.focusAddItemButton()}else{this.applyFocusTo(this.visibleItems.shift())}}else{this.applyFocusTo(this.visibleShadowItems[r+1])}}}applyFocusTo(t){if(!t){return}this.navigationItem=t;setTimeout((()=>{var i,e,s,o;(o=(s=(e=(i=t.shadowRoot)===null||i===void 0?void 0:i.querySelector("ix-dropdown-item"))===null||e===void 0?void 0:e.shadowRoot)===null||s===void 0?void 0:s.querySelector("button"))===null||o===void 0?void 0:o.focus()}))}focusAddItemButton(){var t,i;if(this.addItemButton){(i=(t=this.addItemButton.shadowRoot)===null||t===void 0?void 0:t.querySelector("button"))===null||i===void 0?void 0:i.focus();this.navigationItem=this.addItemElement}}filterItemsWithTypeahead(){var t,i;this.inputFilterText=(i=(t=this.inputElement)===null||t===void 0?void 0:t.value)!==null&&i!==void 0?i:"";if(this.isSingleMode&&this.inputFilterText===this.selectedLabels[0]){return}if(this.inputFilterText){this.items.forEach((t=>{var i;t.classList.remove("d-none");if(!((i=t.label)===null||i===void 0?void 0:i.toLowerCase().includes(this.inputFilterText.toLowerCase()))){t.classList.add("d-none")}}))}else{this.removeHiddenFromItems()}if(this.arrowFocusController){this.arrowFocusController.items=this.visibleNonShadowItems}this.isDropdownEmpty=this.isEveryDropdownItemHidden}removeHiddenFromItems(){this.items.forEach((t=>{t.classList.remove("d-none")}))}clearInput(){if(this.inputElement){this.inputElement.value=""}this.inputFilterText=""}clear(){this.clearInput();this.selectedLabels=[];this.value=[];this.emitValueChange([]);this.dropdownShow=false}onInputBlur(t){this.ixBlur.emit();if(this.editable){return}if(this.isSingleMode){return}const i=t.target;if(!this.dropdownShow&&this.mode!=="multiple"){i.value=this.selectedLabels.toString()}}placeholderValue(){if(this.disabled){return""}if(this.readonly){return""}if(this.editable){return this.i18nPlaceholderEditable}return this.i18nPlaceholder}isAddItemVisible(){return!this.itemExists(this.inputFilterText)&&this.editable&&this.inputFilterText}onValidationChange({isInvalid:t,isInvalidByRequired:i,isValid:e,isInfo:s,isWarning:o}){this.isInvalid=t||i;this.isValid=e;this.isWarning=o;this.isInfo=s}async getAssociatedFormElement(){return this.formInternals.form}getNativeInputElement(){if(this.inputElement){return Promise.resolve(this.inputElement)}else{return Promise.reject(new Error("Input element not found"))}}async focusInput(){const t=await this.getNativeInputElement();if(t){t.focus()}}render(){var t,i,o,n;return e(s,{key:"d75b237d63401907045c1ef0ff8a95ad690af8e3","aria-disabled":r(this.disabled),class:{disabled:this.disabled}},e("ix-field-wrapper",{key:"6014f22207384f636935362faffa83c4a8026ff8",required:this.required,label:this.label,helperText:this.helperText,invalidText:this.invalidText,infoText:this.infoText,warningText:this.warningText,validText:this.validText,showTextAsTooltip:this.showTextAsTooltip,isInvalid:this.isInvalid,isValid:this.isValid,isInfo:this.isInfo,isWarning:this.isWarning,controlRef:this.inputRef},e("div",{key:"0bb6d6626b6da3cf0444738ad38d5f4c3bc8af2e",class:{select:true,disabled:this.disabled,readonly:this.readonly},ref:t=>{this.dropdownAnchorRef(t);if(!this.editable)this.dropdownWrapperRef(t)}},e("div",{key:"00f38bf5536460b2633860b806bf77cadcc9c2a7",class:"input-container"},e("div",{key:"50481103d88830a7c7143dff36855c5ec2431475",class:"chips"},this.isMultipleMode?(t=this.selectedItems)===null||t===void 0?void 0:t.map((t=>e("ix-filter-chip",{disabled:this.disabled||this.readonly,key:t.value,onCloseClick:i=>{i.preventDefault();i.stopPropagation();this.itemClick(t.value)}},t.label))):"",e("div",{key:"820c8db4efe7b1f0424536c94261fda57e87c219",class:"trigger"},e("input",{key:"9d979641d1fc28b48c3c64d6b165b5c4cd91d9af",autocomplete:"off","data-testid":"input",disabled:this.disabled,readOnly:this.readonly,required:this.required,type:"text",class:{"allow-clear":this.allowClear&&!!((i=this.selectedLabels)===null||i===void 0?void 0:i.length)},placeholder:this.placeholderValue(),value:(o=this.inputValue)!==null&&o!==void 0?o:"",ref:t=>{this.inputElement=t;this.inputRef(t)},onBlur:t=>this.onInputBlur(t),onFocus:()=>{this.navigationItem=undefined},onInput:()=>this.filterItemsWithTypeahead(),onKeyDown:t=>this.onKeyDown(t)}),this.allowClear&&!this.disabled&&!this.readonly&&(((n=this.selectedLabels)===null||n===void 0?void 0:n.length)||this.inputFilterText)?e("ix-icon-button",{class:"clear",icon:"clear",ghost:true,oval:true,size:"16",onClick:t=>{t.preventDefault();t.stopPropagation();this.clear()}}):null,this.disabled||this.readonly?null:e("ix-icon-button",{"data-select-dropdown":true,class:{"dropdown-visible":this.dropdownShow},icon:"chevron-down-small",ghost:true,ref:t=>{if(this.editable)this.dropdownWrapperRef(t)}})))))),e("ix-dropdown",{key:"ea685854ac93811ad5218777d809c9b765460dfe",ref:t=>this.dropdownElement=t,show:this.dropdownShow,closeBehavior:this.isMultipleMode?"outside":"both",class:{"d-none":this.disabled||this.readonly},anchor:this.dropdownAnchorRef.waitForCurrent(),trigger:this.dropdownWrapperRef.waitForCurrent(),onShowChanged:t=>this.dropdownVisibilityChanged(t),placement:"bottom-start",overwriteDropdownStyle:async()=>{var t,i;const e={};const s=(i=(t=this.hostElement.shadowRoot)===null||t===void 0?void 0:t.querySelector(".select"))===null||i===void 0?void 0:i.getBoundingClientRect().width;if(s){e.minWidth=`${s}px`}if(this.dropdownWidth){e.width=`min(${this.dropdownWidth}, 100%)`}if(this.dropdownMaxWidth){e.maxWidth=`min(${this.dropdownMaxWidth}, 100%)`}return e}},e("div",{key:"f6a528bab147937ccbcc833637c9e1d63558ac60",class:{"select-list-header":true,hidden:this.hideListHeader||this.isDropdownEmpty},title:this.i18nSelectListHeader,onClick:t=>t.preventDefault()},this.i18nSelectListHeader),e("slot",{key:"2689e9ef17c90a099b476658dc5219aac22f6b22",onSlotchange:()=>{this.updateSelection()}}),e("div",{key:"632344ae80f829a40678b4a08ee2325438c799b1",ref:t=>this.customItemsContainerElement=t,class:"d-contents"}),this.isAddItemVisible()?e("ix-dropdown-item",{"data-testid":"add-item",icon:"plus",class:{"add-item":true},label:this.inputFilterText,onItemClick:t=>{t.preventDefault();t.stopPropagation();this.emitAddItem(this.inputFilterText)},onFocus:()=>this.navigationItem=this.addItemElement,ref:t=>{this.addItemElement=t}}):null,this.isDropdownEmpty&&!this.editable?e("div",{class:"select-list-header"},this.i18nNoMatches):""))}static get formAssociated(){return true}get hostElement(){return o(this)}static get watchers(){return{selectedIndices:["watchSelectedIndices"],value:["watchValue"],dropdownShow:["watchDropdownShow"]}}};f([l("keydown",(t=>t.dropdownShow))],b.prototype,"onKeyDown",null);f([h()],b.prototype,"onValidationChange",null);b.style=u;export{b as ix_select};
2
+ //# sourceMappingURL=p-8039ec6b.entry.js.map