ecabs-components 1.1.81 → 1.1.83

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.
@@ -6,15 +6,18 @@ export interface WaypointSuggestion {
6
6
  suggestion_id?: string;
7
7
  additional_info?: string;
8
8
  location?: GeoPoint;
9
- place_id: string;
9
+ locality?: string;
10
+ place_id?: string | null;
10
11
  frequency?: number;
11
12
  last_visit?: string | Date;
12
13
  geo_key?: string;
13
14
  prediction_term?: PredictionTerm[];
14
15
  }
15
16
  export interface GeoPoint {
16
- lat: number;
17
- lng: number;
17
+ lat?: number;
18
+ lng?: number;
19
+ latitude?: number;
20
+ longitude?: number;
18
21
  }
19
22
  export interface GooglePlaceResult {
20
23
  place: PlaceResult;
@@ -46,6 +46,8 @@ export declare class EcabsPlaceAutocompleteV2Component extends EcabsElementBaseC
46
46
  onUserInput(query: string): void;
47
47
  trackBySuggestion(index: number, suggestion: WaypointSuggestion): string;
48
48
  onSelectSuggestion(suggestion: WaypointSuggestion): void;
49
+ private toLatLng;
50
+ private toPlaceFallback;
49
51
  private resolveByPlaceId;
50
52
  onKeyDown(event: KeyboardEvent): void;
51
53
  onBlur(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecabs-components",
3
- "version": "1.1.81",
3
+ "version": "1.1.83",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.12",
6
6
  "@angular/common": "^16.2.12",
@@ -1,56 +1,56 @@
1
- :root {
2
- --color-black: #020618;
3
- --color-white: #ffffff;
4
- --color-white-opacity-05: rgba(0, 0, 0, 0.05);
5
-
6
- /* #Grays */
7
- --color-gray-50: #F8FAFC;
8
- --color-gray-100: #F1F5F9;
9
- --color-gray-200: #E2E8F0;
10
- --color-gray-300: #CAD5E2;
11
- --color-gray-400: #90A1B9;
12
- --color-gray-500: #62748E;
13
- --color-gray-600: #45556C;
14
- --color-gray-700: #314158;
15
- --color-gray-800: #1D293D;
16
- --color-gray-900: #0F172B;
17
- --color-gray-950: #020618;
18
-
19
- /* #Brand */
20
- --color-brand-dark: #193273;
21
- --color-brand-dark-rgb: 25, 50, 115;
22
-
23
- --color-brand-light: #325FDA;
24
- --color-brand-light2: #e7efff;
25
- --color-brand-light-rgb: 50, 95, 218;
26
-
27
- --color-brand-300: #e7efff;
28
- --color-brand-300-rgb: 231, 239, 255;
29
-
30
- /* #Accent */
31
- --color-error: #bb032a;
32
- --color-error-opacity: #FFF0EE;
33
- --color-error-rgb: 223, 56, 56;
34
-
35
- --color-notification: #f4d04f;
36
- --color-notification-rgb: 244, 208, 79;
37
-
38
- --color-info: #325fda;
39
- --color-info-rgb: 50, 95, 218;
40
- --color-info-messages: #e3e9f3;
41
-
42
- --color-warning: #845201;
43
- --color-warning-opacity: #FDF2DC;
44
-
45
- --color-success: #166C3B;
46
- --color-success--opacity: #EAF6ED;
47
- --color-success-rgb: 7, 81, 69;
48
-
49
- --color-allocation-started: #E8F8E5;
50
- --color-allocation-scheduled: #FDF0E4;
51
- --color-allocation-ended: #FBE4E4;
52
- --color-allocation-sick: #E7EFFF;
53
- --color-allocation-no-show: #EAE5FF;
54
- --color-allocation-unavailable: #F2F2F2;
55
- --cropper-outline-color: rgba(0, 0, 0, 0.5);
56
- }
1
+ :root {
2
+ --color-black: #020618;
3
+ --color-white: #ffffff;
4
+ --color-white-opacity-05: rgba(0, 0, 0, 0.05);
5
+
6
+ /* #Grays */
7
+ --color-gray-50: #F8FAFC;
8
+ --color-gray-100: #F1F5F9;
9
+ --color-gray-200: #E2E8F0;
10
+ --color-gray-300: #CAD5E2;
11
+ --color-gray-400: #90A1B9;
12
+ --color-gray-500: #62748E;
13
+ --color-gray-600: #45556C;
14
+ --color-gray-700: #314158;
15
+ --color-gray-800: #1D293D;
16
+ --color-gray-900: #0F172B;
17
+ --color-gray-950: #020618;
18
+
19
+ /* #Brand */
20
+ --color-brand-dark: #193273;
21
+ --color-brand-dark-rgb: 25, 50, 115;
22
+
23
+ --color-brand-light: #325FDA;
24
+ --color-brand-light2: #e7efff;
25
+ --color-brand-light-rgb: 50, 95, 218;
26
+
27
+ --color-brand-300: #e7efff;
28
+ --color-brand-300-rgb: 231, 239, 255;
29
+
30
+ /* #Accent */
31
+ --color-error: #bb032a;
32
+ --color-error-opacity: #FFF0EE;
33
+ --color-error-rgb: 223, 56, 56;
34
+
35
+ --color-notification: #f4d04f;
36
+ --color-notification-rgb: 244, 208, 79;
37
+
38
+ --color-info: #325fda;
39
+ --color-info-rgb: 50, 95, 218;
40
+ --color-info-messages: #e3e9f3;
41
+
42
+ --color-warning: #845201;
43
+ --color-warning-opacity: #FDF2DC;
44
+
45
+ --color-success: #166C3B;
46
+ --color-success--opacity: #EAF6ED;
47
+ --color-success-rgb: 7, 81, 69;
48
+
49
+ --color-allocation-started: #E8F8E5;
50
+ --color-allocation-scheduled: #FDF0E4;
51
+ --color-allocation-ended: #FBE4E4;
52
+ --color-allocation-sick: #E7EFFF;
53
+ --color-allocation-no-show: #EAE5FF;
54
+ --color-allocation-unavailable: #F2F2F2;
55
+ --cropper-outline-color: rgba(0, 0, 0, 0.5);
56
+ }