@aggdirect/coolmap 2.5.2 → 2.5.4
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 +57 -57
- package/esm2020/aggdirect-coolmap.mjs +4 -4
- package/esm2020/lib/component/add-route/add-route.component.mjs +335 -335
- package/esm2020/lib/component/job-code/job-code.component.mjs +181 -181
- package/esm2020/lib/component/map/map.component.mjs +37 -37
- package/esm2020/lib/component/nav/layout/add-route-nav/add-route-nav.component.mjs +146 -146
- package/esm2020/lib/component/nav/layout/job-code-nav/job-code-nav.component.mjs +114 -114
- package/esm2020/lib/component/nav/nav.component.mjs +52 -52
- package/esm2020/lib/component/route-jobcode-list/job-code-list-card/job-code-list-card.component.mjs +72 -72
- package/esm2020/lib/component/route-jobcode-list/route-jobcode-list.component.mjs +316 -316
- package/esm2020/lib/component/route-jobcode-list/sms-card-details-overview/sms-card-details-overview.component.mjs +19 -19
- package/esm2020/lib/component/route-jobcode-list/view-route-list-card/view-route-list-card.component.mjs +33 -33
- package/esm2020/lib/component/shared/dialog/dialog.component.mjs +29 -29
- package/esm2020/lib/component/shared/estimation-display/estimation-display.component.mjs +19 -19
- package/esm2020/lib/component/shared/job-route-list/job-route-list.component.mjs +71 -71
- package/esm2020/lib/component/shared/jobcode-overview/jobcode-overview.component.mjs +24 -24
- package/esm2020/lib/component/shared/jobcode-status/jobcode-status.component.mjs +14 -14
- package/esm2020/lib/component/shared/route-info-card/route-info-card.component.mjs +57 -57
- package/esm2020/lib/coolmap.module.mjs +185 -185
- package/esm2020/public-api.mjs +19 -19
- package/fesm2015/aggdirect-coolmap.mjs +1537 -1537
- package/fesm2015/aggdirect-coolmap.mjs.map +1 -1
- package/fesm2020/aggdirect-coolmap.mjs +1499 -1499
- package/fesm2020/aggdirect-coolmap.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/component/add-route/add-route.component.d.ts +61 -61
- package/lib/component/job-code/job-code.component.d.ts +42 -42
- package/lib/component/map/map.component.d.ts +15 -15
- package/lib/component/nav/layout/add-route-nav/add-route-nav.component.d.ts +49 -49
- package/lib/component/nav/layout/job-code-nav/job-code-nav.component.d.ts +42 -42
- package/lib/component/nav/nav.component.d.ts +31 -31
- package/lib/component/route-jobcode-list/job-code-list-card/job-code-list-card.component.d.ts +20 -20
- package/lib/component/route-jobcode-list/route-jobcode-list.component.d.ts +42 -42
- package/lib/component/route-jobcode-list/sms-card-details-overview/sms-card-details-overview.component.d.ts +9 -9
- package/lib/component/route-jobcode-list/view-route-list-card/view-route-list-card.component.d.ts +12 -12
- package/lib/component/shared/dialog/dialog.component.d.ts +13 -13
- package/lib/component/shared/estimation-display/estimation-display.component.d.ts +8 -8
- package/lib/component/shared/job-route-list/job-route-list.component.d.ts +26 -26
- package/lib/component/shared/jobcode-overview/jobcode-overview.component.d.ts +10 -10
- package/lib/component/shared/jobcode-status/jobcode-status.component.d.ts +7 -7
- package/lib/component/shared/route-info-card/route-info-card.component.d.ts +29 -29
- package/lib/coolmap.module.d.ts +44 -44
- package/package.json +3 -3
- package/public-api.d.ts +15 -15
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@aggdirect/coolmap" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@aggdirect/coolmap" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import { ElementRef, OnInit, EventEmitter, SimpleChanges, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { Observable, Subject } from 'rxjs';
|
|
4
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
5
|
-
import { CoolmapConfigModel, CoolmapService, CustomerRepoDetailsModel, Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AddRouteComponent implements OnInit, OnChanges, OnDestroy {
|
|
8
|
-
coolMapService: CoolmapService;
|
|
9
|
-
utils: UtilsService;
|
|
10
|
-
dialog: MatDialog;
|
|
11
|
-
config: CoolmapConfigModel;
|
|
12
|
-
filterPickup: ElementRef;
|
|
13
|
-
filterDelivery: ElementRef;
|
|
14
|
-
changeNav: EventEmitter<string>;
|
|
15
|
-
updateRouteList: EventEmitter<boolean>;
|
|
16
|
-
pickupOptions: any;
|
|
17
|
-
deliveryOptions: any;
|
|
18
|
-
requestParmsForRouteDetails: {
|
|
19
|
-
pickup_lat_lng: string;
|
|
20
|
-
delivery_lat_lng: string;
|
|
21
|
-
};
|
|
22
|
-
customersList: any;
|
|
23
|
-
unitsList: any;
|
|
24
|
-
materialsList: any;
|
|
25
|
-
addRouteForm: FormGroup;
|
|
26
|
-
routeData: Route;
|
|
27
|
-
customerRepoDetails: CustomerRepoDetailsModel;
|
|
28
|
-
routeId: string | null | undefined;
|
|
29
|
-
preventSave: boolean;
|
|
30
|
-
preventInitialSave: boolean;
|
|
31
|
-
customersList$: Observable<any>;
|
|
32
|
-
routeDetails: {
|
|
33
|
-
pickup_location: string | null | undefined;
|
|
34
|
-
delivery_location: string | null | undefined;
|
|
35
|
-
} | null;
|
|
36
|
-
destroyer$: Subject<boolean>;
|
|
37
|
-
popupDetails: Route;
|
|
38
|
-
enablePopUp: boolean;
|
|
39
|
-
prevantPopupClose: boolean;
|
|
40
|
-
enableForm: boolean;
|
|
41
|
-
constructor(coolMapService: CoolmapService, utils: UtilsService, dialog: MatDialog, config: CoolmapConfigModel);
|
|
42
|
-
filterCustomerList(): void;
|
|
43
|
-
_filter(value: string): string[];
|
|
44
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
45
|
-
openDialog(): void;
|
|
46
|
-
editEvent(): void;
|
|
47
|
-
inIt(changes: Route): void;
|
|
48
|
-
ngOnInit(): void;
|
|
49
|
-
ngAfterViewInit(): void;
|
|
50
|
-
formControlValue(): void;
|
|
51
|
-
formInit(): void;
|
|
52
|
-
patchFormValue(data?: Route): Promise<void>;
|
|
53
|
-
selectedLongLat(type: string, event: any): void;
|
|
54
|
-
checkAndFetchRouteInformation(isinitial?: boolean): void;
|
|
55
|
-
formateLatLong(latlong: string): number[];
|
|
56
|
-
saveRoute(): void;
|
|
57
|
-
deleteRoute(): void;
|
|
58
|
-
ngOnDestroy(): void;
|
|
59
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AddRouteComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddRouteComponent, "app-add-route", never, { "routeData": "routeData"; "customerRepoDetails": "customerRepoDetails"; }, { "changeNav": "changeNav"; "updateRouteList": "updateRouteList"; }, never, never, false>;
|
|
61
|
-
}
|
|
1
|
+
import { ElementRef, OnInit, EventEmitter, SimpleChanges, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { Observable, Subject } from 'rxjs';
|
|
4
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
5
|
+
import { CoolmapConfigModel, CoolmapService, CustomerRepoDetailsModel, Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AddRouteComponent implements OnInit, OnChanges, OnDestroy {
|
|
8
|
+
coolMapService: CoolmapService;
|
|
9
|
+
utils: UtilsService;
|
|
10
|
+
dialog: MatDialog;
|
|
11
|
+
config: CoolmapConfigModel;
|
|
12
|
+
filterPickup: ElementRef;
|
|
13
|
+
filterDelivery: ElementRef;
|
|
14
|
+
changeNav: EventEmitter<string>;
|
|
15
|
+
updateRouteList: EventEmitter<boolean>;
|
|
16
|
+
pickupOptions: any;
|
|
17
|
+
deliveryOptions: any;
|
|
18
|
+
requestParmsForRouteDetails: {
|
|
19
|
+
pickup_lat_lng: string;
|
|
20
|
+
delivery_lat_lng: string;
|
|
21
|
+
};
|
|
22
|
+
customersList: any;
|
|
23
|
+
unitsList: any;
|
|
24
|
+
materialsList: any;
|
|
25
|
+
addRouteForm: FormGroup;
|
|
26
|
+
routeData: Route;
|
|
27
|
+
customerRepoDetails: CustomerRepoDetailsModel;
|
|
28
|
+
routeId: string | null | undefined;
|
|
29
|
+
preventSave: boolean;
|
|
30
|
+
preventInitialSave: boolean;
|
|
31
|
+
customersList$: Observable<any>;
|
|
32
|
+
routeDetails: {
|
|
33
|
+
pickup_location: string | null | undefined;
|
|
34
|
+
delivery_location: string | null | undefined;
|
|
35
|
+
} | null;
|
|
36
|
+
destroyer$: Subject<boolean>;
|
|
37
|
+
popupDetails: Route;
|
|
38
|
+
enablePopUp: boolean;
|
|
39
|
+
prevantPopupClose: boolean;
|
|
40
|
+
enableForm: boolean;
|
|
41
|
+
constructor(coolMapService: CoolmapService, utils: UtilsService, dialog: MatDialog, config: CoolmapConfigModel);
|
|
42
|
+
filterCustomerList(): void;
|
|
43
|
+
_filter(value: string): string[];
|
|
44
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
45
|
+
openDialog(): void;
|
|
46
|
+
editEvent(): void;
|
|
47
|
+
inIt(changes: Route): void;
|
|
48
|
+
ngOnInit(): void;
|
|
49
|
+
ngAfterViewInit(): void;
|
|
50
|
+
formControlValue(): void;
|
|
51
|
+
formInit(): void;
|
|
52
|
+
patchFormValue(data?: Route): Promise<void>;
|
|
53
|
+
selectedLongLat(type: string, event: any): void;
|
|
54
|
+
checkAndFetchRouteInformation(isinitial?: boolean): void;
|
|
55
|
+
formateLatLong(latlong: string): number[];
|
|
56
|
+
saveRoute(): void;
|
|
57
|
+
deleteRoute(): void;
|
|
58
|
+
ngOnDestroy(): void;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddRouteComponent, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddRouteComponent, "app-add-route", never, { "routeData": "routeData"; "customerRepoDetails": "customerRepoDetails"; }, { "changeNav": "changeNav"; "updateRouteList": "updateRouteList"; }, never, never, false, never>;
|
|
61
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
|
-
import { OnInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { CoolmapConfigModel, CoolmapService, CustomerRepoDetailsModel, Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class JobCodeComponent implements OnInit, OnDestroy {
|
|
7
|
-
utils: UtilsService;
|
|
8
|
-
coolMap: CoolmapService;
|
|
9
|
-
config: CoolmapConfigModel;
|
|
10
|
-
jobdetail: any;
|
|
11
|
-
customerRepoDetails: CustomerRepoDetailsModel;
|
|
12
|
-
isVisible: boolean;
|
|
13
|
-
routes: Route[];
|
|
14
|
-
selectedRoute: SelectionModel<any>;
|
|
15
|
-
clearJobDetails: EventEmitter<any>;
|
|
16
|
-
openShareRoute: EventEmitter<any>;
|
|
17
|
-
isOverlapRouteSection: boolean;
|
|
18
|
-
destroyer$: Subject<boolean>;
|
|
19
|
-
detailsCardEnable: boolean | string;
|
|
20
|
-
preventMouseout: boolean;
|
|
21
|
-
routeCardDetail: Route;
|
|
22
|
-
preventListUpdate: boolean;
|
|
23
|
-
masterRoutes: any;
|
|
24
|
-
unitList: any;
|
|
25
|
-
materialsList: any;
|
|
26
|
-
constructor(utils: UtilsService, coolMap: CoolmapService, config: CoolmapConfigModel);
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
checkAndCallRouteList(): void;
|
|
29
|
-
getUnitName(data: any): string;
|
|
30
|
-
getMaterialName(data: any): string;
|
|
31
|
-
getRouteListForCoolMap(): void;
|
|
32
|
-
getRouteListForCustomer(): void;
|
|
33
|
-
toggleSidemenu(): void;
|
|
34
|
-
clearJob(): void;
|
|
35
|
-
selectRoute(event: Route): void;
|
|
36
|
-
masterToggle(): void;
|
|
37
|
-
togglerouteDetails(eventType: string | boolean, route: Route, mouseOut?: boolean): void;
|
|
38
|
-
openShareRouteModal(data: any): void;
|
|
39
|
-
ngOnDestroy(): void;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<JobCodeComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<JobCodeComponent, "app-job-code", never, { "jobdetail": "jobdetail"; "customerRepoDetails": "customerRepoDetails"; }, { "clearJobDetails": "clearJobDetails"; "openShareRoute": "openShareRoute"; }, never, never, false>;
|
|
42
|
-
}
|
|
1
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
|
+
import { OnInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { CoolmapConfigModel, CoolmapService, CustomerRepoDetailsModel, Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class JobCodeComponent implements OnInit, OnDestroy {
|
|
7
|
+
utils: UtilsService;
|
|
8
|
+
coolMap: CoolmapService;
|
|
9
|
+
config: CoolmapConfigModel;
|
|
10
|
+
jobdetail: any;
|
|
11
|
+
customerRepoDetails: CustomerRepoDetailsModel;
|
|
12
|
+
isVisible: boolean;
|
|
13
|
+
routes: Route[];
|
|
14
|
+
selectedRoute: SelectionModel<any>;
|
|
15
|
+
clearJobDetails: EventEmitter<any>;
|
|
16
|
+
openShareRoute: EventEmitter<any>;
|
|
17
|
+
isOverlapRouteSection: boolean;
|
|
18
|
+
destroyer$: Subject<boolean>;
|
|
19
|
+
detailsCardEnable: boolean | string;
|
|
20
|
+
preventMouseout: boolean;
|
|
21
|
+
routeCardDetail: Route;
|
|
22
|
+
preventListUpdate: boolean;
|
|
23
|
+
masterRoutes: any;
|
|
24
|
+
unitList: any;
|
|
25
|
+
materialsList: any;
|
|
26
|
+
constructor(utils: UtilsService, coolMap: CoolmapService, config: CoolmapConfigModel);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
checkAndCallRouteList(): void;
|
|
29
|
+
getUnitName(data: any): string;
|
|
30
|
+
getMaterialName(data: any): string;
|
|
31
|
+
getRouteListForCoolMap(): void;
|
|
32
|
+
getRouteListForCustomer(): void;
|
|
33
|
+
toggleSidemenu(): void;
|
|
34
|
+
clearJob(): void;
|
|
35
|
+
selectRoute(event: Route): void;
|
|
36
|
+
masterToggle(): void;
|
|
37
|
+
togglerouteDetails(eventType: string | boolean, route: Route, mouseOut?: boolean): void;
|
|
38
|
+
openShareRouteModal(data: any): void;
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JobCodeComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JobCodeComponent, "app-job-code", never, { "jobdetail": "jobdetail"; "customerRepoDetails": "customerRepoDetails"; }, { "clearJobDetails": "clearJobDetails"; "openShareRoute": "openShareRoute"; }, never, never, false, never>;
|
|
42
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class MapComponent implements OnDestroy {
|
|
6
|
-
coolmapService: CoolmapService;
|
|
7
|
-
mapDiv: ElementRef;
|
|
8
|
-
enableProgress: boolean;
|
|
9
|
-
destroyer$: Subject<boolean>;
|
|
10
|
-
constructor(coolmapService: CoolmapService);
|
|
11
|
-
ngAfterViewInit(): void;
|
|
12
|
-
ngOnDestroy(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MapComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MapComponent, "app-map", never, {}, {}, never, never, false>;
|
|
15
|
-
}
|
|
1
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { CoolmapService } from '@aggdirect/coolmap-services';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MapComponent implements OnDestroy {
|
|
6
|
+
coolmapService: CoolmapService;
|
|
7
|
+
mapDiv: ElementRef;
|
|
8
|
+
enableProgress: boolean;
|
|
9
|
+
destroyer$: Subject<boolean>;
|
|
10
|
+
constructor(coolmapService: CoolmapService);
|
|
11
|
+
ngAfterViewInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapComponent, "app-map", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { EventEmitter, SimpleChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { CoolmapConfigModel, CustomerRepoDetailsModel, Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { Subject } from 'rxjs';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
interface Filter {
|
|
8
|
-
name?: string;
|
|
9
|
-
type: string;
|
|
10
|
-
value: any;
|
|
11
|
-
label?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare class AddRouteNavComponent implements OnDestroy {
|
|
14
|
-
utils: UtilsService;
|
|
15
|
-
private config;
|
|
16
|
-
filterForm: FormGroup<{
|
|
17
|
-
search: FormControl<any>;
|
|
18
|
-
}>;
|
|
19
|
-
filteredOptions: Observable<any[]> | undefined;
|
|
20
|
-
filters: Filter[];
|
|
21
|
-
loaderVal: boolean;
|
|
22
|
-
routes: Route[];
|
|
23
|
-
changeNav: EventEmitter<any>;
|
|
24
|
-
navValue: string;
|
|
25
|
-
addemit: EventEmitter<any>;
|
|
26
|
-
updateRouteList: boolean;
|
|
27
|
-
customerRepoDetails: CustomerRepoDetailsModel;
|
|
28
|
-
destroyer$: Subject<boolean>;
|
|
29
|
-
preventListUpdate: boolean;
|
|
30
|
-
unitList: any;
|
|
31
|
-
materialsList: any;
|
|
32
|
-
constructor(utils: UtilsService, config: CoolmapConfigModel);
|
|
33
|
-
showAddForm(): void;
|
|
34
|
-
filterSearch(e: any): void;
|
|
35
|
-
removeFromFilter(filter: any): void;
|
|
36
|
-
ngAfterViewInit(): void;
|
|
37
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
38
|
-
getRoute(event: Route): void;
|
|
39
|
-
checkAndCallRouteList(): void;
|
|
40
|
-
getUnitName(data: any): string;
|
|
41
|
-
getMaterialName(data: any): string;
|
|
42
|
-
getRouteListForCoolMap(): void;
|
|
43
|
-
getRouteListForCustomer(): void;
|
|
44
|
-
resetSearch(): void;
|
|
45
|
-
ngOnDestroy(): void;
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AddRouteNavComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddRouteNavComponent, "app-add-route-nav", never, { "navValue": "navValue"; "updateRouteList": "updateRouteList"; "customerRepoDetails": "customerRepoDetails"; }, { "changeNav": "changeNav"; "addemit": "addemit"; }, never, never, false>;
|
|
48
|
-
}
|
|
49
|
-
export {};
|
|
1
|
+
import { EventEmitter, SimpleChanges, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { CoolmapConfigModel, CustomerRepoDetailsModel, Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { Subject } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
interface Filter {
|
|
8
|
+
name?: string;
|
|
9
|
+
type: string;
|
|
10
|
+
value: any;
|
|
11
|
+
label?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare class AddRouteNavComponent implements OnDestroy {
|
|
14
|
+
utils: UtilsService;
|
|
15
|
+
private config;
|
|
16
|
+
filterForm: FormGroup<{
|
|
17
|
+
search: FormControl<any>;
|
|
18
|
+
}>;
|
|
19
|
+
filteredOptions: Observable<any[]> | undefined;
|
|
20
|
+
filters: Filter[];
|
|
21
|
+
loaderVal: boolean;
|
|
22
|
+
routes: Route[];
|
|
23
|
+
changeNav: EventEmitter<any>;
|
|
24
|
+
navValue: string;
|
|
25
|
+
addemit: EventEmitter<any>;
|
|
26
|
+
updateRouteList: boolean;
|
|
27
|
+
customerRepoDetails: CustomerRepoDetailsModel;
|
|
28
|
+
destroyer$: Subject<boolean>;
|
|
29
|
+
preventListUpdate: boolean;
|
|
30
|
+
unitList: any;
|
|
31
|
+
materialsList: any;
|
|
32
|
+
constructor(utils: UtilsService, config: CoolmapConfigModel);
|
|
33
|
+
showAddForm(): void;
|
|
34
|
+
filterSearch(e: any): void;
|
|
35
|
+
removeFromFilter(filter: any): void;
|
|
36
|
+
ngAfterViewInit(): void;
|
|
37
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
38
|
+
getRoute(event: Route): void;
|
|
39
|
+
checkAndCallRouteList(): void;
|
|
40
|
+
getUnitName(data: any): string;
|
|
41
|
+
getMaterialName(data: any): string;
|
|
42
|
+
getRouteListForCoolMap(): void;
|
|
43
|
+
getRouteListForCustomer(): void;
|
|
44
|
+
resetSearch(): void;
|
|
45
|
+
ngOnDestroy(): void;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddRouteNavComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddRouteNavComponent, "app-add-route-nav", never, { "navValue": "navValue"; "updateRouteList": "updateRouteList"; "customerRepoDetails": "customerRepoDetails"; }, { "changeNav": "changeNav"; "addemit": "addemit"; }, never, never, false, never>;
|
|
48
|
+
}
|
|
49
|
+
export {};
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { MatDatepickerInputEvent } from '@angular/material/datepicker';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
5
|
-
import { Subject } from 'rxjs';
|
|
6
|
-
import { CoolmapConfigModel, CustomerRepoDetailsModel, Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
interface Filter {
|
|
9
|
-
name?: string;
|
|
10
|
-
type: string;
|
|
11
|
-
value: any;
|
|
12
|
-
label?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare class JobCodeNavComponent implements OnDestroy, OnChanges {
|
|
15
|
-
utils: UtilsService;
|
|
16
|
-
private config;
|
|
17
|
-
filterForm: FormGroup<{
|
|
18
|
-
search: FormControl<any>;
|
|
19
|
-
}>;
|
|
20
|
-
listData: Route[];
|
|
21
|
-
loaderVal: boolean;
|
|
22
|
-
dateValue: Date;
|
|
23
|
-
jobemit: EventEmitter<any>;
|
|
24
|
-
value: string;
|
|
25
|
-
filteredOptions: Observable<any[]> | undefined;
|
|
26
|
-
filters: Filter[];
|
|
27
|
-
clearJobDetails: EventEmitter<any>;
|
|
28
|
-
destroyer$: Subject<boolean>;
|
|
29
|
-
customerRepoDetails: CustomerRepoDetailsModel;
|
|
30
|
-
selectedDate: string;
|
|
31
|
-
constructor(utils: UtilsService, config: CoolmapConfigModel);
|
|
32
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
33
|
-
loadData(value: string): void;
|
|
34
|
-
getRoute(job: Route): void;
|
|
35
|
-
getDate(ev: MatDatepickerInputEvent<Date>): void;
|
|
36
|
-
filterSearch(e: any): void;
|
|
37
|
-
removeFromFilter(filter: any): void;
|
|
38
|
-
ngOnDestroy(): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<JobCodeNavComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<JobCodeNavComponent, "app-job-code-nav", never, { "customerRepoDetails": "customerRepoDetails"; }, { "jobemit": "jobemit"; "clearJobDetails": "clearJobDetails"; }, never, never, false>;
|
|
41
|
-
}
|
|
42
|
-
export {};
|
|
1
|
+
import { EventEmitter, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MatDatepickerInputEvent } from '@angular/material/datepicker';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
5
|
+
import { Subject } from 'rxjs';
|
|
6
|
+
import { CoolmapConfigModel, CustomerRepoDetailsModel, Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
interface Filter {
|
|
9
|
+
name?: string;
|
|
10
|
+
type: string;
|
|
11
|
+
value: any;
|
|
12
|
+
label?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare class JobCodeNavComponent implements OnDestroy, OnChanges {
|
|
15
|
+
utils: UtilsService;
|
|
16
|
+
private config;
|
|
17
|
+
filterForm: FormGroup<{
|
|
18
|
+
search: FormControl<any>;
|
|
19
|
+
}>;
|
|
20
|
+
listData: Route[];
|
|
21
|
+
loaderVal: boolean;
|
|
22
|
+
dateValue: Date;
|
|
23
|
+
jobemit: EventEmitter<any>;
|
|
24
|
+
value: string;
|
|
25
|
+
filteredOptions: Observable<any[]> | undefined;
|
|
26
|
+
filters: Filter[];
|
|
27
|
+
clearJobDetails: EventEmitter<any>;
|
|
28
|
+
destroyer$: Subject<boolean>;
|
|
29
|
+
customerRepoDetails: CustomerRepoDetailsModel;
|
|
30
|
+
selectedDate: string;
|
|
31
|
+
constructor(utils: UtilsService, config: CoolmapConfigModel);
|
|
32
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
33
|
+
loadData(value: string): void;
|
|
34
|
+
getRoute(job: Route): void;
|
|
35
|
+
getDate(ev: MatDatepickerInputEvent<Date>): void;
|
|
36
|
+
filterSearch(e: any): void;
|
|
37
|
+
removeFromFilter(filter: any): void;
|
|
38
|
+
ngOnDestroy(): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JobCodeNavComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JobCodeNavComponent, "app-job-code-nav", never, { "customerRepoDetails": "customerRepoDetails"; }, { "jobemit": "jobemit"; "clearJobDetails": "clearJobDetails"; }, never, never, false, never>;
|
|
41
|
+
}
|
|
42
|
+
export {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { CoolmapService, UtilsService } from '@aggdirect/coolmap-services';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NavComponent implements OnDestroy {
|
|
6
|
-
utils: UtilsService;
|
|
7
|
-
coolMap: CoolmapService;
|
|
8
|
-
drawer: EventEmitter<boolean>;
|
|
9
|
-
changeNav: EventEmitter<string>;
|
|
10
|
-
navValue: string;
|
|
11
|
-
isnavChange: boolean;
|
|
12
|
-
paddinForJobCode: {
|
|
13
|
-
top: number;
|
|
14
|
-
bottom: number;
|
|
15
|
-
left: number;
|
|
16
|
-
right: number;
|
|
17
|
-
};
|
|
18
|
-
paddinForViewRoute: {
|
|
19
|
-
top: number;
|
|
20
|
-
bottom: number;
|
|
21
|
-
left: number;
|
|
22
|
-
right: number;
|
|
23
|
-
};
|
|
24
|
-
destroyer$: Subject<boolean>;
|
|
25
|
-
constructor(utils: UtilsService, coolMap: CoolmapService);
|
|
26
|
-
openDrawer(): void;
|
|
27
|
-
chnageNav(name: string): void;
|
|
28
|
-
ngOnDestroy(): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavComponent, "app-nav", never, {}, { "drawer": "drawer"; "changeNav": "changeNav"; }, never, never, false>;
|
|
31
|
-
}
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { CoolmapService, UtilsService } from '@aggdirect/coolmap-services';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NavComponent implements OnDestroy {
|
|
6
|
+
utils: UtilsService;
|
|
7
|
+
coolMap: CoolmapService;
|
|
8
|
+
drawer: EventEmitter<boolean>;
|
|
9
|
+
changeNav: EventEmitter<string>;
|
|
10
|
+
navValue: string;
|
|
11
|
+
isnavChange: boolean;
|
|
12
|
+
paddinForJobCode: {
|
|
13
|
+
top: number;
|
|
14
|
+
bottom: number;
|
|
15
|
+
left: number;
|
|
16
|
+
right: number;
|
|
17
|
+
};
|
|
18
|
+
paddinForViewRoute: {
|
|
19
|
+
top: number;
|
|
20
|
+
bottom: number;
|
|
21
|
+
left: number;
|
|
22
|
+
right: number;
|
|
23
|
+
};
|
|
24
|
+
destroyer$: Subject<boolean>;
|
|
25
|
+
constructor(utils: UtilsService, coolMap: CoolmapService);
|
|
26
|
+
openDrawer(): void;
|
|
27
|
+
chnageNav(name: string): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavComponent, "app-nav", never, {}, { "drawer": "drawer"; "changeNav": "changeNav"; }, never, never, false, never>;
|
|
31
|
+
}
|
package/lib/component/route-jobcode-list/job-code-list-card/job-code-list-card.component.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { CoolmapConfigModel, Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class JobCodeListCardComponent {
|
|
5
|
-
utils: UtilsService;
|
|
6
|
-
config: CoolmapConfigModel;
|
|
7
|
-
route: Route;
|
|
8
|
-
routeSeletion: EventEmitter<any>;
|
|
9
|
-
toggleDrivermenu: EventEmitter<any>;
|
|
10
|
-
emitJobdetails: any;
|
|
11
|
-
preventCloseDetails: boolean;
|
|
12
|
-
constructor(utils: UtilsService, config: CoolmapConfigModel);
|
|
13
|
-
selectRoute(route: Route): void;
|
|
14
|
-
toggleDriverlist(mouseevntType: boolean | string, route: Route, isHoverOut?: boolean): void;
|
|
15
|
-
toggleJobCodeDetails(mouseEventType: boolean, route: Route): void;
|
|
16
|
-
calculateStatusPercentage(type: string, route: any): number;
|
|
17
|
-
setRouteItem(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<JobCodeListCardComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<JobCodeListCardComponent, "app-job-code-list-card", never, { "route": "route"; "emitJobdetails": "emitJobdetails"; "preventCloseDetails": "preventCloseDetails"; }, { "routeSeletion": "routeSeletion"; "toggleDrivermenu": "toggleDrivermenu"; }, never, never, false>;
|
|
20
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { CoolmapConfigModel, Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class JobCodeListCardComponent {
|
|
5
|
+
utils: UtilsService;
|
|
6
|
+
config: CoolmapConfigModel;
|
|
7
|
+
route: Route;
|
|
8
|
+
routeSeletion: EventEmitter<any>;
|
|
9
|
+
toggleDrivermenu: EventEmitter<any>;
|
|
10
|
+
emitJobdetails: any;
|
|
11
|
+
preventCloseDetails: boolean;
|
|
12
|
+
constructor(utils: UtilsService, config: CoolmapConfigModel);
|
|
13
|
+
selectRoute(route: Route): void;
|
|
14
|
+
toggleDriverlist(mouseevntType: boolean | string, route: Route, isHoverOut?: boolean): void;
|
|
15
|
+
toggleJobCodeDetails(mouseEventType: boolean, route: Route): void;
|
|
16
|
+
calculateStatusPercentage(type: string, route: any): number;
|
|
17
|
+
setRouteItem(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JobCodeListCardComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JobCodeListCardComponent, "app-job-code-list-card", never, { "route": "route"; "emitJobdetails": "emitJobdetails"; "preventCloseDetails": "preventCloseDetails"; }, { "routeSeletion": "routeSeletion"; "toggleDrivermenu": "toggleDrivermenu"; }, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { SelectionModel } from '@angular/cdk/collections';
|
|
3
|
-
import { FormControl } from '@angular/forms';
|
|
4
|
-
import { CoolmapService, Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class RouteJobCodeListComponent implements OnInit, OnChanges {
|
|
7
|
-
coolMap: CoolmapService;
|
|
8
|
-
utils: UtilsService;
|
|
9
|
-
loader: boolean;
|
|
10
|
-
type: string;
|
|
11
|
-
data: Route[];
|
|
12
|
-
currentNav: string;
|
|
13
|
-
emitroute: EventEmitter<any>;
|
|
14
|
-
showAllRoute: EventEmitter<any>;
|
|
15
|
-
preventMouseout: boolean;
|
|
16
|
-
filterList: Route[];
|
|
17
|
-
searchTerm: any;
|
|
18
|
-
isDriverList: boolean;
|
|
19
|
-
selectedRoute: SelectionModel<any>;
|
|
20
|
-
driverList: any;
|
|
21
|
-
preventListSelect: boolean;
|
|
22
|
-
clearJobDetailsFromList: EventEmitter<any>;
|
|
23
|
-
preventDetailsClose: boolean;
|
|
24
|
-
messageLoader: boolean;
|
|
25
|
-
driverMessage: FormControl<string>;
|
|
26
|
-
clearListSeletion: boolean;
|
|
27
|
-
isSmsList: boolean;
|
|
28
|
-
constructor(coolMap: CoolmapService, utils: UtilsService);
|
|
29
|
-
ngOnInit(): void;
|
|
30
|
-
passRoute(job: Route): void;
|
|
31
|
-
selectRoute(route: any): void;
|
|
32
|
-
checkroutes(route: Route): Route;
|
|
33
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
34
|
-
showRoute(): void;
|
|
35
|
-
toggleDrivermenu(event: any): void;
|
|
36
|
-
visiblesection(value: string): boolean;
|
|
37
|
-
toggleFilterRoute(filterList: Route[]): void;
|
|
38
|
-
clearList(): void;
|
|
39
|
-
sendMessage(): void;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RouteJobCodeListComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RouteJobCodeListComponent, "app-route-jobcode-list", never, { "loader": "loader"; "type": "type"; "data": "data"; "currentNav": "currentNav"; "searchTerm": "searchTerm"; "clearListSeletion": "clearListSeletion"; }, { "emitroute": "emitroute"; "showAllRoute": "showAllRoute"; "clearJobDetailsFromList": "clearJobDetailsFromList"; }, never, never, false>;
|
|
42
|
-
}
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
|
3
|
+
import { FormControl } from '@angular/forms';
|
|
4
|
+
import { CoolmapService, Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class RouteJobCodeListComponent implements OnInit, OnChanges {
|
|
7
|
+
coolMap: CoolmapService;
|
|
8
|
+
utils: UtilsService;
|
|
9
|
+
loader: boolean;
|
|
10
|
+
type: string;
|
|
11
|
+
data: Route[];
|
|
12
|
+
currentNav: string;
|
|
13
|
+
emitroute: EventEmitter<any>;
|
|
14
|
+
showAllRoute: EventEmitter<any>;
|
|
15
|
+
preventMouseout: boolean;
|
|
16
|
+
filterList: Route[];
|
|
17
|
+
searchTerm: any;
|
|
18
|
+
isDriverList: boolean;
|
|
19
|
+
selectedRoute: SelectionModel<any>;
|
|
20
|
+
driverList: any;
|
|
21
|
+
preventListSelect: boolean;
|
|
22
|
+
clearJobDetailsFromList: EventEmitter<any>;
|
|
23
|
+
preventDetailsClose: boolean;
|
|
24
|
+
messageLoader: boolean;
|
|
25
|
+
driverMessage: FormControl<string>;
|
|
26
|
+
clearListSeletion: boolean;
|
|
27
|
+
isSmsList: boolean;
|
|
28
|
+
constructor(coolMap: CoolmapService, utils: UtilsService);
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
passRoute(job: Route): void;
|
|
31
|
+
selectRoute(route: any): void;
|
|
32
|
+
checkroutes(route: Route): Route;
|
|
33
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
34
|
+
showRoute(): void;
|
|
35
|
+
toggleDrivermenu(event: any): void;
|
|
36
|
+
visiblesection(value: string): boolean;
|
|
37
|
+
toggleFilterRoute(filterList: Route[]): void;
|
|
38
|
+
clearList(): void;
|
|
39
|
+
sendMessage(): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RouteJobCodeListComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RouteJobCodeListComponent, "app-route-jobcode-list", never, { "loader": "loader"; "type": "type"; "data": "data"; "currentNav": "currentNav"; "searchTerm": "searchTerm"; "clearListSeletion": "clearListSeletion"; }, { "emitroute": "emitroute"; "showAllRoute": "showAllRoute"; "clearJobDetailsFromList": "clearJobDetailsFromList"; }, never, never, false, never>;
|
|
42
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class SmsCardDetailsOverviewComponent {
|
|
3
|
-
jobValue: any;
|
|
4
|
-
label: string[];
|
|
5
|
-
overViewEnum: any;
|
|
6
|
-
constructor();
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmsCardDetailsOverviewComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmsCardDetailsOverviewComponent, "app-sms-card-details-overview", never, { "jobValue": "jobValue"; }, {}, never, never, false>;
|
|
9
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SmsCardDetailsOverviewComponent {
|
|
3
|
+
jobValue: any;
|
|
4
|
+
label: string[];
|
|
5
|
+
overViewEnum: any;
|
|
6
|
+
constructor();
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmsCardDetailsOverviewComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmsCardDetailsOverviewComponent, "app-sms-card-details-overview", never, { "jobValue": "jobValue"; }, {}, never, never, false, never>;
|
|
9
|
+
}
|