ca-components 1.0.52 → 1.0.53

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.
@@ -2,5 +2,8 @@ export declare enum MapMarkerStringEnum {
2
2
  PICKUP = "pickup",
3
3
  DELIVERY = "delivery",
4
4
  DEADHEAD = "deadhead",
5
- CURRENT_LOCATION = "Current Location"
5
+ CURRENT_LOCATION = "Current Location",
6
+ DARK = "dark",
7
+ LIGHT = "light",
8
+ WHITE = "white"
6
9
  }
@@ -1,7 +1,8 @@
1
1
  /// <reference types="google.maps" />
2
- import { IMapOptions, IRoutePath } from '../../models/map.model';
2
+ import { ICaMapProps, IMapOptions, IRoutePath } from '../../models/map.model';
3
3
  export declare class MapOptionsConstants {
4
4
  static defaultMapOptions: IMapOptions;
5
+ static defaultMapConfig: ICaMapProps;
5
6
  static defaultMapZoom: number;
6
7
  static defaultMapCenter: IRoutePath;
7
8
  static defaultMarkerSize: google.maps.Size;
@@ -21,7 +22,12 @@ export declare class MapOptionsConstants {
21
22
  };
22
23
  radius: number;
23
24
  };
24
- static routingMarkerColors: {
25
+ static routingMarkerDarkColors: {
26
+ pickup: string;
27
+ delivery: string;
28
+ deadhead: string;
29
+ };
30
+ static routingMarkerLightColors: {
25
31
  pickup: string;
26
32
  delivery: string;
27
33
  deadhead: string;
@@ -30,6 +36,7 @@ export declare class MapOptionsConstants {
30
36
  currentLocation: string;
31
37
  deadhead: string;
32
38
  default: string;
39
+ gray: string;
33
40
  };
34
41
  static routingDashedLinePath: {
35
42
  path: string;
@@ -47,4 +54,14 @@ export declare class MapOptionsConstants {
47
54
  offset: string;
48
55
  repeat: string;
49
56
  }[];
57
+ static routingMarkerOutlineColors: {
58
+ pickup: string;
59
+ delivery: string;
60
+ deadhead: string;
61
+ white: string;
62
+ };
63
+ static routingMarkerDotColors: {
64
+ dark: string;
65
+ light: string;
66
+ };
50
67
  }
@@ -1,4 +1,6 @@
1
1
  export declare class MapMarkerIconHelper {
2
- static getRoutingMarkerIcon: (stopNumber: number, stopType: string, isStopChecked?: boolean) => string;
3
- static getRoutingMarkerSvg: (stopNumber: number, stopType: string) => string;
2
+ static getRoutingMarkerIcon: (stopNumber: number, stopType: string, isStopChecked?: boolean, isLightMode?: boolean) => string;
3
+ static getRoutingMarkerSvg: (stopNumber: number, stopType: string, isLightMode?: boolean) => string;
4
+ static getMapMarker(isFavorite?: boolean, isClosed?: boolean): string;
5
+ static getClusterMarker(count: number, isSelected?: boolean): string;
4
6
  }
@@ -4,4 +4,7 @@ export declare class MapSvgRoutes {
4
4
  static routingCheckedPickupMarker: string;
5
5
  static routingCheckedDeliveryMarker: string;
6
6
  static routingCheckedDeadheadMarker: string;
7
+ static defaultMarkerIcon: string;
8
+ static favoriteMarkerIcon: string;
9
+ static closedMarkerIcon: string;
7
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ca-components",
3
- "version": "1.0.52",
3
+ "version": "1.0.53",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.2.0",
6
6
  "@angular/core": "^16.2.0",
@@ -0,0 +1,27 @@
1
+ <svg width="30" height="33" viewBox="0 0 30 33" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g filter="url(#filter0_f_27438_44116)">
3
+ <path d="M15 31C18.3137 31 21 30.1046 21 29C21 27.8954 18.3137 27 15 27C11.6863 27 9 27.8954 9 29C9 30.1046 11.6863 31 15 31Z" fill="black" fill-opacity="0.6"/>
4
+ </g>
5
+ <g filter="url(#filter1_d_27438_44116)">
6
+ <path d="M26 14.9732C25.9991 16.7715 25.5554 18.542 24.708 20.1289C23.8606 21.7157 22.6355 23.0702 21.1405 24.0732C21.1165 24.0912 20.7609 24.3102 20.6207 24.4022C17.2485 26.5422 15.8954 27.9872 15.3505 28.8022C15.2859 28.8991 15.1854 28.9665 15.0712 28.9897C14.9569 29.0129 14.8381 28.9901 14.7406 28.9262C14.6916 28.8932 14.6494 28.8511 14.6164 28.8022C14.0716 27.9912 12.7135 26.5462 9.34626 24.4022C9.19302 24.3072 8.8515 24.0912 8.82646 24.0732C7.25656 23.0103 5.9886 21.5601 5.14572 19.8635C4.30285 18.1669 3.91368 16.2815 4.01603 14.3904C4.11837 12.4993 4.70874 10.6667 5.72981 9.0707C6.75088 7.47466 8.16796 6.16936 9.84342 5.28155C11.5189 4.39375 13.3958 3.95361 15.292 4.00387C17.1881 4.05413 19.039 4.5931 20.6649 5.56842C22.2908 6.54374 23.6365 7.92228 24.5713 9.57017C25.5062 11.2181 25.9983 13.0793 26 14.9732Z" fill="white"/>
7
+ </g>
8
+ <circle cx="15" cy="15" r="9" fill="#6692F1"/>
9
+ <circle cx="15" cy="15" r="5" fill="white"/>
10
+ <defs>
11
+ <filter id="filter0_f_27438_44116" x="7" y="25" width="16" height="8" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
12
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
13
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
14
+ <feGaussianBlur stdDeviation="1" result="effect1_foregroundBlur_27438_44116"/>
15
+ </filter>
16
+ <filter id="filter1_d_27438_44116" x="0" y="0" width="30" height="32.9985" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
17
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
18
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
19
+ <feOffset/>
20
+ <feGaussianBlur stdDeviation="2"/>
21
+ <feComposite in2="hardAlpha" operator="out"/>
22
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
23
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_27438_44116"/>
24
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_27438_44116" result="shape"/>
25
+ </filter>
26
+ </defs>
27
+ </svg>
@@ -0,0 +1,27 @@
1
+ <svg width="30" height="33" viewBox="0 0 30 33" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g filter="url(#filter0_f_27438_39114)">
3
+ <path d="M15 31C18.3137 31 21 30.1046 21 29C21 27.8954 18.3137 27 15 27C11.6863 27 9 27.8954 9 29C9 30.1046 11.6863 31 15 31Z" fill="black" fill-opacity="0.6"/>
4
+ </g>
5
+ <g filter="url(#filter1_d_27438_39114)">
6
+ <path d="M26 14.9732C25.9991 16.7715 25.5554 18.542 24.708 20.1289C23.8606 21.7157 22.6355 23.0702 21.1405 24.0732C21.1165 24.0912 20.7609 24.3102 20.6207 24.4022C17.2485 26.5422 15.8954 27.9872 15.3505 28.8022C15.2859 28.8991 15.1854 28.9665 15.0712 28.9897C14.9569 29.0129 14.8381 28.9901 14.7406 28.9262C14.6916 28.8932 14.6494 28.8511 14.6164 28.8022C14.0716 27.9912 12.7135 26.5462 9.34626 24.4022C9.19302 24.3072 8.8515 24.0912 8.82646 24.0732C7.25656 23.0103 5.9886 21.5601 5.14572 19.8635C4.30285 18.1669 3.91368 16.2815 4.01603 14.3904C4.11837 12.4993 4.70874 10.6667 5.72981 9.0707C6.75088 7.47466 8.16796 6.16936 9.84342 5.28155C11.5189 4.39375 13.3958 3.95361 15.292 4.00387C17.1881 4.05413 19.039 4.5931 20.6649 5.56842C22.2908 6.54374 23.6365 7.92228 24.5713 9.57017C25.5062 11.2181 25.9983 13.0793 26 14.9732Z" fill="white"/>
7
+ </g>
8
+ <circle cx="15" cy="15" r="9" fill="#E66767"/>
9
+ <path d="M16.5917 15.0001L18.9793 12.6122C19.1201 12.4714 19.1991 12.2805 19.1991 12.0814C19.1991 11.8824 19.1201 11.6914 18.9793 11.5507L18.4486 11.0199C18.3078 10.8791 18.1169 10.8 17.9178 10.8C17.7188 10.8 17.5279 10.8791 17.3871 11.0199L15.0001 13.4077L12.6118 11.0199C12.4711 10.8791 12.2802 10.8 12.0811 10.8C11.882 10.8 11.6911 10.8791 11.5504 11.0199L11.0196 11.5507C10.8789 11.6914 10.7998 11.8824 10.7998 12.0814C10.7998 12.2805 10.8789 12.4714 11.0196 12.6122L13.4073 15.0001L11.0203 17.3879C10.8796 17.5287 10.8005 17.7196 10.8005 17.9187C10.8005 18.1177 10.8796 18.3087 11.0203 18.4494L11.551 18.9802C11.6918 19.121 11.8827 19.2 12.0818 19.2C12.2808 19.2 12.4717 19.121 12.6125 18.9802L15.0001 16.5924L17.3878 18.9802C17.5285 19.121 17.7195 19.2 17.9185 19.2C18.1176 19.2 18.3085 19.121 18.4493 18.9802L18.98 18.4494C19.1207 18.3087 19.1998 18.1177 19.1998 17.9187C19.1998 17.7196 19.1207 17.5287 18.98 17.3879L16.5917 15.0001Z" fill="white"/>
10
+ <defs>
11
+ <filter id="filter0_f_27438_39114" x="7" y="25" width="16" height="8" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
12
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
13
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
14
+ <feGaussianBlur stdDeviation="1" result="effect1_foregroundBlur_27438_39114"/>
15
+ </filter>
16
+ <filter id="filter1_d_27438_39114" x="0" y="0" width="30" height="32.9985" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
17
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
18
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
19
+ <feOffset/>
20
+ <feGaussianBlur stdDeviation="2"/>
21
+ <feComposite in2="hardAlpha" operator="out"/>
22
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
23
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_27438_39114"/>
24
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_27438_39114" result="shape"/>
25
+ </filter>
26
+ </defs>
27
+ </svg>
@@ -0,0 +1,27 @@
1
+ <svg width="30" height="33" viewBox="0 0 30 33" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g filter="url(#filter0_f_27438_45474)">
3
+ <path d="M15 31C18.3137 31 21 30.1046 21 29C21 27.8954 18.3137 27 15 27C11.6863 27 9 27.8954 9 29C9 30.1046 11.6863 31 15 31Z" fill="black" fill-opacity="0.6"/>
4
+ </g>
5
+ <g filter="url(#filter1_d_27438_45474)">
6
+ <path d="M26 14.9732C25.9991 16.7715 25.5554 18.542 24.708 20.1289C23.8606 21.7157 22.6355 23.0702 21.1405 24.0732C21.1165 24.0912 20.7609 24.3102 20.6207 24.4022C17.2485 26.5422 15.8954 27.9872 15.3505 28.8022C15.2859 28.8991 15.1854 28.9665 15.0712 28.9897C14.9569 29.0129 14.8381 28.9901 14.7406 28.9262C14.6916 28.8932 14.6494 28.8511 14.6164 28.8022C14.0716 27.9912 12.7135 26.5462 9.34626 24.4022C9.19302 24.3072 8.8515 24.0912 8.82646 24.0732C7.25656 23.0103 5.9886 21.5601 5.14572 19.8635C4.30285 18.1669 3.91368 16.2815 4.01603 14.3904C4.11837 12.4993 4.70874 10.6667 5.72981 9.0707C6.75088 7.47466 8.16796 6.16936 9.84342 5.28155C11.5189 4.39375 13.3958 3.95361 15.292 4.00387C17.1881 4.05413 19.039 4.5931 20.6649 5.56842C22.2908 6.54374 23.6365 7.92228 24.5713 9.57017C25.5062 11.2181 25.9983 13.0793 26 14.9732Z" fill="white"/>
7
+ </g>
8
+ <circle cx="15" cy="15" r="9" fill="#6692F1"/>
9
+ <path d="M20.3715 13.6803C20.339 13.5707 20.2747 13.4731 20.1868 13.3999C20.099 13.3268 19.9914 13.2813 19.8777 13.2692L16.7605 12.9736L15.5284 9.96352C15.4875 9.85661 15.4151 9.76463 15.3209 9.69973C15.2266 9.63484 15.1149 9.6001 15.0004 9.6001C14.886 9.6001 14.7742 9.63484 14.6799 9.69973C14.5857 9.76463 14.5133 9.85661 14.4725 9.96352L13.2404 12.9736L10.1225 13.2692C10.0089 13.2814 9.90137 13.327 9.81351 13.4001C9.72565 13.4733 9.66135 13.5707 9.62867 13.6803C9.59364 13.7914 9.59076 13.9101 9.62037 14.0228C9.64999 14.1355 9.71089 14.2374 9.79603 14.3169L12.1529 16.4737L11.4582 19.6676C11.4327 19.7812 11.4401 19.8997 11.4796 20.0092C11.5191 20.1187 11.589 20.2147 11.6811 20.2859C11.7708 20.3547 11.8794 20.3943 11.9923 20.3995C12.1052 20.4047 12.217 20.3752 12.3126 20.3149L15.0004 18.6375L17.6882 20.3149C17.7838 20.3751 17.8956 20.4046 18.0085 20.3994C18.1214 20.3942 18.23 20.3546 18.3197 20.2859C18.4118 20.2147 18.4817 20.1187 18.5212 20.0092C18.5607 19.8997 18.5681 19.7812 18.5426 19.6676L17.848 16.4737L20.2042 14.3169C20.2893 14.2374 20.3502 14.1355 20.3798 14.0228C20.4094 13.9101 20.4066 13.7914 20.3715 13.6803Z" fill="white"/>
10
+ <defs>
11
+ <filter id="filter0_f_27438_45474" x="7" y="25" width="16" height="8" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
12
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
13
+ <feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
14
+ <feGaussianBlur stdDeviation="1" result="effect1_foregroundBlur_27438_45474"/>
15
+ </filter>
16
+ <filter id="filter1_d_27438_45474" x="0" y="0" width="30" height="32.9985" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
17
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
18
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
19
+ <feOffset/>
20
+ <feGaussianBlur stdDeviation="2"/>
21
+ <feComposite in2="hardAlpha" operator="out"/>
22
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
23
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_27438_45474"/>
24
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_27438_45474" result="shape"/>
25
+ </filter>
26
+ </defs>
27
+ </svg>