@onemrvapublic/design-system 0.0.0
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/.dockerignore +4 -0
- package/.editorconfig +16 -0
- package/.github/workflows/npm-publish.yml +34 -0
- package/README.md +27 -0
- package/angular.json +214 -0
- package/build.sh +108 -0
- package/cypress.config.ts +40 -0
- package/index.html +10 -0
- package/npm-publish.sh +11 -0
- package/package.json +89 -0
- package/projects/onemrva/design-system/README.md +24 -0
- package/projects/onemrva/design-system/_index.scss +29 -0
- package/projects/onemrva/design-system/_utils.scss +25 -0
- package/projects/onemrva/design-system/layout/assets/logo_de.svg +3 -0
- package/projects/onemrva/design-system/layout/assets/logo_en.svg +3 -0
- package/projects/onemrva/design-system/layout/assets/logo_fr.svg +3 -0
- package/projects/onemrva/design-system/layout/assets/logo_nl.svg +3 -0
- package/projects/onemrva/design-system/layout/assets/logo_onem_rva.svg +32 -0
- package/projects/onemrva/design-system/layout/index.ts +7 -0
- package/projects/onemrva/design-system/layout/ng-package.json +6 -0
- package/projects/onemrva/design-system/layout/src/components/index.ts +31 -0
- package/projects/onemrva/design-system/layout/src/components/layout/_layout-mixin.component.scss +159 -0
- package/projects/onemrva/design-system/layout/src/components/layout/layout.component.html +194 -0
- package/projects/onemrva/design-system/layout/src/components/layout/layout.component.scss +137 -0
- package/projects/onemrva/design-system/layout/src/components/layout/layout.component.spec.ts +24 -0
- package/projects/onemrva/design-system/layout/src/components/layout/layout.component.ts +187 -0
- package/projects/onemrva/design-system/layout/src/components/layout-content/layout-content.component.spec.ts +24 -0
- package/projects/onemrva/design-system/layout/src/components/layout-content/layout-content.component.ts +23 -0
- package/projects/onemrva/design-system/layout/src/components/layout-footer/layout-footer.component.ts +11 -0
- package/projects/onemrva/design-system/layout/src/components/layout-login-menu/layout-login-menu.component.spec.ts +25 -0
- package/projects/onemrva/design-system/layout/src/components/layout-login-menu/layout-login-menu.component.ts +17 -0
- package/projects/onemrva/design-system/layout/src/components/layout-route/layout-route.component.html +57 -0
- package/projects/onemrva/design-system/layout/src/components/layout-route/layout-route.component.spec.ts +24 -0
- package/projects/onemrva/design-system/layout/src/components/layout-route/layout-route.component.ts +56 -0
- package/projects/onemrva/design-system/layout/src/components/layout-sidenav/layout-sidenav.component.html +104 -0
- package/projects/onemrva/design-system/layout/src/components/layout-sidenav/layout-sidenav.component.ts +88 -0
- package/projects/onemrva/design-system/layout/src/components/layout-sidenav-title/layout-sidenav-title.component.ts +9 -0
- package/projects/onemrva/design-system/layout/src/components/layout-subroute/layout-subroute.component.html +44 -0
- package/projects/onemrva/design-system/layout/src/components/layout-subroute/layout-subroute.component.spec.ts +24 -0
- package/projects/onemrva/design-system/layout/src/components/layout-subroute/layout-subroute.component.ts +35 -0
- package/projects/onemrva/design-system/layout/src/components/layout-title/layout-title.component.spec.ts +25 -0
- package/projects/onemrva/design-system/layout/src/components/layout-title/layout-title.component.ts +17 -0
- package/projects/onemrva/design-system/layout/src/decorators/coerce-boolean-input.decorator.ts +19 -0
- package/projects/onemrva/design-system/layout/src/decorators/observable-content.decorator.ts +13 -0
- package/projects/onemrva/design-system/layout/src/directives/drawer-host.directive.ts +10 -0
- package/projects/onemrva/design-system/layout/src/enums/environment.enum.ts +6 -0
- package/projects/onemrva/design-system/layout/src/layout.component.spec.ts +24 -0
- package/projects/onemrva/design-system/layout/src/layout.module.ts +103 -0
- package/projects/onemrva/design-system/layout/src/models/onem-language.model.ts +4 -0
- package/projects/onemrva/design-system/layout/src/models/onemrva-profile.model.ts +57 -0
- package/projects/onemrva/design-system/layout/src/services/drawer.service.ts +28 -0
- package/projects/onemrva/design-system/layout/src/striphtml.pipe.ts +11 -0
- package/projects/onemrva/design-system/layout/src/test.ts +25 -0
- package/projects/onemrva/design-system/mat-avatar/index.ts +2 -0
- package/projects/onemrva/design-system/mat-avatar/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-avatar/src/onemrva-mat-avatar.component.html +17 -0
- package/projects/onemrva/design-system/mat-avatar/src/onemrva-mat-avatar.component.scss +130 -0
- package/projects/onemrva/design-system/mat-avatar/src/onemrva-mat-avatar.component.ts +421 -0
- package/projects/onemrva/design-system/mat-avatar/src/onemrva-mat-avatar.module.ts +17 -0
- package/projects/onemrva/design-system/mat-badge/index.ts +6 -0
- package/projects/onemrva/design-system/mat-badge/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-badge/src/onemrva-mat-badge.component.scss +152 -0
- package/projects/onemrva/design-system/mat-badge/src/onemrva-mat-badge.component.ts +291 -0
- package/projects/onemrva/design-system/mat-badge/src/onemrva-mat-badge.module.ts +8 -0
- package/projects/onemrva/design-system/mat-breadcrumb/index.ts +7 -0
- package/projects/onemrva/design-system/mat-breadcrumb/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.html +37 -0
- package/projects/onemrva/design-system/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.scss +70 -0
- package/projects/onemrva/design-system/mat-breadcrumb/src/onemrva-mat-breadcrumb.component.ts +16 -0
- package/projects/onemrva/design-system/mat-breadcrumb/src/onemrva-mat-breadcrumb.model.ts +4 -0
- package/projects/onemrva/design-system/mat-breadcrumb/src/onemrva-mat-breadcrumb.module.ts +12 -0
- package/projects/onemrva/design-system/mat-breadcrumb/src/onemrva-mat-breadcrumb.service.ts +65 -0
- package/projects/onemrva/design-system/mat-clipboard/index.ts +6 -0
- package/projects/onemrva/design-system/mat-clipboard/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-clipboard/src/_onemrva-mat-spinner.component.scss +62 -0
- package/projects/onemrva/design-system/mat-clipboard/src/onemrva-mat-clipboard.component.ts +16 -0
- package/projects/onemrva/design-system/mat-clipboard/src/onemrva-mat-clipboard.module.ts +14 -0
- package/projects/onemrva/design-system/mat-datepicker-header/index.ts +5 -0
- package/projects/onemrva/design-system/mat-datepicker-header/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-datepicker-header/src/_onemrva-mat-datepicker-header.component.scss +11 -0
- package/projects/onemrva/design-system/mat-datepicker-header/src/onemrva-mat-datepicker-header.component.html +53 -0
- package/projects/onemrva/design-system/mat-datepicker-header/src/onemrva-mat-datepicker-header.component.ts +285 -0
- package/projects/onemrva/design-system/mat-file-upload/index.ts +11 -0
- package/projects/onemrva/design-system/mat-file-upload/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-file-upload/src/components/index.ts +10 -0
- package/projects/onemrva/design-system/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.html +59 -0
- package/projects/onemrva/design-system/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.scss +24 -0
- package/projects/onemrva/design-system/mat-file-upload/src/components/onemrva-mat-file-panel/onemrva-file-panel.component.ts +79 -0
- package/projects/onemrva/design-system/mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.html +53 -0
- package/projects/onemrva/design-system/mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.scss +248 -0
- package/projects/onemrva/design-system/mat-file-upload/src/components/onemrva-mat-file-upload/onemrva-mat-file-upload.component.ts +185 -0
- package/projects/onemrva/design-system/mat-file-upload/src/directives/dnd.directive.ts +43 -0
- package/projects/onemrva/design-system/mat-file-upload/src/models/action-config.model.ts +10 -0
- package/projects/onemrva/design-system/mat-file-upload/src/models/progress-file.model.ts +94 -0
- package/projects/onemrva/design-system/mat-file-upload/src/onemrva-mat-file-upload-itf.store.ts +79 -0
- package/projects/onemrva/design-system/mat-file-upload/src/onemrva-mat-file-upload.module.ts +28 -0
- package/projects/onemrva/design-system/mat-file-upload/src/onemrva-mat-file-upload.service.ts +68 -0
- package/projects/onemrva/design-system/mat-file-upload/src/onemrva-mat-file-upload.store.ts +473 -0
- package/projects/onemrva/design-system/mat-input-bank-account/index.ts +5 -0
- package/projects/onemrva/design-system/mat-input-bank-account/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-input-bank-account/src/onemrva-mat-input-bank-account.component.html +32 -0
- package/projects/onemrva/design-system/mat-input-bank-account/src/onemrva-mat-input-bank-account.component.scss +9 -0
- package/projects/onemrva/design-system/mat-input-bank-account/src/onemrva-mat-input-bank-account.component.ts +125 -0
- package/projects/onemrva/design-system/mat-input-country/index.ts +6 -0
- package/projects/onemrva/design-system/mat-input-country/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-input-country/src/countries.ts +3182 -0
- package/projects/onemrva/design-system/mat-input-country/src/onemrva-mat-input-country.component.html +29 -0
- package/projects/onemrva/design-system/mat-input-country/src/onemrva-mat-input-country.component.scss +29 -0
- package/projects/onemrva/design-system/mat-input-country/src/onemrva-mat-input-country.component.ts +144 -0
- package/projects/onemrva/design-system/mat-input-enterprise-number/index.ts +5 -0
- package/projects/onemrva/design-system/mat-input-enterprise-number/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.html +39 -0
- package/projects/onemrva/design-system/mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.scss +25 -0
- package/projects/onemrva/design-system/mat-input-enterprise-number/src/onemrva-mat-input-enterprise-number.component.ts +190 -0
- package/projects/onemrva/design-system/mat-input-phone/index.ts +6 -0
- package/projects/onemrva/design-system/mat-input-phone/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-input-phone/src/onemrva-mat-input-phone.component.html +43 -0
- package/projects/onemrva/design-system/mat-input-phone/src/onemrva-mat-input-phone.component.scss +29 -0
- package/projects/onemrva/design-system/mat-input-phone/src/onemrva-mat-input-phone.component.ts +261 -0
- package/projects/onemrva/design-system/mat-input-phone/src/phone-number.directive.ts +47 -0
- package/projects/onemrva/design-system/mat-message-box/index.ts +2 -0
- package/projects/onemrva/design-system/mat-message-box/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-message-box/src/onemrva-mat-message-box.component.scss +60 -0
- package/projects/onemrva/design-system/mat-message-box/src/onemrva-mat-message-box.component.ts +134 -0
- package/projects/onemrva/design-system/mat-message-box/src/onemrva-mat-message-box.module.ts +12 -0
- package/projects/onemrva/design-system/mat-multi-select/index.ts +2 -0
- package/projects/onemrva/design-system/mat-multi-select/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-multi-select/src/_onemrva-mat-multi-select.component.scss +66 -0
- package/projects/onemrva/design-system/mat-multi-select/src/onemrva-mat-multi-select.component.html +24 -0
- package/projects/onemrva/design-system/mat-multi-select/src/onemrva-mat-multi-select.component.ts +152 -0
- package/projects/onemrva/design-system/mat-multi-select/src/onemrva-mat-multi-select.module.ts +31 -0
- package/projects/onemrva/design-system/mat-notification/index.ts +1 -0
- package/projects/onemrva/design-system/mat-notification/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-notification/src/_onemrva-mat-notification.component.scss +71 -0
- package/projects/onemrva/design-system/mat-notification/src/onemrva-mat-notification.component.html +10 -0
- package/projects/onemrva/design-system/mat-notification/src/onemrva-mat-notification.component.ts +158 -0
- package/projects/onemrva/design-system/mat-paginator/index.ts +6 -0
- package/projects/onemrva/design-system/mat-paginator/ng-package.json +7 -0
- package/projects/onemrva/design-system/mat-paginator/package.json +7 -0
- package/projects/onemrva/design-system/mat-paginator/src/_onemrva-mat-paginator.component.scss +122 -0
- package/projects/onemrva/design-system/mat-paginator/src/onemrva-mat-paginator.component.html +104 -0
- package/projects/onemrva/design-system/mat-paginator/src/onemrva-mat-paginator.component.spec.ts +184 -0
- package/projects/onemrva/design-system/mat-paginator/src/onemrva-mat-paginator.component.ts +214 -0
- package/projects/onemrva/design-system/mat-paginator/src/onemrva-mat-paginator.module.ts +15 -0
- package/projects/onemrva/design-system/mat-panel/index.ts +6 -0
- package/projects/onemrva/design-system/mat-panel/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel-content.component.ts +12 -0
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel-content.html +5 -0
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel-icon.component.ts +12 -0
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel-icon.html +5 -0
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel-title-action.component.ts +12 -0
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel-title-action.html +5 -0
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel-title.component.ts +20 -0
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel-title.html +8 -0
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel.component.html +10 -0
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel.component.scss +100 -0
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel.component.ts +122 -0
- package/projects/onemrva/design-system/mat-panel/src/onemrva-mat-panel.module.ts +26 -0
- package/projects/onemrva/design-system/mat-pop-over/index.ts +4 -0
- package/projects/onemrva/design-system/mat-pop-over/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-pop-over/src/onemrva-mat-pop-over-content.component.ts +13 -0
- package/projects/onemrva/design-system/mat-pop-over/src/onemrva-mat-pop-over-trigger.component.ts +13 -0
- package/projects/onemrva/design-system/mat-pop-over/src/onemrva-mat-pop-over.component.html +29 -0
- package/projects/onemrva/design-system/mat-pop-over/src/onemrva-mat-pop-over.component.scss +141 -0
- package/projects/onemrva/design-system/mat-pop-over/src/onemrva-mat-pop-over.component.ts +47 -0
- package/projects/onemrva/design-system/mat-pop-over/src/onemrva-mat-pop-over.module.ts +19 -0
- package/projects/onemrva/design-system/mat-progress-bar/index.ts +1 -0
- package/projects/onemrva/design-system/mat-progress-bar/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-progress-bar/src/_onemrva-mat-progress-bar-mixin.component.scss +37 -0
- package/projects/onemrva/design-system/mat-progress-bar/src/onemrva-mat-progress-bar.component.html +13 -0
- package/projects/onemrva/design-system/mat-progress-bar/src/onemrva-mat-progress-bar.component.ts +27 -0
- package/projects/onemrva/design-system/mat-select-search/index.ts +3 -0
- package/projects/onemrva/design-system/mat-select-search/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-select-search/src/default-options.ts +42 -0
- package/projects/onemrva/design-system/mat-select-search/src/mat-select-no-entries-found.directive.ts +15 -0
- package/projects/onemrva/design-system/mat-select-search/src/mat-select-search-clear.directive.ts +13 -0
- package/projects/onemrva/design-system/mat-select-search/src/mat-select-search.component.html +67 -0
- package/projects/onemrva/design-system/mat-select-search/src/mat-select-search.component.scss +126 -0
- package/projects/onemrva/design-system/mat-select-search/src/mat-select-search.component.spec.ts +790 -0
- package/projects/onemrva/design-system/mat-select-search/src/mat-select-search.component.ts +612 -0
- package/projects/onemrva/design-system/mat-select-search/src/mat-select-search.module.ts +53 -0
- package/projects/onemrva/design-system/mat-side-menu/index.ts +6 -0
- package/projects/onemrva/design-system/mat-side-menu/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-side-menu/src/onemrva-mat-side-menu.component.html +36 -0
- package/projects/onemrva/design-system/mat-side-menu/src/onemrva-mat-side-menu.component.scss +50 -0
- package/projects/onemrva/design-system/mat-side-menu/src/onemrva-mat-side-menu.component.spec.ts +66 -0
- package/projects/onemrva/design-system/mat-side-menu/src/onemrva-mat-side-menu.component.ts +46 -0
- package/projects/onemrva/design-system/mat-side-menu/src/onemrva-mat-side-menu.module.ts +14 -0
- package/projects/onemrva/design-system/mat-skeleton/index.ts +3 -0
- package/projects/onemrva/design-system/mat-skeleton/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-skeleton/src/onemrva-mat-skeleton-enums.ts +32 -0
- package/projects/onemrva/design-system/mat-skeleton/src/onemrva-mat-skeleton.component.html +17 -0
- package/projects/onemrva/design-system/mat-skeleton/src/onemrva-mat-skeleton.component.scss +216 -0
- package/projects/onemrva/design-system/mat-skeleton/src/onemrva-mat-skeleton.component.ts +173 -0
- package/projects/onemrva/design-system/mat-skeleton/src/onemrva-mat-skeleton.module.ts +16 -0
- package/projects/onemrva/design-system/mat-spinner/index.ts +6 -0
- package/projects/onemrva/design-system/mat-spinner/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-spinner/src/_onemrva-mat-spinner.component.scss +62 -0
- package/projects/onemrva/design-system/mat-spinner/src/onemrva-mat-spinner.component.ts +11 -0
- package/projects/onemrva/design-system/mat-spinner/src/onemrva-mat-spinner.module.ts +8 -0
- package/projects/onemrva/design-system/mat-stepper/index.ts +6 -0
- package/projects/onemrva/design-system/mat-stepper/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-stepper/src/_stepper-variables.scss +29 -0
- package/projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.component.spec.ts +23 -0
- package/projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.component.ts +60 -0
- package/projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.html +53 -0
- package/projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.module.ts +30 -0
- package/projects/onemrva/design-system/mat-stepper/src/onemrva-mat-stepper.scss +106 -0
- package/projects/onemrva/design-system/mat-stepper/src/onemrva-stepper-animations.ts +40 -0
- package/projects/onemrva/design-system/mat-table-of-content/index.ts +8 -0
- package/projects/onemrva/design-system/mat-table-of-content/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-table-of-content/src/_onemrva-mat-table-of-content.component.scss +79 -0
- package/projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.component.html +23 -0
- package/projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.component.ts +128 -0
- package/projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.directive.ts +67 -0
- package/projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.service.ts +51 -0
- package/projects/onemrva/design-system/mat-table-of-content/src/onemrva-mat-toc-anchor.model.ts +24 -0
- package/projects/onemrva/design-system/mat-task-list/index.ts +5 -0
- package/projects/onemrva/design-system/mat-task-list/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-content.component.ts +12 -0
- package/projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-content.html +5 -0
- package/projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-list.component.html +1 -0
- package/projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-list.component.scss +150 -0
- package/projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-list.component.ts +50 -0
- package/projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-list.module.ts +31 -0
- package/projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-title.component.ts +18 -0
- package/projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task-title.html +5 -0
- package/projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task.component.html +17 -0
- package/projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task.component.scss +0 -0
- package/projects/onemrva/design-system/mat-task-list/src/onemrva-mat-task.component.ts +117 -0
- package/projects/onemrva/design-system/mat-timepicker/index.ts +6 -0
- package/projects/onemrva/design-system/mat-timepicker/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-timepicker/src/clock/clock.component.html +42 -0
- package/projects/onemrva/design-system/mat-timepicker/src/clock/clock.component.scss +129 -0
- package/projects/onemrva/design-system/mat-timepicker/src/clock/clock.component.spec.ts +25 -0
- package/projects/onemrva/design-system/mat-timepicker/src/clock/clock.component.ts +273 -0
- package/projects/onemrva/design-system/mat-timepicker/src/interfaces-and-types.ts +16 -0
- package/projects/onemrva/design-system/mat-timepicker/src/onemrva-mat-timepicker.component.html +0 -0
- package/projects/onemrva/design-system/mat-timepicker/src/onemrva-mat-timepicker.component.ts +289 -0
- package/projects/onemrva/design-system/mat-timepicker/src/onemrva-mat-timepicker.module.ts +40 -0
- package/projects/onemrva/design-system/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.html +53 -0
- package/projects/onemrva/design-system/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.scss +69 -0
- package/projects/onemrva/design-system/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.spec.ts +25 -0
- package/projects/onemrva/design-system/mat-timepicker/src/timepicker-dialog/timepicker-dialog.component.ts +169 -0
- package/projects/onemrva/design-system/mat-timepicker/src/timepicker-toggle/timepicker-toggle.component.html +15 -0
- package/projects/onemrva/design-system/mat-timepicker/src/timepicker-toggle/timepicker-toggle.component.scss +32 -0
- package/projects/onemrva/design-system/mat-timepicker/src/timepicker-toggle/timepicker-toggle.component.ts +135 -0
- package/projects/onemrva/design-system/mat-timepicker/src/timepicker.directive.ts +594 -0
- package/projects/onemrva/design-system/mat-timepicker/src/util.ts +97 -0
- package/projects/onemrva/design-system/mat-toast/index.ts +6 -0
- package/projects/onemrva/design-system/mat-toast/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-toast/src/onemrva-mat-toast.component.scss +54 -0
- package/projects/onemrva/design-system/mat-toast/src/onemrva-mat-toast.component.ts +36 -0
- package/projects/onemrva/design-system/mat-toast/src/onemrva-mat-toast.module.ts +11 -0
- package/projects/onemrva/design-system/mat-tooltip/index.ts +4 -0
- package/projects/onemrva/design-system/mat-tooltip/ng-package.json +6 -0
- package/projects/onemrva/design-system/mat-tooltip/src/onemrva-mat-tooltip.component.scss +9 -0
- package/projects/onemrva/design-system/mat-tooltip/src/onemrva-mat-tooltip.component.ts +21 -0
- package/projects/onemrva/design-system/mat-tooltip/src/onemrva-mat-tooltip.directive.ts +119 -0
- package/projects/onemrva/design-system/mat-tooltip/src/onemrva-mat-tooltip.module.ts +11 -0
- package/projects/onemrva/design-system/ng-package.json +20 -0
- package/projects/onemrva/design-system/package.json +27 -0
- package/projects/onemrva/design-system/page-not-found/assets/404/Arri/303/250re-plan.svg +22 -0
- package/projects/onemrva/design-system/page-not-found/assets/404/Halo.svg +10 -0
- package/projects/onemrva/design-system/page-not-found/assets/404/Ombre.svg +3 -0
- package/projects/onemrva/design-system/page-not-found/assets/404/Page.svg +21 -0
- package/projects/onemrva/design-system/page-not-found/assets/404/Page2.svg +19 -0
- package/projects/onemrva/design-system/page-not-found/assets/404/Soucoupe.svg +70 -0
- package/projects/onemrva/design-system/page-not-found/assets/404/Yeux.svg +6 -0
- package/projects/onemrva/design-system/page-not-found/assets/404/shape.svg +3 -0
- package/projects/onemrva/design-system/page-not-found/index.ts +5 -0
- package/projects/onemrva/design-system/page-not-found/ng-package.json +9 -0
- package/projects/onemrva/design-system/page-not-found/src/page-not-found-action.component.ts +9 -0
- package/projects/onemrva/design-system/page-not-found/src/page-not-found-extra.component.ts +9 -0
- package/projects/onemrva/design-system/page-not-found/src/page-not-found-invader.component.scss +16 -0
- package/projects/onemrva/design-system/page-not-found/src/page-not-found-invader.component.ts +84 -0
- package/projects/onemrva/design-system/page-not-found/src/page-not-found-mixin.component.scss +12 -0
- package/projects/onemrva/design-system/page-not-found/src/page-not-found.component.html +31 -0
- package/projects/onemrva/design-system/page-not-found/src/page-not-found.component.scss +206 -0
- package/projects/onemrva/design-system/page-not-found/src/page-not-found.component.ts +59 -0
- package/projects/onemrva/design-system/page-not-found/src/page-not-found.module.ts +24 -0
- package/projects/onemrva/design-system/src/public-api.ts +5 -0
- package/projects/onemrva/design-system/tsconfig.lib.json +12 -0
- package/projects/onemrva/design-system/tsconfig.lib.prod.json +10 -0
- package/projects/onemrva/design-system/utils/index.ts +2 -0
- package/projects/onemrva/design-system/utils/ng-package.json +6 -0
- package/projects/onemrva/design-system/utils/src/enum.utils.ts +6 -0
- package/projects/onemrva/design-system/utils/src/enums/color.enum.ts +14 -0
- package/projects/onemrva/design-system/utils/src/enums/index.ts +2 -0
- package/projects/onemrva/design-system/utils/src/enums/size.enum.ts +11 -0
- package/projects/schematics/README.md +40 -0
- package/projects/schematics/package.json +25 -0
- package/projects/schematics/src/cmp-demo/schema.json +15 -0
- package/projects/schematics/src/collection.json +17 -0
- package/projects/schematics/src/component/files/root/ng-package.json +6 -0
- package/projects/schematics/src/component/files/src/onemrva-mat-__name__.component.html +4 -0
- package/projects/schematics/src/component/schema.json +11 -0
- package/projects/schematics/src/demo/files/demo/demo-__name__.component.html +2 -0
- package/projects/schematics/src/demo/files/demo/readme.md +26 -0
- package/projects/schematics/src/demo/schema.json +15 -0
- package/projects/schematics/tsconfig.json +24 -0
- package/projects/test/.nycrc +5 -0
- package/projects/test/cypress/coverage.webpack.ts +20 -0
- package/projects/test/cypress/cucumber-json/basictest.cucumber.json +402 -0
- package/projects/test/cypress/fixtures/example.json +5 -0
- package/projects/test/cypress/integration/basictest.feature +53 -0
- package/projects/test/cypress/integration/common/basicTestSteps.ts +54 -0
- package/projects/test/cypress/plugins/index.ts +13 -0
- package/projects/test/cypress/support/commands.ts +44 -0
- package/projects/test/cypress/support/e2e.ts +20 -0
- package/projects/test/cypress/tsconfig.json +10 -0
- package/projects/test/cypress/videos/basictest.feature.mp4 +0 -0
- package/projects/test/karma.conf.js +44 -0
- package/projects/test/src/app/app-routing.module.ts +14 -0
- package/projects/test/src/app/app.component.html +14 -0
- package/projects/test/src/app/app.component.scss +0 -0
- package/projects/test/src/app/app.component.spec.ts +35 -0
- package/projects/test/src/app/app.component.ts +51 -0
- package/projects/test/src/app/app.module.ts +103 -0
- package/projects/test/src/app/demos/avatar/demo-avatar.component.html +77 -0
- package/projects/test/src/app/demos/avatar/demo-avatar.component.scss +4 -0
- package/projects/test/src/app/demos/avatar/demo-avatar.component.ts +13 -0
- package/projects/test/src/app/demos/badge/demo-badge.component.html +389 -0
- package/projects/test/src/app/demos/badge/demo-badge.component.scss +4 -0
- package/projects/test/src/app/demos/badge/demo-badge.component.ts +22 -0
- package/projects/test/src/app/demos/badge/readme.md +30 -0
- package/projects/test/src/app/demos/breadcrumb/demo-breadcrumb.component.html +20 -0
- package/projects/test/src/app/demos/breadcrumb/demo-breadcrumb.component.ts +7 -0
- package/projects/test/src/app/demos/breadcrumb/demo-breadcrumb.module.ts +89 -0
- package/projects/test/src/app/demos/breadcrumb/readme.md +29 -0
- package/projects/test/src/app/demos/datepicker/demo-datepicker.component.html +10 -0
- package/projects/test/src/app/demos/datepicker/demo-datepicker.component.scss +5 -0
- package/projects/test/src/app/demos/datepicker/demo-datepicker.component.ts +12 -0
- package/projects/test/src/app/demos/datepicker/demo-datepicker.module.ts +43 -0
- package/projects/test/src/app/demos/datepicker/readme.md +36 -0
- package/projects/test/src/app/demos/file-upload/demo-file-upload.component.html +30 -0
- package/projects/test/src/app/demos/file-upload/demo-file-upload.component.ts +132 -0
- package/projects/test/src/app/demos/file-upload/demo-file-upload.service.ts +60 -0
- package/projects/test/src/app/demos/file-upload/readme.md +26 -0
- package/projects/test/src/app/demos/input-bank-account/demo-input-bank-account.component.ts +19 -0
- package/projects/test/src/app/demos/input-bank-account/demo-input-bank-account.module.ts +20 -0
- package/projects/test/src/app/demos/input-country/demo-input-country.component.html +9 -0
- package/projects/test/src/app/demos/input-country/demo-input-country.component.ts +14 -0
- package/projects/test/src/app/demos/input-country/demo-input-country.module.ts +26 -0
- package/projects/test/src/app/demos/input-enterprise-number/demo-input-enterprise-number.component.ts +13 -0
- package/projects/test/src/app/demos/input-enterprise-number/demo-input-enterprise-number.module.ts +20 -0
- package/projects/test/src/app/demos/input-phone/demo-input-phone.component.html +16 -0
- package/projects/test/src/app/demos/input-phone/demo-input-phone.component.ts +16 -0
- package/projects/test/src/app/demos/input-phone/demo-input-phone.module.ts +21 -0
- package/projects/test/src/app/demos/message-box/demo-message-box.component.html +32 -0
- package/projects/test/src/app/demos/message-box/demo-message-box.component.ts +12 -0
- package/projects/test/src/app/demos/message-box/readme.md +26 -0
- package/projects/test/src/app/demos/multiselect/demo-multiselect.component.html +53 -0
- package/projects/test/src/app/demos/multiselect/demo-multiselect.component.scss +23 -0
- package/projects/test/src/app/demos/multiselect/demo-multiselect.component.ts +53 -0
- package/projects/test/src/app/demos/multiselect/demo-multiselect.module.ts +38 -0
- package/projects/test/src/app/demos/multiselect/readme.md +34 -0
- package/projects/test/src/app/demos/not-found/demo-not-found.component.html +21 -0
- package/projects/test/src/app/demos/not-found/demo-not-found.component.scss +6 -0
- package/projects/test/src/app/demos/not-found/demo-not-found.component.ts +50 -0
- package/projects/test/src/app/demos/not-found/readme.md +44 -0
- package/projects/test/src/app/demos/notification/demo-notification.component.html +5 -0
- package/projects/test/src/app/demos/notification/demo-notification.component.ts +10 -0
- package/projects/test/src/app/demos/paginator/demo-paginator.component.html +35 -0
- package/projects/test/src/app/demos/paginator/demo-paginator.component.ts +25 -0
- package/projects/test/src/app/demos/paginator/readme.md +89 -0
- package/projects/test/src/app/demos/panel/demo-panel.component.html +53 -0
- package/projects/test/src/app/demos/panel/demo-panel.component.scss +3 -0
- package/projects/test/src/app/demos/panel/demo-panel.component.ts +20 -0
- package/projects/test/src/app/demos/panel/readme.md +26 -0
- package/projects/test/src/app/demos/pop-over/demo-pop-over.component.html +130 -0
- package/projects/test/src/app/demos/pop-over/demo-pop-over.component.scss +9 -0
- package/projects/test/src/app/demos/pop-over/demo-pop-over.component.ts +13 -0
- package/projects/test/src/app/demos/pop-over/readme.md +26 -0
- package/projects/test/src/app/demos/progress-bar/demo-progress-bar.component.html +19 -0
- package/projects/test/src/app/demos/progress-bar/demo-progress-bar.component.ts +35 -0
- package/projects/test/src/app/demos/side-menu/demo-side-menu.component.html +5 -0
- package/projects/test/src/app/demos/side-menu/demo-side-menu.component.ts +34 -0
- package/projects/test/src/app/demos/side-menu/readme.md +30 -0
- package/projects/test/src/app/demos/skeleton/demo-skeleton.component.html +119 -0
- package/projects/test/src/app/demos/skeleton/demo-skeleton.component.scss +0 -0
- package/projects/test/src/app/demos/skeleton/demo-skeleton.component.ts +35 -0
- package/projects/test/src/app/demos/spinner/demo-spinner.component.html +1 -0
- package/projects/test/src/app/demos/spinner/demo-spinner.component.ts +10 -0
- package/projects/test/src/app/demos/spinner/readme.md +24 -0
- package/projects/test/src/app/demos/summary-stepper/demo-summary-stepper.component.html +108 -0
- package/projects/test/src/app/demos/summary-stepper/demo-summary-stepper.component.scss +3 -0
- package/projects/test/src/app/demos/summary-stepper/demo-summary-stepper.component.ts +55 -0
- package/projects/test/src/app/demos/summary-stepper/readme.md +26 -0
- package/projects/test/src/app/demos/table/demo-table-datasource.ts +140 -0
- package/projects/test/src/app/demos/table/demo-table.component.html +41 -0
- package/projects/test/src/app/demos/table/demo-table.component.scss +17 -0
- package/projects/test/src/app/demos/table/demo-table.component.ts +51 -0
- package/projects/test/src/app/demos/table/demo-table.module.ts +45 -0
- package/projects/test/src/app/demos/table/readme.md +27 -0
- package/projects/test/src/app/demos/task-list/demo-task-list.component.html +37 -0
- package/projects/test/src/app/demos/task-list/demo-task-list.component.scss +3 -0
- package/projects/test/src/app/demos/task-list/demo-task-list.component.ts +14 -0
- package/projects/test/src/app/demos/task-list/demo-task-list.module.ts +29 -0
- package/projects/test/src/app/demos/task-list/readme.md +26 -0
- package/projects/test/src/app/demos/timepicker/demo-timepicker.component.html +9 -0
- package/projects/test/src/app/demos/timepicker/demo-timepicker.component.ts +31 -0
- package/projects/test/src/app/demos/timepicker/readme.md +26 -0
- package/projects/test/src/app/demos/toast/demo-toast.component.html +8 -0
- package/projects/test/src/app/demos/toast/demo-toast.component.scss +3 -0
- package/projects/test/src/app/demos/toast/demo-toast.component.ts +61 -0
- package/projects/test/src/app/demos/toast/readme.md +30 -0
- package/projects/test/src/app/demos/toc/demo-toc.component.html +288 -0
- package/projects/test/src/app/demos/toc/demo-toc.component.ts +26 -0
- package/projects/test/src/app/demos/tooltip/demo-tooltip.component.html +73 -0
- package/projects/test/src/app/demos/tooltip/demo-tooltip.component.scss +11 -0
- package/projects/test/src/app/demos/tooltip/demo-tooltip.component.ts +14 -0
- package/projects/test/src/app/home.component.ts +54 -0
- package/projects/test/src/app/material.module.ts +39 -0
- package/projects/test/src/app/onemrva-translate-http-loader.ts +35 -0
- package/projects/test/src/app/routes.ts +198 -0
- package/projects/test/src/assets/.gitkeep +0 -0
- package/projects/test/src/assets/i18n/de.json +80 -0
- package/projects/test/src/assets/i18n/en.json +80 -0
- package/projects/test/src/assets/i18n/fr.json +80 -0
- package/projects/test/src/assets/i18n/nl.json +79 -0
- package/projects/test/src/environments/environment.e2e.ts +3 -0
- package/projects/test/src/environments/environment.prod.ts +3 -0
- package/projects/test/src/environments/environment.ts +16 -0
- package/projects/test/src/favicon.ico +0 -0
- package/projects/test/src/index.html +15 -0
- package/projects/test/src/main.ts +12 -0
- package/projects/test/src/polyfills.ts +53 -0
- package/projects/test/src/styles.scss +22 -0
- package/projects/test/src/test.ts +26 -0
- package/projects/test/tsconfig.app.json +15 -0
- package/projects/test/tsconfig.spec.json +18 -0
- package/rva.crt +36 -0
- package/tsconfig.json +44 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Installation
|
|
2
|
+
|
|
3
|
+
```bash
|
|
4
|
+
npm install --save @onemrvapublic/theme
|
|
5
|
+
npm install --save @onemrvapublic/design-system
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
In style.scss:
|
|
9
|
+
|
|
10
|
+
```scss
|
|
11
|
+
@use '@onemrvapublic/theme' as theme;
|
|
12
|
+
@use '@onemrvapublic/design-system' as onemrvaMat;
|
|
13
|
+
|
|
14
|
+
@include theme.reset();
|
|
15
|
+
|
|
16
|
+
.onemrva-theme {
|
|
17
|
+
@include theme.onemrva();
|
|
18
|
+
@include onemrvaMat.datepickerHeader(theme.$onemrva-theme);
|
|
19
|
+
}
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Import MatButtonModule and OnemrvaMatDatepickerHeader in your module (and MatIconModule if you want to use icons inside the buttons)
|
|
23
|
+
|
|
24
|
+
# Changelog
|
|
25
|
+
|
|
26
|
+
## @onemrvapublic/design-system 15.0.76
|
|
27
|
+
|
|
28
|
+
Custom date picker header
|
|
29
|
+
|
|
30
|
+
## @onemrvapublic/theme 15.0.38
|
|
31
|
+
|
|
32
|
+
Upgrade to Angular 15
|
|
33
|
+
|
|
34
|
+
## 14.1.441
|
|
35
|
+
|
|
36
|
+
Compliant version with DS4
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<onemrva-mat-file-upload
|
|
2
|
+
[accept]="['video/mp4', 'application/pdf', 'application/msword']"
|
|
3
|
+
[maxFileSize]="1485760"
|
|
4
|
+
[filePanelTemplate]="tpl"
|
|
5
|
+
errorMessage="test"
|
|
6
|
+
>
|
|
7
|
+
</onemrva-mat-file-upload>
|
|
8
|
+
<ng-template #tpl let-file="file" let-id="id" let-cmpRef="cmpRef">
|
|
9
|
+
<file-panel [file]="file" [actions]="actions"> </file-panel>
|
|
10
|
+
</ng-template>
|
|
11
|
+
|
|
12
|
+
<ng-container *ngIf="(files$ | async)!.length > 0">
|
|
13
|
+
<ng-container *ngFor="let file of files$ | async">
|
|
14
|
+
<file-panel
|
|
15
|
+
color="primary"
|
|
16
|
+
[file]="file"
|
|
17
|
+
[actions]="actions"
|
|
18
|
+
[showProgress]="false"
|
|
19
|
+
>
|
|
20
|
+
</file-panel>
|
|
21
|
+
</ng-container>
|
|
22
|
+
</ng-container>
|
|
23
|
+
|
|
24
|
+
{{ fileUploadStore.files$ | async | json }}
|
|
25
|
+
|
|
26
|
+
<file-panel
|
|
27
|
+
color="primary"
|
|
28
|
+
[file]="convertToProgressFile(testFile)"
|
|
29
|
+
>
|
|
30
|
+
</file-panel>
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { Component, OnInit } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import {
|
|
4
|
+
ActionConfig,
|
|
5
|
+
ReferencedProgressFile,
|
|
6
|
+
convertToReferencedProgressFile,
|
|
7
|
+
} from '../../../../../onemrva/design-system/mat-file-upload';
|
|
8
|
+
|
|
9
|
+
import { CommonModule } from '@angular/common';
|
|
10
|
+
import { OnemrvaMatFileUploadModule } from '../../../../../onemrva/design-system/mat-file-upload';
|
|
11
|
+
import { OnemrvaMatFileUploadStore } from '../../../../../onemrva/design-system/mat-file-upload/src/onemrva-mat-file-upload.store';
|
|
12
|
+
import { Observable, Subject } from 'rxjs';
|
|
13
|
+
import { OnemrvaMatFileUploadService } from '../../../../../onemrva/design-system/mat-file-upload/src/onemrva-mat-file-upload.service';
|
|
14
|
+
import { DemoFileUploadService } from './demo-file-upload.service';
|
|
15
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
16
|
+
|
|
17
|
+
export interface Annex {
|
|
18
|
+
/**
|
|
19
|
+
* Document reference in document service
|
|
20
|
+
*/
|
|
21
|
+
documentId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Name of the document
|
|
24
|
+
*/
|
|
25
|
+
name?: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@Component({
|
|
29
|
+
selector: 'app-demo-file-upload',
|
|
30
|
+
standalone: true,
|
|
31
|
+
imports: [CommonModule, OnemrvaMatFileUploadModule],
|
|
32
|
+
templateUrl: 'demo-file-upload.component.html',
|
|
33
|
+
providers: [
|
|
34
|
+
OnemrvaMatFileUploadStore,
|
|
35
|
+
{ provide: OnemrvaMatFileUploadService, useClass: DemoFileUploadService },
|
|
36
|
+
],
|
|
37
|
+
})
|
|
38
|
+
export class DemoFileUploadComponent implements OnInit {
|
|
39
|
+
files$: Observable<ReferencedProgressFile[]> = this.fileUploadStore.files$;
|
|
40
|
+
actions: ActionConfig[] = [
|
|
41
|
+
{
|
|
42
|
+
iconName: 'download',
|
|
43
|
+
dataCy: 'onemrva-file-panel-download',
|
|
44
|
+
tooltipCode: 'file.upload.download',
|
|
45
|
+
ariaCode: 'file.upload.download',
|
|
46
|
+
clickHandler: this.downloadFile.bind(this),
|
|
47
|
+
showAction: (file: ReferencedProgressFile) => file.color === 'success',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
iconName: 'delete',
|
|
51
|
+
dataCy: 'onemrva-file-panel-delete',
|
|
52
|
+
tooltipCode: 'file.upload.delete',
|
|
53
|
+
ariaCode: 'file.upload.delete',
|
|
54
|
+
clickHandler: this.deleteFileAction.bind(this),
|
|
55
|
+
showAction: this.isDeletable,
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
iconName: 'refresh',
|
|
59
|
+
dataCy: 'onemrva-file-panel-retry',
|
|
60
|
+
tooltipCode: 'file.upload.retry',
|
|
61
|
+
ariaCode: 'file.upload.retry',
|
|
62
|
+
clickHandler: this.retryUpload.bind(this),
|
|
63
|
+
showAction: (file: ReferencedProgressFile) => file.color === 'warn',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
iconName: 'visibility',
|
|
67
|
+
dataCy: 'onemrva-file-panel-view',
|
|
68
|
+
tooltipCode: 'file.upload.view',
|
|
69
|
+
ariaCode: 'file.upload.view',
|
|
70
|
+
clickHandler: this.view.bind(this),
|
|
71
|
+
showAction: (file: ReferencedProgressFile) => file.color === 'success',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
iconName: 'close',
|
|
75
|
+
dataCy: 'onemrva-file-panel-remove',
|
|
76
|
+
tooltipCode: 'file.upload.remove',
|
|
77
|
+
ariaCode: 'file.upload.remove',
|
|
78
|
+
clickHandler: this.removeFile.bind(this),
|
|
79
|
+
showAction: (file: ReferencedProgressFile) => file.color === 'warn',
|
|
80
|
+
},
|
|
81
|
+
];
|
|
82
|
+
|
|
83
|
+
destroyNotifier$: Subject<void> = new Subject<void>();
|
|
84
|
+
testFile: Annex = {
|
|
85
|
+
documentId: '1',
|
|
86
|
+
name: 'Hello',
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
constructor(
|
|
90
|
+
private translateService: TranslateService,
|
|
91
|
+
public fileUploadStore: OnemrvaMatFileUploadStore,
|
|
92
|
+
private fileUploadService: OnemrvaMatFileUploadService,
|
|
93
|
+
public dialog: MatDialog
|
|
94
|
+
) {}
|
|
95
|
+
|
|
96
|
+
ngOnInit(): void {
|
|
97
|
+
this.fileUploadStore.listUploadedFiles(null);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
downloadFile(file: ReferencedProgressFile) {
|
|
101
|
+
this.fileUploadService.downloadFile(file.id);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
retryUpload(file: ReferencedProgressFile) {
|
|
105
|
+
this.fileUploadStore.retryFile({ ...file });
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
removeFile(file: ReferencedProgressFile) {
|
|
109
|
+
this.fileUploadStore.removeFile(file);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
deleteFileAction(file: ReferencedProgressFile) {
|
|
113
|
+
if (this.isDeletable(file)) {
|
|
114
|
+
this.fileUploadStore.deleteFile(file);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
view(file: ReferencedProgressFile) {
|
|
119
|
+
if (!file.url) throw 'No url';
|
|
120
|
+
window.open('http://www.google.com', '_blank', 'noopener noreferrer');
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
isDeletable(file: ReferencedProgressFile): boolean {
|
|
124
|
+
return (
|
|
125
|
+
file.color !== 'primary' && file.color !== '' && file.color !== 'warn'
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
convertToProgressFile(annex: Annex) {
|
|
130
|
+
return convertToReferencedProgressFile(annex.documentId!, annex.name!);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpEvent,
|
|
3
|
+
HttpEventType,
|
|
4
|
+
HttpProgressEvent,
|
|
5
|
+
HttpResponse,
|
|
6
|
+
} from '@angular/common/http';
|
|
7
|
+
import { Injectable } from '@angular/core';
|
|
8
|
+
import {ProgressFile, ReferencedProgressFile} from '../../../../../onemrva/design-system/mat-file-upload';
|
|
9
|
+
import { catchError, interval, map, Observable, of, take } from 'rxjs';
|
|
10
|
+
|
|
11
|
+
@Injectable({
|
|
12
|
+
providedIn: 'root',
|
|
13
|
+
})
|
|
14
|
+
export class DemoFileUploadService {
|
|
15
|
+
constructor() {
|
|
16
|
+
console.log('DemoFileUploadService');
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
listUploadedFiles(inputs: any): Observable<ProgressFile[]> {
|
|
20
|
+
return of([]);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
upload(
|
|
24
|
+
file: ProgressFile | ReferencedProgressFile
|
|
25
|
+
): Observable<HttpEvent<any>> {
|
|
26
|
+
return interval(27).pipe(
|
|
27
|
+
take(101),
|
|
28
|
+
map((i) => {
|
|
29
|
+
if (i < 100) {
|
|
30
|
+
return {
|
|
31
|
+
type: HttpEventType.UploadProgress,
|
|
32
|
+
loaded: i,
|
|
33
|
+
total: 100,
|
|
34
|
+
} as HttpProgressEvent;
|
|
35
|
+
} else {
|
|
36
|
+
if (i >= 100 && Math.random() > 0.5) {
|
|
37
|
+
throw 'Fake error thrown';
|
|
38
|
+
}
|
|
39
|
+
return new HttpResponse<any>({
|
|
40
|
+
body: { id: 'E', dummyProp: 'dummy value' },
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}),
|
|
44
|
+
catchError(() => of(new HttpResponse<any>({ body: {}, status: 500 })))
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
deleteFile(file: any): Observable<any> {
|
|
49
|
+
return of('F = m.a');
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
retry(file: ReferencedProgressFile): Observable<HttpEvent<any>> {
|
|
53
|
+
return this.upload(file);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
downloadFile(id: any): Observable<any> {
|
|
57
|
+
alert(`Missing download implementation for file ID ${id}`);
|
|
58
|
+
return of(true);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Installation
|
|
2
|
+
|
|
3
|
+
```bash
|
|
4
|
+
npm install --save @onemrvapublic/theme
|
|
5
|
+
npm install --save @onemrvapublic/design-system
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
In style.scss:
|
|
9
|
+
|
|
10
|
+
```scss
|
|
11
|
+
@use '@onemrvapublic/theme' as theme;
|
|
12
|
+
@use '@onemrvapublic/design-system' as onemrvaMat;
|
|
13
|
+
|
|
14
|
+
@include theme.reset();
|
|
15
|
+
|
|
16
|
+
.onemrva-theme {
|
|
17
|
+
@include theme.onemrva();
|
|
18
|
+
@include onemrvaMat.fileUpload(theme.$onemrva-theme);
|
|
19
|
+
}
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
# Changelog
|
|
23
|
+
|
|
24
|
+
## 14.1.XXX
|
|
25
|
+
|
|
26
|
+
Thibaut, tu as oublié de mettre à jour le changeLog
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import {
|
|
4
|
+
OnemrvaAccountNumberForm,
|
|
5
|
+
OnemrvaMatInputBankAccountComponent,
|
|
6
|
+
} from '../../../../../onemrva/design-system/mat-input-bank-account/src/onemrva-mat-input-bank-account.component';
|
|
7
|
+
|
|
8
|
+
@Component({
|
|
9
|
+
selector: 'demo-iban-input',
|
|
10
|
+
template: `<onemrva-mat-input-bank-account
|
|
11
|
+
[accountNumber]="accountNumber"
|
|
12
|
+
></onemrva-mat-input-bank-account>`,
|
|
13
|
+
})
|
|
14
|
+
export class DemoInputBankAccountComponent {
|
|
15
|
+
accountNumber: FormGroup<OnemrvaAccountNumberForm> = new FormGroup({
|
|
16
|
+
countryCode: new FormControl(''),
|
|
17
|
+
bankNumber: new FormControl(''),
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { DemoInputBankAccountComponent } from './demo-input-bank-account.component';
|
|
3
|
+
import { OnemrvaMatInputBankAccountComponent } from '../../../../../onemrva/design-system/mat-input-bank-account/src/onemrva-mat-input-bank-account.component';
|
|
4
|
+
import { Route, RouterModule } from '@angular/router';
|
|
5
|
+
import { provideEnvironmentNgxMask } from 'ngx-mask';
|
|
6
|
+
|
|
7
|
+
const routes: Route[] = [
|
|
8
|
+
{
|
|
9
|
+
path: '',
|
|
10
|
+
pathMatch: 'full',
|
|
11
|
+
component: DemoInputBankAccountComponent,
|
|
12
|
+
},
|
|
13
|
+
];
|
|
14
|
+
|
|
15
|
+
@NgModule({
|
|
16
|
+
declarations: [DemoInputBankAccountComponent],
|
|
17
|
+
imports: [OnemrvaMatInputBankAccountComponent, RouterModule.forChild(routes)],
|
|
18
|
+
providers: [provideEnvironmentNgxMask()],
|
|
19
|
+
})
|
|
20
|
+
export class DemoInputBankAccountModule {}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<onemrva-mat-input-country
|
|
2
|
+
[country]="countryForm"
|
|
3
|
+
label="{{ 'input.country.label' | translate }}"
|
|
4
|
+
noEntriesFoundLabel="{{ 'input.country.not.found' | translate }}"
|
|
5
|
+
placeholderLabel="{{ 'input.country.search' | translate }}"
|
|
6
|
+
searchAriaLabel="{{ 'input.country.search' | translate }}"
|
|
7
|
+
hint=" {{ 'input.country.hint' | translate }}"
|
|
8
|
+
></onemrva-mat-input-country>
|
|
9
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import {FormControl, FormGroup, Validators} from '@angular/forms';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 'demo-iban-input',
|
|
6
|
+
templateUrl: './demo-input-country.component.html',
|
|
7
|
+
})
|
|
8
|
+
export class DemoInputCountryComponent {
|
|
9
|
+
countryForm = new FormControl('BE', [Validators.required]);
|
|
10
|
+
|
|
11
|
+
getCountry($event: any) {
|
|
12
|
+
console.log($event);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { Route, RouterModule } from '@angular/router';
|
|
3
|
+
import { provideEnvironmentNgxMask } from 'ngx-mask';
|
|
4
|
+
import {TranslateModule} from "@ngx-translate/core";
|
|
5
|
+
import {DemoInputCountryComponent} from "./demo-input-country.component";
|
|
6
|
+
import {
|
|
7
|
+
OnemrvaMatInputCountryComponent
|
|
8
|
+
} from "../../../../../onemrva/design-system/mat-input-country/src/onemrva-mat-input-country.component";
|
|
9
|
+
|
|
10
|
+
const routes: Route[] = [
|
|
11
|
+
{
|
|
12
|
+
path: '',
|
|
13
|
+
pathMatch: 'full',
|
|
14
|
+
component: DemoInputCountryComponent,
|
|
15
|
+
},
|
|
16
|
+
];
|
|
17
|
+
|
|
18
|
+
@NgModule({
|
|
19
|
+
declarations: [DemoInputCountryComponent],
|
|
20
|
+
imports: [
|
|
21
|
+
OnemrvaMatInputCountryComponent,
|
|
22
|
+
RouterModule.forChild(routes),
|
|
23
|
+
TranslateModule],
|
|
24
|
+
providers: [provideEnvironmentNgxMask()],
|
|
25
|
+
})
|
|
26
|
+
export class DemoInputCountryModule {}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 'demo-iban-input',
|
|
6
|
+
template: `<onemrva-mat-input-enterprise-number
|
|
7
|
+
[enterpriseNumber]="enterpriseNumber"
|
|
8
|
+
></onemrva-mat-input-enterprise-number>`,
|
|
9
|
+
})
|
|
10
|
+
export class DemoInputEnterpriseNumberComponent {
|
|
11
|
+
|
|
12
|
+
enterpriseNumber = new FormControl('');
|
|
13
|
+
}
|
package/projects/test/src/app/demos/input-enterprise-number/demo-input-enterprise-number.module.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { Route, RouterModule } from '@angular/router';
|
|
3
|
+
import { provideEnvironmentNgxMask } from 'ngx-mask';
|
|
4
|
+
import {DemoInputEnterpriseNumberComponent} from "./demo-input-enterprise-number.component";
|
|
5
|
+
import {OnemrvaMatInputEnterpriseNumberComponent} from "../../../../../onemrva/design-system/mat-input-enterprise-number";
|
|
6
|
+
|
|
7
|
+
const routes: Route[] = [
|
|
8
|
+
{
|
|
9
|
+
path: '',
|
|
10
|
+
pathMatch: 'full',
|
|
11
|
+
component: DemoInputEnterpriseNumberComponent,
|
|
12
|
+
},
|
|
13
|
+
];
|
|
14
|
+
|
|
15
|
+
@NgModule({
|
|
16
|
+
declarations: [DemoInputEnterpriseNumberComponent],
|
|
17
|
+
imports: [OnemrvaMatInputEnterpriseNumberComponent, RouterModule.forChild(routes)],
|
|
18
|
+
providers: [provideEnvironmentNgxMask()],
|
|
19
|
+
})
|
|
20
|
+
export class DemoInputEnterpriseNumberModule {}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<onemrva-mat-input-phone
|
|
2
|
+
[phoneNumber]="phoneForm"
|
|
3
|
+
label="{{ 'input.phone.label' | translate }}"
|
|
4
|
+
noEntriesFoundLabel="{{ 'input.phone.not.found' | translate }}"
|
|
5
|
+
placeholderLabel="{{ 'input.phone.search' | translate }}"
|
|
6
|
+
searchAriaLabel="{{ 'input.phone.search' | translate }}"
|
|
7
|
+
[defaultPrefix]="'+32'"
|
|
8
|
+
hint=" {{ 'input.phone.hint' | translate }}"
|
|
9
|
+
(getCountry)="getCountry($event)"
|
|
10
|
+
></onemrva-mat-input-phone>
|
|
11
|
+
<br/>
|
|
12
|
+
<br/>
|
|
13
|
+
<onemrva-mat-input-phone
|
|
14
|
+
label="{{ 'input.phone.label' | translate }}"
|
|
15
|
+
[phoneNumber]="phoneForm2"
|
|
16
|
+
></onemrva-mat-input-phone>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import {FormControl, FormGroup, Validators} from '@angular/forms';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 'demo-iban-input',
|
|
6
|
+
templateUrl: './demo-input-phone.component.html',
|
|
7
|
+
})
|
|
8
|
+
export class DemoInputPhoneComponent {
|
|
9
|
+
phoneForm = new FormControl('', [Validators.required]);
|
|
10
|
+
|
|
11
|
+
phoneForm2= new FormControl('+1-800-560-0000');
|
|
12
|
+
|
|
13
|
+
getCountry($event: any) {
|
|
14
|
+
console.log($event);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { Route, RouterModule } from '@angular/router';
|
|
3
|
+
import { provideEnvironmentNgxMask } from 'ngx-mask';
|
|
4
|
+
import {OnemrvaMatInputPhoneComponent} from "../../../../../onemrva/design-system/mat-input-phone";
|
|
5
|
+
import {DemoInputPhoneComponent} from "./demo-input-phone.component";
|
|
6
|
+
import {TranslateModule} from "@ngx-translate/core";
|
|
7
|
+
|
|
8
|
+
const routes: Route[] = [
|
|
9
|
+
{
|
|
10
|
+
path: '',
|
|
11
|
+
pathMatch: 'full',
|
|
12
|
+
component: DemoInputPhoneComponent,
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
|
|
16
|
+
@NgModule({
|
|
17
|
+
declarations: [DemoInputPhoneComponent],
|
|
18
|
+
imports: [OnemrvaMatInputPhoneComponent, RouterModule.forChild(routes), TranslateModule],
|
|
19
|
+
providers: [provideEnvironmentNgxMask()],
|
|
20
|
+
})
|
|
21
|
+
export class DemoInputPhoneModule {}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<onemrva-mat-message-box
|
|
2
|
+
messageCode="infoMessageBox"
|
|
3
|
+
color="info"
|
|
4
|
+
></onemrva-mat-message-box>
|
|
5
|
+
<br />
|
|
6
|
+
<br />
|
|
7
|
+
<onemrva-mat-message-box
|
|
8
|
+
messageCode="warningMessageBox"
|
|
9
|
+
color="warn"
|
|
10
|
+
></onemrva-mat-message-box>
|
|
11
|
+
<br />
|
|
12
|
+
<br />
|
|
13
|
+
<onemrva-mat-message-box
|
|
14
|
+
messageCode="successMessageBox"
|
|
15
|
+
color="success"
|
|
16
|
+
></onemrva-mat-message-box>
|
|
17
|
+
<br />
|
|
18
|
+
<br />
|
|
19
|
+
<onemrva-mat-message-box
|
|
20
|
+
messageCode="errorMessageBox"
|
|
21
|
+
color="error"
|
|
22
|
+
></onemrva-mat-message-box>
|
|
23
|
+
<br />
|
|
24
|
+
<br />
|
|
25
|
+
<onemrva-mat-message-box
|
|
26
|
+
messageCode="defaultMessageBox"
|
|
27
|
+
></onemrva-mat-message-box>
|
|
28
|
+
<br />
|
|
29
|
+
<br />
|
|
30
|
+
<onemrva-mat-message-box
|
|
31
|
+
messageCode="<b>Lorem ipsum dolor</b> sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."
|
|
32
|
+
></onemrva-mat-message-box>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { OnemrvaMatMessageBoxModule } from '../../../../../onemrva/design-system/mat-message-box';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'app-demo-message-box',
|
|
8
|
+
standalone: true,
|
|
9
|
+
imports: [CommonModule, OnemrvaMatMessageBoxModule],
|
|
10
|
+
templateUrl: 'demo-message-box.component.html',
|
|
11
|
+
})
|
|
12
|
+
export class DemoMessageBoxComponent {}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Installation
|
|
2
|
+
|
|
3
|
+
```bash
|
|
4
|
+
npm install --save @onemrvapublic/theme
|
|
5
|
+
npm install --save @onemrvapublic/design-system
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
In style.scss:
|
|
9
|
+
|
|
10
|
+
```scss
|
|
11
|
+
@use '@onemrvapublic/theme' as theme;
|
|
12
|
+
@use '@onemrvapublic/design-system' as onemrvaMat;
|
|
13
|
+
|
|
14
|
+
@include theme.reset();
|
|
15
|
+
|
|
16
|
+
.onemrva-theme {
|
|
17
|
+
@include theme.onemrva();
|
|
18
|
+
@include onemrvaMat.messageBox(theme.$onemrva-theme);
|
|
19
|
+
}
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
# Changelog
|
|
23
|
+
|
|
24
|
+
## 14.1.626
|
|
25
|
+
|
|
26
|
+
Initial version
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
|
|
2
|
+
<!--<mat-form-field>-->
|
|
3
|
+
<!-- <mat-label>Select (single)</mat-label>-->
|
|
4
|
+
<!-- <mat-select>-->
|
|
5
|
+
<!-- <mat-option *ngFor="let value of toppingList$ | async" [value]="value">{{ value }}</mat-option>-->
|
|
6
|
+
<!-- </mat-select>-->
|
|
7
|
+
<!--</mat-form-field>-->
|
|
8
|
+
<!--<br/><br/>-->
|
|
9
|
+
<!--<mat-form-field>-->
|
|
10
|
+
<!-- <mat-label>Select (multiple)</mat-label>-->
|
|
11
|
+
<!-- <onemrva-mat-multi-select [formControl]="multiselect" [selectionToggle]="true">-->
|
|
12
|
+
<!-- <mat-option *ngFor="let value of toppingList" [value]="value">{{ value }}</mat-option>-->
|
|
13
|
+
<!-- </onemrva-mat-multi-select>-->
|
|
14
|
+
<!-- <mat-hint>Hint</mat-hint>-->
|
|
15
|
+
<!--</mat-form-field>-->
|
|
16
|
+
<!--<br/><br/>-->
|
|
17
|
+
<!--<mat-form-field>-->
|
|
18
|
+
<!-- <mat-label>Select (single with filter)</mat-label>-->
|
|
19
|
+
<!-- <mat-select>-->
|
|
20
|
+
<!-- <mat-option>-->
|
|
21
|
+
<!-- <mat-select-search-->
|
|
22
|
+
<!-- [formControl]="filterCtrl"-->
|
|
23
|
+
<!-- ariaLabel="{{ 'filter select' | translate }}"-->
|
|
24
|
+
<!-- noEntriesFoundLabel="{{ 'Not found' | translate }}"-->
|
|
25
|
+
<!-- placeholderLabel="{{ 'Search' | translate }}"-->
|
|
26
|
+
<!-- ></mat-select-search>-->
|
|
27
|
+
<!-- </mat-option>-->
|
|
28
|
+
<!-- <mat-option *ngFor="let value of toppingList$ | async" [value]="value">{{ value }}</mat-option>-->
|
|
29
|
+
<!-- </mat-select>-->
|
|
30
|
+
<!--</mat-form-field>-->
|
|
31
|
+
<!--<br/><br/>-->
|
|
32
|
+
<!--<mat-form-field>-->
|
|
33
|
+
<!-- <mat-label>Select (single with filter)</mat-label>-->
|
|
34
|
+
<!-- <mat-select multiple="true">-->
|
|
35
|
+
<!-- <mat-option>-->
|
|
36
|
+
<!-- <mat-select-search-->
|
|
37
|
+
<!-- [formControl]="filterCtrl"-->
|
|
38
|
+
<!-- ariaLabel="{{ 'filter select' | translate }}"-->
|
|
39
|
+
<!-- noEntriesFoundLabel="{{ 'Not found' | translate }}"-->
|
|
40
|
+
<!-- placeholderLabel="{{ 'Search' | translate }}"-->
|
|
41
|
+
<!-- ></mat-select-search>-->
|
|
42
|
+
<!-- </mat-option>-->
|
|
43
|
+
<!-- <mat-option *ngFor="let value of toppingList$ | async" [value]="value">{{ value }}</mat-option>-->
|
|
44
|
+
<!-- </mat-select>-->
|
|
45
|
+
<!--</mat-form-field>-->
|
|
46
|
+
<br/><br/>
|
|
47
|
+
<mat-form-field>
|
|
48
|
+
<mat-label>Select (multiple with filter)</mat-label>
|
|
49
|
+
<onemrva-mat-multi-select [formControl]="multiselect" [selectionToggle]="true">
|
|
50
|
+
<mat-option *ngFor="let value of toppingList$ | async" [value]="value">{{ value }}</mat-option>
|
|
51
|
+
</onemrva-mat-multi-select>
|
|
52
|
+
<mat-hint>Hint</mat-hint>
|
|
53
|
+
</mat-form-field>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: flex-start;
|
|
5
|
+
}
|
|
6
|
+
mat-form-field {
|
|
7
|
+
width: 300px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.mat-mdc-select-trigger {
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
position: relative;
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
width: 100%;
|
|
17
|
+
}
|
|
18
|
+
.mat-mdc-select-arrow-wrapper {
|
|
19
|
+
height: 24px;
|
|
20
|
+
flex-shrink: 0;
|
|
21
|
+
display: inline-flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
}
|