@hermes-ui/angular 0.1.4

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 (539) hide show
  1. package/README.md +52 -0
  2. package/accordion/_accordion.clarity.scss +81 -0
  3. package/accordion/_properties.accordion.scss +45 -0
  4. package/accordion/_variables.accordion.scss +91 -0
  5. package/addons/a11y/README.md +157 -0
  6. package/addons/a11y/forms/required-field-legend.component.scss +17 -0
  7. package/addons/card-container/card/appfx-card.component.scss +137 -0
  8. package/addons/card-container/container/appfx-card-container.component.scss +17 -0
  9. package/addons/card-container/settings/appfx-card-container-settings.component.scss +62 -0
  10. package/addons/certificate-viewer/certificate-viewer/certificate-viewer.component.scss +69 -0
  11. package/addons/certificate-viewer/certificate-viewer-details/certificate-viewer-details.component.scss +49 -0
  12. package/addons/certificate-viewer/certificate-viewer-general/certificate-viewer-general.component.scss +38 -0
  13. package/addons/datagrid/README.md +289 -0
  14. package/addons/datagrid/addons/action-bar/datagrid-action-bar.component.scss +81 -0
  15. package/addons/datagrid/addons/column-toggle/datagrid-column-toggle.component.scss +99 -0
  16. package/addons/datagrid/addons/export/export-datagrid.component.scss +9 -0
  17. package/addons/datagrid/datagrid.component.scss +339 -0
  18. package/addons/datagrid-filters/README.md +223 -0
  19. package/addons/datagrid-filters/advanced-filters/date-time-filter.component.scss +10 -0
  20. package/addons/datagrid-filters/advanced-filters/enum-filter.component.scss +40 -0
  21. package/addons/datagrid-filters/advanced-filters/users-filter.component.scss +11 -0
  22. package/addons/datagrid-filters/common-styles.scss +98 -0
  23. package/addons/datagrid-filters/composite-filters.component.scss +26 -0
  24. package/addons/datagrid-filters/datagrid-filters.component.scss +22 -0
  25. package/addons/datagrid-filters/manage-filters/manage-filter.component.scss +42 -0
  26. package/addons/dialog/README.md +112 -0
  27. package/addons/dialog/multi-page-dialog.a11y.scss +203 -0
  28. package/addons/dialog/multi-page-dialog.component.scss +102 -0
  29. package/addons/dialog/toggle-component/toggle.component.scss +15 -0
  30. package/addons/drag-and-drop/README.md +48 -0
  31. package/addons/menu/menu.component.scss +120 -0
  32. package/addons/property-view/components/property-view-category.component.scss +38 -0
  33. package/addons/property-view/components/property-view-message.component.scss +48 -0
  34. package/addons/property-view/components/property-view-property.component.scss +122 -0
  35. package/addons/property-view/components/property-view-section.component.scss +59 -0
  36. package/addons/property-view/components/property-view.component.scss +23 -0
  37. package/addons/stepper/stepper.component.scss +53 -0
  38. package/addons/tabs/tab-links/tab-links.component.scss +61 -0
  39. package/addons/tabs/tabs.a11y.scss +26 -0
  40. package/addons/tabs/tabs.component.scss +95 -0
  41. package/addons/theme-builder/README.md +70 -0
  42. package/addons/theme-builder/theme-builder.component.scss +194 -0
  43. package/addons/translate/README.md +124 -0
  44. package/addons/var/debug/workflow-model-monitor.component.scss +50 -0
  45. package/addons/var/error/error.component.scss +38 -0
  46. package/addons/var/spinner/spinner.component.scss +33 -0
  47. package/addons/wizard/summary/summary.component.scss +22 -0
  48. package/addons/wizard/wizard.component.scss +251 -0
  49. package/button/_buttons.clarity.scss +388 -0
  50. package/button/_mixins.buttons.scss +241 -0
  51. package/button/_properties.buttons.scss +387 -0
  52. package/button/_properties.toggles.scss +35 -0
  53. package/button/_variables.buttons.scss +905 -0
  54. package/button/_variables.toggles.scss +41 -0
  55. package/button/button-group/_button-group.clarity.scss +202 -0
  56. package/collapsible-panel/_mixins.collapsible-panel.scss +189 -0
  57. package/collapsible-panel/_properties.collapsible-panel.scss +42 -0
  58. package/collapsible-panel/_variables.collapsible-panel.scss +40 -0
  59. package/data/_mixins.tables.scss +114 -0
  60. package/data/_properties.tables.scss +77 -0
  61. package/data/_tables.clarity.scss +120 -0
  62. package/data/_variables.tables.scss +42 -0
  63. package/data/datagrid/_datagrid.clarity.scss +1871 -0
  64. package/data/datagrid/_mixins.datagrid.scss +102 -0
  65. package/data/datagrid/_properties.datagrid.scss +98 -0
  66. package/data/datagrid/_variables.datagrid.scss +98 -0
  67. package/data/stack-view/_properties.stack-view.scss +50 -0
  68. package/data/stack-view/_stack-view.clarity.scss +267 -0
  69. package/data/stack-view/_variables.stack-view.scss +32 -0
  70. package/data/tree-view/_properties.tree-view.scss +41 -0
  71. package/data/tree-view/_tree-view.clarity.scss +281 -0
  72. package/data/tree-view/_variables.tree-view.scss +51 -0
  73. package/emphasis/alert/_alert.clarity.scss +467 -0
  74. package/emphasis/alert/_mixins.alert.scss +96 -0
  75. package/emphasis/alert/_properties.alert.scss +183 -0
  76. package/emphasis/alert/_variables.alert.scss +502 -0
  77. package/emphasis/badge/_badges.clarity.scss +61 -0
  78. package/emphasis/badge/_mixins.bades.scss +34 -0
  79. package/emphasis/badge/_properties.badges.scss +82 -0
  80. package/emphasis/badge/_variables.badges.scss +160 -0
  81. package/emphasis/label/_labels.clarity.scss +179 -0
  82. package/emphasis/label/_mixins.label.scss +77 -0
  83. package/emphasis/label/_properties.label.scss +105 -0
  84. package/emphasis/label/_variables.label.scss +181 -0
  85. package/fesm2022/hermes-ui-angular-accordion.mjs +355 -0
  86. package/fesm2022/hermes-ui-angular-accordion.mjs.map +1 -0
  87. package/fesm2022/hermes-ui-angular-addons-a11y.mjs +544 -0
  88. package/fesm2022/hermes-ui-angular-addons-a11y.mjs.map +1 -0
  89. package/fesm2022/hermes-ui-angular-addons-card-container.mjs +1082 -0
  90. package/fesm2022/hermes-ui-angular-addons-card-container.mjs.map +1 -0
  91. package/fesm2022/hermes-ui-angular-addons-certificate-viewer.mjs +2520 -0
  92. package/fesm2022/hermes-ui-angular-addons-certificate-viewer.mjs.map +1 -0
  93. package/fesm2022/hermes-ui-angular-addons-datagrid-filters.mjs +2818 -0
  94. package/fesm2022/hermes-ui-angular-addons-datagrid-filters.mjs.map +1 -0
  95. package/fesm2022/hermes-ui-angular-addons-datagrid.mjs +3131 -0
  96. package/fesm2022/hermes-ui-angular-addons-datagrid.mjs.map +1 -0
  97. package/fesm2022/hermes-ui-angular-addons-dialog.mjs +386 -0
  98. package/fesm2022/hermes-ui-angular-addons-dialog.mjs.map +1 -0
  99. package/fesm2022/hermes-ui-angular-addons-drag-and-drop.mjs +78 -0
  100. package/fesm2022/hermes-ui-angular-addons-drag-and-drop.mjs.map +1 -0
  101. package/fesm2022/hermes-ui-angular-addons-menu.mjs +559 -0
  102. package/fesm2022/hermes-ui-angular-addons-menu.mjs.map +1 -0
  103. package/fesm2022/hermes-ui-angular-addons-property-view.mjs +1142 -0
  104. package/fesm2022/hermes-ui-angular-addons-property-view.mjs.map +1 -0
  105. package/fesm2022/hermes-ui-angular-addons-stepper.mjs +716 -0
  106. package/fesm2022/hermes-ui-angular-addons-stepper.mjs.map +1 -0
  107. package/fesm2022/hermes-ui-angular-addons-tabs.mjs +539 -0
  108. package/fesm2022/hermes-ui-angular-addons-tabs.mjs.map +1 -0
  109. package/fesm2022/hermes-ui-angular-addons-testing.mjs +2010 -0
  110. package/fesm2022/hermes-ui-angular-addons-testing.mjs.map +1 -0
  111. package/fesm2022/hermes-ui-angular-addons-theme-builder.mjs +922 -0
  112. package/fesm2022/hermes-ui-angular-addons-theme-builder.mjs.map +1 -0
  113. package/fesm2022/hermes-ui-angular-addons-translate.mjs +295 -0
  114. package/fesm2022/hermes-ui-angular-addons-translate.mjs.map +1 -0
  115. package/fesm2022/hermes-ui-angular-addons-var.mjs +2028 -0
  116. package/fesm2022/hermes-ui-angular-addons-var.mjs.map +1 -0
  117. package/fesm2022/hermes-ui-angular-addons-wizard.mjs +610 -0
  118. package/fesm2022/hermes-ui-angular-addons-wizard.mjs.map +1 -0
  119. package/fesm2022/hermes-ui-angular-addons-workflow-strings.mjs +121 -0
  120. package/fesm2022/hermes-ui-angular-addons-workflow-strings.mjs.map +1 -0
  121. package/fesm2022/hermes-ui-angular-addons-workflow.mjs +88 -0
  122. package/fesm2022/hermes-ui-angular-addons-workflow.mjs.map +1 -0
  123. package/fesm2022/hermes-ui-angular-button.mjs +719 -0
  124. package/fesm2022/hermes-ui-angular-button.mjs.map +1 -0
  125. package/fesm2022/hermes-ui-angular-collapsible-panel.mjs +201 -0
  126. package/fesm2022/hermes-ui-angular-collapsible-panel.mjs.map +1 -0
  127. package/fesm2022/hermes-ui-angular-data-datagrid.mjs +8045 -0
  128. package/fesm2022/hermes-ui-angular-data-datagrid.mjs.map +1 -0
  129. package/fesm2022/hermes-ui-angular-data-stack-view.mjs +442 -0
  130. package/fesm2022/hermes-ui-angular-data-stack-view.mjs.map +1 -0
  131. package/fesm2022/hermes-ui-angular-data-tree-view.mjs +1106 -0
  132. package/fesm2022/hermes-ui-angular-data-tree-view.mjs.map +1 -0
  133. package/fesm2022/hermes-ui-angular-data.mjs +40 -0
  134. package/fesm2022/hermes-ui-angular-data.mjs.map +1 -0
  135. package/fesm2022/hermes-ui-angular-emphasis-alert.mjs +624 -0
  136. package/fesm2022/hermes-ui-angular-emphasis-alert.mjs.map +1 -0
  137. package/fesm2022/hermes-ui-angular-emphasis-badge.mjs +69 -0
  138. package/fesm2022/hermes-ui-angular-emphasis-badge.mjs.map +1 -0
  139. package/fesm2022/hermes-ui-angular-emphasis-common.mjs +25 -0
  140. package/fesm2022/hermes-ui-angular-emphasis-common.mjs.map +1 -0
  141. package/fesm2022/hermes-ui-angular-emphasis-label.mjs +105 -0
  142. package/fesm2022/hermes-ui-angular-emphasis-label.mjs.map +1 -0
  143. package/fesm2022/hermes-ui-angular-emphasis.mjs +41 -0
  144. package/fesm2022/hermes-ui-angular-emphasis.mjs.map +1 -0
  145. package/fesm2022/hermes-ui-angular-forms-checkbox.mjs +279 -0
  146. package/fesm2022/hermes-ui-angular-forms-checkbox.mjs.map +1 -0
  147. package/fesm2022/hermes-ui-angular-forms-combobox.mjs +1775 -0
  148. package/fesm2022/hermes-ui-angular-forms-combobox.mjs.map +1 -0
  149. package/fesm2022/hermes-ui-angular-forms-common.mjs +1251 -0
  150. package/fesm2022/hermes-ui-angular-forms-common.mjs.map +1 -0
  151. package/fesm2022/hermes-ui-angular-forms-datalist.mjs +263 -0
  152. package/fesm2022/hermes-ui-angular-forms-datalist.mjs.map +1 -0
  153. package/fesm2022/hermes-ui-angular-forms-datepicker.mjs +3274 -0
  154. package/fesm2022/hermes-ui-angular-forms-datepicker.mjs.map +1 -0
  155. package/fesm2022/hermes-ui-angular-forms-file-input.mjs +826 -0
  156. package/fesm2022/hermes-ui-angular-forms-file-input.mjs.map +1 -0
  157. package/fesm2022/hermes-ui-angular-forms-input.mjs +153 -0
  158. package/fesm2022/hermes-ui-angular-forms-input.mjs.map +1 -0
  159. package/fesm2022/hermes-ui-angular-forms-native-select.mjs +153 -0
  160. package/fesm2022/hermes-ui-angular-forms-native-select.mjs.map +1 -0
  161. package/fesm2022/hermes-ui-angular-forms-number-input.mjs +236 -0
  162. package/fesm2022/hermes-ui-angular-forms-number-input.mjs.map +1 -0
  163. package/fesm2022/hermes-ui-angular-forms-password.mjs +233 -0
  164. package/fesm2022/hermes-ui-angular-forms-password.mjs.map +1 -0
  165. package/fesm2022/hermes-ui-angular-forms-radio.mjs +224 -0
  166. package/fesm2022/hermes-ui-angular-forms-radio.mjs.map +1 -0
  167. package/fesm2022/hermes-ui-angular-forms-range.mjs +186 -0
  168. package/fesm2022/hermes-ui-angular-forms-range.mjs.map +1 -0
  169. package/fesm2022/hermes-ui-angular-forms-select.mjs +606 -0
  170. package/fesm2022/hermes-ui-angular-forms-select.mjs.map +1 -0
  171. package/fesm2022/hermes-ui-angular-forms-textarea.mjs +136 -0
  172. package/fesm2022/hermes-ui-angular-forms-textarea.mjs.map +1 -0
  173. package/fesm2022/hermes-ui-angular-forms.mjs +105 -0
  174. package/fesm2022/hermes-ui-angular-forms.mjs.map +1 -0
  175. package/fesm2022/hermes-ui-angular-icon.mjs +7413 -0
  176. package/fesm2022/hermes-ui-angular-icon.mjs.map +1 -0
  177. package/fesm2022/hermes-ui-angular-layout-breadcrumbs.mjs +120 -0
  178. package/fesm2022/hermes-ui-angular-layout-breadcrumbs.mjs.map +1 -0
  179. package/fesm2022/hermes-ui-angular-layout-main-container.mjs +100 -0
  180. package/fesm2022/hermes-ui-angular-layout-main-container.mjs.map +1 -0
  181. package/fesm2022/hermes-ui-angular-layout-nav.mjs +582 -0
  182. package/fesm2022/hermes-ui-angular-layout-nav.mjs.map +1 -0
  183. package/fesm2022/hermes-ui-angular-layout-tabs.mjs +807 -0
  184. package/fesm2022/hermes-ui-angular-layout-tabs.mjs.map +1 -0
  185. package/fesm2022/hermes-ui-angular-layout-vertical-nav.mjs +507 -0
  186. package/fesm2022/hermes-ui-angular-layout-vertical-nav.mjs.map +1 -0
  187. package/fesm2022/hermes-ui-angular-layout.mjs +44 -0
  188. package/fesm2022/hermes-ui-angular-layout.mjs.map +1 -0
  189. package/fesm2022/hermes-ui-angular-modal.mjs +619 -0
  190. package/fesm2022/hermes-ui-angular-modal.mjs.map +1 -0
  191. package/fesm2022/hermes-ui-angular-popover-common.mjs +1371 -0
  192. package/fesm2022/hermes-ui-angular-popover-common.mjs.map +1 -0
  193. package/fesm2022/hermes-ui-angular-popover-dropdown.mjs +492 -0
  194. package/fesm2022/hermes-ui-angular-popover-dropdown.mjs.map +1 -0
  195. package/fesm2022/hermes-ui-angular-popover-signpost.mjs +494 -0
  196. package/fesm2022/hermes-ui-angular-popover-signpost.mjs.map +1 -0
  197. package/fesm2022/hermes-ui-angular-popover-tooltip.mjs +293 -0
  198. package/fesm2022/hermes-ui-angular-popover-tooltip.mjs.map +1 -0
  199. package/fesm2022/hermes-ui-angular-popover.mjs +41 -0
  200. package/fesm2022/hermes-ui-angular-popover.mjs.map +1 -0
  201. package/fesm2022/hermes-ui-angular-progress-progress-bars.mjs +217 -0
  202. package/fesm2022/hermes-ui-angular-progress-progress-bars.mjs.map +1 -0
  203. package/fesm2022/hermes-ui-angular-progress-spinner.mjs +132 -0
  204. package/fesm2022/hermes-ui-angular-progress-spinner.mjs.map +1 -0
  205. package/fesm2022/hermes-ui-angular-stepper.mjs +694 -0
  206. package/fesm2022/hermes-ui-angular-stepper.mjs.map +1 -0
  207. package/fesm2022/hermes-ui-angular-timeline.mjs +316 -0
  208. package/fesm2022/hermes-ui-angular-timeline.mjs.map +1 -0
  209. package/fesm2022/hermes-ui-angular-toast.mjs +373 -0
  210. package/fesm2022/hermes-ui-angular-toast.mjs.map +1 -0
  211. package/fesm2022/hermes-ui-angular-utils-conditional.mjs +351 -0
  212. package/fesm2022/hermes-ui-angular-utils-conditional.mjs.map +1 -0
  213. package/fesm2022/hermes-ui-angular-utils-loading.mjs +107 -0
  214. package/fesm2022/hermes-ui-angular-utils-loading.mjs.map +1 -0
  215. package/fesm2022/hermes-ui-angular-utils.mjs +2086 -0
  216. package/fesm2022/hermes-ui-angular-utils.mjs.map +1 -0
  217. package/fesm2022/hermes-ui-angular-wizard.mjs +3074 -0
  218. package/fesm2022/hermes-ui-angular-wizard.mjs.map +1 -0
  219. package/fesm2022/hermes-ui-angular.mjs +130 -0
  220. package/fesm2022/hermes-ui-angular.mjs.map +1 -0
  221. package/forms/combobox/_combobox.clarity.scss +330 -0
  222. package/forms/combobox/_properties.combobox.scss +46 -0
  223. package/forms/combobox/_variables.combobox.scss +32 -0
  224. package/forms/datepicker/_datepicker.clarity.scss +259 -0
  225. package/forms/datepicker/_mixins.datepicker.scss +89 -0
  226. package/forms/datepicker/_properties.datepicker.scss +46 -0
  227. package/forms/datepicker/_variables.datepicker.scss +74 -0
  228. package/forms/styles/_checkbox.clarity.scss +193 -0
  229. package/forms/styles/_containers.clarity.scss +230 -0
  230. package/forms/styles/_datalist.clarity.scss +47 -0
  231. package/forms/styles/_file-input.clarity.scss +134 -0
  232. package/forms/styles/_file.clarity.scss +52 -0
  233. package/forms/styles/_form.clarity.scss +87 -0
  234. package/forms/styles/_input-group.clarity.scss +126 -0
  235. package/forms/styles/_input.clarity.scss +83 -0
  236. package/forms/styles/_mixins.forms.scss +193 -0
  237. package/forms/styles/_native-select.clarity.scss +178 -0
  238. package/forms/styles/_number-input.clarity.scss +58 -0
  239. package/forms/styles/_password.clarity.scss +26 -0
  240. package/forms/styles/_properties.forms.scss +180 -0
  241. package/forms/styles/_radio.clarity.scss +120 -0
  242. package/forms/styles/_range.clarity.scss +124 -0
  243. package/forms/styles/_select.clarity.scss +158 -0
  244. package/forms/styles/_textarea.clarity.scss +71 -0
  245. package/forms/styles/_toggles.clarity.scss +209 -0
  246. package/forms/styles/_variables.forms.scss +156 -0
  247. package/hermes-ui.scss +7 -0
  248. package/icon/icon.component.scss +247 -0
  249. package/image/_icons.clarity.scss +101 -0
  250. package/image/_images.clarity.scss +42 -0
  251. package/image/_mixins.images.scss +11 -0
  252. package/layout/_card.clarity.scss +318 -0
  253. package/layout/_login.clarity.scss +240 -0
  254. package/layout/_properties.card.scss +39 -0
  255. package/layout/_properties.login.scss +32 -0
  256. package/layout/_variables.card.scss +24 -0
  257. package/layout/_variables.login.scss +22 -0
  258. package/layout/breadcrumbs/_breadcrumbs.clarity.scss +60 -0
  259. package/layout/breadcrumbs/_properties.breadcrumbs.scss +18 -0
  260. package/layout/breadcrumbs/_variables.breadcrumbs.scss +11 -0
  261. package/layout/grid/_grid.scss +23 -0
  262. package/layout/grid/grid/_grid.scss +39 -0
  263. package/layout/grid/mixins/_breakpoint.scss +83 -0
  264. package/layout/grid/mixins/_clearfix.scss +13 -0
  265. package/layout/grid/mixins/_grid-framework.scss +91 -0
  266. package/layout/grid/mixins/_grid.scss +39 -0
  267. package/layout/grid/utilities/_align.scss +30 -0
  268. package/layout/grid/utilities/_clearfix.scss +12 -0
  269. package/layout/grid/utilities/_display.scss +18 -0
  270. package/layout/grid/utilities/_flex.scss +222 -0
  271. package/layout/grid/utilities/_float.scss +26 -0
  272. package/layout/grid/utilities/_visibility.scss +60 -0
  273. package/layout/main-container/_layout.clarity.scss +87 -0
  274. package/layout/main-container/_properties.header.scss +55 -0
  275. package/layout/main-container/_variables.header.scss +32 -0
  276. package/layout/nav/_header.clarity.scss +40 -0
  277. package/layout/nav/_links.clarity.scss +84 -0
  278. package/layout/nav/_mixins.header.scss +332 -0
  279. package/layout/nav/_mixins.responsive-nav.scss +75 -0
  280. package/layout/nav/_nav.clarity.scss +100 -0
  281. package/layout/nav/_properties.nav.scss +27 -0
  282. package/layout/nav/_properties.responsive-nav.scss +23 -0
  283. package/layout/nav/_properties.subnav.scss +19 -0
  284. package/layout/nav/_responsive-nav.clarity.scss +490 -0
  285. package/layout/nav/_subnav.clarity.scss +48 -0
  286. package/layout/nav/_variables.nav.scss +13 -0
  287. package/layout/nav/_variables.responsive-nav.scss +28 -0
  288. package/layout/nav/_variables.subnav.scss +21 -0
  289. package/layout/tabs/_mixins.tabs.scss +41 -0
  290. package/layout/tabs/_properties.tabs.scss +25 -0
  291. package/layout/tabs/_tabs.clarity.scss +110 -0
  292. package/layout/tabs/_variables.tabs.scss +17 -0
  293. package/layout/vertical-nav/_mixins.vertical-nav.scss +52 -0
  294. package/layout/vertical-nav/_properties.vertical-nav.scss +73 -0
  295. package/layout/vertical-nav/_variables.vertical-nav.scss +52 -0
  296. package/layout/vertical-nav/_vertical-nav.clarity.scss +469 -0
  297. package/main.scss +14 -0
  298. package/modal/_modal.clarity.scss +379 -0
  299. package/modal/_properties.modal.scss +57 -0
  300. package/modal/_variables.modal.scss +41 -0
  301. package/package.json +325 -0
  302. package/popover/common/README.md +112 -0
  303. package/popover/common/_popover.clarity.scss +28 -0
  304. package/popover/dropdown/_dropdown.clarity.scss +326 -0
  305. package/popover/dropdown/_menu-mixins.clarity.scss +132 -0
  306. package/popover/dropdown/_properties.dropdown.scss +50 -0
  307. package/popover/dropdown/_variables.dropdown.scss +36 -0
  308. package/popover/signpost/_properties.signpost.scss +34 -0
  309. package/popover/signpost/_signposts.clarity.scss +414 -0
  310. package/popover/signpost/_variables.signpost.scss +21 -0
  311. package/popover/tooltip/_mixins.tooltip.scss +186 -0
  312. package/popover/tooltip/_properties.tooltip.scss +28 -0
  313. package/popover/tooltip/_tooltips.clarity.scss +122 -0
  314. package/popover/tooltip/_variables.tooltip.scss +20 -0
  315. package/progress/progress-bars/_progress-bars.clarity.scss +616 -0
  316. package/progress/progress-bars/_properties.progress-bars.scss +24 -0
  317. package/progress/progress-bars/_variables.progress-bars.scss +15 -0
  318. package/progress/progress-bars/utils/_mixins.clarity.scss +18 -0
  319. package/progress/spinner/_mixins.spinner.scss +30 -0
  320. package/progress/spinner/_properties.spinner.scss +37 -0
  321. package/progress/spinner/_spinner.clarity.scss +148 -0
  322. package/progress/spinner/_variables.spinner.scss +25 -0
  323. package/schematics/collection.json +14 -0
  324. package/stepper/_properties.stepper.scss +29 -0
  325. package/stepper/_stepper.clarity.scss +184 -0
  326. package/stepper/_variables.stepper.scss +13 -0
  327. package/styles/_a11y.scss +14 -0
  328. package/styles/_close.clarity.scss +60 -0
  329. package/styles/_components.clarity.scss +189 -0
  330. package/styles/_mixins.scss +460 -0
  331. package/styles/_normalize.scss +292 -0
  332. package/styles/_reboot.clarity.scss +374 -0
  333. package/styles/_variables.clarity.scss +139 -0
  334. package/styles/core/base/base.element.scss +97 -0
  335. package/styles/core/global.scss +12 -0
  336. package/styles/core/layout/_alignments.scss +18 -0
  337. package/styles/core/layout/_container.scss +29 -0
  338. package/styles/core/layout/_display.scss +58 -0
  339. package/styles/core/layout/_optimize.scss +60 -0
  340. package/styles/core/layout/_shadow-dom.scss +47 -0
  341. package/styles/core/layout/_spacing.scss +31 -0
  342. package/styles/core/layout/_type-grid.scss +66 -0
  343. package/styles/core/layout/_type-horizontal.scss +33 -0
  344. package/styles/core/layout/_type-vertical.scss +26 -0
  345. package/styles/core/layout/mixins/_mixins.alignment.scss +35 -0
  346. package/styles/core/layout/mixins/_mixins.display.scss +23 -0
  347. package/styles/core/layout/mixins/_mixins.grid.scss +105 -0
  348. package/styles/core/layout/mixins/_mixins.scss +106 -0
  349. package/styles/core/layout/mixins/_mixins.shadow-dom.scss +106 -0
  350. package/styles/core/layout/mixins/_mixins.type-horizontal.scss +113 -0
  351. package/styles/core/layout/mixins/_mixins.type-vertical.scss +108 -0
  352. package/styles/core/module.layout.scss +22 -0
  353. package/styles/core/module.reset.scss +48 -0
  354. package/styles/core/module.typography.scss +9 -0
  355. package/styles/core/theme.dark.scss +298 -0
  356. package/styles/core/theme.high-contrast.scss +42 -0
  357. package/styles/core/theme.low-motion.scss +20 -0
  358. package/styles/core/tokens/_alias-interaction.scss +74 -0
  359. package/styles/core/tokens/_alias-object-background.scss +29 -0
  360. package/styles/core/tokens/_alias-object-border.scss +21 -0
  361. package/styles/core/tokens/_alias-object-container.scss +20 -0
  362. package/styles/core/tokens/_alias-object-opacity.scss +15 -0
  363. package/styles/core/tokens/_alias-object-shadow.scss +17 -0
  364. package/styles/core/tokens/_alias-primary.scss +21 -0
  365. package/styles/core/tokens/_alias-status.scss +40 -0
  366. package/styles/core/tokens/_alias-typography.scss +107 -0
  367. package/styles/core/tokens/_alias-utility.scss +42 -0
  368. package/styles/core/tokens/_alias-viz-colors.scss +170 -0
  369. package/styles/core/tokens/_global-animation.scss +32 -0
  370. package/styles/core/tokens/_global-colors.scss +249 -0
  371. package/styles/core/tokens/_global-space.scss +52 -0
  372. package/styles/core/tokens/_internal-scale.scss +14 -0
  373. package/styles/core/tokens/_properties.tokens.scss +22 -0
  374. package/styles/core/tokens/_variables.tokens.scss +787 -0
  375. package/styles/core/typography/_legacy-typography.scss +328 -0
  376. package/styles/core/typography/_mixins.typography.scss +18 -0
  377. package/styles/core/typography/_typography.scss +328 -0
  378. package/styles/variables/_properties.density.scss +225 -0
  379. package/styles/variables/_properties.global.scss +51 -0
  380. package/styles/variables/_properties.layout.scss +21 -0
  381. package/styles/variables/_properties.scss +11 -0
  382. package/styles/variables/_properties.typography.scss +164 -0
  383. package/styles/variables/_variables.density.scss +116 -0
  384. package/styles/variables/_variables.global.scss +87 -0
  385. package/styles/variables/_variables.layout.scss +37 -0
  386. package/styles/variables/_variables.scss +11 -0
  387. package/styles/variables/_variables.typography.scss +156 -0
  388. package/timeline/_properties.timeline.scss +38 -0
  389. package/timeline/_timeline.clarity.scss +172 -0
  390. package/timeline/_variables.timeline.scss +29 -0
  391. package/toast/README.md +65 -0
  392. package/toast/_properties.toast.scss +56 -0
  393. package/toast/_toast.clarity.scss +190 -0
  394. package/toast/_variables.toast.scss +33 -0
  395. package/types/hermes-ui-angular-accordion.d.ts +101 -0
  396. package/types/hermes-ui-angular-accordion.d.ts.map +1 -0
  397. package/types/hermes-ui-angular-addons-a11y.d.ts +187 -0
  398. package/types/hermes-ui-angular-addons-a11y.d.ts.map +1 -0
  399. package/types/hermes-ui-angular-addons-card-container.d.ts +482 -0
  400. package/types/hermes-ui-angular-addons-card-container.d.ts.map +1 -0
  401. package/types/hermes-ui-angular-addons-certificate-viewer.d.ts +404 -0
  402. package/types/hermes-ui-angular-addons-certificate-viewer.d.ts.map +1 -0
  403. package/types/hermes-ui-angular-addons-datagrid-filters.d.ts +911 -0
  404. package/types/hermes-ui-angular-addons-datagrid-filters.d.ts.map +1 -0
  405. package/types/hermes-ui-angular-addons-datagrid.d.ts +1529 -0
  406. package/types/hermes-ui-angular-addons-datagrid.d.ts.map +1 -0
  407. package/types/hermes-ui-angular-addons-dialog.d.ts +233 -0
  408. package/types/hermes-ui-angular-addons-dialog.d.ts.map +1 -0
  409. package/types/hermes-ui-angular-addons-drag-and-drop.d.ts +35 -0
  410. package/types/hermes-ui-angular-addons-drag-and-drop.d.ts.map +1 -0
  411. package/types/hermes-ui-angular-addons-menu.d.ts +197 -0
  412. package/types/hermes-ui-angular-addons-menu.d.ts.map +1 -0
  413. package/types/hermes-ui-angular-addons-property-view.d.ts +387 -0
  414. package/types/hermes-ui-angular-addons-property-view.d.ts.map +1 -0
  415. package/types/hermes-ui-angular-addons-stepper.d.ts +298 -0
  416. package/types/hermes-ui-angular-addons-stepper.d.ts.map +1 -0
  417. package/types/hermes-ui-angular-addons-tabs.d.ts +173 -0
  418. package/types/hermes-ui-angular-addons-tabs.d.ts.map +1 -0
  419. package/types/hermes-ui-angular-addons-testing.d.ts +592 -0
  420. package/types/hermes-ui-angular-addons-testing.d.ts.map +1 -0
  421. package/types/hermes-ui-angular-addons-theme-builder.d.ts +200 -0
  422. package/types/hermes-ui-angular-addons-theme-builder.d.ts.map +1 -0
  423. package/types/hermes-ui-angular-addons-translate.d.ts +149 -0
  424. package/types/hermes-ui-angular-addons-translate.d.ts.map +1 -0
  425. package/types/hermes-ui-angular-addons-var.d.ts +923 -0
  426. package/types/hermes-ui-angular-addons-var.d.ts.map +1 -0
  427. package/types/hermes-ui-angular-addons-wizard.d.ts +241 -0
  428. package/types/hermes-ui-angular-addons-wizard.d.ts.map +1 -0
  429. package/types/hermes-ui-angular-addons-workflow-strings.d.ts +124 -0
  430. package/types/hermes-ui-angular-addons-workflow-strings.d.ts.map +1 -0
  431. package/types/hermes-ui-angular-addons-workflow.d.ts +15 -0
  432. package/types/hermes-ui-angular-addons-workflow.d.ts.map +1 -0
  433. package/types/hermes-ui-angular-button.d.ts +170 -0
  434. package/types/hermes-ui-angular-button.d.ts.map +1 -0
  435. package/types/hermes-ui-angular-collapsible-panel.d.ts +74 -0
  436. package/types/hermes-ui-angular-collapsible-panel.d.ts.map +1 -0
  437. package/types/hermes-ui-angular-data-datagrid.d.ts +1938 -0
  438. package/types/hermes-ui-angular-data-datagrid.d.ts.map +1 -0
  439. package/types/hermes-ui-angular-data-stack-view.d.ts +88 -0
  440. package/types/hermes-ui-angular-data-stack-view.d.ts.map +1 -0
  441. package/types/hermes-ui-angular-data-tree-view.d.ts +230 -0
  442. package/types/hermes-ui-angular-data-tree-view.d.ts.map +1 -0
  443. package/types/hermes-ui-angular-data.d.ts +16 -0
  444. package/types/hermes-ui-angular-data.d.ts.map +1 -0
  445. package/types/hermes-ui-angular-emphasis-alert.d.ts +176 -0
  446. package/types/hermes-ui-angular-emphasis-alert.d.ts.map +1 -0
  447. package/types/hermes-ui-angular-emphasis-badge.d.ts +26 -0
  448. package/types/hermes-ui-angular-emphasis-badge.d.ts.map +1 -0
  449. package/types/hermes-ui-angular-emphasis-common.d.ts +7 -0
  450. package/types/hermes-ui-angular-emphasis-common.d.ts.map +1 -0
  451. package/types/hermes-ui-angular-emphasis-label.d.ts +30 -0
  452. package/types/hermes-ui-angular-emphasis-label.d.ts.map +1 -0
  453. package/types/hermes-ui-angular-emphasis.d.ts +16 -0
  454. package/types/hermes-ui-angular-emphasis.d.ts.map +1 -0
  455. package/types/hermes-ui-angular-forms-checkbox.d.ts +73 -0
  456. package/types/hermes-ui-angular-forms-checkbox.d.ts.map +1 -0
  457. package/types/hermes-ui-angular-forms-combobox.d.ts +354 -0
  458. package/types/hermes-ui-angular-forms-combobox.d.ts.map +1 -0
  459. package/types/hermes-ui-angular-forms-common.d.ts +340 -0
  460. package/types/hermes-ui-angular-forms-common.d.ts.map +1 -0
  461. package/types/hermes-ui-angular-forms-datalist.d.ts +60 -0
  462. package/types/hermes-ui-angular-forms-datalist.d.ts.map +1 -0
  463. package/types/hermes-ui-angular-forms-datepicker.d.ts +987 -0
  464. package/types/hermes-ui-angular-forms-datepicker.d.ts.map +1 -0
  465. package/types/hermes-ui-angular-forms-file-input.d.ts +194 -0
  466. package/types/hermes-ui-angular-forms-file-input.d.ts.map +1 -0
  467. package/types/hermes-ui-angular-forms-input.d.ts +30 -0
  468. package/types/hermes-ui-angular-forms-input.d.ts.map +1 -0
  469. package/types/hermes-ui-angular-forms-native-select.d.ts +37 -0
  470. package/types/hermes-ui-angular-forms-native-select.d.ts.map +1 -0
  471. package/types/hermes-ui-angular-forms-number-input.d.ts +44 -0
  472. package/types/hermes-ui-angular-forms-number-input.d.ts.map +1 -0
  473. package/types/hermes-ui-angular-forms-password.d.ts +53 -0
  474. package/types/hermes-ui-angular-forms-password.d.ts.map +1 -0
  475. package/types/hermes-ui-angular-forms-radio.d.ts +50 -0
  476. package/types/hermes-ui-angular-forms-radio.d.ts.map +1 -0
  477. package/types/hermes-ui-angular-forms-range.d.ts +38 -0
  478. package/types/hermes-ui-angular-forms-range.d.ts.map +1 -0
  479. package/types/hermes-ui-angular-forms-select.d.ts +211 -0
  480. package/types/hermes-ui-angular-forms-select.d.ts.map +1 -0
  481. package/types/hermes-ui-angular-forms-textarea.d.ts +30 -0
  482. package/types/hermes-ui-angular-forms-textarea.d.ts.map +1 -0
  483. package/types/hermes-ui-angular-forms.d.ts +39 -0
  484. package/types/hermes-ui-angular-forms.d.ts.map +1 -0
  485. package/types/hermes-ui-angular-icon.d.ts +1504 -0
  486. package/types/hermes-ui-angular-icon.d.ts.map +1 -0
  487. package/types/hermes-ui-angular-layout-breadcrumbs.d.ts +46 -0
  488. package/types/hermes-ui-angular-layout-breadcrumbs.d.ts.map +1 -0
  489. package/types/hermes-ui-angular-layout-main-container.d.ts +29 -0
  490. package/types/hermes-ui-angular-layout-main-container.d.ts.map +1 -0
  491. package/types/hermes-ui-angular-layout-nav.d.ts +143 -0
  492. package/types/hermes-ui-angular-layout-nav.d.ts.map +1 -0
  493. package/types/hermes-ui-angular-layout-tabs.d.ts +159 -0
  494. package/types/hermes-ui-angular-layout-tabs.d.ts.map +1 -0
  495. package/types/hermes-ui-angular-layout-vertical-nav.d.ts +129 -0
  496. package/types/hermes-ui-angular-layout-vertical-nav.d.ts.map +1 -0
  497. package/types/hermes-ui-angular-layout.d.ts +20 -0
  498. package/types/hermes-ui-angular-layout.d.ts.map +1 -0
  499. package/types/hermes-ui-angular-modal.d.ts +161 -0
  500. package/types/hermes-ui-angular-modal.d.ts.map +1 -0
  501. package/types/hermes-ui-angular-popover-common.d.ts +317 -0
  502. package/types/hermes-ui-angular-popover-common.d.ts.map +1 -0
  503. package/types/hermes-ui-angular-popover-dropdown.d.ts +124 -0
  504. package/types/hermes-ui-angular-popover-dropdown.d.ts.map +1 -0
  505. package/types/hermes-ui-angular-popover-signpost.d.ts +158 -0
  506. package/types/hermes-ui-angular-popover-signpost.d.ts.map +1 -0
  507. package/types/hermes-ui-angular-popover-tooltip.d.ts +84 -0
  508. package/types/hermes-ui-angular-popover-tooltip.d.ts.map +1 -0
  509. package/types/hermes-ui-angular-popover.d.ts +17 -0
  510. package/types/hermes-ui-angular-popover.d.ts.map +1 -0
  511. package/types/hermes-ui-angular-progress-progress-bars.d.ts +58 -0
  512. package/types/hermes-ui-angular-progress-progress-bars.d.ts.map +1 -0
  513. package/types/hermes-ui-angular-progress-spinner.d.ts +45 -0
  514. package/types/hermes-ui-angular-progress-spinner.d.ts.map +1 -0
  515. package/types/hermes-ui-angular-stepper.d.ts +180 -0
  516. package/types/hermes-ui-angular-stepper.d.ts.map +1 -0
  517. package/types/hermes-ui-angular-timeline.d.ts +87 -0
  518. package/types/hermes-ui-angular-timeline.d.ts.map +1 -0
  519. package/types/hermes-ui-angular-toast.d.ts +131 -0
  520. package/types/hermes-ui-angular-toast.d.ts.map +1 -0
  521. package/types/hermes-ui-angular-utils-conditional.d.ts +133 -0
  522. package/types/hermes-ui-angular-utils-conditional.d.ts.map +1 -0
  523. package/types/hermes-ui-angular-utils-loading.d.ts +39 -0
  524. package/types/hermes-ui-angular-utils-loading.d.ts.map +1 -0
  525. package/types/hermes-ui-angular-utils.d.ts +914 -0
  526. package/types/hermes-ui-angular-utils.d.ts.map +1 -0
  527. package/types/hermes-ui-angular-wizard.d.ts +1509 -0
  528. package/types/hermes-ui-angular-wizard.d.ts.map +1 -0
  529. package/types/hermes-ui-angular.d.ts +44 -0
  530. package/types/hermes-ui-angular.d.ts.map +1 -0
  531. package/typography/_code.scss +36 -0
  532. package/typography/_font-metropolis.scss +45 -0
  533. package/typography/_lists.scss +81 -0
  534. package/typography/_typography.scss +322 -0
  535. package/utils/animations/_animations.clarity.scss +44 -0
  536. package/utils/animations/_mixins.animations.scss +33 -0
  537. package/wizard/_properties.wizard.scss +54 -0
  538. package/wizard/_variables.wizard.scss +59 -0
  539. package/wizard/_wizard.clarity.scss +692 -0
@@ -0,0 +1,539 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Input, Output, Host, Self, Directive, HostBinding, Component, ViewChildren, Optional, NgModule } from '@angular/core';
3
+ import * as i4 from '@hermes-ui/angular/layout/tabs';
4
+ import { HermesTabLink, HermesTabsModule } from '@hermes-ui/angular/layout/tabs';
5
+ import * as i3 from '@hermes-ui/angular/addons/a11y';
6
+ import { ZoomLevel, A11yModule } from '@hermes-ui/angular/addons/a11y';
7
+ import * as i1 from '@hermes-ui/angular/addons/workflow/strings';
8
+ import * as i2 from '@hermes-ui/angular/icon';
9
+ import { HermesIcon } from '@hermes-ui/angular/icon';
10
+ import * as i1$1 from '@hermes-ui/angular/addons/var';
11
+ import { TabLayout, StepContainer, RelevanceService, WorkflowModelManager, AppfxWorkflowCoreModule } from '@hermes-ui/angular/addons/var';
12
+ import { ReplaySubject, Subject, Subscription, combineLatest, of } from 'rxjs';
13
+ import { debounceTime, take, filter, switchMap, tap, map, shareReplay } from 'rxjs/operators';
14
+ import * as i6 from '@angular/common';
15
+ import { CommonModule } from '@angular/common';
16
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
17
+
18
+ /*
19
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
20
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
21
+ * This software is released under MIT license.
22
+ * The full license information can be found in LICENSE in the root directory of this project.
23
+ */
24
+ /**
25
+ * Detects when an active tab changes and emits a notification.
26
+ * Optionally applies a CSS class to the active tab link element.
27
+ *
28
+ * Note: this directive peers into Clarity tab internals and requires maintenance
29
+ * if Clarity changes its internal structure.
30
+ */
31
+ class IfTabActiveDirective {
32
+ constructor(tab, renderer) {
33
+ this.tab = tab;
34
+ this.renderer = renderer;
35
+ this.appfxIfTabActiveChange = new EventEmitter();
36
+ }
37
+ /** Programmatically activate the tab when set to true. */
38
+ set activateTab(value) {
39
+ if (value && this.tab.ifActiveService.current !== this.tab.id) {
40
+ this.tab.ifActiveService.current = this.tab.id;
41
+ }
42
+ }
43
+ ngOnInit() {
44
+ this.subscription = this.tab.ifActiveService.currentChange.subscribe(() => {
45
+ if (this.activeClass) {
46
+ try {
47
+ if (this.tab.active) {
48
+ this.renderer.addClass(this.getTabLinkElement().nativeElement, this.activeClass);
49
+ }
50
+ else {
51
+ this.renderer.removeClass(this.getTabLinkElement().nativeElement, this.activeClass);
52
+ }
53
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
54
+ }
55
+ catch (e) {
56
+ console.error('Clarity library unable to provide `elementRef` on tabLink');
57
+ }
58
+ }
59
+ this.appfxIfTabActiveChange.emit(this.tab.active);
60
+ });
61
+ }
62
+ ngOnDestroy() {
63
+ if (this.subscription) {
64
+ this.subscription.unsubscribe();
65
+ }
66
+ }
67
+ /** Accesses the underlying tab link element via Clarity internals. */
68
+ getTabLinkElement() {
69
+ return this.tab.tabLink['el'];
70
+ }
71
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: IfTabActiveDirective, deps: [{ token: i4.HermesTab, host: true, self: true }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
72
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: IfTabActiveDirective, isStandalone: false, selector: "[appfxIfTabActive]", inputs: { activeClass: "activeClass", activateTab: "activateTab" }, outputs: { appfxIfTabActiveChange: "appfxIfTabActiveChange" }, ngImport: i0 }); }
73
+ }
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: IfTabActiveDirective, decorators: [{
75
+ type: Directive,
76
+ args: [{
77
+ selector: '[appfxIfTabActive]',
78
+ standalone: false,
79
+ }]
80
+ }], ctorParameters: () => [{ type: i4.HermesTab, decorators: [{
81
+ type: Host
82
+ }, {
83
+ type: Self
84
+ }] }, { type: i0.Renderer2 }], propDecorators: { appfxIfTabActiveChange: [{
85
+ type: Output
86
+ }], activeClass: [{
87
+ type: Input
88
+ }], activateTab: [{
89
+ type: Input
90
+ }] } });
91
+
92
+ /*
93
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
94
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
95
+ * This software is released under MIT license.
96
+ * The full license information can be found in LICENSE in the root directory of this project.
97
+ */
98
+ class TabLinksComponent {
99
+ constructor(workflowStrings, cdr) {
100
+ this.workflowStrings = workflowStrings;
101
+ this.cdr = cdr;
102
+ this.opened = false;
103
+ this.openedChange = new EventEmitter();
104
+ this.currentZoomLevel = ZoomLevel.none;
105
+ }
106
+ changeOpened(opened) {
107
+ this.opened = opened;
108
+ this.openedChange.emit(this.opened);
109
+ this.cdr.detectChanges(); // without this HostBinding not working
110
+ }
111
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: TabLinksComponent, deps: [{ token: i1.WorkflowStrings }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
112
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: TabLinksComponent, isStandalone: false, selector: "appfx-tab-links", inputs: { opened: "opened", title: "title" }, outputs: { openedChange: "openedChange" }, host: { properties: { "class.opened": "this.opened" } }, ngImport: i0, template: "<!--\r\n ~ Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n ~ The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n ~ This software is released under MIT license.\r\n ~ The full license information can be found in LICENSE in the root directory of this project.\r\n -->\r\n<button class=\"btn-close-tabs\" [attr.aria-label]=\"workflowStrings.closeStepNavAriaLabel\" (click)=\"changeOpened(false)\">\r\n <hermes-icon direction=\"left\" shape=\"angle\" class=\"tabs-close\"></hermes-icon>\r\n</button>\r\n\r\n<div class=\"nav-step-title-wrapper\">\r\n <button class=\"btn-show-tabs\" [attr.aria-label]=\"workflowStrings.openStepNavAriaLabel\" (click)=\"changeOpened(true)\">\r\n <hermes-icon shape=\"bars\"></hermes-icon>\r\n </button>\r\n <h3 class=\"nav-step-title\" [textContent]=\"title\"></h3>\r\n</div>\r\n", styles: [":host .btn-show-tabs{cursor:pointer;display:inline-flex;border:0;background:transparent;padding-left:0;padding-top:0}:host .btn-show-tabs hermes-icon{height:1.2rem;width:1rem;fill:var(--hermes-alias-typography-color-400)}:host .btn-close-tabs{cursor:pointer;display:none;border:0;background:transparent;padding-left:0;margin-top:-.1rem}:host .btn-close-tabs hermes-icon{height:1.2rem;width:1rem;fill:var(--hermes-alias-typography-color-400)}:host .nav-step-title-wrapper{display:inline-flex}:host .nav-step-title-wrapper .nav-step-title{margin:0;padding:0 .15rem}:host.opened .btn-show-tabs{display:none}:host.opened .btn-close-tabs{display:inline-block}:host.opened .nav-step-title-wrapper{display:none}\n"], dependencies: [{ kind: "component", type: i2.HermesIcon, selector: "hermes-icon, hermes-icon", inputs: ["shape", "size", "direction", "flip", "solid", "status", "inverse", "badge"] }] }); }
113
+ }
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: TabLinksComponent, decorators: [{
115
+ type: Component,
116
+ args: [{ selector: 'appfx-tab-links', standalone: false, template: "<!--\r\n ~ Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n ~ The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n ~ This software is released under MIT license.\r\n ~ The full license information can be found in LICENSE in the root directory of this project.\r\n -->\r\n<button class=\"btn-close-tabs\" [attr.aria-label]=\"workflowStrings.closeStepNavAriaLabel\" (click)=\"changeOpened(false)\">\r\n <hermes-icon direction=\"left\" shape=\"angle\" class=\"tabs-close\"></hermes-icon>\r\n</button>\r\n\r\n<div class=\"nav-step-title-wrapper\">\r\n <button class=\"btn-show-tabs\" [attr.aria-label]=\"workflowStrings.openStepNavAriaLabel\" (click)=\"changeOpened(true)\">\r\n <hermes-icon shape=\"bars\"></hermes-icon>\r\n </button>\r\n <h3 class=\"nav-step-title\" [textContent]=\"title\"></h3>\r\n</div>\r\n", styles: [":host .btn-show-tabs{cursor:pointer;display:inline-flex;border:0;background:transparent;padding-left:0;padding-top:0}:host .btn-show-tabs hermes-icon{height:1.2rem;width:1rem;fill:var(--hermes-alias-typography-color-400)}:host .btn-close-tabs{cursor:pointer;display:none;border:0;background:transparent;padding-left:0;margin-top:-.1rem}:host .btn-close-tabs hermes-icon{height:1.2rem;width:1rem;fill:var(--hermes-alias-typography-color-400)}:host .nav-step-title-wrapper{display:inline-flex}:host .nav-step-title-wrapper .nav-step-title{margin:0;padding:0 .15rem}:host.opened .btn-show-tabs{display:none}:host.opened .btn-close-tabs{display:inline-block}:host.opened .nav-step-title-wrapper{display:none}\n"] }]
117
+ }], ctorParameters: () => [{ type: i1.WorkflowStrings }, { type: i0.ChangeDetectorRef }], propDecorators: { opened: [{
118
+ type: Input
119
+ }, {
120
+ type: HostBinding,
121
+ args: ['class.opened']
122
+ }], title: [{
123
+ type: Input
124
+ }], openedChange: [{
125
+ type: Output
126
+ }] } });
127
+
128
+ /*
129
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
130
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
131
+ * This software is released under MIT license.
132
+ * The full license information can be found in LICENSE in the root directory of this project.
133
+ */
134
+ const resources = {
135
+ clarity: {
136
+ tabLinkNavigationClasses: ['nav-link', 'btn-link'],
137
+ },
138
+ };
139
+ /**
140
+ * Toggles CSS classes on a HermesTabLink to switch between default tab style and
141
+ * a button-like appearance, enabling more versatile use of hermes-tabs.
142
+ */
143
+ class RenderAsButtonDirective {
144
+ constructor(hermesTabLink, renderer, el) {
145
+ this.hermesTabLink = hermesTabLink;
146
+ this.renderer = renderer;
147
+ this.el = el;
148
+ this.renderAsButton = true;
149
+ }
150
+ ngOnChanges() {
151
+ this.patchClarityStyles();
152
+ }
153
+ ngAfterViewInit() {
154
+ this.patchClarityStyles();
155
+ }
156
+ patchClarityStyles() {
157
+ const tabLinkElem = this.el.nativeElement;
158
+ if (!tabLinkElem) {
159
+ console.error('RenderAsButtonDirective: Unable to find the element');
160
+ return;
161
+ }
162
+ if (this.hermesTabLink.inOverflow) {
163
+ return;
164
+ }
165
+ if (this.renderAsButton) {
166
+ resources.clarity.tabLinkNavigationClasses.forEach(css => this.renderer.removeClass(tabLinkElem, css));
167
+ }
168
+ else {
169
+ resources.clarity.tabLinkNavigationClasses.forEach(css => this.renderer.addClass(tabLinkElem, css));
170
+ }
171
+ }
172
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: RenderAsButtonDirective, deps: [{ token: i4.HermesTabLink, host: true }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
173
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: RenderAsButtonDirective, isStandalone: false, selector: "[renderAsButton]", inputs: { renderAsButton: "renderAsButton" }, usesOnChanges: true, ngImport: i0 }); }
174
+ }
175
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: RenderAsButtonDirective, decorators: [{
176
+ type: Directive,
177
+ args: [{
178
+ selector: '[renderAsButton]',
179
+ standalone: false,
180
+ }]
181
+ }], ctorParameters: () => [{ type: i4.HermesTabLink, decorators: [{
182
+ type: Host
183
+ }] }, { type: i0.Renderer2 }, { type: i0.ElementRef }], propDecorators: { renderAsButton: [{
184
+ type: Input
185
+ }] } });
186
+
187
+ /*
188
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
189
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
190
+ * This software is released under MIT license.
191
+ * The full license information can be found in LICENSE in the root directory of this project.
192
+ */
193
+ /**
194
+ * Component used to render the composition of step components as tabs
195
+ * (using Clarity tabs component). Workflow of the steps is handled by the
196
+ * {@link WorkflowModelManager} - the same responsible for the {@link Wizard} workflow.
197
+ * This guarantees the same API and UX for the inline and dialog wizards.
198
+ *
199
+ * @example
200
+ * <appfx-tabs
201
+ * [loading]="loading"
202
+ * [tabs]="tabs"
203
+ * [disableTabsContent]="false"
204
+ * [tabLayout]="TabLayout.horizontal"
205
+ * [model]="tabsModel">
206
+ * </appfx-tabs>
207
+ */
208
+ class TabsComponent {
209
+ constructor(modelMgr, relevanceService, cdr, workflowStrings, configService, zoomLevelService) {
210
+ this.modelMgr = modelMgr;
211
+ this.relevanceService = relevanceService;
212
+ this.cdr = cdr;
213
+ this.workflowStrings = workflowStrings;
214
+ this.configService = configService;
215
+ this.zoomLevelService = zoomLevelService;
216
+ /** Display loading indicator. */
217
+ this.loading = false;
218
+ /** The tabs layout. Defaults to horizontal. */
219
+ this.tabLayout = TabLayout.horizontal;
220
+ /** Set to false to suppress the loading indicator; check {@link isLoading} instead. */
221
+ this.showLoadingIndicator = true;
222
+ /** Set to false to disable auto-collapsible tab links. */
223
+ this.autoCollapseTabLinks = true;
224
+ /** Set to false to hide the tab links (useful when there is only one step). */
225
+ this.showTabLinks = true;
226
+ /** Emits when the workflow model changes. */
227
+ this.onModelChange = new EventEmitter();
228
+ this.tabLinksOpenedChange = new EventEmitter();
229
+ /** Emits with the activated step when the active tab changes. */
230
+ this.activeTabChange = new EventEmitter();
231
+ this.errorIconVisibleList = [];
232
+ this.TabLayout = TabLayout;
233
+ this.currentZoomLevel = ZoomLevel.none;
234
+ this.ZoomLevel = ZoomLevel;
235
+ this.tabLinksOpened = false;
236
+ this.activeTabStep = {};
237
+ this.awaitingActivePageOnLoad$ = new ReplaySubject(1);
238
+ this.componentAfterViewInit$ = new Subject();
239
+ this.subscriptions = new Subscription();
240
+ this.errorActivatingStep = false;
241
+ this.stepsValidationMap = new Map();
242
+ this.subscriptions.add(modelMgr.loading$.pipe(debounceTime(10)).subscribe(loading => (this.loading = loading)));
243
+ this.subscriptions.add(modelMgr.onModelChange$.subscribe((changes) => {
244
+ this.onModelChange.emit(changes);
245
+ }));
246
+ }
247
+ get tabs() {
248
+ return this.steps;
249
+ }
250
+ set tabs(steps) {
251
+ this.relevanceService.steps = steps;
252
+ this.relevanceService
253
+ .checkComplete$()
254
+ .pipe(take(1))
255
+ .subscribe((checkedSteps) => {
256
+ this.steps = checkedSteps;
257
+ this.activateFirstTab();
258
+ this.modelMgr.steps = checkedSteps;
259
+ this.onStepsOrModelChange();
260
+ });
261
+ }
262
+ /**
263
+ * Supply any structure that has the needed properties to inject to / eject from step models.
264
+ * If not specified the steps will stay disconnected from each other.
265
+ */
266
+ get model() {
267
+ return this.tabsModel;
268
+ }
269
+ set model(tabsModel) {
270
+ this.tabsModel = tabsModel;
271
+ this.modelMgr.model = tabsModel;
272
+ this.onStepsOrModelChange();
273
+ }
274
+ get tabsInternal() {
275
+ return this.steps;
276
+ }
277
+ get isLoading() {
278
+ return (this.loading ||
279
+ this.relevanceService.loading ||
280
+ (!!this.pagesContainers &&
281
+ this.pagesContainers.some((value) => !!value.step.modelInstance && !!value.step.modelInstance.loading)));
282
+ }
283
+ get showTabNav() {
284
+ return this.showTabLinks && (this.showAppfxTabLinks ? this.tabLinksOpened : true);
285
+ }
286
+ get showTabContent() {
287
+ return !this.tabLinksOpened;
288
+ }
289
+ get showAppfxTabLinks() {
290
+ return (this.showTabLinks &&
291
+ this.autoCollapseTabLinks &&
292
+ this.isVerticalLayout &&
293
+ this.currentZoomLevel !== ZoomLevel.none);
294
+ }
295
+ get isReady() {
296
+ let hasIncompletePage = false;
297
+ if (this.pagesContainers) {
298
+ hasIncompletePage = this.pagesContainers.some(p => !p.readyToComplete);
299
+ }
300
+ return !(hasIncompletePage || this.isLoading || this.errorActivatingStep);
301
+ }
302
+ ngOnInit() {
303
+ if (this.zoomLevelService) {
304
+ this.subscriptions.add(this.zoomLevelService.onChange.subscribe((level) => {
305
+ this.currentZoomLevel = level;
306
+ this.cdr.detectChanges();
307
+ }));
308
+ }
309
+ }
310
+ ngOnChanges(changes) {
311
+ if (changes.tabLayout) {
312
+ this.isVerticalLayout = this.tabLayout === TabLayout.vertical;
313
+ this.isSecondaryLayout = this.tabLayout === TabLayout.secondary;
314
+ this.hermesTabsLayout = this.isVerticalLayout ? TabLayout.vertical : TabLayout.horizontal;
315
+ }
316
+ }
317
+ ngAfterViewInit() {
318
+ if (this.pagesContainers.length) {
319
+ this.componentAfterViewInit$.next();
320
+ }
321
+ else {
322
+ this.pagesContainers.changes.pipe(take(1)).subscribe(() => {
323
+ this.componentAfterViewInit$.next();
324
+ });
325
+ }
326
+ }
327
+ ngAfterContentInit() {
328
+ this.subscriptions.add(combineLatest([this.componentAfterViewInit$, this.awaitingActivePageOnLoad$])
329
+ .pipe(filter(() => !!this.pagesContainers), switchMap(([, pendingStep]) => this.modelMgr.injectPropertiesToPendingStep(pendingStep)))
330
+ .subscribe(result => {
331
+ this.errorActivatingStep = !!result.error;
332
+ this.activateStep(result);
333
+ }));
334
+ }
335
+ ngOnDestroy() {
336
+ this.subscriptions.unsubscribe();
337
+ this.stepsValidationMap.clear();
338
+ this.modelMgr.destroy();
339
+ this.relevanceService.destroy();
340
+ this.unsubscribeRetry();
341
+ }
342
+ /** Checks if the tab is currently active. */
343
+ isTabActive(step) {
344
+ return step === this.activeTabStep;
345
+ }
346
+ /** Triggered when the tab page is changed. */
347
+ onStepActiveChange(step, isStepActive) {
348
+ this.tabLinksOpened = false;
349
+ this.tabLinksOpenedChange.emit(this.tabLinksOpened);
350
+ if (isStepActive) {
351
+ this.activeTabChange.emit(step);
352
+ const previousStep = this.activeTabStep;
353
+ this.validateStep(previousStep)
354
+ .pipe(tap(() => this.modelMgr.ejectPropertiesFromCurrentStep(previousStep)), take(1))
355
+ .subscribe(() => {
356
+ this.activeTabStep = step;
357
+ this.awaitingActivePageOnLoad$.next(this.activeTabStep);
358
+ });
359
+ }
360
+ }
361
+ /** Validates only the active tab. */
362
+ validateActiveTab$() {
363
+ return this.validateStep(this.activeTabStep).pipe(tap(() => this.modelMgr.ejectPropertiesFromCurrentStep(this.activeTabStep)), switchMap((validationResult) => {
364
+ return this.disableTabsContent ? of(true) : of(validationResult);
365
+ }));
366
+ }
367
+ /** Validates all tabs. Navigates to the first invalid tab if any fail. */
368
+ validate$() {
369
+ return this.validateActiveTab$().pipe(switchMap(() => {
370
+ const stepsValidate$ = this.disableTabsContent
371
+ ? [of(true)]
372
+ : Array.from(this.stepsValidationMap.values());
373
+ this.loading = this.showLoadingIndicator;
374
+ return combineLatest(stepsValidate$).pipe(map((values) => {
375
+ if (this.disableTabsContent) {
376
+ return true;
377
+ }
378
+ return values.every(value => value);
379
+ }), tap(isValid => {
380
+ this.loading = false;
381
+ if (!isValid) {
382
+ this.navigateToTabWithErrors();
383
+ }
384
+ }));
385
+ }));
386
+ }
387
+ activateFirstTab() {
388
+ if (this.steps?.length) {
389
+ const firstNotSkippedStepIndex = this.steps.findIndex(item => !item.isSkipped);
390
+ if (firstNotSkippedStepIndex !== -1) {
391
+ this.steps[firstNotSkippedStepIndex].instantiateLazy = false;
392
+ this.activeTabStep = this.steps[firstNotSkippedStepIndex];
393
+ this.activeTabChange.emit(this.activeTabStep);
394
+ }
395
+ }
396
+ }
397
+ navigateToTabWithErrors() {
398
+ if (!this.pagesContainers) {
399
+ return;
400
+ }
401
+ const activeStepIndex = this.tabs.indexOf(this.activeTabStep);
402
+ const activeStepHasError = activeStepIndex !== -1 && this.errorIconVisibleList[activeStepIndex];
403
+ if (activeStepHasError) {
404
+ return;
405
+ }
406
+ const firstStepWithErrorsIndex = this.errorIconVisibleList.findIndex(value => value);
407
+ if (firstStepWithErrorsIndex === -1) {
408
+ return;
409
+ }
410
+ const firstStepWithErrors = this.tabs[firstStepWithErrorsIndex];
411
+ const firstPageWithErrorsIndex = this.pagesContainers
412
+ .toArray()
413
+ .findIndex((item) => item.step === firstStepWithErrors);
414
+ if (firstPageWithErrorsIndex !== -1) {
415
+ this.tabLinks.toArray()[firstPageWithErrorsIndex].activate();
416
+ this.activeTabChange.emit(firstStepWithErrors);
417
+ }
418
+ }
419
+ activateStep(result) {
420
+ this.unsubscribeRetry();
421
+ const pendingPage = this.pagesContainers.find((item) => item.step === result.pendingStep);
422
+ if (pendingPage) {
423
+ if (result.error) {
424
+ this.retrySubscription = pendingPage.onRetry
425
+ .pipe(take(1))
426
+ .subscribe((step) => this.retryStepTransition(step));
427
+ }
428
+ pendingPage.onActivate(result.error, result.stepModelChanges, result.recreateComponent);
429
+ this.cdr.detectChanges();
430
+ }
431
+ }
432
+ validateStep(step) {
433
+ if (this.disableTabsContent || !step) {
434
+ return of(true);
435
+ }
436
+ const pageToValidate = this.pagesContainers.find((item) => item.step === step);
437
+ if (pageToValidate) {
438
+ const pageIndex = this.tabs.indexOf(step);
439
+ const validate$ = pageToValidate.onCommit().pipe(shareReplay(1));
440
+ this.stepsValidationMap.set(step, validate$);
441
+ this.loading = true;
442
+ return validate$.pipe(tap(success => {
443
+ this.errorIconVisibleList[pageIndex] = !success;
444
+ this.loading = false;
445
+ }));
446
+ }
447
+ return of(true);
448
+ }
449
+ onStepsOrModelChange() {
450
+ if (!this.activeTabStep || !this.model) {
451
+ return;
452
+ }
453
+ this.awaitingActivePageOnLoad$.next(this.activeTabStep);
454
+ }
455
+ unsubscribeRetry() {
456
+ if (this.retrySubscription && !this.retrySubscription.closed) {
457
+ this.retrySubscription.unsubscribe();
458
+ }
459
+ }
460
+ retryStepTransition(step) {
461
+ this.awaitingActivePageOnLoad$.next(step);
462
+ }
463
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: TabsComponent, deps: [{ token: i1$1.WorkflowModelManager }, { token: i1$1.RelevanceService }, { token: i0.ChangeDetectorRef }, { token: i1.WorkflowStrings }, { token: i1$1.WorkflowConfigurationService }, { token: i3.ZoomLevelService, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
464
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: TabsComponent, isStandalone: false, selector: "appfx-tabs", inputs: { disableTabsContent: "disableTabsContent", loading: "loading", tabLayout: "tabLayout", showLoadingIndicator: "showLoadingIndicator", autoCollapseTabLinks: "autoCollapseTabLinks", showTabLinks: "showTabLinks", tabs: "tabs", model: "model" }, outputs: { onModelChange: "onModelChange", tabLinksOpenedChange: "tabLinksOpenedChange", activeTabChange: "activeTabChange" }, host: { properties: { "class.loading": "this.loading" } }, providers: [RelevanceService, WorkflowModelManager], viewQueries: [{ propertyName: "pagesContainers", predicate: StepContainer, descendants: true }, { propertyName: "tabLinks", predicate: HermesTabLink, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<!--\r\n ~ Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n ~ The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n ~ This software is released under MIT license.\r\n ~ The full license information can be found in LICENSE in the root directory of this project.\r\n -->\r\n\r\n<div\r\n class=\"appfx-tabs\"\r\n [class.div-disabled]=\"isLoading\"\r\n [ngClass]=\"tabLayout\"\r\n [class.show-tab-nav]=\"showTabNav\"\r\n [class.show-tab-content]=\"!tabLinksOpened\"\r\n>\r\n <appfx-tab-links\r\n #appfxTabLinks\r\n *ngIf=\"showAppfxTabLinks\"\r\n [(opened)]=\"tabLinksOpened\"\r\n (openedChange)=\"tabLinksOpenedChange.emit($event)\"\r\n [title]=\"activeTabStep.title\"\r\n >\r\n </appfx-tab-links>\r\n <appfx-spinner\r\n *ngIf=\"showLoadingIndicator && isLoading\"\r\n [message]=\"workflowStrings.loading\"\r\n [isModal]=\"false\"\r\n ></appfx-spinner>\r\n <hermes-tabs\r\n *ngIf=\"tabs\"\r\n [hermesLayout]=\"hermesTabsLayout\"\r\n appfxOverflowTabs\r\n [ngClass]=\"{\r\n 'appfx-secondary-tabs': isSecondaryLayout,\r\n }\"\r\n >\r\n <ng-container *ngFor=\"let step of tabsInternal; let stepIndex = index\">\r\n <hermes-tab\r\n *ngIf=\"!step.isSkipped\"\r\n appfxIfTabActive\r\n [activeClass]=\"'activeTab'\"\r\n [activateTab]=\"isTabActive(step)\"\r\n (appfxIfTabActiveChange)=\"onStepActiveChange(step, $event)\"\r\n >\r\n <button\r\n hermesTabLink\r\n [renderAsButton]=\"isSecondaryLayout\"\r\n [ngClass]=\"{\r\n 'btn-primary': isSecondaryLayout && isTabActive(step),\r\n 'btn-sm appfx-tab-button': isSecondaryLayout,\r\n }\"\r\n >\r\n {{ step.title }}\r\n <hermes-icon\r\n *ngIf=\"errorIconVisibleList[stepIndex]\"\r\n class=\"alert-icon\"\r\n shape=\"exclamation-circle\"\r\n status=\"danger\"\r\n size=\"md\"\r\n >\r\n </hermes-icon>\r\n </button>\r\n <hermes-tab-content>\r\n <appfx-step-container\r\n [step]=\"step\"\r\n [class.div-disabled]=\"disableTabsContent\"\r\n class=\"content-container hermes-flex-column\"\r\n >\r\n </appfx-step-container>\r\n </hermes-tab-content>\r\n </hermes-tab>\r\n </ng-container>\r\n </hermes-tabs>\r\n</div>\r\n", styles: [".div-disabled{left:0;top:0;z-index:10;pointer-events:none;opacity:.5}:host{min-height:inherit;display:block}:host.loading{position:relative}:host ::ng-deep .tab-content{width:100%}:host ::ng-deep hermes-tabs.appfx-secondary-tabs>ul.nav{gap:0;box-shadow:none}:host ::ng-deep hermes-tabs.appfx-secondary-tabs>ul.nav li[role=presentation]:not(:first-of-type) button{border-top-left-radius:0;border-bottom-left-radius:0}:host ::ng-deep hermes-tabs.appfx-secondary-tabs>ul.nav li[role=presentation]:not(:last-of-type) button{border-top-right-radius:0;border-bottom-right-radius:0}:host ::ng-deep hermes-tabs.appfx-secondary-tabs>ul.nav [role=tab]{margin-left:0;margin-right:0}:host .appfx-tabs.show-tab-nav ::ng-deep .nav{display:flex}:host .appfx-tabs:not(.show-tab-nav) ::ng-deep .nav{display:none}:host .appfx-tabs appfx-step-container.content-container{width:100%}:host .appfx-tabs hermes-tabs.tabs-vertical ::ng-deep>ul.nav button{white-space:normal;height:auto;line-height:1.2rem;min-height:1.8rem;border:none!important}\n", ":host .appfx-tabs.show-tab-content ::ng-deep .tab-content{display:flex}:host .appfx-tabs:not(.show-tab-content) ::ng-deep .tab-content{display:none}\n"], dependencies: [{ kind: "component", type: i1$1.StepContainerComponent, selector: "appfx-step-container", inputs: ["step", "description"], outputs: ["onRetry"] }, { kind: "component", type: i1$1.SpinnerComponent, selector: "appfx-spinner", inputs: ["message", "politeness", "isModal", "progressDetails", "showActionButton", "actionButtonLabel"], outputs: ["actionClick"] }, { kind: "directive", type: i3.OverflowHermesTabsDirective, selector: "hermes-tabs [appfxOverflowTabs]" }, { kind: "component", type: i4.HermesTabContent, selector: "hermes-tab-content", inputs: ["id"] }, { kind: "component", type: i4.HermesTab, selector: "hermes-tab" }, { kind: "component", type: i4.HermesTabs, selector: "hermes-tabs", inputs: ["hermesLayout"] }, { kind: "directive", type: i4.HermesTabLink, selector: "[hermesTabLink]", inputs: ["id", "hermesTabLinkInOverflow"] }, { kind: "directive", type: i4.TabsWillyWonka, selector: "hermes-tabs" }, { kind: "directive", type: i4.ActiveOompaLoompa, selector: "[hermesTabLink], hermes-tab-content" }, { kind: "component", type: i2.HermesIcon, selector: "hermes-icon, hermes-icon", inputs: ["shape", "size", "direction", "flip", "solid", "status", "inverse", "badge"] }, { kind: "directive", type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TabLinksComponent, selector: "appfx-tab-links", inputs: ["opened", "title"], outputs: ["openedChange"] }, { kind: "directive", type: IfTabActiveDirective, selector: "[appfxIfTabActive]", inputs: ["activeClass", "activateTab"], outputs: ["appfxIfTabActiveChange"] }, { kind: "directive", type: RenderAsButtonDirective, selector: "[renderAsButton]", inputs: ["renderAsButton"] }] }); }
465
+ }
466
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: TabsComponent, decorators: [{
467
+ type: Component,
468
+ args: [{ selector: 'appfx-tabs', standalone: false, providers: [RelevanceService, WorkflowModelManager], template: "<!--\r\n ~ Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n ~ The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n ~ This software is released under MIT license.\r\n ~ The full license information can be found in LICENSE in the root directory of this project.\r\n -->\r\n\r\n<div\r\n class=\"appfx-tabs\"\r\n [class.div-disabled]=\"isLoading\"\r\n [ngClass]=\"tabLayout\"\r\n [class.show-tab-nav]=\"showTabNav\"\r\n [class.show-tab-content]=\"!tabLinksOpened\"\r\n>\r\n <appfx-tab-links\r\n #appfxTabLinks\r\n *ngIf=\"showAppfxTabLinks\"\r\n [(opened)]=\"tabLinksOpened\"\r\n (openedChange)=\"tabLinksOpenedChange.emit($event)\"\r\n [title]=\"activeTabStep.title\"\r\n >\r\n </appfx-tab-links>\r\n <appfx-spinner\r\n *ngIf=\"showLoadingIndicator && isLoading\"\r\n [message]=\"workflowStrings.loading\"\r\n [isModal]=\"false\"\r\n ></appfx-spinner>\r\n <hermes-tabs\r\n *ngIf=\"tabs\"\r\n [hermesLayout]=\"hermesTabsLayout\"\r\n appfxOverflowTabs\r\n [ngClass]=\"{\r\n 'appfx-secondary-tabs': isSecondaryLayout,\r\n }\"\r\n >\r\n <ng-container *ngFor=\"let step of tabsInternal; let stepIndex = index\">\r\n <hermes-tab\r\n *ngIf=\"!step.isSkipped\"\r\n appfxIfTabActive\r\n [activeClass]=\"'activeTab'\"\r\n [activateTab]=\"isTabActive(step)\"\r\n (appfxIfTabActiveChange)=\"onStepActiveChange(step, $event)\"\r\n >\r\n <button\r\n hermesTabLink\r\n [renderAsButton]=\"isSecondaryLayout\"\r\n [ngClass]=\"{\r\n 'btn-primary': isSecondaryLayout && isTabActive(step),\r\n 'btn-sm appfx-tab-button': isSecondaryLayout,\r\n }\"\r\n >\r\n {{ step.title }}\r\n <hermes-icon\r\n *ngIf=\"errorIconVisibleList[stepIndex]\"\r\n class=\"alert-icon\"\r\n shape=\"exclamation-circle\"\r\n status=\"danger\"\r\n size=\"md\"\r\n >\r\n </hermes-icon>\r\n </button>\r\n <hermes-tab-content>\r\n <appfx-step-container\r\n [step]=\"step\"\r\n [class.div-disabled]=\"disableTabsContent\"\r\n class=\"content-container hermes-flex-column\"\r\n >\r\n </appfx-step-container>\r\n </hermes-tab-content>\r\n </hermes-tab>\r\n </ng-container>\r\n </hermes-tabs>\r\n</div>\r\n", styles: [".div-disabled{left:0;top:0;z-index:10;pointer-events:none;opacity:.5}:host{min-height:inherit;display:block}:host.loading{position:relative}:host ::ng-deep .tab-content{width:100%}:host ::ng-deep hermes-tabs.appfx-secondary-tabs>ul.nav{gap:0;box-shadow:none}:host ::ng-deep hermes-tabs.appfx-secondary-tabs>ul.nav li[role=presentation]:not(:first-of-type) button{border-top-left-radius:0;border-bottom-left-radius:0}:host ::ng-deep hermes-tabs.appfx-secondary-tabs>ul.nav li[role=presentation]:not(:last-of-type) button{border-top-right-radius:0;border-bottom-right-radius:0}:host ::ng-deep hermes-tabs.appfx-secondary-tabs>ul.nav [role=tab]{margin-left:0;margin-right:0}:host .appfx-tabs.show-tab-nav ::ng-deep .nav{display:flex}:host .appfx-tabs:not(.show-tab-nav) ::ng-deep .nav{display:none}:host .appfx-tabs appfx-step-container.content-container{width:100%}:host .appfx-tabs hermes-tabs.tabs-vertical ::ng-deep>ul.nav button{white-space:normal;height:auto;line-height:1.2rem;min-height:1.8rem;border:none!important}\n", ":host .appfx-tabs.show-tab-content ::ng-deep .tab-content{display:flex}:host .appfx-tabs:not(.show-tab-content) ::ng-deep .tab-content{display:none}\n"] }]
469
+ }], ctorParameters: () => [{ type: i1$1.WorkflowModelManager }, { type: i1$1.RelevanceService }, { type: i0.ChangeDetectorRef }, { type: i1.WorkflowStrings }, { type: i1$1.WorkflowConfigurationService }, { type: i3.ZoomLevelService, decorators: [{
470
+ type: Optional
471
+ }] }], propDecorators: { disableTabsContent: [{
472
+ type: Input
473
+ }], loading: [{
474
+ type: Input
475
+ }, {
476
+ type: HostBinding,
477
+ args: ['class.loading']
478
+ }], tabLayout: [{
479
+ type: Input
480
+ }], showLoadingIndicator: [{
481
+ type: Input
482
+ }], autoCollapseTabLinks: [{
483
+ type: Input
484
+ }], showTabLinks: [{
485
+ type: Input
486
+ }], onModelChange: [{
487
+ type: Output
488
+ }], tabLinksOpenedChange: [{
489
+ type: Output
490
+ }], activeTabChange: [{
491
+ type: Output
492
+ }], pagesContainers: [{
493
+ type: ViewChildren,
494
+ args: [StepContainer]
495
+ }], tabLinks: [{
496
+ type: ViewChildren,
497
+ args: [HermesTabLink]
498
+ }], tabs: [{
499
+ type: Input
500
+ }], model: [{
501
+ type: Input
502
+ }] } });
503
+
504
+ /*
505
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
506
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
507
+ * This software is released under MIT license.
508
+ * The full license information can be found in LICENSE in the root directory of this project.
509
+ */
510
+ const components = [TabsComponent, TabLinksComponent, IfTabActiveDirective];
511
+ const clarityDependencies = [HermesTabsModule, HermesIcon];
512
+ const appfxDependencies = [AppfxWorkflowCoreModule, A11yModule];
513
+ class AppfxTabsModule {
514
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: AppfxTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
515
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.22", ngImport: i0, type: AppfxTabsModule, declarations: [TabsComponent, TabLinksComponent, IfTabActiveDirective, RenderAsButtonDirective], imports: [AppfxWorkflowCoreModule, A11yModule, HermesTabsModule, HermesIcon, CommonModule, FormsModule, ReactiveFormsModule], exports: [TabsComponent, TabLinksComponent, IfTabActiveDirective] }); }
516
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: AppfxTabsModule, imports: [appfxDependencies, clarityDependencies, CommonModule, FormsModule, ReactiveFormsModule] }); }
517
+ }
518
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: AppfxTabsModule, decorators: [{
519
+ type: NgModule,
520
+ args: [{
521
+ imports: [...appfxDependencies, ...clarityDependencies, CommonModule, FormsModule, ReactiveFormsModule],
522
+ declarations: [...components, RenderAsButtonDirective],
523
+ exports: [...components],
524
+ }]
525
+ }] });
526
+
527
+ /*
528
+ * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
529
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
530
+ * This software is released under MIT license.
531
+ * The full license information can be found in LICENSE in the root directory of this project.
532
+ */
533
+
534
+ /**
535
+ * Generated bundle index. Do not edit.
536
+ */
537
+
538
+ export { TabsComponent as AppfxTabsComponent, AppfxTabsModule, IfTabActiveDirective as IfTabActive, IfTabActiveDirective, TabLinksComponent as TabLinks, TabLinksComponent, TabsComponent as Tabs, TabsComponent };
539
+ //# sourceMappingURL=hermes-ui-angular-addons-tabs.mjs.map