@onemrvapublic/design-system 18.3.0-develop.1 → 18.3.0-develop.2
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/_index.scss +0 -1
- package/_utils.scss +3 -3
- package/fesm2022/onemrvapublic-design-system-core.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-core.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-flag-icon.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-flag-icon.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-layout.mjs +188 -97
- package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs +11 -11
- package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs +27 -18
- package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs +6 -6
- package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs +107 -86
- package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs +6 -6
- package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs +4 -4
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs +6 -6
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs +10 -13
- package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs +31 -51
- package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-notification.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-notification.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs +24 -35
- package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-panel.mjs +28 -29
- package/fesm2022/onemrvapublic-design-system-mat-panel.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs +20 -20
- 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 +48 -149
- package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs +21 -53
- package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs +14 -17
- package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs +11 -12
- package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs +12 -13
- package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs +16 -41
- package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs +11 -11
- package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs +9 -9
- package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs +26 -41
- package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs +51 -64
- package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-toast.mjs +12 -12
- package/fesm2022/onemrvapublic-design-system-mat-toast.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs +18 -18
- package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-page-error.mjs +6 -6
- package/fesm2022/onemrvapublic-design-system-page-error.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-page-not-found.mjs +32 -26
- package/fesm2022/onemrvapublic-design-system-page-not-found.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-shared.mjs +70 -62
- package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
- package/layout/index.d.ts +5 -5
- package/layout/src/components/layout/_layout-mixin.component.scss +5 -5
- package/layout/src/components/layout/layout.component.d.ts +1 -1
- package/layout/src/components/layout/layout.component.scss +7 -0
- package/layout/src/components/layout-after-nav/layout-after-nav.component.d.ts +1 -1
- package/layout/src/components/layout-content/layout-content.component.d.ts +1 -1
- package/layout/src/components/layout-footer/layout-footer.component.d.ts +1 -1
- package/layout/src/components/layout-login-menu/layout-login-menu.component.d.ts +1 -1
- package/layout/src/components/layout-route/layout-route.component.d.ts +1 -1
- package/layout/src/components/layout-sidenav/layout-sidenav.component.d.ts +1 -1
- package/layout/src/components/layout-sidenav-title/layout-sidenav-title.component.d.ts +1 -1
- package/layout/src/components/layout-subroute/layout-subroute.component.d.ts +1 -1
- package/layout/src/components/layout-title/layout-title.component.d.ts +1 -1
- package/layout/src/decorators/coerce-boolean-input.decorator.d.ts +1 -0
- package/layout/src/decorators/index.d.ts +2 -0
- package/layout/src/decorators/observable-content.decorator.d.ts +1 -0
- package/layout/src/directives/drawer-host.directive.d.ts +1 -1
- package/layout/src/directives/index.d.ts +2 -0
- package/layout/src/{striphtml.pipe.d.ts → directives/striphtml.pipe.d.ts} +1 -1
- package/layout/src/enums/index.d.ts +1 -0
- package/layout/src/layout.module.d.ts +3 -3
- package/layout/src/models/index.d.ts +2 -0
- package/layout/src/services/index.d.ts +1 -0
- package/mat-avatar/src/onemrva-mat-avatar.component.d.ts +1 -1
- package/mat-avatar/src/onemrva-mat-avatar.module.d.ts +1 -3
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.d.ts +1 -1
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.module.d.ts +5 -5
- package/mat-datepicker-header/src/_onemrva-mat-datepicker-header.component.scss +1 -1
- package/mat-file-upload/index.d.ts +1 -0
- package/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.d.ts +1 -1
- package/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.scss +3 -3
- package/mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.d.ts +1 -1
- package/mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.scss +2 -1
- package/mat-file-upload/src/directives/dnd.directive.d.ts +1 -1
- package/mat-file-upload/src/onemrva-mat-file-upload.module.d.ts +1 -1
- package/mat-message-box/src/onemrva-mat-message-box.component.d.ts +1 -1
- package/mat-message-box/src/onemrva-mat-message-box.module.d.ts +1 -4
- package/mat-multi-select/src/onemrva-mat-multi-select.component.d.ts +1 -1
- package/mat-multi-select/src/onemrva-mat-multi-select.module.d.ts +1 -9
- package/mat-paginator/src/onemrva-mat-paginator.component.d.ts +1 -1
- package/mat-paginator/src/onemrva-mat-paginator.module.d.ts +1 -6
- package/mat-panel/src/onemrva-mat-panel-content.component.d.ts +1 -1
- package/mat-panel/src/onemrva-mat-panel-icon.component.d.ts +1 -1
- package/mat-panel/src/onemrva-mat-panel-title-action.component.d.ts +1 -1
- package/mat-panel/src/onemrva-mat-panel-title.component.d.ts +1 -1
- package/mat-panel/src/onemrva-mat-panel.component.d.ts +1 -1
- package/mat-panel/src/onemrva-mat-panel.module.d.ts +1 -2
- package/mat-pop-over/src/onemrva-mat-pop-over-content.component.d.ts +1 -1
- package/mat-pop-over/src/onemrva-mat-pop-over-trigger.component.d.ts +1 -1
- package/mat-pop-over/src/onemrva-mat-pop-over.component.d.ts +1 -1
- package/mat-pop-over/src/onemrva-mat-pop-over.module.d.ts +1 -3
- package/mat-select-search/src/mat-select-no-entries-found.directive.d.ts +1 -1
- package/mat-select-search/src/mat-select-search-clear.directive.d.ts +1 -1
- package/mat-select-search/src/mat-select-search.component.d.ts +1 -79
- package/mat-select-search/src/mat-select-search.module.d.ts +1 -12
- package/mat-selectable-box/src/onemrva-mat-selectable-box.component.d.ts +1 -1
- package/mat-selectable-box/src/onemrva-mat-selectable-box.module.d.ts +1 -11
- package/mat-side-menu/src/onemrva-mat-side-menu.component.d.ts +1 -1
- package/mat-side-menu/src/onemrva-mat-side-menu.module.d.ts +1 -5
- package/mat-skeleton/src/onemrva-mat-skeleton.component.d.ts +1 -1
- package/mat-skeleton/src/onemrva-mat-skeleton.module.d.ts +1 -2
- package/mat-spinner/src/onemrva-mat-spinner.component.d.ts +1 -1
- package/mat-spinner/src/onemrva-mat-spinner.module.d.ts +1 -1
- package/mat-stepper/src/onemrva-mat-stepper.component.d.ts +1 -1
- package/mat-stepper/src/onemrva-mat-stepper.module.d.ts +2 -7
- package/mat-stepper/src/onemrva-mat-stepper.scss +1 -1
- package/mat-sticker/src/onemrva-mat-sticker.component.d.ts +1 -1
- package/mat-sticker/src/onemrva-mat-sticker.module.d.ts +1 -2
- package/mat-task-list/src/onemrva-mat-task-content.component.d.ts +1 -1
- package/mat-task-list/src/onemrva-mat-task-list.component.d.ts +1 -1
- package/mat-task-list/src/onemrva-mat-task-list.module.d.ts +1 -5
- package/mat-task-list/src/onemrva-mat-task-title.component.d.ts +1 -1
- package/mat-task-list/src/onemrva-mat-task.component.d.ts +1 -1
- package/mat-timepicker/src/clock/clock.component.d.ts +1 -1
- package/mat-timepicker/src/onemrva-mat-timepicker.component.d.ts +1 -1
- package/mat-timepicker/src/onemrva-mat-timepicker.module.d.ts +1 -7
- package/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.d.ts +1 -1
- package/mat-timepicker/src/timepicker-toggle/timepicker-toggle.component.d.ts +2 -2
- package/mat-timepicker/src/timepicker.directive.d.ts +1 -1
- package/mat-toast/src/onemrva-mat-toast.component.d.ts +1 -1
- package/mat-toast/src/onemrva-mat-toast.module.d.ts +2 -3
- package/mat-tooltip/src/onemrva-mat-tooltip.component.d.ts +1 -1
- package/mat-tooltip/src/onemrva-mat-tooltip.directive.d.ts +1 -1
- package/mat-tooltip/src/onemrva-mat-tooltip.module.d.ts +1 -2
- package/package.json +1 -85
- package/page-not-found/src/page-not-found-action.component.d.ts +1 -1
- package/page-not-found/src/page-not-found-extra.component.d.ts +1 -1
- package/page-not-found/src/page-not-found-invader.component.d.ts +1 -1
- package/page-not-found/src/page-not-found-mixin.component.scss +1 -1
- package/page-not-found/src/page-not-found.component.d.ts +1 -1
- package/page-not-found/src/page-not-found.module.d.ts +1 -3
- package/shared/src/lib/directives/clipboard.directive.d.ts +1 -1
- package/shared/src/lib/directives/color.directive.d.ts +1 -1
- package/shared/src/lib/directives/digit-only.directive.d.ts +1 -1
- package/shared/src/lib/directives/iconRight.directive.d.ts +1 -1
- package/shared/src/lib/directives/if-width-is.directive.d.ts +1 -1
- package/shared/src/lib/directives/mask.directive.d.ts +1 -1
- package/shared/src/lib/directives/mat-row-clickable.directive.d.ts +1 -1
- package/shared/src/lib/shared.module.d.ts +1 -2
- package/esm2022/core/index.mjs +0 -4
- package/esm2022/core/onemrvapublic-design-system-core.mjs +0 -5
- package/esm2022/core/src/lib/core.module.mjs +0 -39
- package/esm2022/core/src/lib/services/index.mjs +0 -3
- package/esm2022/core/src/lib/services/onemrva-error-handler.service.mjs +0 -26
- package/esm2022/core/src/lib/services/onemrva-missing-translation.service.mjs +0 -6
- package/esm2022/flag-icon/index.mjs +0 -2
- package/esm2022/flag-icon/onemrvapublic-design-system-flag-icon.mjs +0 -5
- package/esm2022/flag-icon/src/flag-icon.component.mjs +0 -41
- package/esm2022/layout/index.mjs +0 -8
- package/esm2022/layout/onemrvapublic-design-system-layout.mjs +0 -5
- package/esm2022/layout/src/components/index.mjs +0 -36
- package/esm2022/layout/src/components/layout/layout.component.mjs +0 -177
- package/esm2022/layout/src/components/layout-after-nav/layout-after-nav.component.mjs +0 -25
- package/esm2022/layout/src/components/layout-content/layout-content.component.mjs +0 -25
- package/esm2022/layout/src/components/layout-drawer-actions/layout-drawer-actions.component.mjs +0 -16
- package/esm2022/layout/src/components/layout-drawer-content/layout-drawer-content.component.mjs +0 -16
- package/esm2022/layout/src/components/layout-drawer-title/layout-drawer-title.component.mjs +0 -20
- package/esm2022/layout/src/components/layout-footer/layout-footer.component.mjs +0 -17
- package/esm2022/layout/src/components/layout-login-menu/layout-login-menu.component.mjs +0 -25
- package/esm2022/layout/src/components/layout-route/layout-route.component.mjs +0 -65
- package/esm2022/layout/src/components/layout-sidenav/layout-sidenav.component.mjs +0 -83
- package/esm2022/layout/src/components/layout-sidenav-title/layout-sidenav-title.component.mjs +0 -17
- package/esm2022/layout/src/components/layout-subroute/layout-subroute.component.mjs +0 -55
- package/esm2022/layout/src/components/layout-title/layout-title.component.mjs +0 -25
- package/esm2022/layout/src/directives/drawer-host.directive.mjs +0 -41
- package/esm2022/layout/src/enums/environment.enum.mjs +0 -8
- package/esm2022/layout/src/layout.module.mjs +0 -95
- package/esm2022/layout/src/models/onem-language.model.mjs +0 -2
- package/esm2022/layout/src/models/onemrva-profile.model.mjs +0 -46
- package/esm2022/layout/src/services/drawer.service.mjs +0 -31
- package/esm2022/layout/src/striphtml.pipe.mjs +0 -16
- package/esm2022/mat-avatar/index.mjs +0 -3
- package/esm2022/mat-avatar/onemrvapublic-design-system-mat-avatar.mjs +0 -5
- package/esm2022/mat-avatar/src/onemrva-mat-avatar.component.mjs +0 -440
- package/esm2022/mat-avatar/src/onemrva-mat-avatar.module.mjs +0 -19
- package/esm2022/mat-badge/index.mjs +0 -6
- package/esm2022/mat-badge/onemrvapublic-design-system-mat-badge.mjs +0 -5
- package/esm2022/mat-badge/src/onemrva-mat-badge.component.mjs +0 -250
- package/esm2022/mat-badge/src/onemrva-mat-badge.module.mjs +0 -16
- package/esm2022/mat-breadcrumb/index.mjs +0 -7
- package/esm2022/mat-breadcrumb/onemrvapublic-design-system-mat-breadcrumb.mjs +0 -5
- package/esm2022/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.mjs +0 -19
- package/esm2022/mat-breadcrumb/src/onemrva-mat-breadcrumb.model.mjs +0 -2
- package/esm2022/mat-breadcrumb/src/onemrva-mat-breadcrumb.module.mjs +0 -20
- package/esm2022/mat-breadcrumb/src/onemrva-mat-breadcrumb.service.mjs +0 -59
- package/esm2022/mat-carousel/index.mjs +0 -3
- package/esm2022/mat-carousel/onemrvapublic-design-system-mat-carousel.mjs +0 -5
- package/esm2022/mat-carousel/src/mat-carousel-item/onemrva-mat-carousel-item.component.mjs +0 -23
- package/esm2022/mat-carousel/src/onemrva-mat-carousel.component.mjs +0 -175
- package/esm2022/mat-copy-to-clipboard/index.mjs +0 -2
- package/esm2022/mat-copy-to-clipboard/onemrvapublic-design-system-mat-copy-to-clipboard.mjs +0 -5
- package/esm2022/mat-copy-to-clipboard/src/components/copy-to-clipboard.component.mjs +0 -85
- package/esm2022/mat-datepicker-header/index.mjs +0 -5
- package/esm2022/mat-datepicker-header/onemrvapublic-design-system-mat-datepicker-header.mjs +0 -5
- package/esm2022/mat-datepicker-header/src/onemrva-mat-datepicker-header.component.mjs +0 -203
- package/esm2022/mat-empty-row/index.mjs +0 -2
- package/esm2022/mat-empty-row/onemrvapublic-design-system-mat-empty-row.mjs +0 -5
- package/esm2022/mat-empty-row/src/onemrva-mat-empty-row.component.mjs +0 -35
- package/esm2022/mat-file-upload/index.mjs +0 -11
- package/esm2022/mat-file-upload/onemrvapublic-design-system-mat-file-upload.mjs +0 -5
- package/esm2022/mat-file-upload/src/components/index.mjs +0 -9
- package/esm2022/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.mjs +0 -88
- package/esm2022/mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.mjs +0 -195
- package/esm2022/mat-file-upload/src/directives/dnd.directive.mjs +0 -53
- package/esm2022/mat-file-upload/src/models/action-config.model.mjs +0 -2
- package/esm2022/mat-file-upload/src/models/progress-file.model.mjs +0 -49
- package/esm2022/mat-file-upload/src/onemrva-mat-file-upload-itf.store.mjs +0 -2
- package/esm2022/mat-file-upload/src/onemrva-mat-file-upload.module.mjs +0 -51
- package/esm2022/mat-file-upload/src/onemrva-mat-file-upload.service.mjs +0 -49
- package/esm2022/mat-file-upload/src/onemrva-mat-file-upload.store.mjs +0 -320
- package/esm2022/mat-input-birthplace/index.mjs +0 -5
- package/esm2022/mat-input-birthplace/onemrvapublic-design-system-mat-input-birthplace.mjs +0 -5
- package/esm2022/mat-input-birthplace/src/country-item.component.mjs +0 -31
- package/esm2022/mat-input-birthplace/src/onemrva-mat-input-birthplace.component.mjs +0 -120
- package/esm2022/mat-input-country/index.mjs +0 -5
- package/esm2022/mat-input-country/onemrvapublic-design-system-mat-input-country.mjs +0 -5
- package/esm2022/mat-input-country/src/onemrva-mat-input-country.component.mjs +0 -90
- package/esm2022/mat-input-enterprise-number/index.mjs +0 -5
- package/esm2022/mat-input-enterprise-number/onemrvapublic-design-system-mat-input-enterprise-number.mjs +0 -5
- package/esm2022/mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.mjs +0 -180
- package/esm2022/mat-input-iban/index.mjs +0 -5
- package/esm2022/mat-input-iban/onemrvapublic-design-system-mat-input-iban.mjs +0 -5
- package/esm2022/mat-input-iban/src/onemrva-mat-input-iban.component.mjs +0 -295
- package/esm2022/mat-input-phone/index.mjs +0 -6
- package/esm2022/mat-input-phone/onemrvapublic-design-system-mat-input-phone.mjs +0 -5
- package/esm2022/mat-input-phone/src/onemrva-mat-input-phone.component.mjs +0 -234
- package/esm2022/mat-input-phone/src/phone-number.directive.mjs +0 -51
- package/esm2022/mat-message-box/index.mjs +0 -3
- package/esm2022/mat-message-box/onemrvapublic-design-system-mat-message-box.mjs +0 -5
- package/esm2022/mat-message-box/src/onemrva-mat-message-box.component.mjs +0 -175
- package/esm2022/mat-message-box/src/onemrva-mat-message-box.module.mjs +0 -20
- package/esm2022/mat-multi-select/index.mjs +0 -3
- package/esm2022/mat-multi-select/onemrvapublic-design-system-mat-multi-select.mjs +0 -5
- package/esm2022/mat-multi-select/src/onemrva-mat-multi-select.component.mjs +0 -200
- package/esm2022/mat-multi-select/src/onemrva-mat-multi-select.module.mjs +0 -51
- package/esm2022/mat-notification/index.mjs +0 -2
- package/esm2022/mat-notification/onemrvapublic-design-system-mat-notification.mjs +0 -5
- package/esm2022/mat-notification/src/onemrva-mat-notification.component.mjs +0 -165
- package/esm2022/mat-paginator/index.mjs +0 -6
- package/esm2022/mat-paginator/onemrvapublic-design-system-mat-paginator.mjs +0 -5
- package/esm2022/mat-paginator/src/onemrva-mat-paginator.component.mjs +0 -217
- package/esm2022/mat-paginator/src/onemrva-mat-paginator.module.mjs +0 -36
- package/esm2022/mat-panel/index.mjs +0 -7
- package/esm2022/mat-panel/onemrvapublic-design-system-mat-panel.mjs +0 -5
- package/esm2022/mat-panel/src/onemrva-mat-panel-content.component.mjs +0 -17
- package/esm2022/mat-panel/src/onemrva-mat-panel-icon.component.mjs +0 -17
- package/esm2022/mat-panel/src/onemrva-mat-panel-title-action.component.mjs +0 -17
- package/esm2022/mat-panel/src/onemrva-mat-panel-title.component.mjs +0 -27
- package/esm2022/mat-panel/src/onemrva-mat-panel.component.mjs +0 -132
- package/esm2022/mat-panel/src/onemrva-mat-panel.module.mjs +0 -42
- package/esm2022/mat-pop-over/index.mjs +0 -5
- package/esm2022/mat-pop-over/onemrvapublic-design-system-mat-pop-over.mjs +0 -5
- package/esm2022/mat-pop-over/src/onemrva-mat-pop-over-content.component.mjs +0 -23
- package/esm2022/mat-pop-over/src/onemrva-mat-pop-over-trigger.component.mjs +0 -23
- package/esm2022/mat-pop-over/src/onemrva-mat-pop-over.component.mjs +0 -46
- package/esm2022/mat-pop-over/src/onemrva-mat-pop-over.module.mjs +0 -30
- package/esm2022/mat-progress-bar/index.mjs +0 -2
- package/esm2022/mat-progress-bar/onemrvapublic-design-system-mat-progress-bar.mjs +0 -5
- package/esm2022/mat-progress-bar/src/onemrva-mat-progress-bar.component.mjs +0 -29
- package/esm2022/mat-select-search/index.mjs +0 -4
- package/esm2022/mat-select-search/onemrvapublic-design-system-mat-select-search.mjs +0 -5
- package/esm2022/mat-select-search/src/default-options.mjs +0 -35
- package/esm2022/mat-select-search/src/mat-select-no-entries-found.directive.mjs +0 -22
- package/esm2022/mat-select-search/src/mat-select-search-clear.directive.mjs +0 -20
- package/esm2022/mat-select-search/src/mat-select-search.component.mjs +0 -589
- package/esm2022/mat-select-search/src/mat-select-search.module.mjs +0 -79
- package/esm2022/mat-selectable-box/index.mjs +0 -6
- package/esm2022/mat-selectable-box/onemrvapublic-design-system-mat-selectable-box.mjs +0 -5
- package/esm2022/mat-selectable-box/src/onemrva-mat-selectable-box.component.mjs +0 -56
- package/esm2022/mat-selectable-box/src/onemrva-mat-selectable-box.module.mjs +0 -56
- package/esm2022/mat-side-menu/index.mjs +0 -6
- package/esm2022/mat-side-menu/onemrvapublic-design-system-mat-side-menu.mjs +0 -5
- package/esm2022/mat-side-menu/src/onemrva-mat-side-menu.component.mjs +0 -48
- package/esm2022/mat-side-menu/src/onemrva-mat-side-menu.module.mjs +0 -21
- package/esm2022/mat-skeleton/index.mjs +0 -4
- package/esm2022/mat-skeleton/onemrvapublic-design-system-mat-skeleton.mjs +0 -5
- package/esm2022/mat-skeleton/src/onemrva-mat-skeleton-enums.mjs +0 -20
- package/esm2022/mat-skeleton/src/onemrva-mat-skeleton.component.mjs +0 -202
- package/esm2022/mat-skeleton/src/onemrva-mat-skeleton.module.mjs +0 -18
- package/esm2022/mat-spinner/index.mjs +0 -7
- package/esm2022/mat-spinner/onemrvapublic-design-system-mat-spinner.mjs +0 -5
- package/esm2022/mat-spinner/src/onemrva-mat-loading.directive.mjs +0 -33
- package/esm2022/mat-spinner/src/onemrva-mat-spinner.component.mjs +0 -73
- package/esm2022/mat-spinner/src/onemrva-mat-spinner.module.mjs +0 -18
- package/esm2022/mat-stepper/index.mjs +0 -6
- package/esm2022/mat-stepper/onemrvapublic-design-system-mat-stepper.mjs +0 -5
- package/esm2022/mat-stepper/src/onemrva-mat-stepper.component.mjs +0 -74
- package/esm2022/mat-stepper/src/onemrva-mat-stepper.module.mjs +0 -44
- package/esm2022/mat-stepper/src/onemrva-stepper-animations.mjs +0 -28
- package/esm2022/mat-sticker/index.mjs +0 -6
- package/esm2022/mat-sticker/onemrvapublic-design-system-mat-sticker.mjs +0 -5
- package/esm2022/mat-sticker/src/onemrva-mat-sticker.component.mjs +0 -69
- package/esm2022/mat-sticker/src/onemrva-mat-sticker.module.mjs +0 -18
- package/esm2022/mat-table-of-content/index.mjs +0 -8
- package/esm2022/mat-table-of-content/onemrvapublic-design-system-mat-table-of-content.mjs +0 -5
- package/esm2022/mat-table-of-content/src/onemrva-mat-table-of-content.component.mjs +0 -104
- package/esm2022/mat-table-of-content/src/onemrva-mat-table-of-content.directive.mjs +0 -60
- package/esm2022/mat-table-of-content/src/onemrva-mat-table-of-content.service.mjs +0 -46
- package/esm2022/mat-table-of-content/src/onemrva-mat-toc-anchor.model.mjs +0 -11
- package/esm2022/mat-task-list/index.mjs +0 -6
- package/esm2022/mat-task-list/onemrvapublic-design-system-mat-task-list.mjs +0 -5
- package/esm2022/mat-task-list/src/onemrva-mat-task-content.component.mjs +0 -17
- package/esm2022/mat-task-list/src/onemrva-mat-task-list.component.mjs +0 -36
- package/esm2022/mat-task-list/src/onemrva-mat-task-list.module.mjs +0 -51
- package/esm2022/mat-task-list/src/onemrva-mat-task-title.component.mjs +0 -23
- package/esm2022/mat-task-list/src/onemrva-mat-task.component.mjs +0 -140
- package/esm2022/mat-timepicker/index.mjs +0 -7
- package/esm2022/mat-timepicker/onemrvapublic-design-system-mat-timepicker.mjs +0 -5
- package/esm2022/mat-timepicker/src/clock/clock.component.mjs +0 -232
- package/esm2022/mat-timepicker/src/interfaces-and-types.mjs +0 -2
- package/esm2022/mat-timepicker/src/onemrva-mat-timepicker.component.mjs +0 -279
- package/esm2022/mat-timepicker/src/onemrva-mat-timepicker.module.mjs +0 -62
- package/esm2022/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.mjs +0 -129
- package/esm2022/mat-timepicker/src/timepicker-toggle/timepicker-toggle.component.mjs +0 -115
- package/esm2022/mat-timepicker/src/timepicker.directive.mjs +0 -512
- package/esm2022/mat-timepicker/src/util.mjs +0 -83
- package/esm2022/mat-toast/index.mjs +0 -6
- package/esm2022/mat-toast/onemrvapublic-design-system-mat-toast.mjs +0 -5
- package/esm2022/mat-toast/src/onemrva-mat-toast.component.mjs +0 -52
- package/esm2022/mat-toast/src/onemrva-mat-toast.module.mjs +0 -19
- package/esm2022/mat-tooltip/index.mjs +0 -5
- package/esm2022/mat-tooltip/onemrvapublic-design-system-mat-tooltip.mjs +0 -5
- package/esm2022/mat-tooltip/src/onemrva-mat-tooltip.component.mjs +0 -36
- package/esm2022/mat-tooltip/src/onemrva-mat-tooltip.directive.mjs +0 -111
- package/esm2022/mat-tooltip/src/onemrva-mat-tooltip.module.mjs +0 -19
- package/esm2022/onemrvapublic-design-system.mjs +0 -5
- package/esm2022/page-error/index.mjs +0 -3
- package/esm2022/page-error/onemrvapublic-design-system-page-error.mjs +0 -5
- package/esm2022/page-error/src/page-error-action.component.mjs +0 -18
- package/esm2022/page-error/src/page-error.component.mjs +0 -61
- package/esm2022/page-not-found/index.mjs +0 -6
- package/esm2022/page-not-found/onemrvapublic-design-system-page-not-found.mjs +0 -5
- package/esm2022/page-not-found/src/page-not-found-action.component.mjs +0 -17
- package/esm2022/page-not-found/src/page-not-found-extra.component.mjs +0 -17
- package/esm2022/page-not-found/src/page-not-found-invader.component.mjs +0 -94
- package/esm2022/page-not-found/src/page-not-found.component.mjs +0 -54
- package/esm2022/page-not-found/src/page-not-found.module.mjs +0 -38
- package/esm2022/public-api.mjs +0 -5
- package/esm2022/shared/index.mjs +0 -19
- package/esm2022/shared/onemrvapublic-design-system-shared.mjs +0 -5
- package/esm2022/shared/src/lib/adapters/index.mjs +0 -3
- package/esm2022/shared/src/lib/adapters/luxon.date.adapter.mjs +0 -251
- package/esm2022/shared/src/lib/adapters/luxon.utils.mjs +0 -23
- package/esm2022/shared/src/lib/adapters/native.date.adapter.mjs +0 -66
- package/esm2022/shared/src/lib/components/clipboard-icon/clipboard-icon.component.mjs +0 -20
- package/esm2022/shared/src/lib/components/index.mjs +0 -2
- package/esm2022/shared/src/lib/constants/CDNUrlModeOptions.mjs +0 -6
- package/esm2022/shared/src/lib/constants/cdn.mjs +0 -3
- package/esm2022/shared/src/lib/constants/constants.mjs +0 -7
- package/esm2022/shared/src/lib/constants/date.format.mjs +0 -95
- package/esm2022/shared/src/lib/constants/index.mjs +0 -5
- package/esm2022/shared/src/lib/containers/WebComponentOverlayContainer.mjs +0 -84
- package/esm2022/shared/src/lib/containers/index.mjs +0 -2
- package/esm2022/shared/src/lib/decorators/HttpCacheDecorator.mjs +0 -123
- package/esm2022/shared/src/lib/decorators/index.mjs +0 -2
- package/esm2022/shared/src/lib/directives/clipboard.directive.mjs +0 -39
- package/esm2022/shared/src/lib/directives/color.directive.mjs +0 -64
- package/esm2022/shared/src/lib/directives/digit-only.directive.mjs +0 -52
- package/esm2022/shared/src/lib/directives/iconRight.directive.mjs +0 -22
- package/esm2022/shared/src/lib/directives/if-width-is.directive.mjs +0 -34
- package/esm2022/shared/src/lib/directives/index.mjs +0 -24
- package/esm2022/shared/src/lib/directives/mask.directive.mjs +0 -198
- package/esm2022/shared/src/lib/directives/mat-row-clickable.directive.mjs +0 -74
- package/esm2022/shared/src/lib/helpers/index.mjs +0 -2
- package/esm2022/shared/src/lib/helpers/translation-helper.mjs +0 -58
- package/esm2022/shared/src/lib/interfaces/OnemRvaCommonCountry.interface.mjs +0 -2
- package/esm2022/shared/src/lib/interfaces/index.mjs +0 -2
- package/esm2022/shared/src/lib/loaders/index.mjs +0 -3
- package/esm2022/shared/src/lib/loaders/onemrva-translate-cdn-loader.mjs +0 -15
- package/esm2022/shared/src/lib/loaders/onemrva-translate-http-loader.mjs +0 -30
- package/esm2022/shared/src/lib/pipes/index.mjs +0 -3
- package/esm2022/shared/src/lib/pipes/onemrva-bce.pipe.mjs +0 -20
- package/esm2022/shared/src/lib/pipes/onemrva-niss.pipe.mjs +0 -20
- package/esm2022/shared/src/lib/providers/index.mjs +0 -5
- package/esm2022/shared/src/lib/providers/onemrva.date.luxon.provider.mjs +0 -16
- package/esm2022/shared/src/lib/providers/onemrva.date.luxon.year.month.provider.mjs +0 -16
- package/esm2022/shared/src/lib/providers/onemrva.date.native.provider.mjs +0 -16
- package/esm2022/shared/src/lib/providers/onemrva.date.native.year.month.provider.mjs +0 -16
- package/esm2022/shared/src/lib/services/cache.service.mjs +0 -31
- package/esm2022/shared/src/lib/services/cdn.service.mjs +0 -105
- package/esm2022/shared/src/lib/services/country-cdn.service.mjs +0 -75
- package/esm2022/shared/src/lib/services/country-lookup.service.mjs +0 -43
- package/esm2022/shared/src/lib/services/index.mjs +0 -5
- package/esm2022/shared/src/lib/services/mime-cdn.service.mjs +0 -45
- package/esm2022/shared/src/lib/shared.module.mjs +0 -25
- package/esm2022/shared/src/lib/tokens/index.mjs +0 -2
- package/esm2022/shared/src/lib/tokens/lookup.token.mjs +0 -7
- package/esm2022/shared/src/lib/validators/bank-account.validator.utils.mjs +0 -56
- package/esm2022/shared/src/lib/validators/index.mjs +0 -3
- package/esm2022/shared/src/lib/validators/onemrva-validators.mjs +0 -75
- package/esm2022/utils/index.mjs +0 -3
- package/esm2022/utils/onemrvapublic-design-system-utils.mjs +0 -5
- package/esm2022/utils/src/enum.utils.mjs +0 -7
- package/esm2022/utils/src/enums/color.enum.mjs +0 -12
- package/esm2022/utils/src/enums/index.mjs +0 -3
- package/esm2022/utils/src/enums/size.enum.mjs +0 -9
- package/fesm2022/onemrvapublic-design-system-mat-badge.mjs +0 -274
- package/fesm2022/onemrvapublic-design-system-mat-badge.mjs.map +0 -1
- package/mat-badge/index.d.ts +0 -2
- package/mat-badge/src/onemrva-mat-badge.component.d.ts +0 -89
- package/mat-badge/src/onemrva-mat-badge.component.scss +0 -157
- package/mat-badge/src/onemrva-mat-badge.module.d.ts +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onemrvapublic-design-system-mat-stepper.mjs","sources":["../../../../projects/onemrva/design-system/mat-stepper/src/onemrva-stepper-animations.ts","../../../../projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.component.ts","../../../../projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.html","../../../../projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.module.ts","../../../../projects/onemrva/design-system/mat-stepper/index.ts","../../../../projects/onemrva/design-system/mat-stepper/onemrvapublic-design-system-mat-stepper.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nexport const DEFAULT_VERTICAL_ANIMATION_DURATION = '225ms';\n\n/**\n * Animations used by the Material steppers.\n * @docs-private\n */\nexport const onemrvaMatStepperAnimations: {\n readonly verticalStepTransition: AnimationTriggerMetadata;\n} = {\n /** Animation that transitions the step along the Y axis in a vertical summary-stepper. */\n verticalStepTransition: trigger('verticalStepTransition', [\n state('previous', style({ height: '*', visibility: 'inherit' })),\n state('next', style({ height: '0px', visibility: 'hidden' })),\n // Transition to `inherit`, rather than `visible`,\n // because visibility on a child element the one from the parent,\n // making this element focusable inside of a `hidden` element.\n state('current', style({ height: '*', visibility: 'inherit' })),\n transition(\n '* <=> current',\n animate('{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)'),\n {\n params: { animationDuration: DEFAULT_VERTICAL_ANIMATION_DURATION },\n },\n ),\n ]),\n};\n","import { Directionality } from '@angular/cdk/bidi';\nimport { CdkStepper, StepperOrientation } from '@angular/cdk/stepper';\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n HostBinding,\n Input,\n OnDestroy,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { onemrvaMatStepperAnimations } from './onemrva-stepper-animations';\nimport { MatStepper } from '@angular/material/stepper';\nimport { ObservableInput, Subject, takeUntil } from 'rxjs';\n\n@Component({\n selector:\n 'onemrva-mat-stepper, onemrva-mat-vertical-stepper, [onemrvaMatStepper]',\n exportAs: 'matStepper, matVerticalStepper, matHorizontalStepper',\n templateUrl: 'onemrva-mat-stepper.html',\n styleUrls: ['onemrva-mat-stepper.scss'],\n // eslint-disable-next-line\n inputs: ['selectedIndex'],\n animations: [onemrvaMatStepperAnimations.verticalStepTransition],\n providers: [\n { provide: MatStepper, useExisting: OnemrvaMatStepperComponent },\n { provide: CdkStepper, useExisting: MatStepper },\n ],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class OnemrvaMatStepperComponent\n extends MatStepper\n implements AfterContentInit, OnDestroy\n{\n destroyNotifier$: Subject<void> = new Subject<void>();\n\n /** Orientation of the summary-stepper. */\n @Input()\n override get orientation(): StepperOrientation {\n return 'vertical';\n }\n\n @HostBinding('class.mat-stepper-vertical') matStepperVertical = true;\n @HostBinding('attr.aria-orientation') ariaOrientation = 'vertical';\n @HostBinding('role') role = 'tablist';\n\n // eslint-disable-next-line @typescript-eslint/adjacent-overload-signatures\n override set orientation(value: StepperOrientation) {\n this.matStepperVertical = true;\n }\n\n scrollToElement(elementId: string): void {\n const element = document.getElementById(elementId);\n if (element) {\n const yOffset = -100; // Optional: offset from the top for better positioning\n const y =\n element.getBoundingClientRect().top + window.pageYOffset + yOffset;\n window.scrollTo({ top: y, behavior: 'smooth' });\n }\n }\n\n constructor(\n @Optional() dir: Directionality,\n changeDetectorRef: ChangeDetectorRef,\n elementRef: ElementRef<HTMLElement>,\n ) {\n super(dir, changeDetectorRef, elementRef);\n\n this.selectionChange\n .pipe(takeUntil(this.destroyNotifier$))\n .subscribe(value => {\n const timeBeforeScroll = parseInt(this.animationDuration || '0') + 400;\n setTimeout(() => {\n const el = `cdk-step-label-${this._groupId}-${value.selectedIndex}`;\n this.scrollToElement(el);\n }, timeBeforeScroll);\n });\n }\n\n override ngOnDestroy(): void {\n super.ngOnDestroy();\n this.destroyNotifier$.next();\n this.destroyNotifier$.complete();\n }\n}\n","<!-- Vertical summary-stepper -->\n<ng-container>\n <div\n class=\"mat-step\"\n *ngFor=\"let step of steps; let i = index; let isLast = last\"\n >\n <ng-container\n [ngTemplateOutlet]=\"stepTemplate\"\n [ngTemplateOutletContext]=\"{step: step, i: i}\"\n ></ng-container>\n <div\n class=\"mat-vertical-content-container\"\n [class.mat-stepper-vertical-line]=\"!isLast\"\n >\n <div\n class=\"mat-vertical-stepper-content\"\n role=\"tabpanel\"\n [@verticalStepTransition]=\"{\n 'value': _getAnimationDirection(i),\n 'params': {'animationDuration': _getAnimationDuration()}\n }\"\n (@verticalStepTransition.done)=\"_animationDone.next($event)\"\n [id]=\"_getStepContentId(i)\"\n [attr.aria-labelledby]=\"_getStepLabelId(i)\"\n [attr.aria-expanded]=\"selectedIndex === i\"\n >\n <div class=\"mat-vertical-content\">\n <ng-container [ngTemplateOutlet]=\"step.content\"></ng-container>\n </div>\n </div>\n </div>\n </div>\n</ng-container>\n\n<!-- Common step templating -->\n<ng-template let-step=\"step\" let-i=\"i\" #stepTemplate>\n <mat-step-header\n [class.mat-horizontal-stepper-header]=\"orientation === 'horizontal'\"\n [class.mat-vertical-stepper-header]=\"orientation === 'vertical'\"\n (click)=\"step.select()\"\n (keydown)=\"_onKeydown($event)\"\n [tabIndex]=\"_getFocusIndex() === i ? 0 : -1\"\n [id]=\"_getStepLabelId(i)\"\n [attr.aria-posinset]=\"i + 1\"\n [attr.aria-setsize]=\"steps.length\"\n [attr.aria-controls]=\"_getStepContentId(i)\"\n [attr.aria-selected]=\"selectedIndex === i\"\n [attr.aria-label]=\"step.ariaLabel || null\"\n [attr.aria-labelledby]=\"(!step.ariaLabel && step.ariaLabelledby) ? step.ariaLabelledby : null\"\n [attr.aria-disabled]=\"_stepIsNavigable(i, step) ? null : true\"\n [index]=\"i\"\n [state]=\"_getIndicatorType(i, step.state)\"\n [label]=\"step.stepLabel || step.label\"\n [selected]=\"selectedIndex === i\"\n [active]=\"_stepIsNavigable(i, step)\"\n [optional]=\"step.optional\"\n [errorMessage]=\"step.errorMessage\"\n [iconOverrides]=\"_iconOverrides\"\n [disableRipple]=\"disableRipple || !_stepIsNavigable(i, step)\"\n ></mat-step-header>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { OnemrvaMatStepperComponent } from './onemrva-mat-stepper.component';\nimport { CommonModule } from '@angular/common';\nimport { MatCommonModule, MatRippleModule } from '@angular/material/core';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { CdkStepperModule } from '@angular/cdk/stepper';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatStepperModule } from '@angular/material/stepper';\n\n@NgModule({\n imports: [\n MatCommonModule,\n CommonModule,\n PortalModule,\n CdkStepperModule,\n MatIconModule,\n MatRippleModule,\n MatStepperModule,\n ],\n exports: [MatCommonModule, MatStepperModule, OnemrvaMatStepperComponent],\n declarations: [OnemrvaMatStepperComponent],\n providers: [],\n})\nexport class OnemrvaMatStepperModule {}\n","/*\n * Public API Surface of mat-summary-stepper\n */\n\nexport * from './src/onemrva-mat-stepper.component';\nexport * from './src/onemrva-mat-stepper.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA;;;;;;AAMG;AAUI,MAAM,mCAAmC,GAAG,OAAO,CAAC;AAE3D;;;AAGG;AACI,MAAM,2BAA2B,GAEpC;;AAEF,IAAA,sBAAsB,EAAE,OAAO,CAAC,wBAAwB,EAAE;AACxD,QAAA,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,CAAC;AAChE,QAAA,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CAAC;;;;AAI7D,QAAA,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,CAAC;AAC/D,QAAA,UAAU,CACR,eAAe,EACf,OAAO,CAAC,sDAAsD,CAAC,EAC/D;AACE,YAAA,MAAM,EAAE,EAAE,iBAAiB,EAA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AA;kBAdnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,eAAe;wBACf,YAAY;wBACZ,YAAY;wBACZ,gBAAgB;wBAChB,aAAa;wBACb,eAAe;wBACf,gBAAgB;AACjB,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,gBAAgB,EAAE,0BAA0B,CAAC;oBACxE,YAAY,EAAE,CAAC,0BAA0B,CAAC;AAC1C,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACtBD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"onemrvapublic-design-system-mat-stepper.mjs","sources":["../../../../projects/onemrva/design-system/mat-stepper/src/onemrva-stepper-animations.ts","../../../../projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.component.ts","../../../../projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.html","../../../../projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.module.ts","../../../../projects/onemrva/design-system/mat-stepper/index.ts","../../../../projects/onemrva/design-system/mat-stepper/onemrvapublic-design-system-mat-stepper.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport {\n animate,\n state,\n style,\n transition,\n trigger,\n AnimationTriggerMetadata,\n} from '@angular/animations';\n\nexport const DEFAULT_VERTICAL_ANIMATION_DURATION = '225ms';\n\n/**\n * Animations used by the Material steppers.\n * @docs-private\n */\nexport const onemrvaMatStepperAnimations: {\n readonly verticalStepTransition: AnimationTriggerMetadata;\n} = {\n /** Animation that transitions the step along the Y axis in a vertical summary-stepper. */\n verticalStepTransition: trigger('verticalStepTransition', [\n state('previous', style({ height: '*', visibility: 'inherit' })),\n state('next', style({ height: '0px', visibility: 'hidden' })),\n // Transition to `inherit`, rather than `visible`,\n // because visibility on a child element the one from the parent,\n // making this element focusable inside of a `hidden` element.\n state('current', style({ height: '*', visibility: 'inherit' })),\n transition(\n '* <=> current',\n animate('{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)'),\n {\n params: { animationDuration: DEFAULT_VERTICAL_ANIMATION_DURATION },\n },\n ),\n ]),\n};\n","import { Directionality } from '@angular/cdk/bidi';\nimport { CdkStepper, StepperOrientation } from '@angular/cdk/stepper';\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n HostBinding,\n Input,\n OnDestroy,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { onemrvaMatStepperAnimations } from './onemrva-stepper-animations';\nimport { MatStepHeader, MatStepper } from '@angular/material/stepper';\nimport { Subject, takeUntil } from 'rxjs';\nimport { NgForOf, NgTemplateOutlet } from '@angular/common';\n\n@Component({\n selector:\n 'onemrva-mat-stepper, onemrva-mat-vertical-stepper, [onemrvaMatStepper]',\n exportAs: 'matStepper, matVerticalStepper, matHorizontalStepper',\n templateUrl: 'onemrva-mat-stepper.html',\n styleUrls: ['onemrva-mat-stepper.scss'],\n // eslint-disable-next-line\n inputs: ['selectedIndex'],\n animations: [onemrvaMatStepperAnimations.verticalStepTransition],\n providers: [\n { provide: MatStepper, useExisting: OnemrvaMatStepperComponent },\n { provide: CdkStepper, useExisting: MatStepper },\n ],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [NgForOf, NgTemplateOutlet, MatStepHeader],\n})\nexport class OnemrvaMatStepperComponent\n extends MatStepper\n implements AfterContentInit, OnDestroy\n{\n destroyNotifier$: Subject<void> = new Subject<void>();\n\n /** Orientation of the summary-stepper. */\n @Input()\n override get orientation(): StepperOrientation {\n return 'vertical';\n }\n\n @HostBinding('class.mat-stepper-vertical') matStepperVertical = true;\n @HostBinding('attr.aria-orientation') ariaOrientation = 'vertical';\n @HostBinding('role') role = 'tablist';\n\n // eslint-disable-next-line @typescript-eslint/adjacent-overload-signatures\n override set orientation(value: StepperOrientation) {\n this.matStepperVertical = true;\n }\n\n scrollToElement(elementId: string): void {\n const element = document.getElementById(elementId);\n if (element) {\n const yOffset = -100; // Optional: offset from the top for better positioning\n const y =\n element.getBoundingClientRect().top + window.pageYOffset + yOffset;\n window.scrollTo({ top: y, behavior: 'smooth' });\n }\n }\n\n constructor(\n @Optional() dir: Directionality,\n changeDetectorRef: ChangeDetectorRef,\n elementRef: ElementRef<HTMLElement>,\n ) {\n super(dir, changeDetectorRef, elementRef);\n\n this.selectionChange\n .pipe(takeUntil(this.destroyNotifier$))\n .subscribe(value => {\n const timeBeforeScroll = parseInt(this.animationDuration || '0') + 400;\n setTimeout(() => {\n const el = `cdk-step-label-${this._getStepLabelId(value.selectedIndex)}`; // TODO check ??\n this.scrollToElement(el);\n }, timeBeforeScroll);\n });\n }\n\n override ngOnDestroy(): void {\n super.ngOnDestroy();\n this.destroyNotifier$.next();\n this.destroyNotifier$.complete();\n }\n}\n","<!-- Vertical summary-stepper -->\n<ng-container>\n <div\n class=\"mat-step\"\n *ngFor=\"let step of steps; let i = index; let isLast = last\"\n >\n <ng-container\n [ngTemplateOutlet]=\"stepTemplate\"\n [ngTemplateOutletContext]=\"{step: step, i: i}\"\n ></ng-container>\n <div\n class=\"mat-vertical-content-container\"\n [class.mat-stepper-vertical-line]=\"!isLast\"\n >\n <div\n class=\"mat-vertical-stepper-content\"\n role=\"tabpanel\"\n [@verticalStepTransition]=\"{\n 'value': _getAnimationDirection(i),\n 'params': {'animationDuration': _getAnimationDuration()}\n }\"\n (@verticalStepTransition.done)=\"_animationDone.next($event)\"\n [id]=\"_getStepContentId(i)\"\n [attr.aria-labelledby]=\"_getStepLabelId(i)\"\n [attr.aria-expanded]=\"selectedIndex === i\"\n >\n <div class=\"mat-vertical-content\">\n <ng-container [ngTemplateOutlet]=\"step.content\"></ng-container>\n </div>\n </div>\n </div>\n </div>\n</ng-container>\n\n<!-- Common step templating -->\n<ng-template let-step=\"step\" let-i=\"i\" #stepTemplate>\n <mat-step-header\n [class.mat-horizontal-stepper-header]=\"orientation === 'horizontal'\"\n [class.mat-vertical-stepper-header]=\"orientation === 'vertical'\"\n (click)=\"step.select()\"\n (keydown)=\"_onKeydown($event)\"\n [tabIndex]=\"_getFocusIndex() === i ? 0 : -1\"\n [id]=\"_getStepLabelId(i)\"\n [attr.aria-posinset]=\"i + 1\"\n [attr.aria-setsize]=\"steps.length\"\n [attr.aria-controls]=\"_getStepContentId(i)\"\n [attr.aria-selected]=\"selectedIndex === i\"\n [attr.aria-label]=\"step.ariaLabel || null\"\n [attr.aria-labelledby]=\"(!step.ariaLabel && step.ariaLabelledby) ? step.ariaLabelledby : null\"\n [attr.aria-disabled]=\"_stepIsNavigable(i, step) ? null : true\"\n [index]=\"i\"\n [state]=\"_getIndicatorType(i, step.state)\"\n [label]=\"step.stepLabel || step.label\"\n [selected]=\"selectedIndex === i\"\n [active]=\"_stepIsNavigable(i, step)\"\n [optional]=\"step.optional\"\n [errorMessage]=\"step.errorMessage\"\n [iconOverrides]=\"_iconOverrides\"\n [disableRipple]=\"disableRipple || !_stepIsNavigable(i, step)\"\n ></mat-step-header>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { OnemrvaMatStepperComponent } from './onemrva-mat-stepper.component';\nimport { CommonModule } from '@angular/common';\nimport { MatCommonModule, MatRippleModule } from '@angular/material/core';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { CdkStepperModule } from '@angular/cdk/stepper';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatStepperModule } from '@angular/material/stepper';\n\n@NgModule({\n imports: [OnemrvaMatStepperComponent],\n exports: [MatStepperModule, OnemrvaMatStepperComponent],\n declarations: [],\n providers: [],\n})\nexport class OnemrvaMatStepperModule {}\n","/*\n * Public API Surface of mat-summary-stepper\n */\n\nexport * from './src/onemrva-mat-stepper.component';\nexport * from './src/onemrva-mat-stepper.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './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A,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,EALxB,OAAA,EAAA,CAAA,0BAA0B,CAC1B,EAAA,OAAA,EAAA,CAAA,gBAAgB,EAAE,0BAA0B,CAAA,EAAA,CAAA,CAAA;+GAI3C,uBAAuB,EAAA,OAAA,EAAA,CALxB,0BAA0B,EAC1B,gBAAgB,CAAA,EAAA,CAAA,CAAA;;2FAIf,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBANnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,0BAA0B,CAAC;AACrC,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,0BAA0B,CAAC;AACvD,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA;;;ACdD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Component, Input, HostBinding, NgModule } from '@angular/core';
|
|
3
3
|
import { OnemrvaMatColor } from '@onemrvapublic/design-system/utils';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
4
|
|
|
6
5
|
class OnemrvaMatStickerComponent {
|
|
7
6
|
constructor() {
|
|
@@ -35,14 +34,15 @@ class OnemrvaMatStickerComponent {
|
|
|
35
34
|
get _isGrayscale() {
|
|
36
35
|
return this.color === OnemrvaMatColor.GRAYSCALE;
|
|
37
36
|
}
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
39
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
37
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatStickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
38
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.6", type: OnemrvaMatStickerComponent, isStandalone: true, selector: "onemrva-mat-sticker", inputs: { color: "color" }, host: { properties: { "class.mat-primary": "this._isPrimary", "class.mat-accent": "this._isAccent", "class.mat-error": "this._isError", "class.mat-warn": "this._isWarn", "class.mat-success": "this._isSuccess", "class.mat-info": "this._isInfo", "class.mat-grayscale": "this._isGrayscale" } }, ngImport: i0, template: ` <ng-content></ng-content>`, isInline: true }); }
|
|
40
39
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatStickerComponent, decorators: [{
|
|
42
41
|
type: Component,
|
|
43
42
|
args: [{
|
|
44
43
|
selector: 'onemrva-mat-sticker',
|
|
45
|
-
template:
|
|
44
|
+
template: ` <ng-content></ng-content>`,
|
|
45
|
+
standalone: true,
|
|
46
46
|
}]
|
|
47
47
|
}], propDecorators: { color: [{
|
|
48
48
|
type: Input
|
|
@@ -70,15 +70,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
70
70
|
}] } });
|
|
71
71
|
|
|
72
72
|
class OnemrvaMatStickerModule {
|
|
73
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
74
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
75
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
73
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatStickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
74
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatStickerModule, imports: [OnemrvaMatStickerComponent], exports: [OnemrvaMatStickerComponent] }); }
|
|
75
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatStickerModule }); }
|
|
76
76
|
}
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatStickerModule, decorators: [{
|
|
78
78
|
type: NgModule,
|
|
79
79
|
args: [{
|
|
80
|
-
declarations: [
|
|
81
|
-
imports: [
|
|
80
|
+
declarations: [],
|
|
81
|
+
imports: [OnemrvaMatStickerComponent],
|
|
82
82
|
exports: [OnemrvaMatStickerComponent],
|
|
83
83
|
}]
|
|
84
84
|
}] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onemrvapublic-design-system-mat-sticker.mjs","sources":["../../../../projects/onemrva/design-system/mat-sticker/src/onemrva-mat-sticker.component.ts","../../../../projects/onemrva/design-system/mat-sticker/src/onemrva-mat-sticker.module.ts","../../../../projects/onemrva/design-system/mat-sticker/index.ts","../../../../projects/onemrva/design-system/mat-sticker/onemrvapublic-design-system-mat-sticker.ts"],"sourcesContent":["import { Component, HostBinding, Input } from '@angular/core';\nimport { OnemrvaMatColor } from '@onemrvapublic/design-system/utils';\n\nexport type StickerType =\n | 'info'\n | 'success'\n | 'warn'\n | 'error'\n | 'accent'\n | 'primary'\n | 'grayscale';\n\n@Component({\n selector: 'onemrva-mat-sticker',\n template:
|
|
1
|
+
{"version":3,"file":"onemrvapublic-design-system-mat-sticker.mjs","sources":["../../../../projects/onemrva/design-system/mat-sticker/src/onemrva-mat-sticker.component.ts","../../../../projects/onemrva/design-system/mat-sticker/src/onemrva-mat-sticker.module.ts","../../../../projects/onemrva/design-system/mat-sticker/index.ts","../../../../projects/onemrva/design-system/mat-sticker/onemrvapublic-design-system-mat-sticker.ts"],"sourcesContent":["import { Component, HostBinding, Input } from '@angular/core';\nimport { OnemrvaMatColor } from '@onemrvapublic/design-system/utils';\n\nexport type StickerType =\n | 'info'\n | 'success'\n | 'warn'\n | 'error'\n | 'accent'\n | 'primary'\n | 'grayscale';\n\n@Component({\n selector: 'onemrva-mat-sticker',\n template: ` <ng-content></ng-content>`,\n standalone: true,\n})\nexport class OnemrvaMatStickerComponent {\n @Input()\n color: OnemrvaMatColor = OnemrvaMatColor.PRIMARY;\n\n /** @hidden @internal */\n @HostBinding('class.mat-primary')\n public get _isPrimary(): boolean {\n return this.color === OnemrvaMatColor.PRIMARY;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-accent')\n public get _isAccent(): boolean {\n return this.color === OnemrvaMatColor.ACCENT;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-error')\n public get _isError(): boolean {\n return this.color === OnemrvaMatColor.ERROR;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-warn')\n public get _isWarn(): boolean {\n return this.color === OnemrvaMatColor.WARN;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-success')\n public get _isSuccess(): boolean {\n return this.color === OnemrvaMatColor.SUCCESS;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-info')\n public get _isInfo(): boolean {\n return this.color === OnemrvaMatColor.INFO;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-grayscale')\n public get _isGrayscale(): boolean {\n return this.color === OnemrvaMatColor.GRAYSCALE;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { OnemrvaMatStickerComponent } from './onemrva-mat-sticker.component';\n\n@NgModule({\n declarations: [],\n imports: [OnemrvaMatStickerComponent],\n exports: [OnemrvaMatStickerComponent],\n})\nexport class OnemrvaMatStickerModule {}\n","/*\n * Public API Surface of mat-sticker\n */\n\nexport * from './src/onemrva-mat-sticker.component';\nexport * from './src/onemrva-mat-sticker.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n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AAC/B,oBAAA,QAAQ,EAAE,CAA4B,0BAAA,CAAA;AACtC,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;8BAGC,KAAK,EAAA,CAAA;sBADJ;gBAKU,UAAU,EAAA,CAAA;sBADpB,WAAW;uBAAC,mBAAmB;gBAMrB,SAAS,EAAA,CAAA;sBADnB,WAAW;uBAAC,kBAAkB;gBAMpB,QAAQ,EAAA,CAAA;sBADlB,WAAW;uBAAC,iBAAiB;gBAMnB,OAAO,EAAA,CAAA;sBADjB,WAAW;uBAAC,gBAAgB;gBAMlB,UAAU,EAAA,CAAA;sBADpB,WAAW;uBAAC,mBAAmB;gBAMrB,OAAO,EAAA,CAAA;sBADjB,WAAW;uBAAC,gBAAgB;gBAMlB,YAAY,EAAA,CAAA;sBADtB,WAAW;uBAAC,qBAAqB;;;MC5CvB,uBAAuB,CAAA;8GAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAvB,uBAAuB,EAAA,OAAA,EAAA,CAHxB,0BAA0B,CAAA,EAAA,OAAA,EAAA,CAC1B,0BAA0B,CAAA,EAAA,CAAA,CAAA;+GAEzB,uBAAuB,EAAA,CAAA,CAAA;;2FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;oBAChB,OAAO,EAAE,CAAC,0BAA0B,CAAC;oBACrC,OAAO,EAAE,CAAC,0BAA0B,CAAC;AACtC,iBAAA;;;ACPD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -56,10 +56,10 @@ class OnemrvaMatTableOfContentService {
|
|
|
56
56
|
this._toc = {};
|
|
57
57
|
this._toc$.next(this._toc);
|
|
58
58
|
}
|
|
59
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
60
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
59
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTableOfContentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
60
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTableOfContentService }); }
|
|
61
61
|
}
|
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTableOfContentService, decorators: [{
|
|
63
63
|
type: Injectable
|
|
64
64
|
}] });
|
|
65
65
|
|
|
@@ -127,10 +127,10 @@ class OnemrvaMatTableOfContentComponent {
|
|
|
127
127
|
}
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
131
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
130
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTableOfContentComponent, deps: [{ token: OnemrvaMatTableOfContentService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
131
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.6", type: OnemrvaMatTableOfContentComponent, isStandalone: true, selector: "onemrva-mat-table-of-content", inputs: { titleKey: "titleKey", tocName: "tocName", dataCy: "dataCy", tableOfContentName: "tableOfContentName", scrollShift: "scrollShift" }, host: { listeners: { "window:scroll": "onScrollEvent($event)", "window:resize": "onResizeEvent($event)" }, properties: { "attr.data-cy": "this.dataCy" } }, ngImport: i0, template: "<div class=\"onemrva-mat-toc\">\n <h3 class=\"onemrva-mat-toc-title\">{{ titleKey | translate }}</h3>\n\n <mat-list>\n <mat-list-item\n *ngFor=\"let anchor of toc$ | async\"\n (click)=\"goTo(anchor)\"\n [ngClass]=\"{\n 'active-anchor': anchor.path === activePath,\n 'onemrva-anchor-for-subsection': anchor.level === level.SUBSECTION,\n 'onemrva-mat-hidden-toc-anchor': anchor.directive.hiddenInToc,\n }\"\n >\n {{ anchor.titleKey | translate }}\n <mat-icon *ngIf=\"anchor.status === status.CHECKMARK\" class=\"anchor-check\"\n >check</mat-icon\n >\n <mat-icon *ngIf=\"anchor.status === status.WARNING\" class=\"anchor-warning\"\n >priority_high</mat-icon\n >\n </mat-list-item>\n </mat-list>\n</div>\n", dependencies: [{ kind: "ngmodule", type: MatListModule }, { kind: "component", type: i2.MatList, selector: "mat-list", exportAs: ["matList"] }, { kind: "component", type: i2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i2$1.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
|
|
132
132
|
}
|
|
133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTableOfContentComponent, decorators: [{
|
|
134
134
|
type: Component,
|
|
135
135
|
args: [{ selector: 'onemrva-mat-table-of-content', standalone: true, imports: [MatListModule, TranslateModule, CommonModule, MatIconModule], template: "<div class=\"onemrva-mat-toc\">\n <h3 class=\"onemrva-mat-toc-title\">{{ titleKey | translate }}</h3>\n\n <mat-list>\n <mat-list-item\n *ngFor=\"let anchor of toc$ | async\"\n (click)=\"goTo(anchor)\"\n [ngClass]=\"{\n 'active-anchor': anchor.path === activePath,\n 'onemrva-anchor-for-subsection': anchor.level === level.SUBSECTION,\n 'onemrva-mat-hidden-toc-anchor': anchor.directive.hiddenInToc,\n }\"\n >\n {{ anchor.titleKey | translate }}\n <mat-icon *ngIf=\"anchor.status === status.CHECKMARK\" class=\"anchor-check\"\n >check</mat-icon\n >\n <mat-icon *ngIf=\"anchor.status === status.WARNING\" class=\"anchor-warning\"\n >priority_high</mat-icon\n >\n </mat-list-item>\n </mat-list>\n</div>\n" }]
|
|
136
136
|
}], ctorParameters: () => [{ type: OnemrvaMatTableOfContentService }], propDecorators: { titleKey: [{
|
|
@@ -183,10 +183,10 @@ class OnemrvaMatTableOfContentDirective {
|
|
|
183
183
|
ngAfterViewInit() {
|
|
184
184
|
this.cd.detectChanges();
|
|
185
185
|
}
|
|
186
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
187
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
186
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTableOfContentDirective, deps: [{ token: OnemrvaMatTableOfContentService }, { token: i0.ChangeDetectorRef }, { token: i2$1.TranslateService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
187
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.6", type: OnemrvaMatTableOfContentDirective, isStandalone: true, selector: "[onemrvaMatToc]", inputs: { onemrvaMatToc: "onemrvaMatToc", hiddenInToc: "hiddenInToc" }, host: { properties: { "attr.role": "this.role", "attr.class": "this.clazz", "attr.aria-label": "this.ariaLabel", "attr.rvaonem-toc-anchor": "this.ariaToc" } }, ngImport: i0 }); }
|
|
188
188
|
}
|
|
189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTableOfContentDirective, decorators: [{
|
|
190
190
|
type: Directive,
|
|
191
191
|
args: [{
|
|
192
192
|
selector: '[onemrvaMatToc]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onemrvapublic-design-system-mat-table-of-content.mjs","sources":["../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-toc-anchor.model.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.service.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.component.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.component.html","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.directive.ts","../../../../projects/onemrva/design-system/mat-table-of-content/index.ts","../../../../projects/onemrva/design-system/mat-table-of-content/onemrvapublic-design-system-mat-table-of-content.ts"],"sourcesContent":["export enum OnemrvaMatTocAnchorStatus {\n CHECKMARK,\n WARNING,\n}\n\nexport enum OnemrvaMatTocAnchorLevel {\n SECTION,\n SUBSECTION,\n}\n\nexport interface OnemrvaMatTocAnchor {\n tocName: string;\n titleKey: string;\n path: string;\n order?: number; // You can manually set the order of your links\n status?: OnemrvaMatTocAnchorStatus; // checkmarck add a checkmark icon at the end of the line. Warning adds an exclamation mark\n level?: OnemrvaMatTocAnchorLevel; // Section level by default\n hidden?: boolean;\n directive?: any;\n}\n\nexport type OnemrvaMatToc = Record<string, OnemrvaMatTocAnchor[]>;\n","import { Injectable } from '@angular/core';\nimport { BehaviorSubject, Observable } from 'rxjs';\nimport {\n OnemrvaMatTocAnchor,\n OnemrvaMatToc,\n OnemrvaMatTocAnchorLevel,\n} from './onemrva-mat-toc-anchor.model';\n\n@Injectable()\nexport class OnemrvaMatTableOfContentService {\n private _toc: OnemrvaMatToc = {};\n private _toc$ = new BehaviorSubject<OnemrvaMatToc>({});\n toc$: Observable<OnemrvaMatToc> = this._toc$.asObservable();\n\n addAnchor(anchor: OnemrvaMatTocAnchor) {\n if (!anchor.level) {\n anchor.level = OnemrvaMatTocAnchorLevel.SECTION;\n }\n\n if (!this._toc[anchor.tocName])\n this._toc = { ...this._toc, [anchor.tocName]: [anchor] };\n else if (\n this._toc[anchor.tocName].findIndex(a => anchor.path === a.path) < 0\n ) {\n let idx = -1;\n if (anchor.order) {\n idx = this._toc[anchor.tocName].findIndex(\n a => a.order && anchor.order! < a.order,\n );\n }\n\n const newToc = [...this._toc[anchor.tocName]];\n if (idx >= 0) {\n newToc.splice(idx, 0, anchor);\n } else {\n newToc.push(anchor);\n }\n this._toc = {\n ...this._toc,\n [anchor.tocName]: newToc,\n };\n }\n\n this._toc$.next(this._toc);\n }\n\n resetToc() {\n this._toc = {};\n this._toc$.next(this._toc);\n }\n}\n","import {\n Component,\n HostBinding,\n HostListener,\n Input,\n OnDestroy,\n OnInit,\n} from '@angular/core';\nimport { MatListModule } from '@angular/material/list';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { OnemrvaMatTableOfContentService } from './onemrva-mat-table-of-content.service';\nimport { Observable, map, tap } from 'rxjs';\nimport {\n OnemrvaMatTocAnchor,\n OnemrvaMatTocAnchorLevel,\n OnemrvaMatTocAnchorStatus,\n} from './onemrva-mat-toc-anchor.model';\nimport { CommonModule } from '@angular/common';\nimport { MatIconModule } from '@angular/material/icon';\n\n@Component({\n selector: 'onemrva-mat-table-of-content',\n templateUrl: 'onemrva-mat-table-of-content.component.html',\n standalone: true,\n imports: [MatListModule, TranslateModule, CommonModule, MatIconModule],\n})\nexport class OnemrvaMatTableOfContentComponent implements OnInit, OnDestroy {\n @Input()\n titleKey!: string;\n\n @Input()\n tocName!: string;\n\n @HostBinding('attr.data-cy')\n @Input()\n dataCy = 'onemrva-mat-toc';\n\n // @HostBinding('attr.aria-label')\n // @Input()\n // get ariaLabel() {\n // if (!this.titleKey) return null;\n // return this.translate.instant(this.titleKey);\n // }\n\n @Input()\n tableOfContentName!: string;\n\n @Input()\n scrollShift = 0;\n\n toc$!: Observable<OnemrvaMatTocAnchor[]>;\n\n activePath = '';\n timerId: any;\n\n @HostListener('window:scroll', ['$event']) onScrollEvent($event: any) {\n this.throttledUpdateActivePath($event);\n }\n\n @HostListener('window:resize', ['$event']) onResizeEvent($event: any) {\n this.throttledUpdateActivePath($event);\n }\n\n level = OnemrvaMatTocAnchorLevel;\n status = OnemrvaMatTocAnchorStatus;\n\n constructor(private tocService: OnemrvaMatTableOfContentService) {}\n\n ngOnInit(): void {\n this.toc$ = this.tocService.toc$.pipe(\n map(tocMap => tocMap[this.tocName].filter(entry => !entry.hidden)),\n tap(toc => {\n if (!toc) this.titleKey = 'tocName.notFound';\n else this.activePath = toc[0].path;\n }),\n );\n }\n\n ngOnDestroy(): void {\n this.tocService.resetToc();\n }\n\n goTo(anchor: OnemrvaMatTocAnchor) {\n const e = document.querySelector(\n \"[rvaonem-toc-anchor='\" + anchor.path + \"']\",\n )!;\n const y = e.getBoundingClientRect().y;\n\n window.scroll({\n top: window.scrollY + y - this.scrollShift,\n behavior: 'smooth',\n });\n\n // this.activePath = anchor.path;\n }\n\n throttledUpdateActivePath(_$event: any) {\n if (this.timerId) return;\n\n this.timerId = setTimeout(() => {\n this.updateActivePath();\n this.timerId = undefined;\n }, 200);\n }\n\n updateActivePath() {\n let prevElement: { ariaToc: string; top: number } = { ariaToc: '', top: 0 };\n\n const anchors = document.querySelectorAll('.onemrva-mat-toc-anchor');\n anchors.forEach(anchor => {\n const top = anchor.getBoundingClientRect().top - this.scrollShift;\n const ariaToc: string = anchor.getAttribute('rvaonem-toc-anchor')!;\n\n if (top >= 0) {\n if (prevElement.top < 0) {\n this.activePath =\n (top + prevElement.top) / 2 > 0 ? prevElement.ariaToc : ariaToc;\n } else {\n this.activePath = anchor.getAttribute('rvaonem-toc-anchor')!;\n }\n return;\n } else {\n prevElement = { top, ariaToc };\n }\n });\n }\n}\n","<div class=\"onemrva-mat-toc\">\n <h3 class=\"onemrva-mat-toc-title\">{{ titleKey | translate }}</h3>\n\n <mat-list>\n <mat-list-item\n *ngFor=\"let anchor of toc$ | async\"\n (click)=\"goTo(anchor)\"\n [ngClass]=\"{\n 'active-anchor': anchor.path === activePath,\n 'onemrva-anchor-for-subsection': anchor.level === level.SUBSECTION,\n 'onemrva-mat-hidden-toc-anchor': anchor.directive.hiddenInToc,\n }\"\n >\n {{ anchor.titleKey | translate }}\n <mat-icon *ngIf=\"anchor.status === status.CHECKMARK\" class=\"anchor-check\"\n >check</mat-icon\n >\n <mat-icon *ngIf=\"anchor.status === status.WARNING\" class=\"anchor-warning\"\n >priority_high</mat-icon\n >\n </mat-list-item>\n </mat-list>\n</div>\n","import {\n OnInit,\n Directive,\n Input,\n HostBinding,\n AfterViewInit,\n ChangeDetectorRef,\n} from '@angular/core';\nimport { OnemrvaMatTableOfContentService } from './onemrva-mat-table-of-content.service';\nimport { OnemrvaMatTocAnchor } from './onemrva-mat-toc-anchor.model';\nimport { TranslateService } from '@ngx-translate/core';\n\n/**\n * For accessibility purpose, aria-label and will be displayed\n */\n\n@Directive({\n selector: '[onemrvaMatToc]',\n standalone: true,\n})\nexport class OnemrvaMatTableOfContentDirective\n implements OnInit, AfterViewInit\n{\n @Input()\n onemrvaMatToc!: OnemrvaMatTocAnchor;\n\n @HostBinding('attr.role')\n role = '';\n\n @HostBinding('attr.class')\n clazz = 'onemrva-mat-toc-anchor';\n\n @HostBinding('attr.aria-label')\n get ariaLabel() {\n return this.translateService.instant(this.onemrvaMatToc?.titleKey);\n }\n\n @Input()\n hiddenInToc = false;\n\n @HostBinding('attr.rvaonem-toc-anchor')\n get ariaToc() {\n if (\n this.onemrvaMatToc &&\n this.onemrvaMatToc.path &&\n this.onemrvaMatToc.path[0] !== '#'\n )\n return '#' + this.onemrvaMatToc?.path;\n return this.onemrvaMatToc?.path;\n }\n\n constructor(\n private tocService: OnemrvaMatTableOfContentService,\n private cd: ChangeDetectorRef,\n private translateService: TranslateService,\n ) {}\n\n ngOnInit(): void {\n this.tocService.addAnchor({ ...this.onemrvaMatToc, directive: this });\n\n // console.log(' HWK this.hidden', this.hidden);\n }\n\n ngAfterViewInit(): void {\n this.cd.detectChanges();\n }\n}\n","/*\n * Public API Surface of mat-summary-stepper\n */\n\nexport * from './src/onemrva-mat-table-of-content.component';\nexport * from './src/onemrva-mat-table-of-content.directive';\nexport * from './src/onemrva-mat-table-of-content.service';\nexport * from './src/onemrva-mat-toc-anchor.model';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.OnemrvaMatTableOfContentService","i3","i2"],"mappings":";;;;;;;;;;;;IAAY,0BAGX;AAHD,CAAA,UAAY,yBAAyB,EAAA;AACnC,IAAA,yBAAA,CAAA,yBAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,GAAA,WAAS,CAAA;AACT,IAAA,yBAAA,CAAA,yBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAO,CAAA;AACT,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,GAGpC,EAAA,CAAA,CAAA,CAAA;IAEW,yBAGX;AAHD,CAAA,UAAY,wBAAwB,EAAA;AAClC,IAAA,wBAAA,CAAA,wBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAO,CAAA;AACP,IAAA,wBAAA,CAAA,wBAAA,CAAA,YAAA,CAAA,GAAA,CAAA,CAAA,GAAA,YAAU,CAAA;AACZ,CAAC,EAHW,wBAAwB,KAAxB,wBAAwB,G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;gBAIxB,KAAK,EAAA,CAAA;sBADJ,WAAW;uBAAC,YAAY,CAAA;gBAIrB,SAAS,EAAA,CAAA;sBADZ,WAAW;uBAAC,iBAAiB,CAAA;gBAM9B,WAAW,EAAA,CAAA;sBADV,KAAK;gBAIF,OAAO,EAAA,CAAA;sBADV,WAAW;uBAAC,yBAAyB,CAAA;;;ACxCxC;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"onemrvapublic-design-system-mat-table-of-content.mjs","sources":["../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-toc-anchor.model.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.service.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.component.ts","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.component.html","../../../../projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.directive.ts","../../../../projects/onemrva/design-system/mat-table-of-content/index.ts","../../../../projects/onemrva/design-system/mat-table-of-content/onemrvapublic-design-system-mat-table-of-content.ts"],"sourcesContent":["export enum OnemrvaMatTocAnchorStatus {\n CHECKMARK,\n WARNING,\n}\n\nexport enum OnemrvaMatTocAnchorLevel {\n SECTION,\n SUBSECTION,\n}\n\nexport interface OnemrvaMatTocAnchor {\n tocName: string;\n titleKey: string;\n path: string;\n order?: number; // You can manually set the order of your links\n status?: OnemrvaMatTocAnchorStatus; // checkmarck add a checkmark icon at the end of the line. Warning adds an exclamation mark\n level?: OnemrvaMatTocAnchorLevel; // Section level by default\n hidden?: boolean;\n directive?: any;\n}\n\nexport type OnemrvaMatToc = Record<string, OnemrvaMatTocAnchor[]>;\n","import { Injectable } from '@angular/core';\nimport { BehaviorSubject, Observable } from 'rxjs';\nimport {\n OnemrvaMatTocAnchor,\n OnemrvaMatToc,\n OnemrvaMatTocAnchorLevel,\n} from './onemrva-mat-toc-anchor.model';\n\n@Injectable()\nexport class OnemrvaMatTableOfContentService {\n private _toc: OnemrvaMatToc = {};\n private _toc$ = new BehaviorSubject<OnemrvaMatToc>({});\n toc$: Observable<OnemrvaMatToc> = this._toc$.asObservable();\n\n addAnchor(anchor: OnemrvaMatTocAnchor) {\n if (!anchor.level) {\n anchor.level = OnemrvaMatTocAnchorLevel.SECTION;\n }\n\n if (!this._toc[anchor.tocName])\n this._toc = { ...this._toc, [anchor.tocName]: [anchor] };\n else if (\n this._toc[anchor.tocName].findIndex(a => anchor.path === a.path) < 0\n ) {\n let idx = -1;\n if (anchor.order) {\n idx = this._toc[anchor.tocName].findIndex(\n a => a.order && anchor.order! < a.order,\n );\n }\n\n const newToc = [...this._toc[anchor.tocName]];\n if (idx >= 0) {\n newToc.splice(idx, 0, anchor);\n } else {\n newToc.push(anchor);\n }\n this._toc = {\n ...this._toc,\n [anchor.tocName]: newToc,\n };\n }\n\n this._toc$.next(this._toc);\n }\n\n resetToc() {\n this._toc = {};\n this._toc$.next(this._toc);\n }\n}\n","import {\n Component,\n HostBinding,\n HostListener,\n Input,\n OnDestroy,\n OnInit,\n} from '@angular/core';\nimport { MatListModule } from '@angular/material/list';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { OnemrvaMatTableOfContentService } from './onemrva-mat-table-of-content.service';\nimport { Observable, map, tap } from 'rxjs';\nimport {\n OnemrvaMatTocAnchor,\n OnemrvaMatTocAnchorLevel,\n OnemrvaMatTocAnchorStatus,\n} from './onemrva-mat-toc-anchor.model';\nimport { CommonModule } from '@angular/common';\nimport { MatIconModule } from '@angular/material/icon';\n\n@Component({\n selector: 'onemrva-mat-table-of-content',\n templateUrl: 'onemrva-mat-table-of-content.component.html',\n standalone: true,\n imports: [MatListModule, TranslateModule, CommonModule, MatIconModule],\n})\nexport class OnemrvaMatTableOfContentComponent implements OnInit, OnDestroy {\n @Input()\n titleKey!: string;\n\n @Input()\n tocName!: string;\n\n @HostBinding('attr.data-cy')\n @Input()\n dataCy = 'onemrva-mat-toc';\n\n // @HostBinding('attr.aria-label')\n // @Input()\n // get ariaLabel() {\n // if (!this.titleKey) return null;\n // return this.translate.instant(this.titleKey);\n // }\n\n @Input()\n tableOfContentName!: string;\n\n @Input()\n scrollShift = 0;\n\n toc$!: Observable<OnemrvaMatTocAnchor[]>;\n\n activePath = '';\n timerId: any;\n\n @HostListener('window:scroll', ['$event']) onScrollEvent($event: any) {\n this.throttledUpdateActivePath($event);\n }\n\n @HostListener('window:resize', ['$event']) onResizeEvent($event: any) {\n this.throttledUpdateActivePath($event);\n }\n\n level = OnemrvaMatTocAnchorLevel;\n status = OnemrvaMatTocAnchorStatus;\n\n constructor(private tocService: OnemrvaMatTableOfContentService) {}\n\n ngOnInit(): void {\n this.toc$ = this.tocService.toc$.pipe(\n map(tocMap => tocMap[this.tocName].filter(entry => !entry.hidden)),\n tap(toc => {\n if (!toc) this.titleKey = 'tocName.notFound';\n else this.activePath = toc[0].path;\n }),\n );\n }\n\n ngOnDestroy(): void {\n this.tocService.resetToc();\n }\n\n goTo(anchor: OnemrvaMatTocAnchor) {\n const e = document.querySelector(\n \"[rvaonem-toc-anchor='\" + anchor.path + \"']\",\n )!;\n const y = e.getBoundingClientRect().y;\n\n window.scroll({\n top: window.scrollY + y - this.scrollShift,\n behavior: 'smooth',\n });\n\n // this.activePath = anchor.path;\n }\n\n throttledUpdateActivePath(_$event: any) {\n if (this.timerId) return;\n\n this.timerId = setTimeout(() => {\n this.updateActivePath();\n this.timerId = undefined;\n }, 200);\n }\n\n updateActivePath() {\n let prevElement: { ariaToc: string; top: number } = { ariaToc: '', top: 0 };\n\n const anchors = document.querySelectorAll('.onemrva-mat-toc-anchor');\n anchors.forEach(anchor => {\n const top = anchor.getBoundingClientRect().top - this.scrollShift;\n const ariaToc: string = anchor.getAttribute('rvaonem-toc-anchor')!;\n\n if (top >= 0) {\n if (prevElement.top < 0) {\n this.activePath =\n (top + prevElement.top) / 2 > 0 ? prevElement.ariaToc : ariaToc;\n } else {\n this.activePath = anchor.getAttribute('rvaonem-toc-anchor')!;\n }\n return;\n } else {\n prevElement = { top, ariaToc };\n }\n });\n }\n}\n","<div class=\"onemrva-mat-toc\">\n <h3 class=\"onemrva-mat-toc-title\">{{ titleKey | translate }}</h3>\n\n <mat-list>\n <mat-list-item\n *ngFor=\"let anchor of toc$ | async\"\n (click)=\"goTo(anchor)\"\n [ngClass]=\"{\n 'active-anchor': anchor.path === activePath,\n 'onemrva-anchor-for-subsection': anchor.level === level.SUBSECTION,\n 'onemrva-mat-hidden-toc-anchor': anchor.directive.hiddenInToc,\n }\"\n >\n {{ anchor.titleKey | translate }}\n <mat-icon *ngIf=\"anchor.status === status.CHECKMARK\" class=\"anchor-check\"\n >check</mat-icon\n >\n <mat-icon *ngIf=\"anchor.status === status.WARNING\" class=\"anchor-warning\"\n >priority_high</mat-icon\n >\n </mat-list-item>\n </mat-list>\n</div>\n","import {\n OnInit,\n Directive,\n Input,\n HostBinding,\n AfterViewInit,\n ChangeDetectorRef,\n} from '@angular/core';\nimport { OnemrvaMatTableOfContentService } from './onemrva-mat-table-of-content.service';\nimport { OnemrvaMatTocAnchor } from './onemrva-mat-toc-anchor.model';\nimport { TranslateService } from '@ngx-translate/core';\n\n/**\n * For accessibility purpose, aria-label and will be displayed\n */\n\n@Directive({\n selector: '[onemrvaMatToc]',\n standalone: true,\n})\nexport class OnemrvaMatTableOfContentDirective\n implements OnInit, AfterViewInit\n{\n @Input()\n onemrvaMatToc!: OnemrvaMatTocAnchor;\n\n @HostBinding('attr.role')\n role = '';\n\n @HostBinding('attr.class')\n clazz = 'onemrva-mat-toc-anchor';\n\n @HostBinding('attr.aria-label')\n get ariaLabel() {\n return this.translateService.instant(this.onemrvaMatToc?.titleKey);\n }\n\n @Input()\n hiddenInToc = false;\n\n @HostBinding('attr.rvaonem-toc-anchor')\n get ariaToc() {\n if (\n this.onemrvaMatToc &&\n this.onemrvaMatToc.path &&\n this.onemrvaMatToc.path[0] !== '#'\n )\n return '#' + this.onemrvaMatToc?.path;\n return this.onemrvaMatToc?.path;\n }\n\n constructor(\n private tocService: OnemrvaMatTableOfContentService,\n private cd: ChangeDetectorRef,\n private translateService: TranslateService,\n ) {}\n\n ngOnInit(): void {\n this.tocService.addAnchor({ ...this.onemrvaMatToc, directive: this });\n\n // console.log(' HWK this.hidden', this.hidden);\n }\n\n ngAfterViewInit(): void {\n this.cd.detectChanges();\n }\n}\n","/*\n * Public API Surface of mat-summary-stepper\n */\n\nexport * from './src/onemrva-mat-table-of-content.component';\nexport * from './src/onemrva-mat-table-of-content.directive';\nexport * from './src/onemrva-mat-table-of-content.service';\nexport * from './src/onemrva-mat-toc-anchor.model';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.OnemrvaMatTableOfContentService","i3","i2"],"mappings":";;;;;;;;;;;;IAAY;AAAZ,CAAA,UAAY,yBAAyB,EAAA;AACnC,IAAA,yBAAA,CAAA,yBAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,GAAA,WAAS;AACT,IAAA,yBAAA,CAAA,yBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAO;AACT,CAAC,EAHW,yBAAyB,KAAzB,yBAAyB,GAGpC,EAAA,CAAA,CAAA;IAEW;AAAZ,CAAA,UAAY,wBAAwB,EAAA;AAClC,IAAA,wBAAA,CAAA,wBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAO;AACP,IAAA,wBAAA,CAAA,wBAAA,CAAA,YAAA,CAAA,GAAA,CAAA,CAAA,GAAA,YAAU;AACZ,CAAC,EAHW,wBAAwB,KAAxB,wBAAwB,GAGnC,EAAA,CAAA,CAAA;;MCCY,+BAA+B,CAAA;AAD5C,IAAA,WAAA,GAAA;QAEU,IAAI,CAAA,IAAA,GAAkB,EAAE;AACxB,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,eAAe,CAAgB,EAAE,CAAC;AACtD,QAAA,IAAA,CAAA,IAAI,GAA8B,IAAI,CAAC,KAAK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,aAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,WAAA,EAAA,YAAA,EAAA,YAAA,EAAA,iBAAA,EAAA,gBAAA,EAAA,yBAAA,EAAA,cAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAjC,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAJ7C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;kKAKC,aAAa,EAAA,CAAA;sBADZ;gBAID,IAAI,EAAA,CAAA;sBADH,WAAW;uBAAC,WAAW;gBAIxB,KAAK,EAAA,CAAA;sBADJ,WAAW;uBAAC,YAAY;gBAIrB,SAAS,EAAA,CAAA;sBADZ,WAAW;uBAAC,iBAAiB;gBAM9B,WAAW,EAAA,CAAA;sBADV;gBAIG,OAAO,EAAA,CAAA;sBADV,WAAW;uBAAC,yBAAyB;;;ACxCxC;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { TemplateRef, Component, Input, ViewChild, HostBinding, ContentChild, ChangeDetectionStrategy, ContentChildren, NgModule } from '@angular/core';
|
|
3
|
-
import
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { NgClass, NgTemplateOutlet, NgIf } from '@angular/common';
|
|
5
4
|
import { OnemrvaMatColor } from '@onemrvapublic/design-system/utils';
|
|
6
|
-
import * as
|
|
7
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
8
|
-
import * as i3 from '@angular/material/checkbox';
|
|
9
|
-
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
10
|
-
import * as i4 from '@angular/forms';
|
|
5
|
+
import * as i1 from '@angular/forms';
|
|
11
6
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
7
|
+
import { MatCheckbox } from '@angular/material/checkbox';
|
|
8
|
+
import { MatIcon } from '@angular/material/icon';
|
|
12
9
|
|
|
13
10
|
class OnemrvaMatTaskTitleComponent {
|
|
14
11
|
constructor(cd) {
|
|
@@ -17,12 +14,12 @@ class OnemrvaMatTaskTitleComponent {
|
|
|
17
14
|
ngAfterViewInit() {
|
|
18
15
|
this.cd.detectChanges();
|
|
19
16
|
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
21
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTaskTitleComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.6", type: OnemrvaMatTaskTitleComponent, isStandalone: true, selector: "onemrva-mat-task-title", inputs: { customNgClass: "customNgClass" }, viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<ng-template>\n <div class=\"onemrva-mat-task-title\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
|
22
19
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTaskTitleComponent, decorators: [{
|
|
24
21
|
type: Component,
|
|
25
|
-
args: [{ selector: 'onemrva-mat-task-title', template: "<ng-template>\n <div class=\"onemrva-mat-task-title\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n" }]
|
|
22
|
+
args: [{ selector: 'onemrva-mat-task-title', standalone: true, imports: [NgClass], template: "<ng-template>\n <div class=\"onemrva-mat-task-title\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n" }]
|
|
26
23
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { customNgClass: [{
|
|
27
24
|
type: Input
|
|
28
25
|
}], template: [{
|
|
@@ -31,12 +28,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
31
28
|
}] } });
|
|
32
29
|
|
|
33
30
|
class OnemrvaMatTaskContentComponent {
|
|
34
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
35
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTaskContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
32
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.6", type: OnemrvaMatTaskContentComponent, isStandalone: true, selector: "onemrva-mat-task-content", inputs: { customNgClass: "customNgClass" }, viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<ng-template>\n <div class=\"onemrva-mat-task-content\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
|
36
33
|
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTaskContentComponent, decorators: [{
|
|
38
35
|
type: Component,
|
|
39
|
-
args: [{ selector: 'onemrva-mat-task-content', template: "<ng-template>\n <div class=\"onemrva-mat-task-content\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n" }]
|
|
36
|
+
args: [{ selector: 'onemrva-mat-task-content', standalone: true, imports: [NgClass], template: "<ng-template>\n <div class=\"onemrva-mat-task-content\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n" }]
|
|
40
37
|
}], propDecorators: { customNgClass: [{
|
|
41
38
|
type: Input
|
|
42
39
|
}], template: [{
|
|
@@ -114,12 +111,12 @@ class OnemrvaMatTaskComponent {
|
|
|
114
111
|
return '';
|
|
115
112
|
return `mat-${this.color}`;
|
|
116
113
|
}
|
|
117
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
118
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
114
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTaskComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
115
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.6", type: OnemrvaMatTaskComponent, isStandalone: true, selector: "onemrva-mat-task", inputs: { customNgClass: "customNgClass", icon: "icon", form: "form", bubble: "bubble", arialLabel: "arialLabel", disabled: "disabled", color: "color" }, host: { properties: { "class.mat-disabled": "this.disabled", "attr.aria-disabled": "this.showAriaDisabled", "class.mat-accent": "this._isAccent", "class.mat-primary": "this._isPrimary", "class.mat-error": "this._isError", "class.mat-warn": "this._isWarn", "class.mat-success": "this._isSuccess", "class.mat-info": "this._isInfo", "class.mat-grayscale": "this._isGrayscale" } }, queries: [{ propertyName: "title", first: true, predicate: OnemrvaMatTaskTitleComponent, descendants: true }, { propertyName: "content", first: true, predicate: OnemrvaMatTaskContentComponent, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<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<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", styles: [""], dependencies: [{ kind: "component", type: MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
119
116
|
}
|
|
120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTaskComponent, decorators: [{
|
|
121
118
|
type: Component,
|
|
122
|
-
args: [{ selector: 'onemrva-mat-task', template: "<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<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" }]
|
|
119
|
+
args: [{ selector: 'onemrva-mat-task', standalone: true, imports: [MatCheckbox, MatIcon, ReactiveFormsModule, NgTemplateOutlet, NgIf], template: "<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<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" }]
|
|
123
120
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { customNgClass: [{
|
|
124
121
|
type: Input
|
|
125
122
|
}], icon: [{
|
|
@@ -185,12 +182,12 @@ class OnemrvaMatTaskListComponent {
|
|
|
185
182
|
ngAfterViewInit() {
|
|
186
183
|
this.cd.detectChanges();
|
|
187
184
|
}
|
|
188
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
189
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
185
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTaskListComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
186
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.6", type: OnemrvaMatTaskListComponent, isStandalone: true, selector: "onemrva-mat-task-list", inputs: { id: "id", data_cy: "data_cy" }, host: { properties: { "attr.id": "this.id", "attr.data-cy": "this.data_cy" } }, queries: [{ propertyName: "_tasks", predicate: OnemrvaMatTaskComponent, descendants: true }], ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
190
187
|
}
|
|
191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTaskListComponent, decorators: [{
|
|
192
189
|
type: Component,
|
|
193
|
-
args: [{ selector: 'onemrva-mat-task-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
|
|
190
|
+
args: [{ selector: 'onemrva-mat-task-list', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<ng-content></ng-content>\n" }]
|
|
194
191
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { id: [{
|
|
195
192
|
type: HostBinding,
|
|
196
193
|
args: ['attr.id']
|
|
@@ -209,37 +206,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
209
206
|
}] } });
|
|
210
207
|
|
|
211
208
|
class OnemrvaMatTaskListModule {
|
|
212
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
213
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
209
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTaskListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
210
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTaskListModule, imports: [OnemrvaMatTaskListComponent,
|
|
214
211
|
OnemrvaMatTaskTitleComponent,
|
|
215
212
|
OnemrvaMatTaskContentComponent,
|
|
216
|
-
OnemrvaMatTaskComponent],
|
|
217
|
-
MatIconModule,
|
|
218
|
-
MatCheckboxModule,
|
|
219
|
-
ReactiveFormsModule], exports: [OnemrvaMatTaskListComponent,
|
|
213
|
+
OnemrvaMatTaskComponent], exports: [OnemrvaMatTaskListComponent,
|
|
220
214
|
OnemrvaMatTaskTitleComponent,
|
|
221
215
|
OnemrvaMatTaskContentComponent,
|
|
222
216
|
OnemrvaMatTaskComponent] }); }
|
|
223
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
224
|
-
MatIconModule,
|
|
225
|
-
MatCheckboxModule,
|
|
226
|
-
ReactiveFormsModule] }); }
|
|
217
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTaskListModule, imports: [OnemrvaMatTaskComponent] }); }
|
|
227
218
|
}
|
|
228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImport: i0, type: OnemrvaMatTaskListModule, decorators: [{
|
|
229
220
|
type: NgModule,
|
|
230
221
|
args: [{
|
|
231
|
-
|
|
222
|
+
imports: [
|
|
232
223
|
OnemrvaMatTaskListComponent,
|
|
233
224
|
OnemrvaMatTaskTitleComponent,
|
|
234
225
|
OnemrvaMatTaskContentComponent,
|
|
235
226
|
OnemrvaMatTaskComponent,
|
|
236
227
|
],
|
|
237
|
-
imports: [
|
|
238
|
-
CommonModule,
|
|
239
|
-
MatIconModule,
|
|
240
|
-
MatCheckboxModule,
|
|
241
|
-
ReactiveFormsModule,
|
|
242
|
-
],
|
|
243
228
|
exports: [
|
|
244
229
|
OnemrvaMatTaskListComponent,
|
|
245
230
|
OnemrvaMatTaskTitleComponent,
|
|
@@ -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} from '@angular/core';\n\n@Component({\n selector: 'onemrva-mat-task-title',\n templateUrl: './onemrva-mat-task-title.html',\n})\nexport class OnemrvaMatTaskTitleComponent implements AfterViewInit {\n @Input() customNgClass: any;\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 class=\"onemrva-mat-task-title\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n","import { Component, Input, TemplateRef, ViewChild } from '@angular/core';\n\n@Component({\n selector: 'onemrva-mat-task-content',\n templateUrl: './onemrva-mat-task-content.html',\n})\nexport class OnemrvaMatTaskContentComponent {\n @Input() customNgClass: any;\n\n @ViewChild(TemplateRef) template?: TemplateRef<any>;\n}\n","<ng-template>\n <div class=\"onemrva-mat-task-content\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n","import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n ContentChild,\n HostBinding,\n Input,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport { OnemrvaMatTaskTitleComponent } from './onemrva-mat-task-title.component';\nimport { OnemrvaMatTaskContentComponent } from './onemrva-mat-task-content.component';\nimport { OnemrvaMatColor } from '@onemrvapublic/design-system/utils';\nimport { FormControl } from '@angular/forms';\n\n@Component({\n selector: 'onemrva-mat-task',\n templateUrl: './onemrva-mat-task.component.html',\n styleUrls: ['onemrva-mat-task.component.scss'],\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.mat-disabled')\n @Input()\n disabled = false;\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 @ContentChild(OnemrvaMatTaskContentComponent)\n content?: OnemrvaMatTaskContentComponent;\n\n constructor(private cd: ChangeDetectorRef) {}\n\n ngAfterViewInit() {\n if (this.disabled) {\n this.form?.disable();\n }\n //this.customNgClass = this.customNgClass.merge(['onemrva-mat-task']);\n this.cd.detectChanges();\n }\n\n /**\n * @hidden\n * @internal\n */\n private _color: OnemrvaMatColor = OnemrvaMatColor.NONE;\n\n /**\n *\n * @param value\n */\n public set color(value: OnemrvaMatColor) {\n this._color = value;\n }\n\n /** @hidden @internal */\n @HostBinding('class.mat-accent')\n public get _colorAccent(): boolean {\n return this.color === OnemrvaMatColor.ACCENT;\n }\n\n /** @hidden @internal */\n @HostBinding('class.mat-primary')\n public get _isPrimary(): boolean {\n return this.color === OnemrvaMatColor.PRIMARY;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-accent')\n public get _isAccent(): boolean {\n return this.color === OnemrvaMatColor.ACCENT;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-error')\n public get _isError(): boolean {\n return this.color === OnemrvaMatColor.ERROR;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-warn')\n public get _isWarn(): boolean {\n return this.color === OnemrvaMatColor.WARN;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-success')\n public get _isSuccess(): boolean {\n return this.color === OnemrvaMatColor.SUCCESS;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-info')\n public get _isInfo(): boolean {\n return this.color === OnemrvaMatColor.INFO;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-grayscale')\n public get _isGrayscale(): boolean {\n return this.color === OnemrvaMatColor.GRAYSCALE;\n }\n\n // eslint-disable-next-line @typescript-eslint/adjacent-overload-signatures\n @Input()\n public get color(): OnemrvaMatColor {\n return this._color;\n }\n\n public matColor() {\n if (this.color === OnemrvaMatColor.NONE) return '';\n return `mat-${this.color}`;\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<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 templateUrl: './onemrva-mat-task-list.component.html',\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 { CommonModule } from '@angular/common';\nimport { OnemrvaMatTaskComponent } from './onemrva-mat-task.component';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { ReactiveFormsModule } from '@angular/forms';\n\n@NgModule({\n declarations: [\n OnemrvaMatTaskListComponent,\n OnemrvaMatTaskTitleComponent,\n OnemrvaMatTaskContentComponent,\n OnemrvaMatTaskComponent,\n ],\n imports: [\n CommonModule,\n MatIconModule,\n MatCheckboxModule,\n ReactiveFormsModule,\n ],\n exports: [\n OnemrvaMatTaskListComponent,\n OnemrvaMatTaskTitleComponent,\n OnemrvaMatTaskContentComponent,\n OnemrvaMatTaskComponent,\n ],\n})\nexport class OnemrvaMatTaskListModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;MAaa,4BAA4B,CAAA;AAKvC,IAAA,WAAA,CAAoB,EAAqB,EAAA;QAArB,IAAE,CAAA,EAAA,GAAF,EAAE,CAAmB;KAAI;IAE7C,eAAe,GAAA;AACb,QAAA,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,CAAC;KACzB;+GATU,4BAA4B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAA5B,4BAA4B,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,EAG5B,WAAW,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EChBxB,gJAKA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,E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/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} 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 standalone: true,\n imports: [NgClass],\n})\nexport class OnemrvaMatTaskTitleComponent implements AfterViewInit {\n @Input() customNgClass: any;\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 class=\"onemrva-mat-task-title\" [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 standalone: true,\n imports: [NgClass],\n})\nexport class OnemrvaMatTaskContentComponent {\n @Input() customNgClass: any;\n\n @ViewChild(TemplateRef) template?: TemplateRef<any>;\n}\n","<ng-template>\n <div class=\"onemrva-mat-task-content\" [ngClass]=\"customNgClass\">\n <ng-content></ng-content>\n </div>\n</ng-template>\n","import {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n ContentChild,\n HostBinding,\n Input,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport { OnemrvaMatTaskTitleComponent } from './onemrva-mat-task-title.component';\nimport { OnemrvaMatTaskContentComponent } from './onemrva-mat-task-content.component';\nimport { OnemrvaMatColor } from '@onemrvapublic/design-system/utils';\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})\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.mat-disabled')\n @Input()\n disabled = false;\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 @ContentChild(OnemrvaMatTaskContentComponent)\n content?: OnemrvaMatTaskContentComponent;\n\n constructor(private cd: ChangeDetectorRef) {}\n\n ngAfterViewInit() {\n if (this.disabled) {\n this.form?.disable();\n }\n //this.customNgClass = this.customNgClass.merge(['onemrva-mat-task']);\n this.cd.detectChanges();\n }\n\n /**\n * @hidden\n * @internal\n */\n private _color: OnemrvaMatColor = OnemrvaMatColor.NONE;\n\n /**\n *\n * @param value\n */\n public set color(value: OnemrvaMatColor) {\n this._color = value;\n }\n\n /** @hidden @internal */\n @HostBinding('class.mat-accent')\n public get _colorAccent(): boolean {\n return this.color === OnemrvaMatColor.ACCENT;\n }\n\n /** @hidden @internal */\n @HostBinding('class.mat-primary')\n public get _isPrimary(): boolean {\n return this.color === OnemrvaMatColor.PRIMARY;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-accent')\n public get _isAccent(): boolean {\n return this.color === OnemrvaMatColor.ACCENT;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-error')\n public get _isError(): boolean {\n return this.color === OnemrvaMatColor.ERROR;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-warn')\n public get _isWarn(): boolean {\n return this.color === OnemrvaMatColor.WARN;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-success')\n public get _isSuccess(): boolean {\n return this.color === OnemrvaMatColor.SUCCESS;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-info')\n public get _isInfo(): boolean {\n return this.color === OnemrvaMatColor.INFO;\n }\n /** @hidden @internal */\n @HostBinding('class.mat-grayscale')\n public get _isGrayscale(): boolean {\n return this.color === OnemrvaMatColor.GRAYSCALE;\n }\n\n // eslint-disable-next-line @typescript-eslint/adjacent-overload-signatures\n @Input()\n public get color(): OnemrvaMatColor {\n return this._color;\n }\n\n public matColor() {\n if (this.color === OnemrvaMatColor.NONE) return '';\n return `mat-${this.color}`;\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<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 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 OnemrvaMatTaskListComponent,\n OnemrvaMatTaskTitleComponent,\n OnemrvaMatTaskContentComponent,\n OnemrvaMatTaskComponent,\n ],\n})\nexport class OnemrvaMatTaskListModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAgBa,4BAA4B,CAAA;AAKvC,IAAA,WAAA,CAAoB,EAAqB,EAAA;QAArB,IAAE,CAAA,EAA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