@onemrvapublic/design-system 0.0.0 → 1.0.0-beta.4
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/.eslintrc.json +33 -0
- package/README.md +17 -16
- package/_index.scss +34 -0
- package/_utils.scss +30 -0
- package/assets/i18n/de.json +86 -0
- package/assets/i18n/en.json +86 -0
- package/assets/i18n/fr.json +86 -0
- package/assets/i18n/nl.json +85 -0
- package/core/index.ts +3 -0
- package/core/src/lib/core.module.ts +26 -0
- package/core/src/lib/modules/index.ts +1 -0
- package/core/src/lib/modules/translate.loader.ts +34 -0
- package/core/src/lib/modules/translate.module.ts +66 -0
- package/core/src/lib/services/index.ts +2 -0
- package/core/src/lib/services/onemrva-error-handler.service.ts +24 -0
- package/core/src/lib/services/onemrva-missing-translation.service.ts +12 -0
- package/{projects/onemrva/design-system/layout → core}/src/test.ts +16 -11
- package/{projects/onemrva/design-system/layout → layout}/src/components/index.ts +6 -0
- package/{projects/onemrva/design-system/layout → layout}/src/components/layout/_layout-mixin.component.scss +42 -12
- package/layout/src/components/layout/layout.component.html +213 -0
- package/{projects/onemrva/design-system/layout → layout}/src/components/layout/layout.component.scss +20 -18
- package/layout/src/components/layout/layout.component.spec.ts +59 -0
- package/{projects/onemrva/design-system/layout → layout}/src/components/layout/layout.component.ts +11 -13
- package/layout/src/components/layout-after-nav/layout-after-nav.component.spec.ts +24 -0
- package/layout/src/components/layout-after-nav/layout-after-nav.component.ts +24 -0
- package/layout/src/components/layout-content/layout-content.component.spec.ts +24 -0
- package/{projects/onemrva/design-system/layout → layout}/src/components/layout-content/layout-content.component.ts +2 -1
- package/layout/src/components/layout-drawer-actions/layout-drawer-actions.component.scss +5 -0
- package/layout/src/components/layout-drawer-actions/layout-drawer-actions.component.ts +14 -0
- package/layout/src/components/layout-drawer-content/layout-drawer-content.component.html +1 -0
- package/layout/src/components/layout-drawer-content/layout-drawer-content.component.ts +14 -0
- package/layout/src/components/layout-drawer-title/layout-drawer-title.component.html +7 -0
- package/layout/src/components/layout-drawer-title/layout-drawer-title.component.scss +9 -0
- package/layout/src/components/layout-drawer-title/layout-drawer-title.component.ts +18 -0
- package/{projects/onemrva/design-system/layout → layout}/src/components/layout-login-menu/layout-login-menu.component.spec.ts +2 -3
- package/layout/src/components/layout-login-menu/layout-login-menu.component.ts +24 -0
- package/{projects/onemrva/design-system/layout → layout}/src/components/layout-route/layout-route.component.html +23 -16
- package/layout/src/components/layout-route/layout-route.component.spec.ts +24 -0
- package/{projects/onemrva/design-system/layout → layout}/src/components/layout-route/layout-route.component.ts +14 -13
- package/{projects/onemrva/design-system/layout → layout}/src/components/layout-sidenav/layout-sidenav.component.html +4 -4
- package/{projects/onemrva/design-system/layout → layout}/src/components/layout-sidenav/layout-sidenav.component.ts +10 -10
- package/{projects/onemrva/design-system/layout → layout}/src/components/layout-subroute/layout-subroute.component.html +3 -4
- package/layout/src/components/layout-subroute/layout-subroute.component.spec.ts +24 -0
- package/layout/src/components/layout-subroute/layout-subroute.component.ts +62 -0
- package/{projects/onemrva/design-system/layout → layout}/src/components/layout-title/layout-title.component.spec.ts +2 -3
- package/layout/src/components/layout-title/layout-title.component.ts +24 -0
- package/layout/src/decorators/coerce-boolean-input.decorator.ts +19 -0
- package/layout/src/decorators/observable-content.decorator.ts +13 -0
- package/layout/src/directives/drawer-host.directive.ts +42 -0
- package/layout/src/enums/environment.enum.ts +6 -0
- package/layout/src/index.scss +2 -0
- package/{projects/onemrva/design-system/layout → layout}/src/layout.module.ts +3 -59
- package/{projects/onemrva/design-system/layout → layout}/src/models/onemrva-profile.model.ts +3 -3
- package/{projects/onemrva/design-system/layout → layout}/src/services/drawer.service.ts +3 -1
- package/{projects/onemrva/design-system/layout → layout}/src/striphtml.pipe.ts +1 -2
- package/{projects/test → layout}/src/test.ts +8 -3
- package/mat-avatar/src/onemrva-mat-avatar.component.html +21 -0
- package/mat-avatar/src/onemrva-mat-avatar.component.scss +133 -0
- package/mat-avatar/src/onemrva-mat-avatar.module.ts +11 -0
- package/mat-avatar/src/onemrva-mat.avatar.component.spec.ts +54 -0
- package/mat-badge/ng-package.json +6 -0
- package/mat-badge/src/onemrva-mat-badge.component.scss +157 -0
- package/{projects/onemrva/design-system/mat-badge → mat-badge}/src/onemrva-mat-badge.component.ts +73 -33
- package/mat-badge/src/onemrva-mat-badge.module.ts +8 -0
- package/mat-breadcrumb/ng-package.json +6 -0
- package/{projects/onemrva/design-system/mat-breadcrumb → mat-breadcrumb}/src/onemrva-mat-breadcrumb.component.scss +9 -8
- package/{projects/onemrva/design-system/mat-breadcrumb → mat-breadcrumb}/src/onemrva-mat-breadcrumb.model.ts +2 -2
- package/{projects/onemrva/design-system/mat-breadcrumb → mat-breadcrumb}/src/onemrva-mat-breadcrumb.module.ts +3 -3
- package/{projects/onemrva/design-system/mat-breadcrumb → mat-breadcrumb}/src/onemrva-mat-breadcrumb.service.ts +4 -4
- package/mat-carousel/index.ts +2 -0
- package/mat-carousel/ng-package.json +6 -0
- package/mat-carousel/src/mat-carousel-item/onemrva-mat-carousel-item.component.html +5 -0
- package/mat-carousel/src/mat-carousel-item/onemrva-mat-carousel-item.component.ts +27 -0
- package/mat-carousel/src/onemrva-mat-carousel-item.directive.ts +8 -0
- package/mat-carousel/src/onemrva-mat-carousel.component.html +43 -0
- package/mat-carousel/src/onemrva-mat-carousel.component.scss +54 -0
- package/mat-carousel/src/onemrva-mat-carousel.component.ts +160 -0
- package/mat-copy-to-clipboard/index.ts +1 -0
- package/mat-copy-to-clipboard/ng-package.json +6 -0
- package/mat-copy-to-clipboard/src/components/copy-to-clipboard.component.html +14 -0
- package/mat-copy-to-clipboard/src/components/copy-to-clipboard.component.scss +11 -0
- package/mat-copy-to-clipboard/src/components/copy-to-clipboard.component.ts +76 -0
- package/mat-datepicker-header/ng-package.json +6 -0
- package/mat-datepicker-header/src/_onemrva-mat-datepicker-header.component.scss +12 -0
- package/{projects/onemrva/design-system/mat-datepicker-header → mat-datepicker-header}/src/onemrva-mat-datepicker-header.component.html +2 -1
- package/{projects/onemrva/design-system/mat-datepicker-header → mat-datepicker-header}/src/onemrva-mat-datepicker-header.component.ts +16 -18
- package/mat-file-upload/ng-package.json +6 -0
- package/{projects/onemrva/design-system/mat-file-upload → mat-file-upload}/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.html +13 -8
- package/{projects/onemrva/design-system/mat-file-upload → mat-file-upload}/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.scss +53 -50
- package/{projects/onemrva/design-system/mat-file-upload → mat-file-upload}/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.ts +57 -33
- package/mat-file-upload/src/directives/dnd.directive.ts +41 -0
- package/{projects/onemrva/design-system/mat-file-upload → mat-file-upload}/src/models/progress-file.model.ts +2 -2
- package/{projects/onemrva/design-system/mat-file-upload → mat-file-upload}/src/onemrva-mat-file-upload-itf.store.ts +5 -5
- package/{projects/onemrva/design-system/mat-file-upload → mat-file-upload}/src/onemrva-mat-file-upload.service.ts +6 -6
- package/{projects/onemrva/design-system/mat-file-upload → mat-file-upload}/src/onemrva-mat-file-upload.store.ts +78 -69
- package/mat-input-bank-account/ng-package.json +6 -0
- package/mat-input-bank-account/src/bank-account.component.html +36 -0
- package/mat-input-bank-account/src/bank-account.component.scss +42 -0
- package/mat-input-bank-account/src/bank-account.component.ts +308 -0
- package/mat-input-bank-account/src/onemrva-mat-input-bank-account.component.html +11 -0
- package/{projects/onemrva/design-system/mat-input-bank-account → mat-input-bank-account}/src/onemrva-mat-input-bank-account.component.scss +6 -1
- package/mat-input-bank-account/src/onemrva-mat-input-bank-account.component.ts +82 -0
- package/mat-input-birthplace/index.ts +5 -0
- package/mat-input-birthplace/ng-package.json +6 -0
- package/mat-input-birthplace/src/country-item.component.html +8 -0
- package/mat-input-birthplace/src/country-item.component.scss +10 -0
- package/mat-input-birthplace/src/country-item.component.ts +33 -0
- package/mat-input-birthplace/src/onemrva-mat-input-birthplace.component.html +28 -0
- package/mat-input-birthplace/src/onemrva-mat-input-birthplace.component.scss +3 -0
- package/mat-input-birthplace/src/onemrva-mat-input-birthplace.component.ts +129 -0
- package/mat-input-country/ng-package.json +6 -0
- package/{projects/onemrva/design-system/mat-input-country → mat-input-country}/src/countries.ts +237 -221
- package/mat-input-country/src/onemrva-mat-input-country.component.html +25 -0
- package/{projects/onemrva/design-system/mat-input-country → mat-input-country}/src/onemrva-mat-input-country.component.ts +60 -52
- package/mat-input-enterprise-number/ng-package.json +6 -0
- package/{projects/onemrva/design-system/mat-input-enterprise-number → mat-input-enterprise-number}/src/onemrva-mat-input-enterprise-number.component.html +6 -3
- package/{projects/onemrva/design-system/mat-input-enterprise-number → mat-input-enterprise-number}/src/onemrva-mat-input-enterprise-number.component.scss +4 -1
- package/mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.ts +212 -0
- package/mat-input-phone/ng-package.json +6 -0
- package/{projects/onemrva/design-system/mat-input-phone → mat-input-phone}/src/onemrva-mat-input-phone.component.html +12 -8
- package/{projects/onemrva/design-system/mat-input-phone → mat-input-phone}/src/onemrva-mat-input-phone.component.scss +6 -4
- package/{projects/onemrva/design-system/mat-input-phone → mat-input-phone}/src/onemrva-mat-input-phone.component.ts +97 -84
- package/{projects/onemrva/design-system/mat-input-phone → mat-input-phone}/src/phone-number.directive.ts +3 -4
- package/mat-message-box/ng-package.json +6 -0
- package/mat-message-box/src/onemrva-mat-message-box.component.html +3 -0
- package/mat-message-box/src/onemrva-mat-message-box.component.scss +73 -0
- package/{projects/onemrva/design-system/mat-message-box → mat-message-box}/src/onemrva-mat-message-box.component.ts +43 -5
- package/{projects/onemrva/design-system/mat-message-box → mat-message-box}/src/onemrva-mat-message-box.module.ts +3 -3
- package/mat-multi-select/ng-package.json +6 -0
- package/mat-multi-select/src/_onemrva-mat-multi-select.component.scss +66 -0
- package/mat-multi-select/src/onemrva-mat-multi-select.component.html +44 -0
- package/mat-multi-select/src/onemrva-mat-multi-select.component.ts +194 -0
- package/mat-multi-select/src/onemrva-mat-multi-select.module.ts +27 -0
- package/mat-notification/ng-package.json +6 -0
- package/mat-notification/src/_onemrva-mat-notification.component.scss +102 -0
- package/mat-notification/src/onemrva-mat-notification.component.html +15 -0
- package/{projects/onemrva/design-system/mat-notification → mat-notification}/src/onemrva-mat-notification.component.ts +1 -1
- package/mat-paginator/ng-package.json +6 -0
- package/{projects/onemrva/design-system/mat-paginator → mat-paginator}/src/_onemrva-mat-paginator.component.scss +11 -11
- package/{projects/onemrva/design-system/mat-paginator → mat-paginator}/src/onemrva-mat-paginator.component.html +11 -7
- package/mat-paginator/src/onemrva-mat-paginator.component.spec.ts +184 -0
- package/{projects/onemrva/design-system/mat-paginator → mat-paginator}/src/onemrva-mat-paginator.component.ts +12 -10
- package/{projects/onemrva/design-system/mat-paginator → mat-paginator}/src/onemrva-mat-paginator.module.ts +9 -3
- package/mat-panel/ng-package.json +6 -0
- package/mat-panel/src/onemrva-mat-panel-content.component.ts +11 -0
- package/mat-panel/src/onemrva-mat-panel-content.html +5 -0
- package/mat-panel/src/onemrva-mat-panel-icon.component.ts +11 -0
- package/mat-panel/src/onemrva-mat-panel-icon.html +5 -0
- package/mat-panel/src/onemrva-mat-panel-title-action.component.ts +11 -0
- package/mat-panel/src/onemrva-mat-panel-title-action.html +5 -0
- package/mat-panel/src/onemrva-mat-panel-title.component.ts +29 -0
- package/mat-panel/src/onemrva-mat-panel-title.html +8 -0
- package/mat-panel/src/onemrva-mat-panel.component.scss +101 -0
- package/mat-panel/src/onemrva-mat-panel.module.ts +26 -0
- package/mat-pop-over/ng-package.json +6 -0
- package/{projects/onemrva/design-system/mat-pop-over → mat-pop-over}/src/onemrva-mat-pop-over.component.scss +1 -1
- package/{projects/onemrva/design-system/mat-pop-over → mat-pop-over}/src/onemrva-mat-pop-over.component.ts +2 -3
- package/mat-progress-bar/ng-package.json +6 -0
- package/{projects/onemrva/design-system/mat-progress-bar → mat-progress-bar}/src/_onemrva-mat-progress-bar-mixin.component.scss +4 -4
- package/{projects/onemrva/design-system/mat-progress-bar → mat-progress-bar}/src/onemrva-mat-progress-bar.component.ts +1 -1
- package/mat-select-search/ng-package.json +6 -0
- package/{projects/onemrva/design-system/mat-select-search → mat-select-search}/src/default-options.ts +9 -3
- package/{projects/onemrva/design-system/mat-select-search → mat-select-search}/src/mat-select-no-entries-found.directive.ts +1 -1
- package/{projects/onemrva/design-system/mat-select-search → mat-select-search}/src/mat-select-search-clear.directive.ts +1 -1
- package/mat-select-search/src/mat-select-search.component.html +82 -0
- package/{projects/onemrva/design-system/mat-select-search → mat-select-search}/src/mat-select-search.component.scss +6 -6
- package/mat-select-search/src/mat-select-search.component.spec.ts +790 -0
- package/{projects/onemrva/design-system/mat-select-search → mat-select-search}/src/mat-select-search.component.ts +227 -134
- package/{projects/onemrva/design-system/mat-select-search → mat-select-search}/src/mat-select-search.module.ts +7 -8
- package/mat-selectable-box/index.ts +6 -0
- package/mat-selectable-box/ng-package.json +6 -0
- package/mat-selectable-box/src/onemrva-mat-selectable-box.component.scss +101 -0
- package/mat-selectable-box/src/onemrva-mat-selectable-box.component.ts +99 -0
- package/mat-selectable-box/src/onemrva-mat-selectable-box.module.ts +30 -0
- package/mat-side-menu/ng-package.json +6 -0
- package/{projects/onemrva/design-system/mat-side-menu → mat-side-menu}/src/onemrva-mat-side-menu.component.html +2 -2
- package/mat-side-menu/src/onemrva-mat-side-menu.component.scss +50 -0
- package/mat-side-menu/src/onemrva-mat-side-menu.component.spec.ts +66 -0
- package/mat-side-menu/src/onemrva-mat-side-menu.component.ts +58 -0
- package/mat-skeleton/ng-package.json +6 -0
- package/{projects/onemrva/design-system/mat-skeleton → mat-skeleton}/src/onemrva-mat-skeleton.component.html +3 -6
- package/{projects/onemrva/design-system/mat-skeleton → mat-skeleton}/src/onemrva-mat-skeleton.component.scss +6 -14
- package/{projects/onemrva/design-system/mat-skeleton → mat-skeleton}/src/onemrva-mat-skeleton.component.ts +17 -3
- package/mat-skeleton/src/onemrva-mat-skeleton.module.ts +10 -0
- package/{projects/onemrva/design-system/mat-spinner → mat-spinner}/index.ts +1 -0
- package/mat-spinner/ng-package.json +6 -0
- package/mat-spinner/src/_onemrva-mat-spinner.component.scss +151 -0
- package/mat-spinner/src/onemrva-mat-loading.directive.ts +41 -0
- package/mat-spinner/src/onemrva-mat-spinner.component.html +2138 -0
- package/mat-spinner/src/onemrva-mat-spinner.component.ts +52 -0
- package/{projects/onemrva/design-system/mat-spinner → mat-spinner}/src/onemrva-mat-spinner.module.ts +3 -1
- package/mat-stepper/ng-package.json +6 -0
- package/{projects/onemrva/design-system/mat-stepper → mat-stepper}/src/_stepper-variables.scss +1 -1
- package/{projects/onemrva/design-system/mat-stepper → mat-stepper}/src/onemrva-mat-stepper.component.spec.ts +6 -7
- package/mat-stepper/src/onemrva-mat-stepper.component.ts +57 -0
- package/mat-stepper/src/onemrva-mat-stepper.html +61 -0
- package/mat-stepper/src/onemrva-mat-stepper.module.ts +24 -0
- package/mat-stepper/src/onemrva-mat-stepper.scss +113 -0
- package/mat-stepper/src/onemrva-stepper-animations.ts +42 -0
- package/mat-sticker/index.ts +6 -0
- package/mat-sticker/ng-package.json +6 -0
- package/mat-sticker/src/onemrva-mat-sticker.component.scss +65 -0
- package/mat-sticker/src/onemrva-mat-sticker.component.spec.ts +16 -0
- package/mat-sticker/src/onemrva-mat-sticker.component.ts +58 -0
- package/mat-sticker/src/onemrva-mat-sticker.module.ts +10 -0
- package/mat-table-of-content/ng-package.json +6 -0
- package/{projects/onemrva/design-system/mat-table-of-content → mat-table-of-content}/src/_onemrva-mat-table-of-content.component.scss +7 -7
- package/{projects/onemrva/design-system/mat-table-of-content → mat-table-of-content}/src/onemrva-mat-table-of-content.component.html +2 -2
- package/{projects/onemrva/design-system/mat-table-of-content → mat-table-of-content}/src/onemrva-mat-table-of-content.component.ts +12 -14
- package/{projects/onemrva/design-system/mat-table-of-content → mat-table-of-content}/src/onemrva-mat-table-of-content.directive.ts +2 -2
- package/{projects/onemrva/design-system/mat-table-of-content → mat-table-of-content}/src/onemrva-mat-table-of-content.service.ts +2 -2
- package/mat-task-list/ng-package.json +6 -0
- package/mat-task-list/src/onemrva-mat-task-content.component.ts +11 -0
- package/mat-task-list/src/onemrva-mat-task-content.html +5 -0
- package/mat-task-list/src/onemrva-mat-task-list.component.html +1 -0
- package/{projects/onemrva/design-system/mat-task-list → mat-task-list}/src/onemrva-mat-task-list.component.scss +4 -4
- package/{projects/onemrva/design-system/mat-task-list → mat-task-list}/src/onemrva-mat-task-list.component.ts +1 -12
- package/{projects/onemrva/design-system/mat-task-list → mat-task-list}/src/onemrva-mat-task-list.module.ts +16 -16
- package/mat-task-list/src/onemrva-mat-task-title.component.ts +24 -0
- package/mat-task-list/src/onemrva-mat-task-title.html +5 -0
- package/mat-task-list/src/onemrva-mat-task.component.html +23 -0
- package/{projects/onemrva/design-system/mat-task-list → mat-task-list}/src/onemrva-mat-task.component.ts +6 -2
- package/{projects/onemrva/design-system/mat-timepicker → mat-timepicker}/index.ts +1 -1
- package/mat-timepicker/ng-package.json +6 -0
- package/mat-timepicker/src/clock/clock.component.html +109 -0
- package/{projects/onemrva/design-system/mat-timepicker → mat-timepicker}/src/clock/clock.component.scss +12 -3
- package/mat-timepicker/src/clock/clock.component.spec.ts +38 -0
- package/{projects/onemrva/design-system/mat-timepicker → mat-timepicker}/src/clock/clock.component.ts +11 -10
- package/{projects/onemrva/design-system/mat-timepicker → mat-timepicker}/src/interfaces-and-types.ts +3 -1
- package/mat-timepicker/src/onemrva-mat-timepicker.component.html +0 -0
- package/{projects/onemrva/design-system/mat-timepicker → mat-timepicker}/src/onemrva-mat-timepicker.component.ts +15 -4
- package/{projects/onemrva/design-system/mat-timepicker → mat-timepicker}/src/onemrva-mat-timepicker.module.ts +2 -2
- package/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.spec.ts +41 -0
- package/{projects/onemrva/design-system/mat-timepicker → mat-timepicker}/src/timepicker-dialog/timepicker-dialog.component.ts +10 -3
- package/{projects/onemrva/design-system/mat-timepicker → mat-timepicker}/src/timepicker-toggle/timepicker-toggle.component.html +2 -2
- package/{projects/onemrva/design-system/mat-timepicker → mat-timepicker}/src/timepicker-toggle/timepicker-toggle.component.ts +9 -4
- package/{projects/onemrva/design-system/mat-timepicker → mat-timepicker}/src/timepicker.directive.ts +42 -40
- package/{projects/onemrva/design-system/mat-timepicker → mat-timepicker}/src/util.ts +20 -8
- package/mat-toast/ng-package.json +6 -0
- package/mat-toast/src/onemrva-mat-toast.component.scss +58 -0
- package/{projects/onemrva/design-system/mat-toast → mat-toast}/src/onemrva-mat-toast.component.ts +2 -2
- package/mat-tooltip/ng-package.json +6 -0
- package/{projects/onemrva/design-system/mat-tooltip → mat-tooltip}/src/onemrva-mat-tooltip.directive.ts +9 -5
- package/{projects/onemrva/design-system/ng-package.json → ng-package.json} +5 -0
- package/npm-shrinkwrap.json +30 -0
- package/package.json +27 -75
- package/page-not-found/ng-package.json +6 -0
- package/page-not-found/src/page-not-found-action.component.ts +9 -0
- package/page-not-found/src/page-not-found-extra.component.ts +9 -0
- package/page-not-found/src/page-not-found-invader.component.ts +93 -0
- package/page-not-found/src/page-not-found-mixin.component.scss +12 -0
- package/page-not-found/src/page-not-found.component.html +47 -0
- package/page-not-found/src/page-not-found.component.scss +205 -0
- package/page-not-found/src/page-not-found.component.ts +60 -0
- package/{projects/onemrva/design-system/page-not-found → page-not-found}/src/page-not-found.module.ts +13 -13
- package/shared/index.ts +17 -0
- package/shared/ng-package.json +6 -0
- package/shared/src/lib/OnemrvaDateAdapter.ts +78 -0
- package/shared/src/lib/components/clipboard-icon/clipboard-icon.component.css +0 -0
- package/shared/src/lib/components/clipboard-icon/clipboard-icon.component.html +1 -0
- package/shared/src/lib/components/clipboard-icon/clipboard-icon.component.spec.ts +21 -0
- package/shared/src/lib/components/clipboard-icon/clipboard-icon.component.ts +18 -0
- package/shared/src/lib/containers/WebComponentOverlayContainer.ts +90 -0
- package/shared/src/lib/containers/index.ts +1 -0
- package/shared/src/lib/date.format.ts +11 -0
- package/shared/src/lib/directives/clipboard.directive.ts +52 -0
- package/shared/src/lib/directives/color.directive.ts +46 -0
- package/shared/src/lib/directives/digit-only.directive.ts +46 -0
- package/shared/src/lib/directives/if-width-is.directive.ts +39 -0
- package/shared/src/lib/directives/index.ts +22 -0
- package/shared/src/lib/directives/mask.directive.ts +223 -0
- package/shared/src/lib/directives/mat-row-clickable.directive.ts +66 -0
- package/shared/src/lib/interfaces/OnemRvaCommonCountry.interface.ts +23 -0
- package/shared/src/lib/interfaces/index.ts +1 -0
- package/shared/src/lib/pipes/index.ts +2 -0
- package/shared/src/lib/pipes/onemrva-bce.pipe.ts +18 -0
- package/shared/src/lib/pipes/onemrva-niss.pipe.ts +18 -0
- package/shared/src/lib/services/commonCountryLookup.service.ts +50 -0
- package/shared/src/lib/services/index.ts +1 -0
- package/shared/src/lib/shared.datepicker.module.ts +60 -0
- package/shared/src/lib/shared.module.ts +10 -0
- package/shared/src/lib/validators/bankAccountValidator.utils.ts +61 -0
- package/shared/src/lib/validators/onemrva-validators.spec.ts +79 -0
- package/shared/src/lib/validators/onemrva-validators.ts +97 -0
- package/shared/src/onemrva-validators.spec.ts +14 -0
- package/{projects/test/src → src}/polyfills.ts +1 -2
- package/src/public-api.spec.ts +7 -0
- package/tsconfig.lib.json +12 -0
- package/tsconfig.spec.json +10 -0
- package/utils/ng-package.json +6 -0
- package/{projects/onemrva/design-system/utils → utils}/src/enum.utils.ts +3 -1
- package/.dockerignore +0 -4
- package/.editorconfig +0 -16
- package/.github/workflows/npm-publish.yml +0 -34
- package/angular.json +0 -214
- package/build.sh +0 -108
- package/cypress.config.ts +0 -40
- package/index.html +0 -10
- package/npm-publish.sh +0 -11
- package/projects/onemrva/design-system/README.md +0 -24
- package/projects/onemrva/design-system/_index.scss +0 -29
- package/projects/onemrva/design-system/_utils.scss +0 -25
- package/projects/onemrva/design-system/layout/src/components/layout/layout.component.html +0 -194
- package/projects/onemrva/design-system/layout/src/components/layout/layout.component.spec.ts +0 -24
- package/projects/onemrva/design-system/layout/src/components/layout-content/layout-content.component.spec.ts +0 -24
- package/projects/onemrva/design-system/layout/src/components/layout-login-menu/layout-login-menu.component.ts +0 -17
- package/projects/onemrva/design-system/layout/src/components/layout-route/layout-route.component.spec.ts +0 -24
- package/projects/onemrva/design-system/layout/src/components/layout-subroute/layout-subroute.component.spec.ts +0 -24
- package/projects/onemrva/design-system/layout/src/components/layout-subroute/layout-subroute.component.ts +0 -35
- package/projects/onemrva/design-system/layout/src/components/layout-title/layout-title.component.ts +0 -17
- package/projects/onemrva/design-system/layout/src/decorators/coerce-boolean-input.decorator.ts +0 -19
- package/projects/onemrva/design-system/layout/src/decorators/observable-content.decorator.ts +0 -13
- package/projects/onemrva/design-system/layout/src/directives/drawer-host.directive.ts +0 -10
- package/projects/onemrva/design-system/layout/src/enums/environment.enum.ts +0 -6
- package/projects/onemrva/design-system/layout/src/layout.component.spec.ts +0 -24
- package/projects/onemrva/design-system/mat-avatar/src/onemrva-mat-avatar.component.html +0 -17
- package/projects/onemrva/design-system/mat-avatar/src/onemrva-mat-avatar.component.scss +0 -130
- package/projects/onemrva/design-system/mat-avatar/src/onemrva-mat-avatar.module.ts +0 -17
- package/projects/onemrva/design-system/mat-badge/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-badge/src/onemrva-mat-badge.component.scss +0 -152
- package/projects/onemrva/design-system/mat-badge/src/onemrva-mat-badge.module.ts +0 -8
- package/projects/onemrva/design-system/mat-breadcrumb/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-clipboard/index.ts +0 -6
- package/projects/onemrva/design-system/mat-clipboard/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-clipboard/src/_onemrva-mat-spinner.component.scss +0 -62
- package/projects/onemrva/design-system/mat-clipboard/src/onemrva-mat-clipboard.component.ts +0 -16
- package/projects/onemrva/design-system/mat-clipboard/src/onemrva-mat-clipboard.module.ts +0 -14
- package/projects/onemrva/design-system/mat-datepicker-header/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-datepicker-header/src/_onemrva-mat-datepicker-header.component.scss +0 -11
- package/projects/onemrva/design-system/mat-file-upload/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-file-upload/src/directives/dnd.directive.ts +0 -43
- package/projects/onemrva/design-system/mat-input-bank-account/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-input-bank-account/src/onemrva-mat-input-bank-account.component.html +0 -32
- package/projects/onemrva/design-system/mat-input-bank-account/src/onemrva-mat-input-bank-account.component.ts +0 -125
- package/projects/onemrva/design-system/mat-input-country/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-input-country/src/onemrva-mat-input-country.component.html +0 -29
- package/projects/onemrva/design-system/mat-input-country/src/onemrva-mat-input-country.component.scss +0 -29
- package/projects/onemrva/design-system/mat-input-enterprise-number/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.ts +0 -190
- package/projects/onemrva/design-system/mat-input-phone/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-message-box/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-message-box/src/onemrva-mat-message-box.component.scss +0 -60
- package/projects/onemrva/design-system/mat-multi-select/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-multi-select/src/_onemrva-mat-multi-select.component.scss +0 -66
- package/projects/onemrva/design-system/mat-multi-select/src/onemrva-mat-multi-select.component.html +0 -24
- package/projects/onemrva/design-system/mat-multi-select/src/onemrva-mat-multi-select.component.ts +0 -152
- package/projects/onemrva/design-system/mat-multi-select/src/onemrva-mat-multi-select.module.ts +0 -31
- package/projects/onemrva/design-system/mat-notification/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-notification/src/_onemrva-mat-notification.component.scss +0 -71
- package/projects/onemrva/design-system/mat-notification/src/onemrva-mat-notification.component.html +0 -10
- package/projects/onemrva/design-system/mat-paginator/ng-package.json +0 -7
- package/projects/onemrva/design-system/mat-paginator/package.json +0 -7
- package/projects/onemrva/design-system/mat-paginator/src/onemrva-mat-paginator.component.spec.ts +0 -184
- package/projects/onemrva/design-system/mat-panel/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel-content.component.ts +0 -12
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel-content.html +0 -5
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel-icon.component.ts +0 -12
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel-icon.html +0 -5
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel-title-action.component.ts +0 -12
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel-title-action.html +0 -5
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel-title.component.ts +0 -20
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel-title.html +0 -8
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel.component.scss +0 -100
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel.module.ts +0 -26
- package/projects/onemrva/design-system/mat-pop-over/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-progress-bar/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-select-search/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-select-search/src/mat-select-search.component.html +0 -67
- package/projects/onemrva/design-system/mat-select-search/src/mat-select-search.component.spec.ts +0 -790
- package/projects/onemrva/design-system/mat-side-menu/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-side-menu/src/onemrva-mat-side-menu.component.scss +0 -50
- package/projects/onemrva/design-system/mat-side-menu/src/onemrva-mat-side-menu.component.spec.ts +0 -66
- package/projects/onemrva/design-system/mat-side-menu/src/onemrva-mat-side-menu.component.ts +0 -46
- package/projects/onemrva/design-system/mat-skeleton/src/onemrva-mat-skeleton.module.ts +0 -16
- package/projects/onemrva/design-system/mat-spinner/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-spinner/src/_onemrva-mat-spinner.component.scss +0 -62
- package/projects/onemrva/design-system/mat-spinner/src/onemrva-mat-spinner.component.ts +0 -11
- package/projects/onemrva/design-system/mat-stepper/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.component.ts +0 -60
- package/projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.html +0 -53
- package/projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.module.ts +0 -30
- package/projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.scss +0 -106
- package/projects/onemrva/design-system/mat-stepper/src/onemrva-stepper-animations.ts +0 -40
- package/projects/onemrva/design-system/mat-table-of-content/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-task-list/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-content.component.ts +0 -12
- package/projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-content.html +0 -5
- package/projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-title.component.ts +0 -18
- package/projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-title.html +0 -5
- package/projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task.component.html +0 -17
- package/projects/onemrva/design-system/mat-timepicker/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-timepicker/src/clock/clock.component.html +0 -42
- package/projects/onemrva/design-system/mat-timepicker/src/clock/clock.component.spec.ts +0 -25
- package/projects/onemrva/design-system/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.spec.ts +0 -25
- package/projects/onemrva/design-system/mat-toast/ng-package.json +0 -6
- package/projects/onemrva/design-system/mat-toast/src/onemrva-mat-toast.component.scss +0 -54
- package/projects/onemrva/design-system/mat-tooltip/ng-package.json +0 -6
- package/projects/onemrva/design-system/package.json +0 -27
- package/projects/onemrva/design-system/page-not-found/ng-package.json +0 -9
- package/projects/onemrva/design-system/page-not-found/src/page-not-found-action.component.ts +0 -9
- package/projects/onemrva/design-system/page-not-found/src/page-not-found-extra.component.ts +0 -9
- package/projects/onemrva/design-system/page-not-found/src/page-not-found-invader.component.ts +0 -84
- package/projects/onemrva/design-system/page-not-found/src/page-not-found-mixin.component.scss +0 -12
- package/projects/onemrva/design-system/page-not-found/src/page-not-found.component.html +0 -31
- package/projects/onemrva/design-system/page-not-found/src/page-not-found.component.scss +0 -206
- package/projects/onemrva/design-system/page-not-found/src/page-not-found.component.ts +0 -59
- package/projects/onemrva/design-system/tsconfig.lib.json +0 -12
- package/projects/onemrva/design-system/utils/ng-package.json +0 -6
- package/projects/schematics/README.md +0 -40
- package/projects/schematics/package.json +0 -25
- package/projects/schematics/src/cmp-demo/schema.json +0 -15
- package/projects/schematics/src/collection.json +0 -17
- package/projects/schematics/src/component/files/root/ng-package.json +0 -6
- package/projects/schematics/src/component/files/src/onemrva-mat-__name__.component.html +0 -4
- package/projects/schematics/src/component/schema.json +0 -11
- package/projects/schematics/src/demo/files/demo/demo-__name__.component.html +0 -2
- package/projects/schematics/src/demo/files/demo/readme.md +0 -26
- package/projects/schematics/src/demo/schema.json +0 -15
- package/projects/schematics/tsconfig.json +0 -24
- package/projects/test/.nycrc +0 -5
- package/projects/test/cypress/coverage.webpack.ts +0 -20
- package/projects/test/cypress/cucumber-json/basictest.cucumber.json +0 -402
- package/projects/test/cypress/fixtures/example.json +0 -5
- package/projects/test/cypress/integration/basictest.feature +0 -53
- package/projects/test/cypress/integration/common/basicTestSteps.ts +0 -54
- package/projects/test/cypress/plugins/index.ts +0 -13
- package/projects/test/cypress/support/commands.ts +0 -44
- package/projects/test/cypress/support/e2e.ts +0 -20
- package/projects/test/cypress/tsconfig.json +0 -10
- package/projects/test/cypress/videos/basictest.feature.mp4 +0 -0
- package/projects/test/karma.conf.js +0 -44
- package/projects/test/src/app/app-routing.module.ts +0 -14
- package/projects/test/src/app/app.component.html +0 -14
- package/projects/test/src/app/app.component.spec.ts +0 -35
- package/projects/test/src/app/app.component.ts +0 -51
- package/projects/test/src/app/app.module.ts +0 -103
- package/projects/test/src/app/demos/avatar/demo-avatar.component.html +0 -77
- package/projects/test/src/app/demos/avatar/demo-avatar.component.scss +0 -4
- package/projects/test/src/app/demos/avatar/demo-avatar.component.ts +0 -13
- package/projects/test/src/app/demos/badge/demo-badge.component.html +0 -389
- package/projects/test/src/app/demos/badge/demo-badge.component.scss +0 -4
- package/projects/test/src/app/demos/badge/demo-badge.component.ts +0 -22
- package/projects/test/src/app/demos/badge/readme.md +0 -30
- package/projects/test/src/app/demos/breadcrumb/demo-breadcrumb.component.html +0 -20
- package/projects/test/src/app/demos/breadcrumb/demo-breadcrumb.component.ts +0 -7
- package/projects/test/src/app/demos/breadcrumb/demo-breadcrumb.module.ts +0 -89
- package/projects/test/src/app/demos/breadcrumb/readme.md +0 -29
- package/projects/test/src/app/demos/datepicker/demo-datepicker.component.html +0 -10
- package/projects/test/src/app/demos/datepicker/demo-datepicker.component.scss +0 -5
- package/projects/test/src/app/demos/datepicker/demo-datepicker.component.ts +0 -12
- package/projects/test/src/app/demos/datepicker/demo-datepicker.module.ts +0 -43
- package/projects/test/src/app/demos/datepicker/readme.md +0 -36
- package/projects/test/src/app/demos/file-upload/demo-file-upload.component.html +0 -30
- package/projects/test/src/app/demos/file-upload/demo-file-upload.component.ts +0 -132
- package/projects/test/src/app/demos/file-upload/demo-file-upload.service.ts +0 -60
- package/projects/test/src/app/demos/file-upload/readme.md +0 -26
- package/projects/test/src/app/demos/input-bank-account/demo-input-bank-account.component.ts +0 -19
- package/projects/test/src/app/demos/input-bank-account/demo-input-bank-account.module.ts +0 -20
- package/projects/test/src/app/demos/input-country/demo-input-country.component.html +0 -9
- package/projects/test/src/app/demos/input-country/demo-input-country.component.ts +0 -14
- package/projects/test/src/app/demos/input-country/demo-input-country.module.ts +0 -26
- package/projects/test/src/app/demos/input-enterprise-number/demo-input-enterprise-number.component.ts +0 -13
- package/projects/test/src/app/demos/input-enterprise-number/demo-input-enterprise-number.module.ts +0 -20
- package/projects/test/src/app/demos/input-phone/demo-input-phone.component.html +0 -16
- package/projects/test/src/app/demos/input-phone/demo-input-phone.component.ts +0 -16
- package/projects/test/src/app/demos/input-phone/demo-input-phone.module.ts +0 -21
- package/projects/test/src/app/demos/message-box/demo-message-box.component.html +0 -32
- package/projects/test/src/app/demos/message-box/demo-message-box.component.ts +0 -12
- package/projects/test/src/app/demos/message-box/readme.md +0 -26
- package/projects/test/src/app/demos/multiselect/demo-multiselect.component.html +0 -53
- package/projects/test/src/app/demos/multiselect/demo-multiselect.component.scss +0 -23
- package/projects/test/src/app/demos/multiselect/demo-multiselect.component.ts +0 -53
- package/projects/test/src/app/demos/multiselect/demo-multiselect.module.ts +0 -38
- package/projects/test/src/app/demos/multiselect/readme.md +0 -34
- package/projects/test/src/app/demos/not-found/demo-not-found.component.html +0 -21
- package/projects/test/src/app/demos/not-found/demo-not-found.component.scss +0 -6
- package/projects/test/src/app/demos/not-found/demo-not-found.component.ts +0 -50
- package/projects/test/src/app/demos/not-found/readme.md +0 -44
- package/projects/test/src/app/demos/notification/demo-notification.component.html +0 -5
- package/projects/test/src/app/demos/notification/demo-notification.component.ts +0 -10
- package/projects/test/src/app/demos/paginator/demo-paginator.component.html +0 -35
- package/projects/test/src/app/demos/paginator/demo-paginator.component.ts +0 -25
- package/projects/test/src/app/demos/paginator/readme.md +0 -89
- package/projects/test/src/app/demos/panel/demo-panel.component.html +0 -53
- package/projects/test/src/app/demos/panel/demo-panel.component.scss +0 -3
- package/projects/test/src/app/demos/panel/demo-panel.component.ts +0 -20
- package/projects/test/src/app/demos/panel/readme.md +0 -26
- package/projects/test/src/app/demos/pop-over/demo-pop-over.component.html +0 -130
- package/projects/test/src/app/demos/pop-over/demo-pop-over.component.scss +0 -9
- package/projects/test/src/app/demos/pop-over/demo-pop-over.component.ts +0 -13
- package/projects/test/src/app/demos/pop-over/readme.md +0 -26
- package/projects/test/src/app/demos/progress-bar/demo-progress-bar.component.html +0 -19
- package/projects/test/src/app/demos/progress-bar/demo-progress-bar.component.ts +0 -35
- package/projects/test/src/app/demos/side-menu/demo-side-menu.component.html +0 -5
- package/projects/test/src/app/demos/side-menu/demo-side-menu.component.ts +0 -34
- package/projects/test/src/app/demos/side-menu/readme.md +0 -30
- package/projects/test/src/app/demos/skeleton/demo-skeleton.component.html +0 -119
- package/projects/test/src/app/demos/skeleton/demo-skeleton.component.ts +0 -35
- package/projects/test/src/app/demos/spinner/demo-spinner.component.html +0 -1
- package/projects/test/src/app/demos/spinner/demo-spinner.component.ts +0 -10
- package/projects/test/src/app/demos/spinner/readme.md +0 -24
- package/projects/test/src/app/demos/summary-stepper/demo-summary-stepper.component.html +0 -108
- package/projects/test/src/app/demos/summary-stepper/demo-summary-stepper.component.scss +0 -3
- package/projects/test/src/app/demos/summary-stepper/demo-summary-stepper.component.ts +0 -55
- package/projects/test/src/app/demos/summary-stepper/readme.md +0 -26
- package/projects/test/src/app/demos/table/demo-table-datasource.ts +0 -140
- package/projects/test/src/app/demos/table/demo-table.component.html +0 -41
- package/projects/test/src/app/demos/table/demo-table.component.scss +0 -17
- package/projects/test/src/app/demos/table/demo-table.component.ts +0 -51
- package/projects/test/src/app/demos/table/demo-table.module.ts +0 -45
- package/projects/test/src/app/demos/table/readme.md +0 -27
- package/projects/test/src/app/demos/task-list/demo-task-list.component.html +0 -37
- package/projects/test/src/app/demos/task-list/demo-task-list.component.scss +0 -3
- package/projects/test/src/app/demos/task-list/demo-task-list.component.ts +0 -14
- package/projects/test/src/app/demos/task-list/demo-task-list.module.ts +0 -29
- package/projects/test/src/app/demos/task-list/readme.md +0 -26
- package/projects/test/src/app/demos/timepicker/demo-timepicker.component.html +0 -9
- package/projects/test/src/app/demos/timepicker/demo-timepicker.component.ts +0 -31
- package/projects/test/src/app/demos/timepicker/readme.md +0 -26
- package/projects/test/src/app/demos/toast/demo-toast.component.html +0 -8
- package/projects/test/src/app/demos/toast/demo-toast.component.scss +0 -3
- package/projects/test/src/app/demos/toast/demo-toast.component.ts +0 -61
- package/projects/test/src/app/demos/toast/readme.md +0 -30
- package/projects/test/src/app/demos/toc/demo-toc.component.html +0 -288
- package/projects/test/src/app/demos/toc/demo-toc.component.ts +0 -26
- package/projects/test/src/app/demos/tooltip/demo-tooltip.component.html +0 -73
- package/projects/test/src/app/demos/tooltip/demo-tooltip.component.scss +0 -11
- package/projects/test/src/app/demos/tooltip/demo-tooltip.component.ts +0 -14
- package/projects/test/src/app/home.component.ts +0 -54
- package/projects/test/src/app/material.module.ts +0 -39
- package/projects/test/src/app/onemrva-translate-http-loader.ts +0 -35
- package/projects/test/src/app/routes.ts +0 -198
- package/projects/test/src/assets/i18n/de.json +0 -80
- package/projects/test/src/assets/i18n/en.json +0 -80
- package/projects/test/src/assets/i18n/fr.json +0 -80
- package/projects/test/src/assets/i18n/nl.json +0 -79
- package/projects/test/src/environments/environment.e2e.ts +0 -3
- package/projects/test/src/environments/environment.prod.ts +0 -3
- package/projects/test/src/environments/environment.ts +0 -16
- package/projects/test/src/favicon.ico +0 -0
- package/projects/test/src/index.html +0 -15
- package/projects/test/src/main.ts +0 -12
- package/projects/test/src/styles.scss +0 -22
- package/projects/test/tsconfig.app.json +0 -15
- package/projects/test/tsconfig.spec.json +0 -18
- package/rva.crt +0 -36
- package/tsconfig.json +0 -44
- /package/{projects/test/src/assets → assets}/.gitkeep +0 -0
- /package/{projects/onemrva/design-system/layout → core}/ng-package.json +0 -0
- /package/{projects/onemrva/design-system/layout → layout}/assets/logo_de.svg +0 -0
- /package/{projects/onemrva/design-system/layout → layout}/assets/logo_en.svg +0 -0
- /package/{projects/onemrva/design-system/layout → layout}/assets/logo_fr.svg +0 -0
- /package/{projects/onemrva/design-system/layout → layout}/assets/logo_nl.svg +0 -0
- /package/{projects/onemrva/design-system/layout → layout}/assets/logo_onem_rva.svg +0 -0
- /package/{projects/onemrva/design-system/layout → layout}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-avatar → layout}/ng-package.json +0 -0
- /package/{projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-list.component.html → layout/src/components/layout-drawer-actions/layout-drawer-actions.component.html} +0 -0
- /package/{projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task.component.scss → layout/src/components/layout-drawer-content/layout-drawer-content.component.scss} +0 -0
- /package/{projects/onemrva/design-system/layout → layout}/src/components/layout-footer/layout-footer.component.ts +0 -0
- /package/{projects/onemrva/design-system/layout → layout}/src/components/layout-sidenav-title/layout-sidenav-title.component.ts +0 -0
- /package/{projects/onemrva/design-system/layout → layout}/src/models/onem-language.model.ts +0 -0
- /package/{projects/onemrva/design-system/mat-avatar → mat-avatar}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-skeleton → mat-avatar}/ng-package.json +0 -0
- /package/{projects/onemrva/design-system/mat-avatar → mat-avatar}/src/onemrva-mat-avatar.component.ts +0 -0
- /package/{projects/onemrva/design-system/mat-badge → mat-badge}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-breadcrumb → mat-breadcrumb}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-breadcrumb → mat-breadcrumb}/src/onemrva-mat-breadcrumb.component.html +0 -0
- /package/{projects/onemrva/design-system/mat-breadcrumb → mat-breadcrumb}/src/onemrva-mat-breadcrumb.component.ts +0 -0
- /package/{projects/onemrva/design-system/mat-datepicker-header → mat-datepicker-header}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-file-upload → mat-file-upload}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-file-upload → mat-file-upload}/src/components/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-file-upload → mat-file-upload}/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.html +0 -0
- /package/{projects/onemrva/design-system/mat-file-upload → mat-file-upload}/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.scss +0 -0
- /package/{projects/onemrva/design-system/mat-file-upload → mat-file-upload}/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.ts +0 -0
- /package/{projects/onemrva/design-system/mat-file-upload → mat-file-upload}/src/models/action-config.model.ts +0 -0
- /package/{projects/onemrva/design-system/mat-file-upload → mat-file-upload}/src/onemrva-mat-file-upload.module.ts +0 -0
- /package/{projects/onemrva/design-system/mat-input-bank-account → mat-input-bank-account}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-input-country → mat-input-country}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-timepicker/src/onemrva-mat-timepicker.component.html → mat-input-country/src/onemrva-mat-input-country.component.scss} +0 -0
- /package/{projects/onemrva/design-system/mat-input-enterprise-number → mat-input-enterprise-number}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-input-phone → mat-input-phone}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-message-box → mat-message-box}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-multi-select → mat-multi-select}/index.ts +0 -0
- /package/{projects/test/src/app/app.component.scss → mat-multi-select/src/onemrva-mat-select-counter.component.ts} +0 -0
- /package/{projects/onemrva/design-system/mat-notification → mat-notification}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-paginator → mat-paginator}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-panel → mat-panel}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-panel → mat-panel}/src/onemrva-mat-panel.component.html +0 -0
- /package/{projects/onemrva/design-system/mat-panel → mat-panel}/src/onemrva-mat-panel.component.ts +0 -0
- /package/{projects/onemrva/design-system/mat-pop-over → mat-pop-over}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-pop-over → mat-pop-over}/src/onemrva-mat-pop-over-content.component.ts +0 -0
- /package/{projects/onemrva/design-system/mat-pop-over → mat-pop-over}/src/onemrva-mat-pop-over-trigger.component.ts +0 -0
- /package/{projects/onemrva/design-system/mat-pop-over → mat-pop-over}/src/onemrva-mat-pop-over.component.html +0 -0
- /package/{projects/onemrva/design-system/mat-pop-over → mat-pop-over}/src/onemrva-mat-pop-over.module.ts +0 -0
- /package/{projects/onemrva/design-system/mat-progress-bar → mat-progress-bar}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-progress-bar → mat-progress-bar}/src/onemrva-mat-progress-bar.component.html +0 -0
- /package/{projects/onemrva/design-system/mat-select-search → mat-select-search}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-side-menu → mat-side-menu}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-side-menu → mat-side-menu}/src/onemrva-mat-side-menu.module.ts +0 -0
- /package/{projects/onemrva/design-system/mat-skeleton → mat-skeleton}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-skeleton → mat-skeleton}/src/onemrva-mat-skeleton-enums.ts +0 -0
- /package/{projects/onemrva/design-system/mat-stepper → mat-stepper}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-table-of-content → mat-table-of-content}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-table-of-content → mat-table-of-content}/src/onemrva-mat-toc-anchor.model.ts +0 -0
- /package/{projects/onemrva/design-system/mat-task-list → mat-task-list}/index.ts +0 -0
- /package/{projects/test/src/app/demos/skeleton/demo-skeleton.component.scss → mat-task-list/src/onemrva-mat-task.component.scss} +0 -0
- /package/{projects/onemrva/design-system/mat-timepicker → mat-timepicker}/src/timepicker-dialog/timepicker-dialog.component.html +0 -0
- /package/{projects/onemrva/design-system/mat-timepicker → mat-timepicker}/src/timepicker-dialog/timepicker-dialog.component.scss +0 -0
- /package/{projects/onemrva/design-system/mat-timepicker → mat-timepicker}/src/timepicker-toggle/timepicker-toggle.component.scss +0 -0
- /package/{projects/onemrva/design-system/mat-toast → mat-toast}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-toast → mat-toast}/src/onemrva-mat-toast.module.ts +0 -0
- /package/{projects/onemrva/design-system/mat-tooltip → mat-tooltip}/index.ts +0 -0
- /package/{projects/onemrva/design-system/mat-tooltip → mat-tooltip}/src/onemrva-mat-tooltip.component.scss +0 -0
- /package/{projects/onemrva/design-system/mat-tooltip → mat-tooltip}/src/onemrva-mat-tooltip.component.ts +0 -0
- /package/{projects/onemrva/design-system/mat-tooltip → mat-tooltip}/src/onemrva-mat-tooltip.module.ts +0 -0
- /package/{projects/onemrva/design-system/page-not-found → page-not-found}/assets/404/Arri/303/250re-plan.svg" +0 -0
- /package/{projects/onemrva/design-system/page-not-found → page-not-found}/assets/404/Halo.svg +0 -0
- /package/{projects/onemrva/design-system/page-not-found → page-not-found}/assets/404/Ombre.svg +0 -0
- /package/{projects/onemrva/design-system/page-not-found → page-not-found}/assets/404/Page.svg +0 -0
- /package/{projects/onemrva/design-system/page-not-found → page-not-found}/assets/404/Page2.svg +0 -0
- /package/{projects/onemrva/design-system/page-not-found → page-not-found}/assets/404/Soucoupe.svg +0 -0
- /package/{projects/onemrva/design-system/page-not-found → page-not-found}/assets/404/Yeux.svg +0 -0
- /package/{projects/onemrva/design-system/page-not-found → page-not-found}/assets/404/shape.svg +0 -0
- /package/{projects/onemrva/design-system/page-not-found → page-not-found}/index.ts +0 -0
- /package/{projects/onemrva/design-system/page-not-found → page-not-found}/src/page-not-found-invader.component.scss +0 -0
- /package/{projects/onemrva/design-system/src → src}/public-api.ts +0 -0
- /package/{projects/onemrva/design-system/tsconfig.lib.prod.json → tsconfig.lib.prod.json} +0 -0
- /package/{projects/onemrva/design-system/utils → utils}/index.ts +0 -0
- /package/{projects/onemrva/design-system/utils → utils}/src/enums/color.enum.ts +0 -0
- /package/{projects/onemrva/design-system/utils → utils}/src/enums/index.ts +0 -0
- /package/{projects/onemrva/design-system/utils → utils}/src/enums/size.enum.ts +0 -0
package/.eslintrc.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../.eslintrc.json",
|
|
3
|
+
"ignorePatterns": ["!**/*"],
|
|
4
|
+
"overrides": [
|
|
5
|
+
{
|
|
6
|
+
"plugins": ["unused-imports"],
|
|
7
|
+
"files": ["*.ts"],
|
|
8
|
+
"rules": {
|
|
9
|
+
"unused-imports/no-unused-imports": "error",
|
|
10
|
+
"@angular-eslint/directive-selector": [
|
|
11
|
+
"off",
|
|
12
|
+
{
|
|
13
|
+
"type": "attribute",
|
|
14
|
+
"prefix": "lib",
|
|
15
|
+
"style": "camelCase"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"@angular-eslint/component-selector": [
|
|
19
|
+
"off",
|
|
20
|
+
{
|
|
21
|
+
"type": "element",
|
|
22
|
+
"prefix": "lib",
|
|
23
|
+
"style": "kebab-case"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"files": ["*.html"],
|
|
30
|
+
"rules": {}
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
package/README.md
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ONEMRVA - Design System
|
|
2
2
|
|
|
3
|
-
This
|
|
3
|
+
This design system (DS) is part of
|
|
4
|
+
the ONEM architecture to ensure smooth
|
|
5
|
+
building of applications on the new stackk
|
|
4
6
|
|
|
5
|
-
##
|
|
7
|
+
## Versioning
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
In our goal to create a smoother release process experience
|
|
10
|
+
you will notice our versioning has changed
|
|
11
|
+
we will now be working with beta versions to continuously deploy.
|
|
8
12
|
|
|
9
|
-
|
|
13
|
+
### Major
|
|
10
14
|
|
|
11
|
-
|
|
15
|
+
The major will always be aligned with the Angular major version.
|
|
12
16
|
|
|
13
|
-
|
|
17
|
+
### Minor
|
|
14
18
|
|
|
15
|
-
|
|
19
|
+
This is where we will upgrade functionalities
|
|
16
20
|
|
|
17
|
-
|
|
21
|
+
### Patch
|
|
18
22
|
|
|
19
|
-
|
|
23
|
+
This is where we will implement bugfixes
|
|
20
24
|
|
|
21
|
-
##
|
|
25
|
+
## Support
|
|
22
26
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
## Further help
|
|
26
|
-
|
|
27
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
27
|
+
For support questions, you can create jira tickets now.
|
|
28
|
+
If you need access to our design system board, send us a message.
|
package/_index.scss
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
@forward './mat-avatar/src/onemrva-mat-avatar.component' show avatar;
|
|
5
|
+
@forward './layout/src/components/layout/layout-mixin.component' show layout;
|
|
6
|
+
@forward './mat-badge/src/onemrva-mat-badge.component' show badge;
|
|
7
|
+
@forward './mat-breadcrumb/src/onemrva-mat-breadcrumb.component' show breadcrumb;
|
|
8
|
+
@forward './mat-datepicker-header/src/onemrva-mat-datepicker-header.component'
|
|
9
|
+
show datepickerHeader;
|
|
10
|
+
@forward './layout/src/components/layout/layout-mixin.component' show layout;
|
|
11
|
+
@forward './mat-message-box/src/onemrva-mat-message-box.component' show
|
|
12
|
+
messageBox;
|
|
13
|
+
@forward './mat-multi-select/src/onemrva-mat-multi-select.component' show
|
|
14
|
+
multiselect;
|
|
15
|
+
@forward './mat-notification/src/onemrva-mat-notification.component' show
|
|
16
|
+
notification;
|
|
17
|
+
@forward './mat-paginator/src/onemrva-mat-paginator.component' show paginator;
|
|
18
|
+
@forward './mat-panel/src/onemrva-mat-panel.component' show panel;
|
|
19
|
+
@forward './mat-side-menu/src/onemrva-mat-side-menu.component' show sideMenu;
|
|
20
|
+
@forward './mat-spinner/src/onemrva-mat-spinner.component' show spinner;
|
|
21
|
+
@forward './mat-sticker/src/onemrva-mat-sticker.component' show sticker;
|
|
22
|
+
@forward './mat-selectable-box/src/onemrva-mat-selectable-box.component' show
|
|
23
|
+
selectablebox;
|
|
24
|
+
@forward './mat-carousel/src/onemrva-mat-carousel.component' show carousel;
|
|
25
|
+
@forward './mat-toast/src/onemrva-mat-toast.component' show toast;
|
|
26
|
+
@forward './page-not-found/src/page-not-found-mixin.component' show pageNotFound;
|
|
27
|
+
@forward './mat-progress-bar/src/onemrva-mat-progress-bar-mixin.component' show
|
|
28
|
+
progressBar;
|
|
29
|
+
@forward './mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component'
|
|
30
|
+
show fileUpload;
|
|
31
|
+
@forward './mat-skeleton/src/onemrva-mat-skeleton.component' show skeleton;
|
|
32
|
+
@forward './mat-task-list/src/onemrva-mat-task-list.component' show taskList;
|
|
33
|
+
@forward './mat-table-of-content/src/onemrva-mat-table-of-content.component'
|
|
34
|
+
show toc;
|
package/_utils.scss
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
|
|
4
|
+
@function palette($theme, $palette, $hue: default, $opacity: null) {
|
|
5
|
+
$theme-palette: map.get(
|
|
6
|
+
(
|
|
7
|
+
primary: map.get($theme, 'primary'),
|
|
8
|
+
warn: map.get($theme, 'warn'),
|
|
9
|
+
accent: map.get($theme, 'accent'),
|
|
10
|
+
grayscale: map.get($theme, 'grayscale'),
|
|
11
|
+
info: map.get($theme, 'info'),
|
|
12
|
+
success: map.get($theme, 'success'),
|
|
13
|
+
error: map.get($theme, 'error'),
|
|
14
|
+
),
|
|
15
|
+
$palette
|
|
16
|
+
);
|
|
17
|
+
@return mat.get-color-from-palette($theme-palette, $hue, $opacity);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@function fontFamily($config, $level) {
|
|
21
|
+
$typo: map-get($config, 'typography');
|
|
22
|
+
$fs: map-get($typo, $level);
|
|
23
|
+
@return map-get($fs, 'font-family');
|
|
24
|
+
}
|
|
25
|
+
@function gradient($theme) {
|
|
26
|
+
@return map.get($theme, 'gradient');
|
|
27
|
+
}
|
|
28
|
+
@function breakpoints($theme) {
|
|
29
|
+
@return map.get($theme, 'breakpoints');
|
|
30
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"demo.title": "Design System",
|
|
3
|
+
"404": {
|
|
4
|
+
"oops": "oops",
|
|
5
|
+
"title": "Fehler 404 - Seite nicht gefunden!",
|
|
6
|
+
"body": "Es tut uns leid, die von Ihnen angeforderte Seite wurde von Aliens gefangen genommen.",
|
|
7
|
+
"actions": "Aber Sie können trotzdem",
|
|
8
|
+
"contact.us": "Kontaktieren Sie uns",
|
|
9
|
+
"go.back": "Gehen Sie zurück nach Hause",
|
|
10
|
+
"extra": "oder suchen Sie, was Sie suchen",
|
|
11
|
+
"fliegende.untertasse": "Fliegende Untertasse",
|
|
12
|
+
"traktor.strahl": "Traktorstrahl",
|
|
13
|
+
"erschreckte.seite": "Erschrockene Seite",
|
|
14
|
+
"schatten": "Schatten",
|
|
15
|
+
"search.input.label": "Suche"
|
|
16
|
+
},
|
|
17
|
+
"paginator": {
|
|
18
|
+
"Previous": "< Previous",
|
|
19
|
+
"Next": "Next >",
|
|
20
|
+
"records.per.page": "Elemente pro Seite",
|
|
21
|
+
"outOf": "out of"
|
|
22
|
+
},
|
|
23
|
+
"file": {
|
|
24
|
+
"upload": {
|
|
25
|
+
"drag.and.drop": "Ziehen Sie Ihre Dateien hierher und legen Sie sie ab",
|
|
26
|
+
"browse.for.file": "Nach Dateien suchen",
|
|
27
|
+
"type.not.supported": "Dateityp wird nicht unterstützt",
|
|
28
|
+
"too.big": "Die Datei hat die maximale Größe von überschritten",
|
|
29
|
+
"maximum": "Maximum",
|
|
30
|
+
"delete": "Löschen",
|
|
31
|
+
"error.occurred": "Es ist ein Fehler aufgetreten, bitte versuchen Sie es erneut",
|
|
32
|
+
"confirm.delete": "Diese Datei löschen?",
|
|
33
|
+
"are.you.sure": "Möchten Sie die Datei wirklich löschen",
|
|
34
|
+
"remove": "Löschen",
|
|
35
|
+
"cancel": "Abbrechen",
|
|
36
|
+
"retry": "Erneut versuchen",
|
|
37
|
+
"or": "oder"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"select": {
|
|
41
|
+
"select.all": "Select All",
|
|
42
|
+
"deselect.all": "Deselect All",
|
|
43
|
+
"search": {
|
|
44
|
+
"filter": "Forschen",
|
|
45
|
+
"notFound": "Kein Ergebnis"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"layout": {
|
|
49
|
+
"profile": "Profile",
|
|
50
|
+
"login": "Login",
|
|
51
|
+
"logout": "Logout",
|
|
52
|
+
"Menu": "Menu",
|
|
53
|
+
"interface": {
|
|
54
|
+
"trusted": "Schnittstelle für vertrauenswürdige Personen",
|
|
55
|
+
"collaborator": "Mitarbeiterschnittstelle"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"thermo": {
|
|
59
|
+
"title": "Thermodynamics",
|
|
60
|
+
"introduction": "Introduction",
|
|
61
|
+
"history": "History",
|
|
62
|
+
"etymology": "Etymology",
|
|
63
|
+
"branches": "Branches",
|
|
64
|
+
"classicalThermodynamics": "Classical thermodynamics",
|
|
65
|
+
"statisticalThermodynamics": "Statistical thermodynamics",
|
|
66
|
+
"chemicalThermodynamics": "Chemical thermodynamics",
|
|
67
|
+
"equilibriumThermodynamics": "Equilibrium thermodynamics",
|
|
68
|
+
"nonEquilibriumThermodynamics": "Non-equilibrium thermodynamics"
|
|
69
|
+
},
|
|
70
|
+
"input": {
|
|
71
|
+
"phone": {
|
|
72
|
+
"required": "Field required",
|
|
73
|
+
"invalid": "Field invalid",
|
|
74
|
+
"notFound": "Not found",
|
|
75
|
+
"search": "Search",
|
|
76
|
+
"label": "Phone number",
|
|
77
|
+
"hint": "Start with 0 for belgian phone numbers"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"copied.to.clipboard": "In Zwischenablage kopiert",
|
|
81
|
+
"carousel": {
|
|
82
|
+
"next": "Nächste",
|
|
83
|
+
"previous": "Vorherige",
|
|
84
|
+
"goto": "Gehe zu"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"demo.title": "Design System",
|
|
3
|
+
"404": {
|
|
4
|
+
"oops": "Oops",
|
|
5
|
+
"title": "Error 404 - Page not found!",
|
|
6
|
+
"body": "We are sorry, the page you requested has been captured by aliens.",
|
|
7
|
+
"actions": "But you still can",
|
|
8
|
+
"contact.us": "Contact us",
|
|
9
|
+
"go.back": "Go back home",
|
|
10
|
+
"extra": "or search what you are looking for",
|
|
11
|
+
"flying.saucer": "Flying saucer",
|
|
12
|
+
"tractor.beam": "Tractor beam",
|
|
13
|
+
"scared.page": "Scared page",
|
|
14
|
+
"shadow": "Shadow",
|
|
15
|
+
"search.input.label": "Search"
|
|
16
|
+
},
|
|
17
|
+
"paginator": {
|
|
18
|
+
"Previous": "< Previous",
|
|
19
|
+
"Next": "Next >",
|
|
20
|
+
"records.per.page": "Elements per page",
|
|
21
|
+
"outOf": "out of"
|
|
22
|
+
},
|
|
23
|
+
"file": {
|
|
24
|
+
"upload": {
|
|
25
|
+
"drag.and.drop": "Drag and drop your files here",
|
|
26
|
+
"browse.for.file": "Browse for files",
|
|
27
|
+
"type.not.supported": "File type not supported",
|
|
28
|
+
"too.big": "The file exceeded the maximum size of",
|
|
29
|
+
"maximum": "Maximum",
|
|
30
|
+
"delete": "Delete",
|
|
31
|
+
"error.occurred": "An error occurred, please try again",
|
|
32
|
+
"confirm.delete": "Delete file ?",
|
|
33
|
+
"are.you.sure": "Are you sure you want to delete the file",
|
|
34
|
+
"remove": "Remove",
|
|
35
|
+
"cancel": "Cancel",
|
|
36
|
+
"retry": "Retry",
|
|
37
|
+
"or": "or"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"select": {
|
|
41
|
+
"select.all": "Select All",
|
|
42
|
+
"deselect.all": "Deselect All",
|
|
43
|
+
"search": {
|
|
44
|
+
"filter": "Search",
|
|
45
|
+
"notFound": "Not found"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"layout": {
|
|
49
|
+
"profile": "Profile",
|
|
50
|
+
"login": "Login",
|
|
51
|
+
"logout": "Logout",
|
|
52
|
+
"Menu": "Menu",
|
|
53
|
+
"interface": {
|
|
54
|
+
"trusted": "Trusted person interface",
|
|
55
|
+
"collaborator": "Collaborator interface"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"thermo": {
|
|
59
|
+
"title": "Thermodynamics",
|
|
60
|
+
"introduction": "Introduction",
|
|
61
|
+
"history": "History",
|
|
62
|
+
"etymology": "Etymology",
|
|
63
|
+
"branches": "Branches",
|
|
64
|
+
"classicalThermodynamics": "Classical thermodynamics",
|
|
65
|
+
"statisticalThermodynamics": "Statistical thermodynamics",
|
|
66
|
+
"chemicalThermodynamics": "Chemical thermodynamics",
|
|
67
|
+
"equilibriumThermodynamics": "Equilibrium thermodynamics",
|
|
68
|
+
"nonEquilibriumThermodynamics": "Non-equilibrium thermodynamics"
|
|
69
|
+
},
|
|
70
|
+
"input": {
|
|
71
|
+
"phone": {
|
|
72
|
+
"required": "Field required",
|
|
73
|
+
"invalid": "Field invalid",
|
|
74
|
+
"notFound": "Not found",
|
|
75
|
+
"search": "Search",
|
|
76
|
+
"label": "Phone number",
|
|
77
|
+
"hint": "Start with 0 for belgian phone numbers"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"copied.to.clipboard": "Copied to clipboard",
|
|
81
|
+
"carousel": {
|
|
82
|
+
"next": "Next",
|
|
83
|
+
"previous": "Previous",
|
|
84
|
+
"goto": "Go to"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"demo.title": "Design System",
|
|
3
|
+
"404": {
|
|
4
|
+
"oops": "Oups",
|
|
5
|
+
"title": "Erreur 404 - Page introuvable!",
|
|
6
|
+
"body": "Nous sommes désolés, la page demandée a été capturée par des extra-terrestres",
|
|
7
|
+
"actions": "Mais vous pouvez toujours",
|
|
8
|
+
"contact.us": "Nous contacter",
|
|
9
|
+
"go.back": "Retourner à l'accueil",
|
|
10
|
+
"extra": "Ou voulez-vous approfondir votre recherche ?",
|
|
11
|
+
"flying.saucer": "Soucoupe volante",
|
|
12
|
+
"tractor.beam": "Rayon tracteur",
|
|
13
|
+
"scared.page": "Une page effrayée",
|
|
14
|
+
"shadow": "Ombre",
|
|
15
|
+
"search.input.label": "Recherche"
|
|
16
|
+
},
|
|
17
|
+
"paginator": {
|
|
18
|
+
"Previous": "< Précédent",
|
|
19
|
+
"Next": "Suivant >",
|
|
20
|
+
"records.per.page": "Eléments par page",
|
|
21
|
+
"outOf": "de"
|
|
22
|
+
},
|
|
23
|
+
"file": {
|
|
24
|
+
"upload": {
|
|
25
|
+
"drag.and.drop": "Déposez vos fichiers ici",
|
|
26
|
+
"browse.for.file": "Parcourir les fichiers",
|
|
27
|
+
"type.not.supported": "Type de fichier non supporté",
|
|
28
|
+
"too.big": "Le fichier dépasse la limit de",
|
|
29
|
+
"maximum": "Maximum",
|
|
30
|
+
"delete": "Effacer",
|
|
31
|
+
"error.occurred": "Une erreur est survenue, veuillez recommencer",
|
|
32
|
+
"confirm.delete": "Supprimer le fichier ?",
|
|
33
|
+
"are.you.sure": "Etes-vous sûr de vouloir supprimer le fichier",
|
|
34
|
+
"remove": "Retirer",
|
|
35
|
+
"cancel": "Annuler",
|
|
36
|
+
"retry": "Recommencer",
|
|
37
|
+
"or": "ou"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"select": {
|
|
41
|
+
"select.all": "Tout sélectionner",
|
|
42
|
+
"deselect.all": "Tout désélectionner",
|
|
43
|
+
"search": {
|
|
44
|
+
"filter": "Rechercher",
|
|
45
|
+
"notFound": "Pas de résultat"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"layout": {
|
|
49
|
+
"profile": "Profile",
|
|
50
|
+
"login": "Connexion",
|
|
51
|
+
"logout": "Déconnexion",
|
|
52
|
+
"Menu": "Menu",
|
|
53
|
+
"interface": {
|
|
54
|
+
"trusted": "Interface personne de confiance",
|
|
55
|
+
"collaborator": "Interface collaborateur"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"thermo": {
|
|
59
|
+
"title": "Thermodynamics",
|
|
60
|
+
"introduction": "Introduction",
|
|
61
|
+
"history": "History",
|
|
62
|
+
"etymology": "Etymology",
|
|
63
|
+
"branches": "Branches",
|
|
64
|
+
"classicalThermodynamics": "Classical thermodynamics",
|
|
65
|
+
"statisticalThermodynamics": "Statistical thermodynamics",
|
|
66
|
+
"chemicalThermodynamics": "Chemical thermodynamics",
|
|
67
|
+
"equilibriumThermodynamics": "Equilibrium thermodynamics",
|
|
68
|
+
"nonEquilibriumThermodynamics": "Non-equilibrium thermodynamics"
|
|
69
|
+
},
|
|
70
|
+
"input": {
|
|
71
|
+
"phone": {
|
|
72
|
+
"required": "Champs requis",
|
|
73
|
+
"invalid": "Champs invalide",
|
|
74
|
+
"notFound": "Introuvable",
|
|
75
|
+
"search": "Rechercher",
|
|
76
|
+
"label": "Téléphone",
|
|
77
|
+
"hint": "Start with 0 for belgian phone numbers"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"copied.to.clipboard": "Copié dans le presse-papier",
|
|
81
|
+
"carousel": {
|
|
82
|
+
"next": "Suivant",
|
|
83
|
+
"previous": "Précédent",
|
|
84
|
+
"goto": "Aller à"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"demo.title": "Ontwerpsysteem",
|
|
3
|
+
"404": {
|
|
4
|
+
"oops": "Oops",
|
|
5
|
+
"title": "Fout 404 - Pagina niet gevonden!",
|
|
6
|
+
"body": "Het spijt ons, de door u opgevraagde pagina is buitgemaakt door aliens.",
|
|
7
|
+
"actions": "Maar u kunt nog steeds",
|
|
8
|
+
"contact.ons": "Neem contact met ons op.",
|
|
9
|
+
"go.back": "Ga terug naar huis",
|
|
10
|
+
"extra": "of zoek wat u zoekt.",
|
|
11
|
+
"flying.saucer": "Vliegende schotel",
|
|
12
|
+
"tractor.beam": "Tractor beam",
|
|
13
|
+
"scared.page": "Scared page",
|
|
14
|
+
"shadow": "schaduw",
|
|
15
|
+
"search.input.label": "Search"
|
|
16
|
+
},
|
|
17
|
+
"paginator": {
|
|
18
|
+
"Previous": "< Vorig",
|
|
19
|
+
"Next": "Next >",
|
|
20
|
+
"records.per.page": "Elementen per pagina",
|
|
21
|
+
"outOf": "out of"
|
|
22
|
+
},
|
|
23
|
+
"file": {
|
|
24
|
+
"upload": {
|
|
25
|
+
"drag.and.drop": "Sleep uw bestanden hierheen",
|
|
26
|
+
"browse.for.file": "Bladeren naar bestanden",
|
|
27
|
+
"type.not.supported": "Bestandstype niet ondersteund",
|
|
28
|
+
"too.big": "Het bestand overschreed de maximale grootte van",
|
|
29
|
+
"maximum": "Maximum",
|
|
30
|
+
"delete": "Delete",
|
|
31
|
+
"error.occurred": "Er is een fout opgetreden, probeer het opnieuw",
|
|
32
|
+
"confirm.delete": "Dit bestand verwijderen?",
|
|
33
|
+
"are.you.sure": "Weet u zeker dat u het bestand wilt verwijderen",
|
|
34
|
+
"remove": "Verwijderen",
|
|
35
|
+
"cancel": "Annuleren",
|
|
36
|
+
"retry": "Opnieuw proberen",
|
|
37
|
+
"of": "of"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"select": {
|
|
41
|
+
"select.all": "Select All",
|
|
42
|
+
"deselect.all": "Deselect All",
|
|
43
|
+
"search": {
|
|
44
|
+
"filter": "Zoeken",
|
|
45
|
+
"notFound": "Geen resultaten"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"layout": {
|
|
49
|
+
"profile": "Profile",
|
|
50
|
+
"login": "Login",
|
|
51
|
+
"logout": "Logout",
|
|
52
|
+
"interface": {
|
|
53
|
+
"trusted": "Vertrouwde persoon-interface",
|
|
54
|
+
"collaborator": "Werknemer interface"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"thermo": {
|
|
58
|
+
"title": "Thermodynamics",
|
|
59
|
+
"introduction": "Introduction",
|
|
60
|
+
"history": "History",
|
|
61
|
+
"etymology": "Etymology",
|
|
62
|
+
"branches": "Branches",
|
|
63
|
+
"classicalThermodynamics": "Classical thermodynamics",
|
|
64
|
+
"statisticalThermodynamics": "Statistical thermodynamics",
|
|
65
|
+
"chemicalThermodynamics": "Chemical thermodynamics",
|
|
66
|
+
"equilibriumThermodynamics": "Equilibrium thermodynamics",
|
|
67
|
+
"nonEquilibriumThermodynamics": "Non-equilibrium thermodynamics"
|
|
68
|
+
},
|
|
69
|
+
"input": {
|
|
70
|
+
"phone": {
|
|
71
|
+
"required": "Field required",
|
|
72
|
+
"invalid": "Field invalid",
|
|
73
|
+
"notFound": "Not found",
|
|
74
|
+
"search": "Search",
|
|
75
|
+
"label": "Phone number",
|
|
76
|
+
"hint": "Start with 0 for belgian phone numbers"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"copied.to.clipboard": "Naar klembord gekopieerd",
|
|
80
|
+
"carousel": {
|
|
81
|
+
"next": "Volgende",
|
|
82
|
+
"previous": "Vorige",
|
|
83
|
+
"goto": "Ga naar"
|
|
84
|
+
}
|
|
85
|
+
}
|
package/core/index.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ErrorHandler, NgModule } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
import { MatExpansionModule } from '@angular/material/expansion';
|
|
4
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
5
|
+
import {
|
|
6
|
+
MatSnackBarModule,
|
|
7
|
+
MAT_SNACK_BAR_DEFAULT_OPTIONS,
|
|
8
|
+
} from '@angular/material/snack-bar';
|
|
9
|
+
import { OnemrvaErrorHandler } from './services';
|
|
10
|
+
import { CommonModule } from '@angular/common';
|
|
11
|
+
|
|
12
|
+
@NgModule({
|
|
13
|
+
imports: [CommonModule, MatExpansionModule, MatIconModule, MatSnackBarModule],
|
|
14
|
+
exports: [MatSnackBarModule],
|
|
15
|
+
providers: [
|
|
16
|
+
{
|
|
17
|
+
provide: ErrorHandler,
|
|
18
|
+
useClass: OnemrvaErrorHandler,
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
provide: MAT_SNACK_BAR_DEFAULT_OPTIONS,
|
|
22
|
+
useValue: { horizontalPosition: 'right' },
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
})
|
|
26
|
+
export class OnemrvaCoreModule {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//export * from "./translate.module";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// import {Injectable} from "@angular/core";
|
|
2
|
+
// import {TranslateLoader} from "@ngx-translate/core";
|
|
3
|
+
// import {HttpClient} from "@angular/common/http";
|
|
4
|
+
// import {forkJoin, Observable, of} from "rxjs";
|
|
5
|
+
// import {catchError, map} from "rxjs/operators";
|
|
6
|
+
//
|
|
7
|
+
// @Injectable()
|
|
8
|
+
// export class OnemrvaTranslateHttpLoader implements TranslateLoader {
|
|
9
|
+
//
|
|
10
|
+
// constructor(
|
|
11
|
+
// private http: HttpClient,
|
|
12
|
+
// ) {
|
|
13
|
+
//
|
|
14
|
+
// }
|
|
15
|
+
//
|
|
16
|
+
// /**
|
|
17
|
+
// * Gets the translations from the server
|
|
18
|
+
// */
|
|
19
|
+
// public getTranslation(lang: string): Observable<Object> {
|
|
20
|
+
//
|
|
21
|
+
// const observables = [
|
|
22
|
+
// this.http.get(`${environment.translate.prefix}${lang}${environment.translate.suffix}`).pipe(catchError(() => of(null))),
|
|
23
|
+
// ...environment.translate.modules.map((m) =>
|
|
24
|
+
// this.http.get(`${environment.translate.prefix}${m}/${lang}${environment.translate.suffix}`).pipe(catchError(() => of(null)))
|
|
25
|
+
// ),
|
|
26
|
+
// ];
|
|
27
|
+
//
|
|
28
|
+
// return forkJoin(observables).pipe(
|
|
29
|
+
// map((all) => {
|
|
30
|
+
// return (all.filter((v) => !!v) as Object[]).reduce((s, c) => ({ ...s, ...c }), {});
|
|
31
|
+
// })
|
|
32
|
+
// );
|
|
33
|
+
// }
|
|
34
|
+
// }
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// import { HttpClient } from '@angular/common/http';
|
|
2
|
+
// import {APP_INITIALIZER, NgModule} from '@angular/core';
|
|
3
|
+
// import { TranslateLoader, TranslateModule, TranslateService } from '@ngx-translate/core';
|
|
4
|
+
// import { environment } from "@env/environment";
|
|
5
|
+
// import {OnemrvaTranslateHttpLoader} from "./translate.loader";
|
|
6
|
+
//
|
|
7
|
+
// @NgModule({
|
|
8
|
+
// imports: [
|
|
9
|
+
// TranslateModule.forRoot({
|
|
10
|
+
// defaultLanguage: environment.translate.language,
|
|
11
|
+
// loader: {
|
|
12
|
+
// provide: TranslateLoader,
|
|
13
|
+
// useFactory: (http: HttpClient) => {
|
|
14
|
+
// return new OnemrvaTranslateHttpLoader(http);
|
|
15
|
+
// },
|
|
16
|
+
// deps: [HttpClient],
|
|
17
|
+
// },
|
|
18
|
+
// }),
|
|
19
|
+
// ],
|
|
20
|
+
// providers: [
|
|
21
|
+
// {
|
|
22
|
+
// provide: APP_INITIALIZER,
|
|
23
|
+
// deps: [TranslateService],
|
|
24
|
+
// useFactory: (translateService: TranslateService ) => {
|
|
25
|
+
// return async () => {
|
|
26
|
+
// const languages = environment.translate.languages.map(v => v.code);
|
|
27
|
+
// translateService.addLangs(languages);
|
|
28
|
+
// translateService.setDefaultLang(environment.translate.language);
|
|
29
|
+
//
|
|
30
|
+
// // getting language from localstorage
|
|
31
|
+
// let language:string|null = localStorage.getItem('language');
|
|
32
|
+
// // not set or incorrectly set ?
|
|
33
|
+
// if (language === null || languages.indexOf(language) < 0) {
|
|
34
|
+
// // getting language from browser
|
|
35
|
+
// if (languages.indexOf(navigator.language) >= 0 ) {
|
|
36
|
+
// language = navigator.language;
|
|
37
|
+
// } else {
|
|
38
|
+
// // getting language from one of the browser's languages
|
|
39
|
+
// for (let lng of navigator.languages) {
|
|
40
|
+
// if (languages.indexOf(lng) >= 0 ) {
|
|
41
|
+
// language = lng;
|
|
42
|
+
// break;
|
|
43
|
+
// }
|
|
44
|
+
// }
|
|
45
|
+
// // getting default language
|
|
46
|
+
// if (language === null || languages.indexOf(language) < 0) {
|
|
47
|
+
// language = environment.translate.language;
|
|
48
|
+
// }
|
|
49
|
+
// }
|
|
50
|
+
// }
|
|
51
|
+
// localStorage.setItem('language', language);
|
|
52
|
+
// await translateService.use(language).toPromise();
|
|
53
|
+
//
|
|
54
|
+
// translateService.onLangChange.subscribe((value) => {
|
|
55
|
+
// localStorage.setItem('language', value.lang);
|
|
56
|
+
// });
|
|
57
|
+
// };
|
|
58
|
+
// },
|
|
59
|
+
// multi: true,
|
|
60
|
+
// }
|
|
61
|
+
// ],
|
|
62
|
+
// exports: [
|
|
63
|
+
// TranslateModule
|
|
64
|
+
// ]
|
|
65
|
+
// })
|
|
66
|
+
// export class OnemrvaTranslateModule { }
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ErrorHandler, Injectable } from '@angular/core';
|
|
2
|
+
import {
|
|
3
|
+
MatSnackBar,
|
|
4
|
+
MatSnackBarHorizontalPosition,
|
|
5
|
+
MatSnackBarVerticalPosition,
|
|
6
|
+
} from '@angular/material/snack-bar';
|
|
7
|
+
|
|
8
|
+
@Injectable()
|
|
9
|
+
export class OnemrvaErrorHandler implements ErrorHandler {
|
|
10
|
+
constructor(private _snackBar: MatSnackBar) {}
|
|
11
|
+
horizontalPosition: MatSnackBarHorizontalPosition = 'end';
|
|
12
|
+
verticalPosition: MatSnackBarVerticalPosition = 'bottom';
|
|
13
|
+
|
|
14
|
+
handleError(error: any) {
|
|
15
|
+
console.error(error);
|
|
16
|
+
//alert("Error: " + error.message);
|
|
17
|
+
this._snackBar.open(`Error: ${error.message}`, '', {
|
|
18
|
+
duration: 5000,
|
|
19
|
+
panelClass: 'mat-primary',
|
|
20
|
+
horizontalPosition: this.horizontalPosition,
|
|
21
|
+
verticalPosition: this.verticalPosition,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
}
|