aril 1.1.64 → 1.1.65
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/src/api.service.d.ts +1 -0
- package/boot/config/api.sample.json +8 -8
- package/esm2022/boot/config/api/index.mjs +1 -1
- package/esm2022/boot/config/api/src/api.service.mjs +15 -3
- 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 +1 -1
- package/esm2022/boot/config/apps/src/auth.guard.mjs +1 -1
- package/esm2022/boot/config/apps/src/interfaces.mjs +1 -1
- package/esm2022/boot/config/apps/src/reuse-strategy.mjs +1 -1
- package/esm2022/boot/config/apps/src/showdowDOMWrapper.mjs +1 -1
- package/esm2022/boot/config/plugins/index.mjs +1 -1
- package/esm2022/boot/config/plugins/src/getNgZone.mjs +1 -1
- package/esm2022/boot/config/plugins/src/interfaces.mjs +1 -1
- package/esm2022/boot/config/plugins/src/plugins.service.mjs +1 -1
- package/esm2022/boot/config/translate/constants.mjs +1 -1
- package/esm2022/boot/config/translate/index.mjs +1 -1
- package/esm2022/boot/config/translate/primeng/i18n/tr.mjs +1 -1
- package/esm2022/boot/host/index.mjs +1 -1
- package/esm2022/boot/host/src/app.component.mjs +1 -1
- package/esm2022/boot/host/src/bootstrap.mjs +4 -2
- package/esm2022/boot/index.mjs +1 -1
- package/esm2022/boot/mfe/index.mjs +1 -1
- package/esm2022/boot/mfe/src/app.component.mjs +13 -13
- package/esm2022/boot/mfe/src/appComponentLoader.mjs +1 -1
- package/esm2022/boot/mfe/src/bootstrap.mjs +1 -1
- package/esm2022/boot/mfe/src/loadStyles.mjs +1 -1
- package/esm2022/boot/mfe/src/monaco.config.mjs +1 -1
- package/esm2022/http/index.mjs +1 -1
- package/esm2022/http/lib/enums.mjs +1 -1
- package/esm2022/http/lib/interfaces.mjs +1 -1
- package/esm2022/http/src/httpBackend.mjs +1 -1
- package/esm2022/http/src/httpClient.mjs +1 -1
- package/esm2022/http/src/interceptor/accept-language.interceptor.mjs +1 -1
- package/esm2022/http/src/serviceBase.mjs +1 -1
- package/esm2022/http/src/serviceMockBase.mjs +1 -1
- package/esm2022/http/src/serviceRequest.mjs +1 -1
- package/esm2022/http/src/serviceStateMethods.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 +1 -1
- package/esm2022/i18n/src/loader.mjs +1 -1
- package/esm2022/i18n/src/provideI18n.mjs +1 -1
- package/esm2022/i18n/src/provideScope.mjs +1 -1
- package/esm2022/keycloak/src/auth.interceptor.mjs +1 -1
- 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/prodiveHostRouter.mjs +1 -1
- package/esm2022/provider/src/provideHostKeycloak.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 +3 -3
- package/esm2022/theme/layout/app/chatbot/app.chatbot.component.mjs +3 -3
- package/esm2022/theme/layout/app/expandableMenu/expandable-menu.component.mjs +3 -3
- package/esm2022/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.mjs +3 -3
- package/esm2022/theme/layout/app/favorite-pages/favorite-pages.service.mjs +1 -1
- package/esm2022/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.mjs +3 -3
- package/esm2022/theme/layout/app/general-search/general-search.component.mjs +3 -3
- 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 +3 -3
- package/esm2022/theme/layout/app/history/history.service.mjs +1 -1
- package/esm2022/theme/layout/app/layout/app.layout.component.mjs +3 -3
- package/esm2022/theme/layout/app/layout/mfe.layout.component.mjs +23 -23
- package/esm2022/theme/layout/app/notifications/notifications-sidebar.component.mjs +3 -3
- package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +3 -3
- package/esm2022/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.mjs +3 -3
- package/esm2022/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.mjs +3 -3
- package/esm2022/theme/layout/app/profileSidebar/profile.service.mjs +1 -1
- package/esm2022/theme/layout/app/site-map/site-map-sidebar.component.mjs +3 -3
- package/esm2022/theme/layout/app/static-sidebar/static-sidebar.component.mjs +3 -3
- package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +3 -3
- package/esm2022/theme/layout/index.mjs +1 -1
- package/esm2022/theme/layout/service/app.layout.service.mjs +1 -1
- package/esm2022/theme/layout/service/app.menu.service.mjs +1 -1
- package/esm2022/theme/layout/service/breadcrumb.service.mjs +1 -1
- package/esm2022/theme/layout/service/interfaces/enum.mjs +1 -1
- package/esm2022/theme/layout/service/interfaces/interfaces.mjs +1 -1
- package/esm2022/theme/layout/service/menuchangeevent.mjs +1 -1
- package/esm2022/theme/layout/service/notifications.service.mjs +1 -1
- package/esm2022/theme/layout/service/search.service.mjs +1 -1
- package/esm2022/theme/layout/service/selection-group.service.mjs +1 -1
- package/esm2022/ui/autoComplete/index.mjs +1 -1
- package/esm2022/ui/autoComplete/src/auto-complete.component.mjs +3 -3
- 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 +3 -3
- package/esm2022/ui/button/index.mjs +1 -1
- package/esm2022/ui/button/src/button.component.mjs +3 -3
- package/esm2022/ui/button/src/split-button.component.mjs +3 -3
- package/esm2022/ui/calendar/index.mjs +1 -1
- package/esm2022/ui/calendar/src/calendar.component.mjs +3 -3
- package/esm2022/ui/charts/index.mjs +1 -1
- package/esm2022/ui/charts/src/amCharts/column/column-chart.component.mjs +1 -1
- package/esm2022/ui/charts/src/amCharts/line/line-chart.component.mjs +1 -1
- package/esm2022/ui/charts/src/amCharts/pie/pie-chart.component.mjs +1 -1
- package/esm2022/ui/charts/src/highCharts/area/area-chart.component.mjs +19 -19
- package/esm2022/ui/charts/src/highCharts/bar/bar-chart.component.mjs +14 -14
- package/esm2022/ui/charts/src/highCharts/column/column-chart.component.mjs +14 -14
- package/esm2022/ui/charts/src/highCharts/gauge/solid-gauge.component.mjs +19 -19
- package/esm2022/ui/charts/src/highCharts/heatmap/heatMap-chart.component.mjs +15 -15
- package/esm2022/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.mjs +15 -15
- package/esm2022/ui/charts/src/highCharts/line/line-chart-series.component.mjs +5 -5
- package/esm2022/ui/charts/src/highCharts/line/line-chart.component.mjs +1 -1
- package/esm2022/ui/charts/src/highCharts/pie/pie-chart.component.mjs +17 -17
- 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 +3 -3
- package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +3 -3
- package/esm2022/ui/chip/src/chip.component.mjs +3 -3
- package/esm2022/ui/collapse-reorder-list/src/collapse-reorder-list.component.mjs +3 -3
- package/esm2022/ui/dxEditor/index.mjs +1 -1
- package/esm2022/ui/dxEditor/src/dx-editor.component.mjs +3 -3
- package/esm2022/ui/dxField/index.mjs +1 -1
- package/esm2022/ui/dxField/src/dx-field.component.mjs +3 -3
- package/esm2022/ui/editor/index.mjs +1 -1
- package/esm2022/ui/editor/src/aril-editor.component.mjs +3 -3
- 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 +3 -3
- package/esm2022/ui/fileUpload/index.mjs +1 -1
- package/esm2022/ui/fileUpload/src/file-upload.component.mjs +3 -3
- package/esm2022/ui/form/index.mjs +1 -1
- package/esm2022/ui/form/src/form-submit-button.component.mjs +3 -3
- package/esm2022/ui/form/src/form.component.mjs +1 -1
- package/esm2022/ui/img-viewer/index.mjs +1 -1
- package/esm2022/ui/img-viewer/src/img-viewer.component.mjs +3 -3
- 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 +3 -3
- package/esm2022/ui/lib/index.mjs +1 -1
- package/esm2022/ui/lib/src/form/form-error-message.component.mjs +9 -9
- package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +1 -1
- 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 +1 -1
- package/esm2022/ui/lib/src/grid/flex-grid.directive.mjs +1 -1
- package/esm2022/ui/lib/src/input/baseInput.mjs +1 -1
- package/esm2022/ui/lib/src/input/common-input-validators.service.mjs +1 -1
- package/esm2022/ui/lib/src/input/dx-input-error-message.pipe.mjs +1 -1
- package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +1 -1
- package/esm2022/ui/lib/src/input/input-error-message.pipe.mjs +1 -1
- package/esm2022/ui/lib/src/input/input-transforms.mjs +1 -1
- package/esm2022/ui/lib/src/input/value-accessor.directive.mjs +1 -1
- package/esm2022/ui/loader/index.mjs +1 -1
- package/esm2022/ui/loader/src/loader.component.mjs +3 -3
- package/esm2022/ui/mask/index.mjs +1 -1
- package/esm2022/ui/mask/src/mask.component.mjs +3 -3
- 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 +3 -3
- package/esm2022/ui/number/index.mjs +1 -1
- package/esm2022/ui/number/src/number.component.mjs +3 -3
- package/esm2022/ui/operation-types-dialog/index.mjs +1 -1
- package/esm2022/ui/operation-types-dialog/src/operation-types-dialog.component.mjs +11 -11
- package/esm2022/ui/overlayPanel/index.mjs +1 -1
- package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +3 -3
- package/esm2022/ui/panel/index.mjs +1 -1
- package/esm2022/ui/panel/src/panel.component.mjs +3 -3
- package/esm2022/ui/password/index.mjs +1 -1
- package/esm2022/ui/password/src/password.component.mjs +3 -3
- package/esm2022/ui/pdf-viewer/index.mjs +1 -1
- package/esm2022/ui/pdf-viewer/src/pdf-viewer.component.mjs +3 -3
- package/esm2022/ui/progressbar/index.mjs +1 -1
- package/esm2022/ui/progressbar/src/progressbar.component.mjs +3 -3
- package/esm2022/ui/radioButton/index.mjs +1 -1
- package/esm2022/ui/radioButton/src/radio-button.component.mjs +3 -3
- package/esm2022/ui/relativeDateSelector/src/enum.mjs +1 -1
- package/esm2022/ui/relativeDateSelector/src/relative-date-selector.component.mjs +3 -3
- 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 +3 -3
- package/esm2022/ui/switch/index.mjs +1 -1
- package/esm2022/ui/switch/src/switch.component.mjs +3 -3
- package/esm2022/ui/table/index.mjs +1 -1
- package/esm2022/ui/table/src/export-overlay-panel.component.mjs +127 -127
- package/esm2022/ui/table/src/interfaces.mjs +1 -1
- package/esm2022/ui/table/src/table-column.component.mjs +1 -1
- package/esm2022/ui/table/src/table.component.mjs +3 -3
- package/esm2022/ui/table-expand/index.mjs +1 -1
- package/esm2022/ui/table-expand/src/table-column.component.mjs +1 -1
- package/esm2022/ui/table-expand/src/table-expand-area.component.mjs +1 -1
- package/esm2022/ui/table-expand/src/table.component.mjs +3 -3
- package/esm2022/ui/tag/src/tag.component.mjs +3 -3
- package/esm2022/ui/tagBox/index.mjs +1 -1
- package/esm2022/ui/tagBox/src/tag-box.component.mjs +3 -3
- package/esm2022/ui/text/index.mjs +1 -1
- package/esm2022/ui/text/src/text.component.mjs +3 -3
- package/esm2022/ui/textArea/index.mjs +1 -1
- package/esm2022/ui/textArea/src/text-area.component.mjs +3 -3
- package/esm2022/ui/toggle-button/src/toggle-button.component.mjs +3 -3
- package/esm2022/ui/tooltip/index.mjs +1 -1
- package/esm2022/ui/tooltip/src/tooltip-component.mjs +3 -3
- package/esm2022/ui/translate-input/index.mjs +1 -1
- package/esm2022/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.mjs +3 -3
- package/esm2022/ui/translate-input/src/aril-lang-modal/constants.mjs +1 -1
- package/esm2022/ui/translate-input/src/aril-translate-input.component.mjs +25 -25
- 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 +3 -3
- package/esm2022/ui/treeSelect/index.mjs +1 -1
- package/esm2022/ui/treeSelect/src/treeSelect.component.mjs +3 -3
- package/esm2022/ui/treeTable/index.mjs +1 -1
- package/esm2022/ui/treeTable/src/tree-table.component.mjs +3 -3
- package/esm2022/ui/value/index.mjs +1 -1
- package/esm2022/ui/value/src/value.component.mjs +3 -3
- package/esm2022/ui-business/assetPicker/src/asset-picker.component.mjs +3 -3
- 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 +3 -3
- package/esm2022/ui-business/detailed-overlay-panel/src/interface.mjs +1 -1
- package/esm2022/ui-business/enumPicker/src/enum-picker.component.mjs +3 -3
- package/esm2022/ui-business/enumPicker/src/interface.mjs +1 -1
- package/esm2022/ui-business/image-viewer/src/aril-image-viewer.component.mjs +29 -29
- package/esm2022/ui-business/index.mjs +1 -1
- package/esm2022/ui-business/multiple-ref-value/index.mjs +1 -1
- package/esm2022/ui-business/multiple-ref-value/src/multiple-ref-value.component.mjs +3 -3
- 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 +3 -3
- package/esm2022/ui-business/operation-types-dialog/index.mjs +1 -1
- package/esm2022/ui-business/operation-types-dialog/src/operation-types-dialog.component.mjs +11 -11
- package/esm2022/ui-business/ref-value/index.mjs +1 -1
- package/esm2022/ui-business/ref-value/src/ref-value.component.mjs +3 -3
- 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 +3 -3
- package/esm2022/ui-business/userPicker/src/interface.mjs +1 -1
- package/esm2022/ui-business/userPicker/src/user-picker.component.mjs +3 -3
- package/esm2022/util/block/index.mjs +1 -1
- package/esm2022/util/block/src/block.mjs +1 -1
- package/esm2022/util/custom_pages/index.mjs +1 -1
- package/esm2022/util/custom_pages/src/notFound.component.mjs +47 -47
- package/esm2022/util/directives/aril-util-directives.mjs +5 -0
- package/esm2022/util/directives/index.mjs +4 -0
- package/esm2022/util/directives/src/detail-page-customization/detail-page-customization.directive.mjs +298 -0
- package/esm2022/util/directives/src/detail-page-customization/index.mjs +3 -0
- package/esm2022/util/directives/src/detail-page-customization/models.mjs +4 -0
- package/esm2022/util/directives/src/dialog-component/plugin-dialog.component.mjs +25 -0
- package/esm2022/util/directives/src/dialog-service/plugin-dialog.service.mjs +16 -0
- package/esm2022/util/init-event/index.mjs +1 -1
- package/esm2022/util/init-event/src/init-event.directive.mjs +1 -1
- 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 +1 -1
- 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/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/loaders/index.mjs +1 -1
- package/esm2022/util/loaders/script/script.loader.service.mjs +1 -1
- package/esm2022/util/loaders/style/style.loader.service.mjs +1 -1
- package/esm2022/util/pipes/index.mjs +1 -1
- package/esm2022/util/pipes/src/distance-to-now.pipe.mjs +1 -1
- package/esm2022/util/pipes/src/get-column-by-field.pipe.mjs +1 -1
- package/esm2022/util/pipes/src/parse.pipe.mjs +1 -1
- package/esm2022/util/pipes/src/round-number.pipe.mjs +1 -1
- package/esm2022/util/pipes/src/safe.pipe.mjs +1 -1
- package/esm2022/util/pipes/src/translate-json/translate-json.pipe.mjs +1 -1
- 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 +1 -1
- 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 +1 -1
- package/esm2022/util/unwrap/index.mjs +1 -1
- package/esm2022/util/unwrap/src/unwrap-tag.directive.mjs +1 -1
- package/fesm2022/{aril-app.component-hxaLgwmC.mjs → aril-app.component-BrM-uBqB.mjs} +13 -13
- package/fesm2022/aril-app.component-BrM-uBqB.mjs.map +1 -0
- package/fesm2022/aril-boot-config-api.mjs +15 -3
- package/fesm2022/aril-boot-config-api.mjs.map +1 -1
- package/fesm2022/aril-boot-config-apps.mjs +1 -1
- package/fesm2022/aril-boot-config-apps.mjs.map +1 -1
- package/fesm2022/aril-boot-config-plugins.mjs +2 -2
- 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 +7 -5
- package/fesm2022/aril-boot-host.mjs.map +1 -1
- package/fesm2022/{aril-boot-mfe-app.component-s1a-tkOD.mjs → aril-boot-mfe-app.component-BWEM0ozE.mjs} +14 -14
- package/fesm2022/aril-boot-mfe-app.component-BWEM0ozE.mjs.map +1 -0
- package/fesm2022/{aril-boot-mfe-aril-boot-mfe-wLTqwDtz.mjs → aril-boot-mfe-aril-boot-mfe-Chnmyg0H.mjs} +7 -7
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-Chnmyg0H.mjs.map +1 -0
- package/fesm2022/aril-boot-mfe.mjs +1 -1
- package/fesm2022/aril-boot.mjs.map +1 -1
- package/fesm2022/aril-http.mjs.map +1 -1
- 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 +52 -52
- package/fesm2022/aril-theme-layout.mjs.map +1 -1
- package/fesm2022/aril-theme.mjs.map +1 -1
- package/fesm2022/aril-ui-autoComplete.mjs +5 -5
- package/fesm2022/aril-ui-autoComplete.mjs.map +1 -1
- package/fesm2022/aril-ui-badge.mjs +3 -3
- package/fesm2022/aril-ui-badge.mjs.map +1 -1
- package/fesm2022/aril-ui-business-assetPicker.mjs +4 -4
- package/fesm2022/aril-ui-business-assetPicker.mjs.map +1 -1
- package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs +4 -4
- package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs.map +1 -1
- package/fesm2022/aril-ui-business-enumPicker.mjs +4 -4
- package/fesm2022/aril-ui-business-enumPicker.mjs.map +1 -1
- package/fesm2022/aril-ui-business-image-viewer.mjs +28 -28
- package/fesm2022/aril-ui-business-image-viewer.mjs.map +1 -1
- package/fesm2022/aril-ui-business-multiple-ref-value.mjs +3 -3
- package/fesm2022/aril-ui-business-multiple-ref-value.mjs.map +1 -1
- package/fesm2022/aril-ui-business-notification-templates-dialog.mjs +2 -2
- package/fesm2022/aril-ui-business-notification-templates-dialog.mjs.map +1 -1
- package/fesm2022/aril-ui-business-operation-types-dialog.mjs +10 -10
- package/fesm2022/aril-ui-business-operation-types-dialog.mjs.map +1 -1
- package/fesm2022/aril-ui-business-ref-value.mjs +3 -3
- package/fesm2022/aril-ui-business-ref-value.mjs.map +1 -1
- package/fesm2022/aril-ui-business-rolePicker.mjs +3 -3
- package/fesm2022/aril-ui-business-rolePicker.mjs.map +1 -1
- package/fesm2022/aril-ui-business-userPicker.mjs +2 -2
- 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 +5 -5
- package/fesm2022/aril-ui-button.mjs.map +1 -1
- package/fesm2022/aril-ui-calendar.mjs +2 -2
- package/fesm2022/aril-ui-calendar.mjs.map +1 -1
- package/fesm2022/aril-ui-charts.mjs +111 -111
- package/fesm2022/aril-ui-charts.mjs.map +1 -1
- package/fesm2022/aril-ui-checkbox.mjs +4 -4
- package/fesm2022/aril-ui-checkbox.mjs.map +1 -1
- package/fesm2022/aril-ui-chip.mjs +3 -3
- package/fesm2022/aril-ui-chip.mjs.map +1 -1
- package/fesm2022/aril-ui-collapse-reorder-list.mjs +3 -3
- package/fesm2022/aril-ui-collapse-reorder-list.mjs.map +1 -1
- package/fesm2022/aril-ui-dxEditor.mjs +3 -3
- package/fesm2022/aril-ui-dxEditor.mjs.map +1 -1
- package/fesm2022/aril-ui-dxField.mjs +3 -3
- package/fesm2022/aril-ui-dxField.mjs.map +1 -1
- package/fesm2022/aril-ui-editor.mjs +3 -3
- package/fesm2022/aril-ui-editor.mjs.map +1 -1
- package/fesm2022/aril-ui-field.mjs +3 -3
- package/fesm2022/aril-ui-field.mjs.map +1 -1
- package/fesm2022/aril-ui-fileUpload.mjs +3 -3
- package/fesm2022/aril-ui-fileUpload.mjs.map +1 -1
- package/fesm2022/aril-ui-form.mjs +3 -3
- package/fesm2022/aril-ui-form.mjs.map +1 -1
- package/fesm2022/aril-ui-img-viewer.mjs +2 -2
- package/fesm2022/aril-ui-img-viewer.mjs.map +1 -1
- package/fesm2022/aril-ui-json-diff-comparison.mjs +3 -3
- package/fesm2022/aril-ui-json-diff-comparison.mjs.map +1 -1
- package/fesm2022/aril-ui-lib.mjs +9 -9
- package/fesm2022/aril-ui-lib.mjs.map +1 -1
- package/fesm2022/aril-ui-loader.mjs +2 -2
- package/fesm2022/aril-ui-loader.mjs.map +1 -1
- package/fesm2022/aril-ui-mask.mjs +2 -2
- package/fesm2022/aril-ui-mask.mjs.map +1 -1
- package/fesm2022/aril-ui-multiSelect.mjs +2 -2
- package/fesm2022/aril-ui-multiSelect.mjs.map +1 -1
- package/fesm2022/aril-ui-number.mjs +2 -2
- package/fesm2022/aril-ui-number.mjs.map +1 -1
- package/fesm2022/aril-ui-operation-types-dialog.mjs +10 -10
- package/fesm2022/aril-ui-operation-types-dialog.mjs.map +1 -1
- package/fesm2022/aril-ui-overlayPanel.mjs +3 -3
- package/fesm2022/aril-ui-overlayPanel.mjs.map +1 -1
- package/fesm2022/aril-ui-panel.mjs +3 -3
- package/fesm2022/aril-ui-panel.mjs.map +1 -1
- package/fesm2022/aril-ui-password.mjs +2 -2
- package/fesm2022/aril-ui-password.mjs.map +1 -1
- package/fesm2022/aril-ui-pdf-viewer.mjs +2 -2
- package/fesm2022/aril-ui-pdf-viewer.mjs.map +1 -1
- package/fesm2022/aril-ui-progressbar.mjs +2 -2
- package/fesm2022/aril-ui-progressbar.mjs.map +1 -1
- package/fesm2022/aril-ui-radioButton.mjs +2 -2
- package/fesm2022/aril-ui-radioButton.mjs.map +1 -1
- package/fesm2022/aril-ui-relativeDateSelector.mjs +3 -3
- package/fesm2022/aril-ui-relativeDateSelector.mjs.map +1 -1
- package/fesm2022/aril-ui-selectBox.mjs +4 -4
- package/fesm2022/aril-ui-selectBox.mjs.map +1 -1
- package/fesm2022/aril-ui-switch.mjs +2 -2
- package/fesm2022/aril-ui-switch.mjs.map +1 -1
- package/fesm2022/aril-ui-table-expand.mjs +3 -3
- package/fesm2022/aril-ui-table-expand.mjs.map +1 -1
- package/fesm2022/aril-ui-table.mjs +130 -130
- package/fesm2022/aril-ui-table.mjs.map +1 -1
- package/fesm2022/aril-ui-tag.mjs +2 -2
- package/fesm2022/aril-ui-tag.mjs.map +1 -1
- package/fesm2022/aril-ui-tagBox.mjs +4 -4
- package/fesm2022/aril-ui-tagBox.mjs.map +1 -1
- package/fesm2022/aril-ui-text.mjs +2 -2
- package/fesm2022/aril-ui-text.mjs.map +1 -1
- package/fesm2022/aril-ui-textArea.mjs +2 -2
- package/fesm2022/aril-ui-textArea.mjs.map +1 -1
- package/fesm2022/aril-ui-toggle-button.mjs +3 -3
- package/fesm2022/aril-ui-toggle-button.mjs.map +1 -1
- package/fesm2022/aril-ui-tooltip.mjs +2 -2
- package/fesm2022/aril-ui-tooltip.mjs.map +1 -1
- package/fesm2022/aril-ui-translate-input.mjs +26 -26
- package/fesm2022/aril-ui-translate-input.mjs.map +1 -1
- package/fesm2022/aril-ui-tree.mjs +3 -3
- package/fesm2022/aril-ui-tree.mjs.map +1 -1
- package/fesm2022/aril-ui-treeSelect.mjs +3 -3
- package/fesm2022/aril-ui-treeSelect.mjs.map +1 -1
- package/fesm2022/aril-ui-treeTable.mjs +3 -3
- package/fesm2022/aril-ui-treeTable.mjs.map +1 -1
- package/fesm2022/aril-ui-value.mjs +4 -4
- package/fesm2022/aril-ui-value.mjs.map +1 -1
- package/fesm2022/aril-ui.mjs.map +1 -1
- package/fesm2022/aril-util-block.mjs.map +1 -1
- package/fesm2022/aril-util-custom_pages.mjs +46 -46
- package/fesm2022/aril-util-custom_pages.mjs.map +1 -1
- package/fesm2022/aril-util-directives.mjs +343 -0
- package/fesm2022/aril-util-directives.mjs.map +1 -0
- package/fesm2022/aril-util-init-event.mjs +1 -1
- package/fesm2022/aril-util-init-event.mjs.map +1 -1
- package/fesm2022/aril-util-lib.mjs.map +1 -1
- package/fesm2022/aril-util-loaders.mjs +1 -1
- package/fesm2022/aril-util-loaders.mjs.map +1 -1
- package/fesm2022/aril-util-pipes.mjs +1 -1
- 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.map +1 -1
- package/fesm2022/aril-util-sync-active-tab-route.mjs +1 -1
- package/fesm2022/aril-util-sync-active-tab-route.mjs.map +1 -1
- package/fesm2022/aril-util-unwrap.mjs.map +1 -1
- package/fesm2022/aril.mjs +9 -7
- package/fesm2022/aril.mjs.map +1 -1
- package/package.json +135 -129
- 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/index.ts +1 -1
- package/theme/layout/app/breadcrumb/app.breadcrumb.component.html +8 -8
- package/theme/layout/app/breadcrumb/app.breadcrumb.component.ts +126 -126
- package/theme/layout/app/chatbot/app.chatbot.component.html +108 -108
- package/theme/layout/app/chatbot/app.chatbot.component.scss +34 -34
- package/theme/layout/app/chatbot/app.chatbot.component.ts +151 -151
- package/theme/layout/app/config/app.config.component.html +146 -146
- package/theme/layout/app/config/app.config.component.ts +143 -143
- package/theme/layout/app/expandableMenu/expandable-menu.component.html +89 -89
- package/theme/layout/app/expandableMenu/expandable-menu.component.ts +295 -295
- 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-sidebar.component.ts +260 -260
- package/theme/layout/app/favorite-pages/favorite-pages.service.ts +95 -95
- package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.html +27 -27
- package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.ts +165 -165
- package/theme/layout/app/general-search/general-search.component.html +57 -57
- package/theme/layout/app/general-search/general-search.component.scss +27 -27
- package/theme/layout/app/general-search/general-search.component.ts +93 -93
- package/theme/layout/app/general-search/helpers.spec.ts +527 -527
- package/theme/layout/app/general-search/helpers.ts +106 -106
- package/theme/layout/app/general-search/models.ts +142 -142
- 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/history/history-sidebar.component.ts +143 -143
- package/theme/layout/app/history/history.service.ts +154 -154
- package/theme/layout/app/layout/app.layout.component.html +27 -27
- package/theme/layout/app/layout/app.layout.component.ts +171 -171
- package/theme/layout/app/layout/mfe.layout.component.ts +59 -59
- package/theme/layout/app/menu/app.menu.component.html +14 -14
- package/theme/layout/app/menu/app.menu.component.ts +350 -350
- package/theme/layout/app/notifications/notifications-sidebar.component.html +104 -104
- package/theme/layout/app/notifications/notifications-sidebar.component.scss +237 -237
- package/theme/layout/app/notifications/notifications-sidebar.component.ts +221 -221
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.html +122 -122
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.scss +151 -151
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.ts +141 -141
- 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/change-password-modal/change-password-modal.component.ts +178 -178
- package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.html +71 -71
- package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.ts +251 -251
- package/theme/layout/app/profileSidebar/profile.service.ts +116 -116
- package/theme/layout/app/sidebar/app.sidebar.component.html +24 -24
- package/theme/layout/app/sidebar/app.sidebar.component.ts +44 -44
- 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/site-map/site-map-sidebar.component.ts +193 -193
- package/theme/layout/app/static-sidebar/static-sidebar.component.html +123 -123
- package/theme/layout/app/static-sidebar/static-sidebar.component.scss +408 -408
- package/theme/layout/app/static-sidebar/static-sidebar.component.ts +276 -276
- package/theme/layout/app/topbar/app.topbar.component.html +85 -85
- package/theme/layout/app/topbar/app.topbar.component.scss +193 -193
- package/theme/layout/app/topbar/app.topbar.component.ts +172 -172
- package/theme/layout/index.ts +7 -7
- package/theme/layout/ng-package.json +6 -6
- package/theme/layout/service/app.layout.service.ts +307 -307
- package/theme/layout/service/app.menu.service.ts +53 -53
- package/theme/layout/service/breadcrumb.service.ts +14 -14
- package/theme/layout/service/interfaces/enum.ts +13 -13
- package/theme/layout/service/interfaces/interfaces.ts +150 -150
- package/theme/layout/service/menuchangeevent.ts +4 -4
- package/theme/layout/service/notifications.service.ts +26 -26
- package/theme/layout/service/search.service.ts +22 -22
- package/theme/layout/service/selection-group.service.ts +73 -73
- 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 +486 -486
- package/theme/styles/layout/_fonts.scss +93 -93
- 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 +28 -28
- 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/_inputtext.scss +100 -100
- 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/_sidebar.scss +28 -28
- 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/_stepper.scss +200 -200
- 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/_variables.scss +933 -933
- package/theme/styles/theme/dark/blue/theme.scss +14 -14
- package/theme/styles/theme/dark/indigo/theme.scss +14 -14
- package/theme/styles/theme/dark/lena/theme.scss +14 -14
- package/theme/styles/theme/dark/orange/theme.scss +14 -14
- package/theme/styles/theme/dark/thor/theme.scss +14 -14
- package/theme/styles/theme/dark/yeap/theme.scss +14 -14
- package/theme/styles/theme/light/_extensions.scss +116 -116
- package/theme/styles/theme/light/_variables.scss +940 -940
- package/theme/styles/theme/light/blue/theme.scss +14 -14
- package/theme/styles/theme/light/custom/theme.scss +16 -16
- package/theme/styles/theme/light/indigo/theme.scss +14 -14
- package/theme/styles/theme/light/lena/theme.scss +14 -14
- package/theme/styles/theme/light/orange/theme.scss +14 -14
- package/theme/styles/theme/light/thor/theme.scss +15 -15
- package/theme/styles/theme/light/yeap/theme.scss +14 -14
- package/util/directives/index.d.ts +3 -0
- package/util/directives/src/detail-page-customization/detail-page-customization.directive.d.ts +26 -0
- package/util/directives/src/detail-page-customization/index.d.ts +2 -0
- package/util/directives/src/detail-page-customization/models.d.ts +53 -0
- package/util/directives/src/dialog-component/plugin-dialog.component.d.ts +10 -0
- package/util/directives/src/dialog-service/plugin-dialog.service.d.ts +7 -0
- package/fesm2022/aril-app.component-hxaLgwmC.mjs.map +0 -1
- package/fesm2022/aril-boot-mfe-app.component-s1a-tkOD.mjs.map +0 -1
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-wLTqwDtz.mjs.map +0 -1
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
import { AssetAggregate, AssetCodes, PresentableData } from './models';
|
|
2
|
-
|
|
3
|
-
import { DefaultSearchAggregateAssetAggregate } from './models';
|
|
4
|
-
|
|
5
|
-
import { PrimeIcons } from 'primeng/api';
|
|
6
|
-
|
|
7
|
-
type MappedIcon = PrimeIcons;
|
|
8
|
-
|
|
9
|
-
export function getIcon(key: string): MappedIcon {
|
|
10
|
-
switch (key) {
|
|
11
|
-
case AssetCodes.Account:
|
|
12
|
-
return PrimeIcons.USER;
|
|
13
|
-
case AssetCodes.HumanBusinessPartner:
|
|
14
|
-
return PrimeIcons.USER;
|
|
15
|
-
case AssetCodes.Contract:
|
|
16
|
-
return PrimeIcons.FILE_EDIT;
|
|
17
|
-
case AssetCodes.ConnectionPoint:
|
|
18
|
-
return PrimeIcons.BUILDING;
|
|
19
|
-
case AssetCodes.Warehouse:
|
|
20
|
-
return PrimeIcons.LIST;
|
|
21
|
-
case AssetCodes.Team:
|
|
22
|
-
return PrimeIcons.LIST;
|
|
23
|
-
case AssetCodes.Premise:
|
|
24
|
-
return PrimeIcons.BUILDING;
|
|
25
|
-
case AssetCodes.PowerTransformer:
|
|
26
|
-
return PrimeIcons.BOLT;
|
|
27
|
-
case AssetCodes.Gateway:
|
|
28
|
-
return PrimeIcons.SERVER;
|
|
29
|
-
case AssetCodes.Seal:
|
|
30
|
-
return PrimeIcons.TICKET;
|
|
31
|
-
case AssetCodes.Meter:
|
|
32
|
-
return PrimeIcons.COMPASS;
|
|
33
|
-
case AssetCodes.SimCard:
|
|
34
|
-
return PrimeIcons.LIST;
|
|
35
|
-
case AssetCodes.MeasurementTransformer:
|
|
36
|
-
return PrimeIcons.LIST;
|
|
37
|
-
case AssetCodes.MaterialClass:
|
|
38
|
-
return PrimeIcons.LIST;
|
|
39
|
-
case AssetCodes.GatewayMaterialClass:
|
|
40
|
-
return PrimeIcons.LIST;
|
|
41
|
-
case AssetCodes.MeterMaterialClass:
|
|
42
|
-
return PrimeIcons.LIST;
|
|
43
|
-
case AssetCodes.PowerTransformerMaterialClass:
|
|
44
|
-
return PrimeIcons.LIST;
|
|
45
|
-
case AssetCodes.MeasurementTransformerMaterialClass:
|
|
46
|
-
return PrimeIcons.LIST;
|
|
47
|
-
case AssetCodes.BusinessPartner:
|
|
48
|
-
return PrimeIcons.USER;
|
|
49
|
-
case AssetCodes.LegalEntityBusinessPartner:
|
|
50
|
-
return PrimeIcons.BUILDING;
|
|
51
|
-
case AssetCodes.Organization:
|
|
52
|
-
return PrimeIcons.LIST;
|
|
53
|
-
case AssetCodes.FieldStaff:
|
|
54
|
-
return PrimeIcons.LIST;
|
|
55
|
-
case AssetCodes.SSB:
|
|
56
|
-
return PrimeIcons.LIST;
|
|
57
|
-
case AssetCodes.ServicePoint:
|
|
58
|
-
return PrimeIcons.COG;
|
|
59
|
-
case AssetCodes.ServicePointGroup:
|
|
60
|
-
return PrimeIcons.SITEMAP;
|
|
61
|
-
case AssetCodes.Device:
|
|
62
|
-
return PrimeIcons.PHONE;
|
|
63
|
-
default:
|
|
64
|
-
return PrimeIcons.LIST;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export const getPresentableData = (items: DefaultSearchAggregateAssetAggregate, key: string): PresentableData[] => {
|
|
69
|
-
const transformToPresentableDataFor = (k: string) => (item: AssetAggregate) => {
|
|
70
|
-
const attributes = item?.attributes ?? [];
|
|
71
|
-
|
|
72
|
-
const assetNumberAttr = attributes.find((a) => a?.attribute?.attributeCode === 'AssetNumber');
|
|
73
|
-
const assetNameAttr = attributes.find((a) => a?.attribute?.attributeCode === 'AssetDefinitionName');
|
|
74
|
-
|
|
75
|
-
const number = assetNumberAttr?.valueDesc ?? 'N/A';
|
|
76
|
-
|
|
77
|
-
const subtitle = attributes
|
|
78
|
-
.filter((a) => a?.attribute?.attributeCode !== 'AssetNumber')
|
|
79
|
-
.map((a) => a?.valueDesc)
|
|
80
|
-
.filter((v) => v != null && v !== '')
|
|
81
|
-
.map(String)
|
|
82
|
-
.join(' - ');
|
|
83
|
-
|
|
84
|
-
const assetIdAttr = attributes.find((a) => a?.attribute?.attributeCode === 'AssetId');
|
|
85
|
-
const id = assetIdAttr?.valueDesc ?? '';
|
|
86
|
-
const icon = getIcon(k);
|
|
87
|
-
const url =
|
|
88
|
-
assetNumberAttr?.attribute?.referringAsset?.detailPageUrl ?
|
|
89
|
-
`${assetNumberAttr.attribute.referringAsset.detailPageUrl}/${id}`
|
|
90
|
-
: '';
|
|
91
|
-
|
|
92
|
-
return {
|
|
93
|
-
title: `${assetNameAttr?.valueDesc ?? 'N/A'} #${number}`,
|
|
94
|
-
subtitle,
|
|
95
|
-
icon,
|
|
96
|
-
url: url,
|
|
97
|
-
assetId: id
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
if (key === 'all') {
|
|
102
|
-
return Object.keys(items).flatMap((k) => (items[k]?.result ?? []).map(transformToPresentableDataFor(k)));
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
return (items[key]?.result ?? []).map(transformToPresentableDataFor(key));
|
|
106
|
-
};
|
|
1
|
+
import { AssetAggregate, AssetCodes, PresentableData } from './models';
|
|
2
|
+
|
|
3
|
+
import { DefaultSearchAggregateAssetAggregate } from './models';
|
|
4
|
+
|
|
5
|
+
import { PrimeIcons } from 'primeng/api';
|
|
6
|
+
|
|
7
|
+
type MappedIcon = PrimeIcons;
|
|
8
|
+
|
|
9
|
+
export function getIcon(key: string): MappedIcon {
|
|
10
|
+
switch (key) {
|
|
11
|
+
case AssetCodes.Account:
|
|
12
|
+
return PrimeIcons.USER;
|
|
13
|
+
case AssetCodes.HumanBusinessPartner:
|
|
14
|
+
return PrimeIcons.USER;
|
|
15
|
+
case AssetCodes.Contract:
|
|
16
|
+
return PrimeIcons.FILE_EDIT;
|
|
17
|
+
case AssetCodes.ConnectionPoint:
|
|
18
|
+
return PrimeIcons.BUILDING;
|
|
19
|
+
case AssetCodes.Warehouse:
|
|
20
|
+
return PrimeIcons.LIST;
|
|
21
|
+
case AssetCodes.Team:
|
|
22
|
+
return PrimeIcons.LIST;
|
|
23
|
+
case AssetCodes.Premise:
|
|
24
|
+
return PrimeIcons.BUILDING;
|
|
25
|
+
case AssetCodes.PowerTransformer:
|
|
26
|
+
return PrimeIcons.BOLT;
|
|
27
|
+
case AssetCodes.Gateway:
|
|
28
|
+
return PrimeIcons.SERVER;
|
|
29
|
+
case AssetCodes.Seal:
|
|
30
|
+
return PrimeIcons.TICKET;
|
|
31
|
+
case AssetCodes.Meter:
|
|
32
|
+
return PrimeIcons.COMPASS;
|
|
33
|
+
case AssetCodes.SimCard:
|
|
34
|
+
return PrimeIcons.LIST;
|
|
35
|
+
case AssetCodes.MeasurementTransformer:
|
|
36
|
+
return PrimeIcons.LIST;
|
|
37
|
+
case AssetCodes.MaterialClass:
|
|
38
|
+
return PrimeIcons.LIST;
|
|
39
|
+
case AssetCodes.GatewayMaterialClass:
|
|
40
|
+
return PrimeIcons.LIST;
|
|
41
|
+
case AssetCodes.MeterMaterialClass:
|
|
42
|
+
return PrimeIcons.LIST;
|
|
43
|
+
case AssetCodes.PowerTransformerMaterialClass:
|
|
44
|
+
return PrimeIcons.LIST;
|
|
45
|
+
case AssetCodes.MeasurementTransformerMaterialClass:
|
|
46
|
+
return PrimeIcons.LIST;
|
|
47
|
+
case AssetCodes.BusinessPartner:
|
|
48
|
+
return PrimeIcons.USER;
|
|
49
|
+
case AssetCodes.LegalEntityBusinessPartner:
|
|
50
|
+
return PrimeIcons.BUILDING;
|
|
51
|
+
case AssetCodes.Organization:
|
|
52
|
+
return PrimeIcons.LIST;
|
|
53
|
+
case AssetCodes.FieldStaff:
|
|
54
|
+
return PrimeIcons.LIST;
|
|
55
|
+
case AssetCodes.SSB:
|
|
56
|
+
return PrimeIcons.LIST;
|
|
57
|
+
case AssetCodes.ServicePoint:
|
|
58
|
+
return PrimeIcons.COG;
|
|
59
|
+
case AssetCodes.ServicePointGroup:
|
|
60
|
+
return PrimeIcons.SITEMAP;
|
|
61
|
+
case AssetCodes.Device:
|
|
62
|
+
return PrimeIcons.PHONE;
|
|
63
|
+
default:
|
|
64
|
+
return PrimeIcons.LIST;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export const getPresentableData = (items: DefaultSearchAggregateAssetAggregate, key: string): PresentableData[] => {
|
|
69
|
+
const transformToPresentableDataFor = (k: string) => (item: AssetAggregate) => {
|
|
70
|
+
const attributes = item?.attributes ?? [];
|
|
71
|
+
|
|
72
|
+
const assetNumberAttr = attributes.find((a) => a?.attribute?.attributeCode === 'AssetNumber');
|
|
73
|
+
const assetNameAttr = attributes.find((a) => a?.attribute?.attributeCode === 'AssetDefinitionName');
|
|
74
|
+
|
|
75
|
+
const number = assetNumberAttr?.valueDesc ?? 'N/A';
|
|
76
|
+
|
|
77
|
+
const subtitle = attributes
|
|
78
|
+
.filter((a) => a?.attribute?.attributeCode !== 'AssetNumber')
|
|
79
|
+
.map((a) => a?.valueDesc)
|
|
80
|
+
.filter((v) => v != null && v !== '')
|
|
81
|
+
.map(String)
|
|
82
|
+
.join(' - ');
|
|
83
|
+
|
|
84
|
+
const assetIdAttr = attributes.find((a) => a?.attribute?.attributeCode === 'AssetId');
|
|
85
|
+
const id = assetIdAttr?.valueDesc ?? '';
|
|
86
|
+
const icon = getIcon(k);
|
|
87
|
+
const url =
|
|
88
|
+
assetNumberAttr?.attribute?.referringAsset?.detailPageUrl ?
|
|
89
|
+
`${assetNumberAttr.attribute.referringAsset.detailPageUrl}/${id}`
|
|
90
|
+
: '';
|
|
91
|
+
|
|
92
|
+
return {
|
|
93
|
+
title: `${assetNameAttr?.valueDesc ?? 'N/A'} #${number}`,
|
|
94
|
+
subtitle,
|
|
95
|
+
icon,
|
|
96
|
+
url: url,
|
|
97
|
+
assetId: id
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
if (key === 'all') {
|
|
102
|
+
return Object.keys(items).flatMap((k) => (items[k]?.result ?? []).map(transformToPresentableDataFor(k)));
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
return (items[key]?.result ?? []).map(transformToPresentableDataFor(key));
|
|
106
|
+
};
|
|
@@ -1,142 +1,142 @@
|
|
|
1
|
-
import { PrimeIcons } from 'primeng/api';
|
|
2
|
-
|
|
3
|
-
export interface SuggestionsGroupDTO {
|
|
4
|
-
key: number | string | null;
|
|
5
|
-
text: string;
|
|
6
|
-
attributes?: AttributeElement[];
|
|
7
|
-
assetDefinitionCode?: string;
|
|
8
|
-
items: SuggestionsDTO[];
|
|
9
|
-
}
|
|
10
|
-
export interface SuggestionsDTO {
|
|
11
|
-
key: number | string | null;
|
|
12
|
-
text: string;
|
|
13
|
-
attributes?: AttributeElement[];
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export interface DefaultSearchAggregateAssetAggregate {
|
|
17
|
-
[key: string]: AdditionalProp;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface AdditionalProp {
|
|
21
|
-
resultInfo: ResultInfo;
|
|
22
|
-
result: AssetAggregate[];
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface ResultInfo {
|
|
26
|
-
totalPage: number;
|
|
27
|
-
totalItem: number;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface AssetAggregate {
|
|
31
|
-
id: number;
|
|
32
|
-
assetDefinitionId: number;
|
|
33
|
-
assetDefinitionCode: string;
|
|
34
|
-
assetDefinitionName: string;
|
|
35
|
-
uniqueIdentifier: string;
|
|
36
|
-
authorityGroup: string;
|
|
37
|
-
createDate: number;
|
|
38
|
-
updateDate: number;
|
|
39
|
-
updateUser: string;
|
|
40
|
-
createUser: string;
|
|
41
|
-
assets: Asset[];
|
|
42
|
-
attributes: AttributeElement[];
|
|
43
|
-
key?: number;
|
|
44
|
-
text?: string;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export interface Asset {
|
|
48
|
-
alias: string;
|
|
49
|
-
assetDefinitionID: number;
|
|
50
|
-
assetDefinitionCode: string;
|
|
51
|
-
assetDefinitionName: string;
|
|
52
|
-
assetId: number;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export interface AttributeElement {
|
|
56
|
-
id: number;
|
|
57
|
-
attribute: AttributeAttribute;
|
|
58
|
-
value: Value;
|
|
59
|
-
startDate: number;
|
|
60
|
-
valueDesc: string;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export interface AttributeAttribute {
|
|
64
|
-
alias: string;
|
|
65
|
-
attributeCode: string;
|
|
66
|
-
attributeName: string;
|
|
67
|
-
attributeId: number;
|
|
68
|
-
attributeType: string;
|
|
69
|
-
referringAsset?: {
|
|
70
|
-
detailPageUrl?: string;
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export interface Value {}
|
|
75
|
-
|
|
76
|
-
export interface PagerDTO {
|
|
77
|
-
pageSize: number;
|
|
78
|
-
pageNumber: number;
|
|
79
|
-
}
|
|
80
|
-
export interface CacheSearchRequestDTO {
|
|
81
|
-
assetDefinitionCodes: string[];
|
|
82
|
-
searchText?: string;
|
|
83
|
-
mql?: string;
|
|
84
|
-
pager: PagerDTO;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export enum AssetCodes {
|
|
88
|
-
MasterData = 'MasterData',
|
|
89
|
-
LightingFacility = 'LightingFacility',
|
|
90
|
-
ConnectionPoint = 'ConnectionPoint',
|
|
91
|
-
Premise = 'Premise',
|
|
92
|
-
ServicePoint = 'ServicePoint',
|
|
93
|
-
ServicePointGroup = 'ServicePointGroup',
|
|
94
|
-
DistributionConnectionAgreement = 'DistributionConnectionAgreement',
|
|
95
|
-
Contract = 'Contract',
|
|
96
|
-
BusinessPartner = 'BusinessPartner',
|
|
97
|
-
Account = 'Account',
|
|
98
|
-
Warehouse = 'Warehouse',
|
|
99
|
-
Team = 'Team',
|
|
100
|
-
Device = 'Device',
|
|
101
|
-
Location = 'Location',
|
|
102
|
-
Material = 'Material',
|
|
103
|
-
SerializedMaterial = 'SerializedMaterial',
|
|
104
|
-
LegalEntityBusinessPartner = 'LegalEntityBusinessPartner',
|
|
105
|
-
Organization = 'Organization',
|
|
106
|
-
FieldStaff = 'FieldStaff',
|
|
107
|
-
SSB = 'SSB',
|
|
108
|
-
ProducerServicePoint = 'ProducerServicePoint',
|
|
109
|
-
UnlicensedProducerServicePoint = 'UnlicensedProducerServicePoint',
|
|
110
|
-
LicensedProducerServicePoint = 'LicensedProducerServicePoint',
|
|
111
|
-
GeneralLightingServicePoint = 'GeneralLightingServicePoint',
|
|
112
|
-
ConsumerServicePoint = 'ConsumerServicePoint',
|
|
113
|
-
GeneralLightingContract = 'GeneralLightingContract',
|
|
114
|
-
UnmeteredContract = 'UnmeteredContract',
|
|
115
|
-
ProducerContract = 'ProducerContract',
|
|
116
|
-
UnlicensedProducerContract = 'UnlicensedProducerContract',
|
|
117
|
-
LicensedProducerContract = 'LicensedProducerContract',
|
|
118
|
-
ConsumerContract = 'ConsumerContract',
|
|
119
|
-
HumanBusinessPartner = 'HumanBusinessPartner',
|
|
120
|
-
Meter = 'Meter',
|
|
121
|
-
Seal = 'Seal',
|
|
122
|
-
SimCard = 'SimCard',
|
|
123
|
-
Transformer = 'Transformer',
|
|
124
|
-
MeasurementTransformer = 'MeasurementTransformer',
|
|
125
|
-
PowerTransformer = 'PowerTransformer',
|
|
126
|
-
Gateway = 'Gateway',
|
|
127
|
-
NonSerializedMaterial = 'NonSerializedMaterial',
|
|
128
|
-
MaterialClass = 'MaterialClass',
|
|
129
|
-
GatewayMaterialClass = 'GatewayMaterialClass',
|
|
130
|
-
MeterMaterialClass = 'MeterMaterialClass',
|
|
131
|
-
TransformerMaterialClass = 'TransformerMaterialClass',
|
|
132
|
-
PowerTransformerMaterialClass = 'PowerTransformerMaterialClass',
|
|
133
|
-
MeasurementTransformerMaterialClass = 'MeasurementTransformerMaterialClass'
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
export type PresentableData = {
|
|
137
|
-
title: string;
|
|
138
|
-
icon: PrimeIcons;
|
|
139
|
-
subtitle: string;
|
|
140
|
-
assetId: string;
|
|
141
|
-
url: string;
|
|
142
|
-
};
|
|
1
|
+
import { PrimeIcons } from 'primeng/api';
|
|
2
|
+
|
|
3
|
+
export interface SuggestionsGroupDTO {
|
|
4
|
+
key: number | string | null;
|
|
5
|
+
text: string;
|
|
6
|
+
attributes?: AttributeElement[];
|
|
7
|
+
assetDefinitionCode?: string;
|
|
8
|
+
items: SuggestionsDTO[];
|
|
9
|
+
}
|
|
10
|
+
export interface SuggestionsDTO {
|
|
11
|
+
key: number | string | null;
|
|
12
|
+
text: string;
|
|
13
|
+
attributes?: AttributeElement[];
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface DefaultSearchAggregateAssetAggregate {
|
|
17
|
+
[key: string]: AdditionalProp;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface AdditionalProp {
|
|
21
|
+
resultInfo: ResultInfo;
|
|
22
|
+
result: AssetAggregate[];
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface ResultInfo {
|
|
26
|
+
totalPage: number;
|
|
27
|
+
totalItem: number;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface AssetAggregate {
|
|
31
|
+
id: number;
|
|
32
|
+
assetDefinitionId: number;
|
|
33
|
+
assetDefinitionCode: string;
|
|
34
|
+
assetDefinitionName: string;
|
|
35
|
+
uniqueIdentifier: string;
|
|
36
|
+
authorityGroup: string;
|
|
37
|
+
createDate: number;
|
|
38
|
+
updateDate: number;
|
|
39
|
+
updateUser: string;
|
|
40
|
+
createUser: string;
|
|
41
|
+
assets: Asset[];
|
|
42
|
+
attributes: AttributeElement[];
|
|
43
|
+
key?: number;
|
|
44
|
+
text?: string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface Asset {
|
|
48
|
+
alias: string;
|
|
49
|
+
assetDefinitionID: number;
|
|
50
|
+
assetDefinitionCode: string;
|
|
51
|
+
assetDefinitionName: string;
|
|
52
|
+
assetId: number;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface AttributeElement {
|
|
56
|
+
id: number;
|
|
57
|
+
attribute: AttributeAttribute;
|
|
58
|
+
value: Value;
|
|
59
|
+
startDate: number;
|
|
60
|
+
valueDesc: string;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export interface AttributeAttribute {
|
|
64
|
+
alias: string;
|
|
65
|
+
attributeCode: string;
|
|
66
|
+
attributeName: string;
|
|
67
|
+
attributeId: number;
|
|
68
|
+
attributeType: string;
|
|
69
|
+
referringAsset?: {
|
|
70
|
+
detailPageUrl?: string;
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface Value {}
|
|
75
|
+
|
|
76
|
+
export interface PagerDTO {
|
|
77
|
+
pageSize: number;
|
|
78
|
+
pageNumber: number;
|
|
79
|
+
}
|
|
80
|
+
export interface CacheSearchRequestDTO {
|
|
81
|
+
assetDefinitionCodes: string[];
|
|
82
|
+
searchText?: string;
|
|
83
|
+
mql?: string;
|
|
84
|
+
pager: PagerDTO;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export enum AssetCodes {
|
|
88
|
+
MasterData = 'MasterData',
|
|
89
|
+
LightingFacility = 'LightingFacility',
|
|
90
|
+
ConnectionPoint = 'ConnectionPoint',
|
|
91
|
+
Premise = 'Premise',
|
|
92
|
+
ServicePoint = 'ServicePoint',
|
|
93
|
+
ServicePointGroup = 'ServicePointGroup',
|
|
94
|
+
DistributionConnectionAgreement = 'DistributionConnectionAgreement',
|
|
95
|
+
Contract = 'Contract',
|
|
96
|
+
BusinessPartner = 'BusinessPartner',
|
|
97
|
+
Account = 'Account',
|
|
98
|
+
Warehouse = 'Warehouse',
|
|
99
|
+
Team = 'Team',
|
|
100
|
+
Device = 'Device',
|
|
101
|
+
Location = 'Location',
|
|
102
|
+
Material = 'Material',
|
|
103
|
+
SerializedMaterial = 'SerializedMaterial',
|
|
104
|
+
LegalEntityBusinessPartner = 'LegalEntityBusinessPartner',
|
|
105
|
+
Organization = 'Organization',
|
|
106
|
+
FieldStaff = 'FieldStaff',
|
|
107
|
+
SSB = 'SSB',
|
|
108
|
+
ProducerServicePoint = 'ProducerServicePoint',
|
|
109
|
+
UnlicensedProducerServicePoint = 'UnlicensedProducerServicePoint',
|
|
110
|
+
LicensedProducerServicePoint = 'LicensedProducerServicePoint',
|
|
111
|
+
GeneralLightingServicePoint = 'GeneralLightingServicePoint',
|
|
112
|
+
ConsumerServicePoint = 'ConsumerServicePoint',
|
|
113
|
+
GeneralLightingContract = 'GeneralLightingContract',
|
|
114
|
+
UnmeteredContract = 'UnmeteredContract',
|
|
115
|
+
ProducerContract = 'ProducerContract',
|
|
116
|
+
UnlicensedProducerContract = 'UnlicensedProducerContract',
|
|
117
|
+
LicensedProducerContract = 'LicensedProducerContract',
|
|
118
|
+
ConsumerContract = 'ConsumerContract',
|
|
119
|
+
HumanBusinessPartner = 'HumanBusinessPartner',
|
|
120
|
+
Meter = 'Meter',
|
|
121
|
+
Seal = 'Seal',
|
|
122
|
+
SimCard = 'SimCard',
|
|
123
|
+
Transformer = 'Transformer',
|
|
124
|
+
MeasurementTransformer = 'MeasurementTransformer',
|
|
125
|
+
PowerTransformer = 'PowerTransformer',
|
|
126
|
+
Gateway = 'Gateway',
|
|
127
|
+
NonSerializedMaterial = 'NonSerializedMaterial',
|
|
128
|
+
MaterialClass = 'MaterialClass',
|
|
129
|
+
GatewayMaterialClass = 'GatewayMaterialClass',
|
|
130
|
+
MeterMaterialClass = 'MeterMaterialClass',
|
|
131
|
+
TransformerMaterialClass = 'TransformerMaterialClass',
|
|
132
|
+
PowerTransformerMaterialClass = 'PowerTransformerMaterialClass',
|
|
133
|
+
MeasurementTransformerMaterialClass = 'MeasurementTransformerMaterialClass'
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export type PresentableData = {
|
|
137
|
+
title: string;
|
|
138
|
+
icon: PrimeIcons;
|
|
139
|
+
subtitle: string;
|
|
140
|
+
assetId: string;
|
|
141
|
+
url: string;
|
|
142
|
+
};
|
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
<p-sidebar
|
|
2
|
-
[(visible)]="visible"
|
|
3
|
-
position="right"
|
|
4
|
-
[transitionOptions]="'.3s cubic-bezier(0, 0, 0.2, 1)'"
|
|
5
|
-
styleClass="layout-history-sidebar w-full sm:w-30rem"
|
|
6
|
-
*transloco="let t; read: 'history'">
|
|
7
|
-
<ng-template pTemplate="header">
|
|
8
|
-
<div class="flex align-items-center justify-content-between w-full">
|
|
9
|
-
<div class="flex align-items-center">
|
|
10
|
-
<i class="pi pi-history text-primary text-xl"></i>
|
|
11
|
-
<span class="font-bold text-lg">{{ t('pageHistory') }}</span>
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
14
|
-
</ng-template>
|
|
15
|
-
|
|
16
|
-
<div class="history-content">
|
|
17
|
-
@if (history().length > 0) {
|
|
18
|
-
<div class="search-section">
|
|
19
|
-
<div class="flex justify-content-center align-items-center grid p-fluid m-0">
|
|
20
|
-
<aril-text
|
|
21
|
-
class="col-10"
|
|
22
|
-
[placeholder]="t('searchHistory')"
|
|
23
|
-
[(ngModel)]="searchTerm"
|
|
24
|
-
(ngModelChange)="onSearchChange()">
|
|
25
|
-
</aril-text>
|
|
26
|
-
<fa-icon
|
|
27
|
-
[icon]="solidIcons.faTrash"
|
|
28
|
-
size="xl"
|
|
29
|
-
style="color: var(--red-500)"
|
|
30
|
-
class="col-2 cursor-pointer"
|
|
31
|
-
[pTooltip]="t('confirmClearAll')"
|
|
32
|
-
tooltipPosition="top"
|
|
33
|
-
(click)="clearAllHistory($event)">
|
|
34
|
-
</fa-icon>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@if (filteredHistory().length > 0) {
|
|
40
|
-
<div class="history-list">
|
|
41
|
-
<p-scrollPanel [style]="{ width: '100%', height: '100%' }">
|
|
42
|
-
<div class="history-items">
|
|
43
|
-
@for (item of filteredHistory(); track trackByItemId($index, item)) {
|
|
44
|
-
<div class="history-item" (click)="navigateToItem(item)">
|
|
45
|
-
<div class="item-content">
|
|
46
|
-
<div class="item-header">
|
|
47
|
-
<div class="item-title">
|
|
48
|
-
<i class="pi pi-external-link text-primary mr-2"></i>
|
|
49
|
-
<div class="title-info">
|
|
50
|
-
<span class="title-text">{{ getLocalizedTitle(item) }}</span>
|
|
51
|
-
<span class="route-text">{{ item.url }}</span>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
}
|
|
58
|
-
</div>
|
|
59
|
-
</p-scrollPanel>
|
|
60
|
-
</div>
|
|
61
|
-
} @else {
|
|
62
|
-
<div class="empty-state">
|
|
63
|
-
<div class="empty-content">
|
|
64
|
-
<i class="pi pi-history empty-icon"></i>
|
|
65
|
-
<h3 class="empty-title">
|
|
66
|
-
{{ searchTerm() ? t('noSearchResults') : t('noHistory') }}
|
|
67
|
-
</h3>
|
|
68
|
-
<p class="empty-message">
|
|
69
|
-
{{ searchTerm() ? t('tryDifferentKeywords') : t('startBrowsing') }}
|
|
70
|
-
</p>
|
|
71
|
-
@if (searchTerm()) {
|
|
72
|
-
<aril-button
|
|
73
|
-
[label]="t('clearSearch')"
|
|
74
|
-
icon="TIMES"
|
|
75
|
-
color="secondary"
|
|
76
|
-
[outlined]="true"
|
|
77
|
-
size="sm"
|
|
78
|
-
(clickEvent)="searchTerm.set(''); onSearchChange()">
|
|
79
|
-
</aril-button>
|
|
80
|
-
}
|
|
81
|
-
</div>
|
|
82
|
-
</div>
|
|
83
|
-
}
|
|
84
|
-
</div>
|
|
85
|
-
|
|
86
|
-
<p-confirmDialog></p-confirmDialog>
|
|
87
|
-
</p-sidebar>
|
|
1
|
+
<p-sidebar
|
|
2
|
+
[(visible)]="visible"
|
|
3
|
+
position="right"
|
|
4
|
+
[transitionOptions]="'.3s cubic-bezier(0, 0, 0.2, 1)'"
|
|
5
|
+
styleClass="layout-history-sidebar w-full sm:w-30rem"
|
|
6
|
+
*transloco="let t; read: 'history'">
|
|
7
|
+
<ng-template pTemplate="header">
|
|
8
|
+
<div class="flex align-items-center justify-content-between w-full">
|
|
9
|
+
<div class="flex align-items-center">
|
|
10
|
+
<i class="pi pi-history text-primary text-xl"></i>
|
|
11
|
+
<span class="font-bold text-lg">{{ t('pageHistory') }}</span>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
</ng-template>
|
|
15
|
+
|
|
16
|
+
<div class="history-content">
|
|
17
|
+
@if (history().length > 0) {
|
|
18
|
+
<div class="search-section">
|
|
19
|
+
<div class="flex justify-content-center align-items-center grid p-fluid m-0">
|
|
20
|
+
<aril-text
|
|
21
|
+
class="col-10"
|
|
22
|
+
[placeholder]="t('searchHistory')"
|
|
23
|
+
[(ngModel)]="searchTerm"
|
|
24
|
+
(ngModelChange)="onSearchChange()">
|
|
25
|
+
</aril-text>
|
|
26
|
+
<fa-icon
|
|
27
|
+
[icon]="solidIcons.faTrash"
|
|
28
|
+
size="xl"
|
|
29
|
+
style="color: var(--red-500)"
|
|
30
|
+
class="col-2 cursor-pointer"
|
|
31
|
+
[pTooltip]="t('confirmClearAll')"
|
|
32
|
+
tooltipPosition="top"
|
|
33
|
+
(click)="clearAllHistory($event)">
|
|
34
|
+
</fa-icon>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@if (filteredHistory().length > 0) {
|
|
40
|
+
<div class="history-list">
|
|
41
|
+
<p-scrollPanel [style]="{ width: '100%', height: '100%' }">
|
|
42
|
+
<div class="history-items">
|
|
43
|
+
@for (item of filteredHistory(); track trackByItemId($index, item)) {
|
|
44
|
+
<div class="history-item" (click)="navigateToItem(item)">
|
|
45
|
+
<div class="item-content">
|
|
46
|
+
<div class="item-header">
|
|
47
|
+
<div class="item-title">
|
|
48
|
+
<i class="pi pi-external-link text-primary mr-2"></i>
|
|
49
|
+
<div class="title-info">
|
|
50
|
+
<span class="title-text">{{ getLocalizedTitle(item) }}</span>
|
|
51
|
+
<span class="route-text">{{ item.url }}</span>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
}
|
|
58
|
+
</div>
|
|
59
|
+
</p-scrollPanel>
|
|
60
|
+
</div>
|
|
61
|
+
} @else {
|
|
62
|
+
<div class="empty-state">
|
|
63
|
+
<div class="empty-content">
|
|
64
|
+
<i class="pi pi-history empty-icon"></i>
|
|
65
|
+
<h3 class="empty-title">
|
|
66
|
+
{{ searchTerm() ? t('noSearchResults') : t('noHistory') }}
|
|
67
|
+
</h3>
|
|
68
|
+
<p class="empty-message">
|
|
69
|
+
{{ searchTerm() ? t('tryDifferentKeywords') : t('startBrowsing') }}
|
|
70
|
+
</p>
|
|
71
|
+
@if (searchTerm()) {
|
|
72
|
+
<aril-button
|
|
73
|
+
[label]="t('clearSearch')"
|
|
74
|
+
icon="TIMES"
|
|
75
|
+
color="secondary"
|
|
76
|
+
[outlined]="true"
|
|
77
|
+
size="sm"
|
|
78
|
+
(clickEvent)="searchTerm.set(''); onSearchChange()">
|
|
79
|
+
</aril-button>
|
|
80
|
+
}
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
}
|
|
84
|
+
</div>
|
|
85
|
+
|
|
86
|
+
<p-confirmDialog></p-confirmDialog>
|
|
87
|
+
</p-sidebar>
|