awf-test-lib 0.1.25 → 17.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/awf-test-lib.mjs +5 -0
- package/esm2022/lib/core/core-routing.module.mjs +18 -0
- package/esm2022/lib/core/core.module.mjs +51 -0
- package/esm2022/lib/core/menu/menu.component.mjs +44 -0
- package/esm2022/lib/core/menu-consomer/menu-consomer.component.mjs +28 -0
- package/esm2022/lib/core/menu-ge-portal/menu-ge-portal.component.mjs +108 -0
- package/esm2022/lib/core/menu-warranty/menu-warranty.component.mjs +37 -0
- package/esm2022/lib/core/not-found/not-found.component.mjs +21 -0
- package/esm2022/lib/core/top-bar/top-bar.component.mjs +43 -0
- package/esm2022/lib/models/account.model.mjs +15 -0
- package/esm2022/lib/models/alternativeDate.model.mjs +7 -0
- package/esm2022/lib/models/applicationName.mjs +7 -0
- package/esm2022/lib/models/cancelPMMailRequest.model.mjs +6 -0
- package/esm2022/lib/models/customObject.model.mjs +4 -0
- package/esm2022/lib/models/detailedPmJob.model.mjs +23 -0
- package/esm2022/lib/models/emailStatus.mjs +6 -0
- package/esm2022/lib/models/emailType.mjs +17 -0
- package/esm2022/lib/models/eventStatus.mjs +9 -0
- package/esm2022/lib/models/field.mjs +9 -0
- package/esm2022/lib/models/language.mjs +6 -0
- package/esm2022/lib/models/mailRequest.model.mjs +17 -0
- package/esm2022/lib/models/pMGroupedJob.model.mjs +4 -0
- package/esm2022/lib/models/pmJob.model.mjs +23 -0
- package/esm2022/lib/models/pmJobRequest.model.mjs +5 -0
- package/esm2022/lib/models/pmJobStatus.mjs +17 -0
- package/esm2022/lib/models/reason.model.mjs +5 -0
- package/esm2022/lib/models/reasonCode.mjs +9 -0
- package/esm2022/lib/models/reasonContact.mjs +8 -0
- package/esm2022/lib/models/reportDateMailRequest.model.mjs +6 -0
- package/esm2022/lib/models/role.mjs +7 -0
- package/esm2022/lib/models/service.model.mjs +9 -0
- package/esm2022/lib/models/serviceName.mjs +12 -0
- package/esm2022/lib/models/socialLoginRequest.model.mjs +7 -0
- package/esm2022/lib/models/socialMadia.mjs +5 -0
- package/esm2022/lib/models/stingBoolean.mjs +6 -0
- package/esm2022/lib/models/system.mjs +14 -0
- package/esm2022/lib/models/theme.model.mjs +2 -0
- package/esm2022/lib/models/tokenStatus.mjs +7 -0
- package/esm2022/lib/models/warranty.mjs +18 -0
- package/esm2022/lib/pipes/pipes/pipes.module.mjs +21 -0
- package/esm2022/lib/pipes/subrtring-w.pipe.mjs +20 -0
- package/esm2022/lib/pipes/substring.pipe.mjs +16 -0
- package/esm2022/lib/shared/choose-another-date/choose-another-date.component.mjs +117 -0
- package/esm2022/lib/shared/confirm-dialog/confirm-dialog.component.mjs +53 -0
- package/esm2022/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.mjs +48 -0
- package/esm2022/lib/shared/confirmed-date-information/confirmed-date-information.component.mjs +45 -0
- package/esm2022/lib/shared/contact/contact.component.mjs +170 -0
- package/esm2022/lib/shared/contact-support/contact-support.component.mjs +186 -0
- package/esm2022/lib/shared/dashboard/dashboard.component.mjs +40 -0
- package/esm2022/lib/shared/maintenance-list/maintenance-list.component.mjs +373 -0
- package/esm2022/lib/shared/shared-routing.module.mjs +18 -0
- package/esm2022/lib/shared/shared.module.mjs +144 -0
- package/esm2022/lib/shared/show-links/show-links.component.mjs +87 -0
- package/esm2022/lib/shared/system-list/system-list.component.mjs +35 -0
- package/esm2022/public-api.mjs +48 -0
- package/fesm2022/awf-test-lib.mjs +1865 -0
- package/fesm2022/awf-test-lib.mjs.map +1 -0
- package/index.d.ts +5 -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/menu-consomer/menu-consomer.component.d.ts +12 -0
- package/lib/core/menu-ge-portal/menu-ge-portal.component.d.ts +20 -0
- package/lib/core/menu-warranty/menu-warranty.component.d.ts +15 -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/{src/lib/models/account.model.ts → lib/models/account.model.d.ts} +14 -17
- package/lib/models/alternativeDate.model.d.ts +6 -0
- package/lib/models/applicationName.d.ts +5 -0
- package/{src/lib/models/cancelPMMailRequest.model.ts → lib/models/cancelPMMailRequest.model.d.ts} +5 -7
- package/lib/models/customObject.model.d.ts +3 -0
- package/lib/models/detailedPmJob.model.d.ts +23 -0
- package/lib/models/emailStatus.d.ts +4 -0
- package/lib/models/emailType.d.ts +15 -0
- package/lib/models/eventStatus.d.ts +7 -0
- package/lib/models/field.d.ts +7 -0
- package/lib/models/language.d.ts +4 -0
- package/{src/lib/models/mailRequest.model.ts → lib/models/mailRequest.model.d.ts} +16 -18
- package/lib/models/pMGroupedJob.model.d.ts +3 -0
- package/{src/lib/models/pmJob.model.ts → lib/models/pmJob.model.d.ts} +25 -26
- package/lib/models/pmJobRequest.model.d.ts +5 -0
- package/{src/lib/models/pmJobStatus.ts → lib/models/pmJobStatus.d.ts} +14 -19
- package/lib/models/reason.model.d.ts +4 -0
- package/lib/models/reasonCode.d.ts +7 -0
- package/lib/models/reasonContact.d.ts +6 -0
- package/{src/lib/models/reportDateMailRequest.model.ts → lib/models/reportDateMailRequest.model.d.ts} +5 -7
- 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/{src/lib/models/socialLoginRequest.model.ts → lib/models/socialLoginRequest.model.d.ts} +6 -6
- package/lib/models/socialMadia.d.ts +3 -0
- package/lib/models/stingBoolean.d.ts +4 -0
- package/lib/models/system.d.ts +14 -0
- package/{src/lib/models/theme.model.ts → lib/models/theme.model.d.ts} +38 -45
- 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/lib/shared/choose-another-date/choose-another-date.component.d.ts +33 -0
- package/lib/shared/confirm-dialog/confirm-dialog.component.d.ts +22 -0
- package/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.d.ts +19 -0
- package/lib/shared/confirmed-date-information/confirmed-date-information.component.d.ts +18 -0
- package/lib/shared/contact/contact.component.d.ts +39 -0
- package/lib/shared/contact-support/contact-support.component.d.ts +50 -0
- package/lib/shared/dashboard/dashboard.component.d.ts +19 -0
- package/lib/shared/maintenance-list/maintenance-list.component.d.ts +82 -0
- package/lib/shared/shared-routing.module.d.ts +7 -0
- package/lib/shared/shared.module.d.ts +40 -0
- package/lib/shared/show-links/show-links.component.d.ts +25 -0
- package/lib/shared/system-list/system-list.component.d.ts +15 -0
- package/package.json +24 -10
- package/{src/public-api.ts → public-api.d.ts} +42 -57
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -7
- package/src/lib/core/core-routing.module.ts +0 -10
- package/src/lib/core/core.module.ts +0 -35
- package/src/lib/core/menu/menu.component.css +0 -18
- package/src/lib/core/menu/menu.component.html +0 -8
- package/src/lib/core/menu/menu.component.spec.ts +0 -23
- package/src/lib/core/menu/menu.component.ts +0 -28
- package/src/lib/core/menu-consomer/menu-consomer.component.html +0 -20
- package/src/lib/core/menu-consomer/menu-consomer.component.scss +0 -20
- package/src/lib/core/menu-consomer/menu-consomer.component.spec.ts +0 -25
- package/src/lib/core/menu-consomer/menu-consomer.component.ts +0 -21
- package/src/lib/core/menu-ge-portal/menu-ge-portal.component.html +0 -7
- package/src/lib/core/menu-ge-portal/menu-ge-portal.component.scss +0 -17
- package/src/lib/core/menu-ge-portal/menu-ge-portal.component.spec.ts +0 -25
- package/src/lib/core/menu-ge-portal/menu-ge-portal.component.ts +0 -83
- package/src/lib/core/menu-warranty/menu-warranty.component.html +0 -20
- package/src/lib/core/menu-warranty/menu-warranty.component.scss +0 -16
- package/src/lib/core/menu-warranty/menu-warranty.component.spec.ts +0 -25
- package/src/lib/core/menu-warranty/menu-warranty.component.ts +0 -31
- package/src/lib/core/not-found/not-found.component.css +0 -31
- package/src/lib/core/not-found/not-found.component.html +0 -6
- package/src/lib/core/not-found/not-found.component.spec.ts +0 -23
- package/src/lib/core/not-found/not-found.component.ts +0 -15
- package/src/lib/core/top-bar/top-bar.component.css +0 -116
- package/src/lib/core/top-bar/top-bar.component.html +0 -1
- package/src/lib/core/top-bar/top-bar.component.spec.ts +0 -23
- package/src/lib/core/top-bar/top-bar.component.ts +0 -39
- package/src/lib/models/alternativeDate.model.ts +0 -6
- package/src/lib/models/applicationName.ts +0 -6
- package/src/lib/models/customObject.model.ts +0 -4
- package/src/lib/models/detailedPmJob.model.ts +0 -25
- package/src/lib/models/emailStatus.ts +0 -4
- package/src/lib/models/emailType.ts +0 -19
- package/src/lib/models/eventStatus.ts +0 -8
- package/src/lib/models/field.ts +0 -7
- package/src/lib/models/language.ts +0 -4
- package/src/lib/models/pMGroupedJob.model.ts +0 -4
- package/src/lib/models/pmJobRequest.model.ts +0 -6
- package/src/lib/models/reason.model.ts +0 -7
- package/src/lib/models/reasonCode.ts +0 -9
- package/src/lib/models/reasonContact.ts +0 -7
- package/src/lib/models/role.ts +0 -5
- package/src/lib/models/service.model.ts +0 -8
- package/src/lib/models/serviceName.ts +0 -14
- package/src/lib/models/socialMadia.ts +0 -4
- package/src/lib/models/stingBoolean.ts +0 -7
- package/src/lib/models/system.ts +0 -15
- package/src/lib/models/tokenStatus.ts +0 -6
- package/src/lib/models/warranty.ts +0 -18
- package/src/lib/pipes/pipes/pipes.module.ts +0 -14
- package/src/lib/pipes/subrtring-w.pipe.spec.ts +0 -8
- package/src/lib/pipes/subrtring-w.pipe.ts +0 -16
- package/src/lib/pipes/substring.pipe.spec.ts +0 -8
- package/src/lib/pipes/substring.pipe.ts +0 -15
- package/src/lib/shared/choose-another-date/choose-another-date.component.html +0 -12
- package/src/lib/shared/choose-another-date/choose-another-date.component.scss +0 -12
- package/src/lib/shared/choose-another-date/choose-another-date.component.spec.ts +0 -25
- package/src/lib/shared/choose-another-date/choose-another-date.component.ts +0 -127
- package/src/lib/shared/confirm-dialog/confirm-dialog.component.html +0 -26
- package/src/lib/shared/confirm-dialog/confirm-dialog.component.scss +0 -0
- package/src/lib/shared/confirm-dialog/confirm-dialog.component.spec.ts +0 -25
- package/src/lib/shared/confirm-dialog/confirm-dialog.component.ts +0 -39
- 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 +0 -19
- package/src/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.spec.ts +0 -23
- package/src/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.ts +0 -36
- package/src/lib/shared/confirmed-date-information/confirmed-date-information.component.html +0 -25
- package/src/lib/shared/confirmed-date-information/confirmed-date-information.component.scss +0 -23
- package/src/lib/shared/confirmed-date-information/confirmed-date-information.component.spec.ts +0 -25
- package/src/lib/shared/confirmed-date-information/confirmed-date-information.component.ts +0 -30
- package/src/lib/shared/contact/contact.component.css +0 -144
- package/src/lib/shared/contact/contact.component.html +0 -136
- package/src/lib/shared/contact/contact.component.spec.ts +0 -23
- package/src/lib/shared/contact/contact.component.ts +0 -169
- package/src/lib/shared/contact-support/contact-support.component.html +0 -130
- package/src/lib/shared/contact-support/contact-support.component.scss +0 -10
- package/src/lib/shared/contact-support/contact-support.component.spec.ts +0 -25
- package/src/lib/shared/contact-support/contact-support.component.ts +0 -188
- package/src/lib/shared/dashboard/dashboard.component.html +0 -81
- package/src/lib/shared/dashboard/dashboard.component.scss +0 -5
- package/src/lib/shared/dashboard/dashboard.component.spec.ts +0 -23
- package/src/lib/shared/dashboard/dashboard.component.ts +0 -23
- package/src/lib/shared/maintenance-list/maintenance-list.component.html +0 -105
- package/src/lib/shared/maintenance-list/maintenance-list.component.scss +0 -26
- package/src/lib/shared/maintenance-list/maintenance-list.component.spec.ts +0 -25
- package/src/lib/shared/maintenance-list/maintenance-list.component.ts +0 -403
- package/src/lib/shared/shared-routing.module.ts +0 -10
- package/src/lib/shared/shared.module.ts +0 -80
- package/src/lib/shared/show-links/show-links.component.html +0 -49
- package/src/lib/shared/show-links/show-links.component.scss +0 -0
- package/src/lib/shared/show-links/show-links.component.spec.ts +0 -25
- package/src/lib/shared/show-links/show-links.component.ts +0 -78
- package/src/lib/shared/system-list/system-list.component.css +0 -0
- package/src/lib/shared/system-list/system-list.component.html +0 -40
- package/src/lib/shared/system-list/system-list.component.spec.ts +0 -23
- package/src/lib/shared/system-list/system-list.component.ts +0 -26
- package/src/test.ts +0 -27
- package/tsconfig.lib.dev.json +0 -10
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.pp.json +0 -10
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
@@ -0,0 +1,19 @@
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
2
|
+
import { MessageService } from 'primeng/api';
|
3
|
+
import { DetailedPmJob } from '../../models/detailedPmJob.model';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class ConfirmDialogContactComponent {
|
6
|
+
private messageService;
|
7
|
+
displayConfirmDialogContact: boolean;
|
8
|
+
startDateTime: any;
|
9
|
+
endDateTime: any;
|
10
|
+
globaltranslate: any;
|
11
|
+
translate: any;
|
12
|
+
detailedPmJobLinkedList: DetailedPmJob[];
|
13
|
+
closeConfirmDialogContact: EventEmitter<boolean>;
|
14
|
+
constructor(messageService: MessageService);
|
15
|
+
rejectDate(): void;
|
16
|
+
confirmDate(): void;
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogContactComponent, never>;
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogContactComponent, "app-confirm-dialog-contact", never, { "displayConfirmDialogContact": { "alias": "displayConfirmDialogContact"; "required": false; }; "startDateTime": { "alias": "startDateTime"; "required": false; }; "endDateTime": { "alias": "endDateTime"; "required": false; }; "globaltranslate": { "alias": "globaltranslate"; "required": false; }; "translate": { "alias": "translate"; "required": false; }; "detailedPmJobLinkedList": { "alias": "detailedPmJobLinkedList"; "required": false; }; }, { "closeConfirmDialogContact": "closeConfirmDialogContact"; }, never, never, false, never>;
|
19
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class ConfirmedDateInformationComponent implements OnDestroy {
|
4
|
+
displayConfirmedDateInfos: boolean;
|
5
|
+
startDateTime: any;
|
6
|
+
endDateTime: any;
|
7
|
+
globaltranslate: any;
|
8
|
+
translate: any;
|
9
|
+
moreDates: boolean;
|
10
|
+
closeConfirmedDateInfo: EventEmitter<boolean>;
|
11
|
+
languageStored: string | null;
|
12
|
+
language: string;
|
13
|
+
constructor();
|
14
|
+
ngOnDestroy(): void;
|
15
|
+
confirmDate(): void;
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmedDateInformationComponent, never>;
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmedDateInformationComponent, "app-confirmed-date-information", never, { "displayConfirmedDateInfos": { "alias": "displayConfirmedDateInfos"; "required": false; }; "startDateTime": { "alias": "startDateTime"; "required": false; }; "endDateTime": { "alias": "endDateTime"; "required": false; }; "globaltranslate": { "alias": "globaltranslate"; "required": false; }; "translate": { "alias": "translate"; "required": false; }; "moreDates": { "alias": "moreDates"; "required": false; }; }, { "closeConfirmedDateInfo": "closeConfirmedDateInfo"; }, never, never, false, never>;
|
18
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { OnChanges, EventEmitter } from '@angular/core';
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
3
|
+
import { MessageService } from 'primeng/api';
|
4
|
+
import { PmJobStatus } from '../../models/pmJobStatus';
|
5
|
+
import { Reason } from '../../models/reason.model';
|
6
|
+
import { System } from '../../models/system';
|
7
|
+
import { DatePipe } from '@angular/common';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
export declare class ContactComponent implements OnChanges {
|
10
|
+
private formBuilder;
|
11
|
+
private messageService;
|
12
|
+
private datePipe;
|
13
|
+
loading: boolean;
|
14
|
+
submitted: boolean;
|
15
|
+
systems: System[];
|
16
|
+
selectedSystems: System[];
|
17
|
+
translate: any;
|
18
|
+
reasons: Reason[];
|
19
|
+
sendForm: EventEmitter<any>;
|
20
|
+
form: FormGroup;
|
21
|
+
selectedReason: any;
|
22
|
+
selectedSystem: System;
|
23
|
+
selectedPm: any;
|
24
|
+
pmJobs: any[];
|
25
|
+
systemContainPm: boolean;
|
26
|
+
showPm: boolean;
|
27
|
+
constructor(formBuilder: FormBuilder, messageService: MessageService, datePipe: DatePipe);
|
28
|
+
ngOnChanges(): void;
|
29
|
+
get f(): {
|
30
|
+
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
31
|
+
};
|
32
|
+
preventStringKeypress(event: any): void;
|
33
|
+
onSubmit(): void;
|
34
|
+
slectsFutureStatus(status: any): PmJobStatus.WAITING | PmJobStatus.DESINSTALLED | PmJobStatus.REPORTED | PmJobStatus.CANCELLED | PmJobStatus.OTHER | "Erreur";
|
35
|
+
loadForm(): void;
|
36
|
+
selectPM(selectedSystem: any): void;
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContactComponent, never>;
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContactComponent, "awf-contact", never, { "loading": { "alias": "loading"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "systems": { "alias": "systems"; "required": false; }; "selectedSystems": { "alias": "selectedSystems"; "required": false; }; "translate": { "alias": "translate"; "required": false; }; "reasons": { "alias": "reasons"; "required": false; }; }, { "sendForm": "sendForm"; }, never, never, false, never>;
|
39
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
3
|
+
import { MessageService } from 'primeng/api';
|
4
|
+
import { DetailedPmJob } from '../../models/detailedPmJob.model';
|
5
|
+
import { PmJobStatus } from '../../models/pmJobStatus';
|
6
|
+
import { Reason } from '../../models/reason.model';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
export declare class ContactSupportComponent implements OnInit, OnChanges {
|
9
|
+
private messageService;
|
10
|
+
private formBuilder;
|
11
|
+
displaycontactSupport: boolean;
|
12
|
+
globaltranslate: any;
|
13
|
+
translate: any;
|
14
|
+
showDate: boolean;
|
15
|
+
detailedPmJob: DetailedPmJob;
|
16
|
+
reasonContact: string;
|
17
|
+
reasons: Reason[];
|
18
|
+
sendDetailedPm: EventEmitter<any>;
|
19
|
+
sendForm: EventEmitter<any>;
|
20
|
+
closeContactSupport: EventEmitter<boolean>;
|
21
|
+
form: FormGroup;
|
22
|
+
dates: Date[];
|
23
|
+
loading: boolean;
|
24
|
+
submitted: boolean;
|
25
|
+
minDate: Date;
|
26
|
+
maxDate: Date;
|
27
|
+
displayNumber: boolean;
|
28
|
+
selectedReason: Reason;
|
29
|
+
constructor(messageService: MessageService, formBuilder: FormBuilder);
|
30
|
+
ngOnChanges(changes: SimpleChanges): void;
|
31
|
+
ngOnInit(): void;
|
32
|
+
loadDatas(): void;
|
33
|
+
filterReasons(): void;
|
34
|
+
cancelContactSupport(): void;
|
35
|
+
get f(): {
|
36
|
+
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
37
|
+
};
|
38
|
+
setDateRules(): void;
|
39
|
+
loadForm(): void;
|
40
|
+
checkPhone(phone: any): boolean;
|
41
|
+
contacted(): void;
|
42
|
+
contact(): void;
|
43
|
+
closeNumber(): void;
|
44
|
+
sendContactMeEmailMethode(): void;
|
45
|
+
slectsFutureStatus(status: any): PmJobStatus.WAITING | PmJobStatus.DESINSTALLED | PmJobStatus.REPORTED | PmJobStatus.CANCELLED | PmJobStatus.OTHER | "Erreur";
|
46
|
+
onSubmit(): void;
|
47
|
+
preventStringKeypress(event: any): void;
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContactSupportComponent, never>;
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContactSupportComponent, "app-contact-support", never, { "displaycontactSupport": { "alias": "displaycontactSupport"; "required": false; }; "globaltranslate": { "alias": "globaltranslate"; "required": false; }; "translate": { "alias": "translate"; "required": false; }; "showDate": { "alias": "showDate"; "required": false; }; "detailedPmJob": { "alias": "detailedPmJob"; "required": false; }; "reasonContact": { "alias": "reasonContact"; "required": false; }; "reasons": { "alias": "reasons"; "required": false; }; }, { "sendDetailedPm": "sendDetailedPm"; "sendForm": "sendForm"; "closeContactSupport": "closeContactSupport"; }, never, never, false, never>;
|
50
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
2
|
+
import { DetailedPmJob } from '../../models/detailedPmJob.model';
|
3
|
+
import { System } from '../../models/system';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class DashboardComponent implements OnChanges {
|
6
|
+
name: string;
|
7
|
+
email: string;
|
8
|
+
number: string;
|
9
|
+
systems: System[];
|
10
|
+
toBeScheduledMaintenanceList: DetailedPmJob[];
|
11
|
+
alreadyScheduledMaintenanceList: DetailedPmJob[];
|
12
|
+
translate: any;
|
13
|
+
languageStored: string | null;
|
14
|
+
language: string;
|
15
|
+
constructor();
|
16
|
+
ngOnChanges(changes: SimpleChanges): void;
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardComponent, never>;
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DashboardComponent, "awf-dashboard", never, { "name": { "alias": "name"; "required": false; }; "email": { "alias": "email"; "required": false; }; "number": { "alias": "number"; "required": false; }; "systems": { "alias": "systems"; "required": false; }; "toBeScheduledMaintenanceList": { "alias": "toBeScheduledMaintenanceList"; "required": false; }; "alreadyScheduledMaintenanceList": { "alias": "alreadyScheduledMaintenanceList"; "required": false; }; "translate": { "alias": "translate"; "required": false; }; }, {}, never, never, false, never>;
|
19
|
+
}
|
@@ -0,0 +1,82 @@
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
2
|
+
import { Table } from 'primeng/table';
|
3
|
+
import { Subscription } from 'rxjs';
|
4
|
+
import { DetailedPmJob } from '../../models/detailedPmJob.model';
|
5
|
+
import { AlternativeDate } from '../../models/alternativeDate.model';
|
6
|
+
import { PmJob } from '../../models/pmJob.model';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
export declare class MaintenanceListComponent implements OnDestroy {
|
9
|
+
dt: Table | undefined;
|
10
|
+
op: any | undefined;
|
11
|
+
translate: any;
|
12
|
+
reasons: any;
|
13
|
+
globaltranslate: any;
|
14
|
+
maintenanceList: DetailedPmJob[];
|
15
|
+
maintenanceListNotDisplayed: DetailedPmJob[];
|
16
|
+
pmJobList: DetailedPmJob[];
|
17
|
+
isAlreadyScheduled: Boolean;
|
18
|
+
displayConfirmedDateInfo: boolean;
|
19
|
+
alternativeDatesList: any;
|
20
|
+
emitForUpdate: EventEmitter<any>;
|
21
|
+
emitForAlternativeDates: EventEmitter<any>;
|
22
|
+
sendContactMeEmail: EventEmitter<any>;
|
23
|
+
status: any;
|
24
|
+
sendForm: EventEmitter<any>;
|
25
|
+
moreDates: boolean;
|
26
|
+
detailedPmJobLinkedList: DetailedPmJob[];
|
27
|
+
updatePmSubscription: Subscription;
|
28
|
+
alternativeDatesSubscription: Subscription;
|
29
|
+
showDate: boolean;
|
30
|
+
maintenanceSelected: DetailedPmJob;
|
31
|
+
startDateTime: any;
|
32
|
+
endDateTime: any;
|
33
|
+
selectedWorkorderId: any;
|
34
|
+
alternativeDate: AlternativeDate;
|
35
|
+
alternativeDatesSelected: AlternativeDate[];
|
36
|
+
displaycontactSupport: boolean;
|
37
|
+
displayConfirmDialog: boolean;
|
38
|
+
displayConfirmDateAlternativeDialog: boolean;
|
39
|
+
displayConfirmDialogContact: boolean;
|
40
|
+
displayShowLinks: boolean;
|
41
|
+
displayAnotherDate: boolean;
|
42
|
+
isWithLinks: boolean;
|
43
|
+
isProposedDate: boolean;
|
44
|
+
pmSelectedStatus: string;
|
45
|
+
emailTypes: string[];
|
46
|
+
alreadyScheduledMsg: boolean;
|
47
|
+
reasonContact: string;
|
48
|
+
contactMeRequest: DetailedPmJob;
|
49
|
+
first: number;
|
50
|
+
languageStored: string | null;
|
51
|
+
language: string;
|
52
|
+
constructor();
|
53
|
+
ngOnDestroy(): void;
|
54
|
+
applyFilterGlobal($event: any, stringVal: any): void;
|
55
|
+
selectElement(element: DetailedPmJob): void;
|
56
|
+
getAlternativeDates(pmJob: PmJob): void;
|
57
|
+
getLinkedPmJob(): void;
|
58
|
+
confirmDialog(): void;
|
59
|
+
closeConfirmDialog(confirm: any): void;
|
60
|
+
closeConfirmDialogContact(confirm: any): void;
|
61
|
+
updateLinkedPMFormContact(): void;
|
62
|
+
closeContactSupport(event: any): void;
|
63
|
+
proposeAnotherDate(): void;
|
64
|
+
contactSupport(fromOtherDate: boolean): void;
|
65
|
+
showLinks(element?: any): void;
|
66
|
+
closeShowLinks(): void;
|
67
|
+
closeConfirmedDateInfo(): void;
|
68
|
+
acceptDate(alternativeDates: AlternativeDate[]): void;
|
69
|
+
findDatesSelected(): void;
|
70
|
+
closeAnotherDate(event: any): void;
|
71
|
+
updatePmJob(): void;
|
72
|
+
editPm(): void;
|
73
|
+
prepareForPopup(): void;
|
74
|
+
updateProposedDate(): void;
|
75
|
+
updateAlternativeDate(): void;
|
76
|
+
sendContactMeForm(contactMeRequest: any): void;
|
77
|
+
callApiToUpdate(): void;
|
78
|
+
transformStatus(status: string): string;
|
79
|
+
getStatusTooltip(status: string): string;
|
80
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaintenanceListComponent, never>;
|
81
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaintenanceListComponent, "awf-maintenance-list", never, { "translate": { "alias": "translate"; "required": false; }; "reasons": { "alias": "reasons"; "required": false; }; "globaltranslate": { "alias": "globaltranslate"; "required": false; }; "maintenanceList": { "alias": "maintenanceList"; "required": false; }; "maintenanceListNotDisplayed": { "alias": "maintenanceListNotDisplayed"; "required": false; }; "pmJobList": { "alias": "pmJobList"; "required": false; }; "isAlreadyScheduled": { "alias": "isAlreadyScheduled"; "required": false; }; "displayConfirmedDateInfo": { "alias": "displayConfirmedDateInfo"; "required": false; }; "alternativeDatesList": { "alias": "alternativeDatesList"; "required": false; }; "status": { "alias": "status"; "required": false; }; }, { "emitForUpdate": "emitForUpdate"; "emitForAlternativeDates": "emitForAlternativeDates"; "sendContactMeEmail": "sendContactMeEmail"; "sendForm": "sendForm"; }, never, never, false, never>;
|
82
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "@angular/router";
|
3
|
+
export declare class SharedRoutingModule {
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedRoutingModule, never>;
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedRoutingModule>;
|
7
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./system-list/system-list.component";
|
3
|
+
import * as i2 from "./contact/contact.component";
|
4
|
+
import * as i3 from "./choose-another-date/choose-another-date.component";
|
5
|
+
import * as i4 from "./confirm-dialog/confirm-dialog.component";
|
6
|
+
import * as i5 from "./confirmed-date-information/confirmed-date-information.component";
|
7
|
+
import * as i6 from "./contact-support/contact-support.component";
|
8
|
+
import * as i7 from "./maintenance-list/maintenance-list.component";
|
9
|
+
import * as i8 from "./show-links/show-links.component";
|
10
|
+
import * as i9 from "./dashboard/dashboard.component";
|
11
|
+
import * as i10 from "./confirm-dialog-contact/confirm-dialog-contact.component";
|
12
|
+
import * as i11 from "@angular/common";
|
13
|
+
import * as i12 from "./shared-routing.module";
|
14
|
+
import * as i13 from "primeng/table";
|
15
|
+
import * as i14 from "primeng/inputtext";
|
16
|
+
import * as i15 from "../pipes/pipes/pipes.module";
|
17
|
+
import * as i16 from "primeng/toast";
|
18
|
+
import * as i17 from "primeng/inputtextarea";
|
19
|
+
import * as i18 from "primeng/multiselect";
|
20
|
+
import * as i19 from "@angular/forms";
|
21
|
+
import * as i20 from "primeng/progressspinner";
|
22
|
+
import * as i21 from "primeng/radiobutton";
|
23
|
+
import * as i22 from "primeng/checkbox";
|
24
|
+
import * as i23 from "primeng/selectbutton";
|
25
|
+
import * as i24 from "primeng/tooltip";
|
26
|
+
import * as i25 from "primeng/overlaypanel";
|
27
|
+
import * as i26 from "primeng/calendar";
|
28
|
+
import * as i27 from "primeng/slider";
|
29
|
+
import * as i28 from "primeng/dialog";
|
30
|
+
import * as i29 from "primeng/confirmpopup";
|
31
|
+
import * as i30 from "primeng/confirmdialog";
|
32
|
+
import * as i31 from "primeng/contextmenu";
|
33
|
+
import * as i32 from "primeng/dropdown";
|
34
|
+
import * as i33 from "primeng/button";
|
35
|
+
import * as i34 from "primeng/toolbar";
|
36
|
+
export declare class SharedModule {
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
38
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.SystemListComponent, typeof i2.ContactComponent, typeof i3.ChooseAnotherDateComponent, typeof i4.ConfirmDialogComponent, typeof i5.ConfirmedDateInformationComponent, typeof i6.ContactSupportComponent, typeof i7.MaintenanceListComponent, typeof i8.ShowLinksComponent, typeof i9.DashboardComponent, typeof i10.ConfirmDialogContactComponent], [typeof i11.CommonModule, typeof i12.SharedRoutingModule, typeof i13.TableModule, typeof i14.InputTextModule, typeof i15.PipesModule, typeof i16.ToastModule, typeof i17.InputTextareaModule, typeof i18.MultiSelectModule, typeof i19.FormsModule, typeof i19.ReactiveFormsModule, typeof i20.ProgressSpinnerModule, typeof i21.RadioButtonModule, typeof i22.CheckboxModule, typeof i23.SelectButtonModule, typeof i24.TooltipModule, typeof i25.OverlayPanelModule, typeof i26.CalendarModule, typeof i27.SliderModule, typeof i28.DialogModule, typeof i29.ConfirmPopupModule, typeof i30.ConfirmDialogModule, typeof i31.ContextMenuModule, typeof i32.DropdownModule, typeof i33.ButtonModule, typeof i34.ToolbarModule], [typeof i1.SystemListComponent, typeof i2.ContactComponent, typeof i7.MaintenanceListComponent, typeof i9.DashboardComponent]>;
|
39
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
40
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
2
|
+
import { Table } from 'primeng/table';
|
3
|
+
import { DetailedPmJob } from '../../models/detailedPmJob.model';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class ShowLinksComponent {
|
6
|
+
dt: Table | undefined;
|
7
|
+
displayShowLinks: boolean;
|
8
|
+
closeShowLinks: EventEmitter<boolean>;
|
9
|
+
detailedPmJobLinkedList: DetailedPmJob[];
|
10
|
+
selectedWorkorderId: any;
|
11
|
+
globaltranslate: any;
|
12
|
+
translate: any;
|
13
|
+
status: any;
|
14
|
+
header: string;
|
15
|
+
languageStored: string | null;
|
16
|
+
language: string;
|
17
|
+
constructor();
|
18
|
+
close(): void;
|
19
|
+
applyFilterGlobal($event: any, stringVal: any): void;
|
20
|
+
transformStatus(status: string): string;
|
21
|
+
getStatusTooltip(status: string): string;
|
22
|
+
transformType(type: string): string;
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowLinksComponent, never>;
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShowLinksComponent, "app-show-links", never, { "displayShowLinks": { "alias": "displayShowLinks"; "required": false; }; "detailedPmJobLinkedList": { "alias": "detailedPmJobLinkedList"; "required": false; }; "selectedWorkorderId": { "alias": "selectedWorkorderId"; "required": false; }; "globaltranslate": { "alias": "globaltranslate"; "required": false; }; "translate": { "alias": "translate"; "required": false; }; "status": { "alias": "status"; "required": false; }; }, { "closeShowLinks": "closeShowLinks"; }, never, never, false, never>;
|
25
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Table } from 'primeng/table';
|
2
|
+
import { System } from '../../models/system';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class SystemListComponent {
|
5
|
+
dt: Table | undefined;
|
6
|
+
translate: any;
|
7
|
+
globaltranslate: any;
|
8
|
+
systems: System[];
|
9
|
+
languageStored: string | null;
|
10
|
+
language: string;
|
11
|
+
constructor();
|
12
|
+
applyFilterGlobal($event: any, stringVal: any): void;
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SystemListComponent, never>;
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SystemListComponent, "awf-system-list", never, { "translate": { "alias": "translate"; "required": false; }; "globaltranslate": { "alias": "globaltranslate"; "required": false; }; "systems": { "alias": "systems"; "required": false; }; }, {}, never, never, false, never>;
|
15
|
+
}
|
package/package.json
CHANGED
@@ -1,11 +1,25 @@
|
|
1
|
-
{
|
2
|
-
"name": "awf-test-lib",
|
3
|
-
"version": "
|
4
|
-
"peerDependencies": {
|
5
|
-
"@angular/common": "^17.2.2",
|
6
|
-
"@angular/core": "^17.2.2"
|
7
|
-
},
|
8
|
-
"dependencies": {
|
9
|
-
"tslib": "^2.3.0"
|
10
|
-
}
|
1
|
+
{
|
2
|
+
"name": "awf-test-lib",
|
3
|
+
"version": "17.2.0",
|
4
|
+
"peerDependencies": {
|
5
|
+
"@angular/common": "^17.2.2",
|
6
|
+
"@angular/core": "^17.2.2"
|
7
|
+
},
|
8
|
+
"dependencies": {
|
9
|
+
"tslib": "^2.3.0"
|
10
|
+
},
|
11
|
+
"module": "fesm2022/awf-test-lib.mjs",
|
12
|
+
"typings": "index.d.ts",
|
13
|
+
"exports": {
|
14
|
+
"./package.json": {
|
15
|
+
"default": "./package.json"
|
16
|
+
},
|
17
|
+
".": {
|
18
|
+
"types": "./index.d.ts",
|
19
|
+
"esm2022": "./esm2022/awf-test-lib.mjs",
|
20
|
+
"esm": "./esm2022/awf-test-lib.mjs",
|
21
|
+
"default": "./fesm2022/awf-test-lib.mjs"
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"sideEffects": false
|
11
25
|
}
|
@@ -1,57 +1,42 @@
|
|
1
|
-
|
2
|
-
*
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
export * from './lib/
|
8
|
-
export * from './lib/
|
9
|
-
export * from './lib/
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
export * from './lib/
|
14
|
-
export * from './lib/
|
15
|
-
export * from './lib/
|
16
|
-
export * from './lib/
|
17
|
-
export * from './lib/
|
18
|
-
|
19
|
-
|
20
|
-
export * from './lib/models/
|
21
|
-
export * from './lib/models/
|
22
|
-
export * from './lib/models/
|
23
|
-
export * from './lib/models/
|
24
|
-
export * from './lib/models/
|
25
|
-
export * from './lib/models/
|
26
|
-
export * from './lib/models/
|
27
|
-
export * from './lib/models/
|
28
|
-
export * from './lib/models/
|
29
|
-
export * from './lib/models/
|
30
|
-
export * from './lib/models/
|
31
|
-
export * from './lib/models/
|
32
|
-
export * from './lib/models/
|
33
|
-
export * from './lib/models/
|
34
|
-
export * from './lib/models/
|
35
|
-
export * from './lib/models/
|
36
|
-
export * from './lib/models/
|
37
|
-
export * from './lib/models/
|
38
|
-
export * from './lib/models/
|
39
|
-
export * from './lib/models/
|
40
|
-
export * from './lib/
|
41
|
-
export * from './lib/
|
42
|
-
export * from './lib/
|
43
|
-
export * from './lib/models/theme.model';
|
44
|
-
export * from './lib/models/tokenStatus';
|
45
|
-
export * from './lib/models/warranty';
|
46
|
-
export * from './lib/models/reasonContact';
|
47
|
-
export * from './lib/models/stingBoolean';
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
// Pipes
|
53
|
-
|
54
|
-
export * from './lib/pipes/pipes/pipes.module';
|
55
|
-
export * from './lib/pipes/subrtring-w.pipe';
|
56
|
-
export * from './lib/pipes/substring.pipe';
|
57
|
-
|
1
|
+
/*********** shared module***********/
|
2
|
+
export * from './lib/core/core.module';
|
3
|
+
export * from './lib/core/menu/menu.component';
|
4
|
+
export * from './lib/core/not-found/not-found.component';
|
5
|
+
export * from './lib/core/top-bar/top-bar.component';
|
6
|
+
/*********** GE module ***********/
|
7
|
+
export * from './lib/shared/shared.module';
|
8
|
+
export * from './lib/shared/system-list/system-list.component';
|
9
|
+
export * from './lib/shared/contact/contact.component';
|
10
|
+
export * from './lib/shared/maintenance-list/maintenance-list.component';
|
11
|
+
export * from './lib/shared/dashboard/dashboard.component';
|
12
|
+
export * from './lib/models/account.model';
|
13
|
+
export * from './lib/models/alternativeDate.model';
|
14
|
+
export * from './lib/models/applicationName';
|
15
|
+
export * from './lib/models/cancelPMMailRequest.model';
|
16
|
+
export * from './lib/models/customObject.model';
|
17
|
+
export * from './lib/models/detailedPmJob.model';
|
18
|
+
export * from './lib/models/emailStatus';
|
19
|
+
export * from './lib/models/emailType';
|
20
|
+
export * from './lib/models/eventStatus';
|
21
|
+
export * from './lib/models/field';
|
22
|
+
export * from './lib/models/language';
|
23
|
+
export * from './lib/models/mailRequest.model';
|
24
|
+
export * from './lib/models/pMGroupedJob.model';
|
25
|
+
export * from './lib/models/pmJob.model';
|
26
|
+
export * from './lib/models/pmJobRequest.model';
|
27
|
+
export * from './lib/models/pmJobStatus';
|
28
|
+
export * from './lib/models/reportDateMailRequest.model';
|
29
|
+
export * from './lib/models/role';
|
30
|
+
export * from './lib/models/service.model';
|
31
|
+
export * from './lib/models/serviceName';
|
32
|
+
export * from './lib/models/socialLoginRequest.model';
|
33
|
+
export * from './lib/models/socialMadia';
|
34
|
+
export * from './lib/models/system';
|
35
|
+
export * from './lib/models/theme.model';
|
36
|
+
export * from './lib/models/tokenStatus';
|
37
|
+
export * from './lib/models/warranty';
|
38
|
+
export * from './lib/models/reasonContact';
|
39
|
+
export * from './lib/models/stingBoolean';
|
40
|
+
export * from './lib/pipes/pipes/pipes.module';
|
41
|
+
export * from './lib/pipes/subrtring-w.pipe';
|
42
|
+
export * from './lib/pipes/substring.pipe';
|
package/karma.conf.js
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
// Karma configuration file, see link for more information
|
2
|
-
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
3
|
-
|
4
|
-
module.exports = function (config) {
|
5
|
-
config.set({
|
6
|
-
basePath: '',
|
7
|
-
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
8
|
-
plugins: [
|
9
|
-
require('karma-jasmine'),
|
10
|
-
require('karma-chrome-launcher'),
|
11
|
-
require('karma-jasmine-html-reporter'),
|
12
|
-
require('karma-coverage'),
|
13
|
-
require('@angular-devkit/build-angular/plugins/karma')
|
14
|
-
],
|
15
|
-
client: {
|
16
|
-
jasmine: {
|
17
|
-
// you can add configuration options for Jasmine here
|
18
|
-
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
|
19
|
-
// for example, you can disable the random execution with `random: false`
|
20
|
-
// or set a specific seed with `seed: 4321`
|
21
|
-
},
|
22
|
-
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
23
|
-
},
|
24
|
-
jasmineHtmlReporter: {
|
25
|
-
suppressAll: true // removes the duplicated traces
|
26
|
-
},
|
27
|
-
coverageReporter: {
|
28
|
-
dir: require('path').join(__dirname, '../../coverage/awf-test-lib'),
|
29
|
-
subdir: '.',
|
30
|
-
reporters: [
|
31
|
-
{ type: 'html' },
|
32
|
-
{ type: 'text-summary' }
|
33
|
-
]
|
34
|
-
},
|
35
|
-
reporters: ['progress', 'kjhtml'],
|
36
|
-
port: 9876,
|
37
|
-
colors: true,
|
38
|
-
logLevel: config.LOG_INFO,
|
39
|
-
autoWatch: true,
|
40
|
-
browsers: ['Chrome'],
|
41
|
-
singleRun: false,
|
42
|
-
restartOnFileChange: true
|
43
|
-
});
|
44
|
-
};
|
package/ng-package.json
DELETED
@@ -1,35 +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
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
@NgModule({
|
16
|
-
declarations: [
|
17
|
-
TopBarComponent,
|
18
|
-
NotFoundComponent,
|
19
|
-
MenuComponent,
|
20
|
-
MenuWarrantyComponent,
|
21
|
-
MenuConsomerComponent,
|
22
|
-
MenuGePortalComponent,
|
23
|
-
],
|
24
|
-
imports: [
|
25
|
-
CommonModule,
|
26
|
-
CoreRoutingModule,
|
27
|
-
MegaMenuModule
|
28
|
-
],
|
29
|
-
exports: [
|
30
|
-
NotFoundComponent,
|
31
|
-
MenuComponent,
|
32
|
-
TopBarComponent,
|
33
|
-
]
|
34
|
-
})
|
35
|
-
export class CoreModule { }
|
@@ -1,18 +0,0 @@
|
|
1
|
-
/*--------------------------------------------------------------
|
2
|
-
# Sidebar
|
3
|
-
--------------------------------------------------------------*/
|
4
|
-
.layout-menu .logo img {
|
5
|
-
width: 150px;
|
6
|
-
max-height: 20px;
|
7
|
-
margin-left: 24px;
|
8
|
-
}
|
9
|
-
@media (max-width: var(--smscreen)) {
|
10
|
-
.layout-menu .logo img {
|
11
|
-
max-height: 33px;
|
12
|
-
margin-left: 0px;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
.layout-menu .a {
|
16
|
-
font-family: var(--font);
|
17
|
-
}
|
18
|
-
|
@@ -1,8 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
<awf-menu-warranty [haveConsumerDataId]="haveConsumerDataId" [translate]="translate" [isAdmin]="isAdmin" *ngIf="applicationName ==='WarrantyPortal' " (logOutClick)=logout() (hideMenu)="hideMenuMethode()">
|
4
|
-
</awf-menu-warranty>
|
5
|
-
<awf-menu-consomer [translate]="translate" [isAdmin]="isAdmin" *ngIf="applicationName ==='ConsomerPortal' " (logOutClick)=logout() (hideMenu)="hideMenuMethode()">
|
6
|
-
</awf-menu-consomer>
|
7
|
-
<awf-menu-ge-portal [translate]="translate" [isAdmin]="isAdmin" *ngIf="applicationName ==='GEPortal' " (logOutClick)=logout() (hideMenu)="hideMenuMethode()">
|
8
|
-
</awf-menu-ge-portal>
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
2
|
-
|
3
|
-
import { MenuComponent } from './menu.component';
|
4
|
-
|
5
|
-
describe('MenuComponent', () => {
|
6
|
-
let component: MenuComponent;
|
7
|
-
let fixture: ComponentFixture<MenuComponent>;
|
8
|
-
|
9
|
-
beforeEach(async () => {
|
10
|
-
await TestBed.configureTestingModule({
|
11
|
-
declarations: [ MenuComponent ]
|
12
|
-
})
|
13
|
-
.compileComponents();
|
14
|
-
|
15
|
-
fixture = TestBed.createComponent(MenuComponent);
|
16
|
-
component = fixture.componentInstance;
|
17
|
-
fixture.detectChanges();
|
18
|
-
});
|
19
|
-
|
20
|
-
it('should create', () => {
|
21
|
-
expect(component).toBeTruthy();
|
22
|
-
});
|
23
|
-
});
|