@woosmap/ui 4.228.1 → 4.228.3
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
|
@@ -226,7 +226,7 @@ const Pricing = {
|
|
|
226
226
|
[1000000, 4.69]
|
|
227
227
|
],
|
|
228
228
|
pricing_gmp: [
|
|
229
|
-
[5000, 0]
|
|
229
|
+
[5000, 0],
|
|
230
230
|
[100000, 28.80],
|
|
231
231
|
[500000, 23.04],
|
|
232
232
|
[1000000, 17.28],
|
|
@@ -285,7 +285,7 @@ const Pricing = {
|
|
|
285
285
|
discountEligible: true,
|
|
286
286
|
productId: "itm_zcG181TAZDPpsV",
|
|
287
287
|
},
|
|
288
|
-
|
|
288
|
+
|
|
289
289
|
'Static Map': {
|
|
290
290
|
docLink: 'https://developers.woosmap.com/products/map-static-api/get-started/',
|
|
291
291
|
defaultQueries: 0,
|
|
@@ -294,7 +294,7 @@ const Pricing = {
|
|
|
294
294
|
description:
|
|
295
295
|
"Generate customizable, embeddable map images with minimal integration effort",
|
|
296
296
|
pricing: [
|
|
297
|
-
[5000, 0]
|
|
297
|
+
[5000, 0],
|
|
298
298
|
[100000, 0.74],
|
|
299
299
|
[500000, 0.59],
|
|
300
300
|
[1000000, 0.55]
|
|
@@ -316,6 +316,7 @@ const Pricing = {
|
|
|
316
316
|
discountEligible: false,
|
|
317
317
|
productId: "itm_6gVPep5shF9dFL",
|
|
318
318
|
},
|
|
319
|
+
},
|
|
319
320
|
},
|
|
320
321
|
Distance: {
|
|
321
322
|
image: distanceImgSq,
|
|
@@ -335,7 +336,7 @@ const Pricing = {
|
|
|
335
336
|
[1000000, 1.38]
|
|
336
337
|
],
|
|
337
338
|
pricing_gmp: [
|
|
338
|
-
[10000, 0]
|
|
339
|
+
[10000, 0],
|
|
339
340
|
[100000, 4.50],
|
|
340
341
|
[500000, 3.60],
|
|
341
342
|
[1000000, 2.70],
|
|
@@ -365,7 +366,7 @@ const Pricing = {
|
|
|
365
366
|
[1000000, 2.76]
|
|
366
367
|
],
|
|
367
368
|
pricing_gmp: [
|
|
368
|
-
[5000, 0]
|
|
369
|
+
[5000, 0],
|
|
369
370
|
[100000, 9.00],
|
|
370
371
|
[500000, 7.20],
|
|
371
372
|
[1000000, 5.40],
|
|
@@ -390,7 +391,7 @@ const Pricing = {
|
|
|
390
391
|
[1000000, 1.38]
|
|
391
392
|
],
|
|
392
393
|
pricing_gmp: [
|
|
393
|
-
[10000, 0]
|
|
394
|
+
[10000, 0],
|
|
394
395
|
[100000, 4.50],
|
|
395
396
|
[500000, 3.60],
|
|
396
397
|
[1000000, 2.70],
|
|
@@ -577,7 +578,7 @@ const Pricing = {
|
|
|
577
578
|
[1000000, 1.93]
|
|
578
579
|
],
|
|
579
580
|
pricing_gmp: [
|
|
580
|
-
[10000, 0]
|
|
581
|
+
[10000, 0],
|
|
581
582
|
[100000, 4.60],
|
|
582
583
|
[500000, 3.60],
|
|
583
584
|
[1000000, 2.70],
|
|
@@ -40,12 +40,12 @@ export default class PricingSlider extends Component {
|
|
|
40
40
|
const valueToRemove = Math.min(tier[0] - previousPricingTier[0], q);
|
|
41
41
|
if (valueToRemove > 0) {
|
|
42
42
|
q -= valueToRemove;
|
|
43
|
-
return amount + ((valueToRemove / 1000) * tier[1]) / coef;
|
|
43
|
+
return Math.floor(amount + ((valueToRemove / 1000) * tier[1]) / coef);
|
|
44
44
|
}
|
|
45
45
|
} else {
|
|
46
46
|
const valueToRemove = Math.min(tier[0], q);
|
|
47
47
|
q -= valueToRemove;
|
|
48
|
-
return amount + ((valueToRemove / 1000) * tier[1]) / coef;
|
|
48
|
+
return Math.floor(amount + ((valueToRemove / 1000) * tier[1]) / coef);
|
|
49
49
|
}
|
|
50
50
|
return Math.floor(amount);
|
|
51
51
|
}, 0);
|