aril 1.1.72 → 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 -528
- 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 -411
- 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/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 -2
- 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-lib.mjs +0 -307
- package/fesm2022/aril-util-lib.mjs.map +0 -1
- package/fesm2022/aril-util-loaders.mjs +0 -68
- 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/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/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/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/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 -1
- 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
|
@@ -1,308 +1,308 @@
|
|
|
1
|
-
import { Injectable, effect, signal } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
export type MenuMode = 'static' | 'expandable';
|
|
6
|
-
|
|
7
|
-
export type ColorScheme = 'light' | 'dark' | 'dim';
|
|
8
|
-
|
|
9
|
-
export type MenuColorScheme = 'colorScheme' | 'primaryColor' | 'transparent';
|
|
10
|
-
|
|
11
|
-
export interface AppConfig {
|
|
12
|
-
inputStyle: string;
|
|
13
|
-
colorScheme: ColorScheme;
|
|
14
|
-
theme: string;
|
|
15
|
-
ripple: boolean;
|
|
16
|
-
menuMode: MenuMode;
|
|
17
|
-
scale: number;
|
|
18
|
-
menuTheme: MenuColorScheme;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
interface LayoutState {
|
|
22
|
-
// Static sidebar states
|
|
23
|
-
staticSidebarVisible: boolean;
|
|
24
|
-
staticSidebarCollapsed: boolean;
|
|
25
|
-
staticMenuMobileActive: boolean;
|
|
26
|
-
|
|
27
|
-
// Expandable menu states
|
|
28
|
-
selectedMainItem: number | null;
|
|
29
|
-
secondarySidebarExpanded: boolean;
|
|
30
|
-
|
|
31
|
-
// Other sidebar states
|
|
32
|
-
profileSidebarVisible: boolean;
|
|
33
|
-
historySidebarVisible: boolean;
|
|
34
|
-
siteMapSidebarVisible: boolean;
|
|
35
|
-
favoritePagesSidebarVisible: boolean;
|
|
36
|
-
notificationsSidebarVisible: boolean;
|
|
37
|
-
|
|
38
|
-
// Notifications
|
|
39
|
-
unreadNotificationCount: number;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@Injectable({
|
|
43
|
-
providedIn: 'root'
|
|
44
|
-
})
|
|
45
|
-
export class LayoutService {
|
|
46
|
-
|
|
47
|
-
_config: AppConfig = {
|
|
48
|
-
ripple: false,
|
|
49
|
-
inputStyle: 'outlined',
|
|
50
|
-
menuMode: localStorage.getItem('menu-mode') as MenuMode || 'static',
|
|
51
|
-
colorScheme: 'light',
|
|
52
|
-
theme: 'indigo',
|
|
53
|
-
scale: 12,
|
|
54
|
-
menuTheme: 'colorScheme'
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
// TODO: Set User Config
|
|
58
|
-
config = signal<AppConfig>(this._config);
|
|
59
|
-
|
|
60
|
-
state: LayoutState = {
|
|
61
|
-
// Static sidebar states
|
|
62
|
-
staticSidebarVisible: true,
|
|
63
|
-
staticSidebarCollapsed: false,
|
|
64
|
-
staticMenuMobileActive: false,
|
|
65
|
-
|
|
66
|
-
// Expandable menu states
|
|
67
|
-
selectedMainItem: null,
|
|
68
|
-
secondarySidebarExpanded: false,
|
|
69
|
-
|
|
70
|
-
// Other sidebar states
|
|
71
|
-
profileSidebarVisible: false,
|
|
72
|
-
historySidebarVisible: false,
|
|
73
|
-
siteMapSidebarVisible: false,
|
|
74
|
-
favoritePagesSidebarVisible: false,
|
|
75
|
-
notificationsSidebarVisible: false,
|
|
76
|
-
|
|
77
|
-
// Notifications
|
|
78
|
-
unreadNotificationCount: 0
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
private configUpdate = new Subject<AppConfig>();
|
|
82
|
-
private overlayOpen = new Subject<any>();
|
|
83
|
-
|
|
84
|
-
configUpdate$ = this.configUpdate.asObservable();
|
|
85
|
-
overlayOpen$ = this.overlayOpen.asObservable();
|
|
86
|
-
|
|
87
|
-
mfeAppItemClicked = signal<boolean>(false);
|
|
88
|
-
|
|
89
|
-
// Breakpoint for mobile/tablet detection
|
|
90
|
-
private readonly MOBILE_BREAKPOINT = 992;
|
|
91
|
-
|
|
92
|
-
constructor() {
|
|
93
|
-
effect(() => {
|
|
94
|
-
const config = this.config();
|
|
95
|
-
if (this.updateStyle(config)) {
|
|
96
|
-
this.changeTheme();
|
|
97
|
-
}
|
|
98
|
-
this.changeScale(config.scale);
|
|
99
|
-
this.onConfigUpdate();
|
|
100
|
-
});
|
|
101
|
-
|
|
102
|
-
this.initializeResponsiveBehavior();
|
|
103
|
-
|
|
104
|
-
// Set initial state based on menu mode
|
|
105
|
-
if (this.config().menuMode === 'expandable') {
|
|
106
|
-
this.state.staticSidebarVisible = false;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
private initializeResponsiveBehavior() {
|
|
111
|
-
// Listen for window resize events
|
|
112
|
-
window.addEventListener('resize', () => this.handleResize());
|
|
113
|
-
this.handleResize();
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
private handleResize() {
|
|
117
|
-
const wasMobile = this.isMobile();
|
|
118
|
-
|
|
119
|
-
// Recalculate mobile state
|
|
120
|
-
const isMobileNow = window.innerWidth <= this.MOBILE_BREAKPOINT;
|
|
121
|
-
|
|
122
|
-
// If switching from mobile to desktop or vice versa
|
|
123
|
-
if (wasMobile !== isMobileNow) {
|
|
124
|
-
if (isMobileNow) {
|
|
125
|
-
// Switching to mobile: close any open desktop menus
|
|
126
|
-
this.state.staticSidebarVisible = true;
|
|
127
|
-
this.state.staticMenuMobileActive = false;
|
|
128
|
-
// For expandable menu, keep secondary sidebar state but handle mobile behavior
|
|
129
|
-
} else {
|
|
130
|
-
// Switching to desktop: ensure proper desktop state
|
|
131
|
-
this.state.staticMenuMobileActive = false;
|
|
132
|
-
this.state.staticSidebarVisible = true;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
updateStyle(config: AppConfig) {
|
|
138
|
-
return config.theme !== this._config.theme || config.colorScheme !== this._config.colorScheme;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
onMenuToggle() {
|
|
142
|
-
if (this.isMobile()) {
|
|
143
|
-
this.state.staticMenuMobileActive = !this.state.staticMenuMobileActive;
|
|
144
|
-
|
|
145
|
-
if (this.state.staticMenuMobileActive) {
|
|
146
|
-
this.overlayOpen.next(null);
|
|
147
|
-
}
|
|
148
|
-
} else {
|
|
149
|
-
if (this.config().menuMode === 'static') {
|
|
150
|
-
if (this.state.staticSidebarVisible && !this.state.staticSidebarCollapsed) {
|
|
151
|
-
this.state.staticSidebarCollapsed = true;
|
|
152
|
-
} else if (this.state.staticSidebarVisible && this.state.staticSidebarCollapsed) {
|
|
153
|
-
this.state.staticSidebarCollapsed = false;
|
|
154
|
-
} else {
|
|
155
|
-
this.state.staticSidebarVisible = true;
|
|
156
|
-
this.state.staticSidebarCollapsed = false;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
// For expandable mode, the toggle is handled by the expandable component itself
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
onOverlaySubmenuOpen() {
|
|
164
|
-
this.overlayOpen.next(null);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
// Expandable menu methods
|
|
168
|
-
setSelectedMainItem(index: number | null) {
|
|
169
|
-
this.state.selectedMainItem = index;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
toggleSecondarySidebar() {
|
|
173
|
-
this.state.secondarySidebarExpanded = !this.state.secondarySidebarExpanded;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
setSecondarySidebarExpanded(expanded: boolean) {
|
|
177
|
-
this.state.secondarySidebarExpanded = expanded;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
// Sidebar show methods
|
|
181
|
-
showProfileSidebar() {
|
|
182
|
-
this.state.profileSidebarVisible = true;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
showHistorySidebar() {
|
|
186
|
-
this.state.historySidebarVisible = true;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
showSiteMapSidebar() {
|
|
190
|
-
this.state.siteMapSidebarVisible = true;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
showFavoritePagesSidebar() {
|
|
194
|
-
this.state.favoritePagesSidebarVisible = true;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
showNotificationsSidebar() {
|
|
198
|
-
this.state.notificationsSidebarVisible = true;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
setUnreadNotificationCount(count: number) {
|
|
202
|
-
this.state.unreadNotificationCount = count;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
getUnreadNotificationCount(): number {
|
|
206
|
-
return this.state.unreadNotificationCount;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
isDesktop() {
|
|
210
|
-
return window.innerWidth > this.MOBILE_BREAKPOINT;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
isMobile() {
|
|
214
|
-
return window.innerWidth <= this.MOBILE_BREAKPOINT;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
isStatic() {
|
|
218
|
-
return this.config().menuMode === 'static';
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
isExpandable() {
|
|
222
|
-
return this.config().menuMode === 'expandable';
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
// Helper method to determine if static sidebar should be shown
|
|
226
|
-
shouldShowStaticSidebar(): boolean {
|
|
227
|
-
if (this.config().menuMode !== 'static') return false;
|
|
228
|
-
|
|
229
|
-
if (this.isDesktop()) {
|
|
230
|
-
return this.state.staticSidebarVisible;
|
|
231
|
-
} else {
|
|
232
|
-
return this.state.staticMenuMobileActive;
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
isStaticSidebarCollapsed(): boolean {
|
|
237
|
-
return this.state.staticSidebarCollapsed;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
shouldShowExpandableMenu(): boolean {
|
|
241
|
-
return this.config().menuMode === 'expandable';
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
closeMobileMenu() {
|
|
245
|
-
this.state.staticMenuMobileActive = false;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
// Change menu mode programmatically
|
|
249
|
-
changeMenuMode(mode: MenuMode) {
|
|
250
|
-
this.config.update((config) => ({
|
|
251
|
-
...config,
|
|
252
|
-
menuMode: mode
|
|
253
|
-
}));
|
|
254
|
-
|
|
255
|
-
// Update states based on new mode
|
|
256
|
-
if (mode === 'static') {
|
|
257
|
-
this.state.staticSidebarVisible = true;
|
|
258
|
-
this.state.selectedMainItem = null;
|
|
259
|
-
this.state.secondarySidebarExpanded = false;
|
|
260
|
-
} else if (mode === 'expandable') {
|
|
261
|
-
this.state.staticSidebarVisible = false;
|
|
262
|
-
this.state.selectedMainItem = null;
|
|
263
|
-
this.state.secondarySidebarExpanded = false;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
this.state.staticMenuMobileActive = false;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
onConfigUpdate() {
|
|
270
|
-
this._config = { ...this.config() };
|
|
271
|
-
this.configUpdate.next(this.config());
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
changeTheme() {
|
|
275
|
-
const config = this.config();
|
|
276
|
-
const themeLink = <HTMLLinkElement>document.getElementById('theme-link');
|
|
277
|
-
const themeLinkHref = themeLink.getAttribute('href')!;
|
|
278
|
-
const newHref = themeLinkHref
|
|
279
|
-
.split('/')
|
|
280
|
-
.map((el) =>
|
|
281
|
-
el == this._config.theme ? (el = config.theme)
|
|
282
|
-
: el == `theme-${this._config.colorScheme}` ? (el = `theme-${config.colorScheme}`)
|
|
283
|
-
: el
|
|
284
|
-
)
|
|
285
|
-
.join('/');
|
|
286
|
-
|
|
287
|
-
this.replaceThemeLink(newHref);
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
replaceThemeLink(href: string) {
|
|
291
|
-
const id = 'theme-link';
|
|
292
|
-
let themeLink = <HTMLLinkElement>document.getElementById(id);
|
|
293
|
-
const cloneLinkElement = <HTMLLinkElement>themeLink.cloneNode(true);
|
|
294
|
-
|
|
295
|
-
cloneLinkElement.setAttribute('href', href);
|
|
296
|
-
cloneLinkElement.setAttribute('id', id + '-clone');
|
|
297
|
-
|
|
298
|
-
themeLink.parentNode!.insertBefore(cloneLinkElement, themeLink.nextSibling);
|
|
299
|
-
cloneLinkElement.addEventListener('load', () => {
|
|
300
|
-
themeLink.remove();
|
|
301
|
-
cloneLinkElement.setAttribute('id', id);
|
|
302
|
-
});
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
changeScale(value: number) {
|
|
306
|
-
document.documentElement.style.fontSize = `${value}px`;
|
|
307
|
-
}
|
|
1
|
+
import { Injectable, effect, signal } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
|
|
5
|
+
export type MenuMode = 'static' | 'expandable';
|
|
6
|
+
|
|
7
|
+
export type ColorScheme = 'light' | 'dark' | 'dim';
|
|
8
|
+
|
|
9
|
+
export type MenuColorScheme = 'colorScheme' | 'primaryColor' | 'transparent';
|
|
10
|
+
|
|
11
|
+
export interface AppConfig {
|
|
12
|
+
inputStyle: string;
|
|
13
|
+
colorScheme: ColorScheme;
|
|
14
|
+
theme: string;
|
|
15
|
+
ripple: boolean;
|
|
16
|
+
menuMode: MenuMode;
|
|
17
|
+
scale: number;
|
|
18
|
+
menuTheme: MenuColorScheme;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
interface LayoutState {
|
|
22
|
+
// Static sidebar states
|
|
23
|
+
staticSidebarVisible: boolean;
|
|
24
|
+
staticSidebarCollapsed: boolean;
|
|
25
|
+
staticMenuMobileActive: boolean;
|
|
26
|
+
|
|
27
|
+
// Expandable menu states
|
|
28
|
+
selectedMainItem: number | null;
|
|
29
|
+
secondarySidebarExpanded: boolean;
|
|
30
|
+
|
|
31
|
+
// Other sidebar states
|
|
32
|
+
profileSidebarVisible: boolean;
|
|
33
|
+
historySidebarVisible: boolean;
|
|
34
|
+
siteMapSidebarVisible: boolean;
|
|
35
|
+
favoritePagesSidebarVisible: boolean;
|
|
36
|
+
notificationsSidebarVisible: boolean;
|
|
37
|
+
|
|
38
|
+
// Notifications
|
|
39
|
+
unreadNotificationCount: number;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@Injectable({
|
|
43
|
+
providedIn: 'root'
|
|
44
|
+
})
|
|
45
|
+
export class LayoutService {
|
|
46
|
+
|
|
47
|
+
_config: AppConfig = {
|
|
48
|
+
ripple: false,
|
|
49
|
+
inputStyle: 'outlined',
|
|
50
|
+
menuMode: localStorage.getItem('menu-mode') as MenuMode || 'static',
|
|
51
|
+
colorScheme: 'light',
|
|
52
|
+
theme: 'indigo',
|
|
53
|
+
scale: 12,
|
|
54
|
+
menuTheme: 'colorScheme'
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
// TODO: Set User Config
|
|
58
|
+
config = signal<AppConfig>(this._config);
|
|
59
|
+
|
|
60
|
+
state: LayoutState = {
|
|
61
|
+
// Static sidebar states
|
|
62
|
+
staticSidebarVisible: true,
|
|
63
|
+
staticSidebarCollapsed: false,
|
|
64
|
+
staticMenuMobileActive: false,
|
|
65
|
+
|
|
66
|
+
// Expandable menu states
|
|
67
|
+
selectedMainItem: null,
|
|
68
|
+
secondarySidebarExpanded: false,
|
|
69
|
+
|
|
70
|
+
// Other sidebar states
|
|
71
|
+
profileSidebarVisible: false,
|
|
72
|
+
historySidebarVisible: false,
|
|
73
|
+
siteMapSidebarVisible: false,
|
|
74
|
+
favoritePagesSidebarVisible: false,
|
|
75
|
+
notificationsSidebarVisible: false,
|
|
76
|
+
|
|
77
|
+
// Notifications
|
|
78
|
+
unreadNotificationCount: 0
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
private configUpdate = new Subject<AppConfig>();
|
|
82
|
+
private overlayOpen = new Subject<any>();
|
|
83
|
+
|
|
84
|
+
configUpdate$ = this.configUpdate.asObservable();
|
|
85
|
+
overlayOpen$ = this.overlayOpen.asObservable();
|
|
86
|
+
|
|
87
|
+
mfeAppItemClicked = signal<boolean>(false);
|
|
88
|
+
|
|
89
|
+
// Breakpoint for mobile/tablet detection
|
|
90
|
+
private readonly MOBILE_BREAKPOINT = 992;
|
|
91
|
+
|
|
92
|
+
constructor() {
|
|
93
|
+
effect(() => {
|
|
94
|
+
const config = this.config();
|
|
95
|
+
if (this.updateStyle(config)) {
|
|
96
|
+
this.changeTheme();
|
|
97
|
+
}
|
|
98
|
+
this.changeScale(config.scale);
|
|
99
|
+
this.onConfigUpdate();
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
this.initializeResponsiveBehavior();
|
|
103
|
+
|
|
104
|
+
// Set initial state based on menu mode
|
|
105
|
+
if (this.config().menuMode === 'expandable') {
|
|
106
|
+
this.state.staticSidebarVisible = false;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
private initializeResponsiveBehavior() {
|
|
111
|
+
// Listen for window resize events
|
|
112
|
+
window.addEventListener('resize', () => this.handleResize());
|
|
113
|
+
this.handleResize();
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
private handleResize() {
|
|
117
|
+
const wasMobile = this.isMobile();
|
|
118
|
+
|
|
119
|
+
// Recalculate mobile state
|
|
120
|
+
const isMobileNow = window.innerWidth <= this.MOBILE_BREAKPOINT;
|
|
121
|
+
|
|
122
|
+
// If switching from mobile to desktop or vice versa
|
|
123
|
+
if (wasMobile !== isMobileNow) {
|
|
124
|
+
if (isMobileNow) {
|
|
125
|
+
// Switching to mobile: close any open desktop menus
|
|
126
|
+
this.state.staticSidebarVisible = true;
|
|
127
|
+
this.state.staticMenuMobileActive = false;
|
|
128
|
+
// For expandable menu, keep secondary sidebar state but handle mobile behavior
|
|
129
|
+
} else {
|
|
130
|
+
// Switching to desktop: ensure proper desktop state
|
|
131
|
+
this.state.staticMenuMobileActive = false;
|
|
132
|
+
this.state.staticSidebarVisible = true;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
updateStyle(config: AppConfig) {
|
|
138
|
+
return config.theme !== this._config.theme || config.colorScheme !== this._config.colorScheme;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
onMenuToggle() {
|
|
142
|
+
if (this.isMobile()) {
|
|
143
|
+
this.state.staticMenuMobileActive = !this.state.staticMenuMobileActive;
|
|
144
|
+
|
|
145
|
+
if (this.state.staticMenuMobileActive) {
|
|
146
|
+
this.overlayOpen.next(null);
|
|
147
|
+
}
|
|
148
|
+
} else {
|
|
149
|
+
if (this.config().menuMode === 'static') {
|
|
150
|
+
if (this.state.staticSidebarVisible && !this.state.staticSidebarCollapsed) {
|
|
151
|
+
this.state.staticSidebarCollapsed = true;
|
|
152
|
+
} else if (this.state.staticSidebarVisible && this.state.staticSidebarCollapsed) {
|
|
153
|
+
this.state.staticSidebarCollapsed = false;
|
|
154
|
+
} else {
|
|
155
|
+
this.state.staticSidebarVisible = true;
|
|
156
|
+
this.state.staticSidebarCollapsed = false;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
// For expandable mode, the toggle is handled by the expandable component itself
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
onOverlaySubmenuOpen() {
|
|
164
|
+
this.overlayOpen.next(null);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
// Expandable menu methods
|
|
168
|
+
setSelectedMainItem(index: number | null) {
|
|
169
|
+
this.state.selectedMainItem = index;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
toggleSecondarySidebar() {
|
|
173
|
+
this.state.secondarySidebarExpanded = !this.state.secondarySidebarExpanded;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
setSecondarySidebarExpanded(expanded: boolean) {
|
|
177
|
+
this.state.secondarySidebarExpanded = expanded;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
// Sidebar show methods
|
|
181
|
+
showProfileSidebar() {
|
|
182
|
+
this.state.profileSidebarVisible = true;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
showHistorySidebar() {
|
|
186
|
+
this.state.historySidebarVisible = true;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
showSiteMapSidebar() {
|
|
190
|
+
this.state.siteMapSidebarVisible = true;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
showFavoritePagesSidebar() {
|
|
194
|
+
this.state.favoritePagesSidebarVisible = true;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
showNotificationsSidebar() {
|
|
198
|
+
this.state.notificationsSidebarVisible = true;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
setUnreadNotificationCount(count: number) {
|
|
202
|
+
this.state.unreadNotificationCount = count;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
getUnreadNotificationCount(): number {
|
|
206
|
+
return this.state.unreadNotificationCount;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
isDesktop() {
|
|
210
|
+
return window.innerWidth > this.MOBILE_BREAKPOINT;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
isMobile() {
|
|
214
|
+
return window.innerWidth <= this.MOBILE_BREAKPOINT;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
isStatic() {
|
|
218
|
+
return this.config().menuMode === 'static';
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
isExpandable() {
|
|
222
|
+
return this.config().menuMode === 'expandable';
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// Helper method to determine if static sidebar should be shown
|
|
226
|
+
shouldShowStaticSidebar(): boolean {
|
|
227
|
+
if (this.config().menuMode !== 'static') return false;
|
|
228
|
+
|
|
229
|
+
if (this.isDesktop()) {
|
|
230
|
+
return this.state.staticSidebarVisible;
|
|
231
|
+
} else {
|
|
232
|
+
return this.state.staticMenuMobileActive;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
isStaticSidebarCollapsed(): boolean {
|
|
237
|
+
return this.state.staticSidebarCollapsed;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
shouldShowExpandableMenu(): boolean {
|
|
241
|
+
return this.config().menuMode === 'expandable';
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
closeMobileMenu() {
|
|
245
|
+
this.state.staticMenuMobileActive = false;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
// Change menu mode programmatically
|
|
249
|
+
changeMenuMode(mode: MenuMode) {
|
|
250
|
+
this.config.update((config) => ({
|
|
251
|
+
...config,
|
|
252
|
+
menuMode: mode
|
|
253
|
+
}));
|
|
254
|
+
|
|
255
|
+
// Update states based on new mode
|
|
256
|
+
if (mode === 'static') {
|
|
257
|
+
this.state.staticSidebarVisible = true;
|
|
258
|
+
this.state.selectedMainItem = null;
|
|
259
|
+
this.state.secondarySidebarExpanded = false;
|
|
260
|
+
} else if (mode === 'expandable') {
|
|
261
|
+
this.state.staticSidebarVisible = false;
|
|
262
|
+
this.state.selectedMainItem = null;
|
|
263
|
+
this.state.secondarySidebarExpanded = false;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
this.state.staticMenuMobileActive = false;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
onConfigUpdate() {
|
|
270
|
+
this._config = { ...this.config() };
|
|
271
|
+
this.configUpdate.next(this.config());
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
changeTheme() {
|
|
275
|
+
const config = this.config();
|
|
276
|
+
const themeLink = <HTMLLinkElement>document.getElementById('theme-link');
|
|
277
|
+
const themeLinkHref = themeLink.getAttribute('href')!;
|
|
278
|
+
const newHref = themeLinkHref
|
|
279
|
+
.split('/')
|
|
280
|
+
.map((el) =>
|
|
281
|
+
el == this._config.theme ? (el = config.theme)
|
|
282
|
+
: el == `theme-${this._config.colorScheme}` ? (el = `theme-${config.colorScheme}`)
|
|
283
|
+
: el
|
|
284
|
+
)
|
|
285
|
+
.join('/');
|
|
286
|
+
|
|
287
|
+
this.replaceThemeLink(newHref);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
replaceThemeLink(href: string) {
|
|
291
|
+
const id = 'theme-link';
|
|
292
|
+
let themeLink = <HTMLLinkElement>document.getElementById(id);
|
|
293
|
+
const cloneLinkElement = <HTMLLinkElement>themeLink.cloneNode(true);
|
|
294
|
+
|
|
295
|
+
cloneLinkElement.setAttribute('href', href);
|
|
296
|
+
cloneLinkElement.setAttribute('id', id + '-clone');
|
|
297
|
+
|
|
298
|
+
themeLink.parentNode!.insertBefore(cloneLinkElement, themeLink.nextSibling);
|
|
299
|
+
cloneLinkElement.addEventListener('load', () => {
|
|
300
|
+
themeLink.remove();
|
|
301
|
+
cloneLinkElement.setAttribute('id', id);
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
changeScale(value: number) {
|
|
306
|
+
document.documentElement.style.fontSize = `${value}px`;
|
|
307
|
+
}
|
|
308
308
|
}
|