aril 1.1.73 → 1.1.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -62
- package/boot/config/api/src/api.service.d.ts +12 -0
- package/boot/config/api/src/interfaces.d.ts +39 -0
- package/boot/config/api.sample.json +8 -0
- package/boot/config/apps/src/apps.service.d.ts +13 -0
- package/boot/config/apps/src/auth.guard.d.ts +9 -0
- package/boot/config/apps/src/interfaces.d.ts +50 -0
- package/boot/config/apps/src/reuse-strategy.d.ts +4 -0
- package/boot/config/apps/src/showdowDOMWrapper.d.ts +10 -0
- package/boot/config/plugins/src/getNgZone.d.ts +5 -0
- package/boot/config/plugins/src/interfaces.d.ts +55 -0
- package/boot/config/plugins/src/plugins.service.d.ts +5 -0
- package/boot/config/translate/constants.d.ts +4 -0
- package/boot/config/translate/primeng/i18n/tr.d.ts +46 -0
- package/boot/host/src/app.component.d.ts +10 -0
- package/boot/host/src/bootstrap.d.ts +4 -0
- package/boot/index.d.ts +1 -0
- package/boot/mfe/src/app.component.d.ts +17 -0
- package/boot/mfe/src/appComponentLoader.d.ts +1 -0
- package/boot/mfe/src/bootstrap.d.ts +5 -0
- package/boot/mfe/src/loadStyles.d.ts +3 -0
- package/boot/mfe/src/monaco.config.d.ts +7 -0
- package/esm2022/aril.mjs +5 -0
- package/esm2022/boot/aril-boot.mjs +5 -0
- package/esm2022/boot/config/api/aril-boot-config-api.mjs +5 -0
- package/esm2022/boot/config/api/index.mjs +2 -0
- package/esm2022/boot/config/api/src/api.service.mjs +59 -0
- package/esm2022/boot/config/api/src/interfaces.mjs +61 -0
- package/esm2022/boot/config/apps/aril-boot-config-apps.mjs +5 -0
- package/esm2022/boot/config/apps/index.mjs +4 -0
- package/esm2022/boot/config/apps/src/apps.service.mjs +53 -0
- package/esm2022/boot/config/apps/src/auth.guard.mjs +22 -0
- package/esm2022/boot/config/apps/src/interfaces.mjs +21 -0
- package/esm2022/boot/config/apps/src/reuse-strategy.mjs +9 -0
- package/esm2022/boot/config/apps/src/showdowDOMWrapper.mjs +35 -0
- package/esm2022/boot/config/plugins/aril-boot-config-plugins.mjs +5 -0
- package/esm2022/boot/config/plugins/index.mjs +3 -0
- package/esm2022/boot/config/plugins/src/getNgZone.mjs +9 -0
- package/esm2022/boot/config/plugins/src/interfaces.mjs +62 -0
- package/esm2022/boot/config/plugins/src/plugins.service.mjs +84 -0
- package/esm2022/boot/config/translate/aril-boot-config-translate.mjs +5 -0
- package/esm2022/boot/config/translate/constants.mjs +6 -0
- package/esm2022/boot/config/translate/index.mjs +3 -0
- package/esm2022/boot/config/translate/primeng/i18n/tr.mjs +60 -0
- package/esm2022/boot/host/aril-boot-host.mjs +5 -0
- package/esm2022/boot/host/index.mjs +2 -0
- package/esm2022/boot/host/src/app.component.mjs +49 -0
- package/esm2022/boot/host/src/bootstrap.mjs +55 -0
- package/esm2022/boot/index.mjs +2 -0
- package/esm2022/boot/mfe/aril-boot-mfe.mjs +5 -0
- package/esm2022/boot/mfe/index.mjs +2 -0
- package/esm2022/boot/mfe/src/app.component.mjs +63 -0
- package/esm2022/boot/mfe/src/appComponentLoader.mjs +5 -0
- package/esm2022/boot/mfe/src/bootstrap.mjs +76 -0
- package/esm2022/boot/mfe/src/loadStyles.mjs +37 -0
- package/esm2022/boot/mfe/src/monaco.config.mjs +247 -0
- package/esm2022/http/aril-http.mjs +5 -0
- package/esm2022/http/index.mjs +12 -0
- package/esm2022/http/lib/enums.mjs +35 -0
- package/esm2022/http/lib/interfaces.mjs +16 -0
- package/esm2022/http/src/httpBackend.mjs +17 -0
- package/esm2022/http/src/httpClient.mjs +16 -0
- package/esm2022/http/src/interceptor/accept-language.interceptor.mjs +21 -0
- package/esm2022/http/src/serviceBase.mjs +140 -0
- package/esm2022/http/src/serviceMockBase.mjs +4 -0
- package/esm2022/http/src/serviceRequest.mjs +23 -0
- package/esm2022/http/src/serviceStateMethods.mjs +167 -0
- package/esm2022/i18n/aril-i18n.mjs +5 -0
- package/esm2022/i18n/index.mjs +6 -0
- package/esm2022/i18n/src/folder-name-token.mjs +3 -0
- package/esm2022/i18n/src/i18n.module.mjs +17 -0
- package/esm2022/i18n/src/loader.mjs +18 -0
- package/esm2022/i18n/src/provideI18n.mjs +16 -0
- package/esm2022/i18n/src/provideScope.mjs +18 -0
- package/esm2022/keycloak/aril-keycloak.mjs +5 -0
- package/esm2022/keycloak/index.mjs +2 -0
- package/esm2022/keycloak/src/auth.interceptor.mjs +92 -0
- package/esm2022/provider/aril-provider.mjs +5 -0
- package/esm2022/provider/index.mjs +2 -0
- package/esm2022/provider/src/index.mjs +5 -0
- package/esm2022/provider/src/prodiveHost.mjs +9 -0
- package/esm2022/provider/src/prodiveHostRouter.mjs +12 -0
- package/esm2022/provider/src/provideHostKeycloak.mjs +28 -0
- package/esm2022/provider/src/provideLocaleId.mjs +20 -0
- package/esm2022/public-api.mjs +3 -0
- package/esm2022/theme/aril-theme.mjs +5 -0
- package/esm2022/theme/index.mjs +2 -0
- package/esm2022/theme/layout/app/breadcrumb/app.breadcrumb.component.mjs +106 -0
- package/esm2022/theme/layout/app/chatbot/app.chatbot.component.mjs +140 -0
- package/esm2022/theme/layout/app/expandableMenu/expandable-menu.component.mjs +250 -0
- package/esm2022/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.mjs +217 -0
- package/esm2022/theme/layout/app/favorite-pages/favorite-pages.service.mjs +60 -0
- package/esm2022/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.mjs +129 -0
- package/esm2022/theme/layout/app/general-search/general-search.component.mjs +75 -0
- package/esm2022/theme/layout/app/general-search/helpers.mjs +92 -0
- package/esm2022/theme/layout/app/general-search/models.mjs +50 -0
- package/esm2022/theme/layout/app/history/history-sidebar.component.mjs +133 -0
- package/esm2022/theme/layout/app/history/history.service.mjs +131 -0
- package/esm2022/theme/layout/app/layout/app.layout.component.mjs +160 -0
- package/esm2022/theme/layout/app/layout/mfe.layout.component.mjs +64 -0
- package/esm2022/theme/layout/app/notifications/notifications-sidebar.component.mjs +191 -0
- package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +122 -0
- package/esm2022/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.mjs +142 -0
- package/esm2022/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.mjs +202 -0
- package/esm2022/theme/layout/app/profileSidebar/profile.service.mjs +66 -0
- package/esm2022/theme/layout/app/site-map/site-map-sidebar.component.mjs +166 -0
- package/esm2022/theme/layout/app/static-sidebar/static-sidebar.component.mjs +228 -0
- package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +155 -0
- package/esm2022/theme/layout/aril-theme-layout.mjs +5 -0
- package/esm2022/theme/layout/index.mjs +8 -0
- package/esm2022/theme/layout/service/app.layout.service.mjs +231 -0
- package/esm2022/theme/layout/service/app.menu.service.mjs +46 -0
- package/esm2022/theme/layout/service/breadcrumb.service.mjs +20 -0
- package/esm2022/theme/layout/service/interfaces/enum.mjs +16 -0
- package/esm2022/theme/layout/service/interfaces/interfaces.mjs +2 -0
- package/esm2022/theme/layout/service/menuchangeevent.mjs +2 -0
- package/esm2022/theme/layout/service/notifications.service.mjs +30 -0
- package/esm2022/theme/layout/service/search.service.mjs +25 -0
- package/esm2022/theme/layout/service/selection-group.service.mjs +65 -0
- package/esm2022/ui/aril-ui.mjs +5 -0
- package/esm2022/ui/autoComplete/aril-ui-autoComplete.mjs +5 -0
- package/esm2022/ui/autoComplete/index.mjs +2 -0
- package/esm2022/ui/autoComplete/src/auto-complete.component.mjs +109 -0
- package/esm2022/ui/autoComplete/src/interfaces.mjs +2 -0
- package/esm2022/ui/badge/aril-ui-badge.mjs +5 -0
- package/esm2022/ui/badge/index.mjs +2 -0
- package/esm2022/ui/badge/src/badge.component.mjs +59 -0
- package/esm2022/ui/button/aril-ui-button.mjs +5 -0
- package/esm2022/ui/button/index.mjs +3 -0
- package/esm2022/ui/button/src/button.component.mjs +40 -0
- package/esm2022/ui/button/src/split-button.component.mjs +18 -0
- package/esm2022/ui/calendar/aril-ui-calendar.mjs +5 -0
- package/esm2022/ui/calendar/index.mjs +2 -0
- package/esm2022/ui/calendar/src/calendar.component.mjs +224 -0
- package/esm2022/ui/charts/aril-ui-charts.mjs +5 -0
- package/esm2022/ui/charts/index.mjs +13 -0
- package/esm2022/ui/charts/src/amCharts/column/column-chart.component.mjs +124 -0
- package/esm2022/ui/charts/src/amCharts/line/line-chart.component.mjs +164 -0
- package/esm2022/ui/charts/src/amCharts/pie/pie-chart.component.mjs +116 -0
- package/esm2022/ui/charts/src/highCharts/area/area-chart.component.mjs +114 -0
- package/esm2022/ui/charts/src/highCharts/bar/bar-chart.component.mjs +100 -0
- package/esm2022/ui/charts/src/highCharts/column/column-chart.component.mjs +117 -0
- package/esm2022/ui/charts/src/highCharts/gauge/solid-gauge.component.mjs +180 -0
- package/esm2022/ui/charts/src/highCharts/heatmap/heatMap-chart.component.mjs +252 -0
- package/esm2022/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.mjs +187 -0
- package/esm2022/ui/charts/src/highCharts/line/line-chart-series.component.mjs +89 -0
- package/esm2022/ui/charts/src/highCharts/line/line-chart.component.mjs +82 -0
- package/esm2022/ui/charts/src/highCharts/pie/pie-chart.component.mjs +137 -0
- package/esm2022/ui/charts/src/theme/theme.mjs +54 -0
- package/esm2022/ui/checkbox/aril-ui-checkbox.mjs +5 -0
- package/esm2022/ui/checkbox/index.mjs +3 -0
- package/esm2022/ui/checkbox/src/check-box.component.mjs +27 -0
- package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +24 -0
- package/esm2022/ui/chip/aril-ui-chip.mjs +5 -0
- package/esm2022/ui/chip/index.mjs +2 -0
- package/esm2022/ui/chip/src/chip.component.mjs +129 -0
- package/esm2022/ui/collapse-reorder-list/aril-ui-collapse-reorder-list.mjs +5 -0
- package/esm2022/ui/collapse-reorder-list/index.mjs +2 -0
- package/esm2022/ui/collapse-reorder-list/src/collapse-reorder-list.component.mjs +53 -0
- package/esm2022/ui/dxEditor/aril-ui-dxEditor.mjs +5 -0
- package/esm2022/ui/dxEditor/index.mjs +2 -0
- package/esm2022/ui/dxEditor/src/dx-editor.component.mjs +26 -0
- package/esm2022/ui/dxField/aril-ui-dxField.mjs +5 -0
- package/esm2022/ui/dxField/index.mjs +2 -0
- package/esm2022/ui/dxField/src/dx-field.component.mjs +19 -0
- package/esm2022/ui/editor/aril-ui-editor.mjs +5 -0
- package/esm2022/ui/editor/index.mjs +3 -0
- package/esm2022/ui/editor/src/aril-editor.component.mjs +171 -0
- package/esm2022/ui/editor/src/types.mjs +26 -0
- package/esm2022/ui/field/aril-ui-field.mjs +5 -0
- package/esm2022/ui/field/index.mjs +2 -0
- package/esm2022/ui/field/src/field.component.mjs +45 -0
- package/esm2022/ui/fileUpload/aril-ui-fileUpload.mjs +5 -0
- package/esm2022/ui/fileUpload/index.mjs +2 -0
- package/esm2022/ui/fileUpload/src/file-upload.component.mjs +73 -0
- package/esm2022/ui/form/aril-ui-form.mjs +5 -0
- package/esm2022/ui/form/index.mjs +22 -0
- package/esm2022/ui/form/src/form-submit-button.component.mjs +40 -0
- package/esm2022/ui/form/src/form.component.mjs +27 -0
- package/esm2022/ui/img-viewer/aril-ui-img-viewer.mjs +5 -0
- package/esm2022/ui/img-viewer/index.mjs +2 -0
- package/esm2022/ui/img-viewer/src/img-viewer.component.mjs +57 -0
- package/esm2022/ui/index.mjs +2 -0
- package/esm2022/ui/json-diff-comparison/aril-ui-json-diff-comparison.mjs +5 -0
- package/esm2022/ui/json-diff-comparison/index.mjs +2 -0
- package/esm2022/ui/json-diff-comparison/src/json-diff.component.mjs +49 -0
- package/esm2022/ui/lib/aril-ui-lib.mjs +5 -0
- package/esm2022/ui/lib/index.mjs +16 -0
- package/esm2022/ui/lib/src/form/form-error-message.component.mjs +33 -0
- package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +34 -0
- package/esm2022/ui/lib/src/form/form-field-builder.mjs +23 -0
- package/esm2022/ui/lib/src/form/form-validation.mjs +14 -0
- package/esm2022/ui/lib/src/grid/enum-color-picker.pipe.mjs +35 -0
- package/esm2022/ui/lib/src/grid/flex-grid.directive.mjs +21 -0
- package/esm2022/ui/lib/src/input/baseInput.mjs +24 -0
- package/esm2022/ui/lib/src/input/common-input-validators.service.mjs +49 -0
- package/esm2022/ui/lib/src/input/dx-input-error-message.pipe.mjs +22 -0
- package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +25 -0
- package/esm2022/ui/lib/src/input/input-error-message.pipe.mjs +63 -0
- package/esm2022/ui/lib/src/input/input-transforms.mjs +8 -0
- package/esm2022/ui/lib/src/input/value-accessor.directive.mjs +38 -0
- package/esm2022/ui/loader/aril-ui-loader.mjs +5 -0
- package/esm2022/ui/loader/index.mjs +2 -0
- package/esm2022/ui/loader/src/loader.component.mjs +14 -0
- package/esm2022/ui/mask/aril-ui-mask.mjs +5 -0
- package/esm2022/ui/mask/index.mjs +2 -0
- package/esm2022/ui/mask/src/mask.component.mjs +35 -0
- package/esm2022/ui/multiSelect/aril-ui-multiSelect.mjs +5 -0
- package/esm2022/ui/multiSelect/index.mjs +2 -0
- package/esm2022/ui/multiSelect/src/interfaces.mjs +2 -0
- package/esm2022/ui/multiSelect/src/multi-select.component.mjs +57 -0
- package/esm2022/ui/number/aril-ui-number.mjs +5 -0
- package/esm2022/ui/number/index.mjs +2 -0
- package/esm2022/ui/number/src/number.component.mjs +38 -0
- package/esm2022/ui/operation-types-dialog/aril-ui-operation-types-dialog.mjs +5 -0
- package/esm2022/ui/operation-types-dialog/index.mjs +2 -0
- package/esm2022/ui/operation-types-dialog/src/operation-types-dialog.component.mjs +91 -0
- package/esm2022/ui/overlayPanel/aril-ui-overlayPanel.mjs +5 -0
- package/esm2022/ui/overlayPanel/index.mjs +2 -0
- package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +20 -0
- package/esm2022/ui/panel/aril-ui-panel.mjs +5 -0
- package/esm2022/ui/panel/index.mjs +2 -0
- package/esm2022/ui/panel/src/panel.component.mjs +33 -0
- package/esm2022/ui/password/aril-ui-password.mjs +5 -0
- package/esm2022/ui/password/index.mjs +2 -0
- package/esm2022/ui/password/src/password.component.mjs +29 -0
- package/esm2022/ui/pdf-viewer/aril-ui-pdf-viewer.mjs +5 -0
- package/esm2022/ui/pdf-viewer/index.mjs +2 -0
- package/esm2022/ui/pdf-viewer/src/pdf-viewer.component.mjs +27 -0
- package/esm2022/ui/progressbar/aril-ui-progressbar.mjs +5 -0
- package/esm2022/ui/progressbar/index.mjs +2 -0
- package/esm2022/ui/progressbar/src/progressbar.component.mjs +18 -0
- package/esm2022/ui/radioButton/aril-ui-radioButton.mjs +5 -0
- package/esm2022/ui/radioButton/index.mjs +2 -0
- package/esm2022/ui/radioButton/src/radio-button.component.mjs +30 -0
- package/esm2022/ui/relativeDateSelector/aril-ui-relativeDateSelector.mjs +5 -0
- package/esm2022/ui/relativeDateSelector/index.mjs +2 -0
- package/esm2022/ui/relativeDateSelector/src/enum.mjs +31 -0
- package/esm2022/ui/relativeDateSelector/src/relative-date-selector.component.mjs +248 -0
- package/esm2022/ui/selectBox/aril-ui-selectBox.mjs +5 -0
- package/esm2022/ui/selectBox/index.mjs +2 -0
- package/esm2022/ui/selectBox/src/interfaces.mjs +2 -0
- package/esm2022/ui/selectBox/src/select-box.component.mjs +67 -0
- package/esm2022/ui/switch/aril-ui-switch.mjs +5 -0
- package/esm2022/ui/switch/index.mjs +2 -0
- package/esm2022/ui/switch/src/switch.component.mjs +23 -0
- package/esm2022/ui/table/aril-ui-table.mjs +5 -0
- package/esm2022/ui/table/index.mjs +131 -0
- package/esm2022/ui/table/src/export-overlay-panel.component.mjs +321 -0
- package/esm2022/ui/table/src/interfaces.mjs +44 -0
- package/esm2022/ui/table/src/table-column.component.mjs +31 -0
- package/esm2022/ui/table/src/table.component.mjs +334 -0
- package/esm2022/ui/table-expand/aril-ui-table-expand.mjs +5 -0
- package/esm2022/ui/table-expand/index.mjs +61 -0
- package/esm2022/ui/table-expand/src/table-column.component.mjs +25 -0
- package/esm2022/ui/table-expand/src/table-expand-area.component.mjs +17 -0
- package/esm2022/ui/table-expand/src/table.component.mjs +99 -0
- package/esm2022/ui/tag/aril-ui-tag.mjs +5 -0
- package/esm2022/ui/tag/index.mjs +2 -0
- package/esm2022/ui/tag/src/interface.mjs +2 -0
- package/esm2022/ui/tag/src/tag.component.mjs +20 -0
- package/esm2022/ui/tagBox/aril-ui-tagBox.mjs +5 -0
- package/esm2022/ui/tagBox/index.mjs +2 -0
- package/esm2022/ui/tagBox/src/tag-box.component.mjs +55 -0
- package/esm2022/ui/text/aril-ui-text.mjs +5 -0
- package/esm2022/ui/text/index.mjs +2 -0
- package/esm2022/ui/text/src/text.component.mjs +47 -0
- package/esm2022/ui/textArea/aril-ui-textArea.mjs +5 -0
- package/esm2022/ui/textArea/index.mjs +2 -0
- package/esm2022/ui/textArea/src/text-area.component.mjs +27 -0
- package/esm2022/ui/toggle-button/aril-ui-toggle-button.mjs +5 -0
- package/esm2022/ui/toggle-button/index.mjs +2 -0
- package/esm2022/ui/toggle-button/src/toggle-button.component.mjs +25 -0
- package/esm2022/ui/tooltip/aril-ui-tooltip.mjs +5 -0
- package/esm2022/ui/tooltip/index.mjs +2 -0
- package/esm2022/ui/tooltip/src/tooltip-component.mjs +23 -0
- package/esm2022/ui/translate-input/aril-ui-translate-input.mjs +5 -0
- package/esm2022/ui/translate-input/index.mjs +2 -0
- package/esm2022/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.mjs +64 -0
- package/esm2022/ui/translate-input/src/aril-lang-modal/constants.mjs +15 -0
- package/esm2022/ui/translate-input/src/aril-translate-input.component.mjs +128 -0
- package/esm2022/ui/translate-input/src/interface.mjs +2 -0
- package/esm2022/ui/tree/aril-ui-tree.mjs +5 -0
- package/esm2022/ui/tree/index.mjs +2 -0
- package/esm2022/ui/tree/src/tree.component.mjs +53 -0
- package/esm2022/ui/treeSelect/aril-ui-treeSelect.mjs +5 -0
- package/esm2022/ui/treeSelect/index.mjs +2 -0
- package/esm2022/ui/treeSelect/src/treeSelect.component.mjs +41 -0
- package/esm2022/ui/treeTable/aril-ui-treeTable.mjs +5 -0
- package/esm2022/ui/treeTable/index.mjs +2 -0
- package/esm2022/ui/treeTable/src/tree-table.component.mjs +55 -0
- package/esm2022/ui/value/aril-ui-value.mjs +5 -0
- package/esm2022/ui/value/index.mjs +2 -0
- package/esm2022/ui/value/src/value.component.mjs +207 -0
- package/esm2022/ui-business/aril-ui-business.mjs +5 -0
- package/esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs +5 -0
- package/esm2022/ui-business/assetPicker/index.mjs +2 -0
- package/esm2022/ui-business/assetPicker/src/asset-picker.component.mjs +182 -0
- package/esm2022/ui-business/assetPicker/src/interface.mjs +2 -0
- package/esm2022/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.mjs +5 -0
- package/esm2022/ui-business/detailed-overlay-panel/index.mjs +2 -0
- package/esm2022/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.mjs +61 -0
- package/esm2022/ui-business/detailed-overlay-panel/src/interface.mjs +19 -0
- package/esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs +5 -0
- package/esm2022/ui-business/enumPicker/index.mjs +2 -0
- package/esm2022/ui-business/enumPicker/src/enum-picker.component.mjs +124 -0
- package/esm2022/ui-business/enumPicker/src/interface.mjs +2 -0
- package/esm2022/ui-business/image-viewer/aril-ui-business-image-viewer.mjs +5 -0
- package/esm2022/ui-business/image-viewer/index.mjs +2 -0
- package/esm2022/ui-business/image-viewer/src/aril-image-viewer.component.mjs +111 -0
- package/esm2022/ui-business/index.mjs +2 -0
- package/esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs +5 -0
- package/esm2022/ui-business/multiple-ref-value/index.mjs +2 -0
- package/esm2022/ui-business/multiple-ref-value/src/multiple-ref-value.component.mjs +23 -0
- package/esm2022/ui-business/notification-templates-dialog/aril-ui-business-notification-templates-dialog.mjs +5 -0
- package/esm2022/ui-business/notification-templates-dialog/index.mjs +2 -0
- package/esm2022/ui-business/notification-templates-dialog/src/interface.mjs +8 -0
- package/esm2022/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.mjs +56 -0
- package/esm2022/ui-business/operation-types-dialog/aril-ui-business-operation-types-dialog.mjs +5 -0
- package/esm2022/ui-business/operation-types-dialog/index.mjs +2 -0
- package/esm2022/ui-business/operation-types-dialog/src/operation-types-dialog.component.mjs +76 -0
- package/esm2022/ui-business/ref-value/aril-ui-business-ref-value.mjs +5 -0
- package/esm2022/ui-business/ref-value/index.mjs +2 -0
- package/esm2022/ui-business/ref-value/src/ref-value.component.mjs +39 -0
- package/esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs +5 -0
- package/esm2022/ui-business/rolePicker/index.mjs +2 -0
- package/esm2022/ui-business/rolePicker/src/interface.mjs +2 -0
- package/esm2022/ui-business/rolePicker/src/role-picker.component.mjs +71 -0
- package/esm2022/ui-business/userPicker/aril-ui-business-userPicker.mjs +5 -0
- package/esm2022/ui-business/userPicker/index.mjs +2 -0
- package/esm2022/ui-business/userPicker/src/interface.mjs +2 -0
- package/esm2022/ui-business/userPicker/src/user-picker.component.mjs +43 -0
- package/esm2022/util/aril-util.mjs +5 -0
- package/esm2022/util/block/aril-util-block.mjs +5 -0
- package/esm2022/util/block/index.mjs +2 -0
- package/esm2022/util/block/src/block.mjs +64 -0
- package/esm2022/util/custom_pages/aril-util-custom_pages.mjs +5 -0
- package/esm2022/util/custom_pages/index.mjs +2 -0
- package/esm2022/util/custom_pages/src/notFound.component.mjs +65 -0
- package/esm2022/util/directives/aril-util-directives.mjs +5 -0
- package/esm2022/util/directives/index.mjs +4 -0
- package/esm2022/util/directives/src/detail-page-customization/detail-page-customization.directive.mjs +298 -0
- package/esm2022/util/directives/src/detail-page-customization/index.mjs +3 -0
- package/esm2022/util/directives/src/detail-page-customization/models.mjs +4 -0
- package/esm2022/util/directives/src/dialog-component/plugin-dialog.component.mjs +26 -0
- package/esm2022/util/directives/src/dialog-service/plugin-dialog.service.mjs +16 -0
- package/esm2022/util/index.mjs +2 -0
- package/esm2022/util/lib/aril-util-lib.mjs +5 -0
- package/esm2022/util/lib/index.mjs +5 -0
- package/esm2022/util/lib/src/interfaces.mjs +4 -0
- package/esm2022/util/lib/src/module-router.mjs +16 -0
- package/esm2022/util/lib/src/types.mjs +6 -0
- package/esm2022/util/lib/src/validators/iban.validator.mjs +189 -0
- package/esm2022/util/lib/src/validators/index.mjs +5 -0
- package/esm2022/util/lib/src/validators/max-array-length.validator.mjs +16 -0
- package/esm2022/util/lib/src/validators/min-array-length.validator.mjs +16 -0
- package/esm2022/util/lib/src/validators/tckn.validator.mjs +39 -0
- package/esm2022/util/lib/src/validators/validators.mjs +16 -0
- package/esm2022/util/loaders/aril-util-loaders.mjs +5 -0
- package/esm2022/util/loaders/index.mjs +2 -0
- package/esm2022/util/loaders/style/style.loader.service.mjs +61 -0
- package/esm2022/util/pipes/aril-util-pipes.mjs +5 -0
- package/esm2022/util/pipes/index.mjs +7 -0
- package/esm2022/util/pipes/src/distance-to-now.pipe.mjs +38 -0
- package/esm2022/util/pipes/src/get-column-by-field.pipe.mjs +17 -0
- package/esm2022/util/pipes/src/parse.pipe.mjs +22 -0
- package/esm2022/util/pipes/src/round-number.pipe.mjs +65 -0
- package/esm2022/util/pipes/src/safe.pipe.mjs +34 -0
- package/esm2022/util/pipes/src/translate-json/index.mjs +2 -0
- package/esm2022/util/pipes/src/translate-json/translate-json.pipe.mjs +41 -0
- package/esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs +5 -0
- package/esm2022/util/primitive-extensions/index.mjs +5 -0
- package/esm2022/util/primitive-extensions/src/boolean.extensions.mjs +2 -0
- package/esm2022/util/primitive-extensions/src/date.extensions.mjs +116 -0
- package/esm2022/util/primitive-extensions/src/number.extensions.mjs +39 -0
- package/esm2022/util/primitive-extensions/src/string.extensions.mjs +23 -0
- package/esm2022/util/pub-sub/aril-util-pub-sub.mjs +5 -0
- package/esm2022/util/pub-sub/index.mjs +2 -0
- package/esm2022/util/pub-sub/src/pub-sub.service.mjs +30 -0
- package/esm2022/util/sync-active-tab-route/aril-util-sync-active-tab-route.mjs +5 -0
- package/esm2022/util/sync-active-tab-route/index.mjs +2 -0
- package/esm2022/util/sync-active-tab-route/src/sync-active-tab-route.directive.mjs +45 -0
- package/esm2022/util/unwrap/aril-util-unwrap.mjs +5 -0
- package/esm2022/util/unwrap/index.mjs +2 -0
- package/esm2022/util/unwrap/src/unwrap-tag.directive.mjs +24 -0
- package/fesm2022/aril-app.component-hxaLgwmC.mjs +81 -0
- package/fesm2022/aril-app.component-hxaLgwmC.mjs.map +1 -0
- package/fesm2022/aril-boot-config-api.mjs +126 -0
- package/fesm2022/aril-boot-config-api.mjs.map +1 -0
- package/fesm2022/aril-boot-config-apps.mjs +138 -0
- package/fesm2022/aril-boot-config-apps.mjs.map +1 -0
- package/fesm2022/aril-boot-config-plugins.mjs +159 -0
- package/fesm2022/aril-boot-config-plugins.mjs.map +1 -0
- package/fesm2022/aril-boot-config-translate.mjs +72 -0
- package/fesm2022/aril-boot-config-translate.mjs.map +1 -0
- package/fesm2022/aril-boot-host.mjs +108 -0
- package/fesm2022/aril-boot-host.mjs.map +1 -0
- package/fesm2022/aril-boot-mfe-app.component-s1a-tkOD.mjs +80 -0
- package/fesm2022/aril-boot-mfe-app.component-s1a-tkOD.mjs.map +1 -0
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-wLTqwDtz.mjs +369 -0
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-wLTqwDtz.mjs.map +1 -0
- package/fesm2022/aril-boot-mfe.mjs +19 -0
- package/fesm2022/aril-boot-mfe.mjs.map +1 -0
- package/fesm2022/aril-boot.mjs +8 -0
- package/fesm2022/aril-boot.mjs.map +1 -0
- package/fesm2022/aril-http.mjs +437 -0
- package/fesm2022/aril-http.mjs.map +1 -0
- package/fesm2022/aril-i18n.mjs +71 -0
- package/fesm2022/aril-i18n.mjs.map +1 -0
- package/fesm2022/aril-keycloak.mjs +99 -0
- package/fesm2022/aril-keycloak.mjs.map +1 -0
- package/fesm2022/aril-provider.mjs +74 -0
- package/fesm2022/aril-provider.mjs.map +1 -0
- package/fesm2022/aril-theme-layout.mjs +3015 -0
- package/fesm2022/aril-theme-layout.mjs.map +1 -0
- package/fesm2022/aril-theme.mjs +8 -0
- package/fesm2022/aril-theme.mjs.map +1 -0
- package/fesm2022/aril-ui-autoComplete.mjs +116 -0
- package/fesm2022/aril-ui-autoComplete.mjs.map +1 -0
- package/fesm2022/aril-ui-badge.mjs +66 -0
- package/fesm2022/aril-ui-badge.mjs.map +1 -0
- package/fesm2022/aril-ui-business-assetPicker.mjs +189 -0
- package/fesm2022/aril-ui-business-assetPicker.mjs.map +1 -0
- package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs +68 -0
- package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs.map +1 -0
- package/fesm2022/aril-ui-business-enumPicker.mjs +131 -0
- package/fesm2022/aril-ui-business-enumPicker.mjs.map +1 -0
- package/fesm2022/aril-ui-business-image-viewer.mjs +118 -0
- package/fesm2022/aril-ui-business-image-viewer.mjs.map +1 -0
- package/fesm2022/aril-ui-business-multiple-ref-value.mjs +30 -0
- package/fesm2022/aril-ui-business-multiple-ref-value.mjs.map +1 -0
- package/fesm2022/aril-ui-business-notification-templates-dialog.mjs +70 -0
- package/fesm2022/aril-ui-business-notification-templates-dialog.mjs.map +1 -0
- package/fesm2022/aril-ui-business-operation-types-dialog.mjs +83 -0
- package/fesm2022/aril-ui-business-operation-types-dialog.mjs.map +1 -0
- package/fesm2022/aril-ui-business-ref-value.mjs +46 -0
- package/fesm2022/aril-ui-business-ref-value.mjs.map +1 -0
- package/fesm2022/aril-ui-business-rolePicker.mjs +78 -0
- package/fesm2022/aril-ui-business-rolePicker.mjs.map +1 -0
- package/fesm2022/aril-ui-business-userPicker.mjs +50 -0
- package/fesm2022/aril-ui-business-userPicker.mjs.map +1 -0
- package/fesm2022/aril-ui-business.mjs +8 -0
- package/fesm2022/aril-ui-business.mjs.map +1 -0
- package/fesm2022/aril-ui-button.mjs +62 -0
- package/fesm2022/aril-ui-button.mjs.map +1 -0
- package/fesm2022/aril-ui-calendar.mjs +231 -0
- package/fesm2022/aril-ui-calendar.mjs.map +1 -0
- package/fesm2022/aril-ui-charts.mjs +1666 -0
- package/fesm2022/aril-ui-charts.mjs.map +1 -0
- package/fesm2022/aril-ui-checkbox.mjs +50 -0
- package/fesm2022/aril-ui-checkbox.mjs.map +1 -0
- package/fesm2022/aril-ui-chip.mjs +136 -0
- package/fesm2022/aril-ui-chip.mjs.map +1 -0
- package/fesm2022/aril-ui-collapse-reorder-list.mjs +60 -0
- package/fesm2022/aril-ui-collapse-reorder-list.mjs.map +1 -0
- package/fesm2022/aril-ui-dxEditor.mjs +33 -0
- package/fesm2022/aril-ui-dxEditor.mjs.map +1 -0
- package/fesm2022/aril-ui-dxField.mjs +26 -0
- package/fesm2022/aril-ui-dxField.mjs.map +1 -0
- package/fesm2022/aril-ui-editor.mjs +203 -0
- package/fesm2022/aril-ui-editor.mjs.map +1 -0
- package/fesm2022/aril-ui-field.mjs +52 -0
- package/fesm2022/aril-ui-field.mjs.map +1 -0
- package/fesm2022/aril-ui-fileUpload.mjs +80 -0
- package/fesm2022/aril-ui-fileUpload.mjs.map +1 -0
- package/fesm2022/aril-ui-form.mjs +86 -0
- package/fesm2022/aril-ui-form.mjs.map +1 -0
- package/fesm2022/aril-ui-img-viewer.mjs +64 -0
- package/fesm2022/aril-ui-img-viewer.mjs.map +1 -0
- package/fesm2022/aril-ui-json-diff-comparison.mjs +56 -0
- package/fesm2022/aril-ui-json-diff-comparison.mjs.map +1 -0
- package/fesm2022/aril-ui-lib.mjs +376 -0
- package/fesm2022/aril-ui-lib.mjs.map +1 -0
- package/fesm2022/aril-ui-loader.mjs +21 -0
- package/fesm2022/aril-ui-loader.mjs.map +1 -0
- package/fesm2022/aril-ui-mask.mjs +42 -0
- package/fesm2022/aril-ui-mask.mjs.map +1 -0
- package/fesm2022/aril-ui-multiSelect.mjs +64 -0
- package/fesm2022/aril-ui-multiSelect.mjs.map +1 -0
- package/fesm2022/aril-ui-number.mjs +45 -0
- package/fesm2022/aril-ui-number.mjs.map +1 -0
- package/fesm2022/aril-ui-operation-types-dialog.mjs +98 -0
- package/fesm2022/aril-ui-operation-types-dialog.mjs.map +1 -0
- package/fesm2022/aril-ui-overlayPanel.mjs +27 -0
- package/fesm2022/aril-ui-overlayPanel.mjs.map +1 -0
- package/fesm2022/aril-ui-panel.mjs +40 -0
- package/fesm2022/aril-ui-panel.mjs.map +1 -0
- package/fesm2022/aril-ui-password.mjs +36 -0
- package/fesm2022/aril-ui-password.mjs.map +1 -0
- package/fesm2022/aril-ui-pdf-viewer.mjs +34 -0
- package/fesm2022/aril-ui-pdf-viewer.mjs.map +1 -0
- package/fesm2022/aril-ui-progressbar.mjs +25 -0
- package/fesm2022/aril-ui-progressbar.mjs.map +1 -0
- package/fesm2022/aril-ui-radioButton.mjs +37 -0
- package/fesm2022/aril-ui-radioButton.mjs.map +1 -0
- package/fesm2022/aril-ui-relativeDateSelector.mjs +285 -0
- package/fesm2022/aril-ui-relativeDateSelector.mjs.map +1 -0
- package/fesm2022/aril-ui-selectBox.mjs +74 -0
- package/fesm2022/aril-ui-selectBox.mjs.map +1 -0
- package/fesm2022/aril-ui-switch.mjs +30 -0
- package/fesm2022/aril-ui-switch.mjs.map +1 -0
- package/fesm2022/aril-ui-table-expand.mjs +194 -0
- package/fesm2022/aril-ui-table-expand.mjs.map +1 -0
- package/fesm2022/aril-ui-table.mjs +833 -0
- package/fesm2022/aril-ui-table.mjs.map +1 -0
- package/fesm2022/aril-ui-tag.mjs +27 -0
- package/fesm2022/aril-ui-tag.mjs.map +1 -0
- package/fesm2022/aril-ui-tagBox.mjs +62 -0
- package/fesm2022/aril-ui-tagBox.mjs.map +1 -0
- package/fesm2022/aril-ui-text.mjs +54 -0
- package/fesm2022/aril-ui-text.mjs.map +1 -0
- package/fesm2022/aril-ui-textArea.mjs +34 -0
- package/fesm2022/aril-ui-textArea.mjs.map +1 -0
- package/fesm2022/aril-ui-toggle-button.mjs +32 -0
- package/fesm2022/aril-ui-toggle-button.mjs.map +1 -0
- package/fesm2022/aril-ui-tooltip.mjs +30 -0
- package/fesm2022/aril-ui-tooltip.mjs.map +1 -0
- package/fesm2022/aril-ui-translate-input.mjs +207 -0
- package/fesm2022/aril-ui-translate-input.mjs.map +1 -0
- package/fesm2022/aril-ui-tree.mjs +60 -0
- package/fesm2022/aril-ui-tree.mjs.map +1 -0
- package/fesm2022/aril-ui-treeSelect.mjs +48 -0
- package/fesm2022/aril-ui-treeSelect.mjs.map +1 -0
- package/fesm2022/aril-ui-treeTable.mjs +62 -0
- package/fesm2022/aril-ui-treeTable.mjs.map +1 -0
- package/fesm2022/aril-ui-value.mjs +214 -0
- package/fesm2022/aril-ui-value.mjs.map +1 -0
- package/fesm2022/aril-ui.mjs +8 -0
- package/fesm2022/aril-ui.mjs.map +1 -0
- package/fesm2022/aril-util-block.mjs +71 -0
- package/fesm2022/aril-util-block.mjs.map +1 -0
- package/fesm2022/aril-util-custom_pages.mjs +72 -0
- package/fesm2022/aril-util-custom_pages.mjs.map +1 -0
- package/fesm2022/aril-util-directives.mjs +344 -0
- package/fesm2022/aril-util-directives.mjs.map +1 -0
- package/fesm2022/aril-util-lib.mjs +307 -0
- package/fesm2022/aril-util-lib.mjs.map +1 -0
- package/fesm2022/aril-util-loaders.mjs +68 -0
- package/fesm2022/aril-util-loaders.mjs.map +1 -0
- package/fesm2022/aril-util-pipes.mjs +213 -0
- package/fesm2022/aril-util-pipes.mjs.map +1 -0
- package/fesm2022/aril-util-primitive-extensions.mjs +179 -0
- package/fesm2022/aril-util-primitive-extensions.mjs.map +1 -0
- package/fesm2022/aril-util-pub-sub.mjs +37 -0
- package/fesm2022/aril-util-pub-sub.mjs.map +1 -0
- package/fesm2022/aril-util-sync-active-tab-route.mjs +52 -0
- package/fesm2022/aril-util-sync-active-tab-route.mjs.map +1 -0
- package/fesm2022/aril-util-unwrap.mjs +31 -0
- package/fesm2022/aril-util-unwrap.mjs.map +1 -0
- package/fesm2022/aril-util.mjs +8 -0
- package/fesm2022/aril-util.mjs.map +1 -0
- package/fesm2022/aril.mjs +456 -0
- package/fesm2022/aril.mjs.map +1 -0
- package/http/index.d.ts +8 -0
- package/http/lib/enums.d.ts +31 -0
- package/http/lib/interfaces.d.ts +27 -0
- package/http/src/httpBackend.d.ts +8 -0
- package/http/src/httpClient.d.ts +9 -0
- package/http/src/interceptor/accept-language.interceptor.d.ts +2 -0
- package/http/src/serviceBase.d.ts +8 -0
- package/http/src/serviceMockBase.d.ts +6 -0
- package/http/src/serviceRequest.d.ts +4 -0
- package/http/src/serviceStateMethods.d.ts +17 -0
- package/i18n/src/folder-name-token.d.ts +2 -0
- package/i18n/src/i18n.module.d.ts +7 -0
- package/i18n/src/loader.d.ts +8 -0
- package/i18n/src/provideI18n.d.ts +2 -0
- package/i18n/src/provideScope.d.ts +5 -0
- package/index.d.ts +5 -0
- package/keycloak/index.d.ts +1 -0
- package/keycloak/src/auth.interceptor.d.ts +3 -0
- package/package.json +528 -43
- package/provider/src/index.d.ts +4 -0
- package/provider/src/prodiveHost.d.ts +3 -0
- package/provider/src/prodiveHostRouter.d.ts +2 -0
- package/provider/src/provideHostKeycloak.d.ts +5 -0
- package/provider/src/provideLocaleId.d.ts +2 -0
- package/scripts/util/blockui.min.js +7 -0
- package/styles/ui/ui.common.scss +42 -0
- package/styles/util/blockui.css +56 -0
- package/theme/index.d.ts +1 -0
- package/theme/index.ts +1 -1
- package/theme/layout/app/breadcrumb/app.breadcrumb.component.d.ts +25 -0
- package/theme/layout/app/breadcrumb/app.breadcrumb.component.html +8 -8
- package/theme/layout/app/breadcrumb/app.breadcrumb.component.ts +126 -126
- package/theme/layout/app/chatbot/app.chatbot.component.d.ts +35 -0
- package/theme/layout/app/chatbot/app.chatbot.component.html +108 -108
- package/theme/layout/app/chatbot/app.chatbot.component.scss +34 -34
- package/theme/layout/app/chatbot/app.chatbot.component.ts +151 -151
- package/theme/layout/app/config/app.config.component.html +146 -146
- package/theme/layout/app/config/app.config.component.ts +143 -143
- package/theme/layout/app/expandableMenu/expandable-menu.component.d.ts +72 -0
- package/theme/layout/app/expandableMenu/expandable-menu.component.html +89 -89
- package/theme/layout/app/expandableMenu/expandable-menu.component.ts +295 -295
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.d.ts +2031 -0
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.html +110 -110
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.scss +181 -181
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.ts +260 -260
- package/theme/layout/app/favorite-pages/favorite-pages.service.d.ts +56 -0
- package/theme/layout/app/favorite-pages/favorite-pages.service.ts +95 -95
- package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.d.ts +36 -0
- package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.html +27 -27
- package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.ts +165 -165
- package/theme/layout/app/general-search/general-search.component.d.ts +22 -0
- package/theme/layout/app/general-search/general-search.component.html +57 -57
- package/theme/layout/app/general-search/general-search.component.scss +27 -27
- package/theme/layout/app/general-search/general-search.component.ts +93 -93
- package/theme/layout/app/general-search/helpers.d.ts +7 -0
- package/theme/layout/app/general-search/helpers.spec.ts +527 -527
- package/theme/layout/app/general-search/helpers.ts +106 -106
- package/theme/layout/app/general-search/models.d.ts +131 -0
- package/theme/layout/app/general-search/models.ts +142 -142
- package/theme/layout/app/history/history-sidebar.component.d.ts +2018 -0
- package/theme/layout/app/history/history-sidebar.component.html +87 -87
- package/theme/layout/app/history/history-sidebar.component.scss +182 -182
- package/theme/layout/app/history/history-sidebar.component.ts +143 -143
- package/theme/layout/app/history/history.service.d.ts +36 -0
- package/theme/layout/app/history/history.service.ts +154 -154
- package/theme/layout/app/layout/app.layout.component.d.ts +47 -0
- package/theme/layout/app/layout/app.layout.component.html +27 -27
- package/theme/layout/app/layout/app.layout.component.ts +171 -171
- package/theme/layout/app/layout/mfe.layout.component.d.ts +10 -0
- package/theme/layout/app/layout/mfe.layout.component.ts +59 -59
- package/theme/layout/app/notifications/notifications-sidebar.component.d.ts +2306 -0
- package/theme/layout/app/notifications/notifications-sidebar.component.html +104 -104
- package/theme/layout/app/notifications/notifications-sidebar.component.scss +237 -237
- package/theme/layout/app/notifications/notifications-sidebar.component.ts +221 -221
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.d.ts +29 -0
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.html +122 -122
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.scss +151 -151
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.ts +141 -141
- package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.d.ts +30 -0
- package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.html +48 -48
- package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.scss +27 -27
- package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.ts +178 -178
- package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.d.ts +52 -0
- package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.html +71 -71
- package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.ts +251 -251
- package/theme/layout/app/profileSidebar/profile.service.d.ts +72 -0
- package/theme/layout/app/profileSidebar/profile.service.ts +116 -116
- package/theme/layout/app/site-map/site-map-sidebar.component.d.ts +2025 -0
- package/theme/layout/app/site-map/site-map-sidebar.component.html +121 -121
- package/theme/layout/app/site-map/site-map-sidebar.component.scss +178 -178
- package/theme/layout/app/site-map/site-map-sidebar.component.ts +193 -193
- package/theme/layout/app/static-sidebar/static-sidebar.component.d.ts +57 -0
- package/theme/layout/app/static-sidebar/static-sidebar.component.html +123 -123
- package/theme/layout/app/static-sidebar/static-sidebar.component.scss +411 -411
- package/theme/layout/app/static-sidebar/static-sidebar.component.ts +276 -276
- package/theme/layout/app/topbar/app.topbar.component.d.ts +35 -0
- package/theme/layout/app/topbar/app.topbar.component.html +85 -85
- package/theme/layout/app/topbar/app.topbar.component.scss +193 -193
- package/theme/layout/app/topbar/app.topbar.component.ts +172 -172
- package/theme/layout/index.d.ts +7 -0
- package/theme/layout/index.ts +7 -7
- package/theme/layout/ng-package.json +6 -6
- package/theme/layout/service/app.layout.service.d.ts +69 -0
- package/theme/layout/service/app.layout.service.ts +307 -307
- package/theme/layout/service/app.menu.service.d.ts +22 -0
- package/theme/layout/service/app.menu.service.ts +53 -53
- package/theme/layout/service/breadcrumb.service.d.ts +10 -0
- package/theme/layout/service/breadcrumb.service.ts +14 -14
- package/theme/layout/service/interfaces/enum.d.ts +12 -0
- package/theme/layout/service/interfaces/enum.ts +13 -13
- package/theme/layout/service/interfaces/interfaces.d.ts +131 -0
- package/theme/layout/service/interfaces/interfaces.ts +150 -150
- package/theme/layout/service/menuchangeevent.d.ts +4 -0
- package/theme/layout/service/menuchangeevent.ts +4 -4
- package/theme/layout/service/notifications.service.d.ts +12 -0
- package/theme/layout/service/notifications.service.ts +26 -26
- package/theme/layout/service/search.service.d.ts +11 -0
- package/theme/layout/service/search.service.ts +22 -22
- package/theme/layout/service/selection-group.service.d.ts +17 -0
- package/theme/layout/service/selection-group.service.ts +73 -73
- package/theme/ng-package.json +6 -6
- package/theme/styles/layout/_animation.scss +53 -53
- package/theme/styles/layout/_breadcrumb.scss +31 -31
- package/theme/styles/layout/_config.scss +42 -42
- package/theme/styles/layout/_content.scss +61 -61
- package/theme/styles/layout/_expanded_sidebar.scss +486 -486
- package/theme/styles/layout/_fonts.scss +93 -93
- package/theme/styles/layout/_layout_dark.scss +5 -5
- package/theme/styles/layout/_layout_dim.scss +5 -5
- package/theme/styles/layout/_layout_light.scss +5 -5
- package/theme/styles/layout/_main.scss +28 -28
- package/theme/styles/layout/_profile.scss +10 -10
- package/theme/styles/layout/_responsive.scss +153 -153
- package/theme/styles/layout/_sidebar_drawer.scss +234 -234
- package/theme/styles/layout/_sidebar_horizontal.scss +163 -163
- package/theme/styles/layout/_sidebar_reveal.scss +201 -201
- package/theme/styles/layout/_sidebar_slim.scss +144 -144
- package/theme/styles/layout/_sidebar_slim_plus.scss +168 -168
- package/theme/styles/layout/_sidebar_vertical.scss +156 -156
- package/theme/styles/layout/_topbar.scss +140 -140
- package/theme/styles/layout/_typography.scss +68 -68
- package/theme/styles/layout/_utils.scss +24 -24
- package/theme/styles/layout/layout.scss +25 -25
- package/theme/styles/layout/menutheme/_colorscheme.scss +11 -11
- package/theme/styles/layout/menutheme/_menutheme.scss +3 -3
- package/theme/styles/layout/menutheme/_primarycolor.scss +16 -16
- package/theme/styles/layout/menutheme/_transparent.scss +26 -26
- package/theme/styles/layout/preloading.scss +84 -84
- package/theme/styles/theme/base/_colors.scss +17 -17
- package/theme/styles/theme/base/_common.scss +89 -89
- package/theme/styles/theme/base/_components.scss +108 -108
- package/theme/styles/theme/base/_mixins.scss +337 -337
- package/theme/styles/theme/base/components/button/_button.scss +576 -576
- package/theme/styles/theme/base/components/button/_speeddial.scss +96 -96
- package/theme/styles/theme/base/components/button/_splitbutton.scss +348 -348
- package/theme/styles/theme/base/components/data/_carousel.scss +37 -37
- package/theme/styles/theme/base/components/data/_datatable.scss +338 -338
- package/theme/styles/theme/base/components/data/_dataview.scss +46 -46
- package/theme/styles/theme/base/components/data/_filter.scss +137 -137
- package/theme/styles/theme/base/components/data/_orderlist.scss +114 -114
- package/theme/styles/theme/base/components/data/_organizationchart.scss +50 -50
- package/theme/styles/theme/base/components/data/_paginator.scss +92 -92
- package/theme/styles/theme/base/components/data/_picklist.scss +114 -114
- package/theme/styles/theme/base/components/data/_table.scss +16 -16
- package/theme/styles/theme/base/components/data/_timeline.scss +35 -35
- package/theme/styles/theme/base/components/data/_tree.scss +150 -150
- package/theme/styles/theme/base/components/data/_treetable.scss +255 -255
- package/theme/styles/theme/base/components/data/_virtualscroller.scss +28 -28
- package/theme/styles/theme/base/components/file/_fileupload.scss +64 -64
- package/theme/styles/theme/base/components/input/_autocomplete.scss +141 -141
- package/theme/styles/theme/base/components/input/_calendar.scss +267 -267
- package/theme/styles/theme/base/components/input/_cascadeselect.scss +135 -135
- package/theme/styles/theme/base/components/input/_checkbox.scss +99 -99
- package/theme/styles/theme/base/components/input/_chips.scss +67 -67
- package/theme/styles/theme/base/components/input/_colorpicker.scss +19 -19
- package/theme/styles/theme/base/components/input/_dropdown.scss +151 -151
- package/theme/styles/theme/base/components/input/_editor.scss +122 -122
- package/theme/styles/theme/base/components/input/_inputgroup.scss +75 -75
- package/theme/styles/theme/base/components/input/_inputmask.scss +16 -16
- package/theme/styles/theme/base/components/input/_inputnumber.scss +28 -28
- package/theme/styles/theme/base/components/input/_inputswitch.scss +60 -60
- package/theme/styles/theme/base/components/input/_inputtext.scss +100 -100
- package/theme/styles/theme/base/components/input/_listbox.scss +97 -97
- package/theme/styles/theme/base/components/input/_multiselect.scss +177 -177
- package/theme/styles/theme/base/components/input/_password.scss +52 -52
- package/theme/styles/theme/base/components/input/_radiobutton.scss +78 -78
- package/theme/styles/theme/base/components/input/_rating.scss +60 -60
- package/theme/styles/theme/base/components/input/_selectbutton.scss +50 -50
- package/theme/styles/theme/base/components/input/_slider.scss +75 -75
- package/theme/styles/theme/base/components/input/_togglebutton.scss +48 -48
- package/theme/styles/theme/base/components/input/_treeselect.scss +139 -139
- package/theme/styles/theme/base/components/menu/_breadcrumb.scss +43 -43
- package/theme/styles/theme/base/components/menu/_contextmenu.scss +39 -39
- package/theme/styles/theme/base/components/menu/_dock.scss +95 -95
- package/theme/styles/theme/base/components/menu/_megamenu.scss +55 -55
- package/theme/styles/theme/base/components/menu/_menu.scss +37 -37
- package/theme/styles/theme/base/components/menu/_menubar.scss +140 -140
- package/theme/styles/theme/base/components/menu/_panelmenu.scss +153 -153
- package/theme/styles/theme/base/components/menu/_slidemenu.scss +59 -59
- package/theme/styles/theme/base/components/menu/_steps.scss +56 -56
- package/theme/styles/theme/base/components/menu/_tabmenu.scss +73 -73
- package/theme/styles/theme/base/components/menu/_tieredmenu.scss +43 -43
- package/theme/styles/theme/base/components/messages/_inlinemessage.scss +69 -69
- package/theme/styles/theme/base/components/messages/_message.scss +107 -107
- package/theme/styles/theme/base/components/messages/_toast.scss +99 -99
- package/theme/styles/theme/base/components/misc/_avatar.scss +30 -30
- package/theme/styles/theme/base/components/misc/_badge.scss +48 -48
- package/theme/styles/theme/base/components/misc/_chip.scss +42 -42
- package/theme/styles/theme/base/components/misc/_inplace.scss +16 -16
- package/theme/styles/theme/base/components/misc/_progressbar.scss +17 -17
- package/theme/styles/theme/base/components/misc/_scrolltop.scss +25 -25
- package/theme/styles/theme/base/components/misc/_skeleton.scss +8 -8
- package/theme/styles/theme/base/components/misc/_tag.scss +45 -45
- package/theme/styles/theme/base/components/misc/_terminal.scss +12 -12
- package/theme/styles/theme/base/components/multimedia/_galleria.scss +155 -155
- package/theme/styles/theme/base/components/multimedia/_image.scss +49 -49
- package/theme/styles/theme/base/components/overlay/_confirmpopup.scss +70 -70
- package/theme/styles/theme/base/components/overlay/_dialog.scss +69 -69
- package/theme/styles/theme/base/components/overlay/_overlaypanel.scss +62 -62
- package/theme/styles/theme/base/components/overlay/_sidebar.scss +28 -28
- package/theme/styles/theme/base/components/overlay/_tooltip.scss +33 -33
- package/theme/styles/theme/base/components/panel/_accordion.scss +119 -119
- package/theme/styles/theme/base/components/panel/_card.scss +30 -30
- package/theme/styles/theme/base/components/panel/_divider.scss +31 -31
- package/theme/styles/theme/base/components/panel/_fieldset.scss +47 -47
- package/theme/styles/theme/base/components/panel/_panel.scss +77 -77
- package/theme/styles/theme/base/components/panel/_scrollpanel.scss +6 -6
- package/theme/styles/theme/base/components/panel/_splitter.scss +19 -19
- package/theme/styles/theme/base/components/panel/_stepper.scss +200 -200
- package/theme/styles/theme/base/components/panel/_tabview.scss +91 -91
- package/theme/styles/theme/base/components/panel/_toolbar.scss +11 -11
- package/theme/styles/theme/dark/_extensions.scss +134 -134
- package/theme/styles/theme/dark/_variables.scss +933 -933
- package/theme/styles/theme/dark/indigo/theme.scss +14 -14
- package/theme/styles/theme/light/_extensions.scss +116 -116
- package/theme/styles/theme/light/_variables.scss +940 -940
- package/theme/styles/theme/light/custom/theme.scss +16 -16
- package/theme/styles/theme/light/indigo/theme.scss +14 -14
- package/ui/autoComplete/src/auto-complete.component.d.ts +31 -0
- package/ui/autoComplete/src/interfaces.d.ts +28 -0
- package/ui/badge/src/badge.component.d.ts +32 -0
- package/ui/button/src/button.component.d.ts +28 -0
- package/ui/button/src/split-button.component.d.ts +8 -0
- package/ui/calendar/src/calendar.component.d.ts +63 -0
- package/ui/charts/index.d.ts +12 -0
- package/ui/charts/src/amCharts/column/column-chart.component.d.ts +25 -0
- package/ui/charts/src/amCharts/line/line-chart.component.d.ts +26 -0
- package/ui/charts/src/amCharts/pie/pie-chart.component.d.ts +24 -0
- package/ui/charts/src/highCharts/area/area-chart.component.d.ts +20 -0
- package/ui/charts/src/highCharts/bar/bar-chart.component.d.ts +26 -0
- package/ui/charts/src/highCharts/column/column-chart.component.d.ts +28 -0
- package/ui/charts/src/highCharts/gauge/solid-gauge.component.d.ts +38 -0
- package/ui/charts/src/highCharts/heatmap/heatMap-chart.component.d.ts +32 -0
- package/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.d.ts +24 -0
- package/ui/charts/src/highCharts/line/line-chart-series.component.d.ts +21 -0
- package/ui/charts/src/highCharts/line/line-chart.component.d.ts +21 -0
- package/ui/charts/src/highCharts/pie/pie-chart.component.d.ts +27 -0
- package/ui/charts/src/theme/theme.d.ts +5 -0
- package/ui/checkbox/src/check-box.component.d.ts +12 -0
- package/ui/checkbox/src/tri-state-checkbox.component.d.ts +9 -0
- package/ui/chip/index.d.ts +1 -0
- package/ui/chip/src/chip.component.d.ts +34 -0
- package/ui/collapse-reorder-list/index.d.ts +1 -0
- package/ui/collapse-reorder-list/src/collapse-reorder-list.component.d.ts +21 -0
- package/ui/dxEditor/src/dx-editor.component.d.ts +11 -0
- package/ui/dxField/src/dx-field.component.d.ts +10 -0
- package/ui/editor/src/aril-editor.component.d.ts +28 -0
- package/ui/editor/src/types.d.ts +23 -0
- package/ui/field/src/field.component.d.ts +30 -0
- package/ui/fileUpload/src/file-upload.component.d.ts +49 -0
- package/ui/form/index.d.ts +11 -0
- package/ui/form/src/form-submit-button.component.d.ts +14 -0
- package/ui/form/src/form.component.d.ts +8 -0
- package/ui/img-viewer/index.d.ts +1 -0
- package/ui/img-viewer/src/img-viewer.component.d.ts +13 -0
- package/ui/index.d.ts +1 -0
- package/ui/json-diff-comparison/src/json-diff.component.d.ts +13 -0
- package/ui/lib/index.d.ts +12 -0
- package/ui/lib/src/form/form-error-message.component.d.ts +9 -0
- package/ui/lib/src/form/form-error-message.directive.d.ts +14 -0
- package/ui/lib/src/form/form-field-builder.d.ts +8 -0
- package/ui/lib/src/form/form-validation.d.ts +2 -0
- package/ui/lib/src/grid/enum-color-picker.pipe.d.ts +9 -0
- package/ui/lib/src/grid/flex-grid.directive.d.ts +6 -0
- package/ui/lib/src/input/baseInput.d.ts +7 -0
- package/ui/lib/src/input/common-input-validators.service.d.ts +20 -0
- package/ui/lib/src/input/dx-input-error-message.pipe.d.ts +11 -0
- package/ui/lib/src/input/input-disabled.directive.d.ts +9 -0
- package/ui/lib/src/input/input-error-message.pipe.d.ts +10 -0
- package/ui/lib/src/input/input-transforms.d.ts +5 -0
- package/ui/lib/src/input/value-accessor.directive.d.ts +9 -0
- package/ui/loader/src/loader.component.d.ts +5 -0
- package/ui/mask/src/mask.component.d.ts +21 -0
- package/ui/multiSelect/src/interfaces.d.ts +32 -0
- package/ui/multiSelect/src/multi-select.component.d.ts +28 -0
- package/ui/number/src/number.component.d.ts +29 -0
- package/ui/operation-types-dialog/src/operation-types-dialog.component.d.ts +33 -0
- package/ui/overlayPanel/src/overlay-panel.component.d.ts +8 -0
- package/ui/panel/src/panel.component.d.ts +14 -0
- package/ui/password/src/password.component.d.ts +11 -0
- package/ui/pdf-viewer/src/pdf-viewer.component.d.ts +19 -0
- package/ui/progressbar/src/progressbar.component.d.ts +8 -0
- package/ui/radioButton/src/radio-button.component.d.ts +22 -0
- package/ui/relativeDateSelector/index.d.ts +1 -0
- package/ui/relativeDateSelector/src/enum.d.ts +26 -0
- package/ui/relativeDateSelector/src/relative-date-selector.component.d.ts +61 -0
- package/ui/selectBox/src/interfaces.d.ts +32 -0
- package/ui/selectBox/src/select-box.component.d.ts +30 -0
- package/ui/switch/src/switch.component.d.ts +8 -0
- package/ui/table/index.d.ts +35 -0
- package/ui/table/src/export-overlay-panel.component.d.ts +39 -0
- package/ui/table/src/interfaces.d.ts +145 -0
- package/ui/table/src/table-column.component.d.ts +19 -0
- package/ui/table/src/table.component.d.ts +107 -0
- package/ui/table-expand/index.d.ts +20 -0
- package/ui/table-expand/src/table-column.component.d.ts +28 -0
- package/ui/table-expand/src/table-expand-area.component.d.ts +14 -0
- package/ui/table-expand/src/table.component.d.ts +47 -0
- package/ui/tag/index.d.ts +1 -0
- package/ui/tag/src/interface.d.ts +1 -0
- package/ui/tag/src/tag.component.d.ts +15 -0
- package/ui/tagBox/src/tag-box.component.d.ts +17 -0
- package/ui/text/src/text.component.d.ts +18 -0
- package/ui/textArea/src/text-area.component.d.ts +12 -0
- package/ui/toggle-button/index.d.ts +1 -0
- package/ui/toggle-button/src/toggle-button.component.d.ts +10 -0
- package/ui/tooltip/src/tooltip-component.d.ts +14 -0
- package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.d.ts +21 -0
- package/ui/translate-input/src/aril-lang-modal/constants.d.ts +2 -0
- package/ui/translate-input/src/aril-translate-input.component.d.ts +26 -0
- package/ui/translate-input/src/interface.d.ts +12 -0
- package/ui/tree/src/tree.component.d.ts +23 -0
- package/ui/treeSelect/src/treeSelect.component.d.ts +23 -0
- package/ui/treeTable/src/tree-table.component.d.ts +21 -0
- package/ui/value/src/value.component.d.ts +43 -0
- package/ui-business/assetPicker/index.d.ts +1 -0
- package/ui-business/assetPicker/src/asset-picker.component.d.ts +48 -0
- package/ui-business/assetPicker/src/interface.d.ts +74 -0
- package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.d.ts +31 -0
- package/ui-business/detailed-overlay-panel/src/interface.d.ts +54 -0
- package/ui-business/enumPicker/index.d.ts +1 -0
- package/ui-business/enumPicker/src/enum-picker.component.d.ts +47 -0
- package/ui-business/enumPicker/src/interface.d.ts +34 -0
- package/ui-business/image-viewer/index.d.ts +1 -0
- package/ui-business/image-viewer/src/aril-image-viewer.component.d.ts +20 -0
- package/ui-business/index.d.ts +1 -0
- package/ui-business/multiple-ref-value/src/multiple-ref-value.component.d.ts +16 -0
- package/ui-business/notification-templates-dialog/src/interface.d.ts +17 -0
- package/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.d.ts +18 -0
- package/ui-business/operation-types-dialog/src/operation-types-dialog.component.d.ts +28 -0
- package/ui-business/ref-value/src/ref-value.component.d.ts +20 -0
- package/ui-business/rolePicker/src/interface.d.ts +44 -0
- package/ui-business/rolePicker/src/role-picker.component.d.ts +25 -0
- package/ui-business/userPicker/index.d.ts +1 -0
- package/ui-business/userPicker/src/interface.d.ts +25 -0
- package/ui-business/userPicker/src/user-picker.component.d.ts +18 -0
- package/util/block/src/block.d.ts +28 -0
- package/util/custom_pages/src/notFound.component.d.ts +5 -0
- package/util/directives/src/detail-page-customization/detail-page-customization.directive.d.ts +26 -0
- package/util/directives/src/detail-page-customization/index.d.ts +2 -0
- package/util/directives/src/detail-page-customization/models.d.ts +53 -0
- package/util/directives/src/dialog-component/plugin-dialog.component.d.ts +11 -0
- package/util/directives/src/dialog-service/plugin-dialog.service.d.ts +7 -0
- package/util/index.d.ts +1 -0
- package/util/lib/src/interfaces.d.ts +41 -0
- package/util/lib/src/module-router.d.ts +5 -0
- package/util/lib/src/types.d.ts +2290 -0
- package/util/lib/src/validators/iban.validator.d.ts +7 -0
- package/util/lib/src/validators/max-array-length.validator.d.ts +7 -0
- package/util/lib/src/validators/min-array-length.validator.d.ts +7 -0
- package/util/lib/src/validators/tckn.validator.d.ts +7 -0
- package/util/lib/src/validators/validators.d.ts +7 -0
- package/util/loaders/index.d.ts +1 -0
- package/util/loaders/style/style.loader.service.d.ts +13 -0
- package/util/pipes/src/distance-to-now.pipe.d.ts +11 -0
- package/util/pipes/src/get-column-by-field.pipe.d.ts +11 -0
- package/util/pipes/src/parse.pipe.d.ts +7 -0
- package/util/pipes/src/round-number.pipe.d.ts +11 -0
- package/util/pipes/src/safe.pipe.d.ts +10 -0
- package/util/pipes/src/translate-json/index.d.ts +1 -0
- package/util/pipes/src/translate-json/translate-json.pipe.d.ts +10 -0
- package/util/primitive-extensions/src/date.extensions.d.ts +8 -0
- package/util/primitive-extensions/src/number.extensions.d.ts +12 -0
- package/util/primitive-extensions/src/string.extensions.d.ts +11 -0
- package/util/pub-sub/src/pub-sub.service.d.ts +21 -0
- package/util/sync-active-tab-route/src/sync-active-tab-route.directive.d.ts +17 -0
- package/util/unwrap/src/unwrap-tag.directive.d.ts +9 -0
- package/.eslintrc.json +0 -41
- package/boot/config/api/ng-package.json +0 -6
- package/boot/config/api/src/api.sample.json +0 -8
- package/boot/config/api/src/api.service.ts +0 -91
- package/boot/config/api/src/interfaces.ts +0 -65
- package/boot/config/apps/ng-package.json +0 -6
- package/boot/config/apps/src/apps.service.ts +0 -62
- package/boot/config/apps/src/auth.guard.ts +0 -22
- package/boot/config/apps/src/interfaces.ts +0 -58
- package/boot/config/apps/src/reuse-strategy.ts +0 -10
- package/boot/config/apps/src/showdowDOMWrapper.ts +0 -28
- package/boot/config/plugins/ng-package.json +0 -6
- package/boot/config/plugins/src/getNgZone.ts +0 -7
- package/boot/config/plugins/src/interfaces.ts +0 -75
- package/boot/config/plugins/src/plugins.service.ts +0 -110
- package/boot/config/translate/constants.ts +0 -4
- package/boot/config/translate/ng-package.json +0 -6
- package/boot/config/translate/primeng/i18n/tr.ts +0 -59
- package/boot/host/ng-package.json +0 -6
- package/boot/host/src/app.component.ts +0 -51
- package/boot/host/src/bootstrap.ts +0 -87
- package/boot/index.ts +0 -1
- package/boot/mfe/ng-package.json +0 -6
- package/boot/mfe/src/app.component.ts +0 -63
- package/boot/mfe/src/appComponentLoader.ts +0 -4
- package/boot/mfe/src/bootstrap.ts +0 -97
- package/boot/mfe/src/loadStyles.ts +0 -42
- package/boot/mfe/src/monaco.config.ts +0 -266
- package/boot/ng-package.json +0 -6
- package/http/index.ts +0 -13
- package/http/lib/enums.ts +0 -31
- package/http/lib/interfaces.ts +0 -46
- package/http/ng-package.json +0 -6
- package/http/src/httpBackend.ts +0 -12
- package/http/src/httpClient.ts +0 -20
- package/http/src/interceptor/accept-language.interceptor.ts +0 -32
- package/http/src/serviceBase.ts +0 -175
- package/http/src/serviceMockBase.ts +0 -12
- package/http/src/serviceRequest.ts +0 -28
- package/http/src/serviceStateMethods.ts +0 -211
- package/i18n/ng-package.json +0 -6
- package/i18n/src/folder-name-token.ts +0 -3
- package/i18n/src/i18n.module.ts +0 -11
- package/i18n/src/loader.ts +0 -13
- package/i18n/src/provideI18n.ts +0 -18
- package/i18n/src/provideScope.ts +0 -20
- package/keycloak/index.ts +0 -1
- package/keycloak/ng-package.json +0 -6
- package/keycloak/src/auth.interceptor.ts +0 -103
- package/ng-package.json +0 -16
- package/project.json +0 -39
- package/provider/ng-package.json +0 -6
- package/provider/src/index.ts +0 -5
- package/provider/src/prodiveHost.ts +0 -15
- package/provider/src/prodiveHostRouter.ts +0 -21
- package/provider/src/provideHostKeycloak.ts +0 -34
- package/provider/src/provideLocaleId.ts +0 -22
- package/tsconfig.lib.json +0 -12
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -9
- package/ui/autoComplete/ng-package.json +0 -6
- package/ui/autoComplete/src/auto-complete.component.html +0 -14
- package/ui/autoComplete/src/auto-complete.component.ts +0 -130
- package/ui/autoComplete/src/interfaces.ts +0 -35
- package/ui/badge/ng-package.json +0 -6
- package/ui/badge/src/badge.component.html +0 -11
- package/ui/badge/src/badge.component.ts +0 -63
- package/ui/button/ng-package.json +0 -6
- package/ui/button/src/button.component.html +0 -12
- package/ui/button/src/button.component.ts +0 -47
- package/ui/button/src/split-button.component.html +0 -2
- package/ui/button/src/split-button.component.ts +0 -17
- package/ui/calendar/ng-package.json +0 -6
- package/ui/calendar/src/calendar.component.html +0 -48
- package/ui/calendar/src/calendar.component.ts +0 -257
- package/ui/charts/index.ts +0 -13
- package/ui/charts/ng-package.json +0 -6
- package/ui/charts/src/amCharts/column/column-chart.component.ts +0 -144
- package/ui/charts/src/amCharts/line/line-chart.component.ts +0 -194
- package/ui/charts/src/amCharts/pie/pie-chart.component.ts +0 -132
- package/ui/charts/src/highCharts/area/area-chart.component.ts +0 -112
- package/ui/charts/src/highCharts/bar/bar-chart.component.ts +0 -100
- package/ui/charts/src/highCharts/bar/bar-chart.components.scss +0 -50
- package/ui/charts/src/highCharts/column/column-chart.component copy.ts +0 -50
- package/ui/charts/src/highCharts/column/column-chart.component.ts +0 -125
- package/ui/charts/src/highCharts/column/column-chart.components.scss +0 -50
- package/ui/charts/src/highCharts/gauge/solid-gauge.component.ts +0 -199
- package/ui/charts/src/highCharts/heatmap/heatMap-chart.component.ts +0 -279
- package/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.ts +0 -185
- package/ui/charts/src/highCharts/line/line-chart-series.component.ts +0 -92
- package/ui/charts/src/highCharts/line/line-chart.component.ts +0 -85
- package/ui/charts/src/highCharts/pie/pie-chart.component.ts +0 -139
- package/ui/charts/src/theme/theme.ts +0 -55
- package/ui/checkbox/ng-package.json +0 -6
- package/ui/checkbox/src/check-box.component.html +0 -15
- package/ui/checkbox/src/check-box.component.ts +0 -24
- package/ui/checkbox/src/tri-state-checkbox.component.html +0 -7
- package/ui/checkbox/src/tri-state-checkbox.component.ts +0 -20
- package/ui/chip/index.ts +0 -1
- package/ui/chip/ng-package.json +0 -6
- package/ui/chip/src/chip.component.html +0 -33
- package/ui/chip/src/chip.component.ts +0 -144
- package/ui/collapse-reorder-list/index.ts +0 -1
- package/ui/collapse-reorder-list/ng-package.json +0 -6
- package/ui/collapse-reorder-list/src/collapse-reorder-list.component.html +0 -42
- package/ui/collapse-reorder-list/src/collapse-reorder-list.component.scss +0 -24
- package/ui/collapse-reorder-list/src/collapse-reorder-list.component.ts +0 -56
- package/ui/dxEditor/ng-package.json +0 -6
- package/ui/dxEditor/src/dx-editor.component.html +0 -67
- package/ui/dxEditor/src/dx-editor.component.ts +0 -19
- package/ui/dxField/ng-package.json +0 -6
- package/ui/dxField/src/dx-field.component.html +0 -15
- package/ui/dxField/src/dx-field.component.ts +0 -17
- package/ui/editor/ng-package.json +0 -6
- package/ui/editor/src/aril-editor.component.html +0 -16
- package/ui/editor/src/aril-editor.component.scss +0 -18
- package/ui/editor/src/aril-editor.component.ts +0 -176
- package/ui/editor/src/types.ts +0 -24
- package/ui/field/ng-package.json +0 -6
- package/ui/field/src/field.component.html +0 -27
- package/ui/field/src/field.component.ts +0 -53
- package/ui/fileUpload/ng-package.json +0 -6
- package/ui/fileUpload/src/file-upload.component.html +0 -76
- package/ui/fileUpload/src/file-upload.component.ts +0 -90
- package/ui/form/index.ts +0 -18
- package/ui/form/ng-package.json +0 -6
- package/ui/form/src/form-submit-button.component.html +0 -12
- package/ui/form/src/form-submit-button.component.ts +0 -36
- package/ui/form/src/form.component.ts +0 -20
- package/ui/img-viewer/index.ts +0 -2
- package/ui/img-viewer/ng-package.json +0 -6
- package/ui/img-viewer/src/img-viewer.component.html +0 -12
- package/ui/img-viewer/src/img-viewer.component.scss +0 -8
- package/ui/img-viewer/src/img-viewer.component.ts +0 -59
- package/ui/index.ts +0 -1
- package/ui/json-diff-comparison/ng-package.json +0 -6
- package/ui/json-diff-comparison/src/json-diff.component.html +0 -5
- package/ui/json-diff-comparison/src/json-diff.component.ts +0 -45
- package/ui/lib/index.ts +0 -17
- package/ui/lib/ng-package.json +0 -6
- package/ui/lib/src/form/form-error-message.component.ts +0 -25
- package/ui/lib/src/form/form-error-message.directive.ts +0 -32
- package/ui/lib/src/form/form-field-builder.ts +0 -31
- package/ui/lib/src/form/form-validation.ts +0 -14
- package/ui/lib/src/grid/enum-color-picker.pipe.ts +0 -33
- package/ui/lib/src/grid/flex-grid.directive.ts +0 -10
- package/ui/lib/src/input/baseInput.ts +0 -30
- package/ui/lib/src/input/common-input-validators.service.ts +0 -57
- package/ui/lib/src/input/dx-input-error-message.pipe.ts +0 -16
- package/ui/lib/src/input/input-disabled.directive.ts +0 -15
- package/ui/lib/src/input/input-error-message.pipe.ts +0 -71
- package/ui/lib/src/input/input-transforms.ts +0 -11
- package/ui/lib/src/input/value-accessor.directive.ts +0 -31
- package/ui/loader/ng-package.json +0 -6
- package/ui/loader/src/loader.component.html +0 -7
- package/ui/loader/src/loader.component.scss +0 -6
- package/ui/loader/src/loader.component.ts +0 -14
- package/ui/mask/ng-package.json +0 -6
- package/ui/mask/src/mask.component.css +0 -23
- package/ui/mask/src/mask.component.html +0 -17
- package/ui/mask/src/mask.component.ts +0 -34
- package/ui/multiSelect/ng-package.json +0 -6
- package/ui/multiSelect/src/interfaces.ts +0 -41
- package/ui/multiSelect/src/multi-select.component.html +0 -14
- package/ui/multiSelect/src/multi-select.component.ts +0 -66
- package/ui/ng-package.json +0 -6
- package/ui/number/ng-package.json +0 -6
- package/ui/number/src/number.component.html +0 -26
- package/ui/number/src/number.component.ts +0 -36
- package/ui/operation-types-dialog/ng-package.json +0 -6
- package/ui/operation-types-dialog/src/operation-types-dialog.component.ts +0 -98
- package/ui/overlayPanel/ng-package.json +0 -6
- package/ui/overlayPanel/src/overlay-panel.component.html +0 -5
- package/ui/overlayPanel/src/overlay-panel.component.ts +0 -16
- package/ui/panel/ng-package.json +0 -6
- package/ui/panel/src/panel.component.css +0 -38
- package/ui/panel/src/panel.component.html +0 -44
- package/ui/panel/src/panel.component.ts +0 -31
- package/ui/password/ng-package.json +0 -6
- package/ui/password/src/password.component.html +0 -25
- package/ui/password/src/password.component.ts +0 -22
- package/ui/pdf-viewer/ng-package.json +0 -6
- package/ui/pdf-viewer/src/pdf-viewer.component.html +0 -16
- package/ui/pdf-viewer/src/pdf-viewer.component.scss +0 -8
- package/ui/pdf-viewer/src/pdf-viewer.component.ts +0 -28
- package/ui/progressbar/dist/index.js +0 -13
- package/ui/progressbar/ng-package.json +0 -6
- package/ui/progressbar/src/dist/progressbar.component.js +0 -28
- package/ui/progressbar/src/progressbar.component.html +0 -1
- package/ui/progressbar/src/progressbar.component.ts +0 -18
- package/ui/radioButton/ng-package.json +0 -6
- package/ui/radioButton/src/radio-button.component.html +0 -23
- package/ui/radioButton/src/radio-button.component.scss +0 -17
- package/ui/radioButton/src/radio-button.component.ts +0 -39
- package/ui/relativeDateSelector/index.ts +0 -1
- package/ui/relativeDateSelector/ng-package.json +0 -6
- package/ui/relativeDateSelector/src/enum.ts +0 -29
- package/ui/relativeDateSelector/src/relative-date-selector.component.html +0 -118
- package/ui/relativeDateSelector/src/relative-date-selector.component.scss +0 -154
- package/ui/relativeDateSelector/src/relative-date-selector.component.ts +0 -291
- package/ui/selectBox/ng-package.json +0 -6
- package/ui/selectBox/src/interfaces.ts +0 -41
- package/ui/selectBox/src/select-box.component.html +0 -19
- package/ui/selectBox/src/select-box.component.ts +0 -79
- package/ui/styles/ui.common.scss +0 -42
- package/ui/switch/ng-package.json +0 -6
- package/ui/switch/src/switch.component.html +0 -7
- package/ui/switch/src/switch.component.ts +0 -18
- package/ui/table/index.ts +0 -76
- package/ui/table/ng-package.json +0 -6
- package/ui/table/src/export-overlay-panel.component.ts +0 -330
- package/ui/table/src/interfaces.ts +0 -162
- package/ui/table/src/table-column.component.ts +0 -22
- package/ui/table/src/table.component.html +0 -404
- package/ui/table/src/table.component.scss +0 -15
- package/ui/table/src/table.component.ts +0 -368
- package/ui/table-expand/index.ts +0 -41
- package/ui/table-expand/ng-package.json +0 -6
- package/ui/table-expand/src/table-column.component.ts +0 -32
- package/ui/table-expand/src/table-expand-area.component.ts +0 -18
- package/ui/table-expand/src/table.component.html +0 -101
- package/ui/table-expand/src/table.component.ts +0 -92
- package/ui/tag/index.ts +0 -1
- package/ui/tag/ng-package.json +0 -6
- package/ui/tag/src/interface.ts +0 -1
- package/ui/tag/src/tag.component.html +0 -9
- package/ui/tag/src/tag.component.ts +0 -17
- package/ui/tagBox/ng-package.json +0 -6
- package/ui/tagBox/src/tag-box.component.html +0 -26
- package/ui/tagBox/src/tag-box.component.ts +0 -56
- package/ui/text/ng-package.json +0 -6
- package/ui/text/src/text.component.html +0 -21
- package/ui/text/src/text.component.ts +0 -55
- package/ui/textArea/ng-package.json +0 -6
- package/ui/textArea/src/text-area.component.html +0 -12
- package/ui/textArea/src/text-area.component.ts +0 -22
- package/ui/toggle-button/index.ts +0 -1
- package/ui/toggle-button/ng-package.json +0 -6
- package/ui/toggle-button/src/toggle-button.component.html +0 -13
- package/ui/toggle-button/src/toggle-button.component.scss +0 -19
- package/ui/toggle-button/src/toggle-button.component.ts +0 -22
- package/ui/tooltip/ng-package.json +0 -6
- package/ui/tooltip/src/tooltip-component.html +0 -10
- package/ui/tooltip/src/tooltip-component.ts +0 -20
- package/ui/translate-input/ng-package.json +0 -6
- package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.html +0 -46
- package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.scss +0 -9
- package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.ts +0 -74
- package/ui/translate-input/src/aril-lang-modal/constants.ts +0 -16
- package/ui/translate-input/src/aril-translate-input.component.ts +0 -152
- package/ui/translate-input/src/interface.ts +0 -14
- package/ui/tree/ng-package.json +0 -6
- package/ui/tree/src/tree.component.html +0 -17
- package/ui/tree/src/tree.component.ts +0 -65
- package/ui/treeSelect/ng-package.json +0 -6
- package/ui/treeSelect/src/treeSelect.component.html +0 -18
- package/ui/treeSelect/src/treeSelect.component.ts +0 -43
- package/ui/treeTable/ng-package.json +0 -6
- package/ui/treeTable/src/tree-table.component.html +0 -88
- package/ui/treeTable/src/tree-table.component.ts +0 -57
- package/ui/value/ng-package.json +0 -6
- package/ui/value/src/value.component.html +0 -94
- package/ui/value/src/value.component.scss +0 -6
- package/ui/value/src/value.component.ts +0 -268
- package/ui-business/assetPicker/index.ts +0 -1
- package/ui-business/assetPicker/ng-package.json +0 -6
- package/ui-business/assetPicker/src/asset-picker.component.html +0 -29
- package/ui-business/assetPicker/src/asset-picker.component.ts +0 -259
- package/ui-business/assetPicker/src/interface.ts +0 -83
- package/ui-business/detailed-overlay-panel/ng-package.json +0 -6
- package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.html +0 -52
- package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.scss +0 -19
- package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.ts +0 -66
- package/ui-business/detailed-overlay-panel/src/interface.ts +0 -62
- package/ui-business/enumPicker/index.ts +0 -1
- package/ui-business/enumPicker/ng-package.json +0 -6
- package/ui-business/enumPicker/src/enum-picker.component.html +0 -39
- package/ui-business/enumPicker/src/enum-picker.component.ts +0 -147
- package/ui-business/enumPicker/src/interface.ts +0 -44
- package/ui-business/image-viewer/index.ts +0 -1
- package/ui-business/image-viewer/ng-package.json +0 -6
- package/ui-business/image-viewer/src/aril-image-viewer.component.ts +0 -92
- package/ui-business/index.ts +0 -1
- package/ui-business/multiple-ref-value/ng-package.json +0 -6
- package/ui-business/multiple-ref-value/src/multiple-ref-value.component.html +0 -26
- package/ui-business/multiple-ref-value/src/multiple-ref-value.component.ts +0 -21
- package/ui-business/ng-package.json +0 -6
- package/ui-business/notification-templates-dialog/ng-package.json +0 -6
- package/ui-business/notification-templates-dialog/src/interface.ts +0 -18
- package/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.html +0 -31
- package/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.ts +0 -69
- package/ui-business/operation-types-dialog/ng-package.json +0 -6
- package/ui-business/operation-types-dialog/src/operation-types-dialog.component.ts +0 -78
- package/ui-business/ref-value/ng-package.json +0 -6
- package/ui-business/ref-value/src/ref-value.component.html +0 -29
- package/ui-business/ref-value/src/ref-value.component.ts +0 -41
- package/ui-business/rolePicker/ng-package.json +0 -6
- package/ui-business/rolePicker/src/interface.ts +0 -56
- package/ui-business/rolePicker/src/role-picker.component.html +0 -21
- package/ui-business/rolePicker/src/role-picker.component.ts +0 -88
- package/ui-business/userPicker/index.ts +0 -1
- package/ui-business/userPicker/ng-package.json +0 -6
- package/ui-business/userPicker/src/interface.ts +0 -27
- package/ui-business/userPicker/src/user-picker.component.html +0 -20
- package/ui-business/userPicker/src/user-picker.component.ts +0 -52
- package/util/block/ng-package.json +0 -6
- package/util/block/src/block.ts +0 -65
- package/util/block/src/blockui.css +0 -56
- package/util/block/src/blockui.min.js +0 -7
- package/util/custom_pages/ng-package.json +0 -6
- package/util/custom_pages/src/notFound.component.ts +0 -34
- package/util/directives/ng-package.json +0 -6
- package/util/directives/src/detail-page-customization/detail-page-customization.directive.md +0 -199
- package/util/directives/src/detail-page-customization/detail-page-customization.directive.ts +0 -343
- package/util/directives/src/detail-page-customization/index.ts +0 -2
- package/util/directives/src/detail-page-customization/models.ts +0 -61
- package/util/directives/src/dialog-component/plugin-dialog.component.ts +0 -22
- package/util/directives/src/dialog-service/plugin-dialog.service.ts +0 -12
- package/util/index.ts +0 -1
- package/util/lib/ng-package.json +0 -6
- package/util/lib/src/interfaces.ts +0 -44
- package/util/lib/src/module-router.ts +0 -9
- package/util/lib/src/types.ts +0 -61
- package/util/lib/src/validators/iban.validator.ts +0 -202
- package/util/lib/src/validators/max-array-length.validator.ts +0 -18
- package/util/lib/src/validators/min-array-length.validator.ts +0 -18
- package/util/lib/src/validators/tckn.validator.ts +0 -55
- package/util/lib/src/validators/validators.ts +0 -21
- package/util/loaders/index.ts +0 -1
- package/util/loaders/ng-package.json +0 -6
- package/util/loaders/style/style.loader.service.ts +0 -69
- package/util/ng-package.json +0 -6
- package/util/pipes/ng-package.json +0 -6
- package/util/pipes/src/distance-to-now.pipe.ts +0 -37
- package/util/pipes/src/get-column-by-field.pipe.ts +0 -11
- package/util/pipes/src/parse.pipe.ts +0 -15
- package/util/pipes/src/round-number.pipe.ts +0 -75
- package/util/pipes/src/safe.pipe.ts +0 -27
- package/util/pipes/src/translate-json/index.ts +0 -1
- package/util/pipes/src/translate-json/translate-json.pipe.ts +0 -34
- package/util/primitive-extensions/ng-package.json +0 -6
- package/util/primitive-extensions/src/date.extensions.ts +0 -135
- package/util/primitive-extensions/src/number.extensions.ts +0 -57
- package/util/primitive-extensions/src/string.extensions.ts +0 -39
- package/util/pub-sub/ng-package.json +0 -6
- package/util/pub-sub/src/pub-sub.service.ts +0 -35
- package/util/sync-active-tab-route/ng-package.json +0 -6
- package/util/sync-active-tab-route/src/sync-active-tab-route.directive.ts +0 -47
- package/util/unwrap/ng-package.json +0 -6
- package/util/unwrap/src/unwrap-tag.directive.ts +0 -18
- /package/boot/config/api/{index.ts → index.d.ts} +0 -0
- /package/boot/config/apps/{index.ts → index.d.ts} +0 -0
- /package/boot/config/plugins/{index.ts → index.d.ts} +0 -0
- /package/boot/config/translate/{index.ts → index.d.ts} +0 -0
- /package/boot/host/{index.ts → index.d.ts} +0 -0
- /package/boot/mfe/{index.ts → index.d.ts} +0 -0
- /package/i18n/{index.ts → index.d.ts} +0 -0
- /package/provider/{index.ts → index.d.ts} +0 -0
- /package/{public-api.ts → public-api.d.ts} +0 -0
- /package/ui/autoComplete/{index.ts → index.d.ts} +0 -0
- /package/ui/badge/{index.ts → index.d.ts} +0 -0
- /package/ui/button/{index.ts → index.d.ts} +0 -0
- /package/ui/calendar/{index.ts → index.d.ts} +0 -0
- /package/ui/checkbox/{index.ts → index.d.ts} +0 -0
- /package/ui/dxEditor/{index.ts → index.d.ts} +0 -0
- /package/ui/dxField/{index.ts → index.d.ts} +0 -0
- /package/ui/editor/{index.ts → index.d.ts} +0 -0
- /package/ui/field/{index.ts → index.d.ts} +0 -0
- /package/ui/fileUpload/{index.ts → index.d.ts} +0 -0
- /package/ui/json-diff-comparison/{index.ts → index.d.ts} +0 -0
- /package/ui/loader/{index.ts → index.d.ts} +0 -0
- /package/ui/mask/{index.ts → index.d.ts} +0 -0
- /package/ui/multiSelect/{index.ts → index.d.ts} +0 -0
- /package/ui/number/{index.ts → index.d.ts} +0 -0
- /package/ui/operation-types-dialog/{index.ts → index.d.ts} +0 -0
- /package/ui/overlayPanel/{index.ts → index.d.ts} +0 -0
- /package/ui/panel/{index.ts → index.d.ts} +0 -0
- /package/ui/password/{index.ts → index.d.ts} +0 -0
- /package/ui/pdf-viewer/{index.ts → index.d.ts} +0 -0
- /package/ui/progressbar/{index.ts → index.d.ts} +0 -0
- /package/ui/radioButton/{index.ts → index.d.ts} +0 -0
- /package/ui/selectBox/{index.ts → index.d.ts} +0 -0
- /package/ui/switch/{index.ts → index.d.ts} +0 -0
- /package/ui/tagBox/{index.ts → index.d.ts} +0 -0
- /package/ui/text/{index.ts → index.d.ts} +0 -0
- /package/ui/textArea/{index.ts → index.d.ts} +0 -0
- /package/ui/tooltip/{index.ts → index.d.ts} +0 -0
- /package/ui/translate-input/{index.ts → index.d.ts} +0 -0
- /package/ui/tree/{index.ts → index.d.ts} +0 -0
- /package/ui/treeSelect/{index.ts → index.d.ts} +0 -0
- /package/ui/treeTable/{index.ts → index.d.ts} +0 -0
- /package/ui/value/{index.ts → index.d.ts} +0 -0
- /package/ui-business/detailed-overlay-panel/{index.ts → index.d.ts} +0 -0
- /package/ui-business/multiple-ref-value/{index.ts → index.d.ts} +0 -0
- /package/ui-business/notification-templates-dialog/{index.ts → index.d.ts} +0 -0
- /package/ui-business/operation-types-dialog/{index.ts → index.d.ts} +0 -0
- /package/ui-business/ref-value/{index.ts → index.d.ts} +0 -0
- /package/ui-business/rolePicker/{index.ts → index.d.ts} +0 -0
- /package/util/block/{index.ts → index.d.ts} +0 -0
- /package/util/custom_pages/{index.ts → index.d.ts} +0 -0
- /package/util/directives/{index.ts → index.d.ts} +0 -0
- /package/util/lib/{index.ts → index.d.ts} +0 -0
- /package/util/lib/src/validators/{index.ts → index.d.ts} +0 -0
- /package/util/pipes/{index.ts → index.d.ts} +0 -0
- /package/util/primitive-extensions/{index.ts → index.d.ts} +0 -0
- /package/util/primitive-extensions/src/{boolean.extensions.ts → boolean.extensions.d.ts} +0 -0
- /package/util/pub-sub/{index.ts → index.d.ts} +0 -0
- /package/util/sync-active-tab-route/{index.ts → index.d.ts} +0 -0
- /package/util/unwrap/{index.ts → index.d.ts} +0 -0
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, Input, input, Directive, HostBinding, Pipe, inject, Injectable } from '@angular/core';
|
|
3
|
+
import * as i1 from 'primeng/messages';
|
|
4
|
+
import { MessagesModule } from 'primeng/messages';
|
|
5
|
+
import * as i1$2 from '@angular/forms';
|
|
6
|
+
import { FormControl, FormGroup, FormArray, NgControl, NgModel, FormControlName, FormControlDirective, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
7
|
+
import 'aril/util/primitive-extensions';
|
|
8
|
+
import * as i1$1 from '@ngneat/transloco';
|
|
9
|
+
import { PrimeIcons } from 'primeng/api';
|
|
10
|
+
|
|
11
|
+
class FormErrorMessagesComponent {
|
|
12
|
+
set messages(messages) {
|
|
13
|
+
this._pMessages = Object.values(messages).map((msg) => {
|
|
14
|
+
return { severity: 'error', summary: '', detail: msg };
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormErrorMessagesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: FormErrorMessagesComponent, isStandalone: true, selector: "ng-component", inputs: { messages: "messages" }, ngImport: i0, template: `
|
|
19
|
+
<div class="flex gap-2 formErrorMessage">
|
|
20
|
+
<p-messages [(value)]="_pMessages" [enableService]="false" [closable]="false"></p-messages>
|
|
21
|
+
</div>
|
|
22
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: MessagesModule }, { kind: "component", type: i1.Messages, selector: "p-messages", inputs: ["value", "closable", "style", "styleClass", "enableService", "key", "escape", "severity", "showTransitionOptions", "hideTransitionOptions"], outputs: ["valueChange", "onClose"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormErrorMessagesComponent, decorators: [{
|
|
25
|
+
type: Component,
|
|
26
|
+
args: [{
|
|
27
|
+
standalone: true,
|
|
28
|
+
imports: [MessagesModule],
|
|
29
|
+
template: `
|
|
30
|
+
<div class="flex gap-2 formErrorMessage">
|
|
31
|
+
<p-messages [(value)]="_pMessages" [enableService]="false" [closable]="false"></p-messages>
|
|
32
|
+
</div>
|
|
33
|
+
`,
|
|
34
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
35
|
+
}]
|
|
36
|
+
}], propDecorators: { messages: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}] } });
|
|
39
|
+
|
|
40
|
+
/* eslint-disable @angular-eslint/directive-selector */
|
|
41
|
+
class FormErrorMessageDirective {
|
|
42
|
+
constructor(viewContainerRef) {
|
|
43
|
+
this.viewContainerRef = viewContainerRef;
|
|
44
|
+
this.formErrorMessage = input.required();
|
|
45
|
+
this.errorKeys = [];
|
|
46
|
+
}
|
|
47
|
+
ngOnInit() {
|
|
48
|
+
this.formErrorMessage().statusChanges.subscribe((status) => {
|
|
49
|
+
if (this.componentRef)
|
|
50
|
+
this.viewContainerRef.remove();
|
|
51
|
+
if (status === 'INVALID') {
|
|
52
|
+
if (this.formErrorMessage().errors) {
|
|
53
|
+
this.componentRef = this.viewContainerRef.createComponent(FormErrorMessagesComponent);
|
|
54
|
+
this.componentRef.instance.messages = this.formErrorMessage().errors;
|
|
55
|
+
this.viewContainerRef.insert(this.componentRef.hostView);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormErrorMessageDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
61
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.1.2", type: FormErrorMessageDirective, isStandalone: true, selector: "[formErrorMessage]", inputs: { formErrorMessage: { classPropertyName: "formErrorMessage", publicName: "formErrorMessage", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
62
|
+
}
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormErrorMessageDirective, decorators: [{
|
|
64
|
+
type: Directive,
|
|
65
|
+
args: [{
|
|
66
|
+
standalone: true,
|
|
67
|
+
selector: '[formErrorMessage]'
|
|
68
|
+
}]
|
|
69
|
+
}], ctorParameters: () => [{ type: i0.ViewContainerRef }] });
|
|
70
|
+
|
|
71
|
+
const checkValidInputs = (formGroup) => {
|
|
72
|
+
Object.keys(formGroup.controls).forEach((field) => {
|
|
73
|
+
const control = formGroup.get(field);
|
|
74
|
+
if (control instanceof FormControl) {
|
|
75
|
+
control.markAsTouched({ onlySelf: true });
|
|
76
|
+
control.markAsDirty({ onlySelf: true });
|
|
77
|
+
}
|
|
78
|
+
else if (control instanceof FormGroup || control instanceof FormArray) {
|
|
79
|
+
checkValidInputs(control);
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
const addControlsWithValidation = (form, controls) => {
|
|
85
|
+
controls.forEach((control) => {
|
|
86
|
+
if (!form.contains(control.name)) {
|
|
87
|
+
form.addControl(control.name, new FormControl({ value: null, disabled: control?.disabled || false }, control.validator));
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
};
|
|
91
|
+
const removeControls = (form, controlNames) => {
|
|
92
|
+
controlNames.forEach((controlName) => {
|
|
93
|
+
if (form.contains(controlName)) {
|
|
94
|
+
form.removeControl(controlName);
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
};
|
|
98
|
+
const updateValueAndValidities = (form, controlNames) => {
|
|
99
|
+
controlNames.forEach((controlName) => {
|
|
100
|
+
if (form.contains(controlName)) {
|
|
101
|
+
form.get(controlName)?.updateValueAndValidity();
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
/* eslint-disable @angular-eslint/directive-selector */
|
|
107
|
+
class FlexGridDirective {
|
|
108
|
+
constructor() {
|
|
109
|
+
this.hostClass = 'grid p-fluid m-0 p-0';
|
|
110
|
+
}
|
|
111
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FlexGridDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
112
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.2", type: FlexGridDirective, isStandalone: true, selector: "[flexGrid]", host: { properties: { "class": "this.hostClass" } }, ngImport: i0 }); }
|
|
113
|
+
}
|
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FlexGridDirective, decorators: [{
|
|
115
|
+
type: Directive,
|
|
116
|
+
args: [{
|
|
117
|
+
standalone: true,
|
|
118
|
+
selector: '[flexGrid]'
|
|
119
|
+
}]
|
|
120
|
+
}], propDecorators: { hostClass: [{
|
|
121
|
+
type: HostBinding,
|
|
122
|
+
args: ['class']
|
|
123
|
+
}] } });
|
|
124
|
+
|
|
125
|
+
class EnumColorPickerPipe {
|
|
126
|
+
constructor() {
|
|
127
|
+
this.enumColorList = [
|
|
128
|
+
'#74C2E6',
|
|
129
|
+
'#5EBAE0',
|
|
130
|
+
'#2C9CCB',
|
|
131
|
+
'#1D7DAC',
|
|
132
|
+
'#19658B',
|
|
133
|
+
'#185574',
|
|
134
|
+
'#7D85FC',
|
|
135
|
+
'#5957F5',
|
|
136
|
+
'#194761',
|
|
137
|
+
'#5141EA'
|
|
138
|
+
];
|
|
139
|
+
}
|
|
140
|
+
transform(name) {
|
|
141
|
+
const nameHash = this.getNameHash(String(name));
|
|
142
|
+
return this.enumColorList[nameHash % this.enumColorList.length];
|
|
143
|
+
}
|
|
144
|
+
getNameHash(name) {
|
|
145
|
+
return ([...name].reduce((acc, char, index) => acc + char.charCodeAt(0) * (index + 1), 0) % this.enumColorList.length);
|
|
146
|
+
}
|
|
147
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: EnumColorPickerPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
148
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.1.2", ngImport: i0, type: EnumColorPickerPipe, isStandalone: true, name: "enumColorPicker" }); }
|
|
149
|
+
}
|
|
150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: EnumColorPickerPipe, decorators: [{
|
|
151
|
+
type: Pipe,
|
|
152
|
+
args: [{
|
|
153
|
+
standalone: true,
|
|
154
|
+
name: 'enumColorPicker'
|
|
155
|
+
}]
|
|
156
|
+
}] });
|
|
157
|
+
|
|
158
|
+
class BaseInputComponent {
|
|
159
|
+
constructor() {
|
|
160
|
+
this.ngControl = injectNgControl();
|
|
161
|
+
this.tooltipOptions = {
|
|
162
|
+
tooltipPosition: 'top',
|
|
163
|
+
tooltipEvent: 'focus',
|
|
164
|
+
tooltipStyleClass: 'tooltipErrorMessage'
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
function injectNgControl() {
|
|
169
|
+
const ngControl = inject(NgControl, { self: true, optional: true });
|
|
170
|
+
if (!ngControl)
|
|
171
|
+
throw new Error('NgModel or FormControlName or FormControlDirective is required');
|
|
172
|
+
if (ngControl instanceof NgModel ||
|
|
173
|
+
ngControl instanceof FormControlName ||
|
|
174
|
+
ngControl instanceof FormControlDirective) {
|
|
175
|
+
return ngControl;
|
|
176
|
+
}
|
|
177
|
+
throw new Error('Something went wrong in InjectNgControl');
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
class CommonInputValidatorsService {
|
|
181
|
+
/**
|
|
182
|
+
* @param sdCtrlName - name of the start date form control
|
|
183
|
+
* @param edCtrlName - name of the end date form control
|
|
184
|
+
* @param rangeValue - range between start and end date. Default value is 1
|
|
185
|
+
* @param rangeFormat - format of the range. Default value is "day"
|
|
186
|
+
*/
|
|
187
|
+
dateRange(sdCtrlName, edCtrlName, rangeValue = 0, rangeFormat = 'day') {
|
|
188
|
+
return (control) => {
|
|
189
|
+
const start = control.get(sdCtrlName)?.value;
|
|
190
|
+
const end = control.get(edCtrlName)?.value;
|
|
191
|
+
const startJSDate = start.longToDate();
|
|
192
|
+
const endJSDate = end.longToDate();
|
|
193
|
+
if (startJSDate && endJSDate) {
|
|
194
|
+
const isRangeValid = endJSDate.getTime() - startJSDate.getTime() > rangeValue;
|
|
195
|
+
return isRangeValid ? null : ({ dateRange: `The end date must be at least ${rangeValue} ${rangeFormat} bigger than the start date` });
|
|
196
|
+
}
|
|
197
|
+
return null;
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* @description - pasword match vs.
|
|
202
|
+
*/
|
|
203
|
+
strictMatch(controlName, matchingControlName) {
|
|
204
|
+
return (control) => {
|
|
205
|
+
const firstField = control.get(controlName);
|
|
206
|
+
const secondField = control.get(matchingControlName);
|
|
207
|
+
if (!firstField || !secondField) {
|
|
208
|
+
return null;
|
|
209
|
+
}
|
|
210
|
+
if (firstField.value !== secondField.value) {
|
|
211
|
+
return { strictMatch: `${controlName} and ${matchingControlName} do not match` };
|
|
212
|
+
}
|
|
213
|
+
return null;
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CommonInputValidatorsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
217
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CommonInputValidatorsService, providedIn: 'root' }); }
|
|
218
|
+
}
|
|
219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CommonInputValidatorsService, decorators: [{
|
|
220
|
+
type: Injectable,
|
|
221
|
+
args: [{
|
|
222
|
+
providedIn: 'root'
|
|
223
|
+
}]
|
|
224
|
+
}] });
|
|
225
|
+
|
|
226
|
+
class InputErrorMessagePipe {
|
|
227
|
+
constructor(translocoService) {
|
|
228
|
+
this.translocoService = translocoService;
|
|
229
|
+
}
|
|
230
|
+
transform(value, ...args) {
|
|
231
|
+
const control = args[0];
|
|
232
|
+
const errorKeys = Object.keys(control.errors || {});
|
|
233
|
+
if (errorKeys.length) {
|
|
234
|
+
const errorKey = errorKeys[0];
|
|
235
|
+
const errorValue = control.errors[errorKey];
|
|
236
|
+
switch (errorKey) {
|
|
237
|
+
case 'required':
|
|
238
|
+
return this.translocoService.translate('validations.required');
|
|
239
|
+
case 'min':
|
|
240
|
+
return `Minimum value is ${errorValue.min}`;
|
|
241
|
+
case 'max':
|
|
242
|
+
return `Maximum value is ${errorValue.max}`;
|
|
243
|
+
case 'minlength':
|
|
244
|
+
return `Minimum length is ${errorValue.requiredLength}`;
|
|
245
|
+
case 'maxlength':
|
|
246
|
+
return `Maximum length is ${errorValue.requiredLength}`;
|
|
247
|
+
case 'email':
|
|
248
|
+
return 'Invalid email';
|
|
249
|
+
case 'pattern':
|
|
250
|
+
return 'Invalid format';
|
|
251
|
+
case 'invalidIBAN':
|
|
252
|
+
if (control.errors['error'].invalidCodeLength)
|
|
253
|
+
return this.translocoService.translate('validations.invalidIBANLength');
|
|
254
|
+
else if (control.errors['error'].unsupportedCountry)
|
|
255
|
+
return this.translocoService.translate('validations.unsupportedCountry');
|
|
256
|
+
return this.translocoService.translate('validations.invalidIBAN');
|
|
257
|
+
case 'invalidTCKN':
|
|
258
|
+
return this.translocoService.translate('validations.invalidTCKN');
|
|
259
|
+
case 'minArrayLength':
|
|
260
|
+
return this.translocoService.translate('validations.minArrayLength', {
|
|
261
|
+
min: errorValue.requiredLength,
|
|
262
|
+
actual: errorValue.actualLength
|
|
263
|
+
});
|
|
264
|
+
case 'maxArrayLength':
|
|
265
|
+
return this.translocoService.translate('validations.maxArrayLength', {
|
|
266
|
+
max: errorValue.requiredLength,
|
|
267
|
+
actual: errorValue.actualLength
|
|
268
|
+
});
|
|
269
|
+
default:
|
|
270
|
+
return errorValue;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
return '';
|
|
274
|
+
}
|
|
275
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: InputErrorMessagePipe, deps: [{ token: i1$1.TranslocoService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
276
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.1.2", ngImport: i0, type: InputErrorMessagePipe, isStandalone: true, name: "inputErrorMessage" }); }
|
|
277
|
+
}
|
|
278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: InputErrorMessagePipe, decorators: [{
|
|
279
|
+
type: Pipe,
|
|
280
|
+
args: [{
|
|
281
|
+
standalone: true,
|
|
282
|
+
name: 'inputErrorMessage'
|
|
283
|
+
}]
|
|
284
|
+
}], ctorParameters: () => [{ type: i1$1.TranslocoService }] });
|
|
285
|
+
|
|
286
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
287
|
+
class DXInputErrorMessagePipe {
|
|
288
|
+
constructor() {
|
|
289
|
+
this.errorMsgPipe = inject(InputErrorMessagePipe);
|
|
290
|
+
}
|
|
291
|
+
transform(value, ...args) {
|
|
292
|
+
return { message: this.errorMsgPipe.transform(value, ...args) };
|
|
293
|
+
}
|
|
294
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: DXInputErrorMessagePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
295
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.1.2", ngImport: i0, type: DXInputErrorMessagePipe, isStandalone: true, name: "dxInputErrorMessage" }); }
|
|
296
|
+
}
|
|
297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: DXInputErrorMessagePipe, decorators: [{
|
|
298
|
+
type: Pipe,
|
|
299
|
+
args: [{
|
|
300
|
+
standalone: true,
|
|
301
|
+
name: 'dxInputErrorMessage'
|
|
302
|
+
}]
|
|
303
|
+
}] });
|
|
304
|
+
|
|
305
|
+
class InputDisabledDirective {
|
|
306
|
+
constructor(ngControl) {
|
|
307
|
+
this.ngControl = ngControl;
|
|
308
|
+
}
|
|
309
|
+
set arilDisabled(condition) {
|
|
310
|
+
const action = condition ? 'disable' : 'enable';
|
|
311
|
+
if (this.ngControl.control)
|
|
312
|
+
this.ngControl.control[action]();
|
|
313
|
+
}
|
|
314
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: InputDisabledDirective, deps: [{ token: i1$2.NgControl }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
315
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.2", type: InputDisabledDirective, isStandalone: true, selector: "[arilDisabled]", inputs: { arilDisabled: "arilDisabled" }, ngImport: i0 }); }
|
|
316
|
+
}
|
|
317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: InputDisabledDirective, decorators: [{
|
|
318
|
+
type: Directive,
|
|
319
|
+
args: [{
|
|
320
|
+
standalone: true,
|
|
321
|
+
selector: '[arilDisabled]'
|
|
322
|
+
}]
|
|
323
|
+
}], ctorParameters: () => [{ type: i1$2.NgControl }], propDecorators: { arilDisabled: [{
|
|
324
|
+
type: Input
|
|
325
|
+
}] } });
|
|
326
|
+
|
|
327
|
+
function iconTransform(icon) {
|
|
328
|
+
return PrimeIcons[icon];
|
|
329
|
+
}
|
|
330
|
+
function iconPosTransform(pos) {
|
|
331
|
+
return 'p-input-icon-' + pos;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
335
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
336
|
+
class ValueAccessorDirective {
|
|
337
|
+
writeValue(obj) {
|
|
338
|
+
return;
|
|
339
|
+
}
|
|
340
|
+
registerOnChange(fn) {
|
|
341
|
+
return;
|
|
342
|
+
}
|
|
343
|
+
registerOnTouched(fn) {
|
|
344
|
+
return;
|
|
345
|
+
}
|
|
346
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ValueAccessorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
347
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.2", type: ValueAccessorDirective, isStandalone: true, providers: [
|
|
348
|
+
{
|
|
349
|
+
provide: NG_VALUE_ACCESSOR,
|
|
350
|
+
multi: true,
|
|
351
|
+
useExisting: ValueAccessorDirective
|
|
352
|
+
}
|
|
353
|
+
], ngImport: i0 }); }
|
|
354
|
+
}
|
|
355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ValueAccessorDirective, decorators: [{
|
|
356
|
+
type: Directive,
|
|
357
|
+
args: [{
|
|
358
|
+
standalone: true,
|
|
359
|
+
providers: [
|
|
360
|
+
{
|
|
361
|
+
provide: NG_VALUE_ACCESSOR,
|
|
362
|
+
multi: true,
|
|
363
|
+
useExisting: ValueAccessorDirective
|
|
364
|
+
}
|
|
365
|
+
]
|
|
366
|
+
}]
|
|
367
|
+
}] });
|
|
368
|
+
|
|
369
|
+
/* form */
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Generated bundle index. Do not edit.
|
|
373
|
+
*/
|
|
374
|
+
|
|
375
|
+
export { BaseInputComponent, CommonInputValidatorsService, DXInputErrorMessagePipe, EnumColorPickerPipe, FlexGridDirective, FormErrorMessageDirective, InputDisabledDirective, InputErrorMessagePipe, ValueAccessorDirective, addControlsWithValidation, checkValidInputs, iconPosTransform, iconTransform, injectNgControl, removeControls, updateValueAndValidities };
|
|
376
|
+
//# sourceMappingURL=aril-ui-lib.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aril-ui-lib.mjs","sources":["../../projects/aril/ui/lib/src/form/form-error-message.component.ts","../../projects/aril/ui/lib/src/form/form-error-message.directive.ts","../../projects/aril/ui/lib/src/form/form-validation.ts","../../projects/aril/ui/lib/src/form/form-field-builder.ts","../../projects/aril/ui/lib/src/grid/flex-grid.directive.ts","../../projects/aril/ui/lib/src/grid/enum-color-picker.pipe.ts","../../projects/aril/ui/lib/src/input/baseInput.ts","../../projects/aril/ui/lib/src/input/common-input-validators.service.ts","../../projects/aril/ui/lib/src/input/input-error-message.pipe.ts","../../projects/aril/ui/lib/src/input/dx-input-error-message.pipe.ts","../../projects/aril/ui/lib/src/input/input-disabled.directive.ts","../../projects/aril/ui/lib/src/input/input-transforms.ts","../../projects/aril/ui/lib/src/input/value-accessor.directive.ts","../../projects/aril/ui/lib/index.ts","../../projects/aril/ui/lib/aril-ui-lib.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\r\nimport { ValidationErrors } from '@angular/forms';\r\n\r\nimport { Message } from 'primeng/api';\r\nimport { MessagesModule } from 'primeng/messages';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\timports: [MessagesModule],\r\n\ttemplate: `\r\n\t\t<div class=\"flex gap-2 formErrorMessage\">\r\n\t\t\t<p-messages [(value)]=\"_pMessages\" [enableService]=\"false\" [closable]=\"false\"></p-messages>\r\n\t\t</div>\r\n\t`,\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormErrorMessagesComponent {\r\n\t_pMessages!: Message[];\r\n\r\n\t@Input() set messages(messages: ValidationErrors | null) {\r\n\t\tthis._pMessages = Object.values(messages!).map((msg) => {\r\n\t\t\treturn { severity: 'error', summary: '', detail: msg };\r\n\t\t});\r\n\t}\r\n}\r\n","/* eslint-disable @angular-eslint/directive-selector */\r\nimport { ComponentRef, Directive, OnInit, ViewContainerRef, input } from '@angular/core';\r\nimport { FormGroup } from '@angular/forms';\r\n\r\nimport { FormErrorMessagesComponent } from './form-error-message.component';\r\n\r\n@Directive({\r\n\tstandalone: true,\r\n\tselector: '[formErrorMessage]'\r\n})\r\nexport class FormErrorMessageDirective implements OnInit {\r\n\tconstructor(private viewContainerRef: ViewContainerRef) {}\r\n\r\n\tformErrorMessage = input.required<FormGroup>();\r\n\r\n\terrorKeys: string[] = [];\r\n\tcomponentRef!: ComponentRef<FormErrorMessagesComponent>;\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.formErrorMessage().statusChanges.subscribe((status) => {\r\n\t\t\tif (this.componentRef) this.viewContainerRef.remove();\r\n\r\n\t\t\tif (status === 'INVALID') {\r\n\t\t\t\tif (this.formErrorMessage().errors) {\r\n\t\t\t\t\tthis.componentRef = this.viewContainerRef.createComponent(FormErrorMessagesComponent);\r\n\t\t\t\t\tthis.componentRef.instance.messages = this.formErrorMessage().errors;\r\n\t\t\t\t\tthis.viewContainerRef.insert(this.componentRef.hostView);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n}\r\n","import { FormArray, FormControl, FormGroup } from '@angular/forms';\r\n\r\nexport const checkValidInputs = (formGroup: FormGroup | FormArray) => {\r\n\tObject.keys(formGroup.controls).forEach((field) => {\r\n\t\tconst control = formGroup.get(field);\r\n\r\n\t\tif (control instanceof FormControl) {\r\n\t\t\tcontrol.markAsTouched({ onlySelf: true });\r\n\t\t\tcontrol.markAsDirty({ onlySelf: true });\r\n\t\t} else if (control instanceof FormGroup || control instanceof FormArray) {\r\n\t\t\tcheckValidInputs(control);\r\n\t\t}\r\n\t});\r\n};\r\n","import { FormControl, FormGroup, ValidatorFn } from '@angular/forms';\r\n\r\nexport const addControlsWithValidation = (\r\n\tform: FormGroup,\r\n\tcontrols: { name: string; validator?: ValidatorFn; disabled?: boolean }[]\r\n) => {\r\n\tcontrols.forEach((control) => {\r\n\t\tif (!form.contains(control.name)) {\r\n\t\t\tform.addControl(\r\n\t\t\t\tcontrol.name,\r\n\t\t\t\tnew FormControl({ value: null, disabled: control?.disabled || false }, control.validator)\r\n\t\t\t);\r\n\t\t}\r\n\t});\r\n};\r\n\r\nexport const removeControls = (form: FormGroup, controlNames: string[]) => {\r\n\tcontrolNames.forEach((controlName) => {\r\n\t\tif (form.contains(controlName)) {\r\n\t\t\tform.removeControl(controlName);\r\n\t\t}\r\n\t});\r\n};\r\n\r\nexport const updateValueAndValidities = (form: FormGroup, controlNames: string[]) => {\r\n\tcontrolNames.forEach((controlName) => {\r\n\t\tif (form.contains(controlName)) {\r\n\t\t\tform.get(controlName)?.updateValueAndValidity();\r\n\t\t}\r\n\t});\r\n};\r\n","/* eslint-disable @angular-eslint/directive-selector */\r\nimport { Directive, HostBinding } from '@angular/core';\r\n\r\n@Directive({\r\n\tstandalone: true,\r\n\tselector: '[flexGrid]'\r\n})\r\nexport class FlexGridDirective {\r\n\t@HostBinding('class') hostClass = 'grid p-fluid m-0 p-0';\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n\tstandalone: true,\r\n\tname: 'enumColorPicker'\r\n})\r\nexport class EnumColorPickerPipe implements PipeTransform {\r\n\tenumColorList = [\r\n\t\t'#74C2E6',\r\n\t\t'#5EBAE0',\r\n\t\t'#2C9CCB',\r\n\t\t'#1D7DAC',\r\n\t\t'#19658B',\r\n\t\t'#185574',\r\n\t\t'#7D85FC',\r\n\t\t'#5957F5',\r\n\t\t'#194761',\r\n\t\t'#5141EA'\r\n\t] as const;\r\n\r\n\ttransform(name: string | number): string {\r\n\t\tconst nameHash = this.getNameHash(String(name));\r\n\t\treturn this.enumColorList[nameHash % this.enumColorList.length];\r\n\t}\r\n\r\n\tprivate getNameHash(name: string): number {\r\n\t\treturn (\r\n\t\t\t[...name].reduce((acc, char, index) => acc + char.charCodeAt(0) * (index + 1), 0) % this.enumColorList.length\r\n\t\t);\r\n\t}\r\n}\r\n\r\ninterface Value {}\r\n","import { inject } from '@angular/core';\r\nimport { FormControlDirective, FormControlName, NgControl, NgModel } from '@angular/forms';\r\n\r\nimport { TooltipOptions } from 'primeng/api';\r\n\r\nexport abstract class BaseInputComponent {\r\n\tngControl = injectNgControl();\r\n\r\n\ttooltipOptions: TooltipOptions = {\r\n\t\ttooltipPosition: 'top',\r\n\t\ttooltipEvent: 'focus',\r\n\t\ttooltipStyleClass: 'tooltipErrorMessage'\r\n\t};\r\n}\r\n\r\nexport function injectNgControl() {\r\n\tconst ngControl = inject(NgControl, { self: true, optional: true });\r\n\r\n\tif (!ngControl) throw new Error('NgModel or FormControlName or FormControlDirective is required');\r\n\r\n\tif (\r\n\t\tngControl instanceof NgModel ||\r\n\t\tngControl instanceof FormControlName ||\r\n\t\tngControl instanceof FormControlDirective\r\n\t) {\r\n\t\treturn ngControl;\r\n\t}\r\n\r\n\tthrow new Error('Something went wrong in InjectNgControl');\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';\r\n\r\nimport 'aril/util/primitive-extensions';\r\n\r\ntype DateRangeFormat = 'minute' | 'hour' | 'day' | 'month' | 'year';\r\n\r\n@Injectable({\r\n\tprovidedIn: 'root'\r\n})\r\nexport class CommonInputValidatorsService {\r\n\t/**\r\n\t * @param sdCtrlName - name of the start date form control\r\n\t * @param edCtrlName - name of the end date form control\r\n\t * @param rangeValue - range between start and end date. Default value is 1\r\n\t * @param rangeFormat - format of the range. Default value is \"day\"\r\n\t */\r\n\tdateRange(sdCtrlName: string, edCtrlName: string, rangeValue = 0, rangeFormat: DateRangeFormat = 'day'): ValidatorFn {\r\n\t\treturn (control: AbstractControl): ValidationErrors | null => {\r\n\t\t\tconst start: number = control.get(sdCtrlName)?.value;\r\n\t\t\tconst end: number = control.get(edCtrlName)?.value;\r\n\r\n\t\t\tconst startJSDate = start.longToDate();\r\n\t\t\tconst endJSDate = end.longToDate();\r\n\r\n\t\t\tif (startJSDate && endJSDate) {\r\n\t\t\t\tconst isRangeValid = endJSDate.getTime() - startJSDate.getTime() > rangeValue;\r\n\r\n\t\t\t\treturn isRangeValid ? null : (\r\n\t\t\t\t\t\t{ dateRange: `The end date must be at least ${rangeValue} ${rangeFormat} bigger than the start date` }\r\n\t\t\t\t\t);\r\n\t\t\t}\r\n\r\n\t\t\treturn null;\r\n\t\t};\r\n\t}\r\n\r\n\t/**\r\n\t * @description - pasword match vs.\r\n\t */\r\n\tstrictMatch(controlName: string, matchingControlName: string): ValidatorFn {\r\n\t\treturn (control: AbstractControl): ValidationErrors | null => {\r\n\t\t\tconst firstField = control.get(controlName);\r\n\t\t\tconst secondField = control.get(matchingControlName);\r\n\r\n\t\t\tif (!firstField || !secondField) {\r\n\t\t\t\treturn null;\r\n\t\t\t}\r\n\r\n\t\t\tif (firstField.value !== secondField.value) {\r\n\t\t\t\treturn { strictMatch: `${controlName} and ${matchingControlName} do not match` };\r\n\t\t\t}\r\n\r\n\t\t\treturn null;\r\n\t\t};\r\n\t}\r\n}\r\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\nimport { TranslocoService } from '@ngneat/transloco';\r\n\r\n@Pipe({\r\n\tstandalone: true,\r\n\tname: 'inputErrorMessage'\r\n})\r\nexport class InputErrorMessagePipe implements PipeTransform {\r\n\tconstructor(private translocoService: TranslocoService) {}\r\n\r\n\ttransform(value: any, ...args: any[]): string {\r\n\t\tconst control = args[0];\r\n\t\tconst errorKeys = Object.keys(control.errors || {});\r\n\r\n\t\tif (errorKeys.length) {\r\n\t\t\tconst errorKey = errorKeys[0];\r\n\t\t\tconst errorValue = control.errors![errorKey];\r\n\r\n\t\t\tswitch (errorKey) {\r\n\t\t\t\tcase 'required':\r\n\t\t\t\t\treturn this.translocoService.translate('validations.required');\r\n\r\n\t\t\t\tcase 'min':\r\n\t\t\t\t\treturn `Minimum value is ${errorValue.min}`;\r\n\r\n\t\t\t\tcase 'max':\r\n\t\t\t\t\treturn `Maximum value is ${errorValue.max}`;\r\n\r\n\t\t\t\tcase 'minlength':\r\n\t\t\t\t\treturn `Minimum length is ${errorValue.requiredLength}`;\r\n\r\n\t\t\t\tcase 'maxlength':\r\n\t\t\t\t\treturn `Maximum length is ${errorValue.requiredLength}`;\r\n\r\n\t\t\t\tcase 'email':\r\n\t\t\t\t\treturn 'Invalid email';\r\n\r\n\t\t\t\tcase 'pattern':\r\n\t\t\t\t\treturn 'Invalid format';\r\n\r\n\t\t\t\tcase 'invalidIBAN':\r\n\t\t\t\t\tif (control.errors['error'].invalidCodeLength)\r\n\t\t\t\t\t\treturn this.translocoService.translate('validations.invalidIBANLength');\r\n\t\t\t\t\telse if (control.errors['error'].unsupportedCountry)\r\n\t\t\t\t\t\treturn this.translocoService.translate('validations.unsupportedCountry');\r\n\t\t\t\t\treturn this.translocoService.translate('validations.invalidIBAN');\r\n\r\n\t\t\t\tcase 'invalidTCKN':\r\n\t\t\t\t\treturn this.translocoService.translate('validations.invalidTCKN');\r\n\r\n\t\t\t\tcase 'minArrayLength':\r\n\t\t\t\t\treturn this.translocoService.translate('validations.minArrayLength', {\r\n\t\t\t\t\t\tmin: errorValue.requiredLength,\r\n\t\t\t\t\t\tactual: errorValue.actualLength\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\tcase 'maxArrayLength':\r\n\t\t\t\t\treturn this.translocoService.translate('validations.maxArrayLength', {\r\n\t\t\t\t\t\tmax: errorValue.requiredLength,\r\n\t\t\t\t\t\tactual: errorValue.actualLength\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\tdefault:\r\n\t\t\t\t\treturn errorValue;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn '';\r\n\t}\r\n}\r\n","/* eslint-disable @typescript-eslint/no-explicit-any */\r\nimport { Pipe, PipeTransform, inject } from '@angular/core';\r\n\r\nimport { InputErrorMessagePipe } from './input-error-message.pipe';\r\n\r\n@Pipe({\r\n\tstandalone: true,\r\n\tname: 'dxInputErrorMessage'\r\n})\r\nexport class DXInputErrorMessagePipe implements PipeTransform {\r\n\terrorMsgPipe = inject(InputErrorMessagePipe);\r\n\r\n\ttransform(value: any, ...args: any[]): { message: string } {\r\n\t\treturn { message: this.errorMsgPipe.transform(value, ...args) };\r\n\t}\r\n}\r\n","import { Directive, Input } from '@angular/core';\r\nimport { NgControl } from '@angular/forms';\r\n\r\n@Directive({\r\n\tstandalone: true,\r\n\tselector: '[arilDisabled]'\r\n})\r\nexport class InputDisabledDirective {\r\n\tconstructor(private ngControl: NgControl) {}\r\n\r\n\t@Input() set arilDisabled(condition: boolean) {\r\n\t\tconst action = condition ? 'disable' : 'enable';\r\n\t\tif (this.ngControl.control) this.ngControl.control[action]();\r\n\t}\r\n}\r\n","import { PrimeIcons } from 'primeng/api';\r\n\r\nexport type PrimeIcon = Exclude<keyof typeof PrimeIcons, 'prototype'>;\r\nexport function iconTransform(icon: PrimeIcon): string {\r\n\treturn PrimeIcons[icon];\r\n}\r\n\r\nexport type IconPosTypes = 'right' | 'left';\r\nexport function iconPosTransform(pos: IconPosTypes): string {\r\n\treturn 'p-input-icon-' + pos;\r\n}\r\n","/* eslint-disable @typescript-eslint/no-unused-vars */\r\n\r\n/* eslint-disable @typescript-eslint/no-explicit-any */\r\nimport { Directive} from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\n@Directive({\r\n\tstandalone: true,\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tmulti: true,\r\n\t\t\tuseExisting: ValueAccessorDirective\r\n\t\t}\r\n\t]\r\n})\r\nexport class ValueAccessorDirective implements ControlValueAccessor {\r\n\r\n\twriteValue(obj: any): void {\r\n\t\treturn\r\n\t}\r\n\r\n\tregisterOnChange(fn: any): void {\r\n\t\treturn;\r\n\t}\r\n\r\n\tregisterOnTouched(fn: any): void {\r\n\t\treturn;\r\n\t}\r\n\r\n}","/* form */\r\nexport * from './src/form/form-error-message.directive';\r\nexport * from './src/form/form-validation';\r\nexport * from './src/form/form-field-builder';\r\n\r\n/* grid */\r\nexport * from './src/grid/flex-grid.directive';\r\nexport * from './src/grid/enum-color-picker.pipe';\r\n\r\n/* input */\r\nexport * from './src/input/baseInput';\r\nexport * from './src/input/common-input-validators.service';\r\nexport * from './src/input/dx-input-error-message.pipe';\r\nexport * from './src/input/input-disabled.directive';\r\nexport * from './src/input/input-error-message.pipe';\r\nexport * from './src/input/input-transforms';\r\nexport * from './src/input/value-accessor.directive';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;MAgBa,0BAA0B,CAAA;IAGtC,IAAa,Q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A,CAAA,EAAA;;2FAEW,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAVlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,SAAS,EAAE;AACV,wBAAA;AACC,4BAAA,OAAO,EAAE,iBAAiB;AAC1B,4BAAA,KAAK,EAAE,IAAI;AACX,4BAAA,WAAW,EAAwB,sBAAA;AACnC,yBAAA;AACD,qBAAA;AACD,iBAAA,CAAA;;;ACfD;;ACAA;;AAEG;;;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component } from '@angular/core';
|
|
3
|
+
import * as i1 from 'primeng/progressspinner';
|
|
4
|
+
import { ProgressSpinnerModule } from 'primeng/progressspinner';
|
|
5
|
+
|
|
6
|
+
/* eslint-disable @angular-eslint/component-selector */
|
|
7
|
+
class LoaderComponent {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: LoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: LoaderComponent, isStandalone: true, selector: "aril-loader", ngImport: i0, template: " <div class=\"loader-container\">\r\n <p-progressSpinner\r\n styleClass=\"w-5rem h-5rem\" \r\n strokeWidth=\"3\" \r\n animationDuration=\".5s\">\r\n </p-progressSpinner>\r\n</div>", styles: [".loader-container{display:flex;justify-content:center;align-items:center;height:100%!important}\n"], dependencies: [{ kind: "ngmodule", type: ProgressSpinnerModule }, { kind: "component", type: i1.ProgressSpinner, selector: "p-progressSpinner", inputs: ["styleClass", "style", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }] }); }
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: LoaderComponent, decorators: [{
|
|
12
|
+
type: Component,
|
|
13
|
+
args: [{ standalone: true, selector: 'aril-loader', imports: [ProgressSpinnerModule], template: " <div class=\"loader-container\">\r\n <p-progressSpinner\r\n styleClass=\"w-5rem h-5rem\" \r\n strokeWidth=\"3\" \r\n animationDuration=\".5s\">\r\n </p-progressSpinner>\r\n</div>", styles: [".loader-container{display:flex;justify-content:center;align-items:center;height:100%!important}\n"] }]
|
|
14
|
+
}] });
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Generated bundle index. Do not edit.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
export { LoaderComponent };
|
|
21
|
+
//# sourceMappingURL=aril-ui-loader.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aril-ui-loader.mjs","sources":["../../projects/aril/ui/loader/src/loader.component.ts","../../projects/aril/ui/loader/src/loader.component.html","../../projects/aril/ui/loader/aril-ui-loader.ts"],"sourcesContent":["/* eslint-disable @angular-eslint/component-selector */\r\nimport { Component } from '@angular/core';\r\nimport { ProgressSpinnerModule } from 'primeng/progressspinner';\r\n\r\n@Component({\r\n standalone: true,\r\n selector: 'aril-loader',\r\n templateUrl: 'loader.component.html',\r\n styleUrls: ['loader.component.scss'],\r\n imports: [ProgressSpinnerModule],\r\n})\r\n\r\nexport class LoaderComponent{\r\n}"," <div class=\"loader-container\">\r\n <p-progressSpinner\r\n styleClass=\"w-5rem h-5rem\" \r\n strokeWidth=\"3\" \r\n animationDuration=\".5s\">\r\n </p-progressSpinner>\r\n</div>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAAA;MAYa,eAAe,CAAA;8GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAf,eAAe,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECZ5B,mMAMM,EAAA,MAAA,EAAA,CAAA,mGAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDGM,qBAAqB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,CAAA,YAAA,EAAA,OAAA,EAAA,aAAA,EAAA,MAAA,EAAA,mBAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGpB,eAAe,EAAA,UAAA,EAAA,CAAA;kBAR3B,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACN,QAAA,EAAA,aAAa,EAGd,OAAA,EAAA,CAAC,qBAAqB,CAAC,EAAA,QAAA,EAAA,mMAAA,EAAA,MAAA,EAAA,CAAA,mGAAA,CAAA,EAAA,CAAA;;;AETlC;;AAEG;;;;"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { NgStyle } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { input, Component } from '@angular/core';
|
|
4
|
+
import * as i2 from '@angular/forms';
|
|
5
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
6
|
+
import * as i3 from 'primeng/inputmask';
|
|
7
|
+
import { InputMaskModule } from 'primeng/inputmask';
|
|
8
|
+
import * as i1 from 'aril/ui/lib';
|
|
9
|
+
import { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* a - alphabetic characters
|
|
13
|
+
* 9 - numeric characters
|
|
14
|
+
* * - alphanumeric characters
|
|
15
|
+
* ? - optional characters
|
|
16
|
+
* formatting characters -> (), -
|
|
17
|
+
*/
|
|
18
|
+
class MaskComponent extends BaseInputComponent {
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments);
|
|
21
|
+
this.mask = input.required();
|
|
22
|
+
this.slotChar = input('_');
|
|
23
|
+
this.placeholder = input('');
|
|
24
|
+
this.maxlength = input(100);
|
|
25
|
+
this.usageInGrid = input(true);
|
|
26
|
+
this.tabindex = input();
|
|
27
|
+
this.showTooltip = false;
|
|
28
|
+
}
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: MaskComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
30
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: MaskComponent, isStandalone: true, selector: "aril-mask[ngModel], aril-mask[formControl], aril-mask[formControlName]", inputs: { mask: { classPropertyName: "mask", publicName: "mask", isSignal: true, isRequired: true, transformFunction: null }, slotChar: { classPropertyName: "slotChar", publicName: "slotChar", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, usageInGrid: { classPropertyName: "usageInGrid", publicName: "usageInGrid", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, hostDirectives: [{ directive: i1.ValueAccessorDirective }], ngImport: i0, template: "<div style=\"position: relative\" [ngStyle]=\"!usageInGrid ? { display: 'inline-block' } : {}\">\r\n\t<p-inputMask\r\n\t\t[mask]=\"mask()\"\r\n\t\t[slotChar]=\"slotChar()\"\r\n\t\t[placeholder]=\"placeholder()\"\r\n\t\t[maxlength]=\"maxlength()\"\r\n\t\t[formControl]=\"ngControl.control\"\r\n\t\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\t\t(onFocus)=\"showTooltip = true\"\r\n\t\t(onBlur)=\"showTooltip = false\">\r\n\t</p-inputMask>\r\n\t@if (ngControl.invalid && showTooltip) {\r\n\t\t<div class=\"custom-tooltip tooltipErrorMessage\">\r\n\t\t\t{{ ngControl.control.value | inputErrorMessage: ngControl }}\r\n\t\t</div>\r\n\t}\r\n</div>\r\n", styles: [".custom-tooltip{position:absolute;background-color:#dc143c;color:#fff;padding:.75rem;border-radius:6px;z-index:1001;top:-107%;left:50%;transform:translate(-50%);white-space:nowrap}.custom-tooltip:before{content:\"\";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:3px;border-style:solid;border-color:var(--primary-color) transparent transparent transparent}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: InputMaskModule }, { kind: "component", type: i3.InputMask, selector: "p-inputMask", inputs: ["type", "slotChar", "autoClear", "showClear", "style", "inputId", "styleClass", "placeholder", "size", "maxlength", "tabindex", "title", "variant", "ariaLabel", "ariaLabelledBy", "ariaRequired", "disabled", "readonly", "unmask", "name", "required", "characterPattern", "autofocus", "autoFocus", "autocomplete", "keepBuffer", "mask"], outputs: ["onComplete", "onFocus", "onBlur", "onInput", "onKeydown", "onClear"] }, { kind: "pipe", type: InputErrorMessagePipe, name: "inputErrorMessage" }] }); }
|
|
31
|
+
}
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: MaskComponent, decorators: [{
|
|
33
|
+
type: Component,
|
|
34
|
+
args: [{ standalone: true, selector: 'aril-mask[ngModel], aril-mask[formControl], aril-mask[formControlName]', imports: [ReactiveFormsModule, NgStyle, InputMaskModule, InputErrorMessagePipe], hostDirectives: [ValueAccessorDirective], template: "<div style=\"position: relative\" [ngStyle]=\"!usageInGrid ? { display: 'inline-block' } : {}\">\r\n\t<p-inputMask\r\n\t\t[mask]=\"mask()\"\r\n\t\t[slotChar]=\"slotChar()\"\r\n\t\t[placeholder]=\"placeholder()\"\r\n\t\t[maxlength]=\"maxlength()\"\r\n\t\t[formControl]=\"ngControl.control\"\r\n\t\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\t\t(onFocus)=\"showTooltip = true\"\r\n\t\t(onBlur)=\"showTooltip = false\">\r\n\t</p-inputMask>\r\n\t@if (ngControl.invalid && showTooltip) {\r\n\t\t<div class=\"custom-tooltip tooltipErrorMessage\">\r\n\t\t\t{{ ngControl.control.value | inputErrorMessage: ngControl }}\r\n\t\t</div>\r\n\t}\r\n</div>\r\n", styles: [".custom-tooltip{position:absolute;background-color:#dc143c;color:#fff;padding:.75rem;border-radius:6px;z-index:1001;top:-107%;left:50%;transform:translate(-50%);white-space:nowrap}.custom-tooltip:before{content:\"\";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:3px;border-style:solid;border-color:var(--primary-color) transparent transparent transparent}\n"] }]
|
|
35
|
+
}] });
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Generated bundle index. Do not edit.
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
export { MaskComponent };
|
|
42
|
+
//# sourceMappingURL=aril-ui-mask.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aril-ui-mask.mjs","sources":["../../projects/aril/ui/mask/src/mask.component.ts","../../projects/aril/ui/mask/src/mask.component.html","../../projects/aril/ui/mask/aril-ui-mask.ts"],"sourcesContent":["import { NgStyle } from '@angular/common';\r\nimport { Component, input } from '@angular/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\n\r\nimport { InputMaskModule } from 'primeng/inputmask';\r\n\r\nimport { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';\r\n\r\n/**\r\n * a - alphabetic characters\r\n * 9 - numeric characters\r\n * * - alphanumeric characters\r\n * ? - optional characters\r\n * formatting characters -> (), -\r\n */\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-mask[ngModel], aril-mask[formControl], aril-mask[formControlName]',\r\n\ttemplateUrl: './mask.component.html',\r\n\tstyleUrl: './mask.component.css',\r\n\timports: [ReactiveFormsModule, NgStyle, InputMaskModule, InputErrorMessagePipe],\r\n\thostDirectives: [ValueAccessorDirective]\r\n})\r\nexport class MaskComponent extends BaseInputComponent {\r\n\tmask = input.required<string>();\r\n\tslotChar = input<string>('_');\r\n\tplaceholder = input<string>('');\r\n\tmaxlength = input<number>(100);\r\n\tusageInGrid = input<boolean>(true);\r\n\ttabindex = input<number>();\r\n\r\n\tshowTooltip = false;\r\n}\r\n","<div style=\"position: relative\" [ngStyle]=\"!usageInGrid ? { display: 'inline-block' } : {}\">\r\n\t<p-inputMask\r\n\t\t[mask]=\"mask()\"\r\n\t\t[slotChar]=\"slotChar()\"\r\n\t\t[placeholder]=\"placeholder()\"\r\n\t\t[maxlength]=\"maxlength()\"\r\n\t\t[formControl]=\"ngControl.control\"\r\n\t\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\t\t(onFocus)=\"showTooltip = true\"\r\n\t\t(onBlur)=\"showTooltip = false\">\r\n\t</p-inputMask>\r\n\t@if (ngControl.invalid && showTooltip) {\r\n\t\t<div class=\"custom-tooltip tooltipErrorMessage\">\r\n\t\t\t{{ ngControl.control.value | inputErrorMessage: ngControl }}\r\n\t\t</div>\r\n\t}\r\n</div>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAQA;;;;;;AAMG;AAUG,MAAO,aAAc,SAAQ,kBAAkB,CAAA;A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AA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAE,qBAAqB,EAAA,IAAA,EAAA,mBAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGlE,aAAa,EAAA,UAAA,EAAA,CAAA;kBARzB,SAAS;AACG,YAAA,IAAA,EAAA,CAAA,EAAA,UAAA,EAAA,IAAI,EACN,QAAA,EAAA,wEAAwE,EAGzE,OAAA,EAAA,CAAC,mBAAmB,EAAE,OAAO,EAAE,eAAe,EAAE,qBAAqB,CAAC,EAC/D,cAAA,EAAA,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,wpBAAA,EAAA,MAAA,EAAA,CAAA,2XAAA,CAAA,EAAA,CAAA;;;AEtBzC;;AAEG;;;;"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, signal, effect, Component } from '@angular/core';
|
|
3
|
+
import * as i4 from '@angular/forms';
|
|
4
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
|
+
import * as i5 from 'primeng/multiselect';
|
|
6
|
+
import { MultiSelectModule } from 'primeng/multiselect';
|
|
7
|
+
import { firstValueFrom } from 'rxjs';
|
|
8
|
+
import { API_CONFIGS } from 'aril/boot/config/api';
|
|
9
|
+
import * as i3 from 'aril/ui/lib';
|
|
10
|
+
import { BaseInputComponent, ValueAccessorDirective } from 'aril/ui/lib';
|
|
11
|
+
import * as i1 from '@angular/common/http';
|
|
12
|
+
import * as i2 from '@ngneat/transloco';
|
|
13
|
+
|
|
14
|
+
class MultiSelectComponent extends BaseInputComponent {
|
|
15
|
+
constructor(http, translocoService) {
|
|
16
|
+
super();
|
|
17
|
+
this.http = http;
|
|
18
|
+
this.translocoService = translocoService;
|
|
19
|
+
this.options = input([]);
|
|
20
|
+
this.optionLabel = input('text');
|
|
21
|
+
this.optionValue = input('key');
|
|
22
|
+
this.defaultLabel = input('Seçiniz');
|
|
23
|
+
this.selectedItemsLabel = input(''); // default value -> ({0} items selected
|
|
24
|
+
this.appendTo = input('body');
|
|
25
|
+
this.style = input({});
|
|
26
|
+
this.styleClass = input('');
|
|
27
|
+
this.tooltip = input('');
|
|
28
|
+
this.tooltipPosition = input('top');
|
|
29
|
+
this.groupName = input('');
|
|
30
|
+
this.parentSelectionKey = input(null);
|
|
31
|
+
this.selectionItems = signal(null);
|
|
32
|
+
this.showClear = input(false);
|
|
33
|
+
effect(() => {
|
|
34
|
+
if (this.groupName() || this.parentSelectionKey())
|
|
35
|
+
this.getSelectionItems();
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
async getSelectionItems() {
|
|
39
|
+
const payload = {
|
|
40
|
+
groupName: this.groupName(),
|
|
41
|
+
parentSelectionKey: this.parentSelectionKey()
|
|
42
|
+
};
|
|
43
|
+
const hostApi = API_CONFIGS.api.replace(/\/[^\/]+\/v1$/, `/host/v1`);
|
|
44
|
+
const selectionGroup = await firstValueFrom(this.http.post(hostApi + '/selection-group/load', payload));
|
|
45
|
+
this.selectionItems.set(selectionGroup?.selectionItems.map((item) => ({
|
|
46
|
+
key: item.selectionKey,
|
|
47
|
+
text: item.selectionDisplay,
|
|
48
|
+
parentSelectionKey: item.parentSelectionKey
|
|
49
|
+
})));
|
|
50
|
+
}
|
|
51
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: MultiSelectComponent, deps: [{ token: i1.HttpClient }, { token: i2.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
52
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: MultiSelectComponent, isStandalone: true, selector: "aril-multi-select[ngModel], aril-multi-select[formControl], aril-multi-select[formControlName]", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, defaultLabel: { classPropertyName: "defaultLabel", publicName: "defaultLabel", isSignal: true, isRequired: false, transformFunction: null }, selectedItemsLabel: { classPropertyName: "selectedItemsLabel", publicName: "selectedItemsLabel", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, tooltipPosition: { classPropertyName: "tooltipPosition", publicName: "tooltipPosition", isSignal: true, isRequired: false, transformFunction: null }, groupName: { classPropertyName: "groupName", publicName: "groupName", isSignal: true, isRequired: false, transformFunction: null }, parentSelectionKey: { classPropertyName: "parentSelectionKey", publicName: "parentSelectionKey", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, hostDirectives: [{ directive: i3.ValueAccessorDirective }], ngImport: i0, template: "<p-multiSelect\r\n\t[options]=\"selectionItems() || options()\"\r\n\t[optionLabel]=\"optionLabel()\"\r\n\t[optionValue]=\"optionValue()\"\r\n\t[defaultLabel]=\"defaultLabel()\"\r\n\t[selectedItemsLabel]=\"selectedItemsLabel()\"\r\n\t[style]=\"style()\"\r\n\t[styleClass]=\"styleClass()\"\r\n\t[tooltip]=\"tooltip()\"\r\n\t[tooltipPosition]=\"tooltipPosition()\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\t[appendTo]=\"appendTo()\"\r\n\t[showClear]=\"showClear()\" />\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MultiSelectModule }, { kind: "component", type: i5.MultiSelect, selector: "p-multiSelect", inputs: ["id", "ariaLabel", "style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "variant", "appendTo", "dataKey", "name", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "loading", "virtualScrollItemSize", "loadingIcon", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autofocus", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "defaultLabel", "placeholder", "options", "filterValue", "itemSize", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove", "onSelectAllChange"] }] }); }
|
|
53
|
+
}
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: MultiSelectComponent, decorators: [{
|
|
55
|
+
type: Component,
|
|
56
|
+
args: [{ standalone: true, selector: 'aril-multi-select[ngModel], aril-multi-select[formControl], aril-multi-select[formControlName]', imports: [ReactiveFormsModule, MultiSelectModule], hostDirectives: [ValueAccessorDirective], template: "<p-multiSelect\r\n\t[options]=\"selectionItems() || options()\"\r\n\t[optionLabel]=\"optionLabel()\"\r\n\t[optionValue]=\"optionValue()\"\r\n\t[defaultLabel]=\"defaultLabel()\"\r\n\t[selectedItemsLabel]=\"selectedItemsLabel()\"\r\n\t[style]=\"style()\"\r\n\t[styleClass]=\"styleClass()\"\r\n\t[tooltip]=\"tooltip()\"\r\n\t[tooltipPosition]=\"tooltipPosition()\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\t[appendTo]=\"appendTo()\"\r\n\t[showClear]=\"showClear()\" />\r\n" }]
|
|
57
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.TranslocoService }] });
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Generated bundle index. Do not edit.
|
|
61
|
+
*/
|
|
62
|
+
|
|
63
|
+
export { MultiSelectComponent };
|
|
64
|
+
//# sourceMappingURL=aril-ui-multiSelect.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aril-ui-multiSelect.mjs","sources":["../../projects/aril/ui/multiSelect/src/multi-select.component.ts","../../projects/aril/ui/multiSelect/src/multi-select.component.html","../../projects/aril/ui/multiSelect/aril-ui-multiSelect.ts"],"sourcesContent":["import { HttpClient } from '@angular/common/http';\r\nimport { Component, effect, input, signal } from '@angular/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\n\r\nimport { MultiSelectModule } from 'primeng/multiselect';\r\n\r\nimport { TranslocoService } from '@ngneat/transloco';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\nimport { API_CONFIGS } from 'aril/boot/config/api';\r\nimport { BaseInputComponent, ValueAccessorDirective } from 'aril/ui/lib';\r\n\r\nimport { SelectBoxItem, SelectionGroupDTO, SelectionRequestDTO } from './interfaces';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-multi-select[ngModel], aril-multi-select[formControl], aril-multi-select[formControlName]',\r\n\ttemplateUrl: './multi-select.component.html',\r\n\timports: [ReactiveFormsModule, MultiSelectModule],\r\n\thostDirectives: [ValueAccessorDirective]\r\n})\r\nexport class MultiSelectComponent extends BaseInputComponent {\r\n\toptions = input<[]>([]);\r\n\toptionLabel = input<string>('text');\r\n\toptionValue = input<string>('key');\r\n\tdefaultLabel = input<string>('Seçiniz');\r\n\tselectedItemsLabel = input<string>(''); // default value -> ({0} items selected\r\n\tappendTo = input<string>('body');\r\n\tstyle = input<object>({});\r\n\tstyleClass = input<string>('');\r\n\ttooltip = input<string>('');\r\n\ttooltipPosition = input<any>('top');\r\n\tgroupName = input('');\r\n\tparentSelectionKey = input(null);\r\n\tselectionItems = signal<SelectBoxItem[] | null>(null);\r\n\tshowClear = input<boolean>(false);\r\n\r\n\tconstructor(\r\n\t\tprivate http: HttpClient,\r\n\t\tpublic translocoService: TranslocoService\r\n\t) {\r\n\t\tsuper();\r\n\t\teffect(() => {\r\n\t\t\tif (this.groupName() || this.parentSelectionKey()) this.getSelectionItems();\r\n\t\t});\r\n\t}\r\n\r\n\tasync getSelectionItems() {\r\n\t\tconst payload: SelectionRequestDTO = {\r\n\t\t\tgroupName: this.groupName(),\r\n\t\t\tparentSelectionKey: this.parentSelectionKey()\r\n\t\t};\r\n\t\tconst hostApi = API_CONFIGS.api.replace(/\\/[^\\/]+\\/v1$/, `/host/v1`);\r\n\t\tconst selectionGroup = await firstValueFrom(\r\n\t\t\tthis.http.post<SelectionGroupDTO>(hostApi + '/selection-group/load', payload)\r\n\t\t);\r\n\r\n\t\tthis.selectionItems.set(\r\n\t\t\tselectionGroup?.selectionItems.map((item) => ({\r\n\t\t\t\tkey: item.selectionKey,\r\n\t\t\t\ttext: item.selectionDisplay,\r\n\t\t\t\tparentSelectionKey: item.parentSelectionKey\r\n\t\t\t}))\r\n\t\t);\r\n\t}\r\n}\r\n","<p-multiSelect\r\n\t[options]=\"selectionItems() || options()\"\r\n\t[optionLabel]=\"optionLabel()\"\r\n\t[optionValue]=\"optionValue()\"\r\n\t[defaultLabel]=\"defaultLabel()\"\r\n\t[selectedItemsLabel]=\"selectedItemsLabel()\"\r\n\t[style]=\"style()\"\r\n\t[styleClass]=\"styleClass()\"\r\n\t[tooltip]=\"tooltip()\"\r\n\t[tooltipPosition]=\"tooltipPosition()\"\r\n\t[formControl]=\"ngControl.control\"\r\n\t(ngModelChange)=\"ngControl.viewToModelUpdate($event)\"\r\n\t[appendTo]=\"appendTo()\"\r\n\t[showClear]=\"showClear()\" />\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAqBM,MAAO,oBAAqB,SAAQ,kBAAkB,CAAA;IAgB3D,WACS,CAAA,IAAgB,EACjB,gBAAkC,EAAA;AAEzC,QAAA,KAAK,EAAE,CAAC;QAHA,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAY;QACjB,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;AAjB1C,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAK,EAAE,CAAC,CAAC;AACxB,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,MAAM,CAAC,CAAC;AACpC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,KAAK,CAAC,CAAC;AACnC,QAAA,IAAA,CAAA,YAAY,GAAG,KAAK,CAAS,SAAS,CAAC,CAAC;AACxC,QAAA,IAAA,CAAA,kBAAkB,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;AACvC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAS,MAAM,CAAC,CAAC;AACjC,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;AAC1B,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;AAC/B,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;AAC5B,QAAA,IAAA,CAAA,eAAe,GAAG,KAAK,CAA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