aril 1.2.51 → 1.2.54
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/README.md +62 -62
- package/boot/config/api.sample.json +8 -8
- package/esm2022/boot/base/index.mjs +1 -1
- package/esm2022/boot/base/src/aril-title-strategy.mjs +4 -4
- package/esm2022/boot/base/src/create-base-app-config.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/index.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/reuse-strategy.mjs +1 -1
- package/esm2022/boot/config/apps/src/showdowDOMWrapper.mjs +4 -4
- package/esm2022/boot/config/plugins/index.mjs +1 -1
- package/esm2022/boot/config/translate/constants.mjs +1 -1
- package/esm2022/boot/config/translate/index.mjs +1 -1
- package/esm2022/boot/host/index.mjs +1 -1
- package/esm2022/boot/host/src/app.component.mjs +4 -4
- package/esm2022/boot/host/src/bootstrap.mjs +5 -1
- package/esm2022/boot/index.mjs +1 -1
- package/esm2022/boot/mfe/index.mjs +1 -1
- package/esm2022/boot/mfe/src/app.component.mjs +4 -4
- package/esm2022/boot/mfe/src/appComponentLoader.mjs +1 -1
- package/esm2022/boot/mfe/src/monaco.config.mjs +1 -1
- package/esm2022/boot/pages/src/forbidden.component.mjs +4 -4
- package/esm2022/boot/pages/src/notFound.component.mjs +4 -4
- package/esm2022/http/index.mjs +2 -1
- package/esm2022/http/lib/interfaces.mjs +1 -1
- package/esm2022/http/src/httpBackend.mjs +4 -4
- package/esm2022/http/src/httpClient.mjs +1 -1
- package/esm2022/http/src/interceptor/accept-language.interceptor.mjs +1 -1
- package/esm2022/http/src/pathParam.mjs +12 -0
- package/esm2022/http/src/serviceBase.mjs +54 -1
- package/esm2022/http/src/serviceMockBase.mjs +1 -1
- package/esm2022/http/src/serviceRequest.mjs +1 -1
- package/esm2022/i18n/index.mjs +1 -1
- package/esm2022/i18n/src/folder-name-token.mjs +1 -1
- package/esm2022/i18n/src/i18n.module.mjs +5 -5
- package/esm2022/i18n/src/loader.mjs +4 -4
- package/esm2022/i18n/src/provideI18n.mjs +1 -1
- package/esm2022/i18n/src/provideScope.mjs +1 -1
- package/esm2022/permission/index.mjs +1 -1
- package/esm2022/permission/src/constants.mjs +1 -1
- package/esm2022/permission/src/has-permission.directive.mjs +4 -4
- package/esm2022/permission/src/permission.service.mjs +4 -4
- package/esm2022/provider/index.mjs +1 -1
- package/esm2022/provider/src/index.mjs +1 -1
- package/esm2022/provider/src/prodiveHost.mjs +1 -1
- package/esm2022/provider/src/provideHostPermissions.mjs +1 -1
- package/esm2022/provider/src/provideLocaleId.mjs +1 -1
- package/esm2022/public-api.mjs +1 -1
- package/esm2022/theme/index.mjs +1 -1
- package/esm2022/theme/layout/app/breadcrumb/app.breadcrumb.component.mjs +7 -6
- package/esm2022/theme/layout/app/environment-banner/environment-banner.component.mjs +5 -5
- package/esm2022/theme/layout/app/expandableMenu/expandable-menu.component.mjs +4 -4
- package/esm2022/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.mjs +7 -6
- package/esm2022/theme/layout/app/favorite-pages/favorite-pages.service.mjs +7 -5
- package/esm2022/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.mjs +5 -5
- package/esm2022/theme/layout/app/general-search/general-search.component.mjs +71 -14
- package/esm2022/theme/layout/app/general-search/helpers.mjs +1 -1
- package/esm2022/theme/layout/app/general-search/models.mjs +1 -1
- package/esm2022/theme/layout/app/history/history-sidebar.component.mjs +5 -5
- package/esm2022/theme/layout/app/history/history.service.mjs +4 -4
- package/esm2022/theme/layout/app/layout/app.layout.component.mjs +9 -6
- package/esm2022/theme/layout/app/layout/mfe.layout.component.mjs +25 -25
- package/esm2022/theme/layout/app/notifications/notifications-sidebar.component.mjs +5 -5
- package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +5 -5
- package/esm2022/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.mjs +5 -5
- package/esm2022/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.mjs +5 -5
- package/esm2022/theme/layout/app/profileSidebar/profile.service.mjs +4 -4
- package/esm2022/theme/layout/app/site-map/site-map-sidebar.component.mjs +5 -5
- package/esm2022/theme/layout/app/static-sidebar/static-sidebar.component.mjs +4 -4
- package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +64 -7
- package/esm2022/theme/layout/index.mjs +5 -1
- package/esm2022/theme/layout/service/app.layout.service.mjs +6 -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/interfaces.mjs +1 -1
- package/esm2022/theme/layout/service/menu-action-confirm.mjs +1 -1
- package/esm2022/theme/layout/service/menuchangeevent.mjs +1 -1
- package/esm2022/theme/layout/service/notifications.service.mjs +4 -4
- package/esm2022/theme/layout/service/recent-search.service.mjs +100 -0
- package/esm2022/theme/layout/service/record-summary.service.mjs +410 -0
- package/esm2022/theme/layout/service/screen-visit.service.mjs +242 -0
- 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/index.mjs +1 -1
- package/esm2022/ui/autoComplete/src/auto-complete.component.mjs +5 -5
- package/esm2022/ui/autoComplete/src/interfaces.mjs +1 -1
- package/esm2022/ui/badge/index.mjs +1 -1
- package/esm2022/ui/badge/src/badge.component.mjs +5 -5
- package/esm2022/ui/button/index.mjs +1 -1
- package/esm2022/ui/button/src/button.component.mjs +5 -5
- package/esm2022/ui/button/src/split-button.component.mjs +5 -5
- package/esm2022/ui/calendar/index.mjs +1 -1
- package/esm2022/ui/calendar/src/calendar.component.mjs +5 -5
- package/esm2022/ui/charts/index.mjs +1 -1
- 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 +21 -21
- package/esm2022/ui/charts/src/highCharts/bar/bar-chart.component.mjs +16 -16
- package/esm2022/ui/charts/src/highCharts/column/column-chart.component.mjs +16 -16
- package/esm2022/ui/charts/src/highCharts/gauge/solid-gauge.component.mjs +21 -21
- package/esm2022/ui/charts/src/highCharts/heatmap/heatMap-chart.component.mjs +17 -17
- package/esm2022/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.mjs +17 -17
- package/esm2022/ui/charts/src/highCharts/line/line-chart-series.component.mjs +7 -7
- package/esm2022/ui/charts/src/highCharts/line/line-chart.component.mjs +4 -4
- package/esm2022/ui/charts/src/highCharts/pie/pie-chart.component.mjs +19 -19
- package/esm2022/ui/charts/src/theme/theme.mjs +1 -1
- package/esm2022/ui/checkbox/index.mjs +1 -1
- package/esm2022/ui/checkbox/src/check-box.component.mjs +5 -5
- package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +5 -5
- package/esm2022/ui/chip/src/chip.component.mjs +5 -5
- package/esm2022/ui/collapse-reorder-list/src/collapse-reorder-list.component.mjs +5 -5
- package/esm2022/ui/dxEditor/index.mjs +1 -1
- package/esm2022/ui/dxEditor/src/dx-editor.component.mjs +5 -5
- package/esm2022/ui/dxField/index.mjs +1 -1
- package/esm2022/ui/dxField/src/dx-field.component.mjs +5 -5
- package/esm2022/ui/editor/index.mjs +1 -1
- package/esm2022/ui/editor/src/aril-editor.component.mjs +5 -5
- package/esm2022/ui/editor/src/types.mjs +1 -1
- package/esm2022/ui/field/index.mjs +1 -1
- package/esm2022/ui/field/src/field.component.mjs +5 -5
- package/esm2022/ui/fileUpload/index.mjs +1 -1
- package/esm2022/ui/fileUpload/src/file-upload.component.mjs +5 -5
- package/esm2022/ui/form/index.mjs +5 -5
- package/esm2022/ui/form/src/form-submit-button.component.mjs +4 -4
- package/esm2022/ui/form/src/form.component.mjs +4 -4
- package/esm2022/ui/img-viewer/index.mjs +1 -1
- package/esm2022/ui/img-viewer/src/img-viewer.component.mjs +5 -5
- package/esm2022/ui/index.mjs +1 -1
- package/esm2022/ui/json-diff-comparison/index.mjs +1 -1
- package/esm2022/ui/json-diff-comparison/src/json-diff.component.mjs +5 -5
- package/esm2022/ui/lib/index.mjs +1 -1
- package/esm2022/ui/lib/src/form/form-error-message.component.mjs +11 -11
- package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +4 -4
- package/esm2022/ui/lib/src/form/form-field-builder.mjs +1 -1
- package/esm2022/ui/lib/src/form/form-validation.mjs +1 -1
- 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/baseInput.mjs +1 -1
- 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/input-transforms.mjs +1 -1
- package/esm2022/ui/lib/src/input/value-accessor.directive.mjs +4 -4
- package/esm2022/ui/lib/src/tooltip/tooltip-on-overflow.directive.mjs +4 -4
- package/esm2022/ui/loader/index.mjs +1 -1
- package/esm2022/ui/loader/src/loader.component.mjs +5 -5
- package/esm2022/ui/mask/index.mjs +1 -1
- package/esm2022/ui/mask/src/mask.component.mjs +5 -5
- package/esm2022/ui/multiSelect/index.mjs +1 -1
- package/esm2022/ui/multiSelect/src/interfaces.mjs +1 -1
- package/esm2022/ui/multiSelect/src/multi-select.component.mjs +5 -5
- package/esm2022/ui/number/index.mjs +1 -1
- package/esm2022/ui/number/src/number.component.mjs +5 -5
- package/esm2022/ui/operation-types-dialog/index.mjs +1 -1
- package/esm2022/ui/operation-types-dialog/src/operation-types-dialog.component.mjs +13 -13
- package/esm2022/ui/overlayPanel/index.mjs +1 -1
- package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +5 -5
- package/esm2022/ui/panel/index.mjs +1 -1
- package/esm2022/ui/panel/src/panel.component.mjs +5 -5
- package/esm2022/ui/password/index.mjs +1 -1
- package/esm2022/ui/password/src/password.component.mjs +5 -5
- package/esm2022/ui/pdf-viewer/index.mjs +1 -1
- package/esm2022/ui/pdf-viewer/src/pdf-viewer.component.mjs +5 -5
- package/esm2022/ui/progressbar/index.mjs +1 -1
- package/esm2022/ui/progressbar/src/progressbar.component.mjs +5 -5
- package/esm2022/ui/radioButton/index.mjs +1 -1
- package/esm2022/ui/radioButton/src/radio-button.component.mjs +5 -5
- package/esm2022/ui/relativeDateSelector/src/enum.mjs +1 -1
- package/esm2022/ui/relativeDateSelector/src/relative-date-selector.component.mjs +5 -5
- package/esm2022/ui/selectBox/index.mjs +1 -1
- package/esm2022/ui/selectBox/src/interfaces.mjs +1 -1
- package/esm2022/ui/selectBox/src/select-box.component.mjs +5 -5
- package/esm2022/ui/switch/index.mjs +1 -1
- package/esm2022/ui/switch/src/switch.component.mjs +5 -5
- 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 +4 -4
- 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 +5 -5
- package/esm2022/ui/tagBox/index.mjs +1 -1
- package/esm2022/ui/tagBox/src/tag-box.component.mjs +5 -5
- package/esm2022/ui/text/index.mjs +1 -1
- package/esm2022/ui/text/src/text.component.mjs +5 -5
- package/esm2022/ui/textArea/index.mjs +1 -1
- package/esm2022/ui/textArea/src/text-area.component.mjs +5 -5
- package/esm2022/ui/toggle-button/src/toggle-button.component.mjs +5 -5
- package/esm2022/ui/tooltip/index.mjs +1 -1
- package/esm2022/ui/tooltip/src/tooltip-component.mjs +5 -5
- package/esm2022/ui/translate-input/index.mjs +1 -1
- package/esm2022/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.mjs +5 -5
- package/esm2022/ui/translate-input/src/aril-lang-modal/constants.mjs +1 -1
- package/esm2022/ui/translate-input/src/aril-translate-input.component.mjs +27 -27
- package/esm2022/ui/translate-input/src/interface.mjs +1 -1
- package/esm2022/ui/tree/index.mjs +1 -1
- package/esm2022/ui/tree/src/tree.component.mjs +5 -5
- package/esm2022/ui/treeSelect/index.mjs +1 -1
- package/esm2022/ui/treeSelect/src/treeSelect.component.mjs +5 -5
- package/esm2022/ui/treeTable/index.mjs +1 -1
- package/esm2022/ui/treeTable/src/tree-table.component.mjs +5 -5
- package/esm2022/ui/value/index.mjs +1 -1
- package/esm2022/ui/value/src/value.component.mjs +5 -5
- package/esm2022/ui-business/assetPicker/src/asset-picker.component.mjs +4 -4
- package/esm2022/ui-business/assetPicker/src/interface.mjs +1 -1
- package/esm2022/ui-business/detailed-overlay-panel/index.mjs +1 -1
- package/esm2022/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.mjs +11 -5
- package/esm2022/ui-business/detailed-overlay-panel/src/interface.mjs +1 -1
- package/esm2022/ui-business/enumPicker/src/enum-picker.component.mjs +5 -5
- package/esm2022/ui-business/image-viewer/src/aril-image-viewer.component.mjs +31 -31
- package/esm2022/ui-business/index.mjs +1 -1
- package/esm2022/ui-business/multiAssetPicker/src/multi-asset-picker.component.mjs +4 -4
- package/esm2022/ui-business/multiple-ref-value/index.mjs +1 -1
- package/esm2022/ui-business/multiple-ref-value/src/multiple-ref-value.component.mjs +5 -5
- package/esm2022/ui-business/notification-templates-dialog/index.mjs +1 -1
- package/esm2022/ui-business/notification-templates-dialog/src/interface.mjs +1 -1
- package/esm2022/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.mjs +5 -5
- package/esm2022/ui-business/pdf-preview-modal/src/pdf-preview-modal.component.mjs +4 -4
- package/esm2022/ui-business/ref-value/index.mjs +1 -1
- package/esm2022/ui-business/ref-value/src/ref-value.component.mjs +5 -5
- package/esm2022/ui-business/rolePicker/index.mjs +1 -1
- package/esm2022/ui-business/rolePicker/src/interface.mjs +1 -1
- package/esm2022/ui-business/rolePicker/src/role-picker.component.mjs +5 -5
- 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/src/trace-id.component.mjs +4 -4
- package/esm2022/ui-business/userPicker/src/interface.mjs +1 -1
- package/esm2022/ui-business/userPicker/src/user-picker.component.mjs +5 -5
- package/esm2022/util/activity/src/activity.service.mjs +15 -4
- package/esm2022/util/block/index.mjs +1 -1
- package/esm2022/util/block/src/block.mjs +7 -7
- package/esm2022/util/directives/index.mjs +1 -1
- package/esm2022/util/directives/src/detail-page-customization/detail-page-customization.directive.mjs +4 -4
- package/esm2022/util/directives/src/detail-page-customization/index.mjs +1 -1
- package/esm2022/util/directives/src/detail-page-customization/models.mjs +1 -1
- 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/index.mjs +1 -1
- package/esm2022/util/lib/src/interfaces.mjs +1 -1
- package/esm2022/util/lib/src/module-router.mjs +4 -4
- package/esm2022/util/lib/src/types.mjs +1 -1
- package/esm2022/util/lib/src/validators/iban.validator.mjs +1 -1
- package/esm2022/util/lib/src/validators/identity.validator.mjs +1 -1
- package/esm2022/util/lib/src/validators/index.mjs +1 -1
- package/esm2022/util/lib/src/validators/max-array-length.validator.mjs +1 -1
- package/esm2022/util/lib/src/validators/min-array-length.validator.mjs +1 -1
- package/esm2022/util/lib/src/validators/tckn.validator.mjs +1 -1
- package/esm2022/util/lib/src/validators/validators.mjs +1 -1
- package/esm2022/util/pipes/index.mjs +1 -1
- 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/primitive-extensions/index.mjs +1 -1
- package/esm2022/util/primitive-extensions/src/boolean.extensions.mjs +1 -1
- package/esm2022/util/primitive-extensions/src/date.extensions.mjs +1 -1
- package/esm2022/util/primitive-extensions/src/number.extensions.mjs +1 -1
- package/esm2022/util/primitive-extensions/src/string.extensions.mjs +1 -1
- package/esm2022/util/pub-sub/index.mjs +1 -1
- package/esm2022/util/pub-sub/src/pub-sub.service.mjs +4 -4
- package/esm2022/util/sync-active-tab-route/index.mjs +1 -1
- package/esm2022/util/sync-active-tab-route/src/sync-active-tab-route.directive.mjs +4 -4
- package/esm2022/util/unwrap/index.mjs +1 -1
- package/esm2022/util/unwrap/src/unwrap-tag.directive.mjs +4 -4
- package/fesm2022/{aril-app.component-YBy2gyza.mjs → aril-app.component-Cimdqjv1.mjs} +4 -4
- package/fesm2022/aril-app.component-Cimdqjv1.mjs.map +1 -0
- package/fesm2022/aril-boot-base.mjs +4 -4
- 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 +8 -4
- package/fesm2022/aril-boot-host.mjs.map +1 -1
- package/fesm2022/{aril-boot-mfe-app.component-GbZAGlTf.mjs → aril-boot-mfe-app.component-CCGhRwfE.mjs} +5 -5
- package/fesm2022/aril-boot-mfe-app.component-CCGhRwfE.mjs.map +1 -0
- package/fesm2022/{aril-boot-mfe-aril-boot-mfe-I5xT2fQx.mjs → aril-boot-mfe-aril-boot-mfe-BPwfk0s2.mjs} +4 -4
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-BPwfk0s2.mjs.map +1 -0
- package/fesm2022/aril-boot-mfe.mjs +1 -1
- package/fesm2022/aril-boot-pages.mjs +6 -6
- package/fesm2022/aril-boot-pages.mjs.map +1 -1
- package/fesm2022/aril-boot.mjs.map +1 -1
- package/fesm2022/aril-http.mjs +69 -6
- 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-permission.mjs +7 -7
- package/fesm2022/aril-permission.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 +1123 -283
- package/fesm2022/aril-theme-layout.mjs.map +1 -1
- package/fesm2022/aril-theme.mjs.map +1 -1
- package/fesm2022/aril-ui-autoComplete.mjs +7 -7
- package/fesm2022/aril-ui-autoComplete.mjs.map +1 -1
- package/fesm2022/aril-ui-badge.mjs +5 -5
- package/fesm2022/aril-ui-badge.mjs.map +1 -1
- package/fesm2022/aril-ui-business-assetPicker.mjs +5 -5
- package/fesm2022/aril-ui-business-assetPicker.mjs.map +1 -1
- package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs +12 -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 +30 -30
- package/fesm2022/aril-ui-business-image-viewer.mjs.map +1 -1
- package/fesm2022/aril-ui-business-multiAssetPicker.mjs +4 -4
- package/fesm2022/aril-ui-business-multiAssetPicker.mjs.map +1 -1
- package/fesm2022/aril-ui-business-multiple-ref-value.mjs +5 -5
- package/fesm2022/aril-ui-business-multiple-ref-value.mjs.map +1 -1
- package/fesm2022/aril-ui-business-notification-templates-dialog.mjs +4 -4
- package/fesm2022/aril-ui-business-notification-templates-dialog.mjs.map +1 -1
- package/fesm2022/aril-ui-business-pdf-preview-modal.mjs +3 -3
- 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 +5 -5
- 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 +4 -4
- package/fesm2022/aril-ui-business-trace-id.mjs.map +1 -1
- package/fesm2022/aril-ui-business-userPicker.mjs +4 -4
- package/fesm2022/aril-ui-business-userPicker.mjs.map +1 -1
- package/fesm2022/aril-ui-business.mjs.map +1 -1
- package/fesm2022/aril-ui-button.mjs +9 -9
- package/fesm2022/aril-ui-button.mjs.map +1 -1
- package/fesm2022/aril-ui-calendar.mjs +4 -4
- package/fesm2022/aril-ui-calendar.mjs.map +1 -1
- package/fesm2022/aril-ui-charts.mjs +139 -139
- package/fesm2022/aril-ui-charts.mjs.map +1 -1
- package/fesm2022/aril-ui-checkbox.mjs +8 -8
- package/fesm2022/aril-ui-checkbox.mjs.map +1 -1
- package/fesm2022/aril-ui-chip.mjs +5 -5
- package/fesm2022/aril-ui-chip.mjs.map +1 -1
- package/fesm2022/aril-ui-collapse-reorder-list.mjs +5 -5
- package/fesm2022/aril-ui-collapse-reorder-list.mjs.map +1 -1
- package/fesm2022/aril-ui-dxEditor.mjs +5 -5
- package/fesm2022/aril-ui-dxEditor.mjs.map +1 -1
- package/fesm2022/aril-ui-dxField.mjs +5 -5
- package/fesm2022/aril-ui-dxField.mjs.map +1 -1
- package/fesm2022/aril-ui-editor.mjs +5 -5
- package/fesm2022/aril-ui-editor.mjs.map +1 -1
- package/fesm2022/aril-ui-field.mjs +5 -5
- package/fesm2022/aril-ui-field.mjs.map +1 -1
- package/fesm2022/aril-ui-fileUpload.mjs +5 -5
- package/fesm2022/aril-ui-fileUpload.mjs.map +1 -1
- package/fesm2022/aril-ui-form.mjs +11 -11
- package/fesm2022/aril-ui-form.mjs.map +1 -1
- package/fesm2022/aril-ui-img-viewer.mjs +4 -4
- package/fesm2022/aril-ui-img-viewer.mjs.map +1 -1
- package/fesm2022/aril-ui-json-diff-comparison.mjs +5 -5
- package/fesm2022/aril-ui-json-diff-comparison.mjs.map +1 -1
- package/fesm2022/aril-ui-lib.mjs +38 -38
- package/fesm2022/aril-ui-lib.mjs.map +1 -1
- package/fesm2022/aril-ui-loader.mjs +4 -4
- package/fesm2022/aril-ui-loader.mjs.map +1 -1
- package/fesm2022/aril-ui-mask.mjs +4 -4
- package/fesm2022/aril-ui-mask.mjs.map +1 -1
- package/fesm2022/aril-ui-multiSelect.mjs +4 -4
- package/fesm2022/aril-ui-multiSelect.mjs.map +1 -1
- package/fesm2022/aril-ui-number.mjs +4 -4
- 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 +5 -5
- package/fesm2022/aril-ui-overlayPanel.mjs.map +1 -1
- package/fesm2022/aril-ui-panel.mjs +5 -5
- package/fesm2022/aril-ui-panel.mjs.map +1 -1
- package/fesm2022/aril-ui-password.mjs +4 -4
- package/fesm2022/aril-ui-password.mjs.map +1 -1
- package/fesm2022/aril-ui-pdf-viewer.mjs +4 -4
- package/fesm2022/aril-ui-pdf-viewer.mjs.map +1 -1
- package/fesm2022/aril-ui-progressbar.mjs +4 -4
- package/fesm2022/aril-ui-progressbar.mjs.map +1 -1
- package/fesm2022/aril-ui-radioButton.mjs +4 -4
- package/fesm2022/aril-ui-radioButton.mjs.map +1 -1
- package/fesm2022/aril-ui-relativeDateSelector.mjs +5 -5
- package/fesm2022/aril-ui-relativeDateSelector.mjs.map +1 -1
- package/fesm2022/aril-ui-selectBox.mjs +6 -6
- package/fesm2022/aril-ui-selectBox.mjs.map +1 -1
- package/fesm2022/aril-ui-switch.mjs +4 -4
- 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 +140 -140
- package/fesm2022/aril-ui-table.mjs.map +1 -1
- package/fesm2022/aril-ui-tag.mjs +4 -4
- package/fesm2022/aril-ui-tag.mjs.map +1 -1
- package/fesm2022/aril-ui-tagBox.mjs +6 -6
- package/fesm2022/aril-ui-tagBox.mjs.map +1 -1
- package/fesm2022/aril-ui-text.mjs +4 -4
- package/fesm2022/aril-ui-text.mjs.map +1 -1
- package/fesm2022/aril-ui-textArea.mjs +4 -4
- package/fesm2022/aril-ui-textArea.mjs.map +1 -1
- package/fesm2022/aril-ui-toggle-button.mjs +5 -5
- package/fesm2022/aril-ui-toggle-button.mjs.map +1 -1
- package/fesm2022/aril-ui-tooltip.mjs +4 -4
- package/fesm2022/aril-ui-tooltip.mjs.map +1 -1
- package/fesm2022/aril-ui-translate-input.mjs +30 -30
- package/fesm2022/aril-ui-translate-input.mjs.map +1 -1
- package/fesm2022/aril-ui-tree.mjs +5 -5
- package/fesm2022/aril-ui-tree.mjs.map +1 -1
- package/fesm2022/aril-ui-treeSelect.mjs +5 -5
- package/fesm2022/aril-ui-treeSelect.mjs.map +1 -1
- package/fesm2022/aril-ui-treeTable.mjs +5 -5
- package/fesm2022/aril-ui-treeTable.mjs.map +1 -1
- package/fesm2022/aril-ui-value.mjs +6 -6
- package/fesm2022/aril-ui-value.mjs.map +1 -1
- package/fesm2022/aril-ui.mjs.map +1 -1
- package/fesm2022/aril-util-activity.mjs +14 -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-util.mjs.map +1 -1
- package/fesm2022/aril.mjs +10 -6
- package/fesm2022/aril.mjs.map +1 -1
- package/http/index.d.ts +1 -0
- package/http/src/pathParam.d.ts +6 -0
- package/package.json +180 -180
- package/scripts/util/blockui.min.js +6 -6
- package/styles/ui/ui.common.scss +42 -42
- package/styles/util/blockui.css +56 -56
- package/theme/layout/app/breadcrumb/app.breadcrumb.component.d.ts +1 -0
- package/theme/layout/app/breadcrumb/app.breadcrumb.component.html +8 -8
- package/theme/layout/app/config/app.config.component.html +146 -146
- package/theme/layout/app/environment-banner/environment-banner.component.html +10 -10
- package/theme/layout/app/environment-banner/environment-banner.component.scss +103 -103
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.d.ts +17 -0
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.html +110 -110
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.scss +181 -181
- package/theme/layout/app/favorite-pages/favorite-pages.service.d.ts +2 -1
- package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.html +27 -27
- package/theme/layout/app/general-search/general-search.component.d.ts +17 -3
- package/theme/layout/app/general-search/general-search.component.html +61 -57
- package/theme/layout/app/general-search/general-search.component.scss +95 -27
- package/theme/layout/app/history/history-sidebar.component.d.ts +17 -0
- package/theme/layout/app/history/history-sidebar.component.html +87 -87
- package/theme/layout/app/history/history-sidebar.component.scss +182 -182
- package/theme/layout/app/layout/app.layout.component.html +27 -27
- package/theme/layout/app/notifications/notifications-sidebar.component.d.ts +17 -0
- package/theme/layout/app/notifications/notifications-sidebar.component.html +102 -102
- package/theme/layout/app/notifications/notifications-sidebar.component.scss +351 -351
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.html +60 -60
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.scss +344 -344
- package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.html +48 -48
- package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.scss +27 -27
- package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.html +71 -71
- package/theme/layout/app/site-map/site-map-sidebar.component.d.ts +17 -0
- package/theme/layout/app/site-map/site-map-sidebar.component.html +121 -121
- package/theme/layout/app/site-map/site-map-sidebar.component.scss +178 -178
- package/theme/layout/app/static-sidebar/static-sidebar.component.scss +420 -420
- package/theme/layout/app/topbar/app.topbar.component.d.ts +9 -0
- package/theme/layout/app/topbar/app.topbar.component.html +104 -88
- package/theme/layout/app/topbar/app.topbar.component.scss +230 -225
- package/theme/layout/index.d.ts +4 -0
- package/theme/layout/ng-package.json +6 -6
- package/theme/layout/service/app.layout.service.d.ts +1 -0
- package/theme/layout/service/interfaces/interfaces.d.ts +119 -0
- package/theme/layout/service/recent-search.service.d.ts +23 -0
- package/theme/layout/service/record-summary.service.d.ts +50 -0
- package/theme/layout/service/screen-visit.service.d.ts +47 -0
- package/theme/ng-package.json +6 -6
- package/theme/styles/layout/_animation.scss +53 -53
- package/theme/styles/layout/_breadcrumb.scss +31 -31
- package/theme/styles/layout/_config.scss +42 -42
- package/theme/styles/layout/_content.scss +61 -61
- package/theme/styles/layout/_expanded_sidebar.scss +511 -511
- package/theme/styles/layout/_layout_dark.scss +5 -5
- package/theme/styles/layout/_layout_dim.scss +5 -5
- package/theme/styles/layout/_layout_light.scss +5 -5
- package/theme/styles/layout/_main.scss +35 -35
- package/theme/styles/layout/_profile.scss +10 -10
- package/theme/styles/layout/_responsive.scss +153 -153
- package/theme/styles/layout/_sidebar_drawer.scss +234 -234
- package/theme/styles/layout/_sidebar_horizontal.scss +163 -163
- package/theme/styles/layout/_sidebar_reveal.scss +201 -201
- package/theme/styles/layout/_sidebar_slim.scss +144 -144
- package/theme/styles/layout/_sidebar_slim_plus.scss +168 -168
- package/theme/styles/layout/_sidebar_vertical.scss +156 -156
- package/theme/styles/layout/_topbar.scss +140 -140
- package/theme/styles/layout/_typography.scss +68 -68
- package/theme/styles/layout/_utils.scss +24 -24
- package/theme/styles/layout/layout.scss +25 -25
- package/theme/styles/layout/menutheme/_colorscheme.scss +11 -11
- package/theme/styles/layout/menutheme/_menutheme.scss +3 -3
- package/theme/styles/layout/menutheme/_primarycolor.scss +16 -16
- package/theme/styles/layout/menutheme/_transparent.scss +26 -26
- package/theme/styles/layout/preloading.scss +84 -84
- package/theme/styles/theme/base/_colors.scss +17 -17
- package/theme/styles/theme/base/_common.scss +89 -89
- package/theme/styles/theme/base/_components.scss +108 -108
- package/theme/styles/theme/base/_mixins.scss +337 -337
- package/theme/styles/theme/base/components/button/_button.scss +576 -576
- package/theme/styles/theme/base/components/button/_speeddial.scss +96 -96
- package/theme/styles/theme/base/components/button/_splitbutton.scss +348 -348
- package/theme/styles/theme/base/components/data/_carousel.scss +37 -37
- package/theme/styles/theme/base/components/data/_datatable.scss +338 -338
- package/theme/styles/theme/base/components/data/_dataview.scss +46 -46
- package/theme/styles/theme/base/components/data/_filter.scss +137 -137
- package/theme/styles/theme/base/components/data/_orderlist.scss +114 -114
- package/theme/styles/theme/base/components/data/_organizationchart.scss +50 -50
- package/theme/styles/theme/base/components/data/_paginator.scss +92 -92
- package/theme/styles/theme/base/components/data/_picklist.scss +114 -114
- package/theme/styles/theme/base/components/data/_table.scss +16 -16
- package/theme/styles/theme/base/components/data/_timeline.scss +35 -35
- package/theme/styles/theme/base/components/data/_tree.scss +150 -150
- package/theme/styles/theme/base/components/data/_treetable.scss +255 -255
- package/theme/styles/theme/base/components/data/_virtualscroller.scss +28 -28
- package/theme/styles/theme/base/components/file/_fileupload.scss +64 -64
- package/theme/styles/theme/base/components/input/_autocomplete.scss +141 -141
- package/theme/styles/theme/base/components/input/_calendar.scss +267 -267
- package/theme/styles/theme/base/components/input/_cascadeselect.scss +135 -135
- package/theme/styles/theme/base/components/input/_checkbox.scss +99 -99
- package/theme/styles/theme/base/components/input/_chips.scss +67 -67
- package/theme/styles/theme/base/components/input/_colorpicker.scss +19 -19
- package/theme/styles/theme/base/components/input/_dropdown.scss +151 -151
- package/theme/styles/theme/base/components/input/_editor.scss +122 -122
- package/theme/styles/theme/base/components/input/_inputgroup.scss +75 -75
- package/theme/styles/theme/base/components/input/_inputmask.scss +16 -16
- package/theme/styles/theme/base/components/input/_inputnumber.scss +28 -28
- package/theme/styles/theme/base/components/input/_inputswitch.scss +60 -60
- package/theme/styles/theme/base/components/input/_listbox.scss +97 -97
- package/theme/styles/theme/base/components/input/_multiselect.scss +177 -177
- package/theme/styles/theme/base/components/input/_password.scss +52 -52
- package/theme/styles/theme/base/components/input/_radiobutton.scss +78 -78
- package/theme/styles/theme/base/components/input/_rating.scss +60 -60
- package/theme/styles/theme/base/components/input/_selectbutton.scss +50 -50
- package/theme/styles/theme/base/components/input/_slider.scss +75 -75
- package/theme/styles/theme/base/components/input/_togglebutton.scss +48 -48
- package/theme/styles/theme/base/components/input/_treeselect.scss +139 -139
- package/theme/styles/theme/base/components/menu/_breadcrumb.scss +43 -43
- package/theme/styles/theme/base/components/menu/_contextmenu.scss +39 -39
- package/theme/styles/theme/base/components/menu/_dock.scss +95 -95
- package/theme/styles/theme/base/components/menu/_megamenu.scss +55 -55
- package/theme/styles/theme/base/components/menu/_menu.scss +37 -37
- package/theme/styles/theme/base/components/menu/_menubar.scss +140 -140
- package/theme/styles/theme/base/components/menu/_panelmenu.scss +153 -153
- package/theme/styles/theme/base/components/menu/_slidemenu.scss +59 -59
- package/theme/styles/theme/base/components/menu/_steps.scss +56 -56
- package/theme/styles/theme/base/components/menu/_tabmenu.scss +73 -73
- package/theme/styles/theme/base/components/menu/_tieredmenu.scss +43 -43
- package/theme/styles/theme/base/components/messages/_inlinemessage.scss +69 -69
- package/theme/styles/theme/base/components/messages/_message.scss +107 -107
- package/theme/styles/theme/base/components/messages/_toast.scss +99 -99
- package/theme/styles/theme/base/components/misc/_avatar.scss +30 -30
- package/theme/styles/theme/base/components/misc/_badge.scss +48 -48
- package/theme/styles/theme/base/components/misc/_chip.scss +42 -42
- package/theme/styles/theme/base/components/misc/_inplace.scss +16 -16
- package/theme/styles/theme/base/components/misc/_progressbar.scss +17 -17
- package/theme/styles/theme/base/components/misc/_scrolltop.scss +25 -25
- package/theme/styles/theme/base/components/misc/_skeleton.scss +8 -8
- package/theme/styles/theme/base/components/misc/_tag.scss +45 -45
- package/theme/styles/theme/base/components/misc/_terminal.scss +12 -12
- package/theme/styles/theme/base/components/multimedia/_galleria.scss +155 -155
- package/theme/styles/theme/base/components/multimedia/_image.scss +49 -49
- package/theme/styles/theme/base/components/overlay/_confirmpopup.scss +70 -70
- package/theme/styles/theme/base/components/overlay/_dialog.scss +69 -69
- package/theme/styles/theme/base/components/overlay/_overlaypanel.scss +62 -62
- package/theme/styles/theme/base/components/overlay/_tooltip.scss +33 -33
- package/theme/styles/theme/base/components/panel/_accordion.scss +119 -119
- package/theme/styles/theme/base/components/panel/_card.scss +30 -30
- package/theme/styles/theme/base/components/panel/_divider.scss +31 -31
- package/theme/styles/theme/base/components/panel/_fieldset.scss +47 -47
- package/theme/styles/theme/base/components/panel/_panel.scss +77 -77
- package/theme/styles/theme/base/components/panel/_scrollpanel.scss +6 -6
- package/theme/styles/theme/base/components/panel/_splitter.scss +19 -19
- package/theme/styles/theme/base/components/panel/_tabview.scss +91 -91
- package/theme/styles/theme/base/components/panel/_toolbar.scss +11 -11
- package/theme/styles/theme/dark/_extensions.scss +134 -134
- package/theme/styles/theme/dark/indigo/theme.scss +14 -14
- package/theme/styles/theme/light/_extensions.scss +116 -116
- package/theme/styles/theme/light/custom/theme.scss +16 -16
- package/theme/styles/theme/light/indigo/theme.scss +14 -14
- 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 +2 -2
- 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/lib/src/tooltip/tooltip-on-overflow.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 +36 -36
- package/ui/table-expand/src/table-column.component.d.ts +6 -6
- package/ui/table-expand/src/table.component.d.ts +21 -21
- package/ui/tag/src/tag.component.d.ts +4 -6
- 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 +4 -6
- 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 +2 -5
- package/ui-business/ref-value/src/ref-value.component.d.ts +5 -5
- package/ui-business/rolePicker/src/role-picker.component.d.ts +7 -7
- 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 +17 -0
- package/fesm2022/aril-app.component-YBy2gyza.mjs.map +0 -1
- package/fesm2022/aril-boot-mfe-app.component-GbZAGlTf.mjs.map +0 -1
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-I5xT2fQx.mjs.map +0 -1
- package/theme/index.ts +0 -1
- package/theme/layout/app/breadcrumb/app.breadcrumb.component.ts +0 -127
- package/theme/layout/app/config/app.config.component.ts +0 -143
- package/theme/layout/app/environment-banner/environment-banner.component.ts +0 -39
- package/theme/layout/app/expandableMenu/expandable-menu.component.ts +0 -387
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.ts +0 -260
- package/theme/layout/app/favorite-pages/favorite-pages.service.ts +0 -95
- package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.ts +0 -165
- package/theme/layout/app/general-search/general-search.component.ts +0 -93
- package/theme/layout/app/general-search/helpers.spec.ts +0 -527
- package/theme/layout/app/general-search/helpers.ts +0 -106
- package/theme/layout/app/general-search/models.ts +0 -142
- package/theme/layout/app/history/history-sidebar.component.ts +0 -143
- package/theme/layout/app/history/history.service.ts +0 -158
- package/theme/layout/app/layout/app.layout.component.ts +0 -171
- package/theme/layout/app/layout/mfe.layout.component.ts +0 -60
- package/theme/layout/app/notifications/notifications-sidebar.component.ts +0 -347
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.ts +0 -203
- package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.ts +0 -178
- package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.ts +0 -251
- package/theme/layout/app/profileSidebar/profile.service.ts +0 -116
- package/theme/layout/app/site-map/site-map-sidebar.component.ts +0 -195
- package/theme/layout/app/static-sidebar/static-sidebar.component.ts +0 -357
- package/theme/layout/app/topbar/app.topbar.component.ts +0 -194
- package/theme/layout/index.ts +0 -9
- package/theme/layout/service/app.layout.service.ts +0 -308
- package/theme/layout/service/app.menu.service.ts +0 -53
- package/theme/layout/service/breadcrumb.service.ts +0 -14
- package/theme/layout/service/interfaces/enum.ts +0 -19
- package/theme/layout/service/interfaces/interfaces.ts +0 -164
- package/theme/layout/service/menu-action-confirm.ts +0 -112
- package/theme/layout/service/menuchangeevent.ts +0 -4
- package/theme/layout/service/notifications.service.ts +0 -31
- package/theme/layout/service/search.service.ts +0 -22
- package/theme/layout/service/selection-group.service.ts +0 -144
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
import { Interfaces } from 'aril/util/lib';
|
|
2
|
-
|
|
3
|
-
import { LanguageCode } from './enum';
|
|
4
|
-
|
|
5
|
-
export type SelectBoxItem =
|
|
6
|
-
| Interfaces.MapStringString
|
|
7
|
-
| Interfaces.MapStringNumber
|
|
8
|
-
| Interfaces.MapNumberString
|
|
9
|
-
| Interfaces.MapNumberNumber;
|
|
10
|
-
|
|
11
|
-
export interface SelectionRequestDTO {
|
|
12
|
-
groupName: string;
|
|
13
|
-
parameters?: Parameters;
|
|
14
|
-
parentSelectionKey?: string | null;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface Parameters {
|
|
18
|
-
additionalProp1: AdditionalProp;
|
|
19
|
-
additionalProp2: AdditionalProp;
|
|
20
|
-
additionalProp3: AdditionalProp;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface AdditionalProp {}
|
|
24
|
-
|
|
25
|
-
export interface SelectionGroupDTO {
|
|
26
|
-
id: number;
|
|
27
|
-
groupName: string;
|
|
28
|
-
groupDescription: string;
|
|
29
|
-
groupComment: string;
|
|
30
|
-
loadStrategy: string;
|
|
31
|
-
dynamicQuery: string;
|
|
32
|
-
parentGroupId: number;
|
|
33
|
-
selectionItems: SelectionItem[];
|
|
34
|
-
/** Sunucudaki tanım her değiştiğinde artar; önbelleğin tazeliği bununla doğrulanır. */
|
|
35
|
-
version: number;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/** `/selection-group/versions` ucunun hafif yanıtı: yalnız Fixed grupların adı ve sürümü. */
|
|
39
|
-
export interface SelectionGroupVersionDTO {
|
|
40
|
-
groupName: string;
|
|
41
|
-
version: number;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export interface SelectionItem {
|
|
45
|
-
id: number;
|
|
46
|
-
groupId: number;
|
|
47
|
-
selectionKey: string;
|
|
48
|
-
selectionDisplay: string;
|
|
49
|
-
showOrder: number;
|
|
50
|
-
parentSelectionKey: string;
|
|
51
|
-
selectionMultiLanguageDisplays?: Record<string, string>;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export interface Language {
|
|
55
|
-
name: string;
|
|
56
|
-
code: LanguageCode;
|
|
57
|
-
flag: string;
|
|
58
|
-
}
|
|
59
|
-
export interface LanguageChangeEvent {
|
|
60
|
-
name: 'languageChanged';
|
|
61
|
-
data: {
|
|
62
|
-
path: string;
|
|
63
|
-
custom: {
|
|
64
|
-
language: LanguageCode;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export interface ClientResponseDTO {
|
|
70
|
-
id: string;
|
|
71
|
-
clientReferenceKey: string;
|
|
72
|
-
name: string;
|
|
73
|
-
description: string;
|
|
74
|
-
secret: string;
|
|
75
|
-
upstreamId: string;
|
|
76
|
-
baseUrl: string;
|
|
77
|
-
vendorInfo?: string;
|
|
78
|
-
vendorPhoneNumber?: string;
|
|
79
|
-
logoUrl: string;
|
|
80
|
-
createDate: string;
|
|
81
|
-
label?: string;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export interface GetAllClientRequestDTO {
|
|
85
|
-
first: number;
|
|
86
|
-
max: number;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export interface GetRoleRequestDTO {
|
|
90
|
-
clientId: string;
|
|
91
|
-
name: string;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export interface AuthorityTreeResponseDTO {
|
|
95
|
-
id: number;
|
|
96
|
-
name: string;
|
|
97
|
-
parentId: number;
|
|
98
|
-
startLevel: string;
|
|
99
|
-
endLevel: string;
|
|
100
|
-
treeLevel: string;
|
|
101
|
-
children: string;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Notifications
|
|
105
|
-
export interface SmsEmailAuditRequestDto {
|
|
106
|
-
startDate: number;
|
|
107
|
-
endDate: number;
|
|
108
|
-
auditType?: string;
|
|
109
|
-
templateCodes?: string[];
|
|
110
|
-
detailNotificationType?: string;
|
|
111
|
-
status?: string;
|
|
112
|
-
refAssetCode?: string;
|
|
113
|
-
refMdId?: number;
|
|
114
|
-
referenceId?: string;
|
|
115
|
-
traceId?: string;
|
|
116
|
-
read?: boolean;
|
|
117
|
-
pager?: Pager;
|
|
118
|
-
username?: string;
|
|
119
|
-
startReadTime?: number;
|
|
120
|
-
endReadTime?: number;
|
|
121
|
-
toList?: string[];
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
export interface SmsEmailAuditResponseDTO {
|
|
125
|
-
id: string;
|
|
126
|
-
timestamp: number;
|
|
127
|
-
username: string;
|
|
128
|
-
type: string;
|
|
129
|
-
sendingDate: number;
|
|
130
|
-
from: string;
|
|
131
|
-
to: string;
|
|
132
|
-
content: string;
|
|
133
|
-
templateCode: string;
|
|
134
|
-
templateTitle: string;
|
|
135
|
-
status: string;
|
|
136
|
-
errorDetail: string;
|
|
137
|
-
refAssetCode: string;
|
|
138
|
-
refMdId: number;
|
|
139
|
-
referenceId: string;
|
|
140
|
-
read: boolean;
|
|
141
|
-
readTime: number;
|
|
142
|
-
traceId: string;
|
|
143
|
-
detailNotificationType: string;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
export interface MarkAllReadNotificationRequestDTO {
|
|
147
|
-
toList: string[];
|
|
148
|
-
endDate: number;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
export interface Pager {
|
|
152
|
-
pageSize: number;
|
|
153
|
-
pageNumber: number;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
export interface Response<T> {
|
|
157
|
-
resultInfo: ResultInfo;
|
|
158
|
-
result: T[];
|
|
159
|
-
searchAfterValues?: object[];
|
|
160
|
-
}
|
|
161
|
-
export interface ResultInfo {
|
|
162
|
-
totalPage: number;
|
|
163
|
-
totalItem: number;
|
|
164
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { ConfirmationService } from 'primeng/api';
|
|
2
|
-
|
|
3
|
-
import { TranslocoService } from '@ngneat/transloco';
|
|
4
|
-
|
|
5
|
-
import { MenuItemAction, MenuItemActionConfirm } from 'aril/boot/config/apps';
|
|
6
|
-
|
|
7
|
-
/** Confirm dialog anchored once in the layout templates (`<p-confirmDialog key="confirmDialog-root" />`). */
|
|
8
|
-
const CONFIRM_DIALOG_KEY = 'confirmDialog-root';
|
|
9
|
-
const HEADER_KEY = 'menuActionConfirmHeader';
|
|
10
|
-
const MESSAGE_KEY = 'menuActionConfirmMessage';
|
|
11
|
-
|
|
12
|
-
/** Used when the host application has not translated the keys above yet. */
|
|
13
|
-
const HEADER_FALLBACK: Record<string, string> = {
|
|
14
|
-
tr: 'İşlem Onayı',
|
|
15
|
-
en: 'Confirm Action'
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
const MESSAGE_FALLBACK: Record<string, string> = {
|
|
19
|
-
tr: '"{{menu}}" süreci başlatılacak. Devam edilsin mi?',
|
|
20
|
-
en: 'The "{{menu}}" process will be started. Do you want to continue?'
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export interface MenuActionConfirmDeps {
|
|
24
|
-
confirmationService: ConfirmationService;
|
|
25
|
-
translocoService: TranslocoService;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* A menu action is a write on the server the moment the item is clicked — a wizard menu item starts
|
|
30
|
-
* a state machine — so confirmation is the default for every method but GET. `confirm: false` opts out.
|
|
31
|
-
*/
|
|
32
|
-
export function isGetAction(action: MenuItemAction): boolean {
|
|
33
|
-
return (action.method ?? '').toUpperCase() === 'GET';
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export function menuActionNeedsConfirm(action?: MenuItemAction): boolean {
|
|
37
|
-
if (!action) {
|
|
38
|
-
return false;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
if (action.confirm === false) {
|
|
42
|
-
return false;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
if (action.confirm) {
|
|
46
|
-
return true;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
return !isGetAction(action);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/** Runs `accept` directly when no confirmation is needed, otherwise asks first. */
|
|
53
|
-
export function confirmMenuAction(
|
|
54
|
-
deps: MenuActionConfirmDeps,
|
|
55
|
-
action: MenuItemAction,
|
|
56
|
-
menuLabel: string,
|
|
57
|
-
accept: () => void
|
|
58
|
-
): void {
|
|
59
|
-
if (!menuActionNeedsConfirm(action)) {
|
|
60
|
-
accept();
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
const options: MenuItemActionConfirm = action.confirm && typeof action.confirm === 'object' ? action.confirm : {};
|
|
65
|
-
|
|
66
|
-
deps.confirmationService.confirm({
|
|
67
|
-
key: CONFIRM_DIALOG_KEY,
|
|
68
|
-
header: buildHeader(deps.translocoService, options),
|
|
69
|
-
message: buildMessage(deps.translocoService, options, menuLabel),
|
|
70
|
-
icon: 'pi pi-info-circle',
|
|
71
|
-
acceptLabel: deps.translocoService.translate('acceptButtonLabel'),
|
|
72
|
-
rejectLabel: deps.translocoService.translate('rejectButtonLabel'),
|
|
73
|
-
acceptButtonStyleClass: 'p-button-success',
|
|
74
|
-
rejectButtonStyleClass: 'p-button-danger',
|
|
75
|
-
accept
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
function buildHeader(translocoService: TranslocoService, options: MenuItemActionConfirm): string {
|
|
80
|
-
const key = options.headerKey ?? HEADER_KEY;
|
|
81
|
-
|
|
82
|
-
return translateOrFallback(translocoService, key, {}, HEADER_FALLBACK);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
function buildMessage(translocoService: TranslocoService, options: MenuItemActionConfirm, menuLabel: string): string {
|
|
86
|
-
if (options.message) {
|
|
87
|
-
return options.message;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
const key = options.messageKey ?? MESSAGE_KEY;
|
|
91
|
-
|
|
92
|
-
return translateOrFallback(translocoService, key, { menu: menuLabel }, MESSAGE_FALLBACK);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
function translateOrFallback(
|
|
96
|
-
translocoService: TranslocoService,
|
|
97
|
-
key: string,
|
|
98
|
-
params: Record<string, string>,
|
|
99
|
-
fallbacks: Record<string, string>
|
|
100
|
-
): string {
|
|
101
|
-
const translated = translocoService.translate(key, params);
|
|
102
|
-
|
|
103
|
-
// Transloco echoes the key back when it is missing from the host application's dictionary.
|
|
104
|
-
if (translated && translated !== key) {
|
|
105
|
-
return translated;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
const lang = translocoService.getActiveLang();
|
|
109
|
-
const fallback = fallbacks[lang] ?? fallbacks['en'];
|
|
110
|
-
|
|
111
|
-
return Object.entries(params).reduce((text, [name, value]) => text.split(`{{${name}}}`).join(value), fallback);
|
|
112
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
import { HTTPMethods, ProxyTypes, RestClient, ServiceCall, ServiceCallStateMap, ServiceResponse } from 'aril/http';
|
|
6
|
-
|
|
7
|
-
import * as Interfaces from './interfaces/interfaces';
|
|
8
|
-
|
|
9
|
-
@Injectable({ providedIn: 'root' })
|
|
10
|
-
export class NotificationsService extends RestClient {
|
|
11
|
-
override states: ServiceCallStateMap<NotificationsService> = {};
|
|
12
|
-
|
|
13
|
-
constructor() {
|
|
14
|
-
super();
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@ServiceCall(HTTPMethods.POST, ProxyTypes.ClientSide, 'audits/search')
|
|
18
|
-
getNotifications(post: Interfaces.SmsEmailAuditRequestDto) {
|
|
19
|
-
return new Observable<ServiceResponse<Interfaces.Response<Interfaces.SmsEmailAuditResponseDTO>>>();
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@ServiceCall(HTTPMethods.PUTBYDYNAMICPATH, ProxyTypes.ClientSide, 'audits/$/read')
|
|
23
|
-
markAsReadNotification(pluginId: string) {
|
|
24
|
-
return new Observable<ServiceResponse<boolean>>();
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@ServiceCall(HTTPMethods.PUTBYPARAMS, ProxyTypes.ClientSide, 'audits/read-all', { success: 'notifications.markedAllAsRead' })
|
|
28
|
-
markAllAsReadNotification(post: Interfaces.MarkAllReadNotificationRequestDTO) {
|
|
29
|
-
return new Observable<ServiceResponse<boolean>>();
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
import { Apps } from 'aril/boot/config/apps';
|
|
6
|
-
import { HTTPMethods, ProxyTypes, RestClient, ServiceCall, ServiceCallStateMap, ServiceResponse } from 'aril/http';
|
|
7
|
-
|
|
8
|
-
import { CacheSearchRequestDTO, DefaultSearchAggregateAssetAggregate } from '../app/general-search/models';
|
|
9
|
-
|
|
10
|
-
@Injectable({ providedIn: 'root' })
|
|
11
|
-
export class SearchService extends RestClient {
|
|
12
|
-
override states: ServiceCallStateMap<SearchService> = {};
|
|
13
|
-
|
|
14
|
-
constructor() {
|
|
15
|
-
super();
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@ServiceCall(HTTPMethods.POST, ProxyTypes.ClientSide, 'master-data/cache-search', {}, Apps.MNG)
|
|
19
|
-
searchForAssets(post: CacheSearchRequestDTO) {
|
|
20
|
-
return new Observable<ServiceResponse<DefaultSearchAggregateAssetAggregate>>();
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Injectable, effect, signal } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
import { take } from 'rxjs';
|
|
5
|
-
|
|
6
|
-
import { API_CONFIGS } from 'aril/boot/config/api';
|
|
7
|
-
|
|
8
|
-
import { SelectionGroupDTO, SelectionGroupVersionDTO, SelectionRequestDTO } from './interfaces/interfaces';
|
|
9
|
-
|
|
10
|
-
const STORAGE_KEY = 'selection-groups';
|
|
11
|
-
|
|
12
|
-
@Injectable({
|
|
13
|
-
providedIn: 'root'
|
|
14
|
-
})
|
|
15
|
-
export class SelectionGroupService {
|
|
16
|
-
selectionGroups = signal<{ [key: string]: SelectionGroupDTO | null }>({});
|
|
17
|
-
|
|
18
|
-
private loading = new Map<string, boolean>();
|
|
19
|
-
private loaded = new Map<string, boolean>();
|
|
20
|
-
|
|
21
|
-
constructor(private http: HttpClient) {
|
|
22
|
-
this.loadStatesFromLocalStorage();
|
|
23
|
-
this.revalidateCachedGroups();
|
|
24
|
-
|
|
25
|
-
effect(() => {
|
|
26
|
-
try {
|
|
27
|
-
const encodedData = btoa(encodeURI(JSON.stringify(this.selectionGroups())));
|
|
28
|
-
localStorage.setItem(STORAGE_KEY, encodedData);
|
|
29
|
-
} catch (e) {
|
|
30
|
-
// Kota dolduysa ya da depolama kapalıysa yalnızca önbellek kaybolur; gruplar sunucudan çekilmeye devam eder.
|
|
31
|
-
console.warn('Selection groups could not be cached', e);
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
private async loadStatesFromLocalStorage() {
|
|
37
|
-
const selectionGroups = localStorage.getItem(STORAGE_KEY);
|
|
38
|
-
|
|
39
|
-
if (selectionGroups) {
|
|
40
|
-
try {
|
|
41
|
-
const decodedData = decodeURI(atob(selectionGroups));
|
|
42
|
-
this.selectionGroups.set(JSON.parse(decodedData));
|
|
43
|
-
} catch (e) {
|
|
44
|
-
console.error(e);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Önbellek kendi başına bayatlar: bir grubun etiketi sunucuda değiştiğinde localStorage'daki
|
|
51
|
-
* kopya güncellenmez ve kullanıcı eski etiketi süresiz görür. Bu yüzden açılışta grup sürümleri
|
|
52
|
-
* okunur ve yalnız değişenler düşürülür; düşen grubu bileşenlerin mevcut "grup yoksa fetchEnum"
|
|
53
|
-
* yolu yeniden çeker.
|
|
54
|
-
*
|
|
55
|
-
* Sürüm listesi alınamazsa önbelleğe DOKUNULMAZ: davranış bu durumda bugünküne eşitlenir,
|
|
56
|
-
* yani tazelik kaybedilir ama hiçbir etiket kaybolmaz.
|
|
57
|
-
*/
|
|
58
|
-
private revalidateCachedGroups() {
|
|
59
|
-
if (!Object.keys(this.selectionGroups()).length) return;
|
|
60
|
-
|
|
61
|
-
this.http
|
|
62
|
-
.get<SelectionGroupVersionDTO[]>(this.hostApi() + '/selection-group/versions')
|
|
63
|
-
.pipe(take(1))
|
|
64
|
-
.subscribe({
|
|
65
|
-
next: (versions) => {
|
|
66
|
-
// Gövdesiz/biçimsiz yanıt "sürüm bilinmiyor" demektir; hata yolundaki gibi önbellek korunur.
|
|
67
|
-
if (!Array.isArray(versions)) return;
|
|
68
|
-
this.dropStaleGroups(versions);
|
|
69
|
-
},
|
|
70
|
-
error: () => {
|
|
71
|
-
console.debug('Selection group versions unavailable; cached groups are kept as is.');
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
private dropStaleGroups(versions: SelectionGroupVersionDTO[]) {
|
|
77
|
-
const serverVersions = new Map(versions.map((version) => [version.groupName, version.version]));
|
|
78
|
-
|
|
79
|
-
this.selectionGroups.update((groups) => {
|
|
80
|
-
const next = { ...groups };
|
|
81
|
-
let dropped = false;
|
|
82
|
-
|
|
83
|
-
for (const key of Object.keys(next)) {
|
|
84
|
-
const group = next[key];
|
|
85
|
-
if (!group) continue;
|
|
86
|
-
|
|
87
|
-
// Yalnız localStorage'dan gelen girdiler doğrulanır. Bu oturumda istenmiş bir grup zaten
|
|
88
|
-
// tazedir ve düşürülmemelidir: tüketiciler kendi "istedim" kaydını tuttuğu için (bkz.
|
|
89
|
-
// TableComponent.requestedEnumKeys) düşen grubu yeniden istemezler ve seçenekleri
|
|
90
|
-
// kalıcı olarak boş kalır. `has`, süren istekleri de kapsar: fetchEnum başlarken false,
|
|
91
|
-
// biterken true yazar.
|
|
92
|
-
if (this.loaded.has(key)) continue;
|
|
93
|
-
|
|
94
|
-
// Anahtar `groupName~parentSelectionKey` biçimindedir: aynı grubun her parent varyantı
|
|
95
|
-
// ayrı bir girdidir ve grup değiştiğinde hepsi birlikte düşmelidir.
|
|
96
|
-
const serverVersion = serverVersions.get(key.split('~')[0]);
|
|
97
|
-
|
|
98
|
-
// Sunucu yalnız Fixed grupların sürümünü döndürür. Sürümü gelmeyen grup ya Dynamic'tir
|
|
99
|
-
// (içeriği sorgudan üretilir, doğrulanamaz) ya da silinmiştir; ikisinde de tutulmaz.
|
|
100
|
-
if (serverVersion !== undefined && serverVersion === group.version) continue;
|
|
101
|
-
|
|
102
|
-
delete next[key];
|
|
103
|
-
dropped = true;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
return dropped ? next : groups;
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
fetchEnum(groupName: string, parentSelectionKey: string = 'ALL') {
|
|
111
|
-
const key = groupName + '~' + parentSelectionKey;
|
|
112
|
-
|
|
113
|
-
if (this.loaded.get(key) || this.loading.get(key)) return;
|
|
114
|
-
|
|
115
|
-
const payload: SelectionRequestDTO = {
|
|
116
|
-
groupName,
|
|
117
|
-
parentSelectionKey
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
this.loading.set(key, true);
|
|
121
|
-
this.loaded.set(key, false);
|
|
122
|
-
|
|
123
|
-
this.http
|
|
124
|
-
.post<SelectionGroupDTO>(this.hostApi() + '/selection-group/load', payload)
|
|
125
|
-
.pipe(take(1))
|
|
126
|
-
.subscribe((selectionGroup) => {
|
|
127
|
-
this.loading.set(key, false);
|
|
128
|
-
this.loaded.set(key, true);
|
|
129
|
-
|
|
130
|
-
this.selectionGroups.update((groups) => ({
|
|
131
|
-
...groups,
|
|
132
|
-
[key]: selectionGroup
|
|
133
|
-
}));
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
private hostApi(): string {
|
|
138
|
-
return API_CONFIGS.api.replace(/\/[^\/]+\/v1$/, `/host/v1`);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
isLoading(groupName: string): boolean {
|
|
142
|
-
return this.loading.get(groupName) ?? false;
|
|
143
|
-
}
|
|
144
|
-
}
|