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
|
@@ -54,12 +54,12 @@ class NotificationTemplatesDialogComponent {
|
|
|
54
54
|
closeDialog() {
|
|
55
55
|
this.ref.close();
|
|
56
56
|
}
|
|
57
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
58
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.
|
|
57
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationTemplatesDialogComponent, deps: [{ token: i1.DynamicDialogRef }, { token: i2.HttpClient }, { token: i3.MessageService }, { token: i4.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
58
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: NotificationTemplatesDialogComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<div class=\"grid\">\n\t<aril-table\n\t\tclass=\"col-12\"\n\t\t[data]=\"notificationTemplates() || []\"\n\t\t[noDataFoundLabel]=\"translocoService.translate('noDataFound')\">\n\t\t<aril-table-column field=\"templateCode\" [header]=\"translocoService.translate('notifications.templateCode')\" type=\"text\">\n\t\t\t<ng-template let-item>\n\t\t\t\t<aril-value type=\"text\" [model]=\"item.templateCode\" />\n\t\t\t</ng-template>\n\t\t</aril-table-column>\n\n\t\t<aril-table-column field=\"templateTitle\" [header]=\"translocoService.translate('notifications.fileName')\" type=\"text\">\n\t\t\t<ng-template let-item>\n\t\t\t\t@if (item.url) {\n\t\t\t\t\t<aril-value [model]=\"item.templateTitle\" [isClickable]=\"true\" (click)=\"downloadTemplate(item.url)\" />\n\t\t\t\t} @else {\n\t\t\t\t\t<aril-value type=\"text\" [model]=\"item.templateTitle\" />\n\t\t\t\t}\n\t\t\t</ng-template>\n\t\t</aril-table-column>\n\t</aril-table>\n\n\t<div class=\"col-12 flex justify-content-end\">\n\t\t<aril-button\n\t\t\t[label]=\"translocoService.translate('close')\"\n\t\t\ticon=\"TIMES\"\n\t\t\tcolor=\"secondary\"\n\t\t\t[outlined]=\"true\"\n\t\t\t(clickEvent)=\"closeDialog()\" />\n\t</div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: ARiLTableModule }, { kind: "component", type: i5.TableComponent, selector: "aril-table", inputs: ["kebabMenuItems", "expandableFields", "data", "checkboxSelection", "radioButtonSelection", "headerCheckboxSelection", "pageSize", "proxy", "showFooter", "tAlign", "selectionMode", "exportFileName", "noDataFoundLabel", "tableHeader", "showTableHeader", "isFirstRowSelected", "dataKey", "selectedRowsInput", "isLazy", "totalRecords", "paginator", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "isColumnExpandMode", "isResizableColumns", "isSortable", "scrollable", "scrollHeight", "sortMode", "showFirstLastIcon", "rowSelectable", "reorderableColumns", "reorderField", "showColumnFilters", "selectionPageOnly", "openSelectionOnSidebar", "globalFilterFields", "exportConfig"], outputs: ["onPageEvent", "selectionEvent", "lazyLoadEvent", "rowReorderEvent"] }, { kind: "component", type: i5.TableColumnComponent, selector: "aril-table-column", inputs: ["type", "field", "header", "tAlign", "isShowHeaderTooltip", "tooltipTemplate", "width", "showFilter", "filterType", "showTimeInDateFilters", "enumGroupName"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "component", type: ValueComponent, selector: "aril-value", inputs: ["model", "type", "format", "isClickable", "groupName", "parentSelectionKey", "isTextClamp", "textClampCharacters", "style", "copyable", "shouldShowCopyForClampedText", "arrayTypeDisplayName", "arrayTypeMaxBadgeCount", "bigDecimalRoundingMode", "bigDecimalScale"] }] }); }
|
|
59
59
|
}
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationTemplatesDialogComponent, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
|
-
args: [{ standalone: true, imports: [ARiLTableModule, ButtonComponent, TranslocoModule, ValueComponent], template: "<div class=\"grid\">\
|
|
62
|
+
args: [{ standalone: true, imports: [ARiLTableModule, ButtonComponent, TranslocoModule, ValueComponent], template: "<div class=\"grid\">\n\t<aril-table\n\t\tclass=\"col-12\"\n\t\t[data]=\"notificationTemplates() || []\"\n\t\t[noDataFoundLabel]=\"translocoService.translate('noDataFound')\">\n\t\t<aril-table-column field=\"templateCode\" [header]=\"translocoService.translate('notifications.templateCode')\" type=\"text\">\n\t\t\t<ng-template let-item>\n\t\t\t\t<aril-value type=\"text\" [model]=\"item.templateCode\" />\n\t\t\t</ng-template>\n\t\t</aril-table-column>\n\n\t\t<aril-table-column field=\"templateTitle\" [header]=\"translocoService.translate('notifications.fileName')\" type=\"text\">\n\t\t\t<ng-template let-item>\n\t\t\t\t@if (item.url) {\n\t\t\t\t\t<aril-value [model]=\"item.templateTitle\" [isClickable]=\"true\" (click)=\"downloadTemplate(item.url)\" />\n\t\t\t\t} @else {\n\t\t\t\t\t<aril-value type=\"text\" [model]=\"item.templateTitle\" />\n\t\t\t\t}\n\t\t\t</ng-template>\n\t\t</aril-table-column>\n\t</aril-table>\n\n\t<div class=\"col-12 flex justify-content-end\">\n\t\t<aril-button\n\t\t\t[label]=\"translocoService.translate('close')\"\n\t\t\ticon=\"TIMES\"\n\t\t\tcolor=\"secondary\"\n\t\t\t[outlined]=\"true\"\n\t\t\t(clickEvent)=\"closeDialog()\" />\n\t</div>\n</div>\n" }]
|
|
63
63
|
}], ctorParameters: () => [{ type: i1.DynamicDialogRef }, { type: i2.HttpClient }, { type: i3.MessageService }, { type: i4.TranslocoService }] });
|
|
64
64
|
|
|
65
65
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aril-ui-business-notification-templates-dialog.mjs","sources":["../../projects/aril/ui-business/notification-templates-dialog/src/interface.ts","../../projects/aril/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.ts","../../projects/aril/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.html","../../projects/aril/ui-business/notification-templates-dialog/aril-ui-business-notification-templates-dialog.ts"],"sourcesContent":["export interface NotificationTemplate {\
|
|
1
|
+
{"version":3,"file":"aril-ui-business-notification-templates-dialog.mjs","sources":["../../projects/aril/ui-business/notification-templates-dialog/src/interface.ts","../../projects/aril/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.ts","../../projects/aril/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.html","../../projects/aril/ui-business/notification-templates-dialog/aril-ui-business-notification-templates-dialog.ts"],"sourcesContent":["export interface NotificationTemplate {\n\tid: string;\n\tcontent: string;\n\ttemplateTitle: string;\n\ttemplateCode: string;\n\ttemplateGroup: string;\n\turl: string;\n\tcreator: string;\n\tupdater: string;\n\ttemplateType: NotificationTemplateType;\n}\n\nexport enum NotificationTemplateType {\n\tSMS = 'SMS',\n\tEMAIL = 'EMAIL',\n\tMATBU = 'MATBU',\n\tJASPER_REPORT = 'JASPER_REPORT'\n}\n","import { HttpClient } from '@angular/common/http';\nimport { Component } from '@angular/core';\nimport { toSignal } from '@angular/core/rxjs-interop';\n\nimport { MessageService } from 'primeng/api';\nimport { DynamicDialogRef } from 'primeng/dynamicdialog';\n\nimport { TranslocoModule, TranslocoService } from '@ngneat/transloco';\nimport { saveAs } from 'file-saver';\nimport { catchError, firstValueFrom, throwError } from 'rxjs';\n\nimport { API_CONFIGS } from 'aril/boot/config/api';\nimport { Apps } from 'aril/boot/config/apps';\nimport { ButtonComponent } from 'aril/ui/button';\nimport { ARiLTableModule } from 'aril/ui/table';\nimport { ValueComponent } from 'aril/ui/value';\n\nimport { NotificationTemplate, NotificationTemplateType } from './interface';\n\n@Component({\n\tstandalone: true,\n\timports: [ARiLTableModule, ButtonComponent, TranslocoModule, ValueComponent],\n\ttemplateUrl: `./notification-templates-dialog.component.html`\n})\nexport class NotificationTemplatesDialogComponent {\n\tnotificationTemplates = toSignal(\n\t\tthis.http.get<NotificationTemplate[]>(\n\t\t\tAPI_CONFIGS.getExternalAppEndpoint(Apps.MNG) + '/notification-templates/' + NotificationTemplateType.MATBU\n\t\t)\n\t);\n\n\tconstructor(\n\t\tprivate readonly ref: DynamicDialogRef,\n\t\tprivate readonly http: HttpClient,\n\t\tprivate readonly messageService: MessageService,\n\t\tpublic readonly translocoService: TranslocoService\n\t) {}\n\n\tasync downloadTemplate(url: string) {\n\t\tconst hostApi = API_CONFIGS.getExternalAppEndpoint(Apps.MNG);\n\t\tconst response = await firstValueFrom(\n\t\t\tthis.http\n\t\t\t\t.get(`${hostApi}/bucket-objects/download`, {\n\t\t\t\t\tparams: { url },\n\t\t\t\t\tresponseType: 'blob'\n\t\t\t\t})\n\t\t\t\t.pipe(\n\t\t\t\t\tcatchError((error) => {\n\t\t\t\t\t\tif (error?.status === 400 || error?.status === 500) {\n\t\t\t\t\t\t\tthis.messageService.add({\n\t\t\t\t\t\t\t\tseverity: 'error',\n\t\t\t\t\t\t\t\tsummary: this.translocoService.translate('messages.exportUrlNotFound'),\n\t\t\t\t\t\t\t\tkey: 'toast-root'\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn throwError(() => error);\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t);\n\n\t\tconst filename = url.split('/').pop();\n\n\t\tsaveAs(response, filename);\n\t}\n\n\tcloseDialog(): void {\n\t\tthis.ref.close();\n\t}\n}\n","<div class=\"grid\">\n\t<aril-table\n\t\tclass=\"col-12\"\n\t\t[data]=\"notificationTemplates() || []\"\n\t\t[noDataFoundLabel]=\"translocoService.translate('noDataFound')\">\n\t\t<aril-table-column field=\"templateCode\" [header]=\"translocoService.translate('notifications.templateCode')\" type=\"text\">\n\t\t\t<ng-template let-item>\n\t\t\t\t<aril-value type=\"text\" [model]=\"item.templateCode\" />\n\t\t\t</ng-template>\n\t\t</aril-table-column>\n\n\t\t<aril-table-column field=\"templateTitle\" [header]=\"translocoService.translate('notifications.fileName')\" type=\"text\">\n\t\t\t<ng-template let-item>\n\t\t\t\t@if (item.url) {\n\t\t\t\t\t<aril-value [model]=\"item.templateTitle\" [isClickable]=\"true\" (click)=\"downloadTemplate(item.url)\" />\n\t\t\t\t} @else {\n\t\t\t\t\t<aril-value type=\"text\" [model]=\"item.templateTitle\" />\n\t\t\t\t}\n\t\t\t</ng-template>\n\t\t</aril-table-column>\n\t</aril-table>\n\n\t<div class=\"col-12 flex justify-content-end\">\n\t\t<aril-button\n\t\t\t[label]=\"translocoService.translate('close')\"\n\t\t\ticon=\"TIMES\"\n\t\t\tcolor=\"secondary\"\n\t\t\t[outlined]=\"true\"\n\t\t\t(clickEvent)=\"closeDialog()\" />\n\t</div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAYA,IAAY,wBAKX;AALD,CAAA,UAAY,wBAAwB,EAAA;AACnC,IAAA,wBAAA,CAAA,KAAA,CAAA,GAAA,KAAW;AACX,IAAA,wBAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,wBAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,wBAAA,CAAA,eAAA,CAAA,GAAA,eAA+B;AAChC,CAAC,EALW,wBAAwB,KAAxB,wBAAwB,GAAA,EAAA,CAAA,CAAA;;MCYvB,oCAAoC,CAAA;AAOhD,IAAA,WAAA,CACkB,GAAqB,EACrB,IAAgB,EAChB,cAA8B,EAC/B,gBAAkC,EAAA;QAHjC,IAAA,CAAA,GAAG,GAAH,GAAG;QACH,IAAA,CAAA,IAAI,GAAJ,IAAI;QACJ,IAAA,CAAA,cAAc,GAAd,cAAc;QACf,IAAA,CAAA,gBAAgB,GAAhB,gBAAgB;QAVjC,IAAA,CAAA,qBAAqB,GAAG,QAAQ,CAC/B,IAAI,CAAC,IA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orMessage ?? 'PDF yüklenemedi' }]);
|
|
51
51
|
this.loading.set(false);
|
|
52
52
|
}
|
|
53
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
54
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PdfPreviewModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
54
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PdfPreviewModalComponent, isStandalone: true, selector: "aril-pdf-preview-modal", ngImport: i0, template: `
|
|
55
55
|
@if (pdfBase64()) {
|
|
56
56
|
<div style="width: 100%; height: 100%; margin: 0;">
|
|
57
57
|
<aril-pdf-viewer
|
|
@@ -66,7 +66,7 @@ class PdfPreviewModalComponent {
|
|
|
66
66
|
}
|
|
67
67
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: MessagesModule }, { kind: "component", type: i1.Messages, selector: "p-messages", inputs: ["value", "closable", "style", "styleClass", "enableService", "key", "escape", "severity", "showTransitionOptions", "hideTransitionOptions"], outputs: ["valueChange", "onClose"] }, { kind: "component", type: PdfViewerComponent, selector: "aril-pdf-viewer", inputs: ["showSidebarButton", "showFindButton", "showZoomButtons", "showPresentationModeButton", "height", "page", "src", "base64Src", "allowContextMenu", "handTool", "httpHeaders", "fileNameForDownload"] }, { kind: "component", type: LoaderComponent, selector: "aril-loader" }] }); }
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PdfPreviewModalComponent, decorators: [{
|
|
70
70
|
type: Component,
|
|
71
71
|
args: [{
|
|
72
72
|
standalone: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aril-ui-business-pdf-preview-modal.mjs","sources":["../../projects/aril/ui-business/pdf-preview-modal/src/pdf-preview-modal.component.ts","../../projects/aril/ui-business/pdf-preview-modal/src/open-pdf-preview.ts","../../projects/aril/ui-business/pdf-preview-modal/aril-ui-business-pdf-preview-modal.ts"],"sourcesContent":["import { Component, inject, signal } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\n\nimport { Message } from 'primeng/api';\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\nimport { MessagesModule } from 'primeng/messages';\n\nimport { LoaderComponent } from 'aril/ui/loader';\nimport { PdfViewerComponent } from 'aril/ui/pdf-viewer';\n\nexport interface PdfPreviewModalData {\n\tpdfBase64?: string;\n\turl?: string;\n\tfileNameForDownload?: string;\n\terrorMessage?: string;\n}\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-pdf-preview-modal',\n\timports: [MessagesModule, PdfViewerComponent, LoaderComponent],\n\ttemplate: `\n\t\t@if (pdfBase64()) {\n\t\t\t<div style=\"width: 100%; height: 100%; margin: 0;\">\n\t\t\t\t<aril-pdf-viewer\n\t\t\t\t\t[base64Src]=\"pdfBase64()!\"\n\t\t\t\t\t[fileNameForDownload]=\"fileName() ?? ''\"\n\t\t\t\t\theight=\"100%\" />\n\t\t\t</div>\n\t\t} @else if (loading()) {\n\t\t\t<aril-loader />\n\t\t} @else if (messages().length > 0) {\n\t\t\t<p-messages [value]=\"messages()\" [enableService]=\"false\" [closable]=\"false\" />\n\t\t}\n\t`\n})\nexport class PdfPreviewModalComponent {\n\treadonly ref = inject(DynamicDialogRef);\n\tprivate readonly dialogConfig = inject(DynamicDialogConfig);\n\tprivate readonly http = inject(HttpClient);\n\n\tpdfBase64 = signal<string | undefined>(undefined);\n\tfileName = signal<string | undefined>(undefined);\n\tloading = signal(false);\n\tmessages = signal<Message[]>([]);\n\n\tconstructor() {\n\t\tconst data = this.dialogConfig.data as PdfPreviewModalData | undefined;\n\t\tthis.fileName.set(data?.fileNameForDownload);\n\n\t\tif (data?.pdfBase64) {\n\t\t\tthis.pdfBase64.set(data.pdfBase64);\n\t\t} else if (data?.url) {\n\t\t\tthis.loadFromUrl(data.url, data.errorMessage);\n\t\t} else {\n\t\t\tthis.messages.set([\n\t\t\t\t{ severity: 'error', detail: data?.errorMessage ?? 'Görüntülenecek PDF verisi bulunamadı' }\n\t\t\t]);\n\t\t}\n\t}\n\n\tprivate loadFromUrl(url: string, errorMessage?: string): void {\n\t\tthis.loading.set(true);\n\t\tthis.http.get(url, { responseType: 'blob' }).subscribe({\n\t\t\tnext: (blob) => {\n\t\t\t\tconst reader = new FileReader();\n\t\t\t\treader.onloadend = () => {\n\t\t\t\t\tconst base64 = reader.result as string;\n\t\t\t\t\tthis.pdfBase64.set(base64.split(',')[1] || base64);\n\t\t\t\t\tthis.loading.set(false);\n\t\t\t\t};\n\t\t\t\treader.onerror = () => this.handleError(errorMessage);\n\t\t\t\treader.readAsDataURL(blob);\n\t\t\t},\n\t\t\terror: () => this.handleError(errorMessage)\n\t\t});\n\t}\n\n\tprivate handleError(errorMessage?: string): void {\n\t\tthis.messages.set([{ severity: 'error', detail: errorMessage ?? 'PDF yüklenemedi' }]);\n\t\tthis.loading.set(false);\n\t}\n}\n","import { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\n\nimport { PdfPreviewModalComponent, PdfPreviewModalData } from './pdf-preview-modal.component';\n\nexport interface OpenPdfPreviewOptions extends PdfPreviewModalData {\n\theader?: string;\n\twidth?: string;\n\theight?: string;\n\toverrideConfig?: Partial<DynamicDialogConfig>;\n}\n\nexport const PDF_PREVIEW_DIALOG_DEFAULTS: Partial<DynamicDialogConfig> = {\n\twidth: '60%',\n\theight: '85vh',\n\tcontentStyle: { padding: '0', overflow: 'hidden', height: '100%' },\n\tfocusOnShow: false,\n\tdraggable: true,\n\tclosable: true,\n\theader: 'PDF'\n};\n\nexport function openPdfPreview(\n\tdialogService: DialogService,\n\toptions: OpenPdfPreviewOptions\n): DynamicDialogRef {\n\tconst { header, width, height, overrideConfig, ...data } = options;\n\tconst config: DynamicDialogConfig = {\n\t\t...PDF_PREVIEW_DIALOG_DEFAULTS,\n\t\theader: header ?? PDF_PREVIEW_DIALOG_DEFAULTS.header,\n\t\twidth: width ?? PDF_PREVIEW_DIALOG_DEFAULTS.width,\n\t\theight: height ?? PDF_PREVIEW_DIALOG_DEFAULTS.height,\n\t\t...overrideConfig,\n\t\tdata\n\t};\n\treturn dialogService.open(PdfPreviewModalComponent, config);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAoCa,wBAAwB,CAAA;AAUpC,IAAA,WAAA,GAAA;AATS,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,gBAAgB,CAAC
|
|
1
|
+
{"version":3,"file":"aril-ui-business-pdf-preview-modal.mjs","sources":["../../projects/aril/ui-business/pdf-preview-modal/src/pdf-preview-modal.component.ts","../../projects/aril/ui-business/pdf-preview-modal/src/open-pdf-preview.ts","../../projects/aril/ui-business/pdf-preview-modal/aril-ui-business-pdf-preview-modal.ts"],"sourcesContent":["import { Component, inject, signal } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\n\nimport { Message } from 'primeng/api';\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\nimport { MessagesModule } from 'primeng/messages';\n\nimport { LoaderComponent } from 'aril/ui/loader';\nimport { PdfViewerComponent } from 'aril/ui/pdf-viewer';\n\nexport interface PdfPreviewModalData {\n\tpdfBase64?: string;\n\turl?: string;\n\tfileNameForDownload?: string;\n\terrorMessage?: string;\n}\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-pdf-preview-modal',\n\timports: [MessagesModule, PdfViewerComponent, LoaderComponent],\n\ttemplate: `\n\t\t@if (pdfBase64()) {\n\t\t\t<div style=\"width: 100%; height: 100%; margin: 0;\">\n\t\t\t\t<aril-pdf-viewer\n\t\t\t\t\t[base64Src]=\"pdfBase64()!\"\n\t\t\t\t\t[fileNameForDownload]=\"fileName() ?? ''\"\n\t\t\t\t\theight=\"100%\" />\n\t\t\t</div>\n\t\t} @else if (loading()) {\n\t\t\t<aril-loader />\n\t\t} @else if (messages().length > 0) {\n\t\t\t<p-messages [value]=\"messages()\" [enableService]=\"false\" [closable]=\"false\" />\n\t\t}\n\t`\n})\nexport class PdfPreviewModalComponent {\n\treadonly ref = inject(DynamicDialogRef);\n\tprivate readonly dialogConfig = inject(DynamicDialogConfig);\n\tprivate readonly http = inject(HttpClient);\n\n\tpdfBase64 = signal<string | undefined>(undefined);\n\tfileName = signal<string | undefined>(undefined);\n\tloading = signal(false);\n\tmessages = signal<Message[]>([]);\n\n\tconstructor() {\n\t\tconst data = this.dialogConfig.data as PdfPreviewModalData | undefined;\n\t\tthis.fileName.set(data?.fileNameForDownload);\n\n\t\tif (data?.pdfBase64) {\n\t\t\tthis.pdfBase64.set(data.pdfBase64);\n\t\t} else if (data?.url) {\n\t\t\tthis.loadFromUrl(data.url, data.errorMessage);\n\t\t} else {\n\t\t\tthis.messages.set([\n\t\t\t\t{ severity: 'error', detail: data?.errorMessage ?? 'Görüntülenecek PDF verisi bulunamadı' }\n\t\t\t]);\n\t\t}\n\t}\n\n\tprivate loadFromUrl(url: string, errorMessage?: string): void {\n\t\tthis.loading.set(true);\n\t\tthis.http.get(url, { responseType: 'blob' }).subscribe({\n\t\t\tnext: (blob) => {\n\t\t\t\tconst reader = new FileReader();\n\t\t\t\treader.onloadend = () => {\n\t\t\t\t\tconst base64 = reader.result as string;\n\t\t\t\t\tthis.pdfBase64.set(base64.split(',')[1] || base64);\n\t\t\t\t\tthis.loading.set(false);\n\t\t\t\t};\n\t\t\t\treader.onerror = () => this.handleError(errorMessage);\n\t\t\t\treader.readAsDataURL(blob);\n\t\t\t},\n\t\t\terror: () => this.handleError(errorMessage)\n\t\t});\n\t}\n\n\tprivate handleError(errorMessage?: string): void {\n\t\tthis.messages.set([{ severity: 'error', detail: errorMessage ?? 'PDF yüklenemedi' }]);\n\t\tthis.loading.set(false);\n\t}\n}\n","import { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\n\nimport { PdfPreviewModalComponent, PdfPreviewModalData } from './pdf-preview-modal.component';\n\nexport interface OpenPdfPreviewOptions extends PdfPreviewModalData {\n\theader?: string;\n\twidth?: string;\n\theight?: string;\n\toverrideConfig?: Partial<DynamicDialogConfig>;\n}\n\nexport const PDF_PREVIEW_DIALOG_DEFAULTS: Partial<DynamicDialogConfig> = {\n\twidth: '60%',\n\theight: '85vh',\n\tcontentStyle: { padding: '0', overflow: 'hidden', height: '100%' },\n\tfocusOnShow: false,\n\tdraggable: true,\n\tclosable: true,\n\theader: 'PDF'\n};\n\nexport function openPdfPreview(\n\tdialogService: DialogService,\n\toptions: OpenPdfPreviewOptions\n): DynamicDialogRef {\n\tconst { header, width, height, overrideConfig, ...data } = options;\n\tconst config: DynamicDialogConfig = {\n\t\t...PDF_PREVIEW_DIALOG_DEFAULTS,\n\t\theader: header ?? PDF_PREVIEW_DIALOG_DEFAULTS.header,\n\t\twidth: width ?? PDF_PREVIEW_DIALOG_DEFAULTS.width,\n\t\theight: height ?? PDF_PREVIEW_DIALOG_DEFAULTS.height,\n\t\t...overrideConfig,\n\t\tdata\n\t};\n\treturn dialogService.open(PdfPreviewModalComponent, config);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAoCa,wBAAwB,CAAA;AAUpC,IAAA,WAAA,GAAA;AATS,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACtB,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,mBAAmB,CAAC;AAC1C,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC;AAE1C,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM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AAG,OAAO;AAClE,IAAA,MAAM,MAAM,GAAwB;AACnC,QAAA,GAAG,2BAA2B;AAC9B,QAAA,MAAM,EAAE,MAAM,IAAI,2BAA2B,CAAC,MAAM;AACpD,QAAA,KAAK,EAAE,KAAK,IAAI,2BAA2B,CAAC,KAAK;AACjD,QAAA,MAAM,EAAE,MAAM,IAAI,2BAA2B,CAAC,MAAM;AACpD,QAAA,GAAG,cAAc;QACjB;KACA;IACD,OAAO,aAAa,CAAC,IAAI,CAAC,wBAAwB,EAAE,MAAM,CAAC;AAC5D;;ACnCA;;AAEG;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, EventEmitter,
|
|
2
|
+
import { input, EventEmitter, Output, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
3
|
import * as i1 from 'primeng/tag';
|
|
4
4
|
import { TagModule } from 'primeng/tag';
|
|
5
5
|
import { DetailedOverlayPanelComponent } from 'aril/ui-business/detailed-overlay-panel';
|
|
@@ -29,12 +29,12 @@ class RefValueComponent {
|
|
|
29
29
|
getFullUrl() {
|
|
30
30
|
return 'http://' + this.url + this.detailPageUrl() + '/' + this.assetId();
|
|
31
31
|
}
|
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
33
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.
|
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RefValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
33
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: RefValueComponent, isStandalone: true, selector: "aril-ref-value", inputs: { overlayPanelShow: { classPropertyName: "overlayPanelShow", publicName: "overlayPanelShow", isSignal: true, isRequired: false, transformFunction: null }, assetId: { classPropertyName: "assetId", publicName: "assetId", isSignal: true, isRequired: true, transformFunction: null }, valueDesc: { classPropertyName: "valueDesc", publicName: "valueDesc", isSignal: true, isRequired: true, transformFunction: null }, detailPageUrl: { classPropertyName: "detailPageUrl", publicName: "detailPageUrl", isSignal: true, isRequired: true, transformFunction: null }, target: { classPropertyName: "target", publicName: "target", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clickEvent: "clickEvent" }, ngImport: i0, template: "@if (detailPageUrl() && valueDesc() && assetId()) {\n\t@if (overlayPanelShow()) {\n\t\t<aril-detailed-oveylay-panel [assetId]=\"assetId()\">\n\t\t\t<a [href]=\"getFullUrl()\" [target]=\"target()\">\n\t\t\t\t<p-tag [value]=\"getDisplayValue()\" [style]=\"tagStyle\" />\n\t\t\t</a>\n\t\t</aril-detailed-oveylay-panel>\n\t} @else {\n\t\t<a [href]=\"getFullUrl()\" [target]=\"target()\">\n\t\t\t<p-tag [value]=\"getDisplayValue()\" [style]=\"tagStyle\" />\n\t\t</a>\n\t}\n} @else if (valueDesc() || assetId()) {\n\t@if (overlayPanelShow() && assetId()) {\n\t\t<aril-detailed-oveylay-panel [assetId]=\"assetId()\">\n\t\t\t<p-tag\n\t\t\t\t[value]=\"getDisplayValue()\"\n\t\t\t\t[style]=\"tagStyle\"\n\t\t\t\t(click)=\"clickEvent.emit({ assetId: assetId(), valueDesc: valueDesc() })\" />\n\t\t</aril-detailed-oveylay-panel>\n\t} @else {\n\t\t<p-tag\n\t\t\t[value]=\"getDisplayValue()\"\n\t\t\t[style]=\"tagStyle\"\n\t\t\t(click)=\"clickEvent.emit({ assetId: assetId(), valueDesc: valueDesc() })\" />\n\t}\n} @else {\n\t<aril-value type=\"text\" [model]=\"null\" />\n}\n", dependencies: [{ kind: "component", type: ValueComponent, selector: "aril-value", inputs: ["model", "type", "format", "isClickable", "groupName", "parentSelectionKey", "isTextClamp", "textClampCharacters", "style", "copyable", "shouldShowCopyForClampedText", "arrayTypeDisplayName", "arrayTypeMaxBadgeCount", "bigDecimalRoundingMode", "bigDecimalScale"] }, { kind: "component", type: DetailedOverlayPanelComponent, selector: "aril-detailed-oveylay-panel", inputs: ["assetId", "style", "styleClass", "columns"] }, { kind: "ngmodule", type: TagModule }, { kind: "component", type: i1.Tag, selector: "p-tag", inputs: ["style", "styleClass", "severity", "value", "icon", "rounded"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
34
34
|
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RefValueComponent, decorators: [{
|
|
36
36
|
type: Component,
|
|
37
|
-
args: [{ standalone: true, selector: 'aril-ref-value', imports: [ValueComponent, DetailedOverlayPanelComponent, TagModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (detailPageUrl() && valueDesc() && assetId()) {\n\t@if (overlayPanelShow()) {\n\t\t<aril-detailed-oveylay-panel [assetId]=\"assetId()\">\n\t\t\t<a [href]=\"getFullUrl()\" [target]=\"target()\">\n\t\t\t\t<p-tag [value]=\"getDisplayValue()\" [style]=\"tagStyle\" />\n\t\t\t</a>\n\t\t</aril-detailed-oveylay-panel>\n\t} @else {\n\t\t<a [href]=\"getFullUrl()\" [target]=\"target()\">\n\t\t\t<p-tag [value]=\"getDisplayValue()\" [style]=\"tagStyle\" />\n\t\t</a>\n\t}\n} @else if (valueDesc() || assetId()) {\n\t@if (overlayPanelShow()) {\n\t\t<aril-detailed-oveylay-panel [assetId]=\"assetId()\">\n\t\t\t<p-tag\n\t\t\t\t[value]=\"getDisplayValue()\"\n\t\t\t\t[style]=\"tagStyle\"\n\t\t\t\t(click)=\"clickEvent.emit({ assetId: assetId(), valueDesc: valueDesc() })\" />\n\t\t</aril-detailed-oveylay-panel>\n\t} @else {\n\t\t<p-tag\n\t\t\t[value]=\"getDisplayValue()\"\n\t\t\t[style]=\"tagStyle\"\n\t\t\t(click)=\"clickEvent.emit({ assetId: assetId(), valueDesc: valueDesc() })\" />\n\t}\n} @else {\n\t<aril-value type=\"text\" [model]=\"null\" />\n}\n" }]
|
|
37
|
+
args: [{ standalone: true, selector: 'aril-ref-value', imports: [ValueComponent, DetailedOverlayPanelComponent, TagModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (detailPageUrl() && valueDesc() && assetId()) {\n\t@if (overlayPanelShow()) {\n\t\t<aril-detailed-oveylay-panel [assetId]=\"assetId()\">\n\t\t\t<a [href]=\"getFullUrl()\" [target]=\"target()\">\n\t\t\t\t<p-tag [value]=\"getDisplayValue()\" [style]=\"tagStyle\" />\n\t\t\t</a>\n\t\t</aril-detailed-oveylay-panel>\n\t} @else {\n\t\t<a [href]=\"getFullUrl()\" [target]=\"target()\">\n\t\t\t<p-tag [value]=\"getDisplayValue()\" [style]=\"tagStyle\" />\n\t\t</a>\n\t}\n} @else if (valueDesc() || assetId()) {\n\t@if (overlayPanelShow() && assetId()) {\n\t\t<aril-detailed-oveylay-panel [assetId]=\"assetId()\">\n\t\t\t<p-tag\n\t\t\t\t[value]=\"getDisplayValue()\"\n\t\t\t\t[style]=\"tagStyle\"\n\t\t\t\t(click)=\"clickEvent.emit({ assetId: assetId(), valueDesc: valueDesc() })\" />\n\t\t</aril-detailed-oveylay-panel>\n\t} @else {\n\t\t<p-tag\n\t\t\t[value]=\"getDisplayValue()\"\n\t\t\t[style]=\"tagStyle\"\n\t\t\t(click)=\"clickEvent.emit({ assetId: assetId(), valueDesc: valueDesc() })\" />\n\t}\n} @else {\n\t<aril-value type=\"text\" [model]=\"null\" />\n}\n" }]
|
|
38
38
|
}], propDecorators: { clickEvent: [{
|
|
39
39
|
type: Output
|
|
40
40
|
}] } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aril-ui-business-ref-value.mjs","sources":["../../projects/aril/ui-business/ref-value/src/ref-value.component.ts","../../projects/aril/ui-business/ref-value/src/ref-value.component.html","../../projects/aril/ui-business/ref-value/aril-ui-business-ref-value.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Output, input } from '@angular/core';\n\nimport { TagModule } from 'primeng/tag';\n\nimport { DetailedOverlayPanelComponent } from 'aril/ui-business/detailed-overlay-panel';\nimport { ValueComponent } from 'aril/ui/value';\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-ref-value',\n\ttemplateUrl: './ref-value.component.html',\n\timports: [ValueComponent, DetailedOverlayPanelComponent, TagModule],\n\tchangeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class RefValueComponent {\n\toverlayPanelShow = input<boolean>(true);\n\tassetId = input.required<number>();\n\tvalueDesc = input.required<string>();\n\tdetailPageUrl = input.required<string | undefined>();\n\ttarget = input<string>('_self');\n\n\t@Output() clickEvent = new EventEmitter();\n\n\tprotected readonly tagStyle = {\n\t\tbackground: '#f0f0f0',\n\t\tcolor: '-webkit-link',\n\t\t'font-size': '0.9rem',\n\t\t'text-decoration': 'underline'\n\t};\n\n\tprotected getDisplayValue(): string {\n\t\treturn this.valueDesc() ?? this.assetId().toString();\n\t}\n\n\tget url(): string {\n\t\treturn `${globalThis.location.host}/#/`;\n\t}\n\n\tprotected getFullUrl(): string {\n\t\treturn 'http://' + this.url + this.detailPageUrl() + '/' + this.assetId();\n\n\t}\n\n}\n","@if (detailPageUrl() && valueDesc() && assetId()) {\n\t@if (overlayPanelShow()) {\n\t\t<aril-detailed-oveylay-panel [assetId]=\"assetId()\">\n\t\t\t<a [href]=\"getFullUrl()\" [target]=\"target()\">\n\t\t\t\t<p-tag [value]=\"getDisplayValue()\" [style]=\"tagStyle\" />\n\t\t\t</a>\n\t\t</aril-detailed-oveylay-panel>\n\t} @else {\n\t\t<a [href]=\"getFullUrl()\" [target]=\"target()\">\n\t\t\t<p-tag [value]=\"getDisplayValue()\" [style]=\"tagStyle\" />\n\t\t</a>\n\t}\n} @else if (valueDesc() || assetId()) {\n\t@if (overlayPanelShow()) {\n\t\t<aril-detailed-oveylay-panel [assetId]=\"assetId()\">\n\t\t\t<p-tag\n\t\t\t\t[value]=\"getDisplayValue()\"\n\t\t\t\t[style]=\"tagStyle\"\n\t\t\t\t(click)=\"clickEvent.emit({ assetId: assetId(), valueDesc: valueDesc() })\" />\n\t\t</aril-detailed-oveylay-panel>\n\t} @else {\n\t\t<p-tag\n\t\t\t[value]=\"getDisplayValue()\"\n\t\t\t[style]=\"tagStyle\"\n\t\t\t(click)=\"clickEvent.emit({ assetId: assetId(), valueDesc: valueDesc() })\" />\n\t}\n} @else {\n\t<aril-value type=\"text\" [model]=\"null\" />\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAca,iBAAiB,CAAA;AAP9B,IAAA,WAAA,GAAA;AAQC,QAAA,IAAA,CAAA,gBAAgB,GAAG,KAAK,CAAU,IAAI,CAAC
|
|
1
|
+
{"version":3,"file":"aril-ui-business-ref-value.mjs","sources":["../../projects/aril/ui-business/ref-value/src/ref-value.component.ts","../../projects/aril/ui-business/ref-value/src/ref-value.component.html","../../projects/aril/ui-business/ref-value/aril-ui-business-ref-value.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Output, input } from '@angular/core';\n\nimport { TagModule } from 'primeng/tag';\n\nimport { DetailedOverlayPanelComponent } from 'aril/ui-business/detailed-overlay-panel';\nimport { ValueComponent } from 'aril/ui/value';\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-ref-value',\n\ttemplateUrl: './ref-value.component.html',\n\timports: [ValueComponent, DetailedOverlayPanelComponent, TagModule],\n\tchangeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class RefValueComponent {\n\toverlayPanelShow = input<boolean>(true);\n\tassetId = input.required<number>();\n\tvalueDesc = input.required<string>();\n\tdetailPageUrl = input.required<string | undefined>();\n\ttarget = input<string>('_self');\n\n\t@Output() clickEvent = new EventEmitter();\n\n\tprotected readonly tagStyle = {\n\t\tbackground: '#f0f0f0',\n\t\tcolor: '-webkit-link',\n\t\t'font-size': '0.9rem',\n\t\t'text-decoration': 'underline'\n\t};\n\n\tprotected getDisplayValue(): string {\n\t\treturn this.valueDesc() ?? this.assetId().toString();\n\t}\n\n\tget url(): string {\n\t\treturn `${globalThis.location.host}/#/`;\n\t}\n\n\tprotected getFullUrl(): string {\n\t\treturn 'http://' + this.url + this.detailPageUrl() + '/' + this.assetId();\n\n\t}\n\n}\n","@if (detailPageUrl() && valueDesc() && assetId()) {\n\t@if (overlayPanelShow()) {\n\t\t<aril-detailed-oveylay-panel [assetId]=\"assetId()\">\n\t\t\t<a [href]=\"getFullUrl()\" [target]=\"target()\">\n\t\t\t\t<p-tag [value]=\"getDisplayValue()\" [style]=\"tagStyle\" />\n\t\t\t</a>\n\t\t</aril-detailed-oveylay-panel>\n\t} @else {\n\t\t<a [href]=\"getFullUrl()\" [target]=\"target()\">\n\t\t\t<p-tag [value]=\"getDisplayValue()\" [style]=\"tagStyle\" />\n\t\t</a>\n\t}\n} @else if (valueDesc() || assetId()) {\n\t@if (overlayPanelShow() && assetId()) {\n\t\t<aril-detailed-oveylay-panel [assetId]=\"assetId()\">\n\t\t\t<p-tag\n\t\t\t\t[value]=\"getDisplayValue()\"\n\t\t\t\t[style]=\"tagStyle\"\n\t\t\t\t(click)=\"clickEvent.emit({ assetId: assetId(), valueDesc: valueDesc() })\" />\n\t\t</aril-detailed-oveylay-panel>\n\t} @else {\n\t\t<p-tag\n\t\t\t[value]=\"getDisplayValue()\"\n\t\t\t[style]=\"tagStyle\"\n\t\t\t(click)=\"clickEvent.emit({ assetId: assetId(), valueDesc: valueDesc() })\" />\n\t}\n} @else {\n\t<aril-value type=\"text\" [model]=\"null\" />\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAca,iBAAiB,CAAA;AAP9B,IAAA,WAAA,GAAA;AAQC,QAAA,IAAA,CAAA,gBAAgB,GAAG,KAAK,CAAU,IAAI,CAAC;AACvC,QAAA,IAA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QAAA,EAAA,aAAA,EAAA,WAAA,EAAA,oBAAA,EAAA,aAAA,EAAA,qBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,8BAAA,EAAA,sBAAA,EAAA,wBAAA,EAAA,wBAAA,EAAA,iBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,6BAA6B,8HAAE,SAAS,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,GAAA,EAAA,QAAA,EAAA,OAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,YAAA,EAAA,UAAA,EAAA,OAAA,EAAA,MAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAGtD,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAP7B,SAAS;AACG,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EAAA,QAAA,EACN,gBAAgB,EAAA,OAAA,EAEjB,CAAC,cAAc,EAAE,6BAA6B,EAAE,SAAS,CAAC,EAAA,eAAA,EAClD,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,wiCAAA,EAAA;8BASrC,UAAU,EAAA,CAAA;sBAAnB;;;AErBF;;AAEG;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, EventEmitter, effect,
|
|
2
|
+
import { input, EventEmitter, effect, Output, Component } from '@angular/core';
|
|
3
3
|
import * as i4 from '@angular/forms';
|
|
4
4
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
5
|
import * as i5 from 'primeng/autocomplete';
|
|
@@ -67,12 +67,12 @@ class RolePickerComponent extends BaseInputComponent {
|
|
|
67
67
|
])
|
|
68
68
|
];
|
|
69
69
|
}
|
|
70
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
71
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.
|
|
70
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RolePickerComponent, deps: [{ token: i1.HttpClient }, { token: i2.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
71
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.3.12", type: RolePickerComponent, isStandalone: true, selector: "aril-role-picker[formControl], aril-role-picker[formControlName]", inputs: { placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, forceSelection: { classPropertyName: "forceSelection", publicName: "forceSelection", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, excludeItems: { classPropertyName: "excludeItems", publicName: "excludeItems", isSignal: true, isRequired: false, transformFunction: null }, baseUrl: { classPropertyName: "baseUrl", publicName: "baseUrl", isSignal: true, isRequired: false, transformFunction: null }, roleEndPointUrl: { classPropertyName: "roleEndPointUrl", publicName: "roleEndPointUrl", isSignal: true, isRequired: false, transformFunction: null }, client: { classPropertyName: "client", publicName: "client", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { SelectionChanged: "SelectionChanged" }, providers: [InputErrorMessagePipe], usesInheritance: true, hostDirectives: [{ directive: i3.ValueAccessorDirective }], ngImport: i0, template: "<p-autoComplete\n\t[optionLabel]=\"undefined\"\n\t[optionValue]=\"undefined\"\n\t[placeholder]=\"placeholder()\"\n\t[multiple]=\"multiple()\"\n\t[forceSelection]=\"forceSelection()\"\n\t[delay]=\"400\"\n\t[suggestions]=\"filteredSelectionItems\"\n\t(completeMethod)=\"completeMethod($event)\"\n\t[formControl]=\"ngControl.control\"\n\t[autoHighlight]=\"true\"\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\n\n\tappendTo=\"body\">\n<!--\t<ng-template let-item pTemplate=\"item\">\n\t\t<div>\n\t\t\t<span>{{ item?.text }}</span>\n\t\t</div>\n\t</ng-template>\n\t-->\n</p-autoComplete>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: AutoCompleteModule }, { kind: "component", type: i5.AutoComplete, selector: "p-autoComplete", inputs: ["minLength", "delay", "style", "panelStyle", "styleClass", "panelStyleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "readonly", "disabled", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "maxlength", "name", "required", "size", "appendTo", "autoHighlight", "forceSelection", "type", "autoZIndex", "baseZIndex", "ariaLabel", "dropdownAriaLabel", "ariaLabelledBy", "dropdownIcon", "unique", "group", "completeOnFocus", "showClear", "field", "dropdown", "showEmptyMessage", "dropdownMode", "multiple", "tabindex", "dataKey", "emptyMessage", "showTransitionOptions", "hideTransitionOptions", "autofocus", "autocomplete", "optionGroupChildren", "optionGroupLabel", "overlayOptions", "suggestions", "itemSize", "optionLabel", "optionValue", "id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "selectOnFocus", "searchLocale", "optionDisabled", "focusOnHover", "variant"], outputs: ["completeMethod", "onSelect", "onUnselect", "onFocus", "onBlur", "onDropdownClick", "onClear", "onKeyUp", "onShow", "onHide", "onLazyLoad"] }] }); }
|
|
72
72
|
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RolePickerComponent, decorators: [{
|
|
74
74
|
type: Component,
|
|
75
|
-
args: [{ standalone: true, selector: 'aril-role-picker[formControl], aril-role-picker[formControlName]', imports: [ReactiveFormsModule, AutoCompleteModule], providers: [InputErrorMessagePipe], hostDirectives: [ValueAccessorDirective], template: "<p-autoComplete\
|
|
75
|
+
args: [{ standalone: true, selector: 'aril-role-picker[formControl], aril-role-picker[formControlName]', imports: [ReactiveFormsModule, AutoCompleteModule], providers: [InputErrorMessagePipe], hostDirectives: [ValueAccessorDirective], template: "<p-autoComplete\n\t[optionLabel]=\"undefined\"\n\t[optionValue]=\"undefined\"\n\t[placeholder]=\"placeholder()\"\n\t[multiple]=\"multiple()\"\n\t[forceSelection]=\"forceSelection()\"\n\t[delay]=\"400\"\n\t[suggestions]=\"filteredSelectionItems\"\n\t(completeMethod)=\"completeMethod($event)\"\n\t[formControl]=\"ngControl.control\"\n\t[autoHighlight]=\"true\"\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\n\n\tappendTo=\"body\">\n<!--\t<ng-template let-item pTemplate=\"item\">\n\t\t<div>\n\t\t\t<span>{{ item?.text }}</span>\n\t\t</div>\n\t</ng-template>\n\t-->\n</p-autoComplete>\n" }]
|
|
76
76
|
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.TranslocoService }], propDecorators: { SelectionChanged: [{
|
|
77
77
|
type: Output
|
|
78
78
|
}] } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aril-ui-business-rolePicker.mjs","sources":["../../projects/aril/ui-business/rolePicker/src/role-picker.component.ts","../../projects/aril/ui-business/rolePicker/src/role-picker.component.html","../../projects/aril/ui-business/rolePicker/aril-ui-business-rolePicker.ts"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\
|
|
1
|
+
{"version":3,"file":"aril-ui-business-rolePicker.mjs","sources":["../../projects/aril/ui-business/rolePicker/src/role-picker.component.ts","../../projects/aril/ui-business/rolePicker/src/role-picker.component.html","../../projects/aril/ui-business/rolePicker/aril-ui-business-rolePicker.ts"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\nimport { Component, EventEmitter, OnInit, Output, effect, input, signal } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { AutoCompleteModule } from 'primeng/autocomplete';\n\nimport { TranslocoService } from '@ngneat/transloco';\n\nimport { firstValueFrom } from 'rxjs';\n\nimport { API_CONFIGS } from 'aril/boot/config/api';\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\n\nimport { RoleResponseDTO, SelectBoxItem, SuggestionsDTO } from './interface';\nimport { Apps } from 'aril/boot/config/apps';\n\n@Component({\n\tstandalone: true,\n\tselector: 'aril-role-picker[formControl], aril-role-picker[formControlName]',\n\ttemplateUrl: './role-picker.component.html',\n\timports: [ReactiveFormsModule, AutoCompleteModule],\n\tproviders: [InputErrorMessagePipe],\n\thostDirectives: [ValueAccessorDirective]\n})\nexport class RolePickerComponent extends BaseInputComponent {\n\tplaceholder = input<string>('Arama...');\n\tforceSelection = input<boolean>(false);\n\tmultiple = input<boolean>(false);\n\texcludeItems = input<string[]>([]);\n\n\tfilteredSelectionItems!: string[];\n\n\tbaseUrl = input<string | null>(API_CONFIGS.getExternalAppEndpoint(Apps.MW));\n\troleEndPointUrl = input<string>('/user-management/roles/by-client-reference-key?clientReferenceKey=');\n\tclient = input<string>('thor');\n\troleItems: any = [];\n\tselectionItems: string[] = [];\n\n\t@Output() SelectionChanged = new EventEmitter<SelectBoxItem>();\n\n\tconstructor(private http: HttpClient, private translocoService: TranslocoService) {\n\t\tsuper();\n\t\teffect(() => {\n\t\t\tif (this.client())\n\t\t\t\tthis.getRoleItems().then((roleItems) => {\n\t\t\t\t\t//const x: string[] = this.ngControl.value;\n//\n\t\t\t\t\t//const y: { key: string; text: string }[] = roleItems;\n//\n\t\t\t\t\t//const matched = y.filter((item) => x.includes(item.text));\n//\n\t\t\t\t\t//this.ngControl.control.setValue(matched);\n\t\t\t\t\t\n\t\t\t\t});\n\t\t});\n\t}\n\n\tasync getRoleItems() {\n\t\tthis.roleItems = await firstValueFrom(\n\t\t\tthis.http.get<RoleResponseDTO[]>(this.baseUrl() + this.roleEndPointUrl() + this.client())\n\t\t).then((roleItems) => {\n\t\t\troleItems.forEach((item: RoleResponseDTO) => {\n\t\t\t\tthis.selectionItems.push(\n\t\t\t\t item.name\n\t\t\t);\n\t\t\t});\n\t\t});\n\n\t\treturn this.selectionItems;\n\t}\n\n\tcompleteMethod(event: any) {\n\t\tconst query = event.query;\n\n\t\tthis.filteredSelectionItems = this.filterSelection(query, this.selectionItems);\n\t}\n\n\tfilterSelection(query: string, selectionItems: string[]): string[] {\n\t\tconst exclude = this.excludeItems();\n\t\tconst available = exclude.length ? selectionItems.filter((item) => !exclude.includes(item)) : selectionItems;\n\n\t\tconst filtered: string[] =\n\t\t\tthis.multiple() ? (available.filter((item) => item === query) ?? []) : [];\n\n\t\tconst lang = this.translocoService.getActiveLang();\n\t\tconst lowerQuery = query.toLocaleLowerCase(lang);\n\t\treturn [\n\t\t\t...new Set([\n\t\t\t\t...filtered,\n\t\t\t\t...available.filter((selectionItem) => {\n\t\t\t\t\treturn selectionItem.toLocaleLowerCase(lang).indexOf(lowerQuery) == 0;\n\t\t\t\t})\n\t\t\t])\n\t\t];\n\t}\n}\n","<p-autoComplete\n\t[optionLabel]=\"undefined\"\n\t[optionValue]=\"undefined\"\n\t[placeholder]=\"placeholder()\"\n\t[multiple]=\"multiple()\"\n\t[forceSelection]=\"forceSelection()\"\n\t[delay]=\"400\"\n\t[suggestions]=\"filteredSelectionItems\"\n\t(completeMethod)=\"completeMethod($event)\"\n\t[formControl]=\"ngControl.control\"\n\t[autoHighlight]=\"true\"\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\n\n\tappendTo=\"body\">\n<!--\t<ng-template let-item pTemplate=\"item\">\n\t\t<div>\n\t\t\t<span>{{ item?.text }}</span>\n\t\t</div>\n\t</ng-template>\n\t-->\n</p-autoComplete>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';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