aril 1.1.73 → 1.1.75
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 +69 -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 +6 -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/identity.validator.mjs +91 -0
- package/esm2022/util/lib/src/validators/index.mjs +6 -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 +31 -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 +382 -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 +413 -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/index.d.ts +5 -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/identity.validator.d.ts +33 -0
- package/util/lib/src/validators/index.d.ts +5 -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 +12 -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/index.ts +0 -4
- 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/index.ts +0 -4
- 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/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,437 @@
|
|
|
1
|
+
import * as i1 from '@angular/common/http';
|
|
2
|
+
import { HttpClient, HttpParams } from '@angular/common/http';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { Injectable, inject, Injector, runInInjectionContext } from '@angular/core';
|
|
5
|
+
import { MessageService } from 'primeng/api';
|
|
6
|
+
import { TranslocoService } from '@ngneat/transloco';
|
|
7
|
+
import { KeycloakService } from 'keycloak-angular';
|
|
8
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
9
|
+
import { Observable, of } from 'rxjs';
|
|
10
|
+
import { map, tap, catchError } from 'rxjs/operators';
|
|
11
|
+
import { API_CONFIGS } from 'aril/boot/config/api';
|
|
12
|
+
|
|
13
|
+
var HTTPMethods;
|
|
14
|
+
(function (HTTPMethods) {
|
|
15
|
+
HTTPMethods["GET"] = "GET";
|
|
16
|
+
HTTPMethods["GETBYPARAMS"] = "GETBYPARAMS";
|
|
17
|
+
HTTPMethods["GETBYDYNAMICPATH"] = "GETBYDYNAMICPATH";
|
|
18
|
+
HTTPMethods["GETBYPARAMSANDDYNAMICPATH"] = "GETBYPARAMSANDDYNAMICPATH";
|
|
19
|
+
HTTPMethods["POST"] = "POST";
|
|
20
|
+
HTTPMethods["POSTBYPARAMS"] = "POSTBYPARAMS";
|
|
21
|
+
HTTPMethods["POSTBYDYNAMICPATH"] = "POSTBYDYNAMICPATH";
|
|
22
|
+
HTTPMethods["PUT"] = "PUT";
|
|
23
|
+
HTTPMethods["PUTBYPARAMS"] = "PUTBYPARAMS";
|
|
24
|
+
HTTPMethods["PUTBYDYNAMICPATH"] = "PUTBYDYNAMICPATH";
|
|
25
|
+
HTTPMethods["DELETE"] = "DELETE";
|
|
26
|
+
HTTPMethods["DELETEBYPARAMS"] = "DELETEBYPARAMS";
|
|
27
|
+
HTTPMethods["DELETEBYDYNAMICPATH"] = "DELETEBYDYNAMICPATH";
|
|
28
|
+
})(HTTPMethods || (HTTPMethods = {}));
|
|
29
|
+
var ProxyTypes;
|
|
30
|
+
(function (ProxyTypes) {
|
|
31
|
+
ProxyTypes[ProxyTypes["Native"] = 0] = "Native";
|
|
32
|
+
ProxyTypes[ProxyTypes["ServerSide"] = 1] = "ServerSide";
|
|
33
|
+
ProxyTypes[ProxyTypes["ClientSide"] = 2] = "ClientSide";
|
|
34
|
+
})(ProxyTypes || (ProxyTypes = {}));
|
|
35
|
+
var HTTPStatusCodes;
|
|
36
|
+
(function (HTTPStatusCodes) {
|
|
37
|
+
HTTPStatusCodes[HTTPStatusCodes["OK"] = 200] = "OK";
|
|
38
|
+
HTTPStatusCodes[HTTPStatusCodes["CREATED"] = 201] = "CREATED";
|
|
39
|
+
HTTPStatusCodes[HTTPStatusCodes["ACCEPTED"] = 202] = "ACCEPTED";
|
|
40
|
+
HTTPStatusCodes[HTTPStatusCodes["NO_CONTENT"] = 204] = "NO_CONTENT";
|
|
41
|
+
HTTPStatusCodes[HTTPStatusCodes["BAD_REQUEST"] = 400] = "BAD_REQUEST";
|
|
42
|
+
HTTPStatusCodes[HTTPStatusCodes["UNAUTHORIZED"] = 401] = "UNAUTHORIZED";
|
|
43
|
+
HTTPStatusCodes[HTTPStatusCodes["FORBIDDEN"] = 403] = "FORBIDDEN";
|
|
44
|
+
HTTPStatusCodes[HTTPStatusCodes["NOT_FOUND"] = 404] = "NOT_FOUND";
|
|
45
|
+
HTTPStatusCodes[HTTPStatusCodes["INTERNAL_SERVER_ERROR"] = 500] = "INTERNAL_SERVER_ERROR";
|
|
46
|
+
})(HTTPStatusCodes || (HTTPStatusCodes = {}));
|
|
47
|
+
|
|
48
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
49
|
+
class ErrorResponse {
|
|
50
|
+
constructor(err) {
|
|
51
|
+
this.error = err;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
class ServiceResponse extends ErrorResponse {
|
|
55
|
+
constructor(request, response, proxy, statusCode) {
|
|
56
|
+
super(undefined);
|
|
57
|
+
this.request = request;
|
|
58
|
+
this.response = response;
|
|
59
|
+
this.proxy = proxy;
|
|
60
|
+
this.statusCode = statusCode;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// WithoutInterceptorHttpClient
|
|
65
|
+
class HttpBackendService {
|
|
66
|
+
constructor(handler) {
|
|
67
|
+
this.httpClient = new HttpClient(handler);
|
|
68
|
+
}
|
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: HttpBackendService, deps: [{ token: i1.HttpBackend }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
70
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: HttpBackendService, providedIn: 'root' }); }
|
|
71
|
+
}
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: HttpBackendService, decorators: [{
|
|
73
|
+
type: Injectable,
|
|
74
|
+
args: [{ providedIn: 'root' }]
|
|
75
|
+
}], ctorParameters: () => [{ type: i1.HttpBackend }] });
|
|
76
|
+
|
|
77
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
78
|
+
class RestClient {
|
|
79
|
+
constructor() {
|
|
80
|
+
this.httpClient = inject(HttpClient);
|
|
81
|
+
this.injector = inject(Injector);
|
|
82
|
+
this.messageService = inject(MessageService);
|
|
83
|
+
this.translocoService = inject(TranslocoService);
|
|
84
|
+
this.keycloak = inject(KeycloakService);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
function getRequest(httpMethod, args) {
|
|
89
|
+
if (!args.length)
|
|
90
|
+
return undefined;
|
|
91
|
+
switch (httpMethod) {
|
|
92
|
+
case HTTPMethods.PUT:
|
|
93
|
+
return args[1];
|
|
94
|
+
case HTTPMethods.POSTBYPARAMS:
|
|
95
|
+
case HTTPMethods.GETBYPARAMS:
|
|
96
|
+
case HTTPMethods.GETBYPARAMSANDDYNAMICPATH:
|
|
97
|
+
case HTTPMethods.DELETEBYPARAMS:
|
|
98
|
+
const dto = httpMethod === HTTPMethods.POSTBYPARAMS ? args[0].queryParams : args[0];
|
|
99
|
+
let queryParams = new HttpParams();
|
|
100
|
+
for (const [key, value] of Object.entries(dto)) {
|
|
101
|
+
queryParams = queryParams.append(key, value);
|
|
102
|
+
}
|
|
103
|
+
return queryParams;
|
|
104
|
+
default:
|
|
105
|
+
return args[0];
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
const callState = (states, serviceName) => {
|
|
110
|
+
states[serviceName] = {
|
|
111
|
+
serviceCalled: true,
|
|
112
|
+
waitingForResponse: true,
|
|
113
|
+
responseIsRecieved: false,
|
|
114
|
+
serviceCallFailed: false
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
const successState = (states, serviceName, translocoService, messageService, message, response) => {
|
|
118
|
+
states[serviceName] = {
|
|
119
|
+
serviceCalled: true,
|
|
120
|
+
waitingForResponse: false,
|
|
121
|
+
responseIsRecieved: true,
|
|
122
|
+
serviceCallFailed: false
|
|
123
|
+
};
|
|
124
|
+
if (message?.success) {
|
|
125
|
+
messageService.add({
|
|
126
|
+
key: 'toast-root',
|
|
127
|
+
severity: 'success',
|
|
128
|
+
summary: getTranslatedMessage(message.success, translocoService, response)
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
const errorState = async (states, serviceName, error, translocoService, messageService, keycloakService, message) => {
|
|
133
|
+
states[serviceName] = {
|
|
134
|
+
serviceCalled: true,
|
|
135
|
+
waitingForResponse: false,
|
|
136
|
+
responseIsRecieved: true,
|
|
137
|
+
serviceCallFailed: true
|
|
138
|
+
};
|
|
139
|
+
let httpError;
|
|
140
|
+
switch (error.status) {
|
|
141
|
+
case 400:
|
|
142
|
+
httpError = 'Hatalı İstek';
|
|
143
|
+
break;
|
|
144
|
+
case 401:
|
|
145
|
+
httpError = 'Yetkisiz Erişim';
|
|
146
|
+
await keycloakService.login({ redirectUri: window.location.href });
|
|
147
|
+
break;
|
|
148
|
+
case 403:
|
|
149
|
+
httpError = 'Erişim Engellendi';
|
|
150
|
+
if (keycloakService.isTokenExpired())
|
|
151
|
+
await keycloakService.login({ redirectUri: window.location.href });
|
|
152
|
+
break;
|
|
153
|
+
case 404:
|
|
154
|
+
httpError = 'Kaynak Bulunamadı';
|
|
155
|
+
break;
|
|
156
|
+
case 405:
|
|
157
|
+
httpError = 'İzin Verilmeyen Metod';
|
|
158
|
+
break;
|
|
159
|
+
case 406:
|
|
160
|
+
httpError = 'Kabul Edilemez Başlık';
|
|
161
|
+
break;
|
|
162
|
+
case 408:
|
|
163
|
+
httpError = 'Zaman Aşımı';
|
|
164
|
+
break;
|
|
165
|
+
case 409:
|
|
166
|
+
httpError = 'Çakışma';
|
|
167
|
+
break;
|
|
168
|
+
case 500:
|
|
169
|
+
httpError = 'Sunucu Hatası';
|
|
170
|
+
break;
|
|
171
|
+
case 501:
|
|
172
|
+
httpError = 'Sunucu Yapılandırma Hatası';
|
|
173
|
+
break;
|
|
174
|
+
case 502:
|
|
175
|
+
httpError = 'Geçersiz Ağ Geçidi';
|
|
176
|
+
break;
|
|
177
|
+
case 503:
|
|
178
|
+
httpError = 'Sunucu Hizmet Vermiyor';
|
|
179
|
+
break;
|
|
180
|
+
case 504:
|
|
181
|
+
httpError = 'Ağ Geçidi Zaman Aşımı';
|
|
182
|
+
break;
|
|
183
|
+
case 505:
|
|
184
|
+
httpError = 'HTTP Protokol Desteklenmiyor';
|
|
185
|
+
break;
|
|
186
|
+
case 511:
|
|
187
|
+
httpError = 'Ağ Kimlik Doğrulaması Gerekli';
|
|
188
|
+
break;
|
|
189
|
+
case 599:
|
|
190
|
+
httpError = 'Ağ Bağlantısı Zaman Aşımı';
|
|
191
|
+
break;
|
|
192
|
+
default:
|
|
193
|
+
httpError = error?.error?.message;
|
|
194
|
+
break;
|
|
195
|
+
}
|
|
196
|
+
if (message?.ignoredStatusCodes?.includes(error.status))
|
|
197
|
+
return;
|
|
198
|
+
if (error.error?.details?.length && Array.isArray(error.error.details)) {
|
|
199
|
+
error.error.details.forEach((detail) => {
|
|
200
|
+
const key = 'fields.' + detail.fieldName;
|
|
201
|
+
const translatedField = translocoService.translate(key);
|
|
202
|
+
const text = translatedField === key ? detail.fieldName : translatedField;
|
|
203
|
+
const detailText = (detail.fieldName ? text + ' - ' : '') + detail.reason;
|
|
204
|
+
messageService.add({
|
|
205
|
+
key: 'toast-root',
|
|
206
|
+
severity: 'error',
|
|
207
|
+
summary: error?.error?.message,
|
|
208
|
+
detail: detailText
|
|
209
|
+
});
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
else {
|
|
213
|
+
messageService.add({
|
|
214
|
+
key: 'toast-root',
|
|
215
|
+
severity: 'error',
|
|
216
|
+
summary: httpError,
|
|
217
|
+
detail: error?.error?.message
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
if (message?.error) {
|
|
221
|
+
messageService.add({
|
|
222
|
+
key: 'toast-root',
|
|
223
|
+
severity: 'error',
|
|
224
|
+
summary: error?.error?.message || getTranslatedMessage(message.error, translocoService)
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
const warningState = (states, serviceName, response, messageService) => {
|
|
229
|
+
states[serviceName] = {
|
|
230
|
+
serviceCalled: true,
|
|
231
|
+
waitingForResponse: false,
|
|
232
|
+
responseIsRecieved: true,
|
|
233
|
+
serviceCallFailed: true
|
|
234
|
+
};
|
|
235
|
+
if (response?.details && Array.isArray(response.details) && response.details.length > 0) {
|
|
236
|
+
response.details.forEach((detail) => {
|
|
237
|
+
messageService.add({
|
|
238
|
+
key: 'toast-root',
|
|
239
|
+
severity: 'warn',
|
|
240
|
+
summary: response?.message,
|
|
241
|
+
detail: (detail.fieldName !== null ? detail.fieldName + ' - ' : '') + detail.reason
|
|
242
|
+
});
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
else {
|
|
246
|
+
messageService.add({
|
|
247
|
+
key: 'toast-root',
|
|
248
|
+
severity: 'warn',
|
|
249
|
+
detail: response?.message
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
};
|
|
253
|
+
const getTranslatedMessage = (messageCode, translocoService, response) => {
|
|
254
|
+
const translateObject = translocoService.getTranslation().get(translocoService.getActiveLang());
|
|
255
|
+
let translatedMessage = translateObject?.[messageCode] ?? messageCode;
|
|
256
|
+
const paramStartSymbol = '{{';
|
|
257
|
+
const paramEndSymbol = '}}';
|
|
258
|
+
if (response && translatedMessage.includes(paramStartSymbol) && translatedMessage.includes(paramEndSymbol)) {
|
|
259
|
+
do {
|
|
260
|
+
let paramStartIndex = translatedMessage.indexOf(paramStartSymbol);
|
|
261
|
+
let paramEndIndex = translatedMessage.indexOf(paramEndSymbol);
|
|
262
|
+
let paramKey = translatedMessage.slice(paramStartIndex + paramStartSymbol.length, paramEndIndex);
|
|
263
|
+
// Splitting the key to get nested object values
|
|
264
|
+
let paramKeyList = paramKey.split('.');
|
|
265
|
+
let paramValue;
|
|
266
|
+
for (let key of paramKeyList) {
|
|
267
|
+
paramValue = paramValue ? paramValue[key] : response[key];
|
|
268
|
+
}
|
|
269
|
+
let replacePattern = `${paramStartSymbol}${paramKey}${paramEndSymbol}`;
|
|
270
|
+
translatedMessage = translatedMessage.replace(replacePattern, paramValue);
|
|
271
|
+
} while (translatedMessage.includes(paramStartSymbol));
|
|
272
|
+
}
|
|
273
|
+
return translatedMessage;
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
function ServiceCall(httpMethod, proxy, serviceURL, message, remoteAPI, isMockAPI = false) {
|
|
277
|
+
return function (serviceClass, serviceName, descriptor) {
|
|
278
|
+
// const originalFunction = descriptor.value;
|
|
279
|
+
descriptor.value = function (...args) {
|
|
280
|
+
return runInInjectionContext(this.injector, () => {
|
|
281
|
+
const httpClient = this.httpClient;
|
|
282
|
+
let api = '';
|
|
283
|
+
if (isMockAPI)
|
|
284
|
+
api = remoteAPI;
|
|
285
|
+
else if (remoteAPI) {
|
|
286
|
+
const url = new URL(API_CONFIGS.api);
|
|
287
|
+
api = url.origin + '/' + API_CONFIGS.prefixMap[remoteAPI];
|
|
288
|
+
}
|
|
289
|
+
else
|
|
290
|
+
api = API_CONFIGS.api;
|
|
291
|
+
const endPoint = api + '/' + serviceURL;
|
|
292
|
+
const request = getRequest(httpMethod, args);
|
|
293
|
+
const states = this.states;
|
|
294
|
+
callState(states, serviceName);
|
|
295
|
+
let observable = new Observable();
|
|
296
|
+
let getDynamicServiceUrl;
|
|
297
|
+
switch (httpMethod) {
|
|
298
|
+
case HTTPMethods.GET:
|
|
299
|
+
let getReq = args.length ? '/' + args[0] : '';
|
|
300
|
+
observable = httpClient.get(endPoint + getReq, { observe: 'response', responseType: 'json' });
|
|
301
|
+
break;
|
|
302
|
+
case HTTPMethods.GETBYPARAMS:
|
|
303
|
+
observable = httpClient.get(endPoint, { params: request, observe: 'response', responseType: 'json' });
|
|
304
|
+
break;
|
|
305
|
+
case HTTPMethods.GETBYDYNAMICPATH:
|
|
306
|
+
getDynamicServiceUrl = serviceURL;
|
|
307
|
+
args.forEach((arg) => {
|
|
308
|
+
getDynamicServiceUrl = getDynamicServiceUrl.replace('$', arg);
|
|
309
|
+
});
|
|
310
|
+
observable = httpClient.get(api + '/' + getDynamicServiceUrl, { observe: 'response', responseType: 'json' });
|
|
311
|
+
break;
|
|
312
|
+
case HTTPMethods.GETBYPARAMSANDDYNAMICPATH:
|
|
313
|
+
let getParams = {};
|
|
314
|
+
let getDynamicServiceUrlWithParams = serviceURL;
|
|
315
|
+
args.forEach((arg) => {
|
|
316
|
+
if (typeof arg === 'object')
|
|
317
|
+
getParams = arg;
|
|
318
|
+
else
|
|
319
|
+
getDynamicServiceUrlWithParams = getDynamicServiceUrlWithParams.replace('$', arg);
|
|
320
|
+
});
|
|
321
|
+
observable = httpClient.get(api + '/' + getDynamicServiceUrlWithParams, {
|
|
322
|
+
params: getParams,
|
|
323
|
+
observe: 'response',
|
|
324
|
+
responseType: 'json'
|
|
325
|
+
});
|
|
326
|
+
break;
|
|
327
|
+
case HTTPMethods.POST:
|
|
328
|
+
observable = httpClient.post(endPoint, args[0], { observe: 'response', responseType: 'json' });
|
|
329
|
+
break;
|
|
330
|
+
case HTTPMethods.POSTBYPARAMS:
|
|
331
|
+
observable = httpClient.post(endPoint, args[0].body, { params: request, observe: 'response', responseType: 'json' });
|
|
332
|
+
break;
|
|
333
|
+
case HTTPMethods.POSTBYDYNAMICPATH:
|
|
334
|
+
let body = {};
|
|
335
|
+
let dynamicServiceUrl = serviceURL;
|
|
336
|
+
args.forEach((arg) => {
|
|
337
|
+
if (typeof arg === 'object')
|
|
338
|
+
body = arg;
|
|
339
|
+
else
|
|
340
|
+
dynamicServiceUrl = dynamicServiceUrl.replace('$', arg);
|
|
341
|
+
});
|
|
342
|
+
observable = httpClient.post(api + '/' + dynamicServiceUrl, body, { observe: 'response', responseType: 'json' });
|
|
343
|
+
break;
|
|
344
|
+
case HTTPMethods.PUT:
|
|
345
|
+
observable = httpClient.put(endPoint + '/' + args[0], request, { observe: 'response', responseType: 'json' });
|
|
346
|
+
break;
|
|
347
|
+
case HTTPMethods.PUTBYPARAMS:
|
|
348
|
+
observable = httpClient.put(endPoint, args[0], { observe: 'response', responseType: 'json' });
|
|
349
|
+
break;
|
|
350
|
+
case HTTPMethods.PUTBYDYNAMICPATH:
|
|
351
|
+
let putBody = {};
|
|
352
|
+
let putDynamicServiceUrl = serviceURL;
|
|
353
|
+
args.forEach((arg) => {
|
|
354
|
+
if (typeof arg === 'object')
|
|
355
|
+
putBody = arg;
|
|
356
|
+
else
|
|
357
|
+
putDynamicServiceUrl = putDynamicServiceUrl.replace('$', arg);
|
|
358
|
+
});
|
|
359
|
+
observable = httpClient.put(api + '/' + putDynamicServiceUrl, putBody, { observe: 'response', responseType: 'json' });
|
|
360
|
+
break;
|
|
361
|
+
case HTTPMethods.DELETE:
|
|
362
|
+
observable = httpClient.delete(endPoint + '/' + args[0], { observe: 'response', responseType: 'json' });
|
|
363
|
+
break;
|
|
364
|
+
case HTTPMethods.DELETEBYPARAMS:
|
|
365
|
+
observable = httpClient.delete(endPoint, { params: request, observe: 'response', responseType: 'json' });
|
|
366
|
+
break;
|
|
367
|
+
case HTTPMethods.DELETEBYDYNAMICPATH:
|
|
368
|
+
let deleteParams = {};
|
|
369
|
+
let deleteDynamicServiceUrl = serviceURL;
|
|
370
|
+
args.forEach((arg) => {
|
|
371
|
+
if (typeof arg === 'object')
|
|
372
|
+
deleteParams = arg;
|
|
373
|
+
else
|
|
374
|
+
deleteDynamicServiceUrl = deleteDynamicServiceUrl.replace('$', arg);
|
|
375
|
+
});
|
|
376
|
+
observable = httpClient.delete(api + '/' + deleteDynamicServiceUrl, {
|
|
377
|
+
params: deleteParams,
|
|
378
|
+
observe: 'response',
|
|
379
|
+
responseType: 'json'
|
|
380
|
+
});
|
|
381
|
+
}
|
|
382
|
+
observable = observable.pipe(map((response) => new ServiceResponse(request, response?.body, proxy, response?.status)), tap((serviceRes) => {
|
|
383
|
+
if (serviceRes?.statusCode === HTTPStatusCodes.NO_CONTENT) {
|
|
384
|
+
this.messageService.add({
|
|
385
|
+
key: 'toast-root',
|
|
386
|
+
severity: 'success',
|
|
387
|
+
summary: this.translocoService.translate('messages.successMessageHeader'),
|
|
388
|
+
detail: this.translocoService.translate('messages.successMessage')
|
|
389
|
+
});
|
|
390
|
+
}
|
|
391
|
+
else if (serviceRes.response.type === 'ValidationWarningException') {
|
|
392
|
+
warningState(states, serviceName, serviceRes.response, this.messageService);
|
|
393
|
+
}
|
|
394
|
+
else {
|
|
395
|
+
successState(states, serviceName, this.translocoService, this.messageService, message, serviceRes);
|
|
396
|
+
}
|
|
397
|
+
}), catchError((error) => {
|
|
398
|
+
errorState(states, serviceName, error, this.translocoService, this.messageService, this.keycloak, message);
|
|
399
|
+
return of(new ErrorResponse(error));
|
|
400
|
+
}), takeUntilDestroyed());
|
|
401
|
+
return observable;
|
|
402
|
+
});
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
function ServiceCallMock(httpMethod, proxy, serviceURL, mockAPI, message) {
|
|
408
|
+
// return ServiceCall(httpMethod, proxy, serviceURL, message, mockAPI, true);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
const DEFAULT_LANGUAGE = 'tr';
|
|
412
|
+
const STORAGE_KEY = 'lang';
|
|
413
|
+
const resolveLanguage = (translocoService) => {
|
|
414
|
+
return (translocoService?.getActiveLang?.() ||
|
|
415
|
+
localStorage.getItem(STORAGE_KEY) ||
|
|
416
|
+
translocoService?.getDefaultLang?.() ||
|
|
417
|
+
DEFAULT_LANGUAGE);
|
|
418
|
+
};
|
|
419
|
+
const acceptLanguageInterceptor = (req, next) => {
|
|
420
|
+
const translocoService = inject(TranslocoService, { optional: true }) ?? null;
|
|
421
|
+
const language = resolveLanguage(translocoService);
|
|
422
|
+
const updatedReq = req.clone({
|
|
423
|
+
setHeaders: {
|
|
424
|
+
'Accept-Language': language
|
|
425
|
+
}
|
|
426
|
+
});
|
|
427
|
+
return next(updatedReq);
|
|
428
|
+
};
|
|
429
|
+
|
|
430
|
+
/* lib */
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* Generated bundle index. Do not edit.
|
|
434
|
+
*/
|
|
435
|
+
|
|
436
|
+
export { ErrorResponse, HTTPMethods, HTTPStatusCodes, HttpBackendService, ProxyTypes, RestClient, ServiceCall, ServiceCallMock, ServiceResponse, acceptLanguageInterceptor, callState, errorState, successState, warningState };
|
|
437
|
+
//# sourceMappingURL=aril-http.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aril-http.mjs","sources":["../../projects/aril/http/lib/enums.ts","../../projects/aril/http/lib/interfaces.ts","../../projects/aril/http/src/httpBackend.ts","../../projects/aril/http/src/httpClient.ts","../../projects/aril/http/src/serviceRequest.ts","../../projects/aril/http/src/serviceStateMethods.ts","../../projects/aril/http/src/serviceBase.ts","../../projects/aril/http/src/serviceMockBase.ts","../../projects/aril/http/src/interceptor/accept-language.interceptor.ts","../../projects/aril/http/index.ts","../../projects/aril/http/aril-http.ts"],"sourcesContent":["export enum HTTPMethods {\r\n\tGET = 'GET',\r\n\tGETBYPARAMS = 'GETBYPARAMS',\r\n\tGETBYDYNAMICPATH = 'GETBYDYNAMICPATH',\r\n\tGETBYPARAMSANDDYNAMICPATH = 'GETBYPARAMSANDDYNAMICPATH',\r\n\tPOST = 'POST',\r\n\tPOSTBYPARAMS = 'POSTBYPARAMS',\r\n\tPOSTBYDYNAMICPATH = 'POSTBYDYNAMICPATH',\r\n\tPUT = 'PUT',\r\n\tPUTBYPARAMS = 'PUTBYPARAMS',\r\n\tPUTBYDYNAMICPATH = 'PUTBYDYNAMICPATH',\r\n\tDELETE = 'DELETE',\r\n\tDELETEBYPARAMS = 'DELETEBYPARAMS',\r\n\tDELETEBYDYNAMICPATH = 'DELETEBYDYNAMICPATH'\r\n}\r\nexport enum ProxyTypes {\r\n\tNative,\r\n\tServerSide,\r\n\tClientSide\r\n}\r\nexport enum HTTPStatusCodes {\r\n\tOK = 200,\r\n\tCREATED = 201,\r\n\tACCEPTED = 202,\r\n\tNO_CONTENT = 204,\r\n\tBAD_REQUEST = 400,\r\n\tUNAUTHORIZED = 401,\r\n\tFORBIDDEN = 403,\r\n\tNOT_FOUND = 404,\r\n\tINTERNAL_SERVER_ERROR = 500\r\n}\r\n","/* eslint-disable @typescript-eslint/no-explicit-any */\r\n\r\n/* eslint-disable @typescript-eslint/ban-types */\r\nimport { HttpErrorResponse } from '@angular/common/http';\r\n\r\nimport { ProxyTypes } from './enums';\r\n\r\nexport interface ServiceCallStates {\r\n\tserviceCalled: boolean;\r\n\twaitingForResponse: boolean;\r\n\tresponseIsRecieved: boolean;\r\n\tserviceCallFailed: boolean;\r\n}\r\n\r\nexport type ServiceCallStateMap<T> = {\r\n\t[K in keyof T]?: T[K] extends Function ? ServiceCallStates : never;\r\n};\r\n\r\nexport class ErrorResponse {\r\n\terror: HttpErrorResponse | undefined;\r\n\r\n\tconstructor(err: HttpErrorResponse | undefined) {\r\n\t\tthis.error = err;\r\n\t}\r\n}\r\n\r\nexport class ServiceResponse<T> extends ErrorResponse {\r\n\trequest: any;\r\n\tresponse: T;\r\n\tproxy: ProxyTypes;\r\n\tstatusCode?: number;\r\n\r\n\tconstructor(request: any, response: T, proxy: ProxyTypes, statusCode?: number) {\r\n\t\tsuper(undefined);\r\n\t\tthis.request = request;\r\n\t\tthis.response = response;\r\n\t\tthis.proxy = proxy;\r\n\t\tthis.statusCode = statusCode;\r\n\t}\r\n}\r\n\r\nexport interface ErrorDetail {\r\n\tfieldName: string;\r\n\treason: string;\r\n\tdescription: string;\r\n}\r\n","import { HttpBackend, HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\n\r\n// WithoutInterceptorHttpClient\r\n@Injectable({ providedIn: 'root' })\r\nexport class HttpBackendService {\r\n\tpublic httpClient: HttpClient;\r\n\r\n\tconstructor(handler: HttpBackend) {\r\n\t\tthis.httpClient = new HttpClient(handler);\r\n\t}\r\n}\r\n","/* eslint-disable @typescript-eslint/no-explicit-any */\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Injector, inject } from '@angular/core';\r\n\r\nimport { MessageService } from 'primeng/api';\r\n\r\nimport { TranslocoService } from '@ngneat/transloco';\r\nimport { KeycloakService } from 'keycloak-angular';\r\n\r\nimport { ServiceCallStateMap } from '../lib/interfaces';\r\n\r\nexport abstract class RestClient {\r\n\tprivate readonly httpClient = inject(HttpClient);\r\n\tprivate readonly injector = inject(Injector);\r\n\tprivate readonly messageService = inject(MessageService);\r\n\tprivate readonly translocoService = inject(TranslocoService);\r\n\tprivate readonly keycloak = inject(KeycloakService);\r\n\r\n\tabstract states: ServiceCallStateMap<any>;\r\n}\r\n","import { HttpParams } from '@angular/common/http';\r\n\r\nimport { Interfaces } from 'aril/util/lib';\r\n\r\nimport { HTTPMethods } from '../lib/enums';\r\n\r\nexport function getRequest(httpMethod: HTTPMethods, args: any[]): HttpParams | Interfaces.MapStringAny | undefined {\r\n\tif (!args.length) return undefined;\r\n\r\n\tswitch (httpMethod) {\r\n\t\tcase HTTPMethods.PUT:\r\n\t\t\treturn args[1];\r\n\t\tcase HTTPMethods.POSTBYPARAMS:\r\n\t\tcase HTTPMethods.GETBYPARAMS:\r\n\t\tcase HTTPMethods.GETBYPARAMSANDDYNAMICPATH:\r\n\t\tcase HTTPMethods.DELETEBYPARAMS:\r\n\t\t\tconst dto = httpMethod === HTTPMethods.POSTBYPARAMS ? args[0].queryParams : args[0];\r\n\t\t\tlet queryParams = new HttpParams();\r\n\r\n\t\t\tfor (const [key, value] of Object.entries(dto)) {\r\n\t\t\t\tqueryParams = queryParams.append(key, value as any);\r\n\t\t\t}\r\n\r\n\t\t\treturn queryParams;\r\n\t\tdefault:\r\n\t\t\treturn args[0];\r\n\t}\r\n}\r\n","/* eslint-disable @typescript-eslint/no-explicit-any */\r\nimport { HttpErrorResponse, HttpStatusCode } from '@angular/common/http';\r\n\r\nimport { MessageService } from 'primeng/api';\r\n\r\nimport { TranslocoService } from '@ngneat/transloco';\r\nimport { KeycloakService } from 'keycloak-angular';\r\n\r\nimport { ErrorDetail, ServiceCallStateMap } from '../lib/interfaces';\r\n\r\nexport const callState = (states: ServiceCallStateMap<any>, serviceName: any): void => {\r\n\tstates[serviceName] = {\r\n\t\tserviceCalled: true,\r\n\t\twaitingForResponse: true,\r\n\t\tresponseIsRecieved: false,\r\n\t\tserviceCallFailed: false\r\n\t};\r\n};\r\n\r\nexport const successState = (\r\n\tstates: ServiceCallStateMap<any>,\r\n\tserviceName: any,\r\n\ttranslocoService: TranslocoService,\r\n\tmessageService: MessageService,\r\n\tmessage?: { success?: string; error?: string; ignoredStatusCodes?: HttpStatusCode[] },\r\n\tresponse?: any\r\n): void => {\r\n\tstates[serviceName] = {\r\n\t\tserviceCalled: true,\r\n\t\twaitingForResponse: false,\r\n\t\tresponseIsRecieved: true,\r\n\t\tserviceCallFailed: false\r\n\t};\r\n\r\n\tif (message?.success) {\r\n\t\tmessageService.add({\r\n\t\t\tkey: 'toast-root',\r\n\t\t\tseverity: 'success',\r\n\t\t\tsummary: getTranslatedMessage(<string>message.success, translocoService, response)\r\n\t\t});\r\n\t}\r\n};\r\n\r\nexport const errorState = async (\r\n\tstates: ServiceCallStateMap<any>,\r\n\tserviceName: any,\r\n\terror: HttpErrorResponse,\r\n\ttranslocoService: TranslocoService,\r\n\tmessageService: MessageService,\r\n\tkeycloakService: KeycloakService,\r\n\tmessage?: { success?: string; error?: string; ignoredStatusCodes?: HttpStatusCode[] }\r\n) => {\r\n\tstates[serviceName] = {\r\n\t\tserviceCalled: true,\r\n\t\twaitingForResponse: false,\r\n\t\tresponseIsRecieved: true,\r\n\t\tserviceCallFailed: true\r\n\t};\r\n\r\n\tlet httpError: string;\r\n\r\n\tswitch (error.status) {\r\n\t\tcase 400:\r\n\t\t\thttpError = 'Hatalı İstek';\r\n\t\t\tbreak;\r\n\t\tcase 401:\r\n\t\t\thttpError = 'Yetkisiz Erişim';\r\n\t\t\tawait keycloakService.login({ redirectUri: window.location.href });\r\n\t\t\tbreak;\r\n\t\tcase 403:\r\n\t\t\thttpError = 'Erişim Engellendi';\r\n\t\t\tif (keycloakService.isTokenExpired()) await keycloakService.login({ redirectUri: window.location.href });\r\n\t\t\tbreak;\r\n\t\tcase 404:\r\n\t\t\thttpError = 'Kaynak Bulunamadı';\r\n\t\t\tbreak;\r\n\t\tcase 405:\r\n\t\t\thttpError = 'İzin Verilmeyen Metod';\r\n\t\t\tbreak;\r\n\t\tcase 406:\r\n\t\t\thttpError = 'Kabul Edilemez Başlık';\r\n\t\t\tbreak;\r\n\t\tcase 408:\r\n\t\t\thttpError = 'Zaman Aşımı';\r\n\t\t\tbreak;\r\n\t\tcase 409:\r\n\t\t\thttpError = 'Çakışma';\r\n\t\t\tbreak;\r\n\t\tcase 500:\r\n\t\t\thttpError = 'Sunucu Hatası';\r\n\t\t\tbreak;\r\n\t\tcase 501:\r\n\t\t\thttpError = 'Sunucu Yapılandırma Hatası';\r\n\t\t\tbreak;\r\n\t\tcase 502:\r\n\t\t\thttpError = 'Geçersiz Ağ Geçidi';\r\n\t\t\tbreak;\r\n\t\tcase 503:\r\n\t\t\thttpError = 'Sunucu Hizmet Vermiyor';\r\n\t\t\tbreak;\r\n\t\tcase 504:\r\n\t\t\thttpError = 'Ağ Geçidi Zaman Aşımı';\r\n\t\t\tbreak;\r\n\t\tcase 505:\r\n\t\t\thttpError = 'HTTP Protokol Desteklenmiyor';\r\n\t\t\tbreak;\r\n\t\tcase 511:\r\n\t\t\thttpError = 'Ağ Kimlik Doğrulaması Gerekli';\r\n\t\t\tbreak;\r\n\t\tcase 599:\r\n\t\t\thttpError = 'Ağ Bağlantısı Zaman Aşımı';\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\thttpError = error?.error?.message;\r\n\t\t\tbreak;\r\n\t}\r\n\r\n\tif (message?.ignoredStatusCodes?.includes(error.status)) return;\r\n\r\n\tif (error.error?.details?.length && Array.isArray(error.error.details)) {\r\n\t\terror.error.details.forEach((detail: ErrorDetail) => {\r\n\t\t\tconst key = 'fields.' + detail.fieldName;\r\n\t\t\tconst translatedField = translocoService.translate(key);\r\n\t\t\tconst text = translatedField === key ? detail.fieldName : translatedField;\r\n\r\n\t\t\tconst detailText = (detail.fieldName ? text + ' - ' : '') + detail.reason;\r\n\r\n\t\t\tmessageService.add({\r\n\t\t\t\tkey: 'toast-root',\r\n\t\t\t\tseverity: 'error',\r\n\t\t\t\tsummary: error?.error?.message,\r\n\t\t\t\tdetail: detailText\r\n\t\t\t});\r\n\t\t});\r\n\t} else {\r\n\t\tmessageService.add({\r\n\t\t\tkey: 'toast-root',\r\n\t\t\tseverity: 'error',\r\n\t\t\tsummary: httpError,\r\n\t\t\tdetail: error?.error?.message\r\n\t\t});\r\n\t}\r\n\r\n\tif (message?.error) {\r\n\t\tmessageService.add({\r\n\t\t\tkey: 'toast-root',\r\n\t\t\tseverity: 'error',\r\n\t\t\tsummary: error?.error?.message || getTranslatedMessage(message.error, translocoService)\r\n\t\t});\r\n\t}\r\n};\r\n\r\nexport const warningState = (\r\n\tstates: ServiceCallStateMap<any>,\r\n\tserviceName: any,\r\n\tresponse: any,\r\n\tmessageService: MessageService\r\n): void => {\r\n\tstates[serviceName] = {\r\n\t\tserviceCalled: true,\r\n\t\twaitingForResponse: false,\r\n\t\tresponseIsRecieved: true,\r\n\t\tserviceCallFailed: true\r\n\t};\r\n\r\n\tif (response?.details && Array.isArray(response.details) && response.details.length > 0) {\r\n\t\tresponse.details.forEach((detail: ErrorDetail) => {\r\n\t\t\tmessageService.add({\r\n\t\t\t\tkey: 'toast-root',\r\n\t\t\t\tseverity: 'warn',\r\n\t\t\t\tsummary: response?.message,\r\n\t\t\t\tdetail: (detail.fieldName !== null ? detail.fieldName + ' - ' : '') + detail.reason\r\n\t\t\t});\r\n\t\t});\r\n\t} else {\r\n\t\tmessageService.add({\r\n\t\t\tkey: 'toast-root',\r\n\t\t\tseverity: 'warn',\r\n\t\t\tdetail: response?.message\r\n\t\t});\r\n\t}\r\n};\r\n\r\nconst getTranslatedMessage = (messageCode: string, translocoService: TranslocoService, response?: any): string => {\r\n\tconst translateObject = translocoService.getTranslation().get(translocoService.getActiveLang());\r\n\tlet translatedMessage = translateObject?.[messageCode] ?? messageCode;\r\n\r\n\tconst paramStartSymbol = '{{';\r\n\tconst paramEndSymbol = '}}';\r\n\r\n\tif (response && translatedMessage.includes(paramStartSymbol) && translatedMessage.includes(paramEndSymbol)) {\r\n\t\tdo {\r\n\t\t\tlet paramStartIndex = translatedMessage.indexOf(paramStartSymbol);\r\n\t\t\tlet paramEndIndex = translatedMessage.indexOf(paramEndSymbol);\r\n\t\t\tlet paramKey = translatedMessage.slice(paramStartIndex + paramStartSymbol.length, paramEndIndex);\r\n\r\n\t\t\t// Splitting the key to get nested object values\r\n\t\t\tlet paramKeyList = paramKey.split('.');\r\n\t\t\tlet paramValue;\r\n\r\n\t\t\tfor (let key of paramKeyList) {\r\n\t\t\t\tparamValue = paramValue ? paramValue[key] : response[key];\r\n\t\t\t}\r\n\r\n\t\t\tlet replacePattern = `${paramStartSymbol}${paramKey}${paramEndSymbol}`;\r\n\t\t\ttranslatedMessage = translatedMessage.replace(replacePattern, paramValue);\r\n\t\t} while (translatedMessage.includes(paramStartSymbol));\r\n\t}\r\n\r\n\treturn translatedMessage;\r\n};\r\n","/* eslint-disable @typescript-eslint/no-explicit-any */\r\nimport { HttpClient, HttpErrorResponse, HttpParams, HttpStatusCode } from '@angular/common/http';\r\nimport { runInInjectionContext } from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\n\r\nimport { Observable, of } from 'rxjs';\r\nimport { catchError, map, tap } from 'rxjs/operators';\r\n\r\nimport { API_CONFIGS } from 'aril/boot/config/api';\r\nimport { Apps } from 'aril/boot/config/apps';\r\n\r\nimport { HTTPMethods, HTTPStatusCodes, ProxyTypes } from '../lib/enums';\r\nimport { ErrorResponse, ServiceCallStateMap, ServiceResponse } from '../lib/interfaces';\r\nimport { getRequest } from './serviceRequest';\r\nimport { callState, errorState, successState, warningState } from './serviceStateMethods';\r\n\r\nexport function ServiceCall(\r\n\thttpMethod: HTTPMethods,\r\n\tproxy: ProxyTypes,\r\n\tserviceURL: string,\r\n\tmessage?: { success?: string; error?: string; ignoredStatusCodes?: HttpStatusCode[] },\r\n\tremoteAPI?: Apps,\r\n\tisMockAPI = false\r\n): MethodDecorator {\r\n\treturn function (serviceClass: object, serviceName: string | symbol, descriptor: PropertyDescriptor) {\r\n\t\t// const originalFunction = descriptor.value;\r\n\r\n\t\tdescriptor.value = function (...args: any[]) {\r\n\t\t\treturn runInInjectionContext((<any>this).injector, () => {\r\n\t\t\t\tconst httpClient: HttpClient = (<any>this).httpClient;\r\n\r\n\t\t\t\tlet api = '';\r\n\t\t\t\tif (isMockAPI) api = <string>remoteAPI;\r\n\t\t\t\telse if (remoteAPI) {\r\n\t\t\t\t\tconst url = new URL(API_CONFIGS.api);\r\n\t\t\t\t\tapi = url.origin + '/' + API_CONFIGS.prefixMap[remoteAPI];\r\n\t\t\t\t} else api = API_CONFIGS.api;\r\n\r\n\t\t\t\tconst endPoint = api + '/' + serviceURL;\r\n\t\t\t\tconst request = getRequest(httpMethod, args);\r\n\t\t\t\tconst states: ServiceCallStateMap<any> = (<any>this).states;\r\n\r\n\t\t\t\tcallState(states, serviceName);\r\n\r\n\t\t\t\tlet observable: Observable<any> = new Observable<any>();\r\n\t\t\t\tlet getDynamicServiceUrl: string;\r\n\r\n\t\t\t\tswitch (httpMethod) {\r\n\t\t\t\t\tcase HTTPMethods.GET:\r\n\t\t\t\t\t\tlet getReq = args.length ? '/' + args[0] : '';\r\n\t\t\t\t\t\tobservable = httpClient.get<any>(endPoint + getReq, {observe: 'response', responseType: 'json' });\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase HTTPMethods.GETBYPARAMS:\r\n\t\t\t\t\t\tobservable = httpClient.get<any>(endPoint, { params: request as HttpParams, observe: 'response', responseType: 'json' });\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase HTTPMethods.GETBYDYNAMICPATH:\r\n\t\t\t\t\t\tgetDynamicServiceUrl = serviceURL;\r\n\t\t\t\t\t\targs.forEach((arg) => {\r\n\t\t\t\t\t\t\tgetDynamicServiceUrl = getDynamicServiceUrl.replace('$', arg);\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tobservable = httpClient.get<any>(api + '/' + getDynamicServiceUrl, {observe: 'response', responseType: 'json' });\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase HTTPMethods.GETBYPARAMSANDDYNAMICPATH:\r\n\t\t\t\t\t\tlet getParams = {};\r\n\t\t\t\t\t\tlet getDynamicServiceUrlWithParams = serviceURL;\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\targs.forEach((arg) => {\r\n\t\t\t\t\t\t\tif (typeof arg === 'object') getParams = arg;\r\n\t\t\t\t\t\t\telse getDynamicServiceUrlWithParams = getDynamicServiceUrlWithParams.replace('$', arg);\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tobservable = httpClient.get<any>(api + '/' + getDynamicServiceUrlWithParams, {\r\n\t\t\t\t\t\t\tparams: getParams as HttpParams,\r\n\t\t\t\t\t\t\tobserve: 'response',\r\n\t\t\t\t\t\t\tresponseType: 'json'\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase HTTPMethods.POST:\r\n\t\t\t\t\t\tobservable = httpClient.post<any>(endPoint, args[0], {observe: 'response', responseType: 'json' });\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase HTTPMethods.POSTBYPARAMS:\r\n\t\t\t\t\t\tobservable = httpClient.post<any>(endPoint, args[0].body, { params: request, observe: 'response', responseType: 'json' });\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase HTTPMethods.POSTBYDYNAMICPATH:\r\n\t\t\t\t\t\tlet body = {};\r\n\t\t\t\t\t\tlet dynamicServiceUrl = serviceURL;\r\n\r\n\t\t\t\t\t\targs.forEach((arg) => {\r\n\t\t\t\t\t\t\tif (typeof arg === 'object') body = arg;\r\n\t\t\t\t\t\t\telse dynamicServiceUrl = dynamicServiceUrl.replace('$', arg);\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tobservable = httpClient.post<any>(api + '/' + dynamicServiceUrl, body, { observe: 'response', responseType: 'json' });\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase HTTPMethods.PUT:\r\n\t\t\t\t\t\tobservable = httpClient.put<any>(endPoint + '/' + args[0], request, { observe: 'response', responseType: 'json' });\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase HTTPMethods.PUTBYPARAMS:\r\n\t\t\t\t\t\tobservable = httpClient.put<any>(endPoint, args[0], { observe: 'response', responseType: 'json' });\r\n\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\tcase HTTPMethods.PUTBYDYNAMICPATH:\r\n\t\t\t\t\t\tlet putBody = {};\r\n\t\t\t\t\t\tlet putDynamicServiceUrl = serviceURL;\r\n\r\n\t\t\t\t\t\targs.forEach((arg) => {\r\n\t\t\t\t\t\t\tif (typeof arg === 'object') putBody = arg;\r\n\t\t\t\t\t\t\telse putDynamicServiceUrl = putDynamicServiceUrl.replace('$', arg);\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tobservable = httpClient.put<any>(api + '/' + putDynamicServiceUrl, putBody, {observe: 'response', responseType: 'json' });\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase HTTPMethods.DELETE:\r\n\t\t\t\t\t\tobservable = httpClient.delete<any>(endPoint + '/' + args[0], {observe: 'response', responseType: 'json' });\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase HTTPMethods.DELETEBYPARAMS:\r\n\t\t\t\t\t\tobservable = httpClient.delete<any>(endPoint, { params: request as HttpParams, observe: 'response', responseType: 'json' });\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase HTTPMethods.DELETEBYDYNAMICPATH:\r\n\t\t\t\t\t\tlet deleteParams = {};\r\n\t\t\t\t\t\tlet deleteDynamicServiceUrl = serviceURL;\r\n\r\n\t\t\t\t\t\targs.forEach((arg) => {\r\n\t\t\t\t\t\t\tif (typeof arg === 'object') deleteParams = arg;\r\n\t\t\t\t\t\t\telse deleteDynamicServiceUrl = deleteDynamicServiceUrl.replace('$', arg);\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\tobservable = httpClient.delete<any>(api + '/' + deleteDynamicServiceUrl, {\r\n\t\t\t\t\t\t\tparams: deleteParams,\r\n\t\t\t\t\t\t\tobserve: 'response',\r\n\t\t\t\t\t\t\tresponseType: 'json'\r\n\t\t\t\t\t\t});\r\n\t\t\t\t}\r\n\r\n\t\t\t\tobservable = observable.pipe(\r\n\t\t\t\t\tmap((response) => new ServiceResponse(request, response?.body, proxy, response?.status)),\r\n\t\t\t\t\ttap((serviceRes) => {\r\n\t\t\t\t\t\tif (serviceRes?.statusCode === HTTPStatusCodes.NO_CONTENT) {\r\n\t\t\t\t\t\t\t(<any>this).messageService.add({\r\n\t\t\t\t\t\t\t\tkey: 'toast-root',\r\n\t\t\t\t\t\t\t\tseverity: 'success',\r\n\t\t\t\t\t\t\t\tsummary: (<any>this).translocoService.translate('messages.successMessageHeader'),\r\n\t\t\t\t\t\t\t\tdetail: (<any>this).translocoService.translate('messages.successMessage')\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t} else if (serviceRes.response.type === 'ValidationWarningException') {\r\n\t\t\t\t\t\t\twarningState(states, serviceName, serviceRes.response, (<any>this).messageService);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tsuccessState(\r\n\t\t\t\t\t\t\t\tstates,\r\n\t\t\t\t\t\t\t\tserviceName,\r\n\t\t\t\t\t\t\t\t(<any>this).translocoService,\r\n\t\t\t\t\t\t\t\t(<any>this).messageService,\r\n\t\t\t\t\t\t\t\tmessage,\r\n\t\t\t\t\t\t\t\tserviceRes\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\tcatchError((error: HttpErrorResponse) => {\r\n\t\t\t\t\t\terrorState(\r\n\t\t\t\t\t\t\tstates,\r\n\t\t\t\t\t\t\tserviceName,\r\n\t\t\t\t\t\t\terror,\r\n\t\t\t\t\t\t\t(<any>this).translocoService,\r\n\t\t\t\t\t\t\t(<any>this).messageService,\r\n\t\t\t\t\t\t\t(<any>this).keycloak,\r\n\t\t\t\t\t\t\tmessage\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t\treturn of(new ErrorResponse(error));\r\n\t\t\t\t\t}),\r\n\t\t\t\t\ttakeUntilDestroyed()\r\n\t\t\t\t);\r\n\r\n\t\t\t\treturn observable;\r\n\t\t\t});\r\n\t\t};\r\n\t};\r\n}\r\n","import { HTTPMethods, ProxyTypes } from '../lib/enums';\r\nimport { ServiceCall } from './serviceBase';\r\n\r\nexport function ServiceCallMock(\r\n\thttpMethod: HTTPMethods,\r\n\tproxy: ProxyTypes,\r\n\tserviceURL: string,\r\n\tmockAPI: string,\r\n\tmessage?: { success?: string; error?: string; useDefault: boolean }\r\n) {\r\n\t// return ServiceCall(httpMethod, proxy, serviceURL, message, mockAPI, true);\r\n}\r\n","import { HttpHandlerFn, HttpInterceptorFn, HttpRequest } from '@angular/common/http';\r\nimport { inject } from '@angular/core';\r\nimport { TranslocoService } from '@ngneat/transloco';\r\n\r\nconst DEFAULT_LANGUAGE = 'tr' as const;\r\nconst STORAGE_KEY = 'lang' as const;\r\n\r\nconst resolveLanguage = (translocoService: TranslocoService | null): string => {\r\n return (\r\n translocoService?.getActiveLang?.() ||\r\n localStorage.getItem(STORAGE_KEY) ||\r\n translocoService?.getDefaultLang?.() ||\r\n DEFAULT_LANGUAGE\r\n );\r\n};\r\n\r\nexport const acceptLanguageInterceptor: HttpInterceptorFn = (\r\n req: HttpRequest<unknown>,\r\n next: HttpHandlerFn\r\n) => {\r\n const translocoService = inject(TranslocoService, { optional: true }) ?? null;\r\n const language = resolveLanguage(translocoService);\r\n\r\n const updatedReq = req.clone({\r\n setHeaders: {\r\n 'Accept-Language': language\r\n }\r\n });\r\n\r\n return next(updatedReq);\r\n};\r\n\r\n","/* lib */\r\nexport * from './lib/enums';\r\nexport * from './lib/interfaces';\r\n\r\n/* src */\r\nexport * from './src/httpBackend';\r\nexport * from './src/httpClient';\r\nexport * from './src/serviceBase';\r\nexport * from './src/serviceMockBase';\r\nexport * from './src/serviceStateMethods';\r\n\r\n/* interceptor */\r\nexport * from './src/interceptor/accept-language.interceptor';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;IAAY,YAcX;AAdD,CAAA,UAAY,WAAW,EAAA;AACtB,IAAA,WAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX,IAAA,WAAA,CAAA,aAAA,CAAA,GAAA,aAA2B,CAAA;AAC3B,IAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,kBAAqC,CAAA;AACrC,IAAA,WAAA,CAAA,2BAAA,CAAA,GAAA,2BAAuD,CAAA;AACvD,IAAA,WAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACb,IAAA,WAAA,CAAA,cAAA,CAAA,GAAA,cAA6B,CAAA;AAC7B,IAAA,WAAA,CAAA,mBAAA,CAAA,GAAA,mBAAuC,CAAA;AACvC,IAAA,WAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX,IAAA,WAAA,CAAA,aAAA,CAAA,GAAA,aAA2B,CAAA;AAC3B,IAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,kBAAqC,CAAA;AACrC,IAAA,WAAA,CAAA,QAAA,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AACV,YAAA,iBAAiB,EAAE,QAAQ;AAC5B,SAAA;AACF,KAAA,CAAC,CAAC;AAEH,IAAA,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC;AAC1B;;AC9BA;;ACAA;;AAEG;;;;"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { inject, Injectable, isDevMode, InjectionToken, NgModule } from '@angular/core';
|
|
4
|
+
import { provideTransloco, provideTranslocoScope, TranslocoModule } from '@ngneat/transloco';
|
|
5
|
+
|
|
6
|
+
class TranslocoHttpLoader {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.http = inject(HttpClient);
|
|
9
|
+
}
|
|
10
|
+
getTranslation(lang) {
|
|
11
|
+
return this.http.get(`./assets/host/i18n/${lang}.json`);
|
|
12
|
+
}
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TranslocoHttpLoader, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TranslocoHttpLoader, providedIn: 'root' }); }
|
|
15
|
+
}
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TranslocoHttpLoader, decorators: [{
|
|
17
|
+
type: Injectable,
|
|
18
|
+
args: [{ providedIn: 'root' }]
|
|
19
|
+
}] });
|
|
20
|
+
|
|
21
|
+
const i18nProvider = () => {
|
|
22
|
+
return provideTransloco({
|
|
23
|
+
config: {
|
|
24
|
+
availableLangs: ['tr', 'en'],
|
|
25
|
+
defaultLang: 'tr',
|
|
26
|
+
fallbackLang: 'tr',
|
|
27
|
+
reRenderOnLangChange: true,
|
|
28
|
+
prodMode: !isDevMode()
|
|
29
|
+
},
|
|
30
|
+
loader: TranslocoHttpLoader
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const languages = ['tr', 'en'];
|
|
35
|
+
/**
|
|
36
|
+
* @param loader `(lang: string) => import(`./i18n/${lang}.json`)` to create a relative import to the correct dir
|
|
37
|
+
*/
|
|
38
|
+
function i18nLoaderFactory(loader) {
|
|
39
|
+
return languages.reduce((acc, lang) => {
|
|
40
|
+
acc[lang] = () => loader(lang);
|
|
41
|
+
return acc;
|
|
42
|
+
}, {});
|
|
43
|
+
}
|
|
44
|
+
const providei18nScope = (scopeName, loader) => {
|
|
45
|
+
return provideTranslocoScope({
|
|
46
|
+
scope: scopeName,
|
|
47
|
+
loader: i18nLoaderFactory(loader)
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
const i18nFolderName = new InjectionToken('i18nFolderName');
|
|
52
|
+
|
|
53
|
+
class i18nModule {
|
|
54
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: i18nModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
55
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.2", ngImport: i0, type: i18nModule, exports: [TranslocoModule] }); }
|
|
56
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: i18nModule, providers: [i18nProvider()], imports: [TranslocoModule] }); }
|
|
57
|
+
}
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: i18nModule, decorators: [{
|
|
59
|
+
type: NgModule,
|
|
60
|
+
args: [{
|
|
61
|
+
exports: [TranslocoModule],
|
|
62
|
+
providers: [i18nProvider()]
|
|
63
|
+
}]
|
|
64
|
+
}] });
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Generated bundle index. Do not edit.
|
|
68
|
+
*/
|
|
69
|
+
|
|
70
|
+
export { TranslocoHttpLoader, i18nFolderName, i18nModule, i18nProvider, providei18nScope };
|
|
71
|
+
//# sourceMappingURL=aril-i18n.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aril-i18n.mjs","sources":["../../projects/aril/i18n/src/loader.ts","../../projects/aril/i18n/src/provideI18n.ts","../../projects/aril/i18n/src/provideScope.ts","../../projects/aril/i18n/src/folder-name-token.ts","../../projects/aril/i18n/src/i18n.module.ts","../../projects/aril/i18n/aril-i18n.ts"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\r\nimport { Injectable, inject } from '@angular/core';\r\n\r\nimport { Translation, TranslocoLoader } from '@ngneat/transloco';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class TranslocoHttpLoader implements TranslocoLoader {\r\n\tprivate http = inject(HttpClient);\r\n\r\n\tgetTranslation(lang: string) {\r\n\t\treturn this.http.get<Translation>(`./assets/host/i18n/${lang}.json`);\r\n\t}\r\n}\r\n","import { EnvironmentProviders, isDevMode } from '@angular/core';\r\n\r\nimport { provideTransloco } from '@ngneat/transloco';\r\n\r\nimport { TranslocoHttpLoader } from './loader';\r\n\r\nexport const i18nProvider = (): EnvironmentProviders[] => {\r\n\treturn provideTransloco({\r\n\t\tconfig: {\r\n\t\t\tavailableLangs: ['tr', 'en'],\r\n\t\t\tdefaultLang: 'tr',\r\n\t\t\tfallbackLang: 'tr',\r\n\t\t\treRenderOnLangChange: true,\r\n\t\t\tprodMode: !isDevMode()\r\n\t\t},\r\n\t\tloader: TranslocoHttpLoader\r\n\t});\r\n};\r\n","import { provideTranslocoScope } from '@ngneat/transloco';\r\n\r\nconst languages = ['tr', 'en'];\r\n\r\n/**\r\n * @param loader `(lang: string) => import(`./i18n/${lang}.json`)` to create a relative import to the correct dir\r\n */\r\nfunction i18nLoaderFactory(loader: (lang: string) => Promise<any>) {\r\n\treturn languages.reduce((acc: any, lang) => {\r\n\t\tacc[lang] = () => loader(lang);\r\n\t\treturn acc;\r\n\t}, {});\r\n}\r\n\r\nexport const providei18nScope = (scopeName: string, loader: (lang: string) => Promise<any>) => {\r\n\treturn provideTranslocoScope({\r\n\t\tscope: scopeName,\r\n\t\tloader: i18nLoaderFactory(loader)\r\n\t});\r\n};\r\n","import { InjectionToken } from '@angular/core';\r\n\r\nexport const i18nFolderName = new InjectionToken<string>('i18nFolderName');\r\n","import { NgModule } from '@angular/core';\r\n\r\nimport { TranslocoModule } from '@ngneat/transloco';\r\n\r\nimport { i18nProvider } from './provideI18n';\r\n\r\n@NgModule({\r\n\texports: [TranslocoModule],\r\n\tproviders: [i18nProvider()]\r\n})\r\nexport class i18nModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAMa,mBAAmB,CAAA;AADhC,IAAA,WAAA,GAAA;AAES,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;AAKlC,KAAA;AAHA,IAAA,cAAc,CAAC,IAAY,EAAA;QAC1B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAc,CAAsB,mBAAA,EAAA,IAAI,CAAO,KAAA,CAAA,CAAC,CAAC;KACrE;8GALW,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAnB,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,mBAAmB,cADN,MAAM,EAAA,CAAA,CAAA,EAAA;;2FACnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAD/B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAA;;;ACC3B,MAAM,YAAY,GAAG,MAA6B;AACxD,IAAA,OAAO,g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