awf-test-lib 17.2.0 → 18.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/{esm2022 → esm2020}/awf-test-lib.mjs +4 -4
  2. package/{esm2022 → esm2020}/lib/core/core-routing.module.mjs +18 -18
  3. package/{esm2022 → esm2020}/lib/core/core.module.mjs +51 -51
  4. package/esm2020/lib/core/menu/menu.component.mjs +40 -0
  5. package/esm2020/lib/core/menu-consomer/menu-consomer.component.mjs +27 -0
  6. package/esm2020/lib/core/menu-ge-portal/menu-ge-portal.component.mjs +109 -0
  7. package/esm2020/lib/core/menu-warranty/menu-warranty.component.mjs +35 -0
  8. package/esm2020/lib/core/not-found/not-found.component.mjs +19 -0
  9. package/{esm2022 → esm2020}/lib/core/top-bar/top-bar.component.mjs +41 -43
  10. package/esm2020/lib/models/account.model.mjs +3 -0
  11. package/esm2020/lib/models/alternativeDate.model.mjs +3 -0
  12. package/{esm2022 → esm2020}/lib/models/applicationName.mjs +6 -6
  13. package/{esm2022 → esm2020}/lib/models/cancelPMMailRequest.model.mjs +4 -6
  14. package/{esm2022 → esm2020}/lib/models/customObject.model.mjs +3 -4
  15. package/esm2020/lib/models/detailedPmJob.model.mjs +3 -0
  16. package/{esm2022 → esm2020}/lib/models/emailStatus.mjs +5 -5
  17. package/{esm2022 → esm2020}/lib/models/emailType.mjs +16 -16
  18. package/{esm2022 → esm2020}/lib/models/eventStatus.mjs +8 -8
  19. package/{esm2022 → esm2020}/lib/models/field.mjs +8 -8
  20. package/{esm2022 → esm2020}/lib/models/language.mjs +5 -5
  21. package/esm2020/lib/models/mailRequest.model.mjs +3 -0
  22. package/{esm2022 → esm2020}/lib/models/pMGroupedJob.model.mjs +3 -4
  23. package/esm2020/lib/models/pmJob.model.mjs +3 -0
  24. package/esm2020/lib/models/pmJobRequest.model.mjs +3 -0
  25. package/{esm2022 → esm2020}/lib/models/pmJobStatus.mjs +16 -16
  26. package/{esm2022 → esm2020}/lib/models/reason.model.mjs +3 -5
  27. package/{esm2022 → esm2020}/lib/models/reasonCode.mjs +8 -8
  28. package/{esm2022 → esm2020}/lib/models/reasonContact.mjs +7 -7
  29. package/{esm2022 → esm2020}/lib/models/reportDateMailRequest.model.mjs +4 -6
  30. package/{esm2022 → esm2020}/lib/models/role.mjs +6 -6
  31. package/esm2020/lib/models/service.model.mjs +3 -0
  32. package/{esm2022 → esm2020}/lib/models/serviceName.mjs +11 -11
  33. package/esm2020/lib/models/socialLoginRequest.model.mjs +3 -0
  34. package/{esm2022 → esm2020}/lib/models/socialMadia.mjs +4 -4
  35. package/{esm2022 → esm2020}/lib/models/stingBoolean.mjs +5 -5
  36. package/esm2020/lib/models/system.mjs +3 -0
  37. package/{esm2022 → esm2020}/lib/models/theme.model.mjs +1 -1
  38. package/{esm2022 → esm2020}/lib/models/tokenStatus.mjs +6 -6
  39. package/esm2020/lib/models/warranty.mjs +3 -0
  40. package/{esm2022 → esm2020}/lib/pipes/pipes/pipes.module.mjs +21 -21
  41. package/esm2020/lib/pipes/subrtring-w.pipe.mjs +20 -0
  42. package/{esm2022 → esm2020}/lib/pipes/substring.pipe.mjs +16 -16
  43. package/esm2020/lib/shared/choose-another-date/choose-another-date.component.mjs +110 -0
  44. package/esm2020/lib/shared/confirm-dialog/confirm-dialog.component.mjs +45 -0
  45. package/esm2020/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.mjs +42 -0
  46. package/esm2020/lib/shared/confirmed-date-information/confirmed-date-information.component.mjs +39 -0
  47. package/esm2020/lib/shared/contact/contact.component.mjs +160 -0
  48. package/esm2020/lib/shared/contact-support/contact-support.component.mjs +172 -0
  49. package/esm2020/lib/shared/dashboard/dashboard.component.mjs +35 -0
  50. package/esm2020/lib/shared/maintenance-list/maintenance-list.component.mjs +352 -0
  51. package/{esm2022 → esm2020}/lib/shared/shared-routing.module.mjs +18 -18
  52. package/{esm2022 → esm2020}/lib/shared/shared.module.mjs +144 -144
  53. package/esm2020/lib/shared/show-links/show-links.component.mjs +80 -0
  54. package/esm2020/lib/shared/system-list/system-list.component.mjs +33 -0
  55. package/{esm2022 → esm2020}/public-api.mjs +47 -47
  56. package/fesm2015/awf-test-lib.mjs +1658 -0
  57. package/fesm2015/awf-test-lib.mjs.map +1 -0
  58. package/{fesm2022 → fesm2020}/awf-test-lib.mjs +1502 -1713
  59. package/fesm2020/awf-test-lib.mjs.map +1 -0
  60. package/index.d.ts +5 -5
  61. package/lib/core/core-routing.module.d.ts +7 -7
  62. package/lib/core/core.module.d.ts +15 -15
  63. package/lib/core/menu/menu.component.d.ts +17 -17
  64. package/lib/core/menu-consomer/menu-consomer.component.d.ts +12 -12
  65. package/lib/core/menu-ge-portal/menu-ge-portal.component.d.ts +20 -20
  66. package/lib/core/menu-warranty/menu-warranty.component.d.ts +15 -15
  67. package/lib/core/not-found/not-found.component.d.ts +10 -10
  68. package/lib/core/top-bar/top-bar.component.d.ts +13 -13
  69. package/lib/models/account.model.d.ts +14 -14
  70. package/lib/models/alternativeDate.model.d.ts +6 -6
  71. package/lib/models/applicationName.d.ts +5 -5
  72. package/lib/models/cancelPMMailRequest.model.d.ts +5 -5
  73. package/lib/models/customObject.model.d.ts +3 -3
  74. package/lib/models/detailedPmJob.model.d.ts +23 -23
  75. package/lib/models/emailStatus.d.ts +4 -4
  76. package/lib/models/emailType.d.ts +15 -15
  77. package/lib/models/eventStatus.d.ts +7 -7
  78. package/lib/models/field.d.ts +7 -7
  79. package/lib/models/language.d.ts +4 -4
  80. package/lib/models/mailRequest.model.d.ts +16 -16
  81. package/lib/models/pMGroupedJob.model.d.ts +3 -3
  82. package/lib/models/pmJob.model.d.ts +25 -25
  83. package/lib/models/pmJobRequest.model.d.ts +5 -5
  84. package/lib/models/pmJobStatus.d.ts +14 -14
  85. package/lib/models/reason.model.d.ts +4 -4
  86. package/lib/models/reasonCode.d.ts +7 -7
  87. package/lib/models/reasonContact.d.ts +6 -6
  88. package/lib/models/reportDateMailRequest.model.d.ts +5 -5
  89. package/lib/models/role.d.ts +5 -5
  90. package/lib/models/service.model.d.ts +8 -8
  91. package/lib/models/serviceName.d.ts +10 -10
  92. package/lib/models/socialLoginRequest.model.d.ts +6 -6
  93. package/lib/models/socialMadia.d.ts +3 -3
  94. package/lib/models/stingBoolean.d.ts +4 -4
  95. package/lib/models/system.d.ts +14 -14
  96. package/lib/models/theme.model.d.ts +38 -38
  97. package/lib/models/tokenStatus.d.ts +5 -5
  98. package/lib/models/warranty.d.ts +17 -17
  99. package/lib/pipes/pipes/pipes.module.d.ts +9 -9
  100. package/lib/pipes/subrtring-w.pipe.d.ts +7 -7
  101. package/lib/pipes/substring.pipe.d.ts +7 -7
  102. package/lib/shared/choose-another-date/choose-another-date.component.d.ts +33 -33
  103. package/lib/shared/confirm-dialog/confirm-dialog.component.d.ts +21 -22
  104. package/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.d.ts +19 -19
  105. package/lib/shared/confirmed-date-information/confirmed-date-information.component.d.ts +17 -18
  106. package/lib/shared/contact/contact.component.d.ts +39 -39
  107. package/lib/shared/contact-support/contact-support.component.d.ts +50 -50
  108. package/lib/shared/dashboard/dashboard.component.d.ts +18 -19
  109. package/lib/shared/maintenance-list/maintenance-list.component.d.ts +81 -82
  110. package/lib/shared/shared-routing.module.d.ts +7 -7
  111. package/lib/shared/shared.module.d.ts +40 -40
  112. package/lib/shared/show-links/show-links.component.d.ts +24 -25
  113. package/lib/shared/system-list/system-list.component.d.ts +16 -15
  114. package/package.json +13 -7
  115. package/public-api.d.ts +42 -42
  116. package/esm2022/lib/core/menu/menu.component.mjs +0 -44
  117. package/esm2022/lib/core/menu-consomer/menu-consomer.component.mjs +0 -28
  118. package/esm2022/lib/core/menu-ge-portal/menu-ge-portal.component.mjs +0 -108
  119. package/esm2022/lib/core/menu-warranty/menu-warranty.component.mjs +0 -37
  120. package/esm2022/lib/core/not-found/not-found.component.mjs +0 -21
  121. package/esm2022/lib/models/account.model.mjs +0 -15
  122. package/esm2022/lib/models/alternativeDate.model.mjs +0 -7
  123. package/esm2022/lib/models/detailedPmJob.model.mjs +0 -23
  124. package/esm2022/lib/models/mailRequest.model.mjs +0 -17
  125. package/esm2022/lib/models/pmJob.model.mjs +0 -23
  126. package/esm2022/lib/models/pmJobRequest.model.mjs +0 -5
  127. package/esm2022/lib/models/service.model.mjs +0 -9
  128. package/esm2022/lib/models/socialLoginRequest.model.mjs +0 -7
  129. package/esm2022/lib/models/system.mjs +0 -14
  130. package/esm2022/lib/models/warranty.mjs +0 -18
  131. package/esm2022/lib/pipes/subrtring-w.pipe.mjs +0 -20
  132. package/esm2022/lib/shared/choose-another-date/choose-another-date.component.mjs +0 -117
  133. package/esm2022/lib/shared/confirm-dialog/confirm-dialog.component.mjs +0 -53
  134. package/esm2022/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.mjs +0 -48
  135. package/esm2022/lib/shared/confirmed-date-information/confirmed-date-information.component.mjs +0 -45
  136. package/esm2022/lib/shared/contact/contact.component.mjs +0 -170
  137. package/esm2022/lib/shared/contact-support/contact-support.component.mjs +0 -186
  138. package/esm2022/lib/shared/dashboard/dashboard.component.mjs +0 -40
  139. package/esm2022/lib/shared/maintenance-list/maintenance-list.component.mjs +0 -373
  140. package/esm2022/lib/shared/show-links/show-links.component.mjs +0 -87
  141. package/esm2022/lib/shared/system-list/system-list.component.mjs +0 -35
  142. package/fesm2022/awf-test-lib.mjs.map +0 -1
@@ -1,19 +1,18 @@
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
- }
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
+ language: string;
14
+ constructor();
15
+ ngOnChanges(changes: SimpleChanges): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<DashboardComponent, "awf-dashboard", never, { "name": "name"; "email": "email"; "number": "number"; "systems": "systems"; "toBeScheduledMaintenanceList": "toBeScheduledMaintenanceList"; "alreadyScheduledMaintenanceList": "alreadyScheduledMaintenanceList"; "translate": "translate"; }, {}, never, never, false>;
18
+ }
@@ -1,82 +1,81 @@
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
- }
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
+ language: string;
51
+ constructor();
52
+ ngOnDestroy(): void;
53
+ applyFilterGlobal($event: any, stringVal: any): void;
54
+ selectElement(element: DetailedPmJob): void;
55
+ getAlternativeDates(pmJob: PmJob): void;
56
+ getLinkedPmJob(): void;
57
+ confirmDialog(): void;
58
+ closeConfirmDialog(confirm: any): void;
59
+ closeConfirmDialogContact(confirm: any): void;
60
+ updateLinkedPMFormContact(): void;
61
+ closeContactSupport(event: any): void;
62
+ proposeAnotherDate(): void;
63
+ contactSupport(fromOtherDate: boolean): void;
64
+ showLinks(element?: any): void;
65
+ closeShowLinks(): void;
66
+ closeConfirmedDateInfo(): void;
67
+ acceptDate(alternativeDates: AlternativeDate[]): void;
68
+ findDatesSelected(): void;
69
+ closeAnotherDate(event: any): void;
70
+ updatePmJob(): void;
71
+ editPm(): void;
72
+ prepareForPopup(): void;
73
+ updateProposedDate(): void;
74
+ updateAlternativeDate(): void;
75
+ sendContactMeForm(contactMeRequest: any): void;
76
+ callApiToUpdate(): void;
77
+ transformStatus(status: string): string;
78
+ getStatusTooltip(status: string): string;
79
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaintenanceListComponent, never>;
80
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaintenanceListComponent, "awf-maintenance-list", never, { "translate": "translate"; "reasons": "reasons"; "globaltranslate": "globaltranslate"; "maintenanceList": "maintenanceList"; "maintenanceListNotDisplayed": "maintenanceListNotDisplayed"; "pmJobList": "pmJobList"; "isAlreadyScheduled": "isAlreadyScheduled"; "displayConfirmedDateInfo": "displayConfirmedDateInfo"; "alternativeDatesList": "alternativeDatesList"; "status": "status"; }, { "emitForUpdate": "emitForUpdate"; "emitForAlternativeDates": "emitForAlternativeDates"; "sendContactMeEmail": "sendContactMeEmail"; "sendForm": "sendForm"; }, never, never, false>;
81
+ }
@@ -1,7 +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
- }
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
+ }
@@ -1,40 +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
- }
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
+ }
@@ -1,25 +1,24 @@
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
- }
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
+ language: string;
16
+ constructor();
17
+ close(): void;
18
+ applyFilterGlobal($event: any, stringVal: any): void;
19
+ transformStatus(status: string): string;
20
+ getStatusTooltip(status: string): string;
21
+ transformType(type: string): string;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShowLinksComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<ShowLinksComponent, "app-show-links", never, { "displayShowLinks": "displayShowLinks"; "detailedPmJobLinkedList": "detailedPmJobLinkedList"; "selectedWorkorderId": "selectedWorkorderId"; "globaltranslate": "globaltranslate"; "translate": "translate"; "status": "status"; }, { "closeShowLinks": "closeShowLinks"; }, never, never, false>;
24
+ }
@@ -1,15 +1,16 @@
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
- }
1
+ import { OnChanges } from '@angular/core';
2
+ import { Table } from 'primeng/table';
3
+ import { System } from '../../models/system';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SystemListComponent implements OnChanges {
6
+ dt: Table | undefined;
7
+ translate: any;
8
+ globaltranslate: any;
9
+ systems: System[];
10
+ language: string;
11
+ constructor();
12
+ ngOnChanges(): void;
13
+ applyFilterGlobal($event: any, stringVal: any): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<SystemListComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<SystemListComponent, "awf-system-list", never, { "translate": "translate"; "globaltranslate": "globaltranslate"; "systems": "systems"; }, {}, never, never, false>;
16
+ }
package/package.json CHANGED
@@ -1,14 +1,18 @@
1
1
  {
2
2
  "name": "awf-test-lib",
3
- "version": "17.2.0",
3
+ "version": "18.0.1",
4
4
  "peerDependencies": {
5
- "@angular/common": "^17.2.2",
6
- "@angular/core": "^17.2.2"
5
+ "@angular/common": "^16.0.0",
6
+ "@angular/core": "^16.0.0"
7
7
  },
8
8
  "dependencies": {
9
9
  "tslib": "^2.3.0"
10
10
  },
11
- "module": "fesm2022/awf-test-lib.mjs",
11
+ "module": "fesm2015/awf-test-lib.mjs",
12
+ "es2020": "fesm2020/awf-test-lib.mjs",
13
+ "esm2020": "esm2020/awf-test-lib.mjs",
14
+ "fesm2020": "fesm2020/awf-test-lib.mjs",
15
+ "fesm2015": "fesm2015/awf-test-lib.mjs",
12
16
  "typings": "index.d.ts",
13
17
  "exports": {
14
18
  "./package.json": {
@@ -16,9 +20,11 @@
16
20
  },
17
21
  ".": {
18
22
  "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"
23
+ "esm2020": "./esm2020/awf-test-lib.mjs",
24
+ "es2020": "./fesm2020/awf-test-lib.mjs",
25
+ "es2015": "./fesm2015/awf-test-lib.mjs",
26
+ "node": "./fesm2015/awf-test-lib.mjs",
27
+ "default": "./fesm2020/awf-test-lib.mjs"
22
28
  }
23
29
  },
24
30
  "sideEffects": false
package/public-api.d.ts CHANGED
@@ -1,42 +1,42 @@
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';
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';
@@ -1,44 +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
- logOutClick = new EventEmitter();
9
- hideMenu = new EventEmitter();
10
- active;
11
- isAdmin;
12
- translate;
13
- applicationName;
14
- haveConsumerDataId;
15
- constructor() { }
16
- ngOnInit() { }
17
- logout() {
18
- this.logOutClick.emit();
19
- }
20
- hideMenuMethode() {
21
- this.hideMenu.emit();
22
- }
23
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", 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"] }] });
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: MenuComponent, decorators: [{
27
- type: Component,
28
- 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"] }]
29
- }], ctorParameters: () => [], propDecorators: { logOutClick: [{
30
- type: Output
31
- }], hideMenu: [{
32
- type: Output
33
- }], active: [{
34
- type: Input
35
- }], isAdmin: [{
36
- type: Input
37
- }], translate: [{
38
- type: Input
39
- }], applicationName: [{
40
- type: Input
41
- }], haveConsumerDataId: [{
42
- type: Input
43
- }] } });
44
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hd2YtdGVzdC1saWIvc3JjL2xpYi9jb3JlL21lbnUvbWVudS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hd2YtdGVzdC1saWIvc3JjL2xpYi9jb3JlL21lbnUvbWVudS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFDLFlBQVksRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDOzs7Ozs7QUFNOUUsTUFBTSxPQUFPLGFBQWE7SUFDZCxXQUFXLEdBQXNCLElBQUksWUFBWSxFQUFFLENBQUM7SUFD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XCJpc0FkbWluXCIgKm5nSWY9XCJhcHBsaWNhdGlvbk5hbWUgPT09J0NvbnNvbWVyUG9ydGFsJyBcIiAobG9nT3V0Q2xpY2spPWxvZ291dCgpIChoaWRlTWVudSk9XCJoaWRlTWVudU1ldGhvZGUoKVwiPlxyXG4gICAgICAgIDwvYXdmLW1lbnUtY29uc29tZXI+XHJcbiAgICAgICAgPGF3Zi1tZW51LWdlLXBvcnRhbCBbdHJhbnNsYXRlXT1cInRyYW5zbGF0ZVwiIFtpc0FkbWluXT1cImlzQWRtaW5cIiAqbmdJZj1cImFwcGxpY2F0aW9uTmFtZSA9PT0nR0VQb3J0YWwnIFwiIChsb2dPdXRDbGljayk9bG9nb3V0KCkgKGhpZGVNZW51KT1cImhpZGVNZW51TWV0aG9kZSgpXCI+XHJcbiAgICAgICAgPC9hd2YtbWVudS1nZS1wb3J0YWw+IFxyXG4iXX0=
@@ -1,28 +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
- logOutClick = new EventEmitter();
7
- translate;
8
- isAdmin;
9
- constructor() { }
10
- ngOnChanges() {
11
- }
12
- logout() {
13
- this.logOutClick.emit();
14
- }
15
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: MenuConsomerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
16
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.2", 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.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
17
- }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.2", ngImport: i0, type: MenuConsomerComponent, decorators: [{
19
- type: Component,
20
- 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"] }]
21
- }], ctorParameters: () => [], propDecorators: { logOutClick: [{
22
- type: Output
23
- }], translate: [{
24
- type: Input
25
- }], isAdmin: [{
26
- type: Input
27
- }] } });
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1jb25zb21lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hd2YtdGVzdC1saWIvc3JjL2xpYi9jb3JlL21lbnUtY29uc29tZXIvbWVudS1jb25zb21lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hd2YtdGVzdC1saWIvc3JjL2xpYi9jb3JlL21lbnUtY29uc29tZXIvbWVudS1jb25zb21lci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQWEsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7O0FBT2xGLE1BQU0sT0FBTyxxQkFBcUI7SUFDdEIsV0FBVyxHQUFzQixJQUFJLFlBQVksRUFBRSxDQUFDO0lBQ3JELFNBQVMsQ0FBTztJQUNoQixPQUFPLENBQVc7SUFDM0IsZ0JBQW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