aril 1.1.73 → 1.1.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -62
- package/boot/config/api/src/api.service.d.ts +12 -0
- package/boot/config/api/src/interfaces.d.ts +39 -0
- package/boot/config/api.sample.json +8 -0
- package/boot/config/apps/src/apps.service.d.ts +13 -0
- package/boot/config/apps/src/auth.guard.d.ts +9 -0
- package/boot/config/apps/src/interfaces.d.ts +50 -0
- package/boot/config/apps/src/reuse-strategy.d.ts +4 -0
- package/boot/config/apps/src/showdowDOMWrapper.d.ts +10 -0
- package/boot/config/plugins/src/getNgZone.d.ts +5 -0
- package/boot/config/plugins/src/interfaces.d.ts +55 -0
- package/boot/config/plugins/src/plugins.service.d.ts +5 -0
- package/boot/config/translate/constants.d.ts +4 -0
- package/boot/config/translate/primeng/i18n/tr.d.ts +46 -0
- package/boot/host/src/app.component.d.ts +10 -0
- package/boot/host/src/bootstrap.d.ts +4 -0
- package/boot/index.d.ts +1 -0
- package/boot/mfe/src/app.component.d.ts +17 -0
- package/boot/mfe/src/appComponentLoader.d.ts +1 -0
- package/boot/mfe/src/bootstrap.d.ts +5 -0
- package/boot/mfe/src/loadStyles.d.ts +3 -0
- package/boot/mfe/src/monaco.config.d.ts +7 -0
- package/esm2022/aril.mjs +5 -0
- package/esm2022/boot/aril-boot.mjs +5 -0
- package/esm2022/boot/config/api/aril-boot-config-api.mjs +5 -0
- package/esm2022/boot/config/api/index.mjs +2 -0
- package/esm2022/boot/config/api/src/api.service.mjs +59 -0
- package/esm2022/boot/config/api/src/interfaces.mjs +61 -0
- package/esm2022/boot/config/apps/aril-boot-config-apps.mjs +5 -0
- package/esm2022/boot/config/apps/index.mjs +4 -0
- package/esm2022/boot/config/apps/src/apps.service.mjs +53 -0
- package/esm2022/boot/config/apps/src/auth.guard.mjs +22 -0
- package/esm2022/boot/config/apps/src/interfaces.mjs +21 -0
- package/esm2022/boot/config/apps/src/reuse-strategy.mjs +9 -0
- package/esm2022/boot/config/apps/src/showdowDOMWrapper.mjs +35 -0
- package/esm2022/boot/config/plugins/aril-boot-config-plugins.mjs +5 -0
- package/esm2022/boot/config/plugins/index.mjs +3 -0
- package/esm2022/boot/config/plugins/src/getNgZone.mjs +9 -0
- package/esm2022/boot/config/plugins/src/interfaces.mjs +62 -0
- package/esm2022/boot/config/plugins/src/plugins.service.mjs +84 -0
- package/esm2022/boot/config/translate/aril-boot-config-translate.mjs +5 -0
- package/esm2022/boot/config/translate/constants.mjs +6 -0
- package/esm2022/boot/config/translate/index.mjs +3 -0
- package/esm2022/boot/config/translate/primeng/i18n/tr.mjs +60 -0
- package/esm2022/boot/host/aril-boot-host.mjs +5 -0
- package/esm2022/boot/host/index.mjs +2 -0
- package/esm2022/boot/host/src/app.component.mjs +49 -0
- package/esm2022/boot/host/src/bootstrap.mjs +55 -0
- package/esm2022/boot/index.mjs +2 -0
- package/esm2022/boot/mfe/aril-boot-mfe.mjs +5 -0
- package/esm2022/boot/mfe/index.mjs +2 -0
- package/esm2022/boot/mfe/src/app.component.mjs +63 -0
- package/esm2022/boot/mfe/src/appComponentLoader.mjs +5 -0
- package/esm2022/boot/mfe/src/bootstrap.mjs +76 -0
- package/esm2022/boot/mfe/src/loadStyles.mjs +37 -0
- package/esm2022/boot/mfe/src/monaco.config.mjs +247 -0
- package/esm2022/http/aril-http.mjs +5 -0
- package/esm2022/http/index.mjs +12 -0
- package/esm2022/http/lib/enums.mjs +35 -0
- package/esm2022/http/lib/interfaces.mjs +16 -0
- package/esm2022/http/src/httpBackend.mjs +17 -0
- package/esm2022/http/src/httpClient.mjs +16 -0
- package/esm2022/http/src/interceptor/accept-language.interceptor.mjs +21 -0
- package/esm2022/http/src/serviceBase.mjs +140 -0
- package/esm2022/http/src/serviceMockBase.mjs +4 -0
- package/esm2022/http/src/serviceRequest.mjs +23 -0
- package/esm2022/http/src/serviceStateMethods.mjs +167 -0
- package/esm2022/i18n/aril-i18n.mjs +5 -0
- package/esm2022/i18n/index.mjs +6 -0
- package/esm2022/i18n/src/folder-name-token.mjs +3 -0
- package/esm2022/i18n/src/i18n.module.mjs +17 -0
- package/esm2022/i18n/src/loader.mjs +18 -0
- package/esm2022/i18n/src/provideI18n.mjs +16 -0
- package/esm2022/i18n/src/provideScope.mjs +18 -0
- package/esm2022/keycloak/aril-keycloak.mjs +5 -0
- package/esm2022/keycloak/index.mjs +2 -0
- package/esm2022/keycloak/src/auth.interceptor.mjs +92 -0
- package/esm2022/provider/aril-provider.mjs +5 -0
- package/esm2022/provider/index.mjs +2 -0
- package/esm2022/provider/src/index.mjs +5 -0
- package/esm2022/provider/src/prodiveHost.mjs +9 -0
- package/esm2022/provider/src/prodiveHostRouter.mjs +12 -0
- package/esm2022/provider/src/provideHostKeycloak.mjs +28 -0
- package/esm2022/provider/src/provideLocaleId.mjs +20 -0
- package/esm2022/public-api.mjs +3 -0
- package/esm2022/theme/aril-theme.mjs +5 -0
- package/esm2022/theme/index.mjs +2 -0
- package/esm2022/theme/layout/app/breadcrumb/app.breadcrumb.component.mjs +106 -0
- package/esm2022/theme/layout/app/chatbot/app.chatbot.component.mjs +140 -0
- package/esm2022/theme/layout/app/expandableMenu/expandable-menu.component.mjs +250 -0
- package/esm2022/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.mjs +217 -0
- package/esm2022/theme/layout/app/favorite-pages/favorite-pages.service.mjs +60 -0
- package/esm2022/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.mjs +129 -0
- package/esm2022/theme/layout/app/general-search/general-search.component.mjs +75 -0
- package/esm2022/theme/layout/app/general-search/helpers.mjs +92 -0
- package/esm2022/theme/layout/app/general-search/models.mjs +50 -0
- package/esm2022/theme/layout/app/history/history-sidebar.component.mjs +133 -0
- package/esm2022/theme/layout/app/history/history.service.mjs +131 -0
- package/esm2022/theme/layout/app/layout/app.layout.component.mjs +160 -0
- package/esm2022/theme/layout/app/layout/mfe.layout.component.mjs +64 -0
- package/esm2022/theme/layout/app/notifications/notifications-sidebar.component.mjs +191 -0
- package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +122 -0
- package/esm2022/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.mjs +142 -0
- package/esm2022/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.mjs +202 -0
- package/esm2022/theme/layout/app/profileSidebar/profile.service.mjs +66 -0
- package/esm2022/theme/layout/app/site-map/site-map-sidebar.component.mjs +166 -0
- package/esm2022/theme/layout/app/static-sidebar/static-sidebar.component.mjs +228 -0
- package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +155 -0
- package/esm2022/theme/layout/aril-theme-layout.mjs +5 -0
- package/esm2022/theme/layout/index.mjs +8 -0
- package/esm2022/theme/layout/service/app.layout.service.mjs +231 -0
- package/esm2022/theme/layout/service/app.menu.service.mjs +46 -0
- package/esm2022/theme/layout/service/breadcrumb.service.mjs +20 -0
- package/esm2022/theme/layout/service/interfaces/enum.mjs +16 -0
- package/esm2022/theme/layout/service/interfaces/interfaces.mjs +2 -0
- package/esm2022/theme/layout/service/menuchangeevent.mjs +2 -0
- package/esm2022/theme/layout/service/notifications.service.mjs +30 -0
- package/esm2022/theme/layout/service/search.service.mjs +25 -0
- package/esm2022/theme/layout/service/selection-group.service.mjs +65 -0
- package/esm2022/ui/aril-ui.mjs +5 -0
- package/esm2022/ui/autoComplete/aril-ui-autoComplete.mjs +5 -0
- package/esm2022/ui/autoComplete/index.mjs +2 -0
- package/esm2022/ui/autoComplete/src/auto-complete.component.mjs +109 -0
- package/esm2022/ui/autoComplete/src/interfaces.mjs +2 -0
- package/esm2022/ui/badge/aril-ui-badge.mjs +5 -0
- package/esm2022/ui/badge/index.mjs +2 -0
- package/esm2022/ui/badge/src/badge.component.mjs +59 -0
- package/esm2022/ui/button/aril-ui-button.mjs +5 -0
- package/esm2022/ui/button/index.mjs +3 -0
- package/esm2022/ui/button/src/button.component.mjs +40 -0
- package/esm2022/ui/button/src/split-button.component.mjs +18 -0
- package/esm2022/ui/calendar/aril-ui-calendar.mjs +5 -0
- package/esm2022/ui/calendar/index.mjs +2 -0
- package/esm2022/ui/calendar/src/calendar.component.mjs +224 -0
- package/esm2022/ui/charts/aril-ui-charts.mjs +5 -0
- package/esm2022/ui/charts/index.mjs +13 -0
- package/esm2022/ui/charts/src/amCharts/column/column-chart.component.mjs +124 -0
- package/esm2022/ui/charts/src/amCharts/line/line-chart.component.mjs +164 -0
- package/esm2022/ui/charts/src/amCharts/pie/pie-chart.component.mjs +116 -0
- package/esm2022/ui/charts/src/highCharts/area/area-chart.component.mjs +114 -0
- package/esm2022/ui/charts/src/highCharts/bar/bar-chart.component.mjs +100 -0
- package/esm2022/ui/charts/src/highCharts/column/column-chart.component.mjs +117 -0
- package/esm2022/ui/charts/src/highCharts/gauge/solid-gauge.component.mjs +180 -0
- package/esm2022/ui/charts/src/highCharts/heatmap/heatMap-chart.component.mjs +252 -0
- package/esm2022/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.mjs +187 -0
- package/esm2022/ui/charts/src/highCharts/line/line-chart-series.component.mjs +89 -0
- package/esm2022/ui/charts/src/highCharts/line/line-chart.component.mjs +82 -0
- package/esm2022/ui/charts/src/highCharts/pie/pie-chart.component.mjs +137 -0
- package/esm2022/ui/charts/src/theme/theme.mjs +54 -0
- package/esm2022/ui/checkbox/aril-ui-checkbox.mjs +5 -0
- package/esm2022/ui/checkbox/index.mjs +3 -0
- package/esm2022/ui/checkbox/src/check-box.component.mjs +27 -0
- package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +24 -0
- package/esm2022/ui/chip/aril-ui-chip.mjs +5 -0
- package/esm2022/ui/chip/index.mjs +2 -0
- package/esm2022/ui/chip/src/chip.component.mjs +129 -0
- package/esm2022/ui/collapse-reorder-list/aril-ui-collapse-reorder-list.mjs +5 -0
- package/esm2022/ui/collapse-reorder-list/index.mjs +2 -0
- package/esm2022/ui/collapse-reorder-list/src/collapse-reorder-list.component.mjs +53 -0
- package/esm2022/ui/dxEditor/aril-ui-dxEditor.mjs +5 -0
- package/esm2022/ui/dxEditor/index.mjs +2 -0
- package/esm2022/ui/dxEditor/src/dx-editor.component.mjs +26 -0
- package/esm2022/ui/dxField/aril-ui-dxField.mjs +5 -0
- package/esm2022/ui/dxField/index.mjs +2 -0
- package/esm2022/ui/dxField/src/dx-field.component.mjs +19 -0
- package/esm2022/ui/editor/aril-ui-editor.mjs +5 -0
- package/esm2022/ui/editor/index.mjs +3 -0
- package/esm2022/ui/editor/src/aril-editor.component.mjs +171 -0
- package/esm2022/ui/editor/src/types.mjs +26 -0
- package/esm2022/ui/field/aril-ui-field.mjs +5 -0
- package/esm2022/ui/field/index.mjs +2 -0
- package/esm2022/ui/field/src/field.component.mjs +45 -0
- package/esm2022/ui/fileUpload/aril-ui-fileUpload.mjs +5 -0
- package/esm2022/ui/fileUpload/index.mjs +2 -0
- package/esm2022/ui/fileUpload/src/file-upload.component.mjs +73 -0
- package/esm2022/ui/form/aril-ui-form.mjs +5 -0
- package/esm2022/ui/form/index.mjs +22 -0
- package/esm2022/ui/form/src/form-submit-button.component.mjs +40 -0
- package/esm2022/ui/form/src/form.component.mjs +27 -0
- package/esm2022/ui/img-viewer/aril-ui-img-viewer.mjs +5 -0
- package/esm2022/ui/img-viewer/index.mjs +2 -0
- package/esm2022/ui/img-viewer/src/img-viewer.component.mjs +57 -0
- package/esm2022/ui/index.mjs +2 -0
- package/esm2022/ui/json-diff-comparison/aril-ui-json-diff-comparison.mjs +5 -0
- package/esm2022/ui/json-diff-comparison/index.mjs +2 -0
- package/esm2022/ui/json-diff-comparison/src/json-diff.component.mjs +49 -0
- package/esm2022/ui/lib/aril-ui-lib.mjs +5 -0
- package/esm2022/ui/lib/index.mjs +16 -0
- package/esm2022/ui/lib/src/form/form-error-message.component.mjs +33 -0
- package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +34 -0
- package/esm2022/ui/lib/src/form/form-field-builder.mjs +23 -0
- package/esm2022/ui/lib/src/form/form-validation.mjs +14 -0
- package/esm2022/ui/lib/src/grid/enum-color-picker.pipe.mjs +35 -0
- package/esm2022/ui/lib/src/grid/flex-grid.directive.mjs +21 -0
- package/esm2022/ui/lib/src/input/baseInput.mjs +24 -0
- package/esm2022/ui/lib/src/input/common-input-validators.service.mjs +49 -0
- package/esm2022/ui/lib/src/input/dx-input-error-message.pipe.mjs +22 -0
- package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +25 -0
- package/esm2022/ui/lib/src/input/input-error-message.pipe.mjs +63 -0
- package/esm2022/ui/lib/src/input/input-transforms.mjs +8 -0
- package/esm2022/ui/lib/src/input/value-accessor.directive.mjs +38 -0
- package/esm2022/ui/loader/aril-ui-loader.mjs +5 -0
- package/esm2022/ui/loader/index.mjs +2 -0
- package/esm2022/ui/loader/src/loader.component.mjs +14 -0
- package/esm2022/ui/mask/aril-ui-mask.mjs +5 -0
- package/esm2022/ui/mask/index.mjs +2 -0
- package/esm2022/ui/mask/src/mask.component.mjs +35 -0
- package/esm2022/ui/multiSelect/aril-ui-multiSelect.mjs +5 -0
- package/esm2022/ui/multiSelect/index.mjs +2 -0
- package/esm2022/ui/multiSelect/src/interfaces.mjs +2 -0
- package/esm2022/ui/multiSelect/src/multi-select.component.mjs +57 -0
- package/esm2022/ui/number/aril-ui-number.mjs +5 -0
- package/esm2022/ui/number/index.mjs +2 -0
- package/esm2022/ui/number/src/number.component.mjs +38 -0
- package/esm2022/ui/operation-types-dialog/aril-ui-operation-types-dialog.mjs +5 -0
- package/esm2022/ui/operation-types-dialog/index.mjs +2 -0
- package/esm2022/ui/operation-types-dialog/src/operation-types-dialog.component.mjs +91 -0
- package/esm2022/ui/overlayPanel/aril-ui-overlayPanel.mjs +5 -0
- package/esm2022/ui/overlayPanel/index.mjs +2 -0
- package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +20 -0
- package/esm2022/ui/panel/aril-ui-panel.mjs +5 -0
- package/esm2022/ui/panel/index.mjs +2 -0
- package/esm2022/ui/panel/src/panel.component.mjs +33 -0
- package/esm2022/ui/password/aril-ui-password.mjs +5 -0
- package/esm2022/ui/password/index.mjs +2 -0
- package/esm2022/ui/password/src/password.component.mjs +29 -0
- package/esm2022/ui/pdf-viewer/aril-ui-pdf-viewer.mjs +5 -0
- package/esm2022/ui/pdf-viewer/index.mjs +2 -0
- package/esm2022/ui/pdf-viewer/src/pdf-viewer.component.mjs +27 -0
- package/esm2022/ui/progressbar/aril-ui-progressbar.mjs +5 -0
- package/esm2022/ui/progressbar/index.mjs +2 -0
- package/esm2022/ui/progressbar/src/progressbar.component.mjs +18 -0
- package/esm2022/ui/radioButton/aril-ui-radioButton.mjs +5 -0
- package/esm2022/ui/radioButton/index.mjs +2 -0
- package/esm2022/ui/radioButton/src/radio-button.component.mjs +30 -0
- package/esm2022/ui/relativeDateSelector/aril-ui-relativeDateSelector.mjs +5 -0
- package/esm2022/ui/relativeDateSelector/index.mjs +2 -0
- package/esm2022/ui/relativeDateSelector/src/enum.mjs +31 -0
- package/esm2022/ui/relativeDateSelector/src/relative-date-selector.component.mjs +248 -0
- package/esm2022/ui/selectBox/aril-ui-selectBox.mjs +5 -0
- package/esm2022/ui/selectBox/index.mjs +2 -0
- package/esm2022/ui/selectBox/src/interfaces.mjs +2 -0
- package/esm2022/ui/selectBox/src/select-box.component.mjs +67 -0
- package/esm2022/ui/switch/aril-ui-switch.mjs +5 -0
- package/esm2022/ui/switch/index.mjs +2 -0
- package/esm2022/ui/switch/src/switch.component.mjs +23 -0
- package/esm2022/ui/table/aril-ui-table.mjs +5 -0
- package/esm2022/ui/table/index.mjs +131 -0
- package/esm2022/ui/table/src/export-overlay-panel.component.mjs +321 -0
- package/esm2022/ui/table/src/interfaces.mjs +44 -0
- package/esm2022/ui/table/src/table-column.component.mjs +31 -0
- package/esm2022/ui/table/src/table.component.mjs +334 -0
- package/esm2022/ui/table-expand/aril-ui-table-expand.mjs +5 -0
- package/esm2022/ui/table-expand/index.mjs +61 -0
- package/esm2022/ui/table-expand/src/table-column.component.mjs +25 -0
- package/esm2022/ui/table-expand/src/table-expand-area.component.mjs +17 -0
- package/esm2022/ui/table-expand/src/table.component.mjs +99 -0
- package/esm2022/ui/tag/aril-ui-tag.mjs +5 -0
- package/esm2022/ui/tag/index.mjs +2 -0
- package/esm2022/ui/tag/src/interface.mjs +2 -0
- package/esm2022/ui/tag/src/tag.component.mjs +20 -0
- package/esm2022/ui/tagBox/aril-ui-tagBox.mjs +5 -0
- package/esm2022/ui/tagBox/index.mjs +2 -0
- package/esm2022/ui/tagBox/src/tag-box.component.mjs +55 -0
- package/esm2022/ui/text/aril-ui-text.mjs +5 -0
- package/esm2022/ui/text/index.mjs +2 -0
- package/esm2022/ui/text/src/text.component.mjs +47 -0
- package/esm2022/ui/textArea/aril-ui-textArea.mjs +5 -0
- package/esm2022/ui/textArea/index.mjs +2 -0
- package/esm2022/ui/textArea/src/text-area.component.mjs +27 -0
- package/esm2022/ui/toggle-button/aril-ui-toggle-button.mjs +5 -0
- package/esm2022/ui/toggle-button/index.mjs +2 -0
- package/esm2022/ui/toggle-button/src/toggle-button.component.mjs +25 -0
- package/esm2022/ui/tooltip/aril-ui-tooltip.mjs +5 -0
- package/esm2022/ui/tooltip/index.mjs +2 -0
- package/esm2022/ui/tooltip/src/tooltip-component.mjs +23 -0
- package/esm2022/ui/translate-input/aril-ui-translate-input.mjs +5 -0
- package/esm2022/ui/translate-input/index.mjs +2 -0
- package/esm2022/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.mjs +64 -0
- package/esm2022/ui/translate-input/src/aril-lang-modal/constants.mjs +15 -0
- package/esm2022/ui/translate-input/src/aril-translate-input.component.mjs +128 -0
- package/esm2022/ui/translate-input/src/interface.mjs +2 -0
- package/esm2022/ui/tree/aril-ui-tree.mjs +5 -0
- package/esm2022/ui/tree/index.mjs +2 -0
- package/esm2022/ui/tree/src/tree.component.mjs +53 -0
- package/esm2022/ui/treeSelect/aril-ui-treeSelect.mjs +5 -0
- package/esm2022/ui/treeSelect/index.mjs +2 -0
- package/esm2022/ui/treeSelect/src/treeSelect.component.mjs +41 -0
- package/esm2022/ui/treeTable/aril-ui-treeTable.mjs +5 -0
- package/esm2022/ui/treeTable/index.mjs +2 -0
- package/esm2022/ui/treeTable/src/tree-table.component.mjs +55 -0
- package/esm2022/ui/value/aril-ui-value.mjs +5 -0
- package/esm2022/ui/value/index.mjs +2 -0
- package/esm2022/ui/value/src/value.component.mjs +207 -0
- package/esm2022/ui-business/aril-ui-business.mjs +5 -0
- package/esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs +5 -0
- package/esm2022/ui-business/assetPicker/index.mjs +2 -0
- package/esm2022/ui-business/assetPicker/src/asset-picker.component.mjs +182 -0
- package/esm2022/ui-business/assetPicker/src/interface.mjs +2 -0
- package/esm2022/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.mjs +5 -0
- package/esm2022/ui-business/detailed-overlay-panel/index.mjs +2 -0
- package/esm2022/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.mjs +61 -0
- package/esm2022/ui-business/detailed-overlay-panel/src/interface.mjs +19 -0
- package/esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs +5 -0
- package/esm2022/ui-business/enumPicker/index.mjs +2 -0
- package/esm2022/ui-business/enumPicker/src/enum-picker.component.mjs +124 -0
- package/esm2022/ui-business/enumPicker/src/interface.mjs +2 -0
- package/esm2022/ui-business/image-viewer/aril-ui-business-image-viewer.mjs +5 -0
- package/esm2022/ui-business/image-viewer/index.mjs +2 -0
- package/esm2022/ui-business/image-viewer/src/aril-image-viewer.component.mjs +111 -0
- package/esm2022/ui-business/index.mjs +2 -0
- package/esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs +5 -0
- package/esm2022/ui-business/multiple-ref-value/index.mjs +2 -0
- package/esm2022/ui-business/multiple-ref-value/src/multiple-ref-value.component.mjs +23 -0
- package/esm2022/ui-business/notification-templates-dialog/aril-ui-business-notification-templates-dialog.mjs +5 -0
- package/esm2022/ui-business/notification-templates-dialog/index.mjs +2 -0
- package/esm2022/ui-business/notification-templates-dialog/src/interface.mjs +8 -0
- package/esm2022/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.mjs +56 -0
- package/esm2022/ui-business/operation-types-dialog/aril-ui-business-operation-types-dialog.mjs +5 -0
- package/esm2022/ui-business/operation-types-dialog/index.mjs +2 -0
- package/esm2022/ui-business/operation-types-dialog/src/operation-types-dialog.component.mjs +76 -0
- package/esm2022/ui-business/ref-value/aril-ui-business-ref-value.mjs +5 -0
- package/esm2022/ui-business/ref-value/index.mjs +2 -0
- package/esm2022/ui-business/ref-value/src/ref-value.component.mjs +39 -0
- package/esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs +5 -0
- package/esm2022/ui-business/rolePicker/index.mjs +2 -0
- package/esm2022/ui-business/rolePicker/src/interface.mjs +2 -0
- package/esm2022/ui-business/rolePicker/src/role-picker.component.mjs +71 -0
- package/esm2022/ui-business/userPicker/aril-ui-business-userPicker.mjs +5 -0
- package/esm2022/ui-business/userPicker/index.mjs +2 -0
- package/esm2022/ui-business/userPicker/src/interface.mjs +2 -0
- package/esm2022/ui-business/userPicker/src/user-picker.component.mjs +43 -0
- package/esm2022/util/aril-util.mjs +5 -0
- package/esm2022/util/block/aril-util-block.mjs +5 -0
- package/esm2022/util/block/index.mjs +2 -0
- package/esm2022/util/block/src/block.mjs +64 -0
- package/esm2022/util/custom_pages/aril-util-custom_pages.mjs +5 -0
- package/esm2022/util/custom_pages/index.mjs +2 -0
- package/esm2022/util/custom_pages/src/notFound.component.mjs +65 -0
- package/esm2022/util/directives/aril-util-directives.mjs +5 -0
- package/esm2022/util/directives/index.mjs +4 -0
- package/esm2022/util/directives/src/detail-page-customization/detail-page-customization.directive.mjs +298 -0
- package/esm2022/util/directives/src/detail-page-customization/index.mjs +3 -0
- package/esm2022/util/directives/src/detail-page-customization/models.mjs +4 -0
- package/esm2022/util/directives/src/dialog-component/plugin-dialog.component.mjs +26 -0
- package/esm2022/util/directives/src/dialog-service/plugin-dialog.service.mjs +16 -0
- package/esm2022/util/index.mjs +2 -0
- package/esm2022/util/lib/aril-util-lib.mjs +5 -0
- package/esm2022/util/lib/index.mjs +5 -0
- package/esm2022/util/lib/src/interfaces.mjs +4 -0
- package/esm2022/util/lib/src/module-router.mjs +16 -0
- package/esm2022/util/lib/src/types.mjs +6 -0
- package/esm2022/util/lib/src/validators/iban.validator.mjs +189 -0
- package/esm2022/util/lib/src/validators/index.mjs +5 -0
- package/esm2022/util/lib/src/validators/max-array-length.validator.mjs +16 -0
- package/esm2022/util/lib/src/validators/min-array-length.validator.mjs +16 -0
- package/esm2022/util/lib/src/validators/tckn.validator.mjs +39 -0
- package/esm2022/util/lib/src/validators/validators.mjs +16 -0
- package/esm2022/util/loaders/aril-util-loaders.mjs +5 -0
- package/esm2022/util/loaders/index.mjs +2 -0
- package/esm2022/util/loaders/style/style.loader.service.mjs +61 -0
- package/esm2022/util/pipes/aril-util-pipes.mjs +5 -0
- package/esm2022/util/pipes/index.mjs +7 -0
- package/esm2022/util/pipes/src/distance-to-now.pipe.mjs +38 -0
- package/esm2022/util/pipes/src/get-column-by-field.pipe.mjs +17 -0
- package/esm2022/util/pipes/src/parse.pipe.mjs +22 -0
- package/esm2022/util/pipes/src/round-number.pipe.mjs +65 -0
- package/esm2022/util/pipes/src/safe.pipe.mjs +34 -0
- package/esm2022/util/pipes/src/translate-json/index.mjs +2 -0
- package/esm2022/util/pipes/src/translate-json/translate-json.pipe.mjs +41 -0
- package/esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs +5 -0
- package/esm2022/util/primitive-extensions/index.mjs +5 -0
- package/esm2022/util/primitive-extensions/src/boolean.extensions.mjs +2 -0
- package/esm2022/util/primitive-extensions/src/date.extensions.mjs +116 -0
- package/esm2022/util/primitive-extensions/src/number.extensions.mjs +39 -0
- package/esm2022/util/primitive-extensions/src/string.extensions.mjs +23 -0
- package/esm2022/util/pub-sub/aril-util-pub-sub.mjs +5 -0
- package/esm2022/util/pub-sub/index.mjs +2 -0
- package/esm2022/util/pub-sub/src/pub-sub.service.mjs +30 -0
- package/esm2022/util/sync-active-tab-route/aril-util-sync-active-tab-route.mjs +5 -0
- package/esm2022/util/sync-active-tab-route/index.mjs +2 -0
- package/esm2022/util/sync-active-tab-route/src/sync-active-tab-route.directive.mjs +45 -0
- package/esm2022/util/unwrap/aril-util-unwrap.mjs +5 -0
- package/esm2022/util/unwrap/index.mjs +2 -0
- package/esm2022/util/unwrap/src/unwrap-tag.directive.mjs +24 -0
- package/fesm2022/aril-app.component-hxaLgwmC.mjs +81 -0
- package/fesm2022/aril-app.component-hxaLgwmC.mjs.map +1 -0
- package/fesm2022/aril-boot-config-api.mjs +126 -0
- package/fesm2022/aril-boot-config-api.mjs.map +1 -0
- package/fesm2022/aril-boot-config-apps.mjs +138 -0
- package/fesm2022/aril-boot-config-apps.mjs.map +1 -0
- package/fesm2022/aril-boot-config-plugins.mjs +159 -0
- package/fesm2022/aril-boot-config-plugins.mjs.map +1 -0
- package/fesm2022/aril-boot-config-translate.mjs +72 -0
- package/fesm2022/aril-boot-config-translate.mjs.map +1 -0
- package/fesm2022/aril-boot-host.mjs +108 -0
- package/fesm2022/aril-boot-host.mjs.map +1 -0
- package/fesm2022/aril-boot-mfe-app.component-s1a-tkOD.mjs +80 -0
- package/fesm2022/aril-boot-mfe-app.component-s1a-tkOD.mjs.map +1 -0
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-wLTqwDtz.mjs +369 -0
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-wLTqwDtz.mjs.map +1 -0
- package/fesm2022/aril-boot-mfe.mjs +19 -0
- package/fesm2022/aril-boot-mfe.mjs.map +1 -0
- package/fesm2022/aril-boot.mjs +8 -0
- package/fesm2022/aril-boot.mjs.map +1 -0
- package/fesm2022/aril-http.mjs +437 -0
- package/fesm2022/aril-http.mjs.map +1 -0
- package/fesm2022/aril-i18n.mjs +71 -0
- package/fesm2022/aril-i18n.mjs.map +1 -0
- package/fesm2022/aril-keycloak.mjs +99 -0
- package/fesm2022/aril-keycloak.mjs.map +1 -0
- package/fesm2022/aril-provider.mjs +74 -0
- package/fesm2022/aril-provider.mjs.map +1 -0
- package/fesm2022/aril-theme-layout.mjs +3015 -0
- package/fesm2022/aril-theme-layout.mjs.map +1 -0
- package/fesm2022/aril-theme.mjs +8 -0
- package/fesm2022/aril-theme.mjs.map +1 -0
- package/fesm2022/aril-ui-autoComplete.mjs +116 -0
- package/fesm2022/aril-ui-autoComplete.mjs.map +1 -0
- package/fesm2022/aril-ui-badge.mjs +66 -0
- package/fesm2022/aril-ui-badge.mjs.map +1 -0
- package/fesm2022/aril-ui-business-assetPicker.mjs +189 -0
- package/fesm2022/aril-ui-business-assetPicker.mjs.map +1 -0
- package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs +68 -0
- package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs.map +1 -0
- package/fesm2022/aril-ui-business-enumPicker.mjs +131 -0
- package/fesm2022/aril-ui-business-enumPicker.mjs.map +1 -0
- package/fesm2022/aril-ui-business-image-viewer.mjs +118 -0
- package/fesm2022/aril-ui-business-image-viewer.mjs.map +1 -0
- package/fesm2022/aril-ui-business-multiple-ref-value.mjs +30 -0
- package/fesm2022/aril-ui-business-multiple-ref-value.mjs.map +1 -0
- package/fesm2022/aril-ui-business-notification-templates-dialog.mjs +70 -0
- package/fesm2022/aril-ui-business-notification-templates-dialog.mjs.map +1 -0
- package/fesm2022/aril-ui-business-operation-types-dialog.mjs +83 -0
- package/fesm2022/aril-ui-business-operation-types-dialog.mjs.map +1 -0
- package/fesm2022/aril-ui-business-ref-value.mjs +46 -0
- package/fesm2022/aril-ui-business-ref-value.mjs.map +1 -0
- package/fesm2022/aril-ui-business-rolePicker.mjs +78 -0
- package/fesm2022/aril-ui-business-rolePicker.mjs.map +1 -0
- package/fesm2022/aril-ui-business-userPicker.mjs +50 -0
- package/fesm2022/aril-ui-business-userPicker.mjs.map +1 -0
- package/fesm2022/aril-ui-business.mjs +8 -0
- package/fesm2022/aril-ui-business.mjs.map +1 -0
- package/fesm2022/aril-ui-button.mjs +62 -0
- package/fesm2022/aril-ui-button.mjs.map +1 -0
- package/fesm2022/aril-ui-calendar.mjs +231 -0
- package/fesm2022/aril-ui-calendar.mjs.map +1 -0
- package/fesm2022/aril-ui-charts.mjs +1666 -0
- package/fesm2022/aril-ui-charts.mjs.map +1 -0
- package/fesm2022/aril-ui-checkbox.mjs +50 -0
- package/fesm2022/aril-ui-checkbox.mjs.map +1 -0
- package/fesm2022/aril-ui-chip.mjs +136 -0
- package/fesm2022/aril-ui-chip.mjs.map +1 -0
- package/fesm2022/aril-ui-collapse-reorder-list.mjs +60 -0
- package/fesm2022/aril-ui-collapse-reorder-list.mjs.map +1 -0
- package/fesm2022/aril-ui-dxEditor.mjs +33 -0
- package/fesm2022/aril-ui-dxEditor.mjs.map +1 -0
- package/fesm2022/aril-ui-dxField.mjs +26 -0
- package/fesm2022/aril-ui-dxField.mjs.map +1 -0
- package/fesm2022/aril-ui-editor.mjs +203 -0
- package/fesm2022/aril-ui-editor.mjs.map +1 -0
- package/fesm2022/aril-ui-field.mjs +52 -0
- package/fesm2022/aril-ui-field.mjs.map +1 -0
- package/fesm2022/aril-ui-fileUpload.mjs +80 -0
- package/fesm2022/aril-ui-fileUpload.mjs.map +1 -0
- package/fesm2022/aril-ui-form.mjs +86 -0
- package/fesm2022/aril-ui-form.mjs.map +1 -0
- package/fesm2022/aril-ui-img-viewer.mjs +64 -0
- package/fesm2022/aril-ui-img-viewer.mjs.map +1 -0
- package/fesm2022/aril-ui-json-diff-comparison.mjs +56 -0
- package/fesm2022/aril-ui-json-diff-comparison.mjs.map +1 -0
- package/fesm2022/aril-ui-lib.mjs +376 -0
- package/fesm2022/aril-ui-lib.mjs.map +1 -0
- package/fesm2022/aril-ui-loader.mjs +21 -0
- package/fesm2022/aril-ui-loader.mjs.map +1 -0
- package/fesm2022/aril-ui-mask.mjs +42 -0
- package/fesm2022/aril-ui-mask.mjs.map +1 -0
- package/fesm2022/aril-ui-multiSelect.mjs +64 -0
- package/fesm2022/aril-ui-multiSelect.mjs.map +1 -0
- package/fesm2022/aril-ui-number.mjs +45 -0
- package/fesm2022/aril-ui-number.mjs.map +1 -0
- package/fesm2022/aril-ui-operation-types-dialog.mjs +98 -0
- package/fesm2022/aril-ui-operation-types-dialog.mjs.map +1 -0
- package/fesm2022/aril-ui-overlayPanel.mjs +27 -0
- package/fesm2022/aril-ui-overlayPanel.mjs.map +1 -0
- package/fesm2022/aril-ui-panel.mjs +40 -0
- package/fesm2022/aril-ui-panel.mjs.map +1 -0
- package/fesm2022/aril-ui-password.mjs +36 -0
- package/fesm2022/aril-ui-password.mjs.map +1 -0
- package/fesm2022/aril-ui-pdf-viewer.mjs +34 -0
- package/fesm2022/aril-ui-pdf-viewer.mjs.map +1 -0
- package/fesm2022/aril-ui-progressbar.mjs +25 -0
- package/fesm2022/aril-ui-progressbar.mjs.map +1 -0
- package/fesm2022/aril-ui-radioButton.mjs +37 -0
- package/fesm2022/aril-ui-radioButton.mjs.map +1 -0
- package/fesm2022/aril-ui-relativeDateSelector.mjs +285 -0
- package/fesm2022/aril-ui-relativeDateSelector.mjs.map +1 -0
- package/fesm2022/aril-ui-selectBox.mjs +74 -0
- package/fesm2022/aril-ui-selectBox.mjs.map +1 -0
- package/fesm2022/aril-ui-switch.mjs +30 -0
- package/fesm2022/aril-ui-switch.mjs.map +1 -0
- package/fesm2022/aril-ui-table-expand.mjs +194 -0
- package/fesm2022/aril-ui-table-expand.mjs.map +1 -0
- package/fesm2022/aril-ui-table.mjs +833 -0
- package/fesm2022/aril-ui-table.mjs.map +1 -0
- package/fesm2022/aril-ui-tag.mjs +27 -0
- package/fesm2022/aril-ui-tag.mjs.map +1 -0
- package/fesm2022/aril-ui-tagBox.mjs +62 -0
- package/fesm2022/aril-ui-tagBox.mjs.map +1 -0
- package/fesm2022/aril-ui-text.mjs +54 -0
- package/fesm2022/aril-ui-text.mjs.map +1 -0
- package/fesm2022/aril-ui-textArea.mjs +34 -0
- package/fesm2022/aril-ui-textArea.mjs.map +1 -0
- package/fesm2022/aril-ui-toggle-button.mjs +32 -0
- package/fesm2022/aril-ui-toggle-button.mjs.map +1 -0
- package/fesm2022/aril-ui-tooltip.mjs +30 -0
- package/fesm2022/aril-ui-tooltip.mjs.map +1 -0
- package/fesm2022/aril-ui-translate-input.mjs +207 -0
- package/fesm2022/aril-ui-translate-input.mjs.map +1 -0
- package/fesm2022/aril-ui-tree.mjs +60 -0
- package/fesm2022/aril-ui-tree.mjs.map +1 -0
- package/fesm2022/aril-ui-treeSelect.mjs +48 -0
- package/fesm2022/aril-ui-treeSelect.mjs.map +1 -0
- package/fesm2022/aril-ui-treeTable.mjs +62 -0
- package/fesm2022/aril-ui-treeTable.mjs.map +1 -0
- package/fesm2022/aril-ui-value.mjs +214 -0
- package/fesm2022/aril-ui-value.mjs.map +1 -0
- package/fesm2022/aril-ui.mjs +8 -0
- package/fesm2022/aril-ui.mjs.map +1 -0
- package/fesm2022/aril-util-block.mjs +71 -0
- package/fesm2022/aril-util-block.mjs.map +1 -0
- package/fesm2022/aril-util-custom_pages.mjs +72 -0
- package/fesm2022/aril-util-custom_pages.mjs.map +1 -0
- package/fesm2022/aril-util-directives.mjs +344 -0
- package/fesm2022/aril-util-directives.mjs.map +1 -0
- package/fesm2022/aril-util-lib.mjs +307 -0
- package/fesm2022/aril-util-lib.mjs.map +1 -0
- package/fesm2022/aril-util-loaders.mjs +68 -0
- package/fesm2022/aril-util-loaders.mjs.map +1 -0
- package/fesm2022/aril-util-pipes.mjs +213 -0
- package/fesm2022/aril-util-pipes.mjs.map +1 -0
- package/fesm2022/aril-util-primitive-extensions.mjs +179 -0
- package/fesm2022/aril-util-primitive-extensions.mjs.map +1 -0
- package/fesm2022/aril-util-pub-sub.mjs +37 -0
- package/fesm2022/aril-util-pub-sub.mjs.map +1 -0
- package/fesm2022/aril-util-sync-active-tab-route.mjs +52 -0
- package/fesm2022/aril-util-sync-active-tab-route.mjs.map +1 -0
- package/fesm2022/aril-util-unwrap.mjs +31 -0
- package/fesm2022/aril-util-unwrap.mjs.map +1 -0
- package/fesm2022/aril-util.mjs +8 -0
- package/fesm2022/aril-util.mjs.map +1 -0
- package/fesm2022/aril.mjs +456 -0
- package/fesm2022/aril.mjs.map +1 -0
- package/http/index.d.ts +8 -0
- package/http/lib/enums.d.ts +31 -0
- package/http/lib/interfaces.d.ts +27 -0
- package/http/src/httpBackend.d.ts +8 -0
- package/http/src/httpClient.d.ts +9 -0
- package/http/src/interceptor/accept-language.interceptor.d.ts +2 -0
- package/http/src/serviceBase.d.ts +8 -0
- package/http/src/serviceMockBase.d.ts +6 -0
- package/http/src/serviceRequest.d.ts +4 -0
- package/http/src/serviceStateMethods.d.ts +17 -0
- package/i18n/src/folder-name-token.d.ts +2 -0
- package/i18n/src/i18n.module.d.ts +7 -0
- package/i18n/src/loader.d.ts +8 -0
- package/i18n/src/provideI18n.d.ts +2 -0
- package/i18n/src/provideScope.d.ts +5 -0
- package/index.d.ts +5 -0
- package/keycloak/index.d.ts +1 -0
- package/keycloak/src/auth.interceptor.d.ts +3 -0
- package/package.json +528 -43
- package/provider/src/index.d.ts +4 -0
- package/provider/src/prodiveHost.d.ts +3 -0
- package/provider/src/prodiveHostRouter.d.ts +2 -0
- package/provider/src/provideHostKeycloak.d.ts +5 -0
- package/provider/src/provideLocaleId.d.ts +2 -0
- package/scripts/util/blockui.min.js +7 -0
- package/styles/ui/ui.common.scss +42 -0
- package/styles/util/blockui.css +56 -0
- package/theme/index.d.ts +1 -0
- package/theme/index.ts +1 -1
- package/theme/layout/app/breadcrumb/app.breadcrumb.component.d.ts +25 -0
- 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.d.ts +35 -0
- 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.d.ts +72 -0
- 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.d.ts +2031 -0
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.html +110 -110
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.scss +181 -181
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.ts +260 -260
- package/theme/layout/app/favorite-pages/favorite-pages.service.d.ts +56 -0
- 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.d.ts +36 -0
- 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.d.ts +22 -0
- 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.d.ts +7 -0
- 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.d.ts +131 -0
- package/theme/layout/app/general-search/models.ts +142 -142
- package/theme/layout/app/history/history-sidebar.component.d.ts +2018 -0
- package/theme/layout/app/history/history-sidebar.component.html +87 -87
- package/theme/layout/app/history/history-sidebar.component.scss +182 -182
- package/theme/layout/app/history/history-sidebar.component.ts +143 -143
- package/theme/layout/app/history/history.service.d.ts +36 -0
- package/theme/layout/app/history/history.service.ts +154 -154
- package/theme/layout/app/layout/app.layout.component.d.ts +47 -0
- 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.d.ts +10 -0
- package/theme/layout/app/layout/mfe.layout.component.ts +59 -59
- package/theme/layout/app/notifications/notifications-sidebar.component.d.ts +2306 -0
- 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.d.ts +29 -0
- 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.d.ts +30 -0
- 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.d.ts +52 -0
- 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.d.ts +72 -0
- package/theme/layout/app/profileSidebar/profile.service.ts +116 -116
- package/theme/layout/app/site-map/site-map-sidebar.component.d.ts +2025 -0
- package/theme/layout/app/site-map/site-map-sidebar.component.html +121 -121
- package/theme/layout/app/site-map/site-map-sidebar.component.scss +178 -178
- package/theme/layout/app/site-map/site-map-sidebar.component.ts +193 -193
- package/theme/layout/app/static-sidebar/static-sidebar.component.d.ts +57 -0
- 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.d.ts +35 -0
- 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.d.ts +7 -0
- package/theme/layout/index.ts +7 -7
- package/theme/layout/ng-package.json +6 -6
- package/theme/layout/service/app.layout.service.d.ts +69 -0
- package/theme/layout/service/app.layout.service.ts +307 -307
- package/theme/layout/service/app.menu.service.d.ts +22 -0
- package/theme/layout/service/app.menu.service.ts +53 -53
- package/theme/layout/service/breadcrumb.service.d.ts +10 -0
- package/theme/layout/service/breadcrumb.service.ts +14 -14
- package/theme/layout/service/interfaces/enum.d.ts +12 -0
- package/theme/layout/service/interfaces/enum.ts +13 -13
- package/theme/layout/service/interfaces/interfaces.d.ts +131 -0
- package/theme/layout/service/interfaces/interfaces.ts +150 -150
- package/theme/layout/service/menuchangeevent.d.ts +4 -0
- package/theme/layout/service/menuchangeevent.ts +4 -4
- package/theme/layout/service/notifications.service.d.ts +12 -0
- package/theme/layout/service/notifications.service.ts +26 -26
- package/theme/layout/service/search.service.d.ts +11 -0
- package/theme/layout/service/search.service.ts +22 -22
- package/theme/layout/service/selection-group.service.d.ts +17 -0
- 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/ui/autoComplete/src/auto-complete.component.d.ts +31 -0
- package/ui/autoComplete/src/interfaces.d.ts +28 -0
- package/ui/badge/src/badge.component.d.ts +32 -0
- package/ui/button/src/button.component.d.ts +28 -0
- package/ui/button/src/split-button.component.d.ts +8 -0
- package/ui/calendar/src/calendar.component.d.ts +63 -0
- package/ui/charts/index.d.ts +12 -0
- package/ui/charts/src/amCharts/column/column-chart.component.d.ts +25 -0
- package/ui/charts/src/amCharts/line/line-chart.component.d.ts +26 -0
- package/ui/charts/src/amCharts/pie/pie-chart.component.d.ts +24 -0
- package/ui/charts/src/highCharts/area/area-chart.component.d.ts +20 -0
- package/ui/charts/src/highCharts/bar/bar-chart.component.d.ts +26 -0
- package/ui/charts/src/highCharts/column/column-chart.component.d.ts +28 -0
- package/ui/charts/src/highCharts/gauge/solid-gauge.component.d.ts +38 -0
- package/ui/charts/src/highCharts/heatmap/heatMap-chart.component.d.ts +32 -0
- package/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.d.ts +24 -0
- package/ui/charts/src/highCharts/line/line-chart-series.component.d.ts +21 -0
- package/ui/charts/src/highCharts/line/line-chart.component.d.ts +21 -0
- package/ui/charts/src/highCharts/pie/pie-chart.component.d.ts +27 -0
- package/ui/charts/src/theme/theme.d.ts +5 -0
- package/ui/checkbox/src/check-box.component.d.ts +12 -0
- package/ui/checkbox/src/tri-state-checkbox.component.d.ts +9 -0
- package/ui/chip/index.d.ts +1 -0
- package/ui/chip/src/chip.component.d.ts +34 -0
- package/ui/collapse-reorder-list/index.d.ts +1 -0
- package/ui/collapse-reorder-list/src/collapse-reorder-list.component.d.ts +21 -0
- package/ui/dxEditor/src/dx-editor.component.d.ts +11 -0
- package/ui/dxField/src/dx-field.component.d.ts +10 -0
- package/ui/editor/src/aril-editor.component.d.ts +28 -0
- package/ui/editor/src/types.d.ts +23 -0
- package/ui/field/src/field.component.d.ts +30 -0
- package/ui/fileUpload/src/file-upload.component.d.ts +49 -0
- package/ui/form/index.d.ts +11 -0
- package/ui/form/src/form-submit-button.component.d.ts +14 -0
- package/ui/form/src/form.component.d.ts +8 -0
- package/ui/img-viewer/index.d.ts +1 -0
- package/ui/img-viewer/src/img-viewer.component.d.ts +13 -0
- package/ui/index.d.ts +1 -0
- package/ui/json-diff-comparison/src/json-diff.component.d.ts +13 -0
- package/ui/lib/index.d.ts +12 -0
- package/ui/lib/src/form/form-error-message.component.d.ts +9 -0
- package/ui/lib/src/form/form-error-message.directive.d.ts +14 -0
- package/ui/lib/src/form/form-field-builder.d.ts +8 -0
- package/ui/lib/src/form/form-validation.d.ts +2 -0
- package/ui/lib/src/grid/enum-color-picker.pipe.d.ts +9 -0
- package/ui/lib/src/grid/flex-grid.directive.d.ts +6 -0
- package/ui/lib/src/input/baseInput.d.ts +7 -0
- package/ui/lib/src/input/common-input-validators.service.d.ts +20 -0
- package/ui/lib/src/input/dx-input-error-message.pipe.d.ts +11 -0
- package/ui/lib/src/input/input-disabled.directive.d.ts +9 -0
- package/ui/lib/src/input/input-error-message.pipe.d.ts +10 -0
- package/ui/lib/src/input/input-transforms.d.ts +5 -0
- package/ui/lib/src/input/value-accessor.directive.d.ts +9 -0
- package/ui/loader/src/loader.component.d.ts +5 -0
- package/ui/mask/src/mask.component.d.ts +21 -0
- package/ui/multiSelect/src/interfaces.d.ts +32 -0
- package/ui/multiSelect/src/multi-select.component.d.ts +28 -0
- package/ui/number/src/number.component.d.ts +29 -0
- package/ui/operation-types-dialog/src/operation-types-dialog.component.d.ts +33 -0
- package/ui/overlayPanel/src/overlay-panel.component.d.ts +8 -0
- package/ui/panel/src/panel.component.d.ts +14 -0
- package/ui/password/src/password.component.d.ts +11 -0
- package/ui/pdf-viewer/src/pdf-viewer.component.d.ts +19 -0
- package/ui/progressbar/src/progressbar.component.d.ts +8 -0
- package/ui/radioButton/src/radio-button.component.d.ts +22 -0
- package/ui/relativeDateSelector/index.d.ts +1 -0
- package/ui/relativeDateSelector/src/enum.d.ts +26 -0
- package/ui/relativeDateSelector/src/relative-date-selector.component.d.ts +61 -0
- package/ui/selectBox/src/interfaces.d.ts +32 -0
- package/ui/selectBox/src/select-box.component.d.ts +30 -0
- package/ui/switch/src/switch.component.d.ts +8 -0
- package/ui/table/index.d.ts +35 -0
- package/ui/table/src/export-overlay-panel.component.d.ts +39 -0
- package/ui/table/src/interfaces.d.ts +145 -0
- package/ui/table/src/table-column.component.d.ts +19 -0
- package/ui/table/src/table.component.d.ts +107 -0
- package/ui/table-expand/index.d.ts +20 -0
- package/ui/table-expand/src/table-column.component.d.ts +28 -0
- package/ui/table-expand/src/table-expand-area.component.d.ts +14 -0
- package/ui/table-expand/src/table.component.d.ts +47 -0
- package/ui/tag/index.d.ts +1 -0
- package/ui/tag/src/interface.d.ts +1 -0
- package/ui/tag/src/tag.component.d.ts +15 -0
- package/ui/tagBox/src/tag-box.component.d.ts +17 -0
- package/ui/text/src/text.component.d.ts +18 -0
- package/ui/textArea/src/text-area.component.d.ts +12 -0
- package/ui/toggle-button/index.d.ts +1 -0
- package/ui/toggle-button/src/toggle-button.component.d.ts +10 -0
- package/ui/tooltip/src/tooltip-component.d.ts +14 -0
- package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.d.ts +21 -0
- package/ui/translate-input/src/aril-lang-modal/constants.d.ts +2 -0
- package/ui/translate-input/src/aril-translate-input.component.d.ts +26 -0
- package/ui/translate-input/src/interface.d.ts +12 -0
- package/ui/tree/src/tree.component.d.ts +23 -0
- package/ui/treeSelect/src/treeSelect.component.d.ts +23 -0
- package/ui/treeTable/src/tree-table.component.d.ts +21 -0
- package/ui/value/src/value.component.d.ts +43 -0
- package/ui-business/assetPicker/index.d.ts +1 -0
- package/ui-business/assetPicker/src/asset-picker.component.d.ts +48 -0
- package/ui-business/assetPicker/src/interface.d.ts +74 -0
- package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.d.ts +31 -0
- package/ui-business/detailed-overlay-panel/src/interface.d.ts +54 -0
- package/ui-business/enumPicker/index.d.ts +1 -0
- package/ui-business/enumPicker/src/enum-picker.component.d.ts +47 -0
- package/ui-business/enumPicker/src/interface.d.ts +34 -0
- package/ui-business/image-viewer/index.d.ts +1 -0
- package/ui-business/image-viewer/src/aril-image-viewer.component.d.ts +20 -0
- package/ui-business/index.d.ts +1 -0
- package/ui-business/multiple-ref-value/src/multiple-ref-value.component.d.ts +16 -0
- package/ui-business/notification-templates-dialog/src/interface.d.ts +17 -0
- package/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.d.ts +18 -0
- package/ui-business/operation-types-dialog/src/operation-types-dialog.component.d.ts +28 -0
- package/ui-business/ref-value/src/ref-value.component.d.ts +20 -0
- package/ui-business/rolePicker/src/interface.d.ts +44 -0
- package/ui-business/rolePicker/src/role-picker.component.d.ts +25 -0
- package/ui-business/userPicker/index.d.ts +1 -0
- package/ui-business/userPicker/src/interface.d.ts +25 -0
- package/ui-business/userPicker/src/user-picker.component.d.ts +18 -0
- package/util/block/src/block.d.ts +28 -0
- package/util/custom_pages/src/notFound.component.d.ts +5 -0
- package/util/directives/src/detail-page-customization/detail-page-customization.directive.d.ts +26 -0
- package/util/directives/src/detail-page-customization/index.d.ts +2 -0
- package/util/directives/src/detail-page-customization/models.d.ts +53 -0
- package/util/directives/src/dialog-component/plugin-dialog.component.d.ts +11 -0
- package/util/directives/src/dialog-service/plugin-dialog.service.d.ts +7 -0
- package/util/index.d.ts +1 -0
- package/util/lib/src/interfaces.d.ts +41 -0
- package/util/lib/src/module-router.d.ts +5 -0
- package/util/lib/src/types.d.ts +2290 -0
- package/util/lib/src/validators/iban.validator.d.ts +7 -0
- package/util/lib/src/validators/max-array-length.validator.d.ts +7 -0
- package/util/lib/src/validators/min-array-length.validator.d.ts +7 -0
- package/util/lib/src/validators/tckn.validator.d.ts +7 -0
- package/util/lib/src/validators/validators.d.ts +7 -0
- package/util/loaders/index.d.ts +1 -0
- package/util/loaders/style/style.loader.service.d.ts +13 -0
- package/util/pipes/src/distance-to-now.pipe.d.ts +11 -0
- package/util/pipes/src/get-column-by-field.pipe.d.ts +11 -0
- package/util/pipes/src/parse.pipe.d.ts +7 -0
- package/util/pipes/src/round-number.pipe.d.ts +11 -0
- package/util/pipes/src/safe.pipe.d.ts +10 -0
- package/util/pipes/src/translate-json/index.d.ts +1 -0
- package/util/pipes/src/translate-json/translate-json.pipe.d.ts +10 -0
- package/util/primitive-extensions/src/date.extensions.d.ts +8 -0
- package/util/primitive-extensions/src/number.extensions.d.ts +12 -0
- package/util/primitive-extensions/src/string.extensions.d.ts +11 -0
- package/util/pub-sub/src/pub-sub.service.d.ts +21 -0
- package/util/sync-active-tab-route/src/sync-active-tab-route.directive.d.ts +17 -0
- package/util/unwrap/src/unwrap-tag.directive.d.ts +9 -0
- package/.eslintrc.json +0 -41
- package/boot/config/api/ng-package.json +0 -6
- package/boot/config/api/src/api.sample.json +0 -8
- package/boot/config/api/src/api.service.ts +0 -91
- package/boot/config/api/src/interfaces.ts +0 -65
- package/boot/config/apps/ng-package.json +0 -6
- package/boot/config/apps/src/apps.service.ts +0 -62
- package/boot/config/apps/src/auth.guard.ts +0 -22
- package/boot/config/apps/src/interfaces.ts +0 -58
- package/boot/config/apps/src/reuse-strategy.ts +0 -10
- package/boot/config/apps/src/showdowDOMWrapper.ts +0 -28
- package/boot/config/plugins/ng-package.json +0 -6
- package/boot/config/plugins/src/getNgZone.ts +0 -7
- package/boot/config/plugins/src/interfaces.ts +0 -75
- package/boot/config/plugins/src/plugins.service.ts +0 -110
- package/boot/config/translate/constants.ts +0 -4
- package/boot/config/translate/ng-package.json +0 -6
- package/boot/config/translate/primeng/i18n/tr.ts +0 -59
- package/boot/host/ng-package.json +0 -6
- package/boot/host/src/app.component.ts +0 -51
- package/boot/host/src/bootstrap.ts +0 -87
- package/boot/index.ts +0 -1
- package/boot/mfe/ng-package.json +0 -6
- package/boot/mfe/src/app.component.ts +0 -63
- package/boot/mfe/src/appComponentLoader.ts +0 -4
- package/boot/mfe/src/bootstrap.ts +0 -97
- package/boot/mfe/src/loadStyles.ts +0 -42
- package/boot/mfe/src/monaco.config.ts +0 -266
- package/boot/ng-package.json +0 -6
- package/http/index.ts +0 -13
- package/http/lib/enums.ts +0 -31
- package/http/lib/interfaces.ts +0 -46
- package/http/ng-package.json +0 -6
- package/http/src/httpBackend.ts +0 -12
- package/http/src/httpClient.ts +0 -20
- package/http/src/interceptor/accept-language.interceptor.ts +0 -32
- package/http/src/serviceBase.ts +0 -175
- package/http/src/serviceMockBase.ts +0 -12
- package/http/src/serviceRequest.ts +0 -28
- package/http/src/serviceStateMethods.ts +0 -211
- package/i18n/ng-package.json +0 -6
- package/i18n/src/folder-name-token.ts +0 -3
- package/i18n/src/i18n.module.ts +0 -11
- package/i18n/src/loader.ts +0 -13
- package/i18n/src/provideI18n.ts +0 -18
- package/i18n/src/provideScope.ts +0 -20
- package/keycloak/index.ts +0 -1
- package/keycloak/ng-package.json +0 -6
- package/keycloak/src/auth.interceptor.ts +0 -103
- package/ng-package.json +0 -16
- package/project.json +0 -39
- package/provider/ng-package.json +0 -6
- package/provider/src/index.ts +0 -5
- package/provider/src/prodiveHost.ts +0 -15
- package/provider/src/prodiveHostRouter.ts +0 -21
- package/provider/src/provideHostKeycloak.ts +0 -34
- package/provider/src/provideLocaleId.ts +0 -22
- package/tsconfig.lib.json +0 -12
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -9
- package/ui/autoComplete/ng-package.json +0 -6
- package/ui/autoComplete/src/auto-complete.component.html +0 -14
- package/ui/autoComplete/src/auto-complete.component.ts +0 -130
- package/ui/autoComplete/src/interfaces.ts +0 -35
- package/ui/badge/ng-package.json +0 -6
- package/ui/badge/src/badge.component.html +0 -11
- package/ui/badge/src/badge.component.ts +0 -63
- package/ui/button/ng-package.json +0 -6
- package/ui/button/src/button.component.html +0 -12
- package/ui/button/src/button.component.ts +0 -47
- package/ui/button/src/split-button.component.html +0 -2
- package/ui/button/src/split-button.component.ts +0 -17
- package/ui/calendar/ng-package.json +0 -6
- package/ui/calendar/src/calendar.component.html +0 -48
- package/ui/calendar/src/calendar.component.ts +0 -257
- package/ui/charts/index.ts +0 -13
- package/ui/charts/ng-package.json +0 -6
- package/ui/charts/src/amCharts/column/column-chart.component.ts +0 -144
- package/ui/charts/src/amCharts/line/line-chart.component.ts +0 -194
- package/ui/charts/src/amCharts/pie/pie-chart.component.ts +0 -132
- package/ui/charts/src/highCharts/area/area-chart.component.ts +0 -112
- package/ui/charts/src/highCharts/bar/bar-chart.component.ts +0 -100
- package/ui/charts/src/highCharts/bar/bar-chart.components.scss +0 -50
- package/ui/charts/src/highCharts/column/column-chart.component copy.ts +0 -50
- package/ui/charts/src/highCharts/column/column-chart.component.ts +0 -125
- package/ui/charts/src/highCharts/column/column-chart.components.scss +0 -50
- package/ui/charts/src/highCharts/gauge/solid-gauge.component.ts +0 -199
- package/ui/charts/src/highCharts/heatmap/heatMap-chart.component.ts +0 -279
- package/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.ts +0 -185
- package/ui/charts/src/highCharts/line/line-chart-series.component.ts +0 -92
- package/ui/charts/src/highCharts/line/line-chart.component.ts +0 -85
- package/ui/charts/src/highCharts/pie/pie-chart.component.ts +0 -139
- package/ui/charts/src/theme/theme.ts +0 -55
- package/ui/checkbox/ng-package.json +0 -6
- package/ui/checkbox/src/check-box.component.html +0 -15
- package/ui/checkbox/src/check-box.component.ts +0 -24
- package/ui/checkbox/src/tri-state-checkbox.component.html +0 -7
- package/ui/checkbox/src/tri-state-checkbox.component.ts +0 -20
- package/ui/chip/index.ts +0 -1
- package/ui/chip/ng-package.json +0 -6
- package/ui/chip/src/chip.component.html +0 -33
- package/ui/chip/src/chip.component.ts +0 -144
- package/ui/collapse-reorder-list/index.ts +0 -1
- package/ui/collapse-reorder-list/ng-package.json +0 -6
- package/ui/collapse-reorder-list/src/collapse-reorder-list.component.html +0 -42
- package/ui/collapse-reorder-list/src/collapse-reorder-list.component.scss +0 -24
- package/ui/collapse-reorder-list/src/collapse-reorder-list.component.ts +0 -56
- package/ui/dxEditor/ng-package.json +0 -6
- package/ui/dxEditor/src/dx-editor.component.html +0 -67
- package/ui/dxEditor/src/dx-editor.component.ts +0 -19
- package/ui/dxField/ng-package.json +0 -6
- package/ui/dxField/src/dx-field.component.html +0 -15
- package/ui/dxField/src/dx-field.component.ts +0 -17
- package/ui/editor/ng-package.json +0 -6
- package/ui/editor/src/aril-editor.component.html +0 -16
- package/ui/editor/src/aril-editor.component.scss +0 -18
- package/ui/editor/src/aril-editor.component.ts +0 -176
- package/ui/editor/src/types.ts +0 -24
- package/ui/field/ng-package.json +0 -6
- package/ui/field/src/field.component.html +0 -27
- package/ui/field/src/field.component.ts +0 -53
- package/ui/fileUpload/ng-package.json +0 -6
- package/ui/fileUpload/src/file-upload.component.html +0 -76
- package/ui/fileUpload/src/file-upload.component.ts +0 -90
- package/ui/form/index.ts +0 -18
- package/ui/form/ng-package.json +0 -6
- package/ui/form/src/form-submit-button.component.html +0 -12
- package/ui/form/src/form-submit-button.component.ts +0 -36
- package/ui/form/src/form.component.ts +0 -20
- package/ui/img-viewer/index.ts +0 -2
- package/ui/img-viewer/ng-package.json +0 -6
- package/ui/img-viewer/src/img-viewer.component.html +0 -12
- package/ui/img-viewer/src/img-viewer.component.scss +0 -8
- package/ui/img-viewer/src/img-viewer.component.ts +0 -59
- package/ui/index.ts +0 -1
- package/ui/json-diff-comparison/ng-package.json +0 -6
- package/ui/json-diff-comparison/src/json-diff.component.html +0 -5
- package/ui/json-diff-comparison/src/json-diff.component.ts +0 -45
- package/ui/lib/index.ts +0 -17
- package/ui/lib/ng-package.json +0 -6
- package/ui/lib/src/form/form-error-message.component.ts +0 -25
- package/ui/lib/src/form/form-error-message.directive.ts +0 -32
- package/ui/lib/src/form/form-field-builder.ts +0 -31
- package/ui/lib/src/form/form-validation.ts +0 -14
- package/ui/lib/src/grid/enum-color-picker.pipe.ts +0 -33
- package/ui/lib/src/grid/flex-grid.directive.ts +0 -10
- package/ui/lib/src/input/baseInput.ts +0 -30
- package/ui/lib/src/input/common-input-validators.service.ts +0 -57
- package/ui/lib/src/input/dx-input-error-message.pipe.ts +0 -16
- package/ui/lib/src/input/input-disabled.directive.ts +0 -15
- package/ui/lib/src/input/input-error-message.pipe.ts +0 -71
- package/ui/lib/src/input/input-transforms.ts +0 -11
- package/ui/lib/src/input/value-accessor.directive.ts +0 -31
- package/ui/loader/ng-package.json +0 -6
- package/ui/loader/src/loader.component.html +0 -7
- package/ui/loader/src/loader.component.scss +0 -6
- package/ui/loader/src/loader.component.ts +0 -14
- package/ui/mask/ng-package.json +0 -6
- package/ui/mask/src/mask.component.css +0 -23
- package/ui/mask/src/mask.component.html +0 -17
- package/ui/mask/src/mask.component.ts +0 -34
- package/ui/multiSelect/ng-package.json +0 -6
- package/ui/multiSelect/src/interfaces.ts +0 -41
- package/ui/multiSelect/src/multi-select.component.html +0 -14
- package/ui/multiSelect/src/multi-select.component.ts +0 -66
- package/ui/ng-package.json +0 -6
- package/ui/number/ng-package.json +0 -6
- package/ui/number/src/number.component.html +0 -26
- package/ui/number/src/number.component.ts +0 -36
- package/ui/operation-types-dialog/ng-package.json +0 -6
- package/ui/operation-types-dialog/src/operation-types-dialog.component.ts +0 -98
- package/ui/overlayPanel/ng-package.json +0 -6
- package/ui/overlayPanel/src/overlay-panel.component.html +0 -5
- package/ui/overlayPanel/src/overlay-panel.component.ts +0 -16
- package/ui/panel/ng-package.json +0 -6
- package/ui/panel/src/panel.component.css +0 -38
- package/ui/panel/src/panel.component.html +0 -44
- package/ui/panel/src/panel.component.ts +0 -31
- package/ui/password/ng-package.json +0 -6
- package/ui/password/src/password.component.html +0 -25
- package/ui/password/src/password.component.ts +0 -22
- package/ui/pdf-viewer/ng-package.json +0 -6
- package/ui/pdf-viewer/src/pdf-viewer.component.html +0 -16
- package/ui/pdf-viewer/src/pdf-viewer.component.scss +0 -8
- package/ui/pdf-viewer/src/pdf-viewer.component.ts +0 -28
- package/ui/progressbar/dist/index.js +0 -13
- package/ui/progressbar/ng-package.json +0 -6
- package/ui/progressbar/src/dist/progressbar.component.js +0 -28
- package/ui/progressbar/src/progressbar.component.html +0 -1
- package/ui/progressbar/src/progressbar.component.ts +0 -18
- package/ui/radioButton/ng-package.json +0 -6
- package/ui/radioButton/src/radio-button.component.html +0 -23
- package/ui/radioButton/src/radio-button.component.scss +0 -17
- package/ui/radioButton/src/radio-button.component.ts +0 -39
- package/ui/relativeDateSelector/index.ts +0 -1
- package/ui/relativeDateSelector/ng-package.json +0 -6
- package/ui/relativeDateSelector/src/enum.ts +0 -29
- package/ui/relativeDateSelector/src/relative-date-selector.component.html +0 -118
- package/ui/relativeDateSelector/src/relative-date-selector.component.scss +0 -154
- package/ui/relativeDateSelector/src/relative-date-selector.component.ts +0 -291
- package/ui/selectBox/ng-package.json +0 -6
- package/ui/selectBox/src/interfaces.ts +0 -41
- package/ui/selectBox/src/select-box.component.html +0 -19
- package/ui/selectBox/src/select-box.component.ts +0 -79
- package/ui/styles/ui.common.scss +0 -42
- package/ui/switch/ng-package.json +0 -6
- package/ui/switch/src/switch.component.html +0 -7
- package/ui/switch/src/switch.component.ts +0 -18
- package/ui/table/index.ts +0 -76
- package/ui/table/ng-package.json +0 -6
- package/ui/table/src/export-overlay-panel.component.ts +0 -330
- package/ui/table/src/interfaces.ts +0 -162
- package/ui/table/src/table-column.component.ts +0 -22
- package/ui/table/src/table.component.html +0 -404
- package/ui/table/src/table.component.scss +0 -15
- package/ui/table/src/table.component.ts +0 -368
- package/ui/table-expand/index.ts +0 -41
- package/ui/table-expand/ng-package.json +0 -6
- package/ui/table-expand/src/table-column.component.ts +0 -32
- package/ui/table-expand/src/table-expand-area.component.ts +0 -18
- package/ui/table-expand/src/table.component.html +0 -101
- package/ui/table-expand/src/table.component.ts +0 -92
- package/ui/tag/index.ts +0 -1
- package/ui/tag/ng-package.json +0 -6
- package/ui/tag/src/interface.ts +0 -1
- package/ui/tag/src/tag.component.html +0 -9
- package/ui/tag/src/tag.component.ts +0 -17
- package/ui/tagBox/ng-package.json +0 -6
- package/ui/tagBox/src/tag-box.component.html +0 -26
- package/ui/tagBox/src/tag-box.component.ts +0 -56
- package/ui/text/ng-package.json +0 -6
- package/ui/text/src/text.component.html +0 -21
- package/ui/text/src/text.component.ts +0 -55
- package/ui/textArea/ng-package.json +0 -6
- package/ui/textArea/src/text-area.component.html +0 -12
- package/ui/textArea/src/text-area.component.ts +0 -22
- package/ui/toggle-button/index.ts +0 -1
- package/ui/toggle-button/ng-package.json +0 -6
- package/ui/toggle-button/src/toggle-button.component.html +0 -13
- package/ui/toggle-button/src/toggle-button.component.scss +0 -19
- package/ui/toggle-button/src/toggle-button.component.ts +0 -22
- package/ui/tooltip/ng-package.json +0 -6
- package/ui/tooltip/src/tooltip-component.html +0 -10
- package/ui/tooltip/src/tooltip-component.ts +0 -20
- package/ui/translate-input/ng-package.json +0 -6
- package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.html +0 -46
- package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.scss +0 -9
- package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.ts +0 -74
- package/ui/translate-input/src/aril-lang-modal/constants.ts +0 -16
- package/ui/translate-input/src/aril-translate-input.component.ts +0 -152
- package/ui/translate-input/src/interface.ts +0 -14
- package/ui/tree/ng-package.json +0 -6
- package/ui/tree/src/tree.component.html +0 -17
- package/ui/tree/src/tree.component.ts +0 -65
- package/ui/treeSelect/ng-package.json +0 -6
- package/ui/treeSelect/src/treeSelect.component.html +0 -18
- package/ui/treeSelect/src/treeSelect.component.ts +0 -43
- package/ui/treeTable/ng-package.json +0 -6
- package/ui/treeTable/src/tree-table.component.html +0 -88
- package/ui/treeTable/src/tree-table.component.ts +0 -57
- package/ui/value/ng-package.json +0 -6
- package/ui/value/src/value.component.html +0 -94
- package/ui/value/src/value.component.scss +0 -6
- package/ui/value/src/value.component.ts +0 -268
- package/ui-business/assetPicker/index.ts +0 -1
- package/ui-business/assetPicker/ng-package.json +0 -6
- package/ui-business/assetPicker/src/asset-picker.component.html +0 -29
- package/ui-business/assetPicker/src/asset-picker.component.ts +0 -259
- package/ui-business/assetPicker/src/interface.ts +0 -83
- package/ui-business/detailed-overlay-panel/ng-package.json +0 -6
- package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.html +0 -52
- package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.scss +0 -19
- package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.ts +0 -66
- package/ui-business/detailed-overlay-panel/src/interface.ts +0 -62
- package/ui-business/enumPicker/index.ts +0 -1
- package/ui-business/enumPicker/ng-package.json +0 -6
- package/ui-business/enumPicker/src/enum-picker.component.html +0 -39
- package/ui-business/enumPicker/src/enum-picker.component.ts +0 -147
- package/ui-business/enumPicker/src/interface.ts +0 -44
- package/ui-business/image-viewer/index.ts +0 -1
- package/ui-business/image-viewer/ng-package.json +0 -6
- package/ui-business/image-viewer/src/aril-image-viewer.component.ts +0 -92
- package/ui-business/index.ts +0 -1
- package/ui-business/multiple-ref-value/ng-package.json +0 -6
- package/ui-business/multiple-ref-value/src/multiple-ref-value.component.html +0 -26
- package/ui-business/multiple-ref-value/src/multiple-ref-value.component.ts +0 -21
- package/ui-business/ng-package.json +0 -6
- package/ui-business/notification-templates-dialog/ng-package.json +0 -6
- package/ui-business/notification-templates-dialog/src/interface.ts +0 -18
- package/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.html +0 -31
- package/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.ts +0 -69
- package/ui-business/operation-types-dialog/ng-package.json +0 -6
- package/ui-business/operation-types-dialog/src/operation-types-dialog.component.ts +0 -78
- package/ui-business/ref-value/ng-package.json +0 -6
- package/ui-business/ref-value/src/ref-value.component.html +0 -29
- package/ui-business/ref-value/src/ref-value.component.ts +0 -41
- package/ui-business/rolePicker/ng-package.json +0 -6
- package/ui-business/rolePicker/src/interface.ts +0 -56
- package/ui-business/rolePicker/src/role-picker.component.html +0 -21
- package/ui-business/rolePicker/src/role-picker.component.ts +0 -88
- package/ui-business/userPicker/index.ts +0 -1
- package/ui-business/userPicker/ng-package.json +0 -6
- package/ui-business/userPicker/src/interface.ts +0 -27
- package/ui-business/userPicker/src/user-picker.component.html +0 -20
- package/ui-business/userPicker/src/user-picker.component.ts +0 -52
- package/util/block/ng-package.json +0 -6
- package/util/block/src/block.ts +0 -65
- package/util/block/src/blockui.css +0 -56
- package/util/block/src/blockui.min.js +0 -7
- package/util/custom_pages/ng-package.json +0 -6
- package/util/custom_pages/src/notFound.component.ts +0 -34
- package/util/directives/ng-package.json +0 -6
- package/util/directives/src/detail-page-customization/detail-page-customization.directive.md +0 -199
- package/util/directives/src/detail-page-customization/detail-page-customization.directive.ts +0 -343
- package/util/directives/src/detail-page-customization/index.ts +0 -2
- package/util/directives/src/detail-page-customization/models.ts +0 -61
- package/util/directives/src/dialog-component/plugin-dialog.component.ts +0 -22
- package/util/directives/src/dialog-service/plugin-dialog.service.ts +0 -12
- package/util/index.ts +0 -1
- package/util/lib/ng-package.json +0 -6
- package/util/lib/src/interfaces.ts +0 -44
- package/util/lib/src/module-router.ts +0 -9
- package/util/lib/src/types.ts +0 -61
- package/util/lib/src/validators/iban.validator.ts +0 -202
- package/util/lib/src/validators/max-array-length.validator.ts +0 -18
- package/util/lib/src/validators/min-array-length.validator.ts +0 -18
- package/util/lib/src/validators/tckn.validator.ts +0 -55
- package/util/lib/src/validators/validators.ts +0 -21
- package/util/loaders/index.ts +0 -1
- package/util/loaders/ng-package.json +0 -6
- package/util/loaders/style/style.loader.service.ts +0 -69
- package/util/ng-package.json +0 -6
- package/util/pipes/ng-package.json +0 -6
- package/util/pipes/src/distance-to-now.pipe.ts +0 -37
- package/util/pipes/src/get-column-by-field.pipe.ts +0 -11
- package/util/pipes/src/parse.pipe.ts +0 -15
- package/util/pipes/src/round-number.pipe.ts +0 -75
- package/util/pipes/src/safe.pipe.ts +0 -27
- package/util/pipes/src/translate-json/index.ts +0 -1
- package/util/pipes/src/translate-json/translate-json.pipe.ts +0 -34
- package/util/primitive-extensions/ng-package.json +0 -6
- package/util/primitive-extensions/src/date.extensions.ts +0 -135
- package/util/primitive-extensions/src/number.extensions.ts +0 -57
- package/util/primitive-extensions/src/string.extensions.ts +0 -39
- package/util/pub-sub/ng-package.json +0 -6
- package/util/pub-sub/src/pub-sub.service.ts +0 -35
- package/util/sync-active-tab-route/ng-package.json +0 -6
- package/util/sync-active-tab-route/src/sync-active-tab-route.directive.ts +0 -47
- package/util/unwrap/ng-package.json +0 -6
- package/util/unwrap/src/unwrap-tag.directive.ts +0 -18
- /package/boot/config/api/{index.ts → index.d.ts} +0 -0
- /package/boot/config/apps/{index.ts → index.d.ts} +0 -0
- /package/boot/config/plugins/{index.ts → index.d.ts} +0 -0
- /package/boot/config/translate/{index.ts → index.d.ts} +0 -0
- /package/boot/host/{index.ts → index.d.ts} +0 -0
- /package/boot/mfe/{index.ts → index.d.ts} +0 -0
- /package/i18n/{index.ts → index.d.ts} +0 -0
- /package/provider/{index.ts → index.d.ts} +0 -0
- /package/{public-api.ts → public-api.d.ts} +0 -0
- /package/ui/autoComplete/{index.ts → index.d.ts} +0 -0
- /package/ui/badge/{index.ts → index.d.ts} +0 -0
- /package/ui/button/{index.ts → index.d.ts} +0 -0
- /package/ui/calendar/{index.ts → index.d.ts} +0 -0
- /package/ui/checkbox/{index.ts → index.d.ts} +0 -0
- /package/ui/dxEditor/{index.ts → index.d.ts} +0 -0
- /package/ui/dxField/{index.ts → index.d.ts} +0 -0
- /package/ui/editor/{index.ts → index.d.ts} +0 -0
- /package/ui/field/{index.ts → index.d.ts} +0 -0
- /package/ui/fileUpload/{index.ts → index.d.ts} +0 -0
- /package/ui/json-diff-comparison/{index.ts → index.d.ts} +0 -0
- /package/ui/loader/{index.ts → index.d.ts} +0 -0
- /package/ui/mask/{index.ts → index.d.ts} +0 -0
- /package/ui/multiSelect/{index.ts → index.d.ts} +0 -0
- /package/ui/number/{index.ts → index.d.ts} +0 -0
- /package/ui/operation-types-dialog/{index.ts → index.d.ts} +0 -0
- /package/ui/overlayPanel/{index.ts → index.d.ts} +0 -0
- /package/ui/panel/{index.ts → index.d.ts} +0 -0
- /package/ui/password/{index.ts → index.d.ts} +0 -0
- /package/ui/pdf-viewer/{index.ts → index.d.ts} +0 -0
- /package/ui/progressbar/{index.ts → index.d.ts} +0 -0
- /package/ui/radioButton/{index.ts → index.d.ts} +0 -0
- /package/ui/selectBox/{index.ts → index.d.ts} +0 -0
- /package/ui/switch/{index.ts → index.d.ts} +0 -0
- /package/ui/tagBox/{index.ts → index.d.ts} +0 -0
- /package/ui/text/{index.ts → index.d.ts} +0 -0
- /package/ui/textArea/{index.ts → index.d.ts} +0 -0
- /package/ui/tooltip/{index.ts → index.d.ts} +0 -0
- /package/ui/translate-input/{index.ts → index.d.ts} +0 -0
- /package/ui/tree/{index.ts → index.d.ts} +0 -0
- /package/ui/treeSelect/{index.ts → index.d.ts} +0 -0
- /package/ui/treeTable/{index.ts → index.d.ts} +0 -0
- /package/ui/value/{index.ts → index.d.ts} +0 -0
- /package/ui-business/detailed-overlay-panel/{index.ts → index.d.ts} +0 -0
- /package/ui-business/multiple-ref-value/{index.ts → index.d.ts} +0 -0
- /package/ui-business/notification-templates-dialog/{index.ts → index.d.ts} +0 -0
- /package/ui-business/operation-types-dialog/{index.ts → index.d.ts} +0 -0
- /package/ui-business/ref-value/{index.ts → index.d.ts} +0 -0
- /package/ui-business/rolePicker/{index.ts → index.d.ts} +0 -0
- /package/util/block/{index.ts → index.d.ts} +0 -0
- /package/util/custom_pages/{index.ts → index.d.ts} +0 -0
- /package/util/directives/{index.ts → index.d.ts} +0 -0
- /package/util/lib/{index.ts → index.d.ts} +0 -0
- /package/util/lib/src/validators/{index.ts → index.d.ts} +0 -0
- /package/util/pipes/{index.ts → index.d.ts} +0 -0
- /package/util/primitive-extensions/{index.ts → index.d.ts} +0 -0
- /package/util/primitive-extensions/src/{boolean.extensions.ts → boolean.extensions.d.ts} +0 -0
- /package/util/pub-sub/{index.ts → index.d.ts} +0 -0
- /package/util/sync-active-tab-route/{index.ts → index.d.ts} +0 -0
- /package/util/unwrap/{index.ts → index.d.ts} +0 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, NgZone, Component } from '@angular/core';
|
|
3
|
+
import { connectRouter, ModuleFederationToolsModule } from '@angular-architects/module-federation-tools';
|
|
4
|
+
import { LanguageCode, TR_TRANSLATIONS } from 'aril/boot/config/translate';
|
|
5
|
+
import * as i1$1 from 'aril/theme/layout';
|
|
6
|
+
import { AppLayoutComponent, MFELayoutComponent } from 'aril/theme/layout';
|
|
7
|
+
import { a as appName, m as menuItems } from './aril.mjs';
|
|
8
|
+
import * as i1 from '@angular/router';
|
|
9
|
+
import * as i2 from '@ngneat/transloco';
|
|
10
|
+
import * as i4 from 'primeng/api';
|
|
11
|
+
import '@angular/common/http';
|
|
12
|
+
import '@angular/platform-browser';
|
|
13
|
+
import '@angular/platform-browser/animations';
|
|
14
|
+
import 'keycloak-angular';
|
|
15
|
+
import 'aril/boot/config/api';
|
|
16
|
+
import 'aril/boot/config/apps';
|
|
17
|
+
import 'aril/boot/config/plugins';
|
|
18
|
+
import 'aril/http';
|
|
19
|
+
import 'aril/i18n';
|
|
20
|
+
import 'aril/keycloak';
|
|
21
|
+
import 'aril/provider';
|
|
22
|
+
import 'aril/util/pub-sub';
|
|
23
|
+
import '@angular/elements';
|
|
24
|
+
import 'ngx-monaco-editor-v2';
|
|
25
|
+
import 'aril/util/loaders';
|
|
26
|
+
|
|
27
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
28
|
+
class AppComponent {
|
|
29
|
+
constructor(router, translocoService, appMenuService, primeNgConfig) {
|
|
30
|
+
this.router = router;
|
|
31
|
+
this.translocoService = translocoService;
|
|
32
|
+
this.appMenuService = appMenuService;
|
|
33
|
+
this.primeNgConfig = primeNgConfig;
|
|
34
|
+
this.isHostMode = globalThis.isHostMode;
|
|
35
|
+
if (!this.isHostMode && !globalThis.ngZone) {
|
|
36
|
+
globalThis.ngZone = inject(NgZone);
|
|
37
|
+
}
|
|
38
|
+
connectRouter(this.router, true);
|
|
39
|
+
globalThis.activeMF = appName;
|
|
40
|
+
const lang = localStorage.getItem('lang') ?? LanguageCode.TR;
|
|
41
|
+
this.translocoService.setActiveLang(lang);
|
|
42
|
+
this.setLocale(lang);
|
|
43
|
+
if (!this.isHostMode) {
|
|
44
|
+
this.appMenuService.menuConfig.set({ items: structuredClone(menuItems), prefix: appName });
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
setLocale(lang) {
|
|
48
|
+
if (!lang?.length) {
|
|
49
|
+
console.warn('No language selected');
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
if (lang === LanguageCode.TR) {
|
|
53
|
+
this.primeNgConfig.setTranslation(TR_TRANSLATIONS);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AppComponent, deps: [{ token: i1.Router }, { token: i2.TranslocoService }, { token: i1$1.AppMenuService }, { token: i4.PrimeNGConfig }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
57
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: AppComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
|
|
58
|
+
@if (isHostMode) {
|
|
59
|
+
<mfe-layout></mfe-layout>
|
|
60
|
+
} @else {
|
|
61
|
+
<app-layout></app-layout>
|
|
62
|
+
}
|
|
63
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ModuleFederationToolsModule }, { kind: "component", type: AppLayoutComponent, selector: "app-layout" }, { kind: "component", type: MFELayoutComponent, selector: "mfe-layout" }] }); }
|
|
64
|
+
}
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AppComponent, decorators: [{
|
|
66
|
+
type: Component,
|
|
67
|
+
args: [{
|
|
68
|
+
standalone: true,
|
|
69
|
+
template: `
|
|
70
|
+
@if (isHostMode) {
|
|
71
|
+
<mfe-layout></mfe-layout>
|
|
72
|
+
} @else {
|
|
73
|
+
<app-layout></app-layout>
|
|
74
|
+
}
|
|
75
|
+
`,
|
|
76
|
+
imports: [ModuleFederationToolsModule, AppLayoutComponent, MFELayoutComponent]
|
|
77
|
+
}]
|
|
78
|
+
}], ctorParameters: () => [{ type: i1.Router }, { type: i2.TranslocoService }, { type: i1$1.AppMenuService }, { type: i4.PrimeNGConfig }] });
|
|
79
|
+
|
|
80
|
+
export { AppComponent };
|
|
81
|
+
//# sourceMappingURL=aril-app.component-hxaLgwmC.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aril-app.component-hxaLgwmC.mjs","sources":["../../projects/aril/boot/mfe/src/app.component.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\r\nimport { Component, NgZone, inject } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\n\r\nimport { PrimeNGConfig } from 'primeng/api';\r\n\r\nimport { ModuleFederationToolsModule, connectRouter } from '@angular-architects/module-federation-tools';\r\nimport { TranslocoService } from '@ngneat/transloco';\r\n\r\nimport { LanguageCode, TR_TRANSLATIONS } from 'aril/boot/config/translate';\r\nimport { AppLayoutComponent, AppMenuService, MFELayoutComponent } from 'aril/theme/layout';\r\n\r\nimport { appName, menuItems } from './bootstrap';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\ttemplate: `\r\n\t\t@if (isHostMode) {\r\n\t\t\t<mfe-layout></mfe-layout>\r\n\t\t} @else {\r\n\t\t\t<app-layout></app-layout>\r\n\t\t}\r\n\t`,\r\n\timports: [ModuleFederationToolsModule, AppLayoutComponent, MFELayoutComponent]\r\n})\r\nexport class AppComponent {\r\n\tconstructor(\r\n\t\tprivate readonly router: Router,\r\n\t\tprivate readonly translocoService: TranslocoService,\r\n\t\tprivate readonly appMenuService: AppMenuService,\r\n\t\tprivate readonly primeNgConfig: PrimeNGConfig\r\n\t) {\r\n\t\tif (!this.isHostMode && !(<any>globalThis).ngZone) {\r\n\t\t\t(<any>globalThis).ngZone = inject(NgZone);\r\n\t\t}\r\n\r\n\t\tconnectRouter(this.router, true);\r\n\r\n\t\t(<any>globalThis).activeMF = appName;\r\n\t\tconst lang: LanguageCode = (localStorage.getItem('lang') as LanguageCode) ?? LanguageCode.TR;\r\n\r\n\t\tthis.translocoService.setActiveLang(lang);\r\n\r\n\t\tthis.setLocale(lang);\r\n\r\n\t\tif (!this.isHostMode) {\r\n\t\t\tthis.appMenuService.menuConfig.set({ items: structuredClone(menuItems), prefix: appName });\r\n\t\t}\r\n\t}\r\n\r\n\tisHostMode = (<any>globalThis).isHostMode;\r\n\r\n\tsetLocale(lang: LanguageCode) {\r\n\t\tif (!lang?.length) {\r\n\t\t\tconsole.warn('No language selected');\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (lang === LanguageCode.TR) {\r\n\t\t\tthis.primeNgConfig.setTranslation(TR_TRANSLATIONS);\r\n\t\t}\r\n\t}\r\n}\r\n"],"names":["i3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;MAyBa,YAAY,CAAA;AACxB,IAAA,WAAA,CACkB,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signal } from '@angular/core';
|
|
2
|
+
import { KeycloakEventType } from 'keycloak-angular';
|
|
3
|
+
import { switchMap, from, finalize, EMPTY, tap, firstValueFrom } from 'rxjs';
|
|
4
|
+
|
|
5
|
+
var Apps;
|
|
6
|
+
(function (Apps) {
|
|
7
|
+
Apps["THOR"] = "thor";
|
|
8
|
+
Apps["CRM"] = "crm";
|
|
9
|
+
Apps["WDM"] = "wdm";
|
|
10
|
+
Apps["BILLING"] = "billing";
|
|
11
|
+
Apps["PAYMENT"] = "payment";
|
|
12
|
+
Apps["YEAP"] = "yeap";
|
|
13
|
+
Apps["MW"] = "mw";
|
|
14
|
+
Apps["LENA"] = "lena";
|
|
15
|
+
Apps["HES"] = "hes";
|
|
16
|
+
Apps["CTS"] = "cts";
|
|
17
|
+
Apps["SIS"] = "sis";
|
|
18
|
+
Apps["MNG"] = "mng";
|
|
19
|
+
Apps["MDM"] = "mdm";
|
|
20
|
+
Apps["STATE_MACHINE"] = "state-machine";
|
|
21
|
+
Apps["REPORT"] = "report";
|
|
22
|
+
Apps["LGC"] = "lgc";
|
|
23
|
+
Apps["DMS"] = "dms";
|
|
24
|
+
})(Apps || (Apps = {}));
|
|
25
|
+
var AppsRoutes;
|
|
26
|
+
(function (AppsRoutes) {
|
|
27
|
+
AppsRoutes["MNG_BASE_URL"] = "mngBaseUrl";
|
|
28
|
+
})(AppsRoutes || (AppsRoutes = {}));
|
|
29
|
+
class ApiConfigsFactory {
|
|
30
|
+
constructor() {
|
|
31
|
+
this.api = '';
|
|
32
|
+
this.fromMail = '';
|
|
33
|
+
this.mwApi = '';
|
|
34
|
+
this.aiApi = '';
|
|
35
|
+
this.statusApi = '';
|
|
36
|
+
this.environment = '';
|
|
37
|
+
this.routes = {
|
|
38
|
+
mngBaseUrl: '',
|
|
39
|
+
};
|
|
40
|
+
this.prefixMap = {
|
|
41
|
+
[Apps.THOR]: '',
|
|
42
|
+
[Apps.CRM]: '',
|
|
43
|
+
[Apps.WDM]: '',
|
|
44
|
+
[Apps.BILLING]: '',
|
|
45
|
+
[Apps.PAYMENT]: '',
|
|
46
|
+
[Apps.YEAP]: '',
|
|
47
|
+
[Apps.MW]: '',
|
|
48
|
+
[Apps.LENA]: '',
|
|
49
|
+
[Apps.HES]: '',
|
|
50
|
+
[Apps.CTS]: '',
|
|
51
|
+
[Apps.SIS]: '',
|
|
52
|
+
[Apps.MNG]: '',
|
|
53
|
+
[Apps.STATE_MACHINE]: '',
|
|
54
|
+
[Apps.MDM]: '',
|
|
55
|
+
[Apps.REPORT]: '',
|
|
56
|
+
[Apps.LGC]: '',
|
|
57
|
+
[Apps.DMS]: ''
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
getExternalAppEndpoint(appName) {
|
|
61
|
+
const prefix = this.prefixMap[appName] || this.prefixMap[Apps.MNG];
|
|
62
|
+
return `${new URL(this.api).origin}/${prefix}`;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const API_CONFIGS = new ApiConfigsFactory();
|
|
67
|
+
const loadApiConfigs = (httpClient, keycloak, appName, microAppService) => () => new Promise((resolve) => httpClient
|
|
68
|
+
.get(isDevMode() ? './assets/local-configs/api.local.json' : './api.json')
|
|
69
|
+
.pipe(switchMap((configs) => {
|
|
70
|
+
globalThis.hostMenuItems = signal([]);
|
|
71
|
+
globalThis.pluginJson = {};
|
|
72
|
+
Object.assign(API_CONFIGS, { ...configs });
|
|
73
|
+
return from(keycloak.init({
|
|
74
|
+
config: API_CONFIGS.keycloak,
|
|
75
|
+
loadUserProfileAtStartUp: true,
|
|
76
|
+
initOptions: { onLoad: 'login-required', checkLoginIframe: false },
|
|
77
|
+
bearerExcludedUrls: ['/assets']
|
|
78
|
+
})).pipe(finalize(() => addEventListener('module-ready', (event) => {
|
|
79
|
+
const app = event.detail;
|
|
80
|
+
dispatchEvent(new CustomEvent(`${app}:init-keycloak`, { detail: keycloak }));
|
|
81
|
+
keycloak.keycloakEvents$.subscribe((e) => {
|
|
82
|
+
if (e.type === KeycloakEventType.OnAuthRefreshSuccess) {
|
|
83
|
+
dispatchEvent(new CustomEvent(`${app}:update-keycloak`, { detail: keycloak }));
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
})));
|
|
87
|
+
}), switchMap(() => microAppService?.init(httpClient, API_CONFIGS.api) ?? EMPTY))
|
|
88
|
+
.subscribe()
|
|
89
|
+
.add(resolve));
|
|
90
|
+
/**
|
|
91
|
+
* only works when isHostMode is true
|
|
92
|
+
* micro-app access its own api.json file when opened in host
|
|
93
|
+
*/
|
|
94
|
+
function setApiConfigOnMFEMode(httpClient, keycloak, appName) {
|
|
95
|
+
return () => {
|
|
96
|
+
const observable$ = httpClient
|
|
97
|
+
.get(isDevMode() ? './assets/local-configs/api.local.json' : './api.json')
|
|
98
|
+
.pipe(tap((configs) => {
|
|
99
|
+
Object.assign(API_CONFIGS, { ...configs });
|
|
100
|
+
if (appName !== Apps.THOR && appName !== Apps.YEAP) {
|
|
101
|
+
API_CONFIGS.api = API_CONFIGS.getExternalAppEndpoint(appName);
|
|
102
|
+
}
|
|
103
|
+
}));
|
|
104
|
+
return firstValueFrom(observable$);
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
const loadInitData = (httpClient) => () => new Promise((resolve, _reject) => {
|
|
108
|
+
const endpoint = API_CONFIGS.api + '/ui-route-content-configs/all';
|
|
109
|
+
httpClient.get(endpoint).subscribe({
|
|
110
|
+
next: (data) => {
|
|
111
|
+
globalThis.routeConfigs = data;
|
|
112
|
+
resolve();
|
|
113
|
+
},
|
|
114
|
+
error: (err) => {
|
|
115
|
+
console.error(`Failed to load init data from ${endpoint}:`, err);
|
|
116
|
+
resolve();
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Generated bundle index. Do not edit.
|
|
123
|
+
*/
|
|
124
|
+
|
|
125
|
+
export { API_CONFIGS, loadApiConfigs, loadInitData, setApiConfigOnMFEMode };
|
|
126
|
+
//# sourceMappingURL=aril-boot-config-api.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aril-boot-config-api.mjs","sources":["../../projects/aril/boot/config/api/src/interfaces.ts","../../projects/aril/boot/config/api/src/api.service.ts","../../projects/aril/boot/config/api/aril-boot-config-api.ts"],"sourcesContent":["export enum Apps {\r\n\tTHOR = 'thor',\r\n\tCRM = 'crm',\r\n\tWDM = 'wdm',\r\n\tBILLING = 'billing',\r\n\tPAYMENT = 'payment',\r\n\tYEAP = 'yeap',\r\n\tMW = 'mw',\r\n\tLENA = 'lena',\r\n\tHES = 'hes',\r\n\tCTS = 'cts',\r\n\tSIS = 'sis',\r\n\tMNG = 'mng',\r\n\tMDM = 'mdm',\r\n\tSTATE_MACHINE = 'state-machine',\r\n\tREPORT = 'report',\r\n\tLGC = 'lgc',\r\n\tDMS = 'dms'\r\n}\r\n\r\nexport enum AppsRoutes {\r\n\tMNG_BASE_URL = 'mngBaseUrl',\r\n}\r\n\r\nexport interface KeycloakConfig {\r\n\turl: string;\r\n\trealm: string;\r\n\tclientId: string;\r\n}\r\n\r\nexport class ApiConfigsFactory {\r\n\tapi: string = '';\r\n\tfromMail: string = '';\r\n\tmwApi: string = '';\r\n\taiApi: string = '';\r\n\tstatusApi: string = '';\r\n\tenvironment: string = '';\r\n\tkeycloak!: Keycloak.KeycloakConfig;\r\n\troutes: Record<AppsRoutes, string> = {\r\n\t\tmngBaseUrl: '',\r\n\t};\r\n\tprefixMap: Record<Apps, string> = {\r\n\t\t[Apps.THOR]: '',\r\n\t\t[Apps.CRM]: '',\r\n\t\t[Apps.WDM]: '',\r\n\t\t[Apps.BILLING]: '',\r\n\t\t[Apps.PAYMENT]: '',\r\n\t\t[Apps.YEAP]: '',\r\n\t\t[Apps.MW]: '',\r\n\t\t[Apps.LENA]: '',\r\n\t\t[Apps.HES]: '',\r\n\t\t[Apps.CTS]: '',\r\n\t\t[Apps.SIS]: '',\r\n\t\t[Apps.MNG]: '',\r\n\t\t[Apps.STATE_MACHINE]: '',\r\n\t\t[Apps.MDM]:'',\r\n\t\t[Apps.REPORT]: '',\r\n\t\t[Apps.LGC]: '',\r\n\t\t[Apps.DMS]: ''\r\n\t};\r\n\tgetExternalAppEndpoint(appName: Apps): string {\r\n\t\tconst prefix = this.prefixMap[appName] || this.prefixMap[Apps.MNG];\r\n\t\treturn `${new URL(this.api).origin}/${prefix}`;\r\n\t}\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { isDevMode, signal } from '@angular/core';\r\n\r\nimport { KeycloakEventType, KeycloakService } from 'keycloak-angular';\r\nimport { EMPTY, finalize, firstValueFrom, from, switchMap, tap } from 'rxjs';\r\n\r\nimport { MicroAppService } from 'aril/boot/config/apps';\r\n\r\nimport { ApiConfigsFactory, Apps } from './interfaces';\r\n\r\nexport const API_CONFIGS = new ApiConfigsFactory();\r\n\r\nexport const loadApiConfigs =\r\n\t(httpClient: HttpClient, keycloak: KeycloakService, appName: string, microAppService?: MicroAppService) => () =>\r\n\t\tnew Promise<void>((resolve) =>\r\n\t\t\thttpClient\r\n\t\t\t\t.get<ApiConfigsFactory>(isDevMode() ? './assets/local-configs/api.local.json' : './api.json')\r\n\t\t\t\t.pipe(\r\n\t\t\t\t\tswitchMap((configs) => {\r\n\t\t\t\t\t\t(globalThis as any).hostMenuItems = signal([]);\r\n\t\t\t\t\t\t(globalThis as any).pluginJson = {};\r\n\r\n\t\t\t\t\t\tObject.assign(API_CONFIGS, { ...configs });\r\n\r\n\t\t\t\t\t\treturn from(\r\n\t\t\t\t\t\t\tkeycloak.init({\r\n\t\t\t\t\t\t\t\tconfig: API_CONFIGS.keycloak,\r\n\t\t\t\t\t\t\t\tloadUserProfileAtStartUp: true,\r\n\t\t\t\t\t\t\t\tinitOptions: { onLoad: 'login-required', checkLoginIframe: false },\r\n\t\t\t\t\t\t\t\tbearerExcludedUrls: ['/assets']\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t).pipe(\r\n\t\t\t\t\t\t\tfinalize(() =>\r\n\t\t\t\t\t\t\t\taddEventListener('module-ready', (event) => {\r\n\t\t\t\t\t\t\t\t\tconst app = (event as CustomEvent).detail;\r\n\t\t\t\t\t\t\t\t\tdispatchEvent(new CustomEvent(`${app}:init-keycloak`, { detail: keycloak }));\r\n\r\n\t\t\t\t\t\t\t\t\tkeycloak.keycloakEvents$.subscribe((e) => {\r\n\t\t\t\t\t\t\t\t\t\tif (e.type === KeycloakEventType.OnAuthRefreshSuccess) {\r\n\t\t\t\t\t\t\t\t\t\t\tdispatchEvent(new CustomEvent(`${app}:update-keycloak`, { detail: keycloak }));\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t}),\r\n\t\t\t\t\tswitchMap(() => microAppService?.init(httpClient, API_CONFIGS.api) ?? EMPTY)\r\n\t\t\t\t)\r\n\t\t\t\t.subscribe()\r\n\t\t\t\t.add(resolve)\r\n\t\t);\r\n\r\n/**\r\n * only works when isHostMode is true\r\n * micro-app access its own api.json file when opened in host\r\n */\r\nexport function setApiConfigOnMFEMode(\r\n\thttpClient: HttpClient,\r\n\tkeycloak: KeycloakService,\r\n\tappName: Apps\r\n): () => Promise<any> {\r\n\treturn () => {\r\n\t\tconst observable$ = httpClient\r\n\t\t\t.get<ApiConfigsFactory>(isDevMode() ? './assets/local-configs/api.local.json' : './api.json')\r\n\t\t\t.pipe(\r\n\t\t\t\ttap((configs) => {\r\n\t\t\t\t\tObject.assign(API_CONFIGS, { ...configs });\r\n\t\t\t\t\tif (appName !== Apps.THOR && appName !== Apps.YEAP) {\r\n\t\t\t\t\t\tAPI_CONFIGS.api = API_CONFIGS.getExternalAppEndpoint(appName);\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t);\r\n\r\n\t\treturn firstValueFrom(observable$);\r\n\t};\r\n}\r\n\r\nexport const loadInitData = (httpClient: HttpClient) => () =>\r\n\tnew Promise<void>((resolve, _reject) => {\r\n\t\tconst endpoint = API_CONFIGS.api + '/ui-route-content-configs/all';\r\n\t\thttpClient.get(endpoint).subscribe({\r\n\t\t\tnext: (data) => {\r\n\t\t\t\t(globalThis as any).routeConfigs = data;\r\n\t\t\t\tresolve();\r\n\t\t\t},\r\n\t\t\terror: (err) => {\r\n\t\t\t\tconsole.error(`Failed to load init data from ${endpoint}:`, err);\r\n\t\t\t\tresolve();\r\n\t\t\t}\r\n\t\t});\r\n\t});\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA,IAAY,IAkBX,CAAA;AAlBD,CAAA,UAAY,IAAI,EAAA;AACf,IAAA,IAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,IAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX,IAAA,IAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX,IAAA,IAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACnB,IAAA,IAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACnB,IAAA,IAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,IAAA,CAAA,IAAA,CAAA,GAAA,IAAS,CAAA;AACT,IAAA,IAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,IAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX,IAAA,IAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX,IAAA,IAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX,IAAA,IAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX,IAAA,IAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX,IAAA,IAAA,CAAA,eAAA,CAAA,GAAA,eAA+B,CAA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CAAC,CAAC,OAAO,KAAI;YACf,MAAM,CAAC,MAAM,CAAC,WAAW,EAAE,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;AAC3C,YAAA,IAAI,OAAO,KAAK,IAAI,CAAC,IAAI,IAAI,OAAO,KAAK,IAAI,CAAC,IAAI,EAAE;gBACnD,WAAW,CAAC,GAAG,GAAG,WAAW,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;aAC9D;SACD,CAAC,CACF,CAAC;AAEH,QAAA,OAAO,cAAc,CAAC,WAAW,CAAC,CAAC;AACpC,KAAC,CAAC;AACH,CAAC;MAEY,YAAY,GAAG,CAAC,UAAsB,KAAK,MACvD,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,OAAO,KAAI;AACtC,IAAA,MAAM,QAAQ,GAAG,WAAW,CAAC,GAAG,GAAG,+BAA+B,CAAC;AACnE,IAAA,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC;AAClC,QAAA,IAAI,EAAE,CAAC,IAAI,KAAI;AACb,YAAA,UAAkB,CAAC,YAAY,GAAG,IAAI,CAAC;AACxC,YAAA,OAAO,EAAE,CAAC;SACV;AACD,QAAA,KAAK,EAAE,CAAC,GAAG,KAAI;YACd,OAAO,CAAC,KAAK,CAAC,CAAA,8BAAA,EAAiC,QAAQ,CAAG,CAAA,CAAA,EAAE,GAAG,CAAC,CAAC;AACjE,YAAA,OAAO,EAAE,CAAC;SACV;AACD,KAAA,CAAC,CAAC;AACJ,CAAC;;AC1FF;;AAEG;;;;"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, Injectable, Renderer2, ElementRef, Component, ViewEncapsulation, ViewChild, isDevMode } from '@angular/core';
|
|
3
|
+
import { Router, BaseRouteReuseStrategy } from '@angular/router';
|
|
4
|
+
import { WebComponentWrapper, startsWith } from '@angular-architects/module-federation-tools';
|
|
5
|
+
import { tap, catchError, of } from 'rxjs';
|
|
6
|
+
import { NotFoundComponent } from 'aril/util/custom_pages';
|
|
7
|
+
import { KeycloakAuthGuard, KeycloakService } from 'keycloak-angular';
|
|
8
|
+
|
|
9
|
+
class AuthGuard extends KeycloakAuthGuard {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(inject(Router), inject(KeycloakService));
|
|
12
|
+
}
|
|
13
|
+
async isAccessAllowed(route, state) {
|
|
14
|
+
if (!this.authenticated) {
|
|
15
|
+
await this.keycloakAngular.login({ redirectUri: window.location.href });
|
|
16
|
+
}
|
|
17
|
+
return this.authenticated;
|
|
18
|
+
}
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AuthGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AuthGuard, providedIn: 'root' }); }
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: AuthGuard, decorators: [{
|
|
23
|
+
type: Injectable,
|
|
24
|
+
args: [{ providedIn: 'root' }]
|
|
25
|
+
}], ctorParameters: () => [] });
|
|
26
|
+
|
|
27
|
+
class ShadowDOMWrapperComponent extends WebComponentWrapper {
|
|
28
|
+
constructor() {
|
|
29
|
+
super(...arguments);
|
|
30
|
+
this.renderer = inject(Renderer2);
|
|
31
|
+
}
|
|
32
|
+
ngOnInit() {
|
|
33
|
+
const shadowRoot = this.vc.nativeElement.parentNode;
|
|
34
|
+
const styleUrls = this['route'].snapshot.data.styleUrls || [];
|
|
35
|
+
// Inject styles into the Shadow DOM
|
|
36
|
+
styleUrls.forEach((url) => {
|
|
37
|
+
const link = this.renderer.createElement('link');
|
|
38
|
+
link.setAttribute('rel', 'stylesheet');
|
|
39
|
+
link.setAttribute('type', 'text/css');
|
|
40
|
+
link.setAttribute('href', url);
|
|
41
|
+
this.renderer.appendChild(shadowRoot, link);
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ShadowDOMWrapperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
45
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: ShadowDOMWrapperComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "vc", first: true, predicate: ["vc"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: '<div #vc></div>', isInline: true, encapsulation: i0.ViewEncapsulation.ShadowDom }); }
|
|
46
|
+
}
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ShadowDOMWrapperComponent, decorators: [{
|
|
48
|
+
type: Component,
|
|
49
|
+
args: [{
|
|
50
|
+
standalone: true,
|
|
51
|
+
template: '<div #vc></div>',
|
|
52
|
+
encapsulation: ViewEncapsulation.ShadowDom
|
|
53
|
+
}]
|
|
54
|
+
}], propDecorators: { vc: [{
|
|
55
|
+
type: ViewChild,
|
|
56
|
+
args: ['vc', { read: ElementRef, static: true }]
|
|
57
|
+
}] } });
|
|
58
|
+
|
|
59
|
+
class MicroAppService {
|
|
60
|
+
constructor() {
|
|
61
|
+
this.router = inject(Router);
|
|
62
|
+
}
|
|
63
|
+
init(httpClient, hostAPI) {
|
|
64
|
+
return httpClient
|
|
65
|
+
.get(isDevMode() ? './assets/local-configs/app.local.json' : hostAPI + '/ui-sidebar-configs')
|
|
66
|
+
.pipe(tap((apps) => {
|
|
67
|
+
const routes = this.buildRoutes([...apps.modules, ...apps.plugins]);
|
|
68
|
+
this.router.resetConfig([...this.router.config, ...routes, { path: '**', component: NotFoundComponent }]);
|
|
69
|
+
this.setMenuItems(apps.menuItems);
|
|
70
|
+
this.setPlugins(apps.extensions);
|
|
71
|
+
}), catchError((err) => {
|
|
72
|
+
console.log('Error Micro Apps Loading', err);
|
|
73
|
+
return of();
|
|
74
|
+
}));
|
|
75
|
+
}
|
|
76
|
+
buildRoutes(options) {
|
|
77
|
+
const routes = options.map((options) => {
|
|
78
|
+
return {
|
|
79
|
+
matcher: startsWith(options.remoteName),
|
|
80
|
+
component: options.shadowDomPassive ? WebComponentWrapper : ShadowDOMWrapperComponent,
|
|
81
|
+
data: options,
|
|
82
|
+
canActivate: [AuthGuard]
|
|
83
|
+
};
|
|
84
|
+
});
|
|
85
|
+
return routes;
|
|
86
|
+
}
|
|
87
|
+
setMenuItems(items) {
|
|
88
|
+
globalThis.hostMenuItems.set([
|
|
89
|
+
{ root: true, label: { tr: 'Anasayfa', en: 'Home' }, icon: 'pi pi-fw pi-home', routerLink: '/' },
|
|
90
|
+
...items
|
|
91
|
+
]);
|
|
92
|
+
}
|
|
93
|
+
setPlugins(items) {
|
|
94
|
+
globalThis.pluginJson = items || {};
|
|
95
|
+
}
|
|
96
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: MicroAppService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
97
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: MicroAppService, providedIn: 'root' }); }
|
|
98
|
+
}
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: MicroAppService, decorators: [{
|
|
100
|
+
type: Injectable,
|
|
101
|
+
args: [{ providedIn: 'root' }]
|
|
102
|
+
}] });
|
|
103
|
+
|
|
104
|
+
var Apps;
|
|
105
|
+
(function (Apps) {
|
|
106
|
+
Apps["THOR"] = "thor";
|
|
107
|
+
Apps["CRM"] = "crm";
|
|
108
|
+
Apps["WDM"] = "wdm";
|
|
109
|
+
Apps["BILLING"] = "billing";
|
|
110
|
+
Apps["PAYMENT"] = "payment";
|
|
111
|
+
Apps["YEAP"] = "yeap";
|
|
112
|
+
Apps["MW"] = "mw";
|
|
113
|
+
Apps["LENA"] = "lena";
|
|
114
|
+
Apps["HES"] = "hes";
|
|
115
|
+
Apps["CTS"] = "cts";
|
|
116
|
+
Apps["SIS"] = "sis";
|
|
117
|
+
Apps["MNG"] = "mng";
|
|
118
|
+
Apps["MDM"] = "mdm";
|
|
119
|
+
Apps["STATE_MACHINE"] = "state-machine";
|
|
120
|
+
Apps["REPORT"] = "report";
|
|
121
|
+
Apps["LGC"] = "lgc";
|
|
122
|
+
Apps["DMS"] = "dms";
|
|
123
|
+
})(Apps || (Apps = {}));
|
|
124
|
+
|
|
125
|
+
class ArilReuseStrategy extends BaseRouteReuseStrategy {
|
|
126
|
+
shouldReuseRoute(future, curr) {
|
|
127
|
+
if (curr.firstChild?.routeConfig?.data?.['remoteEntry'] === future.firstChild?.routeConfig?.data?.['remoteEntry'])
|
|
128
|
+
return false;
|
|
129
|
+
return future?.routeConfig === curr?.routeConfig && JSON.stringify(future?.params) === JSON.stringify(curr?.params);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Generated bundle index. Do not edit.
|
|
135
|
+
*/
|
|
136
|
+
|
|
137
|
+
export { Apps, ArilReuseStrategy, MicroAppService };
|
|
138
|
+
//# sourceMappingURL=aril-boot-config-apps.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aril-boot-config-apps.mjs","sources":["../../projects/aril/boot/config/apps/src/auth.guard.ts","../../projects/aril/boot/config/apps/src/showdowDOMWrapper.ts","../../projects/aril/boot/config/apps/src/apps.service.ts","../../projects/aril/boot/config/apps/src/interfaces.ts","../../projects/aril/boot/config/apps/src/reuse-strategy.ts","../../projects/aril/boot/config/apps/aril-boot-config-apps.ts"],"sourcesContent":["import { Injectable, inject } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, Router, RouterStateSnapshot, UrlTree } from '@angular/router';\r\n\r\nimport { KeycloakAuthGuard, KeycloakService } from 'keycloak-angular';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AuthGuard extends KeycloakAuthGuard {\r\n\tconstructor() {\r\n\t\tsuper(inject(Router), inject(KeycloakService));\r\n\t}\r\n\r\n\toverride async isAccessAllowed(\r\n\t\troute: ActivatedRouteSnapshot,\r\n\t\tstate: RouterStateSnapshot\r\n\t): Promise<boolean | UrlTree> {\r\n\t\tif (!this.authenticated) {\r\n\t\t\tawait this.keycloakAngular.login({ redirectUri: window.location.href });\r\n\t\t}\r\n\r\n\t\treturn this.authenticated;\r\n\t}\r\n}\r\n","import { Component, ElementRef, OnInit, Renderer2, ViewChild, ViewEncapsulation, inject } from '@angular/core';\r\n\r\nimport { WebComponentWrapper } from '@angular-architects/module-federation-tools';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\ttemplate: '<div #vc></div>',\r\n\tencapsulation: ViewEncapsulation.ShadowDom\r\n})\r\nexport class ShadowDOMWrapperComponent extends WebComponentWrapper implements OnInit {\r\n\t@ViewChild('vc', { read: ElementRef, static: true }) override vc!: ElementRef;\r\n\r\n\tprivate renderer = inject(Renderer2);\r\n\r\n\tngOnInit(): void {\r\n\t\tconst shadowRoot = this.vc.nativeElement.parentNode;\r\n\t\tconst styleUrls = this['route'].snapshot.data.styleUrls || [];\r\n\r\n\t\t// Inject styles into the Shadow DOM\r\n\t\tstyleUrls.forEach((url: string) => {\r\n\t\t\tconst link = this.renderer.createElement('link');\r\n\t\t\tlink.setAttribute('rel', 'stylesheet');\r\n\t\t\tlink.setAttribute('type', 'text/css');\r\n\t\t\tlink.setAttribute('href', url);\r\n\t\t\tthis.renderer.appendChild(shadowRoot, link);\r\n\t\t});\r\n\t}\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable, inject, isDevMode } from '@angular/core';\r\nimport { Router, Routes } from '@angular/router';\r\n\r\nimport {\r\n\tWebComponentWrapper,\r\n\tWebComponentWrapperOptions,\r\n\tstartsWith\r\n} from '@angular-architects/module-federation-tools';\r\nimport { catchError, of, tap } from 'rxjs';\r\n\r\nimport { NotFoundComponent } from 'aril/util/custom_pages';\r\n\r\nimport { AuthGuard } from './auth.guard';\r\nimport { AppsDTO, ExtensionConfig, PluginConfig, PluginMenuItem } from './interfaces';\r\nimport { ShadowDOMWrapperComponent } from './showdowDOMWrapper';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class MicroAppService {\r\n\tprivate router = inject(Router);\r\n\r\n\tinit(httpClient: HttpClient, hostAPI: string) {\r\n\t\treturn httpClient\r\n\t\t\t.get<AppsDTO>(isDevMode() ? './assets/local-configs/app.local.json' : hostAPI + '/ui-sidebar-configs')\r\n\t\t\t.pipe(\r\n\t\t\t\ttap((apps) => {\r\n\t\t\t\t\tconst routes = this.buildRoutes([...apps.modules, ...apps.plugins]);\r\n\r\n\t\t\t\t\tthis.router.resetConfig([...this.router.config, ...routes, { path: '**', component: NotFoundComponent }]);\r\n\t\t\t\t\tthis.setMenuItems(apps.menuItems);\r\n\t\t\t\t\tthis.setPlugins(apps.extensions);\r\n\t\t\t\t}),\r\n\t\t\t\tcatchError((err) => {\r\n\t\t\t\t\tconsole.log('Error Micro Apps Loading', err);\r\n\t\t\t\t\treturn of();\r\n\t\t\t\t})\r\n\t\t\t);\r\n\t}\r\n\r\n\tbuildRoutes(options: PluginConfig[]): Routes {\r\n\t\tconst routes: Routes = options.map((options) => {\r\n\t\t\treturn {\r\n\t\t\t\tmatcher: startsWith(options.remoteName),\r\n\t\t\t\tcomponent: options.shadowDomPassive ? WebComponentWrapper : ShadowDOMWrapperComponent,\r\n\t\t\t\tdata: options as WebComponentWrapperOptions,\r\n\t\t\t\tcanActivate: [AuthGuard]\r\n\t\t\t};\r\n\t\t});\r\n\r\n\t\treturn routes;\r\n\t}\r\n\r\n\tsetMenuItems(items: PluginMenuItem[]): void {\r\n\t\t(<any>globalThis).hostMenuItems.set([\r\n\t\t\t{ root: true, label: { tr: 'Anasayfa', en: 'Home' }, icon: 'pi pi-fw pi-home', routerLink: '/' },\r\n\t\t\t...items\r\n\t\t]);\r\n\t}\r\n\tsetPlugins(items: Record<string, ExtensionConfig>): void {\r\n\t\t(<any>globalThis).pluginJson = items || {};\r\n\t}\r\n}\r\n","import { MenuItemCommandEvent } from 'primeng/api';\r\n\r\nimport { WebComponentWrapperOptions } from '@angular-architects/module-federation-tools';\r\n\r\nexport enum Apps {\r\n\tTHOR = 'thor',\r\n\tCRM = 'crm',\r\n\tWDM = 'wdm',\r\n\tBILLING = 'billing',\r\n\tPAYMENT = 'payment',\r\n\tYEAP = 'yeap',\r\n\tMW = 'mw',\r\n\tLENA = 'lena',\r\n\tHES = 'hes',\r\n\tCTS = 'cts',\r\n\tSIS = 'sis',\r\n\tMNG = 'mng',\r\n\tMDM = 'mdm',\r\n\tSTATE_MACHINE = 'state-machine',\r\n\tREPORT = 'report',\r\n\tLGC = 'lgc',\r\n\tDMS = 'dms'\r\n}\r\n\r\nexport interface AppsDTO {\r\n\tversion: number;\r\n\tmodules: PluginConfig[];\r\n\tplugins: PluginConfig[];\r\n\textensions: Record<string, ExtensionConfig>;\r\n\tmenuItems: PluginMenuItem[];\r\n}\r\n\r\nexport interface ExtensionConfig {\r\n\toptions: PluginConfig;\r\n}\r\n\r\nexport type PluginConfig = WebComponentWrapperOptions & {\r\n\tid?: string;\r\n\tremoteName: string;\r\n\tshadowDomPassive: boolean;\r\n};\r\n\r\nexport interface PluginMenuItem {\r\n\trouterLink?: string;\r\n\ticon?: string;\r\n\tlabel: {\r\n\t\t[languageCode: string]: string;\r\n\t};\r\n\titems?: PluginMenuItem[];\r\n\tpermittedRole?: string;\r\n\r\n\t// UI fields\r\n\tseparator?: boolean;\r\n\troot?: boolean;\r\n\tpath?: string;\r\n\tdisabled?: boolean;\r\n\tcommand?(event: MenuItemCommandEvent): void;\r\n}\r\n","import { ActivatedRouteSnapshot, BaseRouteReuseStrategy } from '@angular/router';\r\n\r\nexport class ArilReuseStrategy extends BaseRouteReuseStrategy {\r\n\toverride shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean {\r\n\t\tif (curr.firstChild?.routeConfig?.data?.['remoteEntry'] === future.firstChild?.routeConfig?.data?.['remoteEntry'])\r\n\t\t\treturn false;\r\n\r\n\t\treturn future?.routeConfig === curr?.routeConfig && JSON.stringify(future?.params) === JSON.stringify(curr?.params);\r\n\t}\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAMM,MAAO,SAAU,SAAQ,iBAAiB,CAAA;AAC/C,IAAA,WAAA,GAAA;QACC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC;KAC/C;AAEQ,IAAA,MAAM,eAAe,CAC7B,KAA6B,EAC7B,KAA0B,EAAA;AAE1B,QAAA,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;AACxB,YAAA,MAAM,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;SACxE;QAED,OAAO,IAAI,CAAC,aAAa,CAAC;KAC1B;8GAdW,SAAS,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAT,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,SAAS,cADI,MAAM,EAAA,CAAA,CAAA,EAAA;;2FACnB,SAAS,EAAA,UAAA,EAAA,CAAA;kBADrB,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAA;;;ACI5B,MAA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I,IAAI,CAAC,UAAU,EAAE,WAAW,EAAE,IAAI,GAAG,aAAa,CAAC,KAAK,MAAM,CAAC,UAAU,EAAE,WAAW,EAAE,IAAI,GAAG,aAAa,CAAC;AAChH,YAAA,OAAO,KAAK,CAAC;QAEd,OAAO,MAAM,EAAE,WAAW,KAAK,IAAI,EAAE,WAAW,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;KACpH;AACD;;ACTD;;AAEG;;;;"}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { provideHttpClient, withInterceptors } from '@angular/common/http';
|
|
2
|
+
import { NgZone, importProvidersFrom, APP_INITIALIZER, isDevMode } from '@angular/core';
|
|
3
|
+
import { createCustomElement } from '@angular/elements';
|
|
4
|
+
import { createApplication } from '@angular/platform-browser';
|
|
5
|
+
import { provideAnimations } from '@angular/platform-browser/animations';
|
|
6
|
+
import { MessageService, ConfirmationService, PrimeNGConfig } from 'primeng/api';
|
|
7
|
+
import { ConfirmDialogModule } from 'primeng/confirmdialog';
|
|
8
|
+
import { ConfirmPopupModule } from 'primeng/confirmpopup';
|
|
9
|
+
import { DialogModule } from 'primeng/dialog';
|
|
10
|
+
import { MessagesModule } from 'primeng/messages';
|
|
11
|
+
import { ToastModule } from 'primeng/toast';
|
|
12
|
+
import { TranslocoService } from '@ngneat/transloco';
|
|
13
|
+
import { KeycloakBearerInterceptor, KeycloakAngularModule } from 'keycloak-angular';
|
|
14
|
+
import { tap, firstValueFrom } from 'rxjs';
|
|
15
|
+
import { API_CONFIGS } from 'aril/boot/config/api';
|
|
16
|
+
import { LanguageCode, TR_TRANSLATIONS } from 'aril/boot/config/translate';
|
|
17
|
+
import { acceptLanguageInterceptor, HttpBackendService } from 'aril/http';
|
|
18
|
+
import { i18nModule, i18nFolderName } from 'aril/i18n';
|
|
19
|
+
import { authInterceptor, keycloakAuthInterceptor } from 'aril/keycloak';
|
|
20
|
+
import { provideHost, provideHostRouter, provideLocaleId } from 'aril/provider';
|
|
21
|
+
|
|
22
|
+
const getNgZone = () => {
|
|
23
|
+
if (globalThis.ngZone) {
|
|
24
|
+
return { provide: NgZone, useValue: globalThis.ngZone };
|
|
25
|
+
}
|
|
26
|
+
else
|
|
27
|
+
return [];
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
class FactoryClass {
|
|
31
|
+
}
|
|
32
|
+
var Apps;
|
|
33
|
+
(function (Apps) {
|
|
34
|
+
Apps["THOR"] = "thor";
|
|
35
|
+
Apps["CRM"] = "crm";
|
|
36
|
+
Apps["WDM"] = "wdm";
|
|
37
|
+
Apps["BILLING"] = "billing";
|
|
38
|
+
Apps["PAYMENT"] = "payment";
|
|
39
|
+
Apps["YEAP"] = "yeap";
|
|
40
|
+
Apps["MW"] = "mw";
|
|
41
|
+
Apps["LENA"] = "lena";
|
|
42
|
+
Apps["HES"] = "hes";
|
|
43
|
+
Apps["CTS"] = "cts";
|
|
44
|
+
Apps["SIS"] = "sis";
|
|
45
|
+
Apps["MNG"] = "mng";
|
|
46
|
+
Apps["MDM"] = "mdm";
|
|
47
|
+
Apps["STATE_MACHINE"] = "state-machine";
|
|
48
|
+
Apps["LGC"] = "lgc";
|
|
49
|
+
Apps["DMS"] = "dms";
|
|
50
|
+
})(Apps || (Apps = {}));
|
|
51
|
+
var AppsRoutes;
|
|
52
|
+
(function (AppsRoutes) {
|
|
53
|
+
AppsRoutes["MNG_BASE_URL"] = "mngBaseUrl";
|
|
54
|
+
})(AppsRoutes || (AppsRoutes = {}));
|
|
55
|
+
class ApiConfigsFactory {
|
|
56
|
+
constructor() {
|
|
57
|
+
this.api = '';
|
|
58
|
+
this.fromMail = '';
|
|
59
|
+
this.mwApi = '';
|
|
60
|
+
this.aiApi = '';
|
|
61
|
+
this.statusApi = '';
|
|
62
|
+
this.environment = '';
|
|
63
|
+
this.routes = {
|
|
64
|
+
mngBaseUrl: '',
|
|
65
|
+
};
|
|
66
|
+
this.prefixMap = {
|
|
67
|
+
[Apps.THOR]: '',
|
|
68
|
+
[Apps.CRM]: '',
|
|
69
|
+
[Apps.WDM]: '',
|
|
70
|
+
[Apps.BILLING]: '',
|
|
71
|
+
[Apps.PAYMENT]: '',
|
|
72
|
+
[Apps.YEAP]: '',
|
|
73
|
+
[Apps.MW]: '',
|
|
74
|
+
[Apps.LENA]: '',
|
|
75
|
+
[Apps.HES]: '',
|
|
76
|
+
[Apps.CTS]: '',
|
|
77
|
+
[Apps.SIS]: '',
|
|
78
|
+
[Apps.MNG]: '',
|
|
79
|
+
[Apps.STATE_MACHINE]: '',
|
|
80
|
+
[Apps.MDM]: '',
|
|
81
|
+
[Apps.LGC]: '',
|
|
82
|
+
[Apps.DMS]: ''
|
|
83
|
+
};
|
|
84
|
+
this.keycloak = {
|
|
85
|
+
url: '',
|
|
86
|
+
realm: '',
|
|
87
|
+
clientId: ''
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
const PLUGINS = new FactoryClass();
|
|
93
|
+
function loadPlugins() {
|
|
94
|
+
return () => {
|
|
95
|
+
try {
|
|
96
|
+
const pluginsData = globalThis.pluginJson;
|
|
97
|
+
Object.assign(PLUGINS, pluginsData);
|
|
98
|
+
}
|
|
99
|
+
catch (err) {
|
|
100
|
+
console.log('Error Plugins Loading', err);
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
async function bootPlugin(selector, component) {
|
|
105
|
+
if (customElements.get(selector))
|
|
106
|
+
return;
|
|
107
|
+
const config = {
|
|
108
|
+
providers: [
|
|
109
|
+
provideAnimations(),
|
|
110
|
+
provideHost(selector), // todo refactor
|
|
111
|
+
provideHostRouter(),
|
|
112
|
+
provideLocaleId(),
|
|
113
|
+
KeycloakBearerInterceptor,
|
|
114
|
+
provideHttpClient(withInterceptors([acceptLanguageInterceptor, authInterceptor, keycloakAuthInterceptor])),
|
|
115
|
+
importProvidersFrom(i18nModule, KeycloakAngularModule, ConfirmDialogModule, ConfirmPopupModule, DialogModule, MessagesModule, ToastModule),
|
|
116
|
+
getNgZone(),
|
|
117
|
+
MessageService,
|
|
118
|
+
ConfirmationService,
|
|
119
|
+
{
|
|
120
|
+
provide: APP_INITIALIZER,
|
|
121
|
+
useFactory: (httpBackend, translocoService, primeNgConfig) => {
|
|
122
|
+
return () => {
|
|
123
|
+
const activeLang = localStorage.getItem('lang') ?? LanguageCode.TR;
|
|
124
|
+
translocoService.setActiveLang(activeLang);
|
|
125
|
+
if (!activeLang?.length) {
|
|
126
|
+
console.warn('No language selected');
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
if (activeLang === LanguageCode.TR) {
|
|
130
|
+
primeNgConfig.setTranslation(TR_TRANSLATIONS);
|
|
131
|
+
}
|
|
132
|
+
const observable$ = httpBackend.httpClient
|
|
133
|
+
.get(isDevMode() ? './assets/local-configs/api.local.json' : './api.json')
|
|
134
|
+
.pipe(tap((configs) => {
|
|
135
|
+
Object.assign(API_CONFIGS, { ...configs });
|
|
136
|
+
}));
|
|
137
|
+
return firstValueFrom(observable$);
|
|
138
|
+
};
|
|
139
|
+
},
|
|
140
|
+
deps: [HttpBackendService, TranslocoService, PrimeNGConfig],
|
|
141
|
+
multi: true
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
provide: i18nFolderName,
|
|
145
|
+
useValue: 'host'
|
|
146
|
+
}
|
|
147
|
+
]
|
|
148
|
+
};
|
|
149
|
+
const appRef = await createApplication(config);
|
|
150
|
+
const plugin = createCustomElement(component, { injector: appRef.injector });
|
|
151
|
+
customElements.define(selector, plugin);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Generated bundle index. Do not edit.
|
|
156
|
+
*/
|
|
157
|
+
|
|
158
|
+
export { PLUGINS, bootPlugin, getNgZone, loadPlugins };
|
|
159
|
+
//# sourceMappingURL=aril-boot-config-plugins.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aril-boot-config-plugins.mjs","sources":["../../projects/aril/boot/config/plugins/src/getNgZone.ts","../../projects/aril/boot/config/plugins/src/interfaces.ts","../../projects/aril/boot/config/plugins/src/plugins.service.ts","../../projects/aril/boot/config/plugins/aril-boot-config-plugins.ts"],"sourcesContent":["import { NgZone } from '@angular/core';\r\n\r\nexport const getNgZone = () => {\r\n\tif ((<any>globalThis).ngZone) {\r\n\t\treturn { provide: NgZone, useValue: (<any>globalThis).ngZone };\r\n\t} else return [];\r\n};\r\n","import { LoadRemoteModuleScriptOptions } from '@angular-architects/module-federation';\r\n\r\ninterface PluginItem {\r\n\toptions: LoadRemoteModuleScriptOptions & { elementName: string };\r\n\tprops: { [key in string]: any };\r\n\tevents: { [key in string]: Function };\r\n}\r\n\r\nexport type PluginConfigs = { [key in string]: PluginItem };\r\n\r\nexport class FactoryClass {}\r\n\r\nenum Apps {\r\n\tTHOR = 'thor',\r\n\tCRM = 'crm',\r\n\tWDM = 'wdm',\r\n\tBILLING = 'billing',\r\n\tPAYMENT = 'payment',\r\n\tYEAP = 'yeap',\r\n\tMW = 'mw',\r\n\tLENA = 'lena',\r\n\tHES = 'hes',\r\n\tCTS = 'cts',\r\n\tSIS = 'sis',\r\n\tMNG = 'mng',\r\n\tMDM = 'mdm',\r\n\tSTATE_MACHINE = 'state-machine',\r\n\tLGC = 'lgc',\r\n\tDMS = 'dms'\r\n}\r\n\r\nexport enum AppsRoutes {\r\n\tMNG_BASE_URL = 'mngBaseUrl',\r\n}\r\n\r\nexport interface KeycloakConfig {\r\n\turl: string;\r\n\trealm: string;\r\n\tclientId: string;\r\n}\r\n\r\nexport class ApiConfigsFactory {\r\n\tapi: string = '';\r\n\tfromMail: string = '';\r\n\tmwApi: string = '';\r\n\taiApi: string='';\r\n\tstatusApi: string='';\r\n\tenvironment: string = '';\r\n\troutes: Record<AppsRoutes, string> = {\r\n\t\tmngBaseUrl: '',\r\n\t};\r\n\tprefixMap: Record<Apps,string>= {\r\n\t\t[Apps.THOR]: '',\r\n\t\t[Apps.CRM]: '',\r\n\t\t[Apps.WDM]: '',\r\n\t\t[Apps.BILLING]: '',\r\n\t\t[Apps.PAYMENT]: '',\r\n\t\t[Apps.YEAP]: '',\r\n\t\t[Apps.MW]: '',\r\n\t\t[Apps.LENA]: '',\r\n\t\t[Apps.HES]: '',\r\n\t\t[Apps.CTS]: '',\r\n\t\t[Apps.SIS]: '',\r\n\t\t[Apps.MNG]: '',\r\n\t\t[Apps.STATE_MACHINE]: '',\r\n\t\t[Apps.MDM]:'',\r\n\t\t[Apps.LGC]: '',\r\n\t\t[Apps.DMS]: ''\r\n\t};\r\n\tkeycloak: KeycloakConfig = {\r\n\t\turl: '',\r\n\t\trealm: '',\r\n\t\tclientId: ''\r\n\t};\r\n}\r\n","import { HttpClient, provideHttpClient, withInterceptors } from '@angular/common/http';\r\nimport { APP_INITIALIZER, ApplicationConfig, Type, importProvidersFrom, isDevMode } from '@angular/core';\r\nimport { createCustomElement } from '@angular/elements';\r\nimport { createApplication } from '@angular/platform-browser';\r\nimport { provideAnimations } from '@angular/platform-browser/animations';\r\n\r\nimport { ConfirmationService, MessageService, PrimeNGConfig } from 'primeng/api';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { ConfirmPopupModule } from 'primeng/confirmpopup';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { MessagesModule } from 'primeng/messages';\r\nimport { ToastModule } from 'primeng/toast';\r\n\r\nimport { TranslocoService } from '@ngneat/transloco';\r\nimport { KeycloakAngularModule, KeycloakBearerInterceptor } from 'keycloak-angular';\r\nimport { firstValueFrom, tap } from 'rxjs';\r\n\r\nimport { API_CONFIGS } from 'aril/boot/config/api';\r\nimport { LanguageCode, TR_TRANSLATIONS } from 'aril/boot/config/translate';\r\nimport { HttpBackendService, acceptLanguageInterceptor } from 'aril/http';\r\nimport { i18nFolderName, i18nModule } from 'aril/i18n';\r\nimport { authInterceptor, keycloakAuthInterceptor } from 'aril/keycloak';\r\nimport { provideHost, provideHostRouter, provideLocaleId } from 'aril/provider';\r\n\r\nimport { getNgZone } from './getNgZone';\r\nimport { ApiConfigsFactory, FactoryClass, PluginConfigs } from './interfaces';\r\n\r\nexport const PLUGINS = new FactoryClass() as FactoryClass & PluginConfigs;\r\n\r\nexport function loadPlugins(): () => void {\r\n\treturn () => {\r\n\t\ttry {\r\n\t\t\tconst pluginsData = (<any>globalThis).pluginJson;\r\n\t\t\tObject.assign(PLUGINS, pluginsData);\r\n\t\t} catch (err) {\r\n\t\t\tconsole.log('Error Plugins Loading', err);\r\n\t\t}\r\n\t};\r\n}\r\n\r\nexport async function bootPlugin(selector: string, component: Type<any>) {\r\n\tif (customElements.get(selector)) return;\r\n\r\n\tconst config: ApplicationConfig = {\r\n\t\tproviders: [\r\n\t\t\tprovideAnimations(),\r\n\t\t\tprovideHost(selector as any), // todo refactor\r\n\t\t\tprovideHostRouter(),\r\n\t\t\tprovideLocaleId(),\r\n\t\t\tKeycloakBearerInterceptor,\r\n\t\t\tprovideHttpClient(withInterceptors([acceptLanguageInterceptor, authInterceptor, keycloakAuthInterceptor])),\r\n\t\t\timportProvidersFrom(\r\n\t\t\t\ti18nModule,\r\n\t\t\t\tKeycloakAngularModule,\r\n\t\t\t\tConfirmDialogModule,\r\n\t\t\t\tConfirmPopupModule,\r\n\t\t\t\tDialogModule,\r\n\t\t\t\tMessagesModule,\r\n\t\t\t\tToastModule\r\n\t\t\t),\r\n\t\t\tgetNgZone(),\r\n\t\t\tMessageService,\r\n\t\t\tConfirmationService,\r\n\t\t\t{\r\n\t\t\t\tprovide: APP_INITIALIZER,\r\n\t\t\t\tuseFactory: (\r\n\t\t\t\t\thttpBackend: { httpClient: HttpClient },\r\n\t\t\t\t\ttranslocoService: TranslocoService,\r\n\t\t\t\t\tprimeNgConfig: PrimeNGConfig\r\n\t\t\t\t) => {\r\n\t\t\t\t\treturn () => {\r\n\t\t\t\t\t\tconst activeLang: LanguageCode = (localStorage.getItem('lang') as LanguageCode) ?? LanguageCode.TR;\r\n\r\n\t\t\t\t\t\ttranslocoService.setActiveLang(activeLang);\r\n\r\n\t\t\t\t\t\tif (!activeLang?.length) {\r\n\t\t\t\t\t\t\tconsole.warn('No language selected');\r\n\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tif (activeLang === LanguageCode.TR) {\r\n\t\t\t\t\t\t\tprimeNgConfig.setTranslation(TR_TRANSLATIONS);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tconst observable$ = httpBackend.httpClient\r\n\t\t\t\t\t\t\t.get<ApiConfigsFactory>(isDevMode() ? './assets/local-configs/api.local.json' : './api.json')\r\n\t\t\t\t\t\t\t.pipe(\r\n\t\t\t\t\t\t\t\ttap((configs) => {\r\n\t\t\t\t\t\t\t\t\tObject.assign(API_CONFIGS, { ...configs });\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t);\r\n\r\n\t\t\t\t\t\treturn firstValueFrom(observable$);\r\n\t\t\t\t\t};\r\n\t\t\t\t},\r\n\t\t\t\tdeps: [HttpBackendService, TranslocoService, PrimeNGConfig],\r\n\t\t\t\tmulti: true\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tprovide: i18nFolderName,\r\n\t\t\t\tuseValue: 'host'\r\n\t\t\t}\r\n\t\t]\r\n\t};\r\n\r\n\tconst appRef = await createApplication(config);\r\n\tconst plugin = createCustomElement(component, { injector: appRef.injector });\r\n\r\n\tcustomElements.define(selector, plugin);\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAEO,MAAM,SAAS,GAAG,MAAK;AAC7B,IAAA,IAAU,UAAW,CAAC,MAAM,EAAE;QAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAQ,UAAW,CAAC,MAAM,EAAE,CAAC;K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