aril 1.2.47 → 1.2.49
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.
- package/boot/config/apps/src/interfaces.d.ts +14 -0
- package/esm2022/boot/bridge/index.mjs +1 -1
- package/esm2022/boot/bridge/src/mfe-bridge.mjs +1 -1
- package/esm2022/boot/bridge/src/provide-mfe-bridge.mjs +1 -1
- package/esm2022/boot/config/api/index.mjs +1 -1
- package/esm2022/boot/config/apps/src/apps.service.mjs +1 -1
- package/esm2022/boot/config/apps/src/auth.guard.mjs +1 -1
- package/esm2022/boot/config/apps/src/interfaces.mjs +1 -1
- package/esm2022/boot/config/apps/src/route-permissions.mjs +1 -1
- package/esm2022/boot/config/plugins/src/getNgZone.mjs +1 -1
- package/esm2022/boot/config/plugins/src/interfaces.mjs +1 -1
- package/esm2022/boot/config/plugins/src/plugins.service.mjs +1 -1
- package/esm2022/boot/config/translate/primeng/i18n/tr.mjs +1 -1
- package/esm2022/boot/host/src/app.component.mjs +1 -1
- package/esm2022/boot/mfe/src/app.component.mjs +13 -13
- package/esm2022/boot/mfe/src/bootstrap.mjs +1 -1
- package/esm2022/boot/pages/index.mjs +1 -1
- package/esm2022/boot/pages/src/forbidden.component.mjs +51 -51
- package/esm2022/boot/pages/src/notFound.component.mjs +47 -47
- package/esm2022/http/lib/enums.mjs +1 -1
- package/esm2022/http/src/serviceBase.mjs +1 -1
- package/esm2022/http/src/serviceStateMethods.mjs +1 -1
- package/esm2022/keycloak/src/auth.interceptor.mjs +1 -1
- package/esm2022/provider/src/prodiveHostRouter.mjs +1 -1
- package/esm2022/provider/src/provideHostKeycloak.mjs +1 -1
- package/esm2022/superset/index.mjs +1 -1
- package/esm2022/theme/layout/app/breadcrumb/app.breadcrumb.component.mjs +1 -1
- package/esm2022/theme/layout/app/expandableMenu/expandable-menu.component.mjs +16 -8
- package/esm2022/theme/layout/app/general-search/general-search.component.mjs +1 -1
- package/esm2022/theme/layout/app/site-map/site-map-sidebar.component.mjs +1 -1
- package/esm2022/theme/layout/app/static-sidebar/static-sidebar.component.mjs +19 -11
- package/esm2022/theme/layout/index.mjs +1 -1
- package/esm2022/theme/layout/service/interfaces/enum.mjs +1 -1
- package/esm2022/theme/layout/service/interfaces/interfaces.mjs +1 -1
- package/esm2022/theme/layout/service/menu-action-confirm.mjs +73 -0
- package/esm2022/theme/layout/service/selection-group.service.mjs +72 -6
- package/esm2022/ui/autoComplete/src/auto-complete.component.mjs +1 -1
- package/esm2022/ui/button/src/button.component.mjs +1 -1
- package/esm2022/ui/chip/src/chip.component.mjs +1 -1
- package/esm2022/ui/form/src/form-submit-button.component.mjs +3 -3
- package/esm2022/ui/table/src/table.component.mjs +3 -3
- package/esm2022/ui/table-expand/src/table.component.mjs +3 -3
- package/esm2022/ui/treeTable/src/tree-table.component.mjs +1 -1
- package/esm2022/ui-business/assetPicker/index.mjs +1 -1
- package/esm2022/ui-business/assetPicker/src/asset-picker.component.mjs +3 -3
- package/esm2022/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.mjs +3 -3
- package/esm2022/ui-business/enumPicker/src/interface.mjs +1 -1
- package/esm2022/ui-business/multiAssetPicker/index.mjs +1 -1
- package/esm2022/ui-business/multiAssetPicker/src/multi-asset-picker.component.mjs +3 -3
- package/esm2022/ui-business/pdf-preview-modal/index.mjs +1 -1
- package/esm2022/ui-business/pdf-preview-modal/src/open-pdf-preview.mjs +1 -1
- package/esm2022/ui-business/pdf-preview-modal/src/pdf-preview-modal.component.mjs +27 -27
- package/esm2022/ui-business/ref-value/src/ref-value.component.mjs +3 -3
- package/esm2022/ui-business/trace-drawer/index.mjs +1 -1
- package/esm2022/ui-business/trace-drawer/src/app-log.service.mjs +1 -1
- package/esm2022/ui-business/trace-drawer/src/trace-log.service.mjs +1 -1
- package/esm2022/ui-business/trace-id/index.mjs +1 -1
- package/esm2022/ui-business/trace-id/src/trace-id.component.mjs +3 -3
- package/esm2022/util/activity/index.mjs +1 -1
- package/esm2022/util/activity/src/activity.constants.mjs +1 -1
- package/esm2022/util/activity/src/activity.service.mjs +1 -1
- package/esm2022/util/activity/src/activity.types.mjs +1 -1
- package/esm2022/util/directives/src/detail-page-customization/detail-page-customization.directive.mjs +1 -1
- package/esm2022/util/pipes/src/translate-json/translate-json.pipe.mjs +1 -1
- package/fesm2022/{aril-app.component-YBy2gyza.mjs → aril-app.component-BUjucZ0J.mjs} +13 -13
- package/fesm2022/aril-app.component-BUjucZ0J.mjs.map +1 -0
- package/fesm2022/aril-boot-bridge.mjs.map +1 -1
- package/fesm2022/aril-boot-config-apps.mjs.map +1 -1
- package/fesm2022/aril-boot-config-plugins.mjs.map +1 -1
- package/fesm2022/aril-boot-config-translate.mjs.map +1 -1
- package/fesm2022/aril-boot-host.mjs.map +1 -1
- package/fesm2022/{aril-boot-mfe-app.component-GbZAGlTf.mjs → aril-boot-mfe-app.component-D1w8I2ug.mjs} +14 -14
- package/fesm2022/aril-boot-mfe-app.component-D1w8I2ug.mjs.map +1 -0
- package/fesm2022/{aril-boot-mfe-aril-boot-mfe-I5xT2fQx.mjs → aril-boot-mfe-aril-boot-mfe-JHrhKvhU.mjs} +2 -2
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-JHrhKvhU.mjs.map +1 -0
- package/fesm2022/aril-boot-mfe.mjs +1 -1
- package/fesm2022/aril-boot-pages.mjs +96 -96
- package/fesm2022/aril-boot-pages.mjs.map +1 -1
- package/fesm2022/aril-http.mjs.map +1 -1
- package/fesm2022/aril-keycloak.mjs.map +1 -1
- package/fesm2022/aril-provider.mjs.map +1 -1
- package/fesm2022/aril-theme-layout.mjs +184 -33
- package/fesm2022/aril-theme-layout.mjs.map +1 -1
- package/fesm2022/aril-ui-autoComplete.mjs.map +1 -1
- package/fesm2022/aril-ui-business-assetPicker.mjs +2 -2
- package/fesm2022/aril-ui-business-assetPicker.mjs.map +1 -1
- package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs +2 -2
- package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs.map +1 -1
- package/fesm2022/aril-ui-business-multiAssetPicker.mjs +2 -2
- package/fesm2022/aril-ui-business-multiAssetPicker.mjs.map +1 -1
- package/fesm2022/aril-ui-business-pdf-preview-modal.mjs +26 -26
- package/fesm2022/aril-ui-business-pdf-preview-modal.mjs.map +1 -1
- package/fesm2022/aril-ui-business-ref-value.mjs +2 -2
- package/fesm2022/aril-ui-business-ref-value.mjs.map +1 -1
- package/fesm2022/aril-ui-business-trace-drawer.mjs.map +1 -1
- package/fesm2022/aril-ui-business-trace-id.mjs +2 -2
- package/fesm2022/aril-ui-business-trace-id.mjs.map +1 -1
- package/fesm2022/aril-ui-button.mjs.map +1 -1
- package/fesm2022/aril-ui-chip.mjs.map +1 -1
- package/fesm2022/aril-ui-form.mjs +2 -2
- package/fesm2022/aril-ui-form.mjs.map +1 -1
- package/fesm2022/aril-ui-table-expand.mjs +2 -2
- package/fesm2022/aril-ui-table-expand.mjs.map +1 -1
- package/fesm2022/aril-ui-table.mjs +2 -2
- package/fesm2022/aril-ui-table.mjs.map +1 -1
- package/fesm2022/aril-ui-treeTable.mjs.map +1 -1
- package/fesm2022/aril-util-activity.mjs.map +1 -1
- package/fesm2022/aril-util-directives.mjs.map +1 -1
- package/fesm2022/aril-util-pipes.mjs.map +1 -1
- package/fesm2022/aril.mjs +1 -1
- package/fesm2022/aril.mjs.map +1 -1
- package/package.json +66 -66
- package/theme/layout/app/breadcrumb/app.breadcrumb.component.ts +127 -127
- package/theme/layout/app/expandableMenu/expandable-menu.component.d.ts +4 -1
- package/theme/layout/app/expandableMenu/expandable-menu.component.html +137 -137
- package/theme/layout/app/expandableMenu/expandable-menu.component.ts +387 -373
- package/theme/layout/app/general-search/general-search.component.ts +93 -93
- package/theme/layout/app/site-map/site-map-sidebar.component.ts +195 -195
- package/theme/layout/app/static-sidebar/static-sidebar.component.d.ts +4 -1
- package/theme/layout/app/static-sidebar/static-sidebar.component.html +162 -162
- package/theme/layout/app/static-sidebar/static-sidebar.component.ts +357 -343
- package/theme/layout/index.ts +9 -9
- package/theme/layout/service/interfaces/enum.ts +19 -19
- package/theme/layout/service/interfaces/interfaces.d.ts +7 -0
- package/theme/layout/service/interfaces/interfaces.ts +8 -0
- package/theme/layout/service/menu-action-confirm.d.ts +15 -0
- package/theme/layout/service/menu-action-confirm.ts +112 -0
- package/theme/layout/service/selection-group.service.d.ts +12 -0
- package/theme/layout/service/selection-group.service.ts +78 -7
- package/theme/styles/layout/_fonts.scss +81 -81
- package/theme/styles/theme/base/components/input/_inputtext.scss +104 -104
- package/theme/styles/theme/base/components/overlay/_sidebar.scss +27 -27
- package/theme/styles/theme/base/components/panel/_stepper.scss +205 -205
- package/theme/styles/theme/dark/_variables.scss +933 -933
- package/theme/styles/theme/light/_variables.scss +940 -940
- package/ui/table/src/table.component.d.ts +1 -1
- package/fesm2022/aril-app.component-YBy2gyza.mjs.map +0 -1
- package/fesm2022/aril-boot-mfe-app.component-GbZAGlTf.mjs.map +0 -1
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-I5xT2fQx.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aril",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.49",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/cdk": "~17.1.0",
|
|
6
6
|
"@angular/common": "^17.1.0",
|
|
@@ -107,6 +107,12 @@
|
|
|
107
107
|
"esm": "./esm2022/ui-business/aril-ui-business.mjs",
|
|
108
108
|
"default": "./fesm2022/aril-ui-business.mjs"
|
|
109
109
|
},
|
|
110
|
+
"./util": {
|
|
111
|
+
"types": "./util/index.d.ts",
|
|
112
|
+
"esm2022": "./esm2022/util/aril-util.mjs",
|
|
113
|
+
"esm": "./esm2022/util/aril-util.mjs",
|
|
114
|
+
"default": "./fesm2022/aril-util.mjs"
|
|
115
|
+
},
|
|
110
116
|
"./boot/base": {
|
|
111
117
|
"types": "./boot/base/index.d.ts",
|
|
112
118
|
"esm2022": "./esm2022/boot/base/aril-boot-base.mjs",
|
|
@@ -119,12 +125,6 @@
|
|
|
119
125
|
"esm": "./esm2022/boot/bridge/aril-boot-bridge.mjs",
|
|
120
126
|
"default": "./fesm2022/aril-boot-bridge.mjs"
|
|
121
127
|
},
|
|
122
|
-
"./util": {
|
|
123
|
-
"types": "./util/index.d.ts",
|
|
124
|
-
"esm2022": "./esm2022/util/aril-util.mjs",
|
|
125
|
-
"esm": "./esm2022/util/aril-util.mjs",
|
|
126
|
-
"default": "./fesm2022/aril-util.mjs"
|
|
127
|
-
},
|
|
128
128
|
"./boot/host": {
|
|
129
129
|
"types": "./boot/host/index.d.ts",
|
|
130
130
|
"esm2022": "./esm2022/boot/host/aril-boot-host.mjs",
|
|
@@ -185,18 +185,18 @@
|
|
|
185
185
|
"esm": "./esm2022/ui/checkbox/aril-ui-checkbox.mjs",
|
|
186
186
|
"default": "./fesm2022/aril-ui-checkbox.mjs"
|
|
187
187
|
},
|
|
188
|
-
"./ui/collapse-reorder-list": {
|
|
189
|
-
"types": "./ui/collapse-reorder-list/index.d.ts",
|
|
190
|
-
"esm2022": "./esm2022/ui/collapse-reorder-list/aril-ui-collapse-reorder-list.mjs",
|
|
191
|
-
"esm": "./esm2022/ui/collapse-reorder-list/aril-ui-collapse-reorder-list.mjs",
|
|
192
|
-
"default": "./fesm2022/aril-ui-collapse-reorder-list.mjs"
|
|
193
|
-
},
|
|
194
188
|
"./ui/chip": {
|
|
195
189
|
"types": "./ui/chip/index.d.ts",
|
|
196
190
|
"esm2022": "./esm2022/ui/chip/aril-ui-chip.mjs",
|
|
197
191
|
"esm": "./esm2022/ui/chip/aril-ui-chip.mjs",
|
|
198
192
|
"default": "./fesm2022/aril-ui-chip.mjs"
|
|
199
193
|
},
|
|
194
|
+
"./ui/collapse-reorder-list": {
|
|
195
|
+
"types": "./ui/collapse-reorder-list/index.d.ts",
|
|
196
|
+
"esm2022": "./esm2022/ui/collapse-reorder-list/aril-ui-collapse-reorder-list.mjs",
|
|
197
|
+
"esm": "./esm2022/ui/collapse-reorder-list/aril-ui-collapse-reorder-list.mjs",
|
|
198
|
+
"default": "./fesm2022/aril-ui-collapse-reorder-list.mjs"
|
|
199
|
+
},
|
|
200
200
|
"./ui/dxEditor": {
|
|
201
201
|
"types": "./ui/dxEditor/index.d.ts",
|
|
202
202
|
"esm2022": "./esm2022/ui/dxEditor/aril-ui-dxEditor.mjs",
|
|
@@ -233,23 +233,23 @@
|
|
|
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
|
+
},
|
|
236
242
|
"./ui/img-viewer": {
|
|
237
243
|
"types": "./ui/img-viewer/index.d.ts",
|
|
238
244
|
"esm2022": "./esm2022/ui/img-viewer/aril-ui-img-viewer.mjs",
|
|
239
245
|
"esm": "./esm2022/ui/img-viewer/aril-ui-img-viewer.mjs",
|
|
240
246
|
"default": "./fesm2022/aril-ui-img-viewer.mjs"
|
|
241
247
|
},
|
|
242
|
-
"./ui/
|
|
243
|
-
"types": "./ui/
|
|
244
|
-
"esm2022": "./esm2022/ui/
|
|
245
|
-
"esm": "./esm2022/ui/
|
|
246
|
-
"default": "./fesm2022/aril-ui-
|
|
247
|
-
},
|
|
248
|
-
"./ui/json-diff-comparison": {
|
|
249
|
-
"types": "./ui/json-diff-comparison/index.d.ts",
|
|
250
|
-
"esm2022": "./esm2022/ui/json-diff-comparison/aril-ui-json-diff-comparison.mjs",
|
|
251
|
-
"esm": "./esm2022/ui/json-diff-comparison/aril-ui-json-diff-comparison.mjs",
|
|
252
|
-
"default": "./fesm2022/aril-ui-json-diff-comparison.mjs"
|
|
248
|
+
"./ui/lib": {
|
|
249
|
+
"types": "./ui/lib/index.d.ts",
|
|
250
|
+
"esm2022": "./esm2022/ui/lib/aril-ui-lib.mjs",
|
|
251
|
+
"esm": "./esm2022/ui/lib/aril-ui-lib.mjs",
|
|
252
|
+
"default": "./fesm2022/aril-ui-lib.mjs"
|
|
253
253
|
},
|
|
254
254
|
"./ui/loader": {
|
|
255
255
|
"types": "./ui/loader/index.d.ts",
|
|
@@ -257,18 +257,18 @@
|
|
|
257
257
|
"esm": "./esm2022/ui/loader/aril-ui-loader.mjs",
|
|
258
258
|
"default": "./fesm2022/aril-ui-loader.mjs"
|
|
259
259
|
},
|
|
260
|
+
"./ui/mask": {
|
|
261
|
+
"types": "./ui/mask/index.d.ts",
|
|
262
|
+
"esm2022": "./esm2022/ui/mask/aril-ui-mask.mjs",
|
|
263
|
+
"esm": "./esm2022/ui/mask/aril-ui-mask.mjs",
|
|
264
|
+
"default": "./fesm2022/aril-ui-mask.mjs"
|
|
265
|
+
},
|
|
260
266
|
"./ui/multiSelect": {
|
|
261
267
|
"types": "./ui/multiSelect/index.d.ts",
|
|
262
268
|
"esm2022": "./esm2022/ui/multiSelect/aril-ui-multiSelect.mjs",
|
|
263
269
|
"esm": "./esm2022/ui/multiSelect/aril-ui-multiSelect.mjs",
|
|
264
270
|
"default": "./fesm2022/aril-ui-multiSelect.mjs"
|
|
265
271
|
},
|
|
266
|
-
"./ui/lib": {
|
|
267
|
-
"types": "./ui/lib/index.d.ts",
|
|
268
|
-
"esm2022": "./esm2022/ui/lib/aril-ui-lib.mjs",
|
|
269
|
-
"esm": "./esm2022/ui/lib/aril-ui-lib.mjs",
|
|
270
|
-
"default": "./fesm2022/aril-ui-lib.mjs"
|
|
271
|
-
},
|
|
272
272
|
"./ui/number": {
|
|
273
273
|
"types": "./ui/number/index.d.ts",
|
|
274
274
|
"esm2022": "./esm2022/ui/number/aril-ui-number.mjs",
|
|
@@ -329,18 +329,18 @@
|
|
|
329
329
|
"esm": "./esm2022/ui/relativeDateSelector/aril-ui-relativeDateSelector.mjs",
|
|
330
330
|
"default": "./fesm2022/aril-ui-relativeDateSelector.mjs"
|
|
331
331
|
},
|
|
332
|
-
"./ui/table": {
|
|
333
|
-
"types": "./ui/table/index.d.ts",
|
|
334
|
-
"esm2022": "./esm2022/ui/table/aril-ui-table.mjs",
|
|
335
|
-
"esm": "./esm2022/ui/table/aril-ui-table.mjs",
|
|
336
|
-
"default": "./fesm2022/aril-ui-table.mjs"
|
|
337
|
-
},
|
|
338
332
|
"./ui/switch": {
|
|
339
333
|
"types": "./ui/switch/index.d.ts",
|
|
340
334
|
"esm2022": "./esm2022/ui/switch/aril-ui-switch.mjs",
|
|
341
335
|
"esm": "./esm2022/ui/switch/aril-ui-switch.mjs",
|
|
342
336
|
"default": "./fesm2022/aril-ui-switch.mjs"
|
|
343
337
|
},
|
|
338
|
+
"./ui/table": {
|
|
339
|
+
"types": "./ui/table/index.d.ts",
|
|
340
|
+
"esm2022": "./esm2022/ui/table/aril-ui-table.mjs",
|
|
341
|
+
"esm": "./esm2022/ui/table/aril-ui-table.mjs",
|
|
342
|
+
"default": "./fesm2022/aril-ui-table.mjs"
|
|
343
|
+
},
|
|
344
344
|
"./ui/table-expand": {
|
|
345
345
|
"types": "./ui/table-expand/index.d.ts",
|
|
346
346
|
"esm2022": "./esm2022/ui/table-expand/aril-ui-table-expand.mjs",
|
|
@@ -377,18 +377,18 @@
|
|
|
377
377
|
"esm": "./esm2022/ui/tooltip/aril-ui-tooltip.mjs",
|
|
378
378
|
"default": "./fesm2022/aril-ui-tooltip.mjs"
|
|
379
379
|
},
|
|
380
|
-
"./ui/translate-input": {
|
|
381
|
-
"types": "./ui/translate-input/index.d.ts",
|
|
382
|
-
"esm2022": "./esm2022/ui/translate-input/aril-ui-translate-input.mjs",
|
|
383
|
-
"esm": "./esm2022/ui/translate-input/aril-ui-translate-input.mjs",
|
|
384
|
-
"default": "./fesm2022/aril-ui-translate-input.mjs"
|
|
385
|
-
},
|
|
386
380
|
"./ui/toggle-button": {
|
|
387
381
|
"types": "./ui/toggle-button/index.d.ts",
|
|
388
382
|
"esm2022": "./esm2022/ui/toggle-button/aril-ui-toggle-button.mjs",
|
|
389
383
|
"esm": "./esm2022/ui/toggle-button/aril-ui-toggle-button.mjs",
|
|
390
384
|
"default": "./fesm2022/aril-ui-toggle-button.mjs"
|
|
391
385
|
},
|
|
386
|
+
"./ui/translate-input": {
|
|
387
|
+
"types": "./ui/translate-input/index.d.ts",
|
|
388
|
+
"esm2022": "./esm2022/ui/translate-input/aril-ui-translate-input.mjs",
|
|
389
|
+
"esm": "./esm2022/ui/translate-input/aril-ui-translate-input.mjs",
|
|
390
|
+
"default": "./fesm2022/aril-ui-translate-input.mjs"
|
|
391
|
+
},
|
|
392
392
|
"./ui/treeSelect": {
|
|
393
393
|
"types": "./ui/treeSelect/index.d.ts",
|
|
394
394
|
"esm2022": "./esm2022/ui/treeSelect/aril-ui-treeSelect.mjs",
|
|
@@ -443,18 +443,18 @@
|
|
|
443
443
|
"esm": "./esm2022/ui-business/multiAssetPicker/aril-ui-business-multiAssetPicker.mjs",
|
|
444
444
|
"default": "./fesm2022/aril-ui-business-multiAssetPicker.mjs"
|
|
445
445
|
},
|
|
446
|
-
"./ui-business/multiple-ref-value": {
|
|
447
|
-
"types": "./ui-business/multiple-ref-value/index.d.ts",
|
|
448
|
-
"esm2022": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
449
|
-
"esm": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
450
|
-
"default": "./fesm2022/aril-ui-business-multiple-ref-value.mjs"
|
|
451
|
-
},
|
|
452
446
|
"./ui-business/notification-templates-dialog": {
|
|
453
447
|
"types": "./ui-business/notification-templates-dialog/index.d.ts",
|
|
454
448
|
"esm2022": "./esm2022/ui-business/notification-templates-dialog/aril-ui-business-notification-templates-dialog.mjs",
|
|
455
449
|
"esm": "./esm2022/ui-business/notification-templates-dialog/aril-ui-business-notification-templates-dialog.mjs",
|
|
456
450
|
"default": "./fesm2022/aril-ui-business-notification-templates-dialog.mjs"
|
|
457
451
|
},
|
|
452
|
+
"./ui-business/multiple-ref-value": {
|
|
453
|
+
"types": "./ui-business/multiple-ref-value/index.d.ts",
|
|
454
|
+
"esm2022": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
455
|
+
"esm": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
456
|
+
"default": "./fesm2022/aril-ui-business-multiple-ref-value.mjs"
|
|
457
|
+
},
|
|
458
458
|
"./ui-business/pdf-preview-modal": {
|
|
459
459
|
"types": "./ui-business/pdf-preview-modal/index.d.ts",
|
|
460
460
|
"esm2022": "./esm2022/ui-business/pdf-preview-modal/aril-ui-business-pdf-preview-modal.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/rolePicker": {
|
|
471
|
-
"types": "./ui-business/rolePicker/index.d.ts",
|
|
472
|
-
"esm2022": "./esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs",
|
|
473
|
-
"esm": "./esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs",
|
|
474
|
-
"default": "./fesm2022/aril-ui-business-rolePicker.mjs"
|
|
475
|
-
},
|
|
476
470
|
"./ui-business/trace-drawer": {
|
|
477
471
|
"types": "./ui-business/trace-drawer/index.d.ts",
|
|
478
472
|
"esm2022": "./esm2022/ui-business/trace-drawer/aril-ui-business-trace-drawer.mjs",
|
|
479
473
|
"esm": "./esm2022/ui-business/trace-drawer/aril-ui-business-trace-drawer.mjs",
|
|
480
474
|
"default": "./fesm2022/aril-ui-business-trace-drawer.mjs"
|
|
481
475
|
},
|
|
476
|
+
"./ui-business/rolePicker": {
|
|
477
|
+
"types": "./ui-business/rolePicker/index.d.ts",
|
|
478
|
+
"esm2022": "./esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs",
|
|
479
|
+
"esm": "./esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs",
|
|
480
|
+
"default": "./fesm2022/aril-ui-business-rolePicker.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",
|
|
@@ -515,12 +515,6 @@
|
|
|
515
515
|
"esm": "./esm2022/util/lib/aril-util-lib.mjs",
|
|
516
516
|
"default": "./fesm2022/aril-util-lib.mjs"
|
|
517
517
|
},
|
|
518
|
-
"./util/pub-sub": {
|
|
519
|
-
"types": "./util/pub-sub/index.d.ts",
|
|
520
|
-
"esm2022": "./esm2022/util/pub-sub/aril-util-pub-sub.mjs",
|
|
521
|
-
"esm": "./esm2022/util/pub-sub/aril-util-pub-sub.mjs",
|
|
522
|
-
"default": "./fesm2022/aril-util-pub-sub.mjs"
|
|
523
|
-
},
|
|
524
518
|
"./util/pipes": {
|
|
525
519
|
"types": "./util/pipes/index.d.ts",
|
|
526
520
|
"esm2022": "./esm2022/util/pipes/aril-util-pipes.mjs",
|
|
@@ -533,6 +527,12 @@
|
|
|
533
527
|
"esm": "./esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs",
|
|
534
528
|
"default": "./fesm2022/aril-util-primitive-extensions.mjs"
|
|
535
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
536
|
"./util/sync-active-tab-route": {
|
|
537
537
|
"types": "./util/sync-active-tab-route/index.d.ts",
|
|
538
538
|
"esm2022": "./esm2022/util/sync-active-tab-route/aril-util-sync-active-tab-route.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/apps": {
|
|
555
|
-
"types": "./boot/config/apps/index.d.ts",
|
|
556
|
-
"esm2022": "./esm2022/boot/config/apps/aril-boot-config-apps.mjs",
|
|
557
|
-
"esm": "./esm2022/boot/config/apps/aril-boot-config-apps.mjs",
|
|
558
|
-
"default": "./fesm2022/aril-boot-config-apps.mjs"
|
|
559
|
-
},
|
|
560
554
|
"./boot/config/plugins": {
|
|
561
555
|
"types": "./boot/config/plugins/index.d.ts",
|
|
562
556
|
"esm2022": "./esm2022/boot/config/plugins/aril-boot-config-plugins.mjs",
|
|
563
557
|
"esm": "./esm2022/boot/config/plugins/aril-boot-config-plugins.mjs",
|
|
564
558
|
"default": "./fesm2022/aril-boot-config-plugins.mjs"
|
|
565
559
|
},
|
|
560
|
+
"./boot/config/apps": {
|
|
561
|
+
"types": "./boot/config/apps/index.d.ts",
|
|
562
|
+
"esm2022": "./esm2022/boot/config/apps/aril-boot-config-apps.mjs",
|
|
563
|
+
"esm": "./esm2022/boot/config/apps/aril-boot-config-apps.mjs",
|
|
564
|
+
"default": "./fesm2022/aril-boot-config-apps.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
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { OnDestroy, OnInit, Signal } from '@angular/core';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
|
+
import { ConfirmationService } from 'primeng/api';
|
|
4
5
|
import { TranslocoService } from '@ngneat/transloco';
|
|
5
6
|
import { KeycloakService } from 'keycloak-angular';
|
|
6
7
|
import { Subscription } from 'rxjs';
|
|
@@ -17,6 +18,7 @@ export declare class ExpandableMenuComponent implements OnInit, OnDestroy {
|
|
|
17
18
|
private translocoService;
|
|
18
19
|
private layoutService;
|
|
19
20
|
private http;
|
|
21
|
+
private confirmationService;
|
|
20
22
|
activeLang: Signal<string>;
|
|
21
23
|
overlayMenuOpenSubscription: Subscription | null;
|
|
22
24
|
routerSubscription: Subscription | null;
|
|
@@ -50,7 +52,7 @@ export declare class ExpandableMenuComponent implements OnInit, OnDestroy {
|
|
|
50
52
|
private readonly MAX_LENGTH;
|
|
51
53
|
actionLoadingItems: Set<string>;
|
|
52
54
|
private actionSubscription;
|
|
53
|
-
constructor(translateJsonPipe: TranslateJsonPipe, menuService: AppMenuService, router: Router, keycloak: KeycloakService, translocoService: TranslocoService, layoutService: LayoutService, http: HttpClient);
|
|
55
|
+
constructor(translateJsonPipe: TranslateJsonPipe, menuService: AppMenuService, router: Router, keycloak: KeycloakService, translocoService: TranslocoService, layoutService: LayoutService, http: HttpClient, confirmationService: ConfirmationService);
|
|
54
56
|
get selectedMainItem(): number | null;
|
|
55
57
|
get secondarySidebarExpanded(): boolean;
|
|
56
58
|
isTextTruncated(label: any, lang: string | null, menuType?: 'main' | 'secondary' | 'tertiary' | 'nested'): boolean;
|
|
@@ -71,6 +73,7 @@ export declare class ExpandableMenuComponent implements OnInit, OnDestroy {
|
|
|
71
73
|
getActionItemKey(item: PluginMenuItem): string;
|
|
72
74
|
isActionLoading(item: PluginMenuItem): boolean;
|
|
73
75
|
onActionItemClick(item: PluginMenuItem, event?: Event): void;
|
|
76
|
+
private runActionItem;
|
|
74
77
|
private buildSuccessRoute;
|
|
75
78
|
private getValueByPath;
|
|
76
79
|
toggleSidebar(): void;
|