@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,288 @@
|
|
|
1
|
+
<p>
|
|
2
|
+
Thermodynamics is a branch of physics that deals with heat, work, and
|
|
3
|
+
temperature, and their relation to energy, entropy, and the physical
|
|
4
|
+
properties of matter and radiation. The behavior of these quantities is
|
|
5
|
+
governed by the four laws of thermodynamics which convey a quantitative
|
|
6
|
+
description using measurable macroscopic physical quantities, but may be
|
|
7
|
+
explained in terms of microscopic constituents by statistical mechanics.
|
|
8
|
+
Thermodynamics applies to a wide variety of topics in science and engineering,
|
|
9
|
+
especially physical chemistry, biochemistry, chemical engineering and
|
|
10
|
+
mechanical engineering, but also in other complex fields such as meteorology.
|
|
11
|
+
Historically, thermodynamics developed out of a desire to increase the
|
|
12
|
+
efficiency of early steam engines, particularly through the work of French
|
|
13
|
+
physicist Sadi Carnot (1824) who believed that engine efficiency was the key
|
|
14
|
+
that could help France win the Napoleonic Wars.[1] Scots-Irish physicist Lord
|
|
15
|
+
Kelvin was the first to formulate a concise definition of thermodynamics in
|
|
16
|
+
1854[2] which stated, "Thermo-dynamics is the subject of the relation of heat
|
|
17
|
+
to forces acting between contiguous parts of bodies, and the relation of heat
|
|
18
|
+
to electrical agency." German physicist and mathematician Rudolf Clausius
|
|
19
|
+
restated Carnot's principle known as the Carnot cycle and gave so the theory
|
|
20
|
+
of heat a truer and sounder basis. His most important paper, "On the Moving
|
|
21
|
+
Force of Heat",[3] published in 1850, first stated the second law of
|
|
22
|
+
thermodynamics. In 1865 he introduced the concept of entropy. In 1870 he
|
|
23
|
+
introduced the virial theorem, which applied to heat.[4] The initial
|
|
24
|
+
application of thermodynamics to mechanical heat engines was quickly extended
|
|
25
|
+
to the study of chemical compounds and chemical reactions. Chemical
|
|
26
|
+
thermodynamics studies the nature of the role of entropy in the process of
|
|
27
|
+
chemical reactions and has provided the bulk of expansion and knowledge of the
|
|
28
|
+
field. Other formulations of thermodynamics emerged. Statistical
|
|
29
|
+
thermodynamics, or statistical mechanics, concerns itself with statistical
|
|
30
|
+
predictions of the collective motion of particles from their microscopic
|
|
31
|
+
behavior. In 1909, Constantin Carathéodory presented a purely mathematical
|
|
32
|
+
approach in an axiomatic formulation, a description often referred to as
|
|
33
|
+
geometrical thermodynamics.
|
|
34
|
+
</p>
|
|
35
|
+
|
|
36
|
+
<h2
|
|
37
|
+
[onemrvaMatToc]="{
|
|
38
|
+
tocName: 'thermo',
|
|
39
|
+
titleKey: 'thermo.introduction',
|
|
40
|
+
path: '#introduction'
|
|
41
|
+
}"
|
|
42
|
+
[hiddenInToc]="hidden"
|
|
43
|
+
>
|
|
44
|
+
Introduction
|
|
45
|
+
</h2>
|
|
46
|
+
<button (click)="hidden = !hidden">toggle</button>
|
|
47
|
+
<p>
|
|
48
|
+
A description of any thermodynamic system employs the four laws of
|
|
49
|
+
thermodynamics that form an axiomatic basis. The first law specifies that
|
|
50
|
+
energy can be transferred between physical systems as heat, as work, and with
|
|
51
|
+
transfer of matter.[5] The second law defines the existence of a quantity
|
|
52
|
+
called entropy, that describes the direction, thermodynamically, that a system
|
|
53
|
+
can evolve and quantifies the state of order of a system and that can be used
|
|
54
|
+
to quantify the useful work that can be extracted from the system.[6] In
|
|
55
|
+
thermodynamics, interactions between large ensembles of objects are studied
|
|
56
|
+
and categorized. Central to this are the concepts of the thermodynamic system
|
|
57
|
+
and its surroundings. A system is composed of particles, whose average motions
|
|
58
|
+
define its properties, and those properties are in turn related to one another
|
|
59
|
+
through equations of state. Properties can be combined to express internal
|
|
60
|
+
energy and thermodynamic potentials, which are useful for determining
|
|
61
|
+
conditions for equilibrium and spontaneous processes. With these tools,
|
|
62
|
+
thermodynamics can be used to describe how systems respond to changes in their
|
|
63
|
+
environment. This can be applied to a wide variety of topics in science and
|
|
64
|
+
engineering, such as engines, phase transitions, chemical reactions, transport
|
|
65
|
+
phenomena, and even black holes. The results of thermodynamics are essential
|
|
66
|
+
for other fields of physics and for chemistry, chemical engineering, corrosion
|
|
67
|
+
engineering, aerospace engineering, mechanical engineering, cell biology,
|
|
68
|
+
biomedical engineering, materials science, and economics, to name a few.[7][8]
|
|
69
|
+
This article is focused mainly on classical thermodynamics which primarily
|
|
70
|
+
studies systems in thermodynamic equilibrium. Non-equilibrium thermodynamics
|
|
71
|
+
is often treated as an extension of the classical treatment, but statistical
|
|
72
|
+
mechanics has brought many advances to that field.
|
|
73
|
+
</p>
|
|
74
|
+
|
|
75
|
+
<h2
|
|
76
|
+
[onemrvaMatToc]="{
|
|
77
|
+
tocName: 'thermo',
|
|
78
|
+
titleKey: 'thermo.history',
|
|
79
|
+
path: '#history'
|
|
80
|
+
}"
|
|
81
|
+
>
|
|
82
|
+
History
|
|
83
|
+
</h2>
|
|
84
|
+
<p>
|
|
85
|
+
The history of thermodynamics as a scientific discipline generally begins with
|
|
86
|
+
Otto von Guericke who, in 1650, built and designed the world's first vacuum
|
|
87
|
+
pump and demonstrated a vacuum using his Magdeburg hemispheres. Guericke was
|
|
88
|
+
driven to make a vacuum in order to disprove Aristotle's long-held supposition
|
|
89
|
+
that 'nature abhors a vacuum'. Shortly after Guericke, the Anglo-Irish
|
|
90
|
+
physicist and chemist Robert Boyle had learned of Guericke's designs and, in
|
|
91
|
+
1656, in coordination with English scientist Robert Hooke, built an air
|
|
92
|
+
pump.[10] Using this pump, Boyle and Hooke noticed a correlation between
|
|
93
|
+
pressure, temperature, and volume. In time, Boyle's Law was formulated, which
|
|
94
|
+
states that pressure and volume are inversely proportional. Then, in 1679,
|
|
95
|
+
based on these concepts, an associate of Boyle's named Denis Papin built a
|
|
96
|
+
steam digester, which was a closed vessel with a tightly fitting lid that
|
|
97
|
+
confined steam until a high pressure was generated. Later designs implemented
|
|
98
|
+
a steam release valve that kept the machine from exploding. By watching the
|
|
99
|
+
valve rhythmically move up and down, Papin conceived of the idea of a piston
|
|
100
|
+
and a cylinder engine. He did not, however, follow through with his design.
|
|
101
|
+
Nevertheless, in 1697, based on Papin's designs, engineer Thomas Savery built
|
|
102
|
+
the first engine, followed by Thomas Newcomen in 1712. Although these early
|
|
103
|
+
engines were crude and inefficient, they attracted the attention of the
|
|
104
|
+
leading scientists of the time. The fundamental concepts of heat capacity and
|
|
105
|
+
latent heat, which were necessary for the development of thermodynamics, were
|
|
106
|
+
developed by Professor Joseph Black at the University of Glasgow, where James
|
|
107
|
+
Watt was employed as an instrument maker. Black and Watt performed experiments
|
|
108
|
+
together, but it was Watt who conceived the idea of the external condenser
|
|
109
|
+
which resulted in a large increase in steam engine efficiency.[11] Drawing on
|
|
110
|
+
all the previous work led Sadi Carnot, the "father of thermodynamics", to
|
|
111
|
+
publish Reflections on the Motive Power of Fire (1824), a discourse on heat,
|
|
112
|
+
power, energy and engine efficiency. The book outlined the basic energetic
|
|
113
|
+
relations between the Carnot engine, the Carnot cycle, and motive power. It
|
|
114
|
+
marked the start of thermodynamics as a modern science.[12] The first
|
|
115
|
+
thermodynamic textbook was written in 1859 by William Rankine, originally
|
|
116
|
+
trained as a physicist and a civil and mechanical engineering professor at the
|
|
117
|
+
University of Glasgow.[13] The first and second laws of thermodynamics emerged
|
|
118
|
+
simultaneously in the 1850s, primarily out of the works of William Rankine,
|
|
119
|
+
Rudolf Clausius, and William Thomson (Lord Kelvin). The foundations of
|
|
120
|
+
statistical thermodynamics were set out by physicists such as James Clerk
|
|
121
|
+
Maxwell, Ludwig Boltzmann, Max Planck, Rudolf Clausius and J. Willard Gibbs.
|
|
122
|
+
Clausius, who first stated the basic ideas of the second law in his paper "On
|
|
123
|
+
the Moving Force of Heat",[3] published in 1850, and is called "one of the
|
|
124
|
+
founding fathers of thermodynamics",[14] introduced the concept of entropy in
|
|
125
|
+
1865.During the years 1873–76 the American mathematical physicist Josiah
|
|
126
|
+
Willard Gibbs published a series of three papers, the most famous being On the
|
|
127
|
+
Equilibrium of Heterogeneous Substances,[15] in which he showed how
|
|
128
|
+
thermodynamic processes, including chemical reactions, could be graphically
|
|
129
|
+
analyzed, by studying the energy, entropy, volume, temperature and pressure of
|
|
130
|
+
the thermodynamic system in such a manner, one can determine if a process
|
|
131
|
+
would occur spontaneously.[16] Also Pierre Duhem in the 19th century wrote
|
|
132
|
+
about chemical thermodynamics.[17] During the early 20th century, chemists
|
|
133
|
+
such as Gilbert N. Lewis, Merle Randall,[18] and E. A. Guggenheim[19][20]
|
|
134
|
+
applied the mathematical methods of Gibbs to the analysis of chemical
|
|
135
|
+
processes.
|
|
136
|
+
</p>
|
|
137
|
+
|
|
138
|
+
<h2
|
|
139
|
+
[onemrvaMatToc]="{
|
|
140
|
+
tocName: 'thermo',
|
|
141
|
+
titleKey: 'thermo.etymology',
|
|
142
|
+
path: '#etymology'
|
|
143
|
+
}"
|
|
144
|
+
>
|
|
145
|
+
Etymology
|
|
146
|
+
</h2>
|
|
147
|
+
<p>
|
|
148
|
+
The etymology of thermodynamics has an intricate history.[21] It was first
|
|
149
|
+
spelled in a hyphenated form as an adjective (thermo-dynamic) and from 1854 to
|
|
150
|
+
1868 as the noun thermo-dynamics to represent the science of generalized heat
|
|
151
|
+
engines.[21] American biophysicist Donald Haynie claims that thermodynamics
|
|
152
|
+
was coined in 1840 from the Greek root θέρμη therme, meaning "heat", and
|
|
153
|
+
δύναμις dynamis, meaning "power".[22] Pierre Perrot claims that the term
|
|
154
|
+
thermodynamics was coined by James Joule in 1858 to designate the science of
|
|
155
|
+
relations between heat and power,[12] however, Joule never used that term, but
|
|
156
|
+
used instead the term perfect thermo-dynamic engine in reference to Thomson's
|
|
157
|
+
1849[23] phraseology.[21] By 1858, thermo-dynamics, as a functional term, was
|
|
158
|
+
used in William Thomson's paper "An Account of Carnot's Theory of the Motive
|
|
159
|
+
Power of Heat."[23]
|
|
160
|
+
</p>
|
|
161
|
+
|
|
162
|
+
<h2
|
|
163
|
+
[onemrvaMatToc]="{
|
|
164
|
+
tocName: 'thermo',
|
|
165
|
+
titleKey: 'thermo.branches',
|
|
166
|
+
path: '#branches'
|
|
167
|
+
}"
|
|
168
|
+
>
|
|
169
|
+
Branches of thermodynamics
|
|
170
|
+
</h2>
|
|
171
|
+
<p>
|
|
172
|
+
The study of thermodynamical systems has developed into several related
|
|
173
|
+
branches, each using a different fundamental model as a theoretical or
|
|
174
|
+
experimental basis, or applying the principles to varying types of systems.
|
|
175
|
+
</p>
|
|
176
|
+
|
|
177
|
+
<h3
|
|
178
|
+
[onemrvaMatToc]="{
|
|
179
|
+
tocName: 'thermo',
|
|
180
|
+
titleKey: 'thermo.classicalThermodynamics',
|
|
181
|
+
path: '#classical-thermodynamics',
|
|
182
|
+
level: level.SUBSECTION
|
|
183
|
+
}"
|
|
184
|
+
>
|
|
185
|
+
Classical thermodynamics
|
|
186
|
+
</h3>
|
|
187
|
+
<p>
|
|
188
|
+
Classical thermodynamics is the description of the states of thermodynamic
|
|
189
|
+
systems at near-equilibrium, that uses macroscopic, measurable properties. It
|
|
190
|
+
is used to model exchanges of energy, work and heat based on the laws of
|
|
191
|
+
thermodynamics. The qualifier classical reflects the fact that it represents
|
|
192
|
+
the first level of understanding of the subject as it developed in the 19th
|
|
193
|
+
century and describes the changes of a system in terms of macroscopic
|
|
194
|
+
empirical (large scale, and measurable) parameters. A microscopic
|
|
195
|
+
interpretation of these concepts was later provided by the development of
|
|
196
|
+
statistical mechanics.
|
|
197
|
+
</p>
|
|
198
|
+
|
|
199
|
+
<h3
|
|
200
|
+
[onemrvaMatToc]="{
|
|
201
|
+
tocName: 'thermo',
|
|
202
|
+
titleKey: 'thermo.statisticalThermodynamics',
|
|
203
|
+
path: '#statistical-thermodynamics',
|
|
204
|
+
level: level.SUBSECTION
|
|
205
|
+
}"
|
|
206
|
+
>
|
|
207
|
+
Statistical mechanics
|
|
208
|
+
</h3>
|
|
209
|
+
<p>
|
|
210
|
+
Statistical mechanics, also known as statistical thermodynamics, emerged with
|
|
211
|
+
the development of atomic and molecular theories in the late 19th century and
|
|
212
|
+
early 20th century, and supplemented classical thermodynamics with an
|
|
213
|
+
interpretation of the microscopic interactions between individual particles or
|
|
214
|
+
quantum-mechanical states. This field relates the microscopic properties of
|
|
215
|
+
individual atoms and molecules to the macroscopic, bulk properties of
|
|
216
|
+
materials that can be observed on the human scale, thereby explaining
|
|
217
|
+
classical thermodynamics as a natural result of statistics, classical
|
|
218
|
+
mechanics, and quantum theory at the microscopic level.
|
|
219
|
+
</p>
|
|
220
|
+
|
|
221
|
+
<h3
|
|
222
|
+
[onemrvaMatToc]="{
|
|
223
|
+
tocName: 'thermo',
|
|
224
|
+
titleKey: 'thermo.chemicalThermodynamics',
|
|
225
|
+
path: '#chemical-thermodynamics',
|
|
226
|
+
level: level.SUBSECTION
|
|
227
|
+
}"
|
|
228
|
+
>
|
|
229
|
+
Chemical thermodynamics
|
|
230
|
+
</h3>
|
|
231
|
+
<p>
|
|
232
|
+
Chemical thermodynamics is the study of the interrelation of energy with
|
|
233
|
+
chemical reactions or with a physical change of state within the confines of
|
|
234
|
+
the laws of thermodynamics. The primary objective of chemical thermodynamics
|
|
235
|
+
is determining the spontaneity of a given transformation.[24]
|
|
236
|
+
</p>
|
|
237
|
+
|
|
238
|
+
<h3
|
|
239
|
+
[onemrvaMatToc]="{
|
|
240
|
+
tocName: 'thermo',
|
|
241
|
+
titleKey: 'thermo.equilibriumThermodynamics',
|
|
242
|
+
path: '#equilibrium-thermodynamics',
|
|
243
|
+
level: level.SUBSECTION
|
|
244
|
+
}"
|
|
245
|
+
>
|
|
246
|
+
Equilibrium thermodynamics
|
|
247
|
+
</h3>
|
|
248
|
+
<p>
|
|
249
|
+
Equilibrium thermodynamics is the study of transfers of matter and energy in
|
|
250
|
+
systems or bodies that, by agencies in their surroundings, can be driven from
|
|
251
|
+
one state of thermodynamic equilibrium to another. The term 'thermodynamic
|
|
252
|
+
equilibrium' indicates a state of balance, in which all macroscopic flows are
|
|
253
|
+
zero; in the case of the simplest systems or bodies, their intensive
|
|
254
|
+
properties are homogeneous, and their pressures are perpendicular to their
|
|
255
|
+
boundaries. In an equilibrium state there are no unbalanced potentials, or
|
|
256
|
+
driving forces, between macroscopically distinct parts of the system. A
|
|
257
|
+
central aim in equilibrium thermodynamics is: given a system in a well-defined
|
|
258
|
+
initial equilibrium state, and given its surroundings, and given its
|
|
259
|
+
constitutive walls, to calculate what will be the final equilibrium state of
|
|
260
|
+
the system after a specified thermodynamic operation has changed its walls or
|
|
261
|
+
surroundings.
|
|
262
|
+
</p>
|
|
263
|
+
|
|
264
|
+
<h3
|
|
265
|
+
[onemrvaMatToc]="{
|
|
266
|
+
tocName: 'thermo',
|
|
267
|
+
titleKey: 'thermo.nonEquilibriumThermodynamics',
|
|
268
|
+
path: '#non-equilibrium-thermodynamics',
|
|
269
|
+
level: level.SUBSECTION
|
|
270
|
+
}"
|
|
271
|
+
>
|
|
272
|
+
Non-equilibrium thermodynamics
|
|
273
|
+
</h3>
|
|
274
|
+
<p>
|
|
275
|
+
Non-equilibrium thermodynamics is a branch of thermodynamics that deals with
|
|
276
|
+
systems that are not in thermodynamic equilibrium. Most systems found in
|
|
277
|
+
nature are not in thermodynamic equilibrium because they are not in stationary
|
|
278
|
+
states, and are continuously and discontinuously subject to flux of matter and
|
|
279
|
+
energy to and from other systems. The thermodynamic study of non-equilibrium
|
|
280
|
+
systems requires more general concepts than are dealt with by equilibrium
|
|
281
|
+
thermodynamics.[25] Many natural systems still today remain beyond the scope
|
|
282
|
+
of currently known macroscopic thermodynamic methods.
|
|
283
|
+
</p>
|
|
284
|
+
|
|
285
|
+
<onemrva-mat-table-of-content
|
|
286
|
+
titleKey="thermo.title"
|
|
287
|
+
tocName="thermo"
|
|
288
|
+
></onemrva-mat-table-of-content>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import {
|
|
3
|
+
OnemrvaMatTableOfContentComponent,
|
|
4
|
+
OnemrvaMatTableOfContentDirective,
|
|
5
|
+
OnemrvaMatTableOfContentService,
|
|
6
|
+
OnemrvaMatTocAnchorLevel,
|
|
7
|
+
OnemrvaMatTocAnchorStatus,
|
|
8
|
+
} from '../../../../../onemrva/design-system/mat-table-of-content';
|
|
9
|
+
|
|
10
|
+
@Component({
|
|
11
|
+
selector: 'app-demo-toc',
|
|
12
|
+
templateUrl: 'demo-toc.component.html',
|
|
13
|
+
standalone: true,
|
|
14
|
+
imports: [
|
|
15
|
+
OnemrvaMatTableOfContentComponent,
|
|
16
|
+
OnemrvaMatTableOfContentDirective,
|
|
17
|
+
],
|
|
18
|
+
providers: [OnemrvaMatTableOfContentService],
|
|
19
|
+
})
|
|
20
|
+
export class DemoTocComponent {
|
|
21
|
+
status = OnemrvaMatTocAnchorStatus;
|
|
22
|
+
level = OnemrvaMatTocAnchorLevel;
|
|
23
|
+
hidden = false;
|
|
24
|
+
|
|
25
|
+
constructor(public tocService: OnemrvaMatTableOfContentService) {}
|
|
26
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<div class="demo-tooltip-container">
|
|
2
|
+
<div class="demo-tooltip">
|
|
3
|
+
<mat-icon
|
|
4
|
+
OnemrvaMatTooltip
|
|
5
|
+
position="right"
|
|
6
|
+
color="info"
|
|
7
|
+
[contentTemplate]="tooltipContent"
|
|
8
|
+
[attr.data-cy]="'data-cy-tooltip-trigger'"
|
|
9
|
+
[attr.data-cy-tooltipcontent]="'data-cy-tooltip-content'"
|
|
10
|
+
>
|
|
11
|
+
info
|
|
12
|
+
</mat-icon>
|
|
13
|
+
<ng-template #tooltipContent>
|
|
14
|
+
I am a custom content with html (position: <b>right</b>) but there are 3
|
|
15
|
+
other positions
|
|
16
|
+
<ul>
|
|
17
|
+
<li>left</li>
|
|
18
|
+
<li>top</li>
|
|
19
|
+
<li>bottom</li>
|
|
20
|
+
</ul>
|
|
21
|
+
</ng-template>
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<div class="demo-tooltip">
|
|
25
|
+
<mat-icon
|
|
26
|
+
OnemrvaMatTooltip
|
|
27
|
+
position="left"
|
|
28
|
+
color="info"
|
|
29
|
+
[contentTemplate]="tooltipContent2"
|
|
30
|
+
[attr.data-cy]="'data-cy-tooltip-trigger'"
|
|
31
|
+
[attr.data-cy-tooltipcontent2]="'data-cy-tooltip-content'"
|
|
32
|
+
>
|
|
33
|
+
info
|
|
34
|
+
</mat-icon>
|
|
35
|
+
<ng-template #tooltipContent2>
|
|
36
|
+
I am a custom content (position: <b>left</b>)
|
|
37
|
+
</ng-template>
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
<div class="demo-tooltip">
|
|
41
|
+
<mat-icon
|
|
42
|
+
OnemrvaMatTooltip
|
|
43
|
+
position="top"
|
|
44
|
+
color="info"
|
|
45
|
+
[contentTemplate]="tooltipContent3"
|
|
46
|
+
[attr.data-cy]="'data-cy-tooltip-trigger'"
|
|
47
|
+
[attr.data-cy-tooltipcontent3]="'data-cy-tooltip-content'"
|
|
48
|
+
>
|
|
49
|
+
info
|
|
50
|
+
</mat-icon>
|
|
51
|
+
<ng-template #tooltipContent3>
|
|
52
|
+
<div style="color: pink">
|
|
53
|
+
I am a custom content with html (position: <b>top</b>)
|
|
54
|
+
</div></ng-template
|
|
55
|
+
>
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
<div class="demo-tooltip">
|
|
59
|
+
<mat-icon
|
|
60
|
+
OnemrvaMatTooltip
|
|
61
|
+
position="bottom"
|
|
62
|
+
color="info"
|
|
63
|
+
[contentTemplate]="tooltipContent4"
|
|
64
|
+
[attr.data-cy]="'data-cy-tooltip-trigger'"
|
|
65
|
+
[attr.data-cy-tooltipcontent4]="'data-cy-tooltip-content'"
|
|
66
|
+
>
|
|
67
|
+
info
|
|
68
|
+
</mat-icon>
|
|
69
|
+
<ng-template #tooltipContent4>
|
|
70
|
+
I am a custom content (position: <b>bottom</b>)
|
|
71
|
+
</ng-template>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component } from '@angular/core';
|
|
3
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
4
|
+
import { OnemrvaMatTooltipModule } from '../../../../../onemrva/design-system/mat-tooltip';
|
|
5
|
+
import { OnemrvaMaterialModule } from '../../material.module';
|
|
6
|
+
|
|
7
|
+
@Component({
|
|
8
|
+
selector: 'app-demo-tooltip',
|
|
9
|
+
standalone: true,
|
|
10
|
+
imports: [CommonModule, OnemrvaMatTooltipModule, MatIconModule],
|
|
11
|
+
templateUrl: 'demo-tooltip.component.html',
|
|
12
|
+
styleUrls: ['./demo-tooltip.component.scss'],
|
|
13
|
+
})
|
|
14
|
+
export class DemoTooltipComponent {}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { routes } from './routes';
|
|
3
|
+
import { OnemrvaMatTableOfContentService } from '../../../onemrva/design-system/mat-table-of-content/src/onemrva-mat-table-of-content.service';
|
|
4
|
+
import {
|
|
5
|
+
OnemrvaMatTocAnchorLevel,
|
|
6
|
+
OnemrvaMatTocAnchorStatus,
|
|
7
|
+
} from '../../../onemrva/design-system/mat-table-of-content/';
|
|
8
|
+
|
|
9
|
+
@Component({
|
|
10
|
+
selector: 'app-home',
|
|
11
|
+
template: `
|
|
12
|
+
<div style="margin-left: 300px; display: flex; flex-flow: row wrap">
|
|
13
|
+
<div
|
|
14
|
+
style="flex: 1 0 500px;"
|
|
15
|
+
*ngFor="let route of routes; let i = index"
|
|
16
|
+
[routerLink]="route.path"
|
|
17
|
+
[attr.data-cy]="route.path"
|
|
18
|
+
[onemrvaMatToc]="anchorParam[i]"
|
|
19
|
+
role="link"
|
|
20
|
+
>
|
|
21
|
+
<a>{{ route.path }}</a>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<onemrva-mat-table-of-content
|
|
26
|
+
titleKey="toc"
|
|
27
|
+
tocName="test"
|
|
28
|
+
></onemrva-mat-table-of-content>
|
|
29
|
+
`,
|
|
30
|
+
})
|
|
31
|
+
export class HomeComponent {
|
|
32
|
+
routes = routes.filter((route) => route.path !== '');
|
|
33
|
+
|
|
34
|
+
anchorParam = this.routes.map((route, order) => {
|
|
35
|
+
if (order === 0 || order === 7 || order === 11) {
|
|
36
|
+
return {
|
|
37
|
+
tocName: 'test',
|
|
38
|
+
titleKey: 'title - ' + route.path,
|
|
39
|
+
path: '#' + route.path,
|
|
40
|
+
status: OnemrvaMatTocAnchorStatus.CHECKMARK,
|
|
41
|
+
level: OnemrvaMatTocAnchorLevel.SECTION,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
tocName: 'test',
|
|
46
|
+
titleKey: 'title - ' + route.path,
|
|
47
|
+
path: '#' + route.path,
|
|
48
|
+
level: OnemrvaMatTocAnchorLevel.SUBSECTION,
|
|
49
|
+
status: OnemrvaMatTocAnchorStatus.WARNING,
|
|
50
|
+
};
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
constructor(public tocService: OnemrvaMatTableOfContentService) {}
|
|
54
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
import { OnemrvaMatAvatarModule } from '../../../onemrva/design-system/mat-avatar';
|
|
4
|
+
import { OnemrvaMatBadgeModule } from '../../../onemrva/design-system/mat-badge';
|
|
5
|
+
import { OnemrvaMatBreadcrumbModule } from '../../../onemrva/design-system/mat-breadcrumb';
|
|
6
|
+
import { OnemrvaMatFileUploadModule } from '../../../onemrva/design-system/mat-file-upload';
|
|
7
|
+
import { OnemrvaMatMessageBoxModule } from '../../../onemrva/design-system/mat-message-box';
|
|
8
|
+
import { OnemrvaMatMultiSelectModule } from '../../../onemrva/design-system/mat-multi-select';
|
|
9
|
+
import { OnemrvaMatPaginatorModule } from '../../../onemrva/design-system/mat-paginator';
|
|
10
|
+
import { OnemrvaMatPanelModule } from '../../../onemrva/design-system/mat-panel';
|
|
11
|
+
import { OnemrvaMatPopOverModule } from '../../../onemrva/design-system/mat-pop-over';
|
|
12
|
+
import { OnemrvaMatSideMenuModule } from '../../../onemrva/design-system/mat-side-menu';
|
|
13
|
+
import { OnemrvaMatStepperModule } from '../../../onemrva/design-system/mat-stepper';
|
|
14
|
+
import { OnemrvaMatTimepickerModule } from '../../../onemrva/design-system/mat-timepicker';
|
|
15
|
+
import { OnemrvaMatToastModule } from '../../../onemrva/design-system/mat-toast';
|
|
16
|
+
import { OnemrvaPageNotFoundModule } from '../../../onemrva/design-system/page-not-found';
|
|
17
|
+
|
|
18
|
+
const onemrvaMatModules = [
|
|
19
|
+
OnemrvaMatAvatarModule,
|
|
20
|
+
OnemrvaMatBadgeModule,
|
|
21
|
+
OnemrvaMatBreadcrumbModule,
|
|
22
|
+
OnemrvaMatFileUploadModule,
|
|
23
|
+
OnemrvaMatMessageBoxModule,
|
|
24
|
+
OnemrvaMatMultiSelectModule,
|
|
25
|
+
OnemrvaMatPaginatorModule,
|
|
26
|
+
OnemrvaMatPanelModule,
|
|
27
|
+
OnemrvaMatPopOverModule,
|
|
28
|
+
OnemrvaMatSideMenuModule,
|
|
29
|
+
OnemrvaMatStepperModule,
|
|
30
|
+
OnemrvaMatTimepickerModule,
|
|
31
|
+
OnemrvaMatToastModule,
|
|
32
|
+
OnemrvaPageNotFoundModule,
|
|
33
|
+
];
|
|
34
|
+
|
|
35
|
+
@NgModule({
|
|
36
|
+
imports: [...onemrvaMatModules],
|
|
37
|
+
exports: [...onemrvaMatModules],
|
|
38
|
+
})
|
|
39
|
+
export class OnemrvaMaterialModule {}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { forkJoin, Observable, of } from 'rxjs';
|
|
3
|
+
import { catchError, map } from 'rxjs/operators';
|
|
4
|
+
import {TranslateLoader} from "@ngx-translate/core";
|
|
5
|
+
|
|
6
|
+
export class OnemrvaTranslateHttpLoader implements TranslateLoader {
|
|
7
|
+
constructor(
|
|
8
|
+
private http: HttpClient,
|
|
9
|
+
public prefix: string = '/assets/i18n/',
|
|
10
|
+
public suffix: string = '.json',
|
|
11
|
+
public modules: string[] = []
|
|
12
|
+
) {}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Gets the translations from the server
|
|
16
|
+
*/
|
|
17
|
+
public getTranslation(lang: string): Observable<Object> {
|
|
18
|
+
const observables = [
|
|
19
|
+
this.http.get(`${this.prefix}${lang}${this.suffix}`).pipe(catchError(() => of(null))),
|
|
20
|
+
...this.modules.map((m) => {
|
|
21
|
+
this.http.get(`${this.prefix}${m}/${lang}${this.suffix}`).pipe(
|
|
22
|
+
catchError(() => of(null))
|
|
23
|
+
)
|
|
24
|
+
//console.log(`${this.prefix}${m}/${lang}${this.suffix}`);
|
|
25
|
+
}
|
|
26
|
+
),
|
|
27
|
+
];
|
|
28
|
+
|
|
29
|
+
return forkJoin(observables).pipe(
|
|
30
|
+
map((all) => {
|
|
31
|
+
return (all.filter((v) => !!v) as Object[]).reduce((s, c) => ({ ...s, ...c }), {});
|
|
32
|
+
})
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
}
|