@aggdirect/coolmap 2.0.8 → 2.1.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 +34 -1
- package/esm2020/aggdirect-coolmap.mjs +5 -0
- package/esm2020/lib/component/add-route/add-route.component.mjs +317 -0
- package/esm2020/lib/component/job-code/job-code.component.mjs +174 -0
- package/esm2020/lib/component/map/map.component.mjs +37 -0
- package/esm2020/lib/component/nav/layout/add-route-nav/add-route-nav.component.mjs +145 -0
- package/esm2020/lib/component/nav/layout/job-code-nav/job-code-nav.component.mjs +114 -0
- package/esm2020/lib/component/nav/nav.component.mjs +52 -0
- package/esm2020/lib/component/route-jobcode-list/job-code-list-card/job-code-list-card.component.mjs +72 -0
- package/esm2020/lib/component/route-jobcode-list/route-jobcode-list.component.mjs +314 -0
- package/esm2020/lib/component/route-jobcode-list/sms-card-details-overview/sms-card-details-overview.component.mjs +19 -0
- package/esm2020/lib/component/route-jobcode-list/view-route-list-card/view-route-list-card.component.mjs +29 -0
- package/esm2020/lib/component/shared/dialog/dialog.component.mjs +29 -0
- package/esm2020/lib/component/shared/estimation-display/estimation-display.component.mjs +19 -0
- package/esm2020/lib/component/shared/job-route-list/job-route-list.component.mjs +71 -0
- package/esm2020/lib/component/shared/jobcode-overview/jobcode-overview.component.mjs +19 -0
- package/esm2020/lib/component/shared/jobcode-status/jobcode-status.component.mjs +14 -0
- package/esm2020/lib/coolmap.module.mjs +182 -0
- package/esm2020/public-api.mjs +19 -0
- package/fesm2015/aggdirect-coolmap.mjs +1524 -0
- package/fesm2015/aggdirect-coolmap.mjs.map +1 -0
- package/fesm2020/aggdirect-coolmap.mjs +1490 -0
- package/fesm2020/aggdirect-coolmap.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/component/add-route/add-route.component.d.ts +61 -60
- package/lib/component/job-code/job-code.component.d.ts +40 -29
- package/lib/component/map/map.component.d.ts +15 -12
- package/lib/component/nav/layout/add-route-nav/add-route-nav.component.d.ts +49 -36
- package/lib/component/nav/layout/job-code-nav/job-code-nav.component.d.ts +42 -34
- package/lib/component/nav/nav.component.d.ts +31 -28
- package/lib/component/route-jobcode-list/job-code-list-card/job-code-list-card.component.d.ts +20 -16
- package/lib/component/route-jobcode-list/route-jobcode-list.component.d.ts +42 -39
- package/lib/component/route-jobcode-list/sms-card-details-overview/sms-card-details-overview.component.d.ts +9 -6
- package/lib/component/route-jobcode-list/view-route-list-card/view-route-list-card.component.d.ts +11 -8
- package/lib/component/shared/dialog/dialog.component.d.ts +13 -10
- package/lib/component/shared/estimation-display/estimation-display.component.d.ts +9 -6
- package/lib/component/shared/job-route-list/job-route-list.component.d.ts +26 -21
- package/lib/component/shared/jobcode-overview/jobcode-overview.component.d.ts +9 -6
- package/lib/component/shared/jobcode-status/jobcode-status.component.d.ts +8 -5
- package/lib/coolmap.module.d.ts +43 -2
- package/package.json +40 -15
- package/public-api.d.ts +15 -16
- package/bundles/coolmap.umd.js +0 -1383
- package/bundles/coolmap.umd.js.map +0 -1
- package/bundles/coolmap.umd.min.js +0 -2
- package/bundles/coolmap.umd.min.js.map +0 -1
- package/coolmap.d.ts +0 -5
- package/coolmap.metadata.json +0 -1
- package/esm2015/coolmap.js +0 -6
- package/esm2015/coolmap.ngsummary.json +0 -1
- package/esm2015/lib/component/add-route/add-route.component.js +0 -309
- package/esm2015/lib/component/add-route/add-route.component.ngfactory.js +0 -304
- package/esm2015/lib/component/add-route/add-route.component.ngsummary.json +0 -1
- package/esm2015/lib/component/job-code/job-code.component.js +0 -116
- package/esm2015/lib/component/job-code/job-code.component.ngfactory.js +0 -77
- package/esm2015/lib/component/job-code/job-code.component.ngsummary.json +0 -1
- package/esm2015/lib/component/map/map.component.js +0 -39
- package/esm2015/lib/component/map/map.component.ngfactory.js +0 -23
- package/esm2015/lib/component/map/map.component.ngsummary.json +0 -1
- package/esm2015/lib/component/nav/layout/add-route-nav/add-route-nav.component.js +0 -79
- package/esm2015/lib/component/nav/layout/add-route-nav/add-route-nav.component.ngfactory.js +0 -142
- package/esm2015/lib/component/nav/layout/add-route-nav/add-route-nav.component.ngsummary.json +0 -1
- package/esm2015/lib/component/nav/layout/job-code-nav/job-code-nav.component.js +0 -82
- package/esm2015/lib/component/nav/layout/job-code-nav/job-code-nav.component.ngfactory.js +0 -194
- package/esm2015/lib/component/nav/layout/job-code-nav/job-code-nav.component.ngsummary.json +0 -1
- package/esm2015/lib/component/nav/nav.component.js +0 -54
- package/esm2015/lib/component/nav/nav.component.ngfactory.js +0 -43
- package/esm2015/lib/component/nav/nav.component.ngsummary.json +0 -1
- package/esm2015/lib/component/route-jobcode-list/job-code-list-card/job-code-list-card.component.js +0 -66
- package/esm2015/lib/component/route-jobcode-list/job-code-list-card/job-code-list-card.component.ngfactory.js +0 -46
- package/esm2015/lib/component/route-jobcode-list/job-code-list-card/job-code-list-card.component.ngsummary.json +0 -1
- package/esm2015/lib/component/route-jobcode-list/route-jobcode-list.component.js +0 -301
- package/esm2015/lib/component/route-jobcode-list/route-jobcode-list.component.ngfactory.js +0 -99
- package/esm2015/lib/component/route-jobcode-list/route-jobcode-list.component.ngsummary.json +0 -1
- package/esm2015/lib/component/route-jobcode-list/sms-card-details-overview/sms-card-details-overview.component.js +0 -20
- package/esm2015/lib/component/route-jobcode-list/sms-card-details-overview/sms-card-details-overview.component.ngfactory.js +0 -21
- package/esm2015/lib/component/route-jobcode-list/sms-card-details-overview/sms-card-details-overview.component.ngsummary.json +0 -1
- package/esm2015/lib/component/route-jobcode-list/view-route-list-card/view-route-list-card.component.js +0 -30
- package/esm2015/lib/component/route-jobcode-list/view-route-list-card/view-route-list-card.component.ngfactory.js +0 -30
- package/esm2015/lib/component/route-jobcode-list/view-route-list-card/view-route-list-card.component.ngsummary.json +0 -1
- package/esm2015/lib/component/shared/dialog/dialog.component.js +0 -29
- package/esm2015/lib/component/shared/dialog/dialog.component.ngfactory.js +0 -24
- package/esm2015/lib/component/shared/dialog/dialog.component.ngsummary.json +0 -1
- package/esm2015/lib/component/shared/estimation-display/estimation-display.component.js +0 -20
- package/esm2015/lib/component/shared/estimation-display/estimation-display.component.ngfactory.js +0 -23
- package/esm2015/lib/component/shared/estimation-display/estimation-display.component.ngsummary.json +0 -1
- package/esm2015/lib/component/shared/job-route-list/job-route-list.component.js +0 -63
- package/esm2015/lib/component/shared/job-route-list/job-route-list.component.ngfactory.js +0 -134
- package/esm2015/lib/component/shared/job-route-list/job-route-list.component.ngsummary.json +0 -1
- package/esm2015/lib/component/shared/jobcode-overview/jobcode-overview.component.js +0 -20
- package/esm2015/lib/component/shared/jobcode-overview/jobcode-overview.component.ngfactory.js +0 -19
- package/esm2015/lib/component/shared/jobcode-overview/jobcode-overview.component.ngsummary.json +0 -1
- package/esm2015/lib/component/shared/jobcode-status/jobcode-status.component.js +0 -16
- package/esm2015/lib/component/shared/jobcode-status/jobcode-status.component.ngfactory.js +0 -17
- package/esm2015/lib/component/shared/jobcode-status/jobcode-status.component.ngsummary.json +0 -1
- package/esm2015/lib/coolmap.component.js +0 -18
- package/esm2015/lib/coolmap.component.ngfactory.js +0 -16
- package/esm2015/lib/coolmap.component.ngsummary.json +0 -1
- package/esm2015/lib/coolmap.module.js +0 -108
- package/esm2015/lib/coolmap.module.ngfactory.js +0 -46
- package/esm2015/lib/coolmap.module.ngsummary.json +0 -1
- package/esm2015/public-api.js +0 -20
- package/esm2015/public-api.ngsummary.json +0 -1
- package/fesm2015/coolmap.js +0 -1317
- package/fesm2015/coolmap.js.map +0 -1
- package/lib/component/add-route/add-route.component.ngfactory.d.ts +0 -1
- package/lib/component/job-code/job-code.component.ngfactory.d.ts +0 -1
- package/lib/component/map/map.component.ngfactory.d.ts +0 -1
- package/lib/component/nav/layout/add-route-nav/add-route-nav.component.ngfactory.d.ts +0 -1
- package/lib/component/nav/layout/job-code-nav/job-code-nav.component.ngfactory.d.ts +0 -1
- package/lib/component/nav/nav.component.ngfactory.d.ts +0 -1
- package/lib/component/route-jobcode-list/job-code-list-card/job-code-list-card.component.ngfactory.d.ts +0 -1
- package/lib/component/route-jobcode-list/route-jobcode-list.component.ngfactory.d.ts +0 -1
- package/lib/component/route-jobcode-list/sms-card-details-overview/sms-card-details-overview.component.ngfactory.d.ts +0 -1
- package/lib/component/route-jobcode-list/view-route-list-card/view-route-list-card.component.ngfactory.d.ts +0 -1
- package/lib/component/shared/dialog/dialog.component.ngfactory.d.ts +0 -1
- package/lib/component/shared/estimation-display/estimation-display.component.ngfactory.d.ts +0 -1
- package/lib/component/shared/job-route-list/job-route-list.component.ngfactory.d.ts +0 -1
- package/lib/component/shared/jobcode-overview/jobcode-overview.component.ngfactory.d.ts +0 -1
- package/lib/component/shared/jobcode-status/jobcode-status.component.ngfactory.d.ts +0 -1
- package/lib/coolmap.component.d.ts +0 -5
- package/lib/coolmap.component.ngfactory.d.ts +0 -1
- package/lib/coolmap.module.ngfactory.d.ts +0 -3
|
@@ -1,29 +1,40 @@
|
|
|
1
|
-
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
|
-
import { OnInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { CoolmapService, Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
+
private config;
|
|
10
|
+
jobdetail: any;
|
|
11
|
+
customerRepoDetails: CustomerRepoDetailsModel;
|
|
12
|
+
isVisible: boolean;
|
|
13
|
+
routes: Route[];
|
|
14
|
+
selectedRoute: SelectionModel<any>;
|
|
15
|
+
clearJobDetails: EventEmitter<any>;
|
|
16
|
+
isOverlapRouteSection: boolean;
|
|
17
|
+
destroyer$: Subject<boolean>;
|
|
18
|
+
detailsCardEnable: boolean | string;
|
|
19
|
+
preventMouseout: boolean;
|
|
20
|
+
routeCardDetail: Route;
|
|
21
|
+
preventListUpdate: boolean;
|
|
22
|
+
masterRoutes: any;
|
|
23
|
+
unitList: any;
|
|
24
|
+
materialsList: any;
|
|
25
|
+
constructor(utils: UtilsService, coolMap: CoolmapService, config: CoolmapConfigModel);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
checkAndCallRouteList(): void;
|
|
28
|
+
getUnitName(data: any): string;
|
|
29
|
+
getMaterialName(data: any): string;
|
|
30
|
+
getRouteListForCoolMap(): void;
|
|
31
|
+
getRouteListForCustomer(): void;
|
|
32
|
+
toggleSidemenu(): void;
|
|
33
|
+
clearJob(): void;
|
|
34
|
+
selectRoute(event: Route): void;
|
|
35
|
+
masterToggle(): void;
|
|
36
|
+
togglerouteDetails(eventType: string | boolean, route: Route, mouseOut?: boolean): void;
|
|
37
|
+
ngOnDestroy(): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JobCodeComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JobCodeComponent, "app-job-code", never, { "jobdetail": "jobdetail"; "customerRepoDetails": "customerRepoDetails"; }, { "clearJobDetails": "clearJobDetails"; }, never, never, false>;
|
|
40
|
+
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { CoolmapService } from '@aggdirect/coolmap-services';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { CoolmapService } from '@aggdirect/coolmap-services';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
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,36 +1,49 @@
|
|
|
1
|
-
import { EventEmitter, SimpleChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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,34 +1,42 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MatDatepickerInputEvent } from '@angular/material/datepicker';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { FormGroup } from '@angular/forms';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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,28 +1,31 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { CoolmapService, UtilsService } from '@aggdirect/coolmap-services';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
+
}
|
package/lib/component/route-jobcode-list/job-code-list-card/job-code-list-card.component.d.ts
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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,39 +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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
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,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
+
}
|
package/lib/component/route-jobcode-list/view-route-list-card/view-route-list-card.component.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ViewRouteListCardComponent {
|
|
4
|
+
utils: UtilsService;
|
|
5
|
+
route: Route;
|
|
6
|
+
emitrouteevent: any;
|
|
7
|
+
constructor(utils: UtilsService);
|
|
8
|
+
detailsDict(event: boolean | string, route: Route): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ViewRouteListCardComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ViewRouteListCardComponent, "app-view-route-list-card", never, { "route": "route"; "emitrouteevent": "emitrouteevent"; }, {}, never, never, false>;
|
|
11
|
+
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DialogComponent {
|
|
4
|
+
dialogRef: MatDialogRef<DialogComponent>;
|
|
5
|
+
data: any;
|
|
6
|
+
body: string;
|
|
7
|
+
positive: string;
|
|
8
|
+
negative: string;
|
|
9
|
+
constructor(dialogRef: MatDialogRef<DialogComponent>, data: any);
|
|
10
|
+
onClose(result: boolean): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "app-dialog", never, {}, {}, never, never, false>;
|
|
13
|
+
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class EstimationDisplayComponent {
|
|
3
|
+
value: any;
|
|
4
|
+
label: string[];
|
|
5
|
+
Estinationlabel: any;
|
|
6
|
+
constructor();
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EstimationDisplayComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EstimationDisplayComponent, "app-estimation-display", never, { "value": "value"; }, {}, never, never, false>;
|
|
9
|
+
}
|
|
@@ -1,21 +1,26 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { CoolmapService, Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { CoolmapService, Route, UtilsService } from '@aggdirect/coolmap-services';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class JobRouteListComponent {
|
|
7
|
+
utils: UtilsService;
|
|
8
|
+
coolMap: CoolmapService;
|
|
9
|
+
changeNav: EventEmitter<any>;
|
|
10
|
+
filteredOptions: Observable<any[]> | undefined;
|
|
11
|
+
preventListUpdate: boolean;
|
|
12
|
+
filterForm: FormGroup<{
|
|
13
|
+
search: FormControl<any>;
|
|
14
|
+
}>;
|
|
15
|
+
filters: any[];
|
|
16
|
+
routes: Route[];
|
|
17
|
+
selectedRoute: any;
|
|
18
|
+
changeRoutes: EventEmitter<any>;
|
|
19
|
+
changeSelectedRoute: EventEmitter<any>;
|
|
20
|
+
masterRoutes: Route[];
|
|
21
|
+
constructor(utils: UtilsService, coolMap: CoolmapService);
|
|
22
|
+
filterSearch(e: any): void;
|
|
23
|
+
removeFromFilter(filter: any): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JobRouteListComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JobRouteListComponent, "app-job-route-list", never, { "routes": "routes"; "selectedRoute": "selectedRoute"; "masterRoutes": "masterRoutes"; }, { "changeNav": "changeNav"; "changeRoutes": "changeRoutes"; "changeSelectedRoute": "changeSelectedRoute"; }, never, never, false>;
|
|
26
|
+
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class JobcodeOverviewComponent {
|
|
3
|
+
jobValue: any;
|
|
4
|
+
label: string[];
|
|
5
|
+
overViewEnum: any;
|
|
6
|
+
constructor();
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JobcodeOverviewComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JobcodeOverviewComponent, "app-jobcode-overview", never, { "jobValue": "jobValue"; }, {}, never, never, false>;
|
|
9
|
+
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { Route } from '@aggdirect/coolmap-services';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { Route } from '@aggdirect/coolmap-services';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class JobcodeStatusComponent {
|
|
4
|
+
jobValue: Route;
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JobcodeStatusComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JobcodeStatusComponent, "app-jobcode-status", never, { "jobValue": "jobValue"; }, {}, never, never, false>;
|
|
8
|
+
}
|