aril 1.2.50 → 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 (748) 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/bridge/index.mjs +1 -1
  7. package/esm2022/boot/bridge/src/mfe-bridge.mjs +1 -1
  8. package/esm2022/boot/bridge/src/provide-mfe-bridge.mjs +1 -1
  9. package/esm2022/boot/config/api/index.mjs +1 -1
  10. package/esm2022/boot/config/api/src/api.service.mjs +1 -1
  11. package/esm2022/boot/config/api/src/interfaces.mjs +1 -1
  12. package/esm2022/boot/config/apps/index.mjs +1 -1
  13. package/esm2022/boot/config/apps/src/apps.service.mjs +4 -4
  14. package/esm2022/boot/config/apps/src/auth.guard.mjs +4 -4
  15. package/esm2022/boot/config/apps/src/interfaces.mjs +1 -1
  16. package/esm2022/boot/config/apps/src/reuse-strategy.mjs +1 -1
  17. package/esm2022/boot/config/apps/src/route-permissions.mjs +1 -1
  18. package/esm2022/boot/config/apps/src/showdowDOMWrapper.mjs +4 -4
  19. package/esm2022/boot/config/plugins/index.mjs +1 -1
  20. package/esm2022/boot/config/plugins/src/getNgZone.mjs +1 -1
  21. package/esm2022/boot/config/plugins/src/interfaces.mjs +1 -1
  22. package/esm2022/boot/config/plugins/src/plugins.service.mjs +1 -1
  23. package/esm2022/boot/config/translate/constants.mjs +1 -1
  24. package/esm2022/boot/config/translate/index.mjs +1 -1
  25. package/esm2022/boot/config/translate/primeng/i18n/tr.mjs +1 -1
  26. package/esm2022/boot/host/index.mjs +1 -1
  27. package/esm2022/boot/host/src/app.component.mjs +4 -4
  28. package/esm2022/boot/host/src/bootstrap.mjs +5 -1
  29. package/esm2022/boot/index.mjs +1 -1
  30. package/esm2022/boot/mfe/index.mjs +1 -1
  31. package/esm2022/boot/mfe/src/app.component.mjs +15 -15
  32. package/esm2022/boot/mfe/src/appComponentLoader.mjs +1 -1
  33. package/esm2022/boot/mfe/src/bootstrap.mjs +1 -1
  34. package/esm2022/boot/mfe/src/monaco.config.mjs +1 -1
  35. package/esm2022/boot/pages/index.mjs +1 -1
  36. package/esm2022/boot/pages/src/forbidden.component.mjs +53 -53
  37. package/esm2022/boot/pages/src/notFound.component.mjs +49 -49
  38. package/esm2022/http/index.mjs +2 -1
  39. package/esm2022/http/lib/enums.mjs +1 -1
  40. package/esm2022/http/lib/interfaces.mjs +1 -1
  41. package/esm2022/http/src/httpBackend.mjs +4 -4
  42. package/esm2022/http/src/httpClient.mjs +1 -1
  43. package/esm2022/http/src/interceptor/accept-language.interceptor.mjs +1 -1
  44. package/esm2022/http/src/pathParam.mjs +12 -0
  45. package/esm2022/http/src/serviceBase.mjs +38 -1
  46. package/esm2022/http/src/serviceMockBase.mjs +1 -1
  47. package/esm2022/http/src/serviceRequest.mjs +1 -1
  48. package/esm2022/http/src/serviceStateMethods.mjs +1 -1
  49. package/esm2022/i18n/index.mjs +1 -1
  50. package/esm2022/i18n/src/folder-name-token.mjs +1 -1
  51. package/esm2022/i18n/src/i18n.module.mjs +5 -5
  52. package/esm2022/i18n/src/loader.mjs +4 -4
  53. package/esm2022/i18n/src/provideI18n.mjs +1 -1
  54. package/esm2022/i18n/src/provideScope.mjs +1 -1
  55. package/esm2022/keycloak/src/auth.interceptor.mjs +1 -1
  56. package/esm2022/permission/index.mjs +1 -1
  57. package/esm2022/permission/src/constants.mjs +1 -1
  58. package/esm2022/permission/src/has-permission.directive.mjs +4 -4
  59. package/esm2022/permission/src/permission.service.mjs +4 -4
  60. package/esm2022/provider/index.mjs +1 -1
  61. package/esm2022/provider/src/index.mjs +1 -1
  62. package/esm2022/provider/src/prodiveHost.mjs +1 -1
  63. package/esm2022/provider/src/prodiveHostRouter.mjs +1 -1
  64. package/esm2022/provider/src/provideHostKeycloak.mjs +1 -1
  65. package/esm2022/provider/src/provideHostPermissions.mjs +1 -1
  66. package/esm2022/provider/src/provideLocaleId.mjs +1 -1
  67. package/esm2022/public-api.mjs +1 -1
  68. package/esm2022/superset/index.mjs +1 -1
  69. package/esm2022/theme/index.mjs +1 -1
  70. package/esm2022/theme/layout/app/breadcrumb/app.breadcrumb.component.mjs +7 -6
  71. package/esm2022/theme/layout/app/environment-banner/environment-banner.component.mjs +5 -5
  72. package/esm2022/theme/layout/app/expandableMenu/expandable-menu.component.mjs +5 -5
  73. package/esm2022/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.mjs +7 -6
  74. package/esm2022/theme/layout/app/favorite-pages/favorite-pages.service.mjs +7 -5
  75. package/esm2022/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.mjs +5 -5
  76. package/esm2022/theme/layout/app/general-search/general-search.component.mjs +71 -14
  77. package/esm2022/theme/layout/app/general-search/helpers.mjs +1 -1
  78. package/esm2022/theme/layout/app/general-search/models.mjs +1 -1
  79. package/esm2022/theme/layout/app/history/history-sidebar.component.mjs +5 -5
  80. package/esm2022/theme/layout/app/history/history.service.mjs +4 -4
  81. package/esm2022/theme/layout/app/layout/app.layout.component.mjs +9 -6
  82. package/esm2022/theme/layout/app/layout/mfe.layout.component.mjs +25 -25
  83. package/esm2022/theme/layout/app/notifications/notifications-sidebar.component.mjs +5 -5
  84. package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +5 -5
  85. package/esm2022/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.mjs +5 -5
  86. package/esm2022/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.mjs +5 -5
  87. package/esm2022/theme/layout/app/profileSidebar/profile.service.mjs +4 -4
  88. package/esm2022/theme/layout/app/site-map/site-map-sidebar.component.mjs +5 -5
  89. package/esm2022/theme/layout/app/static-sidebar/static-sidebar.component.mjs +5 -5
  90. package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +64 -7
  91. package/esm2022/theme/layout/index.mjs +5 -1
  92. package/esm2022/theme/layout/service/app.layout.service.mjs +6 -4
  93. package/esm2022/theme/layout/service/app.menu.service.mjs +4 -4
  94. package/esm2022/theme/layout/service/breadcrumb.service.mjs +4 -4
  95. package/esm2022/theme/layout/service/interfaces/enum.mjs +1 -1
  96. package/esm2022/theme/layout/service/interfaces/interfaces.mjs +1 -1
  97. package/esm2022/theme/layout/service/menu-action-confirm.mjs +1 -1
  98. package/esm2022/theme/layout/service/menuchangeevent.mjs +1 -1
  99. package/esm2022/theme/layout/service/notifications.service.mjs +4 -4
  100. package/esm2022/theme/layout/service/recent-search.service.mjs +100 -0
  101. package/esm2022/theme/layout/service/record-summary.service.mjs +398 -0
  102. package/esm2022/theme/layout/service/screen-visit.service.mjs +242 -0
  103. package/esm2022/theme/layout/service/search.service.mjs +4 -4
  104. package/esm2022/theme/layout/service/selection-group.service.mjs +4 -4
  105. package/esm2022/ui/autoComplete/index.mjs +1 -1
  106. package/esm2022/ui/autoComplete/src/auto-complete.component.mjs +5 -5
  107. package/esm2022/ui/autoComplete/src/interfaces.mjs +1 -1
  108. package/esm2022/ui/badge/index.mjs +1 -1
  109. package/esm2022/ui/badge/src/badge.component.mjs +5 -5
  110. package/esm2022/ui/button/index.mjs +1 -1
  111. package/esm2022/ui/button/src/button.component.mjs +5 -5
  112. package/esm2022/ui/button/src/split-button.component.mjs +5 -5
  113. package/esm2022/ui/calendar/index.mjs +1 -1
  114. package/esm2022/ui/calendar/src/calendar.component.mjs +5 -5
  115. package/esm2022/ui/charts/index.mjs +1 -1
  116. package/esm2022/ui/charts/src/amCharts/column/column-chart.component.mjs +4 -4
  117. package/esm2022/ui/charts/src/amCharts/line/line-chart.component.mjs +4 -4
  118. package/esm2022/ui/charts/src/amCharts/pie/pie-chart.component.mjs +4 -4
  119. package/esm2022/ui/charts/src/highCharts/area/area-chart.component.mjs +21 -21
  120. package/esm2022/ui/charts/src/highCharts/bar/bar-chart.component.mjs +16 -16
  121. package/esm2022/ui/charts/src/highCharts/column/column-chart.component.mjs +16 -16
  122. package/esm2022/ui/charts/src/highCharts/gauge/solid-gauge.component.mjs +21 -21
  123. package/esm2022/ui/charts/src/highCharts/heatmap/heatMap-chart.component.mjs +17 -17
  124. package/esm2022/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.mjs +17 -17
  125. package/esm2022/ui/charts/src/highCharts/line/line-chart-series.component.mjs +7 -7
  126. package/esm2022/ui/charts/src/highCharts/line/line-chart.component.mjs +4 -4
  127. package/esm2022/ui/charts/src/highCharts/pie/pie-chart.component.mjs +19 -19
  128. package/esm2022/ui/charts/src/theme/theme.mjs +1 -1
  129. package/esm2022/ui/checkbox/index.mjs +1 -1
  130. package/esm2022/ui/checkbox/src/check-box.component.mjs +5 -5
  131. package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +5 -5
  132. package/esm2022/ui/chip/src/chip.component.mjs +5 -5
  133. package/esm2022/ui/collapse-reorder-list/src/collapse-reorder-list.component.mjs +5 -5
  134. package/esm2022/ui/dxEditor/index.mjs +1 -1
  135. package/esm2022/ui/dxEditor/src/dx-editor.component.mjs +5 -5
  136. package/esm2022/ui/dxField/index.mjs +1 -1
  137. package/esm2022/ui/dxField/src/dx-field.component.mjs +5 -5
  138. package/esm2022/ui/editor/index.mjs +1 -1
  139. package/esm2022/ui/editor/src/aril-editor.component.mjs +5 -5
  140. package/esm2022/ui/editor/src/types.mjs +1 -1
  141. package/esm2022/ui/field/index.mjs +1 -1
  142. package/esm2022/ui/field/src/field.component.mjs +5 -5
  143. package/esm2022/ui/fileUpload/index.mjs +1 -1
  144. package/esm2022/ui/fileUpload/src/file-upload.component.mjs +5 -5
  145. package/esm2022/ui/form/index.mjs +5 -5
  146. package/esm2022/ui/form/src/form-submit-button.component.mjs +5 -5
  147. package/esm2022/ui/form/src/form.component.mjs +4 -4
  148. package/esm2022/ui/img-viewer/index.mjs +1 -1
  149. package/esm2022/ui/img-viewer/src/img-viewer.component.mjs +5 -5
  150. package/esm2022/ui/index.mjs +1 -1
  151. package/esm2022/ui/json-diff-comparison/index.mjs +1 -1
  152. package/esm2022/ui/json-diff-comparison/src/json-diff.component.mjs +5 -5
  153. package/esm2022/ui/lib/index.mjs +1 -1
  154. package/esm2022/ui/lib/src/form/form-error-message.component.mjs +11 -11
  155. package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +4 -4
  156. package/esm2022/ui/lib/src/form/form-field-builder.mjs +1 -1
  157. package/esm2022/ui/lib/src/form/form-validation.mjs +1 -1
  158. package/esm2022/ui/lib/src/grid/enum-color-picker.pipe.mjs +4 -4
  159. package/esm2022/ui/lib/src/grid/flex-grid.directive.mjs +4 -4
  160. package/esm2022/ui/lib/src/input/baseInput.mjs +1 -1
  161. package/esm2022/ui/lib/src/input/common-input-validators.service.mjs +4 -4
  162. package/esm2022/ui/lib/src/input/dx-input-error-message.pipe.mjs +4 -4
  163. package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +4 -4
  164. package/esm2022/ui/lib/src/input/input-error-message.pipe.mjs +4 -4
  165. package/esm2022/ui/lib/src/input/input-transforms.mjs +1 -1
  166. package/esm2022/ui/lib/src/input/value-accessor.directive.mjs +4 -4
  167. package/esm2022/ui/lib/src/tooltip/tooltip-on-overflow.directive.mjs +4 -4
  168. package/esm2022/ui/loader/index.mjs +1 -1
  169. package/esm2022/ui/loader/src/loader.component.mjs +5 -5
  170. package/esm2022/ui/mask/index.mjs +1 -1
  171. package/esm2022/ui/mask/src/mask.component.mjs +5 -5
  172. package/esm2022/ui/multiSelect/index.mjs +1 -1
  173. package/esm2022/ui/multiSelect/src/interfaces.mjs +1 -1
  174. package/esm2022/ui/multiSelect/src/multi-select.component.mjs +5 -5
  175. package/esm2022/ui/number/index.mjs +1 -1
  176. package/esm2022/ui/number/src/number.component.mjs +5 -5
  177. package/esm2022/ui/operation-types-dialog/index.mjs +1 -1
  178. package/esm2022/ui/operation-types-dialog/src/operation-types-dialog.component.mjs +13 -13
  179. package/esm2022/ui/overlayPanel/index.mjs +1 -1
  180. package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +5 -5
  181. package/esm2022/ui/panel/index.mjs +1 -1
  182. package/esm2022/ui/panel/src/panel.component.mjs +5 -5
  183. package/esm2022/ui/password/index.mjs +1 -1
  184. package/esm2022/ui/password/src/password.component.mjs +5 -5
  185. package/esm2022/ui/pdf-viewer/index.mjs +1 -1
  186. package/esm2022/ui/pdf-viewer/src/pdf-viewer.component.mjs +5 -5
  187. package/esm2022/ui/progressbar/index.mjs +1 -1
  188. package/esm2022/ui/progressbar/src/progressbar.component.mjs +5 -5
  189. package/esm2022/ui/radioButton/index.mjs +1 -1
  190. package/esm2022/ui/radioButton/src/radio-button.component.mjs +5 -5
  191. package/esm2022/ui/relativeDateSelector/src/enum.mjs +1 -1
  192. package/esm2022/ui/relativeDateSelector/src/relative-date-selector.component.mjs +5 -5
  193. package/esm2022/ui/selectBox/index.mjs +1 -1
  194. package/esm2022/ui/selectBox/src/interfaces.mjs +1 -1
  195. package/esm2022/ui/selectBox/src/select-box.component.mjs +5 -5
  196. package/esm2022/ui/switch/index.mjs +1 -1
  197. package/esm2022/ui/switch/src/switch.component.mjs +5 -5
  198. package/esm2022/ui/table/index.mjs +5 -5
  199. package/esm2022/ui/table/src/export-overlay-panel.component.mjs +129 -129
  200. package/esm2022/ui/table/src/interfaces.mjs +1 -1
  201. package/esm2022/ui/table/src/table-column.component.mjs +4 -4
  202. package/esm2022/ui/table/src/table.component.mjs +5 -5
  203. package/esm2022/ui/table-expand/index.mjs +5 -5
  204. package/esm2022/ui/table-expand/src/table-column.component.mjs +4 -4
  205. package/esm2022/ui/table-expand/src/table-expand-area.component.mjs +4 -4
  206. package/esm2022/ui/table-expand/src/table.component.mjs +5 -5
  207. package/esm2022/ui/tag/src/tag.component.mjs +5 -5
  208. package/esm2022/ui/tagBox/index.mjs +1 -1
  209. package/esm2022/ui/tagBox/src/tag-box.component.mjs +5 -5
  210. package/esm2022/ui/text/index.mjs +1 -1
  211. package/esm2022/ui/text/src/text.component.mjs +5 -5
  212. package/esm2022/ui/textArea/index.mjs +1 -1
  213. package/esm2022/ui/textArea/src/text-area.component.mjs +5 -5
  214. package/esm2022/ui/toggle-button/src/toggle-button.component.mjs +5 -5
  215. package/esm2022/ui/tooltip/index.mjs +1 -1
  216. package/esm2022/ui/tooltip/src/tooltip-component.mjs +5 -5
  217. package/esm2022/ui/translate-input/index.mjs +1 -1
  218. package/esm2022/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.mjs +5 -5
  219. package/esm2022/ui/translate-input/src/aril-lang-modal/constants.mjs +1 -1
  220. package/esm2022/ui/translate-input/src/aril-translate-input.component.mjs +27 -27
  221. package/esm2022/ui/translate-input/src/interface.mjs +1 -1
  222. package/esm2022/ui/tree/index.mjs +1 -1
  223. package/esm2022/ui/tree/src/tree.component.mjs +5 -5
  224. package/esm2022/ui/treeSelect/index.mjs +1 -1
  225. package/esm2022/ui/treeSelect/src/treeSelect.component.mjs +5 -5
  226. package/esm2022/ui/treeTable/index.mjs +1 -1
  227. package/esm2022/ui/treeTable/src/tree-table.component.mjs +5 -5
  228. package/esm2022/ui/value/index.mjs +1 -1
  229. package/esm2022/ui/value/src/value.component.mjs +5 -5
  230. package/esm2022/ui-business/assetPicker/index.mjs +1 -1
  231. package/esm2022/ui-business/assetPicker/src/asset-picker.component.mjs +22 -8
  232. package/esm2022/ui-business/assetPicker/src/interface.mjs +1 -1
  233. package/esm2022/ui-business/detailed-overlay-panel/index.mjs +1 -1
  234. package/esm2022/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.mjs +11 -5
  235. package/esm2022/ui-business/detailed-overlay-panel/src/interface.mjs +1 -1
  236. package/esm2022/ui-business/enumPicker/src/enum-picker.component.mjs +5 -5
  237. package/esm2022/ui-business/enumPicker/src/interface.mjs +1 -1
  238. package/esm2022/ui-business/image-viewer/src/aril-image-viewer.component.mjs +31 -31
  239. package/esm2022/ui-business/index.mjs +1 -1
  240. package/esm2022/ui-business/multiAssetPicker/index.mjs +1 -1
  241. package/esm2022/ui-business/multiAssetPicker/src/multi-asset-picker.component.mjs +5 -5
  242. package/esm2022/ui-business/multiple-ref-value/index.mjs +1 -1
  243. package/esm2022/ui-business/multiple-ref-value/src/multiple-ref-value.component.mjs +5 -5
  244. package/esm2022/ui-business/notification-templates-dialog/index.mjs +1 -1
  245. package/esm2022/ui-business/notification-templates-dialog/src/interface.mjs +1 -1
  246. package/esm2022/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.mjs +5 -5
  247. package/esm2022/ui-business/pdf-preview-modal/index.mjs +1 -1
  248. package/esm2022/ui-business/pdf-preview-modal/src/open-pdf-preview.mjs +1 -1
  249. package/esm2022/ui-business/pdf-preview-modal/src/pdf-preview-modal.component.mjs +29 -29
  250. package/esm2022/ui-business/ref-value/index.mjs +1 -1
  251. package/esm2022/ui-business/ref-value/src/ref-value.component.mjs +5 -5
  252. package/esm2022/ui-business/rolePicker/index.mjs +1 -1
  253. package/esm2022/ui-business/rolePicker/src/interface.mjs +1 -1
  254. package/esm2022/ui-business/rolePicker/src/role-picker.component.mjs +5 -5
  255. package/esm2022/ui-business/trace-drawer/index.mjs +1 -1
  256. package/esm2022/ui-business/trace-drawer/src/app-log.service.mjs +4 -4
  257. package/esm2022/ui-business/trace-drawer/src/interfaces.mjs +1 -1
  258. package/esm2022/ui-business/trace-drawer/src/trace-drawer.component.mjs +5 -5
  259. package/esm2022/ui-business/trace-drawer/src/trace-log.service.mjs +4 -4
  260. package/esm2022/ui-business/trace-id/index.mjs +1 -1
  261. package/esm2022/ui-business/trace-id/src/trace-id.component.mjs +5 -5
  262. package/esm2022/ui-business/userPicker/src/interface.mjs +1 -1
  263. package/esm2022/ui-business/userPicker/src/user-picker.component.mjs +5 -5
  264. package/esm2022/util/activity/index.mjs +1 -1
  265. package/esm2022/util/activity/src/activity.constants.mjs +1 -1
  266. package/esm2022/util/activity/src/activity.service.mjs +15 -4
  267. package/esm2022/util/activity/src/activity.types.mjs +1 -1
  268. package/esm2022/util/block/index.mjs +1 -1
  269. package/esm2022/util/block/src/block.mjs +7 -7
  270. package/esm2022/util/directives/index.mjs +1 -1
  271. package/esm2022/util/directives/src/detail-page-customization/detail-page-customization.directive.mjs +4 -4
  272. package/esm2022/util/directives/src/detail-page-customization/index.mjs +1 -1
  273. package/esm2022/util/directives/src/detail-page-customization/models.mjs +1 -1
  274. package/esm2022/util/directives/src/dialog-component/plugin-dialog.component.mjs +4 -4
  275. package/esm2022/util/directives/src/dialog-service/plugin-dialog.service.mjs +4 -4
  276. package/esm2022/util/lib/index.mjs +1 -1
  277. package/esm2022/util/lib/src/interfaces.mjs +1 -1
  278. package/esm2022/util/lib/src/module-router.mjs +4 -4
  279. package/esm2022/util/lib/src/types.mjs +1 -1
  280. package/esm2022/util/lib/src/validators/iban.validator.mjs +1 -1
  281. package/esm2022/util/lib/src/validators/identity.validator.mjs +1 -1
  282. package/esm2022/util/lib/src/validators/index.mjs +1 -1
  283. package/esm2022/util/lib/src/validators/max-array-length.validator.mjs +1 -1
  284. package/esm2022/util/lib/src/validators/min-array-length.validator.mjs +1 -1
  285. package/esm2022/util/lib/src/validators/tckn.validator.mjs +1 -1
  286. package/esm2022/util/lib/src/validators/validators.mjs +1 -1
  287. package/esm2022/util/pipes/index.mjs +1 -1
  288. package/esm2022/util/pipes/src/distance-to-now.pipe.mjs +4 -4
  289. package/esm2022/util/pipes/src/get-column-by-field.pipe.mjs +4 -4
  290. package/esm2022/util/pipes/src/parse.pipe.mjs +4 -4
  291. package/esm2022/util/pipes/src/round-number.pipe.mjs +4 -4
  292. package/esm2022/util/pipes/src/safe.pipe.mjs +4 -4
  293. package/esm2022/util/pipes/src/translate-json/translate-json.pipe.mjs +4 -4
  294. package/esm2022/util/primitive-extensions/index.mjs +1 -1
  295. package/esm2022/util/primitive-extensions/src/boolean.extensions.mjs +1 -1
  296. package/esm2022/util/primitive-extensions/src/date.extensions.mjs +1 -1
  297. package/esm2022/util/primitive-extensions/src/number.extensions.mjs +1 -1
  298. package/esm2022/util/primitive-extensions/src/string.extensions.mjs +1 -1
  299. package/esm2022/util/pub-sub/index.mjs +1 -1
  300. package/esm2022/util/pub-sub/src/pub-sub.service.mjs +4 -4
  301. package/esm2022/util/sync-active-tab-route/index.mjs +1 -1
  302. package/esm2022/util/sync-active-tab-route/src/sync-active-tab-route.directive.mjs +4 -4
  303. package/esm2022/util/unwrap/index.mjs +1 -1
  304. package/esm2022/util/unwrap/src/unwrap-tag.directive.mjs +4 -4
  305. package/fesm2022/{aril-app.component-BUjucZ0J.mjs → aril-app.component-Cimdqjv1.mjs} +15 -15
  306. package/fesm2022/aril-app.component-Cimdqjv1.mjs.map +1 -0
  307. package/fesm2022/aril-boot-base.mjs +4 -4
  308. package/fesm2022/aril-boot-base.mjs.map +1 -1
  309. package/fesm2022/aril-boot-bridge.mjs.map +1 -1
  310. package/fesm2022/aril-boot-config-api.mjs +1 -1
  311. package/fesm2022/aril-boot-config-api.mjs.map +1 -1
  312. package/fesm2022/aril-boot-config-apps.mjs +10 -10
  313. package/fesm2022/aril-boot-config-apps.mjs.map +1 -1
  314. package/fesm2022/aril-boot-config-plugins.mjs +1 -1
  315. package/fesm2022/aril-boot-config-plugins.mjs.map +1 -1
  316. package/fesm2022/aril-boot-config-translate.mjs.map +1 -1
  317. package/fesm2022/aril-boot-host.mjs +8 -4
  318. package/fesm2022/aril-boot-host.mjs.map +1 -1
  319. package/fesm2022/{aril-boot-mfe-app.component-D1w8I2ug.mjs → aril-boot-mfe-app.component-CCGhRwfE.mjs} +16 -16
  320. package/fesm2022/aril-boot-mfe-app.component-CCGhRwfE.mjs.map +1 -0
  321. package/fesm2022/{aril-boot-mfe-aril-boot-mfe-JHrhKvhU.mjs → aril-boot-mfe-aril-boot-mfe-BPwfk0s2.mjs} +4 -4
  322. package/fesm2022/aril-boot-mfe-aril-boot-mfe-BPwfk0s2.mjs.map +1 -0
  323. package/fesm2022/aril-boot-mfe.mjs +1 -1
  324. package/fesm2022/aril-boot-pages.mjs +100 -100
  325. package/fesm2022/aril-boot-pages.mjs.map +1 -1
  326. package/fesm2022/aril-boot.mjs.map +1 -1
  327. package/fesm2022/aril-http.mjs +53 -6
  328. package/fesm2022/aril-http.mjs.map +1 -1
  329. package/fesm2022/aril-i18n.mjs +7 -7
  330. package/fesm2022/aril-i18n.mjs.map +1 -1
  331. package/fesm2022/aril-keycloak.mjs.map +1 -1
  332. package/fesm2022/aril-permission.mjs +7 -7
  333. package/fesm2022/aril-permission.mjs.map +1 -1
  334. package/fesm2022/aril-provider.mjs +1 -1
  335. package/fesm2022/aril-provider.mjs.map +1 -1
  336. package/fesm2022/aril-theme-layout.mjs +1113 -285
  337. package/fesm2022/aril-theme-layout.mjs.map +1 -1
  338. package/fesm2022/aril-theme.mjs.map +1 -1
  339. package/fesm2022/aril-ui-autoComplete.mjs +7 -7
  340. package/fesm2022/aril-ui-autoComplete.mjs.map +1 -1
  341. package/fesm2022/aril-ui-badge.mjs +5 -5
  342. package/fesm2022/aril-ui-badge.mjs.map +1 -1
  343. package/fesm2022/aril-ui-business-assetPicker.mjs +23 -9
  344. package/fesm2022/aril-ui-business-assetPicker.mjs.map +1 -1
  345. package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs +12 -6
  346. package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs.map +1 -1
  347. package/fesm2022/aril-ui-business-enumPicker.mjs +6 -6
  348. package/fesm2022/aril-ui-business-enumPicker.mjs.map +1 -1
  349. package/fesm2022/aril-ui-business-image-viewer.mjs +30 -30
  350. package/fesm2022/aril-ui-business-image-viewer.mjs.map +1 -1
  351. package/fesm2022/aril-ui-business-multiAssetPicker.mjs +5 -5
  352. package/fesm2022/aril-ui-business-multiAssetPicker.mjs.map +1 -1
  353. package/fesm2022/aril-ui-business-multiple-ref-value.mjs +5 -5
  354. package/fesm2022/aril-ui-business-multiple-ref-value.mjs.map +1 -1
  355. package/fesm2022/aril-ui-business-notification-templates-dialog.mjs +4 -4
  356. package/fesm2022/aril-ui-business-notification-templates-dialog.mjs.map +1 -1
  357. package/fesm2022/aril-ui-business-pdf-preview-modal.mjs +28 -28
  358. package/fesm2022/aril-ui-business-pdf-preview-modal.mjs.map +1 -1
  359. package/fesm2022/aril-ui-business-ref-value.mjs +5 -5
  360. package/fesm2022/aril-ui-business-ref-value.mjs.map +1 -1
  361. package/fesm2022/aril-ui-business-rolePicker.mjs +5 -5
  362. package/fesm2022/aril-ui-business-rolePicker.mjs.map +1 -1
  363. package/fesm2022/aril-ui-business-trace-drawer.mjs +11 -11
  364. package/fesm2022/aril-ui-business-trace-drawer.mjs.map +1 -1
  365. package/fesm2022/aril-ui-business-trace-id.mjs +5 -5
  366. package/fesm2022/aril-ui-business-trace-id.mjs.map +1 -1
  367. package/fesm2022/aril-ui-business-userPicker.mjs +4 -4
  368. package/fesm2022/aril-ui-business-userPicker.mjs.map +1 -1
  369. package/fesm2022/aril-ui-business.mjs.map +1 -1
  370. package/fesm2022/aril-ui-button.mjs +9 -9
  371. package/fesm2022/aril-ui-button.mjs.map +1 -1
  372. package/fesm2022/aril-ui-calendar.mjs +4 -4
  373. package/fesm2022/aril-ui-calendar.mjs.map +1 -1
  374. package/fesm2022/aril-ui-charts.mjs +139 -139
  375. package/fesm2022/aril-ui-charts.mjs.map +1 -1
  376. package/fesm2022/aril-ui-checkbox.mjs +8 -8
  377. package/fesm2022/aril-ui-checkbox.mjs.map +1 -1
  378. package/fesm2022/aril-ui-chip.mjs +5 -5
  379. package/fesm2022/aril-ui-chip.mjs.map +1 -1
  380. package/fesm2022/aril-ui-collapse-reorder-list.mjs +5 -5
  381. package/fesm2022/aril-ui-collapse-reorder-list.mjs.map +1 -1
  382. package/fesm2022/aril-ui-dxEditor.mjs +5 -5
  383. package/fesm2022/aril-ui-dxEditor.mjs.map +1 -1
  384. package/fesm2022/aril-ui-dxField.mjs +5 -5
  385. package/fesm2022/aril-ui-dxField.mjs.map +1 -1
  386. package/fesm2022/aril-ui-editor.mjs +5 -5
  387. package/fesm2022/aril-ui-editor.mjs.map +1 -1
  388. package/fesm2022/aril-ui-field.mjs +5 -5
  389. package/fesm2022/aril-ui-field.mjs.map +1 -1
  390. package/fesm2022/aril-ui-fileUpload.mjs +5 -5
  391. package/fesm2022/aril-ui-fileUpload.mjs.map +1 -1
  392. package/fesm2022/aril-ui-form.mjs +12 -12
  393. package/fesm2022/aril-ui-form.mjs.map +1 -1
  394. package/fesm2022/aril-ui-img-viewer.mjs +4 -4
  395. package/fesm2022/aril-ui-img-viewer.mjs.map +1 -1
  396. package/fesm2022/aril-ui-json-diff-comparison.mjs +5 -5
  397. package/fesm2022/aril-ui-json-diff-comparison.mjs.map +1 -1
  398. package/fesm2022/aril-ui-lib.mjs +38 -38
  399. package/fesm2022/aril-ui-lib.mjs.map +1 -1
  400. package/fesm2022/aril-ui-loader.mjs +4 -4
  401. package/fesm2022/aril-ui-loader.mjs.map +1 -1
  402. package/fesm2022/aril-ui-mask.mjs +4 -4
  403. package/fesm2022/aril-ui-mask.mjs.map +1 -1
  404. package/fesm2022/aril-ui-multiSelect.mjs +4 -4
  405. package/fesm2022/aril-ui-multiSelect.mjs.map +1 -1
  406. package/fesm2022/aril-ui-number.mjs +4 -4
  407. package/fesm2022/aril-ui-number.mjs.map +1 -1
  408. package/fesm2022/aril-ui-operation-types-dialog.mjs +12 -12
  409. package/fesm2022/aril-ui-operation-types-dialog.mjs.map +1 -1
  410. package/fesm2022/aril-ui-overlayPanel.mjs +5 -5
  411. package/fesm2022/aril-ui-overlayPanel.mjs.map +1 -1
  412. package/fesm2022/aril-ui-panel.mjs +5 -5
  413. package/fesm2022/aril-ui-panel.mjs.map +1 -1
  414. package/fesm2022/aril-ui-password.mjs +4 -4
  415. package/fesm2022/aril-ui-password.mjs.map +1 -1
  416. package/fesm2022/aril-ui-pdf-viewer.mjs +4 -4
  417. package/fesm2022/aril-ui-pdf-viewer.mjs.map +1 -1
  418. package/fesm2022/aril-ui-progressbar.mjs +4 -4
  419. package/fesm2022/aril-ui-progressbar.mjs.map +1 -1
  420. package/fesm2022/aril-ui-radioButton.mjs +4 -4
  421. package/fesm2022/aril-ui-radioButton.mjs.map +1 -1
  422. package/fesm2022/aril-ui-relativeDateSelector.mjs +5 -5
  423. package/fesm2022/aril-ui-relativeDateSelector.mjs.map +1 -1
  424. package/fesm2022/aril-ui-selectBox.mjs +6 -6
  425. package/fesm2022/aril-ui-selectBox.mjs.map +1 -1
  426. package/fesm2022/aril-ui-switch.mjs +4 -4
  427. package/fesm2022/aril-ui-switch.mjs.map +1 -1
  428. package/fesm2022/aril-ui-table-expand.mjs +15 -15
  429. package/fesm2022/aril-ui-table-expand.mjs.map +1 -1
  430. package/fesm2022/aril-ui-table.mjs +141 -141
  431. package/fesm2022/aril-ui-table.mjs.map +1 -1
  432. package/fesm2022/aril-ui-tag.mjs +4 -4
  433. package/fesm2022/aril-ui-tag.mjs.map +1 -1
  434. package/fesm2022/aril-ui-tagBox.mjs +6 -6
  435. package/fesm2022/aril-ui-tagBox.mjs.map +1 -1
  436. package/fesm2022/aril-ui-text.mjs +4 -4
  437. package/fesm2022/aril-ui-text.mjs.map +1 -1
  438. package/fesm2022/aril-ui-textArea.mjs +4 -4
  439. package/fesm2022/aril-ui-textArea.mjs.map +1 -1
  440. package/fesm2022/aril-ui-toggle-button.mjs +5 -5
  441. package/fesm2022/aril-ui-toggle-button.mjs.map +1 -1
  442. package/fesm2022/aril-ui-tooltip.mjs +4 -4
  443. package/fesm2022/aril-ui-tooltip.mjs.map +1 -1
  444. package/fesm2022/aril-ui-translate-input.mjs +30 -30
  445. package/fesm2022/aril-ui-translate-input.mjs.map +1 -1
  446. package/fesm2022/aril-ui-tree.mjs +5 -5
  447. package/fesm2022/aril-ui-tree.mjs.map +1 -1
  448. package/fesm2022/aril-ui-treeSelect.mjs +5 -5
  449. package/fesm2022/aril-ui-treeSelect.mjs.map +1 -1
  450. package/fesm2022/aril-ui-treeTable.mjs +5 -5
  451. package/fesm2022/aril-ui-treeTable.mjs.map +1 -1
  452. package/fesm2022/aril-ui-value.mjs +6 -6
  453. package/fesm2022/aril-ui-value.mjs.map +1 -1
  454. package/fesm2022/aril-ui.mjs.map +1 -1
  455. package/fesm2022/aril-util-activity.mjs +14 -3
  456. package/fesm2022/aril-util-activity.mjs.map +1 -1
  457. package/fesm2022/aril-util-block.mjs +6 -6
  458. package/fesm2022/aril-util-block.mjs.map +1 -1
  459. package/fesm2022/aril-util-directives.mjs +10 -10
  460. package/fesm2022/aril-util-directives.mjs.map +1 -1
  461. package/fesm2022/aril-util-lib.mjs +3 -3
  462. package/fesm2022/aril-util-lib.mjs.map +1 -1
  463. package/fesm2022/aril-util-pipes.mjs +18 -18
  464. package/fesm2022/aril-util-pipes.mjs.map +1 -1
  465. package/fesm2022/aril-util-primitive-extensions.mjs.map +1 -1
  466. package/fesm2022/aril-util-pub-sub.mjs +3 -3
  467. package/fesm2022/aril-util-pub-sub.mjs.map +1 -1
  468. package/fesm2022/aril-util-sync-active-tab-route.mjs +4 -4
  469. package/fesm2022/aril-util-sync-active-tab-route.mjs.map +1 -1
  470. package/fesm2022/aril-util-unwrap.mjs +3 -3
  471. package/fesm2022/aril-util-unwrap.mjs.map +1 -1
  472. package/fesm2022/aril-util.mjs.map +1 -1
  473. package/fesm2022/aril.mjs +10 -6
  474. package/fesm2022/aril.mjs.map +1 -1
  475. package/http/index.d.ts +1 -0
  476. package/http/src/pathParam.d.ts +6 -0
  477. package/package.json +195 -195
  478. package/scripts/util/blockui.min.js +6 -6
  479. package/styles/ui/ui.common.scss +42 -42
  480. package/styles/util/blockui.css +56 -56
  481. package/theme/layout/app/breadcrumb/app.breadcrumb.component.d.ts +1 -0
  482. package/theme/layout/app/breadcrumb/app.breadcrumb.component.html +8 -8
  483. package/theme/layout/app/config/app.config.component.html +146 -146
  484. package/theme/layout/app/environment-banner/environment-banner.component.html +10 -10
  485. package/theme/layout/app/environment-banner/environment-banner.component.scss +103 -103
  486. package/theme/layout/app/expandableMenu/expandable-menu.component.html +137 -137
  487. package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.d.ts +17 -0
  488. package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.html +110 -110
  489. package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.scss +181 -181
  490. package/theme/layout/app/favorite-pages/favorite-pages.service.d.ts +2 -1
  491. package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.html +27 -27
  492. package/theme/layout/app/general-search/general-search.component.d.ts +17 -3
  493. package/theme/layout/app/general-search/general-search.component.html +61 -57
  494. package/theme/layout/app/general-search/general-search.component.scss +95 -27
  495. package/theme/layout/app/history/history-sidebar.component.d.ts +17 -0
  496. package/theme/layout/app/history/history-sidebar.component.html +87 -87
  497. package/theme/layout/app/history/history-sidebar.component.scss +182 -182
  498. package/theme/layout/app/layout/app.layout.component.html +27 -27
  499. package/theme/layout/app/notifications/notifications-sidebar.component.d.ts +17 -0
  500. package/theme/layout/app/notifications/notifications-sidebar.component.html +102 -102
  501. package/theme/layout/app/notifications/notifications-sidebar.component.scss +351 -351
  502. package/theme/layout/app/profileSidebar/app.profilesidebar.component.html +60 -60
  503. package/theme/layout/app/profileSidebar/app.profilesidebar.component.scss +344 -344
  504. package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.html +48 -48
  505. package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.scss +27 -27
  506. package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.html +71 -71
  507. package/theme/layout/app/site-map/site-map-sidebar.component.d.ts +17 -0
  508. package/theme/layout/app/site-map/site-map-sidebar.component.html +121 -121
  509. package/theme/layout/app/site-map/site-map-sidebar.component.scss +178 -178
  510. package/theme/layout/app/static-sidebar/static-sidebar.component.html +162 -162
  511. package/theme/layout/app/static-sidebar/static-sidebar.component.scss +420 -420
  512. package/theme/layout/app/topbar/app.topbar.component.d.ts +9 -0
  513. package/theme/layout/app/topbar/app.topbar.component.html +104 -88
  514. package/theme/layout/app/topbar/app.topbar.component.scss +230 -225
  515. package/theme/layout/index.d.ts +4 -0
  516. package/theme/layout/ng-package.json +6 -6
  517. package/theme/layout/service/app.layout.service.d.ts +1 -0
  518. package/theme/layout/service/interfaces/interfaces.d.ts +119 -0
  519. package/theme/layout/service/recent-search.service.d.ts +23 -0
  520. package/theme/layout/service/record-summary.service.d.ts +49 -0
  521. package/theme/layout/service/screen-visit.service.d.ts +47 -0
  522. package/theme/ng-package.json +6 -6
  523. package/theme/styles/layout/_animation.scss +53 -53
  524. package/theme/styles/layout/_breadcrumb.scss +31 -31
  525. package/theme/styles/layout/_config.scss +42 -42
  526. package/theme/styles/layout/_content.scss +61 -61
  527. package/theme/styles/layout/_expanded_sidebar.scss +511 -511
  528. package/theme/styles/layout/_fonts.scss +81 -81
  529. package/theme/styles/layout/_layout_dark.scss +5 -5
  530. package/theme/styles/layout/_layout_dim.scss +5 -5
  531. package/theme/styles/layout/_layout_light.scss +5 -5
  532. package/theme/styles/layout/_main.scss +35 -35
  533. package/theme/styles/layout/_profile.scss +10 -10
  534. package/theme/styles/layout/_responsive.scss +153 -153
  535. package/theme/styles/layout/_sidebar_drawer.scss +234 -234
  536. package/theme/styles/layout/_sidebar_horizontal.scss +163 -163
  537. package/theme/styles/layout/_sidebar_reveal.scss +201 -201
  538. package/theme/styles/layout/_sidebar_slim.scss +144 -144
  539. package/theme/styles/layout/_sidebar_slim_plus.scss +168 -168
  540. package/theme/styles/layout/_sidebar_vertical.scss +156 -156
  541. package/theme/styles/layout/_topbar.scss +140 -140
  542. package/theme/styles/layout/_typography.scss +68 -68
  543. package/theme/styles/layout/_utils.scss +24 -24
  544. package/theme/styles/layout/layout.scss +25 -25
  545. package/theme/styles/layout/menutheme/_colorscheme.scss +11 -11
  546. package/theme/styles/layout/menutheme/_menutheme.scss +3 -3
  547. package/theme/styles/layout/menutheme/_primarycolor.scss +16 -16
  548. package/theme/styles/layout/menutheme/_transparent.scss +26 -26
  549. package/theme/styles/layout/preloading.scss +84 -84
  550. package/theme/styles/theme/base/_colors.scss +17 -17
  551. package/theme/styles/theme/base/_common.scss +89 -89
  552. package/theme/styles/theme/base/_components.scss +108 -108
  553. package/theme/styles/theme/base/_mixins.scss +337 -337
  554. package/theme/styles/theme/base/components/button/_button.scss +576 -576
  555. package/theme/styles/theme/base/components/button/_speeddial.scss +96 -96
  556. package/theme/styles/theme/base/components/button/_splitbutton.scss +348 -348
  557. package/theme/styles/theme/base/components/data/_carousel.scss +37 -37
  558. package/theme/styles/theme/base/components/data/_datatable.scss +338 -338
  559. package/theme/styles/theme/base/components/data/_dataview.scss +46 -46
  560. package/theme/styles/theme/base/components/data/_filter.scss +137 -137
  561. package/theme/styles/theme/base/components/data/_orderlist.scss +114 -114
  562. package/theme/styles/theme/base/components/data/_organizationchart.scss +50 -50
  563. package/theme/styles/theme/base/components/data/_paginator.scss +92 -92
  564. package/theme/styles/theme/base/components/data/_picklist.scss +114 -114
  565. package/theme/styles/theme/base/components/data/_table.scss +16 -16
  566. package/theme/styles/theme/base/components/data/_timeline.scss +35 -35
  567. package/theme/styles/theme/base/components/data/_tree.scss +150 -150
  568. package/theme/styles/theme/base/components/data/_treetable.scss +255 -255
  569. package/theme/styles/theme/base/components/data/_virtualscroller.scss +28 -28
  570. package/theme/styles/theme/base/components/file/_fileupload.scss +64 -64
  571. package/theme/styles/theme/base/components/input/_autocomplete.scss +141 -141
  572. package/theme/styles/theme/base/components/input/_calendar.scss +267 -267
  573. package/theme/styles/theme/base/components/input/_cascadeselect.scss +135 -135
  574. package/theme/styles/theme/base/components/input/_checkbox.scss +99 -99
  575. package/theme/styles/theme/base/components/input/_chips.scss +67 -67
  576. package/theme/styles/theme/base/components/input/_colorpicker.scss +19 -19
  577. package/theme/styles/theme/base/components/input/_dropdown.scss +151 -151
  578. package/theme/styles/theme/base/components/input/_editor.scss +122 -122
  579. package/theme/styles/theme/base/components/input/_inputgroup.scss +75 -75
  580. package/theme/styles/theme/base/components/input/_inputmask.scss +16 -16
  581. package/theme/styles/theme/base/components/input/_inputnumber.scss +28 -28
  582. package/theme/styles/theme/base/components/input/_inputswitch.scss +60 -60
  583. package/theme/styles/theme/base/components/input/_inputtext.scss +104 -104
  584. package/theme/styles/theme/base/components/input/_listbox.scss +97 -97
  585. package/theme/styles/theme/base/components/input/_multiselect.scss +177 -177
  586. package/theme/styles/theme/base/components/input/_password.scss +52 -52
  587. package/theme/styles/theme/base/components/input/_radiobutton.scss +78 -78
  588. package/theme/styles/theme/base/components/input/_rating.scss +60 -60
  589. package/theme/styles/theme/base/components/input/_selectbutton.scss +50 -50
  590. package/theme/styles/theme/base/components/input/_slider.scss +75 -75
  591. package/theme/styles/theme/base/components/input/_togglebutton.scss +48 -48
  592. package/theme/styles/theme/base/components/input/_treeselect.scss +139 -139
  593. package/theme/styles/theme/base/components/menu/_breadcrumb.scss +43 -43
  594. package/theme/styles/theme/base/components/menu/_contextmenu.scss +39 -39
  595. package/theme/styles/theme/base/components/menu/_dock.scss +95 -95
  596. package/theme/styles/theme/base/components/menu/_megamenu.scss +55 -55
  597. package/theme/styles/theme/base/components/menu/_menu.scss +37 -37
  598. package/theme/styles/theme/base/components/menu/_menubar.scss +140 -140
  599. package/theme/styles/theme/base/components/menu/_panelmenu.scss +153 -153
  600. package/theme/styles/theme/base/components/menu/_slidemenu.scss +59 -59
  601. package/theme/styles/theme/base/components/menu/_steps.scss +56 -56
  602. package/theme/styles/theme/base/components/menu/_tabmenu.scss +73 -73
  603. package/theme/styles/theme/base/components/menu/_tieredmenu.scss +43 -43
  604. package/theme/styles/theme/base/components/messages/_inlinemessage.scss +69 -69
  605. package/theme/styles/theme/base/components/messages/_message.scss +107 -107
  606. package/theme/styles/theme/base/components/messages/_toast.scss +99 -99
  607. package/theme/styles/theme/base/components/misc/_avatar.scss +30 -30
  608. package/theme/styles/theme/base/components/misc/_badge.scss +48 -48
  609. package/theme/styles/theme/base/components/misc/_chip.scss +42 -42
  610. package/theme/styles/theme/base/components/misc/_inplace.scss +16 -16
  611. package/theme/styles/theme/base/components/misc/_progressbar.scss +17 -17
  612. package/theme/styles/theme/base/components/misc/_scrolltop.scss +25 -25
  613. package/theme/styles/theme/base/components/misc/_skeleton.scss +8 -8
  614. package/theme/styles/theme/base/components/misc/_tag.scss +45 -45
  615. package/theme/styles/theme/base/components/misc/_terminal.scss +12 -12
  616. package/theme/styles/theme/base/components/multimedia/_galleria.scss +155 -155
  617. package/theme/styles/theme/base/components/multimedia/_image.scss +49 -49
  618. package/theme/styles/theme/base/components/overlay/_confirmpopup.scss +70 -70
  619. package/theme/styles/theme/base/components/overlay/_dialog.scss +69 -69
  620. package/theme/styles/theme/base/components/overlay/_overlaypanel.scss +62 -62
  621. package/theme/styles/theme/base/components/overlay/_sidebar.scss +27 -27
  622. package/theme/styles/theme/base/components/overlay/_tooltip.scss +33 -33
  623. package/theme/styles/theme/base/components/panel/_accordion.scss +119 -119
  624. package/theme/styles/theme/base/components/panel/_card.scss +30 -30
  625. package/theme/styles/theme/base/components/panel/_divider.scss +31 -31
  626. package/theme/styles/theme/base/components/panel/_fieldset.scss +47 -47
  627. package/theme/styles/theme/base/components/panel/_panel.scss +77 -77
  628. package/theme/styles/theme/base/components/panel/_scrollpanel.scss +6 -6
  629. package/theme/styles/theme/base/components/panel/_splitter.scss +19 -19
  630. package/theme/styles/theme/base/components/panel/_stepper.scss +205 -205
  631. package/theme/styles/theme/base/components/panel/_tabview.scss +91 -91
  632. package/theme/styles/theme/base/components/panel/_toolbar.scss +11 -11
  633. package/theme/styles/theme/dark/_extensions.scss +134 -134
  634. package/theme/styles/theme/dark/_variables.scss +933 -933
  635. package/theme/styles/theme/dark/indigo/theme.scss +14 -14
  636. package/theme/styles/theme/light/_extensions.scss +116 -116
  637. package/theme/styles/theme/light/_variables.scss +940 -940
  638. package/theme/styles/theme/light/custom/theme.scss +16 -16
  639. package/theme/styles/theme/light/indigo/theme.scss +14 -14
  640. package/ui/autoComplete/src/auto-complete.component.d.ts +8 -8
  641. package/ui/badge/src/badge.component.d.ts +9 -9
  642. package/ui/button/src/button.component.d.ts +12 -12
  643. package/ui/button/src/split-button.component.d.ts +1 -1
  644. package/ui/calendar/src/calendar.component.d.ts +22 -22
  645. package/ui/charts/src/amCharts/column/column-chart.component.d.ts +4 -4
  646. package/ui/charts/src/amCharts/line/line-chart.component.d.ts +5 -5
  647. package/ui/charts/src/amCharts/pie/pie-chart.component.d.ts +4 -4
  648. package/ui/charts/src/highCharts/area/area-chart.component.d.ts +3 -3
  649. package/ui/charts/src/highCharts/bar/bar-chart.component.d.ts +7 -7
  650. package/ui/charts/src/highCharts/column/column-chart.component.d.ts +9 -9
  651. package/ui/charts/src/highCharts/gauge/solid-gauge.component.d.ts +3 -3
  652. package/ui/charts/src/highCharts/heatmap/heatMap-chart.component.d.ts +4 -4
  653. package/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.d.ts +5 -5
  654. package/ui/charts/src/highCharts/line/line-chart-series.component.d.ts +4 -4
  655. package/ui/charts/src/highCharts/line/line-chart.component.d.ts +4 -4
  656. package/ui/charts/src/highCharts/pie/pie-chart.component.d.ts +7 -7
  657. package/ui/checkbox/src/check-box.component.d.ts +3 -3
  658. package/ui/checkbox/src/tri-state-checkbox.component.d.ts +2 -2
  659. package/ui/chip/src/chip.component.d.ts +7 -7
  660. package/ui/collapse-reorder-list/src/collapse-reorder-list.component.d.ts +4 -4
  661. package/ui/dxEditor/src/dx-editor.component.d.ts +5 -5
  662. package/ui/dxField/src/dx-field.component.d.ts +5 -5
  663. package/ui/editor/src/aril-editor.component.d.ts +3 -3
  664. package/ui/field/src/field.component.d.ts +9 -9
  665. package/ui/fileUpload/src/file-upload.component.d.ts +14 -14
  666. package/ui/form/src/form-submit-button.component.d.ts +1 -1
  667. package/ui/form/src/form.component.d.ts +2 -2
  668. package/ui/img-viewer/src/img-viewer.component.d.ts +1 -1
  669. package/ui/lib/src/form/form-error-message.directive.d.ts +1 -1
  670. package/ui/lib/src/tooltip/tooltip-on-overflow.directive.d.ts +1 -1
  671. package/ui/mask/src/mask.component.d.ts +6 -6
  672. package/ui/multiSelect/src/multi-select.component.d.ts +13 -13
  673. package/ui/number/src/number.component.d.ts +15 -15
  674. package/ui/overlayPanel/src/overlay-panel.component.d.ts +1 -1
  675. package/ui/panel/src/panel.component.d.ts +6 -6
  676. package/ui/password/src/password.component.d.ts +4 -4
  677. package/ui/pdf-viewer/src/pdf-viewer.component.d.ts +12 -12
  678. package/ui/progressbar/src/progressbar.component.d.ts +3 -3
  679. package/ui/radioButton/src/radio-button.component.d.ts +3 -3
  680. package/ui/selectBox/src/select-box.component.d.ts +10 -10
  681. package/ui/switch/src/switch.component.d.ts +1 -1
  682. package/ui/table/src/export-overlay-panel.component.d.ts +2 -2
  683. package/ui/table/src/table-column.component.d.ts +11 -11
  684. package/ui/table/src/table.component.d.ts +36 -36
  685. package/ui/table-expand/src/table-column.component.d.ts +6 -6
  686. package/ui/table-expand/src/table.component.d.ts +21 -21
  687. package/ui/tag/src/tag.component.d.ts +4 -6
  688. package/ui/tagBox/src/tag-box.component.d.ts +7 -7
  689. package/ui/text/src/text.component.d.ts +5 -5
  690. package/ui/textArea/src/text-area.component.d.ts +5 -5
  691. package/ui/toggle-button/src/toggle-button.component.d.ts +1 -1
  692. package/ui/tooltip/src/tooltip-component.d.ts +8 -8
  693. package/ui/translate-input/src/aril-translate-input.component.d.ts +2 -2
  694. package/ui/tree/src/tree.component.d.ts +8 -8
  695. package/ui/treeSelect/src/treeSelect.component.d.ts +12 -12
  696. package/ui/treeTable/src/tree-table.component.d.ts +5 -5
  697. package/ui/value/src/value.component.d.ts +15 -15
  698. package/ui-business/assetPicker/src/asset-picker.component.d.ts +12 -11
  699. package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.d.ts +4 -6
  700. package/ui-business/enumPicker/src/enum-picker.component.d.ts +24 -24
  701. package/ui-business/image-viewer/src/aril-image-viewer.component.d.ts +8 -8
  702. package/ui-business/multiAssetPicker/src/multi-asset-picker.component.d.ts +15 -15
  703. package/ui-business/multiple-ref-value/src/multiple-ref-value.component.d.ts +2 -5
  704. package/ui-business/ref-value/src/ref-value.component.d.ts +5 -5
  705. package/ui-business/rolePicker/src/role-picker.component.d.ts +7 -7
  706. package/ui-business/trace-drawer/src/trace-drawer.component.d.ts +8 -8
  707. package/ui-business/trace-id/src/trace-id.component.d.ts +6 -6
  708. package/ui-business/userPicker/src/user-picker.component.d.ts +3 -3
  709. package/util/block/src/block.d.ts +4 -4
  710. package/util/lib/src/types.d.ts +17 -0
  711. package/fesm2022/aril-app.component-BUjucZ0J.mjs.map +0 -1
  712. package/fesm2022/aril-boot-mfe-app.component-D1w8I2ug.mjs.map +0 -1
  713. package/fesm2022/aril-boot-mfe-aril-boot-mfe-JHrhKvhU.mjs.map +0 -1
  714. package/theme/index.ts +0 -1
  715. package/theme/layout/app/breadcrumb/app.breadcrumb.component.ts +0 -127
  716. package/theme/layout/app/config/app.config.component.ts +0 -143
  717. package/theme/layout/app/environment-banner/environment-banner.component.ts +0 -39
  718. package/theme/layout/app/expandableMenu/expandable-menu.component.ts +0 -387
  719. package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.ts +0 -260
  720. package/theme/layout/app/favorite-pages/favorite-pages.service.ts +0 -95
  721. package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.ts +0 -165
  722. package/theme/layout/app/general-search/general-search.component.ts +0 -93
  723. package/theme/layout/app/general-search/helpers.spec.ts +0 -527
  724. package/theme/layout/app/general-search/helpers.ts +0 -106
  725. package/theme/layout/app/general-search/models.ts +0 -142
  726. package/theme/layout/app/history/history-sidebar.component.ts +0 -143
  727. package/theme/layout/app/history/history.service.ts +0 -158
  728. package/theme/layout/app/layout/app.layout.component.ts +0 -171
  729. package/theme/layout/app/layout/mfe.layout.component.ts +0 -60
  730. package/theme/layout/app/notifications/notifications-sidebar.component.ts +0 -347
  731. package/theme/layout/app/profileSidebar/app.profilesidebar.component.ts +0 -203
  732. package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.ts +0 -178
  733. package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.ts +0 -251
  734. package/theme/layout/app/profileSidebar/profile.service.ts +0 -116
  735. package/theme/layout/app/site-map/site-map-sidebar.component.ts +0 -195
  736. package/theme/layout/app/static-sidebar/static-sidebar.component.ts +0 -357
  737. package/theme/layout/app/topbar/app.topbar.component.ts +0 -194
  738. package/theme/layout/index.ts +0 -9
  739. package/theme/layout/service/app.layout.service.ts +0 -308
  740. package/theme/layout/service/app.menu.service.ts +0 -53
  741. package/theme/layout/service/breadcrumb.service.ts +0 -14
  742. package/theme/layout/service/interfaces/enum.ts +0 -19
  743. package/theme/layout/service/interfaces/interfaces.ts +0 -164
  744. package/theme/layout/service/menu-action-confirm.ts +0 -112
  745. package/theme/layout/service/menuchangeevent.ts +0 -4
  746. package/theme/layout/service/notifications.service.ts +0 -31
  747. package/theme/layout/service/search.service.ts +0 -22
  748. package/theme/layout/service/selection-group.service.ts +0 -144
@@ -1,387 +0,0 @@
1
- import { NgClass } from '@angular/common';
2
- import { HttpClient } from '@angular/common/http';
3
- import { Component, HostListener, OnDestroy, OnInit, Signal } from '@angular/core';
4
- import { toSignal } from '@angular/core/rxjs-interop';
5
- import { NavigationEnd, Router, RouterLink } from '@angular/router';
6
-
7
- import { ConfirmationService } from 'primeng/api';
8
- import { TooltipModule } from 'primeng/tooltip';
9
-
10
- import { TranslocoService } from '@ngneat/transloco';
11
- import { KeycloakService } from 'keycloak-angular';
12
- import { Subscription, filter } from 'rxjs';
13
-
14
- import { bridge } from 'aril/boot/bridge';
15
- import { PluginMenuItem } from 'aril/boot/config/apps';
16
- import { TranslateJsonPipe } from 'aril/util/pipes';
17
-
18
- import { LayoutService } from '../../service/app.layout.service';
19
- import { AppMenuService } from '../../service/app.menu.service';
20
- import { confirmMenuAction, isGetAction } from '../../service/menu-action-confirm';
21
-
22
- @Component({
23
- standalone: true,
24
- selector: 'app-expandable-menu',
25
- imports: [RouterLink, NgClass, TooltipModule],
26
- templateUrl: 'expandable-menu.component.html',
27
- providers: [TranslateJsonPipe]
28
- })
29
- export class ExpandableMenuComponent implements OnInit, OnDestroy {
30
- activeLang: Signal<string>;
31
- overlayMenuOpenSubscription: Subscription | null = null;
32
- routerSubscription: Subscription | null = null;
33
- username: string;
34
-
35
- cachedMenuItems: PluginMenuItem[] = [];
36
-
37
- selectedMainMenuItem: PluginMenuItem | null = null;
38
-
39
- get sidebarExpanded(): boolean {
40
- return this.layoutService.state.secondarySidebarExpanded;
41
- }
42
-
43
- set sidebarExpanded(value: boolean) {
44
- this.layoutService.setSecondarySidebarExpanded(value);
45
- }
46
-
47
- tooltipText = {
48
- toggleButton: {
49
- expanded: {
50
- tr: 'Menüyü Gizle',
51
- en: 'Hide Menu'
52
- },
53
- collapsed: {
54
- tr: 'Menüyü Göster',
55
- en: 'Show Menu'
56
- }
57
- },
58
- lockButton: {
59
- locked: {
60
- tr: 'Otomatik Kapanmayı Aç',
61
- en: 'Enable Auto-Close'
62
- },
63
- unlocked: {
64
- tr: 'Menüyü Kilitle',
65
- en: 'Lock Menu'
66
- }
67
- }
68
- };
69
-
70
- private readonly MAX_LENGTH = {
71
- main: 8,
72
- secondary: 20,
73
- tertiary: 20
74
- };
75
-
76
- actionLoadingItems = new Set<string>();
77
- private actionSubscription: Subscription | null = null;
78
-
79
- constructor(
80
- private translateJsonPipe: TranslateJsonPipe,
81
- private menuService: AppMenuService,
82
- private router: Router,
83
- private keycloak: KeycloakService,
84
- private translocoService: TranslocoService,
85
- private layoutService: LayoutService,
86
- private http: HttpClient,
87
- private confirmationService: ConfirmationService
88
- ) {
89
- this.activeLang = toSignal(this.translocoService.langChanges$, { initialValue: 'tr' });
90
- this.username = this.keycloak.getUsername().charAt(0).toUpperCase();
91
- }
92
-
93
- // Getter for layout service states
94
- get selectedMainItem(): number | null {
95
- return this.layoutService.state.selectedMainItem;
96
- }
97
-
98
- get secondarySidebarExpanded(): boolean {
99
- return this.layoutService.state.secondarySidebarExpanded;
100
- }
101
-
102
- // Check if text is truncated and needs tooltip
103
- isTextTruncated(
104
- label: any,
105
- lang: string | null,
106
- menuType: 'main' | 'secondary' | 'tertiary' | 'nested' = 'secondary'
107
- ): boolean {
108
- if (!label || !lang || !label[lang]) return false;
109
-
110
- const text = label[lang];
111
- const textLength = text.length;
112
- const maxLength = menuType === 'nested' ? this.MAX_LENGTH.tertiary : this.MAX_LENGTH[menuType];
113
- return textLength > maxLength;
114
- }
115
-
116
- // Recursively check if a menu item or its children match the current route
117
- isActiveRoute(menuItem: PluginMenuItem): boolean {
118
- if (!menuItem || !menuItem.routerLink) return false;
119
-
120
- // Get current URL path after the hash
121
- const currentUrl = this.router.url;
122
- const hashUrl = currentUrl.indexOf('#') > -1 ? currentUrl.split('#')[1] : currentUrl;
123
-
124
- // Check for exact match first
125
- if (hashUrl === menuItem.routerLink || hashUrl === '/' + menuItem.routerLink) {
126
- return true;
127
- }
128
-
129
- // Check if current URL starts with the routerLink (handles child routes)
130
- if (
131
- menuItem.routerLink !== '/' &&
132
- (hashUrl.startsWith(menuItem.routerLink + '/') || hashUrl.startsWith('/' + menuItem.routerLink + '/'))
133
- ) {
134
- return true;
135
- }
136
-
137
- // Check child items if they exist
138
- if (menuItem.items && menuItem.items.length > 0) {
139
- return menuItem.items.some((childItem) => this.isActiveRoute(childItem));
140
- }
141
-
142
- return false;
143
- }
144
-
145
- ngOnInit() {
146
- this.updateMenuItems();
147
- this.initializeMenu();
148
- this.updateActiveMenuFromCurrentRoute();
149
-
150
- // Subscribe to route changes to handle secondary sidebar closing
151
- this.routerSubscription = this.router.events
152
- .pipe(filter((event) => event instanceof NavigationEnd))
153
- .subscribe(() => {
154
- // Update active menu based on the new route
155
- this.updateActiveMenuFromCurrentRoute();
156
- });
157
-
158
- // Subscribe to overlay menu open notifications
159
- this.overlayMenuOpenSubscription = this.layoutService.overlayOpen$.subscribe(() => {
160
- if (this.layoutService.state.staticMenuMobileActive) {
161
- this.layoutService.setSecondarySidebarExpanded(true);
162
- }
163
- });
164
- }
165
-
166
- ngOnDestroy() {
167
- if (this.overlayMenuOpenSubscription) {
168
- this.overlayMenuOpenSubscription.unsubscribe();
169
- }
170
-
171
- if (this.routerSubscription) {
172
- this.routerSubscription.unsubscribe();
173
- }
174
-
175
- this.actionSubscription?.unsubscribe();
176
- }
177
-
178
- // Initialize the menu with proper active state
179
- initializeMenu() {
180
- this.layoutService.setSelectedMainItem(null);
181
- this.selectedMainMenuItem = null;
182
- this.layoutService.setSecondarySidebarExpanded(false);
183
- this.updateMenuItems();
184
- }
185
-
186
- updateMenuFromRootKey(index: number): void {
187
- this.updateMenuItems();
188
- const menuItems = this.getMenuItems();
189
-
190
- if (index >= 0 && index < menuItems.length) {
191
- const item = menuItems[index];
192
- if (!item.separator) {
193
- this.layoutService.setSelectedMainItem(index);
194
- this.selectedMainMenuItem = item;
195
- this.layoutService.setSecondarySidebarExpanded(true);
196
- }
197
- }
198
- }
199
-
200
- updateMenuItems(): void {
201
- this.cachedMenuItems = bridge.isHostMode() ? bridge.hostMenuItems() : this.menuService.menuItems();
202
- }
203
-
204
- getMenuItems(): PluginMenuItem[] {
205
- return this.cachedMenuItems;
206
- }
207
-
208
- selectMainItem(index: number, item: PluginMenuItem): void {
209
- // Handle action items at top level
210
- if (item.action && (!item.items || item.items.length === 0)) {
211
- this.onActionItemClick(item);
212
- return;
213
- }
214
-
215
- if (item.routerLink && (!item.items || item.items.length === 0)) {
216
- this.layoutService.setSecondarySidebarExpanded(false);
217
- this.layoutService.setSelectedMainItem(index);
218
- this.selectedMainMenuItem = item;
219
- this.router.navigate([item.routerLink]);
220
- return;
221
- }
222
-
223
- // Handle regular menu items with submenu
224
- if (this.selectedMainItem === index) {
225
- this.layoutService.toggleSecondarySidebar();
226
- } else {
227
- this.layoutService.setSelectedMainItem(index);
228
- this.selectedMainMenuItem = item;
229
-
230
- if (item.items && item.items.length > 0) {
231
- this.layoutService.setSecondarySidebarExpanded(true);
232
- } else {
233
- this.layoutService.setSecondarySidebarExpanded(false);
234
- }
235
- }
236
-
237
- // For mobile devices, ensure the menu stays open
238
- if (this.isMobile()) {
239
- this.layoutService.state.staticMenuMobileActive = true;
240
- }
241
- }
242
-
243
- toggleSecondarySidebar(): void {
244
- this.layoutService.toggleSecondarySidebar();
245
- }
246
-
247
- isMobile(): boolean {
248
- return this.layoutService.isMobile();
249
- }
250
-
251
- // Listen for resize events - now handled more efficiently by layout service
252
- @HostListener('window:resize')
253
- onResize() {
254
- if (!this.isMobile() && this.layoutService.state.staticMenuMobileActive) {
255
- this.layoutService.closeMobileMenu();
256
- }
257
- }
258
-
259
- updateActiveMenuFromCurrentRoute(): void {
260
- const menuItems = this.getMenuItems();
261
-
262
- for (let i = 0; i < menuItems.length; i++) {
263
- const menuItem = menuItems[i];
264
- if (this.isActiveRoute(menuItem)) {
265
- this.layoutService.setSelectedMainItem(i);
266
- this.selectedMainMenuItem = menuItem;
267
-
268
- if (menuItem.items && menuItem.items.length > 0) {
269
- if (!this.isMobile() && !this.secondarySidebarExpanded && !this.layoutService.state.staticMenuMobileActive) {
270
- this.layoutService.setSecondarySidebarExpanded(true);
271
- }
272
- } else {
273
- this.layoutService.setSecondarySidebarExpanded(false);
274
- }
275
- return;
276
- }
277
- }
278
- }
279
-
280
- isHaveSelectedChildItem(item: PluginMenuItem): boolean {
281
- if (!item || !item.items || item.items.length === 0) return false;
282
-
283
- for (const child of item.items) {
284
- if (this.isActiveRoute(child)) {
285
- return true;
286
- }
287
-
288
- if (child.items && child.items.length > 0) {
289
- if (this.isHaveSelectedChildItem(child)) {
290
- return true;
291
- }
292
- }
293
- }
294
-
295
- return false;
296
- }
297
-
298
- getLocalText(text: any): string {
299
- return this.translateJsonPipe.transform(text);
300
- }
301
-
302
- getActionItemKey(item: PluginMenuItem): string {
303
- return item.action?.url + '|' + item.action?.successRoute;
304
- }
305
-
306
- isActionLoading(item: PluginMenuItem): boolean {
307
- return this.actionLoadingItems.has(this.getActionItemKey(item));
308
- }
309
-
310
- onActionItemClick(item: PluginMenuItem, event?: Event): void {
311
- if (event) {
312
- event.preventDefault();
313
- event.stopPropagation();
314
- }
315
-
316
- if (!item.action || this.isActionLoading(item)) return;
317
-
318
- confirmMenuAction(
319
- { confirmationService: this.confirmationService, translocoService: this.translocoService },
320
- item.action,
321
- this.getLocalText(item.label),
322
- () => this.runActionItem(item)
323
- );
324
- }
325
-
326
- private runActionItem(item: PluginMenuItem): void {
327
- if (!item.action) return;
328
-
329
- // Cancel any previous action request
330
- this.actionSubscription?.unsubscribe();
331
-
332
- const key = this.getActionItemKey(item);
333
- this.actionLoadingItems.add(key);
334
-
335
- const request$ =
336
- isGetAction(item.action)
337
- ? this.http.get(item.action.url)
338
- : this.http.post(item.action.url, item.action.body ?? {});
339
-
340
- this.actionSubscription = request$.subscribe({
341
- next: (response: any) => {
342
- this.actionLoadingItems.delete(key);
343
- const route = this.buildSuccessRoute(item.action!, response);
344
- this.router.navigate([route]);
345
- },
346
- error: () => {
347
- this.actionLoadingItems.delete(key);
348
- }
349
- });
350
- }
351
-
352
- private buildSuccessRoute(action: PluginMenuItem['action'], response: any): string {
353
- if (!action?.successRouteResponseKey) return action?.successRoute ?? '/';
354
-
355
- const value = this.getValueByPath(response, action.successRouteResponseKey);
356
- if (value === undefined || value === null) return action.successRoute;
357
-
358
- return `${action.successRoute}/${value}`;
359
- }
360
-
361
- private getValueByPath(obj: any, path: string): any {
362
- if (!obj || !path) return undefined;
363
-
364
- return path.split('.').reduce((current, key) => {
365
- if (current === undefined || current === null) return undefined;
366
-
367
- // Handle array access like 'result[0]'
368
- const arrayMatch = key.match(/^(.+?)\[(\d+)\]$/);
369
- if (arrayMatch) {
370
- const arrayKey = arrayMatch[1];
371
- const index = parseInt(arrayMatch[2], 10);
372
- return current[arrayKey]?.[index];
373
- }
374
-
375
- return current[key];
376
- }, obj);
377
- }
378
-
379
- toggleSidebar() {
380
- // Eğer seçili bir ana menü öğesi varsa ve alt menüleri varsa toggle yapabiliriz
381
- if (this.selectedMainMenuItem && this.selectedMainMenuItem.items && this.selectedMainMenuItem.items.length > 0) {
382
- this.sidebarExpanded = !this.sidebarExpanded;
383
- } else if (this.sidebarExpanded) {
384
- this.sidebarExpanded = false;
385
- }
386
- }
387
- }
@@ -1,260 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { Component, OnInit, effect, signal, computed } from '@angular/core';
3
- import { toSignal } from '@angular/core/rxjs-interop';
4
-
5
- import { ConfirmationService, MessageService } from 'primeng/api';
6
- import { ConfirmDialogModule } from 'primeng/confirmdialog';
7
- import { DialogService, DynamicDialogModule } from 'primeng/dynamicdialog';
8
- import { PaginatorModule } from 'primeng/paginator';
9
- import { ScrollPanelModule } from 'primeng/scrollpanel';
10
- import { SidebarModule } from 'primeng/sidebar';
11
- import { TooltipModule } from 'primeng/tooltip';
12
-
13
- import { TranslocoModule, TranslocoService } from '@ngneat/transloco';
14
- import { Subject, switchMap } from 'rxjs';
15
-
16
- import { ButtonComponent } from 'aril/ui/button';
17
-
18
- import { LayoutService } from '../../service/app.layout.service';
19
- import { FavoritePageResponseDTO, FavoritePagesService } from './favorite-pages.service';
20
- import { AddEditFavoriteModalComponent } from './modals/add-edit-favorite-modal/add-edit-favorite-modal.component';
21
- import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
22
- import { solidIcons } from 'aril/util/lib';
23
-
24
- @Component({
25
- standalone: true,
26
- selector: 'app-favorite-pages-sidebar',
27
- imports: [
28
- CommonModule,
29
- SidebarModule,
30
- ScrollPanelModule,
31
- ConfirmDialogModule,
32
- PaginatorModule,
33
- DynamicDialogModule,
34
- ButtonComponent,
35
- TranslocoModule,
36
- TooltipModule,
37
- FontAwesomeModule
38
- ],
39
- templateUrl: './favorite-pages-sidebar.component.html',
40
- styleUrls: ['./favorite-pages-sidebar.component.scss'],
41
- providers: [ConfirmationService, DialogService]
42
- })
43
- export class FavoritePagesSidebarComponent implements OnInit {
44
- favoritePages = signal<FavoritePageResponseDTO[]>([]);
45
- isCurrentPageFavorited = signal<boolean>(false);
46
- solidIcons = solidIcons;
47
- currentPage = signal<number>(1);
48
- pageSize = signal<number>(10);
49
- totalItems = signal<number>(0);
50
- totalPages = signal<number>(0);
51
- allFavoritePages = computed(() => this.favoritePagesService.allFavoritePages());
52
-
53
- private subjects = {
54
- loadAllFavorites: new Subject<void>(),
55
- deleteFavorite: new Subject<number>()
56
- };
57
-
58
- loadAllFavoritesService = toSignal(
59
- this.subjects.loadAllFavorites.pipe(
60
- switchMap(() =>
61
- this.favoritePagesService.filterFavoritePages({
62
- pageSize: 1000,
63
- pageNumber: 1
64
- })
65
- )
66
- )
67
- );
68
-
69
- deleteFavoriteService = toSignal(
70
- this.subjects.deleteFavorite.pipe(switchMap((id) => this.favoritePagesService.deleteFavoritePage(id)))
71
- );
72
-
73
- constructor(
74
- public layoutService: LayoutService,
75
- private favoritePagesService: FavoritePagesService,
76
- private confirmationService: ConfirmationService,
77
- private messageService: MessageService,
78
- private dialogService: DialogService,
79
- private translocoService: TranslocoService
80
- ) {
81
- this.initializeEffects();
82
- }
83
-
84
- ngOnInit(): void {
85
- this.loadFavoritePages();
86
- this.checkCurrentPageStatus();
87
- }
88
-
89
- private initializeEffects(): void {
90
- effect(
91
- () => {
92
- const service = this.loadAllFavoritesService();
93
- if (service?.response) {
94
- this.favoritePagesService.allFavoritePages.set(service.response.result);
95
- this.totalItems.set(service.response.result.length);
96
- this.updateClientSidePagination();
97
- this.checkCurrentPageStatus();
98
- }
99
- },
100
- { allowSignalWrites: true }
101
- );
102
-
103
- effect(
104
- () => {
105
- const service = this.deleteFavoriteService();
106
- if (service?.response) {
107
- this.loadFavoritePages();
108
- this.messageService.add({
109
- severity: 'success',
110
- summary: this.translocoService.translate('favoritePages.success'),
111
- detail: this.translocoService.translate('favoritePages.deletedSuccessfully'),
112
- key: 'toast-root'
113
- });
114
- }
115
- },
116
- { allowSignalWrites: true }
117
- );
118
- }
119
-
120
- get visible(): boolean {
121
- return this.layoutService.state.favoritePagesSidebarVisible;
122
- }
123
-
124
- set visible(value: boolean) {
125
- this.layoutService.state.favoritePagesSidebarVisible = value;
126
- if (value) {
127
- this.checkCurrentPageStatus();
128
- }
129
- }
130
-
131
- private loadFavoritePages(): void {
132
- this.subjects.loadAllFavorites.next();
133
- }
134
-
135
- private updateClientSidePagination(): void {
136
- const allFavorites = this.allFavoritePages();
137
- const totalItems = allFavorites.length;
138
- const pageSize = this.pageSize();
139
- const currentPage = this.currentPage();
140
-
141
- const totalPages = Math.ceil(totalItems / pageSize);
142
- this.totalPages.set(totalPages);
143
-
144
- const startIndex = (currentPage - 1) * pageSize;
145
- const endIndex = Math.min(startIndex + pageSize, totalItems);
146
-
147
- const currentPageData = allFavorites.slice(startIndex, endIndex);
148
- this.favoritePages.set(currentPageData);
149
- }
150
-
151
- private checkCurrentPageStatus(): void {
152
- const currentPath = this.favoritePagesService.getCurrentRoutePath();
153
- const allFavorites = this.allFavoritePages();
154
- const isFound = allFavorites.some((fav) => fav.url === currentPath);
155
-
156
- this.isCurrentPageFavorited.set(isFound);
157
- }
158
-
159
- addCurrentPageToFavorites(): void {
160
- const currentPath = this.favoritePagesService.getCurrentRoutePath();
161
-
162
- const ref = this.dialogService.open(AddEditFavoriteModalComponent, {
163
- header: this.translocoService.translate('favoritePages.addToFavorites'),
164
- width: '500px',
165
- modal: true,
166
- closable: true,
167
- data: {
168
- mode: 'add',
169
- url: currentPath
170
- }
171
- });
172
-
173
- ref.onClose.subscribe((result) => {
174
- if (result?.status === 'success') {
175
- this.loadFavoritePages();
176
- }
177
- });
178
- }
179
-
180
- removeCurrentPageFromFavorites(): void {
181
- const currentPath = this.favoritePagesService.getCurrentRoutePath();
182
- const favorites = this.favoritePages();
183
- const currentFavorite = favorites.find((fav) => fav.url === currentPath);
184
-
185
- if (currentFavorite) {
186
- this.confirmationService.confirm({
187
- message: `'${currentFavorite.label}' ` + this.translocoService.translate('favoritePages.confirmDelete'),
188
- header: this.translocoService.translate('favoritePages.deleteConfirmTitle'),
189
- icon: 'pi pi-info-circle',
190
- acceptLabel: this.translocoService.translate('acceptButtonLabel'),
191
- rejectLabel: this.translocoService.translate('rejectButtonLabel'),
192
- acceptButtonStyleClass: 'p-button-success',
193
- rejectButtonStyleClass: 'p-button-danger',
194
- accept: () => {
195
- this.subjects.deleteFavorite.next(currentFavorite.id);
196
- }
197
- });
198
- }
199
- }
200
-
201
- editFavorite(favorite: FavoritePageResponseDTO, event: Event): void {
202
- event.stopPropagation();
203
-
204
- const ref = this.dialogService.open(AddEditFavoriteModalComponent, {
205
- header: this.translocoService.translate('favoritePages.editFavorite'),
206
- width: '500px',
207
- modal: true,
208
- closable: true,
209
- data: {
210
- mode: 'edit',
211
- favorite: favorite
212
- }
213
- });
214
-
215
- ref.onClose.subscribe((result) => {
216
- if (result?.status === 'success') {
217
- this.loadFavoritePages();
218
- }
219
- });
220
- }
221
-
222
- deleteFavorite(favorite: FavoritePageResponseDTO, event: Event): void {
223
- event.stopPropagation();
224
-
225
- this.confirmationService.confirm({
226
- target: event.target as EventTarget,
227
- message: `'${favorite.label}' ` + this.translocoService.translate('favoritePages.confirmDelete'),
228
- header: this.translocoService.translate('favoritePages.deleteConfirmTitle'),
229
- icon: 'pi pi-info-circle',
230
- acceptLabel: this.translocoService.translate('acceptButtonLabel'),
231
- rejectLabel: this.translocoService.translate('rejectButtonLabel'),
232
- acceptButtonStyleClass: 'p-button-success',
233
- rejectButtonStyleClass: 'p-button-danger',
234
- accept: () => {
235
- this.subjects.deleteFavorite.next(favorite.id);
236
- }
237
- });
238
- }
239
-
240
- navigateToFavorite(favorite: FavoritePageResponseDTO): void {
241
- this.favoritePagesService.navigateToFavoritePage(favorite);
242
- this.visible = false;
243
- }
244
-
245
- trackByFavoriteId(index: number, favorite: FavoritePageResponseDTO): number {
246
- return favorite.id;
247
- }
248
-
249
- onPageChange(event: any): void {
250
- this.currentPage.set(event.page + 1);
251
- this.pageSize.set(event.rows);
252
- this.updateClientSidePagination(); // Update pagination client-side, no API call
253
- }
254
-
255
- getFullUrl(url: string): string {
256
- return this.favoritePagesService.getFullUrl(url);
257
- }
258
-
259
-
260
- }