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,136 +0,0 @@
|
|
|
1
|
-
<p-table
|
|
2
|
-
#ref
|
|
3
|
-
[value]="data()"
|
|
4
|
-
[columns]="columns._results"
|
|
5
|
-
[rows]="pageSize()"
|
|
6
|
-
[rowHover]="true"
|
|
7
|
-
[paginator]="true"
|
|
8
|
-
[rowsPerPageOptions]="[10, 20, 50, 100]"
|
|
9
|
-
[filterDelay]="0"
|
|
10
|
-
sortMode="multiple"
|
|
11
|
-
[(selection)]="selectedRows"
|
|
12
|
-
(onPage)="onPageEvent.emit($event)"
|
|
13
|
-
(selectionChange)="selectionEvent.emit(selectedRows)"
|
|
14
|
-
[showCurrentPageReport]="true"
|
|
15
|
-
[selectionMode]="selectionMode()"
|
|
16
|
-
currentPageReportTemplate="Toplam : {totalRecords} kayıt | Sayfa : {currentPage} / {totalPages}"
|
|
17
|
-
styleClass="p-datatable-gridlines p-datatable-striped p-datatable-sm">
|
|
18
|
-
@if (tableHeader() || showSearchTool() || showExportTool()) {
|
|
19
|
-
<ng-template pTemplate="caption">
|
|
20
|
-
<div class="flex space-between">
|
|
21
|
-
<div style="flex: auto">
|
|
22
|
-
@if (tableHeader().length) {
|
|
23
|
-
<div class="table-header">
|
|
24
|
-
{{ tableHeader() }}
|
|
25
|
-
</div>
|
|
26
|
-
}
|
|
27
|
-
</div>
|
|
28
|
-
<div style="flex: auto">
|
|
29
|
-
<div class="flex justify-content-end align-items-center">
|
|
30
|
-
@if (showSearchTool()) {
|
|
31
|
-
<aril-text
|
|
32
|
-
icon="SEARCH"
|
|
33
|
-
iconPos="left"
|
|
34
|
-
placeholder="Arama"
|
|
35
|
-
[ngModel]="filterText"
|
|
36
|
-
class="mr-1"
|
|
37
|
-
(ngModelChange)="ref.filterGlobal($event.target.value, 'contains')">
|
|
38
|
-
</aril-text>
|
|
39
|
-
}
|
|
40
|
-
@if (showExportTool()) {
|
|
41
|
-
<aril-button
|
|
42
|
-
size="sm"
|
|
43
|
-
icon="FILE_EXCEL"
|
|
44
|
-
color="primary"
|
|
45
|
-
pTooltip="XLS"
|
|
46
|
-
tooltipPosition="top"
|
|
47
|
-
(clickEvent)="excelExport()"
|
|
48
|
-
class="mr-1">
|
|
49
|
-
</aril-button>
|
|
50
|
-
<aril-button
|
|
51
|
-
size="sm"
|
|
52
|
-
icon="FILE_PDF"
|
|
53
|
-
color="primary"
|
|
54
|
-
pTooltip="PDF"
|
|
55
|
-
tooltipPosition="top"
|
|
56
|
-
(clickEvent)="exportPdf()">
|
|
57
|
-
</aril-button>
|
|
58
|
-
}
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
</ng-template>
|
|
63
|
-
}
|
|
64
|
-
<ng-template pTemplate="header" let-columns>
|
|
65
|
-
<tr>
|
|
66
|
-
@if (checkboxSelection()) {
|
|
67
|
-
<th>
|
|
68
|
-
<p-tableHeaderCheckbox></p-tableHeaderCheckbox>
|
|
69
|
-
</th>
|
|
70
|
-
}
|
|
71
|
-
@for (column of columns; track $index) {
|
|
72
|
-
@if (column.type() == 'operations') {
|
|
73
|
-
<th>
|
|
74
|
-
<div class="flex justify-content-center">İşlemler</div>
|
|
75
|
-
</th>
|
|
76
|
-
} @else {
|
|
77
|
-
<th [pSortableColumn]="column.field()">
|
|
78
|
-
<div class="flex justify-content-between align-items-center">
|
|
79
|
-
{{ column.header() }}
|
|
80
|
-
<div class="flex">
|
|
81
|
-
<p-sortIcon [field]="column.field()"></p-sortIcon>
|
|
82
|
-
<p-columnFilter
|
|
83
|
-
display="menu"
|
|
84
|
-
[type]="column.type()"
|
|
85
|
-
[field]="column.field()"
|
|
86
|
-
[showMatchModes]="true"
|
|
87
|
-
[showOperator]="false"
|
|
88
|
-
[showAddButton]="true">
|
|
89
|
-
</p-columnFilter>
|
|
90
|
-
</div>
|
|
91
|
-
<!-- custom filter for (date etc.)-->
|
|
92
|
-
<!-- <p-columnFilter type="text" [field]="col.field" [matchModeOptions]="matchModeOptions" [matchMode]="'custom-equals'"></p-columnFilter> -->
|
|
93
|
-
</div>
|
|
94
|
-
</th>
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
</tr>
|
|
98
|
-
</ng-template>
|
|
99
|
-
<ng-template pTemplate="body" let-item let-columns="columns">
|
|
100
|
-
@if (selectionMode()) {
|
|
101
|
-
<tr [pSelectableRow]="item">
|
|
102
|
-
@for (column of columns; track $index) {
|
|
103
|
-
<td [ngStyle]="{ 'text-align': column.type() == 'operations' ? 'center' : column.tAlign() || tAlign() }">
|
|
104
|
-
<ng-template ngFor [ngForOf]="[item]" [ngForTemplate]="column.template"></ng-template>
|
|
105
|
-
</td>
|
|
106
|
-
}
|
|
107
|
-
</tr>
|
|
108
|
-
} @else {
|
|
109
|
-
<tr>
|
|
110
|
-
@if (checkboxSelection()) {
|
|
111
|
-
<td>
|
|
112
|
-
<p-tableCheckbox [value]="item"></p-tableCheckbox>
|
|
113
|
-
</td>
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
@for (column of columns; track $index) {
|
|
117
|
-
<td [ngStyle]="{ 'text-align': column.type() == 'operations' ? 'center' : column.tAlign() || tAlign() }">
|
|
118
|
-
<ng-template ngFor [ngForOf]="[item]" [ngForTemplate]="column.template"></ng-template>
|
|
119
|
-
</td>
|
|
120
|
-
}
|
|
121
|
-
</tr>
|
|
122
|
-
}
|
|
123
|
-
</ng-template>
|
|
124
|
-
|
|
125
|
-
@if (showFooter()) {
|
|
126
|
-
<ng-template pTemplate="summary">
|
|
127
|
-
<ng-content select="[footer]"></ng-content>
|
|
128
|
-
</ng-template>
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
<ng-template pTemplate="emptymessage">
|
|
132
|
-
<tr>
|
|
133
|
-
<td [attr.colspan]="columns._results.length">{{ noDataFoundLabel() }}</td>
|
|
134
|
-
</tr>
|
|
135
|
-
</ng-template>
|
|
136
|
-
</p-table>
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, Component, ContentChildren, EventEmitter, Output, input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
import { PrimeNGConfig } from 'primeng/api';
|
|
4
|
-
|
|
5
|
-
import * as FileSaver from 'file-saver';
|
|
6
|
-
|
|
7
|
-
import { ProxyTypes } from 'aril/http';
|
|
8
|
-
|
|
9
|
-
import { tranlations } from './i18n';
|
|
10
|
-
import { AlignTypes, TableColumnComponent, TableColumns } from './table-column.component';
|
|
11
|
-
import jsPDF from 'jspdf';
|
|
12
|
-
import autoTable from 'jspdf-autotable';
|
|
13
|
-
|
|
14
|
-
/* TODO :
|
|
15
|
-
* server-side-proxy (ProxyTypes.ServerSide)
|
|
16
|
-
* search & colum filter & sort
|
|
17
|
-
* export
|
|
18
|
-
* pagination operation
|
|
19
|
-
* Query Signals
|
|
20
|
-
*/
|
|
21
|
-
const pageOptions = [10, 20, 50, 100] as const;
|
|
22
|
-
|
|
23
|
-
type SelectionTypes = 'single' | 'multiple';
|
|
24
|
-
|
|
25
|
-
@Component({
|
|
26
|
-
selector: 'aril-table',
|
|
27
|
-
templateUrl: './table.component.html'
|
|
28
|
-
})
|
|
29
|
-
export class TableComponent implements AfterViewInit {
|
|
30
|
-
constructor(private primengConfig: PrimeNGConfig) {
|
|
31
|
-
this.primengConfig.setTranslation(tranlations);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
data = input.required<any[]>();
|
|
35
|
-
checkboxSelection = input<boolean>();
|
|
36
|
-
pageSize = input<(typeof pageOptions)[number]>(10);
|
|
37
|
-
proxy = input<ProxyTypes>(ProxyTypes.Native);
|
|
38
|
-
showFooter = input<boolean>(false);
|
|
39
|
-
tAlign = input<AlignTypes>('left');
|
|
40
|
-
selectionMode = input<SelectionTypes>();
|
|
41
|
-
showSearchTool = input<boolean>(true);
|
|
42
|
-
showExportTool = input<boolean>(true);
|
|
43
|
-
|
|
44
|
-
exportFileName = input<string>('');
|
|
45
|
-
noDataFoundLabel = input<string>('No Data Found');
|
|
46
|
-
|
|
47
|
-
tableHeader = input<string>('');
|
|
48
|
-
showTableHeader = input<boolean>(false);
|
|
49
|
-
|
|
50
|
-
isFirstRowSelected = input<boolean>(false);
|
|
51
|
-
|
|
52
|
-
@Output() onPageEvent: EventEmitter<any> = new EventEmitter<any>();
|
|
53
|
-
@Output() selectionEvent: EventEmitter<any> = new EventEmitter<any>();
|
|
54
|
-
|
|
55
|
-
@ContentChildren(TableColumnComponent) columns!: TableColumns;
|
|
56
|
-
|
|
57
|
-
filterText!: string;
|
|
58
|
-
selectedRows: any;
|
|
59
|
-
pageOptions = pageOptions;
|
|
60
|
-
|
|
61
|
-
exportColumns: Array<{ title: string; dataKey: string }> = [];
|
|
62
|
-
|
|
63
|
-
ngAfterViewInit(): void {
|
|
64
|
-
if (this.isFirstRowSelected() && this.data().length) {
|
|
65
|
-
this.selectedRows = this.data()[0];
|
|
66
|
-
this.selectionEvent.emit(this.selectedRows)
|
|
67
|
-
}
|
|
68
|
-
if (this.columns) {
|
|
69
|
-
this.exportColumns = this.columns._results.map((col) => ({ title: col.header, dataKey: col.field }));
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
excelExport() {
|
|
74
|
-
import('xlsx').then((xlsx) => {
|
|
75
|
-
const worksheet = xlsx.utils.json_to_sheet(this.data());
|
|
76
|
-
const workbook = { Sheets: { data: worksheet }, SheetNames: ['data'] };
|
|
77
|
-
const excelBuffer: any = xlsx.write(workbook, { bookType: 'xlsx', type: 'array' });
|
|
78
|
-
this.saveAsExcelFile(excelBuffer, !this.exportFileName ? this.exportFileName : 'excel_worksheet');
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
saveAsExcelFile(buffer: any, fileName: string): void {
|
|
83
|
-
const EXCEL_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8';
|
|
84
|
-
const EXCEL_EXTENSION = '.xlsx';
|
|
85
|
-
const data: Blob = new Blob([buffer], {
|
|
86
|
-
type: EXCEL_TYPE
|
|
87
|
-
});
|
|
88
|
-
FileSaver.saveAs(data, fileName + '_export_' + new Date().getTime() + EXCEL_EXTENSION);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
async exportPdf() {
|
|
92
|
-
const doc = new jsPDF('portrait', 'px', 'a4');
|
|
93
|
-
autoTable(doc, {
|
|
94
|
-
columns: this.exportColumns,
|
|
95
|
-
body: this.data()
|
|
96
|
-
});
|
|
97
|
-
doc.save(`${this.exportFileName}_export_${new Date().getTime()}.pdf`);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<dx-tag-box
|
|
2
|
-
[items]="items()"
|
|
3
|
-
[valueExpr]="valueExpr()"
|
|
4
|
-
[displayExpr]="displayExpr()"
|
|
5
|
-
[showSelectionControls]="!acceptCustomValue()"
|
|
6
|
-
[applyValueMode]="acceptCustomValue() ? 'instantly' : 'useButtons'"
|
|
7
|
-
[placeholder]="placeholder()"
|
|
8
|
-
[multiline]="false"
|
|
9
|
-
[tabIndex]="tabindex()"
|
|
10
|
-
[acceptCustomValue]="acceptCustomValue()"
|
|
11
|
-
[searchEnabled]="true"
|
|
12
|
-
[maxDisplayedTags]="maxDisplayedTags()"
|
|
13
|
-
[showMultiTagOnly]="false"
|
|
14
|
-
[showClearButton]="true"
|
|
15
|
-
(onCustomItemCreating)="onCustomItemCreating($event)"
|
|
16
|
-
[isValid]="ngControl?.control?.valid || ngControl?.control?.pristine || ngControl?.control?.disabled || false"
|
|
17
|
-
[validationError]="ngControl?.control?.errors | dxInputErrorMessage: ngControl?.control"
|
|
18
|
-
validationMessagePosition="top"
|
|
19
|
-
[formControl]="ngControl.control"
|
|
20
|
-
(ngModelChange)="ngControl.viewToModelUpdate($event)">
|
|
21
|
-
</dx-tag-box>
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { Component, input } from '@angular/core';
|
|
3
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
4
|
-
|
|
5
|
-
import { DxTagBoxModule } from 'devextreme-angular/ui/tag-box';
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
BaseInputComponent,
|
|
9
|
-
DXInputErrorMessagePipe,
|
|
10
|
-
InputErrorMessagePipe,
|
|
11
|
-
ValueAccessorDirective
|
|
12
|
-
} from 'aril/ui/lib';
|
|
13
|
-
|
|
14
|
-
@Component({
|
|
15
|
-
standalone: true,
|
|
16
|
-
selector: 'aril-tag-box',
|
|
17
|
-
templateUrl: './tag-box.component.html',
|
|
18
|
-
imports: [ReactiveFormsModule, DxTagBoxModule, DXInputErrorMessagePipe],
|
|
19
|
-
providers: [InputErrorMessagePipe],
|
|
20
|
-
hostDirectives: [ValueAccessorDirective]
|
|
21
|
-
})
|
|
22
|
-
export class TagBoxComponent extends BaseInputComponent {
|
|
23
|
-
placeholder = input<string>('');
|
|
24
|
-
valueExpr = input.required<string>();
|
|
25
|
-
displayExpr = input.required<string>();
|
|
26
|
-
maxDisplayedTags = input(5);
|
|
27
|
-
tabindex = input<number>(0);
|
|
28
|
-
acceptCustomValue = input(true);
|
|
29
|
-
items = input.required<Array<string | number>>();
|
|
30
|
-
|
|
31
|
-
onCustomItemCreating(e: any) {
|
|
32
|
-
let newValues = [];
|
|
33
|
-
|
|
34
|
-
const items = e.component.option('items');
|
|
35
|
-
const selectedItems = e.component.option('selectedItems');
|
|
36
|
-
|
|
37
|
-
if (e.text.indexOf(',') != -1) newValues = e.text.replace(/ /g, '').split(',');
|
|
38
|
-
else if (e.text.indexOf('|') != -1) newValues = e.text.replace(/ /g, '').split('|');
|
|
39
|
-
else if (e.text.indexOf(' ') != -1) newValues = e.text.split(' ');
|
|
40
|
-
else newValues.push(e.text);
|
|
41
|
-
|
|
42
|
-
newValues.forEach((value: string) => {
|
|
43
|
-
if (selectedItems.indexOf(value) == -1) {
|
|
44
|
-
selectedItems.push(value);
|
|
45
|
-
items.unshift(value);
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
e.component.option('items', items);
|
|
50
|
-
e.component.option('value', selectedItems);
|
|
51
|
-
e.text = '';
|
|
52
|
-
}
|
|
53
|
-
}
|
package/ui/text/ng-package.json
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<ng-template #input>
|
|
2
|
-
<input
|
|
3
|
-
pInputText
|
|
4
|
-
type="text"
|
|
5
|
-
[class]="_sizeClass()"
|
|
6
|
-
[placeholder]="placeholder()"
|
|
7
|
-
[tabindex]="tabindex()"
|
|
8
|
-
[pTooltip]="ngControl.invalid ? (ngControl.control.value | inputErrorMessage: ngControl) : ''"
|
|
9
|
-
[tooltipOptions]="tooltipOptions"
|
|
10
|
-
[formControl]="ngControl.control"
|
|
11
|
-
(ngModelChange)="ngControl.viewToModelUpdate($event)" />
|
|
12
|
-
</ng-template>
|
|
13
|
-
|
|
14
|
-
@if (_icon()) {
|
|
15
|
-
<span [class]="_iconPosClass()">
|
|
16
|
-
<i [class]="_icon()"></i>
|
|
17
|
-
<ng-container *ngTemplateOutlet="input"></ng-container>
|
|
18
|
-
</span>
|
|
19
|
-
} @else {
|
|
20
|
-
<ng-container *ngTemplateOutlet="input"></ng-container>
|
|
21
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { NgTemplateOutlet } from '@angular/common';
|
|
2
|
-
import { Component, computed, input } from '@angular/core';
|
|
3
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
4
|
-
|
|
5
|
-
import { InputTextModule } from 'primeng/inputtext';
|
|
6
|
-
import { TooltipModule } from 'primeng/tooltip';
|
|
7
|
-
|
|
8
|
-
import {
|
|
9
|
-
BaseInputComponent,
|
|
10
|
-
IconPosTypes,
|
|
11
|
-
InputErrorMessagePipe,
|
|
12
|
-
PrimeIcon,
|
|
13
|
-
ValueAccessorDirective,
|
|
14
|
-
iconPosTransform,
|
|
15
|
-
iconTransform
|
|
16
|
-
} from 'aril/ui/lib';
|
|
17
|
-
|
|
18
|
-
type Size = 'sm' | 'md' | 'lg';
|
|
19
|
-
|
|
20
|
-
@Component({
|
|
21
|
-
standalone: true,
|
|
22
|
-
selector: 'aril-text[ngModel], aril-text[formControl], aril-text[formControlName]',
|
|
23
|
-
templateUrl: './text.component.html',
|
|
24
|
-
imports: [ReactiveFormsModule, InputTextModule, TooltipModule, InputErrorMessagePipe, NgTemplateOutlet],
|
|
25
|
-
hostDirectives: [ValueAccessorDirective]
|
|
26
|
-
})
|
|
27
|
-
export class TextComponent extends BaseInputComponent {
|
|
28
|
-
placeholder = input<string>('');
|
|
29
|
-
tabindex = input<number>();
|
|
30
|
-
icon = input<PrimeIcon>();
|
|
31
|
-
iconPos = input<IconPosTypes>('left');
|
|
32
|
-
size = input<Size>('sm');
|
|
33
|
-
|
|
34
|
-
_icon = computed(() => iconTransform(this.icon()!));
|
|
35
|
-
_iconPosClass = computed(() => iconPosTransform(this.iconPos()!));
|
|
36
|
-
|
|
37
|
-
_sizeClass = computed(() => {
|
|
38
|
-
switch (this.size()) {
|
|
39
|
-
case 'sm':
|
|
40
|
-
return 'p-inputtext-sm';
|
|
41
|
-
case 'md':
|
|
42
|
-
return '';
|
|
43
|
-
case 'lg':
|
|
44
|
-
return 'p-inputtext-lg';
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<textarea
|
|
2
|
-
pInputTextarea
|
|
3
|
-
[rows]="rows()"
|
|
4
|
-
[cols]="cols()"
|
|
5
|
-
[autoResize]="true"
|
|
6
|
-
[placeholder]="placeholder()"
|
|
7
|
-
[tabindex]="tabindex()"
|
|
8
|
-
[pTooltip]="ngControl.invalid ? (ngControl.control.value | inputErrorMessage: ngControl) : ''"
|
|
9
|
-
[tooltipOptions]="tooltipOptions"
|
|
10
|
-
[formControl]="ngControl.control"
|
|
11
|
-
(ngModelChange)="ngControl.viewToModelUpdate($event)"></textarea>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Component, input } from '@angular/core';
|
|
2
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
3
|
-
|
|
4
|
-
import { InputTextareaModule } from 'primeng/inputtextarea';
|
|
5
|
-
import { TooltipModule } from 'primeng/tooltip';
|
|
6
|
-
|
|
7
|
-
import { BaseInputComponent, InputErrorMessagePipe, ValueAccessorDirective } from 'aril/ui/lib';
|
|
8
|
-
|
|
9
|
-
@Component({
|
|
10
|
-
standalone: true,
|
|
11
|
-
selector: 'aril-text-area[ngModel], aril-text-area[formControl], aril-text-area[formControlName]',
|
|
12
|
-
templateUrl: './text-area.component.html',
|
|
13
|
-
imports: [ReactiveFormsModule, InputTextareaModule, TooltipModule, InputErrorMessagePipe],
|
|
14
|
-
hostDirectives: [ValueAccessorDirective]
|
|
15
|
-
})
|
|
16
|
-
export class TextAreaComponent extends BaseInputComponent {
|
|
17
|
-
rows = input<number>();
|
|
18
|
-
cols = input<number>();
|
|
19
|
-
tabindex = input<number>();
|
|
20
|
-
placeholder = input<string>('');
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/toggle-button.component';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<div class="toggle-button-container">
|
|
2
|
-
<div>
|
|
3
|
-
@for(label of buttonLabels();track label; let i = $index){
|
|
4
|
-
<button
|
|
5
|
-
pButton
|
|
6
|
-
(click)="toggleButton(i)"
|
|
7
|
-
[ngClass]="{'p-button-success': selectedIndex === i, 'p-button-secondary p-button-outlined': selectedIndex !== i}"
|
|
8
|
-
[ngStyle]="{'border-color': selectedIndex !== i ? '#E6E8EB' : null}"
|
|
9
|
-
>
|
|
10
|
-
{{label}}</button>
|
|
11
|
-
}
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
.toggle-button-container {
|
|
2
|
-
width: 100%;
|
|
3
|
-
display: flex;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
}
|
|
6
|
-
button {
|
|
7
|
-
margin: 0 !important;
|
|
8
|
-
border-radius: 0 !important;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
button:first-child {
|
|
12
|
-
border-top-left-radius: 4px !important;
|
|
13
|
-
border-bottom-left-radius: 4px !important;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
button:last-child {
|
|
17
|
-
border-top-right-radius: 4px !important;
|
|
18
|
-
border-bottom-right-radius: 4px !important;
|
|
19
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { NgClass, NgStyle } from '@angular/common';
|
|
2
|
-
import { Component, Input, Output, EventEmitter, input } from '@angular/core';
|
|
3
|
-
import { ButtonModule } from 'primeng/button';
|
|
4
|
-
|
|
5
|
-
@Component({
|
|
6
|
-
standalone: true,
|
|
7
|
-
selector: 'aril-toggle-button',
|
|
8
|
-
templateUrl: './toggle-button.component.html',
|
|
9
|
-
styleUrls: ['./toggle-button.component.scss'],
|
|
10
|
-
imports: [ButtonModule, NgClass,NgStyle]
|
|
11
|
-
})
|
|
12
|
-
export class ToggleButtonComponent {
|
|
13
|
-
buttonLabels = input.required<string[]>();
|
|
14
|
-
@Output() selectionChange: EventEmitter<number> = new EventEmitter<number>();
|
|
15
|
-
|
|
16
|
-
selectedIndex = 0;
|
|
17
|
-
|
|
18
|
-
toggleButton(index: number) {
|
|
19
|
-
this.selectedIndex = index;
|
|
20
|
-
this.selectionChange.emit(this.selectedIndex);
|
|
21
|
-
}
|
|
22
|
-
}
|
package/ui/tree/ng-package.json
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<!-- <div class="mb-3">
|
|
2
|
-
<aril-button [label]="isExpended ? 'Daralt' : 'Genişlet'" size="sm" [color]="isExpended ? 'primary' :'warning'" (clickEvent)="toggleTree()"></aril-button>
|
|
3
|
-
</div> -->
|
|
4
|
-
<p-tree
|
|
5
|
-
[value]="data()"
|
|
6
|
-
[selectionMode]="selectionMode()"
|
|
7
|
-
[(selection)]="selectionNodes"
|
|
8
|
-
[contextMenu]="contextMenuRef"
|
|
9
|
-
[filter]="filter()"
|
|
10
|
-
filterMode="lenient"
|
|
11
|
-
filterBy="label"
|
|
12
|
-
[filterPlaceholder]="filterPlaceholder()"
|
|
13
|
-
(onNodeExpand)="expandEvent.emit($event.node)"
|
|
14
|
-
(selectionChange)="selectionEvent.emit(selectionNodes)">
|
|
15
|
-
</p-tree>
|
|
16
|
-
<p-contextMenu #contextMenuRef [model]="contextMenu()"></p-contextMenu>
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Output, effect, input } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
import { MenuItem, TreeNode } from 'primeng/api';
|
|
5
|
-
import { ContextMenuModule } from 'primeng/contextmenu';
|
|
6
|
-
import { TreeModule } from 'primeng/tree';
|
|
7
|
-
|
|
8
|
-
import { ButtonComponent } from 'aril/ui/button';
|
|
9
|
-
|
|
10
|
-
type SelectionModes = 'multiple' | 'checkbox' | 'single';
|
|
11
|
-
|
|
12
|
-
@Component({
|
|
13
|
-
standalone: true,
|
|
14
|
-
selector: 'aril-tree',
|
|
15
|
-
templateUrl: './tree.component.html',
|
|
16
|
-
imports: [TreeModule, ContextMenuModule, ButtonComponent],
|
|
17
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
18
|
-
})
|
|
19
|
-
export class TreeComponent {
|
|
20
|
-
constructor() {
|
|
21
|
-
effect(() => {
|
|
22
|
-
this.selectionNodes = this.selectedNode();
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
data = input.required<TreeNode[]>();
|
|
27
|
-
contextMenu = input<MenuItem[]>();
|
|
28
|
-
filterPlaceholder = input<string>('Arama');
|
|
29
|
-
filter = input<boolean>(true);
|
|
30
|
-
selectionMode = input<SelectionModes>();
|
|
31
|
-
selectedNode = input<TreeNode | TreeNode[] | null>(null);
|
|
32
|
-
|
|
33
|
-
@Output() expandEvent: EventEmitter<unknown> = new EventEmitter();
|
|
34
|
-
@Output() selectionEvent: EventEmitter<any> = new EventEmitter<any>();
|
|
35
|
-
|
|
36
|
-
selectionNodes!: TreeNode | TreeNode[] | null;
|
|
37
|
-
|
|
38
|
-
// isExpended = false;
|
|
39
|
-
// toggleTree() {
|
|
40
|
-
// this.isExpended = !this.isExpended;
|
|
41
|
-
// this.expandRecursive(this.data());
|
|
42
|
-
// }
|
|
43
|
-
|
|
44
|
-
// expandRecursive(node: TreeNode[]) {
|
|
45
|
-
// node.forEach((node) => {
|
|
46
|
-
// if (node.children) {
|
|
47
|
-
// node.expanded = this.isExpended;
|
|
48
|
-
// this.expandRecursive(node.children);
|
|
49
|
-
// }
|
|
50
|
-
// });
|
|
51
|
-
// }
|
|
52
|
-
}
|