@woosmap/ui 4.162.21 → 4.162.23
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
|
@@ -90,7 +90,7 @@ const Pricing = {
|
|
|
90
90
|
description : "Find the right address and speed up the customer journey with autocompletion and geocode features",
|
|
91
91
|
pricings: {
|
|
92
92
|
'Autocomplete': {
|
|
93
|
-
defaultQueries:
|
|
93
|
+
defaultQueries: 1,
|
|
94
94
|
publicTierCount: 1,
|
|
95
95
|
unit: "Monthly Requests",
|
|
96
96
|
description:
|
|
@@ -96,7 +96,9 @@ class PricingSimulator extends Component {
|
|
|
96
96
|
{suggestedPlan === 'Pro' && (
|
|
97
97
|
<span className="pricing-total__discount">{`(-${discount}${currency} discount applied)`}</span>
|
|
98
98
|
)}
|
|
99
|
-
<span className="pricing-total__plan">
|
|
99
|
+
<span className="pricing-total__plan">
|
|
100
|
+
Suggested Plan : <strong>{suggestedPlan}</strong>
|
|
101
|
+
</span>
|
|
100
102
|
</div>
|
|
101
103
|
</div>
|
|
102
104
|
</div>
|
|
@@ -137,11 +137,13 @@ class PricingSlider extends Component {
|
|
|
137
137
|
const { name, productPricing, currency, values } = this.props;
|
|
138
138
|
const { queries } = values;
|
|
139
139
|
const { displayedPricing, amount, formatedQueries, marks, computedQueries } = this.getDisplayedData(queries);
|
|
140
|
-
let displayedAmount = <span className="
|
|
140
|
+
let displayedAmount = <span className="amount">{`0${currency}`}</span>;
|
|
141
141
|
if (amount === '∞') {
|
|
142
142
|
displayedAmount = this.contactSalesButton();
|
|
143
143
|
} else if (amount > 0) {
|
|
144
|
-
displayedAmount = <span className="amount">{`${amount}
|
|
144
|
+
displayedAmount = <span className="amount">{`${amount}${currency}`}</span>;
|
|
145
|
+
} else if (amount === 0 && computedQueries > 0) {
|
|
146
|
+
displayedAmount = <span className="free-label">FREE</span>;
|
|
145
147
|
}
|
|
146
148
|
return (
|
|
147
149
|
<div className="pricing-slider__wrapper" id={name}>
|