aril 1.2.49 → 1.2.51

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 (130) hide show
  1. package/boot/base/src/aril-title-strategy.d.ts +21 -2
  2. package/esm2022/boot/base/src/aril-title-strategy.mjs +50 -3
  3. package/esm2022/boot/bridge/index.mjs +1 -1
  4. package/esm2022/boot/bridge/src/mfe-bridge.mjs +1 -1
  5. package/esm2022/boot/bridge/src/provide-mfe-bridge.mjs +1 -1
  6. package/esm2022/boot/config/api/index.mjs +1 -1
  7. package/esm2022/boot/config/apps/src/apps.service.mjs +1 -1
  8. package/esm2022/boot/config/apps/src/auth.guard.mjs +1 -1
  9. package/esm2022/boot/config/apps/src/route-permissions.mjs +1 -1
  10. package/esm2022/boot/config/plugins/src/getNgZone.mjs +1 -1
  11. package/esm2022/boot/config/plugins/src/interfaces.mjs +1 -1
  12. package/esm2022/boot/config/plugins/src/plugins.service.mjs +1 -1
  13. package/esm2022/boot/config/translate/primeng/i18n/tr.mjs +1 -1
  14. package/esm2022/boot/host/src/app.component.mjs +1 -1
  15. package/esm2022/boot/mfe/src/app.component.mjs +13 -13
  16. package/esm2022/boot/mfe/src/bootstrap.mjs +1 -1
  17. package/esm2022/boot/pages/index.mjs +1 -1
  18. package/esm2022/boot/pages/src/forbidden.component.mjs +51 -51
  19. package/esm2022/boot/pages/src/notFound.component.mjs +47 -47
  20. package/esm2022/http/lib/enums.mjs +1 -1
  21. package/esm2022/http/src/serviceBase.mjs +1 -1
  22. package/esm2022/http/src/serviceStateMethods.mjs +1 -1
  23. package/esm2022/keycloak/src/auth.interceptor.mjs +1 -1
  24. package/esm2022/provider/src/prodiveHostRouter.mjs +1 -1
  25. package/esm2022/provider/src/provideHostKeycloak.mjs +1 -1
  26. package/esm2022/superset/index.mjs +1 -1
  27. package/esm2022/theme/layout/app/breadcrumb/app.breadcrumb.component.mjs +1 -1
  28. package/esm2022/theme/layout/app/expandableMenu/expandable-menu.component.mjs +3 -3
  29. package/esm2022/theme/layout/app/general-search/general-search.component.mjs +1 -1
  30. package/esm2022/theme/layout/app/site-map/site-map-sidebar.component.mjs +1 -1
  31. package/esm2022/theme/layout/app/static-sidebar/static-sidebar.component.mjs +3 -3
  32. package/esm2022/theme/layout/index.mjs +1 -1
  33. package/esm2022/theme/layout/service/interfaces/enum.mjs +1 -1
  34. package/esm2022/theme/layout/service/selection-group.service.mjs +1 -1
  35. package/esm2022/ui/autoComplete/src/auto-complete.component.mjs +1 -1
  36. package/esm2022/ui/button/src/button.component.mjs +1 -1
  37. package/esm2022/ui/chip/src/chip.component.mjs +1 -1
  38. package/esm2022/ui/form/src/form-submit-button.component.mjs +3 -3
  39. package/esm2022/ui/table/src/table.component.mjs +3 -3
  40. package/esm2022/ui/table-expand/src/table.component.mjs +3 -3
  41. package/esm2022/ui/treeTable/src/tree-table.component.mjs +1 -1
  42. package/esm2022/ui-business/assetPicker/index.mjs +1 -1
  43. package/esm2022/ui-business/assetPicker/src/asset-picker.component.mjs +20 -6
  44. package/esm2022/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.mjs +3 -3
  45. package/esm2022/ui-business/enumPicker/src/interface.mjs +1 -1
  46. package/esm2022/ui-business/multiAssetPicker/index.mjs +1 -1
  47. package/esm2022/ui-business/multiAssetPicker/src/multi-asset-picker.component.mjs +3 -3
  48. package/esm2022/ui-business/pdf-preview-modal/index.mjs +1 -1
  49. package/esm2022/ui-business/pdf-preview-modal/src/open-pdf-preview.mjs +1 -1
  50. package/esm2022/ui-business/pdf-preview-modal/src/pdf-preview-modal.component.mjs +27 -27
  51. package/esm2022/ui-business/ref-value/src/ref-value.component.mjs +3 -3
  52. package/esm2022/ui-business/trace-drawer/index.mjs +1 -1
  53. package/esm2022/ui-business/trace-drawer/src/app-log.service.mjs +1 -1
  54. package/esm2022/ui-business/trace-drawer/src/trace-log.service.mjs +1 -1
  55. package/esm2022/ui-business/trace-id/index.mjs +1 -1
  56. package/esm2022/ui-business/trace-id/src/trace-id.component.mjs +3 -3
  57. package/esm2022/util/activity/index.mjs +1 -1
  58. package/esm2022/util/activity/src/activity.constants.mjs +1 -1
  59. package/esm2022/util/activity/src/activity.service.mjs +1 -1
  60. package/esm2022/util/activity/src/activity.types.mjs +1 -1
  61. package/esm2022/util/directives/src/detail-page-customization/detail-page-customization.directive.mjs +1 -1
  62. package/esm2022/util/pipes/src/translate-json/translate-json.pipe.mjs +1 -1
  63. package/fesm2022/{aril-app.component-BUjucZ0J.mjs → aril-app.component-YBy2gyza.mjs} +13 -13
  64. package/fesm2022/aril-app.component-YBy2gyza.mjs.map +1 -0
  65. package/fesm2022/aril-boot-base.mjs +49 -2
  66. package/fesm2022/aril-boot-base.mjs.map +1 -1
  67. package/fesm2022/aril-boot-bridge.mjs.map +1 -1
  68. package/fesm2022/aril-boot-config-apps.mjs.map +1 -1
  69. package/fesm2022/aril-boot-config-plugins.mjs.map +1 -1
  70. package/fesm2022/aril-boot-config-translate.mjs.map +1 -1
  71. package/fesm2022/aril-boot-host.mjs.map +1 -1
  72. package/fesm2022/{aril-boot-mfe-app.component-D1w8I2ug.mjs → aril-boot-mfe-app.component-GbZAGlTf.mjs} +14 -14
  73. package/fesm2022/aril-boot-mfe-app.component-GbZAGlTf.mjs.map +1 -0
  74. package/fesm2022/{aril-boot-mfe-aril-boot-mfe-JHrhKvhU.mjs → aril-boot-mfe-aril-boot-mfe-I5xT2fQx.mjs} +2 -2
  75. package/fesm2022/aril-boot-mfe-aril-boot-mfe-I5xT2fQx.mjs.map +1 -0
  76. package/fesm2022/aril-boot-mfe.mjs +1 -1
  77. package/fesm2022/aril-boot-pages.mjs +96 -96
  78. package/fesm2022/aril-boot-pages.mjs.map +1 -1
  79. package/fesm2022/aril-http.mjs.map +1 -1
  80. package/fesm2022/aril-keycloak.mjs.map +1 -1
  81. package/fesm2022/aril-provider.mjs.map +1 -1
  82. package/fesm2022/aril-theme-layout.mjs +4 -4
  83. package/fesm2022/aril-theme-layout.mjs.map +1 -1
  84. package/fesm2022/aril-ui-autoComplete.mjs.map +1 -1
  85. package/fesm2022/aril-ui-business-assetPicker.mjs +19 -5
  86. package/fesm2022/aril-ui-business-assetPicker.mjs.map +1 -1
  87. package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs +2 -2
  88. package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs.map +1 -1
  89. package/fesm2022/aril-ui-business-multiAssetPicker.mjs +2 -2
  90. package/fesm2022/aril-ui-business-multiAssetPicker.mjs.map +1 -1
  91. package/fesm2022/aril-ui-business-pdf-preview-modal.mjs +26 -26
  92. package/fesm2022/aril-ui-business-pdf-preview-modal.mjs.map +1 -1
  93. package/fesm2022/aril-ui-business-ref-value.mjs +2 -2
  94. package/fesm2022/aril-ui-business-ref-value.mjs.map +1 -1
  95. package/fesm2022/aril-ui-business-trace-drawer.mjs.map +1 -1
  96. package/fesm2022/aril-ui-business-trace-id.mjs +2 -2
  97. package/fesm2022/aril-ui-business-trace-id.mjs.map +1 -1
  98. package/fesm2022/aril-ui-button.mjs.map +1 -1
  99. package/fesm2022/aril-ui-chip.mjs.map +1 -1
  100. package/fesm2022/aril-ui-form.mjs +2 -2
  101. package/fesm2022/aril-ui-form.mjs.map +1 -1
  102. package/fesm2022/aril-ui-table-expand.mjs +2 -2
  103. package/fesm2022/aril-ui-table-expand.mjs.map +1 -1
  104. package/fesm2022/aril-ui-table.mjs +2 -2
  105. package/fesm2022/aril-ui-table.mjs.map +1 -1
  106. package/fesm2022/aril-ui-treeTable.mjs.map +1 -1
  107. package/fesm2022/aril-util-activity.mjs.map +1 -1
  108. package/fesm2022/aril-util-directives.mjs.map +1 -1
  109. package/fesm2022/aril-util-pipes.mjs.map +1 -1
  110. package/fesm2022/aril.mjs +1 -1
  111. package/fesm2022/aril.mjs.map +1 -1
  112. package/package.json +73 -73
  113. package/theme/layout/app/breadcrumb/app.breadcrumb.component.ts +127 -127
  114. package/theme/layout/app/expandableMenu/expandable-menu.component.html +137 -137
  115. package/theme/layout/app/general-search/general-search.component.ts +93 -93
  116. package/theme/layout/app/site-map/site-map-sidebar.component.ts +195 -195
  117. package/theme/layout/app/static-sidebar/static-sidebar.component.html +162 -162
  118. package/theme/layout/index.ts +9 -9
  119. package/theme/layout/service/interfaces/enum.ts +19 -19
  120. package/theme/layout/service/selection-group.service.ts +144 -144
  121. package/theme/styles/layout/_fonts.scss +81 -81
  122. package/theme/styles/theme/base/components/input/_inputtext.scss +104 -104
  123. package/theme/styles/theme/base/components/overlay/_sidebar.scss +27 -27
  124. package/theme/styles/theme/base/components/panel/_stepper.scss +205 -205
  125. package/theme/styles/theme/dark/_variables.scss +933 -933
  126. package/theme/styles/theme/light/_variables.scss +940 -940
  127. package/ui-business/assetPicker/src/asset-picker.component.d.ts +1 -0
  128. package/fesm2022/aril-app.component-BUjucZ0J.mjs.map +0 -1
  129. package/fesm2022/aril-boot-mfe-app.component-D1w8I2ug.mjs.map +0 -1
  130. package/fesm2022/aril-boot-mfe-aril-boot-mfe-JHrhKvhU.mjs.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aril",
3
- "version": "1.2.49",
3
+ "version": "1.2.51",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "~17.1.0",
6
6
  "@angular/common": "^17.1.0",
@@ -59,36 +59,36 @@
59
59
  "esm": "./esm2022/http/aril-http.mjs",
60
60
  "default": "./fesm2022/aril-http.mjs"
61
61
  },
62
- "./i18n": {
63
- "types": "./i18n/index.d.ts",
64
- "esm2022": "./esm2022/i18n/aril-i18n.mjs",
65
- "esm": "./esm2022/i18n/aril-i18n.mjs",
66
- "default": "./fesm2022/aril-i18n.mjs"
67
- },
68
62
  "./keycloak": {
69
63
  "types": "./keycloak/index.d.ts",
70
64
  "esm2022": "./esm2022/keycloak/aril-keycloak.mjs",
71
65
  "esm": "./esm2022/keycloak/aril-keycloak.mjs",
72
66
  "default": "./fesm2022/aril-keycloak.mjs"
73
67
  },
68
+ "./i18n": {
69
+ "types": "./i18n/index.d.ts",
70
+ "esm2022": "./esm2022/i18n/aril-i18n.mjs",
71
+ "esm": "./esm2022/i18n/aril-i18n.mjs",
72
+ "default": "./fesm2022/aril-i18n.mjs"
73
+ },
74
74
  "./permission": {
75
75
  "types": "./permission/index.d.ts",
76
76
  "esm2022": "./esm2022/permission/aril-permission.mjs",
77
77
  "esm": "./esm2022/permission/aril-permission.mjs",
78
78
  "default": "./fesm2022/aril-permission.mjs"
79
79
  },
80
- "./provider": {
81
- "types": "./provider/index.d.ts",
82
- "esm2022": "./esm2022/provider/aril-provider.mjs",
83
- "esm": "./esm2022/provider/aril-provider.mjs",
84
- "default": "./fesm2022/aril-provider.mjs"
85
- },
86
80
  "./superset": {
87
81
  "types": "./superset/index.d.ts",
88
82
  "esm2022": "./esm2022/superset/aril-superset.mjs",
89
83
  "esm": "./esm2022/superset/aril-superset.mjs",
90
84
  "default": "./fesm2022/aril-superset.mjs"
91
85
  },
86
+ "./provider": {
87
+ "types": "./provider/index.d.ts",
88
+ "esm2022": "./esm2022/provider/aril-provider.mjs",
89
+ "esm": "./esm2022/provider/aril-provider.mjs",
90
+ "default": "./fesm2022/aril-provider.mjs"
91
+ },
92
92
  "./theme": {
93
93
  "types": "./theme/index.d.ts",
94
94
  "esm2022": "./esm2022/theme/aril-theme.mjs",
@@ -233,18 +233,18 @@
233
233
  "esm": "./esm2022/ui/form/aril-ui-form.mjs",
234
234
  "default": "./fesm2022/aril-ui-form.mjs"
235
235
  },
236
- "./ui/json-diff-comparison": {
237
- "types": "./ui/json-diff-comparison/index.d.ts",
238
- "esm2022": "./esm2022/ui/json-diff-comparison/aril-ui-json-diff-comparison.mjs",
239
- "esm": "./esm2022/ui/json-diff-comparison/aril-ui-json-diff-comparison.mjs",
240
- "default": "./fesm2022/aril-ui-json-diff-comparison.mjs"
241
- },
242
236
  "./ui/img-viewer": {
243
237
  "types": "./ui/img-viewer/index.d.ts",
244
238
  "esm2022": "./esm2022/ui/img-viewer/aril-ui-img-viewer.mjs",
245
239
  "esm": "./esm2022/ui/img-viewer/aril-ui-img-viewer.mjs",
246
240
  "default": "./fesm2022/aril-ui-img-viewer.mjs"
247
241
  },
242
+ "./ui/json-diff-comparison": {
243
+ "types": "./ui/json-diff-comparison/index.d.ts",
244
+ "esm2022": "./esm2022/ui/json-diff-comparison/aril-ui-json-diff-comparison.mjs",
245
+ "esm": "./esm2022/ui/json-diff-comparison/aril-ui-json-diff-comparison.mjs",
246
+ "default": "./fesm2022/aril-ui-json-diff-comparison.mjs"
247
+ },
248
248
  "./ui/lib": {
249
249
  "types": "./ui/lib/index.d.ts",
250
250
  "esm2022": "./esm2022/ui/lib/aril-ui-lib.mjs",
@@ -269,18 +269,18 @@
269
269
  "esm": "./esm2022/ui/multiSelect/aril-ui-multiSelect.mjs",
270
270
  "default": "./fesm2022/aril-ui-multiSelect.mjs"
271
271
  },
272
- "./ui/number": {
273
- "types": "./ui/number/index.d.ts",
274
- "esm2022": "./esm2022/ui/number/aril-ui-number.mjs",
275
- "esm": "./esm2022/ui/number/aril-ui-number.mjs",
276
- "default": "./fesm2022/aril-ui-number.mjs"
277
- },
278
272
  "./ui/operation-types-dialog": {
279
273
  "types": "./ui/operation-types-dialog/index.d.ts",
280
274
  "esm2022": "./esm2022/ui/operation-types-dialog/aril-ui-operation-types-dialog.mjs",
281
275
  "esm": "./esm2022/ui/operation-types-dialog/aril-ui-operation-types-dialog.mjs",
282
276
  "default": "./fesm2022/aril-ui-operation-types-dialog.mjs"
283
277
  },
278
+ "./ui/number": {
279
+ "types": "./ui/number/index.d.ts",
280
+ "esm2022": "./esm2022/ui/number/aril-ui-number.mjs",
281
+ "esm": "./esm2022/ui/number/aril-ui-number.mjs",
282
+ "default": "./fesm2022/aril-ui-number.mjs"
283
+ },
284
284
  "./ui/overlayPanel": {
285
285
  "types": "./ui/overlayPanel/index.d.ts",
286
286
  "esm2022": "./esm2022/ui/overlayPanel/aril-ui-overlayPanel.mjs",
@@ -317,18 +317,18 @@
317
317
  "esm": "./esm2022/ui/radioButton/aril-ui-radioButton.mjs",
318
318
  "default": "./fesm2022/aril-ui-radioButton.mjs"
319
319
  },
320
- "./ui/selectBox": {
321
- "types": "./ui/selectBox/index.d.ts",
322
- "esm2022": "./esm2022/ui/selectBox/aril-ui-selectBox.mjs",
323
- "esm": "./esm2022/ui/selectBox/aril-ui-selectBox.mjs",
324
- "default": "./fesm2022/aril-ui-selectBox.mjs"
325
- },
326
320
  "./ui/relativeDateSelector": {
327
321
  "types": "./ui/relativeDateSelector/index.d.ts",
328
322
  "esm2022": "./esm2022/ui/relativeDateSelector/aril-ui-relativeDateSelector.mjs",
329
323
  "esm": "./esm2022/ui/relativeDateSelector/aril-ui-relativeDateSelector.mjs",
330
324
  "default": "./fesm2022/aril-ui-relativeDateSelector.mjs"
331
325
  },
326
+ "./ui/selectBox": {
327
+ "types": "./ui/selectBox/index.d.ts",
328
+ "esm2022": "./esm2022/ui/selectBox/aril-ui-selectBox.mjs",
329
+ "esm": "./esm2022/ui/selectBox/aril-ui-selectBox.mjs",
330
+ "default": "./fesm2022/aril-ui-selectBox.mjs"
331
+ },
332
332
  "./ui/switch": {
333
333
  "types": "./ui/switch/index.d.ts",
334
334
  "esm2022": "./esm2022/ui/switch/aril-ui-switch.mjs",
@@ -341,12 +341,6 @@
341
341
  "esm": "./esm2022/ui/table/aril-ui-table.mjs",
342
342
  "default": "./fesm2022/aril-ui-table.mjs"
343
343
  },
344
- "./ui/table-expand": {
345
- "types": "./ui/table-expand/index.d.ts",
346
- "esm2022": "./esm2022/ui/table-expand/aril-ui-table-expand.mjs",
347
- "esm": "./esm2022/ui/table-expand/aril-ui-table-expand.mjs",
348
- "default": "./fesm2022/aril-ui-table-expand.mjs"
349
- },
350
344
  "./ui/tag": {
351
345
  "types": "./ui/tag/index.d.ts",
352
346
  "esm2022": "./esm2022/ui/tag/aril-ui-tag.mjs",
@@ -359,12 +353,24 @@
359
353
  "esm": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
360
354
  "default": "./fesm2022/aril-ui-tagBox.mjs"
361
355
  },
356
+ "./ui/table-expand": {
357
+ "types": "./ui/table-expand/index.d.ts",
358
+ "esm2022": "./esm2022/ui/table-expand/aril-ui-table-expand.mjs",
359
+ "esm": "./esm2022/ui/table-expand/aril-ui-table-expand.mjs",
360
+ "default": "./fesm2022/aril-ui-table-expand.mjs"
361
+ },
362
362
  "./ui/text": {
363
363
  "types": "./ui/text/index.d.ts",
364
364
  "esm2022": "./esm2022/ui/text/aril-ui-text.mjs",
365
365
  "esm": "./esm2022/ui/text/aril-ui-text.mjs",
366
366
  "default": "./fesm2022/aril-ui-text.mjs"
367
367
  },
368
+ "./ui/toggle-button": {
369
+ "types": "./ui/toggle-button/index.d.ts",
370
+ "esm2022": "./esm2022/ui/toggle-button/aril-ui-toggle-button.mjs",
371
+ "esm": "./esm2022/ui/toggle-button/aril-ui-toggle-button.mjs",
372
+ "default": "./fesm2022/aril-ui-toggle-button.mjs"
373
+ },
368
374
  "./ui/textArea": {
369
375
  "types": "./ui/textArea/index.d.ts",
370
376
  "esm2022": "./esm2022/ui/textArea/aril-ui-textArea.mjs",
@@ -377,30 +383,24 @@
377
383
  "esm": "./esm2022/ui/tooltip/aril-ui-tooltip.mjs",
378
384
  "default": "./fesm2022/aril-ui-tooltip.mjs"
379
385
  },
380
- "./ui/toggle-button": {
381
- "types": "./ui/toggle-button/index.d.ts",
382
- "esm2022": "./esm2022/ui/toggle-button/aril-ui-toggle-button.mjs",
383
- "esm": "./esm2022/ui/toggle-button/aril-ui-toggle-button.mjs",
384
- "default": "./fesm2022/aril-ui-toggle-button.mjs"
385
- },
386
386
  "./ui/translate-input": {
387
387
  "types": "./ui/translate-input/index.d.ts",
388
388
  "esm2022": "./esm2022/ui/translate-input/aril-ui-translate-input.mjs",
389
389
  "esm": "./esm2022/ui/translate-input/aril-ui-translate-input.mjs",
390
390
  "default": "./fesm2022/aril-ui-translate-input.mjs"
391
391
  },
392
- "./ui/treeSelect": {
393
- "types": "./ui/treeSelect/index.d.ts",
394
- "esm2022": "./esm2022/ui/treeSelect/aril-ui-treeSelect.mjs",
395
- "esm": "./esm2022/ui/treeSelect/aril-ui-treeSelect.mjs",
396
- "default": "./fesm2022/aril-ui-treeSelect.mjs"
397
- },
398
392
  "./ui/tree": {
399
393
  "types": "./ui/tree/index.d.ts",
400
394
  "esm2022": "./esm2022/ui/tree/aril-ui-tree.mjs",
401
395
  "esm": "./esm2022/ui/tree/aril-ui-tree.mjs",
402
396
  "default": "./fesm2022/aril-ui-tree.mjs"
403
397
  },
398
+ "./ui/treeSelect": {
399
+ "types": "./ui/treeSelect/index.d.ts",
400
+ "esm2022": "./esm2022/ui/treeSelect/aril-ui-treeSelect.mjs",
401
+ "esm": "./esm2022/ui/treeSelect/aril-ui-treeSelect.mjs",
402
+ "default": "./fesm2022/aril-ui-treeSelect.mjs"
403
+ },
404
404
  "./ui/treeTable": {
405
405
  "types": "./ui/treeTable/index.d.ts",
406
406
  "esm2022": "./esm2022/ui/treeTable/aril-ui-treeTable.mjs",
@@ -467,18 +467,18 @@
467
467
  "esm": "./esm2022/ui-business/ref-value/aril-ui-business-ref-value.mjs",
468
468
  "default": "./fesm2022/aril-ui-business-ref-value.mjs"
469
469
  },
470
- "./ui-business/trace-drawer": {
471
- "types": "./ui-business/trace-drawer/index.d.ts",
472
- "esm2022": "./esm2022/ui-business/trace-drawer/aril-ui-business-trace-drawer.mjs",
473
- "esm": "./esm2022/ui-business/trace-drawer/aril-ui-business-trace-drawer.mjs",
474
- "default": "./fesm2022/aril-ui-business-trace-drawer.mjs"
475
- },
476
470
  "./ui-business/rolePicker": {
477
471
  "types": "./ui-business/rolePicker/index.d.ts",
478
472
  "esm2022": "./esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs",
479
473
  "esm": "./esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs",
480
474
  "default": "./fesm2022/aril-ui-business-rolePicker.mjs"
481
475
  },
476
+ "./ui-business/trace-drawer": {
477
+ "types": "./ui-business/trace-drawer/index.d.ts",
478
+ "esm2022": "./esm2022/ui-business/trace-drawer/aril-ui-business-trace-drawer.mjs",
479
+ "esm": "./esm2022/ui-business/trace-drawer/aril-ui-business-trace-drawer.mjs",
480
+ "default": "./fesm2022/aril-ui-business-trace-drawer.mjs"
481
+ },
482
482
  "./ui-business/trace-id": {
483
483
  "types": "./ui-business/trace-id/index.d.ts",
484
484
  "esm2022": "./esm2022/ui-business/trace-id/aril-ui-business-trace-id.mjs",
@@ -497,18 +497,18 @@
497
497
  "esm": "./esm2022/util/activity/aril-util-activity.mjs",
498
498
  "default": "./fesm2022/aril-util-activity.mjs"
499
499
  },
500
- "./util/directives": {
501
- "types": "./util/directives/index.d.ts",
502
- "esm2022": "./esm2022/util/directives/aril-util-directives.mjs",
503
- "esm": "./esm2022/util/directives/aril-util-directives.mjs",
504
- "default": "./fesm2022/aril-util-directives.mjs"
505
- },
506
500
  "./util/block": {
507
501
  "types": "./util/block/index.d.ts",
508
502
  "esm2022": "./esm2022/util/block/aril-util-block.mjs",
509
503
  "esm": "./esm2022/util/block/aril-util-block.mjs",
510
504
  "default": "./fesm2022/aril-util-block.mjs"
511
505
  },
506
+ "./util/directives": {
507
+ "types": "./util/directives/index.d.ts",
508
+ "esm2022": "./esm2022/util/directives/aril-util-directives.mjs",
509
+ "esm": "./esm2022/util/directives/aril-util-directives.mjs",
510
+ "default": "./fesm2022/aril-util-directives.mjs"
511
+ },
512
512
  "./util/lib": {
513
513
  "types": "./util/lib/index.d.ts",
514
514
  "esm2022": "./esm2022/util/lib/aril-util-lib.mjs",
@@ -527,18 +527,18 @@
527
527
  "esm": "./esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs",
528
528
  "default": "./fesm2022/aril-util-primitive-extensions.mjs"
529
529
  },
530
- "./util/pub-sub": {
531
- "types": "./util/pub-sub/index.d.ts",
532
- "esm2022": "./esm2022/util/pub-sub/aril-util-pub-sub.mjs",
533
- "esm": "./esm2022/util/pub-sub/aril-util-pub-sub.mjs",
534
- "default": "./fesm2022/aril-util-pub-sub.mjs"
535
- },
536
530
  "./util/sync-active-tab-route": {
537
531
  "types": "./util/sync-active-tab-route/index.d.ts",
538
532
  "esm2022": "./esm2022/util/sync-active-tab-route/aril-util-sync-active-tab-route.mjs",
539
533
  "esm": "./esm2022/util/sync-active-tab-route/aril-util-sync-active-tab-route.mjs",
540
534
  "default": "./fesm2022/aril-util-sync-active-tab-route.mjs"
541
535
  },
536
+ "./util/pub-sub": {
537
+ "types": "./util/pub-sub/index.d.ts",
538
+ "esm2022": "./esm2022/util/pub-sub/aril-util-pub-sub.mjs",
539
+ "esm": "./esm2022/util/pub-sub/aril-util-pub-sub.mjs",
540
+ "default": "./fesm2022/aril-util-pub-sub.mjs"
541
+ },
542
542
  "./util/unwrap": {
543
543
  "types": "./util/unwrap/index.d.ts",
544
544
  "esm2022": "./esm2022/util/unwrap/aril-util-unwrap.mjs",
@@ -551,18 +551,18 @@
551
551
  "esm": "./esm2022/boot/config/api/aril-boot-config-api.mjs",
552
552
  "default": "./fesm2022/aril-boot-config-api.mjs"
553
553
  },
554
- "./boot/config/plugins": {
555
- "types": "./boot/config/plugins/index.d.ts",
556
- "esm2022": "./esm2022/boot/config/plugins/aril-boot-config-plugins.mjs",
557
- "esm": "./esm2022/boot/config/plugins/aril-boot-config-plugins.mjs",
558
- "default": "./fesm2022/aril-boot-config-plugins.mjs"
559
- },
560
554
  "./boot/config/apps": {
561
555
  "types": "./boot/config/apps/index.d.ts",
562
556
  "esm2022": "./esm2022/boot/config/apps/aril-boot-config-apps.mjs",
563
557
  "esm": "./esm2022/boot/config/apps/aril-boot-config-apps.mjs",
564
558
  "default": "./fesm2022/aril-boot-config-apps.mjs"
565
559
  },
560
+ "./boot/config/plugins": {
561
+ "types": "./boot/config/plugins/index.d.ts",
562
+ "esm2022": "./esm2022/boot/config/plugins/aril-boot-config-plugins.mjs",
563
+ "esm": "./esm2022/boot/config/plugins/aril-boot-config-plugins.mjs",
564
+ "default": "./fesm2022/aril-boot-config-plugins.mjs"
565
+ },
566
566
  "./boot/config/translate": {
567
567
  "types": "./boot/config/translate/index.d.ts",
568
568
  "esm2022": "./esm2022/boot/config/translate/aril-boot-config-translate.mjs",
@@ -1,127 +1,127 @@
1
- import { NgClass } from '@angular/common';
2
- import { Component, effect } from '@angular/core';
3
- import { ActivatedRouteSnapshot, NavigationEnd, Router, RouterLink } from '@angular/router';
4
-
5
- import { MenuItem } from 'primeng/api';
6
- import { BreadcrumbModule } from 'primeng/breadcrumb';
7
-
8
- import { BehaviorSubject, Subscription } from 'rxjs';
9
- import { filter } from 'rxjs/operators';
10
-
11
- import { bridge } from 'aril/boot/bridge';
12
- import { PubSubService } from 'aril/util/pub-sub';
13
- import { BreadcrumbService } from '../../service/breadcrumb.service';
14
-
15
- interface Breadcrumb {
16
- label: string;
17
- url?: string;
18
- }
19
-
20
- @Component({
21
- standalone: true,
22
- selector: 'app-breadcrumb',
23
- imports: [RouterLink, BreadcrumbModule, NgClass],
24
- templateUrl: './app.breadcrumb.component.html'
25
- })
26
- export class AppBreadcrumbComponent {
27
- private readonly _breadcrumbs$ = new BehaviorSubject<Breadcrumb[]>([]);
28
- private breadcrumbsSubscription!: Subscription;
29
-
30
- readonly breadcrumbs$ = this._breadcrumbs$.asObservable();
31
- breadcrumbs: MenuItem[] = [];
32
-
33
- constructor(
34
- private router: Router,
35
- private breadcrumbService: BreadcrumbService,
36
- private pubSubService: PubSubService
37
- ) {
38
- this.router.events.pipe(filter((event) => event instanceof NavigationEnd)).subscribe((event) => {
39
- const root = this.router.routerState.snapshot.root;
40
- const breadcrumbs: Breadcrumb[] = [];
41
-
42
- this.addBreadcrumb(root, [], breadcrumbs);
43
-
44
- this._breadcrumbs$.next(breadcrumbs);
45
- });
46
-
47
- effect(() => {
48
- if (this.breadcrumbService.keyValues()) {
49
- const root = this.router.routerState.snapshot.root;
50
- const breadcrumbs: Breadcrumb[] = [];
51
-
52
- this.addBreadcrumb(root, [], breadcrumbs);
53
-
54
- this._breadcrumbs$.next(breadcrumbs);
55
- }
56
- });
57
- }
58
-
59
- ngOnInit() {
60
- this.breadcrumbsSubscription = this.breadcrumbs$.subscribe((breadcrumbs) => {
61
- this.breadcrumbs = breadcrumbs.map((breadcrumb) => ({
62
- label: breadcrumb.label,
63
- url: breadcrumb.url
64
- }));
65
- this.breadcrumbs.unshift({ icon: 'pi pi-home', url: '/' });
66
-
67
- // Update global page title signal with the last breadcrumb label
68
- const pageTitle = bridge.pageTitle();
69
- if (pageTitle) {
70
- const lastBreadcrumb = breadcrumbs[breadcrumbs.length - 1];
71
- bridge.pageTitle.set(lastBreadcrumb?.label || '');
72
- }
73
-
74
- const currentUrl = this.router.url;
75
- this.pubSubService.publish({
76
- name: 'breadcrumbUpdated',
77
- data: {
78
- path: currentUrl,
79
- custom: {
80
- breadcrumbs: breadcrumbs,
81
- pageTitle: breadcrumbs.length > 0 ? breadcrumbs[breadcrumbs.length - 1].label : ''
82
- }
83
- }
84
- });
85
- });
86
- }
87
-
88
- ngOnDestroy() {
89
- if (this.breadcrumbsSubscription) {
90
- this.breadcrumbsSubscription.unsubscribe();
91
- }
92
- }
93
-
94
- private addBreadcrumb(route: ActivatedRouteSnapshot, parentUrl: string[], breadcrumbs: Breadcrumb[]) {
95
- const routeUrl = parentUrl.concat(route.url.map((url) => url.path));
96
- const breadcrumb = route.data['breadcrumb'];
97
- const parentBreadcrumb = route.parent && route.parent.data ? route.parent.data['breadcrumb'] : null;
98
-
99
- if (breadcrumb && breadcrumb !== parentBreadcrumb) {
100
- const keyRegex = new RegExp('(?<=\\{)([^}]+)(?=\\})');
101
- const key = (keyRegex.exec(route.data['breadcrumb']) || [])[0]!;
102
- const value = this.breadcrumbService.getValue(key);
103
-
104
- if (key && value) {
105
- breadcrumbs.push({
106
- label: (route.data['breadcrumb'] as string).replace(`{${key}}`, value),
107
- url: '/' + routeUrl.join('/')
108
- });
109
- } else if (key && !value) {
110
- // Key exists but value not loaded yet - show loading placeholder
111
- breadcrumbs.push({
112
- label: '...',
113
- url: '/' + routeUrl.join('/')
114
- });
115
- } else {
116
- breadcrumbs.push({
117
- label: route.data['breadcrumb'],
118
- url: '/' + routeUrl.join('/')
119
- });
120
- }
121
- }
122
-
123
- if (route.firstChild) {
124
- this.addBreadcrumb(route.firstChild, routeUrl, breadcrumbs);
125
- }
126
- }
127
- }
1
+ import { NgClass } from '@angular/common';
2
+ import { Component, effect } from '@angular/core';
3
+ import { ActivatedRouteSnapshot, NavigationEnd, Router, RouterLink } from '@angular/router';
4
+
5
+ import { MenuItem } from 'primeng/api';
6
+ import { BreadcrumbModule } from 'primeng/breadcrumb';
7
+
8
+ import { BehaviorSubject, Subscription } from 'rxjs';
9
+ import { filter } from 'rxjs/operators';
10
+
11
+ import { bridge } from 'aril/boot/bridge';
12
+ import { PubSubService } from 'aril/util/pub-sub';
13
+ import { BreadcrumbService } from '../../service/breadcrumb.service';
14
+
15
+ interface Breadcrumb {
16
+ label: string;
17
+ url?: string;
18
+ }
19
+
20
+ @Component({
21
+ standalone: true,
22
+ selector: 'app-breadcrumb',
23
+ imports: [RouterLink, BreadcrumbModule, NgClass],
24
+ templateUrl: './app.breadcrumb.component.html'
25
+ })
26
+ export class AppBreadcrumbComponent {
27
+ private readonly _breadcrumbs$ = new BehaviorSubject<Breadcrumb[]>([]);
28
+ private breadcrumbsSubscription!: Subscription;
29
+
30
+ readonly breadcrumbs$ = this._breadcrumbs$.asObservable();
31
+ breadcrumbs: MenuItem[] = [];
32
+
33
+ constructor(
34
+ private router: Router,
35
+ private breadcrumbService: BreadcrumbService,
36
+ private pubSubService: PubSubService
37
+ ) {
38
+ this.router.events.pipe(filter((event) => event instanceof NavigationEnd)).subscribe((event) => {
39
+ const root = this.router.routerState.snapshot.root;
40
+ const breadcrumbs: Breadcrumb[] = [];
41
+
42
+ this.addBreadcrumb(root, [], breadcrumbs);
43
+
44
+ this._breadcrumbs$.next(breadcrumbs);
45
+ });
46
+
47
+ effect(() => {
48
+ if (this.breadcrumbService.keyValues()) {
49
+ const root = this.router.routerState.snapshot.root;
50
+ const breadcrumbs: Breadcrumb[] = [];
51
+
52
+ this.addBreadcrumb(root, [], breadcrumbs);
53
+
54
+ this._breadcrumbs$.next(breadcrumbs);
55
+ }
56
+ });
57
+ }
58
+
59
+ ngOnInit() {
60
+ this.breadcrumbsSubscription = this.breadcrumbs$.subscribe((breadcrumbs) => {
61
+ this.breadcrumbs = breadcrumbs.map((breadcrumb) => ({
62
+ label: breadcrumb.label,
63
+ url: breadcrumb.url
64
+ }));
65
+ this.breadcrumbs.unshift({ icon: 'pi pi-home', url: '/' });
66
+
67
+ // Update global page title signal with the last breadcrumb label
68
+ const pageTitle = bridge.pageTitle();
69
+ if (pageTitle) {
70
+ const lastBreadcrumb = breadcrumbs[breadcrumbs.length - 1];
71
+ bridge.pageTitle.set(lastBreadcrumb?.label || '');
72
+ }
73
+
74
+ const currentUrl = this.router.url;
75
+ this.pubSubService.publish({
76
+ name: 'breadcrumbUpdated',
77
+ data: {
78
+ path: currentUrl,
79
+ custom: {
80
+ breadcrumbs: breadcrumbs,
81
+ pageTitle: breadcrumbs.length > 0 ? breadcrumbs[breadcrumbs.length - 1].label : ''
82
+ }
83
+ }
84
+ });
85
+ });
86
+ }
87
+
88
+ ngOnDestroy() {
89
+ if (this.breadcrumbsSubscription) {
90
+ this.breadcrumbsSubscription.unsubscribe();
91
+ }
92
+ }
93
+
94
+ private addBreadcrumb(route: ActivatedRouteSnapshot, parentUrl: string[], breadcrumbs: Breadcrumb[]) {
95
+ const routeUrl = parentUrl.concat(route.url.map((url) => url.path));
96
+ const breadcrumb = route.data['breadcrumb'];
97
+ const parentBreadcrumb = route.parent && route.parent.data ? route.parent.data['breadcrumb'] : null;
98
+
99
+ if (breadcrumb && breadcrumb !== parentBreadcrumb) {
100
+ const keyRegex = new RegExp('(?<=\\{)([^}]+)(?=\\})');
101
+ const key = (keyRegex.exec(route.data['breadcrumb']) || [])[0]!;
102
+ const value = this.breadcrumbService.getValue(key);
103
+
104
+ if (key && value) {
105
+ breadcrumbs.push({
106
+ label: (route.data['breadcrumb'] as string).replace(`{${key}}`, value),
107
+ url: '/' + routeUrl.join('/')
108
+ });
109
+ } else if (key && !value) {
110
+ // Key exists but value not loaded yet - show loading placeholder
111
+ breadcrumbs.push({
112
+ label: '...',
113
+ url: '/' + routeUrl.join('/')
114
+ });
115
+ } else {
116
+ breadcrumbs.push({
117
+ label: route.data['breadcrumb'],
118
+ url: '/' + routeUrl.join('/')
119
+ });
120
+ }
121
+ }
122
+
123
+ if (route.firstChild) {
124
+ this.addBreadcrumb(route.firstChild, routeUrl, breadcrumbs);
125
+ }
126
+ }
127
+ }