tabexseriescomponents 0.2.1426 → 0.2.1427
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 +484 -43
- package/dist/index.esm.js +484 -43
- package/dist/index.umd.js +484 -43
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -99409,7 +99409,7 @@
|
|
|
99409
99409
|
function ownKeys$6(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; }
|
|
99410
99410
|
function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
99411
99411
|
var Simpleproductcard = function Simpleproductcard(props) {
|
|
99412
|
-
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$
|
|
99412
|
+
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i15, _item$producttags2, _authdetailsContext$i16, _item$producttags$2, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i22, _authdetailsContext$i23, _authdetailsContext$i24, _authdetailsContext$i25, _authdetailsContext$i26, _item$producttags3, _authdetailsContext$i27, _item$producttags$3, _authdetailsContext$i28, _authdetailsContext$i29, _authdetailsContext$i30, _authdetailsContext$i34, _item$producttags4, _authdetailsContext$i35, _item$producttags$4, _authdetailsContext$i36, _authdetailsContext$i37, _authdetailsContext$i38;
|
|
99413
99413
|
var _useState = React.useState(''),
|
|
99414
99414
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
99415
99415
|
sectionproperties = _useState2[0],
|
|
@@ -100239,7 +100239,7 @@
|
|
|
100239
100239
|
bottom: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '682dfdcdb9720' && sectionproperties.image_mb == -1 ? 30 : 0,
|
|
100240
100240
|
zIndex: 10
|
|
100241
100241
|
}
|
|
100242
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100242
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) != '6a708efd56628' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100243
100243
|
"class": sectionproperties.productnamecentered == 'Centered' ? card_cssstyles.innersection + ' row m-0 w-100 allcentered ' : card_cssstyles.innersection + ' row m-0 w-100 ',
|
|
100244
100244
|
style: {
|
|
100245
100245
|
// move to spo
|
|
@@ -100247,7 +100247,7 @@
|
|
|
100247
100247
|
// bottom: authdetailsContext?.instinfo?.contactinfo.instid == '682dfdcdb9720' && sectionproperties.image_mb == -1 ? 30 : 0,
|
|
100248
100248
|
// zIndex: 10,
|
|
100249
100249
|
}
|
|
100250
|
-
}, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100250
|
+
}, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.contactinfo.instid) == '69de6dceab218' && (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != null && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) != 0 && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.map(function (ffitem, ffindex) {
|
|
100251
100251
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100252
100252
|
"class": "text-start d-flex align-items-center col-lg- p-0 mb-1"
|
|
100253
100253
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -100265,7 +100265,7 @@
|
|
|
100265
100265
|
fontWeight: 300
|
|
100266
100266
|
}
|
|
100267
100267
|
}, "-"));
|
|
100268
|
-
})), sectionproperties.showfeatures == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100268
|
+
})), sectionproperties.showfeatures == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.contactinfo.instid) != '69de6dceab218' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.contactinfo.instid) != '6a552697b2c62' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100269
100269
|
"class": "allcentered col-lg-12 p-0",
|
|
100270
100270
|
style: {
|
|
100271
100271
|
height: 40
|
|
@@ -100285,7 +100285,7 @@
|
|
|
100285
100285
|
color: sectionproperties.featurecolor,
|
|
100286
100286
|
fontSize: sectionproperties.featurefontsize + 'px'
|
|
100287
100287
|
}
|
|
100288
|
-
}, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100288
|
+
}, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.contactinfo.instid) == '68b87409b9a2a' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100289
100289
|
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
100290
100290
|
style: {
|
|
100291
100291
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -100324,8 +100324,8 @@
|
|
|
100324
100324
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100325
100325
|
onClick: function onClick() {
|
|
100326
100326
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
100327
|
-
var _authdetailsContext$
|
|
100328
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100327
|
+
var _authdetailsContext$i14;
|
|
100328
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
100329
100329
|
setShowProductInfoModalContext(true);
|
|
100330
100330
|
setProductIdProdutInfoModalContext(item.productid);
|
|
100331
100331
|
} else {
|
|
@@ -100344,7 +100344,7 @@
|
|
|
100344
100344
|
style: {
|
|
100345
100345
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
100346
100346
|
}
|
|
100347
|
-
}, item.name)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100347
|
+
}, item.name)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '6a552697b2c62' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100348
100348
|
"class": "text-start d-flex align-items-center col-lg-12 flex-row p-0 mb-1 mt-1"
|
|
100349
100349
|
}, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != null && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) != 0 && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.map(function (ffitem, ffindex) {
|
|
100350
100350
|
if (ffindex < 2) {
|
|
@@ -100376,7 +100376,7 @@
|
|
|
100376
100376
|
}
|
|
100377
100377
|
})), langdetect == 'en' ? ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_en : ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_ar);
|
|
100378
100378
|
}
|
|
100379
|
-
}))), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags2 = item.producttags) === null || _item$producttags2 === void 0 ? void 0 : _item$producttags2.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100379
|
+
}))), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags2 = item.producttags) === null || _item$producttags2 === void 0 ? void 0 : _item$producttags2.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100380
100380
|
"class": "allcentered",
|
|
100381
100381
|
style: {
|
|
100382
100382
|
width: '100%',
|
|
@@ -100443,7 +100443,7 @@
|
|
|
100443
100443
|
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
100444
100444
|
}, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100445
100445
|
style: {}
|
|
100446
|
-
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100446
|
+
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100447
100447
|
"class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
|
|
100448
100448
|
style: {
|
|
100449
100449
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -100544,7 +100544,7 @@
|
|
|
100544
100544
|
color: sectionproperties.quantitycolor,
|
|
100545
100545
|
fontWeight: sectionproperties.quantityfontweight
|
|
100546
100546
|
}
|
|
100547
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100547
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100548
100548
|
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
100549
100549
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100550
100550
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
@@ -100589,7 +100589,7 @@
|
|
|
100589
100589
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
100590
100590
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
100591
100591
|
"class": "h-100 allcentered addbtn"
|
|
100592
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100592
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.contactinfo.instid) == '69eddfb81f141' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100593
100593
|
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
100594
100594
|
style: {
|
|
100595
100595
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
@@ -100618,13 +100618,13 @@
|
|
|
100618
100618
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100619
100619
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
100620
100620
|
onClick: function onClick() {
|
|
100621
|
-
var _authdetailsContext$
|
|
100622
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100621
|
+
var _authdetailsContext$i20;
|
|
100622
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
100623
100623
|
setShowProductInfoModalContext(true);
|
|
100624
100624
|
setProductIdProdutInfoModalContext(item.productid);
|
|
100625
100625
|
} else {
|
|
100626
|
-
var _authdetailsContext$
|
|
100627
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100626
|
+
var _authdetailsContext$i21;
|
|
100627
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '68527dfef348b') {
|
|
100628
100628
|
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
100629
100629
|
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
100630
100630
|
addtocartfunc();
|
|
@@ -100684,7 +100684,448 @@
|
|
|
100684
100684
|
}
|
|
100685
100685
|
}),
|
|
100686
100686
|
activeColor: "#ffd700"
|
|
100687
|
-
})))))
|
|
100687
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '6a708efd56628' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100688
|
+
"class": sectionproperties.productnamecentered == 'Centered' ? card_cssstyles.innersection + ' row m-0 w-100 allcentered ' : card_cssstyles.innersection + ' row m-0 w-100 allcentered ',
|
|
100689
|
+
style: {}
|
|
100690
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100691
|
+
style: {
|
|
100692
|
+
width: '97%',
|
|
100693
|
+
borderRadius: 20
|
|
100694
|
+
},
|
|
100695
|
+
"class": "product-content px-3 py-5"
|
|
100696
|
+
}, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.contactinfo.instid) == '69de6dceab218' && (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != null && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) != 0 && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.map(function (ffitem, ffindex) {
|
|
100697
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100698
|
+
"class": "text-start d-flex align-items-center col-lg- p-0 mb-1"
|
|
100699
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100700
|
+
"class": "text-capitalize d-flex flex-row",
|
|
100701
|
+
style: {
|
|
100702
|
+
color: sectionproperties.featurecolor,
|
|
100703
|
+
fontSize: sectionproperties.featurefontsize + 'px',
|
|
100704
|
+
fontWeight: 300
|
|
100705
|
+
}
|
|
100706
|
+
}, langdetect == 'en' ? ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_en : ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_ar), ffindex < (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) - 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
100707
|
+
"class": "mx-2 ",
|
|
100708
|
+
style: {
|
|
100709
|
+
color: sectionproperties.featurecolor,
|
|
100710
|
+
fontSize: sectionproperties.featurefontsize + 'px',
|
|
100711
|
+
fontWeight: 300
|
|
100712
|
+
}
|
|
100713
|
+
}, "-"));
|
|
100714
|
+
})), sectionproperties.showfeatures == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.contactinfo.instid) != '69de6dceab218' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100715
|
+
"class": "allcentered col-lg-12 p-0",
|
|
100716
|
+
style: {
|
|
100717
|
+
height: 40
|
|
100718
|
+
}
|
|
100719
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
100720
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
100721
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
100722
|
+
path: item === null || item === void 0 ? void 0 : item.feature_image_url,
|
|
100723
|
+
loading: "lazy",
|
|
100724
|
+
style: {
|
|
100725
|
+
maxWidth: '50%',
|
|
100726
|
+
maxHeight: '50%'
|
|
100727
|
+
}
|
|
100728
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100729
|
+
"class": "text-capitalize mx-2",
|
|
100730
|
+
style: {
|
|
100731
|
+
color: sectionproperties.featurecolor,
|
|
100732
|
+
fontSize: sectionproperties.featurefontsize + 'px'
|
|
100733
|
+
}
|
|
100734
|
+
}, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.contactinfo.instid) == '68b87409b9a2a' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100735
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
100736
|
+
style: {
|
|
100737
|
+
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
100738
|
+
}
|
|
100739
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100740
|
+
"class": "m-0 p-0",
|
|
100741
|
+
style: {
|
|
100742
|
+
width: 8,
|
|
100743
|
+
height: 8,
|
|
100744
|
+
borderRadius: 100,
|
|
100745
|
+
background: 'green'
|
|
100746
|
+
}
|
|
100747
|
+
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100748
|
+
"class": 'm-0 mx-2 p-0',
|
|
100749
|
+
style: {
|
|
100750
|
+
color: 'green',
|
|
100751
|
+
fontSize: 13,
|
|
100752
|
+
fontWeight: 400
|
|
100753
|
+
}
|
|
100754
|
+
}, langdetect == 'en' ? 'In Stock' : 'متوفر')), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100755
|
+
"class": "col-lg-12 p-0 d-flex align-items-center mb-1 flex-row"
|
|
100756
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100757
|
+
style: {
|
|
100758
|
+
width: 40,
|
|
100759
|
+
height: 40,
|
|
100760
|
+
borderRadius: 100,
|
|
100761
|
+
border: '1px solid #ccc'
|
|
100762
|
+
}
|
|
100763
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
100764
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
100765
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
100766
|
+
path: item.vendorlogo,
|
|
100767
|
+
loading: "lazy",
|
|
100768
|
+
style: {
|
|
100769
|
+
width: '100%',
|
|
100770
|
+
height: '100%'
|
|
100771
|
+
}
|
|
100772
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100773
|
+
"class": "m-0 p-0 px-2",
|
|
100774
|
+
style: {
|
|
100775
|
+
color: '#000',
|
|
100776
|
+
fontSize: 13
|
|
100777
|
+
}
|
|
100778
|
+
}, item.vendorname)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100779
|
+
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
|
|
100780
|
+
style: {
|
|
100781
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
100782
|
+
fontSize: sectionproperties.measurementunitfontsize + 'px',
|
|
100783
|
+
color: sectionproperties.measurementunitcolor
|
|
100784
|
+
}
|
|
100785
|
+
}, item.measurmentunit), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100786
|
+
"class": "col-lg-12 pl-0 pr-0",
|
|
100787
|
+
style: {
|
|
100788
|
+
minHeight: sectionproperties.wordbreak == '1' ? 'auto' : '6vh',
|
|
100789
|
+
background: sectionproperties.prodNameBackgroundColor,
|
|
100790
|
+
borderRadius: '15px',
|
|
100791
|
+
paddingTop: sectionproperties.productnamepaddingvertical + 'px',
|
|
100792
|
+
paddingBottom: sectionproperties.productnamepaddingvertical + 'px'
|
|
100793
|
+
}
|
|
100794
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100795
|
+
onClick: function onClick() {
|
|
100796
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
100797
|
+
var productidtobesend = null;
|
|
100798
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
100799
|
+
productidtobesend = item.productendpointurl;
|
|
100800
|
+
} else {
|
|
100801
|
+
productidtobesend = item.productid;
|
|
100802
|
+
}
|
|
100803
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
100804
|
+
}
|
|
100805
|
+
},
|
|
100806
|
+
"class": sectionproperties.wordbreak == '1' ?
|
|
100807
|
+
// move to spo
|
|
100808
|
+
"".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 pname ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 wordbreak-md-4 m-0 pname ',
|
|
100809
|
+
style: {
|
|
100810
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
100811
|
+
}
|
|
100812
|
+
}, item.name)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags3 = item.producttags) === null || _item$producttags3 === void 0 ? void 0 : _item$producttags3.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100813
|
+
"class": "allcentered",
|
|
100814
|
+
style: {
|
|
100815
|
+
width: '100%',
|
|
100816
|
+
left: 0,
|
|
100817
|
+
right: 0,
|
|
100818
|
+
zIndex: 100
|
|
100819
|
+
}
|
|
100820
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100821
|
+
"class": "px-3 py-1",
|
|
100822
|
+
style: {
|
|
100823
|
+
width: 'fit-content',
|
|
100824
|
+
background: sectionproperties.tagbackgroundcolor,
|
|
100825
|
+
borderRadius: sectionproperties.tagborderradius + 'px',
|
|
100826
|
+
color: sectionproperties.tagcolor,
|
|
100827
|
+
fontSize: 12
|
|
100828
|
+
}
|
|
100829
|
+
}, item === null || item === void 0 || (_item$producttags$3 = item.producttags[0]) === null || _item$producttags$3 === void 0 || (_item$producttags$3 = _item$producttags$3.taginfo) === null || _item$producttags$3 === void 0 ? void 0 : _item$producttags$3.tagname)), sectionproperties.showSKU == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100830
|
+
"class": "col-lg-12 pl-0 pr-0",
|
|
100831
|
+
style: {}
|
|
100832
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100833
|
+
"class": "".concat(card_cssstyles.sku) + ' wordbreak wordbreak1 font-md-13 m-0 ',
|
|
100834
|
+
style: {
|
|
100835
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
100836
|
+
}
|
|
100837
|
+
}, langdetect == 'en' ? 'SKU: ' : 'كود: ', item.sku)), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'No' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100838
|
+
"class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 wordbreak wordbreak4 mt-1 ',
|
|
100839
|
+
style: {
|
|
100840
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
100841
|
+
},
|
|
100842
|
+
dangerouslySetInnerHTML: {
|
|
100843
|
+
__html: item.shortdescription
|
|
100844
|
+
}
|
|
100845
|
+
}), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100846
|
+
"class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak p-0 mt-1 ',
|
|
100847
|
+
style: {
|
|
100848
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
100849
|
+
}
|
|
100850
|
+
}, plainString(item.shortdescription)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100851
|
+
style: {
|
|
100852
|
+
flexDirection: 'column',
|
|
100853
|
+
display: sectionproperties.prodPriceShow == 'Hide' && sectionproperties.showprofitcontainer == 'Hide' && sectionproperties.cartBtnShow == 'Hide' && sectionproperties.prodsalePriceshow == 'Hide' ? 'none' : 'flex'
|
|
100854
|
+
},
|
|
100855
|
+
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 mt-1 "
|
|
100856
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100857
|
+
"class": "row m-0 w-100 "
|
|
100858
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100859
|
+
"class": " d-flex flex-row col-lg-12 mx-0 p-0 align-items-center ",
|
|
100860
|
+
style: {
|
|
100861
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
100862
|
+
marginTop: sectionproperties.productpricemarginTop + 'px',
|
|
100863
|
+
marginBottom: sectionproperties.productpricemarginBottom + 'px'
|
|
100864
|
+
}
|
|
100865
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100866
|
+
"class": sectionproperties.priceDirection == 'Horizontal Direction' ? ' d-flex align-items-center p-0 mb-0 flex-row ' : ' d-flex align-items-center p-0 mb-0 flex-column ',
|
|
100867
|
+
style: {
|
|
100868
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
100869
|
+
minHeight: sectionproperties.priceDirection == 'Horizontal Direction' ? '' : '10.5vh'
|
|
100870
|
+
}
|
|
100871
|
+
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100872
|
+
"class": sectionproperties.priceDirection == 'Horizontal Direction' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 w-100' : "".concat(card_cssstyles.productPricestyles) + ' m-0 w-100'
|
|
100873
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", has_sale == 1 ? sale_price : price, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && has_sale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100874
|
+
"class": sectionproperties.priceDirection == 'Horizontal' ? ' d-flex align-items-center p-0 mb-0 w-100 text-start ' : ' d-flex align-items-center p-0 mb-0 w-100 text-start '
|
|
100875
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100876
|
+
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 '
|
|
100877
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100878
|
+
"class": ' px-2 allcentered mx-2',
|
|
100879
|
+
style: {
|
|
100880
|
+
width: 100,
|
|
100881
|
+
height: sectionproperties.pillheight + 'px',
|
|
100882
|
+
background: '#F9E1E0',
|
|
100883
|
+
borderRadius: 100
|
|
100884
|
+
}
|
|
100885
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100886
|
+
"class": "m-0 p-0",
|
|
100887
|
+
style: {
|
|
100888
|
+
color: '#7D0808',
|
|
100889
|
+
fontSize: '15px',
|
|
100890
|
+
direction: 'ltr',
|
|
100891
|
+
fontWeight: 600
|
|
100892
|
+
}
|
|
100893
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(price) - parseInt(sale_price)) / parseInt(price)) * 100) / 10.0).toFixed(0) + '%'))), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100894
|
+
style: {}
|
|
100895
|
+
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100896
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
|
|
100897
|
+
style: {
|
|
100898
|
+
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
100899
|
+
}
|
|
100900
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100901
|
+
"class": "m-0 p-0",
|
|
100902
|
+
style: {
|
|
100903
|
+
width: 8,
|
|
100904
|
+
height: 8,
|
|
100905
|
+
borderRadius: 100,
|
|
100906
|
+
background: 'green'
|
|
100907
|
+
}
|
|
100908
|
+
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100909
|
+
"class": 'm-0 mx-2 p-0',
|
|
100910
|
+
style: {
|
|
100911
|
+
color: 'green',
|
|
100912
|
+
fontSize: 13,
|
|
100913
|
+
fontWeight: 400
|
|
100914
|
+
}
|
|
100915
|
+
}, langdetect == 'en' ? 'In Stock' : 'متوفر')), sectionproperties.showvariantscont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100916
|
+
"class": "col-12 p-0"
|
|
100917
|
+
}, /*#__PURE__*/React__default["default"].createElement(Variants_J_Cards, {
|
|
100918
|
+
actions: {
|
|
100919
|
+
sectionproperties: sectionproperties,
|
|
100920
|
+
item: item,
|
|
100921
|
+
cardonclickfunctionContext: cardonclickfunctionContext,
|
|
100922
|
+
fetchingtypeprops: props.fetchingtypeprops
|
|
100923
|
+
},
|
|
100924
|
+
foundMatchedVariantFunc: function foundMatchedVariantFunc(variantCompletedObj) {
|
|
100925
|
+
// alert(JSON.stringify(variantCompletedObj));
|
|
100926
|
+
// console.log(variantCompletedObj);
|
|
100927
|
+
setvariantObj(variantCompletedObj);
|
|
100928
|
+
var variant_price = 0;
|
|
100929
|
+
var variant_saleprice = 0;
|
|
100930
|
+
var variant_hassale = 0;
|
|
100931
|
+
var is_found = false;
|
|
100932
|
+
if (variantCompletedObj != null && variantCompletedObj != undefined) {
|
|
100933
|
+
var _variantCompletedObj$1;
|
|
100934
|
+
if (variantCompletedObj.variant_prices != undefined && variantCompletedObj != null && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$1 = variantCompletedObj.variant_prices) === null || _variantCompletedObj$1 === void 0 ? void 0 : _variantCompletedObj$1.length) != 0) {
|
|
100935
|
+
var _variantCompletedObj$10, _variantCompletedObj$11, _variantCompletedObj$13, _variantCompletedObj$14, _variantCompletedObj$16, _variantCompletedObj$17;
|
|
100936
|
+
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$10 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$10 === void 0 ? void 0 : _variantCompletedObj$10.price) != undefined && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$11 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$11 === void 0 ? void 0 : _variantCompletedObj$11.price) != null) {
|
|
100937
|
+
var _variantCompletedObj$12;
|
|
100938
|
+
variant_price = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$12 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$12 === void 0 ? void 0 : _variantCompletedObj$12.price;
|
|
100939
|
+
is_found = true;
|
|
100940
|
+
}
|
|
100941
|
+
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$13 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$13 === void 0 ? void 0 : _variantCompletedObj$13.price) != undefined && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$14 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$14 === void 0 ? void 0 : _variantCompletedObj$14.price) != null) {
|
|
100942
|
+
var _variantCompletedObj$15;
|
|
100943
|
+
variant_saleprice = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$15 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$15 === void 0 ? void 0 : _variantCompletedObj$15.saleprice;
|
|
100944
|
+
}
|
|
100945
|
+
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$16 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$16 === void 0 ? void 0 : _variantCompletedObj$16.price) != undefined && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$17 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$17 === void 0 ? void 0 : _variantCompletedObj$17.price) != null) {
|
|
100946
|
+
var _variantCompletedObj$18;
|
|
100947
|
+
variant_hassale = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$18 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$18 === void 0 ? void 0 : _variantCompletedObj$18.hassale;
|
|
100948
|
+
}
|
|
100949
|
+
}
|
|
100950
|
+
}
|
|
100951
|
+
if (is_found) {
|
|
100952
|
+
setprice(variant_price);
|
|
100953
|
+
setsale_price(variant_saleprice);
|
|
100954
|
+
sethas_sale(variant_hassale);
|
|
100955
|
+
}
|
|
100956
|
+
},
|
|
100957
|
+
foundImageColorMatchingFunc: function foundImageColorMatchingFunc(variantIMAGECompletedObj) {
|
|
100958
|
+
setVariant_Color_ImageObj(variantIMAGECompletedObj);
|
|
100959
|
+
}
|
|
100960
|
+
})), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100961
|
+
"class": "col-lg-12 p-0",
|
|
100962
|
+
style: {
|
|
100963
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
100964
|
+
}
|
|
100965
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100966
|
+
"class": card_cssstyles.profitcontainer + ' d-flex align-items-center flex-sm-column px-2',
|
|
100967
|
+
style: {
|
|
100968
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
100969
|
+
}
|
|
100970
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100971
|
+
"class": ' m-0 p-0 d-flex align-items-center ',
|
|
100972
|
+
style: {
|
|
100973
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
100974
|
+
}
|
|
100975
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
100976
|
+
style: {
|
|
100977
|
+
fontWeight: sectionproperties.profitcontainerfontweight
|
|
100978
|
+
}
|
|
100979
|
+
}, langdetect == 'en' ? sectionproperties.profitcontainercontenten : sectionproperties.profitcontainercontentar, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
100980
|
+
"class": "mx-1",
|
|
100981
|
+
style: {
|
|
100982
|
+
fontWeight: sectionproperties.profitcontainersecondaryfontweight
|
|
100983
|
+
}
|
|
100984
|
+
}, langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(has_sale == 1 ? sale_price : price) * (item.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.quantityshow == 'Show' && item.currentquantity > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100985
|
+
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
100986
|
+
style: {
|
|
100987
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
100988
|
+
}
|
|
100989
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100990
|
+
"class": "m-0 p-0",
|
|
100991
|
+
style: {
|
|
100992
|
+
fontSize: sectionproperties.quantityfontsize,
|
|
100993
|
+
color: sectionproperties.quantitycolor,
|
|
100994
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
100995
|
+
}
|
|
100996
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100997
|
+
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
100998
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100999
|
+
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
101000
|
+
style: {
|
|
101001
|
+
direction: 'ltr'
|
|
101002
|
+
}
|
|
101003
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
101004
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
101005
|
+
onClick: function onClick() {
|
|
101006
|
+
var tempitem = _objectSpread$6({}, item);
|
|
101007
|
+
tempitem.quantity = parseInt(tempitem.quantity);
|
|
101008
|
+
tempitem.quantity = tempitem.quantity - 1;
|
|
101009
|
+
if (tempitem.quantity <= 0) {
|
|
101010
|
+
tempitem.quantity = 0;
|
|
101011
|
+
}
|
|
101012
|
+
setitem(_objectSpread$6({}, tempitem));
|
|
101013
|
+
// addtocartfuncquantity('add', tempitem.quantity);
|
|
101014
|
+
},
|
|
101015
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
101016
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
101017
|
+
"class": "h-100 allcentered minusbtn"
|
|
101018
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, null))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
101019
|
+
"class": ' d-flex align-items-center justify-content-center ',
|
|
101020
|
+
style: {
|
|
101021
|
+
fontSize: 14,
|
|
101022
|
+
fontWeight: 500,
|
|
101023
|
+
color: sectionproperties.cartBtnbgColor,
|
|
101024
|
+
flex: 1
|
|
101025
|
+
}
|
|
101026
|
+
}, addtocartbuttonrenderquantity()), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
101027
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
101028
|
+
onClick: function onClick() {
|
|
101029
|
+
var tempitem = _objectSpread$6({}, item);
|
|
101030
|
+
tempitem.quantity = parseInt(tempitem.quantity);
|
|
101031
|
+
tempitem.quantity = tempitem.quantity + 1;
|
|
101032
|
+
if (tempitem.quantity <= 0) {
|
|
101033
|
+
tempitem.quantity = 0;
|
|
101034
|
+
}
|
|
101035
|
+
setitem(_objectSpread$6({}, tempitem));
|
|
101036
|
+
// addtocartfuncquantity('add', tempitem.quantity);
|
|
101037
|
+
},
|
|
101038
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
101039
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
101040
|
+
"class": "h-100 allcentered addbtn"
|
|
101041
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.contactinfo.instid) == '69eddfb81f141' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
101042
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
101043
|
+
style: {
|
|
101044
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
101045
|
+
visibility: item.quantavailtype == 'nolimit' ? 'visible' : item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
101046
|
+
}
|
|
101047
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101048
|
+
"class": "m-0 p-0",
|
|
101049
|
+
style: {
|
|
101050
|
+
width: 8,
|
|
101051
|
+
height: 8,
|
|
101052
|
+
borderRadius: 100,
|
|
101053
|
+
background: 'green'
|
|
101054
|
+
}
|
|
101055
|
+
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101056
|
+
"class": 'm-0 mx-2 p-0',
|
|
101057
|
+
style: {
|
|
101058
|
+
color: 'green',
|
|
101059
|
+
fontSize: 13,
|
|
101060
|
+
fontWeight: 400
|
|
101061
|
+
}
|
|
101062
|
+
}, langdetect == 'en' ? 'In Stock' : 'متوفر')), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
101063
|
+
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
101064
|
+
style: {
|
|
101065
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101066
|
+
}
|
|
101067
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101068
|
+
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
101069
|
+
onClick: function onClick() {
|
|
101070
|
+
var _authdetailsContext$i31;
|
|
101071
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '68527dfef348b') {
|
|
101072
|
+
// alert(item.path);
|
|
101073
|
+
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
101074
|
+
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
101075
|
+
addtocartfunc();
|
|
101076
|
+
} else {
|
|
101077
|
+
var productidtobesend = null;
|
|
101078
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
101079
|
+
productidtobesend = item.productendpointurl;
|
|
101080
|
+
} else {
|
|
101081
|
+
productidtobesend = item.productid;
|
|
101082
|
+
}
|
|
101083
|
+
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|
|
101084
|
+
if (item.extrafieldsarray.length == 0) {
|
|
101085
|
+
addtocartfunc();
|
|
101086
|
+
} else {
|
|
101087
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101088
|
+
}
|
|
101089
|
+
} else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
|
|
101090
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101091
|
+
} else {
|
|
101092
|
+
var productidtobesend = null;
|
|
101093
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
101094
|
+
productidtobesend = item.productendpointurl;
|
|
101095
|
+
} else {
|
|
101096
|
+
productidtobesend = item.productid;
|
|
101097
|
+
}
|
|
101098
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101099
|
+
}
|
|
101100
|
+
}
|
|
101101
|
+
}
|
|
101102
|
+
}, addtocartbuttonrender())))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
101103
|
+
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
101104
|
+
style: {
|
|
101105
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101106
|
+
}
|
|
101107
|
+
}, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
|
|
101108
|
+
count: 5,
|
|
101109
|
+
value: item.productoverallrate,
|
|
101110
|
+
edit: false,
|
|
101111
|
+
size: 16,
|
|
101112
|
+
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
101113
|
+
className: "far fa-star",
|
|
101114
|
+
style: {
|
|
101115
|
+
color: '#cccccc'
|
|
101116
|
+
}
|
|
101117
|
+
}),
|
|
101118
|
+
halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
101119
|
+
className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
|
|
101120
|
+
}),
|
|
101121
|
+
filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
101122
|
+
className: "fa fa-star",
|
|
101123
|
+
style: {
|
|
101124
|
+
color: '#FAB400'
|
|
101125
|
+
}
|
|
101126
|
+
}),
|
|
101127
|
+
activeColor: "#ffd700"
|
|
101128
|
+
})))))), cardsinglerow == 'single' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100688
101129
|
"class": card_cssstyles.cardconttt + ' cursor-pointer w-100 p-2',
|
|
100689
101130
|
style: {}
|
|
100690
101131
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -100729,8 +101170,8 @@
|
|
|
100729
101170
|
onClick: function onClick(e) {
|
|
100730
101171
|
var _sectionproperties$se2;
|
|
100731
101172
|
if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
|
|
100732
|
-
var _authdetailsContext$
|
|
100733
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101173
|
+
var _authdetailsContext$i32;
|
|
101174
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
100734
101175
|
e.stopPropagation();
|
|
100735
101176
|
setShowProductInfoModalContext(true);
|
|
100736
101177
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -100774,8 +101215,8 @@
|
|
|
100774
101215
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100775
101216
|
onClick: function onClick() {
|
|
100776
101217
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
100777
|
-
var _authdetailsContext$
|
|
100778
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101218
|
+
var _authdetailsContext$i33;
|
|
101219
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
100779
101220
|
setShowProductInfoModalContext(true);
|
|
100780
101221
|
setProductIdProdutInfoModalContext(item.productid);
|
|
100781
101222
|
} else {
|
|
@@ -100794,7 +101235,7 @@
|
|
|
100794
101235
|
style: {
|
|
100795
101236
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
100796
101237
|
}
|
|
100797
|
-
}, item.name)), (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101238
|
+
}, item.name)), (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.contactinfo.instid) == '6a552697b2c62' && (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != null && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.length) != 0 && (item === null || item === void 0 ? void 0 : item.productfeaturesarray.map(function (ffitem, ffindex) {
|
|
100798
101239
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100799
101240
|
"class": "text-start d-flex align-items-center col-lg-12 p-0 mb-1"
|
|
100800
101241
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -100812,7 +101253,7 @@
|
|
|
100812
101253
|
fontWeight: 300
|
|
100813
101254
|
}
|
|
100814
101255
|
}, "-"));
|
|
100815
|
-
})), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$
|
|
101256
|
+
})), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags4 = item.producttags) === null || _item$producttags4 === void 0 ? void 0 : _item$producttags4.length) != 0 && sectionproperties.showtag == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100816
101257
|
"class": "allcentered",
|
|
100817
101258
|
style: {
|
|
100818
101259
|
width: '100%',
|
|
@@ -100829,7 +101270,7 @@
|
|
|
100829
101270
|
color: sectionproperties.tagcolor,
|
|
100830
101271
|
fontSize: 12
|
|
100831
101272
|
}
|
|
100832
|
-
}, item === null || item === void 0 || (_item$producttags$
|
|
101273
|
+
}, item === null || item === void 0 || (_item$producttags$4 = item.producttags[0]) === null || _item$producttags$4 === void 0 || (_item$producttags$4 = _item$producttags$4.taginfo) === null || _item$producttags$4 === void 0 ? void 0 : _item$producttags$4.tagname)), sectionproperties.showSKU == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100833
101274
|
"class": "col-lg-12 pl-0 pr-0",
|
|
100834
101275
|
style: {}
|
|
100835
101276
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -100879,7 +101320,7 @@
|
|
|
100879
101320
|
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
100880
101321
|
}, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100881
101322
|
style: {}
|
|
100882
|
-
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101323
|
+
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100883
101324
|
"class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
|
|
100884
101325
|
style: {
|
|
100885
101326
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -100917,21 +101358,21 @@
|
|
|
100917
101358
|
var variant_hassale = 0;
|
|
100918
101359
|
var is_found = false;
|
|
100919
101360
|
if (variantCompletedObj != null && variantCompletedObj != undefined) {
|
|
100920
|
-
var _variantCompletedObj$
|
|
100921
|
-
if (variantCompletedObj.variant_prices != undefined && variantCompletedObj != null && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
100922
|
-
var _variantCompletedObj$
|
|
100923
|
-
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
100924
|
-
var _variantCompletedObj$
|
|
100925
|
-
variant_price = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
101361
|
+
var _variantCompletedObj$19;
|
|
101362
|
+
if (variantCompletedObj.variant_prices != undefined && variantCompletedObj != null && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$19 = variantCompletedObj.variant_prices) === null || _variantCompletedObj$19 === void 0 ? void 0 : _variantCompletedObj$19.length) != 0) {
|
|
101363
|
+
var _variantCompletedObj$20, _variantCompletedObj$21, _variantCompletedObj$23, _variantCompletedObj$24, _variantCompletedObj$26, _variantCompletedObj$27;
|
|
101364
|
+
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$20 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$20 === void 0 ? void 0 : _variantCompletedObj$20.price) != undefined && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$21 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$21 === void 0 ? void 0 : _variantCompletedObj$21.price) != null) {
|
|
101365
|
+
var _variantCompletedObj$22;
|
|
101366
|
+
variant_price = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$22 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$22 === void 0 ? void 0 : _variantCompletedObj$22.price;
|
|
100926
101367
|
is_found = true;
|
|
100927
101368
|
}
|
|
100928
|
-
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
100929
|
-
var _variantCompletedObj$
|
|
100930
|
-
variant_saleprice = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
101369
|
+
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$23 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$23 === void 0 ? void 0 : _variantCompletedObj$23.price) != undefined && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$24 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$24 === void 0 ? void 0 : _variantCompletedObj$24.price) != null) {
|
|
101370
|
+
var _variantCompletedObj$25;
|
|
101371
|
+
variant_saleprice = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$25 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$25 === void 0 ? void 0 : _variantCompletedObj$25.saleprice;
|
|
100931
101372
|
}
|
|
100932
|
-
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
100933
|
-
var _variantCompletedObj$
|
|
100934
|
-
variant_hassale = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
101373
|
+
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$26 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$26 === void 0 ? void 0 : _variantCompletedObj$26.price) != undefined && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$27 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$27 === void 0 ? void 0 : _variantCompletedObj$27.price) != null) {
|
|
101374
|
+
var _variantCompletedObj$28;
|
|
101375
|
+
variant_hassale = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$28 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$28 === void 0 ? void 0 : _variantCompletedObj$28.hassale;
|
|
100935
101376
|
}
|
|
100936
101377
|
}
|
|
100937
101378
|
}
|
|
@@ -100980,7 +101421,7 @@
|
|
|
100980
101421
|
color: sectionproperties.quantitycolor,
|
|
100981
101422
|
fontWeight: sectionproperties.quantityfontweight
|
|
100982
101423
|
}
|
|
100983
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101424
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100984
101425
|
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
100985
101426
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100986
101427
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
@@ -101025,7 +101466,7 @@
|
|
|
101025
101466
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
101026
101467
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
101027
101468
|
"class": "h-100 allcentered addbtn"
|
|
101028
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101469
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.contactinfo.instid) == '69eddfb81f141' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
101029
101470
|
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
101030
101471
|
style: {
|
|
101031
101472
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
@@ -101054,13 +101495,13 @@
|
|
|
101054
101495
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101055
101496
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
101056
101497
|
onClick: function onClick() {
|
|
101057
|
-
var _authdetailsContext$
|
|
101058
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101498
|
+
var _authdetailsContext$i39;
|
|
101499
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.contactinfo.instid) == '6a3bd18b7ceb5' && sectionproperties.prodPriceShow == 'Show') {
|
|
101059
101500
|
setShowProductInfoModalContext(true);
|
|
101060
101501
|
setProductIdProdutInfoModalContext(item.productid);
|
|
101061
101502
|
} else {
|
|
101062
|
-
var _authdetailsContext$
|
|
101063
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101503
|
+
var _authdetailsContext$i40;
|
|
101504
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '68527dfef348b') {
|
|
101064
101505
|
// alert(item.path);
|
|
101065
101506
|
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
101066
101507
|
} else if (sectionproperties.showvariantscont == 'Show') {
|