aril 1.2.25 → 1.2.26

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 (454) hide show
  1. package/boot/config/api/src/interfaces.d.ts +1 -0
  2. package/esm2022/boot/base/index.mjs +1 -1
  3. package/esm2022/boot/base/src/create-base-app-config.mjs +1 -1
  4. package/esm2022/boot/bridge/index.mjs +1 -1
  5. package/esm2022/boot/bridge/src/mfe-bridge.mjs +1 -1
  6. package/esm2022/boot/bridge/src/provide-mfe-bridge.mjs +1 -1
  7. package/esm2022/boot/config/api/index.mjs +1 -1
  8. package/esm2022/boot/config/api/src/api.service.mjs +1 -1
  9. package/esm2022/boot/config/api/src/interfaces.mjs +2 -1
  10. package/esm2022/boot/config/apps/src/apps.service.mjs +4 -4
  11. package/esm2022/boot/config/apps/src/auth.guard.mjs +4 -4
  12. package/esm2022/boot/config/apps/src/interfaces.mjs +1 -1
  13. package/esm2022/boot/config/apps/src/route-permissions.mjs +1 -1
  14. package/esm2022/boot/config/apps/src/showdowDOMWrapper.mjs +4 -4
  15. package/esm2022/boot/config/plugins/src/getNgZone.mjs +1 -1
  16. package/esm2022/boot/config/plugins/src/interfaces.mjs +1 -1
  17. package/esm2022/boot/config/plugins/src/plugins.service.mjs +1 -1
  18. package/esm2022/boot/config/translate/primeng/i18n/tr.mjs +1 -1
  19. package/esm2022/boot/host/src/app.component.mjs +4 -4
  20. package/esm2022/boot/host/src/bootstrap.mjs +1 -1
  21. package/esm2022/boot/mfe/src/app.component.mjs +15 -15
  22. package/esm2022/boot/mfe/src/bootstrap.mjs +1 -1
  23. package/esm2022/boot/pages/index.mjs +1 -1
  24. package/esm2022/boot/pages/src/forbidden.component.mjs +53 -53
  25. package/esm2022/boot/pages/src/notFound.component.mjs +49 -49
  26. package/esm2022/http/lib/enums.mjs +1 -1
  27. package/esm2022/http/src/httpBackend.mjs +4 -4
  28. package/esm2022/http/src/serviceBase.mjs +1 -1
  29. package/esm2022/http/src/serviceStateMethods.mjs +1 -1
  30. package/esm2022/i18n/src/i18n.module.mjs +5 -5
  31. package/esm2022/i18n/src/loader.mjs +4 -4
  32. package/esm2022/keycloak/src/auth.interceptor.mjs +1 -1
  33. package/esm2022/provider/src/prodiveHost.mjs +1 -1
  34. package/esm2022/provider/src/prodiveHostRouter.mjs +1 -1
  35. package/esm2022/provider/src/provideHostKeycloak.mjs +1 -1
  36. package/esm2022/superset/index.mjs +1 -1
  37. package/esm2022/theme/layout/app/breadcrumb/app.breadcrumb.component.mjs +4 -4
  38. package/esm2022/theme/layout/app/environment-banner/environment-banner.component.mjs +36 -0
  39. package/esm2022/theme/layout/app/expandableMenu/expandable-menu.component.mjs +5 -5
  40. package/esm2022/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.mjs +4 -4
  41. package/esm2022/theme/layout/app/favorite-pages/favorite-pages.service.mjs +4 -4
  42. package/esm2022/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.mjs +4 -4
  43. package/esm2022/theme/layout/app/general-search/general-search.component.mjs +4 -4
  44. package/esm2022/theme/layout/app/history/history-sidebar.component.mjs +4 -4
  45. package/esm2022/theme/layout/app/history/history.service.mjs +4 -4
  46. package/esm2022/theme/layout/app/layout/app.layout.component.mjs +7 -5
  47. package/esm2022/theme/layout/app/layout/mfe.layout.component.mjs +4 -4
  48. package/esm2022/theme/layout/app/notifications/notifications-sidebar.component.mjs +4 -4
  49. package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +66 -24
  50. package/esm2022/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.mjs +4 -4
  51. package/esm2022/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.mjs +4 -4
  52. package/esm2022/theme/layout/app/profileSidebar/profile.service.mjs +4 -4
  53. package/esm2022/theme/layout/app/site-map/site-map-sidebar.component.mjs +4 -4
  54. package/esm2022/theme/layout/app/static-sidebar/static-sidebar.component.mjs +5 -5
  55. package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +4 -4
  56. package/esm2022/theme/layout/index.mjs +1 -1
  57. package/esm2022/theme/layout/service/app.layout.service.mjs +4 -4
  58. package/esm2022/theme/layout/service/app.menu.service.mjs +4 -4
  59. package/esm2022/theme/layout/service/breadcrumb.service.mjs +4 -4
  60. package/esm2022/theme/layout/service/interfaces/enum.mjs +1 -1
  61. package/esm2022/theme/layout/service/notifications.service.mjs +4 -4
  62. package/esm2022/theme/layout/service/search.service.mjs +4 -4
  63. package/esm2022/theme/layout/service/selection-group.service.mjs +4 -4
  64. package/esm2022/ui/autoComplete/src/auto-complete.component.mjs +4 -4
  65. package/esm2022/ui/badge/src/badge.component.mjs +4 -4
  66. package/esm2022/ui/button/src/button.component.mjs +4 -4
  67. package/esm2022/ui/button/src/split-button.component.mjs +4 -4
  68. package/esm2022/ui/calendar/src/calendar.component.mjs +4 -4
  69. package/esm2022/ui/charts/src/amCharts/column/column-chart.component.mjs +4 -4
  70. package/esm2022/ui/charts/src/amCharts/line/line-chart.component.mjs +4 -4
  71. package/esm2022/ui/charts/src/amCharts/pie/pie-chart.component.mjs +4 -4
  72. package/esm2022/ui/charts/src/highCharts/area/area-chart.component.mjs +4 -4
  73. package/esm2022/ui/charts/src/highCharts/bar/bar-chart.component.mjs +4 -4
  74. package/esm2022/ui/charts/src/highCharts/column/column-chart.component.mjs +4 -4
  75. package/esm2022/ui/charts/src/highCharts/gauge/solid-gauge.component.mjs +4 -4
  76. package/esm2022/ui/charts/src/highCharts/heatmap/heatMap-chart.component.mjs +4 -4
  77. package/esm2022/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.mjs +4 -4
  78. package/esm2022/ui/charts/src/highCharts/line/line-chart-series.component.mjs +4 -4
  79. package/esm2022/ui/charts/src/highCharts/line/line-chart.component.mjs +4 -4
  80. package/esm2022/ui/charts/src/highCharts/pie/pie-chart.component.mjs +4 -4
  81. package/esm2022/ui/checkbox/src/check-box.component.mjs +4 -4
  82. package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +4 -4
  83. package/esm2022/ui/chip/src/chip.component.mjs +4 -4
  84. package/esm2022/ui/collapse-reorder-list/src/collapse-reorder-list.component.mjs +4 -4
  85. package/esm2022/ui/dxEditor/src/dx-editor.component.mjs +4 -4
  86. package/esm2022/ui/dxField/src/dx-field.component.mjs +4 -4
  87. package/esm2022/ui/editor/src/aril-editor.component.mjs +4 -4
  88. package/esm2022/ui/field/src/field.component.mjs +4 -4
  89. package/esm2022/ui/fileUpload/src/file-upload.component.mjs +4 -4
  90. package/esm2022/ui/form/index.mjs +5 -5
  91. package/esm2022/ui/form/src/form-submit-button.component.mjs +5 -5
  92. package/esm2022/ui/form/src/form.component.mjs +4 -4
  93. package/esm2022/ui/img-viewer/src/img-viewer.component.mjs +4 -4
  94. package/esm2022/ui/json-diff-comparison/src/json-diff.component.mjs +4 -4
  95. package/esm2022/ui/lib/src/form/form-error-message.component.mjs +4 -4
  96. package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +4 -4
  97. package/esm2022/ui/lib/src/grid/enum-color-picker.pipe.mjs +4 -4
  98. package/esm2022/ui/lib/src/grid/flex-grid.directive.mjs +4 -4
  99. package/esm2022/ui/lib/src/input/common-input-validators.service.mjs +4 -4
  100. package/esm2022/ui/lib/src/input/dx-input-error-message.pipe.mjs +4 -4
  101. package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +4 -4
  102. package/esm2022/ui/lib/src/input/input-error-message.pipe.mjs +4 -4
  103. package/esm2022/ui/lib/src/input/value-accessor.directive.mjs +4 -4
  104. package/esm2022/ui/loader/src/loader.component.mjs +4 -4
  105. package/esm2022/ui/mask/src/mask.component.mjs +4 -4
  106. package/esm2022/ui/multiSelect/src/multi-select.component.mjs +4 -4
  107. package/esm2022/ui/number/src/number.component.mjs +4 -4
  108. package/esm2022/ui/operation-types-dialog/src/operation-types-dialog.component.mjs +13 -13
  109. package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +4 -4
  110. package/esm2022/ui/panel/src/panel.component.mjs +4 -4
  111. package/esm2022/ui/password/src/password.component.mjs +4 -4
  112. package/esm2022/ui/pdf-viewer/src/pdf-viewer.component.mjs +4 -4
  113. package/esm2022/ui/progressbar/src/progressbar.component.mjs +4 -4
  114. package/esm2022/ui/radioButton/src/radio-button.component.mjs +4 -4
  115. package/esm2022/ui/relativeDateSelector/src/relative-date-selector.component.mjs +4 -4
  116. package/esm2022/ui/selectBox/src/select-box.component.mjs +4 -4
  117. package/esm2022/ui/switch/src/switch.component.mjs +4 -4
  118. package/esm2022/ui/table/index.mjs +5 -5
  119. package/esm2022/ui/table/src/export-overlay-panel.component.mjs +129 -129
  120. package/esm2022/ui/table/src/interfaces.mjs +1 -1
  121. package/esm2022/ui/table/src/table-column.component.mjs +4 -4
  122. package/esm2022/ui/table/src/table.component.mjs +12 -5
  123. package/esm2022/ui/table-expand/index.mjs +5 -5
  124. package/esm2022/ui/table-expand/src/table-column.component.mjs +4 -4
  125. package/esm2022/ui/table-expand/src/table-expand-area.component.mjs +4 -4
  126. package/esm2022/ui/table-expand/src/table.component.mjs +4 -4
  127. package/esm2022/ui/tag/src/tag.component.mjs +4 -4
  128. package/esm2022/ui/tagBox/src/tag-box.component.mjs +4 -4
  129. package/esm2022/ui/text/src/text.component.mjs +4 -4
  130. package/esm2022/ui/textArea/src/text-area.component.mjs +4 -4
  131. package/esm2022/ui/toggle-button/src/toggle-button.component.mjs +4 -4
  132. package/esm2022/ui/tooltip/src/tooltip-component.mjs +4 -4
  133. package/esm2022/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.mjs +4 -4
  134. package/esm2022/ui/translate-input/src/aril-translate-input.component.mjs +4 -4
  135. package/esm2022/ui/tree/src/tree.component.mjs +4 -4
  136. package/esm2022/ui/treeSelect/src/treeSelect.component.mjs +4 -4
  137. package/esm2022/ui/treeTable/src/tree-table.component.mjs +4 -4
  138. package/esm2022/ui/value/src/value.component.mjs +4 -4
  139. package/esm2022/ui-business/assetPicker/index.mjs +1 -1
  140. package/esm2022/ui-business/assetPicker/src/asset-picker.component.mjs +5 -5
  141. package/esm2022/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.mjs +5 -5
  142. package/esm2022/ui-business/enumPicker/src/enum-picker.component.mjs +5 -5
  143. package/esm2022/ui-business/enumPicker/src/interface.mjs +1 -1
  144. package/esm2022/ui-business/image-viewer/src/aril-image-viewer.component.mjs +4 -4
  145. package/esm2022/ui-business/multiAssetPicker/index.mjs +1 -1
  146. package/esm2022/ui-business/multiAssetPicker/src/multi-asset-picker.component.mjs +5 -5
  147. package/esm2022/ui-business/multiple-ref-value/src/multiple-ref-value.component.mjs +4 -4
  148. package/esm2022/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.mjs +4 -4
  149. package/esm2022/ui-business/operation-types-dialog/src/operation-types-dialog.component.mjs +4 -4
  150. package/esm2022/ui-business/pdf-preview-modal/index.mjs +1 -1
  151. package/esm2022/ui-business/pdf-preview-modal/src/open-pdf-preview.mjs +1 -1
  152. package/esm2022/ui-business/pdf-preview-modal/src/pdf-preview-modal.component.mjs +29 -29
  153. package/esm2022/ui-business/ref-value/src/ref-value.component.mjs +5 -5
  154. package/esm2022/ui-business/rolePicker/src/role-picker.component.mjs +4 -4
  155. package/esm2022/ui-business/trace-drawer/index.mjs +1 -1
  156. package/esm2022/ui-business/trace-drawer/src/app-log.service.mjs +4 -4
  157. package/esm2022/ui-business/trace-drawer/src/interfaces.mjs +1 -1
  158. package/esm2022/ui-business/trace-drawer/src/trace-drawer.component.mjs +5 -5
  159. package/esm2022/ui-business/trace-drawer/src/trace-log.service.mjs +4 -4
  160. package/esm2022/ui-business/trace-id/index.mjs +1 -1
  161. package/esm2022/ui-business/trace-id/src/trace-id.component.mjs +5 -5
  162. package/esm2022/ui-business/userPicker/src/user-picker.component.mjs +4 -4
  163. package/esm2022/util/activity/index.mjs +1 -1
  164. package/esm2022/util/activity/src/activity.constants.mjs +1 -1
  165. package/esm2022/util/activity/src/activity.service.mjs +4 -4
  166. package/esm2022/util/activity/src/activity.types.mjs +1 -1
  167. package/esm2022/util/block/src/block.mjs +7 -7
  168. package/esm2022/util/directives/src/detail-page-customization/detail-page-customization.directive.mjs +4 -4
  169. package/esm2022/util/directives/src/dialog-component/plugin-dialog.component.mjs +4 -4
  170. package/esm2022/util/directives/src/dialog-service/plugin-dialog.service.mjs +4 -4
  171. package/esm2022/util/lib/src/module-router.mjs +4 -4
  172. package/esm2022/util/pipes/src/distance-to-now.pipe.mjs +4 -4
  173. package/esm2022/util/pipes/src/get-column-by-field.pipe.mjs +4 -4
  174. package/esm2022/util/pipes/src/parse.pipe.mjs +4 -4
  175. package/esm2022/util/pipes/src/round-number.pipe.mjs +4 -4
  176. package/esm2022/util/pipes/src/safe.pipe.mjs +4 -4
  177. package/esm2022/util/pipes/src/translate-json/translate-json.pipe.mjs +4 -4
  178. package/esm2022/util/pub-sub/src/pub-sub.service.mjs +4 -4
  179. package/esm2022/util/sync-active-tab-route/src/sync-active-tab-route.directive.mjs +4 -4
  180. package/esm2022/util/unwrap/src/unwrap-tag.directive.mjs +4 -4
  181. package/fesm2022/{aril-app.component-Pj4R9eG9.mjs → aril-app.component-CwZZhJcO.mjs} +15 -15
  182. package/fesm2022/aril-app.component-CwZZhJcO.mjs.map +1 -0
  183. package/fesm2022/aril-boot-base.mjs +1 -1
  184. package/fesm2022/aril-boot-base.mjs.map +1 -1
  185. package/fesm2022/aril-boot-bridge.mjs.map +1 -1
  186. package/fesm2022/aril-boot-config-api.mjs +2 -1
  187. package/fesm2022/aril-boot-config-api.mjs.map +1 -1
  188. package/fesm2022/aril-boot-config-apps.mjs +10 -10
  189. package/fesm2022/aril-boot-config-apps.mjs.map +1 -1
  190. package/fesm2022/aril-boot-config-plugins.mjs +1 -1
  191. package/fesm2022/aril-boot-config-plugins.mjs.map +1 -1
  192. package/fesm2022/aril-boot-config-translate.mjs.map +1 -1
  193. package/fesm2022/aril-boot-host.mjs +4 -4
  194. package/fesm2022/aril-boot-host.mjs.map +1 -1
  195. package/fesm2022/{aril-boot-mfe-app.component-GbZAGlTf.mjs → aril-boot-mfe-app.component-DwYgUUdL.mjs} +16 -16
  196. package/fesm2022/aril-boot-mfe-app.component-DwYgUUdL.mjs.map +1 -0
  197. package/fesm2022/{aril-boot-mfe-aril-boot-mfe-I5xT2fQx.mjs → aril-boot-mfe-aril-boot-mfe-hJkkFa_a.mjs} +4 -4
  198. package/fesm2022/aril-boot-mfe-aril-boot-mfe-hJkkFa_a.mjs.map +1 -0
  199. package/fesm2022/aril-boot-mfe.mjs +1 -1
  200. package/fesm2022/aril-boot-pages.mjs +100 -100
  201. package/fesm2022/aril-boot-pages.mjs.map +1 -1
  202. package/fesm2022/aril-http.mjs +3 -3
  203. package/fesm2022/aril-http.mjs.map +1 -1
  204. package/fesm2022/aril-i18n.mjs +7 -7
  205. package/fesm2022/aril-i18n.mjs.map +1 -1
  206. package/fesm2022/aril-keycloak.mjs.map +1 -1
  207. package/fesm2022/aril-provider.mjs +1 -1
  208. package/fesm2022/aril-provider.mjs.map +1 -1
  209. package/fesm2022/aril-theme-layout.mjs +211 -136
  210. package/fesm2022/aril-theme-layout.mjs.map +1 -1
  211. package/fesm2022/aril-ui-autoComplete.mjs +6 -6
  212. package/fesm2022/aril-ui-autoComplete.mjs.map +1 -1
  213. package/fesm2022/aril-ui-badge.mjs +4 -4
  214. package/fesm2022/aril-ui-badge.mjs.map +1 -1
  215. package/fesm2022/aril-ui-business-assetPicker.mjs +6 -6
  216. package/fesm2022/aril-ui-business-assetPicker.mjs.map +1 -1
  217. package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs +6 -6
  218. package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs.map +1 -1
  219. package/fesm2022/aril-ui-business-enumPicker.mjs +6 -6
  220. package/fesm2022/aril-ui-business-enumPicker.mjs.map +1 -1
  221. package/fesm2022/aril-ui-business-image-viewer.mjs +3 -3
  222. package/fesm2022/aril-ui-business-image-viewer.mjs.map +1 -1
  223. package/fesm2022/aril-ui-business-multiAssetPicker.mjs +5 -5
  224. package/fesm2022/aril-ui-business-multiAssetPicker.mjs.map +1 -1
  225. package/fesm2022/aril-ui-business-multiple-ref-value.mjs +4 -4
  226. package/fesm2022/aril-ui-business-multiple-ref-value.mjs.map +1 -1
  227. package/fesm2022/aril-ui-business-notification-templates-dialog.mjs +3 -3
  228. package/fesm2022/aril-ui-business-notification-templates-dialog.mjs.map +1 -1
  229. package/fesm2022/aril-ui-business-operation-types-dialog.mjs +3 -3
  230. package/fesm2022/aril-ui-business-operation-types-dialog.mjs.map +1 -1
  231. package/fesm2022/aril-ui-business-pdf-preview-modal.mjs +28 -28
  232. package/fesm2022/aril-ui-business-pdf-preview-modal.mjs.map +1 -1
  233. package/fesm2022/aril-ui-business-ref-value.mjs +5 -5
  234. package/fesm2022/aril-ui-business-ref-value.mjs.map +1 -1
  235. package/fesm2022/aril-ui-business-rolePicker.mjs +4 -4
  236. package/fesm2022/aril-ui-business-rolePicker.mjs.map +1 -1
  237. package/fesm2022/aril-ui-business-trace-drawer.mjs +11 -11
  238. package/fesm2022/aril-ui-business-trace-drawer.mjs.map +1 -1
  239. package/fesm2022/aril-ui-business-trace-id.mjs +5 -5
  240. package/fesm2022/aril-ui-business-trace-id.mjs.map +1 -1
  241. package/fesm2022/aril-ui-business-userPicker.mjs +3 -3
  242. package/fesm2022/aril-ui-business-userPicker.mjs.map +1 -1
  243. package/fesm2022/aril-ui-button.mjs +7 -7
  244. package/fesm2022/aril-ui-button.mjs.map +1 -1
  245. package/fesm2022/aril-ui-calendar.mjs +3 -3
  246. package/fesm2022/aril-ui-calendar.mjs.map +1 -1
  247. package/fesm2022/aril-ui-charts.mjs +37 -37
  248. package/fesm2022/aril-ui-charts.mjs.map +1 -1
  249. package/fesm2022/aril-ui-checkbox.mjs +6 -6
  250. package/fesm2022/aril-ui-checkbox.mjs.map +1 -1
  251. package/fesm2022/aril-ui-chip.mjs +4 -4
  252. package/fesm2022/aril-ui-chip.mjs.map +1 -1
  253. package/fesm2022/aril-ui-collapse-reorder-list.mjs +4 -4
  254. package/fesm2022/aril-ui-collapse-reorder-list.mjs.map +1 -1
  255. package/fesm2022/aril-ui-dxEditor.mjs +4 -4
  256. package/fesm2022/aril-ui-dxEditor.mjs.map +1 -1
  257. package/fesm2022/aril-ui-dxField.mjs +4 -4
  258. package/fesm2022/aril-ui-dxField.mjs.map +1 -1
  259. package/fesm2022/aril-ui-editor.mjs +4 -4
  260. package/fesm2022/aril-ui-editor.mjs.map +1 -1
  261. package/fesm2022/aril-ui-field.mjs +4 -4
  262. package/fesm2022/aril-ui-field.mjs.map +1 -1
  263. package/fesm2022/aril-ui-fileUpload.mjs +4 -4
  264. package/fesm2022/aril-ui-fileUpload.mjs.map +1 -1
  265. package/fesm2022/aril-ui-form.mjs +12 -12
  266. package/fesm2022/aril-ui-form.mjs.map +1 -1
  267. package/fesm2022/aril-ui-img-viewer.mjs +3 -3
  268. package/fesm2022/aril-ui-img-viewer.mjs.map +1 -1
  269. package/fesm2022/aril-ui-json-diff-comparison.mjs +4 -4
  270. package/fesm2022/aril-ui-json-diff-comparison.mjs.map +1 -1
  271. package/fesm2022/aril-ui-lib.mjs +28 -28
  272. package/fesm2022/aril-ui-lib.mjs.map +1 -1
  273. package/fesm2022/aril-ui-loader.mjs +3 -3
  274. package/fesm2022/aril-ui-loader.mjs.map +1 -1
  275. package/fesm2022/aril-ui-mask.mjs +3 -3
  276. package/fesm2022/aril-ui-mask.mjs.map +1 -1
  277. package/fesm2022/aril-ui-multiSelect.mjs +3 -3
  278. package/fesm2022/aril-ui-multiSelect.mjs.map +1 -1
  279. package/fesm2022/aril-ui-number.mjs +3 -3
  280. package/fesm2022/aril-ui-number.mjs.map +1 -1
  281. package/fesm2022/aril-ui-operation-types-dialog.mjs +12 -12
  282. package/fesm2022/aril-ui-operation-types-dialog.mjs.map +1 -1
  283. package/fesm2022/aril-ui-overlayPanel.mjs +4 -4
  284. package/fesm2022/aril-ui-overlayPanel.mjs.map +1 -1
  285. package/fesm2022/aril-ui-panel.mjs +4 -4
  286. package/fesm2022/aril-ui-panel.mjs.map +1 -1
  287. package/fesm2022/aril-ui-password.mjs +3 -3
  288. package/fesm2022/aril-ui-password.mjs.map +1 -1
  289. package/fesm2022/aril-ui-pdf-viewer.mjs +3 -3
  290. package/fesm2022/aril-ui-pdf-viewer.mjs.map +1 -1
  291. package/fesm2022/aril-ui-progressbar.mjs +3 -3
  292. package/fesm2022/aril-ui-progressbar.mjs.map +1 -1
  293. package/fesm2022/aril-ui-radioButton.mjs +3 -3
  294. package/fesm2022/aril-ui-radioButton.mjs.map +1 -1
  295. package/fesm2022/aril-ui-relativeDateSelector.mjs +4 -4
  296. package/fesm2022/aril-ui-relativeDateSelector.mjs.map +1 -1
  297. package/fesm2022/aril-ui-selectBox.mjs +5 -5
  298. package/fesm2022/aril-ui-selectBox.mjs.map +1 -1
  299. package/fesm2022/aril-ui-switch.mjs +3 -3
  300. package/fesm2022/aril-ui-switch.mjs.map +1 -1
  301. package/fesm2022/aril-ui-table-expand.mjs +14 -14
  302. package/fesm2022/aril-ui-table-expand.mjs.map +1 -1
  303. package/fesm2022/aril-ui-table.mjs +148 -141
  304. package/fesm2022/aril-ui-table.mjs.map +1 -1
  305. package/fesm2022/aril-ui-tag.mjs +3 -3
  306. package/fesm2022/aril-ui-tag.mjs.map +1 -1
  307. package/fesm2022/aril-ui-tagBox.mjs +5 -5
  308. package/fesm2022/aril-ui-tagBox.mjs.map +1 -1
  309. package/fesm2022/aril-ui-text.mjs +3 -3
  310. package/fesm2022/aril-ui-text.mjs.map +1 -1
  311. package/fesm2022/aril-ui-textArea.mjs +3 -3
  312. package/fesm2022/aril-ui-textArea.mjs.map +1 -1
  313. package/fesm2022/aril-ui-toggle-button.mjs +4 -4
  314. package/fesm2022/aril-ui-toggle-button.mjs.map +1 -1
  315. package/fesm2022/aril-ui-tooltip.mjs +3 -3
  316. package/fesm2022/aril-ui-tooltip.mjs.map +1 -1
  317. package/fesm2022/aril-ui-translate-input.mjs +6 -6
  318. package/fesm2022/aril-ui-translate-input.mjs.map +1 -1
  319. package/fesm2022/aril-ui-tree.mjs +4 -4
  320. package/fesm2022/aril-ui-tree.mjs.map +1 -1
  321. package/fesm2022/aril-ui-treeSelect.mjs +4 -4
  322. package/fesm2022/aril-ui-treeSelect.mjs.map +1 -1
  323. package/fesm2022/aril-ui-treeTable.mjs +4 -4
  324. package/fesm2022/aril-ui-treeTable.mjs.map +1 -1
  325. package/fesm2022/aril-ui-value.mjs +5 -5
  326. package/fesm2022/aril-ui-value.mjs.map +1 -1
  327. package/fesm2022/aril-util-activity.mjs +3 -3
  328. package/fesm2022/aril-util-activity.mjs.map +1 -1
  329. package/fesm2022/aril-util-block.mjs +6 -6
  330. package/fesm2022/aril-util-block.mjs.map +1 -1
  331. package/fesm2022/aril-util-directives.mjs +10 -10
  332. package/fesm2022/aril-util-directives.mjs.map +1 -1
  333. package/fesm2022/aril-util-lib.mjs +3 -3
  334. package/fesm2022/aril-util-lib.mjs.map +1 -1
  335. package/fesm2022/aril-util-pipes.mjs +18 -18
  336. package/fesm2022/aril-util-pipes.mjs.map +1 -1
  337. package/fesm2022/aril-util-primitive-extensions.mjs.map +1 -1
  338. package/fesm2022/aril-util-pub-sub.mjs +3 -3
  339. package/fesm2022/aril-util-pub-sub.mjs.map +1 -1
  340. package/fesm2022/aril-util-sync-active-tab-route.mjs +4 -4
  341. package/fesm2022/aril-util-sync-active-tab-route.mjs.map +1 -1
  342. package/fesm2022/aril-util-unwrap.mjs +3 -3
  343. package/fesm2022/aril-util-unwrap.mjs.map +1 -1
  344. package/fesm2022/aril.mjs +6 -6
  345. package/fesm2022/aril.mjs.map +1 -1
  346. package/package.json +224 -224
  347. package/theme/layout/app/breadcrumb/app.breadcrumb.component.ts +127 -127
  348. package/theme/layout/app/environment-banner/environment-banner.component.d.ts +13 -0
  349. package/theme/layout/app/environment-banner/environment-banner.component.html +10 -0
  350. package/theme/layout/app/environment-banner/environment-banner.component.scss +103 -0
  351. package/theme/layout/app/environment-banner/environment-banner.component.ts +39 -0
  352. package/theme/layout/app/expandableMenu/expandable-menu.component.html +137 -137
  353. package/theme/layout/app/expandableMenu/expandable-menu.component.ts +373 -373
  354. package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.d.ts +16 -0
  355. package/theme/layout/app/general-search/general-search.component.ts +93 -93
  356. package/theme/layout/app/history/history-sidebar.component.d.ts +16 -0
  357. package/theme/layout/app/history/history.service.ts +158 -158
  358. package/theme/layout/app/layout/app.layout.component.html +1 -0
  359. package/theme/layout/app/layout/app.layout.component.ts +170 -168
  360. package/theme/layout/app/notifications/notifications-sidebar.component.d.ts +16 -0
  361. package/theme/layout/app/profileSidebar/app.profilesidebar.component.d.ts +20 -0
  362. package/theme/layout/app/profileSidebar/app.profilesidebar.component.html +49 -111
  363. package/theme/layout/app/profileSidebar/app.profilesidebar.component.scss +344 -152
  364. package/theme/layout/app/profileSidebar/app.profilesidebar.component.ts +81 -19
  365. package/theme/layout/app/site-map/site-map-sidebar.component.d.ts +16 -0
  366. package/theme/layout/app/site-map/site-map-sidebar.component.ts +195 -195
  367. package/theme/layout/app/static-sidebar/static-sidebar.component.html +162 -162
  368. package/theme/layout/app/static-sidebar/static-sidebar.component.scss +420 -420
  369. package/theme/layout/app/static-sidebar/static-sidebar.component.ts +343 -343
  370. package/theme/layout/index.ts +9 -9
  371. package/theme/layout/service/interfaces/enum.ts +19 -19
  372. package/theme/styles/layout/_content.scss +2 -2
  373. package/theme/styles/layout/_expanded_sidebar.scss +511 -511
  374. package/theme/styles/layout/_fonts.scss +81 -81
  375. package/theme/styles/layout/_main.scss +7 -0
  376. package/theme/styles/layout/_topbar.scss +1 -1
  377. package/theme/styles/theme/base/components/input/_inputtext.scss +104 -104
  378. package/theme/styles/theme/base/components/overlay/_sidebar.scss +27 -27
  379. package/theme/styles/theme/base/components/panel/_stepper.scss +205 -205
  380. package/theme/styles/theme/dark/_variables.scss +933 -933
  381. package/theme/styles/theme/light/_variables.scss +940 -940
  382. package/ui/autoComplete/src/auto-complete.component.d.ts +8 -8
  383. package/ui/badge/src/badge.component.d.ts +9 -9
  384. package/ui/button/src/button.component.d.ts +12 -12
  385. package/ui/button/src/split-button.component.d.ts +1 -1
  386. package/ui/calendar/src/calendar.component.d.ts +22 -22
  387. package/ui/charts/src/amCharts/column/column-chart.component.d.ts +4 -4
  388. package/ui/charts/src/amCharts/line/line-chart.component.d.ts +5 -5
  389. package/ui/charts/src/amCharts/pie/pie-chart.component.d.ts +4 -4
  390. package/ui/charts/src/highCharts/area/area-chart.component.d.ts +3 -3
  391. package/ui/charts/src/highCharts/bar/bar-chart.component.d.ts +7 -7
  392. package/ui/charts/src/highCharts/column/column-chart.component.d.ts +9 -9
  393. package/ui/charts/src/highCharts/gauge/solid-gauge.component.d.ts +3 -3
  394. package/ui/charts/src/highCharts/heatmap/heatMap-chart.component.d.ts +4 -4
  395. package/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.d.ts +5 -5
  396. package/ui/charts/src/highCharts/line/line-chart-series.component.d.ts +4 -4
  397. package/ui/charts/src/highCharts/line/line-chart.component.d.ts +4 -4
  398. package/ui/charts/src/highCharts/pie/pie-chart.component.d.ts +7 -7
  399. package/ui/checkbox/src/check-box.component.d.ts +3 -3
  400. package/ui/checkbox/src/tri-state-checkbox.component.d.ts +2 -2
  401. package/ui/chip/src/chip.component.d.ts +7 -7
  402. package/ui/collapse-reorder-list/src/collapse-reorder-list.component.d.ts +4 -4
  403. package/ui/dxEditor/src/dx-editor.component.d.ts +5 -5
  404. package/ui/dxField/src/dx-field.component.d.ts +5 -5
  405. package/ui/editor/src/aril-editor.component.d.ts +3 -3
  406. package/ui/field/src/field.component.d.ts +9 -9
  407. package/ui/fileUpload/src/file-upload.component.d.ts +14 -14
  408. package/ui/form/src/form-submit-button.component.d.ts +1 -1
  409. package/ui/form/src/form.component.d.ts +1 -1
  410. package/ui/img-viewer/src/img-viewer.component.d.ts +1 -1
  411. package/ui/lib/src/form/form-error-message.directive.d.ts +1 -1
  412. package/ui/mask/src/mask.component.d.ts +6 -6
  413. package/ui/multiSelect/src/multi-select.component.d.ts +13 -13
  414. package/ui/number/src/number.component.d.ts +15 -15
  415. package/ui/overlayPanel/src/overlay-panel.component.d.ts +1 -1
  416. package/ui/panel/src/panel.component.d.ts +6 -6
  417. package/ui/password/src/password.component.d.ts +4 -4
  418. package/ui/pdf-viewer/src/pdf-viewer.component.d.ts +12 -12
  419. package/ui/progressbar/src/progressbar.component.d.ts +3 -3
  420. package/ui/radioButton/src/radio-button.component.d.ts +3 -3
  421. package/ui/selectBox/src/select-box.component.d.ts +10 -10
  422. package/ui/switch/src/switch.component.d.ts +1 -1
  423. package/ui/table/src/export-overlay-panel.component.d.ts +2 -2
  424. package/ui/table/src/table-column.component.d.ts +11 -11
  425. package/ui/table/src/table.component.d.ts +35 -35
  426. package/ui/table-expand/src/table-column.component.d.ts +6 -6
  427. package/ui/table-expand/src/table.component.d.ts +20 -20
  428. package/ui/tag/src/tag.component.d.ts +4 -6
  429. package/ui/tagBox/src/tag-box.component.d.ts +7 -7
  430. package/ui/text/src/text.component.d.ts +5 -5
  431. package/ui/textArea/src/text-area.component.d.ts +5 -5
  432. package/ui/toggle-button/src/toggle-button.component.d.ts +1 -1
  433. package/ui/tooltip/src/tooltip-component.d.ts +8 -8
  434. package/ui/translate-input/src/aril-translate-input.component.d.ts +2 -2
  435. package/ui/tree/src/tree.component.d.ts +8 -8
  436. package/ui/treeSelect/src/treeSelect.component.d.ts +12 -12
  437. package/ui/treeTable/src/tree-table.component.d.ts +5 -5
  438. package/ui/value/src/value.component.d.ts +15 -15
  439. package/ui-business/assetPicker/src/asset-picker.component.d.ts +11 -11
  440. package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.d.ts +3 -6
  441. package/ui-business/enumPicker/src/enum-picker.component.d.ts +24 -24
  442. package/ui-business/image-viewer/src/aril-image-viewer.component.d.ts +8 -8
  443. package/ui-business/multiAssetPicker/src/multi-asset-picker.component.d.ts +15 -15
  444. package/ui-business/multiple-ref-value/src/multiple-ref-value.component.d.ts +2 -5
  445. package/ui-business/ref-value/src/ref-value.component.d.ts +5 -5
  446. package/ui-business/rolePicker/src/role-picker.component.d.ts +6 -6
  447. package/ui-business/trace-drawer/src/trace-drawer.component.d.ts +8 -8
  448. package/ui-business/trace-id/src/trace-id.component.d.ts +6 -6
  449. package/ui-business/userPicker/src/user-picker.component.d.ts +3 -3
  450. package/util/block/src/block.d.ts +4 -4
  451. package/util/lib/src/types.d.ts +16 -0
  452. package/fesm2022/aril-app.component-Pj4R9eG9.mjs.map +0 -1
  453. package/fesm2022/aril-boot-mfe-app.component-GbZAGlTf.mjs.map +0 -1
  454. package/fesm2022/aril-boot-mfe-aril-boot-mfe-I5xT2fQx.mjs.map +0 -1
@@ -1,127 +1,127 @@
1
- import { NgClass } from '@angular/common';
2
- import { Component, effect } from '@angular/core';
3
- import { ActivatedRouteSnapshot, NavigationEnd, Router, RouterLink } from '@angular/router';
4
-
5
- import { MenuItem } from 'primeng/api';
6
- import { BreadcrumbModule } from 'primeng/breadcrumb';
7
-
8
- import { BehaviorSubject, Subscription } from 'rxjs';
9
- import { filter } from 'rxjs/operators';
10
-
11
- import { bridge } from 'aril/boot/bridge';
12
- import { PubSubService } from 'aril/util/pub-sub';
13
- import { BreadcrumbService } from '../../service/breadcrumb.service';
14
-
15
- interface Breadcrumb {
16
- label: string;
17
- url?: string;
18
- }
19
-
20
- @Component({
21
- standalone: true,
22
- selector: 'app-breadcrumb',
23
- imports: [RouterLink, BreadcrumbModule, NgClass],
24
- templateUrl: './app.breadcrumb.component.html'
25
- })
26
- export class AppBreadcrumbComponent {
27
- private readonly _breadcrumbs$ = new BehaviorSubject<Breadcrumb[]>([]);
28
- private breadcrumbsSubscription!: Subscription;
29
-
30
- readonly breadcrumbs$ = this._breadcrumbs$.asObservable();
31
- breadcrumbs: MenuItem[] = [];
32
-
33
- constructor(
34
- private router: Router,
35
- private breadcrumbService: BreadcrumbService,
36
- private pubSubService: PubSubService
37
- ) {
38
- this.router.events.pipe(filter((event) => event instanceof NavigationEnd)).subscribe((event) => {
39
- const root = this.router.routerState.snapshot.root;
40
- const breadcrumbs: Breadcrumb[] = [];
41
-
42
- this.addBreadcrumb(root, [], breadcrumbs);
43
-
44
- this._breadcrumbs$.next(breadcrumbs);
45
- });
46
-
47
- effect(() => {
48
- if (this.breadcrumbService.keyValues()) {
49
- const root = this.router.routerState.snapshot.root;
50
- const breadcrumbs: Breadcrumb[] = [];
51
-
52
- this.addBreadcrumb(root, [], breadcrumbs);
53
-
54
- this._breadcrumbs$.next(breadcrumbs);
55
- }
56
- });
57
- }
58
-
59
- ngOnInit() {
60
- this.breadcrumbsSubscription = this.breadcrumbs$.subscribe((breadcrumbs) => {
61
- this.breadcrumbs = breadcrumbs.map((breadcrumb) => ({
62
- label: breadcrumb.label,
63
- url: breadcrumb.url
64
- }));
65
- this.breadcrumbs.unshift({ icon: 'pi pi-home', url: '/' });
66
-
67
- // Update global page title signal with the last breadcrumb label
68
- const pageTitle = bridge.pageTitle();
69
- if (pageTitle) {
70
- const lastBreadcrumb = breadcrumbs[breadcrumbs.length - 1];
71
- bridge.pageTitle.set(lastBreadcrumb?.label || '');
72
- }
73
-
74
- const currentUrl = this.router.url;
75
- this.pubSubService.publish({
76
- name: 'breadcrumbUpdated',
77
- data: {
78
- path: currentUrl,
79
- custom: {
80
- breadcrumbs: breadcrumbs,
81
- pageTitle: breadcrumbs.length > 0 ? breadcrumbs[breadcrumbs.length - 1].label : ''
82
- }
83
- }
84
- });
85
- });
86
- }
87
-
88
- ngOnDestroy() {
89
- if (this.breadcrumbsSubscription) {
90
- this.breadcrumbsSubscription.unsubscribe();
91
- }
92
- }
93
-
94
- private addBreadcrumb(route: ActivatedRouteSnapshot, parentUrl: string[], breadcrumbs: Breadcrumb[]) {
95
- const routeUrl = parentUrl.concat(route.url.map((url) => url.path));
96
- const breadcrumb = route.data['breadcrumb'];
97
- const parentBreadcrumb = route.parent && route.parent.data ? route.parent.data['breadcrumb'] : null;
98
-
99
- if (breadcrumb && breadcrumb !== parentBreadcrumb) {
100
- const keyRegex = new RegExp('(?<=\\{)([^}]+)(?=\\})');
101
- const key = (keyRegex.exec(route.data['breadcrumb']) || [])[0]!;
102
- const value = this.breadcrumbService.getValue(key);
103
-
104
- if (key && value) {
105
- breadcrumbs.push({
106
- label: (route.data['breadcrumb'] as string).replace(`{${key}}`, value),
107
- url: '/' + routeUrl.join('/')
108
- });
109
- } else if (key && !value) {
110
- // Key exists but value not loaded yet - show loading placeholder
111
- breadcrumbs.push({
112
- label: '...',
113
- url: '/' + routeUrl.join('/')
114
- });
115
- } else {
116
- breadcrumbs.push({
117
- label: route.data['breadcrumb'],
118
- url: '/' + routeUrl.join('/')
119
- });
120
- }
121
- }
122
-
123
- if (route.firstChild) {
124
- this.addBreadcrumb(route.firstChild, routeUrl, breadcrumbs);
125
- }
126
- }
127
- }
1
+ import { NgClass } from '@angular/common';
2
+ import { Component, effect } from '@angular/core';
3
+ import { ActivatedRouteSnapshot, NavigationEnd, Router, RouterLink } from '@angular/router';
4
+
5
+ import { MenuItem } from 'primeng/api';
6
+ import { BreadcrumbModule } from 'primeng/breadcrumb';
7
+
8
+ import { BehaviorSubject, Subscription } from 'rxjs';
9
+ import { filter } from 'rxjs/operators';
10
+
11
+ import { bridge } from 'aril/boot/bridge';
12
+ import { PubSubService } from 'aril/util/pub-sub';
13
+ import { BreadcrumbService } from '../../service/breadcrumb.service';
14
+
15
+ interface Breadcrumb {
16
+ label: string;
17
+ url?: string;
18
+ }
19
+
20
+ @Component({
21
+ standalone: true,
22
+ selector: 'app-breadcrumb',
23
+ imports: [RouterLink, BreadcrumbModule, NgClass],
24
+ templateUrl: './app.breadcrumb.component.html'
25
+ })
26
+ export class AppBreadcrumbComponent {
27
+ private readonly _breadcrumbs$ = new BehaviorSubject<Breadcrumb[]>([]);
28
+ private breadcrumbsSubscription!: Subscription;
29
+
30
+ readonly breadcrumbs$ = this._breadcrumbs$.asObservable();
31
+ breadcrumbs: MenuItem[] = [];
32
+
33
+ constructor(
34
+ private router: Router,
35
+ private breadcrumbService: BreadcrumbService,
36
+ private pubSubService: PubSubService
37
+ ) {
38
+ this.router.events.pipe(filter((event) => event instanceof NavigationEnd)).subscribe((event) => {
39
+ const root = this.router.routerState.snapshot.root;
40
+ const breadcrumbs: Breadcrumb[] = [];
41
+
42
+ this.addBreadcrumb(root, [], breadcrumbs);
43
+
44
+ this._breadcrumbs$.next(breadcrumbs);
45
+ });
46
+
47
+ effect(() => {
48
+ if (this.breadcrumbService.keyValues()) {
49
+ const root = this.router.routerState.snapshot.root;
50
+ const breadcrumbs: Breadcrumb[] = [];
51
+
52
+ this.addBreadcrumb(root, [], breadcrumbs);
53
+
54
+ this._breadcrumbs$.next(breadcrumbs);
55
+ }
56
+ });
57
+ }
58
+
59
+ ngOnInit() {
60
+ this.breadcrumbsSubscription = this.breadcrumbs$.subscribe((breadcrumbs) => {
61
+ this.breadcrumbs = breadcrumbs.map((breadcrumb) => ({
62
+ label: breadcrumb.label,
63
+ url: breadcrumb.url
64
+ }));
65
+ this.breadcrumbs.unshift({ icon: 'pi pi-home', url: '/' });
66
+
67
+ // Update global page title signal with the last breadcrumb label
68
+ const pageTitle = bridge.pageTitle();
69
+ if (pageTitle) {
70
+ const lastBreadcrumb = breadcrumbs[breadcrumbs.length - 1];
71
+ bridge.pageTitle.set(lastBreadcrumb?.label || '');
72
+ }
73
+
74
+ const currentUrl = this.router.url;
75
+ this.pubSubService.publish({
76
+ name: 'breadcrumbUpdated',
77
+ data: {
78
+ path: currentUrl,
79
+ custom: {
80
+ breadcrumbs: breadcrumbs,
81
+ pageTitle: breadcrumbs.length > 0 ? breadcrumbs[breadcrumbs.length - 1].label : ''
82
+ }
83
+ }
84
+ });
85
+ });
86
+ }
87
+
88
+ ngOnDestroy() {
89
+ if (this.breadcrumbsSubscription) {
90
+ this.breadcrumbsSubscription.unsubscribe();
91
+ }
92
+ }
93
+
94
+ private addBreadcrumb(route: ActivatedRouteSnapshot, parentUrl: string[], breadcrumbs: Breadcrumb[]) {
95
+ const routeUrl = parentUrl.concat(route.url.map((url) => url.path));
96
+ const breadcrumb = route.data['breadcrumb'];
97
+ const parentBreadcrumb = route.parent && route.parent.data ? route.parent.data['breadcrumb'] : null;
98
+
99
+ if (breadcrumb && breadcrumb !== parentBreadcrumb) {
100
+ const keyRegex = new RegExp('(?<=\\{)([^}]+)(?=\\})');
101
+ const key = (keyRegex.exec(route.data['breadcrumb']) || [])[0]!;
102
+ const value = this.breadcrumbService.getValue(key);
103
+
104
+ if (key && value) {
105
+ breadcrumbs.push({
106
+ label: (route.data['breadcrumb'] as string).replace(`{${key}}`, value),
107
+ url: '/' + routeUrl.join('/')
108
+ });
109
+ } else if (key && !value) {
110
+ // Key exists but value not loaded yet - show loading placeholder
111
+ breadcrumbs.push({
112
+ label: '...',
113
+ url: '/' + routeUrl.join('/')
114
+ });
115
+ } else {
116
+ breadcrumbs.push({
117
+ label: route.data['breadcrumb'],
118
+ url: '/' + routeUrl.join('/')
119
+ });
120
+ }
121
+ }
122
+
123
+ if (route.firstChild) {
124
+ this.addBreadcrumb(route.firstChild, routeUrl, breadcrumbs);
125
+ }
126
+ }
127
+ }
@@ -0,0 +1,13 @@
1
+ import { KeycloakService } from 'keycloak-angular';
2
+ import * as i0 from "@angular/core";
3
+ type EnvVariant = 'prod' | 'preprod' | 'stage' | 'uat' | 'dev';
4
+ export declare class EnvironmentBannerComponent {
5
+ private readonly keycloak;
6
+ code: string;
7
+ variant: EnvVariant;
8
+ username: string;
9
+ constructor(keycloak: KeycloakService);
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentBannerComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<EnvironmentBannerComponent, "app-environment-banner", never, {}, {}, never, never, true, never>;
12
+ }
13
+ export {};
@@ -0,0 +1,10 @@
1
+ @if (code) {
2
+ <div class="env-banner env-{{ variant }}" *transloco="let t; read: 'envBanner'">
3
+ <span class="env-dot"></span>
4
+ <span class="env-label">{{ t(variant) }}</span>
5
+ @if (username) {
6
+ <span class="env-sep">—</span>
7
+ <span class="env-user">{{ username }}</span>
8
+ }
9
+ </div>
10
+ }
@@ -0,0 +1,103 @@
1
+ // Ortam uyarı banner'ı — design_handoff_ortam_banner (hifi, kompakt varyant)
2
+ .env-banner {
3
+ position: fixed;
4
+ top: 0;
5
+ left: 0;
6
+ right: 0;
7
+ height: 30px;
8
+ z-index: 99999; // modal/dropdown dahil her overlay'in üzerinde kalmalı
9
+ display: flex;
10
+ align-items: center;
11
+ justify-content: center;
12
+ gap: 12px;
13
+ padding: 0 16px;
14
+ font-size: 12px;
15
+ font-weight: 600;
16
+ letter-spacing: 0.07em;
17
+ text-transform: uppercase;
18
+ color: #ffffff;
19
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
20
+
21
+ &.env-prod {
22
+ background: #b91c1c;
23
+
24
+ .env-dot {
25
+ background: #fde047;
26
+ }
27
+ }
28
+
29
+ &.env-preprod {
30
+ background: #c2410c;
31
+
32
+ .env-dot {
33
+ background: #fed7aa;
34
+ }
35
+ }
36
+
37
+ &.env-stage {
38
+ background: #1d4ed8;
39
+
40
+ .env-dot {
41
+ background: #bfdbfe;
42
+ }
43
+ }
44
+
45
+ &.env-uat {
46
+ background: #7e22ce;
47
+
48
+ .env-dot {
49
+ background: #e9d5ff;
50
+ }
51
+ }
52
+
53
+ &.env-dev {
54
+ background: #15803d;
55
+
56
+ .env-dot {
57
+ background: #bbf7d0;
58
+ }
59
+ }
60
+ }
61
+
62
+ .env-dot {
63
+ width: 10px;
64
+ height: 10px;
65
+ border-radius: 50%;
66
+ flex-shrink: 0;
67
+ animation: env-pulse 1.4s ease-in-out infinite;
68
+ }
69
+
70
+ .env-label {
71
+ font-weight: 800;
72
+ white-space: nowrap;
73
+ }
74
+
75
+ .env-sep {
76
+ opacity: 0.7;
77
+ }
78
+
79
+ .env-user {
80
+ min-width: 0;
81
+ overflow: hidden;
82
+ text-overflow: ellipsis;
83
+ white-space: nowrap;
84
+ }
85
+
86
+ @keyframes env-pulse {
87
+ 0%,
88
+ 100% {
89
+ opacity: 1;
90
+ transform: scale(1);
91
+ }
92
+
93
+ 50% {
94
+ opacity: 0.45;
95
+ transform: scale(0.8);
96
+ }
97
+ }
98
+
99
+ @media (prefers-reduced-motion: reduce) {
100
+ .env-dot {
101
+ animation: none;
102
+ }
103
+ }
@@ -0,0 +1,39 @@
1
+ import { Component } from '@angular/core';
2
+
3
+ import { TranslocoModule } from '@ngneat/transloco';
4
+ import { KeycloakService } from 'keycloak-angular';
5
+
6
+ import { API_CONFIGS } from 'aril/boot/config/api';
7
+
8
+ type EnvVariant = 'prod' | 'preprod' | 'stage' | 'uat' | 'dev';
9
+
10
+ const ENV_VARIANTS: Record<string, EnvVariant> = {
11
+ PROD: 'prod',
12
+ PREPROD: 'preprod',
13
+ STAGE: 'stage',
14
+ UAT: 'uat',
15
+ DEV: 'dev'
16
+ };
17
+
18
+ @Component({
19
+ standalone: true,
20
+ selector: 'app-environment-banner',
21
+ imports: [TranslocoModule],
22
+ templateUrl: './environment-banner.component.html',
23
+ styleUrls: ['./environment-banner.component.scss']
24
+ })
25
+ export class EnvironmentBannerComponent {
26
+ // envLabel tanımlı değilse banner hiç render edilmez (template'te @if (code))
27
+ code = (API_CONFIGS.envLabel || '').trim().toUpperCase();
28
+ // Tanımlı ama bilinmeyen değer PROD (kırmızı) davranışına düşer — fail-safe
29
+ variant: EnvVariant = ENV_VARIANTS[this.code] ?? 'prod';
30
+ username = '';
31
+
32
+ constructor(private readonly keycloak: KeycloakService) {
33
+ try {
34
+ this.username = this.keycloak.getUsername();
35
+ } catch {
36
+ this.username = '';
37
+ }
38
+ }
39
+ }