@woosmap/ui 4.220.1 → 4.220.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "4.220.1",
3
+ "version": "4.220.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -173,7 +173,7 @@ const Pricing = {
173
173
  description:
174
174
  "Generate customizable, embeddable map images with minimal integration effort",
175
175
  pricing: [
176
- [5000, 0]
176
+ [5000, 0],
177
177
  [100000, 0.74],
178
178
  [500000, 0.59],
179
179
  [1000000, 0.55],
@@ -77,11 +77,11 @@ export default class PricingSimulator extends Component {
77
77
  render() {
78
78
  const { sliders } = this.state;
79
79
  const { publicMode, currency } = this.props;
80
- const { total, discount, contactSale, totalBeforeDiscount } = this.computeTotal();
81
- let totalDisplayed = this.displayAmount(parseInt(total, 10), currency);
82
- if (contactSale) {
83
- totalDisplayed = <a href="/contact">Contact Sales</a>;
84
- }
80
+ const { totalBeforeDiscount } = this.computeTotal();
81
+ // let totalDisplayed = this.displayAmount(parseInt(total, 10), currency);
82
+ // if (contactSale) {
83
+ // totalDisplayed = <a href="/contact">Contact Sales</a>;
84
+ // }
85
85
  return (
86
86
  <>
87
87
  <div className="pricing-nav">
@@ -95,14 +95,14 @@ export default class PricingSimulator extends Component {
95
95
  <div className="pricing-total">
96
96
  <div className="pricing-total__label">Monthly price</div>
97
97
  <div className="pricing-total__amount">{this.displayAmount(totalBeforeDiscount, currency)}</div>
98
- <div className="pricing-total__info">
99
- {!contactSale && (
100
- <span className="pricing-total__discount">
101
- {`(-${this.displayAmount(discount, currency)} Monthly Free Usage)`} ={' '}
102
- <strong>{totalDisplayed}</strong>
103
- </span>
104
- )}
105
- </div>
98
+ {/* <div className="pricing-total__info"> */}
99
+ {/* {!contactSale && ( */}
100
+ {/* <span className="pricing-total__discount"> */}
101
+ {/* {`(-${this.displayAmount(discount, currency)} Monthly Free Usage)`} ={' '} */}
102
+ {/* <strong>{totalDisplayed}</strong> */}
103
+ {/* </span> */}
104
+ {/* )} */}
105
+ {/* </div> */}
106
106
  </div>
107
107
  </div>
108
108
  <div className="pricing-simulator__wrapper">