awf-test-lib 0.1.12 → 0.1.14
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.
- package/esm2020/awf-test-lib.mjs +5 -0
- package/esm2020/lib/core/core-routing.module.mjs +18 -0
- package/esm2020/lib/core/core.module.mjs +51 -0
- package/esm2020/lib/core/menu/menu.component.mjs +40 -0
- package/esm2020/lib/core/menu-consomer/menu-consomer.component.mjs +27 -0
- package/esm2020/lib/core/menu-ge-portal/menu-ge-portal.component.mjs +31 -0
- package/esm2020/lib/core/menu-warranty/menu-warranty.component.mjs +35 -0
- package/esm2020/lib/core/not-found/not-found.component.mjs +19 -0
- package/esm2020/lib/core/top-bar/top-bar.component.mjs +41 -0
- package/esm2020/lib/models/account.model.mjs +3 -0
- package/esm2020/lib/models/alternativeDate.model.mjs +3 -0
- package/esm2020/lib/models/applicationName.mjs +7 -0
- package/esm2020/lib/models/cancelPMMailRequest.model.mjs +4 -0
- package/esm2020/lib/models/customObject.model.mjs +3 -0
- package/esm2020/lib/models/detailedPmJob.model.mjs +3 -0
- package/esm2020/lib/models/emailStatus.mjs +6 -0
- package/esm2020/lib/models/emailType.mjs +15 -0
- package/esm2020/lib/models/eventStatus.mjs +9 -0
- package/esm2020/lib/models/field.mjs +9 -0
- package/esm2020/lib/models/language.mjs +6 -0
- package/esm2020/lib/models/mailRequest.model.mjs +3 -0
- package/esm2020/lib/models/pMGroupedJob.model.mjs +3 -0
- package/esm2020/lib/models/pmJob.model.mjs +3 -0
- package/esm2020/lib/models/pmJobRequest.model.mjs +3 -0
- package/esm2020/lib/models/pmJobStatus.mjs +17 -0
- package/esm2020/lib/models/reason.model.mjs +3 -0
- package/esm2020/lib/models/reasonCode.mjs +9 -0
- package/esm2020/lib/models/reasonContact.mjs +8 -0
- package/esm2020/lib/models/reportDateMailRequest.model.mjs +4 -0
- package/esm2020/lib/models/role.mjs +7 -0
- package/esm2020/lib/models/service.model.mjs +3 -0
- package/esm2020/lib/models/serviceName.mjs +12 -0
- package/esm2020/lib/models/socialLoginRequest.model.mjs +3 -0
- package/esm2020/lib/models/socialMadia.mjs +5 -0
- package/esm2020/lib/models/stingBoolean.mjs +6 -0
- package/esm2020/lib/models/system.mjs +3 -0
- package/esm2020/lib/models/theme.model.mjs +2 -0
- package/esm2020/lib/models/tokenStatus.mjs +7 -0
- package/esm2020/lib/models/warranty.mjs +3 -0
- package/esm2020/lib/pipes/pipes/pipes.module.mjs +21 -0
- package/esm2020/lib/pipes/subrtring-w.pipe.mjs +20 -0
- package/esm2020/lib/pipes/substring.pipe.mjs +16 -0
- package/esm2020/lib/shared/choose-another-date/choose-another-date.component.mjs +110 -0
- package/esm2020/lib/shared/confirm-dialog/confirm-dialog.component.mjs +44 -0
- package/esm2020/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.mjs +42 -0
- package/esm2020/lib/shared/confirmed-date-information/confirmed-date-information.component.mjs +38 -0
- package/esm2020/lib/shared/contact/contact.component.mjs +162 -0
- package/esm2020/lib/shared/contact-support/contact-support.component.mjs +160 -0
- package/esm2020/lib/shared/dashboard/dashboard.component.mjs +34 -0
- package/esm2020/lib/shared/maintenance-list/maintenance-list.component.mjs +347 -0
- package/esm2020/lib/shared/shared-routing.module.mjs +18 -0
- package/esm2020/lib/shared/shared.module.mjs +144 -0
- package/esm2020/lib/shared/show-links/show-links.component.mjs +81 -0
- package/esm2020/lib/shared/system-list/system-list.component.mjs +32 -0
- package/esm2020/public-api.mjs +48 -0
- package/fesm2015/awf-test-lib.mjs +1560 -0
- package/fesm2015/awf-test-lib.mjs.map +1 -0
- package/fesm2020/awf-test-lib.mjs +1556 -0
- package/fesm2020/awf-test-lib.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/core/core-routing.module.d.ts +7 -0
- package/lib/core/core.module.d.ts +15 -0
- package/lib/core/menu/menu.component.d.ts +17 -0
- package/lib/core/menu-consomer/menu-consomer.component.d.ts +12 -0
- package/lib/core/menu-ge-portal/menu-ge-portal.component.d.ts +13 -0
- package/lib/core/menu-warranty/menu-warranty.component.d.ts +15 -0
- package/lib/core/not-found/not-found.component.d.ts +10 -0
- package/lib/core/top-bar/top-bar.component.d.ts +13 -0
- package/{src/lib/models/account.model.ts → lib/models/account.model.d.ts} +3 -6
- package/lib/models/alternativeDate.model.d.ts +6 -0
- package/lib/models/applicationName.d.ts +5 -0
- package/{src/lib/models/cancelPMMailRequest.model.ts → lib/models/cancelPMMailRequest.model.d.ts} +1 -3
- package/lib/models/customObject.model.d.ts +3 -0
- package/lib/models/detailedPmJob.model.d.ts +23 -0
- package/lib/models/emailStatus.d.ts +4 -0
- package/lib/models/emailType.d.ts +13 -0
- package/lib/models/eventStatus.d.ts +7 -0
- package/lib/models/field.d.ts +7 -0
- package/lib/models/language.d.ts +4 -0
- package/{src/lib/models/mailRequest.model.ts → lib/models/mailRequest.model.d.ts} +1 -3
- package/lib/models/pMGroupedJob.model.d.ts +3 -0
- package/{src/lib/models/pmJob.model.ts → lib/models/pmJob.model.d.ts} +6 -7
- package/lib/models/pmJobRequest.model.d.ts +5 -0
- package/{src/lib/models/pmJobStatus.ts → lib/models/pmJobStatus.d.ts} +3 -8
- package/lib/models/reason.model.d.ts +4 -0
- package/lib/models/reasonCode.d.ts +7 -0
- package/lib/models/reasonContact.d.ts +6 -0
- package/{src/lib/models/reportDateMailRequest.model.ts → lib/models/reportDateMailRequest.model.d.ts} +1 -3
- package/lib/models/role.d.ts +5 -0
- package/lib/models/service.model.d.ts +8 -0
- package/lib/models/serviceName.d.ts +10 -0
- package/{src/lib/models/socialLoginRequest.model.ts → lib/models/socialLoginRequest.model.d.ts} +1 -1
- package/lib/models/socialMadia.d.ts +3 -0
- package/lib/models/stingBoolean.d.ts +4 -0
- package/lib/models/system.d.ts +14 -0
- package/{src/lib/models/theme.model.ts → lib/models/theme.model.d.ts} +11 -18
- package/lib/models/tokenStatus.d.ts +5 -0
- package/lib/models/warranty.d.ts +17 -0
- package/lib/pipes/pipes/pipes.module.d.ts +9 -0
- package/lib/pipes/subrtring-w.pipe.d.ts +7 -0
- package/lib/pipes/substring.pipe.d.ts +7 -0
- package/lib/shared/choose-another-date/choose-another-date.component.d.ts +33 -0
- package/lib/shared/confirm-dialog/confirm-dialog.component.d.ts +20 -0
- package/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.d.ts +19 -0
- package/lib/shared/confirmed-date-information/confirmed-date-information.component.d.ts +16 -0
- package/lib/shared/contact/contact.component.d.ts +39 -0
- package/lib/shared/contact-support/contact-support.component.d.ts +49 -0
- package/lib/shared/dashboard/dashboard.component.d.ts +17 -0
- package/lib/shared/maintenance-list/maintenance-list.component.d.ts +79 -0
- package/lib/shared/shared-routing.module.d.ts +7 -0
- package/lib/shared/shared.module.d.ts +40 -0
- package/lib/shared/show-links/show-links.component.d.ts +23 -0
- package/lib/shared/system-list/system-list.component.d.ts +15 -0
- package/package.json +30 -10
- package/{src/public-api.ts → public-api.d.ts} +1 -16
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -7
- package/src/lib/core/core-routing.module.ts +0 -10
- package/src/lib/core/core.module.ts +0 -35
- package/src/lib/core/menu/menu.component.css +0 -18
- package/src/lib/core/menu/menu.component.html +0 -8
- package/src/lib/core/menu/menu.component.spec.ts +0 -23
- package/src/lib/core/menu/menu.component.ts +0 -28
- package/src/lib/core/menu-consomer/menu-consomer.component.html +0 -20
- package/src/lib/core/menu-consomer/menu-consomer.component.scss +0 -20
- package/src/lib/core/menu-consomer/menu-consomer.component.spec.ts +0 -25
- package/src/lib/core/menu-consomer/menu-consomer.component.ts +0 -21
- package/src/lib/core/menu-ge-portal/menu-ge-portal.component.html +0 -7
- package/src/lib/core/menu-ge-portal/menu-ge-portal.component.scss +0 -17
- package/src/lib/core/menu-ge-portal/menu-ge-portal.component.spec.ts +0 -25
- package/src/lib/core/menu-ge-portal/menu-ge-portal.component.ts +0 -24
- package/src/lib/core/menu-warranty/menu-warranty.component.html +0 -20
- package/src/lib/core/menu-warranty/menu-warranty.component.scss +0 -16
- package/src/lib/core/menu-warranty/menu-warranty.component.spec.ts +0 -25
- package/src/lib/core/menu-warranty/menu-warranty.component.ts +0 -31
- package/src/lib/core/not-found/not-found.component.css +0 -31
- package/src/lib/core/not-found/not-found.component.html +0 -6
- package/src/lib/core/not-found/not-found.component.spec.ts +0 -23
- package/src/lib/core/not-found/not-found.component.ts +0 -15
- package/src/lib/core/top-bar/top-bar.component.css +0 -116
- package/src/lib/core/top-bar/top-bar.component.html +0 -1
- package/src/lib/core/top-bar/top-bar.component.spec.ts +0 -23
- package/src/lib/core/top-bar/top-bar.component.ts +0 -39
- package/src/lib/models/alternativeDate.model.ts +0 -6
- package/src/lib/models/applicationName.ts +0 -6
- package/src/lib/models/customObject.model.ts +0 -4
- package/src/lib/models/detailedPmJob.model.ts +0 -25
- package/src/lib/models/emailStatus.ts +0 -4
- package/src/lib/models/emailType.ts +0 -17
- package/src/lib/models/eventStatus.ts +0 -8
- package/src/lib/models/field.ts +0 -7
- package/src/lib/models/language.ts +0 -4
- package/src/lib/models/pMGroupedJob.model.ts +0 -4
- package/src/lib/models/pmJobRequest.model.ts +0 -6
- package/src/lib/models/reason.model.ts +0 -7
- package/src/lib/models/reasonCode.ts +0 -9
- package/src/lib/models/reasonContact.ts +0 -7
- package/src/lib/models/role.ts +0 -5
- package/src/lib/models/service.model.ts +0 -8
- package/src/lib/models/serviceName.ts +0 -14
- package/src/lib/models/socialMadia.ts +0 -4
- package/src/lib/models/stingBoolean.ts +0 -7
- package/src/lib/models/system.ts +0 -15
- package/src/lib/models/tokenStatus.ts +0 -6
- package/src/lib/models/warranty.ts +0 -18
- package/src/lib/pipes/pipes/pipes.module.ts +0 -14
- package/src/lib/pipes/subrtring-w.pipe.spec.ts +0 -8
- package/src/lib/pipes/subrtring-w.pipe.ts +0 -16
- package/src/lib/pipes/substring.pipe.spec.ts +0 -8
- package/src/lib/pipes/substring.pipe.ts +0 -15
- package/src/lib/shared/choose-another-date/choose-another-date.component.html +0 -9
- package/src/lib/shared/choose-another-date/choose-another-date.component.scss +0 -4
- package/src/lib/shared/choose-another-date/choose-another-date.component.spec.ts +0 -25
- package/src/lib/shared/choose-another-date/choose-another-date.component.ts +0 -126
- package/src/lib/shared/confirm-dialog/confirm-dialog.component.html +0 -27
- package/src/lib/shared/confirm-dialog/confirm-dialog.component.scss +0 -0
- package/src/lib/shared/confirm-dialog/confirm-dialog.component.spec.ts +0 -25
- package/src/lib/shared/confirm-dialog/confirm-dialog.component.ts +0 -35
- package/src/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.css +0 -0
- package/src/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.html +0 -19
- package/src/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.spec.ts +0 -23
- package/src/lib/shared/confirm-dialog-contact/confirm-dialog-contact.component.ts +0 -36
- package/src/lib/shared/confirmed-date-information/confirmed-date-information.component.html +0 -25
- package/src/lib/shared/confirmed-date-information/confirmed-date-information.component.scss +0 -23
- package/src/lib/shared/confirmed-date-information/confirmed-date-information.component.spec.ts +0 -25
- package/src/lib/shared/confirmed-date-information/confirmed-date-information.component.ts +0 -28
- package/src/lib/shared/contact/contact.component.css +0 -144
- package/src/lib/shared/contact/contact.component.html +0 -136
- package/src/lib/shared/contact/contact.component.spec.ts +0 -23
- package/src/lib/shared/contact/contact.component.ts +0 -171
- package/src/lib/shared/contact-support/contact-support.component.html +0 -130
- package/src/lib/shared/contact-support/contact-support.component.scss +0 -10
- package/src/lib/shared/contact-support/contact-support.component.spec.ts +0 -25
- package/src/lib/shared/contact-support/contact-support.component.ts +0 -176
- package/src/lib/shared/dashboard/dashboard.component.html +0 -81
- package/src/lib/shared/dashboard/dashboard.component.scss +0 -5
- package/src/lib/shared/dashboard/dashboard.component.spec.ts +0 -23
- package/src/lib/shared/dashboard/dashboard.component.ts +0 -21
- package/src/lib/shared/maintenance-list/maintenance-list.component.html +0 -106
- package/src/lib/shared/maintenance-list/maintenance-list.component.scss +0 -26
- package/src/lib/shared/maintenance-list/maintenance-list.component.spec.ts +0 -25
- package/src/lib/shared/maintenance-list/maintenance-list.component.ts +0 -398
- package/src/lib/shared/shared-routing.module.ts +0 -10
- package/src/lib/shared/shared.module.ts +0 -84
- package/src/lib/shared/show-links/show-links.component.html +0 -49
- package/src/lib/shared/show-links/show-links.component.scss +0 -0
- package/src/lib/shared/show-links/show-links.component.spec.ts +0 -25
- package/src/lib/shared/show-links/show-links.component.ts +0 -80
- package/src/lib/shared/system-list/system-list.component.css +0 -0
- package/src/lib/shared/system-list/system-list.component.html +0 -40
- package/src/lib/shared/system-list/system-list.component.spec.ts +0 -23
- package/src/lib/shared/system-list/system-list.component.ts +0 -26
- package/src/test.ts +0 -27
- package/tsconfig.lib.dev.json +0 -10
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.pp.json +0 -10
- package/tsconfig.lib.prod.json +0 -10
- 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,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,25 +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
|
-
extentionOrComment? : string;
|
16
|
-
reason?: string;
|
17
|
-
reasonContact?: string;
|
18
|
-
futureStatus?:string;
|
19
|
-
selectedDate?:string;
|
20
|
-
toUpdate?:boolean;
|
21
|
-
WorkorderNumberSelected?:string;
|
22
|
-
sitePostalCode?:string;
|
23
|
-
room ?:string;
|
24
|
-
|
25
|
-
}
|
@@ -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
|
-
|
package/src/lib/models/field.ts
DELETED
package/src/lib/models/role.ts
DELETED
@@ -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
|
-
|
package/src/lib/models/system.ts
DELETED
@@ -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,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,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,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,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
|
-
});
|