awf-test-lib 0.0.11 → 0.0.17
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/esm2020/lib/core/core.module.mjs +5 -5
- package/esm2020/lib/core/menu/menu.component.mjs +7 -8
- package/esm2020/lib/core/{application/consomer-portal/menu-consomer → menu-consomer}/menu-consomer.component.mjs +3 -3
- package/esm2020/lib/core/menu-ge-portal/menu-ge-portal.component.mjs +31 -0
- package/esm2020/lib/core/{application/warranty-portal/menu-warranty → menu-warranty}/menu-warranty.component.mjs +3 -4
- package/esm2020/lib/core/not-found/not-found.component.mjs +3 -3
- package/esm2020/lib/core/top-bar/top-bar.component.mjs +1 -1
- package/esm2020/lib/ge/contact/contact.component.mjs +76 -0
- package/esm2020/lib/ge/ge-routing.module.mjs +18 -0
- package/esm2020/lib/ge/ge.module.mjs +60 -0
- package/esm2020/lib/ge/system-list/system-list.component.mjs +32 -0
- package/esm2020/lib/models/account.model.mjs +3 -0
- package/esm2020/lib/models/alternativeDate.model.mjs +3 -0
- package/esm2020/lib/models/applicationName.mjs +7 -0
- package/esm2020/lib/models/cancelPMMailRequest.model.mjs +4 -0
- package/esm2020/lib/models/contactRequest.model.mjs +3 -0
- package/esm2020/lib/models/customObject.model.mjs +3 -0
- package/esm2020/lib/models/detailedPmJob.model.mjs +3 -0
- package/esm2020/lib/models/emailStatus.mjs +6 -0
- package/esm2020/lib/models/emailType.mjs +8 -0
- package/esm2020/lib/models/eventStatus.mjs +9 -0
- package/esm2020/lib/models/field.mjs +9 -0
- package/esm2020/lib/models/language.mjs +7 -0
- package/esm2020/lib/models/mailRequest.model.mjs +3 -0
- package/esm2020/lib/models/pMGroupedJob.model.mjs +3 -0
- package/esm2020/lib/models/pmJob.model.mjs +3 -0
- package/esm2020/lib/models/pmJobRequest.model.mjs +3 -0
- package/esm2020/lib/models/pmJobStatus.mjs +12 -0
- package/esm2020/lib/models/reportDateMailRequest.model.mjs +4 -0
- package/esm2020/lib/models/role.mjs +7 -0
- package/esm2020/lib/models/service.model.mjs +3 -0
- package/esm2020/lib/models/serviceName.mjs +12 -0
- package/esm2020/lib/models/socialLoginRequest.model.mjs +3 -0
- package/esm2020/lib/models/socialMadia.mjs +5 -0
- package/esm2020/lib/models/system.mjs +3 -0
- package/esm2020/lib/models/theme.model.mjs +2 -0
- package/esm2020/lib/models/tokenStatus.mjs +7 -0
- package/esm2020/lib/models/warranty.mjs +3 -0
- package/esm2020/lib/pipes/pipes/pipes.module.mjs +21 -0
- package/esm2020/lib/pipes/subrtring-w.pipe.mjs +20 -0
- package/esm2020/lib/pipes/substring.pipe.mjs +16 -0
- package/esm2020/public-api.mjs +37 -3
- package/fesm2015/awf-test-lib.mjs +381 -37
- package/fesm2015/awf-test-lib.mjs.map +1 -1
- package/fesm2020/awf-test-lib.mjs +380 -37
- package/fesm2020/awf-test-lib.mjs.map +1 -1
- package/lib/core/core.module.d.ts +3 -3
- package/lib/core/menu/menu.component.d.ts +3 -3
- package/lib/core/{application/consomer-portal/menu-consomer → menu-consomer}/menu-consomer.component.d.ts +1 -1
- package/lib/core/{application/ge-portal/menu-ge-portal → menu-ge-portal}/menu-ge-portal.component.d.ts +1 -1
- package/lib/core/{application/warranty-portal/menu-warranty → menu-warranty}/menu-warranty.component.d.ts +1 -1
- package/lib/ge/contact/contact.component.d.ts +26 -0
- package/lib/ge/ge-routing.module.d.ts +7 -0
- package/lib/ge/ge.module.d.ts +17 -0
- package/lib/ge/system-list/system-list.component.d.ts +15 -0
- package/lib/models/account.model.d.ts +14 -0
- package/lib/models/alternativeDate.model.d.ts +6 -0
- package/lib/models/applicationName.d.ts +5 -0
- package/lib/models/cancelPMMailRequest.model.d.ts +5 -0
- package/lib/models/contactRequest.model.d.ts +8 -0
- package/lib/models/customObject.model.d.ts +3 -0
- package/lib/models/detailedPmJob.model.d.ts +10 -0
- package/lib/models/emailStatus.d.ts +4 -0
- package/lib/models/emailType.d.ts +6 -0
- package/lib/models/eventStatus.d.ts +7 -0
- package/lib/models/field.d.ts +7 -0
- package/lib/models/language.d.ts +5 -0
- package/lib/models/mailRequest.model.d.ts +16 -0
- package/lib/models/pMGroupedJob.model.d.ts +3 -0
- package/lib/models/pmJob.model.d.ts +25 -0
- package/lib/models/pmJobRequest.model.d.ts +5 -0
- package/lib/models/pmJobStatus.d.ts +10 -0
- package/lib/models/reportDateMailRequest.model.d.ts +5 -0
- package/lib/models/role.d.ts +5 -0
- package/lib/models/service.model.d.ts +8 -0
- package/lib/models/serviceName.d.ts +10 -0
- package/lib/models/socialLoginRequest.model.d.ts +6 -0
- package/lib/models/socialMadia.d.ts +3 -0
- package/lib/models/system.d.ts +11 -0
- package/lib/models/theme.model.d.ts +38 -0
- package/lib/models/tokenStatus.d.ts +5 -0
- package/lib/models/warranty.d.ts +17 -0
- package/lib/pipes/pipes/pipes.module.d.ts +9 -0
- package/lib/pipes/subrtring-w.pipe.d.ts +7 -0
- package/lib/pipes/substring.pipe.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +34 -0
- package/esm2020/lib/core/application/ge-portal/menu-ge-portal/menu-ge-portal.component.mjs +0 -31
@@ -1,22 +1,36 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { NgModule, EventEmitter, Component, Input, Output } from '@angular/core';
|
2
|
+
import { NgModule, EventEmitter, Component, Input, Output, Pipe, ViewChild } from '@angular/core';
|
3
3
|
import * as i1$1 from '@angular/common';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
5
|
import * as i2 from '@angular/router';
|
6
6
|
import { RouterModule } from '@angular/router';
|
7
7
|
import * as i1 from 'primeng/megamenu';
|
8
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';
|
15
|
+
import * as i1$3 from '@angular/forms';
|
16
|
+
import { Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
17
|
+
import * as i5 from 'primeng/toast';
|
18
|
+
import { ToastModule } from 'primeng/toast';
|
19
|
+
import * as i6 from 'primeng/inputtextarea';
|
20
|
+
import { InputTextareaModule } from 'primeng/inputtextarea';
|
21
|
+
import * as i7 from 'primeng/multiselect';
|
22
|
+
import { MultiSelectModule } from 'primeng/multiselect';
|
9
23
|
|
10
|
-
const routes = [];
|
24
|
+
const routes$1 = [];
|
11
25
|
class CoreRoutingModule {
|
12
26
|
}
|
13
27
|
CoreRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CoreRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
14
28
|
CoreRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: CoreRoutingModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
15
|
-
CoreRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CoreRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
29
|
+
CoreRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CoreRoutingModule, imports: [RouterModule.forChild(routes$1), RouterModule] });
|
16
30
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CoreRoutingModule, decorators: [{
|
17
31
|
type: NgModule,
|
18
32
|
args: [{
|
19
|
-
imports: [RouterModule.forChild(routes)],
|
33
|
+
imports: [RouterModule.forChild(routes$1)],
|
20
34
|
exports: [RouterModule]
|
21
35
|
}]
|
22
36
|
}] });
|
@@ -59,11 +73,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
59
73
|
type: Output
|
60
74
|
}] } });
|
61
75
|
|
76
|
+
class NotFoundComponent {
|
77
|
+
constructor() { }
|
78
|
+
ngOnChanges() {
|
79
|
+
console.log();
|
80
|
+
}
|
81
|
+
}
|
82
|
+
NotFoundComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: NotFoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
83
|
+
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\">\r\n <h2>{{translate.title}}</h2>\r\n <h3>{{translate.oops}}</h3>\r\n <p>{{translate.checkUrl}}</p>\r\n <p>{{translate.otherwise}}<a routerLink=\"./home\">{{translate.clickHere}} </a>{{translate.redirect}}</p>\r\n</div>\r\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"] }] });
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: NotFoundComponent, decorators: [{
|
85
|
+
type: Component,
|
86
|
+
args: [{ selector: 'awf-not-found', template: "<div class=\"container\" *ngIf=\"translate\">\r\n <h2>{{translate.title}}</h2>\r\n <h3>{{translate.oops}}</h3>\r\n <p>{{translate.checkUrl}}</p>\r\n <p>{{translate.otherwise}}<a routerLink=\"./home\">{{translate.clickHere}} </a>{{translate.redirect}}</p>\r\n</div>\r\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"] }]
|
87
|
+
}], ctorParameters: function () { return []; }, propDecorators: { translate: [{
|
88
|
+
type: Input
|
89
|
+
}], applicationName: [{
|
90
|
+
type: Input
|
91
|
+
}] } });
|
92
|
+
|
62
93
|
class MenuWarrantyComponent {
|
63
94
|
constructor() {
|
64
95
|
this.logOutClick = new EventEmitter();
|
65
96
|
this.hideMenu = new EventEmitter();
|
66
|
-
this.haveConsumerDataId = false;
|
67
97
|
}
|
68
98
|
ngOnInit() {
|
69
99
|
}
|
@@ -75,10 +105,10 @@ class MenuWarrantyComponent {
|
|
75
105
|
}
|
76
106
|
}
|
77
107
|
MenuWarrantyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MenuWarrantyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
78
|
-
MenuWarrantyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MenuWarrantyComponent, selector: "
|
108
|
+
MenuWarrantyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MenuWarrantyComponent, selector: "awf-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"] }] });
|
79
109
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MenuWarrantyComponent, decorators: [{
|
80
110
|
type: Component,
|
81
|
-
args: [{ selector: '
|
111
|
+
args: [{ selector: 'awf-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"] }]
|
82
112
|
}], ctorParameters: function () { return []; }, propDecorators: { logOutClick: [{
|
83
113
|
type: Output
|
84
114
|
}], hideMenu: [{
|
@@ -102,10 +132,10 @@ class MenuConsomerComponent {
|
|
102
132
|
}
|
103
133
|
}
|
104
134
|
MenuConsomerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MenuConsomerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
105
|
-
MenuConsomerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MenuConsomerComponent, selector: "
|
135
|
+
MenuConsomerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MenuConsomerComponent, selector: "awf-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"] }] });
|
106
136
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MenuConsomerComponent, decorators: [{
|
107
137
|
type: Component,
|
108
|
-
args: [{ selector: '
|
138
|
+
args: [{ selector: 'awf-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"] }]
|
109
139
|
}], ctorParameters: function () { return []; }, propDecorators: { logOutClick: [{
|
110
140
|
type: Output
|
111
141
|
}], translate: [{
|
@@ -127,10 +157,10 @@ class MenuGePortalComponent {
|
|
127
157
|
}
|
128
158
|
}
|
129
159
|
MenuGePortalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MenuGePortalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
130
|
-
MenuGePortalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MenuGePortalComponent, selector: "
|
160
|
+
MenuGePortalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MenuGePortalComponent, selector: "awf-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"] }] });
|
131
161
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MenuGePortalComponent, decorators: [{
|
132
162
|
type: Component,
|
133
|
-
args: [{ selector: '
|
163
|
+
args: [{ selector: 'awf-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"] }]
|
134
164
|
}], ctorParameters: function () { return []; }, propDecorators: { logOutClick: [{
|
135
165
|
type: Output
|
136
166
|
}], translate: [{
|
@@ -141,30 +171,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
141
171
|
type: Output
|
142
172
|
}] } });
|
143
173
|
|
144
|
-
class NotFoundComponent {
|
145
|
-
constructor() { }
|
146
|
-
ngOnChanges() {
|
147
|
-
console.log();
|
148
|
-
}
|
149
|
-
}
|
150
|
-
NotFoundComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: NotFoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
151
|
-
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"] }] });
|
152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: NotFoundComponent, decorators: [{
|
153
|
-
type: Component,
|
154
|
-
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"] }]
|
155
|
-
}], ctorParameters: function () { return []; }, propDecorators: { translate: [{
|
156
|
-
type: Input
|
157
|
-
}], applicationName: [{
|
158
|
-
type: Input
|
159
|
-
}] } });
|
160
|
-
|
161
174
|
class MenuComponent {
|
162
175
|
constructor() {
|
163
176
|
this.logOutClick = new EventEmitter();
|
164
177
|
this.hideMenu = new EventEmitter();
|
165
|
-
this.haveConsumerDataId = false;
|
166
178
|
}
|
167
|
-
|
179
|
+
ngOnInit() { }
|
168
180
|
logout() {
|
169
181
|
this.logOutClick.emit();
|
170
182
|
}
|
@@ -173,10 +185,10 @@ class MenuComponent {
|
|
173
185
|
}
|
174
186
|
}
|
175
187
|
MenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
176
|
-
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" },
|
188
|
+
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 <awf-menu-warranty [haveConsumerDataId]=\"haveConsumerDataId\" [translate]=\"translate\" [isAdmin]=\"isAdmin\" *ngIf=\"applicationName ==='WarrantyPortal' \" (logOutClick)=logout() (hideMenu)=\"hideMenuMethode()\">\r\n </awf-menu-warranty>\r\n <awf-menu-consomer [translate]=\"translate\" [isAdmin]=\"isAdmin\" *ngIf=\"applicationName ==='ConsomerPortal' \" (logOutClick)=logout() (hideMenu)=\"hideMenuMethode()\">\r\n </awf-menu-consomer>\r\n <awf-menu-ge-portal [translate]=\"translate\" [isAdmin]=\"isAdmin\" *ngIf=\"applicationName ==='GEPortal' \" (logOutClick)=logout() (hideMenu)=\"hideMenuMethode()\">\r\n </awf-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: "awf-menu-warranty", inputs: ["isAdmin", "translate", "haveConsumerDataId"], outputs: ["logOutClick", "hideMenu"] }, { kind: "component", type: MenuConsomerComponent, selector: "awf-menu-consomer", inputs: ["translate", "isAdmin"], outputs: ["logOutClick"] }, { kind: "component", type: MenuGePortalComponent, selector: "awf-menu-ge-portal", inputs: ["translate", "isAdmin"], outputs: ["logOutClick", "hideMenu"] }] });
|
177
189
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MenuComponent, decorators: [{
|
178
190
|
type: Component,
|
179
|
-
args: [{ selector: 'awf-menu', template: "
|
191
|
+
args: [{ selector: 'awf-menu', template: "\r\n\r\n <awf-menu-warranty [haveConsumerDataId]=\"haveConsumerDataId\" [translate]=\"translate\" [isAdmin]=\"isAdmin\" *ngIf=\"applicationName ==='WarrantyPortal' \" (logOutClick)=logout() (hideMenu)=\"hideMenuMethode()\">\r\n </awf-menu-warranty>\r\n <awf-menu-consomer [translate]=\"translate\" [isAdmin]=\"isAdmin\" *ngIf=\"applicationName ==='ConsomerPortal' \" (logOutClick)=logout() (hideMenu)=\"hideMenuMethode()\">\r\n </awf-menu-consomer>\r\n <awf-menu-ge-portal [translate]=\"translate\" [isAdmin]=\"isAdmin\" *ngIf=\"applicationName ==='GEPortal' \" (logOutClick)=logout() (hideMenu)=\"hideMenuMethode()\">\r\n </awf-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"] }]
|
180
192
|
}], ctorParameters: function () { return []; }, propDecorators: { logOutClick: [{
|
181
193
|
type: Output
|
182
194
|
}], hideMenu: [{
|
@@ -228,20 +240,351 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
228
240
|
exports: [
|
229
241
|
NotFoundComponent,
|
230
242
|
MenuComponent,
|
231
|
-
TopBarComponent
|
243
|
+
TopBarComponent,
|
232
244
|
]
|
233
245
|
}]
|
234
246
|
}] });
|
235
247
|
|
248
|
+
const routes = [];
|
249
|
+
class GeRoutingModule {
|
250
|
+
}
|
251
|
+
GeRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: GeRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
252
|
+
GeRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: GeRoutingModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
253
|
+
GeRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: GeRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: GeRoutingModule, decorators: [{
|
255
|
+
type: NgModule,
|
256
|
+
args: [{
|
257
|
+
imports: [RouterModule.forChild(routes)],
|
258
|
+
exports: [RouterModule]
|
259
|
+
}]
|
260
|
+
}] });
|
261
|
+
|
262
|
+
class SubstringPipe {
|
263
|
+
transform(time, arg1, arg2) {
|
264
|
+
return time.substring(arg1, arg2);
|
265
|
+
}
|
266
|
+
}
|
267
|
+
SubstringPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SubstringPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
268
|
+
SubstringPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: SubstringPipe, name: "substring" });
|
269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SubstringPipe, decorators: [{
|
270
|
+
type: Pipe,
|
271
|
+
args: [{
|
272
|
+
name: 'substring'
|
273
|
+
}]
|
274
|
+
}] });
|
275
|
+
|
276
|
+
class SystemListComponent {
|
277
|
+
constructor() {
|
278
|
+
this.systems = [];
|
279
|
+
}
|
280
|
+
ngOnChanges() { }
|
281
|
+
applyFilterGlobal($event, stringVal) {
|
282
|
+
this.dt?.filterGlobal($event.target.value, stringVal);
|
283
|
+
}
|
284
|
+
}
|
285
|
+
SystemListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SystemListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
286
|
+
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" }] });
|
287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SystemListComponent, decorators: [{
|
288
|
+
type: Component,
|
289
|
+
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" }]
|
290
|
+
}], ctorParameters: function () { return []; }, propDecorators: { dt: [{
|
291
|
+
type: ViewChild,
|
292
|
+
args: ['dt']
|
293
|
+
}], translate: [{
|
294
|
+
type: Input
|
295
|
+
}], globaltranslate: [{
|
296
|
+
type: Input
|
297
|
+
}], systems: [{
|
298
|
+
type: Input
|
299
|
+
}] } });
|
300
|
+
|
301
|
+
class SubrtringWPipe {
|
302
|
+
transform(brand, manufacturerId) {
|
303
|
+
if (manufacturerId == 4 && (brand.substring(0, 2) === 'FR')) {
|
304
|
+
return brand.substring(2, 12);
|
305
|
+
}
|
306
|
+
else
|
307
|
+
return brand;
|
308
|
+
}
|
309
|
+
}
|
310
|
+
SubrtringWPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SubrtringWPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
311
|
+
SubrtringWPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: SubrtringWPipe, name: "subrtringW" });
|
312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SubrtringWPipe, decorators: [{
|
313
|
+
type: Pipe,
|
314
|
+
args: [{
|
315
|
+
name: 'subrtringW'
|
316
|
+
}]
|
317
|
+
}] });
|
318
|
+
|
319
|
+
class PipesModule {
|
320
|
+
}
|
321
|
+
PipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: PipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
322
|
+
PipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: PipesModule, declarations: [SubstringPipe, SubrtringWPipe], imports: [CommonModule], exports: [SubstringPipe, SubrtringWPipe] });
|
323
|
+
PipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: PipesModule, imports: [CommonModule] });
|
324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: PipesModule, decorators: [{
|
325
|
+
type: NgModule,
|
326
|
+
args: [{
|
327
|
+
declarations: [SubstringPipe, SubrtringWPipe],
|
328
|
+
exports: [SubstringPipe, SubrtringWPipe],
|
329
|
+
imports: [
|
330
|
+
CommonModule
|
331
|
+
]
|
332
|
+
}]
|
333
|
+
}] });
|
334
|
+
|
335
|
+
class ContactComponent {
|
336
|
+
constructor(formBuilder, messageService) {
|
337
|
+
this.formBuilder = formBuilder;
|
338
|
+
this.messageService = messageService;
|
339
|
+
this.loading = false;
|
340
|
+
this.submitted = false;
|
341
|
+
this.systems = [];
|
342
|
+
this.selectedSystems = [];
|
343
|
+
this.sendForm = new EventEmitter();
|
344
|
+
}
|
345
|
+
;
|
346
|
+
ngOnChanges() {
|
347
|
+
this.loadForm();
|
348
|
+
}
|
349
|
+
// convenience getter for easy access to form fields
|
350
|
+
get f() {
|
351
|
+
return this.form.controls;
|
352
|
+
}
|
353
|
+
preventStringKeypress(event) {
|
354
|
+
if (isNaN(Number(String.fromCharCode(event.charCode))) ||
|
355
|
+
String.fromCharCode(event.charCode) === ' ') {
|
356
|
+
event.preventDefault();
|
357
|
+
}
|
358
|
+
}
|
359
|
+
onSubmit() {
|
360
|
+
this.submitted = true;
|
361
|
+
if (this.form.invalid) {
|
362
|
+
this.messageService.add({
|
363
|
+
severity: 'error',
|
364
|
+
summary: 'Error',
|
365
|
+
detail: 'The form is invalid',
|
366
|
+
});
|
367
|
+
return;
|
368
|
+
}
|
369
|
+
this.sendForm.emit(this.form);
|
370
|
+
}
|
371
|
+
loadForm() {
|
372
|
+
this.form = this.formBuilder.group({
|
373
|
+
name: ['', [Validators.required, Validators.minLength(3)]],
|
374
|
+
email: ['', [Validators.required, Validators.email]],
|
375
|
+
phone: ['', [Validators.required]],
|
376
|
+
systems: [[], []],
|
377
|
+
message: ['', [Validators.required, Validators.minLength(15)]],
|
378
|
+
});
|
379
|
+
}
|
380
|
+
}
|
381
|
+
ContactComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ContactComponent, deps: [{ token: i1$3.FormBuilder }, { token: i2$1.MessageService }], target: i0.ɵɵFactoryTarget.Component });
|
382
|
+
ContactComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: ContactComponent, selector: "awf-contact", inputs: { loading: "loading", submitted: "submitted", systems: "systems", selectedSystems: "selectedSystems", translate: "translate" }, outputs: { sendForm: "sendForm" }, providers: [MessageService], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"translate\">\n <section class=\"pt-0\">\n <div class=\"app-section-header-img\">\n <div class=\"container pt-4\">\n <div class=\"\">\n <h2>{{translate.title}}</h2>\n </div>\n </div>\n </div>\n </section>\n <section class=\"py-5 background-light\">\n <div class=\"container px-lg-5\">\n <div class=\"row align-items-center\">\n <div class=\"col-md-6\">\n <div class=\"container-contact100\">\n <div class=\"wrap-contact100\">\n <form [formGroup]=\"form\" *ngIf=\"form && systems\" class=\"contact100-form validate-form\">\n <span class=\"contact100-form-title\">{{translate.title}}</span>\n <div class=\"p-grid p-fluid p-mt-2\">\n <div class=\"p-col-12 p-md-12 \">\n <span class=\"titre\">{{translate.placeholderName}}</span> <span class=\"requis\">* </span>:\n <input [placeholder]=\"translate.placeholderName\" type=\"text\" pInputText formControlName=\"name\" [ngClass]=\"{ 'is-invalid': submitted && f.name.invalid }\">\n <div *ngIf=\"submitted && f.name.errors\">\n <div class=\"requis\" *ngIf=\"f.name.errors.required\">{{translate.requiredName}}</div>\n <div class=\"requis\" *ngIf=\"f.name.errors.minlength\">{{translate.requiredNameMin}}</div>\n </div>\n </div>\n </div>\n <div class=\"p-grid p-fluid p-mt-2\">\n <div class=\"p-col-12 p-md-12 \">\n <span class=\"titre\">{{translate.placeholderEmail}}</span> <span class=\"requis\">*</span>:\n <input [placeholder]=\"translate.placeholderEmail\" type=\"text\" pInputText formControlName=\"email\" [ngClass]=\"{ 'is-invalid': submitted && f.email.invalid }\">\n <div *ngIf=\"submitted && f.email.errors\">\n <div class=\"requis\" *ngIf=\"f.email.errors.required\">{{translate.requiredEmail}}</div>\n <div class=\"requis\" *ngIf=\"f.email.errors.email\">{{translate.requiredEmailFormat}}</div>\n </div>\n </div>\n </div>\n <div class=\"p-grid p-fluid p-mt-2\">\n <div class=\"p-col-12 p-md-12 \">\n <span class=\"titre\">{{translate.placeholderPhone}}</span> <span class=\"requis\">*</span>:\n <input [placeholder]=\"translate.placeholderPhone\" type=\"text\" pInputText formControlName=\"phone\" [ngClass]=\"{ 'is-invalid': submitted && f.phone.invalid }\" (keypress)=\"preventStringKeypress($event)\">\n <div *ngIf=\"submitted && f.phone.errors\">\n <div class=\"requis\" *ngIf=\"f.phone.errors.required\">{{translate.requiredPhone}}</div>\n </div>\n </div>\n </div>\n <div class=\"p-grid p-fluid p-mt-2\">\n <div class=\"p-col-12 p-md-12 \">\n <span class=\"titre\">{{translate.RelatedSystems}}</span> <span class=\"requis\"> </span>\n <p-multiSelect formControlName=\"systems\" [options]=\"systems\" [(ngModel)]=\"selectedSystems\" [defaultLabel]=\"translate.selectAsystem\" [optionLabel]=\"'name'\" display=\"chip\"></p-multiSelect>\n </div>\n </div>\n <div class=\"p-grid p-fluid p-mt-2\">\n <div class=\"p-col-12 p-md-12 \">\n <span class=\"titre\">{{translate.placeholderMessage}}</span> <span class=\"requis\">*</span>:\n <textarea pInputTextarea [placeholder]=\"translate.placeholderMessage +'...'\" formControlName=\"message\" [ngClass]=\"{ 'is-invalid': submitted && f.message.errors }\"></textarea>\n <div *ngIf=\"submitted && f.message.errors\">\n <div class=\"requis\" *ngIf=\"f.message.errors.required\">{{translate.requiredMessage}}</div>\n <div class=\"requis\" *ngIf=\"f.message.errors.minlength\">{{translate.requiredMessageMin}}</div>\n </div>\n </div>\n </div>\n <div class=\"container-contact100-form-btn\">\n <div class=\"wrap-contact100-form-btn\">\n <div class=\"contact100-form-bgbtn\"></div>\n <button class=\"btn-warranty mt-3\" (click)=\"onSubmit()\">\n {{translate.send}}\n </button>\n </div>\n </div>\n </form>\n </div>\n </div>\n </div>\n <div class=\"col-md-6 contact\">\n <iframe src=\"https://maps.google.com/maps?q=283,%20Rue%20De%20la%20Miniere-BP34%20%2078533%20BUC%20%E2%80%93%20Cedex&t=&z=13&ie=UTF8&iwloc=&output=embed\" width=\"600\" height=\"250\" style=\"border:0;\" allowfullscreen=\"\" loading=\"lazy\"></iframe>\n <h6 class=\"fs-4 mt-3\"> {{translate.information}}</h6>\n <section class=\"mb-4\">\n <div class=\"\">\n <i class=\"pi pi-envelope\"></i><label> E-mail</label>\n <p class=\"\">info@ge.com (To be replaced) </p>\n </div>\n <div class=\" mt-4\">\n <i class=\"pi pi-map\"></i><label> {{translate.address}}</label>\n <p class=\"\">GE Medical Systems, 283, Rue De la Miniere-BP34</p>\n <p class=\"\">78533 BUC \u2013 Cedex France</p>\n <p class=\"\">France</p>\n </div>\n </section>\n </div>\n\n </div>\n </div>\n </section>\n</div>\n\n<p-toast position=\"top-center\"></p-toast>\n", styles: ["h1,h2,h3,h4,h5,h6,p,span,label,::placeholder{font-family:var(--font)}.app-section-header-img{background-image:url(/assets/img/GEPortal/contact.png);background-repeat:no-repeat;background-size:cover;background-position:center center;display:flex;align-items:center;height:237px}@media (max-width: var(--smallscreen)){.app-section-header-img{height:auto}}.app-section-header-img h2{font-size:48px;font-family:var(--font);font-weight:600;color:#fff;text-align:center}@media (max-width: var(--smallscreen)){.app-section-header-img h2{font-size:30px}}@media (max-width: var(--smallscreen)){.app-section-header-img{padding-left:15px;padding-right:15px}}@media (max-width: var(--tinyscreen)){.app-section-header-img{height:200px}}h2{font-weight:600}a:focus{outline:none!important}a:hover{text-decoration:none}input{outline:none;border:none}input.input100{height:62px;padding:0 20px 0 58px}input[type=number]{appearance:none;-webkit-appearance:none}input[type=number]::-webkit-outer-spin-button,input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none}textarea{outline:none;border:none}textarea.input100{min-height:199px;padding:19px 20px 0 23px}textarea:focus,input:focus{border-color:transparent!important}.container-contact100{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;padding:15px}.wrap-contact100{width:550px;background:transparent;padding:30px 0 80px}.contact100-form-title{display:block;font-family:var(--font);font-size:30px;color:#43383e;line-height:1.2;text-align:left;padding-bottom:35px}.wrap-input100{width:100%;position:relative;background-color:#fff;margin-bottom:17px}.label-input100{display:flex;justify-content:center;align-items:center;width:58px;height:62px;position:absolute;top:0;left:0;cursor:pointer;font-size:18px;color:#999}.input100{display:block;width:100%;background:transparent;font-size:15px;color:#43383e;line-height:1.2;padding:0 5px}@media (max-width: var(--smallscreen)){.contact iframe{width:auto}}.contact label{margin-left:10px;color:#a2a2a2;font-weight:700}.contact i{color:#a2a2a2;font-weight:700}.contact .social li{display:inline;padding:10px}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.InputText, selector: "[pInputText]" }, { kind: "component", type: i5.Toast, selector: "p-toast", inputs: ["key", "autoZIndex", "baseZIndex", "style", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "breakpoints"], outputs: ["onClose"] }, { kind: "directive", type: i6.InputTextarea, selector: "[pInputTextarea]", inputs: ["autoResize"], outputs: ["onResize"] }, { kind: "component", type: i7.MultiSelect, selector: "p-multiSelect", inputs: ["style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "appendTo", "dataKey", "name", "label", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "autoZIndex", "baseZIndex", "filterBy", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "showTransitionOptions", "hideTransitionOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "defaultLabel", "placeholder", "options", "filterValue", "itemSize"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad"] }, { kind: "directive", type: i1$3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }] });
|
383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ContactComponent, decorators: [{
|
384
|
+
type: Component,
|
385
|
+
args: [{ selector: 'awf-contact', providers: [MessageService], template: "<div *ngIf=\"translate\">\n <section class=\"pt-0\">\n <div class=\"app-section-header-img\">\n <div class=\"container pt-4\">\n <div class=\"\">\n <h2>{{translate.title}}</h2>\n </div>\n </div>\n </div>\n </section>\n <section class=\"py-5 background-light\">\n <div class=\"container px-lg-5\">\n <div class=\"row align-items-center\">\n <div class=\"col-md-6\">\n <div class=\"container-contact100\">\n <div class=\"wrap-contact100\">\n <form [formGroup]=\"form\" *ngIf=\"form && systems\" class=\"contact100-form validate-form\">\n <span class=\"contact100-form-title\">{{translate.title}}</span>\n <div class=\"p-grid p-fluid p-mt-2\">\n <div class=\"p-col-12 p-md-12 \">\n <span class=\"titre\">{{translate.placeholderName}}</span> <span class=\"requis\">* </span>:\n <input [placeholder]=\"translate.placeholderName\" type=\"text\" pInputText formControlName=\"name\" [ngClass]=\"{ 'is-invalid': submitted && f.name.invalid }\">\n <div *ngIf=\"submitted && f.name.errors\">\n <div class=\"requis\" *ngIf=\"f.name.errors.required\">{{translate.requiredName}}</div>\n <div class=\"requis\" *ngIf=\"f.name.errors.minlength\">{{translate.requiredNameMin}}</div>\n </div>\n </div>\n </div>\n <div class=\"p-grid p-fluid p-mt-2\">\n <div class=\"p-col-12 p-md-12 \">\n <span class=\"titre\">{{translate.placeholderEmail}}</span> <span class=\"requis\">*</span>:\n <input [placeholder]=\"translate.placeholderEmail\" type=\"text\" pInputText formControlName=\"email\" [ngClass]=\"{ 'is-invalid': submitted && f.email.invalid }\">\n <div *ngIf=\"submitted && f.email.errors\">\n <div class=\"requis\" *ngIf=\"f.email.errors.required\">{{translate.requiredEmail}}</div>\n <div class=\"requis\" *ngIf=\"f.email.errors.email\">{{translate.requiredEmailFormat}}</div>\n </div>\n </div>\n </div>\n <div class=\"p-grid p-fluid p-mt-2\">\n <div class=\"p-col-12 p-md-12 \">\n <span class=\"titre\">{{translate.placeholderPhone}}</span> <span class=\"requis\">*</span>:\n <input [placeholder]=\"translate.placeholderPhone\" type=\"text\" pInputText formControlName=\"phone\" [ngClass]=\"{ 'is-invalid': submitted && f.phone.invalid }\" (keypress)=\"preventStringKeypress($event)\">\n <div *ngIf=\"submitted && f.phone.errors\">\n <div class=\"requis\" *ngIf=\"f.phone.errors.required\">{{translate.requiredPhone}}</div>\n </div>\n </div>\n </div>\n <div class=\"p-grid p-fluid p-mt-2\">\n <div class=\"p-col-12 p-md-12 \">\n <span class=\"titre\">{{translate.RelatedSystems}}</span> <span class=\"requis\"> </span>\n <p-multiSelect formControlName=\"systems\" [options]=\"systems\" [(ngModel)]=\"selectedSystems\" [defaultLabel]=\"translate.selectAsystem\" [optionLabel]=\"'name'\" display=\"chip\"></p-multiSelect>\n </div>\n </div>\n <div class=\"p-grid p-fluid p-mt-2\">\n <div class=\"p-col-12 p-md-12 \">\n <span class=\"titre\">{{translate.placeholderMessage}}</span> <span class=\"requis\">*</span>:\n <textarea pInputTextarea [placeholder]=\"translate.placeholderMessage +'...'\" formControlName=\"message\" [ngClass]=\"{ 'is-invalid': submitted && f.message.errors }\"></textarea>\n <div *ngIf=\"submitted && f.message.errors\">\n <div class=\"requis\" *ngIf=\"f.message.errors.required\">{{translate.requiredMessage}}</div>\n <div class=\"requis\" *ngIf=\"f.message.errors.minlength\">{{translate.requiredMessageMin}}</div>\n </div>\n </div>\n </div>\n <div class=\"container-contact100-form-btn\">\n <div class=\"wrap-contact100-form-btn\">\n <div class=\"contact100-form-bgbtn\"></div>\n <button class=\"btn-warranty mt-3\" (click)=\"onSubmit()\">\n {{translate.send}}\n </button>\n </div>\n </div>\n </form>\n </div>\n </div>\n </div>\n <div class=\"col-md-6 contact\">\n <iframe src=\"https://maps.google.com/maps?q=283,%20Rue%20De%20la%20Miniere-BP34%20%2078533%20BUC%20%E2%80%93%20Cedex&t=&z=13&ie=UTF8&iwloc=&output=embed\" width=\"600\" height=\"250\" style=\"border:0;\" allowfullscreen=\"\" loading=\"lazy\"></iframe>\n <h6 class=\"fs-4 mt-3\"> {{translate.information}}</h6>\n <section class=\"mb-4\">\n <div class=\"\">\n <i class=\"pi pi-envelope\"></i><label> E-mail</label>\n <p class=\"\">info@ge.com (To be replaced) </p>\n </div>\n <div class=\" mt-4\">\n <i class=\"pi pi-map\"></i><label> {{translate.address}}</label>\n <p class=\"\">GE Medical Systems, 283, Rue De la Miniere-BP34</p>\n <p class=\"\">78533 BUC \u2013 Cedex France</p>\n <p class=\"\">France</p>\n </div>\n </section>\n </div>\n\n </div>\n </div>\n </section>\n</div>\n\n<p-toast position=\"top-center\"></p-toast>\n", styles: ["h1,h2,h3,h4,h5,h6,p,span,label,::placeholder{font-family:var(--font)}.app-section-header-img{background-image:url(/assets/img/GEPortal/contact.png);background-repeat:no-repeat;background-size:cover;background-position:center center;display:flex;align-items:center;height:237px}@media (max-width: var(--smallscreen)){.app-section-header-img{height:auto}}.app-section-header-img h2{font-size:48px;font-family:var(--font);font-weight:600;color:#fff;text-align:center}@media (max-width: var(--smallscreen)){.app-section-header-img h2{font-size:30px}}@media (max-width: var(--smallscreen)){.app-section-header-img{padding-left:15px;padding-right:15px}}@media (max-width: var(--tinyscreen)){.app-section-header-img{height:200px}}h2{font-weight:600}a:focus{outline:none!important}a:hover{text-decoration:none}input{outline:none;border:none}input.input100{height:62px;padding:0 20px 0 58px}input[type=number]{appearance:none;-webkit-appearance:none}input[type=number]::-webkit-outer-spin-button,input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none}textarea{outline:none;border:none}textarea.input100{min-height:199px;padding:19px 20px 0 23px}textarea:focus,input:focus{border-color:transparent!important}.container-contact100{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;padding:15px}.wrap-contact100{width:550px;background:transparent;padding:30px 0 80px}.contact100-form-title{display:block;font-family:var(--font);font-size:30px;color:#43383e;line-height:1.2;text-align:left;padding-bottom:35px}.wrap-input100{width:100%;position:relative;background-color:#fff;margin-bottom:17px}.label-input100{display:flex;justify-content:center;align-items:center;width:58px;height:62px;position:absolute;top:0;left:0;cursor:pointer;font-size:18px;color:#999}.input100{display:block;width:100%;background:transparent;font-size:15px;color:#43383e;line-height:1.2;padding:0 5px}@media (max-width: var(--smallscreen)){.contact iframe{width:auto}}.contact label{margin-left:10px;color:#a2a2a2;font-weight:700}.contact i{color:#a2a2a2;font-weight:700}.contact .social li{display:inline;padding:10px}\n"] }]
|
386
|
+
}], ctorParameters: function () { return [{ type: i1$3.FormBuilder }, { type: i2$1.MessageService }]; }, propDecorators: { loading: [{
|
387
|
+
type: Input
|
388
|
+
}], submitted: [{
|
389
|
+
type: Input
|
390
|
+
}], systems: [{
|
391
|
+
type: Input
|
392
|
+
}], selectedSystems: [{
|
393
|
+
type: Input
|
394
|
+
}], translate: [{
|
395
|
+
type: Input
|
396
|
+
}], sendForm: [{
|
397
|
+
type: Output
|
398
|
+
}] } });
|
399
|
+
|
400
|
+
class GeModule {
|
401
|
+
}
|
402
|
+
GeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: GeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
403
|
+
GeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: GeModule, declarations: [SystemListComponent,
|
404
|
+
ContactComponent], imports: [CommonModule,
|
405
|
+
GeRoutingModule,
|
406
|
+
TableModule,
|
407
|
+
InputTextModule,
|
408
|
+
PipesModule,
|
409
|
+
ToastModule,
|
410
|
+
InputTextareaModule,
|
411
|
+
MultiSelectModule,
|
412
|
+
FormsModule,
|
413
|
+
ReactiveFormsModule], exports: [SystemListComponent, ContactComponent] });
|
414
|
+
GeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: GeModule, imports: [CommonModule,
|
415
|
+
GeRoutingModule,
|
416
|
+
TableModule,
|
417
|
+
InputTextModule,
|
418
|
+
PipesModule,
|
419
|
+
ToastModule,
|
420
|
+
InputTextareaModule,
|
421
|
+
MultiSelectModule,
|
422
|
+
FormsModule,
|
423
|
+
ReactiveFormsModule] });
|
424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: GeModule, decorators: [{
|
425
|
+
type: NgModule,
|
426
|
+
args: [{
|
427
|
+
declarations: [
|
428
|
+
SystemListComponent,
|
429
|
+
ContactComponent,
|
430
|
+
],
|
431
|
+
imports: [
|
432
|
+
CommonModule,
|
433
|
+
GeRoutingModule,
|
434
|
+
TableModule,
|
435
|
+
InputTextModule,
|
436
|
+
PipesModule,
|
437
|
+
ToastModule,
|
438
|
+
InputTextareaModule,
|
439
|
+
MultiSelectModule,
|
440
|
+
FormsModule,
|
441
|
+
ReactiveFormsModule
|
442
|
+
],
|
443
|
+
exports: [SystemListComponent, ContactComponent]
|
444
|
+
}]
|
445
|
+
}] });
|
446
|
+
|
447
|
+
class Account {
|
448
|
+
}
|
449
|
+
|
450
|
+
class AlternativeDate {
|
451
|
+
}
|
452
|
+
|
453
|
+
var ApplicationName;
|
454
|
+
(function (ApplicationName) {
|
455
|
+
ApplicationName["ConsomerPortal"] = "ConsomerPortal";
|
456
|
+
ApplicationName["WarrantyPortal"] = "WarrantyPortal";
|
457
|
+
ApplicationName["GEPortal"] = "GEPortal";
|
458
|
+
})(ApplicationName || (ApplicationName = {}));
|
459
|
+
|
460
|
+
class MailRequest {
|
461
|
+
}
|
462
|
+
|
463
|
+
class CancelPMMailRequest extends MailRequest {
|
464
|
+
}
|
465
|
+
|
466
|
+
class ContactRequest {
|
467
|
+
}
|
468
|
+
|
469
|
+
class CustomObject {
|
470
|
+
}
|
471
|
+
|
472
|
+
class DetailedPmJob {
|
473
|
+
}
|
474
|
+
|
475
|
+
var EmailStatus;
|
476
|
+
(function (EmailStatus) {
|
477
|
+
EmailStatus[EmailStatus["Verifying"] = 0] = "Verifying";
|
478
|
+
EmailStatus[EmailStatus["Failed"] = 1] = "Failed";
|
479
|
+
})(EmailStatus || (EmailStatus = {}));
|
480
|
+
|
481
|
+
var EmailType;
|
482
|
+
(function (EmailType) {
|
483
|
+
EmailType["ACCEPTED"] = "Accepted";
|
484
|
+
EmailType["SENDNEWDATES"] = "SendNewDates";
|
485
|
+
EmailType["CANCEL"] = "Cancel";
|
486
|
+
EmailType["REPORTANDCANCEL"] = "ReportAndCancel";
|
487
|
+
})(EmailType || (EmailType = {}));
|
488
|
+
|
489
|
+
var EventStatus;
|
490
|
+
(function (EventStatus) {
|
491
|
+
EventStatus["ASSIGNEDANC"] = "Assigned ANC";
|
492
|
+
EventStatus["ASSIGNED"] = "Assigned";
|
493
|
+
EventStatus["ASSIGNEDPINNED"] = "Assigned Pinned";
|
494
|
+
EventStatus["COMPLETE"] = "Complete";
|
495
|
+
EventStatus["INCOMPLETE"] = "Incomplete";
|
496
|
+
})(EventStatus || (EventStatus = {}));
|
497
|
+
|
498
|
+
var Field;
|
499
|
+
(function (Field) {
|
500
|
+
Field["Textbox"] = "textbox";
|
501
|
+
Field["File"] = "file";
|
502
|
+
Field["Dropdown"] = "dropdown";
|
503
|
+
Field["Radio"] = "radio";
|
504
|
+
Field["Checkbox"] = "checkbox";
|
505
|
+
})(Field || (Field = {}));
|
506
|
+
|
507
|
+
var Language;
|
508
|
+
(function (Language) {
|
509
|
+
Language["FR"] = "fr-FR";
|
510
|
+
Language["US"] = "en-US";
|
511
|
+
Language["GB"] = "en-GB";
|
512
|
+
})(Language || (Language = {}));
|
513
|
+
|
514
|
+
class PMGroupedJob {
|
515
|
+
}
|
516
|
+
|
517
|
+
class PmJob {
|
518
|
+
}
|
519
|
+
|
520
|
+
class PmJobRequest {
|
521
|
+
}
|
522
|
+
|
523
|
+
var PmJobStatus;
|
524
|
+
(function (PmJobStatus) {
|
525
|
+
PmJobStatus["NEW"] = "new";
|
526
|
+
PmJobStatus["ACCEPTED"] = "accepted";
|
527
|
+
PmJobStatus["CLOSED"] = "closed";
|
528
|
+
PmJobStatus["Late"] = "late";
|
529
|
+
PmJobStatus["OPEN"] = "open";
|
530
|
+
PmJobStatus["WAITING"] = "waiting";
|
531
|
+
PmJobStatus["DONE"] = "done";
|
532
|
+
PmJobStatus["VALIDATED"] = "validated";
|
533
|
+
})(PmJobStatus || (PmJobStatus = {}));
|
534
|
+
|
535
|
+
class ReportDateMailRequest extends MailRequest {
|
536
|
+
}
|
537
|
+
|
538
|
+
var Role;
|
539
|
+
(function (Role) {
|
540
|
+
Role["User"] = "BasicUser";
|
541
|
+
Role["Admin"] = "Admin";
|
542
|
+
Role["RGPDUser"] = "RGPDUser";
|
543
|
+
})(Role || (Role = {}));
|
544
|
+
|
545
|
+
class Service {
|
546
|
+
}
|
547
|
+
|
548
|
+
var ServiceName;
|
549
|
+
(function (ServiceName) {
|
550
|
+
ServiceName["Repairer"] = "repairer";
|
551
|
+
ServiceName["WarrantyContract"] = "warrantyContract";
|
552
|
+
ServiceName["Devices"] = "devices";
|
553
|
+
ServiceName["TrackRepairs"] = "trackRepairs";
|
554
|
+
ServiceName["ExtendedWarranty"] = "extendedWarranty";
|
555
|
+
ServiceName["ScheduleAppointment"] = "scheduleAppointment";
|
556
|
+
ServiceName["Documentation"] = "documentation";
|
557
|
+
ServiceName["RepairabilityIndex"] = "repairabilityIndex";
|
558
|
+
})(ServiceName || (ServiceName = {}));
|
559
|
+
|
560
|
+
class SocialLoginRequest {
|
561
|
+
}
|
562
|
+
|
563
|
+
var SocialMadia;
|
564
|
+
(function (SocialMadia) {
|
565
|
+
SocialMadia["Gmail"] = "Gmail";
|
566
|
+
})(SocialMadia || (SocialMadia = {}));
|
567
|
+
|
568
|
+
class System {
|
569
|
+
}
|
570
|
+
|
571
|
+
var TokenStatus;
|
572
|
+
(function (TokenStatus) {
|
573
|
+
TokenStatus[TokenStatus["Validating"] = 0] = "Validating";
|
574
|
+
TokenStatus[TokenStatus["Valid"] = 1] = "Valid";
|
575
|
+
TokenStatus[TokenStatus["Invalid"] = 2] = "Invalid";
|
576
|
+
})(TokenStatus || (TokenStatus = {}));
|
577
|
+
|
578
|
+
class Warranty {
|
579
|
+
}
|
580
|
+
|
236
581
|
/*
|
237
582
|
* Public API Surface of awf-test-lib
|
238
|
-
*/
|
239
|
-
// export * from './lib/awf-test-lib.component';
|
240
|
-
// export * from './lib/awf-test-lib.module';
|
583
|
+
*/
|
241
584
|
|
242
585
|
/**
|
243
586
|
* Generated bundle index. Do not edit.
|
244
587
|
*/
|
245
588
|
|
246
|
-
export { CoreModule, MenuComponent, NotFoundComponent, TopBarComponent };
|
589
|
+
export { Account, AlternativeDate, ApplicationName, CancelPMMailRequest, ContactComponent, 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 };
|
247
590
|
//# sourceMappingURL=awf-test-lib.mjs.map
|