@onemrvapublic/design-system 18.2.10-develop.2 → 18.2.11-alpha.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/assets/i18n/de.json +10 -4
- package/assets/i18n/en.json +10 -4
- package/assets/i18n/fr.json +10 -4
- package/assets/i18n/nl.json +10 -4
- package/esm2022/core/src/lib/core.module.mjs +4 -4
- package/esm2022/core/src/lib/services/onemrva-error-handler.service.mjs +3 -3
- package/esm2022/flag-icon/src/flag-icon.component.mjs +3 -3
- package/esm2022/layout/src/components/layout/layout.component.mjs +5 -5
- package/esm2022/layout/src/components/layout-after-nav/layout-after-nav.component.mjs +3 -3
- package/esm2022/layout/src/components/layout-content/layout-content.component.mjs +3 -3
- package/esm2022/layout/src/components/layout-drawer-actions/layout-drawer-actions.component.mjs +3 -3
- package/esm2022/layout/src/components/layout-drawer-content/layout-drawer-content.component.mjs +3 -3
- package/esm2022/layout/src/components/layout-drawer-title/layout-drawer-title.component.mjs +3 -3
- package/esm2022/layout/src/components/layout-footer/layout-footer.component.mjs +3 -3
- package/esm2022/layout/src/components/layout-login-menu/layout-login-menu.component.mjs +3 -3
- package/esm2022/layout/src/components/layout-route/layout-route.component.mjs +5 -5
- package/esm2022/layout/src/components/layout-sidenav/layout-sidenav.component.mjs +3 -3
- package/esm2022/layout/src/components/layout-sidenav-title/layout-sidenav-title.component.mjs +3 -3
- package/esm2022/layout/src/components/layout-subroute/layout-subroute.component.mjs +4 -4
- package/esm2022/layout/src/components/layout-title/layout-title.component.mjs +3 -3
- package/esm2022/layout/src/directives/drawer-host.directive.mjs +3 -3
- package/esm2022/layout/src/layout.module.mjs +4 -4
- package/esm2022/layout/src/services/drawer.service.mjs +3 -3
- package/esm2022/layout/src/striphtml.pipe.mjs +3 -3
- package/esm2022/mat-avatar/src/onemrva-mat-avatar.component.mjs +3 -3
- package/esm2022/mat-avatar/src/onemrva-mat-avatar.module.mjs +4 -4
- package/esm2022/mat-badge/src/onemrva-mat-badge.component.mjs +3 -3
- package/esm2022/mat-badge/src/onemrva-mat-badge.module.mjs +4 -4
- package/esm2022/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.mjs +3 -3
- package/esm2022/mat-breadcrumb/src/onemrva-mat-breadcrumb.module.mjs +4 -4
- package/esm2022/mat-breadcrumb/src/onemrva-mat-breadcrumb.service.mjs +3 -3
- package/esm2022/mat-carousel/src/mat-carousel-item/onemrva-mat-carousel-item.component.mjs +3 -3
- package/esm2022/mat-carousel/src/onemrva-mat-carousel.component.mjs +7 -4
- package/esm2022/mat-copy-to-clipboard/src/components/copy-to-clipboard.component.mjs +3 -3
- package/esm2022/mat-datepicker-header/src/onemrva-mat-datepicker-header.component.mjs +3 -3
- package/esm2022/mat-empty-row/src/onemrva-mat-empty-row.component.mjs +3 -3
- package/esm2022/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.mjs +3 -3
- package/esm2022/mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.mjs +3 -3
- package/esm2022/mat-file-upload/src/directives/dnd.directive.mjs +3 -3
- package/esm2022/mat-file-upload/src/onemrva-mat-file-upload.module.mjs +4 -4
- package/esm2022/mat-file-upload/src/onemrva-mat-file-upload.service.mjs +3 -3
- package/esm2022/mat-file-upload/src/onemrva-mat-file-upload.store.mjs +3 -3
- package/esm2022/mat-input-birthplace/src/country-item.component.mjs +3 -3
- package/esm2022/mat-input-birthplace/src/onemrva-mat-input-birthplace.component.mjs +3 -3
- package/esm2022/mat-input-country/src/onemrva-mat-input-country.component.mjs +3 -3
- package/esm2022/mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.mjs +3 -3
- package/esm2022/mat-input-iban/index.mjs +5 -0
- package/esm2022/mat-input-iban/onemrvapublic-design-system-mat-input-iban.mjs +5 -0
- package/esm2022/mat-input-iban/src/onemrva-mat-input-iban.component.mjs +278 -0
- package/esm2022/mat-input-phone/src/onemrva-mat-input-phone.component.mjs +3 -3
- package/esm2022/mat-input-phone/src/phone-number.directive.mjs +3 -3
- package/esm2022/mat-message-box/src/onemrva-mat-message-box.component.mjs +3 -3
- package/esm2022/mat-message-box/src/onemrva-mat-message-box.module.mjs +4 -4
- package/esm2022/mat-multi-select/src/onemrva-mat-multi-select.component.mjs +3 -3
- package/esm2022/mat-multi-select/src/onemrva-mat-multi-select.module.mjs +4 -4
- package/esm2022/mat-notification/src/onemrva-mat-notification.component.mjs +3 -3
- package/esm2022/mat-paginator/src/onemrva-mat-paginator.component.mjs +3 -3
- package/esm2022/mat-paginator/src/onemrva-mat-paginator.module.mjs +4 -4
- package/esm2022/mat-panel/src/onemrva-mat-panel-content.component.mjs +3 -3
- package/esm2022/mat-panel/src/onemrva-mat-panel-icon.component.mjs +3 -3
- package/esm2022/mat-panel/src/onemrva-mat-panel-title-action.component.mjs +3 -3
- package/esm2022/mat-panel/src/onemrva-mat-panel-title.component.mjs +3 -3
- package/esm2022/mat-panel/src/onemrva-mat-panel.component.mjs +3 -3
- package/esm2022/mat-panel/src/onemrva-mat-panel.module.mjs +4 -4
- package/esm2022/mat-pop-over/src/onemrva-mat-pop-over-content.component.mjs +3 -3
- package/esm2022/mat-pop-over/src/onemrva-mat-pop-over-trigger.component.mjs +3 -3
- package/esm2022/mat-pop-over/src/onemrva-mat-pop-over.component.mjs +3 -3
- package/esm2022/mat-pop-over/src/onemrva-mat-pop-over.module.mjs +4 -4
- package/esm2022/mat-progress-bar/src/onemrva-mat-progress-bar.component.mjs +3 -3
- package/esm2022/mat-select-search/src/mat-select-no-entries-found.directive.mjs +3 -3
- package/esm2022/mat-select-search/src/mat-select-search-clear.directive.mjs +3 -3
- package/esm2022/mat-select-search/src/mat-select-search.component.mjs +3 -3
- package/esm2022/mat-select-search/src/mat-select-search.module.mjs +4 -4
- package/esm2022/mat-selectable-box/src/onemrva-mat-selectable-box.component.mjs +3 -3
- package/esm2022/mat-selectable-box/src/onemrva-mat-selectable-box.module.mjs +4 -4
- package/esm2022/mat-side-menu/src/onemrva-mat-side-menu.component.mjs +3 -3
- package/esm2022/mat-side-menu/src/onemrva-mat-side-menu.module.mjs +4 -4
- package/esm2022/mat-skeleton/src/onemrva-mat-skeleton.component.mjs +3 -3
- package/esm2022/mat-skeleton/src/onemrva-mat-skeleton.module.mjs +4 -4
- package/esm2022/mat-spinner/src/onemrva-mat-loading.directive.mjs +3 -3
- package/esm2022/mat-spinner/src/onemrva-mat-spinner.component.mjs +3 -3
- package/esm2022/mat-spinner/src/onemrva-mat-spinner.module.mjs +4 -4
- package/esm2022/mat-stepper/src/onemrva-mat-stepper.component.mjs +3 -3
- package/esm2022/mat-stepper/src/onemrva-mat-stepper.module.mjs +4 -4
- package/esm2022/mat-sticker/src/onemrva-mat-sticker.component.mjs +3 -3
- package/esm2022/mat-sticker/src/onemrva-mat-sticker.module.mjs +4 -4
- package/esm2022/mat-table-of-content/src/onemrva-mat-table-of-content.component.mjs +3 -3
- package/esm2022/mat-table-of-content/src/onemrva-mat-table-of-content.directive.mjs +3 -3
- package/esm2022/mat-table-of-content/src/onemrva-mat-table-of-content.service.mjs +3 -3
- package/esm2022/mat-task-list/src/onemrva-mat-task-content.component.mjs +3 -3
- package/esm2022/mat-task-list/src/onemrva-mat-task-list.component.mjs +3 -3
- package/esm2022/mat-task-list/src/onemrva-mat-task-list.module.mjs +4 -4
- package/esm2022/mat-task-list/src/onemrva-mat-task-title.component.mjs +3 -3
- package/esm2022/mat-task-list/src/onemrva-mat-task.component.mjs +3 -3
- package/esm2022/mat-timepicker/src/clock/clock.component.mjs +3 -3
- package/esm2022/mat-timepicker/src/onemrva-mat-timepicker.component.mjs +3 -3
- package/esm2022/mat-timepicker/src/onemrva-mat-timepicker.module.mjs +4 -4
- package/esm2022/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.mjs +3 -3
- package/esm2022/mat-timepicker/src/timepicker-toggle/timepicker-toggle.component.mjs +6 -6
- package/esm2022/mat-timepicker/src/timepicker.directive.mjs +3 -3
- package/esm2022/mat-toast/src/onemrva-mat-toast.component.mjs +3 -3
- package/esm2022/mat-toast/src/onemrva-mat-toast.module.mjs +4 -4
- package/esm2022/mat-tooltip/src/onemrva-mat-tooltip.component.mjs +3 -3
- package/esm2022/mat-tooltip/src/onemrva-mat-tooltip.directive.mjs +3 -3
- package/esm2022/mat-tooltip/src/onemrva-mat-tooltip.module.mjs +4 -4
- package/esm2022/page-not-found/src/page-not-found-action.component.mjs +3 -3
- package/esm2022/page-not-found/src/page-not-found-extra.component.mjs +3 -3
- package/esm2022/page-not-found/src/page-not-found-invader.component.mjs +3 -3
- package/esm2022/page-not-found/src/page-not-found.component.mjs +3 -3
- package/esm2022/page-not-found/src/page-not-found.module.mjs +4 -4
- package/esm2022/shared/src/lib/adapters/date.adapter.mjs +3 -3
- package/esm2022/shared/src/lib/components/clipboard-icon/clipboard-icon.component.mjs +3 -3
- package/esm2022/shared/src/lib/containers/WebComponentOverlayContainer.mjs +3 -3
- package/esm2022/shared/src/lib/directives/clipboard.directive.mjs +3 -3
- package/esm2022/shared/src/lib/directives/color.directive.mjs +3 -3
- package/esm2022/shared/src/lib/directives/digit-only.directive.mjs +3 -3
- package/esm2022/shared/src/lib/directives/iconRight.directive.mjs +3 -3
- package/esm2022/shared/src/lib/directives/if-width-is.directive.mjs +3 -3
- package/esm2022/shared/src/lib/directives/mask.directive.mjs +3 -3
- package/esm2022/shared/src/lib/directives/mat-row-clickable.directive.mjs +3 -3
- package/esm2022/shared/src/lib/pipes/onemrva-bce.pipe.mjs +3 -3
- package/esm2022/shared/src/lib/pipes/onemrva-niss.pipe.mjs +3 -3
- package/esm2022/shared/src/lib/services/cache.service.mjs +3 -3
- package/esm2022/shared/src/lib/services/cdn.service.mjs +3 -3
- package/esm2022/shared/src/lib/services/country-cdn.service.mjs +8 -5
- package/esm2022/shared/src/lib/services/country-lookup.service.mjs +3 -3
- package/esm2022/shared/src/lib/shared.datepicker.module.mjs +4 -4
- package/esm2022/shared/src/lib/shared.module.mjs +4 -4
- package/esm2022/shared/src/lib/validators/bank-account.validator.utils.mjs +18 -7
- package/fesm2022/onemrvapublic-design-system-core.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-flag-icon.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-layout.mjs +54 -54
- package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-badge.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs +10 -10
- package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs +9 -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-datepicker-header.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs +19 -19
- package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs +6 -6
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs +289 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs +6 -6
- package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-notification.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-panel.mjs +19 -19
- package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs +13 -13
- package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs +13 -13
- package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs +10 -10
- package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs +9 -9
- package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs +16 -16
- package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs +22 -22
- package/fesm2022/onemrvapublic-design-system-mat-toast.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs +10 -10
- package/fesm2022/onemrvapublic-design-system-page-not-found.mjs +16 -16
- package/fesm2022/onemrvapublic-design-system-shared.mjs +77 -63
- package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
- package/layout/src/components/layout/layout.component.scss +11 -0
- package/mat-input-iban/index.d.ts +1 -0
- package/{mat-input-bank-account/src/bank-account.component.d.ts → mat-input-iban/src/onemrva-mat-input-iban.component.d.ts} +39 -28
- package/mat-input-iban/src/onemrva-mat-input-iban.component.scss +10 -0
- package/package.json +7 -7
- package/shared/src/lib/services/country-cdn.service.d.ts +5 -65
- package/esm2022/mat-input-bank-account/index.mjs +0 -5
- package/esm2022/mat-input-bank-account/onemrvapublic-design-system-mat-input-bank-account.mjs +0 -5
- package/esm2022/mat-input-bank-account/src/bank-account.component.mjs +0 -223
- package/esm2022/mat-input-bank-account/src/onemrva-mat-input-bank-account.component.mjs +0 -66
- package/fesm2022/onemrvapublic-design-system-mat-input-bank-account.mjs +0 -286
- package/fesm2022/onemrvapublic-design-system-mat-input-bank-account.mjs.map +0 -1
- package/mat-input-bank-account/index.d.ts +0 -1
- package/mat-input-bank-account/src/bank-account.component.scss +0 -42
- package/mat-input-bank-account/src/onemrva-mat-input-bank-account.component.d.ts +0 -15
- package/mat-input-bank-account/src/onemrva-mat-input-bank-account.component.scss +0 -14
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { validateIBAN, electronicFormatIBAN, countrySpecs, ValidationErrorsIBAN, } from 'ibantools';
|
|
2
|
-
export const IBAN_SUPPORTED_COUNTRIES = Object.
|
|
2
|
+
export const IBAN_SUPPORTED_COUNTRIES = Object.entries(countrySpecs)
|
|
3
|
+
.filter(value => {
|
|
4
|
+
return value[1].IBANRegistry;
|
|
5
|
+
})
|
|
6
|
+
.map(value => {
|
|
7
|
+
return value[0];
|
|
8
|
+
});
|
|
3
9
|
const internValidateIban = (iban = '') => {
|
|
4
10
|
return validateIBAN(electronicFormatIBAN(iban) || undefined);
|
|
5
11
|
};
|
|
@@ -20,16 +26,21 @@ const internValidateIban = (iban = '') => {
|
|
|
20
26
|
// };
|
|
21
27
|
export const bankAccountValidator = () => {
|
|
22
28
|
return (control) => {
|
|
23
|
-
let finalErrorCodes;
|
|
29
|
+
let finalErrorCodes = [];
|
|
24
30
|
if (typeof control.getRawValue() === 'string') {
|
|
25
|
-
const
|
|
26
|
-
|
|
31
|
+
const regex = /^[a-zA-Z]{2}/;
|
|
32
|
+
if (regex.test(control.getRawValue().substring(0, 2))) {
|
|
33
|
+
const { valid: _valid, errorCodes } = internValidateIban(control.value);
|
|
34
|
+
finalErrorCodes = errorCodes;
|
|
35
|
+
}
|
|
27
36
|
}
|
|
28
37
|
else {
|
|
29
38
|
const countryCodeValue = control.value !== null ? control.value['countryCode'] : '';
|
|
30
39
|
const bankNumber = control.value !== null ? control.value['bban'] : '';
|
|
31
|
-
|
|
32
|
-
|
|
40
|
+
if (countryCodeValue !== '') {
|
|
41
|
+
const { valid: _valid, errorCodes } = internValidateIban(`${countryCodeValue}${bankNumber}`);
|
|
42
|
+
finalErrorCodes = errorCodes;
|
|
43
|
+
}
|
|
33
44
|
}
|
|
34
45
|
if (finalErrorCodes.length === 0) {
|
|
35
46
|
return null;
|
|
@@ -42,4 +53,4 @@ export const bankAccountValidator = () => {
|
|
|
42
53
|
return validationErrors;
|
|
43
54
|
};
|
|
44
55
|
};
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
56
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFuay1hY2NvdW50LnZhbGlkYXRvci51dGlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL29uZW1ydmEvZGVzaWduLXN5c3RlbS9zaGFyZWQvc3JjL2xpYi92YWxpZGF0b3JzL2JhbmstYWNjb3VudC52YWxpZGF0b3IudXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUNMLFlBQVksRUFDWixvQkFBb0IsRUFDcEIsWUFBWSxFQUNaLG9CQUFvQixHQUNyQixNQUFNLFdBQVcsQ0FBQztBQUVuQixNQUFNLENBQUMsTUFBTSx3QkFBd0IsR0FBRyxNQUFNLENBQUMsT0FBTyxDQUFDLFlBQVksQ0FBQztLQUNqRSxNQUFNLENBQUMsS0FBSyxDQUFDLEVBQUU7SUFDZCxPQUFPLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxZQUFZLENBQUM7QUFDL0IsQ0FBQyxDQUFDO0tBQ0QsR0FBRyxDQUFDLEtBQUssQ0FBQyxFQUFFO0lBQ1gsT0FBTyxLQUFLLENBQUMsQ0FBQyxDQUFDLENBQUM7QUFDbEIsQ0FBQyxDQUFDLENBQUM7QUFFTCxNQUFNLGtCQUFrQixHQUFHLENBQUMsSUFBSSxHQUFHLEVBQUUsRUFBRSxFQUFFO0lBQ3ZDLE9BQU8sWUFBWSxDQUFDLG9CQUFvQixDQUFDLElBQUksQ0FBQyxJQUFJLFNBQVMsQ0FBQyxDQUFDO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Jyb3JDb2RlcyA9IGVycm9yQ29kZXM7XG4gICAgICB9XG4gICAgfVxuXG4gICAgaWYgKGZpbmFsRXJyb3JDb2Rlcy5sZW5ndGggPT09IDApIHtcbiAgICAgIHJldHVybiBudWxsO1xuICAgIH1cblxuICAgIGNvbnN0IHZhbGlkYXRpb25FcnJvcnM6IFJlY29yZDxzdHJpbmcsIHsgdmFsdWU6IGFueSB9PiA9IHt9O1xuICAgIGZpbmFsRXJyb3JDb2Rlcy5mb3JFYWNoKGVyckNvZGUgPT4ge1xuICAgICAgY29uc3Qga2V5ID0gVmFsaWRhdGlvbkVycm9yc0lCQU5bZXJyQ29kZV07XG4gICAgICB2YWxpZGF0aW9uRXJyb3JzW2tleV0gPSB7IHZhbHVlOiBjb250cm9sLmdldFJhd1ZhbHVlKCkgfTtcbiAgICB9KTtcblxuICAgIHJldHVybiB2YWxpZGF0aW9uRXJyb3JzO1xuICB9O1xufTtcbiJdfQ==
|
|
@@ -22,10 +22,10 @@ class OnemrvaErrorHandler {
|
|
|
22
22
|
verticalPosition: this.verticalPosition,
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
26
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: OnemrvaErrorHandler, deps: [{ token: i1.MatSnackBar }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
26
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: OnemrvaErrorHandler }); }
|
|
27
27
|
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: OnemrvaErrorHandler, decorators: [{
|
|
29
29
|
type: Injectable
|
|
30
30
|
}], ctorParameters: () => [{ type: i1.MatSnackBar }] });
|
|
31
31
|
|
|
@@ -36,9 +36,9 @@ class OnemrvaMissingTranslationHandler {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
class OnemrvaCoreModule {
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
40
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.
|
|
41
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: OnemrvaCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
40
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: OnemrvaCoreModule, imports: [CommonModule, MatExpansionModule, MatIconModule, MatSnackBarModule], exports: [MatSnackBarModule] }); }
|
|
41
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: OnemrvaCoreModule, providers: [
|
|
42
42
|
{
|
|
43
43
|
provide: ErrorHandler,
|
|
44
44
|
useClass: OnemrvaErrorHandler,
|
|
@@ -49,7 +49,7 @@ class OnemrvaCoreModule {
|
|
|
49
49
|
},
|
|
50
50
|
], imports: [CommonModule, MatExpansionModule, MatIconModule, MatSnackBarModule, MatSnackBarModule] }); }
|
|
51
51
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: OnemrvaCoreModule, decorators: [{
|
|
53
53
|
type: NgModule,
|
|
54
54
|
args: [{
|
|
55
55
|
imports: [CommonModule, MatExpansionModule, MatIconModule, MatSnackBarModule],
|
|
@@ -26,10 +26,10 @@ class FlagIconComponent {
|
|
|
26
26
|
get url() {
|
|
27
27
|
return `${this.cdnUrl}/img/flags/${this.modeValue}/${this.normalizedCountryCode}.svg`;
|
|
28
28
|
}
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
30
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FlagIconComponent, deps: [{ token: i1.OnemRvaCDNService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
30
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: FlagIconComponent, isStandalone: true, selector: "flag-icon", inputs: { countryCode: "countryCode", mode: "mode", width: "width" }, ngImport: i0, template: "<span\n [class]=\"{\n fi: true,\n fis: mode === 'square',\n }\"\n>\n <img\n [alt]=\"normalizedCountryCode\"\n loading=\"lazy\"\n [ngSrc]=\"url\"\n [width]=\"width\"\n [height]=\"height\"\n />\n</span>\n", styles: [":host .fi{position:relative;display:inline-flex;margin-right:6px;vertical-align:middle}:host .fi.fis{width:1em}\n"], dependencies: [{ kind: "directive", type: NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }] }); }
|
|
31
31
|
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FlagIconComponent, decorators: [{
|
|
33
33
|
type: Component,
|
|
34
34
|
args: [{ selector: 'flag-icon', standalone: true, imports: [NgOptimizedImage], template: "<span\n [class]=\"{\n fi: true,\n fis: mode === 'square',\n }\"\n>\n <img\n [alt]=\"normalizedCountryCode\"\n loading=\"lazy\"\n [ngSrc]=\"url\"\n [width]=\"width\"\n [height]=\"height\"\n />\n</span>\n", styles: [":host .fi{position:relative;display:inline-flex;margin-right:6px;vertical-align:middle}:host .fi.fis{width:1em}\n"] }]
|
|
35
35
|
}], ctorParameters: () => [{ type: i1.OnemRvaCDNService }], propDecorators: { countryCode: [{
|