@onemrvapublic/design-system 19.4.0-alpha.9 → 20.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/address/index.d.ts +8 -0
- package/address/src/address.scss +0 -0
- package/fesm2022/onemrvapublic-design-system-address.mjs +22 -0
- package/fesm2022/onemrvapublic-design-system-address.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-flag-icon.mjs +10 -9
- package/fesm2022/onemrvapublic-design-system-flag-icon.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-layout.mjs +125 -141
- package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs +119 -118
- package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs +37 -32
- package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs +30 -24
- package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs +43 -5
- package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs +14 -16
- package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs.map +1 -1
- 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 +30 -29
- package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs +10 -10
- package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs +92 -106
- package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs +18 -15
- package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs +43 -48
- package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs +17 -17
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs +15 -15
- package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs +26 -36
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs +18 -18
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs +18 -8
- package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs +20 -26
- package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-notification.mjs +11 -13
- package/fesm2022/onemrvapublic-design-system-mat-notification.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs +40 -42
- package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-panel.mjs +29 -29
- package/fesm2022/onemrvapublic-design-system-mat-panel.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs +19 -19
- package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs +36 -56
- package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs +11 -11
- package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs +14 -15
- package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs +9 -9
- package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs +16 -16
- package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs +35 -17
- package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs +8 -8
- package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs +35 -36
- package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs +33 -33
- package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs +75 -96
- package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-toast.mjs +13 -16
- package/fesm2022/onemrvapublic-design-system-mat-toast.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs +17 -17
- package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-page-error.mjs +18 -18
- package/fesm2022/onemrvapublic-design-system-page-error.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-page-not-found.mjs +25 -31
- package/fesm2022/onemrvapublic-design-system-page-not-found.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-shared.mjs +207 -187
- package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system.mjs +10269 -3
- package/fesm2022/onemrvapublic-design-system.mjs.map +1 -1
- package/flag-icon/index.d.ts +18 -1
- package/index.d.ts +3063 -3
- package/layout/index.d.ts +259 -7
- package/mat-avatar/index.d.ts +248 -2
- package/mat-avatar/src/onemrva-mat-avatar.component.scss +48 -11
- package/mat-breadcrumb/index.d.ts +40 -3
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.scss +7 -11
- package/mat-carousel/index.d.ts +52 -2
- package/mat-carousel/src/onemrva-mat-carousel.component.scss +4 -3
- package/mat-choice-chip/index.d.ts +19 -1
- package/mat-choice-chip/src/onemrva-mat-choice-chip.component.scss +10 -2
- package/mat-copy-to-clipboard/index.d.ts +26 -1
- package/mat-country-item/index.d.ts +10 -0
- package/mat-datepicker-header/index.d.ts +44 -1
- package/mat-empty-row/index.d.ts +19 -1
- package/mat-file-upload/index.d.ts +301 -8
- package/mat-input-address/index.d.ts +31 -1
- package/mat-input-birthplace/index.d.ts +36 -1
- package/mat-input-country/index.d.ts +30 -1
- package/mat-input-country/src/onemrva-mat-input-country.component.scss +1 -1
- package/mat-input-enterprise-number/index.d.ts +37 -1
- package/mat-input-iban/index.d.ts +79 -1
- package/mat-input-phone/index.d.ts +44 -2
- package/mat-message-box/index.d.ts +101 -2
- package/mat-multi-select/index.d.ts +57 -2
- package/mat-notification/index.d.ts +43 -1
- package/mat-paginator/index.d.ts +58 -2
- package/mat-panel/index.d.ts +55 -6
- package/mat-panel/src/onemrva-mat-panel.component.scss +34 -2
- package/mat-pop-over/index.d.ts +40 -4
- package/mat-pop-over/src/onemrva-mat-pop-over.component.scss +9 -9
- package/mat-progress-bar/index.d.ts +18 -1
- package/mat-select-search/index.d.ts +197 -3
- package/mat-selectable-box/index.d.ts +29 -2
- package/mat-side-menu/index.d.ts +33 -2
- package/mat-skeleton/index.d.ts +100 -3
- package/mat-spinner/index.d.ts +25 -3
- package/mat-stepper/index.d.ts +36 -2
- package/mat-stepper/src/onemrva-mat-stepper.scss +2 -0
- package/mat-sticker/index.d.ts +14 -2
- package/mat-sticker/src/onemrva-mat-sticker.component.scss +5 -0
- package/mat-table-of-content/index.d.ts +84 -4
- package/mat-task-list/index.d.ts +57 -5
- package/mat-timepicker/index.d.ts +386 -6
- package/mat-timepicker/src/clock/clock.component.scss +7 -6
- package/mat-toast/index.d.ts +30 -2
- package/mat-tooltip/index.d.ts +39 -4
- package/package.json +24 -15
- package/page-error/index.d.ts +34 -2
- package/page-not-found/index.d.ts +54 -5
- package/shared/index.d.ts +532 -15
- package/utils/index.d.ts +32 -2
- package/flag-icon/src/flag-icon.component.d.ts +0 -16
- package/layout/src/components/index.d.ts +0 -23
- package/layout/src/components/layout/layout.component.d.ts +0 -60
- package/layout/src/components/layout-after-nav/layout-after-nav.component.d.ts +0 -11
- package/layout/src/components/layout-content/layout-content.component.d.ts +0 -11
- package/layout/src/components/layout-drawer-actions/layout-drawer-actions.component.d.ts +0 -8
- package/layout/src/components/layout-drawer-content/layout-drawer-content.component.d.ts +0 -8
- package/layout/src/components/layout-drawer-title/layout-drawer-title.component.d.ts +0 -9
- package/layout/src/components/layout-footer/layout-footer.component.d.ts +0 -7
- package/layout/src/components/layout-login-menu/layout-login-menu.component.d.ts +0 -11
- package/layout/src/components/layout-route/layout-route.component.d.ts +0 -24
- package/layout/src/components/layout-sidenav/layout-sidenav.component.d.ts +0 -24
- package/layout/src/components/layout-sidenav-title/layout-sidenav-title.component.d.ts +0 -7
- package/layout/src/components/layout-subroute/layout-subroute.component.d.ts +0 -20
- package/layout/src/components/layout-title/layout-title.component.d.ts +0 -11
- package/layout/src/decorators/coerce-boolean-input.decorator.d.ts +0 -1
- package/layout/src/decorators/index.d.ts +0 -2
- package/layout/src/decorators/observable-content.decorator.d.ts +0 -1
- package/layout/src/directives/drawer-host.directive.d.ts +0 -14
- package/layout/src/directives/index.d.ts +0 -2
- package/layout/src/directives/striphtml.pipe.d.ts +0 -7
- package/layout/src/enums/environment.enum.d.ts +0 -6
- package/layout/src/enums/index.d.ts +0 -1
- package/layout/src/layout.module.d.ts +0 -32
- package/layout/src/models/index.d.ts +0 -2
- package/layout/src/models/onem-language.model.d.ts +0 -4
- package/layout/src/models/onemrva-profile.model.d.ts +0 -16
- package/layout/src/services/drawer.service.d.ts +0 -13
- package/layout/src/services/index.d.ts +0 -1
- package/mat-avatar/src/onemrva-mat-avatar.component.d.ts +0 -240
- package/mat-avatar/src/onemrva-mat-avatar.module.d.ts +0 -7
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.d.ts +0 -11
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.model.d.ts +0 -5
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.module.d.ts +0 -10
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.service.d.ts +0 -12
- package/mat-carousel/src/mat-carousel-item/onemrva-mat-carousel-item.component.d.ts +0 -11
- package/mat-carousel/src/onemrva-mat-carousel.component.d.ts +0 -40
- package/mat-choice-chip/src/onemrva-mat-choice-chip.component.d.ts +0 -10
- package/mat-copy-to-clipboard/src/components/copy-to-clipboard.component.d.ts +0 -26
- package/mat-datepicker-header/src/onemrva-mat-datepicker-header.component.d.ts +0 -43
- package/mat-empty-row/src/onemrva-mat-empty-row.component.d.ts +0 -19
- package/mat-file-upload/src/components/index.d.ts +0 -3
- package/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.d.ts +0 -29
- package/mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.d.ts +0 -60
- package/mat-file-upload/src/directives/dnd.directive.d.ts +0 -11
- package/mat-file-upload/src/models/action-config.model.d.ts +0 -9
- package/mat-file-upload/src/models/progress-file.model.d.ts +0 -28
- package/mat-file-upload/src/onemrva-mat-file-upload-itf.store.d.ts +0 -55
- package/mat-file-upload/src/onemrva-mat-file-upload.module.d.ts +0 -17
- package/mat-file-upload/src/onemrva-mat-file-upload.service.d.ts +0 -23
- package/mat-file-upload/src/onemrva-mat-file-upload.store.d.ts +0 -79
- package/mat-input-address/src/onemrva-mat-input-address.component.d.ts +0 -28
- package/mat-input-birthplace/src/country-item.component.d.ts +0 -11
- package/mat-input-birthplace/src/onemrva-mat-input-birthplace.component.d.ts +0 -31
- package/mat-input-country/src/onemrva-mat-input-country.component.d.ts +0 -27
- package/mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.d.ts +0 -34
- package/mat-input-iban/src/onemrva-mat-input-iban.component.d.ts +0 -77
- package/mat-input-phone/src/onemrva-mat-input-phone.component.d.ts +0 -35
- package/mat-input-phone/src/phone-number.directive.d.ts +0 -6
- package/mat-message-box/src/onemrva-mat-message-box.component.d.ts +0 -90
- package/mat-message-box/src/onemrva-mat-message-box.module.d.ts +0 -7
- package/mat-multi-select/src/onemrva-mat-multi-select.component.d.ts +0 -48
- package/mat-multi-select/src/onemrva-mat-multi-select.module.d.ts +0 -7
- package/mat-notification/src/onemrva-mat-notification.component.d.ts +0 -40
- package/mat-paginator/src/onemrva-mat-paginator.component.d.ts +0 -50
- package/mat-paginator/src/onemrva-mat-paginator.module.d.ts +0 -7
- package/mat-panel/src/onemrva-mat-panel-content.component.d.ts +0 -8
- package/mat-panel/src/onemrva-mat-panel-icon.component.d.ts +0 -8
- package/mat-panel/src/onemrva-mat-panel-title-action.component.d.ts +0 -8
- package/mat-panel/src/onemrva-mat-panel-title.component.d.ts +0 -13
- package/mat-panel/src/onemrva-mat-panel.component.d.ts +0 -19
- package/mat-panel/src/onemrva-mat-panel.module.d.ts +0 -11
- package/mat-pop-over/src/onemrva-mat-pop-over-content.component.d.ts +0 -8
- package/mat-pop-over/src/onemrva-mat-pop-over-trigger.component.d.ts +0 -8
- package/mat-pop-over/src/onemrva-mat-pop-over.component.d.ts +0 -20
- package/mat-pop-over/src/onemrva-mat-pop-over.module.d.ts +0 -9
- package/mat-progress-bar/src/onemrva-mat-progress-bar.component.d.ts +0 -15
- package/mat-select-search/src/default-options.d.ts +0 -25
- package/mat-select-search/src/mat-select-no-entries-found.directive.d.ts +0 -14
- package/mat-select-search/src/mat-select-search-clear.directive.d.ts +0 -12
- package/mat-select-search/src/mat-select-search.component.d.ts +0 -141
- package/mat-select-search/src/mat-select-search.module.d.ts +0 -13
- package/mat-selectable-box/src/onemrva-mat-selectable-box.component.d.ts +0 -21
- package/mat-selectable-box/src/onemrva-mat-selectable-box.module.d.ts +0 -7
- package/mat-side-menu/src/onemrva-mat-side-menu.component.d.ts +0 -24
- package/mat-side-menu/src/onemrva-mat-side-menu.module.d.ts +0 -7
- package/mat-skeleton/src/onemrva-mat-skeleton-enums.d.ts +0 -21
- package/mat-skeleton/src/onemrva-mat-skeleton.component.d.ts +0 -69
- package/mat-skeleton/src/onemrva-mat-skeleton.module.d.ts +0 -7
- package/mat-spinner/src/onemrva-mat-loading.directive.d.ts +0 -12
- package/mat-spinner/src/onemrva-mat-spinner.component.d.ts +0 -5
- package/mat-spinner/src/onemrva-mat-spinner.module.d.ts +0 -8
- package/mat-stepper/src/_stepper-variables.scss +0 -29
- package/mat-stepper/src/onemrva-mat-stepper.component.d.ts +0 -21
- package/mat-stepper/src/onemrva-mat-stepper.module.d.ts +0 -8
- package/mat-stepper/src/onemrva-stepper-animations.d.ts +0 -16
- package/mat-sticker/src/onemrva-mat-sticker.component.d.ts +0 -5
- package/mat-sticker/src/onemrva-mat-sticker.module.d.ts +0 -7
- package/mat-table-of-content/src/onemrva-mat-table-of-content.component.d.ts +0 -31
- package/mat-table-of-content/src/onemrva-mat-table-of-content.directive.d.ts +0 -27
- package/mat-table-of-content/src/onemrva-mat-table-of-content.service.d.ts +0 -12
- package/mat-table-of-content/src/onemrva-mat-toc-anchor.model.d.ts +0 -19
- package/mat-task-list/src/onemrva-mat-task-content.component.d.ts +0 -8
- package/mat-task-list/src/onemrva-mat-task-list.component.d.ts +0 -13
- package/mat-task-list/src/onemrva-mat-task-list.module.d.ts +0 -10
- package/mat-task-list/src/onemrva-mat-task-title.component.d.ts +0 -11
- package/mat-task-list/src/onemrva-mat-task.component.d.ts +0 -25
- package/mat-timepicker/src/clock/clock.component.d.ts +0 -50
- package/mat-timepicker/src/interfaces-and-types.d.ts +0 -13
- package/mat-timepicker/src/onemrva-mat-timepicker.component.d.ts +0 -129
- package/mat-timepicker/src/onemrva-mat-timepicker.module.d.ts +0 -11
- package/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.d.ts +0 -60
- package/mat-timepicker/src/timepicker-toggle/timepicker-toggle.component.d.ts +0 -42
- package/mat-timepicker/src/timepicker.directive.d.ts +0 -102
- package/mat-timepicker/src/util.d.ts +0 -12
- package/mat-toast/src/onemrva-mat-toast.component.d.ts +0 -24
- package/mat-toast/src/onemrva-mat-toast.module.d.ts +0 -8
- package/mat-tooltip/src/onemrva-mat-tooltip.component.d.ts +0 -8
- package/mat-tooltip/src/onemrva-mat-tooltip.directive.d.ts +0 -24
- package/mat-tooltip/src/onemrva-mat-tooltip.module.d.ts +0 -8
- package/page-error/src/page-error-action.component.d.ts +0 -7
- package/page-error/src/page-error.component.d.ts +0 -27
- package/page-not-found/src/page-not-found-action.component.d.ts +0 -7
- package/page-not-found/src/page-not-found-extra.component.d.ts +0 -7
- package/page-not-found/src/page-not-found-invader.component.d.ts +0 -21
- package/page-not-found/src/page-not-found.component.d.ts +0 -17
- package/page-not-found/src/page-not-found.module.d.ts +0 -10
- package/public-api.d.ts +0 -1
- package/shared/src/lib/adapters/index.d.ts +0 -2
- package/shared/src/lib/adapters/luxon.date.adapter.d.ts +0 -50
- package/shared/src/lib/adapters/luxon.utils.d.ts +0 -26
- package/shared/src/lib/adapters/native.date.adapter.d.ts +0 -17
- package/shared/src/lib/components/clipboard-icon/clipboard-icon.component.d.ts +0 -10
- package/shared/src/lib/components/index.d.ts +0 -1
- package/shared/src/lib/constants/CDNUrlModeOptions.d.ts +0 -4
- package/shared/src/lib/constants/cdn.d.ts +0 -2
- package/shared/src/lib/constants/constants.d.ts +0 -6
- package/shared/src/lib/constants/date.format.d.ts +0 -5
- package/shared/src/lib/constants/index.d.ts +0 -4
- package/shared/src/lib/containers/WebComponentOverlayContainer.d.ts +0 -25
- package/shared/src/lib/containers/index.d.ts +0 -1
- package/shared/src/lib/decorators/HttpCacheDecorator.d.ts +0 -28
- package/shared/src/lib/decorators/index.d.ts +0 -1
- package/shared/src/lib/directives/clipboard.directive.d.ts +0 -21
- package/shared/src/lib/directives/color.directive.d.ts +0 -24
- package/shared/src/lib/directives/date-format.directive.d.ts +0 -19
- package/shared/src/lib/directives/digit-only.directive.d.ts +0 -6
- package/shared/src/lib/directives/iconRight.directive.d.ts +0 -9
- package/shared/src/lib/directives/if-width-is.directive.d.ts +0 -16
- package/shared/src/lib/directives/index.d.ts +0 -10
- package/shared/src/lib/directives/mask.directive.d.ts +0 -21
- package/shared/src/lib/directives/mat-row-clickable.directive.d.ts +0 -12
- package/shared/src/lib/directives/size.directive.d.ts +0 -20
- package/shared/src/lib/helpers/index.d.ts +0 -1
- package/shared/src/lib/helpers/translation-helper.d.ts +0 -17
- package/shared/src/lib/interfaces/OnemRvaCommonCountry.interface.d.ts +0 -23
- package/shared/src/lib/interfaces/index.d.ts +0 -1
- package/shared/src/lib/loaders/index.d.ts +0 -2
- package/shared/src/lib/loaders/onemrva-translate-cdn-loader.d.ts +0 -14
- package/shared/src/lib/loaders/onemrva-translate-http-loader.d.ts +0 -14
- package/shared/src/lib/pipes/index.d.ts +0 -2
- package/shared/src/lib/pipes/onemrva-bce.pipe.d.ts +0 -7
- package/shared/src/lib/pipes/onemrva-niss.pipe.d.ts +0 -7
- package/shared/src/lib/providers/index.d.ts +0 -5
- package/shared/src/lib/providers/onemrva.date.luxon.provider.d.ts +0 -2
- package/shared/src/lib/providers/onemrva.date.luxon.year.month.provider.d.ts +0 -2
- package/shared/src/lib/providers/onemrva.date.native.provider.d.ts +0 -2
- package/shared/src/lib/providers/onemrva.date.native.year.month.provider.d.ts +0 -2
- package/shared/src/lib/providers/onemrva.theme.provider.d.ts +0 -2
- package/shared/src/lib/services/cache.service.d.ts +0 -10
- package/shared/src/lib/services/cdn.service.d.ts +0 -30
- package/shared/src/lib/services/country-cdn.service.d.ts +0 -30
- package/shared/src/lib/services/country-lookup.service.d.ts +0 -15
- package/shared/src/lib/services/index.d.ts +0 -8
- package/shared/src/lib/services/mime-cdn.service.d.ts +0 -15
- package/shared/src/lib/services/onemrva-error-handler.service.d.ts +0 -12
- package/shared/src/lib/services/onemrva-missing-translation.service.d.ts +0 -4
- package/shared/src/lib/services/osm.service.d.ts +0 -45
- package/shared/src/lib/shared.module.d.ts +0 -14
- package/shared/src/lib/tokens/index.d.ts +0 -1
- package/shared/src/lib/tokens/lookup.token.d.ts +0 -2
- package/shared/src/lib/validators/bank-account.validator.utils.d.ts +0 -4
- package/shared/src/lib/validators/index.d.ts +0 -2
- package/shared/src/lib/validators/onemrva-validators.d.ts +0 -8
- package/utils/src/enum.utils.d.ts +0 -6
- package/utils/src/enums/color.enum.d.ts +0 -12
- package/utils/src/enums/index.d.ts +0 -2
- package/utils/src/enums/size.enum.d.ts +0 -10
- /package/{mat-input-birthplace/src/country-item.component.scss → mat-country-item/src/onemrva-mat-country-item.component.scss} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onemrvapublic-design-system-mat-task-list.mjs","sources":["../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-title.component.ts","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-title.html","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-content.component.ts","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-content.html","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task.component.ts","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task.component.html","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-list.component.ts","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-list.component.html","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-list.module.ts","../../../../projects/onemrva/design-system/mat-task-list/onemrvapublic-design-system-mat-task-list.ts"],"sourcesContent":["import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n Input,\n TemplateRef,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { NgClass } from '@angular/common';\n\n@Component({\n selector: 'onemrva-mat-task-title',\n templateUrl: './onemrva-mat-task-title.html',\n styleUrl: './onemrva-mat-task-title.scss',\n standalone: true,\n imports: [NgClass],\n encapsulation: ViewEncapsulation.Emulated,\n})\nexport class OnemrvaMatTaskTitleComponent implements AfterViewInit {\n @Input() customNgClass = ['onemrva-mat-task-title'];\n\n @ViewChild(TemplateRef) template?: TemplateRef<any>;\n\n constructor(private cd: ChangeDetectorRef) {}\n\n ngAfterViewInit() {\n this.cd.detectChanges();\n }\n}\n","<ng-template>\n <div [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n","import { Component, Input, TemplateRef, ViewChild } from '@angular/core';\nimport { NgClass } from '@angular/common';\n\n@Component({\n selector: 'onemrva-mat-task-content',\n templateUrl: './onemrva-mat-task-content.html',\n styleUrl: './onemrva-mat-task-content.scss',\n standalone: true,\n imports: [NgClass],\n})\nexport class OnemrvaMatTaskContentComponent {\n @Input() customNgClass = ['onemrva-mat-task-content'];\n\n @ViewChild(TemplateRef) template?: TemplateRef<any>;\n}\n","<ng-template>\n <div [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n","import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ElementRef,\n HostBinding,\n Input,\n TemplateRef,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { OnemrvaMatTaskTitleComponent } from './onemrva-mat-task-title.component';\nimport { OnemrvaMatTaskContentComponent } from './onemrva-mat-task-content.component';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { MatCheckbox } from '@angular/material/checkbox';\nimport { MatIcon } from '@angular/material/icon';\nimport { NgIf, NgTemplateOutlet } from '@angular/common';\n\n@Component({\n selector: 'onemrva-mat-task',\n templateUrl: './onemrva-mat-task.component.html',\n styleUrls: ['onemrva-mat-task.component.scss'],\n standalone: true,\n imports: [MatCheckbox, MatIcon, ReactiveFormsModule, NgTemplateOutlet, NgIf],\n encapsulation: ViewEncapsulation.Emulated,\n})\nexport class OnemrvaMatTaskComponent implements AfterViewInit {\n @Input() customNgClass: any;\n\n @Input() icon: string | undefined;\n @Input() form: FormControl | undefined;\n @Input() bubble: string | undefined;\n @Input() arialLabel = 'select';\n\n /** @hidden @internal */\n @HostBinding('class.disabled')\n @Input()\n disabled = false;\n private hostClass: string | undefined;\n\n @HostBinding('attr.aria-disabled')\n public get showAriaDisabled(): boolean {\n return this.disabled;\n }\n\n @ViewChild(TemplateRef) template!: TemplateRef<any>;\n\n @ContentChild(OnemrvaMatTaskTitleComponent)\n title?: OnemrvaMatTaskTitleComponent;\n\n @ContentChild(OnemrvaMatTaskContentComponent)\n content?: OnemrvaMatTaskContentComponent;\n\n constructor(\n private cd: ChangeDetectorRef,\n private elRef: ElementRef<HTMLElement>,\n ) {}\n\n ngAfterViewInit() {\n this.hostClass = Array.from(this.elRef.nativeElement.classList)\n .filter(c => c.startsWith('mat-'))\n .join(' ');\n if (this.title) {\n this.title.customNgClass.push(this.hostClass);\n }\n\n if (this.disabled) {\n this.form?.disable();\n if (this.title) {\n this.title.customNgClass.push('disabled');\n }\n if (this.content) {\n this.content.customNgClass.push('disabled');\n }\n }\n\n this.cd.detectChanges();\n }\n}\n","<div class=\"onemrva-mat-task-icon\">\n <ng-container *ngIf=\"icon !== undefined\">\n <span class=\"bubble\"\n ><mat-icon>{{ icon }}</mat-icon></span\n >\n </ng-container>\n <ng-container *ngIf=\"form !== undefined\">\n <mat-checkbox\n [disabled]=\"true\"\n [formControl]=\"form\"\n [aria-label]=\"arialLabel\"\n ></mat-checkbox>\n </ng-container>\n <ng-container *ngIf=\"bubble !== undefined\">\n <span class=\"bubble\">{{ bubble }}</span>\n </ng-container>\n</div>\n\n<ng-container *ngIf=\"title?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"content?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n</ng-container>\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n HostBinding,\n Input,\n QueryList,\n} from '@angular/core';\nimport { OnemrvaMatTaskComponent } from './onemrva-mat-task.component';\n\nlet NEXT_ID = 0;\n\n@Component({\n selector: 'onemrva-mat-task-list',\n changeDetection: ChangeDetectionStrategy.OnPush,\n styleUrl: './onemrva-mat-task-list.component.scss',\n templateUrl: './onemrva-mat-task-list.component.html',\n standalone: true,\n})\nexport class OnemrvaMatTaskListComponent implements AfterViewInit {\n @HostBinding('attr.id')\n @Input()\n public id = `onemrva-mat-task-list-${NEXT_ID++}`;\n\n @HostBinding('attr.data-cy')\n @Input()\n data_cy = 'onemrva-mat-task-list';\n\n @ContentChildren(OnemrvaMatTaskComponent, {\n descendants: true,\n })\n _tasks?: QueryList<OnemrvaMatTaskComponent>;\n\n constructor(private cd: ChangeDetectorRef) {}\n\n ngAfterViewInit() {\n this.cd.detectChanges();\n }\n}\n","<ng-content></ng-content>\n","import { NgModule } from '@angular/core';\nimport { OnemrvaMatTaskListComponent } from './onemrva-mat-task-list.component';\nimport { OnemrvaMatTaskTitleComponent } from './onemrva-mat-task-title.component';\nimport { OnemrvaMatTaskContentComponent } from './onemrva-mat-task-content.component';\nimport { OnemrvaMatTaskComponent } from './onemrva-mat-task.component';\n\n@NgModule({\n imports: [\n OnemrvaMatTaskListComponent,\n OnemrvaMatTaskTitleComponent,\n OnemrvaMatTaskContentComponent,\n OnemrvaMatTaskComponent,\n ],\n exports: [],\n})\nexport class OnemrvaMatTaskListModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAmBa,4BAA4B,CAAA;AAKvC,IAAA,WAAA,CAAoB,EAAqB,EAAA;QAArB,IAAE,CAAA,EAAA,GAAF,EAAE;AAJb,QAAA,IAAA,CAAA,aAAa,GAAG,CAAC,wBAAwB,CAAC;;IAMnD,eAAe,GAAA;AACb,QAAA,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE;;+GARd,4BAA4B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,4BAA4B,EAG5B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,MAAA,EAAA,EAAA,aAAA,EAAA,eAAA,EAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,UAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,WAAW,ECtBxB,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,+GAKA,sfDWY,OAAO,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAGN,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBARxC,SAAS;+BACE,wBAAwB,EAAA,UAAA,EAGtB,IAAI,EACP,OAAA,EAAA,CAAC,OAAO,CAAC,EAAA,aAAA,EACH,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,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YAPjC,2BAA2B;YAC3B,4BAA4B;YAC5B,8BAA8B;YAC9B,uBAAuB,CAAA,EAAA,CAAA,CAAA;AAId,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YAJjC,uBAAuB,CAAA,EAAA,CAAA,CAAA;;4FAId,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBATpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,2BAA2B;wBAC3B,4BAA4B;wBAC5B,8BAA8B;wBAC9B,uBAAuB;AACxB,qBAAA;AACD,oBAAA,OAAO,EAAE,EAAE;AACZ,iBAAA;;;ACdD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"onemrvapublic-design-system-mat-task-list.mjs","sources":["../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-title.component.ts","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-title.html","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-content.component.ts","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-content.html","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task.component.ts","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task.component.html","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-list.component.ts","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-list.component.html","../../../../projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-list.module.ts","../../../../projects/onemrva/design-system/mat-task-list/onemrvapublic-design-system-mat-task-list.ts"],"sourcesContent":["import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n inject,\n Input,\n TemplateRef,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { NgClass } from '@angular/common';\n\n@Component({\n selector: 'onemrva-mat-task-title',\n templateUrl: './onemrva-mat-task-title.html',\n styleUrl: './onemrva-mat-task-title.scss',\n standalone: true,\n imports: [NgClass],\n encapsulation: ViewEncapsulation.Emulated,\n})\nexport class OnemrvaMatTaskTitleComponent implements AfterViewInit {\n @Input() customNgClass = ['onemrva-mat-task-title'];\n\n @ViewChild(TemplateRef) template?: TemplateRef<any>;\n\n cd = inject(ChangeDetectorRef);\n\n ngAfterViewInit() {\n this.cd.detectChanges();\n }\n}\n","<ng-template>\n <div [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n","import { Component, Input, TemplateRef, ViewChild } from '@angular/core';\nimport { NgClass } from '@angular/common';\n\n@Component({\n selector: 'onemrva-mat-task-content',\n templateUrl: './onemrva-mat-task-content.html',\n styleUrl: './onemrva-mat-task-content.scss',\n standalone: true,\n imports: [NgClass],\n})\nexport class OnemrvaMatTaskContentComponent {\n @Input() customNgClass = ['onemrva-mat-task-content'];\n\n @ViewChild(TemplateRef) template?: TemplateRef<any>;\n}\n","<ng-template>\n <div [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n","import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ElementRef,\n HostBinding,\n inject,\n Input,\n TemplateRef,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { OnemrvaMatTaskTitleComponent } from './onemrva-mat-task-title.component';\nimport { OnemrvaMatTaskContentComponent } from './onemrva-mat-task-content.component';\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\nimport { MatCheckbox } from '@angular/material/checkbox';\nimport { MatIcon } from '@angular/material/icon';\nimport { NgTemplateOutlet } from '@angular/common';\n\n@Component({\n selector: 'onemrva-mat-task',\n templateUrl: './onemrva-mat-task.component.html',\n styleUrls: ['onemrva-mat-task.component.scss'],\n standalone: true,\n imports: [MatCheckbox, MatIcon, ReactiveFormsModule, NgTemplateOutlet],\n encapsulation: ViewEncapsulation.Emulated,\n})\nexport class OnemrvaMatTaskComponent implements AfterViewInit {\n @Input() customNgClass: any;\n\n @Input() icon: string | undefined;\n @Input() form: FormControl | undefined;\n @Input() bubble: string | undefined;\n @Input() arialLabel = 'select';\n\n /** @hidden @internal */\n @HostBinding('class.disabled')\n @Input()\n disabled = false;\n private hostClass: string | undefined;\n\n @HostBinding('attr.aria-disabled')\n public get showAriaDisabled(): boolean {\n return this.disabled;\n }\n\n @ViewChild(TemplateRef) template!: TemplateRef<any>;\n\n @ContentChild(OnemrvaMatTaskTitleComponent)\n title?: OnemrvaMatTaskTitleComponent;\n\n @ContentChild(OnemrvaMatTaskContentComponent)\n content?: OnemrvaMatTaskContentComponent;\n\n cd = inject(ChangeDetectorRef);\n elRef = inject(ElementRef<HTMLElement>);\n\n ngAfterViewInit() {\n this.hostClass = Array.from(this.elRef.nativeElement.classList)\n .filter((c): c is string => typeof c === 'string' && c.startsWith('mat-'))\n .join(' ');\n if (this.title) {\n this.title.customNgClass.push(this.hostClass);\n }\n\n if (this.disabled) {\n this.form?.disable();\n if (this.title) {\n this.title.customNgClass.push('disabled');\n }\n if (this.content) {\n this.content.customNgClass.push('disabled');\n }\n }\n\n this.cd.detectChanges();\n }\n}\n","<div class=\"onemrva-mat-task-icon\">\n @if (icon !== undefined) {\n <span class=\"bubble\"\n ><mat-icon>{{ icon }}</mat-icon></span\n >\n }\n @if (form !== undefined) {\n <mat-checkbox\n [disabled]=\"true\"\n [formControl]=\"form\"\n [aria-label]=\"arialLabel\"\n ></mat-checkbox>\n }\n @if (bubble !== undefined) {\n <span class=\"bubble\">{{ bubble }}</span>\n }\n</div>\n\n@if (title?.template; as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n}\n@if (content?.template; as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n}\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n HostBinding,\n inject,\n Input,\n QueryList,\n} from '@angular/core';\nimport { OnemrvaMatTaskComponent } from './onemrva-mat-task.component';\n\nlet NEXT_ID = 0;\n\n@Component({\n selector: 'onemrva-mat-task-list',\n changeDetection: ChangeDetectionStrategy.OnPush,\n styleUrl: './onemrva-mat-task-list.component.scss',\n templateUrl: './onemrva-mat-task-list.component.html',\n standalone: true,\n})\nexport class OnemrvaMatTaskListComponent implements AfterViewInit {\n @HostBinding('attr.id')\n @Input()\n public id = `onemrva-mat-task-list-${NEXT_ID++}`;\n\n @HostBinding('attr.data-cy')\n @Input()\n data_cy = 'onemrva-mat-task-list';\n\n @ContentChildren(OnemrvaMatTaskComponent, {\n descendants: true,\n })\n _tasks?: QueryList<OnemrvaMatTaskComponent>;\n\n cd = inject(ChangeDetectorRef);\n\n ngAfterViewInit() {\n this.cd.detectChanges();\n }\n}\n","<ng-content></ng-content>\n","import { NgModule } from '@angular/core';\nimport { OnemrvaMatTaskListComponent } from './onemrva-mat-task-list.component';\nimport { OnemrvaMatTaskTitleComponent } from './onemrva-mat-task-title.component';\nimport { OnemrvaMatTaskContentComponent } from './onemrva-mat-task-content.component';\nimport { OnemrvaMatTaskComponent } from './onemrva-mat-task.component';\n\n@NgModule({\n imports: [\n OnemrvaMatTaskListComponent,\n OnemrvaMatTaskTitleComponent,\n OnemrvaMatTaskContentComponent,\n OnemrvaMatTaskComponent,\n ],\n exports: [],\n})\nexport class OnemrvaMatTaskListModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAoBa,4BAA4B,CAAA;AARzC,IAAA,WAAA,GAAA;AASW,QAAA,IAAA,CAAA,aAAa,GAAG,CAAC,wBAAwB,CAAC;AAInD,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,iBAAiB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A,EAAA,wBAAwB,YAPjC,2BAA2B;YAC3B,4BAA4B;YAC5B,8BAA8B;YAC9B,uBAAuB,CAAA,EAAA,CAAA,CAAA;AAId,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YAJjC,uBAAuB,CAAA,EAAA,CAAA,CAAA;;2FAId,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBATpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,2BAA2B;wBAC3B,4BAA4B;wBAC5B,8BAA8B;wBAC9B,uBAAuB;AACxB,qBAAA;AACD,oBAAA,OAAO,EAAE,EAAE;AACZ,iBAAA;;;ACdD;;AAEG;;;;"}
|
|
@@ -1,23 +1,20 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Input, Output, ChangeDetectionStrategy, Component,
|
|
2
|
+
import { EventEmitter, Input, Output, ChangeDetectionStrategy, Component, inject, HostBinding, Directive, ChangeDetectorRef, HostAttributeToken, ViewEncapsulation, Renderer2, NgZone, ElementRef, HostListener, NgModule } from '@angular/core';
|
|
3
3
|
import { OnemrvaMatSize, OnemrvaMatColor } from '@onemrvapublic/design-system/utils';
|
|
4
|
-
import
|
|
5
|
-
import { MAT_DIALOG_DATA, MatDialogContent, MatDialogActions } from '@angular/material/dialog';
|
|
4
|
+
import { MatDialog, MAT_DIALOG_DATA, MatDialogContent, MatDialogActions } from '@angular/material/dialog';
|
|
6
5
|
import { MatToolbar } from '@angular/material/toolbar';
|
|
7
|
-
import { NgClass
|
|
6
|
+
import { NgClass } from '@angular/common';
|
|
8
7
|
import { MatMiniFabButton, MatButton, MatIconButton } from '@angular/material/button';
|
|
9
8
|
import { OnemRvaColorDirective } from '@onemrvapublic/design-system/shared';
|
|
10
9
|
import { Subject, Subscription, of, merge } from 'rxjs';
|
|
11
10
|
import { takeUntil, first } from 'rxjs/operators';
|
|
12
11
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
13
12
|
import { MatIcon } from '@angular/material/icon';
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
18
|
-
import
|
|
19
|
-
import * as i3 from '@angular/cdk/platform';
|
|
20
|
-
import * as i5 from '@angular/material/core';
|
|
13
|
+
import { Validators, NgControl, NgForm, FormGroupDirective } from '@angular/forms';
|
|
14
|
+
import { MatFormField, MatFormFieldControl } from '@angular/material/form-field';
|
|
15
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
16
|
+
import { ErrorStateMatcher } from '@angular/material/core';
|
|
17
|
+
import { Platform } from '@angular/cdk/platform';
|
|
21
18
|
|
|
22
19
|
function twoDigits(n) {
|
|
23
20
|
return n < 10 ? `0${n}` : `${n}`;
|
|
@@ -297,19 +294,12 @@ class ClockComponent {
|
|
|
297
294
|
value = Math.round(60 - (60 * angle) / 360);
|
|
298
295
|
return value === 60 ? 0 : value;
|
|
299
296
|
}
|
|
300
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
301
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
297
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ClockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
298
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: ClockComponent, isStandalone: true, selector: "mat-clock", inputs: { viewType: "viewType", formattedValue: "formattedValue", minDate: "minDate", maxDate: "maxDate", formattedHours: "formattedHours", minutes: "minutes", allowed24HourMap: "allowed24HourMap" }, outputs: { changeEvent: "changeEvent", unavailableSelection: "unavailableSelection", invalidSelection: "invalidSelection" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"root\">\n <div\n class=\"circle\"\n tabindex=\"1\"\n (touchmove)=\"handleTouchMove($event)\"\n (mousemove)=\"handleMouseMove($event)\"\n (touchstart)=\"disableAnimatedPointer()\"\n (mousedown)=\"disableAnimatedPointer()\"\n (touchend)=\"handleTouchEnd($event)\"\n (mouseup)=\"enableAnimatedPointer()\"\n (click)=\"handleClick($event)\"\n >\n <div\n class=\"pointer-container\"\n [ngClass]=\"{\n 'small-pointer':\n viewType === 'hours' && (formattedValue === 0 || formattedValue > 12),\n 'animated-pointer': !touching,\n }\"\n [style.transform]=\"'rotate(' + angle + 'deg)'\"\n >\n <button\n aria-disabled=\"true\"\n mat-mini-fab\n color=\"neutral\"\n class=\"inner-dot\"\n aria-label=\"Inner Dot\"\n ></button>\n <mat-toolbar color=\"accent\" class=\"pointer\">\n <button\n mat-mini-fab\n color=\"neutral\"\n class=\"outer-dot\"\n aria-label=\"Outer dot\"\n [ngClass]=\"{\n 'outer-dot-odd': viewType === 'minutes' && formattedValue % 5 !== 0,\n }\"\n >\n @if (viewType === 'minutes' && formattedValue % 5 !== 0) {\n <ng-container>\u00B7</ng-container>\n }\n </button>\n </mat-toolbar>\n </div>\n @for (digit of minuteDots; track digit.display) {\n <button\n mat-mini-fab\n color=\"neutral\"\n class=\"number minute-dot\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 0 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 60 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n @if (digit.display % 5 !== 0) {\n <ng-container>\u00B7</ng-container>\n }\n </button>\n }\n @for (digit of numbers; track digit.display) {\n <button\n mat-mini-fab\n color=\"neutral\"\n class=\"number\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 60 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 60 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n <ng-template #hoursTemplate>{{ digit.display }}</ng-template>\n <ng-template #minutesTemplate>{{\n digit.display === 60 ? '00' : digit.display\n }}</ng-template>\n @if (viewType === 'minutes') {\n {{ digit.display === 60 ? '00' : digit.display }}\n } @else {\n {{ digit.display }}\n }\n </button>\n }\n @for (digit of secondaryNumbers; track digit.display) {\n <button\n mat-mini-fab\n color=\"neutral\"\n class=\"number small-number\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 24 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 24 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n {{ digit.display === 24 ? '00' : digit.display }}\n </button>\n }\n </div>\n</div>\n", styles: [".root{width:256px;height:256px;cursor:default}.circle{width:256px;height:256px;border-radius:50%;position:relative;background:var(--mat-sys-surface-container-high);cursor:pointer}.mat-mdc-mini-fab.number{width:32px;height:32px;left:calc(50% - 16px);top:calc(50% - 16px);position:absolute;text-align:center;line-height:32px;cursor:pointer;font-size:14px;pointer-events:none;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:transparent;box-shadow:none;color:var(--mat-sys-on-surface)}.mat-mdc-mini-fab.number.selected{background:var(--background-gradient);color:var(--on-background-gradient)}.mat-mdc-mini-fab.number.disabled{opacity:.1}.mat-mdc-mini-fab.number:not(.selected):not(.disabled){color:var(--mat-sys-on-surface)}.small-number{font-size:12px}.small-number:not(.selected):not(.disabled){color:var(--mat-sys-on-surface-variant)}.pointer-container{width:calc(50% - 20px);height:2px;position:absolute;left:50%;top:calc(50% - 1px);transform-origin:left center;pointer-events:none}.pointer-container.disabled *{background-color:transparent}.pointer{height:1px;background-color:var(--mat-sys-on-surface)}.animated-pointer{transition:all .2s ease-out}.pointer-container.small-pointer{width:calc(50% - 52px)}.pointer-container.small-pointer mat-toolbar{padding:0 16px}.pointer-container mat-toolbar{padding:0 54px}.inner-dot{position:absolute;top:-3px;left:-4px;width:8px;height:8px;border-radius:50%;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.outer-dot{width:32px;height:32px;position:absolute;right:-16px;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;border-radius:50%;box-sizing:content-box}.outer-dot-odd{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;width:32px;height:32px;display:flex;align-items:center;justify-content:center;flex-direction:column}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: MatMiniFabButton, selector: "button[mat-mini-fab], a[mat-mini-fab], button[matMiniFab], a[matMiniFab]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: OnemRvaColorDirective, selector: "onemrva-mat-selectable-box[color],div[color],onemrva-mat-avatar[color],mat-card[color],mat-toolbar[color],onemrva-mat-spinner[color],onemrva-mat-notification[color],onemrva-mat-sticker[color],onemrva-mat-panel[color],onemrva-mat-task[color],onemrva-mat-choice-chip[color],button[color],mat-icon[color],mat-chip[color],mat-chip-option[color]", inputs: ["color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
302
299
|
}
|
|
303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ClockComponent, decorators: [{
|
|
304
301
|
type: Component,
|
|
305
|
-
args: [{ selector: 'mat-clock', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
306
|
-
NgClass,
|
|
307
|
-
MatMiniFabButton,
|
|
308
|
-
MatToolbar,
|
|
309
|
-
NgIf,
|
|
310
|
-
NgForOf,
|
|
311
|
-
OnemRvaColorDirective,
|
|
312
|
-
], template: "<div class=\"root\">\n <div\n class=\"circle\"\n tabindex=\"1\"\n (touchmove)=\"handleTouchMove($event)\"\n (mousemove)=\"handleMouseMove($event)\"\n (touchstart)=\"disableAnimatedPointer()\"\n (mousedown)=\"disableAnimatedPointer()\"\n (touchend)=\"handleTouchEnd($event)\"\n (mouseup)=\"enableAnimatedPointer()\"\n (click)=\"handleClick($event)\"\n >\n <div\n class=\"pointer-container\"\n [ngClass]=\"{\n 'small-pointer':\n viewType === 'hours' && (formattedValue === 0 || formattedValue > 12),\n 'animated-pointer': !touching,\n }\"\n [style.transform]=\"'rotate(' + angle + 'deg)'\"\n >\n <button\n aria-disabled=\"true\"\n mat-mini-fab\n color=\"neutral\"\n class=\"inner-dot\"\n aria-label=\"Inner Dot\"\n ></button>\n <mat-toolbar color=\"accent\" class=\"pointer\">\n <button\n mat-mini-fab\n color=\"neutral\"\n class=\"outer-dot\"\n aria-label=\"Outer dot\"\n [ngClass]=\"{\n 'outer-dot-odd': viewType === 'minutes' && formattedValue % 5 !== 0,\n }\"\n >\n <ng-container\n *ngIf=\"viewType === 'minutes' && formattedValue % 5 !== 0\"\n >\u00B7</ng-container\n >\n </button>\n </mat-toolbar>\n </div>\n <ng-container *ngFor=\"let digit of minuteDots\">\n <button\n mat-mini-fab\n color=\"neutral\"\n class=\"number minute-dot\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 0 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 60 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n <ng-container *ngIf=\"digit.display % 5 !== 0\">\u00B7</ng-container>\n </button>\n </ng-container>\n <ng-container *ngFor=\"let digit of numbers\">\n <button\n mat-mini-fab\n color=\"neutral\"\n class=\"number\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 60 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 60 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n <ng-template #hoursTemplate>{{ digit.display }}</ng-template>\n <ng-template #minutesTemplate>{{\n digit.display === 60 ? '00' : digit.display\n }}</ng-template>\n <ng-container\n *ngIf=\"\n viewType === 'minutes';\n then minutesTemplate;\n else hoursTemplate\n \"\n ></ng-container>\n </button>\n </ng-container>\n <ng-container *ngFor=\"let digit of secondaryNumbers\">\n <button\n mat-mini-fab\n color=\"neutral\"\n class=\"number small-number\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 24 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 24 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n {{ digit.display === 24 ? '00' : digit.display }}\n </button>\n </ng-container>\n </div>\n</div>\n", styles: [".root{width:256px;height:256px;cursor:default}.circle{width:256px;height:256px;border-radius:50%;position:relative;background:#ededed;cursor:pointer}.mat-mdc-mini-fab.number{width:32px;height:32px;left:calc(50% - 16px);top:calc(50% - 16px);position:absolute;text-align:center;line-height:32px;cursor:pointer;font-size:14px;pointer-events:none;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:transparent;box-shadow:none}.mat-mdc-mini-fab.number.selected{background:var(--background-gradient);color:var(--on-background-gradient)}.mat-mdc-mini-fab.number.disabled{color:#0101011a}.mat-mdc-mini-fab.number:not(.selected):not(.disabled){color:#000000de}.mat-mdc-mini-fab.number:not(.disabled).minute-dot{color:#010101b3}.mat-mdc-mini-fab.number:not(.disabled).minute-dot.selected{color:transparent}.small-number{font-size:12px}.small-number:not(.selected):not(.disabled){color:#000000ab}.pointer-container{width:calc(50% - 20px);height:2px;position:absolute;left:50%;top:calc(50% - 1px);transform-origin:left center;pointer-events:none}.pointer-container.disabled *{background-color:transparent}.pointer{height:1px}.animated-pointer{transition:all .2s ease-out}.pointer-container.small-pointer{width:calc(50% - 52px)}.pointer-container.small-pointer mat-toolbar{padding:0 16px}.pointer-container mat-toolbar{padding:0 54px}.inner-dot{position:absolute;top:-3px;left:-4px;width:8px;height:8px;border-radius:50%;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.outer-dot{width:32px;height:32px;position:absolute;right:-16px;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;border-radius:50%;box-sizing:content-box}.outer-dot-odd{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;width:32px;height:32px;display:flex;align-items:center;justify-content:center;flex-direction:column}\n"] }]
|
|
302
|
+
args: [{ selector: 'mat-clock', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgClass, MatMiniFabButton, MatToolbar, OnemRvaColorDirective], template: "<div class=\"root\">\n <div\n class=\"circle\"\n tabindex=\"1\"\n (touchmove)=\"handleTouchMove($event)\"\n (mousemove)=\"handleMouseMove($event)\"\n (touchstart)=\"disableAnimatedPointer()\"\n (mousedown)=\"disableAnimatedPointer()\"\n (touchend)=\"handleTouchEnd($event)\"\n (mouseup)=\"enableAnimatedPointer()\"\n (click)=\"handleClick($event)\"\n >\n <div\n class=\"pointer-container\"\n [ngClass]=\"{\n 'small-pointer':\n viewType === 'hours' && (formattedValue === 0 || formattedValue > 12),\n 'animated-pointer': !touching,\n }\"\n [style.transform]=\"'rotate(' + angle + 'deg)'\"\n >\n <button\n aria-disabled=\"true\"\n mat-mini-fab\n color=\"neutral\"\n class=\"inner-dot\"\n aria-label=\"Inner Dot\"\n ></button>\n <mat-toolbar color=\"accent\" class=\"pointer\">\n <button\n mat-mini-fab\n color=\"neutral\"\n class=\"outer-dot\"\n aria-label=\"Outer dot\"\n [ngClass]=\"{\n 'outer-dot-odd': viewType === 'minutes' && formattedValue % 5 !== 0,\n }\"\n >\n @if (viewType === 'minutes' && formattedValue % 5 !== 0) {\n <ng-container>\u00B7</ng-container>\n }\n </button>\n </mat-toolbar>\n </div>\n @for (digit of minuteDots; track digit.display) {\n <button\n mat-mini-fab\n color=\"neutral\"\n class=\"number minute-dot\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 0 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 60 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n @if (digit.display % 5 !== 0) {\n <ng-container>\u00B7</ng-container>\n }\n </button>\n }\n @for (digit of numbers; track digit.display) {\n <button\n mat-mini-fab\n color=\"neutral\"\n class=\"number\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 60 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 60 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n <ng-template #hoursTemplate>{{ digit.display }}</ng-template>\n <ng-template #minutesTemplate>{{\n digit.display === 60 ? '00' : digit.display\n }}</ng-template>\n @if (viewType === 'minutes') {\n {{ digit.display === 60 ? '00' : digit.display }}\n } @else {\n {{ digit.display }}\n }\n </button>\n }\n @for (digit of secondaryNumbers; track digit.display) {\n <button\n mat-mini-fab\n color=\"neutral\"\n class=\"number small-number\"\n [ngClass]=\"{\n selected:\n formattedValue === digit.display ||\n (digit.display === 24 && formattedValue === 0),\n disabled: !isAvailable(digit.display === 24 ? 0 : digit.display),\n }\"\n [style.transform]=\"\n 'translate(' + digit.translateX + 'px, ' + digit.translateY + 'px)'\n \"\n >\n {{ digit.display === 24 ? '00' : digit.display }}\n </button>\n }\n </div>\n</div>\n", styles: [".root{width:256px;height:256px;cursor:default}.circle{width:256px;height:256px;border-radius:50%;position:relative;background:var(--mat-sys-surface-container-high);cursor:pointer}.mat-mdc-mini-fab.number{width:32px;height:32px;left:calc(50% - 16px);top:calc(50% - 16px);position:absolute;text-align:center;line-height:32px;cursor:pointer;font-size:14px;pointer-events:none;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:transparent;box-shadow:none;color:var(--mat-sys-on-surface)}.mat-mdc-mini-fab.number.selected{background:var(--background-gradient);color:var(--on-background-gradient)}.mat-mdc-mini-fab.number.disabled{opacity:.1}.mat-mdc-mini-fab.number:not(.selected):not(.disabled){color:var(--mat-sys-on-surface)}.small-number{font-size:12px}.small-number:not(.selected):not(.disabled){color:var(--mat-sys-on-surface-variant)}.pointer-container{width:calc(50% - 20px);height:2px;position:absolute;left:50%;top:calc(50% - 1px);transform-origin:left center;pointer-events:none}.pointer-container.disabled *{background-color:transparent}.pointer{height:1px;background-color:var(--mat-sys-on-surface)}.animated-pointer{transition:all .2s ease-out}.pointer-container.small-pointer{width:calc(50% - 52px)}.pointer-container.small-pointer mat-toolbar{padding:0 16px}.pointer-container mat-toolbar{padding:0 54px}.inner-dot{position:absolute;top:-3px;left:-4px;width:8px;height:8px;border-radius:50%;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.outer-dot{width:32px;height:32px;position:absolute;right:-16px;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;border-radius:50%;box-sizing:content-box}.outer-dot-odd{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;width:32px;height:32px;display:flex;align-items:center;justify-content:center;flex-direction:column}\n"] }]
|
|
313
303
|
}], propDecorators: { viewType: [{
|
|
314
304
|
type: Input
|
|
315
305
|
}], formattedValue: [{
|
|
@@ -360,9 +350,7 @@ class MatTimepickerComponentDialogComponent {
|
|
|
360
350
|
this.maxDate = data.maxDate;
|
|
361
351
|
this.allowed24HourMap = data.allowed24HourMap;
|
|
362
352
|
}
|
|
363
|
-
constructor(
|
|
364
|
-
this.data = data;
|
|
365
|
-
this.dialog = dialog;
|
|
353
|
+
constructor() {
|
|
366
354
|
this.twoDigits = twoDigits;
|
|
367
355
|
this.changeEvent = new EventEmitter();
|
|
368
356
|
this.okClickEvent = new EventEmitter();
|
|
@@ -376,10 +364,12 @@ class MatTimepickerComponentDialogComponent {
|
|
|
376
364
|
this.skipMinuteAutoSwitch = false;
|
|
377
365
|
this.editHoursClicked = false;
|
|
378
366
|
this.isClosing = false;
|
|
379
|
-
this.
|
|
380
|
-
this.
|
|
367
|
+
this.dialog = inject(MatDialog);
|
|
368
|
+
this.data = inject(MAT_DIALOG_DATA);
|
|
369
|
+
this.isPm = this.data.isPm;
|
|
370
|
+
this.bindData(this.data);
|
|
381
371
|
// keep this always at the bottom
|
|
382
|
-
this.value = data.value;
|
|
372
|
+
this.value = this.data.value;
|
|
383
373
|
}
|
|
384
374
|
ngDoCheck() {
|
|
385
375
|
this.bindData(this.data);
|
|
@@ -435,10 +425,10 @@ class MatTimepickerComponentDialogComponent {
|
|
|
435
425
|
cancelClickHandler() {
|
|
436
426
|
this.cancelClickEvent.emit();
|
|
437
427
|
}
|
|
438
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
439
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
428
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: MatTimepickerComponentDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
429
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: MatTimepickerComponentDialogComponent, isStandalone: true, selector: "mat-timepicker-dialog", outputs: { changeEvent: "changeEvent", okClickEvent: "okClickEvent", cancelClickEvent: "cancelClickEvent" }, ngImport: i0, template: "<mat-dialog-content>\n <div class=\"root\">\n <mat-toolbar color=\"accent\" class=\"header\">\n <div class=\"time-frame\">\n <span\n class=\"time fixed-font-size\"\n [ngClass]=\"{ select: viewType === 'hours' && 'active' }\"\n (click)=\"editHours()\"\n role=\"button\"\n tabindex=\"0\"\n >\n {{ twoDigits(formattedHours) }}\n </span>\n <span class=\"fixed-font-size\">:</span>\n <span\n class=\"time fixed-font-size\"\n [ngClass]=\"{ select: viewType === 'minutes' && 'active' }\"\n (click)=\"editMinutes()\"\n tabindex=\"1\"\n role=\"button\"\n >\n {{ twoDigits(minutes) }}\n </span>\n </div>\n </mat-toolbar>\n <div class=\"body\">\n <mat-clock\n [allowed24HourMap]=\"allowed24HourMap\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [viewType]=\"viewType\"\n [formattedHours]=\"formattedHours\"\n [minutes]=\"minutes\"\n (changeEvent)=\"handleClockChange($event)\"\n (unavailableSelection)=\"handleUnavailableSelection()\"\n [formattedValue]=\"viewType === 'minutes' ? minutes : formattedHours\"\n (mouseup)=\"handleClockChangeDone($event)\"\n (touchend)=\"handleClockChangeDone($event)\"\n (invalidSelection)=\"invalidSelectionHandler($event)\"\n ></mat-clock>\n </div>\n </div>\n</mat-dialog-content>\n<mat-dialog-actions>\n <button mat-button color=\"primary\" (click)=\"cancelClickHandler()\">\n {{ cancelLabel }}\n </button>\n <button\n mat-flat-button\n [disabled]=\"invalidSelection\"\n [color]=\"color\"\n (click)=\"okClickHandler()\"\n >\n {{ okLabel }}\n </button>\n</mat-dialog-actions>\n", styles: [".mdc-dialog__content{min-height:395px;padding:0!important;overflow:hidden}mat-dialog-actions{justify-content:flex-end;margin:0}.root{min-width:282px}.header{border-top-left-radius:2px;border-top-right-radius:2px;padding:20px 0;line-height:58px;font-size:58px;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none;height:98px}.header .fixed-font-size{font-size:58px}.header .time-frame{height:60px}.time{transition:all .2s ease-out;cursor:pointer}.time:not(.select){opacity:.6}.placeholder{flex:1}.ampm{display:flex;flex-direction:column-reverse;flex:1;font-size:14px;line-height:20px;margin-left:16px;font-weight:700}.body{padding:24px 16px 20px;display:flex;justify-content:center}\n"], dependencies: [{ kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ClockComponent, selector: "mat-clock", inputs: ["viewType", "formattedValue", "minDate", "maxDate", "formattedHours", "minutes", "allowed24HourMap"], outputs: ["changeEvent", "unavailableSelection", "invalidSelection"] }, { kind: "directive", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: OnemRvaColorDirective, selector: "onemrva-mat-selectable-box[color],div[color],onemrva-mat-avatar[color],mat-card[color],mat-toolbar[color],onemrva-mat-spinner[color],onemrva-mat-notification[color],onemrva-mat-sticker[color],onemrva-mat-panel[color],onemrva-mat-task[color],onemrva-mat-choice-chip[color],button[color],mat-icon[color],mat-chip[color],mat-chip-option[color]", inputs: ["color"] }] }); }
|
|
440
430
|
}
|
|
441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: MatTimepickerComponentDialogComponent, decorators: [{
|
|
442
432
|
type: Component,
|
|
443
433
|
args: [{ selector: 'mat-timepicker-dialog', standalone: true, imports: [
|
|
444
434
|
MatDialogContent,
|
|
@@ -448,11 +438,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
448
438
|
MatDialogActions,
|
|
449
439
|
MatButton,
|
|
450
440
|
OnemRvaColorDirective,
|
|
451
|
-
], template: "<mat-dialog-content>\n <div class=\"root\">\n <mat-toolbar color=\"accent\" class=\"header\">\n <div class=\"time-frame\">\n <span\n class=\"time fixed-font-size\"\n [ngClass]=\"{ select:
|
|
452
|
-
}], ctorParameters: () => [
|
|
453
|
-
type: Inject,
|
|
454
|
-
args: [MAT_DIALOG_DATA]
|
|
455
|
-
}] }, { type: i1.MatDialog }], propDecorators: { changeEvent: [{
|
|
441
|
+
], template: "<mat-dialog-content>\n <div class=\"root\">\n <mat-toolbar color=\"accent\" class=\"header\">\n <div class=\"time-frame\">\n <span\n class=\"time fixed-font-size\"\n [ngClass]=\"{ select: viewType === 'hours' && 'active' }\"\n (click)=\"editHours()\"\n role=\"button\"\n tabindex=\"0\"\n >\n {{ twoDigits(formattedHours) }}\n </span>\n <span class=\"fixed-font-size\">:</span>\n <span\n class=\"time fixed-font-size\"\n [ngClass]=\"{ select: viewType === 'minutes' && 'active' }\"\n (click)=\"editMinutes()\"\n tabindex=\"1\"\n role=\"button\"\n >\n {{ twoDigits(minutes) }}\n </span>\n </div>\n </mat-toolbar>\n <div class=\"body\">\n <mat-clock\n [allowed24HourMap]=\"allowed24HourMap\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [viewType]=\"viewType\"\n [formattedHours]=\"formattedHours\"\n [minutes]=\"minutes\"\n (changeEvent)=\"handleClockChange($event)\"\n (unavailableSelection)=\"handleUnavailableSelection()\"\n [formattedValue]=\"viewType === 'minutes' ? minutes : formattedHours\"\n (mouseup)=\"handleClockChangeDone($event)\"\n (touchend)=\"handleClockChangeDone($event)\"\n (invalidSelection)=\"invalidSelectionHandler($event)\"\n ></mat-clock>\n </div>\n </div>\n</mat-dialog-content>\n<mat-dialog-actions>\n <button mat-button color=\"primary\" (click)=\"cancelClickHandler()\">\n {{ cancelLabel }}\n </button>\n <button\n mat-flat-button\n [disabled]=\"invalidSelection\"\n [color]=\"color\"\n (click)=\"okClickHandler()\"\n >\n {{ okLabel }}\n </button>\n</mat-dialog-actions>\n", styles: [".mdc-dialog__content{min-height:395px;padding:0!important;overflow:hidden}mat-dialog-actions{justify-content:flex-end;margin:0}.root{min-width:282px}.header{border-top-left-radius:2px;border-top-right-radius:2px;padding:20px 0;line-height:58px;font-size:58px;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none;height:98px}.header .fixed-font-size{font-size:58px}.header .time-frame{height:60px}.time{transition:all .2s ease-out;cursor:pointer}.time:not(.select){opacity:.6}.placeholder{flex:1}.ampm{display:flex;flex-direction:column-reverse;flex:1;font-size:14px;line-height:20px;margin-left:16px;font-weight:700}.body{padding:24px 16px 20px;display:flex;justify-content:center}\n"] }]
|
|
442
|
+
}], ctorParameters: () => [], propDecorators: { changeEvent: [{
|
|
456
443
|
type: Output
|
|
457
444
|
}], okClickEvent: [{
|
|
458
445
|
type: Output
|
|
@@ -462,15 +449,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
462
449
|
|
|
463
450
|
let NEXT_ID = 0;
|
|
464
451
|
class OnemrvaMatTimepickerComponent {
|
|
465
|
-
|
|
466
|
-
return this._value;
|
|
467
|
-
}
|
|
468
|
-
set value(value) {
|
|
469
|
-
this._value = value;
|
|
470
|
-
}
|
|
471
|
-
constructor(dialog) {
|
|
472
|
-
this.dialog = dialog;
|
|
452
|
+
constructor() {
|
|
473
453
|
this.isAlive = new Subject();
|
|
454
|
+
this.dialog = inject(MatDialog);
|
|
474
455
|
this.opened = false;
|
|
475
456
|
/** Emits when the timepicker's state changes. */
|
|
476
457
|
this.stateChanges = new Subject();
|
|
@@ -555,6 +536,12 @@ class OnemrvaMatTimepickerComponent {
|
|
|
555
536
|
this.modalRef.close();
|
|
556
537
|
};
|
|
557
538
|
}
|
|
539
|
+
get value() {
|
|
540
|
+
return this._value;
|
|
541
|
+
}
|
|
542
|
+
set value(value) {
|
|
543
|
+
this._value = value;
|
|
544
|
+
}
|
|
558
545
|
setTimepickerInput(t) {
|
|
559
546
|
this.timepickerInput = t;
|
|
560
547
|
}
|
|
@@ -687,13 +674,13 @@ class OnemrvaMatTimepickerComponent {
|
|
|
687
674
|
//
|
|
688
675
|
// this.listeners.forEach(l => l());
|
|
689
676
|
}
|
|
690
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
691
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
677
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTimepickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
678
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: OnemrvaMatTimepickerComponent, isStandalone: true, selector: "mat-timepicker", inputs: { dialogLabel: "dialogLabel", id: "id", dataCy: "dataCy", color: "color", size: "size" }, outputs: { openedStream: "opened", closedStream: "closed" }, host: { properties: { "attr.aria-label": "this.ariaLabel", "attr.role": "this.role", "class.onemrva-mat-timepicker": "this.cssClass", "attr.id": "this.id", "attr.data-cy": "this.dataCy", "class.mat-primary": "this._isPrimary", "class.mat-accent": "this._isAccent" } }, ngImport: i0, template: "" }); }
|
|
692
679
|
}
|
|
693
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTimepickerComponent, decorators: [{
|
|
694
681
|
type: Component,
|
|
695
682
|
args: [{ selector: 'mat-timepicker', template: "" }]
|
|
696
|
-
}],
|
|
683
|
+
}], propDecorators: { openedStream: [{
|
|
697
684
|
type: Output,
|
|
698
685
|
args: ['opened']
|
|
699
686
|
}], closedStream: [{
|
|
@@ -741,16 +728,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
741
728
|
*/
|
|
742
729
|
/** Can be used to override the icon of a `matDatepickerToggle`. */
|
|
743
730
|
class MatTimepickerToggleIconDirective {
|
|
744
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
745
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
731
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: MatTimepickerToggleIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
732
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: MatTimepickerToggleIconDirective, isStandalone: true, selector: "[matDatepickerToggleIcon]", ngImport: i0 }); }
|
|
746
733
|
}
|
|
747
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: MatTimepickerToggleIconDirective, decorators: [{
|
|
748
735
|
type: Directive,
|
|
749
736
|
args: [{
|
|
750
737
|
selector: '[matDatepickerToggleIcon]',
|
|
751
738
|
}]
|
|
752
739
|
}] });
|
|
753
|
-
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
754
740
|
class MatTimePickerToggle {
|
|
755
741
|
/** Whether the toggle button is disabled. */
|
|
756
742
|
get disabled() {
|
|
@@ -762,10 +748,7 @@ class MatTimePickerToggle {
|
|
|
762
748
|
set disabled(value) {
|
|
763
749
|
this._disabled = coerceBooleanProperty(value);
|
|
764
750
|
}
|
|
765
|
-
|
|
766
|
-
//@ViewChild('button') _button: MatButton;
|
|
767
|
-
constructor(_changeDetectorRef, defaultTabIndex) {
|
|
768
|
-
this._changeDetectorRef = _changeDetectorRef;
|
|
751
|
+
constructor() {
|
|
769
752
|
this._stateChanges = Subscription.EMPTY;
|
|
770
753
|
/** Screenreader label for the button. */
|
|
771
754
|
this.ariaLabel = '';
|
|
@@ -773,6 +756,12 @@ class MatTimePickerToggle {
|
|
|
773
756
|
/** Whether ripples on the toggle should be disabled. */
|
|
774
757
|
this.disableRipple = false;
|
|
775
758
|
this.$event = new Event('abrupt');
|
|
759
|
+
/** Underlying button element. */
|
|
760
|
+
//@ViewChild('button') _button: MatButton;
|
|
761
|
+
this._changeDetectorRef = inject(ChangeDetectorRef);
|
|
762
|
+
const defaultTabIndex = inject(new HostAttributeToken('tabindex'), {
|
|
763
|
+
optional: true,
|
|
764
|
+
});
|
|
776
765
|
const parsedTabIndex = Number(defaultTabIndex);
|
|
777
766
|
this.tabIndex =
|
|
778
767
|
parsedTabIndex || parsedTabIndex === 0 ? parsedTabIndex : null;
|
|
@@ -807,10 +796,10 @@ class MatTimePickerToggle {
|
|
|
807
796
|
this._stateChanges.unsubscribe();
|
|
808
797
|
this._stateChanges = merge(datepickerStateChanged, inputStateChanged, datepickerToggled).subscribe(() => this._changeDetectorRef.markForCheck());
|
|
809
798
|
}
|
|
810
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
811
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
799
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: MatTimePickerToggle, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
800
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: MatTimePickerToggle, isStandalone: true, selector: "mat-timepicker-toggle", inputs: { timepicker: ["for", "timepicker"], tabIndex: "tabIndex", ariaLabel: "ariaLabel", disabled: "disabled", disableRipple: "disableRipple" }, host: { listeners: { "click": "_open($event)" }, properties: { "attr.tabindex": "null", "class.mat-timepicker-toggle-active": "timepicker && timepicker.opened", "class.mat-accent": "timepicker && timepicker.color === \"accent\"", "class.mat-warn": "timepicker && timepicker.color === \"warn\"", "attr.data-mat-calendar": "timepicker ? timepicker.id : null" }, classAttribute: "mat-timepicker-toggle" }, exportAs: ["matDatepickerToggle"], usesOnChanges: true, ngImport: i0, template: "<button\n #button\n mat-icon-button\n type=\"button\"\n [attr.aria-haspopup]=\"timepicker ? 'dialog' : null\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.tabindex]=\"disabled ? -1 : tabIndex\"\n [disabled]=\"disabled\"\n [disableRipple]=\"disableRipple\"\n>\n <mat-icon>schedule</mat-icon>\n\n <ng-content select=\"[mattimepickerToggleIcon]\"></ng-content>\n</button>\n", styles: [".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"], dependencies: [{ kind: "component", type: MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
812
801
|
}
|
|
813
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
802
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: MatTimePickerToggle, decorators: [{
|
|
814
803
|
type: Component,
|
|
815
804
|
args: [{ selector: 'mat-timepicker-toggle', host: {
|
|
816
805
|
class: 'mat-timepicker-toggle',
|
|
@@ -825,10 +814,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
825
814
|
// it so that the input doesn't get focused automatically by the form field (See #21836).
|
|
826
815
|
'(click)': '_open($event)',
|
|
827
816
|
}, exportAs: 'matDatepickerToggle', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [MatIconButton, MatIcon], template: "<button\n #button\n mat-icon-button\n type=\"button\"\n [attr.aria-haspopup]=\"timepicker ? 'dialog' : null\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.tabindex]=\"disabled ? -1 : tabIndex\"\n [disabled]=\"disabled\"\n [disableRipple]=\"disableRipple\"\n>\n <mat-icon>schedule</mat-icon>\n\n <ng-content select=\"[mattimepickerToggleIcon]\"></ng-content>\n</button>\n", styles: [".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"] }]
|
|
828
|
-
}], ctorParameters: () => [
|
|
829
|
-
type: Attribute,
|
|
830
|
-
args: ['tabindex']
|
|
831
|
-
}] }], propDecorators: { timepicker: [{
|
|
817
|
+
}], ctorParameters: () => [], propDecorators: { timepicker: [{
|
|
832
818
|
type: Input,
|
|
833
819
|
args: ['for']
|
|
834
820
|
}], tabIndex: [{
|
|
@@ -1066,17 +1052,7 @@ class MatTimepickerDirective {
|
|
|
1066
1052
|
this.onTouchedFn();
|
|
1067
1053
|
}
|
|
1068
1054
|
}
|
|
1069
|
-
constructor(
|
|
1070
|
-
this.ngControl = ngControl;
|
|
1071
|
-
this.renderer = renderer;
|
|
1072
|
-
this.zone = zone;
|
|
1073
|
-
this.fm = fm;
|
|
1074
|
-
this.elRef = elRef;
|
|
1075
|
-
this.ngZone = ngZone;
|
|
1076
|
-
this._platform = _platform;
|
|
1077
|
-
this._parentForm = _parentForm;
|
|
1078
|
-
this._matFormFiled = _matFormFiled;
|
|
1079
|
-
this._parentFormGroup = _parentFormGroup;
|
|
1055
|
+
constructor() {
|
|
1080
1056
|
this._closedSubscription = Subscription.EMPTY;
|
|
1081
1057
|
this._errorState = false;
|
|
1082
1058
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
@@ -1108,13 +1084,26 @@ class MatTimepickerDirective {
|
|
|
1108
1084
|
this.combination = [];
|
|
1109
1085
|
this.timeChange = new EventEmitter();
|
|
1110
1086
|
this.invalidInput = new EventEmitter();
|
|
1111
|
-
this.
|
|
1087
|
+
this.ngControl = inject(NgControl, { optional: true, self: true });
|
|
1088
|
+
this.renderer = inject(Renderer2);
|
|
1089
|
+
this.zone = inject(NgZone);
|
|
1090
|
+
this.fm = inject(FocusMonitor);
|
|
1091
|
+
this.elRef = inject((ElementRef));
|
|
1092
|
+
this.ngZone = inject(NgZone);
|
|
1093
|
+
this._platform = inject(Platform);
|
|
1094
|
+
this._parentForm = inject(NgForm, { optional: true });
|
|
1095
|
+
this._matFormFiled = inject(MatFormField, { optional: true });
|
|
1096
|
+
this._parentFormGroup = inject(FormGroupDirective, {
|
|
1097
|
+
optional: true,
|
|
1098
|
+
});
|
|
1099
|
+
this._defaultErrorStateMatcher = inject(ErrorStateMatcher);
|
|
1100
|
+
this.errorStateMatcher = this._defaultErrorStateMatcher;
|
|
1112
1101
|
if (this.ngControl != null) {
|
|
1113
1102
|
this.ngControl.valueAccessor = this;
|
|
1114
1103
|
}
|
|
1115
|
-
if (_platform.IOS) {
|
|
1116
|
-
ngZone.runOutsideAngular(() => {
|
|
1117
|
-
elRef.nativeElement.addEventListener('keyup', (event) => {
|
|
1104
|
+
if (this._platform.IOS) {
|
|
1105
|
+
this.ngZone.runOutsideAngular(() => {
|
|
1106
|
+
this.elRef.nativeElement.addEventListener('keyup', (event) => {
|
|
1118
1107
|
const el = event.target;
|
|
1119
1108
|
if (!el.value && !el.selectionStart && !el.selectionEnd) {
|
|
1120
1109
|
// Note: Just setting `0, 0` doesn't fix the issue. Setting
|
|
@@ -1248,12 +1237,12 @@ class MatTimepickerDirective {
|
|
|
1248
1237
|
this.disabled = isDisabled;
|
|
1249
1238
|
this.stateChanges.next();
|
|
1250
1239
|
}
|
|
1251
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1252
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1240
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: MatTimepickerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1241
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: MatTimepickerDirective, isStandalone: true, selector: "input[matTimepicker]", inputs: { matTimepicker: "matTimepicker", disabled: "disabled", id: "id", readonly: "readonly", errorStateMatcher: "errorStateMatcher", required: "required", placeholder: "placeholder", okLabel: "okLabel", cancelLabel: "cancelLabel", color: "color", disableDialogOpenOnClick: "disableDialogOpenOnClick", strict: "strict", minDate: "minDate", maxDate: "maxDate", value: "value" }, outputs: { timeChange: "timeChange", invalidInput: "invalidInput" }, host: { listeners: { "input": "inputHandler()", "keydown": "keydownHandler($event)", "keyup": "keyupHandler($event)", "focus": "focusHandler()", "focusout": "focusoutHandler()" }, properties: { "class.mat-input-server": "_isServer", "attr.id": "id", "attr.placeholder": "placeholder", "disabled": "disabled", "required": "required", "attr.readonly": "readonly || null", "attr.aria-invalid": "errorState", "attr.aria-required": "required.toString()", "class.floating": "this.shouldLabelFloat", "attr.aria-describedby": "this.describedBy" }, classAttribute: "mat-input-element mat-form-field-autofill-control" }, providers: [
|
|
1253
1242
|
{ provide: MatFormFieldControl, useExisting: MatTimepickerDirective },
|
|
1254
1243
|
], exportAs: ["matTimepicker"], usesOnChanges: true, ngImport: i0 }); }
|
|
1255
1244
|
}
|
|
1256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: MatTimepickerDirective, decorators: [{
|
|
1257
1246
|
type: Directive,
|
|
1258
1247
|
args: [{
|
|
1259
1248
|
selector: 'input[matTimepicker]',
|
|
@@ -1276,17 +1265,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
1276
1265
|
exportAs: 'matTimepicker',
|
|
1277
1266
|
standalone: true,
|
|
1278
1267
|
}]
|
|
1279
|
-
}], ctorParameters: () => [
|
|
1280
|
-
type: Optional
|
|
1281
|
-
}, {
|
|
1282
|
-
type: Self
|
|
1283
|
-
}] }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i2.FocusMonitor }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i3.Platform }, { type: i1$1.NgForm, decorators: [{
|
|
1284
|
-
type: Optional
|
|
1285
|
-
}] }, { type: i4.MatFormField, decorators: [{
|
|
1286
|
-
type: Optional
|
|
1287
|
-
}] }, { type: i1$1.FormGroupDirective, decorators: [{
|
|
1288
|
-
type: Optional
|
|
1289
|
-
}] }, { type: i5.ErrorStateMatcher }], propDecorators: { matTimepicker: [{
|
|
1268
|
+
}], ctorParameters: () => [], propDecorators: { matTimepicker: [{
|
|
1290
1269
|
type: Input
|
|
1291
1270
|
}], disabled: [{
|
|
1292
1271
|
type: Input
|
|
@@ -1344,8 +1323,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
1344
1323
|
}] } });
|
|
1345
1324
|
|
|
1346
1325
|
class OnemrvaMatTimepickerModule {
|
|
1347
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1348
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1326
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1327
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTimepickerModule, imports: [ClockComponent,
|
|
1349
1328
|
MatTimepickerDirective,
|
|
1350
1329
|
MatTimepickerComponentDialogComponent,
|
|
1351
1330
|
MatTimepickerToggleIconDirective,
|
|
@@ -1353,11 +1332,11 @@ class OnemrvaMatTimepickerModule {
|
|
|
1353
1332
|
OnemrvaMatTimepickerComponent], exports: [MatTimepickerDirective,
|
|
1354
1333
|
MatTimePickerToggle,
|
|
1355
1334
|
OnemrvaMatTimepickerComponent] }); }
|
|
1356
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1335
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTimepickerModule, imports: [ClockComponent,
|
|
1357
1336
|
MatTimepickerComponentDialogComponent,
|
|
1358
1337
|
MatTimePickerToggle] }); }
|
|
1359
1338
|
}
|
|
1360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMatTimepickerModule, decorators: [{
|
|
1361
1340
|
type: NgModule,
|
|
1362
1341
|
args: [{
|
|
1363
1342
|
imports: [
|