aril 1.2.43 → 1.2.45
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/base/index.d.ts +1 -0
- package/boot/base/src/aril-title-strategy.d.ts +38 -0
- package/esm2022/boot/base/index.mjs +2 -1
- package/esm2022/boot/base/src/aril-title-strategy.mjs +104 -0
- package/esm2022/boot/base/src/create-base-app-config.mjs +6 -2
- 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 +3 -3
- package/esm2022/theme/layout/app/general-search/general-search.component.mjs +1 -1
- package/esm2022/theme/layout/app/history/history.service.mjs +4 -4
- 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 +3 -3
- package/esm2022/theme/layout/index.mjs +1 -1
- package/esm2022/theme/layout/service/interfaces/enum.mjs +1 -1
- 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/operation-types-dialog/src/operation-types-dialog.component.mjs +3 -3
- package/esm2022/ui/table/src/table.component.mjs +3 -3
- 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-BUjucZ0J.mjs → aril-app.component-YBy2gyza.mjs} +13 -13
- package/fesm2022/aril-app.component-YBy2gyza.mjs.map +1 -0
- package/fesm2022/aril-boot-base.mjs +108 -4
- package/fesm2022/aril-boot-base.mjs.map +1 -1
- 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-D1w8I2ug.mjs → aril-boot-mfe-app.component-GbZAGlTf.mjs} +14 -14
- package/fesm2022/aril-boot-mfe-app.component-GbZAGlTf.mjs.map +1 -0
- package/fesm2022/{aril-boot-mfe-aril-boot-mfe-JHrhKvhU.mjs → aril-boot-mfe-aril-boot-mfe-I5xT2fQx.mjs} +2 -2
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-I5xT2fQx.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 +7 -7
- 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-operation-types-dialog.mjs +2 -2
- package/fesm2022/aril-ui-operation-types-dialog.mjs.map +1 -1
- package/fesm2022/aril-ui-table.mjs +2 -2
- package/fesm2022/aril-ui-table.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 +80 -80
- package/theme/layout/app/breadcrumb/app.breadcrumb.component.ts +127 -127
- package/theme/layout/app/expandableMenu/expandable-menu.component.html +137 -137
- package/theme/layout/app/expandableMenu/expandable-menu.component.ts +373 -373
- package/theme/layout/app/general-search/general-search.component.ts +93 -93
- package/theme/layout/app/history/history.service.d.ts +0 -1
- package/theme/layout/app/history/history.service.ts +3 -3
- package/theme/layout/app/site-map/site-map-sidebar.component.ts +195 -195
- package/theme/layout/app/static-sidebar/static-sidebar.component.html +162 -162
- package/theme/layout/app/static-sidebar/static-sidebar.component.ts +343 -343
- package/theme/layout/index.ts +9 -9
- package/theme/layout/service/interfaces/enum.ts +19 -19
- 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/fesm2022/aril-app.component-BUjucZ0J.mjs.map +0 -1
- package/fesm2022/aril-boot-mfe-app.component-D1w8I2ug.mjs.map +0 -1
- 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.
|
|
3
|
+
"version": "1.2.45",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/cdk": "~17.1.0",
|
|
6
6
|
"@angular/common": "^17.1.0",
|
|
@@ -167,6 +167,12 @@
|
|
|
167
167
|
"esm": "./esm2022/ui/button/aril-ui-button.mjs",
|
|
168
168
|
"default": "./fesm2022/aril-ui-button.mjs"
|
|
169
169
|
},
|
|
170
|
+
"./ui/calendar": {
|
|
171
|
+
"types": "./ui/calendar/index.d.ts",
|
|
172
|
+
"esm2022": "./esm2022/ui/calendar/aril-ui-calendar.mjs",
|
|
173
|
+
"esm": "./esm2022/ui/calendar/aril-ui-calendar.mjs",
|
|
174
|
+
"default": "./fesm2022/aril-ui-calendar.mjs"
|
|
175
|
+
},
|
|
170
176
|
"./ui/charts": {
|
|
171
177
|
"types": "./ui/charts/index.d.ts",
|
|
172
178
|
"esm2022": "./esm2022/ui/charts/aril-ui-charts.mjs",
|
|
@@ -185,11 +191,11 @@
|
|
|
185
191
|
"esm": "./esm2022/ui/chip/aril-ui-chip.mjs",
|
|
186
192
|
"default": "./fesm2022/aril-ui-chip.mjs"
|
|
187
193
|
},
|
|
188
|
-
"./ui/
|
|
189
|
-
"types": "./ui/
|
|
190
|
-
"esm2022": "./esm2022/ui/
|
|
191
|
-
"esm": "./esm2022/ui/
|
|
192
|
-
"default": "./fesm2022/aril-ui-
|
|
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"
|
|
193
199
|
},
|
|
194
200
|
"./ui/dxEditor": {
|
|
195
201
|
"types": "./ui/dxEditor/index.d.ts",
|
|
@@ -197,12 +203,6 @@
|
|
|
197
203
|
"esm": "./esm2022/ui/dxEditor/aril-ui-dxEditor.mjs",
|
|
198
204
|
"default": "./fesm2022/aril-ui-dxEditor.mjs"
|
|
199
205
|
},
|
|
200
|
-
"./ui/collapse-reorder-list": {
|
|
201
|
-
"types": "./ui/collapse-reorder-list/index.d.ts",
|
|
202
|
-
"esm2022": "./esm2022/ui/collapse-reorder-list/aril-ui-collapse-reorder-list.mjs",
|
|
203
|
-
"esm": "./esm2022/ui/collapse-reorder-list/aril-ui-collapse-reorder-list.mjs",
|
|
204
|
-
"default": "./fesm2022/aril-ui-collapse-reorder-list.mjs"
|
|
205
|
-
},
|
|
206
206
|
"./ui/dxField": {
|
|
207
207
|
"types": "./ui/dxField/index.d.ts",
|
|
208
208
|
"esm2022": "./esm2022/ui/dxField/aril-ui-dxField.mjs",
|
|
@@ -215,18 +215,18 @@
|
|
|
215
215
|
"esm": "./esm2022/ui/editor/aril-ui-editor.mjs",
|
|
216
216
|
"default": "./fesm2022/aril-ui-editor.mjs"
|
|
217
217
|
},
|
|
218
|
-
"./ui/fileUpload": {
|
|
219
|
-
"types": "./ui/fileUpload/index.d.ts",
|
|
220
|
-
"esm2022": "./esm2022/ui/fileUpload/aril-ui-fileUpload.mjs",
|
|
221
|
-
"esm": "./esm2022/ui/fileUpload/aril-ui-fileUpload.mjs",
|
|
222
|
-
"default": "./fesm2022/aril-ui-fileUpload.mjs"
|
|
223
|
-
},
|
|
224
218
|
"./ui/field": {
|
|
225
219
|
"types": "./ui/field/index.d.ts",
|
|
226
220
|
"esm2022": "./esm2022/ui/field/aril-ui-field.mjs",
|
|
227
221
|
"esm": "./esm2022/ui/field/aril-ui-field.mjs",
|
|
228
222
|
"default": "./fesm2022/aril-ui-field.mjs"
|
|
229
223
|
},
|
|
224
|
+
"./ui/fileUpload": {
|
|
225
|
+
"types": "./ui/fileUpload/index.d.ts",
|
|
226
|
+
"esm2022": "./esm2022/ui/fileUpload/aril-ui-fileUpload.mjs",
|
|
227
|
+
"esm": "./esm2022/ui/fileUpload/aril-ui-fileUpload.mjs",
|
|
228
|
+
"default": "./fesm2022/aril-ui-fileUpload.mjs"
|
|
229
|
+
},
|
|
230
230
|
"./ui/form": {
|
|
231
231
|
"types": "./ui/form/index.d.ts",
|
|
232
232
|
"esm2022": "./esm2022/ui/form/aril-ui-form.mjs",
|
|
@@ -257,11 +257,11 @@
|
|
|
257
257
|
"esm": "./esm2022/ui/mask/aril-ui-mask.mjs",
|
|
258
258
|
"default": "./fesm2022/aril-ui-mask.mjs"
|
|
259
259
|
},
|
|
260
|
-
"./ui/
|
|
261
|
-
"types": "./ui/
|
|
262
|
-
"esm2022": "./esm2022/ui/
|
|
263
|
-
"esm": "./esm2022/ui/
|
|
264
|
-
"default": "./fesm2022/aril-ui-
|
|
260
|
+
"./ui/number": {
|
|
261
|
+
"types": "./ui/number/index.d.ts",
|
|
262
|
+
"esm2022": "./esm2022/ui/number/aril-ui-number.mjs",
|
|
263
|
+
"esm": "./esm2022/ui/number/aril-ui-number.mjs",
|
|
264
|
+
"default": "./fesm2022/aril-ui-number.mjs"
|
|
265
265
|
},
|
|
266
266
|
"./ui/multiSelect": {
|
|
267
267
|
"types": "./ui/multiSelect/index.d.ts",
|
|
@@ -269,11 +269,11 @@
|
|
|
269
269
|
"esm": "./esm2022/ui/multiSelect/aril-ui-multiSelect.mjs",
|
|
270
270
|
"default": "./fesm2022/aril-ui-multiSelect.mjs"
|
|
271
271
|
},
|
|
272
|
-
"./ui/
|
|
273
|
-
"types": "./ui/
|
|
274
|
-
"esm2022": "./esm2022/ui/
|
|
275
|
-
"esm": "./esm2022/ui/
|
|
276
|
-
"default": "./fesm2022/aril-ui-
|
|
272
|
+
"./ui/loader": {
|
|
273
|
+
"types": "./ui/loader/index.d.ts",
|
|
274
|
+
"esm2022": "./esm2022/ui/loader/aril-ui-loader.mjs",
|
|
275
|
+
"esm": "./esm2022/ui/loader/aril-ui-loader.mjs",
|
|
276
|
+
"default": "./fesm2022/aril-ui-loader.mjs"
|
|
277
277
|
},
|
|
278
278
|
"./ui/operation-types-dialog": {
|
|
279
279
|
"types": "./ui/operation-types-dialog/index.d.ts",
|
|
@@ -293,12 +293,6 @@
|
|
|
293
293
|
"esm": "./esm2022/ui/panel/aril-ui-panel.mjs",
|
|
294
294
|
"default": "./fesm2022/aril-ui-panel.mjs"
|
|
295
295
|
},
|
|
296
|
-
"./ui/password": {
|
|
297
|
-
"types": "./ui/password/index.d.ts",
|
|
298
|
-
"esm2022": "./esm2022/ui/password/aril-ui-password.mjs",
|
|
299
|
-
"esm": "./esm2022/ui/password/aril-ui-password.mjs",
|
|
300
|
-
"default": "./fesm2022/aril-ui-password.mjs"
|
|
301
|
-
},
|
|
302
296
|
"./ui/progressbar": {
|
|
303
297
|
"types": "./ui/progressbar/index.d.ts",
|
|
304
298
|
"esm2022": "./esm2022/ui/progressbar/aril-ui-progressbar.mjs",
|
|
@@ -311,6 +305,12 @@
|
|
|
311
305
|
"esm": "./esm2022/ui/pdf-viewer/aril-ui-pdf-viewer.mjs",
|
|
312
306
|
"default": "./fesm2022/aril-ui-pdf-viewer.mjs"
|
|
313
307
|
},
|
|
308
|
+
"./ui/password": {
|
|
309
|
+
"types": "./ui/password/index.d.ts",
|
|
310
|
+
"esm2022": "./esm2022/ui/password/aril-ui-password.mjs",
|
|
311
|
+
"esm": "./esm2022/ui/password/aril-ui-password.mjs",
|
|
312
|
+
"default": "./fesm2022/aril-ui-password.mjs"
|
|
313
|
+
},
|
|
314
314
|
"./ui/radioButton": {
|
|
315
315
|
"types": "./ui/radioButton/index.d.ts",
|
|
316
316
|
"esm2022": "./esm2022/ui/radioButton/aril-ui-radioButton.mjs",
|
|
@@ -353,23 +353,17 @@
|
|
|
353
353
|
"esm": "./esm2022/ui/tag/aril-ui-tag.mjs",
|
|
354
354
|
"default": "./fesm2022/aril-ui-tag.mjs"
|
|
355
355
|
},
|
|
356
|
-
"./ui/tagBox": {
|
|
357
|
-
"types": "./ui/tagBox/index.d.ts",
|
|
358
|
-
"esm2022": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
|
|
359
|
-
"esm": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
|
|
360
|
-
"default": "./fesm2022/aril-ui-tagBox.mjs"
|
|
361
|
-
},
|
|
362
356
|
"./ui/text": {
|
|
363
357
|
"types": "./ui/text/index.d.ts",
|
|
364
358
|
"esm2022": "./esm2022/ui/text/aril-ui-text.mjs",
|
|
365
359
|
"esm": "./esm2022/ui/text/aril-ui-text.mjs",
|
|
366
360
|
"default": "./fesm2022/aril-ui-text.mjs"
|
|
367
361
|
},
|
|
368
|
-
"./ui/
|
|
369
|
-
"types": "./ui/
|
|
370
|
-
"esm2022": "./esm2022/ui/
|
|
371
|
-
"esm": "./esm2022/ui/
|
|
372
|
-
"default": "./fesm2022/aril-ui-
|
|
362
|
+
"./ui/tagBox": {
|
|
363
|
+
"types": "./ui/tagBox/index.d.ts",
|
|
364
|
+
"esm2022": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
|
|
365
|
+
"esm": "./esm2022/ui/tagBox/aril-ui-tagBox.mjs",
|
|
366
|
+
"default": "./fesm2022/aril-ui-tagBox.mjs"
|
|
373
367
|
},
|
|
374
368
|
"./ui/toggle-button": {
|
|
375
369
|
"types": "./ui/toggle-button/index.d.ts",
|
|
@@ -383,6 +377,12 @@
|
|
|
383
377
|
"esm": "./esm2022/ui/tooltip/aril-ui-tooltip.mjs",
|
|
384
378
|
"default": "./fesm2022/aril-ui-tooltip.mjs"
|
|
385
379
|
},
|
|
380
|
+
"./ui/textArea": {
|
|
381
|
+
"types": "./ui/textArea/index.d.ts",
|
|
382
|
+
"esm2022": "./esm2022/ui/textArea/aril-ui-textArea.mjs",
|
|
383
|
+
"esm": "./esm2022/ui/textArea/aril-ui-textArea.mjs",
|
|
384
|
+
"default": "./fesm2022/aril-ui-textArea.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",
|
|
@@ -425,24 +425,30 @@
|
|
|
425
425
|
"esm": "./esm2022/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.mjs",
|
|
426
426
|
"default": "./fesm2022/aril-ui-business-detailed-overlay-panel.mjs"
|
|
427
427
|
},
|
|
428
|
+
"./ui-business/enumPicker": {
|
|
429
|
+
"types": "./ui-business/enumPicker/index.d.ts",
|
|
430
|
+
"esm2022": "./esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs",
|
|
431
|
+
"esm": "./esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs",
|
|
432
|
+
"default": "./fesm2022/aril-ui-business-enumPicker.mjs"
|
|
433
|
+
},
|
|
428
434
|
"./ui-business/image-viewer": {
|
|
429
435
|
"types": "./ui-business/image-viewer/index.d.ts",
|
|
430
436
|
"esm2022": "./esm2022/ui-business/image-viewer/aril-ui-business-image-viewer.mjs",
|
|
431
437
|
"esm": "./esm2022/ui-business/image-viewer/aril-ui-business-image-viewer.mjs",
|
|
432
438
|
"default": "./fesm2022/aril-ui-business-image-viewer.mjs"
|
|
433
439
|
},
|
|
434
|
-
"./ui-business/multiple-ref-value": {
|
|
435
|
-
"types": "./ui-business/multiple-ref-value/index.d.ts",
|
|
436
|
-
"esm2022": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
437
|
-
"esm": "./esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs",
|
|
438
|
-
"default": "./fesm2022/aril-ui-business-multiple-ref-value.mjs"
|
|
439
|
-
},
|
|
440
440
|
"./ui-business/multiAssetPicker": {
|
|
441
441
|
"types": "./ui-business/multiAssetPicker/index.d.ts",
|
|
442
442
|
"esm2022": "./esm2022/ui-business/multiAssetPicker/aril-ui-business-multiAssetPicker.mjs",
|
|
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
|
+
},
|
|
446
452
|
"./ui-business/notification-templates-dialog": {
|
|
447
453
|
"types": "./ui-business/notification-templates-dialog/index.d.ts",
|
|
448
454
|
"esm2022": "./esm2022/ui-business/notification-templates-dialog/aril-ui-business-notification-templates-dialog.mjs",
|
|
@@ -455,24 +461,18 @@
|
|
|
455
461
|
"esm": "./esm2022/ui-business/pdf-preview-modal/aril-ui-business-pdf-preview-modal.mjs",
|
|
456
462
|
"default": "./fesm2022/aril-ui-business-pdf-preview-modal.mjs"
|
|
457
463
|
},
|
|
458
|
-
"./ui-business/rolePicker": {
|
|
459
|
-
"types": "./ui-business/rolePicker/index.d.ts",
|
|
460
|
-
"esm2022": "./esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs",
|
|
461
|
-
"esm": "./esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs",
|
|
462
|
-
"default": "./fesm2022/aril-ui-business-rolePicker.mjs"
|
|
463
|
-
},
|
|
464
|
-
"./ui-business/enumPicker": {
|
|
465
|
-
"types": "./ui-business/enumPicker/index.d.ts",
|
|
466
|
-
"esm2022": "./esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs",
|
|
467
|
-
"esm": "./esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs",
|
|
468
|
-
"default": "./fesm2022/aril-ui-business-enumPicker.mjs"
|
|
469
|
-
},
|
|
470
464
|
"./ui-business/ref-value": {
|
|
471
465
|
"types": "./ui-business/ref-value/index.d.ts",
|
|
472
466
|
"esm2022": "./esm2022/ui-business/ref-value/aril-ui-business-ref-value.mjs",
|
|
473
467
|
"esm": "./esm2022/ui-business/ref-value/aril-ui-business-ref-value.mjs",
|
|
474
468
|
"default": "./fesm2022/aril-ui-business-ref-value.mjs"
|
|
475
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
476
|
"./ui-business/trace-drawer": {
|
|
477
477
|
"types": "./ui-business/trace-drawer/index.d.ts",
|
|
478
478
|
"esm2022": "./esm2022/ui-business/trace-drawer/aril-ui-business-trace-drawer.mjs",
|
|
@@ -509,6 +509,18 @@
|
|
|
509
509
|
"esm": "./esm2022/util/directives/aril-util-directives.mjs",
|
|
510
510
|
"default": "./fesm2022/aril-util-directives.mjs"
|
|
511
511
|
},
|
|
512
|
+
"./util/lib": {
|
|
513
|
+
"types": "./util/lib/index.d.ts",
|
|
514
|
+
"esm2022": "./esm2022/util/lib/aril-util-lib.mjs",
|
|
515
|
+
"esm": "./esm2022/util/lib/aril-util-lib.mjs",
|
|
516
|
+
"default": "./fesm2022/aril-util-lib.mjs"
|
|
517
|
+
},
|
|
518
|
+
"./util/pipes": {
|
|
519
|
+
"types": "./util/pipes/index.d.ts",
|
|
520
|
+
"esm2022": "./esm2022/util/pipes/aril-util-pipes.mjs",
|
|
521
|
+
"esm": "./esm2022/util/pipes/aril-util-pipes.mjs",
|
|
522
|
+
"default": "./fesm2022/aril-util-pipes.mjs"
|
|
523
|
+
},
|
|
512
524
|
"./util/primitive-extensions": {
|
|
513
525
|
"types": "./util/primitive-extensions/index.d.ts",
|
|
514
526
|
"esm2022": "./esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs",
|
|
@@ -521,17 +533,11 @@
|
|
|
521
533
|
"esm": "./esm2022/util/pub-sub/aril-util-pub-sub.mjs",
|
|
522
534
|
"default": "./fesm2022/aril-util-pub-sub.mjs"
|
|
523
535
|
},
|
|
524
|
-
"./util/
|
|
525
|
-
"types": "./util/
|
|
526
|
-
"esm2022": "./esm2022/util/
|
|
527
|
-
"esm": "./esm2022/util/
|
|
528
|
-
"default": "./fesm2022/aril-util-
|
|
529
|
-
},
|
|
530
|
-
"./util/lib": {
|
|
531
|
-
"types": "./util/lib/index.d.ts",
|
|
532
|
-
"esm2022": "./esm2022/util/lib/aril-util-lib.mjs",
|
|
533
|
-
"esm": "./esm2022/util/lib/aril-util-lib.mjs",
|
|
534
|
-
"default": "./fesm2022/aril-util-lib.mjs"
|
|
536
|
+
"./util/unwrap": {
|
|
537
|
+
"types": "./util/unwrap/index.d.ts",
|
|
538
|
+
"esm2022": "./esm2022/util/unwrap/aril-util-unwrap.mjs",
|
|
539
|
+
"esm": "./esm2022/util/unwrap/aril-util-unwrap.mjs",
|
|
540
|
+
"default": "./fesm2022/aril-util-unwrap.mjs"
|
|
535
541
|
},
|
|
536
542
|
"./util/sync-active-tab-route": {
|
|
537
543
|
"types": "./util/sync-active-tab-route/index.d.ts",
|
|
@@ -539,12 +545,6 @@
|
|
|
539
545
|
"esm": "./esm2022/util/sync-active-tab-route/aril-util-sync-active-tab-route.mjs",
|
|
540
546
|
"default": "./fesm2022/aril-util-sync-active-tab-route.mjs"
|
|
541
547
|
},
|
|
542
|
-
"./util/unwrap": {
|
|
543
|
-
"types": "./util/unwrap/index.d.ts",
|
|
544
|
-
"esm2022": "./esm2022/util/unwrap/aril-util-unwrap.mjs",
|
|
545
|
-
"esm": "./esm2022/util/unwrap/aril-util-unwrap.mjs",
|
|
546
|
-
"default": "./fesm2022/aril-util-unwrap.mjs"
|
|
547
|
-
},
|
|
548
548
|
"./boot/config/api": {
|
|
549
549
|
"types": "./boot/config/api/index.d.ts",
|
|
550
550
|
"esm2022": "./esm2022/boot/config/api/aril-boot-config-api.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
|
+
}
|