@road-labs/map-sdk 0.0.19 → 0.0.21
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/dist/i18n.d.ts +5 -0
- package/dist/index.js +13 -42
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2923 -3495
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +4 -2
- package/dist/utils/filters.d.ts +1 -0
- package/package.json +5 -7
package/dist/types.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export type FilterConfiguration = {
|
|
|
5
5
|
showNoAdditionalFeeFilter?: boolean;
|
|
6
6
|
showPublishingModeFilter?: boolean;
|
|
7
7
|
publishingMode?: PublishingMode[];
|
|
8
|
+
showVehicleAvailabilityFilter?: boolean;
|
|
8
9
|
operators?: string[];
|
|
9
10
|
};
|
|
10
11
|
export type RoadMapOptions = {
|
|
@@ -78,13 +79,13 @@ export type GeohashItem = {
|
|
|
78
79
|
count: number;
|
|
79
80
|
};
|
|
80
81
|
export type OcpiPriceComponent = {
|
|
81
|
-
type: "FLAT" | "TIME" | "ENERGY" | "PARKING_TIME";
|
|
82
|
+
type: "FLAT" | "TIME" | "ENERGY" | "PARKING_TIME" | "CONGESTION_TIME";
|
|
82
83
|
price: number;
|
|
83
84
|
vat?: number;
|
|
84
85
|
step_size: number;
|
|
85
86
|
};
|
|
86
87
|
export type PriceComponent = {
|
|
87
|
-
type: "FLAT" | "TIME" | "ENERGY" | "PARKING_TIME";
|
|
88
|
+
type: "FLAT" | "TIME" | "ENERGY" | "PARKING_TIME" | "CONGESTION_TIME";
|
|
88
89
|
price: number;
|
|
89
90
|
vat?: number;
|
|
90
91
|
};
|
|
@@ -333,6 +334,7 @@ export type OcpiLocation = {
|
|
|
333
334
|
supplier_name?: string;
|
|
334
335
|
energy_product_name?: string;
|
|
335
336
|
};
|
|
337
|
+
charging_accessibility?: string;
|
|
336
338
|
last_updated: string;
|
|
337
339
|
cdrAdditionalCharges?: CdrAdditionalCharge[];
|
|
338
340
|
};
|
package/dist/utils/filters.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@road-labs/map-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -22,17 +22,15 @@
|
|
|
22
22
|
"artifactregistry-login": "npx google-artifactregistry-auth"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"react": "
|
|
26
|
-
"react-dom": "
|
|
25
|
+
"react": ">=17.0.0",
|
|
26
|
+
"react-dom": ">=17.0.0"
|
|
27
27
|
},
|
|
28
28
|
"author": "",
|
|
29
29
|
"license": "ISC",
|
|
30
|
-
"
|
|
30
|
+
"devDependencies": {
|
|
31
31
|
"downshift": "^9.0.10",
|
|
32
32
|
"latlon-geohash": "^2.0.0",
|
|
33
|
-
"react-transition-group": "^4.4.5"
|
|
34
|
-
},
|
|
35
|
-
"devDependencies": {
|
|
33
|
+
"react-transition-group": "^4.4.5",
|
|
36
34
|
"@googlemaps/js-api-loader": "^1.16.6",
|
|
37
35
|
"@types/google.maps": "^3.55.4",
|
|
38
36
|
"@types/react": "^18.2.66",
|