@onemrvapublic/design-system 19.4.0-alpha.9 → 20.0.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/address/index.d.ts +8 -0
- package/address/src/address.scss +0 -0
- package/fesm2022/onemrvapublic-design-system-address.mjs +22 -0
- package/fesm2022/onemrvapublic-design-system-address.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-flag-icon.mjs +10 -9
- package/fesm2022/onemrvapublic-design-system-flag-icon.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-layout.mjs +125 -141
- package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs +119 -118
- package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs +37 -32
- package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs +30 -24
- package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs +43 -5
- package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs +14 -16
- package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs +33 -0
- package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs +30 -29
- package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs +10 -10
- package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs +92 -106
- package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs +18 -15
- package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs +43 -48
- package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs +17 -17
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs +15 -15
- package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs +26 -36
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs +18 -18
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs +18 -8
- package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs +20 -26
- package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-notification.mjs +11 -13
- package/fesm2022/onemrvapublic-design-system-mat-notification.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs +40 -42
- package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-panel.mjs +29 -29
- package/fesm2022/onemrvapublic-design-system-mat-panel.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs +19 -19
- package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs +36 -56
- package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs +11 -11
- package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs +14 -15
- package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs +9 -9
- package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs +16 -16
- package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs +35 -17
- package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs +8 -8
- package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs +35 -36
- package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs +33 -33
- package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs +75 -96
- package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-toast.mjs +13 -16
- package/fesm2022/onemrvapublic-design-system-mat-toast.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs +17 -17
- package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-page-error.mjs +18 -18
- package/fesm2022/onemrvapublic-design-system-page-error.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-page-not-found.mjs +25 -31
- package/fesm2022/onemrvapublic-design-system-page-not-found.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-shared.mjs +207 -187
- package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system.mjs +10269 -3
- package/fesm2022/onemrvapublic-design-system.mjs.map +1 -1
- package/flag-icon/index.d.ts +18 -1
- package/index.d.ts +3063 -3
- package/layout/index.d.ts +259 -7
- package/mat-avatar/index.d.ts +248 -2
- package/mat-avatar/src/onemrva-mat-avatar.component.scss +48 -11
- package/mat-breadcrumb/index.d.ts +40 -3
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.scss +7 -11
- package/mat-carousel/index.d.ts +52 -2
- package/mat-carousel/src/onemrva-mat-carousel.component.scss +4 -3
- package/mat-choice-chip/index.d.ts +19 -1
- package/mat-choice-chip/src/onemrva-mat-choice-chip.component.scss +10 -2
- package/mat-copy-to-clipboard/index.d.ts +26 -1
- package/mat-country-item/index.d.ts +10 -0
- package/mat-datepicker-header/index.d.ts +44 -1
- package/mat-empty-row/index.d.ts +19 -1
- package/mat-file-upload/index.d.ts +301 -8
- package/mat-input-address/index.d.ts +31 -1
- package/mat-input-birthplace/index.d.ts +36 -1
- package/mat-input-country/index.d.ts +30 -1
- package/mat-input-country/src/onemrva-mat-input-country.component.scss +1 -1
- package/mat-input-enterprise-number/index.d.ts +37 -1
- package/mat-input-iban/index.d.ts +79 -1
- package/mat-input-phone/index.d.ts +44 -2
- package/mat-message-box/index.d.ts +101 -2
- package/mat-multi-select/index.d.ts +57 -2
- package/mat-notification/index.d.ts +43 -1
- package/mat-paginator/index.d.ts +58 -2
- package/mat-panel/index.d.ts +55 -6
- package/mat-panel/src/onemrva-mat-panel.component.scss +34 -2
- package/mat-pop-over/index.d.ts +40 -4
- package/mat-pop-over/src/onemrva-mat-pop-over.component.scss +9 -9
- package/mat-progress-bar/index.d.ts +18 -1
- package/mat-select-search/index.d.ts +197 -3
- package/mat-selectable-box/index.d.ts +29 -2
- package/mat-side-menu/index.d.ts +33 -2
- package/mat-skeleton/index.d.ts +100 -3
- package/mat-spinner/index.d.ts +25 -3
- package/mat-stepper/index.d.ts +36 -2
- package/mat-stepper/src/onemrva-mat-stepper.scss +2 -0
- package/mat-sticker/index.d.ts +14 -2
- package/mat-sticker/src/onemrva-mat-sticker.component.scss +5 -0
- package/mat-table-of-content/index.d.ts +84 -4
- package/mat-task-list/index.d.ts +57 -5
- package/mat-timepicker/index.d.ts +386 -6
- package/mat-timepicker/src/clock/clock.component.scss +7 -6
- package/mat-toast/index.d.ts +30 -2
- package/mat-tooltip/index.d.ts +39 -4
- package/package.json +24 -15
- package/page-error/index.d.ts +34 -2
- package/page-not-found/index.d.ts +54 -5
- package/shared/index.d.ts +532 -15
- package/utils/index.d.ts +32 -2
- package/flag-icon/src/flag-icon.component.d.ts +0 -16
- package/layout/src/components/index.d.ts +0 -23
- package/layout/src/components/layout/layout.component.d.ts +0 -60
- package/layout/src/components/layout-after-nav/layout-after-nav.component.d.ts +0 -11
- package/layout/src/components/layout-content/layout-content.component.d.ts +0 -11
- package/layout/src/components/layout-drawer-actions/layout-drawer-actions.component.d.ts +0 -8
- package/layout/src/components/layout-drawer-content/layout-drawer-content.component.d.ts +0 -8
- package/layout/src/components/layout-drawer-title/layout-drawer-title.component.d.ts +0 -9
- package/layout/src/components/layout-footer/layout-footer.component.d.ts +0 -7
- package/layout/src/components/layout-login-menu/layout-login-menu.component.d.ts +0 -11
- package/layout/src/components/layout-route/layout-route.component.d.ts +0 -24
- package/layout/src/components/layout-sidenav/layout-sidenav.component.d.ts +0 -24
- package/layout/src/components/layout-sidenav-title/layout-sidenav-title.component.d.ts +0 -7
- package/layout/src/components/layout-subroute/layout-subroute.component.d.ts +0 -20
- package/layout/src/components/layout-title/layout-title.component.d.ts +0 -11
- package/layout/src/decorators/coerce-boolean-input.decorator.d.ts +0 -1
- package/layout/src/decorators/index.d.ts +0 -2
- package/layout/src/decorators/observable-content.decorator.d.ts +0 -1
- package/layout/src/directives/drawer-host.directive.d.ts +0 -14
- package/layout/src/directives/index.d.ts +0 -2
- package/layout/src/directives/striphtml.pipe.d.ts +0 -7
- package/layout/src/enums/environment.enum.d.ts +0 -6
- package/layout/src/enums/index.d.ts +0 -1
- package/layout/src/layout.module.d.ts +0 -32
- package/layout/src/models/index.d.ts +0 -2
- package/layout/src/models/onem-language.model.d.ts +0 -4
- package/layout/src/models/onemrva-profile.model.d.ts +0 -16
- package/layout/src/services/drawer.service.d.ts +0 -13
- package/layout/src/services/index.d.ts +0 -1
- package/mat-avatar/src/onemrva-mat-avatar.component.d.ts +0 -240
- package/mat-avatar/src/onemrva-mat-avatar.module.d.ts +0 -7
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.d.ts +0 -11
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.model.d.ts +0 -5
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.module.d.ts +0 -10
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.service.d.ts +0 -12
- package/mat-carousel/src/mat-carousel-item/onemrva-mat-carousel-item.component.d.ts +0 -11
- package/mat-carousel/src/onemrva-mat-carousel.component.d.ts +0 -40
- package/mat-choice-chip/src/onemrva-mat-choice-chip.component.d.ts +0 -10
- package/mat-copy-to-clipboard/src/components/copy-to-clipboard.component.d.ts +0 -26
- package/mat-datepicker-header/src/onemrva-mat-datepicker-header.component.d.ts +0 -43
- package/mat-empty-row/src/onemrva-mat-empty-row.component.d.ts +0 -19
- package/mat-file-upload/src/components/index.d.ts +0 -3
- package/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.d.ts +0 -29
- package/mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.d.ts +0 -60
- package/mat-file-upload/src/directives/dnd.directive.d.ts +0 -11
- package/mat-file-upload/src/models/action-config.model.d.ts +0 -9
- package/mat-file-upload/src/models/progress-file.model.d.ts +0 -28
- package/mat-file-upload/src/onemrva-mat-file-upload-itf.store.d.ts +0 -55
- package/mat-file-upload/src/onemrva-mat-file-upload.module.d.ts +0 -17
- package/mat-file-upload/src/onemrva-mat-file-upload.service.d.ts +0 -23
- package/mat-file-upload/src/onemrva-mat-file-upload.store.d.ts +0 -79
- package/mat-input-address/src/onemrva-mat-input-address.component.d.ts +0 -28
- package/mat-input-birthplace/src/country-item.component.d.ts +0 -11
- package/mat-input-birthplace/src/onemrva-mat-input-birthplace.component.d.ts +0 -31
- package/mat-input-country/src/onemrva-mat-input-country.component.d.ts +0 -27
- package/mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.d.ts +0 -34
- package/mat-input-iban/src/onemrva-mat-input-iban.component.d.ts +0 -77
- package/mat-input-phone/src/onemrva-mat-input-phone.component.d.ts +0 -35
- package/mat-input-phone/src/phone-number.directive.d.ts +0 -6
- package/mat-message-box/src/onemrva-mat-message-box.component.d.ts +0 -90
- package/mat-message-box/src/onemrva-mat-message-box.module.d.ts +0 -7
- package/mat-multi-select/src/onemrva-mat-multi-select.component.d.ts +0 -48
- package/mat-multi-select/src/onemrva-mat-multi-select.module.d.ts +0 -7
- package/mat-notification/src/onemrva-mat-notification.component.d.ts +0 -40
- package/mat-paginator/src/onemrva-mat-paginator.component.d.ts +0 -50
- package/mat-paginator/src/onemrva-mat-paginator.module.d.ts +0 -7
- package/mat-panel/src/onemrva-mat-panel-content.component.d.ts +0 -8
- package/mat-panel/src/onemrva-mat-panel-icon.component.d.ts +0 -8
- package/mat-panel/src/onemrva-mat-panel-title-action.component.d.ts +0 -8
- package/mat-panel/src/onemrva-mat-panel-title.component.d.ts +0 -13
- package/mat-panel/src/onemrva-mat-panel.component.d.ts +0 -19
- package/mat-panel/src/onemrva-mat-panel.module.d.ts +0 -11
- package/mat-pop-over/src/onemrva-mat-pop-over-content.component.d.ts +0 -8
- package/mat-pop-over/src/onemrva-mat-pop-over-trigger.component.d.ts +0 -8
- package/mat-pop-over/src/onemrva-mat-pop-over.component.d.ts +0 -20
- package/mat-pop-over/src/onemrva-mat-pop-over.module.d.ts +0 -9
- package/mat-progress-bar/src/onemrva-mat-progress-bar.component.d.ts +0 -15
- package/mat-select-search/src/default-options.d.ts +0 -25
- package/mat-select-search/src/mat-select-no-entries-found.directive.d.ts +0 -14
- package/mat-select-search/src/mat-select-search-clear.directive.d.ts +0 -12
- package/mat-select-search/src/mat-select-search.component.d.ts +0 -141
- package/mat-select-search/src/mat-select-search.module.d.ts +0 -13
- package/mat-selectable-box/src/onemrva-mat-selectable-box.component.d.ts +0 -21
- package/mat-selectable-box/src/onemrva-mat-selectable-box.module.d.ts +0 -7
- package/mat-side-menu/src/onemrva-mat-side-menu.component.d.ts +0 -24
- package/mat-side-menu/src/onemrva-mat-side-menu.module.d.ts +0 -7
- package/mat-skeleton/src/onemrva-mat-skeleton-enums.d.ts +0 -21
- package/mat-skeleton/src/onemrva-mat-skeleton.component.d.ts +0 -69
- package/mat-skeleton/src/onemrva-mat-skeleton.module.d.ts +0 -7
- package/mat-spinner/src/onemrva-mat-loading.directive.d.ts +0 -12
- package/mat-spinner/src/onemrva-mat-spinner.component.d.ts +0 -5
- package/mat-spinner/src/onemrva-mat-spinner.module.d.ts +0 -8
- package/mat-stepper/src/_stepper-variables.scss +0 -29
- package/mat-stepper/src/onemrva-mat-stepper.component.d.ts +0 -21
- package/mat-stepper/src/onemrva-mat-stepper.module.d.ts +0 -8
- package/mat-stepper/src/onemrva-stepper-animations.d.ts +0 -16
- package/mat-sticker/src/onemrva-mat-sticker.component.d.ts +0 -5
- package/mat-sticker/src/onemrva-mat-sticker.module.d.ts +0 -7
- package/mat-table-of-content/src/onemrva-mat-table-of-content.component.d.ts +0 -31
- package/mat-table-of-content/src/onemrva-mat-table-of-content.directive.d.ts +0 -27
- package/mat-table-of-content/src/onemrva-mat-table-of-content.service.d.ts +0 -12
- package/mat-table-of-content/src/onemrva-mat-toc-anchor.model.d.ts +0 -19
- package/mat-task-list/src/onemrva-mat-task-content.component.d.ts +0 -8
- package/mat-task-list/src/onemrva-mat-task-list.component.d.ts +0 -13
- package/mat-task-list/src/onemrva-mat-task-list.module.d.ts +0 -10
- package/mat-task-list/src/onemrva-mat-task-title.component.d.ts +0 -11
- package/mat-task-list/src/onemrva-mat-task.component.d.ts +0 -25
- package/mat-timepicker/src/clock/clock.component.d.ts +0 -50
- package/mat-timepicker/src/interfaces-and-types.d.ts +0 -13
- package/mat-timepicker/src/onemrva-mat-timepicker.component.d.ts +0 -129
- package/mat-timepicker/src/onemrva-mat-timepicker.module.d.ts +0 -11
- package/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.d.ts +0 -60
- package/mat-timepicker/src/timepicker-toggle/timepicker-toggle.component.d.ts +0 -42
- package/mat-timepicker/src/timepicker.directive.d.ts +0 -102
- package/mat-timepicker/src/util.d.ts +0 -12
- package/mat-toast/src/onemrva-mat-toast.component.d.ts +0 -24
- package/mat-toast/src/onemrva-mat-toast.module.d.ts +0 -8
- package/mat-tooltip/src/onemrva-mat-tooltip.component.d.ts +0 -8
- package/mat-tooltip/src/onemrva-mat-tooltip.directive.d.ts +0 -24
- package/mat-tooltip/src/onemrva-mat-tooltip.module.d.ts +0 -8
- package/page-error/src/page-error-action.component.d.ts +0 -7
- package/page-error/src/page-error.component.d.ts +0 -27
- package/page-not-found/src/page-not-found-action.component.d.ts +0 -7
- package/page-not-found/src/page-not-found-extra.component.d.ts +0 -7
- package/page-not-found/src/page-not-found-invader.component.d.ts +0 -21
- package/page-not-found/src/page-not-found.component.d.ts +0 -17
- package/page-not-found/src/page-not-found.module.d.ts +0 -10
- package/public-api.d.ts +0 -1
- package/shared/src/lib/adapters/index.d.ts +0 -2
- package/shared/src/lib/adapters/luxon.date.adapter.d.ts +0 -50
- package/shared/src/lib/adapters/luxon.utils.d.ts +0 -26
- package/shared/src/lib/adapters/native.date.adapter.d.ts +0 -17
- package/shared/src/lib/components/clipboard-icon/clipboard-icon.component.d.ts +0 -10
- package/shared/src/lib/components/index.d.ts +0 -1
- package/shared/src/lib/constants/CDNUrlModeOptions.d.ts +0 -4
- package/shared/src/lib/constants/cdn.d.ts +0 -2
- package/shared/src/lib/constants/constants.d.ts +0 -6
- package/shared/src/lib/constants/date.format.d.ts +0 -5
- package/shared/src/lib/constants/index.d.ts +0 -4
- package/shared/src/lib/containers/WebComponentOverlayContainer.d.ts +0 -25
- package/shared/src/lib/containers/index.d.ts +0 -1
- package/shared/src/lib/decorators/HttpCacheDecorator.d.ts +0 -28
- package/shared/src/lib/decorators/index.d.ts +0 -1
- package/shared/src/lib/directives/clipboard.directive.d.ts +0 -21
- package/shared/src/lib/directives/color.directive.d.ts +0 -24
- package/shared/src/lib/directives/date-format.directive.d.ts +0 -19
- package/shared/src/lib/directives/digit-only.directive.d.ts +0 -6
- package/shared/src/lib/directives/iconRight.directive.d.ts +0 -9
- package/shared/src/lib/directives/if-width-is.directive.d.ts +0 -16
- package/shared/src/lib/directives/index.d.ts +0 -10
- package/shared/src/lib/directives/mask.directive.d.ts +0 -21
- package/shared/src/lib/directives/mat-row-clickable.directive.d.ts +0 -12
- package/shared/src/lib/directives/size.directive.d.ts +0 -20
- package/shared/src/lib/helpers/index.d.ts +0 -1
- package/shared/src/lib/helpers/translation-helper.d.ts +0 -17
- package/shared/src/lib/interfaces/OnemRvaCommonCountry.interface.d.ts +0 -23
- package/shared/src/lib/interfaces/index.d.ts +0 -1
- package/shared/src/lib/loaders/index.d.ts +0 -2
- package/shared/src/lib/loaders/onemrva-translate-cdn-loader.d.ts +0 -14
- package/shared/src/lib/loaders/onemrva-translate-http-loader.d.ts +0 -14
- package/shared/src/lib/pipes/index.d.ts +0 -2
- package/shared/src/lib/pipes/onemrva-bce.pipe.d.ts +0 -7
- package/shared/src/lib/pipes/onemrva-niss.pipe.d.ts +0 -7
- package/shared/src/lib/providers/index.d.ts +0 -5
- package/shared/src/lib/providers/onemrva.date.luxon.provider.d.ts +0 -2
- package/shared/src/lib/providers/onemrva.date.luxon.year.month.provider.d.ts +0 -2
- package/shared/src/lib/providers/onemrva.date.native.provider.d.ts +0 -2
- package/shared/src/lib/providers/onemrva.date.native.year.month.provider.d.ts +0 -2
- package/shared/src/lib/providers/onemrva.theme.provider.d.ts +0 -2
- package/shared/src/lib/services/cache.service.d.ts +0 -10
- package/shared/src/lib/services/cdn.service.d.ts +0 -30
- package/shared/src/lib/services/country-cdn.service.d.ts +0 -30
- package/shared/src/lib/services/country-lookup.service.d.ts +0 -15
- package/shared/src/lib/services/index.d.ts +0 -8
- package/shared/src/lib/services/mime-cdn.service.d.ts +0 -15
- package/shared/src/lib/services/onemrva-error-handler.service.d.ts +0 -12
- package/shared/src/lib/services/onemrva-missing-translation.service.d.ts +0 -4
- package/shared/src/lib/services/osm.service.d.ts +0 -45
- package/shared/src/lib/shared.module.d.ts +0 -14
- package/shared/src/lib/tokens/index.d.ts +0 -1
- package/shared/src/lib/tokens/lookup.token.d.ts +0 -2
- package/shared/src/lib/validators/bank-account.validator.utils.d.ts +0 -4
- package/shared/src/lib/validators/index.d.ts +0 -2
- package/shared/src/lib/validators/onemrva-validators.d.ts +0 -8
- package/utils/src/enum.utils.d.ts +0 -6
- package/utils/src/enums/color.enum.d.ts +0 -12
- package/utils/src/enums/index.d.ts +0 -2
- package/utils/src/enums/size.enum.d.ts +0 -10
- /package/{mat-input-birthplace/src/country-item.component.scss → mat-country-item/src/onemrva-mat-country-item.component.scss} +0 -0
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, InjectionToken,
|
|
3
|
-
import * as
|
|
2
|
+
import { inject, ElementRef, Component, InjectionToken, Injectable, HostListener, Directive, HostBinding, Input, EventEmitter, Output, TemplateRef, ViewContainerRef, Renderer2, ComponentFactoryResolver, Pipe, RendererFactory2, NgModule, ErrorHandler } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/material/icon';
|
|
4
4
|
import { MatIconModule } from '@angular/material/icon';
|
|
5
|
-
import * as
|
|
5
|
+
import * as i2 from '@angular/material/tooltip';
|
|
6
6
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
7
|
-
import
|
|
7
|
+
import { Clipboard } from '@angular/cdk/clipboard';
|
|
8
8
|
import { DOCUMENT } from '@angular/common';
|
|
9
|
-
import
|
|
10
|
-
import { _isTestEnvironment } from '@angular/cdk/platform';
|
|
9
|
+
import { Platform, _isTestEnvironment } from '@angular/cdk/platform';
|
|
11
10
|
import { Subject, merge, NEVER, take, tap, catchError, startWith, switchMap, shareReplay, filter, finalize, of, forkJoin, ReplaySubject, skip, distinctUntilChanged, map as map$1, combineLatestWith, from, takeUntil } from 'rxjs';
|
|
12
11
|
import { OnemrvaMatColor, OnemrvaMatSize } from '@onemrvapublic/design-system/utils';
|
|
13
|
-
import
|
|
12
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
14
13
|
import { catchError as catchError$1, map, startWith as startWith$1 } from 'rxjs/operators';
|
|
15
|
-
import
|
|
16
|
-
import { HttpParams } from '@angular/common/http';
|
|
14
|
+
import { HttpClient, HttpParams } from '@angular/common/http';
|
|
17
15
|
import { __decorate } from 'tslib';
|
|
18
|
-
import
|
|
19
|
-
import * as i1$5 from '@angular/material/snack-bar';
|
|
16
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
20
17
|
import { countrySpecs, validateIBAN, electronicFormatIBAN, ValidationErrorsIBAN } from 'ibantools';
|
|
21
18
|
import { NativeDateAdapter, DateAdapter, MAT_DATE_LOCALE, MAT_DATE_FORMATS } from '@angular/material/core';
|
|
22
19
|
import { DateTime, Info } from 'luxon';
|
|
@@ -25,17 +22,17 @@ import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
|
|
|
25
22
|
import { OverlayContainer } from '@angular/cdk/overlay';
|
|
26
23
|
|
|
27
24
|
class ClipboardIconComponent {
|
|
28
|
-
constructor(
|
|
29
|
-
this._elementRef =
|
|
30
|
-
this.clipboardService =
|
|
25
|
+
constructor() {
|
|
26
|
+
this._elementRef = inject(ElementRef);
|
|
27
|
+
this.clipboardService = inject(Clipboard);
|
|
31
28
|
}
|
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
33
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ClipboardIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
30
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: ClipboardIconComponent, isStandalone: true, selector: "lib-clipboard-icon", ngImport: i0, template: "<mat-icon [matTooltip]=\"'TEST'\">content_copy</mat-icon>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] }); }
|
|
34
31
|
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: ClipboardIconComponent, decorators: [{
|
|
36
33
|
type: Component,
|
|
37
34
|
args: [{ selector: 'lib-clipboard-icon', standalone: true, imports: [MatIconModule, MatTooltipModule], template: "<mat-icon [matTooltip]=\"'TEST'\">content_copy</mat-icon>\n" }]
|
|
38
|
-
}]
|
|
35
|
+
}] });
|
|
39
36
|
|
|
40
37
|
var CDNUrlModeOptions;
|
|
41
38
|
(function (CDNUrlModeOptions) {
|
|
@@ -48,7 +45,8 @@ const CDN_URLS = {
|
|
|
48
45
|
val: 'https://cdn.servicesval.rvaonem.fgov.be',
|
|
49
46
|
};
|
|
50
47
|
const NISS_MASK = '000000/000-00';
|
|
51
|
-
const LOOKUP_COUNTRY_URL = '
|
|
48
|
+
const LOOKUP_COUNTRY_URL = 'http://services/lookupwpptservice/rest/lookup/getLookups?class=be.fgov.onerva.lookup.wppt.persistence.model.common.Country';
|
|
49
|
+
const ONEMRVA_THEME = 'onemrva-theme';
|
|
52
50
|
// export const LOOKUP_POSTAL_CODE_URL =
|
|
53
51
|
// 'https://services/lookupwpptservice/rest/lookup/getBelgianCommunityByPostalCode?postalCode=';
|
|
54
52
|
|
|
@@ -149,22 +147,34 @@ const ONEMRVA_MAT_LUXON_DATE_FORMATS = {
|
|
|
149
147
|
|
|
150
148
|
const CDN_URL_MODE = new InjectionToken('This is cdn url that will be used (val/prod)');
|
|
151
149
|
|
|
150
|
+
const LOOKUP_COUNTRY_SERVICE_URL = new InjectionToken('LOOKUP_COUNTRY_SERVICE_URL', {
|
|
151
|
+
providedIn: 'root',
|
|
152
|
+
factory: () => LOOKUP_COUNTRY_URL,
|
|
153
|
+
});
|
|
154
|
+
const ONEMRVA_THEME_CLASS = new InjectionToken('ONEMRVA_THEME_CLASS', {
|
|
155
|
+
providedIn: 'root',
|
|
156
|
+
factory: () => ONEMRVA_THEME,
|
|
157
|
+
});
|
|
158
|
+
|
|
152
159
|
/**
|
|
153
160
|
* @license
|
|
154
|
-
* Copyright
|
|
161
|
+
* Copyright 2025 OneMRVA
|
|
155
162
|
*
|
|
156
163
|
* Use of this source code is governed by an MIT-style license that can be
|
|
157
164
|
* found in the LICENSE file at https://angular.io/license
|
|
158
165
|
*/
|
|
159
166
|
/** Container inside which all overlays will render. */
|
|
160
167
|
class WebComponentOverlayContainer {
|
|
161
|
-
constructor(
|
|
162
|
-
this._platform = _platform;
|
|
168
|
+
constructor() {
|
|
163
169
|
this._containerElement = null;
|
|
164
|
-
this.
|
|
170
|
+
this._themeObserver = null;
|
|
171
|
+
this.platform = inject(Platform);
|
|
172
|
+
this._document = inject(DOCUMENT);
|
|
173
|
+
this.themeClass = inject(ONEMRVA_THEME_CLASS);
|
|
165
174
|
}
|
|
166
175
|
ngOnDestroy() {
|
|
167
176
|
this._containerElement?.remove();
|
|
177
|
+
this._themeObserver?.disconnect();
|
|
168
178
|
}
|
|
169
179
|
/**
|
|
170
180
|
* This method returns the overlay container element. It will lazily
|
|
@@ -184,49 +194,68 @@ class WebComponentOverlayContainer {
|
|
|
184
194
|
*/
|
|
185
195
|
_createContainer() {
|
|
186
196
|
const containerClass = 'cdk-overlay-container';
|
|
187
|
-
|
|
188
|
-
// https://github.com/angular/angular/issues/18831
|
|
189
|
-
if (this._platform.isBrowser || _isTestEnvironment()) {
|
|
197
|
+
if (this.platform.isBrowser || _isTestEnvironment()) {
|
|
190
198
|
const oppositePlatformContainers = this._document.querySelectorAll(`.${containerClass}[platform="server"], ` +
|
|
191
199
|
`.${containerClass}[platform="test"]`);
|
|
192
|
-
// Remove any old containers from the opposite platform.
|
|
193
|
-
// This can happen when transitioning from the server to the client.
|
|
194
200
|
oppositePlatformContainers.forEach(platform => {
|
|
195
201
|
platform.remove();
|
|
196
202
|
});
|
|
197
203
|
}
|
|
198
204
|
const containerwrap = this._document.createElement('div');
|
|
199
|
-
containerwrap.classList.add(
|
|
205
|
+
containerwrap.classList.add(this.themeClass);
|
|
206
|
+
const themeElements = this._document.querySelectorAll(`.${this.themeClass}`);
|
|
207
|
+
const existingThemeElement = Array.from(themeElements).find(el => el !== containerwrap);
|
|
208
|
+
if (existingThemeElement) {
|
|
209
|
+
if (existingThemeElement.classList.contains('dark-theme')) {
|
|
210
|
+
containerwrap.classList.add('dark-theme');
|
|
211
|
+
}
|
|
212
|
+
else if (existingThemeElement.classList.contains('light-theme')) {
|
|
213
|
+
containerwrap.classList.add('light-theme');
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
this._themeObserver = new MutationObserver(mutations => {
|
|
217
|
+
mutations.forEach(mutation => {
|
|
218
|
+
if (mutation.type === 'attributes' &&
|
|
219
|
+
mutation.attributeName === 'class') {
|
|
220
|
+
const target = mutation.target;
|
|
221
|
+
if (target.classList.contains(this.themeClass) &&
|
|
222
|
+
target !== containerwrap) {
|
|
223
|
+
containerwrap.classList.remove('dark-theme', 'light-theme');
|
|
224
|
+
if (target.classList.contains('dark-theme')) {
|
|
225
|
+
containerwrap.classList.add('dark-theme');
|
|
226
|
+
}
|
|
227
|
+
else if (target.classList.contains('light-theme')) {
|
|
228
|
+
containerwrap.classList.add('light-theme');
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
});
|
|
234
|
+
if (existingThemeElement) {
|
|
235
|
+
this._themeObserver.observe(existingThemeElement, {
|
|
236
|
+
attributes: true,
|
|
237
|
+
attributeFilter: ['class'],
|
|
238
|
+
});
|
|
239
|
+
}
|
|
200
240
|
const container = this._document.createElement('div');
|
|
201
241
|
container.classList.add(containerClass);
|
|
202
|
-
// A long time ago we kept adding new overlay containers whenever a new app was instantiated,
|
|
203
|
-
// but at some point we added logic which clears the duplicate ones in order to avoid leaks.
|
|
204
|
-
// The new logic was a little too aggressive since it was breaking some legitimate use cases.
|
|
205
|
-
// To mitigate the problem we made it so that only containers from a different platform are
|
|
206
|
-
// cleared, but the side-effect was that people started depending on the overly-aggressive
|
|
207
|
-
// logic to clean up their tests for them. Until we can introduce an overlay-specific testing
|
|
208
|
-
// module which does the cleanup, we try to detect that we're in a test environment and we
|
|
209
|
-
// always clear the container. See #17006.
|
|
210
242
|
if (_isTestEnvironment()) {
|
|
211
243
|
container.setAttribute('platform', 'test');
|
|
212
244
|
}
|
|
213
|
-
else if (!this.
|
|
245
|
+
else if (!this.platform.isBrowser) {
|
|
214
246
|
container.setAttribute('platform', 'server');
|
|
215
247
|
}
|
|
216
248
|
containerwrap.appendChild(container);
|
|
217
249
|
this._document.body.appendChild(containerwrap);
|
|
218
250
|
this._containerElement = container;
|
|
219
251
|
}
|
|
220
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
221
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
252
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: WebComponentOverlayContainer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
253
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: WebComponentOverlayContainer, providedIn: 'root' }); }
|
|
222
254
|
}
|
|
223
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: WebComponentOverlayContainer, decorators: [{
|
|
224
256
|
type: Injectable,
|
|
225
257
|
args: [{ providedIn: 'root' }]
|
|
226
|
-
}]
|
|
227
|
-
type: Inject,
|
|
228
|
-
args: [DOCUMENT]
|
|
229
|
-
}] }, { type: i1$1.Platform }] });
|
|
258
|
+
}] });
|
|
230
259
|
|
|
231
260
|
class DefaultStorage {
|
|
232
261
|
constructor() {
|
|
@@ -387,10 +416,10 @@ class DigitOnlyDirective {
|
|
|
387
416
|
return;
|
|
388
417
|
e.preventDefault();
|
|
389
418
|
}
|
|
390
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
391
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
419
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: DigitOnlyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
420
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: DigitOnlyDirective, isStandalone: true, selector: "[digitOnly]", host: { listeners: { "keydown": "onKeyDown($event)" } }, ngImport: i0 }); }
|
|
392
421
|
}
|
|
393
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: DigitOnlyDirective, decorators: [{
|
|
394
423
|
type: Directive,
|
|
395
424
|
args: [{
|
|
396
425
|
selector: '[digitOnly]',
|
|
@@ -436,14 +465,15 @@ class OnemRvaColorDirective {
|
|
|
436
465
|
get _isNeutral() {
|
|
437
466
|
return this.color === OnemrvaMatColor.NEUTRAL;
|
|
438
467
|
}
|
|
439
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
440
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
468
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaColorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
469
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: OnemRvaColorDirective, isStandalone: true, selector: "onemrva-mat-selectable-box[color],div[color],onemrva-mat-avatar[color],mat-card[color],mat-toolbar[color],onemrva-mat-spinner[color],onemrva-mat-notification[color],onemrva-mat-sticker[color],onemrva-mat-panel[color],onemrva-mat-task[color],onemrva-mat-choice-chip[color],button[color],mat-icon[color],mat-chip[color],mat-chip-option[color]", inputs: { color: "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-neutral": "this._isNeutral" } }, ngImport: i0 }); }
|
|
441
470
|
}
|
|
442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaColorDirective, decorators: [{
|
|
443
472
|
type: Directive,
|
|
444
473
|
args: [{
|
|
445
474
|
selector: 'onemrva-mat-selectable-box[color],' +
|
|
446
475
|
'div[color],' +
|
|
476
|
+
'onemrva-mat-avatar[color],' +
|
|
447
477
|
'mat-card[color],' +
|
|
448
478
|
'mat-toolbar[color],' +
|
|
449
479
|
'onemrva-mat-spinner[color],' +
|
|
@@ -451,6 +481,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
451
481
|
'onemrva-mat-sticker[color],' +
|
|
452
482
|
'onemrva-mat-panel[color],' +
|
|
453
483
|
'onemrva-mat-task[color],' +
|
|
484
|
+
'onemrva-mat-choice-chip[color],' +
|
|
454
485
|
'button[color],' +
|
|
455
486
|
'mat-icon[color],' +
|
|
456
487
|
'mat-chip[color],' +
|
|
@@ -495,10 +526,10 @@ class MatRowClickableDirective extends OnemRvaColorDirective {
|
|
|
495
526
|
get _isClickable() {
|
|
496
527
|
return this.matRowClickable.observed;
|
|
497
528
|
}
|
|
498
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
499
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
529
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: MatRowClickableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
530
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: MatRowClickableDirective, isStandalone: true, selector: "tr[matRowClickable]", outputs: { matRowClickable: "matRowClickable" }, host: { listeners: { "click": "click($event)" }, properties: { "class.clickable": "this._isClickable", "class.onemrva-clickable-row": "this.cssClass" } }, usesInheritance: true, ngImport: i0 }); }
|
|
500
531
|
}
|
|
501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: MatRowClickableDirective, decorators: [{
|
|
502
533
|
type: Directive,
|
|
503
534
|
args: [{
|
|
504
535
|
selector: 'tr[matRowClickable]',
|
|
@@ -521,10 +552,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
521
552
|
* Conditionally adds component to the tree if screen width matches at least one size in input
|
|
522
553
|
*/
|
|
523
554
|
class IfWidthIsDirective {
|
|
524
|
-
constructor(
|
|
525
|
-
this.breakpointObserver =
|
|
526
|
-
this._templateRef =
|
|
527
|
-
this._viewContainer =
|
|
555
|
+
constructor() {
|
|
556
|
+
this.breakpointObserver = inject(BreakpointObserver);
|
|
557
|
+
this._templateRef = inject(TemplateRef);
|
|
558
|
+
this._viewContainer = inject(ViewContainerRef);
|
|
528
559
|
}
|
|
529
560
|
ngOnInit() {
|
|
530
561
|
this.breakpointObserver
|
|
@@ -536,16 +567,16 @@ class IfWidthIsDirective {
|
|
|
536
567
|
}
|
|
537
568
|
});
|
|
538
569
|
}
|
|
539
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
540
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
570
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: IfWidthIsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
571
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: IfWidthIsDirective, isStandalone: true, selector: "[ifWidthIs]", inputs: { ifWidthIs: "ifWidthIs" }, ngImport: i0 }); }
|
|
541
572
|
}
|
|
542
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: IfWidthIsDirective, decorators: [{
|
|
543
574
|
type: Directive,
|
|
544
575
|
args: [{
|
|
545
576
|
selector: '[ifWidthIs]',
|
|
546
577
|
standalone: true,
|
|
547
578
|
}]
|
|
548
|
-
}],
|
|
579
|
+
}], propDecorators: { ifWidthIs: [{
|
|
549
580
|
type: Input
|
|
550
581
|
}] } });
|
|
551
582
|
|
|
@@ -558,6 +589,12 @@ const UNDO_STACK_MAX_LENGTH = 50;
|
|
|
558
589
|
* L: only letters lowercase
|
|
559
590
|
*/
|
|
560
591
|
class OnemrvaMaskDirective {
|
|
592
|
+
constructor() {
|
|
593
|
+
this.el = inject(ElementRef);
|
|
594
|
+
this.inputStack = ['']; // Stack for undo/redo
|
|
595
|
+
this.stackIdx = 0; // Current index in undo/redo stack
|
|
596
|
+
this.markForDelete = false;
|
|
597
|
+
}
|
|
561
598
|
onKeyDown(event) {
|
|
562
599
|
// Allow functional keystrokes
|
|
563
600
|
const e = event;
|
|
@@ -695,22 +732,16 @@ class OnemrvaMaskDirective {
|
|
|
695
732
|
}
|
|
696
733
|
this.markForDelete = false;
|
|
697
734
|
}
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
this.inputStack = ['']; // Stack for undo/redo
|
|
701
|
-
this.stackIdx = 0; // Current index in undo/redo stack
|
|
702
|
-
this.markForDelete = false;
|
|
703
|
-
}
|
|
704
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: OnemrvaMaskDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
705
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.10", type: OnemrvaMaskDirective, isStandalone: true, selector: "[onemrvamask]", inputs: { onemrvamask: "onemrvamask" }, host: { listeners: { "keydown": "onKeyDown($event)", "input": "onInput($event)" } }, ngImport: i0 }); }
|
|
735
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMaskDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
736
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: OnemrvaMaskDirective, isStandalone: true, selector: "[onemrvamask]", inputs: { onemrvamask: "onemrvamask" }, host: { listeners: { "keydown": "onKeyDown($event)", "input": "onInput($event)" } }, ngImport: i0 }); }
|
|
706
737
|
}
|
|
707
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaMaskDirective, decorators: [{
|
|
708
739
|
type: Directive,
|
|
709
740
|
args: [{
|
|
710
741
|
selector: '[onemrvamask]',
|
|
711
742
|
standalone: true,
|
|
712
743
|
}]
|
|
713
|
-
}],
|
|
744
|
+
}], propDecorators: { onemrvamask: [{
|
|
714
745
|
type: Input
|
|
715
746
|
}], onKeyDown: [{
|
|
716
747
|
type: HostListener,
|
|
@@ -750,12 +781,12 @@ function isAllowed(rule, character) {
|
|
|
750
781
|
* Conditionally adds component to the tree if screen width matches at least one size in input
|
|
751
782
|
*/
|
|
752
783
|
class OnemRvaClipboardDirective {
|
|
753
|
-
constructor(
|
|
754
|
-
this.elementRef =
|
|
755
|
-
this.renderer =
|
|
756
|
-
this.factory =
|
|
757
|
-
this.vcRef =
|
|
758
|
-
this.clipboardService =
|
|
784
|
+
constructor() {
|
|
785
|
+
this.elementRef = inject(ElementRef);
|
|
786
|
+
this.renderer = inject(Renderer2);
|
|
787
|
+
this.factory = inject(ComponentFactoryResolver);
|
|
788
|
+
this.vcRef = inject(ViewContainerRef);
|
|
789
|
+
this.clipboardService = inject(Clipboard);
|
|
759
790
|
this.class = '';
|
|
760
791
|
this.clipboard = '';
|
|
761
792
|
const miFactory = this.factory.resolveComponentFactory(ClipboardIconComponent);
|
|
@@ -766,16 +797,16 @@ class OnemRvaClipboardDirective {
|
|
|
766
797
|
this.vcRef.clear();
|
|
767
798
|
this.renderer.appendChild(this.elementRef.nativeElement, this.iconEl);
|
|
768
799
|
}
|
|
769
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
770
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
800
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaClipboardDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
801
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: OnemRvaClipboardDirective, isStandalone: true, selector: "span[clipboard]", inputs: { clipboard: "clipboard" }, host: { properties: { "class": "this.class" } }, ngImport: i0 }); }
|
|
771
802
|
}
|
|
772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
803
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaClipboardDirective, decorators: [{
|
|
773
804
|
type: Directive,
|
|
774
805
|
args: [{
|
|
775
806
|
selector: 'span[clipboard]',
|
|
776
807
|
standalone: true,
|
|
777
808
|
}]
|
|
778
|
-
}], ctorParameters: () => [
|
|
809
|
+
}], ctorParameters: () => [], propDecorators: { class: [{
|
|
779
810
|
type: HostBinding,
|
|
780
811
|
args: ['class']
|
|
781
812
|
}], clipboard: [{
|
|
@@ -789,10 +820,10 @@ class OnemRvaIconRightDirective {
|
|
|
789
820
|
constructor() {
|
|
790
821
|
this.class = true;
|
|
791
822
|
}
|
|
792
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
793
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
823
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaIconRightDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
824
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: OnemRvaIconRightDirective, isStandalone: true, selector: "button[iconRight]", host: { properties: { "class.onemrva-icon-right": "this.class" } }, ngImport: i0 }); }
|
|
794
825
|
}
|
|
795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaIconRightDirective, decorators: [{
|
|
796
827
|
type: Directive,
|
|
797
828
|
args: [{
|
|
798
829
|
selector: 'button[iconRight]',
|
|
@@ -804,8 +835,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
804
835
|
}] } });
|
|
805
836
|
|
|
806
837
|
class OnemrvaDateFormatDirective {
|
|
807
|
-
constructor(
|
|
808
|
-
this.el =
|
|
838
|
+
constructor() {
|
|
839
|
+
this.el = inject(ElementRef);
|
|
809
840
|
this.template = '__/__/____';
|
|
810
841
|
}
|
|
811
842
|
onPaste(event) {
|
|
@@ -1012,16 +1043,16 @@ class OnemrvaDateFormatDirective {
|
|
|
1012
1043
|
.replace(/[^0-9/]/g, '')
|
|
1013
1044
|
.replace('//', ''); // Remove everything except digits and slash
|
|
1014
1045
|
}
|
|
1015
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1016
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1046
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaDateFormatDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1047
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: OnemrvaDateFormatDirective, isStandalone: true, selector: "[onemrvaDateFormat]", host: { listeners: { "paste": "onPaste($event)", "cut": "onCut($event)", "focus": "onFocus()", "click": "onClick()", "keydown": "onKeyDown($event)", "blur": "onBlur()" } }, ngImport: i0 }); }
|
|
1017
1048
|
}
|
|
1018
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaDateFormatDirective, decorators: [{
|
|
1019
1050
|
type: Directive,
|
|
1020
1051
|
args: [{
|
|
1021
1052
|
selector: '[onemrvaDateFormat]',
|
|
1022
1053
|
standalone: true,
|
|
1023
1054
|
}]
|
|
1024
|
-
}],
|
|
1055
|
+
}], propDecorators: { onPaste: [{
|
|
1025
1056
|
type: HostListener,
|
|
1026
1057
|
args: ['paste', ['$event']]
|
|
1027
1058
|
}], onCut: [{
|
|
@@ -1068,10 +1099,10 @@ class OnemRvaSizeDirective {
|
|
|
1068
1099
|
get _isXXLarge() {
|
|
1069
1100
|
return this.size === OnemrvaMatSize.XXLARGE;
|
|
1070
1101
|
}
|
|
1071
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1072
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1102
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaSizeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1103
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.6", type: OnemRvaSizeDirective, isStandalone: true, selector: "mat-icon[size], onemrva-mat-skeleton[size]", inputs: { size: "size" }, host: { properties: { "class.xsmall": "this._isXSmall", "class.small": "this._isSmall", "class.large": "this._isLarge", "class.xlarge": "this._isXLarge", "class.xxlarge": "this._isXXLarge" } }, ngImport: i0 }); }
|
|
1073
1104
|
}
|
|
1074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaSizeDirective, decorators: [{
|
|
1075
1106
|
type: Directive,
|
|
1076
1107
|
args: [{
|
|
1077
1108
|
selector: 'mat-icon[size], onemrva-mat-skeleton[size]',
|
|
@@ -1215,10 +1246,10 @@ class OnemrvaBcePipe {
|
|
|
1215
1246
|
return '?01?.???.???';
|
|
1216
1247
|
return `${strOut.substring(0, 4)}.${strOut.substring(4, 7)}.${strOut.substring(7, 10)}`;
|
|
1217
1248
|
}
|
|
1218
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1219
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1249
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaBcePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1250
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaBcePipe, isStandalone: true, name: "onemrvaBce" }); }
|
|
1220
1251
|
}
|
|
1221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaBcePipe, decorators: [{
|
|
1222
1253
|
type: Pipe,
|
|
1223
1254
|
args: [{
|
|
1224
1255
|
name: 'onemrvaBce',
|
|
@@ -1233,10 +1264,10 @@ class OnemrvaNissPipe {
|
|
|
1233
1264
|
return '??01??/???-??';
|
|
1234
1265
|
return `${strOut.substring(0, 6)}/${strOut.substring(6, 9)}-${strOut.substring(9, 11)}`;
|
|
1235
1266
|
}
|
|
1236
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1237
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
1267
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaNissPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1268
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaNissPipe, isStandalone: true, name: "onemrvaNiss" }); }
|
|
1238
1269
|
}
|
|
1239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaNissPipe, decorators: [{
|
|
1240
1271
|
type: Pipe,
|
|
1241
1272
|
args: [{
|
|
1242
1273
|
name: 'onemrvaNiss',
|
|
@@ -1244,18 +1275,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
1244
1275
|
}]
|
|
1245
1276
|
}] });
|
|
1246
1277
|
|
|
1247
|
-
const LOOKUP_COUNTRY_SERVICE_URL = new InjectionToken('LOOKUP_COUNTRY_SERVICE_URL', {
|
|
1248
|
-
providedIn: 'root',
|
|
1249
|
-
factory: () => LOOKUP_COUNTRY_URL,
|
|
1250
|
-
});
|
|
1251
|
-
|
|
1252
1278
|
class CommonCountryLookupService {
|
|
1253
|
-
constructor(
|
|
1254
|
-
this.http = http;
|
|
1255
|
-
this.commonCountryServiceURL = commonCountryServiceURL;
|
|
1279
|
+
constructor() {
|
|
1256
1280
|
this._countries$ = new ReplaySubject(1);
|
|
1257
1281
|
this._customersInitialized = false;
|
|
1258
|
-
|
|
1282
|
+
this.http = inject(HttpClient);
|
|
1283
|
+
this.commonCountryServiceURL = inject(LOOKUP_COUNTRY_SERVICE_URL);
|
|
1259
1284
|
}
|
|
1260
1285
|
getCountries(refresh = false) {
|
|
1261
1286
|
if (refresh || !this._customersInitialized) {
|
|
@@ -1274,18 +1299,15 @@ class CommonCountryLookupService {
|
|
|
1274
1299
|
return country || null;
|
|
1275
1300
|
}));
|
|
1276
1301
|
}
|
|
1277
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1278
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1302
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: CommonCountryLookupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1303
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: CommonCountryLookupService, providedIn: 'root' }); }
|
|
1279
1304
|
}
|
|
1280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: CommonCountryLookupService, decorators: [{
|
|
1281
1306
|
type: Injectable,
|
|
1282
1307
|
args: [{
|
|
1283
1308
|
providedIn: 'root',
|
|
1284
1309
|
}]
|
|
1285
|
-
}]
|
|
1286
|
-
type: Inject,
|
|
1287
|
-
args: [LOOKUP_COUNTRY_SERVICE_URL]
|
|
1288
|
-
}] }] });
|
|
1310
|
+
}] });
|
|
1289
1311
|
|
|
1290
1312
|
class CacheService {
|
|
1291
1313
|
setItem(key, item) {
|
|
@@ -1305,10 +1327,10 @@ class CacheService {
|
|
|
1305
1327
|
//console.log("DELETE " + key);
|
|
1306
1328
|
localStorage.removeItem(key);
|
|
1307
1329
|
}
|
|
1308
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1309
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1330
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: CacheService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1331
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: CacheService, providedIn: 'root' }); }
|
|
1310
1332
|
}
|
|
1311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: CacheService, decorators: [{
|
|
1312
1334
|
type: Injectable,
|
|
1313
1335
|
args: [{
|
|
1314
1336
|
providedIn: 'root',
|
|
@@ -1316,11 +1338,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
1316
1338
|
}] });
|
|
1317
1339
|
|
|
1318
1340
|
class OnemRvaCDNService {
|
|
1319
|
-
constructor(
|
|
1320
|
-
this.rendererFactory =
|
|
1321
|
-
this.cacheService =
|
|
1322
|
-
this.http =
|
|
1341
|
+
constructor() {
|
|
1342
|
+
this.rendererFactory = inject(RendererFactory2);
|
|
1343
|
+
this.cacheService = inject(CacheService);
|
|
1344
|
+
this.http = inject(HttpClient);
|
|
1323
1345
|
this.refresh$ = new Subject();
|
|
1346
|
+
const cdnUrlMode = inject(CDN_URL_MODE, {
|
|
1347
|
+
optional: true,
|
|
1348
|
+
});
|
|
1324
1349
|
this.renderer = this.rendererFactory.createRenderer(null, null);
|
|
1325
1350
|
switch (cdnUrlMode) {
|
|
1326
1351
|
case CDNUrlModeOptions.PROD:
|
|
@@ -1393,8 +1418,8 @@ class OnemRvaCDNService {
|
|
|
1393
1418
|
this.renderer.appendChild(document.head, link);
|
|
1394
1419
|
});
|
|
1395
1420
|
}
|
|
1396
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1397
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1421
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaCDNService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1422
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaCDNService, providedIn: 'root' }); }
|
|
1398
1423
|
}
|
|
1399
1424
|
__decorate([
|
|
1400
1425
|
HttpRequestCache(cdnService => ({
|
|
@@ -1403,26 +1428,23 @@ __decorate([
|
|
|
1403
1428
|
ttl: 3600000,
|
|
1404
1429
|
}))
|
|
1405
1430
|
], OnemRvaCDNService.prototype, "fetch", null);
|
|
1406
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaCDNService, decorators: [{
|
|
1407
1432
|
type: Injectable,
|
|
1408
1433
|
args: [{
|
|
1409
1434
|
providedIn: 'root',
|
|
1410
1435
|
}]
|
|
1411
|
-
}], ctorParameters: () => [
|
|
1412
|
-
type: Optional
|
|
1413
|
-
}, {
|
|
1414
|
-
type: Inject,
|
|
1415
|
-
args: [CDN_URL_MODE]
|
|
1416
|
-
}] }], propDecorators: { fetch: [] } });
|
|
1436
|
+
}], ctorParameters: () => [], propDecorators: { fetch: [] } });
|
|
1417
1437
|
|
|
1418
1438
|
class OnemRvaCDNCountryService {
|
|
1419
|
-
constructor(
|
|
1420
|
-
this.cdnService =
|
|
1421
|
-
this.translateService =
|
|
1439
|
+
constructor() {
|
|
1440
|
+
this.cdnService = inject(OnemRvaCDNService);
|
|
1441
|
+
this.translateService = inject(TranslateService);
|
|
1422
1442
|
}
|
|
1423
1443
|
getCountries() {
|
|
1424
1444
|
return this.cdnService.fetch('/json/countries.json').pipe(map(response => response), // ✅ Explicitly cast response
|
|
1425
|
-
combineLatestWith(from(this.translateService.onLangChange).pipe(startWith$1(this.translateService.currentLang
|
|
1445
|
+
combineLatestWith(from(this.translateService.onLangChange).pipe(startWith$1(this.translateService.currentLang ?? 'fr'), map(event => {
|
|
1446
|
+
return typeof event === 'string' ? event : event.lang;
|
|
1447
|
+
}))), map(([response, currentLang]) => {
|
|
1426
1448
|
// ✅ Explicit type definition
|
|
1427
1449
|
return response
|
|
1428
1450
|
.map((country) => ({
|
|
@@ -1463,21 +1485,21 @@ class OnemRvaCDNCountryService {
|
|
|
1463
1485
|
});
|
|
1464
1486
|
}));
|
|
1465
1487
|
}
|
|
1466
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1467
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1488
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaCDNCountryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1489
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaCDNCountryService, providedIn: 'root' }); }
|
|
1468
1490
|
}
|
|
1469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaCDNCountryService, decorators: [{
|
|
1470
1492
|
type: Injectable,
|
|
1471
1493
|
args: [{
|
|
1472
1494
|
providedIn: 'root',
|
|
1473
1495
|
}]
|
|
1474
|
-
}]
|
|
1496
|
+
}] });
|
|
1475
1497
|
|
|
1476
1498
|
class OnemRvaCDNMimeService {
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
this.cdnService = cdnService;
|
|
1499
|
+
constructor() {
|
|
1500
|
+
this.cdnService = inject(OnemRvaCDNService);
|
|
1480
1501
|
}
|
|
1502
|
+
static { this.mimetypeFile = '/json/mimetypes.json'; }
|
|
1481
1503
|
getMimesForExtension(extensions) {
|
|
1482
1504
|
return this.cdnService.fetch(OnemRvaCDNMimeService.mimetypeFile).pipe(catchError(() => {
|
|
1483
1505
|
return [];
|
|
@@ -1504,61 +1526,57 @@ class OnemRvaCDNMimeService {
|
|
|
1504
1526
|
});
|
|
1505
1527
|
}));
|
|
1506
1528
|
}
|
|
1507
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1508
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1529
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaCDNMimeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1530
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaCDNMimeService, providedIn: 'root' }); }
|
|
1509
1531
|
}
|
|
1510
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaCDNMimeService, decorators: [{
|
|
1511
1533
|
type: Injectable,
|
|
1512
1534
|
args: [{
|
|
1513
1535
|
providedIn: 'root',
|
|
1514
1536
|
}]
|
|
1515
|
-
}]
|
|
1537
|
+
}] });
|
|
1516
1538
|
|
|
1517
1539
|
class OnemRvaOSMService {
|
|
1518
|
-
constructor(
|
|
1519
|
-
this.http =
|
|
1540
|
+
constructor() {
|
|
1541
|
+
this.http = inject(HttpClient);
|
|
1520
1542
|
this.nominatimUrl = 'https://nominatim.openstreetmap.org/search';
|
|
1521
1543
|
}
|
|
1522
|
-
searchAddress(query, format = 'json', addressdetails = 1, limit = 10) {
|
|
1544
|
+
searchAddress(query, countryCodes = ['be'], format = 'json', addressdetails = 1, limit = 10) {
|
|
1523
1545
|
const params = new HttpParams()
|
|
1524
1546
|
.set('q', query)
|
|
1525
1547
|
.set('format', format)
|
|
1548
|
+
.set('countrycodes', countryCodes.join(','))
|
|
1526
1549
|
.set('addressdetails', addressdetails)
|
|
1527
1550
|
.set('limit', limit);
|
|
1528
1551
|
return this.http.get(this.nominatimUrl, { params });
|
|
1529
1552
|
}
|
|
1530
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1531
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1553
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaOSMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1554
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaOSMService, providedIn: 'root' }); }
|
|
1532
1555
|
}
|
|
1533
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1556
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemRvaOSMService, decorators: [{
|
|
1534
1557
|
type: Injectable,
|
|
1535
1558
|
args: [{
|
|
1536
1559
|
providedIn: 'root',
|
|
1537
1560
|
}]
|
|
1538
|
-
}]
|
|
1561
|
+
}] });
|
|
1539
1562
|
|
|
1540
1563
|
class OnemrvaErrorHandler {
|
|
1541
|
-
constructor(_snackBar) {
|
|
1542
|
-
this._snackBar = _snackBar;
|
|
1543
|
-
this.horizontalPosition = 'end';
|
|
1544
|
-
this.verticalPosition = 'bottom';
|
|
1545
|
-
}
|
|
1546
1564
|
handleError(error) {
|
|
1547
1565
|
console.error(error);
|
|
1548
1566
|
//alert("Error: " + error.message);
|
|
1549
|
-
this._snackBar.open(`Error: ${error.message}`, '', {
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
});
|
|
1555
|
-
}
|
|
1556
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1557
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1567
|
+
// this._snackBar.open(`Error: ${error.message}`, '', {
|
|
1568
|
+
// duration: 5000,
|
|
1569
|
+
// panelClass: 'mat-primary',
|
|
1570
|
+
// horizontalPosition: this.horizontalPosition,
|
|
1571
|
+
// verticalPosition: this.verticalPosition,
|
|
1572
|
+
// });
|
|
1573
|
+
}
|
|
1574
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1575
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaErrorHandler }); }
|
|
1558
1576
|
}
|
|
1559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1577
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaErrorHandler, decorators: [{
|
|
1560
1578
|
type: Injectable
|
|
1561
|
-
}]
|
|
1579
|
+
}] });
|
|
1562
1580
|
|
|
1563
1581
|
class OnemrvaMissingTranslationHandler {
|
|
1564
1582
|
handle(params) {
|
|
@@ -1710,11 +1728,11 @@ const bankAccountValidator = (allowEmptyCountry = true) => {
|
|
|
1710
1728
|
};
|
|
1711
1729
|
|
|
1712
1730
|
class OnemrvaSharedModule {
|
|
1713
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1714
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1715
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1731
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1732
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaSharedModule, imports: [DigitOnlyDirective, MatRowClickableDirective, OnemRvaClipboardDirective, OnemRvaIconRightDirective, IfWidthIsDirective, OnemRvaColorDirective, OnemrvaMaskDirective, OnemrvaDateFormatDirective], exports: [DigitOnlyDirective, MatRowClickableDirective, OnemRvaClipboardDirective, OnemRvaIconRightDirective, IfWidthIsDirective, OnemRvaColorDirective, OnemrvaMaskDirective, OnemrvaDateFormatDirective] }); }
|
|
1733
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaSharedModule }); }
|
|
1716
1734
|
}
|
|
1717
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaSharedModule, decorators: [{
|
|
1718
1736
|
type: NgModule,
|
|
1719
1737
|
args: [{
|
|
1720
1738
|
imports: [...directives],
|
|
@@ -1723,9 +1741,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
1723
1741
|
}] });
|
|
1724
1742
|
|
|
1725
1743
|
class OnemrvaNativeDateAdapter extends NativeDateAdapter {
|
|
1726
|
-
constructor(
|
|
1744
|
+
constructor() {
|
|
1727
1745
|
super();
|
|
1728
|
-
this.translateService =
|
|
1746
|
+
this.translateService = inject(TranslateService);
|
|
1729
1747
|
this.destroyNotifier$ = new Subject();
|
|
1730
1748
|
this.localeChanges = new Subject();
|
|
1731
1749
|
this.setLocale(this.translateService.currentLang);
|
|
@@ -1774,12 +1792,12 @@ class OnemrvaNativeDateAdapter extends NativeDateAdapter {
|
|
|
1774
1792
|
this.destroyNotifier$.next();
|
|
1775
1793
|
this.destroyNotifier$.complete();
|
|
1776
1794
|
}
|
|
1777
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1778
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1795
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaNativeDateAdapter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1796
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaNativeDateAdapter }); }
|
|
1779
1797
|
}
|
|
1780
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1798
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaNativeDateAdapter, decorators: [{
|
|
1781
1799
|
type: Injectable
|
|
1782
|
-
}], ctorParameters: () => [
|
|
1800
|
+
}], ctorParameters: () => [] });
|
|
1783
1801
|
|
|
1784
1802
|
/** InjectionToken for LuxonDateAdapter to configure options. */
|
|
1785
1803
|
const MAT_LUXON_DATE_ADAPTER_OPTIONS = new InjectionToken('MAT_LUXON_DATE_ADAPTER_OPTIONS', {
|
|
@@ -1812,9 +1830,9 @@ function luxonRange(length, valueFunction) {
|
|
|
1812
1830
|
*/
|
|
1813
1831
|
/** Adapts Luxon Dates for use with Angular Material. */
|
|
1814
1832
|
class OnemrvaLuxonDateAdapter extends DateAdapter {
|
|
1815
|
-
constructor(
|
|
1833
|
+
constructor() {
|
|
1816
1834
|
super();
|
|
1817
|
-
this.translateService =
|
|
1835
|
+
this.translateService = inject(TranslateService);
|
|
1818
1836
|
const dateLocale = inject(MAT_DATE_LOCALE, { optional: true });
|
|
1819
1837
|
const options = inject(MAT_LUXON_DATE_ADAPTER_OPTIONS, {
|
|
1820
1838
|
optional: true,
|
|
@@ -2040,12 +2058,12 @@ class OnemrvaLuxonDateAdapter extends DateAdapter {
|
|
|
2040
2058
|
outputCalendar: this._defaultOutputCalendar,
|
|
2041
2059
|
};
|
|
2042
2060
|
}
|
|
2043
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2044
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2061
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaLuxonDateAdapter, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2062
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaLuxonDateAdapter }); }
|
|
2045
2063
|
}
|
|
2046
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2064
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: OnemrvaLuxonDateAdapter, decorators: [{
|
|
2047
2065
|
type: Injectable
|
|
2048
|
-
}], ctorParameters: () => [
|
|
2066
|
+
}], ctorParameters: () => [] });
|
|
2049
2067
|
|
|
2050
2068
|
function onemrvaDateNativeYearMonthProvider() {
|
|
2051
2069
|
return [
|
|
@@ -2099,6 +2117,8 @@ function onemrvaDateLuxonYearMonthProvider() {
|
|
|
2099
2117
|
];
|
|
2100
2118
|
}
|
|
2101
2119
|
|
|
2120
|
+
// import { MAT_DIALOG_DEFAULT_OPTIONS } from '@angular/material/dialog';
|
|
2121
|
+
// import { ONEMRVA_THEME_CLASS } from '@onemrvapublic/design-system/shared';
|
|
2102
2122
|
function onemrvaThemeProvider() {
|
|
2103
2123
|
return [
|
|
2104
2124
|
{
|
|
@@ -2127,5 +2147,5 @@ function onemrvaThemeProvider() {
|
|
|
2127
2147
|
* Generated bundle index. Do not edit.
|
|
2128
2148
|
*/
|
|
2129
2149
|
|
|
2130
|
-
export { CDNUrlModeOptions, CDN_URLS, CDN_URL_MODE, CacheService, ClipboardIconComponent, CommonCountryLookupService, DefaultStorage, DigitOnlyDirective, HttpRequestCache, IBAN_SUPPORTED_COUNTRIES, IfWidthIsDirective, LOOKUP_COUNTRY_SERVICE_URL, LOOKUP_COUNTRY_URL, MatRowClickableDirective, NISS_MASK, ONEMRVA_MAT_LUXON_DATE_FORMATS, ONEMRVA_MAT_LUXON_YEAR_MONTH_FORMATS, ONEMRVA_MAT_NATIVE_DATE_FORMAT, ONEMRVA_MAT_NATIVE_YEAR_MONTH_FORMAT, OnemRvaCDNCountryService, OnemRvaCDNMimeService, OnemRvaCDNService, OnemRvaClipboardDirective, OnemRvaColorDirective, OnemRvaIconRightDirective, OnemRvaOSMService, OnemRvaSizeDirective, OnemrvaBcePipe, OnemrvaDateFormatDirective, OnemrvaErrorHandler, OnemrvaLuxonDateAdapter, OnemrvaMaskDirective, OnemrvaMissingTranslationHandler, OnemrvaNativeDateAdapter, OnemrvaNissPipe, OnemrvaSharedModule, OnemrvaTranslateCDNLoader, OnemrvaTranslateHttpLoader, OnemrvaValidators, RequestTimes, SEPA_ONLY_SUPPORTED_COUNTRIES, WebComponentOverlayContainer, bankAccountValidator, directives, onemrvaDateLuxonProvider, onemrvaDateLuxonYearMonthProvider, onemrvaDateNativeProvider, onemrvaDateNativeYearMonthProvider, onemrvaThemeProvider, setTranslationLanguage, setTranslationLanguageFromWO };
|
|
2150
|
+
export { CDNUrlModeOptions, CDN_URLS, CDN_URL_MODE, CacheService, ClipboardIconComponent, CommonCountryLookupService, DefaultStorage, DigitOnlyDirective, HttpRequestCache, IBAN_SUPPORTED_COUNTRIES, IfWidthIsDirective, LOOKUP_COUNTRY_SERVICE_URL, LOOKUP_COUNTRY_URL, MatRowClickableDirective, NISS_MASK, ONEMRVA_MAT_LUXON_DATE_FORMATS, ONEMRVA_MAT_LUXON_YEAR_MONTH_FORMATS, ONEMRVA_MAT_NATIVE_DATE_FORMAT, ONEMRVA_MAT_NATIVE_YEAR_MONTH_FORMAT, ONEMRVA_THEME, ONEMRVA_THEME_CLASS, OnemRvaCDNCountryService, OnemRvaCDNMimeService, OnemRvaCDNService, OnemRvaClipboardDirective, OnemRvaColorDirective, OnemRvaIconRightDirective, OnemRvaOSMService, OnemRvaSizeDirective, OnemrvaBcePipe, OnemrvaDateFormatDirective, OnemrvaErrorHandler, OnemrvaLuxonDateAdapter, OnemrvaMaskDirective, OnemrvaMissingTranslationHandler, OnemrvaNativeDateAdapter, OnemrvaNissPipe, OnemrvaSharedModule, OnemrvaTranslateCDNLoader, OnemrvaTranslateHttpLoader, OnemrvaValidators, RequestTimes, SEPA_ONLY_SUPPORTED_COUNTRIES, WebComponentOverlayContainer, bankAccountValidator, directives, onemrvaDateLuxonProvider, onemrvaDateLuxonYearMonthProvider, onemrvaDateNativeProvider, onemrvaDateNativeYearMonthProvider, onemrvaThemeProvider, setTranslationLanguage, setTranslationLanguageFromWO };
|
|
2131
2151
|
//# sourceMappingURL=onemrvapublic-design-system-shared.mjs.map
|