awf-test-lib 0.0.42 → 0.0.45

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 (38) hide show
  1. package/esm2020/lib/core/core-routing.module.mjs +5 -5
  2. package/esm2020/lib/core/core.module.mjs +5 -5
  3. package/esm2020/lib/core/menu/menu.component.mjs +4 -4
  4. package/esm2020/lib/core/menu-consomer/menu-consomer.component.mjs +4 -4
  5. package/esm2020/lib/core/menu-ge-portal/menu-ge-portal.component.mjs +4 -4
  6. package/esm2020/lib/core/menu-warranty/menu-warranty.component.mjs +4 -4
  7. package/esm2020/lib/core/not-found/not-found.component.mjs +4 -4
  8. package/esm2020/lib/core/top-bar/top-bar.component.mjs +4 -4
  9. package/esm2020/lib/models/detailedPmJob.model.mjs +1 -1
  10. package/esm2020/lib/models/reason.mjs +3 -0
  11. package/esm2020/lib/models/reasonCode.mjs +9 -0
  12. package/esm2020/lib/models/system.mjs +1 -1
  13. package/esm2020/lib/pipes/pipes/pipes.module.mjs +5 -5
  14. package/esm2020/lib/pipes/subrtring-w.pipe.mjs +4 -4
  15. package/esm2020/lib/pipes/substring.pipe.mjs +4 -4
  16. package/esm2020/lib/shared/choose-another-date/choose-another-date.component.mjs +4 -4
  17. package/esm2020/lib/shared/confirm-dialog/confirm-dialog.component.mjs +4 -4
  18. package/esm2020/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.mjs +4 -4
  19. package/esm2020/lib/shared/confirmed-date-information/confirmed-date-information.component.mjs +4 -4
  20. package/esm2020/lib/shared/contact/contact.component.mjs +18 -5
  21. package/esm2020/lib/shared/contact-support/contact-support.component.mjs +18 -15
  22. package/esm2020/lib/shared/dashboard/dashboard.component.mjs +4 -4
  23. package/esm2020/lib/shared/maintenance-list/maintenance-list.component.mjs +5 -8
  24. package/esm2020/lib/shared/shared-routing.module.mjs +5 -5
  25. package/esm2020/lib/shared/shared.module.mjs +5 -5
  26. package/esm2020/lib/shared/show-links/show-links.component.mjs +4 -4
  27. package/esm2020/lib/shared/system-list/system-list.component.mjs +4 -4
  28. package/fesm2015/awf-test-lib.mjs +126 -107
  29. package/fesm2015/awf-test-lib.mjs.map +1 -1
  30. package/fesm2020/awf-test-lib.mjs +126 -107
  31. package/fesm2020/awf-test-lib.mjs.map +1 -1
  32. package/lib/models/detailedPmJob.model.d.ts +2 -0
  33. package/lib/models/reason.d.ts +4 -0
  34. package/lib/models/reasonCode.d.ts +7 -0
  35. package/lib/models/system.d.ts +3 -0
  36. package/lib/shared/contact/contact.component.d.ts +3 -5
  37. package/lib/shared/contact-support/contact-support.component.d.ts +2 -6
  38. package/package.json +1 -1
@@ -17,4 +17,6 @@ export declare class DetailedPmJob {
17
17
  selectedDate?: string;
18
18
  toUpdate?: boolean;
19
19
  WorkorderNumberSelected?: string;
20
+ sitePostalCode?: string;
21
+ room?: string;
20
22
  }
@@ -0,0 +1,4 @@
1
+ export declare class Reason {
2
+ name: string;
3
+ code: string;
4
+ }
@@ -0,0 +1,7 @@
1
+ export declare enum ReasonCode {
2
+ MPM = "MPM",
3
+ RPM = "RPM",
4
+ CPM = "CPM",
5
+ SDI = "SDI",
6
+ OTH = "OTH"
7
+ }
@@ -8,4 +8,7 @@ export declare class System {
8
8
  siteName?: string;
9
9
  siteCity?: string;
10
10
  pmJobs: PmJob[];
11
+ description?: string;
12
+ sitePostalCode?: string;
13
+ room?: string;
11
14
  }
@@ -2,6 +2,8 @@ import { OnChanges, EventEmitter } from '@angular/core';
2
2
  import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { MessageService } from 'primeng/api';
4
4
  import { PmJob } from '../../models/pmJob.model';
5
+ import { PmJobStatus } from '../../models/pmJobStatus';
6
+ import { Reason } from '../../models/reason';
5
7
  import { System } from '../../models/system';
6
8
  import * as i0 from "@angular/core";
7
9
  export declare class ContactComponent implements OnChanges {
@@ -28,13 +30,9 @@ export declare class ContactComponent implements OnChanges {
28
30
  };
29
31
  preventStringKeypress(event: any): void;
30
32
  onSubmit(): void;
33
+ slectsFutureStatus(status: any): PmJobStatus.WAITING | PmJobStatus.DESINSTALLED | PmJobStatus.REPORTED | PmJobStatus.CANCELLED | PmJobStatus.OTHER | "Erreur";
31
34
  loadForm(): void;
32
35
  selectPM(selectedSystem: any): void;
33
36
  static ɵfac: i0.ɵɵFactoryDeclaration<ContactComponent, never>;
34
37
  static ɵcmp: i0.ɵɵComponentDeclaration<ContactComponent, "awf-contact", never, { "loading": "loading"; "submitted": "submitted"; "systems": "systems"; "selectedSystems": "selectedSystems"; "translate": "translate"; "reasons": "reasons"; }, { "sendForm": "sendForm"; }, never, never, false>;
35
38
  }
36
- interface Reason {
37
- name: string;
38
- code: string;
39
- }
40
- export {};
@@ -3,6 +3,7 @@ import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { MessageService } from 'primeng/api';
4
4
  import { DetailedPmJob } from '../../models/detailedPmJob.model';
5
5
  import { PmJobStatus } from '../../models/pmJobStatus';
6
+ import { Reason } from '../../models/reason';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class ContactSupportComponent implements OnInit, OnChanges {
8
9
  private messageService;
@@ -29,7 +30,7 @@ export declare class ContactSupportComponent implements OnInit, OnChanges {
29
30
  ngOnChanges(changes: SimpleChanges): void;
30
31
  ngOnInit(): void;
31
32
  loadDatas(): void;
32
- filterReasens(): void;
33
+ filterReasons(): void;
33
34
  cancelContactSupport(): void;
34
35
  get f(): {
35
36
  [key: string]: import("@angular/forms").AbstractControl<any, any>;
@@ -46,8 +47,3 @@ export declare class ContactSupportComponent implements OnInit, OnChanges {
46
47
  static ɵfac: i0.ɵɵFactoryDeclaration<ContactSupportComponent, never>;
47
48
  static ɵcmp: i0.ɵɵComponentDeclaration<ContactSupportComponent, "app-contact-support", never, { "displaycontactSupport": "displaycontactSupport"; "globaltranslate": "globaltranslate"; "translate": "translate"; "showDate": "showDate"; "detailedPmJob": "detailedPmJob"; "reasonContact": "reasonContact"; "reasons": "reasons"; }, { "sendDetailedPm": "sendDetailedPm"; "sendForm": "sendForm"; "closeContactSupport": "closeContactSupport"; }, never, never, false>;
48
49
  }
49
- interface Reason {
50
- name: string;
51
- code: string;
52
- }
53
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awf-test-lib",
3
- "version": "0.0.42",
3
+ "version": "0.0.45",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0"