aril 1.2.23 → 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 +2 -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/aril-ui-business-multiAssetPicker.mjs +5 -0
- package/esm2022/ui-business/multiAssetPicker/index.mjs +2 -0
- package/esm2022/ui-business/multiAssetPicker/src/multi-asset-picker.component.mjs +107 -0
- 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 +114 -0
- package/fesm2022/aril-ui-business-multiAssetPicker.mjs.map +1 -0
- 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 +58 -52
- 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/index.d.ts +1 -0
- 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/index.d.ts +1 -0
- package/ui-business/multiAssetPicker/src/multi-asset-picker.component.d.ts +39 -0
- 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,158 +1,158 @@
|
|
|
1
|
-
import { Injectable, inject } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { Title } from '@angular/platform-browser';
|
|
4
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
|
-
import { TranslocoService } from '@ngneat/transloco';
|
|
6
|
-
import { bridge } from 'aril/boot/bridge';
|
|
7
|
-
import { PubSubService } from 'aril/util/pub-sub';
|
|
8
|
-
|
|
9
|
-
export interface HistoryItem {
|
|
10
|
-
id: string;
|
|
11
|
-
title: string;
|
|
12
|
-
multiLanguageTitle?: {
|
|
13
|
-
tr?: string;
|
|
14
|
-
en?: string;
|
|
15
|
-
};
|
|
16
|
-
url: string;
|
|
17
|
-
timestamp: number;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@Injectable({
|
|
21
|
-
providedIn: 'root'
|
|
22
|
-
})
|
|
23
|
-
export class HistoryService {
|
|
24
|
-
private readonly STORAGE_KEY = 'page_history';
|
|
25
|
-
private readonly MAX_HISTORY_SIZE = 20;
|
|
26
|
-
|
|
27
|
-
private historySubject = new BehaviorSubject<HistoryItem[]>([]);
|
|
28
|
-
public history$: Observable<HistoryItem[]> = this.historySubject.asObservable();;
|
|
29
|
-
|
|
30
|
-
// Excluded paths that shouldn't be tracked
|
|
31
|
-
private excludedPaths = ['/login'];
|
|
32
|
-
|
|
33
|
-
private router = inject(Router);
|
|
34
|
-
private translocoService = inject(TranslocoService);
|
|
35
|
-
private pubSubService = inject(PubSubService);
|
|
36
|
-
private titleService = inject(Title);
|
|
37
|
-
|
|
38
|
-
constructor() {
|
|
39
|
-
this.loadHistoryFromStorage();
|
|
40
|
-
this.initializeBreadcrumbListener();
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
private initializeBreadcrumbListener(): void {
|
|
44
|
-
// Listen for breadcrumb updates to track navigation history
|
|
45
|
-
this.pubSubService.subscribe('breadcrumbUpdated', (data) => {
|
|
46
|
-
const url = data?.path;
|
|
47
|
-
const pageTitle = data?.custom?.pageTitle;
|
|
48
|
-
|
|
49
|
-
if (url && pageTitle && pageTitle !== '...') {
|
|
50
|
-
this.addToHistory(url, pageTitle);
|
|
51
|
-
this.titleService.setTitle(pageTitle);
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
private addToHistory(url: string, pageTitle?: string): void {
|
|
57
|
-
if (this.shouldExcludeUrl(url)) {
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
const multiLanguageTitle: { tr?: string; en?: string } = {};
|
|
62
|
-
|
|
63
|
-
if (pageTitle) {
|
|
64
|
-
multiLanguageTitle.tr = pageTitle;
|
|
65
|
-
multiLanguageTitle.en = pageTitle;
|
|
66
|
-
} else {
|
|
67
|
-
const globalPageTitle = bridge.pageTitle();
|
|
68
|
-
if (globalPageTitle) {
|
|
69
|
-
multiLanguageTitle.tr = globalPageTitle;
|
|
70
|
-
multiLanguageTitle.en = globalPageTitle;
|
|
71
|
-
} else {
|
|
72
|
-
// Fallback for pages not in menu and no global title
|
|
73
|
-
multiLanguageTitle.tr = 'Bilinmeyen Sayfa';
|
|
74
|
-
multiLanguageTitle.en = 'Unknown Page';
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
const currentLang = this.translocoService.getActiveLang() as 'tr' | 'en';
|
|
79
|
-
const title = multiLanguageTitle[currentLang] || multiLanguageTitle.tr || 'Unknown Page';
|
|
80
|
-
const timestamp = Date.now();
|
|
81
|
-
const id = this.generateId(url, timestamp);
|
|
82
|
-
|
|
83
|
-
const newItem: HistoryItem = {
|
|
84
|
-
id,
|
|
85
|
-
title,
|
|
86
|
-
multiLanguageTitle,
|
|
87
|
-
url,
|
|
88
|
-
timestamp
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
let history = this.getHistoryFromStorage();
|
|
92
|
-
history = history.filter((item) => item.url !== url);
|
|
93
|
-
history.unshift(newItem);
|
|
94
|
-
|
|
95
|
-
// Limit history size
|
|
96
|
-
if (history.length > this.MAX_HISTORY_SIZE) {
|
|
97
|
-
history = history.slice(0, this.MAX_HISTORY_SIZE);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
this.saveHistoryToStorage(history);
|
|
101
|
-
this.historySubject.next(history);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
private shouldExcludeUrl(url: string): boolean {
|
|
105
|
-
return this.excludedPaths.some((excludedPath) => url.startsWith(excludedPath));
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
private generateId(url: string, timestamp: number): string {
|
|
109
|
-
return `${url.replace(/[^a-zA-Z0-9]/g, '_')}_${timestamp}`;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
private loadHistoryFromStorage(): void {
|
|
113
|
-
const history = this.getHistoryFromStorage();
|
|
114
|
-
this.historySubject.next(history);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
private saveHistoryToStorage(history: HistoryItem[]): void {
|
|
118
|
-
try {
|
|
119
|
-
localStorage.setItem(this.STORAGE_KEY, JSON.stringify(history));
|
|
120
|
-
} catch (error) {
|
|
121
|
-
console.warn('Failed to save navigation history to localStorage:', error);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
public clearHistory(): void {
|
|
126
|
-
localStorage.removeItem(this.STORAGE_KEY);
|
|
127
|
-
this.historySubject.next([]);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
public navigateToHistoryItem(item: HistoryItem): void {
|
|
131
|
-
this.router.navigate([item.url]);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
private getHistoryFromStorage(): HistoryItem[] {
|
|
135
|
-
try {
|
|
136
|
-
const stored = localStorage.getItem(this.STORAGE_KEY);
|
|
137
|
-
return stored ? JSON.parse(stored) : [];
|
|
138
|
-
} catch (error) {
|
|
139
|
-
console.warn('Failed to load navigation history from localStorage:', error);
|
|
140
|
-
return [];
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
public getHistoryItemsBySearchTerm(searchTerm: string): HistoryItem[] {
|
|
145
|
-
const history = this.getHistoryFromStorage();
|
|
146
|
-
const currentLang = this.translocoService.getActiveLang() as 'tr' | 'en';
|
|
147
|
-
const lowerSearchTerm = searchTerm.toLocaleLowerCase(currentLang);
|
|
148
|
-
|
|
149
|
-
return history.filter((item) => {
|
|
150
|
-
// Search in current language title
|
|
151
|
-
const currentTitle = item.multiLanguageTitle?.[currentLang] || item.title;
|
|
152
|
-
return (
|
|
153
|
-
currentTitle.toLocaleLowerCase(currentLang).includes(lowerSearchTerm) ||
|
|
154
|
-
item.url.toLocaleLowerCase(currentLang).includes(lowerSearchTerm)
|
|
155
|
-
);
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
}
|
|
1
|
+
import { Injectable, inject } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { Title } from '@angular/platform-browser';
|
|
4
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
|
+
import { TranslocoService } from '@ngneat/transloco';
|
|
6
|
+
import { bridge } from 'aril/boot/bridge';
|
|
7
|
+
import { PubSubService } from 'aril/util/pub-sub';
|
|
8
|
+
|
|
9
|
+
export interface HistoryItem {
|
|
10
|
+
id: string;
|
|
11
|
+
title: string;
|
|
12
|
+
multiLanguageTitle?: {
|
|
13
|
+
tr?: string;
|
|
14
|
+
en?: string;
|
|
15
|
+
};
|
|
16
|
+
url: string;
|
|
17
|
+
timestamp: number;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@Injectable({
|
|
21
|
+
providedIn: 'root'
|
|
22
|
+
})
|
|
23
|
+
export class HistoryService {
|
|
24
|
+
private readonly STORAGE_KEY = 'page_history';
|
|
25
|
+
private readonly MAX_HISTORY_SIZE = 20;
|
|
26
|
+
|
|
27
|
+
private historySubject = new BehaviorSubject<HistoryItem[]>([]);
|
|
28
|
+
public history$: Observable<HistoryItem[]> = this.historySubject.asObservable();;
|
|
29
|
+
|
|
30
|
+
// Excluded paths that shouldn't be tracked
|
|
31
|
+
private excludedPaths = ['/login'];
|
|
32
|
+
|
|
33
|
+
private router = inject(Router);
|
|
34
|
+
private translocoService = inject(TranslocoService);
|
|
35
|
+
private pubSubService = inject(PubSubService);
|
|
36
|
+
private titleService = inject(Title);
|
|
37
|
+
|
|
38
|
+
constructor() {
|
|
39
|
+
this.loadHistoryFromStorage();
|
|
40
|
+
this.initializeBreadcrumbListener();
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
private initializeBreadcrumbListener(): void {
|
|
44
|
+
// Listen for breadcrumb updates to track navigation history
|
|
45
|
+
this.pubSubService.subscribe('breadcrumbUpdated', (data) => {
|
|
46
|
+
const url = data?.path;
|
|
47
|
+
const pageTitle = data?.custom?.pageTitle;
|
|
48
|
+
|
|
49
|
+
if (url && pageTitle && pageTitle !== '...') {
|
|
50
|
+
this.addToHistory(url, pageTitle);
|
|
51
|
+
this.titleService.setTitle(pageTitle);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
private addToHistory(url: string, pageTitle?: string): void {
|
|
57
|
+
if (this.shouldExcludeUrl(url)) {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
const multiLanguageTitle: { tr?: string; en?: string } = {};
|
|
62
|
+
|
|
63
|
+
if (pageTitle) {
|
|
64
|
+
multiLanguageTitle.tr = pageTitle;
|
|
65
|
+
multiLanguageTitle.en = pageTitle;
|
|
66
|
+
} else {
|
|
67
|
+
const globalPageTitle = bridge.pageTitle();
|
|
68
|
+
if (globalPageTitle) {
|
|
69
|
+
multiLanguageTitle.tr = globalPageTitle;
|
|
70
|
+
multiLanguageTitle.en = globalPageTitle;
|
|
71
|
+
} else {
|
|
72
|
+
// Fallback for pages not in menu and no global title
|
|
73
|
+
multiLanguageTitle.tr = 'Bilinmeyen Sayfa';
|
|
74
|
+
multiLanguageTitle.en = 'Unknown Page';
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
const currentLang = this.translocoService.getActiveLang() as 'tr' | 'en';
|
|
79
|
+
const title = multiLanguageTitle[currentLang] || multiLanguageTitle.tr || 'Unknown Page';
|
|
80
|
+
const timestamp = Date.now();
|
|
81
|
+
const id = this.generateId(url, timestamp);
|
|
82
|
+
|
|
83
|
+
const newItem: HistoryItem = {
|
|
84
|
+
id,
|
|
85
|
+
title,
|
|
86
|
+
multiLanguageTitle,
|
|
87
|
+
url,
|
|
88
|
+
timestamp
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
let history = this.getHistoryFromStorage();
|
|
92
|
+
history = history.filter((item) => item.url !== url);
|
|
93
|
+
history.unshift(newItem);
|
|
94
|
+
|
|
95
|
+
// Limit history size
|
|
96
|
+
if (history.length > this.MAX_HISTORY_SIZE) {
|
|
97
|
+
history = history.slice(0, this.MAX_HISTORY_SIZE);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
this.saveHistoryToStorage(history);
|
|
101
|
+
this.historySubject.next(history);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
private shouldExcludeUrl(url: string): boolean {
|
|
105
|
+
return this.excludedPaths.some((excludedPath) => url.startsWith(excludedPath));
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
private generateId(url: string, timestamp: number): string {
|
|
109
|
+
return `${url.replace(/[^a-zA-Z0-9]/g, '_')}_${timestamp}`;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
private loadHistoryFromStorage(): void {
|
|
113
|
+
const history = this.getHistoryFromStorage();
|
|
114
|
+
this.historySubject.next(history);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
private saveHistoryToStorage(history: HistoryItem[]): void {
|
|
118
|
+
try {
|
|
119
|
+
localStorage.setItem(this.STORAGE_KEY, JSON.stringify(history));
|
|
120
|
+
} catch (error) {
|
|
121
|
+
console.warn('Failed to save navigation history to localStorage:', error);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
public clearHistory(): void {
|
|
126
|
+
localStorage.removeItem(this.STORAGE_KEY);
|
|
127
|
+
this.historySubject.next([]);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
public navigateToHistoryItem(item: HistoryItem): void {
|
|
131
|
+
this.router.navigate([item.url]);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
private getHistoryFromStorage(): HistoryItem[] {
|
|
135
|
+
try {
|
|
136
|
+
const stored = localStorage.getItem(this.STORAGE_KEY);
|
|
137
|
+
return stored ? JSON.parse(stored) : [];
|
|
138
|
+
} catch (error) {
|
|
139
|
+
console.warn('Failed to load navigation history from localStorage:', error);
|
|
140
|
+
return [];
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
public getHistoryItemsBySearchTerm(searchTerm: string): HistoryItem[] {
|
|
145
|
+
const history = this.getHistoryFromStorage();
|
|
146
|
+
const currentLang = this.translocoService.getActiveLang() as 'tr' | 'en';
|
|
147
|
+
const lowerSearchTerm = searchTerm.toLocaleLowerCase(currentLang);
|
|
148
|
+
|
|
149
|
+
return history.filter((item) => {
|
|
150
|
+
// Search in current language title
|
|
151
|
+
const currentTitle = item.multiLanguageTitle?.[currentLang] || item.title;
|
|
152
|
+
return (
|
|
153
|
+
currentTitle.toLocaleLowerCase(currentLang).includes(lowerSearchTerm) ||
|
|
154
|
+
item.url.toLocaleLowerCase(currentLang).includes(lowerSearchTerm)
|
|
155
|
+
);
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
}
|
|
@@ -1,169 +1,169 @@
|
|
|
1
|
-
import { NgClass } from '@angular/common';
|
|
2
|
-
import { Component, OnDestroy, Renderer2, ViewChild } from '@angular/core';
|
|
3
|
-
import { NavigationEnd, Router, RouterOutlet } from '@angular/router';
|
|
4
|
-
|
|
5
|
-
import { ConfirmDialogModule } from 'primeng/confirmdialog';
|
|
6
|
-
import { ConfirmPopupModule } from 'primeng/confirmpopup';
|
|
7
|
-
import { DialogModule } from 'primeng/dialog';
|
|
8
|
-
import { MessagesModule } from 'primeng/messages';
|
|
9
|
-
import { ToastModule } from 'primeng/toast';
|
|
10
|
-
|
|
11
|
-
import { Subscription, filter } from 'rxjs';
|
|
12
|
-
|
|
13
|
-
import { LayoutService } from '../../service/app.layout.service';
|
|
14
|
-
import { AppMenuService } from '../../service/app.menu.service';
|
|
15
|
-
import { AppProfileSidebarComponent } from '../profileSidebar/app.profilesidebar.component';
|
|
16
|
-
import { HistorySidebarComponent } from '../history/history-sidebar.component';
|
|
17
|
-
import { SiteMapSidebarComponent } from '../site-map/site-map-sidebar.component';
|
|
18
|
-
import { FavoritePagesSidebarComponent } from '../favorite-pages/favorite-pages-sidebar.component';
|
|
19
|
-
import { AppTopbarComponent } from '../topbar/app.topbar.component';
|
|
20
|
-
import { ExpandableMenuComponent } from '../expandableMenu/expandable-menu.component';
|
|
21
|
-
import { StaticSidebarComponent } from '../static-sidebar/static-sidebar.component';
|
|
22
|
-
import { NotificationsSidebarComponent } from '../notifications/notifications-sidebar.component';
|
|
23
|
-
|
|
24
|
-
@Component({
|
|
25
|
-
standalone: true,
|
|
26
|
-
selector: 'app-layout',
|
|
27
|
-
imports: [
|
|
28
|
-
NgClass,
|
|
29
|
-
RouterOutlet,
|
|
30
|
-
ConfirmDialogModule,
|
|
31
|
-
ConfirmPopupModule,
|
|
32
|
-
DialogModule,
|
|
33
|
-
MessagesModule,
|
|
34
|
-
ToastModule,
|
|
35
|
-
AppTopbarComponent,
|
|
36
|
-
AppProfileSidebarComponent,
|
|
37
|
-
HistorySidebarComponent,
|
|
38
|
-
SiteMapSidebarComponent,
|
|
39
|
-
FavoritePagesSidebarComponent,
|
|
40
|
-
ExpandableMenuComponent,
|
|
41
|
-
StaticSidebarComponent,
|
|
42
|
-
NotificationsSidebarComponent
|
|
43
|
-
],
|
|
44
|
-
templateUrl: './app.layout.component.html'
|
|
45
|
-
})
|
|
46
|
-
export class AppLayoutComponent implements OnDestroy {
|
|
47
|
-
overlayMenuOpenSubscription: Subscription;
|
|
48
|
-
menuOutsideClickListener: any;
|
|
49
|
-
menuScrollListener: any;
|
|
50
|
-
|
|
51
|
-
@ViewChild(ExpandableMenuComponent) expandableMenuComponent!: ExpandableMenuComponent;
|
|
52
|
-
@ViewChild(StaticSidebarComponent) staticSidebarComponent!: StaticSidebarComponent;
|
|
53
|
-
@ViewChild(AppTopbarComponent) appTopbar!: AppTopbarComponent;
|
|
54
|
-
|
|
55
|
-
constructor(
|
|
56
|
-
private menuService: AppMenuService,
|
|
57
|
-
public layoutService: LayoutService,
|
|
58
|
-
public renderer: Renderer2,
|
|
59
|
-
public router: Router
|
|
60
|
-
) {
|
|
61
|
-
this.overlayMenuOpenSubscription = this.layoutService.overlayOpen$.subscribe(() => {
|
|
62
|
-
if (!this.menuOutsideClickListener) {
|
|
63
|
-
this.menuOutsideClickListener = this.renderer.listen('document', 'click', (event) => {
|
|
64
|
-
const isOutsideClicked = !(
|
|
65
|
-
this.appTopbar.menuButton.nativeElement.isSameNode(event.target) ||
|
|
66
|
-
this.appTopbar.menuButton.nativeElement.contains(event.target) ||
|
|
67
|
-
(this.expandableMenuComponent && this.isElementInside(event.target, 'app-expandable-menu')) ||
|
|
68
|
-
(this.staticSidebarComponent && this.isElementInside(event.target, 'app-static-sidebar'))
|
|
69
|
-
);
|
|
70
|
-
if (isOutsideClicked) {
|
|
71
|
-
this.hideMenu();
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
if (this.layoutService.state.staticMenuMobileActive) {
|
|
77
|
-
this.blockBodyScroll();
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
|
|
81
|
-
this.router.events.pipe(filter((event) => event instanceof NavigationEnd)).subscribe(() => {
|
|
82
|
-
if (!this.layoutService.mfeAppItemClicked()) this.hideMenu();
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
blockBodyScroll(): void {
|
|
87
|
-
if (document.body.classList) {
|
|
88
|
-
document.body.classList.add('blocked-scroll');
|
|
89
|
-
} else {
|
|
90
|
-
document.body.className += ' blocked-scroll';
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
unblockBodyScroll(): void {
|
|
95
|
-
if (document.body.classList) {
|
|
96
|
-
document.body.classList.remove('blocked-scroll');
|
|
97
|
-
} else {
|
|
98
|
-
document.body.className = document.body.className.replace(
|
|
99
|
-
new RegExp('(^|\\b)' + 'blocked-scroll'.split(' ').join('|') + '(\\b|$)', 'gi'),
|
|
100
|
-
' '
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Helper method to check if element is inside a specific component
|
|
106
|
-
private isElementInside(element: any, selector: string): boolean {
|
|
107
|
-
if (!element) return false;
|
|
108
|
-
|
|
109
|
-
let currentElement = element;
|
|
110
|
-
while (currentElement && currentElement !== document) {
|
|
111
|
-
if (currentElement.tagName && currentElement.tagName.toLowerCase() === selector) {
|
|
112
|
-
return true;
|
|
113
|
-
}
|
|
114
|
-
currentElement = currentElement.parentElement;
|
|
115
|
-
}
|
|
116
|
-
return false;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
hideMenu() {
|
|
120
|
-
this.layoutService.state.staticMenuMobileActive = false;
|
|
121
|
-
this.menuService.reset();
|
|
122
|
-
|
|
123
|
-
if (this.menuOutsideClickListener) {
|
|
124
|
-
this.menuOutsideClickListener();
|
|
125
|
-
this.menuOutsideClickListener = null;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
if (this.menuScrollListener) {
|
|
129
|
-
this.menuScrollListener();
|
|
130
|
-
this.menuScrollListener = null;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
this.unblockBodyScroll();
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
get containerClass() {
|
|
137
|
-
return {
|
|
138
|
-
'layout-light': this.layoutService.config().colorScheme === 'light',
|
|
139
|
-
'layout-dim': this.layoutService.config().colorScheme === 'dim',
|
|
140
|
-
'layout-dark': this.layoutService.config().colorScheme === 'dark',
|
|
141
|
-
'layout-colorscheme-menu': this.layoutService.config().menuTheme === 'colorScheme',
|
|
142
|
-
'layout-primarycolor-menu': this.layoutService.config().menuTheme === 'primaryColor',
|
|
143
|
-
'layout-transparent-menu': this.layoutService.config().menuTheme === 'transparent',
|
|
144
|
-
'layout-static': this.layoutService.config().menuMode === 'static',
|
|
145
|
-
'layout-expandable': this.layoutService.config().menuMode === 'expandable',
|
|
146
|
-
'layout-static-inactive':
|
|
147
|
-
this.layoutService.config().menuMode === 'static' &&
|
|
148
|
-
!this.layoutService.shouldShowStaticSidebar(),
|
|
149
|
-
'layout-static-collapsed':
|
|
150
|
-
this.layoutService.config().menuMode === 'static' &&
|
|
151
|
-
this.layoutService.isStaticSidebarCollapsed(),
|
|
152
|
-
'layout-mobile-active': this.layoutService.state.staticMenuMobileActive,
|
|
153
|
-
'p-input-filled': this.layoutService.config().inputStyle === 'filled',
|
|
154
|
-
'p-ripple-disabled': !this.layoutService.config().ripple,
|
|
155
|
-
'new-sidebar-layout': this.layoutService.config().menuMode === 'expandable',
|
|
156
|
-
'secondary-expanded': this.layoutService.state.secondarySidebarExpanded
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
ngOnDestroy() {
|
|
161
|
-
if (this.overlayMenuOpenSubscription) {
|
|
162
|
-
this.overlayMenuOpenSubscription.unsubscribe();
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
if (this.menuOutsideClickListener) {
|
|
166
|
-
this.menuOutsideClickListener();
|
|
167
|
-
}
|
|
168
|
-
}
|
|
1
|
+
import { NgClass } from '@angular/common';
|
|
2
|
+
import { Component, OnDestroy, Renderer2, ViewChild } from '@angular/core';
|
|
3
|
+
import { NavigationEnd, Router, RouterOutlet } from '@angular/router';
|
|
4
|
+
|
|
5
|
+
import { ConfirmDialogModule } from 'primeng/confirmdialog';
|
|
6
|
+
import { ConfirmPopupModule } from 'primeng/confirmpopup';
|
|
7
|
+
import { DialogModule } from 'primeng/dialog';
|
|
8
|
+
import { MessagesModule } from 'primeng/messages';
|
|
9
|
+
import { ToastModule } from 'primeng/toast';
|
|
10
|
+
|
|
11
|
+
import { Subscription, filter } from 'rxjs';
|
|
12
|
+
|
|
13
|
+
import { LayoutService } from '../../service/app.layout.service';
|
|
14
|
+
import { AppMenuService } from '../../service/app.menu.service';
|
|
15
|
+
import { AppProfileSidebarComponent } from '../profileSidebar/app.profilesidebar.component';
|
|
16
|
+
import { HistorySidebarComponent } from '../history/history-sidebar.component';
|
|
17
|
+
import { SiteMapSidebarComponent } from '../site-map/site-map-sidebar.component';
|
|
18
|
+
import { FavoritePagesSidebarComponent } from '../favorite-pages/favorite-pages-sidebar.component';
|
|
19
|
+
import { AppTopbarComponent } from '../topbar/app.topbar.component';
|
|
20
|
+
import { ExpandableMenuComponent } from '../expandableMenu/expandable-menu.component';
|
|
21
|
+
import { StaticSidebarComponent } from '../static-sidebar/static-sidebar.component';
|
|
22
|
+
import { NotificationsSidebarComponent } from '../notifications/notifications-sidebar.component';
|
|
23
|
+
|
|
24
|
+
@Component({
|
|
25
|
+
standalone: true,
|
|
26
|
+
selector: 'app-layout',
|
|
27
|
+
imports: [
|
|
28
|
+
NgClass,
|
|
29
|
+
RouterOutlet,
|
|
30
|
+
ConfirmDialogModule,
|
|
31
|
+
ConfirmPopupModule,
|
|
32
|
+
DialogModule,
|
|
33
|
+
MessagesModule,
|
|
34
|
+
ToastModule,
|
|
35
|
+
AppTopbarComponent,
|
|
36
|
+
AppProfileSidebarComponent,
|
|
37
|
+
HistorySidebarComponent,
|
|
38
|
+
SiteMapSidebarComponent,
|
|
39
|
+
FavoritePagesSidebarComponent,
|
|
40
|
+
ExpandableMenuComponent,
|
|
41
|
+
StaticSidebarComponent,
|
|
42
|
+
NotificationsSidebarComponent
|
|
43
|
+
],
|
|
44
|
+
templateUrl: './app.layout.component.html'
|
|
45
|
+
})
|
|
46
|
+
export class AppLayoutComponent implements OnDestroy {
|
|
47
|
+
overlayMenuOpenSubscription: Subscription;
|
|
48
|
+
menuOutsideClickListener: any;
|
|
49
|
+
menuScrollListener: any;
|
|
50
|
+
|
|
51
|
+
@ViewChild(ExpandableMenuComponent) expandableMenuComponent!: ExpandableMenuComponent;
|
|
52
|
+
@ViewChild(StaticSidebarComponent) staticSidebarComponent!: StaticSidebarComponent;
|
|
53
|
+
@ViewChild(AppTopbarComponent) appTopbar!: AppTopbarComponent;
|
|
54
|
+
|
|
55
|
+
constructor(
|
|
56
|
+
private menuService: AppMenuService,
|
|
57
|
+
public layoutService: LayoutService,
|
|
58
|
+
public renderer: Renderer2,
|
|
59
|
+
public router: Router
|
|
60
|
+
) {
|
|
61
|
+
this.overlayMenuOpenSubscription = this.layoutService.overlayOpen$.subscribe(() => {
|
|
62
|
+
if (!this.menuOutsideClickListener) {
|
|
63
|
+
this.menuOutsideClickListener = this.renderer.listen('document', 'click', (event) => {
|
|
64
|
+
const isOutsideClicked = !(
|
|
65
|
+
this.appTopbar.menuButton.nativeElement.isSameNode(event.target) ||
|
|
66
|
+
this.appTopbar.menuButton.nativeElement.contains(event.target) ||
|
|
67
|
+
(this.expandableMenuComponent && this.isElementInside(event.target, 'app-expandable-menu')) ||
|
|
68
|
+
(this.staticSidebarComponent && this.isElementInside(event.target, 'app-static-sidebar'))
|
|
69
|
+
);
|
|
70
|
+
if (isOutsideClicked) {
|
|
71
|
+
this.hideMenu();
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
if (this.layoutService.state.staticMenuMobileActive) {
|
|
77
|
+
this.blockBodyScroll();
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
this.router.events.pipe(filter((event) => event instanceof NavigationEnd)).subscribe(() => {
|
|
82
|
+
if (!this.layoutService.mfeAppItemClicked()) this.hideMenu();
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
blockBodyScroll(): void {
|
|
87
|
+
if (document.body.classList) {
|
|
88
|
+
document.body.classList.add('blocked-scroll');
|
|
89
|
+
} else {
|
|
90
|
+
document.body.className += ' blocked-scroll';
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
unblockBodyScroll(): void {
|
|
95
|
+
if (document.body.classList) {
|
|
96
|
+
document.body.classList.remove('blocked-scroll');
|
|
97
|
+
} else {
|
|
98
|
+
document.body.className = document.body.className.replace(
|
|
99
|
+
new RegExp('(^|\\b)' + 'blocked-scroll'.split(' ').join('|') + '(\\b|$)', 'gi'),
|
|
100
|
+
' '
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Helper method to check if element is inside a specific component
|
|
106
|
+
private isElementInside(element: any, selector: string): boolean {
|
|
107
|
+
if (!element) return false;
|
|
108
|
+
|
|
109
|
+
let currentElement = element;
|
|
110
|
+
while (currentElement && currentElement !== document) {
|
|
111
|
+
if (currentElement.tagName && currentElement.tagName.toLowerCase() === selector) {
|
|
112
|
+
return true;
|
|
113
|
+
}
|
|
114
|
+
currentElement = currentElement.parentElement;
|
|
115
|
+
}
|
|
116
|
+
return false;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
hideMenu() {
|
|
120
|
+
this.layoutService.state.staticMenuMobileActive = false;
|
|
121
|
+
this.menuService.reset();
|
|
122
|
+
|
|
123
|
+
if (this.menuOutsideClickListener) {
|
|
124
|
+
this.menuOutsideClickListener();
|
|
125
|
+
this.menuOutsideClickListener = null;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
if (this.menuScrollListener) {
|
|
129
|
+
this.menuScrollListener();
|
|
130
|
+
this.menuScrollListener = null;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
this.unblockBodyScroll();
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
get containerClass() {
|
|
137
|
+
return {
|
|
138
|
+
'layout-light': this.layoutService.config().colorScheme === 'light',
|
|
139
|
+
'layout-dim': this.layoutService.config().colorScheme === 'dim',
|
|
140
|
+
'layout-dark': this.layoutService.config().colorScheme === 'dark',
|
|
141
|
+
'layout-colorscheme-menu': this.layoutService.config().menuTheme === 'colorScheme',
|
|
142
|
+
'layout-primarycolor-menu': this.layoutService.config().menuTheme === 'primaryColor',
|
|
143
|
+
'layout-transparent-menu': this.layoutService.config().menuTheme === 'transparent',
|
|
144
|
+
'layout-static': this.layoutService.config().menuMode === 'static',
|
|
145
|
+
'layout-expandable': this.layoutService.config().menuMode === 'expandable',
|
|
146
|
+
'layout-static-inactive':
|
|
147
|
+
this.layoutService.config().menuMode === 'static' &&
|
|
148
|
+
!this.layoutService.shouldShowStaticSidebar(),
|
|
149
|
+
'layout-static-collapsed':
|
|
150
|
+
this.layoutService.config().menuMode === 'static' &&
|
|
151
|
+
this.layoutService.isStaticSidebarCollapsed(),
|
|
152
|
+
'layout-mobile-active': this.layoutService.state.staticMenuMobileActive,
|
|
153
|
+
'p-input-filled': this.layoutService.config().inputStyle === 'filled',
|
|
154
|
+
'p-ripple-disabled': !this.layoutService.config().ripple,
|
|
155
|
+
'new-sidebar-layout': this.layoutService.config().menuMode === 'expandable',
|
|
156
|
+
'secondary-expanded': this.layoutService.state.secondarySidebarExpanded
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
ngOnDestroy() {
|
|
161
|
+
if (this.overlayMenuOpenSubscription) {
|
|
162
|
+
this.overlayMenuOpenSubscription.unsubscribe();
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
if (this.menuOutsideClickListener) {
|
|
166
|
+
this.menuOutsideClickListener();
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
169
|
}
|