ca-components 0.0.53 → 0.0.55
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-app-tooltip-v2/ca-app-tooltip-v2.component.mjs +5 -5
- package/esm2022/lib/components/ca-filters/ca-filter.component.mjs +4 -4
- package/esm2022/lib/components/ca-filters/components/ca-user-filter/ca-user-filter.component.mjs +4 -4
- package/esm2022/lib/components/ca-input/ca-input.component.mjs +4 -4
- package/esm2022/lib/components/ca-input/components/ca-input-clear/ca-input-clear.component.mjs +4 -4
- package/esm2022/lib/components/ca-input/components/ca-input-commands/ca-input-commands.component.mjs +4 -4
- package/esm2022/lib/components/ca-input/components/ca-input-password/ca-input-password.component.mjs +4 -4
- package/esm2022/lib/components/ca-input/components/ca-input-placeholder-icon/ca-input-placeholder-icon.component.mjs +4 -4
- package/esm2022/lib/components/ca-input-address-dropdown/ca-input-address-dropdown.component.mjs +4 -4
- package/esm2022/lib/components/ca-map/ca-map.component.mjs +3 -3
- package/esm2022/lib/components/ca-map/models/map.model.mjs +1 -1
- package/esm2022/lib/components/ca-note/ca-note.component.mjs +4 -4
- package/esm2022/lib/components/ca-note-container/ca-note-container.component.mjs +4 -4
- package/esm2022/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.mjs +4 -4
- package/esm2022/lib/components/ca-rating-review/ca-rating-review.component.mjs +4 -4
- package/esm2022/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.mjs +6 -6
- package/esm2022/lib/components/ca-truck-trailer-progress-bar/ca-truck-trailer-progress-bar.component.mjs +4 -4
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/ca-components.mjs +82 -50
- package/fesm2022/ca-components.mjs.map +1 -1
- package/lib/components/ca-app-tooltip-v2/ca-app-tooltip-v2.component.d.ts +2 -2
- package/lib/components/ca-map/ca-map.component.d.ts +2 -2
- package/lib/components/ca-map/models/map.model.d.ts +26 -4
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -3,7 +3,7 @@ import { TemplateRef, AfterViewInit, OnInit } from '@angular/core';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class CaAppTooltipV2Component implements OnInit, AfterViewInit {
|
|
5
5
|
private ngbTooltop;
|
|
6
|
-
|
|
6
|
+
mainCaTooltip?: string;
|
|
7
7
|
position: string;
|
|
8
8
|
openTooltipDelay: number;
|
|
9
9
|
tooltipBackground?: string;
|
|
@@ -16,5 +16,5 @@ export declare class CaAppTooltipV2Component implements OnInit, AfterViewInit {
|
|
|
16
16
|
ngAfterViewInit(): void;
|
|
17
17
|
bindTemplete(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaAppTooltipV2Component, [{ host: true; }]>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaAppTooltipV2Component, "
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaAppTooltipV2Component, "mainCaTooltip, [mainCaTooltip]", never, { "mainCaTooltip": { "alias": "mainCaTooltip"; "required": false; }; "position": { "alias": "position"; "required": false; }; "openTooltipDelay": { "alias": "openTooltipDelay"; "required": false; }; "tooltipBackground": { "alias": "tooltipBackground"; "required": false; }; "tooltipColor": { "alias": "tooltipColor"; "required": false; }; "tooltipTextAlign": { "alias": "tooltipTextAlign"; "required": false; }; "tooltipMarginTop": { "alias": "tooltipMarginTop"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
20
20
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="google.maps" />
|
|
2
2
|
import { ChangeDetectorRef, EventEmitter, QueryList, SimpleChanges } from '@angular/core';
|
|
3
3
|
import { GoogleMap, MapInfoWindow, MapMarker } from '@angular/google-maps';
|
|
4
|
-
import { IMapMarkers,
|
|
4
|
+
import { IMapMarkers, ICaMapProps } from '../ca-map/models/map.model';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class CaMapComponent {
|
|
7
7
|
cd: ChangeDetectorRef;
|
|
8
8
|
constructor(cd: ChangeDetectorRef);
|
|
9
|
-
data:
|
|
9
|
+
data: ICaMapProps | any;
|
|
10
10
|
markerClick: EventEmitter<google.maps.MapMouseEvent>;
|
|
11
11
|
maps: GoogleMap;
|
|
12
12
|
marker: QueryList<MapMarker>;
|
|
@@ -3,7 +3,7 @@ export interface IRoutePath {
|
|
|
3
3
|
lat: number;
|
|
4
4
|
lng: number;
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
6
|
+
export interface ICaMapProps {
|
|
7
7
|
center: IRoutePath;
|
|
8
8
|
mapZoom: number;
|
|
9
9
|
mapOptions: IMapOptions;
|
|
@@ -20,7 +20,24 @@ export interface IMapStories {
|
|
|
20
20
|
isDriverMiles?: boolean;
|
|
21
21
|
}
|
|
22
22
|
export interface IMapOptions {
|
|
23
|
-
|
|
23
|
+
fullscreenControl: boolean;
|
|
24
|
+
disableDefaultUI: boolean;
|
|
25
|
+
restriction: {
|
|
26
|
+
latLngBounds: {
|
|
27
|
+
north: number;
|
|
28
|
+
south: number;
|
|
29
|
+
east: number;
|
|
30
|
+
west: number;
|
|
31
|
+
};
|
|
32
|
+
strictBounds: boolean;
|
|
33
|
+
};
|
|
34
|
+
streetViewControl: boolean;
|
|
35
|
+
styles: IMapStyles[];
|
|
36
|
+
keyboardShortcuts: boolean;
|
|
37
|
+
panControl: boolean;
|
|
38
|
+
gestureHandling: string;
|
|
39
|
+
mapOptions?: {
|
|
40
|
+
fullscreenControl: boolean;
|
|
24
41
|
restriction: {
|
|
25
42
|
latLngBounds: {
|
|
26
43
|
north: number;
|
|
@@ -38,11 +55,16 @@ export interface IMapOptions {
|
|
|
38
55
|
};
|
|
39
56
|
}
|
|
40
57
|
export interface IMapStyles {
|
|
41
|
-
elementType
|
|
58
|
+
elementType?: string;
|
|
59
|
+
featureType?: string;
|
|
42
60
|
stylers: IMapColor[];
|
|
43
61
|
}
|
|
44
62
|
export interface IMapColor {
|
|
45
|
-
color
|
|
63
|
+
color?: string;
|
|
64
|
+
visibility?: string;
|
|
65
|
+
weight?: number;
|
|
66
|
+
saturation?: number;
|
|
67
|
+
lightness?: number;
|
|
46
68
|
}
|
|
47
69
|
export interface IMapMarkers {
|
|
48
70
|
position: IRoutePath;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -22,3 +22,4 @@ export * from './lib/components/ca-period-content/ca-period-content.component';
|
|
|
22
22
|
export * from './lib/components/ca-input-note/ca-input-note.component';
|
|
23
23
|
export * from './lib/components/ca-search-multiple-states/utils/services/search-multiple-states.service';
|
|
24
24
|
export * from './lib/components/ca-rating-review/ca-rating-review.component';
|
|
25
|
+
export * from './lib/components/ca-map/models/map.model';
|