awf-test-lib 0.0.3 → 0.0.13

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.
Files changed (101) hide show
  1. package/README.md +24 -24
  2. package/esm2020/lib/core/application/consomer-portal/menu-consomer/menu-consomer.component.mjs +27 -0
  3. package/esm2020/lib/core/application/ge-portal/menu-ge-portal/menu-ge-portal.component.mjs +31 -0
  4. package/esm2020/lib/core/application/warranty-portal/menu-warranty/menu-warranty.component.mjs +35 -0
  5. package/esm2020/lib/core/core-routing.module.mjs +18 -0
  6. package/esm2020/lib/core/core.module.mjs +51 -0
  7. package/esm2020/lib/core/menu/menu.component.mjs +40 -0
  8. package/esm2020/lib/core/not-found/not-found.component.mjs +21 -0
  9. package/esm2020/lib/core/top-bar/top-bar.component.mjs +41 -0
  10. package/esm2020/lib/ge/ge-routing.module.mjs +18 -0
  11. package/esm2020/lib/ge/ge.module.mjs +38 -0
  12. package/esm2020/lib/ge/system-list/system-list.component.mjs +32 -0
  13. package/esm2020/lib/models/account.model.mjs +3 -0
  14. package/esm2020/lib/models/alternativeDate.model.mjs +3 -0
  15. package/esm2020/lib/models/applicationName.mjs +7 -0
  16. package/esm2020/lib/models/cancelPMMailRequest.model.mjs +4 -0
  17. package/esm2020/lib/models/contactRequest.model.mjs +3 -0
  18. package/esm2020/lib/models/customObject.model.mjs +3 -0
  19. package/esm2020/lib/models/detailedPmJob.model.mjs +3 -0
  20. package/esm2020/lib/models/emailStatus.mjs +6 -0
  21. package/esm2020/lib/models/emailType.mjs +8 -0
  22. package/esm2020/lib/models/eventStatus.mjs +9 -0
  23. package/esm2020/lib/models/field.mjs +9 -0
  24. package/esm2020/lib/models/language.mjs +7 -0
  25. package/esm2020/lib/models/mailRequest.model.mjs +3 -0
  26. package/esm2020/lib/models/pMGroupedJob.model.mjs +3 -0
  27. package/esm2020/lib/models/pmJob.model.mjs +3 -0
  28. package/esm2020/lib/models/pmJobRequest.model.mjs +3 -0
  29. package/esm2020/lib/models/pmJobStatus.mjs +12 -0
  30. package/esm2020/lib/models/reportDateMailRequest.model.mjs +4 -0
  31. package/esm2020/lib/models/role.mjs +7 -0
  32. package/esm2020/lib/models/service.model.mjs +3 -0
  33. package/esm2020/lib/models/serviceName.mjs +12 -0
  34. package/esm2020/lib/models/socialLoginRequest.model.mjs +3 -0
  35. package/esm2020/lib/models/socialMadia.mjs +5 -0
  36. package/esm2020/lib/models/system.mjs +3 -0
  37. package/esm2020/lib/models/theme.model.mjs +2 -0
  38. package/esm2020/lib/models/tokenStatus.mjs +7 -0
  39. package/esm2020/lib/models/warranty.mjs +3 -0
  40. package/esm2020/lib/pipes/pipes/pipes.module.mjs +21 -0
  41. package/esm2020/lib/pipes/subrtring-w.pipe.mjs +20 -0
  42. package/esm2020/lib/pipes/substring.pipe.mjs +16 -0
  43. package/esm2020/public-api.mjs +41 -3
  44. package/fesm2015/awf-test-lib.mjs +475 -25
  45. package/fesm2015/awf-test-lib.mjs.map +1 -1
  46. package/fesm2020/awf-test-lib.mjs +474 -25
  47. package/fesm2020/awf-test-lib.mjs.map +1 -1
  48. package/{awf-test-lib.d.ts → index.d.ts} +0 -0
  49. package/lib/core/application/consomer-portal/menu-consomer/menu-consomer.component.d.ts +12 -0
  50. package/lib/core/application/ge-portal/menu-ge-portal/menu-ge-portal.component.d.ts +13 -0
  51. package/lib/core/application/warranty-portal/menu-warranty/menu-warranty.component.d.ts +15 -0
  52. package/lib/core/core-routing.module.d.ts +7 -0
  53. package/lib/core/core.module.d.ts +15 -0
  54. package/lib/core/menu/menu.component.d.ts +17 -0
  55. package/lib/core/not-found/not-found.component.d.ts +10 -0
  56. package/lib/core/top-bar/top-bar.component.d.ts +13 -0
  57. package/lib/ge/ge-routing.module.d.ts +7 -0
  58. package/lib/ge/ge.module.d.ts +12 -0
  59. package/lib/ge/system-list/system-list.component.d.ts +15 -0
  60. package/lib/models/account.model.d.ts +14 -0
  61. package/lib/models/alternativeDate.model.d.ts +6 -0
  62. package/lib/models/applicationName.d.ts +5 -0
  63. package/lib/models/cancelPMMailRequest.model.d.ts +5 -0
  64. package/lib/models/contactRequest.model.d.ts +8 -0
  65. package/lib/models/customObject.model.d.ts +3 -0
  66. package/lib/models/detailedPmJob.model.d.ts +10 -0
  67. package/lib/models/emailStatus.d.ts +4 -0
  68. package/lib/models/emailType.d.ts +6 -0
  69. package/lib/models/eventStatus.d.ts +7 -0
  70. package/lib/models/field.d.ts +7 -0
  71. package/lib/models/language.d.ts +5 -0
  72. package/lib/models/mailRequest.model.d.ts +16 -0
  73. package/lib/models/pMGroupedJob.model.d.ts +3 -0
  74. package/lib/models/pmJob.model.d.ts +25 -0
  75. package/lib/models/pmJobRequest.model.d.ts +5 -0
  76. package/lib/models/pmJobStatus.d.ts +10 -0
  77. package/lib/models/reportDateMailRequest.model.d.ts +5 -0
  78. package/lib/models/role.d.ts +5 -0
  79. package/lib/models/service.model.d.ts +8 -0
  80. package/lib/models/serviceName.d.ts +10 -0
  81. package/lib/models/socialLoginRequest.model.d.ts +6 -0
  82. package/lib/models/socialMadia.d.ts +3 -0
  83. package/lib/models/system.d.ts +11 -0
  84. package/lib/models/theme.model.d.ts +38 -0
  85. package/lib/models/tokenStatus.d.ts +5 -0
  86. package/lib/models/warranty.d.ts +17 -0
  87. package/lib/pipes/pipes/pipes.module.d.ts +9 -0
  88. package/lib/pipes/subrtring-w.pipe.d.ts +7 -0
  89. package/lib/pipes/substring.pipe.d.ts +7 -0
  90. package/package.json +5 -5
  91. package/public-api.d.ts +38 -2
  92. package/esm2020/lib/awf-test-lib.component.mjs +0 -26
  93. package/esm2020/lib/awf-test-lib.module.mjs +0 -21
  94. package/esm2020/lib/awf-test-lib.service.mjs +0 -14
  95. package/esm2020/lib/mon-module/mon-module.module.mjs +0 -28
  96. package/esm2020/lib/mon-module/test/test.component.mjs +0 -15
  97. package/lib/awf-test-lib.component.d.ts +0 -8
  98. package/lib/awf-test-lib.module.d.ts +0 -7
  99. package/lib/awf-test-lib.service.d.ts +0 -6
  100. package/lib/mon-module/mon-module.module.d.ts +0 -9
  101. package/lib/mon-module/test/test.component.d.ts +0 -8
@@ -1,44 +1,493 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, NgModule } from '@angular/core';
2
+ import { NgModule, EventEmitter, Component, Input, Output, Pipe, ViewChild } from '@angular/core';
3
+ import * as i1$1 from '@angular/common';
3
4
  import { CommonModule } from '@angular/common';
4
- import * as i1 from 'primeng/button';
5
- import { ButtonModule } from 'primeng/button';
5
+ import * as i2 from '@angular/router';
6
+ import { RouterModule } from '@angular/router';
7
+ import * as i1 from 'primeng/megamenu';
8
+ import { MegaMenuModule } from 'primeng/megamenu';
9
+ import * as i2$1 from 'primeng/api';
10
+ import { MessageService } from 'primeng/api';
11
+ import * as i1$2 from 'primeng/table';
12
+ import { TableModule } from 'primeng/table';
13
+ import * as i3 from 'primeng/inputtext';
14
+ import { InputTextModule } from 'primeng/inputtext';
6
15
 
7
- class TestComponent {
8
- constructor() { }
16
+ const routes$1 = [];
17
+ class CoreRoutingModule {
18
+ }
19
+ CoreRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CoreRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
20
+ CoreRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: CoreRoutingModule, imports: [i2.RouterModule], exports: [RouterModule] });
21
+ CoreRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CoreRoutingModule, imports: [RouterModule.forChild(routes$1), RouterModule] });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CoreRoutingModule, decorators: [{
23
+ type: NgModule,
24
+ args: [{
25
+ imports: [RouterModule.forChild(routes$1)],
26
+ exports: [RouterModule]
27
+ }]
28
+ }] });
29
+
30
+ class TopBarComponent {
31
+ constructor() {
32
+ this.logOutClick = new EventEmitter();
33
+ }
34
+ ngOnChanges() {
35
+ this.items = [
36
+ {
37
+ label: this.translate.parameters, icon: 'pi pi-fw pi-user',
38
+ items: [
39
+ [
40
+ {
41
+ label: this.translate.account,
42
+ items: [
43
+ { label: this.translate.logout, icon: 'pi pi-fw pi-power-off', command: () => { this.logout(); } },
44
+ ]
45
+ },
46
+ ],
47
+ ]
48
+ }
49
+ ];
50
+ }
51
+ logout() {
52
+ this.logOutClick.emit();
53
+ }
54
+ }
55
+ TopBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: TopBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
56
+ TopBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: TopBarComponent, selector: "awf-top-bar", inputs: { translate: "translate", applicationName: "applicationName" }, outputs: { logOutClick: "logOutClick" }, usesOnChanges: true, ngImport: i0, template: "<p-megaMenu [model]=\"items\"></p-megaMenu>", styles: ["body{background:#f6f7f8}#main{margin-top:60px;padding:20px 30px;transition:all .3s}.layout-topbar .toggle-sidebar-btn{font-size:26px;padding-left:10px;cursor:pointer;color:var(--secondarycolor)}.layout-topbar .search-bar{min-width:650px;padding:0 20px}@media (max-width: var(--smallscreen)){.layout-topbar .search-bar{position:fixed;top:50px;left:0;right:0;padding:20px;box-shadow:0 0 15px #0129701a;background:var(--primarycolorwhite);z-index:9999;transition:.3s;visibility:hidden;opacity:0;min-width:432px}}@media (max-width: var(--largescreen)){.layout-topbar .search-bar-show{top:60px;visibility:visible;opacity:1}}.layout-topbar .search-form{width:100%}.layout-topbar .search-form input{border:0;font-size:14px;color:#012970;border:1px solid rgba(1,41,112,.2);padding:7px 38px 7px 8px;border-radius:3px;transition:.3s;width:500px}.layout-topbar .search-form input:hover,.layout-topbar .search-form input:focus{outline:none;box-shadow:0 0 10px #01297026;border:1px solid rgba(1,41,112,.3)}@media (max-width: var(--largescreen)){.layout-topbar .search-form input{width:100%}}.layout-topbar .search-form button{border:0;margin-left:-70px;background:#f8f9fa;padding:5px 26px;border-left:1px solid rgba(1,41,112,.2);border-radius:0 0 5px}.topbar-menu ul{margin:0;padding:0;list-style:none}.topbar-menu .nav-profile img{max-height:36px}.topbar-menu .nav-profile span{font-size:14px;font-weight:600}.topbar-menu .profile{min-width:240px;padding-bottom:0}.topbar-menu .profile .dropdown-header h6{font-size:18px;margin-bottom:0;font-weight:600;color:#444}.topbar-menu .profile .dropdown-header span{font-size:14px}.p-megamenu{background:transparent;border:none}.p-megamenu .p-menuitem-link .p-menuitem-text{line-height:20px}.p-megamenu .p-megamenu-grid .p-menuitem-link:not(.p-disabled):hover{background:#e9ecef;border-left:4px solid var(--primarycolor)}.p-megamenu-panel .p-megamenu-col-12{padding:.5rem 0}\n"], dependencies: [{ kind: "component", type: i1.MegaMenu, selector: "p-megaMenu", inputs: ["model", "style", "styleClass", "orientation", "autoZIndex", "baseZIndex"] }] });
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: TopBarComponent, decorators: [{
58
+ type: Component,
59
+ args: [{ selector: 'awf-top-bar', template: "<p-megaMenu [model]=\"items\"></p-megaMenu>", styles: ["body{background:#f6f7f8}#main{margin-top:60px;padding:20px 30px;transition:all .3s}.layout-topbar .toggle-sidebar-btn{font-size:26px;padding-left:10px;cursor:pointer;color:var(--secondarycolor)}.layout-topbar .search-bar{min-width:650px;padding:0 20px}@media (max-width: var(--smallscreen)){.layout-topbar .search-bar{position:fixed;top:50px;left:0;right:0;padding:20px;box-shadow:0 0 15px #0129701a;background:var(--primarycolorwhite);z-index:9999;transition:.3s;visibility:hidden;opacity:0;min-width:432px}}@media (max-width: var(--largescreen)){.layout-topbar .search-bar-show{top:60px;visibility:visible;opacity:1}}.layout-topbar .search-form{width:100%}.layout-topbar .search-form input{border:0;font-size:14px;color:#012970;border:1px solid rgba(1,41,112,.2);padding:7px 38px 7px 8px;border-radius:3px;transition:.3s;width:500px}.layout-topbar .search-form input:hover,.layout-topbar .search-form input:focus{outline:none;box-shadow:0 0 10px #01297026;border:1px solid rgba(1,41,112,.3)}@media (max-width: var(--largescreen)){.layout-topbar .search-form input{width:100%}}.layout-topbar .search-form button{border:0;margin-left:-70px;background:#f8f9fa;padding:5px 26px;border-left:1px solid rgba(1,41,112,.2);border-radius:0 0 5px}.topbar-menu ul{margin:0;padding:0;list-style:none}.topbar-menu .nav-profile img{max-height:36px}.topbar-menu .nav-profile span{font-size:14px;font-weight:600}.topbar-menu .profile{min-width:240px;padding-bottom:0}.topbar-menu .profile .dropdown-header h6{font-size:18px;margin-bottom:0;font-weight:600;color:#444}.topbar-menu .profile .dropdown-header span{font-size:14px}.p-megamenu{background:transparent;border:none}.p-megamenu .p-menuitem-link .p-menuitem-text{line-height:20px}.p-megamenu .p-megamenu-grid .p-menuitem-link:not(.p-disabled):hover{background:#e9ecef;border-left:4px solid var(--primarycolor)}.p-megamenu-panel .p-megamenu-col-12{padding:.5rem 0}\n"] }]
60
+ }], ctorParameters: function () { return []; }, propDecorators: { translate: [{
61
+ type: Input
62
+ }], applicationName: [{
63
+ type: Input
64
+ }], logOutClick: [{
65
+ type: Output
66
+ }] } });
67
+
68
+ class MenuWarrantyComponent {
69
+ constructor() {
70
+ this.logOutClick = new EventEmitter();
71
+ this.hideMenu = new EventEmitter();
72
+ }
9
73
  ngOnInit() {
10
74
  }
75
+ logout() {
76
+ this.logOutClick.emit();
77
+ }
78
+ hideMenuMethode() {
79
+ this.hideMenu.emit();
80
+ }
81
+ }
82
+ MenuWarrantyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MenuWarrantyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
83
+ MenuWarrantyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MenuWarrantyComponent, selector: "app-menu-warranty", inputs: { isAdmin: "isAdmin", translate: "translate", haveConsumerDataId: "haveConsumerDataId" }, outputs: { logOutClick: "logOutClick", hideMenu: "hideMenu" }, ngImport: i0, template: "<div class=\"layout-menu\" *ngIf=\"translate\">\r\n <div class=\"menu-category\"> <i class=\"pi pi-home\"></i> {{translate.general}}</div>\r\n <div class=\"menu-items\">\r\n <a routerLink=\"./warranties\" (click)=\"hideMenuMethode()\">{{translate.Homepage}}</a>\r\n <a routerLink=\"./device\" (click)=\"hideMenuMethode()\">{{translate.devices}}</a>\r\n </div>\r\n <div class=\"menu-category\" *ngIf=\"isAdmin \"> <i class=\"pi pi-cog\"></i> {{translate.config}}</div>\r\n <div class=\"menu-items\" *ngIf=\"isAdmin \">\r\n\r\n <a routerLink=\"./theme\" (click)=\"hideMenuMethode()\">{{translate.themes}}</a>\r\n <a routerLink=\"./servicesConfig\" (click)=\"hideMenuMethode()\">{{translate.services}}</a>\r\n </div>\r\n <div class=\"menu-category\"> <i class=\"pi pi-user\"></i> {{translate.account}}</div>\r\n <div class=\"menu-items\">\r\n <a routerLink=\"./account\" *ngIf=\"haveConsumerDataId\" (click)=\"hideMenuMethode()\">{{translate.personalData}}</a>\r\n <a routerLink=\"./account/optionsList\" *ngIf=\"haveConsumerDataId\" (click)=\"hideMenuMethode()\">{{translate.optionsList}}</a>\r\n <a routerLink=\"./account/change-password\" *ngIf=\"haveConsumerDataId\" (click)=\"hideMenuMethode()\">{{translate.changePassword}}</a>\r\n <a (click)=\"logout()\">{{translate.logout}}</a>\r\n </div>\r\n</div>", styles: [".layout-menu .logo img{width:150px;max-height:20px;margin-left:24px}@media (max-width: var(--smscreen)){.layout-menu .logo img{max-height:33px;margin-left:0}}.layout-menu .a{font-family:var(--font)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MenuWarrantyComponent, decorators: [{
85
+ type: Component,
86
+ args: [{ selector: 'app-menu-warranty', template: "<div class=\"layout-menu\" *ngIf=\"translate\">\r\n <div class=\"menu-category\"> <i class=\"pi pi-home\"></i> {{translate.general}}</div>\r\n <div class=\"menu-items\">\r\n <a routerLink=\"./warranties\" (click)=\"hideMenuMethode()\">{{translate.Homepage}}</a>\r\n <a routerLink=\"./device\" (click)=\"hideMenuMethode()\">{{translate.devices}}</a>\r\n </div>\r\n <div class=\"menu-category\" *ngIf=\"isAdmin \"> <i class=\"pi pi-cog\"></i> {{translate.config}}</div>\r\n <div class=\"menu-items\" *ngIf=\"isAdmin \">\r\n\r\n <a routerLink=\"./theme\" (click)=\"hideMenuMethode()\">{{translate.themes}}</a>\r\n <a routerLink=\"./servicesConfig\" (click)=\"hideMenuMethode()\">{{translate.services}}</a>\r\n </div>\r\n <div class=\"menu-category\"> <i class=\"pi pi-user\"></i> {{translate.account}}</div>\r\n <div class=\"menu-items\">\r\n <a routerLink=\"./account\" *ngIf=\"haveConsumerDataId\" (click)=\"hideMenuMethode()\">{{translate.personalData}}</a>\r\n <a routerLink=\"./account/optionsList\" *ngIf=\"haveConsumerDataId\" (click)=\"hideMenuMethode()\">{{translate.optionsList}}</a>\r\n <a routerLink=\"./account/change-password\" *ngIf=\"haveConsumerDataId\" (click)=\"hideMenuMethode()\">{{translate.changePassword}}</a>\r\n <a (click)=\"logout()\">{{translate.logout}}</a>\r\n </div>\r\n</div>", styles: [".layout-menu .logo img{width:150px;max-height:20px;margin-left:24px}@media (max-width: var(--smscreen)){.layout-menu .logo img{max-height:33px;margin-left:0}}.layout-menu .a{font-family:var(--font)}\n"] }]
87
+ }], ctorParameters: function () { return []; }, propDecorators: { logOutClick: [{
88
+ type: Output
89
+ }], hideMenu: [{
90
+ type: Output
91
+ }], isAdmin: [{
92
+ type: Input
93
+ }], translate: [{
94
+ type: Input
95
+ }], haveConsumerDataId: [{
96
+ type: Input
97
+ }] } });
98
+
99
+ class MenuConsomerComponent {
100
+ constructor() {
101
+ this.logOutClick = new EventEmitter();
102
+ }
103
+ ngOnChanges() {
104
+ }
105
+ logout() {
106
+ this.logOutClick.emit();
107
+ }
11
108
  }
12
- TestComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: TestComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
13
- TestComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: TestComponent, selector: "lib-test", ngImport: i0, template: "<p-button class=\"test\" label=\"home button\"></p-button>", styles: [".test{color:var(--primarycolor)}\n"], components: [{ type: i1.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "style", "styleClass", "badgeClass", "ariaLabel"], outputs: ["onClick", "onFocus", "onBlur"] }] });
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: TestComponent, decorators: [{
109
+ MenuConsomerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MenuConsomerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
110
+ MenuConsomerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MenuConsomerComponent, selector: "app-menu-consomer", inputs: { translate: "translate", isAdmin: "isAdmin" }, outputs: { logOutClick: "logOutClick" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"layout-menu\" *ngIf=\"translate\">\r\n <div class=\"menu-category\"> <i class=\"pi pi-home\"></i> {{translate.general}}</div>\r\n <div class=\"menu-items\">\r\n <a routerLink=\"./\">{{translate.Homepage}}</a>\r\n <a routerLink=\"./device\">{{translate.myDevices}}</a>\r\n <a routerLink=\"./personalData\">{{translate.personalData}}</a>\r\n </div>\r\n \r\n <div class=\"menu-category\" *ngIf=\"isAdmin \"> <i class=\"pi pi-cog\"></i> {{translate.config}}</div>\r\n <div class=\"menu-items\" *ngIf=\"isAdmin \">\r\n <a routerLink=\"./theme\">{{translate.themes}}</a>\r\n <a routerLink=\"./servicesConfig\">{{translate.services}}</a>\r\n </div>\r\n\r\n <div class=\"menu-category\"> <i class=\"pi pi-user\"></i> {{translate.account}}</div>\r\n <div class=\"menu-items\">\r\n <a >{{translate.profile}}</a>\r\n <a (click)=\"logout()\">{{translate.logout}}</a>\r\n </div>\r\n</div>\r\n", styles: [".layout-menu .logo img{width:150px;max-height:20px;margin-left:24px}@media (max-width: var(--smscreen)){.layout-menu .logo img{max-height:33px;margin-left:0}}.layout-menu .a{font-family:var(--font)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MenuConsomerComponent, decorators: [{
15
112
  type: Component,
16
- args: [{ selector: 'lib-test', template: "<p-button class=\"test\" label=\"home button\"></p-button>", styles: [".test{color:var(--primarycolor)}\n"] }]
17
- }], ctorParameters: function () { return []; } });
18
-
19
- class MonModuleModule {
20
- }
21
- MonModuleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MonModuleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
22
- MonModuleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MonModuleModule, declarations: [TestComponent], imports: [CommonModule,
23
- ButtonModule], exports: [TestComponent] });
24
- MonModuleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MonModuleModule, imports: [[
25
- CommonModule,
26
- ButtonModule
27
- ]] });
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MonModuleModule, decorators: [{
113
+ args: [{ selector: 'app-menu-consomer', template: "<div class=\"layout-menu\" *ngIf=\"translate\">\r\n <div class=\"menu-category\"> <i class=\"pi pi-home\"></i> {{translate.general}}</div>\r\n <div class=\"menu-items\">\r\n <a routerLink=\"./\">{{translate.Homepage}}</a>\r\n <a routerLink=\"./device\">{{translate.myDevices}}</a>\r\n <a routerLink=\"./personalData\">{{translate.personalData}}</a>\r\n </div>\r\n \r\n <div class=\"menu-category\" *ngIf=\"isAdmin \"> <i class=\"pi pi-cog\"></i> {{translate.config}}</div>\r\n <div class=\"menu-items\" *ngIf=\"isAdmin \">\r\n <a routerLink=\"./theme\">{{translate.themes}}</a>\r\n <a routerLink=\"./servicesConfig\">{{translate.services}}</a>\r\n </div>\r\n\r\n <div class=\"menu-category\"> <i class=\"pi pi-user\"></i> {{translate.account}}</div>\r\n <div class=\"menu-items\">\r\n <a >{{translate.profile}}</a>\r\n <a (click)=\"logout()\">{{translate.logout}}</a>\r\n </div>\r\n</div>\r\n", styles: [".layout-menu .logo img{width:150px;max-height:20px;margin-left:24px}@media (max-width: var(--smscreen)){.layout-menu .logo img{max-height:33px;margin-left:0}}.layout-menu .a{font-family:var(--font)}\n"] }]
114
+ }], ctorParameters: function () { return []; }, propDecorators: { logOutClick: [{
115
+ type: Output
116
+ }], translate: [{
117
+ type: Input
118
+ }], isAdmin: [{
119
+ type: Input
120
+ }] } });
121
+
122
+ class MenuGePortalComponent {
123
+ constructor() {
124
+ this.logOutClick = new EventEmitter();
125
+ this.hideMenu = new EventEmitter();
126
+ }
127
+ logout() {
128
+ this.logOutClick.emit();
129
+ }
130
+ hideMenuMethode() {
131
+ this.hideMenu.emit();
132
+ }
133
+ }
134
+ MenuGePortalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MenuGePortalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
135
+ MenuGePortalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MenuGePortalComponent, selector: "app-menu-ge-portal", inputs: { translate: "translate", isAdmin: "isAdmin" }, outputs: { logOutClick: "logOutClick", hideMenu: "hideMenu" }, ngImport: i0, template: "<div class=\"layout-menu\" *ngIf=\"translate\">\r\n <div class=\"menu\" routerLink=\"./\" (click)=\"hideMenuMethode()\"> <i class=\"pi pi-home\"></i> {{translate.home}}</div>\r\n <div class=\"menu\" routerLink=\"./contact\" (click)=\"hideMenuMethode()\"> <i class=\"pi pi-phone\"></i> {{translate.contact}}</div>\r\n <div class=\"menu\" routerLink=\"./systems\" (click)=\"hideMenuMethode()\"> <i class=\"pi pi-eye\"></i> {{translate.systems}}</div>\r\n <div class=\"menu\" routerLink=\"./maintenance\" (click)=\"hideMenuMethode()\"> <i class=\"pi pi-inbox\"></i> {{translate.maintenance}}</div>\r\n <div class=\"menu\" (click)=\"logout()\"> <i class=\"pi pi-power-off\"></i> {{translate.logout}}</div>\r\n</div> ", styles: [".layout-menu{margin-left:50px}.layout-menu .menu{display:block;color:#8da1b5;font-weight:300;padding:1rem 0 .5rem;font-size:16px;cursor:pointer}.layout-menu .menu:hover{font-weight:700;color:var(--primarycolor)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MenuGePortalComponent, decorators: [{
137
+ type: Component,
138
+ args: [{ selector: 'app-menu-ge-portal', template: "<div class=\"layout-menu\" *ngIf=\"translate\">\r\n <div class=\"menu\" routerLink=\"./\" (click)=\"hideMenuMethode()\"> <i class=\"pi pi-home\"></i> {{translate.home}}</div>\r\n <div class=\"menu\" routerLink=\"./contact\" (click)=\"hideMenuMethode()\"> <i class=\"pi pi-phone\"></i> {{translate.contact}}</div>\r\n <div class=\"menu\" routerLink=\"./systems\" (click)=\"hideMenuMethode()\"> <i class=\"pi pi-eye\"></i> {{translate.systems}}</div>\r\n <div class=\"menu\" routerLink=\"./maintenance\" (click)=\"hideMenuMethode()\"> <i class=\"pi pi-inbox\"></i> {{translate.maintenance}}</div>\r\n <div class=\"menu\" (click)=\"logout()\"> <i class=\"pi pi-power-off\"></i> {{translate.logout}}</div>\r\n</div> ", styles: [".layout-menu{margin-left:50px}.layout-menu .menu{display:block;color:#8da1b5;font-weight:300;padding:1rem 0 .5rem;font-size:16px;cursor:pointer}.layout-menu .menu:hover{font-weight:700;color:var(--primarycolor)}\n"] }]
139
+ }], ctorParameters: function () { return []; }, propDecorators: { logOutClick: [{
140
+ type: Output
141
+ }], translate: [{
142
+ type: Input
143
+ }], isAdmin: [{
144
+ type: Input
145
+ }], hideMenu: [{
146
+ type: Output
147
+ }] } });
148
+
149
+ class NotFoundComponent {
150
+ constructor() { }
151
+ ngOnChanges() {
152
+ console.log();
153
+ }
154
+ }
155
+ NotFoundComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: NotFoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
156
+ NotFoundComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: NotFoundComponent, selector: "awf-not-found", inputs: { translate: "translate", applicationName: "applicationName" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"container\" *ngIf=\"translate\">\n <h2>{{translate.title}}</h2>\n <h3>{{translate.oops}}</h3>\n <p>{{translate.checkUrl}}</p>\n <p>{{translate.otherwise}}<a routerLink=\"./home\">{{translate.clickHere}} </a>{{translate.redirect}}</p>\n</div>\n", styles: [".container{display:flex;flex-direction:column;align-items:center;width:100%;background-color:#5ca3dd93}h2{font-size:150px;margin:0;text-shadow:15px 5px 2px black}h3{font-size:40px;margin:20px}p{font-size:18px;margin:5px}p:last-of-type{margin-bottom:35px}a{text-decoration:none}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
157
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: NotFoundComponent, decorators: [{
158
+ type: Component,
159
+ args: [{ selector: 'awf-not-found', template: "<div class=\"container\" *ngIf=\"translate\">\n <h2>{{translate.title}}</h2>\n <h3>{{translate.oops}}</h3>\n <p>{{translate.checkUrl}}</p>\n <p>{{translate.otherwise}}<a routerLink=\"./home\">{{translate.clickHere}} </a>{{translate.redirect}}</p>\n</div>\n", styles: [".container{display:flex;flex-direction:column;align-items:center;width:100%;background-color:#5ca3dd93}h2{font-size:150px;margin:0;text-shadow:15px 5px 2px black}h3{font-size:40px;margin:20px}p{font-size:18px;margin:5px}p:last-of-type{margin-bottom:35px}a{text-decoration:none}\n"] }]
160
+ }], ctorParameters: function () { return []; }, propDecorators: { translate: [{
161
+ type: Input
162
+ }], applicationName: [{
163
+ type: Input
164
+ }] } });
165
+
166
+ class MenuComponent {
167
+ constructor() {
168
+ this.logOutClick = new EventEmitter();
169
+ this.hideMenu = new EventEmitter();
170
+ }
171
+ ngOnInit() { }
172
+ logout() {
173
+ this.logOutClick.emit();
174
+ }
175
+ hideMenuMethode() {
176
+ this.hideMenu.emit();
177
+ }
178
+ }
179
+ MenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
180
+ MenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MenuComponent, selector: "awf-menu", inputs: { active: "active", isAdmin: "isAdmin", translate: "translate", applicationName: "applicationName", haveConsumerDataId: "haveConsumerDataId" }, outputs: { logOutClick: "logOutClick", hideMenu: "hideMenu" }, ngImport: i0, template: "\r\n\r\n <app-menu-warranty [haveConsumerDataId]=\"haveConsumerDataId\" [translate]=\"translate\" [isAdmin]=\"isAdmin\" *ngIf=\"applicationName ==='WarrantyPortal' \" (logOutClick)=logout() (hideMenu)=\"hideMenuMethode()\">\r\n </app-menu-warranty>\r\n <app-menu-consomer [translate]=\"translate\" [isAdmin]=\"isAdmin\" *ngIf=\"applicationName ==='ConsomerPortal' \" (logOutClick)=logout() (hideMenu)=\"hideMenuMethode()\"></app-menu-consomer>\r\n <app-menu-ge-portal [translate]=\"translate\" [isAdmin]=\"isAdmin\" *ngIf=\"applicationName ==='GEPortal' \" (logOutClick)=logout() (hideMenu)=\"hideMenuMethode()\"></app-menu-ge-portal> \r\n", styles: [".layout-menu .logo img{width:150px;max-height:20px;margin-left:24px}@media (max-width: var(--smscreen)){.layout-menu .logo img{max-height:33px;margin-left:0}}.layout-menu .a{font-family:var(--font)}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: MenuWarrantyComponent, selector: "app-menu-warranty", inputs: ["isAdmin", "translate", "haveConsumerDataId"], outputs: ["logOutClick", "hideMenu"] }, { kind: "component", type: MenuConsomerComponent, selector: "app-menu-consomer", inputs: ["translate", "isAdmin"], outputs: ["logOutClick"] }, { kind: "component", type: MenuGePortalComponent, selector: "app-menu-ge-portal", inputs: ["translate", "isAdmin"], outputs: ["logOutClick", "hideMenu"] }] });
181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MenuComponent, decorators: [{
182
+ type: Component,
183
+ args: [{ selector: 'awf-menu', template: "\r\n\r\n <app-menu-warranty [haveConsumerDataId]=\"haveConsumerDataId\" [translate]=\"translate\" [isAdmin]=\"isAdmin\" *ngIf=\"applicationName ==='WarrantyPortal' \" (logOutClick)=logout() (hideMenu)=\"hideMenuMethode()\">\r\n </app-menu-warranty>\r\n <app-menu-consomer [translate]=\"translate\" [isAdmin]=\"isAdmin\" *ngIf=\"applicationName ==='ConsomerPortal' \" (logOutClick)=logout() (hideMenu)=\"hideMenuMethode()\"></app-menu-consomer>\r\n <app-menu-ge-portal [translate]=\"translate\" [isAdmin]=\"isAdmin\" *ngIf=\"applicationName ==='GEPortal' \" (logOutClick)=logout() (hideMenu)=\"hideMenuMethode()\"></app-menu-ge-portal> \r\n", styles: [".layout-menu .logo img{width:150px;max-height:20px;margin-left:24px}@media (max-width: var(--smscreen)){.layout-menu .logo img{max-height:33px;margin-left:0}}.layout-menu .a{font-family:var(--font)}\n"] }]
184
+ }], ctorParameters: function () { return []; }, propDecorators: { logOutClick: [{
185
+ type: Output
186
+ }], hideMenu: [{
187
+ type: Output
188
+ }], active: [{
189
+ type: Input
190
+ }], isAdmin: [{
191
+ type: Input
192
+ }], translate: [{
193
+ type: Input
194
+ }], applicationName: [{
195
+ type: Input
196
+ }], haveConsumerDataId: [{
197
+ type: Input
198
+ }] } });
199
+
200
+ class CoreModule {
201
+ }
202
+ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
203
+ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: CoreModule, declarations: [TopBarComponent,
204
+ NotFoundComponent,
205
+ MenuComponent,
206
+ MenuWarrantyComponent,
207
+ MenuConsomerComponent,
208
+ MenuGePortalComponent], imports: [CommonModule,
209
+ CoreRoutingModule,
210
+ MegaMenuModule], exports: [NotFoundComponent,
211
+ MenuComponent,
212
+ TopBarComponent] });
213
+ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CoreModule, imports: [CommonModule,
214
+ CoreRoutingModule,
215
+ MegaMenuModule] });
216
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CoreModule, decorators: [{
29
217
  type: NgModule,
30
218
  args: [{
31
219
  declarations: [
32
- TestComponent
220
+ TopBarComponent,
221
+ NotFoundComponent,
222
+ MenuComponent,
223
+ MenuWarrantyComponent,
224
+ MenuConsomerComponent,
225
+ MenuGePortalComponent,
33
226
  ],
34
227
  imports: [
35
228
  CommonModule,
36
- ButtonModule
229
+ CoreRoutingModule,
230
+ MegaMenuModule
37
231
  ],
38
- exports: [TestComponent],
232
+ exports: [
233
+ NotFoundComponent,
234
+ MenuComponent,
235
+ TopBarComponent,
236
+ ]
39
237
  }]
40
238
  }] });
41
239
 
240
+ const routes = [];
241
+ class GeRoutingModule {
242
+ }
243
+ GeRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: GeRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
244
+ GeRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: GeRoutingModule, imports: [i2.RouterModule], exports: [RouterModule] });
245
+ GeRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: GeRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: GeRoutingModule, decorators: [{
247
+ type: NgModule,
248
+ args: [{
249
+ imports: [RouterModule.forChild(routes)],
250
+ exports: [RouterModule]
251
+ }]
252
+ }] });
253
+
254
+ class SubstringPipe {
255
+ transform(time, arg1, arg2) {
256
+ return time.substring(arg1, arg2);
257
+ }
258
+ }
259
+ SubstringPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SubstringPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
260
+ SubstringPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: SubstringPipe, name: "substring" });
261
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SubstringPipe, decorators: [{
262
+ type: Pipe,
263
+ args: [{
264
+ name: 'substring'
265
+ }]
266
+ }] });
267
+
268
+ class SystemListComponent {
269
+ constructor() {
270
+ this.systems = [];
271
+ }
272
+ ngOnChanges() { }
273
+ applyFilterGlobal($event, stringVal) {
274
+ this.dt?.filterGlobal($event.target.value, stringVal);
275
+ }
276
+ }
277
+ SystemListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SystemListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
278
+ SystemListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: SystemListComponent, selector: "awf-system-list", inputs: { translate: "translate", globaltranslate: "globaltranslate", systems: "systems" }, providers: [MessageService], viewQueries: [{ propertyName: "dt", first: true, predicate: ["dt"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<p-table #dt [value]=\"systems\" responsiveLayout=\"stack\" [rows]=\"5\" [showCurrentPageReport]=\"true\" [rowsPerPageOptions]=\"[5,10,25,50]\" [paginator]=\"true\" [globalFilterFields]=\"['id','systemId','name','modality','installDate']\" [rowHover]=\"true\" dataKey=\"id\"\n [currentPageReportTemplate]=\"globaltranslate.countPages\" [showCurrentPageReport]=\"true\">\n <ng-template pTemplate=\"caption\">\n <div>\n <span class=\"p-input-icon-left\">\n <i class=\"pi pi-search\"></i>\n <input pInputText type=\"text\" (input)=\"applyFilterGlobal($event, 'contains')\"\n [placeholder]=\"globaltranslate.search\" />\n </span>\n </div>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <!-- <th pSortableColumn=\"caseId\">Case Id <p-sortIcon field=\"caseId\"></p-sortIcon> -->\n <th pSortableColumn=\"id\">Id\n <p-sortIcon field=\"id\"></p-sortIcon>\n <th pSortableColumn=\"systemId\">System Id\n <p-sortIcon field=\"systemId\"></p-sortIcon>\n <th pSortableColumn=\"name\">Name\n <p-sortIcon field=\"name\"></p-sortIcon>\n <th pSortableColumn=\"modality\">Modality\n <p-sortIcon field=\"modality\"></p-sortIcon>\n <th pSortableColumn=\"installDate\">Install Date\n <!-- <p-sortIcon field=\"installDate\"></p-sortIcon>\n <th> Action</th> -->\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-product let-columns=\"columns\">\n <tr>\n\n <td>{{product.id }}</td>\n <td>{{product.systemId }}</td>\n <td>{{product.name }}</td>\n <td>{{product.modality }}</td>\n <td>{{product.installDate | substring :0:10 }}</td>\n\n <!-- <td>\n <button pButton pRipple type=\"button\" label=\"\" icon=\"pi pi-pencil\" class=\"p-button-rounded\" [disabled]=\"product.status ==='waiting'\"></button>\n </td> -->\n </tr>\n </ng-template>\n <ng-template pTemplate=\"summary\">\n <div class=\"p-d-flex p-ai-center p-jc-between\">\n {{globaltranslate.count}} {{systems ? systems.length : 0 }} {{globaltranslate.elements}}.\n </div>\n </ng-template>\n</p-table>\n", styles: [""], dependencies: [{ kind: "component", type: i1$2.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "groupRowsByOrder", "responsiveLayout", "breakpoint", "virtualRowHeight", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll"], outputs: ["selectAllChange", "selectionChange", "contextMenuSelectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i2$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i1$2.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "component", type: i1$2.SortIcon, selector: "p-sortIcon", inputs: ["field"] }, { kind: "directive", type: i3.InputText, selector: "[pInputText]" }, { kind: "pipe", type: SubstringPipe, name: "substring" }] });
279
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SystemListComponent, decorators: [{
280
+ type: Component,
281
+ args: [{ selector: 'awf-system-list', providers: [MessageService], template: "<p-table #dt [value]=\"systems\" responsiveLayout=\"stack\" [rows]=\"5\" [showCurrentPageReport]=\"true\" [rowsPerPageOptions]=\"[5,10,25,50]\" [paginator]=\"true\" [globalFilterFields]=\"['id','systemId','name','modality','installDate']\" [rowHover]=\"true\" dataKey=\"id\"\n [currentPageReportTemplate]=\"globaltranslate.countPages\" [showCurrentPageReport]=\"true\">\n <ng-template pTemplate=\"caption\">\n <div>\n <span class=\"p-input-icon-left\">\n <i class=\"pi pi-search\"></i>\n <input pInputText type=\"text\" (input)=\"applyFilterGlobal($event, 'contains')\"\n [placeholder]=\"globaltranslate.search\" />\n </span>\n </div>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <!-- <th pSortableColumn=\"caseId\">Case Id <p-sortIcon field=\"caseId\"></p-sortIcon> -->\n <th pSortableColumn=\"id\">Id\n <p-sortIcon field=\"id\"></p-sortIcon>\n <th pSortableColumn=\"systemId\">System Id\n <p-sortIcon field=\"systemId\"></p-sortIcon>\n <th pSortableColumn=\"name\">Name\n <p-sortIcon field=\"name\"></p-sortIcon>\n <th pSortableColumn=\"modality\">Modality\n <p-sortIcon field=\"modality\"></p-sortIcon>\n <th pSortableColumn=\"installDate\">Install Date\n <!-- <p-sortIcon field=\"installDate\"></p-sortIcon>\n <th> Action</th> -->\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-product let-columns=\"columns\">\n <tr>\n\n <td>{{product.id }}</td>\n <td>{{product.systemId }}</td>\n <td>{{product.name }}</td>\n <td>{{product.modality }}</td>\n <td>{{product.installDate | substring :0:10 }}</td>\n\n <!-- <td>\n <button pButton pRipple type=\"button\" label=\"\" icon=\"pi pi-pencil\" class=\"p-button-rounded\" [disabled]=\"product.status ==='waiting'\"></button>\n </td> -->\n </tr>\n </ng-template>\n <ng-template pTemplate=\"summary\">\n <div class=\"p-d-flex p-ai-center p-jc-between\">\n {{globaltranslate.count}} {{systems ? systems.length : 0 }} {{globaltranslate.elements}}.\n </div>\n </ng-template>\n</p-table>\n" }]
282
+ }], ctorParameters: function () { return []; }, propDecorators: { dt: [{
283
+ type: ViewChild,
284
+ args: ['dt']
285
+ }], translate: [{
286
+ type: Input
287
+ }], globaltranslate: [{
288
+ type: Input
289
+ }], systems: [{
290
+ type: Input
291
+ }] } });
292
+
293
+ class SubrtringWPipe {
294
+ transform(brand, manufacturerId) {
295
+ if (manufacturerId == 4 && (brand.substring(0, 2) === 'FR')) {
296
+ return brand.substring(2, 12);
297
+ }
298
+ else
299
+ return brand;
300
+ }
301
+ }
302
+ SubrtringWPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SubrtringWPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
303
+ SubrtringWPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: SubrtringWPipe, name: "subrtringW" });
304
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SubrtringWPipe, decorators: [{
305
+ type: Pipe,
306
+ args: [{
307
+ name: 'subrtringW'
308
+ }]
309
+ }] });
310
+
311
+ class PipesModule {
312
+ }
313
+ PipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: PipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
314
+ PipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: PipesModule, declarations: [SubstringPipe, SubrtringWPipe], imports: [CommonModule], exports: [SubstringPipe, SubrtringWPipe] });
315
+ PipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: PipesModule, imports: [CommonModule] });
316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: PipesModule, decorators: [{
317
+ type: NgModule,
318
+ args: [{
319
+ declarations: [SubstringPipe, SubrtringWPipe],
320
+ exports: [SubstringPipe, SubrtringWPipe],
321
+ imports: [
322
+ CommonModule
323
+ ]
324
+ }]
325
+ }] });
326
+
327
+ class GeModule {
328
+ }
329
+ GeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: GeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
330
+ GeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: GeModule, declarations: [SystemListComponent], imports: [CommonModule,
331
+ GeRoutingModule,
332
+ TableModule,
333
+ InputTextModule,
334
+ PipesModule], exports: [SystemListComponent] });
335
+ GeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: GeModule, imports: [CommonModule,
336
+ GeRoutingModule,
337
+ TableModule,
338
+ InputTextModule,
339
+ PipesModule] });
340
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: GeModule, decorators: [{
341
+ type: NgModule,
342
+ args: [{
343
+ declarations: [
344
+ SystemListComponent,
345
+ ],
346
+ imports: [
347
+ CommonModule,
348
+ GeRoutingModule,
349
+ TableModule,
350
+ InputTextModule,
351
+ PipesModule
352
+ ],
353
+ exports: [SystemListComponent]
354
+ }]
355
+ }] });
356
+
357
+ class Account {
358
+ }
359
+
360
+ class AlternativeDate {
361
+ }
362
+
363
+ var ApplicationName;
364
+ (function (ApplicationName) {
365
+ ApplicationName["ConsomerPortal"] = "ConsomerPortal";
366
+ ApplicationName["WarrantyPortal"] = "WarrantyPortal";
367
+ ApplicationName["GEPortal"] = "GEPortal";
368
+ })(ApplicationName || (ApplicationName = {}));
369
+
370
+ class MailRequest {
371
+ }
372
+
373
+ class CancelPMMailRequest extends MailRequest {
374
+ }
375
+
376
+ class ContactRequest {
377
+ }
378
+
379
+ class CustomObject {
380
+ }
381
+
382
+ class DetailedPmJob {
383
+ }
384
+
385
+ var EmailStatus;
386
+ (function (EmailStatus) {
387
+ EmailStatus[EmailStatus["Verifying"] = 0] = "Verifying";
388
+ EmailStatus[EmailStatus["Failed"] = 1] = "Failed";
389
+ })(EmailStatus || (EmailStatus = {}));
390
+
391
+ var EmailType;
392
+ (function (EmailType) {
393
+ EmailType["ACCEPTED"] = "Accepted";
394
+ EmailType["SENDNEWDATES"] = "SendNewDates";
395
+ EmailType["CANCEL"] = "Cancel";
396
+ EmailType["REPORTANDCANCEL"] = "ReportAndCancel";
397
+ })(EmailType || (EmailType = {}));
398
+
399
+ var EventStatus;
400
+ (function (EventStatus) {
401
+ EventStatus["ASSIGNEDANC"] = "Assigned ANC";
402
+ EventStatus["ASSIGNED"] = "Assigned";
403
+ EventStatus["ASSIGNEDPINNED"] = "Assigned Pinned";
404
+ EventStatus["COMPLETE"] = "Complete";
405
+ EventStatus["INCOMPLETE"] = "Incomplete";
406
+ })(EventStatus || (EventStatus = {}));
407
+
408
+ var Field;
409
+ (function (Field) {
410
+ Field["Textbox"] = "textbox";
411
+ Field["File"] = "file";
412
+ Field["Dropdown"] = "dropdown";
413
+ Field["Radio"] = "radio";
414
+ Field["Checkbox"] = "checkbox";
415
+ })(Field || (Field = {}));
416
+
417
+ var Language;
418
+ (function (Language) {
419
+ Language["FR"] = "fr-FR";
420
+ Language["US"] = "en-US";
421
+ Language["GB"] = "en-GB";
422
+ })(Language || (Language = {}));
423
+
424
+ class PMGroupedJob {
425
+ }
426
+
427
+ class PmJob {
428
+ }
429
+
430
+ class PmJobRequest {
431
+ }
432
+
433
+ var PmJobStatus;
434
+ (function (PmJobStatus) {
435
+ PmJobStatus["NEW"] = "new";
436
+ PmJobStatus["ACCEPTED"] = "accepted";
437
+ PmJobStatus["CLOSED"] = "closed";
438
+ PmJobStatus["Late"] = "late";
439
+ PmJobStatus["OPEN"] = "open";
440
+ PmJobStatus["WAITING"] = "waiting";
441
+ PmJobStatus["DONE"] = "done";
442
+ PmJobStatus["VALIDATED"] = "validated";
443
+ })(PmJobStatus || (PmJobStatus = {}));
444
+
445
+ class ReportDateMailRequest extends MailRequest {
446
+ }
447
+
448
+ var Role;
449
+ (function (Role) {
450
+ Role["User"] = "BasicUser";
451
+ Role["Admin"] = "Admin";
452
+ Role["RGPDUser"] = "RGPDUser";
453
+ })(Role || (Role = {}));
454
+
455
+ class Service {
456
+ }
457
+
458
+ var ServiceName;
459
+ (function (ServiceName) {
460
+ ServiceName["Repairer"] = "repairer";
461
+ ServiceName["WarrantyContract"] = "warrantyContract";
462
+ ServiceName["Devices"] = "devices";
463
+ ServiceName["TrackRepairs"] = "trackRepairs";
464
+ ServiceName["ExtendedWarranty"] = "extendedWarranty";
465
+ ServiceName["ScheduleAppointment"] = "scheduleAppointment";
466
+ ServiceName["Documentation"] = "documentation";
467
+ ServiceName["RepairabilityIndex"] = "repairabilityIndex";
468
+ })(ServiceName || (ServiceName = {}));
469
+
470
+ class SocialLoginRequest {
471
+ }
472
+
473
+ var SocialMadia;
474
+ (function (SocialMadia) {
475
+ SocialMadia["Gmail"] = "Gmail";
476
+ })(SocialMadia || (SocialMadia = {}));
477
+
478
+ class System {
479
+ }
480
+
481
+ var TokenStatus;
482
+ (function (TokenStatus) {
483
+ TokenStatus[TokenStatus["Validating"] = 0] = "Validating";
484
+ TokenStatus[TokenStatus["Valid"] = 1] = "Valid";
485
+ TokenStatus[TokenStatus["Invalid"] = 2] = "Invalid";
486
+ })(TokenStatus || (TokenStatus = {}));
487
+
488
+ class Warranty {
489
+ }
490
+
42
491
  /*
43
492
  * Public API Surface of awf-test-lib
44
493
  */
@@ -47,5 +496,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
47
496
  * Generated bundle index. Do not edit.
48
497
  */
49
498
 
50
- export { MonModuleModule, TestComponent };
499
+ export { Account, AlternativeDate, ApplicationName, CancelPMMailRequest, ContactRequest, CoreModule, CustomObject, DetailedPmJob, EmailStatus, EmailType, EventStatus, Field, GeModule, Language, MailRequest, MenuComponent, NotFoundComponent, PMGroupedJob, PipesModule, PmJob, PmJobRequest, PmJobStatus, ReportDateMailRequest, Role, Service, ServiceName, SocialLoginRequest, SocialMadia, SubrtringWPipe, SubstringPipe, System, SystemListComponent, TokenStatus, TopBarComponent, Warranty };
51
500
  //# sourceMappingURL=awf-test-lib.mjs.map