@salesgenterp/ui-components 0.4.239 → 0.4.240

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/index.js CHANGED
@@ -7326,8 +7326,13 @@ var StaticPage = function StaticPage(_ref) {
7326
7326
  }, data.mainTitle), mapSrc && /*#__PURE__*/React__default.createElement("iframe", {
7327
7327
  width: "100%",
7328
7328
  height: "600",
7329
- frameBorder: "0",
7330
- src: mapSrc
7329
+ src: mapSrc,
7330
+ style: {
7331
+ border: 0
7332
+ },
7333
+ allowfullscreen: "",
7334
+ loading: "lazy",
7335
+ referrerPolicy: "no-referrer-when-downgrade"
7331
7336
  }), /*#__PURE__*/React__default.createElement("div", {
7332
7337
  className: "data-container",
7333
7338
  style: {
@@ -8328,13 +8333,14 @@ var Step2 = function Step2(_ref) {
8328
8333
  ecommerce: true
8329
8334
  })) === null || _filter === void 0 ? void 0 : _filter.map(function (item) {
8330
8335
  var _JSON$parse;
8331
- var rangeValue = (item === null || item === void 0 ? void 0 : item.shippingPriceRange) && ((_JSON$parse = JSON.parse(item === null || item === void 0 ? void 0 : item.shippingPriceRange)) === null || _JSON$parse === void 0 ? void 0 : _JSON$parse.find(function (data) {
8336
+ var modifyItem = lodash.cloneDeep(item);
8337
+ var rangeValue = (modifyItem === null || modifyItem === void 0 ? void 0 : modifyItem.shippingPriceRange) && ((_JSON$parse = JSON.parse(modifyItem === null || modifyItem === void 0 ? void 0 : modifyItem.shippingPriceRange)) === null || _JSON$parse === void 0 ? void 0 : _JSON$parse.find(function (data) {
8332
8338
  return totalCartPrice >= (data === null || data === void 0 ? void 0 : data.minValue) && totalCartPrice < (data === null || data === void 0 ? void 0 : data.maxValue) && lodash.isNumber(data === null || data === void 0 ? void 0 : data.value);
8333
8339
  }));
8334
8340
  if (rangeValue) {
8335
- item.amount = rangeValue === null || rangeValue === void 0 ? void 0 : rangeValue.value;
8341
+ modifyItem.amount = rangeValue === null || rangeValue === void 0 ? void 0 : rangeValue.value;
8336
8342
  }
8337
- return item;
8343
+ return modifyItem;
8338
8344
  });
8339
8345
  var _useForm = reactHookForm.useForm(),
8340
8346
  control = _useForm.control,