aril 0.0.46 → 0.0.48
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/boot/config/api/{index.ts → index.d.ts} +1 -1
- package/boot/config/api/src/api.service.d.ts +14 -0
- package/boot/config/api/src/interfaces.d.ts +9 -0
- package/boot/config/apps/{index.ts → index.d.ts} +2 -2
- package/boot/config/apps/src/apps.service.d.ts +16 -0
- package/boot/config/apps/src/interfaces.d.ts +23 -0
- package/boot/config/apps/src/showdowDOMWrapper.d.ts +10 -0
- package/boot/config/plugins/{index.ts → index.d.ts} +2 -2
- package/boot/config/plugins/src/getNgZone.d.ts +5 -0
- package/boot/config/plugins/src/interfaces.d.ts +18 -0
- package/boot/config/plugins/src/plugins.service.d.ts +9 -0
- package/boot/host/{index.ts → index.d.ts} +1 -1
- package/boot/host/src/app.component.d.ts +8 -0
- package/boot/host/src/bootstrap.d.ts +2 -0
- package/boot/index.d.ts +1 -0
- package/boot/mfe/{index.ts → index.d.ts} +1 -1
- package/boot/mfe/src/app.component.d.ts +12 -0
- package/boot/mfe/src/appComponentLoader.d.ts +1 -0
- package/boot/mfe/src/bootstrap.d.ts +6 -0
- package/boot/mfe/src/loadStyles.d.ts +3 -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 +42 -0
- package/esm2022/boot/config/api/src/interfaces.mjs +11 -0
- package/esm2022/boot/config/apps/aril-boot-config-apps.mjs +5 -0
- package/esm2022/boot/config/apps/index.mjs +3 -0
- package/esm2022/boot/config/apps/src/apps.service.mjs +51 -0
- package/esm2022/boot/config/apps/src/interfaces.mjs +17 -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 +12 -0
- package/esm2022/boot/config/plugins/src/interfaces.mjs +3 -0
- package/esm2022/boot/config/plugins/src/plugins.service.mjs +65 -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 +32 -0
- package/esm2022/boot/host/src/bootstrap.mjs +50 -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 +60 -0
- package/esm2022/boot/mfe/src/appComponentLoader.mjs +5 -0
- package/esm2022/boot/mfe/src/bootstrap.mjs +64 -0
- package/esm2022/boot/mfe/src/loadStyles.mjs +16 -0
- package/esm2022/http/aril-http.mjs +5 -0
- package/esm2022/http/index.mjs +12 -0
- package/esm2022/http/lib/enums.mjs +16 -0
- package/esm2022/http/lib/interfaces.mjs +15 -0
- package/esm2022/http/src/httpBackend.mjs +17 -0
- package/esm2022/http/src/httpClient.mjs +14 -0
- package/esm2022/http/src/interceptor/state-machine.interceptor.mjs +8 -0
- package/esm2022/http/src/serviceBase.mjs +60 -0
- package/esm2022/http/src/serviceMockBase.mjs +5 -0
- package/esm2022/http/src/serviceRequest.mjs +21 -0
- package/esm2022/http/src/serviceStateMethods.mjs +118 -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 +20 -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 +4 -0
- package/esm2022/keycloak/src/auth.guard.mjs +39 -0
- package/esm2022/keycloak/src/auth.interceptor.mjs +10 -0
- package/esm2022/keycloak/src/keycloak.manager.mjs +76 -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 +41 -0
- package/esm2022/theme/layout/app/config/app.config.component.mjs +132 -0
- package/esm2022/theme/layout/app/layout/app.layout.component.mjs +147 -0
- package/esm2022/theme/layout/app/layout/mfe.layout.component.mjs +67 -0
- package/esm2022/theme/layout/app/menu/app.menu.component.mjs +398 -0
- package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +28 -0
- package/esm2022/theme/layout/app/sidebar/app.sidebar.component.mjs +41 -0
- package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +34 -0
- package/esm2022/theme/layout/aril-theme-layout.mjs +5 -0
- package/esm2022/theme/layout/index.mjs +4 -0
- package/esm2022/theme/layout/service/app.layout.service.mjs +127 -0
- package/esm2022/theme/layout/service/app.menu.service.mjs +53 -0
- package/esm2022/theme/layout/service/menuchangeevent.mjs +2 -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 +81 -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 +19 -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 +37 -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 +119 -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 +24 -0
- package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +24 -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 +18 -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 +39 -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 +61 -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/index.mjs +2 -0
- package/esm2022/ui/lib/aril-ui-lib.mjs +5 -0
- package/esm2022/ui/lib/index.mjs +15 -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/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 +42 -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/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/number/aril-ui-number.mjs +5 -0
- package/esm2022/ui/number/index.mjs +2 -0
- package/esm2022/ui/number/src/number.component.mjs +36 -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 +24 -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/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/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 +54 -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 +49 -0
- package/esm2022/ui/table/src/i18n.mjs +56 -0
- package/esm2022/ui/table/src/table-column.component.mjs +23 -0
- package/esm2022/ui/table/src/table.component.mjs +94 -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 +50 -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 +40 -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 +26 -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/tree/aril-ui-tree.mjs +5 -0
- package/esm2022/ui/tree/index.mjs +2 -0
- package/esm2022/ui/tree/src/tree.component.mjs +34 -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 +35 -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/index.mjs +2 -0
- package/esm2022/util/init-event/aril-util-init-event.mjs +5 -0
- package/esm2022/util/init-event/index.mjs +2 -0
- package/esm2022/util/init-event/src/init-event.directive.mjs +22 -0
- package/esm2022/util/lib/aril-util-lib.mjs +5 -0
- package/esm2022/util/lib/index.mjs +4 -0
- package/esm2022/util/lib/src/interfaces.mjs +4 -0
- package/esm2022/util/lib/src/module-router.mjs +17 -0
- package/esm2022/util/lib/src/types.mjs +3 -0
- package/esm2022/util/loaders/aril-util-loaders.mjs +5 -0
- package/esm2022/util/loaders/index.mjs +3 -0
- package/esm2022/util/loaders/script/script.loader.service.mjs +61 -0
- package/esm2022/util/loaders/style/style.loader.service.mjs +61 -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 +29 -0
- package/fesm2022/aril-app.component-c363Er6g.mjs +76 -0
- package/fesm2022/aril-app.component-c363Er6g.mjs.map +1 -0
- package/fesm2022/aril-boot-config-api.mjs +59 -0
- package/fesm2022/aril-boot-config-api.mjs.map +1 -0
- package/fesm2022/aril-boot-config-apps.mjs +106 -0
- package/fesm2022/aril-boot-config-apps.mjs.map +1 -0
- package/fesm2022/aril-boot-config-plugins.mjs +84 -0
- package/fesm2022/aril-boot-config-plugins.mjs.map +1 -0
- package/fesm2022/aril-boot-host.mjs +86 -0
- package/fesm2022/aril-boot-host.mjs.map +1 -0
- package/fesm2022/aril-boot-mfe-app.component-WWRmTfs5.mjs +75 -0
- package/fesm2022/aril-boot-mfe-app.component-WWRmTfs5.mjs.map +1 -0
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-PwAGdNZE.mjs +90 -0
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-PwAGdNZE.mjs.map +1 -0
- package/fesm2022/aril-boot-mfe.mjs +16 -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 +273 -0
- package/fesm2022/aril-http.mjs.map +1 -0
- package/fesm2022/aril-i18n.mjs +72 -0
- package/fesm2022/aril-i18n.mjs.map +1 -0
- package/fesm2022/aril-keycloak.mjs +129 -0
- package/fesm2022/aril-keycloak.mjs.map +1 -0
- package/fesm2022/aril-theme-layout.mjs +1010 -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 +88 -0
- package/fesm2022/aril-ui-autoComplete.mjs.map +1 -0
- package/fesm2022/aril-ui-badge.mjs +26 -0
- package/fesm2022/aril-ui-badge.mjs.map +1 -0
- package/fesm2022/aril-ui-button.mjs +59 -0
- package/fesm2022/aril-ui-button.mjs.map +1 -0
- package/fesm2022/aril-ui-calendar.mjs +125 -0
- package/fesm2022/aril-ui-calendar.mjs.map +1 -0
- package/fesm2022/aril-ui-checkbox.mjs +47 -0
- package/fesm2022/aril-ui-checkbox.mjs.map +1 -0
- package/fesm2022/aril-ui-dxField.mjs +25 -0
- package/fesm2022/aril-ui-dxField.mjs.map +1 -0
- package/fesm2022/aril-ui-field.mjs +46 -0
- package/fesm2022/aril-ui-field.mjs.map +1 -0
- package/fesm2022/aril-ui-fileUpload.mjs +68 -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-lib.mjs +322 -0
- package/fesm2022/aril-ui-lib.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-number.mjs +43 -0
- package/fesm2022/aril-ui-number.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 +31 -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-radioButton.mjs +37 -0
- package/fesm2022/aril-ui-radioButton.mjs.map +1 -0
- package/fesm2022/aril-ui-selectBox.mjs +61 -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.mjs +219 -0
- package/fesm2022/aril-ui-table.mjs.map +1 -0
- package/fesm2022/aril-ui-tagBox.mjs +57 -0
- package/fesm2022/aril-ui-tagBox.mjs.map +1 -0
- package/fesm2022/aril-ui-text.mjs +47 -0
- package/fesm2022/aril-ui-text.mjs.map +1 -0
- package/fesm2022/aril-ui-textArea.mjs +33 -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-tree.mjs +41 -0
- package/fesm2022/aril-ui-tree.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 +42 -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-init-event.mjs +29 -0
- package/fesm2022/aril-util-init-event.mjs.map +1 -0
- package/fesm2022/aril-util-lib.mjs +29 -0
- package/fesm2022/aril-util-lib.mjs.map +1 -0
- package/fesm2022/aril-util-loaders.mjs +126 -0
- package/fesm2022/aril-util-loaders.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 +36 -0
- package/fesm2022/aril-util-pub-sub.mjs.map +1 -0
- package/fesm2022/aril-util.mjs +8 -0
- package/fesm2022/aril-util.mjs.map +1 -0
- package/fesm2022/aril.mjs +157 -0
- package/fesm2022/aril.mjs.map +1 -0
- package/http/{index.ts → index.d.ts} +8 -13
- package/http/lib/enums.d.ts +13 -0
- package/http/lib/interfaces.d.ts +21 -0
- package/http/src/httpBackend.d.ts +8 -0
- package/http/src/httpClient.d.ts +8 -0
- package/http/src/interceptor/state-machine.interceptor.d.ts +2 -0
- package/http/src/serviceBase.d.ts +5 -0
- package/http/src/serviceMockBase.d.ts +6 -0
- package/http/src/serviceRequest.d.ts +4 -0
- package/http/src/serviceStateMethods.d.ts +14 -0
- package/i18n/{index.ts → index.d.ts} +5 -5
- 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 +9 -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.ts → index.d.ts} +3 -3
- package/keycloak/src/auth.guard.d.ts +11 -0
- package/keycloak/src/auth.interceptor.d.ts +2 -0
- package/keycloak/src/keycloak.manager.d.ts +25 -0
- package/package.json +314 -31
- package/{public-api.ts → public-api.d.ts} +2 -2
- package/theme/index.d.ts +1 -0
- package/theme/layout/app/breadcrumb/app.breadcrumb.component.d.ts +16 -0
- package/theme/layout/app/config/app.config.component.d.ts +36 -0
- package/theme/layout/app/layout/app.layout.component.d.ts +48 -0
- package/theme/layout/app/layout/mfe.layout.component.d.ts +8 -0
- package/theme/layout/app/menu/app.menu.component.d.ts +50 -0
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.d.ts +13 -0
- package/theme/layout/app/sidebar/app.sidebar.component.d.ts +15 -0
- package/theme/layout/app/topbar/app.topbar.component.d.ts +16 -0
- package/theme/layout/index.d.ts +3 -0
- package/theme/layout/service/app.layout.service.d.ts +51 -0
- package/theme/layout/service/app.menu.service.d.ts +23 -0
- package/theme/layout/service/menuchangeevent.d.ts +4 -0
- package/ui/autoComplete/{index.ts → index.d.ts} +1 -1
- package/ui/autoComplete/src/auto-complete.component.d.ts +24 -0
- package/ui/autoComplete/src/interfaces.d.ts +24 -0
- package/ui/badge/{index.ts → index.d.ts} +1 -1
- package/ui/badge/src/badge.component.d.ts +11 -0
- package/ui/button/{index.ts → index.d.ts} +2 -2
- package/ui/button/src/button.component.d.ts +24 -0
- package/ui/button/src/split-button.component.d.ts +8 -0
- package/ui/calendar/{index.ts → index.d.ts} +1 -1
- package/ui/calendar/src/calendar.component.d.ts +38 -0
- package/ui/checkbox/{index.ts → index.d.ts} +2 -2
- package/ui/checkbox/src/check-box.component.d.ts +9 -0
- package/ui/checkbox/src/tri-state-checkbox.component.d.ts +9 -0
- package/ui/dxField/{index.ts → index.d.ts} +1 -1
- package/ui/dxField/src/dx-field.component.d.ts +9 -0
- package/ui/field/{index.ts → index.d.ts} +1 -1
- package/ui/field/src/field.component.d.ts +25 -0
- package/ui/fileUpload/{index.ts → index.d.ts} +1 -1
- package/ui/fileUpload/src/file-upload.component.d.ts +47 -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/index.d.ts +1 -0
- package/ui/lib/{index.ts → index.d.ts} +11 -16
- 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/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 +7 -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/mask/{index.ts → index.d.ts} +1 -1
- package/ui/mask/src/mask.component.d.ts +21 -0
- package/ui/number/{index.ts → index.d.ts} +1 -1
- package/ui/number/src/number.component.d.ts +27 -0
- package/ui/overlayPanel/{index.ts → index.d.ts} +1 -1
- package/ui/overlayPanel/src/overlay-panel.component.d.ts +8 -0
- package/ui/panel/{index.ts → index.d.ts} +1 -1
- package/ui/panel/src/panel.component.d.ts +10 -0
- package/ui/password/{index.ts → index.d.ts} +1 -1
- package/ui/password/src/password.component.d.ts +11 -0
- package/ui/radioButton/{index.ts → index.d.ts} +1 -1
- package/ui/radioButton/src/radio-button.component.d.ts +20 -0
- package/ui/selectBox/{index.ts → index.d.ts} +1 -1
- package/ui/selectBox/src/interfaces.d.ts +32 -0
- package/ui/selectBox/src/select-box.component.d.ts +25 -0
- package/ui/switch/{index.ts → index.d.ts} +1 -1
- package/ui/switch/src/switch.component.d.ts +8 -0
- package/ui/table/index.d.ts +16 -0
- package/ui/table/src/i18n.d.ts +42 -0
- package/ui/table/src/table-column.component.d.ts +24 -0
- package/ui/table/src/table.component.d.ts +41 -0
- package/ui/tagBox/{index.ts → index.d.ts} +1 -1
- package/ui/tagBox/src/tag-box.component.d.ts +15 -0
- package/ui/text/{index.ts → index.d.ts} +1 -1
- package/ui/text/src/text.component.d.ts +17 -0
- package/ui/textArea/{index.ts → index.d.ts} +1 -1
- package/ui/textArea/src/text-area.component.d.ts +11 -0
- package/ui/toggle-button/index.d.ts +1 -0
- package/ui/toggle-button/src/toggle-button.component.d.ts +10 -0
- package/ui/tree/{index.ts → index.d.ts} +1 -1
- package/ui/tree/src/tree.component.d.ts +19 -0
- package/ui/treeTable/{index.ts → index.d.ts} +1 -1
- package/ui/treeTable/src/tree-table.component.d.ts +21 -0
- package/ui/value/{index.ts → index.d.ts} +1 -1
- package/ui/value/src/value.component.d.ts +13 -0
- package/util/block/{index.ts → index.d.ts} +1 -1
- package/util/block/src/block.d.ts +28 -0
- package/util/custom_pages/{index.ts → index.d.ts} +1 -1
- package/util/custom_pages/src/notFound.component.d.ts +5 -0
- package/util/index.d.ts +1 -0
- package/util/init-event/{index.ts → index.d.ts} +1 -1
- package/util/init-event/src/init-event.directive.d.ts +8 -0
- package/util/lib/{index.ts → index.d.ts} +3 -3
- 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 +29 -0
- package/util/loaders/{index.ts → index.d.ts} +2 -2
- package/util/loaders/script/script.loader.service.d.ts +13 -0
- package/util/loaders/style/style.loader.service.d.ts +13 -0
- package/util/primitive-extensions/{index.ts → index.d.ts} +4 -4
- package/util/primitive-extensions/src/{boolean.extensions.ts → boolean.extensions.d.ts} +1 -1
- 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/{index.ts → index.d.ts} +1 -1
- package/util/pub-sub/src/pub-sub.service.d.ts +20 -0
- package/.eslintrc.json +0 -41
- package/boot/config/api/ng-package.json +0 -6
- package/boot/config/api/src/api.service.ts +0 -57
- package/boot/config/api/src/interfaces.ts +0 -13
- package/boot/config/apps/ng-package.json +0 -6
- package/boot/config/apps/src/apps.service.ts +0 -64
- package/boot/config/apps/src/interfaces.ts +0 -27
- 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 -9
- package/boot/config/plugins/src/interfaces.ts +0 -11
- package/boot/config/plugins/src/plugins.service.ts +0 -82
- package/boot/host/ng-package.json +0 -6
- package/boot/host/src/app.component.ts +0 -27
- package/boot/host/src/bootstrap.ts +0 -61
- package/boot/index.ts +0 -1
- package/boot/mfe/ng-package.json +0 -6
- package/boot/mfe/src/app.component.ts +0 -57
- package/boot/mfe/src/appComponentLoader.ts +0 -4
- package/boot/mfe/src/bootstrap.ts +0 -78
- package/boot/mfe/src/loadStyles.ts +0 -19
- package/boot/ng-package.json +0 -6
- package/http/lib/enums.ts +0 -13
- package/http/lib/interfaces.ts +0 -38
- 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/state-machine.interceptor.ts +0 -9
- package/http/src/serviceBase.ts +0 -91
- package/http/src/serviceMockBase.ts +0 -12
- package/http/src/serviceRequest.ts +0 -26
- package/http/src/serviceStateMethods.ts +0 -155
- 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 -16
- package/i18n/src/provideI18n.ts +0 -18
- package/i18n/src/provideScope.ts +0 -20
- package/keycloak/ng-package.json +0 -6
- package/keycloak/src/auth.guard.ts +0 -37
- package/keycloak/src/auth.interceptor.ts +0 -13
- package/keycloak/src/keycloak.manager.ts +0 -89
- package/ng-package.json +0 -14
- package/project.json +0 -39
- 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 -11
- package/ui/autoComplete/src/auto-complete.component.ts +0 -92
- package/ui/autoComplete/src/interfaces.ts +0 -30
- package/ui/badge/ng-package.json +0 -6
- package/ui/badge/src/badge.component.html +0 -3
- package/ui/badge/src/badge.component.ts +0 -19
- package/ui/button/ng-package.json +0 -6
- package/ui/button/src/button.component.html +0 -10
- package/ui/button/src/button.component.ts +0 -43
- 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 -31
- package/ui/calendar/src/calendar.component.ts +0 -136
- package/ui/checkbox/ng-package.json +0 -6
- package/ui/checkbox/src/check-box.component.html +0 -9
- package/ui/checkbox/src/check-box.component.ts +0 -19
- package/ui/checkbox/src/tri-state-checkbox.component.html +0 -7
- package/ui/checkbox/src/tri-state-checkbox.component.ts +0 -20
- package/ui/dxField/ng-package.json +0 -6
- package/ui/dxField/src/dx-field.component.html +0 -8
- package/ui/dxField/src/dx-field.component.ts +0 -16
- package/ui/field/ng-package.json +0 -6
- package/ui/field/src/field.component.html +0 -22
- package/ui/field/src/field.component.ts +0 -46
- package/ui/fileUpload/ng-package.json +0 -6
- package/ui/fileUpload/src/file-upload.component.html +0 -38
- package/ui/fileUpload/src/file-upload.component.ts +0 -72
- 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/index.ts +0 -1
- 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/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 -39
- package/ui/lib/src/input/input-transforms.ts +0 -11
- package/ui/lib/src/input/value-accessor.directive.ts +0 -27
- 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/ng-package.json +0 -6
- package/ui/number/ng-package.json +0 -6
- package/ui/number/src/number.component.html +0 -25
- package/ui/number/src/number.component.ts +0 -34
- 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 -25
- package/ui/panel/src/panel.component.html +0 -38
- package/ui/panel/src/panel.component.ts +0 -24
- package/ui/password/ng-package.json +0 -6
- package/ui/password/src/password.component.html +0 -24
- package/ui/password/src/password.component.ts +0 -22
- package/ui/radioButton/ng-package.json +0 -6
- package/ui/radioButton/src/radio-button.component.html +0 -17
- package/ui/radioButton/src/radio-button.component.ts +0 -36
- 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 -17
- package/ui/selectBox/src/select-box.component.ts +0 -69
- 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 -34
- package/ui/table/ng-package.json +0 -6
- package/ui/table/src/i18n.ts +0 -55
- package/ui/table/src/table-column.component.ts +0 -28
- package/ui/table/src/table.component.html +0 -136
- package/ui/table/src/table.component.ts +0 -99
- package/ui/tagBox/ng-package.json +0 -6
- package/ui/tagBox/src/tag-box.component.html +0 -21
- package/ui/tagBox/src/tag-box.component.ts +0 -53
- 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 -47
- package/ui/textArea/ng-package.json +0 -6
- package/ui/textArea/src/text-area.component.html +0 -11
- package/ui/textArea/src/text-area.component.ts +0 -21
- 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/tree/ng-package.json +0 -6
- package/ui/tree/src/tree.component.html +0 -16
- package/ui/tree/src/tree.component.ts +0 -52
- 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 -19
- package/ui/value/src/value.component.ts +0 -39
- package/util/block/ng-package.json +0 -6
- package/util/block/src/block.ts +0 -65
- package/util/custom_pages/ng-package.json +0 -6
- package/util/custom_pages/src/notFound.component.ts +0 -34
- package/util/index.ts +0 -1
- package/util/init-event/ng-package.json +0 -6
- package/util/init-event/src/init-event.directive.ts +0 -13
- package/util/lib/ng-package.json +0 -6
- package/util/lib/src/interfaces.ts +0 -44
- package/util/lib/src/module-router.ts +0 -10
- package/util/lib/src/types.ts +0 -49
- package/util/loaders/ng-package.json +0 -6
- package/util/loaders/script/script.loader.service.ts +0 -69
- package/util/loaders/style/style.loader.service.ts +0 -69
- package/util/ng-package.json +0 -6
- 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 -34
- /package/boot/config/{api/src/api.sample.json → api.sample.json} +0 -0
- /package/{util/block/src → scripts/util}/blockui.min.js +0 -0
- /package/{ui/styles → styles/ui}/ui.common.scss +0 -0
- /package/{util/block/src → styles/util}/blockui.css +0 -0
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
2
|
-
import { ChangeDetectionStrategy, Component, HostBinding, effect, input } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
import { DxFieldComponent } from 'aril/ui/dxField';
|
|
5
|
-
import { Types } from 'aril/util/lib';
|
|
6
|
-
|
|
7
|
-
type LabelPositions = 'top' | 'left';
|
|
8
|
-
|
|
9
|
-
interface ColumnSizeTypes {
|
|
10
|
-
xl?: Types.NumberRange<1, 13>;
|
|
11
|
-
lg?: Types.NumberRange<1, 13>;
|
|
12
|
-
md?: Types.NumberRange<1, 13>;
|
|
13
|
-
sm?: Types.NumberRange<1, 13>;
|
|
14
|
-
default?: Types.NumberRange<1, 13>;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@Component({
|
|
18
|
-
standalone: true,
|
|
19
|
-
selector: 'aril-field',
|
|
20
|
-
templateUrl: './field.component.html',
|
|
21
|
-
imports: [DxFieldComponent, NgIf, NgTemplateOutlet],
|
|
22
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
23
|
-
})
|
|
24
|
-
export class FieldComponent {
|
|
25
|
-
constructor() {
|
|
26
|
-
effect(() => {
|
|
27
|
-
if (this.cols()) {
|
|
28
|
-
this.hostClass = Object.entries(this.cols()).reduce((acc, [key, value]) => {
|
|
29
|
-
if (key === 'default') return `${acc} col-${value}`;
|
|
30
|
-
return `${acc} ${key}:col-${value}`;
|
|
31
|
-
}, '');
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
label = input<string>();
|
|
37
|
-
color = input<string>('#333');
|
|
38
|
-
labelWidth = input<number>(30);
|
|
39
|
-
valueWidth = input<number>(70);
|
|
40
|
-
labelPos = input<LabelPositions>('top');
|
|
41
|
-
markAsRequired = input<boolean>(false);
|
|
42
|
-
cols = input.required<ColumnSizeTypes>({});
|
|
43
|
-
|
|
44
|
-
@HostBinding('class') hostClass = '';
|
|
45
|
-
@HostBinding('style.padding') padding = '.5rem';
|
|
46
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
<p-fileUpload
|
|
2
|
-
[name]="name()"
|
|
3
|
-
[url]="url()"
|
|
4
|
-
method="post"
|
|
5
|
-
[multiple]="multiple()"
|
|
6
|
-
[accept]="accept()"
|
|
7
|
-
[disabled]="disabled()"
|
|
8
|
-
[auto]="auto()"
|
|
9
|
-
[maxFileSize]="maxFileSize()"
|
|
10
|
-
[tabindex]="tabindex"
|
|
11
|
-
[withCredentials]="withCredentials()"
|
|
12
|
-
[showUploadButton]="showUploadButton()"
|
|
13
|
-
[showCancelButton]="showCancelButton()"
|
|
14
|
-
[chooseLabel]="chooseLabel()"
|
|
15
|
-
[cancelLabel]="cancelLabel()"
|
|
16
|
-
[uploadLabel]="uploadLabel()"
|
|
17
|
-
[invalidFileTypeMessageSummary]="invalidFileTypeMessageSummary()"
|
|
18
|
-
[invalidFileTypeMessageDetail]="invalidFileTypeMessageDetail()"
|
|
19
|
-
[invalidFileSizeMessageSummary]="invalidFileSizeMessageSummary()"
|
|
20
|
-
[invalidFileSizeMessageDetail]="invalidFileSizeMessageDetail()"
|
|
21
|
-
(onBeforeSend)="beforeSend.emit($event)"
|
|
22
|
-
(onUpload)="onUpload($event)"
|
|
23
|
-
(onError)="onError($event)"
|
|
24
|
-
(onSelect)="selects.emit($event)"
|
|
25
|
-
(onClear)="clear.emit($event)">
|
|
26
|
-
<ng-template pTemplate="content">
|
|
27
|
-
@if (uploadedFiles.length) {
|
|
28
|
-
<div class="flex flex-column">
|
|
29
|
-
@for (file of uploadedFiles; track file) {
|
|
30
|
-
<div class="mt-2">
|
|
31
|
-
<i class="pi pi-file-excel" style="color: slateblue; font-size: 1.4rem"></i>
|
|
32
|
-
{{ file.name }} - {{ file.size }} bytes
|
|
33
|
-
</div>
|
|
34
|
-
}
|
|
35
|
-
</div>
|
|
36
|
-
}
|
|
37
|
-
</ng-template>
|
|
38
|
-
</p-fileUpload>
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { HttpEvent } from '@angular/common/http';
|
|
3
|
-
import { Component, EventEmitter, Output, input } from '@angular/core';
|
|
4
|
-
|
|
5
|
-
import { MessageService } from 'primeng/api';
|
|
6
|
-
import { FileUploadModule } from 'primeng/fileupload';
|
|
7
|
-
|
|
8
|
-
interface UploadEvent {
|
|
9
|
-
originalEvent: HttpEvent<any>;
|
|
10
|
-
files: File[];
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
interface UploadFile {
|
|
14
|
-
name: string;
|
|
15
|
-
size: number;
|
|
16
|
-
type: string;
|
|
17
|
-
objectURL?: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface FileUploadErrorEvent {
|
|
21
|
-
files: File[];
|
|
22
|
-
error: ErrorEvent;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@Component({
|
|
26
|
-
standalone: true,
|
|
27
|
-
selector: 'aril-file-upload',
|
|
28
|
-
templateUrl: './file-upload.component.html',
|
|
29
|
-
imports: [FileUploadModule],
|
|
30
|
-
providers: [MessageService]
|
|
31
|
-
})
|
|
32
|
-
export class FileUploadComponent {
|
|
33
|
-
constructor(private messageService: MessageService) {}
|
|
34
|
-
|
|
35
|
-
name = input<string>();
|
|
36
|
-
url = input.required<string>();
|
|
37
|
-
multiple = input(false);
|
|
38
|
-
accept = input<string>('.xlsx');
|
|
39
|
-
disabled = input(false);
|
|
40
|
-
auto = input(false);
|
|
41
|
-
maxFileSize = input<number>();
|
|
42
|
-
tabindex = input<number>();
|
|
43
|
-
withCredentials = input(false);
|
|
44
|
-
showUploadButton = input(true);
|
|
45
|
-
showCancelButton = input(true);
|
|
46
|
-
cancelLabel = input('Temizle');
|
|
47
|
-
chooseLabel = input('Dosya Seç');
|
|
48
|
-
uploadLabel = input('Dosya Yükle');
|
|
49
|
-
invalidFileTypeMessageSummary = input('Geçersiz dosya türü');
|
|
50
|
-
invalidFileTypeMessageDetail = input('Seçilen dosya türü desteklenmiyor.');
|
|
51
|
-
invalidFileSizeMessageSummary = input('Dosya boyutu çok büyük');
|
|
52
|
-
invalidFileSizeMessageDetail = input('Dosya boyutu izin verilen maksimum boyuttan daha büyük.');
|
|
53
|
-
|
|
54
|
-
@Output() beforeSend: EventEmitter<unknown> = new EventEmitter();
|
|
55
|
-
@Output() upload: EventEmitter<unknown> = new EventEmitter();
|
|
56
|
-
@Output() errors: EventEmitter<unknown> = new EventEmitter();
|
|
57
|
-
@Output() selects: EventEmitter<unknown> = new EventEmitter();
|
|
58
|
-
@Output() clear: EventEmitter<unknown> = new EventEmitter();
|
|
59
|
-
|
|
60
|
-
uploadedFiles: UploadFile[] = [];
|
|
61
|
-
|
|
62
|
-
onUpload(event: UploadEvent) {
|
|
63
|
-
this.upload.emit(event);
|
|
64
|
-
this.uploadedFiles = event.files;
|
|
65
|
-
this.messageService.add({ key: 'toast-root', severity: 'success', summary: 'Dosya başarıyla yüklendi.' });
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
onError(event: any) {
|
|
69
|
-
this.errors.emit(event);
|
|
70
|
-
this.messageService.add({ key: 'toast-root', severity: 'error', summary: 'Dosya yüklenemedi.' });
|
|
71
|
-
}
|
|
72
|
-
}
|
package/ui/form/index.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
import { ButtonComponent } from 'aril/ui/button';
|
|
4
|
-
|
|
5
|
-
import { FormSubmitButtonComponent } from './src/form-submit-button.component';
|
|
6
|
-
import { FormComponent } from './src/form.component';
|
|
7
|
-
|
|
8
|
-
export * from './src/form.component';
|
|
9
|
-
export * from './src/form-submit-button.component';
|
|
10
|
-
|
|
11
|
-
const components = [FormComponent, FormSubmitButtonComponent];
|
|
12
|
-
|
|
13
|
-
@NgModule({
|
|
14
|
-
imports: [ButtonComponent],
|
|
15
|
-
exports: [components],
|
|
16
|
-
declarations: [components]
|
|
17
|
-
})
|
|
18
|
-
export class ARiLFormModule {}
|
package/ui/form/ng-package.json
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<aril-button
|
|
2
|
-
[label]="label()"
|
|
3
|
-
[loading]="formGroup().pending"
|
|
4
|
-
[disabled]="disabled()"
|
|
5
|
-
[raised]="raised()"
|
|
6
|
-
[outlined]="outlined()"
|
|
7
|
-
[badge]="badge()"
|
|
8
|
-
[size]="size()"
|
|
9
|
-
[icon]="icon()"
|
|
10
|
-
[color]="color()"
|
|
11
|
-
(clickEvent)="submit()">
|
|
12
|
-
</aril-button>
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Output, inject, input } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
|
|
4
|
-
import { MessageService } from 'primeng/api';
|
|
5
|
-
|
|
6
|
-
import { ButtonComponent } from 'aril/ui/button';
|
|
7
|
-
import { checkValidInputs } from 'aril/ui/lib';
|
|
8
|
-
|
|
9
|
-
@Component({
|
|
10
|
-
selector: 'aril-form-submit:not([click])',
|
|
11
|
-
templateUrl: './form-submit-button.component.html',
|
|
12
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
13
|
-
})
|
|
14
|
-
export class FormSubmitButtonComponent extends ButtonComponent {
|
|
15
|
-
formGroup = input.required<FormGroup>();
|
|
16
|
-
|
|
17
|
-
@Output() validEvent: EventEmitter<never> = new EventEmitter<never>();
|
|
18
|
-
@Output() inValidEvent: EventEmitter<never> = new EventEmitter<never>();
|
|
19
|
-
|
|
20
|
-
messageService = inject(MessageService);
|
|
21
|
-
|
|
22
|
-
submit() {
|
|
23
|
-
checkValidInputs(this.formGroup());
|
|
24
|
-
|
|
25
|
-
if (this.formGroup().valid) this.validEvent.emit();
|
|
26
|
-
else {
|
|
27
|
-
this.messageService.add({
|
|
28
|
-
key: 'toast-root',
|
|
29
|
-
severity: 'warn ',
|
|
30
|
-
summary: 'Form Hatası',
|
|
31
|
-
detail: 'Lütfen formdaki eksikleri gideriniz'
|
|
32
|
-
});
|
|
33
|
-
this.inValidEvent.emit();
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
|
|
4
|
-
import { FlexGridDirective, FormErrorMessageDirective } from 'aril/ui/lib';
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: 'aril-form',
|
|
8
|
-
template: ` <ng-content></ng-content> `,
|
|
9
|
-
hostDirectives: [
|
|
10
|
-
FlexGridDirective,
|
|
11
|
-
{
|
|
12
|
-
directive: FormErrorMessageDirective,
|
|
13
|
-
inputs: ['formErrorMessage: formGroup']
|
|
14
|
-
}
|
|
15
|
-
],
|
|
16
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
17
|
-
})
|
|
18
|
-
export class FormComponent {
|
|
19
|
-
formGroup = input.required<FormGroup>();
|
|
20
|
-
}
|
package/ui/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const aril_ui = 'ARiL-UI';
|
package/ui/lib/ng-package.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
-
import { ValidationErrors } from '@angular/forms';
|
|
3
|
-
|
|
4
|
-
import { Message } from 'primeng/api';
|
|
5
|
-
import { MessagesModule } from 'primeng/messages';
|
|
6
|
-
|
|
7
|
-
@Component({
|
|
8
|
-
standalone: true,
|
|
9
|
-
imports: [MessagesModule],
|
|
10
|
-
template: `
|
|
11
|
-
<div class="flex gap-2 formErrorMessage">
|
|
12
|
-
<p-messages [(value)]="_pMessages" [enableService]="false" [closable]="false"></p-messages>
|
|
13
|
-
</div>
|
|
14
|
-
`,
|
|
15
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
16
|
-
})
|
|
17
|
-
export class FormErrorMessagesComponent {
|
|
18
|
-
_pMessages!: Message[];
|
|
19
|
-
|
|
20
|
-
@Input() set messages(messages: ValidationErrors | null) {
|
|
21
|
-
this._pMessages = Object.values(messages!).map((msg) => {
|
|
22
|
-
return { severity: 'error', summary: '', detail: msg };
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @angular-eslint/directive-selector */
|
|
2
|
-
import { ComponentRef, Directive, OnInit, ViewContainerRef, input } from '@angular/core';
|
|
3
|
-
import { FormGroup } from '@angular/forms';
|
|
4
|
-
|
|
5
|
-
import { FormErrorMessagesComponent } from './form-error-message.component';
|
|
6
|
-
|
|
7
|
-
@Directive({
|
|
8
|
-
standalone: true,
|
|
9
|
-
selector: '[formErrorMessage]'
|
|
10
|
-
})
|
|
11
|
-
export class FormErrorMessageDirective implements OnInit {
|
|
12
|
-
constructor(private viewContainerRef: ViewContainerRef) {}
|
|
13
|
-
|
|
14
|
-
formErrorMessage = input.required<FormGroup>();
|
|
15
|
-
|
|
16
|
-
errorKeys: string[] = [];
|
|
17
|
-
componentRef!: ComponentRef<FormErrorMessagesComponent>;
|
|
18
|
-
|
|
19
|
-
ngOnInit(): void {
|
|
20
|
-
this.formErrorMessage().statusChanges.subscribe((status) => {
|
|
21
|
-
if (this.componentRef) this.viewContainerRef.remove();
|
|
22
|
-
|
|
23
|
-
if (status === 'INVALID') {
|
|
24
|
-
if (this.formErrorMessage().errors) {
|
|
25
|
-
this.componentRef = this.viewContainerRef.createComponent(FormErrorMessagesComponent);
|
|
26
|
-
this.componentRef.instance.messages = this.formErrorMessage().errors;
|
|
27
|
-
this.viewContainerRef.insert(this.componentRef.hostView);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { FormControl, FormGroup, ValidatorFn } from '@angular/forms';
|
|
2
|
-
|
|
3
|
-
export const addControlsWithValidation = (
|
|
4
|
-
form: FormGroup,
|
|
5
|
-
controls: { name: string; validator?: ValidatorFn; disabled?: boolean }[]
|
|
6
|
-
) => {
|
|
7
|
-
controls.forEach((control) => {
|
|
8
|
-
if (!form.contains(control.name)) {
|
|
9
|
-
form.addControl(
|
|
10
|
-
control.name,
|
|
11
|
-
new FormControl({ value: null, disabled: control?.disabled || false }, control.validator)
|
|
12
|
-
);
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export const removeControls = (form: FormGroup, controlNames: string[]) => {
|
|
18
|
-
controlNames.forEach((controlName) => {
|
|
19
|
-
if (form.contains(controlName)) {
|
|
20
|
-
form.removeControl(controlName);
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export const updateValueAndValidities = (form: FormGroup, controlNames: string[]) => {
|
|
26
|
-
controlNames.forEach((controlName) => {
|
|
27
|
-
if (form.contains(controlName)) {
|
|
28
|
-
form.get(controlName)?.updateValueAndValidity();
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FormArray, FormControl, FormGroup } from '@angular/forms';
|
|
2
|
-
|
|
3
|
-
export const checkValidInputs = (formGroup: FormGroup | FormArray) => {
|
|
4
|
-
Object.keys(formGroup.controls).forEach((field) => {
|
|
5
|
-
const control = formGroup.get(field);
|
|
6
|
-
|
|
7
|
-
if (control instanceof FormControl) {
|
|
8
|
-
control.markAsTouched({ onlySelf: true });
|
|
9
|
-
control.markAsDirty({ onlySelf: true });
|
|
10
|
-
} else if (control instanceof FormGroup || control instanceof FormArray) {
|
|
11
|
-
checkValidInputs(control);
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @angular-eslint/directive-selector */
|
|
2
|
-
import { Directive, HostBinding } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Directive({
|
|
5
|
-
standalone: true,
|
|
6
|
-
selector: '[flexGrid]'
|
|
7
|
-
})
|
|
8
|
-
export class FlexGridDirective {
|
|
9
|
-
@HostBinding('class') hostClass = 'grid p-fluid m-0 p-0';
|
|
10
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { inject } from '@angular/core';
|
|
2
|
-
import { FormControlDirective, FormControlName, NgControl, NgModel } from '@angular/forms';
|
|
3
|
-
|
|
4
|
-
import { TooltipOptions } from 'primeng/api';
|
|
5
|
-
|
|
6
|
-
export abstract class BaseInputComponent {
|
|
7
|
-
ngControl = injectNgControl();
|
|
8
|
-
|
|
9
|
-
tooltipOptions: TooltipOptions = {
|
|
10
|
-
tooltipPosition: 'top',
|
|
11
|
-
tooltipEvent: 'focus',
|
|
12
|
-
tooltipStyleClass: 'tooltipErrorMessage'
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export function injectNgControl() {
|
|
17
|
-
const ngControl = inject(NgControl, { self: true, optional: true });
|
|
18
|
-
|
|
19
|
-
if (!ngControl) throw new Error('NgModel or FormControlName or FormControlDirective is required');
|
|
20
|
-
|
|
21
|
-
if (
|
|
22
|
-
ngControl instanceof NgModel ||
|
|
23
|
-
ngControl instanceof FormControlName ||
|
|
24
|
-
ngControl instanceof FormControlDirective
|
|
25
|
-
) {
|
|
26
|
-
return ngControl;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
throw new Error('Something went wrong in InjectNgControl');
|
|
30
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
|
|
3
|
-
|
|
4
|
-
import 'aril/util/primitive-extensions';
|
|
5
|
-
|
|
6
|
-
type DateRangeFormat = 'minute' | 'hour' | 'day' | 'month' | 'year';
|
|
7
|
-
|
|
8
|
-
@Injectable({
|
|
9
|
-
providedIn: 'root'
|
|
10
|
-
})
|
|
11
|
-
export class CommonInputValidatorsService {
|
|
12
|
-
/**
|
|
13
|
-
* @param sdCtrlName - name of the start date form control
|
|
14
|
-
* @param edCtrlName - name of the end date form control
|
|
15
|
-
* @param rangeValue - range between start and end date. Default value is 1
|
|
16
|
-
* @param rangeFormat - format of the range. Default value is "day"
|
|
17
|
-
*/
|
|
18
|
-
dateRange(sdCtrlName: string, edCtrlName: string, rangeValue = 0, rangeFormat: DateRangeFormat = 'day'): ValidatorFn {
|
|
19
|
-
return (control: AbstractControl): ValidationErrors | null => {
|
|
20
|
-
const start: number = control.get(sdCtrlName)?.value;
|
|
21
|
-
const end: number = control.get(edCtrlName)?.value;
|
|
22
|
-
|
|
23
|
-
const startJSDate = start.longToDate();
|
|
24
|
-
const endJSDate = end.longToDate();
|
|
25
|
-
|
|
26
|
-
if (startJSDate && endJSDate) {
|
|
27
|
-
const isRangeValid = endJSDate.getTime() - startJSDate.getTime() > rangeValue;
|
|
28
|
-
|
|
29
|
-
return isRangeValid ? null : (
|
|
30
|
-
{ dateRange: `The end date must be at least ${rangeValue} ${rangeFormat} bigger than the start date` }
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
return null;
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* @description - pasword match vs.
|
|
40
|
-
*/
|
|
41
|
-
strictMatch(controlName: string, matchingControlName: string): ValidatorFn {
|
|
42
|
-
return (control: AbstractControl): ValidationErrors | null => {
|
|
43
|
-
const firstField = control.get(controlName);
|
|
44
|
-
const secondField = control.get(matchingControlName);
|
|
45
|
-
|
|
46
|
-
if (!firstField || !secondField) {
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
if (firstField.value !== secondField.value) {
|
|
51
|
-
return { strictMatch: `${controlName} and ${matchingControlName} do not match` };
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
return null;
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { Pipe, PipeTransform, inject } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
import { InputErrorMessagePipe } from './input-error-message.pipe';
|
|
5
|
-
|
|
6
|
-
@Pipe({
|
|
7
|
-
standalone: true,
|
|
8
|
-
name: 'dxInputErrorMessage'
|
|
9
|
-
})
|
|
10
|
-
export class DXInputErrorMessagePipe implements PipeTransform {
|
|
11
|
-
errorMsgPipe = inject(InputErrorMessagePipe);
|
|
12
|
-
|
|
13
|
-
transform(value: any, ...args: any[]): { message: string } {
|
|
14
|
-
return { message: this.errorMsgPipe.transform(value, ...args) };
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Directive, Input } from '@angular/core';
|
|
2
|
-
import { NgControl } from '@angular/forms';
|
|
3
|
-
|
|
4
|
-
@Directive({
|
|
5
|
-
standalone: true,
|
|
6
|
-
selector: '[arilDisabled]'
|
|
7
|
-
})
|
|
8
|
-
export class InputDisabledDirective {
|
|
9
|
-
constructor(private ngControl: NgControl) {}
|
|
10
|
-
|
|
11
|
-
@Input() set arilDisabled(condition: boolean) {
|
|
12
|
-
const action = condition ? 'disable' : 'enable';
|
|
13
|
-
if (this.ngControl.control) this.ngControl.control[action]();
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { Pipe, PipeTransform } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
@Pipe({
|
|
5
|
-
standalone: true,
|
|
6
|
-
name: 'inputErrorMessage'
|
|
7
|
-
})
|
|
8
|
-
export class InputErrorMessagePipe implements PipeTransform {
|
|
9
|
-
transform(value: any, ...args: any[]): string {
|
|
10
|
-
const control = args[0];
|
|
11
|
-
const errorKeys = Object.keys(control.errors || {});
|
|
12
|
-
|
|
13
|
-
if (errorKeys.length) {
|
|
14
|
-
const errorKey = errorKeys[0];
|
|
15
|
-
const errorValue = control.errors![errorKey];
|
|
16
|
-
|
|
17
|
-
switch (errorKey) {
|
|
18
|
-
case 'required':
|
|
19
|
-
return 'This field is required';
|
|
20
|
-
case 'min':
|
|
21
|
-
return `Minimum value is ${errorValue.min}`;
|
|
22
|
-
case 'max':
|
|
23
|
-
return `Maximum value is ${errorValue.max}`;
|
|
24
|
-
case 'minlength':
|
|
25
|
-
return `Minimum length is ${errorValue.requiredLength}`;
|
|
26
|
-
case 'maxlength':
|
|
27
|
-
return `Maximum length is ${errorValue.requiredLength}`;
|
|
28
|
-
case 'email':
|
|
29
|
-
return 'Invalid email';
|
|
30
|
-
case 'pattern':
|
|
31
|
-
return 'Invalid format';
|
|
32
|
-
default:
|
|
33
|
-
return errorValue;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
return '';
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PrimeIcons } from 'primeng/api';
|
|
2
|
-
|
|
3
|
-
export type PrimeIcon = Exclude<keyof typeof PrimeIcons, 'prototype'>;
|
|
4
|
-
export function iconTransform(icon: PrimeIcon): string {
|
|
5
|
-
return PrimeIcons[icon];
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export type IconPosTypes = 'right' | 'left';
|
|
9
|
-
export function iconPosTransform(pos: IconPosTypes): string {
|
|
10
|
-
return 'p-input-icon-' + pos;
|
|
11
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
-
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
4
|
-
import { Directive } from '@angular/core';
|
|
5
|
-
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
6
|
-
|
|
7
|
-
@Directive({
|
|
8
|
-
standalone: true,
|
|
9
|
-
providers: [
|
|
10
|
-
{
|
|
11
|
-
provide: NG_VALUE_ACCESSOR,
|
|
12
|
-
multi: true,
|
|
13
|
-
useExisting: ValueAccessorDirective
|
|
14
|
-
}
|
|
15
|
-
]
|
|
16
|
-
})
|
|
17
|
-
export class ValueAccessorDirective implements ControlValueAccessor {
|
|
18
|
-
writeValue(obj: any): void {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
registerOnChange(fn: any): void {
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
registerOnTouched(fn: any): void {
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
}
|
package/ui/mask/ng-package.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
.custom-tooltip {
|
|
2
|
-
position: absolute;
|
|
3
|
-
background-color: crimson;
|
|
4
|
-
color: white;
|
|
5
|
-
padding: 0.75rem 0.75rem;
|
|
6
|
-
border-radius: 6px;
|
|
7
|
-
z-index: 1001;
|
|
8
|
-
top: -107%;
|
|
9
|
-
left: 50%;
|
|
10
|
-
transform: translateX(-50%);
|
|
11
|
-
white-space: nowrap;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.custom-tooltip:before {
|
|
15
|
-
content: '';
|
|
16
|
-
position: absolute;
|
|
17
|
-
top: 100%;
|
|
18
|
-
left: 50%;
|
|
19
|
-
margin-left: -5px;
|
|
20
|
-
border-width: 3px;
|
|
21
|
-
border-style: solid;
|
|
22
|
-
border-color: var(--primary-color) transparent transparent transparent;
|
|
23
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<div style="position: relative" [ngStyle]="!usageInGrid ? { display: 'inline-block' } : {}">
|
|
2
|
-
<p-inputMask
|
|
3
|
-
[mask]="mask()"
|
|
4
|
-
[slotChar]="slotChar()"
|
|
5
|
-
[placeholder]="placeholder()"
|
|
6
|
-
[maxlength]="maxlength()"
|
|
7
|
-
[formControl]="ngControl.control"
|
|
8
|
-
(ngModelChange)="ngControl.viewToModelUpdate($event)"
|
|
9
|
-
(onFocus)="showTooltip = true"
|
|
10
|
-
(onBlur)="showTooltip = false">
|
|
11
|
-
</p-inputMask>
|
|
12
|
-
@if (ngControl.invalid && showTooltip) {
|
|
13
|
-
<div class="custom-tooltip tooltipErrorMessage">
|
|
14
|
-
{{ ngControl.control.value | inputErrorMessage: ngControl }}
|
|
15
|
-
</div>
|
|
16
|
-
}
|
|
17
|
-
</div>
|