@onemrvapublic/design-system 1.0.0-beta.4 → 1.0.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -4
- package/assets/i18n/de.json +84 -12
- package/assets/i18n/en.json +78 -6
- package/assets/i18n/fr.json +79 -7
- package/assets/i18n/nl.json +84 -12
- package/fesm2022/onemrvapublic-design-system-flag-icon.mjs +49 -0
- package/fesm2022/onemrvapublic-design-system-flag-icon.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-layout.mjs +948 -0
- package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-address.mjs +111 -0
- package/fesm2022/onemrvapublic-design-system-mat-address.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs +318 -0
- package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs +125 -0
- package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs +208 -0
- package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs +84 -0
- package/fesm2022/onemrvapublic-design-system-mat-choice-chip.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs +90 -0
- package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs +33 -0
- package/fesm2022/onemrvapublic-design-system-mat-country-item.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs +211 -0
- package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs +42 -0
- package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs +810 -0
- package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs +138 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs +135 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs +98 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs +189 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs +308 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs +295 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs +210 -0
- package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs +225 -0
- package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-navigation.mjs +169 -0
- package/fesm2022/onemrvapublic-design-system-mat-navigation.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-notification.mjs +103 -0
- package/fesm2022/onemrvapublic-design-system-mat-notification.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs +269 -0
- package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-panel.mjs +185 -0
- package/fesm2022/onemrvapublic-design-system-mat-panel.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs +118 -0
- package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs +52 -0
- package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs +612 -0
- package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs +96 -0
- package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs +72 -0
- package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs +241 -0
- package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs +65 -0
- package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs +146 -0
- package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs +36 -0
- package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs +232 -0
- package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs +170 -0
- package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs +1363 -0
- package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-toast.mjs +73 -0
- package/fesm2022/onemrvapublic-design-system-mat-toast.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs +166 -0
- package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-page-error.mjs +80 -0
- package/fesm2022/onemrvapublic-design-system-page-error.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-page-not-found.mjs +211 -0
- package/fesm2022/onemrvapublic-design-system-page-not-found.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-shared.mjs +2188 -0
- package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-utils.mjs +35 -0
- package/fesm2022/onemrvapublic-design-system-utils.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system.mjs +10573 -0
- package/fesm2022/onemrvapublic-design-system.mjs.map +1 -0
- package/flag-icon/index.d.ts +18 -0
- package/flag-icon/src/flag-icon.component.scss +12 -0
- package/index.d.ts +3140 -0
- package/layout/index.d.ts +293 -0
- package/layout/src/components/layout/layout.component.scss +90 -80
- package/layout/src/components/layout-drawer-actions/layout-drawer-actions.component.scss +3 -2
- package/layout/src/components/layout-drawer-content/layout-drawer-content.component.scss +9 -0
- package/layout/src/components/layout-drawer-title/layout-drawer-title.component.scss +9 -5
- package/layout/src/components/layout-left-sidenav/layout-left-sidenav.component.scss +5 -0
- package/layout/src/components/layout-sidenav/layout-sidenav.component.scss +43 -0
- package/layout/src/index.scss +0 -1
- package/mat-address/index.d.ts +36 -0
- package/mat-address/src/onemrva-address.scss +14 -0
- package/mat-avatar/index.d.ts +187 -0
- package/mat-avatar/src/onemrva-mat-avatar.component.scss +79 -123
- package/mat-breadcrumb/index.d.ts +40 -0
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.scss +39 -53
- package/mat-carousel/index.d.ts +52 -0
- package/mat-carousel/src/mat-carousel-item/onemrva-mat-carousel-item.component.scss +10 -0
- package/mat-carousel/src/onemrva-mat-carousel.component.scss +38 -45
- package/mat-choice-chip/index.d.ts +20 -0
- package/mat-choice-chip/src/onemrva-mat-choice-chip.component.scss +83 -0
- package/mat-copy-to-clipboard/index.d.ts +26 -0
- package/mat-country-item/index.d.ts +10 -0
- package/{mat-input-birthplace/src/country-item.component.scss → mat-country-item/src/onemrva-mat-country-item.component.scss} +6 -1
- package/mat-datepicker-header/index.d.ts +44 -0
- package/mat-datepicker-header/src/onemrva-mat-datepicker-header.component.scss +8 -0
- package/mat-empty-row/index.d.ts +19 -0
- package/mat-empty-row/src/onemrva-mat-empty-row.component.scss +29 -0
- package/mat-file-upload/index.d.ts +301 -0
- package/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.scss +48 -16
- package/mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.scss +72 -218
- package/mat-input-address/index.d.ts +32 -0
- package/mat-input-address/src/onemrva-mat-input-address.component.scss +8 -0
- package/mat-input-birthplace/index.d.ts +36 -0
- package/mat-input-birthplace/src/onemrva-mat-input-birthplace.component.scss +4 -2
- package/mat-input-country/index.d.ts +32 -0
- package/mat-input-country/src/onemrva-mat-input-country.component.scss +13 -0
- package/mat-input-enterprise-number/index.d.ts +37 -0
- package/mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.scss +7 -0
- package/mat-input-iban/index.d.ts +79 -0
- package/mat-input-iban/src/onemrva-mat-input-iban.component.scss +10 -0
- package/mat-input-phone/index.d.ts +44 -0
- package/mat-message-box/index.d.ts +101 -0
- package/mat-message-box/src/onemrva-mat-message-box.component.scss +13 -65
- package/mat-multi-select/index.d.ts +57 -0
- package/mat-multi-select/src/onemrva-mat-multi-select.component.scss +35 -0
- package/mat-navigation/index.d.ts +54 -0
- package/mat-navigation/src/mat-navigation-item/onemrva-mat-navigation-item.component.scss +66 -0
- package/mat-navigation/src/onemrva-mat-navigation.component.scss +36 -0
- package/mat-notification/index.d.ts +43 -0
- package/mat-notification/src/onemrva-mat-notification.component.scss +26 -0
- package/mat-paginator/index.d.ts +58 -0
- package/mat-paginator/src/onemrva-mat-paginator.component.scss +146 -0
- package/mat-panel/index.d.ts +66 -0
- package/mat-panel/src/mat-expansion-panel-header-arrow-divider.scss +11 -0
- package/mat-panel/src/onemrva-mat-panel-content.scss +8 -0
- package/mat-panel/src/onemrva-mat-panel-icon.scss +7 -0
- package/mat-panel/src/onemrva-mat-panel-title.scss +13 -0
- package/mat-panel/src/onemrva-mat-panel.component.scss +75 -82
- package/mat-pop-over/index.d.ts +40 -0
- package/mat-pop-over/src/onemrva-mat-pop-over.component.scss +11 -11
- package/mat-progress-bar/index.d.ts +18 -0
- package/mat-progress-bar/src/onemrva-mat-progress-bar.component.scss +26 -0
- package/mat-select-search/index.d.ts +197 -0
- package/mat-select-search/src/mat-select-search.component.scss +62 -109
- package/mat-selectable-box/index.d.ts +29 -0
- package/mat-selectable-box/src/onemrva-mat-selectable-box.component.scss +68 -90
- package/mat-side-menu/index.d.ts +33 -0
- package/mat-side-menu/src/onemrva-mat-side-menu.component.scss +36 -38
- package/mat-skeleton/index.d.ts +100 -0
- package/mat-skeleton/src/onemrva-mat-skeleton.component.scss +10 -59
- package/mat-spinner/index.d.ts +25 -0
- package/mat-spinner/src/onemrva-mat-spinner.component.scss +21 -0
- package/mat-stepper/index.d.ts +36 -0
- package/mat-stepper/src/onemrva-mat-stepper.scss +40 -105
- package/mat-sticker/index.d.ts +14 -0
- package/mat-sticker/src/onemrva-mat-sticker.component.scss +26 -63
- package/mat-table-of-content/index.d.ts +84 -0
- package/mat-table-of-content/src/onemrva-mat-table-of-content.component.scss +57 -0
- package/mat-task-list/index.d.ts +57 -0
- package/mat-task-list/src/onemrva-mat-task-content.scss +11 -0
- package/mat-task-list/src/onemrva-mat-task-list.component.scss +0 -150
- package/mat-task-list/src/onemrva-mat-task-title.scss +16 -0
- package/mat-task-list/src/onemrva-mat-task.component.scss +67 -0
- package/mat-timepicker/index.d.ts +386 -0
- package/mat-timepicker/src/clock/clock.component.scss +13 -7
- package/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.scss +2 -7
- package/mat-toast/index.d.ts +30 -0
- package/mat-toast/src/onemrva-mat-toast.component.scss +7 -49
- package/mat-tooltip/index.d.ts +39 -0
- package/mat-tooltip/src/onemrva-mat-tooltip.component.scss +8 -5
- package/package.json +196 -26
- package/page-error/index.d.ts +34 -0
- package/page-error/src/page-error.component.scss +25 -0
- package/page-not-found/index.d.ts +54 -0
- package/page-not-found/src/page-not-found-mixin.component.scss +1 -1
- package/page-not-found/src/page-not-found.component.scss +2 -2
- package/shared/index.d.ts +541 -0
- package/utils/index.d.ts +32 -0
- package/.eslintrc.json +0 -33
- package/_index.scss +0 -34
- package/_utils.scss +0 -30
- package/core/index.ts +0 -3
- package/core/ng-package.json +0 -6
- package/core/src/lib/core.module.ts +0 -26
- package/core/src/lib/modules/index.ts +0 -1
- package/core/src/lib/modules/translate.loader.ts +0 -34
- package/core/src/lib/modules/translate.module.ts +0 -66
- package/core/src/lib/services/index.ts +0 -2
- package/core/src/lib/services/onemrva-error-handler.service.ts +0 -24
- package/core/src/lib/services/onemrva-missing-translation.service.ts +0 -12
- package/core/src/test.ts +0 -30
- package/layout/index.ts +0 -7
- package/layout/ng-package.json +0 -6
- package/layout/src/components/index.ts +0 -37
- package/layout/src/components/layout/_layout-mixin.component.scss +0 -189
- package/layout/src/components/layout/layout.component.html +0 -213
- package/layout/src/components/layout/layout.component.spec.ts +0 -59
- package/layout/src/components/layout/layout.component.ts +0 -185
- package/layout/src/components/layout-after-nav/layout-after-nav.component.spec.ts +0 -24
- package/layout/src/components/layout-after-nav/layout-after-nav.component.ts +0 -24
- package/layout/src/components/layout-content/layout-content.component.spec.ts +0 -24
- package/layout/src/components/layout-content/layout-content.component.ts +0 -24
- package/layout/src/components/layout-drawer-actions/layout-drawer-actions.component.html +0 -1
- package/layout/src/components/layout-drawer-actions/layout-drawer-actions.component.ts +0 -14
- package/layout/src/components/layout-drawer-content/layout-drawer-content.component.html +0 -1
- package/layout/src/components/layout-drawer-content/layout-drawer-content.component.ts +0 -14
- package/layout/src/components/layout-drawer-title/layout-drawer-title.component.html +0 -7
- package/layout/src/components/layout-drawer-title/layout-drawer-title.component.ts +0 -18
- package/layout/src/components/layout-footer/layout-footer.component.ts +0 -11
- package/layout/src/components/layout-login-menu/layout-login-menu.component.spec.ts +0 -24
- package/layout/src/components/layout-login-menu/layout-login-menu.component.ts +0 -24
- package/layout/src/components/layout-route/layout-route.component.html +0 -64
- package/layout/src/components/layout-route/layout-route.component.spec.ts +0 -24
- package/layout/src/components/layout-route/layout-route.component.ts +0 -57
- package/layout/src/components/layout-sidenav/layout-sidenav.component.html +0 -104
- package/layout/src/components/layout-sidenav/layout-sidenav.component.ts +0 -88
- package/layout/src/components/layout-sidenav-title/layout-sidenav-title.component.ts +0 -9
- package/layout/src/components/layout-subroute/layout-subroute.component.html +0 -43
- package/layout/src/components/layout-subroute/layout-subroute.component.spec.ts +0 -24
- package/layout/src/components/layout-subroute/layout-subroute.component.ts +0 -62
- package/layout/src/components/layout-title/layout-title.component.spec.ts +0 -24
- package/layout/src/components/layout-title/layout-title.component.ts +0 -24
- package/layout/src/decorators/coerce-boolean-input.decorator.ts +0 -19
- package/layout/src/decorators/observable-content.decorator.ts +0 -13
- package/layout/src/directives/drawer-host.directive.ts +0 -42
- package/layout/src/enums/environment.enum.ts +0 -6
- package/layout/src/layout.module.ts +0 -47
- package/layout/src/models/onem-language.model.ts +0 -4
- package/layout/src/models/onemrva-profile.model.ts +0 -57
- package/layout/src/services/drawer.service.ts +0 -30
- package/layout/src/striphtml.pipe.ts +0 -10
- package/layout/src/test.ts +0 -31
- package/mat-avatar/index.ts +0 -2
- package/mat-avatar/ng-package.json +0 -6
- package/mat-avatar/src/onemrva-mat-avatar.component.html +0 -21
- package/mat-avatar/src/onemrva-mat-avatar.component.ts +0 -421
- package/mat-avatar/src/onemrva-mat-avatar.module.ts +0 -11
- package/mat-avatar/src/onemrva-mat.avatar.component.spec.ts +0 -54
- package/mat-badge/index.ts +0 -6
- package/mat-badge/ng-package.json +0 -6
- package/mat-badge/src/onemrva-mat-badge.component.scss +0 -157
- package/mat-badge/src/onemrva-mat-badge.component.ts +0 -331
- package/mat-badge/src/onemrva-mat-badge.module.ts +0 -8
- package/mat-breadcrumb/index.ts +0 -7
- package/mat-breadcrumb/ng-package.json +0 -6
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.html +0 -37
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.ts +0 -16
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.model.ts +0 -4
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.module.ts +0 -12
- package/mat-breadcrumb/src/onemrva-mat-breadcrumb.service.ts +0 -65
- package/mat-carousel/index.ts +0 -2
- package/mat-carousel/ng-package.json +0 -6
- package/mat-carousel/src/mat-carousel-item/onemrva-mat-carousel-item.component.html +0 -5
- package/mat-carousel/src/mat-carousel-item/onemrva-mat-carousel-item.component.ts +0 -27
- package/mat-carousel/src/onemrva-mat-carousel-item.directive.ts +0 -8
- package/mat-carousel/src/onemrva-mat-carousel.component.html +0 -43
- package/mat-carousel/src/onemrva-mat-carousel.component.ts +0 -160
- package/mat-copy-to-clipboard/index.ts +0 -1
- package/mat-copy-to-clipboard/ng-package.json +0 -6
- package/mat-copy-to-clipboard/src/components/copy-to-clipboard.component.html +0 -14
- package/mat-copy-to-clipboard/src/components/copy-to-clipboard.component.ts +0 -76
- package/mat-datepicker-header/index.ts +0 -5
- package/mat-datepicker-header/ng-package.json +0 -6
- package/mat-datepicker-header/src/_onemrva-mat-datepicker-header.component.scss +0 -12
- package/mat-datepicker-header/src/onemrva-mat-datepicker-header.component.html +0 -54
- package/mat-datepicker-header/src/onemrva-mat-datepicker-header.component.ts +0 -283
- package/mat-file-upload/index.ts +0 -11
- package/mat-file-upload/ng-package.json +0 -6
- package/mat-file-upload/src/components/index.ts +0 -10
- package/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.html +0 -59
- package/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.ts +0 -79
- package/mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.html +0 -58
- package/mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.ts +0 -209
- package/mat-file-upload/src/directives/dnd.directive.ts +0 -41
- package/mat-file-upload/src/models/action-config.model.ts +0 -10
- package/mat-file-upload/src/models/progress-file.model.ts +0 -94
- package/mat-file-upload/src/onemrva-mat-file-upload-itf.store.ts +0 -79
- package/mat-file-upload/src/onemrva-mat-file-upload.module.ts +0 -28
- package/mat-file-upload/src/onemrva-mat-file-upload.service.ts +0 -68
- package/mat-file-upload/src/onemrva-mat-file-upload.store.ts +0 -482
- package/mat-input-bank-account/index.ts +0 -5
- package/mat-input-bank-account/ng-package.json +0 -6
- package/mat-input-bank-account/src/bank-account.component.html +0 -36
- package/mat-input-bank-account/src/bank-account.component.scss +0 -42
- package/mat-input-bank-account/src/bank-account.component.ts +0 -308
- package/mat-input-bank-account/src/onemrva-mat-input-bank-account.component.html +0 -11
- package/mat-input-bank-account/src/onemrva-mat-input-bank-account.component.scss +0 -14
- package/mat-input-bank-account/src/onemrva-mat-input-bank-account.component.ts +0 -82
- package/mat-input-birthplace/index.ts +0 -5
- package/mat-input-birthplace/ng-package.json +0 -6
- package/mat-input-birthplace/src/country-item.component.html +0 -8
- package/mat-input-birthplace/src/country-item.component.ts +0 -33
- package/mat-input-birthplace/src/onemrva-mat-input-birthplace.component.html +0 -28
- package/mat-input-birthplace/src/onemrva-mat-input-birthplace.component.ts +0 -129
- package/mat-input-country/index.ts +0 -6
- package/mat-input-country/ng-package.json +0 -6
- package/mat-input-country/src/countries.ts +0 -3198
- package/mat-input-country/src/onemrva-mat-input-country.component.html +0 -25
- package/mat-input-country/src/onemrva-mat-input-country.component.ts +0 -152
- package/mat-input-enterprise-number/index.ts +0 -5
- package/mat-input-enterprise-number/ng-package.json +0 -6
- package/mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.html +0 -42
- package/mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.ts +0 -212
- package/mat-input-phone/index.ts +0 -6
- package/mat-input-phone/ng-package.json +0 -6
- package/mat-input-phone/src/onemrva-mat-input-phone.component.html +0 -47
- package/mat-input-phone/src/onemrva-mat-input-phone.component.ts +0 -274
- package/mat-input-phone/src/phone-number.directive.ts +0 -46
- package/mat-message-box/index.ts +0 -2
- package/mat-message-box/ng-package.json +0 -6
- package/mat-message-box/src/onemrva-mat-message-box.component.html +0 -3
- package/mat-message-box/src/onemrva-mat-message-box.component.ts +0 -172
- package/mat-message-box/src/onemrva-mat-message-box.module.ts +0 -12
- package/mat-multi-select/index.ts +0 -2
- package/mat-multi-select/ng-package.json +0 -6
- package/mat-multi-select/src/_onemrva-mat-multi-select.component.scss +0 -66
- package/mat-multi-select/src/onemrva-mat-multi-select.component.html +0 -44
- package/mat-multi-select/src/onemrva-mat-multi-select.component.ts +0 -194
- package/mat-multi-select/src/onemrva-mat-multi-select.module.ts +0 -27
- package/mat-multi-select/src/onemrva-mat-select-counter.component.ts +0 -0
- package/mat-notification/index.ts +0 -1
- package/mat-notification/ng-package.json +0 -6
- package/mat-notification/src/_onemrva-mat-notification.component.scss +0 -102
- package/mat-notification/src/onemrva-mat-notification.component.html +0 -15
- package/mat-notification/src/onemrva-mat-notification.component.ts +0 -158
- package/mat-paginator/index.ts +0 -6
- package/mat-paginator/ng-package.json +0 -6
- package/mat-paginator/src/_onemrva-mat-paginator.component.scss +0 -122
- package/mat-paginator/src/onemrva-mat-paginator.component.html +0 -108
- package/mat-paginator/src/onemrva-mat-paginator.component.spec.ts +0 -184
- package/mat-paginator/src/onemrva-mat-paginator.component.ts +0 -216
- package/mat-paginator/src/onemrva-mat-paginator.module.ts +0 -21
- package/mat-panel/index.ts +0 -6
- package/mat-panel/ng-package.json +0 -6
- package/mat-panel/src/onemrva-mat-panel-content.component.ts +0 -11
- package/mat-panel/src/onemrva-mat-panel-content.html +0 -5
- package/mat-panel/src/onemrva-mat-panel-icon.component.ts +0 -11
- package/mat-panel/src/onemrva-mat-panel-icon.html +0 -5
- package/mat-panel/src/onemrva-mat-panel-title-action.component.ts +0 -11
- package/mat-panel/src/onemrva-mat-panel-title-action.html +0 -5
- package/mat-panel/src/onemrva-mat-panel-title.component.ts +0 -29
- package/mat-panel/src/onemrva-mat-panel-title.html +0 -8
- package/mat-panel/src/onemrva-mat-panel.component.html +0 -10
- package/mat-panel/src/onemrva-mat-panel.component.ts +0 -122
- package/mat-panel/src/onemrva-mat-panel.module.ts +0 -26
- package/mat-pop-over/index.ts +0 -4
- package/mat-pop-over/ng-package.json +0 -6
- package/mat-pop-over/src/onemrva-mat-pop-over-content.component.ts +0 -13
- package/mat-pop-over/src/onemrva-mat-pop-over-trigger.component.ts +0 -13
- package/mat-pop-over/src/onemrva-mat-pop-over.component.html +0 -29
- package/mat-pop-over/src/onemrva-mat-pop-over.component.ts +0 -46
- package/mat-pop-over/src/onemrva-mat-pop-over.module.ts +0 -19
- package/mat-progress-bar/index.ts +0 -1
- package/mat-progress-bar/ng-package.json +0 -6
- package/mat-progress-bar/src/_onemrva-mat-progress-bar-mixin.component.scss +0 -37
- package/mat-progress-bar/src/onemrva-mat-progress-bar.component.html +0 -13
- package/mat-progress-bar/src/onemrva-mat-progress-bar.component.ts +0 -27
- package/mat-select-search/index.ts +0 -3
- package/mat-select-search/ng-package.json +0 -6
- package/mat-select-search/src/default-options.ts +0 -48
- package/mat-select-search/src/mat-select-no-entries-found.directive.ts +0 -15
- package/mat-select-search/src/mat-select-search-clear.directive.ts +0 -13
- package/mat-select-search/src/mat-select-search.component.html +0 -82
- package/mat-select-search/src/mat-select-search.component.spec.ts +0 -790
- package/mat-select-search/src/mat-select-search.component.ts +0 -705
- package/mat-select-search/src/mat-select-search.module.ts +0 -52
- package/mat-selectable-box/index.ts +0 -6
- package/mat-selectable-box/ng-package.json +0 -6
- package/mat-selectable-box/src/onemrva-mat-selectable-box.component.ts +0 -99
- package/mat-selectable-box/src/onemrva-mat-selectable-box.module.ts +0 -30
- package/mat-side-menu/index.ts +0 -6
- package/mat-side-menu/ng-package.json +0 -6
- package/mat-side-menu/src/onemrva-mat-side-menu.component.html +0 -36
- package/mat-side-menu/src/onemrva-mat-side-menu.component.spec.ts +0 -66
- package/mat-side-menu/src/onemrva-mat-side-menu.component.ts +0 -58
- package/mat-side-menu/src/onemrva-mat-side-menu.module.ts +0 -14
- package/mat-skeleton/index.ts +0 -3
- package/mat-skeleton/ng-package.json +0 -6
- package/mat-skeleton/src/onemrva-mat-skeleton-enums.ts +0 -32
- package/mat-skeleton/src/onemrva-mat-skeleton.component.html +0 -14
- package/mat-skeleton/src/onemrva-mat-skeleton.component.ts +0 -187
- package/mat-skeleton/src/onemrva-mat-skeleton.module.ts +0 -10
- package/mat-spinner/index.ts +0 -7
- package/mat-spinner/ng-package.json +0 -6
- package/mat-spinner/src/_onemrva-mat-spinner.component.scss +0 -151
- package/mat-spinner/src/onemrva-mat-loading.directive.ts +0 -41
- package/mat-spinner/src/onemrva-mat-spinner.component.html +0 -2138
- package/mat-spinner/src/onemrva-mat-spinner.component.ts +0 -52
- package/mat-spinner/src/onemrva-mat-spinner.module.ts +0 -10
- package/mat-stepper/index.ts +0 -6
- package/mat-stepper/ng-package.json +0 -6
- package/mat-stepper/src/_stepper-variables.scss +0 -29
- package/mat-stepper/src/onemrva-mat-stepper.component.spec.ts +0 -22
- package/mat-stepper/src/onemrva-mat-stepper.component.ts +0 -57
- package/mat-stepper/src/onemrva-mat-stepper.html +0 -61
- package/mat-stepper/src/onemrva-mat-stepper.module.ts +0 -24
- package/mat-stepper/src/onemrva-stepper-animations.ts +0 -42
- package/mat-sticker/index.ts +0 -6
- package/mat-sticker/ng-package.json +0 -6
- package/mat-sticker/src/onemrva-mat-sticker.component.spec.ts +0 -16
- package/mat-sticker/src/onemrva-mat-sticker.component.ts +0 -58
- package/mat-sticker/src/onemrva-mat-sticker.module.ts +0 -10
- package/mat-table-of-content/index.ts +0 -8
- package/mat-table-of-content/ng-package.json +0 -6
- package/mat-table-of-content/src/_onemrva-mat-table-of-content.component.scss +0 -79
- package/mat-table-of-content/src/onemrva-mat-table-of-content.component.html +0 -23
- package/mat-table-of-content/src/onemrva-mat-table-of-content.component.ts +0 -126
- package/mat-table-of-content/src/onemrva-mat-table-of-content.directive.ts +0 -67
- package/mat-table-of-content/src/onemrva-mat-table-of-content.service.ts +0 -51
- package/mat-table-of-content/src/onemrva-mat-toc-anchor.model.ts +0 -24
- package/mat-task-list/index.ts +0 -5
- package/mat-task-list/ng-package.json +0 -6
- package/mat-task-list/src/onemrva-mat-task-content.component.ts +0 -11
- package/mat-task-list/src/onemrva-mat-task-content.html +0 -5
- package/mat-task-list/src/onemrva-mat-task-list.component.html +0 -1
- package/mat-task-list/src/onemrva-mat-task-list.component.ts +0 -39
- package/mat-task-list/src/onemrva-mat-task-list.module.ts +0 -31
- package/mat-task-list/src/onemrva-mat-task-title.component.ts +0 -24
- package/mat-task-list/src/onemrva-mat-task-title.html +0 -5
- package/mat-task-list/src/onemrva-mat-task.component.html +0 -23
- package/mat-task-list/src/onemrva-mat-task.component.ts +0 -121
- package/mat-timepicker/index.ts +0 -6
- package/mat-timepicker/ng-package.json +0 -6
- package/mat-timepicker/src/clock/clock.component.html +0 -109
- package/mat-timepicker/src/clock/clock.component.spec.ts +0 -38
- package/mat-timepicker/src/clock/clock.component.ts +0 -274
- package/mat-timepicker/src/interfaces-and-types.ts +0 -18
- package/mat-timepicker/src/onemrva-mat-timepicker.component.html +0 -0
- package/mat-timepicker/src/onemrva-mat-timepicker.component.ts +0 -300
- package/mat-timepicker/src/onemrva-mat-timepicker.module.ts +0 -40
- package/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.html +0 -53
- package/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.spec.ts +0 -41
- package/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.ts +0 -176
- package/mat-timepicker/src/timepicker-toggle/timepicker-toggle.component.html +0 -15
- package/mat-timepicker/src/timepicker-toggle/timepicker-toggle.component.ts +0 -140
- package/mat-timepicker/src/timepicker.directive.ts +0 -596
- package/mat-timepicker/src/util.ts +0 -109
- package/mat-toast/index.ts +0 -6
- package/mat-toast/ng-package.json +0 -6
- package/mat-toast/src/onemrva-mat-toast.component.ts +0 -36
- package/mat-toast/src/onemrva-mat-toast.module.ts +0 -11
- package/mat-tooltip/index.ts +0 -4
- package/mat-tooltip/ng-package.json +0 -6
- package/mat-tooltip/src/onemrva-mat-tooltip.component.ts +0 -21
- package/mat-tooltip/src/onemrva-mat-tooltip.directive.ts +0 -123
- package/mat-tooltip/src/onemrva-mat-tooltip.module.ts +0 -11
- package/ng-package.json +0 -25
- package/npm-shrinkwrap.json +0 -30
- package/page-not-found/index.ts +0 -5
- package/page-not-found/ng-package.json +0 -6
- package/page-not-found/src/page-not-found-action.component.ts +0 -9
- package/page-not-found/src/page-not-found-extra.component.ts +0 -9
- package/page-not-found/src/page-not-found-invader.component.ts +0 -93
- package/page-not-found/src/page-not-found.component.html +0 -47
- package/page-not-found/src/page-not-found.component.ts +0 -60
- package/page-not-found/src/page-not-found.module.ts +0 -24
- package/shared/index.ts +0 -17
- package/shared/ng-package.json +0 -6
- package/shared/src/lib/OnemrvaDateAdapter.ts +0 -78
- package/shared/src/lib/components/clipboard-icon/clipboard-icon.component.css +0 -0
- package/shared/src/lib/components/clipboard-icon/clipboard-icon.component.html +0 -1
- package/shared/src/lib/components/clipboard-icon/clipboard-icon.component.spec.ts +0 -21
- package/shared/src/lib/components/clipboard-icon/clipboard-icon.component.ts +0 -18
- package/shared/src/lib/containers/WebComponentOverlayContainer.ts +0 -90
- package/shared/src/lib/containers/index.ts +0 -1
- package/shared/src/lib/date.format.ts +0 -11
- package/shared/src/lib/directives/clipboard.directive.ts +0 -52
- package/shared/src/lib/directives/color.directive.ts +0 -46
- package/shared/src/lib/directives/digit-only.directive.ts +0 -46
- package/shared/src/lib/directives/if-width-is.directive.ts +0 -39
- package/shared/src/lib/directives/index.ts +0 -22
- package/shared/src/lib/directives/mask.directive.ts +0 -223
- package/shared/src/lib/directives/mat-row-clickable.directive.ts +0 -66
- package/shared/src/lib/interfaces/OnemRvaCommonCountry.interface.ts +0 -23
- package/shared/src/lib/interfaces/index.ts +0 -1
- package/shared/src/lib/pipes/index.ts +0 -2
- package/shared/src/lib/pipes/onemrva-bce.pipe.ts +0 -18
- package/shared/src/lib/pipes/onemrva-niss.pipe.ts +0 -18
- package/shared/src/lib/services/commonCountryLookup.service.ts +0 -50
- package/shared/src/lib/services/index.ts +0 -1
- package/shared/src/lib/shared.datepicker.module.ts +0 -60
- package/shared/src/lib/shared.module.ts +0 -10
- package/shared/src/lib/validators/bankAccountValidator.utils.ts +0 -61
- package/shared/src/lib/validators/onemrva-validators.spec.ts +0 -79
- package/shared/src/lib/validators/onemrva-validators.ts +0 -97
- package/shared/src/onemrva-validators.spec.ts +0 -14
- package/src/polyfills.ts +0 -52
- package/src/public-api.spec.ts +0 -7
- package/src/public-api.ts +0 -5
- package/tsconfig.lib.json +0 -12
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -10
- package/utils/index.ts +0 -2
- package/utils/ng-package.json +0 -6
- package/utils/src/enum.utils.ts +0 -8
- package/utils/src/enums/color.enum.ts +0 -14
- package/utils/src/enums/index.ts +0 -2
- package/utils/src/enums/size.enum.ts +0 -11
- /package/{assets/.gitkeep → mat-navigation/src/mat-navigation-tree/onemrva-mat-navigation-tree.component.scss} +0 -0
package/README.md
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
This design system (DS) is part of
|
|
4
4
|
the ONEM architecture to ensure smooth
|
|
5
|
-
building of applications on the new
|
|
5
|
+
building of applications on the new stack.
|
|
6
|
+
|
|
7
|
+
[//]: # 'Trigger build'
|
|
6
8
|
|
|
7
9
|
## Versioning
|
|
8
10
|
|
|
@@ -10,15 +12,15 @@ In our goal to create a smoother release process experience
|
|
|
10
12
|
you will notice our versioning has changed
|
|
11
13
|
we will now be working with beta versions to continuously deploy.
|
|
12
14
|
|
|
13
|
-
### Major
|
|
15
|
+
### Major - Breaking Change
|
|
14
16
|
|
|
15
17
|
The major will always be aligned with the Angular major version.
|
|
16
18
|
|
|
17
|
-
### Minor
|
|
19
|
+
### Minor - Feature Added
|
|
18
20
|
|
|
19
21
|
This is where we will upgrade functionalities
|
|
20
22
|
|
|
21
|
-
### Patch
|
|
23
|
+
### Patch - Fix
|
|
22
24
|
|
|
23
25
|
This is where we will implement bugfixes
|
|
24
26
|
|
|
@@ -26,3 +28,6 @@ This is where we will implement bugfixes
|
|
|
26
28
|
|
|
27
29
|
For support questions, you can create jira tickets now.
|
|
28
30
|
If you need access to our design system board, send us a message.
|
|
31
|
+
|
|
32
|
+
@Thibaut Colson (FR/EN)
|
|
33
|
+
@Bram Decuypere (NL/EN)
|
package/assets/i18n/de.json
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
{
|
|
2
2
|
"demo.title": "Design System",
|
|
3
|
+
"error": {
|
|
4
|
+
"500": {
|
|
5
|
+
"h1": "Ups...",
|
|
6
|
+
"h2": "Fehler 500 - Interner Serverfehler",
|
|
7
|
+
"p": "Entschuldigung, es ist ein Problem auf unserer Seite aufgetreten. Bitte versuchen Sie es später erneut.",
|
|
8
|
+
"ori": "wordless.svg"
|
|
9
|
+
},
|
|
10
|
+
"404": {
|
|
11
|
+
"h1": "Ups...",
|
|
12
|
+
"h2": "Fehler 404 - Seite nicht gefunden",
|
|
13
|
+
"p": "Entschuldigung, die Seite, die Sie suchen, existiert nicht. Sie wurde möglicherweise entfernt oder ist vorübergehend nicht verfügbar.",
|
|
14
|
+
"ori": "alone.svg"
|
|
15
|
+
},
|
|
16
|
+
"403": {
|
|
17
|
+
"h1": "Zugriff verweigert",
|
|
18
|
+
"h2": "Fehler 403 - Verboten",
|
|
19
|
+
"p": "Sie haben keine Berechtigung, auf diese Ressource zuzugreifen. Bitte kontaktieren Sie den Support, wenn Sie glauben, dass dies ein Fehler ist.",
|
|
20
|
+
"ori": "error.svg"
|
|
21
|
+
},
|
|
22
|
+
"401": {
|
|
23
|
+
"h1": "Nicht autorisiert",
|
|
24
|
+
"h2": "Fehler 401 - Nicht autorisierter Zugriff",
|
|
25
|
+
"p": "Sie müssen sich anmelden, um auf diese Seite zuzugreifen. Bitte authentifizieren Sie sich und versuchen Sie es erneut.",
|
|
26
|
+
"ori": "error.svg"
|
|
27
|
+
},
|
|
28
|
+
"400": {
|
|
29
|
+
"h1": "Ungültige Anfrage",
|
|
30
|
+
"h2": "Fehler 400 - Ungültige Anfrage",
|
|
31
|
+
"p": "Der Server konnte Ihre Anfrage nicht verstehen. Bitte überprüfen Sie Ihre Eingaben und versuchen Sie es erneut.",
|
|
32
|
+
"ori": "desperate.svg"
|
|
33
|
+
},
|
|
34
|
+
"503": {
|
|
35
|
+
"h1": "Dienst nicht verfügbar",
|
|
36
|
+
"h2": "Fehler 503 - Dienst nicht verfügbar",
|
|
37
|
+
"p": "Unsere Server werden derzeit gewartet oder sind überlastet. Bitte versuchen Sie es später erneut.",
|
|
38
|
+
"ori": "star-eyes.svg"
|
|
39
|
+
},
|
|
40
|
+
"502": {
|
|
41
|
+
"h1": "Ungültiges Gateway",
|
|
42
|
+
"h2": "Fehler 502 - Ungültiges Gateway",
|
|
43
|
+
"p": "Der Server hat eine ungültige Antwort von einem Upstream-Server erhalten. Bitte versuchen Sie es später erneut.",
|
|
44
|
+
"ori": "error.svg"
|
|
45
|
+
},
|
|
46
|
+
"408": {
|
|
47
|
+
"h1": "Zeitüberschreitung",
|
|
48
|
+
"h2": "Fehler 408 - Anfragezeitüberschreitung",
|
|
49
|
+
"p": "Ihre Anfrage hat zu lange gedauert. Bitte versuchen Sie es erneut.",
|
|
50
|
+
"ori": "thumb-down.svg"
|
|
51
|
+
},
|
|
52
|
+
"429": {
|
|
53
|
+
"h1": "Zu viele Anfragen",
|
|
54
|
+
"h2": "Fehler 429 - Zu viele Anfragen",
|
|
55
|
+
"p": "Sie haben zu viele Anfragen in kurzer Zeit gesendet. Bitte warten Sie und versuchen Sie es später erneut.",
|
|
56
|
+
"ori": "thumb-down.svg"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
3
59
|
"404": {
|
|
4
60
|
"oops": "oops",
|
|
5
61
|
"title": "Fehler 404 - Seite nicht gefunden!",
|
|
@@ -34,7 +90,9 @@
|
|
|
34
90
|
"remove": "Löschen",
|
|
35
91
|
"cancel": "Abbrechen",
|
|
36
92
|
"retry": "Erneut versuchen",
|
|
37
|
-
"or": "oder"
|
|
93
|
+
"or": "oder",
|
|
94
|
+
"too.many.files": "Limit von {{limit}} Datei(en) erreicht",
|
|
95
|
+
"total.max.size.exceeded": "Die gesamte Dateigröße überschreitet das zulässige Limit von {{ maxTotalFileSize }}"
|
|
38
96
|
}
|
|
39
97
|
},
|
|
40
98
|
"select": {
|
|
@@ -42,10 +100,17 @@
|
|
|
42
100
|
"deselect.all": "Deselect All",
|
|
43
101
|
"search": {
|
|
44
102
|
"filter": "Forschen",
|
|
45
|
-
"notFound": "Kein Ergebnis"
|
|
103
|
+
"notFound": "Kein Ergebnis",
|
|
104
|
+
"not.found": "Kein Ergebnis"
|
|
46
105
|
}
|
|
47
106
|
},
|
|
48
107
|
"layout": {
|
|
108
|
+
"mode": {
|
|
109
|
+
"select": "Modus auswählen",
|
|
110
|
+
"dark": "Dunkler Modus",
|
|
111
|
+
"light": "Heller Modus",
|
|
112
|
+
"system": "Nach System"
|
|
113
|
+
},
|
|
49
114
|
"profile": "Profile",
|
|
50
115
|
"login": "Login",
|
|
51
116
|
"logout": "Logout",
|
|
@@ -68,19 +133,26 @@
|
|
|
68
133
|
"nonEquilibriumThermodynamics": "Non-equilibrium thermodynamics"
|
|
69
134
|
},
|
|
70
135
|
"input": {
|
|
136
|
+
"bank": {
|
|
137
|
+
"length": "Falsche Anzahl von Ziffern für dieses Land",
|
|
138
|
+
"checksum": "Die Bankkontonummer ist ungültig",
|
|
139
|
+
"invalid": "Feld erforderlich"
|
|
140
|
+
},
|
|
71
141
|
"phone": {
|
|
72
|
-
"required": "
|
|
73
|
-
"invalid": "
|
|
74
|
-
"notFound": "
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
142
|
+
"required": "Feld erforderlich",
|
|
143
|
+
"invalid": "Ungültiges Feld",
|
|
144
|
+
"notFound": "Nicht gefunden",
|
|
145
|
+
"not.found": "Nicht gefunden",
|
|
146
|
+
"search": "Suchen",
|
|
147
|
+
"label": "Telefonnummer",
|
|
148
|
+
"hint": "Beginnen Sie mit 0 für belgische Telefonnummern"
|
|
78
149
|
}
|
|
79
150
|
},
|
|
80
151
|
"copied.to.clipboard": "In Zwischenablage kopiert",
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
"
|
|
84
|
-
"
|
|
152
|
+
"today": "Heute",
|
|
153
|
+
"bankAccountInput": {
|
|
154
|
+
"length": "Falsche Anzahl von Ziffern für dieses Land",
|
|
155
|
+
"wrong-iban-checksum": "Die Bankkontonummer ist ungültig",
|
|
156
|
+
"invalid": "Feld erforderlich"
|
|
85
157
|
}
|
|
86
158
|
}
|
package/assets/i18n/en.json
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
{
|
|
2
2
|
"demo.title": "Design System",
|
|
3
|
+
"error": {
|
|
4
|
+
"500": {
|
|
5
|
+
"h1": "Oops...",
|
|
6
|
+
"h2": "Error 500 - Internal Server Error",
|
|
7
|
+
"p": "We’re sorry, but something went wrong on our end. Please try again later.",
|
|
8
|
+
"ori": "wordless.svg"
|
|
9
|
+
},
|
|
10
|
+
"404": {
|
|
11
|
+
"h1": "Oops...",
|
|
12
|
+
"h2": "Error 404 - Page Not Found",
|
|
13
|
+
"p": "We’re sorry, but the page you’re looking for doesn’t exist. It might have been removed or is temporarily unavailable.",
|
|
14
|
+
"ori": "alone.svg"
|
|
15
|
+
},
|
|
16
|
+
"403": {
|
|
17
|
+
"h1": "Access Denied",
|
|
18
|
+
"h2": "Error 403 - Forbidden",
|
|
19
|
+
"p": "You do not have permission to access this resource. Please contact support if you believe this is an error.",
|
|
20
|
+
"ori": "error.svg"
|
|
21
|
+
},
|
|
22
|
+
"401": {
|
|
23
|
+
"h1": "Unauthorized",
|
|
24
|
+
"h2": "Error 401 - Unauthorized Access",
|
|
25
|
+
"p": "You need to log in to access this page. Please authenticate and try again.",
|
|
26
|
+
"ori": "error.svg"
|
|
27
|
+
},
|
|
28
|
+
"400": {
|
|
29
|
+
"h1": "Invalid Request",
|
|
30
|
+
"h2": "Error 400 - Bad Request",
|
|
31
|
+
"p": "The server couldn’t understand your request. Please check your input and try again.",
|
|
32
|
+
"ori": "desperate.svg"
|
|
33
|
+
},
|
|
34
|
+
"503": {
|
|
35
|
+
"h1": "Service Unavailable",
|
|
36
|
+
"h2": "Error 503 - Service Unavailable",
|
|
37
|
+
"p": "Our servers are currently under maintenance or overloaded. Please try again later.",
|
|
38
|
+
"ori": "star-eyes.svg"
|
|
39
|
+
},
|
|
40
|
+
"502": {
|
|
41
|
+
"h1": "Bad Gateway",
|
|
42
|
+
"h2": "Error 502 - Bad Gateway",
|
|
43
|
+
"p": "The server received an invalid response from an upstream server. Please try again later.",
|
|
44
|
+
"ori": "error.svg"
|
|
45
|
+
},
|
|
46
|
+
"408": {
|
|
47
|
+
"h1": "Request Timeout",
|
|
48
|
+
"h2": "Error 408 - Request Timeout",
|
|
49
|
+
"p": "Your request took too long to process. Please try again.",
|
|
50
|
+
"ori": "thumb-down.svg"
|
|
51
|
+
},
|
|
52
|
+
"429": {
|
|
53
|
+
"h1": "Too Many Requests",
|
|
54
|
+
"h2": "Error 429 - Too Many Requests",
|
|
55
|
+
"p": "You’ve made too many requests in a short period. Please wait and try again later.",
|
|
56
|
+
"ori": "thumb-down.svg"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
3
59
|
"404": {
|
|
4
60
|
"oops": "Oops",
|
|
5
61
|
"title": "Error 404 - Page not found!",
|
|
@@ -34,7 +90,9 @@
|
|
|
34
90
|
"remove": "Remove",
|
|
35
91
|
"cancel": "Cancel",
|
|
36
92
|
"retry": "Retry",
|
|
37
|
-
"or": "or"
|
|
93
|
+
"or": "or",
|
|
94
|
+
"too.many.files": "Limit of {{limit}} file(s) reached",
|
|
95
|
+
"total.max.size.exceeded": "The total file size exceeds the allowed limit of {{ maxTotalFileSize }}"
|
|
38
96
|
}
|
|
39
97
|
},
|
|
40
98
|
"select": {
|
|
@@ -42,10 +100,17 @@
|
|
|
42
100
|
"deselect.all": "Deselect All",
|
|
43
101
|
"search": {
|
|
44
102
|
"filter": "Search",
|
|
45
|
-
"notFound": "Not found"
|
|
103
|
+
"notFound": "Not found",
|
|
104
|
+
"not.found": "Not found"
|
|
46
105
|
}
|
|
47
106
|
},
|
|
48
107
|
"layout": {
|
|
108
|
+
"mode": {
|
|
109
|
+
"select": "Choose mode",
|
|
110
|
+
"dark": "Dark mode",
|
|
111
|
+
"light": "Light mode",
|
|
112
|
+
"system": "Follow system"
|
|
113
|
+
},
|
|
49
114
|
"profile": "Profile",
|
|
50
115
|
"login": "Login",
|
|
51
116
|
"logout": "Logout",
|
|
@@ -68,19 +133,26 @@
|
|
|
68
133
|
"nonEquilibriumThermodynamics": "Non-equilibrium thermodynamics"
|
|
69
134
|
},
|
|
70
135
|
"input": {
|
|
136
|
+
"bank": {
|
|
137
|
+
"length": "Incorrect number of digits for this country",
|
|
138
|
+
"checksum": "Bank account number invalid",
|
|
139
|
+
"invalid": "Field required"
|
|
140
|
+
},
|
|
71
141
|
"phone": {
|
|
72
142
|
"required": "Field required",
|
|
73
143
|
"invalid": "Field invalid",
|
|
74
144
|
"notFound": "Not found",
|
|
145
|
+
"not.found": "Not found",
|
|
75
146
|
"search": "Search",
|
|
76
147
|
"label": "Phone number",
|
|
77
148
|
"hint": "Start with 0 for belgian phone numbers"
|
|
78
149
|
}
|
|
79
150
|
},
|
|
80
151
|
"copied.to.clipboard": "Copied to clipboard",
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
"
|
|
84
|
-
"
|
|
152
|
+
"today": "Today",
|
|
153
|
+
"bankAccountInput": {
|
|
154
|
+
"length": "Incorrect number of digits for this country",
|
|
155
|
+
"wrong-iban-checksum": "Bank account number invalid",
|
|
156
|
+
"invalid": "Field required"
|
|
85
157
|
}
|
|
86
158
|
}
|
package/assets/i18n/fr.json
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
{
|
|
2
2
|
"demo.title": "Design System",
|
|
3
|
+
"error": {
|
|
4
|
+
"500": {
|
|
5
|
+
"h1": "Oups...",
|
|
6
|
+
"h2": "Erreur 500 - Erreur interne du serveur",
|
|
7
|
+
"p": "Nous sommes désolés, mais une erreur est survenue de notre côté. Veuillez réessayer plus tard.",
|
|
8
|
+
"ori": "wordless.svg"
|
|
9
|
+
},
|
|
10
|
+
"404": {
|
|
11
|
+
"h1": "Oups...",
|
|
12
|
+
"h2": "Erreur 404 - Page non trouvée",
|
|
13
|
+
"p": "Nous sommes désolés, mais la page que vous recherchez n’existe pas. Elle a peut-être été supprimée ou est temporairement indisponible.",
|
|
14
|
+
"ori": "alone.svg"
|
|
15
|
+
},
|
|
16
|
+
"403": {
|
|
17
|
+
"h1": "Accès refusé",
|
|
18
|
+
"h2": "Erreur 403 - Interdit",
|
|
19
|
+
"p": "Vous n’avez pas la permission d’accéder à cette ressource. Veuillez contacter le support si vous pensez qu’il s’agit d’une erreur.",
|
|
20
|
+
"ori": "error.svg"
|
|
21
|
+
},
|
|
22
|
+
"401": {
|
|
23
|
+
"h1": "Non autorisé",
|
|
24
|
+
"h2": "Erreur 401 - Accès non autorisé",
|
|
25
|
+
"p": "Vous devez vous connecter pour accéder à cette page. Veuillez vous authentifier et réessayer.",
|
|
26
|
+
"ori": "error.svg"
|
|
27
|
+
},
|
|
28
|
+
"400": {
|
|
29
|
+
"h1": "Requête invalide",
|
|
30
|
+
"h2": "Erreur 400 - Mauvaise requête",
|
|
31
|
+
"p": "Le serveur n’a pas pu comprendre votre requête. Veuillez vérifier vos données et réessayer.",
|
|
32
|
+
"ori": "desperate.svg"
|
|
33
|
+
},
|
|
34
|
+
"503": {
|
|
35
|
+
"h1": "Service indisponible",
|
|
36
|
+
"h2": "Erreur 503 - Service indisponible",
|
|
37
|
+
"p": "Nos serveurs sont actuellement en maintenance ou surchargés. Veuillez réessayer plus tard.",
|
|
38
|
+
"ori": "star-eyes.svg"
|
|
39
|
+
},
|
|
40
|
+
"502": {
|
|
41
|
+
"h1": "Mauvaise passerelle",
|
|
42
|
+
"h2": "Erreur 502 - Mauvaise passerelle",
|
|
43
|
+
"p": "Le serveur a reçu une réponse invalide d’un serveur en amont. Veuillez réessayer plus tard.",
|
|
44
|
+
"ori": "error.svg"
|
|
45
|
+
},
|
|
46
|
+
"408": {
|
|
47
|
+
"h1": "Délai dépassé",
|
|
48
|
+
"h2": "Erreur 408 - Délai d’attente dépassé",
|
|
49
|
+
"p": "Votre requête a mis trop de temps à être traitée. Veuillez réessayer.",
|
|
50
|
+
"ori": "thumb-down.svg"
|
|
51
|
+
},
|
|
52
|
+
"429": {
|
|
53
|
+
"h1": "Trop de requêtes",
|
|
54
|
+
"h2": "Erreur 429 - Trop de requêtes",
|
|
55
|
+
"p": "Vous avez envoyé trop de requêtes dans un court laps de temps. Veuillez attendre et réessayer plus tard.",
|
|
56
|
+
"ori": "thumb-down.svg"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
3
59
|
"404": {
|
|
4
60
|
"oops": "Oups",
|
|
5
61
|
"title": "Erreur 404 - Page introuvable!",
|
|
@@ -25,7 +81,7 @@
|
|
|
25
81
|
"drag.and.drop": "Déposez vos fichiers ici",
|
|
26
82
|
"browse.for.file": "Parcourir les fichiers",
|
|
27
83
|
"type.not.supported": "Type de fichier non supporté",
|
|
28
|
-
"too.big": "Le fichier dépasse la limit de",
|
|
84
|
+
"too.big": "Le fichier dépasse la limit de {{ limit }}",
|
|
29
85
|
"maximum": "Maximum",
|
|
30
86
|
"delete": "Effacer",
|
|
31
87
|
"error.occurred": "Une erreur est survenue, veuillez recommencer",
|
|
@@ -34,7 +90,9 @@
|
|
|
34
90
|
"remove": "Retirer",
|
|
35
91
|
"cancel": "Annuler",
|
|
36
92
|
"retry": "Recommencer",
|
|
37
|
-
"or": "ou"
|
|
93
|
+
"or": "ou",
|
|
94
|
+
"too.many.files": "Limite de {{limit}} fichier(s) atteinte",
|
|
95
|
+
"total.max.size.exceeded": "La taille totale des fichiers dépasse la limite autorisée de {{ maxTotalFileSize }}"
|
|
38
96
|
}
|
|
39
97
|
},
|
|
40
98
|
"select": {
|
|
@@ -42,10 +100,17 @@
|
|
|
42
100
|
"deselect.all": "Tout désélectionner",
|
|
43
101
|
"search": {
|
|
44
102
|
"filter": "Rechercher",
|
|
45
|
-
"notFound": "Pas de résultat"
|
|
103
|
+
"notFound": "Pas de résultat",
|
|
104
|
+
"not.found": "Pas de résultat"
|
|
46
105
|
}
|
|
47
106
|
},
|
|
48
107
|
"layout": {
|
|
108
|
+
"mode": {
|
|
109
|
+
"select": "Choix du mode",
|
|
110
|
+
"dark": "Mode sombre",
|
|
111
|
+
"light": "Mode clair",
|
|
112
|
+
"system": "Suivant le système"
|
|
113
|
+
},
|
|
49
114
|
"profile": "Profile",
|
|
50
115
|
"login": "Connexion",
|
|
51
116
|
"logout": "Déconnexion",
|
|
@@ -68,19 +133,26 @@
|
|
|
68
133
|
"nonEquilibriumThermodynamics": "Non-equilibrium thermodynamics"
|
|
69
134
|
},
|
|
70
135
|
"input": {
|
|
136
|
+
"bank": {
|
|
137
|
+
"length": "Nombre de chiffres incorrect pour ce pays",
|
|
138
|
+
"checksum": "Le numéro de compte bancaire est invalide",
|
|
139
|
+
"invalid": "Champ requis"
|
|
140
|
+
},
|
|
71
141
|
"phone": {
|
|
72
142
|
"required": "Champs requis",
|
|
73
143
|
"invalid": "Champs invalide",
|
|
74
144
|
"notFound": "Introuvable",
|
|
145
|
+
"not.found": "Introuvable",
|
|
75
146
|
"search": "Rechercher",
|
|
76
147
|
"label": "Téléphone",
|
|
77
148
|
"hint": "Start with 0 for belgian phone numbers"
|
|
78
149
|
}
|
|
79
150
|
},
|
|
80
151
|
"copied.to.clipboard": "Copié dans le presse-papier",
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
"
|
|
84
|
-
"
|
|
152
|
+
"today": "Aujourd'hui",
|
|
153
|
+
"bankAccountInput": {
|
|
154
|
+
"length": "Nombre de chiffres incorrect pour ce pays",
|
|
155
|
+
"wrong-iban-checksum": "Le numéro de compte bancaire est invalide",
|
|
156
|
+
"invalid": "Champ requis"
|
|
85
157
|
}
|
|
86
158
|
}
|
package/assets/i18n/nl.json
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
{
|
|
2
2
|
"demo.title": "Ontwerpsysteem",
|
|
3
|
+
"error": {
|
|
4
|
+
"500": {
|
|
5
|
+
"h1": "Oeps...",
|
|
6
|
+
"h2": "Fout 500 - Interne serverfout",
|
|
7
|
+
"p": "Onze excuses, er is iets misgegaan aan onze kant. Probeer het later opnieuw.",
|
|
8
|
+
"ori": "wordless.svg"
|
|
9
|
+
},
|
|
10
|
+
"404": {
|
|
11
|
+
"h1": "Oeps...",
|
|
12
|
+
"h2": "Fout 404 - Pagina niet gevonden",
|
|
13
|
+
"p": "Onze excuses, de pagina die u zoekt bestaat niet. Deze is mogelijk verwijderd of tijdelijk niet beschikbaar.",
|
|
14
|
+
"ori": "alone.svg"
|
|
15
|
+
},
|
|
16
|
+
"403": {
|
|
17
|
+
"h1": "Toegang geweigerd",
|
|
18
|
+
"h2": "Fout 403 - Verboden",
|
|
19
|
+
"p": "U heeft geen toestemming om deze bron te bekijken. Neem contact op met de ondersteuning als u denkt dat dit een fout is.",
|
|
20
|
+
"ori": "error.svg"
|
|
21
|
+
},
|
|
22
|
+
"401": {
|
|
23
|
+
"h1": "Niet geautoriseerd",
|
|
24
|
+
"h2": "Fout 401 - Niet gemachtigde toegang",
|
|
25
|
+
"p": "U moet inloggen om toegang te krijgen tot deze pagina. Gelieve in te loggen en het opnieuw te proberen.",
|
|
26
|
+
"ori": "error.svg"
|
|
27
|
+
},
|
|
28
|
+
"400": {
|
|
29
|
+
"h1": "Ongeldige aanvraag",
|
|
30
|
+
"h2": "Fout 400 - Foute aanvraag",
|
|
31
|
+
"p": "De server kon uw verzoek niet begrijpen. Controleer uw invoer en probeer het opnieuw.",
|
|
32
|
+
"ori": "desperate.svg"
|
|
33
|
+
},
|
|
34
|
+
"503": {
|
|
35
|
+
"h1": "Dienst niet beschikbaar",
|
|
36
|
+
"h2": "Fout 503 - Dienst niet beschikbaar",
|
|
37
|
+
"p": "Onze servers zijn momenteel in onderhoud of overbelast. Probeer het later opnieuw.",
|
|
38
|
+
"ori": "star-eyes.svg"
|
|
39
|
+
},
|
|
40
|
+
"502": {
|
|
41
|
+
"h1": "Ongeldige gateway",
|
|
42
|
+
"h2": "Fout 502 - Ongeldige gateway",
|
|
43
|
+
"p": "De server heeft een ongeldige reactie ontvangen van een upstream server. Probeer het later opnieuw.",
|
|
44
|
+
"ori": "error.svg"
|
|
45
|
+
},
|
|
46
|
+
"408": {
|
|
47
|
+
"h1": "Time-out",
|
|
48
|
+
"h2": "Fout 408 - Verzoek time-out",
|
|
49
|
+
"p": "Uw verzoek duurde te lang. Probeer het opnieuw.",
|
|
50
|
+
"ori": "thumb-down.svg"
|
|
51
|
+
},
|
|
52
|
+
"429": {
|
|
53
|
+
"h1": "Te veel verzoeken",
|
|
54
|
+
"h2": "Fout 429 - Te veel verzoeken",
|
|
55
|
+
"p": "U heeft te veel verzoeken verstuurd in een korte tijd. Wacht alstublieft en probeer het later opnieuw.",
|
|
56
|
+
"ori": "thumb-down.svg"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
3
59
|
"404": {
|
|
4
60
|
"oops": "Oops",
|
|
5
61
|
"title": "Fout 404 - Pagina niet gevonden!",
|
|
@@ -34,7 +90,9 @@
|
|
|
34
90
|
"remove": "Verwijderen",
|
|
35
91
|
"cancel": "Annuleren",
|
|
36
92
|
"retry": "Opnieuw proberen",
|
|
37
|
-
"of": "of"
|
|
93
|
+
"of": "of",
|
|
94
|
+
"too.many.files": "Limiet van {{limit}} bestand(en) bereikt",
|
|
95
|
+
"total.max.size.exceeded": "De totale bestandsgrootte overschrijdt de toegestane limiet van {{ maxTotalFileSize }}"
|
|
38
96
|
}
|
|
39
97
|
},
|
|
40
98
|
"select": {
|
|
@@ -42,10 +100,17 @@
|
|
|
42
100
|
"deselect.all": "Deselect All",
|
|
43
101
|
"search": {
|
|
44
102
|
"filter": "Zoeken",
|
|
45
|
-
"notFound": "Geen resultaten"
|
|
103
|
+
"notFound": "Geen resultaten",
|
|
104
|
+
"not.found": "Geen resultaten"
|
|
46
105
|
}
|
|
47
106
|
},
|
|
48
107
|
"layout": {
|
|
108
|
+
"mode": {
|
|
109
|
+
"select": "Keuze van modus",
|
|
110
|
+
"dark": "Donkere modus",
|
|
111
|
+
"light": "Lichte modus",
|
|
112
|
+
"system": "Volg systeeminstellingen"
|
|
113
|
+
},
|
|
49
114
|
"profile": "Profile",
|
|
50
115
|
"login": "Login",
|
|
51
116
|
"logout": "Logout",
|
|
@@ -67,19 +132,26 @@
|
|
|
67
132
|
"nonEquilibriumThermodynamics": "Non-equilibrium thermodynamics"
|
|
68
133
|
},
|
|
69
134
|
"input": {
|
|
135
|
+
"bank": {
|
|
136
|
+
"length": "Onjuist aantal cijfers voor dit land",
|
|
137
|
+
"checksum": "Bankrekeningnummer is ongeldig",
|
|
138
|
+
"invalid": "Veld verplicht"
|
|
139
|
+
},
|
|
70
140
|
"phone": {
|
|
71
|
-
"required": "
|
|
72
|
-
"invalid": "
|
|
73
|
-
"notFound": "
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
141
|
+
"required": "Veld vereist",
|
|
142
|
+
"invalid": "Ongeldig veld",
|
|
143
|
+
"notFound": "Niet gevonden",
|
|
144
|
+
"not.found": "Niet gevonden",
|
|
145
|
+
"search": "Zoeken",
|
|
146
|
+
"label": "Telefoonnummer",
|
|
147
|
+
"hint": "Begin met 0 voor Belgische telefoonnummers"
|
|
77
148
|
}
|
|
78
149
|
},
|
|
79
150
|
"copied.to.clipboard": "Naar klembord gekopieerd",
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
"
|
|
83
|
-
"
|
|
151
|
+
"today": "Vandaag",
|
|
152
|
+
"bankAccountInput": {
|
|
153
|
+
"length": "Onjuist aantal cijfers voor dit land",
|
|
154
|
+
"wrong-iban-checksum": "Bankrekeningnummer is ongeldig",
|
|
155
|
+
"invalid": "Veld verplicht"
|
|
84
156
|
}
|
|
85
157
|
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, Input, Component } from '@angular/core';
|
|
3
|
+
import { NgOptimizedImage } from '@angular/common';
|
|
4
|
+
import { OnemRvaCDNService } from '@onemrvapublic/design-system/shared';
|
|
5
|
+
|
|
6
|
+
class FlagIconComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.countryCode = 'xx';
|
|
9
|
+
this.mode = 'rectangle';
|
|
10
|
+
this.width = 26;
|
|
11
|
+
this.height = this.width;
|
|
12
|
+
this.cdn = inject(OnemRvaCDNService);
|
|
13
|
+
this.cdnUrl = this.cdn.getUrl();
|
|
14
|
+
if (this.mode === 'rectangle') {
|
|
15
|
+
this.height = this.width / 1.33;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
get normalizedCountryCode() {
|
|
19
|
+
return (this.countryCode?.trim() || 'xx').toLowerCase();
|
|
20
|
+
}
|
|
21
|
+
get modeValue() {
|
|
22
|
+
if (this.mode === 'rectangle') {
|
|
23
|
+
return '4x3';
|
|
24
|
+
}
|
|
25
|
+
return '1x1';
|
|
26
|
+
}
|
|
27
|
+
get url() {
|
|
28
|
+
return `${this.cdnUrl}/img/flags/${this.modeValue}/${this.normalizedCountryCode}.svg`;
|
|
29
|
+
}
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: FlagIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.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", "decoding", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }] }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: FlagIconComponent, decorators: [{
|
|
34
|
+
type: Component,
|
|
35
|
+
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"] }]
|
|
36
|
+
}], ctorParameters: () => [], propDecorators: { countryCode: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}], mode: [{
|
|
39
|
+
type: Input
|
|
40
|
+
}], width: [{
|
|
41
|
+
type: Input
|
|
42
|
+
}] } });
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Generated bundle index. Do not edit.
|
|
46
|
+
*/
|
|
47
|
+
|
|
48
|
+
export { FlagIconComponent };
|
|
49
|
+
//# sourceMappingURL=onemrvapublic-design-system-flag-icon.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onemrvapublic-design-system-flag-icon.mjs","sources":["../../../../projects/onemrva/design-system/flag-icon/src/flag-icon.component.ts","../../../../projects/onemrva/design-system/flag-icon/src/flag-icon.component.html","../../../../projects/onemrva/design-system/flag-icon/onemrvapublic-design-system-flag-icon.ts"],"sourcesContent":["import { Component, inject, Input } from '@angular/core';\nimport { NgOptimizedImage } from '@angular/common';\nimport { OnemRvaCDNService } from '@onemrvapublic/design-system/shared';\n\n@Component({\n selector: 'flag-icon',\n standalone: true,\n imports: [NgOptimizedImage],\n templateUrl: './flag-icon.component.html',\n styleUrl: './flag-icon.component.scss',\n})\nexport class FlagIconComponent {\n @Input() countryCode?: string | null | undefined = 'xx';\n\n @Input() mode: 'square' | 'rectangle' = 'rectangle';\n\n @Input() width = 26;\n height: number = this.width;\n\n private readonly cdnUrl: string;\n private cdn = inject(OnemRvaCDNService);\n\n constructor() {\n this.cdnUrl = this.cdn.getUrl();\n if (this.mode === 'rectangle') {\n this.height = this.width / 1.33;\n }\n }\n\n get normalizedCountryCode() {\n return (this.countryCode?.trim() || 'xx').toLowerCase();\n }\n\n get modeValue() {\n if (this.mode === 'rectangle') {\n return '4x3';\n }\n return '1x1';\n }\n\n get url() {\n return `${this.cdnUrl}/img/flags/${this.modeValue}/${this.normalizedCountryCode}.svg`;\n }\n}\n","<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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAWa,iBAAiB,CAAA;AAW5B,IAAA,WAAA,GAAA;QAVS,IAAA,CAAA,WAAW,GAA+B,IAAI;QAE9C,IAAA,CAAA,IAAI,GAA2B,WAAW;QAE1C,IAAA,CAAA,KAAK,GAAG,EAAE;AACnB,QAAA,IAAA,CAAA,MAAM,GAAW,IAAI,CAAC,KAAK;AAGnB,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,iBAAiB,CAAC;QAGrC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE;AAC/B,QAAA,IAAI,IAAI,CAAC,IAAI,KAAK,WAAW,EAAE;YAC7B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI;;;AAInC,IAAA,IAAI,qBAAqB,GAAA;AACvB,QAAA,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,IAAI,EAAE,WAAW,EAAE;;AAGzD,IAAA,IAAI,SAAS,GAAA;AACX,QAAA,IAAI,IAAI,CAAC,IAAI,KAAK,WAAW,EAAE;AAC7B,YAAA,OAAO,KAAK;;AAEd,QAAA,OAAO,KAAK;;AAGd,IAAA,IAAI,GAAG,GAAA;AACL,QAAA,OAAO,CAAA,EAAG,IAAI,CAAC,MAAM,CAAA,WAAA,EAAc,IAAI,CAAC,SAAS,CAAA,CAAA,EAAI,IAAI,CAAC,qBAAqB,MAAM;;8GA9B5E,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,IAAA,EAAA,MAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECX9B,qOAcA,EAAA,MAAA,EAAA,CAAA,mHAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDPY,gBAAgB,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,OAAA,EAAA,QAAA,EAAA,UAAA,EAAA,SAAA,EAAA,UAAA,EAAA,cAAA,EAAA,wBAAA,EAAA,MAAA,EAAA,aAAA,EAAA,mBAAA,EAAA,KAAA,EAAA,QAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAIf,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAP7B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,WAAW,EAAA,UAAA,EACT,IAAI,EAAA,OAAA,EACP,CAAC,gBAAgB,CAAC,EAAA,QAAA,EAAA,qOAAA,EAAA,MAAA,EAAA,CAAA,mHAAA,CAAA,EAAA;wDAKlB,WAAW,EAAA,CAAA;sBAAnB;gBAEQ,IAAI,EAAA,CAAA;sBAAZ;gBAEQ,KAAK,EAAA,CAAA;sBAAb;;;AEhBH;;AAEG;;;;"}
|