tabexseriescomponents 0.2.1137 → 0.2.1138
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 +181 -37
- package/dist/index.esm.js +181 -37
- package/dist/index.umd.js +181 -37
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1820,10 +1820,12 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1820
1820
|
var isValueinStock = isOptionInStock(optionvaluesitem.valueid);
|
|
1821
1821
|
var is_value_permdisabled = 0;
|
|
1822
1822
|
if ((optionvaluesitem === null || optionvaluesitem === void 0 ? void 0 : optionvaluesitem.perm_disabled) == 1) {
|
|
1823
|
-
var _authdetailsContext$i;
|
|
1823
|
+
var _authdetailsContext$i, _authdetailsContext$i2;
|
|
1824
1824
|
// if()
|
|
1825
1825
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) == '68d28fc494276') {
|
|
1826
1826
|
is_value_permdisabled = 1;
|
|
1827
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.contactinfo.instid) == '69244cc88aa0a') {
|
|
1828
|
+
is_value_permdisabled = 1;
|
|
1827
1829
|
}
|
|
1828
1830
|
}
|
|
1829
1831
|
if (item.optionname == 'color' || item.optionname == 'Color') {
|
|
@@ -1851,7 +1853,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1851
1853
|
} else if (item.optionname == 'size' || item.optionname == 'Size') {
|
|
1852
1854
|
// if (ProductInfoObj?.data?.productinfo?.productoptions?.length == 1 || isoptionvaluedenabled == 1) {
|
|
1853
1855
|
if (is_value_permdisabled == 0) {
|
|
1854
|
-
var _authdetailsContext$
|
|
1856
|
+
var _authdetailsContext$i3, _authdetailsContext$i6, _authdetailsContext$i7;
|
|
1855
1857
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1856
1858
|
// className={
|
|
1857
1859
|
// issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true &&
|
|
@@ -1863,11 +1865,15 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1863
1865
|
// ' mr-2 variabttcontainer allcentered ' +
|
|
1864
1866
|
// `${isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''}`
|
|
1865
1867
|
// }
|
|
1866
|
-
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1868
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68f918a4ccb85' ? " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered linethroughshowcrossicon ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : '') : " ".concat(productinfostyles.variant_container, " ").concat(productinfostyles.size_variant_container) + ' mr-2 variabttcontainer allcentered ' + " ".concat(isoptionvalueselected == 1 ? productinfostyles.variant_container_active : ''),
|
|
1867
1869
|
onClick: function onClick() {
|
|
1868
1870
|
if (isoptionvalueselected == 0) {
|
|
1869
|
-
var _authdetailsContext$
|
|
1870
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1871
|
+
var _authdetailsContext$i4, _authdetailsContext$i5;
|
|
1872
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '68d28fc494276') {
|
|
1873
|
+
if (isValueinStock == 0) {
|
|
1874
|
+
return;
|
|
1875
|
+
}
|
|
1876
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '69244cc88aa0a') {
|
|
1871
1877
|
if (isValueinStock == 0) {
|
|
1872
1878
|
return;
|
|
1873
1879
|
}
|
|
@@ -1911,7 +1917,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1911
1917
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
1912
1918
|
"class": "h-100 allcentered"
|
|
1913
1919
|
}, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, null))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1914
|
-
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
1920
|
+
className: isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68d28fc494276' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : isValueinStock == 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '69244cc88aa0a' ? 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center linethrough' : 'wordbreak m-0 p-0 d-flex align-items-center justify-content-center',
|
|
1915
1921
|
style: {
|
|
1916
1922
|
color: sectionproperties.variantcontainerbordercolor != undefined && sectionproperties.variantcontainerbordercolor != null && isoptionvalueselected == 1 ? sectionproperties.activeproductcolor : sectionproperties.variantcontainer_color,
|
|
1917
1923
|
fontSize: sectionproperties.variantcontainer_fontSize + 'px',
|
|
@@ -7452,7 +7458,7 @@ var Article_itemtype = function Article_itemtype(props) {
|
|
|
7452
7458
|
function ownKeys$2B(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7453
7459
|
function _objectSpread$2B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2B(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7454
7460
|
var Productinfo = function Productinfo(props) {
|
|
7455
|
-
var _css, _fetchProductInfoQuer83, _ref, _fetchProductInfoQuer84, _authdetailsContext$
|
|
7461
|
+
var _css, _fetchProductInfoQuer83, _ref, _fetchProductInfoQuer84, _authdetailsContext$i20, _ref2, _fetchProductInfoQuer85, _authdetailsContext$i21, _ref3, _fetchProductInfoQuer86, _ref4, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _fetchProductInfoQuer87, _fetchProductInfoQuer88, _fetchProductInfoQuer89, _returnpolicyobj5, _returnpolicyobj6, _returnpolicyobj7, _returnpolicyobj8, _fetchProductInfoQuer90, _fetchProductInfoQuer91, _returnpolicyobj9, _returnpolicyobj0, _returnpolicyobj1, _returnpolicyobj10, _fetchProductInfoQuer92, _fetchProductInfoQuer93, _returnpolicyobj11, _returnpolicyobj12, _returnpolicyobj13, _returnpolicyobj14, _authdetailsContext$i27, _fetchProductInfoQuer94, _fetchProductInfoQuer95, _fetchProductInfoQuer96, _fetchProductInfoQuer97, _returnpolicyobj15, _returnpolicyobj16, _returnpolicyobj17, _returnpolicyobj18, _authdetailsContext$i28, _fetchProductInfoQuer98, _fetchProductInfoQuer99, _fetchProductInfoQuer100, _fetchProductInfoQuer101;
|
|
7456
7462
|
var _useState = React.useState({}),
|
|
7457
7463
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
7458
7464
|
ProductInfoObj = _useState2[0],
|
|
@@ -7935,7 +7941,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
7935
7941
|
// selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, productarr);
|
|
7936
7942
|
// };
|
|
7937
7943
|
var isOptionInStock = function isOptionInStock(Currvalueid) {
|
|
7938
|
-
var _authdetailsContext$i4;
|
|
7944
|
+
var _authdetailsContext$i4, _authdetailsContext$i5;
|
|
7939
7945
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '68d28fc494276') {
|
|
7940
7946
|
var _ProductInfoObj$data;
|
|
7941
7947
|
var productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : _ProductInfoObj$data.productinfo;
|
|
@@ -8022,13 +8028,99 @@ var Productinfo = function Productinfo(props) {
|
|
|
8022
8028
|
}) && variantValueIds.includes(Currvalueid);
|
|
8023
8029
|
});
|
|
8024
8030
|
return inStock ? 1 : 0;
|
|
8031
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) == '69244cc88aa0a') {
|
|
8032
|
+
var _ProductInfoObj$data2;
|
|
8033
|
+
var _productinfo = ProductInfoObj === null || ProductInfoObj === void 0 || (_ProductInfoObj$data2 = ProductInfoObj.data) === null || _ProductInfoObj$data2 === void 0 ? void 0 : _ProductInfoObj$data2.productinfo;
|
|
8034
|
+
var _options = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.productoptions) || [];
|
|
8035
|
+
var _variants = (_productinfo === null || _productinfo === void 0 ? void 0 : _productinfo.variants) || [];
|
|
8036
|
+
|
|
8037
|
+
// Collect selected option value IDs and find which option they belong to
|
|
8038
|
+
var _selectedValues = [];
|
|
8039
|
+
_options.forEach(function (option) {
|
|
8040
|
+
option.optionvalues.forEach(function (value) {
|
|
8041
|
+
if (value.isselected === 1) {
|
|
8042
|
+
_selectedValues.push({
|
|
8043
|
+
optionid: option.optionid,
|
|
8044
|
+
valueid: value.valueid
|
|
8045
|
+
});
|
|
8046
|
+
}
|
|
8047
|
+
});
|
|
8048
|
+
});
|
|
8049
|
+
_options.length;
|
|
8050
|
+
var _selectedCount = _selectedValues.length;
|
|
8051
|
+
var _inStockVariants = _variants.filter(function (v) {
|
|
8052
|
+
return v.current_quantity > 0;
|
|
8053
|
+
});
|
|
8054
|
+
|
|
8055
|
+
// 🧠 Case 1: No selection yet → show if this value exists in any in-stock variant
|
|
8056
|
+
if (_selectedCount === 0) {
|
|
8057
|
+
return _inStockVariants.some(function (variant) {
|
|
8058
|
+
return variant.variantoptions.some(function (opt) {
|
|
8059
|
+
return opt.valueid === Currvalueid;
|
|
8060
|
+
});
|
|
8061
|
+
}) ? 1 : 0;
|
|
8062
|
+
}
|
|
8063
|
+
|
|
8064
|
+
// 🧠 Case 2: Only one option selected
|
|
8065
|
+
if (_selectedCount === 1) {
|
|
8066
|
+
var _selected = _selectedValues[0];
|
|
8067
|
+
var _selectedOptionId = _selected.optionid;
|
|
8068
|
+
|
|
8069
|
+
// Find which option this Currvalueid belongs to
|
|
8070
|
+
var _currentOptionId = null;
|
|
8071
|
+
_options.forEach(function (option) {
|
|
8072
|
+
option.optionvalues.forEach(function (v) {
|
|
8073
|
+
if (v.valueid === Currvalueid) _currentOptionId = option.optionid;
|
|
8074
|
+
});
|
|
8075
|
+
});
|
|
8076
|
+
|
|
8077
|
+
// Same option (e.g., selecting only size)
|
|
8078
|
+
if (_selectedOptionId === _currentOptionId) {
|
|
8079
|
+
// Show all sizes that appear in any in-stock variant (any color)
|
|
8080
|
+
return _inStockVariants.some(function (variant) {
|
|
8081
|
+
return variant.variantoptions.some(function (opt) {
|
|
8082
|
+
return opt.valueid === Currvalueid;
|
|
8083
|
+
});
|
|
8084
|
+
}) ? 1 : 0;
|
|
8085
|
+
}
|
|
8086
|
+
|
|
8087
|
+
// Different option (e.g., color)
|
|
8088
|
+
// Only in-stock if a variant has both selected value + this value
|
|
8089
|
+
return _inStockVariants.some(function (variant) {
|
|
8090
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8091
|
+
return v.valueid;
|
|
8092
|
+
});
|
|
8093
|
+
return variantValueIds.includes(_selected.valueid) && variantValueIds.includes(Currvalueid);
|
|
8094
|
+
}) ? 1 : 0;
|
|
8095
|
+
}
|
|
8096
|
+
|
|
8097
|
+
// 🧠 Case 3: Multiple options selected (e.g., color + size)
|
|
8098
|
+
// Check if this value can exist with all selected options except its own type in any in-stock variant
|
|
8099
|
+
var _inStock = _inStockVariants.some(function (variant) {
|
|
8100
|
+
var variantValueIds = variant.variantoptions.map(function (v) {
|
|
8101
|
+
return v.valueid;
|
|
8102
|
+
});
|
|
8103
|
+
// Must match all selected except the one that belongs to same option
|
|
8104
|
+
return _selectedValues.every(function (sel) {
|
|
8105
|
+
if (_options.some(function (opt) {
|
|
8106
|
+
return opt.optionvalues.some(function (v) {
|
|
8107
|
+
return v.valueid === Currvalueid && v.optionid === sel.optionid;
|
|
8108
|
+
});
|
|
8109
|
+
})) {
|
|
8110
|
+
// Skip same option
|
|
8111
|
+
return true;
|
|
8112
|
+
}
|
|
8113
|
+
return variantValueIds.includes(sel.valueid);
|
|
8114
|
+
}) && variantValueIds.includes(Currvalueid);
|
|
8115
|
+
});
|
|
8116
|
+
return _inStock ? 1 : 0;
|
|
8025
8117
|
} else {
|
|
8026
8118
|
return 1;
|
|
8027
8119
|
}
|
|
8028
8120
|
};
|
|
8029
8121
|
var clearchoosenvaluesbutkeepcurrentvalue = function clearchoosenvaluesbutkeepcurrentvalue(optionindex, optionvaluesitem, optionvaluesindex) {
|
|
8030
|
-
var _authdetailsContext$
|
|
8031
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8122
|
+
var _authdetailsContext$i6, _authdetailsContext$i7;
|
|
8123
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.contactinfo.instid) == '68d28fc494276') {
|
|
8032
8124
|
var _productarr$data, _productarr$data$prod;
|
|
8033
8125
|
var _productarr = ProductInfoObj;
|
|
8034
8126
|
if (!(_productarr !== null && _productarr !== void 0 && (_productarr$data = _productarr.data) !== null && _productarr$data !== void 0 && _productarr$data.productinfo)) return;
|
|
@@ -8080,6 +8172,58 @@ var Productinfo = function Productinfo(props) {
|
|
|
8080
8172
|
// optional: show user message or disable click
|
|
8081
8173
|
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8082
8174
|
}
|
|
8175
|
+
} else if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '69244cc88aa0a') {
|
|
8176
|
+
var _productarr2$data, _productarr2$data$pro;
|
|
8177
|
+
var _productarr2 = ProductInfoObj;
|
|
8178
|
+
if (!(_productarr2 !== null && _productarr2 !== void 0 && (_productarr2$data = _productarr2.data) !== null && _productarr2$data !== void 0 && _productarr2$data.productinfo)) return;
|
|
8179
|
+
|
|
8180
|
+
// 1. Find variants that include the newly selected value
|
|
8181
|
+
var _validVariants = (_productarr2.data.productinfo.variants || []).filter(function (variant) {
|
|
8182
|
+
return (variant.variantoptions || []).some(function (opt) {
|
|
8183
|
+
return opt.valueid === optionvaluesitem.valueid;
|
|
8184
|
+
});
|
|
8185
|
+
});
|
|
8186
|
+
|
|
8187
|
+
// 2. Build a set of valid value ids
|
|
8188
|
+
var _validValueIds = new Set(_validVariants.flatMap(function (v) {
|
|
8189
|
+
return (v.variantoptions || []).map(function (opt) {
|
|
8190
|
+
return opt.valueid;
|
|
8191
|
+
});
|
|
8192
|
+
}));
|
|
8193
|
+
|
|
8194
|
+
// 3. Loop all options and their values
|
|
8195
|
+
(_productarr2$data$pro = _productarr2.data.productinfo.productoptions) === null || _productarr2$data$pro === void 0 || _productarr2$data$pro.forEach(function (option) {
|
|
8196
|
+
var _option$optionvalues2;
|
|
8197
|
+
var anySelected = false;
|
|
8198
|
+
(_option$optionvalues2 = option.optionvalues) === null || _option$optionvalues2 === void 0 || _option$optionvalues2.forEach(function (value) {
|
|
8199
|
+
// Normalize stock check result to boolean
|
|
8200
|
+
var stockResult = isOptionInStock(value.valueid);
|
|
8201
|
+
var inStock = !(stockResult === 0 || stockResult === '0' || stockResult === false || stockResult === 'false' || stockResult == null);
|
|
8202
|
+
|
|
8203
|
+
// Unselect if NOT valid with the chosen new value OR out of stock
|
|
8204
|
+
if (!_validValueIds.has(value.valueid) || !inStock) {
|
|
8205
|
+
value.isselected = 0;
|
|
8206
|
+
} else {
|
|
8207
|
+
// keep whatever selection is already there (do not auto-select)
|
|
8208
|
+
if (value.isselected) anySelected = true;
|
|
8209
|
+
}
|
|
8210
|
+
});
|
|
8211
|
+
|
|
8212
|
+
// keep option-level selected state in sync
|
|
8213
|
+
option.isselected = anySelected ? 1 : 0;
|
|
8214
|
+
});
|
|
8215
|
+
|
|
8216
|
+
// 4. Only select the new value if it's in stock
|
|
8217
|
+
var _newInStock = function () {
|
|
8218
|
+
var r = isOptionInStock(optionvaluesitem.valueid);
|
|
8219
|
+
return !(r === 0 || r === '0' || r === false || r === 'false' || r == null);
|
|
8220
|
+
}();
|
|
8221
|
+
if (_newInStock) {
|
|
8222
|
+
selectproductoptionvalue(optionindex, optionvaluesitem, optionvaluesindex, _productarr2);
|
|
8223
|
+
} else {
|
|
8224
|
+
// optional: show user message or disable click
|
|
8225
|
+
console.warn('Attempted to select an out-of-stock value:', optionvaluesitem);
|
|
8226
|
+
}
|
|
8083
8227
|
} else {
|
|
8084
8228
|
var _productarr$data2;
|
|
8085
8229
|
var productarr = ProductInfoObj;
|
|
@@ -8556,10 +8700,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
8556
8700
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
8557
8701
|
runfunc = true;
|
|
8558
8702
|
} else {
|
|
8559
|
-
var _authdetailsContext$
|
|
8703
|
+
var _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0;
|
|
8560
8704
|
// here
|
|
8561
8705
|
setvariantnotchosendisclaimer('This field is required');
|
|
8562
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8706
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '674f0617c7811' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '693fdc5a14f45' ? langdetect == 'en' ? 'Please Choose Size & Color' : 'من فضلك اخنر اللون و المقاس' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Please Choose Color' : 'من فضلك اختر لون' : langdetect == 'en' ? 'Please Choose Product Options' : 'من فضلك اختر من المتغيرات');
|
|
8563
8707
|
}
|
|
8564
8708
|
} else {
|
|
8565
8709
|
runfunc = true;
|
|
@@ -8643,9 +8787,9 @@ var Productinfo = function Productinfo(props) {
|
|
|
8643
8787
|
};
|
|
8644
8788
|
};
|
|
8645
8789
|
var returnpolicyobj = function returnpolicyobj(policytype) {
|
|
8646
|
-
var _authdetailsContext$
|
|
8790
|
+
var _authdetailsContext$i1;
|
|
8647
8791
|
var policyobj = {};
|
|
8648
|
-
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8792
|
+
authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 || (_authdetailsContext$i1 = _authdetailsContext$i1.instpolicies) === null || _authdetailsContext$i1 === void 0 || _authdetailsContext$i1.forEach(function (item, index) {
|
|
8649
8793
|
if (item.policytype == policytype) {
|
|
8650
8794
|
policyobj = item;
|
|
8651
8795
|
}
|
|
@@ -8654,7 +8798,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8654
8798
|
};
|
|
8655
8799
|
var relatedproducts = function relatedproducts() {
|
|
8656
8800
|
if (Relatedproducts.length != 0) {
|
|
8657
|
-
var _authdetailsContext$
|
|
8801
|
+
var _authdetailsContext$i10;
|
|
8658
8802
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8659
8803
|
className: "w-100 row ml-0 mr-0 d-flex justify-content-start pl-md-3 pr-md-3 pl-sm-2 pr-sm-2",
|
|
8660
8804
|
style: {
|
|
@@ -8696,7 +8840,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
8696
8840
|
}, /*#__PURE__*/React__default["default"].createElement(reactHorizontalScrollingMenu.ScrollMenu, {
|
|
8697
8841
|
transitionBehavior: 'auto',
|
|
8698
8842
|
wrapperClassName: '',
|
|
8699
|
-
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8843
|
+
itemClassName: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '67dc756de56bd' ? 'scrollmenuclassnameitemrelatedproductkingtut' : 'scrollmenuclassnameitemrelatedproduct',
|
|
8700
8844
|
scrollContainerClassName: 'scrollmenuclasssubscrollbarrelatedproducts'
|
|
8701
8845
|
}, Relatedproducts.map(function (item, index) {
|
|
8702
8846
|
if (item.productinfo != null) {
|
|
@@ -8767,10 +8911,10 @@ var Productinfo = function Productinfo(props) {
|
|
|
8767
8911
|
if (addtocartobjparam.variantid.length != 0) {
|
|
8768
8912
|
runfunc = true;
|
|
8769
8913
|
} else {
|
|
8770
|
-
var _authdetailsContext$
|
|
8914
|
+
var _authdetailsContext$i11;
|
|
8771
8915
|
// here
|
|
8772
8916
|
setvariantnotchosendisclaimer('This field is required');
|
|
8773
|
-
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8917
|
+
NotificationManager.warning('', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) == '674f0617c7811' ? 'Please Choose Size & Color' : 'Please Choose Product Options');
|
|
8774
8918
|
}
|
|
8775
8919
|
} else {
|
|
8776
8920
|
runfunc = true;
|
|
@@ -8813,8 +8957,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
8813
8957
|
isVarianturlLoaded = _useState56[0],
|
|
8814
8958
|
setisVarianturlLoaded = _useState56[1];
|
|
8815
8959
|
React.useEffect(function () {
|
|
8816
|
-
var _authdetailsContext$
|
|
8817
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
8960
|
+
var _authdetailsContext$i12;
|
|
8961
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) == '68f918a4ccb85') {
|
|
8818
8962
|
var params = new URLSearchParams(window.location.search);
|
|
8819
8963
|
var variantId = params.get('variant');
|
|
8820
8964
|
if (isVarianturlLoaded == false) {
|
|
@@ -9609,7 +9753,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9609
9753
|
})));
|
|
9610
9754
|
};
|
|
9611
9755
|
var StoreInfo = function StoreInfo(position) {
|
|
9612
|
-
var _fetchProductInfoQuer77, _authdetailsContext$
|
|
9756
|
+
var _fetchProductInfoQuer77, _authdetailsContext$i14, _returnpolicyobj, _returnpolicyobj2, _returnpolicyobj3, _returnpolicyobj4, _authdetailsContext$i15, _authdetailsContext$i17;
|
|
9613
9757
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9614
9758
|
"class": sectionproperties.storeinformationcontainerborderwidth != 0 ? 'row m-0 w-100 p-3' : 'row m-0 w-100',
|
|
9615
9759
|
style: {
|
|
@@ -9688,8 +9832,8 @@ var Productinfo = function Productinfo(props) {
|
|
|
9688
9832
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9689
9833
|
className: "".concat(productinfo_cssstyles.storeinfobtn, " ").concat(productinfo_cssstyles.storeinfocontainer) + ' mb-t col-lg-12 p-0 d-flex align-items-center cursor-pointer ',
|
|
9690
9834
|
onClick: function onClick() {
|
|
9691
|
-
var _authdetailsContext$
|
|
9692
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9835
|
+
var _authdetailsContext$i13;
|
|
9836
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 || (_authdetailsContext$i13 = _authdetailsContext$i13.contactinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.email), '_self');
|
|
9693
9837
|
}
|
|
9694
9838
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9695
9839
|
"class": productinfo_cssstyles.iconContainer + ' iconContainer '
|
|
@@ -9709,7 +9853,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9709
9853
|
style: {
|
|
9710
9854
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
9711
9855
|
}
|
|
9712
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9856
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 || (_authdetailsContext$i14 = _authdetailsContext$i14.contactinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.email))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9713
9857
|
"class": "col-lg-12 my-2",
|
|
9714
9858
|
style: {
|
|
9715
9859
|
display: sectionproperties.showfirstpolicy_storeinfo == 'Hide' && sectionproperties.showsecondpolicy_storeinfo == 'Hide' ? 'none' : 'block'
|
|
@@ -9761,25 +9905,25 @@ var Productinfo = function Productinfo(props) {
|
|
|
9761
9905
|
}
|
|
9762
9906
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9763
9907
|
"class": "m-0 p-0"
|
|
9764
|
-
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9908
|
+
}, langdetect == 'en' ? sectionproperties.phonetitle_en : sectionproperties.phonetitle_ar))), sectionproperties.showfooteremail == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 || (_authdetailsContext$i15 = _authdetailsContext$i15.contactinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.email) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9765
9909
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
9766
9910
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
9767
9911
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
9768
9912
|
onClick: function onClick() {
|
|
9769
|
-
var _authdetailsContext$
|
|
9770
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9913
|
+
var _authdetailsContext$i16;
|
|
9914
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 || (_authdetailsContext$i16 = _authdetailsContext$i16.contactinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.email), '_self');
|
|
9771
9915
|
}
|
|
9772
9916
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9773
9917
|
"class": "m-0 p-0"
|
|
9774
|
-
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9918
|
+
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar))), sectionproperties.showwhatsapp == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9775
9919
|
"class": position == 'belowinfo' ? 'col-lg-12 allcentered mb-2 p-0' : 'col-lg-12 allcentered mb-2 p-sm-0'
|
|
9776
9920
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
9777
9921
|
"class": productinfo_cssstyles.storeinfobtn + ' allcentered ',
|
|
9778
9922
|
onClick: function onClick() {
|
|
9779
|
-
var _authdetailsContext$
|
|
9780
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9781
|
-
var _authdetailsContext$
|
|
9782
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
9923
|
+
var _authdetailsContext$i18;
|
|
9924
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.whatsappnumber) != null) {
|
|
9925
|
+
var _authdetailsContext$i19;
|
|
9926
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.whatsappnumber), '_blank');
|
|
9783
9927
|
}
|
|
9784
9928
|
}
|
|
9785
9929
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -9865,7 +10009,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9865
10009
|
lang: lang,
|
|
9866
10010
|
srcfromprops: props.srcfromprops
|
|
9867
10011
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "relatedproducts", relatedproducts), "productVideos", productVideos), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref, "variantsku", variantsku), "variantvalueidentifier", variantvalueidentifier), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
9868
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productinfo) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10012
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer84 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.data) === null || _fetchProductInfoQuer84 === void 0 || (_fetchProductInfoQuer84 = _fetchProductInfoQuer84.productinfo) === null || _fetchProductInfoQuer84 === void 0 ? void 0 : _fetchProductInfoQuer84.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) != '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Article_itemtype, {
|
|
9869
10013
|
actions: (_ref2 = {
|
|
9870
10014
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
9871
10015
|
setisoutofstock: setisoutofstock,
|
|
@@ -9875,7 +10019,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9875
10019
|
lang: lang,
|
|
9876
10020
|
srcfromprops: props.srcfromprops
|
|
9877
10021
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "ProductInfoObj", ProductInfoObj), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "variantindexcompleted", variantindexcompleted), "StaticPagesLinksContext", StaticPagesLinksContext), "NotificationManager", NotificationManager), "GeneralAPIMutationContext", GeneralAPIMutationContext), "quantityconditionfoundobjprops", quantityconditionfoundobj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref2, "relatedproducts", relatedproducts), "getprice_discountpriceprops", getprice_discountpriceprops), "StoreInfoprops", StoreInfo), "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "variantindex", variantindex), "setvariantindex", setvariantindex), "variantsku", variantsku), _defineProperty__default["default"](_defineProperty__default["default"](_ref2, "variantvalueidentifier", variantvalueidentifier), "productpdfsarray", productpdfsarray))
|
|
9878
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10022
|
+
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 || (_fetchProductInfoQuer85 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.data) === null || _fetchProductInfoQuer85 === void 0 || (_fetchProductInfoQuer85 = _fetchProductInfoQuer85.productinfo) === null || _fetchProductInfoQuer85 === void 0 ? void 0 : _fetchProductInfoQuer85.item_type) == 'Article' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '6946c118427af' && /*#__PURE__*/React__default["default"].createElement(Product_itemtype_Article, {
|
|
9879
10023
|
actions: (_ref3 = {
|
|
9880
10024
|
isOptionInStock: isOptionInStock,
|
|
9881
10025
|
variantnotchosendisclaimer: variantnotchosendisclaimer,
|
|
@@ -9899,7 +10043,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
9899
10043
|
lang: lang,
|
|
9900
10044
|
srcfromprops: props.srcfromprops
|
|
9901
10045
|
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "returnpolicyobj", returnpolicyobj), "productinfo_cssstyles", productinfo_cssstyles), "addtocartfunc", addtocartfunc), "selectproductoptionvalue", selectproductoptionvalue), "clearchoosenvaluesbutkeepcurrentvalue", clearchoosenvaluesbutkeepcurrentvalue), "productimagesarray", productimagesarray), "fetchProductInfoQueryContext", fetchProductInfoQueryContext), "sectionproperties", sectionproperties), "addtocardpayloadobj", addtocardpayloadobj), "ProductInfoObj", ProductInfoObj), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "currentshowingimageindex", currentshowingimageindex), "setcurrentshowingimageindex", setcurrentshowingimageindex), "setaddtocardpayloadobj", setaddtocardpayloadobj), "routingcountext", routingcountext), "AddtoCartMutationContext", AddtoCartMutationContext), "authdetailsContext", authdetailsContext), "addtofavoritescontext", addtofavoritescontext), "StaticPagesLinksContext", StaticPagesLinksContext), "variantindexcompleted", variantindexcompleted), "GeneralAPIMutationContext", GeneralAPIMutationContext), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "NotificationManager", NotificationManager), "getprice_discountpriceprops", getprice_discountpriceprops), "quantityconditionfoundobjprops", quantityconditionfoundobj), "relatedproducts", relatedproducts), "getQuantityCondition", getQuantityCondition), "StoreInfoprops", StoreInfo), "templatepropcontext", templatepropcontext), "ikimagecredcontext", ikimagecredcontext), "sizeguideimage", sizeguideimage), "setopensizeguidemodal", setopensizeguidemodal), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_ref4, "isOptionInStock", isOptionInStock), "addtocartfunc_extras", addtocartfunc_extras), "productpdfsarray", productpdfsarray))
|
|
9902
|
-
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10046
|
+
}), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) != '6852e5ed44e14' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) != '68a9e83c05b75' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) != '68c27b4570751' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) != '68e4efe8cb18e' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) != '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9903
10047
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
9904
10048
|
style: {
|
|
9905
10049
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10090,7 +10234,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10090
10234
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10091
10235
|
sectionproperties: sectionproperties
|
|
10092
10236
|
})
|
|
10093
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10237
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '68e4efe8cb18e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10094
10238
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
10095
10239
|
style: {
|
|
10096
10240
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|
|
@@ -10241,7 +10385,7 @@ var Productinfo = function Productinfo(props) {
|
|
|
10241
10385
|
productinfo_cssstyles: productinfo_cssstyles,
|
|
10242
10386
|
sectionproperties: sectionproperties
|
|
10243
10387
|
})
|
|
10244
|
-
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
10388
|
+
}))))), props.srcfromprops != 'templatedraftrouter' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '693ae1f70d9a4' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
10245
10389
|
className: sectionproperties.card_marginLeft != 0 ? ' col-lg-12 p-0 pl-lg-3 pr-lg-3 pl-md-4 pr-md-4 pl-sm-1 pr-sm-1 ' : ' col-lg-12 p-sm-0 ',
|
|
10246
10390
|
style: {
|
|
10247
10391
|
paddingLeft: props.srcfromprops == 'Productinfomodel' ? langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px' : 0,
|