tabexseriescomponents 0.2.1080 → 0.2.1082

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.cjs.js CHANGED
@@ -64441,7 +64441,7 @@ var Select = /*#__PURE__*/React__default["default"].lazy(function () {
64441
64441
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
64442
64442
  });
64443
64443
  var CustomerAddressForm = function CustomerAddressForm(props) {
64444
- var _css, _authdetailsContext, _authdetailsContext2;
64444
+ var _css, _authdetailsContext$i, _authdetailsContext$i2;
64445
64445
  var lang = props.actions.lang;
64446
64446
  var langdetect = props.actions.langdetect;
64447
64447
  var fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
@@ -64453,6 +64453,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
64453
64453
  _useState2 = _slicedToArray__default["default"](_useState, 2),
64454
64454
  sectionproperties = _useState2[0],
64455
64455
  setsectionproperties = _useState2[1];
64456
+ var authdetailsContext = props.actions.authdetailsContext;
64456
64457
  React.useEffect(function () {
64457
64458
  setsectionproperties(_objectSpread$1j({}, props.sectionproperties));
64458
64459
  }, [props.sectionproperties]);
@@ -64482,7 +64483,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
64482
64483
  style: {
64483
64484
  display: sectionproperties.hidecountrystatecity == 'Show' ? 'flex' : sectionproperties.hideaddress == 'Show' ? 'flex' : 'none'
64484
64485
  }
64485
- }, ((_authdetailsContext = authdetailsContext) === null || _authdetailsContext === void 0 || (_authdetailsContext = _authdetailsContext.instinfo) === null || _authdetailsContext === void 0 ? void 0 : _authdetailsContext.contactinfo.instid) != '688fa237d0c8c' && /*#__PURE__*/React__default["default"].createElement("div", {
64486
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '688fa237d0c8c' && /*#__PURE__*/React__default["default"].createElement("div", {
64486
64487
  className: "row m-0 w-100"
64487
64488
  }, sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
64488
64489
  className: props.srcfrom == 'filter' ? ' col-lg-4 col-md-12 col-sm-12 mb-sm-3 ' : sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
@@ -64678,7 +64679,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
64678
64679
  }
64679
64680
  }), /*#__PURE__*/React__default["default"].createElement("span", {
64680
64681
  className: loginstyles.login_input_focus
64681
- })))), ((_authdetailsContext2 = authdetailsContext) === null || _authdetailsContext2 === void 0 || (_authdetailsContext2 = _authdetailsContext2.instinfo) === null || _authdetailsContext2 === void 0 ? void 0 : _authdetailsContext2.contactinfo.instid) == '688fa237d0c8c' && /*#__PURE__*/React__default["default"].createElement("div", {
64682
+ })))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '688fa237d0c8c' && /*#__PURE__*/React__default["default"].createElement("div", {
64682
64683
  className: "row m-0 w-100"
64683
64684
  }, /*#__PURE__*/React__default["default"].createElement("div", {
64684
64685
  className: ' col-lg-4 col-md-12 col-sm-12 mb-sm-3 '
@@ -92091,6 +92092,12 @@ var Simpleproductcard = function Simpleproductcard(props) {
92091
92092
  } else if (sectionproperties.showvariantscont == 'Show') {
92092
92093
  addtocartfunc();
92093
92094
  } else {
92095
+ var productidtobesend = null;
92096
+ if (sectionproperties.urlwithproductname == 'Yes') {
92097
+ productidtobesend = item.productendpointurl;
92098
+ } else {
92099
+ productidtobesend = item.productid;
92100
+ }
92094
92101
  if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
92095
92102
  addtocartfunc();
92096
92103
  } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
package/dist/index.esm.js CHANGED
@@ -64390,7 +64390,7 @@ var Select = /*#__PURE__*/React.lazy(function () {
64390
64390
  return import('react-select');
64391
64391
  });
64392
64392
  var CustomerAddressForm = function CustomerAddressForm(props) {
64393
- var _css, _authdetailsContext, _authdetailsContext2;
64393
+ var _css, _authdetailsContext$i, _authdetailsContext$i2;
64394
64394
  var lang = props.actions.lang;
64395
64395
  var langdetect = props.actions.langdetect;
64396
64396
  var fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
@@ -64402,6 +64402,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
64402
64402
  _useState2 = _slicedToArray(_useState, 2),
64403
64403
  sectionproperties = _useState2[0],
64404
64404
  setsectionproperties = _useState2[1];
64405
+ var authdetailsContext = props.actions.authdetailsContext;
64405
64406
  useEffect(function () {
64406
64407
  setsectionproperties(_objectSpread$1j({}, props.sectionproperties));
64407
64408
  }, [props.sectionproperties]);
@@ -64431,7 +64432,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
64431
64432
  style: {
64432
64433
  display: sectionproperties.hidecountrystatecity == 'Show' ? 'flex' : sectionproperties.hideaddress == 'Show' ? 'flex' : 'none'
64433
64434
  }
64434
- }, ((_authdetailsContext = authdetailsContext) === null || _authdetailsContext === void 0 || (_authdetailsContext = _authdetailsContext.instinfo) === null || _authdetailsContext === void 0 ? void 0 : _authdetailsContext.contactinfo.instid) != '688fa237d0c8c' && /*#__PURE__*/React.createElement("div", {
64435
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '688fa237d0c8c' && /*#__PURE__*/React.createElement("div", {
64435
64436
  className: "row m-0 w-100"
64436
64437
  }, sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React.createElement("div", {
64437
64438
  className: props.srcfrom == 'filter' ? ' col-lg-4 col-md-12 col-sm-12 mb-sm-3 ' : sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
@@ -64627,7 +64628,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
64627
64628
  }
64628
64629
  }), /*#__PURE__*/React.createElement("span", {
64629
64630
  className: loginstyles.login_input_focus
64630
- })))), ((_authdetailsContext2 = authdetailsContext) === null || _authdetailsContext2 === void 0 || (_authdetailsContext2 = _authdetailsContext2.instinfo) === null || _authdetailsContext2 === void 0 ? void 0 : _authdetailsContext2.contactinfo.instid) == '688fa237d0c8c' && /*#__PURE__*/React.createElement("div", {
64631
+ })))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '688fa237d0c8c' && /*#__PURE__*/React.createElement("div", {
64631
64632
  className: "row m-0 w-100"
64632
64633
  }, /*#__PURE__*/React.createElement("div", {
64633
64634
  className: ' col-lg-4 col-md-12 col-sm-12 mb-sm-3 '
@@ -92040,6 +92041,12 @@ var Simpleproductcard = function Simpleproductcard(props) {
92040
92041
  } else if (sectionproperties.showvariantscont == 'Show') {
92041
92042
  addtocartfunc();
92042
92043
  } else {
92044
+ var productidtobesend = null;
92045
+ if (sectionproperties.urlwithproductname == 'Yes') {
92046
+ productidtobesend = item.productendpointurl;
92047
+ } else {
92048
+ productidtobesend = item.productid;
92049
+ }
92043
92050
  if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
92044
92051
  addtocartfunc();
92045
92052
  } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
package/dist/index.umd.js CHANGED
@@ -64249,7 +64249,7 @@
64249
64249
  return import('react-select');
64250
64250
  });
64251
64251
  var CustomerAddressForm = function CustomerAddressForm(props) {
64252
- var _css, _authdetailsContext, _authdetailsContext2;
64252
+ var _css, _authdetailsContext$i, _authdetailsContext$i2;
64253
64253
  var lang = props.actions.lang;
64254
64254
  var langdetect = props.actions.langdetect;
64255
64255
  var fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
@@ -64261,6 +64261,7 @@
64261
64261
  _useState2 = _slicedToArray__default["default"](_useState, 2),
64262
64262
  sectionproperties = _useState2[0],
64263
64263
  setsectionproperties = _useState2[1];
64264
+ var authdetailsContext = props.actions.authdetailsContext;
64264
64265
  React.useEffect(function () {
64265
64266
  setsectionproperties(_objectSpread$1j({}, props.sectionproperties));
64266
64267
  }, [props.sectionproperties]);
@@ -64290,7 +64291,7 @@
64290
64291
  style: {
64291
64292
  display: sectionproperties.hidecountrystatecity == 'Show' ? 'flex' : sectionproperties.hideaddress == 'Show' ? 'flex' : 'none'
64292
64293
  }
64293
- }, ((_authdetailsContext = authdetailsContext) === null || _authdetailsContext === void 0 || (_authdetailsContext = _authdetailsContext.instinfo) === null || _authdetailsContext === void 0 ? void 0 : _authdetailsContext.contactinfo.instid) != '688fa237d0c8c' && /*#__PURE__*/React__default["default"].createElement("div", {
64294
+ }, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '688fa237d0c8c' && /*#__PURE__*/React__default["default"].createElement("div", {
64294
64295
  className: "row m-0 w-100"
64295
64296
  }, sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
64296
64297
  className: props.srcfrom == 'filter' ? ' col-lg-4 col-md-12 col-sm-12 mb-sm-3 ' : sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
@@ -64486,7 +64487,7 @@
64486
64487
  }
64487
64488
  }), /*#__PURE__*/React__default["default"].createElement("span", {
64488
64489
  className: loginstyles.login_input_focus
64489
- })))), ((_authdetailsContext2 = authdetailsContext) === null || _authdetailsContext2 === void 0 || (_authdetailsContext2 = _authdetailsContext2.instinfo) === null || _authdetailsContext2 === void 0 ? void 0 : _authdetailsContext2.contactinfo.instid) == '688fa237d0c8c' && /*#__PURE__*/React__default["default"].createElement("div", {
64490
+ })))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '688fa237d0c8c' && /*#__PURE__*/React__default["default"].createElement("div", {
64490
64491
  className: "row m-0 w-100"
64491
64492
  }, /*#__PURE__*/React__default["default"].createElement("div", {
64492
64493
  className: ' col-lg-4 col-md-12 col-sm-12 mb-sm-3 '
@@ -91899,6 +91900,12 @@
91899
91900
  } else if (sectionproperties.showvariantscont == 'Show') {
91900
91901
  addtocartfunc();
91901
91902
  } else {
91903
+ var productidtobesend = null;
91904
+ if (sectionproperties.urlwithproductname == 'Yes') {
91905
+ productidtobesend = item.productendpointurl;
91906
+ } else {
91907
+ productidtobesend = item.productid;
91908
+ }
91902
91909
  if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
91903
91910
  addtocartfunc();
91904
91911
  } else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.1080",
3
+ "version": "0.2.1082",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",