awf-test-lib 0.0.89 → 0.0.93
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/karma.conf.js +44 -0
- package/ng-package.json +7 -0
- package/package.json +10 -30
- package/src/lib/core/core-routing.module.ts +10 -0
- package/src/lib/core/core.module.ts +35 -0
- package/src/lib/core/menu/menu.component.css +18 -0
- package/src/lib/core/menu/menu.component.html +8 -0
- package/src/lib/core/menu/menu.component.spec.ts +23 -0
- package/src/lib/core/menu/menu.component.ts +27 -0
- package/src/lib/core/menu-consomer/menu-consomer.component.html +20 -0
- package/src/lib/core/menu-consomer/menu-consomer.component.scss +20 -0
- package/src/lib/core/menu-consomer/menu-consomer.component.spec.ts +25 -0
- package/src/lib/core/menu-consomer/menu-consomer.component.ts +21 -0
- package/src/lib/core/menu-ge-portal/menu-ge-portal.component.html +7 -0
- package/src/lib/core/menu-ge-portal/menu-ge-portal.component.scss +17 -0
- package/src/lib/core/menu-ge-portal/menu-ge-portal.component.spec.ts +25 -0
- package/src/lib/core/menu-ge-portal/menu-ge-portal.component.ts +24 -0
- package/src/lib/core/menu-warranty/menu-warranty.component.html +20 -0
- package/src/lib/core/menu-warranty/menu-warranty.component.scss +16 -0
- package/src/lib/core/menu-warranty/menu-warranty.component.spec.ts +25 -0
- package/src/lib/core/menu-warranty/menu-warranty.component.ts +31 -0
- package/src/lib/core/not-found/not-found.component.css +31 -0
- package/src/lib/core/not-found/not-found.component.html +6 -0
- package/src/lib/core/not-found/not-found.component.spec.ts +23 -0
- package/src/lib/core/not-found/not-found.component.ts +15 -0
- package/src/lib/core/top-bar/top-bar.component.css +116 -0
- package/src/lib/core/top-bar/top-bar.component.html +1 -0
- package/src/lib/core/top-bar/top-bar.component.spec.ts +23 -0
- package/src/lib/core/top-bar/top-bar.component.ts +39 -0
- package/{lib/models/account.model.d.ts → src/lib/models/account.model.ts} +6 -3
- package/src/lib/models/alternativeDate.model.ts +6 -0
- package/src/lib/models/applicationName.ts +6 -0
- package/{lib/models/cancelPMMailRequest.model.d.ts → src/lib/models/cancelPMMailRequest.model.ts} +3 -1
- package/src/lib/models/customObject.model.ts +4 -0
- package/src/lib/models/detailedPmJob.model.ts +24 -0
- package/src/lib/models/emailStatus.ts +4 -0
- package/src/lib/models/emailType.ts +17 -0
- package/src/lib/models/eventStatus.ts +8 -0
- package/src/lib/models/field.ts +7 -0
- package/src/lib/models/language.ts +4 -0
- package/{lib/models/mailRequest.model.d.ts → src/lib/models/mailRequest.model.ts} +3 -1
- package/src/lib/models/pMGroupedJob.model.ts +4 -0
- package/{lib/models/pmJob.model.d.ts → src/lib/models/pmJob.model.ts} +7 -6
- package/src/lib/models/pmJobRequest.model.ts +6 -0
- package/{lib/models/pmJobStatus.d.ts → src/lib/models/pmJobStatus.ts} +8 -3
- package/src/lib/models/reason.model.ts +7 -0
- package/src/lib/models/reasonCode.ts +9 -0
- package/src/lib/models/reasonContact.ts +7 -0
- package/{lib/models/reportDateMailRequest.model.d.ts → src/lib/models/reportDateMailRequest.model.ts} +3 -1
- package/src/lib/models/role.ts +5 -0
- package/src/lib/models/service.model.ts +8 -0
- package/src/lib/models/serviceName.ts +14 -0
- package/{lib/models/socialLoginRequest.model.d.ts → src/lib/models/socialLoginRequest.model.ts} +1 -1
- package/src/lib/models/socialMadia.ts +4 -0
- package/src/lib/models/stingBoolean.ts +7 -0
- package/src/lib/models/system.ts +15 -0
- package/{lib/models/theme.model.d.ts → src/lib/models/theme.model.ts} +18 -11
- package/src/lib/models/tokenStatus.ts +6 -0
- package/src/lib/models/warranty.ts +18 -0
- package/src/lib/pipes/pipes/pipes.module.ts +14 -0
- package/src/lib/pipes/subrtring-w.pipe.spec.ts +8 -0
- package/src/lib/pipes/subrtring-w.pipe.ts +16 -0
- package/src/lib/pipes/substring.pipe.spec.ts +8 -0
- package/src/lib/pipes/substring.pipe.ts +15 -0
- package/src/lib/shared/choose-another-date/choose-another-date.component.html +9 -0
- package/src/lib/shared/choose-another-date/choose-another-date.component.scss +4 -0
- package/src/lib/shared/choose-another-date/choose-another-date.component.spec.ts +25 -0
- package/src/lib/shared/choose-another-date/choose-another-date.component.ts +126 -0
- package/src/lib/shared/confirm-dialog/confirm-dialog.component.html +27 -0
- package/src/lib/shared/confirm-dialog/confirm-dialog.component.scss +0 -0
- package/src/lib/shared/confirm-dialog/confirm-dialog.component.spec.ts +25 -0
- package/src/lib/shared/confirm-dialog/confirm-dialog.component.ts +35 -0
- package/src/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.css +0 -0
- package/src/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.html +19 -0
- package/src/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.spec.ts +23 -0
- package/src/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.ts +36 -0
- package/src/lib/shared/confirmed-date-information/confirmed-date-information.component.html +25 -0
- package/src/lib/shared/confirmed-date-information/confirmed-date-information.component.scss +23 -0
- package/src/lib/shared/confirmed-date-information/confirmed-date-information.component.spec.ts +25 -0
- package/src/lib/shared/confirmed-date-information/confirmed-date-information.component.ts +25 -0
- package/src/lib/shared/contact/contact.component.css +144 -0
- package/src/lib/shared/contact/contact.component.html +122 -0
- package/src/lib/shared/contact/contact.component.spec.ts +23 -0
- package/src/lib/shared/contact/contact.component.ts +157 -0
- package/src/lib/shared/contact-support/contact-support.component.html +126 -0
- package/src/lib/shared/contact-support/contact-support.component.scss +10 -0
- package/src/lib/shared/contact-support/contact-support.component.spec.ts +25 -0
- package/src/lib/shared/contact-support/contact-support.component.ts +191 -0
- package/src/lib/shared/dashboard/dashboard.component.html +81 -0
- package/src/lib/shared/dashboard/dashboard.component.scss +5 -0
- package/src/lib/shared/dashboard/dashboard.component.spec.ts +23 -0
- package/src/lib/shared/dashboard/dashboard.component.ts +21 -0
- package/src/lib/shared/maintenance-list/maintenance-list.component.html +100 -0
- package/src/lib/shared/maintenance-list/maintenance-list.component.scss +26 -0
- package/src/lib/shared/maintenance-list/maintenance-list.component.spec.ts +25 -0
- package/src/lib/shared/maintenance-list/maintenance-list.component.ts +466 -0
- package/src/lib/shared/shared-routing.module.ts +10 -0
- package/src/lib/shared/shared.module.ts +84 -0
- package/src/lib/shared/show-links/show-links.component.html +48 -0
- package/src/lib/shared/show-links/show-links.component.scss +0 -0
- package/src/lib/shared/show-links/show-links.component.spec.ts +25 -0
- package/src/lib/shared/show-links/show-links.component.ts +80 -0
- package/src/lib/shared/system-list/system-list.component.css +0 -0
- package/src/lib/shared/system-list/system-list.component.html +40 -0
- package/src/lib/shared/system-list/system-list.component.spec.ts +23 -0
- package/src/lib/shared/system-list/system-list.component.ts +26 -0
- package/{public-api.d.ts → src/public-api.ts} +16 -1
- package/src/test.ts +27 -0
- package/tsconfig.lib.dev.json +10 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.pp.json +10 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/esm2020/awf-test-lib.mjs +0 -5
- package/esm2020/lib/core/core-routing.module.mjs +0 -18
- package/esm2020/lib/core/core.module.mjs +0 -51
- package/esm2020/lib/core/menu/menu.component.mjs +0 -40
- package/esm2020/lib/core/menu-consomer/menu-consomer.component.mjs +0 -27
- package/esm2020/lib/core/menu-ge-portal/menu-ge-portal.component.mjs +0 -31
- package/esm2020/lib/core/menu-warranty/menu-warranty.component.mjs +0 -35
- package/esm2020/lib/core/not-found/not-found.component.mjs +0 -19
- package/esm2020/lib/core/top-bar/top-bar.component.mjs +0 -41
- package/esm2020/lib/models/account.model.mjs +0 -3
- package/esm2020/lib/models/alternativeDate.model.mjs +0 -3
- package/esm2020/lib/models/applicationName.mjs +0 -7
- package/esm2020/lib/models/cancelPMMailRequest.model.mjs +0 -4
- package/esm2020/lib/models/customObject.model.mjs +0 -3
- package/esm2020/lib/models/detailedPmJob.model.mjs +0 -3
- package/esm2020/lib/models/emailStatus.mjs +0 -6
- package/esm2020/lib/models/emailType.mjs +0 -15
- package/esm2020/lib/models/eventStatus.mjs +0 -9
- package/esm2020/lib/models/field.mjs +0 -9
- package/esm2020/lib/models/language.mjs +0 -6
- package/esm2020/lib/models/mailRequest.model.mjs +0 -3
- package/esm2020/lib/models/pMGroupedJob.model.mjs +0 -3
- package/esm2020/lib/models/pmJob.model.mjs +0 -3
- package/esm2020/lib/models/pmJobRequest.model.mjs +0 -3
- package/esm2020/lib/models/pmJobStatus.mjs +0 -17
- package/esm2020/lib/models/reason.model.mjs +0 -3
- package/esm2020/lib/models/reasonCode.mjs +0 -9
- package/esm2020/lib/models/reasonContact.mjs +0 -8
- package/esm2020/lib/models/reportDateMailRequest.model.mjs +0 -4
- package/esm2020/lib/models/role.mjs +0 -7
- package/esm2020/lib/models/service.model.mjs +0 -3
- package/esm2020/lib/models/serviceName.mjs +0 -12
- package/esm2020/lib/models/socialLoginRequest.model.mjs +0 -3
- package/esm2020/lib/models/socialMadia.mjs +0 -5
- package/esm2020/lib/models/stingBoolean.mjs +0 -6
- package/esm2020/lib/models/system.mjs +0 -3
- package/esm2020/lib/models/theme.model.mjs +0 -2
- package/esm2020/lib/models/tokenStatus.mjs +0 -7
- package/esm2020/lib/models/warranty.mjs +0 -3
- package/esm2020/lib/pipes/pipes/pipes.module.mjs +0 -21
- package/esm2020/lib/pipes/subrtring-w.pipe.mjs +0 -20
- package/esm2020/lib/pipes/substring.pipe.mjs +0 -16
- package/esm2020/lib/shared/choose-another-date/choose-another-date.component.mjs +0 -110
- package/esm2020/lib/shared/confirm-dialog/confirm-dialog.component.mjs +0 -44
- package/esm2020/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.mjs +0 -42
- package/esm2020/lib/shared/confirmed-date-information/confirmed-date-information.component.mjs +0 -35
- package/esm2020/lib/shared/contact/contact.component.mjs +0 -136
- package/esm2020/lib/shared/contact-support/contact-support.component.mjs +0 -161
- package/esm2020/lib/shared/dashboard/dashboard.component.mjs +0 -34
- package/esm2020/lib/shared/maintenance-list/maintenance-list.component.mjs +0 -358
- package/esm2020/lib/shared/shared-routing.module.mjs +0 -18
- package/esm2020/lib/shared/shared.module.mjs +0 -144
- package/esm2020/lib/shared/show-links/show-links.component.mjs +0 -73
- package/esm2020/lib/shared/system-list/system-list.component.mjs +0 -32
- package/esm2020/public-api.mjs +0 -48
- package/fesm2015/awf-test-lib.mjs +0 -1536
- package/fesm2015/awf-test-lib.mjs.map +0 -1
- package/fesm2020/awf-test-lib.mjs +0 -1532
- package/fesm2020/awf-test-lib.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/core/core-routing.module.d.ts +0 -7
- package/lib/core/core.module.d.ts +0 -15
- package/lib/core/menu/menu.component.d.ts +0 -17
- package/lib/core/menu-consomer/menu-consomer.component.d.ts +0 -12
- package/lib/core/menu-ge-portal/menu-ge-portal.component.d.ts +0 -13
- package/lib/core/menu-warranty/menu-warranty.component.d.ts +0 -15
- package/lib/core/not-found/not-found.component.d.ts +0 -10
- package/lib/core/top-bar/top-bar.component.d.ts +0 -13
- package/lib/models/alternativeDate.model.d.ts +0 -6
- package/lib/models/applicationName.d.ts +0 -5
- package/lib/models/customObject.model.d.ts +0 -3
- package/lib/models/detailedPmJob.model.d.ts +0 -22
- package/lib/models/emailStatus.d.ts +0 -4
- package/lib/models/emailType.d.ts +0 -13
- package/lib/models/eventStatus.d.ts +0 -7
- package/lib/models/field.d.ts +0 -7
- package/lib/models/language.d.ts +0 -4
- package/lib/models/pMGroupedJob.model.d.ts +0 -3
- package/lib/models/pmJobRequest.model.d.ts +0 -5
- package/lib/models/reason.model.d.ts +0 -4
- package/lib/models/reasonCode.d.ts +0 -7
- package/lib/models/reasonContact.d.ts +0 -6
- package/lib/models/role.d.ts +0 -5
- package/lib/models/service.model.d.ts +0 -8
- package/lib/models/serviceName.d.ts +0 -10
- package/lib/models/socialMadia.d.ts +0 -3
- package/lib/models/stingBoolean.d.ts +0 -4
- package/lib/models/system.d.ts +0 -14
- package/lib/models/tokenStatus.d.ts +0 -5
- package/lib/models/warranty.d.ts +0 -17
- package/lib/pipes/pipes/pipes.module.d.ts +0 -9
- package/lib/pipes/subrtring-w.pipe.d.ts +0 -7
- package/lib/pipes/substring.pipe.d.ts +0 -7
- package/lib/shared/choose-another-date/choose-another-date.component.d.ts +0 -33
- package/lib/shared/confirm-dialog/confirm-dialog.component.d.ts +0 -20
- package/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.d.ts +0 -19
- package/lib/shared/confirmed-date-information/confirmed-date-information.component.d.ts +0 -15
- package/lib/shared/contact/contact.component.d.ts +0 -38
- package/lib/shared/contact-support/contact-support.component.d.ts +0 -49
- package/lib/shared/dashboard/dashboard.component.d.ts +0 -17
- package/lib/shared/maintenance-list/maintenance-list.component.d.ts +0 -83
- package/lib/shared/shared-routing.module.d.ts +0 -7
- package/lib/shared/shared.module.d.ts +0 -40
- package/lib/shared/show-links/show-links.component.d.ts +0 -22
- package/lib/shared/system-list/system-list.component.d.ts +0 -15
@@ -0,0 +1,80 @@
|
|
1
|
+
import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';
|
2
|
+
import { Table } from 'primeng/table';
|
3
|
+
import { DetailedPmJob } from '../../models/detailedPmJob.model';
|
4
|
+
import { PmJobStatus } from '../../models/pmJobStatus';
|
5
|
+
|
6
|
+
@Component({
|
7
|
+
selector: 'app-show-links',
|
8
|
+
templateUrl: './show-links.component.html',
|
9
|
+
styleUrls: ['./show-links.component.scss']
|
10
|
+
})
|
11
|
+
export class ShowLinksComponent {
|
12
|
+
@ViewChild('dt') dt: Table | undefined;
|
13
|
+
@Input() displayShowLinks!: boolean;
|
14
|
+
@Output() closeShowLinks = new EventEmitter<boolean>();
|
15
|
+
@Input() detailedPmJobLinkedList: DetailedPmJob[] = [];
|
16
|
+
@Input() selectedWorkorderId!: any;
|
17
|
+
@Input() globaltranslate: any;
|
18
|
+
@Input() translate: any;
|
19
|
+
@Input() status: any;
|
20
|
+
header ="header";
|
21
|
+
constructor() {
|
22
|
+
this.header = "PM : " + this.selectedWorkorderId ;
|
23
|
+
}
|
24
|
+
|
25
|
+
|
26
|
+
close()
|
27
|
+
{
|
28
|
+
this.closeShowLinks.emit(false);
|
29
|
+
|
30
|
+
}
|
31
|
+
applyFilterGlobal($event: any, stringVal: any) {
|
32
|
+
this.dt?.filterGlobal(
|
33
|
+
($event.target as HTMLInputElement).value,
|
34
|
+
stringVal
|
35
|
+
);
|
36
|
+
}
|
37
|
+
|
38
|
+
|
39
|
+
transformStatus(status: string): string {
|
40
|
+
switch (status) {
|
41
|
+
|
42
|
+
case PmJobStatus.NEW : return this.status.new;
|
43
|
+
case PmJobStatus.ACCEPTED : return this.status.accepted;
|
44
|
+
case PmJobStatus.CLOSED : return this.status.closed;
|
45
|
+
case PmJobStatus.Late : return this.status.late;
|
46
|
+
case PmJobStatus.OPEN : return this.status.open;
|
47
|
+
case PmJobStatus.WAITING : return this.status.waiting;
|
48
|
+
case PmJobStatus.DONE : return this.status.done;
|
49
|
+
case PmJobStatus.VALIDATED : return this.status.validated;
|
50
|
+
default : return "Erreur";
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
getStatusTooltip(status: string): string {
|
55
|
+
switch (status) {
|
56
|
+
case PmJobStatus.ACCEPTED : return this.status.acceptedTooltip;
|
57
|
+
case PmJobStatus.NEW : return this.status.newTooltip;
|
58
|
+
case PmJobStatus.CLOSED : return this.status.closedTooltip;
|
59
|
+
case PmJobStatus.Late : return this.status.lateTooltip;
|
60
|
+
|
61
|
+
case PmJobStatus.OPEN : return this.status.openTooltip;
|
62
|
+
case PmJobStatus.WAITING : return this.status.waitingTooltip;
|
63
|
+
case PmJobStatus.DONE : return this.status.doneTooltip;
|
64
|
+
case PmJobStatus.VALIDATED : return this.status.validatedTooltip;
|
65
|
+
default : return "Erreur";
|
66
|
+
}
|
67
|
+
}
|
68
|
+
transformType(type : string) {
|
69
|
+
|
70
|
+
if( type ==="Planned Maintenance"){
|
71
|
+
return "Maintenance planifiée" ;
|
72
|
+
console.log("test");
|
73
|
+
|
74
|
+
}
|
75
|
+
console.log("test2");
|
76
|
+
|
77
|
+
return type;
|
78
|
+
}
|
79
|
+
|
80
|
+
}
|
File without changes
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<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"
|
2
|
+
[currentPageReportTemplate]="globaltranslate.countPages" [showCurrentPageReport]="true">
|
3
|
+
<ng-template pTemplate="caption">
|
4
|
+
<div>
|
5
|
+
<span class="p-input-icon-left">
|
6
|
+
<i class="pi pi-search"></i>
|
7
|
+
<input pInputText type="text" (input)="applyFilterGlobal($event, 'contains')"
|
8
|
+
[placeholder]="globaltranslate.search" />
|
9
|
+
</span>
|
10
|
+
</div>
|
11
|
+
</ng-template>
|
12
|
+
<ng-template pTemplate="header" let-columns>
|
13
|
+
<tr>
|
14
|
+
|
15
|
+
<th pSortableColumn="name">{{translate.name}}
|
16
|
+
<p-sortIcon field="name"></p-sortIcon>
|
17
|
+
<th pSortableColumn="systemId">{{translate.systemId}}
|
18
|
+
<p-sortIcon field="systemId"></p-sortIcon>
|
19
|
+
<th pSortableColumn="modality">{{translate.modality}}
|
20
|
+
<p-sortIcon field="modality"></p-sortIcon>
|
21
|
+
<th pSortableColumn="installDate">{{translate.installDate}}
|
22
|
+
<p-sortIcon field="installDate"></p-sortIcon>
|
23
|
+
|
24
|
+
</tr>
|
25
|
+
</ng-template>
|
26
|
+
<ng-template pTemplate="body" let-product let-columns="columns">
|
27
|
+
<tr>
|
28
|
+
<td>{{product.name }}</td>
|
29
|
+
<td>{{product.systemId }}</td>
|
30
|
+
|
31
|
+
<td>{{product.modality }}</td>
|
32
|
+
<td>{{product.installDate | date: 'dd MMM yyyy' }}</td>
|
33
|
+
</tr>
|
34
|
+
</ng-template>
|
35
|
+
<ng-template pTemplate="summary">
|
36
|
+
<div class="p-d-flex p-ai-center p-jc-between">
|
37
|
+
{{globaltranslate.count}} {{systems ? systems.length : 0 }} {{globaltranslate.elements}}.
|
38
|
+
</div>
|
39
|
+
</ng-template>
|
40
|
+
</p-table>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
2
|
+
|
3
|
+
import { SystemListComponent } from './system-list.component';
|
4
|
+
|
5
|
+
describe('SystemListComponent', () => {
|
6
|
+
let component: SystemListComponent;
|
7
|
+
let fixture: ComponentFixture<SystemListComponent>;
|
8
|
+
|
9
|
+
beforeEach(async () => {
|
10
|
+
await TestBed.configureTestingModule({
|
11
|
+
declarations: [ SystemListComponent ]
|
12
|
+
})
|
13
|
+
.compileComponents();
|
14
|
+
|
15
|
+
fixture = TestBed.createComponent(SystemListComponent);
|
16
|
+
component = fixture.componentInstance;
|
17
|
+
fixture.detectChanges();
|
18
|
+
});
|
19
|
+
|
20
|
+
it('should create', () => {
|
21
|
+
expect(component).toBeTruthy();
|
22
|
+
});
|
23
|
+
});
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { Component, Input, OnChanges, ViewChild } from '@angular/core';
|
2
|
+
import { MessageService } from 'primeng/api';
|
3
|
+
import { Table } from 'primeng/table';
|
4
|
+
import { System } from '../../models/system';
|
5
|
+
|
6
|
+
@Component({
|
7
|
+
selector: 'awf-system-list',
|
8
|
+
templateUrl: './system-list.component.html',
|
9
|
+
styleUrls: ['./system-list.component.css'],
|
10
|
+
providers: [MessageService],
|
11
|
+
})
|
12
|
+
export class SystemListComponent implements OnChanges {
|
13
|
+
@ViewChild('dt') dt: Table | undefined;
|
14
|
+
@Input() translate: any;
|
15
|
+
@Input() globaltranslate: any;
|
16
|
+
@Input()systems: System[] = [];
|
17
|
+
|
18
|
+
constructor() {}
|
19
|
+
ngOnChanges(): void {}
|
20
|
+
|
21
|
+
applyFilterGlobal($event: any, stringVal: any) {
|
22
|
+
this.dt?.filterGlobal(($event.target as HTMLInputElement).value, stringVal);
|
23
|
+
}
|
24
|
+
|
25
|
+
|
26
|
+
}
|
@@ -1,14 +1,22 @@
|
|
1
|
+
/*
|
2
|
+
* Public API Surface of awf-test-lib
|
3
|
+
*/
|
1
4
|
/*********** shared module***********/
|
5
|
+
|
2
6
|
export * from './lib/core/core.module';
|
3
7
|
export * from './lib/core/menu/menu.component';
|
4
8
|
export * from './lib/core/not-found/not-found.component';
|
5
9
|
export * from './lib/core/top-bar/top-bar.component';
|
10
|
+
|
6
11
|
/*********** GE module ***********/
|
12
|
+
|
7
13
|
export * from './lib/shared/shared.module';
|
8
14
|
export * from './lib/shared/system-list/system-list.component';
|
9
15
|
export * from './lib/shared/contact/contact.component';
|
10
16
|
export * from './lib/shared/maintenance-list/maintenance-list.component';
|
11
17
|
export * from './lib/shared/dashboard/dashboard.component';
|
18
|
+
|
19
|
+
// models
|
12
20
|
export * from './lib/models/account.model';
|
13
21
|
export * from './lib/models/alternativeDate.model';
|
14
22
|
export * from './lib/models/applicationName';
|
@@ -37,6 +45,13 @@ export * from './lib/models/tokenStatus';
|
|
37
45
|
export * from './lib/models/warranty';
|
38
46
|
export * from './lib/models/reasonContact';
|
39
47
|
export * from './lib/models/stingBoolean';
|
40
|
-
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
// Pipes
|
53
|
+
|
54
|
+
export * from './lib/pipes/pipes/pipes.module';
|
41
55
|
export * from './lib/pipes/subrtring-w.pipe';
|
42
56
|
export * from './lib/pipes/substring.pipe';
|
57
|
+
|
package/src/test.ts
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
|
2
|
+
|
3
|
+
import 'zone.js';
|
4
|
+
import 'zone.js/testing';
|
5
|
+
import { getTestBed } from '@angular/core/testing';
|
6
|
+
import {
|
7
|
+
BrowserDynamicTestingModule,
|
8
|
+
platformBrowserDynamicTesting
|
9
|
+
} from '@angular/platform-browser-dynamic/testing';
|
10
|
+
|
11
|
+
declare const require: {
|
12
|
+
context(path: string, deep?: boolean, filter?: RegExp): {
|
13
|
+
<T>(id: string): T;
|
14
|
+
keys(): string[];
|
15
|
+
};
|
16
|
+
};
|
17
|
+
|
18
|
+
// First, initialize the Angular testing environment.
|
19
|
+
getTestBed().initTestEnvironment(
|
20
|
+
BrowserDynamicTestingModule,
|
21
|
+
platformBrowserDynamicTesting(),
|
22
|
+
);
|
23
|
+
|
24
|
+
// Then we find all the tests.
|
25
|
+
const context = require.context('./', true, /\.spec\.ts$/);
|
26
|
+
// And load the modules.
|
27
|
+
context.keys().forEach(context);
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
2
|
+
{
|
3
|
+
"extends": "../../tsconfig.json",
|
4
|
+
"compilerOptions": {
|
5
|
+
"outDir": "../../out-tsc/lib",
|
6
|
+
"declaration": true,
|
7
|
+
"declarationMap": true,
|
8
|
+
"inlineSources": true,
|
9
|
+
"types": []
|
10
|
+
},
|
11
|
+
"exclude": [
|
12
|
+
"src/test.ts",
|
13
|
+
"**/*.spec.ts"
|
14
|
+
]
|
15
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
2
|
+
{
|
3
|
+
"extends": "../../tsconfig.json",
|
4
|
+
"compilerOptions": {
|
5
|
+
"outDir": "../../out-tsc/spec",
|
6
|
+
"types": [
|
7
|
+
"jasmine"
|
8
|
+
]
|
9
|
+
},
|
10
|
+
"files": [
|
11
|
+
"src/test.ts"
|
12
|
+
],
|
13
|
+
"include": [
|
14
|
+
"**/*.spec.ts",
|
15
|
+
"**/*.d.ts"
|
16
|
+
]
|
17
|
+
}
|
package/esm2020/awf-test-lib.mjs
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './public-api';
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXdmLXRlc3QtbGliLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvYXdmLXRlc3QtbGliL3NyYy9hd2YtdGVzdC1saWIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { RouterModule } from '@angular/router';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "@angular/router";
|
5
|
-
const routes = [];
|
6
|
-
export class CoreRoutingModule {
|
7
|
-
}
|
8
|
-
CoreRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: CoreRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
9
|
-
CoreRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.10", ngImport: i0, type: CoreRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] });
|
10
|
-
CoreRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: CoreRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: CoreRoutingModule, decorators: [{
|
12
|
-
type: NgModule,
|
13
|
-
args: [{
|
14
|
-
imports: [RouterModule.forChild(routes)],
|
15
|
-
exports: [RouterModule]
|
16
|
-
}]
|
17
|
-
}] });
|
18
|
-
//# sourceMappingURL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0ZXJNb2R1bGVdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDb3JlUm91dGluZ01vZHVsZSB7IH1cclxuIl19
|
@@ -1,51 +0,0 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { CoreRoutingModule } from './core-routing.module';
|
4
|
-
import { NotFoundComponent } from './not-found/not-found.component';
|
5
|
-
import { MegaMenuModule } from 'primeng/megamenu';
|
6
|
-
import { TopBarComponent } from './top-bar/top-bar.component';
|
7
|
-
import { MenuComponent } from './menu/menu.component';
|
8
|
-
import { MenuWarrantyComponent } from './menu-warranty/menu-warranty.component';
|
9
|
-
import { MenuConsomerComponent } from './menu-consomer/menu-consomer.component';
|
10
|
-
import { MenuGePortalComponent } from './menu-ge-portal/menu-ge-portal.component';
|
11
|
-
import * as i0 from "@angular/core";
|
12
|
-
export class CoreModule {
|
13
|
-
}
|
14
|
-
CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
15
|
-
CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.10", ngImport: i0, type: CoreModule, declarations: [TopBarComponent,
|
16
|
-
NotFoundComponent,
|
17
|
-
MenuComponent,
|
18
|
-
MenuWarrantyComponent,
|
19
|
-
MenuConsomerComponent,
|
20
|
-
MenuGePortalComponent], imports: [CommonModule,
|
21
|
-
CoreRoutingModule,
|
22
|
-
MegaMenuModule], exports: [NotFoundComponent,
|
23
|
-
MenuComponent,
|
24
|
-
TopBarComponent] });
|
25
|
-
CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: CoreModule, imports: [CommonModule,
|
26
|
-
CoreRoutingModule,
|
27
|
-
MegaMenuModule] });
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: CoreModule, decorators: [{
|
29
|
-
type: NgModule,
|
30
|
-
args: [{
|
31
|
-
declarations: [
|
32
|
-
TopBarComponent,
|
33
|
-
NotFoundComponent,
|
34
|
-
MenuComponent,
|
35
|
-
MenuWarrantyComponent,
|
36
|
-
MenuConsomerComponent,
|
37
|
-
MenuGePortalComponent,
|
38
|
-
],
|
39
|
-
imports: [
|
40
|
-
CommonModule,
|
41
|
-
CoreRoutingModule,
|
42
|
-
MegaMenuModule
|
43
|
-
],
|
44
|
-
exports: [
|
45
|
-
NotFoundComponent,
|
46
|
-
MenuComponent,
|
47
|
-
TopBarComponent,
|
48
|
-
]
|
49
|
-
}]
|
50
|
-
}] });
|
51
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hd2YtdGVzdC1saWIvc3JjL2xpYi9jb3JlL2NvcmUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzFELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQ3BFLE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sNkJBQTZCLENBQUM7QUFDOUQsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ3RELE9BQU8sRUFBRSxxQkFBcUIsRU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Q29tcG9uZW50LFxyXG4gICAgTWVudUNvbXBvbmVudCxcclxuICAgIFRvcEJhckNvbXBvbmVudCxcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDb3JlTW9kdWxlIHsgfVxyXG4iXX0=
|
@@ -1,40 +0,0 @@
|
|
1
|
-
import { Component, EventEmitter, Output, Input } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
import * as i1 from "@angular/common";
|
4
|
-
import * as i2 from "../menu-warranty/menu-warranty.component";
|
5
|
-
import * as i3 from "../menu-consomer/menu-consomer.component";
|
6
|
-
import * as i4 from "../menu-ge-portal/menu-ge-portal.component";
|
7
|
-
export class MenuComponent {
|
8
|
-
constructor() {
|
9
|
-
this.logOutClick = new EventEmitter();
|
10
|
-
this.hideMenu = new EventEmitter();
|
11
|
-
}
|
12
|
-
ngOnInit() { }
|
13
|
-
logout() {
|
14
|
-
this.logOutClick.emit();
|
15
|
-
}
|
16
|
-
hideMenuMethode() {
|
17
|
-
this.hideMenu.emit();
|
18
|
-
}
|
19
|
-
}
|
20
|
-
MenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
21
|
-
MenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MenuWarrantyComponent, selector: "awf-menu-warranty", inputs: ["isAdmin", "translate", "haveConsumerDataId"], outputs: ["logOutClick", "hideMenu"] }, { kind: "component", type: i3.MenuConsomerComponent, selector: "awf-menu-consomer", inputs: ["translate", "isAdmin"], outputs: ["logOutClick"] }, { kind: "component", type: i4.MenuGePortalComponent, selector: "awf-menu-ge-portal", inputs: ["translate", "isAdmin"], outputs: ["logOutClick", "hideMenu"] }] });
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: MenuComponent, decorators: [{
|
23
|
-
type: Component,
|
24
|
-
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"] }]
|
25
|
-
}], ctorParameters: function () { return []; }, propDecorators: { logOutClick: [{
|
26
|
-
type: Output
|
27
|
-
}], hideMenu: [{
|
28
|
-
type: Output
|
29
|
-
}], active: [{
|
30
|
-
type: Input
|
31
|
-
}], isAdmin: [{
|
32
|
-
type: Input
|
33
|
-
}], translate: [{
|
34
|
-
type: Input
|
35
|
-
}], applicationName: [{
|
36
|
-
type: Input
|
37
|
-
}], haveConsumerDataId: [{
|
38
|
-
type: Input
|
39
|
-
}] } });
|
40
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hd2YtdGVzdC1saWIvc3JjL2xpYi9jb3JlL21lbnUvbWVudS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hd2YtdGVzdC1saWIvc3JjL2xpYi9jb3JlL21lbnUvbWVudS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFDLFlBQVksRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDOzs7Ozs7QUFNOUUsTUFBTSxPQUFPLGFBQWE7SUFReEI7UUFQVSxnQkFBVyxHQUFzQixJQUFJLFlBQVksRUFBRSxDQUFDO1FBQ3BELGFBQVEsR0FBc0IsSUFBSSxZQUFZLEVBQUUsQ0FBQztJQU0zQyxDQUFDO0lBQ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j5cclxuICAgICAgICA8YXdmLW1lbnUtZ2UtcG9ydGFsIFt0cmFuc2xhdGVdPVwidHJhbnNsYXRlXCIgW2lzQWRtaW5dPVwiaXNBZG1pblwiICpuZ0lmPVwiYXBwbGljYXRpb25OYW1lID09PSdHRVBvcnRhbCcgXCIgKGxvZ091dENsaWNrKT1sb2dvdXQoKSAoaGlkZU1lbnUpPVwiaGlkZU1lbnVNZXRob2RlKClcIj5cclxuICAgICAgICA8L2F3Zi1tZW51LWdlLXBvcnRhbD4gXHJcbiJdfQ==
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
import * as i1 from "@angular/common";
|
4
|
-
import * as i2 from "@angular/router";
|
5
|
-
export class MenuConsomerComponent {
|
6
|
-
constructor() {
|
7
|
-
this.logOutClick = new EventEmitter();
|
8
|
-
}
|
9
|
-
ngOnChanges() {
|
10
|
-
}
|
11
|
-
logout() {
|
12
|
-
this.logOutClick.emit();
|
13
|
-
}
|
14
|
-
}
|
15
|
-
MenuConsomerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: MenuConsomerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
16
|
-
MenuConsomerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", 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.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"] }] });
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: MenuConsomerComponent, decorators: [{
|
18
|
-
type: Component,
|
19
|
-
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"] }]
|
20
|
-
}], ctorParameters: function () { return []; }, propDecorators: { logOutClick: [{
|
21
|
-
type: Output
|
22
|
-
}], translate: [{
|
23
|
-
type: Input
|
24
|
-
}], isAdmin: [{
|
25
|
-
type: Input
|
26
|
-
}] } });
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1jb25zb21lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hd2YtdGVzdC1saWIvc3JjL2xpYi9jb3JlL21lbnUtY29uc29tZXIvbWVudS1jb25zb21lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hd2YtdGVzdC1saWIvc3JjL2xpYi9jb3JlL21lbnUtY29uc29tZXIvbWVudS1jb25zb21lci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQWEsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7O0FBT2xGLE1BQU0sT0FBTyxxQkFBcUI7SUFJaEM7UUFIVSxnQkFBVyxHQUFzQixJQUFJLFlBQVksRUFBRSxDQUFDO0lBRzlDLENBQUM7SUFFakIsV0FBVztJQUNYLENBQUM7SUFFRCxNQUFNO1FBQ0osSUFBSSxDQUFD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bXNcIj5cclxuICAgICAgICA8YSA+e3t0cmFuc2xhdGUucHJvZmlsZX19PC9hPlxyXG4gICAgICAgIDxhICAoY2xpY2spPVwibG9nb3V0KClcIj57e3RyYW5zbGF0ZS5sb2dvdXR9fTwvYT5cclxuICAgIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
|
@@ -1,31 +0,0 @@
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
import * as i1 from "@angular/common";
|
4
|
-
import * as i2 from "@angular/router";
|
5
|
-
export class MenuGePortalComponent {
|
6
|
-
constructor() {
|
7
|
-
this.logOutClick = new EventEmitter();
|
8
|
-
this.hideMenu = new EventEmitter();
|
9
|
-
}
|
10
|
-
logout() {
|
11
|
-
this.logOutClick.emit();
|
12
|
-
}
|
13
|
-
hideMenuMethode() {
|
14
|
-
this.hideMenu.emit();
|
15
|
-
}
|
16
|
-
}
|
17
|
-
MenuGePortalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: MenuGePortalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
18
|
-
MenuGePortalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", 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.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"] }] });
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: MenuGePortalComponent, decorators: [{
|
20
|
-
type: Component,
|
21
|
-
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"] }]
|
22
|
-
}], ctorParameters: function () { return []; }, propDecorators: { logOutClick: [{
|
23
|
-
type: Output
|
24
|
-
}], translate: [{
|
25
|
-
type: Input
|
26
|
-
}], isAdmin: [{
|
27
|
-
type: Input
|
28
|
-
}], hideMenu: [{
|
29
|
-
type: Output
|
30
|
-
}] } });
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1nZS1wb3J0YWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYXdmLXRlc3QtbGliL3NyYy9saWIvY29yZS9tZW51LWdlLXBvcnRhbC9tZW51LWdlLXBvcnRhbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hd2YtdGVzdC1saWIvc3JjL2xpYi9jb3JlL21lbnUtZ2UtcG9ydGFsL21lbnUtZ2UtcG9ydGFsLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7QUFPdkUsTUFBTSxPQUFPLHFCQUFxQjtJQUs5QjtRQUpVLGdCQUFXLEdBQXNCLElBQUksWUFBWSxFQUFFLENBQUM7UUFHcEQsYUFBUSxHQUFzQixJQUFJLFlBQVksRUFBRSxDQUFDO0lBQzNDLENBQUM7SUFHakIsTUFBTTtRQUFLLElBQUksQ0FBQyxXQUFXLENBQUMsSUFBSSxFQUFFLENBQUM7SUFDbkMsQ0FBQztJQUVELGVBQWU7UUFFWCxJQUFJLENBQUMsUUFBUSxDQUFDLElBQUksRUFBRSxDQUFDO0lBQ3pCLENBQUM7O21IQWRRLHFCQUFxQjt1R0FBckIscUJBQ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cclxuXHJcbn1cclxuIiwiPGRpdiBjbGFzcz1cImxheW91dC1tZW51XCIgKm5nSWY9XCJ0cmFuc2xhdGVcIj5cclxuICAgIDxkaXYgY2xhc3M9XCJtZW51XCIgcm91dGVyTGluaz1cIi4vXCIgKGNsaWNrKT1cImhpZGVNZW51TWV0aG9kZSgpXCI+IDxpIGNsYXNzPVwicGkgcGktaG9tZVwiPjwvaT4ge3t0cmFuc2xhdGUuaG9tZX19PC9kaXY+XHJcbiAgICA8ZGl2IGNsYXNzPVwibWVudVwiIHJvdXRlckxpbms9XCIuL2NvbnRhY3RcIiAoY2xpY2spPVwiaGlkZU1lbnVNZXRob2RlKClcIj4gPGkgY2xhc3M9XCJwaSBwaS1waG9uZVwiPjwvaT4ge3t0cmFuc2xhdGUuY29udGFjdH19PC9kaXY+XHJcbiAgICA8ZGl2IGNsYXNzPVwibWVudVwiIHJvdXRlckxpbms9XCIuL3N5c3RlbXNcIiAoY2xpY2spPVwiaGlkZU1lbnVNZXRob2RlKClcIj4gPGkgY2xhc3M9XCJwaSBwaS1leWVcIj48L2k+IHt7dHJhbnNsYXRlLnN5c3RlbXN9fTwvZGl2PlxyXG4gICAgPGRpdiBjbGFzcz1cIm1lbnVcIiByb3V0ZXJMaW5rPVwiLi9tYWludGVuYW5jZVwiIChjbGljayk9XCJoaWRlTWVudU1ldGhvZGUoKVwiPiA8aSBjbGFzcz1cInBpIHBpLWluYm94XCI+PC9pPiB7e3RyYW5zbGF0ZS5tYWludGVuYW5jZX19PC9kaXY+XHJcbiAgICA8ZGl2IGNsYXNzPVwibWVudVwiIChjbGljayk9XCJsb2dvdXQoKVwiPiA8aSBjbGFzcz1cInBpIHBpLXBvd2VyLW9mZlwiPjwvaT4ge3t0cmFuc2xhdGUubG9nb3V0fX08L2Rpdj5cclxuPC9kaXY+ICJdfQ==
|
@@ -1,35 +0,0 @@
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
import * as i1 from "@angular/common";
|
4
|
-
import * as i2 from "@angular/router";
|
5
|
-
export class MenuWarrantyComponent {
|
6
|
-
constructor() {
|
7
|
-
this.logOutClick = new EventEmitter();
|
8
|
-
this.hideMenu = new EventEmitter();
|
9
|
-
}
|
10
|
-
ngOnInit() {
|
11
|
-
}
|
12
|
-
logout() {
|
13
|
-
this.logOutClick.emit();
|
14
|
-
}
|
15
|
-
hideMenuMethode() {
|
16
|
-
this.hideMenu.emit();
|
17
|
-
}
|
18
|
-
}
|
19
|
-
MenuWarrantyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: MenuWarrantyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
20
|
-
MenuWarrantyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", 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.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"] }] });
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: MenuWarrantyComponent, decorators: [{
|
22
|
-
type: Component,
|
23
|
-
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"] }]
|
24
|
-
}], ctorParameters: function () { return []; }, propDecorators: { logOutClick: [{
|
25
|
-
type: Output
|
26
|
-
}], hideMenu: [{
|
27
|
-
type: Output
|
28
|
-
}], isAdmin: [{
|
29
|
-
type: Input
|
30
|
-
}], translate: [{
|
31
|
-
type: Input
|
32
|
-
}], haveConsumerDataId: [{
|
33
|
-
type: Input
|
34
|
-
}] } });
|
35
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS13YXJyYW50eS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hd2YtdGVzdC1saWIvc3JjL2xpYi9jb3JlL21lbnUtd2FycmFudHkvbWVudS13YXJyYW50eS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hd2YtdGVzdC1saWIvc3JjL2xpYi9jb3JlL21lbnUtd2FycmFudHkvbWVudS13YXJyYW50eS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQ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2ZUNvbnN1bWVyRGF0YUlkXCIgKGNsaWNrKT1cImhpZGVNZW51TWV0aG9kZSgpXCI+e3t0cmFuc2xhdGUub3B0aW9uc0xpc3R9fTwvYT5cclxuICAgICAgICA8YSByb3V0ZXJMaW5rPVwiLi9hY2NvdW50L2NoYW5nZS1wYXNzd29yZFwiICpuZ0lmPVwiaGF2ZUNvbnN1bWVyRGF0YUlkXCIgKGNsaWNrKT1cImhpZGVNZW51TWV0aG9kZSgpXCI+e3t0cmFuc2xhdGUuY2hhbmdlUGFzc3dvcmR9fTwvYT5cclxuICAgICAgICA8YSAoY2xpY2spPVwibG9nb3V0KClcIj57e3RyYW5zbGF0ZS5sb2dvdXR9fTwvYT5cclxuICAgIDwvZGl2PlxyXG48L2Rpdj4iXX0=
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
import * as i1 from "@angular/common";
|
4
|
-
import * as i2 from "@angular/router";
|
5
|
-
export class NotFoundComponent {
|
6
|
-
constructor() { }
|
7
|
-
ngOnChanges() { }
|
8
|
-
}
|
9
|
-
NotFoundComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: NotFoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
10
|
-
NotFoundComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", 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.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"] }] });
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: NotFoundComponent, decorators: [{
|
12
|
-
type: Component,
|
13
|
-
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"] }]
|
14
|
-
}], ctorParameters: function () { return []; }, propDecorators: { translate: [{
|
15
|
-
type: Input
|
16
|
-
}], applicationName: [{
|
17
|
-
type: Input
|
18
|
-
}] } });
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90LWZvdW5kLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2F3Zi10ZXN0LWxpYi9zcmMvbGliL2NvcmUvbm90LWZvdW5kL25vdC1mb3VuZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8u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