awf-test-lib 0.0.95 → 0.0.97

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 (218) hide show
  1. package/esm2020/awf-test-lib.mjs +5 -0
  2. package/esm2020/lib/core/core-routing.module.mjs +18 -0
  3. package/esm2020/lib/core/core.module.mjs +51 -0
  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 +31 -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/esm2020/lib/core/top-bar/top-bar.component.mjs +41 -0
  10. package/esm2020/lib/models/account.model.mjs +3 -0
  11. package/esm2020/lib/models/alternativeDate.model.mjs +3 -0
  12. package/esm2020/lib/models/applicationName.mjs +7 -0
  13. package/esm2020/lib/models/cancelPMMailRequest.model.mjs +4 -0
  14. package/esm2020/lib/models/customObject.model.mjs +3 -0
  15. package/esm2020/lib/models/detailedPmJob.model.mjs +3 -0
  16. package/esm2020/lib/models/emailStatus.mjs +6 -0
  17. package/esm2020/lib/models/emailType.mjs +15 -0
  18. package/esm2020/lib/models/eventStatus.mjs +9 -0
  19. package/esm2020/lib/models/field.mjs +9 -0
  20. package/esm2020/lib/models/language.mjs +6 -0
  21. package/esm2020/lib/models/mailRequest.model.mjs +3 -0
  22. package/esm2020/lib/models/pMGroupedJob.model.mjs +3 -0
  23. package/esm2020/lib/models/pmJob.model.mjs +3 -0
  24. package/esm2020/lib/models/pmJobRequest.model.mjs +3 -0
  25. package/esm2020/lib/models/pmJobStatus.mjs +17 -0
  26. package/esm2020/lib/models/reason.model.mjs +3 -0
  27. package/esm2020/lib/models/reasonCode.mjs +9 -0
  28. package/esm2020/lib/models/reasonContact.mjs +8 -0
  29. package/esm2020/lib/models/reportDateMailRequest.model.mjs +4 -0
  30. package/esm2020/lib/models/role.mjs +7 -0
  31. package/esm2020/lib/models/service.model.mjs +3 -0
  32. package/esm2020/lib/models/serviceName.mjs +12 -0
  33. package/esm2020/lib/models/socialLoginRequest.model.mjs +3 -0
  34. package/esm2020/lib/models/socialMadia.mjs +5 -0
  35. package/esm2020/lib/models/stingBoolean.mjs +6 -0
  36. package/esm2020/lib/models/system.mjs +3 -0
  37. package/esm2020/lib/models/theme.model.mjs +2 -0
  38. package/esm2020/lib/models/tokenStatus.mjs +7 -0
  39. package/esm2020/lib/models/warranty.mjs +3 -0
  40. package/esm2020/lib/pipes/pipes/pipes.module.mjs +21 -0
  41. package/esm2020/lib/pipes/subrtring-w.pipe.mjs +20 -0
  42. package/esm2020/lib/pipes/substring.pipe.mjs +16 -0
  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 +44 -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 +35 -0
  47. package/esm2020/lib/shared/contact/contact.component.mjs +138 -0
  48. package/esm2020/lib/shared/contact-support/contact-support.component.mjs +161 -0
  49. package/esm2020/lib/shared/dashboard/dashboard.component.mjs +34 -0
  50. package/esm2020/lib/shared/maintenance-list/maintenance-list.component.mjs +360 -0
  51. package/esm2020/lib/shared/shared-routing.module.mjs +18 -0
  52. package/esm2020/lib/shared/shared.module.mjs +144 -0
  53. package/esm2020/lib/shared/show-links/show-links.component.mjs +81 -0
  54. package/esm2020/lib/shared/system-list/system-list.component.mjs +32 -0
  55. package/esm2020/public-api.mjs +48 -0
  56. package/fesm2015/awf-test-lib.mjs +1548 -0
  57. package/fesm2015/awf-test-lib.mjs.map +1 -0
  58. package/fesm2020/awf-test-lib.mjs +1544 -0
  59. package/fesm2020/awf-test-lib.mjs.map +1 -0
  60. package/index.d.ts +5 -0
  61. package/lib/core/core-routing.module.d.ts +7 -0
  62. package/lib/core/core.module.d.ts +15 -0
  63. package/lib/core/menu/menu.component.d.ts +17 -0
  64. package/lib/core/menu-consomer/menu-consomer.component.d.ts +12 -0
  65. package/lib/core/menu-ge-portal/menu-ge-portal.component.d.ts +13 -0
  66. package/lib/core/menu-warranty/menu-warranty.component.d.ts +15 -0
  67. package/lib/core/not-found/not-found.component.d.ts +10 -0
  68. package/lib/core/top-bar/top-bar.component.d.ts +13 -0
  69. package/{src/lib/models/account.model.ts → lib/models/account.model.d.ts} +3 -6
  70. package/lib/models/alternativeDate.model.d.ts +6 -0
  71. package/lib/models/applicationName.d.ts +5 -0
  72. package/{src/lib/models/cancelPMMailRequest.model.ts → lib/models/cancelPMMailRequest.model.d.ts} +1 -3
  73. package/lib/models/customObject.model.d.ts +3 -0
  74. package/lib/models/detailedPmJob.model.d.ts +22 -0
  75. package/lib/models/emailStatus.d.ts +4 -0
  76. package/lib/models/emailType.d.ts +13 -0
  77. package/lib/models/eventStatus.d.ts +7 -0
  78. package/lib/models/field.d.ts +7 -0
  79. package/lib/models/language.d.ts +4 -0
  80. package/{src/lib/models/mailRequest.model.ts → lib/models/mailRequest.model.d.ts} +1 -3
  81. package/lib/models/pMGroupedJob.model.d.ts +3 -0
  82. package/{src/lib/models/pmJob.model.ts → lib/models/pmJob.model.d.ts} +6 -7
  83. package/lib/models/pmJobRequest.model.d.ts +5 -0
  84. package/{src/lib/models/pmJobStatus.ts → lib/models/pmJobStatus.d.ts} +3 -8
  85. package/lib/models/reason.model.d.ts +4 -0
  86. package/lib/models/reasonCode.d.ts +7 -0
  87. package/lib/models/reasonContact.d.ts +6 -0
  88. package/{src/lib/models/reportDateMailRequest.model.ts → lib/models/reportDateMailRequest.model.d.ts} +1 -3
  89. package/lib/models/role.d.ts +5 -0
  90. package/lib/models/service.model.d.ts +8 -0
  91. package/lib/models/serviceName.d.ts +10 -0
  92. package/{src/lib/models/socialLoginRequest.model.ts → lib/models/socialLoginRequest.model.d.ts} +1 -1
  93. package/lib/models/socialMadia.d.ts +3 -0
  94. package/lib/models/stingBoolean.d.ts +4 -0
  95. package/lib/models/system.d.ts +14 -0
  96. package/{src/lib/models/theme.model.ts → lib/models/theme.model.d.ts} +11 -18
  97. package/lib/models/tokenStatus.d.ts +5 -0
  98. package/lib/models/warranty.d.ts +17 -0
  99. package/lib/pipes/pipes/pipes.module.d.ts +9 -0
  100. package/lib/pipes/subrtring-w.pipe.d.ts +7 -0
  101. package/lib/pipes/substring.pipe.d.ts +7 -0
  102. package/lib/shared/choose-another-date/choose-another-date.component.d.ts +33 -0
  103. package/lib/shared/confirm-dialog/confirm-dialog.component.d.ts +20 -0
  104. package/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.d.ts +19 -0
  105. package/lib/shared/confirmed-date-information/confirmed-date-information.component.d.ts +15 -0
  106. package/lib/shared/contact/contact.component.d.ts +38 -0
  107. package/lib/shared/contact-support/contact-support.component.d.ts +49 -0
  108. package/lib/shared/dashboard/dashboard.component.d.ts +17 -0
  109. package/lib/shared/maintenance-list/maintenance-list.component.d.ts +83 -0
  110. package/lib/shared/shared-routing.module.d.ts +7 -0
  111. package/lib/shared/shared.module.d.ts +40 -0
  112. package/lib/shared/show-links/show-links.component.d.ts +23 -0
  113. package/lib/shared/system-list/system-list.component.d.ts +15 -0
  114. package/package.json +30 -10
  115. package/{src/public-api.ts → public-api.d.ts} +1 -16
  116. package/karma.conf.js +0 -44
  117. package/ng-package.json +0 -7
  118. package/src/lib/core/core-routing.module.ts +0 -10
  119. package/src/lib/core/core.module.ts +0 -35
  120. package/src/lib/core/menu/menu.component.css +0 -18
  121. package/src/lib/core/menu/menu.component.html +0 -8
  122. package/src/lib/core/menu/menu.component.spec.ts +0 -23
  123. package/src/lib/core/menu/menu.component.ts +0 -27
  124. package/src/lib/core/menu-consomer/menu-consomer.component.html +0 -20
  125. package/src/lib/core/menu-consomer/menu-consomer.component.scss +0 -20
  126. package/src/lib/core/menu-consomer/menu-consomer.component.spec.ts +0 -25
  127. package/src/lib/core/menu-consomer/menu-consomer.component.ts +0 -21
  128. package/src/lib/core/menu-ge-portal/menu-ge-portal.component.html +0 -7
  129. package/src/lib/core/menu-ge-portal/menu-ge-portal.component.scss +0 -17
  130. package/src/lib/core/menu-ge-portal/menu-ge-portal.component.spec.ts +0 -25
  131. package/src/lib/core/menu-ge-portal/menu-ge-portal.component.ts +0 -24
  132. package/src/lib/core/menu-warranty/menu-warranty.component.html +0 -20
  133. package/src/lib/core/menu-warranty/menu-warranty.component.scss +0 -16
  134. package/src/lib/core/menu-warranty/menu-warranty.component.spec.ts +0 -25
  135. package/src/lib/core/menu-warranty/menu-warranty.component.ts +0 -31
  136. package/src/lib/core/not-found/not-found.component.css +0 -31
  137. package/src/lib/core/not-found/not-found.component.html +0 -6
  138. package/src/lib/core/not-found/not-found.component.spec.ts +0 -23
  139. package/src/lib/core/not-found/not-found.component.ts +0 -15
  140. package/src/lib/core/top-bar/top-bar.component.css +0 -116
  141. package/src/lib/core/top-bar/top-bar.component.html +0 -1
  142. package/src/lib/core/top-bar/top-bar.component.spec.ts +0 -23
  143. package/src/lib/core/top-bar/top-bar.component.ts +0 -39
  144. package/src/lib/models/alternativeDate.model.ts +0 -6
  145. package/src/lib/models/applicationName.ts +0 -6
  146. package/src/lib/models/customObject.model.ts +0 -4
  147. package/src/lib/models/detailedPmJob.model.ts +0 -24
  148. package/src/lib/models/emailStatus.ts +0 -4
  149. package/src/lib/models/emailType.ts +0 -17
  150. package/src/lib/models/eventStatus.ts +0 -8
  151. package/src/lib/models/field.ts +0 -7
  152. package/src/lib/models/language.ts +0 -4
  153. package/src/lib/models/pMGroupedJob.model.ts +0 -4
  154. package/src/lib/models/pmJobRequest.model.ts +0 -6
  155. package/src/lib/models/reason.model.ts +0 -7
  156. package/src/lib/models/reasonCode.ts +0 -9
  157. package/src/lib/models/reasonContact.ts +0 -7
  158. package/src/lib/models/role.ts +0 -5
  159. package/src/lib/models/service.model.ts +0 -8
  160. package/src/lib/models/serviceName.ts +0 -14
  161. package/src/lib/models/socialMadia.ts +0 -4
  162. package/src/lib/models/stingBoolean.ts +0 -7
  163. package/src/lib/models/system.ts +0 -15
  164. package/src/lib/models/tokenStatus.ts +0 -6
  165. package/src/lib/models/warranty.ts +0 -18
  166. package/src/lib/pipes/pipes/pipes.module.ts +0 -14
  167. package/src/lib/pipes/subrtring-w.pipe.spec.ts +0 -8
  168. package/src/lib/pipes/subrtring-w.pipe.ts +0 -16
  169. package/src/lib/pipes/substring.pipe.spec.ts +0 -8
  170. package/src/lib/pipes/substring.pipe.ts +0 -15
  171. package/src/lib/shared/choose-another-date/choose-another-date.component.html +0 -9
  172. package/src/lib/shared/choose-another-date/choose-another-date.component.scss +0 -4
  173. package/src/lib/shared/choose-another-date/choose-another-date.component.spec.ts +0 -25
  174. package/src/lib/shared/choose-another-date/choose-another-date.component.ts +0 -126
  175. package/src/lib/shared/confirm-dialog/confirm-dialog.component.html +0 -27
  176. package/src/lib/shared/confirm-dialog/confirm-dialog.component.scss +0 -0
  177. package/src/lib/shared/confirm-dialog/confirm-dialog.component.spec.ts +0 -25
  178. package/src/lib/shared/confirm-dialog/confirm-dialog.component.ts +0 -35
  179. package/src/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.css +0 -0
  180. package/src/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.html +0 -19
  181. package/src/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.spec.ts +0 -23
  182. package/src/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.ts +0 -36
  183. package/src/lib/shared/confirmed-date-information/confirmed-date-information.component.html +0 -25
  184. package/src/lib/shared/confirmed-date-information/confirmed-date-information.component.scss +0 -23
  185. package/src/lib/shared/confirmed-date-information/confirmed-date-information.component.spec.ts +0 -25
  186. package/src/lib/shared/confirmed-date-information/confirmed-date-information.component.ts +0 -25
  187. package/src/lib/shared/contact/contact.component.css +0 -144
  188. package/src/lib/shared/contact/contact.component.html +0 -124
  189. package/src/lib/shared/contact/contact.component.spec.ts +0 -23
  190. package/src/lib/shared/contact/contact.component.ts +0 -157
  191. package/src/lib/shared/contact-support/contact-support.component.html +0 -126
  192. package/src/lib/shared/contact-support/contact-support.component.scss +0 -10
  193. package/src/lib/shared/contact-support/contact-support.component.spec.ts +0 -25
  194. package/src/lib/shared/contact-support/contact-support.component.ts +0 -191
  195. package/src/lib/shared/dashboard/dashboard.component.html +0 -81
  196. package/src/lib/shared/dashboard/dashboard.component.scss +0 -5
  197. package/src/lib/shared/dashboard/dashboard.component.spec.ts +0 -23
  198. package/src/lib/shared/dashboard/dashboard.component.ts +0 -21
  199. package/src/lib/shared/maintenance-list/maintenance-list.component.html +0 -100
  200. package/src/lib/shared/maintenance-list/maintenance-list.component.scss +0 -26
  201. package/src/lib/shared/maintenance-list/maintenance-list.component.spec.ts +0 -25
  202. package/src/lib/shared/maintenance-list/maintenance-list.component.ts +0 -466
  203. package/src/lib/shared/shared-routing.module.ts +0 -10
  204. package/src/lib/shared/shared.module.ts +0 -84
  205. package/src/lib/shared/show-links/show-links.component.html +0 -48
  206. package/src/lib/shared/show-links/show-links.component.scss +0 -0
  207. package/src/lib/shared/show-links/show-links.component.spec.ts +0 -25
  208. package/src/lib/shared/show-links/show-links.component.ts +0 -80
  209. package/src/lib/shared/system-list/system-list.component.css +0 -0
  210. package/src/lib/shared/system-list/system-list.component.html +0 -40
  211. package/src/lib/shared/system-list/system-list.component.spec.ts +0 -23
  212. package/src/lib/shared/system-list/system-list.component.ts +0 -26
  213. package/src/test.ts +0 -27
  214. package/tsconfig.lib.dev.json +0 -10
  215. package/tsconfig.lib.json +0 -15
  216. package/tsconfig.lib.pp.json +0 -10
  217. package/tsconfig.lib.prod.json +0 -10
  218. package/tsconfig.spec.json +0 -17
@@ -0,0 +1,83 @@
1
+ import { EventEmitter, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { Table } from 'primeng/table';
3
+ import { MessageService } from 'primeng/api';
4
+ import { Subscription } from 'rxjs';
5
+ import { DetailedPmJob } from '../../models/detailedPmJob.model';
6
+ import { AlternativeDate } from '../../models/alternativeDate.model';
7
+ import { PmJob } from '../../models/pmJob.model';
8
+ import * as i0 from "@angular/core";
9
+ export declare class MaintenanceListComponent implements OnChanges, OnDestroy {
10
+ private messageService;
11
+ dt: Table | undefined;
12
+ op: any | undefined;
13
+ translate: any;
14
+ reasons: any;
15
+ globaltranslate: any;
16
+ maintenanceList: DetailedPmJob[];
17
+ maintenanceListNotDisplayed: DetailedPmJob[];
18
+ pmJobList: DetailedPmJob[];
19
+ isAlreadyScheduled: Boolean;
20
+ displayConfirmedDateInfo: boolean;
21
+ alternativeDatesList: any;
22
+ emitForUpdate: EventEmitter<any>;
23
+ emitForAlternativeDates: EventEmitter<any>;
24
+ sendContactMeEmail: EventEmitter<any>;
25
+ status: any;
26
+ sendForm: EventEmitter<any>;
27
+ moreDates: boolean;
28
+ detailedPmJobLinkedList: DetailedPmJob[];
29
+ updatePmSubscription: Subscription;
30
+ alternativeDatesSubscription: Subscription;
31
+ showDate: boolean;
32
+ maintenanceSelected: DetailedPmJob;
33
+ startDateTime: any;
34
+ endDateTime: any;
35
+ selectedWorkorderId: any;
36
+ alternativeDate: AlternativeDate;
37
+ alternativeDatesSelected: AlternativeDate[];
38
+ displaycontactSupport: boolean;
39
+ displayConfirmDialog: boolean;
40
+ displayConfirmDialogContact: boolean;
41
+ displayShowLinks: boolean;
42
+ displayAnotherDate: boolean;
43
+ isWithLinks: boolean;
44
+ isProposedDate: boolean;
45
+ pmSelectedStatus: string;
46
+ emailTypes: string[];
47
+ alreadyScheduledMsg: boolean;
48
+ reasonContact: string;
49
+ contactMeRequest: DetailedPmJob;
50
+ first: number;
51
+ constructor(messageService: MessageService);
52
+ ngOnChanges(changes: SimpleChanges): void;
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
+ transformType(type: string): string;
79
+ transformStatus(status: string): string;
80
+ getStatusTooltip(status: string): string;
81
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaintenanceListComponent, never>;
82
+ 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>;
83
+ }
@@ -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,23 @@
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
+ constructor();
16
+ close(): void;
17
+ applyFilterGlobal($event: any, stringVal: any): void;
18
+ transformStatus(status: string): string;
19
+ getStatusTooltip(status: string): string;
20
+ transformType(type: string): string;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShowLinksComponent, never>;
22
+ 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>;
23
+ }
@@ -0,0 +1,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
+ constructor();
11
+ ngOnChanges(): void;
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": "translate"; "globaltranslate": "globaltranslate"; "systems": "systems"; }, {}, never, never, false>;
15
+ }
package/package.json CHANGED
@@ -1,11 +1,31 @@
1
- {
2
- "name": "awf-test-lib",
3
- "version": "0.0.95",
4
- "peerDependencies": {
5
- "@angular/common": "^14.0.0",
6
- "@angular/core": "^14.0.0"
7
- },
8
- "dependencies": {
9
- "tslib": "^2.3.0"
10
- }
1
+ {
2
+ "name": "awf-test-lib",
3
+ "version": "0.0.97",
4
+ "peerDependencies": {
5
+ "@angular/common": "^14.0.0",
6
+ "@angular/core": "^14.0.0"
7
+ },
8
+ "dependencies": {
9
+ "tslib": "^2.3.0"
10
+ },
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",
16
+ "typings": "index.d.ts",
17
+ "exports": {
18
+ "./package.json": {
19
+ "default": "./package.json"
20
+ },
21
+ ".": {
22
+ "types": "./index.d.ts",
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"
28
+ }
29
+ },
30
+ "sideEffects": false
11
31
  }
@@ -1,22 +1,14 @@
1
- /*
2
- * Public API Surface of awf-test-lib
3
- */
4
1
  /*********** shared module***********/
5
-
6
2
  export * from './lib/core/core.module';
7
3
  export * from './lib/core/menu/menu.component';
8
4
  export * from './lib/core/not-found/not-found.component';
9
5
  export * from './lib/core/top-bar/top-bar.component';
10
-
11
6
  /*********** GE module ***********/
12
-
13
7
  export * from './lib/shared/shared.module';
14
8
  export * from './lib/shared/system-list/system-list.component';
15
9
  export * from './lib/shared/contact/contact.component';
16
10
  export * from './lib/shared/maintenance-list/maintenance-list.component';
17
11
  export * from './lib/shared/dashboard/dashboard.component';
18
-
19
- // models
20
12
  export * from './lib/models/account.model';
21
13
  export * from './lib/models/alternativeDate.model';
22
14
  export * from './lib/models/applicationName';
@@ -45,13 +37,6 @@ export * from './lib/models/tokenStatus';
45
37
  export * from './lib/models/warranty';
46
38
  export * from './lib/models/reasonContact';
47
39
  export * from './lib/models/stingBoolean';
48
-
49
-
50
-
51
-
52
- // Pipes
53
-
54
- export * from './lib/pipes/pipes/pipes.module';
40
+ export * from './lib/pipes/pipes/pipes.module';
55
41
  export * from './lib/pipes/subrtring-w.pipe';
56
42
  export * from './lib/pipes/substring.pipe';
57
-
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,7 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
- "dest": "../../dist/awf-test-lib",
4
- "lib": {
5
- "entryFile": "src/public-api.ts"
6
- }
7
- }
@@ -1,10 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { RouterModule, Routes } from '@angular/router';
3
-
4
- const routes: Routes = [];
5
-
6
- @NgModule({
7
- imports: [RouterModule.forChild(routes)],
8
- exports: [RouterModule]
9
- })
10
- export class CoreRoutingModule { }
@@ -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
- });
@@ -1,27 +0,0 @@
1
- import { Component,EventEmitter, Output, Input, OnInit } from '@angular/core';
2
- @Component({
3
- selector: 'awf-menu',
4
- templateUrl: './menu.component.html',
5
- styleUrls: ['./menu.component.css']
6
- })
7
- export class MenuComponent implements OnInit {
8
- @Output() logOutClick: EventEmitter<any> = new EventEmitter();
9
- @Output() hideMenu: EventEmitter<any> = new EventEmitter();
10
- @Input() active!: boolean ;
11
- @Input() isAdmin!: boolean ;
12
- @Input() translate!: any;
13
- @Input() applicationName!: any;
14
- @Input() haveConsumerDataId!: boolean ;
15
- constructor() { }
16
- ngOnInit(): void {}
17
-
18
- logout() {
19
- this.logOutClick.emit();
20
- }
21
-
22
- hideMenuMethode()
23
- {
24
- this.hideMenu.emit();
25
- }
26
-
27
- }
@@ -1,20 +0,0 @@
1
- <div class="layout-menu" *ngIf="translate">
2
- <div class="menu-category"> <i class="pi pi-home"></i> {{translate.general}}</div>
3
- <div class="menu-items">
4
- <a routerLink="./">{{translate.Homepage}}</a>
5
- <a routerLink="./device">{{translate.myDevices}}</a>
6
- <a routerLink="./personalData">{{translate.personalData}}</a>
7
- </div>
8
-
9
- <div class="menu-category" *ngIf="isAdmin "> <i class="pi pi-cog"></i> {{translate.config}}</div>
10
- <div class="menu-items" *ngIf="isAdmin ">
11
- <a routerLink="./theme">{{translate.themes}}</a>
12
- <a routerLink="./servicesConfig">{{translate.services}}</a>
13
- </div>
14
-
15
- <div class="menu-category"> <i class="pi pi-user"></i> {{translate.account}}</div>
16
- <div class="menu-items">
17
- <a >{{translate.profile}}</a>
18
- <a (click)="logout()">{{translate.logout}}</a>
19
- </div>
20
- </div>
@@ -1,20 +0,0 @@
1
- /*--------------------------------------------------------------
2
- # Sidebar
3
- --------------------------------------------------------------*/
4
-
5
- .layout-menu {
6
- .logo {
7
- img {
8
- width: 150px;
9
- max-height: 20px;
10
- margin-left: 24px;
11
- @media (max-width: var(--smscreen)) {
12
- max-height: 33px;
13
- margin-left: 0px;
14
- }
15
- }
16
- }
17
- .a {
18
- font-family: var(--font);
19
- }
20
- }
@@ -1,25 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { MenuConsomerComponent } from './menu-consomer.component';
4
-
5
- describe('MenuConsomerComponent', () => {
6
- let component: MenuConsomerComponent;
7
- let fixture: ComponentFixture<MenuConsomerComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ MenuConsomerComponent ]
12
- })
13
- .compileComponents();
14
- });
15
-
16
- beforeEach(() => {
17
- fixture = TestBed.createComponent(MenuConsomerComponent);
18
- component = fixture.componentInstance;
19
- fixture.detectChanges();
20
- });
21
-
22
- it('should create', () => {
23
- expect(component).toBeTruthy();
24
- });
25
- });
@@ -1,21 +0,0 @@
1
- import { Component, EventEmitter, Input, OnChanges, Output } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'awf-menu-consomer',
5
- templateUrl: './menu-consomer.component.html',
6
- styleUrls: ['./menu-consomer.component.scss']
7
- })
8
- export class MenuConsomerComponent implements OnChanges {
9
- @Output() logOutClick: EventEmitter<any> = new EventEmitter();
10
- @Input() translate!: any;
11
- @Input() isAdmin!: boolean;
12
- constructor() { }
13
-
14
- ngOnChanges(): void {
15
- }
16
-
17
- logout() {
18
- this.logOutClick.emit();
19
- }
20
-
21
- }
@@ -1,7 +0,0 @@
1
- <div class="layout-menu" *ngIf="translate">
2
- <div class="menu" routerLink="./" (click)="hideMenuMethode()"> <i class="pi pi-home"></i> {{translate.home}}</div>
3
- <div class="menu" routerLink="./contact" (click)="hideMenuMethode()"> <i class="pi pi-phone"></i> {{translate.contact}}</div>
4
- <div class="menu" routerLink="./systems" (click)="hideMenuMethode()"> <i class="pi pi-eye"></i> {{translate.systems}}</div>
5
- <div class="menu" routerLink="./maintenance" (click)="hideMenuMethode()"> <i class="pi pi-inbox"></i> {{translate.maintenance}}</div>
6
- <div class="menu" (click)="logout()"> <i class="pi pi-power-off"></i> {{translate.logout}}</div>
7
- </div>
@@ -1,17 +0,0 @@
1
- .layout-menu {
2
- margin-left: 50px;
3
-
4
- .menu {
5
- display: block;
6
- color: #8DA1B5;
7
- font-weight: 300;
8
- padding: 1rem 0 0.5rem 0;
9
- font-size: 16px;
10
- cursor: pointer;
11
- &:hover {
12
- font-weight: bold;
13
- color: var(--primarycolor);
14
- }
15
- }
16
-
17
- }
@@ -1,25 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { MenuGePortalComponent } from './menu-ge-portal.component';
4
-
5
- describe('MenuGePortalComponent', () => {
6
- let component: MenuGePortalComponent;
7
- let fixture: ComponentFixture<MenuGePortalComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ MenuGePortalComponent ]
12
- })
13
- .compileComponents();
14
- });
15
-
16
- beforeEach(() => {
17
- fixture = TestBed.createComponent(MenuGePortalComponent);
18
- component = fixture.componentInstance;
19
- fixture.detectChanges();
20
- });
21
-
22
- it('should create', () => {
23
- expect(component).toBeTruthy();
24
- });
25
- });
@@ -1,24 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'awf-menu-ge-portal',
5
- templateUrl: './menu-ge-portal.component.html',
6
- styleUrls: ['./menu-ge-portal.component.scss']
7
- })
8
- export class MenuGePortalComponent {
9
- @Output() logOutClick: EventEmitter<any> = new EventEmitter();
10
- @Input() translate!: any;
11
- @Input() isAdmin!: boolean;
12
- @Output() hideMenu: EventEmitter<any> = new EventEmitter();
13
- constructor() { }
14
-
15
-
16
- logout() { this.logOutClick.emit();
17
- }
18
-
19
- hideMenuMethode()
20
- {
21
- this.hideMenu.emit();
22
- }
23
-
24
- }
@@ -1,20 +0,0 @@
1
- <div class="layout-menu" *ngIf="translate">
2
- <div class="menu-category"> <i class="pi pi-home"></i> {{translate.general}}</div>
3
- <div class="menu-items">
4
- <a routerLink="./warranties" (click)="hideMenuMethode()">{{translate.Homepage}}</a>
5
- <a routerLink="./device" (click)="hideMenuMethode()">{{translate.devices}}</a>
6
- </div>
7
- <div class="menu-category" *ngIf="isAdmin "> <i class="pi pi-cog"></i> {{translate.config}}</div>
8
- <div class="menu-items" *ngIf="isAdmin ">
9
-
10
- <a routerLink="./theme" (click)="hideMenuMethode()">{{translate.themes}}</a>
11
- <a routerLink="./servicesConfig" (click)="hideMenuMethode()">{{translate.services}}</a>
12
- </div>
13
- <div class="menu-category"> <i class="pi pi-user"></i> {{translate.account}}</div>
14
- <div class="menu-items">
15
- <a routerLink="./account" *ngIf="haveConsumerDataId" (click)="hideMenuMethode()">{{translate.personalData}}</a>
16
- <a routerLink="./account/optionsList" *ngIf="haveConsumerDataId" (click)="hideMenuMethode()">{{translate.optionsList}}</a>
17
- <a routerLink="./account/change-password" *ngIf="haveConsumerDataId" (click)="hideMenuMethode()">{{translate.changePassword}}</a>
18
- <a (click)="logout()">{{translate.logout}}</a>
19
- </div>
20
- </div>
@@ -1,16 +0,0 @@
1
- .layout-menu {
2
- .logo {
3
- img {
4
- width: 150px;
5
- max-height: 20px;
6
- margin-left: 24px;
7
- @media (max-width: var(--smscreen)) {
8
- max-height: 33px;
9
- margin-left: 0px;
10
- }
11
- }
12
- }
13
- .a {
14
- font-family: var(--font);
15
- }
16
- }