@aggdirect/coolmap-services 1.4.9 → 4.0.1
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 +43 -18
- package/fesm2022/aggdirect-coolmap-services.mjs +851 -646
- package/fesm2022/aggdirect-coolmap-services.mjs.map +1 -1
- package/index.d.ts +212 -5
- package/package.json +13 -26
- package/esm2022/aggdirect-coolmap-services.mjs +0 -5
- package/esm2022/lib/service/coolmap.service.mjs +0 -637
- package/esm2022/lib/service/data-model.mjs +0 -92
- package/esm2022/lib/service/utils.service.mjs +0 -400
- package/esm2022/public-api.mjs +0 -7
- package/lib/service/coolmap.service.d.ts +0 -47
- package/lib/service/data-model.d.ts +0 -94
- package/lib/service/utils.service.d.ts +0 -78
- package/public-api.d.ts +0 -3
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
export declare class Route {
|
|
2
|
-
index: number;
|
|
3
|
-
type?: string | null;
|
|
4
|
-
customer_contact?: string | null;
|
|
5
|
-
customer_name?: string | null;
|
|
6
|
-
delivery_contact?: string | null;
|
|
7
|
-
delivery_lat?: number | null;
|
|
8
|
-
delivery_location?: string | null | undefined;
|
|
9
|
-
delivery_lon?: number | null;
|
|
10
|
-
driver_list?: Array<any>;
|
|
11
|
-
material?: string | null;
|
|
12
|
-
order_number?: string | null;
|
|
13
|
-
pickup_lat?: number | null;
|
|
14
|
-
pickup_location?: string | null | undefined;
|
|
15
|
-
pickup_lon?: number | null;
|
|
16
|
-
project?: string | null;
|
|
17
|
-
total_count?: number;
|
|
18
|
-
unit?: string | null;
|
|
19
|
-
values: any;
|
|
20
|
-
job_id?: string;
|
|
21
|
-
isSelected?: boolean;
|
|
22
|
-
date?: string;
|
|
23
|
-
created_at?: string | null;
|
|
24
|
-
created_by_name?: string | null;
|
|
25
|
-
customer_id?: string | null;
|
|
26
|
-
delivery_lat_lng?: string | null;
|
|
27
|
-
estimated_distance?: string | null;
|
|
28
|
-
estimated_time?: string | null;
|
|
29
|
-
materials_id?: string | null;
|
|
30
|
-
path?: [number, number];
|
|
31
|
-
pickup_lat_lng?: string | null;
|
|
32
|
-
route_id?: string | null;
|
|
33
|
-
route_name?: string | null;
|
|
34
|
-
unit_id?: string | null;
|
|
35
|
-
note?: string | null;
|
|
36
|
-
materialLabel?: string | null;
|
|
37
|
-
isActive?: boolean;
|
|
38
|
-
prevent?: boolean;
|
|
39
|
-
is_system_pickup?: boolean;
|
|
40
|
-
is_system_delivery?: boolean;
|
|
41
|
-
}
|
|
42
|
-
export declare const EstinationData: string[];
|
|
43
|
-
export declare enum EstinationEnum {
|
|
44
|
-
estimated_distance = "miles",
|
|
45
|
-
estimated_time = "time"
|
|
46
|
-
}
|
|
47
|
-
export declare const JobCodeOverviewData: string[];
|
|
48
|
-
export declare enum JobCodeOverviewEnum {
|
|
49
|
-
material = "Material",
|
|
50
|
-
order_number = "Job Code",
|
|
51
|
-
customer_name = "Customer",
|
|
52
|
-
customer_contact = "Customer Contact",
|
|
53
|
-
delivery_contact = "Delivery Contact",
|
|
54
|
-
project = "Project Name",
|
|
55
|
-
unit = "Job Type",
|
|
56
|
-
pickup_location = "Pickup",
|
|
57
|
-
delivery_location = "Delivery"
|
|
58
|
-
}
|
|
59
|
-
export declare const DriversmsCardKey: string[];
|
|
60
|
-
export declare enum DriverSmsCardEnum {
|
|
61
|
-
order_number = "Jobcode",
|
|
62
|
-
date = "Date",
|
|
63
|
-
values = "Total tasks",
|
|
64
|
-
material = "Material",
|
|
65
|
-
unit = "Unit",
|
|
66
|
-
pickup_location = "Pickup Address",
|
|
67
|
-
delivery_location = "Delivery Address"
|
|
68
|
-
}
|
|
69
|
-
export declare class PopupData {
|
|
70
|
-
coordinate: [number, number];
|
|
71
|
-
pickup: string | null;
|
|
72
|
-
jobCode?: string | null;
|
|
73
|
-
customer?: string | null;
|
|
74
|
-
drop: string | null;
|
|
75
|
-
routeType: string | null;
|
|
76
|
-
title: string | null;
|
|
77
|
-
material: string | null;
|
|
78
|
-
type: string | null;
|
|
79
|
-
}
|
|
80
|
-
export declare class CoolmapConfigModel {
|
|
81
|
-
analyticsRESTURL: string | null;
|
|
82
|
-
RESTURLPrefix: string | null;
|
|
83
|
-
repository: string | null;
|
|
84
|
-
mapboxStyle: string | null;
|
|
85
|
-
mapboxAccessToken: string | null;
|
|
86
|
-
}
|
|
87
|
-
export declare class CustomerRepoDetailsModel {
|
|
88
|
-
customer: CustomerDetailsModel | null;
|
|
89
|
-
projectId: string | null;
|
|
90
|
-
}
|
|
91
|
-
export declare class CustomerDetailsModel {
|
|
92
|
-
id: string | null;
|
|
93
|
-
name: string | null;
|
|
94
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { NgZone } from '@angular/core';
|
|
3
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
4
|
-
import { BehaviorSubject } from 'rxjs';
|
|
5
|
-
import { CoolmapConfigModel, Route } from './data-model';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export interface LocationAll {
|
|
8
|
-
city: string;
|
|
9
|
-
latitude: string;
|
|
10
|
-
location_id: string;
|
|
11
|
-
longitude: string;
|
|
12
|
-
name: string;
|
|
13
|
-
state: string;
|
|
14
|
-
street: string;
|
|
15
|
-
suite: null;
|
|
16
|
-
zip: string;
|
|
17
|
-
formatted_address: string;
|
|
18
|
-
complete_address: string;
|
|
19
|
-
}
|
|
20
|
-
export declare class UtilsService {
|
|
21
|
-
http: HttpClient;
|
|
22
|
-
snackBar: MatSnackBar;
|
|
23
|
-
private config;
|
|
24
|
-
ngZone: NgZone;
|
|
25
|
-
analyticsRESTURL: string;
|
|
26
|
-
RESTURLPrefix: string;
|
|
27
|
-
pickupOptions: any[];
|
|
28
|
-
destOptions: any[];
|
|
29
|
-
ownerOptions: any[];
|
|
30
|
-
customerOptions: any[];
|
|
31
|
-
unitOptions: any[];
|
|
32
|
-
materialOptions: any[];
|
|
33
|
-
jcodeOptions: any[];
|
|
34
|
-
driverOption: any[];
|
|
35
|
-
truckingCompanayOption: any[];
|
|
36
|
-
routeNameOptions: any[];
|
|
37
|
-
preventnavChange: BehaviorSubject<boolean>;
|
|
38
|
-
navChangeObserve: import("rxjs").Observable<boolean>;
|
|
39
|
-
clearViewRouteforJobCode: BehaviorSubject<boolean>;
|
|
40
|
-
clearViewRouteforJobCodeObserve: import("rxjs").Observable<boolean>;
|
|
41
|
-
preVentJobdetailclose: BehaviorSubject<boolean>;
|
|
42
|
-
getpreVentJobdetailclose: import("rxjs").Observable<boolean>;
|
|
43
|
-
routeDetailsUtility: BehaviorSubject<{}>;
|
|
44
|
-
getrouteDetailsUtility: import("rxjs").Observable<{}>;
|
|
45
|
-
removeMapEntity: BehaviorSubject<{}>;
|
|
46
|
-
removeMapEntityUtility: import("rxjs").Observable<{}>;
|
|
47
|
-
dict: Map<string, string>;
|
|
48
|
-
unitsList: any;
|
|
49
|
-
materialsList: any;
|
|
50
|
-
materialsListForCustomer: any;
|
|
51
|
-
customersList: any;
|
|
52
|
-
locationList: any;
|
|
53
|
-
pickUpAutocomplete: any;
|
|
54
|
-
constructor(http: HttpClient, snackBar: MatSnackBar, config: CoolmapConfigModel, ngZone: NgZone);
|
|
55
|
-
getDateFormat(strVal: Date | null, seprater?: string): string;
|
|
56
|
-
getData(path: string): import("rxjs").Observable<Object>;
|
|
57
|
-
getRestData(path: string): import("rxjs").Observable<Object>;
|
|
58
|
-
postdata(path: string, data: any): import("rxjs").Observable<Object>;
|
|
59
|
-
postDataWithRestUrl(path: string, data: any): import("rxjs").Observable<Object>;
|
|
60
|
-
autocomplete(searchElementRef: any, type?: any): Promise<unknown>;
|
|
61
|
-
openSnackBar(message: string, className?: string): void;
|
|
62
|
-
makeOptions(item: Route): void;
|
|
63
|
-
filter(value: string, filters: any): any[];
|
|
64
|
-
getSearchResults(list: Route[], filterval: any): any;
|
|
65
|
-
clearOptions(): void;
|
|
66
|
-
setdictValue(key: string, value: string): void;
|
|
67
|
-
getdictValue(key: string): any;
|
|
68
|
-
removedictValue(key: string): void;
|
|
69
|
-
conveySearchIcon(value: any): boolean;
|
|
70
|
-
fetchUnitsList(): Promise<unknown>;
|
|
71
|
-
fetchMaterialsList(): Promise<unknown>;
|
|
72
|
-
fetchMaterialsListForCustomer(): Promise<unknown>;
|
|
73
|
-
filtermaterialList(list: any): any[];
|
|
74
|
-
fetchCustomersList(): Promise<unknown>;
|
|
75
|
-
fetchLocationlist(): Promise<unknown>;
|
|
76
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UtilsService, never>;
|
|
77
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UtilsService>;
|
|
78
|
-
}
|
package/public-api.d.ts
DELETED