aril 1.2.51 → 1.2.54

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 +54 -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 +410 -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 +69 -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 +1123 -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 +180 -180
  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 +50 -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,30 +1,39 @@
1
1
  import * as i3$1 from '@angular/common';
2
2
  import { CommonModule, UpperCasePipe, NgClass, NgTemplateOutlet } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Component, Injectable, effect, signal, computed, inject, ViewChild, HostListener, untracked } from '@angular/core';
5
- import * as i1$2 from '@angular/router';
6
- import { Router, RouterModule, NavigationEnd, RouterLink, RouterOutlet, NavigationCancel, NavigationError, NavigationSkipped } from '@angular/router';
4
+ import { signal, effect, Injectable, inject, Component, computed, input, HostListener, HostBinding, ViewChild, untracked } from '@angular/core';
5
+ import * as i1$3 from '@angular/router';
6
+ import { Router, NavigationEnd, RouterModule, RouterLink, RouterOutlet, NavigationCancel, NavigationError, NavigationSkipped } from '@angular/router';
7
7
  import * as i8 from 'primeng/confirmdialog';
8
8
  import { ConfirmDialogModule } from 'primeng/confirmdialog';
9
9
  import * as i5$1 from 'primeng/confirmpopup';
10
10
  import { ConfirmPopupModule } from 'primeng/confirmpopup';
11
- import * as i6$3 from 'primeng/dialog';
11
+ import * as i6$2 from 'primeng/dialog';
12
12
  import { DialogModule } from 'primeng/dialog';
13
- import * as i7$4 from 'primeng/messages';
13
+ import * as i7$3 from 'primeng/messages';
14
14
  import { MessagesModule } from 'primeng/messages';
15
- import * as i8$2 from 'primeng/toast';
15
+ import * as i8$3 from 'primeng/toast';
16
16
  import { ToastModule } from 'primeng/toast';
17
- import { Observable, Subject, switchMap, BehaviorSubject, takeUntil, of, startWith, filter as filter$1, mergeMap, map as map$1, take } from 'rxjs';
17
+ import { take, Observable, timeout, catchError, of, forkJoin, map, switchMap, tap, shareReplay, filter, Subject, BehaviorSubject, takeUntil, startWith, timer, mergeMap } from 'rxjs';
18
+ import { __decorate } from 'tslib';
19
+ import * as i1 from '@angular/common/http';
20
+ import { HttpStatusCode } from '@angular/common/http';
21
+ import { bridge } from 'aril/boot/bridge';
22
+ import { Apps } from 'aril/boot/config/apps';
23
+ import { RestClient, ServiceCall, HTTPMethods, ProxyTypes } from 'aril/http';
24
+ import * as i2$1 from 'aril/util/pub-sub';
25
+ import { PubSubService } from 'aril/util/pub-sub';
18
26
  import * as i5 from '@ngneat/transloco';
19
- import { TranslocoModule, TranslocoService } from '@ngneat/transloco';
27
+ import { TranslocoService, TranslocoModule } from '@ngneat/transloco';
28
+ import 'aril/util/primitive-extensions';
20
29
  import { API_CONFIGS } from 'aril/boot/config/api';
21
- import * as i1 from 'keycloak-angular';
22
- import { toSignal } from '@angular/core/rxjs-interop';
30
+ import * as i1$1 from 'keycloak-angular';
31
+ import { toSignal, takeUntilDestroyed } from '@angular/core/rxjs-interop';
23
32
  import * as i2 from 'primeng/dynamicdialog';
24
33
  import { DialogService, DynamicDialogModule } from 'primeng/dynamicdialog';
25
34
  import * as i6$1 from 'primeng/sidebar';
26
35
  import { SidebarModule } from 'primeng/sidebar';
27
- import * as i1$1 from '@angular/forms';
36
+ import * as i1$2 from '@angular/forms';
28
37
  import { FormControl, ReactiveFormsModule, FormsModule, Validators } from '@angular/forms';
29
38
  import * as i7 from 'primeng/password';
30
39
  import { PasswordModule } from 'primeng/password';
@@ -34,9 +43,6 @@ import { ButtonComponent } from 'aril/ui/button';
34
43
  import { FieldComponent } from 'aril/ui/field';
35
44
  import * as i6 from 'aril/ui/form';
36
45
  import { ARiLFormModule } from 'aril/ui/form';
37
- import { __decorate } from 'tslib';
38
- import { Apps } from 'aril/boot/config/apps';
39
- import { RestClient, ServiceCall, HTTPMethods, ProxyTypes } from 'aril/http';
40
46
  import * as i3 from 'primeng/api';
41
47
  import { ConfirmationService, PrimeIcons } from 'primeng/api';
42
48
  import { TreeSelectModule } from 'primeng/treeselect';
@@ -47,7 +53,7 @@ import { SelectBoxComponent } from 'aril/ui/selectBox';
47
53
  import { TextComponent } from 'aril/ui/text';
48
54
  import { TextAreaComponent } from 'aril/ui/textArea';
49
55
  import { TreeSelectComponent } from 'aril/ui/treeSelect';
50
- import * as i8$1 from 'primeng/badge';
56
+ import * as i8$2 from 'primeng/badge';
51
57
  import { BadgeModule } from 'primeng/badge';
52
58
  import * as i11 from 'primeng/inputtext';
53
59
  import { InputTextModule } from 'primeng/inputtext';
@@ -56,10 +62,7 @@ import { ScrollPanelModule } from 'primeng/scrollpanel';
56
62
  import * as i10 from '@fortawesome/angular-fontawesome';
57
63
  import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
58
64
  import { solidIcons, regularIcons } from 'aril/util/lib';
59
- import { bridge } from 'aril/boot/bridge';
60
- import * as i2$1 from 'aril/util/pub-sub';
61
- import { PubSubService } from 'aril/util/pub-sub';
62
- import * as i1$3 from 'aril/util/pipes';
65
+ import * as i1$4 from 'aril/util/pipes';
63
66
  import { TranslateJsonPipe, SafePipe } from 'aril/util/pipes';
64
67
  import * as i9$1 from 'primeng/paginator';
65
68
  import { PaginatorModule } from 'primeng/paginator';
@@ -67,19 +70,775 @@ import * as i4 from 'primeng/button';
67
70
  import { ButtonModule } from 'primeng/button';
68
71
  import * as i7$2 from 'primeng/divider';
69
72
  import { DividerModule } from 'primeng/divider';
70
- import * as i9$2 from 'primeng/dropdown';
73
+ import * as i10$1 from 'primeng/dropdown';
71
74
  import { DropdownModule } from 'primeng/dropdown';
72
75
  import { MenubarModule } from 'primeng/menubar';
73
- import * as i6$2 from 'primeng/autocomplete';
74
- import { AutoCompleteModule } from 'primeng/autocomplete';
75
- import { map, filter, switchMap as switchMap$1, catchError } from 'rxjs/operators';
76
- import * as i7$3 from '@angular/common/http';
77
- import * as i10$1 from 'primeng/menu';
76
+ import * as i8$1 from 'primeng/autocomplete';
77
+ import { AutoCompleteModule, AutoComplete } from 'primeng/autocomplete';
78
+ import { map as map$1, filter as filter$1, switchMap as switchMap$1, catchError as catchError$1 } from 'rxjs/operators';
79
+ import * as i10$2 from 'primeng/menu';
78
80
  import { MenuModule } from 'primeng/menu';
79
81
  import { SwitchComponent } from 'aril/ui/switch';
80
82
  import * as i4$1 from 'primeng/breadcrumb';
81
83
  import { BreadcrumbModule } from 'primeng/breadcrumb';
82
84
 
85
+ const STORAGE_KEY = 'selection-groups';
86
+ class SelectionGroupService {
87
+ constructor(http) {
88
+ this.http = http;
89
+ this.selectionGroups = signal({});
90
+ this.loading = new Map();
91
+ this.loaded = new Map();
92
+ this.loadStatesFromLocalStorage();
93
+ this.revalidateCachedGroups();
94
+ effect(() => {
95
+ try {
96
+ const encodedData = btoa(encodeURI(JSON.stringify(this.selectionGroups())));
97
+ localStorage.setItem(STORAGE_KEY, encodedData);
98
+ }
99
+ catch (e) {
100
+ // Kota dolduysa ya da depolama kapalıysa yalnızca önbellek kaybolur; gruplar sunucudan çekilmeye devam eder.
101
+ console.warn('Selection groups could not be cached', e);
102
+ }
103
+ });
104
+ }
105
+ async loadStatesFromLocalStorage() {
106
+ const selectionGroups = localStorage.getItem(STORAGE_KEY);
107
+ if (selectionGroups) {
108
+ try {
109
+ const decodedData = decodeURI(atob(selectionGroups));
110
+ this.selectionGroups.set(JSON.parse(decodedData));
111
+ }
112
+ catch (e) {
113
+ console.error(e);
114
+ }
115
+ }
116
+ }
117
+ /**
118
+ * Önbellek kendi başına bayatlar: bir grubun etiketi sunucuda değiştiğinde localStorage'daki
119
+ * kopya güncellenmez ve kullanıcı eski etiketi süresiz görür. Bu yüzden açılışta grup sürümleri
120
+ * okunur ve yalnız değişenler düşürülür; düşen grubu bileşenlerin mevcut "grup yoksa fetchEnum"
121
+ * yolu yeniden çeker.
122
+ *
123
+ * Sürüm listesi alınamazsa önbelleğe DOKUNULMAZ: davranış bu durumda bugünküne eşitlenir,
124
+ * yani tazelik kaybedilir ama hiçbir etiket kaybolmaz.
125
+ */
126
+ revalidateCachedGroups() {
127
+ if (!Object.keys(this.selectionGroups()).length)
128
+ return;
129
+ this.http
130
+ .get(this.hostApi() + '/selection-group/versions')
131
+ .pipe(take(1))
132
+ .subscribe({
133
+ next: (versions) => {
134
+ // Gövdesiz/biçimsiz yanıt "sürüm bilinmiyor" demektir; hata yolundaki gibi önbellek korunur.
135
+ if (!Array.isArray(versions))
136
+ return;
137
+ this.dropStaleGroups(versions);
138
+ },
139
+ error: () => {
140
+ console.debug('Selection group versions unavailable; cached groups are kept as is.');
141
+ }
142
+ });
143
+ }
144
+ dropStaleGroups(versions) {
145
+ const serverVersions = new Map(versions.map((version) => [version.groupName, version.version]));
146
+ this.selectionGroups.update((groups) => {
147
+ const next = { ...groups };
148
+ let dropped = false;
149
+ for (const key of Object.keys(next)) {
150
+ const group = next[key];
151
+ if (!group)
152
+ continue;
153
+ // Yalnız localStorage'dan gelen girdiler doğrulanır. Bu oturumda istenmiş bir grup zaten
154
+ // tazedir ve düşürülmemelidir: tüketiciler kendi "istedim" kaydını tuttuğu için (bkz.
155
+ // TableComponent.requestedEnumKeys) düşen grubu yeniden istemezler ve seçenekleri
156
+ // kalıcı olarak boş kalır. `has`, süren istekleri de kapsar: fetchEnum başlarken false,
157
+ // biterken true yazar.
158
+ if (this.loaded.has(key))
159
+ continue;
160
+ // Anahtar `groupName~parentSelectionKey` biçimindedir: aynı grubun her parent varyantı
161
+ // ayrı bir girdidir ve grup değiştiğinde hepsi birlikte düşmelidir.
162
+ const serverVersion = serverVersions.get(key.split('~')[0]);
163
+ // Sunucu yalnız Fixed grupların sürümünü döndürür. Sürümü gelmeyen grup ya Dynamic'tir
164
+ // (içeriği sorgudan üretilir, doğrulanamaz) ya da silinmiştir; ikisinde de tutulmaz.
165
+ if (serverVersion !== undefined && serverVersion === group.version)
166
+ continue;
167
+ delete next[key];
168
+ dropped = true;
169
+ }
170
+ return dropped ? next : groups;
171
+ });
172
+ }
173
+ fetchEnum(groupName, parentSelectionKey = 'ALL') {
174
+ const key = groupName + '~' + parentSelectionKey;
175
+ if (this.loaded.get(key) || this.loading.get(key))
176
+ return;
177
+ const payload = {
178
+ groupName,
179
+ parentSelectionKey
180
+ };
181
+ this.loading.set(key, true);
182
+ this.loaded.set(key, false);
183
+ this.http
184
+ .post(this.hostApi() + '/selection-group/load', payload)
185
+ .pipe(take(1))
186
+ .subscribe((selectionGroup) => {
187
+ this.loading.set(key, false);
188
+ this.loaded.set(key, true);
189
+ this.selectionGroups.update((groups) => ({
190
+ ...groups,
191
+ [key]: selectionGroup
192
+ }));
193
+ });
194
+ }
195
+ hostApi() {
196
+ return API_CONFIGS.api.replace(/\/[^\/]+\/v1$/, `/host/v1`);
197
+ }
198
+ isLoading(groupName) {
199
+ return this.loading.get(groupName) ?? false;
200
+ }
201
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectionGroupService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
202
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectionGroupService, providedIn: 'root' }); }
203
+ }
204
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectionGroupService, decorators: [{
205
+ type: Injectable,
206
+ args: [{
207
+ providedIn: 'root'
208
+ }]
209
+ }], ctorParameters: () => [{ type: i1.HttpClient }] });
210
+
211
+ // Detail pages of the record types; the segment after the prefix is the id of the record
212
+ const RECORD_ROUTES = [
213
+ { prefix: '/crm/installation-management/detail/', type: 'ServicePoint' },
214
+ { prefix: '/crm/account-management/detail/', type: 'Account' },
215
+ { prefix: '/crm/partner-management/detail/', type: 'BusinessPartner' },
216
+ { prefix: '/billing/invoice-search/detail/', type: 'Invoice' },
217
+ { prefix: '/wdm/meters/detail/', type: 'Meter' },
218
+ { prefix: '/wdm/work-orders/detail/', type: 'WorkOrder' }
219
+ ];
220
+ const RECORD_TYPE_LABEL_KEYS = {
221
+ ServicePoint: 'home.recordTypeServicePoint',
222
+ Account: 'home.recordTypeAccount',
223
+ BusinessPartner: 'home.recordTypeBusinessPartner',
224
+ Invoice: 'home.recordTypeInvoice',
225
+ Meter: 'home.recordTypeMeter',
226
+ WorkOrder: 'home.recordTypeWorkOrder'
227
+ };
228
+ const RECORD_TYPE_ICONS = {
229
+ ServicePoint: 'pi pi-bolt',
230
+ Account: 'pi pi-wallet',
231
+ BusinessPartner: 'pi pi-user',
232
+ Invoice: 'pi pi-file',
233
+ Meter: 'pi pi-compass',
234
+ WorkOrder: 'pi pi-wrench'
235
+ };
236
+ // The record is described in the background: the user did not start these calls, so no error toast is shown
237
+ const SILENT$2 = {
238
+ ignoredStatusCodes: [
239
+ HttpStatusCode.BadRequest,
240
+ HttpStatusCode.Forbidden,
241
+ HttpStatusCode.NotFound,
242
+ HttpStatusCode.InternalServerError,
243
+ HttpStatusCode.BadGateway,
244
+ HttpStatusCode.ServiceUnavailable,
245
+ HttpStatusCode.GatewayTimeout
246
+ ]
247
+ };
248
+ const RESOLVE_TIMEOUT_MS = 15000;
249
+ // Raised inside the pipeline when the record itself is deleted, so a follower sees it as closed
250
+ const RECORD_GONE = new Error('Record is gone');
251
+ const METER_STATUS_TAGS = {
252
+ Mounted: 'current',
253
+ Broken: 'warning',
254
+ Demounted: 'closed',
255
+ Waste: 'closed',
256
+ Disassembled: 'closed',
257
+ Ruined: 'closed'
258
+ };
259
+ const WORK_ORDER_STATUS_TAGS = {
260
+ ERROR: 'stuck',
261
+ FAIL: 'stuck',
262
+ ASSIGNED: 'progress',
263
+ SUCCESS: 'current',
264
+ CANCEL: 'closed'
265
+ };
266
+ /**
267
+ * Describes a record the way the home page shows it: number, owner, a one line summary and the current status.
268
+ * The record is read with the calls its own detail page uses, so authorization and masking stay the same.
269
+ */
270
+ class RecordSummaryService extends RestClient {
271
+ constructor() {
272
+ super(...arguments);
273
+ this.states = {};
274
+ this.translation = inject(TranslocoService);
275
+ this.selectionGroupService = inject(SelectionGroupService);
276
+ // Selection groups read by this service, so the same group is requested once per session
277
+ this.selectionGroups = new Map();
278
+ }
279
+ getAsset(id) {
280
+ return new Observable();
281
+ }
282
+ queryAssets(post) {
283
+ return new Observable();
284
+ }
285
+ getInvoice(id) {
286
+ return new Observable();
287
+ }
288
+ getWorkOrder(id) {
289
+ return new Observable();
290
+ }
291
+ searchUnpaidSummary(post) {
292
+ return new Observable();
293
+ }
294
+ loadSelectionGroup(post) {
295
+ return new Observable();
296
+ }
297
+ // The record a url shows, if it is the detail page of a known record type
298
+ match(url) {
299
+ const path = url.split(/[?#]/)[0];
300
+ const route = RECORD_ROUTES.find((item) => path.startsWith(item.prefix));
301
+ const id = route ? this.recordId(path.slice(route.prefix.length).split('/')[0]) : null;
302
+ return route && id ? { type: route.type, id } : null;
303
+ }
304
+ // A pasted id can carry a bullet or a space around the number (TCOD-1399); anything else is not a record id
305
+ recordId(segment) {
306
+ let value = segment;
307
+ try {
308
+ value = decodeURIComponent(segment);
309
+ }
310
+ catch {
311
+ // a malformed escape keeps the raw segment
312
+ }
313
+ const match = value.trim().match(/^\D*(\d+)\D*$/);
314
+ return match ? match[1] : null;
315
+ }
316
+ // The status of an account needs an extra call, so it is read only where the status is shown
317
+ resolve(route, withStatus = false) {
318
+ return this.describe(route, withStatus).pipe(timeout(RESOLVE_TIMEOUT_MS), catchError((error) => of(error === RECORD_GONE ? this.goneRecord(route) : null)));
319
+ }
320
+ // A deleted record keeps its place among the followed ones with the closed status
321
+ goneRecord(route) {
322
+ return { ...route, number: '', name: null, summary: null, status: this.status('closed', null) };
323
+ }
324
+ describe(route, withStatus) {
325
+ switch (route.type) {
326
+ case 'ServicePoint':
327
+ return this.describeServicePoint(route);
328
+ case 'Account':
329
+ return this.describeAccount(route, withStatus);
330
+ case 'BusinessPartner':
331
+ return this.describeBusinessPartner(route);
332
+ case 'Invoice':
333
+ return this.describeInvoice(route);
334
+ case 'Meter':
335
+ return this.describeMeter(route);
336
+ case 'WorkOrder':
337
+ return this.describeWorkOrder(route);
338
+ }
339
+ }
340
+ describeServicePoint(route) {
341
+ return forkJoin([this.attributesOf(route.id, true), this.activeContractOf(route.id)]).pipe(map(([attributes, contract]) => {
342
+ const number = this.text(attributes, 'AssetNumber');
343
+ if (!number) {
344
+ return null;
345
+ }
346
+ const energy = this.find(attributes, 'EnergyStatus');
347
+ const isActive = this.find(attributes, 'ServicePointStatus')?.value === 'Active';
348
+ const group = this.text(contract, 'SubscriberGroup', 'Contract') ?? this.text(attributes, 'ServicePointType');
349
+ return {
350
+ ...route,
351
+ number,
352
+ name: this.partnerName(contract),
353
+ summary: this.join(', ', group, this.text(attributes, 'ServicePointCombinedAddress')),
354
+ status: !isActive ? this.status('closed', this.text(attributes, 'ServicePointStatus'))
355
+ : energy?.value === 'On' ? this.status('current', null, 'home.followEnergyOn')
356
+ : this.status('warning', null, 'home.followEnergyOff')
357
+ };
358
+ }));
359
+ }
360
+ describeAccount(route, withStatus) {
361
+ return this.attributesOf(route.id, true).pipe(switchMap((attributes) => {
362
+ const number = this.text(attributes, 'AssetNumber');
363
+ if (!number) {
364
+ return of(null);
365
+ }
366
+ const partnerId = this.find(attributes, 'BusinessPartnerId')?.value;
367
+ const partner$ = partnerId ? this.attributesOf(String(partnerId)) : of([]);
368
+ const unpaid$ = withStatus ?
369
+ this.searchUnpaidSummary({ accountIds: [Number(route.id)] }).pipe(map((result) => result?.response?.totalUnpaidDebtSummaryDetail?.debtCount ?? null))
370
+ : of(null);
371
+ return forkJoin([partner$, unpaid$]).pipe(map(([partner, unpaidCount]) => ({
372
+ ...route,
373
+ number,
374
+ name: this.partnerName(partner),
375
+ summary: this.join(' · ', this.text(attributes, 'AccountSubscriberGroup'), this.text(attributes, 'AccountType')),
376
+ status: unpaidCount === null ? null
377
+ : unpaidCount > 0 ? this.status('waiting', null, 'home.followUnpaidDebts', { count: unpaidCount })
378
+ : this.status('current', null, 'home.followNoDebt')
379
+ })));
380
+ }));
381
+ }
382
+ describeBusinessPartner(route) {
383
+ return this.attributesOf(route.id, true).pipe(map((attributes) => {
384
+ const number = this.text(attributes, 'AssetNumber');
385
+ if (!number) {
386
+ return null;
387
+ }
388
+ const place = this.join(', ', this.text(attributes, 'PrimaryAddressDistrictId'), this.text(attributes, 'PrimaryAddressProvinceId'));
389
+ return {
390
+ ...route,
391
+ number,
392
+ name: this.partnerName(attributes),
393
+ summary: this.join(' · ', this.text(attributes, 'IdentityType'), place),
394
+ status: null
395
+ };
396
+ }));
397
+ }
398
+ describeInvoice(route) {
399
+ return this.getInvoice(route.id).pipe(map((result) => {
400
+ if (this.isNotFound(result)) {
401
+ throw RECORD_GONE;
402
+ }
403
+ const invoice = result?.response;
404
+ if (!invoice) {
405
+ return null;
406
+ }
407
+ const lang = this.translation.getActiveLang();
408
+ const date = invoice.invoiceDate?.longToDate();
409
+ const period = date ? new Intl.DateTimeFormat(lang, { month: 'long', year: 'numeric' }).format(date) : null;
410
+ const amount = invoice.finalAmount === null || invoice.finalAmount === undefined ?
411
+ null
412
+ : this.translation.translate('home.recordAmount', {
413
+ amount: new Intl.NumberFormat(lang, { minimumFractionDigits: 2, maximumFractionDigits: 2 }).format(invoice.finalAmount)
414
+ });
415
+ const number = invoice.invoiceFinancialNumber ?
416
+ `${invoice.invoiceFinancialSerial ?? ''}${invoice.invoiceFinancialNumber}`
417
+ : route.id;
418
+ return {
419
+ ...route,
420
+ number,
421
+ name: invoice.nameSurnameOrTitle ?? null,
422
+ summary: this.join(' · ', period, amount),
423
+ status: this.invoiceStatus(invoice)
424
+ };
425
+ }));
426
+ }
427
+ describeMeter(route) {
428
+ return this.attributesOf(route.id, true).pipe(map((attributes) => {
429
+ const number = this.text(attributes, 'AssetNumber');
430
+ if (!number) {
431
+ return null;
432
+ }
433
+ const materialStatus = this.find(attributes, 'MaterialStatus');
434
+ const statusText = this.text(attributes, 'MaterialStatus');
435
+ return {
436
+ ...route,
437
+ number,
438
+ name: this.join(' ', this.text(attributes, 'Brand'), this.text(attributes, 'ModelCode')),
439
+ summary: this.join(' · ', this.servicePointReference(this.text(attributes, 'MaterialServicePointId')), statusText),
440
+ status: statusText ? this.status(METER_STATUS_TAGS[String(materialStatus?.value)] ?? 'waiting', statusText) : null
441
+ };
442
+ }));
443
+ }
444
+ describeWorkOrder(route) {
445
+ return this.getWorkOrder(route.id).pipe(switchMap((result) => {
446
+ if (this.isNotFound(result)) {
447
+ throw RECORD_GONE;
448
+ }
449
+ const workOrder = result?.response;
450
+ if (!workOrder) {
451
+ return of(null);
452
+ }
453
+ return forkJoin([
454
+ this.enumText('WorkOrderType', workOrder.orderType),
455
+ this.enumText('WorkOrderStatus', workOrder.orderStatus)
456
+ ]).pipe(map(([typeText, statusText]) => ({
457
+ ...route,
458
+ number: String(workOrder.id ?? route.id),
459
+ name: typeText,
460
+ summary: this.join(' · ', this.servicePointReference(workOrder.servicePoint?.number), statusText),
461
+ status: statusText ?
462
+ this.status(WORK_ORDER_STATUS_TAGS[String(workOrder.orderStatus)] ?? 'waiting', statusText)
463
+ : null
464
+ })));
465
+ }));
466
+ }
467
+ invoiceStatus(invoice) {
468
+ if (invoice.status !== 'ACTIVE') {
469
+ return this.status('closed', null, 'home.followInvoiceCancelled');
470
+ }
471
+ if (invoice.toBeCancelled) {
472
+ return this.status('waiting', null, 'home.followCancelRequested');
473
+ }
474
+ if (invoice.paymentStatus === 'PAID') {
475
+ return this.status('current', null, 'home.followPaid');
476
+ }
477
+ const dueDate = invoice.dueDate?.longToDate();
478
+ if (dueDate && dueDate.getTime() < Date.now()) {
479
+ return this.status('warning', null, 'home.followOverdue');
480
+ }
481
+ return this.status('waiting', null, invoice.paymentStatus === 'PARTIAL_PAID' ? 'home.followPartiallyPaid' : 'home.followAwaitingPayment');
482
+ }
483
+ attributesOf(id, isRecord = false) {
484
+ return this.getAsset(id).pipe(map((result) => {
485
+ const asset = result?.response?.asset;
486
+ // A record that is deleted or no longer returned to the user is gone; a failed call is not
487
+ if (isRecord && (this.isNotFound(result) || (!result?.error && (!asset || asset.deleted)))) {
488
+ throw RECORD_GONE;
489
+ }
490
+ return asset?.attributes ?? [];
491
+ }));
492
+ }
493
+ isNotFound(result) {
494
+ return result?.error?.status === HttpStatusCode.NotFound;
495
+ }
496
+ // Latest contract of the service point with its subscriber group and the owner of its account
497
+ activeContractOf(servicePointId) {
498
+ const contract = { alias: 'Contract', assetDefinitionCode: 'Contract' };
499
+ const account = { alias: 'Account', assetDefinitionCode: 'Account' };
500
+ return this.queryAssets({
501
+ asset: contract,
502
+ pager: { pageSize: 1, pageNumber: 1 },
503
+ attributes: [
504
+ { attribute: { alias: 'Contract', attributeCode: 'SubscriberGroup' } },
505
+ { attribute: { alias: 'Contract', attributeCode: 'ContractAccountId' } },
506
+ { attribute: { alias: 'Account', attributeCode: 'BusinessPartnerId' } },
507
+ { attribute: { alias: 'HumanBusinessPartner', attributeCode: 'Name' } },
508
+ { attribute: { alias: 'HumanBusinessPartner', attributeCode: 'Surname' } },
509
+ { attribute: { alias: 'LegalEntityBusinessPartner', attributeCode: 'Title' } }
510
+ ],
511
+ predicate: {
512
+ predicates: [
513
+ {
514
+ filter: {
515
+ attribute: { alias: 'Contract', attributeCode: 'ServicePointId' },
516
+ operand: 'Eq',
517
+ value: servicePointId
518
+ }
519
+ }
520
+ ]
521
+ },
522
+ orderBys: [{ attribute: { alias: 'Contract', attributeCode: 'ContractBeginDate' }, orderByType: 'Desc' }],
523
+ joinBys: [
524
+ { source: contract, attribute: { attributeCode: 'ContractAccountId' }, target: account },
525
+ {
526
+ source: account,
527
+ attribute: { attributeCode: 'BusinessPartnerId' },
528
+ target: { alias: 'HumanBusinessPartner', assetDefinitionCode: 'HumanBusinessPartner' }
529
+ },
530
+ {
531
+ source: account,
532
+ attribute: { attributeCode: 'BusinessPartnerId' },
533
+ target: { alias: 'LegalEntityBusinessPartner', assetDefinitionCode: 'LegalEntityBusinessPartner' }
534
+ }
535
+ ]
536
+ }).pipe(map((result) => result?.response?.result?.[0]?.attributes ?? []));
537
+ }
538
+ // A person is named by name and surname, a legal entity by its title
539
+ partnerName(attributes) {
540
+ return (this.join(' ', this.text(attributes, 'Name'), this.text(attributes, 'Surname')) ?? this.text(attributes, 'Title'));
541
+ }
542
+ servicePointReference(number) {
543
+ return number ? this.translation.translate('home.recordServicePointReference', { number }) : null;
544
+ }
545
+ enumText(groupName, key) {
546
+ if (!key) {
547
+ return of(null);
548
+ }
549
+ return this.selectionGroup(groupName).pipe(map((group) => {
550
+ const item = group?.selectionItems?.find((selection) => selection.selectionKey === key);
551
+ const lang = this.translation.getActiveLang();
552
+ return item?.selectionMultiLanguageDisplays?.[lang] ?? item?.selectionDisplay ?? key;
553
+ }));
554
+ }
555
+ selectionGroup(groupName) {
556
+ const cached = this.selectionGroupService.selectionGroups()[`${groupName}~ALL`];
557
+ if (cached) {
558
+ return of(cached);
559
+ }
560
+ let group$ = this.selectionGroups.get(groupName);
561
+ if (!group$) {
562
+ group$ = this.loadSelectionGroup({ groupName, parentSelectionKey: 'ALL' }).pipe(map((result) => result?.response ?? null), tap((group) => {
563
+ // A failed read is not kept, the next record asks for the group again
564
+ if (!group) {
565
+ this.selectionGroups.delete(groupName);
566
+ }
567
+ }), shareReplay(1));
568
+ this.selectionGroups.set(groupName, group$);
569
+ }
570
+ return group$;
571
+ }
572
+ status(tag, text, textKey = null, textParams) {
573
+ return { tag, text, textKey, textParams };
574
+ }
575
+ find(attributes, code, alias) {
576
+ return attributes.find((item) => item.attribute?.attributeCode === code && (!alias || item.attribute?.alias === alias));
577
+ }
578
+ text(attributes, code, alias) {
579
+ const value = this.find(attributes, code, alias)?.valueDesc;
580
+ return value && value !== 'null' ? String(value) : null;
581
+ }
582
+ join(separator, ...parts) {
583
+ return parts.filter((part) => !!part).join(separator) || null;
584
+ }
585
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RecordSummaryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
586
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RecordSummaryService, providedIn: 'root' }); }
587
+ }
588
+ __decorate([
589
+ ServiceCall(HTTPMethods.GETBYDYNAMICPATH, ProxyTypes.ClientSide, 'master-data/$/all-with-asset-definition', SILENT$2, Apps.MNG)
590
+ ], RecordSummaryService.prototype, "getAsset", null);
591
+ __decorate([
592
+ ServiceCall(HTTPMethods.POST, ProxyTypes.ClientSide, 'master-data/advanced-query', SILENT$2, Apps.MNG)
593
+ ], RecordSummaryService.prototype, "queryAssets", null);
594
+ __decorate([
595
+ ServiceCall(HTTPMethods.GETBYDYNAMICPATH, ProxyTypes.ClientSide, 'invoices/overview/$', SILENT$2, Apps.BILLING)
596
+ ], RecordSummaryService.prototype, "getInvoice", null);
597
+ __decorate([
598
+ ServiceCall(HTTPMethods.GETBYDYNAMICPATH, ProxyTypes.ClientSide, 'work-orders/get/$', SILENT$2, Apps.WDM)
599
+ ], RecordSummaryService.prototype, "getWorkOrder", null);
600
+ __decorate([
601
+ ServiceCall(HTTPMethods.POST, ProxyTypes.ClientSide, 'debts/search/unpaid-summary', SILENT$2, Apps.PAYMENT)
602
+ ], RecordSummaryService.prototype, "searchUnpaidSummary", null);
603
+ __decorate([
604
+ ServiceCall(HTTPMethods.POST, ProxyTypes.ClientSide, 'selection-group/load', SILENT$2, Apps.MNG)
605
+ ], RecordSummaryService.prototype, "loadSelectionGroup", null);
606
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RecordSummaryService, decorators: [{
607
+ type: Injectable,
608
+ args: [{ providedIn: 'root' }]
609
+ }], propDecorators: { getAsset: [], queryAssets: [], getInvoice: [], getWorkOrder: [], searchUnpaidSummary: [], loadSelectionGroup: [] } });
610
+
611
+ // Placeholder the breadcrumb shows until the dynamic value of a page is loaded
612
+ const BREADCRUMB_LOADING = '...';
613
+ // Recently viewed records the summary brings; the home page slides over them, the full list is in its dialog
614
+ const SUMMARY_RECORD_LIMIT = 25;
615
+ const ID_SEGMENT = /^(\d+|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$/i;
616
+ // The log is written and read in the background: the user did not start these calls, so no error toast is shown
617
+ const SILENT$1 = {
618
+ ignoredStatusCodes: [
619
+ HttpStatusCode.NotFound,
620
+ HttpStatusCode.Forbidden,
621
+ HttpStatusCode.BadRequest,
622
+ HttpStatusCode.InternalServerError,
623
+ HttpStatusCode.BadGateway,
624
+ HttpStatusCode.ServiceUnavailable,
625
+ HttpStatusCode.GatewayTimeout
626
+ ]
627
+ };
628
+ /**
629
+ * Logs every screen opening of the session user for the "recent activity" card of the home page.
630
+ * The router tells which page is open, the breadcrumb gives its title, and the record a detail page shows is
631
+ * described by RecordSummaryService, so the log does not depend on the library version a remote was built with.
632
+ */
633
+ class ScreenVisitService extends RestClient {
634
+ constructor() {
635
+ super();
636
+ this.states = {};
637
+ this.summary = signal({ records: [], screens: [] });
638
+ this.loaded = signal(false);
639
+ // The open page and the record it shows, for the follow button of the top bar
640
+ this.currentUrl = signal('');
641
+ this.currentRecordRoute = signal(null);
642
+ this.currentRecord = signal(null);
643
+ this.router = inject(Router);
644
+ this.pubSubService = inject(PubSubService);
645
+ this.recordSummaryService = inject(RecordSummaryService);
646
+ this.currentPath = '';
647
+ this.currentPathLogged = false;
648
+ this.currentRecord$ = of(null);
649
+ // The breadcrumb keeps the record number a page showed last time until the page loads its own again.
650
+ // A number already seen on another path is therefore not trusted on the first publish of a page.
651
+ this.recordNumberPaths = new Map();
652
+ this.awaitingConfirmation = false;
653
+ // The summary is read again the next time the home page is shown
654
+ this.summaryStale = true;
655
+ // Period of the summary in days, chosen on the home page (the backend default is 30)
656
+ this.summaryDays = 30;
657
+ // Period of the summary on screen, so a failed read for another period does not leave it under the new label
658
+ this.shownDays = null;
659
+ // Set when the backend does not serve the log to this user (not deployed yet, or the role is not allowed):
660
+ // nothing is written for the session
661
+ this.unavailable = false;
662
+ this.router.events
663
+ .pipe(filter((event) => event instanceof NavigationEnd))
664
+ .subscribe((event) => this.onNavigation(event.urlAfterRedirects));
665
+ this.pubSubService.subscribe('breadcrumbUpdated', (data) => this.onBreadcrumbUpdated(data));
666
+ }
667
+ saveVisit(post) {
668
+ return new Observable();
669
+ }
670
+ getSummary(params) {
671
+ return new Observable();
672
+ }
673
+ // Called by the home page: reads the summary unless it is already current for the same period
674
+ load(days = this.summaryDays) {
675
+ if (!this.loaded() || this.summaryStale || days !== this.summaryDays) {
676
+ this.summaryDays = days;
677
+ this.refresh();
678
+ }
679
+ }
680
+ refresh() {
681
+ this.summaryStale = false;
682
+ const days = this.summaryDays;
683
+ this.getSummary({ days, recordLimit: SUMMARY_RECORD_LIMIT }).subscribe((result) => {
684
+ // An answer for a period the user has already left is dropped
685
+ if (days !== this.summaryDays) {
686
+ return;
687
+ }
688
+ if (result?.response) {
689
+ this.summary.set({
690
+ records: result.response.records ?? [],
691
+ screens: result.response.screens ?? []
692
+ });
693
+ this.shownDays = days;
694
+ }
695
+ else if (this.shownDays !== days) {
696
+ this.summary.set({ records: [], screens: [] });
697
+ this.shownDays = days;
698
+ }
699
+ this.loaded.set(true);
700
+ });
701
+ }
702
+ onNavigation(url) {
703
+ // The log is kept only on the THOR host; the other hosts (YEAP, LENA) and a remote opened on its own
704
+ // do not serve it
705
+ if (bridge.activeHost() !== Apps.THOR) {
706
+ return;
707
+ }
708
+ const path = this.pathOf(url);
709
+ this.currentUrl.set(url);
710
+ if (path === this.currentPath) {
711
+ return;
712
+ }
713
+ this.currentPath = path;
714
+ this.currentPathLogged = false;
715
+ this.awaitingConfirmation = true;
716
+ const route = this.recordSummaryService.match(url);
717
+ this.currentRecordRoute.set(route);
718
+ this.currentRecord.set(null);
719
+ this.currentRecord$ =
720
+ route ?
721
+ this.recordSummaryService.resolve(route).pipe(tap((record) => {
722
+ if (this.currentPath === path) {
723
+ this.currentRecord.set(record);
724
+ }
725
+ }), shareReplay(1))
726
+ : of(null);
727
+ // Resolved right away: the follow button needs the record even if the page publishes no breadcrumb
728
+ this.currentRecord$.subscribe();
729
+ if (this.isHome(path) && this.loaded() && this.summaryStale) {
730
+ this.refresh();
731
+ }
732
+ }
733
+ onBreadcrumbUpdated(data) {
734
+ if (!data?.path || bridge.activeHost() !== Apps.THOR) {
735
+ return;
736
+ }
737
+ // Normally a no-op: the router event of the navigation arrives before the breadcrumb
738
+ this.onNavigation(data.path);
739
+ const breadcrumbs = data.custom?.breadcrumbs ?? [];
740
+ const last = breadcrumbs[breadcrumbs.length - 1];
741
+ if (!last?.label || last.label === BREADCRUMB_LOADING) {
742
+ // A placeholder means the page has no number yet: the one that follows is its own
743
+ this.awaitingConfirmation = false;
744
+ return;
745
+ }
746
+ // The breadcrumb is published several times per navigation: the opening is logged once
747
+ if (this.currentPathLogged) {
748
+ return;
749
+ }
750
+ const label = last.label;
751
+ const route = this.currentRecordRoute();
752
+ const value = this.recordNumberIn(label, last.value);
753
+ const path = this.currentPath;
754
+ // Pages of the known record types take the number from the record itself. Elsewhere the first publish
755
+ // may still carry a number of an earlier page: it is skipped, the page confirms or replaces it next
756
+ if (!route) {
757
+ const knownPath = value ? this.recordNumberPaths.get(value) : undefined;
758
+ const isUnconfirmed = this.awaitingConfirmation && !!knownPath && knownPath !== path && !path.startsWith(knownPath + '/');
759
+ this.awaitingConfirmation = false;
760
+ if (isUnconfirmed) {
761
+ return;
762
+ }
763
+ if (value) {
764
+ this.recordNumberPaths.set(value, path);
765
+ }
766
+ }
767
+ this.currentPathLogged = true;
768
+ const url = data.path;
769
+ const screenTitle = this.screenTitle(label, value);
770
+ const screenKey = this.screenKey(path, route?.id ?? value);
771
+ this.currentRecord$.pipe(take(1)).subscribe((record) => this.save({
772
+ url,
773
+ screenKey,
774
+ screenTitle,
775
+ recordType: route?.type ?? null,
776
+ recordNumber: record?.number || value || null,
777
+ recordName: record?.name ?? null,
778
+ recordSummary: record?.summary ?? null
779
+ }));
780
+ }
781
+ save(request) {
782
+ if (this.unavailable) {
783
+ return;
784
+ }
785
+ this.saveVisit(request).subscribe((result) => {
786
+ if (result?.error) {
787
+ this.unavailable =
788
+ result.error.status === HttpStatusCode.NotFound || result.error.status === HttpStatusCode.Forbidden;
789
+ return;
790
+ }
791
+ this.summaryStale = true;
792
+ if (this.isHome(this.currentPath)) {
793
+ this.refresh();
794
+ }
795
+ });
796
+ }
797
+ // The resolved dynamic part of the label. A remote built with an older library does not publish it,
798
+ // there it is read from the label itself: "Service Point Detail - 7014161" -> "7014161"
799
+ recordNumberIn(label, value) {
800
+ if (value) {
801
+ // A dynamic value that is the whole label is a title (e.g. a dashboard name), not a record number
802
+ return value !== label ? value : undefined;
803
+ }
804
+ const separator = label.indexOf(' - ');
805
+ const rest = separator > 0 ? label.slice(separator + 3).trim() : '';
806
+ return /\d/.test(rest) ? rest : undefined;
807
+ }
808
+ // "Service Point Detail - 7014161" -> "Service Point Detail"
809
+ screenTitle(label, recordNumber) {
810
+ if (!recordNumber || !label.endsWith(recordNumber)) {
811
+ return label;
812
+ }
813
+ return label.slice(0, -recordNumber.length).replace(/[\s\-–:]+$/, '') || label;
814
+ }
815
+ // Route path without the record specific segments, so every record of a screen falls on one row
816
+ screenKey(path, recordSegment) {
817
+ return path
818
+ .split('/')
819
+ .filter((segment) => segment !== recordSegment && !ID_SEGMENT.test(segment))
820
+ .join('/');
821
+ }
822
+ pathOf(url) {
823
+ return url.split(/[?#]/)[0];
824
+ }
825
+ isHome(path) {
826
+ return path === '' || path === '/';
827
+ }
828
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ScreenVisitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
829
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ScreenVisitService, providedIn: 'root' }); }
830
+ }
831
+ __decorate([
832
+ ServiceCall(HTTPMethods.POST, ProxyTypes.ClientSide, 'screen-visits', SILENT$1, Apps.MNG)
833
+ ], ScreenVisitService.prototype, "saveVisit", null);
834
+ __decorate([
835
+ ServiceCall(HTTPMethods.GETBYPARAMS, ProxyTypes.ClientSide, 'screen-visits/summary', SILENT$1, Apps.MNG)
836
+ ], ScreenVisitService.prototype, "getSummary", null);
837
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ScreenVisitService, decorators: [{
838
+ type: Injectable,
839
+ args: [{ providedIn: 'root' }]
840
+ }], ctorParameters: () => [], propDecorators: { saveVisit: [], getSummary: [] } });
841
+
83
842
  const ENV_VARIANTS = {
84
843
  PROD: 'prod',
85
844
  PREPROD: 'preprod',
@@ -102,13 +861,13 @@ class EnvironmentBannerComponent {
102
861
  this.username = '';
103
862
  }
104
863
  }
105
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: EnvironmentBannerComponent, deps: [{ token: i1.KeycloakService }], target: i0.ɵɵFactoryTarget.Component }); }
106
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: EnvironmentBannerComponent, isStandalone: true, selector: "app-environment-banner", ngImport: i0, template: "@if (code) {\r\n\t<div class=\"env-banner env-{{ variant }}\" *transloco=\"let t; read: 'envBanner'\">\r\n\t\t<span class=\"env-dot\"></span>\r\n\t\t<span class=\"env-label\">{{ t(variant) }}</span>\r\n\t\t@if (username) {\r\n\t\t\t<span class=\"env-sep\">\u2014</span>\r\n\t\t\t<span class=\"env-user\">{{ username }}</span>\r\n\t\t}\r\n\t</div>\r\n}\r\n", styles: [".env-banner{position:fixed;top:0;left:0;right:0;height:30px;display:flex;align-items:center;justify-content:center;gap:12px;padding:0 16px;font-size:12px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:#fff;box-shadow:0 2px 8px #00000047;z-index:1101}.env-banner.env-prod{background:#b91c1c}.env-banner.env-prod .env-dot{background:#fde047}.env-banner.env-preprod{background:#c2410c}.env-banner.env-preprod .env-dot{background:#fed7aa}.env-banner.env-stage{background:#1d4ed8}.env-banner.env-stage .env-dot{background:#bfdbfe}.env-banner.env-uat{background:#7e22ce}.env-banner.env-uat .env-dot{background:#e9d5ff}.env-banner.env-dev{background:#15803d}.env-banner.env-dev .env-dot{background:#bbf7d0}.env-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0;animation:env-pulse 1.4s ease-in-out infinite}.env-label{font-weight:800;white-space:nowrap}.env-sep{opacity:.7}.env-user{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes env-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.8)}}@media (prefers-reduced-motion: reduce){.env-dot{animation:none}}\n"], dependencies: [{ kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }] }); }
864
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EnvironmentBannerComponent, deps: [{ token: i1$1.KeycloakService }], target: i0.ɵɵFactoryTarget.Component }); }
865
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: EnvironmentBannerComponent, isStandalone: true, selector: "app-environment-banner", ngImport: i0, template: "@if (code) {\n\t<div class=\"env-banner env-{{ variant }}\" *transloco=\"let t; read: 'envBanner'\">\n\t\t<span class=\"env-dot\"></span>\n\t\t<span class=\"env-label\">{{ t(variant) }}</span>\n\t\t@if (username) {\n\t\t\t<span class=\"env-sep\">\u2014</span>\n\t\t\t<span class=\"env-user\">{{ username }}</span>\n\t\t}\n\t</div>\n}\n", styles: [".env-banner{position:fixed;top:0;left:0;right:0;height:30px;display:flex;align-items:center;justify-content:center;gap:12px;padding:0 16px;font-size:12px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:#fff;box-shadow:0 2px 8px #00000047;z-index:1101}.env-banner.env-prod{background:#b91c1c}.env-banner.env-prod .env-dot{background:#fde047}.env-banner.env-preprod{background:#c2410c}.env-banner.env-preprod .env-dot{background:#fed7aa}.env-banner.env-stage{background:#1d4ed8}.env-banner.env-stage .env-dot{background:#bfdbfe}.env-banner.env-uat{background:#7e22ce}.env-banner.env-uat .env-dot{background:#e9d5ff}.env-banner.env-dev{background:#15803d}.env-banner.env-dev .env-dot{background:#bbf7d0}.env-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0;animation:env-pulse 1.4s ease-in-out infinite}.env-label{font-weight:800;white-space:nowrap}.env-sep{opacity:.7}.env-user{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes env-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.8)}}@media (prefers-reduced-motion: reduce){.env-dot{animation:none}}\n"], dependencies: [{ kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }] }); }
107
866
  }
108
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: EnvironmentBannerComponent, decorators: [{
867
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EnvironmentBannerComponent, decorators: [{
109
868
  type: Component,
110
- args: [{ standalone: true, selector: 'app-environment-banner', imports: [TranslocoModule], template: "@if (code) {\r\n\t<div class=\"env-banner env-{{ variant }}\" *transloco=\"let t; read: 'envBanner'\">\r\n\t\t<span class=\"env-dot\"></span>\r\n\t\t<span class=\"env-label\">{{ t(variant) }}</span>\r\n\t\t@if (username) {\r\n\t\t\t<span class=\"env-sep\">\u2014</span>\r\n\t\t\t<span class=\"env-user\">{{ username }}</span>\r\n\t\t}\r\n\t</div>\r\n}\r\n", styles: [".env-banner{position:fixed;top:0;left:0;right:0;height:30px;display:flex;align-items:center;justify-content:center;gap:12px;padding:0 16px;font-size:12px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:#fff;box-shadow:0 2px 8px #00000047;z-index:1101}.env-banner.env-prod{background:#b91c1c}.env-banner.env-prod .env-dot{background:#fde047}.env-banner.env-preprod{background:#c2410c}.env-banner.env-preprod .env-dot{background:#fed7aa}.env-banner.env-stage{background:#1d4ed8}.env-banner.env-stage .env-dot{background:#bfdbfe}.env-banner.env-uat{background:#7e22ce}.env-banner.env-uat .env-dot{background:#e9d5ff}.env-banner.env-dev{background:#15803d}.env-banner.env-dev .env-dot{background:#bbf7d0}.env-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0;animation:env-pulse 1.4s ease-in-out infinite}.env-label{font-weight:800;white-space:nowrap}.env-sep{opacity:.7}.env-user{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes env-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.8)}}@media (prefers-reduced-motion: reduce){.env-dot{animation:none}}\n"] }]
111
- }], ctorParameters: () => [{ type: i1.KeycloakService }] });
869
+ args: [{ standalone: true, selector: 'app-environment-banner', imports: [TranslocoModule], template: "@if (code) {\n\t<div class=\"env-banner env-{{ variant }}\" *transloco=\"let t; read: 'envBanner'\">\n\t\t<span class=\"env-dot\"></span>\n\t\t<span class=\"env-label\">{{ t(variant) }}</span>\n\t\t@if (username) {\n\t\t\t<span class=\"env-sep\">\u2014</span>\n\t\t\t<span class=\"env-user\">{{ username }}</span>\n\t\t}\n\t</div>\n}\n", styles: [".env-banner{position:fixed;top:0;left:0;right:0;height:30px;display:flex;align-items:center;justify-content:center;gap:12px;padding:0 16px;font-size:12px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:#fff;box-shadow:0 2px 8px #00000047;z-index:1101}.env-banner.env-prod{background:#b91c1c}.env-banner.env-prod .env-dot{background:#fde047}.env-banner.env-preprod{background:#c2410c}.env-banner.env-preprod .env-dot{background:#fed7aa}.env-banner.env-stage{background:#1d4ed8}.env-banner.env-stage .env-dot{background:#bfdbfe}.env-banner.env-uat{background:#7e22ce}.env-banner.env-uat .env-dot{background:#e9d5ff}.env-banner.env-dev{background:#15803d}.env-banner.env-dev .env-dot{background:#bbf7d0}.env-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0;animation:env-pulse 1.4s ease-in-out infinite}.env-label{font-weight:800;white-space:nowrap}.env-sep{opacity:.7}.env-user{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes env-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.8)}}@media (prefers-reduced-motion: reduce){.env-dot{animation:none}}\n"] }]
870
+ }], ctorParameters: () => [{ type: i1$1.KeycloakService }] });
112
871
 
113
872
  var LanguageCode;
114
873
  (function (LanguageCode) {
@@ -162,8 +921,8 @@ class ProfileService extends RestClient {
162
921
  getAllApp(post) {
163
922
  return new Observable();
164
923
  }
165
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ProfileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
166
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ProfileService, providedIn: 'root' }); }
924
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProfileService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
925
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProfileService, providedIn: 'root' }); }
167
926
  }
168
927
  __decorate([
169
928
  ServiceCall(HTTPMethods.POST, ProxyTypes.ClientSide, profileEndpoints.getUser, {}, Apps.MW)
@@ -186,7 +945,7 @@ __decorate([
186
945
  __decorate([
187
946
  ServiceCall(HTTPMethods.POST, ProxyTypes.ClientSide, 'user-management/clients', {}, Apps.MW)
188
947
  ], ProfileService.prototype, "getAllApp", null);
189
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ProfileService, decorators: [{
948
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProfileService, decorators: [{
190
949
  type: Injectable,
191
950
  args: [{ providedIn: 'root' }]
192
951
  }], propDecorators: { getUser: [], updateUser: [], resetPassword: [], getAllClientsList: [], getAllUserType: [], getAuthorityTree: [], getAllApp: [] } });
@@ -295,10 +1054,10 @@ class ChangePasswordModalComponent {
295
1054
  cancel() {
296
1055
  this.dialogRef.close('cancel');
297
1056
  }
298
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ChangePasswordModalComponent, deps: [{ token: i1$1.FormBuilder }, { token: i2.DynamicDialogRef }, { token: i2.DynamicDialogConfig }, { token: ProfileService }, { token: i5.TranslocoService }, { token: i3.MessageService }], target: i0.ɵɵFactoryTarget.Component }); }
299
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: ChangePasswordModalComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div class=\"change-password-modal\" *transloco=\"let t; read: 'profileSidebar'\">\r\n\t<aril-form [formGroup]=\"passwordForm\">\r\n\t\t<aril-field [label]=\"t('newPassword')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<p-password \r\n\t\t\t\tformControlName=\"newPassword\"\r\n\t\t\t\t[placeholder]=\"t('newPassword')\"\r\n\t\t\t\t[feedback]=\"false\"\r\n\t\t\t\t[toggleMask]=\"true\"\r\n\t\t\t\tstyleClass=\"w-full\"\r\n\t\t\t\tautocomplete=\"new-password\"\r\n\t\t\t\t[pTooltip]=\"passwordForm.get('newPassword')?.invalid && passwordForm.get('newPassword')?.touched ? getErrorMessage('newPassword') : ''\"\r\n\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t\ttooltipStyleClass=\"tooltipErrorMessage\">\r\n\t\t\t</p-password>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('confirmPassword')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<p-password \r\n\t\t\t\tformControlName=\"confirmPassword\"\r\n\t\t\t\t[placeholder]=\"t('confirmPassword')\"\r\n\t\t\t\t[feedback]=\"false\"\r\n\t\t\t\t[toggleMask]=\"true\"\r\n\t\t\t\tstyleClass=\"w-full\"\r\n\t\t\t\tautocomplete=\"new-password\"\r\n\t\t\t\t[pTooltip]=\"passwordForm.get('confirmPassword')?.invalid && passwordForm.get('confirmPassword')?.touched ? getErrorMessage('confirmPassword') : ''\"\r\n\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t\ttooltipStyleClass=\"tooltipErrorMessage\">\r\n\t\t\t</p-password>\r\n\t\t</aril-field>\r\n\r\n\t\t<div class=\"col-12 flex justify-content-end mt-4 gap-2\">\r\n\t\t\t<aril-button\r\n\t\t\t\tcolor=\"danger\"\r\n\t\t\t\t[label]=\"t('cancel')\"\r\n\t\t\t\t[outlined]=\"true\"\r\n\t\t\t\ticon=\"TIMES\"\r\n\t\t\t\t(clickEvent)=\"cancel()\">\r\n\t\t\t</aril-button>\r\n\t\t\t<aril-button\r\n\t\t\t\tcolor=\"success\"\r\n\t\t\t\t[label]=\"t('save')\"\r\n\t\t\t\t[raised]=\"false\"\r\n\t\t\t\ticon=\"CHECK\"\r\n\t\t\t\t(clickEvent)=\"submit()\">\r\n\t\t\t</aril-button>\r\n\t\t</div>\r\n\t</aril-form>\r\n</div>\r\n", styles: [".change-password-modal :host ::ng-deep .p-password.ng-invalid.ng-touched .p-inputtext{border-color:var(--red-500, #ef4444);box-shadow:0 0 0 1px var(--red-500, #ef4444)}.change-password-modal :host ::ng-deep .p-password.ng-valid.ng-touched .p-inputtext{border-color:var(--green-500, #22c55e);box-shadow:0 0 0 1px var(--green-500, #22c55e)}.change-password-modal :host ::ng-deep .tooltipErrorMessage{background-color:var(--red-500, #ef4444)!important;color:#fff!important;font-size:.75rem!important;font-weight:500!important;border-radius:4px!important;padding:.5rem .75rem!important;box-shadow:0 2px 4px #0000001a!important}.change-password-modal :host ::ng-deep .tooltipErrorMessage .p-tooltip-arrow{border-top-color:var(--red-500, #ef4444)!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ARiLFormModule }, { kind: "component", type: i6.FormComponent, selector: "aril-form", inputs: ["formGroup", "submitOnEnterInWidgets"] }, { kind: "component", type: FieldComponent, selector: "aril-field", inputs: ["label", "color", "labelWidth", "valueWidth", "labelPos", "markAsRequired", "cols", "infoData", "infoDataOverlayPanel"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "ngmodule", type: PasswordModule }, { kind: "component", type: i7.Password, selector: "p-password", inputs: ["ariaLabel", "ariaLabelledBy", "label", "disabled", "promptLabel", "mediumRegex", "strongRegex", "weakLabel", "mediumLabel", "maxLength", "strongLabel", "inputId", "feedback", "appendTo", "toggleMask", "inputStyleClass", "styleClass", "style", "inputStyle", "showTransitionOptions", "hideTransitionOptions", "autocomplete", "placeholder", "showClear", "autofocus", "variant"], outputs: ["onFocus", "onBlur", "onClear"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }] }); }
1057
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChangePasswordModalComponent, deps: [{ token: i1$2.FormBuilder }, { token: i2.DynamicDialogRef }, { token: i2.DynamicDialogConfig }, { token: ProfileService }, { token: i5.TranslocoService }, { token: i3.MessageService }], target: i0.ɵɵFactoryTarget.Component }); }
1058
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChangePasswordModalComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div class=\"change-password-modal\" *transloco=\"let t; read: 'profileSidebar'\">\n\t<aril-form [formGroup]=\"passwordForm\">\n\t\t<aril-field [label]=\"t('newPassword')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<p-password \n\t\t\t\tformControlName=\"newPassword\"\n\t\t\t\t[placeholder]=\"t('newPassword')\"\n\t\t\t\t[feedback]=\"false\"\n\t\t\t\t[toggleMask]=\"true\"\n\t\t\t\tstyleClass=\"w-full\"\n\t\t\t\tautocomplete=\"new-password\"\n\t\t\t\t[pTooltip]=\"passwordForm.get('newPassword')?.invalid && passwordForm.get('newPassword')?.touched ? getErrorMessage('newPassword') : ''\"\n\t\t\t\ttooltipPosition=\"top\"\n\t\t\t\ttooltipStyleClass=\"tooltipErrorMessage\">\n\t\t\t</p-password>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('confirmPassword')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<p-password \n\t\t\t\tformControlName=\"confirmPassword\"\n\t\t\t\t[placeholder]=\"t('confirmPassword')\"\n\t\t\t\t[feedback]=\"false\"\n\t\t\t\t[toggleMask]=\"true\"\n\t\t\t\tstyleClass=\"w-full\"\n\t\t\t\tautocomplete=\"new-password\"\n\t\t\t\t[pTooltip]=\"passwordForm.get('confirmPassword')?.invalid && passwordForm.get('confirmPassword')?.touched ? getErrorMessage('confirmPassword') : ''\"\n\t\t\t\ttooltipPosition=\"top\"\n\t\t\t\ttooltipStyleClass=\"tooltipErrorMessage\">\n\t\t\t</p-password>\n\t\t</aril-field>\n\n\t\t<div class=\"col-12 flex justify-content-end mt-4 gap-2\">\n\t\t\t<aril-button\n\t\t\t\tcolor=\"danger\"\n\t\t\t\t[label]=\"t('cancel')\"\n\t\t\t\t[outlined]=\"true\"\n\t\t\t\ticon=\"TIMES\"\n\t\t\t\t(clickEvent)=\"cancel()\">\n\t\t\t</aril-button>\n\t\t\t<aril-button\n\t\t\t\tcolor=\"success\"\n\t\t\t\t[label]=\"t('save')\"\n\t\t\t\t[raised]=\"false\"\n\t\t\t\ticon=\"CHECK\"\n\t\t\t\t(clickEvent)=\"submit()\">\n\t\t\t</aril-button>\n\t\t</div>\n\t</aril-form>\n</div>\n", styles: [".change-password-modal :host ::ng-deep .p-password.ng-invalid.ng-touched .p-inputtext{border-color:var(--red-500, #ef4444);box-shadow:0 0 0 1px var(--red-500, #ef4444)}.change-password-modal :host ::ng-deep .p-password.ng-valid.ng-touched .p-inputtext{border-color:var(--green-500, #22c55e);box-shadow:0 0 0 1px var(--green-500, #22c55e)}.change-password-modal :host ::ng-deep .tooltipErrorMessage{background-color:var(--red-500, #ef4444)!important;color:#fff!important;font-size:.75rem!important;font-weight:500!important;border-radius:4px!important;padding:.5rem .75rem!important;box-shadow:0 2px 4px #0000001a!important}.change-password-modal :host ::ng-deep .tooltipErrorMessage .p-tooltip-arrow{border-top-color:var(--red-500, #ef4444)!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ARiLFormModule }, { kind: "component", type: i6.FormComponent, selector: "aril-form", inputs: ["formGroup", "submitOnEnterInWidgets"] }, { kind: "component", type: FieldComponent, selector: "aril-field", inputs: ["label", "color", "labelWidth", "valueWidth", "labelPos", "markAsRequired", "cols", "infoData", "infoDataOverlayPanel"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "ngmodule", type: PasswordModule }, { kind: "component", type: i7.Password, selector: "p-password", inputs: ["ariaLabel", "ariaLabelledBy", "label", "disabled", "promptLabel", "mediumRegex", "strongRegex", "weakLabel", "mediumLabel", "maxLength", "strongLabel", "inputId", "feedback", "appendTo", "toggleMask", "inputStyleClass", "styleClass", "style", "inputStyle", "showTransitionOptions", "hideTransitionOptions", "autocomplete", "placeholder", "showClear", "autofocus", "variant"], outputs: ["onFocus", "onBlur", "onClear"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }] }); }
300
1059
  }
301
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ChangePasswordModalComponent, decorators: [{
1060
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChangePasswordModalComponent, decorators: [{
302
1061
  type: Component,
303
1062
  args: [{ standalone: true, imports: [
304
1063
  CommonModule,
@@ -310,8 +1069,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
310
1069
  PasswordModule,
311
1070
  TooltipModule,
312
1071
  TranslocoModule
313
- ], template: "<div class=\"change-password-modal\" *transloco=\"let t; read: 'profileSidebar'\">\r\n\t<aril-form [formGroup]=\"passwordForm\">\r\n\t\t<aril-field [label]=\"t('newPassword')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<p-password \r\n\t\t\t\tformControlName=\"newPassword\"\r\n\t\t\t\t[placeholder]=\"t('newPassword')\"\r\n\t\t\t\t[feedback]=\"false\"\r\n\t\t\t\t[toggleMask]=\"true\"\r\n\t\t\t\tstyleClass=\"w-full\"\r\n\t\t\t\tautocomplete=\"new-password\"\r\n\t\t\t\t[pTooltip]=\"passwordForm.get('newPassword')?.invalid && passwordForm.get('newPassword')?.touched ? getErrorMessage('newPassword') : ''\"\r\n\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t\ttooltipStyleClass=\"tooltipErrorMessage\">\r\n\t\t\t</p-password>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('confirmPassword')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<p-password \r\n\t\t\t\tformControlName=\"confirmPassword\"\r\n\t\t\t\t[placeholder]=\"t('confirmPassword')\"\r\n\t\t\t\t[feedback]=\"false\"\r\n\t\t\t\t[toggleMask]=\"true\"\r\n\t\t\t\tstyleClass=\"w-full\"\r\n\t\t\t\tautocomplete=\"new-password\"\r\n\t\t\t\t[pTooltip]=\"passwordForm.get('confirmPassword')?.invalid && passwordForm.get('confirmPassword')?.touched ? getErrorMessage('confirmPassword') : ''\"\r\n\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t\ttooltipStyleClass=\"tooltipErrorMessage\">\r\n\t\t\t</p-password>\r\n\t\t</aril-field>\r\n\r\n\t\t<div class=\"col-12 flex justify-content-end mt-4 gap-2\">\r\n\t\t\t<aril-button\r\n\t\t\t\tcolor=\"danger\"\r\n\t\t\t\t[label]=\"t('cancel')\"\r\n\t\t\t\t[outlined]=\"true\"\r\n\t\t\t\ticon=\"TIMES\"\r\n\t\t\t\t(clickEvent)=\"cancel()\">\r\n\t\t\t</aril-button>\r\n\t\t\t<aril-button\r\n\t\t\t\tcolor=\"success\"\r\n\t\t\t\t[label]=\"t('save')\"\r\n\t\t\t\t[raised]=\"false\"\r\n\t\t\t\ticon=\"CHECK\"\r\n\t\t\t\t(clickEvent)=\"submit()\">\r\n\t\t\t</aril-button>\r\n\t\t</div>\r\n\t</aril-form>\r\n</div>\r\n", styles: [".change-password-modal :host ::ng-deep .p-password.ng-invalid.ng-touched .p-inputtext{border-color:var(--red-500, #ef4444);box-shadow:0 0 0 1px var(--red-500, #ef4444)}.change-password-modal :host ::ng-deep .p-password.ng-valid.ng-touched .p-inputtext{border-color:var(--green-500, #22c55e);box-shadow:0 0 0 1px var(--green-500, #22c55e)}.change-password-modal :host ::ng-deep .tooltipErrorMessage{background-color:var(--red-500, #ef4444)!important;color:#fff!important;font-size:.75rem!important;font-weight:500!important;border-radius:4px!important;padding:.5rem .75rem!important;box-shadow:0 2px 4px #0000001a!important}.change-password-modal :host ::ng-deep .tooltipErrorMessage .p-tooltip-arrow{border-top-color:var(--red-500, #ef4444)!important}\n"] }]
314
- }], ctorParameters: () => [{ type: i1$1.FormBuilder }, { type: i2.DynamicDialogRef }, { type: i2.DynamicDialogConfig }, { type: ProfileService }, { type: i5.TranslocoService }, { type: i3.MessageService }] });
1072
+ ], template: "<div class=\"change-password-modal\" *transloco=\"let t; read: 'profileSidebar'\">\n\t<aril-form [formGroup]=\"passwordForm\">\n\t\t<aril-field [label]=\"t('newPassword')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<p-password \n\t\t\t\tformControlName=\"newPassword\"\n\t\t\t\t[placeholder]=\"t('newPassword')\"\n\t\t\t\t[feedback]=\"false\"\n\t\t\t\t[toggleMask]=\"true\"\n\t\t\t\tstyleClass=\"w-full\"\n\t\t\t\tautocomplete=\"new-password\"\n\t\t\t\t[pTooltip]=\"passwordForm.get('newPassword')?.invalid && passwordForm.get('newPassword')?.touched ? getErrorMessage('newPassword') : ''\"\n\t\t\t\ttooltipPosition=\"top\"\n\t\t\t\ttooltipStyleClass=\"tooltipErrorMessage\">\n\t\t\t</p-password>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('confirmPassword')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<p-password \n\t\t\t\tformControlName=\"confirmPassword\"\n\t\t\t\t[placeholder]=\"t('confirmPassword')\"\n\t\t\t\t[feedback]=\"false\"\n\t\t\t\t[toggleMask]=\"true\"\n\t\t\t\tstyleClass=\"w-full\"\n\t\t\t\tautocomplete=\"new-password\"\n\t\t\t\t[pTooltip]=\"passwordForm.get('confirmPassword')?.invalid && passwordForm.get('confirmPassword')?.touched ? getErrorMessage('confirmPassword') : ''\"\n\t\t\t\ttooltipPosition=\"top\"\n\t\t\t\ttooltipStyleClass=\"tooltipErrorMessage\">\n\t\t\t</p-password>\n\t\t</aril-field>\n\n\t\t<div class=\"col-12 flex justify-content-end mt-4 gap-2\">\n\t\t\t<aril-button\n\t\t\t\tcolor=\"danger\"\n\t\t\t\t[label]=\"t('cancel')\"\n\t\t\t\t[outlined]=\"true\"\n\t\t\t\ticon=\"TIMES\"\n\t\t\t\t(clickEvent)=\"cancel()\">\n\t\t\t</aril-button>\n\t\t\t<aril-button\n\t\t\t\tcolor=\"success\"\n\t\t\t\t[label]=\"t('save')\"\n\t\t\t\t[raised]=\"false\"\n\t\t\t\ticon=\"CHECK\"\n\t\t\t\t(clickEvent)=\"submit()\">\n\t\t\t</aril-button>\n\t\t</div>\n\t</aril-form>\n</div>\n", styles: [".change-password-modal :host ::ng-deep .p-password.ng-invalid.ng-touched .p-inputtext{border-color:var(--red-500, #ef4444);box-shadow:0 0 0 1px var(--red-500, #ef4444)}.change-password-modal :host ::ng-deep .p-password.ng-valid.ng-touched .p-inputtext{border-color:var(--green-500, #22c55e);box-shadow:0 0 0 1px var(--green-500, #22c55e)}.change-password-modal :host ::ng-deep .tooltipErrorMessage{background-color:var(--red-500, #ef4444)!important;color:#fff!important;font-size:.75rem!important;font-weight:500!important;border-radius:4px!important;padding:.5rem .75rem!important;box-shadow:0 2px 4px #0000001a!important}.change-password-modal :host ::ng-deep .tooltipErrorMessage .p-tooltip-arrow{border-top-color:var(--red-500, #ef4444)!important}\n"] }]
1073
+ }], ctorParameters: () => [{ type: i1$2.FormBuilder }, { type: i2.DynamicDialogRef }, { type: i2.DynamicDialogConfig }, { type: ProfileService }, { type: i5.TranslocoService }, { type: i3.MessageService }] });
315
1074
 
316
1075
  class EditProfileModalComponent {
317
1076
  constructor(formBuilder, dialogRef, messageService, profileService, dialogConfig, translocoService) {
@@ -467,10 +1226,10 @@ class EditProfileModalComponent {
467
1226
  clear() {
468
1227
  this.levelPairs = [];
469
1228
  }
470
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: EditProfileModalComponent, deps: [{ token: i1$1.FormBuilder }, { token: i2.DynamicDialogRef }, { token: i3.MessageService }, { token: ProfileService }, { token: i2.DynamicDialogConfig }, { token: i5.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
471
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: EditProfileModalComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div *transloco=\"let t; read: 'profileSidebar'\">\r\n\t<aril-form [formGroup]=\"profileForm\">\r\n\t\t<aril-field [label]=\"t('userStatus')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-checkbox [label]=\"' '\" formControlName=\"enabled\" [disabled]=\"true\"></aril-checkbox>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('systemUser')\" [cols]=\"{ xl: 6, lg: 6, md: 12, sm: 12 }\">\r\n\t\t\t<aril-checkbox [label]=\"' '\" formControlName=\"systemUser\" [disabled]=\"true\"></aril-checkbox>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('userType')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-select-box formControlName=\"userTypeId\" [items]=\"userTypeItems\" itemKey=\"value\" itemText=\"label\" [placeholder]=\"t('select')\"></aril-select-box>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('systemUserApp')\" [cols]=\"{ xl: 6, lg: 6, md: 12, sm: 12 }\">\r\n\t\t\t<aril-select-box formControlName=\"clientOfSystemUser\" [items]=\"clientList\" itemText=\"text\" itemKey=\"key\" [placeholder]=\"t('select')\"></aril-select-box>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('username')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-text formControlName=\"userName\" [disabled]=\"true\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('userPassword')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-password formControlName=\"password\" [placeholder]=\"'&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;'\"></aril-password>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('firstName')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-text formControlName=\"firstName\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('lastName')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-text formControlName=\"lastName\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('email')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-text formControlName=\"email\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('phone')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-mask mask=\"(999) 999 99 99\" [placeholder]=\"t('phoneExample')\" formControlName=\"phone\"></aril-mask>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('tcNumber')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-mask mask=\"99999999999\" formControlName=\"tckn\"></aril-mask>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('responsibleRegions')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-treeSelect\r\n\t\t\t\t[options]=\"treeItems\"\r\n\t\t\t\tformControlName=\"regions\"\r\n\t\t\t\t[placeholder]=\"t('select')\"\r\n\t\t\t\t(nodeSelect)=\"nodeSelect($event)\"\r\n\t\t\t\t(nodeUnselect)=\"nodeUnselect($event)\"\r\n\t\t\t\t(cleared)=\"clear()\">\r\n\t\t\t</aril-treeSelect>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('notes')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\">\r\n\t\t\t<aril-text-area [rows]=\"3\" [cols]=\"40\" formControlName=\"notes\"></aril-text-area>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('photoUrl')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-text formControlName=\"photoUrl\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<div class=\"col-12 flex justify-content-end mt-3 gap-1\">\r\n\t\t\t<aril-button color=\"danger\" [label]=\"t('cancel')\" [outlined]=\"true\" icon=\"TIMES\" (clickEvent)=\"cancel()\"></aril-button>\r\n\t\t\t<aril-form-submit [label]=\"t('save')\" color=\"success\" icon=\"CHECK\" [formGroup]=\"profileForm\" (validEvent)=\"submit()\"></aril-form-submit>\r\n\t\t</div>\r\n\t</aril-form>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ARiLFormModule }, { kind: "component", type: i6.FormComponent, selector: "aril-form", inputs: ["formGroup", "submitOnEnterInWidgets"] }, { kind: "component", type: i6.FormSubmitButtonComponent, selector: "aril-form-submit:not([click])", inputs: ["formGroup"], outputs: ["validEvent", "inValidEvent"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "ngmodule", type: TreeSelectModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: TextComponent, selector: "aril-text[ngModel], aril-text[formControl], aril-text[formControlName]", inputs: ["placeholder", "tabindex", "icon", "iconPos", "size"] }, { kind: "component", type: MaskComponent, selector: "aril-mask[ngModel], aril-mask[formControl], aril-mask[formControlName]", inputs: ["mask", "slotChar", "placeholder", "maxlength", "usageInGrid", "tabindex"] }, { kind: "component", type: FieldComponent, selector: "aril-field", inputs: ["label", "color", "labelWidth", "valueWidth", "labelPos", "markAsRequired", "cols", "infoData", "infoDataOverlayPanel"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "component", type: TextAreaComponent, selector: "aril-text-area[ngModel], aril-text-area[formControl], aril-text-area[formControlName]", inputs: ["rows", "cols", "isAutoResize", "tabindex", "placeholder"] }, { kind: "component", type: CheckboxComponent, selector: "aril-checkbox[ngModel], aril-checkbox[formControl], aril-checkbox[formControlName]", inputs: ["label", "labelAsYesNo", "tabindex"] }, { kind: "component", type: PasswordComponent, selector: "aril-password[ngModel], aril-password[formControl], aril-password[formControlName]", inputs: ["feedback", "passwordCriterias", "placeholder", "tabindex"] }, { kind: "component", type: SelectBoxComponent, selector: "aril-select-box[ngModel], aril-select-box[formControl], aril-select-box[formControlName]", inputs: ["itemKey", "itemText", "groupName", "parentSelectionKey", "tabindex", "items", "grouped", "showClearButton", "placeholder", "searchExpr"], outputs: ["onSelectionChanged"] }, { kind: "component", type: TreeSelectComponent, selector: "aril-treeSelect", inputs: ["options", "modelValue", "placeholder", "selectionMode", "display", "showClear", "filter", "filterPlaceholder", "propagateSelectionUp", "propagateSelectionDown", "metaKeySelection", "formControlName"], outputs: ["modelValueChange", "nodeSelect", "nodeUnselect", "cleared"] }] }); }
1229
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EditProfileModalComponent, deps: [{ token: i1$2.FormBuilder }, { token: i2.DynamicDialogRef }, { token: i3.MessageService }, { token: ProfileService }, { token: i2.DynamicDialogConfig }, { token: i5.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
1230
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: EditProfileModalComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div *transloco=\"let t; read: 'profileSidebar'\">\n\t<aril-form [formGroup]=\"profileForm\">\n\t\t<aril-field [label]=\"t('userStatus')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\n\t\t\t<aril-checkbox [label]=\"' '\" formControlName=\"enabled\" [disabled]=\"true\"></aril-checkbox>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('systemUser')\" [cols]=\"{ xl: 6, lg: 6, md: 12, sm: 12 }\">\n\t\t\t<aril-checkbox [label]=\"' '\" formControlName=\"systemUser\" [disabled]=\"true\"></aril-checkbox>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('userType')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<aril-select-box formControlName=\"userTypeId\" [items]=\"userTypeItems\" itemKey=\"value\" itemText=\"label\" [placeholder]=\"t('select')\"></aril-select-box>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('systemUserApp')\" [cols]=\"{ xl: 6, lg: 6, md: 12, sm: 12 }\">\n\t\t\t<aril-select-box formControlName=\"clientOfSystemUser\" [items]=\"clientList\" itemText=\"text\" itemKey=\"key\" [placeholder]=\"t('select')\"></aril-select-box>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('username')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<aril-text formControlName=\"userName\" [disabled]=\"true\"></aril-text>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('userPassword')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<aril-password formControlName=\"password\" [placeholder]=\"'&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;'\"></aril-password>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('firstName')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<aril-text formControlName=\"firstName\"></aril-text>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('lastName')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\n\t\t\t<aril-text formControlName=\"lastName\"></aril-text>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('email')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<aril-text formControlName=\"email\"></aril-text>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('phone')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\n\t\t\t<aril-mask mask=\"(999) 999 99 99\" [placeholder]=\"t('phoneExample')\" formControlName=\"phone\"></aril-mask>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('tcNumber')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<aril-mask mask=\"99999999999\" formControlName=\"tckn\"></aril-mask>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('responsibleRegions')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\n\t\t\t<aril-treeSelect\n\t\t\t\t[options]=\"treeItems\"\n\t\t\t\tformControlName=\"regions\"\n\t\t\t\t[placeholder]=\"t('select')\"\n\t\t\t\t(nodeSelect)=\"nodeSelect($event)\"\n\t\t\t\t(nodeUnselect)=\"nodeUnselect($event)\"\n\t\t\t\t(cleared)=\"clear()\">\n\t\t\t</aril-treeSelect>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('notes')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\">\n\t\t\t<aril-text-area [rows]=\"3\" [cols]=\"40\" formControlName=\"notes\"></aril-text-area>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('photoUrl')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\n\t\t\t<aril-text formControlName=\"photoUrl\"></aril-text>\n\t\t</aril-field>\n\n\t\t<div class=\"col-12 flex justify-content-end mt-3 gap-1\">\n\t\t\t<aril-button color=\"danger\" [label]=\"t('cancel')\" [outlined]=\"true\" icon=\"TIMES\" (clickEvent)=\"cancel()\"></aril-button>\n\t\t\t<aril-form-submit [label]=\"t('save')\" color=\"success\" icon=\"CHECK\" [formGroup]=\"profileForm\" (validEvent)=\"submit()\"></aril-form-submit>\n\t\t</div>\n\t</aril-form>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ARiLFormModule }, { kind: "component", type: i6.FormComponent, selector: "aril-form", inputs: ["formGroup", "submitOnEnterInWidgets"] }, { kind: "component", type: i6.FormSubmitButtonComponent, selector: "aril-form-submit:not([click])", inputs: ["formGroup"], outputs: ["validEvent", "inValidEvent"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "ngmodule", type: TreeSelectModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: TextComponent, selector: "aril-text[ngModel], aril-text[formControl], aril-text[formControlName]", inputs: ["placeholder", "tabindex", "icon", "iconPos", "size"] }, { kind: "component", type: MaskComponent, selector: "aril-mask[ngModel], aril-mask[formControl], aril-mask[formControlName]", inputs: ["mask", "slotChar", "placeholder", "maxlength", "usageInGrid", "tabindex"] }, { kind: "component", type: FieldComponent, selector: "aril-field", inputs: ["label", "color", "labelWidth", "valueWidth", "labelPos", "markAsRequired", "cols", "infoData", "infoDataOverlayPanel"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "component", type: TextAreaComponent, selector: "aril-text-area[ngModel], aril-text-area[formControl], aril-text-area[formControlName]", inputs: ["rows", "cols", "isAutoResize", "tabindex", "placeholder"] }, { kind: "component", type: CheckboxComponent, selector: "aril-checkbox[ngModel], aril-checkbox[formControl], aril-checkbox[formControlName]", inputs: ["label", "labelAsYesNo", "tabindex"] }, { kind: "component", type: PasswordComponent, selector: "aril-password[ngModel], aril-password[formControl], aril-password[formControlName]", inputs: ["feedback", "passwordCriterias", "placeholder", "tabindex"] }, { kind: "component", type: SelectBoxComponent, selector: "aril-select-box[ngModel], aril-select-box[formControl], aril-select-box[formControlName]", inputs: ["itemKey", "itemText", "groupName", "parentSelectionKey", "tabindex", "items", "grouped", "showClearButton", "placeholder", "searchExpr"], outputs: ["onSelectionChanged"] }, { kind: "component", type: TreeSelectComponent, selector: "aril-treeSelect", inputs: ["options", "modelValue", "placeholder", "selectionMode", "display", "showClear", "filter", "filterPlaceholder", "propagateSelectionUp", "propagateSelectionDown", "metaKeySelection", "formControlName"], outputs: ["modelValueChange", "nodeSelect", "nodeUnselect", "cleared"] }] }); }
472
1231
  }
473
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: EditProfileModalComponent, decorators: [{
1232
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EditProfileModalComponent, decorators: [{
474
1233
  type: Component,
475
1234
  args: [{ standalone: true, imports: [
476
1235
  CommonModule,
@@ -488,8 +1247,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
488
1247
  PasswordComponent,
489
1248
  SelectBoxComponent,
490
1249
  TreeSelectComponent
491
- ], template: "<div *transloco=\"let t; read: 'profileSidebar'\">\r\n\t<aril-form [formGroup]=\"profileForm\">\r\n\t\t<aril-field [label]=\"t('userStatus')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-checkbox [label]=\"' '\" formControlName=\"enabled\" [disabled]=\"true\"></aril-checkbox>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('systemUser')\" [cols]=\"{ xl: 6, lg: 6, md: 12, sm: 12 }\">\r\n\t\t\t<aril-checkbox [label]=\"' '\" formControlName=\"systemUser\" [disabled]=\"true\"></aril-checkbox>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('userType')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-select-box formControlName=\"userTypeId\" [items]=\"userTypeItems\" itemKey=\"value\" itemText=\"label\" [placeholder]=\"t('select')\"></aril-select-box>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('systemUserApp')\" [cols]=\"{ xl: 6, lg: 6, md: 12, sm: 12 }\">\r\n\t\t\t<aril-select-box formControlName=\"clientOfSystemUser\" [items]=\"clientList\" itemText=\"text\" itemKey=\"key\" [placeholder]=\"t('select')\"></aril-select-box>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('username')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-text formControlName=\"userName\" [disabled]=\"true\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('userPassword')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-password formControlName=\"password\" [placeholder]=\"'&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;'\"></aril-password>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('firstName')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-text formControlName=\"firstName\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('lastName')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-text formControlName=\"lastName\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('email')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-text formControlName=\"email\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('phone')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-mask mask=\"(999) 999 99 99\" [placeholder]=\"t('phoneExample')\" formControlName=\"phone\"></aril-mask>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('tcNumber')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-mask mask=\"99999999999\" formControlName=\"tckn\"></aril-mask>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('responsibleRegions')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-treeSelect\r\n\t\t\t\t[options]=\"treeItems\"\r\n\t\t\t\tformControlName=\"regions\"\r\n\t\t\t\t[placeholder]=\"t('select')\"\r\n\t\t\t\t(nodeSelect)=\"nodeSelect($event)\"\r\n\t\t\t\t(nodeUnselect)=\"nodeUnselect($event)\"\r\n\t\t\t\t(cleared)=\"clear()\">\r\n\t\t\t</aril-treeSelect>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('notes')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\">\r\n\t\t\t<aril-text-area [rows]=\"3\" [cols]=\"40\" formControlName=\"notes\"></aril-text-area>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('photoUrl')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\r\n\t\t\t<aril-text formControlName=\"photoUrl\"></aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<div class=\"col-12 flex justify-content-end mt-3 gap-1\">\r\n\t\t\t<aril-button color=\"danger\" [label]=\"t('cancel')\" [outlined]=\"true\" icon=\"TIMES\" (clickEvent)=\"cancel()\"></aril-button>\r\n\t\t\t<aril-form-submit [label]=\"t('save')\" color=\"success\" icon=\"CHECK\" [formGroup]=\"profileForm\" (validEvent)=\"submit()\"></aril-form-submit>\r\n\t\t</div>\r\n\t</aril-form>\r\n</div>\r\n" }]
492
- }], ctorParameters: () => [{ type: i1$1.FormBuilder }, { type: i2.DynamicDialogRef }, { type: i3.MessageService }, { type: ProfileService }, { type: i2.DynamicDialogConfig }, { type: i5.TranslocoService }] });
1250
+ ], template: "<div *transloco=\"let t; read: 'profileSidebar'\">\n\t<aril-form [formGroup]=\"profileForm\">\n\t\t<aril-field [label]=\"t('userStatus')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\n\t\t\t<aril-checkbox [label]=\"' '\" formControlName=\"enabled\" [disabled]=\"true\"></aril-checkbox>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('systemUser')\" [cols]=\"{ xl: 6, lg: 6, md: 12, sm: 12 }\">\n\t\t\t<aril-checkbox [label]=\"' '\" formControlName=\"systemUser\" [disabled]=\"true\"></aril-checkbox>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('userType')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<aril-select-box formControlName=\"userTypeId\" [items]=\"userTypeItems\" itemKey=\"value\" itemText=\"label\" [placeholder]=\"t('select')\"></aril-select-box>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('systemUserApp')\" [cols]=\"{ xl: 6, lg: 6, md: 12, sm: 12 }\">\n\t\t\t<aril-select-box formControlName=\"clientOfSystemUser\" [items]=\"clientList\" itemText=\"text\" itemKey=\"key\" [placeholder]=\"t('select')\"></aril-select-box>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('username')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<aril-text formControlName=\"userName\" [disabled]=\"true\"></aril-text>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('userPassword')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<aril-password formControlName=\"password\" [placeholder]=\"'&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;&#8728;'\"></aril-password>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('firstName')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<aril-text formControlName=\"firstName\"></aril-text>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('lastName')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\n\t\t\t<aril-text formControlName=\"lastName\"></aril-text>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('email')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<aril-text formControlName=\"email\"></aril-text>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('phone')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\n\t\t\t<aril-mask mask=\"(999) 999 99 99\" [placeholder]=\"t('phoneExample')\" formControlName=\"phone\"></aril-mask>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('tcNumber')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<aril-mask mask=\"99999999999\" formControlName=\"tckn\"></aril-mask>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('responsibleRegions')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\n\t\t\t<aril-treeSelect\n\t\t\t\t[options]=\"treeItems\"\n\t\t\t\tformControlName=\"regions\"\n\t\t\t\t[placeholder]=\"t('select')\"\n\t\t\t\t(nodeSelect)=\"nodeSelect($event)\"\n\t\t\t\t(nodeUnselect)=\"nodeUnselect($event)\"\n\t\t\t\t(cleared)=\"clear()\">\n\t\t\t</aril-treeSelect>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('notes')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\">\n\t\t\t<aril-text-area [rows]=\"3\" [cols]=\"40\" formControlName=\"notes\"></aril-text-area>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('photoUrl')\" [cols]=\"{ xl: 6, lg: 6, md: 6, sm: 12 }\">\n\t\t\t<aril-text formControlName=\"photoUrl\"></aril-text>\n\t\t</aril-field>\n\n\t\t<div class=\"col-12 flex justify-content-end mt-3 gap-1\">\n\t\t\t<aril-button color=\"danger\" [label]=\"t('cancel')\" [outlined]=\"true\" icon=\"TIMES\" (clickEvent)=\"cancel()\"></aril-button>\n\t\t\t<aril-form-submit [label]=\"t('save')\" color=\"success\" icon=\"CHECK\" [formGroup]=\"profileForm\" (validEvent)=\"submit()\"></aril-form-submit>\n\t\t</div>\n\t</aril-form>\n</div>\n" }]
1251
+ }], ctorParameters: () => [{ type: i1$2.FormBuilder }, { type: i2.DynamicDialogRef }, { type: i3.MessageService }, { type: ProfileService }, { type: i2.DynamicDialogConfig }, { type: i5.TranslocoService }] });
493
1252
 
494
1253
  class LayoutService {
495
1254
  constructor() {
@@ -526,6 +1285,8 @@ class LayoutService {
526
1285
  this.configUpdate$ = this.configUpdate.asObservable();
527
1286
  this.overlayOpen$ = this.overlayOpen.asObservable();
528
1287
  this.mfeAppItemClicked = signal(false);
1288
+ // Number of large page search boxes on screen; while there is one the top bar does not repeat its own box
1289
+ this.pageSearchCount = signal(0);
529
1290
  // Breakpoint for mobile/tablet detection
530
1291
  this.MOBILE_BREAKPOINT = 992;
531
1292
  effect(() => {
@@ -709,10 +1470,10 @@ class LayoutService {
709
1470
  changeScale(value) {
710
1471
  document.documentElement.style.fontSize = `${value}px`;
711
1472
  }
712
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: LayoutService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
713
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: LayoutService, providedIn: 'root' }); }
1473
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LayoutService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1474
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LayoutService, providedIn: 'root' }); }
714
1475
  }
715
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: LayoutService, decorators: [{
1476
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: LayoutService, decorators: [{
716
1477
  type: Injectable,
717
1478
  args: [{
718
1479
  providedIn: 'root'
@@ -858,13 +1619,13 @@ class AppProfileSidebarComponent {
858
1619
  });
859
1620
  ref.onClose.subscribe();
860
1621
  }
861
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AppProfileSidebarComponent, deps: [{ token: LayoutService }, { token: i1.KeycloakService }, { token: ProfileService }, { token: i2.DialogService }, { token: i5.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
862
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: AppProfileSidebarComponent, isStandalone: true, selector: "app-profilemenu", providers: [DialogService], ngImport: i0, template: "<p-sidebar\r\n\t[(visible)]=\"visible\"\r\n\tposition=\"right\"\r\n\t[showCloseIcon]=\"false\"\r\n\t[transitionOptions]=\"'.45s cubic-bezier(0.22, 0.61, 0.36, 1)'\"\r\n\tstyleClass=\"layout-profile-sidebar\">\r\n\t<ng-container *transloco=\"let t; read: 'profileSidebar'\">\r\n\t\t<div class=\"profile-panel\" [attr.data-co]=\"envCode\">\r\n\t\t\t<div class=\"panel-hero\">\r\n\t\t\t\t<div class=\"hero-top\">\r\n\t\t\t\t\t<div class=\"hero-title\">\r\n\t\t\t\t\t\t<i class=\"pi pi-user\"></i>\r\n\t\t\t\t\t\t<span>{{ t('personalInfo') }}</span>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<button type=\"button\" class=\"hero-close\" [attr.aria-label]=\"t('close')\" (click)=\"visible = false\">\r\n\t\t\t\t\t\t<i class=\"pi pi-times\"></i>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class=\"hero-profile\">\r\n\t\t\t\t\t<div class=\"hero-avatar\">{{ initials() }}</div>\r\n\t\t\t\t\t<div class=\"hero-identity\">\r\n\t\t\t\t\t\t<div class=\"hero-name\">{{ displayName() }}</div>\r\n\t\t\t\t\t\t<div class=\"hero-username\">\r\n\t\t\t\t\t\t\t<i class=\"pi pi-at\"></i>\r\n\t\t\t\t\t\t\t<span>{{ userProfile()?.userName || username }}</span>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class=\"info-list\">\r\n\t\t\t\t@for (row of rows(); track row.labelKey) {\r\n\t\t\t\t\t<div class=\"info-row\">\r\n\t\t\t\t\t\t<div class=\"row-icon tint-{{ row.tint }}\">\r\n\t\t\t\t\t\t\t<i class=\"pi {{ row.icon }}\"></i>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class=\"row-body\">\r\n\t\t\t\t\t\t\t<div class=\"row-label\">{{ t(row.labelKey) }}</div>\r\n\t\t\t\t\t\t\t@if (row.badge) {\r\n\t\t\t\t\t\t\t\t<span class=\"row-badge tone-{{ row.badge.tone }}\">\r\n\t\t\t\t\t\t\t\t\t<span class=\"badge-dot\"></span>\r\n\t\t\t\t\t\t\t\t\t{{ row.badge.label || t(row.badge.labelKey!) }}\r\n\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t} @else {\r\n\t\t\t\t\t\t\t\t<div class=\"row-value\" [class.empty]=\"!row.value\">{{ row.value || t('notSpecified') }}</div>\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t}\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class=\"panel-footer\">\r\n\t\t\t\t<button type=\"button\" class=\"logout-btn\" (click)=\"logout()\">\r\n\t\t\t\t\t<i class=\"pi pi-sign-out\"></i>\r\n\t\t\t\t\t{{ t('logout') }}\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</ng-container>\r\n</p-sidebar>\r\n", styles: [":host ::ng-deep .layout-profile-sidebar{width:330px;max-width:100vw;box-shadow:-24px 0 60px -24px #181c2647}:host ::ng-deep .layout-profile-sidebar .p-sidebar-header{display:none}:host ::ng-deep .layout-profile-sidebar .p-sidebar-content{padding:0;height:100%;overflow:hidden}.profile-panel{--pf-accent: var(--primary-color, #4c63c7);height:100%;display:flex;flex-direction:column;background:#fff}.profile-panel[data-co=depsas]{--pf-accent: rgb(252 80 0)}.profile-panel[data-co=dedas]{--pf-accent: rgb(0 173 186)}.panel-hero{position:relative;flex-shrink:0;padding:14px 24px 20px;background:var(--pf-accent);color:#fff;overflow:hidden}.panel-hero:before,.panel-hero:after{content:\"\";position:absolute;border-radius:50%}.panel-hero:before{top:-70px;right:-50px;width:200px;height:200px;background:#ffffff14}.panel-hero:after{bottom:-90px;left:-40px;width:180px;height:180px;background:#ffffff0f}.hero-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between}.hero-title{display:flex;align-items:center;gap:9px}.hero-title i{font-size:20px;opacity:.9}.hero-title span{font-size:13px;font-weight:600;letter-spacing:.02em;opacity:.92}.hero-close{width:30px;height:30px;border:none;border-radius:10px;background:#ffffff24;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .18s}.hero-close i{font-size:14px}.hero-close:hover{background:#ffffff47}.hero-close:focus-visible{outline:2px solid rgba(255,255,255,.85);outline-offset:2px}.hero-profile{position:relative;z-index:1;display:flex;align-items:center;gap:16px;margin-top:22px}.hero-avatar{width:66px;height:66px;flex-shrink:0;border-radius:20px;background:#ffffff2e;border:1px solid rgba(255,255,255,.35);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;letter-spacing:.01em}.hero-identity{min-width:0}.hero-name{font-size:18px;font-weight:700;line-height:1.2}.hero-username{display:flex;align-items:center;gap:6px;margin-top:5px;font-size:12px;opacity:.85}.hero-username i{font-size:14px;flex-shrink:0}.hero-username span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.info-list{flex:1;min-height:0;overflow-y:auto;padding:8px 12px 12px}.info-row{display:flex;align-items:center;gap:14px;padding:13px 12px;border-radius:14px;transition:background .16s}.info-row:hover{background:#f6f7f9}.row-icon{width:40px;height:40px;flex-shrink:0;border-radius:12px;display:flex;align-items:center;justify-content:center}.row-icon i{font-size:21px}.row-icon.tint-cool{background:#eef1fb;color:#4c63c7}.row-icon.tint-accent{background:color-mix(in srgb,var(--pf-accent) 9%,transparent);color:var(--pf-accent)}.row-icon.tint-teal{background:#e7f4f3;color:#1d8a82}.row-body{min-width:0;flex:1}.row-label{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#98a0ad}.row-value{font-size:14px;font-weight:500;color:#242a33;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-value.empty{color:#b4bac3}.row-badge{display:inline-flex;align-items:center;gap:5px;margin-top:5px;padding:3px 11px;border-radius:999px;font-size:11.5px;font-weight:600}.row-badge .badge-dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.row-badge.tone-green{background:#e7f5ec;color:#1e8a4c}.row-badge.tone-red{background:#fdecec;color:#d0342c}.row-badge.tone-neutral{background:#eef0f3;color:#6b7480}.panel-footer{flex-shrink:0;padding:14px 20px 20px;border-top:1px solid #eef0f3}.logout-btn{width:100%;height:40px;border:none;border-radius:6px;background:var(--pf-accent);color:#fff;font-family:inherit;font-size:14px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;transition:background-color .2s,box-shadow .2s}.logout-btn i{font-size:16px}.logout-btn:hover{background:color-mix(in srgb,var(--pf-accent) 92%,#000)}.logout-btn:active{background:color-mix(in srgb,var(--pf-accent) 85%,#000)}.logout-btn:focus-visible{outline:2px solid var(--pf-accent);outline-offset:3px}@media (prefers-reduced-motion: reduce){.info-row,.hero-close,.logout-btn{transition:none}}\n"], dependencies: [{ kind: "ngmodule", type: SidebarModule }, { kind: "component", type: i6$1.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen"], outputs: ["onShow", "onHide", "visibleChange"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }] }); }
1622
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AppProfileSidebarComponent, deps: [{ token: LayoutService }, { token: i1$1.KeycloakService }, { token: ProfileService }, { token: i2.DialogService }, { token: i5.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
1623
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: AppProfileSidebarComponent, isStandalone: true, selector: "app-profilemenu", providers: [DialogService], ngImport: i0, template: "<p-sidebar\n\t[(visible)]=\"visible\"\n\tposition=\"right\"\n\t[showCloseIcon]=\"false\"\n\t[transitionOptions]=\"'.45s cubic-bezier(0.22, 0.61, 0.36, 1)'\"\n\tstyleClass=\"layout-profile-sidebar\">\n\t<ng-container *transloco=\"let t; read: 'profileSidebar'\">\n\t\t<div class=\"profile-panel\" [attr.data-co]=\"envCode\">\n\t\t\t<div class=\"panel-hero\">\n\t\t\t\t<div class=\"hero-top\">\n\t\t\t\t\t<div class=\"hero-title\">\n\t\t\t\t\t\t<i class=\"pi pi-user\"></i>\n\t\t\t\t\t\t<span>{{ t('personalInfo') }}</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<button type=\"button\" class=\"hero-close\" [attr.aria-label]=\"t('close')\" (click)=\"visible = false\">\n\t\t\t\t\t\t<i class=\"pi pi-times\"></i>\n\t\t\t\t\t</button>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"hero-profile\">\n\t\t\t\t\t<div class=\"hero-avatar\">{{ initials() }}</div>\n\t\t\t\t\t<div class=\"hero-identity\">\n\t\t\t\t\t\t<div class=\"hero-name\">{{ displayName() }}</div>\n\t\t\t\t\t\t<div class=\"hero-username\">\n\t\t\t\t\t\t\t<i class=\"pi pi-at\"></i>\n\t\t\t\t\t\t\t<span>{{ userProfile()?.userName || username }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<div class=\"info-list\">\n\t\t\t\t@for (row of rows(); track row.labelKey) {\n\t\t\t\t\t<div class=\"info-row\">\n\t\t\t\t\t\t<div class=\"row-icon tint-{{ row.tint }}\">\n\t\t\t\t\t\t\t<i class=\"pi {{ row.icon }}\"></i>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"row-body\">\n\t\t\t\t\t\t\t<div class=\"row-label\">{{ t(row.labelKey) }}</div>\n\t\t\t\t\t\t\t@if (row.badge) {\n\t\t\t\t\t\t\t\t<span class=\"row-badge tone-{{ row.badge.tone }}\">\n\t\t\t\t\t\t\t\t\t<span class=\"badge-dot\"></span>\n\t\t\t\t\t\t\t\t\t{{ row.badge.label || t(row.badge.labelKey!) }}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<div class=\"row-value\" [class.empty]=\"!row.value\">{{ row.value || t('notSpecified') }}</div>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t</div>\n\n\t\t\t<div class=\"panel-footer\">\n\t\t\t\t<button type=\"button\" class=\"logout-btn\" (click)=\"logout()\">\n\t\t\t\t\t<i class=\"pi pi-sign-out\"></i>\n\t\t\t\t\t{{ t('logout') }}\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t</div>\n\t</ng-container>\n</p-sidebar>\n", styles: [":host ::ng-deep .layout-profile-sidebar{width:330px;max-width:100vw;box-shadow:-24px 0 60px -24px #181c2647}:host ::ng-deep .layout-profile-sidebar .p-sidebar-header{display:none}:host ::ng-deep .layout-profile-sidebar .p-sidebar-content{padding:0;height:100%;overflow:hidden}.profile-panel{--pf-accent: var(--primary-color, #4c63c7);height:100%;display:flex;flex-direction:column;background:#fff}.profile-panel[data-co=depsas]{--pf-accent: rgb(252 80 0)}.profile-panel[data-co=dedas]{--pf-accent: rgb(0 173 186)}.panel-hero{position:relative;flex-shrink:0;padding:14px 24px 20px;background:var(--pf-accent);color:#fff;overflow:hidden}.panel-hero:before,.panel-hero:after{content:\"\";position:absolute;border-radius:50%}.panel-hero:before{top:-70px;right:-50px;width:200px;height:200px;background:#ffffff14}.panel-hero:after{bottom:-90px;left:-40px;width:180px;height:180px;background:#ffffff0f}.hero-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between}.hero-title{display:flex;align-items:center;gap:9px}.hero-title i{font-size:20px;opacity:.9}.hero-title span{font-size:13px;font-weight:600;letter-spacing:.02em;opacity:.92}.hero-close{width:30px;height:30px;border:none;border-radius:10px;background:#ffffff24;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .18s}.hero-close i{font-size:14px}.hero-close:hover{background:#ffffff47}.hero-close:focus-visible{outline:2px solid rgba(255,255,255,.85);outline-offset:2px}.hero-profile{position:relative;z-index:1;display:flex;align-items:center;gap:16px;margin-top:22px}.hero-avatar{width:66px;height:66px;flex-shrink:0;border-radius:20px;background:#ffffff2e;border:1px solid rgba(255,255,255,.35);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;letter-spacing:.01em}.hero-identity{min-width:0}.hero-name{font-size:18px;font-weight:700;line-height:1.2}.hero-username{display:flex;align-items:center;gap:6px;margin-top:5px;font-size:12px;opacity:.85}.hero-username i{font-size:14px;flex-shrink:0}.hero-username span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.info-list{flex:1;min-height:0;overflow-y:auto;padding:8px 12px 12px}.info-row{display:flex;align-items:center;gap:14px;padding:13px 12px;border-radius:14px;transition:background .16s}.info-row:hover{background:#f6f7f9}.row-icon{width:40px;height:40px;flex-shrink:0;border-radius:12px;display:flex;align-items:center;justify-content:center}.row-icon i{font-size:21px}.row-icon.tint-cool{background:#eef1fb;color:#4c63c7}.row-icon.tint-accent{background:color-mix(in srgb,var(--pf-accent) 9%,transparent);color:var(--pf-accent)}.row-icon.tint-teal{background:#e7f4f3;color:#1d8a82}.row-body{min-width:0;flex:1}.row-label{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#98a0ad}.row-value{font-size:14px;font-weight:500;color:#242a33;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-value.empty{color:#b4bac3}.row-badge{display:inline-flex;align-items:center;gap:5px;margin-top:5px;padding:3px 11px;border-radius:999px;font-size:11.5px;font-weight:600}.row-badge .badge-dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.row-badge.tone-green{background:#e7f5ec;color:#1e8a4c}.row-badge.tone-red{background:#fdecec;color:#d0342c}.row-badge.tone-neutral{background:#eef0f3;color:#6b7480}.panel-footer{flex-shrink:0;padding:14px 20px 20px;border-top:1px solid #eef0f3}.logout-btn{width:100%;height:40px;border:none;border-radius:6px;background:var(--pf-accent);color:#fff;font-family:inherit;font-size:14px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;transition:background-color .2s,box-shadow .2s}.logout-btn i{font-size:16px}.logout-btn:hover{background:color-mix(in srgb,var(--pf-accent) 92%,#000)}.logout-btn:active{background:color-mix(in srgb,var(--pf-accent) 85%,#000)}.logout-btn:focus-visible{outline:2px solid var(--pf-accent);outline-offset:3px}@media (prefers-reduced-motion: reduce){.info-row,.hero-close,.logout-btn{transition:none}}\n"], dependencies: [{ kind: "ngmodule", type: SidebarModule }, { kind: "component", type: i6$1.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen"], outputs: ["onShow", "onHide", "visibleChange"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }] }); }
863
1624
  }
864
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AppProfileSidebarComponent, decorators: [{
1625
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AppProfileSidebarComponent, decorators: [{
865
1626
  type: Component,
866
- args: [{ standalone: true, selector: 'app-profilemenu', imports: [SidebarModule, TranslocoModule], providers: [DialogService], template: "<p-sidebar\r\n\t[(visible)]=\"visible\"\r\n\tposition=\"right\"\r\n\t[showCloseIcon]=\"false\"\r\n\t[transitionOptions]=\"'.45s cubic-bezier(0.22, 0.61, 0.36, 1)'\"\r\n\tstyleClass=\"layout-profile-sidebar\">\r\n\t<ng-container *transloco=\"let t; read: 'profileSidebar'\">\r\n\t\t<div class=\"profile-panel\" [attr.data-co]=\"envCode\">\r\n\t\t\t<div class=\"panel-hero\">\r\n\t\t\t\t<div class=\"hero-top\">\r\n\t\t\t\t\t<div class=\"hero-title\">\r\n\t\t\t\t\t\t<i class=\"pi pi-user\"></i>\r\n\t\t\t\t\t\t<span>{{ t('personalInfo') }}</span>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<button type=\"button\" class=\"hero-close\" [attr.aria-label]=\"t('close')\" (click)=\"visible = false\">\r\n\t\t\t\t\t\t<i class=\"pi pi-times\"></i>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class=\"hero-profile\">\r\n\t\t\t\t\t<div class=\"hero-avatar\">{{ initials() }}</div>\r\n\t\t\t\t\t<div class=\"hero-identity\">\r\n\t\t\t\t\t\t<div class=\"hero-name\">{{ displayName() }}</div>\r\n\t\t\t\t\t\t<div class=\"hero-username\">\r\n\t\t\t\t\t\t\t<i class=\"pi pi-at\"></i>\r\n\t\t\t\t\t\t\t<span>{{ userProfile()?.userName || username }}</span>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class=\"info-list\">\r\n\t\t\t\t@for (row of rows(); track row.labelKey) {\r\n\t\t\t\t\t<div class=\"info-row\">\r\n\t\t\t\t\t\t<div class=\"row-icon tint-{{ row.tint }}\">\r\n\t\t\t\t\t\t\t<i class=\"pi {{ row.icon }}\"></i>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class=\"row-body\">\r\n\t\t\t\t\t\t\t<div class=\"row-label\">{{ t(row.labelKey) }}</div>\r\n\t\t\t\t\t\t\t@if (row.badge) {\r\n\t\t\t\t\t\t\t\t<span class=\"row-badge tone-{{ row.badge.tone }}\">\r\n\t\t\t\t\t\t\t\t\t<span class=\"badge-dot\"></span>\r\n\t\t\t\t\t\t\t\t\t{{ row.badge.label || t(row.badge.labelKey!) }}\r\n\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t} @else {\r\n\t\t\t\t\t\t\t\t<div class=\"row-value\" [class.empty]=\"!row.value\">{{ row.value || t('notSpecified') }}</div>\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t}\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class=\"panel-footer\">\r\n\t\t\t\t<button type=\"button\" class=\"logout-btn\" (click)=\"logout()\">\r\n\t\t\t\t\t<i class=\"pi pi-sign-out\"></i>\r\n\t\t\t\t\t{{ t('logout') }}\r\n\t\t\t\t</button>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</ng-container>\r\n</p-sidebar>\r\n", styles: [":host ::ng-deep .layout-profile-sidebar{width:330px;max-width:100vw;box-shadow:-24px 0 60px -24px #181c2647}:host ::ng-deep .layout-profile-sidebar .p-sidebar-header{display:none}:host ::ng-deep .layout-profile-sidebar .p-sidebar-content{padding:0;height:100%;overflow:hidden}.profile-panel{--pf-accent: var(--primary-color, #4c63c7);height:100%;display:flex;flex-direction:column;background:#fff}.profile-panel[data-co=depsas]{--pf-accent: rgb(252 80 0)}.profile-panel[data-co=dedas]{--pf-accent: rgb(0 173 186)}.panel-hero{position:relative;flex-shrink:0;padding:14px 24px 20px;background:var(--pf-accent);color:#fff;overflow:hidden}.panel-hero:before,.panel-hero:after{content:\"\";position:absolute;border-radius:50%}.panel-hero:before{top:-70px;right:-50px;width:200px;height:200px;background:#ffffff14}.panel-hero:after{bottom:-90px;left:-40px;width:180px;height:180px;background:#ffffff0f}.hero-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between}.hero-title{display:flex;align-items:center;gap:9px}.hero-title i{font-size:20px;opacity:.9}.hero-title span{font-size:13px;font-weight:600;letter-spacing:.02em;opacity:.92}.hero-close{width:30px;height:30px;border:none;border-radius:10px;background:#ffffff24;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .18s}.hero-close i{font-size:14px}.hero-close:hover{background:#ffffff47}.hero-close:focus-visible{outline:2px solid rgba(255,255,255,.85);outline-offset:2px}.hero-profile{position:relative;z-index:1;display:flex;align-items:center;gap:16px;margin-top:22px}.hero-avatar{width:66px;height:66px;flex-shrink:0;border-radius:20px;background:#ffffff2e;border:1px solid rgba(255,255,255,.35);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;letter-spacing:.01em}.hero-identity{min-width:0}.hero-name{font-size:18px;font-weight:700;line-height:1.2}.hero-username{display:flex;align-items:center;gap:6px;margin-top:5px;font-size:12px;opacity:.85}.hero-username i{font-size:14px;flex-shrink:0}.hero-username span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.info-list{flex:1;min-height:0;overflow-y:auto;padding:8px 12px 12px}.info-row{display:flex;align-items:center;gap:14px;padding:13px 12px;border-radius:14px;transition:background .16s}.info-row:hover{background:#f6f7f9}.row-icon{width:40px;height:40px;flex-shrink:0;border-radius:12px;display:flex;align-items:center;justify-content:center}.row-icon i{font-size:21px}.row-icon.tint-cool{background:#eef1fb;color:#4c63c7}.row-icon.tint-accent{background:color-mix(in srgb,var(--pf-accent) 9%,transparent);color:var(--pf-accent)}.row-icon.tint-teal{background:#e7f4f3;color:#1d8a82}.row-body{min-width:0;flex:1}.row-label{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#98a0ad}.row-value{font-size:14px;font-weight:500;color:#242a33;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-value.empty{color:#b4bac3}.row-badge{display:inline-flex;align-items:center;gap:5px;margin-top:5px;padding:3px 11px;border-radius:999px;font-size:11.5px;font-weight:600}.row-badge .badge-dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.row-badge.tone-green{background:#e7f5ec;color:#1e8a4c}.row-badge.tone-red{background:#fdecec;color:#d0342c}.row-badge.tone-neutral{background:#eef0f3;color:#6b7480}.panel-footer{flex-shrink:0;padding:14px 20px 20px;border-top:1px solid #eef0f3}.logout-btn{width:100%;height:40px;border:none;border-radius:6px;background:var(--pf-accent);color:#fff;font-family:inherit;font-size:14px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;transition:background-color .2s,box-shadow .2s}.logout-btn i{font-size:16px}.logout-btn:hover{background:color-mix(in srgb,var(--pf-accent) 92%,#000)}.logout-btn:active{background:color-mix(in srgb,var(--pf-accent) 85%,#000)}.logout-btn:focus-visible{outline:2px solid var(--pf-accent);outline-offset:3px}@media (prefers-reduced-motion: reduce){.info-row,.hero-close,.logout-btn{transition:none}}\n"] }]
867
- }], ctorParameters: () => [{ type: LayoutService }, { type: i1.KeycloakService }, { type: ProfileService }, { type: i2.DialogService }, { type: i5.TranslocoService }] });
1627
+ args: [{ standalone: true, selector: 'app-profilemenu', imports: [SidebarModule, TranslocoModule], providers: [DialogService], template: "<p-sidebar\n\t[(visible)]=\"visible\"\n\tposition=\"right\"\n\t[showCloseIcon]=\"false\"\n\t[transitionOptions]=\"'.45s cubic-bezier(0.22, 0.61, 0.36, 1)'\"\n\tstyleClass=\"layout-profile-sidebar\">\n\t<ng-container *transloco=\"let t; read: 'profileSidebar'\">\n\t\t<div class=\"profile-panel\" [attr.data-co]=\"envCode\">\n\t\t\t<div class=\"panel-hero\">\n\t\t\t\t<div class=\"hero-top\">\n\t\t\t\t\t<div class=\"hero-title\">\n\t\t\t\t\t\t<i class=\"pi pi-user\"></i>\n\t\t\t\t\t\t<span>{{ t('personalInfo') }}</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<button type=\"button\" class=\"hero-close\" [attr.aria-label]=\"t('close')\" (click)=\"visible = false\">\n\t\t\t\t\t\t<i class=\"pi pi-times\"></i>\n\t\t\t\t\t</button>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"hero-profile\">\n\t\t\t\t\t<div class=\"hero-avatar\">{{ initials() }}</div>\n\t\t\t\t\t<div class=\"hero-identity\">\n\t\t\t\t\t\t<div class=\"hero-name\">{{ displayName() }}</div>\n\t\t\t\t\t\t<div class=\"hero-username\">\n\t\t\t\t\t\t\t<i class=\"pi pi-at\"></i>\n\t\t\t\t\t\t\t<span>{{ userProfile()?.userName || username }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<div class=\"info-list\">\n\t\t\t\t@for (row of rows(); track row.labelKey) {\n\t\t\t\t\t<div class=\"info-row\">\n\t\t\t\t\t\t<div class=\"row-icon tint-{{ row.tint }}\">\n\t\t\t\t\t\t\t<i class=\"pi {{ row.icon }}\"></i>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"row-body\">\n\t\t\t\t\t\t\t<div class=\"row-label\">{{ t(row.labelKey) }}</div>\n\t\t\t\t\t\t\t@if (row.badge) {\n\t\t\t\t\t\t\t\t<span class=\"row-badge tone-{{ row.badge.tone }}\">\n\t\t\t\t\t\t\t\t\t<span class=\"badge-dot\"></span>\n\t\t\t\t\t\t\t\t\t{{ row.badge.label || t(row.badge.labelKey!) }}\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<div class=\"row-value\" [class.empty]=\"!row.value\">{{ row.value || t('notSpecified') }}</div>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t}\n\t\t\t</div>\n\n\t\t\t<div class=\"panel-footer\">\n\t\t\t\t<button type=\"button\" class=\"logout-btn\" (click)=\"logout()\">\n\t\t\t\t\t<i class=\"pi pi-sign-out\"></i>\n\t\t\t\t\t{{ t('logout') }}\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t</div>\n\t</ng-container>\n</p-sidebar>\n", styles: [":host ::ng-deep .layout-profile-sidebar{width:330px;max-width:100vw;box-shadow:-24px 0 60px -24px #181c2647}:host ::ng-deep .layout-profile-sidebar .p-sidebar-header{display:none}:host ::ng-deep .layout-profile-sidebar .p-sidebar-content{padding:0;height:100%;overflow:hidden}.profile-panel{--pf-accent: var(--primary-color, #4c63c7);height:100%;display:flex;flex-direction:column;background:#fff}.profile-panel[data-co=depsas]{--pf-accent: rgb(252 80 0)}.profile-panel[data-co=dedas]{--pf-accent: rgb(0 173 186)}.panel-hero{position:relative;flex-shrink:0;padding:14px 24px 20px;background:var(--pf-accent);color:#fff;overflow:hidden}.panel-hero:before,.panel-hero:after{content:\"\";position:absolute;border-radius:50%}.panel-hero:before{top:-70px;right:-50px;width:200px;height:200px;background:#ffffff14}.panel-hero:after{bottom:-90px;left:-40px;width:180px;height:180px;background:#ffffff0f}.hero-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between}.hero-title{display:flex;align-items:center;gap:9px}.hero-title i{font-size:20px;opacity:.9}.hero-title span{font-size:13px;font-weight:600;letter-spacing:.02em;opacity:.92}.hero-close{width:30px;height:30px;border:none;border-radius:10px;background:#ffffff24;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .18s}.hero-close i{font-size:14px}.hero-close:hover{background:#ffffff47}.hero-close:focus-visible{outline:2px solid rgba(255,255,255,.85);outline-offset:2px}.hero-profile{position:relative;z-index:1;display:flex;align-items:center;gap:16px;margin-top:22px}.hero-avatar{width:66px;height:66px;flex-shrink:0;border-radius:20px;background:#ffffff2e;border:1px solid rgba(255,255,255,.35);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;letter-spacing:.01em}.hero-identity{min-width:0}.hero-name{font-size:18px;font-weight:700;line-height:1.2}.hero-username{display:flex;align-items:center;gap:6px;margin-top:5px;font-size:12px;opacity:.85}.hero-username i{font-size:14px;flex-shrink:0}.hero-username span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.info-list{flex:1;min-height:0;overflow-y:auto;padding:8px 12px 12px}.info-row{display:flex;align-items:center;gap:14px;padding:13px 12px;border-radius:14px;transition:background .16s}.info-row:hover{background:#f6f7f9}.row-icon{width:40px;height:40px;flex-shrink:0;border-radius:12px;display:flex;align-items:center;justify-content:center}.row-icon i{font-size:21px}.row-icon.tint-cool{background:#eef1fb;color:#4c63c7}.row-icon.tint-accent{background:color-mix(in srgb,var(--pf-accent) 9%,transparent);color:var(--pf-accent)}.row-icon.tint-teal{background:#e7f4f3;color:#1d8a82}.row-body{min-width:0;flex:1}.row-label{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#98a0ad}.row-value{font-size:14px;font-weight:500;color:#242a33;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-value.empty{color:#b4bac3}.row-badge{display:inline-flex;align-items:center;gap:5px;margin-top:5px;padding:3px 11px;border-radius:999px;font-size:11.5px;font-weight:600}.row-badge .badge-dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.row-badge.tone-green{background:#e7f5ec;color:#1e8a4c}.row-badge.tone-red{background:#fdecec;color:#d0342c}.row-badge.tone-neutral{background:#eef0f3;color:#6b7480}.panel-footer{flex-shrink:0;padding:14px 20px 20px;border-top:1px solid #eef0f3}.logout-btn{width:100%;height:40px;border:none;border-radius:6px;background:var(--pf-accent);color:#fff;font-family:inherit;font-size:14px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;transition:background-color .2s,box-shadow .2s}.logout-btn i{font-size:16px}.logout-btn:hover{background:color-mix(in srgb,var(--pf-accent) 92%,#000)}.logout-btn:active{background:color-mix(in srgb,var(--pf-accent) 85%,#000)}.logout-btn:focus-visible{outline:2px solid var(--pf-accent);outline-offset:3px}@media (prefers-reduced-motion: reduce){.info-row,.hero-close,.logout-btn{transition:none}}\n"] }]
1628
+ }], ctorParameters: () => [{ type: LayoutService }, { type: i1$1.KeycloakService }, { type: ProfileService }, { type: i2.DialogService }, { type: i5.TranslocoService }] });
868
1629
 
869
1630
  class HistoryService {
870
1631
  ;
@@ -982,10 +1743,10 @@ class HistoryService {
982
1743
  item.url.toLocaleLowerCase(currentLang).includes(lowerSearchTerm));
983
1744
  });
984
1745
  }
985
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: HistoryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
986
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: HistoryService, providedIn: 'root' }); }
1746
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HistoryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1747
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HistoryService, providedIn: 'root' }); }
987
1748
  }
988
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: HistoryService, decorators: [{
1749
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HistoryService, decorators: [{
989
1750
  type: Injectable,
990
1751
  args: [{
991
1752
  providedIn: 'root'
@@ -1077,10 +1838,10 @@ class HistorySidebarComponent {
1077
1838
  // Fallback to original title
1078
1839
  return item.title;
1079
1840
  }
1080
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: HistorySidebarComponent, deps: [{ token: LayoutService }, { token: HistoryService }, { token: i3.ConfirmationService }, { token: i3.MessageService }, { token: i5.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
1081
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: HistorySidebarComponent, isStandalone: true, selector: "app-history-sidebar", providers: [ConfirmationService], ngImport: i0, template: "<p-sidebar\r\n\t[(visible)]=\"visible\"\r\n\tposition=\"right\"\r\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\r\n\tstyleClass=\"layout-history-sidebar w-full sm:w-30rem\"\r\n\t*transloco=\"let t; read: 'history'\">\r\n\t<ng-template pTemplate=\"header\">\r\n\t\t<div class=\"flex align-items-center justify-content-between w-full\">\r\n\t\t\t<div class=\"flex align-items-center\">\r\n\t\t\t\t<i class=\"pi pi-history text-primary text-xl\"></i>\r\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('pageHistory') }}</span>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</ng-template>\r\n\r\n\t<div class=\"history-content\">\r\n\t\t@if (history().length > 0) {\r\n\t\t\t<div class=\"search-section\">\r\n\t\t\t\t<div class=\"flex justify-content-center align-items-center grid p-fluid m-0\">\r\n\t\t\t\t\t<aril-text\r\n\t\t\t\t\t\tclass=\"col-10\"\r\n\t\t\t\t\t\t[placeholder]=\"t('searchHistory')\"\r\n\t\t\t\t\t\t[(ngModel)]=\"searchTerm\"\r\n\t\t\t\t\t\t(ngModelChange)=\"onSearchChange()\">\r\n\t\t\t\t\t</aril-text>\r\n\t\t\t\t\t<fa-icon\r\n\t\t\t\t\t\t[icon]=\"solidIcons.faTrash\"\r\n\t\t\t\t\t\tsize=\"xl\"\r\n\t\t\t\t\t\tstyle=\"color: var(--red-500)\"\r\n\t\t\t\t\t\tclass=\"col-2 cursor-pointer\"\r\n\t\t\t\t\t\t[pTooltip]=\"t('confirmClearAll')\"\r\n\t\t\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t\t\t\t(click)=\"clearAllHistory($event)\">\r\n\t\t\t\t\t</fa-icon>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t}\r\n\r\n\t\t@if (filteredHistory().length > 0) {\r\n\t\t\t<div class=\"history-list\">\r\n\t\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: '100%' }\">\r\n\t\t\t\t\t<div class=\"history-items\">\r\n\t\t\t\t\t\t@for (item of filteredHistory(); track trackByItemId($index, item)) {\r\n\t\t\t\t\t\t\t<div class=\"history-item\" (click)=\"navigateToItem(item)\">\r\n\t\t\t\t\t\t\t\t<div class=\"item-content\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"item-header\">\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"item-title\">\r\n\t\t\t\t\t\t\t\t\t\t\t<i class=\"pi pi-external-link text-primary mr-2\"></i>\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"title-info\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"title-text\">{{ getLocalizedTitle(item) }}</span>\r\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"route-text\">{{ item.url }}</span>\r\n\t\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</p-scrollPanel>\r\n\t\t\t</div>\r\n\t\t} @else {\r\n\t\t\t<div class=\"empty-state\">\r\n\t\t\t\t<div class=\"empty-content\">\r\n\t\t\t\t\t<i class=\"pi pi-history empty-icon\"></i>\r\n\t\t\t\t\t<h3 class=\"empty-title\">\r\n\t\t\t\t\t\t{{ searchTerm() ? t('noSearchResults') : t('noHistory') }}\r\n\t\t\t\t\t</h3>\r\n\t\t\t\t\t<p class=\"empty-message\">\r\n\t\t\t\t\t\t{{ searchTerm() ? t('tryDifferentKeywords') : t('startBrowsing') }}\r\n\t\t\t\t\t</p>\r\n\t\t\t\t\t@if (searchTerm()) {\r\n\t\t\t\t\t\t<aril-button\r\n\t\t\t\t\t\t\t[label]=\"t('clearSearch')\"\r\n\t\t\t\t\t\t\ticon=\"TIMES\"\r\n\t\t\t\t\t\t\tcolor=\"secondary\"\r\n\t\t\t\t\t\t\t[outlined]=\"true\"\r\n\t\t\t\t\t\t\tsize=\"sm\"\r\n\t\t\t\t\t\t\t(clickEvent)=\"searchTerm.set(''); onSearchChange()\">\r\n\t\t\t\t\t\t</aril-button>\r\n\t\t\t\t\t}\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t}\r\n\t</div>\r\n\r\n\t<p-confirmDialog></p-confirmDialog>\r\n</p-sidebar>\r\n", styles: [":host ::ng-deep .layout-history-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-history-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem .5rem}:host ::ng-deep .layout-history-sidebar .p-sidebar-header i{color:var(--primary-color-text);font-size:1.1rem}:host ::ng-deep .layout-history-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600;color:var(--primary-color-text)}.history-content{display:flex;flex-direction:column;height:100%;background:var(--surface-0)}.search-section{padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--surface-0)}.history-list{flex:1;overflow:hidden}.history-items{padding:.5rem}.history-item{background:var(--surface-0);border:1px solid var(--surface-border);border-radius:8px;margin-bottom:.5rem;cursor:pointer;transition:all .2s ease;position:relative;overflow:hidden}.history-item:hover{border-color:var(--primary-200);background:var(--primary-50);transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.history-item:hover .remove-btn{opacity:1}.history-item:last-child{margin-bottom:0}.item-content{padding:1rem .75rem}.item-header{display:flex;align-items:center;justify-content:space-between}.item-title{display:flex;align-items:center;flex:1;min-width:0}.item-title .title-info{display:flex;flex-direction:column;flex:1;min-width:0}.item-title .title-text{font-weight:600;color:var(--text-color);font-size:1rem;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-title .route-text{font-size:.75rem;color:var(--text-color-secondary);font-weight:400;line-height:1.2;margin-top:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.8}.empty-state{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}.empty-content{text-align:center;max-width:300px}.empty-icon{font-size:3rem;color:var(--text-color-secondary);margin-bottom:1rem;opacity:.5}.empty-title{font-size:1.1rem;font-weight:600;color:var(--text-color);margin-bottom:.5rem}.empty-message{font-size:.9rem;color:var(--text-color-secondary);line-height:1.4;margin-bottom:1.5rem}@media (max-width: 768px){.history-content{height:calc(100vh - 3.5rem)}.search-section{padding:.75rem}.item-content{padding:.5rem}.item-title .title-text{font-size:.85rem}}:host ::ng-deep .p-scrollpanel-bar-y{background:var(--primary-200);width:4px;border-radius:2px}:host ::ng-deep .p-scrollpanel-bar-y:hover{background:var(--primary-300)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SidebarModule }, { kind: "component", type: i6$1.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen"], outputs: ["onShow", "onHide", "visibleChange"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "ngmodule", type: ScrollPanelModule }, { kind: "component", type: i7$1.ScrollPanel, selector: "p-scrollPanel", inputs: ["style", "styleClass", "step"] }, { kind: "ngmodule", type: ConfirmDialogModule }, { kind: "component", type: i8.ConfirmDialog, selector: "p-confirmDialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "visible", "position"], outputs: ["onHide"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "ngmodule", type: BadgeModule }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "component", type: TextComponent, selector: "aril-text[ngModel], aril-text[formControl], aril-text[formControlName]", inputs: ["placeholder", "tabindex", "icon", "iconPos", "size"] }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i10.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] }); }
1841
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HistorySidebarComponent, deps: [{ token: LayoutService }, { token: HistoryService }, { token: i3.ConfirmationService }, { token: i3.MessageService }, { token: i5.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
1842
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: HistorySidebarComponent, isStandalone: true, selector: "app-history-sidebar", providers: [ConfirmationService], ngImport: i0, template: "<p-sidebar\n\t[(visible)]=\"visible\"\n\tposition=\"right\"\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\n\tstyleClass=\"layout-history-sidebar w-full sm:w-30rem\"\n\t*transloco=\"let t; read: 'history'\">\n\t<ng-template pTemplate=\"header\">\n\t\t<div class=\"flex align-items-center justify-content-between w-full\">\n\t\t\t<div class=\"flex align-items-center\">\n\t\t\t\t<i class=\"pi pi-history text-primary text-xl\"></i>\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('pageHistory') }}</span>\n\t\t\t</div>\n\t\t</div>\n\t</ng-template>\n\n\t<div class=\"history-content\">\n\t\t@if (history().length > 0) {\n\t\t\t<div class=\"search-section\">\n\t\t\t\t<div class=\"flex justify-content-center align-items-center grid p-fluid m-0\">\n\t\t\t\t\t<aril-text\n\t\t\t\t\t\tclass=\"col-10\"\n\t\t\t\t\t\t[placeholder]=\"t('searchHistory')\"\n\t\t\t\t\t\t[(ngModel)]=\"searchTerm\"\n\t\t\t\t\t\t(ngModelChange)=\"onSearchChange()\">\n\t\t\t\t\t</aril-text>\n\t\t\t\t\t<fa-icon\n\t\t\t\t\t\t[icon]=\"solidIcons.faTrash\"\n\t\t\t\t\t\tsize=\"xl\"\n\t\t\t\t\t\tstyle=\"color: var(--red-500)\"\n\t\t\t\t\t\tclass=\"col-2 cursor-pointer\"\n\t\t\t\t\t\t[pTooltip]=\"t('confirmClearAll')\"\n\t\t\t\t\t\ttooltipPosition=\"top\"\n\t\t\t\t\t\t(click)=\"clearAllHistory($event)\">\n\t\t\t\t\t</fa-icon>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\n\t\t@if (filteredHistory().length > 0) {\n\t\t\t<div class=\"history-list\">\n\t\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: '100%' }\">\n\t\t\t\t\t<div class=\"history-items\">\n\t\t\t\t\t\t@for (item of filteredHistory(); track trackByItemId($index, item)) {\n\t\t\t\t\t\t\t<div class=\"history-item\" (click)=\"navigateToItem(item)\">\n\t\t\t\t\t\t\t\t<div class=\"item-content\">\n\t\t\t\t\t\t\t\t\t<div class=\"item-header\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"item-title\">\n\t\t\t\t\t\t\t\t\t\t\t<i class=\"pi pi-external-link text-primary mr-2\"></i>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"title-info\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"title-text\">{{ getLocalizedTitle(item) }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"route-text\">{{ item.url }}</span>\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</p-scrollPanel>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"empty-state\">\n\t\t\t\t<div class=\"empty-content\">\n\t\t\t\t\t<i class=\"pi pi-history empty-icon\"></i>\n\t\t\t\t\t<h3 class=\"empty-title\">\n\t\t\t\t\t\t{{ searchTerm() ? t('noSearchResults') : t('noHistory') }}\n\t\t\t\t\t</h3>\n\t\t\t\t\t<p class=\"empty-message\">\n\t\t\t\t\t\t{{ searchTerm() ? t('tryDifferentKeywords') : t('startBrowsing') }}\n\t\t\t\t\t</p>\n\t\t\t\t\t@if (searchTerm()) {\n\t\t\t\t\t\t<aril-button\n\t\t\t\t\t\t\t[label]=\"t('clearSearch')\"\n\t\t\t\t\t\t\ticon=\"TIMES\"\n\t\t\t\t\t\t\tcolor=\"secondary\"\n\t\t\t\t\t\t\t[outlined]=\"true\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t(clickEvent)=\"searchTerm.set(''); onSearchChange()\">\n\t\t\t\t\t\t</aril-button>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t</div>\n\n\t<p-confirmDialog></p-confirmDialog>\n</p-sidebar>\n", styles: [":host ::ng-deep .layout-history-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-history-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem .5rem}:host ::ng-deep .layout-history-sidebar .p-sidebar-header i{color:var(--primary-color-text);font-size:1.1rem}:host ::ng-deep .layout-history-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600;color:var(--primary-color-text)}.history-content{display:flex;flex-direction:column;height:100%;background:var(--surface-0)}.search-section{padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--surface-0)}.history-list{flex:1;overflow:hidden}.history-items{padding:.5rem}.history-item{background:var(--surface-0);border:1px solid var(--surface-border);border-radius:8px;margin-bottom:.5rem;cursor:pointer;transition:all .2s ease;position:relative;overflow:hidden}.history-item:hover{border-color:var(--primary-200);background:var(--primary-50);transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.history-item:hover .remove-btn{opacity:1}.history-item:last-child{margin-bottom:0}.item-content{padding:1rem .75rem}.item-header{display:flex;align-items:center;justify-content:space-between}.item-title{display:flex;align-items:center;flex:1;min-width:0}.item-title .title-info{display:flex;flex-direction:column;flex:1;min-width:0}.item-title .title-text{font-weight:600;color:var(--text-color);font-size:1rem;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-title .route-text{font-size:.75rem;color:var(--text-color-secondary);font-weight:400;line-height:1.2;margin-top:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.8}.empty-state{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}.empty-content{text-align:center;max-width:300px}.empty-icon{font-size:3rem;color:var(--text-color-secondary);margin-bottom:1rem;opacity:.5}.empty-title{font-size:1.1rem;font-weight:600;color:var(--text-color);margin-bottom:.5rem}.empty-message{font-size:.9rem;color:var(--text-color-secondary);line-height:1.4;margin-bottom:1.5rem}@media (max-width: 768px){.history-content{height:calc(100vh - 3.5rem)}.search-section{padding:.75rem}.item-content{padding:.5rem}.item-title .title-text{font-size:.85rem}}:host ::ng-deep .p-scrollpanel-bar-y{background:var(--primary-200);width:4px;border-radius:2px}:host ::ng-deep .p-scrollpanel-bar-y:hover{background:var(--primary-300)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SidebarModule }, { kind: "component", type: i6$1.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen"], outputs: ["onShow", "onHide", "visibleChange"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "ngmodule", type: ScrollPanelModule }, { kind: "component", type: i7$1.ScrollPanel, selector: "p-scrollPanel", inputs: ["style", "styleClass", "step"] }, { kind: "ngmodule", type: ConfirmDialogModule }, { kind: "component", type: i8.ConfirmDialog, selector: "p-confirmDialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "visible", "position"], outputs: ["onHide"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "ngmodule", type: BadgeModule }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "component", type: TextComponent, selector: "aril-text[ngModel], aril-text[formControl], aril-text[formControlName]", inputs: ["placeholder", "tabindex", "icon", "iconPos", "size"] }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i10.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] }); }
1082
1843
  }
1083
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: HistorySidebarComponent, decorators: [{
1844
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HistorySidebarComponent, decorators: [{
1084
1845
  type: Component,
1085
1846
  args: [{ standalone: true, selector: 'app-history-sidebar', imports: [
1086
1847
  CommonModule,
@@ -1095,7 +1856,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
1095
1856
  TranslocoModule,
1096
1857
  TextComponent,
1097
1858
  FontAwesomeModule
1098
- ], providers: [ConfirmationService], template: "<p-sidebar\r\n\t[(visible)]=\"visible\"\r\n\tposition=\"right\"\r\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\r\n\tstyleClass=\"layout-history-sidebar w-full sm:w-30rem\"\r\n\t*transloco=\"let t; read: 'history'\">\r\n\t<ng-template pTemplate=\"header\">\r\n\t\t<div class=\"flex align-items-center justify-content-between w-full\">\r\n\t\t\t<div class=\"flex align-items-center\">\r\n\t\t\t\t<i class=\"pi pi-history text-primary text-xl\"></i>\r\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('pageHistory') }}</span>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</ng-template>\r\n\r\n\t<div class=\"history-content\">\r\n\t\t@if (history().length > 0) {\r\n\t\t\t<div class=\"search-section\">\r\n\t\t\t\t<div class=\"flex justify-content-center align-items-center grid p-fluid m-0\">\r\n\t\t\t\t\t<aril-text\r\n\t\t\t\t\t\tclass=\"col-10\"\r\n\t\t\t\t\t\t[placeholder]=\"t('searchHistory')\"\r\n\t\t\t\t\t\t[(ngModel)]=\"searchTerm\"\r\n\t\t\t\t\t\t(ngModelChange)=\"onSearchChange()\">\r\n\t\t\t\t\t</aril-text>\r\n\t\t\t\t\t<fa-icon\r\n\t\t\t\t\t\t[icon]=\"solidIcons.faTrash\"\r\n\t\t\t\t\t\tsize=\"xl\"\r\n\t\t\t\t\t\tstyle=\"color: var(--red-500)\"\r\n\t\t\t\t\t\tclass=\"col-2 cursor-pointer\"\r\n\t\t\t\t\t\t[pTooltip]=\"t('confirmClearAll')\"\r\n\t\t\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t\t\t\t(click)=\"clearAllHistory($event)\">\r\n\t\t\t\t\t</fa-icon>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t}\r\n\r\n\t\t@if (filteredHistory().length > 0) {\r\n\t\t\t<div class=\"history-list\">\r\n\t\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: '100%' }\">\r\n\t\t\t\t\t<div class=\"history-items\">\r\n\t\t\t\t\t\t@for (item of filteredHistory(); track trackByItemId($index, item)) {\r\n\t\t\t\t\t\t\t<div class=\"history-item\" (click)=\"navigateToItem(item)\">\r\n\t\t\t\t\t\t\t\t<div class=\"item-content\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"item-header\">\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"item-title\">\r\n\t\t\t\t\t\t\t\t\t\t\t<i class=\"pi pi-external-link text-primary mr-2\"></i>\r\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"title-info\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"title-text\">{{ getLocalizedTitle(item) }}</span>\r\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"route-text\">{{ item.url }}</span>\r\n\t\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</p-scrollPanel>\r\n\t\t\t</div>\r\n\t\t} @else {\r\n\t\t\t<div class=\"empty-state\">\r\n\t\t\t\t<div class=\"empty-content\">\r\n\t\t\t\t\t<i class=\"pi pi-history empty-icon\"></i>\r\n\t\t\t\t\t<h3 class=\"empty-title\">\r\n\t\t\t\t\t\t{{ searchTerm() ? t('noSearchResults') : t('noHistory') }}\r\n\t\t\t\t\t</h3>\r\n\t\t\t\t\t<p class=\"empty-message\">\r\n\t\t\t\t\t\t{{ searchTerm() ? t('tryDifferentKeywords') : t('startBrowsing') }}\r\n\t\t\t\t\t</p>\r\n\t\t\t\t\t@if (searchTerm()) {\r\n\t\t\t\t\t\t<aril-button\r\n\t\t\t\t\t\t\t[label]=\"t('clearSearch')\"\r\n\t\t\t\t\t\t\ticon=\"TIMES\"\r\n\t\t\t\t\t\t\tcolor=\"secondary\"\r\n\t\t\t\t\t\t\t[outlined]=\"true\"\r\n\t\t\t\t\t\t\tsize=\"sm\"\r\n\t\t\t\t\t\t\t(clickEvent)=\"searchTerm.set(''); onSearchChange()\">\r\n\t\t\t\t\t\t</aril-button>\r\n\t\t\t\t\t}\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t}\r\n\t</div>\r\n\r\n\t<p-confirmDialog></p-confirmDialog>\r\n</p-sidebar>\r\n", styles: [":host ::ng-deep .layout-history-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-history-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem .5rem}:host ::ng-deep .layout-history-sidebar .p-sidebar-header i{color:var(--primary-color-text);font-size:1.1rem}:host ::ng-deep .layout-history-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600;color:var(--primary-color-text)}.history-content{display:flex;flex-direction:column;height:100%;background:var(--surface-0)}.search-section{padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--surface-0)}.history-list{flex:1;overflow:hidden}.history-items{padding:.5rem}.history-item{background:var(--surface-0);border:1px solid var(--surface-border);border-radius:8px;margin-bottom:.5rem;cursor:pointer;transition:all .2s ease;position:relative;overflow:hidden}.history-item:hover{border-color:var(--primary-200);background:var(--primary-50);transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.history-item:hover .remove-btn{opacity:1}.history-item:last-child{margin-bottom:0}.item-content{padding:1rem .75rem}.item-header{display:flex;align-items:center;justify-content:space-between}.item-title{display:flex;align-items:center;flex:1;min-width:0}.item-title .title-info{display:flex;flex-direction:column;flex:1;min-width:0}.item-title .title-text{font-weight:600;color:var(--text-color);font-size:1rem;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-title .route-text{font-size:.75rem;color:var(--text-color-secondary);font-weight:400;line-height:1.2;margin-top:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.8}.empty-state{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}.empty-content{text-align:center;max-width:300px}.empty-icon{font-size:3rem;color:var(--text-color-secondary);margin-bottom:1rem;opacity:.5}.empty-title{font-size:1.1rem;font-weight:600;color:var(--text-color);margin-bottom:.5rem}.empty-message{font-size:.9rem;color:var(--text-color-secondary);line-height:1.4;margin-bottom:1.5rem}@media (max-width: 768px){.history-content{height:calc(100vh - 3.5rem)}.search-section{padding:.75rem}.item-content{padding:.5rem}.item-title .title-text{font-size:.85rem}}:host ::ng-deep .p-scrollpanel-bar-y{background:var(--primary-200);width:4px;border-radius:2px}:host ::ng-deep .p-scrollpanel-bar-y:hover{background:var(--primary-300)}\n"] }]
1859
+ ], providers: [ConfirmationService], template: "<p-sidebar\n\t[(visible)]=\"visible\"\n\tposition=\"right\"\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\n\tstyleClass=\"layout-history-sidebar w-full sm:w-30rem\"\n\t*transloco=\"let t; read: 'history'\">\n\t<ng-template pTemplate=\"header\">\n\t\t<div class=\"flex align-items-center justify-content-between w-full\">\n\t\t\t<div class=\"flex align-items-center\">\n\t\t\t\t<i class=\"pi pi-history text-primary text-xl\"></i>\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('pageHistory') }}</span>\n\t\t\t</div>\n\t\t</div>\n\t</ng-template>\n\n\t<div class=\"history-content\">\n\t\t@if (history().length > 0) {\n\t\t\t<div class=\"search-section\">\n\t\t\t\t<div class=\"flex justify-content-center align-items-center grid p-fluid m-0\">\n\t\t\t\t\t<aril-text\n\t\t\t\t\t\tclass=\"col-10\"\n\t\t\t\t\t\t[placeholder]=\"t('searchHistory')\"\n\t\t\t\t\t\t[(ngModel)]=\"searchTerm\"\n\t\t\t\t\t\t(ngModelChange)=\"onSearchChange()\">\n\t\t\t\t\t</aril-text>\n\t\t\t\t\t<fa-icon\n\t\t\t\t\t\t[icon]=\"solidIcons.faTrash\"\n\t\t\t\t\t\tsize=\"xl\"\n\t\t\t\t\t\tstyle=\"color: var(--red-500)\"\n\t\t\t\t\t\tclass=\"col-2 cursor-pointer\"\n\t\t\t\t\t\t[pTooltip]=\"t('confirmClearAll')\"\n\t\t\t\t\t\ttooltipPosition=\"top\"\n\t\t\t\t\t\t(click)=\"clearAllHistory($event)\">\n\t\t\t\t\t</fa-icon>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\n\t\t@if (filteredHistory().length > 0) {\n\t\t\t<div class=\"history-list\">\n\t\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: '100%' }\">\n\t\t\t\t\t<div class=\"history-items\">\n\t\t\t\t\t\t@for (item of filteredHistory(); track trackByItemId($index, item)) {\n\t\t\t\t\t\t\t<div class=\"history-item\" (click)=\"navigateToItem(item)\">\n\t\t\t\t\t\t\t\t<div class=\"item-content\">\n\t\t\t\t\t\t\t\t\t<div class=\"item-header\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"item-title\">\n\t\t\t\t\t\t\t\t\t\t\t<i class=\"pi pi-external-link text-primary mr-2\"></i>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"title-info\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"title-text\">{{ getLocalizedTitle(item) }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"route-text\">{{ item.url }}</span>\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</p-scrollPanel>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"empty-state\">\n\t\t\t\t<div class=\"empty-content\">\n\t\t\t\t\t<i class=\"pi pi-history empty-icon\"></i>\n\t\t\t\t\t<h3 class=\"empty-title\">\n\t\t\t\t\t\t{{ searchTerm() ? t('noSearchResults') : t('noHistory') }}\n\t\t\t\t\t</h3>\n\t\t\t\t\t<p class=\"empty-message\">\n\t\t\t\t\t\t{{ searchTerm() ? t('tryDifferentKeywords') : t('startBrowsing') }}\n\t\t\t\t\t</p>\n\t\t\t\t\t@if (searchTerm()) {\n\t\t\t\t\t\t<aril-button\n\t\t\t\t\t\t\t[label]=\"t('clearSearch')\"\n\t\t\t\t\t\t\ticon=\"TIMES\"\n\t\t\t\t\t\t\tcolor=\"secondary\"\n\t\t\t\t\t\t\t[outlined]=\"true\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t(clickEvent)=\"searchTerm.set(''); onSearchChange()\">\n\t\t\t\t\t\t</aril-button>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t</div>\n\n\t<p-confirmDialog></p-confirmDialog>\n</p-sidebar>\n", styles: [":host ::ng-deep .layout-history-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-history-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem .5rem}:host ::ng-deep .layout-history-sidebar .p-sidebar-header i{color:var(--primary-color-text);font-size:1.1rem}:host ::ng-deep .layout-history-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600;color:var(--primary-color-text)}.history-content{display:flex;flex-direction:column;height:100%;background:var(--surface-0)}.search-section{padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--surface-0)}.history-list{flex:1;overflow:hidden}.history-items{padding:.5rem}.history-item{background:var(--surface-0);border:1px solid var(--surface-border);border-radius:8px;margin-bottom:.5rem;cursor:pointer;transition:all .2s ease;position:relative;overflow:hidden}.history-item:hover{border-color:var(--primary-200);background:var(--primary-50);transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.history-item:hover .remove-btn{opacity:1}.history-item:last-child{margin-bottom:0}.item-content{padding:1rem .75rem}.item-header{display:flex;align-items:center;justify-content:space-between}.item-title{display:flex;align-items:center;flex:1;min-width:0}.item-title .title-info{display:flex;flex-direction:column;flex:1;min-width:0}.item-title .title-text{font-weight:600;color:var(--text-color);font-size:1rem;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-title .route-text{font-size:.75rem;color:var(--text-color-secondary);font-weight:400;line-height:1.2;margin-top:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.8}.empty-state{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}.empty-content{text-align:center;max-width:300px}.empty-icon{font-size:3rem;color:var(--text-color-secondary);margin-bottom:1rem;opacity:.5}.empty-title{font-size:1.1rem;font-weight:600;color:var(--text-color);margin-bottom:.5rem}.empty-message{font-size:.9rem;color:var(--text-color-secondary);line-height:1.4;margin-bottom:1.5rem}@media (max-width: 768px){.history-content{height:calc(100vh - 3.5rem)}.search-section{padding:.75rem}.item-content{padding:.5rem}.item-title .title-text{font-size:.85rem}}:host ::ng-deep .p-scrollpanel-bar-y{background:var(--primary-200);width:4px;border-radius:2px}:host ::ng-deep .p-scrollpanel-bar-y:hover{background:var(--primary-300)}\n"] }]
1099
1860
  }], ctorParameters: () => [{ type: LayoutService }, { type: HistoryService }, { type: i3.ConfirmationService }, { type: i3.MessageService }, { type: i5.TranslocoService }] });
1100
1861
 
1101
1862
  class SiteMapSidebarComponent {
@@ -1221,10 +1982,10 @@ class SiteMapSidebarComponent {
1221
1982
  trackByKey(index, node) {
1222
1983
  return node.key || `${index}`;
1223
1984
  }
1224
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SiteMapSidebarComponent, deps: [{ token: LayoutService }, { token: i5.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
1225
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: SiteMapSidebarComponent, isStandalone: true, selector: "app-site-map-sidebar", ngImport: i0, template: "<p-sidebar\r\n\t[(visible)]=\"visible\"\r\n\tposition=\"right\"\r\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\r\n\tstyleClass=\"layout-sitemap-sidebar w-full sm:w-30rem\"\r\n\t*transloco=\"let t; read: 'siteMap'\">\r\n\t<ng-template pTemplate=\"header\">\r\n\t\t<div class=\"flex align-items-center justify-content-between gap-2 w-full\">\r\n\t\t\t<div class=\"flex align-items-center gap-2\">\r\n\t\t\t\t<i class=\"pi pi-sitemap text-primary text-xl\"></i>\r\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('siteMap') }}</span>\r\n\t\t\t\t<span class=\"total-pages\">{{ totalPages() }} {{ t('pages') }}</span>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</ng-template>\r\n\r\n\t<div class=\"sitemap-content\">\r\n\t\t<div class=\"search-section grid p-fluid m-0\">\r\n\t\t\t<aril-text\r\n\t\t\t\t[placeholder]=\"t('searchPages')\"\r\n\t\t\t\t[(ngModel)]=\"searchTerm\"\r\n\t\t\t\t(ngModelChange)=\"onSearchChange()\"\r\n\t\t\t\tclass=\"col-10 m-0\">\r\n\t\t\t</aril-text>\r\n\t\t\t@if (filteredNodes().length > 0) {\r\n\t\t\t<div class=\"col-2 flex align-items-center m-0 p-0\">\r\n\t\t\t\t\t<fa-icon\r\n\t\t\t\t\t\t[icon]=\"solidIcons.faAnglesDown\"\r\n\t\t\t\t\t\tsize=\"xl\"\r\n\t\t\t\t\t\tstyle=\"color: var(--primary-color)\"\r\n\t\t\t\t\t\tclass=\"col-1 cursor-pointer\"\r\n\t\t\t\t\t\t[pTooltip]=\"t('expandAll')\"\r\n\t\t\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t\t\t\t(click)=\"expandAll()\">\r\n\t\t\t\t\t</fa-icon>\r\n\t\t\t\t\t<fa-icon\r\n\t\t\t\t\t\t[icon]=\"solidIcons.faAnglesUp\"\r\n\t\t\t\t\t\tsize=\"xl\"\r\n\t\t\t\t\t\tstyle=\"color: var(--red-500)\"\r\n\t\t\t\t\t\tclass=\"col-1 ml-3 cursor-pointer\"\r\n\t\t\t\t\t\t[pTooltip]=\"t('collapseAll')\"\r\n\t\t\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t\t\t\t(click)=\"collapseAll()\">\r\n\t\t\t\t\t</fa-icon>\r\n\t\t\t\t</div>\r\n\t\t\t}\r\n\t\t</div>\r\n\r\n\t\t<!-- Site Map Tree -->\r\n\t\t@if (filteredNodes().length > 0) {\r\n\t\t\t<div class=\"sitemap-tree\">\r\n\t\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: '100%' }\">\r\n\t\t\t\t\t<div class=\"tree-container\">\r\n\t\t\t\t\t\t@for (node of filteredNodes(); track trackByKey($index, node)) {\r\n\t\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: node, level: 0 }\"></ng-container>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</p-scrollPanel>\r\n\t\t\t</div>\r\n\t\t} @else {\r\n\t\t\t<div class=\"empty-state\">\r\n\t\t\t\t<div class=\"empty-content\">\r\n\t\t\t\t\t<i class=\"pi pi-sitemap empty-icon\"></i>\r\n\t\t\t\t\t<h3 class=\"empty-title\">\r\n\t\t\t\t\t\t{{ searchTerm() ? t('noSearchResults') : t('noPages') }}\r\n\t\t\t\t\t</h3>\r\n\t\t\t\t\t<p class=\"empty-message\">\r\n\t\t\t\t\t\t{{ searchTerm() ? t('tryDifferentKeywords') : '' }}\r\n\t\t\t\t\t</p>\r\n\t\t\t\t\t@if (searchTerm()) {\r\n\t\t\t\t\t\t<aril-button\r\n\t\t\t\t\t\t\t[label]=\"t('clearSearch')\"\r\n\t\t\t\t\t\t\ticon=\"TIMES\"\r\n\t\t\t\t\t\t\tcolor=\"secondary\"\r\n\t\t\t\t\t\t\t[outlined]=\"true\"\r\n\t\t\t\t\t\t\tsize=\"sm\"\r\n\t\t\t\t\t\t\t(clickEvent)=\"searchTerm.set(''); onSearchChange()\">\r\n\t\t\t\t\t\t</aril-button>\r\n\t\t\t\t\t}\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t}\r\n\r\n\t\t<!-- Recursive Tree Node Template -->\r\n\t\t<ng-template #treeNodeTemplate let-node let-level=\"level\">\r\n\t\t\t<div class=\"tree-node\" [style.margin-left.px]=\"level * 20\">\r\n\t\t\t\t<div\r\n\t\t\t\t\tclass=\"node-item\"\r\n\t\t\t\t\t[class.has-children]=\"node.children && node.children.length > 0\"\r\n\t\t\t\t\t[class.is-page]=\"node.routerLink\"\r\n\t\t\t\t\t[routerLink]=\"node.routerLink\"\r\n\t\t\t\t\t(click)=\"!node.routerLink ? toggleNode(node) : (visible = false)\">\r\n\t\t\t\t\t<div class=\"node-content\">\r\n\t\t\t\t\t\t@if (node.children && node.children.length > 0) {\r\n\t\t\t\t\t\t\t<div class=\"toggle-btn\" (click)=\"$event.stopPropagation(); toggleNode(node)\">\r\n\t\t\t\t\t\t\t\t<i class=\"pi\" [class.pi-chevron-right]=\"!node.expanded\" [class.pi-chevron-down]=\"node.expanded\"></i>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t@if (node.icon) {\r\n\t\t\t\t\t\t\t<i class=\"node-icon\" [class]=\"node.icon\"></i>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t<span class=\"node-label\">{{ node.label | translateJson }}</span>\r\n\r\n\t\t\t\t\t\t@if (node.routerLink) {\r\n\t\t\t\t\t\t\t<i class=\"external-icon pi pi-external-link\"></i>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<!-- Recursive Children -->\r\n\t\t\t\t@if (node.children && node.expanded) {\r\n\t\t\t\t\t@for (child of node.children; track trackByKey($index, child)) {\r\n\t\t\t\t\t\t<ng-container\r\n\t\t\t\t\t\t\t*ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: child, level: level + 1 }\"></ng-container>\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t</div>\r\n\t\t</ng-template>\r\n\t</div>\r\n</p-sidebar>\r\n", styles: [":host ::ng-deep .layout-sitemap-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem .5rem}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header .total-pages{background:#fff3;color:#ffffffe6;padding:.25rem .5rem;border-radius:12px;font-size:.75rem;font-weight:500}.sitemap-content{display:flex;flex-direction:column;height:100%;background:var(--surface-ground)}.search-section{padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--surface-0)}.sitemap-tree{flex:1;overflow:hidden}.tree-container{padding:.5rem 0}.tree-node .node-item{display:flex;align-items:center;padding:.5rem 1rem;border-radius:6px;margin:.1rem .5rem;cursor:pointer;transition:all .2s ease;border:1px solid transparent}.tree-node .node-item:hover{background:var(--surface-hover);border-color:var(--surface-border)}.tree-node .node-item.is-page:hover{background:var(--primary-50);border-color:var(--primary-200)}.tree-node .node-item.is-page:hover .external-icon{opacity:1}.tree-node .node-item.has-children{font-weight:500}.tree-node .node-content{display:flex;align-items:center;gap:.5rem;width:100%;min-width:0}.tree-node .toggle-btn{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:transparent;border:none;border-radius:4px;color:var(--text-color-secondary);cursor:pointer;transition:all .2s ease;flex-shrink:0}.tree-node .toggle-btn:hover{background:var(--surface-hover);color:var(--primary-color)}.tree-node .toggle-btn i{font-size:.7rem}.tree-node .node-icon{color:var(--primary-color);font-size:.9rem;flex-shrink:0}.tree-node .node-label{flex:1;font-size:.9rem;color:var(--text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-node .external-icon{color:var(--text-color-secondary);font-size:.7rem;opacity:.6;transition:opacity .2s ease;flex-shrink:0}.empty-state{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}.empty-content{text-align:center;max-width:300px}.empty-icon{font-size:3rem;color:var(--text-color-secondary);margin-bottom:1rem;opacity:.5}.empty-message{font-size:.9rem;color:var(--text-color-secondary);line-height:1.4;margin-bottom:1.5rem}:host ::ng-deep .p-scrollpanel-bar-y{background:var(--primary-200);width:4px;border-radius:2px}:host ::ng-deep .p-scrollpanel-bar-y:hover{background:var(--primary-300)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: SidebarModule }, { kind: "component", type: i6$1.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen"], outputs: ["onShow", "onHide", "visibleChange"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ScrollPanelModule }, { kind: "component", type: i7$1.ScrollPanel, selector: "p-scrollPanel", inputs: ["style", "styleClass", "step"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "component", type: TextComponent, selector: "aril-text[ngModel], aril-text[formControl], aril-text[formControlName]", inputs: ["placeholder", "tabindex", "icon", "iconPos", "size"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "pipe", type: TranslateJsonPipe, name: "translateJson" }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i10.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] }); }
1985
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SiteMapSidebarComponent, deps: [{ token: LayoutService }, { token: i5.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
1986
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: SiteMapSidebarComponent, isStandalone: true, selector: "app-site-map-sidebar", ngImport: i0, template: "<p-sidebar\n\t[(visible)]=\"visible\"\n\tposition=\"right\"\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\n\tstyleClass=\"layout-sitemap-sidebar w-full sm:w-30rem\"\n\t*transloco=\"let t; read: 'siteMap'\">\n\t<ng-template pTemplate=\"header\">\n\t\t<div class=\"flex align-items-center justify-content-between gap-2 w-full\">\n\t\t\t<div class=\"flex align-items-center gap-2\">\n\t\t\t\t<i class=\"pi pi-sitemap text-primary text-xl\"></i>\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('siteMap') }}</span>\n\t\t\t\t<span class=\"total-pages\">{{ totalPages() }} {{ t('pages') }}</span>\n\t\t\t</div>\n\t\t</div>\n\t</ng-template>\n\n\t<div class=\"sitemap-content\">\n\t\t<div class=\"search-section grid p-fluid m-0\">\n\t\t\t<aril-text\n\t\t\t\t[placeholder]=\"t('searchPages')\"\n\t\t\t\t[(ngModel)]=\"searchTerm\"\n\t\t\t\t(ngModelChange)=\"onSearchChange()\"\n\t\t\t\tclass=\"col-10 m-0\">\n\t\t\t</aril-text>\n\t\t\t@if (filteredNodes().length > 0) {\n\t\t\t<div class=\"col-2 flex align-items-center m-0 p-0\">\n\t\t\t\t\t<fa-icon\n\t\t\t\t\t\t[icon]=\"solidIcons.faAnglesDown\"\n\t\t\t\t\t\tsize=\"xl\"\n\t\t\t\t\t\tstyle=\"color: var(--primary-color)\"\n\t\t\t\t\t\tclass=\"col-1 cursor-pointer\"\n\t\t\t\t\t\t[pTooltip]=\"t('expandAll')\"\n\t\t\t\t\t\ttooltipPosition=\"top\"\n\t\t\t\t\t\t(click)=\"expandAll()\">\n\t\t\t\t\t</fa-icon>\n\t\t\t\t\t<fa-icon\n\t\t\t\t\t\t[icon]=\"solidIcons.faAnglesUp\"\n\t\t\t\t\t\tsize=\"xl\"\n\t\t\t\t\t\tstyle=\"color: var(--red-500)\"\n\t\t\t\t\t\tclass=\"col-1 ml-3 cursor-pointer\"\n\t\t\t\t\t\t[pTooltip]=\"t('collapseAll')\"\n\t\t\t\t\t\ttooltipPosition=\"top\"\n\t\t\t\t\t\t(click)=\"collapseAll()\">\n\t\t\t\t\t</fa-icon>\n\t\t\t\t</div>\n\t\t\t}\n\t\t</div>\n\n\t\t<!-- Site Map Tree -->\n\t\t@if (filteredNodes().length > 0) {\n\t\t\t<div class=\"sitemap-tree\">\n\t\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: '100%' }\">\n\t\t\t\t\t<div class=\"tree-container\">\n\t\t\t\t\t\t@for (node of filteredNodes(); track trackByKey($index, node)) {\n\t\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: node, level: 0 }\"></ng-container>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</p-scrollPanel>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"empty-state\">\n\t\t\t\t<div class=\"empty-content\">\n\t\t\t\t\t<i class=\"pi pi-sitemap empty-icon\"></i>\n\t\t\t\t\t<h3 class=\"empty-title\">\n\t\t\t\t\t\t{{ searchTerm() ? t('noSearchResults') : t('noPages') }}\n\t\t\t\t\t</h3>\n\t\t\t\t\t<p class=\"empty-message\">\n\t\t\t\t\t\t{{ searchTerm() ? t('tryDifferentKeywords') : '' }}\n\t\t\t\t\t</p>\n\t\t\t\t\t@if (searchTerm()) {\n\t\t\t\t\t\t<aril-button\n\t\t\t\t\t\t\t[label]=\"t('clearSearch')\"\n\t\t\t\t\t\t\ticon=\"TIMES\"\n\t\t\t\t\t\t\tcolor=\"secondary\"\n\t\t\t\t\t\t\t[outlined]=\"true\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t(clickEvent)=\"searchTerm.set(''); onSearchChange()\">\n\t\t\t\t\t\t</aril-button>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\n\t\t<!-- Recursive Tree Node Template -->\n\t\t<ng-template #treeNodeTemplate let-node let-level=\"level\">\n\t\t\t<div class=\"tree-node\" [style.margin-left.px]=\"level * 20\">\n\t\t\t\t<div\n\t\t\t\t\tclass=\"node-item\"\n\t\t\t\t\t[class.has-children]=\"node.children && node.children.length > 0\"\n\t\t\t\t\t[class.is-page]=\"node.routerLink\"\n\t\t\t\t\t[routerLink]=\"node.routerLink\"\n\t\t\t\t\t(click)=\"!node.routerLink ? toggleNode(node) : (visible = false)\">\n\t\t\t\t\t<div class=\"node-content\">\n\t\t\t\t\t\t@if (node.children && node.children.length > 0) {\n\t\t\t\t\t\t\t<div class=\"toggle-btn\" (click)=\"$event.stopPropagation(); toggleNode(node)\">\n\t\t\t\t\t\t\t\t<i class=\"pi\" [class.pi-chevron-right]=\"!node.expanded\" [class.pi-chevron-down]=\"node.expanded\"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@if (node.icon) {\n\t\t\t\t\t\t\t<i class=\"node-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t<span class=\"node-label\">{{ node.label | translateJson }}</span>\n\n\t\t\t\t\t\t@if (node.routerLink) {\n\t\t\t\t\t\t\t<i class=\"external-icon pi pi-external-link\"></i>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<!-- Recursive Children -->\n\t\t\t\t@if (node.children && node.expanded) {\n\t\t\t\t\t@for (child of node.children; track trackByKey($index, child)) {\n\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t*ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: child, level: level + 1 }\"></ng-container>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t</div>\n\t\t</ng-template>\n\t</div>\n</p-sidebar>\n", styles: [":host ::ng-deep .layout-sitemap-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem .5rem}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header .total-pages{background:#fff3;color:#ffffffe6;padding:.25rem .5rem;border-radius:12px;font-size:.75rem;font-weight:500}.sitemap-content{display:flex;flex-direction:column;height:100%;background:var(--surface-ground)}.search-section{padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--surface-0)}.sitemap-tree{flex:1;overflow:hidden}.tree-container{padding:.5rem 0}.tree-node .node-item{display:flex;align-items:center;padding:.5rem 1rem;border-radius:6px;margin:.1rem .5rem;cursor:pointer;transition:all .2s ease;border:1px solid transparent}.tree-node .node-item:hover{background:var(--surface-hover);border-color:var(--surface-border)}.tree-node .node-item.is-page:hover{background:var(--primary-50);border-color:var(--primary-200)}.tree-node .node-item.is-page:hover .external-icon{opacity:1}.tree-node .node-item.has-children{font-weight:500}.tree-node .node-content{display:flex;align-items:center;gap:.5rem;width:100%;min-width:0}.tree-node .toggle-btn{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:transparent;border:none;border-radius:4px;color:var(--text-color-secondary);cursor:pointer;transition:all .2s ease;flex-shrink:0}.tree-node .toggle-btn:hover{background:var(--surface-hover);color:var(--primary-color)}.tree-node .toggle-btn i{font-size:.7rem}.tree-node .node-icon{color:var(--primary-color);font-size:.9rem;flex-shrink:0}.tree-node .node-label{flex:1;font-size:.9rem;color:var(--text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-node .external-icon{color:var(--text-color-secondary);font-size:.7rem;opacity:.6;transition:opacity .2s ease;flex-shrink:0}.empty-state{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}.empty-content{text-align:center;max-width:300px}.empty-icon{font-size:3rem;color:var(--text-color-secondary);margin-bottom:1rem;opacity:.5}.empty-message{font-size:.9rem;color:var(--text-color-secondary);line-height:1.4;margin-bottom:1.5rem}:host ::ng-deep .p-scrollpanel-bar-y{background:var(--primary-200);width:4px;border-radius:2px}:host ::ng-deep .p-scrollpanel-bar-y:hover{background:var(--primary-300)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$3.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: SidebarModule }, { kind: "component", type: i6$1.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen"], outputs: ["onShow", "onHide", "visibleChange"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ScrollPanelModule }, { kind: "component", type: i7$1.ScrollPanel, selector: "p-scrollPanel", inputs: ["style", "styleClass", "step"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "component", type: TextComponent, selector: "aril-text[ngModel], aril-text[formControl], aril-text[formControlName]", inputs: ["placeholder", "tabindex", "icon", "iconPos", "size"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "pipe", type: TranslateJsonPipe, name: "translateJson" }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i10.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] }); }
1226
1987
  }
1227
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SiteMapSidebarComponent, decorators: [{
1988
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SiteMapSidebarComponent, decorators: [{
1228
1989
  type: Component,
1229
1990
  args: [{ standalone: true, selector: 'app-site-map-sidebar', imports: [
1230
1991
  CommonModule,
@@ -1238,7 +1999,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
1238
1999
  TranslocoModule,
1239
2000
  TranslateJsonPipe,
1240
2001
  FontAwesomeModule
1241
- ], template: "<p-sidebar\r\n\t[(visible)]=\"visible\"\r\n\tposition=\"right\"\r\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\r\n\tstyleClass=\"layout-sitemap-sidebar w-full sm:w-30rem\"\r\n\t*transloco=\"let t; read: 'siteMap'\">\r\n\t<ng-template pTemplate=\"header\">\r\n\t\t<div class=\"flex align-items-center justify-content-between gap-2 w-full\">\r\n\t\t\t<div class=\"flex align-items-center gap-2\">\r\n\t\t\t\t<i class=\"pi pi-sitemap text-primary text-xl\"></i>\r\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('siteMap') }}</span>\r\n\t\t\t\t<span class=\"total-pages\">{{ totalPages() }} {{ t('pages') }}</span>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</ng-template>\r\n\r\n\t<div class=\"sitemap-content\">\r\n\t\t<div class=\"search-section grid p-fluid m-0\">\r\n\t\t\t<aril-text\r\n\t\t\t\t[placeholder]=\"t('searchPages')\"\r\n\t\t\t\t[(ngModel)]=\"searchTerm\"\r\n\t\t\t\t(ngModelChange)=\"onSearchChange()\"\r\n\t\t\t\tclass=\"col-10 m-0\">\r\n\t\t\t</aril-text>\r\n\t\t\t@if (filteredNodes().length > 0) {\r\n\t\t\t<div class=\"col-2 flex align-items-center m-0 p-0\">\r\n\t\t\t\t\t<fa-icon\r\n\t\t\t\t\t\t[icon]=\"solidIcons.faAnglesDown\"\r\n\t\t\t\t\t\tsize=\"xl\"\r\n\t\t\t\t\t\tstyle=\"color: var(--primary-color)\"\r\n\t\t\t\t\t\tclass=\"col-1 cursor-pointer\"\r\n\t\t\t\t\t\t[pTooltip]=\"t('expandAll')\"\r\n\t\t\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t\t\t\t(click)=\"expandAll()\">\r\n\t\t\t\t\t</fa-icon>\r\n\t\t\t\t\t<fa-icon\r\n\t\t\t\t\t\t[icon]=\"solidIcons.faAnglesUp\"\r\n\t\t\t\t\t\tsize=\"xl\"\r\n\t\t\t\t\t\tstyle=\"color: var(--red-500)\"\r\n\t\t\t\t\t\tclass=\"col-1 ml-3 cursor-pointer\"\r\n\t\t\t\t\t\t[pTooltip]=\"t('collapseAll')\"\r\n\t\t\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t\t\t\t(click)=\"collapseAll()\">\r\n\t\t\t\t\t</fa-icon>\r\n\t\t\t\t</div>\r\n\t\t\t}\r\n\t\t</div>\r\n\r\n\t\t<!-- Site Map Tree -->\r\n\t\t@if (filteredNodes().length > 0) {\r\n\t\t\t<div class=\"sitemap-tree\">\r\n\t\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: '100%' }\">\r\n\t\t\t\t\t<div class=\"tree-container\">\r\n\t\t\t\t\t\t@for (node of filteredNodes(); track trackByKey($index, node)) {\r\n\t\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: node, level: 0 }\"></ng-container>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</p-scrollPanel>\r\n\t\t\t</div>\r\n\t\t} @else {\r\n\t\t\t<div class=\"empty-state\">\r\n\t\t\t\t<div class=\"empty-content\">\r\n\t\t\t\t\t<i class=\"pi pi-sitemap empty-icon\"></i>\r\n\t\t\t\t\t<h3 class=\"empty-title\">\r\n\t\t\t\t\t\t{{ searchTerm() ? t('noSearchResults') : t('noPages') }}\r\n\t\t\t\t\t</h3>\r\n\t\t\t\t\t<p class=\"empty-message\">\r\n\t\t\t\t\t\t{{ searchTerm() ? t('tryDifferentKeywords') : '' }}\r\n\t\t\t\t\t</p>\r\n\t\t\t\t\t@if (searchTerm()) {\r\n\t\t\t\t\t\t<aril-button\r\n\t\t\t\t\t\t\t[label]=\"t('clearSearch')\"\r\n\t\t\t\t\t\t\ticon=\"TIMES\"\r\n\t\t\t\t\t\t\tcolor=\"secondary\"\r\n\t\t\t\t\t\t\t[outlined]=\"true\"\r\n\t\t\t\t\t\t\tsize=\"sm\"\r\n\t\t\t\t\t\t\t(clickEvent)=\"searchTerm.set(''); onSearchChange()\">\r\n\t\t\t\t\t\t</aril-button>\r\n\t\t\t\t\t}\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t}\r\n\r\n\t\t<!-- Recursive Tree Node Template -->\r\n\t\t<ng-template #treeNodeTemplate let-node let-level=\"level\">\r\n\t\t\t<div class=\"tree-node\" [style.margin-left.px]=\"level * 20\">\r\n\t\t\t\t<div\r\n\t\t\t\t\tclass=\"node-item\"\r\n\t\t\t\t\t[class.has-children]=\"node.children && node.children.length > 0\"\r\n\t\t\t\t\t[class.is-page]=\"node.routerLink\"\r\n\t\t\t\t\t[routerLink]=\"node.routerLink\"\r\n\t\t\t\t\t(click)=\"!node.routerLink ? toggleNode(node) : (visible = false)\">\r\n\t\t\t\t\t<div class=\"node-content\">\r\n\t\t\t\t\t\t@if (node.children && node.children.length > 0) {\r\n\t\t\t\t\t\t\t<div class=\"toggle-btn\" (click)=\"$event.stopPropagation(); toggleNode(node)\">\r\n\t\t\t\t\t\t\t\t<i class=\"pi\" [class.pi-chevron-right]=\"!node.expanded\" [class.pi-chevron-down]=\"node.expanded\"></i>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t@if (node.icon) {\r\n\t\t\t\t\t\t\t<i class=\"node-icon\" [class]=\"node.icon\"></i>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t<span class=\"node-label\">{{ node.label | translateJson }}</span>\r\n\r\n\t\t\t\t\t\t@if (node.routerLink) {\r\n\t\t\t\t\t\t\t<i class=\"external-icon pi pi-external-link\"></i>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<!-- Recursive Children -->\r\n\t\t\t\t@if (node.children && node.expanded) {\r\n\t\t\t\t\t@for (child of node.children; track trackByKey($index, child)) {\r\n\t\t\t\t\t\t<ng-container\r\n\t\t\t\t\t\t\t*ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: child, level: level + 1 }\"></ng-container>\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t</div>\r\n\t\t</ng-template>\r\n\t</div>\r\n</p-sidebar>\r\n", styles: [":host ::ng-deep .layout-sitemap-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem .5rem}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header .total-pages{background:#fff3;color:#ffffffe6;padding:.25rem .5rem;border-radius:12px;font-size:.75rem;font-weight:500}.sitemap-content{display:flex;flex-direction:column;height:100%;background:var(--surface-ground)}.search-section{padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--surface-0)}.sitemap-tree{flex:1;overflow:hidden}.tree-container{padding:.5rem 0}.tree-node .node-item{display:flex;align-items:center;padding:.5rem 1rem;border-radius:6px;margin:.1rem .5rem;cursor:pointer;transition:all .2s ease;border:1px solid transparent}.tree-node .node-item:hover{background:var(--surface-hover);border-color:var(--surface-border)}.tree-node .node-item.is-page:hover{background:var(--primary-50);border-color:var(--primary-200)}.tree-node .node-item.is-page:hover .external-icon{opacity:1}.tree-node .node-item.has-children{font-weight:500}.tree-node .node-content{display:flex;align-items:center;gap:.5rem;width:100%;min-width:0}.tree-node .toggle-btn{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:transparent;border:none;border-radius:4px;color:var(--text-color-secondary);cursor:pointer;transition:all .2s ease;flex-shrink:0}.tree-node .toggle-btn:hover{background:var(--surface-hover);color:var(--primary-color)}.tree-node .toggle-btn i{font-size:.7rem}.tree-node .node-icon{color:var(--primary-color);font-size:.9rem;flex-shrink:0}.tree-node .node-label{flex:1;font-size:.9rem;color:var(--text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-node .external-icon{color:var(--text-color-secondary);font-size:.7rem;opacity:.6;transition:opacity .2s ease;flex-shrink:0}.empty-state{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}.empty-content{text-align:center;max-width:300px}.empty-icon{font-size:3rem;color:var(--text-color-secondary);margin-bottom:1rem;opacity:.5}.empty-message{font-size:.9rem;color:var(--text-color-secondary);line-height:1.4;margin-bottom:1.5rem}:host ::ng-deep .p-scrollpanel-bar-y{background:var(--primary-200);width:4px;border-radius:2px}:host ::ng-deep .p-scrollpanel-bar-y:hover{background:var(--primary-300)}\n"] }]
2002
+ ], template: "<p-sidebar\n\t[(visible)]=\"visible\"\n\tposition=\"right\"\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\n\tstyleClass=\"layout-sitemap-sidebar w-full sm:w-30rem\"\n\t*transloco=\"let t; read: 'siteMap'\">\n\t<ng-template pTemplate=\"header\">\n\t\t<div class=\"flex align-items-center justify-content-between gap-2 w-full\">\n\t\t\t<div class=\"flex align-items-center gap-2\">\n\t\t\t\t<i class=\"pi pi-sitemap text-primary text-xl\"></i>\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('siteMap') }}</span>\n\t\t\t\t<span class=\"total-pages\">{{ totalPages() }} {{ t('pages') }}</span>\n\t\t\t</div>\n\t\t</div>\n\t</ng-template>\n\n\t<div class=\"sitemap-content\">\n\t\t<div class=\"search-section grid p-fluid m-0\">\n\t\t\t<aril-text\n\t\t\t\t[placeholder]=\"t('searchPages')\"\n\t\t\t\t[(ngModel)]=\"searchTerm\"\n\t\t\t\t(ngModelChange)=\"onSearchChange()\"\n\t\t\t\tclass=\"col-10 m-0\">\n\t\t\t</aril-text>\n\t\t\t@if (filteredNodes().length > 0) {\n\t\t\t<div class=\"col-2 flex align-items-center m-0 p-0\">\n\t\t\t\t\t<fa-icon\n\t\t\t\t\t\t[icon]=\"solidIcons.faAnglesDown\"\n\t\t\t\t\t\tsize=\"xl\"\n\t\t\t\t\t\tstyle=\"color: var(--primary-color)\"\n\t\t\t\t\t\tclass=\"col-1 cursor-pointer\"\n\t\t\t\t\t\t[pTooltip]=\"t('expandAll')\"\n\t\t\t\t\t\ttooltipPosition=\"top\"\n\t\t\t\t\t\t(click)=\"expandAll()\">\n\t\t\t\t\t</fa-icon>\n\t\t\t\t\t<fa-icon\n\t\t\t\t\t\t[icon]=\"solidIcons.faAnglesUp\"\n\t\t\t\t\t\tsize=\"xl\"\n\t\t\t\t\t\tstyle=\"color: var(--red-500)\"\n\t\t\t\t\t\tclass=\"col-1 ml-3 cursor-pointer\"\n\t\t\t\t\t\t[pTooltip]=\"t('collapseAll')\"\n\t\t\t\t\t\ttooltipPosition=\"top\"\n\t\t\t\t\t\t(click)=\"collapseAll()\">\n\t\t\t\t\t</fa-icon>\n\t\t\t\t</div>\n\t\t\t}\n\t\t</div>\n\n\t\t<!-- Site Map Tree -->\n\t\t@if (filteredNodes().length > 0) {\n\t\t\t<div class=\"sitemap-tree\">\n\t\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: '100%' }\">\n\t\t\t\t\t<div class=\"tree-container\">\n\t\t\t\t\t\t@for (node of filteredNodes(); track trackByKey($index, node)) {\n\t\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: node, level: 0 }\"></ng-container>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</p-scrollPanel>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"empty-state\">\n\t\t\t\t<div class=\"empty-content\">\n\t\t\t\t\t<i class=\"pi pi-sitemap empty-icon\"></i>\n\t\t\t\t\t<h3 class=\"empty-title\">\n\t\t\t\t\t\t{{ searchTerm() ? t('noSearchResults') : t('noPages') }}\n\t\t\t\t\t</h3>\n\t\t\t\t\t<p class=\"empty-message\">\n\t\t\t\t\t\t{{ searchTerm() ? t('tryDifferentKeywords') : '' }}\n\t\t\t\t\t</p>\n\t\t\t\t\t@if (searchTerm()) {\n\t\t\t\t\t\t<aril-button\n\t\t\t\t\t\t\t[label]=\"t('clearSearch')\"\n\t\t\t\t\t\t\ticon=\"TIMES\"\n\t\t\t\t\t\t\tcolor=\"secondary\"\n\t\t\t\t\t\t\t[outlined]=\"true\"\n\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t(clickEvent)=\"searchTerm.set(''); onSearchChange()\">\n\t\t\t\t\t\t</aril-button>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\n\t\t<!-- Recursive Tree Node Template -->\n\t\t<ng-template #treeNodeTemplate let-node let-level=\"level\">\n\t\t\t<div class=\"tree-node\" [style.margin-left.px]=\"level * 20\">\n\t\t\t\t<div\n\t\t\t\t\tclass=\"node-item\"\n\t\t\t\t\t[class.has-children]=\"node.children && node.children.length > 0\"\n\t\t\t\t\t[class.is-page]=\"node.routerLink\"\n\t\t\t\t\t[routerLink]=\"node.routerLink\"\n\t\t\t\t\t(click)=\"!node.routerLink ? toggleNode(node) : (visible = false)\">\n\t\t\t\t\t<div class=\"node-content\">\n\t\t\t\t\t\t@if (node.children && node.children.length > 0) {\n\t\t\t\t\t\t\t<div class=\"toggle-btn\" (click)=\"$event.stopPropagation(); toggleNode(node)\">\n\t\t\t\t\t\t\t\t<i class=\"pi\" [class.pi-chevron-right]=\"!node.expanded\" [class.pi-chevron-down]=\"node.expanded\"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@if (node.icon) {\n\t\t\t\t\t\t\t<i class=\"node-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t<span class=\"node-label\">{{ node.label | translateJson }}</span>\n\n\t\t\t\t\t\t@if (node.routerLink) {\n\t\t\t\t\t\t\t<i class=\"external-icon pi pi-external-link\"></i>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<!-- Recursive Children -->\n\t\t\t\t@if (node.children && node.expanded) {\n\t\t\t\t\t@for (child of node.children; track trackByKey($index, child)) {\n\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t*ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: child, level: level + 1 }\"></ng-container>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t</div>\n\t\t</ng-template>\n\t</div>\n</p-sidebar>\n", styles: [":host ::ng-deep .layout-sitemap-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem .5rem}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600}:host ::ng-deep .layout-sitemap-sidebar .p-sidebar-header .total-pages{background:#fff3;color:#ffffffe6;padding:.25rem .5rem;border-radius:12px;font-size:.75rem;font-weight:500}.sitemap-content{display:flex;flex-direction:column;height:100%;background:var(--surface-ground)}.search-section{padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--surface-0)}.sitemap-tree{flex:1;overflow:hidden}.tree-container{padding:.5rem 0}.tree-node .node-item{display:flex;align-items:center;padding:.5rem 1rem;border-radius:6px;margin:.1rem .5rem;cursor:pointer;transition:all .2s ease;border:1px solid transparent}.tree-node .node-item:hover{background:var(--surface-hover);border-color:var(--surface-border)}.tree-node .node-item.is-page:hover{background:var(--primary-50);border-color:var(--primary-200)}.tree-node .node-item.is-page:hover .external-icon{opacity:1}.tree-node .node-item.has-children{font-weight:500}.tree-node .node-content{display:flex;align-items:center;gap:.5rem;width:100%;min-width:0}.tree-node .toggle-btn{display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:transparent;border:none;border-radius:4px;color:var(--text-color-secondary);cursor:pointer;transition:all .2s ease;flex-shrink:0}.tree-node .toggle-btn:hover{background:var(--surface-hover);color:var(--primary-color)}.tree-node .toggle-btn i{font-size:.7rem}.tree-node .node-icon{color:var(--primary-color);font-size:.9rem;flex-shrink:0}.tree-node .node-label{flex:1;font-size:.9rem;color:var(--text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-node .external-icon{color:var(--text-color-secondary);font-size:.7rem;opacity:.6;transition:opacity .2s ease;flex-shrink:0}.empty-state{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}.empty-content{text-align:center;max-width:300px}.empty-icon{font-size:3rem;color:var(--text-color-secondary);margin-bottom:1rem;opacity:.5}.empty-message{font-size:.9rem;color:var(--text-color-secondary);line-height:1.4;margin-bottom:1.5rem}:host ::ng-deep .p-scrollpanel-bar-y{background:var(--primary-200);width:4px;border-radius:2px}:host ::ng-deep .p-scrollpanel-bar-y:hover{background:var(--primary-300)}\n"] }]
1242
2003
  }], ctorParameters: () => [{ type: LayoutService }, { type: i5.TranslocoService }] });
1243
2004
 
1244
2005
  // API Endpoints
@@ -1252,6 +2013,8 @@ class FavoritePagesService extends RestClient {
1252
2013
  this.router = router;
1253
2014
  this.states = {};
1254
2015
  this.allFavoritePages = signal([]);
2016
+ // Asks the favorites sidebar, which owns the list, to load it again after a change made elsewhere
2017
+ this.reloadRequest = new Subject();
1255
2018
  }
1256
2019
  getCurrentRoutePath() {
1257
2020
  return this.router.url;
@@ -1275,8 +2038,8 @@ class FavoritePagesService extends RestClient {
1275
2038
  deleteFavoritePage(id) {
1276
2039
  return new Observable();
1277
2040
  }
1278
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FavoritePagesService, deps: [{ token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
1279
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FavoritePagesService, providedIn: 'root' }); }
2041
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FavoritePagesService, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
2042
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FavoritePagesService, providedIn: 'root' }); }
1280
2043
  }
1281
2044
  __decorate([
1282
2045
  ServiceCall(HTTPMethods.POST, ProxyTypes.ClientSide, favoritePageEndpoints.filter)
@@ -1290,10 +2053,10 @@ __decorate([
1290
2053
  __decorate([
1291
2054
  ServiceCall(HTTPMethods.DELETE, ProxyTypes.ClientSide, favoritePageEndpoints.favorite)
1292
2055
  ], FavoritePagesService.prototype, "deleteFavoritePage", null);
1293
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FavoritePagesService, decorators: [{
2056
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FavoritePagesService, decorators: [{
1294
2057
  type: Injectable,
1295
2058
  args: [{ providedIn: 'root' }]
1296
- }], ctorParameters: () => [{ type: i1$2.Router }], propDecorators: { filterFavoritePages: [], saveFavoritePage: [], updateFavoritePage: [], deleteFavoritePage: [] } });
2059
+ }], ctorParameters: () => [{ type: i1$3.Router }], propDecorators: { filterFavoritePages: [], saveFavoritePage: [], updateFavoritePage: [], deleteFavoritePage: [] } });
1297
2060
 
1298
2061
  class AddEditFavoriteModalComponent {
1299
2062
  constructor(formBuilder, dialogRef, dialogConfig, favoritePagesService, messageService, translocoService) {
@@ -1390,10 +2153,10 @@ class AddEditFavoriteModalComponent {
1390
2153
  cancel() {
1391
2154
  this.dialogRef.close('cancel');
1392
2155
  }
1393
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AddEditFavoriteModalComponent, deps: [{ token: i1$1.FormBuilder }, { token: i2.DynamicDialogRef }, { token: i2.DynamicDialogConfig }, { token: FavoritePagesService }, { token: i3.MessageService }, { token: i5.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
1394
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: AddEditFavoriteModalComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div *transloco=\"let t; read: 'favoritePages'\">\r\n\t<aril-form [formGroup]=\"favoriteForm\">\r\n\t\t<aril-field [label]=\"t('label')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-text formControlName=\"label\" [placeholder]=\"t('labelPlaceholder')\"> </aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('path')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\">\r\n\t\t\t<aril-text formControlName=\"url\"> </aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<div class=\"col-12 flex justify-content-end mt-4 gap-2\">\r\n\t\t\t<aril-button\r\n\t\t\t\tcolor=\"danger\"\r\n\t\t\t\t[label]=\"t('cancel')\"\r\n\t\t\t\t[outlined]=\"true\"\r\n\t\t\t\ticon=\"TIMES\"\r\n\t\t\t\t(clickEvent)=\"cancel()\">\r\n\t\t\t</aril-button>\r\n\t\t\t<aril-form-submit\r\n\t\t\t\t[label]=\"t('save')\"\r\n\t\t\t\tcolor=\"success\"\r\n\t\t\t\ticon=\"CHECK\"\r\n\t\t\t\t[formGroup]=\"favoriteForm\"\r\n\t\t\t\t(validEvent)=\"submit()\" />\r\n\t\t</div>\r\n\t</aril-form>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ARiLFormModule }, { kind: "component", type: i6.FormComponent, selector: "aril-form", inputs: ["formGroup", "submitOnEnterInWidgets"] }, { kind: "component", type: i6.FormSubmitButtonComponent, selector: "aril-form-submit:not([click])", inputs: ["formGroup"], outputs: ["validEvent", "inValidEvent"] }, { kind: "component", type: FieldComponent, selector: "aril-field", inputs: ["label", "color", "labelWidth", "valueWidth", "labelPos", "markAsRequired", "cols", "infoData", "infoDataOverlayPanel"] }, { kind: "component", type: TextComponent, selector: "aril-text[ngModel], aril-text[formControl], aril-text[formControlName]", inputs: ["placeholder", "tabindex", "icon", "iconPos", "size"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }] }); }
2156
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AddEditFavoriteModalComponent, deps: [{ token: i1$2.FormBuilder }, { token: i2.DynamicDialogRef }, { token: i2.DynamicDialogConfig }, { token: FavoritePagesService }, { token: i3.MessageService }, { token: i5.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
2157
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AddEditFavoriteModalComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div *transloco=\"let t; read: 'favoritePages'\">\n\t<aril-form [formGroup]=\"favoriteForm\">\n\t\t<aril-field [label]=\"t('label')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<aril-text formControlName=\"label\" [placeholder]=\"t('labelPlaceholder')\"> </aril-text>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('path')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\">\n\t\t\t<aril-text formControlName=\"url\"> </aril-text>\n\t\t</aril-field>\n\n\t\t<div class=\"col-12 flex justify-content-end mt-4 gap-2\">\n\t\t\t<aril-button\n\t\t\t\tcolor=\"danger\"\n\t\t\t\t[label]=\"t('cancel')\"\n\t\t\t\t[outlined]=\"true\"\n\t\t\t\ticon=\"TIMES\"\n\t\t\t\t(clickEvent)=\"cancel()\">\n\t\t\t</aril-button>\n\t\t\t<aril-form-submit\n\t\t\t\t[label]=\"t('save')\"\n\t\t\t\tcolor=\"success\"\n\t\t\t\ticon=\"CHECK\"\n\t\t\t\t[formGroup]=\"favoriteForm\"\n\t\t\t\t(validEvent)=\"submit()\" />\n\t\t</div>\n\t</aril-form>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ARiLFormModule }, { kind: "component", type: i6.FormComponent, selector: "aril-form", inputs: ["formGroup", "submitOnEnterInWidgets"] }, { kind: "component", type: i6.FormSubmitButtonComponent, selector: "aril-form-submit:not([click])", inputs: ["formGroup"], outputs: ["validEvent", "inValidEvent"] }, { kind: "component", type: FieldComponent, selector: "aril-field", inputs: ["label", "color", "labelWidth", "valueWidth", "labelPos", "markAsRequired", "cols", "infoData", "infoDataOverlayPanel"] }, { kind: "component", type: TextComponent, selector: "aril-text[ngModel], aril-text[formControl], aril-text[formControlName]", inputs: ["placeholder", "tabindex", "icon", "iconPos", "size"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }] }); }
1395
2158
  }
1396
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AddEditFavoriteModalComponent, decorators: [{
2159
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AddEditFavoriteModalComponent, decorators: [{
1397
2160
  type: Component,
1398
2161
  args: [{ standalone: true, imports: [
1399
2162
  CommonModule,
@@ -1404,8 +2167,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
1404
2167
  TextComponent,
1405
2168
  ButtonComponent,
1406
2169
  TranslocoModule
1407
- ], template: "<div *transloco=\"let t; read: 'favoritePages'\">\r\n\t<aril-form [formGroup]=\"favoriteForm\">\r\n\t\t<aril-field [label]=\"t('label')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\" [markAsRequired]=\"true\">\r\n\t\t\t<aril-text formControlName=\"label\" [placeholder]=\"t('labelPlaceholder')\"> </aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<aril-field [label]=\"t('path')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\">\r\n\t\t\t<aril-text formControlName=\"url\"> </aril-text>\r\n\t\t</aril-field>\r\n\r\n\t\t<div class=\"col-12 flex justify-content-end mt-4 gap-2\">\r\n\t\t\t<aril-button\r\n\t\t\t\tcolor=\"danger\"\r\n\t\t\t\t[label]=\"t('cancel')\"\r\n\t\t\t\t[outlined]=\"true\"\r\n\t\t\t\ticon=\"TIMES\"\r\n\t\t\t\t(clickEvent)=\"cancel()\">\r\n\t\t\t</aril-button>\r\n\t\t\t<aril-form-submit\r\n\t\t\t\t[label]=\"t('save')\"\r\n\t\t\t\tcolor=\"success\"\r\n\t\t\t\ticon=\"CHECK\"\r\n\t\t\t\t[formGroup]=\"favoriteForm\"\r\n\t\t\t\t(validEvent)=\"submit()\" />\r\n\t\t</div>\r\n\t</aril-form>\r\n</div>\r\n" }]
1408
- }], ctorParameters: () => [{ type: i1$1.FormBuilder }, { type: i2.DynamicDialogRef }, { type: i2.DynamicDialogConfig }, { type: FavoritePagesService }, { type: i3.MessageService }, { type: i5.TranslocoService }] });
2170
+ ], template: "<div *transloco=\"let t; read: 'favoritePages'\">\n\t<aril-form [formGroup]=\"favoriteForm\">\n\t\t<aril-field [label]=\"t('label')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\" [markAsRequired]=\"true\">\n\t\t\t<aril-text formControlName=\"label\" [placeholder]=\"t('labelPlaceholder')\"> </aril-text>\n\t\t</aril-field>\n\n\t\t<aril-field [label]=\"t('path')\" [cols]=\"{ xl: 12, lg: 12, md: 12, sm: 12 }\">\n\t\t\t<aril-text formControlName=\"url\"> </aril-text>\n\t\t</aril-field>\n\n\t\t<div class=\"col-12 flex justify-content-end mt-4 gap-2\">\n\t\t\t<aril-button\n\t\t\t\tcolor=\"danger\"\n\t\t\t\t[label]=\"t('cancel')\"\n\t\t\t\t[outlined]=\"true\"\n\t\t\t\ticon=\"TIMES\"\n\t\t\t\t(clickEvent)=\"cancel()\">\n\t\t\t</aril-button>\n\t\t\t<aril-form-submit\n\t\t\t\t[label]=\"t('save')\"\n\t\t\t\tcolor=\"success\"\n\t\t\t\ticon=\"CHECK\"\n\t\t\t\t[formGroup]=\"favoriteForm\"\n\t\t\t\t(validEvent)=\"submit()\" />\n\t\t</div>\n\t</aril-form>\n</div>\n" }]
2171
+ }], ctorParameters: () => [{ type: i1$2.FormBuilder }, { type: i2.DynamicDialogRef }, { type: i2.DynamicDialogConfig }, { type: FavoritePagesService }, { type: i3.MessageService }, { type: i5.TranslocoService }] });
1409
2172
 
1410
2173
  class FavoritePagesSidebarComponent {
1411
2174
  constructor(layoutService, favoritePagesService, confirmationService, messageService, dialogService, translocoService) {
@@ -1433,6 +2196,7 @@ class FavoritePagesSidebarComponent {
1433
2196
  }))));
1434
2197
  this.deleteFavoriteService = toSignal(this.subjects.deleteFavorite.pipe(switchMap((id) => this.favoritePagesService.deleteFavoritePage(id))));
1435
2198
  this.initializeEffects();
2199
+ this.favoritePagesService.reloadRequest.pipe(takeUntilDestroyed()).subscribe(() => this.loadFavoritePages());
1436
2200
  }
1437
2201
  ngOnInit() {
1438
2202
  this.loadFavoritePages();
@@ -1577,10 +2341,10 @@ class FavoritePagesSidebarComponent {
1577
2341
  getFullUrl(url) {
1578
2342
  return this.favoritePagesService.getFullUrl(url);
1579
2343
  }
1580
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FavoritePagesSidebarComponent, deps: [{ token: LayoutService }, { token: FavoritePagesService }, { token: i3.ConfirmationService }, { token: i3.MessageService }, { token: i2.DialogService }, { token: i5.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
1581
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: FavoritePagesSidebarComponent, isStandalone: true, selector: "app-favorite-pages-sidebar", providers: [ConfirmationService, DialogService], ngImport: i0, template: "<p-sidebar\r\n\t[(visible)]=\"visible\"\r\n\tposition=\"right\"\r\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\r\n\tstyleClass=\"layout-favorite-pages-sidebar w-full sm:w-30rem\"\r\n\t*transloco=\"let t; read: 'favoritePages'\">\r\n\t<ng-template pTemplate=\"header\">\r\n\t\t<div class=\"flex align-items-center justify-content-between w-full\">\r\n\t\t\t<div class=\"flex align-items-center\">\r\n\t\t\t\t<i class=\"pi pi-heart text-primary text-xl\"></i>\r\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('favoritePages') }}</span>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</ng-template>\r\n\r\n\t<div class=\"favorite-pages-content\">\r\n\t\t@if (isCurrentPageFavorited()) {\r\n\t\t\t<div class=\"current-favorited-message\">\r\n\t\t\t\t<div class=\"message-content\">\r\n\t\t\t\t\t<i class=\"pi pi-check-circle text-green-500\"></i>\r\n\t\t\t\t\t<span>{{ t('currentPageFavorited') }}</span>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t}\r\n\r\n\t\t<div class=\"add-section\">\r\n\t\t\t@if (!isCurrentPageFavorited()) {\r\n\t\t\t\t<aril-button\r\n\t\t\t\t\t[label]=\"t('addCurrentPage')\"\r\n\t\t\t\t\ticon=\"PLUS\"\r\n\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t\tsize=\"sm\"\r\n\t\t\t\t\t(clickEvent)=\"addCurrentPageToFavorites()\">\r\n\t\t\t\t</aril-button>\r\n\t\t\t} @else {\r\n\t\t\t\t<aril-button\r\n\t\t\t\t\t[label]=\"t('removeCurrentPage')\"\r\n\t\t\t\t\ticon=\"TIMES\"\r\n\t\t\t\t\tcolor=\"danger\"\r\n\t\t\t\t\tsize=\"sm\"\r\n\t\t\t\t\t(clickEvent)=\"removeCurrentPageFromFavorites()\">\r\n\t\t\t\t</aril-button>\r\n\t\t\t}\r\n\t\t</div>\r\n\r\n\t\t@if (favoritePages().length > 0) {\r\n\t\t\t<div class=\"favorites-list\">\r\n\t\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: '100%' }\">\r\n\t\t\t\t\t<div class=\"favorites-items\">\r\n\t\t\t\t\t\t@for (favorite of favoritePages(); track trackByFavoriteId($index, favorite)) {\r\n\t\t\t\t\t\t\t<div\r\n\t\t\t\t\t\t\t\tclass=\"favorite-item\"\r\n\t\t\t\t\t\t\t\t[class.default-item]=\"favorite.id < 0\"\r\n\t\t\t\t\t\t\t\t(click)=\"navigateToFavorite(favorite)\"\r\n\t\t\t\t\t\t\t\t[pTooltip]=\"getFullUrl(favorite.url)\"\r\n\t\t\t\t\t\t\t\ttooltipPosition=\"top\">\r\n\t\t\t\t\t\t\t\t<div class=\"item-content\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"item-header\">\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"item-title\">\r\n\t\t\t\t\t\t\t\t\t\t\t<i class=\"pi pi-external-link text-primary mr-2\"></i>\r\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"title-text\">{{ favorite.label }}</span>\r\n\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t\t<div>\r\n\t\t\t\t\t\t\t\t\t\t\t<fa-icon\r\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]=\"solidIcons.faPenToSquare\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tsize=\"lg\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"color: var(--yellow-500)\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"col-2 cursor-pointer\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"editFavorite(favorite, $event)\">\r\n\t\t\t\t\t\t\t\t\t\t\t</fa-icon>\r\n\t\t\t\t\t\t\t\t\t\t\t<fa-icon\r\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]=\"solidIcons.faTrash\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tsize=\"lg\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"color: var(--red-500)\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"col-2 cursor-pointer\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"deleteFavorite(favorite, $event)\">\r\n\t\t\t\t\t\t\t\t\t\t\t</fa-icon>\r\n\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</p-scrollPanel>\r\n\t\t\t</div>\r\n\t\t} @else {\r\n\t\t\t<div class=\"empty-state\">\r\n\t\t\t\t<div class=\"empty-content\">\r\n\t\t\t\t\t<i class=\"pi pi-heart empty-icon\"></i>\r\n\t\t\t\t\t<h3 class=\"empty-title\">{{ t('noFavorites') }}</h3>\r\n\t\t\t\t\t<p class=\"empty-message\">{{ t('startAddingFavorites') }}</p>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t}\r\n\t\t<div>\r\n\t\t\t<p-paginator\r\n\t\t\t\t[first]=\"(currentPage() - 1) * pageSize()\"\r\n\t\t\t\t[rows]=\"pageSize()\"\r\n\t\t\t\t[totalRecords]=\"totalItems()\"\r\n\t\t\t\t[showCurrentPageReport]=\"true\"\r\n\t\t\t\t[currentPageReportTemplate]=\"t('paginatorTemplate')\"\r\n\t\t\t\t[showFirstLastIcon]=\"false\"\r\n\t\t\t\t[showPageLinks]=\"false\"\r\n\t\t\t\t(onPageChange)=\"onPageChange($event)\">\r\n\t\t\t</p-paginator>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<p-confirmDialog></p-confirmDialog>\r\n</p-sidebar>\r\n", styles: [":host ::ng-deep .layout-favorite-pages-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-favorite-pages-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem 1.5rem}:host ::ng-deep .layout-favorite-pages-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600}.favorite-pages-content{display:flex;flex-direction:column;height:100%;background:var(--surface-0)}.current-favorited-message{padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--green-50)}.current-favorited-message .message-content{display:flex;align-items:center;gap:.5rem;color:var(--green-700);font-size:.9rem;font-weight:500}.add-section{display:flex;align-items:center;gap:.5rem;padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--surface-0)}.favorites-list{flex:1;overflow:hidden}.favorites-items{padding:.5rem}.favorite-item{background:var(--surface-0);border:1px solid var(--surface-border);border-radius:8px;margin-bottom:.5rem;cursor:pointer;transition:all .2s ease;position:relative;overflow:hidden;padding:.5rem .2rem}.favorite-item:hover{border-color:var(--primary-200);background:var(--primary-50);transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.favorite-item:hover .action-btn{opacity:1}.favorite-item:last-child{margin-bottom:0}.favorite-item.default-item{background:var(--blue-50);border-left:3px solid var(--blue-500)}.favorite-item.default-item:hover{background:var(--blue-100);border-color:var(--blue-300)}.favorite-item.default-item .title-text{font-weight:600;color:var(--blue-700)}.item-content{padding:.5rem .75rem}.item-header{display:flex;align-items:center;justify-content:space-between}.item-title{display:flex;align-items:center;flex:1;min-width:0}.item-title .title-text{font-weight:600;color:var(--text-color);font-size:1rem;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-state{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}.empty-content{text-align:center;max-width:300px}.empty-content .empty-icon{font-size:3rem;color:var(--text-color-secondary);margin-bottom:1rem;opacity:.5}.empty-content .empty-title{font-size:1.1rem;font-weight:600;color:var(--text-color);margin-bottom:.5rem}.empty-content .empty-message{font-size:.9rem;color:var(--text-color-secondary);line-height:1.4;margin-bottom:1.5rem}@media (max-width: 768px){.add-section{padding:.75rem}.add-section .button-label{font-size:.8rem}.item-content{padding:.5rem}.item-title .title-text{font-size:.85rem}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: SidebarModule }, { kind: "component", type: i6$1.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen"], outputs: ["onShow", "onHide", "visibleChange"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ScrollPanelModule }, { kind: "component", type: i7$1.ScrollPanel, selector: "p-scrollPanel", inputs: ["style", "styleClass", "step"] }, { kind: "ngmodule", type: ConfirmDialogModule }, { kind: "component", type: i8.ConfirmDialog, selector: "p-confirmDialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "visible", "position"], outputs: ["onHide"] }, { kind: "ngmodule", type: PaginatorModule }, { kind: "component", type: i9$1.Paginator, selector: "p-paginator", inputs: ["pageLinkSize", "style", "styleClass", "alwaysShow", "dropdownAppendTo", "templateLeft", "templateRight", "appendTo", "dropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showFirstLastIcon", "totalRecords", "rows", "rowsPerPageOptions", "showJumpToPageDropdown", "showJumpToPageInput", "jumpToPageItemTemplate", "showPageLinks", "locale", "dropdownItemTemplate", "first"], outputs: ["onPageChange"] }, { kind: "ngmodule", type: DynamicDialogModule }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i10.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] }); }
2344
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FavoritePagesSidebarComponent, deps: [{ token: LayoutService }, { token: FavoritePagesService }, { token: i3.ConfirmationService }, { token: i3.MessageService }, { token: i2.DialogService }, { token: i5.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
2345
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: FavoritePagesSidebarComponent, isStandalone: true, selector: "app-favorite-pages-sidebar", providers: [ConfirmationService, DialogService], ngImport: i0, template: "<p-sidebar\n\t[(visible)]=\"visible\"\n\tposition=\"right\"\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\n\tstyleClass=\"layout-favorite-pages-sidebar w-full sm:w-30rem\"\n\t*transloco=\"let t; read: 'favoritePages'\">\n\t<ng-template pTemplate=\"header\">\n\t\t<div class=\"flex align-items-center justify-content-between w-full\">\n\t\t\t<div class=\"flex align-items-center\">\n\t\t\t\t<i class=\"pi pi-heart text-primary text-xl\"></i>\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('favoritePages') }}</span>\n\t\t\t</div>\n\t\t</div>\n\t</ng-template>\n\n\t<div class=\"favorite-pages-content\">\n\t\t@if (isCurrentPageFavorited()) {\n\t\t\t<div class=\"current-favorited-message\">\n\t\t\t\t<div class=\"message-content\">\n\t\t\t\t\t<i class=\"pi pi-check-circle text-green-500\"></i>\n\t\t\t\t\t<span>{{ t('currentPageFavorited') }}</span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\n\t\t<div class=\"add-section\">\n\t\t\t@if (!isCurrentPageFavorited()) {\n\t\t\t\t<aril-button\n\t\t\t\t\t[label]=\"t('addCurrentPage')\"\n\t\t\t\t\ticon=\"PLUS\"\n\t\t\t\t\tcolor=\"primary\"\n\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t(clickEvent)=\"addCurrentPageToFavorites()\">\n\t\t\t\t</aril-button>\n\t\t\t} @else {\n\t\t\t\t<aril-button\n\t\t\t\t\t[label]=\"t('removeCurrentPage')\"\n\t\t\t\t\ticon=\"TIMES\"\n\t\t\t\t\tcolor=\"danger\"\n\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t(clickEvent)=\"removeCurrentPageFromFavorites()\">\n\t\t\t\t</aril-button>\n\t\t\t}\n\t\t</div>\n\n\t\t@if (favoritePages().length > 0) {\n\t\t\t<div class=\"favorites-list\">\n\t\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: '100%' }\">\n\t\t\t\t\t<div class=\"favorites-items\">\n\t\t\t\t\t\t@for (favorite of favoritePages(); track trackByFavoriteId($index, favorite)) {\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass=\"favorite-item\"\n\t\t\t\t\t\t\t\t[class.default-item]=\"favorite.id < 0\"\n\t\t\t\t\t\t\t\t(click)=\"navigateToFavorite(favorite)\"\n\t\t\t\t\t\t\t\t[pTooltip]=\"getFullUrl(favorite.url)\"\n\t\t\t\t\t\t\t\ttooltipPosition=\"top\">\n\t\t\t\t\t\t\t\t<div class=\"item-content\">\n\t\t\t\t\t\t\t\t\t<div class=\"item-header\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"item-title\">\n\t\t\t\t\t\t\t\t\t\t\t<i class=\"pi pi-external-link text-primary mr-2\"></i>\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"title-text\">{{ favorite.label }}</span>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t\t<fa-icon\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]=\"solidIcons.faPenToSquare\"\n\t\t\t\t\t\t\t\t\t\t\t\tsize=\"lg\"\n\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"color: var(--yellow-500)\"\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"col-2 cursor-pointer\"\n\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"editFavorite(favorite, $event)\">\n\t\t\t\t\t\t\t\t\t\t\t</fa-icon>\n\t\t\t\t\t\t\t\t\t\t\t<fa-icon\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]=\"solidIcons.faTrash\"\n\t\t\t\t\t\t\t\t\t\t\t\tsize=\"lg\"\n\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"color: var(--red-500)\"\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"col-2 cursor-pointer\"\n\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"deleteFavorite(favorite, $event)\">\n\t\t\t\t\t\t\t\t\t\t\t</fa-icon>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</p-scrollPanel>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"empty-state\">\n\t\t\t\t<div class=\"empty-content\">\n\t\t\t\t\t<i class=\"pi pi-heart empty-icon\"></i>\n\t\t\t\t\t<h3 class=\"empty-title\">{{ t('noFavorites') }}</h3>\n\t\t\t\t\t<p class=\"empty-message\">{{ t('startAddingFavorites') }}</p>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t\t<div>\n\t\t\t<p-paginator\n\t\t\t\t[first]=\"(currentPage() - 1) * pageSize()\"\n\t\t\t\t[rows]=\"pageSize()\"\n\t\t\t\t[totalRecords]=\"totalItems()\"\n\t\t\t\t[showCurrentPageReport]=\"true\"\n\t\t\t\t[currentPageReportTemplate]=\"t('paginatorTemplate')\"\n\t\t\t\t[showFirstLastIcon]=\"false\"\n\t\t\t\t[showPageLinks]=\"false\"\n\t\t\t\t(onPageChange)=\"onPageChange($event)\">\n\t\t\t</p-paginator>\n\t\t</div>\n\t</div>\n\n\t<p-confirmDialog></p-confirmDialog>\n</p-sidebar>\n", styles: [":host ::ng-deep .layout-favorite-pages-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-favorite-pages-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem 1.5rem}:host ::ng-deep .layout-favorite-pages-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600}.favorite-pages-content{display:flex;flex-direction:column;height:100%;background:var(--surface-0)}.current-favorited-message{padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--green-50)}.current-favorited-message .message-content{display:flex;align-items:center;gap:.5rem;color:var(--green-700);font-size:.9rem;font-weight:500}.add-section{display:flex;align-items:center;gap:.5rem;padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--surface-0)}.favorites-list{flex:1;overflow:hidden}.favorites-items{padding:.5rem}.favorite-item{background:var(--surface-0);border:1px solid var(--surface-border);border-radius:8px;margin-bottom:.5rem;cursor:pointer;transition:all .2s ease;position:relative;overflow:hidden;padding:.5rem .2rem}.favorite-item:hover{border-color:var(--primary-200);background:var(--primary-50);transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.favorite-item:hover .action-btn{opacity:1}.favorite-item:last-child{margin-bottom:0}.favorite-item.default-item{background:var(--blue-50);border-left:3px solid var(--blue-500)}.favorite-item.default-item:hover{background:var(--blue-100);border-color:var(--blue-300)}.favorite-item.default-item .title-text{font-weight:600;color:var(--blue-700)}.item-content{padding:.5rem .75rem}.item-header{display:flex;align-items:center;justify-content:space-between}.item-title{display:flex;align-items:center;flex:1;min-width:0}.item-title .title-text{font-weight:600;color:var(--text-color);font-size:1rem;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-state{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}.empty-content{text-align:center;max-width:300px}.empty-content .empty-icon{font-size:3rem;color:var(--text-color-secondary);margin-bottom:1rem;opacity:.5}.empty-content .empty-title{font-size:1.1rem;font-weight:600;color:var(--text-color);margin-bottom:.5rem}.empty-content .empty-message{font-size:.9rem;color:var(--text-color-secondary);line-height:1.4;margin-bottom:1.5rem}@media (max-width: 768px){.add-section{padding:.75rem}.add-section .button-label{font-size:.8rem}.item-content{padding:.5rem}.item-title .title-text{font-size:.85rem}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: SidebarModule }, { kind: "component", type: i6$1.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen"], outputs: ["onShow", "onHide", "visibleChange"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ScrollPanelModule }, { kind: "component", type: i7$1.ScrollPanel, selector: "p-scrollPanel", inputs: ["style", "styleClass", "step"] }, { kind: "ngmodule", type: ConfirmDialogModule }, { kind: "component", type: i8.ConfirmDialog, selector: "p-confirmDialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "visible", "position"], outputs: ["onHide"] }, { kind: "ngmodule", type: PaginatorModule }, { kind: "component", type: i9$1.Paginator, selector: "p-paginator", inputs: ["pageLinkSize", "style", "styleClass", "alwaysShow", "dropdownAppendTo", "templateLeft", "templateRight", "appendTo", "dropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showFirstLastIcon", "totalRecords", "rows", "rowsPerPageOptions", "showJumpToPageDropdown", "showJumpToPageInput", "jumpToPageItemTemplate", "showPageLinks", "locale", "dropdownItemTemplate", "first"], outputs: ["onPageChange"] }, { kind: "ngmodule", type: DynamicDialogModule }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i10.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }] }); }
1582
2346
  }
1583
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FavoritePagesSidebarComponent, decorators: [{
2347
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FavoritePagesSidebarComponent, decorators: [{
1584
2348
  type: Component,
1585
2349
  args: [{ standalone: true, selector: 'app-favorite-pages-sidebar', imports: [
1586
2350
  CommonModule,
@@ -1593,7 +2357,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
1593
2357
  TranslocoModule,
1594
2358
  TooltipModule,
1595
2359
  FontAwesomeModule
1596
- ], providers: [ConfirmationService, DialogService], template: "<p-sidebar\r\n\t[(visible)]=\"visible\"\r\n\tposition=\"right\"\r\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\r\n\tstyleClass=\"layout-favorite-pages-sidebar w-full sm:w-30rem\"\r\n\t*transloco=\"let t; read: 'favoritePages'\">\r\n\t<ng-template pTemplate=\"header\">\r\n\t\t<div class=\"flex align-items-center justify-content-between w-full\">\r\n\t\t\t<div class=\"flex align-items-center\">\r\n\t\t\t\t<i class=\"pi pi-heart text-primary text-xl\"></i>\r\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('favoritePages') }}</span>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</ng-template>\r\n\r\n\t<div class=\"favorite-pages-content\">\r\n\t\t@if (isCurrentPageFavorited()) {\r\n\t\t\t<div class=\"current-favorited-message\">\r\n\t\t\t\t<div class=\"message-content\">\r\n\t\t\t\t\t<i class=\"pi pi-check-circle text-green-500\"></i>\r\n\t\t\t\t\t<span>{{ t('currentPageFavorited') }}</span>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t}\r\n\r\n\t\t<div class=\"add-section\">\r\n\t\t\t@if (!isCurrentPageFavorited()) {\r\n\t\t\t\t<aril-button\r\n\t\t\t\t\t[label]=\"t('addCurrentPage')\"\r\n\t\t\t\t\ticon=\"PLUS\"\r\n\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t\tsize=\"sm\"\r\n\t\t\t\t\t(clickEvent)=\"addCurrentPageToFavorites()\">\r\n\t\t\t\t</aril-button>\r\n\t\t\t} @else {\r\n\t\t\t\t<aril-button\r\n\t\t\t\t\t[label]=\"t('removeCurrentPage')\"\r\n\t\t\t\t\ticon=\"TIMES\"\r\n\t\t\t\t\tcolor=\"danger\"\r\n\t\t\t\t\tsize=\"sm\"\r\n\t\t\t\t\t(clickEvent)=\"removeCurrentPageFromFavorites()\">\r\n\t\t\t\t</aril-button>\r\n\t\t\t}\r\n\t\t</div>\r\n\r\n\t\t@if (favoritePages().length > 0) {\r\n\t\t\t<div class=\"favorites-list\">\r\n\t\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: '100%' }\">\r\n\t\t\t\t\t<div class=\"favorites-items\">\r\n\t\t\t\t\t\t@for (favorite of favoritePages(); track trackByFavoriteId($index, favorite)) {\r\n\t\t\t\t\t\t\t<div\r\n\t\t\t\t\t\t\t\tclass=\"favorite-item\"\r\n\t\t\t\t\t\t\t\t[class.default-item]=\"favorite.id < 0\"\r\n\t\t\t\t\t\t\t\t(click)=\"navigateToFavorite(favorite)\"\r\n\t\t\t\t\t\t\t\t[pTooltip]=\"getFullUrl(favorite.url)\"\r\n\t\t\t\t\t\t\t\ttooltipPosition=\"top\">\r\n\t\t\t\t\t\t\t\t<div class=\"item-content\">\r\n\t\t\t\t\t\t\t\t\t<div class=\"item-header\">\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"item-title\">\r\n\t\t\t\t\t\t\t\t\t\t\t<i class=\"pi pi-external-link text-primary mr-2\"></i>\r\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"title-text\">{{ favorite.label }}</span>\r\n\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t\t<div>\r\n\t\t\t\t\t\t\t\t\t\t\t<fa-icon\r\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]=\"solidIcons.faPenToSquare\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tsize=\"lg\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"color: var(--yellow-500)\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"col-2 cursor-pointer\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"editFavorite(favorite, $event)\">\r\n\t\t\t\t\t\t\t\t\t\t\t</fa-icon>\r\n\t\t\t\t\t\t\t\t\t\t\t<fa-icon\r\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]=\"solidIcons.faTrash\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tsize=\"lg\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"color: var(--red-500)\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"col-2 cursor-pointer\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"deleteFavorite(favorite, $event)\">\r\n\t\t\t\t\t\t\t\t\t\t\t</fa-icon>\r\n\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</p-scrollPanel>\r\n\t\t\t</div>\r\n\t\t} @else {\r\n\t\t\t<div class=\"empty-state\">\r\n\t\t\t\t<div class=\"empty-content\">\r\n\t\t\t\t\t<i class=\"pi pi-heart empty-icon\"></i>\r\n\t\t\t\t\t<h3 class=\"empty-title\">{{ t('noFavorites') }}</h3>\r\n\t\t\t\t\t<p class=\"empty-message\">{{ t('startAddingFavorites') }}</p>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t}\r\n\t\t<div>\r\n\t\t\t<p-paginator\r\n\t\t\t\t[first]=\"(currentPage() - 1) * pageSize()\"\r\n\t\t\t\t[rows]=\"pageSize()\"\r\n\t\t\t\t[totalRecords]=\"totalItems()\"\r\n\t\t\t\t[showCurrentPageReport]=\"true\"\r\n\t\t\t\t[currentPageReportTemplate]=\"t('paginatorTemplate')\"\r\n\t\t\t\t[showFirstLastIcon]=\"false\"\r\n\t\t\t\t[showPageLinks]=\"false\"\r\n\t\t\t\t(onPageChange)=\"onPageChange($event)\">\r\n\t\t\t</p-paginator>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<p-confirmDialog></p-confirmDialog>\r\n</p-sidebar>\r\n", styles: [":host ::ng-deep .layout-favorite-pages-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-favorite-pages-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem 1.5rem}:host ::ng-deep .layout-favorite-pages-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600}.favorite-pages-content{display:flex;flex-direction:column;height:100%;background:var(--surface-0)}.current-favorited-message{padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--green-50)}.current-favorited-message .message-content{display:flex;align-items:center;gap:.5rem;color:var(--green-700);font-size:.9rem;font-weight:500}.add-section{display:flex;align-items:center;gap:.5rem;padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--surface-0)}.favorites-list{flex:1;overflow:hidden}.favorites-items{padding:.5rem}.favorite-item{background:var(--surface-0);border:1px solid var(--surface-border);border-radius:8px;margin-bottom:.5rem;cursor:pointer;transition:all .2s ease;position:relative;overflow:hidden;padding:.5rem .2rem}.favorite-item:hover{border-color:var(--primary-200);background:var(--primary-50);transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.favorite-item:hover .action-btn{opacity:1}.favorite-item:last-child{margin-bottom:0}.favorite-item.default-item{background:var(--blue-50);border-left:3px solid var(--blue-500)}.favorite-item.default-item:hover{background:var(--blue-100);border-color:var(--blue-300)}.favorite-item.default-item .title-text{font-weight:600;color:var(--blue-700)}.item-content{padding:.5rem .75rem}.item-header{display:flex;align-items:center;justify-content:space-between}.item-title{display:flex;align-items:center;flex:1;min-width:0}.item-title .title-text{font-weight:600;color:var(--text-color);font-size:1rem;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-state{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}.empty-content{text-align:center;max-width:300px}.empty-content .empty-icon{font-size:3rem;color:var(--text-color-secondary);margin-bottom:1rem;opacity:.5}.empty-content .empty-title{font-size:1.1rem;font-weight:600;color:var(--text-color);margin-bottom:.5rem}.empty-content .empty-message{font-size:.9rem;color:var(--text-color-secondary);line-height:1.4;margin-bottom:1.5rem}@media (max-width: 768px){.add-section{padding:.75rem}.add-section .button-label{font-size:.8rem}.item-content{padding:.5rem}.item-title .title-text{font-size:.85rem}}\n"] }]
2360
+ ], providers: [ConfirmationService, DialogService], template: "<p-sidebar\n\t[(visible)]=\"visible\"\n\tposition=\"right\"\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\n\tstyleClass=\"layout-favorite-pages-sidebar w-full sm:w-30rem\"\n\t*transloco=\"let t; read: 'favoritePages'\">\n\t<ng-template pTemplate=\"header\">\n\t\t<div class=\"flex align-items-center justify-content-between w-full\">\n\t\t\t<div class=\"flex align-items-center\">\n\t\t\t\t<i class=\"pi pi-heart text-primary text-xl\"></i>\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('favoritePages') }}</span>\n\t\t\t</div>\n\t\t</div>\n\t</ng-template>\n\n\t<div class=\"favorite-pages-content\">\n\t\t@if (isCurrentPageFavorited()) {\n\t\t\t<div class=\"current-favorited-message\">\n\t\t\t\t<div class=\"message-content\">\n\t\t\t\t\t<i class=\"pi pi-check-circle text-green-500\"></i>\n\t\t\t\t\t<span>{{ t('currentPageFavorited') }}</span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\n\t\t<div class=\"add-section\">\n\t\t\t@if (!isCurrentPageFavorited()) {\n\t\t\t\t<aril-button\n\t\t\t\t\t[label]=\"t('addCurrentPage')\"\n\t\t\t\t\ticon=\"PLUS\"\n\t\t\t\t\tcolor=\"primary\"\n\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t(clickEvent)=\"addCurrentPageToFavorites()\">\n\t\t\t\t</aril-button>\n\t\t\t} @else {\n\t\t\t\t<aril-button\n\t\t\t\t\t[label]=\"t('removeCurrentPage')\"\n\t\t\t\t\ticon=\"TIMES\"\n\t\t\t\t\tcolor=\"danger\"\n\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t(clickEvent)=\"removeCurrentPageFromFavorites()\">\n\t\t\t\t</aril-button>\n\t\t\t}\n\t\t</div>\n\n\t\t@if (favoritePages().length > 0) {\n\t\t\t<div class=\"favorites-list\">\n\t\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: '100%' }\">\n\t\t\t\t\t<div class=\"favorites-items\">\n\t\t\t\t\t\t@for (favorite of favoritePages(); track trackByFavoriteId($index, favorite)) {\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass=\"favorite-item\"\n\t\t\t\t\t\t\t\t[class.default-item]=\"favorite.id < 0\"\n\t\t\t\t\t\t\t\t(click)=\"navigateToFavorite(favorite)\"\n\t\t\t\t\t\t\t\t[pTooltip]=\"getFullUrl(favorite.url)\"\n\t\t\t\t\t\t\t\ttooltipPosition=\"top\">\n\t\t\t\t\t\t\t\t<div class=\"item-content\">\n\t\t\t\t\t\t\t\t\t<div class=\"item-header\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"item-title\">\n\t\t\t\t\t\t\t\t\t\t\t<i class=\"pi pi-external-link text-primary mr-2\"></i>\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"title-text\">{{ favorite.label }}</span>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t\t<fa-icon\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]=\"solidIcons.faPenToSquare\"\n\t\t\t\t\t\t\t\t\t\t\t\tsize=\"lg\"\n\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"color: var(--yellow-500)\"\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"col-2 cursor-pointer\"\n\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"editFavorite(favorite, $event)\">\n\t\t\t\t\t\t\t\t\t\t\t</fa-icon>\n\t\t\t\t\t\t\t\t\t\t\t<fa-icon\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]=\"solidIcons.faTrash\"\n\t\t\t\t\t\t\t\t\t\t\t\tsize=\"lg\"\n\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"color: var(--red-500)\"\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"col-2 cursor-pointer\"\n\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"deleteFavorite(favorite, $event)\">\n\t\t\t\t\t\t\t\t\t\t\t</fa-icon>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</p-scrollPanel>\n\t\t\t</div>\n\t\t} @else {\n\t\t\t<div class=\"empty-state\">\n\t\t\t\t<div class=\"empty-content\">\n\t\t\t\t\t<i class=\"pi pi-heart empty-icon\"></i>\n\t\t\t\t\t<h3 class=\"empty-title\">{{ t('noFavorites') }}</h3>\n\t\t\t\t\t<p class=\"empty-message\">{{ t('startAddingFavorites') }}</p>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t\t<div>\n\t\t\t<p-paginator\n\t\t\t\t[first]=\"(currentPage() - 1) * pageSize()\"\n\t\t\t\t[rows]=\"pageSize()\"\n\t\t\t\t[totalRecords]=\"totalItems()\"\n\t\t\t\t[showCurrentPageReport]=\"true\"\n\t\t\t\t[currentPageReportTemplate]=\"t('paginatorTemplate')\"\n\t\t\t\t[showFirstLastIcon]=\"false\"\n\t\t\t\t[showPageLinks]=\"false\"\n\t\t\t\t(onPageChange)=\"onPageChange($event)\">\n\t\t\t</p-paginator>\n\t\t</div>\n\t</div>\n\n\t<p-confirmDialog></p-confirmDialog>\n</p-sidebar>\n", styles: [":host ::ng-deep .layout-favorite-pages-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-favorite-pages-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem 1.5rem}:host ::ng-deep .layout-favorite-pages-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600}.favorite-pages-content{display:flex;flex-direction:column;height:100%;background:var(--surface-0)}.current-favorited-message{padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--green-50)}.current-favorited-message .message-content{display:flex;align-items:center;gap:.5rem;color:var(--green-700);font-size:.9rem;font-weight:500}.add-section{display:flex;align-items:center;gap:.5rem;padding:1rem;border-bottom:1px solid var(--surface-border);background:var(--surface-0)}.favorites-list{flex:1;overflow:hidden}.favorites-items{padding:.5rem}.favorite-item{background:var(--surface-0);border:1px solid var(--surface-border);border-radius:8px;margin-bottom:.5rem;cursor:pointer;transition:all .2s ease;position:relative;overflow:hidden;padding:.5rem .2rem}.favorite-item:hover{border-color:var(--primary-200);background:var(--primary-50);transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.favorite-item:hover .action-btn{opacity:1}.favorite-item:last-child{margin-bottom:0}.favorite-item.default-item{background:var(--blue-50);border-left:3px solid var(--blue-500)}.favorite-item.default-item:hover{background:var(--blue-100);border-color:var(--blue-300)}.favorite-item.default-item .title-text{font-weight:600;color:var(--blue-700)}.item-content{padding:.5rem .75rem}.item-header{display:flex;align-items:center;justify-content:space-between}.item-title{display:flex;align-items:center;flex:1;min-width:0}.item-title .title-text{font-weight:600;color:var(--text-color);font-size:1rem;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-state{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}.empty-content{text-align:center;max-width:300px}.empty-content .empty-icon{font-size:3rem;color:var(--text-color-secondary);margin-bottom:1rem;opacity:.5}.empty-content .empty-title{font-size:1.1rem;font-weight:600;color:var(--text-color);margin-bottom:.5rem}.empty-content .empty-message{font-size:.9rem;color:var(--text-color-secondary);line-height:1.4;margin-bottom:1.5rem}@media (max-width: 768px){.add-section{padding:.75rem}.add-section .button-label{font-size:.8rem}.item-content{padding:.5rem}.item-title .title-text{font-size:.85rem}}\n"] }]
1597
2361
  }], ctorParameters: () => [{ type: LayoutService }, { type: FavoritePagesService }, { type: i3.ConfirmationService }, { type: i3.MessageService }, { type: i2.DialogService }, { type: i5.TranslocoService }] });
1598
2362
 
1599
2363
  var AssetCodes;
@@ -1744,33 +2508,135 @@ class SearchService extends RestClient {
1744
2508
  searchForAssets(post) {
1745
2509
  return new Observable();
1746
2510
  }
1747
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SearchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1748
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SearchService, providedIn: 'root' }); }
2511
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2512
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchService, providedIn: 'root' }); }
1749
2513
  }
1750
2514
  __decorate([
1751
2515
  ServiceCall(HTTPMethods.POST, ProxyTypes.ClientSide, 'master-data/cache-search', {}, Apps.MNG)
1752
2516
  ], SearchService.prototype, "searchForAssets", null);
1753
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SearchService, decorators: [{
2517
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchService, decorators: [{
1754
2518
  type: Injectable,
1755
2519
  args: [{ providedIn: 'root' }]
1756
2520
  }], ctorParameters: () => [], propDecorators: { searchForAssets: [] } });
1757
2521
 
2522
+ const PREFERENCE_KEY = 'search.recent';
2523
+ const MAX_RECENT_SEARCHES = 4;
2524
+ // The list is read and written in the background: the user did not start these calls, so no error toast is shown
2525
+ const SILENT = {
2526
+ ignoredStatusCodes: [
2527
+ HttpStatusCode.NotFound,
2528
+ HttpStatusCode.Forbidden,
2529
+ HttpStatusCode.BadRequest,
2530
+ HttpStatusCode.InternalServerError,
2531
+ HttpStatusCode.BadGateway,
2532
+ HttpStatusCode.ServiceUnavailable,
2533
+ HttpStatusCode.GatewayTimeout
2534
+ ]
2535
+ };
2536
+ /**
2537
+ * Keeps the last searches of the session user on the server, so the list is the same on every device.
2538
+ * A missing endpoint (backend not deployed yet) is ignored: the list simply stays empty.
2539
+ */
2540
+ class RecentSearchService extends RestClient {
2541
+ constructor() {
2542
+ super(...arguments);
2543
+ this.states = {};
2544
+ this.searches = signal([]);
2545
+ // Set when the endpoint is missing (404): the list lives in the session only, nothing is written
2546
+ this.unavailable = false;
2547
+ }
2548
+ getPreference(key) {
2549
+ return new Observable();
2550
+ }
2551
+ savePreference(key, request) {
2552
+ return new Observable();
2553
+ }
2554
+ load() {
2555
+ this.stored().subscribe();
2556
+ }
2557
+ add(query) {
2558
+ const text = (query ?? '').trim();
2559
+ if (!text) {
2560
+ return;
2561
+ }
2562
+ this.stored().subscribe((stored) => {
2563
+ const next = [text, ...this.searches().filter((item) => item.toLowerCase() !== text.toLowerCase())].slice(0, MAX_RECENT_SEARCHES);
2564
+ this.searches.set(next);
2565
+ if (stored && !this.unavailable) {
2566
+ this.savePreference(PREFERENCE_KEY, { value: JSON.stringify(next) }).subscribe();
2567
+ }
2568
+ });
2569
+ }
2570
+ stored() {
2571
+ if (!this.stored$) {
2572
+ this.stored$ = this.getPreference(PREFERENCE_KEY).pipe(tap((result) => (this.unavailable = result?.error?.status === HttpStatusCode.NotFound)), map((result) => (this.isReadFailure(result) ? null : this.parse(result?.response?.value))), tap((searches) => {
2573
+ if (searches) {
2574
+ this.searches.set(searches);
2575
+ }
2576
+ else {
2577
+ this.stored$ = undefined;
2578
+ }
2579
+ }), shareReplay(1));
2580
+ }
2581
+ return this.stored$;
2582
+ }
2583
+ // A missing endpoint (404) counts as an empty list; any other error means the stored list is unknown
2584
+ isReadFailure(result) {
2585
+ return !!result?.error && result.error.status !== HttpStatusCode.NotFound;
2586
+ }
2587
+ parse(value) {
2588
+ if (!value) {
2589
+ return [];
2590
+ }
2591
+ try {
2592
+ const parsed = JSON.parse(value);
2593
+ return Array.isArray(parsed)
2594
+ ? parsed.filter((item) => typeof item === 'string').slice(0, MAX_RECENT_SEARCHES)
2595
+ : [];
2596
+ }
2597
+ catch {
2598
+ return [];
2599
+ }
2600
+ }
2601
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RecentSearchService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
2602
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RecentSearchService, providedIn: 'root' }); }
2603
+ }
2604
+ __decorate([
2605
+ ServiceCall(HTTPMethods.GETBYDYNAMICPATH, ProxyTypes.ClientSide, 'user-preferences/$', SILENT, Apps.MNG)
2606
+ ], RecentSearchService.prototype, "getPreference", null);
2607
+ __decorate([
2608
+ ServiceCall(HTTPMethods.PUTBYDYNAMICPATH, ProxyTypes.ClientSide, 'user-preferences/$', SILENT, Apps.MNG)
2609
+ ], RecentSearchService.prototype, "savePreference", null);
2610
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RecentSearchService, decorators: [{
2611
+ type: Injectable,
2612
+ args: [{ providedIn: 'root' }]
2613
+ }], propDecorators: { getPreference: [], savePreference: [] } });
2614
+
1758
2615
  class GeneralSearchComponent {
1759
- constructor(router, searchService) {
2616
+ get isPageVariant() {
2617
+ return this.variant() === 'page';
2618
+ }
2619
+ constructor(router, searchService, recentSearchService, layoutService) {
1760
2620
  this.router = router;
1761
2621
  this.searchService = searchService;
2622
+ this.recentSearchService = recentSearchService;
2623
+ this.layoutService = layoutService;
2624
+ // 'page' renders the large search box of the home page; 'topbar' is the compact one in the layout header
2625
+ this.variant = input('topbar');
1762
2626
  this.query = '';
2627
+ // Text of the last executed search; `query` turns into the selected result object once a result is picked
2628
+ this.lastSearchText = '';
1763
2629
  this.activeTab = 'all';
1764
2630
  this.data = {};
1765
2631
  this.presentableData = [];
1766
2632
  this.querySubject = new Subject();
1767
- this.resultsSig = toSignal(this.querySubject.pipe(map((q) => q.trim()), filter((q) => q.length > 2), switchMap$1((q) => {
2633
+ this.resultsSig = toSignal(this.querySubject.pipe(map$1((q) => q.trim()), filter$1((q) => q.length > 2), switchMap$1((q) => {
1768
2634
  const payload = {
1769
2635
  searchText: q,
1770
2636
  assetDefinitionCodes: [],
1771
2637
  pager: { pageSize: 5, pageNumber: 1 }
1772
2638
  };
1773
- return this.searchService.searchForAssets(payload).pipe(map((res) => res.response), catchError(() => {
2639
+ return this.searchService.searchForAssets(payload).pipe(map$1((res) => res.response), catchError$1(() => {
1774
2640
  return of({});
1775
2641
  }), startWith(null));
1776
2642
  })), { initialValue: null });
@@ -1782,16 +2648,53 @@ class GeneralSearchComponent {
1782
2648
  }
1783
2649
  });
1784
2650
  }
2651
+ ngOnInit() {
2652
+ if (this.isPageVariant) {
2653
+ this.changePageSearchCount(1);
2654
+ }
2655
+ }
2656
+ ngOnDestroy() {
2657
+ if (this.isPageVariant) {
2658
+ this.changePageSearchCount(-1);
2659
+ }
2660
+ }
2661
+ // The top bar reads the count in its template; it is changed after the running change detection, not inside it
2662
+ changePageSearchCount(change) {
2663
+ queueMicrotask(() => this.layoutService.pageSearchCount.update((count) => Math.max(0, count + change)));
2664
+ }
1785
2665
  search(query) {
1786
2666
  this.query = (query ?? '').trim();
2667
+ this.lastSearchText = this.query;
1787
2668
  this.querySubject.next(this.query);
1788
2669
  }
2670
+ // Ctrl K focuses the page search box from anywhere on the page
2671
+ onDocumentKeydown(event) {
2672
+ if (this.isPageVariant && (event.ctrlKey || event.metaKey) && event.key.toLowerCase() === 'k') {
2673
+ event.preventDefault();
2674
+ this.autoComplete?.inputEL?.nativeElement.focus();
2675
+ }
2676
+ }
2677
+ // Runs a search programmatically, e.g. when a recent search is clicked
2678
+ runSearch(query) {
2679
+ const inputElement = this.autoComplete?.inputEL?.nativeElement;
2680
+ if (!inputElement) {
2681
+ return;
2682
+ }
2683
+ this.query = query;
2684
+ inputElement.value = query;
2685
+ inputElement.focus();
2686
+ this.autoComplete?.search(new Event('input'), query, 'input');
2687
+ }
1789
2688
  setTab(tab) {
1790
2689
  this.activeTab = tab;
1791
2690
  this.presentableData = getPresentableData(this.data, tab);
1792
2691
  }
1793
2692
  goToDetail(item) {
1794
2693
  const isHostYeap = bridge.activeHost() === Apps.YEAP;
2694
+ // Recent searches are kept only on the THOR host; the other hosts do not serve user preferences
2695
+ if (bridge.activeHost() === Apps.THOR) {
2696
+ this.recentSearchService.add(this.lastSearchText);
2697
+ }
1795
2698
  if (isHostYeap) {
1796
2699
  this.router.navigate(['mng/master-data/view-md-data'], {
1797
2700
  queryParams: { assetId: item.assetId }
@@ -1804,14 +2707,24 @@ class GeneralSearchComponent {
1804
2707
  onResultClick(item) {
1805
2708
  this.goToDetail(item.value);
1806
2709
  }
1807
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: GeneralSearchComponent, deps: [{ token: i1$2.Router }, { token: SearchService }], target: i0.ɵɵFactoryTarget.Component }); }
1808
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: GeneralSearchComponent, isStandalone: true, selector: "app-general-search", ngImport: i0, template: "<ng-container *transloco=\"let g\">\r\n\t<ng-container *transloco=\"let t; read: 'generalSearch'\">\r\n\t\t<div class=\"global-search\">\r\n\t\t\t<p-autoComplete\r\n\t\t\t\t[(ngModel)]=\"query\"\r\n\t\t\t\toptionLabel=\"title\"\r\n\t\t\t\tminLength=\"3\"\r\n\t\t\t\t[delay]=\"500\"\r\n\t\t\t\t(completeMethod)=\"search($event.query)\"\r\n\t\t\t\t[suggestions]=\"presentableData\"\r\n\t\t\t\t[placeholder]=\"t('placeholder')\"\r\n\t\t\t\t(onSelect)=\"onResultClick($event)\">\r\n\t\t\t\t<ng-template pTemplate=\"empty\">\r\n\t\t\t\t\t<div class=\"px-3\">\r\n\t\t\t\t\t\t{{ t('noResults') }}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</ng-template>\r\n\t\t\t\t<ng-template pTemplate=\"header\">\r\n\t\t\t\t\t<div class=\"tabs flex gap-2 overflow-x-auto white-space-nowrap p-2 border-bottom-1 border-gray-200\">\r\n\t\t\t\t\t\t<span (click)=\"setTab('all')\" class=\"cursor-pointer py-1 px-2\" [class.active]=\"activeTab === 'all'\">\r\n\t\t\t\t\t\t\t{{ t('all') }}\r\n\t\t\t\t\t\t</span>\r\n\r\n\t\t\t\t\t\t@for (tab of data | keyvalue; track tab) {\r\n\t\t\t\t\t\t\t<span (click)=\"setTab(tab.key)\" class=\"cursor-pointer py-1 px-2\" [class.active]=\"activeTab === tab.key\">\r\n\t\t\t\t\t\t\t\t{{ data[tab.key].result[0].assetDefinitionName }}\r\n\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</ng-template>\r\n\t\t\t\t<ng-template let-result pTemplate=\"item\">\r\n\t\t\t\t\t<div class=\"flex items-center gap-2\">\r\n\t\t\t\t\t\t<div class=\"result-icon\">\r\n\t\t\t\t\t\t\t<i class=\"pi {{ result.icon }}\"></i>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class=\"result-text\">\r\n\t\t\t\t\t\t\t<div class=\"title mb-2\">{{ result.title }}</div>\r\n\t\t\t\t\t\t\t@if (result.subtitle) {\r\n\t\t\t\t\t\t\t\t<div class=\"subtitle\">{{ result.subtitle }}</div>\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t@if (result.url) {\r\n\t\t\t\t\t\t\t<div class=\"open-btn ml-auto align-self-center\">\r\n\t\t\t\t\t\t\t\t<i class=\"pi pi-chevron-right\"></i>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</ng-template>\r\n\t\t\t\t<ng-template pTemplate=\"footer\">\r\n\t\t\t\t\t<div class=\"px-3 py-3 border-top-1 border-gray-200\">\r\n\t\t\t\t\t\t<span>{{ presentableData.length }} {{ t('results') }}</span>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</ng-template>\r\n\t\t\t</p-autoComplete>\r\n\t\t</div>\r\n\t</ng-container>\r\n</ng-container>\r\n", styles: [":host ::ng-deep .p-autocomplete,:host ::ng-deep .p-autocomplete-input{width:100%;max-width:100%}:host ::ng-deep .p-overlay{width:100%!important;max-width:100%!important}:host ::ng-deep .p-autocomplete-item.p-focus{background:var(--gray-100)}:host ::ng-deep .tabs span.active{font-weight:700;border-bottom:2px solid var(--gray-900)}.global-search{position:relative}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i3$1.KeyValuePipe, name: "keyvalue" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "ngmodule", type: AutoCompleteModule }, { kind: "component", type: i6$2.AutoComplete, selector: "p-autoComplete", inputs: ["minLength", "delay", "style", "panelStyle", "styleClass", "panelStyleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "readonly", "disabled", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "maxlength", "name", "required", "size", "appendTo", "autoHighlight", "forceSelection", "type", "autoZIndex", "baseZIndex", "ariaLabel", "dropdownAriaLabel", "ariaLabelledBy", "dropdownIcon", "unique", "group", "completeOnFocus", "showClear", "field", "dropdown", "showEmptyMessage", "dropdownMode", "multiple", "tabindex", "dataKey", "emptyMessage", "showTransitionOptions", "hideTransitionOptions", "autofocus", "autocomplete", "optionGroupChildren", "optionGroupLabel", "overlayOptions", "suggestions", "itemSize", "optionLabel", "optionValue", "id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "selectOnFocus", "searchLocale", "optionDisabled", "focusOnHover", "variant"], outputs: ["completeMethod", "onSelect", "onUnselect", "onFocus", "onBlur", "onDropdownClick", "onClear", "onKeyUp", "onShow", "onHide", "onLazyLoad"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }] }); }
2710
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GeneralSearchComponent, deps: [{ token: i1$3.Router }, { token: SearchService }, { token: RecentSearchService }, { token: LayoutService }], target: i0.ɵɵFactoryTarget.Component }); }
2711
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: GeneralSearchComponent, isStandalone: true, selector: "app-general-search", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "document:keydown": "onDocumentKeydown($event)" }, properties: { "class.general-search--page": "this.isPageVariant" } }, viewQueries: [{ propertyName: "autoComplete", first: true, predicate: AutoComplete, descendants: true }], ngImport: i0, template: "<ng-container *transloco=\"let g\">\n\t<ng-container *transloco=\"let t; read: 'generalSearch'\">\n\t\t<div class=\"global-search\">\n\t\t\t@if (isPageVariant) {\n\t\t\t\t<i class=\"pi pi-search page-search-icon\"></i>\n\t\t\t\t<span class=\"page-search-kbd\">Ctrl K</span>\n\t\t\t}\n\t\t\t<p-autoComplete\n\t\t\t\t[(ngModel)]=\"query\"\n\t\t\t\toptionLabel=\"title\"\n\t\t\t\tminLength=\"3\"\n\t\t\t\t[delay]=\"500\"\n\t\t\t\t(completeMethod)=\"search($event.query)\"\n\t\t\t\t[suggestions]=\"presentableData\"\n\t\t\t\t[placeholder]=\"isPageVariant ? t('pagePlaceholder') : t('placeholder')\"\n\t\t\t\t(onSelect)=\"onResultClick($event)\">\n\t\t\t\t<ng-template pTemplate=\"empty\">\n\t\t\t\t\t<div class=\"px-3\">\n\t\t\t\t\t\t{{ t('noResults') }}\n\t\t\t\t\t</div>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-template pTemplate=\"header\">\n\t\t\t\t\t<div class=\"tabs flex gap-2 overflow-x-auto white-space-nowrap p-2 border-bottom-1 border-gray-200\">\n\t\t\t\t\t\t<span (click)=\"setTab('all')\" class=\"cursor-pointer py-1 px-2\" [class.active]=\"activeTab === 'all'\">\n\t\t\t\t\t\t\t{{ t('all') }}\n\t\t\t\t\t\t</span>\n\n\t\t\t\t\t\t@for (tab of data | keyvalue; track tab) {\n\t\t\t\t\t\t\t<span (click)=\"setTab(tab.key)\" class=\"cursor-pointer py-1 px-2\" [class.active]=\"activeTab === tab.key\">\n\t\t\t\t\t\t\t\t{{ data[tab.key].result[0].assetDefinitionName }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-template let-result pTemplate=\"item\">\n\t\t\t\t\t<div class=\"flex items-center gap-2\">\n\t\t\t\t\t\t<div class=\"result-icon\">\n\t\t\t\t\t\t\t<i class=\"pi {{ result.icon }}\"></i>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"result-text\">\n\t\t\t\t\t\t\t<div class=\"title mb-2\">{{ result.title }}</div>\n\t\t\t\t\t\t\t@if (result.subtitle) {\n\t\t\t\t\t\t\t\t<div class=\"subtitle\">{{ result.subtitle }}</div>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t@if (result.url) {\n\t\t\t\t\t\t\t<div class=\"open-btn ml-auto align-self-center\">\n\t\t\t\t\t\t\t\t<i class=\"pi pi-chevron-right\"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-template pTemplate=\"footer\">\n\t\t\t\t\t<div class=\"px-3 py-3 border-top-1 border-gray-200\">\n\t\t\t\t\t\t<span>{{ presentableData.length }} {{ t('results') }}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</ng-template>\n\t\t\t</p-autoComplete>\n\t\t</div>\n\t</ng-container>\n</ng-container>\n", styles: [":host ::ng-deep .p-autocomplete,:host ::ng-deep .p-autocomplete-input{width:100%;max-width:100%}:host ::ng-deep .p-overlay{width:100%!important;max-width:100%!important}:host ::ng-deep .p-autocomplete-item.p-focus{background:var(--gray-100)}:host ::ng-deep .tabs span.active{font-weight:700;border-bottom:2px solid var(--gray-900)}.global-search{position:relative}:host.general-search--page{display:block}:host.general-search--page .page-search-icon{position:absolute;left:13px;top:50%;z-index:1;transform:translateY(-50%);display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#eff3ff;font-size:16px;color:#2563eb;pointer-events:none}:host.general-search--page .page-search-kbd{position:absolute;right:14px;top:50%;z-index:1;transform:translateY(-50%);display:inline-flex;align-items:center;height:22px;padding:0 6px;border:1px solid #e5e7eb;border-bottom-width:2px;border-radius:5px;background:#f9fafb;color:#475569;font-size:12px;font-weight:600;white-space:nowrap;pointer-events:none}:host.general-search--page ::ng-deep .p-autocomplete-input{min-height:60px;padding:8px 80px 8px 58px;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 6px 20px -8px #2563eb38;font-size:16px;color:#1e293b;transition:border-color .15s,box-shadow .15s}:host.general-search--page ::ng-deep .p-autocomplete-input:enabled:hover{border-color:#93c5fd}:host.general-search--page ::ng-deep .p-autocomplete-input:enabled:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb29,0 6px 20px -8px #2563eb4d}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i3$1.KeyValuePipe, name: "keyvalue" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "ngmodule", type: AutoCompleteModule }, { kind: "component", type: i8$1.AutoComplete, selector: "p-autoComplete", inputs: ["minLength", "delay", "style", "panelStyle", "styleClass", "panelStyleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "readonly", "disabled", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "maxlength", "name", "required", "size", "appendTo", "autoHighlight", "forceSelection", "type", "autoZIndex", "baseZIndex", "ariaLabel", "dropdownAriaLabel", "ariaLabelledBy", "dropdownIcon", "unique", "group", "completeOnFocus", "showClear", "field", "dropdown", "showEmptyMessage", "dropdownMode", "multiple", "tabindex", "dataKey", "emptyMessage", "showTransitionOptions", "hideTransitionOptions", "autofocus", "autocomplete", "optionGroupChildren", "optionGroupLabel", "overlayOptions", "suggestions", "itemSize", "optionLabel", "optionValue", "id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "selectOnFocus", "searchLocale", "optionDisabled", "focusOnHover", "variant"], outputs: ["completeMethod", "onSelect", "onUnselect", "onFocus", "onBlur", "onDropdownClick", "onClear", "onKeyUp", "onShow", "onHide", "onLazyLoad"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }] }); }
1809
2712
  }
1810
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: GeneralSearchComponent, decorators: [{
2713
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GeneralSearchComponent, decorators: [{
1811
2714
  type: Component,
1812
- args: [{ selector: 'app-general-search', standalone: true, imports: [CommonModule, FormsModule, TranslocoModule, AutoCompleteModule], template: "<ng-container *transloco=\"let g\">\r\n\t<ng-container *transloco=\"let t; read: 'generalSearch'\">\r\n\t\t<div class=\"global-search\">\r\n\t\t\t<p-autoComplete\r\n\t\t\t\t[(ngModel)]=\"query\"\r\n\t\t\t\toptionLabel=\"title\"\r\n\t\t\t\tminLength=\"3\"\r\n\t\t\t\t[delay]=\"500\"\r\n\t\t\t\t(completeMethod)=\"search($event.query)\"\r\n\t\t\t\t[suggestions]=\"presentableData\"\r\n\t\t\t\t[placeholder]=\"t('placeholder')\"\r\n\t\t\t\t(onSelect)=\"onResultClick($event)\">\r\n\t\t\t\t<ng-template pTemplate=\"empty\">\r\n\t\t\t\t\t<div class=\"px-3\">\r\n\t\t\t\t\t\t{{ t('noResults') }}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</ng-template>\r\n\t\t\t\t<ng-template pTemplate=\"header\">\r\n\t\t\t\t\t<div class=\"tabs flex gap-2 overflow-x-auto white-space-nowrap p-2 border-bottom-1 border-gray-200\">\r\n\t\t\t\t\t\t<span (click)=\"setTab('all')\" class=\"cursor-pointer py-1 px-2\" [class.active]=\"activeTab === 'all'\">\r\n\t\t\t\t\t\t\t{{ t('all') }}\r\n\t\t\t\t\t\t</span>\r\n\r\n\t\t\t\t\t\t@for (tab of data | keyvalue; track tab) {\r\n\t\t\t\t\t\t\t<span (click)=\"setTab(tab.key)\" class=\"cursor-pointer py-1 px-2\" [class.active]=\"activeTab === tab.key\">\r\n\t\t\t\t\t\t\t\t{{ data[tab.key].result[0].assetDefinitionName }}\r\n\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</ng-template>\r\n\t\t\t\t<ng-template let-result pTemplate=\"item\">\r\n\t\t\t\t\t<div class=\"flex items-center gap-2\">\r\n\t\t\t\t\t\t<div class=\"result-icon\">\r\n\t\t\t\t\t\t\t<i class=\"pi {{ result.icon }}\"></i>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class=\"result-text\">\r\n\t\t\t\t\t\t\t<div class=\"title mb-2\">{{ result.title }}</div>\r\n\t\t\t\t\t\t\t@if (result.subtitle) {\r\n\t\t\t\t\t\t\t\t<div class=\"subtitle\">{{ result.subtitle }}</div>\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t@if (result.url) {\r\n\t\t\t\t\t\t\t<div class=\"open-btn ml-auto align-self-center\">\r\n\t\t\t\t\t\t\t\t<i class=\"pi pi-chevron-right\"></i>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</ng-template>\r\n\t\t\t\t<ng-template pTemplate=\"footer\">\r\n\t\t\t\t\t<div class=\"px-3 py-3 border-top-1 border-gray-200\">\r\n\t\t\t\t\t\t<span>{{ presentableData.length }} {{ t('results') }}</span>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</ng-template>\r\n\t\t\t</p-autoComplete>\r\n\t\t</div>\r\n\t</ng-container>\r\n</ng-container>\r\n", styles: [":host ::ng-deep .p-autocomplete,:host ::ng-deep .p-autocomplete-input{width:100%;max-width:100%}:host ::ng-deep .p-overlay{width:100%!important;max-width:100%!important}:host ::ng-deep .p-autocomplete-item.p-focus{background:var(--gray-100)}:host ::ng-deep .tabs span.active{font-weight:700;border-bottom:2px solid var(--gray-900)}.global-search{position:relative}\n"] }]
1813
- }], ctorParameters: () => [{ type: i1$2.Router }, { type: SearchService }] });
2715
+ args: [{ selector: 'app-general-search', standalone: true, imports: [CommonModule, FormsModule, TranslocoModule, AutoCompleteModule], template: "<ng-container *transloco=\"let g\">\n\t<ng-container *transloco=\"let t; read: 'generalSearch'\">\n\t\t<div class=\"global-search\">\n\t\t\t@if (isPageVariant) {\n\t\t\t\t<i class=\"pi pi-search page-search-icon\"></i>\n\t\t\t\t<span class=\"page-search-kbd\">Ctrl K</span>\n\t\t\t}\n\t\t\t<p-autoComplete\n\t\t\t\t[(ngModel)]=\"query\"\n\t\t\t\toptionLabel=\"title\"\n\t\t\t\tminLength=\"3\"\n\t\t\t\t[delay]=\"500\"\n\t\t\t\t(completeMethod)=\"search($event.query)\"\n\t\t\t\t[suggestions]=\"presentableData\"\n\t\t\t\t[placeholder]=\"isPageVariant ? t('pagePlaceholder') : t('placeholder')\"\n\t\t\t\t(onSelect)=\"onResultClick($event)\">\n\t\t\t\t<ng-template pTemplate=\"empty\">\n\t\t\t\t\t<div class=\"px-3\">\n\t\t\t\t\t\t{{ t('noResults') }}\n\t\t\t\t\t</div>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-template pTemplate=\"header\">\n\t\t\t\t\t<div class=\"tabs flex gap-2 overflow-x-auto white-space-nowrap p-2 border-bottom-1 border-gray-200\">\n\t\t\t\t\t\t<span (click)=\"setTab('all')\" class=\"cursor-pointer py-1 px-2\" [class.active]=\"activeTab === 'all'\">\n\t\t\t\t\t\t\t{{ t('all') }}\n\t\t\t\t\t\t</span>\n\n\t\t\t\t\t\t@for (tab of data | keyvalue; track tab) {\n\t\t\t\t\t\t\t<span (click)=\"setTab(tab.key)\" class=\"cursor-pointer py-1 px-2\" [class.active]=\"activeTab === tab.key\">\n\t\t\t\t\t\t\t\t{{ data[tab.key].result[0].assetDefinitionName }}\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-template let-result pTemplate=\"item\">\n\t\t\t\t\t<div class=\"flex items-center gap-2\">\n\t\t\t\t\t\t<div class=\"result-icon\">\n\t\t\t\t\t\t\t<i class=\"pi {{ result.icon }}\"></i>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"result-text\">\n\t\t\t\t\t\t\t<div class=\"title mb-2\">{{ result.title }}</div>\n\t\t\t\t\t\t\t@if (result.subtitle) {\n\t\t\t\t\t\t\t\t<div class=\"subtitle\">{{ result.subtitle }}</div>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t@if (result.url) {\n\t\t\t\t\t\t\t<div class=\"open-btn ml-auto align-self-center\">\n\t\t\t\t\t\t\t\t<i class=\"pi pi-chevron-right\"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\t\t\t\t\t</div>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-template pTemplate=\"footer\">\n\t\t\t\t\t<div class=\"px-3 py-3 border-top-1 border-gray-200\">\n\t\t\t\t\t\t<span>{{ presentableData.length }} {{ t('results') }}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</ng-template>\n\t\t\t</p-autoComplete>\n\t\t</div>\n\t</ng-container>\n</ng-container>\n", styles: [":host ::ng-deep .p-autocomplete,:host ::ng-deep .p-autocomplete-input{width:100%;max-width:100%}:host ::ng-deep .p-overlay{width:100%!important;max-width:100%!important}:host ::ng-deep .p-autocomplete-item.p-focus{background:var(--gray-100)}:host ::ng-deep .tabs span.active{font-weight:700;border-bottom:2px solid var(--gray-900)}.global-search{position:relative}:host.general-search--page{display:block}:host.general-search--page .page-search-icon{position:absolute;left:13px;top:50%;z-index:1;transform:translateY(-50%);display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#eff3ff;font-size:16px;color:#2563eb;pointer-events:none}:host.general-search--page .page-search-kbd{position:absolute;right:14px;top:50%;z-index:1;transform:translateY(-50%);display:inline-flex;align-items:center;height:22px;padding:0 6px;border:1px solid #e5e7eb;border-bottom-width:2px;border-radius:5px;background:#f9fafb;color:#475569;font-size:12px;font-weight:600;white-space:nowrap;pointer-events:none}:host.general-search--page ::ng-deep .p-autocomplete-input{min-height:60px;padding:8px 80px 8px 58px;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 6px 20px -8px #2563eb38;font-size:16px;color:#1e293b;transition:border-color .15s,box-shadow .15s}:host.general-search--page ::ng-deep .p-autocomplete-input:enabled:hover{border-color:#93c5fd}:host.general-search--page ::ng-deep .p-autocomplete-input:enabled:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb29,0 6px 20px -8px #2563eb4d}\n"] }]
2716
+ }], ctorParameters: () => [{ type: i1$3.Router }, { type: SearchService }, { type: RecentSearchService }, { type: LayoutService }], propDecorators: { autoComplete: [{
2717
+ type: ViewChild,
2718
+ args: [AutoComplete]
2719
+ }], isPageVariant: [{
2720
+ type: HostBinding,
2721
+ args: ['class.general-search--page']
2722
+ }], onDocumentKeydown: [{
2723
+ type: HostListener,
2724
+ args: ['document:keydown', ['$event']]
2725
+ }] } });
1814
2726
 
2727
+ const FOLLOW_RELEASE_MS = 5000;
1815
2728
  class AppTopbarComponent {
1816
2729
  constructor(translocoService, pubSubService, keycloak) {
1817
2730
  this.translocoService = translocoService;
@@ -1819,7 +2732,23 @@ class AppTopbarComponent {
1819
2732
  this.keycloak = keycloak;
1820
2733
  this.layoutService = inject(LayoutService);
1821
2734
  this.router = inject(Router);
2735
+ this.screenVisitService = inject(ScreenVisitService);
2736
+ this.favoritePagesService = inject(FavoritePagesService);
1822
2737
  this.search = '';
2738
+ // The follow (star) button is shown on the detail page of a record; a followed record is a favorite page
2739
+ this.recordRoute = this.screenVisitService.currentRecordRoute;
2740
+ // Set from the click until the list is loaded again, so a second click can not add the record twice
2741
+ this.followPending = signal(false);
2742
+ // The button is released when the list arrives; if that reload fails it must not stay disabled.
2743
+ // Each click restarts the wait, so an earlier one can not release a later click
2744
+ this.followRelease = new Subject();
2745
+ // A page with its own large search box (the THOR home page) declares it, so the box on the top bar is not
2746
+ // repeated there; a page without one, whatever its url, keeps the top bar box
2747
+ this.searchOnPage = computed(() => this.layoutService.pageSearchCount() > 0);
2748
+ this.followedFavorite = computed(() => {
2749
+ const path = this.pathOf(this.screenVisitService.currentUrl());
2750
+ return this.favoritePagesService.allFavoritePages().find((favorite) => this.pathOf(favorite.url) === path) ?? null;
2751
+ });
1823
2752
  this.logoPath = '';
1824
2753
  this.environmentBadge = this.resolveEnvironment();
1825
2754
  this.currentFlagPath = '';
@@ -1833,6 +2762,13 @@ class AppTopbarComponent {
1833
2762
  this.setFlagPath(this.currentLang);
1834
2763
  this.setLogoPath();
1835
2764
  this.username = this.keycloak.getUsername();
2765
+ this.followRelease
2766
+ .pipe(switchMap(() => timer(FOLLOW_RELEASE_MS)))
2767
+ .subscribe(() => this.followPending.set(false));
2768
+ effect(() => {
2769
+ this.favoritePagesService.allFavoritePages();
2770
+ this.followPending.set(false);
2771
+ }, { allowSignalWrites: true });
1836
2772
  }
1837
2773
  get unreadCount() {
1838
2774
  return this.layoutService.getUnreadNotificationCount();
@@ -1855,6 +2791,32 @@ class AppTopbarComponent {
1855
2791
  onFavoritePagesButtonClick() {
1856
2792
  this.layoutService.showFavoritePagesSidebar();
1857
2793
  }
2794
+ onFollowRecordButtonClick() {
2795
+ const route = this.recordRoute();
2796
+ if (!route || this.followPending()) {
2797
+ return;
2798
+ }
2799
+ this.followPending.set(true);
2800
+ const favorite = this.followedFavorite();
2801
+ const number = this.screenVisitService.currentRecord()?.number ?? route.id;
2802
+ const change$ = favorite ?
2803
+ this.favoritePagesService.deleteFavoritePage(favorite.id)
2804
+ : this.favoritePagesService.saveFavoritePage({
2805
+ url: this.pathOf(this.screenVisitService.currentUrl()),
2806
+ label: `${this.translocoService.translate(RECORD_TYPE_LABEL_KEYS[route.type])} ${number}`
2807
+ });
2808
+ change$.subscribe((result) => {
2809
+ if (result?.error) {
2810
+ this.followPending.set(false);
2811
+ return;
2812
+ }
2813
+ this.favoritePagesService.reloadRequest.next();
2814
+ this.followRelease.next();
2815
+ });
2816
+ }
2817
+ pathOf(url) {
2818
+ return url.split(/[?#]/)[0];
2819
+ }
1858
2820
  onNotificationsButtonClick() {
1859
2821
  this.layoutService.showNotificationsSidebar();
1860
2822
  }
@@ -1940,10 +2902,10 @@ class AppTopbarComponent {
1940
2902
  return null;
1941
2903
  }
1942
2904
  }
1943
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AppTopbarComponent, deps: [{ token: i5.TranslocoService }, { token: i2$1.PubSubService }, { token: i1.KeycloakService }], target: i0.ɵɵFactoryTarget.Component }); }
1944
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: AppTopbarComponent, isStandalone: true, selector: "app-topbar", viewQueries: [{ propertyName: "menuButton", first: true, predicate: ["menubutton"], descendants: true }], ngImport: i0, template: "<div class=\"layout-topbar\">\r\n\t<div class=\"topbar-start\">\r\n\t\t<button #menubutton type=\"button\" class=\"topbar-menubutton p-link p-trigger\" (click)=\"onMenuButtonClick()\">\r\n\t\t\t<i class=\"pi pi-bars\"></i>\r\n\t\t</button>\r\n\t\t<img [src]=\"logoPath\" class=\"topbar-logo\" alt=\"logo\" (click)=\"onLogoClick()\" />\r\n\t\t@if (environmentBadge) {\r\n\t\t\t<span class=\"env-indicator\" [attr.data-co]=\"environmentBadge.code\">{{ environmentBadge.label }}</span>\r\n\t\t}\r\n\t</div>\r\n\r\n\t<div class=\"topbar-search\" *transloco=\"let t; read: ''\">\r\n\t\t<span class=\"p-input-icon-left\">\r\n\t\t\t<i class=\"pi pi-search\"></i>\r\n\t\t\t<app-general-search></app-general-search>\r\n\t\t</span>\r\n\t</div>\r\n\r\n\t<div class=\"topbar-end mr-2\">\r\n\t\t<ul class=\"topbar-menu\">\r\n\t\t\t<li class=\"topbar-menu-item\">\r\n\t\t\t\t<p-button\r\n\t\t\t\t\ticon=\"pi pi-sitemap\"\r\n\t\t\t\t\tseverity=\"secondary\"\r\n\t\t\t\t\t[text]=\"true\"\r\n\t\t\t\t\t[rounded]=\"true\"\r\n\t\t\t\t\t(click)=\"onSiteMapButtonClick()\" />\r\n\t\t\t</li>\r\n\t\t\t<li class=\"topbar-menu-item\">\r\n\t\t\t\t<p-button\r\n\t\t\t\t\ticon=\"pi pi-history\"\r\n\t\t\t\t\tseverity=\"secondary\"\r\n\t\t\t\t\t[text]=\"true\"\r\n\t\t\t\t\t[rounded]=\"true\"\r\n\t\t\t\t\t(click)=\"onHistoryButtonClick()\" />\r\n\t\t\t</li>\r\n\t\t\t<li class=\"topbar-menu-item\">\r\n\t\t\t\t<p-button\r\n\t\t\t\t\ticon=\"pi pi-heart\"\r\n\t\t\t\t\tseverity=\"secondary\"\r\n\t\t\t\t\t[text]=\"true\"\r\n\t\t\t\t\t[rounded]=\"true\"\r\n\t\t\t\t\t(click)=\"onFavoritePagesButtonClick()\" />\r\n\t\t\t</li>\r\n\r\n\t\t\t<li class=\"topbar-menu-item\">\r\n\t\t\t\t<p-button severity=\"secondary\" [text]=\"true\" [rounded]=\"true\" (click)=\"onProfileButtonClick()\">\r\n\t\t\t\t\t{{ username[0] | uppercase }}\r\n\t\t\t\t</p-button>\r\n\t\t\t</li>\r\n\t\t\t<li class=\"topbar-menu-item\">\r\n\t\t\t\t<p-divider layout=\"vertical\" styleClass=\"h-1rem border-500 m-0\" />\r\n\t\t\t</li>\r\n\t\t\t<li class=\"topbar-menu-item\">\r\n\t\t\t\t<i\r\n\t\t\t\t\tclass=\"pi pi-bell notification-icon\"\r\n\t\t\t\t\tpBadge\r\n\t\t\t\t\t[value]=\"unreadCount > 0 ? unreadCount.toString() : '0'\"\r\n\t\t\t\t\t(click)=\"onNotificationsButtonClick()\"></i>\r\n\t\t\t</li>\r\n\t\t\t<li class=\"topbar-menu-item\">\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[options]=\"languages\"\r\n\t\t\t\t\t[(ngModel)]=\"currentLang\"\r\n\t\t\t\t\t(onChange)=\"onLanguageChange()\"\r\n\t\t\t\t\toptionLabel=\"name\"\r\n\t\t\t\t\toptionValue=\"code\"\r\n\t\t\t\t\t[showClear]=\"false\"\r\n\t\t\t\t\tclass=\"custom-dropdown ml-3\">\r\n\t\t\t\t\t<ng-template pTemplate=\"selectedItem\">\r\n\t\t\t\t\t\t<div class=\"flex align-items-center gap-2\">\r\n\t\t\t\t\t\t\t<img [src]=\"currentFlagPath\" class=\"flag-icon\" alt=\"flag\" />\r\n\t\t\t\t\t\t\t<span class=\"language-text\">{{ currentLang | uppercase }}</span>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</ng-template>\r\n\t\t\t\t\t<ng-template pTemplate=\"item\" let-item>\r\n\t\t\t\t\t\t<div class=\"flex align-items-center gap-2\">\r\n\t\t\t\t\t\t\t<img [src]=\"item.flag\" class=\"flag-icon\" alt=\"flag\" />\r\n\t\t\t\t\t\t\t<span>{{ item.name }}</span>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</ng-template>\r\n\t\t\t\t</p-dropdown>\r\n\t\t\t</li>\r\n\t\t</ul>\r\n\t</div>\r\n</div>\r\n\r\n<!-- <app-breadcrumb class=\"topbar-breadcrumb\"></app-breadcrumb> -->\r\n", styles: [".layout-topbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:.5rem;padding:0 1rem;box-shadow:0 1px 2px #00000013}@media (max-width: 768px){.layout-topbar{padding:0 .5rem;gap:.25rem}}.topbar-start{display:flex}.topbar-logo{height:36px;width:auto;cursor:pointer}@media (max-width: 768px){.topbar-logo{display:none}}.env-indicator{align-self:center;display:inline-flex;align-items:center;margin-left:.85rem;padding:.6rem 1.6rem;border-radius:999px;color:#fff;font-weight:700;font-size:1.3rem;line-height:1;letter-spacing:.07em;white-space:nowrap;text-transform:uppercase;box-shadow:0 1px 2px #0000002e;text-shadow:0 1px 1px rgba(0,0,0,.18)}.env-indicator[data-co=depsas]{background:#fc5000}.env-indicator[data-co=dedas]{background:#00adba}@media (max-width: 768px){.env-indicator{display:none}}.topbar-search{flex:1;max-width:50rem;margin:0 1rem}@media (max-width: 1024px){.topbar-search{max-width:30rem}}@media (max-width: 768px){.topbar-search{max-width:20rem;margin:0 .5rem}}@media (max-width: 480px){.topbar-search{max-width:15rem;margin:0 .25rem}}.topbar-search .p-input-icon-left{width:100%}.topbar-end{flex-shrink:0}.topbar-menu{display:flex;align-items:center;gap:.5rem;margin:0;padding:0;list-style:none}@media (max-width: 768px){.topbar-menu{gap:.25rem}}@media (max-width: 480px){.topbar-menu{gap:.1rem}}.topbar-menu-item{display:flex;align-items:center}@media (max-width: 1024px){.desktop-only{display:none!important}}.mobile-only{display:none!important}@media (max-width: 1024px){.mobile-only{display:flex!important}}.custom-dropdown .p-dropdown{border-radius:50px;padding:.5rem 1rem;border:1px solid #c8c8c8;background-color:#f4f4f4}@media (max-width: 768px){.custom-dropdown .p-dropdown{padding:.4rem .8rem}}@media (max-width: 480px){.custom-dropdown .p-dropdown{padding:.3rem .6rem}}.custom-dropdown .p-dropdown-label{padding:0;line-height:1.5}.custom-dropdown .p-dropdown-trigger{border-radius:50px}.flag-icon{width:18px;height:18px;display:inline-block;vertical-align:middle}@media (max-width: 768px){.flag-icon{width:16px;height:16px}}@media (max-width: 480px){.language-text{display:none}}@media (max-width: 768px){.topbar-menubutton{padding:.4rem!important}}@media (max-width: 480px){.topbar-menubutton{padding:.3rem!important}}@media (max-width: 768px){.topbar-menu-item p-button{min-width:auto}.topbar-menu-item p-button .p-button-icon{margin:0}.topbar-menu-item p-button .p-button-label{font-size:.9rem}}@media (max-width: 480px){.topbar-menu-item p-button .p-button-label{font-size:.8rem}.topbar-menu-item p-divider{display:none}}.notification-icon{cursor:pointer;padding:.2rem;border-radius:50%;transition:background-color .2s}.notification-icon:hover{background-color:var(--surface-hover)}@media (max-width: 480px){.notification-icon{font-size:.9rem;padding:.4rem}}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i4.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "raised", "rounded", "text", "plain", "severity", "outlined", "link", "tabindex", "size", "style", "styleClass", "badgeClass", "ariaLabel", "autofocus"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "pipe", type: UpperCasePipe, name: "uppercase" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: DividerModule }, { kind: "component", type: i7$2.Divider, selector: "p-divider", inputs: ["style", "styleClass", "layout", "type", "align"] }, { kind: "ngmodule", type: BadgeModule }, { kind: "directive", type: i8$1.BadgeDirective, selector: "[pBadge]", inputs: ["badgeDisabled", "badgeSize", "size", "severity", "value", "badgeStyle", "badgeStyleClass"] }, { kind: "ngmodule", type: MenubarModule }, { kind: "ngmodule", type: DropdownModule }, { kind: "component", type: i9$2.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "component", type: GeneralSearchComponent, selector: "app-general-search" }] }); }
2905
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AppTopbarComponent, deps: [{ token: i5.TranslocoService }, { token: i2$1.PubSubService }, { token: i1$1.KeycloakService }], target: i0.ɵɵFactoryTarget.Component }); }
2906
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: AppTopbarComponent, isStandalone: true, selector: "app-topbar", viewQueries: [{ propertyName: "menuButton", first: true, predicate: ["menubutton"], descendants: true }], ngImport: i0, template: "<div class=\"layout-topbar\">\n\t<div class=\"topbar-start\">\n\t\t<button #menubutton type=\"button\" class=\"topbar-menubutton p-link p-trigger\" (click)=\"onMenuButtonClick()\">\n\t\t\t<i class=\"pi pi-bars\"></i>\n\t\t</button>\n\t\t<img [src]=\"logoPath\" class=\"topbar-logo\" alt=\"logo\" (click)=\"onLogoClick()\" />\n\t\t@if (environmentBadge) {\n\t\t\t<span class=\"env-indicator\" [attr.data-co]=\"environmentBadge.code\">{{ environmentBadge.label }}</span>\n\t\t}\n\t</div>\n\n\t<div class=\"topbar-search\" *transloco=\"let t; read: ''\">\n\t\t@if (!searchOnPage()) {\n\t\t\t<span class=\"p-input-icon-left\">\n\t\t\t\t<i class=\"pi pi-search\"></i>\n\t\t\t\t<app-general-search></app-general-search>\n\t\t\t</span>\n\t\t}\n\t</div>\n\n\t<div class=\"topbar-end mr-2\">\n\t\t<ul class=\"topbar-menu\">\n\t\t\t<li class=\"topbar-menu-item\">\n\t\t\t\t<p-button\n\t\t\t\t\ticon=\"pi pi-sitemap\"\n\t\t\t\t\tseverity=\"secondary\"\n\t\t\t\t\t[text]=\"true\"\n\t\t\t\t\t[rounded]=\"true\"\n\t\t\t\t\t(click)=\"onSiteMapButtonClick()\" />\n\t\t\t</li>\n\t\t\t<li class=\"topbar-menu-item\">\n\t\t\t\t<p-button\n\t\t\t\t\ticon=\"pi pi-history\"\n\t\t\t\t\tseverity=\"secondary\"\n\t\t\t\t\t[text]=\"true\"\n\t\t\t\t\t[rounded]=\"true\"\n\t\t\t\t\t(click)=\"onHistoryButtonClick()\" />\n\t\t\t</li>\n\t\t\t@if (recordRoute()) {\n\t\t\t\t<li class=\"topbar-menu-item\">\n\t\t\t\t\t<p-button\n\t\t\t\t\t\t[icon]=\"followedFavorite() ? 'pi pi-star-fill' : 'pi pi-star'\"\n\t\t\t\t\t\t[styleClass]=\"followedFavorite() ? 'topbar-follow topbar-follow--on' : 'topbar-follow'\"\n\t\t\t\t\t\tseverity=\"secondary\"\n\t\t\t\t\t\t[text]=\"true\"\n\t\t\t\t\t\t[rounded]=\"true\"\n\t\t\t\t\t\t[disabled]=\"followPending()\"\n\t\t\t\t\t\t[pTooltip]=\"(followedFavorite() ? 'home.unfollowRecord' : 'home.followRecord') | transloco\"\n\t\t\t\t\t\ttooltipPosition=\"bottom\"\n\t\t\t\t\t\t(click)=\"onFollowRecordButtonClick()\" />\n\t\t\t\t</li>\n\t\t\t}\n\t\t\t<li class=\"topbar-menu-item\">\n\t\t\t\t<p-button\n\t\t\t\t\ticon=\"pi pi-heart\"\n\t\t\t\t\tseverity=\"secondary\"\n\t\t\t\t\t[text]=\"true\"\n\t\t\t\t\t[rounded]=\"true\"\n\t\t\t\t\t(click)=\"onFavoritePagesButtonClick()\" />\n\t\t\t</li>\n\n\t\t\t<li class=\"topbar-menu-item\">\n\t\t\t\t<p-button severity=\"secondary\" [text]=\"true\" [rounded]=\"true\" (click)=\"onProfileButtonClick()\">\n\t\t\t\t\t{{ username[0] | uppercase }}\n\t\t\t\t</p-button>\n\t\t\t</li>\n\t\t\t<li class=\"topbar-menu-item\">\n\t\t\t\t<p-divider layout=\"vertical\" styleClass=\"h-1rem border-500 m-0\" />\n\t\t\t</li>\n\t\t\t<li class=\"topbar-menu-item\">\n\t\t\t\t<i\n\t\t\t\t\tclass=\"pi pi-bell notification-icon\"\n\t\t\t\t\tpBadge\n\t\t\t\t\t[value]=\"unreadCount > 0 ? unreadCount.toString() : '0'\"\n\t\t\t\t\t(click)=\"onNotificationsButtonClick()\"></i>\n\t\t\t</li>\n\t\t\t<li class=\"topbar-menu-item\">\n\t\t\t\t<p-dropdown\n\t\t\t\t\t[options]=\"languages\"\n\t\t\t\t\t[(ngModel)]=\"currentLang\"\n\t\t\t\t\t(onChange)=\"onLanguageChange()\"\n\t\t\t\t\toptionLabel=\"name\"\n\t\t\t\t\toptionValue=\"code\"\n\t\t\t\t\t[showClear]=\"false\"\n\t\t\t\t\tclass=\"custom-dropdown ml-3\">\n\t\t\t\t\t<ng-template pTemplate=\"selectedItem\">\n\t\t\t\t\t\t<div class=\"flex align-items-center gap-2\">\n\t\t\t\t\t\t\t<img [src]=\"currentFlagPath\" class=\"flag-icon\" alt=\"flag\" />\n\t\t\t\t\t\t\t<span class=\"language-text\">{{ currentLang | uppercase }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</ng-template>\n\t\t\t\t\t<ng-template pTemplate=\"item\" let-item>\n\t\t\t\t\t\t<div class=\"flex align-items-center gap-2\">\n\t\t\t\t\t\t\t<img [src]=\"item.flag\" class=\"flag-icon\" alt=\"flag\" />\n\t\t\t\t\t\t\t<span>{{ item.name }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</p-dropdown>\n\t\t\t</li>\n\t\t</ul>\n\t</div>\n</div>\n\n<!-- <app-breadcrumb class=\"topbar-breadcrumb\"></app-breadcrumb> -->\n", styles: [".layout-topbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:.5rem;padding:0 1rem;box-shadow:0 1px 2px #00000013}@media (max-width: 768px){.layout-topbar{padding:0 .5rem;gap:.25rem}}.topbar-start{display:flex}.topbar-logo{height:36px;width:auto;cursor:pointer}@media (max-width: 768px){.topbar-logo{display:none}}.env-indicator{align-self:center;display:inline-flex;align-items:center;margin-left:.85rem;padding:.6rem 1.6rem;border-radius:999px;color:#fff;font-weight:700;font-size:1.3rem;line-height:1;letter-spacing:.07em;white-space:nowrap;text-transform:uppercase;box-shadow:0 1px 2px #0000002e;text-shadow:0 1px 1px rgba(0,0,0,.18)}.env-indicator[data-co=depsas]{background:#fc5000}.env-indicator[data-co=dedas]{background:#00adba}@media (max-width: 768px){.env-indicator{display:none}}.topbar-search{flex:1;max-width:50rem;margin:0 1rem}@media (max-width: 1024px){.topbar-search{max-width:30rem}}@media (max-width: 768px){.topbar-search{max-width:20rem;margin:0 .5rem}}@media (max-width: 480px){.topbar-search{max-width:15rem;margin:0 .25rem}}.topbar-search .p-input-icon-left{width:100%}.topbar-end{flex-shrink:0}.topbar-menu{display:flex;align-items:center;gap:.5rem;margin:0;padding:0;list-style:none}@media (max-width: 768px){.topbar-menu{gap:.25rem}}@media (max-width: 480px){.topbar-menu{gap:.1rem}}.topbar-menu-item{display:flex;align-items:center}@media (max-width: 1024px){.desktop-only{display:none!important}}.mobile-only{display:none!important}@media (max-width: 1024px){.mobile-only{display:flex!important}}.custom-dropdown .p-dropdown{border-radius:50px;padding:.5rem 1rem;border:1px solid #c8c8c8;background-color:#f4f4f4}@media (max-width: 768px){.custom-dropdown .p-dropdown{padding:.4rem .8rem}}@media (max-width: 480px){.custom-dropdown .p-dropdown{padding:.3rem .6rem}}.custom-dropdown .p-dropdown-label{padding:0;line-height:1.5}.custom-dropdown .p-dropdown-trigger{border-radius:50px}.flag-icon{width:18px;height:18px;display:inline-block;vertical-align:middle}@media (max-width: 768px){.flag-icon{width:16px;height:16px}}@media (max-width: 480px){.language-text{display:none}}@media (max-width: 768px){.topbar-menubutton{padding:.4rem!important}}@media (max-width: 480px){.topbar-menubutton{padding:.3rem!important}}@media (max-width: 768px){.topbar-menu-item p-button{min-width:auto}.topbar-menu-item p-button .p-button-icon{margin:0}.topbar-menu-item p-button .p-button-label{font-size:.9rem}}@media (max-width: 480px){.topbar-menu-item p-button .p-button-label{font-size:.8rem}.topbar-menu-item p-divider{display:none}}.notification-icon{cursor:pointer;padding:.2rem;border-radius:50%;transition:background-color .2s}.notification-icon:hover{background-color:var(--surface-hover)}@media (max-width: 480px){.notification-icon{font-size:.9rem;padding:.4rem}}:host ::ng-deep .topbar-follow--on .p-button-icon{color:#b45309}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i4.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "raised", "rounded", "text", "plain", "severity", "outlined", "link", "tabindex", "size", "style", "styleClass", "badgeClass", "ariaLabel", "autofocus"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "pipe", type: UpperCasePipe, name: "uppercase" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: DividerModule }, { kind: "component", type: i7$2.Divider, selector: "p-divider", inputs: ["style", "styleClass", "layout", "type", "align"] }, { kind: "ngmodule", type: BadgeModule }, { kind: "directive", type: i8$2.BadgeDirective, selector: "[pBadge]", inputs: ["badgeDisabled", "badgeSize", "size", "severity", "value", "badgeStyle", "badgeStyleClass"] }, { kind: "ngmodule", type: MenubarModule }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "ngmodule", type: DropdownModule }, { kind: "component", type: i10$1.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "autoShowPanelOnPrintableCharacterKeyDown", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "pipe", type: i5.TranslocoPipe, name: "transloco" }, { kind: "component", type: GeneralSearchComponent, selector: "app-general-search", inputs: ["variant"] }] }); }
1945
2907
  }
1946
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AppTopbarComponent, decorators: [{
2908
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AppTopbarComponent, decorators: [{
1947
2909
  type: Component,
1948
2910
  args: [{ standalone: true, selector: 'app-topbar', imports: [
1949
2911
  ButtonModule,
@@ -1953,10 +2915,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
1953
2915
  BadgeModule,
1954
2916
  MenubarModule,
1955
2917
  DropdownModule,
2918
+ TooltipModule,
1956
2919
  TranslocoModule,
1957
2920
  GeneralSearchComponent
1958
- ], template: "<div class=\"layout-topbar\">\r\n\t<div class=\"topbar-start\">\r\n\t\t<button #menubutton type=\"button\" class=\"topbar-menubutton p-link p-trigger\" (click)=\"onMenuButtonClick()\">\r\n\t\t\t<i class=\"pi pi-bars\"></i>\r\n\t\t</button>\r\n\t\t<img [src]=\"logoPath\" class=\"topbar-logo\" alt=\"logo\" (click)=\"onLogoClick()\" />\r\n\t\t@if (environmentBadge) {\r\n\t\t\t<span class=\"env-indicator\" [attr.data-co]=\"environmentBadge.code\">{{ environmentBadge.label }}</span>\r\n\t\t}\r\n\t</div>\r\n\r\n\t<div class=\"topbar-search\" *transloco=\"let t; read: ''\">\r\n\t\t<span class=\"p-input-icon-left\">\r\n\t\t\t<i class=\"pi pi-search\"></i>\r\n\t\t\t<app-general-search></app-general-search>\r\n\t\t</span>\r\n\t</div>\r\n\r\n\t<div class=\"topbar-end mr-2\">\r\n\t\t<ul class=\"topbar-menu\">\r\n\t\t\t<li class=\"topbar-menu-item\">\r\n\t\t\t\t<p-button\r\n\t\t\t\t\ticon=\"pi pi-sitemap\"\r\n\t\t\t\t\tseverity=\"secondary\"\r\n\t\t\t\t\t[text]=\"true\"\r\n\t\t\t\t\t[rounded]=\"true\"\r\n\t\t\t\t\t(click)=\"onSiteMapButtonClick()\" />\r\n\t\t\t</li>\r\n\t\t\t<li class=\"topbar-menu-item\">\r\n\t\t\t\t<p-button\r\n\t\t\t\t\ticon=\"pi pi-history\"\r\n\t\t\t\t\tseverity=\"secondary\"\r\n\t\t\t\t\t[text]=\"true\"\r\n\t\t\t\t\t[rounded]=\"true\"\r\n\t\t\t\t\t(click)=\"onHistoryButtonClick()\" />\r\n\t\t\t</li>\r\n\t\t\t<li class=\"topbar-menu-item\">\r\n\t\t\t\t<p-button\r\n\t\t\t\t\ticon=\"pi pi-heart\"\r\n\t\t\t\t\tseverity=\"secondary\"\r\n\t\t\t\t\t[text]=\"true\"\r\n\t\t\t\t\t[rounded]=\"true\"\r\n\t\t\t\t\t(click)=\"onFavoritePagesButtonClick()\" />\r\n\t\t\t</li>\r\n\r\n\t\t\t<li class=\"topbar-menu-item\">\r\n\t\t\t\t<p-button severity=\"secondary\" [text]=\"true\" [rounded]=\"true\" (click)=\"onProfileButtonClick()\">\r\n\t\t\t\t\t{{ username[0] | uppercase }}\r\n\t\t\t\t</p-button>\r\n\t\t\t</li>\r\n\t\t\t<li class=\"topbar-menu-item\">\r\n\t\t\t\t<p-divider layout=\"vertical\" styleClass=\"h-1rem border-500 m-0\" />\r\n\t\t\t</li>\r\n\t\t\t<li class=\"topbar-menu-item\">\r\n\t\t\t\t<i\r\n\t\t\t\t\tclass=\"pi pi-bell notification-icon\"\r\n\t\t\t\t\tpBadge\r\n\t\t\t\t\t[value]=\"unreadCount > 0 ? unreadCount.toString() : '0'\"\r\n\t\t\t\t\t(click)=\"onNotificationsButtonClick()\"></i>\r\n\t\t\t</li>\r\n\t\t\t<li class=\"topbar-menu-item\">\r\n\t\t\t\t<p-dropdown\r\n\t\t\t\t\t[options]=\"languages\"\r\n\t\t\t\t\t[(ngModel)]=\"currentLang\"\r\n\t\t\t\t\t(onChange)=\"onLanguageChange()\"\r\n\t\t\t\t\toptionLabel=\"name\"\r\n\t\t\t\t\toptionValue=\"code\"\r\n\t\t\t\t\t[showClear]=\"false\"\r\n\t\t\t\t\tclass=\"custom-dropdown ml-3\">\r\n\t\t\t\t\t<ng-template pTemplate=\"selectedItem\">\r\n\t\t\t\t\t\t<div class=\"flex align-items-center gap-2\">\r\n\t\t\t\t\t\t\t<img [src]=\"currentFlagPath\" class=\"flag-icon\" alt=\"flag\" />\r\n\t\t\t\t\t\t\t<span class=\"language-text\">{{ currentLang | uppercase }}</span>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</ng-template>\r\n\t\t\t\t\t<ng-template pTemplate=\"item\" let-item>\r\n\t\t\t\t\t\t<div class=\"flex align-items-center gap-2\">\r\n\t\t\t\t\t\t\t<img [src]=\"item.flag\" class=\"flag-icon\" alt=\"flag\" />\r\n\t\t\t\t\t\t\t<span>{{ item.name }}</span>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</ng-template>\r\n\t\t\t\t</p-dropdown>\r\n\t\t\t</li>\r\n\t\t</ul>\r\n\t</div>\r\n</div>\r\n\r\n<!-- <app-breadcrumb class=\"topbar-breadcrumb\"></app-breadcrumb> -->\r\n", styles: [".layout-topbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:.5rem;padding:0 1rem;box-shadow:0 1px 2px #00000013}@media (max-width: 768px){.layout-topbar{padding:0 .5rem;gap:.25rem}}.topbar-start{display:flex}.topbar-logo{height:36px;width:auto;cursor:pointer}@media (max-width: 768px){.topbar-logo{display:none}}.env-indicator{align-self:center;display:inline-flex;align-items:center;margin-left:.85rem;padding:.6rem 1.6rem;border-radius:999px;color:#fff;font-weight:700;font-size:1.3rem;line-height:1;letter-spacing:.07em;white-space:nowrap;text-transform:uppercase;box-shadow:0 1px 2px #0000002e;text-shadow:0 1px 1px rgba(0,0,0,.18)}.env-indicator[data-co=depsas]{background:#fc5000}.env-indicator[data-co=dedas]{background:#00adba}@media (max-width: 768px){.env-indicator{display:none}}.topbar-search{flex:1;max-width:50rem;margin:0 1rem}@media (max-width: 1024px){.topbar-search{max-width:30rem}}@media (max-width: 768px){.topbar-search{max-width:20rem;margin:0 .5rem}}@media (max-width: 480px){.topbar-search{max-width:15rem;margin:0 .25rem}}.topbar-search .p-input-icon-left{width:100%}.topbar-end{flex-shrink:0}.topbar-menu{display:flex;align-items:center;gap:.5rem;margin:0;padding:0;list-style:none}@media (max-width: 768px){.topbar-menu{gap:.25rem}}@media (max-width: 480px){.topbar-menu{gap:.1rem}}.topbar-menu-item{display:flex;align-items:center}@media (max-width: 1024px){.desktop-only{display:none!important}}.mobile-only{display:none!important}@media (max-width: 1024px){.mobile-only{display:flex!important}}.custom-dropdown .p-dropdown{border-radius:50px;padding:.5rem 1rem;border:1px solid #c8c8c8;background-color:#f4f4f4}@media (max-width: 768px){.custom-dropdown .p-dropdown{padding:.4rem .8rem}}@media (max-width: 480px){.custom-dropdown .p-dropdown{padding:.3rem .6rem}}.custom-dropdown .p-dropdown-label{padding:0;line-height:1.5}.custom-dropdown .p-dropdown-trigger{border-radius:50px}.flag-icon{width:18px;height:18px;display:inline-block;vertical-align:middle}@media (max-width: 768px){.flag-icon{width:16px;height:16px}}@media (max-width: 480px){.language-text{display:none}}@media (max-width: 768px){.topbar-menubutton{padding:.4rem!important}}@media (max-width: 480px){.topbar-menubutton{padding:.3rem!important}}@media (max-width: 768px){.topbar-menu-item p-button{min-width:auto}.topbar-menu-item p-button .p-button-icon{margin:0}.topbar-menu-item p-button .p-button-label{font-size:.9rem}}@media (max-width: 480px){.topbar-menu-item p-button .p-button-label{font-size:.8rem}.topbar-menu-item p-divider{display:none}}.notification-icon{cursor:pointer;padding:.2rem;border-radius:50%;transition:background-color .2s}.notification-icon:hover{background-color:var(--surface-hover)}@media (max-width: 480px){.notification-icon{font-size:.9rem;padding:.4rem}}\n"] }]
1959
- }], ctorParameters: () => [{ type: i5.TranslocoService }, { type: i2$1.PubSubService }, { type: i1.KeycloakService }], propDecorators: { menuButton: [{
2921
+ ], template: "<div class=\"layout-topbar\">\n\t<div class=\"topbar-start\">\n\t\t<button #menubutton type=\"button\" class=\"topbar-menubutton p-link p-trigger\" (click)=\"onMenuButtonClick()\">\n\t\t\t<i class=\"pi pi-bars\"></i>\n\t\t</button>\n\t\t<img [src]=\"logoPath\" class=\"topbar-logo\" alt=\"logo\" (click)=\"onLogoClick()\" />\n\t\t@if (environmentBadge) {\n\t\t\t<span class=\"env-indicator\" [attr.data-co]=\"environmentBadge.code\">{{ environmentBadge.label }}</span>\n\t\t}\n\t</div>\n\n\t<div class=\"topbar-search\" *transloco=\"let t; read: ''\">\n\t\t@if (!searchOnPage()) {\n\t\t\t<span class=\"p-input-icon-left\">\n\t\t\t\t<i class=\"pi pi-search\"></i>\n\t\t\t\t<app-general-search></app-general-search>\n\t\t\t</span>\n\t\t}\n\t</div>\n\n\t<div class=\"topbar-end mr-2\">\n\t\t<ul class=\"topbar-menu\">\n\t\t\t<li class=\"topbar-menu-item\">\n\t\t\t\t<p-button\n\t\t\t\t\ticon=\"pi pi-sitemap\"\n\t\t\t\t\tseverity=\"secondary\"\n\t\t\t\t\t[text]=\"true\"\n\t\t\t\t\t[rounded]=\"true\"\n\t\t\t\t\t(click)=\"onSiteMapButtonClick()\" />\n\t\t\t</li>\n\t\t\t<li class=\"topbar-menu-item\">\n\t\t\t\t<p-button\n\t\t\t\t\ticon=\"pi pi-history\"\n\t\t\t\t\tseverity=\"secondary\"\n\t\t\t\t\t[text]=\"true\"\n\t\t\t\t\t[rounded]=\"true\"\n\t\t\t\t\t(click)=\"onHistoryButtonClick()\" />\n\t\t\t</li>\n\t\t\t@if (recordRoute()) {\n\t\t\t\t<li class=\"topbar-menu-item\">\n\t\t\t\t\t<p-button\n\t\t\t\t\t\t[icon]=\"followedFavorite() ? 'pi pi-star-fill' : 'pi pi-star'\"\n\t\t\t\t\t\t[styleClass]=\"followedFavorite() ? 'topbar-follow topbar-follow--on' : 'topbar-follow'\"\n\t\t\t\t\t\tseverity=\"secondary\"\n\t\t\t\t\t\t[text]=\"true\"\n\t\t\t\t\t\t[rounded]=\"true\"\n\t\t\t\t\t\t[disabled]=\"followPending()\"\n\t\t\t\t\t\t[pTooltip]=\"(followedFavorite() ? 'home.unfollowRecord' : 'home.followRecord') | transloco\"\n\t\t\t\t\t\ttooltipPosition=\"bottom\"\n\t\t\t\t\t\t(click)=\"onFollowRecordButtonClick()\" />\n\t\t\t\t</li>\n\t\t\t}\n\t\t\t<li class=\"topbar-menu-item\">\n\t\t\t\t<p-button\n\t\t\t\t\ticon=\"pi pi-heart\"\n\t\t\t\t\tseverity=\"secondary\"\n\t\t\t\t\t[text]=\"true\"\n\t\t\t\t\t[rounded]=\"true\"\n\t\t\t\t\t(click)=\"onFavoritePagesButtonClick()\" />\n\t\t\t</li>\n\n\t\t\t<li class=\"topbar-menu-item\">\n\t\t\t\t<p-button severity=\"secondary\" [text]=\"true\" [rounded]=\"true\" (click)=\"onProfileButtonClick()\">\n\t\t\t\t\t{{ username[0] | uppercase }}\n\t\t\t\t</p-button>\n\t\t\t</li>\n\t\t\t<li class=\"topbar-menu-item\">\n\t\t\t\t<p-divider layout=\"vertical\" styleClass=\"h-1rem border-500 m-0\" />\n\t\t\t</li>\n\t\t\t<li class=\"topbar-menu-item\">\n\t\t\t\t<i\n\t\t\t\t\tclass=\"pi pi-bell notification-icon\"\n\t\t\t\t\tpBadge\n\t\t\t\t\t[value]=\"unreadCount > 0 ? unreadCount.toString() : '0'\"\n\t\t\t\t\t(click)=\"onNotificationsButtonClick()\"></i>\n\t\t\t</li>\n\t\t\t<li class=\"topbar-menu-item\">\n\t\t\t\t<p-dropdown\n\t\t\t\t\t[options]=\"languages\"\n\t\t\t\t\t[(ngModel)]=\"currentLang\"\n\t\t\t\t\t(onChange)=\"onLanguageChange()\"\n\t\t\t\t\toptionLabel=\"name\"\n\t\t\t\t\toptionValue=\"code\"\n\t\t\t\t\t[showClear]=\"false\"\n\t\t\t\t\tclass=\"custom-dropdown ml-3\">\n\t\t\t\t\t<ng-template pTemplate=\"selectedItem\">\n\t\t\t\t\t\t<div class=\"flex align-items-center gap-2\">\n\t\t\t\t\t\t\t<img [src]=\"currentFlagPath\" class=\"flag-icon\" alt=\"flag\" />\n\t\t\t\t\t\t\t<span class=\"language-text\">{{ currentLang | uppercase }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</ng-template>\n\t\t\t\t\t<ng-template pTemplate=\"item\" let-item>\n\t\t\t\t\t\t<div class=\"flex align-items-center gap-2\">\n\t\t\t\t\t\t\t<img [src]=\"item.flag\" class=\"flag-icon\" alt=\"flag\" />\n\t\t\t\t\t\t\t<span>{{ item.name }}</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</p-dropdown>\n\t\t\t</li>\n\t\t</ul>\n\t</div>\n</div>\n\n<!-- <app-breadcrumb class=\"topbar-breadcrumb\"></app-breadcrumb> -->\n", styles: [".layout-topbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:.5rem;padding:0 1rem;box-shadow:0 1px 2px #00000013}@media (max-width: 768px){.layout-topbar{padding:0 .5rem;gap:.25rem}}.topbar-start{display:flex}.topbar-logo{height:36px;width:auto;cursor:pointer}@media (max-width: 768px){.topbar-logo{display:none}}.env-indicator{align-self:center;display:inline-flex;align-items:center;margin-left:.85rem;padding:.6rem 1.6rem;border-radius:999px;color:#fff;font-weight:700;font-size:1.3rem;line-height:1;letter-spacing:.07em;white-space:nowrap;text-transform:uppercase;box-shadow:0 1px 2px #0000002e;text-shadow:0 1px 1px rgba(0,0,0,.18)}.env-indicator[data-co=depsas]{background:#fc5000}.env-indicator[data-co=dedas]{background:#00adba}@media (max-width: 768px){.env-indicator{display:none}}.topbar-search{flex:1;max-width:50rem;margin:0 1rem}@media (max-width: 1024px){.topbar-search{max-width:30rem}}@media (max-width: 768px){.topbar-search{max-width:20rem;margin:0 .5rem}}@media (max-width: 480px){.topbar-search{max-width:15rem;margin:0 .25rem}}.topbar-search .p-input-icon-left{width:100%}.topbar-end{flex-shrink:0}.topbar-menu{display:flex;align-items:center;gap:.5rem;margin:0;padding:0;list-style:none}@media (max-width: 768px){.topbar-menu{gap:.25rem}}@media (max-width: 480px){.topbar-menu{gap:.1rem}}.topbar-menu-item{display:flex;align-items:center}@media (max-width: 1024px){.desktop-only{display:none!important}}.mobile-only{display:none!important}@media (max-width: 1024px){.mobile-only{display:flex!important}}.custom-dropdown .p-dropdown{border-radius:50px;padding:.5rem 1rem;border:1px solid #c8c8c8;background-color:#f4f4f4}@media (max-width: 768px){.custom-dropdown .p-dropdown{padding:.4rem .8rem}}@media (max-width: 480px){.custom-dropdown .p-dropdown{padding:.3rem .6rem}}.custom-dropdown .p-dropdown-label{padding:0;line-height:1.5}.custom-dropdown .p-dropdown-trigger{border-radius:50px}.flag-icon{width:18px;height:18px;display:inline-block;vertical-align:middle}@media (max-width: 768px){.flag-icon{width:16px;height:16px}}@media (max-width: 480px){.language-text{display:none}}@media (max-width: 768px){.topbar-menubutton{padding:.4rem!important}}@media (max-width: 480px){.topbar-menubutton{padding:.3rem!important}}@media (max-width: 768px){.topbar-menu-item p-button{min-width:auto}.topbar-menu-item p-button .p-button-icon{margin:0}.topbar-menu-item p-button .p-button-label{font-size:.9rem}}@media (max-width: 480px){.topbar-menu-item p-button .p-button-label{font-size:.8rem}.topbar-menu-item p-divider{display:none}}.notification-icon{cursor:pointer;padding:.2rem;border-radius:50%;transition:background-color .2s}.notification-icon:hover{background-color:var(--surface-hover)}@media (max-width: 480px){.notification-icon{font-size:.9rem;padding:.4rem}}:host ::ng-deep .topbar-follow--on .p-button-icon{color:#b45309}\n"] }]
2922
+ }], ctorParameters: () => [{ type: i5.TranslocoService }, { type: i2$1.PubSubService }, { type: i1$1.KeycloakService }], propDecorators: { menuButton: [{
1960
2923
  type: ViewChild,
1961
2924
  args: ['menubutton']
1962
2925
  }] } });
@@ -2067,10 +3030,10 @@ class AppMenuService {
2067
3030
  reset() {
2068
3031
  this.resetSource.next(true);
2069
3032
  }
2070
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AppMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2071
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AppMenuService, providedIn: 'root' }); }
3033
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AppMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3034
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AppMenuService, providedIn: 'root' }); }
2072
3035
  }
2073
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AppMenuService, decorators: [{
3036
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AppMenuService, decorators: [{
2074
3037
  type: Injectable,
2075
3038
  args: [{
2076
3039
  providedIn: 'root'
@@ -2173,7 +3136,7 @@ class ExpandableMenuComponent {
2173
3136
  this.updateActiveMenuFromCurrentRoute();
2174
3137
  // Subscribe to route changes to handle secondary sidebar closing
2175
3138
  this.routerSubscription = this.router.events
2176
- .pipe(filter$1((event) => event instanceof NavigationEnd))
3139
+ .pipe(filter((event) => event instanceof NavigationEnd))
2177
3140
  .subscribe(() => {
2178
3141
  // Update active menu based on the new route
2179
3142
  this.updateActiveMenuFromCurrentRoute();
@@ -2369,13 +3332,13 @@ class ExpandableMenuComponent {
2369
3332
  this.sidebarExpanded = false;
2370
3333
  }
2371
3334
  }
2372
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ExpandableMenuComponent, deps: [{ token: i1$3.TranslateJsonPipe }, { token: AppMenuService }, { token: i1$2.Router }, { token: i1.KeycloakService }, { token: i5.TranslocoService }, { token: LayoutService }, { token: i7$3.HttpClient }, { token: i3.ConfirmationService }], target: i0.ɵɵFactoryTarget.Component }); }
2373
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: ExpandableMenuComponent, isStandalone: true, selector: "app-expandable-menu", host: { listeners: { "window:resize": "onResize()" } }, providers: [TranslateJsonPipe], ngImport: i0, template: "<div class=\"new-layout-sidebar\" >\n\t<!-- Main sidebar (first level) -->\n\t<div class=\"main-sidebar\" style=\"position: relative;\">\n\t\t<div class=\"main-sidebar-content\">\n\t\t\t<ul class=\"main-menu\">\n\t\t\t\t@for(item of getMenuItems(); track item; let i = $index){\n\t\t\t\t\t@if(!item.separator){\n\t\t\t\t\t\t<li\n\t\t\t\t\t\t[ngClass]=\"{'active': isActiveRoute(item) || isHaveSelectedChildItem(item)}\"\n\t\t\t\t\t\t(click)=\"selectMainItem(i, item)\"\n\t\t\t\t\t\t[pTooltip]=\"(item.label && activeLang() ? item.label[activeLang()!] || '' : '')\"\n\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t<div class=\"main-menu-item\">\n\t\t\t\t\t\t\t<i [ngClass]=\"item.icon\" class=\"menu-icon\"></i>\n\t\t\t\t\t\t\t<!-- <small class=\"menu-label\">{{ item.label && activeLang() ? item.label[activeLang()!] || '' : '' }}</small> -->\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</li>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t</ul>\n\t\t</div>\n\t</div>\n\t\t @if(selectedMainMenuItem && selectedMainMenuItem.items && selectedMainMenuItem.items.length > 0){\n\n\t\t\t <div class=\"sidebar-toggle-container\">\n\t\t\t\t <button class=\"sidebar-circle-toggle-btn\" (click)=\"toggleSidebar()\">\n\t\t\t\t\t <i class=\"pi\" [ngClass]=\"sidebarExpanded ? 'pi-angle-left' : 'pi-angle-right'\"></i>\n\t\t\t\t </button>\n\t\t\t </div>\n\t\t }\n\n\t<!-- Secondary sidebar (second level) -->\n\t<div class=\"secondary-sidebar\" [ngClass]=\"{'expanded': sidebarExpanded}\">\n\t\t<div class=\"secondary-content-wrapper\" style=\"position: relative;\">\n\t\t\t<!-- Secondary sidebar content -->\n\t\t\t<div class=\"secondary-sidebar-content\">\n\t\t\t\t@if(selectedMainMenuItem){\n\t\t\t\t\t<ul class=\"secondary-menu\">\n\t\t\t\t\t\t@for(subItem of selectedMainMenuItem.items; track subItem; let i = $index){\n\t\t\t\t\t\t\t\t<!-- Action menu item -->\n\t\t\t\t\t\t\t\t@if(subItem.action) {\n\t\t\t\t\t\t\t\t\t<li class=\"secondary-menu-item\" [ngClass]=\"{'action-loading': isActionLoading(subItem)}\">\n\t\t\t\t\t\t\t\t\t\t<a class=\"secondary-menu-link is-action\"\n\t\t\t\t\t\t\t\t\t\t\t(click)=\"onActionItemClick(subItem, $event)\"\n\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(subItem.label, activeLang(), 'secondary') ? (subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t\t@if(isActionLoading(subItem)){\n\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"submenu-icon pi pi-spin pi-spinner\"></i>\n\t\t\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t\t\t<i [ngClass]=\"subItem.icon\" class=\"submenu-icon\"></i>\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"submenu-label\">{{ subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<!-- Regular menu item -->\n\t\t\t\t\t\t\t\t<li class=\"secondary-menu-item\" [ngClass]=\"{'active': isActiveRoute(subItem)}\">\n\t\t\t\t\t\t\t\t\t<a [routerLink]=\"subItem.routerLink\" \n\t\t\t\t\t\t\t\t\t\tclass=\"secondary-menu-link\"\n\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(subItem.label, activeLang(), 'secondary') ? (subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t<i [ngClass]=\"subItem.icon\" class=\"submenu-icon\"></i>\n\t\t\t\t\t\t\t\t\t\t<span class=\"submenu-label\">{{ subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t<!-- Always render submenu if it exists -->\n\t\t\t\t\t\t\t\t\t @if(subItem.items && subItem.items.length > 0){\n\t\t\t\t\t\t\t\t\t\t <ul class=\"tertiary-menu always-open\">\n\t\t\t\t\t\t\t\t\t\t\t@for(childItem of subItem.items; track childItem; let i = $index){\n\t\t\t\t\t\t\t\t\t\t\t\t<!-- Action item at tertiary level -->\n\t\t\t\t\t\t\t\t\t\t\t\t@if(childItem.action) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"tertiary-menu-item\" [ngClass]=\"{'action-loading': isActionLoading(childItem)}\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"tertiary-menu-link is-action\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"onActionItemClick(childItem, $event)\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(childItem.label, activeLang(), 'tertiary') ? (childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@if(isActionLoading(childItem)){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"tertiary-label\"><i class=\"pi pi-spin pi-spinner\"></i> {{ childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"tertiary-label\">{{ childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"tertiary-menu-item\" [ngClass]=\"{'active': isActiveRoute(childItem)}\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a [routerLink]=\"childItem.routerLink\" \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"tertiary-menu-link\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(childItem.label, activeLang(), 'tertiary') ? (childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"tertiary-label\">{{ childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Always render deeper levels if they exist, also visible by default -->\n\t\t\t\t\t\t\t\t\t\t\t\t\t@if(childItem.items && childItem.items.length > 0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"nested-menu always-open\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@for(nestedItem of childItem.items; track nestedItem; let i = $index){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@if(nestedItem.action) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nested-menu-item\" [ngClass]=\"{'action-loading': isActionLoading(nestedItem)}\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"nested-menu-link is-action\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"onActionItemClick(nestedItem, $event)\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(nestedItem.label, activeLang(), 'nested') ? (nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@if(isActionLoading(nestedItem)){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"nested-label\"><i class=\"pi pi-spin pi-spinner\"></i> {{ nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"nested-label\">{{ nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"nested-menu-item\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[ngClass]=\"{'active': isActiveRoute(nestedItem)}\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a [routerLink]=\"nestedItem.routerLink\" \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"nested-menu-link\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(nestedItem.label, activeLang(), 'nested') ? (nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"nested-label\">{{ nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t </ul>\n\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t</ul>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\t\n</div>\n", dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }] }); }
3335
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ExpandableMenuComponent, deps: [{ token: i1$4.TranslateJsonPipe }, { token: AppMenuService }, { token: i1$3.Router }, { token: i1$1.KeycloakService }, { token: i5.TranslocoService }, { token: LayoutService }, { token: i1.HttpClient }, { token: i3.ConfirmationService }], target: i0.ɵɵFactoryTarget.Component }); }
3336
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: ExpandableMenuComponent, isStandalone: true, selector: "app-expandable-menu", host: { listeners: { "window:resize": "onResize()" } }, providers: [TranslateJsonPipe], ngImport: i0, template: "<div class=\"new-layout-sidebar\" >\n\t<!-- Main sidebar (first level) -->\n\t<div class=\"main-sidebar\" style=\"position: relative;\">\n\t\t<div class=\"main-sidebar-content\">\n\t\t\t<ul class=\"main-menu\">\n\t\t\t\t@for(item of getMenuItems(); track item; let i = $index){\n\t\t\t\t\t@if(!item.separator){\n\t\t\t\t\t\t<li\n\t\t\t\t\t\t[ngClass]=\"{'active': isActiveRoute(item) || isHaveSelectedChildItem(item)}\"\n\t\t\t\t\t\t(click)=\"selectMainItem(i, item)\"\n\t\t\t\t\t\t[pTooltip]=\"(item.label && activeLang() ? item.label[activeLang()!] || '' : '')\"\n\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t<div class=\"main-menu-item\">\n\t\t\t\t\t\t\t<i [ngClass]=\"item.icon\" class=\"menu-icon\"></i>\n\t\t\t\t\t\t\t<!-- <small class=\"menu-label\">{{ item.label && activeLang() ? item.label[activeLang()!] || '' : '' }}</small> -->\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</li>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t</ul>\n\t\t</div>\n\t</div>\n\t\t @if(selectedMainMenuItem && selectedMainMenuItem.items && selectedMainMenuItem.items.length > 0){\n\n\t\t\t <div class=\"sidebar-toggle-container\">\n\t\t\t\t <button class=\"sidebar-circle-toggle-btn\" (click)=\"toggleSidebar()\">\n\t\t\t\t\t <i class=\"pi\" [ngClass]=\"sidebarExpanded ? 'pi-angle-left' : 'pi-angle-right'\"></i>\n\t\t\t\t </button>\n\t\t\t </div>\n\t\t }\n\n\t<!-- Secondary sidebar (second level) -->\n\t<div class=\"secondary-sidebar\" [ngClass]=\"{'expanded': sidebarExpanded}\">\n\t\t<div class=\"secondary-content-wrapper\" style=\"position: relative;\">\n\t\t\t<!-- Secondary sidebar content -->\n\t\t\t<div class=\"secondary-sidebar-content\">\n\t\t\t\t@if(selectedMainMenuItem){\n\t\t\t\t\t<ul class=\"secondary-menu\">\n\t\t\t\t\t\t@for(subItem of selectedMainMenuItem.items; track subItem; let i = $index){\n\t\t\t\t\t\t\t\t<!-- Action menu item -->\n\t\t\t\t\t\t\t\t@if(subItem.action) {\n\t\t\t\t\t\t\t\t\t<li class=\"secondary-menu-item\" [ngClass]=\"{'action-loading': isActionLoading(subItem)}\">\n\t\t\t\t\t\t\t\t\t\t<a class=\"secondary-menu-link is-action\"\n\t\t\t\t\t\t\t\t\t\t\t(click)=\"onActionItemClick(subItem, $event)\"\n\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(subItem.label, activeLang(), 'secondary') ? (subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t\t@if(isActionLoading(subItem)){\n\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"submenu-icon pi pi-spin pi-spinner\"></i>\n\t\t\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t\t\t<i [ngClass]=\"subItem.icon\" class=\"submenu-icon\"></i>\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"submenu-label\">{{ subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<!-- Regular menu item -->\n\t\t\t\t\t\t\t\t<li class=\"secondary-menu-item\" [ngClass]=\"{'active': isActiveRoute(subItem)}\">\n\t\t\t\t\t\t\t\t\t<a [routerLink]=\"subItem.routerLink\" \n\t\t\t\t\t\t\t\t\t\tclass=\"secondary-menu-link\"\n\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(subItem.label, activeLang(), 'secondary') ? (subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t<i [ngClass]=\"subItem.icon\" class=\"submenu-icon\"></i>\n\t\t\t\t\t\t\t\t\t\t<span class=\"submenu-label\">{{ subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t<!-- Always render submenu if it exists -->\n\t\t\t\t\t\t\t\t\t @if(subItem.items && subItem.items.length > 0){\n\t\t\t\t\t\t\t\t\t\t <ul class=\"tertiary-menu always-open\">\n\t\t\t\t\t\t\t\t\t\t\t@for(childItem of subItem.items; track childItem; let i = $index){\n\t\t\t\t\t\t\t\t\t\t\t\t<!-- Action item at tertiary level -->\n\t\t\t\t\t\t\t\t\t\t\t\t@if(childItem.action) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"tertiary-menu-item\" [ngClass]=\"{'action-loading': isActionLoading(childItem)}\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"tertiary-menu-link is-action\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"onActionItemClick(childItem, $event)\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(childItem.label, activeLang(), 'tertiary') ? (childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@if(isActionLoading(childItem)){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"tertiary-label\"><i class=\"pi pi-spin pi-spinner\"></i> {{ childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"tertiary-label\">{{ childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"tertiary-menu-item\" [ngClass]=\"{'active': isActiveRoute(childItem)}\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a [routerLink]=\"childItem.routerLink\" \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"tertiary-menu-link\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(childItem.label, activeLang(), 'tertiary') ? (childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"tertiary-label\">{{ childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Always render deeper levels if they exist, also visible by default -->\n\t\t\t\t\t\t\t\t\t\t\t\t\t@if(childItem.items && childItem.items.length > 0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"nested-menu always-open\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@for(nestedItem of childItem.items; track nestedItem; let i = $index){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@if(nestedItem.action) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nested-menu-item\" [ngClass]=\"{'action-loading': isActionLoading(nestedItem)}\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"nested-menu-link is-action\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"onActionItemClick(nestedItem, $event)\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(nestedItem.label, activeLang(), 'nested') ? (nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@if(isActionLoading(nestedItem)){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"nested-label\"><i class=\"pi pi-spin pi-spinner\"></i> {{ nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"nested-label\">{{ nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"nested-menu-item\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[ngClass]=\"{'active': isActiveRoute(nestedItem)}\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a [routerLink]=\"nestedItem.routerLink\" \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"nested-menu-link\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(nestedItem.label, activeLang(), 'nested') ? (nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"nested-label\">{{ nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t </ul>\n\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t</ul>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\t\n</div>\n", dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }] }); }
2374
3337
  }
2375
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ExpandableMenuComponent, decorators: [{
3338
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ExpandableMenuComponent, decorators: [{
2376
3339
  type: Component,
2377
3340
  args: [{ standalone: true, selector: 'app-expandable-menu', imports: [RouterLink, NgClass, TooltipModule], providers: [TranslateJsonPipe], template: "<div class=\"new-layout-sidebar\" >\n\t<!-- Main sidebar (first level) -->\n\t<div class=\"main-sidebar\" style=\"position: relative;\">\n\t\t<div class=\"main-sidebar-content\">\n\t\t\t<ul class=\"main-menu\">\n\t\t\t\t@for(item of getMenuItems(); track item; let i = $index){\n\t\t\t\t\t@if(!item.separator){\n\t\t\t\t\t\t<li\n\t\t\t\t\t\t[ngClass]=\"{'active': isActiveRoute(item) || isHaveSelectedChildItem(item)}\"\n\t\t\t\t\t\t(click)=\"selectMainItem(i, item)\"\n\t\t\t\t\t\t[pTooltip]=\"(item.label && activeLang() ? item.label[activeLang()!] || '' : '')\"\n\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t<div class=\"main-menu-item\">\n\t\t\t\t\t\t\t<i [ngClass]=\"item.icon\" class=\"menu-icon\"></i>\n\t\t\t\t\t\t\t<!-- <small class=\"menu-label\">{{ item.label && activeLang() ? item.label[activeLang()!] || '' : '' }}</small> -->\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</li>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t</ul>\n\t\t</div>\n\t</div>\n\t\t @if(selectedMainMenuItem && selectedMainMenuItem.items && selectedMainMenuItem.items.length > 0){\n\n\t\t\t <div class=\"sidebar-toggle-container\">\n\t\t\t\t <button class=\"sidebar-circle-toggle-btn\" (click)=\"toggleSidebar()\">\n\t\t\t\t\t <i class=\"pi\" [ngClass]=\"sidebarExpanded ? 'pi-angle-left' : 'pi-angle-right'\"></i>\n\t\t\t\t </button>\n\t\t\t </div>\n\t\t }\n\n\t<!-- Secondary sidebar (second level) -->\n\t<div class=\"secondary-sidebar\" [ngClass]=\"{'expanded': sidebarExpanded}\">\n\t\t<div class=\"secondary-content-wrapper\" style=\"position: relative;\">\n\t\t\t<!-- Secondary sidebar content -->\n\t\t\t<div class=\"secondary-sidebar-content\">\n\t\t\t\t@if(selectedMainMenuItem){\n\t\t\t\t\t<ul class=\"secondary-menu\">\n\t\t\t\t\t\t@for(subItem of selectedMainMenuItem.items; track subItem; let i = $index){\n\t\t\t\t\t\t\t\t<!-- Action menu item -->\n\t\t\t\t\t\t\t\t@if(subItem.action) {\n\t\t\t\t\t\t\t\t\t<li class=\"secondary-menu-item\" [ngClass]=\"{'action-loading': isActionLoading(subItem)}\">\n\t\t\t\t\t\t\t\t\t\t<a class=\"secondary-menu-link is-action\"\n\t\t\t\t\t\t\t\t\t\t\t(click)=\"onActionItemClick(subItem, $event)\"\n\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(subItem.label, activeLang(), 'secondary') ? (subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t\t@if(isActionLoading(subItem)){\n\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"submenu-icon pi pi-spin pi-spinner\"></i>\n\t\t\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t\t\t<i [ngClass]=\"subItem.icon\" class=\"submenu-icon\"></i>\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"submenu-label\">{{ subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<!-- Regular menu item -->\n\t\t\t\t\t\t\t\t<li class=\"secondary-menu-item\" [ngClass]=\"{'active': isActiveRoute(subItem)}\">\n\t\t\t\t\t\t\t\t\t<a [routerLink]=\"subItem.routerLink\" \n\t\t\t\t\t\t\t\t\t\tclass=\"secondary-menu-link\"\n\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(subItem.label, activeLang(), 'secondary') ? (subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t<i [ngClass]=\"subItem.icon\" class=\"submenu-icon\"></i>\n\t\t\t\t\t\t\t\t\t\t<span class=\"submenu-label\">{{ subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t<!-- Always render submenu if it exists -->\n\t\t\t\t\t\t\t\t\t @if(subItem.items && subItem.items.length > 0){\n\t\t\t\t\t\t\t\t\t\t <ul class=\"tertiary-menu always-open\">\n\t\t\t\t\t\t\t\t\t\t\t@for(childItem of subItem.items; track childItem; let i = $index){\n\t\t\t\t\t\t\t\t\t\t\t\t<!-- Action item at tertiary level -->\n\t\t\t\t\t\t\t\t\t\t\t\t@if(childItem.action) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"tertiary-menu-item\" [ngClass]=\"{'action-loading': isActionLoading(childItem)}\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"tertiary-menu-link is-action\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"onActionItemClick(childItem, $event)\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(childItem.label, activeLang(), 'tertiary') ? (childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@if(isActionLoading(childItem)){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"tertiary-label\"><i class=\"pi pi-spin pi-spinner\"></i> {{ childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"tertiary-label\">{{ childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"tertiary-menu-item\" [ngClass]=\"{'active': isActiveRoute(childItem)}\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a [routerLink]=\"childItem.routerLink\" \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"tertiary-menu-link\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(childItem.label, activeLang(), 'tertiary') ? (childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"tertiary-label\">{{ childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- Always render deeper levels if they exist, also visible by default -->\n\t\t\t\t\t\t\t\t\t\t\t\t\t@if(childItem.items && childItem.items.length > 0){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"nested-menu always-open\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@for(nestedItem of childItem.items; track nestedItem; let i = $index){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@if(nestedItem.action) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nested-menu-item\" [ngClass]=\"{'action-loading': isActionLoading(nestedItem)}\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"nested-menu-link is-action\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"onActionItemClick(nestedItem, $event)\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(nestedItem.label, activeLang(), 'nested') ? (nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@if(isActionLoading(nestedItem)){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"nested-label\"><i class=\"pi pi-spin pi-spinner\"></i> {{ nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"nested-label\">{{ nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"nested-menu-item\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[ngClass]=\"{'active': isActiveRoute(nestedItem)}\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a [routerLink]=\"nestedItem.routerLink\" \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"nested-menu-link\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(nestedItem.label, activeLang(), 'nested') ? (nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '') : ''\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"right\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"nested-label\">{{ nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '' }}</span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t </ul>\n\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t</ul>\n\t\t\t\t}\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\t\n</div>\n" }]
2378
- }], ctorParameters: () => [{ type: i1$3.TranslateJsonPipe }, { type: AppMenuService }, { type: i1$2.Router }, { type: i1.KeycloakService }, { type: i5.TranslocoService }, { type: LayoutService }, { type: i7$3.HttpClient }, { type: i3.ConfirmationService }], propDecorators: { onResize: [{
3341
+ }], ctorParameters: () => [{ type: i1$4.TranslateJsonPipe }, { type: AppMenuService }, { type: i1$3.Router }, { type: i1$1.KeycloakService }, { type: i5.TranslocoService }, { type: LayoutService }, { type: i1.HttpClient }, { type: i3.ConfirmationService }], propDecorators: { onResize: [{
2379
3342
  type: HostListener,
2380
3343
  args: ['window:resize']
2381
3344
  }] } });
@@ -2406,7 +3369,7 @@ class StaticSidebarComponent {
2406
3369
  ngOnInit() {
2407
3370
  this.buildMenuTree();
2408
3371
  this.routerSubscription = this.router.events
2409
- .pipe(filter$1((event) => event instanceof NavigationEnd))
3372
+ .pipe(filter((event) => event instanceof NavigationEnd))
2410
3373
  .subscribe(() => this.buildMenuTree());
2411
3374
  }
2412
3375
  ngOnDestroy() {
@@ -2633,10 +3596,10 @@ class StaticSidebarComponent {
2633
3596
  }
2634
3597
  return filtered;
2635
3598
  }
2636
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: StaticSidebarComponent, deps: [{ token: AppMenuService }, { token: i1$2.Router }, { token: LayoutService }, { token: i1$3.TranslateJsonPipe }, { token: i5.TranslocoService }, { token: i7$3.HttpClient }, { token: i3.ConfirmationService }], target: i0.ɵɵFactoryTarget.Component }); }
2637
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: StaticSidebarComponent, isStandalone: true, selector: "app-static-sidebar", providers: [TranslateJsonPipe], ngImport: i0, template: "<div class=\"static-sidebar\" [class.collapsed]=\"isCollapsed\">\n\t<div class=\"static-sidebar-content\">\n\t\t@if (!isCollapsed) {\n\t\t\t<div class=\"search-container\" *transloco=\"let t; read: ''\">\n\t\t\t\t<div class=\"search-wrapper\">\n\t\t\t\t\t<i class=\"pi pi-search search-icon\"></i>\n\t\t\t\t\t<input\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tpInputText\n\t\t\t\t\t\tvariant=\"filled\"\n\t\t\t\t\t\t[placeholder]=\"t('search')\"\n\t\t\t\t\t\t[(ngModel)]=\"searchTerm\"\n\t\t\t\t\t\t(ngModelChange)=\"onSearchChange()\"\n\t\t\t\t\t\tclass=\"search-static-sidebar\" />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: 'calc(100vh - 130px)' }\">\n\t\t\t\t<div class=\"tree-container\">\n\t\t\t\t\t@for (node of filteredNodes(); track node.key) {\n\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: node, level: 0 }\"></ng-container>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</p-scrollPanel>\n\t\t} @else {\n\t\t\t<!-- Collapsed mode - only icons -->\n\t\t\t<div class=\"collapsed-container\">\n\t\t\t\t@for (node of topLevelNodes; track node.key) {\n\t\t\t\t\t@if (node.action && (!node.children || node.children.length === 0)) {\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass=\"collapsed-item is-action\"\n\t\t\t\t\t\t\t[pTooltip]=\"getLocalText(node.label)\"\n\t\t\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t\t\t[class.active]=\"isTopLevelNodeActive(node)\"\n\t\t\t\t\t\t\t[class.action-loading]=\"node.actionLoading\"\n\t\t\t\t\t\t\t(click)=\"onActionItemClick(node, $event)\">\n\t\t\t\t\t\t\t@if (node.actionLoading) {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon pi pi-spin pi-spinner\"></i>\n\t\t\t\t\t\t\t} @else if (node.icon) {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon pi pi-circle\"></i>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t} @else if (node.routerLink && (!node.children || node.children.length === 0)) {\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\tclass=\"collapsed-item\"\n\t\t\t\t\t\t\t[pTooltip]=\"getLocalText(node.label)\"\n\t\t\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t\t\t[routerLink]=\"node.routerLink\"\n\t\t\t\t\t\t\t[class.active]=\"isTopLevelNodeActive(node)\"\n\t\t\t\t\t\t\t(click)=\"onCollapsedItemClick(node)\">\n\t\t\t\t\t\t\t@if (node.icon) {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon pi pi-circle\"></i>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass=\"collapsed-item\"\n\t\t\t\t\t\t\t[pTooltip]=\"getLocalText(node.label)\"\n\t\t\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t\t\t[class.active]=\"isTopLevelNodeActive(node)\"\n\t\t\t\t\t\t\t(click)=\"onCollapsedItemClick(node)\">\n\t\t\t\t\t\t\t@if (node.icon) {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon pi pi-circle\"></i>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t</div>\n\t\t}\n\t</div>\n\n\t<!-- Recursive Tree Node Template -->\n\t<ng-template #treeNodeTemplate let-node let-level=\"level\">\n\t\t<div class=\"tree-node\" [ngClass]=\"'level-' + level\">\n\t\t\t@if (node.action) {\n\t\t\t\t<!-- Action item: HTTP POST on click, then navigate -->\n\t\t\t\t<div\n\t\t\t\t\tclass=\"node-item is-action\"\n\t\t\t\t\t[class.has-children]=\"node.children && node.children.length > 0\"\n\t\t\t\t\t[class.action-loading]=\"node.actionLoading\"\n\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(node.label, activeLang(), level) ? getLocalText(node.label) : ''\"\n\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t(click)=\"onActionItemClick(node, $event)\">\n\t\t\t\t\t<div class=\"node-content\">\n\t\t\t\t\t\t@if (node.children && node.children.length > 0) {\n\t\t\t\t\t\t\t<div class=\"toggle-btn\" (click)=\"$event.stopPropagation(); toggleNode(node, level)\">\n\t\t\t\t\t\t\t\t<i class=\"pi\" [class.pi-chevron-right]=\"!node.expanded\" [class.pi-chevron-down]=\"node.expanded\"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@if (node.actionLoading) {\n\t\t\t\t\t\t\t<i class=\"node-icon pi pi-spin pi-spinner\"></i>\n\t\t\t\t\t\t} @else if (node.icon) {\n\t\t\t\t\t\t\t<i class=\"node-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t<span class=\"node-label\">{{ getLocalText(node.label) }}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t} @else if (node.routerLink) {\n\t\t\t\t<a\n\t\t\t\t\t[routerLink]=\"node.routerLink\"\n\t\t\t\t\tclass=\"node-item\"\n\t\t\t\t\t[class.has-children]=\"node.children && node.children.length > 0\"\n\t\t\t\t\t[class.is-page]=\"node.routerLink\"\n\t\t\t\t\t[class.active]=\"isChildNodeActive(node)\"\n\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(node.label, activeLang(), level) ? getLocalText(node.label) : ''\"\n\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t(click)=\"onMenuItemClick()\">\n\t\t\t\t\t<div class=\"node-content\">\n\t\t\t\t\t\t@if (node.children && node.children.length > 0) {\n\t\t\t\t\t\t\t<div class=\"toggle-btn\" (click)=\"$event.stopPropagation(); toggleNode(node, level)\">\n\t\t\t\t\t\t\t\t<i class=\"pi\" [class.pi-chevron-right]=\"!node.expanded\" [class.pi-chevron-down]=\"node.expanded\"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@if (node.icon) {\n\t\t\t\t\t\t\t<i class=\"node-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t<span class=\"node-label\">{{ getLocalText(node.label) }}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</a>\n\t\t\t} @else {\n\t\t\t\t<div\n\t\t\t\t\tclass=\"node-item\"\n\t\t\t\t\t[class.has-children]=\"node.children && node.children.length > 0\"\n\t\t\t\t\t[class.is-page]=\"node.routerLink\"\n\t\t\t\t\t[class.active]=\"isChildNodeActive(node)\"\n\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(node.label, activeLang(), level) ? getLocalText(node.label) : ''\"\n\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t(click)=\"toggleNode(node, level)\">\n\t\t\t\t\t<div class=\"node-content\">\n\t\t\t\t\t\t@if (node.children && node.children.length > 0) {\n\t\t\t\t\t\t\t<div class=\"toggle-btn\" (click)=\"$event.stopPropagation(); toggleNode(node, level)\">\n\t\t\t\t\t\t\t\t<i class=\"pi\" [class.pi-chevron-right]=\"!node.expanded\" [class.pi-chevron-down]=\"node.expanded\"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@if (node.icon) {\n\t\t\t\t\t\t\t<i class=\"node-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t<span class=\"node-label\">{{ getLocalText(node.label) }}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<!-- Recursive Children -->\n\t\t\t@if (node.children && node.expanded) {\n\t\t\t\t<div class=\"children-container\" [attr.data-level]=\"level\">\n\t\t\t\t\t@for (child of node.children; track child.key) {\n\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t*ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: child, level: level + 1 }\"></ng-container>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t}\n\t\t</div>\n\t</ng-template>\n</div>\n", styles: [".search-container{padding:12px 8px;margin:0}.search-wrapper{position:relative;width:100%}.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#64748b;font-size:14px;z-index:10;pointer-events:none;transition:color .2s ease}.search-static-sidebar{background:#1e293b!important;border:1px solid rgba(148,163,184,.1)!important;height:36px!important;font-size:13px!important;font-weight:400;color:#cbd5e1!important;padding:0 12px 0 36px!important;border-radius:4px!important;width:100%!important;box-sizing:border-box!important;transition:all .25s ease!important}.search-static-sidebar::placeholder{font-size:12px!important}.search-static-sidebar:hover{background:#0f172ab3!important;border-color:#94a3b826!important}.search-static-sidebar:focus{outline:none!important;border:1px solid rgba(15,23,42,.8)!important;background:#0f172acc!important}.search-wrapper:focus-within .search-icon{color:#cbd5e1}.static-sidebar{width:260px;height:100vh;background:#1e293b;border-right:1px solid #0f172a;display:flex;flex-direction:column;position:fixed;left:0;top:calc(55px + var(--env-banner-h, 0px));z-index:999;overflow-y:auto;overflow-x:hidden;transition:width .3s ease;box-shadow:2px 0 5px #0000000d}.static-sidebar.collapsed{width:64px;box-shadow:none}.static-sidebar .static-sidebar-content{flex:1;background:transparent;overflow:hidden}.static-sidebar .tree-container{padding:5px 0;overflow-x:hidden}.static-sidebar .tree-node{margin-bottom:4px;position:relative}.static-sidebar .tree-node .node-item{display:flex;align-items:center;padding:10px 12px;border-radius:4px;margin:0 5px;cursor:pointer;transition:all .25s ease;text-decoration:none;color:#cbd5e1!important;overflow:visible;position:relative;white-space:nowrap}.static-sidebar .tree-node .node-item:before{content:\"\";position:absolute;width:0;height:100%;top:0;left:0;background-color:var(--primary-color);opacity:.08;transition:width .25s ease-in-out}.static-sidebar .tree-node .node-item:hover{color:#e8e7e7!important}.static-sidebar .tree-node .node-item:hover:before{width:100%}.static-sidebar .tree-node .node-item:hover .node-label{color:#e8e7e7!important}.static-sidebar .tree-node .node-item:hover .node-icon{color:#e8e7e7!important;transform:translate(2px)}.static-sidebar .tree-node .node-item.is-page:hover{color:#e8e7e7!important}.static-sidebar .tree-node .node-item.is-page:hover:before{width:100%}.static-sidebar .tree-node .node-item.active{background-color:#495465!important;color:#e8e7e7!important;font-weight:500!important;box-shadow:0 2px 5px #0000001a!important}.static-sidebar .tree-node .node-item.active:before{display:none}.static-sidebar .tree-node .node-item.active .node-label,.static-sidebar .tree-node .node-item.active .node-icon,.static-sidebar .tree-node .node-item.active .toggle-btn i{color:#e8e7e7!important}.static-sidebar .tree-node .node-item.active:hover{background-color:var(--primary-color)}.static-sidebar .tree-node .node-item.is-action{cursor:pointer}.static-sidebar .tree-node .node-item.is-action.action-loading{opacity:.7;pointer-events:none}.static-sidebar .tree-node .node-content{display:flex;align-items:center;gap:8px;width:100%;min-width:0;position:relative;z-index:2;padding-left:24px}.static-sidebar .tree-node .toggle-btn{position:absolute;left:0;display:flex;align-items:center;justify-content:center;width:20px;height:16px;border:none;border-radius:3px;color:#cbd5e1;cursor:pointer;transition:all .25s ease;flex-shrink:0;z-index:3}.static-sidebar .tree-node .toggle-btn:hover{transform:scale(1.1)}.static-sidebar .tree-node .toggle-btn i{font-size:.7rem;transition:transform .2s ease}.static-sidebar .tree-node .node-icon{color:#cbd5e1;font-size:16px;flex-shrink:0;transition:transform .25s ease,color .25s ease;position:relative}.static-sidebar .tree-node .node-label{flex:1;font-size:13px;font-weight:500;color:#cbd5e1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .25s ease;position:relative}.static-sidebar .collapsed-container{padding:8px 0;display:flex;flex-direction:column;align-items:center;width:100%}.static-sidebar .collapsed-item{width:100%;display:flex;flex-direction:column;align-items:center;padding:12px 0;cursor:pointer;transition:all .25s ease;text-decoration:none;position:relative;overflow:hidden;margin-bottom:4px;color:#cbd5e1}.static-sidebar .collapsed-item:hover{color:#e8e7e7}.static-sidebar .collapsed-item:hover .collapsed-icon{transform:scale(1.15);color:#e8e7e7}.static-sidebar .collapsed-item:hover:after{content:\"\";position:absolute;left:0;top:0;width:3px;height:100%;background-color:#0f172a;opacity:.7}.static-sidebar .collapsed-item.active{background-color:#495465!important}.static-sidebar .collapsed-item.active:before{content:\"\";position:absolute;left:0;top:0;width:3px;height:100%;background-color:#0f172a}.static-sidebar .collapsed-item.active .collapsed-icon{color:#fff!important}.static-sidebar .collapsed-item .collapsed-icon{font-size:22px;color:#cbd5e1;transition:all .2s ease}.static-sidebar .children-container{position:relative}.static-sidebar .children-container:before{content:\"\";position:absolute;left:25px;top:0;bottom:0;width:1px;background-color:#4755694d;z-index:1}.static-sidebar .tree-node{position:relative}.static-sidebar .tree-node.level-0 .node-item{margin-right:20px;width:240px;max-width:240px}.static-sidebar .tree-node.level-0 .node-label{font-size:13px;font-weight:500;color:#cbd5e1}.static-sidebar .tree-node.level-0 .node-icon{font-size:16px}.static-sidebar .tree-node.level-1 .node-item{margin-left:36px;margin-right:20px;padding:8px 12px;width:204px;max-width:204px}.static-sidebar .tree-node.level-1 .node-label{font-size:12px;font-weight:400}.static-sidebar .tree-node.level-1 .node-icon{font-size:15px}.static-sidebar .tree-node.level-2 .node-item{margin-left:52px;margin-right:20px;width:188px;max-width:188px}.static-sidebar .tree-node.level-2 .node-label{font-size:11px;font-weight:400;color:#cbd5e1}.static-sidebar .tree-node.level-2 .node-icon{font-size:14px}.static-sidebar .tree-node.level-2.active .node-item{background-color:#495465!important}.static-sidebar .tree-node.level-2.active .node-item .node-label{color:#e8e7e7!important}.static-sidebar .tree-node.level-3 .node-item{margin-left:68px;margin-right:20px;padding:6px 12px;width:172px;max-width:172px}.static-sidebar .tree-node.level-3 .node-label{font-size:11px;font-weight:400;color:#cbd5e1}.static-sidebar .tree-node.level-3 .node-icon{font-size:13px}:host ::ng-deep .p-scrollpanel .p-scrollpanel-wrapper{border:none}:host ::ng-deep .p-scrollpanel .p-scrollpanel-content{padding-right:5px}:host ::ng-deep .p-scrollpanel-bar-y{background:#1e293b;width:4px;border-radius:4px}:host ::ng-deep .p-scrollpanel-bar-y:hover{background:#1e293b}\n"], dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: ScrollPanelModule }, { kind: "component", type: i7$1.ScrollPanel, selector: "p-scrollPanel", inputs: ["style", "styleClass", "step"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i11.InputText, selector: "[pInputText]", inputs: ["variant"] }] }); }
3599
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticSidebarComponent, deps: [{ token: AppMenuService }, { token: i1$3.Router }, { token: LayoutService }, { token: i1$4.TranslateJsonPipe }, { token: i5.TranslocoService }, { token: i1.HttpClient }, { token: i3.ConfirmationService }], target: i0.ɵɵFactoryTarget.Component }); }
3600
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: StaticSidebarComponent, isStandalone: true, selector: "app-static-sidebar", providers: [TranslateJsonPipe], ngImport: i0, template: "<div class=\"static-sidebar\" [class.collapsed]=\"isCollapsed\">\n\t<div class=\"static-sidebar-content\">\n\t\t@if (!isCollapsed) {\n\t\t\t<div class=\"search-container\" *transloco=\"let t; read: ''\">\n\t\t\t\t<div class=\"search-wrapper\">\n\t\t\t\t\t<i class=\"pi pi-search search-icon\"></i>\n\t\t\t\t\t<input\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tpInputText\n\t\t\t\t\t\tvariant=\"filled\"\n\t\t\t\t\t\t[placeholder]=\"t('search')\"\n\t\t\t\t\t\t[(ngModel)]=\"searchTerm\"\n\t\t\t\t\t\t(ngModelChange)=\"onSearchChange()\"\n\t\t\t\t\t\tclass=\"search-static-sidebar\" />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: 'calc(100vh - 130px)' }\">\n\t\t\t\t<div class=\"tree-container\">\n\t\t\t\t\t@for (node of filteredNodes(); track node.key) {\n\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: node, level: 0 }\"></ng-container>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</p-scrollPanel>\n\t\t} @else {\n\t\t\t<!-- Collapsed mode - only icons -->\n\t\t\t<div class=\"collapsed-container\">\n\t\t\t\t@for (node of topLevelNodes; track node.key) {\n\t\t\t\t\t@if (node.action && (!node.children || node.children.length === 0)) {\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass=\"collapsed-item is-action\"\n\t\t\t\t\t\t\t[pTooltip]=\"getLocalText(node.label)\"\n\t\t\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t\t\t[class.active]=\"isTopLevelNodeActive(node)\"\n\t\t\t\t\t\t\t[class.action-loading]=\"node.actionLoading\"\n\t\t\t\t\t\t\t(click)=\"onActionItemClick(node, $event)\">\n\t\t\t\t\t\t\t@if (node.actionLoading) {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon pi pi-spin pi-spinner\"></i>\n\t\t\t\t\t\t\t} @else if (node.icon) {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon pi pi-circle\"></i>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t} @else if (node.routerLink && (!node.children || node.children.length === 0)) {\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\tclass=\"collapsed-item\"\n\t\t\t\t\t\t\t[pTooltip]=\"getLocalText(node.label)\"\n\t\t\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t\t\t[routerLink]=\"node.routerLink\"\n\t\t\t\t\t\t\t[class.active]=\"isTopLevelNodeActive(node)\"\n\t\t\t\t\t\t\t(click)=\"onCollapsedItemClick(node)\">\n\t\t\t\t\t\t\t@if (node.icon) {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon pi pi-circle\"></i>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass=\"collapsed-item\"\n\t\t\t\t\t\t\t[pTooltip]=\"getLocalText(node.label)\"\n\t\t\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t\t\t[class.active]=\"isTopLevelNodeActive(node)\"\n\t\t\t\t\t\t\t(click)=\"onCollapsedItemClick(node)\">\n\t\t\t\t\t\t\t@if (node.icon) {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon pi pi-circle\"></i>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t</div>\n\t\t}\n\t</div>\n\n\t<!-- Recursive Tree Node Template -->\n\t<ng-template #treeNodeTemplate let-node let-level=\"level\">\n\t\t<div class=\"tree-node\" [ngClass]=\"'level-' + level\">\n\t\t\t@if (node.action) {\n\t\t\t\t<!-- Action item: HTTP POST on click, then navigate -->\n\t\t\t\t<div\n\t\t\t\t\tclass=\"node-item is-action\"\n\t\t\t\t\t[class.has-children]=\"node.children && node.children.length > 0\"\n\t\t\t\t\t[class.action-loading]=\"node.actionLoading\"\n\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(node.label, activeLang(), level) ? getLocalText(node.label) : ''\"\n\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t(click)=\"onActionItemClick(node, $event)\">\n\t\t\t\t\t<div class=\"node-content\">\n\t\t\t\t\t\t@if (node.children && node.children.length > 0) {\n\t\t\t\t\t\t\t<div class=\"toggle-btn\" (click)=\"$event.stopPropagation(); toggleNode(node, level)\">\n\t\t\t\t\t\t\t\t<i class=\"pi\" [class.pi-chevron-right]=\"!node.expanded\" [class.pi-chevron-down]=\"node.expanded\"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@if (node.actionLoading) {\n\t\t\t\t\t\t\t<i class=\"node-icon pi pi-spin pi-spinner\"></i>\n\t\t\t\t\t\t} @else if (node.icon) {\n\t\t\t\t\t\t\t<i class=\"node-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t<span class=\"node-label\">{{ getLocalText(node.label) }}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t} @else if (node.routerLink) {\n\t\t\t\t<a\n\t\t\t\t\t[routerLink]=\"node.routerLink\"\n\t\t\t\t\tclass=\"node-item\"\n\t\t\t\t\t[class.has-children]=\"node.children && node.children.length > 0\"\n\t\t\t\t\t[class.is-page]=\"node.routerLink\"\n\t\t\t\t\t[class.active]=\"isChildNodeActive(node)\"\n\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(node.label, activeLang(), level) ? getLocalText(node.label) : ''\"\n\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t(click)=\"onMenuItemClick()\">\n\t\t\t\t\t<div class=\"node-content\">\n\t\t\t\t\t\t@if (node.children && node.children.length > 0) {\n\t\t\t\t\t\t\t<div class=\"toggle-btn\" (click)=\"$event.stopPropagation(); toggleNode(node, level)\">\n\t\t\t\t\t\t\t\t<i class=\"pi\" [class.pi-chevron-right]=\"!node.expanded\" [class.pi-chevron-down]=\"node.expanded\"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@if (node.icon) {\n\t\t\t\t\t\t\t<i class=\"node-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t<span class=\"node-label\">{{ getLocalText(node.label) }}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</a>\n\t\t\t} @else {\n\t\t\t\t<div\n\t\t\t\t\tclass=\"node-item\"\n\t\t\t\t\t[class.has-children]=\"node.children && node.children.length > 0\"\n\t\t\t\t\t[class.is-page]=\"node.routerLink\"\n\t\t\t\t\t[class.active]=\"isChildNodeActive(node)\"\n\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(node.label, activeLang(), level) ? getLocalText(node.label) : ''\"\n\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t(click)=\"toggleNode(node, level)\">\n\t\t\t\t\t<div class=\"node-content\">\n\t\t\t\t\t\t@if (node.children && node.children.length > 0) {\n\t\t\t\t\t\t\t<div class=\"toggle-btn\" (click)=\"$event.stopPropagation(); toggleNode(node, level)\">\n\t\t\t\t\t\t\t\t<i class=\"pi\" [class.pi-chevron-right]=\"!node.expanded\" [class.pi-chevron-down]=\"node.expanded\"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@if (node.icon) {\n\t\t\t\t\t\t\t<i class=\"node-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t<span class=\"node-label\">{{ getLocalText(node.label) }}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<!-- Recursive Children -->\n\t\t\t@if (node.children && node.expanded) {\n\t\t\t\t<div class=\"children-container\" [attr.data-level]=\"level\">\n\t\t\t\t\t@for (child of node.children; track child.key) {\n\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t*ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: child, level: level + 1 }\"></ng-container>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t}\n\t\t</div>\n\t</ng-template>\n</div>\n", styles: [".search-container{padding:12px 8px;margin:0}.search-wrapper{position:relative;width:100%}.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#64748b;font-size:14px;z-index:10;pointer-events:none;transition:color .2s ease}.search-static-sidebar{background:#1e293b!important;border:1px solid rgba(148,163,184,.1)!important;height:36px!important;font-size:13px!important;font-weight:400;color:#cbd5e1!important;padding:0 12px 0 36px!important;border-radius:4px!important;width:100%!important;box-sizing:border-box!important;transition:all .25s ease!important}.search-static-sidebar::placeholder{font-size:12px!important}.search-static-sidebar:hover{background:#0f172ab3!important;border-color:#94a3b826!important}.search-static-sidebar:focus{outline:none!important;border:1px solid rgba(15,23,42,.8)!important;background:#0f172acc!important}.search-wrapper:focus-within .search-icon{color:#cbd5e1}.static-sidebar{width:260px;height:100vh;background:#1e293b;border-right:1px solid #0f172a;display:flex;flex-direction:column;position:fixed;left:0;top:calc(55px + var(--env-banner-h, 0px));z-index:999;overflow-y:auto;overflow-x:hidden;transition:width .3s ease;box-shadow:2px 0 5px #0000000d}.static-sidebar.collapsed{width:64px;box-shadow:none}.static-sidebar .static-sidebar-content{flex:1;background:transparent;overflow:hidden}.static-sidebar .tree-container{padding:5px 0;overflow-x:hidden}.static-sidebar .tree-node{margin-bottom:4px;position:relative}.static-sidebar .tree-node .node-item{display:flex;align-items:center;padding:10px 12px;border-radius:4px;margin:0 5px;cursor:pointer;transition:all .25s ease;text-decoration:none;color:#cbd5e1!important;overflow:visible;position:relative;white-space:nowrap}.static-sidebar .tree-node .node-item:before{content:\"\";position:absolute;width:0;height:100%;top:0;left:0;background-color:var(--primary-color);opacity:.08;transition:width .25s ease-in-out}.static-sidebar .tree-node .node-item:hover{color:#e8e7e7!important}.static-sidebar .tree-node .node-item:hover:before{width:100%}.static-sidebar .tree-node .node-item:hover .node-label{color:#e8e7e7!important}.static-sidebar .tree-node .node-item:hover .node-icon{color:#e8e7e7!important;transform:translate(2px)}.static-sidebar .tree-node .node-item.is-page:hover{color:#e8e7e7!important}.static-sidebar .tree-node .node-item.is-page:hover:before{width:100%}.static-sidebar .tree-node .node-item.active{background-color:#495465!important;color:#e8e7e7!important;font-weight:500!important;box-shadow:0 2px 5px #0000001a!important}.static-sidebar .tree-node .node-item.active:before{display:none}.static-sidebar .tree-node .node-item.active .node-label,.static-sidebar .tree-node .node-item.active .node-icon,.static-sidebar .tree-node .node-item.active .toggle-btn i{color:#e8e7e7!important}.static-sidebar .tree-node .node-item.active:hover{background-color:var(--primary-color)}.static-sidebar .tree-node .node-item.is-action{cursor:pointer}.static-sidebar .tree-node .node-item.is-action.action-loading{opacity:.7;pointer-events:none}.static-sidebar .tree-node .node-content{display:flex;align-items:center;gap:8px;width:100%;min-width:0;position:relative;z-index:2;padding-left:24px}.static-sidebar .tree-node .toggle-btn{position:absolute;left:0;display:flex;align-items:center;justify-content:center;width:20px;height:16px;border:none;border-radius:3px;color:#cbd5e1;cursor:pointer;transition:all .25s ease;flex-shrink:0;z-index:3}.static-sidebar .tree-node .toggle-btn:hover{transform:scale(1.1)}.static-sidebar .tree-node .toggle-btn i{font-size:.7rem;transition:transform .2s ease}.static-sidebar .tree-node .node-icon{color:#cbd5e1;font-size:16px;flex-shrink:0;transition:transform .25s ease,color .25s ease;position:relative}.static-sidebar .tree-node .node-label{flex:1;font-size:13px;font-weight:500;color:#cbd5e1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .25s ease;position:relative}.static-sidebar .collapsed-container{padding:8px 0;display:flex;flex-direction:column;align-items:center;width:100%}.static-sidebar .collapsed-item{width:100%;display:flex;flex-direction:column;align-items:center;padding:12px 0;cursor:pointer;transition:all .25s ease;text-decoration:none;position:relative;overflow:hidden;margin-bottom:4px;color:#cbd5e1}.static-sidebar .collapsed-item:hover{color:#e8e7e7}.static-sidebar .collapsed-item:hover .collapsed-icon{transform:scale(1.15);color:#e8e7e7}.static-sidebar .collapsed-item:hover:after{content:\"\";position:absolute;left:0;top:0;width:3px;height:100%;background-color:#0f172a;opacity:.7}.static-sidebar .collapsed-item.active{background-color:#495465!important}.static-sidebar .collapsed-item.active:before{content:\"\";position:absolute;left:0;top:0;width:3px;height:100%;background-color:#0f172a}.static-sidebar .collapsed-item.active .collapsed-icon{color:#fff!important}.static-sidebar .collapsed-item .collapsed-icon{font-size:22px;color:#cbd5e1;transition:all .2s ease}.static-sidebar .children-container{position:relative}.static-sidebar .children-container:before{content:\"\";position:absolute;left:25px;top:0;bottom:0;width:1px;background-color:#4755694d;z-index:1}.static-sidebar .tree-node{position:relative}.static-sidebar .tree-node.level-0 .node-item{margin-right:20px;width:240px;max-width:240px}.static-sidebar .tree-node.level-0 .node-label{font-size:13px;font-weight:500;color:#cbd5e1}.static-sidebar .tree-node.level-0 .node-icon{font-size:16px}.static-sidebar .tree-node.level-1 .node-item{margin-left:36px;margin-right:20px;padding:8px 12px;width:204px;max-width:204px}.static-sidebar .tree-node.level-1 .node-label{font-size:12px;font-weight:400}.static-sidebar .tree-node.level-1 .node-icon{font-size:15px}.static-sidebar .tree-node.level-2 .node-item{margin-left:52px;margin-right:20px;width:188px;max-width:188px}.static-sidebar .tree-node.level-2 .node-label{font-size:11px;font-weight:400;color:#cbd5e1}.static-sidebar .tree-node.level-2 .node-icon{font-size:14px}.static-sidebar .tree-node.level-2.active .node-item{background-color:#495465!important}.static-sidebar .tree-node.level-2.active .node-item .node-label{color:#e8e7e7!important}.static-sidebar .tree-node.level-3 .node-item{margin-left:68px;margin-right:20px;padding:6px 12px;width:172px;max-width:172px}.static-sidebar .tree-node.level-3 .node-label{font-size:11px;font-weight:400;color:#cbd5e1}.static-sidebar .tree-node.level-3 .node-icon{font-size:13px}:host ::ng-deep .p-scrollpanel .p-scrollpanel-wrapper{border:none}:host ::ng-deep .p-scrollpanel .p-scrollpanel-content{padding-right:5px}:host ::ng-deep .p-scrollpanel-bar-y{background:#1e293b;width:4px;border-radius:4px}:host ::ng-deep .p-scrollpanel-bar-y:hover{background:#1e293b}\n"], dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: ScrollPanelModule }, { kind: "component", type: i7$1.ScrollPanel, selector: "p-scrollPanel", inputs: ["style", "styleClass", "step"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i11.InputText, selector: "[pInputText]", inputs: ["variant"] }] }); }
2638
3601
  }
2639
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: StaticSidebarComponent, decorators: [{
3602
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticSidebarComponent, decorators: [{
2640
3603
  type: Component,
2641
3604
  args: [{ standalone: true, selector: 'app-static-sidebar', imports: [
2642
3605
  RouterLink,
@@ -2648,7 +3611,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
2648
3611
  TranslocoModule,
2649
3612
  InputTextModule
2650
3613
  ], providers: [TranslateJsonPipe], template: "<div class=\"static-sidebar\" [class.collapsed]=\"isCollapsed\">\n\t<div class=\"static-sidebar-content\">\n\t\t@if (!isCollapsed) {\n\t\t\t<div class=\"search-container\" *transloco=\"let t; read: ''\">\n\t\t\t\t<div class=\"search-wrapper\">\n\t\t\t\t\t<i class=\"pi pi-search search-icon\"></i>\n\t\t\t\t\t<input\n\t\t\t\t\t\ttype=\"text\"\n\t\t\t\t\t\tpInputText\n\t\t\t\t\t\tvariant=\"filled\"\n\t\t\t\t\t\t[placeholder]=\"t('search')\"\n\t\t\t\t\t\t[(ngModel)]=\"searchTerm\"\n\t\t\t\t\t\t(ngModelChange)=\"onSearchChange()\"\n\t\t\t\t\t\tclass=\"search-static-sidebar\" />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<p-scrollPanel [style]=\"{ width: '100%', height: 'calc(100vh - 130px)' }\">\n\t\t\t\t<div class=\"tree-container\">\n\t\t\t\t\t@for (node of filteredNodes(); track node.key) {\n\t\t\t\t\t\t<ng-container *ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: node, level: 0 }\"></ng-container>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</p-scrollPanel>\n\t\t} @else {\n\t\t\t<!-- Collapsed mode - only icons -->\n\t\t\t<div class=\"collapsed-container\">\n\t\t\t\t@for (node of topLevelNodes; track node.key) {\n\t\t\t\t\t@if (node.action && (!node.children || node.children.length === 0)) {\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass=\"collapsed-item is-action\"\n\t\t\t\t\t\t\t[pTooltip]=\"getLocalText(node.label)\"\n\t\t\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t\t\t[class.active]=\"isTopLevelNodeActive(node)\"\n\t\t\t\t\t\t\t[class.action-loading]=\"node.actionLoading\"\n\t\t\t\t\t\t\t(click)=\"onActionItemClick(node, $event)\">\n\t\t\t\t\t\t\t@if (node.actionLoading) {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon pi pi-spin pi-spinner\"></i>\n\t\t\t\t\t\t\t} @else if (node.icon) {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon pi pi-circle\"></i>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t} @else if (node.routerLink && (!node.children || node.children.length === 0)) {\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\tclass=\"collapsed-item\"\n\t\t\t\t\t\t\t[pTooltip]=\"getLocalText(node.label)\"\n\t\t\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t\t\t[routerLink]=\"node.routerLink\"\n\t\t\t\t\t\t\t[class.active]=\"isTopLevelNodeActive(node)\"\n\t\t\t\t\t\t\t(click)=\"onCollapsedItemClick(node)\">\n\t\t\t\t\t\t\t@if (node.icon) {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon pi pi-circle\"></i>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</a>\n\t\t\t\t\t} @else {\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass=\"collapsed-item\"\n\t\t\t\t\t\t\t[pTooltip]=\"getLocalText(node.label)\"\n\t\t\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t\t\t[class.active]=\"isTopLevelNodeActive(node)\"\n\t\t\t\t\t\t\t(click)=\"onCollapsedItemClick(node)\">\n\t\t\t\t\t\t\t@if (node.icon) {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<i class=\"collapsed-icon pi pi-circle\"></i>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t</div>\n\t\t}\n\t</div>\n\n\t<!-- Recursive Tree Node Template -->\n\t<ng-template #treeNodeTemplate let-node let-level=\"level\">\n\t\t<div class=\"tree-node\" [ngClass]=\"'level-' + level\">\n\t\t\t@if (node.action) {\n\t\t\t\t<!-- Action item: HTTP POST on click, then navigate -->\n\t\t\t\t<div\n\t\t\t\t\tclass=\"node-item is-action\"\n\t\t\t\t\t[class.has-children]=\"node.children && node.children.length > 0\"\n\t\t\t\t\t[class.action-loading]=\"node.actionLoading\"\n\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(node.label, activeLang(), level) ? getLocalText(node.label) : ''\"\n\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t(click)=\"onActionItemClick(node, $event)\">\n\t\t\t\t\t<div class=\"node-content\">\n\t\t\t\t\t\t@if (node.children && node.children.length > 0) {\n\t\t\t\t\t\t\t<div class=\"toggle-btn\" (click)=\"$event.stopPropagation(); toggleNode(node, level)\">\n\t\t\t\t\t\t\t\t<i class=\"pi\" [class.pi-chevron-right]=\"!node.expanded\" [class.pi-chevron-down]=\"node.expanded\"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@if (node.actionLoading) {\n\t\t\t\t\t\t\t<i class=\"node-icon pi pi-spin pi-spinner\"></i>\n\t\t\t\t\t\t} @else if (node.icon) {\n\t\t\t\t\t\t\t<i class=\"node-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t<span class=\"node-label\">{{ getLocalText(node.label) }}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t} @else if (node.routerLink) {\n\t\t\t\t<a\n\t\t\t\t\t[routerLink]=\"node.routerLink\"\n\t\t\t\t\tclass=\"node-item\"\n\t\t\t\t\t[class.has-children]=\"node.children && node.children.length > 0\"\n\t\t\t\t\t[class.is-page]=\"node.routerLink\"\n\t\t\t\t\t[class.active]=\"isChildNodeActive(node)\"\n\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(node.label, activeLang(), level) ? getLocalText(node.label) : ''\"\n\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t(click)=\"onMenuItemClick()\">\n\t\t\t\t\t<div class=\"node-content\">\n\t\t\t\t\t\t@if (node.children && node.children.length > 0) {\n\t\t\t\t\t\t\t<div class=\"toggle-btn\" (click)=\"$event.stopPropagation(); toggleNode(node, level)\">\n\t\t\t\t\t\t\t\t<i class=\"pi\" [class.pi-chevron-right]=\"!node.expanded\" [class.pi-chevron-down]=\"node.expanded\"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@if (node.icon) {\n\t\t\t\t\t\t\t<i class=\"node-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t<span class=\"node-label\">{{ getLocalText(node.label) }}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</a>\n\t\t\t} @else {\n\t\t\t\t<div\n\t\t\t\t\tclass=\"node-item\"\n\t\t\t\t\t[class.has-children]=\"node.children && node.children.length > 0\"\n\t\t\t\t\t[class.is-page]=\"node.routerLink\"\n\t\t\t\t\t[class.active]=\"isChildNodeActive(node)\"\n\t\t\t\t\t[pTooltip]=\"!isMobile() && isTextTruncated(node.label, activeLang(), level) ? getLocalText(node.label) : ''\"\n\t\t\t\t\ttooltipPosition=\"right\"\n\t\t\t\t\t(click)=\"toggleNode(node, level)\">\n\t\t\t\t\t<div class=\"node-content\">\n\t\t\t\t\t\t@if (node.children && node.children.length > 0) {\n\t\t\t\t\t\t\t<div class=\"toggle-btn\" (click)=\"$event.stopPropagation(); toggleNode(node, level)\">\n\t\t\t\t\t\t\t\t<i class=\"pi\" [class.pi-chevron-right]=\"!node.expanded\" [class.pi-chevron-down]=\"node.expanded\"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t@if (node.icon) {\n\t\t\t\t\t\t\t<i class=\"node-icon\" [class]=\"node.icon\"></i>\n\t\t\t\t\t\t}\n\t\t\t\t\t\t<span class=\"node-label\">{{ getLocalText(node.label) }}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t}\n\n\t\t\t<!-- Recursive Children -->\n\t\t\t@if (node.children && node.expanded) {\n\t\t\t\t<div class=\"children-container\" [attr.data-level]=\"level\">\n\t\t\t\t\t@for (child of node.children; track child.key) {\n\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t*ngTemplateOutlet=\"treeNodeTemplate; context: { $implicit: child, level: level + 1 }\"></ng-container>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t}\n\t\t</div>\n\t</ng-template>\n</div>\n", styles: [".search-container{padding:12px 8px;margin:0}.search-wrapper{position:relative;width:100%}.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#64748b;font-size:14px;z-index:10;pointer-events:none;transition:color .2s ease}.search-static-sidebar{background:#1e293b!important;border:1px solid rgba(148,163,184,.1)!important;height:36px!important;font-size:13px!important;font-weight:400;color:#cbd5e1!important;padding:0 12px 0 36px!important;border-radius:4px!important;width:100%!important;box-sizing:border-box!important;transition:all .25s ease!important}.search-static-sidebar::placeholder{font-size:12px!important}.search-static-sidebar:hover{background:#0f172ab3!important;border-color:#94a3b826!important}.search-static-sidebar:focus{outline:none!important;border:1px solid rgba(15,23,42,.8)!important;background:#0f172acc!important}.search-wrapper:focus-within .search-icon{color:#cbd5e1}.static-sidebar{width:260px;height:100vh;background:#1e293b;border-right:1px solid #0f172a;display:flex;flex-direction:column;position:fixed;left:0;top:calc(55px + var(--env-banner-h, 0px));z-index:999;overflow-y:auto;overflow-x:hidden;transition:width .3s ease;box-shadow:2px 0 5px #0000000d}.static-sidebar.collapsed{width:64px;box-shadow:none}.static-sidebar .static-sidebar-content{flex:1;background:transparent;overflow:hidden}.static-sidebar .tree-container{padding:5px 0;overflow-x:hidden}.static-sidebar .tree-node{margin-bottom:4px;position:relative}.static-sidebar .tree-node .node-item{display:flex;align-items:center;padding:10px 12px;border-radius:4px;margin:0 5px;cursor:pointer;transition:all .25s ease;text-decoration:none;color:#cbd5e1!important;overflow:visible;position:relative;white-space:nowrap}.static-sidebar .tree-node .node-item:before{content:\"\";position:absolute;width:0;height:100%;top:0;left:0;background-color:var(--primary-color);opacity:.08;transition:width .25s ease-in-out}.static-sidebar .tree-node .node-item:hover{color:#e8e7e7!important}.static-sidebar .tree-node .node-item:hover:before{width:100%}.static-sidebar .tree-node .node-item:hover .node-label{color:#e8e7e7!important}.static-sidebar .tree-node .node-item:hover .node-icon{color:#e8e7e7!important;transform:translate(2px)}.static-sidebar .tree-node .node-item.is-page:hover{color:#e8e7e7!important}.static-sidebar .tree-node .node-item.is-page:hover:before{width:100%}.static-sidebar .tree-node .node-item.active{background-color:#495465!important;color:#e8e7e7!important;font-weight:500!important;box-shadow:0 2px 5px #0000001a!important}.static-sidebar .tree-node .node-item.active:before{display:none}.static-sidebar .tree-node .node-item.active .node-label,.static-sidebar .tree-node .node-item.active .node-icon,.static-sidebar .tree-node .node-item.active .toggle-btn i{color:#e8e7e7!important}.static-sidebar .tree-node .node-item.active:hover{background-color:var(--primary-color)}.static-sidebar .tree-node .node-item.is-action{cursor:pointer}.static-sidebar .tree-node .node-item.is-action.action-loading{opacity:.7;pointer-events:none}.static-sidebar .tree-node .node-content{display:flex;align-items:center;gap:8px;width:100%;min-width:0;position:relative;z-index:2;padding-left:24px}.static-sidebar .tree-node .toggle-btn{position:absolute;left:0;display:flex;align-items:center;justify-content:center;width:20px;height:16px;border:none;border-radius:3px;color:#cbd5e1;cursor:pointer;transition:all .25s ease;flex-shrink:0;z-index:3}.static-sidebar .tree-node .toggle-btn:hover{transform:scale(1.1)}.static-sidebar .tree-node .toggle-btn i{font-size:.7rem;transition:transform .2s ease}.static-sidebar .tree-node .node-icon{color:#cbd5e1;font-size:16px;flex-shrink:0;transition:transform .25s ease,color .25s ease;position:relative}.static-sidebar .tree-node .node-label{flex:1;font-size:13px;font-weight:500;color:#cbd5e1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .25s ease;position:relative}.static-sidebar .collapsed-container{padding:8px 0;display:flex;flex-direction:column;align-items:center;width:100%}.static-sidebar .collapsed-item{width:100%;display:flex;flex-direction:column;align-items:center;padding:12px 0;cursor:pointer;transition:all .25s ease;text-decoration:none;position:relative;overflow:hidden;margin-bottom:4px;color:#cbd5e1}.static-sidebar .collapsed-item:hover{color:#e8e7e7}.static-sidebar .collapsed-item:hover .collapsed-icon{transform:scale(1.15);color:#e8e7e7}.static-sidebar .collapsed-item:hover:after{content:\"\";position:absolute;left:0;top:0;width:3px;height:100%;background-color:#0f172a;opacity:.7}.static-sidebar .collapsed-item.active{background-color:#495465!important}.static-sidebar .collapsed-item.active:before{content:\"\";position:absolute;left:0;top:0;width:3px;height:100%;background-color:#0f172a}.static-sidebar .collapsed-item.active .collapsed-icon{color:#fff!important}.static-sidebar .collapsed-item .collapsed-icon{font-size:22px;color:#cbd5e1;transition:all .2s ease}.static-sidebar .children-container{position:relative}.static-sidebar .children-container:before{content:\"\";position:absolute;left:25px;top:0;bottom:0;width:1px;background-color:#4755694d;z-index:1}.static-sidebar .tree-node{position:relative}.static-sidebar .tree-node.level-0 .node-item{margin-right:20px;width:240px;max-width:240px}.static-sidebar .tree-node.level-0 .node-label{font-size:13px;font-weight:500;color:#cbd5e1}.static-sidebar .tree-node.level-0 .node-icon{font-size:16px}.static-sidebar .tree-node.level-1 .node-item{margin-left:36px;margin-right:20px;padding:8px 12px;width:204px;max-width:204px}.static-sidebar .tree-node.level-1 .node-label{font-size:12px;font-weight:400}.static-sidebar .tree-node.level-1 .node-icon{font-size:15px}.static-sidebar .tree-node.level-2 .node-item{margin-left:52px;margin-right:20px;width:188px;max-width:188px}.static-sidebar .tree-node.level-2 .node-label{font-size:11px;font-weight:400;color:#cbd5e1}.static-sidebar .tree-node.level-2 .node-icon{font-size:14px}.static-sidebar .tree-node.level-2.active .node-item{background-color:#495465!important}.static-sidebar .tree-node.level-2.active .node-item .node-label{color:#e8e7e7!important}.static-sidebar .tree-node.level-3 .node-item{margin-left:68px;margin-right:20px;padding:6px 12px;width:172px;max-width:172px}.static-sidebar .tree-node.level-3 .node-label{font-size:11px;font-weight:400;color:#cbd5e1}.static-sidebar .tree-node.level-3 .node-icon{font-size:13px}:host ::ng-deep .p-scrollpanel .p-scrollpanel-wrapper{border:none}:host ::ng-deep .p-scrollpanel .p-scrollpanel-content{padding-right:5px}:host ::ng-deep .p-scrollpanel-bar-y{background:#1e293b;width:4px;border-radius:4px}:host ::ng-deep .p-scrollpanel-bar-y:hover{background:#1e293b}\n"] }]
2651
- }], ctorParameters: () => [{ type: AppMenuService }, { type: i1$2.Router }, { type: LayoutService }, { type: i1$3.TranslateJsonPipe }, { type: i5.TranslocoService }, { type: i7$3.HttpClient }, { type: i3.ConfirmationService }] });
3614
+ }], ctorParameters: () => [{ type: AppMenuService }, { type: i1$3.Router }, { type: LayoutService }, { type: i1$4.TranslateJsonPipe }, { type: i5.TranslocoService }, { type: i1.HttpClient }, { type: i3.ConfirmationService }] });
2652
3615
 
2653
3616
  class NotificationsService extends RestClient {
2654
3617
  constructor() {
@@ -2664,8 +3627,8 @@ class NotificationsService extends RestClient {
2664
3627
  markAllAsReadNotification(post) {
2665
3628
  return new Observable();
2666
3629
  }
2667
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: NotificationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2668
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: NotificationsService, providedIn: 'root' }); }
3630
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3631
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationsService, providedIn: 'root' }); }
2669
3632
  }
2670
3633
  __decorate([
2671
3634
  ServiceCall(HTTPMethods.POST, ProxyTypes.ClientSide, 'audits/search')
@@ -2676,7 +3639,7 @@ __decorate([
2676
3639
  __decorate([
2677
3640
  ServiceCall(HTTPMethods.PUTBYPARAMS, ProxyTypes.ClientSide, 'audits/read-all', { success: 'notifications.markedAllAsRead' })
2678
3641
  ], NotificationsService.prototype, "markAllAsReadNotification", null);
2679
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: NotificationsService, decorators: [{
3642
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationsService, decorators: [{
2680
3643
  type: Injectable,
2681
3644
  args: [{ providedIn: 'root' }]
2682
3645
  }], ctorParameters: () => [], propDecorators: { getNotifications: [], markAsReadNotification: [], markAllAsReadNotification: [] } });
@@ -2724,7 +3687,7 @@ class NotificationsSidebarComponent {
2724
3687
  markAllAsRead: new Subject(),
2725
3688
  loadNotifications: new Subject()
2726
3689
  };
2727
- this.markAsReadService = toSignal(this.subjects.markAsRead.pipe(mergeMap((id) => this.notificationsService.markAsReadNotification(id).pipe(map$1((result) => ({ result, id }))))));
3690
+ this.markAsReadService = toSignal(this.subjects.markAsRead.pipe(mergeMap((id) => this.notificationsService.markAsReadNotification(id).pipe(map((result) => ({ result, id }))))));
2728
3691
  this.markAllAsReadService = toSignal(this.subjects.markAllAsRead.pipe(switchMap(() => this.notificationsService.markAllAsReadNotification({
2729
3692
  toList: [this.getUserMail, ...this.getUserPhones],
2730
3693
  endDate: new Date().dateToLong('time') || 0
@@ -2922,10 +3885,10 @@ class NotificationsSidebarComponent {
2922
3885
  this.router.navigate(['mng/control-management/sms-email-audit']);
2923
3886
  this.visible = false;
2924
3887
  }
2925
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: NotificationsSidebarComponent, deps: [{ token: LayoutService }, { token: NotificationsService }, { token: i5.TranslocoService }, { token: i1$2.Router }, { token: i1.KeycloakService }], target: i0.ɵɵFactoryTarget.Component }); }
2926
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: NotificationsSidebarComponent, isStandalone: true, selector: "app-notifications-sidebar", ngImport: i0, template: "<p-sidebar\r\n\t[(visible)]=\"visible\"\r\n\tposition=\"right\"\r\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\r\n\tstyleClass=\"layout-notifications-sidebar w-full sm:w-30rem\"\r\n\t(onShow)=\"onSidebarShow()\"\r\n\t*transloco=\"let t; read: 'notifications'\">\r\n\t<ng-template pTemplate=\"header\">\r\n\t\t<div class=\"flex align-items-center justify-content-between w-full\">\r\n\t\t\t<div class=\"flex align-items-center gap-2\">\r\n\t\t\t\t<i class=\"pi pi-bell text-xl\"></i>\r\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('title') }}</span>\r\n\t\t\t\t@if (unreadCount > 0) {\r\n\t\t\t\t\t<span class=\"unread-count-chip\">{{ unreadCount }}</span>\r\n\t\t\t\t}\r\n\t\t\t</div>\r\n\t\t\t<div class=\"flex align-items-center gap-2 header-actions\">\r\n\t\t\t\t<span class=\"only-unread-label\">{{ t('onlyUnread') }}</span>\r\n\t\t\t\t<aril-switch [ngModel]=\"onlyUnread()\" (ngModelChange)=\"onOnlyUnreadChange($event)\"></aril-switch>\r\n\t\t\t\t<i class=\"pi pi-ellipsis-v header-menu-icon\" (click)=\"toggleMenu($event, headerMenu)\"></i>\r\n\t\t\t\t<p-menu #headerMenu [popup]=\"true\" [model]=\"menuItems\" appendTo=\"body\"></p-menu>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</ng-template>\r\n\r\n\t<div class=\"notifications-content\">\r\n\t\t@if (notifications().length > 0) {\r\n\t\t\t<div class=\"notifications-list\">\r\n\t\t\t\t<div class=\"notifications-items\">\r\n\t\t\t\t\t@for (notification of notifications(); track notification.id) {\r\n\t\t\t\t\t\t<div\r\n\t\t\t\t\t\t\tclass=\"notification-item\"\r\n\t\t\t\t\t\t\t[class.unread-item]=\"!notification.read\"\r\n\t\t\t\t\t\t\t[class.navigable]=\"isNavigable(notification)\"\r\n\t\t\t\t\t\t\t(click)=\"openNotification(notification)\">\r\n\t\t\t\t\t\t\t<div class=\"notification-icon\" [ngClass]=\"getNotificationIconClass(notification)\">\r\n\t\t\t\t\t\t\t\t<fa-icon [icon]=\"getNotificationIcon(notification)\" />\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div class=\"item-body\">\r\n\t\t\t\t\t\t\t\t<div class=\"item-header\">\r\n\t\t\t\t\t\t\t\t\t<p class=\"item-title\">{{ getNotificationTitle(notification) }}</p>\r\n\t\t\t\t\t\t\t\t\t<span class=\"item-time\">{{ formatNotificationDate(notification.sendingDate) }}</span>\r\n\t\t\t\t\t\t\t\t\t@if (!notification.read) {\r\n\t\t\t\t\t\t\t\t\t\t<span class=\"item-actions\">\r\n\t\t\t\t\t\t\t\t\t\t\t<fa-icon\r\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]=\"solidIcons.faCircle\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"unread-dot\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"t('markAsRead')\"\r\n\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"left\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"markNotificationAsRead(notification); $event.stopPropagation()\">\r\n\t\t\t\t\t\t\t\t\t\t\t</fa-icon>\r\n\t\t\t\t\t\t\t\t\t\t\t<button\r\n\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"mark-read-action\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"t('markAsRead')\"\r\n\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"left\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"markNotificationAsRead(notification); $event.stopPropagation()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"pi pi-check\"></i>\r\n\t\t\t\t\t\t\t\t\t\t\t</button>\r\n\t\t\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t@if (getNotificationContent(notification)) {\r\n\t\t\t\t\t\t\t\t\t@if (notification.type === ActivityTypesEnum.EMAIL) {\r\n\t\t\t\t\t\t\t\t\t\t<div [innerHTML]=\"notification.content | safe: 'html'\" class=\"item-preview html-preview\"></div>\r\n\t\t\t\t\t\t\t\t\t} @else {\r\n\t\t\t\t\t\t\t\t\t\t<p class=\"item-preview\">{{ getNotificationContent(notification) }}</p>\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t@if (notification.detailNotificationType === DetailNotificationTypeEnum.TODO_ITEM) {\r\n\t\t\t\t\t\t\t\t\t<span class=\"nav-chip\">{{ t('goToTaskDetail') }} <i class=\"pi pi-arrow-right\"></i></span>\r\n\t\t\t\t\t\t\t\t} @else if (notification.detailNotificationType === DetailNotificationTypeEnum.BATCH_JOB) {\r\n\t\t\t\t\t\t\t\t\t<span class=\"nav-chip\">{{ t('goToBulkOperations') }} <i class=\"pi pi-arrow-right\"></i></span>\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t}\r\n\t\t\t\t\t@if (remainingCount() > 0) {\r\n\t\t\t\t\t\t<div class=\"show-more\">\r\n\t\t\t\t\t\t\t<aril-button\r\n\t\t\t\t\t\t\t\t[label]=\"t('showMore', { count: remainingCount() })\"\r\n\t\t\t\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t\t\t\t\tsize=\"sm\"\r\n\t\t\t\t\t\t\t\t[outlined]=\"true\"\r\n\t\t\t\t\t\t\t\t[loading]=\"loading\"\r\n\t\t\t\t\t\t\t\t(clickEvent)=\"showMore()\">\r\n\t\t\t\t\t\t\t</aril-button>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t}\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t} @else if (!loading) {\r\n\t\t\t<div class=\"empty-state\">\r\n\t\t\t\t<div class=\"empty-content\">\r\n\t\t\t\t\t<i class=\"pi pi-bell empty-icon\"></i>\r\n\t\t\t\t\t<h3 class=\"empty-title\">{{ t('noNotifications') }}</h3>\r\n\t\t\t\t\t<p class=\"empty-message\">{{ t('noNotificationsDescription') }}</p>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t}\r\n\t</div>\r\n</p-sidebar>\r\n", styles: [":host ::ng-deep .layout-notifications-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-notifications-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem 1.5rem}:host ::ng-deep .layout-notifications-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600}:host ::ng-deep .layout-notifications-sidebar .p-sidebar-header .p-sidebar-close{color:var(--primary-color-text)}:host ::ng-deep .layout-notifications-sidebar .p-sidebar-header .p-sidebar-close:enabled:hover{background:#ffffff26;color:var(--primary-color-text)}:host ::ng-deep .layout-notifications-sidebar .header-actions .p-inputswitch{transform:scale(.8)}:host ::ng-deep .layout-notifications-sidebar .header-actions .p-inputswitch .p-inputswitch-slider{background:#ffffff4d}:host ::ng-deep .layout-notifications-sidebar .header-actions .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider{background:var(--green-500)}:host ::ng-deep .layout-notifications-sidebar .header-actions .p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider{background:var(--green-600)}:host ::ng-deep .layout-notifications-sidebar .header-actions .only-unread-label{font-size:.78rem;font-weight:500}:host ::ng-deep .item-preview.html-preview *{font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;font-style:inherit!important;color:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;text-align:left!important;margin:0!important;padding:0!important;border:none!important;background:transparent!important;display:inline!important}:host ::ng-deep .item-preview.html-preview p:after,:host ::ng-deep .item-preview.html-preview div:after,:host ::ng-deep .item-preview.html-preview li:after{content:\" \"}:host ::ng-deep .item-preview.html-preview img,:host ::ng-deep .item-preview.html-preview table,:host ::ng-deep .item-preview.html-preview hr,:host ::ng-deep .item-preview.html-preview br{display:none!important}.notifications-content{display:flex;flex-direction:column;height:100%;background:var(--surface-ground)}.unread-count-chip{background:#ffffff40;border-radius:999px;font-size:.72rem!important;font-weight:600!important;padding:.1rem .55rem}.header-menu-icon{cursor:pointer;font-size:1.1rem;padding:.25rem;color:var(--primary-color-text);border-radius:6px;transition:background-color .15s ease}.header-menu-icon:hover{background:#ffffff26}.notifications-list{flex:1;overflow-y:auto}.notifications-items{display:flex;flex-direction:column;gap:.625rem;padding:.75rem}.notification-item{display:flex;gap:.75rem;padding:.875rem 1rem .875rem calc(1rem + 4px);background:var(--surface-card);border:1px solid var(--surface-border);border-radius:8px;transition:background-color .2s ease,border-color .2s ease}.notification-item:hover{background:var(--surface-hover)}.notification-item:hover .unread-dot{display:none}.notification-item:hover .mark-read-action{display:flex}.notification-item.navigable{cursor:pointer}.notification-item.unread-item{border-left-width:5px;border-left-color:var(--primary-color);padding-left:1rem}.notification-item.unread-item .item-title{font-weight:600;color:var(--text-color)}.notification-icon{width:2.25rem;height:2.25rem;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.notification-icon fa-icon{font-size:.9rem}.notification-icon.todo{background:var(--purple-100);color:var(--purple-600)}.notification-icon.batch{background:var(--orange-100);color:var(--orange-600)}.notification-icon.sms{background:var(--green-100);color:var(--green-600)}.notification-icon.email-unread{background:var(--blue-100);color:var(--blue-600)}.notification-icon.email-read{background:var(--surface-200);color:var(--text-color-secondary)}.item-body{flex:1;min-width:0}.item-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.3rem;min-height:1.5rem}.item-title{flex:1;min-width:0;margin:0;font-size:.875rem;font-weight:500;color:var(--text-color-secondary);line-height:1.4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.item-time{font-size:.72rem;color:var(--text-color-secondary);white-space:nowrap}.item-actions{display:inline-flex;align-items:center;justify-content:center;width:1.5rem;flex-shrink:0}.unread-dot{color:var(--primary-color);font-size:.5rem;cursor:pointer;opacity:.85}.unread-dot:hover{opacity:1}.mark-read-action{display:none;width:1.5rem;height:1.5rem;border-radius:6px;border:1px solid var(--surface-border);background:var(--surface-card);color:var(--text-color-secondary);align-items:center;justify-content:center;cursor:pointer;padding:0}.mark-read-action:hover{color:var(--primary-color);border-color:var(--primary-color)}.mark-read-action i{font-size:.7rem}.item-preview{margin:0;font-size:.8rem;color:var(--text-color-secondary);line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;word-break:break-word;white-space:normal}.nav-chip{display:inline-flex;align-items:center;gap:.3rem;margin-top:.4rem;font-size:.75rem;font-weight:600;color:var(--primary-color)}.nav-chip i{font-size:.65rem}.notification-item.navigable:hover .nav-chip{text-decoration:underline}.show-more{display:flex;justify-content:center;padding:.25rem 0 .5rem}.empty-state{display:flex;align-items:center;justify-content:center;flex:1;padding:2rem}.empty-state .empty-content{text-align:center}.empty-state .empty-content .empty-icon{font-size:4rem;color:var(--text-color-secondary);opacity:.3;margin-bottom:1rem}.empty-state .empty-content .empty-title{font-size:1.25rem;font-weight:600;color:var(--text-color);margin-bottom:.5rem}.empty-state .empty-content .empty-message{color:var(--text-color-secondary);margin:0}@media (max-width: 768px){.layout-notifications-sidebar ::ng-deep .p-sidebar{width:100%!important}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SidebarModule }, { kind: "component", type: i6$1.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen"], outputs: ["onShow", "onHide", "visibleChange"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: MenuModule }, { kind: "component", type: i10$1.Menu, selector: "p-menu", inputs: ["model", "popup", "style", "styleClass", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaLabel", "ariaLabelledBy", "id", "tabindex"], outputs: ["onShow", "onHide", "onBlur", "onFocus"] }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "component", type: SwitchComponent, selector: "aril-switch[ngModel], aril-switch[formControl], aril-switch[formControlName]", inputs: ["tabindex"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i10.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "pipe", type: SafePipe, name: "safe" }] }); }
3888
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationsSidebarComponent, deps: [{ token: LayoutService }, { token: NotificationsService }, { token: i5.TranslocoService }, { token: i1$3.Router }, { token: i1$1.KeycloakService }], target: i0.ɵɵFactoryTarget.Component }); }
3889
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: NotificationsSidebarComponent, isStandalone: true, selector: "app-notifications-sidebar", ngImport: i0, template: "<p-sidebar\n\t[(visible)]=\"visible\"\n\tposition=\"right\"\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\n\tstyleClass=\"layout-notifications-sidebar w-full sm:w-30rem\"\n\t(onShow)=\"onSidebarShow()\"\n\t*transloco=\"let t; read: 'notifications'\">\n\t<ng-template pTemplate=\"header\">\n\t\t<div class=\"flex align-items-center justify-content-between w-full\">\n\t\t\t<div class=\"flex align-items-center gap-2\">\n\t\t\t\t<i class=\"pi pi-bell text-xl\"></i>\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('title') }}</span>\n\t\t\t\t@if (unreadCount > 0) {\n\t\t\t\t\t<span class=\"unread-count-chip\">{{ unreadCount }}</span>\n\t\t\t\t}\n\t\t\t</div>\n\t\t\t<div class=\"flex align-items-center gap-2 header-actions\">\n\t\t\t\t<span class=\"only-unread-label\">{{ t('onlyUnread') }}</span>\n\t\t\t\t<aril-switch [ngModel]=\"onlyUnread()\" (ngModelChange)=\"onOnlyUnreadChange($event)\"></aril-switch>\n\t\t\t\t<i class=\"pi pi-ellipsis-v header-menu-icon\" (click)=\"toggleMenu($event, headerMenu)\"></i>\n\t\t\t\t<p-menu #headerMenu [popup]=\"true\" [model]=\"menuItems\" appendTo=\"body\"></p-menu>\n\t\t\t</div>\n\t\t</div>\n\t</ng-template>\n\n\t<div class=\"notifications-content\">\n\t\t@if (notifications().length > 0) {\n\t\t\t<div class=\"notifications-list\">\n\t\t\t\t<div class=\"notifications-items\">\n\t\t\t\t\t@for (notification of notifications(); track notification.id) {\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass=\"notification-item\"\n\t\t\t\t\t\t\t[class.unread-item]=\"!notification.read\"\n\t\t\t\t\t\t\t[class.navigable]=\"isNavigable(notification)\"\n\t\t\t\t\t\t\t(click)=\"openNotification(notification)\">\n\t\t\t\t\t\t\t<div class=\"notification-icon\" [ngClass]=\"getNotificationIconClass(notification)\">\n\t\t\t\t\t\t\t\t<fa-icon [icon]=\"getNotificationIcon(notification)\" />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"item-body\">\n\t\t\t\t\t\t\t\t<div class=\"item-header\">\n\t\t\t\t\t\t\t\t\t<p class=\"item-title\">{{ getNotificationTitle(notification) }}</p>\n\t\t\t\t\t\t\t\t\t<span class=\"item-time\">{{ formatNotificationDate(notification.sendingDate) }}</span>\n\t\t\t\t\t\t\t\t\t@if (!notification.read) {\n\t\t\t\t\t\t\t\t\t\t<span class=\"item-actions\">\n\t\t\t\t\t\t\t\t\t\t\t<fa-icon\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]=\"solidIcons.faCircle\"\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"unread-dot\"\n\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"t('markAsRead')\"\n\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"left\"\n\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"markNotificationAsRead(notification); $event.stopPropagation()\">\n\t\t\t\t\t\t\t\t\t\t\t</fa-icon>\n\t\t\t\t\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"mark-read-action\"\n\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"t('markAsRead')\"\n\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"left\"\n\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"markNotificationAsRead(notification); $event.stopPropagation()\">\n\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"pi pi-check\"></i>\n\t\t\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t@if (getNotificationContent(notification)) {\n\t\t\t\t\t\t\t\t\t@if (notification.type === ActivityTypesEnum.EMAIL) {\n\t\t\t\t\t\t\t\t\t\t<div [innerHTML]=\"notification.content | safe: 'html'\" class=\"item-preview html-preview\"></div>\n\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t<p class=\"item-preview\">{{ getNotificationContent(notification) }}</p>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t@if (notification.detailNotificationType === DetailNotificationTypeEnum.TODO_ITEM) {\n\t\t\t\t\t\t\t\t\t<span class=\"nav-chip\">{{ t('goToTaskDetail') }} <i class=\"pi pi-arrow-right\"></i></span>\n\t\t\t\t\t\t\t\t} @else if (notification.detailNotificationType === DetailNotificationTypeEnum.BATCH_JOB) {\n\t\t\t\t\t\t\t\t\t<span class=\"nav-chip\">{{ t('goToBulkOperations') }} <i class=\"pi pi-arrow-right\"></i></span>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t\t@if (remainingCount() > 0) {\n\t\t\t\t\t\t<div class=\"show-more\">\n\t\t\t\t\t\t\t<aril-button\n\t\t\t\t\t\t\t\t[label]=\"t('showMore', { count: remainingCount() })\"\n\t\t\t\t\t\t\t\tcolor=\"primary\"\n\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t\t[outlined]=\"true\"\n\t\t\t\t\t\t\t\t[loading]=\"loading\"\n\t\t\t\t\t\t\t\t(clickEvent)=\"showMore()\">\n\t\t\t\t\t\t\t</aril-button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t} @else if (!loading) {\n\t\t\t<div class=\"empty-state\">\n\t\t\t\t<div class=\"empty-content\">\n\t\t\t\t\t<i class=\"pi pi-bell empty-icon\"></i>\n\t\t\t\t\t<h3 class=\"empty-title\">{{ t('noNotifications') }}</h3>\n\t\t\t\t\t<p class=\"empty-message\">{{ t('noNotificationsDescription') }}</p>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t</div>\n</p-sidebar>\n", styles: [":host ::ng-deep .layout-notifications-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-notifications-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem 1.5rem}:host ::ng-deep .layout-notifications-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600}:host ::ng-deep .layout-notifications-sidebar .p-sidebar-header .p-sidebar-close{color:var(--primary-color-text)}:host ::ng-deep .layout-notifications-sidebar .p-sidebar-header .p-sidebar-close:enabled:hover{background:#ffffff26;color:var(--primary-color-text)}:host ::ng-deep .layout-notifications-sidebar .header-actions .p-inputswitch{transform:scale(.8)}:host ::ng-deep .layout-notifications-sidebar .header-actions .p-inputswitch .p-inputswitch-slider{background:#ffffff4d}:host ::ng-deep .layout-notifications-sidebar .header-actions .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider{background:var(--green-500)}:host ::ng-deep .layout-notifications-sidebar .header-actions .p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider{background:var(--green-600)}:host ::ng-deep .layout-notifications-sidebar .header-actions .only-unread-label{font-size:.78rem;font-weight:500}:host ::ng-deep .item-preview.html-preview *{font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;font-style:inherit!important;color:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;text-align:left!important;margin:0!important;padding:0!important;border:none!important;background:transparent!important;display:inline!important}:host ::ng-deep .item-preview.html-preview p:after,:host ::ng-deep .item-preview.html-preview div:after,:host ::ng-deep .item-preview.html-preview li:after{content:\" \"}:host ::ng-deep .item-preview.html-preview img,:host ::ng-deep .item-preview.html-preview table,:host ::ng-deep .item-preview.html-preview hr,:host ::ng-deep .item-preview.html-preview br{display:none!important}.notifications-content{display:flex;flex-direction:column;height:100%;background:var(--surface-ground)}.unread-count-chip{background:#ffffff40;border-radius:999px;font-size:.72rem!important;font-weight:600!important;padding:.1rem .55rem}.header-menu-icon{cursor:pointer;font-size:1.1rem;padding:.25rem;color:var(--primary-color-text);border-radius:6px;transition:background-color .15s ease}.header-menu-icon:hover{background:#ffffff26}.notifications-list{flex:1;overflow-y:auto}.notifications-items{display:flex;flex-direction:column;gap:.625rem;padding:.75rem}.notification-item{display:flex;gap:.75rem;padding:.875rem 1rem .875rem calc(1rem + 4px);background:var(--surface-card);border:1px solid var(--surface-border);border-radius:8px;transition:background-color .2s ease,border-color .2s ease}.notification-item:hover{background:var(--surface-hover)}.notification-item:hover .unread-dot{display:none}.notification-item:hover .mark-read-action{display:flex}.notification-item.navigable{cursor:pointer}.notification-item.unread-item{border-left-width:5px;border-left-color:var(--primary-color);padding-left:1rem}.notification-item.unread-item .item-title{font-weight:600;color:var(--text-color)}.notification-icon{width:2.25rem;height:2.25rem;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.notification-icon fa-icon{font-size:.9rem}.notification-icon.todo{background:var(--purple-100);color:var(--purple-600)}.notification-icon.batch{background:var(--orange-100);color:var(--orange-600)}.notification-icon.sms{background:var(--green-100);color:var(--green-600)}.notification-icon.email-unread{background:var(--blue-100);color:var(--blue-600)}.notification-icon.email-read{background:var(--surface-200);color:var(--text-color-secondary)}.item-body{flex:1;min-width:0}.item-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.3rem;min-height:1.5rem}.item-title{flex:1;min-width:0;margin:0;font-size:.875rem;font-weight:500;color:var(--text-color-secondary);line-height:1.4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.item-time{font-size:.72rem;color:var(--text-color-secondary);white-space:nowrap}.item-actions{display:inline-flex;align-items:center;justify-content:center;width:1.5rem;flex-shrink:0}.unread-dot{color:var(--primary-color);font-size:.5rem;cursor:pointer;opacity:.85}.unread-dot:hover{opacity:1}.mark-read-action{display:none;width:1.5rem;height:1.5rem;border-radius:6px;border:1px solid var(--surface-border);background:var(--surface-card);color:var(--text-color-secondary);align-items:center;justify-content:center;cursor:pointer;padding:0}.mark-read-action:hover{color:var(--primary-color);border-color:var(--primary-color)}.mark-read-action i{font-size:.7rem}.item-preview{margin:0;font-size:.8rem;color:var(--text-color-secondary);line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;word-break:break-word;white-space:normal}.nav-chip{display:inline-flex;align-items:center;gap:.3rem;margin-top:.4rem;font-size:.75rem;font-weight:600;color:var(--primary-color)}.nav-chip i{font-size:.65rem}.notification-item.navigable:hover .nav-chip{text-decoration:underline}.show-more{display:flex;justify-content:center;padding:.25rem 0 .5rem}.empty-state{display:flex;align-items:center;justify-content:center;flex:1;padding:2rem}.empty-state .empty-content{text-align:center}.empty-state .empty-content .empty-icon{font-size:4rem;color:var(--text-color-secondary);opacity:.3;margin-bottom:1rem}.empty-state .empty-content .empty-title{font-size:1.25rem;font-weight:600;color:var(--text-color);margin-bottom:.5rem}.empty-state .empty-content .empty-message{color:var(--text-color-secondary);margin:0}@media (max-width: 768px){.layout-notifications-sidebar ::ng-deep .p-sidebar{width:100%!important}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SidebarModule }, { kind: "component", type: i6$1.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen"], outputs: ["onShow", "onHide", "visibleChange"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: MenuModule }, { kind: "component", type: i10$2.Menu, selector: "p-menu", inputs: ["model", "popup", "style", "styleClass", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaLabel", "ariaLabelledBy", "id", "tabindex"], outputs: ["onShow", "onHide", "onBlur", "onFocus"] }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "component", type: SwitchComponent, selector: "aril-switch[ngModel], aril-switch[formControl], aril-switch[formControlName]", inputs: ["tabindex"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i5.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoLang", "translocoLoadingTpl"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i10.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "pipe", type: SafePipe, name: "safe" }] }); }
2927
3890
  }
2928
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: NotificationsSidebarComponent, decorators: [{
3891
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationsSidebarComponent, decorators: [{
2929
3892
  type: Component,
2930
3893
  args: [{ standalone: true, selector: 'app-notifications-sidebar', imports: [
2931
3894
  CommonModule,
@@ -2938,8 +3901,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
2938
3901
  TooltipModule,
2939
3902
  FontAwesomeModule,
2940
3903
  SafePipe
2941
- ], template: "<p-sidebar\r\n\t[(visible)]=\"visible\"\r\n\tposition=\"right\"\r\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\r\n\tstyleClass=\"layout-notifications-sidebar w-full sm:w-30rem\"\r\n\t(onShow)=\"onSidebarShow()\"\r\n\t*transloco=\"let t; read: 'notifications'\">\r\n\t<ng-template pTemplate=\"header\">\r\n\t\t<div class=\"flex align-items-center justify-content-between w-full\">\r\n\t\t\t<div class=\"flex align-items-center gap-2\">\r\n\t\t\t\t<i class=\"pi pi-bell text-xl\"></i>\r\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('title') }}</span>\r\n\t\t\t\t@if (unreadCount > 0) {\r\n\t\t\t\t\t<span class=\"unread-count-chip\">{{ unreadCount }}</span>\r\n\t\t\t\t}\r\n\t\t\t</div>\r\n\t\t\t<div class=\"flex align-items-center gap-2 header-actions\">\r\n\t\t\t\t<span class=\"only-unread-label\">{{ t('onlyUnread') }}</span>\r\n\t\t\t\t<aril-switch [ngModel]=\"onlyUnread()\" (ngModelChange)=\"onOnlyUnreadChange($event)\"></aril-switch>\r\n\t\t\t\t<i class=\"pi pi-ellipsis-v header-menu-icon\" (click)=\"toggleMenu($event, headerMenu)\"></i>\r\n\t\t\t\t<p-menu #headerMenu [popup]=\"true\" [model]=\"menuItems\" appendTo=\"body\"></p-menu>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</ng-template>\r\n\r\n\t<div class=\"notifications-content\">\r\n\t\t@if (notifications().length > 0) {\r\n\t\t\t<div class=\"notifications-list\">\r\n\t\t\t\t<div class=\"notifications-items\">\r\n\t\t\t\t\t@for (notification of notifications(); track notification.id) {\r\n\t\t\t\t\t\t<div\r\n\t\t\t\t\t\t\tclass=\"notification-item\"\r\n\t\t\t\t\t\t\t[class.unread-item]=\"!notification.read\"\r\n\t\t\t\t\t\t\t[class.navigable]=\"isNavigable(notification)\"\r\n\t\t\t\t\t\t\t(click)=\"openNotification(notification)\">\r\n\t\t\t\t\t\t\t<div class=\"notification-icon\" [ngClass]=\"getNotificationIconClass(notification)\">\r\n\t\t\t\t\t\t\t\t<fa-icon [icon]=\"getNotificationIcon(notification)\" />\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div class=\"item-body\">\r\n\t\t\t\t\t\t\t\t<div class=\"item-header\">\r\n\t\t\t\t\t\t\t\t\t<p class=\"item-title\">{{ getNotificationTitle(notification) }}</p>\r\n\t\t\t\t\t\t\t\t\t<span class=\"item-time\">{{ formatNotificationDate(notification.sendingDate) }}</span>\r\n\t\t\t\t\t\t\t\t\t@if (!notification.read) {\r\n\t\t\t\t\t\t\t\t\t\t<span class=\"item-actions\">\r\n\t\t\t\t\t\t\t\t\t\t\t<fa-icon\r\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]=\"solidIcons.faCircle\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"unread-dot\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"t('markAsRead')\"\r\n\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"left\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"markNotificationAsRead(notification); $event.stopPropagation()\">\r\n\t\t\t\t\t\t\t\t\t\t\t</fa-icon>\r\n\t\t\t\t\t\t\t\t\t\t\t<button\r\n\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"mark-read-action\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"t('markAsRead')\"\r\n\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"left\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"markNotificationAsRead(notification); $event.stopPropagation()\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"pi pi-check\"></i>\r\n\t\t\t\t\t\t\t\t\t\t\t</button>\r\n\t\t\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t@if (getNotificationContent(notification)) {\r\n\t\t\t\t\t\t\t\t\t@if (notification.type === ActivityTypesEnum.EMAIL) {\r\n\t\t\t\t\t\t\t\t\t\t<div [innerHTML]=\"notification.content | safe: 'html'\" class=\"item-preview html-preview\"></div>\r\n\t\t\t\t\t\t\t\t\t} @else {\r\n\t\t\t\t\t\t\t\t\t\t<p class=\"item-preview\">{{ getNotificationContent(notification) }}</p>\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t@if (notification.detailNotificationType === DetailNotificationTypeEnum.TODO_ITEM) {\r\n\t\t\t\t\t\t\t\t\t<span class=\"nav-chip\">{{ t('goToTaskDetail') }} <i class=\"pi pi-arrow-right\"></i></span>\r\n\t\t\t\t\t\t\t\t} @else if (notification.detailNotificationType === DetailNotificationTypeEnum.BATCH_JOB) {\r\n\t\t\t\t\t\t\t\t\t<span class=\"nav-chip\">{{ t('goToBulkOperations') }} <i class=\"pi pi-arrow-right\"></i></span>\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t}\r\n\t\t\t\t\t@if (remainingCount() > 0) {\r\n\t\t\t\t\t\t<div class=\"show-more\">\r\n\t\t\t\t\t\t\t<aril-button\r\n\t\t\t\t\t\t\t\t[label]=\"t('showMore', { count: remainingCount() })\"\r\n\t\t\t\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t\t\t\t\tsize=\"sm\"\r\n\t\t\t\t\t\t\t\t[outlined]=\"true\"\r\n\t\t\t\t\t\t\t\t[loading]=\"loading\"\r\n\t\t\t\t\t\t\t\t(clickEvent)=\"showMore()\">\r\n\t\t\t\t\t\t\t</aril-button>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t}\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t} @else if (!loading) {\r\n\t\t\t<div class=\"empty-state\">\r\n\t\t\t\t<div class=\"empty-content\">\r\n\t\t\t\t\t<i class=\"pi pi-bell empty-icon\"></i>\r\n\t\t\t\t\t<h3 class=\"empty-title\">{{ t('noNotifications') }}</h3>\r\n\t\t\t\t\t<p class=\"empty-message\">{{ t('noNotificationsDescription') }}</p>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t}\r\n\t</div>\r\n</p-sidebar>\r\n", styles: [":host ::ng-deep .layout-notifications-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-notifications-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem 1.5rem}:host ::ng-deep .layout-notifications-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600}:host ::ng-deep .layout-notifications-sidebar .p-sidebar-header .p-sidebar-close{color:var(--primary-color-text)}:host ::ng-deep .layout-notifications-sidebar .p-sidebar-header .p-sidebar-close:enabled:hover{background:#ffffff26;color:var(--primary-color-text)}:host ::ng-deep .layout-notifications-sidebar .header-actions .p-inputswitch{transform:scale(.8)}:host ::ng-deep .layout-notifications-sidebar .header-actions .p-inputswitch .p-inputswitch-slider{background:#ffffff4d}:host ::ng-deep .layout-notifications-sidebar .header-actions .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider{background:var(--green-500)}:host ::ng-deep .layout-notifications-sidebar .header-actions .p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider{background:var(--green-600)}:host ::ng-deep .layout-notifications-sidebar .header-actions .only-unread-label{font-size:.78rem;font-weight:500}:host ::ng-deep .item-preview.html-preview *{font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;font-style:inherit!important;color:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;text-align:left!important;margin:0!important;padding:0!important;border:none!important;background:transparent!important;display:inline!important}:host ::ng-deep .item-preview.html-preview p:after,:host ::ng-deep .item-preview.html-preview div:after,:host ::ng-deep .item-preview.html-preview li:after{content:\" \"}:host ::ng-deep .item-preview.html-preview img,:host ::ng-deep .item-preview.html-preview table,:host ::ng-deep .item-preview.html-preview hr,:host ::ng-deep .item-preview.html-preview br{display:none!important}.notifications-content{display:flex;flex-direction:column;height:100%;background:var(--surface-ground)}.unread-count-chip{background:#ffffff40;border-radius:999px;font-size:.72rem!important;font-weight:600!important;padding:.1rem .55rem}.header-menu-icon{cursor:pointer;font-size:1.1rem;padding:.25rem;color:var(--primary-color-text);border-radius:6px;transition:background-color .15s ease}.header-menu-icon:hover{background:#ffffff26}.notifications-list{flex:1;overflow-y:auto}.notifications-items{display:flex;flex-direction:column;gap:.625rem;padding:.75rem}.notification-item{display:flex;gap:.75rem;padding:.875rem 1rem .875rem calc(1rem + 4px);background:var(--surface-card);border:1px solid var(--surface-border);border-radius:8px;transition:background-color .2s ease,border-color .2s ease}.notification-item:hover{background:var(--surface-hover)}.notification-item:hover .unread-dot{display:none}.notification-item:hover .mark-read-action{display:flex}.notification-item.navigable{cursor:pointer}.notification-item.unread-item{border-left-width:5px;border-left-color:var(--primary-color);padding-left:1rem}.notification-item.unread-item .item-title{font-weight:600;color:var(--text-color)}.notification-icon{width:2.25rem;height:2.25rem;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.notification-icon fa-icon{font-size:.9rem}.notification-icon.todo{background:var(--purple-100);color:var(--purple-600)}.notification-icon.batch{background:var(--orange-100);color:var(--orange-600)}.notification-icon.sms{background:var(--green-100);color:var(--green-600)}.notification-icon.email-unread{background:var(--blue-100);color:var(--blue-600)}.notification-icon.email-read{background:var(--surface-200);color:var(--text-color-secondary)}.item-body{flex:1;min-width:0}.item-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.3rem;min-height:1.5rem}.item-title{flex:1;min-width:0;margin:0;font-size:.875rem;font-weight:500;color:var(--text-color-secondary);line-height:1.4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.item-time{font-size:.72rem;color:var(--text-color-secondary);white-space:nowrap}.item-actions{display:inline-flex;align-items:center;justify-content:center;width:1.5rem;flex-shrink:0}.unread-dot{color:var(--primary-color);font-size:.5rem;cursor:pointer;opacity:.85}.unread-dot:hover{opacity:1}.mark-read-action{display:none;width:1.5rem;height:1.5rem;border-radius:6px;border:1px solid var(--surface-border);background:var(--surface-card);color:var(--text-color-secondary);align-items:center;justify-content:center;cursor:pointer;padding:0}.mark-read-action:hover{color:var(--primary-color);border-color:var(--primary-color)}.mark-read-action i{font-size:.7rem}.item-preview{margin:0;font-size:.8rem;color:var(--text-color-secondary);line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;word-break:break-word;white-space:normal}.nav-chip{display:inline-flex;align-items:center;gap:.3rem;margin-top:.4rem;font-size:.75rem;font-weight:600;color:var(--primary-color)}.nav-chip i{font-size:.65rem}.notification-item.navigable:hover .nav-chip{text-decoration:underline}.show-more{display:flex;justify-content:center;padding:.25rem 0 .5rem}.empty-state{display:flex;align-items:center;justify-content:center;flex:1;padding:2rem}.empty-state .empty-content{text-align:center}.empty-state .empty-content .empty-icon{font-size:4rem;color:var(--text-color-secondary);opacity:.3;margin-bottom:1rem}.empty-state .empty-content .empty-title{font-size:1.25rem;font-weight:600;color:var(--text-color);margin-bottom:.5rem}.empty-state .empty-content .empty-message{color:var(--text-color-secondary);margin:0}@media (max-width: 768px){.layout-notifications-sidebar ::ng-deep .p-sidebar{width:100%!important}}\n"] }]
2942
- }], ctorParameters: () => [{ type: LayoutService }, { type: NotificationsService }, { type: i5.TranslocoService }, { type: i1$2.Router }, { type: i1.KeycloakService }] });
3904
+ ], template: "<p-sidebar\n\t[(visible)]=\"visible\"\n\tposition=\"right\"\n\t[transitionOptions]=\"'.3s cubic-bezier(0, 0, 0.2, 1)'\"\n\tstyleClass=\"layout-notifications-sidebar w-full sm:w-30rem\"\n\t(onShow)=\"onSidebarShow()\"\n\t*transloco=\"let t; read: 'notifications'\">\n\t<ng-template pTemplate=\"header\">\n\t\t<div class=\"flex align-items-center justify-content-between w-full\">\n\t\t\t<div class=\"flex align-items-center gap-2\">\n\t\t\t\t<i class=\"pi pi-bell text-xl\"></i>\n\t\t\t\t<span class=\"font-bold text-lg\">{{ t('title') }}</span>\n\t\t\t\t@if (unreadCount > 0) {\n\t\t\t\t\t<span class=\"unread-count-chip\">{{ unreadCount }}</span>\n\t\t\t\t}\n\t\t\t</div>\n\t\t\t<div class=\"flex align-items-center gap-2 header-actions\">\n\t\t\t\t<span class=\"only-unread-label\">{{ t('onlyUnread') }}</span>\n\t\t\t\t<aril-switch [ngModel]=\"onlyUnread()\" (ngModelChange)=\"onOnlyUnreadChange($event)\"></aril-switch>\n\t\t\t\t<i class=\"pi pi-ellipsis-v header-menu-icon\" (click)=\"toggleMenu($event, headerMenu)\"></i>\n\t\t\t\t<p-menu #headerMenu [popup]=\"true\" [model]=\"menuItems\" appendTo=\"body\"></p-menu>\n\t\t\t</div>\n\t\t</div>\n\t</ng-template>\n\n\t<div class=\"notifications-content\">\n\t\t@if (notifications().length > 0) {\n\t\t\t<div class=\"notifications-list\">\n\t\t\t\t<div class=\"notifications-items\">\n\t\t\t\t\t@for (notification of notifications(); track notification.id) {\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass=\"notification-item\"\n\t\t\t\t\t\t\t[class.unread-item]=\"!notification.read\"\n\t\t\t\t\t\t\t[class.navigable]=\"isNavigable(notification)\"\n\t\t\t\t\t\t\t(click)=\"openNotification(notification)\">\n\t\t\t\t\t\t\t<div class=\"notification-icon\" [ngClass]=\"getNotificationIconClass(notification)\">\n\t\t\t\t\t\t\t\t<fa-icon [icon]=\"getNotificationIcon(notification)\" />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"item-body\">\n\t\t\t\t\t\t\t\t<div class=\"item-header\">\n\t\t\t\t\t\t\t\t\t<p class=\"item-title\">{{ getNotificationTitle(notification) }}</p>\n\t\t\t\t\t\t\t\t\t<span class=\"item-time\">{{ formatNotificationDate(notification.sendingDate) }}</span>\n\t\t\t\t\t\t\t\t\t@if (!notification.read) {\n\t\t\t\t\t\t\t\t\t\t<span class=\"item-actions\">\n\t\t\t\t\t\t\t\t\t\t\t<fa-icon\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]=\"solidIcons.faCircle\"\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"unread-dot\"\n\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"t('markAsRead')\"\n\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"left\"\n\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"markNotificationAsRead(notification); $event.stopPropagation()\">\n\t\t\t\t\t\t\t\t\t\t\t</fa-icon>\n\t\t\t\t\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"mark-read-action\"\n\t\t\t\t\t\t\t\t\t\t\t\t[pTooltip]=\"t('markAsRead')\"\n\t\t\t\t\t\t\t\t\t\t\t\ttooltipPosition=\"left\"\n\t\t\t\t\t\t\t\t\t\t\t\t(click)=\"markNotificationAsRead(notification); $event.stopPropagation()\">\n\t\t\t\t\t\t\t\t\t\t\t\t<i class=\"pi pi-check\"></i>\n\t\t\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t@if (getNotificationContent(notification)) {\n\t\t\t\t\t\t\t\t\t@if (notification.type === ActivityTypesEnum.EMAIL) {\n\t\t\t\t\t\t\t\t\t\t<div [innerHTML]=\"notification.content | safe: 'html'\" class=\"item-preview html-preview\"></div>\n\t\t\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t\t\t<p class=\"item-preview\">{{ getNotificationContent(notification) }}</p>\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t@if (notification.detailNotificationType === DetailNotificationTypeEnum.TODO_ITEM) {\n\t\t\t\t\t\t\t\t\t<span class=\"nav-chip\">{{ t('goToTaskDetail') }} <i class=\"pi pi-arrow-right\"></i></span>\n\t\t\t\t\t\t\t\t} @else if (notification.detailNotificationType === DetailNotificationTypeEnum.BATCH_JOB) {\n\t\t\t\t\t\t\t\t\t<span class=\"nav-chip\">{{ t('goToBulkOperations') }} <i class=\"pi pi-arrow-right\"></i></span>\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t\t@if (remainingCount() > 0) {\n\t\t\t\t\t\t<div class=\"show-more\">\n\t\t\t\t\t\t\t<aril-button\n\t\t\t\t\t\t\t\t[label]=\"t('showMore', { count: remainingCount() })\"\n\t\t\t\t\t\t\t\tcolor=\"primary\"\n\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t\t[outlined]=\"true\"\n\t\t\t\t\t\t\t\t[loading]=\"loading\"\n\t\t\t\t\t\t\t\t(clickEvent)=\"showMore()\">\n\t\t\t\t\t\t\t</aril-button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t} @else if (!loading) {\n\t\t\t<div class=\"empty-state\">\n\t\t\t\t<div class=\"empty-content\">\n\t\t\t\t\t<i class=\"pi pi-bell empty-icon\"></i>\n\t\t\t\t\t<h3 class=\"empty-title\">{{ t('noNotifications') }}</h3>\n\t\t\t\t\t<p class=\"empty-message\">{{ t('noNotificationsDescription') }}</p>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t}\n\t</div>\n</p-sidebar>\n", styles: [":host ::ng-deep .layout-notifications-sidebar .p-sidebar-content{padding:0;background:var(--surface-ground)}:host ::ng-deep .layout-notifications-sidebar .p-sidebar-header{background:var(--primary-color);color:var(--primary-color-text);padding:1rem 1.5rem}:host ::ng-deep .layout-notifications-sidebar .p-sidebar-header span{font-size:1.1rem;font-weight:600}:host ::ng-deep .layout-notifications-sidebar .p-sidebar-header .p-sidebar-close{color:var(--primary-color-text)}:host ::ng-deep .layout-notifications-sidebar .p-sidebar-header .p-sidebar-close:enabled:hover{background:#ffffff26;color:var(--primary-color-text)}:host ::ng-deep .layout-notifications-sidebar .header-actions .p-inputswitch{transform:scale(.8)}:host ::ng-deep .layout-notifications-sidebar .header-actions .p-inputswitch .p-inputswitch-slider{background:#ffffff4d}:host ::ng-deep .layout-notifications-sidebar .header-actions .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider{background:var(--green-500)}:host ::ng-deep .layout-notifications-sidebar .header-actions .p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider{background:var(--green-600)}:host ::ng-deep .layout-notifications-sidebar .header-actions .only-unread-label{font-size:.78rem;font-weight:500}:host ::ng-deep .item-preview.html-preview *{font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;font-style:inherit!important;color:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;text-align:left!important;margin:0!important;padding:0!important;border:none!important;background:transparent!important;display:inline!important}:host ::ng-deep .item-preview.html-preview p:after,:host ::ng-deep .item-preview.html-preview div:after,:host ::ng-deep .item-preview.html-preview li:after{content:\" \"}:host ::ng-deep .item-preview.html-preview img,:host ::ng-deep .item-preview.html-preview table,:host ::ng-deep .item-preview.html-preview hr,:host ::ng-deep .item-preview.html-preview br{display:none!important}.notifications-content{display:flex;flex-direction:column;height:100%;background:var(--surface-ground)}.unread-count-chip{background:#ffffff40;border-radius:999px;font-size:.72rem!important;font-weight:600!important;padding:.1rem .55rem}.header-menu-icon{cursor:pointer;font-size:1.1rem;padding:.25rem;color:var(--primary-color-text);border-radius:6px;transition:background-color .15s ease}.header-menu-icon:hover{background:#ffffff26}.notifications-list{flex:1;overflow-y:auto}.notifications-items{display:flex;flex-direction:column;gap:.625rem;padding:.75rem}.notification-item{display:flex;gap:.75rem;padding:.875rem 1rem .875rem calc(1rem + 4px);background:var(--surface-card);border:1px solid var(--surface-border);border-radius:8px;transition:background-color .2s ease,border-color .2s ease}.notification-item:hover{background:var(--surface-hover)}.notification-item:hover .unread-dot{display:none}.notification-item:hover .mark-read-action{display:flex}.notification-item.navigable{cursor:pointer}.notification-item.unread-item{border-left-width:5px;border-left-color:var(--primary-color);padding-left:1rem}.notification-item.unread-item .item-title{font-weight:600;color:var(--text-color)}.notification-icon{width:2.25rem;height:2.25rem;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.notification-icon fa-icon{font-size:.9rem}.notification-icon.todo{background:var(--purple-100);color:var(--purple-600)}.notification-icon.batch{background:var(--orange-100);color:var(--orange-600)}.notification-icon.sms{background:var(--green-100);color:var(--green-600)}.notification-icon.email-unread{background:var(--blue-100);color:var(--blue-600)}.notification-icon.email-read{background:var(--surface-200);color:var(--text-color-secondary)}.item-body{flex:1;min-width:0}.item-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.3rem;min-height:1.5rem}.item-title{flex:1;min-width:0;margin:0;font-size:.875rem;font-weight:500;color:var(--text-color-secondary);line-height:1.4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.item-time{font-size:.72rem;color:var(--text-color-secondary);white-space:nowrap}.item-actions{display:inline-flex;align-items:center;justify-content:center;width:1.5rem;flex-shrink:0}.unread-dot{color:var(--primary-color);font-size:.5rem;cursor:pointer;opacity:.85}.unread-dot:hover{opacity:1}.mark-read-action{display:none;width:1.5rem;height:1.5rem;border-radius:6px;border:1px solid var(--surface-border);background:var(--surface-card);color:var(--text-color-secondary);align-items:center;justify-content:center;cursor:pointer;padding:0}.mark-read-action:hover{color:var(--primary-color);border-color:var(--primary-color)}.mark-read-action i{font-size:.7rem}.item-preview{margin:0;font-size:.8rem;color:var(--text-color-secondary);line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;word-break:break-word;white-space:normal}.nav-chip{display:inline-flex;align-items:center;gap:.3rem;margin-top:.4rem;font-size:.75rem;font-weight:600;color:var(--primary-color)}.nav-chip i{font-size:.65rem}.notification-item.navigable:hover .nav-chip{text-decoration:underline}.show-more{display:flex;justify-content:center;padding:.25rem 0 .5rem}.empty-state{display:flex;align-items:center;justify-content:center;flex:1;padding:2rem}.empty-state .empty-content{text-align:center}.empty-state .empty-content .empty-icon{font-size:4rem;color:var(--text-color-secondary);opacity:.3;margin-bottom:1rem}.empty-state .empty-content .empty-title{font-size:1.25rem;font-weight:600;color:var(--text-color);margin-bottom:.5rem}.empty-state .empty-content .empty-message{color:var(--text-color-secondary);margin:0}@media (max-width: 768px){.layout-notifications-sidebar ::ng-deep .p-sidebar{width:100%!important}}\n"] }]
3905
+ }], ctorParameters: () => [{ type: LayoutService }, { type: NotificationsService }, { type: i5.TranslocoService }, { type: i1$3.Router }, { type: i1$1.KeycloakService }] });
2943
3906
 
2944
3907
  class AppLayoutComponent {
2945
3908
  constructor(menuService, layoutService, renderer, router) {
@@ -2947,6 +3910,8 @@ class AppLayoutComponent {
2947
3910
  this.layoutService = layoutService;
2948
3911
  this.renderer = renderer;
2949
3912
  this.router = router;
3913
+ // Created with the layout so that every screen opening is recorded for the home page
3914
+ inject(ScreenVisitService);
2950
3915
  this.overlayMenuOpenSubscription = this.layoutService.overlayOpen$.subscribe(() => {
2951
3916
  if (!this.menuOutsideClickListener) {
2952
3917
  this.menuOutsideClickListener = this.renderer.listen('document', 'click', (event) => {
@@ -2963,7 +3928,7 @@ class AppLayoutComponent {
2963
3928
  this.blockBodyScroll();
2964
3929
  }
2965
3930
  });
2966
- this.router.events.pipe(filter$1((event) => event instanceof NavigationEnd)).subscribe(() => {
3931
+ this.router.events.pipe(filter((event) => event instanceof NavigationEnd)).subscribe(() => {
2967
3932
  if (!this.layoutService.mfeAppItemClicked())
2968
3933
  this.hideMenu();
2969
3934
  });
@@ -3039,10 +4004,10 @@ class AppLayoutComponent {
3039
4004
  this.menuOutsideClickListener();
3040
4005
  }
3041
4006
  }
3042
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AppLayoutComponent, deps: [{ token: AppMenuService }, { token: LayoutService }, { token: i0.Renderer2 }, { token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Component }); }
3043
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: AppLayoutComponent, isStandalone: true, selector: "app-layout", viewQueries: [{ propertyName: "expandableMenuComponent", first: true, predicate: ExpandableMenuComponent, descendants: true }, { propertyName: "staticSidebarComponent", first: true, predicate: StaticSidebarComponent, descendants: true }, { propertyName: "appTopbar", first: true, predicate: AppTopbarComponent, descendants: true }], ngImport: i0, template: "<div class=\"layout-container\" [ngClass]=\"containerClass\">\r\n\t<app-environment-banner />\r\n\t@if (layoutService.shouldShowStaticSidebar()) {\r\n\t\t<app-static-sidebar />\r\n\t} @else if (layoutService.shouldShowExpandableMenu()) {\r\n\t\t<app-expandable-menu />\r\n\t}\r\n\t<div class=\"layout-content-wrapper\">\r\n\t\t<app-topbar />\r\n\t\t<div class=\"layout-content\">\r\n\t\t\t<router-outlet />\r\n\t\t</div>\r\n\t</div>\r\n\t<app-profilemenu />\r\n\t<app-history-sidebar />\r\n\t<app-site-map-sidebar />\r\n\t<app-favorite-pages-sidebar />\r\n\t<app-notifications-sidebar />\r\n\t<!--<app-config></app-config>-->\r\n\t<div class=\"layout-mask\" (click)=\"hideMenu()\"></div>\r\n</div>\r\n\r\n<p-toast key=\"toast-root\" />\r\n<p-dialog key=\"dialog-root\" />\r\n<p-messages key=\"messages-root\" />\r\n<p-confirmPopup key=\"confirmPopup-root\" />\r\n<p-confirmDialog key=\"confirmDialog-root\" />\r\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "ngmodule", type: ConfirmDialogModule }, { kind: "component", type: i8.ConfirmDialog, selector: "p-confirmDialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "visible", "position"], outputs: ["onHide"] }, { kind: "ngmodule", type: ConfirmPopupModule }, { kind: "component", type: i5$1.ConfirmPopup, selector: "p-confirmPopup", inputs: ["key", "defaultFocus", "showTransitionOptions", "hideTransitionOptions", "autoZIndex", "baseZIndex", "style", "styleClass", "visible"] }, { kind: "ngmodule", type: DialogModule }, { kind: "component", type: i6$3.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "ngmodule", type: MessagesModule }, { kind: "component", type: i7$4.Messages, selector: "p-messages", inputs: ["value", "closable", "style", "styleClass", "enableService", "key", "escape", "severity", "showTransitionOptions", "hideTransitionOptions"], outputs: ["valueChange", "onClose"] }, { kind: "ngmodule", type: ToastModule }, { kind: "component", type: i8$2.Toast, selector: "p-toast", inputs: ["key", "autoZIndex", "baseZIndex", "life", "style", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "breakpoints"], outputs: ["onClose"] }, { kind: "component", type: AppTopbarComponent, selector: "app-topbar" }, { kind: "component", type: EnvironmentBannerComponent, selector: "app-environment-banner" }, { kind: "component", type: AppProfileSidebarComponent, selector: "app-profilemenu" }, { kind: "component", type: HistorySidebarComponent, selector: "app-history-sidebar" }, { kind: "component", type: SiteMapSidebarComponent, selector: "app-site-map-sidebar" }, { kind: "component", type: FavoritePagesSidebarComponent, selector: "app-favorite-pages-sidebar" }, { kind: "component", type: ExpandableMenuComponent, selector: "app-expandable-menu" }, { kind: "component", type: StaticSidebarComponent, selector: "app-static-sidebar" }, { kind: "component", type: NotificationsSidebarComponent, selector: "app-notifications-sidebar" }] }); }
4007
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AppLayoutComponent, deps: [{ token: AppMenuService }, { token: LayoutService }, { token: i0.Renderer2 }, { token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Component }); }
4008
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: AppLayoutComponent, isStandalone: true, selector: "app-layout", viewQueries: [{ propertyName: "expandableMenuComponent", first: true, predicate: ExpandableMenuComponent, descendants: true }, { propertyName: "staticSidebarComponent", first: true, predicate: StaticSidebarComponent, descendants: true }, { propertyName: "appTopbar", first: true, predicate: AppTopbarComponent, descendants: true }], ngImport: i0, template: "<div class=\"layout-container\" [ngClass]=\"containerClass\">\n\t<app-environment-banner />\n\t@if (layoutService.shouldShowStaticSidebar()) {\n\t\t<app-static-sidebar />\n\t} @else if (layoutService.shouldShowExpandableMenu()) {\n\t\t<app-expandable-menu />\n\t}\n\t<div class=\"layout-content-wrapper\">\n\t\t<app-topbar />\n\t\t<div class=\"layout-content\">\n\t\t\t<router-outlet />\n\t\t</div>\n\t</div>\n\t<app-profilemenu />\n\t<app-history-sidebar />\n\t<app-site-map-sidebar />\n\t<app-favorite-pages-sidebar />\n\t<app-notifications-sidebar />\n\t<!--<app-config></app-config>-->\n\t<div class=\"layout-mask\" (click)=\"hideMenu()\"></div>\n</div>\n\n<p-toast key=\"toast-root\" />\n<p-dialog key=\"dialog-root\" />\n<p-messages key=\"messages-root\" />\n<p-confirmPopup key=\"confirmPopup-root\" />\n<p-confirmDialog key=\"confirmDialog-root\" />\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "ngmodule", type: ConfirmDialogModule }, { kind: "component", type: i8.ConfirmDialog, selector: "p-confirmDialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "visible", "position"], outputs: ["onHide"] }, { kind: "ngmodule", type: ConfirmPopupModule }, { kind: "component", type: i5$1.ConfirmPopup, selector: "p-confirmPopup", inputs: ["key", "defaultFocus", "showTransitionOptions", "hideTransitionOptions", "autoZIndex", "baseZIndex", "style", "styleClass", "visible"] }, { kind: "ngmodule", type: DialogModule }, { kind: "component", type: i6$2.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "ngmodule", type: MessagesModule }, { kind: "component", type: i7$3.Messages, selector: "p-messages", inputs: ["value", "closable", "style", "styleClass", "enableService", "key", "escape", "severity", "showTransitionOptions", "hideTransitionOptions"], outputs: ["valueChange", "onClose"] }, { kind: "ngmodule", type: ToastModule }, { kind: "component", type: i8$3.Toast, selector: "p-toast", inputs: ["key", "autoZIndex", "baseZIndex", "life", "style", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "breakpoints"], outputs: ["onClose"] }, { kind: "component", type: AppTopbarComponent, selector: "app-topbar" }, { kind: "component", type: EnvironmentBannerComponent, selector: "app-environment-banner" }, { kind: "component", type: AppProfileSidebarComponent, selector: "app-profilemenu" }, { kind: "component", type: HistorySidebarComponent, selector: "app-history-sidebar" }, { kind: "component", type: SiteMapSidebarComponent, selector: "app-site-map-sidebar" }, { kind: "component", type: FavoritePagesSidebarComponent, selector: "app-favorite-pages-sidebar" }, { kind: "component", type: ExpandableMenuComponent, selector: "app-expandable-menu" }, { kind: "component", type: StaticSidebarComponent, selector: "app-static-sidebar" }, { kind: "component", type: NotificationsSidebarComponent, selector: "app-notifications-sidebar" }] }); }
3044
4009
  }
3045
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AppLayoutComponent, decorators: [{
4010
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AppLayoutComponent, decorators: [{
3046
4011
  type: Component,
3047
4012
  args: [{ standalone: true, selector: 'app-layout', imports: [
3048
4013
  NgClass,
@@ -3061,8 +4026,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
3061
4026
  ExpandableMenuComponent,
3062
4027
  StaticSidebarComponent,
3063
4028
  NotificationsSidebarComponent
3064
- ], template: "<div class=\"layout-container\" [ngClass]=\"containerClass\">\r\n\t<app-environment-banner />\r\n\t@if (layoutService.shouldShowStaticSidebar()) {\r\n\t\t<app-static-sidebar />\r\n\t} @else if (layoutService.shouldShowExpandableMenu()) {\r\n\t\t<app-expandable-menu />\r\n\t}\r\n\t<div class=\"layout-content-wrapper\">\r\n\t\t<app-topbar />\r\n\t\t<div class=\"layout-content\">\r\n\t\t\t<router-outlet />\r\n\t\t</div>\r\n\t</div>\r\n\t<app-profilemenu />\r\n\t<app-history-sidebar />\r\n\t<app-site-map-sidebar />\r\n\t<app-favorite-pages-sidebar />\r\n\t<app-notifications-sidebar />\r\n\t<!--<app-config></app-config>-->\r\n\t<div class=\"layout-mask\" (click)=\"hideMenu()\"></div>\r\n</div>\r\n\r\n<p-toast key=\"toast-root\" />\r\n<p-dialog key=\"dialog-root\" />\r\n<p-messages key=\"messages-root\" />\r\n<p-confirmPopup key=\"confirmPopup-root\" />\r\n<p-confirmDialog key=\"confirmDialog-root\" />\r\n" }]
3065
- }], ctorParameters: () => [{ type: AppMenuService }, { type: LayoutService }, { type: i0.Renderer2 }, { type: i1$2.Router }], propDecorators: { expandableMenuComponent: [{
4029
+ ], template: "<div class=\"layout-container\" [ngClass]=\"containerClass\">\n\t<app-environment-banner />\n\t@if (layoutService.shouldShowStaticSidebar()) {\n\t\t<app-static-sidebar />\n\t} @else if (layoutService.shouldShowExpandableMenu()) {\n\t\t<app-expandable-menu />\n\t}\n\t<div class=\"layout-content-wrapper\">\n\t\t<app-topbar />\n\t\t<div class=\"layout-content\">\n\t\t\t<router-outlet />\n\t\t</div>\n\t</div>\n\t<app-profilemenu />\n\t<app-history-sidebar />\n\t<app-site-map-sidebar />\n\t<app-favorite-pages-sidebar />\n\t<app-notifications-sidebar />\n\t<!--<app-config></app-config>-->\n\t<div class=\"layout-mask\" (click)=\"hideMenu()\"></div>\n</div>\n\n<p-toast key=\"toast-root\" />\n<p-dialog key=\"dialog-root\" />\n<p-messages key=\"messages-root\" />\n<p-confirmPopup key=\"confirmPopup-root\" />\n<p-confirmDialog key=\"confirmDialog-root\" />\n" }]
4030
+ }], ctorParameters: () => [{ type: AppMenuService }, { type: LayoutService }, { type: i0.Renderer2 }, { type: i1$3.Router }], propDecorators: { expandableMenuComponent: [{
3066
4031
  type: ViewChild,
3067
4032
  args: [ExpandableMenuComponent]
3068
4033
  }], staticSidebarComponent: [{
@@ -3083,10 +4048,10 @@ class BreadcrumbService {
3083
4048
  getValue(key) {
3084
4049
  return this.keyValues()[key];
3085
4050
  }
3086
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: BreadcrumbService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3087
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: BreadcrumbService, providedIn: 'root' }); }
4051
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BreadcrumbService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4052
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BreadcrumbService, providedIn: 'root' }); }
3088
4053
  }
3089
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: BreadcrumbService, decorators: [{
4054
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BreadcrumbService, decorators: [{
3090
4055
  type: Injectable,
3091
4056
  args: [{ providedIn: 'root' }]
3092
4057
  }] });
@@ -3099,7 +4064,7 @@ class AppBreadcrumbComponent {
3099
4064
  this._breadcrumbs$ = new BehaviorSubject([]);
3100
4065
  this.breadcrumbs$ = this._breadcrumbs$.asObservable();
3101
4066
  this.breadcrumbs = [];
3102
- this.router.events.pipe(filter((event) => event instanceof NavigationEnd)).subscribe((event) => {
4067
+ this.router.events.pipe(filter$1((event) => event instanceof NavigationEnd)).subscribe((event) => {
3103
4068
  const root = this.router.routerState.snapshot.root;
3104
4069
  const breadcrumbs = [];
3105
4070
  this.addBreadcrumb(root, [], breadcrumbs);
@@ -3156,7 +4121,8 @@ class AppBreadcrumbComponent {
3156
4121
  if (key && value) {
3157
4122
  breadcrumbs.push({
3158
4123
  label: route.data['breadcrumb'].replace(`{${key}}`, value),
3159
- url: '/' + routeUrl.join('/')
4124
+ url: '/' + routeUrl.join('/'),
4125
+ value
3160
4126
  });
3161
4127
  }
3162
4128
  else if (key && !value) {
@@ -3177,18 +4143,18 @@ class AppBreadcrumbComponent {
3177
4143
  this.addBreadcrumb(route.firstChild, routeUrl, breadcrumbs);
3178
4144
  }
3179
4145
  }
3180
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AppBreadcrumbComponent, deps: [{ token: i1$2.Router }, { token: BreadcrumbService }, { token: i2$1.PubSubService }], target: i0.ɵɵFactoryTarget.Component }); }
3181
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: AppBreadcrumbComponent, isStandalone: true, selector: "app-breadcrumb", ngImport: i0, template: "<p-breadcrumb class=\"max-w-full\" [model]=\"breadcrumbs\">\r\n\t<ng-template pTemplate=\"item\" let-item>\r\n\t\t<a [routerLink]=\"item.url\">\r\n\t\t\t<span [ngClass]=\"[item.icon ? item.icon : '', 'text-500']\"></span>\r\n\t\t\t<span class='text-500'>{{ item.label }}</span>\r\n\t\t</a>\r\n\t</ng-template>\r\n</p-breadcrumb>\r\n", dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: BreadcrumbModule }, { kind: "component", type: i4$1.Breadcrumb, selector: "p-breadcrumb", inputs: ["model", "style", "styleClass", "home", "homeAriaLabel"], outputs: ["onItemClick"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
4146
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AppBreadcrumbComponent, deps: [{ token: i1$3.Router }, { token: BreadcrumbService }, { token: i2$1.PubSubService }], target: i0.ɵɵFactoryTarget.Component }); }
4147
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AppBreadcrumbComponent, isStandalone: true, selector: "app-breadcrumb", ngImport: i0, template: "<p-breadcrumb class=\"max-w-full\" [model]=\"breadcrumbs\">\n\t<ng-template pTemplate=\"item\" let-item>\n\t\t<a [routerLink]=\"item.url\">\n\t\t\t<span [ngClass]=\"[item.icon ? item.icon : '', 'text-500']\"></span>\n\t\t\t<span class='text-500'>{{ item.label }}</span>\n\t\t</a>\n\t</ng-template>\n</p-breadcrumb>\n", dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: BreadcrumbModule }, { kind: "component", type: i4$1.Breadcrumb, selector: "p-breadcrumb", inputs: ["model", "style", "styleClass", "home", "homeAriaLabel"], outputs: ["onItemClick"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
3182
4148
  }
3183
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AppBreadcrumbComponent, decorators: [{
4149
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AppBreadcrumbComponent, decorators: [{
3184
4150
  type: Component,
3185
- args: [{ standalone: true, selector: 'app-breadcrumb', imports: [RouterLink, BreadcrumbModule, NgClass], template: "<p-breadcrumb class=\"max-w-full\" [model]=\"breadcrumbs\">\r\n\t<ng-template pTemplate=\"item\" let-item>\r\n\t\t<a [routerLink]=\"item.url\">\r\n\t\t\t<span [ngClass]=\"[item.icon ? item.icon : '', 'text-500']\"></span>\r\n\t\t\t<span class='text-500'>{{ item.label }}</span>\r\n\t\t</a>\r\n\t</ng-template>\r\n</p-breadcrumb>\r\n" }]
3186
- }], ctorParameters: () => [{ type: i1$2.Router }, { type: BreadcrumbService }, { type: i2$1.PubSubService }] });
4151
+ args: [{ standalone: true, selector: 'app-breadcrumb', imports: [RouterLink, BreadcrumbModule, NgClass], template: "<p-breadcrumb class=\"max-w-full\" [model]=\"breadcrumbs\">\n\t<ng-template pTemplate=\"item\" let-item>\n\t\t<a [routerLink]=\"item.url\">\n\t\t\t<span [ngClass]=\"[item.icon ? item.icon : '', 'text-500']\"></span>\n\t\t\t<span class='text-500'>{{ item.label }}</span>\n\t\t</a>\n\t</ng-template>\n</p-breadcrumb>\n" }]
4152
+ }], ctorParameters: () => [{ type: i1$3.Router }, { type: BreadcrumbService }, { type: i2$1.PubSubService }] });
3187
4153
 
3188
4154
  class MFELayoutComponent {
3189
4155
  constructor(router) {
3190
4156
  this.router = router;
3191
- this.loading = toSignal(this.router.events.pipe(map$1((event) => {
4157
+ this.loading = toSignal(this.router.events.pipe(map((event) => {
3192
4158
  if (event instanceof NavigationEnd ||
3193
4159
  event instanceof NavigationCancel ||
3194
4160
  event instanceof NavigationError ||
@@ -3197,170 +4163,44 @@ class MFELayoutComponent {
3197
4163
  return true;
3198
4164
  })), { initialValue: true });
3199
4165
  }
3200
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: MFELayoutComponent, deps: [{ token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Component }); }
3201
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: MFELayoutComponent, isStandalone: true, selector: "mfe-layout", ngImport: i0, template: `
3202
- <app-breadcrumb class="topbar-breadcrumb"></app-breadcrumb>
3203
- @if (!loading()) {
3204
- <router-outlet />
3205
- }
3206
-
3207
- <p-toast key="toast-root"></p-toast>
3208
- <p-dialog key="dialog-root"></p-dialog>
3209
- <p-messages key="messages-root"></p-messages>
3210
- <p-confirmPopup key="confirmPopup-root"></p-confirmPopup>
3211
- <p-confirmDialog key="confirmDialog-root"></p-confirmDialog>
3212
- `, isInline: true, dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "ngmodule", type: ConfirmDialogModule }, { kind: "component", type: i8.ConfirmDialog, selector: "p-confirmDialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "visible", "position"], outputs: ["onHide"] }, { kind: "ngmodule", type: ConfirmPopupModule }, { kind: "component", type: i5$1.ConfirmPopup, selector: "p-confirmPopup", inputs: ["key", "defaultFocus", "showTransitionOptions", "hideTransitionOptions", "autoZIndex", "baseZIndex", "style", "styleClass", "visible"] }, { kind: "ngmodule", type: DialogModule }, { kind: "component", type: i6$3.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "ngmodule", type: MessagesModule }, { kind: "component", type: i7$4.Messages, selector: "p-messages", inputs: ["value", "closable", "style", "styleClass", "enableService", "key", "escape", "severity", "showTransitionOptions", "hideTransitionOptions"], outputs: ["valueChange", "onClose"] }, { kind: "ngmodule", type: ToastModule }, { kind: "component", type: i8$2.Toast, selector: "p-toast", inputs: ["key", "autoZIndex", "baseZIndex", "life", "style", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "breakpoints"], outputs: ["onClose"] }, { kind: "component", type: AppBreadcrumbComponent, selector: "app-breadcrumb" }] }); }
4166
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MFELayoutComponent, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Component }); }
4167
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: MFELayoutComponent, isStandalone: true, selector: "mfe-layout", ngImport: i0, template: `
4168
+ <app-breadcrumb class="topbar-breadcrumb"></app-breadcrumb>
4169
+ @if (!loading()) {
4170
+ <router-outlet />
4171
+ }
4172
+
4173
+ <p-toast key="toast-root"></p-toast>
4174
+ <p-dialog key="dialog-root"></p-dialog>
4175
+ <p-messages key="messages-root"></p-messages>
4176
+ <p-confirmPopup key="confirmPopup-root"></p-confirmPopup>
4177
+ <p-confirmDialog key="confirmDialog-root"></p-confirmDialog>
4178
+ `, isInline: true, dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "ngmodule", type: ConfirmDialogModule }, { kind: "component", type: i8.ConfirmDialog, selector: "p-confirmDialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "visible", "position"], outputs: ["onHide"] }, { kind: "ngmodule", type: ConfirmPopupModule }, { kind: "component", type: i5$1.ConfirmPopup, selector: "p-confirmPopup", inputs: ["key", "defaultFocus", "showTransitionOptions", "hideTransitionOptions", "autoZIndex", "baseZIndex", "style", "styleClass", "visible"] }, { kind: "ngmodule", type: DialogModule }, { kind: "component", type: i6$2.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "ngmodule", type: MessagesModule }, { kind: "component", type: i7$3.Messages, selector: "p-messages", inputs: ["value", "closable", "style", "styleClass", "enableService", "key", "escape", "severity", "showTransitionOptions", "hideTransitionOptions"], outputs: ["valueChange", "onClose"] }, { kind: "ngmodule", type: ToastModule }, { kind: "component", type: i8$3.Toast, selector: "p-toast", inputs: ["key", "autoZIndex", "baseZIndex", "life", "style", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "breakpoints"], outputs: ["onClose"] }, { kind: "component", type: AppBreadcrumbComponent, selector: "app-breadcrumb" }] }); }
3213
4179
  }
3214
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: MFELayoutComponent, decorators: [{
4180
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MFELayoutComponent, decorators: [{
3215
4181
  type: Component,
3216
4182
  args: [{
3217
4183
  standalone: true,
3218
4184
  selector: 'mfe-layout',
3219
- template: `
3220
- <app-breadcrumb class="topbar-breadcrumb"></app-breadcrumb>
3221
- @if (!loading()) {
3222
- <router-outlet />
3223
- }
3224
-
3225
- <p-toast key="toast-root"></p-toast>
3226
- <p-dialog key="dialog-root"></p-dialog>
3227
- <p-messages key="messages-root"></p-messages>
3228
- <p-confirmPopup key="confirmPopup-root"></p-confirmPopup>
3229
- <p-confirmDialog key="confirmDialog-root"></p-confirmDialog>
4185
+ template: `
4186
+ <app-breadcrumb class="topbar-breadcrumb"></app-breadcrumb>
4187
+ @if (!loading()) {
4188
+ <router-outlet />
4189
+ }
4190
+
4191
+ <p-toast key="toast-root"></p-toast>
4192
+ <p-dialog key="dialog-root"></p-dialog>
4193
+ <p-messages key="messages-root"></p-messages>
4194
+ <p-confirmPopup key="confirmPopup-root"></p-confirmPopup>
4195
+ <p-confirmDialog key="confirmDialog-root"></p-confirmDialog>
3230
4196
  `,
3231
4197
  imports: [RouterOutlet, ConfirmDialogModule, ConfirmPopupModule, DialogModule, MessagesModule, ToastModule, AppBreadcrumbComponent]
3232
4198
  }]
3233
- }], ctorParameters: () => [{ type: i1$2.Router }] });
3234
-
3235
- const STORAGE_KEY = 'selection-groups';
3236
- class SelectionGroupService {
3237
- constructor(http) {
3238
- this.http = http;
3239
- this.selectionGroups = signal({});
3240
- this.loading = new Map();
3241
- this.loaded = new Map();
3242
- this.loadStatesFromLocalStorage();
3243
- this.revalidateCachedGroups();
3244
- effect(() => {
3245
- try {
3246
- const encodedData = btoa(encodeURI(JSON.stringify(this.selectionGroups())));
3247
- localStorage.setItem(STORAGE_KEY, encodedData);
3248
- }
3249
- catch (e) {
3250
- // Kota dolduysa ya da depolama kapalıysa yalnızca önbellek kaybolur; gruplar sunucudan çekilmeye devam eder.
3251
- console.warn('Selection groups could not be cached', e);
3252
- }
3253
- });
3254
- }
3255
- async loadStatesFromLocalStorage() {
3256
- const selectionGroups = localStorage.getItem(STORAGE_KEY);
3257
- if (selectionGroups) {
3258
- try {
3259
- const decodedData = decodeURI(atob(selectionGroups));
3260
- this.selectionGroups.set(JSON.parse(decodedData));
3261
- }
3262
- catch (e) {
3263
- console.error(e);
3264
- }
3265
- }
3266
- }
3267
- /**
3268
- * Önbellek kendi başına bayatlar: bir grubun etiketi sunucuda değiştiğinde localStorage'daki
3269
- * kopya güncellenmez ve kullanıcı eski etiketi süresiz görür. Bu yüzden açılışta grup sürümleri
3270
- * okunur ve yalnız değişenler düşürülür; düşen grubu bileşenlerin mevcut "grup yoksa fetchEnum"
3271
- * yolu yeniden çeker.
3272
- *
3273
- * Sürüm listesi alınamazsa önbelleğe DOKUNULMAZ: davranış bu durumda bugünküne eşitlenir,
3274
- * yani tazelik kaybedilir ama hiçbir etiket kaybolmaz.
3275
- */
3276
- revalidateCachedGroups() {
3277
- if (!Object.keys(this.selectionGroups()).length)
3278
- return;
3279
- this.http
3280
- .get(this.hostApi() + '/selection-group/versions')
3281
- .pipe(take(1))
3282
- .subscribe({
3283
- next: (versions) => {
3284
- // Gövdesiz/biçimsiz yanıt "sürüm bilinmiyor" demektir; hata yolundaki gibi önbellek korunur.
3285
- if (!Array.isArray(versions))
3286
- return;
3287
- this.dropStaleGroups(versions);
3288
- },
3289
- error: () => {
3290
- console.debug('Selection group versions unavailable; cached groups are kept as is.');
3291
- }
3292
- });
3293
- }
3294
- dropStaleGroups(versions) {
3295
- const serverVersions = new Map(versions.map((version) => [version.groupName, version.version]));
3296
- this.selectionGroups.update((groups) => {
3297
- const next = { ...groups };
3298
- let dropped = false;
3299
- for (const key of Object.keys(next)) {
3300
- const group = next[key];
3301
- if (!group)
3302
- continue;
3303
- // Yalnız localStorage'dan gelen girdiler doğrulanır. Bu oturumda istenmiş bir grup zaten
3304
- // tazedir ve düşürülmemelidir: tüketiciler kendi "istedim" kaydını tuttuğu için (bkz.
3305
- // TableComponent.requestedEnumKeys) düşen grubu yeniden istemezler ve seçenekleri
3306
- // kalıcı olarak boş kalır. `has`, süren istekleri de kapsar: fetchEnum başlarken false,
3307
- // biterken true yazar.
3308
- if (this.loaded.has(key))
3309
- continue;
3310
- // Anahtar `groupName~parentSelectionKey` biçimindedir: aynı grubun her parent varyantı
3311
- // ayrı bir girdidir ve grup değiştiğinde hepsi birlikte düşmelidir.
3312
- const serverVersion = serverVersions.get(key.split('~')[0]);
3313
- // Sunucu yalnız Fixed grupların sürümünü döndürür. Sürümü gelmeyen grup ya Dynamic'tir
3314
- // (içeriği sorgudan üretilir, doğrulanamaz) ya da silinmiştir; ikisinde de tutulmaz.
3315
- if (serverVersion !== undefined && serverVersion === group.version)
3316
- continue;
3317
- delete next[key];
3318
- dropped = true;
3319
- }
3320
- return dropped ? next : groups;
3321
- });
3322
- }
3323
- fetchEnum(groupName, parentSelectionKey = 'ALL') {
3324
- const key = groupName + '~' + parentSelectionKey;
3325
- if (this.loaded.get(key) || this.loading.get(key))
3326
- return;
3327
- const payload = {
3328
- groupName,
3329
- parentSelectionKey
3330
- };
3331
- this.loading.set(key, true);
3332
- this.loaded.set(key, false);
3333
- this.http
3334
- .post(this.hostApi() + '/selection-group/load', payload)
3335
- .pipe(take(1))
3336
- .subscribe((selectionGroup) => {
3337
- this.loading.set(key, false);
3338
- this.loaded.set(key, true);
3339
- this.selectionGroups.update((groups) => ({
3340
- ...groups,
3341
- [key]: selectionGroup
3342
- }));
3343
- });
3344
- }
3345
- hostApi() {
3346
- return API_CONFIGS.api.replace(/\/[^\/]+\/v1$/, `/host/v1`);
3347
- }
3348
- isLoading(groupName) {
3349
- return this.loading.get(groupName) ?? false;
3350
- }
3351
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SelectionGroupService, deps: [{ token: i7$3.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
3352
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SelectionGroupService, providedIn: 'root' }); }
3353
- }
3354
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: SelectionGroupService, decorators: [{
3355
- type: Injectable,
3356
- args: [{
3357
- providedIn: 'root'
3358
- }]
3359
- }], ctorParameters: () => [{ type: i7$3.HttpClient }] });
4199
+ }], ctorParameters: () => [{ type: i1$3.Router }] });
3360
4200
 
3361
4201
  /**
3362
4202
  * Generated bundle index. Do not edit.
3363
4203
  */
3364
4204
 
3365
- export { ActivityTypesEnum, AppLayoutComponent, AppMenuService, BreadcrumbService, DetailNotificationTypeEnum, Environment, FavoritePagesService, LanguageCode, LayoutService, MFELayoutComponent, SelectionGroupService, favoritePageEndpoints };
4205
+ export { ActivityTypesEnum, AppLayoutComponent, AppMenuService, BreadcrumbService, DetailNotificationTypeEnum, Environment, FavoritePagesService, GeneralSearchComponent, LanguageCode, LayoutService, MFELayoutComponent, RECORD_TYPE_ICONS, RECORD_TYPE_LABEL_KEYS, RecentSearchService, RecordSummaryService, ScreenVisitService, SelectionGroupService, favoritePageEndpoints };
3366
4206
  //# sourceMappingURL=aril-theme-layout.mjs.map