@onemrvapublic/design-system 1.0.0-beta.4 → 1.0.0-develop.1
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 +9 -4
- package/assets/i18n/de.json +84 -12
- package/assets/i18n/en.json +78 -6
- package/assets/i18n/fr.json +79 -7
- package/assets/i18n/nl.json +84 -12
- package/fesm2022/onemrvapublic-design-system-flag-icon.mjs +49 -0
- package/fesm2022/onemrvapublic-design-system-flag-icon.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-layout.mjs +948 -0
- package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-address.mjs +111 -0
- package/fesm2022/onemrvapublic-design-system-mat-address.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs +318 -0
- package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs +125 -0
- package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs +208 -0
- package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs +84 -0
- package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs +90 -0
- package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs +33 -0
- package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs +211 -0
- package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs +42 -0
- package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs +810 -0
- package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs +138 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs +135 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs +98 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs +189 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs +308 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs +295 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs +210 -0
- package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs +225 -0
- package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-navigation.mjs +169 -0
- package/fesm2022/onemrvapublic-design-system-mat-navigation.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-notification.mjs +103 -0
- package/fesm2022/onemrvapublic-design-system-mat-notification.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs +269 -0
- package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-panel.mjs +185 -0
- package/fesm2022/onemrvapublic-design-system-mat-panel.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs +118 -0
- package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs +52 -0
- package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs +612 -0
- package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs +96 -0
- package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs +72 -0
- package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs +241 -0
- package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs +65 -0
- package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs +146 -0
- package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs +36 -0
- package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs +232 -0
- package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs +170 -0
- package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs +1363 -0
- package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-toast.mjs +73 -0
- package/fesm2022/onemrvapublic-design-system-mat-toast.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs +166 -0
- package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-page-error.mjs +80 -0
- package/fesm2022/onemrvapublic-design-system-page-error.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-page-not-found.mjs +211 -0
- package/fesm2022/onemrvapublic-design-system-page-not-found.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-shared.mjs +2188 -0
- package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-utils.mjs +35 -0
- package/fesm2022/onemrvapublic-design-system-utils.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system.mjs +10573 -0
- package/fesm2022/onemrvapublic-design-system.mjs.map +1 -0
- package/flag-icon/index.d.ts +18 -0
- package/flag-icon/src/flag-icon.component.scss +12 -0
- package/index.d.ts +3140 -0
- package/layout/index.d.ts +293 -0
- package/layout/src/components/layout/layout.component.scss +90 -80
- package/layout/src/components/layout-drawer-actions/layout-drawer-actions.component.scss +3 -2
- package/layout/src/components/layout-drawer-content/layout-drawer-content.component.scss +9 -0
- package/layout/src/components/layout-drawer-title/layout-drawer-title.component.scss +9 -5
- package/layout/src/components/layout-left-sidenav/layout-left-sidenav.component.scss +5 -0
- package/layout/src/components/layout-sidenav/layout-sidenav.component.scss +43 -0
- package/layout/src/index.scss +0 -1
- package/mat-address/index.d.ts +36 -0
- package/mat-address/src/onemrva-address.scss +14 -0
- package/mat-avatar/index.d.ts +187 -0
- package/mat-avatar/src/onemrva-mat-avatar.component.scss +79 -123
- package/mat-breadcrumb/index.d.ts +40 -0
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.scss +39 -53
- package/mat-carousel/index.d.ts +52 -0
- package/mat-carousel/src/mat-carousel-item/onemrva-mat-carousel-item.component.scss +10 -0
- package/mat-carousel/src/onemrva-mat-carousel.component.scss +38 -45
- package/mat-choice-chip/index.d.ts +20 -0
- package/mat-choice-chip/src/onemrva-mat-choice-chip.component.scss +83 -0
- package/mat-copy-to-clipboard/index.d.ts +26 -0
- package/mat-country-item/index.d.ts +10 -0
- package/{mat-input-birthplace/src/country-item.component.scss → mat-country-item/src/onemrva-mat-country-item.component.scss} +6 -1
- package/mat-datepicker-header/index.d.ts +44 -0
- package/mat-datepicker-header/src/onemrva-mat-datepicker-header.component.scss +8 -0
- package/mat-empty-row/index.d.ts +19 -0
- package/mat-empty-row/src/onemrva-mat-empty-row.component.scss +29 -0
- package/mat-file-upload/index.d.ts +301 -0
- package/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.scss +48 -16
- package/mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.scss +72 -218
- package/mat-input-address/index.d.ts +32 -0
- package/mat-input-address/src/onemrva-mat-input-address.component.scss +8 -0
- package/mat-input-birthplace/index.d.ts +36 -0
- package/mat-input-birthplace/src/onemrva-mat-input-birthplace.component.scss +4 -2
- package/mat-input-country/index.d.ts +32 -0
- package/mat-input-country/src/onemrva-mat-input-country.component.scss +13 -0
- package/mat-input-enterprise-number/index.d.ts +37 -0
- package/mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.scss +7 -0
- package/mat-input-iban/index.d.ts +79 -0
- package/mat-input-iban/src/onemrva-mat-input-iban.component.scss +10 -0
- package/mat-input-phone/index.d.ts +44 -0
- package/mat-message-box/index.d.ts +101 -0
- package/mat-message-box/src/onemrva-mat-message-box.component.scss +13 -65
- package/mat-multi-select/index.d.ts +57 -0
- package/mat-multi-select/src/onemrva-mat-multi-select.component.scss +35 -0
- package/mat-navigation/index.d.ts +54 -0
- package/mat-navigation/src/mat-navigation-item/onemrva-mat-navigation-item.component.scss +66 -0
- package/mat-navigation/src/onemrva-mat-navigation.component.scss +36 -0
- package/mat-notification/index.d.ts +43 -0
- package/mat-notification/src/onemrva-mat-notification.component.scss +26 -0
- package/mat-paginator/index.d.ts +58 -0
- package/mat-paginator/src/onemrva-mat-paginator.component.scss +146 -0
- package/mat-panel/index.d.ts +66 -0
- package/mat-panel/src/mat-expansion-panel-header-arrow-divider.scss +11 -0
- package/mat-panel/src/onemrva-mat-panel-content.scss +8 -0
- package/mat-panel/src/onemrva-mat-panel-icon.scss +7 -0
- package/mat-panel/src/onemrva-mat-panel-title.scss +13 -0
- package/mat-panel/src/onemrva-mat-panel.component.scss +75 -82
- package/mat-pop-over/index.d.ts +40 -0
- package/mat-pop-over/src/onemrva-mat-pop-over.component.scss +11 -11
- package/mat-progress-bar/index.d.ts +18 -0
- package/mat-progress-bar/src/onemrva-mat-progress-bar.component.scss +26 -0
- package/mat-select-search/index.d.ts +197 -0
- package/mat-select-search/src/mat-select-search.component.scss +62 -109
- package/mat-selectable-box/index.d.ts +29 -0
- package/mat-selectable-box/src/onemrva-mat-selectable-box.component.scss +68 -90
- package/mat-side-menu/index.d.ts +33 -0
- package/mat-side-menu/src/onemrva-mat-side-menu.component.scss +36 -38
- package/mat-skeleton/index.d.ts +100 -0
- package/mat-skeleton/src/onemrva-mat-skeleton.component.scss +10 -59
- package/mat-spinner/index.d.ts +25 -0
- package/mat-spinner/src/onemrva-mat-spinner.component.scss +21 -0
- package/mat-stepper/index.d.ts +36 -0
- package/mat-stepper/src/onemrva-mat-stepper.scss +40 -105
- package/mat-sticker/index.d.ts +14 -0
- package/mat-sticker/src/onemrva-mat-sticker.component.scss +26 -63
- package/mat-table-of-content/index.d.ts +84 -0
- package/mat-table-of-content/src/onemrva-mat-table-of-content.component.scss +57 -0
- package/mat-task-list/index.d.ts +57 -0
- package/mat-task-list/src/onemrva-mat-task-content.scss +11 -0
- package/mat-task-list/src/onemrva-mat-task-list.component.scss +0 -150
- package/mat-task-list/src/onemrva-mat-task-title.scss +16 -0
- package/mat-task-list/src/onemrva-mat-task.component.scss +67 -0
- package/mat-timepicker/index.d.ts +386 -0
- package/mat-timepicker/src/clock/clock.component.scss +13 -7
- package/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.scss +2 -7
- package/mat-toast/index.d.ts +30 -0
- package/mat-toast/src/onemrva-mat-toast.component.scss +7 -49
- package/mat-tooltip/index.d.ts +39 -0
- package/mat-tooltip/src/onemrva-mat-tooltip.component.scss +8 -5
- package/package.json +196 -26
- package/page-error/index.d.ts +34 -0
- package/page-error/src/page-error.component.scss +25 -0
- package/page-not-found/index.d.ts +54 -0
- package/page-not-found/src/page-not-found-mixin.component.scss +1 -1
- package/page-not-found/src/page-not-found.component.scss +2 -2
- package/shared/index.d.ts +541 -0
- package/utils/index.d.ts +32 -0
- package/.eslintrc.json +0 -33
- package/_index.scss +0 -34
- package/_utils.scss +0 -30
- package/core/index.ts +0 -3
- package/core/ng-package.json +0 -6
- package/core/src/lib/core.module.ts +0 -26
- package/core/src/lib/modules/index.ts +0 -1
- package/core/src/lib/modules/translate.loader.ts +0 -34
- package/core/src/lib/modules/translate.module.ts +0 -66
- package/core/src/lib/services/index.ts +0 -2
- package/core/src/lib/services/onemrva-error-handler.service.ts +0 -24
- package/core/src/lib/services/onemrva-missing-translation.service.ts +0 -12
- package/core/src/test.ts +0 -30
- package/layout/index.ts +0 -7
- package/layout/ng-package.json +0 -6
- package/layout/src/components/index.ts +0 -37
- package/layout/src/components/layout/_layout-mixin.component.scss +0 -189
- package/layout/src/components/layout/layout.component.html +0 -213
- package/layout/src/components/layout/layout.component.spec.ts +0 -59
- package/layout/src/components/layout/layout.component.ts +0 -185
- package/layout/src/components/layout-after-nav/layout-after-nav.component.spec.ts +0 -24
- package/layout/src/components/layout-after-nav/layout-after-nav.component.ts +0 -24
- package/layout/src/components/layout-content/layout-content.component.spec.ts +0 -24
- package/layout/src/components/layout-content/layout-content.component.ts +0 -24
- package/layout/src/components/layout-drawer-actions/layout-drawer-actions.component.html +0 -1
- package/layout/src/components/layout-drawer-actions/layout-drawer-actions.component.ts +0 -14
- package/layout/src/components/layout-drawer-content/layout-drawer-content.component.html +0 -1
- package/layout/src/components/layout-drawer-content/layout-drawer-content.component.ts +0 -14
- package/layout/src/components/layout-drawer-title/layout-drawer-title.component.html +0 -7
- package/layout/src/components/layout-drawer-title/layout-drawer-title.component.ts +0 -18
- package/layout/src/components/layout-footer/layout-footer.component.ts +0 -11
- package/layout/src/components/layout-login-menu/layout-login-menu.component.spec.ts +0 -24
- package/layout/src/components/layout-login-menu/layout-login-menu.component.ts +0 -24
- package/layout/src/components/layout-route/layout-route.component.html +0 -64
- package/layout/src/components/layout-route/layout-route.component.spec.ts +0 -24
- package/layout/src/components/layout-route/layout-route.component.ts +0 -57
- package/layout/src/components/layout-sidenav/layout-sidenav.component.html +0 -104
- package/layout/src/components/layout-sidenav/layout-sidenav.component.ts +0 -88
- package/layout/src/components/layout-sidenav-title/layout-sidenav-title.component.ts +0 -9
- package/layout/src/components/layout-subroute/layout-subroute.component.html +0 -43
- package/layout/src/components/layout-subroute/layout-subroute.component.spec.ts +0 -24
- package/layout/src/components/layout-subroute/layout-subroute.component.ts +0 -62
- package/layout/src/components/layout-title/layout-title.component.spec.ts +0 -24
- package/layout/src/components/layout-title/layout-title.component.ts +0 -24
- package/layout/src/decorators/coerce-boolean-input.decorator.ts +0 -19
- package/layout/src/decorators/observable-content.decorator.ts +0 -13
- package/layout/src/directives/drawer-host.directive.ts +0 -42
- package/layout/src/enums/environment.enum.ts +0 -6
- package/layout/src/layout.module.ts +0 -47
- package/layout/src/models/onem-language.model.ts +0 -4
- package/layout/src/models/onemrva-profile.model.ts +0 -57
- package/layout/src/services/drawer.service.ts +0 -30
- package/layout/src/striphtml.pipe.ts +0 -10
- package/layout/src/test.ts +0 -31
- package/mat-avatar/index.ts +0 -2
- package/mat-avatar/ng-package.json +0 -6
- package/mat-avatar/src/onemrva-mat-avatar.component.html +0 -21
- package/mat-avatar/src/onemrva-mat-avatar.component.ts +0 -421
- package/mat-avatar/src/onemrva-mat-avatar.module.ts +0 -11
- package/mat-avatar/src/onemrva-mat.avatar.component.spec.ts +0 -54
- package/mat-badge/index.ts +0 -6
- package/mat-badge/ng-package.json +0 -6
- package/mat-badge/src/onemrva-mat-badge.component.scss +0 -157
- package/mat-badge/src/onemrva-mat-badge.component.ts +0 -331
- package/mat-badge/src/onemrva-mat-badge.module.ts +0 -8
- package/mat-breadcrumb/index.ts +0 -7
- package/mat-breadcrumb/ng-package.json +0 -6
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.html +0 -37
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.ts +0 -16
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.model.ts +0 -4
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.module.ts +0 -12
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.service.ts +0 -65
- package/mat-carousel/index.ts +0 -2
- package/mat-carousel/ng-package.json +0 -6
- package/mat-carousel/src/mat-carousel-item/onemrva-mat-carousel-item.component.html +0 -5
- package/mat-carousel/src/mat-carousel-item/onemrva-mat-carousel-item.component.ts +0 -27
- package/mat-carousel/src/onemrva-mat-carousel-item.directive.ts +0 -8
- package/mat-carousel/src/onemrva-mat-carousel.component.html +0 -43
- package/mat-carousel/src/onemrva-mat-carousel.component.ts +0 -160
- package/mat-copy-to-clipboard/index.ts +0 -1
- package/mat-copy-to-clipboard/ng-package.json +0 -6
- package/mat-copy-to-clipboard/src/components/copy-to-clipboard.component.html +0 -14
- package/mat-copy-to-clipboard/src/components/copy-to-clipboard.component.ts +0 -76
- package/mat-datepicker-header/index.ts +0 -5
- package/mat-datepicker-header/ng-package.json +0 -6
- package/mat-datepicker-header/src/_onemrva-mat-datepicker-header.component.scss +0 -12
- package/mat-datepicker-header/src/onemrva-mat-datepicker-header.component.html +0 -54
- package/mat-datepicker-header/src/onemrva-mat-datepicker-header.component.ts +0 -283
- package/mat-file-upload/index.ts +0 -11
- package/mat-file-upload/ng-package.json +0 -6
- package/mat-file-upload/src/components/index.ts +0 -10
- package/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.html +0 -59
- package/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.ts +0 -79
- package/mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.html +0 -58
- package/mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.ts +0 -209
- package/mat-file-upload/src/directives/dnd.directive.ts +0 -41
- package/mat-file-upload/src/models/action-config.model.ts +0 -10
- package/mat-file-upload/src/models/progress-file.model.ts +0 -94
- package/mat-file-upload/src/onemrva-mat-file-upload-itf.store.ts +0 -79
- package/mat-file-upload/src/onemrva-mat-file-upload.module.ts +0 -28
- package/mat-file-upload/src/onemrva-mat-file-upload.service.ts +0 -68
- package/mat-file-upload/src/onemrva-mat-file-upload.store.ts +0 -482
- package/mat-input-bank-account/index.ts +0 -5
- package/mat-input-bank-account/ng-package.json +0 -6
- package/mat-input-bank-account/src/bank-account.component.html +0 -36
- package/mat-input-bank-account/src/bank-account.component.scss +0 -42
- package/mat-input-bank-account/src/bank-account.component.ts +0 -308
- package/mat-input-bank-account/src/onemrva-mat-input-bank-account.component.html +0 -11
- package/mat-input-bank-account/src/onemrva-mat-input-bank-account.component.scss +0 -14
- package/mat-input-bank-account/src/onemrva-mat-input-bank-account.component.ts +0 -82
- package/mat-input-birthplace/index.ts +0 -5
- package/mat-input-birthplace/ng-package.json +0 -6
- package/mat-input-birthplace/src/country-item.component.html +0 -8
- package/mat-input-birthplace/src/country-item.component.ts +0 -33
- package/mat-input-birthplace/src/onemrva-mat-input-birthplace.component.html +0 -28
- package/mat-input-birthplace/src/onemrva-mat-input-birthplace.component.ts +0 -129
- package/mat-input-country/index.ts +0 -6
- package/mat-input-country/ng-package.json +0 -6
- package/mat-input-country/src/countries.ts +0 -3198
- package/mat-input-country/src/onemrva-mat-input-country.component.html +0 -25
- package/mat-input-country/src/onemrva-mat-input-country.component.ts +0 -152
- package/mat-input-enterprise-number/index.ts +0 -5
- package/mat-input-enterprise-number/ng-package.json +0 -6
- package/mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.html +0 -42
- package/mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.ts +0 -212
- package/mat-input-phone/index.ts +0 -6
- package/mat-input-phone/ng-package.json +0 -6
- package/mat-input-phone/src/onemrva-mat-input-phone.component.html +0 -47
- package/mat-input-phone/src/onemrva-mat-input-phone.component.ts +0 -274
- package/mat-input-phone/src/phone-number.directive.ts +0 -46
- package/mat-message-box/index.ts +0 -2
- package/mat-message-box/ng-package.json +0 -6
- package/mat-message-box/src/onemrva-mat-message-box.component.html +0 -3
- package/mat-message-box/src/onemrva-mat-message-box.component.ts +0 -172
- package/mat-message-box/src/onemrva-mat-message-box.module.ts +0 -12
- package/mat-multi-select/index.ts +0 -2
- package/mat-multi-select/ng-package.json +0 -6
- package/mat-multi-select/src/_onemrva-mat-multi-select.component.scss +0 -66
- package/mat-multi-select/src/onemrva-mat-multi-select.component.html +0 -44
- package/mat-multi-select/src/onemrva-mat-multi-select.component.ts +0 -194
- package/mat-multi-select/src/onemrva-mat-multi-select.module.ts +0 -27
- package/mat-multi-select/src/onemrva-mat-select-counter.component.ts +0 -0
- package/mat-notification/index.ts +0 -1
- package/mat-notification/ng-package.json +0 -6
- package/mat-notification/src/_onemrva-mat-notification.component.scss +0 -102
- package/mat-notification/src/onemrva-mat-notification.component.html +0 -15
- package/mat-notification/src/onemrva-mat-notification.component.ts +0 -158
- package/mat-paginator/index.ts +0 -6
- package/mat-paginator/ng-package.json +0 -6
- package/mat-paginator/src/_onemrva-mat-paginator.component.scss +0 -122
- package/mat-paginator/src/onemrva-mat-paginator.component.html +0 -108
- package/mat-paginator/src/onemrva-mat-paginator.component.spec.ts +0 -184
- package/mat-paginator/src/onemrva-mat-paginator.component.ts +0 -216
- package/mat-paginator/src/onemrva-mat-paginator.module.ts +0 -21
- package/mat-panel/index.ts +0 -6
- package/mat-panel/ng-package.json +0 -6
- package/mat-panel/src/onemrva-mat-panel-content.component.ts +0 -11
- package/mat-panel/src/onemrva-mat-panel-content.html +0 -5
- package/mat-panel/src/onemrva-mat-panel-icon.component.ts +0 -11
- package/mat-panel/src/onemrva-mat-panel-icon.html +0 -5
- package/mat-panel/src/onemrva-mat-panel-title-action.component.ts +0 -11
- package/mat-panel/src/onemrva-mat-panel-title-action.html +0 -5
- package/mat-panel/src/onemrva-mat-panel-title.component.ts +0 -29
- package/mat-panel/src/onemrva-mat-panel-title.html +0 -8
- package/mat-panel/src/onemrva-mat-panel.component.html +0 -10
- package/mat-panel/src/onemrva-mat-panel.component.ts +0 -122
- package/mat-panel/src/onemrva-mat-panel.module.ts +0 -26
- package/mat-pop-over/index.ts +0 -4
- package/mat-pop-over/ng-package.json +0 -6
- package/mat-pop-over/src/onemrva-mat-pop-over-content.component.ts +0 -13
- package/mat-pop-over/src/onemrva-mat-pop-over-trigger.component.ts +0 -13
- package/mat-pop-over/src/onemrva-mat-pop-over.component.html +0 -29
- package/mat-pop-over/src/onemrva-mat-pop-over.component.ts +0 -46
- package/mat-pop-over/src/onemrva-mat-pop-over.module.ts +0 -19
- package/mat-progress-bar/index.ts +0 -1
- package/mat-progress-bar/ng-package.json +0 -6
- package/mat-progress-bar/src/_onemrva-mat-progress-bar-mixin.component.scss +0 -37
- package/mat-progress-bar/src/onemrva-mat-progress-bar.component.html +0 -13
- package/mat-progress-bar/src/onemrva-mat-progress-bar.component.ts +0 -27
- package/mat-select-search/index.ts +0 -3
- package/mat-select-search/ng-package.json +0 -6
- package/mat-select-search/src/default-options.ts +0 -48
- package/mat-select-search/src/mat-select-no-entries-found.directive.ts +0 -15
- package/mat-select-search/src/mat-select-search-clear.directive.ts +0 -13
- package/mat-select-search/src/mat-select-search.component.html +0 -82
- package/mat-select-search/src/mat-select-search.component.spec.ts +0 -790
- package/mat-select-search/src/mat-select-search.component.ts +0 -705
- package/mat-select-search/src/mat-select-search.module.ts +0 -52
- package/mat-selectable-box/index.ts +0 -6
- package/mat-selectable-box/ng-package.json +0 -6
- package/mat-selectable-box/src/onemrva-mat-selectable-box.component.ts +0 -99
- package/mat-selectable-box/src/onemrva-mat-selectable-box.module.ts +0 -30
- package/mat-side-menu/index.ts +0 -6
- package/mat-side-menu/ng-package.json +0 -6
- package/mat-side-menu/src/onemrva-mat-side-menu.component.html +0 -36
- package/mat-side-menu/src/onemrva-mat-side-menu.component.spec.ts +0 -66
- package/mat-side-menu/src/onemrva-mat-side-menu.component.ts +0 -58
- package/mat-side-menu/src/onemrva-mat-side-menu.module.ts +0 -14
- package/mat-skeleton/index.ts +0 -3
- package/mat-skeleton/ng-package.json +0 -6
- package/mat-skeleton/src/onemrva-mat-skeleton-enums.ts +0 -32
- package/mat-skeleton/src/onemrva-mat-skeleton.component.html +0 -14
- package/mat-skeleton/src/onemrva-mat-skeleton.component.ts +0 -187
- package/mat-skeleton/src/onemrva-mat-skeleton.module.ts +0 -10
- package/mat-spinner/index.ts +0 -7
- package/mat-spinner/ng-package.json +0 -6
- package/mat-spinner/src/_onemrva-mat-spinner.component.scss +0 -151
- package/mat-spinner/src/onemrva-mat-loading.directive.ts +0 -41
- package/mat-spinner/src/onemrva-mat-spinner.component.html +0 -2138
- package/mat-spinner/src/onemrva-mat-spinner.component.ts +0 -52
- package/mat-spinner/src/onemrva-mat-spinner.module.ts +0 -10
- package/mat-stepper/index.ts +0 -6
- package/mat-stepper/ng-package.json +0 -6
- package/mat-stepper/src/_stepper-variables.scss +0 -29
- package/mat-stepper/src/onemrva-mat-stepper.component.spec.ts +0 -22
- package/mat-stepper/src/onemrva-mat-stepper.component.ts +0 -57
- package/mat-stepper/src/onemrva-mat-stepper.html +0 -61
- package/mat-stepper/src/onemrva-mat-stepper.module.ts +0 -24
- package/mat-stepper/src/onemrva-stepper-animations.ts +0 -42
- package/mat-sticker/index.ts +0 -6
- package/mat-sticker/ng-package.json +0 -6
- package/mat-sticker/src/onemrva-mat-sticker.component.spec.ts +0 -16
- package/mat-sticker/src/onemrva-mat-sticker.component.ts +0 -58
- package/mat-sticker/src/onemrva-mat-sticker.module.ts +0 -10
- package/mat-table-of-content/index.ts +0 -8
- package/mat-table-of-content/ng-package.json +0 -6
- package/mat-table-of-content/src/_onemrva-mat-table-of-content.component.scss +0 -79
- package/mat-table-of-content/src/onemrva-mat-table-of-content.component.html +0 -23
- package/mat-table-of-content/src/onemrva-mat-table-of-content.component.ts +0 -126
- package/mat-table-of-content/src/onemrva-mat-table-of-content.directive.ts +0 -67
- package/mat-table-of-content/src/onemrva-mat-table-of-content.service.ts +0 -51
- package/mat-table-of-content/src/onemrva-mat-toc-anchor.model.ts +0 -24
- package/mat-task-list/index.ts +0 -5
- package/mat-task-list/ng-package.json +0 -6
- package/mat-task-list/src/onemrva-mat-task-content.component.ts +0 -11
- package/mat-task-list/src/onemrva-mat-task-content.html +0 -5
- package/mat-task-list/src/onemrva-mat-task-list.component.html +0 -1
- package/mat-task-list/src/onemrva-mat-task-list.component.ts +0 -39
- package/mat-task-list/src/onemrva-mat-task-list.module.ts +0 -31
- package/mat-task-list/src/onemrva-mat-task-title.component.ts +0 -24
- package/mat-task-list/src/onemrva-mat-task-title.html +0 -5
- package/mat-task-list/src/onemrva-mat-task.component.html +0 -23
- package/mat-task-list/src/onemrva-mat-task.component.ts +0 -121
- package/mat-timepicker/index.ts +0 -6
- package/mat-timepicker/ng-package.json +0 -6
- package/mat-timepicker/src/clock/clock.component.html +0 -109
- package/mat-timepicker/src/clock/clock.component.spec.ts +0 -38
- package/mat-timepicker/src/clock/clock.component.ts +0 -274
- package/mat-timepicker/src/interfaces-and-types.ts +0 -18
- package/mat-timepicker/src/onemrva-mat-timepicker.component.html +0 -0
- package/mat-timepicker/src/onemrva-mat-timepicker.component.ts +0 -300
- package/mat-timepicker/src/onemrva-mat-timepicker.module.ts +0 -40
- package/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.html +0 -53
- package/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.spec.ts +0 -41
- package/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.ts +0 -176
- package/mat-timepicker/src/timepicker-toggle/timepicker-toggle.component.html +0 -15
- package/mat-timepicker/src/timepicker-toggle/timepicker-toggle.component.ts +0 -140
- package/mat-timepicker/src/timepicker.directive.ts +0 -596
- package/mat-timepicker/src/util.ts +0 -109
- package/mat-toast/index.ts +0 -6
- package/mat-toast/ng-package.json +0 -6
- package/mat-toast/src/onemrva-mat-toast.component.ts +0 -36
- package/mat-toast/src/onemrva-mat-toast.module.ts +0 -11
- package/mat-tooltip/index.ts +0 -4
- package/mat-tooltip/ng-package.json +0 -6
- package/mat-tooltip/src/onemrva-mat-tooltip.component.ts +0 -21
- package/mat-tooltip/src/onemrva-mat-tooltip.directive.ts +0 -123
- package/mat-tooltip/src/onemrva-mat-tooltip.module.ts +0 -11
- package/ng-package.json +0 -25
- package/npm-shrinkwrap.json +0 -30
- package/page-not-found/index.ts +0 -5
- package/page-not-found/ng-package.json +0 -6
- package/page-not-found/src/page-not-found-action.component.ts +0 -9
- package/page-not-found/src/page-not-found-extra.component.ts +0 -9
- package/page-not-found/src/page-not-found-invader.component.ts +0 -93
- package/page-not-found/src/page-not-found.component.html +0 -47
- package/page-not-found/src/page-not-found.component.ts +0 -60
- package/page-not-found/src/page-not-found.module.ts +0 -24
- package/shared/index.ts +0 -17
- package/shared/ng-package.json +0 -6
- package/shared/src/lib/OnemrvaDateAdapter.ts +0 -78
- package/shared/src/lib/components/clipboard-icon/clipboard-icon.component.css +0 -0
- package/shared/src/lib/components/clipboard-icon/clipboard-icon.component.html +0 -1
- package/shared/src/lib/components/clipboard-icon/clipboard-icon.component.spec.ts +0 -21
- package/shared/src/lib/components/clipboard-icon/clipboard-icon.component.ts +0 -18
- package/shared/src/lib/containers/WebComponentOverlayContainer.ts +0 -90
- package/shared/src/lib/containers/index.ts +0 -1
- package/shared/src/lib/date.format.ts +0 -11
- package/shared/src/lib/directives/clipboard.directive.ts +0 -52
- package/shared/src/lib/directives/color.directive.ts +0 -46
- package/shared/src/lib/directives/digit-only.directive.ts +0 -46
- package/shared/src/lib/directives/if-width-is.directive.ts +0 -39
- package/shared/src/lib/directives/index.ts +0 -22
- package/shared/src/lib/directives/mask.directive.ts +0 -223
- package/shared/src/lib/directives/mat-row-clickable.directive.ts +0 -66
- package/shared/src/lib/interfaces/OnemRvaCommonCountry.interface.ts +0 -23
- package/shared/src/lib/interfaces/index.ts +0 -1
- package/shared/src/lib/pipes/index.ts +0 -2
- package/shared/src/lib/pipes/onemrva-bce.pipe.ts +0 -18
- package/shared/src/lib/pipes/onemrva-niss.pipe.ts +0 -18
- package/shared/src/lib/services/commonCountryLookup.service.ts +0 -50
- package/shared/src/lib/services/index.ts +0 -1
- package/shared/src/lib/shared.datepicker.module.ts +0 -60
- package/shared/src/lib/shared.module.ts +0 -10
- package/shared/src/lib/validators/bankAccountValidator.utils.ts +0 -61
- package/shared/src/lib/validators/onemrva-validators.spec.ts +0 -79
- package/shared/src/lib/validators/onemrva-validators.ts +0 -97
- package/shared/src/onemrva-validators.spec.ts +0 -14
- package/src/polyfills.ts +0 -52
- package/src/public-api.spec.ts +0 -7
- package/src/public-api.ts +0 -5
- package/tsconfig.lib.json +0 -12
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -10
- package/utils/index.ts +0 -2
- package/utils/ng-package.json +0 -6
- package/utils/src/enum.utils.ts +0 -8
- package/utils/src/enums/color.enum.ts +0 -14
- package/utils/src/enums/index.ts +0 -2
- package/utils/src/enums/size.enum.ts +0 -11
- /package/{assets/.gitkeep → mat-navigation/src/mat-navigation-tree/onemrva-mat-navigation-tree.component.scss} +0 -0
|
@@ -1,53 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
:host {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: block;
|
|
4
|
+
width: calc(100% - 128px);
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
padding: 0 calc(var(--spacer) * 8);
|
|
7
|
+
.carousel-wrapper {
|
|
6
8
|
display: block;
|
|
7
|
-
width:
|
|
9
|
+
width: 60000px;
|
|
10
|
+
position: relative;
|
|
8
11
|
overflow: hidden;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
display: inline-block;
|
|
21
|
-
}
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.controls {
|
|
17
|
+
position: absolute;
|
|
18
|
+
top: calc(50% - 2rem);
|
|
19
|
+
z-index: 6;
|
|
20
|
+
&.next {
|
|
21
|
+
float: right;
|
|
22
|
+
right: 2rem;
|
|
22
23
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
z-index: 6;
|
|
27
|
-
&.next {
|
|
28
|
-
float: right;
|
|
29
|
-
right: 30px;
|
|
30
|
-
}
|
|
31
|
-
&.previous {
|
|
32
|
-
float: left;
|
|
33
|
-
left: 30px;
|
|
34
|
-
}
|
|
24
|
+
&.previous {
|
|
25
|
+
float: left;
|
|
26
|
+
left: 2rem;
|
|
35
27
|
}
|
|
28
|
+
}
|
|
36
29
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
30
|
+
.dots {
|
|
31
|
+
text-align: center;
|
|
32
|
+
margin-top: var(--spacer);
|
|
33
|
+
.dot {
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
width: 0.75rem;
|
|
36
|
+
height: 0.75rem;
|
|
37
|
+
margin: var(--spacer);
|
|
38
|
+
background-color: var(--mat-sys-outline-variant);
|
|
39
|
+
border-radius: 50%;
|
|
40
|
+
display: inline-block;
|
|
41
|
+
transition: background-color 0.6s ease;
|
|
42
|
+
&.active {
|
|
43
|
+
background-color: var(--mat-sys-primary);
|
|
51
44
|
}
|
|
52
45
|
}
|
|
53
46
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class OnemrvaMatChoiceChipComponent extends MatFormFieldControl<any> {
|
|
5
|
+
checked: boolean;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
_value: any;
|
|
8
|
+
get opacity(): 1 | 0.4;
|
|
9
|
+
onContainerClick(event: MouseEvent): void;
|
|
10
|
+
setDescribedByIds(ids: string[]): void;
|
|
11
|
+
onChange: (_values: any[]) => void;
|
|
12
|
+
onTouched: () => void;
|
|
13
|
+
writeValue(value: any): void;
|
|
14
|
+
registerOnChange(fn: (value: any[]) => void): void;
|
|
15
|
+
registerOnTouched(fn: () => void): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatChoiceChipComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatChoiceChipComponent, "onemrva-mat-choice-chip", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { OnemrvaMatChoiceChipComponent };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
3
|
+
onemrva-mat-choice-chip {
|
|
4
|
+
@include mat.checkbox-overrides(
|
|
5
|
+
(
|
|
6
|
+
selected-checkmark-color: var(--mat-sys-on-primary),
|
|
7
|
+
)
|
|
8
|
+
);
|
|
9
|
+
|
|
10
|
+
mat-checkbox {
|
|
11
|
+
border: 1px solid var(--mat-sys-primary);
|
|
12
|
+
border-radius: var(--button-border-radius);
|
|
13
|
+
background: var(--mat-sys-primary-container);
|
|
14
|
+
padding: 0;
|
|
15
|
+
label {
|
|
16
|
+
color: var(--mat-sys-primary);
|
|
17
|
+
font-family: var(--mat-sys-label-large-font);
|
|
18
|
+
font-size: var(--mat-sys-label-large-size);
|
|
19
|
+
font-weight: var(--mat-sys-label-large-weight);
|
|
20
|
+
line-height: var(--mat-sys-label-large-line-height);
|
|
21
|
+
}
|
|
22
|
+
&.mat-mdc-checkbox-checked {
|
|
23
|
+
background-color: var(--mat-sys-primary);
|
|
24
|
+
color: var(--mat-sys-on-primary);
|
|
25
|
+
|
|
26
|
+
.mdc-checkbox__background {
|
|
27
|
+
background-color: var(--mat-sys-primary);
|
|
28
|
+
background: none !important;
|
|
29
|
+
border: none !important;
|
|
30
|
+
top: -6px;
|
|
31
|
+
left: 10px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
label {
|
|
35
|
+
line-height: var(--mdc-chip-container-height);
|
|
36
|
+
padding: 5px 14px 5px 22px;
|
|
37
|
+
color: var(--mat-sys-on-primary);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
.mdc-checkbox__ripple {
|
|
41
|
+
display: none;
|
|
42
|
+
}
|
|
43
|
+
.mdc-form-field {
|
|
44
|
+
display: inline-block;
|
|
45
|
+
|
|
46
|
+
.mdc-checkbox {
|
|
47
|
+
padding: 0;
|
|
48
|
+
margin: 0;
|
|
49
|
+
transition: width 400ms;
|
|
50
|
+
|
|
51
|
+
.mdc-checkbox__ripple,
|
|
52
|
+
input {
|
|
53
|
+
display: none;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:not(.mat-mdc-checkbox-checked) {
|
|
59
|
+
label {
|
|
60
|
+
line-height: var(--mdc-chip-container-height);
|
|
61
|
+
padding: 5px 14px;
|
|
62
|
+
}
|
|
63
|
+
.mdc-checkbox {
|
|
64
|
+
visibility: hidden;
|
|
65
|
+
width: 1px;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&.mdc-checkbox--disabled {
|
|
70
|
+
background-color: var(--mat-sys-primary-container);
|
|
71
|
+
border-color: var(--mat-sys-primary-fixed-dim);
|
|
72
|
+
|
|
73
|
+
.mdc-checkbox__background {
|
|
74
|
+
.mdc-checkbox__checkmark {
|
|
75
|
+
color: var(--mat-sys-primary-fixed-dim);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
label {
|
|
79
|
+
color: var(--mat-sys-on-surface);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
3
|
+
import { MatTooltip } from '@angular/material/tooltip';
|
|
4
|
+
|
|
5
|
+
declare class OnemrvaCopyToClipboardComponent {
|
|
6
|
+
private elt;
|
|
7
|
+
private translate;
|
|
8
|
+
private clipboard;
|
|
9
|
+
checked: boolean;
|
|
10
|
+
content: ElementRef;
|
|
11
|
+
matTooltip: MatTooltip;
|
|
12
|
+
tooltip: string;
|
|
13
|
+
onCopy: EventEmitter<void>;
|
|
14
|
+
onClick: EventEmitter<Event>;
|
|
15
|
+
onHover: EventEmitter<Event>;
|
|
16
|
+
onLeave: EventEmitter<Event>;
|
|
17
|
+
clicked(e: Event): void;
|
|
18
|
+
onMouseEnter(e: Event): void;
|
|
19
|
+
onMouseLeave(e: Event): void;
|
|
20
|
+
get getTooltipText(): any;
|
|
21
|
+
copy($event: any): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaCopyToClipboardComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaCopyToClipboardComponent, "copy-to-clipboard", never, { "tooltip": { "alias": "tooltip"; "required": false; }; }, { "onCopy": "onCopy"; "onClick": "onClick"; "onHover": "onHover"; "onLeave": "onLeave"; }, never, ["*"], true, never>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { OnemrvaCopyToClipboardComponent };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class OnemrvaCountryItemComponent {
|
|
4
|
+
countryCode: string | null;
|
|
5
|
+
countryName: string | null | undefined;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaCountryItemComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaCountryItemComponent, "mat-country-item", never, { "countryCode": { "alias": "countryCode"; "required": false; }; "countryName": { "alias": "countryName"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { OnemrvaCountryItemComponent };
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
.onemrva-country-item {
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
|
-
|
|
5
4
|
.description {
|
|
6
5
|
display: flex;
|
|
7
6
|
margin-left: 0.5em;
|
|
8
7
|
text-transform: capitalize;
|
|
9
8
|
}
|
|
10
9
|
}
|
|
10
|
+
|
|
11
|
+
.mat-form-field-disabled {
|
|
12
|
+
.onemrva-country-item flag-icon {
|
|
13
|
+
opacity: 0.4;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { MatCalendar } from '@angular/material/datepicker';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class OnemrvaMatDatepickerHeaderComponent<D> {
|
|
5
|
+
private _intl;
|
|
6
|
+
calendar: MatCalendar<D>;
|
|
7
|
+
private _dateAdapter;
|
|
8
|
+
private _dateFormats;
|
|
9
|
+
setToday(): void;
|
|
10
|
+
/** The display text for the current calendar view. */
|
|
11
|
+
get periodButtonText(): string;
|
|
12
|
+
/** The aria description for the current calendar view. */
|
|
13
|
+
get periodButtonDescription(): string;
|
|
14
|
+
/** The `aria-label` for changing the calendar view. */
|
|
15
|
+
get periodButtonLabel(): string;
|
|
16
|
+
/** The label for the previous button. */
|
|
17
|
+
get prevButtonLabel(): string;
|
|
18
|
+
/** The label for the next button. */
|
|
19
|
+
get nextButtonLabel(): string;
|
|
20
|
+
/** Handles user clicks on the period label. */
|
|
21
|
+
currentPeriodClicked(): void;
|
|
22
|
+
/** Handles user clicks on the previous button. */
|
|
23
|
+
previousClicked(): void;
|
|
24
|
+
/** Handles user clicks on the next button. */
|
|
25
|
+
nextClicked(): void;
|
|
26
|
+
/** Whether the previous period button is enabled. */
|
|
27
|
+
previousEnabled(): boolean;
|
|
28
|
+
/** Whether the next period button is enabled. */
|
|
29
|
+
nextEnabled(): boolean;
|
|
30
|
+
/** Whether the two dates represent the same view in the current view mode (month or year). */
|
|
31
|
+
private _isSameView;
|
|
32
|
+
/**
|
|
33
|
+
* Format two individual labels for the minimum year and maximum year available in the multi-year
|
|
34
|
+
* calendar view. Returns an array of two strings where the first string is the formatted label
|
|
35
|
+
* for the minimum year, and the second string is the formatted label for the maximum year.
|
|
36
|
+
*/
|
|
37
|
+
private _formatMinAndMaxYearLabels;
|
|
38
|
+
private _id;
|
|
39
|
+
_periodButtonLabelId: string;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatDatepickerHeaderComponent<any>, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatDatepickerHeaderComponent<any>, "onemrva-mat-datepicker-header", never, {}, {}, never, ["*"], true, never>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { OnemrvaMatDatepickerHeaderComponent };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
declare class OnemrvaMatEmptyRowComponent {
|
|
8
|
+
private cdn;
|
|
9
|
+
private translate;
|
|
10
|
+
noresultimg: string;
|
|
11
|
+
buttonText: string;
|
|
12
|
+
text: string;
|
|
13
|
+
imageAlt: string;
|
|
14
|
+
clear: EventEmitter<any>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatEmptyRowComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatEmptyRowComponent, "onemrva-mat-empty-row", never, { "buttonText": { "alias": "buttonText"; "required": false; }; "text": { "alias": "text"; "required": false; }; "imageAlt": { "alias": "imageAlt"; "required": false; }; }, { "clear": "clear"; }, never, ["*"], true, never>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { OnemrvaMatEmptyRowComponent };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
onemrva-mat-empty-row {
|
|
2
|
+
display: grid;
|
|
3
|
+
grid-template-columns: repeat(6, 1FR);
|
|
4
|
+
grid-template-rows: repeat(2, 1FR);
|
|
5
|
+
justify-items: center;
|
|
6
|
+
gap: 15px;
|
|
7
|
+
|
|
8
|
+
span.img {
|
|
9
|
+
grid-area: 1/1/3/2;
|
|
10
|
+
display: block;
|
|
11
|
+
min-width: 80px;
|
|
12
|
+
min-height: 80px;
|
|
13
|
+
height: 10vw;
|
|
14
|
+
width: 10vw;
|
|
15
|
+
margin: 32px;
|
|
16
|
+
position: relative;
|
|
17
|
+
float: left;
|
|
18
|
+
}
|
|
19
|
+
span.text {
|
|
20
|
+
grid-area: 1/2/2/7;
|
|
21
|
+
justify-self: start;
|
|
22
|
+
align-self: end;
|
|
23
|
+
}
|
|
24
|
+
button {
|
|
25
|
+
grid-area: 2/2/3/7;
|
|
26
|
+
justify-self: start;
|
|
27
|
+
align-self: start;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, TemplateRef, EventEmitter, ElementRef, InjectionToken } from '@angular/core';
|
|
3
|
+
import * as rxjs from 'rxjs';
|
|
4
|
+
import { Observable, Subscription, BehaviorSubject } from 'rxjs';
|
|
5
|
+
import { OnemrvaMatColor } from '@onemrvapublic/design-system/utils';
|
|
6
|
+
import * as i8 from '@angular/material/dialog';
|
|
7
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
8
|
+
import { OnemRvaCDNMimeService } from '@onemrvapublic/design-system/shared';
|
|
9
|
+
import * as i4 from '@angular/common';
|
|
10
|
+
import * as i5 from '@angular/forms';
|
|
11
|
+
import * as i6 from '@angular/material/button';
|
|
12
|
+
import * as i7 from '@angular/material/tooltip';
|
|
13
|
+
import * as i9 from '@ngx-translate/core';
|
|
14
|
+
import * as i10 from '@angular/material/icon';
|
|
15
|
+
import * as i11 from '@angular/material/input';
|
|
16
|
+
import { ComponentStore } from '@ngrx/component-store';
|
|
17
|
+
import { HttpEvent } from '@angular/common/http';
|
|
18
|
+
|
|
19
|
+
interface ProgressFile {
|
|
20
|
+
file?: File;
|
|
21
|
+
message: string;
|
|
22
|
+
progress: number;
|
|
23
|
+
color: OnemrvaMatColor;
|
|
24
|
+
url: string | null;
|
|
25
|
+
id: string | null;
|
|
26
|
+
enableProgressBar: boolean;
|
|
27
|
+
data?: any;
|
|
28
|
+
name: string;
|
|
29
|
+
lastModified?: number;
|
|
30
|
+
size: number;
|
|
31
|
+
type: string;
|
|
32
|
+
maxSize: number | null;
|
|
33
|
+
}
|
|
34
|
+
interface ReferencedProgressFile extends ProgressFile {
|
|
35
|
+
ref: symbol;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* format bytes
|
|
39
|
+
* @param bytes (File size in bytes)
|
|
40
|
+
* @param decimals (Decimals point)
|
|
41
|
+
*/
|
|
42
|
+
declare function formatBytes(bytes: number, decimals?: number): string;
|
|
43
|
+
declare function formattedSize(size: number | null, decimals?: number): string;
|
|
44
|
+
declare function convertToProgressFile(id: string, name: string, message?: string, progress?: number, color?: "primary", url?: string | null, enableProgressBar?: boolean, data?: string | null, size?: number, type?: string, maxSize?: null): ProgressFile;
|
|
45
|
+
declare function convertToReferencedProgressFile(id: string, name: string, message?: string, progress?: number, color?: "primary", url?: string | null, enableProgressBar?: boolean, data?: string | null, size?: number, type?: string, maxSize?: null): ReferencedProgressFile;
|
|
46
|
+
|
|
47
|
+
interface ActionConfig {
|
|
48
|
+
iconName: string;
|
|
49
|
+
dataCy?: string;
|
|
50
|
+
tooltipCode: string;
|
|
51
|
+
ariaCode: string;
|
|
52
|
+
clickHandler: (file: ReferencedProgressFile) => void;
|
|
53
|
+
showAction: (file: ReferencedProgressFile) => boolean;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
declare class OnemrvaFilePanelComponent {
|
|
57
|
+
id: string;
|
|
58
|
+
dataCy: string;
|
|
59
|
+
file: ReferencedProgressFile;
|
|
60
|
+
actions: ActionConfig[];
|
|
61
|
+
showProgress: boolean;
|
|
62
|
+
displayDate: string;
|
|
63
|
+
maxFileSize: number;
|
|
64
|
+
get progress$(): rxjs.Observable<number>;
|
|
65
|
+
get size(): string;
|
|
66
|
+
get color(): OnemrvaMatColor;
|
|
67
|
+
/** @hidden @internal */
|
|
68
|
+
get _colorAccent(): boolean;
|
|
69
|
+
/** @hidden @internal */
|
|
70
|
+
get _isError(): boolean;
|
|
71
|
+
/** @hidden @internal */
|
|
72
|
+
get _isWarn(): boolean;
|
|
73
|
+
/** @hidden @internal */
|
|
74
|
+
get _isSuccess(): boolean;
|
|
75
|
+
/** @hidden @internal */
|
|
76
|
+
get _isPrimary(): boolean;
|
|
77
|
+
protected readonly formattedSize: typeof formattedSize;
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaFilePanelComponent, never>;
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaFilePanelComponent, "file-panel", never, { "id": { "alias": "id"; "required": false; }; "dataCy": { "alias": "dataCy"; "required": false; }; "file": { "alias": "file"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "showProgress": { "alias": "showProgress"; "required": false; }; "displayDate": { "alias": "displayDate"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
declare class OnemrvaMatFileUploadComponent implements OnInit {
|
|
83
|
+
accept: string[];
|
|
84
|
+
acceptString$?: Observable<any>;
|
|
85
|
+
maxFileSize: number;
|
|
86
|
+
numberOfFiles: number;
|
|
87
|
+
maxTotalFileSize: number;
|
|
88
|
+
uploadOnDrop: boolean;
|
|
89
|
+
initialFiles: ProgressFile[];
|
|
90
|
+
errorMessage: string;
|
|
91
|
+
hideExtensions: string[];
|
|
92
|
+
dropFilesHereTextTranslationKey: string;
|
|
93
|
+
fileUploadErrorMessage$: Observable<string>;
|
|
94
|
+
files$: Observable<ReferencedProgressFile[]>;
|
|
95
|
+
filePanelTemplate: TemplateRef<any>;
|
|
96
|
+
retryFile: EventEmitter<{
|
|
97
|
+
index: number;
|
|
98
|
+
cmpRef: symbol;
|
|
99
|
+
}>;
|
|
100
|
+
/**
|
|
101
|
+
* Sets the `data-cy` of the element. If not set, the first component instance will have `data-cy` = `"onemrva-mat-multi-select-0"`.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* ```html
|
|
105
|
+
* <onemrva-mat-multi-select id="my-first-multi-select"></onemrva-mat-multi-select>
|
|
106
|
+
* ```
|
|
107
|
+
*/
|
|
108
|
+
dataCy: string;
|
|
109
|
+
fileDropRef: ElementRef;
|
|
110
|
+
inputId: string;
|
|
111
|
+
maxFileSizeFormatted: string;
|
|
112
|
+
private error$;
|
|
113
|
+
dialog: MatDialog;
|
|
114
|
+
mimeCDN: OnemRvaCDNMimeService;
|
|
115
|
+
private fileUploadStore;
|
|
116
|
+
constructor();
|
|
117
|
+
ngOnInit(): void;
|
|
118
|
+
/**
|
|
119
|
+
* on file drop handler
|
|
120
|
+
*/
|
|
121
|
+
onFileDropped($event: FileList): void;
|
|
122
|
+
/**
|
|
123
|
+
* handle file from browsing
|
|
124
|
+
*/
|
|
125
|
+
fileBrowseHandler($event: Event): void;
|
|
126
|
+
/**
|
|
127
|
+
* Convert Files list to normal array list
|
|
128
|
+
* @param files (Files List)
|
|
129
|
+
*/
|
|
130
|
+
prepareFilesList(files: FileList): void;
|
|
131
|
+
protected readonly formattedSize: typeof formattedSize;
|
|
132
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatFileUploadComponent, never>;
|
|
133
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatFileUploadComponent, "onemrva-mat-file-upload", never, { "accept": { "alias": "accept"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; "numberOfFiles": { "alias": "numberOfFiles"; "required": false; }; "maxTotalFileSize": { "alias": "maxTotalFileSize"; "required": false; }; "uploadOnDrop": { "alias": "uploadOnDrop"; "required": false; }; "initialFiles": { "alias": "initialFiles"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "hideExtensions": { "alias": "hideExtensions"; "required": false; }; "dropFilesHereTextTranslationKey": { "alias": "dropFilesHereTextTranslationKey"; "required": false; }; "filePanelTemplate": { "alias": "filePanelTemplate"; "required": false; }; "dataCy": { "alias": "dataCy"; "required": false; }; }, {}, never, never, true, never>;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
declare const components: any[];
|
|
137
|
+
|
|
138
|
+
declare class DndDirective {
|
|
139
|
+
fileOver: boolean;
|
|
140
|
+
fileDropped: EventEmitter<any>;
|
|
141
|
+
onDragOver(evt: Event): void;
|
|
142
|
+
onDragLeave(evt: Event): void;
|
|
143
|
+
ondrop(evt: any): void;
|
|
144
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DndDirective, never>;
|
|
145
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DndDirective, "[appDnd]", never, {}, { "fileDropped": "fileDropped"; }, never, never, true, never>;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
declare class OnemrvaMatFileUploadModule {
|
|
149
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatFileUploadModule, never>;
|
|
150
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaMatFileUploadModule, never, [typeof OnemrvaFilePanelComponent, typeof OnemrvaMatFileUploadComponent, typeof DndDirective, typeof i4.CommonModule, typeof i5.ReactiveFormsModule, typeof i6.MatButtonModule, typeof i7.MatTooltipModule, typeof i8.MatDialogModule, typeof i9.TranslateModule, typeof i10.MatIconModule, typeof i11.MatInputModule], [typeof OnemrvaFilePanelComponent, typeof OnemrvaMatFileUploadComponent, typeof DndDirective]>;
|
|
151
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OnemrvaMatFileUploadModule>;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
interface OnemrvaMatFileUploadStoreItf {
|
|
155
|
+
/**
|
|
156
|
+
* Updater to set accepted format is made public
|
|
157
|
+
*/
|
|
158
|
+
readonly setAccept: any;
|
|
159
|
+
/**
|
|
160
|
+
* Updater to set file max size is made public
|
|
161
|
+
*/
|
|
162
|
+
readonly setMaxFileSize: any;
|
|
163
|
+
/**
|
|
164
|
+
* Updater to set data for a given file
|
|
165
|
+
*
|
|
166
|
+
* input:
|
|
167
|
+
* payload: {
|
|
168
|
+
* ref: symbol,
|
|
169
|
+
* data: any
|
|
170
|
+
* }
|
|
171
|
+
*/
|
|
172
|
+
readonly setData: any;
|
|
173
|
+
/**
|
|
174
|
+
* Selector on list of files
|
|
175
|
+
*/
|
|
176
|
+
readonly files$: Observable<ReferencedProgressFile[]>;
|
|
177
|
+
/**
|
|
178
|
+
* Selector on accepted formats for file upload
|
|
179
|
+
*/
|
|
180
|
+
readonly accept$: Observable<string[]>;
|
|
181
|
+
/**
|
|
182
|
+
* Selector on max file size
|
|
183
|
+
*/
|
|
184
|
+
readonly maxFileSize$: Observable<number>;
|
|
185
|
+
readonly listUploadedFiles: (inputs$: Observable<any>) => Subscription;
|
|
186
|
+
readonly deleteFile: (file$: Observable<ReferencedProgressFile>) => Subscription;
|
|
187
|
+
readonly removeFile: (file$: Observable<ReferencedProgressFile>) => Subscription;
|
|
188
|
+
/**
|
|
189
|
+
* Action - For adding one file panel (creation of file panel reference skipped if already created) at a time.
|
|
190
|
+
* Upload to BE not triggered
|
|
191
|
+
*/
|
|
192
|
+
readonly addForPotentialUpload: (file$: Observable<ProgressFile>) => Subscription;
|
|
193
|
+
/**
|
|
194
|
+
* Action - For adding an array of file panels (creation of file panels reference skipped if already created).
|
|
195
|
+
* Uploads to BE not triggered
|
|
196
|
+
*/
|
|
197
|
+
readonly addSeveralForPotentialUpload: (files$: Observable<ProgressFile[]>) => Subscription;
|
|
198
|
+
/**
|
|
199
|
+
* Action - For adding a file panel (creation of file panels reference skipped if already created) then uploading it
|
|
200
|
+
*/
|
|
201
|
+
readonly uploadFile: (Observable$: Observable<ProgressFile>) => Subscription;
|
|
202
|
+
/**
|
|
203
|
+
* Action - For adding several file panels (creation of file panels reference skipped if already created) then uploading them
|
|
204
|
+
*/
|
|
205
|
+
readonly uploadFiles: (Observable$: Observable<ProgressFile[]>) => Subscription;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
interface FileUploadStoreEvent {
|
|
209
|
+
type: string;
|
|
210
|
+
payload?: any;
|
|
211
|
+
}
|
|
212
|
+
interface UploadState {
|
|
213
|
+
upload: ReferencedProgressFile[];
|
|
214
|
+
accept: string[];
|
|
215
|
+
maxFileSize: number;
|
|
216
|
+
fileUploadError: string;
|
|
217
|
+
event: FileUploadStoreEvent;
|
|
218
|
+
}
|
|
219
|
+
type CustomValidationFn = (input: [ReferencedProgressFile, ReferencedProgressFile[]]) => ReferencedProgressFile;
|
|
220
|
+
declare const CUSTOM_VALIDATION_FN: InjectionToken<CustomValidationFn>;
|
|
221
|
+
declare class OnemrvaMatFileUploadStore extends ComponentStore<UploadState> implements OnemrvaMatFileUploadStoreItf {
|
|
222
|
+
private fn;
|
|
223
|
+
private readonly fileUploadService;
|
|
224
|
+
private readonly translateService;
|
|
225
|
+
readonly customValidationFn: CustomValidationFn | null;
|
|
226
|
+
isSending: rxjs.BehaviorSubject<boolean>;
|
|
227
|
+
constructor();
|
|
228
|
+
readonly setAccept: (observableOrValue: string[] | Observable<string[]>) => rxjs.Subscription;
|
|
229
|
+
readonly setMaxFileSize: (observableOrValue: number | Observable<number>) => rxjs.Subscription;
|
|
230
|
+
private readonly emptyList;
|
|
231
|
+
private readonly pushFile;
|
|
232
|
+
readonly setData: (observableOrValue: {
|
|
233
|
+
ref: symbol;
|
|
234
|
+
data: any;
|
|
235
|
+
} | Observable<{
|
|
236
|
+
ref: symbol;
|
|
237
|
+
data: any;
|
|
238
|
+
}>) => rxjs.Subscription;
|
|
239
|
+
private readonly setSuccess;
|
|
240
|
+
private readonly setFail;
|
|
241
|
+
private readonly setProgress;
|
|
242
|
+
private readonly reset;
|
|
243
|
+
private readonly remove;
|
|
244
|
+
private readonly enableProgressBar;
|
|
245
|
+
readonly setFileUploadError: (observableOrValue: string | Observable<string>) => rxjs.Subscription;
|
|
246
|
+
readonly clearFileUploadError: () => void;
|
|
247
|
+
readonly files$: Observable<ReferencedProgressFile[]>;
|
|
248
|
+
readonly accept$: Observable<string[]>;
|
|
249
|
+
readonly event$: Observable<FileUploadStoreEvent>;
|
|
250
|
+
readonly maxFileSize$: Observable<number>;
|
|
251
|
+
readonly fileUploadError$: Observable<string>;
|
|
252
|
+
readonly listUploadedFiles: ((observableOrValue?: any) => rxjs.Subscription) | ((observableOrValue: any) => rxjs.Subscription);
|
|
253
|
+
readonly deleteFile: (observableOrValue: ReferencedProgressFile | Observable<ReferencedProgressFile>) => rxjs.Subscription;
|
|
254
|
+
readonly removeFile: (observableOrValue: ReferencedProgressFile | Observable<ReferencedProgressFile>) => rxjs.Subscription;
|
|
255
|
+
private progressFileChecker;
|
|
256
|
+
private loadStep;
|
|
257
|
+
/**
|
|
258
|
+
* For adding one file panel (creation of file panel reference skipped if already created) at a time.
|
|
259
|
+
* Upload to BE not triggered
|
|
260
|
+
*/
|
|
261
|
+
readonly addForPotentialUpload: (observableOrValue: ProgressFile | Observable<ProgressFile>) => rxjs.Subscription;
|
|
262
|
+
/**
|
|
263
|
+
* For adding an array of file panels (creation of file panels reference skipped if already created).
|
|
264
|
+
* Uploads to BE not triggered
|
|
265
|
+
*/
|
|
266
|
+
readonly addSeveralForPotentialUpload: (observableOrValue: ProgressFile[] | Observable<ProgressFile[]>) => rxjs.Subscription;
|
|
267
|
+
/**
|
|
268
|
+
* For adding a file panel (creation of file panels reference skipped if already created) then uploading it
|
|
269
|
+
*/
|
|
270
|
+
readonly uploadFile: (observableOrValue: ProgressFile | Observable<ProgressFile>) => rxjs.Subscription;
|
|
271
|
+
readonly retryFile: (observableOrValue: ReferencedProgressFile | Observable<ReferencedProgressFile>) => rxjs.Subscription;
|
|
272
|
+
/**
|
|
273
|
+
* For adding several file panels (creation of file panels reference skipped if already created) then uploading them
|
|
274
|
+
*/
|
|
275
|
+
readonly uploadFiles: (observableOrValue: ProgressFile[] | Observable<ProgressFile[]>) => rxjs.Subscription;
|
|
276
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatFileUploadStore, never>;
|
|
277
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OnemrvaMatFileUploadStore>;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
interface OnemrvaMatFileUploadInterface {
|
|
281
|
+
listUploadedFiles: (inputs: any) => Observable<ProgressFile[]>;
|
|
282
|
+
upload: (file: ProgressFile) => Observable<HttpEvent<any>>;
|
|
283
|
+
deleteFile: (id: any) => Observable<any>;
|
|
284
|
+
retry: (file: any) => Observable<any>;
|
|
285
|
+
downloadFile?: (id: any) => Observable<any>;
|
|
286
|
+
isSending: BehaviorSubject<boolean>;
|
|
287
|
+
}
|
|
288
|
+
declare class OnemrvaMatFileUploadService implements OnemrvaMatFileUploadInterface {
|
|
289
|
+
isSending: BehaviorSubject<boolean>;
|
|
290
|
+
constructor();
|
|
291
|
+
listUploadedFiles(_inputs: any): Observable<ProgressFile[]>;
|
|
292
|
+
upload(_file: ProgressFile): Observable<HttpEvent<any>>;
|
|
293
|
+
deleteFile(_id: any): Observable<any>;
|
|
294
|
+
retry(file: any): Observable<any>;
|
|
295
|
+
downloadFile(id: any): Observable<any>;
|
|
296
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatFileUploadService, never>;
|
|
297
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OnemrvaMatFileUploadService>;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export { CUSTOM_VALIDATION_FN, DndDirective, OnemrvaFilePanelComponent, OnemrvaMatFileUploadComponent, OnemrvaMatFileUploadModule, OnemrvaMatFileUploadService, OnemrvaMatFileUploadStore, components, convertToProgressFile, convertToReferencedProgressFile, formatBytes, formattedSize };
|
|
301
|
+
export type { ActionConfig, CustomValidationFn, FileUploadStoreEvent, OnemrvaMatFileUploadInterface, OnemrvaMatFileUploadStoreItf, ProgressFile, ReferencedProgressFile, UploadState };
|