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
@@ -1,126 +0,0 @@
1
- import { Component, EventEmitter, Input,OnChanges,OnInit,Output, ViewChild, ViewEncapsulation } from '@angular/core';
2
- import { MessageService } from 'primeng/api';
3
- import { Calendar } from 'primeng/calendar';
4
- import { AlternativeDate } from '../../models/alternativeDate.model';
5
- import { PrimeNGConfig } from 'primeng/api';
6
- @Component({
7
- selector: 'app-choose-another-date',
8
- templateUrl: './choose-another-date.component.html',
9
- styleUrls: ['./choose-another-date.component.scss'],
10
- encapsulation: ViewEncapsulation.None,
11
- })
12
- export class ChooseAnotherDateComponent implements OnChanges, OnInit {
13
- @Input() displayAnotherDate!: boolean;
14
- @Input() globaltranslate!: any;
15
- @Input() translate!: any;
16
- @Input() alternativeDatesList!: AlternativeDate[];
17
- @Output() closeAnotherDate = new EventEmitter<boolean>();
18
- @Output() acceptDate = new EventEmitter<AlternativeDate[]>();
19
- @ViewChild('calendar') calendar!: Calendar;
20
-
21
- dates: Date[]= [];
22
- datesRef: Date[]= [];
23
- selectedDate !: any;
24
- show=false;
25
- dateslength = 0 ;
26
- indexSelectedDate = 0;
27
- constructor(private messageService :MessageService) {}
28
-
29
- ngOnInit(): void {
30
- this.loadDates() ;
31
- }
32
-
33
- ngOnChanges(): void {}
34
-
35
- close()
36
- {
37
- this.closeAnotherDate.emit(true);
38
- this.messageService.add({ severity: 'error', summary: this.globaltranslate.summaryReject, detail: this.globaltranslate.detailReject });
39
- }
40
-
41
-
42
- accept()
43
- {
44
- this.controlAlternativeDates();
45
- this.acceptDate.emit(this.alternativeDatesList);
46
- }
47
-
48
- askDate()
49
- {
50
- this.closeAnotherDate.emit(false);
51
-
52
- }
53
-
54
-
55
- controlAlternativeDates()
56
- {
57
- let i = 0;
58
- this.alternativeDatesList.forEach((item :AlternativeDate )=>
59
- {
60
- item.selected = (i===this.indexSelectedDate) ? "Yes" : "No";
61
- i++
62
- });
63
- }
64
-
65
-
66
- loadDates()
67
- {
68
- this.dates =[] ;
69
- this.datesRef =[] ;
70
- if(this.alternativeDatesList)
71
- {
72
- this.alternativeDatesList.forEach((element : AlternativeDate) => {
73
- this.dates.push( new Date(element.startDateTime));
74
- this.datesRef.push( new Date(element.startDateTime));
75
- });
76
-
77
- }
78
- this.dateslength = this.dates.length ;
79
- }
80
-
81
- onSelect()
82
- {
83
- if( this.dateslength < this.dates.length )
84
- {
85
- this.loadDates();
86
- }
87
- else if(this.dateslength > this.dates.length)
88
- {
89
- this.selectedDate = this.arrdiff(this.datesRef,this.dates)[0];
90
-
91
- for (var i = 0; i < this.datesRef.length; i++) {
92
- if(this.datesRef[i] == this.selectedDate )
93
- {
94
- this.indexSelectedDate = i;
95
- }
96
- }
97
- this.controlAlternativeDates();
98
- this.accept();
99
- this.loadDates() ;
100
- }
101
- this.dates ;
102
- }
103
-
104
-
105
- arrdiff (a1 :any, a2 :any) {
106
- var a = [], diff = [];
107
- for (var i = 0; i < a1.length; i++) {
108
- a[a1[i]] = true;
109
- }
110
- for (var i = 0; i < a2.length; i++) {
111
- if (a[a2[i]]) {
112
- delete a[a2[i]];
113
- } else {
114
- a[a2[i]] = true;
115
- }
116
- }
117
- for (var k in a) {
118
- diff.push(k);
119
- }
120
- return diff;
121
- }
122
-
123
- }
124
-
125
-
126
-
@@ -1,27 +0,0 @@
1
- <p-dialog [header]="globaltranslate.confirmation" [(visible)]="displayConfirmDialog" [modal]="true" [style]="{width: '50vw'}" (onHide)="rejectDate()" [maximizable]="true" [baseZIndex]="10000" [draggable]="false" [resizable]="false">
2
-
3
- <div>
4
- {{ isProposedDate ? translate.textProposed : translate.textAlternative }}
5
- <div>
6
- <br> <br>{{translate.start}} : <i class="pi pi-calendar"></i> &nbsp; <strong>
7
- {{startDateTime | date: 'dd MMM yyyy'}} </strong> &nbsp; {{translate.from}}: <strong>08:00 </strong>
8
- <div *ngIf="detailedPmJobLinkedList.length>0">
9
- <br> <p style="color:rgb(245, 57, 57) ;"><strong>{{ translate.textWarn }}</strong></p>
10
- <ul>
11
- <strong><li *ngFor="let detailedPmJob of detailedPmJobLinkedList">{{ detailedPmJob.pmJob.workorderNumber }}</li></strong>
12
-
13
- </ul>
14
- </div>
15
- <br><br>
16
- <p>{{translate.infoEmail}}</p>
17
-
18
- </div>
19
-
20
- </div>
21
-
22
- <ng-template pTemplate="footer">
23
- <p-button icon="pi pi-times" (click)="rejectDate()" class="annuler" [label]="globaltranslate.no"></p-button>
24
- <p-button icon="pi pi-check" (click)="confirmDate()" [label]="globaltranslate.yes" class="p-button-text"></p-button>
25
- </ng-template>
26
- </p-dialog>
27
- <p-toast position="top-center"></p-toast>
@@ -1,25 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { ConfirmDialogComponent } from './confirm-dialog.component';
4
-
5
- describe('ConfirmDialogComponent', () => {
6
- let component: ConfirmDialogComponent;
7
- let fixture: ComponentFixture<ConfirmDialogComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ ConfirmDialogComponent ]
12
- })
13
- .compileComponents();
14
- });
15
-
16
- beforeEach(() => {
17
- fixture = TestBed.createComponent(ConfirmDialogComponent);
18
- component = fixture.componentInstance;
19
- fixture.detectChanges();
20
- });
21
-
22
- it('should create', () => {
23
- expect(component).toBeTruthy();
24
- });
25
- });
@@ -1,35 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from '@angular/core';
2
- import { MessageService } from 'primeng/api';
3
- import { DetailedPmJob } from '../../models/detailedPmJob.model';
4
- @Component({
5
- selector: 'app-confirm-dialog',
6
- templateUrl: './confirm-dialog.component.html',
7
- styleUrls: ['./confirm-dialog.component.scss']
8
- })
9
- export class ConfirmDialogComponent {
10
- @Input() displayConfirmDialog!: boolean;
11
- @Input() startDateTime!: any;
12
- @Input() endDateTime!: any;
13
- @Input() globaltranslate!: any;
14
- @Input() translate!: any;
15
- @Input() isProposedDate!: boolean;
16
- @Input() detailedPmJobLinkedList: DetailedPmJob[] = [];
17
-
18
- @Output() closeConfirmDialog = new EventEmitter<boolean>();
19
-
20
- constructor(private messageService :MessageService) { }
21
-
22
-
23
-
24
- rejectDate()
25
- {
26
- this.closeConfirmDialog.emit(false);
27
- this.messageService.add({ severity: 'error', summary: this.globaltranslate.summaryReject, detail: this.globaltranslate.detailReject });
28
- }
29
-
30
- confirmDate()
31
- {
32
- this.closeConfirmDialog.emit(true);
33
- }
34
-
35
- }
@@ -1,19 +0,0 @@
1
- <p-dialog [header]="globaltranslate.confirmation" [(visible)]="displayConfirmDialogContact" [modal]="true" [style]="{width: '50vw'}" (onHide)="rejectDate()" [maximizable]="true" [baseZIndex]="10000" [draggable]="false" [resizable]="false">
2
- {{ translate.text }}<br>
3
- <!-- <br>{{translate.start}} : <i class="pi pi-calendar"></i> &nbsp; <strong>
4
- {{startDateTime | date: 'dd MMM yyyy'}} </strong> &nbsp; {{translate.from}}: <strong>08:00 </strong> -->
5
- <div *ngIf="detailedPmJobLinkedList.length>0">
6
- <br> <p style="color:rgb(245, 57, 57) ;"><strong>{{ translate.textWarn }}</strong></p>
7
- <ul>
8
- <strong><li *ngFor="let detailedPmJob of detailedPmJobLinkedList">{{ detailedPmJob.pmJob.workorderNumber }}</li></strong>
9
-
10
- </ul>
11
- </div>
12
- <br><br>
13
- <!-- <p>{{translate.infoEmail}}</p> -->
14
- <ng-template pTemplate="footer">
15
- <p-button icon="pi pi-times" (click)="rejectDate()" class="annuler" [label]="globaltranslate.no"></p-button>
16
- <p-button icon="pi pi-check" (click)="confirmDate()" [label]="globaltranslate.yes" class="p-button-text"></p-button>
17
- </ng-template>
18
- </p-dialog>
19
- <p-toast position="top-center"></p-toast>
@@ -1,23 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { ConfirmDialogContactComponent } from './confirm-dialog-contact.component';
4
-
5
- describe('ConfirmDialogContactComponent', () => {
6
- let component: ConfirmDialogContactComponent;
7
- let fixture: ComponentFixture<ConfirmDialogContactComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ ConfirmDialogContactComponent ]
12
- })
13
- .compileComponents();
14
-
15
- fixture = TestBed.createComponent(ConfirmDialogContactComponent);
16
- component = fixture.componentInstance;
17
- fixture.detectChanges();
18
- });
19
-
20
- it('should create', () => {
21
- expect(component).toBeTruthy();
22
- });
23
- });
@@ -1,36 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from '@angular/core';
2
- import { MessageService } from 'primeng/api';
3
- import { DetailedPmJob } from '../../models/detailedPmJob.model';
4
-
5
- @Component({
6
- selector: 'app-confirm-dialog-contact',
7
- templateUrl: './confirm-dialog-contact.component.html',
8
- styleUrls: ['./confirm-dialog-contact.component.css']
9
- })
10
- export class ConfirmDialogContactComponent {
11
-
12
- @Input() displayConfirmDialogContact!: boolean;
13
- @Input() startDateTime!: any;
14
- @Input() endDateTime!: any;
15
- @Input() globaltranslate!: any;
16
- @Input() translate!: any;
17
- @Input() detailedPmJobLinkedList: DetailedPmJob[] = [];
18
-
19
- @Output() closeConfirmDialogContact = new EventEmitter<boolean>();
20
-
21
- constructor(private messageService :MessageService) { }
22
-
23
-
24
-
25
- rejectDate()
26
- {
27
- this.closeConfirmDialogContact.emit(false);
28
- this.messageService.add({ severity: 'error', summary: this.globaltranslate.summaryReject, detail: this.globaltranslate.detailReject });
29
- }
30
-
31
- confirmDate()
32
- {
33
- this.closeConfirmDialogContact.emit(true);
34
- }
35
-
36
- }
@@ -1,25 +0,0 @@
1
- <p-dialog [header]="globaltranslate.information" [(visible)]="displayConfirmedDateInfo" [modal]="true" [style]="{width: '50vw'}" (onHide)="confirmDate()" [maximizable]="true" [baseZIndex]="10000" [draggable]="false" [resizable]="false">
2
- <i class="pi pi-check icon-check"></i>
3
-
4
-
5
- <div *ngIf="moreDates" style="text-align:center ;">
6
- <br><br>
7
- {{translate.textMoreDates}}
8
- <br><br>
9
-
10
- </div>
11
- <div *ngIf="!moreDates">
12
- <div class="text-center">
13
- <p> {{translate.text }} <br> {{translate.start}} : <i class="pi pi-calendar"></i> &nbsp; <strong>
14
- {{startDateTime | date: 'dd MMM yyyy'}}</strong> <br> {{translate.from}}: <strong>08:00 </strong> </p>
15
- </div>
16
- <br><br>
17
- <p>{{translate.infoEmail}}</p>
18
-
19
- </div>
20
-
21
-
22
- <ng-template pTemplate="footer">
23
- <p-button icon="pi pi-times " (click)="confirmDate()" label="Close" class=" text-center d-block"></p-button>
24
- </ng-template>
25
- </p-dialog>
@@ -1,23 +0,0 @@
1
- p-dialog{
2
- p{
3
- font-size: 14px;
4
- line-height: 34px;
5
- margin-top: 30px;
6
- }
7
- .icon-check{
8
- text-align: center;
9
- color: white;
10
- background: var(--primarycolor);
11
- width: 80px;
12
- height: 80px;
13
- display: flex ;
14
- justify-content: center;
15
- align-items: center;
16
- border-radius: 50%;
17
- font-size: 30px;
18
- font-weight: bold;
19
- margin:auto;
20
- }
21
-
22
- }
23
-
@@ -1,25 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { ConfirmedDateInformationComponent } from './confirmed-date-information.component';
4
-
5
- describe('ConfirmedDateInformationComponent', () => {
6
- let component: ConfirmedDateInformationComponent;
7
- let fixture: ComponentFixture<ConfirmedDateInformationComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ ConfirmedDateInformationComponent ]
12
- })
13
- .compileComponents();
14
- });
15
-
16
- beforeEach(() => {
17
- fixture = TestBed.createComponent(ConfirmedDateInformationComponent);
18
- component = fixture.componentInstance;
19
- fixture.detectChanges();
20
- });
21
-
22
- it('should create', () => {
23
- expect(component).toBeTruthy();
24
- });
25
- });
@@ -1,25 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'app-confirmed-date-information',
5
- templateUrl: './confirmed-date-information.component.html',
6
- styleUrls: ['./confirmed-date-information.component.scss']
7
- })
8
- export class ConfirmedDateInformationComponent {
9
- @Input() displayConfirmedDateInfo!: boolean;
10
- @Input() startDateTime!: any;
11
- @Input() endDateTime!: any;
12
- @Input() globaltranslate!: any;
13
- @Input() translate!: any;
14
- @Input() moreDates!: boolean;
15
- @Output() closeConfirmedDateInfo = new EventEmitter<boolean>();
16
- constructor() { }
17
-
18
-
19
-
20
- confirmDate()
21
- {
22
- this.closeConfirmedDateInfo.emit(true);
23
- }
24
-
25
- }
@@ -1,144 +0,0 @@
1
- h1, h2, h3, h4, h5, h6, p, span, label, ::placeholder {
2
- font-family: var(--font);
3
- }
4
- .app-section-header-img {
5
- background-image: url('/assets/img/GEPortal/contact.png');
6
- background-repeat: no-repeat;
7
- background-size: cover;
8
- background-position: center center;
9
- display: flex;
10
- align-items: center;
11
- height: 237px;
12
- }
13
- @media (max-width: var(--smallscreen)) {
14
- .app-section-header-img {
15
- height: auto;
16
- }
17
- }
18
- .app-section-header-img h2 {
19
- font-size: 48px;
20
- font-family: var(--font);
21
- font-weight: 600;
22
- color: white;
23
- text-align: center;
24
- }
25
- @media (max-width: var(--smallscreen)) {
26
- .app-section-header-img h2 {
27
- font-size: 30px;
28
- }
29
- }
30
- @media (max-width: var(--smallscreen)) {
31
- .app-section-header-img {
32
- padding-left: 15px;
33
- padding-right: 15px;
34
- }
35
- }
36
- @media (max-width: var(--tinyscreen)) {
37
- .app-section-header-img {
38
- height: 200px;
39
- }
40
- }
41
- h2 {
42
- font-weight: 600;
43
- }
44
- a:focus {
45
- outline: none !important;
46
- }
47
- a:hover {
48
- text-decoration: none;
49
- }
50
- input {
51
- outline: none;
52
- border: none;
53
- }
54
- input.input100 {
55
- height: 62px;
56
- padding: 0 20px 0 58px;
57
- }
58
- input[type="number"] {
59
- -moz-appearance: textfield;
60
- appearance: none;
61
- -webkit-appearance: none;
62
- }
63
- input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
64
- -webkit-appearance: none;
65
- }
66
- textarea {
67
- outline: none;
68
- border: none;
69
- }
70
- textarea.input100 {
71
- min-height: 199px;
72
- padding: 19px 20px 0 23px;
73
- }
74
- textarea:focus, input:focus {
75
- border-color: transparent !important;
76
- }
77
- .container-contact100 {
78
- display: flex;
79
- flex-wrap: wrap;
80
- justify-content: center;
81
- align-items: center;
82
- padding: 15px;
83
- }
84
- .wrap-contact100 {
85
- width: 550px;
86
- background: transparent;
87
- padding: 30px 0 80px 0;
88
- }
89
- .contact100-form-title {
90
- display: block;
91
- font-family: var(--font);
92
- font-size: 30px;
93
- color: #43383e;
94
- line-height: 1.2;
95
- text-align: left;
96
- padding-bottom: 35px;
97
- }
98
- .wrap-input100 {
99
- width: 100%;
100
- position: relative;
101
- background-color: #fff;
102
- margin-bottom: 17px;
103
- }
104
- .label-input100 {
105
- display: flex;
106
- justify-content: center;
107
- align-items: center;
108
- width: 58px;
109
- height: 62px;
110
- position: absolute;
111
- top: 0;
112
- left: 0;
113
- cursor: pointer;
114
- font-size: 18px;
115
- color: #999999;
116
- }
117
- .input100 {
118
- display: block;
119
- width: 100%;
120
- background: transparent;
121
- font-size: 15px;
122
- color: #43383e;
123
- line-height: 1.2;
124
- padding: 0 5px;
125
- }
126
- @media (max-width: var(--smallscreen)) {
127
- .contact iframe {
128
- width: auto;
129
- }
130
- }
131
- .contact label {
132
- margin-left: 10px;
133
- color: #a2a2a2;
134
- font-weight: bold;
135
- }
136
- .contact i {
137
- color: #a2a2a2;
138
- font-weight: bold;
139
- }
140
- .contact .social li {
141
- display: inline;
142
- padding: 10px;
143
- }
144
-