aril 1.1.71 → 1.1.73
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/.eslintrc.json +41 -0
- package/README.md +62 -62
- package/boot/config/api/ng-package.json +6 -0
- package/boot/config/api/src/api.sample.json +8 -0
- package/boot/config/api/src/api.service.ts +91 -0
- package/boot/config/api/src/interfaces.ts +65 -0
- package/boot/config/apps/ng-package.json +6 -0
- package/boot/config/apps/src/apps.service.ts +62 -0
- package/boot/config/apps/src/auth.guard.ts +22 -0
- package/boot/config/apps/src/interfaces.ts +58 -0
- package/boot/config/apps/src/reuse-strategy.ts +10 -0
- package/boot/config/apps/src/showdowDOMWrapper.ts +28 -0
- package/boot/config/plugins/ng-package.json +6 -0
- package/boot/config/plugins/src/getNgZone.ts +7 -0
- package/boot/config/plugins/src/interfaces.ts +75 -0
- package/boot/config/plugins/src/plugins.service.ts +110 -0
- package/boot/config/translate/constants.ts +4 -0
- package/boot/config/translate/ng-package.json +6 -0
- package/boot/config/translate/primeng/i18n/tr.ts +59 -0
- package/boot/host/ng-package.json +6 -0
- package/boot/host/src/app.component.ts +51 -0
- package/boot/host/src/bootstrap.ts +87 -0
- package/boot/index.ts +1 -0
- package/boot/mfe/ng-package.json +6 -0
- package/boot/mfe/src/app.component.ts +63 -0
- package/boot/mfe/src/appComponentLoader.ts +4 -0
- package/boot/mfe/src/bootstrap.ts +97 -0
- package/boot/mfe/src/loadStyles.ts +42 -0
- package/boot/mfe/src/monaco.config.ts +266 -0
- package/boot/ng-package.json +6 -0
- package/http/index.ts +13 -0
- package/http/lib/enums.ts +31 -0
- package/http/lib/interfaces.ts +46 -0
- package/http/ng-package.json +6 -0
- package/http/src/httpBackend.ts +12 -0
- package/http/src/httpClient.ts +20 -0
- package/http/src/interceptor/accept-language.interceptor.ts +32 -0
- package/http/src/serviceBase.ts +175 -0
- package/http/src/serviceMockBase.ts +12 -0
- package/http/src/serviceRequest.ts +28 -0
- package/http/src/serviceStateMethods.ts +211 -0
- package/i18n/ng-package.json +6 -0
- package/i18n/src/folder-name-token.ts +3 -0
- package/i18n/src/i18n.module.ts +11 -0
- package/i18n/src/loader.ts +13 -0
- package/i18n/src/provideI18n.ts +18 -0
- package/i18n/src/provideScope.ts +20 -0
- package/keycloak/index.ts +1 -0
- package/keycloak/ng-package.json +6 -0
- package/keycloak/src/auth.interceptor.ts +103 -0
- package/ng-package.json +16 -0
- package/package.json +43 -534
- package/project.json +39 -0
- package/provider/ng-package.json +6 -0
- package/provider/src/index.ts +5 -0
- package/provider/src/prodiveHost.ts +15 -0
- package/provider/src/prodiveHostRouter.ts +21 -0
- package/provider/src/provideHostKeycloak.ts +34 -0
- package/provider/src/provideLocaleId.ts +22 -0
- 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/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/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 +411 -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/indigo/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/custom/theme.scss +16 -16
- package/theme/styles/theme/light/indigo/theme.scss +14 -14
- package/tsconfig.lib.json +12 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +9 -0
- package/ui/autoComplete/ng-package.json +6 -0
- package/ui/autoComplete/src/auto-complete.component.html +14 -0
- package/ui/autoComplete/src/auto-complete.component.ts +130 -0
- package/ui/autoComplete/src/interfaces.ts +35 -0
- package/ui/badge/ng-package.json +6 -0
- package/ui/badge/src/badge.component.html +11 -0
- package/ui/badge/src/badge.component.ts +63 -0
- package/ui/button/ng-package.json +6 -0
- package/ui/button/src/button.component.html +12 -0
- package/ui/button/src/button.component.ts +47 -0
- package/ui/button/src/split-button.component.html +2 -0
- package/ui/button/src/split-button.component.ts +17 -0
- package/ui/calendar/ng-package.json +6 -0
- package/ui/calendar/src/calendar.component.html +48 -0
- package/ui/calendar/src/calendar.component.ts +257 -0
- package/ui/charts/index.ts +13 -0
- package/ui/charts/ng-package.json +6 -0
- package/ui/charts/src/amCharts/column/column-chart.component.ts +144 -0
- package/ui/charts/src/amCharts/line/line-chart.component.ts +194 -0
- package/ui/charts/src/amCharts/pie/pie-chart.component.ts +132 -0
- package/ui/charts/src/highCharts/area/area-chart.component.ts +112 -0
- package/ui/charts/src/highCharts/bar/bar-chart.component.ts +100 -0
- package/ui/charts/src/highCharts/bar/bar-chart.components.scss +50 -0
- package/ui/charts/src/highCharts/column/column-chart.component copy.ts +50 -0
- package/ui/charts/src/highCharts/column/column-chart.component.ts +125 -0
- package/ui/charts/src/highCharts/column/column-chart.components.scss +50 -0
- package/ui/charts/src/highCharts/gauge/solid-gauge.component.ts +199 -0
- package/ui/charts/src/highCharts/heatmap/heatMap-chart.component.ts +279 -0
- package/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.ts +185 -0
- package/ui/charts/src/highCharts/line/line-chart-series.component.ts +92 -0
- package/ui/charts/src/highCharts/line/line-chart.component.ts +85 -0
- package/ui/charts/src/highCharts/pie/pie-chart.component.ts +139 -0
- package/ui/charts/src/theme/theme.ts +55 -0
- package/ui/checkbox/ng-package.json +6 -0
- package/ui/checkbox/src/check-box.component.html +15 -0
- package/ui/checkbox/src/check-box.component.ts +24 -0
- package/ui/checkbox/src/tri-state-checkbox.component.html +7 -0
- package/ui/checkbox/src/tri-state-checkbox.component.ts +20 -0
- package/ui/chip/index.ts +1 -0
- package/ui/chip/ng-package.json +6 -0
- package/ui/chip/src/chip.component.html +33 -0
- package/ui/chip/src/chip.component.ts +144 -0
- package/ui/collapse-reorder-list/index.ts +1 -0
- package/ui/collapse-reorder-list/ng-package.json +6 -0
- package/ui/collapse-reorder-list/src/collapse-reorder-list.component.html +42 -0
- package/ui/collapse-reorder-list/src/collapse-reorder-list.component.scss +24 -0
- package/ui/collapse-reorder-list/src/collapse-reorder-list.component.ts +56 -0
- package/ui/dxEditor/ng-package.json +6 -0
- package/ui/dxEditor/src/dx-editor.component.html +67 -0
- package/ui/dxEditor/src/dx-editor.component.ts +19 -0
- package/ui/dxField/ng-package.json +6 -0
- package/ui/dxField/src/dx-field.component.html +15 -0
- package/ui/dxField/src/dx-field.component.ts +17 -0
- package/ui/editor/ng-package.json +6 -0
- package/ui/editor/src/aril-editor.component.html +16 -0
- package/ui/editor/src/aril-editor.component.scss +18 -0
- package/ui/editor/src/aril-editor.component.ts +176 -0
- package/ui/editor/src/types.ts +24 -0
- package/ui/field/ng-package.json +6 -0
- package/ui/field/src/field.component.html +27 -0
- package/ui/field/src/field.component.ts +53 -0
- package/ui/fileUpload/ng-package.json +6 -0
- package/ui/fileUpload/src/file-upload.component.html +76 -0
- package/ui/fileUpload/src/file-upload.component.ts +90 -0
- package/ui/form/index.ts +18 -0
- package/ui/form/ng-package.json +6 -0
- package/ui/form/src/form-submit-button.component.html +12 -0
- package/ui/form/src/form-submit-button.component.ts +36 -0
- package/ui/form/src/form.component.ts +20 -0
- package/ui/img-viewer/index.ts +2 -0
- package/ui/img-viewer/ng-package.json +6 -0
- package/ui/img-viewer/src/img-viewer.component.html +12 -0
- package/ui/img-viewer/src/img-viewer.component.scss +8 -0
- package/ui/img-viewer/src/img-viewer.component.ts +59 -0
- package/ui/index.ts +1 -0
- package/ui/json-diff-comparison/ng-package.json +6 -0
- package/ui/json-diff-comparison/src/json-diff.component.html +5 -0
- package/ui/json-diff-comparison/src/json-diff.component.ts +45 -0
- package/ui/lib/index.ts +17 -0
- package/ui/lib/ng-package.json +6 -0
- package/ui/lib/src/form/form-error-message.component.ts +25 -0
- package/ui/lib/src/form/form-error-message.directive.ts +32 -0
- package/ui/lib/src/form/form-field-builder.ts +31 -0
- package/ui/lib/src/form/form-validation.ts +14 -0
- package/ui/lib/src/grid/enum-color-picker.pipe.ts +33 -0
- package/ui/lib/src/grid/flex-grid.directive.ts +10 -0
- package/ui/lib/src/input/baseInput.ts +30 -0
- package/ui/lib/src/input/common-input-validators.service.ts +57 -0
- package/ui/lib/src/input/dx-input-error-message.pipe.ts +16 -0
- package/ui/lib/src/input/input-disabled.directive.ts +15 -0
- package/ui/lib/src/input/input-error-message.pipe.ts +71 -0
- package/ui/lib/src/input/input-transforms.ts +11 -0
- package/ui/lib/src/input/value-accessor.directive.ts +31 -0
- package/ui/loader/ng-package.json +6 -0
- package/ui/loader/src/loader.component.html +7 -0
- package/ui/loader/src/loader.component.scss +6 -0
- package/ui/loader/src/loader.component.ts +14 -0
- package/ui/mask/ng-package.json +6 -0
- package/ui/mask/src/mask.component.css +23 -0
- package/ui/mask/src/mask.component.html +17 -0
- package/ui/mask/src/mask.component.ts +34 -0
- package/ui/multiSelect/ng-package.json +6 -0
- package/ui/multiSelect/src/interfaces.ts +41 -0
- package/ui/multiSelect/src/multi-select.component.html +14 -0
- package/ui/multiSelect/src/multi-select.component.ts +66 -0
- package/ui/ng-package.json +6 -0
- package/ui/number/ng-package.json +6 -0
- package/ui/number/src/number.component.html +26 -0
- package/ui/number/src/number.component.ts +36 -0
- package/ui/operation-types-dialog/ng-package.json +6 -0
- package/ui/operation-types-dialog/src/operation-types-dialog.component.ts +98 -0
- package/ui/overlayPanel/ng-package.json +6 -0
- package/ui/overlayPanel/src/overlay-panel.component.html +5 -0
- package/ui/overlayPanel/src/overlay-panel.component.ts +16 -0
- package/ui/panel/ng-package.json +6 -0
- package/ui/panel/src/panel.component.css +38 -0
- package/ui/panel/src/panel.component.html +44 -0
- package/ui/panel/src/panel.component.ts +31 -0
- package/ui/password/ng-package.json +6 -0
- package/ui/password/src/password.component.html +25 -0
- package/ui/password/src/password.component.ts +22 -0
- package/ui/pdf-viewer/ng-package.json +6 -0
- package/ui/pdf-viewer/src/pdf-viewer.component.html +16 -0
- package/ui/pdf-viewer/src/pdf-viewer.component.scss +8 -0
- package/ui/pdf-viewer/src/pdf-viewer.component.ts +28 -0
- package/ui/progressbar/dist/index.js +13 -0
- package/ui/progressbar/ng-package.json +6 -0
- package/ui/progressbar/src/dist/progressbar.component.js +28 -0
- package/ui/progressbar/src/progressbar.component.html +1 -0
- package/ui/progressbar/src/progressbar.component.ts +18 -0
- package/ui/radioButton/ng-package.json +6 -0
- package/ui/radioButton/src/radio-button.component.html +23 -0
- package/ui/radioButton/src/radio-button.component.scss +17 -0
- package/ui/radioButton/src/radio-button.component.ts +39 -0
- package/ui/relativeDateSelector/index.ts +1 -0
- package/ui/relativeDateSelector/ng-package.json +6 -0
- package/ui/relativeDateSelector/src/enum.ts +29 -0
- package/ui/relativeDateSelector/src/relative-date-selector.component.html +118 -0
- package/ui/relativeDateSelector/src/relative-date-selector.component.scss +154 -0
- package/ui/relativeDateSelector/src/relative-date-selector.component.ts +291 -0
- package/ui/selectBox/ng-package.json +6 -0
- package/ui/selectBox/src/interfaces.ts +41 -0
- package/ui/selectBox/src/select-box.component.html +19 -0
- package/ui/selectBox/src/select-box.component.ts +79 -0
- package/ui/styles/ui.common.scss +42 -0
- package/ui/switch/ng-package.json +6 -0
- package/ui/switch/src/switch.component.html +7 -0
- package/ui/switch/src/switch.component.ts +18 -0
- package/ui/table/index.ts +76 -0
- package/ui/table/ng-package.json +6 -0
- package/ui/table/src/export-overlay-panel.component.ts +330 -0
- package/ui/table/src/interfaces.ts +162 -0
- package/ui/table/src/table-column.component.ts +22 -0
- package/ui/table/src/table.component.html +404 -0
- package/ui/table/src/table.component.scss +15 -0
- package/ui/table/src/table.component.ts +368 -0
- package/ui/table-expand/index.ts +41 -0
- package/ui/table-expand/ng-package.json +6 -0
- package/ui/table-expand/src/table-column.component.ts +32 -0
- package/ui/table-expand/src/table-expand-area.component.ts +18 -0
- package/ui/table-expand/src/table.component.html +101 -0
- package/ui/table-expand/src/table.component.ts +92 -0
- package/ui/tag/index.ts +1 -0
- package/ui/tag/ng-package.json +6 -0
- package/ui/tag/src/interface.ts +1 -0
- package/ui/tag/src/tag.component.html +9 -0
- package/ui/tag/src/tag.component.ts +17 -0
- package/ui/tagBox/ng-package.json +6 -0
- package/ui/tagBox/src/tag-box.component.html +26 -0
- package/ui/tagBox/src/tag-box.component.ts +56 -0
- package/ui/text/ng-package.json +6 -0
- package/ui/text/src/text.component.html +21 -0
- package/ui/text/src/text.component.ts +55 -0
- package/ui/textArea/ng-package.json +6 -0
- package/ui/textArea/src/text-area.component.html +12 -0
- package/ui/textArea/src/text-area.component.ts +22 -0
- package/ui/toggle-button/index.ts +1 -0
- package/ui/toggle-button/ng-package.json +6 -0
- package/ui/toggle-button/src/toggle-button.component.html +13 -0
- package/ui/toggle-button/src/toggle-button.component.scss +19 -0
- package/ui/toggle-button/src/toggle-button.component.ts +22 -0
- package/ui/tooltip/ng-package.json +6 -0
- package/ui/tooltip/src/tooltip-component.html +10 -0
- package/ui/tooltip/src/tooltip-component.ts +20 -0
- package/ui/translate-input/ng-package.json +6 -0
- package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.html +46 -0
- package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.scss +9 -0
- package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.ts +74 -0
- package/ui/translate-input/src/aril-lang-modal/constants.ts +16 -0
- package/ui/translate-input/src/aril-translate-input.component.ts +152 -0
- package/ui/translate-input/src/interface.ts +14 -0
- package/ui/tree/ng-package.json +6 -0
- package/ui/tree/src/tree.component.html +17 -0
- package/ui/tree/src/tree.component.ts +65 -0
- package/ui/treeSelect/ng-package.json +6 -0
- package/ui/treeSelect/src/treeSelect.component.html +18 -0
- package/ui/treeSelect/src/treeSelect.component.ts +43 -0
- package/ui/treeTable/ng-package.json +6 -0
- package/ui/treeTable/src/tree-table.component.html +88 -0
- package/ui/treeTable/src/tree-table.component.ts +57 -0
- package/ui/value/ng-package.json +6 -0
- package/ui/value/src/value.component.html +94 -0
- package/ui/value/src/value.component.scss +6 -0
- package/ui/value/src/value.component.ts +268 -0
- package/ui-business/assetPicker/index.ts +1 -0
- package/ui-business/assetPicker/ng-package.json +6 -0
- package/ui-business/assetPicker/src/asset-picker.component.html +29 -0
- package/ui-business/assetPicker/src/asset-picker.component.ts +259 -0
- package/ui-business/assetPicker/src/interface.ts +83 -0
- package/ui-business/detailed-overlay-panel/ng-package.json +6 -0
- package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.html +52 -0
- package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.scss +19 -0
- package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.ts +66 -0
- package/ui-business/detailed-overlay-panel/src/interface.ts +62 -0
- package/ui-business/enumPicker/index.ts +1 -0
- package/ui-business/enumPicker/ng-package.json +6 -0
- package/ui-business/enumPicker/src/enum-picker.component.html +39 -0
- package/ui-business/enumPicker/src/enum-picker.component.ts +147 -0
- package/ui-business/enumPicker/src/interface.ts +44 -0
- package/ui-business/image-viewer/index.ts +1 -0
- package/ui-business/image-viewer/ng-package.json +6 -0
- package/ui-business/image-viewer/src/aril-image-viewer.component.ts +92 -0
- package/ui-business/index.ts +1 -0
- package/ui-business/multiple-ref-value/ng-package.json +6 -0
- package/ui-business/multiple-ref-value/src/multiple-ref-value.component.html +26 -0
- package/ui-business/multiple-ref-value/src/multiple-ref-value.component.ts +21 -0
- package/ui-business/ng-package.json +6 -0
- package/ui-business/notification-templates-dialog/ng-package.json +6 -0
- package/ui-business/notification-templates-dialog/src/interface.ts +18 -0
- package/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.html +31 -0
- package/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.ts +69 -0
- package/ui-business/operation-types-dialog/ng-package.json +6 -0
- package/ui-business/operation-types-dialog/src/operation-types-dialog.component.ts +78 -0
- package/ui-business/ref-value/ng-package.json +6 -0
- package/ui-business/ref-value/src/ref-value.component.html +29 -0
- package/ui-business/ref-value/src/ref-value.component.ts +41 -0
- package/ui-business/rolePicker/ng-package.json +6 -0
- package/ui-business/rolePicker/src/interface.ts +56 -0
- package/ui-business/rolePicker/src/role-picker.component.html +21 -0
- package/ui-business/rolePicker/src/role-picker.component.ts +88 -0
- package/ui-business/userPicker/index.ts +1 -0
- package/ui-business/userPicker/ng-package.json +6 -0
- package/ui-business/userPicker/src/interface.ts +27 -0
- package/ui-business/userPicker/src/user-picker.component.html +20 -0
- package/ui-business/userPicker/src/user-picker.component.ts +52 -0
- package/util/block/ng-package.json +6 -0
- package/util/block/src/block.ts +65 -0
- package/util/block/src/blockui.css +56 -0
- package/util/block/src/blockui.min.js +7 -0
- package/util/custom_pages/ng-package.json +6 -0
- package/util/custom_pages/src/notFound.component.ts +34 -0
- package/util/directives/ng-package.json +6 -0
- package/util/directives/src/detail-page-customization/detail-page-customization.directive.md +199 -0
- package/util/directives/src/detail-page-customization/detail-page-customization.directive.ts +343 -0
- package/util/directives/src/detail-page-customization/index.ts +2 -0
- package/util/directives/src/detail-page-customization/models.ts +61 -0
- package/util/directives/src/dialog-component/plugin-dialog.component.ts +22 -0
- package/util/directives/src/dialog-service/plugin-dialog.service.ts +12 -0
- package/util/index.ts +1 -0
- package/util/lib/ng-package.json +6 -0
- package/util/lib/src/interfaces.ts +44 -0
- package/util/lib/src/module-router.ts +9 -0
- package/util/lib/src/types.ts +61 -0
- package/util/lib/src/validators/iban.validator.ts +202 -0
- package/util/lib/src/validators/max-array-length.validator.ts +18 -0
- package/util/lib/src/validators/min-array-length.validator.ts +18 -0
- package/util/lib/src/validators/tckn.validator.ts +55 -0
- package/util/lib/src/validators/validators.ts +21 -0
- package/util/loaders/index.ts +1 -0
- package/util/loaders/ng-package.json +6 -0
- package/util/loaders/style/style.loader.service.ts +69 -0
- package/util/ng-package.json +6 -0
- package/util/pipes/ng-package.json +6 -0
- package/util/pipes/src/distance-to-now.pipe.ts +37 -0
- package/util/pipes/src/get-column-by-field.pipe.ts +11 -0
- package/util/pipes/src/parse.pipe.ts +15 -0
- package/util/pipes/src/round-number.pipe.ts +75 -0
- package/util/pipes/src/safe.pipe.ts +27 -0
- package/util/pipes/src/translate-json/index.ts +1 -0
- package/util/pipes/src/translate-json/translate-json.pipe.ts +34 -0
- package/util/primitive-extensions/ng-package.json +6 -0
- package/util/primitive-extensions/src/date.extensions.ts +135 -0
- package/util/primitive-extensions/src/number.extensions.ts +57 -0
- package/util/primitive-extensions/src/string.extensions.ts +39 -0
- package/util/pub-sub/ng-package.json +6 -0
- package/util/pub-sub/src/pub-sub.service.ts +35 -0
- package/util/sync-active-tab-route/ng-package.json +6 -0
- package/util/sync-active-tab-route/src/sync-active-tab-route.directive.ts +47 -0
- package/util/unwrap/ng-package.json +6 -0
- package/util/unwrap/src/unwrap-tag.directive.ts +18 -0
- package/boot/config/api/src/api.service.d.ts +0 -12
- package/boot/config/api/src/interfaces.d.ts +0 -39
- package/boot/config/api.sample.json +0 -8
- package/boot/config/apps/src/apps.service.d.ts +0 -13
- package/boot/config/apps/src/auth.guard.d.ts +0 -9
- package/boot/config/apps/src/interfaces.d.ts +0 -50
- package/boot/config/apps/src/reuse-strategy.d.ts +0 -4
- package/boot/config/apps/src/showdowDOMWrapper.d.ts +0 -10
- package/boot/config/plugins/src/getNgZone.d.ts +0 -5
- package/boot/config/plugins/src/interfaces.d.ts +0 -55
- package/boot/config/plugins/src/plugins.service.d.ts +0 -5
- package/boot/config/translate/constants.d.ts +0 -4
- package/boot/config/translate/primeng/i18n/tr.d.ts +0 -46
- package/boot/host/src/app.component.d.ts +0 -10
- package/boot/host/src/bootstrap.d.ts +0 -4
- package/boot/index.d.ts +0 -1
- package/boot/mfe/src/app.component.d.ts +0 -17
- package/boot/mfe/src/appComponentLoader.d.ts +0 -1
- package/boot/mfe/src/bootstrap.d.ts +0 -5
- package/boot/mfe/src/loadStyles.d.ts +0 -3
- package/boot/mfe/src/monaco.config.d.ts +0 -7
- package/esm2022/aril.mjs +0 -5
- package/esm2022/boot/aril-boot.mjs +0 -5
- package/esm2022/boot/config/api/aril-boot-config-api.mjs +0 -5
- package/esm2022/boot/config/api/index.mjs +0 -2
- package/esm2022/boot/config/api/src/api.service.mjs +0 -59
- package/esm2022/boot/config/api/src/interfaces.mjs +0 -61
- package/esm2022/boot/config/apps/aril-boot-config-apps.mjs +0 -5
- package/esm2022/boot/config/apps/index.mjs +0 -4
- package/esm2022/boot/config/apps/src/apps.service.mjs +0 -53
- package/esm2022/boot/config/apps/src/auth.guard.mjs +0 -22
- package/esm2022/boot/config/apps/src/interfaces.mjs +0 -21
- package/esm2022/boot/config/apps/src/reuse-strategy.mjs +0 -9
- package/esm2022/boot/config/apps/src/showdowDOMWrapper.mjs +0 -35
- package/esm2022/boot/config/plugins/aril-boot-config-plugins.mjs +0 -5
- package/esm2022/boot/config/plugins/index.mjs +0 -3
- package/esm2022/boot/config/plugins/src/getNgZone.mjs +0 -9
- package/esm2022/boot/config/plugins/src/interfaces.mjs +0 -62
- package/esm2022/boot/config/plugins/src/plugins.service.mjs +0 -84
- package/esm2022/boot/config/translate/aril-boot-config-translate.mjs +0 -5
- package/esm2022/boot/config/translate/constants.mjs +0 -6
- package/esm2022/boot/config/translate/index.mjs +0 -3
- package/esm2022/boot/config/translate/primeng/i18n/tr.mjs +0 -60
- package/esm2022/boot/host/aril-boot-host.mjs +0 -5
- package/esm2022/boot/host/index.mjs +0 -2
- package/esm2022/boot/host/src/app.component.mjs +0 -49
- package/esm2022/boot/host/src/bootstrap.mjs +0 -55
- package/esm2022/boot/index.mjs +0 -2
- package/esm2022/boot/mfe/aril-boot-mfe.mjs +0 -5
- package/esm2022/boot/mfe/index.mjs +0 -2
- package/esm2022/boot/mfe/src/app.component.mjs +0 -63
- package/esm2022/boot/mfe/src/appComponentLoader.mjs +0 -5
- package/esm2022/boot/mfe/src/bootstrap.mjs +0 -76
- package/esm2022/boot/mfe/src/loadStyles.mjs +0 -37
- package/esm2022/boot/mfe/src/monaco.config.mjs +0 -247
- package/esm2022/http/aril-http.mjs +0 -5
- package/esm2022/http/index.mjs +0 -12
- package/esm2022/http/lib/enums.mjs +0 -35
- package/esm2022/http/lib/interfaces.mjs +0 -16
- package/esm2022/http/src/httpBackend.mjs +0 -17
- package/esm2022/http/src/httpClient.mjs +0 -16
- package/esm2022/http/src/interceptor/accept-language.interceptor.mjs +0 -21
- package/esm2022/http/src/serviceBase.mjs +0 -140
- package/esm2022/http/src/serviceMockBase.mjs +0 -4
- package/esm2022/http/src/serviceRequest.mjs +0 -23
- package/esm2022/http/src/serviceStateMethods.mjs +0 -167
- package/esm2022/i18n/aril-i18n.mjs +0 -5
- package/esm2022/i18n/index.mjs +0 -6
- package/esm2022/i18n/src/folder-name-token.mjs +0 -3
- package/esm2022/i18n/src/i18n.module.mjs +0 -17
- package/esm2022/i18n/src/loader.mjs +0 -18
- package/esm2022/i18n/src/provideI18n.mjs +0 -16
- package/esm2022/i18n/src/provideScope.mjs +0 -18
- package/esm2022/keycloak/aril-keycloak.mjs +0 -5
- package/esm2022/keycloak/index.mjs +0 -2
- package/esm2022/keycloak/src/auth.interceptor.mjs +0 -92
- package/esm2022/provider/aril-provider.mjs +0 -5
- package/esm2022/provider/index.mjs +0 -2
- package/esm2022/provider/src/index.mjs +0 -5
- package/esm2022/provider/src/prodiveHost.mjs +0 -9
- package/esm2022/provider/src/prodiveHostRouter.mjs +0 -12
- package/esm2022/provider/src/provideHostKeycloak.mjs +0 -28
- package/esm2022/provider/src/provideLocaleId.mjs +0 -20
- package/esm2022/public-api.mjs +0 -3
- package/esm2022/theme/aril-theme.mjs +0 -5
- package/esm2022/theme/index.mjs +0 -2
- package/esm2022/theme/layout/app/breadcrumb/app.breadcrumb.component.mjs +0 -106
- package/esm2022/theme/layout/app/chatbot/app.chatbot.component.mjs +0 -140
- package/esm2022/theme/layout/app/expandableMenu/expandable-menu.component.mjs +0 -250
- package/esm2022/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.mjs +0 -217
- package/esm2022/theme/layout/app/favorite-pages/favorite-pages.service.mjs +0 -60
- package/esm2022/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.mjs +0 -129
- package/esm2022/theme/layout/app/general-search/general-search.component.mjs +0 -75
- package/esm2022/theme/layout/app/general-search/helpers.mjs +0 -92
- package/esm2022/theme/layout/app/general-search/models.mjs +0 -50
- package/esm2022/theme/layout/app/history/history-sidebar.component.mjs +0 -133
- package/esm2022/theme/layout/app/history/history.service.mjs +0 -131
- package/esm2022/theme/layout/app/layout/app.layout.component.mjs +0 -160
- package/esm2022/theme/layout/app/layout/mfe.layout.component.mjs +0 -64
- package/esm2022/theme/layout/app/notifications/notifications-sidebar.component.mjs +0 -191
- package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +0 -122
- package/esm2022/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.mjs +0 -142
- package/esm2022/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.mjs +0 -202
- package/esm2022/theme/layout/app/profileSidebar/profile.service.mjs +0 -66
- package/esm2022/theme/layout/app/site-map/site-map-sidebar.component.mjs +0 -166
- package/esm2022/theme/layout/app/static-sidebar/static-sidebar.component.mjs +0 -228
- package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +0 -155
- package/esm2022/theme/layout/aril-theme-layout.mjs +0 -5
- package/esm2022/theme/layout/index.mjs +0 -8
- package/esm2022/theme/layout/service/app.layout.service.mjs +0 -231
- package/esm2022/theme/layout/service/app.menu.service.mjs +0 -46
- package/esm2022/theme/layout/service/breadcrumb.service.mjs +0 -20
- package/esm2022/theme/layout/service/interfaces/enum.mjs +0 -16
- package/esm2022/theme/layout/service/interfaces/interfaces.mjs +0 -2
- package/esm2022/theme/layout/service/menuchangeevent.mjs +0 -2
- package/esm2022/theme/layout/service/notifications.service.mjs +0 -30
- package/esm2022/theme/layout/service/search.service.mjs +0 -25
- package/esm2022/theme/layout/service/selection-group.service.mjs +0 -65
- package/esm2022/ui/aril-ui.mjs +0 -5
- package/esm2022/ui/autoComplete/aril-ui-autoComplete.mjs +0 -5
- package/esm2022/ui/autoComplete/index.mjs +0 -2
- package/esm2022/ui/autoComplete/src/auto-complete.component.mjs +0 -109
- package/esm2022/ui/autoComplete/src/interfaces.mjs +0 -2
- package/esm2022/ui/badge/aril-ui-badge.mjs +0 -5
- package/esm2022/ui/badge/index.mjs +0 -2
- package/esm2022/ui/badge/src/badge.component.mjs +0 -59
- package/esm2022/ui/button/aril-ui-button.mjs +0 -5
- package/esm2022/ui/button/index.mjs +0 -3
- package/esm2022/ui/button/src/button.component.mjs +0 -40
- package/esm2022/ui/button/src/split-button.component.mjs +0 -18
- package/esm2022/ui/calendar/aril-ui-calendar.mjs +0 -5
- package/esm2022/ui/calendar/index.mjs +0 -2
- package/esm2022/ui/calendar/src/calendar.component.mjs +0 -224
- package/esm2022/ui/charts/aril-ui-charts.mjs +0 -5
- package/esm2022/ui/charts/index.mjs +0 -13
- package/esm2022/ui/charts/src/amCharts/column/column-chart.component.mjs +0 -124
- package/esm2022/ui/charts/src/amCharts/line/line-chart.component.mjs +0 -164
- package/esm2022/ui/charts/src/amCharts/pie/pie-chart.component.mjs +0 -116
- package/esm2022/ui/charts/src/highCharts/area/area-chart.component.mjs +0 -114
- package/esm2022/ui/charts/src/highCharts/bar/bar-chart.component.mjs +0 -100
- package/esm2022/ui/charts/src/highCharts/column/column-chart.component.mjs +0 -117
- package/esm2022/ui/charts/src/highCharts/gauge/solid-gauge.component.mjs +0 -180
- package/esm2022/ui/charts/src/highCharts/heatmap/heatMap-chart.component.mjs +0 -252
- package/esm2022/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.mjs +0 -187
- package/esm2022/ui/charts/src/highCharts/line/line-chart-series.component.mjs +0 -89
- package/esm2022/ui/charts/src/highCharts/line/line-chart.component.mjs +0 -82
- package/esm2022/ui/charts/src/highCharts/pie/pie-chart.component.mjs +0 -137
- package/esm2022/ui/charts/src/theme/theme.mjs +0 -54
- package/esm2022/ui/checkbox/aril-ui-checkbox.mjs +0 -5
- package/esm2022/ui/checkbox/index.mjs +0 -3
- package/esm2022/ui/checkbox/src/check-box.component.mjs +0 -27
- package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +0 -24
- package/esm2022/ui/chip/aril-ui-chip.mjs +0 -5
- package/esm2022/ui/chip/index.mjs +0 -2
- package/esm2022/ui/chip/src/chip.component.mjs +0 -129
- package/esm2022/ui/collapse-reorder-list/aril-ui-collapse-reorder-list.mjs +0 -5
- package/esm2022/ui/collapse-reorder-list/index.mjs +0 -2
- package/esm2022/ui/collapse-reorder-list/src/collapse-reorder-list.component.mjs +0 -53
- package/esm2022/ui/dxEditor/aril-ui-dxEditor.mjs +0 -5
- package/esm2022/ui/dxEditor/index.mjs +0 -2
- package/esm2022/ui/dxEditor/src/dx-editor.component.mjs +0 -26
- package/esm2022/ui/dxField/aril-ui-dxField.mjs +0 -5
- package/esm2022/ui/dxField/index.mjs +0 -2
- package/esm2022/ui/dxField/src/dx-field.component.mjs +0 -19
- package/esm2022/ui/editor/aril-ui-editor.mjs +0 -5
- package/esm2022/ui/editor/index.mjs +0 -3
- package/esm2022/ui/editor/src/aril-editor.component.mjs +0 -171
- package/esm2022/ui/editor/src/types.mjs +0 -26
- package/esm2022/ui/field/aril-ui-field.mjs +0 -5
- package/esm2022/ui/field/index.mjs +0 -2
- package/esm2022/ui/field/src/field.component.mjs +0 -45
- package/esm2022/ui/fileUpload/aril-ui-fileUpload.mjs +0 -5
- package/esm2022/ui/fileUpload/index.mjs +0 -2
- package/esm2022/ui/fileUpload/src/file-upload.component.mjs +0 -73
- package/esm2022/ui/form/aril-ui-form.mjs +0 -5
- package/esm2022/ui/form/index.mjs +0 -22
- package/esm2022/ui/form/src/form-submit-button.component.mjs +0 -40
- package/esm2022/ui/form/src/form.component.mjs +0 -27
- package/esm2022/ui/img-viewer/aril-ui-img-viewer.mjs +0 -5
- package/esm2022/ui/img-viewer/index.mjs +0 -2
- package/esm2022/ui/img-viewer/src/img-viewer.component.mjs +0 -57
- package/esm2022/ui/index.mjs +0 -2
- package/esm2022/ui/json-diff-comparison/aril-ui-json-diff-comparison.mjs +0 -5
- package/esm2022/ui/json-diff-comparison/index.mjs +0 -2
- package/esm2022/ui/json-diff-comparison/src/json-diff.component.mjs +0 -49
- package/esm2022/ui/lib/aril-ui-lib.mjs +0 -5
- package/esm2022/ui/lib/index.mjs +0 -16
- package/esm2022/ui/lib/src/form/form-error-message.component.mjs +0 -33
- package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +0 -34
- package/esm2022/ui/lib/src/form/form-field-builder.mjs +0 -23
- package/esm2022/ui/lib/src/form/form-validation.mjs +0 -14
- package/esm2022/ui/lib/src/grid/enum-color-picker.pipe.mjs +0 -35
- package/esm2022/ui/lib/src/grid/flex-grid.directive.mjs +0 -21
- package/esm2022/ui/lib/src/input/baseInput.mjs +0 -24
- package/esm2022/ui/lib/src/input/common-input-validators.service.mjs +0 -49
- package/esm2022/ui/lib/src/input/dx-input-error-message.pipe.mjs +0 -22
- package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +0 -25
- package/esm2022/ui/lib/src/input/input-error-message.pipe.mjs +0 -63
- package/esm2022/ui/lib/src/input/input-transforms.mjs +0 -8
- package/esm2022/ui/lib/src/input/value-accessor.directive.mjs +0 -38
- package/esm2022/ui/loader/aril-ui-loader.mjs +0 -5
- package/esm2022/ui/loader/index.mjs +0 -2
- package/esm2022/ui/loader/src/loader.component.mjs +0 -14
- package/esm2022/ui/mask/aril-ui-mask.mjs +0 -5
- package/esm2022/ui/mask/index.mjs +0 -2
- package/esm2022/ui/mask/src/mask.component.mjs +0 -35
- package/esm2022/ui/multiSelect/aril-ui-multiSelect.mjs +0 -5
- package/esm2022/ui/multiSelect/index.mjs +0 -2
- package/esm2022/ui/multiSelect/src/interfaces.mjs +0 -2
- package/esm2022/ui/multiSelect/src/multi-select.component.mjs +0 -57
- package/esm2022/ui/number/aril-ui-number.mjs +0 -5
- package/esm2022/ui/number/index.mjs +0 -2
- package/esm2022/ui/number/src/number.component.mjs +0 -38
- package/esm2022/ui/operation-types-dialog/aril-ui-operation-types-dialog.mjs +0 -5
- package/esm2022/ui/operation-types-dialog/index.mjs +0 -2
- package/esm2022/ui/operation-types-dialog/src/operation-types-dialog.component.mjs +0 -91
- package/esm2022/ui/overlayPanel/aril-ui-overlayPanel.mjs +0 -5
- package/esm2022/ui/overlayPanel/index.mjs +0 -2
- package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +0 -20
- package/esm2022/ui/panel/aril-ui-panel.mjs +0 -5
- package/esm2022/ui/panel/index.mjs +0 -2
- package/esm2022/ui/panel/src/panel.component.mjs +0 -33
- package/esm2022/ui/password/aril-ui-password.mjs +0 -5
- package/esm2022/ui/password/index.mjs +0 -2
- package/esm2022/ui/password/src/password.component.mjs +0 -29
- package/esm2022/ui/pdf-viewer/aril-ui-pdf-viewer.mjs +0 -5
- package/esm2022/ui/pdf-viewer/index.mjs +0 -2
- package/esm2022/ui/pdf-viewer/src/pdf-viewer.component.mjs +0 -27
- package/esm2022/ui/progressbar/aril-ui-progressbar.mjs +0 -5
- package/esm2022/ui/progressbar/index.mjs +0 -2
- package/esm2022/ui/progressbar/src/progressbar.component.mjs +0 -18
- package/esm2022/ui/radioButton/aril-ui-radioButton.mjs +0 -5
- package/esm2022/ui/radioButton/index.mjs +0 -2
- package/esm2022/ui/radioButton/src/radio-button.component.mjs +0 -30
- package/esm2022/ui/relativeDateSelector/aril-ui-relativeDateSelector.mjs +0 -5
- package/esm2022/ui/relativeDateSelector/index.mjs +0 -2
- package/esm2022/ui/relativeDateSelector/src/enum.mjs +0 -31
- package/esm2022/ui/relativeDateSelector/src/relative-date-selector.component.mjs +0 -248
- package/esm2022/ui/selectBox/aril-ui-selectBox.mjs +0 -5
- package/esm2022/ui/selectBox/index.mjs +0 -2
- package/esm2022/ui/selectBox/src/interfaces.mjs +0 -2
- package/esm2022/ui/selectBox/src/select-box.component.mjs +0 -67
- package/esm2022/ui/switch/aril-ui-switch.mjs +0 -5
- package/esm2022/ui/switch/index.mjs +0 -2
- package/esm2022/ui/switch/src/switch.component.mjs +0 -23
- package/esm2022/ui/table/aril-ui-table.mjs +0 -5
- package/esm2022/ui/table/index.mjs +0 -131
- package/esm2022/ui/table/src/export-overlay-panel.component.mjs +0 -321
- package/esm2022/ui/table/src/interfaces.mjs +0 -44
- package/esm2022/ui/table/src/table-column.component.mjs +0 -31
- package/esm2022/ui/table/src/table.component.mjs +0 -334
- package/esm2022/ui/table-expand/aril-ui-table-expand.mjs +0 -5
- package/esm2022/ui/table-expand/index.mjs +0 -61
- package/esm2022/ui/table-expand/src/table-column.component.mjs +0 -25
- package/esm2022/ui/table-expand/src/table-expand-area.component.mjs +0 -17
- package/esm2022/ui/table-expand/src/table.component.mjs +0 -99
- package/esm2022/ui/tag/aril-ui-tag.mjs +0 -5
- package/esm2022/ui/tag/index.mjs +0 -2
- package/esm2022/ui/tag/src/interface.mjs +0 -2
- package/esm2022/ui/tag/src/tag.component.mjs +0 -20
- package/esm2022/ui/tagBox/aril-ui-tagBox.mjs +0 -5
- package/esm2022/ui/tagBox/index.mjs +0 -2
- package/esm2022/ui/tagBox/src/tag-box.component.mjs +0 -55
- package/esm2022/ui/text/aril-ui-text.mjs +0 -5
- package/esm2022/ui/text/index.mjs +0 -2
- package/esm2022/ui/text/src/text.component.mjs +0 -47
- package/esm2022/ui/textArea/aril-ui-textArea.mjs +0 -5
- package/esm2022/ui/textArea/index.mjs +0 -2
- package/esm2022/ui/textArea/src/text-area.component.mjs +0 -27
- package/esm2022/ui/toggle-button/aril-ui-toggle-button.mjs +0 -5
- package/esm2022/ui/toggle-button/index.mjs +0 -2
- package/esm2022/ui/toggle-button/src/toggle-button.component.mjs +0 -25
- package/esm2022/ui/tooltip/aril-ui-tooltip.mjs +0 -5
- package/esm2022/ui/tooltip/index.mjs +0 -2
- package/esm2022/ui/tooltip/src/tooltip-component.mjs +0 -23
- package/esm2022/ui/translate-input/aril-ui-translate-input.mjs +0 -5
- package/esm2022/ui/translate-input/index.mjs +0 -2
- package/esm2022/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.mjs +0 -64
- package/esm2022/ui/translate-input/src/aril-lang-modal/constants.mjs +0 -15
- package/esm2022/ui/translate-input/src/aril-translate-input.component.mjs +0 -128
- package/esm2022/ui/translate-input/src/interface.mjs +0 -2
- package/esm2022/ui/tree/aril-ui-tree.mjs +0 -5
- package/esm2022/ui/tree/index.mjs +0 -2
- package/esm2022/ui/tree/src/tree.component.mjs +0 -53
- package/esm2022/ui/treeSelect/aril-ui-treeSelect.mjs +0 -5
- package/esm2022/ui/treeSelect/index.mjs +0 -2
- package/esm2022/ui/treeSelect/src/treeSelect.component.mjs +0 -41
- package/esm2022/ui/treeTable/aril-ui-treeTable.mjs +0 -5
- package/esm2022/ui/treeTable/index.mjs +0 -2
- package/esm2022/ui/treeTable/src/tree-table.component.mjs +0 -55
- package/esm2022/ui/value/aril-ui-value.mjs +0 -5
- package/esm2022/ui/value/index.mjs +0 -2
- package/esm2022/ui/value/src/value.component.mjs +0 -207
- package/esm2022/ui-business/aril-ui-business.mjs +0 -5
- package/esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs +0 -5
- package/esm2022/ui-business/assetPicker/index.mjs +0 -2
- package/esm2022/ui-business/assetPicker/src/asset-picker.component.mjs +0 -182
- package/esm2022/ui-business/assetPicker/src/interface.mjs +0 -2
- package/esm2022/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.mjs +0 -5
- package/esm2022/ui-business/detailed-overlay-panel/index.mjs +0 -2
- package/esm2022/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.mjs +0 -61
- package/esm2022/ui-business/detailed-overlay-panel/src/interface.mjs +0 -19
- package/esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs +0 -5
- package/esm2022/ui-business/enumPicker/index.mjs +0 -2
- package/esm2022/ui-business/enumPicker/src/enum-picker.component.mjs +0 -124
- package/esm2022/ui-business/enumPicker/src/interface.mjs +0 -2
- package/esm2022/ui-business/image-viewer/aril-ui-business-image-viewer.mjs +0 -5
- package/esm2022/ui-business/image-viewer/index.mjs +0 -2
- package/esm2022/ui-business/image-viewer/src/aril-image-viewer.component.mjs +0 -111
- package/esm2022/ui-business/index.mjs +0 -2
- package/esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs +0 -5
- package/esm2022/ui-business/multiple-ref-value/index.mjs +0 -2
- package/esm2022/ui-business/multiple-ref-value/src/multiple-ref-value.component.mjs +0 -23
- package/esm2022/ui-business/notification-templates-dialog/aril-ui-business-notification-templates-dialog.mjs +0 -5
- package/esm2022/ui-business/notification-templates-dialog/index.mjs +0 -2
- package/esm2022/ui-business/notification-templates-dialog/src/interface.mjs +0 -8
- package/esm2022/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.mjs +0 -56
- package/esm2022/ui-business/operation-types-dialog/aril-ui-business-operation-types-dialog.mjs +0 -5
- package/esm2022/ui-business/operation-types-dialog/index.mjs +0 -2
- package/esm2022/ui-business/operation-types-dialog/src/operation-types-dialog.component.mjs +0 -76
- package/esm2022/ui-business/ref-value/aril-ui-business-ref-value.mjs +0 -5
- package/esm2022/ui-business/ref-value/index.mjs +0 -2
- package/esm2022/ui-business/ref-value/src/ref-value.component.mjs +0 -39
- package/esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs +0 -5
- package/esm2022/ui-business/rolePicker/index.mjs +0 -2
- package/esm2022/ui-business/rolePicker/src/interface.mjs +0 -2
- package/esm2022/ui-business/rolePicker/src/role-picker.component.mjs +0 -71
- package/esm2022/ui-business/userPicker/aril-ui-business-userPicker.mjs +0 -5
- package/esm2022/ui-business/userPicker/index.mjs +0 -2
- package/esm2022/ui-business/userPicker/src/interface.mjs +0 -2
- package/esm2022/ui-business/userPicker/src/user-picker.component.mjs +0 -43
- package/esm2022/util/aril-util.mjs +0 -5
- package/esm2022/util/block/aril-util-block.mjs +0 -5
- package/esm2022/util/block/index.mjs +0 -2
- package/esm2022/util/block/src/block.mjs +0 -64
- package/esm2022/util/custom_pages/aril-util-custom_pages.mjs +0 -5
- package/esm2022/util/custom_pages/index.mjs +0 -2
- package/esm2022/util/custom_pages/src/notFound.component.mjs +0 -65
- package/esm2022/util/directives/aril-util-directives.mjs +0 -5
- package/esm2022/util/directives/index.mjs +0 -4
- package/esm2022/util/directives/src/detail-page-customization/detail-page-customization.directive.mjs +0 -298
- package/esm2022/util/directives/src/detail-page-customization/index.mjs +0 -3
- package/esm2022/util/directives/src/detail-page-customization/models.mjs +0 -4
- package/esm2022/util/directives/src/dialog-component/plugin-dialog.component.mjs +0 -26
- package/esm2022/util/directives/src/dialog-service/plugin-dialog.service.mjs +0 -16
- package/esm2022/util/index.mjs +0 -2
- package/esm2022/util/init-event/aril-util-init-event.mjs +0 -5
- package/esm2022/util/init-event/index.mjs +0 -2
- package/esm2022/util/init-event/src/init-event.directive.mjs +0 -22
- package/esm2022/util/lib/aril-util-lib.mjs +0 -5
- package/esm2022/util/lib/index.mjs +0 -5
- package/esm2022/util/lib/src/interfaces.mjs +0 -4
- package/esm2022/util/lib/src/module-router.mjs +0 -16
- package/esm2022/util/lib/src/types.mjs +0 -6
- package/esm2022/util/lib/src/validators/iban.validator.mjs +0 -189
- package/esm2022/util/lib/src/validators/index.mjs +0 -5
- package/esm2022/util/lib/src/validators/max-array-length.validator.mjs +0 -16
- package/esm2022/util/lib/src/validators/min-array-length.validator.mjs +0 -16
- package/esm2022/util/lib/src/validators/tckn.validator.mjs +0 -39
- package/esm2022/util/lib/src/validators/validators.mjs +0 -16
- package/esm2022/util/loaders/aril-util-loaders.mjs +0 -5
- package/esm2022/util/loaders/index.mjs +0 -3
- package/esm2022/util/loaders/script/script.loader.service.mjs +0 -61
- package/esm2022/util/loaders/style/style.loader.service.mjs +0 -61
- package/esm2022/util/pipes/aril-util-pipes.mjs +0 -5
- package/esm2022/util/pipes/index.mjs +0 -7
- package/esm2022/util/pipes/src/distance-to-now.pipe.mjs +0 -38
- package/esm2022/util/pipes/src/get-column-by-field.pipe.mjs +0 -17
- package/esm2022/util/pipes/src/parse.pipe.mjs +0 -22
- package/esm2022/util/pipes/src/round-number.pipe.mjs +0 -65
- package/esm2022/util/pipes/src/safe.pipe.mjs +0 -34
- package/esm2022/util/pipes/src/translate-json/index.mjs +0 -2
- package/esm2022/util/pipes/src/translate-json/translate-json.pipe.mjs +0 -41
- package/esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs +0 -5
- package/esm2022/util/primitive-extensions/index.mjs +0 -5
- package/esm2022/util/primitive-extensions/src/boolean.extensions.mjs +0 -2
- package/esm2022/util/primitive-extensions/src/date.extensions.mjs +0 -116
- package/esm2022/util/primitive-extensions/src/number.extensions.mjs +0 -39
- package/esm2022/util/primitive-extensions/src/string.extensions.mjs +0 -23
- package/esm2022/util/pub-sub/aril-util-pub-sub.mjs +0 -5
- package/esm2022/util/pub-sub/index.mjs +0 -2
- package/esm2022/util/pub-sub/src/pub-sub.service.mjs +0 -30
- package/esm2022/util/sync-active-tab-route/aril-util-sync-active-tab-route.mjs +0 -5
- package/esm2022/util/sync-active-tab-route/index.mjs +0 -2
- package/esm2022/util/sync-active-tab-route/src/sync-active-tab-route.directive.mjs +0 -45
- package/esm2022/util/unwrap/aril-util-unwrap.mjs +0 -5
- package/esm2022/util/unwrap/index.mjs +0 -2
- package/esm2022/util/unwrap/src/unwrap-tag.directive.mjs +0 -24
- package/fesm2022/aril-app.component-hxaLgwmC.mjs +0 -81
- package/fesm2022/aril-app.component-hxaLgwmC.mjs.map +0 -1
- package/fesm2022/aril-boot-config-api.mjs +0 -126
- package/fesm2022/aril-boot-config-api.mjs.map +0 -1
- package/fesm2022/aril-boot-config-apps.mjs +0 -138
- package/fesm2022/aril-boot-config-apps.mjs.map +0 -1
- package/fesm2022/aril-boot-config-plugins.mjs +0 -159
- package/fesm2022/aril-boot-config-plugins.mjs.map +0 -1
- package/fesm2022/aril-boot-config-translate.mjs +0 -72
- package/fesm2022/aril-boot-config-translate.mjs.map +0 -1
- package/fesm2022/aril-boot-host.mjs +0 -108
- package/fesm2022/aril-boot-host.mjs.map +0 -1
- package/fesm2022/aril-boot-mfe-app.component-s1a-tkOD.mjs +0 -80
- package/fesm2022/aril-boot-mfe-app.component-s1a-tkOD.mjs.map +0 -1
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-wLTqwDtz.mjs +0 -369
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-wLTqwDtz.mjs.map +0 -1
- package/fesm2022/aril-boot-mfe.mjs +0 -19
- package/fesm2022/aril-boot-mfe.mjs.map +0 -1
- package/fesm2022/aril-boot.mjs +0 -8
- package/fesm2022/aril-boot.mjs.map +0 -1
- package/fesm2022/aril-http.mjs +0 -437
- package/fesm2022/aril-http.mjs.map +0 -1
- package/fesm2022/aril-i18n.mjs +0 -71
- package/fesm2022/aril-i18n.mjs.map +0 -1
- package/fesm2022/aril-keycloak.mjs +0 -99
- package/fesm2022/aril-keycloak.mjs.map +0 -1
- package/fesm2022/aril-provider.mjs +0 -74
- package/fesm2022/aril-provider.mjs.map +0 -1
- package/fesm2022/aril-theme-layout.mjs +0 -3015
- package/fesm2022/aril-theme-layout.mjs.map +0 -1
- package/fesm2022/aril-theme.mjs +0 -8
- package/fesm2022/aril-theme.mjs.map +0 -1
- package/fesm2022/aril-ui-autoComplete.mjs +0 -116
- package/fesm2022/aril-ui-autoComplete.mjs.map +0 -1
- package/fesm2022/aril-ui-badge.mjs +0 -66
- package/fesm2022/aril-ui-badge.mjs.map +0 -1
- package/fesm2022/aril-ui-business-assetPicker.mjs +0 -189
- package/fesm2022/aril-ui-business-assetPicker.mjs.map +0 -1
- package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs +0 -68
- package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs.map +0 -1
- package/fesm2022/aril-ui-business-enumPicker.mjs +0 -131
- package/fesm2022/aril-ui-business-enumPicker.mjs.map +0 -1
- package/fesm2022/aril-ui-business-image-viewer.mjs +0 -118
- package/fesm2022/aril-ui-business-image-viewer.mjs.map +0 -1
- package/fesm2022/aril-ui-business-multiple-ref-value.mjs +0 -30
- package/fesm2022/aril-ui-business-multiple-ref-value.mjs.map +0 -1
- package/fesm2022/aril-ui-business-notification-templates-dialog.mjs +0 -70
- package/fesm2022/aril-ui-business-notification-templates-dialog.mjs.map +0 -1
- package/fesm2022/aril-ui-business-operation-types-dialog.mjs +0 -83
- package/fesm2022/aril-ui-business-operation-types-dialog.mjs.map +0 -1
- package/fesm2022/aril-ui-business-ref-value.mjs +0 -46
- package/fesm2022/aril-ui-business-ref-value.mjs.map +0 -1
- package/fesm2022/aril-ui-business-rolePicker.mjs +0 -78
- package/fesm2022/aril-ui-business-rolePicker.mjs.map +0 -1
- package/fesm2022/aril-ui-business-userPicker.mjs +0 -50
- package/fesm2022/aril-ui-business-userPicker.mjs.map +0 -1
- package/fesm2022/aril-ui-business.mjs +0 -8
- package/fesm2022/aril-ui-business.mjs.map +0 -1
- package/fesm2022/aril-ui-button.mjs +0 -62
- package/fesm2022/aril-ui-button.mjs.map +0 -1
- package/fesm2022/aril-ui-calendar.mjs +0 -231
- package/fesm2022/aril-ui-calendar.mjs.map +0 -1
- package/fesm2022/aril-ui-charts.mjs +0 -1666
- package/fesm2022/aril-ui-charts.mjs.map +0 -1
- package/fesm2022/aril-ui-checkbox.mjs +0 -50
- package/fesm2022/aril-ui-checkbox.mjs.map +0 -1
- package/fesm2022/aril-ui-chip.mjs +0 -136
- package/fesm2022/aril-ui-chip.mjs.map +0 -1
- package/fesm2022/aril-ui-collapse-reorder-list.mjs +0 -60
- package/fesm2022/aril-ui-collapse-reorder-list.mjs.map +0 -1
- package/fesm2022/aril-ui-dxEditor.mjs +0 -33
- package/fesm2022/aril-ui-dxEditor.mjs.map +0 -1
- package/fesm2022/aril-ui-dxField.mjs +0 -26
- package/fesm2022/aril-ui-dxField.mjs.map +0 -1
- package/fesm2022/aril-ui-editor.mjs +0 -203
- package/fesm2022/aril-ui-editor.mjs.map +0 -1
- package/fesm2022/aril-ui-field.mjs +0 -52
- package/fesm2022/aril-ui-field.mjs.map +0 -1
- package/fesm2022/aril-ui-fileUpload.mjs +0 -80
- package/fesm2022/aril-ui-fileUpload.mjs.map +0 -1
- package/fesm2022/aril-ui-form.mjs +0 -86
- package/fesm2022/aril-ui-form.mjs.map +0 -1
- package/fesm2022/aril-ui-img-viewer.mjs +0 -64
- package/fesm2022/aril-ui-img-viewer.mjs.map +0 -1
- package/fesm2022/aril-ui-json-diff-comparison.mjs +0 -56
- package/fesm2022/aril-ui-json-diff-comparison.mjs.map +0 -1
- package/fesm2022/aril-ui-lib.mjs +0 -376
- package/fesm2022/aril-ui-lib.mjs.map +0 -1
- package/fesm2022/aril-ui-loader.mjs +0 -21
- package/fesm2022/aril-ui-loader.mjs.map +0 -1
- package/fesm2022/aril-ui-mask.mjs +0 -42
- package/fesm2022/aril-ui-mask.mjs.map +0 -1
- package/fesm2022/aril-ui-multiSelect.mjs +0 -64
- package/fesm2022/aril-ui-multiSelect.mjs.map +0 -1
- package/fesm2022/aril-ui-number.mjs +0 -45
- package/fesm2022/aril-ui-number.mjs.map +0 -1
- package/fesm2022/aril-ui-operation-types-dialog.mjs +0 -98
- package/fesm2022/aril-ui-operation-types-dialog.mjs.map +0 -1
- package/fesm2022/aril-ui-overlayPanel.mjs +0 -27
- package/fesm2022/aril-ui-overlayPanel.mjs.map +0 -1
- package/fesm2022/aril-ui-panel.mjs +0 -40
- package/fesm2022/aril-ui-panel.mjs.map +0 -1
- package/fesm2022/aril-ui-password.mjs +0 -36
- package/fesm2022/aril-ui-password.mjs.map +0 -1
- package/fesm2022/aril-ui-pdf-viewer.mjs +0 -34
- package/fesm2022/aril-ui-pdf-viewer.mjs.map +0 -1
- package/fesm2022/aril-ui-progressbar.mjs +0 -25
- package/fesm2022/aril-ui-progressbar.mjs.map +0 -1
- package/fesm2022/aril-ui-radioButton.mjs +0 -37
- package/fesm2022/aril-ui-radioButton.mjs.map +0 -1
- package/fesm2022/aril-ui-relativeDateSelector.mjs +0 -285
- package/fesm2022/aril-ui-relativeDateSelector.mjs.map +0 -1
- package/fesm2022/aril-ui-selectBox.mjs +0 -74
- package/fesm2022/aril-ui-selectBox.mjs.map +0 -1
- package/fesm2022/aril-ui-switch.mjs +0 -30
- package/fesm2022/aril-ui-switch.mjs.map +0 -1
- package/fesm2022/aril-ui-table-expand.mjs +0 -194
- package/fesm2022/aril-ui-table-expand.mjs.map +0 -1
- package/fesm2022/aril-ui-table.mjs +0 -833
- package/fesm2022/aril-ui-table.mjs.map +0 -1
- package/fesm2022/aril-ui-tag.mjs +0 -27
- package/fesm2022/aril-ui-tag.mjs.map +0 -1
- package/fesm2022/aril-ui-tagBox.mjs +0 -62
- package/fesm2022/aril-ui-tagBox.mjs.map +0 -1
- package/fesm2022/aril-ui-text.mjs +0 -54
- package/fesm2022/aril-ui-text.mjs.map +0 -1
- package/fesm2022/aril-ui-textArea.mjs +0 -34
- package/fesm2022/aril-ui-textArea.mjs.map +0 -1
- package/fesm2022/aril-ui-toggle-button.mjs +0 -32
- package/fesm2022/aril-ui-toggle-button.mjs.map +0 -1
- package/fesm2022/aril-ui-tooltip.mjs +0 -30
- package/fesm2022/aril-ui-tooltip.mjs.map +0 -1
- package/fesm2022/aril-ui-translate-input.mjs +0 -207
- package/fesm2022/aril-ui-translate-input.mjs.map +0 -1
- package/fesm2022/aril-ui-tree.mjs +0 -60
- package/fesm2022/aril-ui-tree.mjs.map +0 -1
- package/fesm2022/aril-ui-treeSelect.mjs +0 -48
- package/fesm2022/aril-ui-treeSelect.mjs.map +0 -1
- package/fesm2022/aril-ui-treeTable.mjs +0 -62
- package/fesm2022/aril-ui-treeTable.mjs.map +0 -1
- package/fesm2022/aril-ui-value.mjs +0 -214
- package/fesm2022/aril-ui-value.mjs.map +0 -1
- package/fesm2022/aril-ui.mjs +0 -8
- package/fesm2022/aril-ui.mjs.map +0 -1
- package/fesm2022/aril-util-block.mjs +0 -71
- package/fesm2022/aril-util-block.mjs.map +0 -1
- package/fesm2022/aril-util-custom_pages.mjs +0 -72
- package/fesm2022/aril-util-custom_pages.mjs.map +0 -1
- package/fesm2022/aril-util-directives.mjs +0 -344
- package/fesm2022/aril-util-directives.mjs.map +0 -1
- package/fesm2022/aril-util-init-event.mjs +0 -29
- package/fesm2022/aril-util-init-event.mjs.map +0 -1
- package/fesm2022/aril-util-lib.mjs +0 -307
- package/fesm2022/aril-util-lib.mjs.map +0 -1
- package/fesm2022/aril-util-loaders.mjs +0 -126
- package/fesm2022/aril-util-loaders.mjs.map +0 -1
- package/fesm2022/aril-util-pipes.mjs +0 -213
- package/fesm2022/aril-util-pipes.mjs.map +0 -1
- package/fesm2022/aril-util-primitive-extensions.mjs +0 -179
- package/fesm2022/aril-util-primitive-extensions.mjs.map +0 -1
- package/fesm2022/aril-util-pub-sub.mjs +0 -37
- package/fesm2022/aril-util-pub-sub.mjs.map +0 -1
- package/fesm2022/aril-util-sync-active-tab-route.mjs +0 -52
- package/fesm2022/aril-util-sync-active-tab-route.mjs.map +0 -1
- package/fesm2022/aril-util-unwrap.mjs +0 -31
- package/fesm2022/aril-util-unwrap.mjs.map +0 -1
- package/fesm2022/aril-util.mjs +0 -8
- package/fesm2022/aril-util.mjs.map +0 -1
- package/fesm2022/aril.mjs +0 -456
- package/fesm2022/aril.mjs.map +0 -1
- package/http/index.d.ts +0 -8
- package/http/lib/enums.d.ts +0 -31
- package/http/lib/interfaces.d.ts +0 -27
- package/http/src/httpBackend.d.ts +0 -8
- package/http/src/httpClient.d.ts +0 -9
- package/http/src/interceptor/accept-language.interceptor.d.ts +0 -2
- package/http/src/serviceBase.d.ts +0 -8
- package/http/src/serviceMockBase.d.ts +0 -6
- package/http/src/serviceRequest.d.ts +0 -4
- package/http/src/serviceStateMethods.d.ts +0 -17
- package/i18n/src/folder-name-token.d.ts +0 -2
- package/i18n/src/i18n.module.d.ts +0 -7
- package/i18n/src/loader.d.ts +0 -8
- package/i18n/src/provideI18n.d.ts +0 -2
- package/i18n/src/provideScope.d.ts +0 -5
- package/index.d.ts +0 -5
- package/keycloak/index.d.ts +0 -1
- package/keycloak/src/auth.interceptor.d.ts +0 -3
- package/provider/src/index.d.ts +0 -4
- package/provider/src/prodiveHost.d.ts +0 -3
- package/provider/src/prodiveHostRouter.d.ts +0 -2
- package/provider/src/provideHostKeycloak.d.ts +0 -5
- package/provider/src/provideLocaleId.d.ts +0 -2
- package/scripts/util/blockui.min.js +0 -7
- package/styles/ui/ui.common.scss +0 -42
- package/styles/util/blockui.css +0 -56
- package/theme/index.d.ts +0 -1
- package/theme/layout/app/breadcrumb/app.breadcrumb.component.d.ts +0 -25
- package/theme/layout/app/chatbot/app.chatbot.component.d.ts +0 -35
- package/theme/layout/app/expandableMenu/expandable-menu.component.d.ts +0 -72
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.d.ts +0 -2031
- package/theme/layout/app/favorite-pages/favorite-pages.service.d.ts +0 -56
- package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.d.ts +0 -36
- package/theme/layout/app/general-search/general-search.component.d.ts +0 -22
- package/theme/layout/app/general-search/helpers.d.ts +0 -7
- package/theme/layout/app/general-search/models.d.ts +0 -131
- package/theme/layout/app/history/history-sidebar.component.d.ts +0 -2018
- package/theme/layout/app/history/history.service.d.ts +0 -36
- package/theme/layout/app/layout/app.layout.component.d.ts +0 -47
- package/theme/layout/app/layout/mfe.layout.component.d.ts +0 -10
- package/theme/layout/app/menu/app.menu.component.html +0 -14
- package/theme/layout/app/menu/app.menu.component.ts +0 -350
- package/theme/layout/app/notifications/notifications-sidebar.component.d.ts +0 -2306
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.d.ts +0 -29
- package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.d.ts +0 -30
- package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.d.ts +0 -52
- package/theme/layout/app/profileSidebar/profile.service.d.ts +0 -72
- package/theme/layout/app/sidebar/app.sidebar.component.html +0 -24
- package/theme/layout/app/sidebar/app.sidebar.component.ts +0 -44
- package/theme/layout/app/site-map/site-map-sidebar.component.d.ts +0 -2025
- package/theme/layout/app/static-sidebar/static-sidebar.component.d.ts +0 -57
- package/theme/layout/app/topbar/app.topbar.component.d.ts +0 -35
- package/theme/layout/index.d.ts +0 -7
- package/theme/layout/service/app.layout.service.d.ts +0 -69
- package/theme/layout/service/app.menu.service.d.ts +0 -22
- package/theme/layout/service/breadcrumb.service.d.ts +0 -10
- package/theme/layout/service/interfaces/enum.d.ts +0 -12
- package/theme/layout/service/interfaces/interfaces.d.ts +0 -131
- package/theme/layout/service/menuchangeevent.d.ts +0 -4
- package/theme/layout/service/notifications.service.d.ts +0 -12
- package/theme/layout/service/search.service.d.ts +0 -11
- package/theme/layout/service/selection-group.service.d.ts +0 -17
- package/theme/styles/theme/dark/blue/theme.scss +0 -14
- package/theme/styles/theme/dark/lena/theme.scss +0 -14
- package/theme/styles/theme/dark/orange/theme.scss +0 -14
- package/theme/styles/theme/dark/thor/theme.scss +0 -14
- package/theme/styles/theme/dark/yeap/theme.scss +0 -14
- package/theme/styles/theme/light/blue/theme.scss +0 -14
- package/theme/styles/theme/light/lena/theme.scss +0 -14
- package/theme/styles/theme/light/orange/theme.scss +0 -14
- package/theme/styles/theme/light/thor/theme.scss +0 -15
- package/theme/styles/theme/light/yeap/theme.scss +0 -14
- package/ui/autoComplete/src/auto-complete.component.d.ts +0 -31
- package/ui/autoComplete/src/interfaces.d.ts +0 -28
- package/ui/badge/src/badge.component.d.ts +0 -32
- package/ui/button/src/button.component.d.ts +0 -28
- package/ui/button/src/split-button.component.d.ts +0 -8
- package/ui/calendar/src/calendar.component.d.ts +0 -63
- package/ui/charts/index.d.ts +0 -12
- package/ui/charts/src/amCharts/column/column-chart.component.d.ts +0 -25
- package/ui/charts/src/amCharts/line/line-chart.component.d.ts +0 -26
- package/ui/charts/src/amCharts/pie/pie-chart.component.d.ts +0 -24
- package/ui/charts/src/highCharts/area/area-chart.component.d.ts +0 -20
- package/ui/charts/src/highCharts/bar/bar-chart.component.d.ts +0 -26
- package/ui/charts/src/highCharts/column/column-chart.component.d.ts +0 -28
- package/ui/charts/src/highCharts/gauge/solid-gauge.component.d.ts +0 -38
- package/ui/charts/src/highCharts/heatmap/heatMap-chart.component.d.ts +0 -32
- package/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.d.ts +0 -24
- package/ui/charts/src/highCharts/line/line-chart-series.component.d.ts +0 -21
- package/ui/charts/src/highCharts/line/line-chart.component.d.ts +0 -21
- package/ui/charts/src/highCharts/pie/pie-chart.component.d.ts +0 -27
- package/ui/charts/src/theme/theme.d.ts +0 -5
- package/ui/checkbox/src/check-box.component.d.ts +0 -12
- package/ui/checkbox/src/tri-state-checkbox.component.d.ts +0 -9
- package/ui/chip/index.d.ts +0 -1
- package/ui/chip/src/chip.component.d.ts +0 -34
- package/ui/collapse-reorder-list/index.d.ts +0 -1
- package/ui/collapse-reorder-list/src/collapse-reorder-list.component.d.ts +0 -21
- package/ui/dxEditor/src/dx-editor.component.d.ts +0 -11
- package/ui/dxField/src/dx-field.component.d.ts +0 -10
- package/ui/editor/src/aril-editor.component.d.ts +0 -28
- package/ui/editor/src/types.d.ts +0 -23
- package/ui/field/src/field.component.d.ts +0 -30
- package/ui/fileUpload/src/file-upload.component.d.ts +0 -49
- package/ui/form/index.d.ts +0 -11
- package/ui/form/src/form-submit-button.component.d.ts +0 -14
- package/ui/form/src/form.component.d.ts +0 -8
- package/ui/img-viewer/index.d.ts +0 -1
- package/ui/img-viewer/src/img-viewer.component.d.ts +0 -13
- package/ui/index.d.ts +0 -1
- package/ui/json-diff-comparison/src/json-diff.component.d.ts +0 -13
- package/ui/lib/index.d.ts +0 -12
- package/ui/lib/src/form/form-error-message.component.d.ts +0 -9
- package/ui/lib/src/form/form-error-message.directive.d.ts +0 -14
- package/ui/lib/src/form/form-field-builder.d.ts +0 -8
- package/ui/lib/src/form/form-validation.d.ts +0 -2
- package/ui/lib/src/grid/enum-color-picker.pipe.d.ts +0 -9
- package/ui/lib/src/grid/flex-grid.directive.d.ts +0 -6
- package/ui/lib/src/input/baseInput.d.ts +0 -7
- package/ui/lib/src/input/common-input-validators.service.d.ts +0 -20
- package/ui/lib/src/input/dx-input-error-message.pipe.d.ts +0 -11
- package/ui/lib/src/input/input-disabled.directive.d.ts +0 -9
- package/ui/lib/src/input/input-error-message.pipe.d.ts +0 -10
- package/ui/lib/src/input/input-transforms.d.ts +0 -5
- package/ui/lib/src/input/value-accessor.directive.d.ts +0 -9
- package/ui/loader/src/loader.component.d.ts +0 -5
- package/ui/mask/src/mask.component.d.ts +0 -21
- package/ui/multiSelect/src/interfaces.d.ts +0 -32
- package/ui/multiSelect/src/multi-select.component.d.ts +0 -28
- package/ui/number/src/number.component.d.ts +0 -29
- package/ui/operation-types-dialog/src/operation-types-dialog.component.d.ts +0 -33
- package/ui/overlayPanel/src/overlay-panel.component.d.ts +0 -8
- package/ui/panel/src/panel.component.d.ts +0 -14
- package/ui/password/src/password.component.d.ts +0 -11
- package/ui/pdf-viewer/src/pdf-viewer.component.d.ts +0 -19
- package/ui/progressbar/src/progressbar.component.d.ts +0 -8
- package/ui/radioButton/src/radio-button.component.d.ts +0 -22
- package/ui/relativeDateSelector/index.d.ts +0 -1
- package/ui/relativeDateSelector/src/enum.d.ts +0 -26
- package/ui/relativeDateSelector/src/relative-date-selector.component.d.ts +0 -61
- package/ui/selectBox/src/interfaces.d.ts +0 -32
- package/ui/selectBox/src/select-box.component.d.ts +0 -30
- package/ui/switch/src/switch.component.d.ts +0 -8
- package/ui/table/index.d.ts +0 -35
- package/ui/table/src/export-overlay-panel.component.d.ts +0 -39
- package/ui/table/src/interfaces.d.ts +0 -145
- package/ui/table/src/table-column.component.d.ts +0 -19
- package/ui/table/src/table.component.d.ts +0 -107
- package/ui/table-expand/index.d.ts +0 -20
- package/ui/table-expand/src/table-column.component.d.ts +0 -28
- package/ui/table-expand/src/table-expand-area.component.d.ts +0 -14
- package/ui/table-expand/src/table.component.d.ts +0 -47
- package/ui/tag/index.d.ts +0 -1
- package/ui/tag/src/interface.d.ts +0 -1
- package/ui/tag/src/tag.component.d.ts +0 -15
- package/ui/tagBox/src/tag-box.component.d.ts +0 -17
- package/ui/text/src/text.component.d.ts +0 -18
- package/ui/textArea/src/text-area.component.d.ts +0 -12
- package/ui/toggle-button/index.d.ts +0 -1
- package/ui/toggle-button/src/toggle-button.component.d.ts +0 -10
- package/ui/tooltip/src/tooltip-component.d.ts +0 -14
- package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.d.ts +0 -21
- package/ui/translate-input/src/aril-lang-modal/constants.d.ts +0 -2
- package/ui/translate-input/src/aril-translate-input.component.d.ts +0 -26
- package/ui/translate-input/src/interface.d.ts +0 -12
- package/ui/tree/src/tree.component.d.ts +0 -23
- package/ui/treeSelect/src/treeSelect.component.d.ts +0 -23
- package/ui/treeTable/src/tree-table.component.d.ts +0 -21
- package/ui/value/src/value.component.d.ts +0 -43
- package/ui-business/assetPicker/index.d.ts +0 -1
- package/ui-business/assetPicker/src/asset-picker.component.d.ts +0 -48
- package/ui-business/assetPicker/src/interface.d.ts +0 -74
- package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.d.ts +0 -31
- package/ui-business/detailed-overlay-panel/src/interface.d.ts +0 -54
- package/ui-business/enumPicker/index.d.ts +0 -1
- package/ui-business/enumPicker/src/enum-picker.component.d.ts +0 -47
- package/ui-business/enumPicker/src/interface.d.ts +0 -34
- package/ui-business/image-viewer/index.d.ts +0 -1
- package/ui-business/image-viewer/src/aril-image-viewer.component.d.ts +0 -20
- package/ui-business/index.d.ts +0 -1
- package/ui-business/multiple-ref-value/src/multiple-ref-value.component.d.ts +0 -16
- package/ui-business/notification-templates-dialog/src/interface.d.ts +0 -17
- package/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.d.ts +0 -18
- package/ui-business/operation-types-dialog/src/operation-types-dialog.component.d.ts +0 -28
- package/ui-business/ref-value/src/ref-value.component.d.ts +0 -20
- package/ui-business/rolePicker/src/interface.d.ts +0 -44
- package/ui-business/rolePicker/src/role-picker.component.d.ts +0 -25
- package/ui-business/userPicker/index.d.ts +0 -1
- package/ui-business/userPicker/src/interface.d.ts +0 -25
- package/ui-business/userPicker/src/user-picker.component.d.ts +0 -18
- package/util/block/src/block.d.ts +0 -28
- package/util/custom_pages/src/notFound.component.d.ts +0 -5
- package/util/directives/src/detail-page-customization/detail-page-customization.directive.d.ts +0 -26
- package/util/directives/src/detail-page-customization/index.d.ts +0 -2
- package/util/directives/src/detail-page-customization/models.d.ts +0 -53
- package/util/directives/src/dialog-component/plugin-dialog.component.d.ts +0 -11
- package/util/directives/src/dialog-service/plugin-dialog.service.d.ts +0 -7
- package/util/index.d.ts +0 -1
- package/util/init-event/index.d.ts +0 -1
- package/util/init-event/src/init-event.directive.d.ts +0 -8
- package/util/lib/src/interfaces.d.ts +0 -41
- package/util/lib/src/module-router.d.ts +0 -5
- package/util/lib/src/types.d.ts +0 -2290
- package/util/lib/src/validators/iban.validator.d.ts +0 -7
- package/util/lib/src/validators/max-array-length.validator.d.ts +0 -7
- package/util/lib/src/validators/min-array-length.validator.d.ts +0 -7
- package/util/lib/src/validators/tckn.validator.d.ts +0 -7
- package/util/lib/src/validators/validators.d.ts +0 -7
- package/util/loaders/index.d.ts +0 -2
- package/util/loaders/script/script.loader.service.d.ts +0 -13
- package/util/loaders/style/style.loader.service.d.ts +0 -13
- package/util/pipes/src/distance-to-now.pipe.d.ts +0 -11
- package/util/pipes/src/get-column-by-field.pipe.d.ts +0 -11
- package/util/pipes/src/parse.pipe.d.ts +0 -7
- package/util/pipes/src/round-number.pipe.d.ts +0 -11
- package/util/pipes/src/safe.pipe.d.ts +0 -10
- package/util/pipes/src/translate-json/index.d.ts +0 -1
- package/util/pipes/src/translate-json/translate-json.pipe.d.ts +0 -10
- package/util/primitive-extensions/src/date.extensions.d.ts +0 -8
- package/util/primitive-extensions/src/number.extensions.d.ts +0 -12
- package/util/primitive-extensions/src/string.extensions.d.ts +0 -11
- package/util/pub-sub/src/pub-sub.service.d.ts +0 -21
- package/util/sync-active-tab-route/src/sync-active-tab-route.directive.d.ts +0 -17
- package/util/unwrap/src/unwrap-tag.directive.d.ts +0 -9
- /package/boot/config/api/{index.d.ts → index.ts} +0 -0
- /package/boot/config/apps/{index.d.ts → index.ts} +0 -0
- /package/boot/config/plugins/{index.d.ts → index.ts} +0 -0
- /package/boot/config/translate/{index.d.ts → index.ts} +0 -0
- /package/boot/host/{index.d.ts → index.ts} +0 -0
- /package/boot/mfe/{index.d.ts → index.ts} +0 -0
- /package/i18n/{index.d.ts → index.ts} +0 -0
- /package/provider/{index.d.ts → index.ts} +0 -0
- /package/{public-api.d.ts → public-api.ts} +0 -0
- /package/ui/autoComplete/{index.d.ts → index.ts} +0 -0
- /package/ui/badge/{index.d.ts → index.ts} +0 -0
- /package/ui/button/{index.d.ts → index.ts} +0 -0
- /package/ui/calendar/{index.d.ts → index.ts} +0 -0
- /package/ui/checkbox/{index.d.ts → index.ts} +0 -0
- /package/ui/dxEditor/{index.d.ts → index.ts} +0 -0
- /package/ui/dxField/{index.d.ts → index.ts} +0 -0
- /package/ui/editor/{index.d.ts → index.ts} +0 -0
- /package/ui/field/{index.d.ts → index.ts} +0 -0
- /package/ui/fileUpload/{index.d.ts → index.ts} +0 -0
- /package/ui/json-diff-comparison/{index.d.ts → index.ts} +0 -0
- /package/ui/loader/{index.d.ts → index.ts} +0 -0
- /package/ui/mask/{index.d.ts → index.ts} +0 -0
- /package/ui/multiSelect/{index.d.ts → index.ts} +0 -0
- /package/ui/number/{index.d.ts → index.ts} +0 -0
- /package/ui/operation-types-dialog/{index.d.ts → index.ts} +0 -0
- /package/ui/overlayPanel/{index.d.ts → index.ts} +0 -0
- /package/ui/panel/{index.d.ts → index.ts} +0 -0
- /package/ui/password/{index.d.ts → index.ts} +0 -0
- /package/ui/pdf-viewer/{index.d.ts → index.ts} +0 -0
- /package/ui/progressbar/{index.d.ts → index.ts} +0 -0
- /package/ui/radioButton/{index.d.ts → index.ts} +0 -0
- /package/ui/selectBox/{index.d.ts → index.ts} +0 -0
- /package/ui/switch/{index.d.ts → index.ts} +0 -0
- /package/ui/tagBox/{index.d.ts → index.ts} +0 -0
- /package/ui/text/{index.d.ts → index.ts} +0 -0
- /package/ui/textArea/{index.d.ts → index.ts} +0 -0
- /package/ui/tooltip/{index.d.ts → index.ts} +0 -0
- /package/ui/translate-input/{index.d.ts → index.ts} +0 -0
- /package/ui/tree/{index.d.ts → index.ts} +0 -0
- /package/ui/treeSelect/{index.d.ts → index.ts} +0 -0
- /package/ui/treeTable/{index.d.ts → index.ts} +0 -0
- /package/ui/value/{index.d.ts → index.ts} +0 -0
- /package/ui-business/detailed-overlay-panel/{index.d.ts → index.ts} +0 -0
- /package/ui-business/multiple-ref-value/{index.d.ts → index.ts} +0 -0
- /package/ui-business/notification-templates-dialog/{index.d.ts → index.ts} +0 -0
- /package/ui-business/operation-types-dialog/{index.d.ts → index.ts} +0 -0
- /package/ui-business/ref-value/{index.d.ts → index.ts} +0 -0
- /package/ui-business/rolePicker/{index.d.ts → index.ts} +0 -0
- /package/util/block/{index.d.ts → index.ts} +0 -0
- /package/util/custom_pages/{index.d.ts → index.ts} +0 -0
- /package/util/directives/{index.d.ts → index.ts} +0 -0
- /package/util/lib/{index.d.ts → index.ts} +0 -0
- /package/util/lib/src/validators/{index.d.ts → index.ts} +0 -0
- /package/util/pipes/{index.d.ts → index.ts} +0 -0
- /package/util/primitive-extensions/{index.d.ts → index.ts} +0 -0
- /package/util/primitive-extensions/src/{boolean.extensions.d.ts → boolean.extensions.ts} +0 -0
- /package/util/pub-sub/{index.d.ts → index.ts} +0 -0
- /package/util/sync-active-tab-route/{index.d.ts → index.ts} +0 -0
- /package/util/unwrap/{index.d.ts → index.ts} +0 -0
package/fesm2022/aril-theme.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aril-theme.mjs","sources":["../../projects/aril/theme/index.ts","../../projects/aril/theme/aril-theme.ts"],"sourcesContent":["export const aril_theme = 'ARiL-THEME';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAO,MAAM,UAAU,GAAG;;ACA1B;;AAEG;;;;"}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, effect, Component, ViewChild } from '@angular/core';
|
|
3
|
-
import * as i3 from '@angular/forms';
|
|
4
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
|
-
import * as i4 from 'primeng/autocomplete';
|
|
6
|
-
import { AutoComplete, AutoCompleteModule } from 'primeng/autocomplete';
|
|
7
|
-
import { ObjectUtils } from 'primeng/utils';
|
|
8
|
-
import { firstValueFrom } from 'rxjs';
|
|
9
|
-
import { API_CONFIGS } from 'aril/boot/config/api';
|
|
10
|
-
import * as i2 from 'aril/ui/lib';
|
|
11
|
-
import { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';
|
|
12
|
-
import * as i1 from '@angular/common/http';
|
|
13
|
-
|
|
14
|
-
class AutoCompleteComponent extends BaseInputComponent {
|
|
15
|
-
constructor(http) {
|
|
16
|
-
super();
|
|
17
|
-
this.http = http;
|
|
18
|
-
this.items = input([]);
|
|
19
|
-
this.referenceAsset = input(null);
|
|
20
|
-
this.placeholder = input('Arama...');
|
|
21
|
-
this.forceSelection = input(false);
|
|
22
|
-
this.multiple = input(false);
|
|
23
|
-
this.minLength = input(1);
|
|
24
|
-
this.optionValue = input(null);
|
|
25
|
-
this.optionLabel = input('text');
|
|
26
|
-
effect(() => {
|
|
27
|
-
if (this.referenceAsset())
|
|
28
|
-
this.getSelectionItems();
|
|
29
|
-
if (this.items()?.length)
|
|
30
|
-
this.setSelectionItems();
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
ngAfterViewInit() {
|
|
34
|
-
this.autoCompleteRef.getOptionValue = this.getOptionValue.bind(this);
|
|
35
|
-
}
|
|
36
|
-
getOptionValue(option) {
|
|
37
|
-
return (this.optionValue() ?
|
|
38
|
-
typeof option === 'object' ?
|
|
39
|
-
ObjectUtils.resolveFieldData(option, this.optionValue())
|
|
40
|
-
: option
|
|
41
|
-
: option);
|
|
42
|
-
}
|
|
43
|
-
search(event) {
|
|
44
|
-
const query = event.query;
|
|
45
|
-
this.filteredSelectionItems = this.filterSelection(query, this.selectionItems);
|
|
46
|
-
}
|
|
47
|
-
filterSelection(query, selectionItems) {
|
|
48
|
-
let filtered = this.multiple() ?
|
|
49
|
-
selectionItems.filter((t) => this.ngControl.value?.some((v) => v === t.key)) ?? []
|
|
50
|
-
: [];
|
|
51
|
-
return [
|
|
52
|
-
...new Set([
|
|
53
|
-
...filtered,
|
|
54
|
-
...selectionItems.filter((selectionItem) => {
|
|
55
|
-
return selectionItem.text.toLowerCase().indexOf(query.toLowerCase()) == 0;
|
|
56
|
-
})
|
|
57
|
-
])
|
|
58
|
-
];
|
|
59
|
-
}
|
|
60
|
-
async getSelectionItems() {
|
|
61
|
-
const payload = {
|
|
62
|
-
pager: {
|
|
63
|
-
pageSize: 100,
|
|
64
|
-
pageNumber: 1
|
|
65
|
-
},
|
|
66
|
-
asset: {
|
|
67
|
-
alias: 'cp',
|
|
68
|
-
assetDefinitionCode: this.referenceAsset().referringAssetCode
|
|
69
|
-
},
|
|
70
|
-
attributes: [
|
|
71
|
-
{
|
|
72
|
-
attribute: {
|
|
73
|
-
alias: 'cp',
|
|
74
|
-
attributeCode: this.referenceAsset().referringAttributeCode
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
]
|
|
78
|
-
};
|
|
79
|
-
const selectionGroup = await firstValueFrom(this.http.post(API_CONFIGS.api + '/md/search', payload));
|
|
80
|
-
this.selectionItems = selectionGroup?.result.map((item) => ({
|
|
81
|
-
key: item.id,
|
|
82
|
-
text: String(item.attributes[0].value)
|
|
83
|
-
}));
|
|
84
|
-
this.writeValue();
|
|
85
|
-
}
|
|
86
|
-
setSelectionItems() {
|
|
87
|
-
this.selectionItems = this.items();
|
|
88
|
-
this.writeValue();
|
|
89
|
-
}
|
|
90
|
-
writeValue() {
|
|
91
|
-
if (this.multiple()) {
|
|
92
|
-
// BUG issue https://github.com/primefaces/primeng/issues/15495
|
|
93
|
-
this.autoCompleteRef.completeMethod.emit({ originalEvent: null, query: '' });
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
const selectedItem = this.selectionItems?.find((item) => item.key === this.ngControl.value);
|
|
97
|
-
if (selectedItem)
|
|
98
|
-
this.autoCompleteRef.writeValue(this.autoCompleteRef.getOptionLabel(selectedItem));
|
|
99
|
-
}
|
|
100
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AutoCompleteComponent, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
101
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: AutoCompleteComponent, isStandalone: true, selector: "aril-auto-complete[ngModel], aril-auto-complete[formControl], aril-auto-complete[formControlName]", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, referenceAsset: { classPropertyName: "referenceAsset", publicName: "referenceAsset", isSignal: true, isRequired: false, transformFunction: null }, 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 }, minLength: { classPropertyName: "minLength", publicName: "minLength", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "autoCompleteRef", first: true, predicate: AutoComplete, descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i2.ValueAccessorDirective }], ngImport: i0, template: "<p-autoComplete\r\n\t[optionLabel]=\"optionLabel()\"\r\n\t[optionValue]=\"optionValue()!\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[multiple]=\"multiple()\"\r\n\t[forceSelection]=\"forceSelection()\"\r\n\t[delay]=\"400\"\r\n\t[suggestions]=\"filteredSelectionItems\"\r\n\t(completeMethod)=\"search($event)\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t[minLength]=\"minLength()\"\r\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\tappendTo=\"body\">\r\n</p-autoComplete>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: AutoCompleteModule }, { kind: "component", type: i4.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"] }] }); }
|
|
102
|
-
}
|
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AutoCompleteComponent, decorators: [{
|
|
104
|
-
type: Component,
|
|
105
|
-
args: [{ standalone: true, selector: 'aril-auto-complete[ngModel], aril-auto-complete[formControl], aril-auto-complete[formControlName]', imports: [ReactiveFormsModule, InputErrorMessagePipe, AutoCompleteModule], hostDirectives: [ValueAccessorDirective], template: "<p-autoComplete\r\n\t[optionLabel]=\"optionLabel()\"\r\n\t[optionValue]=\"optionValue()!\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[multiple]=\"multiple()\"\r\n\t[forceSelection]=\"forceSelection()\"\r\n\t[delay]=\"400\"\r\n\t[suggestions]=\"filteredSelectionItems\"\r\n\t(completeMethod)=\"search($event)\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t[minLength]=\"minLength()\"\r\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\tappendTo=\"body\">\r\n</p-autoComplete>\r\n" }]
|
|
106
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }], propDecorators: { autoCompleteRef: [{
|
|
107
|
-
type: ViewChild,
|
|
108
|
-
args: [AutoComplete]
|
|
109
|
-
}] } });
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* Generated bundle index. Do not edit.
|
|
113
|
-
*/
|
|
114
|
-
|
|
115
|
-
export { AutoCompleteComponent };
|
|
116
|
-
//# sourceMappingURL=aril-ui-autoComplete.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aril-ui-autoComplete.mjs","sources":["../../projects/aril/ui/autoComplete/src/auto-complete.component.ts","../../projects/aril/ui/autoComplete/src/auto-complete.component.html","../../projects/aril/ui/autoComplete/aril-ui-autoComplete.ts"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\r\nimport { AfterViewInit, Component, ViewChild, effect, input } from '@angular/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\n\r\nimport { AutoComplete, AutoCompleteModule } from 'primeng/autocomplete';\r\nimport { ObjectUtils } from 'primeng/utils';\r\n\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\nimport { API_CONFIGS } from 'aril/boot/config/api';\r\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\r\n\r\nimport { ReferenceAsset, SelectionItemRequestDTO, SuggestionsDTO } from './interfaces';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-auto-complete[ngModel], aril-auto-complete[formControl], aril-auto-complete[formControlName]',\r\n\ttemplateUrl: './auto-complete.component.html',\r\n\timports: [ReactiveFormsModule, InputErrorMessagePipe, AutoCompleteModule],\r\n\thostDirectives: [ValueAccessorDirective]\r\n})\r\nexport class AutoCompleteComponent extends BaseInputComponent implements AfterViewInit {\r\n\t@ViewChild(AutoComplete) autoCompleteRef!: AutoComplete;\r\n\r\n\titems = input<SuggestionsDTO[]>([]);\r\n\treferenceAsset = input<ReferenceAsset | null>(null);\r\n\tplaceholder = input<string>('Arama...');\r\n\tforceSelection = input<boolean>(false);\r\n\tmultiple = input<boolean>(false);\r\n\tminLength = input<number>(1);\r\n\r\n\toptionValue = input<keyof SuggestionsDTO | null>(null);\r\n\toptionLabel = input<keyof SuggestionsDTO>('text');\r\n\r\n\tselectionItems!: SuggestionsDTO[];\r\n\tfilteredSelectionItems!: SuggestionsDTO[];\r\n\r\n\tconstructor(private http: HttpClient) {\r\n\t\tsuper();\r\n\t\teffect(() => {\r\n\t\t\tif (this.referenceAsset()) this.getSelectionItems();\r\n\r\n\t\t\tif (this.items()?.length) this.setSelectionItems();\r\n\t\t});\r\n\t}\r\n\r\n\tngAfterViewInit(): void {\r\n\t\tthis.autoCompleteRef.getOptionValue = this.getOptionValue.bind(this);\r\n\t}\r\n\r\n\tgetOptionValue(option: any) {\r\n\t\treturn (\r\n\t\t\tthis.optionValue() ?\r\n\t\t\t\ttypeof option === 'object' ?\r\n\t\t\t\t\tObjectUtils.resolveFieldData(option, this.optionValue())\r\n\t\t\t\t:\toption\r\n\t\t\t:\toption\r\n\t\t);\r\n\t}\r\n\r\n\tsearch(event: any) {\r\n\t\tconst query = event.query;\r\n\r\n\t\tthis.filteredSelectionItems = this.filterSelection(query, this.selectionItems);\r\n\t}\r\n\r\n\tfilterSelection(query: string, selectionItems: SuggestionsDTO[]): SuggestionsDTO[] {\r\n\t\tlet filtered: SuggestionsDTO[] =\r\n\t\t\tthis.multiple() ?\r\n\t\t\t\tselectionItems.filter((t) => this.ngControl.value?.some((v: unknown) => v === t.key)) ?? []\r\n\t\t\t:\t[];\r\n\r\n\t\treturn [\r\n\t\t\t...new Set([\r\n\t\t\t\t...filtered,\r\n\t\t\t\t...selectionItems.filter((selectionItem) => {\r\n\t\t\t\t\treturn selectionItem.text.toLowerCase().indexOf(query.toLowerCase()) == 0;\r\n\t\t\t\t})\r\n\t\t\t])\r\n\t\t];\r\n\t}\r\n\r\n\tasync getSelectionItems() {\r\n\t\tconst payload: SelectionItemRequestDTO = {\r\n\t\t\tpager: {\r\n\t\t\t\tpageSize: 100,\r\n\t\t\t\tpageNumber: 1\r\n\t\t\t},\r\n\t\t\tasset: {\r\n\t\t\t\talias: 'cp',\r\n\t\t\t\tassetDefinitionCode: this.referenceAsset()!.referringAssetCode\r\n\t\t\t},\r\n\t\t\tattributes: [\r\n\t\t\t\t{\r\n\t\t\t\t\tattribute: {\r\n\t\t\t\t\t\talias: 'cp',\r\n\t\t\t\t\t\tattributeCode: this.referenceAsset()!.referringAttributeCode\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t};\r\n\r\n\t\tconst selectionGroup = await firstValueFrom(this.http.post<any>(API_CONFIGS.api + '/md/search', payload));\r\n\r\n\t\tthis.selectionItems = selectionGroup?.result.map((item: any) => ({\r\n\t\t\tkey: item.id,\r\n\t\t\ttext: String(item.attributes[0].value)\r\n\t\t}));\r\n\r\n\t\tthis.writeValue();\r\n\t}\r\n\r\n\tsetSelectionItems() {\r\n\t\tthis.selectionItems = this.items();\r\n\r\n\t\tthis.writeValue();\r\n\t}\r\n\r\n\tprivate writeValue() {\r\n\t\tif (this.multiple()) {\r\n\t\t\t// BUG issue https://github.com/primefaces/primeng/issues/15495\r\n\t\t\tthis.autoCompleteRef.completeMethod.emit({ originalEvent: null as any, query: '' });\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tconst selectedItem = this.selectionItems?.find((item) => item.key === this.ngControl.value);\r\n\r\n\t\tif (selectedItem) this.autoCompleteRef.writeValue(this.autoCompleteRef.getOptionLabel(selectedItem));\r\n\t}\r\n}\r\n","<p-autoComplete\r\n\t[optionLabel]=\"optionLabel()\"\r\n\t[optionValue]=\"optionValue()!\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[multiple]=\"multiple()\"\r\n\t[forceSelection]=\"forceSelection()\"\r\n\t[delay]=\"400\"\r\n\t[suggestions]=\"filteredSelectionItems\"\r\n\t(completeMethod)=\"search($event)\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t[minLength]=\"minLength()\"\r\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\tappendTo=\"body\">\r\n</p-autoComplete>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAqBM,MAAO,qBAAsB,SAAQ,kBAAkB,CAAA;AAgB5D,IAAA,WAAA,CAAoB,IAAgB,EAAA;AACnC,QAAA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,EAAA,iBAAA,EAAA,eAAA,EAAA,cAAA,EAAA,gBAAA,EAAA,cAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,gBAAA,EAAA,UAAA,EAAA,YAAA,EAAA,SAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,SAAA,EAAA,QAAA,EAAA,QAAA,EAAA,YAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAG5D,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;AACG,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACN,QAAA,EAAA,mGAAmG,EAEpG,OAAA,EAAA,CAAC,mBAAmB,EAAE,qBAAqB,EAAE,kBAAkB,CAAC,EACzD,cAAA,EAAA,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,+eAAA,EAAA,CAAA;+EAGf,eAAe,EAAA,CAAA;sBAAvC,SAAS;uBAAC,YAAY,CAAA;;;AEtBxB;;AAEG;;;;"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, Component, ChangeDetectionStrategy } from '@angular/core';
|
|
3
|
-
import * as i1 from 'primeng/tag';
|
|
4
|
-
import { TagModule } from 'primeng/tag';
|
|
5
|
-
import * as i2 from 'primeng/tooltip';
|
|
6
|
-
import { TooltipModule } from 'primeng/tooltip';
|
|
7
|
-
|
|
8
|
-
class BadgeComponent {
|
|
9
|
-
constructor() {
|
|
10
|
-
this.icon = input();
|
|
11
|
-
this.value = input.required();
|
|
12
|
-
this.severity = input();
|
|
13
|
-
this.rounded = input();
|
|
14
|
-
this.background = input();
|
|
15
|
-
this.styleClass = input();
|
|
16
|
-
this.textColor = input();
|
|
17
|
-
this.borderColor = input();
|
|
18
|
-
}
|
|
19
|
-
badgeStyle() {
|
|
20
|
-
const mainColor = this.background() ?? '#1890FF';
|
|
21
|
-
const lightBg = this.lightenColor(mainColor, 92);
|
|
22
|
-
const textColor = this.textColor() ?? mainColor;
|
|
23
|
-
const border = this.borderColor() ?? this.lightenColor(mainColor, 60);
|
|
24
|
-
return {
|
|
25
|
-
backgroundColor: lightBg,
|
|
26
|
-
color: textColor,
|
|
27
|
-
textAlign: 'center',
|
|
28
|
-
fontSize: '1rem',
|
|
29
|
-
fontWeight: '500',
|
|
30
|
-
padding: '2px 8px',
|
|
31
|
-
borderRadius: '12px',
|
|
32
|
-
border: `0.5px solid ${border}`,
|
|
33
|
-
display: 'inline-block',
|
|
34
|
-
lineHeight: '1.2',
|
|
35
|
-
whiteSpace: 'nowrap',
|
|
36
|
-
overflow: 'hidden',
|
|
37
|
-
textOverflow: 'ellipsis',
|
|
38
|
-
maxWidth: '100%'
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
lightenColor(hex, percent) {
|
|
42
|
-
const sanitized = hex.replace('#', '');
|
|
43
|
-
const r = parseInt(sanitized.substring(0, 2), 16);
|
|
44
|
-
const g = parseInt(sanitized.substring(2, 4), 16);
|
|
45
|
-
const b = parseInt(sanitized.substring(4, 6), 16);
|
|
46
|
-
// Mix with white to lighten
|
|
47
|
-
const factor = percent / 100;
|
|
48
|
-
const nr = Math.round(r + (255 - r) * factor);
|
|
49
|
-
const ng = Math.round(g + (255 - g) * factor);
|
|
50
|
-
const nb = Math.round(b + (255 - b) * factor);
|
|
51
|
-
return `#${nr.toString(16).padStart(2, '0')}${ng.toString(16).padStart(2, '0')}${nb.toString(16).padStart(2, '0')}`;
|
|
52
|
-
}
|
|
53
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
54
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: BadgeComponent, isStandalone: true, selector: "aril-badge", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, severity: { classPropertyName: "severity", publicName: "severity", isSignal: true, isRequired: false, transformFunction: null }, rounded: { classPropertyName: "rounded", publicName: "rounded", isSignal: true, isRequired: false, transformFunction: null }, background: { classPropertyName: "background", publicName: "background", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, textColor: { classPropertyName: "textColor", publicName: "textColor", isSignal: true, isRequired: false, transformFunction: null }, borderColor: { classPropertyName: "borderColor", publicName: "borderColor", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<p-tag\r\n\t[icon]=\"icon()\"\r\n\t[value]=\"value() && value().length > 50 ? value().slice(0, 50) + '...' : value()\"\r\n\t[severity]=\"severity()\"\r\n\t[rounded]=\"rounded()\"\r\n\t[styleClass]=\"styleClass()\"\r\n\t[style]=\"badgeStyle()\"\r\n\t[pTooltip]=\"value() && value().length > 50 ? value() : undefined\"\r\n\ttooltipPosition=\"top\">\r\n\t<ng-content></ng-content>\r\n</p-tag>\r\n", dependencies: [{ kind: "ngmodule", type: TagModule }, { kind: "component", type: i1.Tag, selector: "p-tag", inputs: ["style", "styleClass", "severity", "value", "icon", "rounded"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
55
|
-
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: BadgeComponent, decorators: [{
|
|
57
|
-
type: Component,
|
|
58
|
-
args: [{ standalone: true, selector: 'aril-badge', imports: [TagModule, TooltipModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<p-tag\r\n\t[icon]=\"icon()\"\r\n\t[value]=\"value() && value().length > 50 ? value().slice(0, 50) + '...' : value()\"\r\n\t[severity]=\"severity()\"\r\n\t[rounded]=\"rounded()\"\r\n\t[styleClass]=\"styleClass()\"\r\n\t[style]=\"badgeStyle()\"\r\n\t[pTooltip]=\"value() && value().length > 50 ? value() : undefined\"\r\n\ttooltipPosition=\"top\">\r\n\t<ng-content></ng-content>\r\n</p-tag>\r\n" }]
|
|
59
|
-
}] });
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Generated bundle index. Do not edit.
|
|
63
|
-
*/
|
|
64
|
-
|
|
65
|
-
export { BadgeComponent };
|
|
66
|
-
//# sourceMappingURL=aril-ui-badge.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aril-ui-badge.mjs","sources":["../../projects/aril/ui/badge/src/badge.component.ts","../../projects/aril/ui/badge/src/badge.component.html","../../projects/aril/ui/badge/aril-ui-badge.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input } from '@angular/core';\r\n\r\nimport { TagModule } from 'primeng/tag';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\n\r\ntype Severity = 'success' | 'secondary' | 'info' | 'warning' | 'danger' | 'contrast' | undefined;\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-badge',\r\n\ttemplateUrl: './badge.component.html',\r\n\timports: [TagModule, TooltipModule],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class BadgeComponent {\r\n\ticon = input<string>();\r\n\tvalue = input.required<string>();\r\n\tseverity = input<Severity>();\r\n\trounded = input<boolean>();\r\n\tbackground = input<string>();\r\n\tstyleClass = input<string>();\r\n\ttextColor = input<string>();\r\n\tborderColor = input<string>();\r\n\r\n\tbadgeStyle() {\r\n\t\tconst mainColor = this.background() ?? '#1890FF';\r\n\t\tconst lightBg = this.lightenColor(mainColor, 92);\r\n\t\tconst textColor = this.textColor() ?? mainColor;\r\n\t\tconst border = this.borderColor() ?? this.lightenColor(mainColor, 60);\r\n\t\treturn {\r\n\t\t\tbackgroundColor: lightBg,\r\n\t\t\tcolor: textColor,\r\n\t\t\ttextAlign: 'center',\r\n\t\t\tfontSize: '1rem',\r\n\t\t\tfontWeight: '500',\r\n\t\t\tpadding: '2px 8px',\r\n\t\t\tborderRadius: '12px',\r\n\t\t\tborder: `0.5px solid ${border}`,\r\n\t\t\tdisplay: 'inline-block',\r\n\t\t\tlineHeight: '1.2',\r\n\t\t\twhiteSpace: 'nowrap',\r\n\t\t\toverflow: 'hidden',\r\n\t\t\ttextOverflow: 'ellipsis',\r\n\t\t\tmaxWidth: '100%'\r\n\t\t};\r\n\t}\r\n\r\n\tprivate lightenColor(hex: string, percent: number): string {\r\n\t\tconst sanitized = hex.replace('#', '');\r\n\t\tconst r = parseInt(sanitized.substring(0, 2), 16);\r\n\t\tconst g = parseInt(sanitized.substring(2, 4), 16);\r\n\t\tconst b = parseInt(sanitized.substring(4, 6), 16);\r\n\t\t\r\n\t\t// Mix with white to lighten\r\n\t\tconst factor = percent / 100;\r\n\t\tconst nr = Math.round(r + (255 - r) * factor);\r\n\t\tconst ng = Math.round(g + (255 - g) * factor);\r\n\t\tconst nb = Math.round(b + (255 - b) * factor);\r\n\t\t\r\n\t\treturn `#${nr.toString(16).padStart(2, '0')}${ng.toString(16).padStart(2, '0')}${nb.toString(16).padStart(2, '0')}`;\r\n\t}\r\n\t\r\n}","<p-tag\r\n\t[icon]=\"icon()\"\r\n\t[value]=\"value() && value().length > 50 ? value().slice(0, 50) + '...' : value()\"\r\n\t[severity]=\"severity()\"\r\n\t[rounded]=\"rounded()\"\r\n\t[styleClass]=\"styleClass()\"\r\n\t[style]=\"badgeStyle()\"\r\n\t[pTooltip]=\"value() && value().length > 50 ? value() : undefined\"\r\n\ttooltipPosition=\"top\">\r\n\t<ng-content></ng-content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, inject, DestroyRef, EventEmitter, effect, Component, ViewChild, Output } from '@angular/core';
|
|
3
|
-
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
4
|
-
import * as i5 from '@angular/forms';
|
|
5
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
6
|
-
import * as i6 from 'primeng/autocomplete';
|
|
7
|
-
import { AutoComplete, AutoCompleteModule } from 'primeng/autocomplete';
|
|
8
|
-
import { ObjectUtils } from 'primeng/utils';
|
|
9
|
-
import { Subject, switchMap } from 'rxjs';
|
|
10
|
-
import { API_CONFIGS } from 'aril/boot/config/api';
|
|
11
|
-
import { Apps } from 'aril/boot/config/apps';
|
|
12
|
-
import * as i4 from 'aril/ui/lib';
|
|
13
|
-
import { BaseInputComponent, ValueAccessorDirective } from 'aril/ui/lib';
|
|
14
|
-
import * as i1 from '@angular/common/http';
|
|
15
|
-
import * as i2 from '@ngneat/transloco';
|
|
16
|
-
import * as i3 from 'aril/theme/layout';
|
|
17
|
-
import * as i7 from 'primeng/api';
|
|
18
|
-
|
|
19
|
-
class AssetPickerComponent extends BaseInputComponent {
|
|
20
|
-
constructor(http, translocoService, selectionGroupService) {
|
|
21
|
-
super();
|
|
22
|
-
this.http = http;
|
|
23
|
-
this.translocoService = translocoService;
|
|
24
|
-
this.selectionGroupService = selectionGroupService;
|
|
25
|
-
this.assetCode = input(null);
|
|
26
|
-
this.type = input(null);
|
|
27
|
-
this.placeholder = input('Arama...');
|
|
28
|
-
this.forceSelection = input(false);
|
|
29
|
-
this.multiple = input(false);
|
|
30
|
-
this.showClear = input(false);
|
|
31
|
-
this.optionValue = input(null);
|
|
32
|
-
this.appendTo = input('body');
|
|
33
|
-
this.mql = input();
|
|
34
|
-
this.showOnlyAssetNumber = input(false);
|
|
35
|
-
this.isUpdateMode = signal(false);
|
|
36
|
-
this.cacheSearchRequest$ = new Subject();
|
|
37
|
-
this.destroyRef = inject(DestroyRef);
|
|
38
|
-
this.selectedDefinitionEvent = new EventEmitter();
|
|
39
|
-
effect(() => {
|
|
40
|
-
this.selectionGroupService.selectionGroups();
|
|
41
|
-
if (this.selectionDefinitions) {
|
|
42
|
-
this.refreshFilteredSelectionItems();
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
ngOnInit() {
|
|
47
|
-
this.cacheSearchRequest$
|
|
48
|
-
.pipe(switchMap((payload) => this.http.post(API_CONFIGS.getExternalAppEndpoint(Apps.MNG) + '/master-data/cache-search', payload)), takeUntilDestroyed(this.destroyRef))
|
|
49
|
-
.subscribe((selectionGroup) => {
|
|
50
|
-
this.selectionDefinitions = selectionGroup;
|
|
51
|
-
this.refreshFilteredSelectionItems();
|
|
52
|
-
});
|
|
53
|
-
// If the form control's value is a string, perform a cache search to retrieve the ID.
|
|
54
|
-
const currentValue = this.ngControl?.control?.value;
|
|
55
|
-
if (currentValue && typeof currentValue === 'string') {
|
|
56
|
-
this.isUpdateMode.set(true);
|
|
57
|
-
this.search({ query: currentValue });
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
refreshFilteredSelectionItems() {
|
|
61
|
-
if (!this.selectionDefinitions)
|
|
62
|
-
return;
|
|
63
|
-
const newFilteredGroupSuggestions = [];
|
|
64
|
-
Object.keys(this.selectionDefinitions).forEach((key) => {
|
|
65
|
-
const groupData = {
|
|
66
|
-
text: this.selectionDefinitions[key]?.result[0]?.assets[0]?.assetDefinitionName,
|
|
67
|
-
key: key,
|
|
68
|
-
items: this.selectionDefinitions[key].result.map((item) => ({
|
|
69
|
-
key: item.id,
|
|
70
|
-
text: this.getAttiributesValueDescr(item.attributes),
|
|
71
|
-
assetNumber: this.getAssetNumberValue(item.attributes),
|
|
72
|
-
attributes: item.attributes,
|
|
73
|
-
assetDefinitionCode: item.assetDefinitionCode
|
|
74
|
-
}))
|
|
75
|
-
};
|
|
76
|
-
newFilteredGroupSuggestions.push(groupData);
|
|
77
|
-
// If the string value is patched in update mode and there is group data, select the first item
|
|
78
|
-
if (this.isUpdateMode() && groupData.items.length === 1 && !this.multiple()) {
|
|
79
|
-
this.ngControl?.control?.setValue(groupData.items[0]);
|
|
80
|
-
this.isUpdateMode.set(false);
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
this.filteredSelectionItems = newFilteredGroupSuggestions;
|
|
84
|
-
}
|
|
85
|
-
ngAfterViewInit() {
|
|
86
|
-
this.autoCompleteRef.getOptionValue = this.getOptionValue.bind(this);
|
|
87
|
-
}
|
|
88
|
-
getOptionValue(option) {
|
|
89
|
-
if (!this.optionValue()) {
|
|
90
|
-
return option;
|
|
91
|
-
}
|
|
92
|
-
if (typeof option === 'object') {
|
|
93
|
-
return ObjectUtils.resolveFieldData(option, this.optionValue());
|
|
94
|
-
}
|
|
95
|
-
return option;
|
|
96
|
-
}
|
|
97
|
-
onNgModelChange(value) {
|
|
98
|
-
const validatedValue = this.validateInput(value);
|
|
99
|
-
this.ngControl.viewToModelUpdate(validatedValue);
|
|
100
|
-
}
|
|
101
|
-
validateInput(value) {
|
|
102
|
-
if (this.type() === 'number') {
|
|
103
|
-
return value.replace(/\D/g, '');
|
|
104
|
-
}
|
|
105
|
-
else if (this.type() === 'text') {
|
|
106
|
-
return value.replace(/[^a-zA-ZğüşıöçĞÜŞİÖÇ\s]/g, '');
|
|
107
|
-
}
|
|
108
|
-
return value;
|
|
109
|
-
}
|
|
110
|
-
search(event) {
|
|
111
|
-
const query = this.validateInput(event.query);
|
|
112
|
-
const payload = {
|
|
113
|
-
searchText: query?.trim(),
|
|
114
|
-
assetDefinitionCodes: Array.isArray(this.assetCode()) ? this.assetCode() : [this.assetCode()],
|
|
115
|
-
pager: {
|
|
116
|
-
pageSize: 5,
|
|
117
|
-
pageNumber: 1
|
|
118
|
-
}
|
|
119
|
-
};
|
|
120
|
-
if (this.mql())
|
|
121
|
-
payload.mql = this.mql();
|
|
122
|
-
this.cacheSearchRequest$.next(payload);
|
|
123
|
-
}
|
|
124
|
-
getAttiributesValueDescr(attributes) {
|
|
125
|
-
const excludedAttributes = ['AssetId', 'AssetDefinitionName'];
|
|
126
|
-
return attributes
|
|
127
|
-
?.filter((attr) => !excludedAttributes.includes(attr.attribute?.attributeCode))
|
|
128
|
-
?.map((attr) => {
|
|
129
|
-
// Handle SELECT type attributes using SelectionGroupService
|
|
130
|
-
if (attr.attribute?.attributeType === 'SELECT' && attr.attribute?.selectOption) {
|
|
131
|
-
return this.getSelectionDisplay(attr.attribute.selectOption, attr.value);
|
|
132
|
-
}
|
|
133
|
-
const value = attr.valueDesc ? attr.valueDesc : attr.value;
|
|
134
|
-
return typeof value === 'object' ? JSON.stringify(value) : String(value);
|
|
135
|
-
})
|
|
136
|
-
.join(' - ');
|
|
137
|
-
}
|
|
138
|
-
getAssetNumberValue(attributes) {
|
|
139
|
-
const assetNumberAttr = attributes?.find((attr) => attr.attribute?.attributeCode === 'AssetNumber');
|
|
140
|
-
if (!assetNumberAttr)
|
|
141
|
-
return '';
|
|
142
|
-
return String(assetNumberAttr.valueDesc || assetNumberAttr.value || '');
|
|
143
|
-
}
|
|
144
|
-
getSelectionDisplay(groupName, value) {
|
|
145
|
-
const key = `${groupName}~ALL`;
|
|
146
|
-
const selectionGroup = this.selectionGroupService.selectionGroups()[key];
|
|
147
|
-
if (!selectionGroup) {
|
|
148
|
-
this.selectionGroupService.fetchEnum(groupName, 'ALL');
|
|
149
|
-
return value;
|
|
150
|
-
}
|
|
151
|
-
const currentLang = this.translocoService.getActiveLang();
|
|
152
|
-
const selectionItem = selectionGroup.selectionItems?.find((t) => t.selectionKey === value);
|
|
153
|
-
if (!selectionItem)
|
|
154
|
-
return value;
|
|
155
|
-
return selectionItem.selectionMultiLanguageDisplays?.[currentLang] ?? selectionItem.selectionDisplay ?? value;
|
|
156
|
-
}
|
|
157
|
-
triggerSelectedEvents(event) {
|
|
158
|
-
const selectedItems = Object.keys(this.selectionDefinitions).map((key) => {
|
|
159
|
-
return this.selectionDefinitions[key].result.find((item) => item.id === event?.value?.key);
|
|
160
|
-
});
|
|
161
|
-
const selectedItem = selectedItems[0];
|
|
162
|
-
const selectedEvent = {
|
|
163
|
-
...selectedItem,
|
|
164
|
-
key: selectedItem?.id,
|
|
165
|
-
text: selectedItem?.assetDefinitionName,
|
|
166
|
-
attributes: selectedItem?.attributes,
|
|
167
|
-
assetDefinitionCode: selectedItem?.assetDefinitionCode
|
|
168
|
-
};
|
|
169
|
-
this.selectedDefinitionEvent.emit(selectedEvent);
|
|
170
|
-
}
|
|
171
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AssetPickerComponent, deps: [{ token: i1.HttpClient }, { token: i2.TranslocoService }, { token: i3.SelectionGroupService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
172
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: AssetPickerComponent, isStandalone: true, selector: "aril-asset-picker[ngModel], aril-asset-picker[formControl], aril-asset-picker[formControlName]", inputs: { assetCode: { classPropertyName: "assetCode", publicName: "assetCode", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, 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 }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, mql: { classPropertyName: "mql", publicName: "mql", isSignal: true, isRequired: false, transformFunction: null }, showOnlyAssetNumber: { classPropertyName: "showOnlyAssetNumber", publicName: "showOnlyAssetNumber", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectedDefinitionEvent: "selectedDefinitionEvent" }, viewQueries: [{ propertyName: "autoCompleteRef", first: true, predicate: AutoComplete, descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i4.ValueAccessorDirective }], ngImport: i0, template: "<p-autoComplete\r\n\toptionLabel=\"text\"\r\n\t[optionValue]=\"optionValue()!\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[multiple]=\"multiple()\"\r\n\t[group]=\"true\"\r\n\t[forceSelection]=\"forceSelection()\"\r\n\t[delay]=\"700\"\r\n\t[minLength]=\"3\"\r\n\t[suggestions]=\"filteredSelectionItems\"\r\n\t(completeMethod)=\"search($event)\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t[autoHighlight]=\"true\"\r\n\t[type]=\"type()!\"\r\n\t(ngModelChange)=\"onNgModelChange($event)\"\r\n\t[showClear]=\"showClear()\"\r\n\t[emptyMessage]=\"translocoService.translate('messages.noDataToDisplay')\"\r\n\t(onSelect)=\"triggerSelectedEvents($event)\"\r\n\t[appendTo]=\"appendTo()\"\r\n\t(keyup.enter)=\"search($event)\">\r\n\t<ng-template let-group pTemplate=\"group\">\r\n\t\t<span class=\"font-bold\">{{ group.text }}</span>\r\n\t</ng-template>\r\n\t@if (showOnlyAssetNumber()) {\r\n\t\t<ng-template let-value pTemplate=\"selectedItem\">\r\n\t\t\t<span>{{ value?.assetNumber || value?.text }}</span>\r\n\t\t</ng-template>\r\n\t}\r\n</p-autoComplete>\r\n", styles: ["::ng-deep .p-autocomplete-multiple-container{flex-wrap:wrap;max-height:50px;overflow-y:auto;align-items:center}::ng-deep .p-autocomplete-token{margin:0;flex-shrink:0}::ng-deep .p-autocomplete-input-token{flex:1;min-width:150px}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: AutoCompleteModule }, { kind: "component", type: i6.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"] }, { kind: "directive", type: i7.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }] }); }
|
|
173
|
-
}
|
|
174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AssetPickerComponent, decorators: [{
|
|
175
|
-
type: Component,
|
|
176
|
-
args: [{ standalone: true, selector: 'aril-asset-picker[ngModel], aril-asset-picker[formControl], aril-asset-picker[formControlName]', imports: [ReactiveFormsModule, AutoCompleteModule], hostDirectives: [ValueAccessorDirective], template: "<p-autoComplete\r\n\toptionLabel=\"text\"\r\n\t[optionValue]=\"optionValue()!\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[multiple]=\"multiple()\"\r\n\t[group]=\"true\"\r\n\t[forceSelection]=\"forceSelection()\"\r\n\t[delay]=\"700\"\r\n\t[minLength]=\"3\"\r\n\t[suggestions]=\"filteredSelectionItems\"\r\n\t(completeMethod)=\"search($event)\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t[autoHighlight]=\"true\"\r\n\t[type]=\"type()!\"\r\n\t(ngModelChange)=\"onNgModelChange($event)\"\r\n\t[showClear]=\"showClear()\"\r\n\t[emptyMessage]=\"translocoService.translate('messages.noDataToDisplay')\"\r\n\t(onSelect)=\"triggerSelectedEvents($event)\"\r\n\t[appendTo]=\"appendTo()\"\r\n\t(keyup.enter)=\"search($event)\">\r\n\t<ng-template let-group pTemplate=\"group\">\r\n\t\t<span class=\"font-bold\">{{ group.text }}</span>\r\n\t</ng-template>\r\n\t@if (showOnlyAssetNumber()) {\r\n\t\t<ng-template let-value pTemplate=\"selectedItem\">\r\n\t\t\t<span>{{ value?.assetNumber || value?.text }}</span>\r\n\t\t</ng-template>\r\n\t}\r\n</p-autoComplete>\r\n", styles: ["::ng-deep .p-autocomplete-multiple-container{flex-wrap:wrap;max-height:50px;overflow-y:auto;align-items:center}::ng-deep .p-autocomplete-token{margin:0;flex-shrink:0}::ng-deep .p-autocomplete-input-token{flex:1;min-width:150px}\n"] }]
|
|
177
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.TranslocoService }, { type: i3.SelectionGroupService }], propDecorators: { autoCompleteRef: [{
|
|
178
|
-
type: ViewChild,
|
|
179
|
-
args: [AutoComplete]
|
|
180
|
-
}], selectedDefinitionEvent: [{
|
|
181
|
-
type: Output
|
|
182
|
-
}] } });
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* Generated bundle index. Do not edit.
|
|
186
|
-
*/
|
|
187
|
-
|
|
188
|
-
export { AssetPickerComponent };
|
|
189
|
-
//# sourceMappingURL=aril-ui-business-assetPicker.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aril-ui-business-assetPicker.mjs","sources":["../../projects/aril/ui-business/assetPicker/src/asset-picker.component.ts","../../projects/aril/ui-business/assetPicker/src/asset-picker.component.html","../../projects/aril/ui-business/assetPicker/aril-ui-business-assetPicker.ts"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\r\nimport {\r\n\tAfterViewInit,\r\n\tComponent,\r\n\tDestroyRef,\r\n\tEventEmitter,\r\n\tOnInit,\r\n\tOutput,\r\n\tViewChild,\r\n\teffect,\r\n\tinject,\r\n\tinput,\r\n\tsignal\r\n} from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\n\r\nimport { AutoComplete, AutoCompleteModule } from 'primeng/autocomplete';\r\nimport { ObjectUtils } from 'primeng/utils';\r\n\r\nimport { TranslocoService } from '@ngneat/transloco';\r\nimport { Subject, switchMap } from 'rxjs';\r\n\r\nimport { API_CONFIGS } from 'aril/boot/config/api';\r\nimport { Apps } from 'aril/boot/config/apps';\r\nimport { SelectionGroupService } from 'aril/theme/layout';\r\nimport { BaseInputComponent, ValueAccessorDirective } from 'aril/ui/lib';\r\n\r\nimport {\r\n\tAssetAggregate,\r\n\tAttributeElement,\r\n\tCacheSearchRequestDTO,\r\n\tDefaultSearchAggregateAssetAggregate,\r\n\tSuggestionsDTO,\r\n\tSuggestionsGroupDTO\r\n} from './interface';\r\n\r\ntype ValueTypes = 'text' | 'number';\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-asset-picker[ngModel], aril-asset-picker[formControl], aril-asset-picker[formControlName]',\r\n\ttemplateUrl: './asset-picker.component.html',\r\n\tstyles: [\r\n\t\t`\r\n\t\t\t::ng-deep .p-autocomplete-multiple-container {\r\n\t\t\t\tflex-wrap: wrap;\r\n\t\t\t\tmax-height: 50px;\r\n\t\t\t\toverflow-y: auto;\r\n\t\t\t\talign-items: center;\r\n\t\t\t}\r\n\r\n\t\t\t::ng-deep .p-autocomplete-token {\r\n\t\t\t\tmargin: 0;\r\n\t\t\t\tflex-shrink: 0;\r\n\t\t\t}\r\n\r\n\t\t\t::ng-deep .p-autocomplete-input-token {\r\n\t\t\t\tflex: 1;\r\n\t\t\t\tmin-width: 150px;\r\n\t\t\t}\r\n\t\t`\r\n\t],\r\n\timports: [ReactiveFormsModule, AutoCompleteModule],\r\n\thostDirectives: [ValueAccessorDirective]\r\n})\r\nexport class AssetPickerComponent extends BaseInputComponent implements AfterViewInit, OnInit {\r\n\t@ViewChild(AutoComplete) autoCompleteRef!: AutoComplete;\r\n\tassetCode = input<string | string[] | null>(null);\r\n\ttype = input<ValueTypes | null>(null);\r\n\r\n\tplaceholder = input<string>('Arama...');\r\n\tforceSelection = input<boolean>(false);\r\n\tmultiple = input<boolean>(false);\r\n\tshowClear = input<boolean>(false);\r\n\toptionValue = input<keyof SuggestionsDTO | null>(null);\r\n\tappendTo = input<string | HTMLElement | null>('body');\r\n\tmql = input<string>();\r\n\tshowOnlyAssetNumber = input<boolean>(false);\r\n\tisUpdateMode = signal<boolean>(false);\r\n\r\n\tfilteredSelectionItems!: SuggestionsGroupDTO[];\r\n\tselectionDefinitions!: DefaultSearchAggregateAssetAggregate;\r\n\tcacheSearchRequest$ = new Subject<CacheSearchRequestDTO>();\r\n\tdestroyRef = inject(DestroyRef);\r\n\t@Output() selectedDefinitionEvent: EventEmitter<AssetAggregate> = new EventEmitter<AssetAggregate>();\r\n\r\n\tconstructor(\r\n\t\tprivate readonly http: HttpClient,\r\n\t\tpublic translocoService: TranslocoService,\r\n\t\tprivate readonly selectionGroupService: SelectionGroupService\r\n\t) {\r\n\t\tsuper();\r\n\r\n\t\teffect(() => {\r\n\t\t\tthis.selectionGroupService.selectionGroups();\r\n\t\t\tif (this.selectionDefinitions) {\r\n\t\t\t\tthis.refreshFilteredSelectionItems();\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t}\r\n\r\n\tngOnInit() {\r\n\t\tthis.cacheSearchRequest$\r\n\t\t\t.pipe(\r\n\t\t\t\tswitchMap((payload) =>\r\n\t\t\t\t\tthis.http.post<any>(API_CONFIGS.getExternalAppEndpoint(Apps.MNG) + '/master-data/cache-search', payload)\r\n\t\t\t\t),\r\n\t\t\t\ttakeUntilDestroyed(this.destroyRef)\r\n\t\t\t)\r\n\t\t\t.subscribe((selectionGroup) => {\r\n\t\t\t\tthis.selectionDefinitions = selectionGroup;\r\n\t\t\t\tthis.refreshFilteredSelectionItems();\r\n\t\t\t});\r\n\r\n\t\t// If the form control's value is a string, perform a cache search to retrieve the ID.\r\n\t\tconst currentValue = this.ngControl?.control?.value;\r\n\t\tif (currentValue && typeof currentValue === 'string'){\r\n\t\t\t\t\tthis.isUpdateMode.set(true);\r\n\t\t\t\t\tthis.search({ query: currentValue });\r\n\t\t}\r\n\r\n\t}\r\n\r\n\tprivate refreshFilteredSelectionItems(): void {\r\n\t\tif (!this.selectionDefinitions) return;\r\n\r\n\t\tconst newFilteredGroupSuggestions: SuggestionsGroupDTO[] = [];\r\n\r\n\t\tObject.keys(this.selectionDefinitions).forEach((key: string) => {\r\n\t\t\tconst groupData: SuggestionsGroupDTO = {\r\n\t\t\t\ttext: this.selectionDefinitions[key]?.result[0]?.assets[0]?.assetDefinitionName,\r\n\t\t\t\tkey: key,\r\n\t\t\t\titems: this.selectionDefinitions[key].result.map(\r\n\t\t\t\t\t(item: AssetAggregate) =>\r\n\t\t\t\t\t\t({\r\n\t\t\t\t\t\t\tkey: item.id,\r\n\t\t\t\t\t\t\ttext: this.getAttiributesValueDescr(item.attributes),\r\n\t\t\t\t\t\t\tassetNumber: this.getAssetNumberValue(item.attributes),\r\n\t\t\t\t\t\t\tattributes: item.attributes,\r\n\t\t\t\t\t\t\tassetDefinitionCode: item.assetDefinitionCode\r\n\t\t\t\t\t\t}) as SuggestionsDTO\r\n\t\t\t\t)\r\n\t\t\t};\r\n\t\t\tnewFilteredGroupSuggestions.push(groupData);\r\n\r\n\t\t\t// If the string value is patched in update mode and there is group data, select the first item\r\n\t\t\tif (this.isUpdateMode() && groupData.items.length === 1 && !this.multiple()) {\r\n\t\t\t\tthis.ngControl?.control?.setValue(groupData.items[0]);\r\n\t\t\t\tthis.isUpdateMode.set(false);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tthis.filteredSelectionItems = newFilteredGroupSuggestions;\r\n\t}\r\n\r\n\tngAfterViewInit(): void {\r\n\t\tthis.autoCompleteRef.getOptionValue = this.getOptionValue.bind(this);\r\n\t}\r\n\r\n\tgetOptionValue(option: any) {\r\n\t\tif (!this.optionValue()) {\r\n\t\t\treturn option;\r\n\t\t}\r\n\r\n\t\tif (typeof option === 'object') {\r\n\t\t\treturn ObjectUtils.resolveFieldData(option, this.optionValue());\r\n\t\t}\r\n\r\n\t\treturn option;\r\n\t}\r\n\r\n\tonNgModelChange(value: string) {\r\n\t\tconst validatedValue = this.validateInput(value);\r\n\t\tthis.ngControl.viewToModelUpdate(validatedValue);\r\n\t}\r\n\r\n\tvalidateInput(value: string) {\r\n\t\tif (this.type() === 'number') {\r\n\t\t\treturn value.replace(/\\D/g, '');\r\n\t\t} else if (this.type() === 'text') {\r\n\t\t\treturn value.replace(/[^a-zA-ZğüşıöçĞÜŞİÖÇ\\s]/g, '');\r\n\t\t}\r\n\t\treturn value;\r\n\t}\r\n\r\n\tsearch(event: any) {\r\n\t\tconst query = this.validateInput(event.query);\r\n\t\tconst payload: CacheSearchRequestDTO = {\r\n\t\t\tsearchText: query?.trim(),\r\n\t\t\tassetDefinitionCodes: Array.isArray(this.assetCode()) ? this.assetCode() : ([this.assetCode()] as any),\r\n\t\t\tpager: {\r\n\t\t\t\tpageSize: 5,\r\n\t\t\t\tpageNumber: 1\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tif (this.mql()) payload.mql = this.mql();\r\n\r\n\t\tthis.cacheSearchRequest$.next(payload);\r\n\t}\r\n\r\n\tgetAttiributesValueDescr(attributes: AttributeElement[]): string {\r\n\t\tconst excludedAttributes = ['AssetId', 'AssetDefinitionName'];\r\n\t\treturn attributes\r\n\t\t\t?.filter((attr) => !excludedAttributes.includes(attr.attribute?.attributeCode))\r\n\t\t\t?.map((attr) => {\r\n\t\t\t\t// Handle SELECT type attributes using SelectionGroupService\r\n\t\t\t\tif (attr.attribute?.attributeType === 'SELECT' && attr.attribute?.selectOption) {\r\n\t\t\t\t\treturn this.getSelectionDisplay(attr.attribute.selectOption, attr.value as string);\r\n\t\t\t\t}\r\n\t\t\t\tconst value = attr.valueDesc ? attr.valueDesc : attr.value;\r\n\t\t\t\treturn typeof value === 'object' ? JSON.stringify(value) : String(value);\r\n\t\t\t})\r\n\t\t\t.join(' - ');\r\n\t}\r\n\tprivate getAssetNumberValue(attributes: AttributeElement[]): string {\r\n\t\tconst assetNumberAttr = attributes?.find((attr) => attr.attribute?.attributeCode === 'AssetNumber');\r\n\t\tif (!assetNumberAttr) return '';\r\n\t\treturn String(assetNumberAttr.valueDesc || assetNumberAttr.value || '');\r\n\t}\r\n\tprivate getSelectionDisplay(groupName: string, value: string): string {\r\n\t\tconst key = `${groupName}~ALL`;\r\n\t\tconst selectionGroup = this.selectionGroupService.selectionGroups()[key];\r\n\r\n\t\tif (!selectionGroup) {\r\n\t\t\tthis.selectionGroupService.fetchEnum(groupName, 'ALL');\r\n\t\t\treturn value;\r\n\t\t}\r\n\r\n\t\tconst currentLang = this.translocoService.getActiveLang();\r\n\t\tconst selectionItem = selectionGroup.selectionItems?.find((t) => t.selectionKey === value) as {\r\n\t\t\tselectionMultiLanguageDisplays?: { [lang: string]: string };\r\n\t\t\tselectionDisplay?: string;\r\n\t\t};\r\n\r\n\t\tif (!selectionItem) return value;\r\n\r\n\t\treturn selectionItem.selectionMultiLanguageDisplays?.[currentLang] ?? selectionItem.selectionDisplay ?? value;\r\n\t}\r\n\r\n\ttriggerSelectedEvents(event: any) {\r\n\t\tconst selectedItems: AssetAggregate[] = Object.keys(this.selectionDefinitions).map((key: string) => {\r\n\t\t\treturn this.selectionDefinitions[key].result.find((item: AssetAggregate) => item.id === event?.value?.key);\r\n\t\t}) as AssetAggregate[];\r\n\r\n\t\tconst selectedItem = selectedItems[0];\r\n\r\n\t\tconst selectedEvent = {\r\n\t\t\t...selectedItem,\r\n\t\t\tkey: selectedItem?.id,\r\n\t\t\ttext: selectedItem?.assetDefinitionName,\r\n\t\t\tattributes: selectedItem?.attributes,\r\n\t\t\tassetDefinitionCode: selectedItem?.assetDefinitionCode\r\n\t\t};\r\n\r\n\t\tthis.selectedDefinitionEvent.emit(selectedEvent);\r\n\t}\r\n}\r\n","<p-autoComplete\r\n\toptionLabel=\"text\"\r\n\t[optionValue]=\"optionValue()!\"\r\n\t[placeholder]=\"placeholder()\"\r\n\t[multiple]=\"multiple()\"\r\n\t[group]=\"true\"\r\n\t[forceSelection]=\"forceSelection()\"\r\n\t[delay]=\"700\"\r\n\t[minLength]=\"3\"\r\n\t[suggestions]=\"filteredSelectionItems\"\r\n\t(completeMethod)=\"search($event)\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t[autoHighlight]=\"true\"\r\n\t[type]=\"type()!\"\r\n\t(ngModelChange)=\"onNgModelChange($event)\"\r\n\t[showClear]=\"showClear()\"\r\n\t[emptyMessage]=\"translocoService.translate('messages.noDataToDisplay')\"\r\n\t(onSelect)=\"triggerSelectedEvents($event)\"\r\n\t[appendTo]=\"appendTo()\"\r\n\t(keyup.enter)=\"search($event)\">\r\n\t<ng-template let-group pTemplate=\"group\">\r\n\t\t<span class=\"font-bold\">{{ group.text }}</span>\r\n\t</ng-template>\r\n\t@if (showOnlyAssetNumber()) {\r\n\t\t<ng-template let-value pTemplate=\"selectedItem\">\r\n\t\t\t<span>{{ value?.assetNumber || value?.text }}</span>\r\n\t\t</ng-template>\r\n\t}\r\n</p-autoComplete>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAiEM,MAAO,oBAAqB,SAAQ,kBAAkB,CAAA;AAqB3D,IAAA,WAAA,CACkB,IAAgB,EAC1B,gBAAkC,EACxB,qBAA4C,EAAA;AAE7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from '@angular/core';
|
|
3
|
-
import * as i3 from 'primeng/progressspinner';
|
|
4
|
-
import { ProgressSpinnerModule } from 'primeng/progressspinner';
|
|
5
|
-
import * as i2 from 'primeng/tooltip';
|
|
6
|
-
import { Tooltip, TooltipModule } from 'primeng/tooltip';
|
|
7
|
-
import { firstValueFrom } from 'rxjs';
|
|
8
|
-
import { API_CONFIGS } from 'aril/boot/config/api';
|
|
9
|
-
import { ValueComponent } from 'aril/ui/value';
|
|
10
|
-
import * as i1 from '@angular/common/http';
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* A component to display detailed tooltips with configurable position, event triggers, and delays.
|
|
14
|
-
*/
|
|
15
|
-
class DetailedOverlayPanelComponent {
|
|
16
|
-
constructor(http) {
|
|
17
|
-
this.http = http;
|
|
18
|
-
this.assetId = input.required();
|
|
19
|
-
this.style = input({});
|
|
20
|
-
this.styleClass = input('');
|
|
21
|
-
this.columns = input([]);
|
|
22
|
-
this.tableData = {};
|
|
23
|
-
this.loading = false;
|
|
24
|
-
this.infoAttributes = [];
|
|
25
|
-
this.tableDataCache = {};
|
|
26
|
-
}
|
|
27
|
-
async onHover() {
|
|
28
|
-
if (this.tableDataCache[this.assetId()]) {
|
|
29
|
-
this.tableData = this.tableDataCache[this.assetId()];
|
|
30
|
-
this.infoAttributes = this.tableData.attributes;
|
|
31
|
-
return;
|
|
32
|
-
}
|
|
33
|
-
this.loading = true;
|
|
34
|
-
try {
|
|
35
|
-
const hostApi = API_CONFIGS.api.replace(/\/[^/]+\/v1$/, `/host/v1`);
|
|
36
|
-
const result = await firstValueFrom(this.http.get(`${hostApi}/master-data/${this.assetId()}/hover`));
|
|
37
|
-
if (result) {
|
|
38
|
-
this.tableDataCache[this.assetId()] = result;
|
|
39
|
-
this.tableData = result;
|
|
40
|
-
this.infoAttributes = result.attributes;
|
|
41
|
-
}
|
|
42
|
-
this.loading = false;
|
|
43
|
-
if (this.tooltip.active) {
|
|
44
|
-
this.tooltip.show();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
catch (error) {
|
|
48
|
-
console.error('Error fetching asset detail:', error);
|
|
49
|
-
this.loading = false;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: DetailedOverlayPanelComponent, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
53
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: DetailedOverlayPanelComponent, isStandalone: true, selector: "aril-detailed-oveylay-panel", inputs: { assetId: { classPropertyName: "assetId", publicName: "assetId", isSignal: true, isRequired: true, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "tooltip", first: true, predicate: Tooltip, descendants: true }], ngImport: i0, template: "<span\r\n\t#spanRef\r\n\t(mouseenter)=\"onHover()\"\r\n\t[pTooltip]=\"tooltipContent\"\r\n\t[autoHide]=\"false\"\r\n\ttooltipStyleClass=\"detailed-overlay-tooltip\">\r\n\t<ng-content />\r\n</span>\r\n\r\n<ng-template #tooltipContent>\r\n\t@if (loading) {\r\n\t\t<p-progressSpinner styleClass=\"w-4rem h-4rem\" strokeWidth=\"8\" />\r\n\t} @else {\r\n\t\t<div class=\"w-full mb-2\">\r\n\t\t\t<p class=\"font-semibold\">{{ tableData.assetDefinitionName }} / {{ tableData.assetDefinitionCode }}</p>\r\n\t\t</div>\r\n\t\t<table class=\"w-full\">\r\n\t\t\t@for (infoAttribute of infoAttributes; track infoAttribute) {\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td>\r\n\t\t\t\t\t\t{{ infoAttribute.attribute.attributeName }}\r\n\t\t\t\t\t</td>\r\n\t\t\t\t\t<td>\r\n\t\t\t\t\t\t<p class=\"font-bold m-0\">\r\n\t\t\t\t\t\t\t@switch (infoAttribute.attribute.attributeType) {\r\n\t\t\t\t\t\t\t\t@case ('DATE') {\r\n\t\t\t\t\t\t\t\t\t<aril-value type=\"date\" [model]=\"infoAttribute?.value\" format=\"day\" />\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t@case ('DATE_TIME') {\r\n\t\t\t\t\t\t\t\t\t<aril-value type=\"date\" [model]=\"infoAttribute?.value\" format=\"second\" />\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t@case ('BOOLEAN') {\r\n\t\t\t\t\t\t\t\t\t@if (infoAttribute.value === 'true') {\r\n\t\t\t\t\t\t\t\t\t\t<aril-value type=\"text\" model=\"Var\" />\r\n\t\t\t\t\t\t\t\t\t} @else {\r\n\t\t\t\t\t\t\t\t\t\t<aril-value type=\"text\" model=\"Yok\" />\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t@default {\r\n\t\t\t\t\t\t\t\t\t<aril-value\r\n\t\t\t\t\t\t\t\t\t\ttype=\"text\"\r\n\t\t\t\t\t\t\t\t\t\t[model]=\"infoAttribute.valueDesc ? infoAttribute.valueDesc : infoAttribute.value\"\r\n\t\t\t\t\t\t\t\t\t\t[shouldShowCopyForClampedText]=\"true\" />\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t</p>\r\n\t\t\t\t\t</td>\r\n\t\t\t\t</tr>\r\n\t\t\t}\r\n\t\t</table>\r\n\t}\r\n</ng-template>\r\n", styles: ["table{width:100%;border-collapse:collapse}th,td{padding:8px;border:1px solid #ddd}::ng-deep .detailed-overlay-tooltip .p-tooltip-text{background:#fff;color:var(--text-color);width:max-content}\n"], dependencies: [{ kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "ngmodule", type: ProgressSpinnerModule }, { kind: "component", type: i3.ProgressSpinner, selector: "p-progressSpinner", inputs: ["styleClass", "style", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "component", type: ValueComponent, selector: "aril-value", inputs: ["model", "type", "format", "isClickable", "groupName", "parentSelectionKey", "isTextClamp", "textClampCharacters", "style", "copyable", "shouldShowCopyForClampedText", "arrayTypeDisplayName", "arrayTypeMaxBadgeCount", "bigDecimalRoundingMode", "bigDecimalScale"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
54
|
-
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: DetailedOverlayPanelComponent, decorators: [{
|
|
56
|
-
type: Component,
|
|
57
|
-
args: [{ selector: 'aril-detailed-oveylay-panel', standalone: true, imports: [TooltipModule, ProgressSpinnerModule, ValueComponent, TooltipModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<span\r\n\t#spanRef\r\n\t(mouseenter)=\"onHover()\"\r\n\t[pTooltip]=\"tooltipContent\"\r\n\t[autoHide]=\"false\"\r\n\ttooltipStyleClass=\"detailed-overlay-tooltip\">\r\n\t<ng-content />\r\n</span>\r\n\r\n<ng-template #tooltipContent>\r\n\t@if (loading) {\r\n\t\t<p-progressSpinner styleClass=\"w-4rem h-4rem\" strokeWidth=\"8\" />\r\n\t} @else {\r\n\t\t<div class=\"w-full mb-2\">\r\n\t\t\t<p class=\"font-semibold\">{{ tableData.assetDefinitionName }} / {{ tableData.assetDefinitionCode }}</p>\r\n\t\t</div>\r\n\t\t<table class=\"w-full\">\r\n\t\t\t@for (infoAttribute of infoAttributes; track infoAttribute) {\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td>\r\n\t\t\t\t\t\t{{ infoAttribute.attribute.attributeName }}\r\n\t\t\t\t\t</td>\r\n\t\t\t\t\t<td>\r\n\t\t\t\t\t\t<p class=\"font-bold m-0\">\r\n\t\t\t\t\t\t\t@switch (infoAttribute.attribute.attributeType) {\r\n\t\t\t\t\t\t\t\t@case ('DATE') {\r\n\t\t\t\t\t\t\t\t\t<aril-value type=\"date\" [model]=\"infoAttribute?.value\" format=\"day\" />\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t@case ('DATE_TIME') {\r\n\t\t\t\t\t\t\t\t\t<aril-value type=\"date\" [model]=\"infoAttribute?.value\" format=\"second\" />\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t@case ('BOOLEAN') {\r\n\t\t\t\t\t\t\t\t\t@if (infoAttribute.value === 'true') {\r\n\t\t\t\t\t\t\t\t\t\t<aril-value type=\"text\" model=\"Var\" />\r\n\t\t\t\t\t\t\t\t\t} @else {\r\n\t\t\t\t\t\t\t\t\t\t<aril-value type=\"text\" model=\"Yok\" />\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t@default {\r\n\t\t\t\t\t\t\t\t\t<aril-value\r\n\t\t\t\t\t\t\t\t\t\ttype=\"text\"\r\n\t\t\t\t\t\t\t\t\t\t[model]=\"infoAttribute.valueDesc ? infoAttribute.valueDesc : infoAttribute.value\"\r\n\t\t\t\t\t\t\t\t\t\t[shouldShowCopyForClampedText]=\"true\" />\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t</p>\r\n\t\t\t\t\t</td>\r\n\t\t\t\t</tr>\r\n\t\t\t}\r\n\t\t</table>\r\n\t}\r\n</ng-template>\r\n", styles: ["table{width:100%;border-collapse:collapse}th,td{padding:8px;border:1px solid #ddd}::ng-deep .detailed-overlay-tooltip .p-tooltip-text{background:#fff;color:var(--text-color);width:max-content}\n"] }]
|
|
58
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }], propDecorators: { tooltip: [{
|
|
59
|
-
type: ViewChild,
|
|
60
|
-
args: [Tooltip]
|
|
61
|
-
}] } });
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Generated bundle index. Do not edit.
|
|
65
|
-
*/
|
|
66
|
-
|
|
67
|
-
export { DetailedOverlayPanelComponent };
|
|
68
|
-
//# sourceMappingURL=aril-ui-business-detailed-overlay-panel.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aril-ui-business-detailed-overlay-panel.mjs","sources":["../../projects/aril/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.ts","../../projects/aril/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.html","../../projects/aril/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.ts"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\r\nimport { ChangeDetectionStrategy, Component, ViewChild, input } from '@angular/core';\r\n\r\nimport { ProgressSpinnerModule } from 'primeng/progressspinner';\r\nimport { Tooltip, TooltipModule } from 'primeng/tooltip';\r\n\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\nimport { API_CONFIGS } from 'aril/boot/config/api';\r\nimport { ValueComponent } from 'aril/ui/value';\r\n\r\nimport { AssetAggregate, AttributeElement } from './interface';\r\n\r\n/**\r\n * A component to display detailed tooltips with configurable position, event triggers, and delays.\r\n */\r\n@Component({\r\n\tselector: 'aril-detailed-oveylay-panel',\r\n\tstandalone: true,\r\n\timports: [TooltipModule, ProgressSpinnerModule, ValueComponent, TooltipModule],\r\n\ttemplateUrl: './detailed-overlay-panel.component.html',\r\n\tstyleUrl: './detailed-overlay-panel.component.scss',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class DetailedOverlayPanelComponent {\r\n\tassetId = input.required<any>();\r\n\tstyle = input<any>({});\r\n\tstyleClass = input<string>('');\r\n\tcolumns = input<{ field: string; header: string }[]>([]);\r\n\ttableData: AssetAggregate = {} as AssetAggregate;\r\n\tloading = false;\r\n\tinfoAttributes: AttributeElement[] = [];\r\n\ttableDataCache: { [assetId: string]: AssetAggregate } = {};\r\n\r\n\t@ViewChild(Tooltip) tooltip!: Tooltip;\r\n\r\n\tconstructor(private readonly http: HttpClient) {}\r\n\r\n\tasync onHover() {\r\n\t\tif (this.tableDataCache[this.assetId()]) {\r\n\t\t\tthis.tableData = this.tableDataCache[this.assetId()];\r\n\t\t\tthis.infoAttributes = this.tableData.attributes;\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.loading = true;\r\n\t\ttry {\r\n\t\t\tconst hostApi = API_CONFIGS.api.replace(/\\/[^/]+\\/v1$/, `/host/v1`);\r\n\t\t\tconst result = await firstValueFrom(\r\n\t\t\t\tthis.http.get<AssetAggregate>(`${hostApi}/master-data/${this.assetId()}/hover`)\r\n\t\t\t);\r\n\r\n\t\t\tif (result) {\r\n\t\t\t\tthis.tableDataCache[this.assetId()] = result;\r\n\t\t\t\tthis.tableData = result;\r\n\t\t\t\tthis.infoAttributes = result.attributes;\r\n\t\t\t}\r\n\t\t\tthis.loading = false;\r\n\t\t\tif (this.tooltip.active) {\r\n\t\t\t\tthis.tooltip.show();\r\n\t\t\t}\r\n\t\t} catch (error) {\r\n\t\t\tconsole.error('Error fetching asset detail:', error);\r\n\t\t\tthis.loading = false;\r\n\t\t}\r\n\t}\r\n}\r\n","<span\r\n\t#spanRef\r\n\t(mouseenter)=\"onHover()\"\r\n\t[pTooltip]=\"tooltipContent\"\r\n\t[autoHide]=\"false\"\r\n\ttooltipStyleClass=\"detailed-overlay-tooltip\">\r\n\t<ng-content />\r\n</span>\r\n\r\n<ng-template #tooltipContent>\r\n\t@if (loading) {\r\n\t\t<p-progressSpinner styleClass=\"w-4rem h-4rem\" strokeWidth=\"8\" />\r\n\t} @else {\r\n\t\t<div class=\"w-full mb-2\">\r\n\t\t\t<p class=\"font-semibold\">{{ tableData.assetDefinitionName }} / {{ tableData.assetDefinitionCode }}</p>\r\n\t\t</div>\r\n\t\t<table class=\"w-full\">\r\n\t\t\t@for (infoAttribute of infoAttributes; track infoAttribute) {\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td>\r\n\t\t\t\t\t\t{{ infoAttribute.attribute.attributeName }}\r\n\t\t\t\t\t</td>\r\n\t\t\t\t\t<td>\r\n\t\t\t\t\t\t<p class=\"font-bold m-0\">\r\n\t\t\t\t\t\t\t@switch (infoAttribute.attribute.attributeType) {\r\n\t\t\t\t\t\t\t\t@case ('DATE') {\r\n\t\t\t\t\t\t\t\t\t<aril-value type=\"date\" [model]=\"infoAttribute?.value\" format=\"day\" />\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t@case ('DATE_TIME') {\r\n\t\t\t\t\t\t\t\t\t<aril-value type=\"date\" [model]=\"infoAttribute?.value\" format=\"second\" />\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t@case ('BOOLEAN') {\r\n\t\t\t\t\t\t\t\t\t@if (infoAttribute.value === 'true') {\r\n\t\t\t\t\t\t\t\t\t\t<aril-value type=\"text\" model=\"Var\" />\r\n\t\t\t\t\t\t\t\t\t} @else {\r\n\t\t\t\t\t\t\t\t\t\t<aril-value type=\"text\" model=\"Yok\" />\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t@default {\r\n\t\t\t\t\t\t\t\t\t<aril-value\r\n\t\t\t\t\t\t\t\t\t\ttype=\"text\"\r\n\t\t\t\t\t\t\t\t\t\t[model]=\"infoAttribute.valueDesc ? infoAttribute.valueDesc : infoAttribute.value\"\r\n\t\t\t\t\t\t\t\t\t\t[shouldShowCopyForClampedText]=\"true\" />\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t</p>\r\n\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