ca-components 1.3.95 → 1.3.97
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/esm2022/lib/components/ca-map/ca-map.component.mjs +6 -6
- package/esm2022/lib/components/ca-map/enums/map-marker-string.enum.mjs +5 -1
- package/esm2022/lib/components/ca-map/models/map.model.mjs +1 -1
- package/esm2022/lib/components/ca-map/utils/constants/map-options.constants.mjs +27 -18
- package/esm2022/lib/components/ca-map/utils/helpers/map-marker-icon.helper.mjs +51 -10
- package/esm2022/lib/components/ca-period-content/ca-period-content.component.mjs +3 -3
- package/esm2022/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.mjs +3 -3
- package/esm2022/lib/components/ca-progress-bar/ca-progress-bar.component.mjs +4 -5
- package/esm2022/lib/components/ca-upload-files/components/ca-upload-file/ca-upload-file.component.mjs +3 -3
- package/fesm2022/ca-components.mjs +94 -41
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/components/ca-map/ca-map.component.d.ts +1 -15
- package/lib/components/ca-map/enums/map-marker-string.enum.d.ts +4 -0
- package/lib/components/ca-map/models/map.model.d.ts +14 -0
- package/lib/components/ca-map/utils/constants/map-options.constants.d.ts +15 -68
- package/lib/components/ca-map/utils/helpers/map-marker-icon.helper.d.ts +1 -0
- package/package.json +1 -1
|
@@ -28,21 +28,7 @@ export declare class CaMapComponent {
|
|
|
28
28
|
mapStyleId: string;
|
|
29
29
|
mapData: ICaMapProps;
|
|
30
30
|
openedInfoWindowData: IMapMarkers | null;
|
|
31
|
-
areaFilterData:
|
|
32
|
-
options: {
|
|
33
|
-
fillColor: string;
|
|
34
|
-
strokeWeight: number;
|
|
35
|
-
fillOpacity: number;
|
|
36
|
-
editable: boolean;
|
|
37
|
-
draggable: boolean;
|
|
38
|
-
clickable: boolean;
|
|
39
|
-
};
|
|
40
|
-
center: {
|
|
41
|
-
lat: number;
|
|
42
|
-
lng: number;
|
|
43
|
-
};
|
|
44
|
-
radius: number;
|
|
45
|
-
};
|
|
31
|
+
areaFilterData: import("./models/map.model").IMapAreaFIlter;
|
|
46
32
|
clusterMarkerIds: IMapMarkers[];
|
|
47
33
|
routingMarkerIds: IMapMarkers[];
|
|
48
34
|
routePolylines: google.maps.PolylineOptions[];
|
|
@@ -2,6 +2,10 @@ export declare enum MapMarkerStringEnum {
|
|
|
2
2
|
PICKUP = "pickup",
|
|
3
3
|
DELIVERY = "delivery",
|
|
4
4
|
DEADHEAD = "deadhead",
|
|
5
|
+
REPAIR = "repair",
|
|
6
|
+
FUEL = "fuel",
|
|
7
|
+
TOWING = "towing",
|
|
8
|
+
PARKING = "parking",
|
|
5
9
|
CURRENT_LOCATION = "Current Location",
|
|
6
10
|
DARK = "dark",
|
|
7
11
|
LIGHT = "light",
|
|
@@ -131,3 +131,17 @@ export interface IMapList {
|
|
|
131
131
|
isSelected?: boolean;
|
|
132
132
|
id?: number;
|
|
133
133
|
}
|
|
134
|
+
export interface IMapAreaFIlter {
|
|
135
|
+
options: IMapAreaFilterOptions;
|
|
136
|
+
center: IRoutePath;
|
|
137
|
+
radius: number;
|
|
138
|
+
}
|
|
139
|
+
interface IMapAreaFilterOptions {
|
|
140
|
+
fillColor: string;
|
|
141
|
+
strokeWeight: number;
|
|
142
|
+
fillOpacity: number;
|
|
143
|
+
editable: boolean;
|
|
144
|
+
draggable: boolean;
|
|
145
|
+
clickable: boolean;
|
|
146
|
+
}
|
|
147
|
+
export {};
|
|
@@ -1,70 +1,17 @@
|
|
|
1
|
-
import { ICaMapProps, IMapOptions, IRoutePath } from '../../models';
|
|
1
|
+
import { ICaMapProps, IMapAreaFIlter, IMapDashedRouteIcon, IMapDashedRouteStyle, IMapOptions, IMapPagination, IRoutePath } from '../../models';
|
|
2
2
|
export declare class MapOptionsConstants {
|
|
3
|
-
static
|
|
4
|
-
static
|
|
5
|
-
static
|
|
6
|
-
static
|
|
7
|
-
static
|
|
8
|
-
static
|
|
9
|
-
static
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
static
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
fillOpacity: number;
|
|
18
|
-
editable: boolean;
|
|
19
|
-
draggable: boolean;
|
|
20
|
-
clickable: boolean;
|
|
21
|
-
};
|
|
22
|
-
center: {
|
|
23
|
-
lat: number;
|
|
24
|
-
lng: number;
|
|
25
|
-
};
|
|
26
|
-
radius: number;
|
|
27
|
-
};
|
|
28
|
-
static routingMarkerDarkColors: {
|
|
29
|
-
pickup: string;
|
|
30
|
-
delivery: string;
|
|
31
|
-
deadhead: string;
|
|
32
|
-
};
|
|
33
|
-
static routingMarkerLightColors: {
|
|
34
|
-
pickup: string;
|
|
35
|
-
delivery: string;
|
|
36
|
-
deadhead: string;
|
|
37
|
-
};
|
|
38
|
-
static routingPathColors: {
|
|
39
|
-
currentLocation: string;
|
|
40
|
-
deadhead: string;
|
|
41
|
-
default: string;
|
|
42
|
-
gray: string;
|
|
43
|
-
};
|
|
44
|
-
static routingDashedLinePath: {
|
|
45
|
-
path: string;
|
|
46
|
-
strokeOpacity: number;
|
|
47
|
-
strokeColor: string;
|
|
48
|
-
scale: number;
|
|
49
|
-
};
|
|
50
|
-
static routingDashedLineIcon: {
|
|
51
|
-
icon: {
|
|
52
|
-
path: string;
|
|
53
|
-
strokeOpacity: number;
|
|
54
|
-
strokeColor: string;
|
|
55
|
-
scale: number;
|
|
56
|
-
};
|
|
57
|
-
offset: string;
|
|
58
|
-
repeat: string;
|
|
59
|
-
}[];
|
|
60
|
-
static routingMarkerOutlineColors: {
|
|
61
|
-
pickup: string;
|
|
62
|
-
delivery: string;
|
|
63
|
-
deadhead: string;
|
|
64
|
-
white: string;
|
|
65
|
-
};
|
|
66
|
-
static routingMarkerDotColors: {
|
|
67
|
-
dark: string;
|
|
68
|
-
light: string;
|
|
69
|
-
};
|
|
3
|
+
static DEFAULT_MAP_OPTIONS: IMapOptions;
|
|
4
|
+
static DEFAULT_MAP_CONFIG: ICaMapProps;
|
|
5
|
+
static DEFAULT_MAP_ZOOM: number;
|
|
6
|
+
static DEFAULT_MAP_CENTER: IRoutePath;
|
|
7
|
+
static MAP_LIST_PAGINATION: IMapPagination;
|
|
8
|
+
static AREA_FILTER_DATA: IMapAreaFIlter;
|
|
9
|
+
static ROUTING_MARKER_DARK_COLORS: Record<string, string>;
|
|
10
|
+
static ROUTING_MARKER_LIGHT_COLORS: Record<string, string>;
|
|
11
|
+
static ROUTING_PATH_COLORS: Record<string, string>;
|
|
12
|
+
static ROUTING_DASHED_LINE_PATH: IMapDashedRouteIcon;
|
|
13
|
+
static ROUTING_DASHED_LINE_ICON: IMapDashedRouteStyle[];
|
|
14
|
+
static ROUTING_MARKER_OUTLINE_COLORS: Record<string, string>;
|
|
15
|
+
static ROUTING_MARKER_DOT_COLORS: Record<string, string>;
|
|
16
|
+
static ROUTING_MARKER_ICON_PATHS: Record<string, string>;
|
|
70
17
|
}
|
|
@@ -3,6 +3,7 @@ export declare class MapMarkerIconHelper {
|
|
|
3
3
|
static getRoutingMarkerIcon: (stopNumber: number, stopType: string, isStopChecked?: boolean, isLightMode?: boolean) => string;
|
|
4
4
|
static getRoutingMarkerSvg: (stopNumber: number, stopType: string, isLightMode?: boolean) => string;
|
|
5
5
|
static getRoutingCheckedMarkerSvg: (stopType: string, isLightMode?: boolean) => string;
|
|
6
|
+
static getRoutingMarkerIconSvg: (stopType: string) => string;
|
|
6
7
|
static getMapMarker(isFavorite?: boolean, isClosed?: boolean): string;
|
|
7
8
|
static getClusterMarker(count: number, isSelected?: boolean): string;
|
|
8
9
|
}
|