@siemens/element-ng 47.7.0 → 48.0.0-next.1

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 (668) hide show
  1. package/README.md +1 -1
  2. package/about/index.d.ts +127 -3
  3. package/accordion/index.d.ts +152 -9
  4. package/action-modal/index.d.ts +92 -2
  5. package/application-header/index.d.ts +357 -13
  6. package/auto-collapsable-list/index.d.ts +114 -10
  7. package/autocomplete/index.d.ts +77 -8
  8. package/avatar/index.d.ts +83 -4
  9. package/badge/index.d.ts +21 -5
  10. package/breadcrumb/index.d.ts +90 -3
  11. package/breadcrumb-router/index.d.ts +104 -4
  12. package/card/index.d.ts +88 -6
  13. package/circle-status/index.d.ts +75 -6
  14. package/color-picker/index.d.ts +65 -5
  15. package/column-selection-dialog/index.d.ts +89 -2
  16. package/common/index.d.ts +421 -4
  17. package/connection-strength/index.d.ts +29 -6
  18. package/content-action-bar/index.d.ts +88 -3
  19. package/copyright-notice/index.d.ts +48 -3
  20. package/dashboard/index.d.ts +783 -0
  21. package/dashboard/package.json +3 -0
  22. package/datatable/index.d.ts +45 -6
  23. package/date-range-filter/index.d.ts +333 -4
  24. package/datepicker/index.d.ts +1409 -11
  25. package/electron-titlebar/index.d.ts +84 -3
  26. package/empty-state/index.d.ts +27 -6
  27. package/fesm2022/siemens-element-ng-about.mjs +7 -7
  28. package/fesm2022/siemens-element-ng-about.mjs.map +1 -1
  29. package/fesm2022/siemens-element-ng-accordion.mjs +23 -36
  30. package/fesm2022/siemens-element-ng-accordion.mjs.map +1 -1
  31. package/fesm2022/siemens-element-ng-action-modal.mjs +41 -125
  32. package/fesm2022/siemens-element-ng-action-modal.mjs.map +1 -1
  33. package/fesm2022/siemens-element-ng-application-header.mjs +80 -76
  34. package/fesm2022/siemens-element-ng-application-header.mjs.map +1 -1
  35. package/fesm2022/siemens-element-ng-auto-collapsable-list.mjs +51 -47
  36. package/fesm2022/siemens-element-ng-auto-collapsable-list.mjs.map +1 -1
  37. package/fesm2022/siemens-element-ng-autocomplete.mjs +42 -42
  38. package/fesm2022/siemens-element-ng-autocomplete.mjs.map +1 -1
  39. package/fesm2022/siemens-element-ng-avatar.mjs +10 -10
  40. package/fesm2022/siemens-element-ng-avatar.mjs.map +1 -1
  41. package/fesm2022/siemens-element-ng-badge.mjs +3 -3
  42. package/fesm2022/siemens-element-ng-badge.mjs.map +1 -1
  43. package/fesm2022/siemens-element-ng-breadcrumb-router.mjs +10 -10
  44. package/fesm2022/siemens-element-ng-breadcrumb-router.mjs.map +1 -1
  45. package/fesm2022/siemens-element-ng-breadcrumb.mjs +13 -13
  46. package/fesm2022/siemens-element-ng-breadcrumb.mjs.map +1 -1
  47. package/fesm2022/siemens-element-ng-card.mjs +7 -7
  48. package/fesm2022/siemens-element-ng-card.mjs.map +1 -1
  49. package/fesm2022/siemens-element-ng-circle-status.mjs +7 -7
  50. package/fesm2022/siemens-element-ng-circle-status.mjs.map +1 -1
  51. package/fesm2022/siemens-element-ng-color-picker.mjs +12 -13
  52. package/fesm2022/siemens-element-ng-color-picker.mjs.map +1 -1
  53. package/fesm2022/siemens-element-ng-column-selection-dialog.mjs +29 -32
  54. package/fesm2022/siemens-element-ng-column-selection-dialog.mjs.map +1 -1
  55. package/fesm2022/siemens-element-ng-common.mjs +14 -14
  56. package/fesm2022/siemens-element-ng-common.mjs.map +1 -1
  57. package/fesm2022/siemens-element-ng-connection-strength.mjs +7 -7
  58. package/fesm2022/siemens-element-ng-content-action-bar.mjs +14 -14
  59. package/fesm2022/siemens-element-ng-content-action-bar.mjs.map +1 -1
  60. package/fesm2022/siemens-element-ng-copyright-notice.mjs +7 -7
  61. package/fesm2022/siemens-element-ng-copyright-notice.mjs.map +1 -1
  62. package/fesm2022/siemens-element-ng-dashboard.mjs +1170 -0
  63. package/fesm2022/siemens-element-ng-dashboard.mjs.map +1 -0
  64. package/fesm2022/siemens-element-ng-datatable.mjs +7 -7
  65. package/fesm2022/siemens-element-ng-datatable.mjs.map +1 -1
  66. package/fesm2022/siemens-element-ng-date-range-filter.mjs +87 -73
  67. package/fesm2022/siemens-element-ng-date-range-filter.mjs.map +1 -1
  68. package/fesm2022/siemens-element-ng-datepicker.mjs +120 -158
  69. package/fesm2022/siemens-element-ng-datepicker.mjs.map +1 -1
  70. package/fesm2022/siemens-element-ng-electron-titlebar.mjs +14 -14
  71. package/fesm2022/siemens-element-ng-electron-titlebar.mjs.map +1 -1
  72. package/fesm2022/siemens-element-ng-empty-state.mjs +7 -7
  73. package/fesm2022/siemens-element-ng-empty-state.mjs.map +1 -1
  74. package/fesm2022/siemens-element-ng-file-uploader.mjs +54 -54
  75. package/fesm2022/siemens-element-ng-file-uploader.mjs.map +1 -1
  76. package/fesm2022/siemens-element-ng-filter-bar.mjs +19 -19
  77. package/fesm2022/siemens-element-ng-filter-bar.mjs.map +1 -1
  78. package/fesm2022/siemens-element-ng-filtered-search.mjs +31 -74
  79. package/fesm2022/siemens-element-ng-filtered-search.mjs.map +1 -1
  80. package/fesm2022/siemens-element-ng-footer.mjs +7 -7
  81. package/fesm2022/siemens-element-ng-footer.mjs.map +1 -1
  82. package/fesm2022/siemens-element-ng-form.mjs +126 -271
  83. package/fesm2022/siemens-element-ng-form.mjs.map +1 -1
  84. package/fesm2022/siemens-element-ng-formly.mjs +81 -86
  85. package/fesm2022/siemens-element-ng-formly.mjs.map +1 -1
  86. package/fesm2022/siemens-element-ng-header-dropdown.mjs +24 -23
  87. package/fesm2022/siemens-element-ng-header-dropdown.mjs.map +1 -1
  88. package/fesm2022/siemens-element-ng-help-button.mjs +63 -0
  89. package/fesm2022/siemens-element-ng-help-button.mjs.map +1 -0
  90. package/fesm2022/siemens-element-ng-icon-status.mjs +7 -7
  91. package/fesm2022/siemens-element-ng-icon-status.mjs.map +1 -1
  92. package/fesm2022/siemens-element-ng-icon.mjs +32 -27
  93. package/fesm2022/siemens-element-ng-icon.mjs.map +1 -1
  94. package/fesm2022/siemens-element-ng-info-page.mjs +3 -3
  95. package/fesm2022/siemens-element-ng-info-page.mjs.map +1 -1
  96. package/fesm2022/siemens-element-ng-inline-notification.mjs +7 -7
  97. package/fesm2022/siemens-element-ng-inline-notification.mjs.map +1 -1
  98. package/fesm2022/siemens-element-ng-ip-input.mjs +14 -13
  99. package/fesm2022/siemens-element-ng-ip-input.mjs.map +1 -1
  100. package/fesm2022/siemens-element-ng-landing-page.mjs +7 -7
  101. package/fesm2022/siemens-element-ng-landing-page.mjs.map +1 -1
  102. package/fesm2022/siemens-element-ng-language-switcher.mjs +10 -10
  103. package/fesm2022/siemens-element-ng-language-switcher.mjs.map +1 -1
  104. package/fesm2022/siemens-element-ng-link.mjs +12 -12
  105. package/fesm2022/siemens-element-ng-link.mjs.map +1 -1
  106. package/fesm2022/siemens-element-ng-list-details.mjs +39 -39
  107. package/fesm2022/siemens-element-ng-list-details.mjs.map +1 -1
  108. package/fesm2022/siemens-element-ng-loading-spinner.mjs +19 -19
  109. package/fesm2022/siemens-element-ng-loading-spinner.mjs.map +1 -1
  110. package/fesm2022/siemens-element-ng-localization.mjs +9 -9
  111. package/fesm2022/siemens-element-ng-localization.mjs.map +1 -1
  112. package/fesm2022/siemens-element-ng-main-detail-container.mjs +10 -10
  113. package/fesm2022/siemens-element-ng-main-detail-container.mjs.map +1 -1
  114. package/fesm2022/siemens-element-ng-menu.mjs +38 -38
  115. package/fesm2022/siemens-element-ng-menu.mjs.map +1 -1
  116. package/fesm2022/siemens-element-ng-modal.mjs +8 -8
  117. package/fesm2022/siemens-element-ng-modal.mjs.map +1 -1
  118. package/fesm2022/siemens-element-ng-navbar-vertical.mjs +47 -61
  119. package/fesm2022/siemens-element-ng-navbar-vertical.mjs.map +1 -1
  120. package/fesm2022/siemens-element-ng-navbar.mjs +29 -29
  121. package/fesm2022/siemens-element-ng-navbar.mjs.map +1 -1
  122. package/fesm2022/siemens-element-ng-number-input.mjs +9 -9
  123. package/fesm2022/siemens-element-ng-number-input.mjs.map +1 -1
  124. package/fesm2022/siemens-element-ng-pagination.mjs +14 -14
  125. package/fesm2022/siemens-element-ng-pagination.mjs.map +1 -1
  126. package/fesm2022/siemens-element-ng-password-strength.mjs +13 -16
  127. package/fesm2022/siemens-element-ng-password-strength.mjs.map +1 -1
  128. package/fesm2022/siemens-element-ng-password-toggle.mjs +12 -12
  129. package/fesm2022/siemens-element-ng-password-toggle.mjs.map +1 -1
  130. package/fesm2022/siemens-element-ng-phone-number.mjs +21 -21
  131. package/fesm2022/siemens-element-ng-phone-number.mjs.map +1 -1
  132. package/fesm2022/siemens-element-ng-photo-upload.mjs +26 -26
  133. package/fesm2022/siemens-element-ng-photo-upload.mjs.map +1 -1
  134. package/fesm2022/siemens-element-ng-pills-input.mjs +24 -24
  135. package/fesm2022/siemens-element-ng-pills-input.mjs.map +1 -1
  136. package/fesm2022/siemens-element-ng-popover-next.mjs +36 -25
  137. package/fesm2022/siemens-element-ng-popover-next.mjs.map +1 -1
  138. package/fesm2022/siemens-element-ng-popover.mjs +10 -10
  139. package/fesm2022/siemens-element-ng-popover.mjs.map +1 -1
  140. package/fesm2022/siemens-element-ng-progressbar.mjs +10 -10
  141. package/fesm2022/siemens-element-ng-progressbar.mjs.map +1 -1
  142. package/fesm2022/siemens-element-ng-resize-observer.mjs +15 -15
  143. package/fesm2022/siemens-element-ng-resize-observer.mjs.map +1 -1
  144. package/fesm2022/siemens-element-ng-result-details-list.mjs +8 -20
  145. package/fesm2022/siemens-element-ng-result-details-list.mjs.map +1 -1
  146. package/fesm2022/siemens-element-ng-search-bar.mjs +20 -17
  147. package/fesm2022/siemens-element-ng-search-bar.mjs.map +1 -1
  148. package/fesm2022/siemens-element-ng-select.mjs +73 -73
  149. package/fesm2022/siemens-element-ng-select.mjs.map +1 -1
  150. package/fesm2022/siemens-element-ng-shadow-root.mjs +4 -5
  151. package/fesm2022/siemens-element-ng-shadow-root.mjs.map +1 -1
  152. package/fesm2022/siemens-element-ng-side-panel.mjs +24 -24
  153. package/fesm2022/siemens-element-ng-side-panel.mjs.map +1 -1
  154. package/fesm2022/siemens-element-ng-skip-links.mjs +12 -13
  155. package/fesm2022/siemens-element-ng-skip-links.mjs.map +1 -1
  156. package/fesm2022/siemens-element-ng-slider.mjs +16 -16
  157. package/fesm2022/siemens-element-ng-slider.mjs.map +1 -1
  158. package/fesm2022/siemens-element-ng-sort-bar.mjs +10 -10
  159. package/fesm2022/siemens-element-ng-sort-bar.mjs.map +1 -1
  160. package/fesm2022/siemens-element-ng-split.mjs +13 -29
  161. package/fesm2022/siemens-element-ng-split.mjs.map +1 -1
  162. package/fesm2022/siemens-element-ng-status-bar.mjs +19 -19
  163. package/fesm2022/siemens-element-ng-status-bar.mjs.map +1 -1
  164. package/fesm2022/siemens-element-ng-status-toggle.mjs +7 -7
  165. package/fesm2022/siemens-element-ng-status-toggle.mjs.map +1 -1
  166. package/fesm2022/siemens-element-ng-summary-chip.mjs +3 -3
  167. package/fesm2022/siemens-element-ng-summary-chip.mjs.map +1 -1
  168. package/fesm2022/siemens-element-ng-summary-widget.mjs +5 -5
  169. package/fesm2022/siemens-element-ng-summary-widget.mjs.map +1 -1
  170. package/fesm2022/siemens-element-ng-system-banner.mjs +3 -3
  171. package/fesm2022/siemens-element-ng-system-banner.mjs.map +1 -1
  172. package/fesm2022/siemens-element-ng-tabs-next.mjs +148 -177
  173. package/fesm2022/siemens-element-ng-tabs-next.mjs.map +1 -1
  174. package/fesm2022/siemens-element-ng-tabs.mjs +12 -11
  175. package/fesm2022/siemens-element-ng-tabs.mjs.map +1 -1
  176. package/fesm2022/siemens-element-ng-theme.mjs +5 -5
  177. package/fesm2022/siemens-element-ng-theme.mjs.map +1 -1
  178. package/fesm2022/siemens-element-ng-threshold.mjs +22 -22
  179. package/fesm2022/siemens-element-ng-threshold.mjs.map +1 -1
  180. package/fesm2022/siemens-element-ng-toast-notification.mjs +15 -15
  181. package/fesm2022/siemens-element-ng-toast-notification.mjs.map +1 -1
  182. package/fesm2022/siemens-element-ng-tooltip.mjs +24 -18
  183. package/fesm2022/siemens-element-ng-tooltip.mjs.map +1 -1
  184. package/fesm2022/siemens-element-ng-tour.mjs +19 -19
  185. package/fesm2022/siemens-element-ng-tour.mjs.map +1 -1
  186. package/fesm2022/siemens-element-ng-translate.mjs.map +1 -1
  187. package/fesm2022/siemens-element-ng-tree-view.mjs +72 -97
  188. package/fesm2022/siemens-element-ng-tree-view.mjs.map +1 -1
  189. package/fesm2022/siemens-element-ng-typeahead.mjs +22 -39
  190. package/fesm2022/siemens-element-ng-typeahead.mjs.map +1 -1
  191. package/fesm2022/siemens-element-ng-unauthorized-page.mjs +7 -7
  192. package/fesm2022/siemens-element-ng-unauthorized-page.mjs.map +1 -1
  193. package/fesm2022/siemens-element-ng-wizard.mjs +76 -109
  194. package/fesm2022/siemens-element-ng-wizard.mjs.map +1 -1
  195. package/file-uploader/index.d.ts +419 -4
  196. package/filter-bar/index.d.ts +117 -4
  197. package/filtered-search/index.d.ts +433 -3
  198. package/footer/index.d.ts +23 -6
  199. package/form/index.d.ts +411 -10
  200. package/formly/index.d.ts +217 -2
  201. package/header-dropdown/index.d.ts +150 -5
  202. package/help-button/index.d.ts +26 -0
  203. package/help-button/package.json +3 -0
  204. package/icon/index.d.ts +210 -7
  205. package/icon-status/index.d.ts +33 -6
  206. package/index.d.ts +5 -3
  207. package/info-page/index.d.ts +39 -3
  208. package/inline-notification/index.d.ts +49 -6
  209. package/ip-input/index.d.ts +87 -3
  210. package/landing-page/index.d.ts +95 -3
  211. package/language-switcher/index.d.ts +53 -3
  212. package/link/index.d.ts +127 -4
  213. package/list-details/index.d.ts +176 -12
  214. package/loading-spinner/index.d.ts +128 -9
  215. package/localization/index.d.ts +147 -4
  216. package/main-detail-container/index.d.ts +161 -6
  217. package/menu/index.d.ts +195 -11
  218. package/modal/index.d.ts +129 -3
  219. package/navbar/index.d.ts +304 -4
  220. package/navbar-vertical/index.d.ts +226 -3
  221. package/number-input/index.d.ts +111 -6
  222. package/package.json +21 -13
  223. package/pagination/index.d.ts +75 -6
  224. package/password-strength/index.d.ts +96 -7
  225. package/password-toggle/index.d.ts +49 -6
  226. package/phone-number/index.d.ts +192 -3
  227. package/photo-upload/index.d.ts +304 -4
  228. package/pills-input/index.d.ts +135 -9
  229. package/popover/index.d.ts +98 -6
  230. package/popover-next/index.d.ts +112 -7
  231. package/progressbar/index.d.ts +54 -6
  232. package/resize-observer/index.d.ts +143 -6
  233. package/result-details-list/index.d.ts +58 -3
  234. package/search-bar/index.d.ts +93 -6
  235. package/select/index.d.ts +605 -14
  236. package/shadow-root/index.d.ts +39 -1
  237. package/side-panel/index.d.ts +276 -5
  238. package/skip-links/index.d.ts +24 -3
  239. package/slider/index.d.ts +139 -6
  240. package/sort-bar/index.d.ts +49 -6
  241. package/split/index.d.ts +207 -4
  242. package/status-bar/index.d.ts +178 -3
  243. package/status-toggle/index.d.ts +81 -2
  244. package/summary-chip/index.d.ts +48 -5
  245. package/summary-widget/index.d.ts +48 -5
  246. package/system-banner/index.d.ts +24 -3
  247. package/tabs/index.d.ts +161 -7
  248. package/tabs-next/index.d.ts +121 -7
  249. package/template-i18n.json +5 -3
  250. package/theme/index.d.ts +259 -3
  251. package/threshold/index.d.ts +156 -4
  252. package/toast-notification/index.d.ts +66 -2
  253. package/tooltip/index.d.ts +92 -3
  254. package/tour/index.d.ts +114 -2
  255. package/translate/index.d.ts +199 -3
  256. package/tree-view/index.d.ts +818 -8
  257. package/typeahead/index.d.ts +262 -4
  258. package/unauthorized-page/index.d.ts +42 -4
  259. package/wizard/index.d.ts +209 -7
  260. package/about/si-about-data.model.d.ts +0 -49
  261. package/about/si-about.component.d.ts +0 -71
  262. package/about/si-about.module.d.ts +0 -7
  263. package/accordion/si-accordion-hcollapse.service.d.ts +0 -17
  264. package/accordion/si-accordion.component.d.ts +0 -37
  265. package/accordion/si-accordion.module.d.ts +0 -8
  266. package/accordion/si-accordion.service.d.ts +0 -17
  267. package/accordion/si-collapsible-panel.component.d.ts +0 -89
  268. package/action-modal/si-action-dialog.service.d.ts +0 -49
  269. package/action-modal/si-action-dialog.types.d.ts +0 -92
  270. package/action-modal/si-alert-dialog/si-alert-dialog.component.d.ts +0 -32
  271. package/action-modal/si-confirmation-dialog/si-confirmation-dialog.component.d.ts +0 -40
  272. package/action-modal/si-delete-confirmation-dialog/si-delete-confirmation-dialog.component.d.ts +0 -45
  273. package/action-modal/si-edit-discard-dialog/si-edit-discard-dialog.component.d.ts +0 -68
  274. package/application-header/launchpad/si-launchpad-app.component.d.ts +0 -21
  275. package/application-header/launchpad/si-launchpad-factory.component.d.ts +0 -83
  276. package/application-header/launchpad/si-launchpad.model.d.ts +0 -33
  277. package/application-header/si-application-header.component.d.ts +0 -60
  278. package/application-header/si-header-account-item.component.d.ts +0 -13
  279. package/application-header/si-header-action-item-icon-base.directive.d.ts +0 -26
  280. package/application-header/si-header-action-item.base.d.ts +0 -19
  281. package/application-header/si-header-action-item.component.d.ts +0 -9
  282. package/application-header/si-header-actions.directive.d.ts +0 -5
  283. package/application-header/si-header-brand.directive.d.ts +0 -5
  284. package/application-header/si-header-collapsible-actions.component.d.ts +0 -33
  285. package/application-header/si-header-logo.directive.d.ts +0 -16
  286. package/application-header/si-header-navigation-item.component.d.ts +0 -10
  287. package/application-header/si-header-navigation.component.d.ts +0 -11
  288. package/application-header/si-header-selection-item.component.d.ts +0 -12
  289. package/application-header/si-header-siemens-logo.component.d.ts +0 -21
  290. package/auto-collapsable-list/si-auto-collapsable-list-additional-content.directive.d.ts +0 -6
  291. package/auto-collapsable-list/si-auto-collapsable-list-item.directive.d.ts +0 -29
  292. package/auto-collapsable-list/si-auto-collapsable-list-measurable.class.d.ts +0 -16
  293. package/auto-collapsable-list/si-auto-collapsable-list-overflow-item.directive.d.ts +0 -12
  294. package/auto-collapsable-list/si-auto-collapsable-list.directive.d.ts +0 -47
  295. package/auto-collapsable-list/si-auto-collapsable-list.module.d.ts +0 -10
  296. package/autocomplete/si-autocomplete-listbox.directive.d.ts +0 -31
  297. package/autocomplete/si-autocomplete-option.directive.d.ts +0 -31
  298. package/autocomplete/si-autocomplete.directive.d.ts +0 -14
  299. package/autocomplete/si-autocomplete.model.d.ts +0 -7
  300. package/autocomplete/si-autocomplete.module.d.ts +0 -9
  301. package/avatar/si-avatar-background-color.directive.d.ts +0 -35
  302. package/avatar/si-avatar.component.d.ts +0 -51
  303. package/badge/si-badge.component.d.ts +0 -17
  304. package/breadcrumb/breadcrumb-item.model.d.ts +0 -36
  305. package/breadcrumb/si-breadcrumb-item-template.directive.d.ts +0 -10
  306. package/breadcrumb/si-breadcrumb.component.d.ts +0 -46
  307. package/breadcrumb/si-breadcrumb.module.d.ts +0 -7
  308. package/breadcrumb-router/si-breadcrumb-default-resolver.service.d.ts +0 -23
  309. package/breadcrumb-router/si-breadcrumb-router.component.d.ts +0 -30
  310. package/breadcrumb-router/si-breadcrumb-router.model.d.ts +0 -53
  311. package/breadcrumb-router/si-breadcrumb-router.module.d.ts +0 -7
  312. package/card/si-card.component.d.ts +0 -79
  313. package/card/si-card.module.d.ts +0 -7
  314. package/circle-status/si-circle-status.component.d.ts +0 -66
  315. package/circle-status/si-circle-status.module.d.ts +0 -7
  316. package/color-picker/si-color-picker.component.d.ts +0 -61
  317. package/column-selection-dialog/column-selection-editor/si-column-selection-editor.component.d.ts +0 -23
  318. package/column-selection-dialog/si-column-selection-dialog.component.d.ts +0 -114
  319. package/column-selection-dialog/si-column-selection-dialog.service.d.ts +0 -20
  320. package/column-selection-dialog/si-column-selection-dialog.types.d.ts +0 -68
  321. package/common/decorators/index.d.ts +0 -5
  322. package/common/decorators/webcomponent.decorator.d.ts +0 -6
  323. package/common/helpers/animation.helpers.d.ts +0 -10
  324. package/common/helpers/global-events.helpers.d.ts +0 -5
  325. package/common/helpers/index.d.ts +0 -10
  326. package/common/helpers/overlay-helper.d.ts +0 -24
  327. package/common/helpers/positioning.helpers.d.ts +0 -58
  328. package/common/helpers/rtl.d.ts +0 -6
  329. package/common/helpers/track-by.helper.d.ts +0 -27
  330. package/common/models/color-variant.model.d.ts +0 -8
  331. package/common/models/index.d.ts +0 -8
  332. package/common/models/menu.model.d.ts +0 -85
  333. package/common/models/positions.model.d.ts +0 -18
  334. package/common/models/status-type.model.d.ts +0 -21
  335. package/common/services/blink.service.d.ts +0 -41
  336. package/common/services/index.d.ts +0 -8
  337. package/common/services/scrollbar-helper.service.d.ts +0 -17
  338. package/common/services/si-uistate.service.d.ts +0 -61
  339. package/common/services/text-measure.service.d.ts +0 -21
  340. package/connection-strength/si-connection-strength.component.d.ts +0 -19
  341. package/connection-strength/si-connection-strength.module.d.ts +0 -7
  342. package/content-action-bar/si-content-action-bar-toggle.component.d.ts +0 -6
  343. package/content-action-bar/si-content-action-bar.component.d.ts +0 -72
  344. package/content-action-bar/si-content-action-bar.model.d.ts +0 -9
  345. package/content-action-bar/si-content-action-bar.module.d.ts +0 -7
  346. package/copyright-notice/si-copyright-notice.component.d.ts +0 -18
  347. package/copyright-notice/si-copyright-notice.d.ts +0 -23
  348. package/copyright-notice/si-copyright-notice.module.d.ts +0 -7
  349. package/datatable/si-datatable-interaction.directive.d.ts +0 -34
  350. package/datatable/si-datatable.module.d.ts +0 -7
  351. package/date-range-filter/si-date-range-calculation.service.d.ts +0 -33
  352. package/date-range-filter/si-date-range-filter.component.d.ts +0 -252
  353. package/date-range-filter/si-date-range-filter.module.d.ts +0 -7
  354. package/date-range-filter/si-date-range-filter.types.d.ts +0 -40
  355. package/date-range-filter/si-relative-date.component.d.ts +0 -31
  356. package/datepicker/components/si-calendar-body.component.d.ts +0 -137
  357. package/datepicker/components/si-calendar-date-cell.directive.d.ts +0 -16
  358. package/datepicker/components/si-calendar-direction-button.component.d.ts +0 -18
  359. package/datepicker/components/si-compare-adapter.d.ts +0 -37
  360. package/datepicker/components/si-day-selection.component.d.ts +0 -76
  361. package/datepicker/components/si-initial-focus.component.d.ts +0 -74
  362. package/datepicker/components/si-month-selection.component.d.ts +0 -62
  363. package/datepicker/components/si-year-selection.component.d.ts +0 -65
  364. package/datepicker/date-time-helper.d.ts +0 -302
  365. package/datepicker/si-calendar-button.component.d.ts +0 -49
  366. package/datepicker/si-date-input.directive.d.ts +0 -114
  367. package/datepicker/si-date-range.component.d.ts +0 -150
  368. package/datepicker/si-datepicker-overlay.component.d.ts +0 -82
  369. package/datepicker/si-datepicker-overlay.directive.d.ts +0 -104
  370. package/datepicker/si-datepicker.component.d.ts +0 -228
  371. package/datepicker/si-datepicker.directive.d.ts +0 -62
  372. package/datepicker/si-datepicker.model.d.ts +0 -129
  373. package/datepicker/si-datepicker.module.d.ts +0 -12
  374. package/datepicker/si-timepicker.component.d.ts +0 -214
  375. package/electron-titlebar/electron.helpers.d.ts +0 -5
  376. package/electron-titlebar/si-electron-titlebar.component.d.ts +0 -72
  377. package/electron-titlebar/si-electron-titlebar.module.d.ts +0 -7
  378. package/empty-state/si-empty-state.component.d.ts +0 -18
  379. package/empty-state/si-empty-state.module.d.ts +0 -7
  380. package/file-uploader/si-file-dropzone.component.d.ts +0 -106
  381. package/file-uploader/si-file-uploader.component.d.ts +0 -296
  382. package/file-uploader/si-file-uploader.model.d.ts +0 -12
  383. package/file-uploader/si-file-uploader.module.d.ts +0 -8
  384. package/filter-bar/filter.d.ts +0 -26
  385. package/filter-bar/si-filter-bar.component.d.ts +0 -65
  386. package/filter-bar/si-filter-bar.module.d.ts +0 -7
  387. package/filter-bar/si-filter-pill.component.d.ts +0 -20
  388. package/filtered-search/si-filtered-search-helper.d.ts +0 -22
  389. package/filtered-search/si-filtered-search-value.component.d.ts +0 -53
  390. package/filtered-search/si-filtered-search.component.d.ts +0 -329
  391. package/filtered-search/si-filtered-search.model.d.ts +0 -139
  392. package/filtered-search/si-filtered-search.module.d.ts +0 -7
  393. package/filtered-search/values/date-value/si-filtered-search-date-value.component.d.ts +0 -57
  394. package/filtered-search/values/si-filtered-search-value.base.d.ts +0 -27
  395. package/filtered-search/values/typeahead/si-filtered-search-typeahead.component.d.ts +0 -45
  396. package/footer/si-footer.component.d.ts +0 -14
  397. package/footer/si-footer.module.d.ts +0 -7
  398. package/form/form-fieldset/si-form-fieldset.component.d.ts +0 -40
  399. package/form/si-form-container/si-form-container.component.d.ts +0 -155
  400. package/form/si-form-item/si-form-field-native.control.d.ts +0 -22
  401. package/form/si-form-item/si-form-item.component.d.ts +0 -90
  402. package/form/si-form-item-control-input.directive.d.ts +0 -18
  403. package/form/si-form-item.control.d.ts +0 -35
  404. package/form/si-form-validation-error.model.d.ts +0 -55
  405. package/form/si-form-validation-error.provider.d.ts +0 -11
  406. package/form/si-form-validation-error.service.d.ts +0 -42
  407. package/form/si-form-validation-tooltip/si-form-validation-tooltip.component.d.ts +0 -13
  408. package/form/si-form-validation-tooltip/si-form-validation-tooltip.directive.d.ts +0 -42
  409. package/form/si-form.module.d.ts +0 -25
  410. package/formly/fields/button/si-formly-button.component.d.ts +0 -7
  411. package/formly/fields/date-range/si-formly-date-range.component.d.ts +0 -6
  412. package/formly/fields/datetime/si-formly-datetime.component.d.ts +0 -13
  413. package/formly/fields/email/si-formly-email.component.d.ts +0 -6
  414. package/formly/fields/ip-input/si-formly-ip-input.component.d.ts +0 -6
  415. package/formly/fields/number/si-formly-number.component.d.ts +0 -6
  416. package/formly/fields/password/si-formly-password.component.d.ts +0 -6
  417. package/formly/fields/select/si-formly-select.component.d.ts +0 -6
  418. package/formly/fields/text/si-formly-text-display.component.d.ts +0 -7
  419. package/formly/fields/textarea/si-formly-textarea.component.d.ts +0 -18
  420. package/formly/fields/time/si-formly-time.component.d.ts +0 -13
  421. package/formly/si-formly-translate.extension.d.ts +0 -9
  422. package/formly/si-formly.component.d.ts +0 -62
  423. package/formly/si-formly.module.d.ts +0 -35
  424. package/formly/structural/si-formly-accordion/si-formly-accordion.component.d.ts +0 -13
  425. package/formly/structural/si-formly-array/si-formly-array.component.d.ts +0 -6
  426. package/formly/structural/si-formly-object/si-formly-object.component.d.ts +0 -6
  427. package/formly/structural/si-formly-object-grid/si-formly-object-grid.component.d.ts +0 -22
  428. package/formly/structural/si-formly-object-grid/si-formly-object-grid.model.d.ts +0 -21
  429. package/formly/structural/si-formly-object-plain/si-formly-object-plain.component.d.ts +0 -6
  430. package/formly/structural/si-formly-tabset/si-formly-object-tabset.component.d.ts +0 -7
  431. package/formly/utils.d.ts +0 -6
  432. package/formly/wrapper/si-formly-fieldset.component.d.ts +0 -8
  433. package/formly/wrapper/si-formly-form-field-provider.directive.d.ts +0 -19
  434. package/formly/wrapper/si-formly-horizontal-wrapper.component.d.ts +0 -6
  435. package/formly/wrapper/si-formly-icon-wrapper.component.d.ts +0 -6
  436. package/formly/wrapper/si-formly-wrapper.component.d.ts +0 -8
  437. package/header-dropdown/si-header-dropdown-item.component.d.ts +0 -23
  438. package/header-dropdown/si-header-dropdown-items-factory.component.d.ts +0 -14
  439. package/header-dropdown/si-header-dropdown-trigger.directive.d.ts +0 -57
  440. package/header-dropdown/si-header-dropdown.component.d.ts +0 -20
  441. package/header-dropdown/si-header.model.d.ts +0 -37
  442. package/icon/element-icons.d.ts +0 -55
  443. package/icon/icon-status.d.ts +0 -22
  444. package/icon/si-icon-next.component.d.ts +0 -64
  445. package/icon/si-icon.component.d.ts +0 -23
  446. package/icon/si-icon.module.d.ts +0 -7
  447. package/icon/si-icons.d.ts +0 -31
  448. package/icon/si-status-icon.component.d.ts +0 -9
  449. package/icon-status/si-icon-status.component.d.ts +0 -24
  450. package/icon-status/si-icon-status.module.d.ts +0 -7
  451. package/info-page/si-info-page.component.d.ts +0 -38
  452. package/inline-notification/si-inline-notification.component.d.ts +0 -40
  453. package/inline-notification/si-inline-notification.module.d.ts +0 -7
  454. package/ip-input/address-utils.d.ts +0 -28
  455. package/ip-input/address-validators.d.ts +0 -21
  456. package/ip-input/si-ip-input.directive.d.ts +0 -53
  457. package/ip-input/si-ip4-input.directive.d.ts +0 -9
  458. package/ip-input/si-ip6-input.directive.d.ts +0 -10
  459. package/landing-page/alert-config.model.d.ts +0 -15
  460. package/landing-page/si-landing-page.component.d.ts +0 -74
  461. package/landing-page/si-landing-page.module.d.ts +0 -7
  462. package/language-switcher/iso-language-value.d.ts +0 -14
  463. package/language-switcher/si-language-switcher.component.d.ts +0 -31
  464. package/language-switcher/si-language-switcher.module.d.ts +0 -7
  465. package/link/aria-current.model.d.ts +0 -5
  466. package/link/link.model.d.ts +0 -57
  467. package/link/si-link-action.service.d.ts +0 -17
  468. package/link/si-link.directive.d.ts +0 -42
  469. package/link/si-link.module.d.ts +0 -7
  470. package/list-details/si-details-pane/si-details-pane.component.d.ts +0 -8
  471. package/list-details/si-details-pane-body/si-details-pane-body.component.d.ts +0 -6
  472. package/list-details/si-details-pane-footer/si-details-pane-footer.component.d.ts +0 -6
  473. package/list-details/si-details-pane-header/si-details-pane-header.component.d.ts +0 -38
  474. package/list-details/si-list-details.component.d.ts +0 -100
  475. package/list-details/si-list-pane/si-list-pane.component.d.ts +0 -10
  476. package/list-details/si-list-pane-body/si-list-pane-body.component.d.ts +0 -6
  477. package/list-details/si-list-pane-header/si-list-pane-header.component.d.ts +0 -6
  478. package/loading-spinner/si-loading-button.component.d.ts +0 -31
  479. package/loading-spinner/si-loading-spinner.component.d.ts +0 -32
  480. package/loading-spinner/si-loading-spinner.directive.d.ts +0 -37
  481. package/loading-spinner/si-loading-spinner.module.d.ts +0 -8
  482. package/loading-spinner/si-loading-spinner.service.d.ts +0 -18
  483. package/localization/si-directionality.d.ts +0 -41
  484. package/localization/si-locale-id.d.ts +0 -22
  485. package/localization/si-locale-store.d.ts +0 -16
  486. package/localization/si-locale.service.d.ts +0 -73
  487. package/main-detail-container/si-main-detail-container.component.d.ts +0 -151
  488. package/main-detail-container/si-main-detail-container.module.d.ts +0 -7
  489. package/menu/si-menu-action.service.d.ts +0 -13
  490. package/menu/si-menu-bar.directive.d.ts +0 -12
  491. package/menu/si-menu-divider.directive.d.ts +0 -5
  492. package/menu/si-menu-factory-item-guard.directive.d.ts +0 -11
  493. package/menu/si-menu-factory.component.d.ts +0 -15
  494. package/menu/si-menu-header.directive.d.ts +0 -5
  495. package/menu/si-menu-item-base.directive.d.ts +0 -16
  496. package/menu/si-menu-item-checkbox.component.d.ts +0 -11
  497. package/menu/si-menu-item-radio.component.d.ts +0 -10
  498. package/menu/si-menu-item.component.d.ts +0 -10
  499. package/menu/si-menu-model.d.ts +0 -91
  500. package/menu/si-menu.directive.d.ts +0 -6
  501. package/menu/si-menu.module.d.ts +0 -14
  502. package/modal/modal.helpers.d.ts +0 -8
  503. package/modal/modalref.d.ts +0 -64
  504. package/modal/si-modal.component.d.ts +0 -32
  505. package/modal/si-modal.service.d.ts +0 -57
  506. package/navbar/account.model.d.ts +0 -39
  507. package/navbar/si-navbar-item/index.d.ts +0 -5
  508. package/navbar/si-navbar-item/si-navbar-item.component.d.ts +0 -29
  509. package/navbar/si-navbar-primary/index.d.ts +0 -6
  510. package/navbar/si-navbar-primary/si-navbar-primary.component.d.ts +0 -198
  511. package/navbar/si-navbar-primary/si-navbar-primary.model.d.ts +0 -34
  512. package/navbar/si-navbar.module.d.ts +0 -9
  513. package/navbar-vertical/si-navbar-vertical-divider.component.d.ts +0 -5
  514. package/navbar-vertical/si-navbar-vertical-group-trigger.directive.d.ts +0 -38
  515. package/navbar-vertical/si-navbar-vertical-group.component.d.ts +0 -16
  516. package/navbar-vertical/si-navbar-vertical-header.component.d.ts +0 -6
  517. package/navbar-vertical/si-navbar-vertical-item-legacy.component.d.ts +0 -17
  518. package/navbar-vertical/si-navbar-vertical-item.component.d.ts +0 -21
  519. package/navbar-vertical/si-navbar-vertical.component.d.ts +0 -148
  520. package/navbar-vertical/si-navbar-vertical.model.d.ts +0 -77
  521. package/navbar-vertical/si-navbar-vertical.module.d.ts +0 -7
  522. package/navbar-vertical/si-navbar-vertical.provider.d.ts +0 -7
  523. package/number-input/si-number-input.component.d.ts +0 -106
  524. package/number-input/si-number-input.module.d.ts +0 -7
  525. package/pagination/si-pagination.component.d.ts +0 -65
  526. package/pagination/si-pagination.module.d.ts +0 -7
  527. package/password-strength/si-password-strength.component.d.ts +0 -25
  528. package/password-strength/si-password-strength.directive.d.ts +0 -65
  529. package/password-strength/si-password-strength.module.d.ts +0 -8
  530. package/password-toggle/si-password-toggle.component.d.ts +0 -39
  531. package/password-toggle/si-password-toggle.module.d.ts +0 -7
  532. package/phone-number/si-phone-number-input-select.directive.d.ts +0 -10
  533. package/phone-number/si-phone-number-input.component.d.ts +0 -137
  534. package/phone-number/si-phone-number-input.models.d.ts +0 -48
  535. package/phone-number/si-phone-number-input.module.d.ts +0 -7
  536. package/photo-upload/si-image-cropper-style.component.d.ts +0 -5
  537. package/photo-upload/si-photo-upload.component.d.ts +0 -298
  538. package/pills-input/si-input-pill.component.d.ts +0 -9
  539. package/pills-input/si-pills-input-csv.directive.d.ts +0 -8
  540. package/pills-input/si-pills-input-email.directive.d.ts +0 -10
  541. package/pills-input/si-pills-input-pattern-base.d.ts +0 -19
  542. package/pills-input/si-pills-input-value-handler.d.ts +0 -12
  543. package/pills-input/si-pills-input.component.d.ts +0 -87
  544. package/pills-input/si-pills-input.module.d.ts +0 -9
  545. package/popover/si-popover.component.d.ts +0 -26
  546. package/popover/si-popover.directive.d.ts +0 -89
  547. package/popover/si-popover.module.d.ts +0 -7
  548. package/popover-next/si-popover-description.directive.d.ts +0 -7
  549. package/popover-next/si-popover-next.directive.d.ts +0 -61
  550. package/popover-next/si-popover-title.directive.d.ts +0 -7
  551. package/popover-next/si-popover.component.d.ts +0 -27
  552. package/progressbar/si-progressbar.component.d.ts +0 -43
  553. package/progressbar/si-progressbar.module.d.ts +0 -7
  554. package/public-api.d.ts +0 -5
  555. package/resize-observer/resize-observer.service.d.ts +0 -41
  556. package/resize-observer/si-resize-observer.directive.d.ts +0 -31
  557. package/resize-observer/si-resize-observer.module.d.ts +0 -8
  558. package/resize-observer/si-responsive-container.directive.d.ts +0 -73
  559. package/result-details-list/si-result-details-list.component.d.ts +0 -14
  560. package/result-details-list/si-result-details-list.datamodel.d.ts +0 -48
  561. package/result-details-list/si-result-details-list.module.d.ts +0 -7
  562. package/search-bar/si-search-bar.component.d.ts +0 -87
  563. package/search-bar/si-search-bar.module.d.ts +0 -7
  564. package/select/options/si-select-complex-options.directive.d.ts +0 -69
  565. package/select/options/si-select-lazy-options.directive.d.ts +0 -38
  566. package/select/options/si-select-option.source.d.ts +0 -49
  567. package/select/options/si-select-options-strategy.base.d.ts +0 -35
  568. package/select/options/si-select-options-strategy.d.ts +0 -37
  569. package/select/options/si-select-simple-options.directive.d.ts +0 -34
  570. package/select/select-input/si-select-input.component.d.ts +0 -43
  571. package/select/select-list/si-select-list-has-filter.component.d.ts +0 -20
  572. package/select/select-list/si-select-list.base.d.ts +0 -37
  573. package/select/select-list/si-select-list.component.d.ts +0 -15
  574. package/select/select-option/si-select-option-row.component.d.ts +0 -16
  575. package/select/select-option/si-select-option.component.d.ts +0 -9
  576. package/select/selection/si-select-multi-value.directive.d.ts +0 -26
  577. package/select/selection/si-select-selection-strategy.d.ts +0 -58
  578. package/select/selection/si-select-single-value.directive.d.ts +0 -26
  579. package/select/si-select-action.directive.d.ts +0 -12
  580. package/select/si-select-actions.directive.d.ts +0 -5
  581. package/select/si-select-group-template.directive.d.ts +0 -20
  582. package/select/si-select-option-row-template.directive.d.ts +0 -9
  583. package/select/si-select-option-template.directive.d.ts +0 -21
  584. package/select/si-select.component.d.ts +0 -96
  585. package/select/si-select.module.d.ts +0 -15
  586. package/select/si-select.types.d.ts +0 -65
  587. package/shadow-root/si-shadow-root.directive.d.ts +0 -39
  588. package/side-panel/si-side-panel-content.component.d.ts +0 -105
  589. package/side-panel/si-side-panel.component.d.ts +0 -108
  590. package/side-panel/si-side-panel.module.d.ts +0 -8
  591. package/side-panel/si-side-panel.service.d.ts +0 -45
  592. package/side-panel/side-panel.model.d.ts +0 -16
  593. package/skip-links/si-skip-link-target.directive.d.ts +0 -27
  594. package/skip-links/si-skip-links.component.d.ts +0 -9
  595. package/skip-links/skip-link.service.d.ts +0 -14
  596. package/slider/si-slider.component.d.ts +0 -129
  597. package/slider/si-slider.module.d.ts +0 -7
  598. package/sort-bar/si-sort-bar.component.d.ts +0 -42
  599. package/sort-bar/si-sort-bar.module.d.ts +0 -7
  600. package/split/si-split-part.component.d.ts +0 -154
  601. package/split/si-split.component.d.ts +0 -48
  602. package/split/si-split.interfaces.d.ts +0 -17
  603. package/split/si-split.module.d.ts +0 -8
  604. package/status-bar/si-status-bar-item/index.d.ts +0 -6
  605. package/status-bar/si-status-bar-item/si-status-bar-item.component.d.ts +0 -22
  606. package/status-bar/si-status-bar-item/si-status-bar-item.model.d.ts +0 -33
  607. package/status-bar/si-status-bar.component.d.ts +0 -116
  608. package/status-bar/si-status-bar.module.d.ts +0 -7
  609. package/status-toggle/si-status-toggle.component.d.ts +0 -54
  610. package/status-toggle/status-toggle.model.d.ts +0 -26
  611. package/summary-chip/si-summary-chip.component.d.ts +0 -44
  612. package/summary-widget/si-summary-widget.component.d.ts +0 -44
  613. package/system-banner/system-banner.component.d.ts +0 -23
  614. package/tabs/si-tab/index.d.ts +0 -5
  615. package/tabs/si-tab/si-tab.component.d.ts +0 -58
  616. package/tabs/si-tabs.module.d.ts +0 -8
  617. package/tabs/si-tabset/index.d.ts +0 -5
  618. package/tabs/si-tabset/si-tabset.component.d.ts +0 -100
  619. package/tabs-next/si-tab-next-base.directive.d.ts +0 -63
  620. package/tabs-next/si-tab-next-link.component.d.ts +0 -16
  621. package/tabs-next/si-tab-next.component.d.ts +0 -16
  622. package/tabs-next/si-tabs-tokens.d.ts +0 -7
  623. package/tabs-next/si-tabset-next.component.d.ts +0 -57
  624. package/theme/si-theme-store.d.ts +0 -82
  625. package/theme/si-theme.model.d.ts +0 -48
  626. package/theme/si-theme.service.d.ts +0 -129
  627. package/threshold/si-readonly-threshold-option.component.d.ts +0 -11
  628. package/threshold/si-threshold.component.d.ts +0 -147
  629. package/threshold/si-threshold.module.d.ts +0 -7
  630. package/toast-notification/si-toast-notification/si-toast-notification.component.d.ts +0 -17
  631. package/toast-notification/si-toast-notification-drawer/si-toast-notification-drawer.component.d.ts +0 -9
  632. package/toast-notification/si-toast-notification.service.d.ts +0 -41
  633. package/toast-notification/si-toast.model.d.ts +0 -25
  634. package/tooltip/si-tooltip.component.d.ts +0 -25
  635. package/tooltip/si-tooltip.directive.d.ts +0 -45
  636. package/tooltip/si-tooltip.module.d.ts +0 -7
  637. package/tooltip/si-tooltip.service.d.ts +0 -44
  638. package/tour/si-tour-highlight.component.d.ts +0 -15
  639. package/tour/si-tour-token.model.d.ts +0 -27
  640. package/tour/si-tour.component.d.ts +0 -31
  641. package/tour/si-tour.model.d.ts +0 -51
  642. package/tour/si-tour.service.d.ts +0 -62
  643. package/translate/si-translatable-keys.interface.d.ts +0 -188
  644. package/translate/si-translatable-overrides.provider.d.ts +0 -7
  645. package/tree-view/drag-drop.util.d.ts +0 -32
  646. package/tree-view/si-tree-view-converter.service.d.ts +0 -41
  647. package/tree-view/si-tree-view-item/si-tree-view-item.component.d.ts +0 -105
  648. package/tree-view/si-tree-view-item/si-tree-view-item.directive.d.ts +0 -24
  649. package/tree-view/si-tree-view-item-context.d.ts +0 -11
  650. package/tree-view/si-tree-view-item-height.service.d.ts +0 -49
  651. package/tree-view/si-tree-view-item-template.directive.d.ts +0 -18
  652. package/tree-view/si-tree-view-virtualization.service.d.ts +0 -150
  653. package/tree-view/si-tree-view.component.d.ts +0 -466
  654. package/tree-view/si-tree-view.model.d.ts +0 -146
  655. package/tree-view/si-tree-view.module.d.ts +0 -10
  656. package/tree-view/si-tree-view.service.d.ts +0 -55
  657. package/tree-view/si-tree-view.utils.d.ts +0 -46
  658. package/typeahead/si-typeahead-item-template.directive.d.ts +0 -7
  659. package/typeahead/si-typeahead.component.d.ts +0 -22
  660. package/typeahead/si-typeahead.directive.d.ts +0 -196
  661. package/typeahead/si-typeahead.model.d.ts +0 -60
  662. package/typeahead/si-typeahead.module.d.ts +0 -8
  663. package/typeahead/si-typeahead.sorting.d.ts +0 -10
  664. package/unauthorized-page/si-unauthorized-page.component.d.ts +0 -35
  665. package/unauthorized-page/si-unauthorized-page.module.d.ts +0 -7
  666. package/wizard/si-wizard-step.component.d.ts +0 -21
  667. package/wizard/si-wizard.component.d.ts +0 -196
  668. package/wizard/si-wizard.module.d.ts +0 -8
@@ -1 +1 @@
1
- {"version":3,"file":"siemens-element-ng-theme.mjs","sources":["../../../../projects/element-ng/theme/si-theme-store.ts","../../../../projects/element-ng/theme/si-theme.model.ts","../../../../projects/element-ng/theme/si-theme.service.ts","../../../../projects/element-ng/theme/index.ts","../../../../projects/element-ng/theme/siemens-element-ng-theme.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Observable, of } from 'rxjs';\n\nimport { Theme } from './si-theme.model';\n\n/**\n * SiThemeStore object is used by the theme service to load and\n * store the themes. You can inject your own implementation to provide\n * a backend implementation. Otherwise a localStorage based implementation\n * is used.\n */\nexport abstract class SiThemeStore {\n /**\n * Load and return an alternative custom theme, other then\n * the default element theme. This method is invoked initially\n * to check for an alternative custom theme.\n * @returns The active theme to be used, or undefined if the\n * default element theme shall be used. All wrapped in an observable\n * that can also emit errors.\n */\n abstract loadActiveTheme(): Observable<Theme | undefined>;\n /**\n * Sets the theme with the given name to active.\n * @param name - The name of the theme to become active.\n * @returns True on success, otherwise false.\n */\n abstract activateTheme(name: string): Observable<boolean>;\n /**\n * Deactivate any active theme and makes the element theme the default one.\n * @returns True on success, otherwise false.\n */\n abstract deactivateTheme(): Observable<boolean>;\n /**\n * Load and return the available theme names.\n * @returns An `Observable` of available theme names, other than the\n * default element theme.\n */\n abstract loadThemeNames(): Observable<string[]>;\n /**\n * Load theme with the given `name`.\n * @param name - The name of the theme to be returned.\n * @returns Observable with the named theme or `undefined` if no such theme exist.\n */\n abstract loadTheme(name: string): Observable<Theme | undefined>;\n /**\n * Saves a theme to the store. The name shall not be empty. A theme with\n * identical name gets overwritten.\n * @param theme - The theme to be saved.\n * @returns True on success, otherwise false. All nicely wrapped in\n * an observable that may also emit errors.\n */\n abstract saveTheme(theme: Theme): Observable<boolean>;\n /**\n * Deletes the theme with the given name from the store.\n * @param name - The name of the theme to be deleted.\n * @returns True on success, otherwise false. All nicely wrapped in\n * an observable that may also emit errors. Returns false,\n * if the theme does not exist.\n */\n abstract deleteTheme(name: string): Observable<boolean>;\n}\n\nexport const SI_THEME_LOCAL_STORAGE_KEY = 'si-themes';\n\nexport interface ThemeStorage {\n activeTheme: string | undefined;\n themes: { [key: string]: Theme };\n}\n\nexport class SiDefaultThemeStore extends SiThemeStore {\n private isBrowser: boolean;\n\n constructor(isBrowser: boolean) {\n super();\n this.isBrowser = isBrowser;\n }\n\n loadActiveTheme(): Observable<Theme | undefined> {\n if (!this.isBrowser) {\n return of(undefined);\n }\n\n const store = this.loadStore();\n if (store.activeTheme) {\n return of(store.themes[store.activeTheme]);\n } else {\n return of(undefined);\n }\n }\n\n activateTheme(name: string): Observable<boolean> {\n if (!this.isBrowser) {\n return of(false);\n }\n\n const store = this.loadStore();\n if (store.themes[name]) {\n store.activeTheme = name;\n this.saveStore(store);\n return of(true);\n } else {\n return of(false);\n }\n }\n\n deactivateTheme(): Observable<boolean> {\n if (!this.isBrowser) {\n return of(false);\n }\n\n const store = this.loadStore();\n store.activeTheme = undefined;\n this.saveStore(store);\n return of(true);\n }\n\n loadThemeNames(): Observable<string[]> {\n if (!this.isBrowser) {\n return of([]);\n }\n const store = this.loadStore();\n return of(Array.from(Object.keys(store.themes)));\n }\n\n saveTheme(theme: Theme): Observable<boolean> {\n if (!this.isBrowser) {\n return of(false);\n }\n\n const store = this.loadStore();\n store.themes[theme.name] = theme;\n this.saveStore(store);\n return of(true);\n }\n\n loadTheme(name: string): Observable<Theme | undefined> {\n if (!this.isBrowser) {\n return of(undefined);\n }\n const store = this.loadStore();\n return of(store.themes[name]);\n }\n\n deleteTheme(name: string): Observable<boolean> {\n if (!this.isBrowser) {\n return of(false);\n }\n\n const store = this.loadStore();\n delete store.themes[name];\n if (store.activeTheme === name) {\n store.activeTheme = undefined;\n }\n this.saveStore(store);\n return of(true);\n }\n\n private loadStore(): ThemeStorage {\n const storeStr = localStorage.getItem(SI_THEME_LOCAL_STORAGE_KEY);\n if (storeStr) {\n return JSON.parse(storeStr) as ThemeStorage;\n } else {\n return { activeTheme: undefined, themes: {} };\n }\n }\n\n private saveStore(store: ThemeStorage): void {\n localStorage.setItem(SI_THEME_LOCAL_STORAGE_KEY, JSON.stringify(store));\n }\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nexport interface ThemeDescription {\n name: string;\n groups: ThemePropertyGroup[];\n}\n\nexport interface ThemePropertyGroup {\n name: string;\n description?: string;\n properties: ThemeProperty[];\n}\n\nexport interface ThemeProperty {\n name: string;\n usage: string;\n type: ThemePropertyType;\n}\n\nexport type ThemePropertyType = 'color' | 'gradient' | 'font' | 'url' | 'text' | 'number';\n\nexport interface Theme {\n name: string;\n schemes: ThemeColorSchemes;\n /**\n * A map of icons that overrides the default Element icons.\n * The key must be the key of the original icon that should be overridden.\n * The value has to be a data SVG string.\n *\n * @example\n * ```ts\n * {\n * elementUser: \"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'>...</svg>\"\n * }\n * ```\n *\n * @experimental\n */\n icons?: Record<string, string>;\n}\n\nexport interface ThemeColorSchemes {\n light?: ThemeColorScheme;\n dark?: ThemeColorScheme;\n}\n\nexport type ThemeColorScheme = { [key: string]: string };\n\nexport type ThemeType = 'dark' | 'light' | 'auto';\n\nexport const ELEMENT_THEME_NAME = 'element';\n\nexport const elementTheme: ThemeDescription = {\n name: 'element',\n groups: [\n {\n name: 'Branding',\n description: 'Configure the brand logo.',\n properties: [\n {\n name: '--element-brand-logo',\n usage: 'Enter a brand logo in the format: \\'url(\"https://company/logo.svg\")\\'',\n type: 'text'\n },\n {\n name: '--element-brand-logo-width',\n usage: \"Enter the width of the logo as CSS width value. Example: '100px'\",\n type: 'text'\n },\n {\n name: '--element-brand-logo-height',\n usage: \"Enter the height of the logo as CSS width value. Max: 48px; Example: '16px'\",\n type: 'text'\n },\n {\n name: '--element-brand-logo-text',\n usage:\n 'Enter a textual representation of the logo. Example: \\'\"Siemens logo\"\\'. The text must be wrapped in double quotes.',\n type: 'text'\n }\n ]\n },\n {\n name: 'Basic definitions',\n description: 'Basic definitions',\n properties: [\n {\n name: '--element-body-font-family',\n usage: 'The theme only uses one font everywhere.',\n type: 'font'\n },\n { name: '--element-button-radius', usage: 'Button border radius', type: 'text' },\n { name: '--element-button-focus-width', usage: 'Focus width', type: 'text' },\n {\n name: '--element-button-focus-overlay-width',\n usage: 'Focus overlay width',\n type: 'text'\n },\n {\n name: '--element-button-focus-overlay-color',\n usage: 'Focus overlay color',\n type: 'text'\n },\n { name: '--element-input-radius', usage: 'Input field border radius', type: 'text' },\n { name: '--element-logo-color', usage: 'Logo color', type: 'text' },\n { name: '--element-radius-1', usage: 'Border radius-1', type: 'text' },\n { name: '--element-radius-2', usage: 'Border radius-2', type: 'text' },\n { name: '--element-radius-3', usage: 'Border radius-3', type: 'text' }\n ]\n },\n {\n name: 'UI',\n description:\n 'UI colors are used on structural properties and icons and provide good contrast when used over any background.',\n properties: [\n { name: '--element-ui-0', usage: 'Logo, selected (active) elements', type: 'color' },\n { name: '--element-ui-0-hover', usage: 'Selected hover', type: 'color' },\n { name: '--element-ui-1', usage: 'Primary icons', type: 'color' },\n { name: '--element-ui-2', usage: 'Secondary icons', type: 'color' },\n { name: '--element-ui-3', usage: 'Disabled', type: 'color' },\n { name: '--element-ui-4', usage: 'Borders', type: 'color' },\n { name: '--element-ui-5', usage: 'Inverse', type: 'color' },\n { name: '--element-ui-6', usage: 'Shadows', type: 'color' },\n { name: '--element-box-shadow-color-1', usage: 'Box shadow color 1', type: 'color' },\n { name: '--element-box-shadow-color-2', usage: 'Box shadow color 2', type: 'color' },\n { name: '--element-focus-default', usage: 'Default focus color', type: 'color' }\n ]\n },\n {\n name: 'Base',\n description: 'Base colors are used as backgrounds of containers.',\n properties: [\n { name: '--element-base-0', usage: 'Page background, row background', type: 'color' },\n {\n name: '--element-base-1',\n usage: 'Header, navigation, card, table background',\n type: 'color'\n },\n {\n name: '--element-base-1-hover',\n usage: 'Hover on base-1 backgrounds, like table, tree, or menu',\n type: 'color'\n },\n {\n name: '--element-base-1-selected',\n usage: 'Selected on base-1 backgrounds, like table, tree, or menu',\n type: 'color'\n },\n {\n name: '--element-base-2',\n usage: 'Page background with higher contrast pages in dark mode',\n type: 'color'\n },\n {\n name: '--element-base-information',\n usage: 'Informational component background for e.g. badges',\n type: 'gradient'\n },\n {\n name: '--element-base-success',\n usage: 'Success component background for e.g. badges',\n type: 'gradient'\n },\n {\n name: '--element-base-caution',\n usage: 'Caution component background for e.g. badges',\n type: 'gradient'\n },\n {\n name: '--element-base-warning',\n usage: 'Warning component background for e.g. badges',\n type: 'gradient'\n },\n {\n name: '--element-base-danger',\n usage: 'Danger component background for e.g. badges',\n type: 'gradient'\n },\n {\n name: '--element-base-translucent-1',\n usage: 'Translucent background, e.g. backdrop',\n type: 'gradient'\n },\n {\n name: '--element-base-translucent-2',\n usage: 'Slightly translucent background, e.g. toasts',\n type: 'gradient'\n }\n ]\n },\n {\n name: 'Actions',\n description: 'Action colors are used to indicate actions that users can perform.',\n properties: [\n { name: '--element-action-primary', usage: 'Primary interaction', type: 'gradient' },\n {\n name: '--element-action-primary-hover',\n usage: 'Primary action background on hover',\n type: 'gradient'\n },\n { name: '--element-action-primary-text', usage: 'Primary text color', type: 'color' },\n { name: '--element-action-secondary', usage: 'Secondary interaction', type: 'gradient' },\n {\n name: '--element-action-secondary-hover',\n usage: 'Secondary action background on hover',\n type: 'gradient'\n },\n { name: '--element-action-secondary-text', usage: 'Secondary text color', type: 'color' },\n {\n name: '--element-action-secondary-text-hover',\n usage: 'Secondary text color on hover',\n type: 'color'\n },\n {\n name: '--element-action-secondary-border',\n usage: 'Secondary border color',\n type: 'color'\n },\n {\n name: '--element-action-secondary-border-hover',\n usage: 'Secondary border color on hover',\n type: 'color'\n },\n { name: '--element-action-warning', usage: 'Warning', type: 'gradient' },\n {\n name: '--element-action-warning-hover',\n usage: 'Warning action background on hover',\n type: 'gradient'\n },\n { name: '--element-action-warning-text', usage: 'Warning text color', type: 'color' },\n { name: '--element-action-danger', usage: 'Danger', type: 'gradient' },\n {\n name: '--element-action-danger-hover',\n usage: 'Danger action background on hover',\n type: 'gradient'\n },\n { name: '--element-action-danger-text', usage: 'Danger text color', type: 'color' },\n {\n name: '--element-action-disabled-opacity',\n usage: 'Disabled action opacity',\n type: 'number'\n }\n ]\n },\n {\n name: 'Text',\n description: 'Similarly, categories for typography colors are also defined in this system.',\n properties: [\n { name: '--element-text-primary', usage: 'Primary', type: 'color' },\n { name: '--element-text-secondary', usage: 'Secondary', type: 'color' },\n { name: '--element-text-disabled', usage: 'Disabled', type: 'color' },\n { name: '--element-text-inverse', usage: 'Inverse', type: 'color' },\n { name: '--element-text-active', usage: 'Active', type: 'color' },\n { name: '--element-text-information', usage: 'Informational', type: 'color' },\n { name: '--element-text-success', usage: 'Success', type: 'color' },\n { name: '--element-text-caution', usage: 'Caution', type: 'color' },\n { name: '--element-text-warning', usage: 'Warning', type: 'color' },\n { name: '--element-text-danger', usage: 'Danger', type: 'color' }\n ]\n },\n {\n name: 'Status',\n description:\n 'Status colors are used to describe and/or report on the status of different things.',\n properties: [\n { name: '--element-status-information', usage: 'Informational', type: 'color' },\n {\n name: '--element-status-information-contrast',\n usage: 'Informational contrast',\n type: 'color'\n },\n { name: '--element-status-success', usage: 'Success', type: 'color' },\n { name: '--element-status-success-contrast', usage: 'Success contrast', type: 'color' },\n { name: '--element-status-caution', usage: 'Caution', type: 'color' },\n { name: '--element-status-caution-contrast', usage: 'Caution contrast', type: 'color' },\n { name: '--element-status-warning', usage: 'Warning', type: 'color' },\n { name: '--element-status-warning-contrast', usage: 'Warning contrast', type: 'color' },\n { name: '--element-status-danger', usage: 'Danger', type: 'color' },\n { name: '--element-status-danger-contrast', usage: 'Danger contrast', type: 'color' }\n ]\n },\n {\n name: 'Form feedback icons',\n description: 'Icons that are used to indicate a form item status',\n properties: [{ name: '--element-invalid-feedback-icon', usage: 'Danger', type: 'text' }]\n }\n ]\n};\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { DOCUMENT, isPlatformBrowser } from '@angular/common';\nimport { EventEmitter, inject, Injectable, PLATFORM_ID, signal } from '@angular/core';\nimport { DomSanitizer, Meta, SafeHtml } from '@angular/platform-browser';\nimport { Observable, of, ReplaySubject, throwError } from 'rxjs';\nimport { map, switchMap, take, tap } from 'rxjs/operators';\n\nimport { SiDefaultThemeStore, SiThemeStore } from './si-theme-store';\nimport {\n ELEMENT_THEME_NAME,\n Theme,\n ThemeColorScheme,\n ThemeColorSchemes,\n ThemeType\n} from './si-theme.model';\n\n@Injectable({ providedIn: 'root' })\nexport class SiThemeService {\n /**\n * The current color scheme. (e.g. light or dark).\n */\n private _resolvedColorScheme: ThemeType | undefined = 'light';\n private resolvedColorSchemeSub = new ReplaySubject<keyof ThemeColorSchemes>(1);\n /**\n * Emits events when the color scheme changes.\n *\n * @defaultValue this.resolvedColorSchemeSub.asObservable()\n */\n readonly resolvedColorScheme$ = this.resolvedColorSchemeSub.asObservable();\n /**\n * The current color scheme. (e.g. light or dark).\n */\n get resolvedColorScheme(): ThemeType | undefined {\n return this._resolvedColorScheme;\n }\n\n /**\n * All available theme names, including element theme name.\n */\n private _themeNames: string[] = [ELEMENT_THEME_NAME];\n private themeNamesSub = new ReplaySubject<string[]>(1);\n /**\n * Emits events when the list of available theme names changes.\n *\n * @defaultValue this.themeNamesSub.asObservable()\n */\n readonly themeNames$ = this.themeNamesSub.asObservable();\n\n /**\n * All available theme names, including element theme name.\n */\n get themeNames(): string[] {\n return this._themeNames;\n }\n\n /**\n * Emits events when the currently applied theme changes. Either by\n * changing to another theme or by re-applying a theme with updated\n * properties. When switching to default theme element, `undefined`\n * is emitted.\n */\n readonly themeChange = new EventEmitter<Theme | undefined>();\n\n /**\n * The name of the theme that is active. Theme name `element` is the default.\n */\n activeThemeName?: string;\n /**\n * Icon overrides by the currently activeTheme.\n * @defaultValue\n * ```\n * {}\n * ```\n */\n readonly themeIcons = signal<Record<string, SafeHtml>>({});\n\n private themes: Map<string, Theme> = new Map();\n private darkMediaQuery?: MediaQueryList;\n private mediaQueryListener?: () => void;\n private isBrowser = isPlatformBrowser(inject(PLATFORM_ID));\n private previewTheme?: Theme;\n\n private themeStore =\n inject(SiThemeStore, { optional: true }) ?? new SiDefaultThemeStore(this.isBrowser);\n private meta = inject(Meta);\n private document = inject(DOCUMENT);\n private domSanitizer = inject(DomSanitizer);\n\n constructor() {\n this.resolvedColorScheme$.subscribe(scheme => (this._resolvedColorScheme = scheme));\n this.themeNames$.subscribe(names => (this._themeNames = names));\n\n if (this.isBrowser) {\n this.darkMediaQuery = window.matchMedia('(prefers-color-scheme: dark)');\n this.mediaQueryListener = () => this.toggleDark(this.darkMediaQuery!.matches);\n }\n\n this.getActiveTheme()\n .pipe(take(1))\n .subscribe({\n next: theme => this.applyThemeStyle(theme, this._resolvedColorScheme),\n error: error => console.error('Cannot load active theme', error)\n });\n\n this.themeStore\n .loadThemeNames()\n .pipe(take(1))\n .subscribe({\n next: names => {\n names.push(ELEMENT_THEME_NAME);\n this.themeNamesSub.next(names);\n },\n error: error => console.error('Cannot load theme names', error)\n });\n }\n\n /**\n * Returns `true` if a theme with the given name is available.\n */\n hasTheme(name: string): boolean {\n return this._themeNames.includes(name);\n }\n\n /**\n * Returns a clone of the theme with the given name or `undefined` if not\n * available or name is `element`.\n * @param name - The name of the theme to be returned.\n * @returns The theme with the given name and `undefined` if name is `element`.\n */\n getTheme(name: string): Observable<Theme | undefined> {\n if (name === ELEMENT_THEME_NAME || !this.hasTheme(name)) {\n return of(undefined);\n }\n\n if (this.themes.has(name)) {\n const theme = this.themes.get(name)!;\n // return a clone to avoid changes as a side effect\n return of(this.cloneTheme(theme));\n }\n\n return this.themeStore.loadTheme(name).pipe(\n tap(theme => {\n if (theme) {\n this.themes.set(theme.name, this.cloneTheme(theme));\n }\n })\n );\n }\n\n /**\n * Loads and returns the currently active theme. Returns undefined if no custom theme is used.\n * @returns A custom theme or `undefined` if the default element theme is used.\n */\n getActiveTheme(): Observable<Theme | undefined> {\n if (this.activeThemeName) {\n return of(this.themes.get(this.activeThemeName));\n }\n return this.themeStore.loadActiveTheme().pipe(\n map(theme => {\n if (theme) {\n this.activeThemeName = theme.name;\n this.themes.set(theme.name, theme);\n this.applyTheme(theme, this._resolvedColorScheme);\n return theme;\n }\n this.activeThemeName = ELEMENT_THEME_NAME;\n return undefined;\n })\n );\n }\n\n /**\n * Adds or updates the given theme in the theme store.\n * @param theme - The theme to be saved.\n * @returns `true` if the theme was saved successfully.\n */\n addOrUpdateTheme(theme: Theme): Observable<boolean> {\n const result = new ReplaySubject<boolean>(1);\n\n this.themeStore.saveTheme(theme).subscribe({\n next: saveResult => {\n if (saveResult) {\n this.themes.set(theme.name, this.cloneTheme(theme));\n // Update list of theme names when this is a new one\n if (!this.hasTheme(theme.name)) {\n const names = this._themeNames.concat(theme.name);\n this.themeNamesSub.next(names);\n }\n }\n result.next(saveResult);\n result.complete();\n },\n error: error => result.error(error),\n complete: () => result.complete()\n });\n return result;\n }\n\n /**\n * Deletes the theme with the given name from the theme store.\n */\n deleteTheme(name: string): Observable<boolean> {\n const result = new ReplaySubject<boolean>(1);\n if (!this.hasTheme(name) || name === ELEMENT_THEME_NAME) {\n result.next(false);\n result.complete();\n } else {\n this.removeThemeCSS(name);\n this.themeStore.deleteTheme(name).subscribe({\n next: deleteResult => {\n if (deleteResult) {\n this.themes.delete(name);\n const names = this._themeNames.filter(themeName => themeName !== name);\n this.themeNamesSub.next(names);\n }\n result.next(deleteResult);\n result.complete();\n },\n error: error => result.error(error),\n complete: () => result.complete()\n });\n }\n return result;\n }\n\n /**\n * Resets the preview theme to the default element theme.\n */\n resetPreview(): void {\n this.previewTheme = { name: '__preview', schemes: { dark: {}, light: {} } };\n this.removeThemeCSS(this.previewTheme.name);\n }\n\n /**\n * Sets the active theme to the given name. If no name is given, the default element theme is used.\n */\n setActiveTheme(name?: string, type?: ThemeType): Observable<boolean> {\n const theType = type ?? this._resolvedColorScheme ?? 'auto';\n const theName = name ?? this.activeThemeName ?? ELEMENT_THEME_NAME;\n\n if (theName === this.activeThemeName) {\n return of(true);\n }\n if (!this.hasTheme(theName)) {\n return of(false);\n }\n\n const result = new ReplaySubject<boolean>(1);\n this.activeThemeName = theName;\n // Make the change in the remove store\n const store =\n theName !== ELEMENT_THEME_NAME\n ? this.themeStore.activateTheme(theName)\n : this.themeStore.deactivateTheme();\n store\n .pipe(\n // On success, load the theme\n switchMap(storeResult => {\n if (storeResult) {\n return this.getTheme(theName);\n } else {\n return throwError(() => 'Cannot change active theme in theme store.');\n }\n }),\n // Only take one to avoid unsubscription issues\n take(1)\n )\n .subscribe({\n next: theme => {\n this.applyTheme(theme, theType);\n result.next(true);\n },\n error: error => {\n console.error(`Activating theme ${name} failed`, error);\n result.next(false);\n },\n complete: () => result.complete()\n });\n return result;\n }\n\n /**\n * Apply `light` or `dark` theme to the document.\n */\n applyThemeType(type: ThemeType): void {\n if (type === this._resolvedColorScheme || !this.darkMediaQuery || !this.mediaQueryListener) {\n return;\n }\n\n this.darkMediaQuery.removeEventListener('change', this.mediaQueryListener);\n\n if (type === 'light') {\n this.toggleDark(false);\n } else if (type === 'dark') {\n this.toggleDark(true);\n } else {\n this.mediaQueryListener();\n this.darkMediaQuery.addEventListener('change', this.mediaQueryListener);\n }\n }\n\n /**\n * Applies the given theme to the document. If no theme is given, the active theme is applied.\n */\n applyTheme(theme?: Theme, type?: ThemeType, overwrite?: boolean): void {\n if (theme) {\n this.applyThemeStyle(theme, type, overwrite);\n } else {\n this.getActiveTheme()\n .pipe(take(1))\n .subscribe({\n next: loadedTheme => this.applyThemeStyle(loadedTheme, type),\n error: error => console.error('Cannot load active theme', error)\n });\n }\n }\n\n /**\n * Updates the given property of the preview theme.\n */\n updateProperty(name: string, value: string, type: keyof ThemeColorSchemes): void {\n if (!this.previewTheme) {\n this.resetPreview();\n }\n this.previewTheme!.schemes[type]![name] = value;\n this.createThemeCSS(this.previewTheme!);\n this.document.documentElement.classList.add('theme-__preview');\n this.dispatchThemeSwitchEvent();\n }\n\n /**\n * Checks if the given theme JSON object is a valid theme.\n */\n isThemeValid(data: unknown): boolean {\n const theme = data as Theme;\n return (\n !!data &&\n typeof data === 'object' &&\n 'name' in data &&\n 'schemes' in data &&\n typeof theme.name === 'string' &&\n typeof theme.schemes === 'object' &&\n this.isThemeTypeValid(theme, 'light') &&\n this.isThemeTypeValid(theme, 'dark')\n );\n }\n\n private isThemeTypeValid(theme: Theme, type: 'light' | 'dark'): boolean {\n return (\n !(type in theme.schemes) ||\n (typeof theme.schemes[type] === 'object' &&\n Object.values(theme.schemes[type] as ThemeColorScheme).every(\n item => typeof item === 'string'\n ) &&\n Object.keys(theme.schemes[type] as ThemeColorScheme).every(\n item => typeof item === 'string'\n ))\n );\n }\n\n private applyThemeStyle(theme?: Theme, type?: ThemeType, overwrite?: boolean): void {\n if (!this.isBrowser) {\n return;\n }\n this.resetPreview();\n\n if (theme && theme.name !== ELEMENT_THEME_NAME && (overwrite || !this.hasThemeCSS(theme))) {\n this.createThemeCSS(theme);\n }\n this.activateTheme(theme);\n\n if (type && type !== this._resolvedColorScheme) {\n this.applyThemeType(type);\n }\n\n this.themeIcons.set(\n Object.fromEntries(\n Object.entries(theme?.icons ?? {}).map(([key, icon]) => [key, this.parseDataSvgIcon(icon)])\n )\n );\n this.themeChange.emit(theme);\n }\n\n private activateTheme(theme?: Theme): void {\n const classList = this.document.documentElement.classList;\n classList.forEach(c => {\n if (c.startsWith('theme-')) {\n classList.remove(c);\n }\n });\n if (theme) {\n classList.add(`theme-${theme.name}`);\n }\n }\n\n private hasThemeCSS(theme: Theme): boolean {\n const id = `__theme-${theme.name}`;\n return !!this.document.getElementById(id);\n }\n\n private createThemeCSS(theme: Theme): void {\n let css = '';\n const themeSelector = `:root.theme-${theme.name}`;\n if (theme.schemes.light) {\n css = this.createThemeVariantCSS(css, themeSelector, theme.schemes.light);\n }\n if (theme.schemes.dark) {\n css = this.createThemeVariantCSS(css, themeSelector + '.app--dark', theme.schemes.dark);\n }\n\n this.removeThemeCSS(theme.name);\n const cssElement = this.document.createElement('style');\n cssElement.id = `__theme-${theme.name}`;\n cssElement.textContent = css;\n\n this.document.body.appendChild(cssElement);\n }\n\n private createThemeVariantCSS(css: string, selector: string, scheme: ThemeColorScheme): string {\n css += `${selector} {\\n`;\n for (const key of Object.keys(scheme)) {\n css += `${key}: ${scheme[key]};\\n`;\n }\n css += '}\\n';\n return css;\n }\n\n private removeThemeCSS(name: string): void {\n const id = `__theme-${name}`;\n this.document.getElementById(id)?.remove();\n this.document.documentElement.classList.remove(`theme-${name}`);\n }\n\n private toggleDark(dark: boolean): void {\n if (!this.isBrowser) {\n return;\n }\n\n this.document.documentElement.classList.toggle('app--dark', dark);\n const colorScheme = dark ? 'dark' : 'light';\n this.meta.updateTag({ name: 'color-scheme', content: colorScheme });\n this.resolvedColorSchemeSub.next(colorScheme);\n this.dispatchThemeSwitchEvent();\n }\n\n private cloneTheme(theme: Theme): Theme {\n const clone: Theme = { ...theme, schemes: {} };\n if (theme.schemes.light) {\n clone.schemes.light = { ...theme.schemes.light };\n }\n if (theme.schemes.dark) {\n clone.schemes.dark = { ...theme.schemes.dark };\n }\n return clone;\n }\n\n private dispatchThemeSwitchEvent(): void {\n window.dispatchEvent(\n new CustomEvent('theme-switch', {\n detail: {\n dark: this._resolvedColorScheme === 'dark',\n colorScheme: this._resolvedColorScheme\n }\n })\n );\n }\n\n private parseDataSvgIcon(icon: string): SafeHtml {\n // This method is currently a copy of parseDataSvgIcon in si-icon.registry.ts.\n // Those are likely to diverge in the future, as this version will get support for other formats like:\n // - URLs\n // - Plain SVG data\n // - Promises to enable lazy icon loading using import()\n const parsed = /^data:image\\/svg\\+xml;utf8,(.*)$/.exec(icon);\n if (!parsed) {\n console.error('Failed to parse icon', icon);\n return '';\n }\n return this.domSanitizer.bypassSecurityTrustHtml(parsed[1]);\n }\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-theme-store';\nexport * from './si-theme.service';\nexport * from './si-theme.model';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;AAKH;;;;;AAKG;MACmB,YAAY,CAAA;AAiDjC;AAEM,MAAM,0BAA0B,GAAG;AAOpC,MAAO,mBAAoB,SAAQ,YAAY,CAAA;AAC3C,IAAA,SAAS;AAEjB,IAAA,WAAA,CAAY,SAAkB,EAAA;AAC5B,QAAA,KAAK,EAAE;AACP,QAAA,IAAI,CAAC,SAAS,GAAG,SAAS;;IAG5B,eAAe,GAAA;AACb,QAAA,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;AACnB,YAAA,OAAO,EAAE,CAAC,SAAS,CAAC;;AAGtB,QAAA,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,EAAE;AAC9B,QAAA,IAAI,KAAK,CAAC,WAAW,EAAE;YACrB,OAAO,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;;aACrC;AACL,YAAA,OAAO,EAAE,CAAC,SAAS,CAAC;;;AAIxB,IAAA,aAAa,CAAC,IAAY,EAAA;AACxB,QAAA,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;AACnB,YAAA,OAAO,EAAE,CAAC,KAAK,CAAC;;AAGlB,QAAA,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,EAAE;AAC9B,QAAA,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;AACtB,YAAA,KAAK,CAAC,WAAW,GAAG,IAAI;AACxB,YAAA,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;AACrB,YAAA,OAAO,EAA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QAAA,MAAM,CAAC,aAAa,CAClB,IAAI,WAAW,CAAC,cAAc,EAAE;AAC9B,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,IAAI,CAAC,oBAAoB,KAAK,MAAM;gBAC1C,WAAW,EAAE,IAAI,CAAC;AACnB;AACF,SAAA,CAAC,CACH;;AAGK,IAAA,gBAAgB,CAAC,IAAY,EAAA;;;;;;QAMnC,MAAM,MAAM,GAAG,kCAAkC,CAAC,IAAI,CAAC,IAAI,CAAC;QAC5D,IAAI,CAAC,MAAM,EAAE;AACX,YAAA,OAAO,CAAC,KAAK,CAAC,sBAAsB,EAAE,IAAI,CAAC;AAC3C,YAAA,OAAO,EAAE;;QAEX,OAAO,IAAI,CAAC,YAAY,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;;uGA7clD,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAd,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cADD,MAAM,EAAA,CAAA;;2FACnB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;ACnBlC;;;AAGG;;ACHH;;AAEG;;;;"}
1
+ {"version":3,"file":"siemens-element-ng-theme.mjs","sources":["../../../../projects/element-ng/theme/si-theme-store.ts","../../../../projects/element-ng/theme/si-theme.model.ts","../../../../projects/element-ng/theme/si-theme.service.ts","../../../../projects/element-ng/theme/index.ts","../../../../projects/element-ng/theme/siemens-element-ng-theme.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Observable, of } from 'rxjs';\n\nimport { Theme } from './si-theme.model';\n\n/**\n * SiThemeStore object is used by the theme service to load and\n * store the themes. You can inject your own implementation to provide\n * a backend implementation. Otherwise a localStorage based implementation\n * is used.\n */\nexport abstract class SiThemeStore {\n /**\n * Load and return an alternative custom theme, other then\n * the default element theme. This method is invoked initially\n * to check for an alternative custom theme.\n * @returns The active theme to be used, or undefined if the\n * default element theme shall be used. All wrapped in an observable\n * that can also emit errors.\n */\n abstract loadActiveTheme(): Observable<Theme | undefined>;\n /**\n * Sets the theme with the given name to active.\n * @param name - The name of the theme to become active.\n * @returns True on success, otherwise false.\n */\n abstract activateTheme(name: string): Observable<boolean>;\n /**\n * Deactivate any active theme and makes the element theme the default one.\n * @returns True on success, otherwise false.\n */\n abstract deactivateTheme(): Observable<boolean>;\n /**\n * Load and return the available theme names.\n * @returns An `Observable` of available theme names, other than the\n * default element theme.\n */\n abstract loadThemeNames(): Observable<string[]>;\n /**\n * Load theme with the given `name`.\n * @param name - The name of the theme to be returned.\n * @returns Observable with the named theme or `undefined` if no such theme exist.\n */\n abstract loadTheme(name: string): Observable<Theme | undefined>;\n /**\n * Saves a theme to the store. The name shall not be empty. A theme with\n * identical name gets overwritten.\n * @param theme - The theme to be saved.\n * @returns True on success, otherwise false. All nicely wrapped in\n * an observable that may also emit errors.\n */\n abstract saveTheme(theme: Theme): Observable<boolean>;\n /**\n * Deletes the theme with the given name from the store.\n * @param name - The name of the theme to be deleted.\n * @returns True on success, otherwise false. All nicely wrapped in\n * an observable that may also emit errors. Returns false,\n * if the theme does not exist.\n */\n abstract deleteTheme(name: string): Observable<boolean>;\n}\n\nexport const SI_THEME_LOCAL_STORAGE_KEY = 'si-themes';\n\nexport interface ThemeStorage {\n activeTheme: string | undefined;\n themes: { [key: string]: Theme };\n}\n\nexport class SiDefaultThemeStore extends SiThemeStore {\n private isBrowser: boolean;\n\n constructor(isBrowser: boolean) {\n super();\n this.isBrowser = isBrowser;\n }\n\n loadActiveTheme(): Observable<Theme | undefined> {\n if (!this.isBrowser) {\n return of(undefined);\n }\n\n const store = this.loadStore();\n if (store.activeTheme) {\n return of(store.themes[store.activeTheme]);\n } else {\n return of(undefined);\n }\n }\n\n activateTheme(name: string): Observable<boolean> {\n if (!this.isBrowser) {\n return of(false);\n }\n\n const store = this.loadStore();\n if (store.themes[name]) {\n store.activeTheme = name;\n this.saveStore(store);\n return of(true);\n } else {\n return of(false);\n }\n }\n\n deactivateTheme(): Observable<boolean> {\n if (!this.isBrowser) {\n return of(false);\n }\n\n const store = this.loadStore();\n store.activeTheme = undefined;\n this.saveStore(store);\n return of(true);\n }\n\n loadThemeNames(): Observable<string[]> {\n if (!this.isBrowser) {\n return of([]);\n }\n const store = this.loadStore();\n return of(Array.from(Object.keys(store.themes)));\n }\n\n saveTheme(theme: Theme): Observable<boolean> {\n if (!this.isBrowser) {\n return of(false);\n }\n\n const store = this.loadStore();\n store.themes[theme.name] = theme;\n this.saveStore(store);\n return of(true);\n }\n\n loadTheme(name: string): Observable<Theme | undefined> {\n if (!this.isBrowser) {\n return of(undefined);\n }\n const store = this.loadStore();\n return of(store.themes[name]);\n }\n\n deleteTheme(name: string): Observable<boolean> {\n if (!this.isBrowser) {\n return of(false);\n }\n\n const store = this.loadStore();\n delete store.themes[name];\n if (store.activeTheme === name) {\n store.activeTheme = undefined;\n }\n this.saveStore(store);\n return of(true);\n }\n\n private loadStore(): ThemeStorage {\n const storeStr = localStorage.getItem(SI_THEME_LOCAL_STORAGE_KEY);\n if (storeStr) {\n return JSON.parse(storeStr) as ThemeStorage;\n } else {\n return { activeTheme: undefined, themes: {} };\n }\n }\n\n private saveStore(store: ThemeStorage): void {\n localStorage.setItem(SI_THEME_LOCAL_STORAGE_KEY, JSON.stringify(store));\n }\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nexport interface ThemeDescription {\n name: string;\n groups: ThemePropertyGroup[];\n}\n\nexport interface ThemePropertyGroup {\n name: string;\n description?: string;\n properties: ThemeProperty[];\n}\n\nexport interface ThemeProperty {\n name: string;\n usage: string;\n type: ThemePropertyType;\n}\n\nexport type ThemePropertyType = 'color' | 'gradient' | 'font' | 'url' | 'text' | 'number';\n\nexport interface Theme {\n name: string;\n schemes: ThemeColorSchemes;\n /**\n * A map of icons that overrides the default Element icons.\n * The key must be the key of the original icon that should be overridden.\n * The value has to be a data SVG string.\n *\n * @example\n * ```ts\n * {\n * elementUser: \"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'>...</svg>\"\n * }\n * ```\n *\n * @experimental\n */\n icons?: Record<string, string>;\n}\n\nexport interface ThemeColorSchemes {\n light?: ThemeColorScheme;\n dark?: ThemeColorScheme;\n}\n\nexport type ThemeColorScheme = { [key: string]: string };\n\nexport type ThemeType = 'dark' | 'light' | 'auto';\n\nexport const ELEMENT_THEME_NAME = 'element';\n\nexport const elementTheme: ThemeDescription = {\n name: 'element',\n groups: [\n {\n name: 'Branding',\n description: 'Configure the brand logo.',\n properties: [\n {\n name: '--element-brand-logo',\n usage: 'Enter a brand logo in the format: \\'url(\"https://company/logo.svg\")\\'',\n type: 'text'\n },\n {\n name: '--element-brand-logo-width',\n usage: \"Enter the width of the logo as CSS width value. Example: '100px'\",\n type: 'text'\n },\n {\n name: '--element-brand-logo-height',\n usage: \"Enter the height of the logo as CSS width value. Max: 48px; Example: '16px'\",\n type: 'text'\n },\n {\n name: '--element-brand-logo-text',\n usage:\n 'Enter a textual representation of the logo. Example: \\'\"Siemens logo\"\\'. The text must be wrapped in double quotes.',\n type: 'text'\n }\n ]\n },\n {\n name: 'Basic definitions',\n description: 'Basic definitions',\n properties: [\n {\n name: '--element-body-font-family',\n usage: 'The theme only uses one font everywhere.',\n type: 'font'\n },\n { name: '--element-button-radius', usage: 'Button border radius', type: 'text' },\n { name: '--element-button-focus-width', usage: 'Focus width', type: 'text' },\n {\n name: '--element-button-focus-overlay-width',\n usage: 'Focus overlay width',\n type: 'text'\n },\n {\n name: '--element-button-focus-overlay-color',\n usage: 'Focus overlay color',\n type: 'text'\n },\n { name: '--element-input-radius', usage: 'Input field border radius', type: 'text' },\n { name: '--element-logo-color', usage: 'Logo color', type: 'text' },\n { name: '--element-radius-1', usage: 'Border radius-1', type: 'text' },\n { name: '--element-radius-2', usage: 'Border radius-2', type: 'text' },\n { name: '--element-radius-3', usage: 'Border radius-3', type: 'text' }\n ]\n },\n {\n name: 'UI',\n description:\n 'UI colors are used on structural properties and icons and provide good contrast when used over any background.',\n properties: [\n { name: '--element-ui-0', usage: 'Logo, selected (active) elements', type: 'color' },\n { name: '--element-ui-0-hover', usage: 'Selected hover', type: 'color' },\n { name: '--element-ui-1', usage: 'Primary icons', type: 'color' },\n { name: '--element-ui-2', usage: 'Secondary icons', type: 'color' },\n { name: '--element-ui-3', usage: 'Disabled', type: 'color' },\n { name: '--element-ui-4', usage: 'Borders', type: 'color' },\n { name: '--element-ui-5', usage: 'Inverse', type: 'color' },\n { name: '--element-ui-6', usage: 'Shadows', type: 'color' },\n { name: '--element-box-shadow-color-1', usage: 'Box shadow color 1', type: 'color' },\n { name: '--element-box-shadow-color-2', usage: 'Box shadow color 2', type: 'color' },\n { name: '--element-focus-default', usage: 'Default focus color', type: 'color' }\n ]\n },\n {\n name: 'Base',\n description: 'Base colors are used as backgrounds of containers.',\n properties: [\n { name: '--element-base-0', usage: 'Page background, row background', type: 'color' },\n {\n name: '--element-base-1',\n usage: 'Header, navigation, card, table background',\n type: 'color'\n },\n {\n name: '--element-base-1-hover',\n usage: 'Hover on base-1 backgrounds, like table, tree, or menu',\n type: 'color'\n },\n {\n name: '--element-base-1-selected',\n usage: 'Selected on base-1 backgrounds, like table, tree, or menu',\n type: 'color'\n },\n {\n name: '--element-base-2',\n usage: 'Page background with higher contrast pages in dark mode',\n type: 'color'\n },\n {\n name: '--element-base-information',\n usage: 'Informational component background for e.g. badges',\n type: 'gradient'\n },\n {\n name: '--element-base-success',\n usage: 'Success component background for e.g. badges',\n type: 'gradient'\n },\n {\n name: '--element-base-caution',\n usage: 'Caution component background for e.g. badges',\n type: 'gradient'\n },\n {\n name: '--element-base-warning',\n usage: 'Warning component background for e.g. badges',\n type: 'gradient'\n },\n {\n name: '--element-base-danger',\n usage: 'Danger component background for e.g. badges',\n type: 'gradient'\n },\n {\n name: '--element-base-translucent-1',\n usage: 'Translucent background, e.g. backdrop',\n type: 'gradient'\n },\n {\n name: '--element-base-translucent-2',\n usage: 'Slightly translucent background, e.g. toasts',\n type: 'gradient'\n }\n ]\n },\n {\n name: 'Actions',\n description: 'Action colors are used to indicate actions that users can perform.',\n properties: [\n { name: '--element-action-primary', usage: 'Primary interaction', type: 'gradient' },\n {\n name: '--element-action-primary-hover',\n usage: 'Primary action background on hover',\n type: 'gradient'\n },\n { name: '--element-action-primary-text', usage: 'Primary text color', type: 'color' },\n { name: '--element-action-secondary', usage: 'Secondary interaction', type: 'gradient' },\n {\n name: '--element-action-secondary-hover',\n usage: 'Secondary action background on hover',\n type: 'gradient'\n },\n { name: '--element-action-secondary-text', usage: 'Secondary text color', type: 'color' },\n {\n name: '--element-action-secondary-text-hover',\n usage: 'Secondary text color on hover',\n type: 'color'\n },\n {\n name: '--element-action-secondary-border',\n usage: 'Secondary border color',\n type: 'color'\n },\n {\n name: '--element-action-secondary-border-hover',\n usage: 'Secondary border color on hover',\n type: 'color'\n },\n { name: '--element-action-warning', usage: 'Warning', type: 'gradient' },\n {\n name: '--element-action-warning-hover',\n usage: 'Warning action background on hover',\n type: 'gradient'\n },\n { name: '--element-action-warning-text', usage: 'Warning text color', type: 'color' },\n { name: '--element-action-danger', usage: 'Danger', type: 'gradient' },\n {\n name: '--element-action-danger-hover',\n usage: 'Danger action background on hover',\n type: 'gradient'\n },\n { name: '--element-action-danger-text', usage: 'Danger text color', type: 'color' },\n {\n name: '--element-action-disabled-opacity',\n usage: 'Disabled action opacity',\n type: 'number'\n }\n ]\n },\n {\n name: 'Text',\n description: 'Similarly, categories for typography colors are also defined in this system.',\n properties: [\n { name: '--element-text-primary', usage: 'Primary', type: 'color' },\n { name: '--element-text-secondary', usage: 'Secondary', type: 'color' },\n { name: '--element-text-disabled', usage: 'Disabled', type: 'color' },\n { name: '--element-text-inverse', usage: 'Inverse', type: 'color' },\n { name: '--element-text-active', usage: 'Active', type: 'color' },\n { name: '--element-text-information', usage: 'Informational', type: 'color' },\n { name: '--element-text-success', usage: 'Success', type: 'color' },\n { name: '--element-text-caution', usage: 'Caution', type: 'color' },\n { name: '--element-text-warning', usage: 'Warning', type: 'color' },\n { name: '--element-text-danger', usage: 'Danger', type: 'color' }\n ]\n },\n {\n name: 'Status',\n description:\n 'Status colors are used to describe and/or report on the status of different things.',\n properties: [\n { name: '--element-status-information', usage: 'Informational', type: 'color' },\n {\n name: '--element-status-information-contrast',\n usage: 'Informational contrast',\n type: 'color'\n },\n { name: '--element-status-success', usage: 'Success', type: 'color' },\n { name: '--element-status-success-contrast', usage: 'Success contrast', type: 'color' },\n { name: '--element-status-caution', usage: 'Caution', type: 'color' },\n { name: '--element-status-caution-contrast', usage: 'Caution contrast', type: 'color' },\n { name: '--element-status-warning', usage: 'Warning', type: 'color' },\n { name: '--element-status-warning-contrast', usage: 'Warning contrast', type: 'color' },\n { name: '--element-status-danger', usage: 'Danger', type: 'color' },\n { name: '--element-status-danger-contrast', usage: 'Danger contrast', type: 'color' }\n ]\n },\n {\n name: 'Form feedback icons',\n description: 'Icons that are used to indicate a form item status',\n properties: [{ name: '--element-invalid-feedback-icon', usage: 'Danger', type: 'text' }]\n }\n ]\n};\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { isPlatformBrowser } from '@angular/common';\nimport { EventEmitter, inject, Injectable, PLATFORM_ID, signal, DOCUMENT } from '@angular/core';\nimport { DomSanitizer, Meta, SafeHtml } from '@angular/platform-browser';\nimport { Observable, of, ReplaySubject, throwError } from 'rxjs';\nimport { map, switchMap, take, tap } from 'rxjs/operators';\n\nimport { SiDefaultThemeStore, SiThemeStore } from './si-theme-store';\nimport {\n ELEMENT_THEME_NAME,\n Theme,\n ThemeColorScheme,\n ThemeColorSchemes,\n ThemeType\n} from './si-theme.model';\n\n@Injectable({ providedIn: 'root' })\nexport class SiThemeService {\n /**\n * The current color scheme. (e.g. light or dark).\n */\n private _resolvedColorScheme: ThemeType | undefined = 'light';\n private resolvedColorSchemeSub = new ReplaySubject<keyof ThemeColorSchemes>(1);\n /**\n * Emits events when the color scheme changes.\n *\n * @defaultValue this.resolvedColorSchemeSub.asObservable()\n */\n readonly resolvedColorScheme$ = this.resolvedColorSchemeSub.asObservable();\n /**\n * The current color scheme. (e.g. light or dark).\n */\n get resolvedColorScheme(): ThemeType | undefined {\n return this._resolvedColorScheme;\n }\n\n /**\n * All available theme names, including element theme name.\n */\n private _themeNames: string[] = [ELEMENT_THEME_NAME];\n private themeNamesSub = new ReplaySubject<string[]>(1);\n /**\n * Emits events when the list of available theme names changes.\n *\n * @defaultValue this.themeNamesSub.asObservable()\n */\n readonly themeNames$ = this.themeNamesSub.asObservable();\n\n /**\n * All available theme names, including element theme name.\n */\n get themeNames(): string[] {\n return this._themeNames;\n }\n\n /**\n * Emits events when the currently applied theme changes. Either by\n * changing to another theme or by re-applying a theme with updated\n * properties. When switching to default theme element, `undefined`\n * is emitted.\n */\n readonly themeChange = new EventEmitter<Theme | undefined>();\n\n /**\n * The name of the theme that is active. Theme name `element` is the default.\n */\n activeThemeName?: string;\n /**\n * Icon overrides by the currently activeTheme.\n * @defaultValue\n * ```\n * {}\n * ```\n */\n readonly themeIcons = signal<Record<string, SafeHtml>>({});\n\n private themes: Map<string, Theme> = new Map();\n private darkMediaQuery?: MediaQueryList;\n private mediaQueryListener?: () => void;\n private isBrowser = isPlatformBrowser(inject(PLATFORM_ID));\n private previewTheme?: Theme;\n\n private themeStore =\n inject(SiThemeStore, { optional: true }) ?? new SiDefaultThemeStore(this.isBrowser);\n private meta = inject(Meta);\n private document = inject(DOCUMENT);\n private domSanitizer = inject(DomSanitizer);\n\n constructor() {\n this.resolvedColorScheme$.subscribe(scheme => (this._resolvedColorScheme = scheme));\n this.themeNames$.subscribe(names => (this._themeNames = names));\n\n if (this.isBrowser) {\n this.darkMediaQuery = window.matchMedia('(prefers-color-scheme: dark)');\n this.mediaQueryListener = () => this.toggleDark(this.darkMediaQuery!.matches);\n }\n\n this.getActiveTheme()\n .pipe(take(1))\n .subscribe({\n next: theme => this.applyThemeStyle(theme, this._resolvedColorScheme),\n error: error => console.error('Cannot load active theme', error)\n });\n\n this.themeStore\n .loadThemeNames()\n .pipe(take(1))\n .subscribe({\n next: names => {\n names.push(ELEMENT_THEME_NAME);\n this.themeNamesSub.next(names);\n },\n error: error => console.error('Cannot load theme names', error)\n });\n }\n\n /**\n * Returns `true` if a theme with the given name is available.\n */\n hasTheme(name: string): boolean {\n return this._themeNames.includes(name);\n }\n\n /**\n * Returns a clone of the theme with the given name or `undefined` if not\n * available or name is `element`.\n * @param name - The name of the theme to be returned.\n * @returns The theme with the given name and `undefined` if name is `element`.\n */\n getTheme(name: string): Observable<Theme | undefined> {\n if (name === ELEMENT_THEME_NAME || !this.hasTheme(name)) {\n return of(undefined);\n }\n\n if (this.themes.has(name)) {\n const theme = this.themes.get(name)!;\n // return a clone to avoid changes as a side effect\n return of(this.cloneTheme(theme));\n }\n\n return this.themeStore.loadTheme(name).pipe(\n tap(theme => {\n if (theme) {\n this.themes.set(theme.name, this.cloneTheme(theme));\n }\n })\n );\n }\n\n /**\n * Loads and returns the currently active theme. Returns undefined if no custom theme is used.\n * @returns A custom theme or `undefined` if the default element theme is used.\n */\n getActiveTheme(): Observable<Theme | undefined> {\n if (this.activeThemeName) {\n return of(this.themes.get(this.activeThemeName));\n }\n return this.themeStore.loadActiveTheme().pipe(\n map(theme => {\n if (theme) {\n this.activeThemeName = theme.name;\n this.themes.set(theme.name, theme);\n this.applyTheme(theme, this._resolvedColorScheme);\n return theme;\n }\n this.activeThemeName = ELEMENT_THEME_NAME;\n return undefined;\n })\n );\n }\n\n /**\n * Adds or updates the given theme in the theme store.\n * @param theme - The theme to be saved.\n * @returns `true` if the theme was saved successfully.\n */\n addOrUpdateTheme(theme: Theme): Observable<boolean> {\n const result = new ReplaySubject<boolean>(1);\n\n this.themeStore.saveTheme(theme).subscribe({\n next: saveResult => {\n if (saveResult) {\n this.themes.set(theme.name, this.cloneTheme(theme));\n // Update list of theme names when this is a new one\n if (!this.hasTheme(theme.name)) {\n const names = this._themeNames.concat(theme.name);\n this.themeNamesSub.next(names);\n }\n }\n result.next(saveResult);\n result.complete();\n },\n error: error => result.error(error),\n complete: () => result.complete()\n });\n return result;\n }\n\n /**\n * Deletes the theme with the given name from the theme store.\n */\n deleteTheme(name: string): Observable<boolean> {\n const result = new ReplaySubject<boolean>(1);\n if (!this.hasTheme(name) || name === ELEMENT_THEME_NAME) {\n result.next(false);\n result.complete();\n } else {\n this.removeThemeCSS(name);\n this.themeStore.deleteTheme(name).subscribe({\n next: deleteResult => {\n if (deleteResult) {\n this.themes.delete(name);\n const names = this._themeNames.filter(themeName => themeName !== name);\n this.themeNamesSub.next(names);\n }\n result.next(deleteResult);\n result.complete();\n },\n error: error => result.error(error),\n complete: () => result.complete()\n });\n }\n return result;\n }\n\n /**\n * Resets the preview theme to the default element theme.\n */\n resetPreview(): void {\n this.previewTheme = { name: '__preview', schemes: { dark: {}, light: {} } };\n this.removeThemeCSS(this.previewTheme.name);\n }\n\n /**\n * Sets the active theme to the given name. If no name is given, the default element theme is used.\n */\n setActiveTheme(name?: string, type?: ThemeType): Observable<boolean> {\n const theType = type ?? this._resolvedColorScheme ?? 'auto';\n const theName = name ?? this.activeThemeName ?? ELEMENT_THEME_NAME;\n\n if (theName === this.activeThemeName) {\n return of(true);\n }\n if (!this.hasTheme(theName)) {\n return of(false);\n }\n\n const result = new ReplaySubject<boolean>(1);\n this.activeThemeName = theName;\n // Make the change in the remove store\n const store =\n theName !== ELEMENT_THEME_NAME\n ? this.themeStore.activateTheme(theName)\n : this.themeStore.deactivateTheme();\n store\n .pipe(\n // On success, load the theme\n switchMap(storeResult => {\n if (storeResult) {\n return this.getTheme(theName);\n } else {\n return throwError(() => 'Cannot change active theme in theme store.');\n }\n }),\n // Only take one to avoid unsubscription issues\n take(1)\n )\n .subscribe({\n next: theme => {\n this.applyTheme(theme, theType);\n result.next(true);\n },\n error: error => {\n console.error(`Activating theme ${name} failed`, error);\n result.next(false);\n },\n complete: () => result.complete()\n });\n return result;\n }\n\n /**\n * Apply `light` or `dark` theme to the document.\n */\n applyThemeType(type: ThemeType): void {\n if (type === this._resolvedColorScheme || !this.darkMediaQuery || !this.mediaQueryListener) {\n return;\n }\n\n this.darkMediaQuery.removeEventListener('change', this.mediaQueryListener);\n\n if (type === 'light') {\n this.toggleDark(false);\n } else if (type === 'dark') {\n this.toggleDark(true);\n } else {\n this.mediaQueryListener();\n this.darkMediaQuery.addEventListener('change', this.mediaQueryListener);\n }\n }\n\n /**\n * Applies the given theme to the document. If no theme is given, the active theme is applied.\n */\n applyTheme(theme?: Theme, type?: ThemeType, overwrite?: boolean): void {\n if (theme) {\n this.applyThemeStyle(theme, type, overwrite);\n } else {\n this.getActiveTheme()\n .pipe(take(1))\n .subscribe({\n next: loadedTheme => this.applyThemeStyle(loadedTheme, type),\n error: error => console.error('Cannot load active theme', error)\n });\n }\n }\n\n /**\n * Updates the given property of the preview theme.\n */\n updateProperty(name: string, value: string, type: keyof ThemeColorSchemes): void {\n if (!this.previewTheme) {\n this.resetPreview();\n }\n this.previewTheme!.schemes[type]![name] = value;\n this.createThemeCSS(this.previewTheme!);\n this.document.documentElement.classList.add('theme-__preview');\n this.dispatchThemeSwitchEvent();\n }\n\n /**\n * Checks if the given theme JSON object is a valid theme.\n */\n isThemeValid(data: unknown): boolean {\n const theme = data as Theme;\n return (\n !!data &&\n typeof data === 'object' &&\n 'name' in data &&\n 'schemes' in data &&\n typeof theme.name === 'string' &&\n typeof theme.schemes === 'object' &&\n this.isThemeTypeValid(theme, 'light') &&\n this.isThemeTypeValid(theme, 'dark')\n );\n }\n\n private isThemeTypeValid(theme: Theme, type: 'light' | 'dark'): boolean {\n return (\n !(type in theme.schemes) ||\n (typeof theme.schemes[type] === 'object' &&\n Object.values(theme.schemes[type] as ThemeColorScheme).every(\n item => typeof item === 'string'\n ) &&\n Object.keys(theme.schemes[type] as ThemeColorScheme).every(\n item => typeof item === 'string'\n ))\n );\n }\n\n private applyThemeStyle(theme?: Theme, type?: ThemeType, overwrite?: boolean): void {\n if (!this.isBrowser) {\n return;\n }\n this.resetPreview();\n\n if (theme && theme.name !== ELEMENT_THEME_NAME && (overwrite || !this.hasThemeCSS(theme))) {\n this.createThemeCSS(theme);\n }\n this.activateTheme(theme);\n\n if (type && type !== this._resolvedColorScheme) {\n this.applyThemeType(type);\n }\n\n this.themeIcons.set(\n Object.fromEntries(\n Object.entries(theme?.icons ?? {}).map(([key, icon]) => [key, this.parseDataSvgIcon(icon)])\n )\n );\n this.themeChange.emit(theme);\n }\n\n private activateTheme(theme?: Theme): void {\n const classList = this.document.documentElement.classList;\n classList.forEach(c => {\n if (c.startsWith('theme-')) {\n classList.remove(c);\n }\n });\n if (theme) {\n classList.add(`theme-${theme.name}`);\n }\n }\n\n private hasThemeCSS(theme: Theme): boolean {\n const id = `__theme-${theme.name}`;\n return !!this.document.getElementById(id);\n }\n\n private createThemeCSS(theme: Theme): void {\n let css = '';\n const themeSelector = `:root.theme-${theme.name}`;\n if (theme.schemes.light) {\n css = this.createThemeVariantCSS(css, themeSelector, theme.schemes.light);\n }\n if (theme.schemes.dark) {\n css = this.createThemeVariantCSS(css, themeSelector + '.app--dark', theme.schemes.dark);\n }\n\n this.removeThemeCSS(theme.name);\n const cssElement = this.document.createElement('style');\n cssElement.id = `__theme-${theme.name}`;\n cssElement.textContent = css;\n\n this.document.body.appendChild(cssElement);\n }\n\n private createThemeVariantCSS(css: string, selector: string, scheme: ThemeColorScheme): string {\n css += `${selector} {\\n`;\n for (const key of Object.keys(scheme)) {\n css += `${key}: ${scheme[key]};\\n`;\n }\n css += '}\\n';\n return css;\n }\n\n private removeThemeCSS(name: string): void {\n const id = `__theme-${name}`;\n this.document.getElementById(id)?.remove();\n this.document.documentElement.classList.remove(`theme-${name}`);\n }\n\n private toggleDark(dark: boolean): void {\n if (!this.isBrowser) {\n return;\n }\n\n this.document.documentElement.classList.toggle('app--dark', dark);\n const colorScheme = dark ? 'dark' : 'light';\n this.meta.updateTag({ name: 'color-scheme', content: colorScheme });\n this.resolvedColorSchemeSub.next(colorScheme);\n this.dispatchThemeSwitchEvent();\n }\n\n private cloneTheme(theme: Theme): Theme {\n const clone: Theme = { ...theme, schemes: {} };\n if (theme.schemes.light) {\n clone.schemes.light = { ...theme.schemes.light };\n }\n if (theme.schemes.dark) {\n clone.schemes.dark = { ...theme.schemes.dark };\n }\n return clone;\n }\n\n private dispatchThemeSwitchEvent(): void {\n window.dispatchEvent(\n new CustomEvent('theme-switch', {\n detail: {\n dark: this._resolvedColorScheme === 'dark',\n colorScheme: this._resolvedColorScheme\n }\n })\n );\n }\n\n private parseDataSvgIcon(icon: string): SafeHtml {\n // This method is currently a copy of parseDataSvgIcon in si-icon.registry.ts.\n // Those are likely to diverge in the future, as this version will get support for other formats like:\n // - URLs\n // - Plain SVG data\n // - Promises to enable lazy icon loading using import()\n const parsed = /^data:image\\/svg\\+xml;utf8,(.*)$/.exec(icon);\n if (!parsed) {\n console.error('Failed to parse icon', icon);\n return '';\n }\n return this.domSanitizer.bypassSecurityTrustHtml(parsed[1]);\n }\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-theme-store';\nexport * from './si-theme.service';\nexport * from './si-theme.model';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;AAKH;;;;;AAKG;MACmB,YAAY,CAAA;AAiDjC;AAEM,MAAM,0BAA0B,GAAG;AAOpC,MAAO,mBAAoB,SAAQ,YAAY,CAAA;AAC3C,IAAA,SAAS;AAEjB,IAAA,WAAA,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AAC,YAAY,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;;uGA7clD,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAd,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cADD,MAAM,EAAA,CAAA;;2FACnB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;ACnBlC;;;AAGG;;ACHH;;AAEG;;;;"}
@@ -1,12 +1,12 @@
1
1
  import { NgClass, NgTemplateOutlet } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { input, computed, Component, model, booleanAttribute, output, inject, ElementRef, NgModule } from '@angular/core';
3
+ import { input, computed, Component, model, booleanAttribute, output, viewChildren, NgModule } from '@angular/core';
4
4
  import * as i1 from '@angular/forms';
5
5
  import { FormsModule } from '@angular/forms';
6
6
  import { SiIconNextComponent, addIcons, elementPlus } from '@siemens/element-ng/icon';
7
7
  import { SiNumberInputComponent } from '@siemens/element-ng/number-input';
8
8
  import { SiSelectComponent, SiSelectSingleValueDirective, SiSelectSimpleOptionsDirective } from '@siemens/element-ng/select';
9
- import { SiTranslatePipe } from '@siemens/element-translate-ng/translate';
9
+ import { SiTranslatePipe, t } from '@siemens/element-translate-ng/translate';
10
10
 
11
11
  /**
12
12
  * Copyright (c) Siemens 2016 - 2025
@@ -35,8 +35,8 @@ class SiReadonlyThresholdOptionComponent {
35
35
  const option = this.option();
36
36
  return option?.type === 'option' ? option.label : option?.title;
37
37
  });
38
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiReadonlyThresholdOptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
39
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.6", type: SiReadonlyThresholdOptionComponent, isStandalone: true, selector: "si-readonly-threshold-option", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "d-flex align-items-center py-2 my-4 px-4 si-title-2" }, ngImport: i0, template: `@let opt = option();
38
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiReadonlyThresholdOptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
39
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiReadonlyThresholdOptionComponent, isStandalone: true, selector: "si-readonly-threshold-option", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "d-flex align-items-center py-2 my-4 px-4 si-title-2" }, ngImport: i0, template: `@let opt = option();
40
40
  @if (opt && opt.icon) {
41
41
  <i class="icon-stack">
42
42
  <si-icon-next
@@ -55,7 +55,7 @@ class SiReadonlyThresholdOptionComponent {
55
55
  }
56
56
  <span class="text-truncate">{{ label() | translate }}</span>`, isInline: true, styles: [":host{block-size:2rem}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: SiTranslatePipe, name: "translate" }, { kind: "component", type: SiIconNextComponent, selector: "si-icon-next", inputs: ["icon"] }] });
57
57
  }
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiReadonlyThresholdOptionComponent, decorators: [{
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiReadonlyThresholdOptionComponent, decorators: [{
59
59
  type: Component,
60
60
  args: [{ selector: 'si-readonly-threshold-option', imports: [NgClass, SiTranslatePipe, SiIconNextComponent], template: `@let opt = option();
61
61
  @if (opt && opt.icon) {
@@ -165,37 +165,37 @@ class SiThresholdComponent {
165
165
  *
166
166
  * @defaultValue
167
167
  * ```
168
- * $localize`:@@SI_THRESHOLD.DELETE:Delete step`
168
+ * t(() => $localize`:@@SI_THRESHOLD.DELETE:Delete step`)
169
169
  * ```
170
170
  */
171
- deleteAriaLabel = input($localize `:@@SI_THRESHOLD.DELETE:Delete step`);
171
+ deleteAriaLabel = input(t(() => $localize `:@@SI_THRESHOLD.DELETE:Delete step`));
172
172
  /**
173
173
  * The aria-label for add button
174
174
  *
175
175
  * @defaultValue
176
176
  * ```
177
- * $localize`:@@SI_THRESHOLD.ADD:Add step`
177
+ * t(() => $localize`:@@SI_THRESHOLD.ADD:Add step`)
178
178
  * ```
179
179
  */
180
- addAriaLabel = input($localize `:@@SI_THRESHOLD.ADD:Add step`);
180
+ addAriaLabel = input(t(() => $localize `:@@SI_THRESHOLD.ADD:Add step`));
181
181
  /**
182
182
  * The aria-label for input field
183
183
  *
184
184
  * @defaultValue
185
185
  * ```
186
- * $localize`:@@SI_THRESHOLD.INPUT_LABEL:Threshold value`
186
+ * t(() => $localize`:@@SI_THRESHOLD.INPUT_LABEL:Threshold value`)
187
187
  * ```
188
188
  */
189
- inputAriaLabel = input($localize `:@@SI_THRESHOLD.INPUT_LABEL:Threshold value`);
189
+ inputAriaLabel = input(t(() => $localize `:@@SI_THRESHOLD.INPUT_LABEL:Threshold value`));
190
190
  /**
191
191
  * The aria-label for status selection
192
192
  *
193
193
  * @defaultValue
194
194
  * ```
195
- * $localize`:@@SI_THRESHOLD.STATUS:Status`
195
+ * t(() => $localize`:@@SI_THRESHOLD.STATUS:Status`)
196
196
  * ```
197
197
  */
198
- statusAriaLabel = input($localize `:@@SI_THRESHOLD.STATUS:Status`);
198
+ statusAriaLabel = input(t(() => $localize `:@@SI_THRESHOLD.STATUS:Status`));
199
199
  /** Fired when validation status changes */
200
200
  validChange = output();
201
201
  colors = computed(() => {
@@ -218,7 +218,7 @@ class SiThresholdComponent {
218
218
  get valid() {
219
219
  return this._valid;
220
220
  }
221
- element = inject(ElementRef);
221
+ numberInputs = viewChildren(SiNumberInputComponent);
222
222
  ngOnChanges() {
223
223
  this.validate();
224
224
  }
@@ -234,7 +234,7 @@ class SiThresholdComponent {
234
234
  updated.splice(index + 1, 0, newStep);
235
235
  this.thresholdSteps.set(updated);
236
236
  this.validate();
237
- setTimeout(() => this.element.nativeElement.querySelectorAll('input.form-control')[index]?.focus());
237
+ setTimeout(() => this.numberInputs()[index].inputElement().nativeElement.focus());
238
238
  }
239
239
  stepChange() {
240
240
  this.thresholdSteps.set([...this.thresholdSteps()]);
@@ -265,10 +265,10 @@ class SiThresholdComponent {
265
265
  this.validChange.emit(this.valid);
266
266
  }
267
267
  }
268
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiThresholdComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
269
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.6", type: SiThresholdComponent, isStandalone: true, selector: "si-threshold", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, thresholdSteps: { classPropertyName: "thresholdSteps", publicName: "thresholdSteps", isSignal: true, isRequired: false, transformFunction: null }, unit: { classPropertyName: "unit", publicName: "unit", isSignal: true, isRequired: false, transformFunction: null }, minValue: { classPropertyName: "minValue", publicName: "minValue", isSignal: true, isRequired: false, transformFunction: null }, maxValue: { classPropertyName: "maxValue", publicName: "maxValue", isSignal: true, isRequired: false, transformFunction: null }, stepSize: { classPropertyName: "stepSize", publicName: "stepSize", isSignal: true, isRequired: false, transformFunction: null }, maxSteps: { classPropertyName: "maxSteps", publicName: "maxSteps", isSignal: true, isRequired: false, transformFunction: null }, validation: { classPropertyName: "validation", publicName: "validation", isSignal: true, isRequired: false, transformFunction: null }, canAddRemoveSteps: { classPropertyName: "canAddRemoveSteps", publicName: "canAddRemoveSteps", isSignal: true, isRequired: false, transformFunction: null }, horizontalLayout: { classPropertyName: "horizontalLayout", publicName: "horizontalLayout", isSignal: true, isRequired: false, transformFunction: null }, showDecIncButtons: { classPropertyName: "showDecIncButtons", publicName: "showDecIncButtons", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, readonlyConditions: { classPropertyName: "readonlyConditions", publicName: "readonlyConditions", isSignal: true, isRequired: false, transformFunction: null }, deleteAriaLabel: { classPropertyName: "deleteAriaLabel", publicName: "deleteAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, addAriaLabel: { classPropertyName: "addAriaLabel", publicName: "addAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, inputAriaLabel: { classPropertyName: "inputAriaLabel", publicName: "inputAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, statusAriaLabel: { classPropertyName: "statusAriaLabel", publicName: "statusAriaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { thresholdSteps: "thresholdStepsChange", validChange: "validChange" }, host: { properties: { "class.add-remove": "canAddRemoveSteps()", "class.horizontal": "horizontalLayout()", "class.dec-inc-buttons": "showDecIncButtons()" } }, usesOnChanges: true, ngImport: i0, template: "@for (step of thresholdSteps(); track step) {\n <div class=\"ths-step\">\n @if (!$first) {\n <div class=\"ths-value d-flex align-items-center\">\n @if (canAddRemoveSteps() && !readonly() && !readonlyConditions()) {\n <button\n type=\"button\"\n class=\"btn btn-circle btn-sm btn-ghost element-delete m-4\"\n [attr.aria-label]=\"deleteAriaLabel() | translate\"\n (click)=\"deleteStep($index)\"\n ></button>\n }\n @if (!canAddRemoveSteps() || readonly() || readonlyConditions()) {\n <div class=\"py-4 my-4\">&#8203;</div>\n }\n <div class=\"line\">\n <div class=\"segment\" [ngClass]=\"colors()[$index - 1]\"></div>\n <div class=\"dot\"></div>\n <div class=\"segment\" [ngClass]=\"colors()[$index]\"></div>\n </div>\n <div class=\"d-flex align-items-center text-nowrap m-4\">\n <si-number-input\n #valueInput=\"ngModel\"\n class=\"form-control text-end\"\n [class.is-invalid]=\"step.valid === false\"\n [aria-label]=\"inputAriaLabel() | translate\"\n [readonly]=\"readonly()\"\n [ngModelOptions]=\"{ standalone: true }\"\n [min]=\"minValue()\"\n [max]=\"maxValue()\"\n [step]=\"stepSize()\"\n [unit]=\"unit()\"\n [showButtons]=\"showDecIncButtons()\"\n [required]=\"true\"\n [(ngModel)]=\"step.value\"\n (ngModelChange)=\"stepChange()\"\n />\n </div>\n </div>\n }\n @if ($first && horizontalLayout()) {\n <ng-container\n [ngTemplateOutlet]=\"startend\"\n [ngTemplateOutletContext]=\"{ color: colors()[$index] }\"\n />\n }\n <div class=\"ths-option d-flex align-items-center\">\n @if (canAddRemoveSteps() && !readonly() && !readonlyConditions()) {\n <button\n type=\"button\"\n class=\"btn btn-circle btn-sm btn-secondary m-4\"\n [disabled]=\"maxSteps() && $count >= maxSteps()\"\n [attr.aria-label]=\"addAriaLabel() | translate\"\n (click)=\"addStep($index)\"\n >\n <si-icon-next [icon]=\"icons.elementPlus\" />\n </button>\n }\n @if (!canAddRemoveSteps() || readonly() || readonlyConditions()) {\n <div class=\"py-4 my-4\">&#8203;</div>\n }\n <div class=\"line\" [ngClass]=\"colors()[$index]\">\n <div class=\"segment\"></div>\n </div>\n @if (!readonly() && !readonlyConditions()) {\n <si-select\n class=\"my-4\"\n [ariaLabel]=\"statusAriaLabel() | translate\"\n [readonly]=\"readonly()\"\n [options]=\"options()\"\n [(value)]=\"step.optionValue\"\n (valueChange)=\"stepChange()\"\n />\n }\n @if (readonly() || readonlyConditions()) {\n <si-readonly-threshold-option [options]=\"options()\" [value]=\"step.optionValue\" />\n }\n </div>\n @if ($last && horizontalLayout()) {\n <ng-container\n [ngTemplateOutlet]=\"startend\"\n [ngTemplateOutletContext]=\"{ color: colors()[$index] }\"\n />\n }\n </div>\n}\n\n<ng-template #startend let-color=\"color\">\n <div class=\"ths-value d-flex align-items-center startend\">\n <div class=\"py-4 my-4\">&#8203;</div>\n <div class=\"line\">\n <div class=\"segment\" [ngClass]=\"color\"></div>\n </div>\n </div>\n</ng-template>\n", styles: [":host{--direction-main: column;--direction-option: row;--direction-value: row;--input-width: calc(var(--input-base-width, 90px) + var(--buttons-width, 0px))}:host.horizontal{--direction-main: row;--direction-option: column;--direction-value: column-reverse;--value-margin: -24px;padding-inline:calc(var(--value-margin) * -1)}:host.dec-inc-buttons{--buttons-width: 48px}:host,.ths-step{display:flex;flex-direction:var(--direction-main)}.ths-option{flex-direction:var(--direction-option);min-inline-size:var(--option-width, 160px)}.ths-value{flex-direction:var(--direction-value);margin-inline:var(--value-margin)}si-select{border-radius:var(--element-button-radius);overflow:hidden}.form-control{inline-size:var(--input-width);block-size:calc(1rem + 16px)}.line{align-self:stretch;flex-basis:16px;display:flex;flex-direction:var(--direction-main);align-items:center;color:var(--element-ui-2);gap:4px}.segment{flex:1;border:1px solid currentColor}.dot{inline-size:6px;block-size:6px;border:1px solid var(--element-ui-2);border-radius:50%}.startend{inline-size:calc(var(--input-width) / 2)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SiIconNextComponent, selector: "si-icon-next", inputs: ["icon"] }, { kind: "component", type: SiNumberInputComponent, selector: "si-number-input", inputs: ["min", "max", "step", "value", "unit", "showButtons", "aria-label", "inputId", "disabled", "readonly", "placeholder"], outputs: ["valueChange"] }, { kind: "component", type: SiSelectComponent, selector: "si-select", inputs: ["id", "ariaLabel", "labelledby", "filterPlaceholder", "noResultsFoundLabel", "placeholder", "readonly", "hasFilter"], outputs: ["dropdownClose", "openChange"] }, { kind: "directive", type: SiSelectSingleValueDirective, selector: "si-select:not([multi])" }, { kind: "directive", type: SiSelectSimpleOptionsDirective, selector: "si-select[options]", inputs: ["options", "optionEqualCheckFn"] }, { kind: "pipe", type: SiTranslatePipe, name: "translate" }, { kind: "component", type: SiReadonlyThresholdOptionComponent, selector: "si-readonly-threshold-option", inputs: ["value", "options"] }] });
268
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiThresholdComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
269
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: SiThresholdComponent, isStandalone: true, selector: "si-threshold", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, thresholdSteps: { classPropertyName: "thresholdSteps", publicName: "thresholdSteps", isSignal: true, isRequired: false, transformFunction: null }, unit: { classPropertyName: "unit", publicName: "unit", isSignal: true, isRequired: false, transformFunction: null }, minValue: { classPropertyName: "minValue", publicName: "minValue", isSignal: true, isRequired: false, transformFunction: null }, maxValue: { classPropertyName: "maxValue", publicName: "maxValue", isSignal: true, isRequired: false, transformFunction: null }, stepSize: { classPropertyName: "stepSize", publicName: "stepSize", isSignal: true, isRequired: false, transformFunction: null }, maxSteps: { classPropertyName: "maxSteps", publicName: "maxSteps", isSignal: true, isRequired: false, transformFunction: null }, validation: { classPropertyName: "validation", publicName: "validation", isSignal: true, isRequired: false, transformFunction: null }, canAddRemoveSteps: { classPropertyName: "canAddRemoveSteps", publicName: "canAddRemoveSteps", isSignal: true, isRequired: false, transformFunction: null }, horizontalLayout: { classPropertyName: "horizontalLayout", publicName: "horizontalLayout", isSignal: true, isRequired: false, transformFunction: null }, showDecIncButtons: { classPropertyName: "showDecIncButtons", publicName: "showDecIncButtons", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, readonlyConditions: { classPropertyName: "readonlyConditions", publicName: "readonlyConditions", isSignal: true, isRequired: false, transformFunction: null }, deleteAriaLabel: { classPropertyName: "deleteAriaLabel", publicName: "deleteAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, addAriaLabel: { classPropertyName: "addAriaLabel", publicName: "addAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, inputAriaLabel: { classPropertyName: "inputAriaLabel", publicName: "inputAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, statusAriaLabel: { classPropertyName: "statusAriaLabel", publicName: "statusAriaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { thresholdSteps: "thresholdStepsChange", validChange: "validChange" }, host: { properties: { "class.add-remove": "canAddRemoveSteps()", "class.horizontal": "horizontalLayout()", "class.dec-inc-buttons": "showDecIncButtons()" } }, viewQueries: [{ propertyName: "numberInputs", predicate: SiNumberInputComponent, descendants: true, isSignal: true }], usesOnChanges: true, ngImport: i0, template: "@for (step of thresholdSteps(); track step) {\n <div class=\"ths-step\">\n @if (!$first) {\n <div class=\"ths-value d-flex align-items-center\">\n @if (canAddRemoveSteps() && !readonly() && !readonlyConditions()) {\n <button\n type=\"button\"\n class=\"btn btn-circle btn-sm btn-ghost element-delete m-4\"\n [attr.aria-label]=\"deleteAriaLabel() | translate\"\n (click)=\"deleteStep($index)\"\n ></button>\n }\n @if (!canAddRemoveSteps() || readonly() || readonlyConditions()) {\n <div class=\"py-4 my-4\">&#8203;</div>\n }\n <div class=\"line\">\n <div class=\"segment\" [ngClass]=\"colors()[$index - 1]\"></div>\n <div class=\"dot\"></div>\n <div class=\"segment\" [ngClass]=\"colors()[$index]\"></div>\n </div>\n <div class=\"d-flex align-items-center text-nowrap m-4\">\n <si-number-input\n #valueInput=\"ngModel\"\n class=\"form-control text-end\"\n [class.is-invalid]=\"step.valid === false\"\n [aria-label]=\"inputAriaLabel() | translate\"\n [readonly]=\"readonly()\"\n [ngModelOptions]=\"{ standalone: true }\"\n [min]=\"minValue()\"\n [max]=\"maxValue()\"\n [step]=\"stepSize()\"\n [unit]=\"unit()\"\n [showButtons]=\"showDecIncButtons()\"\n [required]=\"true\"\n [(ngModel)]=\"step.value\"\n (ngModelChange)=\"stepChange()\"\n />\n </div>\n </div>\n }\n @if ($first && horizontalLayout()) {\n <ng-container\n [ngTemplateOutlet]=\"startend\"\n [ngTemplateOutletContext]=\"{ color: colors()[$index] }\"\n />\n }\n <div class=\"ths-option d-flex align-items-center\">\n @if (canAddRemoveSteps() && !readonly() && !readonlyConditions()) {\n <button\n type=\"button\"\n class=\"btn btn-circle btn-sm btn-secondary m-4\"\n [disabled]=\"maxSteps() && $count >= maxSteps()\"\n [attr.aria-label]=\"addAriaLabel() | translate\"\n (click)=\"addStep($index)\"\n >\n <si-icon-next [icon]=\"icons.elementPlus\" />\n </button>\n }\n @if (!canAddRemoveSteps() || readonly() || readonlyConditions()) {\n <div class=\"py-4 my-4\">&#8203;</div>\n }\n <div class=\"line\" [ngClass]=\"colors()[$index]\">\n <div class=\"segment\"></div>\n </div>\n @if (!readonly() && !readonlyConditions()) {\n <si-select\n class=\"my-4\"\n [ariaLabel]=\"statusAriaLabel() | translate\"\n [readonly]=\"readonly()\"\n [options]=\"options()\"\n [(value)]=\"step.optionValue\"\n (valueChange)=\"stepChange()\"\n />\n }\n @if (readonly() || readonlyConditions()) {\n <si-readonly-threshold-option [options]=\"options()\" [value]=\"step.optionValue\" />\n }\n </div>\n @if ($last && horizontalLayout()) {\n <ng-container\n [ngTemplateOutlet]=\"startend\"\n [ngTemplateOutletContext]=\"{ color: colors()[$index] }\"\n />\n }\n </div>\n}\n\n<ng-template #startend let-color=\"color\">\n <div class=\"ths-value d-flex align-items-center startend\">\n <div class=\"py-4 my-4\">&#8203;</div>\n <div class=\"line\">\n <div class=\"segment\" [ngClass]=\"color\"></div>\n </div>\n </div>\n</ng-template>\n", styles: [":host{--direction-main: column;--direction-option: row;--direction-value: row;--input-width: calc(var(--input-base-width, 90px) + var(--buttons-width, 0px))}:host.horizontal{--direction-main: row;--direction-option: column;--direction-value: column-reverse;--value-margin: -24px;padding-inline:calc(var(--value-margin) * -1)}:host.dec-inc-buttons{--buttons-width: 48px}:host,.ths-step{display:flex;flex-direction:var(--direction-main)}.ths-option{flex-direction:var(--direction-option);min-inline-size:var(--option-width, 160px)}.ths-value{flex-direction:var(--direction-value);margin-inline:var(--value-margin)}si-select{border-radius:var(--element-button-radius);overflow:hidden}.form-control{inline-size:var(--input-width);block-size:calc(1rem + 16px)}.line{align-self:stretch;flex-basis:16px;display:flex;flex-direction:var(--direction-main);align-items:center;color:var(--element-ui-2);gap:4px}.segment{flex:1;border:1px solid currentColor}.dot{inline-size:6px;block-size:6px;border:1px solid var(--element-ui-2);border-radius:50%}.startend{inline-size:calc(var(--input-width) / 2)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: SiIconNextComponent, selector: "si-icon-next", inputs: ["icon"] }, { kind: "component", type: SiNumberInputComponent, selector: "si-number-input", inputs: ["min", "max", "step", "value", "unit", "showButtons", "aria-label", "inputId", "disabled", "readonly", "placeholder"], outputs: ["valueChange"] }, { kind: "component", type: SiSelectComponent, selector: "si-select", inputs: ["id", "ariaLabel", "labelledby", "filterPlaceholder", "noResultsFoundLabel", "placeholder", "readonly", "hasFilter"], outputs: ["dropdownClose", "openChange"] }, { kind: "directive", type: SiSelectSingleValueDirective, selector: "si-select:not([multi])" }, { kind: "directive", type: SiSelectSimpleOptionsDirective, selector: "si-select[options]", inputs: ["options", "optionEqualCheckFn"] }, { kind: "pipe", type: SiTranslatePipe, name: "translate" }, { kind: "component", type: SiReadonlyThresholdOptionComponent, selector: "si-readonly-threshold-option", inputs: ["value", "options"] }] });
270
270
  }
271
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiThresholdComponent, decorators: [{
271
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiThresholdComponent, decorators: [{
272
272
  type: Component,
273
273
  args: [{ selector: 'si-threshold', imports: [
274
274
  FormsModule,
@@ -293,11 +293,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
293
293
  * SPDX-License-Identifier: MIT
294
294
  */
295
295
  class SiThresholdModule {
296
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiThresholdModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
297
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.6", ngImport: i0, type: SiThresholdModule, imports: [SiThresholdComponent], exports: [SiThresholdComponent] });
298
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiThresholdModule, imports: [SiThresholdComponent] });
296
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiThresholdModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
297
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: SiThresholdModule, imports: [SiThresholdComponent], exports: [SiThresholdComponent] });
298
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiThresholdModule, imports: [SiThresholdComponent] });
299
299
  }
300
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiThresholdModule, decorators: [{
300
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiThresholdModule, decorators: [{
301
301
  type: NgModule,
302
302
  args: [{
303
303
  imports: [SiThresholdComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"siemens-element-ng-threshold.mjs","sources":["../../../../projects/element-ng/threshold/si-readonly-threshold-option.component.ts","../../../../projects/element-ng/threshold/si-threshold.component.ts","../../../../projects/element-ng/threshold/si-threshold.component.html","../../../../projects/element-ng/threshold/si-threshold.module.ts","../../../../projects/element-ng/threshold/index.ts","../../../../projects/element-ng/threshold/siemens-element-ng-threshold.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { NgClass } from '@angular/common';\nimport { Component, computed, input } from '@angular/core';\nimport { SiIconNextComponent } from '@siemens/element-ng/icon';\nimport { SelectOption, SelectOptionLegacy } from '@siemens/element-ng/select';\nimport { SiTranslatePipe } from '@siemens/element-translate-ng/translate';\n\n@Component({\n selector: 'si-readonly-threshold-option',\n imports: [NgClass, SiTranslatePipe, SiIconNextComponent],\n template: `@let opt = option();\n @if (opt && opt.icon) {\n <i class=\"icon-stack\">\n <si-icon-next\n class=\"icon me-2\"\n [icon]=\"opt.icon\"\n [ngClass]=\"[(!opt.disabled && color()) || '']\"\n />\n @if (opt.type === 'option' && opt.stackedIcon) {\n <si-icon-next\n class=\"icon me-2\"\n [icon]=\"opt.stackedIcon\"\n [ngClass]=\"opt.stackedIconColor\"\n />\n }\n </i>\n }\n <span class=\"text-truncate\">{{ label() | translate }}</span>`,\n styleUrl: './si-readonly-threshold-option.component.scss',\n host: { class: 'd-flex align-items-center py-2 my-4 px-4 si-title-2' }\n})\nexport class SiReadonlyThresholdOptionComponent {\n readonly value = input.required<string>();\n readonly options = input.required<SelectOptionLegacy[] | SelectOption<unknown>[]>();\n\n protected readonly option = computed(() => {\n const options = this.options();\n const value = this.value();\n if (value && options) {\n return options.find(opt => (opt.type === 'option' ? opt.value === value : opt.id === value));\n }\n return undefined;\n });\n\n protected readonly color = computed(() => {\n const option = this.option();\n return !option || option.disabled\n ? undefined\n : option.type === 'option'\n ? option.iconColor\n : option.color;\n });\n\n protected readonly label = computed(() => {\n const option = this.option();\n return option?.type === 'option' ? option.label : option?.title;\n });\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { NgClass, NgTemplateOutlet } from '@angular/common';\nimport {\n booleanAttribute,\n Component,\n computed,\n ElementRef,\n inject,\n input,\n model,\n OnChanges,\n output\n} from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { addIcons, elementPlus, SiIconNextComponent } from '@siemens/element-ng/icon';\nimport { SiNumberInputComponent } from '@siemens/element-ng/number-input';\nimport {\n SelectOption,\n SelectOptionLegacy,\n SiSelectComponent,\n SiSelectSimpleOptionsDirective,\n SiSelectSingleValueDirective\n} from '@siemens/element-ng/select';\nimport { SiTranslatePipe } from '@siemens/element-translate-ng/translate';\n\nimport { SiReadonlyThresholdOptionComponent } from './si-readonly-threshold-option.component';\n\n/**\n * One step in a list of thresholds\n */\nexport interface ThresholdStep {\n /** Threshold value, the first step has no value */\n value?: number;\n /** One of the `SelectOption.id` */\n optionValue: string;\n /** When set to `false`, input fields are highlighted as invalid */\n valid?: boolean;\n}\n\n@Component({\n selector: 'si-threshold',\n imports: [\n FormsModule,\n NgClass,\n NgTemplateOutlet,\n SiIconNextComponent,\n SiNumberInputComponent,\n SiSelectComponent,\n SiSelectSingleValueDirective,\n SiSelectSimpleOptionsDirective,\n SiTranslatePipe,\n SiReadonlyThresholdOptionComponent\n ],\n templateUrl: './si-threshold.component.html',\n styleUrl: './si-threshold.component.scss',\n host: {\n '[class.add-remove]': 'canAddRemoveSteps()',\n '[class.horizontal]': 'horizontalLayout()',\n '[class.dec-inc-buttons]': 'showDecIncButtons()'\n }\n})\nexport class SiThresholdComponent implements OnChanges {\n /**\n * Options to be shown in select dropdown\n *\n * @defaultValue []\n */\n readonly options = input<SelectOptionLegacy[] | SelectOption<unknown>[]>([]);\n /**\n * The thresholds\n *\n * @defaultValue []\n */\n readonly thresholdSteps = model<ThresholdStep[]>([]);\n /**\n * The unit to show\n *\n * @defaultValue ''\n */\n readonly unit = input('');\n /**\n * The min. value for the threshold value\n *\n * @defaultValue 0\n */\n readonly minValue = input(0);\n /**\n * The max. value for the threshold value\n *\n * @defaultValue 100\n */\n readonly maxValue = input(100);\n /**\n * The step size for the threshold value\n *\n * @defaultValue 1\n */\n readonly stepSize = input(1);\n /**\n * Max. number of steps, 0 for no hard limit\n *\n * @defaultValue 0\n */\n readonly maxSteps = input(0);\n /**\n * Do validation?\n *\n * @defaultValue true\n */\n readonly validation = input(true, { transform: booleanAttribute });\n /**\n * When disabled, steps cannot be added/removed\n *\n * @defaultValue true\n */\n readonly canAddRemoveSteps = input(true, { transform: booleanAttribute });\n /**\n * Use horizontal layout?\n *\n * @defaultValue false\n */\n readonly horizontalLayout = input(false, { transform: booleanAttribute });\n /**\n * Show dec/inc buttons?\n *\n * @defaultValue true\n */\n readonly showDecIncButtons = input(true, { transform: booleanAttribute });\n /**\n * The obvious\n *\n * @defaultValue false\n */\n readonly readonly = input(false, { transform: booleanAttribute });\n /**\n * Indicate that the threshold options are readonly and cannot be changed. This will also disable adding / removing steps.\n *\n * @defaultValue false\n */\n readonly readonlyConditions = input(false, { transform: booleanAttribute });\n /**\n * The aria-label for delete button\n *\n * @defaultValue\n * ```\n * $localize`:@@SI_THRESHOLD.DELETE:Delete step`\n * ```\n */\n readonly deleteAriaLabel = input($localize`:@@SI_THRESHOLD.DELETE:Delete step`);\n /**\n * The aria-label for add button\n *\n * @defaultValue\n * ```\n * $localize`:@@SI_THRESHOLD.ADD:Add step`\n * ```\n */\n readonly addAriaLabel = input($localize`:@@SI_THRESHOLD.ADD:Add step`);\n /**\n * The aria-label for input field\n *\n * @defaultValue\n * ```\n * $localize`:@@SI_THRESHOLD.INPUT_LABEL:Threshold value`\n * ```\n */\n readonly inputAriaLabel = input($localize`:@@SI_THRESHOLD.INPUT_LABEL:Threshold value`);\n /**\n * The aria-label for status selection\n *\n * @defaultValue\n * ```\n * $localize`:@@SI_THRESHOLD.STATUS:Status`\n * ```\n */\n readonly statusAriaLabel = input($localize`:@@SI_THRESHOLD.STATUS:Status`);\n\n /** Fired when validation status changes */\n readonly validChange = output<boolean>();\n\n protected readonly colors = computed(() => {\n const colorMap = new Map<unknown, string>();\n for (const opt of this.options()) {\n if (opt.type === 'option') {\n colorMap.set(opt.value, opt.iconColor ?? '');\n } else if (!opt.type) {\n colorMap.set(opt.id, opt.color ?? '');\n }\n }\n return this.thresholdSteps().map(ths => colorMap.get(ths.optionValue) ?? '');\n });\n\n protected readonly icons = addIcons({ elementPlus });\n private _valid = true;\n /**\n * Whether the current input value is valid or not.\n */\n get valid(): boolean {\n return this._valid;\n }\n private element = inject(ElementRef);\n\n ngOnChanges(): void {\n this.validate();\n }\n\n protected deleteStep(index: number): void {\n const updated = [...this.thresholdSteps()];\n updated.splice(index, 1);\n this.thresholdSteps.set(updated);\n this.validate();\n }\n\n protected addStep(index: number): void {\n const newStep: ThresholdStep = { ...this.thresholdSteps()[index], value: undefined };\n const updated = [...this.thresholdSteps()];\n updated.splice(index + 1, 0, newStep);\n this.thresholdSteps.set(updated);\n this.validate();\n setTimeout(() =>\n this.element.nativeElement.querySelectorAll('input.form-control')[index]?.focus()\n );\n }\n\n protected stepChange(): void {\n this.thresholdSteps.set([...this.thresholdSteps()]);\n this.validate();\n }\n\n private validate(): void {\n const prevValid = this.valid;\n this._valid = true;\n for (let i = 1; i < this.thresholdSteps().length; i++) {\n const step = this.thresholdSteps()[i];\n\n if (this.validation()) {\n const prev = this.thresholdSteps()[i - 1];\n const next = this.thresholdSteps()[i + 1];\n\n // valid: withing min/max, each step is lower than next step with step size between\n step.valid =\n step.value != null &&\n step.value >= this.minValue() &&\n step.value <= this.maxValue() &&\n (prev.value == null || step.value - this.stepSize() >= prev.value) &&\n (next?.value == null || step.value + this.stepSize() <= next.value);\n this._valid &&= step.valid;\n } else {\n step.valid = true;\n }\n }\n if (this.valid !== prevValid) {\n this.validChange.emit(this.valid);\n }\n }\n}\n","@for (step of thresholdSteps(); track step) {\n <div class=\"ths-step\">\n @if (!$first) {\n <div class=\"ths-value d-flex align-items-center\">\n @if (canAddRemoveSteps() && !readonly() && !readonlyConditions()) {\n <button\n type=\"button\"\n class=\"btn btn-circle btn-sm btn-ghost element-delete m-4\"\n [attr.aria-label]=\"deleteAriaLabel() | translate\"\n (click)=\"deleteStep($index)\"\n ></button>\n }\n @if (!canAddRemoveSteps() || readonly() || readonlyConditions()) {\n <div class=\"py-4 my-4\">&#8203;</div>\n }\n <div class=\"line\">\n <div class=\"segment\" [ngClass]=\"colors()[$index - 1]\"></div>\n <div class=\"dot\"></div>\n <div class=\"segment\" [ngClass]=\"colors()[$index]\"></div>\n </div>\n <div class=\"d-flex align-items-center text-nowrap m-4\">\n <si-number-input\n #valueInput=\"ngModel\"\n class=\"form-control text-end\"\n [class.is-invalid]=\"step.valid === false\"\n [aria-label]=\"inputAriaLabel() | translate\"\n [readonly]=\"readonly()\"\n [ngModelOptions]=\"{ standalone: true }\"\n [min]=\"minValue()\"\n [max]=\"maxValue()\"\n [step]=\"stepSize()\"\n [unit]=\"unit()\"\n [showButtons]=\"showDecIncButtons()\"\n [required]=\"true\"\n [(ngModel)]=\"step.value\"\n (ngModelChange)=\"stepChange()\"\n />\n </div>\n </div>\n }\n @if ($first && horizontalLayout()) {\n <ng-container\n [ngTemplateOutlet]=\"startend\"\n [ngTemplateOutletContext]=\"{ color: colors()[$index] }\"\n />\n }\n <div class=\"ths-option d-flex align-items-center\">\n @if (canAddRemoveSteps() && !readonly() && !readonlyConditions()) {\n <button\n type=\"button\"\n class=\"btn btn-circle btn-sm btn-secondary m-4\"\n [disabled]=\"maxSteps() && $count >= maxSteps()\"\n [attr.aria-label]=\"addAriaLabel() | translate\"\n (click)=\"addStep($index)\"\n >\n <si-icon-next [icon]=\"icons.elementPlus\" />\n </button>\n }\n @if (!canAddRemoveSteps() || readonly() || readonlyConditions()) {\n <div class=\"py-4 my-4\">&#8203;</div>\n }\n <div class=\"line\" [ngClass]=\"colors()[$index]\">\n <div class=\"segment\"></div>\n </div>\n @if (!readonly() && !readonlyConditions()) {\n <si-select\n class=\"my-4\"\n [ariaLabel]=\"statusAriaLabel() | translate\"\n [readonly]=\"readonly()\"\n [options]=\"options()\"\n [(value)]=\"step.optionValue\"\n (valueChange)=\"stepChange()\"\n />\n }\n @if (readonly() || readonlyConditions()) {\n <si-readonly-threshold-option [options]=\"options()\" [value]=\"step.optionValue\" />\n }\n </div>\n @if ($last && horizontalLayout()) {\n <ng-container\n [ngTemplateOutlet]=\"startend\"\n [ngTemplateOutletContext]=\"{ color: colors()[$index] }\"\n />\n }\n </div>\n}\n\n<ng-template #startend let-color=\"color\">\n <div class=\"ths-value d-flex align-items-center startend\">\n <div class=\"py-4 my-4\">&#8203;</div>\n <div class=\"line\">\n <div class=\"segment\" [ngClass]=\"color\"></div>\n </div>\n </div>\n</ng-template>\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { NgModule } from '@angular/core';\n\nimport { SiThresholdComponent } from './si-threshold.component';\n\n@NgModule({\n imports: [SiThresholdComponent],\n exports: [SiThresholdComponent]\n})\nexport class SiThresholdModule {}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-threshold.component';\nexport * from './si-threshold.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAAA;;;AAGG;MA+BU,kCAAkC,CAAA;AACpC,IAAA,KAAK,GAAG,KAAK,CAAC,QAAQ,EAAU;AAChC,IAAA,OAAO,GAAG,KAAK,CAAC,QAAQ,EAAkD;AAEhE,IAAA,MAAM,GAAG,QAAQ,CAAC,MAAK;AACxC,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE;AAC9B,QAAA,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE;AAC1B,QAAA,IAAI,KAAK,IAAI,OAAO,EAAE;AACpB,YAAA,OAAO,OAAO,CAAC,IAAI,CAAC,GAAG,KAAK,GAAG,CAAC,IAAI,KAAK,QAAQ,GAAG,GAAG,CAAC,KAAK,KAAK,KAAK,GAAG,GAAG,CAAC,EAAE,KAAK,KAAK,CAAC,CAAC;;AAE9F,QAAA,OAAO,SAAS;AAClB,KAAC,CAAC;AAEiB,IAAA,KAAK,GAAG,QAAQ,CAAC,MAAK;AACvC,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,EAAE;AAC5B,QAAA,OAAO,CAAC,MAAM,IAAI,MAAM,CAAC;AACvB,cAAE;AACF,cAAE,MAAM,CAAC,IAAI,KAAK;kBACd,MAAM,CAAC;AACT,kBAAE,MAAM,CAAC,KAAK;AACpB,KAAC,CAAC;AAEiB,IAAA,KAAK,GAAG,QAAQ,CAAC,MAAK;AACvC,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,EAAE;AAC5B,QAAA,OAAO,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CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAHlB,oBAAoB,CAAA,EAAA,CAAA;;2FAGnB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,oBAAoB,CAAC;oBAC/B,OAAO,EAAE,CAAC,oBAAoB;AAC/B,iBAAA;;;ACXD;;;AAGG;;ACHH;;AAEG;;;;"}
1
+ {"version":3,"file":"siemens-element-ng-threshold.mjs","sources":["../../../../projects/element-ng/threshold/si-readonly-threshold-option.component.ts","../../../../projects/element-ng/threshold/si-threshold.component.ts","../../../../projects/element-ng/threshold/si-threshold.component.html","../../../../projects/element-ng/threshold/si-threshold.module.ts","../../../../projects/element-ng/threshold/index.ts","../../../../projects/element-ng/threshold/siemens-element-ng-threshold.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { NgClass } from '@angular/common';\nimport { Component, computed, input } from '@angular/core';\nimport { SiIconNextComponent } from '@siemens/element-ng/icon';\nimport { SelectOption, SelectOptionLegacy } from '@siemens/element-ng/select';\nimport { SiTranslatePipe } from '@siemens/element-translate-ng/translate';\n\n@Component({\n selector: 'si-readonly-threshold-option',\n imports: [NgClass, SiTranslatePipe, SiIconNextComponent],\n template: `@let opt = option();\n @if (opt && opt.icon) {\n <i class=\"icon-stack\">\n <si-icon-next\n class=\"icon me-2\"\n [icon]=\"opt.icon\"\n [ngClass]=\"[(!opt.disabled && color()) || '']\"\n />\n @if (opt.type === 'option' && opt.stackedIcon) {\n <si-icon-next\n class=\"icon me-2\"\n [icon]=\"opt.stackedIcon\"\n [ngClass]=\"opt.stackedIconColor\"\n />\n }\n </i>\n }\n <span class=\"text-truncate\">{{ label() | translate }}</span>`,\n styleUrl: './si-readonly-threshold-option.component.scss',\n host: { class: 'd-flex align-items-center py-2 my-4 px-4 si-title-2' }\n})\nexport class SiReadonlyThresholdOptionComponent {\n readonly value = input.required<string>();\n readonly options = input.required<SelectOptionLegacy[] | SelectOption<unknown>[]>();\n\n protected readonly option = computed(() => {\n const options = this.options();\n const value = this.value();\n if (value && options) {\n return options.find(opt => (opt.type === 'option' ? opt.value === value : opt.id === value));\n }\n return undefined;\n });\n\n protected readonly color = computed(() => {\n const option = this.option();\n return !option || option.disabled\n ? undefined\n : option.type === 'option'\n ? option.iconColor\n : option.color;\n });\n\n protected readonly label = computed(() => {\n const option = this.option();\n return option?.type === 'option' ? option.label : option?.title;\n });\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { NgClass, NgTemplateOutlet } from '@angular/common';\nimport {\n booleanAttribute,\n Component,\n computed,\n input,\n model,\n OnChanges,\n output,\n viewChildren\n} from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { addIcons, elementPlus, SiIconNextComponent } from '@siemens/element-ng/icon';\nimport { SiNumberInputComponent } from '@siemens/element-ng/number-input';\nimport {\n SelectOption,\n SelectOptionLegacy,\n SiSelectComponent,\n SiSelectSimpleOptionsDirective,\n SiSelectSingleValueDirective\n} from '@siemens/element-ng/select';\nimport { SiTranslatePipe, t } from '@siemens/element-translate-ng/translate';\n\nimport { SiReadonlyThresholdOptionComponent } from './si-readonly-threshold-option.component';\n\n/**\n * One step in a list of thresholds\n */\nexport interface ThresholdStep {\n /** Threshold value, the first step has no value */\n value?: number;\n /** One of the `SelectOption.id` */\n optionValue: string;\n /** When set to `false`, input fields are highlighted as invalid */\n valid?: boolean;\n}\n\n@Component({\n selector: 'si-threshold',\n imports: [\n FormsModule,\n NgClass,\n NgTemplateOutlet,\n SiIconNextComponent,\n SiNumberInputComponent,\n SiSelectComponent,\n SiSelectSingleValueDirective,\n SiSelectSimpleOptionsDirective,\n SiTranslatePipe,\n SiReadonlyThresholdOptionComponent\n ],\n templateUrl: './si-threshold.component.html',\n styleUrl: './si-threshold.component.scss',\n host: {\n '[class.add-remove]': 'canAddRemoveSteps()',\n '[class.horizontal]': 'horizontalLayout()',\n '[class.dec-inc-buttons]': 'showDecIncButtons()'\n }\n})\nexport class SiThresholdComponent implements OnChanges {\n /**\n * Options to be shown in select dropdown\n *\n * @defaultValue []\n */\n readonly options = input<SelectOptionLegacy[] | SelectOption<unknown>[]>([]);\n /**\n * The thresholds\n *\n * @defaultValue []\n */\n readonly thresholdSteps = model<ThresholdStep[]>([]);\n /**\n * The unit to show\n *\n * @defaultValue ''\n */\n readonly unit = input('');\n /**\n * The min. value for the threshold value\n *\n * @defaultValue 0\n */\n readonly minValue = input(0);\n /**\n * The max. value for the threshold value\n *\n * @defaultValue 100\n */\n readonly maxValue = input(100);\n /**\n * The step size for the threshold value\n *\n * @defaultValue 1\n */\n readonly stepSize = input(1);\n /**\n * Max. number of steps, 0 for no hard limit\n *\n * @defaultValue 0\n */\n readonly maxSteps = input(0);\n /**\n * Do validation?\n *\n * @defaultValue true\n */\n readonly validation = input(true, { transform: booleanAttribute });\n /**\n * When disabled, steps cannot be added/removed\n *\n * @defaultValue true\n */\n readonly canAddRemoveSteps = input(true, { transform: booleanAttribute });\n /**\n * Use horizontal layout?\n *\n * @defaultValue false\n */\n readonly horizontalLayout = input(false, { transform: booleanAttribute });\n /**\n * Show dec/inc buttons?\n *\n * @defaultValue true\n */\n readonly showDecIncButtons = input(true, { transform: booleanAttribute });\n /**\n * The obvious\n *\n * @defaultValue false\n */\n readonly readonly = input(false, { transform: booleanAttribute });\n /**\n * Indicate that the threshold options are readonly and cannot be changed. This will also disable adding / removing steps.\n *\n * @defaultValue false\n */\n readonly readonlyConditions = input(false, { transform: booleanAttribute });\n /**\n * The aria-label for delete button\n *\n * @defaultValue\n * ```\n * t(() => $localize`:@@SI_THRESHOLD.DELETE:Delete step`)\n * ```\n */\n readonly deleteAriaLabel = input(t(() => $localize`:@@SI_THRESHOLD.DELETE:Delete step`));\n /**\n * The aria-label for add button\n *\n * @defaultValue\n * ```\n * t(() => $localize`:@@SI_THRESHOLD.ADD:Add step`)\n * ```\n */\n readonly addAriaLabel = input(t(() => $localize`:@@SI_THRESHOLD.ADD:Add step`));\n /**\n * The aria-label for input field\n *\n * @defaultValue\n * ```\n * t(() => $localize`:@@SI_THRESHOLD.INPUT_LABEL:Threshold value`)\n * ```\n */\n readonly inputAriaLabel = input(t(() => $localize`:@@SI_THRESHOLD.INPUT_LABEL:Threshold value`));\n /**\n * The aria-label for status selection\n *\n * @defaultValue\n * ```\n * t(() => $localize`:@@SI_THRESHOLD.STATUS:Status`)\n * ```\n */\n readonly statusAriaLabel = input(t(() => $localize`:@@SI_THRESHOLD.STATUS:Status`));\n\n /** Fired when validation status changes */\n readonly validChange = output<boolean>();\n\n protected readonly colors = computed(() => {\n const colorMap = new Map<unknown, string>();\n for (const opt of this.options()) {\n if (opt.type === 'option') {\n colorMap.set(opt.value, opt.iconColor ?? '');\n } else if (!opt.type) {\n colorMap.set(opt.id, opt.color ?? '');\n }\n }\n return this.thresholdSteps().map(ths => colorMap.get(ths.optionValue) ?? '');\n });\n\n protected readonly icons = addIcons({ elementPlus });\n private _valid = true;\n /**\n * Whether the current input value is valid or not.\n */\n get valid(): boolean {\n return this._valid;\n }\n\n private readonly numberInputs = viewChildren(SiNumberInputComponent);\n\n ngOnChanges(): void {\n this.validate();\n }\n\n protected deleteStep(index: number): void {\n const updated = [...this.thresholdSteps()];\n updated.splice(index, 1);\n this.thresholdSteps.set(updated);\n this.validate();\n }\n\n protected addStep(index: number): void {\n const newStep: ThresholdStep = { ...this.thresholdSteps()[index], value: undefined };\n const updated = [...this.thresholdSteps()];\n updated.splice(index + 1, 0, newStep);\n this.thresholdSteps.set(updated);\n this.validate();\n setTimeout(() => this.numberInputs()[index].inputElement().nativeElement.focus());\n }\n\n protected stepChange(): void {\n this.thresholdSteps.set([...this.thresholdSteps()]);\n this.validate();\n }\n\n private validate(): void {\n const prevValid = this.valid;\n this._valid = true;\n for (let i = 1; i < this.thresholdSteps().length; i++) {\n const step = this.thresholdSteps()[i];\n\n if (this.validation()) {\n const prev = this.thresholdSteps()[i - 1];\n const next = this.thresholdSteps()[i + 1];\n\n // valid: withing min/max, each step is lower than next step with step size between\n step.valid =\n step.value != null &&\n step.value >= this.minValue() &&\n step.value <= this.maxValue() &&\n (prev.value == null || step.value - this.stepSize() >= prev.value) &&\n (next?.value == null || step.value + this.stepSize() <= next.value);\n this._valid &&= step.valid;\n } else {\n step.valid = true;\n }\n }\n if (this.valid !== prevValid) {\n this.validChange.emit(this.valid);\n }\n }\n}\n","@for (step of thresholdSteps(); track step) {\n <div class=\"ths-step\">\n @if (!$first) {\n <div class=\"ths-value d-flex align-items-center\">\n @if (canAddRemoveSteps() && !readonly() && !readonlyConditions()) {\n <button\n type=\"button\"\n class=\"btn btn-circle btn-sm btn-ghost element-delete m-4\"\n [attr.aria-label]=\"deleteAriaLabel() | translate\"\n (click)=\"deleteStep($index)\"\n ></button>\n }\n @if (!canAddRemoveSteps() || readonly() || readonlyConditions()) {\n <div class=\"py-4 my-4\">&#8203;</div>\n }\n <div class=\"line\">\n <div class=\"segment\" [ngClass]=\"colors()[$index - 1]\"></div>\n <div class=\"dot\"></div>\n <div class=\"segment\" [ngClass]=\"colors()[$index]\"></div>\n </div>\n <div class=\"d-flex align-items-center text-nowrap m-4\">\n <si-number-input\n #valueInput=\"ngModel\"\n class=\"form-control text-end\"\n [class.is-invalid]=\"step.valid === false\"\n [aria-label]=\"inputAriaLabel() | translate\"\n [readonly]=\"readonly()\"\n [ngModelOptions]=\"{ standalone: true }\"\n [min]=\"minValue()\"\n [max]=\"maxValue()\"\n [step]=\"stepSize()\"\n [unit]=\"unit()\"\n [showButtons]=\"showDecIncButtons()\"\n [required]=\"true\"\n [(ngModel)]=\"step.value\"\n (ngModelChange)=\"stepChange()\"\n />\n </div>\n </div>\n }\n @if ($first && horizontalLayout()) {\n <ng-container\n [ngTemplateOutlet]=\"startend\"\n [ngTemplateOutletContext]=\"{ color: colors()[$index] }\"\n />\n }\n <div class=\"ths-option d-flex align-items-center\">\n @if (canAddRemoveSteps() && !readonly() && !readonlyConditions()) {\n <button\n type=\"button\"\n class=\"btn btn-circle btn-sm btn-secondary m-4\"\n [disabled]=\"maxSteps() && $count >= maxSteps()\"\n [attr.aria-label]=\"addAriaLabel() | translate\"\n (click)=\"addStep($index)\"\n >\n <si-icon-next [icon]=\"icons.elementPlus\" />\n </button>\n }\n @if (!canAddRemoveSteps() || readonly() || readonlyConditions()) {\n <div class=\"py-4 my-4\">&#8203;</div>\n }\n <div class=\"line\" [ngClass]=\"colors()[$index]\">\n <div class=\"segment\"></div>\n </div>\n @if (!readonly() && !readonlyConditions()) {\n <si-select\n class=\"my-4\"\n [ariaLabel]=\"statusAriaLabel() | translate\"\n [readonly]=\"readonly()\"\n [options]=\"options()\"\n [(value)]=\"step.optionValue\"\n (valueChange)=\"stepChange()\"\n />\n }\n @if (readonly() || readonlyConditions()) {\n <si-readonly-threshold-option [options]=\"options()\" [value]=\"step.optionValue\" />\n }\n </div>\n @if ($last && horizontalLayout()) {\n <ng-container\n [ngTemplateOutlet]=\"startend\"\n [ngTemplateOutletContext]=\"{ color: colors()[$index] }\"\n />\n }\n </div>\n}\n\n<ng-template #startend let-color=\"color\">\n <div class=\"ths-value d-flex align-items-center startend\">\n <div class=\"py-4 my-4\">&#8203;</div>\n <div class=\"line\">\n <div class=\"segment\" [ngClass]=\"color\"></div>\n </div>\n </div>\n</ng-template>\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { NgModule } from '@angular/core';\n\nimport { SiThresholdComponent } from './si-threshold.component';\n\n@NgModule({\n imports: [SiThresholdComponent],\n exports: [SiThresholdComponent]\n})\nexport class SiThresholdModule {}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-threshold.component';\nexport * from './si-threshold.module';\n","/**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