aril 1.2.51 → 1.2.53

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 (712) hide show
  1. package/README.md +62 -62
  2. package/boot/config/api.sample.json +8 -8
  3. package/esm2022/boot/base/index.mjs +1 -1
  4. package/esm2022/boot/base/src/aril-title-strategy.mjs +4 -4
  5. package/esm2022/boot/base/src/create-base-app-config.mjs +1 -1
  6. package/esm2022/boot/config/api/src/api.service.mjs +1 -1
  7. package/esm2022/boot/config/api/src/interfaces.mjs +1 -1
  8. package/esm2022/boot/config/apps/index.mjs +1 -1
  9. package/esm2022/boot/config/apps/src/apps.service.mjs +4 -4
  10. package/esm2022/boot/config/apps/src/auth.guard.mjs +4 -4
  11. package/esm2022/boot/config/apps/src/interfaces.mjs +1 -1
  12. package/esm2022/boot/config/apps/src/reuse-strategy.mjs +1 -1
  13. package/esm2022/boot/config/apps/src/showdowDOMWrapper.mjs +4 -4
  14. package/esm2022/boot/config/plugins/index.mjs +1 -1
  15. package/esm2022/boot/config/translate/constants.mjs +1 -1
  16. package/esm2022/boot/config/translate/index.mjs +1 -1
  17. package/esm2022/boot/host/index.mjs +1 -1
  18. package/esm2022/boot/host/src/app.component.mjs +4 -4
  19. package/esm2022/boot/host/src/bootstrap.mjs +5 -1
  20. package/esm2022/boot/index.mjs +1 -1
  21. package/esm2022/boot/mfe/index.mjs +1 -1
  22. package/esm2022/boot/mfe/src/app.component.mjs +4 -4
  23. package/esm2022/boot/mfe/src/appComponentLoader.mjs +1 -1
  24. package/esm2022/boot/mfe/src/monaco.config.mjs +1 -1
  25. package/esm2022/boot/pages/src/forbidden.component.mjs +4 -4
  26. package/esm2022/boot/pages/src/notFound.component.mjs +4 -4
  27. package/esm2022/http/index.mjs +2 -1
  28. package/esm2022/http/lib/interfaces.mjs +1 -1
  29. package/esm2022/http/src/httpBackend.mjs +4 -4
  30. package/esm2022/http/src/httpClient.mjs +1 -1
  31. package/esm2022/http/src/interceptor/accept-language.interceptor.mjs +1 -1
  32. package/esm2022/http/src/pathParam.mjs +12 -0
  33. package/esm2022/http/src/serviceBase.mjs +38 -1
  34. package/esm2022/http/src/serviceMockBase.mjs +1 -1
  35. package/esm2022/http/src/serviceRequest.mjs +1 -1
  36. package/esm2022/i18n/index.mjs +1 -1
  37. package/esm2022/i18n/src/folder-name-token.mjs +1 -1
  38. package/esm2022/i18n/src/i18n.module.mjs +5 -5
  39. package/esm2022/i18n/src/loader.mjs +4 -4
  40. package/esm2022/i18n/src/provideI18n.mjs +1 -1
  41. package/esm2022/i18n/src/provideScope.mjs +1 -1
  42. package/esm2022/permission/index.mjs +1 -1
  43. package/esm2022/permission/src/constants.mjs +1 -1
  44. package/esm2022/permission/src/has-permission.directive.mjs +4 -4
  45. package/esm2022/permission/src/permission.service.mjs +4 -4
  46. package/esm2022/provider/index.mjs +1 -1
  47. package/esm2022/provider/src/index.mjs +1 -1
  48. package/esm2022/provider/src/prodiveHost.mjs +1 -1
  49. package/esm2022/provider/src/provideHostPermissions.mjs +1 -1
  50. package/esm2022/provider/src/provideLocaleId.mjs +1 -1
  51. package/esm2022/public-api.mjs +1 -1
  52. package/esm2022/theme/index.mjs +1 -1
  53. package/esm2022/theme/layout/app/breadcrumb/app.breadcrumb.component.mjs +7 -6
  54. package/esm2022/theme/layout/app/environment-banner/environment-banner.component.mjs +5 -5
  55. package/esm2022/theme/layout/app/expandableMenu/expandable-menu.component.mjs +4 -4
  56. package/esm2022/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.mjs +7 -6
  57. package/esm2022/theme/layout/app/favorite-pages/favorite-pages.service.mjs +7 -5
  58. package/esm2022/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.mjs +5 -5
  59. package/esm2022/theme/layout/app/general-search/general-search.component.mjs +71 -14
  60. package/esm2022/theme/layout/app/general-search/helpers.mjs +1 -1
  61. package/esm2022/theme/layout/app/general-search/models.mjs +1 -1
  62. package/esm2022/theme/layout/app/history/history-sidebar.component.mjs +5 -5
  63. package/esm2022/theme/layout/app/history/history.service.mjs +4 -4
  64. package/esm2022/theme/layout/app/layout/app.layout.component.mjs +9 -6
  65. package/esm2022/theme/layout/app/layout/mfe.layout.component.mjs +25 -25
  66. package/esm2022/theme/layout/app/notifications/notifications-sidebar.component.mjs +5 -5
  67. package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +5 -5
  68. package/esm2022/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.mjs +5 -5
  69. package/esm2022/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.mjs +5 -5
  70. package/esm2022/theme/layout/app/profileSidebar/profile.service.mjs +4 -4
  71. package/esm2022/theme/layout/app/site-map/site-map-sidebar.component.mjs +5 -5
  72. package/esm2022/theme/layout/app/static-sidebar/static-sidebar.component.mjs +4 -4
  73. package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +64 -7
  74. package/esm2022/theme/layout/index.mjs +5 -1
  75. package/esm2022/theme/layout/service/app.layout.service.mjs +6 -4
  76. package/esm2022/theme/layout/service/app.menu.service.mjs +4 -4
  77. package/esm2022/theme/layout/service/breadcrumb.service.mjs +4 -4
  78. package/esm2022/theme/layout/service/interfaces/interfaces.mjs +1 -1
  79. package/esm2022/theme/layout/service/menu-action-confirm.mjs +1 -1
  80. package/esm2022/theme/layout/service/menuchangeevent.mjs +1 -1
  81. package/esm2022/theme/layout/service/notifications.service.mjs +4 -4
  82. package/esm2022/theme/layout/service/recent-search.service.mjs +100 -0
  83. package/esm2022/theme/layout/service/record-summary.service.mjs +398 -0
  84. package/esm2022/theme/layout/service/screen-visit.service.mjs +242 -0
  85. package/esm2022/theme/layout/service/search.service.mjs +4 -4
  86. package/esm2022/theme/layout/service/selection-group.service.mjs +4 -4
  87. package/esm2022/ui/autoComplete/index.mjs +1 -1
  88. package/esm2022/ui/autoComplete/src/auto-complete.component.mjs +5 -5
  89. package/esm2022/ui/autoComplete/src/interfaces.mjs +1 -1
  90. package/esm2022/ui/badge/index.mjs +1 -1
  91. package/esm2022/ui/badge/src/badge.component.mjs +5 -5
  92. package/esm2022/ui/button/index.mjs +1 -1
  93. package/esm2022/ui/button/src/button.component.mjs +5 -5
  94. package/esm2022/ui/button/src/split-button.component.mjs +5 -5
  95. package/esm2022/ui/calendar/index.mjs +1 -1
  96. package/esm2022/ui/calendar/src/calendar.component.mjs +5 -5
  97. package/esm2022/ui/charts/index.mjs +1 -1
  98. package/esm2022/ui/charts/src/amCharts/column/column-chart.component.mjs +4 -4
  99. package/esm2022/ui/charts/src/amCharts/line/line-chart.component.mjs +4 -4
  100. package/esm2022/ui/charts/src/amCharts/pie/pie-chart.component.mjs +4 -4
  101. package/esm2022/ui/charts/src/highCharts/area/area-chart.component.mjs +21 -21
  102. package/esm2022/ui/charts/src/highCharts/bar/bar-chart.component.mjs +16 -16
  103. package/esm2022/ui/charts/src/highCharts/column/column-chart.component.mjs +16 -16
  104. package/esm2022/ui/charts/src/highCharts/gauge/solid-gauge.component.mjs +21 -21
  105. package/esm2022/ui/charts/src/highCharts/heatmap/heatMap-chart.component.mjs +17 -17
  106. package/esm2022/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.mjs +17 -17
  107. package/esm2022/ui/charts/src/highCharts/line/line-chart-series.component.mjs +7 -7
  108. package/esm2022/ui/charts/src/highCharts/line/line-chart.component.mjs +4 -4
  109. package/esm2022/ui/charts/src/highCharts/pie/pie-chart.component.mjs +19 -19
  110. package/esm2022/ui/charts/src/theme/theme.mjs +1 -1
  111. package/esm2022/ui/checkbox/index.mjs +1 -1
  112. package/esm2022/ui/checkbox/src/check-box.component.mjs +5 -5
  113. package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +5 -5
  114. package/esm2022/ui/chip/src/chip.component.mjs +5 -5
  115. package/esm2022/ui/collapse-reorder-list/src/collapse-reorder-list.component.mjs +5 -5
  116. package/esm2022/ui/dxEditor/index.mjs +1 -1
  117. package/esm2022/ui/dxEditor/src/dx-editor.component.mjs +5 -5
  118. package/esm2022/ui/dxField/index.mjs +1 -1
  119. package/esm2022/ui/dxField/src/dx-field.component.mjs +5 -5
  120. package/esm2022/ui/editor/index.mjs +1 -1
  121. package/esm2022/ui/editor/src/aril-editor.component.mjs +5 -5
  122. package/esm2022/ui/editor/src/types.mjs +1 -1
  123. package/esm2022/ui/field/index.mjs +1 -1
  124. package/esm2022/ui/field/src/field.component.mjs +5 -5
  125. package/esm2022/ui/fileUpload/index.mjs +1 -1
  126. package/esm2022/ui/fileUpload/src/file-upload.component.mjs +5 -5
  127. package/esm2022/ui/form/index.mjs +5 -5
  128. package/esm2022/ui/form/src/form-submit-button.component.mjs +4 -4
  129. package/esm2022/ui/form/src/form.component.mjs +4 -4
  130. package/esm2022/ui/img-viewer/index.mjs +1 -1
  131. package/esm2022/ui/img-viewer/src/img-viewer.component.mjs +5 -5
  132. package/esm2022/ui/index.mjs +1 -1
  133. package/esm2022/ui/json-diff-comparison/index.mjs +1 -1
  134. package/esm2022/ui/json-diff-comparison/src/json-diff.component.mjs +5 -5
  135. package/esm2022/ui/lib/index.mjs +1 -1
  136. package/esm2022/ui/lib/src/form/form-error-message.component.mjs +11 -11
  137. package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +4 -4
  138. package/esm2022/ui/lib/src/form/form-field-builder.mjs +1 -1
  139. package/esm2022/ui/lib/src/form/form-validation.mjs +1 -1
  140. package/esm2022/ui/lib/src/grid/enum-color-picker.pipe.mjs +4 -4
  141. package/esm2022/ui/lib/src/grid/flex-grid.directive.mjs +4 -4
  142. package/esm2022/ui/lib/src/input/baseInput.mjs +1 -1
  143. package/esm2022/ui/lib/src/input/common-input-validators.service.mjs +4 -4
  144. package/esm2022/ui/lib/src/input/dx-input-error-message.pipe.mjs +4 -4
  145. package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +4 -4
  146. package/esm2022/ui/lib/src/input/input-error-message.pipe.mjs +4 -4
  147. package/esm2022/ui/lib/src/input/input-transforms.mjs +1 -1
  148. package/esm2022/ui/lib/src/input/value-accessor.directive.mjs +4 -4
  149. package/esm2022/ui/lib/src/tooltip/tooltip-on-overflow.directive.mjs +4 -4
  150. package/esm2022/ui/loader/index.mjs +1 -1
  151. package/esm2022/ui/loader/src/loader.component.mjs +5 -5
  152. package/esm2022/ui/mask/index.mjs +1 -1
  153. package/esm2022/ui/mask/src/mask.component.mjs +5 -5
  154. package/esm2022/ui/multiSelect/index.mjs +1 -1
  155. package/esm2022/ui/multiSelect/src/interfaces.mjs +1 -1
  156. package/esm2022/ui/multiSelect/src/multi-select.component.mjs +5 -5
  157. package/esm2022/ui/number/index.mjs +1 -1
  158. package/esm2022/ui/number/src/number.component.mjs +5 -5
  159. package/esm2022/ui/operation-types-dialog/index.mjs +1 -1
  160. package/esm2022/ui/operation-types-dialog/src/operation-types-dialog.component.mjs +13 -13
  161. package/esm2022/ui/overlayPanel/index.mjs +1 -1
  162. package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +5 -5
  163. package/esm2022/ui/panel/index.mjs +1 -1
  164. package/esm2022/ui/panel/src/panel.component.mjs +5 -5
  165. package/esm2022/ui/password/index.mjs +1 -1
  166. package/esm2022/ui/password/src/password.component.mjs +5 -5
  167. package/esm2022/ui/pdf-viewer/index.mjs +1 -1
  168. package/esm2022/ui/pdf-viewer/src/pdf-viewer.component.mjs +5 -5
  169. package/esm2022/ui/progressbar/index.mjs +1 -1
  170. package/esm2022/ui/progressbar/src/progressbar.component.mjs +5 -5
  171. package/esm2022/ui/radioButton/index.mjs +1 -1
  172. package/esm2022/ui/radioButton/src/radio-button.component.mjs +5 -5
  173. package/esm2022/ui/relativeDateSelector/src/enum.mjs +1 -1
  174. package/esm2022/ui/relativeDateSelector/src/relative-date-selector.component.mjs +5 -5
  175. package/esm2022/ui/selectBox/index.mjs +1 -1
  176. package/esm2022/ui/selectBox/src/interfaces.mjs +1 -1
  177. package/esm2022/ui/selectBox/src/select-box.component.mjs +5 -5
  178. package/esm2022/ui/switch/index.mjs +1 -1
  179. package/esm2022/ui/switch/src/switch.component.mjs +5 -5
  180. package/esm2022/ui/table/index.mjs +5 -5
  181. package/esm2022/ui/table/src/export-overlay-panel.component.mjs +129 -129
  182. package/esm2022/ui/table/src/interfaces.mjs +1 -1
  183. package/esm2022/ui/table/src/table-column.component.mjs +4 -4
  184. package/esm2022/ui/table/src/table.component.mjs +4 -4
  185. package/esm2022/ui/table-expand/index.mjs +5 -5
  186. package/esm2022/ui/table-expand/src/table-column.component.mjs +4 -4
  187. package/esm2022/ui/table-expand/src/table-expand-area.component.mjs +4 -4
  188. package/esm2022/ui/table-expand/src/table.component.mjs +4 -4
  189. package/esm2022/ui/tag/src/tag.component.mjs +5 -5
  190. package/esm2022/ui/tagBox/index.mjs +1 -1
  191. package/esm2022/ui/tagBox/src/tag-box.component.mjs +5 -5
  192. package/esm2022/ui/text/index.mjs +1 -1
  193. package/esm2022/ui/text/src/text.component.mjs +5 -5
  194. package/esm2022/ui/textArea/index.mjs +1 -1
  195. package/esm2022/ui/textArea/src/text-area.component.mjs +5 -5
  196. package/esm2022/ui/toggle-button/src/toggle-button.component.mjs +5 -5
  197. package/esm2022/ui/tooltip/index.mjs +1 -1
  198. package/esm2022/ui/tooltip/src/tooltip-component.mjs +5 -5
  199. package/esm2022/ui/translate-input/index.mjs +1 -1
  200. package/esm2022/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.mjs +5 -5
  201. package/esm2022/ui/translate-input/src/aril-lang-modal/constants.mjs +1 -1
  202. package/esm2022/ui/translate-input/src/aril-translate-input.component.mjs +27 -27
  203. package/esm2022/ui/translate-input/src/interface.mjs +1 -1
  204. package/esm2022/ui/tree/index.mjs +1 -1
  205. package/esm2022/ui/tree/src/tree.component.mjs +5 -5
  206. package/esm2022/ui/treeSelect/index.mjs +1 -1
  207. package/esm2022/ui/treeSelect/src/treeSelect.component.mjs +5 -5
  208. package/esm2022/ui/treeTable/index.mjs +1 -1
  209. package/esm2022/ui/treeTable/src/tree-table.component.mjs +5 -5
  210. package/esm2022/ui/value/index.mjs +1 -1
  211. package/esm2022/ui/value/src/value.component.mjs +5 -5
  212. package/esm2022/ui-business/assetPicker/src/asset-picker.component.mjs +4 -4
  213. package/esm2022/ui-business/assetPicker/src/interface.mjs +1 -1
  214. package/esm2022/ui-business/detailed-overlay-panel/index.mjs +1 -1
  215. package/esm2022/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.mjs +11 -5
  216. package/esm2022/ui-business/detailed-overlay-panel/src/interface.mjs +1 -1
  217. package/esm2022/ui-business/enumPicker/src/enum-picker.component.mjs +5 -5
  218. package/esm2022/ui-business/image-viewer/src/aril-image-viewer.component.mjs +31 -31
  219. package/esm2022/ui-business/index.mjs +1 -1
  220. package/esm2022/ui-business/multiAssetPicker/src/multi-asset-picker.component.mjs +4 -4
  221. package/esm2022/ui-business/multiple-ref-value/index.mjs +1 -1
  222. package/esm2022/ui-business/multiple-ref-value/src/multiple-ref-value.component.mjs +5 -5
  223. package/esm2022/ui-business/notification-templates-dialog/index.mjs +1 -1
  224. package/esm2022/ui-business/notification-templates-dialog/src/interface.mjs +1 -1
  225. package/esm2022/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.mjs +5 -5
  226. package/esm2022/ui-business/pdf-preview-modal/src/pdf-preview-modal.component.mjs +4 -4
  227. package/esm2022/ui-business/ref-value/index.mjs +1 -1
  228. package/esm2022/ui-business/ref-value/src/ref-value.component.mjs +5 -5
  229. package/esm2022/ui-business/rolePicker/index.mjs +1 -1
  230. package/esm2022/ui-business/rolePicker/src/interface.mjs +1 -1
  231. package/esm2022/ui-business/rolePicker/src/role-picker.component.mjs +5 -5
  232. package/esm2022/ui-business/trace-drawer/src/app-log.service.mjs +4 -4
  233. package/esm2022/ui-business/trace-drawer/src/interfaces.mjs +1 -1
  234. package/esm2022/ui-business/trace-drawer/src/trace-drawer.component.mjs +5 -5
  235. package/esm2022/ui-business/trace-drawer/src/trace-log.service.mjs +4 -4
  236. package/esm2022/ui-business/trace-id/src/trace-id.component.mjs +4 -4
  237. package/esm2022/ui-business/userPicker/src/interface.mjs +1 -1
  238. package/esm2022/ui-business/userPicker/src/user-picker.component.mjs +5 -5
  239. package/esm2022/util/activity/src/activity.service.mjs +15 -4
  240. package/esm2022/util/block/index.mjs +1 -1
  241. package/esm2022/util/block/src/block.mjs +7 -7
  242. package/esm2022/util/directives/index.mjs +1 -1
  243. package/esm2022/util/directives/src/detail-page-customization/detail-page-customization.directive.mjs +4 -4
  244. package/esm2022/util/directives/src/detail-page-customization/index.mjs +1 -1
  245. package/esm2022/util/directives/src/detail-page-customization/models.mjs +1 -1
  246. package/esm2022/util/directives/src/dialog-component/plugin-dialog.component.mjs +4 -4
  247. package/esm2022/util/directives/src/dialog-service/plugin-dialog.service.mjs +4 -4
  248. package/esm2022/util/lib/index.mjs +1 -1
  249. package/esm2022/util/lib/src/interfaces.mjs +1 -1
  250. package/esm2022/util/lib/src/module-router.mjs +4 -4
  251. package/esm2022/util/lib/src/types.mjs +1 -1
  252. package/esm2022/util/lib/src/validators/iban.validator.mjs +1 -1
  253. package/esm2022/util/lib/src/validators/identity.validator.mjs +1 -1
  254. package/esm2022/util/lib/src/validators/index.mjs +1 -1
  255. package/esm2022/util/lib/src/validators/max-array-length.validator.mjs +1 -1
  256. package/esm2022/util/lib/src/validators/min-array-length.validator.mjs +1 -1
  257. package/esm2022/util/lib/src/validators/tckn.validator.mjs +1 -1
  258. package/esm2022/util/lib/src/validators/validators.mjs +1 -1
  259. package/esm2022/util/pipes/index.mjs +1 -1
  260. package/esm2022/util/pipes/src/distance-to-now.pipe.mjs +4 -4
  261. package/esm2022/util/pipes/src/get-column-by-field.pipe.mjs +4 -4
  262. package/esm2022/util/pipes/src/parse.pipe.mjs +4 -4
  263. package/esm2022/util/pipes/src/round-number.pipe.mjs +4 -4
  264. package/esm2022/util/pipes/src/safe.pipe.mjs +4 -4
  265. package/esm2022/util/pipes/src/translate-json/translate-json.pipe.mjs +4 -4
  266. package/esm2022/util/primitive-extensions/index.mjs +1 -1
  267. package/esm2022/util/primitive-extensions/src/boolean.extensions.mjs +1 -1
  268. package/esm2022/util/primitive-extensions/src/date.extensions.mjs +1 -1
  269. package/esm2022/util/primitive-extensions/src/number.extensions.mjs +1 -1
  270. package/esm2022/util/primitive-extensions/src/string.extensions.mjs +1 -1
  271. package/esm2022/util/pub-sub/index.mjs +1 -1
  272. package/esm2022/util/pub-sub/src/pub-sub.service.mjs +4 -4
  273. package/esm2022/util/sync-active-tab-route/index.mjs +1 -1
  274. package/esm2022/util/sync-active-tab-route/src/sync-active-tab-route.directive.mjs +4 -4
  275. package/esm2022/util/unwrap/index.mjs +1 -1
  276. package/esm2022/util/unwrap/src/unwrap-tag.directive.mjs +4 -4
  277. package/fesm2022/{aril-app.component-YBy2gyza.mjs → aril-app.component-Cimdqjv1.mjs} +4 -4
  278. package/fesm2022/aril-app.component-Cimdqjv1.mjs.map +1 -0
  279. package/fesm2022/aril-boot-base.mjs +4 -4
  280. package/fesm2022/aril-boot-base.mjs.map +1 -1
  281. package/fesm2022/aril-boot-bridge.mjs.map +1 -1
  282. package/fesm2022/aril-boot-config-api.mjs +1 -1
  283. package/fesm2022/aril-boot-config-api.mjs.map +1 -1
  284. package/fesm2022/aril-boot-config-apps.mjs +10 -10
  285. package/fesm2022/aril-boot-config-apps.mjs.map +1 -1
  286. package/fesm2022/aril-boot-config-plugins.mjs +1 -1
  287. package/fesm2022/aril-boot-config-plugins.mjs.map +1 -1
  288. package/fesm2022/aril-boot-config-translate.mjs.map +1 -1
  289. package/fesm2022/aril-boot-host.mjs +8 -4
  290. package/fesm2022/aril-boot-host.mjs.map +1 -1
  291. package/fesm2022/{aril-boot-mfe-app.component-GbZAGlTf.mjs → aril-boot-mfe-app.component-CCGhRwfE.mjs} +5 -5
  292. package/fesm2022/aril-boot-mfe-app.component-CCGhRwfE.mjs.map +1 -0
  293. package/fesm2022/{aril-boot-mfe-aril-boot-mfe-I5xT2fQx.mjs → aril-boot-mfe-aril-boot-mfe-BPwfk0s2.mjs} +4 -4
  294. package/fesm2022/aril-boot-mfe-aril-boot-mfe-BPwfk0s2.mjs.map +1 -0
  295. package/fesm2022/aril-boot-mfe.mjs +1 -1
  296. package/fesm2022/aril-boot-pages.mjs +6 -6
  297. package/fesm2022/aril-boot-pages.mjs.map +1 -1
  298. package/fesm2022/aril-boot.mjs.map +1 -1
  299. package/fesm2022/aril-http.mjs +53 -6
  300. package/fesm2022/aril-http.mjs.map +1 -1
  301. package/fesm2022/aril-i18n.mjs +7 -7
  302. package/fesm2022/aril-i18n.mjs.map +1 -1
  303. package/fesm2022/aril-keycloak.mjs.map +1 -1
  304. package/fesm2022/aril-permission.mjs +7 -7
  305. package/fesm2022/aril-permission.mjs.map +1 -1
  306. package/fesm2022/aril-provider.mjs +1 -1
  307. package/fesm2022/aril-provider.mjs.map +1 -1
  308. package/fesm2022/aril-theme-layout.mjs +1111 -283
  309. package/fesm2022/aril-theme-layout.mjs.map +1 -1
  310. package/fesm2022/aril-theme.mjs.map +1 -1
  311. package/fesm2022/aril-ui-autoComplete.mjs +7 -7
  312. package/fesm2022/aril-ui-autoComplete.mjs.map +1 -1
  313. package/fesm2022/aril-ui-badge.mjs +5 -5
  314. package/fesm2022/aril-ui-badge.mjs.map +1 -1
  315. package/fesm2022/aril-ui-business-assetPicker.mjs +5 -5
  316. package/fesm2022/aril-ui-business-assetPicker.mjs.map +1 -1
  317. package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs +12 -6
  318. package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs.map +1 -1
  319. package/fesm2022/aril-ui-business-enumPicker.mjs +6 -6
  320. package/fesm2022/aril-ui-business-enumPicker.mjs.map +1 -1
  321. package/fesm2022/aril-ui-business-image-viewer.mjs +30 -30
  322. package/fesm2022/aril-ui-business-image-viewer.mjs.map +1 -1
  323. package/fesm2022/aril-ui-business-multiAssetPicker.mjs +4 -4
  324. package/fesm2022/aril-ui-business-multiAssetPicker.mjs.map +1 -1
  325. package/fesm2022/aril-ui-business-multiple-ref-value.mjs +5 -5
  326. package/fesm2022/aril-ui-business-multiple-ref-value.mjs.map +1 -1
  327. package/fesm2022/aril-ui-business-notification-templates-dialog.mjs +4 -4
  328. package/fesm2022/aril-ui-business-notification-templates-dialog.mjs.map +1 -1
  329. package/fesm2022/aril-ui-business-pdf-preview-modal.mjs +3 -3
  330. package/fesm2022/aril-ui-business-pdf-preview-modal.mjs.map +1 -1
  331. package/fesm2022/aril-ui-business-ref-value.mjs +5 -5
  332. package/fesm2022/aril-ui-business-ref-value.mjs.map +1 -1
  333. package/fesm2022/aril-ui-business-rolePicker.mjs +5 -5
  334. package/fesm2022/aril-ui-business-rolePicker.mjs.map +1 -1
  335. package/fesm2022/aril-ui-business-trace-drawer.mjs +11 -11
  336. package/fesm2022/aril-ui-business-trace-drawer.mjs.map +1 -1
  337. package/fesm2022/aril-ui-business-trace-id.mjs +4 -4
  338. package/fesm2022/aril-ui-business-trace-id.mjs.map +1 -1
  339. package/fesm2022/aril-ui-business-userPicker.mjs +4 -4
  340. package/fesm2022/aril-ui-business-userPicker.mjs.map +1 -1
  341. package/fesm2022/aril-ui-business.mjs.map +1 -1
  342. package/fesm2022/aril-ui-button.mjs +9 -9
  343. package/fesm2022/aril-ui-button.mjs.map +1 -1
  344. package/fesm2022/aril-ui-calendar.mjs +4 -4
  345. package/fesm2022/aril-ui-calendar.mjs.map +1 -1
  346. package/fesm2022/aril-ui-charts.mjs +139 -139
  347. package/fesm2022/aril-ui-charts.mjs.map +1 -1
  348. package/fesm2022/aril-ui-checkbox.mjs +8 -8
  349. package/fesm2022/aril-ui-checkbox.mjs.map +1 -1
  350. package/fesm2022/aril-ui-chip.mjs +5 -5
  351. package/fesm2022/aril-ui-chip.mjs.map +1 -1
  352. package/fesm2022/aril-ui-collapse-reorder-list.mjs +5 -5
  353. package/fesm2022/aril-ui-collapse-reorder-list.mjs.map +1 -1
  354. package/fesm2022/aril-ui-dxEditor.mjs +5 -5
  355. package/fesm2022/aril-ui-dxEditor.mjs.map +1 -1
  356. package/fesm2022/aril-ui-dxField.mjs +5 -5
  357. package/fesm2022/aril-ui-dxField.mjs.map +1 -1
  358. package/fesm2022/aril-ui-editor.mjs +5 -5
  359. package/fesm2022/aril-ui-editor.mjs.map +1 -1
  360. package/fesm2022/aril-ui-field.mjs +5 -5
  361. package/fesm2022/aril-ui-field.mjs.map +1 -1
  362. package/fesm2022/aril-ui-fileUpload.mjs +5 -5
  363. package/fesm2022/aril-ui-fileUpload.mjs.map +1 -1
  364. package/fesm2022/aril-ui-form.mjs +11 -11
  365. package/fesm2022/aril-ui-form.mjs.map +1 -1
  366. package/fesm2022/aril-ui-img-viewer.mjs +4 -4
  367. package/fesm2022/aril-ui-img-viewer.mjs.map +1 -1
  368. package/fesm2022/aril-ui-json-diff-comparison.mjs +5 -5
  369. package/fesm2022/aril-ui-json-diff-comparison.mjs.map +1 -1
  370. package/fesm2022/aril-ui-lib.mjs +38 -38
  371. package/fesm2022/aril-ui-lib.mjs.map +1 -1
  372. package/fesm2022/aril-ui-loader.mjs +4 -4
  373. package/fesm2022/aril-ui-loader.mjs.map +1 -1
  374. package/fesm2022/aril-ui-mask.mjs +4 -4
  375. package/fesm2022/aril-ui-mask.mjs.map +1 -1
  376. package/fesm2022/aril-ui-multiSelect.mjs +4 -4
  377. package/fesm2022/aril-ui-multiSelect.mjs.map +1 -1
  378. package/fesm2022/aril-ui-number.mjs +4 -4
  379. package/fesm2022/aril-ui-number.mjs.map +1 -1
  380. package/fesm2022/aril-ui-operation-types-dialog.mjs +12 -12
  381. package/fesm2022/aril-ui-operation-types-dialog.mjs.map +1 -1
  382. package/fesm2022/aril-ui-overlayPanel.mjs +5 -5
  383. package/fesm2022/aril-ui-overlayPanel.mjs.map +1 -1
  384. package/fesm2022/aril-ui-panel.mjs +5 -5
  385. package/fesm2022/aril-ui-panel.mjs.map +1 -1
  386. package/fesm2022/aril-ui-password.mjs +4 -4
  387. package/fesm2022/aril-ui-password.mjs.map +1 -1
  388. package/fesm2022/aril-ui-pdf-viewer.mjs +4 -4
  389. package/fesm2022/aril-ui-pdf-viewer.mjs.map +1 -1
  390. package/fesm2022/aril-ui-progressbar.mjs +4 -4
  391. package/fesm2022/aril-ui-progressbar.mjs.map +1 -1
  392. package/fesm2022/aril-ui-radioButton.mjs +4 -4
  393. package/fesm2022/aril-ui-radioButton.mjs.map +1 -1
  394. package/fesm2022/aril-ui-relativeDateSelector.mjs +5 -5
  395. package/fesm2022/aril-ui-relativeDateSelector.mjs.map +1 -1
  396. package/fesm2022/aril-ui-selectBox.mjs +6 -6
  397. package/fesm2022/aril-ui-selectBox.mjs.map +1 -1
  398. package/fesm2022/aril-ui-switch.mjs +4 -4
  399. package/fesm2022/aril-ui-switch.mjs.map +1 -1
  400. package/fesm2022/aril-ui-table-expand.mjs +14 -14
  401. package/fesm2022/aril-ui-table-expand.mjs.map +1 -1
  402. package/fesm2022/aril-ui-table.mjs +140 -140
  403. package/fesm2022/aril-ui-table.mjs.map +1 -1
  404. package/fesm2022/aril-ui-tag.mjs +4 -4
  405. package/fesm2022/aril-ui-tag.mjs.map +1 -1
  406. package/fesm2022/aril-ui-tagBox.mjs +6 -6
  407. package/fesm2022/aril-ui-tagBox.mjs.map +1 -1
  408. package/fesm2022/aril-ui-text.mjs +4 -4
  409. package/fesm2022/aril-ui-text.mjs.map +1 -1
  410. package/fesm2022/aril-ui-textArea.mjs +4 -4
  411. package/fesm2022/aril-ui-textArea.mjs.map +1 -1
  412. package/fesm2022/aril-ui-toggle-button.mjs +5 -5
  413. package/fesm2022/aril-ui-toggle-button.mjs.map +1 -1
  414. package/fesm2022/aril-ui-tooltip.mjs +4 -4
  415. package/fesm2022/aril-ui-tooltip.mjs.map +1 -1
  416. package/fesm2022/aril-ui-translate-input.mjs +30 -30
  417. package/fesm2022/aril-ui-translate-input.mjs.map +1 -1
  418. package/fesm2022/aril-ui-tree.mjs +5 -5
  419. package/fesm2022/aril-ui-tree.mjs.map +1 -1
  420. package/fesm2022/aril-ui-treeSelect.mjs +5 -5
  421. package/fesm2022/aril-ui-treeSelect.mjs.map +1 -1
  422. package/fesm2022/aril-ui-treeTable.mjs +5 -5
  423. package/fesm2022/aril-ui-treeTable.mjs.map +1 -1
  424. package/fesm2022/aril-ui-value.mjs +6 -6
  425. package/fesm2022/aril-ui-value.mjs.map +1 -1
  426. package/fesm2022/aril-ui.mjs.map +1 -1
  427. package/fesm2022/aril-util-activity.mjs +14 -3
  428. package/fesm2022/aril-util-activity.mjs.map +1 -1
  429. package/fesm2022/aril-util-block.mjs +6 -6
  430. package/fesm2022/aril-util-block.mjs.map +1 -1
  431. package/fesm2022/aril-util-directives.mjs +10 -10
  432. package/fesm2022/aril-util-directives.mjs.map +1 -1
  433. package/fesm2022/aril-util-lib.mjs +3 -3
  434. package/fesm2022/aril-util-lib.mjs.map +1 -1
  435. package/fesm2022/aril-util-pipes.mjs +18 -18
  436. package/fesm2022/aril-util-pipes.mjs.map +1 -1
  437. package/fesm2022/aril-util-primitive-extensions.mjs.map +1 -1
  438. package/fesm2022/aril-util-pub-sub.mjs +3 -3
  439. package/fesm2022/aril-util-pub-sub.mjs.map +1 -1
  440. package/fesm2022/aril-util-sync-active-tab-route.mjs +4 -4
  441. package/fesm2022/aril-util-sync-active-tab-route.mjs.map +1 -1
  442. package/fesm2022/aril-util-unwrap.mjs +3 -3
  443. package/fesm2022/aril-util-unwrap.mjs.map +1 -1
  444. package/fesm2022/aril-util.mjs.map +1 -1
  445. package/fesm2022/aril.mjs +10 -6
  446. package/fesm2022/aril.mjs.map +1 -1
  447. package/http/index.d.ts +1 -0
  448. package/http/src/pathParam.d.ts +6 -0
  449. package/package.json +101 -101
  450. package/scripts/util/blockui.min.js +6 -6
  451. package/styles/ui/ui.common.scss +42 -42
  452. package/styles/util/blockui.css +56 -56
  453. package/theme/layout/app/breadcrumb/app.breadcrumb.component.d.ts +1 -0
  454. package/theme/layout/app/breadcrumb/app.breadcrumb.component.html +8 -8
  455. package/theme/layout/app/config/app.config.component.html +146 -146
  456. package/theme/layout/app/environment-banner/environment-banner.component.html +10 -10
  457. package/theme/layout/app/environment-banner/environment-banner.component.scss +103 -103
  458. package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.d.ts +17 -0
  459. package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.html +110 -110
  460. package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.scss +181 -181
  461. package/theme/layout/app/favorite-pages/favorite-pages.service.d.ts +2 -1
  462. package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.html +27 -27
  463. package/theme/layout/app/general-search/general-search.component.d.ts +17 -3
  464. package/theme/layout/app/general-search/general-search.component.html +61 -57
  465. package/theme/layout/app/general-search/general-search.component.scss +95 -27
  466. package/theme/layout/app/history/history-sidebar.component.d.ts +17 -0
  467. package/theme/layout/app/history/history-sidebar.component.html +87 -87
  468. package/theme/layout/app/history/history-sidebar.component.scss +182 -182
  469. package/theme/layout/app/layout/app.layout.component.html +27 -27
  470. package/theme/layout/app/notifications/notifications-sidebar.component.d.ts +17 -0
  471. package/theme/layout/app/notifications/notifications-sidebar.component.html +102 -102
  472. package/theme/layout/app/notifications/notifications-sidebar.component.scss +351 -351
  473. package/theme/layout/app/profileSidebar/app.profilesidebar.component.html +60 -60
  474. package/theme/layout/app/profileSidebar/app.profilesidebar.component.scss +344 -344
  475. package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.html +48 -48
  476. package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.scss +27 -27
  477. package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.html +71 -71
  478. package/theme/layout/app/site-map/site-map-sidebar.component.d.ts +17 -0
  479. package/theme/layout/app/site-map/site-map-sidebar.component.html +121 -121
  480. package/theme/layout/app/site-map/site-map-sidebar.component.scss +178 -178
  481. package/theme/layout/app/static-sidebar/static-sidebar.component.scss +420 -420
  482. package/theme/layout/app/topbar/app.topbar.component.d.ts +9 -0
  483. package/theme/layout/app/topbar/app.topbar.component.html +104 -88
  484. package/theme/layout/app/topbar/app.topbar.component.scss +230 -225
  485. package/theme/layout/index.d.ts +4 -0
  486. package/theme/layout/ng-package.json +6 -6
  487. package/theme/layout/service/app.layout.service.d.ts +1 -0
  488. package/theme/layout/service/interfaces/interfaces.d.ts +119 -0
  489. package/theme/layout/service/recent-search.service.d.ts +23 -0
  490. package/theme/layout/service/record-summary.service.d.ts +49 -0
  491. package/theme/layout/service/screen-visit.service.d.ts +47 -0
  492. package/theme/ng-package.json +6 -6
  493. package/theme/styles/layout/_animation.scss +53 -53
  494. package/theme/styles/layout/_breadcrumb.scss +31 -31
  495. package/theme/styles/layout/_config.scss +42 -42
  496. package/theme/styles/layout/_content.scss +61 -61
  497. package/theme/styles/layout/_expanded_sidebar.scss +511 -511
  498. package/theme/styles/layout/_layout_dark.scss +5 -5
  499. package/theme/styles/layout/_layout_dim.scss +5 -5
  500. package/theme/styles/layout/_layout_light.scss +5 -5
  501. package/theme/styles/layout/_main.scss +35 -35
  502. package/theme/styles/layout/_profile.scss +10 -10
  503. package/theme/styles/layout/_responsive.scss +153 -153
  504. package/theme/styles/layout/_sidebar_drawer.scss +234 -234
  505. package/theme/styles/layout/_sidebar_horizontal.scss +163 -163
  506. package/theme/styles/layout/_sidebar_reveal.scss +201 -201
  507. package/theme/styles/layout/_sidebar_slim.scss +144 -144
  508. package/theme/styles/layout/_sidebar_slim_plus.scss +168 -168
  509. package/theme/styles/layout/_sidebar_vertical.scss +156 -156
  510. package/theme/styles/layout/_topbar.scss +140 -140
  511. package/theme/styles/layout/_typography.scss +68 -68
  512. package/theme/styles/layout/_utils.scss +24 -24
  513. package/theme/styles/layout/layout.scss +25 -25
  514. package/theme/styles/layout/menutheme/_colorscheme.scss +11 -11
  515. package/theme/styles/layout/menutheme/_menutheme.scss +3 -3
  516. package/theme/styles/layout/menutheme/_primarycolor.scss +16 -16
  517. package/theme/styles/layout/menutheme/_transparent.scss +26 -26
  518. package/theme/styles/layout/preloading.scss +84 -84
  519. package/theme/styles/theme/base/_colors.scss +17 -17
  520. package/theme/styles/theme/base/_common.scss +89 -89
  521. package/theme/styles/theme/base/_components.scss +108 -108
  522. package/theme/styles/theme/base/_mixins.scss +337 -337
  523. package/theme/styles/theme/base/components/button/_button.scss +576 -576
  524. package/theme/styles/theme/base/components/button/_speeddial.scss +96 -96
  525. package/theme/styles/theme/base/components/button/_splitbutton.scss +348 -348
  526. package/theme/styles/theme/base/components/data/_carousel.scss +37 -37
  527. package/theme/styles/theme/base/components/data/_datatable.scss +338 -338
  528. package/theme/styles/theme/base/components/data/_dataview.scss +46 -46
  529. package/theme/styles/theme/base/components/data/_filter.scss +137 -137
  530. package/theme/styles/theme/base/components/data/_orderlist.scss +114 -114
  531. package/theme/styles/theme/base/components/data/_organizationchart.scss +50 -50
  532. package/theme/styles/theme/base/components/data/_paginator.scss +92 -92
  533. package/theme/styles/theme/base/components/data/_picklist.scss +114 -114
  534. package/theme/styles/theme/base/components/data/_table.scss +16 -16
  535. package/theme/styles/theme/base/components/data/_timeline.scss +35 -35
  536. package/theme/styles/theme/base/components/data/_tree.scss +150 -150
  537. package/theme/styles/theme/base/components/data/_treetable.scss +255 -255
  538. package/theme/styles/theme/base/components/data/_virtualscroller.scss +28 -28
  539. package/theme/styles/theme/base/components/file/_fileupload.scss +64 -64
  540. package/theme/styles/theme/base/components/input/_autocomplete.scss +141 -141
  541. package/theme/styles/theme/base/components/input/_calendar.scss +267 -267
  542. package/theme/styles/theme/base/components/input/_cascadeselect.scss +135 -135
  543. package/theme/styles/theme/base/components/input/_checkbox.scss +99 -99
  544. package/theme/styles/theme/base/components/input/_chips.scss +67 -67
  545. package/theme/styles/theme/base/components/input/_colorpicker.scss +19 -19
  546. package/theme/styles/theme/base/components/input/_dropdown.scss +151 -151
  547. package/theme/styles/theme/base/components/input/_editor.scss +122 -122
  548. package/theme/styles/theme/base/components/input/_inputgroup.scss +75 -75
  549. package/theme/styles/theme/base/components/input/_inputmask.scss +16 -16
  550. package/theme/styles/theme/base/components/input/_inputnumber.scss +28 -28
  551. package/theme/styles/theme/base/components/input/_inputswitch.scss +60 -60
  552. package/theme/styles/theme/base/components/input/_listbox.scss +97 -97
  553. package/theme/styles/theme/base/components/input/_multiselect.scss +177 -177
  554. package/theme/styles/theme/base/components/input/_password.scss +52 -52
  555. package/theme/styles/theme/base/components/input/_radiobutton.scss +78 -78
  556. package/theme/styles/theme/base/components/input/_rating.scss +60 -60
  557. package/theme/styles/theme/base/components/input/_selectbutton.scss +50 -50
  558. package/theme/styles/theme/base/components/input/_slider.scss +75 -75
  559. package/theme/styles/theme/base/components/input/_togglebutton.scss +48 -48
  560. package/theme/styles/theme/base/components/input/_treeselect.scss +139 -139
  561. package/theme/styles/theme/base/components/menu/_breadcrumb.scss +43 -43
  562. package/theme/styles/theme/base/components/menu/_contextmenu.scss +39 -39
  563. package/theme/styles/theme/base/components/menu/_dock.scss +95 -95
  564. package/theme/styles/theme/base/components/menu/_megamenu.scss +55 -55
  565. package/theme/styles/theme/base/components/menu/_menu.scss +37 -37
  566. package/theme/styles/theme/base/components/menu/_menubar.scss +140 -140
  567. package/theme/styles/theme/base/components/menu/_panelmenu.scss +153 -153
  568. package/theme/styles/theme/base/components/menu/_slidemenu.scss +59 -59
  569. package/theme/styles/theme/base/components/menu/_steps.scss +56 -56
  570. package/theme/styles/theme/base/components/menu/_tabmenu.scss +73 -73
  571. package/theme/styles/theme/base/components/menu/_tieredmenu.scss +43 -43
  572. package/theme/styles/theme/base/components/messages/_inlinemessage.scss +69 -69
  573. package/theme/styles/theme/base/components/messages/_message.scss +107 -107
  574. package/theme/styles/theme/base/components/messages/_toast.scss +99 -99
  575. package/theme/styles/theme/base/components/misc/_avatar.scss +30 -30
  576. package/theme/styles/theme/base/components/misc/_badge.scss +48 -48
  577. package/theme/styles/theme/base/components/misc/_chip.scss +42 -42
  578. package/theme/styles/theme/base/components/misc/_inplace.scss +16 -16
  579. package/theme/styles/theme/base/components/misc/_progressbar.scss +17 -17
  580. package/theme/styles/theme/base/components/misc/_scrolltop.scss +25 -25
  581. package/theme/styles/theme/base/components/misc/_skeleton.scss +8 -8
  582. package/theme/styles/theme/base/components/misc/_tag.scss +45 -45
  583. package/theme/styles/theme/base/components/misc/_terminal.scss +12 -12
  584. package/theme/styles/theme/base/components/multimedia/_galleria.scss +155 -155
  585. package/theme/styles/theme/base/components/multimedia/_image.scss +49 -49
  586. package/theme/styles/theme/base/components/overlay/_confirmpopup.scss +70 -70
  587. package/theme/styles/theme/base/components/overlay/_dialog.scss +69 -69
  588. package/theme/styles/theme/base/components/overlay/_overlaypanel.scss +62 -62
  589. package/theme/styles/theme/base/components/overlay/_tooltip.scss +33 -33
  590. package/theme/styles/theme/base/components/panel/_accordion.scss +119 -119
  591. package/theme/styles/theme/base/components/panel/_card.scss +30 -30
  592. package/theme/styles/theme/base/components/panel/_divider.scss +31 -31
  593. package/theme/styles/theme/base/components/panel/_fieldset.scss +47 -47
  594. package/theme/styles/theme/base/components/panel/_panel.scss +77 -77
  595. package/theme/styles/theme/base/components/panel/_scrollpanel.scss +6 -6
  596. package/theme/styles/theme/base/components/panel/_splitter.scss +19 -19
  597. package/theme/styles/theme/base/components/panel/_tabview.scss +91 -91
  598. package/theme/styles/theme/base/components/panel/_toolbar.scss +11 -11
  599. package/theme/styles/theme/dark/_extensions.scss +134 -134
  600. package/theme/styles/theme/dark/indigo/theme.scss +14 -14
  601. package/theme/styles/theme/light/_extensions.scss +116 -116
  602. package/theme/styles/theme/light/custom/theme.scss +16 -16
  603. package/theme/styles/theme/light/indigo/theme.scss +14 -14
  604. package/ui/autoComplete/src/auto-complete.component.d.ts +8 -8
  605. package/ui/badge/src/badge.component.d.ts +9 -9
  606. package/ui/button/src/button.component.d.ts +12 -12
  607. package/ui/button/src/split-button.component.d.ts +1 -1
  608. package/ui/calendar/src/calendar.component.d.ts +22 -22
  609. package/ui/charts/src/amCharts/column/column-chart.component.d.ts +4 -4
  610. package/ui/charts/src/amCharts/line/line-chart.component.d.ts +5 -5
  611. package/ui/charts/src/amCharts/pie/pie-chart.component.d.ts +4 -4
  612. package/ui/charts/src/highCharts/area/area-chart.component.d.ts +3 -3
  613. package/ui/charts/src/highCharts/bar/bar-chart.component.d.ts +7 -7
  614. package/ui/charts/src/highCharts/column/column-chart.component.d.ts +9 -9
  615. package/ui/charts/src/highCharts/gauge/solid-gauge.component.d.ts +3 -3
  616. package/ui/charts/src/highCharts/heatmap/heatMap-chart.component.d.ts +4 -4
  617. package/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.d.ts +5 -5
  618. package/ui/charts/src/highCharts/line/line-chart-series.component.d.ts +4 -4
  619. package/ui/charts/src/highCharts/line/line-chart.component.d.ts +4 -4
  620. package/ui/charts/src/highCharts/pie/pie-chart.component.d.ts +7 -7
  621. package/ui/checkbox/src/check-box.component.d.ts +3 -3
  622. package/ui/checkbox/src/tri-state-checkbox.component.d.ts +2 -2
  623. package/ui/chip/src/chip.component.d.ts +7 -7
  624. package/ui/collapse-reorder-list/src/collapse-reorder-list.component.d.ts +4 -4
  625. package/ui/dxEditor/src/dx-editor.component.d.ts +5 -5
  626. package/ui/dxField/src/dx-field.component.d.ts +5 -5
  627. package/ui/editor/src/aril-editor.component.d.ts +3 -3
  628. package/ui/field/src/field.component.d.ts +9 -9
  629. package/ui/fileUpload/src/file-upload.component.d.ts +14 -14
  630. package/ui/form/src/form-submit-button.component.d.ts +1 -1
  631. package/ui/form/src/form.component.d.ts +2 -2
  632. package/ui/img-viewer/src/img-viewer.component.d.ts +1 -1
  633. package/ui/lib/src/form/form-error-message.directive.d.ts +1 -1
  634. package/ui/lib/src/tooltip/tooltip-on-overflow.directive.d.ts +1 -1
  635. package/ui/mask/src/mask.component.d.ts +6 -6
  636. package/ui/multiSelect/src/multi-select.component.d.ts +13 -13
  637. package/ui/number/src/number.component.d.ts +15 -15
  638. package/ui/overlayPanel/src/overlay-panel.component.d.ts +1 -1
  639. package/ui/panel/src/panel.component.d.ts +6 -6
  640. package/ui/password/src/password.component.d.ts +4 -4
  641. package/ui/pdf-viewer/src/pdf-viewer.component.d.ts +12 -12
  642. package/ui/progressbar/src/progressbar.component.d.ts +3 -3
  643. package/ui/radioButton/src/radio-button.component.d.ts +3 -3
  644. package/ui/selectBox/src/select-box.component.d.ts +10 -10
  645. package/ui/switch/src/switch.component.d.ts +1 -1
  646. package/ui/table/src/export-overlay-panel.component.d.ts +2 -2
  647. package/ui/table/src/table-column.component.d.ts +11 -11
  648. package/ui/table/src/table.component.d.ts +36 -36
  649. package/ui/table-expand/src/table-column.component.d.ts +6 -6
  650. package/ui/table-expand/src/table.component.d.ts +21 -21
  651. package/ui/tag/src/tag.component.d.ts +4 -6
  652. package/ui/tagBox/src/tag-box.component.d.ts +7 -7
  653. package/ui/text/src/text.component.d.ts +5 -5
  654. package/ui/textArea/src/text-area.component.d.ts +5 -5
  655. package/ui/toggle-button/src/toggle-button.component.d.ts +1 -1
  656. package/ui/tooltip/src/tooltip-component.d.ts +8 -8
  657. package/ui/translate-input/src/aril-translate-input.component.d.ts +2 -2
  658. package/ui/tree/src/tree.component.d.ts +8 -8
  659. package/ui/treeSelect/src/treeSelect.component.d.ts +12 -12
  660. package/ui/treeTable/src/tree-table.component.d.ts +5 -5
  661. package/ui/value/src/value.component.d.ts +15 -15
  662. package/ui-business/assetPicker/src/asset-picker.component.d.ts +11 -11
  663. package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.d.ts +4 -6
  664. package/ui-business/enumPicker/src/enum-picker.component.d.ts +24 -24
  665. package/ui-business/image-viewer/src/aril-image-viewer.component.d.ts +8 -8
  666. package/ui-business/multiAssetPicker/src/multi-asset-picker.component.d.ts +15 -15
  667. package/ui-business/multiple-ref-value/src/multiple-ref-value.component.d.ts +2 -5
  668. package/ui-business/ref-value/src/ref-value.component.d.ts +5 -5
  669. package/ui-business/rolePicker/src/role-picker.component.d.ts +7 -7
  670. package/ui-business/trace-drawer/src/trace-drawer.component.d.ts +8 -8
  671. package/ui-business/trace-id/src/trace-id.component.d.ts +6 -6
  672. package/ui-business/userPicker/src/user-picker.component.d.ts +3 -3
  673. package/util/block/src/block.d.ts +4 -4
  674. package/util/lib/src/types.d.ts +17 -0
  675. package/fesm2022/aril-app.component-YBy2gyza.mjs.map +0 -1
  676. package/fesm2022/aril-boot-mfe-app.component-GbZAGlTf.mjs.map +0 -1
  677. package/fesm2022/aril-boot-mfe-aril-boot-mfe-I5xT2fQx.mjs.map +0 -1
  678. package/theme/index.ts +0 -1
  679. package/theme/layout/app/breadcrumb/app.breadcrumb.component.ts +0 -127
  680. package/theme/layout/app/config/app.config.component.ts +0 -143
  681. package/theme/layout/app/environment-banner/environment-banner.component.ts +0 -39
  682. package/theme/layout/app/expandableMenu/expandable-menu.component.ts +0 -387
  683. package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.ts +0 -260
  684. package/theme/layout/app/favorite-pages/favorite-pages.service.ts +0 -95
  685. package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.ts +0 -165
  686. package/theme/layout/app/general-search/general-search.component.ts +0 -93
  687. package/theme/layout/app/general-search/helpers.spec.ts +0 -527
  688. package/theme/layout/app/general-search/helpers.ts +0 -106
  689. package/theme/layout/app/general-search/models.ts +0 -142
  690. package/theme/layout/app/history/history-sidebar.component.ts +0 -143
  691. package/theme/layout/app/history/history.service.ts +0 -158
  692. package/theme/layout/app/layout/app.layout.component.ts +0 -171
  693. package/theme/layout/app/layout/mfe.layout.component.ts +0 -60
  694. package/theme/layout/app/notifications/notifications-sidebar.component.ts +0 -347
  695. package/theme/layout/app/profileSidebar/app.profilesidebar.component.ts +0 -203
  696. package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.ts +0 -178
  697. package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.ts +0 -251
  698. package/theme/layout/app/profileSidebar/profile.service.ts +0 -116
  699. package/theme/layout/app/site-map/site-map-sidebar.component.ts +0 -195
  700. package/theme/layout/app/static-sidebar/static-sidebar.component.ts +0 -357
  701. package/theme/layout/app/topbar/app.topbar.component.ts +0 -194
  702. package/theme/layout/index.ts +0 -9
  703. package/theme/layout/service/app.layout.service.ts +0 -308
  704. package/theme/layout/service/app.menu.service.ts +0 -53
  705. package/theme/layout/service/breadcrumb.service.ts +0 -14
  706. package/theme/layout/service/interfaces/enum.ts +0 -19
  707. package/theme/layout/service/interfaces/interfaces.ts +0 -164
  708. package/theme/layout/service/menu-action-confirm.ts +0 -112
  709. package/theme/layout/service/menuchangeevent.ts +0 -4
  710. package/theme/layout/service/notifications.service.ts +0 -31
  711. package/theme/layout/service/search.service.ts +0 -22
  712. package/theme/layout/service/selection-group.service.ts +0 -144
@@ -1,347 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { Component, OnInit, computed, effect, signal, untracked } from '@angular/core';
3
- import { toSignal } from '@angular/core/rxjs-interop';
4
- import { FormsModule } from '@angular/forms';
5
- import { Router } from '@angular/router';
6
-
7
- import { MenuItem } from 'primeng/api';
8
- import { Menu, MenuModule } from 'primeng/menu';
9
- import { SidebarModule } from 'primeng/sidebar';
10
- import { TooltipModule } from 'primeng/tooltip';
11
-
12
- import { IconProp } from '@fortawesome/fontawesome-svg-core';
13
- import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
14
- import { TranslocoModule, TranslocoService } from '@ngneat/transloco';
15
- import { KeycloakService } from 'keycloak-angular';
16
- import { map, mergeMap, Subject, switchMap } from 'rxjs';
17
-
18
- import { ButtonComponent } from 'aril/ui/button';
19
- import { SwitchComponent } from 'aril/ui/switch';
20
- import { regularIcons, solidIcons } from 'aril/util/lib';
21
- import { SafePipe } from 'aril/util/pipes';
22
-
23
- import { LayoutService } from '../../service/app.layout.service';
24
- import { ActivityTypesEnum, DetailNotificationTypeEnum } from '../../service/interfaces/enum';
25
- import { SmsEmailAuditResponseDTO } from '../../service/interfaces/interfaces';
26
- import { NotificationsService } from '../../service/notifications.service';
27
-
28
- @Component({
29
- standalone: true,
30
- selector: 'app-notifications-sidebar',
31
- imports: [
32
- CommonModule,
33
- FormsModule,
34
- SidebarModule,
35
- MenuModule,
36
- ButtonComponent,
37
- SwitchComponent,
38
- TranslocoModule,
39
- TooltipModule,
40
- FontAwesomeModule,
41
- SafePipe
42
- ],
43
- templateUrl: './notifications-sidebar.component.html',
44
- styleUrls: ['./notifications-sidebar.component.scss']
45
- })
46
- export class NotificationsSidebarComponent implements OnInit {
47
- private readonly pageSize = 10;
48
-
49
- notifications = signal<SmsEmailAuditResponseDTO[]>([]);
50
- totalRecords = signal(0);
51
- onlyUnread = signal(true);
52
- pageNumber = signal(1);
53
-
54
- remainingCount = computed(() => Math.max(this.totalRecords() - this.notifications().length, 0));
55
-
56
- menuItems: MenuItem[] = [];
57
-
58
- ActivityTypesEnum = ActivityTypesEnum;
59
- DetailNotificationTypeEnum = DetailNotificationTypeEnum;
60
-
61
- regularIcons = regularIcons;
62
- solidIcons = solidIcons;
63
-
64
- oneMonthAgo = new Date(new Date().getTime() - 30 * 24 * 60 * 60 * 1000);
65
-
66
- private subjects = {
67
- markAsRead: new Subject<string>(),
68
- markAllAsRead: new Subject<void>(),
69
- loadNotifications: new Subject<void>()
70
- };
71
-
72
- markAsReadService = toSignal(
73
- this.subjects.markAsRead.pipe(
74
- mergeMap((id) => this.notificationsService.markAsReadNotification(id).pipe(map((result) => ({ result, id }))))
75
- )
76
- );
77
-
78
- markAllAsReadService = toSignal(
79
- this.subjects.markAllAsRead.pipe(
80
- switchMap(() =>
81
- this.notificationsService.markAllAsReadNotification({
82
- toList: [this.getUserMail, ...this.getUserPhones],
83
- endDate: new Date().dateToLong('time') || 0
84
- })
85
- )
86
- )
87
- );
88
-
89
- loadNotificationsService = toSignal(
90
- this.subjects.loadNotifications.pipe(
91
- switchMap(() =>
92
- this.notificationsService.getNotifications({
93
- pager: {
94
- pageSize: this.pageSize,
95
- pageNumber: this.pageNumber()
96
- },
97
- startDate: this.oneMonthAgo.dateToLong('time') || 0,
98
- endDate: new Date().dateToLong('time') || 0,
99
- ...(this.onlyUnread() ? { read: false } : {}),
100
- toList: [this.getUserMail, ...this.getUserPhones]
101
- })
102
- )
103
- )
104
- );
105
-
106
- get getUserPhones(): string[] {
107
- const phones = this.keycloak.getKeycloakInstance().profile?.attributes?.['phone'];
108
- if (phones && Array.isArray(phones)) {
109
- return phones;
110
- } else if (phones && typeof phones === 'string') {
111
- return [phones];
112
- }
113
- return [];
114
- }
115
-
116
- get getUserMail() {
117
- return this.keycloak.getKeycloakInstance().profile?.email as string;
118
- }
119
-
120
- get unreadCount(): number {
121
- return this.layoutService.getUnreadNotificationCount();
122
- }
123
-
124
- get loading(): boolean {
125
- return !!this.notificationsService.states.getNotifications?.waitingForResponse;
126
- }
127
-
128
- constructor(
129
- public layoutService: LayoutService,
130
- private readonly notificationsService: NotificationsService,
131
- private readonly translocoService: TranslocoService,
132
- private readonly router: Router,
133
- private readonly keycloak: KeycloakService
134
- ) {
135
- this.initializeEffects();
136
- }
137
-
138
- ngOnInit(): void {
139
- this.subjects.loadNotifications.next();
140
- }
141
-
142
- private initializeEffects(): void {
143
- effect(
144
- () => {
145
- const service = this.loadNotificationsService();
146
- if (service?.response) {
147
- const result = service.response.result || [];
148
- const isFirstPage = untracked(this.pageNumber) === 1;
149
- this.notifications.update((current) =>
150
- isFirstPage ? result : [...current, ...result.filter((item) => !current.some((existing) => existing.id === item.id))]
151
- );
152
- this.totalRecords.set(service.response.resultInfo.totalItem || 0);
153
- if (untracked(this.onlyUnread)) {
154
- this.layoutService.setUnreadNotificationCount(service.response.resultInfo.totalItem || 0);
155
- }
156
- }
157
- },
158
- { allowSignalWrites: true }
159
- );
160
- effect(
161
- () => {
162
- const marked = this.markAsReadService();
163
- if (marked?.result?.response) {
164
- this.applyMarkedAsRead(marked.id);
165
- }
166
- },
167
- { allowSignalWrites: true }
168
- );
169
- effect(
170
- () => {
171
- const service = this.markAllAsReadService();
172
- if (service?.response) {
173
- this.applyAllMarkedAsRead();
174
- }
175
- },
176
- { allowSignalWrites: true }
177
- );
178
- }
179
-
180
- private applyMarkedAsRead(id: string): void {
181
- if (untracked(this.onlyUnread)) {
182
- this.notifications.update((items) => items.filter((item) => item.id !== id));
183
- this.totalRecords.update((total) => Math.max(total - 1, 0));
184
- } else {
185
- this.notifications.update((items) => items.map((item) => (item.id === id ? { ...item, read: true } : item)));
186
- }
187
- this.layoutService.setUnreadNotificationCount(Math.max(this.layoutService.getUnreadNotificationCount() - 1, 0));
188
- }
189
-
190
- private applyAllMarkedAsRead(): void {
191
- if (untracked(this.onlyUnread)) {
192
- this.notifications.set([]);
193
- this.totalRecords.set(0);
194
- } else {
195
- this.notifications.update((items) => items.map((item) => (item.read ? item : { ...item, read: true })));
196
- }
197
- this.layoutService.setUnreadNotificationCount(0);
198
- }
199
-
200
- get visible(): boolean {
201
- return this.layoutService.state.notificationsSidebarVisible;
202
- }
203
-
204
- set visible(value: boolean) {
205
- this.layoutService.state.notificationsSidebarVisible = value;
206
- }
207
-
208
- onOnlyUnreadChange(value: boolean): void {
209
- this.onlyUnread.set(value);
210
- this.pageNumber.set(1);
211
- this.notifications.set([]);
212
- this.subjects.loadNotifications.next();
213
- }
214
-
215
- onSidebarShow(): void {
216
- this.pageNumber.set(1);
217
- this.subjects.loadNotifications.next();
218
- }
219
-
220
- showMore(): void {
221
- this.pageNumber.set(Math.floor(this.notifications().length / this.pageSize) + 1);
222
- this.subjects.loadNotifications.next();
223
- }
224
-
225
- toggleMenu(event: Event, menu: Menu): void {
226
- this.menuItems = [
227
- ...(this.unreadCount > 0 ?
228
- [
229
- {
230
- label: this.translocoService.translate('notifications.markAllAsRead'),
231
- icon: 'pi pi-check-circle',
232
- command: () => this.subjects.markAllAsRead.next()
233
- }
234
- ]
235
- : []),
236
- {
237
- label: this.translocoService.translate('notifications.allNotificationsPage'),
238
- icon: 'pi pi-external-link',
239
- command: () => this.navigateToAllNotifications()
240
- }
241
- ];
242
- menu.toggle(event);
243
- }
244
-
245
- markNotificationAsRead(notification: SmsEmailAuditResponseDTO): void {
246
- if (!notification.read) {
247
- this.subjects.markAsRead.next(notification.id);
248
- }
249
- }
250
-
251
- openNotification(notification: SmsEmailAuditResponseDTO): void {
252
- const isTodo = notification.detailNotificationType === DetailNotificationTypeEnum.TODO_ITEM;
253
- const isBatch = notification.detailNotificationType === DetailNotificationTypeEnum.BATCH_JOB;
254
- if (!isTodo && !isBatch) {
255
- return;
256
- }
257
- this.markNotificationAsRead(notification);
258
- this.visible = false;
259
- const route = isTodo ? `mng/todo-tasks/detail/${notification.referenceId}` : `mng/bulk-operations/${notification.referenceId}`;
260
- this.router.navigate([route]);
261
- }
262
-
263
- isNavigable(notification: SmsEmailAuditResponseDTO): boolean {
264
- return (
265
- notification.detailNotificationType === DetailNotificationTypeEnum.TODO_ITEM ||
266
- notification.detailNotificationType === DetailNotificationTypeEnum.BATCH_JOB
267
- );
268
- }
269
-
270
- getNotificationIcon(notification: SmsEmailAuditResponseDTO): IconProp {
271
- if (notification.detailNotificationType === DetailNotificationTypeEnum.TODO_ITEM) {
272
- return solidIcons.faListCheck;
273
- }
274
- if (notification.detailNotificationType === DetailNotificationTypeEnum.BATCH_JOB) {
275
- return solidIcons.faGear;
276
- }
277
- if (notification.type === ActivityTypesEnum.SMS) {
278
- return regularIcons.faMessage;
279
- }
280
- return notification.read ? regularIcons.faEnvelopeOpen : regularIcons.faEnvelope;
281
- }
282
-
283
- getNotificationIconClass(notification: SmsEmailAuditResponseDTO): string {
284
- if (notification.detailNotificationType === DetailNotificationTypeEnum.TODO_ITEM) {
285
- return 'todo';
286
- }
287
- if (notification.detailNotificationType === DetailNotificationTypeEnum.BATCH_JOB) {
288
- return 'batch';
289
- }
290
- if (notification.type === ActivityTypesEnum.SMS) {
291
- return 'sms';
292
- }
293
- return notification.read ? 'email-read' : 'email-unread';
294
- }
295
-
296
- getNotificationTitle(notification: SmsEmailAuditResponseDTO): string {
297
- return notification.templateTitle || notification.templateCode || '';
298
- }
299
-
300
- getNotificationContent(notification: SmsEmailAuditResponseDTO): string {
301
- const truncated =
302
- notification.content?.length! > 200 ? notification.content?.substring(0, 200) + '...' : notification.content;
303
- return truncated || '';
304
- }
305
-
306
- formatNotificationDate(startDate: number | undefined): string {
307
- if (!startDate) {
308
- return '';
309
- }
310
- const dateStr = startDate.toString();
311
- const year = parseInt(dateStr.substring(0, 4));
312
- const month = parseInt(dateStr.substring(4, 6)) - 1;
313
- const day = parseInt(dateStr.substring(6, 8));
314
- const hour = parseInt(dateStr.substring(8, 10));
315
- const minute = parseInt(dateStr.substring(10, 12));
316
- const second = parseInt(dateStr.substring(12, 14));
317
-
318
- const notificationDate = new Date(year, month, day, hour, minute, second);
319
- const now = new Date();
320
- const diffMs = now.getTime() - notificationDate.getTime();
321
-
322
- const diffMinutes = Math.floor(diffMs / (1000 * 60));
323
- const diffHours = Math.floor(diffMs / (1000 * 60 * 60));
324
- const diffDays = Math.floor(diffMs / (1000 * 60 * 60 * 24));
325
- const diffWeeks = Math.floor(diffDays / 7);
326
- const diffMonths = Math.floor(diffDays / 30);
327
-
328
- if (diffMinutes < 1) {
329
- return this.translocoService.translate('notifications.time.justNow');
330
- } else if (diffMinutes < 60) {
331
- return this.translocoService.translate('notifications.time.minutesAgo', { count: diffMinutes });
332
- } else if (diffHours < 24) {
333
- return this.translocoService.translate('notifications.time.hoursAgo', { count: diffHours });
334
- } else if (diffDays < 7) {
335
- return this.translocoService.translate('notifications.time.daysAgo', { count: diffDays });
336
- } else if (diffWeeks < 4) {
337
- return this.translocoService.translate('notifications.time.weeksAgo', { count: diffWeeks });
338
- } else {
339
- return this.translocoService.translate('notifications.time.monthsAgo', { count: diffMonths });
340
- }
341
- }
342
-
343
- navigateToAllNotifications(): void {
344
- this.router.navigate(['mng/control-management/sms-email-audit']);
345
- this.visible = false;
346
- }
347
- }
@@ -1,203 +0,0 @@
1
- import { Component, OnInit, computed, effect, signal } from '@angular/core';
2
- import { toSignal } from '@angular/core/rxjs-interop';
3
-
4
- import { DialogService } from 'primeng/dynamicdialog';
5
- import { SidebarModule } from 'primeng/sidebar';
6
-
7
- import { TranslocoModule, TranslocoService } from '@ngneat/transloco';
8
- import { KeycloakService } from 'keycloak-angular';
9
- import { Subject, switchMap } from 'rxjs';
10
-
11
- import { API_CONFIGS } from 'aril/boot/config/api';
12
-
13
- import { LayoutService } from '../../service/app.layout.service';
14
- import { Environment } from '../../service/interfaces/enum';
15
- import { ChangePasswordModalComponent } from './modals/change-password-modal/change-password-modal.component';
16
- import { EditProfileModalComponent } from './modals/edit-profile-modal/edit-profile-modal.component';
17
- import { GetUserRequestDTO, ProfileService, UserResponseDTO } from './profile.service';
18
-
19
- type ProfileIconTint = 'cool' | 'accent' | 'teal';
20
- type ProfileBadgeTone = 'green' | 'red' | 'neutral';
21
-
22
- interface ProfileRow {
23
- icon: string;
24
- labelKey: string;
25
- tint: ProfileIconTint;
26
- value?: string | null;
27
- badge?: { tone: ProfileBadgeTone; labelKey?: string; label?: string };
28
- }
29
-
30
- @Component({
31
- standalone: true,
32
- selector: 'app-profilemenu',
33
- imports: [SidebarModule, TranslocoModule],
34
- templateUrl: './app.profilesidebar.component.html',
35
- styleUrls: ['./app.profilesidebar.component.scss'],
36
- providers: [DialogService]
37
- })
38
- export class AppProfileSidebarComponent implements OnInit {
39
- username: string;
40
- userProfile = signal<UserResponseDTO | null>(null);
41
- envCode = this.resolveEnvironmentCode();
42
-
43
- displayName = computed(() => {
44
- const profile = this.userProfile();
45
- const fullName = profile ? `${profile.firstName ?? ''} ${profile.lastName ?? ''}`.trim() : '';
46
- return fullName || this.username;
47
- });
48
-
49
- initials = computed(() =>
50
- this.displayName()
51
- .trim()
52
- .split(/\s+/)
53
- .filter(Boolean)
54
- .slice(0, 2)
55
- .map((word) => word[0])
56
- .join('')
57
- .toLocaleUpperCase('tr')
58
- );
59
-
60
- rows = computed<ProfileRow[]>(() => {
61
- const profile = this.userProfile();
62
- if (!profile) return [];
63
-
64
- const clientOfSystemUser = this.asText(profile.clientOfSystemUser);
65
-
66
- return [
67
- { icon: 'pi-id-card', labelKey: 'tcNumber', tint: 'cool', value: this.asText(profile.tckn) },
68
- { icon: 'pi-envelope', labelKey: 'email', tint: 'accent', value: this.asText(profile.email) },
69
- { icon: 'pi-phone', labelKey: 'phone', tint: 'teal', value: this.asText(profile.phone) },
70
- { icon: 'pi-at', labelKey: 'username', tint: 'cool', value: this.asText(profile.userName) },
71
- {
72
- icon: 'pi-verified',
73
- labelKey: 'accountStatus',
74
- tint: 'teal',
75
- badge: profile.enabled ? { tone: 'green', labelKey: 'active' } : { tone: 'red', labelKey: 'inactive' }
76
- },
77
- {
78
- icon: 'pi-shield',
79
- labelKey: 'systemUser',
80
- tint: 'accent',
81
- badge: profile.systemUser ? { tone: 'green', labelKey: 'yes' } : { tone: 'red', labelKey: 'no' }
82
- },
83
- {
84
- icon: 'pi-building',
85
- labelKey: 'clientSystemUser',
86
- tint: 'cool',
87
- badge: clientOfSystemUser ? { tone: 'green', label: clientOfSystemUser } : { tone: 'neutral', labelKey: 'no' }
88
- }
89
- ];
90
- });
91
-
92
- private subjects = {
93
- getUser: new Subject<GetUserRequestDTO>()
94
- };
95
-
96
- getUserService = toSignal(this.subjects.getUser.pipe(switchMap((data) => this.profileService.getUser(data))));
97
-
98
- constructor(
99
- public layoutService: LayoutService,
100
- private readonly keycloak: KeycloakService,
101
- private readonly profileService: ProfileService,
102
- private readonly dialogService: DialogService,
103
- private readonly translocoService: TranslocoService
104
- ) {
105
- this.username = this.keycloak.getUsername();
106
- this.initializeEffects();
107
- }
108
-
109
- ngOnInit(): void {
110
- this.loadUserProfile();
111
- }
112
-
113
- private initializeEffects(): void {
114
- effect(
115
- () => {
116
- const service = this.getUserService();
117
- if (service?.response) {
118
- this.userProfile.set(service.response);
119
- }
120
- },
121
- { allowSignalWrites: true }
122
- );
123
- }
124
-
125
- private loadUserProfile(): void {
126
- const userId = this.keycloak.getKeycloakInstance().idTokenParsed?.sub;
127
- if (userId) {
128
- this.subjects.getUser.next({ id: userId });
129
- }
130
- }
131
-
132
- private resolveEnvironmentCode(): string | null {
133
- switch (API_CONFIGS.environment) {
134
- case Environment.PER:
135
- return 'depsas';
136
- case Environment.DG:
137
- return 'dedas';
138
- default:
139
- return null;
140
- }
141
- }
142
-
143
- private asText(value?: string | string[] | null): string | null {
144
- const text = (Array.isArray(value) ? value.filter(Boolean).join(', ') : (value ?? '')).trim();
145
- return text.length ? text : null;
146
- }
147
-
148
- get visible(): boolean {
149
- return this.layoutService.state.profileSidebarVisible;
150
- }
151
-
152
- set visible(_val: boolean) {
153
- this.layoutService.state.profileSidebarVisible = _val;
154
- if (_val && !this.userProfile()) {
155
- this.loadUserProfile();
156
- }
157
- }
158
-
159
- logout(): void {
160
- this.keycloak.logout();
161
- }
162
-
163
- editProfile(): void {
164
- if (!this.userProfile()) return;
165
-
166
- const ref = this.dialogService.open(EditProfileModalComponent, {
167
- header: this.translocoService.translate('profileSidebar.editProfile'),
168
- width: '40%',
169
- height: 'auto',
170
- modal: true,
171
- maximizable: false,
172
- closable: true,
173
- data: {
174
- userProfile: this.userProfile()
175
- }
176
- });
177
-
178
- ref.onClose.subscribe((result) => {
179
- if (result?.status === 'success') {
180
- this.loadUserProfile();
181
- }
182
- });
183
- }
184
-
185
- changePassword(): void {
186
- const userId = this.keycloak.getKeycloakInstance().idTokenParsed?.sub;
187
- if (!userId) return;
188
-
189
- const ref = this.dialogService.open(ChangePasswordModalComponent, {
190
- header: this.translocoService.translate('profileSidebar.changePassword'),
191
- width: '500px',
192
- height: 'auto',
193
- modal: true,
194
- maximizable: false,
195
- closable: true,
196
- data: {
197
- userId: userId
198
- }
199
- });
200
-
201
- ref.onClose.subscribe();
202
- }
203
- }