ca-components 2.0.58 → 2.0.59
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/assets/scss/spacing.scss +2 -2
- package/assets/scss/text-size.scss +4 -0
- package/fesm2022/ca-components.mjs +301 -250
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/components/ca-fuel-prices-range/utils/constants/fuel-prices-range.constants.d.ts +1 -0
- package/lib/components/ca-map/ca-map.component.d.ts +5 -3
- package/lib/components/ca-map/utils/helpers/map.helper.d.ts +5 -0
- package/lib/components/ca-map/utils/services/map-marker-icon.service.d.ts +1 -1
- package/lib/utils/svg-routes/shared-svg.routes.d.ts +2 -0
- package/package.json +1 -1
package/lib/components/ca-fuel-prices-range/utils/constants/fuel-prices-range.constants.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare class FuelPricesRangeConstants {
|
|
2
2
|
static FUEL_PRICES_RANGE_CIRCLE_SVG_CLASS_COLOR: Record<string, string>;
|
|
3
3
|
static FUEL_PRICES_RANGE_ARROW_SVG_CLASS_COLOR: Record<string, string>;
|
|
4
|
+
static FUEL_PRICES_RANGE_BACKGROUND_CLASS_COLOR: Record<string, string>;
|
|
4
5
|
}
|
|
@@ -2,6 +2,7 @@ import { ChangeDetectorRef, ElementRef, EventEmitter, QueryList, Renderer2 } fro
|
|
|
2
2
|
import { GoogleMap, MapAdvancedMarker } from '@angular/google-maps';
|
|
3
3
|
import { IMapMarkers, ICaMapProps, IMapOptions, IRoutePath, IMapBoundsZoom, IMapAreaFilter } from '../ca-map/models';
|
|
4
4
|
import { MapMarkerIconService } from './utils/services';
|
|
5
|
+
import { SharedSvgRoutes } from '../../utils/svg-routes';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class CaMapComponent {
|
|
7
8
|
cd: ChangeDetectorRef;
|
|
@@ -29,6 +30,8 @@ export declare class CaMapComponent {
|
|
|
29
30
|
map: google.maps.Map | null;
|
|
30
31
|
mapStyleId: string;
|
|
31
32
|
mapData: ICaMapProps;
|
|
33
|
+
mapScaleMilesLabel: number;
|
|
34
|
+
mapScalePixelWidth: number;
|
|
32
35
|
openedInfoWindowData: IMapMarkers | null;
|
|
33
36
|
selectedRoutingMarker: IMapMarkers | null;
|
|
34
37
|
areaFilterData: IMapAreaFilter | null;
|
|
@@ -39,8 +42,7 @@ export declare class CaMapComponent {
|
|
|
39
42
|
isMapCenterSet: boolean;
|
|
40
43
|
openDropdownTimeout: ReturnType<typeof setTimeout> | number;
|
|
41
44
|
selectRoutingTimeout: ReturnType<typeof setTimeout> | number;
|
|
42
|
-
|
|
43
|
-
private routingMarkerIds;
|
|
45
|
+
sharedSvgRoutes: typeof SharedSvgRoutes;
|
|
44
46
|
ngOnInit(): void;
|
|
45
47
|
ngAfterViewInit(): void;
|
|
46
48
|
onClusterMarkerClick(markerItem: IMapMarkers): void;
|
|
@@ -73,8 +75,8 @@ export declare class CaMapComponent {
|
|
|
73
75
|
private highlightSingleMarker;
|
|
74
76
|
private updatePolylineColorsByRoute;
|
|
75
77
|
private updatePolylineColorsByMarker;
|
|
76
|
-
private getMarkerServiceData;
|
|
77
78
|
private storeRoutePathColors;
|
|
79
|
+
private getScaleDistance;
|
|
78
80
|
ngOnDestroy(): void;
|
|
79
81
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaMapComponent, never>;
|
|
80
82
|
static ɵcmp: i0.ɵɵComponentDeclaration<CaMapComponent, "app-ca-map", never, { "data": { "alias": "data"; "required": false; }; }, { "resetSelectedMarkerItem": "resetSelectedMarkerItem"; "routingMarkerClick": "routingMarkerClick"; "clusterMarkerClick": "clusterMarkerClick"; "clusterListScrollEvent": "clusterListScrollEvent"; "getInfoWindowData": "getInfoWindowData"; "boundsChanged": "boundsChanged"; "openInMapEvent": "openInMapEvent"; }, never, never, true, never>;
|
|
@@ -12,4 +12,9 @@ export declare class MapHelper {
|
|
|
12
12
|
bounds?: google.maps.LatLngBounds | null;
|
|
13
13
|
mapZoom?: number | null;
|
|
14
14
|
};
|
|
15
|
+
static getMapScaleDistance(map: google.maps.Map): {
|
|
16
|
+
roundedMiles: number;
|
|
17
|
+
pixelLength: number;
|
|
18
|
+
};
|
|
19
|
+
static getRoundedMiles(miles: number): number;
|
|
15
20
|
}
|
|
@@ -13,7 +13,7 @@ export declare class MapMarkerIconService {
|
|
|
13
13
|
private clusterElements;
|
|
14
14
|
private routingElements;
|
|
15
15
|
constructor(rendererFactory: RendererFactory2);
|
|
16
|
-
getMarkerIcon(markerId: number, labelName?: string, isClosed?: boolean, isFavorite?: boolean, isAlwaysSelected?: boolean, fuelMarkerClass?: string, secondLabelName?: string): HTMLElement;
|
|
16
|
+
getMarkerIcon(markerId: number, labelName?: string, isClosed?: boolean, isFavorite?: boolean, isAlwaysSelected?: boolean, fuelMarkerClass?: string, secondLabelName?: string, isCreateNewMarker?: boolean): HTMLElement;
|
|
17
17
|
getClusterMarkerIcon(markerData: IMapMarkers, isFuelMarker?: boolean): HTMLElement;
|
|
18
18
|
getRoutingMarkerIcon(markerData: IMapMarkers, stopNumber: number, stopType: string, isStopChecked?: boolean, isLightMode?: boolean, labelName?: string): HTMLElement;
|
|
19
19
|
getCurrentLocationMarkerIcon(markerData: IMapMarkers, motionStatus: eGpsMotionStatus): HTMLElement;
|