@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,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"baseUrl": "tsconfig",
|
|
4
|
+
"lib": ["es2018", "dom"],
|
|
5
|
+
"declaration": true,
|
|
6
|
+
"module": "commonjs",
|
|
7
|
+
"moduleResolution": "node",
|
|
8
|
+
"noEmitOnError": true,
|
|
9
|
+
"noFallthroughCasesInSwitch": true,
|
|
10
|
+
"noImplicitAny": true,
|
|
11
|
+
"noImplicitThis": true,
|
|
12
|
+
"noUnusedParameters": true,
|
|
13
|
+
"noUnusedLocals": true,
|
|
14
|
+
"rootDir": "src/",
|
|
15
|
+
"skipDefaultLibCheck": true,
|
|
16
|
+
"skipLibCheck": true,
|
|
17
|
+
"sourceMap": true,
|
|
18
|
+
"strictNullChecks": true,
|
|
19
|
+
"target": "es6",
|
|
20
|
+
"types": ["jasmine", "node"]
|
|
21
|
+
},
|
|
22
|
+
"include": ["src/**/*"],
|
|
23
|
+
"exclude": ["src/*/files/**/*"]
|
|
24
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as path from 'path';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
module: {
|
|
5
|
+
rules: [
|
|
6
|
+
{
|
|
7
|
+
test: /\.(js|ts)$/,
|
|
8
|
+
loader: '@jsdevtools/coverage-istanbul-loader',
|
|
9
|
+
options: { esModules: true },
|
|
10
|
+
enforce: 'post',
|
|
11
|
+
include: path.join(__dirname, '..', 'src'),
|
|
12
|
+
exclude: [
|
|
13
|
+
/\.(e2e|spec)\.ts$/,
|
|
14
|
+
/node_modules/,
|
|
15
|
+
/(ngfactory|ngstyle)\.js/,
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
}
|
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"keyword": "Feature",
|
|
4
|
+
"name": "basic test",
|
|
5
|
+
"line": 1,
|
|
6
|
+
"id": "basic-test",
|
|
7
|
+
"tags": [],
|
|
8
|
+
"uri": "basictest.feature",
|
|
9
|
+
"elements": [
|
|
10
|
+
{
|
|
11
|
+
"id": "basic-test;avatar",
|
|
12
|
+
"keyword": "Scenario",
|
|
13
|
+
"line": 3,
|
|
14
|
+
"name": "Avatar",
|
|
15
|
+
"tags": [],
|
|
16
|
+
"type": "scenario",
|
|
17
|
+
"steps": [
|
|
18
|
+
{
|
|
19
|
+
"arguments": [],
|
|
20
|
+
"keyword": "When ",
|
|
21
|
+
"line": 4,
|
|
22
|
+
"name": "I visit \"avatar\"",
|
|
23
|
+
"result": {
|
|
24
|
+
"status": "passed",
|
|
25
|
+
"duration": 503000000
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"arguments": [],
|
|
30
|
+
"keyword": "Then ",
|
|
31
|
+
"line": 5,
|
|
32
|
+
"name": "the page for \"avatar\" is displayed",
|
|
33
|
+
"result": {
|
|
34
|
+
"status": "passed",
|
|
35
|
+
"duration": 2644000000
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "basic-test;badge",
|
|
42
|
+
"keyword": "Scenario",
|
|
43
|
+
"line": 7,
|
|
44
|
+
"name": "Badge",
|
|
45
|
+
"tags": [],
|
|
46
|
+
"type": "scenario",
|
|
47
|
+
"steps": [
|
|
48
|
+
{
|
|
49
|
+
"arguments": [],
|
|
50
|
+
"keyword": "When ",
|
|
51
|
+
"line": 8,
|
|
52
|
+
"name": "I visit \"badge\"",
|
|
53
|
+
"result": {
|
|
54
|
+
"status": "passed",
|
|
55
|
+
"duration": 318000000
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"arguments": [],
|
|
60
|
+
"keyword": "Then ",
|
|
61
|
+
"line": 9,
|
|
62
|
+
"name": "the page for \"badge\" is displayed",
|
|
63
|
+
"result": {
|
|
64
|
+
"status": "passed",
|
|
65
|
+
"duration": 2649000000
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "basic-test;breadcrumb",
|
|
72
|
+
"keyword": "Scenario",
|
|
73
|
+
"line": 11,
|
|
74
|
+
"name": "Breadcrumb",
|
|
75
|
+
"tags": [],
|
|
76
|
+
"type": "scenario",
|
|
77
|
+
"steps": [
|
|
78
|
+
{
|
|
79
|
+
"arguments": [],
|
|
80
|
+
"keyword": "When ",
|
|
81
|
+
"line": 12,
|
|
82
|
+
"name": "I visit \"breadcrumb\"",
|
|
83
|
+
"result": {
|
|
84
|
+
"status": "passed",
|
|
85
|
+
"duration": 268000000
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"arguments": [],
|
|
90
|
+
"keyword": "Then ",
|
|
91
|
+
"line": 13,
|
|
92
|
+
"name": "the page for \"breadcrumb\" is displayed",
|
|
93
|
+
"result": {
|
|
94
|
+
"status": "passed",
|
|
95
|
+
"duration": 2731000000
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"id": "basic-test;file-upload",
|
|
102
|
+
"keyword": "Scenario",
|
|
103
|
+
"line": 15,
|
|
104
|
+
"name": "File upload",
|
|
105
|
+
"tags": [],
|
|
106
|
+
"type": "scenario",
|
|
107
|
+
"steps": [
|
|
108
|
+
{
|
|
109
|
+
"arguments": [],
|
|
110
|
+
"keyword": "When ",
|
|
111
|
+
"line": 16,
|
|
112
|
+
"name": "I visit \"file-upload\"",
|
|
113
|
+
"result": {
|
|
114
|
+
"status": "passed",
|
|
115
|
+
"duration": 225000000
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"arguments": [],
|
|
120
|
+
"keyword": "Then ",
|
|
121
|
+
"line": 17,
|
|
122
|
+
"name": "the page for \"file-upload\" is displayed",
|
|
123
|
+
"result": {
|
|
124
|
+
"status": "passed",
|
|
125
|
+
"duration": 2574000000
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"id": "basic-test;message-box",
|
|
132
|
+
"keyword": "Scenario",
|
|
133
|
+
"line": 19,
|
|
134
|
+
"name": "Message box",
|
|
135
|
+
"tags": [],
|
|
136
|
+
"type": "scenario",
|
|
137
|
+
"steps": [
|
|
138
|
+
{
|
|
139
|
+
"arguments": [],
|
|
140
|
+
"keyword": "When ",
|
|
141
|
+
"line": 20,
|
|
142
|
+
"name": "I visit \"message-box\"",
|
|
143
|
+
"result": {
|
|
144
|
+
"status": "passed",
|
|
145
|
+
"duration": 159000000
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"arguments": [],
|
|
150
|
+
"keyword": "Then ",
|
|
151
|
+
"line": 21,
|
|
152
|
+
"name": "the page for \"message-box\" is displayed",
|
|
153
|
+
"result": {
|
|
154
|
+
"status": "passed",
|
|
155
|
+
"duration": 2617000000
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"id": "basic-test;multi-select",
|
|
162
|
+
"keyword": "Scenario",
|
|
163
|
+
"line": 23,
|
|
164
|
+
"name": "Multi select",
|
|
165
|
+
"tags": [],
|
|
166
|
+
"type": "scenario",
|
|
167
|
+
"steps": [
|
|
168
|
+
{
|
|
169
|
+
"arguments": [],
|
|
170
|
+
"keyword": "When ",
|
|
171
|
+
"line": 24,
|
|
172
|
+
"name": "I visit \"multiselect\"",
|
|
173
|
+
"result": {
|
|
174
|
+
"status": "passed",
|
|
175
|
+
"duration": 201000000
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"arguments": [],
|
|
180
|
+
"keyword": "Then ",
|
|
181
|
+
"line": 25,
|
|
182
|
+
"name": "the page for \"multiselect\" is displayed",
|
|
183
|
+
"result": {
|
|
184
|
+
"status": "passed",
|
|
185
|
+
"duration": 4028000000
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"id": "basic-test;paginator",
|
|
192
|
+
"keyword": "Scenario",
|
|
193
|
+
"line": 27,
|
|
194
|
+
"name": "Paginator",
|
|
195
|
+
"tags": [],
|
|
196
|
+
"type": "scenario",
|
|
197
|
+
"steps": [
|
|
198
|
+
{
|
|
199
|
+
"arguments": [],
|
|
200
|
+
"keyword": "When ",
|
|
201
|
+
"line": 28,
|
|
202
|
+
"name": "I visit \"paginator\"",
|
|
203
|
+
"result": {
|
|
204
|
+
"status": "passed",
|
|
205
|
+
"duration": 239000000
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"arguments": [],
|
|
210
|
+
"keyword": "Then ",
|
|
211
|
+
"line": 29,
|
|
212
|
+
"name": "the page for \"paginator\" is displayed",
|
|
213
|
+
"result": {
|
|
214
|
+
"status": "passed",
|
|
215
|
+
"duration": 2701000000
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"id": "basic-test;panel",
|
|
222
|
+
"keyword": "Scenario",
|
|
223
|
+
"line": 31,
|
|
224
|
+
"name": "Panel",
|
|
225
|
+
"tags": [],
|
|
226
|
+
"type": "scenario",
|
|
227
|
+
"steps": [
|
|
228
|
+
{
|
|
229
|
+
"arguments": [],
|
|
230
|
+
"keyword": "When ",
|
|
231
|
+
"line": 32,
|
|
232
|
+
"name": "I visit \"panel\"",
|
|
233
|
+
"result": {
|
|
234
|
+
"status": "passed",
|
|
235
|
+
"duration": 183000000
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"arguments": [],
|
|
240
|
+
"keyword": "Then ",
|
|
241
|
+
"line": 33,
|
|
242
|
+
"name": "the page for \"panel\" is displayed",
|
|
243
|
+
"result": {
|
|
244
|
+
"status": "passed",
|
|
245
|
+
"duration": 3062000000
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"id": "basic-test;side-menu",
|
|
252
|
+
"keyword": "Scenario",
|
|
253
|
+
"line": 35,
|
|
254
|
+
"name": "Side menu",
|
|
255
|
+
"tags": [],
|
|
256
|
+
"type": "scenario",
|
|
257
|
+
"steps": [
|
|
258
|
+
{
|
|
259
|
+
"arguments": [],
|
|
260
|
+
"keyword": "When ",
|
|
261
|
+
"line": 36,
|
|
262
|
+
"name": "I visit \"side-menu\"",
|
|
263
|
+
"result": {
|
|
264
|
+
"status": "passed",
|
|
265
|
+
"duration": 167000000
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"arguments": [],
|
|
270
|
+
"keyword": "Then ",
|
|
271
|
+
"line": 37,
|
|
272
|
+
"name": "the page for \"side-menu\" is displayed",
|
|
273
|
+
"result": {
|
|
274
|
+
"status": "passed",
|
|
275
|
+
"duration": 2613000000
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
]
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"id": "basic-test;summary-stepper",
|
|
282
|
+
"keyword": "Scenario",
|
|
283
|
+
"line": 39,
|
|
284
|
+
"name": "Summary stepper",
|
|
285
|
+
"tags": [],
|
|
286
|
+
"type": "scenario",
|
|
287
|
+
"steps": [
|
|
288
|
+
{
|
|
289
|
+
"arguments": [],
|
|
290
|
+
"keyword": "When ",
|
|
291
|
+
"line": 40,
|
|
292
|
+
"name": "I visit \"summary-stepper\"",
|
|
293
|
+
"result": {
|
|
294
|
+
"status": "passed",
|
|
295
|
+
"duration": 184000000
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"arguments": [],
|
|
300
|
+
"keyword": "Then ",
|
|
301
|
+
"line": 41,
|
|
302
|
+
"name": "the page for \"summary-stepper\" is displayed",
|
|
303
|
+
"result": {
|
|
304
|
+
"status": "passed",
|
|
305
|
+
"duration": 2682000000
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
]
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"id": "basic-test;timepicker",
|
|
312
|
+
"keyword": "Scenario",
|
|
313
|
+
"line": 43,
|
|
314
|
+
"name": "Timepicker",
|
|
315
|
+
"tags": [],
|
|
316
|
+
"type": "scenario",
|
|
317
|
+
"steps": [
|
|
318
|
+
{
|
|
319
|
+
"arguments": [],
|
|
320
|
+
"keyword": "When ",
|
|
321
|
+
"line": 44,
|
|
322
|
+
"name": "I visit \"timepicker\"",
|
|
323
|
+
"result": {
|
|
324
|
+
"status": "passed",
|
|
325
|
+
"duration": 151000000
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"arguments": [],
|
|
330
|
+
"keyword": "Then ",
|
|
331
|
+
"line": 45,
|
|
332
|
+
"name": "the page for \"timepicker\" is displayed",
|
|
333
|
+
"result": {
|
|
334
|
+
"status": "passed",
|
|
335
|
+
"duration": 2651000000
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
]
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"id": "basic-test;toast",
|
|
342
|
+
"keyword": "Scenario",
|
|
343
|
+
"line": 47,
|
|
344
|
+
"name": "Toast",
|
|
345
|
+
"tags": [],
|
|
346
|
+
"type": "scenario",
|
|
347
|
+
"steps": [
|
|
348
|
+
{
|
|
349
|
+
"arguments": [],
|
|
350
|
+
"keyword": "When ",
|
|
351
|
+
"line": 48,
|
|
352
|
+
"name": "I visit \"toast\"",
|
|
353
|
+
"result": {
|
|
354
|
+
"status": "passed",
|
|
355
|
+
"duration": 175000000
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"arguments": [],
|
|
360
|
+
"keyword": "Then ",
|
|
361
|
+
"line": 49,
|
|
362
|
+
"name": "the page for \"toast\" is displayed",
|
|
363
|
+
"result": {
|
|
364
|
+
"status": "passed",
|
|
365
|
+
"duration": 2571000000
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
]
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"id": "basic-test;page-not-found",
|
|
372
|
+
"keyword": "Scenario",
|
|
373
|
+
"line": 51,
|
|
374
|
+
"name": "Page not found",
|
|
375
|
+
"tags": [],
|
|
376
|
+
"type": "scenario",
|
|
377
|
+
"steps": [
|
|
378
|
+
{
|
|
379
|
+
"arguments": [],
|
|
380
|
+
"keyword": "When ",
|
|
381
|
+
"line": 52,
|
|
382
|
+
"name": "I visit \"not-found\"",
|
|
383
|
+
"result": {
|
|
384
|
+
"status": "passed",
|
|
385
|
+
"duration": 192000000
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"arguments": [],
|
|
390
|
+
"keyword": "Then ",
|
|
391
|
+
"line": 53,
|
|
392
|
+
"name": "the page for \"not-found\" is displayed",
|
|
393
|
+
"result": {
|
|
394
|
+
"status": "passed",
|
|
395
|
+
"duration": 2624000000
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
]
|
|
399
|
+
}
|
|
400
|
+
]
|
|
401
|
+
}
|
|
402
|
+
]
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
Feature: basic test
|
|
2
|
+
|
|
3
|
+
Scenario: Avatar
|
|
4
|
+
When I visit "avatar"
|
|
5
|
+
Then the page for "avatar" is displayed
|
|
6
|
+
|
|
7
|
+
Scenario: Badge
|
|
8
|
+
When I visit "badge"
|
|
9
|
+
Then the page for "badge" is displayed
|
|
10
|
+
|
|
11
|
+
Scenario: Breadcrumb
|
|
12
|
+
When I visit "breadcrumb"
|
|
13
|
+
Then the page for "breadcrumb" is displayed
|
|
14
|
+
|
|
15
|
+
Scenario: File upload
|
|
16
|
+
When I visit "file-upload"
|
|
17
|
+
Then the page for "file-upload" is displayed
|
|
18
|
+
|
|
19
|
+
Scenario: Message box
|
|
20
|
+
When I visit "message-box"
|
|
21
|
+
Then the page for "message-box" is displayed
|
|
22
|
+
|
|
23
|
+
Scenario: Multi select
|
|
24
|
+
When I visit "multiselect"
|
|
25
|
+
Then the page for "multiselect" is displayed
|
|
26
|
+
|
|
27
|
+
Scenario: Paginator
|
|
28
|
+
When I visit "paginator"
|
|
29
|
+
Then the page for "paginator" is displayed
|
|
30
|
+
|
|
31
|
+
Scenario: Panel
|
|
32
|
+
When I visit "panel"
|
|
33
|
+
Then the page for "panel" is displayed
|
|
34
|
+
|
|
35
|
+
Scenario: Side menu
|
|
36
|
+
When I visit "side-menu"
|
|
37
|
+
Then the page for "side-menu" is displayed
|
|
38
|
+
|
|
39
|
+
Scenario: Summary stepper
|
|
40
|
+
When I visit "summary-stepper"
|
|
41
|
+
Then the page for "summary-stepper" is displayed
|
|
42
|
+
|
|
43
|
+
Scenario: Timepicker
|
|
44
|
+
When I visit "timepicker"
|
|
45
|
+
Then the page for "timepicker" is displayed
|
|
46
|
+
|
|
47
|
+
Scenario: Toast
|
|
48
|
+
When I visit "toast"
|
|
49
|
+
Then the page for "toast" is displayed
|
|
50
|
+
|
|
51
|
+
Scenario: Page not found
|
|
52
|
+
When I visit "not-found"
|
|
53
|
+
Then the page for "not-found" is displayed
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
After,
|
|
3
|
+
Before,
|
|
4
|
+
Given,
|
|
5
|
+
Then,
|
|
6
|
+
When,
|
|
7
|
+
} from 'cypress-cucumber-preprocessor/steps';
|
|
8
|
+
|
|
9
|
+
When(/^I visit "([^"]*)"$/, (cmpName) => {
|
|
10
|
+
cy.visit(`/${cmpName}`);
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
Then(/^the page for "([^"]*)" is displayed$/, (cmpName) => {
|
|
14
|
+
cy.get(`app-demo-${cmpName}`).should('exist');
|
|
15
|
+
cy.pa11y({
|
|
16
|
+
includeWarnings: false,
|
|
17
|
+
standard: 'WCAG2A',
|
|
18
|
+
hideElements: 'div.environment,mat-select,onemrva-mat-multi-select',
|
|
19
|
+
ignore: [
|
|
20
|
+
"WCAG2AA.Principle1.Guideline1_4.1_4_3.G18",
|
|
21
|
+
"WCAG2AA.Principle1.Guideline1_3.1_3_3.G96",
|
|
22
|
+
"WCAG2AA..Principle1.Guideline1_4.1_4_11_G195",
|
|
23
|
+
"WCAG2AA..Principle1.Guideline1_4.1_4_11_G207",
|
|
24
|
+
"WCAG2AA..Principle1.Guideline1_4.1_4_11_G18",
|
|
25
|
+
"WCAG2AA..Principle1.Guideline1_4.1_4_11_G145",
|
|
26
|
+
"WCAG2AA..Principle1.Guideline1_4.1_4_11_G174",
|
|
27
|
+
"WCAG2AA..Principle1.Guideline1_4.1_4_11_F78",
|
|
28
|
+
"WCAG2AA.Principle1.Guideline1_4.1_4_3.G145",
|
|
29
|
+
"WCAG2AA.Principle1.Guideline1_4.1_4_3.F24.BGColour",
|
|
30
|
+
"WCAG2AA.Principle1.Guideline1_4.1_4_3.F24.FGColour",
|
|
31
|
+
]
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
Then(/^The page is accessible$/, function () {
|
|
36
|
+
cy.pa11y({
|
|
37
|
+
includeWarnings: false,
|
|
38
|
+
standard: 'WCAG2A',
|
|
39
|
+
hideElements: 'div.environment',
|
|
40
|
+
ignore: [
|
|
41
|
+
"WCAG2AA.Principle1.Guideline1_4.1_4_3.G18",
|
|
42
|
+
"WCAG2AA.Principle1.Guideline1_3.1_3_3.G96",
|
|
43
|
+
"WCAG2AA..Principle1.Guideline1_4.1_4_11_G195",
|
|
44
|
+
"WCAG2AA..Principle1.Guideline1_4.1_4_11_G207",
|
|
45
|
+
"WCAG2AA..Principle1.Guideline1_4.1_4_11_G18",
|
|
46
|
+
"WCAG2AA..Principle1.Guideline1_4.1_4_11_G145",
|
|
47
|
+
"WCAG2AA..Principle1.Guideline1_4.1_4_11_G174",
|
|
48
|
+
"WCAG2AA..Principle1.Guideline1_4.1_4_11_F78",
|
|
49
|
+
"WCAG2AA.Principle1.Guideline1_4.1_4_3.G145",
|
|
50
|
+
"WCAG2AA.Principle1.Guideline1_4.1_4_3.F24.BGColour",
|
|
51
|
+
"WCAG2AA.Principle1.Guideline1_4.1_4_3.F24.FGColour",
|
|
52
|
+
]
|
|
53
|
+
});
|
|
54
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const browserify = require('@cypress/browserify-preprocessor');
|
|
2
|
+
const registerCodeCoverage = require('@cypress/code-coverage/task');
|
|
3
|
+
const cucumber = require('cypress-cucumber-preprocessor').default;
|
|
4
|
+
const resolve = require('resolve')
|
|
5
|
+
|
|
6
|
+
module.exports = (on:any, config:any) => {
|
|
7
|
+
const options = {
|
|
8
|
+
...browserify.defaultOptions,
|
|
9
|
+
typescript: resolve.sync('typescript', { baseDir: config.projectRoot }),
|
|
10
|
+
};
|
|
11
|
+
on('file:preprocessor', cucumber(options));
|
|
12
|
+
return registerCodeCoverage(on, config);
|
|
13
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// ***********************************************
|
|
2
|
+
// This example namespace declaration will help
|
|
3
|
+
// with Intellisense and code completion in your
|
|
4
|
+
// IDE or Text Editor.
|
|
5
|
+
// ***********************************************
|
|
6
|
+
// declare namespace Cypress {
|
|
7
|
+
// interface Chainable<Subject = any> {
|
|
8
|
+
// customCommand(param: any): typeof customCommand;
|
|
9
|
+
// }
|
|
10
|
+
// }
|
|
11
|
+
//
|
|
12
|
+
// function customCommand(param: any): void {
|
|
13
|
+
// console.warn(param);
|
|
14
|
+
// }
|
|
15
|
+
//
|
|
16
|
+
// NOTE: You can use it like so:
|
|
17
|
+
// Cypress.Commands.add('customCommand', customCommand);
|
|
18
|
+
//
|
|
19
|
+
// ***********************************************
|
|
20
|
+
// This example commands.js shows you how to
|
|
21
|
+
// create various custom commands and overwrite
|
|
22
|
+
// existing commands.
|
|
23
|
+
//
|
|
24
|
+
// For more comprehensive examples of custom
|
|
25
|
+
// commands please read more here:
|
|
26
|
+
// https://on.cypress.io/custom-commands
|
|
27
|
+
// ***********************************************
|
|
28
|
+
//
|
|
29
|
+
//
|
|
30
|
+
// -- This is a parent command --
|
|
31
|
+
// Cypress.Commands.add("login", (email, password) => { ... })
|
|
32
|
+
//
|
|
33
|
+
//
|
|
34
|
+
// -- This is a child command --
|
|
35
|
+
// Cypress.Commands.add("drag", { prevSubject: 'element'}, (subject, options) => { ... })
|
|
36
|
+
//
|
|
37
|
+
//
|
|
38
|
+
// -- This is a dual command --
|
|
39
|
+
// Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... })
|
|
40
|
+
//
|
|
41
|
+
//
|
|
42
|
+
// -- This will overwrite an existing command --
|
|
43
|
+
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })
|
|
44
|
+
import "@cypress-audit/pa11y/commands";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// ***********************************************************
|
|
2
|
+
// This example support/index.js is processed and
|
|
3
|
+
// loaded automatically before your test files.
|
|
4
|
+
//
|
|
5
|
+
// This is a great place to put global configuration and
|
|
6
|
+
// behavior that modifies Cypress.
|
|
7
|
+
//
|
|
8
|
+
// You can change the location of this file or turn off
|
|
9
|
+
// automatically serving support files with the
|
|
10
|
+
// 'supportFile' configuration option.
|
|
11
|
+
//
|
|
12
|
+
// You can read more here:
|
|
13
|
+
// https://on.cypress.io/configuration
|
|
14
|
+
// ***********************************************************
|
|
15
|
+
|
|
16
|
+
// When a command from ./commands is ready to use, import with `import './commands'` syntax
|
|
17
|
+
//import './commands';
|
|
18
|
+
import '@cypress/code-coverage/support';
|
|
19
|
+
import './commands';
|
|
20
|
+
|
|
Binary file
|