aril 1.2.24 → 1.2.25
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/esm2022/boot/base/index.mjs +1 -1
- package/esm2022/boot/base/src/create-base-app-config.mjs +1 -1
- 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/api/src/api.service.mjs +1 -1
- package/esm2022/boot/config/api/src/interfaces.mjs +1 -1
- package/esm2022/boot/config/apps/src/apps.service.mjs +4 -4
- package/esm2022/boot/config/apps/src/auth.guard.mjs +4 -4
- 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/apps/src/showdowDOMWrapper.mjs +4 -4
- 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 +4 -4
- package/esm2022/boot/host/src/bootstrap.mjs +1 -1
- package/esm2022/boot/mfe/src/app.component.mjs +15 -15
- 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 +53 -53
- package/esm2022/boot/pages/src/notFound.component.mjs +49 -49
- package/esm2022/http/lib/enums.mjs +1 -1
- package/esm2022/http/src/httpBackend.mjs +4 -4
- package/esm2022/http/src/serviceBase.mjs +1 -1
- package/esm2022/http/src/serviceStateMethods.mjs +1 -1
- package/esm2022/i18n/src/i18n.module.mjs +5 -5
- package/esm2022/i18n/src/loader.mjs +4 -4
- package/esm2022/keycloak/src/auth.interceptor.mjs +1 -1
- package/esm2022/provider/src/prodiveHost.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 +4 -4
- package/esm2022/theme/layout/app/expandableMenu/expandable-menu.component.mjs +5 -5
- package/esm2022/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.mjs +4 -4
- package/esm2022/theme/layout/app/favorite-pages/favorite-pages.service.mjs +4 -4
- package/esm2022/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.mjs +4 -4
- package/esm2022/theme/layout/app/general-search/general-search.component.mjs +4 -4
- package/esm2022/theme/layout/app/history/history-sidebar.component.mjs +4 -4
- package/esm2022/theme/layout/app/history/history.service.mjs +4 -4
- package/esm2022/theme/layout/app/layout/app.layout.component.mjs +4 -4
- package/esm2022/theme/layout/app/layout/mfe.layout.component.mjs +4 -4
- package/esm2022/theme/layout/app/notifications/notifications-sidebar.component.mjs +4 -4
- package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +4 -4
- package/esm2022/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.mjs +4 -4
- package/esm2022/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.mjs +4 -4
- package/esm2022/theme/layout/app/profileSidebar/profile.service.mjs +4 -4
- package/esm2022/theme/layout/app/site-map/site-map-sidebar.component.mjs +4 -4
- package/esm2022/theme/layout/app/static-sidebar/static-sidebar.component.mjs +5 -5
- package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +10 -5
- package/esm2022/theme/layout/index.mjs +1 -1
- package/esm2022/theme/layout/service/app.layout.service.mjs +4 -4
- package/esm2022/theme/layout/service/app.menu.service.mjs +4 -4
- package/esm2022/theme/layout/service/breadcrumb.service.mjs +4 -4
- package/esm2022/theme/layout/service/interfaces/enum.mjs +1 -1
- package/esm2022/theme/layout/service/notifications.service.mjs +4 -4
- package/esm2022/theme/layout/service/search.service.mjs +4 -4
- package/esm2022/theme/layout/service/selection-group.service.mjs +4 -4
- package/esm2022/ui/autoComplete/src/auto-complete.component.mjs +4 -4
- package/esm2022/ui/badge/src/badge.component.mjs +4 -4
- package/esm2022/ui/button/src/button.component.mjs +4 -4
- package/esm2022/ui/button/src/split-button.component.mjs +4 -4
- package/esm2022/ui/calendar/src/calendar.component.mjs +4 -4
- package/esm2022/ui/charts/src/amCharts/column/column-chart.component.mjs +4 -4
- package/esm2022/ui/charts/src/amCharts/line/line-chart.component.mjs +4 -4
- package/esm2022/ui/charts/src/amCharts/pie/pie-chart.component.mjs +4 -4
- package/esm2022/ui/charts/src/highCharts/area/area-chart.component.mjs +4 -4
- package/esm2022/ui/charts/src/highCharts/bar/bar-chart.component.mjs +4 -4
- package/esm2022/ui/charts/src/highCharts/column/column-chart.component.mjs +4 -4
- package/esm2022/ui/charts/src/highCharts/gauge/solid-gauge.component.mjs +4 -4
- package/esm2022/ui/charts/src/highCharts/heatmap/heatMap-chart.component.mjs +4 -4
- package/esm2022/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.mjs +4 -4
- package/esm2022/ui/charts/src/highCharts/line/line-chart-series.component.mjs +4 -4
- package/esm2022/ui/charts/src/highCharts/line/line-chart.component.mjs +4 -4
- package/esm2022/ui/charts/src/highCharts/pie/pie-chart.component.mjs +4 -4
- package/esm2022/ui/checkbox/src/check-box.component.mjs +4 -4
- package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +4 -4
- package/esm2022/ui/chip/src/chip.component.mjs +4 -4
- package/esm2022/ui/collapse-reorder-list/src/collapse-reorder-list.component.mjs +4 -4
- package/esm2022/ui/dxEditor/src/dx-editor.component.mjs +4 -4
- package/esm2022/ui/dxField/src/dx-field.component.mjs +4 -4
- package/esm2022/ui/editor/src/aril-editor.component.mjs +4 -4
- package/esm2022/ui/field/src/field.component.mjs +4 -4
- package/esm2022/ui/fileUpload/src/file-upload.component.mjs +4 -4
- package/esm2022/ui/form/index.mjs +5 -5
- package/esm2022/ui/form/src/form-submit-button.component.mjs +5 -5
- package/esm2022/ui/form/src/form.component.mjs +4 -4
- package/esm2022/ui/img-viewer/src/img-viewer.component.mjs +4 -4
- package/esm2022/ui/json-diff-comparison/src/json-diff.component.mjs +4 -4
- package/esm2022/ui/lib/src/form/form-error-message.component.mjs +4 -4
- package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +4 -4
- package/esm2022/ui/lib/src/grid/enum-color-picker.pipe.mjs +4 -4
- package/esm2022/ui/lib/src/grid/flex-grid.directive.mjs +4 -4
- package/esm2022/ui/lib/src/input/common-input-validators.service.mjs +4 -4
- package/esm2022/ui/lib/src/input/dx-input-error-message.pipe.mjs +4 -4
- package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +4 -4
- package/esm2022/ui/lib/src/input/input-error-message.pipe.mjs +4 -4
- package/esm2022/ui/lib/src/input/value-accessor.directive.mjs +4 -4
- package/esm2022/ui/loader/src/loader.component.mjs +4 -4
- package/esm2022/ui/mask/src/mask.component.mjs +4 -4
- package/esm2022/ui/multiSelect/src/multi-select.component.mjs +4 -4
- package/esm2022/ui/number/src/number.component.mjs +4 -4
- package/esm2022/ui/operation-types-dialog/src/operation-types-dialog.component.mjs +13 -13
- package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +4 -4
- package/esm2022/ui/panel/src/panel.component.mjs +4 -4
- package/esm2022/ui/password/src/password.component.mjs +4 -4
- package/esm2022/ui/pdf-viewer/src/pdf-viewer.component.mjs +4 -4
- package/esm2022/ui/progressbar/src/progressbar.component.mjs +4 -4
- package/esm2022/ui/radioButton/src/radio-button.component.mjs +4 -4
- package/esm2022/ui/relativeDateSelector/src/relative-date-selector.component.mjs +4 -4
- package/esm2022/ui/selectBox/src/select-box.component.mjs +4 -4
- package/esm2022/ui/switch/src/switch.component.mjs +4 -4
- package/esm2022/ui/table/index.mjs +5 -5
- package/esm2022/ui/table/src/export-overlay-panel.component.mjs +129 -129
- package/esm2022/ui/table/src/interfaces.mjs +1 -1
- package/esm2022/ui/table/src/table-column.component.mjs +4 -4
- package/esm2022/ui/table/src/table.component.mjs +5 -5
- package/esm2022/ui/table-expand/index.mjs +5 -5
- package/esm2022/ui/table-expand/src/table-column.component.mjs +4 -4
- package/esm2022/ui/table-expand/src/table-expand-area.component.mjs +4 -4
- package/esm2022/ui/table-expand/src/table.component.mjs +4 -4
- package/esm2022/ui/tag/src/tag.component.mjs +4 -4
- package/esm2022/ui/tagBox/src/tag-box.component.mjs +4 -4
- package/esm2022/ui/text/src/text.component.mjs +4 -4
- package/esm2022/ui/textArea/src/text-area.component.mjs +4 -4
- package/esm2022/ui/toggle-button/src/toggle-button.component.mjs +4 -4
- package/esm2022/ui/tooltip/src/tooltip-component.mjs +4 -4
- package/esm2022/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.mjs +4 -4
- package/esm2022/ui/translate-input/src/aril-translate-input.component.mjs +4 -4
- package/esm2022/ui/tree/src/tree.component.mjs +4 -4
- package/esm2022/ui/treeSelect/src/treeSelect.component.mjs +4 -4
- package/esm2022/ui/treeTable/src/tree-table.component.mjs +4 -4
- package/esm2022/ui/value/src/value.component.mjs +4 -4
- package/esm2022/ui-business/assetPicker/index.mjs +1 -1
- package/esm2022/ui-business/assetPicker/src/asset-picker.component.mjs +5 -5
- package/esm2022/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.mjs +5 -5
- package/esm2022/ui-business/enumPicker/src/enum-picker.component.mjs +5 -5
- package/esm2022/ui-business/enumPicker/src/interface.mjs +1 -1
- package/esm2022/ui-business/image-viewer/src/aril-image-viewer.component.mjs +4 -4
- package/esm2022/ui-business/multiAssetPicker/index.mjs +1 -1
- package/esm2022/ui-business/multiAssetPicker/src/multi-asset-picker.component.mjs +5 -5
- package/esm2022/ui-business/multiple-ref-value/src/multiple-ref-value.component.mjs +4 -4
- package/esm2022/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.mjs +4 -4
- package/esm2022/ui-business/operation-types-dialog/src/operation-types-dialog.component.mjs +4 -4
- 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 +29 -29
- package/esm2022/ui-business/ref-value/src/ref-value.component.mjs +5 -5
- package/esm2022/ui-business/rolePicker/src/role-picker.component.mjs +4 -4
- package/esm2022/ui-business/trace-drawer/index.mjs +1 -1
- package/esm2022/ui-business/trace-drawer/src/app-log.service.mjs +4 -4
- package/esm2022/ui-business/trace-drawer/src/interfaces.mjs +1 -1
- package/esm2022/ui-business/trace-drawer/src/trace-drawer.component.mjs +5 -5
- package/esm2022/ui-business/trace-drawer/src/trace-log.service.mjs +4 -4
- package/esm2022/ui-business/trace-id/index.mjs +1 -1
- package/esm2022/ui-business/trace-id/src/trace-id.component.mjs +5 -5
- package/esm2022/ui-business/userPicker/src/user-picker.component.mjs +4 -4
- 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 +4 -4
- package/esm2022/util/activity/src/activity.types.mjs +1 -1
- package/esm2022/util/block/src/block.mjs +7 -7
- package/esm2022/util/directives/src/detail-page-customization/detail-page-customization.directive.mjs +4 -4
- package/esm2022/util/directives/src/dialog-component/plugin-dialog.component.mjs +4 -4
- package/esm2022/util/directives/src/dialog-service/plugin-dialog.service.mjs +4 -4
- package/esm2022/util/lib/src/module-router.mjs +4 -4
- package/esm2022/util/pipes/src/distance-to-now.pipe.mjs +4 -4
- package/esm2022/util/pipes/src/get-column-by-field.pipe.mjs +4 -4
- package/esm2022/util/pipes/src/parse.pipe.mjs +4 -4
- package/esm2022/util/pipes/src/round-number.pipe.mjs +4 -4
- package/esm2022/util/pipes/src/safe.pipe.mjs +4 -4
- package/esm2022/util/pipes/src/translate-json/translate-json.pipe.mjs +4 -4
- package/esm2022/util/pub-sub/src/pub-sub.service.mjs +4 -4
- package/esm2022/util/sync-active-tab-route/src/sync-active-tab-route.directive.mjs +4 -4
- package/esm2022/util/unwrap/src/unwrap-tag.directive.mjs +4 -4
- package/fesm2022/{aril-app.component-CwZZhJcO.mjs → aril-app.component-Pj4R9eG9.mjs} +15 -15
- package/fesm2022/aril-app.component-Pj4R9eG9.mjs.map +1 -0
- package/fesm2022/aril-boot-base.mjs +1 -1
- package/fesm2022/aril-boot-base.mjs.map +1 -1
- package/fesm2022/aril-boot-bridge.mjs.map +1 -1
- package/fesm2022/aril-boot-config-api.mjs +1 -1
- package/fesm2022/aril-boot-config-api.mjs.map +1 -1
- package/fesm2022/aril-boot-config-apps.mjs +10 -10
- package/fesm2022/aril-boot-config-apps.mjs.map +1 -1
- package/fesm2022/aril-boot-config-plugins.mjs +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 +4 -4
- package/fesm2022/aril-boot-host.mjs.map +1 -1
- package/fesm2022/{aril-boot-mfe-app.component-DwYgUUdL.mjs → aril-boot-mfe-app.component-GbZAGlTf.mjs} +16 -16
- package/fesm2022/aril-boot-mfe-app.component-GbZAGlTf.mjs.map +1 -0
- package/fesm2022/{aril-boot-mfe-aril-boot-mfe-hJkkFa_a.mjs → aril-boot-mfe-aril-boot-mfe-I5xT2fQx.mjs} +4 -4
- 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 +100 -100
- package/fesm2022/aril-boot-pages.mjs.map +1 -1
- package/fesm2022/aril-http.mjs +3 -3
- package/fesm2022/aril-http.mjs.map +1 -1
- package/fesm2022/aril-i18n.mjs +7 -7
- package/fesm2022/aril-i18n.mjs.map +1 -1
- package/fesm2022/aril-keycloak.mjs.map +1 -1
- package/fesm2022/aril-provider.mjs +1 -1
- package/fesm2022/aril-provider.mjs.map +1 -1
- package/fesm2022/aril-theme-layout.mjs +79 -75
- package/fesm2022/aril-theme-layout.mjs.map +1 -1
- package/fesm2022/aril-ui-autoComplete.mjs +6 -6
- package/fesm2022/aril-ui-autoComplete.mjs.map +1 -1
- package/fesm2022/aril-ui-badge.mjs +4 -4
- package/fesm2022/aril-ui-badge.mjs.map +1 -1
- package/fesm2022/aril-ui-business-assetPicker.mjs +6 -6
- package/fesm2022/aril-ui-business-assetPicker.mjs.map +1 -1
- package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs +6 -6
- package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs.map +1 -1
- package/fesm2022/aril-ui-business-enumPicker.mjs +6 -6
- package/fesm2022/aril-ui-business-enumPicker.mjs.map +1 -1
- package/fesm2022/aril-ui-business-image-viewer.mjs +3 -3
- package/fesm2022/aril-ui-business-image-viewer.mjs.map +1 -1
- package/fesm2022/aril-ui-business-multiAssetPicker.mjs +5 -5
- package/fesm2022/aril-ui-business-multiAssetPicker.mjs.map +1 -1
- package/fesm2022/aril-ui-business-multiple-ref-value.mjs +4 -4
- package/fesm2022/aril-ui-business-multiple-ref-value.mjs.map +1 -1
- package/fesm2022/aril-ui-business-notification-templates-dialog.mjs +3 -3
- package/fesm2022/aril-ui-business-notification-templates-dialog.mjs.map +1 -1
- package/fesm2022/aril-ui-business-operation-types-dialog.mjs +3 -3
- package/fesm2022/aril-ui-business-operation-types-dialog.mjs.map +1 -1
- package/fesm2022/aril-ui-business-pdf-preview-modal.mjs +28 -28
- package/fesm2022/aril-ui-business-pdf-preview-modal.mjs.map +1 -1
- package/fesm2022/aril-ui-business-ref-value.mjs +5 -5
- package/fesm2022/aril-ui-business-ref-value.mjs.map +1 -1
- package/fesm2022/aril-ui-business-rolePicker.mjs +4 -4
- package/fesm2022/aril-ui-business-rolePicker.mjs.map +1 -1
- package/fesm2022/aril-ui-business-trace-drawer.mjs +11 -11
- package/fesm2022/aril-ui-business-trace-drawer.mjs.map +1 -1
- package/fesm2022/aril-ui-business-trace-id.mjs +5 -5
- package/fesm2022/aril-ui-business-trace-id.mjs.map +1 -1
- package/fesm2022/aril-ui-business-userPicker.mjs +3 -3
- package/fesm2022/aril-ui-business-userPicker.mjs.map +1 -1
- package/fesm2022/aril-ui-button.mjs +7 -7
- package/fesm2022/aril-ui-button.mjs.map +1 -1
- package/fesm2022/aril-ui-calendar.mjs +3 -3
- package/fesm2022/aril-ui-calendar.mjs.map +1 -1
- package/fesm2022/aril-ui-charts.mjs +37 -37
- package/fesm2022/aril-ui-charts.mjs.map +1 -1
- package/fesm2022/aril-ui-checkbox.mjs +6 -6
- package/fesm2022/aril-ui-checkbox.mjs.map +1 -1
- package/fesm2022/aril-ui-chip.mjs +4 -4
- package/fesm2022/aril-ui-chip.mjs.map +1 -1
- package/fesm2022/aril-ui-collapse-reorder-list.mjs +4 -4
- package/fesm2022/aril-ui-collapse-reorder-list.mjs.map +1 -1
- package/fesm2022/aril-ui-dxEditor.mjs +4 -4
- package/fesm2022/aril-ui-dxEditor.mjs.map +1 -1
- package/fesm2022/aril-ui-dxField.mjs +4 -4
- package/fesm2022/aril-ui-dxField.mjs.map +1 -1
- package/fesm2022/aril-ui-editor.mjs +4 -4
- package/fesm2022/aril-ui-editor.mjs.map +1 -1
- package/fesm2022/aril-ui-field.mjs +4 -4
- package/fesm2022/aril-ui-field.mjs.map +1 -1
- package/fesm2022/aril-ui-fileUpload.mjs +4 -4
- package/fesm2022/aril-ui-fileUpload.mjs.map +1 -1
- package/fesm2022/aril-ui-form.mjs +12 -12
- package/fesm2022/aril-ui-form.mjs.map +1 -1
- package/fesm2022/aril-ui-img-viewer.mjs +3 -3
- package/fesm2022/aril-ui-img-viewer.mjs.map +1 -1
- package/fesm2022/aril-ui-json-diff-comparison.mjs +4 -4
- package/fesm2022/aril-ui-json-diff-comparison.mjs.map +1 -1
- package/fesm2022/aril-ui-lib.mjs +28 -28
- package/fesm2022/aril-ui-lib.mjs.map +1 -1
- package/fesm2022/aril-ui-loader.mjs +3 -3
- package/fesm2022/aril-ui-loader.mjs.map +1 -1
- package/fesm2022/aril-ui-mask.mjs +3 -3
- package/fesm2022/aril-ui-mask.mjs.map +1 -1
- package/fesm2022/aril-ui-multiSelect.mjs +3 -3
- package/fesm2022/aril-ui-multiSelect.mjs.map +1 -1
- package/fesm2022/aril-ui-number.mjs +3 -3
- package/fesm2022/aril-ui-number.mjs.map +1 -1
- package/fesm2022/aril-ui-operation-types-dialog.mjs +12 -12
- package/fesm2022/aril-ui-operation-types-dialog.mjs.map +1 -1
- package/fesm2022/aril-ui-overlayPanel.mjs +4 -4
- package/fesm2022/aril-ui-overlayPanel.mjs.map +1 -1
- package/fesm2022/aril-ui-panel.mjs +4 -4
- package/fesm2022/aril-ui-panel.mjs.map +1 -1
- package/fesm2022/aril-ui-password.mjs +3 -3
- package/fesm2022/aril-ui-password.mjs.map +1 -1
- package/fesm2022/aril-ui-pdf-viewer.mjs +3 -3
- package/fesm2022/aril-ui-pdf-viewer.mjs.map +1 -1
- package/fesm2022/aril-ui-progressbar.mjs +3 -3
- package/fesm2022/aril-ui-progressbar.mjs.map +1 -1
- package/fesm2022/aril-ui-radioButton.mjs +3 -3
- package/fesm2022/aril-ui-radioButton.mjs.map +1 -1
- package/fesm2022/aril-ui-relativeDateSelector.mjs +4 -4
- package/fesm2022/aril-ui-relativeDateSelector.mjs.map +1 -1
- package/fesm2022/aril-ui-selectBox.mjs +5 -5
- package/fesm2022/aril-ui-selectBox.mjs.map +1 -1
- package/fesm2022/aril-ui-switch.mjs +3 -3
- package/fesm2022/aril-ui-switch.mjs.map +1 -1
- package/fesm2022/aril-ui-table-expand.mjs +14 -14
- package/fesm2022/aril-ui-table-expand.mjs.map +1 -1
- package/fesm2022/aril-ui-table.mjs +141 -141
- package/fesm2022/aril-ui-table.mjs.map +1 -1
- package/fesm2022/aril-ui-tag.mjs +3 -3
- package/fesm2022/aril-ui-tag.mjs.map +1 -1
- package/fesm2022/aril-ui-tagBox.mjs +5 -5
- package/fesm2022/aril-ui-tagBox.mjs.map +1 -1
- package/fesm2022/aril-ui-text.mjs +3 -3
- package/fesm2022/aril-ui-text.mjs.map +1 -1
- package/fesm2022/aril-ui-textArea.mjs +3 -3
- package/fesm2022/aril-ui-textArea.mjs.map +1 -1
- package/fesm2022/aril-ui-toggle-button.mjs +4 -4
- package/fesm2022/aril-ui-toggle-button.mjs.map +1 -1
- package/fesm2022/aril-ui-tooltip.mjs +3 -3
- package/fesm2022/aril-ui-tooltip.mjs.map +1 -1
- package/fesm2022/aril-ui-translate-input.mjs +6 -6
- package/fesm2022/aril-ui-translate-input.mjs.map +1 -1
- package/fesm2022/aril-ui-tree.mjs +4 -4
- package/fesm2022/aril-ui-tree.mjs.map +1 -1
- package/fesm2022/aril-ui-treeSelect.mjs +4 -4
- package/fesm2022/aril-ui-treeSelect.mjs.map +1 -1
- package/fesm2022/aril-ui-treeTable.mjs +4 -4
- package/fesm2022/aril-ui-treeTable.mjs.map +1 -1
- package/fesm2022/aril-ui-value.mjs +5 -5
- package/fesm2022/aril-ui-value.mjs.map +1 -1
- package/fesm2022/aril-util-activity.mjs +3 -3
- package/fesm2022/aril-util-activity.mjs.map +1 -1
- package/fesm2022/aril-util-block.mjs +6 -6
- package/fesm2022/aril-util-block.mjs.map +1 -1
- package/fesm2022/aril-util-directives.mjs +10 -10
- package/fesm2022/aril-util-directives.mjs.map +1 -1
- package/fesm2022/aril-util-lib.mjs +3 -3
- package/fesm2022/aril-util-lib.mjs.map +1 -1
- package/fesm2022/aril-util-pipes.mjs +18 -18
- package/fesm2022/aril-util-pipes.mjs.map +1 -1
- package/fesm2022/aril-util-primitive-extensions.mjs.map +1 -1
- package/fesm2022/aril-util-pub-sub.mjs +3 -3
- package/fesm2022/aril-util-pub-sub.mjs.map +1 -1
- package/fesm2022/aril-util-sync-active-tab-route.mjs +4 -4
- package/fesm2022/aril-util-sync-active-tab-route.mjs.map +1 -1
- package/fesm2022/aril-util-unwrap.mjs +3 -3
- package/fesm2022/aril-util-unwrap.mjs.map +1 -1
- package/fesm2022/aril.mjs +6 -6
- package/fesm2022/aril.mjs.map +1 -1
- package/package.json +72 -72
- 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/favorite-pages/favorite-pages-sidebar.component.d.ts +0 -16
- package/theme/layout/app/general-search/general-search.component.ts +93 -93
- package/theme/layout/app/history/history-sidebar.component.d.ts +0 -16
- package/theme/layout/app/history/history.service.ts +158 -158
- package/theme/layout/app/layout/app.layout.component.ts +168 -168
- package/theme/layout/app/notifications/notifications-sidebar.component.d.ts +0 -16
- package/theme/layout/app/site-map/site-map-sidebar.component.d.ts +0 -16
- 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.scss +420 -420
- package/theme/layout/app/static-sidebar/static-sidebar.component.ts +343 -343
- package/theme/layout/app/topbar/app.topbar.component.d.ts +2 -0
- package/theme/layout/app/topbar/app.topbar.component.html +1 -1
- package/theme/layout/app/topbar/app.topbar.component.scss +1 -0
- package/theme/layout/app/topbar/app.topbar.component.ts +6 -0
- package/theme/layout/index.ts +9 -9
- package/theme/layout/service/interfaces/enum.ts +19 -19
- package/theme/styles/layout/_expanded_sidebar.scss +511 -511
- 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/autoComplete/src/auto-complete.component.d.ts +8 -8
- package/ui/badge/src/badge.component.d.ts +9 -9
- package/ui/button/src/button.component.d.ts +12 -12
- package/ui/button/src/split-button.component.d.ts +1 -1
- package/ui/calendar/src/calendar.component.d.ts +22 -22
- package/ui/charts/src/amCharts/column/column-chart.component.d.ts +4 -4
- package/ui/charts/src/amCharts/line/line-chart.component.d.ts +5 -5
- package/ui/charts/src/amCharts/pie/pie-chart.component.d.ts +4 -4
- package/ui/charts/src/highCharts/area/area-chart.component.d.ts +3 -3
- package/ui/charts/src/highCharts/bar/bar-chart.component.d.ts +7 -7
- package/ui/charts/src/highCharts/column/column-chart.component.d.ts +9 -9
- package/ui/charts/src/highCharts/gauge/solid-gauge.component.d.ts +3 -3
- package/ui/charts/src/highCharts/heatmap/heatMap-chart.component.d.ts +4 -4
- package/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.d.ts +5 -5
- package/ui/charts/src/highCharts/line/line-chart-series.component.d.ts +4 -4
- package/ui/charts/src/highCharts/line/line-chart.component.d.ts +4 -4
- package/ui/charts/src/highCharts/pie/pie-chart.component.d.ts +7 -7
- package/ui/checkbox/src/check-box.component.d.ts +3 -3
- package/ui/checkbox/src/tri-state-checkbox.component.d.ts +2 -2
- package/ui/chip/src/chip.component.d.ts +7 -7
- package/ui/collapse-reorder-list/src/collapse-reorder-list.component.d.ts +4 -4
- package/ui/dxEditor/src/dx-editor.component.d.ts +5 -5
- package/ui/dxField/src/dx-field.component.d.ts +5 -5
- package/ui/editor/src/aril-editor.component.d.ts +3 -3
- package/ui/field/src/field.component.d.ts +9 -9
- package/ui/fileUpload/src/file-upload.component.d.ts +14 -14
- package/ui/form/src/form-submit-button.component.d.ts +1 -1
- package/ui/form/src/form.component.d.ts +1 -1
- package/ui/img-viewer/src/img-viewer.component.d.ts +1 -1
- package/ui/lib/src/form/form-error-message.directive.d.ts +1 -1
- package/ui/mask/src/mask.component.d.ts +6 -6
- package/ui/multiSelect/src/multi-select.component.d.ts +13 -13
- package/ui/number/src/number.component.d.ts +15 -15
- package/ui/overlayPanel/src/overlay-panel.component.d.ts +1 -1
- package/ui/panel/src/panel.component.d.ts +6 -6
- package/ui/password/src/password.component.d.ts +4 -4
- package/ui/pdf-viewer/src/pdf-viewer.component.d.ts +12 -12
- package/ui/progressbar/src/progressbar.component.d.ts +3 -3
- package/ui/radioButton/src/radio-button.component.d.ts +3 -3
- package/ui/selectBox/src/select-box.component.d.ts +10 -10
- package/ui/switch/src/switch.component.d.ts +1 -1
- package/ui/table/src/export-overlay-panel.component.d.ts +2 -2
- package/ui/table/src/table-column.component.d.ts +11 -11
- package/ui/table/src/table.component.d.ts +35 -35
- package/ui/table-expand/src/table-column.component.d.ts +6 -6
- package/ui/table-expand/src/table.component.d.ts +20 -20
- package/ui/tag/src/tag.component.d.ts +6 -4
- package/ui/tagBox/src/tag-box.component.d.ts +7 -7
- package/ui/text/src/text.component.d.ts +5 -5
- package/ui/textArea/src/text-area.component.d.ts +5 -5
- package/ui/toggle-button/src/toggle-button.component.d.ts +1 -1
- package/ui/tooltip/src/tooltip-component.d.ts +8 -8
- package/ui/translate-input/src/aril-translate-input.component.d.ts +2 -2
- package/ui/tree/src/tree.component.d.ts +8 -8
- package/ui/treeSelect/src/treeSelect.component.d.ts +12 -12
- package/ui/treeTable/src/tree-table.component.d.ts +5 -5
- package/ui/value/src/value.component.d.ts +15 -15
- package/ui-business/assetPicker/src/asset-picker.component.d.ts +11 -11
- package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.d.ts +6 -3
- package/ui-business/enumPicker/src/enum-picker.component.d.ts +24 -24
- package/ui-business/image-viewer/src/aril-image-viewer.component.d.ts +8 -8
- package/ui-business/multiAssetPicker/src/multi-asset-picker.component.d.ts +15 -15
- package/ui-business/multiple-ref-value/src/multiple-ref-value.component.d.ts +5 -2
- package/ui-business/ref-value/src/ref-value.component.d.ts +5 -5
- package/ui-business/rolePicker/src/role-picker.component.d.ts +6 -6
- package/ui-business/trace-drawer/src/trace-drawer.component.d.ts +8 -8
- package/ui-business/trace-id/src/trace-id.component.d.ts +6 -6
- package/ui-business/userPicker/src/user-picker.component.d.ts +3 -3
- package/util/block/src/block.d.ts +4 -4
- package/util/lib/src/types.d.ts +0 -16
- package/fesm2022/aril-app.component-CwZZhJcO.mjs.map +0 -1
- package/fesm2022/aril-boot-mfe-app.component-DwYgUUdL.mjs.map +0 -1
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-hJkkFa_a.mjs.map +0 -1
|
@@ -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,137 +1,137 @@
|
|
|
1
|
-
<div class="new-layout-sidebar" >
|
|
2
|
-
<!-- Main sidebar (first level) -->
|
|
3
|
-
<div class="main-sidebar" style="position: relative;">
|
|
4
|
-
<div class="main-sidebar-content">
|
|
5
|
-
<ul class="main-menu">
|
|
6
|
-
@for(item of getMenuItems(); track item; let i = $index){
|
|
7
|
-
@if(!item.separator){
|
|
8
|
-
<li
|
|
9
|
-
[ngClass]="{'active': isActiveRoute(item) || isHaveSelectedChildItem(item)}"
|
|
10
|
-
(click)="selectMainItem(i, item)"
|
|
11
|
-
[pTooltip]="(item.label && activeLang() ? item.label[activeLang()!] || '' : '')"
|
|
12
|
-
tooltipPosition="right">
|
|
13
|
-
<div class="main-menu-item">
|
|
14
|
-
<i [ngClass]="item.icon" class="menu-icon"></i>
|
|
15
|
-
<!-- <small class="menu-label">{{ item.label && activeLang() ? item.label[activeLang()!] || '' : '' }}</small> -->
|
|
16
|
-
</div>
|
|
17
|
-
</li>
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
</ul>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
@if(selectedMainMenuItem && selectedMainMenuItem.items && selectedMainMenuItem.items.length > 0){
|
|
24
|
-
|
|
25
|
-
<div class="sidebar-toggle-container">
|
|
26
|
-
<button class="sidebar-circle-toggle-btn" (click)="toggleSidebar()">
|
|
27
|
-
<i class="pi" [ngClass]="sidebarExpanded ? 'pi-angle-left' : 'pi-angle-right'"></i>
|
|
28
|
-
</button>
|
|
29
|
-
</div>
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
<!-- Secondary sidebar (second level) -->
|
|
33
|
-
<div class="secondary-sidebar" [ngClass]="{'expanded': sidebarExpanded}">
|
|
34
|
-
<div class="secondary-content-wrapper" style="position: relative;">
|
|
35
|
-
<!-- Secondary sidebar content -->
|
|
36
|
-
<div class="secondary-sidebar-content">
|
|
37
|
-
@if(selectedMainMenuItem){
|
|
38
|
-
<ul class="secondary-menu">
|
|
39
|
-
@for(subItem of selectedMainMenuItem.items; track subItem; let i = $index){
|
|
40
|
-
<!-- Action menu item -->
|
|
41
|
-
@if(subItem.action) {
|
|
42
|
-
<li class="secondary-menu-item" [ngClass]="{'action-loading': isActionLoading(subItem)}">
|
|
43
|
-
<a class="secondary-menu-link is-action"
|
|
44
|
-
(click)="onActionItemClick(subItem, $event)"
|
|
45
|
-
[pTooltip]="!isMobile() && isTextTruncated(subItem.label, activeLang(), 'secondary') ? (subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '') : ''"
|
|
46
|
-
tooltipPosition="right">
|
|
47
|
-
@if(isActionLoading(subItem)){
|
|
48
|
-
<i class="submenu-icon pi pi-spin pi-spinner"></i>
|
|
49
|
-
} @else {
|
|
50
|
-
<i [ngClass]="subItem.icon" class="submenu-icon"></i>
|
|
51
|
-
}
|
|
52
|
-
<span class="submenu-label">{{ subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '' }}</span>
|
|
53
|
-
</a>
|
|
54
|
-
</li>
|
|
55
|
-
} @else {
|
|
56
|
-
<!-- Regular menu item -->
|
|
57
|
-
<li class="secondary-menu-item" [ngClass]="{'active': isActiveRoute(subItem)}">
|
|
58
|
-
<a [routerLink]="subItem.routerLink"
|
|
59
|
-
class="secondary-menu-link"
|
|
60
|
-
[pTooltip]="!isMobile() && isTextTruncated(subItem.label, activeLang(), 'secondary') ? (subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '') : ''"
|
|
61
|
-
tooltipPosition="right">
|
|
62
|
-
<i [ngClass]="subItem.icon" class="submenu-icon"></i>
|
|
63
|
-
<span class="submenu-label">{{ subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '' }}</span>
|
|
64
|
-
</a>
|
|
65
|
-
<!-- Always render submenu if it exists -->
|
|
66
|
-
@if(subItem.items && subItem.items.length > 0){
|
|
67
|
-
<ul class="tertiary-menu always-open">
|
|
68
|
-
@for(childItem of subItem.items; track childItem; let i = $index){
|
|
69
|
-
<!-- Action item at tertiary level -->
|
|
70
|
-
@if(childItem.action) {
|
|
71
|
-
<li class="tertiary-menu-item" [ngClass]="{'action-loading': isActionLoading(childItem)}">
|
|
72
|
-
<a class="tertiary-menu-link is-action"
|
|
73
|
-
(click)="onActionItemClick(childItem, $event)"
|
|
74
|
-
[pTooltip]="!isMobile() && isTextTruncated(childItem.label, activeLang(), 'tertiary') ? (childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '') : ''"
|
|
75
|
-
tooltipPosition="right">
|
|
76
|
-
@if(isActionLoading(childItem)){
|
|
77
|
-
<span class="tertiary-label"><i class="pi pi-spin pi-spinner"></i> {{ childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '' }}</span>
|
|
78
|
-
} @else {
|
|
79
|
-
<span class="tertiary-label">{{ childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '' }}</span>
|
|
80
|
-
}
|
|
81
|
-
</a>
|
|
82
|
-
</li>
|
|
83
|
-
} @else {
|
|
84
|
-
<li class="tertiary-menu-item" [ngClass]="{'active': isActiveRoute(childItem)}">
|
|
85
|
-
<a [routerLink]="childItem.routerLink"
|
|
86
|
-
class="tertiary-menu-link"
|
|
87
|
-
[pTooltip]="!isMobile() && isTextTruncated(childItem.label, activeLang(), 'tertiary') ? (childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '') : ''"
|
|
88
|
-
tooltipPosition="right">
|
|
89
|
-
<span class="tertiary-label">{{ childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '' }}</span>
|
|
90
|
-
</a>
|
|
91
|
-
<!-- Always render deeper levels if they exist, also visible by default -->
|
|
92
|
-
@if(childItem.items && childItem.items.length > 0){
|
|
93
|
-
<ul class="nested-menu always-open">
|
|
94
|
-
@for(nestedItem of childItem.items; track nestedItem; let i = $index){
|
|
95
|
-
@if(nestedItem.action) {
|
|
96
|
-
<li class="nested-menu-item" [ngClass]="{'action-loading': isActionLoading(nestedItem)}">
|
|
97
|
-
<a class="nested-menu-link is-action"
|
|
98
|
-
(click)="onActionItemClick(nestedItem, $event)"
|
|
99
|
-
[pTooltip]="!isMobile() && isTextTruncated(nestedItem.label, activeLang(), 'nested') ? (nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '') : ''"
|
|
100
|
-
tooltipPosition="right">
|
|
101
|
-
@if(isActionLoading(nestedItem)){
|
|
102
|
-
<span class="nested-label"><i class="pi pi-spin pi-spinner"></i> {{ nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '' }}</span>
|
|
103
|
-
} @else {
|
|
104
|
-
<span class="nested-label">{{ nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '' }}</span>
|
|
105
|
-
}
|
|
106
|
-
</a>
|
|
107
|
-
</li>
|
|
108
|
-
} @else {
|
|
109
|
-
<li
|
|
110
|
-
class="nested-menu-item"
|
|
111
|
-
[ngClass]="{'active': isActiveRoute(nestedItem)}">
|
|
112
|
-
<a [routerLink]="nestedItem.routerLink"
|
|
113
|
-
class="nested-menu-link"
|
|
114
|
-
[pTooltip]="!isMobile() && isTextTruncated(nestedItem.label, activeLang(), 'nested') ? (nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '') : ''"
|
|
115
|
-
tooltipPosition="right">
|
|
116
|
-
<span class="nested-label">{{ nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '' }}</span>
|
|
117
|
-
</a>
|
|
118
|
-
</li>
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
</ul>
|
|
122
|
-
}
|
|
123
|
-
</li>
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
</ul>
|
|
127
|
-
}
|
|
128
|
-
</li>
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
</ul>
|
|
132
|
-
}
|
|
133
|
-
</div>
|
|
134
|
-
</div>
|
|
135
|
-
</div>
|
|
136
|
-
|
|
137
|
-
</div>
|
|
1
|
+
<div class="new-layout-sidebar" >
|
|
2
|
+
<!-- Main sidebar (first level) -->
|
|
3
|
+
<div class="main-sidebar" style="position: relative;">
|
|
4
|
+
<div class="main-sidebar-content">
|
|
5
|
+
<ul class="main-menu">
|
|
6
|
+
@for(item of getMenuItems(); track item; let i = $index){
|
|
7
|
+
@if(!item.separator){
|
|
8
|
+
<li
|
|
9
|
+
[ngClass]="{'active': isActiveRoute(item) || isHaveSelectedChildItem(item)}"
|
|
10
|
+
(click)="selectMainItem(i, item)"
|
|
11
|
+
[pTooltip]="(item.label && activeLang() ? item.label[activeLang()!] || '' : '')"
|
|
12
|
+
tooltipPosition="right">
|
|
13
|
+
<div class="main-menu-item">
|
|
14
|
+
<i [ngClass]="item.icon" class="menu-icon"></i>
|
|
15
|
+
<!-- <small class="menu-label">{{ item.label && activeLang() ? item.label[activeLang()!] || '' : '' }}</small> -->
|
|
16
|
+
</div>
|
|
17
|
+
</li>
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
</ul>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
@if(selectedMainMenuItem && selectedMainMenuItem.items && selectedMainMenuItem.items.length > 0){
|
|
24
|
+
|
|
25
|
+
<div class="sidebar-toggle-container">
|
|
26
|
+
<button class="sidebar-circle-toggle-btn" (click)="toggleSidebar()">
|
|
27
|
+
<i class="pi" [ngClass]="sidebarExpanded ? 'pi-angle-left' : 'pi-angle-right'"></i>
|
|
28
|
+
</button>
|
|
29
|
+
</div>
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
<!-- Secondary sidebar (second level) -->
|
|
33
|
+
<div class="secondary-sidebar" [ngClass]="{'expanded': sidebarExpanded}">
|
|
34
|
+
<div class="secondary-content-wrapper" style="position: relative;">
|
|
35
|
+
<!-- Secondary sidebar content -->
|
|
36
|
+
<div class="secondary-sidebar-content">
|
|
37
|
+
@if(selectedMainMenuItem){
|
|
38
|
+
<ul class="secondary-menu">
|
|
39
|
+
@for(subItem of selectedMainMenuItem.items; track subItem; let i = $index){
|
|
40
|
+
<!-- Action menu item -->
|
|
41
|
+
@if(subItem.action) {
|
|
42
|
+
<li class="secondary-menu-item" [ngClass]="{'action-loading': isActionLoading(subItem)}">
|
|
43
|
+
<a class="secondary-menu-link is-action"
|
|
44
|
+
(click)="onActionItemClick(subItem, $event)"
|
|
45
|
+
[pTooltip]="!isMobile() && isTextTruncated(subItem.label, activeLang(), 'secondary') ? (subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '') : ''"
|
|
46
|
+
tooltipPosition="right">
|
|
47
|
+
@if(isActionLoading(subItem)){
|
|
48
|
+
<i class="submenu-icon pi pi-spin pi-spinner"></i>
|
|
49
|
+
} @else {
|
|
50
|
+
<i [ngClass]="subItem.icon" class="submenu-icon"></i>
|
|
51
|
+
}
|
|
52
|
+
<span class="submenu-label">{{ subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '' }}</span>
|
|
53
|
+
</a>
|
|
54
|
+
</li>
|
|
55
|
+
} @else {
|
|
56
|
+
<!-- Regular menu item -->
|
|
57
|
+
<li class="secondary-menu-item" [ngClass]="{'active': isActiveRoute(subItem)}">
|
|
58
|
+
<a [routerLink]="subItem.routerLink"
|
|
59
|
+
class="secondary-menu-link"
|
|
60
|
+
[pTooltip]="!isMobile() && isTextTruncated(subItem.label, activeLang(), 'secondary') ? (subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '') : ''"
|
|
61
|
+
tooltipPosition="right">
|
|
62
|
+
<i [ngClass]="subItem.icon" class="submenu-icon"></i>
|
|
63
|
+
<span class="submenu-label">{{ subItem.label && activeLang() ? subItem.label[activeLang()!] || '' : '' }}</span>
|
|
64
|
+
</a>
|
|
65
|
+
<!-- Always render submenu if it exists -->
|
|
66
|
+
@if(subItem.items && subItem.items.length > 0){
|
|
67
|
+
<ul class="tertiary-menu always-open">
|
|
68
|
+
@for(childItem of subItem.items; track childItem; let i = $index){
|
|
69
|
+
<!-- Action item at tertiary level -->
|
|
70
|
+
@if(childItem.action) {
|
|
71
|
+
<li class="tertiary-menu-item" [ngClass]="{'action-loading': isActionLoading(childItem)}">
|
|
72
|
+
<a class="tertiary-menu-link is-action"
|
|
73
|
+
(click)="onActionItemClick(childItem, $event)"
|
|
74
|
+
[pTooltip]="!isMobile() && isTextTruncated(childItem.label, activeLang(), 'tertiary') ? (childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '') : ''"
|
|
75
|
+
tooltipPosition="right">
|
|
76
|
+
@if(isActionLoading(childItem)){
|
|
77
|
+
<span class="tertiary-label"><i class="pi pi-spin pi-spinner"></i> {{ childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '' }}</span>
|
|
78
|
+
} @else {
|
|
79
|
+
<span class="tertiary-label">{{ childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '' }}</span>
|
|
80
|
+
}
|
|
81
|
+
</a>
|
|
82
|
+
</li>
|
|
83
|
+
} @else {
|
|
84
|
+
<li class="tertiary-menu-item" [ngClass]="{'active': isActiveRoute(childItem)}">
|
|
85
|
+
<a [routerLink]="childItem.routerLink"
|
|
86
|
+
class="tertiary-menu-link"
|
|
87
|
+
[pTooltip]="!isMobile() && isTextTruncated(childItem.label, activeLang(), 'tertiary') ? (childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '') : ''"
|
|
88
|
+
tooltipPosition="right">
|
|
89
|
+
<span class="tertiary-label">{{ childItem.label && activeLang() ? childItem.label[activeLang()!] || '' : '' }}</span>
|
|
90
|
+
</a>
|
|
91
|
+
<!-- Always render deeper levels if they exist, also visible by default -->
|
|
92
|
+
@if(childItem.items && childItem.items.length > 0){
|
|
93
|
+
<ul class="nested-menu always-open">
|
|
94
|
+
@for(nestedItem of childItem.items; track nestedItem; let i = $index){
|
|
95
|
+
@if(nestedItem.action) {
|
|
96
|
+
<li class="nested-menu-item" [ngClass]="{'action-loading': isActionLoading(nestedItem)}">
|
|
97
|
+
<a class="nested-menu-link is-action"
|
|
98
|
+
(click)="onActionItemClick(nestedItem, $event)"
|
|
99
|
+
[pTooltip]="!isMobile() && isTextTruncated(nestedItem.label, activeLang(), 'nested') ? (nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '') : ''"
|
|
100
|
+
tooltipPosition="right">
|
|
101
|
+
@if(isActionLoading(nestedItem)){
|
|
102
|
+
<span class="nested-label"><i class="pi pi-spin pi-spinner"></i> {{ nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '' }}</span>
|
|
103
|
+
} @else {
|
|
104
|
+
<span class="nested-label">{{ nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '' }}</span>
|
|
105
|
+
}
|
|
106
|
+
</a>
|
|
107
|
+
</li>
|
|
108
|
+
} @else {
|
|
109
|
+
<li
|
|
110
|
+
class="nested-menu-item"
|
|
111
|
+
[ngClass]="{'active': isActiveRoute(nestedItem)}">
|
|
112
|
+
<a [routerLink]="nestedItem.routerLink"
|
|
113
|
+
class="nested-menu-link"
|
|
114
|
+
[pTooltip]="!isMobile() && isTextTruncated(nestedItem.label, activeLang(), 'nested') ? (nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '') : ''"
|
|
115
|
+
tooltipPosition="right">
|
|
116
|
+
<span class="nested-label">{{ nestedItem.label && activeLang() ? nestedItem.label[activeLang()!] || '' : '' }}</span>
|
|
117
|
+
</a>
|
|
118
|
+
</li>
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
</ul>
|
|
122
|
+
}
|
|
123
|
+
</li>
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
</ul>
|
|
127
|
+
}
|
|
128
|
+
</li>
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
</ul>
|
|
132
|
+
}
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
</div>
|