ca-components 1.6.65 → 1.6.66
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-input-datetime-picker/ca-input-datetime-picker.component.mjs +2 -1
- package/esm2022/lib/components/ca-map/ca-map.component.mjs +5 -5
- package/esm2022/lib/components/ca-map/models/map.model.mjs +1 -1
- package/esm2022/lib/components/ca-map/utils/constants/map-options.constants.mjs +1 -1
- package/fesm2022/ca-components.mjs +5 -4
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/components/ca-map/ca-map.component.d.ts +2 -3
- package/lib/components/ca-map/models/map.model.d.ts +2 -1
- package/lib/components/ca-map/utils/constants/map-options.constants.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, Renderer2 } from '@angular/core';
|
|
2
2
|
import { GoogleMap } from '@angular/google-maps';
|
|
3
|
-
import { IMapMarkers, ICaMapProps, IMapOptions, IRoutePath, IMapBoundsZoom } from '../ca-map/models';
|
|
3
|
+
import { IMapMarkers, ICaMapProps, IMapOptions, IRoutePath, IMapBoundsZoom, IMapAreaFilter } from '../ca-map/models';
|
|
4
4
|
import { MapMarkerIconService } from './utils/services';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class CaMapComponent {
|
|
@@ -30,13 +30,12 @@ export declare class CaMapComponent {
|
|
|
30
30
|
mapData: ICaMapProps;
|
|
31
31
|
openedInfoWindowData: IMapMarkers | null;
|
|
32
32
|
selectedRoutingMarker: IMapMarkers | null;
|
|
33
|
-
areaFilterData:
|
|
33
|
+
areaFilterData: IMapAreaFilter | null;
|
|
34
34
|
routePathColors: string[];
|
|
35
35
|
routePolylines: google.maps.PolylineOptions[];
|
|
36
36
|
isMarkerDropdownOpen: boolean;
|
|
37
37
|
isClusterDropdownOpen: boolean;
|
|
38
38
|
isMapCenterSet: boolean;
|
|
39
|
-
isAreaFilterActive: boolean;
|
|
40
39
|
openDropdownTimeout: ReturnType<typeof setTimeout> | number;
|
|
41
40
|
selectRoutingTimeout: ReturnType<typeof setTimeout> | number;
|
|
42
41
|
private clusterMarkerIds;
|
|
@@ -26,6 +26,7 @@ export interface ICaMapProps {
|
|
|
26
26
|
isZoomShown?: boolean;
|
|
27
27
|
isVerticalZoom?: boolean;
|
|
28
28
|
isOpenInMapShown?: boolean;
|
|
29
|
+
areaFilterData?: IMapAreaFilter;
|
|
29
30
|
}
|
|
30
31
|
export interface IMapOptions {
|
|
31
32
|
fullscreenControl: boolean;
|
|
@@ -133,7 +134,7 @@ export interface IMapList {
|
|
|
133
134
|
isSelected?: boolean;
|
|
134
135
|
id?: number;
|
|
135
136
|
}
|
|
136
|
-
export interface
|
|
137
|
+
export interface IMapAreaFilter {
|
|
137
138
|
options: IMapAreaFilterOptions;
|
|
138
139
|
center: IRoutePath;
|
|
139
140
|
radius: number;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ICaMapProps,
|
|
1
|
+
import { ICaMapProps, IMapAreaFilter, IMapDashedRouteIcon, IMapDashedRouteStyle, IMapOptions, IMapPagination, IRoutePath } from '../../models';
|
|
2
2
|
export declare class MapOptionsConstants {
|
|
3
3
|
static DEFAULT_MAP_OPTIONS: IMapOptions;
|
|
4
4
|
static DEFAULT_MAP_CONFIG: ICaMapProps;
|
|
5
5
|
static DEFAULT_MAP_ZOOM: number;
|
|
6
6
|
static DEFAULT_MAP_CENTER: IRoutePath;
|
|
7
7
|
static MAP_LIST_PAGINATION: IMapPagination;
|
|
8
|
-
static AREA_FILTER_DATA:
|
|
8
|
+
static AREA_FILTER_DATA: IMapAreaFilter;
|
|
9
9
|
static ROUTING_MARKER_DARK_COLORS: Record<string, string>;
|
|
10
10
|
static ROUTING_MARKER_LIGHT_COLORS: Record<string, string>;
|
|
11
11
|
static ROUTING_PATH_COLORS: Record<string, string>;
|