@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,274 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Component,
|
|
3
|
-
Input,
|
|
4
|
-
Output,
|
|
5
|
-
EventEmitter,
|
|
6
|
-
OnChanges,
|
|
7
|
-
SimpleChanges,
|
|
8
|
-
ChangeDetectionStrategy,
|
|
9
|
-
} from '@angular/core';
|
|
10
|
-
import {
|
|
11
|
-
ClockViewType,
|
|
12
|
-
ClockNumber,
|
|
13
|
-
IAllowed24HourMap,
|
|
14
|
-
} from '../interfaces-and-types';
|
|
15
|
-
import { getIsAvailabeFn } from '../util';
|
|
16
|
-
import { ThemePalette } from '@angular/material/core';
|
|
17
|
-
|
|
18
|
-
@Component({
|
|
19
|
-
selector: 'mat-clock',
|
|
20
|
-
templateUrl: './clock.component.html',
|
|
21
|
-
styleUrls: ['./clock.component.scss'],
|
|
22
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
23
|
-
})
|
|
24
|
-
export class ClockComponent implements OnChanges {
|
|
25
|
-
@Input() viewType: ClockViewType = 'hours';
|
|
26
|
-
@Input() color: ThemePalette = 'primary';
|
|
27
|
-
@Input() formattedValue: number = 0;
|
|
28
|
-
@Input() minDate!: Date;
|
|
29
|
-
@Input() maxDate!: Date;
|
|
30
|
-
@Input() formattedHours: number = 0;
|
|
31
|
-
@Input() minutes!: number;
|
|
32
|
-
@Output() changeEvent: EventEmitter<any> = new EventEmitter<any>();
|
|
33
|
-
@Output() unavailableSelection: EventEmitter<any> = new EventEmitter<any>();
|
|
34
|
-
@Output() invalidSelection: EventEmitter<any> = new EventEmitter<any>();
|
|
35
|
-
|
|
36
|
-
@Input() allowed24HourMap!: IAllowed24HourMap;
|
|
37
|
-
|
|
38
|
-
isFormattedValueAllowed = true;
|
|
39
|
-
|
|
40
|
-
isAvailableFn?: ReturnType<typeof getIsAvailabeFn>;
|
|
41
|
-
|
|
42
|
-
touching = false;
|
|
43
|
-
angle?: number;
|
|
44
|
-
numbers: ClockNumber[] = [];
|
|
45
|
-
secondaryNumbers: ClockNumber[] = [];
|
|
46
|
-
minuteDots: ClockNumber[] = [];
|
|
47
|
-
invalidMeridiemEmitted = true;
|
|
48
|
-
|
|
49
|
-
initIsAllowedFn() {
|
|
50
|
-
if (!this.allowed24HourMap) {
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
this.isAvailableFn = getIsAvailabeFn(this.allowed24HourMap);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
isAvailable(value: number) {
|
|
57
|
-
return this.isAvailableFn
|
|
58
|
-
? this.isAvailableFn(value, this.viewType, this.formattedHours)
|
|
59
|
-
: true;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
ngOnChanges(simpleChanges: SimpleChanges) {
|
|
63
|
-
if (
|
|
64
|
-
simpleChanges['allowed24HourMap'] ||
|
|
65
|
-
(simpleChanges['mode'] && !simpleChanges['mode'].firstChange)
|
|
66
|
-
) {
|
|
67
|
-
this.initIsAllowedFn();
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
this.calculateAngule();
|
|
71
|
-
this.setNumbers();
|
|
72
|
-
|
|
73
|
-
if (simpleChanges['formattedValue'] && this.allowed24HourMap) {
|
|
74
|
-
this.isFormattedValueAllowed = this.isAvailable(this.formattedValue);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
const isSelectedTimeAvailable = this.isAvailableFn
|
|
78
|
-
? this.isAvailableFn(this.formattedValue, 'minutes', this.formattedHours)
|
|
79
|
-
: true;
|
|
80
|
-
|
|
81
|
-
if (this.viewType === 'minutes' && this.isAvailableFn) {
|
|
82
|
-
const areMinitesAvailable = this.isAvailableFn(
|
|
83
|
-
this.minutes,
|
|
84
|
-
'minutes',
|
|
85
|
-
this.formattedHours,
|
|
86
|
-
);
|
|
87
|
-
if (!areMinitesAvailable) {
|
|
88
|
-
if (this.minDate && this.minDate.getMinutes() > this.minutes) {
|
|
89
|
-
setTimeout(() => {
|
|
90
|
-
this.changeEvent.emit({
|
|
91
|
-
value: this.minDate.getMinutes(),
|
|
92
|
-
type: 'minutes',
|
|
93
|
-
});
|
|
94
|
-
});
|
|
95
|
-
} else {
|
|
96
|
-
setTimeout(() => {
|
|
97
|
-
this.changeEvent.emit({
|
|
98
|
-
value: this.maxDate.getMinutes(),
|
|
99
|
-
type: 'minutes',
|
|
100
|
-
});
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
if (isSelectedTimeAvailable && this.invalidMeridiemEmitted) {
|
|
107
|
-
this.invalidMeridiemEmitted = false;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
this.invalidSelection.emit(!isSelectedTimeAvailable);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
calculateAngule() {
|
|
114
|
-
this.angle = this.getPointerAngle(this.formattedValue, this.viewType);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
setNumbers() {
|
|
118
|
-
if (this.viewType === 'hours') {
|
|
119
|
-
// if (this.mode === '12h') {
|
|
120
|
-
// const meridiem : string = this.isPm ? 'pm' : 'am';
|
|
121
|
-
// const isAllowedFn = this.allowed12HourMap ? (num : number) => this.allowed12HourMap[meridiem][num + 1][0] : undefined;
|
|
122
|
-
// this.numbers = this.getNumbers(12, { size: 256 }, isAllowedFn);
|
|
123
|
-
// this.secondaryNumbers = [];
|
|
124
|
-
// this.minuteDots = [];
|
|
125
|
-
// } else if (this.mode === '24h') {
|
|
126
|
-
const isAllowedFn = this.allowed24HourMap
|
|
127
|
-
? (num: number) => this.allowed24HourMap[num][0]
|
|
128
|
-
: undefined;
|
|
129
|
-
this.numbers = this.getNumbers(12, { size: 256 }, isAllowedFn);
|
|
130
|
-
this.secondaryNumbers = this.getNumbers(
|
|
131
|
-
12,
|
|
132
|
-
{ size: 256 - 64, start: 13 },
|
|
133
|
-
isAllowedFn,
|
|
134
|
-
);
|
|
135
|
-
this.minuteDots = [];
|
|
136
|
-
//}
|
|
137
|
-
} else {
|
|
138
|
-
//const meridiem : string = this.isPm ? 'pm' : 'am';
|
|
139
|
-
const isAllowedFn =
|
|
140
|
-
// !!this.allowed12HourMap ? (num : number) => this.allowed12HourMap[meridiem][this.formattedHours][num] :
|
|
141
|
-
this.allowed24HourMap
|
|
142
|
-
? (num: number) => this.allowed24HourMap[this.formattedHours][num]
|
|
143
|
-
: undefined;
|
|
144
|
-
|
|
145
|
-
this.numbers = this.getNumbers(
|
|
146
|
-
12,
|
|
147
|
-
{ size: 256, start: 5, step: 5 },
|
|
148
|
-
isAllowedFn,
|
|
149
|
-
);
|
|
150
|
-
this.minuteDots = this.getNumbers(60, { size: 256, start: 13 }).map(
|
|
151
|
-
digit => {
|
|
152
|
-
if (digit.display <= 59) {
|
|
153
|
-
digit.allowed = isAllowedFn ? isAllowedFn(digit.display) : true;
|
|
154
|
-
return digit;
|
|
155
|
-
}
|
|
156
|
-
digit.display = digit.display - 60;
|
|
157
|
-
digit.allowed = isAllowedFn ? isAllowedFn(digit.display) : true;
|
|
158
|
-
return digit;
|
|
159
|
-
},
|
|
160
|
-
);
|
|
161
|
-
this.secondaryNumbers = [];
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
disableAnimatedPointer() {
|
|
166
|
-
this.touching = true;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
enableAnimatedPointer() {
|
|
170
|
-
this.touching = false;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
handleTouchMove = (e: any) => {
|
|
174
|
-
e.preventDefault(); // prevent scrolling behind the clock on iOS
|
|
175
|
-
const rect = e.target.getBoundingClientRect();
|
|
176
|
-
this.movePointer(
|
|
177
|
-
e.changedTouches[0].clientX - rect.left,
|
|
178
|
-
e.changedTouches[0].clientY - rect.top,
|
|
179
|
-
);
|
|
180
|
-
};
|
|
181
|
-
|
|
182
|
-
handleTouchEnd(e: any) {
|
|
183
|
-
this.handleTouchMove(e);
|
|
184
|
-
this.enableAnimatedPointer();
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
handleMouseMove(e: any) {
|
|
188
|
-
// MouseEvent.which is deprecated, but MouseEvent.buttons is not supported in Safari
|
|
189
|
-
if (e.buttons === 1 || e.which === 1) {
|
|
190
|
-
const rect = e.target.getBoundingClientRect();
|
|
191
|
-
this.movePointer(e.clientX - rect.left, e.clientY - rect.top);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
handleClick(e: any) {
|
|
196
|
-
const rect = e.target.getBoundingClientRect();
|
|
197
|
-
this.movePointer(e.clientX - rect.left, e.clientY - rect.top);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
movePointer(x: number, y: number) {
|
|
201
|
-
const value = this.getPointerValue(x, y, 256);
|
|
202
|
-
if (!this.isAvailable(value)) {
|
|
203
|
-
this.unavailableSelection.emit();
|
|
204
|
-
return;
|
|
205
|
-
}
|
|
206
|
-
if (value !== this.formattedValue) {
|
|
207
|
-
this.changeEvent.emit({
|
|
208
|
-
value,
|
|
209
|
-
type: this.viewType !== 'minutes' ? 'hours' : 'minutes',
|
|
210
|
-
});
|
|
211
|
-
if (this.viewType !== 'minutes') {
|
|
212
|
-
if (!this.isAvailable(value)) {
|
|
213
|
-
if (this.minDate && this.isAvailable(value)) {
|
|
214
|
-
this.changeEvent.emit({
|
|
215
|
-
value: this.minDate.getMinutes(),
|
|
216
|
-
type: 'minutes',
|
|
217
|
-
});
|
|
218
|
-
} else if (this.maxDate && this.isAvailable(value)) {
|
|
219
|
-
this.changeEvent.emit({
|
|
220
|
-
value: this.maxDate.getMinutes(),
|
|
221
|
-
type: 'minutes',
|
|
222
|
-
});
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
getNumbers(
|
|
230
|
-
count: number,
|
|
231
|
-
{ size = 0, start = 1, step = 1 },
|
|
232
|
-
isAllowedFn?: (num: number) => boolean,
|
|
233
|
-
) {
|
|
234
|
-
// eslint-disable-next-line
|
|
235
|
-
return Array.apply(null, Array(count)).map((_, i) => ({
|
|
236
|
-
display: i * step + start,
|
|
237
|
-
translateX: (size / 2 - 20) * Math.cos((2 * Math.PI * (i - 2)) / count),
|
|
238
|
-
translateY: (size / 2 - 20) * Math.sin((2 * Math.PI * (i - 2)) / count),
|
|
239
|
-
allowed: isAllowedFn ? isAllowedFn(i) : true,
|
|
240
|
-
}));
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
getPointerAngle(value: number, _mode: ClockViewType) {
|
|
244
|
-
if (this.viewType === 'hours') {
|
|
245
|
-
return (360 / 12) * ((value % 12) - 3);
|
|
246
|
-
}
|
|
247
|
-
return (360 / 60) * (value - 15);
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
getPointerValue(x: number, y: number, size: number) {
|
|
251
|
-
let value;
|
|
252
|
-
let angle = (Math.atan2(size / 2 - x, size / 2 - y) / Math.PI) * 180;
|
|
253
|
-
if (angle < 0) {
|
|
254
|
-
angle = 360 + angle;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
if (this.viewType === 'hours') {
|
|
258
|
-
const radius = Math.sqrt(
|
|
259
|
-
Math.pow(size / 2 - x, 2) + Math.pow(size / 2 - y, 2),
|
|
260
|
-
);
|
|
261
|
-
value = 12 - Math.round((angle * 12) / 360);
|
|
262
|
-
if (value === 0) {
|
|
263
|
-
value = 12;
|
|
264
|
-
}
|
|
265
|
-
if (radius < size / 2 - 32) {
|
|
266
|
-
value = value === 12 ? 0 : value + 12;
|
|
267
|
-
}
|
|
268
|
-
return value;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
value = Math.round(60 - (60 * angle) / 360);
|
|
272
|
-
return value === 60 ? 0 : value;
|
|
273
|
-
}
|
|
274
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export type ClockViewType = 'hours' | 'minutes';
|
|
2
|
-
|
|
3
|
-
export interface ClockNumber {
|
|
4
|
-
display: number;
|
|
5
|
-
translateX: number;
|
|
6
|
-
translateY: number;
|
|
7
|
-
allowed: boolean;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface ITimeData {
|
|
11
|
-
minutes: number;
|
|
12
|
-
hours: number;
|
|
13
|
-
meridiem: string;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export interface IAllowed24HourMap {
|
|
17
|
-
[hour: number]: { [minute: number]: boolean };
|
|
18
|
-
}
|
|
File without changes
|
|
@@ -1,300 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Component,
|
|
3
|
-
EventEmitter,
|
|
4
|
-
HostBinding,
|
|
5
|
-
Input,
|
|
6
|
-
OnDestroy,
|
|
7
|
-
Output,
|
|
8
|
-
} from '@angular/core';
|
|
9
|
-
import {
|
|
10
|
-
OnemrvaMatColor,
|
|
11
|
-
OnemrvaMatSize,
|
|
12
|
-
} from '@onemrvapublic/design-system/utils';
|
|
13
|
-
import { MatTimepickerComponentDialogComponent } from './timepicker-dialog/timepicker-dialog.component';
|
|
14
|
-
import { Subject } from 'rxjs';
|
|
15
|
-
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
16
|
-
import { MatTimepickerDirective } from './timepicker.directive';
|
|
17
|
-
import { ThemePalette } from '@angular/material/core';
|
|
18
|
-
import { first, takeUntil } from 'rxjs/operators';
|
|
19
|
-
|
|
20
|
-
let NEXT_ID = 0;
|
|
21
|
-
|
|
22
|
-
@Component({
|
|
23
|
-
selector: 'mat-timepicker',
|
|
24
|
-
templateUrl: 'onemrva-mat-timepicker.component.html',
|
|
25
|
-
})
|
|
26
|
-
export class OnemrvaMatTimepickerComponent implements OnDestroy {
|
|
27
|
-
public modalRef!: MatDialogRef<MatTimepickerComponentDialogComponent>;
|
|
28
|
-
private onChangeFn: any;
|
|
29
|
-
private _value!: Date;
|
|
30
|
-
|
|
31
|
-
get value(): Date {
|
|
32
|
-
return this._value;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
set value(value: Date) {
|
|
36
|
-
this._value = value;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
private isAlive: Subject<any> = new Subject<any>();
|
|
40
|
-
|
|
41
|
-
constructor(public dialog: MatDialog) {}
|
|
42
|
-
|
|
43
|
-
opened: boolean = false;
|
|
44
|
-
|
|
45
|
-
public setTimepickerInput(t: MatTimepickerDirective) {
|
|
46
|
-
this.timepickerInput = t;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
timepickerInput: any;
|
|
50
|
-
|
|
51
|
-
/** Emits when the timepicker's state changes. */
|
|
52
|
-
readonly stateChanges = new Subject<void>();
|
|
53
|
-
|
|
54
|
-
// eslint-disable-next-line @angular-eslint/no-output-rename
|
|
55
|
-
@Output('opened') readonly openedStream = new EventEmitter<void>();
|
|
56
|
-
|
|
57
|
-
// eslint-disable-next-line @angular-eslint/no-output-rename
|
|
58
|
-
@Output('closed') readonly closedStream = new EventEmitter<void>();
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Returns the `aria-label` attribute of the element.
|
|
62
|
-
*
|
|
63
|
-
* @example
|
|
64
|
-
* ```typescript
|
|
65
|
-
* let timepickerLabel = this.timepicker.ariaLabel;
|
|
66
|
-
* ```
|
|
67
|
-
*
|
|
68
|
-
*/
|
|
69
|
-
@HostBinding('attr.aria-label')
|
|
70
|
-
public ariaLabel = '';
|
|
71
|
-
|
|
72
|
-
@Input()
|
|
73
|
-
public dialogLabel = 'Pick a Time';
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Returns the `role` attribute of the element.
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* ```typescript
|
|
80
|
-
* let timepickerRole = this.timepicker.role;
|
|
81
|
-
* ```
|
|
82
|
-
*/
|
|
83
|
-
@HostBinding('attr.role')
|
|
84
|
-
public role = '';
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Host `class.onemrva-mat-timepicker` binding.
|
|
88
|
-
*
|
|
89
|
-
* @hidden
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
@HostBinding('class.onemrva-mat-timepicker')
|
|
93
|
-
public cssClass = 'onemrva-mat-timepicker';
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Sets the `id` of the element. If not set, the first component instance will have `id` = `"onemrva-mat-timepicker-0"`.
|
|
97
|
-
*
|
|
98
|
-
* @example
|
|
99
|
-
* ```html
|
|
100
|
-
* <onemrva-mat-timepicker id="my-first-timepicker"></onemrva-mat-timepicker>
|
|
101
|
-
* ```
|
|
102
|
-
*/
|
|
103
|
-
@HostBinding('attr.id')
|
|
104
|
-
@Input()
|
|
105
|
-
public id = `onemrva-mat-timepicker-${NEXT_ID++}`;
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* Sets the `data-cy` of the element. If not set, the first component instance will have `data-cy` = `"onemrva-mat-timepicker-0"`.
|
|
109
|
-
*
|
|
110
|
-
* @example
|
|
111
|
-
* ```html
|
|
112
|
-
* <onemrva-mat-timepicker id="my-first-timepicker"></onemrva-mat-timepicker>
|
|
113
|
-
* ```
|
|
114
|
-
*/
|
|
115
|
-
@HostBinding('attr.data-cy')
|
|
116
|
-
@Input()
|
|
117
|
-
public dataCy = `onemrva-mat-timepicker-${NEXT_ID++}`;
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* @hidden
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
|
-
private _color: ThemePalette = 'primary';
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Returns the color of the element.
|
|
127
|
-
*
|
|
128
|
-
* @example
|
|
129
|
-
* ```typescript
|
|
130
|
-
* let color = this.timepicker.color;
|
|
131
|
-
* ```
|
|
132
|
-
*/
|
|
133
|
-
@Input()
|
|
134
|
-
public get color(): ThemePalette {
|
|
135
|
-
return this._color;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Sets the size of the element.
|
|
140
|
-
* By default, the color is `"primary"`.
|
|
141
|
-
*
|
|
142
|
-
* @example
|
|
143
|
-
* ```html
|
|
144
|
-
* <onemrva-mat-timepicker size="large"></onemrva-mat-timepicker>
|
|
145
|
-
* ```
|
|
146
|
-
*/
|
|
147
|
-
public set color(value: ThemePalette) {
|
|
148
|
-
switch (value) {
|
|
149
|
-
case OnemrvaMatColor.PRIMARY:
|
|
150
|
-
case OnemrvaMatColor.ACCENT:
|
|
151
|
-
case OnemrvaMatColor.WARN:
|
|
152
|
-
this._color = value;
|
|
153
|
-
break;
|
|
154
|
-
default:
|
|
155
|
-
this._color = OnemrvaMatColor.PRIMARY;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
/** @hidden @internal */
|
|
160
|
-
@HostBinding('class.mat-primary')
|
|
161
|
-
public get _isPrimary(): boolean {
|
|
162
|
-
return this.color === OnemrvaMatColor.PRIMARY;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
/** @hidden @internal */
|
|
166
|
-
@HostBinding('class.mat-accent')
|
|
167
|
-
public get _isAccent(): boolean {
|
|
168
|
-
return this.color === OnemrvaMatColor.ACCENT;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* @hidden
|
|
173
|
-
* @internal
|
|
174
|
-
*/
|
|
175
|
-
private _size: string | OnemrvaMatSize = OnemrvaMatSize.SMALL;
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Returns the size of the element.
|
|
179
|
-
*
|
|
180
|
-
* @example
|
|
181
|
-
* ```typescript
|
|
182
|
-
* let timepickerSize = this.timepicker.size;
|
|
183
|
-
* ```
|
|
184
|
-
*/
|
|
185
|
-
@Input()
|
|
186
|
-
public get size(): string | OnemrvaMatSize {
|
|
187
|
-
return this._size;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Sets the size of the element.
|
|
192
|
-
* By default, the size is `"medium"`.
|
|
193
|
-
*
|
|
194
|
-
* @example
|
|
195
|
-
* ```html
|
|
196
|
-
* <onemrva-mat-timepicker size="large"></onemrva-mat-timepicker>
|
|
197
|
-
* ```
|
|
198
|
-
*/
|
|
199
|
-
public set size(value: string | OnemrvaMatSize) {
|
|
200
|
-
switch (value) {
|
|
201
|
-
case OnemrvaMatSize.XSMALL:
|
|
202
|
-
case OnemrvaMatSize.SMALL:
|
|
203
|
-
case OnemrvaMatSize.MEDIUM:
|
|
204
|
-
case OnemrvaMatSize.LARGE:
|
|
205
|
-
case OnemrvaMatSize.XLARGE:
|
|
206
|
-
this._size = value;
|
|
207
|
-
break;
|
|
208
|
-
default:
|
|
209
|
-
this._size = OnemrvaMatSize.MEDIUM;
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
open() {
|
|
214
|
-
if (this.timepickerInput.disabled) {
|
|
215
|
-
return;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
this.value = this.timepickerInput.currentValue;
|
|
219
|
-
if (this.value === undefined || this.value === null) {
|
|
220
|
-
this.value = new Date();
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
this.modalRef = this.dialog.open(MatTimepickerComponentDialogComponent, {
|
|
224
|
-
ariaLabel: this.dialogLabel,
|
|
225
|
-
autoFocus: false,
|
|
226
|
-
data: {
|
|
227
|
-
value: this.timepickerInput.currentValue,
|
|
228
|
-
okLabel: this.timepickerInput.okLabel,
|
|
229
|
-
cancelLabel: this.timepickerInput.cancelLabel,
|
|
230
|
-
color: this.color,
|
|
231
|
-
minDate: this.timepickerInput.minDate,
|
|
232
|
-
maxDate: this.timepickerInput.maxDate,
|
|
233
|
-
allowed24HourMap: this.timepickerInput.allowed24HourMap,
|
|
234
|
-
},
|
|
235
|
-
});
|
|
236
|
-
|
|
237
|
-
const instance = this.modalRef.componentInstance;
|
|
238
|
-
instance.changeEvent
|
|
239
|
-
.pipe(takeUntil(this.isAlive))
|
|
240
|
-
.subscribe(this.handleChange);
|
|
241
|
-
instance.okClickEvent
|
|
242
|
-
.pipe(takeUntil(this.isAlive))
|
|
243
|
-
.subscribe(this.handleOk);
|
|
244
|
-
instance.cancelClickEvent
|
|
245
|
-
.pipe(takeUntil(this.isAlive))
|
|
246
|
-
.subscribe(this.handleCancel);
|
|
247
|
-
this.modalRef
|
|
248
|
-
.beforeClosed()
|
|
249
|
-
.pipe(first())
|
|
250
|
-
.subscribe(() => (instance.isClosing = true));
|
|
251
|
-
this.modalRef
|
|
252
|
-
.afterClosed()
|
|
253
|
-
.pipe(first())
|
|
254
|
-
.subscribe(() => {
|
|
255
|
-
if (this.timepickerInput.onTouchedFn) {
|
|
256
|
-
this.timepickerInput.onTouchedFn();
|
|
257
|
-
}
|
|
258
|
-
//this.modalRef = null;
|
|
259
|
-
this.timepickerInput.elRef.nativeElement.focus();
|
|
260
|
-
});
|
|
261
|
-
this.timepickerInput.currentValue = this.value as Date;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
handleChange = (newValue: Date) => {
|
|
265
|
-
if (!(newValue instanceof Date)) {
|
|
266
|
-
return;
|
|
267
|
-
}
|
|
268
|
-
const v =
|
|
269
|
-
this.value instanceof Date ? new Date(this.value.getTime()) : new Date();
|
|
270
|
-
v.setHours(newValue.getHours());
|
|
271
|
-
v.setMinutes(newValue.getMinutes());
|
|
272
|
-
v.setSeconds(0);
|
|
273
|
-
v.setMilliseconds(0);
|
|
274
|
-
this.value = v;
|
|
275
|
-
};
|
|
276
|
-
|
|
277
|
-
handleOk = () => {
|
|
278
|
-
if (this.onChangeFn) {
|
|
279
|
-
this.onChangeFn(this.value);
|
|
280
|
-
}
|
|
281
|
-
this.timepickerInput.value = this.value;
|
|
282
|
-
this.modalRef.close();
|
|
283
|
-
};
|
|
284
|
-
|
|
285
|
-
handleCancel = () => {
|
|
286
|
-
this.modalRef.close();
|
|
287
|
-
};
|
|
288
|
-
|
|
289
|
-
ngOnDestroy() {
|
|
290
|
-
this.isAlive.next('0');
|
|
291
|
-
this.isAlive.complete();
|
|
292
|
-
this.stateChanges.complete();
|
|
293
|
-
|
|
294
|
-
// if (this._platform.isBrowser) {
|
|
295
|
-
// this.fm.stopMonitoring(this.elRef.nativeElement);
|
|
296
|
-
// }
|
|
297
|
-
//
|
|
298
|
-
// this.listeners.forEach(l => l());
|
|
299
|
-
}
|
|
300
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { OnemrvaMatTimepickerComponent } from './onemrva-mat-timepicker.component';
|
|
4
|
-
import { MatDialogModule } from '@angular/material/dialog';
|
|
5
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
6
|
-
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
7
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
8
|
-
import { MatInputModule } from '@angular/material/input';
|
|
9
|
-
import {
|
|
10
|
-
MatTimePickerToggle,
|
|
11
|
-
MatTimepickerToggleIconDirective,
|
|
12
|
-
} from './timepicker-toggle/timepicker-toggle.component';
|
|
13
|
-
import { MatTimepickerDirective } from './timepicker.directive';
|
|
14
|
-
import { ClockComponent } from './clock/clock.component';
|
|
15
|
-
import { MatTimepickerComponentDialogComponent } from './timepicker-dialog/timepicker-dialog.component';
|
|
16
|
-
|
|
17
|
-
@NgModule({
|
|
18
|
-
declarations: [
|
|
19
|
-
ClockComponent,
|
|
20
|
-
MatTimepickerDirective,
|
|
21
|
-
MatTimepickerComponentDialogComponent,
|
|
22
|
-
MatTimepickerToggleIconDirective,
|
|
23
|
-
MatTimePickerToggle,
|
|
24
|
-
OnemrvaMatTimepickerComponent,
|
|
25
|
-
],
|
|
26
|
-
imports: [
|
|
27
|
-
CommonModule,
|
|
28
|
-
MatDialogModule,
|
|
29
|
-
MatButtonModule,
|
|
30
|
-
MatToolbarModule,
|
|
31
|
-
MatIconModule,
|
|
32
|
-
MatInputModule,
|
|
33
|
-
],
|
|
34
|
-
exports: [
|
|
35
|
-
MatTimepickerDirective,
|
|
36
|
-
MatTimePickerToggle,
|
|
37
|
-
OnemrvaMatTimepickerComponent,
|
|
38
|
-
],
|
|
39
|
-
})
|
|
40
|
-
export class OnemrvaMatTimepickerModule {}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
<mat-dialog-content>
|
|
2
|
-
<div class="root">
|
|
3
|
-
<mat-toolbar [color]="color" class="header">
|
|
4
|
-
<div class="time-frame">
|
|
5
|
-
<span
|
|
6
|
-
class="time fixed-font-size"
|
|
7
|
-
[ngClass]="{ select: this.viewType === 'hours' && 'active' }"
|
|
8
|
-
(click)="editHours()"
|
|
9
|
-
>
|
|
10
|
-
{{ twoDigits(formattedHours) }}
|
|
11
|
-
</span>
|
|
12
|
-
<span class="fixed-font-size">:</span>
|
|
13
|
-
<span
|
|
14
|
-
class="time fixed-font-size"
|
|
15
|
-
[ngClass]="{ select: this.viewType === 'minutes' && 'active' }"
|
|
16
|
-
(click)="editMinutes()"
|
|
17
|
-
>
|
|
18
|
-
{{ twoDigits(minutes) }}
|
|
19
|
-
</span>
|
|
20
|
-
</div>
|
|
21
|
-
</mat-toolbar>
|
|
22
|
-
<div class="body">
|
|
23
|
-
<mat-clock
|
|
24
|
-
[allowed24HourMap]="allowed24HourMap"
|
|
25
|
-
[minDate]="minDate"
|
|
26
|
-
[maxDate]="maxDate"
|
|
27
|
-
[color]="color"
|
|
28
|
-
[viewType]="viewType"
|
|
29
|
-
[formattedHours]="formattedHours"
|
|
30
|
-
[minutes]="minutes"
|
|
31
|
-
(changeEvent)="handleClockChange($event)"
|
|
32
|
-
(unavailableSelection)="handleUnavailableSelection()"
|
|
33
|
-
[formattedValue]="viewType === 'minutes' ? minutes : formattedHours"
|
|
34
|
-
(mouseup)="handleClockChangeDone($event)"
|
|
35
|
-
(touchend)="handleClockChangeDone($event)"
|
|
36
|
-
(invalidSelection)="invalidSelectionHandler($event)"
|
|
37
|
-
></mat-clock>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
</mat-dialog-content>
|
|
41
|
-
<mat-dialog-actions>
|
|
42
|
-
<button mat-button color="primary" (click)="cancelClickHandler()">
|
|
43
|
-
{{ cancelLabel }}
|
|
44
|
-
</button>
|
|
45
|
-
<button
|
|
46
|
-
mat-flat-button
|
|
47
|
-
[disabled]="invalidSelection"
|
|
48
|
-
[color]="color"
|
|
49
|
-
(click)="okClickHandler()"
|
|
50
|
-
>
|
|
51
|
-
{{ okLabel }}
|
|
52
|
-
</button>
|
|
53
|
-
</mat-dialog-actions>
|