aril 1.1.73 → 1.1.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -62
- package/boot/config/api/src/api.service.d.ts +12 -0
- package/boot/config/api/src/interfaces.d.ts +39 -0
- package/boot/config/api.sample.json +8 -0
- package/boot/config/apps/src/apps.service.d.ts +13 -0
- package/boot/config/apps/src/auth.guard.d.ts +9 -0
- package/boot/config/apps/src/interfaces.d.ts +50 -0
- package/boot/config/apps/src/reuse-strategy.d.ts +4 -0
- package/boot/config/apps/src/showdowDOMWrapper.d.ts +10 -0
- package/boot/config/plugins/src/getNgZone.d.ts +5 -0
- package/boot/config/plugins/src/interfaces.d.ts +55 -0
- package/boot/config/plugins/src/plugins.service.d.ts +5 -0
- package/boot/config/translate/constants.d.ts +4 -0
- package/boot/config/translate/primeng/i18n/tr.d.ts +46 -0
- package/boot/host/src/app.component.d.ts +10 -0
- package/boot/host/src/bootstrap.d.ts +4 -0
- package/boot/index.d.ts +1 -0
- package/boot/mfe/src/app.component.d.ts +17 -0
- package/boot/mfe/src/appComponentLoader.d.ts +1 -0
- package/boot/mfe/src/bootstrap.d.ts +5 -0
- package/boot/mfe/src/loadStyles.d.ts +3 -0
- package/boot/mfe/src/monaco.config.d.ts +7 -0
- package/esm2022/aril.mjs +5 -0
- package/esm2022/boot/aril-boot.mjs +5 -0
- package/esm2022/boot/config/api/aril-boot-config-api.mjs +5 -0
- package/esm2022/boot/config/api/index.mjs +2 -0
- package/esm2022/boot/config/api/src/api.service.mjs +59 -0
- package/esm2022/boot/config/api/src/interfaces.mjs +61 -0
- package/esm2022/boot/config/apps/aril-boot-config-apps.mjs +5 -0
- package/esm2022/boot/config/apps/index.mjs +4 -0
- package/esm2022/boot/config/apps/src/apps.service.mjs +53 -0
- package/esm2022/boot/config/apps/src/auth.guard.mjs +22 -0
- package/esm2022/boot/config/apps/src/interfaces.mjs +21 -0
- package/esm2022/boot/config/apps/src/reuse-strategy.mjs +9 -0
- package/esm2022/boot/config/apps/src/showdowDOMWrapper.mjs +35 -0
- package/esm2022/boot/config/plugins/aril-boot-config-plugins.mjs +5 -0
- package/esm2022/boot/config/plugins/index.mjs +3 -0
- package/esm2022/boot/config/plugins/src/getNgZone.mjs +9 -0
- package/esm2022/boot/config/plugins/src/interfaces.mjs +62 -0
- package/esm2022/boot/config/plugins/src/plugins.service.mjs +84 -0
- package/esm2022/boot/config/translate/aril-boot-config-translate.mjs +5 -0
- package/esm2022/boot/config/translate/constants.mjs +6 -0
- package/esm2022/boot/config/translate/index.mjs +3 -0
- package/esm2022/boot/config/translate/primeng/i18n/tr.mjs +60 -0
- package/esm2022/boot/host/aril-boot-host.mjs +5 -0
- package/esm2022/boot/host/index.mjs +2 -0
- package/esm2022/boot/host/src/app.component.mjs +49 -0
- package/esm2022/boot/host/src/bootstrap.mjs +55 -0
- package/esm2022/boot/index.mjs +2 -0
- package/esm2022/boot/mfe/aril-boot-mfe.mjs +5 -0
- package/esm2022/boot/mfe/index.mjs +2 -0
- package/esm2022/boot/mfe/src/app.component.mjs +63 -0
- package/esm2022/boot/mfe/src/appComponentLoader.mjs +5 -0
- package/esm2022/boot/mfe/src/bootstrap.mjs +76 -0
- package/esm2022/boot/mfe/src/loadStyles.mjs +37 -0
- package/esm2022/boot/mfe/src/monaco.config.mjs +247 -0
- package/esm2022/http/aril-http.mjs +5 -0
- package/esm2022/http/index.mjs +12 -0
- package/esm2022/http/lib/enums.mjs +35 -0
- package/esm2022/http/lib/interfaces.mjs +16 -0
- package/esm2022/http/src/httpBackend.mjs +17 -0
- package/esm2022/http/src/httpClient.mjs +16 -0
- package/esm2022/http/src/interceptor/accept-language.interceptor.mjs +21 -0
- package/esm2022/http/src/serviceBase.mjs +140 -0
- package/esm2022/http/src/serviceMockBase.mjs +4 -0
- package/esm2022/http/src/serviceRequest.mjs +23 -0
- package/esm2022/http/src/serviceStateMethods.mjs +167 -0
- package/esm2022/i18n/aril-i18n.mjs +5 -0
- package/esm2022/i18n/index.mjs +6 -0
- package/esm2022/i18n/src/folder-name-token.mjs +3 -0
- package/esm2022/i18n/src/i18n.module.mjs +17 -0
- package/esm2022/i18n/src/loader.mjs +18 -0
- package/esm2022/i18n/src/provideI18n.mjs +16 -0
- package/esm2022/i18n/src/provideScope.mjs +18 -0
- package/esm2022/keycloak/aril-keycloak.mjs +5 -0
- package/esm2022/keycloak/index.mjs +2 -0
- package/esm2022/keycloak/src/auth.interceptor.mjs +92 -0
- package/esm2022/provider/aril-provider.mjs +5 -0
- package/esm2022/provider/index.mjs +2 -0
- package/esm2022/provider/src/index.mjs +5 -0
- package/esm2022/provider/src/prodiveHost.mjs +9 -0
- package/esm2022/provider/src/prodiveHostRouter.mjs +12 -0
- package/esm2022/provider/src/provideHostKeycloak.mjs +28 -0
- package/esm2022/provider/src/provideLocaleId.mjs +20 -0
- package/esm2022/public-api.mjs +3 -0
- package/esm2022/theme/aril-theme.mjs +5 -0
- package/esm2022/theme/index.mjs +2 -0
- package/esm2022/theme/layout/app/breadcrumb/app.breadcrumb.component.mjs +106 -0
- package/esm2022/theme/layout/app/chatbot/app.chatbot.component.mjs +140 -0
- package/esm2022/theme/layout/app/expandableMenu/expandable-menu.component.mjs +250 -0
- package/esm2022/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.mjs +217 -0
- package/esm2022/theme/layout/app/favorite-pages/favorite-pages.service.mjs +60 -0
- package/esm2022/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.mjs +129 -0
- package/esm2022/theme/layout/app/general-search/general-search.component.mjs +75 -0
- package/esm2022/theme/layout/app/general-search/helpers.mjs +92 -0
- package/esm2022/theme/layout/app/general-search/models.mjs +50 -0
- package/esm2022/theme/layout/app/history/history-sidebar.component.mjs +133 -0
- package/esm2022/theme/layout/app/history/history.service.mjs +131 -0
- package/esm2022/theme/layout/app/layout/app.layout.component.mjs +160 -0
- package/esm2022/theme/layout/app/layout/mfe.layout.component.mjs +64 -0
- package/esm2022/theme/layout/app/notifications/notifications-sidebar.component.mjs +191 -0
- package/esm2022/theme/layout/app/profileSidebar/app.profilesidebar.component.mjs +122 -0
- package/esm2022/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.mjs +142 -0
- package/esm2022/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.mjs +202 -0
- package/esm2022/theme/layout/app/profileSidebar/profile.service.mjs +66 -0
- package/esm2022/theme/layout/app/site-map/site-map-sidebar.component.mjs +166 -0
- package/esm2022/theme/layout/app/static-sidebar/static-sidebar.component.mjs +228 -0
- package/esm2022/theme/layout/app/topbar/app.topbar.component.mjs +155 -0
- package/esm2022/theme/layout/aril-theme-layout.mjs +5 -0
- package/esm2022/theme/layout/index.mjs +8 -0
- package/esm2022/theme/layout/service/app.layout.service.mjs +231 -0
- package/esm2022/theme/layout/service/app.menu.service.mjs +46 -0
- package/esm2022/theme/layout/service/breadcrumb.service.mjs +20 -0
- package/esm2022/theme/layout/service/interfaces/enum.mjs +16 -0
- package/esm2022/theme/layout/service/interfaces/interfaces.mjs +2 -0
- package/esm2022/theme/layout/service/menuchangeevent.mjs +2 -0
- package/esm2022/theme/layout/service/notifications.service.mjs +30 -0
- package/esm2022/theme/layout/service/search.service.mjs +25 -0
- package/esm2022/theme/layout/service/selection-group.service.mjs +65 -0
- package/esm2022/ui/aril-ui.mjs +5 -0
- package/esm2022/ui/autoComplete/aril-ui-autoComplete.mjs +5 -0
- package/esm2022/ui/autoComplete/index.mjs +2 -0
- package/esm2022/ui/autoComplete/src/auto-complete.component.mjs +109 -0
- package/esm2022/ui/autoComplete/src/interfaces.mjs +2 -0
- package/esm2022/ui/badge/aril-ui-badge.mjs +5 -0
- package/esm2022/ui/badge/index.mjs +2 -0
- package/esm2022/ui/badge/src/badge.component.mjs +59 -0
- package/esm2022/ui/button/aril-ui-button.mjs +5 -0
- package/esm2022/ui/button/index.mjs +3 -0
- package/esm2022/ui/button/src/button.component.mjs +40 -0
- package/esm2022/ui/button/src/split-button.component.mjs +18 -0
- package/esm2022/ui/calendar/aril-ui-calendar.mjs +5 -0
- package/esm2022/ui/calendar/index.mjs +2 -0
- package/esm2022/ui/calendar/src/calendar.component.mjs +224 -0
- package/esm2022/ui/charts/aril-ui-charts.mjs +5 -0
- package/esm2022/ui/charts/index.mjs +13 -0
- package/esm2022/ui/charts/src/amCharts/column/column-chart.component.mjs +124 -0
- package/esm2022/ui/charts/src/amCharts/line/line-chart.component.mjs +164 -0
- package/esm2022/ui/charts/src/amCharts/pie/pie-chart.component.mjs +116 -0
- package/esm2022/ui/charts/src/highCharts/area/area-chart.component.mjs +114 -0
- package/esm2022/ui/charts/src/highCharts/bar/bar-chart.component.mjs +100 -0
- package/esm2022/ui/charts/src/highCharts/column/column-chart.component.mjs +117 -0
- package/esm2022/ui/charts/src/highCharts/gauge/solid-gauge.component.mjs +180 -0
- package/esm2022/ui/charts/src/highCharts/heatmap/heatMap-chart.component.mjs +252 -0
- package/esm2022/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.mjs +187 -0
- package/esm2022/ui/charts/src/highCharts/line/line-chart-series.component.mjs +89 -0
- package/esm2022/ui/charts/src/highCharts/line/line-chart.component.mjs +82 -0
- package/esm2022/ui/charts/src/highCharts/pie/pie-chart.component.mjs +137 -0
- package/esm2022/ui/charts/src/theme/theme.mjs +54 -0
- package/esm2022/ui/checkbox/aril-ui-checkbox.mjs +5 -0
- package/esm2022/ui/checkbox/index.mjs +3 -0
- package/esm2022/ui/checkbox/src/check-box.component.mjs +27 -0
- package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +24 -0
- package/esm2022/ui/chip/aril-ui-chip.mjs +5 -0
- package/esm2022/ui/chip/index.mjs +2 -0
- package/esm2022/ui/chip/src/chip.component.mjs +129 -0
- package/esm2022/ui/collapse-reorder-list/aril-ui-collapse-reorder-list.mjs +5 -0
- package/esm2022/ui/collapse-reorder-list/index.mjs +2 -0
- package/esm2022/ui/collapse-reorder-list/src/collapse-reorder-list.component.mjs +53 -0
- package/esm2022/ui/dxEditor/aril-ui-dxEditor.mjs +5 -0
- package/esm2022/ui/dxEditor/index.mjs +2 -0
- package/esm2022/ui/dxEditor/src/dx-editor.component.mjs +26 -0
- package/esm2022/ui/dxField/aril-ui-dxField.mjs +5 -0
- package/esm2022/ui/dxField/index.mjs +2 -0
- package/esm2022/ui/dxField/src/dx-field.component.mjs +19 -0
- package/esm2022/ui/editor/aril-ui-editor.mjs +5 -0
- package/esm2022/ui/editor/index.mjs +3 -0
- package/esm2022/ui/editor/src/aril-editor.component.mjs +171 -0
- package/esm2022/ui/editor/src/types.mjs +26 -0
- package/esm2022/ui/field/aril-ui-field.mjs +5 -0
- package/esm2022/ui/field/index.mjs +2 -0
- package/esm2022/ui/field/src/field.component.mjs +45 -0
- package/esm2022/ui/fileUpload/aril-ui-fileUpload.mjs +5 -0
- package/esm2022/ui/fileUpload/index.mjs +2 -0
- package/esm2022/ui/fileUpload/src/file-upload.component.mjs +73 -0
- package/esm2022/ui/form/aril-ui-form.mjs +5 -0
- package/esm2022/ui/form/index.mjs +22 -0
- package/esm2022/ui/form/src/form-submit-button.component.mjs +40 -0
- package/esm2022/ui/form/src/form.component.mjs +27 -0
- package/esm2022/ui/img-viewer/aril-ui-img-viewer.mjs +5 -0
- package/esm2022/ui/img-viewer/index.mjs +2 -0
- package/esm2022/ui/img-viewer/src/img-viewer.component.mjs +57 -0
- package/esm2022/ui/index.mjs +2 -0
- package/esm2022/ui/json-diff-comparison/aril-ui-json-diff-comparison.mjs +5 -0
- package/esm2022/ui/json-diff-comparison/index.mjs +2 -0
- package/esm2022/ui/json-diff-comparison/src/json-diff.component.mjs +49 -0
- package/esm2022/ui/lib/aril-ui-lib.mjs +5 -0
- package/esm2022/ui/lib/index.mjs +16 -0
- package/esm2022/ui/lib/src/form/form-error-message.component.mjs +33 -0
- package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +34 -0
- package/esm2022/ui/lib/src/form/form-field-builder.mjs +23 -0
- package/esm2022/ui/lib/src/form/form-validation.mjs +14 -0
- package/esm2022/ui/lib/src/grid/enum-color-picker.pipe.mjs +35 -0
- package/esm2022/ui/lib/src/grid/flex-grid.directive.mjs +21 -0
- package/esm2022/ui/lib/src/input/baseInput.mjs +24 -0
- package/esm2022/ui/lib/src/input/common-input-validators.service.mjs +49 -0
- package/esm2022/ui/lib/src/input/dx-input-error-message.pipe.mjs +22 -0
- package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +25 -0
- package/esm2022/ui/lib/src/input/input-error-message.pipe.mjs +69 -0
- package/esm2022/ui/lib/src/input/input-transforms.mjs +8 -0
- package/esm2022/ui/lib/src/input/value-accessor.directive.mjs +38 -0
- package/esm2022/ui/loader/aril-ui-loader.mjs +5 -0
- package/esm2022/ui/loader/index.mjs +2 -0
- package/esm2022/ui/loader/src/loader.component.mjs +14 -0
- package/esm2022/ui/mask/aril-ui-mask.mjs +5 -0
- package/esm2022/ui/mask/index.mjs +2 -0
- package/esm2022/ui/mask/src/mask.component.mjs +35 -0
- package/esm2022/ui/multiSelect/aril-ui-multiSelect.mjs +5 -0
- package/esm2022/ui/multiSelect/index.mjs +2 -0
- package/esm2022/ui/multiSelect/src/interfaces.mjs +2 -0
- package/esm2022/ui/multiSelect/src/multi-select.component.mjs +57 -0
- package/esm2022/ui/number/aril-ui-number.mjs +5 -0
- package/esm2022/ui/number/index.mjs +2 -0
- package/esm2022/ui/number/src/number.component.mjs +38 -0
- package/esm2022/ui/operation-types-dialog/aril-ui-operation-types-dialog.mjs +5 -0
- package/esm2022/ui/operation-types-dialog/index.mjs +2 -0
- package/esm2022/ui/operation-types-dialog/src/operation-types-dialog.component.mjs +91 -0
- package/esm2022/ui/overlayPanel/aril-ui-overlayPanel.mjs +5 -0
- package/esm2022/ui/overlayPanel/index.mjs +2 -0
- package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +20 -0
- package/esm2022/ui/panel/aril-ui-panel.mjs +5 -0
- package/esm2022/ui/panel/index.mjs +2 -0
- package/esm2022/ui/panel/src/panel.component.mjs +33 -0
- package/esm2022/ui/password/aril-ui-password.mjs +5 -0
- package/esm2022/ui/password/index.mjs +2 -0
- package/esm2022/ui/password/src/password.component.mjs +29 -0
- package/esm2022/ui/pdf-viewer/aril-ui-pdf-viewer.mjs +5 -0
- package/esm2022/ui/pdf-viewer/index.mjs +2 -0
- package/esm2022/ui/pdf-viewer/src/pdf-viewer.component.mjs +27 -0
- package/esm2022/ui/progressbar/aril-ui-progressbar.mjs +5 -0
- package/esm2022/ui/progressbar/index.mjs +2 -0
- package/esm2022/ui/progressbar/src/progressbar.component.mjs +18 -0
- package/esm2022/ui/radioButton/aril-ui-radioButton.mjs +5 -0
- package/esm2022/ui/radioButton/index.mjs +2 -0
- package/esm2022/ui/radioButton/src/radio-button.component.mjs +30 -0
- package/esm2022/ui/relativeDateSelector/aril-ui-relativeDateSelector.mjs +5 -0
- package/esm2022/ui/relativeDateSelector/index.mjs +2 -0
- package/esm2022/ui/relativeDateSelector/src/enum.mjs +31 -0
- package/esm2022/ui/relativeDateSelector/src/relative-date-selector.component.mjs +248 -0
- package/esm2022/ui/selectBox/aril-ui-selectBox.mjs +5 -0
- package/esm2022/ui/selectBox/index.mjs +2 -0
- package/esm2022/ui/selectBox/src/interfaces.mjs +2 -0
- package/esm2022/ui/selectBox/src/select-box.component.mjs +67 -0
- package/esm2022/ui/switch/aril-ui-switch.mjs +5 -0
- package/esm2022/ui/switch/index.mjs +2 -0
- package/esm2022/ui/switch/src/switch.component.mjs +23 -0
- package/esm2022/ui/table/aril-ui-table.mjs +5 -0
- package/esm2022/ui/table/index.mjs +131 -0
- package/esm2022/ui/table/src/export-overlay-panel.component.mjs +321 -0
- package/esm2022/ui/table/src/interfaces.mjs +44 -0
- package/esm2022/ui/table/src/table-column.component.mjs +31 -0
- package/esm2022/ui/table/src/table.component.mjs +334 -0
- package/esm2022/ui/table-expand/aril-ui-table-expand.mjs +5 -0
- package/esm2022/ui/table-expand/index.mjs +61 -0
- package/esm2022/ui/table-expand/src/table-column.component.mjs +25 -0
- package/esm2022/ui/table-expand/src/table-expand-area.component.mjs +17 -0
- package/esm2022/ui/table-expand/src/table.component.mjs +99 -0
- package/esm2022/ui/tag/aril-ui-tag.mjs +5 -0
- package/esm2022/ui/tag/index.mjs +2 -0
- package/esm2022/ui/tag/src/interface.mjs +2 -0
- package/esm2022/ui/tag/src/tag.component.mjs +20 -0
- package/esm2022/ui/tagBox/aril-ui-tagBox.mjs +5 -0
- package/esm2022/ui/tagBox/index.mjs +2 -0
- package/esm2022/ui/tagBox/src/tag-box.component.mjs +55 -0
- package/esm2022/ui/text/aril-ui-text.mjs +5 -0
- package/esm2022/ui/text/index.mjs +2 -0
- package/esm2022/ui/text/src/text.component.mjs +47 -0
- package/esm2022/ui/textArea/aril-ui-textArea.mjs +5 -0
- package/esm2022/ui/textArea/index.mjs +2 -0
- package/esm2022/ui/textArea/src/text-area.component.mjs +27 -0
- package/esm2022/ui/toggle-button/aril-ui-toggle-button.mjs +5 -0
- package/esm2022/ui/toggle-button/index.mjs +2 -0
- package/esm2022/ui/toggle-button/src/toggle-button.component.mjs +25 -0
- package/esm2022/ui/tooltip/aril-ui-tooltip.mjs +5 -0
- package/esm2022/ui/tooltip/index.mjs +2 -0
- package/esm2022/ui/tooltip/src/tooltip-component.mjs +23 -0
- package/esm2022/ui/translate-input/aril-ui-translate-input.mjs +5 -0
- package/esm2022/ui/translate-input/index.mjs +2 -0
- package/esm2022/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.mjs +64 -0
- package/esm2022/ui/translate-input/src/aril-lang-modal/constants.mjs +15 -0
- package/esm2022/ui/translate-input/src/aril-translate-input.component.mjs +128 -0
- package/esm2022/ui/translate-input/src/interface.mjs +2 -0
- package/esm2022/ui/tree/aril-ui-tree.mjs +5 -0
- package/esm2022/ui/tree/index.mjs +2 -0
- package/esm2022/ui/tree/src/tree.component.mjs +53 -0
- package/esm2022/ui/treeSelect/aril-ui-treeSelect.mjs +5 -0
- package/esm2022/ui/treeSelect/index.mjs +2 -0
- package/esm2022/ui/treeSelect/src/treeSelect.component.mjs +41 -0
- package/esm2022/ui/treeTable/aril-ui-treeTable.mjs +5 -0
- package/esm2022/ui/treeTable/index.mjs +2 -0
- package/esm2022/ui/treeTable/src/tree-table.component.mjs +55 -0
- package/esm2022/ui/value/aril-ui-value.mjs +5 -0
- package/esm2022/ui/value/index.mjs +2 -0
- package/esm2022/ui/value/src/value.component.mjs +207 -0
- package/esm2022/ui-business/aril-ui-business.mjs +5 -0
- package/esm2022/ui-business/assetPicker/aril-ui-business-assetPicker.mjs +5 -0
- package/esm2022/ui-business/assetPicker/index.mjs +2 -0
- package/esm2022/ui-business/assetPicker/src/asset-picker.component.mjs +182 -0
- package/esm2022/ui-business/assetPicker/src/interface.mjs +2 -0
- package/esm2022/ui-business/detailed-overlay-panel/aril-ui-business-detailed-overlay-panel.mjs +5 -0
- package/esm2022/ui-business/detailed-overlay-panel/index.mjs +2 -0
- package/esm2022/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.mjs +61 -0
- package/esm2022/ui-business/detailed-overlay-panel/src/interface.mjs +19 -0
- package/esm2022/ui-business/enumPicker/aril-ui-business-enumPicker.mjs +5 -0
- package/esm2022/ui-business/enumPicker/index.mjs +2 -0
- package/esm2022/ui-business/enumPicker/src/enum-picker.component.mjs +124 -0
- package/esm2022/ui-business/enumPicker/src/interface.mjs +2 -0
- package/esm2022/ui-business/image-viewer/aril-ui-business-image-viewer.mjs +5 -0
- package/esm2022/ui-business/image-viewer/index.mjs +2 -0
- package/esm2022/ui-business/image-viewer/src/aril-image-viewer.component.mjs +111 -0
- package/esm2022/ui-business/index.mjs +2 -0
- package/esm2022/ui-business/multiple-ref-value/aril-ui-business-multiple-ref-value.mjs +5 -0
- package/esm2022/ui-business/multiple-ref-value/index.mjs +2 -0
- package/esm2022/ui-business/multiple-ref-value/src/multiple-ref-value.component.mjs +23 -0
- package/esm2022/ui-business/notification-templates-dialog/aril-ui-business-notification-templates-dialog.mjs +5 -0
- package/esm2022/ui-business/notification-templates-dialog/index.mjs +2 -0
- package/esm2022/ui-business/notification-templates-dialog/src/interface.mjs +8 -0
- package/esm2022/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.mjs +56 -0
- package/esm2022/ui-business/operation-types-dialog/aril-ui-business-operation-types-dialog.mjs +5 -0
- package/esm2022/ui-business/operation-types-dialog/index.mjs +2 -0
- package/esm2022/ui-business/operation-types-dialog/src/operation-types-dialog.component.mjs +76 -0
- package/esm2022/ui-business/ref-value/aril-ui-business-ref-value.mjs +5 -0
- package/esm2022/ui-business/ref-value/index.mjs +2 -0
- package/esm2022/ui-business/ref-value/src/ref-value.component.mjs +39 -0
- package/esm2022/ui-business/rolePicker/aril-ui-business-rolePicker.mjs +5 -0
- package/esm2022/ui-business/rolePicker/index.mjs +2 -0
- package/esm2022/ui-business/rolePicker/src/interface.mjs +2 -0
- package/esm2022/ui-business/rolePicker/src/role-picker.component.mjs +71 -0
- package/esm2022/ui-business/userPicker/aril-ui-business-userPicker.mjs +5 -0
- package/esm2022/ui-business/userPicker/index.mjs +2 -0
- package/esm2022/ui-business/userPicker/src/interface.mjs +2 -0
- package/esm2022/ui-business/userPicker/src/user-picker.component.mjs +43 -0
- package/esm2022/util/aril-util.mjs +5 -0
- package/esm2022/util/block/aril-util-block.mjs +5 -0
- package/esm2022/util/block/index.mjs +2 -0
- package/esm2022/util/block/src/block.mjs +64 -0
- package/esm2022/util/custom_pages/aril-util-custom_pages.mjs +5 -0
- package/esm2022/util/custom_pages/index.mjs +2 -0
- package/esm2022/util/custom_pages/src/notFound.component.mjs +65 -0
- package/esm2022/util/directives/aril-util-directives.mjs +5 -0
- package/esm2022/util/directives/index.mjs +4 -0
- package/esm2022/util/directives/src/detail-page-customization/detail-page-customization.directive.mjs +298 -0
- package/esm2022/util/directives/src/detail-page-customization/index.mjs +3 -0
- package/esm2022/util/directives/src/detail-page-customization/models.mjs +4 -0
- package/esm2022/util/directives/src/dialog-component/plugin-dialog.component.mjs +26 -0
- package/esm2022/util/directives/src/dialog-service/plugin-dialog.service.mjs +16 -0
- package/esm2022/util/index.mjs +2 -0
- package/esm2022/util/lib/aril-util-lib.mjs +5 -0
- package/esm2022/util/lib/index.mjs +6 -0
- package/esm2022/util/lib/src/interfaces.mjs +4 -0
- package/esm2022/util/lib/src/module-router.mjs +16 -0
- package/esm2022/util/lib/src/types.mjs +6 -0
- package/esm2022/util/lib/src/validators/iban.validator.mjs +189 -0
- package/esm2022/util/lib/src/validators/identity.validator.mjs +91 -0
- package/esm2022/util/lib/src/validators/index.mjs +6 -0
- package/esm2022/util/lib/src/validators/max-array-length.validator.mjs +16 -0
- package/esm2022/util/lib/src/validators/min-array-length.validator.mjs +16 -0
- package/esm2022/util/lib/src/validators/tckn.validator.mjs +39 -0
- package/esm2022/util/lib/src/validators/validators.mjs +31 -0
- package/esm2022/util/loaders/aril-util-loaders.mjs +5 -0
- package/esm2022/util/loaders/index.mjs +2 -0
- package/esm2022/util/loaders/style/style.loader.service.mjs +61 -0
- package/esm2022/util/pipes/aril-util-pipes.mjs +5 -0
- package/esm2022/util/pipes/index.mjs +7 -0
- package/esm2022/util/pipes/src/distance-to-now.pipe.mjs +38 -0
- package/esm2022/util/pipes/src/get-column-by-field.pipe.mjs +17 -0
- package/esm2022/util/pipes/src/parse.pipe.mjs +22 -0
- package/esm2022/util/pipes/src/round-number.pipe.mjs +65 -0
- package/esm2022/util/pipes/src/safe.pipe.mjs +34 -0
- package/esm2022/util/pipes/src/translate-json/index.mjs +2 -0
- package/esm2022/util/pipes/src/translate-json/translate-json.pipe.mjs +41 -0
- package/esm2022/util/primitive-extensions/aril-util-primitive-extensions.mjs +5 -0
- package/esm2022/util/primitive-extensions/index.mjs +5 -0
- package/esm2022/util/primitive-extensions/src/boolean.extensions.mjs +2 -0
- package/esm2022/util/primitive-extensions/src/date.extensions.mjs +116 -0
- package/esm2022/util/primitive-extensions/src/number.extensions.mjs +39 -0
- package/esm2022/util/primitive-extensions/src/string.extensions.mjs +23 -0
- package/esm2022/util/pub-sub/aril-util-pub-sub.mjs +5 -0
- package/esm2022/util/pub-sub/index.mjs +2 -0
- package/esm2022/util/pub-sub/src/pub-sub.service.mjs +30 -0
- package/esm2022/util/sync-active-tab-route/aril-util-sync-active-tab-route.mjs +5 -0
- package/esm2022/util/sync-active-tab-route/index.mjs +2 -0
- package/esm2022/util/sync-active-tab-route/src/sync-active-tab-route.directive.mjs +45 -0
- package/esm2022/util/unwrap/aril-util-unwrap.mjs +5 -0
- package/esm2022/util/unwrap/index.mjs +2 -0
- package/esm2022/util/unwrap/src/unwrap-tag.directive.mjs +24 -0
- package/fesm2022/aril-app.component-hxaLgwmC.mjs +81 -0
- package/fesm2022/aril-app.component-hxaLgwmC.mjs.map +1 -0
- package/fesm2022/aril-boot-config-api.mjs +126 -0
- package/fesm2022/aril-boot-config-api.mjs.map +1 -0
- package/fesm2022/aril-boot-config-apps.mjs +138 -0
- package/fesm2022/aril-boot-config-apps.mjs.map +1 -0
- package/fesm2022/aril-boot-config-plugins.mjs +159 -0
- package/fesm2022/aril-boot-config-plugins.mjs.map +1 -0
- package/fesm2022/aril-boot-config-translate.mjs +72 -0
- package/fesm2022/aril-boot-config-translate.mjs.map +1 -0
- package/fesm2022/aril-boot-host.mjs +108 -0
- package/fesm2022/aril-boot-host.mjs.map +1 -0
- package/fesm2022/aril-boot-mfe-app.component-s1a-tkOD.mjs +80 -0
- package/fesm2022/aril-boot-mfe-app.component-s1a-tkOD.mjs.map +1 -0
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-wLTqwDtz.mjs +369 -0
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-wLTqwDtz.mjs.map +1 -0
- package/fesm2022/aril-boot-mfe.mjs +19 -0
- package/fesm2022/aril-boot-mfe.mjs.map +1 -0
- package/fesm2022/aril-boot.mjs +8 -0
- package/fesm2022/aril-boot.mjs.map +1 -0
- package/fesm2022/aril-http.mjs +437 -0
- package/fesm2022/aril-http.mjs.map +1 -0
- package/fesm2022/aril-i18n.mjs +71 -0
- package/fesm2022/aril-i18n.mjs.map +1 -0
- package/fesm2022/aril-keycloak.mjs +99 -0
- package/fesm2022/aril-keycloak.mjs.map +1 -0
- package/fesm2022/aril-provider.mjs +74 -0
- package/fesm2022/aril-provider.mjs.map +1 -0
- package/fesm2022/aril-theme-layout.mjs +3015 -0
- package/fesm2022/aril-theme-layout.mjs.map +1 -0
- package/fesm2022/aril-theme.mjs +8 -0
- package/fesm2022/aril-theme.mjs.map +1 -0
- package/fesm2022/aril-ui-autoComplete.mjs +116 -0
- package/fesm2022/aril-ui-autoComplete.mjs.map +1 -0
- package/fesm2022/aril-ui-badge.mjs +66 -0
- package/fesm2022/aril-ui-badge.mjs.map +1 -0
- package/fesm2022/aril-ui-business-assetPicker.mjs +189 -0
- package/fesm2022/aril-ui-business-assetPicker.mjs.map +1 -0
- package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs +68 -0
- package/fesm2022/aril-ui-business-detailed-overlay-panel.mjs.map +1 -0
- package/fesm2022/aril-ui-business-enumPicker.mjs +131 -0
- package/fesm2022/aril-ui-business-enumPicker.mjs.map +1 -0
- package/fesm2022/aril-ui-business-image-viewer.mjs +118 -0
- package/fesm2022/aril-ui-business-image-viewer.mjs.map +1 -0
- package/fesm2022/aril-ui-business-multiple-ref-value.mjs +30 -0
- package/fesm2022/aril-ui-business-multiple-ref-value.mjs.map +1 -0
- package/fesm2022/aril-ui-business-notification-templates-dialog.mjs +70 -0
- package/fesm2022/aril-ui-business-notification-templates-dialog.mjs.map +1 -0
- package/fesm2022/aril-ui-business-operation-types-dialog.mjs +83 -0
- package/fesm2022/aril-ui-business-operation-types-dialog.mjs.map +1 -0
- package/fesm2022/aril-ui-business-ref-value.mjs +46 -0
- package/fesm2022/aril-ui-business-ref-value.mjs.map +1 -0
- package/fesm2022/aril-ui-business-rolePicker.mjs +78 -0
- package/fesm2022/aril-ui-business-rolePicker.mjs.map +1 -0
- package/fesm2022/aril-ui-business-userPicker.mjs +50 -0
- package/fesm2022/aril-ui-business-userPicker.mjs.map +1 -0
- package/fesm2022/aril-ui-business.mjs +8 -0
- package/fesm2022/aril-ui-business.mjs.map +1 -0
- package/fesm2022/aril-ui-button.mjs +62 -0
- package/fesm2022/aril-ui-button.mjs.map +1 -0
- package/fesm2022/aril-ui-calendar.mjs +231 -0
- package/fesm2022/aril-ui-calendar.mjs.map +1 -0
- package/fesm2022/aril-ui-charts.mjs +1666 -0
- package/fesm2022/aril-ui-charts.mjs.map +1 -0
- package/fesm2022/aril-ui-checkbox.mjs +50 -0
- package/fesm2022/aril-ui-checkbox.mjs.map +1 -0
- package/fesm2022/aril-ui-chip.mjs +136 -0
- package/fesm2022/aril-ui-chip.mjs.map +1 -0
- package/fesm2022/aril-ui-collapse-reorder-list.mjs +60 -0
- package/fesm2022/aril-ui-collapse-reorder-list.mjs.map +1 -0
- package/fesm2022/aril-ui-dxEditor.mjs +33 -0
- package/fesm2022/aril-ui-dxEditor.mjs.map +1 -0
- package/fesm2022/aril-ui-dxField.mjs +26 -0
- package/fesm2022/aril-ui-dxField.mjs.map +1 -0
- package/fesm2022/aril-ui-editor.mjs +203 -0
- package/fesm2022/aril-ui-editor.mjs.map +1 -0
- package/fesm2022/aril-ui-field.mjs +52 -0
- package/fesm2022/aril-ui-field.mjs.map +1 -0
- package/fesm2022/aril-ui-fileUpload.mjs +80 -0
- package/fesm2022/aril-ui-fileUpload.mjs.map +1 -0
- package/fesm2022/aril-ui-form.mjs +86 -0
- package/fesm2022/aril-ui-form.mjs.map +1 -0
- package/fesm2022/aril-ui-img-viewer.mjs +64 -0
- package/fesm2022/aril-ui-img-viewer.mjs.map +1 -0
- package/fesm2022/aril-ui-json-diff-comparison.mjs +56 -0
- package/fesm2022/aril-ui-json-diff-comparison.mjs.map +1 -0
- package/fesm2022/aril-ui-lib.mjs +382 -0
- package/fesm2022/aril-ui-lib.mjs.map +1 -0
- package/fesm2022/aril-ui-loader.mjs +21 -0
- package/fesm2022/aril-ui-loader.mjs.map +1 -0
- package/fesm2022/aril-ui-mask.mjs +42 -0
- package/fesm2022/aril-ui-mask.mjs.map +1 -0
- package/fesm2022/aril-ui-multiSelect.mjs +64 -0
- package/fesm2022/aril-ui-multiSelect.mjs.map +1 -0
- package/fesm2022/aril-ui-number.mjs +45 -0
- package/fesm2022/aril-ui-number.mjs.map +1 -0
- package/fesm2022/aril-ui-operation-types-dialog.mjs +98 -0
- package/fesm2022/aril-ui-operation-types-dialog.mjs.map +1 -0
- package/fesm2022/aril-ui-overlayPanel.mjs +27 -0
- package/fesm2022/aril-ui-overlayPanel.mjs.map +1 -0
- package/fesm2022/aril-ui-panel.mjs +40 -0
- package/fesm2022/aril-ui-panel.mjs.map +1 -0
- package/fesm2022/aril-ui-password.mjs +36 -0
- package/fesm2022/aril-ui-password.mjs.map +1 -0
- package/fesm2022/aril-ui-pdf-viewer.mjs +34 -0
- package/fesm2022/aril-ui-pdf-viewer.mjs.map +1 -0
- package/fesm2022/aril-ui-progressbar.mjs +25 -0
- package/fesm2022/aril-ui-progressbar.mjs.map +1 -0
- package/fesm2022/aril-ui-radioButton.mjs +37 -0
- package/fesm2022/aril-ui-radioButton.mjs.map +1 -0
- package/fesm2022/aril-ui-relativeDateSelector.mjs +285 -0
- package/fesm2022/aril-ui-relativeDateSelector.mjs.map +1 -0
- package/fesm2022/aril-ui-selectBox.mjs +74 -0
- package/fesm2022/aril-ui-selectBox.mjs.map +1 -0
- package/fesm2022/aril-ui-switch.mjs +30 -0
- package/fesm2022/aril-ui-switch.mjs.map +1 -0
- package/fesm2022/aril-ui-table-expand.mjs +194 -0
- package/fesm2022/aril-ui-table-expand.mjs.map +1 -0
- package/fesm2022/aril-ui-table.mjs +833 -0
- package/fesm2022/aril-ui-table.mjs.map +1 -0
- package/fesm2022/aril-ui-tag.mjs +27 -0
- package/fesm2022/aril-ui-tag.mjs.map +1 -0
- package/fesm2022/aril-ui-tagBox.mjs +62 -0
- package/fesm2022/aril-ui-tagBox.mjs.map +1 -0
- package/fesm2022/aril-ui-text.mjs +54 -0
- package/fesm2022/aril-ui-text.mjs.map +1 -0
- package/fesm2022/aril-ui-textArea.mjs +34 -0
- package/fesm2022/aril-ui-textArea.mjs.map +1 -0
- package/fesm2022/aril-ui-toggle-button.mjs +32 -0
- package/fesm2022/aril-ui-toggle-button.mjs.map +1 -0
- package/fesm2022/aril-ui-tooltip.mjs +30 -0
- package/fesm2022/aril-ui-tooltip.mjs.map +1 -0
- package/fesm2022/aril-ui-translate-input.mjs +207 -0
- package/fesm2022/aril-ui-translate-input.mjs.map +1 -0
- package/fesm2022/aril-ui-tree.mjs +60 -0
- package/fesm2022/aril-ui-tree.mjs.map +1 -0
- package/fesm2022/aril-ui-treeSelect.mjs +48 -0
- package/fesm2022/aril-ui-treeSelect.mjs.map +1 -0
- package/fesm2022/aril-ui-treeTable.mjs +62 -0
- package/fesm2022/aril-ui-treeTable.mjs.map +1 -0
- package/fesm2022/aril-ui-value.mjs +214 -0
- package/fesm2022/aril-ui-value.mjs.map +1 -0
- package/fesm2022/aril-ui.mjs +8 -0
- package/fesm2022/aril-ui.mjs.map +1 -0
- package/fesm2022/aril-util-block.mjs +71 -0
- package/fesm2022/aril-util-block.mjs.map +1 -0
- package/fesm2022/aril-util-custom_pages.mjs +72 -0
- package/fesm2022/aril-util-custom_pages.mjs.map +1 -0
- package/fesm2022/aril-util-directives.mjs +344 -0
- package/fesm2022/aril-util-directives.mjs.map +1 -0
- package/fesm2022/aril-util-lib.mjs +413 -0
- package/fesm2022/aril-util-lib.mjs.map +1 -0
- package/fesm2022/aril-util-loaders.mjs +68 -0
- package/fesm2022/aril-util-loaders.mjs.map +1 -0
- package/fesm2022/aril-util-pipes.mjs +213 -0
- package/fesm2022/aril-util-pipes.mjs.map +1 -0
- package/fesm2022/aril-util-primitive-extensions.mjs +179 -0
- package/fesm2022/aril-util-primitive-extensions.mjs.map +1 -0
- package/fesm2022/aril-util-pub-sub.mjs +37 -0
- package/fesm2022/aril-util-pub-sub.mjs.map +1 -0
- package/fesm2022/aril-util-sync-active-tab-route.mjs +52 -0
- package/fesm2022/aril-util-sync-active-tab-route.mjs.map +1 -0
- package/fesm2022/aril-util-unwrap.mjs +31 -0
- package/fesm2022/aril-util-unwrap.mjs.map +1 -0
- package/fesm2022/aril-util.mjs +8 -0
- package/fesm2022/aril-util.mjs.map +1 -0
- package/fesm2022/aril.mjs +456 -0
- package/fesm2022/aril.mjs.map +1 -0
- package/http/index.d.ts +8 -0
- package/http/lib/enums.d.ts +31 -0
- package/http/lib/interfaces.d.ts +27 -0
- package/http/src/httpBackend.d.ts +8 -0
- package/http/src/httpClient.d.ts +9 -0
- package/http/src/interceptor/accept-language.interceptor.d.ts +2 -0
- package/http/src/serviceBase.d.ts +8 -0
- package/http/src/serviceMockBase.d.ts +6 -0
- package/http/src/serviceRequest.d.ts +4 -0
- package/http/src/serviceStateMethods.d.ts +17 -0
- package/i18n/src/folder-name-token.d.ts +2 -0
- package/i18n/src/i18n.module.d.ts +7 -0
- package/i18n/src/loader.d.ts +8 -0
- package/i18n/src/provideI18n.d.ts +2 -0
- package/i18n/src/provideScope.d.ts +5 -0
- package/index.d.ts +5 -0
- package/keycloak/index.d.ts +1 -0
- package/keycloak/src/auth.interceptor.d.ts +3 -0
- package/package.json +528 -43
- package/provider/src/index.d.ts +4 -0
- package/provider/src/prodiveHost.d.ts +3 -0
- package/provider/src/prodiveHostRouter.d.ts +2 -0
- package/provider/src/provideHostKeycloak.d.ts +5 -0
- package/provider/src/provideLocaleId.d.ts +2 -0
- package/scripts/util/blockui.min.js +7 -0
- package/styles/ui/ui.common.scss +42 -0
- package/styles/util/blockui.css +56 -0
- package/theme/index.d.ts +1 -0
- package/theme/index.ts +1 -1
- package/theme/layout/app/breadcrumb/app.breadcrumb.component.d.ts +25 -0
- package/theme/layout/app/breadcrumb/app.breadcrumb.component.html +8 -8
- package/theme/layout/app/breadcrumb/app.breadcrumb.component.ts +126 -126
- package/theme/layout/app/chatbot/app.chatbot.component.d.ts +35 -0
- package/theme/layout/app/chatbot/app.chatbot.component.html +108 -108
- package/theme/layout/app/chatbot/app.chatbot.component.scss +34 -34
- package/theme/layout/app/chatbot/app.chatbot.component.ts +151 -151
- package/theme/layout/app/config/app.config.component.html +146 -146
- package/theme/layout/app/config/app.config.component.ts +143 -143
- package/theme/layout/app/expandableMenu/expandable-menu.component.d.ts +72 -0
- package/theme/layout/app/expandableMenu/expandable-menu.component.html +89 -89
- package/theme/layout/app/expandableMenu/expandable-menu.component.ts +295 -295
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.d.ts +2031 -0
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.html +110 -110
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.scss +181 -181
- package/theme/layout/app/favorite-pages/favorite-pages-sidebar.component.ts +260 -260
- package/theme/layout/app/favorite-pages/favorite-pages.service.d.ts +56 -0
- package/theme/layout/app/favorite-pages/favorite-pages.service.ts +95 -95
- package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.d.ts +36 -0
- package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.html +27 -27
- package/theme/layout/app/favorite-pages/modals/add-edit-favorite-modal/add-edit-favorite-modal.component.ts +165 -165
- package/theme/layout/app/general-search/general-search.component.d.ts +22 -0
- package/theme/layout/app/general-search/general-search.component.html +57 -57
- package/theme/layout/app/general-search/general-search.component.scss +27 -27
- package/theme/layout/app/general-search/general-search.component.ts +93 -93
- package/theme/layout/app/general-search/helpers.d.ts +7 -0
- package/theme/layout/app/general-search/helpers.spec.ts +527 -527
- package/theme/layout/app/general-search/helpers.ts +106 -106
- package/theme/layout/app/general-search/models.d.ts +131 -0
- package/theme/layout/app/general-search/models.ts +142 -142
- package/theme/layout/app/history/history-sidebar.component.d.ts +2018 -0
- package/theme/layout/app/history/history-sidebar.component.html +87 -87
- package/theme/layout/app/history/history-sidebar.component.scss +182 -182
- package/theme/layout/app/history/history-sidebar.component.ts +143 -143
- package/theme/layout/app/history/history.service.d.ts +36 -0
- package/theme/layout/app/history/history.service.ts +154 -154
- package/theme/layout/app/layout/app.layout.component.d.ts +47 -0
- package/theme/layout/app/layout/app.layout.component.html +27 -27
- package/theme/layout/app/layout/app.layout.component.ts +171 -171
- package/theme/layout/app/layout/mfe.layout.component.d.ts +10 -0
- package/theme/layout/app/layout/mfe.layout.component.ts +59 -59
- package/theme/layout/app/notifications/notifications-sidebar.component.d.ts +2306 -0
- package/theme/layout/app/notifications/notifications-sidebar.component.html +104 -104
- package/theme/layout/app/notifications/notifications-sidebar.component.scss +237 -237
- package/theme/layout/app/notifications/notifications-sidebar.component.ts +221 -221
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.d.ts +29 -0
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.html +122 -122
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.scss +151 -151
- package/theme/layout/app/profileSidebar/app.profilesidebar.component.ts +141 -141
- package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.d.ts +30 -0
- package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.html +48 -48
- package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.scss +27 -27
- package/theme/layout/app/profileSidebar/modals/change-password-modal/change-password-modal.component.ts +178 -178
- package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.d.ts +52 -0
- package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.html +71 -71
- package/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.ts +251 -251
- package/theme/layout/app/profileSidebar/profile.service.d.ts +72 -0
- package/theme/layout/app/profileSidebar/profile.service.ts +116 -116
- package/theme/layout/app/site-map/site-map-sidebar.component.d.ts +2025 -0
- package/theme/layout/app/site-map/site-map-sidebar.component.html +121 -121
- package/theme/layout/app/site-map/site-map-sidebar.component.scss +178 -178
- package/theme/layout/app/site-map/site-map-sidebar.component.ts +193 -193
- package/theme/layout/app/static-sidebar/static-sidebar.component.d.ts +57 -0
- package/theme/layout/app/static-sidebar/static-sidebar.component.html +123 -123
- package/theme/layout/app/static-sidebar/static-sidebar.component.scss +411 -411
- package/theme/layout/app/static-sidebar/static-sidebar.component.ts +276 -276
- package/theme/layout/app/topbar/app.topbar.component.d.ts +35 -0
- package/theme/layout/app/topbar/app.topbar.component.html +85 -85
- package/theme/layout/app/topbar/app.topbar.component.scss +193 -193
- package/theme/layout/app/topbar/app.topbar.component.ts +172 -172
- package/theme/layout/index.d.ts +7 -0
- package/theme/layout/index.ts +7 -7
- package/theme/layout/ng-package.json +6 -6
- package/theme/layout/service/app.layout.service.d.ts +69 -0
- package/theme/layout/service/app.layout.service.ts +307 -307
- package/theme/layout/service/app.menu.service.d.ts +22 -0
- package/theme/layout/service/app.menu.service.ts +53 -53
- package/theme/layout/service/breadcrumb.service.d.ts +10 -0
- package/theme/layout/service/breadcrumb.service.ts +14 -14
- package/theme/layout/service/interfaces/enum.d.ts +12 -0
- package/theme/layout/service/interfaces/enum.ts +13 -13
- package/theme/layout/service/interfaces/interfaces.d.ts +131 -0
- package/theme/layout/service/interfaces/interfaces.ts +150 -150
- package/theme/layout/service/menuchangeevent.d.ts +4 -0
- package/theme/layout/service/menuchangeevent.ts +4 -4
- package/theme/layout/service/notifications.service.d.ts +12 -0
- package/theme/layout/service/notifications.service.ts +26 -26
- package/theme/layout/service/search.service.d.ts +11 -0
- package/theme/layout/service/search.service.ts +22 -22
- package/theme/layout/service/selection-group.service.d.ts +17 -0
- package/theme/layout/service/selection-group.service.ts +73 -73
- package/theme/ng-package.json +6 -6
- package/theme/styles/layout/_animation.scss +53 -53
- package/theme/styles/layout/_breadcrumb.scss +31 -31
- package/theme/styles/layout/_config.scss +42 -42
- package/theme/styles/layout/_content.scss +61 -61
- package/theme/styles/layout/_expanded_sidebar.scss +486 -486
- package/theme/styles/layout/_fonts.scss +93 -93
- package/theme/styles/layout/_layout_dark.scss +5 -5
- package/theme/styles/layout/_layout_dim.scss +5 -5
- package/theme/styles/layout/_layout_light.scss +5 -5
- package/theme/styles/layout/_main.scss +28 -28
- package/theme/styles/layout/_profile.scss +10 -10
- package/theme/styles/layout/_responsive.scss +153 -153
- package/theme/styles/layout/_sidebar_drawer.scss +234 -234
- package/theme/styles/layout/_sidebar_horizontal.scss +163 -163
- package/theme/styles/layout/_sidebar_reveal.scss +201 -201
- package/theme/styles/layout/_sidebar_slim.scss +144 -144
- package/theme/styles/layout/_sidebar_slim_plus.scss +168 -168
- package/theme/styles/layout/_sidebar_vertical.scss +156 -156
- package/theme/styles/layout/_topbar.scss +140 -140
- package/theme/styles/layout/_typography.scss +68 -68
- package/theme/styles/layout/_utils.scss +24 -24
- package/theme/styles/layout/layout.scss +25 -25
- package/theme/styles/layout/menutheme/_colorscheme.scss +11 -11
- package/theme/styles/layout/menutheme/_menutheme.scss +3 -3
- package/theme/styles/layout/menutheme/_primarycolor.scss +16 -16
- package/theme/styles/layout/menutheme/_transparent.scss +26 -26
- package/theme/styles/layout/preloading.scss +84 -84
- package/theme/styles/theme/base/_colors.scss +17 -17
- package/theme/styles/theme/base/_common.scss +89 -89
- package/theme/styles/theme/base/_components.scss +108 -108
- package/theme/styles/theme/base/_mixins.scss +337 -337
- package/theme/styles/theme/base/components/button/_button.scss +576 -576
- package/theme/styles/theme/base/components/button/_speeddial.scss +96 -96
- package/theme/styles/theme/base/components/button/_splitbutton.scss +348 -348
- package/theme/styles/theme/base/components/data/_carousel.scss +37 -37
- package/theme/styles/theme/base/components/data/_datatable.scss +338 -338
- package/theme/styles/theme/base/components/data/_dataview.scss +46 -46
- package/theme/styles/theme/base/components/data/_filter.scss +137 -137
- package/theme/styles/theme/base/components/data/_orderlist.scss +114 -114
- package/theme/styles/theme/base/components/data/_organizationchart.scss +50 -50
- package/theme/styles/theme/base/components/data/_paginator.scss +92 -92
- package/theme/styles/theme/base/components/data/_picklist.scss +114 -114
- package/theme/styles/theme/base/components/data/_table.scss +16 -16
- package/theme/styles/theme/base/components/data/_timeline.scss +35 -35
- package/theme/styles/theme/base/components/data/_tree.scss +150 -150
- package/theme/styles/theme/base/components/data/_treetable.scss +255 -255
- package/theme/styles/theme/base/components/data/_virtualscroller.scss +28 -28
- package/theme/styles/theme/base/components/file/_fileupload.scss +64 -64
- package/theme/styles/theme/base/components/input/_autocomplete.scss +141 -141
- package/theme/styles/theme/base/components/input/_calendar.scss +267 -267
- package/theme/styles/theme/base/components/input/_cascadeselect.scss +135 -135
- package/theme/styles/theme/base/components/input/_checkbox.scss +99 -99
- package/theme/styles/theme/base/components/input/_chips.scss +67 -67
- package/theme/styles/theme/base/components/input/_colorpicker.scss +19 -19
- package/theme/styles/theme/base/components/input/_dropdown.scss +151 -151
- package/theme/styles/theme/base/components/input/_editor.scss +122 -122
- package/theme/styles/theme/base/components/input/_inputgroup.scss +75 -75
- package/theme/styles/theme/base/components/input/_inputmask.scss +16 -16
- package/theme/styles/theme/base/components/input/_inputnumber.scss +28 -28
- package/theme/styles/theme/base/components/input/_inputswitch.scss +60 -60
- package/theme/styles/theme/base/components/input/_inputtext.scss +100 -100
- package/theme/styles/theme/base/components/input/_listbox.scss +97 -97
- package/theme/styles/theme/base/components/input/_multiselect.scss +177 -177
- package/theme/styles/theme/base/components/input/_password.scss +52 -52
- package/theme/styles/theme/base/components/input/_radiobutton.scss +78 -78
- package/theme/styles/theme/base/components/input/_rating.scss +60 -60
- package/theme/styles/theme/base/components/input/_selectbutton.scss +50 -50
- package/theme/styles/theme/base/components/input/_slider.scss +75 -75
- package/theme/styles/theme/base/components/input/_togglebutton.scss +48 -48
- package/theme/styles/theme/base/components/input/_treeselect.scss +139 -139
- package/theme/styles/theme/base/components/menu/_breadcrumb.scss +43 -43
- package/theme/styles/theme/base/components/menu/_contextmenu.scss +39 -39
- package/theme/styles/theme/base/components/menu/_dock.scss +95 -95
- package/theme/styles/theme/base/components/menu/_megamenu.scss +55 -55
- package/theme/styles/theme/base/components/menu/_menu.scss +37 -37
- package/theme/styles/theme/base/components/menu/_menubar.scss +140 -140
- package/theme/styles/theme/base/components/menu/_panelmenu.scss +153 -153
- package/theme/styles/theme/base/components/menu/_slidemenu.scss +59 -59
- package/theme/styles/theme/base/components/menu/_steps.scss +56 -56
- package/theme/styles/theme/base/components/menu/_tabmenu.scss +73 -73
- package/theme/styles/theme/base/components/menu/_tieredmenu.scss +43 -43
- package/theme/styles/theme/base/components/messages/_inlinemessage.scss +69 -69
- package/theme/styles/theme/base/components/messages/_message.scss +107 -107
- package/theme/styles/theme/base/components/messages/_toast.scss +99 -99
- package/theme/styles/theme/base/components/misc/_avatar.scss +30 -30
- package/theme/styles/theme/base/components/misc/_badge.scss +48 -48
- package/theme/styles/theme/base/components/misc/_chip.scss +42 -42
- package/theme/styles/theme/base/components/misc/_inplace.scss +16 -16
- package/theme/styles/theme/base/components/misc/_progressbar.scss +17 -17
- package/theme/styles/theme/base/components/misc/_scrolltop.scss +25 -25
- package/theme/styles/theme/base/components/misc/_skeleton.scss +8 -8
- package/theme/styles/theme/base/components/misc/_tag.scss +45 -45
- package/theme/styles/theme/base/components/misc/_terminal.scss +12 -12
- package/theme/styles/theme/base/components/multimedia/_galleria.scss +155 -155
- package/theme/styles/theme/base/components/multimedia/_image.scss +49 -49
- package/theme/styles/theme/base/components/overlay/_confirmpopup.scss +70 -70
- package/theme/styles/theme/base/components/overlay/_dialog.scss +69 -69
- package/theme/styles/theme/base/components/overlay/_overlaypanel.scss +62 -62
- package/theme/styles/theme/base/components/overlay/_sidebar.scss +28 -28
- package/theme/styles/theme/base/components/overlay/_tooltip.scss +33 -33
- package/theme/styles/theme/base/components/panel/_accordion.scss +119 -119
- package/theme/styles/theme/base/components/panel/_card.scss +30 -30
- package/theme/styles/theme/base/components/panel/_divider.scss +31 -31
- package/theme/styles/theme/base/components/panel/_fieldset.scss +47 -47
- package/theme/styles/theme/base/components/panel/_panel.scss +77 -77
- package/theme/styles/theme/base/components/panel/_scrollpanel.scss +6 -6
- package/theme/styles/theme/base/components/panel/_splitter.scss +19 -19
- package/theme/styles/theme/base/components/panel/_stepper.scss +200 -200
- package/theme/styles/theme/base/components/panel/_tabview.scss +91 -91
- package/theme/styles/theme/base/components/panel/_toolbar.scss +11 -11
- package/theme/styles/theme/dark/_extensions.scss +134 -134
- package/theme/styles/theme/dark/_variables.scss +933 -933
- package/theme/styles/theme/dark/indigo/theme.scss +14 -14
- package/theme/styles/theme/light/_extensions.scss +116 -116
- package/theme/styles/theme/light/_variables.scss +940 -940
- package/theme/styles/theme/light/custom/theme.scss +16 -16
- package/theme/styles/theme/light/indigo/theme.scss +14 -14
- package/ui/autoComplete/src/auto-complete.component.d.ts +31 -0
- package/ui/autoComplete/src/interfaces.d.ts +28 -0
- package/ui/badge/src/badge.component.d.ts +32 -0
- package/ui/button/src/button.component.d.ts +28 -0
- package/ui/button/src/split-button.component.d.ts +8 -0
- package/ui/calendar/src/calendar.component.d.ts +63 -0
- package/ui/charts/index.d.ts +12 -0
- package/ui/charts/src/amCharts/column/column-chart.component.d.ts +25 -0
- package/ui/charts/src/amCharts/line/line-chart.component.d.ts +26 -0
- package/ui/charts/src/amCharts/pie/pie-chart.component.d.ts +24 -0
- package/ui/charts/src/highCharts/area/area-chart.component.d.ts +20 -0
- package/ui/charts/src/highCharts/bar/bar-chart.component.d.ts +26 -0
- package/ui/charts/src/highCharts/column/column-chart.component.d.ts +28 -0
- package/ui/charts/src/highCharts/gauge/solid-gauge.component.d.ts +38 -0
- package/ui/charts/src/highCharts/heatmap/heatMap-chart.component.d.ts +32 -0
- package/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.d.ts +24 -0
- package/ui/charts/src/highCharts/line/line-chart-series.component.d.ts +21 -0
- package/ui/charts/src/highCharts/line/line-chart.component.d.ts +21 -0
- package/ui/charts/src/highCharts/pie/pie-chart.component.d.ts +27 -0
- package/ui/charts/src/theme/theme.d.ts +5 -0
- package/ui/checkbox/src/check-box.component.d.ts +12 -0
- package/ui/checkbox/src/tri-state-checkbox.component.d.ts +9 -0
- package/ui/chip/index.d.ts +1 -0
- package/ui/chip/src/chip.component.d.ts +34 -0
- package/ui/collapse-reorder-list/index.d.ts +1 -0
- package/ui/collapse-reorder-list/src/collapse-reorder-list.component.d.ts +21 -0
- package/ui/dxEditor/src/dx-editor.component.d.ts +11 -0
- package/ui/dxField/src/dx-field.component.d.ts +10 -0
- package/ui/editor/src/aril-editor.component.d.ts +28 -0
- package/ui/editor/src/types.d.ts +23 -0
- package/ui/field/src/field.component.d.ts +30 -0
- package/ui/fileUpload/src/file-upload.component.d.ts +49 -0
- package/ui/form/index.d.ts +11 -0
- package/ui/form/src/form-submit-button.component.d.ts +14 -0
- package/ui/form/src/form.component.d.ts +8 -0
- package/ui/img-viewer/index.d.ts +1 -0
- package/ui/img-viewer/src/img-viewer.component.d.ts +13 -0
- package/ui/index.d.ts +1 -0
- package/ui/json-diff-comparison/src/json-diff.component.d.ts +13 -0
- package/ui/lib/index.d.ts +12 -0
- package/ui/lib/src/form/form-error-message.component.d.ts +9 -0
- package/ui/lib/src/form/form-error-message.directive.d.ts +14 -0
- package/ui/lib/src/form/form-field-builder.d.ts +8 -0
- package/ui/lib/src/form/form-validation.d.ts +2 -0
- package/ui/lib/src/grid/enum-color-picker.pipe.d.ts +9 -0
- package/ui/lib/src/grid/flex-grid.directive.d.ts +6 -0
- package/ui/lib/src/input/baseInput.d.ts +7 -0
- package/ui/lib/src/input/common-input-validators.service.d.ts +20 -0
- package/ui/lib/src/input/dx-input-error-message.pipe.d.ts +11 -0
- package/ui/lib/src/input/input-disabled.directive.d.ts +9 -0
- package/ui/lib/src/input/input-error-message.pipe.d.ts +10 -0
- package/ui/lib/src/input/input-transforms.d.ts +5 -0
- package/ui/lib/src/input/value-accessor.directive.d.ts +9 -0
- package/ui/loader/src/loader.component.d.ts +5 -0
- package/ui/mask/src/mask.component.d.ts +21 -0
- package/ui/multiSelect/src/interfaces.d.ts +32 -0
- package/ui/multiSelect/src/multi-select.component.d.ts +28 -0
- package/ui/number/src/number.component.d.ts +29 -0
- package/ui/operation-types-dialog/src/operation-types-dialog.component.d.ts +33 -0
- package/ui/overlayPanel/src/overlay-panel.component.d.ts +8 -0
- package/ui/panel/src/panel.component.d.ts +14 -0
- package/ui/password/src/password.component.d.ts +11 -0
- package/ui/pdf-viewer/src/pdf-viewer.component.d.ts +19 -0
- package/ui/progressbar/src/progressbar.component.d.ts +8 -0
- package/ui/radioButton/src/radio-button.component.d.ts +22 -0
- package/ui/relativeDateSelector/index.d.ts +1 -0
- package/ui/relativeDateSelector/src/enum.d.ts +26 -0
- package/ui/relativeDateSelector/src/relative-date-selector.component.d.ts +61 -0
- package/ui/selectBox/src/interfaces.d.ts +32 -0
- package/ui/selectBox/src/select-box.component.d.ts +30 -0
- package/ui/switch/src/switch.component.d.ts +8 -0
- package/ui/table/index.d.ts +35 -0
- package/ui/table/src/export-overlay-panel.component.d.ts +39 -0
- package/ui/table/src/interfaces.d.ts +145 -0
- package/ui/table/src/table-column.component.d.ts +19 -0
- package/ui/table/src/table.component.d.ts +107 -0
- package/ui/table-expand/index.d.ts +20 -0
- package/ui/table-expand/src/table-column.component.d.ts +28 -0
- package/ui/table-expand/src/table-expand-area.component.d.ts +14 -0
- package/ui/table-expand/src/table.component.d.ts +47 -0
- package/ui/tag/index.d.ts +1 -0
- package/ui/tag/src/interface.d.ts +1 -0
- package/ui/tag/src/tag.component.d.ts +15 -0
- package/ui/tagBox/src/tag-box.component.d.ts +17 -0
- package/ui/text/src/text.component.d.ts +18 -0
- package/ui/textArea/src/text-area.component.d.ts +12 -0
- package/ui/toggle-button/index.d.ts +1 -0
- package/ui/toggle-button/src/toggle-button.component.d.ts +10 -0
- package/ui/tooltip/src/tooltip-component.d.ts +14 -0
- package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.d.ts +21 -0
- package/ui/translate-input/src/aril-lang-modal/constants.d.ts +2 -0
- package/ui/translate-input/src/aril-translate-input.component.d.ts +26 -0
- package/ui/translate-input/src/interface.d.ts +12 -0
- package/ui/tree/src/tree.component.d.ts +23 -0
- package/ui/treeSelect/src/treeSelect.component.d.ts +23 -0
- package/ui/treeTable/src/tree-table.component.d.ts +21 -0
- package/ui/value/src/value.component.d.ts +43 -0
- package/ui-business/assetPicker/index.d.ts +1 -0
- package/ui-business/assetPicker/src/asset-picker.component.d.ts +48 -0
- package/ui-business/assetPicker/src/interface.d.ts +74 -0
- package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.d.ts +31 -0
- package/ui-business/detailed-overlay-panel/src/interface.d.ts +54 -0
- package/ui-business/enumPicker/index.d.ts +1 -0
- package/ui-business/enumPicker/src/enum-picker.component.d.ts +47 -0
- package/ui-business/enumPicker/src/interface.d.ts +34 -0
- package/ui-business/image-viewer/index.d.ts +1 -0
- package/ui-business/image-viewer/src/aril-image-viewer.component.d.ts +20 -0
- package/ui-business/index.d.ts +1 -0
- package/ui-business/multiple-ref-value/src/multiple-ref-value.component.d.ts +16 -0
- package/ui-business/notification-templates-dialog/src/interface.d.ts +17 -0
- package/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.d.ts +18 -0
- package/ui-business/operation-types-dialog/src/operation-types-dialog.component.d.ts +28 -0
- package/ui-business/ref-value/src/ref-value.component.d.ts +20 -0
- package/ui-business/rolePicker/src/interface.d.ts +44 -0
- package/ui-business/rolePicker/src/role-picker.component.d.ts +25 -0
- package/ui-business/userPicker/index.d.ts +1 -0
- package/ui-business/userPicker/src/interface.d.ts +25 -0
- package/ui-business/userPicker/src/user-picker.component.d.ts +18 -0
- package/util/block/src/block.d.ts +28 -0
- package/util/custom_pages/src/notFound.component.d.ts +5 -0
- package/util/directives/src/detail-page-customization/detail-page-customization.directive.d.ts +26 -0
- package/util/directives/src/detail-page-customization/index.d.ts +2 -0
- package/util/directives/src/detail-page-customization/models.d.ts +53 -0
- package/util/directives/src/dialog-component/plugin-dialog.component.d.ts +11 -0
- package/util/directives/src/dialog-service/plugin-dialog.service.d.ts +7 -0
- package/util/index.d.ts +1 -0
- package/util/lib/index.d.ts +5 -0
- package/util/lib/src/interfaces.d.ts +41 -0
- package/util/lib/src/module-router.d.ts +5 -0
- package/util/lib/src/types.d.ts +2290 -0
- package/util/lib/src/validators/iban.validator.d.ts +7 -0
- package/util/lib/src/validators/identity.validator.d.ts +33 -0
- package/util/lib/src/validators/index.d.ts +5 -0
- package/util/lib/src/validators/max-array-length.validator.d.ts +7 -0
- package/util/lib/src/validators/min-array-length.validator.d.ts +7 -0
- package/util/lib/src/validators/tckn.validator.d.ts +7 -0
- package/util/lib/src/validators/validators.d.ts +12 -0
- package/util/loaders/index.d.ts +1 -0
- package/util/loaders/style/style.loader.service.d.ts +13 -0
- package/util/pipes/src/distance-to-now.pipe.d.ts +11 -0
- package/util/pipes/src/get-column-by-field.pipe.d.ts +11 -0
- package/util/pipes/src/parse.pipe.d.ts +7 -0
- package/util/pipes/src/round-number.pipe.d.ts +11 -0
- package/util/pipes/src/safe.pipe.d.ts +10 -0
- package/util/pipes/src/translate-json/index.d.ts +1 -0
- package/util/pipes/src/translate-json/translate-json.pipe.d.ts +10 -0
- package/util/primitive-extensions/src/date.extensions.d.ts +8 -0
- package/util/primitive-extensions/src/number.extensions.d.ts +12 -0
- package/util/primitive-extensions/src/string.extensions.d.ts +11 -0
- package/util/pub-sub/src/pub-sub.service.d.ts +21 -0
- package/util/sync-active-tab-route/src/sync-active-tab-route.directive.d.ts +17 -0
- package/util/unwrap/src/unwrap-tag.directive.d.ts +9 -0
- package/.eslintrc.json +0 -41
- package/boot/config/api/ng-package.json +0 -6
- package/boot/config/api/src/api.sample.json +0 -8
- package/boot/config/api/src/api.service.ts +0 -91
- package/boot/config/api/src/interfaces.ts +0 -65
- package/boot/config/apps/ng-package.json +0 -6
- package/boot/config/apps/src/apps.service.ts +0 -62
- package/boot/config/apps/src/auth.guard.ts +0 -22
- package/boot/config/apps/src/interfaces.ts +0 -58
- package/boot/config/apps/src/reuse-strategy.ts +0 -10
- package/boot/config/apps/src/showdowDOMWrapper.ts +0 -28
- package/boot/config/plugins/ng-package.json +0 -6
- package/boot/config/plugins/src/getNgZone.ts +0 -7
- package/boot/config/plugins/src/interfaces.ts +0 -75
- package/boot/config/plugins/src/plugins.service.ts +0 -110
- package/boot/config/translate/constants.ts +0 -4
- package/boot/config/translate/ng-package.json +0 -6
- package/boot/config/translate/primeng/i18n/tr.ts +0 -59
- package/boot/host/ng-package.json +0 -6
- package/boot/host/src/app.component.ts +0 -51
- package/boot/host/src/bootstrap.ts +0 -87
- package/boot/index.ts +0 -1
- package/boot/mfe/ng-package.json +0 -6
- package/boot/mfe/src/app.component.ts +0 -63
- package/boot/mfe/src/appComponentLoader.ts +0 -4
- package/boot/mfe/src/bootstrap.ts +0 -97
- package/boot/mfe/src/loadStyles.ts +0 -42
- package/boot/mfe/src/monaco.config.ts +0 -266
- package/boot/ng-package.json +0 -6
- package/http/index.ts +0 -13
- package/http/lib/enums.ts +0 -31
- package/http/lib/interfaces.ts +0 -46
- package/http/ng-package.json +0 -6
- package/http/src/httpBackend.ts +0 -12
- package/http/src/httpClient.ts +0 -20
- package/http/src/interceptor/accept-language.interceptor.ts +0 -32
- package/http/src/serviceBase.ts +0 -175
- package/http/src/serviceMockBase.ts +0 -12
- package/http/src/serviceRequest.ts +0 -28
- package/http/src/serviceStateMethods.ts +0 -211
- package/i18n/ng-package.json +0 -6
- package/i18n/src/folder-name-token.ts +0 -3
- package/i18n/src/i18n.module.ts +0 -11
- package/i18n/src/loader.ts +0 -13
- package/i18n/src/provideI18n.ts +0 -18
- package/i18n/src/provideScope.ts +0 -20
- package/keycloak/index.ts +0 -1
- package/keycloak/ng-package.json +0 -6
- package/keycloak/src/auth.interceptor.ts +0 -103
- package/ng-package.json +0 -16
- package/project.json +0 -39
- package/provider/ng-package.json +0 -6
- package/provider/src/index.ts +0 -5
- package/provider/src/prodiveHost.ts +0 -15
- package/provider/src/prodiveHostRouter.ts +0 -21
- package/provider/src/provideHostKeycloak.ts +0 -34
- package/provider/src/provideLocaleId.ts +0 -22
- package/tsconfig.lib.json +0 -12
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -9
- package/ui/autoComplete/ng-package.json +0 -6
- package/ui/autoComplete/src/auto-complete.component.html +0 -14
- package/ui/autoComplete/src/auto-complete.component.ts +0 -130
- package/ui/autoComplete/src/interfaces.ts +0 -35
- package/ui/badge/ng-package.json +0 -6
- package/ui/badge/src/badge.component.html +0 -11
- package/ui/badge/src/badge.component.ts +0 -63
- package/ui/button/ng-package.json +0 -6
- package/ui/button/src/button.component.html +0 -12
- package/ui/button/src/button.component.ts +0 -47
- package/ui/button/src/split-button.component.html +0 -2
- package/ui/button/src/split-button.component.ts +0 -17
- package/ui/calendar/ng-package.json +0 -6
- package/ui/calendar/src/calendar.component.html +0 -48
- package/ui/calendar/src/calendar.component.ts +0 -257
- package/ui/charts/index.ts +0 -13
- package/ui/charts/ng-package.json +0 -6
- package/ui/charts/src/amCharts/column/column-chart.component.ts +0 -144
- package/ui/charts/src/amCharts/line/line-chart.component.ts +0 -194
- package/ui/charts/src/amCharts/pie/pie-chart.component.ts +0 -132
- package/ui/charts/src/highCharts/area/area-chart.component.ts +0 -112
- package/ui/charts/src/highCharts/bar/bar-chart.component.ts +0 -100
- package/ui/charts/src/highCharts/bar/bar-chart.components.scss +0 -50
- package/ui/charts/src/highCharts/column/column-chart.component copy.ts +0 -50
- package/ui/charts/src/highCharts/column/column-chart.component.ts +0 -125
- package/ui/charts/src/highCharts/column/column-chart.components.scss +0 -50
- package/ui/charts/src/highCharts/gauge/solid-gauge.component.ts +0 -199
- package/ui/charts/src/highCharts/heatmap/heatMap-chart.component.ts +0 -279
- package/ui/charts/src/highCharts/line/line-chart-datetime-axis.component.ts +0 -185
- package/ui/charts/src/highCharts/line/line-chart-series.component.ts +0 -92
- package/ui/charts/src/highCharts/line/line-chart.component.ts +0 -85
- package/ui/charts/src/highCharts/pie/pie-chart.component.ts +0 -139
- package/ui/charts/src/theme/theme.ts +0 -55
- package/ui/checkbox/ng-package.json +0 -6
- package/ui/checkbox/src/check-box.component.html +0 -15
- package/ui/checkbox/src/check-box.component.ts +0 -24
- package/ui/checkbox/src/tri-state-checkbox.component.html +0 -7
- package/ui/checkbox/src/tri-state-checkbox.component.ts +0 -20
- package/ui/chip/index.ts +0 -1
- package/ui/chip/ng-package.json +0 -6
- package/ui/chip/src/chip.component.html +0 -33
- package/ui/chip/src/chip.component.ts +0 -144
- package/ui/collapse-reorder-list/index.ts +0 -1
- package/ui/collapse-reorder-list/ng-package.json +0 -6
- package/ui/collapse-reorder-list/src/collapse-reorder-list.component.html +0 -42
- package/ui/collapse-reorder-list/src/collapse-reorder-list.component.scss +0 -24
- package/ui/collapse-reorder-list/src/collapse-reorder-list.component.ts +0 -56
- package/ui/dxEditor/ng-package.json +0 -6
- package/ui/dxEditor/src/dx-editor.component.html +0 -67
- package/ui/dxEditor/src/dx-editor.component.ts +0 -19
- package/ui/dxField/ng-package.json +0 -6
- package/ui/dxField/src/dx-field.component.html +0 -15
- package/ui/dxField/src/dx-field.component.ts +0 -17
- package/ui/editor/ng-package.json +0 -6
- package/ui/editor/src/aril-editor.component.html +0 -16
- package/ui/editor/src/aril-editor.component.scss +0 -18
- package/ui/editor/src/aril-editor.component.ts +0 -176
- package/ui/editor/src/types.ts +0 -24
- package/ui/field/ng-package.json +0 -6
- package/ui/field/src/field.component.html +0 -27
- package/ui/field/src/field.component.ts +0 -53
- package/ui/fileUpload/ng-package.json +0 -6
- package/ui/fileUpload/src/file-upload.component.html +0 -76
- package/ui/fileUpload/src/file-upload.component.ts +0 -90
- package/ui/form/index.ts +0 -18
- package/ui/form/ng-package.json +0 -6
- package/ui/form/src/form-submit-button.component.html +0 -12
- package/ui/form/src/form-submit-button.component.ts +0 -36
- package/ui/form/src/form.component.ts +0 -20
- package/ui/img-viewer/index.ts +0 -2
- package/ui/img-viewer/ng-package.json +0 -6
- package/ui/img-viewer/src/img-viewer.component.html +0 -12
- package/ui/img-viewer/src/img-viewer.component.scss +0 -8
- package/ui/img-viewer/src/img-viewer.component.ts +0 -59
- package/ui/index.ts +0 -1
- package/ui/json-diff-comparison/ng-package.json +0 -6
- package/ui/json-diff-comparison/src/json-diff.component.html +0 -5
- package/ui/json-diff-comparison/src/json-diff.component.ts +0 -45
- package/ui/lib/index.ts +0 -17
- package/ui/lib/ng-package.json +0 -6
- package/ui/lib/src/form/form-error-message.component.ts +0 -25
- package/ui/lib/src/form/form-error-message.directive.ts +0 -32
- package/ui/lib/src/form/form-field-builder.ts +0 -31
- package/ui/lib/src/form/form-validation.ts +0 -14
- package/ui/lib/src/grid/enum-color-picker.pipe.ts +0 -33
- package/ui/lib/src/grid/flex-grid.directive.ts +0 -10
- package/ui/lib/src/input/baseInput.ts +0 -30
- package/ui/lib/src/input/common-input-validators.service.ts +0 -57
- package/ui/lib/src/input/dx-input-error-message.pipe.ts +0 -16
- package/ui/lib/src/input/input-disabled.directive.ts +0 -15
- package/ui/lib/src/input/input-error-message.pipe.ts +0 -71
- package/ui/lib/src/input/input-transforms.ts +0 -11
- package/ui/lib/src/input/value-accessor.directive.ts +0 -31
- package/ui/loader/ng-package.json +0 -6
- package/ui/loader/src/loader.component.html +0 -7
- package/ui/loader/src/loader.component.scss +0 -6
- package/ui/loader/src/loader.component.ts +0 -14
- package/ui/mask/ng-package.json +0 -6
- package/ui/mask/src/mask.component.css +0 -23
- package/ui/mask/src/mask.component.html +0 -17
- package/ui/mask/src/mask.component.ts +0 -34
- package/ui/multiSelect/ng-package.json +0 -6
- package/ui/multiSelect/src/interfaces.ts +0 -41
- package/ui/multiSelect/src/multi-select.component.html +0 -14
- package/ui/multiSelect/src/multi-select.component.ts +0 -66
- package/ui/ng-package.json +0 -6
- package/ui/number/ng-package.json +0 -6
- package/ui/number/src/number.component.html +0 -26
- package/ui/number/src/number.component.ts +0 -36
- package/ui/operation-types-dialog/ng-package.json +0 -6
- package/ui/operation-types-dialog/src/operation-types-dialog.component.ts +0 -98
- package/ui/overlayPanel/ng-package.json +0 -6
- package/ui/overlayPanel/src/overlay-panel.component.html +0 -5
- package/ui/overlayPanel/src/overlay-panel.component.ts +0 -16
- package/ui/panel/ng-package.json +0 -6
- package/ui/panel/src/panel.component.css +0 -38
- package/ui/panel/src/panel.component.html +0 -44
- package/ui/panel/src/panel.component.ts +0 -31
- package/ui/password/ng-package.json +0 -6
- package/ui/password/src/password.component.html +0 -25
- package/ui/password/src/password.component.ts +0 -22
- package/ui/pdf-viewer/ng-package.json +0 -6
- package/ui/pdf-viewer/src/pdf-viewer.component.html +0 -16
- package/ui/pdf-viewer/src/pdf-viewer.component.scss +0 -8
- package/ui/pdf-viewer/src/pdf-viewer.component.ts +0 -28
- package/ui/progressbar/dist/index.js +0 -13
- package/ui/progressbar/ng-package.json +0 -6
- package/ui/progressbar/src/dist/progressbar.component.js +0 -28
- package/ui/progressbar/src/progressbar.component.html +0 -1
- package/ui/progressbar/src/progressbar.component.ts +0 -18
- package/ui/radioButton/ng-package.json +0 -6
- package/ui/radioButton/src/radio-button.component.html +0 -23
- package/ui/radioButton/src/radio-button.component.scss +0 -17
- package/ui/radioButton/src/radio-button.component.ts +0 -39
- package/ui/relativeDateSelector/index.ts +0 -1
- package/ui/relativeDateSelector/ng-package.json +0 -6
- package/ui/relativeDateSelector/src/enum.ts +0 -29
- package/ui/relativeDateSelector/src/relative-date-selector.component.html +0 -118
- package/ui/relativeDateSelector/src/relative-date-selector.component.scss +0 -154
- package/ui/relativeDateSelector/src/relative-date-selector.component.ts +0 -291
- package/ui/selectBox/ng-package.json +0 -6
- package/ui/selectBox/src/interfaces.ts +0 -41
- package/ui/selectBox/src/select-box.component.html +0 -19
- package/ui/selectBox/src/select-box.component.ts +0 -79
- package/ui/styles/ui.common.scss +0 -42
- package/ui/switch/ng-package.json +0 -6
- package/ui/switch/src/switch.component.html +0 -7
- package/ui/switch/src/switch.component.ts +0 -18
- package/ui/table/index.ts +0 -76
- package/ui/table/ng-package.json +0 -6
- package/ui/table/src/export-overlay-panel.component.ts +0 -330
- package/ui/table/src/interfaces.ts +0 -162
- package/ui/table/src/table-column.component.ts +0 -22
- package/ui/table/src/table.component.html +0 -404
- package/ui/table/src/table.component.scss +0 -15
- package/ui/table/src/table.component.ts +0 -368
- package/ui/table-expand/index.ts +0 -41
- package/ui/table-expand/ng-package.json +0 -6
- package/ui/table-expand/src/table-column.component.ts +0 -32
- package/ui/table-expand/src/table-expand-area.component.ts +0 -18
- package/ui/table-expand/src/table.component.html +0 -101
- package/ui/table-expand/src/table.component.ts +0 -92
- package/ui/tag/index.ts +0 -1
- package/ui/tag/ng-package.json +0 -6
- package/ui/tag/src/interface.ts +0 -1
- package/ui/tag/src/tag.component.html +0 -9
- package/ui/tag/src/tag.component.ts +0 -17
- package/ui/tagBox/ng-package.json +0 -6
- package/ui/tagBox/src/tag-box.component.html +0 -26
- package/ui/tagBox/src/tag-box.component.ts +0 -56
- package/ui/text/ng-package.json +0 -6
- package/ui/text/src/text.component.html +0 -21
- package/ui/text/src/text.component.ts +0 -55
- package/ui/textArea/ng-package.json +0 -6
- package/ui/textArea/src/text-area.component.html +0 -12
- package/ui/textArea/src/text-area.component.ts +0 -22
- package/ui/toggle-button/index.ts +0 -1
- package/ui/toggle-button/ng-package.json +0 -6
- package/ui/toggle-button/src/toggle-button.component.html +0 -13
- package/ui/toggle-button/src/toggle-button.component.scss +0 -19
- package/ui/toggle-button/src/toggle-button.component.ts +0 -22
- package/ui/tooltip/ng-package.json +0 -6
- package/ui/tooltip/src/tooltip-component.html +0 -10
- package/ui/tooltip/src/tooltip-component.ts +0 -20
- package/ui/translate-input/ng-package.json +0 -6
- package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.html +0 -46
- package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.scss +0 -9
- package/ui/translate-input/src/aril-lang-modal/aril-lang-modal.component.ts +0 -74
- package/ui/translate-input/src/aril-lang-modal/constants.ts +0 -16
- package/ui/translate-input/src/aril-translate-input.component.ts +0 -152
- package/ui/translate-input/src/interface.ts +0 -14
- package/ui/tree/ng-package.json +0 -6
- package/ui/tree/src/tree.component.html +0 -17
- package/ui/tree/src/tree.component.ts +0 -65
- package/ui/treeSelect/ng-package.json +0 -6
- package/ui/treeSelect/src/treeSelect.component.html +0 -18
- package/ui/treeSelect/src/treeSelect.component.ts +0 -43
- package/ui/treeTable/ng-package.json +0 -6
- package/ui/treeTable/src/tree-table.component.html +0 -88
- package/ui/treeTable/src/tree-table.component.ts +0 -57
- package/ui/value/ng-package.json +0 -6
- package/ui/value/src/value.component.html +0 -94
- package/ui/value/src/value.component.scss +0 -6
- package/ui/value/src/value.component.ts +0 -268
- package/ui-business/assetPicker/index.ts +0 -1
- package/ui-business/assetPicker/ng-package.json +0 -6
- package/ui-business/assetPicker/src/asset-picker.component.html +0 -29
- package/ui-business/assetPicker/src/asset-picker.component.ts +0 -259
- package/ui-business/assetPicker/src/interface.ts +0 -83
- package/ui-business/detailed-overlay-panel/ng-package.json +0 -6
- package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.html +0 -52
- package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.scss +0 -19
- package/ui-business/detailed-overlay-panel/src/detailed-overlay-panel.component.ts +0 -66
- package/ui-business/detailed-overlay-panel/src/interface.ts +0 -62
- package/ui-business/enumPicker/index.ts +0 -1
- package/ui-business/enumPicker/ng-package.json +0 -6
- package/ui-business/enumPicker/src/enum-picker.component.html +0 -39
- package/ui-business/enumPicker/src/enum-picker.component.ts +0 -147
- package/ui-business/enumPicker/src/interface.ts +0 -44
- package/ui-business/image-viewer/index.ts +0 -1
- package/ui-business/image-viewer/ng-package.json +0 -6
- package/ui-business/image-viewer/src/aril-image-viewer.component.ts +0 -92
- package/ui-business/index.ts +0 -1
- package/ui-business/multiple-ref-value/ng-package.json +0 -6
- package/ui-business/multiple-ref-value/src/multiple-ref-value.component.html +0 -26
- package/ui-business/multiple-ref-value/src/multiple-ref-value.component.ts +0 -21
- package/ui-business/ng-package.json +0 -6
- package/ui-business/notification-templates-dialog/ng-package.json +0 -6
- package/ui-business/notification-templates-dialog/src/interface.ts +0 -18
- package/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.html +0 -31
- package/ui-business/notification-templates-dialog/src/notification-templates-dialog.component.ts +0 -69
- package/ui-business/operation-types-dialog/ng-package.json +0 -6
- package/ui-business/operation-types-dialog/src/operation-types-dialog.component.ts +0 -78
- package/ui-business/ref-value/ng-package.json +0 -6
- package/ui-business/ref-value/src/ref-value.component.html +0 -29
- package/ui-business/ref-value/src/ref-value.component.ts +0 -41
- package/ui-business/rolePicker/ng-package.json +0 -6
- package/ui-business/rolePicker/src/interface.ts +0 -56
- package/ui-business/rolePicker/src/role-picker.component.html +0 -21
- package/ui-business/rolePicker/src/role-picker.component.ts +0 -88
- package/ui-business/userPicker/index.ts +0 -1
- package/ui-business/userPicker/ng-package.json +0 -6
- package/ui-business/userPicker/src/interface.ts +0 -27
- package/ui-business/userPicker/src/user-picker.component.html +0 -20
- package/ui-business/userPicker/src/user-picker.component.ts +0 -52
- package/util/block/ng-package.json +0 -6
- package/util/block/src/block.ts +0 -65
- package/util/block/src/blockui.css +0 -56
- package/util/block/src/blockui.min.js +0 -7
- package/util/custom_pages/ng-package.json +0 -6
- package/util/custom_pages/src/notFound.component.ts +0 -34
- package/util/directives/ng-package.json +0 -6
- package/util/directives/src/detail-page-customization/detail-page-customization.directive.md +0 -199
- package/util/directives/src/detail-page-customization/detail-page-customization.directive.ts +0 -343
- package/util/directives/src/detail-page-customization/index.ts +0 -2
- package/util/directives/src/detail-page-customization/models.ts +0 -61
- package/util/directives/src/dialog-component/plugin-dialog.component.ts +0 -22
- package/util/directives/src/dialog-service/plugin-dialog.service.ts +0 -12
- package/util/index.ts +0 -1
- package/util/lib/index.ts +0 -4
- package/util/lib/ng-package.json +0 -6
- package/util/lib/src/interfaces.ts +0 -44
- package/util/lib/src/module-router.ts +0 -9
- package/util/lib/src/types.ts +0 -61
- package/util/lib/src/validators/iban.validator.ts +0 -202
- package/util/lib/src/validators/index.ts +0 -4
- package/util/lib/src/validators/max-array-length.validator.ts +0 -18
- package/util/lib/src/validators/min-array-length.validator.ts +0 -18
- package/util/lib/src/validators/tckn.validator.ts +0 -55
- package/util/lib/src/validators/validators.ts +0 -21
- package/util/loaders/index.ts +0 -1
- package/util/loaders/ng-package.json +0 -6
- package/util/loaders/style/style.loader.service.ts +0 -69
- package/util/ng-package.json +0 -6
- package/util/pipes/ng-package.json +0 -6
- package/util/pipes/src/distance-to-now.pipe.ts +0 -37
- package/util/pipes/src/get-column-by-field.pipe.ts +0 -11
- package/util/pipes/src/parse.pipe.ts +0 -15
- package/util/pipes/src/round-number.pipe.ts +0 -75
- package/util/pipes/src/safe.pipe.ts +0 -27
- package/util/pipes/src/translate-json/index.ts +0 -1
- package/util/pipes/src/translate-json/translate-json.pipe.ts +0 -34
- package/util/primitive-extensions/ng-package.json +0 -6
- package/util/primitive-extensions/src/date.extensions.ts +0 -135
- package/util/primitive-extensions/src/number.extensions.ts +0 -57
- package/util/primitive-extensions/src/string.extensions.ts +0 -39
- package/util/pub-sub/ng-package.json +0 -6
- package/util/pub-sub/src/pub-sub.service.ts +0 -35
- package/util/sync-active-tab-route/ng-package.json +0 -6
- package/util/sync-active-tab-route/src/sync-active-tab-route.directive.ts +0 -47
- package/util/unwrap/ng-package.json +0 -6
- package/util/unwrap/src/unwrap-tag.directive.ts +0 -18
- /package/boot/config/api/{index.ts → index.d.ts} +0 -0
- /package/boot/config/apps/{index.ts → index.d.ts} +0 -0
- /package/boot/config/plugins/{index.ts → index.d.ts} +0 -0
- /package/boot/config/translate/{index.ts → index.d.ts} +0 -0
- /package/boot/host/{index.ts → index.d.ts} +0 -0
- /package/boot/mfe/{index.ts → index.d.ts} +0 -0
- /package/i18n/{index.ts → index.d.ts} +0 -0
- /package/provider/{index.ts → index.d.ts} +0 -0
- /package/{public-api.ts → public-api.d.ts} +0 -0
- /package/ui/autoComplete/{index.ts → index.d.ts} +0 -0
- /package/ui/badge/{index.ts → index.d.ts} +0 -0
- /package/ui/button/{index.ts → index.d.ts} +0 -0
- /package/ui/calendar/{index.ts → index.d.ts} +0 -0
- /package/ui/checkbox/{index.ts → index.d.ts} +0 -0
- /package/ui/dxEditor/{index.ts → index.d.ts} +0 -0
- /package/ui/dxField/{index.ts → index.d.ts} +0 -0
- /package/ui/editor/{index.ts → index.d.ts} +0 -0
- /package/ui/field/{index.ts → index.d.ts} +0 -0
- /package/ui/fileUpload/{index.ts → index.d.ts} +0 -0
- /package/ui/json-diff-comparison/{index.ts → index.d.ts} +0 -0
- /package/ui/loader/{index.ts → index.d.ts} +0 -0
- /package/ui/mask/{index.ts → index.d.ts} +0 -0
- /package/ui/multiSelect/{index.ts → index.d.ts} +0 -0
- /package/ui/number/{index.ts → index.d.ts} +0 -0
- /package/ui/operation-types-dialog/{index.ts → index.d.ts} +0 -0
- /package/ui/overlayPanel/{index.ts → index.d.ts} +0 -0
- /package/ui/panel/{index.ts → index.d.ts} +0 -0
- /package/ui/password/{index.ts → index.d.ts} +0 -0
- /package/ui/pdf-viewer/{index.ts → index.d.ts} +0 -0
- /package/ui/progressbar/{index.ts → index.d.ts} +0 -0
- /package/ui/radioButton/{index.ts → index.d.ts} +0 -0
- /package/ui/selectBox/{index.ts → index.d.ts} +0 -0
- /package/ui/switch/{index.ts → index.d.ts} +0 -0
- /package/ui/tagBox/{index.ts → index.d.ts} +0 -0
- /package/ui/text/{index.ts → index.d.ts} +0 -0
- /package/ui/textArea/{index.ts → index.d.ts} +0 -0
- /package/ui/tooltip/{index.ts → index.d.ts} +0 -0
- /package/ui/translate-input/{index.ts → index.d.ts} +0 -0
- /package/ui/tree/{index.ts → index.d.ts} +0 -0
- /package/ui/treeSelect/{index.ts → index.d.ts} +0 -0
- /package/ui/treeTable/{index.ts → index.d.ts} +0 -0
- /package/ui/value/{index.ts → index.d.ts} +0 -0
- /package/ui-business/detailed-overlay-panel/{index.ts → index.d.ts} +0 -0
- /package/ui-business/multiple-ref-value/{index.ts → index.d.ts} +0 -0
- /package/ui-business/notification-templates-dialog/{index.ts → index.d.ts} +0 -0
- /package/ui-business/operation-types-dialog/{index.ts → index.d.ts} +0 -0
- /package/ui-business/ref-value/{index.ts → index.d.ts} +0 -0
- /package/ui-business/rolePicker/{index.ts → index.d.ts} +0 -0
- /package/util/block/{index.ts → index.d.ts} +0 -0
- /package/util/custom_pages/{index.ts → index.d.ts} +0 -0
- /package/util/directives/{index.ts → index.d.ts} +0 -0
- /package/util/pipes/{index.ts → index.d.ts} +0 -0
- /package/util/primitive-extensions/{index.ts → index.d.ts} +0 -0
- /package/util/primitive-extensions/src/{boolean.extensions.ts → boolean.extensions.d.ts} +0 -0
- /package/util/pub-sub/{index.ts → index.d.ts} +0 -0
- /package/util/sync-active-tab-route/{index.ts → index.d.ts} +0 -0
- /package/util/unwrap/{index.ts → index.d.ts} +0 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, EventEmitter, Component, Output } from '@angular/core';
|
|
3
|
+
import * as i1 from 'primeng/api';
|
|
4
|
+
import { MessageService } from 'primeng/api';
|
|
5
|
+
import * as i4 from 'primeng/fileupload';
|
|
6
|
+
import { FileUploadModule } from 'primeng/fileupload';
|
|
7
|
+
import { NotificationTemplatesDialogComponent } from 'aril/ui-business/notification-templates-dialog';
|
|
8
|
+
import { ButtonComponent } from 'aril/ui/button';
|
|
9
|
+
import * as i2 from 'primeng/dynamicdialog';
|
|
10
|
+
import * as i3 from '@ngneat/transloco';
|
|
11
|
+
|
|
12
|
+
class FileUploadComponent {
|
|
13
|
+
constructor(messageService, dialogService, translocoService) {
|
|
14
|
+
this.messageService = messageService;
|
|
15
|
+
this.dialogService = dialogService;
|
|
16
|
+
this.translocoService = translocoService;
|
|
17
|
+
this.name = input();
|
|
18
|
+
this.url = input.required();
|
|
19
|
+
this.multiple = input(false);
|
|
20
|
+
this.accept = input('.xlsx');
|
|
21
|
+
this.disabled = input(false);
|
|
22
|
+
this.auto = input(false);
|
|
23
|
+
this.maxFileSize = input();
|
|
24
|
+
this.tabindex = input();
|
|
25
|
+
this.withCredentials = input(false);
|
|
26
|
+
this.showUploadButton = input(true);
|
|
27
|
+
this.showCancelButton = input(true);
|
|
28
|
+
this.showNotificationTemplatesButton = input(true);
|
|
29
|
+
this.customUpload = input(false);
|
|
30
|
+
this.mode = input('advanced');
|
|
31
|
+
this.beforeSend = new EventEmitter();
|
|
32
|
+
this.upload = new EventEmitter();
|
|
33
|
+
this.uploadHandler = new EventEmitter();
|
|
34
|
+
this.errors = new EventEmitter();
|
|
35
|
+
this.selects = new EventEmitter();
|
|
36
|
+
this.clear = new EventEmitter();
|
|
37
|
+
this.uploadedFiles = [];
|
|
38
|
+
}
|
|
39
|
+
onUpload(event) {
|
|
40
|
+
this.upload.emit(event);
|
|
41
|
+
this.uploadedFiles = event.files;
|
|
42
|
+
this.messageService.add({ key: 'toast-root', severity: 'success', summary: 'Dosya başarıyla yüklendi.' });
|
|
43
|
+
}
|
|
44
|
+
onError(event) {
|
|
45
|
+
this.errors.emit(event);
|
|
46
|
+
this.messageService.add({ key: 'toast-root', severity: 'error', summary: 'Dosya yüklenemedi.' });
|
|
47
|
+
}
|
|
48
|
+
openNotificationTemplatesDialog() {
|
|
49
|
+
this.dialogService.open(NotificationTemplatesDialogComponent, {
|
|
50
|
+
contentStyle: { overflow: 'hidden', 'max-width': '500px' },
|
|
51
|
+
draggable: true,
|
|
52
|
+
header: this.translocoService.translate('notifications.notificationTemplates')
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FileUploadComponent, deps: [{ token: i1.MessageService }, { token: i2.DialogService }, { token: i3.TranslocoService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
56
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: FileUploadComponent, isStandalone: true, selector: "aril-file-upload", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, url: { classPropertyName: "url", publicName: "url", isSignal: true, isRequired: true, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, accept: { classPropertyName: "accept", publicName: "accept", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, auto: { classPropertyName: "auto", publicName: "auto", isSignal: true, isRequired: false, transformFunction: null }, maxFileSize: { classPropertyName: "maxFileSize", publicName: "maxFileSize", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, withCredentials: { classPropertyName: "withCredentials", publicName: "withCredentials", isSignal: true, isRequired: false, transformFunction: null }, showUploadButton: { classPropertyName: "showUploadButton", publicName: "showUploadButton", isSignal: true, isRequired: false, transformFunction: null }, showCancelButton: { classPropertyName: "showCancelButton", publicName: "showCancelButton", isSignal: true, isRequired: false, transformFunction: null }, showNotificationTemplatesButton: { classPropertyName: "showNotificationTemplatesButton", publicName: "showNotificationTemplatesButton", isSignal: true, isRequired: false, transformFunction: null }, customUpload: { classPropertyName: "customUpload", publicName: "customUpload", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { beforeSend: "beforeSend", upload: "upload", uploadHandler: "uploadHandler", errors: "errors", selects: "selects", clear: "clear" }, providers: [MessageService], ngImport: i0, template: "<p-fileUpload\r\n\t#fileUpload\r\n\t[name]=\"name()\"\r\n\t[url]=\"url()\"\r\n\tmethod=\"post\"\r\n\t[multiple]=\"multiple()\"\r\n\t[mode]=\"mode()\"\r\n\tchooseLabel=\"{{ fileUpload.chooseButtonLabel }}\"\r\n\t[accept]=\"accept()\"\r\n\t[disabled]=\"disabled()\"\r\n\t[auto]=\"auto()\"\r\n\t[maxFileSize]=\"maxFileSize()\"\r\n\t[tabindex]=\"tabindex()\"\r\n\t[withCredentials]=\"withCredentials()\"\r\n\t[showUploadButton]=\"showUploadButton()\"\r\n\t[showCancelButton]=\"showCancelButton()\"\r\n\t[customUpload]=\"customUpload()\"\r\n\t[invalidFileTypeMessageSummary]=\"this.translocoService.translate('fileUpload.invalidFileTypeMessageSummary')\"\r\n\t[invalidFileTypeMessageDetail]=\"this.translocoService.translate('fileUpload.invalidFileTypeMessageDetail')\"\r\n\t[invalidFileSizeMessageSummary]=\"this.translocoService.translate('fileUpload.invalidFileSizeMessageSummary')\"\r\n\t[invalidFileSizeMessageDetail]=\"this.translocoService.translate('fileUpload.invalidFileSizeMessageDetail')\"\r\n\t(onBeforeSend)=\"beforeSend.emit($event)\"\r\n\t(onUpload)=\"onUpload($event)\"\r\n\t(uploadHandler)=\"uploadHandler.emit($event)\"\r\n\t(onError)=\"onError($event)\"\r\n\t(onSelect)=\"selects.emit($event)\"\r\n\t(onClear)=\"clear.emit($event)\">\r\n\t<ng-template pTemplate=\"header\" let-files>\r\n\t\t<div class=\"flex gap-2\">\r\n\t\t\t<aril-button\r\n\t\t\t\tcolor=\"primary\"\r\n\t\t\t\ticon=\"PLUS\"\r\n\t\t\t\t[label]=\"fileUpload.chooseButtonLabel\"\r\n\t\t\t\t(clickEvent)=\"fileUpload.choose()\" />\r\n\r\n\t\t\t@if (showUploadButton()) {\r\n\t\t\t\t<aril-button\r\n\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t\ticon=\"UPLOAD\"\r\n\t\t\t\t\t[label]=\"fileUpload.uploadButtonLabel\"\r\n\t\t\t\t\t(clickEvent)=\"fileUpload.upload()\"\r\n\t\t\t\t\t[disabled]=\"!files || files.length === 0\" />\r\n\t\t\t}\r\n\r\n\t\t\t@if (showCancelButton()) {\r\n\t\t\t\t<aril-button\r\n\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t\ticon=\"TIMES\"\r\n\t\t\t\t\t[label]=\"fileUpload.cancelButtonLabel\"\r\n\t\t\t\t\t(clickEvent)=\"fileUpload.clear()\"\r\n\t\t\t\t\t[disabled]=\"!files || files.length === 0\" />\r\n\t\t\t}\r\n\r\n\t\t\t@if (showNotificationTemplatesButton()) {\r\n\t\t\t\t<aril-button\r\n\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t\ticon=\"LIST\"\r\n\t\t\t\t\t[label]=\"translocoService.translate('notifications.notificationTemplates')\"\r\n\t\t\t\t\t(clickEvent)=\"openNotificationTemplatesDialog()\" />\r\n\t\t\t}\r\n\t\t</div>\r\n\t</ng-template>\r\n\r\n\t<ng-template pTemplate=\"content\">\r\n\t\t@if (uploadedFiles.length) {\r\n\t\t\t<div class=\"flex flex-column\">\r\n\t\t\t\t@for (file of uploadedFiles; track file) {\r\n\t\t\t\t\t<div class=\"mt-2\">\r\n\t\t\t\t\t\t<i class=\"pi pi-file-excel\" style=\"color: slateblue; font-size: 1.4rem\"></i>\r\n\t\t\t\t\t\t{{ file.name }} - {{ file.size }} bytes\r\n\t\t\t\t\t</div>\r\n\t\t\t\t}\r\n\t\t\t</div>\r\n\t\t}\r\n\t</ng-template>\r\n</p-fileUpload>\r\n", styles: [":host ::ng-deep .p-fileupload-buttonbar{display:flex;justify-content:center}\n"], dependencies: [{ kind: "ngmodule", type: FileUploadModule }, { kind: "component", type: i4.FileUpload, selector: "p-fileUpload", inputs: ["name", "url", "method", "multiple", "accept", "disabled", "auto", "withCredentials", "maxFileSize", "invalidFileSizeMessageSummary", "invalidFileSizeMessageDetail", "invalidFileTypeMessageSummary", "invalidFileTypeMessageDetail", "invalidFileLimitMessageDetail", "invalidFileLimitMessageSummary", "style", "styleClass", "previewWidth", "chooseLabel", "uploadLabel", "cancelLabel", "chooseIcon", "uploadIcon", "cancelIcon", "showUploadButton", "showCancelButton", "mode", "headers", "customUpload", "fileLimit", "uploadStyleClass", "cancelStyleClass", "removeStyleClass", "chooseStyleClass", "files"], outputs: ["onBeforeUpload", "onSend", "onUpload", "onError", "onClear", "onRemove", "onSelect", "onProgress", "uploadHandler", "onImageError", "onRemoveUploadedFile"] }, { kind: "directive", type: i1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }] }); }
|
|
57
|
+
}
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FileUploadComponent, decorators: [{
|
|
59
|
+
type: Component,
|
|
60
|
+
args: [{ standalone: true, selector: 'aril-file-upload', imports: [FileUploadModule, ButtonComponent], providers: [MessageService], template: "<p-fileUpload\r\n\t#fileUpload\r\n\t[name]=\"name()\"\r\n\t[url]=\"url()\"\r\n\tmethod=\"post\"\r\n\t[multiple]=\"multiple()\"\r\n\t[mode]=\"mode()\"\r\n\tchooseLabel=\"{{ fileUpload.chooseButtonLabel }}\"\r\n\t[accept]=\"accept()\"\r\n\t[disabled]=\"disabled()\"\r\n\t[auto]=\"auto()\"\r\n\t[maxFileSize]=\"maxFileSize()\"\r\n\t[tabindex]=\"tabindex()\"\r\n\t[withCredentials]=\"withCredentials()\"\r\n\t[showUploadButton]=\"showUploadButton()\"\r\n\t[showCancelButton]=\"showCancelButton()\"\r\n\t[customUpload]=\"customUpload()\"\r\n\t[invalidFileTypeMessageSummary]=\"this.translocoService.translate('fileUpload.invalidFileTypeMessageSummary')\"\r\n\t[invalidFileTypeMessageDetail]=\"this.translocoService.translate('fileUpload.invalidFileTypeMessageDetail')\"\r\n\t[invalidFileSizeMessageSummary]=\"this.translocoService.translate('fileUpload.invalidFileSizeMessageSummary')\"\r\n\t[invalidFileSizeMessageDetail]=\"this.translocoService.translate('fileUpload.invalidFileSizeMessageDetail')\"\r\n\t(onBeforeSend)=\"beforeSend.emit($event)\"\r\n\t(onUpload)=\"onUpload($event)\"\r\n\t(uploadHandler)=\"uploadHandler.emit($event)\"\r\n\t(onError)=\"onError($event)\"\r\n\t(onSelect)=\"selects.emit($event)\"\r\n\t(onClear)=\"clear.emit($event)\">\r\n\t<ng-template pTemplate=\"header\" let-files>\r\n\t\t<div class=\"flex gap-2\">\r\n\t\t\t<aril-button\r\n\t\t\t\tcolor=\"primary\"\r\n\t\t\t\ticon=\"PLUS\"\r\n\t\t\t\t[label]=\"fileUpload.chooseButtonLabel\"\r\n\t\t\t\t(clickEvent)=\"fileUpload.choose()\" />\r\n\r\n\t\t\t@if (showUploadButton()) {\r\n\t\t\t\t<aril-button\r\n\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t\ticon=\"UPLOAD\"\r\n\t\t\t\t\t[label]=\"fileUpload.uploadButtonLabel\"\r\n\t\t\t\t\t(clickEvent)=\"fileUpload.upload()\"\r\n\t\t\t\t\t[disabled]=\"!files || files.length === 0\" />\r\n\t\t\t}\r\n\r\n\t\t\t@if (showCancelButton()) {\r\n\t\t\t\t<aril-button\r\n\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t\ticon=\"TIMES\"\r\n\t\t\t\t\t[label]=\"fileUpload.cancelButtonLabel\"\r\n\t\t\t\t\t(clickEvent)=\"fileUpload.clear()\"\r\n\t\t\t\t\t[disabled]=\"!files || files.length === 0\" />\r\n\t\t\t}\r\n\r\n\t\t\t@if (showNotificationTemplatesButton()) {\r\n\t\t\t\t<aril-button\r\n\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t\ticon=\"LIST\"\r\n\t\t\t\t\t[label]=\"translocoService.translate('notifications.notificationTemplates')\"\r\n\t\t\t\t\t(clickEvent)=\"openNotificationTemplatesDialog()\" />\r\n\t\t\t}\r\n\t\t</div>\r\n\t</ng-template>\r\n\r\n\t<ng-template pTemplate=\"content\">\r\n\t\t@if (uploadedFiles.length) {\r\n\t\t\t<div class=\"flex flex-column\">\r\n\t\t\t\t@for (file of uploadedFiles; track file) {\r\n\t\t\t\t\t<div class=\"mt-2\">\r\n\t\t\t\t\t\t<i class=\"pi pi-file-excel\" style=\"color: slateblue; font-size: 1.4rem\"></i>\r\n\t\t\t\t\t\t{{ file.name }} - {{ file.size }} bytes\r\n\t\t\t\t\t</div>\r\n\t\t\t\t}\r\n\t\t\t</div>\r\n\t\t}\r\n\t</ng-template>\r\n</p-fileUpload>\r\n", styles: [":host ::ng-deep .p-fileupload-buttonbar{display:flex;justify-content:center}\n"] }]
|
|
61
|
+
}], ctorParameters: () => [{ type: i1.MessageService }, { type: i2.DialogService }, { type: i3.TranslocoService }], propDecorators: { beforeSend: [{
|
|
62
|
+
type: Output
|
|
63
|
+
}], upload: [{
|
|
64
|
+
type: Output
|
|
65
|
+
}], uploadHandler: [{
|
|
66
|
+
type: Output
|
|
67
|
+
}], errors: [{
|
|
68
|
+
type: Output
|
|
69
|
+
}], selects: [{
|
|
70
|
+
type: Output
|
|
71
|
+
}], clear: [{
|
|
72
|
+
type: Output
|
|
73
|
+
}] } });
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Generated bundle index. Do not edit.
|
|
77
|
+
*/
|
|
78
|
+
|
|
79
|
+
export { FileUploadComponent };
|
|
80
|
+
//# sourceMappingURL=aril-ui-fileUpload.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aril-ui-fileUpload.mjs","sources":["../../projects/aril/ui/fileUpload/src/file-upload.component.ts","../../projects/aril/ui/fileUpload/src/file-upload.component.html","../../projects/aril/ui/fileUpload/aril-ui-fileUpload.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\r\nimport { HttpEvent } from '@angular/common/http';\r\nimport { Component, EventEmitter, Output, input } from '@angular/core';\r\n\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { FileUploadModule } from 'primeng/fileupload';\r\n\r\nimport { TranslocoService } from '@ngneat/transloco';\r\n\r\nimport { NotificationTemplatesDialogComponent } from 'aril/ui-business/notification-templates-dialog';\r\nimport { ButtonComponent } from 'aril/ui/button';\r\n\r\ninterface UploadEvent {\r\n\toriginalEvent: HttpEvent<any>;\r\n\tfiles: File[];\r\n}\r\n\r\ninterface UploadFile {\r\n\tname: string;\r\n\tsize: number;\r\n\ttype: string;\r\n\tobjectURL?: string;\r\n}\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-file-upload',\r\n\ttemplateUrl: './file-upload.component.html',\r\n\timports: [FileUploadModule, ButtonComponent],\r\n\tproviders: [MessageService],\r\n\tstyles: [\r\n\t\t`\r\n\t\t\t:host ::ng-deep .p-fileupload-buttonbar {\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tjustify-content: center;\r\n\t\t\t}\r\n\t\t`\r\n\t]\r\n})\r\nexport class FileUploadComponent {\r\n\tname = input<string>();\r\n\turl = input.required<string>();\r\n\tmultiple = input(false);\r\n\taccept = input<string>('.xlsx');\r\n\tdisabled = input(false);\r\n\tauto = input(false);\r\n\tmaxFileSize = input<number>();\r\n\ttabindex = input<number>();\r\n\twithCredentials = input(false);\r\n\tshowUploadButton = input(true);\r\n\tshowCancelButton = input(true);\r\n\tshowNotificationTemplatesButton = input(true);\r\n\tcustomUpload = input(false);\r\n\tmode = input<'advanced' | 'basic'>('advanced');\r\n\t\r\n\t@Output() beforeSend: EventEmitter<unknown> = new EventEmitter();\r\n\t@Output() upload: EventEmitter<unknown> = new EventEmitter();\r\n\t@Output() uploadHandler: EventEmitter<unknown> = new EventEmitter();\r\n\t@Output() errors: EventEmitter<unknown> = new EventEmitter();\r\n\t@Output() selects: EventEmitter<unknown> = new EventEmitter();\r\n\t@Output() clear: EventEmitter<unknown> = new EventEmitter();\r\n\r\n\tuploadedFiles: UploadFile[] = [];\r\n\r\n\tconstructor(\r\n\t\tprivate readonly messageService: MessageService,\r\n\t\tprivate readonly dialogService: DialogService,\r\n\t\tpublic readonly translocoService: TranslocoService\r\n\t) {}\r\n\r\n\tonUpload(event: UploadEvent) {\r\n\t\tthis.upload.emit(event);\r\n\t\tthis.uploadedFiles = event.files;\r\n\t\tthis.messageService.add({ key: 'toast-root', severity: 'success', summary: 'Dosya başarıyla yüklendi.' });\r\n\t}\r\n\r\n\tonError(event: any) {\r\n\t\tthis.errors.emit(event);\r\n\t\tthis.messageService.add({ key: 'toast-root', severity: 'error', summary: 'Dosya yüklenemedi.' });\r\n\t}\r\n\r\n\topenNotificationTemplatesDialog() {\r\n\t\tthis.dialogService.open(NotificationTemplatesDialogComponent, {\r\n\t\t\tcontentStyle: { overflow: 'hidden', 'max-width': '500px' },\r\n\t\t\tdraggable: true,\r\n\t\t\theader: this.translocoService.translate('notifications.notificationTemplates')\r\n\t\t});\r\n\t}\r\n}\r\n","<p-fileUpload\r\n\t#fileUpload\r\n\t[name]=\"name()\"\r\n\t[url]=\"url()\"\r\n\tmethod=\"post\"\r\n\t[multiple]=\"multiple()\"\r\n\t[mode]=\"mode()\"\r\n\tchooseLabel=\"{{ fileUpload.chooseButtonLabel }}\"\r\n\t[accept]=\"accept()\"\r\n\t[disabled]=\"disabled()\"\r\n\t[auto]=\"auto()\"\r\n\t[maxFileSize]=\"maxFileSize()\"\r\n\t[tabindex]=\"tabindex()\"\r\n\t[withCredentials]=\"withCredentials()\"\r\n\t[showUploadButton]=\"showUploadButton()\"\r\n\t[showCancelButton]=\"showCancelButton()\"\r\n\t[customUpload]=\"customUpload()\"\r\n\t[invalidFileTypeMessageSummary]=\"this.translocoService.translate('fileUpload.invalidFileTypeMessageSummary')\"\r\n\t[invalidFileTypeMessageDetail]=\"this.translocoService.translate('fileUpload.invalidFileTypeMessageDetail')\"\r\n\t[invalidFileSizeMessageSummary]=\"this.translocoService.translate('fileUpload.invalidFileSizeMessageSummary')\"\r\n\t[invalidFileSizeMessageDetail]=\"this.translocoService.translate('fileUpload.invalidFileSizeMessageDetail')\"\r\n\t(onBeforeSend)=\"beforeSend.emit($event)\"\r\n\t(onUpload)=\"onUpload($event)\"\r\n\t(uploadHandler)=\"uploadHandler.emit($event)\"\r\n\t(onError)=\"onError($event)\"\r\n\t(onSelect)=\"selects.emit($event)\"\r\n\t(onClear)=\"clear.emit($event)\">\r\n\t<ng-template pTemplate=\"header\" let-files>\r\n\t\t<div class=\"flex gap-2\">\r\n\t\t\t<aril-button\r\n\t\t\t\tcolor=\"primary\"\r\n\t\t\t\ticon=\"PLUS\"\r\n\t\t\t\t[label]=\"fileUpload.chooseButtonLabel\"\r\n\t\t\t\t(clickEvent)=\"fileUpload.choose()\" />\r\n\r\n\t\t\t@if (showUploadButton()) {\r\n\t\t\t\t<aril-button\r\n\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t\ticon=\"UPLOAD\"\r\n\t\t\t\t\t[label]=\"fileUpload.uploadButtonLabel\"\r\n\t\t\t\t\t(clickEvent)=\"fileUpload.upload()\"\r\n\t\t\t\t\t[disabled]=\"!files || files.length === 0\" />\r\n\t\t\t}\r\n\r\n\t\t\t@if (showCancelButton()) {\r\n\t\t\t\t<aril-button\r\n\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t\ticon=\"TIMES\"\r\n\t\t\t\t\t[label]=\"fileUpload.cancelButtonLabel\"\r\n\t\t\t\t\t(clickEvent)=\"fileUpload.clear()\"\r\n\t\t\t\t\t[disabled]=\"!files || files.length === 0\" />\r\n\t\t\t}\r\n\r\n\t\t\t@if (showNotificationTemplatesButton()) {\r\n\t\t\t\t<aril-button\r\n\t\t\t\t\tcolor=\"primary\"\r\n\t\t\t\t\ticon=\"LIST\"\r\n\t\t\t\t\t[label]=\"translocoService.translate('notifications.notificationTemplates')\"\r\n\t\t\t\t\t(clickEvent)=\"openNotificationTemplatesDialog()\" />\r\n\t\t\t}\r\n\t\t</div>\r\n\t</ng-template>\r\n\r\n\t<ng-template pTemplate=\"content\">\r\n\t\t@if (uploadedFiles.length) {\r\n\t\t\t<div class=\"flex flex-column\">\r\n\t\t\t\t@for (file of uploadedFiles; track file) {\r\n\t\t\t\t\t<div class=\"mt-2\">\r\n\t\t\t\t\t\t<i class=\"pi pi-file-excel\" style=\"color: slateblue; font-size: 1.4rem\"></i>\r\n\t\t\t\t\t\t{{ file.name }} - {{ file.size }} bytes\r\n\t\t\t\t\t</div>\r\n\t\t\t\t}\r\n\t\t\t</div>\r\n\t\t}\r\n\t</ng-template>\r\n</p-fileUpload>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MAwCa,mBAAmB,CAAA;AAyB/B,IAAA,WAAA,CACkB,cAA8B,EAC9B,aAA4B,EAC7B,gBAAkC,EAAA;QAFjC,IAAc,CAAA,cAAA,GAAd,cAAc,CAAgB;QAC9B,IAAa,CAAA,aAAA,GAAb,aAAa,CAAe;QAC7B,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;QA3BnD,IAAI,CAAA,IAAA,GAAG,KAAK,EAAU,CAAC;AACvB,QAAA,IAAA,CAAA,GAAG,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;AAC/B,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AACxB,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAS,OAAO,CAAC,CAAC;AAChC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AACxB,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;QACpB,IAAW,CAAA,WAAA,GAAG,KAAK,EAAU,CAAC;QAC9B,IAAQ,CAAA,QAAA,GAAG,KAAK,EAAU,CAAC;AAC3B,QAAA,IAAA,CAAA,eAAe,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;AAC/B,QAAA,IAAA,CAAA,gBAAgB,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;AAC/B,Q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,SAAA,EAAA,UAAA,EAAA,UAAA,EAAA,YAAA,EAAA,eAAA,EAAA,cAAA,EAAA,sBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,aAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,WAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,eAAe,EAAA,QAAA,EAAA,0BAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,EAAA,UAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,UAAA,EAAA,OAAA,EAAA,MAAA,EAAA,MAAA,EAAA,SAAA,EAAA,OAAA,CAAA,EAAA,OAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAW/B,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAf/B,SAAS;iCACG,IAAI,EAAA,QAAA,EACN,kBAAkB,EAAA,OAAA,EAEnB,CAAC,gBAAgB,EAAE,eAAe,CAAC,EAAA,SAAA,EACjC,CAAC,cAAc,CAAC,EAAA,QAAA,EAAA,g2FAAA,EAAA,MAAA,EAAA,CAAA,gFAAA,CAAA,EAAA,CAAA;8IA0BjB,UAAU,EAAA,CAAA;sBAAnB,MAAM;gBACG,MAAM,EAAA,CAAA;sBAAf,MAAM;gBACG,aAAa,EAAA,CAAA;sBAAtB,MAAM;gBACG,MAAM,EAAA,CAAA;sBAAf,MAAM;gBACG,OAAO,EAAA,CAAA;sBAAhB,MAAM;gBACG,KAAK,EAAA,CAAA;sBAAd,MAAM;;;AE7DR;;AAEG;;;;"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, EventEmitter, inject, Component, ChangeDetectionStrategy, Output, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from 'aril/ui/button';
|
|
4
|
+
import { ButtonComponent } from 'aril/ui/button';
|
|
5
|
+
import { MessageService } from 'primeng/api';
|
|
6
|
+
import * as i1$1 from 'aril/ui/lib';
|
|
7
|
+
import { checkValidInputs, FlexGridDirective, FormErrorMessageDirective } from 'aril/ui/lib';
|
|
8
|
+
|
|
9
|
+
class FormSubmitButtonComponent extends ButtonComponent {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.formGroup = input.required();
|
|
13
|
+
this.validEvent = new EventEmitter();
|
|
14
|
+
this.inValidEvent = new EventEmitter();
|
|
15
|
+
this.messageService = inject(MessageService);
|
|
16
|
+
}
|
|
17
|
+
submit() {
|
|
18
|
+
checkValidInputs(this.formGroup());
|
|
19
|
+
if (this.formGroup().valid)
|
|
20
|
+
this.validEvent.emit();
|
|
21
|
+
else {
|
|
22
|
+
this.messageService.add({
|
|
23
|
+
key: 'toast-root',
|
|
24
|
+
severity: 'warn ',
|
|
25
|
+
summary: 'Form Hatası',
|
|
26
|
+
detail: 'Lütfen formdaki eksikleri gideriniz'
|
|
27
|
+
});
|
|
28
|
+
this.inValidEvent.emit();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormSubmitButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
32
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: FormSubmitButtonComponent, selector: "aril-form-submit:not([click])", inputs: { formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { validEvent: "validEvent", inValidEvent: "inValidEvent" }, usesInheritance: true, ngImport: i0, template: "<aril-button\r\n\t[label]=\"label()\"\r\n\t[loading]=\"formGroup().pending\"\r\n\t[disabled]=\"disabled()\"\r\n\t[raised]=\"raised()\"\r\n\t[outlined]=\"outlined()\"\r\n\t[badge]=\"badge()\"\r\n\t[size]=\"size()\"\r\n\t[icon]=\"icon()\"\r\n\t[color]=\"color()\"\r\n\t(clickEvent)=\"submit()\">\r\n</aril-button>\r\n", dependencies: [{ kind: "component", type: i1.ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
33
|
+
}
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormSubmitButtonComponent, decorators: [{
|
|
35
|
+
type: Component,
|
|
36
|
+
args: [{ selector: 'aril-form-submit:not([click])', changeDetection: ChangeDetectionStrategy.OnPush, template: "<aril-button\r\n\t[label]=\"label()\"\r\n\t[loading]=\"formGroup().pending\"\r\n\t[disabled]=\"disabled()\"\r\n\t[raised]=\"raised()\"\r\n\t[outlined]=\"outlined()\"\r\n\t[badge]=\"badge()\"\r\n\t[size]=\"size()\"\r\n\t[icon]=\"icon()\"\r\n\t[color]=\"color()\"\r\n\t(clickEvent)=\"submit()\">\r\n</aril-button>\r\n" }]
|
|
37
|
+
}], propDecorators: { validEvent: [{
|
|
38
|
+
type: Output
|
|
39
|
+
}], inValidEvent: [{
|
|
40
|
+
type: Output
|
|
41
|
+
}] } });
|
|
42
|
+
|
|
43
|
+
class FormComponent {
|
|
44
|
+
constructor() {
|
|
45
|
+
this.formGroup = input.required();
|
|
46
|
+
}
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
48
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: FormComponent, selector: "aril-form", inputs: { formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: true, transformFunction: null } }, hostDirectives: [{ directive: i1$1.FlexGridDirective }, { directive: i1$1.FormErrorMessageDirective, inputs: ["formErrorMessage", "formGroup"] }], ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
49
|
+
}
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: FormComponent, decorators: [{
|
|
51
|
+
type: Component,
|
|
52
|
+
args: [{
|
|
53
|
+
selector: 'aril-form',
|
|
54
|
+
template: ` <ng-content></ng-content> `,
|
|
55
|
+
hostDirectives: [
|
|
56
|
+
FlexGridDirective,
|
|
57
|
+
{
|
|
58
|
+
directive: FormErrorMessageDirective,
|
|
59
|
+
inputs: ['formErrorMessage: formGroup']
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
63
|
+
}]
|
|
64
|
+
}] });
|
|
65
|
+
|
|
66
|
+
const components = [FormComponent, FormSubmitButtonComponent];
|
|
67
|
+
class ARiLFormModule {
|
|
68
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ARiLFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
69
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.2", ngImport: i0, type: ARiLFormModule, declarations: [FormComponent, FormSubmitButtonComponent], imports: [ButtonComponent], exports: [FormComponent, FormSubmitButtonComponent] }); }
|
|
70
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ARiLFormModule, imports: [ButtonComponent] }); }
|
|
71
|
+
}
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ARiLFormModule, decorators: [{
|
|
73
|
+
type: NgModule,
|
|
74
|
+
args: [{
|
|
75
|
+
imports: [ButtonComponent],
|
|
76
|
+
exports: [components],
|
|
77
|
+
declarations: [components]
|
|
78
|
+
}]
|
|
79
|
+
}] });
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Generated bundle index. Do not edit.
|
|
83
|
+
*/
|
|
84
|
+
|
|
85
|
+
export { ARiLFormModule, FormComponent, FormSubmitButtonComponent };
|
|
86
|
+
//# sourceMappingURL=aril-ui-form.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aril-ui-form.mjs","sources":["../../projects/aril/ui/form/src/form-submit-button.component.ts","../../projects/aril/ui/form/src/form-submit-button.component.html","../../projects/aril/ui/form/src/form.component.ts","../../projects/aril/ui/form/index.ts","../../projects/aril/ui/form/aril-ui-form.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Output, inject, input } from '@angular/core';\r\nimport { FormGroup } from '@angular/forms';\r\n\r\nimport { MessageService } from 'primeng/api';\r\n\r\nimport { ButtonComponent } from 'aril/ui/button';\r\nimport { checkValidInputs } from 'aril/ui/lib';\r\n\r\n@Component({\r\n\tselector: 'aril-form-submit:not([click])',\r\n\ttemplateUrl: './form-submit-button.component.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormSubmitButtonComponent extends ButtonComponent {\r\n\tformGroup = input.required<FormGroup>();\r\n\r\n\t@Output() validEvent: EventEmitter<never> = new EventEmitter<never>();\r\n\t@Output() inValidEvent: EventEmitter<never> = new EventEmitter<never>();\r\n\r\n\tmessageService = inject(MessageService);\r\n\r\n\tsubmit() {\r\n\t\tcheckValidInputs(this.formGroup());\r\n\r\n\t\tif (this.formGroup().valid) this.validEvent.emit();\r\n\t\telse {\r\n\t\t\tthis.messageService.add({\r\n\t\t\t\tkey: 'toast-root',\r\n\t\t\t\tseverity: 'warn ',\r\n\t\t\t\tsummary: 'Form Hatası',\r\n\t\t\t\tdetail: 'Lütfen formdaki eksikleri gideriniz'\r\n\t\t\t});\r\n\t\t\tthis.inValidEvent.emit();\r\n\t\t}\r\n\t}\r\n}\r\n","<aril-button\r\n\t[label]=\"label()\"\r\n\t[loading]=\"formGroup().pending\"\r\n\t[disabled]=\"disabled()\"\r\n\t[raised]=\"raised()\"\r\n\t[outlined]=\"outlined()\"\r\n\t[badge]=\"badge()\"\r\n\t[size]=\"size()\"\r\n\t[icon]=\"icon()\"\r\n\t[color]=\"color()\"\r\n\t(clickEvent)=\"submit()\">\r\n</aril-button>\r\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\r\nimport { FormGroup } from '@angular/forms';\r\n\r\nimport { FlexGridDirective, FormErrorMessageDirective } from 'aril/ui/lib';\r\n\r\n@Component({\r\n\tselector: 'aril-form',\r\n\ttemplate: ` <ng-content></ng-content> `,\r\n\thostDirectives: [\r\n\t\tFlexGridDirective,\r\n\t\t{\r\n\t\t\tdirective: FormErrorMessageDirective,\r\n\t\t\tinputs: ['formErrorMessage: formGroup']\r\n\t\t}\r\n\t],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormComponent {\r\n\tformGroup = input.required<FormGroup>();\r\n}\r\n","import { NgModule } from '@angular/core';\r\n\r\nimport { ButtonComponent } from 'aril/ui/button';\r\n\r\nimport { FormSubmitButtonComponent } from './src/form-submit-button.component';\r\nimport { FormComponent } from './src/form.component';\r\n\r\nexport * from './src/form.component';\r\nexport * from './src/form-submit-button.component';\r\n\r\nconst components = [FormComponent, FormSubmitButtonComponent];\r\n\r\n@NgModule({\r\n\timports: [ButtonComponent],\r\n\texports: [components],\r\n\tdeclarations: [components]\r\n})\r\nexport class ARiLFormModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAaM,MAAO,yBAA0B,SAAQ,eAAe,CAAA;AAL9D,IAAA,WAAA,GAAA;;AAMC,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,QAAQ,EA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AG,CAAC,aAAa,EAAE,yBAAyB,CAAC,CAAC;MAOjD,cAAc,CAAA;8GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAd,cAAc,EAAA,YAAA,EAAA,CAPP,aAAa,EAAE,yBAAyB,aAGjD,eAAe,CAAA,EAAA,OAAA,EAAA,CAHN,aAAa,EAAE,yBAAyB,CAAA,EAAA,CAAA,CAAA,EAAA;AAO/C,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAJhB,eAAe,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIb,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,eAAe,CAAC;oBAC1B,OAAO,EAAE,CAAC,UAAU,CAAC;oBACrB,YAAY,EAAE,CAAC,UAAU,CAAC;AAC1B,iBAAA,CAAA;;;AChBD;;AAEG;;;;"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { input, Component } from '@angular/core';
|
|
4
|
+
import * as i2 from 'primeng/image';
|
|
5
|
+
import { ImageModule } from 'primeng/image';
|
|
6
|
+
import * as i3 from 'primeng/messages';
|
|
7
|
+
import { MessagesModule } from 'primeng/messages';
|
|
8
|
+
import { ButtonComponent } from 'aril/ui/button';
|
|
9
|
+
import * as i1 from 'primeng/dynamicdialog';
|
|
10
|
+
|
|
11
|
+
class ImgViewerComponent {
|
|
12
|
+
constructor(ref) {
|
|
13
|
+
this.ref = ref;
|
|
14
|
+
this.base64 = input('');
|
|
15
|
+
this.messages = [{ severity: 'info', detail: 'Dosya bulunamadı.' }];
|
|
16
|
+
}
|
|
17
|
+
downloadFile() {
|
|
18
|
+
if (this.base64()) {
|
|
19
|
+
let mimeType = 'image/png';
|
|
20
|
+
if (this.base64().startsWith('data:image/jpeg;base64,')) {
|
|
21
|
+
mimeType = 'image/jpeg';
|
|
22
|
+
}
|
|
23
|
+
else if (this.base64().startsWith('data:image/gif;base64,')) {
|
|
24
|
+
mimeType = 'image/gif';
|
|
25
|
+
}
|
|
26
|
+
else if (this.base64().startsWith('data:image/bmp;base64,')) {
|
|
27
|
+
mimeType = 'image/bmp';
|
|
28
|
+
}
|
|
29
|
+
else if (this.base64().startsWith('data:image/webp;base64,')) {
|
|
30
|
+
mimeType = 'image/webp';
|
|
31
|
+
}
|
|
32
|
+
const link = document.createElement('a');
|
|
33
|
+
link.href = 'data:' + mimeType + ';base64,' + this.base64();
|
|
34
|
+
link.download = 'file.' + mimeType.split('/')[1];
|
|
35
|
+
document.body.appendChild(link);
|
|
36
|
+
link.click();
|
|
37
|
+
document.body.removeChild(link);
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
console.error('Base64 verisi mevcut değil');
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
close() {
|
|
44
|
+
this.ref.close();
|
|
45
|
+
}
|
|
46
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ImgViewerComponent, deps: [{ token: i1.DynamicDialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
47
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: ImgViewerComponent, isStandalone: true, selector: "aril-img-viewer", inputs: { base64: { classPropertyName: "base64", publicName: "base64", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if(base64()) {\r\n\t<div>\r\n\t\t<p-image [src]=\"'data:image/png;base64,' + base64()\" alt=\"G\u00F6r\u00FCnt\u00FC\" width=\"100%\" height=\"100%\"/>\r\n\t</div>\r\n}\r\n@else {\r\n\t<p-messages [(value)]=\"messages\" [enableService]=\"false\" [closable]=\"false\" />\r\n}\r\n<div style=\"display: flex; justify-content: flex-end; width: 100%\">\r\n\t<aril-button color=\"danger\" label=\"Kapat\" icon=\"TIMES\" [outlined]=\"true\" (clickEvent)=\"close()\"></aril-button> \r\n\t<aril-button color=\"success\" label=\"\u0130ndir\" icon=\"CHECK\" (clickEvent)=\"downloadFile()\" [disabled]=\"!base64()\"></aril-button>\r\n</div>\r\n", styles: ["ngx-extended-pdf-viewer{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ImageModule }, { kind: "component", type: i2.Image, selector: "p-image", inputs: ["imageClass", "imageStyle", "styleClass", "style", "src", "srcSet", "sizes", "previewImageSrc", "previewImageSrcSet", "previewImageSizes", "alt", "width", "height", "loading", "appendTo", "preview", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide", "onImageError"] }, { kind: "ngmodule", type: MessagesModule }, { kind: "component", type: i3.Messages, selector: "p-messages", inputs: ["value", "closable", "style", "styleClass", "enableService", "key", "escape", "severity", "showTransitionOptions", "hideTransitionOptions"], outputs: ["valueChange", "onClose"] }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }] }); }
|
|
48
|
+
}
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: ImgViewerComponent, decorators: [{
|
|
50
|
+
type: Component,
|
|
51
|
+
args: [{ standalone: true, selector: 'aril-img-viewer', imports: [
|
|
52
|
+
CommonModule,
|
|
53
|
+
ImageModule,
|
|
54
|
+
MessagesModule,
|
|
55
|
+
ButtonComponent
|
|
56
|
+
], template: "@if(base64()) {\r\n\t<div>\r\n\t\t<p-image [src]=\"'data:image/png;base64,' + base64()\" alt=\"G\u00F6r\u00FCnt\u00FC\" width=\"100%\" height=\"100%\"/>\r\n\t</div>\r\n}\r\n@else {\r\n\t<p-messages [(value)]=\"messages\" [enableService]=\"false\" [closable]=\"false\" />\r\n}\r\n<div style=\"display: flex; justify-content: flex-end; width: 100%\">\r\n\t<aril-button color=\"danger\" label=\"Kapat\" icon=\"TIMES\" [outlined]=\"true\" (clickEvent)=\"close()\"></aril-button> \r\n\t<aril-button color=\"success\" label=\"\u0130ndir\" icon=\"CHECK\" (clickEvent)=\"downloadFile()\" [disabled]=\"!base64()\"></aril-button>\r\n</div>\r\n", styles: ["ngx-extended-pdf-viewer{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}\n"] }]
|
|
57
|
+
}], ctorParameters: () => [{ type: i1.DynamicDialogRef }] });
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Generated bundle index. Do not edit.
|
|
61
|
+
*/
|
|
62
|
+
|
|
63
|
+
export { ImgViewerComponent };
|
|
64
|
+
//# sourceMappingURL=aril-ui-img-viewer.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aril-ui-img-viewer.mjs","sources":["../../projects/aril/ui/img-viewer/src/img-viewer.component.ts","../../projects/aril/ui/img-viewer/src/img-viewer.component.html","../../projects/aril/ui/img-viewer/aril-ui-img-viewer.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { Component, input } from '@angular/core';\r\n\r\nimport { Message } from 'primeng/api';\r\nimport { ImageModule } from 'primeng/image';\r\nimport { MessagesModule } from 'primeng/messages';\r\nimport { DynamicDialogRef } from 'primeng/dynamicdialog';\r\n\r\nimport { ButtonComponent } from 'aril/ui/button';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-img-viewer',\r\n\ttemplateUrl: 'img-viewer.component.html',\r\n\tstyleUrls: ['img-viewer.component.scss'],\r\n\timports: [\r\n\t\tCommonModule,\r\n\t\tImageModule,\r\n\t\tMessagesModule,\r\n\t\tButtonComponent\r\n\t]\r\n})\r\nexport class ImgViewerComponent {\r\n\tconstructor(\r\n\t\tprivate ref: DynamicDialogRef\r\n\t) {}\r\n\r\n\tbase64 = input<string>('');\r\n\r\n\tmessages: Message[] = [{ severity: 'info', detail: 'Dosya bulunamadı.' }];\r\n\r\n\tdownloadFile(): void {\r\n if (this.base64()) {\r\n let mimeType = 'image/png';\r\n if (this.base64().startsWith('data:image/jpeg;base64,')) {\r\n mimeType = 'image/jpeg';\r\n } else if (this.base64().startsWith('data:image/gif;base64,')) {\r\n mimeType = 'image/gif';\r\n } else if (this.base64().startsWith('data:image/bmp;base64,')) {\r\n mimeType = 'image/bmp';\r\n } else if (this.base64().startsWith('data:image/webp;base64,')) {\r\n mimeType = 'image/webp';\r\n }\r\n\r\n const link = document.createElement('a');\r\n link.href = 'data:' + mimeType + ';base64,' + this.base64();\r\n link.download = 'file.' + mimeType.split('/')[1];\r\n document.body.appendChild(link);\r\n link.click();\r\n document.body.removeChild(link);\r\n } else {\r\n console.error('Base64 verisi mevcut değil');\r\n }\r\n }\r\n\r\n\tclose() {\r\n this.ref.close();\r\n }\r\n}","@if(base64()) {\r\n\t<div>\r\n\t\t<p-image [src]=\"'data:image/png;base64,' + base64()\" alt=\"Görüntü\" width=\"100%\" height=\"100%\"/>\r\n\t</div>\r\n}\r\n@else {\r\n\t<p-messages [(value)]=\"messages\" [enableService]=\"false\" [closable]=\"false\" />\r\n}\r\n<div style=\"display: flex; justify-content: flex-end; width: 100%\">\r\n\t<aril-button color=\"danger\" label=\"Kapat\" icon=\"TIMES\" [outlined]=\"true\" (clickEvent)=\"close()\"></aril-button> \r\n\t<aril-button color=\"success\" label=\"İndir\" icon=\"CHECK\" (clickEvent)=\"downloadFile()\" [disabled]=\"!base64()\"></aril-button>\r\n</div>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mapp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AA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EACX,cAAc,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,QAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,YAAA,EAAA,eAAA,EAAA,KAAA,EAAA,QAAA,EAAA,UAAA,EAAA,uBAAA,EAAA,uBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,aAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACd,eAAe,EAAA,QAAA,EAAA,0BAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,EAAA,UAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,UAAA,EAAA,OAAA,EAAA,MAAA,EAAA,MAAA,EAAA,SAAA,EAAA,OAAA,CAAA,EAAA,OAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGJ,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAZ9B,SAAS;iCACG,IAAI,EAAA,QAAA,EACN,iBAAiB,EAGlB,OAAA,EAAA;wBACR,YAAY;wBACZ,WAAW;wBACX,cAAc;wBACd,eAAe;AACf,qBAAA,EAAA,QAAA,EAAA,soBAAA,EAAA,MAAA,EAAA,CAAA,mHAAA,CAAA,EAAA,CAAA;;;AEpBF;;AAEG;;;;"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, Input, ViewChild } from '@angular/core';
|
|
3
|
+
import * as jsondiffpatch from 'jsondiffpatch';
|
|
4
|
+
|
|
5
|
+
class JsonDiffComparisonComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.height = '200px';
|
|
8
|
+
}
|
|
9
|
+
ngOnChanges(changes) {
|
|
10
|
+
if (this.oldData && this.newData) {
|
|
11
|
+
this.renderDiff();
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
ngOnInit() {
|
|
15
|
+
if (this.oldData && this.newData) {
|
|
16
|
+
this.renderDiff();
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
renderDiff() {
|
|
20
|
+
jsondiffpatch.create({
|
|
21
|
+
objectHash: function (obj) {
|
|
22
|
+
return obj.id || obj._id; // opsiyonel: nested objeler için ID kullanımı
|
|
23
|
+
},
|
|
24
|
+
arrays: {
|
|
25
|
+
detectMove: true
|
|
26
|
+
},
|
|
27
|
+
cloneDiffValues: false
|
|
28
|
+
});
|
|
29
|
+
const delta = jsondiffpatch.diff(this.oldData, this.newData);
|
|
30
|
+
const html = jsondiffpatch.formatters.html.format(delta, this.newData);
|
|
31
|
+
jsondiffpatch.formatters.html.showUnchanged(true); // Tüm alanları göster
|
|
32
|
+
this.diffContainer.nativeElement.innerHTML = html;
|
|
33
|
+
}
|
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: JsonDiffComparisonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
35
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.2", type: JsonDiffComparisonComponent, isStandalone: true, selector: "aril-json-diff", inputs: { oldData: "oldData", newData: "newData", height: "height" }, viewQueries: [{ propertyName: "diffContainer", first: true, predicate: ["diffContainer"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container>\r\n\t<div [style.height]=\"height\" [style.overflow]=\"'auto'\">\r\n\t\t<div #diffContainer class=\"jsondiffpatch-delta\"></div>\r\n\t</div>\r\n</ng-container>\r\n" }); }
|
|
36
|
+
}
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: JsonDiffComparisonComponent, decorators: [{
|
|
38
|
+
type: Component,
|
|
39
|
+
args: [{ standalone: true, selector: 'aril-json-diff', template: "<ng-container>\r\n\t<div [style.height]=\"height\" [style.overflow]=\"'auto'\">\r\n\t\t<div #diffContainer class=\"jsondiffpatch-delta\"></div>\r\n\t</div>\r\n</ng-container>\r\n" }]
|
|
40
|
+
}], propDecorators: { oldData: [{
|
|
41
|
+
type: Input
|
|
42
|
+
}], newData: [{
|
|
43
|
+
type: Input
|
|
44
|
+
}], height: [{
|
|
45
|
+
type: Input
|
|
46
|
+
}], diffContainer: [{
|
|
47
|
+
type: ViewChild,
|
|
48
|
+
args: ['diffContainer', { static: true }]
|
|
49
|
+
}] } });
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Generated bundle index. Do not edit.
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
export { JsonDiffComparisonComponent };
|
|
56
|
+
//# sourceMappingURL=aril-ui-json-diff-comparison.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aril-ui-json-diff-comparison.mjs","sources":["../../projects/aril/ui/json-diff-comparison/src/json-diff.component.ts","../../projects/aril/ui/json-diff-comparison/src/json-diff.component.html","../../projects/aril/ui/json-diff-comparison/aril-ui-json-diff-comparison.ts"],"sourcesContent":["import { Component, Input, OnChanges, ElementRef, SimpleChanges, ViewChild, OnInit } from '@angular/core';\r\nimport * as jsondiffpatch from 'jsondiffpatch';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-json-diff',\r\n\ttemplateUrl: './json-diff.component.html'\r\n})\r\nexport class JsonDiffComparisonComponent implements OnChanges, OnInit {\r\n\t@Input() oldData!: any;\r\n\t@Input() newData!: any;\r\n\t@Input() height = '200px';\r\n\t@ViewChild('diffContainer', { static: true }) diffContainer!: ElementRef;\r\n\r\n\tngOnChanges(changes: SimpleChanges): void {\r\n\t\tif (this.oldData && this.newData) {\r\n\t\t\tthis.renderDiff();\r\n\t\t}\r\n\t}\r\n\r\n\tngOnInit() {\r\n\t\tif (this.oldData && this.newData) {\r\n\t\t\tthis.renderDiff();\r\n\t\t}\r\n\t}\r\n\r\n\trenderDiff(): void {\r\n\t\tjsondiffpatch.create({\r\n\t\t\tobjectHash: function (obj: any) {\r\n\t\t\t\treturn obj.id || obj._id; // opsiyonel: nested objeler için ID kullanımı\r\n\t\t\t},\r\n\t\t\tarrays: {\r\n\t\t\t\tdetectMove: true\r\n\t\t\t},\r\n\t\t\tcloneDiffValues: false\r\n\t\t});\r\n\r\n\t\tconst delta: any = jsondiffpatch.diff(this.oldData, this.newData);\r\n\r\n\t\tconst html = jsondiffpatch.formatters.html.format(delta, this.newData);\r\n\r\n\t\tjsondiffpatch.formatters.html.showUnchanged(true); // Tüm alanları göster\r\n\t\tthis.diffContainer.nativeElement.innerHTML = html;\r\n\t}\r\n}\r\n","<ng-container>\r\n\t<div [style.height]=\"height\" [style.overflow]=\"'auto'\">\r\n\t\t<div #diffContainer class=\"jsondiffpatch-delta\"></div>\r\n\t</div>\r\n</ng-container>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAQa,2BAA2B,CAAA;AALxC,IAAA,WAAA,GAAA;QAQU,IAAM,CAAA,MAAA,GAAG,OAAO,CAAC;AAiC1B,KAAA;AA9BA,IAAA,WAAW,CAAC,OAAsB,EAAA;QACjC,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,EAAE;YACjC,IAAI,CAAC,UAAU,EAAE,CAAC;SAClB;KACD;IAED,QAAQ,GAAA;QACP,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,EAAE;YACjC,IAAI,CAAC,UAAU,EAAE,CAAC;SAClB;KACD;IAED,UAAU,GAAA;QACT,aAAa,CAAC,MAAM,CAAC;YACpB,UAAU,EAAE,UAAU,GAAQ,EAAA;gBAC7B,OAAO,GAAG,CAAC,EAAE,IAAI,GAAG,CAAC,GAAG,CAAC;aACzB;AACD,YAAA,MAAM,EAAE;AACP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