@woosmap/ui 4.162.9 → 4.162.10
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/package.json
CHANGED
|
@@ -16,7 +16,7 @@ const Pricing = {
|
|
|
16
16
|
description : "A dedicated search engine for your own data",
|
|
17
17
|
pricings: {
|
|
18
18
|
'Search': {
|
|
19
|
-
defaultQueries:
|
|
19
|
+
defaultQueries: 0,
|
|
20
20
|
publicTierCount: 2,
|
|
21
21
|
unit: "Monthly Requests",
|
|
22
22
|
description:
|
|
@@ -33,7 +33,7 @@ const Pricing = {
|
|
|
33
33
|
discountEligible: true,
|
|
34
34
|
},
|
|
35
35
|
'Mapping': {
|
|
36
|
-
defaultQueries:
|
|
36
|
+
defaultQueries: 0,
|
|
37
37
|
publicTierCount: 2,
|
|
38
38
|
unit: "Monthly Requests",
|
|
39
39
|
description:
|
|
@@ -50,7 +50,7 @@ const Pricing = {
|
|
|
50
50
|
discountEligible: true,
|
|
51
51
|
},
|
|
52
52
|
'Data Management': {
|
|
53
|
-
defaultQueries:
|
|
53
|
+
defaultQueries: 0,
|
|
54
54
|
publicTierCount: 2,
|
|
55
55
|
unit: "Monthly Requests",
|
|
56
56
|
description:
|
|
@@ -67,7 +67,7 @@ const Pricing = {
|
|
|
67
67
|
discountEligible: true,
|
|
68
68
|
},
|
|
69
69
|
'Mobile Search': {
|
|
70
|
-
defaultQueries:
|
|
70
|
+
defaultQueries: 0,
|
|
71
71
|
publicTierCount: 2,
|
|
72
72
|
unit: "Monthly Requests",
|
|
73
73
|
description:
|
|
@@ -101,7 +101,7 @@ const Pricing = {
|
|
|
101
101
|
discountEligible: true,
|
|
102
102
|
},
|
|
103
103
|
'Details': {
|
|
104
|
-
defaultQueries:
|
|
104
|
+
defaultQueries: 0,
|
|
105
105
|
publicTierCount: 2,
|
|
106
106
|
unit: "Monthly Requests",
|
|
107
107
|
description:
|
|
@@ -118,7 +118,7 @@ const Pricing = {
|
|
|
118
118
|
discountEligible: true,
|
|
119
119
|
},
|
|
120
120
|
'Details UK Addresses': {
|
|
121
|
-
defaultQueries:
|
|
121
|
+
defaultQueries: 0,
|
|
122
122
|
publicTierCount: 2, unit: "Monthly Requests",
|
|
123
123
|
description:
|
|
124
124
|
"Get details on Autocomplete suggestions on UK addresses benefiting from best available data on the market",
|
|
@@ -136,7 +136,7 @@ const Pricing = {
|
|
|
136
136
|
discountEligible: false,
|
|
137
137
|
},
|
|
138
138
|
'Geocode/Reverse Geocode': {
|
|
139
|
-
defaultQueries:
|
|
139
|
+
defaultQueries: 0,
|
|
140
140
|
publicTierCount: 2,
|
|
141
141
|
unit: "Monthly Requests",
|
|
142
142
|
description:
|
|
@@ -153,7 +153,7 @@ const Pricing = {
|
|
|
153
153
|
discountEligible: true,
|
|
154
154
|
},
|
|
155
155
|
'Geocode/Reverse Geocode UK addresses': {
|
|
156
|
-
defaultQueries:
|
|
156
|
+
defaultQueries: 0,
|
|
157
157
|
publicTierCount: 2, unit: "Monthly Requests",
|
|
158
158
|
description:
|
|
159
159
|
"Geocoding/Reverse geocoding on localities, postcodes and UK addresses benefiting from best available data on the market",
|
|
@@ -171,7 +171,7 @@ const Pricing = {
|
|
|
171
171
|
discountEligible: false,
|
|
172
172
|
},
|
|
173
173
|
'Nearby': {
|
|
174
|
-
defaultQueries:
|
|
174
|
+
defaultQueries: 0,
|
|
175
175
|
publicTierCount: 2,
|
|
176
176
|
unit: "Monthly Requests",
|
|
177
177
|
description:
|
|
@@ -205,7 +205,7 @@ const Pricing = {
|
|
|
205
205
|
description : "Display your data without compromising readability",
|
|
206
206
|
pricings: {
|
|
207
207
|
'Map': {
|
|
208
|
-
defaultQueries:
|
|
208
|
+
defaultQueries: 0,
|
|
209
209
|
publicTierCount: 2,
|
|
210
210
|
unit: "Monthly Requests",
|
|
211
211
|
description:
|
|
@@ -228,7 +228,7 @@ const Pricing = {
|
|
|
228
228
|
description : "Get distance or time for your routes worldwide with or without traffic",
|
|
229
229
|
pricings: {
|
|
230
230
|
'Route (/q)': {
|
|
231
|
-
defaultQueries:
|
|
231
|
+
defaultQueries: 0,
|
|
232
232
|
publicTierCount: 2,
|
|
233
233
|
unit: "Monthly Requests",
|
|
234
234
|
description:
|
|
@@ -245,7 +245,7 @@ const Pricing = {
|
|
|
245
245
|
discountEligible: true,
|
|
246
246
|
},
|
|
247
247
|
'Route with Traffic (/q)': {
|
|
248
|
-
defaultQueries:
|
|
248
|
+
defaultQueries: 0,
|
|
249
249
|
publicTierCount: 2,
|
|
250
250
|
unit: "Monthly Requests",
|
|
251
251
|
description:
|
|
@@ -262,7 +262,7 @@ const Pricing = {
|
|
|
262
262
|
discountEligible: false,
|
|
263
263
|
},
|
|
264
264
|
'Distance Matrix (/elt)': {
|
|
265
|
-
defaultQueries:
|
|
265
|
+
defaultQueries: 0,
|
|
266
266
|
publicTierCount: 2,
|
|
267
267
|
unit: "Monthly Elements",
|
|
268
268
|
description:
|
|
@@ -279,7 +279,7 @@ const Pricing = {
|
|
|
279
279
|
discountEligible: true,
|
|
280
280
|
},
|
|
281
281
|
'Distance Matrix with Traffic (/elt)': {
|
|
282
|
-
defaultQueries:
|
|
282
|
+
defaultQueries: 0,
|
|
283
283
|
publicTierCount: 2,
|
|
284
284
|
unit: "Monthly Elements",
|
|
285
285
|
description:
|
|
@@ -296,7 +296,7 @@ const Pricing = {
|
|
|
296
296
|
discountEligible: false,
|
|
297
297
|
},
|
|
298
298
|
'Isochrone (/q)': {
|
|
299
|
-
defaultQueries:
|
|
299
|
+
defaultQueries: 0,
|
|
300
300
|
publicTierCount: 2,
|
|
301
301
|
unit: "Monthly Requests",
|
|
302
302
|
description:
|
|
@@ -313,7 +313,7 @@ const Pricing = {
|
|
|
313
313
|
discountEligible: true,
|
|
314
314
|
},
|
|
315
315
|
'Distance Matrix on Mobile (/elt)': {
|
|
316
|
-
defaultQueries:
|
|
316
|
+
defaultQueries: 0,
|
|
317
317
|
publicTierCount: 2,
|
|
318
318
|
unit: "Monthly Elements",
|
|
319
319
|
description:
|
|
@@ -330,7 +330,7 @@ const Pricing = {
|
|
|
330
330
|
discountEligible: true,
|
|
331
331
|
},
|
|
332
332
|
'Distance Matrix with Traffic on Mobile (/elt)': {
|
|
333
|
-
defaultQueries:
|
|
333
|
+
defaultQueries: 0,
|
|
334
334
|
publicTierCount: 2,
|
|
335
335
|
unit: "Monthly Elements",
|
|
336
336
|
description:
|
|
@@ -353,7 +353,7 @@ const Pricing = {
|
|
|
353
353
|
description : "Automatic Geolocation based on IP addresses",
|
|
354
354
|
pricings: {
|
|
355
355
|
'Position': {
|
|
356
|
-
defaultQueries:
|
|
356
|
+
defaultQueries: 0,
|
|
357
357
|
publicTierCount: 2,
|
|
358
358
|
unit: "Monthly Requests",
|
|
359
359
|
description:
|
|
@@ -370,7 +370,7 @@ const Pricing = {
|
|
|
370
370
|
discountEligible: false,
|
|
371
371
|
},
|
|
372
372
|
'Stores': {
|
|
373
|
-
defaultQueries:
|
|
373
|
+
defaultQueries: 0,
|
|
374
374
|
publicTierCount: 2,
|
|
375
375
|
unit: "Monthly Requests",
|
|
376
376
|
description:
|
|
@@ -387,7 +387,7 @@ const Pricing = {
|
|
|
387
387
|
discountEligible: true,
|
|
388
388
|
},
|
|
389
389
|
'Timezone': {
|
|
390
|
-
defaultQueries:
|
|
390
|
+
defaultQueries: 0,
|
|
391
391
|
publicTierCount: 2,
|
|
392
392
|
unit: "Monthly Requests",
|
|
393
393
|
description:
|
|
@@ -410,7 +410,7 @@ const Pricing = {
|
|
|
410
410
|
description : "Get time and path for travels using public transportation",
|
|
411
411
|
pricings: {
|
|
412
412
|
'Map': {
|
|
413
|
-
defaultQueries:
|
|
413
|
+
defaultQueries: 0,
|
|
414
414
|
publicTierCount: 2,
|
|
415
415
|
unit: "Monthly Requests",
|
|
416
416
|
description:
|
|
@@ -433,7 +433,7 @@ const Pricing = {
|
|
|
433
433
|
description : "Map private venues and propose indoor search and wayfinding",
|
|
434
434
|
pricings: {
|
|
435
435
|
'Search': {
|
|
436
|
-
defaultQueries:
|
|
436
|
+
defaultQueries: 0,
|
|
437
437
|
publicTierCount: 2,
|
|
438
438
|
unit: "Monthly Requests",
|
|
439
439
|
description:
|
|
@@ -450,7 +450,7 @@ const Pricing = {
|
|
|
450
450
|
discountEligible: true,
|
|
451
451
|
},
|
|
452
452
|
'Distance': {
|
|
453
|
-
defaultQueries:
|
|
453
|
+
defaultQueries: 0,
|
|
454
454
|
publicTierCount: 2,
|
|
455
455
|
unit: "Monthly Requests",
|
|
456
456
|
description:
|
|
@@ -467,7 +467,7 @@ const Pricing = {
|
|
|
467
467
|
discountEligible: true,
|
|
468
468
|
},
|
|
469
469
|
'Data Management': {
|
|
470
|
-
defaultQueries:
|
|
470
|
+
defaultQueries: 0,
|
|
471
471
|
publicTierCount: 2,
|
|
472
472
|
unit: "Monthly Requests",
|
|
473
473
|
description:
|
|
@@ -484,7 +484,7 @@ const Pricing = {
|
|
|
484
484
|
discountEligible: true,
|
|
485
485
|
},
|
|
486
486
|
'Mapping': {
|
|
487
|
-
defaultQueries:
|
|
487
|
+
defaultQueries: 0,
|
|
488
488
|
publicTierCount: 2,
|
|
489
489
|
unit: "Monthly Requests",
|
|
490
490
|
description:
|
|
@@ -66,7 +66,7 @@ class PricingSimulator extends Component {
|
|
|
66
66
|
const { publicMode, currency } = this.props;
|
|
67
67
|
const { total, freeQueriesTotal, notEligibleTotal } = this.computeTotal();
|
|
68
68
|
let totalDisplayed = total;
|
|
69
|
-
if (notEligibleTotal === 0 && freeQueriesTotal < 10000) {
|
|
69
|
+
if (notEligibleTotal === 0 && freeQueriesTotal && freeQueriesTotal < 10000) {
|
|
70
70
|
totalDisplayed = 0;
|
|
71
71
|
}
|
|
72
72
|
return (
|