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.
- package/README.md +24 -24
- package/esm2020/lib/core/application/consomer-portal/menu-consomer/menu-consomer.component.mjs +27 -0
- package/esm2020/lib/core/application/ge-portal/menu-ge-portal/menu-ge-portal.component.mjs +31 -0
- package/esm2020/lib/core/application/warranty-portal/menu-warranty/menu-warranty.component.mjs +35 -0
- package/esm2020/lib/core/core-routing.module.mjs +18 -0
- package/esm2020/lib/core/core.module.mjs +51 -0
- package/esm2020/lib/core/menu/menu.component.mjs +40 -0
- package/esm2020/lib/core/not-found/not-found.component.mjs +21 -0
- package/esm2020/lib/core/top-bar/top-bar.component.mjs +41 -0
- package/esm2020/lib/ge/ge-routing.module.mjs +18 -0
- package/esm2020/lib/ge/ge.module.mjs +38 -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 +41 -3
- package/fesm2015/awf-test-lib.mjs +475 -25
- package/fesm2015/awf-test-lib.mjs.map +1 -1
- package/fesm2020/awf-test-lib.mjs +474 -25
- package/fesm2020/awf-test-lib.mjs.map +1 -1
- package/{awf-test-lib.d.ts → index.d.ts} +0 -0
- package/lib/core/application/consomer-portal/menu-consomer/menu-consomer.component.d.ts +12 -0
- package/lib/core/application/ge-portal/menu-ge-portal/menu-ge-portal.component.d.ts +13 -0
- package/lib/core/application/warranty-portal/menu-warranty/menu-warranty.component.d.ts +15 -0
- package/lib/core/core-routing.module.d.ts +7 -0
- package/lib/core/core.module.d.ts +15 -0
- package/lib/core/menu/menu.component.d.ts +17 -0
- package/lib/core/not-found/not-found.component.d.ts +10 -0
- package/lib/core/top-bar/top-bar.component.d.ts +13 -0
- package/lib/ge/ge-routing.module.d.ts +7 -0
- package/lib/ge/ge.module.d.ts +12 -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 +5 -5
- package/public-api.d.ts +38 -2
- package/esm2020/lib/awf-test-lib.component.mjs +0 -26
- package/esm2020/lib/awf-test-lib.module.mjs +0 -21
- package/esm2020/lib/awf-test-lib.service.mjs +0 -14
- package/esm2020/lib/mon-module/mon-module.module.mjs +0 -28
- package/esm2020/lib/mon-module/test/test.component.mjs +0 -15
- package/lib/awf-test-lib.component.d.ts +0 -8
- package/lib/awf-test-lib.module.d.ts +0 -7
- package/lib/awf-test-lib.service.d.ts +0 -6
- package/lib/mon-module/mon-module.module.d.ts +0 -9
- package/lib/mon-module/test/test.component.d.ts +0 -8
@@ -1,44 +1,494 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { Component,
|
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
|
5
|
-
import {
|
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
|
-
|
8
|
-
|
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
|
-
|
13
|
-
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
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: '
|
17
|
-
}], ctorParameters: function () { return []; }
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
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
|
-
|
220
|
+
TopBarComponent,
|
221
|
+
NotFoundComponent,
|
222
|
+
MenuComponent,
|
223
|
+
MenuWarrantyComponent,
|
224
|
+
MenuConsomerComponent,
|
225
|
+
MenuGePortalComponent,
|
33
226
|
],
|
34
227
|
imports: [
|
35
228
|
CommonModule,
|
36
|
-
|
229
|
+
CoreRoutingModule,
|
230
|
+
MegaMenuModule
|
37
231
|
],
|
38
|
-
exports: [
|
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
|
+
var _a;
|
275
|
+
(_a = this.dt) === null || _a === void 0 ? void 0 : _a.filterGlobal($event.target.value, stringVal);
|
276
|
+
}
|
277
|
+
}
|
278
|
+
SystemListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SystemListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
279
|
+
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" }] });
|
280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SystemListComponent, decorators: [{
|
281
|
+
type: Component,
|
282
|
+
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" }]
|
283
|
+
}], ctorParameters: function () { return []; }, propDecorators: { dt: [{
|
284
|
+
type: ViewChild,
|
285
|
+
args: ['dt']
|
286
|
+
}], translate: [{
|
287
|
+
type: Input
|
288
|
+
}], globaltranslate: [{
|
289
|
+
type: Input
|
290
|
+
}], systems: [{
|
291
|
+
type: Input
|
292
|
+
}] } });
|
293
|
+
|
294
|
+
class SubrtringWPipe {
|
295
|
+
transform(brand, manufacturerId) {
|
296
|
+
if (manufacturerId == 4 && (brand.substring(0, 2) === 'FR')) {
|
297
|
+
return brand.substring(2, 12);
|
298
|
+
}
|
299
|
+
else
|
300
|
+
return brand;
|
301
|
+
}
|
302
|
+
}
|
303
|
+
SubrtringWPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SubrtringWPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
304
|
+
SubrtringWPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: SubrtringWPipe, name: "subrtringW" });
|
305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SubrtringWPipe, decorators: [{
|
306
|
+
type: Pipe,
|
307
|
+
args: [{
|
308
|
+
name: 'subrtringW'
|
309
|
+
}]
|
310
|
+
}] });
|
311
|
+
|
312
|
+
class PipesModule {
|
313
|
+
}
|
314
|
+
PipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: PipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
315
|
+
PipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: PipesModule, declarations: [SubstringPipe, SubrtringWPipe], imports: [CommonModule], exports: [SubstringPipe, SubrtringWPipe] });
|
316
|
+
PipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: PipesModule, imports: [CommonModule] });
|
317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: PipesModule, decorators: [{
|
318
|
+
type: NgModule,
|
319
|
+
args: [{
|
320
|
+
declarations: [SubstringPipe, SubrtringWPipe],
|
321
|
+
exports: [SubstringPipe, SubrtringWPipe],
|
322
|
+
imports: [
|
323
|
+
CommonModule
|
324
|
+
]
|
325
|
+
}]
|
326
|
+
}] });
|
327
|
+
|
328
|
+
class GeModule {
|
329
|
+
}
|
330
|
+
GeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: GeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
331
|
+
GeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: GeModule, declarations: [SystemListComponent], imports: [CommonModule,
|
332
|
+
GeRoutingModule,
|
333
|
+
TableModule,
|
334
|
+
InputTextModule,
|
335
|
+
PipesModule], exports: [SystemListComponent] });
|
336
|
+
GeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: GeModule, imports: [CommonModule,
|
337
|
+
GeRoutingModule,
|
338
|
+
TableModule,
|
339
|
+
InputTextModule,
|
340
|
+
PipesModule] });
|
341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: GeModule, decorators: [{
|
342
|
+
type: NgModule,
|
343
|
+
args: [{
|
344
|
+
declarations: [
|
345
|
+
SystemListComponent,
|
346
|
+
],
|
347
|
+
imports: [
|
348
|
+
CommonModule,
|
349
|
+
GeRoutingModule,
|
350
|
+
TableModule,
|
351
|
+
InputTextModule,
|
352
|
+
PipesModule
|
353
|
+
],
|
354
|
+
exports: [SystemListComponent]
|
355
|
+
}]
|
356
|
+
}] });
|
357
|
+
|
358
|
+
class Account {
|
359
|
+
}
|
360
|
+
|
361
|
+
class AlternativeDate {
|
362
|
+
}
|
363
|
+
|
364
|
+
var ApplicationName;
|
365
|
+
(function (ApplicationName) {
|
366
|
+
ApplicationName["ConsomerPortal"] = "ConsomerPortal";
|
367
|
+
ApplicationName["WarrantyPortal"] = "WarrantyPortal";
|
368
|
+
ApplicationName["GEPortal"] = "GEPortal";
|
369
|
+
})(ApplicationName || (ApplicationName = {}));
|
370
|
+
|
371
|
+
class MailRequest {
|
372
|
+
}
|
373
|
+
|
374
|
+
class CancelPMMailRequest extends MailRequest {
|
375
|
+
}
|
376
|
+
|
377
|
+
class ContactRequest {
|
378
|
+
}
|
379
|
+
|
380
|
+
class CustomObject {
|
381
|
+
}
|
382
|
+
|
383
|
+
class DetailedPmJob {
|
384
|
+
}
|
385
|
+
|
386
|
+
var EmailStatus;
|
387
|
+
(function (EmailStatus) {
|
388
|
+
EmailStatus[EmailStatus["Verifying"] = 0] = "Verifying";
|
389
|
+
EmailStatus[EmailStatus["Failed"] = 1] = "Failed";
|
390
|
+
})(EmailStatus || (EmailStatus = {}));
|
391
|
+
|
392
|
+
var EmailType;
|
393
|
+
(function (EmailType) {
|
394
|
+
EmailType["ACCEPTED"] = "Accepted";
|
395
|
+
EmailType["SENDNEWDATES"] = "SendNewDates";
|
396
|
+
EmailType["CANCEL"] = "Cancel";
|
397
|
+
EmailType["REPORTANDCANCEL"] = "ReportAndCancel";
|
398
|
+
})(EmailType || (EmailType = {}));
|
399
|
+
|
400
|
+
var EventStatus;
|
401
|
+
(function (EventStatus) {
|
402
|
+
EventStatus["ASSIGNEDANC"] = "Assigned ANC";
|
403
|
+
EventStatus["ASSIGNED"] = "Assigned";
|
404
|
+
EventStatus["ASSIGNEDPINNED"] = "Assigned Pinned";
|
405
|
+
EventStatus["COMPLETE"] = "Complete";
|
406
|
+
EventStatus["INCOMPLETE"] = "Incomplete";
|
407
|
+
})(EventStatus || (EventStatus = {}));
|
408
|
+
|
409
|
+
var Field;
|
410
|
+
(function (Field) {
|
411
|
+
Field["Textbox"] = "textbox";
|
412
|
+
Field["File"] = "file";
|
413
|
+
Field["Dropdown"] = "dropdown";
|
414
|
+
Field["Radio"] = "radio";
|
415
|
+
Field["Checkbox"] = "checkbox";
|
416
|
+
})(Field || (Field = {}));
|
417
|
+
|
418
|
+
var Language;
|
419
|
+
(function (Language) {
|
420
|
+
Language["FR"] = "fr-FR";
|
421
|
+
Language["US"] = "en-US";
|
422
|
+
Language["GB"] = "en-GB";
|
423
|
+
})(Language || (Language = {}));
|
424
|
+
|
425
|
+
class PMGroupedJob {
|
426
|
+
}
|
427
|
+
|
428
|
+
class PmJob {
|
429
|
+
}
|
430
|
+
|
431
|
+
class PmJobRequest {
|
432
|
+
}
|
433
|
+
|
434
|
+
var PmJobStatus;
|
435
|
+
(function (PmJobStatus) {
|
436
|
+
PmJobStatus["NEW"] = "new";
|
437
|
+
PmJobStatus["ACCEPTED"] = "accepted";
|
438
|
+
PmJobStatus["CLOSED"] = "closed";
|
439
|
+
PmJobStatus["Late"] = "late";
|
440
|
+
PmJobStatus["OPEN"] = "open";
|
441
|
+
PmJobStatus["WAITING"] = "waiting";
|
442
|
+
PmJobStatus["DONE"] = "done";
|
443
|
+
PmJobStatus["VALIDATED"] = "validated";
|
444
|
+
})(PmJobStatus || (PmJobStatus = {}));
|
445
|
+
|
446
|
+
class ReportDateMailRequest extends MailRequest {
|
447
|
+
}
|
448
|
+
|
449
|
+
var Role;
|
450
|
+
(function (Role) {
|
451
|
+
Role["User"] = "BasicUser";
|
452
|
+
Role["Admin"] = "Admin";
|
453
|
+
Role["RGPDUser"] = "RGPDUser";
|
454
|
+
})(Role || (Role = {}));
|
455
|
+
|
456
|
+
class Service {
|
457
|
+
}
|
458
|
+
|
459
|
+
var ServiceName;
|
460
|
+
(function (ServiceName) {
|
461
|
+
ServiceName["Repairer"] = "repairer";
|
462
|
+
ServiceName["WarrantyContract"] = "warrantyContract";
|
463
|
+
ServiceName["Devices"] = "devices";
|
464
|
+
ServiceName["TrackRepairs"] = "trackRepairs";
|
465
|
+
ServiceName["ExtendedWarranty"] = "extendedWarranty";
|
466
|
+
ServiceName["ScheduleAppointment"] = "scheduleAppointment";
|
467
|
+
ServiceName["Documentation"] = "documentation";
|
468
|
+
ServiceName["RepairabilityIndex"] = "repairabilityIndex";
|
469
|
+
})(ServiceName || (ServiceName = {}));
|
470
|
+
|
471
|
+
class SocialLoginRequest {
|
472
|
+
}
|
473
|
+
|
474
|
+
var SocialMadia;
|
475
|
+
(function (SocialMadia) {
|
476
|
+
SocialMadia["Gmail"] = "Gmail";
|
477
|
+
})(SocialMadia || (SocialMadia = {}));
|
478
|
+
|
479
|
+
class System {
|
480
|
+
}
|
481
|
+
|
482
|
+
var TokenStatus;
|
483
|
+
(function (TokenStatus) {
|
484
|
+
TokenStatus[TokenStatus["Validating"] = 0] = "Validating";
|
485
|
+
TokenStatus[TokenStatus["Valid"] = 1] = "Valid";
|
486
|
+
TokenStatus[TokenStatus["Invalid"] = 2] = "Invalid";
|
487
|
+
})(TokenStatus || (TokenStatus = {}));
|
488
|
+
|
489
|
+
class Warranty {
|
490
|
+
}
|
491
|
+
|
42
492
|
/*
|
43
493
|
* Public API Surface of awf-test-lib
|
44
494
|
*/
|
@@ -47,5 +497,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImpor
|
|
47
497
|
* Generated bundle index. Do not edit.
|
48
498
|
*/
|
49
499
|
|
50
|
-
export {
|
500
|
+
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
501
|
//# sourceMappingURL=awf-test-lib.mjs.map
|