@siemens/element-ng 47.8.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 (679) hide show
  1. package/about/index.d.ts +127 -3
  2. package/accordion/index.d.ts +152 -9
  3. package/action-modal/index.d.ts +92 -2
  4. package/application-header/index.d.ts +357 -13
  5. package/auto-collapsable-list/index.d.ts +114 -10
  6. package/autocomplete/index.d.ts +77 -8
  7. package/avatar/index.d.ts +83 -4
  8. package/badge/index.d.ts +21 -5
  9. package/breadcrumb/index.d.ts +90 -3
  10. package/breadcrumb-router/index.d.ts +104 -4
  11. package/card/index.d.ts +88 -6
  12. package/circle-status/index.d.ts +75 -6
  13. package/color-picker/index.d.ts +65 -5
  14. package/column-selection-dialog/index.d.ts +89 -2
  15. package/common/index.d.ts +421 -4
  16. package/connection-strength/index.d.ts +29 -6
  17. package/content-action-bar/index.d.ts +88 -3
  18. package/copyright-notice/index.d.ts +48 -3
  19. package/dashboard/index.d.ts +782 -16
  20. package/datatable/index.d.ts +45 -6
  21. package/date-range-filter/index.d.ts +333 -4
  22. package/datepicker/index.d.ts +1409 -11
  23. package/electron-titlebar/index.d.ts +84 -3
  24. package/empty-state/index.d.ts +27 -6
  25. package/fesm2022/siemens-element-ng-about.mjs +7 -7
  26. package/fesm2022/siemens-element-ng-about.mjs.map +1 -1
  27. package/fesm2022/siemens-element-ng-accordion.mjs +17 -30
  28. package/fesm2022/siemens-element-ng-accordion.mjs.map +1 -1
  29. package/fesm2022/siemens-element-ng-action-modal.mjs +41 -125
  30. package/fesm2022/siemens-element-ng-action-modal.mjs.map +1 -1
  31. package/fesm2022/siemens-element-ng-application-header.mjs +69 -65
  32. package/fesm2022/siemens-element-ng-application-header.mjs.map +1 -1
  33. package/fesm2022/siemens-element-ng-auto-collapsable-list.mjs +47 -43
  34. package/fesm2022/siemens-element-ng-auto-collapsable-list.mjs.map +1 -1
  35. package/fesm2022/siemens-element-ng-autocomplete.mjs +35 -35
  36. package/fesm2022/siemens-element-ng-autocomplete.mjs.map +1 -1
  37. package/fesm2022/siemens-element-ng-avatar.mjs +6 -6
  38. package/fesm2022/siemens-element-ng-avatar.mjs.map +1 -1
  39. package/fesm2022/siemens-element-ng-badge.mjs +3 -3
  40. package/fesm2022/siemens-element-ng-badge.mjs.map +1 -1
  41. package/fesm2022/siemens-element-ng-breadcrumb-router.mjs +10 -10
  42. package/fesm2022/siemens-element-ng-breadcrumb-router.mjs.map +1 -1
  43. package/fesm2022/siemens-element-ng-breadcrumb.mjs +13 -13
  44. package/fesm2022/siemens-element-ng-breadcrumb.mjs.map +1 -1
  45. package/fesm2022/siemens-element-ng-card.mjs +7 -7
  46. package/fesm2022/siemens-element-ng-card.mjs.map +1 -1
  47. package/fesm2022/siemens-element-ng-circle-status.mjs +7 -7
  48. package/fesm2022/siemens-element-ng-circle-status.mjs.map +1 -1
  49. package/fesm2022/siemens-element-ng-color-picker.mjs +11 -12
  50. package/fesm2022/siemens-element-ng-color-picker.mjs.map +1 -1
  51. package/fesm2022/siemens-element-ng-column-selection-dialog.mjs +28 -31
  52. package/fesm2022/siemens-element-ng-column-selection-dialog.mjs.map +1 -1
  53. package/fesm2022/siemens-element-ng-common.mjs +14 -14
  54. package/fesm2022/siemens-element-ng-common.mjs.map +1 -1
  55. package/fesm2022/siemens-element-ng-connection-strength.mjs +7 -7
  56. package/fesm2022/siemens-element-ng-content-action-bar.mjs +13 -13
  57. package/fesm2022/siemens-element-ng-content-action-bar.mjs.map +1 -1
  58. package/fesm2022/siemens-element-ng-copyright-notice.mjs +7 -7
  59. package/fesm2022/siemens-element-ng-copyright-notice.mjs.map +1 -1
  60. package/fesm2022/siemens-element-ng-dashboard.mjs +61 -61
  61. package/fesm2022/siemens-element-ng-dashboard.mjs.map +1 -1
  62. package/fesm2022/siemens-element-ng-datatable.mjs +7 -7
  63. package/fesm2022/siemens-element-ng-datatable.mjs.map +1 -1
  64. package/fesm2022/siemens-element-ng-date-range-filter.mjs +87 -73
  65. package/fesm2022/siemens-element-ng-date-range-filter.mjs.map +1 -1
  66. package/fesm2022/siemens-element-ng-datepicker.mjs +104 -142
  67. package/fesm2022/siemens-element-ng-datepicker.mjs.map +1 -1
  68. package/fesm2022/siemens-element-ng-electron-titlebar.mjs +14 -14
  69. package/fesm2022/siemens-element-ng-electron-titlebar.mjs.map +1 -1
  70. package/fesm2022/siemens-element-ng-empty-state.mjs +7 -7
  71. package/fesm2022/siemens-element-ng-empty-state.mjs.map +1 -1
  72. package/fesm2022/siemens-element-ng-file-uploader.mjs +54 -54
  73. package/fesm2022/siemens-element-ng-file-uploader.mjs.map +1 -1
  74. package/fesm2022/siemens-element-ng-filter-bar.mjs +18 -18
  75. package/fesm2022/siemens-element-ng-filter-bar.mjs.map +1 -1
  76. package/fesm2022/siemens-element-ng-filtered-search.mjs +31 -74
  77. package/fesm2022/siemens-element-ng-filtered-search.mjs.map +1 -1
  78. package/fesm2022/siemens-element-ng-footer.mjs +7 -7
  79. package/fesm2022/siemens-element-ng-footer.mjs.map +1 -1
  80. package/fesm2022/siemens-element-ng-form.mjs +125 -271
  81. package/fesm2022/siemens-element-ng-form.mjs.map +1 -1
  82. package/fesm2022/siemens-element-ng-formly.mjs +78 -83
  83. package/fesm2022/siemens-element-ng-formly.mjs.map +1 -1
  84. package/fesm2022/siemens-element-ng-header-dropdown.mjs +18 -17
  85. package/fesm2022/siemens-element-ng-header-dropdown.mjs.map +1 -1
  86. package/fesm2022/siemens-element-ng-help-button.mjs +63 -0
  87. package/fesm2022/siemens-element-ng-help-button.mjs.map +1 -0
  88. package/fesm2022/siemens-element-ng-icon-status.mjs +7 -7
  89. package/fesm2022/siemens-element-ng-icon-status.mjs.map +1 -1
  90. package/fesm2022/siemens-element-ng-icon.mjs +28 -27
  91. package/fesm2022/siemens-element-ng-icon.mjs.map +1 -1
  92. package/fesm2022/siemens-element-ng-info-page.mjs +3 -3
  93. package/fesm2022/siemens-element-ng-info-page.mjs.map +1 -1
  94. package/fesm2022/siemens-element-ng-inline-notification.mjs +7 -7
  95. package/fesm2022/siemens-element-ng-inline-notification.mjs.map +1 -1
  96. package/fesm2022/siemens-element-ng-ip-input.mjs +10 -9
  97. package/fesm2022/siemens-element-ng-ip-input.mjs.map +1 -1
  98. package/fesm2022/siemens-element-ng-landing-page.mjs +7 -7
  99. package/fesm2022/siemens-element-ng-landing-page.mjs.map +1 -1
  100. package/fesm2022/siemens-element-ng-language-switcher.mjs +10 -10
  101. package/fesm2022/siemens-element-ng-language-switcher.mjs.map +1 -1
  102. package/fesm2022/siemens-element-ng-link.mjs +10 -10
  103. package/fesm2022/siemens-element-ng-list-details.mjs +27 -27
  104. package/fesm2022/siemens-element-ng-list-details.mjs.map +1 -1
  105. package/fesm2022/siemens-element-ng-loading-spinner.mjs +19 -19
  106. package/fesm2022/siemens-element-ng-loading-spinner.mjs.map +1 -1
  107. package/fesm2022/siemens-element-ng-localization.mjs +9 -9
  108. package/fesm2022/siemens-element-ng-localization.mjs.map +1 -1
  109. package/fesm2022/siemens-element-ng-main-detail-container.mjs +10 -10
  110. package/fesm2022/siemens-element-ng-main-detail-container.mjs.map +1 -1
  111. package/fesm2022/siemens-element-ng-menu.mjs +34 -34
  112. package/fesm2022/siemens-element-ng-menu.mjs.map +1 -1
  113. package/fesm2022/siemens-element-ng-modal.mjs +8 -8
  114. package/fesm2022/siemens-element-ng-modal.mjs.map +1 -1
  115. package/fesm2022/siemens-element-ng-navbar-vertical.mjs +43 -57
  116. package/fesm2022/siemens-element-ng-navbar-vertical.mjs.map +1 -1
  117. package/fesm2022/siemens-element-ng-navbar.mjs +29 -29
  118. package/fesm2022/siemens-element-ng-navbar.mjs.map +1 -1
  119. package/fesm2022/siemens-element-ng-number-input.mjs +7 -7
  120. package/fesm2022/siemens-element-ng-number-input.mjs.map +1 -1
  121. package/fesm2022/siemens-element-ng-pagination.mjs +14 -14
  122. package/fesm2022/siemens-element-ng-pagination.mjs.map +1 -1
  123. package/fesm2022/siemens-element-ng-password-strength.mjs +13 -16
  124. package/fesm2022/siemens-element-ng-password-strength.mjs.map +1 -1
  125. package/fesm2022/siemens-element-ng-password-toggle.mjs +12 -12
  126. package/fesm2022/siemens-element-ng-password-toggle.mjs.map +1 -1
  127. package/fesm2022/siemens-element-ng-phone-number.mjs +19 -19
  128. package/fesm2022/siemens-element-ng-phone-number.mjs.map +1 -1
  129. package/fesm2022/siemens-element-ng-photo-upload.mjs +25 -25
  130. package/fesm2022/siemens-element-ng-photo-upload.mjs.map +1 -1
  131. package/fesm2022/siemens-element-ng-pills-input.mjs +22 -22
  132. package/fesm2022/siemens-element-ng-pills-input.mjs.map +1 -1
  133. package/fesm2022/siemens-element-ng-popover-next.mjs +34 -23
  134. package/fesm2022/siemens-element-ng-popover-next.mjs.map +1 -1
  135. package/fesm2022/siemens-element-ng-popover.mjs +10 -10
  136. package/fesm2022/siemens-element-ng-popover.mjs.map +1 -1
  137. package/fesm2022/siemens-element-ng-progressbar.mjs +10 -10
  138. package/fesm2022/siemens-element-ng-progressbar.mjs.map +1 -1
  139. package/fesm2022/siemens-element-ng-resize-observer.mjs +13 -13
  140. package/fesm2022/siemens-element-ng-resize-observer.mjs.map +1 -1
  141. package/fesm2022/siemens-element-ng-result-details-list.mjs +8 -20
  142. package/fesm2022/siemens-element-ng-result-details-list.mjs.map +1 -1
  143. package/fesm2022/siemens-element-ng-search-bar.mjs +18 -15
  144. package/fesm2022/siemens-element-ng-search-bar.mjs.map +1 -1
  145. package/fesm2022/siemens-element-ng-select.mjs +66 -66
  146. package/fesm2022/siemens-element-ng-select.mjs.map +1 -1
  147. package/fesm2022/siemens-element-ng-shadow-root.mjs +4 -5
  148. package/fesm2022/siemens-element-ng-shadow-root.mjs.map +1 -1
  149. package/fesm2022/siemens-element-ng-side-panel.mjs +24 -24
  150. package/fesm2022/siemens-element-ng-side-panel.mjs.map +1 -1
  151. package/fesm2022/siemens-element-ng-skip-links.mjs +12 -13
  152. package/fesm2022/siemens-element-ng-skip-links.mjs.map +1 -1
  153. package/fesm2022/siemens-element-ng-slider.mjs +14 -14
  154. package/fesm2022/siemens-element-ng-slider.mjs.map +1 -1
  155. package/fesm2022/siemens-element-ng-sort-bar.mjs +10 -10
  156. package/fesm2022/siemens-element-ng-sort-bar.mjs.map +1 -1
  157. package/fesm2022/siemens-element-ng-split.mjs +13 -29
  158. package/fesm2022/siemens-element-ng-split.mjs.map +1 -1
  159. package/fesm2022/siemens-element-ng-status-bar.mjs +19 -19
  160. package/fesm2022/siemens-element-ng-status-bar.mjs.map +1 -1
  161. package/fesm2022/siemens-element-ng-status-toggle.mjs +7 -7
  162. package/fesm2022/siemens-element-ng-status-toggle.mjs.map +1 -1
  163. package/fesm2022/siemens-element-ng-summary-chip.mjs +3 -3
  164. package/fesm2022/siemens-element-ng-summary-chip.mjs.map +1 -1
  165. package/fesm2022/siemens-element-ng-summary-widget.mjs +5 -5
  166. package/fesm2022/siemens-element-ng-summary-widget.mjs.map +1 -1
  167. package/fesm2022/siemens-element-ng-system-banner.mjs +3 -3
  168. package/fesm2022/siemens-element-ng-system-banner.mjs.map +1 -1
  169. package/fesm2022/siemens-element-ng-tabs-next.mjs +147 -176
  170. package/fesm2022/siemens-element-ng-tabs-next.mjs.map +1 -1
  171. package/fesm2022/siemens-element-ng-tabs.mjs +12 -11
  172. package/fesm2022/siemens-element-ng-tabs.mjs.map +1 -1
  173. package/fesm2022/siemens-element-ng-theme.mjs +5 -5
  174. package/fesm2022/siemens-element-ng-theme.mjs.map +1 -1
  175. package/fesm2022/siemens-element-ng-threshold.mjs +22 -22
  176. package/fesm2022/siemens-element-ng-threshold.mjs.map +1 -1
  177. package/fesm2022/siemens-element-ng-toast-notification.mjs +11 -11
  178. package/fesm2022/siemens-element-ng-toast-notification.mjs.map +1 -1
  179. package/fesm2022/siemens-element-ng-tooltip.mjs +22 -16
  180. package/fesm2022/siemens-element-ng-tooltip.mjs.map +1 -1
  181. package/fesm2022/siemens-element-ng-tour.mjs +19 -19
  182. package/fesm2022/siemens-element-ng-tour.mjs.map +1 -1
  183. package/fesm2022/siemens-element-ng-translate.mjs.map +1 -1
  184. package/fesm2022/siemens-element-ng-tree-view.mjs +44 -55
  185. package/fesm2022/siemens-element-ng-tree-view.mjs.map +1 -1
  186. package/fesm2022/siemens-element-ng-typeahead.mjs +19 -36
  187. package/fesm2022/siemens-element-ng-typeahead.mjs.map +1 -1
  188. package/fesm2022/siemens-element-ng-unauthorized-page.mjs +7 -7
  189. package/fesm2022/siemens-element-ng-unauthorized-page.mjs.map +1 -1
  190. package/fesm2022/siemens-element-ng-wizard.mjs +76 -109
  191. package/fesm2022/siemens-element-ng-wizard.mjs.map +1 -1
  192. package/file-uploader/index.d.ts +419 -4
  193. package/filter-bar/index.d.ts +117 -4
  194. package/filtered-search/index.d.ts +433 -3
  195. package/footer/index.d.ts +23 -6
  196. package/form/index.d.ts +411 -10
  197. package/formly/index.d.ts +217 -2
  198. package/header-dropdown/index.d.ts +150 -5
  199. package/help-button/index.d.ts +26 -0
  200. package/help-button/package.json +3 -0
  201. package/icon/index.d.ts +210 -7
  202. package/icon-status/index.d.ts +33 -6
  203. package/index.d.ts +5 -3
  204. package/info-page/index.d.ts +39 -3
  205. package/inline-notification/index.d.ts +49 -6
  206. package/ip-input/index.d.ts +87 -3
  207. package/landing-page/index.d.ts +95 -3
  208. package/language-switcher/index.d.ts +53 -3
  209. package/link/index.d.ts +127 -4
  210. package/list-details/index.d.ts +176 -12
  211. package/loading-spinner/index.d.ts +128 -9
  212. package/localization/index.d.ts +147 -4
  213. package/main-detail-container/index.d.ts +161 -6
  214. package/menu/index.d.ts +195 -11
  215. package/modal/index.d.ts +129 -3
  216. package/navbar/index.d.ts +304 -4
  217. package/navbar-vertical/index.d.ts +226 -3
  218. package/number-input/index.d.ts +111 -6
  219. package/package.json +17 -13
  220. package/pagination/index.d.ts +75 -6
  221. package/password-strength/index.d.ts +96 -7
  222. package/password-toggle/index.d.ts +49 -6
  223. package/phone-number/index.d.ts +192 -3
  224. package/photo-upload/index.d.ts +304 -4
  225. package/pills-input/index.d.ts +135 -9
  226. package/popover/index.d.ts +98 -6
  227. package/popover-next/index.d.ts +112 -7
  228. package/progressbar/index.d.ts +54 -6
  229. package/resize-observer/index.d.ts +143 -6
  230. package/result-details-list/index.d.ts +58 -3
  231. package/search-bar/index.d.ts +93 -6
  232. package/select/index.d.ts +605 -14
  233. package/shadow-root/index.d.ts +39 -1
  234. package/side-panel/index.d.ts +276 -5
  235. package/skip-links/index.d.ts +24 -3
  236. package/slider/index.d.ts +139 -6
  237. package/sort-bar/index.d.ts +49 -6
  238. package/split/index.d.ts +207 -4
  239. package/status-bar/index.d.ts +178 -3
  240. package/status-toggle/index.d.ts +81 -2
  241. package/summary-chip/index.d.ts +48 -5
  242. package/summary-widget/index.d.ts +48 -5
  243. package/system-banner/index.d.ts +24 -3
  244. package/tabs/index.d.ts +161 -7
  245. package/tabs-next/index.d.ts +121 -7
  246. package/template-i18n.json +0 -3
  247. package/theme/index.d.ts +259 -3
  248. package/threshold/index.d.ts +156 -4
  249. package/toast-notification/index.d.ts +66 -2
  250. package/tooltip/index.d.ts +92 -3
  251. package/tour/index.d.ts +114 -2
  252. package/translate/index.d.ts +199 -3
  253. package/tree-view/index.d.ts +818 -8
  254. package/typeahead/index.d.ts +262 -4
  255. package/unauthorized-page/index.d.ts +42 -4
  256. package/wizard/index.d.ts +209 -7
  257. package/about/si-about-data.model.d.ts +0 -49
  258. package/about/si-about.component.d.ts +0 -71
  259. package/about/si-about.module.d.ts +0 -7
  260. package/accordion/si-accordion-hcollapse.service.d.ts +0 -17
  261. package/accordion/si-accordion.component.d.ts +0 -37
  262. package/accordion/si-accordion.module.d.ts +0 -8
  263. package/accordion/si-accordion.service.d.ts +0 -17
  264. package/accordion/si-collapsible-panel.component.d.ts +0 -89
  265. package/action-modal/si-action-dialog.service.d.ts +0 -49
  266. package/action-modal/si-action-dialog.types.d.ts +0 -92
  267. package/action-modal/si-alert-dialog/si-alert-dialog.component.d.ts +0 -32
  268. package/action-modal/si-confirmation-dialog/si-confirmation-dialog.component.d.ts +0 -40
  269. package/action-modal/si-delete-confirmation-dialog/si-delete-confirmation-dialog.component.d.ts +0 -45
  270. package/action-modal/si-edit-discard-dialog/si-edit-discard-dialog.component.d.ts +0 -68
  271. package/application-header/launchpad/si-launchpad-app.component.d.ts +0 -21
  272. package/application-header/launchpad/si-launchpad-factory.component.d.ts +0 -83
  273. package/application-header/launchpad/si-launchpad.model.d.ts +0 -33
  274. package/application-header/si-application-header.component.d.ts +0 -60
  275. package/application-header/si-header-account-item.component.d.ts +0 -13
  276. package/application-header/si-header-action-item-icon-base.directive.d.ts +0 -26
  277. package/application-header/si-header-action-item.base.d.ts +0 -19
  278. package/application-header/si-header-action-item.component.d.ts +0 -9
  279. package/application-header/si-header-actions.directive.d.ts +0 -5
  280. package/application-header/si-header-brand.directive.d.ts +0 -5
  281. package/application-header/si-header-collapsible-actions.component.d.ts +0 -33
  282. package/application-header/si-header-logo.directive.d.ts +0 -16
  283. package/application-header/si-header-navigation-item.component.d.ts +0 -10
  284. package/application-header/si-header-navigation.component.d.ts +0 -11
  285. package/application-header/si-header-selection-item.component.d.ts +0 -12
  286. package/application-header/si-header-siemens-logo.component.d.ts +0 -21
  287. package/auto-collapsable-list/si-auto-collapsable-list-additional-content.directive.d.ts +0 -6
  288. package/auto-collapsable-list/si-auto-collapsable-list-item.directive.d.ts +0 -29
  289. package/auto-collapsable-list/si-auto-collapsable-list-measurable.class.d.ts +0 -16
  290. package/auto-collapsable-list/si-auto-collapsable-list-overflow-item.directive.d.ts +0 -12
  291. package/auto-collapsable-list/si-auto-collapsable-list.directive.d.ts +0 -47
  292. package/auto-collapsable-list/si-auto-collapsable-list.module.d.ts +0 -10
  293. package/autocomplete/si-autocomplete-listbox.directive.d.ts +0 -31
  294. package/autocomplete/si-autocomplete-option.directive.d.ts +0 -31
  295. package/autocomplete/si-autocomplete.directive.d.ts +0 -14
  296. package/autocomplete/si-autocomplete.model.d.ts +0 -7
  297. package/autocomplete/si-autocomplete.module.d.ts +0 -9
  298. package/avatar/si-avatar-background-color.directive.d.ts +0 -35
  299. package/avatar/si-avatar.component.d.ts +0 -51
  300. package/badge/si-badge.component.d.ts +0 -17
  301. package/breadcrumb/breadcrumb-item.model.d.ts +0 -36
  302. package/breadcrumb/si-breadcrumb-item-template.directive.d.ts +0 -10
  303. package/breadcrumb/si-breadcrumb.component.d.ts +0 -46
  304. package/breadcrumb/si-breadcrumb.module.d.ts +0 -7
  305. package/breadcrumb-router/si-breadcrumb-default-resolver.service.d.ts +0 -23
  306. package/breadcrumb-router/si-breadcrumb-router.component.d.ts +0 -30
  307. package/breadcrumb-router/si-breadcrumb-router.model.d.ts +0 -53
  308. package/breadcrumb-router/si-breadcrumb-router.module.d.ts +0 -7
  309. package/card/si-card.component.d.ts +0 -79
  310. package/card/si-card.module.d.ts +0 -7
  311. package/circle-status/si-circle-status.component.d.ts +0 -66
  312. package/circle-status/si-circle-status.module.d.ts +0 -7
  313. package/color-picker/si-color-picker.component.d.ts +0 -61
  314. package/column-selection-dialog/column-selection-editor/si-column-selection-editor.component.d.ts +0 -23
  315. package/column-selection-dialog/si-column-selection-dialog.component.d.ts +0 -114
  316. package/column-selection-dialog/si-column-selection-dialog.service.d.ts +0 -20
  317. package/column-selection-dialog/si-column-selection-dialog.types.d.ts +0 -68
  318. package/common/decorators/index.d.ts +0 -5
  319. package/common/decorators/webcomponent.decorator.d.ts +0 -6
  320. package/common/helpers/animation.helpers.d.ts +0 -10
  321. package/common/helpers/global-events.helpers.d.ts +0 -5
  322. package/common/helpers/index.d.ts +0 -10
  323. package/common/helpers/overlay-helper.d.ts +0 -24
  324. package/common/helpers/positioning.helpers.d.ts +0 -58
  325. package/common/helpers/rtl.d.ts +0 -6
  326. package/common/helpers/track-by.helper.d.ts +0 -27
  327. package/common/models/color-variant.model.d.ts +0 -8
  328. package/common/models/index.d.ts +0 -8
  329. package/common/models/menu.model.d.ts +0 -85
  330. package/common/models/positions.model.d.ts +0 -18
  331. package/common/models/status-type.model.d.ts +0 -21
  332. package/common/services/blink.service.d.ts +0 -41
  333. package/common/services/index.d.ts +0 -8
  334. package/common/services/scrollbar-helper.service.d.ts +0 -17
  335. package/common/services/si-uistate.service.d.ts +0 -61
  336. package/common/services/text-measure.service.d.ts +0 -21
  337. package/connection-strength/si-connection-strength.component.d.ts +0 -19
  338. package/connection-strength/si-connection-strength.module.d.ts +0 -7
  339. package/content-action-bar/si-content-action-bar-toggle.component.d.ts +0 -6
  340. package/content-action-bar/si-content-action-bar.component.d.ts +0 -72
  341. package/content-action-bar/si-content-action-bar.model.d.ts +0 -9
  342. package/content-action-bar/si-content-action-bar.module.d.ts +0 -7
  343. package/copyright-notice/si-copyright-notice.component.d.ts +0 -18
  344. package/copyright-notice/si-copyright-notice.d.ts +0 -23
  345. package/copyright-notice/si-copyright-notice.module.d.ts +0 -7
  346. package/dashboard/si-dashboard-card.component.d.ts +0 -82
  347. package/dashboard/si-dashboard.component.d.ts +0 -75
  348. package/dashboard/si-dashboard.module.d.ts +0 -8
  349. package/dashboard/si-dashboard.service.d.ts +0 -21
  350. package/dashboard/widgets/si-link-widget.component.d.ts +0 -25
  351. package/dashboard/widgets/si-list-widget/si-list-widget-body.component.d.ts +0 -98
  352. package/dashboard/widgets/si-list-widget/si-list-widget-item.component.d.ts +0 -39
  353. package/dashboard/widgets/si-list-widget/si-list-widget.component.d.ts +0 -115
  354. package/dashboard/widgets/si-timeline-widget/si-timeline-widget-body.component.d.ts +0 -21
  355. package/dashboard/widgets/si-timeline-widget/si-timeline-widget-item.component.d.ts +0 -103
  356. package/dashboard/widgets/si-timeline-widget/si-timeline-widget.component.d.ts +0 -52
  357. package/dashboard/widgets/si-value-widget-body.component.d.ts +0 -33
  358. package/dashboard/widgets/si-value-widget.component.d.ts +0 -115
  359. package/dashboard/widgets/si-widget-base.component.d.ts +0 -48
  360. package/datatable/si-datatable-interaction.directive.d.ts +0 -34
  361. package/datatable/si-datatable.module.d.ts +0 -7
  362. package/date-range-filter/si-date-range-calculation.service.d.ts +0 -33
  363. package/date-range-filter/si-date-range-filter.component.d.ts +0 -252
  364. package/date-range-filter/si-date-range-filter.module.d.ts +0 -7
  365. package/date-range-filter/si-date-range-filter.types.d.ts +0 -40
  366. package/date-range-filter/si-relative-date.component.d.ts +0 -31
  367. package/datepicker/components/si-calendar-body.component.d.ts +0 -137
  368. package/datepicker/components/si-calendar-date-cell.directive.d.ts +0 -16
  369. package/datepicker/components/si-calendar-direction-button.component.d.ts +0 -18
  370. package/datepicker/components/si-compare-adapter.d.ts +0 -37
  371. package/datepicker/components/si-day-selection.component.d.ts +0 -76
  372. package/datepicker/components/si-initial-focus.component.d.ts +0 -74
  373. package/datepicker/components/si-month-selection.component.d.ts +0 -62
  374. package/datepicker/components/si-year-selection.component.d.ts +0 -65
  375. package/datepicker/date-time-helper.d.ts +0 -302
  376. package/datepicker/si-calendar-button.component.d.ts +0 -49
  377. package/datepicker/si-date-input.directive.d.ts +0 -114
  378. package/datepicker/si-date-range.component.d.ts +0 -150
  379. package/datepicker/si-datepicker-overlay.component.d.ts +0 -82
  380. package/datepicker/si-datepicker-overlay.directive.d.ts +0 -104
  381. package/datepicker/si-datepicker.component.d.ts +0 -228
  382. package/datepicker/si-datepicker.directive.d.ts +0 -62
  383. package/datepicker/si-datepicker.model.d.ts +0 -129
  384. package/datepicker/si-datepicker.module.d.ts +0 -12
  385. package/datepicker/si-timepicker.component.d.ts +0 -214
  386. package/electron-titlebar/electron.helpers.d.ts +0 -5
  387. package/electron-titlebar/si-electron-titlebar.component.d.ts +0 -72
  388. package/electron-titlebar/si-electron-titlebar.module.d.ts +0 -7
  389. package/empty-state/si-empty-state.component.d.ts +0 -18
  390. package/empty-state/si-empty-state.module.d.ts +0 -7
  391. package/file-uploader/si-file-dropzone.component.d.ts +0 -106
  392. package/file-uploader/si-file-uploader.component.d.ts +0 -296
  393. package/file-uploader/si-file-uploader.model.d.ts +0 -12
  394. package/file-uploader/si-file-uploader.module.d.ts +0 -8
  395. package/filter-bar/filter.d.ts +0 -26
  396. package/filter-bar/si-filter-bar.component.d.ts +0 -65
  397. package/filter-bar/si-filter-bar.module.d.ts +0 -7
  398. package/filter-bar/si-filter-pill.component.d.ts +0 -20
  399. package/filtered-search/si-filtered-search-helper.d.ts +0 -22
  400. package/filtered-search/si-filtered-search-value.component.d.ts +0 -53
  401. package/filtered-search/si-filtered-search.component.d.ts +0 -329
  402. package/filtered-search/si-filtered-search.model.d.ts +0 -139
  403. package/filtered-search/si-filtered-search.module.d.ts +0 -7
  404. package/filtered-search/values/date-value/si-filtered-search-date-value.component.d.ts +0 -57
  405. package/filtered-search/values/si-filtered-search-value.base.d.ts +0 -27
  406. package/filtered-search/values/typeahead/si-filtered-search-typeahead.component.d.ts +0 -45
  407. package/footer/si-footer.component.d.ts +0 -14
  408. package/footer/si-footer.module.d.ts +0 -7
  409. package/form/form-fieldset/si-form-fieldset.component.d.ts +0 -40
  410. package/form/si-form-container/si-form-container.component.d.ts +0 -155
  411. package/form/si-form-item/si-form-field-native.control.d.ts +0 -22
  412. package/form/si-form-item/si-form-item.component.d.ts +0 -90
  413. package/form/si-form-item-control-input.directive.d.ts +0 -18
  414. package/form/si-form-item.control.d.ts +0 -35
  415. package/form/si-form-validation-error.model.d.ts +0 -55
  416. package/form/si-form-validation-error.provider.d.ts +0 -11
  417. package/form/si-form-validation-error.service.d.ts +0 -42
  418. package/form/si-form-validation-tooltip/si-form-validation-tooltip.component.d.ts +0 -13
  419. package/form/si-form-validation-tooltip/si-form-validation-tooltip.directive.d.ts +0 -42
  420. package/form/si-form.module.d.ts +0 -25
  421. package/formly/fields/button/si-formly-button.component.d.ts +0 -7
  422. package/formly/fields/date-range/si-formly-date-range.component.d.ts +0 -6
  423. package/formly/fields/datetime/si-formly-datetime.component.d.ts +0 -13
  424. package/formly/fields/email/si-formly-email.component.d.ts +0 -6
  425. package/formly/fields/ip-input/si-formly-ip-input.component.d.ts +0 -6
  426. package/formly/fields/number/si-formly-number.component.d.ts +0 -6
  427. package/formly/fields/password/si-formly-password.component.d.ts +0 -6
  428. package/formly/fields/select/si-formly-select.component.d.ts +0 -6
  429. package/formly/fields/text/si-formly-text-display.component.d.ts +0 -7
  430. package/formly/fields/textarea/si-formly-textarea.component.d.ts +0 -18
  431. package/formly/fields/time/si-formly-time.component.d.ts +0 -13
  432. package/formly/si-formly-translate.extension.d.ts +0 -9
  433. package/formly/si-formly.component.d.ts +0 -62
  434. package/formly/si-formly.module.d.ts +0 -35
  435. package/formly/structural/si-formly-accordion/si-formly-accordion.component.d.ts +0 -13
  436. package/formly/structural/si-formly-array/si-formly-array.component.d.ts +0 -6
  437. package/formly/structural/si-formly-object/si-formly-object.component.d.ts +0 -6
  438. package/formly/structural/si-formly-object-grid/si-formly-object-grid.component.d.ts +0 -22
  439. package/formly/structural/si-formly-object-grid/si-formly-object-grid.model.d.ts +0 -21
  440. package/formly/structural/si-formly-object-plain/si-formly-object-plain.component.d.ts +0 -6
  441. package/formly/structural/si-formly-tabset/si-formly-object-tabset.component.d.ts +0 -7
  442. package/formly/utils.d.ts +0 -6
  443. package/formly/wrapper/si-formly-fieldset.component.d.ts +0 -8
  444. package/formly/wrapper/si-formly-form-field-provider.directive.d.ts +0 -19
  445. package/formly/wrapper/si-formly-horizontal-wrapper.component.d.ts +0 -6
  446. package/formly/wrapper/si-formly-icon-wrapper.component.d.ts +0 -6
  447. package/formly/wrapper/si-formly-wrapper.component.d.ts +0 -8
  448. package/header-dropdown/si-header-dropdown-item.component.d.ts +0 -23
  449. package/header-dropdown/si-header-dropdown-items-factory.component.d.ts +0 -14
  450. package/header-dropdown/si-header-dropdown-trigger.directive.d.ts +0 -57
  451. package/header-dropdown/si-header-dropdown.component.d.ts +0 -20
  452. package/header-dropdown/si-header.model.d.ts +0 -37
  453. package/icon/element-icons.d.ts +0 -59
  454. package/icon/icon-status.d.ts +0 -22
  455. package/icon/si-icon-next.component.d.ts +0 -64
  456. package/icon/si-icon.component.d.ts +0 -23
  457. package/icon/si-icon.module.d.ts +0 -7
  458. package/icon/si-icons.d.ts +0 -31
  459. package/icon/si-status-icon.component.d.ts +0 -9
  460. package/icon-status/si-icon-status.component.d.ts +0 -24
  461. package/icon-status/si-icon-status.module.d.ts +0 -7
  462. package/info-page/si-info-page.component.d.ts +0 -38
  463. package/inline-notification/si-inline-notification.component.d.ts +0 -40
  464. package/inline-notification/si-inline-notification.module.d.ts +0 -7
  465. package/ip-input/address-utils.d.ts +0 -28
  466. package/ip-input/address-validators.d.ts +0 -21
  467. package/ip-input/si-ip-input.directive.d.ts +0 -53
  468. package/ip-input/si-ip4-input.directive.d.ts +0 -9
  469. package/ip-input/si-ip6-input.directive.d.ts +0 -10
  470. package/landing-page/alert-config.model.d.ts +0 -15
  471. package/landing-page/si-landing-page.component.d.ts +0 -74
  472. package/landing-page/si-landing-page.module.d.ts +0 -7
  473. package/language-switcher/iso-language-value.d.ts +0 -14
  474. package/language-switcher/si-language-switcher.component.d.ts +0 -31
  475. package/language-switcher/si-language-switcher.module.d.ts +0 -7
  476. package/link/aria-current.model.d.ts +0 -5
  477. package/link/link.model.d.ts +0 -57
  478. package/link/si-link-action.service.d.ts +0 -17
  479. package/link/si-link.directive.d.ts +0 -42
  480. package/link/si-link.module.d.ts +0 -7
  481. package/list-details/si-details-pane/si-details-pane.component.d.ts +0 -8
  482. package/list-details/si-details-pane-body/si-details-pane-body.component.d.ts +0 -6
  483. package/list-details/si-details-pane-footer/si-details-pane-footer.component.d.ts +0 -6
  484. package/list-details/si-details-pane-header/si-details-pane-header.component.d.ts +0 -38
  485. package/list-details/si-list-details.component.d.ts +0 -100
  486. package/list-details/si-list-pane/si-list-pane.component.d.ts +0 -10
  487. package/list-details/si-list-pane-body/si-list-pane-body.component.d.ts +0 -6
  488. package/list-details/si-list-pane-header/si-list-pane-header.component.d.ts +0 -6
  489. package/loading-spinner/si-loading-button.component.d.ts +0 -31
  490. package/loading-spinner/si-loading-spinner.component.d.ts +0 -32
  491. package/loading-spinner/si-loading-spinner.directive.d.ts +0 -37
  492. package/loading-spinner/si-loading-spinner.module.d.ts +0 -8
  493. package/loading-spinner/si-loading-spinner.service.d.ts +0 -18
  494. package/localization/si-directionality.d.ts +0 -41
  495. package/localization/si-locale-id.d.ts +0 -22
  496. package/localization/si-locale-store.d.ts +0 -16
  497. package/localization/si-locale.service.d.ts +0 -73
  498. package/main-detail-container/si-main-detail-container.component.d.ts +0 -151
  499. package/main-detail-container/si-main-detail-container.module.d.ts +0 -7
  500. package/menu/si-menu-action.service.d.ts +0 -13
  501. package/menu/si-menu-bar.directive.d.ts +0 -12
  502. package/menu/si-menu-divider.directive.d.ts +0 -5
  503. package/menu/si-menu-factory-item-guard.directive.d.ts +0 -11
  504. package/menu/si-menu-factory.component.d.ts +0 -15
  505. package/menu/si-menu-header.directive.d.ts +0 -5
  506. package/menu/si-menu-item-base.directive.d.ts +0 -16
  507. package/menu/si-menu-item-checkbox.component.d.ts +0 -11
  508. package/menu/si-menu-item-radio.component.d.ts +0 -10
  509. package/menu/si-menu-item.component.d.ts +0 -10
  510. package/menu/si-menu-model.d.ts +0 -91
  511. package/menu/si-menu.directive.d.ts +0 -6
  512. package/menu/si-menu.module.d.ts +0 -14
  513. package/modal/modal.helpers.d.ts +0 -8
  514. package/modal/modalref.d.ts +0 -64
  515. package/modal/si-modal.component.d.ts +0 -32
  516. package/modal/si-modal.service.d.ts +0 -57
  517. package/navbar/account.model.d.ts +0 -39
  518. package/navbar/si-navbar-item/index.d.ts +0 -5
  519. package/navbar/si-navbar-item/si-navbar-item.component.d.ts +0 -29
  520. package/navbar/si-navbar-primary/index.d.ts +0 -6
  521. package/navbar/si-navbar-primary/si-navbar-primary.component.d.ts +0 -198
  522. package/navbar/si-navbar-primary/si-navbar-primary.model.d.ts +0 -34
  523. package/navbar/si-navbar.module.d.ts +0 -9
  524. package/navbar-vertical/si-navbar-vertical-divider.component.d.ts +0 -5
  525. package/navbar-vertical/si-navbar-vertical-group-trigger.directive.d.ts +0 -38
  526. package/navbar-vertical/si-navbar-vertical-group.component.d.ts +0 -16
  527. package/navbar-vertical/si-navbar-vertical-header.component.d.ts +0 -6
  528. package/navbar-vertical/si-navbar-vertical-item-legacy.component.d.ts +0 -17
  529. package/navbar-vertical/si-navbar-vertical-item.component.d.ts +0 -21
  530. package/navbar-vertical/si-navbar-vertical.component.d.ts +0 -148
  531. package/navbar-vertical/si-navbar-vertical.model.d.ts +0 -77
  532. package/navbar-vertical/si-navbar-vertical.module.d.ts +0 -7
  533. package/navbar-vertical/si-navbar-vertical.provider.d.ts +0 -7
  534. package/number-input/si-number-input.component.d.ts +0 -106
  535. package/number-input/si-number-input.module.d.ts +0 -7
  536. package/pagination/si-pagination.component.d.ts +0 -65
  537. package/pagination/si-pagination.module.d.ts +0 -7
  538. package/password-strength/si-password-strength.component.d.ts +0 -25
  539. package/password-strength/si-password-strength.directive.d.ts +0 -65
  540. package/password-strength/si-password-strength.module.d.ts +0 -8
  541. package/password-toggle/si-password-toggle.component.d.ts +0 -39
  542. package/password-toggle/si-password-toggle.module.d.ts +0 -7
  543. package/phone-number/si-phone-number-input-select.directive.d.ts +0 -10
  544. package/phone-number/si-phone-number-input.component.d.ts +0 -137
  545. package/phone-number/si-phone-number-input.models.d.ts +0 -48
  546. package/phone-number/si-phone-number-input.module.d.ts +0 -7
  547. package/photo-upload/si-image-cropper-style.component.d.ts +0 -5
  548. package/photo-upload/si-photo-upload.component.d.ts +0 -298
  549. package/pills-input/si-input-pill.component.d.ts +0 -9
  550. package/pills-input/si-pills-input-csv.directive.d.ts +0 -8
  551. package/pills-input/si-pills-input-email.directive.d.ts +0 -10
  552. package/pills-input/si-pills-input-pattern-base.d.ts +0 -19
  553. package/pills-input/si-pills-input-value-handler.d.ts +0 -12
  554. package/pills-input/si-pills-input.component.d.ts +0 -87
  555. package/pills-input/si-pills-input.module.d.ts +0 -9
  556. package/popover/si-popover.component.d.ts +0 -26
  557. package/popover/si-popover.directive.d.ts +0 -89
  558. package/popover/si-popover.module.d.ts +0 -7
  559. package/popover-next/si-popover-description.directive.d.ts +0 -7
  560. package/popover-next/si-popover-next.directive.d.ts +0 -61
  561. package/popover-next/si-popover-title.directive.d.ts +0 -7
  562. package/popover-next/si-popover.component.d.ts +0 -27
  563. package/progressbar/si-progressbar.component.d.ts +0 -43
  564. package/progressbar/si-progressbar.module.d.ts +0 -7
  565. package/public-api.d.ts +0 -5
  566. package/resize-observer/resize-observer.service.d.ts +0 -41
  567. package/resize-observer/si-resize-observer.directive.d.ts +0 -31
  568. package/resize-observer/si-resize-observer.module.d.ts +0 -8
  569. package/resize-observer/si-responsive-container.directive.d.ts +0 -73
  570. package/result-details-list/si-result-details-list.component.d.ts +0 -14
  571. package/result-details-list/si-result-details-list.datamodel.d.ts +0 -48
  572. package/result-details-list/si-result-details-list.module.d.ts +0 -7
  573. package/search-bar/si-search-bar.component.d.ts +0 -87
  574. package/search-bar/si-search-bar.module.d.ts +0 -7
  575. package/select/options/si-select-complex-options.directive.d.ts +0 -69
  576. package/select/options/si-select-lazy-options.directive.d.ts +0 -38
  577. package/select/options/si-select-option.source.d.ts +0 -49
  578. package/select/options/si-select-options-strategy.base.d.ts +0 -35
  579. package/select/options/si-select-options-strategy.d.ts +0 -37
  580. package/select/options/si-select-simple-options.directive.d.ts +0 -34
  581. package/select/select-input/si-select-input.component.d.ts +0 -43
  582. package/select/select-list/si-select-list-has-filter.component.d.ts +0 -20
  583. package/select/select-list/si-select-list.base.d.ts +0 -37
  584. package/select/select-list/si-select-list.component.d.ts +0 -15
  585. package/select/select-option/si-select-option-row.component.d.ts +0 -16
  586. package/select/select-option/si-select-option.component.d.ts +0 -9
  587. package/select/selection/si-select-multi-value.directive.d.ts +0 -26
  588. package/select/selection/si-select-selection-strategy.d.ts +0 -58
  589. package/select/selection/si-select-single-value.directive.d.ts +0 -26
  590. package/select/si-select-action.directive.d.ts +0 -12
  591. package/select/si-select-actions.directive.d.ts +0 -5
  592. package/select/si-select-group-template.directive.d.ts +0 -20
  593. package/select/si-select-option-row-template.directive.d.ts +0 -9
  594. package/select/si-select-option-template.directive.d.ts +0 -21
  595. package/select/si-select.component.d.ts +0 -96
  596. package/select/si-select.module.d.ts +0 -15
  597. package/select/si-select.types.d.ts +0 -65
  598. package/shadow-root/si-shadow-root.directive.d.ts +0 -39
  599. package/side-panel/si-side-panel-content.component.d.ts +0 -105
  600. package/side-panel/si-side-panel.component.d.ts +0 -108
  601. package/side-panel/si-side-panel.module.d.ts +0 -8
  602. package/side-panel/si-side-panel.service.d.ts +0 -45
  603. package/side-panel/side-panel.model.d.ts +0 -16
  604. package/skip-links/si-skip-link-target.directive.d.ts +0 -27
  605. package/skip-links/si-skip-links.component.d.ts +0 -9
  606. package/skip-links/skip-link.service.d.ts +0 -14
  607. package/slider/si-slider.component.d.ts +0 -129
  608. package/slider/si-slider.module.d.ts +0 -7
  609. package/sort-bar/si-sort-bar.component.d.ts +0 -42
  610. package/sort-bar/si-sort-bar.module.d.ts +0 -7
  611. package/split/si-split-part.component.d.ts +0 -154
  612. package/split/si-split.component.d.ts +0 -48
  613. package/split/si-split.interfaces.d.ts +0 -17
  614. package/split/si-split.module.d.ts +0 -8
  615. package/status-bar/si-status-bar-item/index.d.ts +0 -6
  616. package/status-bar/si-status-bar-item/si-status-bar-item.component.d.ts +0 -22
  617. package/status-bar/si-status-bar-item/si-status-bar-item.model.d.ts +0 -33
  618. package/status-bar/si-status-bar.component.d.ts +0 -116
  619. package/status-bar/si-status-bar.module.d.ts +0 -7
  620. package/status-toggle/si-status-toggle.component.d.ts +0 -54
  621. package/status-toggle/status-toggle.model.d.ts +0 -26
  622. package/summary-chip/si-summary-chip.component.d.ts +0 -44
  623. package/summary-widget/si-summary-widget.component.d.ts +0 -44
  624. package/system-banner/system-banner.component.d.ts +0 -23
  625. package/tabs/si-tab/index.d.ts +0 -5
  626. package/tabs/si-tab/si-tab.component.d.ts +0 -58
  627. package/tabs/si-tabs.module.d.ts +0 -8
  628. package/tabs/si-tabset/index.d.ts +0 -5
  629. package/tabs/si-tabset/si-tabset.component.d.ts +0 -100
  630. package/tabs-next/si-tab-next-base.directive.d.ts +0 -63
  631. package/tabs-next/si-tab-next-link.component.d.ts +0 -16
  632. package/tabs-next/si-tab-next.component.d.ts +0 -16
  633. package/tabs-next/si-tabs-tokens.d.ts +0 -7
  634. package/tabs-next/si-tabset-next.component.d.ts +0 -57
  635. package/theme/si-theme-store.d.ts +0 -82
  636. package/theme/si-theme.model.d.ts +0 -48
  637. package/theme/si-theme.service.d.ts +0 -129
  638. package/threshold/si-readonly-threshold-option.component.d.ts +0 -11
  639. package/threshold/si-threshold.component.d.ts +0 -147
  640. package/threshold/si-threshold.module.d.ts +0 -7
  641. package/toast-notification/si-toast-notification/si-toast-notification.component.d.ts +0 -17
  642. package/toast-notification/si-toast-notification-drawer/si-toast-notification-drawer.component.d.ts +0 -9
  643. package/toast-notification/si-toast-notification.service.d.ts +0 -41
  644. package/toast-notification/si-toast.model.d.ts +0 -25
  645. package/tooltip/si-tooltip.component.d.ts +0 -25
  646. package/tooltip/si-tooltip.directive.d.ts +0 -45
  647. package/tooltip/si-tooltip.module.d.ts +0 -7
  648. package/tooltip/si-tooltip.service.d.ts +0 -44
  649. package/tour/si-tour-highlight.component.d.ts +0 -15
  650. package/tour/si-tour-token.model.d.ts +0 -27
  651. package/tour/si-tour.component.d.ts +0 -31
  652. package/tour/si-tour.model.d.ts +0 -51
  653. package/tour/si-tour.service.d.ts +0 -62
  654. package/translate/si-translatable-keys.interface.d.ts +0 -193
  655. package/translate/si-translatable-overrides.provider.d.ts +0 -7
  656. package/tree-view/drag-drop.util.d.ts +0 -32
  657. package/tree-view/si-tree-view-converter.service.d.ts +0 -41
  658. package/tree-view/si-tree-view-item/si-tree-view-item.component.d.ts +0 -104
  659. package/tree-view/si-tree-view-item/si-tree-view-item.directive.d.ts +0 -24
  660. package/tree-view/si-tree-view-item-context.d.ts +0 -11
  661. package/tree-view/si-tree-view-item-height.service.d.ts +0 -49
  662. package/tree-view/si-tree-view-item-template.directive.d.ts +0 -18
  663. package/tree-view/si-tree-view-virtualization.service.d.ts +0 -150
  664. package/tree-view/si-tree-view.component.d.ts +0 -467
  665. package/tree-view/si-tree-view.model.d.ts +0 -146
  666. package/tree-view/si-tree-view.module.d.ts +0 -10
  667. package/tree-view/si-tree-view.service.d.ts +0 -55
  668. package/tree-view/si-tree-view.utils.d.ts +0 -46
  669. package/typeahead/si-typeahead-item-template.directive.d.ts +0 -7
  670. package/typeahead/si-typeahead.component.d.ts +0 -22
  671. package/typeahead/si-typeahead.directive.d.ts +0 -196
  672. package/typeahead/si-typeahead.model.d.ts +0 -60
  673. package/typeahead/si-typeahead.module.d.ts +0 -8
  674. package/typeahead/si-typeahead.sorting.d.ts +0 -10
  675. package/unauthorized-page/si-unauthorized-page.component.d.ts +0 -35
  676. package/unauthorized-page/si-unauthorized-page.module.d.ts +0 -7
  677. package/wizard/si-wizard-step.component.d.ts +0 -21
  678. package/wizard/si-wizard.component.d.ts +0 -196
  679. package/wizard/si-wizard.module.d.ts +0 -8
@@ -1 +1 @@
1
- {"version":3,"file":"siemens-element-ng-pills-input.mjs","sources":["../../../../projects/element-ng/pills-input/si-input-pill.component.ts","../../../../projects/element-ng/pills-input/si-input-pill.component.html","../../../../projects/element-ng/pills-input/si-pills-input-value-handler.ts","../../../../projects/element-ng/pills-input/si-pills-input.component.ts","../../../../projects/element-ng/pills-input/si-pills-input.component.html","../../../../projects/element-ng/pills-input/si-pills-input-pattern-base.ts","../../../../projects/element-ng/pills-input/si-pills-input-csv.directive.ts","../../../../projects/element-ng/pills-input/si-pills-input-email.directive.ts","../../../../projects/element-ng/pills-input/si-pills-input.module.ts","../../../../projects/element-ng/pills-input/index.ts","../../../../projects/element-ng/pills-input/siemens-element-ng-pills-input.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Component, input, output } from '@angular/core';\nimport { addIcons, elementCancel, SiIconNextComponent } from '@siemens/element-ng/icon';\n\n@Component({\n selector: 'si-input-pill',\n imports: [SiIconNextComponent],\n templateUrl: './si-input-pill.component.html',\n host: {\n class: 'pill pe-0',\n '[class.pe-4]': 'hideClose()'\n }\n})\nexport class SiInputPillComponent {\n readonly deletePill = output<void>();\n\n /** @defaultValue false */\n readonly hideClose = input(false);\n\n protected readonly icons = addIcons({ elementCancel });\n}\n","<div class=\"text-truncate\">\n <ng-content />\n</div>\n@if (!hideClose()) {\n <span class=\"ms-2 btn btn-circle btn-xs btn-ghost\" aria-hidden=\"true\" (click)=\"deletePill.emit()\">\n <si-icon-next [icon]=\"icons.elementCancel\" />\n </span>\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Directive } from '@angular/core';\n\nexport interface SiPillsInputValueParseResult {\n newValue: string;\n newPills: string[];\n}\n\nexport type SiPillsInputValueHandlerTrigger = 'input' | 'keydown.enter' | 'blur';\n\n@Directive()\nexport abstract class SiPillsInputValueHandlerDirective {\n /** @internal */\n abstract handle(\n value: string,\n trigger: SiPillsInputValueHandlerTrigger\n ): SiPillsInputValueParseResult | undefined;\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n computed,\n ElementRef,\n HostListener,\n inject,\n input,\n OnInit,\n signal,\n viewChild\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { SI_FORM_ITEM_CONTROL, SiFormItemControl } from '@siemens/element-ng/form';\nimport { SiTranslatePipe } from '@siemens/element-translate-ng/translate';\n\nimport { SiInputPillComponent } from './si-input-pill.component';\nimport {\n SiPillsInputValueHandlerDirective,\n SiPillsInputValueHandlerTrigger\n} from './si-pills-input-value-handler';\n\n@Component({\n selector: 'si-pills-input',\n imports: [SiInputPillComponent, SiTranslatePipe],\n templateUrl: './si-pills-input.component.html',\n styleUrl: './si-pills-input.component.scss',\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: SiPillsInputComponent,\n multi: true\n },\n {\n provide: SI_FORM_ITEM_CONTROL,\n useExisting: SiPillsInputComponent\n }\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'form-control',\n role: 'listbox',\n 'aria-orientation': 'horizontal',\n '[class.disabled]': 'disabled()',\n '[attr.aria-disabled]': 'disabled()',\n '[class.readonly]': 'readonly()',\n '[attr.aria-readonly]': 'readonly()',\n // using attr so that tabindex is removed if not defined\n '[attr.tabindex]': 'tabindex()',\n '[attr.aria-activedescendant]': 'activeDescendant()',\n '[attr.aria-labelledby]': 'labelledby()',\n '[attr.aria-describedby]': 'errormessageId'\n }\n})\nexport class SiPillsInputComponent implements OnInit, ControlValueAccessor, SiFormItemControl {\n private static idCounter = 0;\n\n /**\n * The identifier of the pills-input. Will be generated if not provided.\n *\n * @defaultValue\n * ```\n * `__si-pills-input-${SiPillsInputComponent.idCounter++}`\n * ```\n */\n readonly id = input(`__si-pills-input-${SiPillsInputComponent.idCounter++}`);\n\n /**\n * The aria-label for the inner input where users enter new items.\n *\n * @defaultValue\n * ```\n * $localize`:@@SI_PILLS_INPUT.INPUT_ELEMENT_ARIA_LABEL:Create item`\n * ```\n */\n readonly inputElementAriaLabel = input(\n $localize`:@@SI_PILLS_INPUT.INPUT_ELEMENT_ARIA_LABEL:Create item`\n );\n\n /**\n * Whether the pills-input is disabled.\n *\n * @defaultValue false\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n readonly disabledInput = input(false, { alias: 'disabled', transform: booleanAttribute });\n\n /**\n * Whether the pills-input is readonly\n *\n * @defaultValue false\n */\n readonly readonly = input(false, { transform: booleanAttribute });\n\n /** The placeholder to be shown if no value is currently present. */\n readonly placeholder = input<string>();\n\n /**\n * @defaultValue\n * ```\n * `${this.id()}-label`\n * ```\n */\n readonly labelledby = input(`${this.id()}-label`);\n\n /** @internal */\n readonly errormessageId = `${this.id()}-errormessage`;\n\n protected inputValue = '';\n protected onTouched: () => void = () => {};\n protected onChange: (val: any) => void = () => {};\n\n protected readonly pills = signal<string[]>([]);\n protected readonly activePillIndex = signal<number | undefined>(undefined);\n protected readonly inputId = computed(() => `${this.id()}-input`);\n protected readonly disabled = computed(() => this.disabledInput() || this.disabledNgControl());\n protected readonly activeDescendant = computed(() => {\n const activePillIndex = this.activePillIndex();\n return activePillIndex !== undefined ? `${this.id()}-pill-${activePillIndex}` : null;\n });\n\n protected readonly tabindex = computed(() =>\n this.disabled() ? undefined : this.readonly() ? 0 : -1\n );\n private readonly inputElement = viewChild<ElementRef<HTMLInputElement>>('inputElement');\n private readonly disabledNgControl = signal(false);\n private siPillsInputValueHandlerDirective = inject(SiPillsInputValueHandlerDirective, {\n optional: true\n });\n private readonly cdRef = inject(ChangeDetectorRef);\n private readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n ngOnInit(): void {\n this.siPillsInputValueHandlerDirective ??= {\n handle: (value, trigger) => {\n if (trigger !== 'input') {\n return {\n newPills: [value],\n newValue: ''\n };\n }\n return undefined;\n }\n };\n }\n\n protected input(): void {\n this.inputValue = this.inputElement()!.nativeElement.value;\n this.rebuildValue(this.inputValue, 'input');\n }\n\n @HostListener('click')\n protected click(): void {\n this.inputElement()?.nativeElement.focus();\n }\n\n protected blur(): void {\n this.rebuildValue(this.inputValue, 'blur');\n this.activePillIndex.set(undefined);\n this.onTouched();\n }\n\n protected keydownEnter(event: Event): void {\n this.rebuildValue(this.inputValue, 'keydown.enter');\n event.preventDefault();\n }\n\n protected keydownBackspace(event: Event): void {\n const count = this.pills().length;\n if (!this.inputValue && count) {\n const lastChipValue = this.pills().at(-1)!;\n this.remove(count - 1, false);\n this.inputValue = lastChipValue;\n event.preventDefault();\n }\n }\n\n protected remove(index: number, focus = true): void {\n this.pills.update(pills => pills.filter((_, pillIndex) => index !== pillIndex));\n this.onTouched();\n this.onChange(this.pills());\n if (focus) {\n this.inputElement()!.nativeElement.focus();\n }\n }\n\n private rebuildValue(value: string, trigger: SiPillsInputValueHandlerTrigger): void {\n if (value) {\n const valueParseResult = this.siPillsInputValueHandlerDirective?.handle(value, trigger);\n if (valueParseResult) {\n this.pills.update(pills => [...pills, ...valueParseResult.newPills]);\n // Doesn't update when setting to empty string.\n // Not using setTimeout to avoid flickering.\n this.cdRef.detectChanges();\n this.inputValue = valueParseResult.newValue;\n this.cdRef.detectChanges();\n\n if (valueParseResult.newPills.length) {\n this.onTouched();\n this.onChange(this.pills());\n }\n }\n }\n }\n\n @HostListener('keydown.arrowLeft') protected arrowLeft(): void {\n const activePillIndex = this.activePillIndex();\n const count = this.pills().length;\n if (activePillIndex !== undefined) {\n this.activePillIndex.set(Math.max(0, activePillIndex - 1));\n } else if (!this.inputValue.length && count) {\n this.elementRef.nativeElement.focus();\n this.activePillIndex.set(count - 1);\n }\n }\n\n @HostListener('keydown.arrowRight') protected arrowRight(): void {\n const activePillIndex = this.activePillIndex();\n if (activePillIndex !== undefined) {\n this.activePillIndex.set(activePillIndex + 1);\n\n if (this.activePillIndex()! >= this.pills().length) {\n this.inputElement()?.nativeElement.focus();\n this.activePillIndex.set(undefined);\n }\n }\n }\n\n @HostListener('keydown.backspace')\n @HostListener('keydown.delete')\n protected delete(): void {\n const activePillIndex = this.activePillIndex();\n const count = this.pills().length;\n if (activePillIndex !== undefined && !this.readonly()) {\n const targetIndex = count > 1 ? Math.min(activePillIndex, count - 2) : undefined;\n this.remove(activePillIndex, targetIndex === undefined);\n this.activePillIndex.set(targetIndex);\n }\n }\n\n /** @internal */\n registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n\n /** @internal */\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n /** @internal */\n setDisabledState(isDisabled: boolean): void {\n this.disabledNgControl.set(isDisabled);\n }\n\n /** @internal */\n writeValue(value?: string[] | null): void {\n this.pills.set(value?.slice() ?? []);\n }\n}\n","<!-- aria-required-children is disabled here -->\n@for (chip of pills(); track $index) {\n <si-input-pill\n role=\"option\"\n [id]=\"id() + '-pill-' + $index\"\n [class.active]=\"$index === activePillIndex()\"\n [hideClose]=\"disabled() || readonly()\"\n (deletePill)=\"remove($index)\"\n >\n {{ chip }}\n </si-input-pill>\n}\n@if (!readonly() && !disabled()) {\n <div role=\"presentation\" class=\"flex-fill\">\n <input\n #inputElement\n class=\"focus-none\"\n [id]=\"inputId()\"\n [attr.aria-label]=\"inputElementAriaLabel() | translate\"\n [placeholder]=\"!pills().length ? placeholder() : ''\"\n [value]=\"inputValue\"\n (keydown.enter)=\"keydownEnter($event)\"\n (keydown.backspace)=\"keydownBackspace($event)\"\n (input)=\"input()\"\n (blur)=\"blur()\"\n />\n </div>\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { signal, Signal } from '@angular/core';\n\nimport {\n SiPillsInputValueHandlerTrigger,\n SiPillsInputValueParseResult\n} from './si-pills-input-value-handler';\n\nexport const SEPARATOR_REGEX = /\\s*[;,]\\s*/g;\n\nexport abstract class SiPillsInputPatternBase {\n /**\n * Regex to split the input value into segments.\n *\n * @defaultValue SEPARATOR_REGEX\n */\n readonly separatorRegex = signal(SEPARATOR_REGEX);\n /** Regex to validate an input string item. */\n readonly validationRegex?: Signal<RegExp | undefined>;\n\n /** @internal */\n handle(\n value: string,\n trigger: SiPillsInputValueHandlerTrigger\n ): SiPillsInputValueParseResult | undefined {\n const segments = value.split(this.separatorRegex());\n const itemRegex = this.validationRegex?.();\n if (segments.length) {\n const newValue = trigger === 'input' ? segments.pop()! : '';\n if (\n segments.every(segment => {\n return segment && (!itemRegex || segment.match(itemRegex));\n })\n ) {\n return {\n newPills: segments,\n newValue\n };\n }\n }\n\n return {\n newPills: [],\n newValue: value\n };\n }\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Directive, input } from '@angular/core';\n\nimport { SiPillsInputPatternBase } from './si-pills-input-pattern-base';\nimport { SiPillsInputValueHandlerDirective } from './si-pills-input-value-handler';\n\n@Directive({\n selector: '[siPillsInputCsv]',\n providers: [\n {\n provide: SiPillsInputValueHandlerDirective,\n useExisting: SiPillsInputCsvDirective\n }\n ]\n})\nexport class SiPillsInputCsvDirective extends SiPillsInputPatternBase {\n /** @defaultValue undefined */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n override readonly validationRegex = input<RegExp>(undefined, { alias: 'pillsInputCsvItemRegex' });\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Directive, signal } from '@angular/core';\n\nimport { SiPillsInputPatternBase } from './si-pills-input-pattern-base';\nimport { SiPillsInputValueHandlerDirective } from './si-pills-input-value-handler';\n\n// From Angular Email Validator\nconst EMAIL_REGEX =\n /^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/g;\n\n@Directive({\n selector: '[siPillsInputEmail]',\n providers: [\n {\n provide: SiPillsInputValueHandlerDirective,\n useExisting: SiPillsInputEmailDirective\n }\n ]\n})\nexport class SiPillsInputEmailDirective extends SiPillsInputPatternBase {\n /**\n * @defaultValue signal(EMAIL_REGEX).asReadonly()\n */\n override readonly validationRegex = signal(EMAIL_REGEX).asReadonly();\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { NgModule } from '@angular/core';\n\nimport { SiPillsInputCsvDirective } from './si-pills-input-csv.directive';\nimport { SiPillsInputEmailDirective } from './si-pills-input-email.directive';\nimport { SiPillsInputComponent } from './si-pills-input.component';\n\n@NgModule({\n imports: [SiPillsInputComponent, SiPillsInputCsvDirective, SiPillsInputEmailDirective],\n exports: [SiPillsInputComponent, SiPillsInputCsvDirective, SiPillsInputEmailDirective]\n})\nexport class SiPillsInputModule {}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-pills-input.component';\nexport * from './si-pills-input.module';\nexport * from './si-pills-input-csv.directive';\nexport * from './si-pills-input-email.directive';\nexport * from './si-pills-input-value-handler';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;MAaU,oBAAoB,CAAA;IACtB,UAAU,GAAG,MAAM,EAAQ;;AAG3B,IAAA,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC;AAEd,IAAA,KAAK,GAAG,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;uGAN3C,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,UAAA,EAAA,WAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,UAAA,EAAA,YAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,YAAA,EAAA,aAAA,EAAA,EAAA,cAAA,EAAA,WAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EChBjC,gQAQA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDCY,mBAAmB,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,MAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;2FAOlB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kB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AA,CAAA;kBATtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,qBAAqB;AAC/B,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,iCAAiC;AAC1C,4BAAA,WAAW,EAA4B;AACxC;AACF;AACF,iBAAA;;;ACrBD;;;AAGG;MAWU,kBAAkB,CAAA;uGAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAlB,kBAAkB,EAAA,OAAA,EAAA,CAHnB,qBAAqB,EAAE,wBAAwB,EAAE,0BAA0B,CAAA,EAAA,OAAA,EAAA,CAC3E,qBAAqB,EAAE,wBAAwB,EAAE,0BAA0B,CAAA,EAAA,CAAA;AAE1E,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAHnB,qBAAqB,CAAA,EAAA,CAAA;;2FAGpB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,qBAAqB,EAAE,wBAAwB,EAAE,0BAA0B,CAAC;AACtF,oBAAA,OAAO,EAAE,CAAC,qBAAqB,EAAE,wBAAwB,EAAE,0BAA0B;AACtF,iBAAA;;;ACbD;;;AAGG;;ACHH;;AAEG;;;;"}
1
+ {"version":3,"file":"siemens-element-ng-pills-input.mjs","sources":["../../../../projects/element-ng/pills-input/si-input-pill.component.ts","../../../../projects/element-ng/pills-input/si-input-pill.component.html","../../../../projects/element-ng/pills-input/si-pills-input-value-handler.ts","../../../../projects/element-ng/pills-input/si-pills-input.component.ts","../../../../projects/element-ng/pills-input/si-pills-input.component.html","../../../../projects/element-ng/pills-input/si-pills-input-pattern-base.ts","../../../../projects/element-ng/pills-input/si-pills-input-csv.directive.ts","../../../../projects/element-ng/pills-input/si-pills-input-email.directive.ts","../../../../projects/element-ng/pills-input/si-pills-input.module.ts","../../../../projects/element-ng/pills-input/index.ts","../../../../projects/element-ng/pills-input/siemens-element-ng-pills-input.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Component, input, output } from '@angular/core';\nimport { addIcons, elementCancel, SiIconNextComponent } from '@siemens/element-ng/icon';\n\n@Component({\n selector: 'si-input-pill',\n imports: [SiIconNextComponent],\n templateUrl: './si-input-pill.component.html',\n host: {\n class: 'pill pe-0',\n '[class.pe-4]': 'hideClose()'\n }\n})\nexport class SiInputPillComponent {\n readonly deletePill = output<void>();\n\n /** @defaultValue false */\n readonly hideClose = input(false);\n\n protected readonly icons = addIcons({ elementCancel });\n}\n","<div class=\"text-truncate\">\n <ng-content />\n</div>\n@if (!hideClose()) {\n <span class=\"ms-2 btn btn-circle btn-xs btn-ghost\" aria-hidden=\"true\" (click)=\"deletePill.emit()\">\n <si-icon-next [icon]=\"icons.elementCancel\" />\n </span>\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Directive } from '@angular/core';\n\nexport interface SiPillsInputValueParseResult {\n newValue: string;\n newPills: string[];\n}\n\nexport type SiPillsInputValueHandlerTrigger = 'input' | 'keydown.enter' | 'blur';\n\n@Directive()\nexport abstract class SiPillsInputValueHandlerDirective {\n /** @internal */\n abstract handle(\n value: string,\n trigger: SiPillsInputValueHandlerTrigger\n ): SiPillsInputValueParseResult | undefined;\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n computed,\n ElementRef,\n HostListener,\n inject,\n input,\n OnInit,\n signal,\n viewChild\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { SI_FORM_ITEM_CONTROL, SiFormItemControl } from '@siemens/element-ng/form';\nimport { SiTranslatePipe, t } from '@siemens/element-translate-ng/translate';\n\nimport { SiInputPillComponent } from './si-input-pill.component';\nimport {\n SiPillsInputValueHandlerDirective,\n SiPillsInputValueHandlerTrigger\n} from './si-pills-input-value-handler';\n\n@Component({\n selector: 'si-pills-input',\n imports: [SiInputPillComponent, SiTranslatePipe],\n templateUrl: './si-pills-input.component.html',\n styleUrl: './si-pills-input.component.scss',\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: SiPillsInputComponent,\n multi: true\n },\n {\n provide: SI_FORM_ITEM_CONTROL,\n useExisting: SiPillsInputComponent\n }\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'form-control',\n role: 'listbox',\n 'aria-orientation': 'horizontal',\n '[class.disabled]': 'disabled()',\n '[attr.aria-disabled]': 'disabled()',\n '[class.readonly]': 'readonly()',\n '[attr.aria-readonly]': 'readonly()',\n // using attr so that tabindex is removed if not defined\n '[attr.tabindex]': 'tabindex()',\n '[attr.aria-activedescendant]': 'activeDescendant()',\n '[attr.aria-labelledby]': 'labelledby()',\n '[attr.aria-describedby]': 'errormessageId'\n }\n})\nexport class SiPillsInputComponent implements OnInit, ControlValueAccessor, SiFormItemControl {\n private static idCounter = 0;\n\n /**\n * The identifier of the pills-input. Will be generated if not provided.\n *\n * @defaultValue\n * ```\n * `__si-pills-input-${SiPillsInputComponent.idCounter++}`\n * ```\n */\n readonly id = input(`__si-pills-input-${SiPillsInputComponent.idCounter++}`);\n\n /**\n * The aria-label for the inner input where users enter new items.\n *\n * @defaultValue\n * ```\n * t(() => $localize`:@@SI_PILLS_INPUT.INPUT_ELEMENT_ARIA_LABEL:Create item`)\n * ```\n */\n readonly inputElementAriaLabel = input(\n t(() => $localize`:@@SI_PILLS_INPUT.INPUT_ELEMENT_ARIA_LABEL:Create item`)\n );\n\n /**\n * Whether the pills-input is disabled.\n *\n * @defaultValue false\n */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n readonly disabledInput = input(false, { alias: 'disabled', transform: booleanAttribute });\n\n /**\n * Whether the pills-input is readonly\n *\n * @defaultValue false\n */\n readonly readonly = input(false, { transform: booleanAttribute });\n\n /** The placeholder to be shown if no value is currently present. */\n readonly placeholder = input<string>();\n\n /**\n * @defaultValue\n * ```\n * `${this.id()}-label`\n * ```\n */\n readonly labelledby = input(`${this.id()}-label`);\n\n /** @internal */\n readonly errormessageId = `${this.id()}-errormessage`;\n\n protected inputValue = '';\n protected onTouched: () => void = () => {};\n protected onChange: (val: any) => void = () => {};\n\n protected readonly pills = signal<string[]>([]);\n protected readonly activePillIndex = signal<number | undefined>(undefined);\n protected readonly inputId = computed(() => `${this.id()}-input`);\n protected readonly disabled = computed(() => this.disabledInput() || this.disabledNgControl());\n protected readonly activeDescendant = computed(() => {\n const activePillIndex = this.activePillIndex();\n return activePillIndex !== undefined ? `${this.id()}-pill-${activePillIndex}` : null;\n });\n\n protected readonly tabindex = computed(() =>\n this.disabled() ? undefined : this.readonly() ? 0 : -1\n );\n private readonly inputElement = viewChild<ElementRef<HTMLInputElement>>('inputElement');\n private readonly disabledNgControl = signal(false);\n private siPillsInputValueHandlerDirective = inject(SiPillsInputValueHandlerDirective, {\n optional: true\n });\n private readonly cdRef = inject(ChangeDetectorRef);\n private readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n ngOnInit(): void {\n this.siPillsInputValueHandlerDirective ??= {\n handle: (value, trigger) => {\n if (trigger !== 'input') {\n return {\n newPills: [value],\n newValue: ''\n };\n }\n return undefined;\n }\n };\n }\n\n protected input(): void {\n this.inputValue = this.inputElement()!.nativeElement.value;\n this.rebuildValue(this.inputValue, 'input');\n }\n\n @HostListener('click')\n protected click(): void {\n this.inputElement()?.nativeElement.focus();\n }\n\n protected blur(): void {\n this.rebuildValue(this.inputValue, 'blur');\n this.activePillIndex.set(undefined);\n this.onTouched();\n }\n\n protected keydownEnter(event: Event): void {\n this.rebuildValue(this.inputValue, 'keydown.enter');\n event.preventDefault();\n }\n\n protected keydownBackspace(event: Event): void {\n const count = this.pills().length;\n if (!this.inputValue && count) {\n const lastChipValue = this.pills().at(-1)!;\n this.remove(count - 1, false);\n this.inputValue = lastChipValue;\n event.preventDefault();\n }\n }\n\n protected remove(index: number, focus = true): void {\n this.pills.update(pills => pills.filter((_, pillIndex) => index !== pillIndex));\n this.onTouched();\n this.onChange(this.pills());\n if (focus) {\n this.inputElement()!.nativeElement.focus();\n }\n }\n\n private rebuildValue(value: string, trigger: SiPillsInputValueHandlerTrigger): void {\n if (value) {\n const valueParseResult = this.siPillsInputValueHandlerDirective?.handle(value, trigger);\n if (valueParseResult) {\n this.pills.update(pills => [...pills, ...valueParseResult.newPills]);\n // Doesn't update when setting to empty string.\n // Not using setTimeout to avoid flickering.\n this.cdRef.detectChanges();\n this.inputValue = valueParseResult.newValue;\n this.cdRef.detectChanges();\n\n if (valueParseResult.newPills.length) {\n this.onTouched();\n this.onChange(this.pills());\n }\n }\n }\n }\n\n @HostListener('keydown.arrowLeft') protected arrowLeft(): void {\n const activePillIndex = this.activePillIndex();\n const count = this.pills().length;\n if (activePillIndex !== undefined) {\n this.activePillIndex.set(Math.max(0, activePillIndex - 1));\n } else if (!this.inputValue.length && count) {\n this.elementRef.nativeElement.focus();\n this.activePillIndex.set(count - 1);\n }\n }\n\n @HostListener('keydown.arrowRight') protected arrowRight(): void {\n const activePillIndex = this.activePillIndex();\n if (activePillIndex !== undefined) {\n this.activePillIndex.set(activePillIndex + 1);\n\n if (this.activePillIndex()! >= this.pills().length) {\n this.inputElement()?.nativeElement.focus();\n this.activePillIndex.set(undefined);\n }\n }\n }\n\n @HostListener('keydown.backspace')\n @HostListener('keydown.delete')\n protected delete(): void {\n const activePillIndex = this.activePillIndex();\n const count = this.pills().length;\n if (activePillIndex !== undefined && !this.readonly()) {\n const targetIndex = count > 1 ? Math.min(activePillIndex, count - 2) : undefined;\n this.remove(activePillIndex, targetIndex === undefined);\n this.activePillIndex.set(targetIndex);\n }\n }\n\n /** @internal */\n registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n\n /** @internal */\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n /** @internal */\n setDisabledState(isDisabled: boolean): void {\n this.disabledNgControl.set(isDisabled);\n }\n\n /** @internal */\n writeValue(value?: string[] | null): void {\n this.pills.set(value?.slice() ?? []);\n }\n}\n","<!-- aria-required-children is disabled here -->\n@for (chip of pills(); track $index) {\n <si-input-pill\n role=\"option\"\n [id]=\"id() + '-pill-' + $index\"\n [class.active]=\"$index === activePillIndex()\"\n [hideClose]=\"disabled() || readonly()\"\n (deletePill)=\"remove($index)\"\n >\n {{ chip }}\n </si-input-pill>\n}\n@if (!readonly() && !disabled()) {\n <div role=\"presentation\" class=\"flex-fill\">\n <input\n #inputElement\n class=\"focus-none\"\n [id]=\"inputId()\"\n [attr.aria-label]=\"inputElementAriaLabel() | translate\"\n [placeholder]=\"!pills().length ? placeholder() : ''\"\n [value]=\"inputValue\"\n (keydown.enter)=\"keydownEnter($event)\"\n (keydown.backspace)=\"keydownBackspace($event)\"\n (input)=\"input()\"\n (blur)=\"blur()\"\n />\n </div>\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { signal, Signal } from '@angular/core';\n\nimport {\n SiPillsInputValueHandlerTrigger,\n SiPillsInputValueParseResult\n} from './si-pills-input-value-handler';\n\nexport const SEPARATOR_REGEX = /\\s*[;,]\\s*/g;\n\nexport abstract class SiPillsInputPatternBase {\n /**\n * Regex to split the input value into segments.\n *\n * @defaultValue SEPARATOR_REGEX\n */\n readonly separatorRegex = signal(SEPARATOR_REGEX);\n /** Regex to validate an input string item. */\n readonly validationRegex?: Signal<RegExp | undefined>;\n\n /** @internal */\n handle(\n value: string,\n trigger: SiPillsInputValueHandlerTrigger\n ): SiPillsInputValueParseResult | undefined {\n const segments = value.split(this.separatorRegex());\n const itemRegex = this.validationRegex?.();\n if (segments.length) {\n const newValue = trigger === 'input' ? segments.pop()! : '';\n if (\n segments.every(segment => {\n return segment && (!itemRegex || segment.match(itemRegex));\n })\n ) {\n return {\n newPills: segments,\n newValue\n };\n }\n }\n\n return {\n newPills: [],\n newValue: value\n };\n }\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Directive, input } from '@angular/core';\n\nimport { SiPillsInputPatternBase } from './si-pills-input-pattern-base';\nimport { SiPillsInputValueHandlerDirective } from './si-pills-input-value-handler';\n\n@Directive({\n selector: '[siPillsInputCsv]',\n providers: [\n {\n provide: SiPillsInputValueHandlerDirective,\n useExisting: SiPillsInputCsvDirective\n }\n ]\n})\nexport class SiPillsInputCsvDirective extends SiPillsInputPatternBase {\n /** @defaultValue undefined */\n // eslint-disable-next-line @angular-eslint/no-input-rename\n override readonly validationRegex = input<RegExp>(undefined, { alias: 'pillsInputCsvItemRegex' });\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Directive, signal } from '@angular/core';\n\nimport { SiPillsInputPatternBase } from './si-pills-input-pattern-base';\nimport { SiPillsInputValueHandlerDirective } from './si-pills-input-value-handler';\n\n// From Angular Email Validator\nconst EMAIL_REGEX =\n /^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/g;\n\n@Directive({\n selector: '[siPillsInputEmail]',\n providers: [\n {\n provide: SiPillsInputValueHandlerDirective,\n useExisting: SiPillsInputEmailDirective\n }\n ]\n})\nexport class SiPillsInputEmailDirective extends SiPillsInputPatternBase {\n /**\n * @defaultValue signal(EMAIL_REGEX).asReadonly()\n */\n override readonly validationRegex = signal(EMAIL_REGEX).asReadonly();\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { NgModule } from '@angular/core';\n\nimport { SiPillsInputCsvDirective } from './si-pills-input-csv.directive';\nimport { SiPillsInputEmailDirective } from './si-pills-input-email.directive';\nimport { SiPillsInputComponent } from './si-pills-input.component';\n\n@NgModule({\n imports: [SiPillsInputComponent, SiPillsInputCsvDirective, SiPillsInputEmailDirective],\n exports: [SiPillsInputComponent, SiPillsInputCsvDirective, SiPillsInputEmailDirective]\n})\nexport class SiPillsInputModule {}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-pills-input.component';\nexport * from './si-pills-input.module';\nexport * from './si-pills-input-csv.directive';\nexport * from './si-pills-input-email.directive';\nexport * from './si-pills-input-value-handler';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;MAaU,oBAAoB,CAAA;IACtB,UAAU,GAAG,MAAM,EAAQ;;AAG3B,IAAA,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC;AAEd,IAAA,KAAK,GAAG,QAAQ,CAAC,EAAE,aAAa,EAAE,CAAC;uGAN3C,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,UAAA,EAAA,WAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,UAAA,EAAA,YAAA,EAAA,EAAA,IAAA,EAAA,EAA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O,EAAE,CAAC,qBAAqB,EAAE,wBAAwB,EAAE,0BAA0B;AACtF,iBAAA;;;ACbD;;;AAGG;;ACHH;;AAEG;;;;"}
@@ -1,11 +1,11 @@
1
1
  import { Overlay } from '@angular/cdk/overlay';
2
2
  import { ComponentPortal } from '@angular/cdk/portal';
3
3
  import * as i0 from '@angular/core';
4
- import { input, viewChild, signal, inject, Injector, ElementRef, TemplateRef, Component, computed, output, HostListener, Directive } from '@angular/core';
4
+ import { input, viewChild, signal, inject, Injector, ElementRef, DOCUMENT, TemplateRef, Component, computed, output, HostListener, Directive } from '@angular/core';
5
5
  import { calculateOverlayArrowPosition, getOverlay, getPositionStrategy } from '@siemens/element-ng/common';
6
6
  import { Subject, takeUntil } from 'rxjs';
7
7
  import { ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';
8
- import { DOCUMENT, NgClass, NgTemplateOutlet } from '@angular/common';
8
+ import { NgClass, NgTemplateOutlet } from '@angular/common';
9
9
  import { SiIconNextComponent } from '@siemens/element-ng/icon';
10
10
 
11
11
  /**
@@ -15,12 +15,14 @@ import { SiIconNextComponent } from '@siemens/element-ng/icon';
15
15
  class PopoverComponent {
16
16
  popoverDirective = input.required();
17
17
  popoverWrapper = viewChild.required('popoverWrapper');
18
+ /** @internal */
19
+ labelledBy;
20
+ /** @internal */
21
+ describedBy;
18
22
  positionClass = signal('');
19
23
  arrowPos = signal(undefined);
20
24
  popoverTemplate = null;
21
25
  injector = inject(Injector);
22
- labelledBy;
23
- describedBy;
24
26
  elementRef = inject(ElementRef);
25
27
  focusTrapFactory = inject(ConfigurableFocusTrapFactory);
26
28
  focusTrap;
@@ -66,14 +68,14 @@ class PopoverComponent {
66
68
  }
67
69
  });
68
70
  }
69
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: PopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
70
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.6", type: PopoverComponent, isStandalone: true, selector: "si-popover", inputs: { popoverDirective: { classPropertyName: "popoverDirective", publicName: "popoverDirective", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "id": "this.popoverDirective().popoverId" } }, viewQueries: [{ propertyName: "popoverWrapper", first: true, predicate: ["popoverWrapper"], descendants: true, isSignal: true }], ngImport: i0, template: "@let popover = popoverDirective();\n<div\n #popoverWrapper\n class=\"popover position-relative focus-inside\"\n role=\"dialog\"\n [attr.aria-labelledby]=\"labelledBy\"\n [attr.aria-describedby]=\"describedBy\"\n [ngClass]=\"[positionClass(), popover.containerClass()]\"\n (keydown.escape)=\"hide()\"\n>\n <div\n class=\"popover-arrow\"\n [style.left.px]=\"arrowPos()?.left\"\n [style.right.px]=\"arrowPos()?.right\"\n ></div>\n @if (popover.popoverTitle()) {\n <div class=\"popover-header\">\n @let iconValue = popover.icon();\n @if (iconValue) {\n <si-icon-next class=\"icon me-1\" [icon]=\"iconValue\" />\n }\n <span class=\"si-title-2\" [id]=\"labelledBy\">{{ popover.popoverTitle() }}</span>\n </div>\n }\n <div class=\"popover-body\">\n @if (!popoverTemplate) {\n <div class=\"si-body-2\" [id]=\"describedBy\" [innerHTML]=\"popover.siPopoverNext()\"></div>\n } @else {\n <ng-template\n [ngTemplateOutlet]=\"popoverTemplate\"\n [ngTemplateOutletContext]=\"popover.popoverContext()\"\n [ngTemplateOutletInjector]=\"injector\"\n />\n }\n </div>\n</div>\n", dependencies: [{ 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"] }] });
71
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
72
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: PopoverComponent, isStandalone: true, selector: "si-popover", inputs: { popoverDirective: { classPropertyName: "popoverDirective", publicName: "popoverDirective", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "id": "this.popoverDirective().popoverId" } }, viewQueries: [{ propertyName: "popoverWrapper", first: true, predicate: ["popoverWrapper"], descendants: true, isSignal: true }], ngImport: i0, template: "@let popover = popoverDirective();\n<div\n #popoverWrapper\n class=\"popover position-relative focus-inside\"\n role=\"dialog\"\n [attr.aria-labelledby]=\"labelledBy\"\n [attr.aria-describedby]=\"describedBy\"\n [ngClass]=\"[positionClass(), popover.containerClass()]\"\n (keydown.escape)=\"hide()\"\n>\n <div\n class=\"popover-arrow\"\n [style.left.px]=\"arrowPos()?.left\"\n [style.right.px]=\"arrowPos()?.right\"\n ></div>\n @if (popover.title()) {\n <div class=\"popover-header\">\n @let iconValue = popover.icon();\n @if (iconValue) {\n <si-icon-next class=\"icon me-1\" [icon]=\"iconValue\" />\n }\n <span class=\"si-title-2\" [id]=\"labelledBy\">{{ popover.title() }}</span>\n </div>\n }\n <div class=\"popover-body\">\n @if (!popoverTemplate) {\n <div class=\"si-body-2\" [id]=\"describedBy\" [innerHTML]=\"popover.siPopoverNext()\"></div>\n } @else {\n <ng-template\n [ngTemplateOutlet]=\"popoverTemplate\"\n [ngTemplateOutletContext]=\"popover.context()\"\n [ngTemplateOutletInjector]=\"injector\"\n />\n }\n </div>\n</div>\n", dependencies: [{ 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"] }] });
71
73
  }
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: PopoverComponent, decorators: [{
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PopoverComponent, decorators: [{
73
75
  type: Component,
74
76
  args: [{ selector: 'si-popover', imports: [NgClass, NgTemplateOutlet, SiIconNextComponent], host: {
75
77
  '[id]': 'this.popoverDirective().popoverId'
76
- }, template: "@let popover = popoverDirective();\n<div\n #popoverWrapper\n class=\"popover position-relative focus-inside\"\n role=\"dialog\"\n [attr.aria-labelledby]=\"labelledBy\"\n [attr.aria-describedby]=\"describedBy\"\n [ngClass]=\"[positionClass(), popover.containerClass()]\"\n (keydown.escape)=\"hide()\"\n>\n <div\n class=\"popover-arrow\"\n [style.left.px]=\"arrowPos()?.left\"\n [style.right.px]=\"arrowPos()?.right\"\n ></div>\n @if (popover.popoverTitle()) {\n <div class=\"popover-header\">\n @let iconValue = popover.icon();\n @if (iconValue) {\n <si-icon-next class=\"icon me-1\" [icon]=\"iconValue\" />\n }\n <span class=\"si-title-2\" [id]=\"labelledBy\">{{ popover.popoverTitle() }}</span>\n </div>\n }\n <div class=\"popover-body\">\n @if (!popoverTemplate) {\n <div class=\"si-body-2\" [id]=\"describedBy\" [innerHTML]=\"popover.siPopoverNext()\"></div>\n } @else {\n <ng-template\n [ngTemplateOutlet]=\"popoverTemplate\"\n [ngTemplateOutletContext]=\"popover.popoverContext()\"\n [ngTemplateOutletInjector]=\"injector\"\n />\n }\n </div>\n</div>\n" }]
78
+ }, template: "@let popover = popoverDirective();\n<div\n #popoverWrapper\n class=\"popover position-relative focus-inside\"\n role=\"dialog\"\n [attr.aria-labelledby]=\"labelledBy\"\n [attr.aria-describedby]=\"describedBy\"\n [ngClass]=\"[positionClass(), popover.containerClass()]\"\n (keydown.escape)=\"hide()\"\n>\n <div\n class=\"popover-arrow\"\n [style.left.px]=\"arrowPos()?.left\"\n [style.right.px]=\"arrowPos()?.right\"\n ></div>\n @if (popover.title()) {\n <div class=\"popover-header\">\n @let iconValue = popover.icon();\n @if (iconValue) {\n <si-icon-next class=\"icon me-1\" [icon]=\"iconValue\" />\n }\n <span class=\"si-title-2\" [id]=\"labelledBy\">{{ popover.title() }}</span>\n </div>\n }\n <div class=\"popover-body\">\n @if (!popoverTemplate) {\n <div class=\"si-body-2\" [id]=\"describedBy\" [innerHTML]=\"popover.siPopoverNext()\"></div>\n } @else {\n <ng-template\n [ngTemplateOutlet]=\"popoverTemplate\"\n [ngTemplateOutletContext]=\"popover.context()\"\n [ngTemplateOutletInjector]=\"injector\"\n />\n }\n </div>\n</div>\n" }]
77
79
  }] });
78
80
 
79
81
  /**
@@ -91,7 +93,7 @@ class SiPopoverNextDirective {
91
93
  *
92
94
  * @defaultValue 'auto'
93
95
  */
94
- placement = input('auto');
96
+ placement = input('auto', { alias: 'siPopoverNextPlacement' });
95
97
  placementInternal = computed(() => {
96
98
  if (this.placement() !== 'top' &&
97
99
  this.placement() !== 'bottom' &&
@@ -105,28 +107,37 @@ class SiPopoverNextDirective {
105
107
  });
106
108
  /**
107
109
  * The title to be displayed on top for the popover
110
+ *
111
+ * @defaultValue undefined
108
112
  */
109
- popoverTitle = input();
113
+ title = input(undefined, { alias: 'siPopoverNextTitle' });
110
114
  /**
111
115
  * The class that will be applied to container of the popover
112
116
  *
113
117
  * @defaultValue ''
114
118
  */
115
- containerClass = input('');
119
+ containerClass = input('', { alias: 'siPopoverNextContainerClass' });
116
120
  /**
117
121
  * The icon to be displayed besides popover title
122
+ *
123
+ * @defaultValue undefined
118
124
  */
119
- icon = input();
125
+ icon = input(undefined, { alias: 'siPopoverNextIcon' });
120
126
  /**
121
127
  * The context for the attached template
128
+ *
129
+ * @defaultValue undefined
122
130
  */
123
- popoverContext = input();
131
+ context = input(undefined, { alias: 'siPopoverNextContext' });
124
132
  /**
125
133
  * Emits an event when the popover is shown/hidden
126
134
  */
127
- visibilityChange = output();
135
+ visibilityChange = output({ alias: 'siPopoverNextVisibilityChange' });
136
+ /** @internal */
128
137
  popoverCounter = SiPopoverNextDirective.idCounter++;
138
+ /** @internal */
129
139
  popoverId = `__popover_${this.popoverCounter}`;
140
+ /** @internal */
130
141
  isOpen = signal(false);
131
142
  overlayref;
132
143
  overlay = inject(Overlay);
@@ -188,10 +199,10 @@ class SiPopoverNextDirective {
188
199
  this.show();
189
200
  }
190
201
  }
191
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiPopoverNextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
192
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.0.6", type: SiPopoverNextDirective, isStandalone: true, selector: "[siPopoverNext]", inputs: { siPopoverNext: { classPropertyName: "siPopoverNext", publicName: "siPopoverNext", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, popoverTitle: { classPropertyName: "popoverTitle", publicName: "popoverTitle", isSignal: true, isRequired: false, transformFunction: null }, containerClass: { classPropertyName: "containerClass", publicName: "containerClass", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, popoverContext: { classPropertyName: "popoverContext", publicName: "popoverContext", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visibilityChange: "visibilityChange" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.aria-expanded": "isOpen()", "attr.aria-controls": "popoverId" } }, exportAs: ["si-popover-next"], ngImport: i0 });
202
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiPopoverNextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
203
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.6", type: SiPopoverNextDirective, isStandalone: true, selector: "[siPopoverNext]", inputs: { siPopoverNext: { classPropertyName: "siPopoverNext", publicName: "siPopoverNext", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "siPopoverNextPlacement", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "siPopoverNextTitle", isSignal: true, isRequired: false, transformFunction: null }, containerClass: { classPropertyName: "containerClass", publicName: "siPopoverNextContainerClass", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "siPopoverNextIcon", isSignal: true, isRequired: false, transformFunction: null }, context: { classPropertyName: "context", publicName: "siPopoverNextContext", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visibilityChange: "siPopoverNextVisibilityChange" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.aria-expanded": "isOpen()", "attr.aria-controls": "popoverId" } }, exportAs: ["si-popover-next"], ngImport: i0 });
193
204
  }
194
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiPopoverNextDirective, decorators: [{
205
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiPopoverNextDirective, decorators: [{
195
206
  type: Directive,
196
207
  args: [{
197
208
  selector: '[siPopoverNext]',
@@ -212,10 +223,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
212
223
  */
213
224
  class SiPopoverTitleDirective {
214
225
  popover = inject(PopoverComponent);
215
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiPopoverTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
216
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.6", type: SiPopoverTitleDirective, isStandalone: true, selector: "si-popover-title", host: { properties: { "id": "this.popover.labelledBy" } }, ngImport: i0 });
226
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiPopoverTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
227
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: SiPopoverTitleDirective, isStandalone: true, selector: "si-popover-title", host: { properties: { "id": "this.popover.labelledBy" } }, ngImport: i0 });
217
228
  }
218
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiPopoverTitleDirective, decorators: [{
229
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiPopoverTitleDirective, decorators: [{
219
230
  type: Directive,
220
231
  args: [{
221
232
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -232,10 +243,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
232
243
  */
233
244
  class SiPopoverDescriptionDirective {
234
245
  popover = inject(PopoverComponent);
235
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiPopoverDescriptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
236
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.6", type: SiPopoverDescriptionDirective, isStandalone: true, selector: "si-popover-description", host: { properties: { "id": "this.popover.describedBy" } }, ngImport: i0 });
246
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiPopoverDescriptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
247
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: SiPopoverDescriptionDirective, isStandalone: true, selector: "si-popover-description", host: { properties: { "id": "this.popover.describedBy" } }, ngImport: i0 });
237
248
  }
238
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiPopoverDescriptionDirective, decorators: [{
249
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiPopoverDescriptionDirective, decorators: [{
239
250
  type: Directive,
240
251
  args: [{
241
252
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -1 +1 @@
1
- {"version":3,"file":"siemens-element-ng-popover-next.mjs","sources":["../../../../projects/element-ng/popover-next/si-popover.component.ts","../../../../projects/element-ng/popover-next/si-popover.component.html","../../../../projects/element-ng/popover-next/si-popover-next.directive.ts","../../../../projects/element-ng/popover-next/si-popover-title.directive.ts","../../../../projects/element-ng/popover-next/si-popover-description.directive.ts","../../../../projects/element-ng/popover-next/index.ts","../../../../projects/element-ng/popover-next/siemens-element-ng-popover-next.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { ConfigurableFocusTrap, ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';\nimport { ConnectedOverlayPositionChange } from '@angular/cdk/overlay';\nimport { DOCUMENT, NgClass, NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n ElementRef,\n inject,\n Injector,\n input,\n OnDestroy,\n OnInit,\n signal,\n TemplateRef,\n viewChild\n} from '@angular/core';\nimport { calculateOverlayArrowPosition, OverlayArrowPosition } from '@siemens/element-ng/common';\nimport { SiIconNextComponent } from '@siemens/element-ng/icon';\n\nimport { SiPopoverNextDirective } from './si-popover-next.directive';\n\n@Component({\n selector: 'si-popover',\n imports: [NgClass, NgTemplateOutlet, SiIconNextComponent],\n templateUrl: './si-popover.component.html',\n host: {\n '[id]': 'this.popoverDirective().popoverId'\n }\n})\nexport class PopoverComponent implements OnInit, OnDestroy {\n readonly popoverDirective = input.required<SiPopoverNextDirective>();\n readonly popoverWrapper = viewChild.required<ElementRef>('popoverWrapper');\n\n protected readonly positionClass = signal('');\n protected readonly arrowPos = signal<OverlayArrowPosition | undefined>(undefined);\n protected popoverTemplate: TemplateRef<any> | null = null;\n protected injector = inject(Injector);\n protected labelledBy: string | undefined;\n protected describedBy: string | undefined;\n\n private elementRef = inject(ElementRef);\n private focusTrapFactory = inject(ConfigurableFocusTrapFactory);\n private focusTrap?: ConfigurableFocusTrap;\n private readonly previouslyActiveElement = inject(DOCUMENT).activeElement;\n\n ngOnInit(): void {\n const popoverDirective = this.popoverDirective();\n const popover = popoverDirective.siPopoverNext();\n if (popover instanceof TemplateRef) {\n this.popoverTemplate = popover;\n }\n this.labelledBy = `__popover-title_${popoverDirective.popoverCounter}`;\n this.describedBy = `__popover-body_${popoverDirective.popoverCounter}`;\n\n this.applyFocus();\n }\n\n ngOnDestroy(): void {\n this.focusTrap?.destroy();\n if (\n this.previouslyActiveElement &&\n 'focus' in this.previouslyActiveElement &&\n typeof this.previouslyActiveElement.focus === 'function'\n ) {\n this.previouslyActiveElement.focus();\n }\n }\n\n /** @internal */\n updateArrow(change: ConnectedOverlayPositionChange, anchor?: ElementRef): void {\n const positionClass = `popover-${change.connectionPair.overlayX}-${change.connectionPair.overlayY}`;\n // need two updates as class changes affect the position\n this.positionClass.set(positionClass);\n const arrowPos = calculateOverlayArrowPosition(change, this.elementRef, anchor);\n this.arrowPos.set(arrowPos);\n }\n\n hide(): void {\n this.popoverDirective().hide();\n }\n\n private applyFocus(): void {\n // Using setTimeout ensures that SR first read `expanded` before we move the focus.\n setTimeout(async () => {\n const popoverWrapperEl = this.popoverWrapper().nativeElement;\n this.focusTrap = this.focusTrapFactory.create(this.popoverWrapper().nativeElement);\n const moved = await this.focusTrap.focusFirstTabbableElementWhenReady();\n if (!moved) {\n popoverWrapperEl.tabIndex = 0;\n popoverWrapperEl.focus();\n }\n });\n }\n}\n","@let popover = popoverDirective();\n<div\n #popoverWrapper\n class=\"popover position-relative focus-inside\"\n role=\"dialog\"\n [attr.aria-labelledby]=\"labelledBy\"\n [attr.aria-describedby]=\"describedBy\"\n [ngClass]=\"[positionClass(), popover.containerClass()]\"\n (keydown.escape)=\"hide()\"\n>\n <div\n class=\"popover-arrow\"\n [style.left.px]=\"arrowPos()?.left\"\n [style.right.px]=\"arrowPos()?.right\"\n ></div>\n @if (popover.popoverTitle()) {\n <div class=\"popover-header\">\n @let iconValue = popover.icon();\n @if (iconValue) {\n <si-icon-next class=\"icon me-1\" [icon]=\"iconValue\" />\n }\n <span class=\"si-title-2\" [id]=\"labelledBy\">{{ popover.popoverTitle() }}</span>\n </div>\n }\n <div class=\"popover-body\">\n @if (!popoverTemplate) {\n <div class=\"si-body-2\" [id]=\"describedBy\" [innerHTML]=\"popover.siPopoverNext()\"></div>\n } @else {\n <ng-template\n [ngTemplateOutlet]=\"popoverTemplate\"\n [ngTemplateOutletContext]=\"popover.popoverContext()\"\n [ngTemplateOutletInjector]=\"injector\"\n />\n }\n </div>\n</div>\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n ComponentRef,\n computed,\n Directive,\n ElementRef,\n HostListener,\n inject,\n input,\n OnDestroy,\n output,\n signal,\n TemplateRef\n} from '@angular/core';\nimport { getOverlay, getPositionStrategy, positions } from '@siemens/element-ng/common';\nimport { Subject, takeUntil } from 'rxjs';\n\nimport { PopoverComponent } from './si-popover.component';\n\n@Directive({\n selector: '[siPopoverNext]',\n host: {\n '[attr.aria-expanded]': 'isOpen()',\n '[attr.aria-controls]': 'popoverId'\n },\n exportAs: 'si-popover-next'\n})\nexport class SiPopoverNextDirective implements OnDestroy {\n private static idCounter = 0;\n\n /**\n * The popover text to be displayed\n */\n readonly siPopoverNext = input<string | TemplateRef<unknown>>();\n\n /**\n * The placement of the popover. One of 'top', 'start', end', 'bottom'\n *\n * @defaultValue 'auto'\n */\n readonly placement = input<keyof typeof positions>('auto');\n\n readonly placementInternal = computed(() => {\n if (\n this.placement() !== 'top' &&\n this.placement() !== 'bottom' &&\n this.placement() !== 'start' &&\n this.placement() !== 'end'\n ) {\n return 'auto';\n } else {\n return this.placement();\n }\n });\n\n /**\n * The title to be displayed on top for the popover\n */\n readonly popoverTitle = input<string>();\n\n /**\n * The class that will be applied to container of the popover\n *\n * @defaultValue ''\n */\n readonly containerClass = input('');\n\n /**\n * The icon to be displayed besides popover title\n */\n readonly icon = input<string>();\n\n /**\n * The context for the attached template\n */\n readonly popoverContext = input<unknown>();\n\n /**\n * Emits an event when the popover is shown/hidden\n */\n readonly visibilityChange = output<void>();\n\n readonly popoverCounter = SiPopoverNextDirective.idCounter++;\n readonly popoverId = `__popover_${this.popoverCounter}`;\n\n protected readonly isOpen = signal<boolean>(false);\n\n private overlayref?: OverlayRef;\n private overlay = inject(Overlay);\n private elementRef = inject(ElementRef);\n private destroyer = new Subject<void>();\n\n ngOnDestroy(): void {\n this.overlayref?.dispose();\n this.destroyer.next();\n this.destroyer.complete();\n }\n\n /**\n * Displays popover and emits 'shown' event.\n */\n show(): void {\n if (this.overlayref?.hasAttached()) {\n return;\n }\n this.overlayref = getOverlay(this.elementRef, this.overlay, false, this.placementInternal());\n this.overlayref\n .outsidePointerEvents()\n .pipe(takeUntil(this.destroyer))\n .subscribe(({ target }) => {\n if (target !== this.elementRef.nativeElement) {\n this.hide();\n }\n });\n\n const popoverPortal = new ComponentPortal(PopoverComponent);\n const popoverRef: ComponentRef<PopoverComponent> = this.overlayref.attach(popoverPortal);\n\n popoverRef.setInput('popoverDirective', this);\n\n const positionStrategy = getPositionStrategy(this.overlayref);\n positionStrategy?.positionChanges\n .pipe(takeUntil(this.destroyer))\n .subscribe(change => popoverRef.instance.updateArrow(change, this.elementRef));\n\n this.isOpen.set(true);\n this.visibilityChange.emit();\n }\n\n /**\n * Hides the popover and emits 'hidden' event.\n */\n hide(): void {\n if (this.overlayref?.hasAttached()) {\n this.overlayref?.detach();\n this.isOpen.set(false);\n this.visibilityChange.emit();\n this.destroyer.next();\n }\n }\n\n /**\n * Updates the position of the popover based on the position strategy.\n */\n updatePosition(): void {\n this.overlayref?.updatePosition();\n }\n\n @HostListener('click')\n protected onClick(): void {\n if (this.overlayref?.hasAttached()) {\n this.hide();\n } else {\n this.show();\n }\n }\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Directive, inject } from '@angular/core';\n\nimport { PopoverComponent } from './si-popover.component';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'si-popover-title',\n host: {\n '[id]': 'this.popover.labelledBy'\n }\n})\nexport class SiPopoverTitleDirective {\n readonly popover = inject(PopoverComponent);\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Directive, inject } from '@angular/core';\n\nimport { PopoverComponent } from './si-popover.component';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'si-popover-description',\n host: {\n '[id]': 'this.popover.describedBy'\n }\n})\nexport class SiPopoverDescriptionDirective {\n readonly popover = inject(PopoverComponent);\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-popover-next.directive';\nexport * from './si-popover-title.directive';\nexport * from './si-popover-description.directive';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAAA;;;AAGG;MA6BU,gBAAgB,CAAA;AAClB,IAAA,gBAAgB,GAAG,KAAK,CAAC,QAAQ,EAA0B;AAC3D,IAAA,cAAc,GAAG,SAAS,CAAC,QAAQ,CAAa,gBAAgB,CAAC;AAEvD,IAAA,aAAa,GAAG,MAAM,CAAC,EAAE,CAAC;AAC1B,IAAA,QAAQ,GAAG,MAAM,CAAmC,SAAS,CAAC;IACvE,eAAe,GAA4B,IAAI;AAC/C,IAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,IAAA,UAAU;AACV,IAAA,WAAW;AAEb,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAC/B,IAAA,gBAAgB,GAAG,MAAM,CAAC,4BAA4B,CAAC;AACvD,IAAA,SAAS;AACA,IAAA,uBAAuB,GAAG,MAA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BAAkB;AAC5B,oBAAA,IAAI,EAAE;AACJ,wBAAA,MAAM,EAAE;AACT;AACF,iBAAA;;;ACdD;;;AAGG;MAYU,6BAA6B,CAAA;AAC/B,IAAA,OAAO,GAAG,MAAM,CAAC,gBAAgB,CAAC;uGADhC,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA7B,6BAA6B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,IAAA,EAAA,0BAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA7B,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAPzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;;AAET,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,IAAI,EAAE;AACJ,wBAAA,MAAM,EAAE;AACT;AACF,iBAAA;;;ACdD;;;AAGG;;ACHH;;AAEG;;;;"}
1
+ {"version":3,"file":"siemens-element-ng-popover-next.mjs","sources":["../../../../projects/element-ng/popover-next/si-popover.component.ts","../../../../projects/element-ng/popover-next/si-popover.component.html","../../../../projects/element-ng/popover-next/si-popover-next.directive.ts","../../../../projects/element-ng/popover-next/si-popover-title.directive.ts","../../../../projects/element-ng/popover-next/si-popover-description.directive.ts","../../../../projects/element-ng/popover-next/index.ts","../../../../projects/element-ng/popover-next/siemens-element-ng-popover-next.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { ConfigurableFocusTrap, ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';\nimport { ConnectedOverlayPositionChange } from '@angular/cdk/overlay';\nimport { NgClass, NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n ElementRef,\n inject,\n Injector,\n input,\n OnDestroy,\n OnInit,\n signal,\n TemplateRef,\n viewChild,\n DOCUMENT\n} from '@angular/core';\nimport { calculateOverlayArrowPosition, OverlayArrowPosition } from '@siemens/element-ng/common';\nimport { SiIconNextComponent } from '@siemens/element-ng/icon';\n\nimport { SiPopoverNextDirective } from './si-popover-next.directive';\n\n@Component({\n selector: 'si-popover',\n imports: [NgClass, NgTemplateOutlet, SiIconNextComponent],\n templateUrl: './si-popover.component.html',\n host: {\n '[id]': 'this.popoverDirective().popoverId'\n }\n})\nexport class PopoverComponent implements OnInit, OnDestroy {\n readonly popoverDirective = input.required<SiPopoverNextDirective>();\n readonly popoverWrapper = viewChild.required<ElementRef>('popoverWrapper');\n\n /** @internal */\n labelledBy: string | undefined;\n /** @internal */\n describedBy: string | undefined;\n protected readonly positionClass = signal('');\n protected readonly arrowPos = signal<OverlayArrowPosition | undefined>(undefined);\n protected popoverTemplate: TemplateRef<any> | null = null;\n protected injector = inject(Injector);\n\n private elementRef = inject(ElementRef);\n private focusTrapFactory = inject(ConfigurableFocusTrapFactory);\n private focusTrap?: ConfigurableFocusTrap;\n private readonly previouslyActiveElement = inject(DOCUMENT).activeElement;\n\n ngOnInit(): void {\n const popoverDirective = this.popoverDirective();\n const popover = popoverDirective.siPopoverNext();\n if (popover instanceof TemplateRef) {\n this.popoverTemplate = popover;\n }\n this.labelledBy = `__popover-title_${popoverDirective.popoverCounter}`;\n this.describedBy = `__popover-body_${popoverDirective.popoverCounter}`;\n\n this.applyFocus();\n }\n\n ngOnDestroy(): void {\n this.focusTrap?.destroy();\n if (\n this.previouslyActiveElement &&\n 'focus' in this.previouslyActiveElement &&\n typeof this.previouslyActiveElement.focus === 'function'\n ) {\n this.previouslyActiveElement.focus();\n }\n }\n\n /** @internal */\n updateArrow(change: ConnectedOverlayPositionChange, anchor?: ElementRef): void {\n const positionClass = `popover-${change.connectionPair.overlayX}-${change.connectionPair.overlayY}`;\n // need two updates as class changes affect the position\n this.positionClass.set(positionClass);\n const arrowPos = calculateOverlayArrowPosition(change, this.elementRef, anchor);\n this.arrowPos.set(arrowPos);\n }\n\n hide(): void {\n this.popoverDirective().hide();\n }\n\n private applyFocus(): void {\n // Using setTimeout ensures that SR first read `expanded` before we move the focus.\n setTimeout(async () => {\n const popoverWrapperEl = this.popoverWrapper().nativeElement;\n this.focusTrap = this.focusTrapFactory.create(this.popoverWrapper().nativeElement);\n const moved = await this.focusTrap.focusFirstTabbableElementWhenReady();\n if (!moved) {\n popoverWrapperEl.tabIndex = 0;\n popoverWrapperEl.focus();\n }\n });\n }\n}\n","@let popover = popoverDirective();\n<div\n #popoverWrapper\n class=\"popover position-relative focus-inside\"\n role=\"dialog\"\n [attr.aria-labelledby]=\"labelledBy\"\n [attr.aria-describedby]=\"describedBy\"\n [ngClass]=\"[positionClass(), popover.containerClass()]\"\n (keydown.escape)=\"hide()\"\n>\n <div\n class=\"popover-arrow\"\n [style.left.px]=\"arrowPos()?.left\"\n [style.right.px]=\"arrowPos()?.right\"\n ></div>\n @if (popover.title()) {\n <div class=\"popover-header\">\n @let iconValue = popover.icon();\n @if (iconValue) {\n <si-icon-next class=\"icon me-1\" [icon]=\"iconValue\" />\n }\n <span class=\"si-title-2\" [id]=\"labelledBy\">{{ popover.title() }}</span>\n </div>\n }\n <div class=\"popover-body\">\n @if (!popoverTemplate) {\n <div class=\"si-body-2\" [id]=\"describedBy\" [innerHTML]=\"popover.siPopoverNext()\"></div>\n } @else {\n <ng-template\n [ngTemplateOutlet]=\"popoverTemplate\"\n [ngTemplateOutletContext]=\"popover.context()\"\n [ngTemplateOutletInjector]=\"injector\"\n />\n }\n </div>\n</div>\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n ComponentRef,\n computed,\n Directive,\n ElementRef,\n HostListener,\n inject,\n input,\n OnDestroy,\n output,\n signal,\n TemplateRef\n} from '@angular/core';\nimport { getOverlay, getPositionStrategy, positions } from '@siemens/element-ng/common';\nimport { Subject, takeUntil } from 'rxjs';\n\nimport { PopoverComponent } from './si-popover.component';\n\n@Directive({\n selector: '[siPopoverNext]',\n host: {\n '[attr.aria-expanded]': 'isOpen()',\n '[attr.aria-controls]': 'popoverId'\n },\n exportAs: 'si-popover-next'\n})\nexport class SiPopoverNextDirective implements OnDestroy {\n private static idCounter = 0;\n\n /**\n * The popover text to be displayed\n */\n readonly siPopoverNext = input<string | TemplateRef<unknown>>();\n\n /**\n * The placement of the popover. One of 'top', 'start', end', 'bottom'\n *\n * @defaultValue 'auto'\n */\n readonly placement = input<keyof typeof positions>('auto', { alias: 'siPopoverNextPlacement' });\n\n readonly placementInternal = computed(() => {\n if (\n this.placement() !== 'top' &&\n this.placement() !== 'bottom' &&\n this.placement() !== 'start' &&\n this.placement() !== 'end'\n ) {\n return 'auto';\n } else {\n return this.placement();\n }\n });\n\n /**\n * The title to be displayed on top for the popover\n *\n * @defaultValue undefined\n */\n readonly title = input<string>(undefined, { alias: 'siPopoverNextTitle' });\n\n /**\n * The class that will be applied to container of the popover\n *\n * @defaultValue ''\n */\n readonly containerClass = input('', { alias: 'siPopoverNextContainerClass' });\n\n /**\n * The icon to be displayed besides popover title\n *\n * @defaultValue undefined\n */\n readonly icon = input<string>(undefined, { alias: 'siPopoverNextIcon' });\n\n /**\n * The context for the attached template\n *\n * @defaultValue undefined\n */\n readonly context = input<unknown>(undefined, { alias: 'siPopoverNextContext' });\n\n /**\n * Emits an event when the popover is shown/hidden\n */\n readonly visibilityChange = output<void>({ alias: 'siPopoverNextVisibilityChange' });\n\n /** @internal */\n readonly popoverCounter = SiPopoverNextDirective.idCounter++;\n /** @internal */\n readonly popoverId = `__popover_${this.popoverCounter}`;\n\n /** @internal */\n protected readonly isOpen = signal<boolean>(false);\n\n private overlayref?: OverlayRef;\n private overlay = inject(Overlay);\n private elementRef = inject(ElementRef);\n private destroyer = new Subject<void>();\n\n ngOnDestroy(): void {\n this.overlayref?.dispose();\n this.destroyer.next();\n this.destroyer.complete();\n }\n\n /**\n * Displays popover and emits 'shown' event.\n */\n show(): void {\n if (this.overlayref?.hasAttached()) {\n return;\n }\n this.overlayref = getOverlay(this.elementRef, this.overlay, false, this.placementInternal());\n this.overlayref\n .outsidePointerEvents()\n .pipe(takeUntil(this.destroyer))\n .subscribe(({ target }) => {\n if (target !== this.elementRef.nativeElement) {\n this.hide();\n }\n });\n\n const popoverPortal = new ComponentPortal(PopoverComponent);\n const popoverRef: ComponentRef<PopoverComponent> = this.overlayref.attach(popoverPortal);\n\n popoverRef.setInput('popoverDirective', this);\n\n const positionStrategy = getPositionStrategy(this.overlayref);\n positionStrategy?.positionChanges\n .pipe(takeUntil(this.destroyer))\n .subscribe(change => popoverRef.instance.updateArrow(change, this.elementRef));\n\n this.isOpen.set(true);\n this.visibilityChange.emit();\n }\n\n /**\n * Hides the popover and emits 'hidden' event.\n */\n hide(): void {\n if (this.overlayref?.hasAttached()) {\n this.overlayref?.detach();\n this.isOpen.set(false);\n this.visibilityChange.emit();\n this.destroyer.next();\n }\n }\n\n /**\n * Updates the position of the popover based on the position strategy.\n */\n updatePosition(): void {\n this.overlayref?.updatePosition();\n }\n\n @HostListener('click')\n protected onClick(): void {\n if (this.overlayref?.hasAttached()) {\n this.hide();\n } else {\n this.show();\n }\n }\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Directive, inject } from '@angular/core';\n\nimport { PopoverComponent } from './si-popover.component';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'si-popover-title',\n host: {\n '[id]': 'this.popover.labelledBy'\n }\n})\nexport class SiPopoverTitleDirective {\n readonly popover = inject(PopoverComponent);\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Directive, inject } from '@angular/core';\n\nimport { PopoverComponent } from './si-popover.component';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'si-popover-description',\n host: {\n '[id]': 'this.popover.describedBy'\n }\n})\nexport class SiPopoverDescriptionDirective {\n readonly popover = inject(PopoverComponent);\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-popover-next.directive';\nexport * from './si-popover-title.directive';\nexport * from './si-popover-description.directive';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAAA;;;AAGG;MA8BU,gBAAgB,CAAA;AAClB,IAAA,gBAAgB,GAAG,KAAK,CAAC,QAAQ,EAA0B;AAC3D,IAAA,cAAc,GAAG,SAAS,CAAC,QAAQ,CAAa,gBAAgB,CAAC;;AAG1E,IAAA,UAAU;;AAEV,IAAA,WAAW;AACQ,IAAA,aAAa,GAAG,MAAM,CAAC,EAAE,CAAC;AAC1B,IAAA,QAAQ,GAAG,MAAM,CAAmC,SAAS,CAAC;IACvE,eAAe,GAA4B,IAAI;AAC/C,IAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAE7B,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAC/B,IAAA,gBAAgB,GAAG,MAAM,CAAC,4BAA4B,CAAC;AACvD,IAAA,SAAS;AACA,IAAA,uBAAuB,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,aAAa;IAEzE,QAAQ,GAAA;AACN,QAAA,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,EAAE;AAChD,QAAA,MAAM,OAAO,GAAG,gBAAgB,CAAC,aAAa,EAAE;AAChD,QAAA,IAAI,OAAO,YAAY,WAAW,EAAE;AAClC,YAAA,IAAI,CAAC,eAAe,GAAG,OAAO;;QAEhC,IAAI,CAAC,UAAU,GAAG,CAAA,gBAAA,EAAmB,gBAAgB,CAAC,cAAc,EAAE;QACtE,IAAI,CAAC,WAAW,GAAG,CAAA,eAAA,EAAkB,gBAAgB,CAAC,cAAc,EAAE;QAEtE,IAAI,CAAC,UAAU,EAAE;;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BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA7B,6BAA6B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,IAAA,EAAA,0BAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA7B,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAPzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;;AAET,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,IAAI,EAAE;AACJ,wBAAA,MAAM,EAAE;AACT;AACF,iBAAA;;;ACdD;;;AAGG;;ACHH;;AAEG;;;;"}
@@ -33,10 +33,10 @@ class PopoverComponent {
33
33
  const arrowPos = calculateOverlayArrowPosition(change, this.elementRef, anchor);
34
34
  this.arrowPos.set(arrowPos);
35
35
  }
36
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: PopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
37
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.6", type: PopoverComponent, isStandalone: true, selector: "si-popover", inputs: { popover: { classPropertyName: "popover", publicName: "popover", isSignal: true, isRequired: false, transformFunction: null }, popoverTitle: { classPropertyName: "popoverTitle", publicName: "popoverTitle", isSignal: true, isRequired: false, transformFunction: null }, containerClass: { classPropertyName: "containerClass", publicName: "containerClass", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, popoverContext: { classPropertyName: "popoverContext", publicName: "popoverContext", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div\n class=\"popover position-relative focus-outline-padding\"\n [ngClass]=\"[containerClass(), positionClass()]\"\n>\n <div\n class=\"popover-arrow\"\n [style.left.px]=\"arrowPos()?.left\"\n [style.right.px]=\"arrowPos()?.right\"\n ></div>\n @if (popoverTitle()) {\n <div class=\"popover-header\">\n @let iconValue = icon();\n @if (iconValue) {\n <si-icon-next class=\"icon me-2\" [icon]=\"iconValue\" />\n }\n <span class=\"si-title-2\">{{ popoverTitle() }}</span>\n </div>\n }\n <div class=\"popover-body\">\n @if (!popoverTemplate) {\n <div class=\"si-body-2\" [innerHTML]=\"popover()\"></div>\n } @else {\n <ng-template\n [ngTemplateOutlet]=\"popoverTemplate\"\n [ngTemplateOutletContext]=\"popoverContext()\"\n />\n }\n </div>\n</div>\n", dependencies: [{ 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"] }] });
36
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
37
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: PopoverComponent, isStandalone: true, selector: "si-popover", inputs: { popover: { classPropertyName: "popover", publicName: "popover", isSignal: true, isRequired: false, transformFunction: null }, popoverTitle: { classPropertyName: "popoverTitle", publicName: "popoverTitle", isSignal: true, isRequired: false, transformFunction: null }, containerClass: { classPropertyName: "containerClass", publicName: "containerClass", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, popoverContext: { classPropertyName: "popoverContext", publicName: "popoverContext", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div\n class=\"popover position-relative focus-outline-padding\"\n [ngClass]=\"[containerClass(), positionClass()]\"\n>\n <div\n class=\"popover-arrow\"\n [style.left.px]=\"arrowPos()?.left\"\n [style.right.px]=\"arrowPos()?.right\"\n ></div>\n @if (popoverTitle()) {\n <div class=\"popover-header\">\n @let iconValue = icon();\n @if (iconValue) {\n <si-icon-next class=\"icon me-2\" [icon]=\"iconValue\" />\n }\n <span class=\"si-title-2\">{{ popoverTitle() }}</span>\n </div>\n }\n <div class=\"popover-body\">\n @if (!popoverTemplate) {\n <div class=\"si-body-2\" [innerHTML]=\"popover()\"></div>\n } @else {\n <ng-template\n [ngTemplateOutlet]=\"popoverTemplate\"\n [ngTemplateOutletContext]=\"popoverContext()\"\n />\n }\n </div>\n</div>\n", dependencies: [{ 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"] }] });
38
38
  }
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: PopoverComponent, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PopoverComponent, decorators: [{
40
40
  type: Component,
41
41
  args: [{ selector: 'si-popover', imports: [NgClass, NgTemplateOutlet, SiIconNextComponent], template: "<div\n class=\"popover position-relative focus-outline-padding\"\n [ngClass]=\"[containerClass(), positionClass()]\"\n>\n <div\n class=\"popover-arrow\"\n [style.left.px]=\"arrowPos()?.left\"\n [style.right.px]=\"arrowPos()?.right\"\n ></div>\n @if (popoverTitle()) {\n <div class=\"popover-header\">\n @let iconValue = icon();\n @if (iconValue) {\n <si-icon-next class=\"icon me-2\" [icon]=\"iconValue\" />\n }\n <span class=\"si-title-2\">{{ popoverTitle() }}</span>\n </div>\n }\n <div class=\"popover-body\">\n @if (!popoverTemplate) {\n <div class=\"si-body-2\" [innerHTML]=\"popover()\"></div>\n } @else {\n <ng-template\n [ngTemplateOutlet]=\"popoverTemplate\"\n [ngTemplateOutletContext]=\"popoverContext()\"\n />\n }\n </div>\n</div>\n" }]
42
42
  }] });
@@ -197,10 +197,10 @@ class SiPopoverDirective {
197
197
  }
198
198
  }
199
199
  }
200
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiPopoverDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
201
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.0.6", type: SiPopoverDirective, isStandalone: true, selector: "[siPopover]", inputs: { siPopover: { classPropertyName: "siPopover", publicName: "siPopover", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, triggers: { classPropertyName: "triggers", publicName: "triggers", isSignal: true, isRequired: false, transformFunction: null }, popoverTitle: { classPropertyName: "popoverTitle", publicName: "popoverTitle", isSignal: true, isRequired: false, transformFunction: null }, containerClass: { classPropertyName: "containerClass", publicName: "containerClass", isSignal: true, isRequired: false, transformFunction: null }, outsideClick: { classPropertyName: "outsideClick", publicName: "outsideClick", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, isOpen: { classPropertyName: "isOpen", publicName: "isOpen", isSignal: true, isRequired: false, transformFunction: null }, popoverContext: { classPropertyName: "popoverContext", publicName: "popoverContext", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { shown: "shown", hidden: "hidden" }, host: { listeners: { "mouseenter": "onTrigger(\"hover\")", "mouseleave": "onTrigger(\"hover\")", "focus": "onTrigger(\"focus\")", "click": "onTrigger(\"click\")", "touchstart": "focusOut()", "focusout": "focusOut()" } }, exportAs: ["si-popover"], ngImport: i0 });
200
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiPopoverDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
201
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.6", type: SiPopoverDirective, isStandalone: true, selector: "[siPopover]", inputs: { siPopover: { classPropertyName: "siPopover", publicName: "siPopover", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, triggers: { classPropertyName: "triggers", publicName: "triggers", isSignal: true, isRequired: false, transformFunction: null }, popoverTitle: { classPropertyName: "popoverTitle", publicName: "popoverTitle", isSignal: true, isRequired: false, transformFunction: null }, containerClass: { classPropertyName: "containerClass", publicName: "containerClass", isSignal: true, isRequired: false, transformFunction: null }, outsideClick: { classPropertyName: "outsideClick", publicName: "outsideClick", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, isOpen: { classPropertyName: "isOpen", publicName: "isOpen", isSignal: true, isRequired: false, transformFunction: null }, popoverContext: { classPropertyName: "popoverContext", publicName: "popoverContext", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { shown: "shown", hidden: "hidden" }, host: { listeners: { "mouseenter": "onTrigger(\"hover\")", "mouseleave": "onTrigger(\"hover\")", "focus": "onTrigger(\"focus\")", "click": "onTrigger(\"click\")", "touchstart": "focusOut()", "focusout": "focusOut()" } }, exportAs: ["si-popover"], ngImport: i0 });
202
202
  }
203
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiPopoverDirective, decorators: [{
203
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiPopoverDirective, decorators: [{
204
204
  type: Directive,
205
205
  args: [{
206
206
  selector: '[siPopover]',
@@ -231,11 +231,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
231
231
  * SPDX-License-Identifier: MIT
232
232
  */
233
233
  class SiPopoverModule {
234
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
235
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.6", ngImport: i0, type: SiPopoverModule, imports: [SiPopoverDirective], exports: [SiPopoverDirective] });
236
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiPopoverModule });
234
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
235
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: SiPopoverModule, imports: [SiPopoverDirective], exports: [SiPopoverDirective] });
236
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiPopoverModule });
237
237
  }
238
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: SiPopoverModule, decorators: [{
238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: SiPopoverModule, decorators: [{
239
239
  type: NgModule,
240
240
  args: [{
241
241
  imports: [SiPopoverDirective],
@@ -1 +1 @@
1
- {"version":3,"file":"siemens-element-ng-popover.mjs","sources":["../../../../projects/element-ng/popover/si-popover.component.ts","../../../../projects/element-ng/popover/si-popover.component.html","../../../../projects/element-ng/popover/si-popover.directive.ts","../../../../projects/element-ng/popover/si-popover.module.ts","../../../../projects/element-ng/popover/index.ts","../../../../projects/element-ng/popover/siemens-element-ng-popover.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { ConnectedOverlayPositionChange } from '@angular/cdk/overlay';\nimport { NgClass, NgTemplateOutlet } from '@angular/common';\nimport { Component, ElementRef, inject, input, OnInit, signal, TemplateRef } from '@angular/core';\nimport { calculateOverlayArrowPosition, OverlayArrowPosition } from '@siemens/element-ng/common';\nimport { SiIconNextComponent } from '@siemens/element-ng/icon';\n\n@Component({\n selector: 'si-popover',\n imports: [NgClass, NgTemplateOutlet, SiIconNextComponent],\n templateUrl: './si-popover.component.html'\n})\nexport class PopoverComponent implements OnInit {\n readonly popover = input<string | TemplateRef<any>>();\n /** @defaultValue '' */\n readonly popoverTitle = input('');\n /** @defaultValue '' */\n readonly containerClass = input('');\n readonly icon = input<string>();\n readonly popoverContext = input<unknown>();\n\n protected readonly positionClass = signal('');\n protected readonly arrowPos = signal<OverlayArrowPosition | undefined>(undefined);\n protected popoverTemplate: TemplateRef<any> | null = null;\n\n private elementRef = inject(ElementRef);\n\n ngOnInit(): void {\n const popover = this.popover();\n if (popover instanceof TemplateRef) {\n this.popoverTemplate = popover;\n }\n }\n\n /** @internal */\n updateArrow(change: ConnectedOverlayPositionChange, anchor?: ElementRef): void {\n const positionClass = `popover-${change.connectionPair.overlayX}-${change.connectionPair.overlayY}`;\n // need two updates as class changes affect the position\n this.positionClass.set(positionClass);\n const arrowPos = calculateOverlayArrowPosition(change, this.elementRef, anchor);\n this.arrowPos.set(arrowPos);\n }\n}\n","<div\n class=\"popover position-relative focus-outline-padding\"\n [ngClass]=\"[containerClass(), positionClass()]\"\n>\n <div\n class=\"popover-arrow\"\n [style.left.px]=\"arrowPos()?.left\"\n [style.right.px]=\"arrowPos()?.right\"\n ></div>\n @if (popoverTitle()) {\n <div class=\"popover-header\">\n @let iconValue = icon();\n @if (iconValue) {\n <si-icon-next class=\"icon me-2\" [icon]=\"iconValue\" />\n }\n <span class=\"si-title-2\">{{ popoverTitle() }}</span>\n </div>\n }\n <div class=\"popover-body\">\n @if (!popoverTemplate) {\n <div class=\"si-body-2\" [innerHTML]=\"popover()\"></div>\n } @else {\n <ng-template\n [ngTemplateOutlet]=\"popoverTemplate\"\n [ngTemplateOutletContext]=\"popoverContext()\"\n />\n }\n </div>\n</div>\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n booleanAttribute,\n ComponentRef,\n computed,\n Directive,\n ElementRef,\n HostListener,\n inject,\n input,\n OnDestroy,\n OnInit,\n output,\n TemplateRef\n} from '@angular/core';\nimport { getOverlay, getPositionStrategy, hasTrigger, positions } from '@siemens/element-ng/common';\nimport { Subject, takeUntil } from 'rxjs';\n\nimport { PopoverComponent } from './si-popover.component';\n\n@Directive({\n selector: '[siPopover]',\n exportAs: 'si-popover'\n})\nexport class SiPopoverDirective implements OnInit, OnDestroy {\n /**\n * The popover text to be displayed\n */\n readonly siPopover = input<string | TemplateRef<any>>();\n\n /**\n * The placement of the popover. One of 'top', 'start', end', 'bottom'\n *\n * @defaultValue 'auto'\n */\n readonly placement = input<keyof typeof positions>('auto');\n\n readonly placementInternal = computed(() => {\n if (\n this.placement() !== 'top' &&\n this.placement() !== 'bottom' &&\n this.placement() !== 'start' &&\n this.placement() !== 'end'\n ) {\n return 'auto';\n } else {\n return this.placement();\n }\n });\n\n /**\n * The trigger event(s) on which the popover shall be displayed.\n * Applications can pass multiple triggers separated by space.\n * Supported events are 'click', 'hover' and 'focus'.\n *\n * **Limitations:**\n * Safari browsers do not raise a 'focus' event on host element click and 'focus'\n * on tab key has to be enabled in the advanced browser settings.\n *\n * @defaultValue 'click'\n */\n readonly triggers = input('click');\n\n /**\n * The title to be displayed on top for the popover\n *\n * @defaultValue ''\n */\n readonly popoverTitle = input('');\n\n /**\n * The class that will be applied to container of the popover\n *\n * @defaultValue ''\n */\n readonly containerClass = input('');\n\n /**\n * The flag determines whether to close popover on clicking outside\n *\n * @defaultValue true\n */\n readonly outsideClick = input(true, { transform: booleanAttribute });\n\n /**\n * The icon to be displayed besides popover title\n */\n readonly icon = input<string>();\n\n /**\n * Specify whether or not the popover is currently shown\n *\n * @defaultValue false\n */\n readonly isOpen = input<boolean | undefined, unknown>(false, { transform: booleanAttribute });\n\n /**\n * The context for the attached template\n */\n readonly popoverContext = input<unknown>();\n\n /**\n * Emits an event when the popover is shown\n */\n readonly shown = output<void>();\n\n /**\n * Emits an event when the popover is hidden\n */\n readonly hidden = output<void>();\n\n private overlayref?: OverlayRef;\n private overlay = inject(Overlay);\n private elementRef = inject(ElementRef);\n private destroyer = new Subject<void>();\n\n ngOnInit(): void {\n if (this.isOpen()) {\n this.show();\n }\n }\n\n ngOnDestroy(): void {\n this.overlayref?.dispose();\n this.destroyer.next();\n this.destroyer.complete();\n }\n\n /**\n * Displays popover and emits 'shown' event.\n */\n show(): void {\n if (!this.overlayref?.hasAttached()) {\n const triggers = this.triggers();\n const backdrop =\n this.outsideClick() && !hasTrigger('focus', triggers) && !hasTrigger('hover', triggers);\n this.overlayref = getOverlay(\n this.elementRef,\n this.overlay,\n backdrop,\n this.placementInternal()\n );\n if (backdrop) {\n this.overlayref\n .backdropClick()\n .pipe(takeUntil(this.destroyer))\n .subscribe(() => this.hide());\n }\n }\n\n if (this.overlayref.hasAttached()) {\n return;\n }\n const popoverPortal = new ComponentPortal(PopoverComponent);\n const popoverRef: ComponentRef<PopoverComponent> = this.overlayref.attach(popoverPortal);\n\n popoverRef.setInput('popover', this.siPopover());\n popoverRef.setInput('popoverTitle', this.popoverTitle());\n popoverRef.setInput('icon', this.icon());\n popoverRef.setInput('containerClass', this.containerClass());\n popoverRef.setInput('popoverContext', this.popoverContext());\n\n const positionStrategy = getPositionStrategy(this.overlayref);\n positionStrategy?.positionChanges\n .pipe(takeUntil(this.destroyer))\n .subscribe(change => popoverRef.instance.updateArrow(change, this.elementRef));\n\n this.shown.emit();\n }\n\n /**\n * Hides the popover and emits 'hidden' event.\n */\n hide(): void {\n if (this.overlayref?.hasAttached()) {\n this.overlayref?.detach();\n this.hidden.emit();\n this.destroyer.next();\n }\n }\n\n /**\n * Updates the position of the popover based on the position strategy.\n */\n updatePosition(): void {\n this.overlayref?.updatePosition();\n }\n\n @HostListener('mouseenter', ['\"hover\"'])\n @HostListener('mouseleave', ['\"hover\"'])\n @HostListener('focus', ['\"focus\"'])\n @HostListener('click', ['\"click\"'])\n protected onTrigger(trigger: string): void {\n if (hasTrigger(trigger, this.triggers())) {\n if (this.overlayref?.hasAttached()) {\n this.hide();\n } else {\n this.show();\n }\n }\n }\n\n @HostListener('touchstart')\n @HostListener('focusout')\n protected focusOut(): void {\n if (hasTrigger('focus', this.triggers())) {\n if (this.outsideClick()) {\n this.hide();\n }\n }\n }\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { NgModule } from '@angular/core';\n\nimport { SiPopoverDirective } from './si-popover.directive';\n\n@NgModule({\n imports: [SiPopoverDirective],\n exports: [SiPopoverDirective]\n})\nexport class SiPopoverModule {}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-popover.directive';\nexport * from './si-popover.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAea,gBAAgB,CAAA;IAClB,OAAO,GAAG,KAAK,EAA6B;;AAE5C,IAAA,YAAY,GAAG,KAAK,CAAC,EAAE,CAAC;;AAExB,IAAA,cAAc,GAAG,KAAK,CAAC,EAAE,CAAC;IAC1B,IAAI,GAAG,KAAK,EAAU;IACtB,cAAc,GAAG,KAAK,EAAW;AAEvB,IAAA,aAAa,GAAG,MAAM,CAAC,EAAE,CAAC;AAC1B,IAAA,QAAQ,GAAG,MAAM,CAAmC,SAAS,CAAC;IACvE,eAAe,GAA4B,IAAI;AAEjD,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;IAEvC,QAAQ,GAAA;AACN,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE;AAC9B,QAAA,I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A,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAf,eAAe,EAAA,OAAA,EAAA,CAHhB,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAClB,kBAAkB,CAAA,EAAA,CAAA;wGAEjB,eAAe,EAAA,CAAA;;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,kBAAkB,CAAC;oBAC7B,OAAO,EAAE,CAAC,kBAAkB;AAC7B,iBAAA;;;ACXD;;;AAGG;;ACHH;;AAEG;;;;"}
1
+ {"version":3,"file":"siemens-element-ng-popover.mjs","sources":["../../../../projects/element-ng/popover/si-popover.component.ts","../../../../projects/element-ng/popover/si-popover.component.html","../../../../projects/element-ng/popover/si-popover.directive.ts","../../../../projects/element-ng/popover/si-popover.module.ts","../../../../projects/element-ng/popover/index.ts","../../../../projects/element-ng/popover/siemens-element-ng-popover.ts"],"sourcesContent":["/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { ConnectedOverlayPositionChange } from '@angular/cdk/overlay';\nimport { NgClass, NgTemplateOutlet } from '@angular/common';\nimport { Component, ElementRef, inject, input, OnInit, signal, TemplateRef } from '@angular/core';\nimport { calculateOverlayArrowPosition, OverlayArrowPosition } from '@siemens/element-ng/common';\nimport { SiIconNextComponent } from '@siemens/element-ng/icon';\n\n@Component({\n selector: 'si-popover',\n imports: [NgClass, NgTemplateOutlet, SiIconNextComponent],\n templateUrl: './si-popover.component.html'\n})\nexport class PopoverComponent implements OnInit {\n readonly popover = input<string | TemplateRef<any>>();\n /** @defaultValue '' */\n readonly popoverTitle = input('');\n /** @defaultValue '' */\n readonly containerClass = input('');\n readonly icon = input<string>();\n readonly popoverContext = input<unknown>();\n\n protected readonly positionClass = signal('');\n protected readonly arrowPos = signal<OverlayArrowPosition | undefined>(undefined);\n protected popoverTemplate: TemplateRef<any> | null = null;\n\n private elementRef = inject(ElementRef);\n\n ngOnInit(): void {\n const popover = this.popover();\n if (popover instanceof TemplateRef) {\n this.popoverTemplate = popover;\n }\n }\n\n /** @internal */\n updateArrow(change: ConnectedOverlayPositionChange, anchor?: ElementRef): void {\n const positionClass = `popover-${change.connectionPair.overlayX}-${change.connectionPair.overlayY}`;\n // need two updates as class changes affect the position\n this.positionClass.set(positionClass);\n const arrowPos = calculateOverlayArrowPosition(change, this.elementRef, anchor);\n this.arrowPos.set(arrowPos);\n }\n}\n","<div\n class=\"popover position-relative focus-outline-padding\"\n [ngClass]=\"[containerClass(), positionClass()]\"\n>\n <div\n class=\"popover-arrow\"\n [style.left.px]=\"arrowPos()?.left\"\n [style.right.px]=\"arrowPos()?.right\"\n ></div>\n @if (popoverTitle()) {\n <div class=\"popover-header\">\n @let iconValue = icon();\n @if (iconValue) {\n <si-icon-next class=\"icon me-2\" [icon]=\"iconValue\" />\n }\n <span class=\"si-title-2\">{{ popoverTitle() }}</span>\n </div>\n }\n <div class=\"popover-body\">\n @if (!popoverTemplate) {\n <div class=\"si-body-2\" [innerHTML]=\"popover()\"></div>\n } @else {\n <ng-template\n [ngTemplateOutlet]=\"popoverTemplate\"\n [ngTemplateOutletContext]=\"popoverContext()\"\n />\n }\n </div>\n</div>\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { Overlay, OverlayRef } from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n booleanAttribute,\n ComponentRef,\n computed,\n Directive,\n ElementRef,\n HostListener,\n inject,\n input,\n OnDestroy,\n OnInit,\n output,\n TemplateRef\n} from '@angular/core';\nimport { getOverlay, getPositionStrategy, hasTrigger, positions } from '@siemens/element-ng/common';\nimport { Subject, takeUntil } from 'rxjs';\n\nimport { PopoverComponent } from './si-popover.component';\n\n@Directive({\n selector: '[siPopover]',\n exportAs: 'si-popover'\n})\nexport class SiPopoverDirective implements OnInit, OnDestroy {\n /**\n * The popover text to be displayed\n */\n readonly siPopover = input<string | TemplateRef<any>>();\n\n /**\n * The placement of the popover. One of 'top', 'start', end', 'bottom'\n *\n * @defaultValue 'auto'\n */\n readonly placement = input<keyof typeof positions>('auto');\n\n readonly placementInternal = computed(() => {\n if (\n this.placement() !== 'top' &&\n this.placement() !== 'bottom' &&\n this.placement() !== 'start' &&\n this.placement() !== 'end'\n ) {\n return 'auto';\n } else {\n return this.placement();\n }\n });\n\n /**\n * The trigger event(s) on which the popover shall be displayed.\n * Applications can pass multiple triggers separated by space.\n * Supported events are 'click', 'hover' and 'focus'.\n *\n * **Limitations:**\n * Safari browsers do not raise a 'focus' event on host element click and 'focus'\n * on tab key has to be enabled in the advanced browser settings.\n *\n * @defaultValue 'click'\n */\n readonly triggers = input('click');\n\n /**\n * The title to be displayed on top for the popover\n *\n * @defaultValue ''\n */\n readonly popoverTitle = input('');\n\n /**\n * The class that will be applied to container of the popover\n *\n * @defaultValue ''\n */\n readonly containerClass = input('');\n\n /**\n * The flag determines whether to close popover on clicking outside\n *\n * @defaultValue true\n */\n readonly outsideClick = input(true, { transform: booleanAttribute });\n\n /**\n * The icon to be displayed besides popover title\n */\n readonly icon = input<string>();\n\n /**\n * Specify whether or not the popover is currently shown\n *\n * @defaultValue false\n */\n readonly isOpen = input<boolean | undefined, unknown>(false, { transform: booleanAttribute });\n\n /**\n * The context for the attached template\n */\n readonly popoverContext = input<unknown>();\n\n /**\n * Emits an event when the popover is shown\n */\n readonly shown = output<void>();\n\n /**\n * Emits an event when the popover is hidden\n */\n readonly hidden = output<void>();\n\n private overlayref?: OverlayRef;\n private overlay = inject(Overlay);\n private elementRef = inject(ElementRef);\n private destroyer = new Subject<void>();\n\n ngOnInit(): void {\n if (this.isOpen()) {\n this.show();\n }\n }\n\n ngOnDestroy(): void {\n this.overlayref?.dispose();\n this.destroyer.next();\n this.destroyer.complete();\n }\n\n /**\n * Displays popover and emits 'shown' event.\n */\n show(): void {\n if (!this.overlayref?.hasAttached()) {\n const triggers = this.triggers();\n const backdrop =\n this.outsideClick() && !hasTrigger('focus', triggers) && !hasTrigger('hover', triggers);\n this.overlayref = getOverlay(\n this.elementRef,\n this.overlay,\n backdrop,\n this.placementInternal()\n );\n if (backdrop) {\n this.overlayref\n .backdropClick()\n .pipe(takeUntil(this.destroyer))\n .subscribe(() => this.hide());\n }\n }\n\n if (this.overlayref.hasAttached()) {\n return;\n }\n const popoverPortal = new ComponentPortal(PopoverComponent);\n const popoverRef: ComponentRef<PopoverComponent> = this.overlayref.attach(popoverPortal);\n\n popoverRef.setInput('popover', this.siPopover());\n popoverRef.setInput('popoverTitle', this.popoverTitle());\n popoverRef.setInput('icon', this.icon());\n popoverRef.setInput('containerClass', this.containerClass());\n popoverRef.setInput('popoverContext', this.popoverContext());\n\n const positionStrategy = getPositionStrategy(this.overlayref);\n positionStrategy?.positionChanges\n .pipe(takeUntil(this.destroyer))\n .subscribe(change => popoverRef.instance.updateArrow(change, this.elementRef));\n\n this.shown.emit();\n }\n\n /**\n * Hides the popover and emits 'hidden' event.\n */\n hide(): void {\n if (this.overlayref?.hasAttached()) {\n this.overlayref?.detach();\n this.hidden.emit();\n this.destroyer.next();\n }\n }\n\n /**\n * Updates the position of the popover based on the position strategy.\n */\n updatePosition(): void {\n this.overlayref?.updatePosition();\n }\n\n @HostListener('mouseenter', ['\"hover\"'])\n @HostListener('mouseleave', ['\"hover\"'])\n @HostListener('focus', ['\"focus\"'])\n @HostListener('click', ['\"click\"'])\n protected onTrigger(trigger: string): void {\n if (hasTrigger(trigger, this.triggers())) {\n if (this.overlayref?.hasAttached()) {\n this.hide();\n } else {\n this.show();\n }\n }\n }\n\n @HostListener('touchstart')\n @HostListener('focusout')\n protected focusOut(): void {\n if (hasTrigger('focus', this.triggers())) {\n if (this.outsideClick()) {\n this.hide();\n }\n }\n }\n}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nimport { NgModule } from '@angular/core';\n\nimport { SiPopoverDirective } from './si-popover.directive';\n\n@NgModule({\n imports: [SiPopoverDirective],\n exports: [SiPopoverDirective]\n})\nexport class SiPopoverModule {}\n","/**\n * Copyright (c) Siemens 2016 - 2025\n * SPDX-License-Identifier: MIT\n */\nexport * from './si-popover.directive';\nexport * from './si-popover.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAea,gBAAgB,CAAA;IAClB,OAAO,GAAG,KAAK,EAA6B;;AAE5C,IAAA,YAAY,GAAG,KAAK,CAAC,EAAE,CAAC;;AAExB,IAAA,cAAc,GAAG,KAAK,CAAC,EAAE,CAAC;IAC1B,IAAI,GAAG,KAAK,EAAU;IACtB,cAAc,GAAG,KAAK,EAAW;AAEvB,IAAA,aAAa,GAAG,MAAM,CAAC,EAAE,CAAC;AAC1B,IAAA,QAAQ,GAAG,MAAM,CAAmC,SAAS,CAAC;IACvE,eAAe,GAA4B,IAAI;AAEjD,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;IAEvC,QAAQ,GAAA;AACN,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE;AAC9B,QAAA,IAAI,OAAO,YAAY,WAAW,EAAE;AAClC,YAAA,IAAI,CAAC,eAAe,GAAG,OAAO;;;;IAKlC,WAAW,CAAC,MAAsC,EAAE,MAAmB,EAAA;AACrE,QAAA,MAAM,aAAa,GAAG,CAAA,QAAA,EAAW,MAAM,CAAC,cAAc,CAAC,QAAQ,CAAA,CAAA,EAAI,MAAM,CAAC,cAAc,CAAC,QAAQ,EAAE;;AAEnG,QAAA,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,aAAa,CAAC;AACrC,QAAA,MAAM,QAAQ,GAAG,6BAA6B,CAAC,MAAM,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC;AAC/E,QAAA,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC;;uGA5BlB,gBAAgB,EAAA,IAAA,EAAA,EAA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