ngx-st-sap-installed-instruments 1.0.0
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/README.md +24 -0
- package/esm2020/lib/base-interfaces.mjs +2 -0
- package/esm2020/lib/components/sap-installed-instrument-details/activities-list-view/activities-list-view.component.mjs +54 -0
- package/esm2020/lib/components/sap-installed-instrument-details/activity-details-view/activity-details-view.component.mjs +41 -0
- package/esm2020/lib/components/sap-installed-instrument-details/call-details-view/call-details-view.component.mjs +51 -0
- package/esm2020/lib/components/sap-installed-instrument-details/calls-list-view/calls-list-view.component.mjs +56 -0
- package/esm2020/lib/components/sap-installed-instrument-details/data-details-view/data-details-view.component.mjs +20 -0
- package/esm2020/lib/components/sap-installed-instrument-details/sap-installed-instrument-details.component.mjs +56 -0
- package/esm2020/lib/components/sap-installed-instrument-details/service-contract-details-view/service-contract-details-view.component.mjs +19 -0
- package/esm2020/lib/components/sap-installed-instrument-details/service-contracts-list-view/service-contracts-list-view.component.mjs +53 -0
- package/esm2020/lib/components/sap-installed-instrument-details/service-contracts-modal-details-view/service-contracts-modal-details-view.component.mjs +28 -0
- package/esm2020/lib/components/sap-installed-instrument-list/sap-installed-instrument-list-search/sap-installed-instrument-list-search.component.mjs +134 -0
- package/esm2020/lib/components/sap-installed-instrument-list/sap-installed-instrument-list-table/sap-installed-instrument-list-table.component.mjs +105 -0
- package/esm2020/lib/components/sap-installed-instrument-list/sap-installed-instrument-list.component.mjs +79 -0
- package/esm2020/lib/models/installed-instrument-form.model.mjs +2 -0
- package/esm2020/lib/models/installed-instrument-sort-by-column.enum.mjs +15 -0
- package/esm2020/lib/models/installed-instrument-sort-order.enum.mjs +6 -0
- package/esm2020/lib/models/installed-instrument-table-columns.model.mjs +15 -0
- package/esm2020/lib/models/sap-activity.model.mjs +2 -0
- package/esm2020/lib/models/sap-attachment.model.mjs +2 -0
- package/esm2020/lib/models/sap-call.model.mjs +2 -0
- package/esm2020/lib/models/sap-contract.model.mjs +2 -0
- package/esm2020/lib/models/sap-country.model.mjs +2 -0
- package/esm2020/lib/models/sap-installed-instrument-list.model.mjs +2 -0
- package/esm2020/lib/models/sap-installed-instrument-search.model.mjs +2 -0
- package/esm2020/lib/models/sap-installed-instrument.model.mjs +2 -0
- package/esm2020/lib/models/sap-state.model.mjs +2 -0
- package/esm2020/lib/models/sap-territory.model.mjs +2 -0
- package/esm2020/lib/models/view-sap-installed-instrument-list.model.mjs +2 -0
- package/esm2020/lib/sap-installed-instruments-routing.module.mjs +7 -0
- package/esm2020/lib/services/sap-installed-instruments.service.mjs +108 -0
- package/esm2020/lib/st-sap-installed-instruments.module.mjs +180 -0
- package/esm2020/ngx-st-sap-installed-instruments.mjs +5 -0
- package/esm2020/public-api.mjs +34 -0
- package/fesm2015/ngx-st-sap-installed-instruments.mjs +920 -0
- package/fesm2015/ngx-st-sap-installed-instruments.mjs.map +1 -0
- package/fesm2020/ngx-st-sap-installed-instruments.mjs +921 -0
- package/fesm2020/ngx-st-sap-installed-instruments.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/base-interfaces.d.ts +9 -0
- package/lib/components/sap-installed-instrument-details/activities-list-view/activities-list-view.component.d.ts +19 -0
- package/lib/components/sap-installed-instrument-details/activity-details-view/activity-details-view.component.d.ts +14 -0
- package/lib/components/sap-installed-instrument-details/call-details-view/call-details-view.component.d.ts +25 -0
- package/lib/components/sap-installed-instrument-details/calls-list-view/calls-list-view.component.d.ts +21 -0
- package/lib/components/sap-installed-instrument-details/data-details-view/data-details-view.component.d.ts +10 -0
- package/lib/components/sap-installed-instrument-details/sap-installed-instrument-details.component.d.ts +30 -0
- package/lib/components/sap-installed-instrument-details/service-contract-details-view/service-contract-details-view.component.d.ts +10 -0
- package/lib/components/sap-installed-instrument-details/service-contracts-list-view/service-contracts-list-view.component.d.ts +19 -0
- package/lib/components/sap-installed-instrument-details/service-contracts-modal-details-view/service-contracts-modal-details-view.component.d.ts +17 -0
- package/lib/components/sap-installed-instrument-list/sap-installed-instrument-list-search/sap-installed-instrument-list-search.component.d.ts +59 -0
- package/lib/components/sap-installed-instrument-list/sap-installed-instrument-list-table/sap-installed-instrument-list-table.component.d.ts +29 -0
- package/lib/components/sap-installed-instrument-list/sap-installed-instrument-list.component.d.ts +25 -0
- package/lib/models/installed-instrument-form.model.d.ts +19 -0
- package/lib/models/installed-instrument-sort-by-column.enum.d.ts +13 -0
- package/lib/models/installed-instrument-sort-order.enum.d.ts +4 -0
- package/lib/models/installed-instrument-table-columns.model.d.ts +14 -0
- package/lib/models/sap-activity.model.d.ts +23 -0
- package/lib/models/sap-attachment.model.d.ts +7 -0
- package/lib/models/sap-call.model.d.ts +35 -0
- package/lib/models/sap-contract.model.d.ts +20 -0
- package/lib/models/sap-country.model.d.ts +4 -0
- package/lib/models/sap-installed-instrument-list.model.d.ts +23 -0
- package/lib/models/sap-installed-instrument-search.model.d.ts +23 -0
- package/lib/models/sap-installed-instrument.model.d.ts +54 -0
- package/lib/models/sap-state.model.d.ts +5 -0
- package/lib/models/sap-territory.model.d.ts +4 -0
- package/lib/models/view-sap-installed-instrument-list.model.d.ts +4 -0
- package/lib/sap-installed-instruments-routing.module.d.ts +2 -0
- package/lib/services/sap-installed-instruments.service.d.ts +30 -0
- package/lib/st-sap-installed-instruments.module.d.ts +47 -0
- package/package.json +35 -0
- package/public-api.d.ts +28 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { NonNullableFormBuilder } from "@angular/forms";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
import { SapTerritoryModel } from "../../../models/sap-territory.model";
|
|
5
|
+
import { SapStateModel } from "../../../models/sap-state.model";
|
|
6
|
+
import { SapCountryModel } from "../../../models/sap-country.model";
|
|
7
|
+
import { NgxStMultiselectAutocompleteComponent } from "ngx-st-multiselect-autocomplete";
|
|
8
|
+
import { ActivatedRoute, Router } from "@angular/router";
|
|
9
|
+
import { SapInstalledInstrumentsService } from "../../../services/sap-installed-instruments.service";
|
|
10
|
+
import { InstalledInstrumentFormModel } from "../../../models/installed-instrument-form.model";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class SapInstalledInstrumentListSearchComponent implements OnInit {
|
|
13
|
+
private sapInstalledInstrumentService;
|
|
14
|
+
private router;
|
|
15
|
+
private activatedRoute;
|
|
16
|
+
private fb;
|
|
17
|
+
multiselectAutocomplete: NgxStMultiselectAutocompleteComponent;
|
|
18
|
+
filtersChanged: EventEmitter<InstalledInstrumentFormModel>;
|
|
19
|
+
showFilters: boolean;
|
|
20
|
+
searchForm: import("@angular/forms").FormGroup<{
|
|
21
|
+
application: import("@angular/forms").FormControl<string[]>;
|
|
22
|
+
serialNumber: import("@angular/forms").FormControl<string>;
|
|
23
|
+
instrumentNo: import("@angular/forms").FormControl<string>;
|
|
24
|
+
instrumentDesc: import("@angular/forms").FormControl<string>;
|
|
25
|
+
customerNo: import("@angular/forms").FormControl<string>;
|
|
26
|
+
bpName: import("@angular/forms").FormControl<string>;
|
|
27
|
+
city: import("@angular/forms").FormControl<string>;
|
|
28
|
+
county: import("@angular/forms").FormControl<string>;
|
|
29
|
+
endUserName: import("@angular/forms").FormControl<string>;
|
|
30
|
+
endUserCode: import("@angular/forms").FormControl<string>;
|
|
31
|
+
territory: import("@angular/forms").FormControl<number | null>;
|
|
32
|
+
technicianLastName: import("@angular/forms").FormControl<string>;
|
|
33
|
+
country: import("@angular/forms").FormControl<string>;
|
|
34
|
+
state: import("@angular/forms").FormControl<string>;
|
|
35
|
+
status: import("@angular/forms").FormControl<string>;
|
|
36
|
+
installationDateFrom: import("@angular/forms").FormControl<Date | null>;
|
|
37
|
+
installationDateTo: import("@angular/forms").FormControl<Date | null>;
|
|
38
|
+
}>;
|
|
39
|
+
territories$: Observable<SapTerritoryModel[]>;
|
|
40
|
+
states$: Observable<SapStateModel[]>;
|
|
41
|
+
countries$: Observable<SapCountryModel[]>;
|
|
42
|
+
constructor(sapInstalledInstrumentService: SapInstalledInstrumentsService, router: Router, activatedRoute: ActivatedRoute, fb: NonNullableFormBuilder);
|
|
43
|
+
ngOnInit(): void;
|
|
44
|
+
clearAllFilters(): void;
|
|
45
|
+
refreshTerritories(): void;
|
|
46
|
+
refreshCountries(): void;
|
|
47
|
+
refreshStates(): void;
|
|
48
|
+
getCountryValue(country: SapCountryModel): string;
|
|
49
|
+
getStateValue(state: SapStateModel): string;
|
|
50
|
+
getTerritoryValue(territory: SapTerritoryModel): number;
|
|
51
|
+
searchSubmitted(): void;
|
|
52
|
+
clearInputValue(formControlName: string): void;
|
|
53
|
+
getFilteredOptions: (search: string) => Observable<string[]>;
|
|
54
|
+
applicationSelected(data: string[]): void;
|
|
55
|
+
private setAsyncFilters;
|
|
56
|
+
private setSearchForm;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SapInstalledInstrumentListSearchComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SapInstalledInstrumentListSearchComponent, "app-sap-installed-instrument-list-search", never, {}, { "filtersChanged": "filtersChanged"; }, never, never, false>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { StSubscribeDestroyComponent } from 'ngx-st-base-functions';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { SapInstalledInstrumentListModel } from '../../../models/sap-installed-instrument-list.model';
|
|
5
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
6
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
7
|
+
import { MatSort, Sort } from '@angular/material/sort';
|
|
8
|
+
import { InstalledInstrumentTableColumnsModel } from '../../../models/installed-instrument-table-columns.model';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class SapInstalledInstrumentListTableComponent extends StSubscribeDestroyComponent implements OnInit, AfterViewInit {
|
|
11
|
+
private router;
|
|
12
|
+
private activatedRoute;
|
|
13
|
+
paginator: MatPaginator;
|
|
14
|
+
sort: MatSort;
|
|
15
|
+
set tableData(data: SapInstalledInstrumentListModel[]);
|
|
16
|
+
sortChanged: EventEmitter<Sort>;
|
|
17
|
+
dataSource: MatTableDataSource<SapInstalledInstrumentListModel>;
|
|
18
|
+
tableColumns: InstalledInstrumentTableColumnsModel[];
|
|
19
|
+
mapTableColumns: {
|
|
20
|
+
[field: string]: string;
|
|
21
|
+
};
|
|
22
|
+
constructor(router: Router, activatedRoute: ActivatedRoute);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngAfterViewInit(): void;
|
|
25
|
+
rowClicked(row: SapInstalledInstrumentListModel): void;
|
|
26
|
+
private setTableColumns;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SapInstalledInstrumentListTableComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SapInstalledInstrumentListTableComponent, "app-sap-installed-instrument-list-table", never, { "tableData": "tableData"; }, { "sortChanged": "sortChanged"; }, never, never, false>;
|
|
29
|
+
}
|
package/lib/components/sap-installed-instrument-list/sap-installed-instrument-list.component.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { SapInstalledInstrumentsService } from '../../services/sap-installed-instruments.service';
|
|
3
|
+
import { SapInstalledInstrumentListModel } from '../../models/sap-installed-instrument-list.model';
|
|
4
|
+
import { StSubscribeDestroyComponent } from 'ngx-st-base-functions';
|
|
5
|
+
import { InstalledInstrumentFormModel } from '../../models/installed-instrument-form.model';
|
|
6
|
+
import { Sort } from '@angular/material/sort';
|
|
7
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class SapInstalledInstrumentListComponent extends StSubscribeDestroyComponent implements OnInit {
|
|
10
|
+
private sapInstalledInstrumentService;
|
|
11
|
+
private changeDetector;
|
|
12
|
+
private router;
|
|
13
|
+
private activatedRoute;
|
|
14
|
+
class: string;
|
|
15
|
+
installedInstruments: SapInstalledInstrumentListModel[];
|
|
16
|
+
private lastSearchFilters;
|
|
17
|
+
private lastSearchSorts;
|
|
18
|
+
constructor(sapInstalledInstrumentService: SapInstalledInstrumentsService, changeDetector: ChangeDetectorRef, router: Router, activatedRoute: ActivatedRoute);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
filtersChanged(event: InstalledInstrumentFormModel): void;
|
|
21
|
+
sortChanged(event: Sort): void;
|
|
22
|
+
private loadInstalledInstruments;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SapInstalledInstrumentListComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SapInstalledInstrumentListComponent, "app-sap-installed-instrument-list", never, {}, {}, never, never, false>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface InstalledInstrumentFormModel {
|
|
2
|
+
application: string[];
|
|
3
|
+
serialNumber: string;
|
|
4
|
+
instrumentNo: string;
|
|
5
|
+
instrumentDesc: string;
|
|
6
|
+
customerNo: string;
|
|
7
|
+
bpName: string;
|
|
8
|
+
city: string;
|
|
9
|
+
county: string;
|
|
10
|
+
endUserName: string;
|
|
11
|
+
endUserCode: string;
|
|
12
|
+
territory: number | null;
|
|
13
|
+
technicianLastName: string;
|
|
14
|
+
country: string;
|
|
15
|
+
state: string;
|
|
16
|
+
status: string;
|
|
17
|
+
installationDateFrom: Date | null;
|
|
18
|
+
installationDateTo: Date | null;
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare type InstalledInstrumentTableColumnsModel = 'instrumentNo' | 'instrumentDescription' | 'serialNumber' | 'customerNo' | 'businessPartnerName' | 'endUserName' | 'city' | 'territoryId' | 'country' | 'installationDate' | 'status';
|
|
2
|
+
export declare enum InstalledInstrumentTableColumnsMapperEnum {
|
|
3
|
+
instrumentNo = 0,
|
|
4
|
+
instrumentDescription = 1,
|
|
5
|
+
serialNumber = 2,
|
|
6
|
+
customerNo = 3,
|
|
7
|
+
businessPartnerName = 4,
|
|
8
|
+
endUserName = 5,
|
|
9
|
+
city = 6,
|
|
10
|
+
territoryId = 7,
|
|
11
|
+
country = 8,
|
|
12
|
+
status = 9,
|
|
13
|
+
installationDate = 10
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SapAttachmentModel } from "./sap-attachment.model";
|
|
2
|
+
export interface SapActivityModel {
|
|
3
|
+
activityNumber: number;
|
|
4
|
+
callId: number;
|
|
5
|
+
activityId: string;
|
|
6
|
+
activity: string;
|
|
7
|
+
type: string;
|
|
8
|
+
subject: string;
|
|
9
|
+
remarks: string;
|
|
10
|
+
startTime: string;
|
|
11
|
+
startTimeSapTime: number;
|
|
12
|
+
endTime: string;
|
|
13
|
+
endTimeSapTime: number;
|
|
14
|
+
duration: number;
|
|
15
|
+
content: string;
|
|
16
|
+
detailedSymptom: string;
|
|
17
|
+
solution: string;
|
|
18
|
+
orderNumber: string;
|
|
19
|
+
incompleteReason: string;
|
|
20
|
+
coordinator: string;
|
|
21
|
+
coordinatorName: string;
|
|
22
|
+
attachmentList: SapAttachmentModel[];
|
|
23
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export interface SapCallModel {
|
|
2
|
+
callId: number;
|
|
3
|
+
equipmentCardNo: number;
|
|
4
|
+
contractNo: number;
|
|
5
|
+
customer: string;
|
|
6
|
+
customerName: string;
|
|
7
|
+
contactPerson: string;
|
|
8
|
+
telephoneNo: string;
|
|
9
|
+
shipToCode: string;
|
|
10
|
+
shipToAddress: string;
|
|
11
|
+
billToCode: string;
|
|
12
|
+
billToAddress: string;
|
|
13
|
+
subject: string;
|
|
14
|
+
callStatus: string;
|
|
15
|
+
createdOn: string;
|
|
16
|
+
createdOnSapTime: number;
|
|
17
|
+
closedOn: string;
|
|
18
|
+
closedOnSapTime: number;
|
|
19
|
+
origin: string;
|
|
20
|
+
problemType: string;
|
|
21
|
+
problemSubtype: string;
|
|
22
|
+
callType: string;
|
|
23
|
+
technicianFirstName: string;
|
|
24
|
+
technicianLastName: string;
|
|
25
|
+
handledBy: string;
|
|
26
|
+
remarks: string;
|
|
27
|
+
resolution: string;
|
|
28
|
+
startTime: string;
|
|
29
|
+
startTimeSapTime: number;
|
|
30
|
+
endTime: string;
|
|
31
|
+
endTimeSapTime: number;
|
|
32
|
+
duration: number;
|
|
33
|
+
travelTime: number;
|
|
34
|
+
internalComments: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface SapContractModel {
|
|
2
|
+
contractId: number;
|
|
3
|
+
customer: string;
|
|
4
|
+
customerName: string;
|
|
5
|
+
description: string;
|
|
6
|
+
startDate: string;
|
|
7
|
+
endDate: string;
|
|
8
|
+
terminationDate: string;
|
|
9
|
+
serviceTypeId: string;
|
|
10
|
+
serviceType: string;
|
|
11
|
+
template: string;
|
|
12
|
+
handledBy: string;
|
|
13
|
+
remarks: string;
|
|
14
|
+
itemCode: string;
|
|
15
|
+
itemName: string;
|
|
16
|
+
serialNumber: string;
|
|
17
|
+
startDateDetail: string;
|
|
18
|
+
endDateDetail: string;
|
|
19
|
+
terminationDateDetail: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface SapInstalledInstrumentListModel {
|
|
2
|
+
equipmentCardNo: number;
|
|
3
|
+
instrumentNo: string;
|
|
4
|
+
instrumentDescription: string;
|
|
5
|
+
serialNumber: string;
|
|
6
|
+
customerNo: string;
|
|
7
|
+
businessPartnerName: string;
|
|
8
|
+
statusId: string;
|
|
9
|
+
status: string;
|
|
10
|
+
technicianFirstName: string;
|
|
11
|
+
technicianLastName: string;
|
|
12
|
+
territoryId: number;
|
|
13
|
+
territory: string;
|
|
14
|
+
endUserName: string;
|
|
15
|
+
endUserCode: string;
|
|
16
|
+
city: string;
|
|
17
|
+
stateId: string;
|
|
18
|
+
state: string;
|
|
19
|
+
county: string;
|
|
20
|
+
countryId: string;
|
|
21
|
+
country: string;
|
|
22
|
+
installationDate: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { InstalledInstrumentSortByColumnEnum } from "./installed-instrument-sort-by-column.enum";
|
|
2
|
+
import { InstalledInstrumentSortOrderEnum } from "./installed-instrument-sort-order.enum";
|
|
3
|
+
export interface SapInstalledInstrumentSearchModel {
|
|
4
|
+
applicationList: string[];
|
|
5
|
+
instrumentNo: string;
|
|
6
|
+
instrumentDescription: string;
|
|
7
|
+
serialNumber: string;
|
|
8
|
+
customerNo: string;
|
|
9
|
+
businessPartnerName: string;
|
|
10
|
+
statusId: string;
|
|
11
|
+
technicianLastName: string;
|
|
12
|
+
territoryId: number | null;
|
|
13
|
+
endUserName: string;
|
|
14
|
+
endUserCode: string;
|
|
15
|
+
city: string;
|
|
16
|
+
stateId: string;
|
|
17
|
+
county: string;
|
|
18
|
+
countryId: string;
|
|
19
|
+
sortByColumn?: InstalledInstrumentSortByColumnEnum;
|
|
20
|
+
sortOrder?: InstalledInstrumentSortOrderEnum;
|
|
21
|
+
installationDateFrom: string | null;
|
|
22
|
+
installationDateTo: string | null;
|
|
23
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export interface SapInstalledInstrumentModel {
|
|
2
|
+
contactPerson: string;
|
|
3
|
+
installationDate: string;
|
|
4
|
+
street: string;
|
|
5
|
+
streetNo: string;
|
|
6
|
+
building: string;
|
|
7
|
+
addressName: string;
|
|
8
|
+
zipCode: string;
|
|
9
|
+
block: string;
|
|
10
|
+
softwareVersion: string;
|
|
11
|
+
relatedItem1: string;
|
|
12
|
+
relatedItem2: string;
|
|
13
|
+
relatedItem3: string;
|
|
14
|
+
pcSoftwareVersion: string;
|
|
15
|
+
vessels: string;
|
|
16
|
+
majorUpgradeKit1: string;
|
|
17
|
+
majorUpgradeKit2: string;
|
|
18
|
+
majorUpgradeKit3: string;
|
|
19
|
+
majorUpgradeKit4: string;
|
|
20
|
+
majorUpgradeKit5: string;
|
|
21
|
+
majorUpgradeKit6: string;
|
|
22
|
+
majorUpgradeKit7: string;
|
|
23
|
+
majorUpgradeKit8: string;
|
|
24
|
+
majorUpgradeKit9: string;
|
|
25
|
+
majorUpgradeKit10: string;
|
|
26
|
+
numberOfAnalysis: number;
|
|
27
|
+
application1: string;
|
|
28
|
+
application2: string;
|
|
29
|
+
application3: string;
|
|
30
|
+
application4: string;
|
|
31
|
+
application5: string;
|
|
32
|
+
application6: string;
|
|
33
|
+
application7: string;
|
|
34
|
+
equipmentCardNo: number;
|
|
35
|
+
instrumentNo: string;
|
|
36
|
+
instrumentDescription: string;
|
|
37
|
+
serialNumber: string;
|
|
38
|
+
customerNo: string;
|
|
39
|
+
businessPartnerName: string;
|
|
40
|
+
statusId: string;
|
|
41
|
+
status: string;
|
|
42
|
+
technicianFirstName: string;
|
|
43
|
+
technicianLastName: string;
|
|
44
|
+
territoryId: number;
|
|
45
|
+
territory: string;
|
|
46
|
+
endUserName: string;
|
|
47
|
+
endUserCode: string;
|
|
48
|
+
city: string;
|
|
49
|
+
stateId: string;
|
|
50
|
+
state: string;
|
|
51
|
+
county: string;
|
|
52
|
+
countryId: string;
|
|
53
|
+
country: string;
|
|
54
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { SapInstalledInstrumentModel } from '../models/sap-installed-instrument.model';
|
|
4
|
+
import { SapTerritoryModel } from '../models/sap-territory.model';
|
|
5
|
+
import { SapStateModel } from '../models/sap-state.model';
|
|
6
|
+
import { SapCountryModel } from '../models/sap-country.model';
|
|
7
|
+
import { SapContractModel } from '../models/sap-contract.model';
|
|
8
|
+
import { SapCallModel } from '../models/sap-call.model';
|
|
9
|
+
import { SapActivityModel } from '../models/sap-activity.model';
|
|
10
|
+
import { ViewSapInstalledInstrumentListModel } from '../models/view-sap-installed-instrument-list.model';
|
|
11
|
+
import { InstalledInstrumentFormModel } from '../models/installed-instrument-form.model';
|
|
12
|
+
import { Sort } from '@angular/material/sort';
|
|
13
|
+
import { IConfig } from '../base-interfaces';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class SapInstalledInstrumentsService {
|
|
16
|
+
private config;
|
|
17
|
+
private http;
|
|
18
|
+
constructor(config: IConfig, http: HttpClient);
|
|
19
|
+
getInstalledInstrumentList(searchForm: InstalledInstrumentFormModel | undefined, sort: Sort | undefined): Observable<ViewSapInstalledInstrumentListModel[]>;
|
|
20
|
+
getInstalledInstrument(eqCard: number): Observable<SapInstalledInstrumentModel>;
|
|
21
|
+
getTerritory(refresh?: boolean): Observable<SapTerritoryModel[]>;
|
|
22
|
+
getState(country: string, refresh?: boolean): Observable<SapStateModel[]>;
|
|
23
|
+
getCountry(refresh?: boolean): Observable<SapCountryModel[]>;
|
|
24
|
+
getContracts(eqCard: number): Observable<SapContractModel[]>;
|
|
25
|
+
getCalls(eqCard: number): Observable<SapCallModel[]>;
|
|
26
|
+
getActivities(callId: number): Observable<SapActivityModel[]>;
|
|
27
|
+
getApplicationSearch(search: string): Observable<string[]>;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SapInstalledInstrumentsService, never>;
|
|
29
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SapInstalledInstrumentsService>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { IDirectiveModuleConfig } from './base-interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./components/sap-installed-instrument-list/sap-installed-instrument-list.component";
|
|
5
|
+
import * as i2 from "./components/sap-installed-instrument-details/sap-installed-instrument-details.component";
|
|
6
|
+
import * as i3 from "./components/sap-installed-instrument-details/data-details-view/data-details-view.component";
|
|
7
|
+
import * as i4 from "./components/sap-installed-instrument-details/calls-list-view/calls-list-view.component";
|
|
8
|
+
import * as i5 from "./components/sap-installed-instrument-details/service-contracts-list-view/service-contracts-list-view.component";
|
|
9
|
+
import * as i6 from "./components/sap-installed-instrument-details/service-contract-details-view/service-contract-details-view.component";
|
|
10
|
+
import * as i7 from "./components/sap-installed-instrument-details/call-details-view/call-details-view.component";
|
|
11
|
+
import * as i8 from "./components/sap-installed-instrument-details/service-contracts-modal-details-view/service-contracts-modal-details-view.component";
|
|
12
|
+
import * as i9 from "./components/sap-installed-instrument-details/activities-list-view/activities-list-view.component";
|
|
13
|
+
import * as i10 from "./components/sap-installed-instrument-details/activity-details-view/activity-details-view.component";
|
|
14
|
+
import * as i11 from "./components/sap-installed-instrument-list/sap-installed-instrument-list-search/sap-installed-instrument-list-search.component";
|
|
15
|
+
import * as i12 from "./components/sap-installed-instrument-list/sap-installed-instrument-list-table/sap-installed-instrument-list-table.component";
|
|
16
|
+
import * as i13 from "@angular/common";
|
|
17
|
+
import * as i14 from "@angular/router";
|
|
18
|
+
import * as i15 from "@angular/material/button";
|
|
19
|
+
import * as i16 from "@angular/material/core";
|
|
20
|
+
import * as i17 from "@angular/material/form-field";
|
|
21
|
+
import * as i18 from "@angular/material/input";
|
|
22
|
+
import * as i19 from "@angular/material/select";
|
|
23
|
+
import * as i20 from "@angular/material/tooltip";
|
|
24
|
+
import * as i21 from "@angular/material/menu";
|
|
25
|
+
import * as i22 from "@angular/material/icon";
|
|
26
|
+
import * as i23 from "@angular/material/chips";
|
|
27
|
+
import * as i24 from "@angular/material/table";
|
|
28
|
+
import * as i25 from "@angular/material/paginator";
|
|
29
|
+
import * as i26 from "@angular/material/list";
|
|
30
|
+
import * as i27 from "@angular/material/datepicker";
|
|
31
|
+
import * as i28 from "@angular/material/dialog";
|
|
32
|
+
import * as i29 from "@angular/material/tabs";
|
|
33
|
+
import * as i30 from "@angular/material/snack-bar";
|
|
34
|
+
import * as i31 from "@angular/material/checkbox";
|
|
35
|
+
import * as i32 from "@angular/material/autocomplete";
|
|
36
|
+
import * as i33 from "@angular/material/sort";
|
|
37
|
+
import * as i34 from "@ngx-translate/core";
|
|
38
|
+
import * as i35 from "ngx-st-date-format";
|
|
39
|
+
import * as i36 from "@angular/forms";
|
|
40
|
+
import * as i37 from "ngx-st-multiselect-autocomplete";
|
|
41
|
+
import * as i38 from "ngx-st-search-selects";
|
|
42
|
+
export declare class StSapInstalledInstrumentsModule {
|
|
43
|
+
static forRoot(config?: IDirectiveModuleConfig): ModuleWithProviders<StSapInstalledInstrumentsModule>;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StSapInstalledInstrumentsModule, never>;
|
|
45
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StSapInstalledInstrumentsModule, [typeof i1.SapInstalledInstrumentListComponent, typeof i2.SapInstalledInstrumentDetailsComponent, typeof i3.DataDetailsViewComponent, typeof i4.CallsListViewComponent, typeof i5.ServiceContractsListViewComponent, typeof i6.ServiceContractDetailsViewComponent, typeof i7.CallDetailsViewComponent, typeof i8.ServiceContractsModalDetailsViewComponent, typeof i9.ActivitiesListViewComponent, typeof i10.ActivityDetailsViewComponent, typeof i11.SapInstalledInstrumentListSearchComponent, typeof i12.SapInstalledInstrumentListTableComponent], [typeof i13.CommonModule, typeof i14.RouterModule, typeof i15.MatButtonModule, typeof i16.MatRippleModule, typeof i17.MatFormFieldModule, typeof i18.MatInputModule, typeof i19.MatSelectModule, typeof i20.MatTooltipModule, typeof i21.MatMenuModule, typeof i22.MatIconModule, typeof i23.MatChipsModule, typeof i24.MatTableModule, typeof i25.MatPaginatorModule, typeof i26.MatListModule, typeof i27.MatDatepickerModule, typeof i16.MatNativeDateModule, typeof i28.MatDialogModule, typeof i29.MatTabsModule, typeof i30.MatSnackBarModule, typeof i31.MatCheckboxModule, typeof i32.MatAutocompleteModule, typeof i32.MatAutocompleteModule, typeof i33.MatSortModule, typeof i34.TranslateModule, typeof i35.StDateFormatModule, typeof i36.ReactiveFormsModule, typeof i37.NgxStMultiselectAutocompleteModule, typeof i38.StSearchSelectsModule], never>;
|
|
46
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StSapInstalledInstrumentsModule>;
|
|
47
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ngx-st-sap-installed-instruments",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^14.2.0",
|
|
6
|
+
"@angular/core": "^14.2.0",
|
|
7
|
+
"moment": "2.29.4",
|
|
8
|
+
"ngx-st-multiselect-autocomplete": "1.0.4",
|
|
9
|
+
"ngx-st-search-selects": "1.0.5",
|
|
10
|
+
"@angular/material": "14.2.7"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"tslib": "^2.3.0"
|
|
14
|
+
},
|
|
15
|
+
"module": "fesm2015/ngx-st-sap-installed-instruments.mjs",
|
|
16
|
+
"es2020": "fesm2020/ngx-st-sap-installed-instruments.mjs",
|
|
17
|
+
"esm2020": "esm2020/ngx-st-sap-installed-instruments.mjs",
|
|
18
|
+
"fesm2020": "fesm2020/ngx-st-sap-installed-instruments.mjs",
|
|
19
|
+
"fesm2015": "fesm2015/ngx-st-sap-installed-instruments.mjs",
|
|
20
|
+
"typings": "index.d.ts",
|
|
21
|
+
"exports": {
|
|
22
|
+
"./package.json": {
|
|
23
|
+
"default": "./package.json"
|
|
24
|
+
},
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./index.d.ts",
|
|
27
|
+
"esm2020": "./esm2020/ngx-st-sap-installed-instruments.mjs",
|
|
28
|
+
"es2020": "./fesm2020/ngx-st-sap-installed-instruments.mjs",
|
|
29
|
+
"es2015": "./fesm2015/ngx-st-sap-installed-instruments.mjs",
|
|
30
|
+
"node": "./fesm2015/ngx-st-sap-installed-instruments.mjs",
|
|
31
|
+
"default": "./fesm2020/ngx-st-sap-installed-instruments.mjs"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"sideEffects": false
|
|
35
|
+
}
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export * from './lib/models/installed-instrument-form.model';
|
|
2
|
+
export * from './lib/models/installed-instrument-sort-by-column.enum';
|
|
3
|
+
export * from './lib/models/installed-instrument-sort-order.enum';
|
|
4
|
+
export * from './lib/models/sap-activity.model';
|
|
5
|
+
export * from './lib/models/sap-attachment.model';
|
|
6
|
+
export * from './lib/models/sap-call.model';
|
|
7
|
+
export * from './lib/models/sap-contract.model';
|
|
8
|
+
export * from './lib/models/sap-country.model';
|
|
9
|
+
export * from './lib/models/sap-installed-instrument-list.model';
|
|
10
|
+
export * from './lib/models/sap-installed-instrument-search.model';
|
|
11
|
+
export * from './lib/models/sap-installed-instrument.model';
|
|
12
|
+
export * from './lib/models/sap-state.model';
|
|
13
|
+
export * from './lib/models/sap-territory.model';
|
|
14
|
+
export * from './lib/models/view-sap-installed-instrument-list.model';
|
|
15
|
+
export * from './lib/services/sap-installed-instruments.service';
|
|
16
|
+
export * from './lib/components/sap-installed-instrument-list/sap-installed-instrument-list-table/sap-installed-instrument-list-table.component';
|
|
17
|
+
export * from './lib/components/sap-installed-instrument-list/sap-installed-instrument-list-search/sap-installed-instrument-list-search.component';
|
|
18
|
+
export * from './lib/components/sap-installed-instrument-list/sap-installed-instrument-list.component';
|
|
19
|
+
export * from './lib/components/sap-installed-instrument-details/activity-details-view/activity-details-view.component';
|
|
20
|
+
export * from './lib/components/sap-installed-instrument-details/activities-list-view/activities-list-view.component';
|
|
21
|
+
export * from './lib/components/sap-installed-instrument-details/call-details-view/call-details-view.component';
|
|
22
|
+
export * from './lib/components/sap-installed-instrument-details/calls-list-view/calls-list-view.component';
|
|
23
|
+
export * from './lib/components/sap-installed-instrument-details/data-details-view/data-details-view.component';
|
|
24
|
+
export * from './lib/components/sap-installed-instrument-details/service-contract-details-view/service-contract-details-view.component';
|
|
25
|
+
export * from './lib/components/sap-installed-instrument-details/service-contracts-list-view/service-contracts-list-view.component';
|
|
26
|
+
export * from './lib/components/sap-installed-instrument-details/service-contracts-modal-details-view/service-contracts-modal-details-view.component';
|
|
27
|
+
export * from './lib/components/sap-installed-instrument-details/sap-installed-instrument-details.component';
|
|
28
|
+
export * from './lib/st-sap-installed-instruments.module';
|