awf-test-lib 0.1.1 → 0.1.3

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 +139 -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 +1549 -0
  57. package/fesm2015/awf-test-lib.mjs.map +1 -0
  58. package/fesm2020/awf-test-lib.mjs +1545 -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 -161
  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,25 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { MenuWarrantyComponent } from './menu-warranty.component';
4
-
5
- describe('MenuWarrantyComponent', () => {
6
- let component: MenuWarrantyComponent;
7
- let fixture: ComponentFixture<MenuWarrantyComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ MenuWarrantyComponent ]
12
- })
13
- .compileComponents();
14
- });
15
-
16
- beforeEach(() => {
17
- fixture = TestBed.createComponent(MenuWarrantyComponent);
18
- component = fixture.componentInstance;
19
- fixture.detectChanges();
20
- });
21
-
22
- it('should create', () => {
23
- expect(component).toBeTruthy();
24
- });
25
- });
@@ -1,31 +0,0 @@
1
- import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
2
-
3
-
4
-
5
-
6
- @Component({
7
- selector: 'awf-menu-warranty',
8
- templateUrl: './menu-warranty.component.html',
9
- styleUrls: ['./menu-warranty.component.scss']
10
- })
11
- export class MenuWarrantyComponent implements OnInit {
12
- @Output() logOutClick: EventEmitter<any> = new EventEmitter();
13
- @Output() hideMenu: EventEmitter<any> = new EventEmitter();
14
- @Input() isAdmin!: boolean;
15
- @Input() translate!: any;
16
- @Input() haveConsumerDataId!: boolean;
17
-
18
-
19
- constructor( ) { }
20
-
21
- ngOnInit(): void {
22
-
23
-
24
- }
25
- logout() { this.logOutClick.emit();
26
- }
27
- hideMenuMethode()
28
- {
29
- this.hideMenu.emit();
30
- }
31
- }
@@ -1,31 +0,0 @@
1
-
2
-
3
- .container{
4
- display: flex;
5
- flex-direction: column;
6
- align-items: center;
7
- width: 100%;
8
- background-color: #5ca3dd93;
9
- }
10
- h2{
11
- font-size: 150px;
12
- margin: 0;
13
- text-shadow: 15px 5px 2px black;
14
- }
15
- h3{
16
- font-size: 40px;
17
- margin: 20px;
18
- }
19
- p{
20
- font-size: 18px;
21
- margin: 5px;
22
- }
23
- p:last-of-type{
24
- margin-bottom: 35px;
25
- }
26
- a{
27
- text-decoration: none;
28
-
29
- }
30
-
31
-
@@ -1,6 +0,0 @@
1
- <div class="container" *ngIf="translate">
2
- <h2>{{translate.title}}</h2>
3
- <h3>{{translate.oops}}</h3>
4
- <p>{{translate.checkUrl}}</p>
5
- <p>{{translate.otherwise}}<a routerLink="./home">{{translate.clickHere}} </a>{{translate.redirect}}</p>
6
- </div>
@@ -1,23 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { NotFoundComponent } from './not-found.component';
4
-
5
- describe('NotFoundComponent', () => {
6
- let component: NotFoundComponent;
7
- let fixture: ComponentFixture<NotFoundComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ NotFoundComponent ]
12
- })
13
- .compileComponents();
14
-
15
- fixture = TestBed.createComponent(NotFoundComponent);
16
- component = fixture.componentInstance;
17
- fixture.detectChanges();
18
- });
19
-
20
- it('should create', () => {
21
- expect(component).toBeTruthy();
22
- });
23
- });
@@ -1,15 +0,0 @@
1
- import { Component, OnChanges,Input } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'awf-not-found',
5
- templateUrl: './not-found.component.html',
6
- styleUrls: ['./not-found.component.css']
7
- })
8
- export class NotFoundComponent implements OnChanges {
9
- @Input() translate!: any;
10
- @Input() applicationName!: any;
11
- constructor() { }
12
-
13
- ngOnChanges(): void {}
14
-
15
- }
@@ -1,116 +0,0 @@
1
- body {
2
- background: #f6f7f8;
3
- }
4
- #main {
5
- margin-top: 60px;
6
- padding: 20px 30px;
7
- transition: all 0.3s;
8
- }
9
- .layout-topbar .toggle-sidebar-btn {
10
- font-size: 26px;
11
- padding-left: 10px;
12
- cursor: pointer;
13
- color: var(--secondarycolor);
14
- }
15
- .layout-topbar .search-bar {
16
- min-width: 650px;
17
- padding: 0 20px;
18
- }
19
- @media (max-width: var(--smallscreen)) {
20
- .layout-topbar .search-bar {
21
- position: fixed;
22
- top: 50px;
23
- left: 0;
24
- right: 0;
25
- padding: 20px;
26
- box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
27
- background: var(--primarycolorwhite);
28
- z-index: 9999;
29
- transition: 0.3s;
30
- visibility: hidden;
31
- opacity: 0;
32
- min-width: 432px;
33
- }
34
- }
35
- @media (max-width: var(--largescreen)) {
36
- .layout-topbar .search-bar-show {
37
- top: 60px;
38
- visibility: visible;
39
- opacity: 1;
40
- }
41
- }
42
- .layout-topbar .search-form {
43
- width: 100%;
44
- }
45
- .layout-topbar .search-form input {
46
- border: 0;
47
- font-size: 14px;
48
- color: #012970;
49
- border: 1px solid rgba(1, 41, 112, 0.2);
50
- padding: 7px 38px 7px 8px;
51
- border-radius: 3px;
52
- transition: 0.3s;
53
- width: 500px;
54
- }
55
- .layout-topbar .search-form input:hover, .layout-topbar .search-form input:focus {
56
- outline: none;
57
- box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
58
- border: 1px solid rgba(1, 41, 112, 0.3);
59
- }
60
- @media (max-width: var(--largescreen)) {
61
- .layout-topbar .search-form input {
62
- width: 100%;
63
- }
64
- }
65
- .layout-topbar .search-form button {
66
- border: 0;
67
- padding: 0;
68
- margin-left: -70px;
69
- background: #f8f9fa;
70
- padding: 5px 26px;
71
- border-left: 1px solid rgba(1, 41, 112, 0.2);
72
- border-radius: 0 0 5px 0px;
73
- }
74
- /*--------------------------------------------------------------
75
- # Header Nav
76
- --------------------------------------------------------------*/
77
- .topbar-menu ul {
78
- margin: 0;
79
- padding: 0;
80
- list-style: none;
81
- }
82
- .topbar-menu .nav-profile img {
83
- max-height: 36px;
84
- }
85
- .topbar-menu .nav-profile span {
86
- font-size: 14px;
87
- font-weight: 600;
88
- }
89
- .topbar-menu .profile {
90
- min-width: 240px;
91
- padding-bottom: 0;
92
- }
93
- .topbar-menu .profile .dropdown-header h6 {
94
- font-size: 18px;
95
- margin-bottom: 0;
96
- font-weight: 600;
97
- color: #444444;
98
- }
99
- .topbar-menu .profile .dropdown-header span {
100
- font-size: 14px;
101
- }
102
- .p-megamenu {
103
- background: transparent;
104
- border: none;
105
- }
106
- .p-megamenu .p-menuitem-link .p-menuitem-text {
107
- line-height: 20px;
108
- }
109
- .p-megamenu .p-megamenu-grid .p-menuitem-link:not(.p-disabled):hover {
110
- background: #e9ecef;
111
- border-left: 4px solid var(--primarycolor);
112
- }
113
- .p-megamenu-panel .p-megamenu-col-12 {
114
- padding: 0.5rem 0;
115
- }
116
-
@@ -1 +0,0 @@
1
- <p-megaMenu [model]="items"></p-megaMenu>
@@ -1,23 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { TopBarComponent } from './top-bar.component';
4
-
5
- describe('TopBarComponent', () => {
6
- let component: TopBarComponent;
7
- let fixture: ComponentFixture<TopBarComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ TopBarComponent ]
12
- })
13
- .compileComponents();
14
-
15
- fixture = TestBed.createComponent(TopBarComponent);
16
- component = fixture.componentInstance;
17
- fixture.detectChanges();
18
- });
19
-
20
- it('should create', () => {
21
- expect(component).toBeTruthy();
22
- });
23
- });
@@ -1,39 +0,0 @@
1
- import { Component, OnChanges,Input, EventEmitter,Output } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'awf-top-bar',
5
- templateUrl: './top-bar.component.html',
6
- styleUrls: ['./top-bar.component.css']
7
- })
8
- export class TopBarComponent implements OnChanges {
9
- @Input() translate!: any;
10
- @Input() applicationName!: any;
11
- @Output() logOutClick: EventEmitter<any> = new EventEmitter();
12
- items!: any[];
13
- constructor() { }
14
-
15
- ngOnChanges(): void {
16
- this.items = [
17
- {
18
- label: this.translate.parameters , icon: 'pi pi-fw pi-user',
19
- items: [
20
- [
21
- {
22
- label: this.translate.account,
23
- items: [
24
- {label: this.translate.logout ,icon: 'pi pi-fw pi-power-off',command: () => {this.logout()}},
25
- ]
26
- },
27
- ],
28
- ]
29
- }
30
- ]
31
- }
32
-
33
- logout() {
34
- this.logOutClick.emit();
35
- }
36
-
37
- }
38
-
39
-
@@ -1,6 +0,0 @@
1
- export class AlternativeDate {
2
- startDateTime!: string;
3
- endDateTime!: string;
4
- fseSSO?: string[];
5
- selected?: string;
6
- }
@@ -1,6 +0,0 @@
1
- export enum ApplicationName {
2
- ConsomerPortal = 'ConsomerPortal',
3
- WarrantyPortal = 'WarrantyPortal',
4
- GEPortal = 'GEPortal'
5
- }
6
-
@@ -1,4 +0,0 @@
1
- export class CustomObject {
2
- customerWaiting?: string;
3
- }
4
-
@@ -1,24 +0,0 @@
1
- import { PmJob } from "./pmJob.model";
2
-
3
- export class DetailedPmJob {
4
- systemId?: string;
5
- systemName?: string;
6
- status!:string;
7
- siteName?:string;
8
- siteCity?:string;
9
- language?:string;
10
- pmJob!: PmJob;
11
- comment?:string;
12
- name?: string;
13
- email?: string;
14
- phone?: string;
15
- reason?: string;
16
- reasonContact?: string;
17
- futureStatus?:string;
18
- selectedDate?:string;
19
- toUpdate?:boolean;
20
- WorkorderNumberSelected?:string;
21
- sitePostalCode?:string;
22
- room ?:string;
23
-
24
- }
@@ -1,4 +0,0 @@
1
- export enum EmailStatus {
2
- Verifying,
3
- Failed
4
- }
@@ -1,17 +0,0 @@
1
- export enum EmailType {
2
- Accepted_Clients = 'Accepted_Clients',
3
- Accepted_CSC = 'Accepted_CSC',
4
- CancelPM_Clients = 'CancelPM_Clients',
5
- CancelPM_CSC = 'CancelPM_CSC',
6
- ContactMe_Clients = 'ContactMe_Clients',
7
- ContactMe_CSC = 'ContactMe_CSC',
8
- ReportDate_Clients = 'ReportDate_Clients',
9
- ReportDate_CSC = 'ReportDate_CSC',
10
- SendNewDates_Clients = 'SendNewDates_Clients',
11
- SendNewDates_CSC = 'SendNewDates_CSC',
12
- DesynchroPM_CSC = 'DesynchroPM_CSC',
13
-
14
-
15
- }
16
-
17
-
@@ -1,8 +0,0 @@
1
- export enum EventStatus {
2
- ASSIGNEDANC = 'Assigned ANC',
3
- ASSIGNED = "Assigned",
4
- ASSIGNEDPINNED = "Assigned Pinned",
5
- COMPLETE = "Complete",
6
- INCOMPLETE = "Incomplete",
7
-
8
- }
@@ -1,7 +0,0 @@
1
- export enum Field {
2
- Textbox = 'textbox',
3
- File = 'file',
4
- Dropdown = 'dropdown',
5
- Radio = 'radio',
6
- Checkbox = 'checkbox'
7
- }
@@ -1,4 +0,0 @@
1
- export enum Language {
2
- FR = "fr-FR",
3
- EN = "en-US",
4
- }
@@ -1,4 +0,0 @@
1
- export class PMGroupedJob
2
- {
3
- workorderId!: string;
4
- }
@@ -1,6 +0,0 @@
1
- import { PmJob } from "./pmJob.model";
2
-
3
- export class PmJobRequest {
4
- countrymodule?:string;
5
- pmJob?: PmJob;
6
- }
@@ -1,7 +0,0 @@
1
-
2
-
3
- export class Reason {
4
- name!: string;
5
- code!: string;
6
- }
7
-
@@ -1,9 +0,0 @@
1
- export enum ReasonCode {
2
- MPM = 'MPM',
3
- RPM = "RPM",
4
- CPM = "CPM",
5
- SDI = "SDI",
6
- OTH = "OTH",
7
-
8
- }
9
-
@@ -1,7 +0,0 @@
1
- export enum ReasonContact {
2
- MoreDatesFormPm = 'MoreDatesFormPm',
3
- ContactFormPm = 'ContactFormPm',
4
- CancelFormPm = 'CancelFormPm',
5
- Contact = 'Contact'
6
- }
7
-
@@ -1,5 +0,0 @@
1
- export enum Role {
2
- User = 'BasicUser',
3
- Admin = 'Admin',
4
- RGPDUser = "RGPDUser"
5
- }
@@ -1,8 +0,0 @@
1
- export class Service {
2
- id?: string;
3
- label!: string;
4
- name!: string;
5
- routerLink!: string;
6
- description!: string;
7
- display!: boolean
8
- }
@@ -1,14 +0,0 @@
1
- export enum ServiceName {
2
- Repairer = 'repairer',
3
- WarrantyContract = 'warrantyContract',
4
- Devices = 'devices',
5
- TrackRepairs = 'trackRepairs',
6
- ExtendedWarranty = 'extendedWarranty',
7
- ScheduleAppointment = 'scheduleAppointment',
8
- Documentation = 'documentation',
9
- RepairabilityIndex = 'repairabilityIndex',
10
- }
11
-
12
-
13
-
14
-
@@ -1,4 +0,0 @@
1
- export enum SocialMadia {
2
- Gmail = 'Gmail',
3
- }
4
-
@@ -1,7 +0,0 @@
1
-
2
-
3
- export enum StingBoolean {
4
- YES = 'Yes',
5
- NO = 'No',
6
- }
7
-
@@ -1,15 +0,0 @@
1
- import { PmJob } from "./pmJob.model";
2
-
3
- export class System {
4
- id!: string;
5
- systemId!: string;
6
- name!: string;
7
- modality?: string;
8
- installDate?:string;
9
- siteName?:string;
10
- siteCity?:string;
11
- pmJobs!:PmJob[];
12
- description?:string;
13
- sitePostalCode?:string;
14
- room?:string;
15
- }
@@ -1,6 +0,0 @@
1
-
2
- export enum TokenStatus {
3
- Validating,
4
- Valid,
5
- Invalid
6
- }
@@ -1,18 +0,0 @@
1
-
2
- export class Warranty {
3
- manufacturerId!: number;
4
- contractId!: number;
5
- contractProductId?: number;
6
- contractProductParentId?: number;
7
- contractCode!: string;
8
- saleDate?: Date;
9
- brand!: string;
10
- family!: string;
11
- commercialReference!: string;
12
- technicalReference!: string;
13
- productDescription!: string;
14
- startDate?: Date;
15
- endDate?: Date;
16
- PdfLink?:string;
17
- consId?:number;
18
- }
@@ -1,14 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { SubstringPipe } from '../substring.pipe';
4
- import { SubrtringWPipe } from '../subrtring-w.pipe';
5
-
6
-
7
- @NgModule({
8
- declarations: [SubstringPipe,SubrtringWPipe],
9
- exports: [SubstringPipe,SubrtringWPipe],
10
- imports: [
11
- CommonModule
12
- ]
13
- })
14
- export class PipesModule { }
@@ -1,8 +0,0 @@
1
- import { SubrtringWPipe } from './subrtring-w.pipe';
2
-
3
- describe('SubrtringWPipe', () => {
4
- it('create an instance', () => {
5
- const pipe = new SubrtringWPipe();
6
- expect(pipe).toBeTruthy();
7
- });
8
- });
@@ -1,16 +0,0 @@
1
- import { Pipe, PipeTransform } from '@angular/core';
2
-
3
- @Pipe({
4
- name: 'subrtringW'
5
- })
6
- export class SubrtringWPipe implements PipeTransform {
7
-
8
- transform(brand: string, manufacturerId: number): string {
9
- if(manufacturerId==4 && (brand.substring(0, 2)==='FR') )
10
- {
11
- return brand.substring(2, 12);
12
- }
13
- else
14
- return brand
15
- }
16
- }
@@ -1,8 +0,0 @@
1
- import { SubstringPipe } from "./SubstringPipe";
2
-
3
- describe('SubstringPipe', () => {
4
- it('create an instance', () => {
5
- const pipe = new SubstringPipe();
6
- expect(pipe).toBeTruthy();
7
- });
8
- });
@@ -1,15 +0,0 @@
1
-
2
- import { Pipe, PipeTransform } from '@angular/core';
3
-
4
-
5
- @Pipe({
6
- name: 'substring'
7
- })
8
- export class SubstringPipe implements PipeTransform {
9
-
10
- transform(time: string, arg1: number, arg2: number): string {
11
- return time.substring(arg1, arg2);
12
- }
13
-
14
- }
15
-
@@ -1,9 +0,0 @@
1
- <p-toast position="top-center"></p-toast>
2
- <div>
3
- <p-dialog [header]="translate.text" [(visible)]="displayAnotherDate" [modal]="true" [style]="{width: '2000px',height:'600px'}" [draggable]="false" [resizable]="false" (onHide)="close()">
4
- <p-calendar #calendar [(ngModel)]="dates" selectionMode="multiple" [numberOfMonths]="2" [touchUI]="true" [inline]="true" inputId="multiplemonths" (click)="onSelect()"></p-calendar>
5
- <ng-template pTemplate="footer">
6
- <p-button icon="pi pi-calendar-plus" (click)="askDate()" [label]="translate.ask" class="p-button-text"></p-button>
7
- </ng-template>
8
- </p-dialog>
9
- </div>
@@ -1,4 +0,0 @@
1
- .p-datepicker table td.p-datepicker-today>span.p-highlight {
2
- color: white;
3
- background: var(--primarycolor);
4
- }
@@ -1,25 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { ChooseAnotherDateComponent } from './choose-another-date.component';
4
-
5
- describe('ChooseAnotherDateComponent', () => {
6
- let component: ChooseAnotherDateComponent;
7
- let fixture: ComponentFixture<ChooseAnotherDateComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ ChooseAnotherDateComponent ]
12
- })
13
- .compileComponents();
14
- });
15
-
16
- beforeEach(() => {
17
- fixture = TestBed.createComponent(ChooseAnotherDateComponent);
18
- component = fixture.componentInstance;
19
- fixture.detectChanges();
20
- });
21
-
22
- it('should create', () => {
23
- expect(component).toBeTruthy();
24
- });
25
- });