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.esm.js
CHANGED
|
@@ -99556,7 +99556,7 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
|
|
|
99556
99556
|
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; }
|
|
99557
99557
|
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(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; }
|
|
99558
99558
|
var Simpleproductcard = function Simpleproductcard(props) {
|
|
99559
|
-
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$
|
|
99559
|
+
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;
|
|
99560
99560
|
var _useState = useState(''),
|
|
99561
99561
|
_useState2 = _slicedToArray(_useState, 2),
|
|
99562
99562
|
sectionproperties = _useState2[0],
|
|
@@ -100386,7 +100386,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100386
100386
|
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,
|
|
100387
100387
|
zIndex: 10
|
|
100388
100388
|
}
|
|
100389
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
100389
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) != '6a708efd56628' && /*#__PURE__*/React.createElement("div", {
|
|
100390
100390
|
"class": sectionproperties.productnamecentered == 'Centered' ? card_cssstyles.innersection + ' row m-0 w-100 allcentered ' : card_cssstyles.innersection + ' row m-0 w-100 ',
|
|
100391
100391
|
style: {
|
|
100392
100392
|
// move to spo
|
|
@@ -100394,7 +100394,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100394
100394
|
// bottom: authdetailsContext?.instinfo?.contactinfo.instid == '682dfdcdb9720' && sectionproperties.image_mb == -1 ? 30 : 0,
|
|
100395
100395
|
// zIndex: 10,
|
|
100396
100396
|
}
|
|
100397
|
-
}, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100397
|
+
}, (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) {
|
|
100398
100398
|
return /*#__PURE__*/React.createElement("div", {
|
|
100399
100399
|
"class": "text-start d-flex align-items-center col-lg- p-0 mb-1"
|
|
100400
100400
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -100412,7 +100412,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100412
100412
|
fontWeight: 300
|
|
100413
100413
|
}
|
|
100414
100414
|
}, "-"));
|
|
100415
|
-
})), sectionproperties.showfeatures == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100415
|
+
})), 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.createElement("div", {
|
|
100416
100416
|
"class": "allcentered col-lg-12 p-0",
|
|
100417
100417
|
style: {
|
|
100418
100418
|
height: 40
|
|
@@ -100432,7 +100432,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100432
100432
|
color: sectionproperties.featurecolor,
|
|
100433
100433
|
fontSize: sectionproperties.featurefontsize + 'px'
|
|
100434
100434
|
}
|
|
100435
|
-
}, (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$
|
|
100435
|
+
}, (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.createElement("div", {
|
|
100436
100436
|
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
100437
100437
|
style: {
|
|
100438
100438
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -100471,8 +100471,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100471
100471
|
}, /*#__PURE__*/React.createElement("p", {
|
|
100472
100472
|
onClick: function onClick() {
|
|
100473
100473
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
100474
|
-
var _authdetailsContext$
|
|
100475
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100474
|
+
var _authdetailsContext$i14;
|
|
100475
|
+
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') {
|
|
100476
100476
|
setShowProductInfoModalContext(true);
|
|
100477
100477
|
setProductIdProdutInfoModalContext(item.productid);
|
|
100478
100478
|
} else {
|
|
@@ -100491,7 +100491,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100491
100491
|
style: {
|
|
100492
100492
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
100493
100493
|
}
|
|
100494
|
-
}, item.name)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100494
|
+
}, 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.createElement("div", {
|
|
100495
100495
|
"class": "text-start d-flex align-items-center col-lg-12 flex-row p-0 mb-1 mt-1"
|
|
100496
100496
|
}, (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) {
|
|
100497
100497
|
if (ffindex < 2) {
|
|
@@ -100523,7 +100523,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100523
100523
|
}
|
|
100524
100524
|
})), langdetect == 'en' ? ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_en : ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_ar);
|
|
100525
100525
|
}
|
|
100526
|
-
}))), (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$
|
|
100526
|
+
}))), (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.createElement("div", {
|
|
100527
100527
|
"class": "allcentered",
|
|
100528
100528
|
style: {
|
|
100529
100529
|
width: '100%',
|
|
@@ -100590,7 +100590,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100590
100590
|
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
100591
100591
|
}, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React.createElement("div", {
|
|
100592
100592
|
style: {}
|
|
100593
|
-
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100593
|
+
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
100594
100594
|
"class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
|
|
100595
100595
|
style: {
|
|
100596
100596
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -100691,7 +100691,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100691
100691
|
color: sectionproperties.quantitycolor,
|
|
100692
100692
|
fontWeight: sectionproperties.quantityfontweight
|
|
100693
100693
|
}
|
|
100694
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100694
|
+
}, 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.createElement("div", {
|
|
100695
100695
|
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
100696
100696
|
}, /*#__PURE__*/React.createElement("div", {
|
|
100697
100697
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
@@ -100736,7 +100736,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100736
100736
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
100737
100737
|
}, /*#__PURE__*/React.createElement("i", {
|
|
100738
100738
|
"class": "h-100 allcentered addbtn"
|
|
100739
|
-
}, /*#__PURE__*/React.createElement(FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100739
|
+
}, /*#__PURE__*/React.createElement(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.createElement("div", {
|
|
100740
100740
|
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
100741
100741
|
style: {
|
|
100742
100742
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
@@ -100765,13 +100765,13 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100765
100765
|
}, /*#__PURE__*/React.createElement("p", {
|
|
100766
100766
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
100767
100767
|
onClick: function onClick() {
|
|
100768
|
-
var _authdetailsContext$
|
|
100769
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100768
|
+
var _authdetailsContext$i20;
|
|
100769
|
+
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') {
|
|
100770
100770
|
setShowProductInfoModalContext(true);
|
|
100771
100771
|
setProductIdProdutInfoModalContext(item.productid);
|
|
100772
100772
|
} else {
|
|
100773
|
-
var _authdetailsContext$
|
|
100774
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100773
|
+
var _authdetailsContext$i21;
|
|
100774
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '68527dfef348b') {
|
|
100775
100775
|
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
100776
100776
|
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
100777
100777
|
addtocartfunc();
|
|
@@ -100831,7 +100831,448 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100831
100831
|
}
|
|
100832
100832
|
}),
|
|
100833
100833
|
activeColor: "#ffd700"
|
|
100834
|
-
})))))
|
|
100834
|
+
}))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.contactinfo.instid) == '6a708efd56628' && /*#__PURE__*/React.createElement("div", {
|
|
100835
|
+
"class": sectionproperties.productnamecentered == 'Centered' ? card_cssstyles.innersection + ' row m-0 w-100 allcentered ' : card_cssstyles.innersection + ' row m-0 w-100 allcentered ',
|
|
100836
|
+
style: {}
|
|
100837
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
100838
|
+
style: {
|
|
100839
|
+
width: '97%',
|
|
100840
|
+
borderRadius: 20
|
|
100841
|
+
},
|
|
100842
|
+
"class": "product-content px-3 py-5"
|
|
100843
|
+
}, (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) {
|
|
100844
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
100845
|
+
"class": "text-start d-flex align-items-center col-lg- p-0 mb-1"
|
|
100846
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
100847
|
+
"class": "text-capitalize d-flex flex-row",
|
|
100848
|
+
style: {
|
|
100849
|
+
color: sectionproperties.featurecolor,
|
|
100850
|
+
fontSize: sectionproperties.featurefontsize + 'px',
|
|
100851
|
+
fontWeight: 300
|
|
100852
|
+
}
|
|
100853
|
+
}, 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.createElement("span", {
|
|
100854
|
+
"class": "mx-2 ",
|
|
100855
|
+
style: {
|
|
100856
|
+
color: sectionproperties.featurecolor,
|
|
100857
|
+
fontSize: sectionproperties.featurefontsize + 'px',
|
|
100858
|
+
fontWeight: 300
|
|
100859
|
+
}
|
|
100860
|
+
}, "-"));
|
|
100861
|
+
})), 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.createElement("div", {
|
|
100862
|
+
"class": "allcentered col-lg-12 p-0",
|
|
100863
|
+
style: {
|
|
100864
|
+
height: 40
|
|
100865
|
+
}
|
|
100866
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
100867
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
100868
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
100869
|
+
path: item === null || item === void 0 ? void 0 : item.feature_image_url,
|
|
100870
|
+
loading: "lazy",
|
|
100871
|
+
style: {
|
|
100872
|
+
maxWidth: '50%',
|
|
100873
|
+
maxHeight: '50%'
|
|
100874
|
+
}
|
|
100875
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
100876
|
+
"class": "text-capitalize mx-2",
|
|
100877
|
+
style: {
|
|
100878
|
+
color: sectionproperties.featurecolor,
|
|
100879
|
+
fontSize: sectionproperties.featurefontsize + 'px'
|
|
100880
|
+
}
|
|
100881
|
+
}, (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.createElement("div", {
|
|
100882
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
100883
|
+
style: {
|
|
100884
|
+
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
100885
|
+
}
|
|
100886
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
100887
|
+
"class": "m-0 p-0",
|
|
100888
|
+
style: {
|
|
100889
|
+
width: 8,
|
|
100890
|
+
height: 8,
|
|
100891
|
+
borderRadius: 100,
|
|
100892
|
+
background: 'green'
|
|
100893
|
+
}
|
|
100894
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
100895
|
+
"class": 'm-0 mx-2 p-0',
|
|
100896
|
+
style: {
|
|
100897
|
+
color: 'green',
|
|
100898
|
+
fontSize: 13,
|
|
100899
|
+
fontWeight: 400
|
|
100900
|
+
}
|
|
100901
|
+
}, 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.createElement("div", {
|
|
100902
|
+
"class": "col-lg-12 p-0 d-flex align-items-center mb-1 flex-row"
|
|
100903
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
100904
|
+
style: {
|
|
100905
|
+
width: 40,
|
|
100906
|
+
height: 40,
|
|
100907
|
+
borderRadius: 100,
|
|
100908
|
+
border: '1px solid #ccc'
|
|
100909
|
+
}
|
|
100910
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
100911
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
100912
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
100913
|
+
path: item.vendorlogo,
|
|
100914
|
+
loading: "lazy",
|
|
100915
|
+
style: {
|
|
100916
|
+
width: '100%',
|
|
100917
|
+
height: '100%'
|
|
100918
|
+
}
|
|
100919
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
100920
|
+
"class": "m-0 p-0 px-2",
|
|
100921
|
+
style: {
|
|
100922
|
+
color: '#000',
|
|
100923
|
+
fontSize: 13
|
|
100924
|
+
}
|
|
100925
|
+
}, item.vendorname)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
100926
|
+
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
|
|
100927
|
+
style: {
|
|
100928
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
100929
|
+
fontSize: sectionproperties.measurementunitfontsize + 'px',
|
|
100930
|
+
color: sectionproperties.measurementunitcolor
|
|
100931
|
+
}
|
|
100932
|
+
}, item.measurmentunit), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
100933
|
+
"class": "col-lg-12 pl-0 pr-0",
|
|
100934
|
+
style: {
|
|
100935
|
+
minHeight: sectionproperties.wordbreak == '1' ? 'auto' : '6vh',
|
|
100936
|
+
background: sectionproperties.prodNameBackgroundColor,
|
|
100937
|
+
borderRadius: '15px',
|
|
100938
|
+
paddingTop: sectionproperties.productnamepaddingvertical + 'px',
|
|
100939
|
+
paddingBottom: sectionproperties.productnamepaddingvertical + 'px'
|
|
100940
|
+
}
|
|
100941
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
100942
|
+
onClick: function onClick() {
|
|
100943
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
100944
|
+
var productidtobesend = null;
|
|
100945
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
100946
|
+
productidtobesend = item.productendpointurl;
|
|
100947
|
+
} else {
|
|
100948
|
+
productidtobesend = item.productid;
|
|
100949
|
+
}
|
|
100950
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
100951
|
+
}
|
|
100952
|
+
},
|
|
100953
|
+
"class": sectionproperties.wordbreak == '1' ?
|
|
100954
|
+
// move to spo
|
|
100955
|
+
"".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 pname ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 wordbreak-md-4 m-0 pname ',
|
|
100956
|
+
style: {
|
|
100957
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
100958
|
+
}
|
|
100959
|
+
}, 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.createElement("div", {
|
|
100960
|
+
"class": "allcentered",
|
|
100961
|
+
style: {
|
|
100962
|
+
width: '100%',
|
|
100963
|
+
left: 0,
|
|
100964
|
+
right: 0,
|
|
100965
|
+
zIndex: 100
|
|
100966
|
+
}
|
|
100967
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
100968
|
+
"class": "px-3 py-1",
|
|
100969
|
+
style: {
|
|
100970
|
+
width: 'fit-content',
|
|
100971
|
+
background: sectionproperties.tagbackgroundcolor,
|
|
100972
|
+
borderRadius: sectionproperties.tagborderradius + 'px',
|
|
100973
|
+
color: sectionproperties.tagcolor,
|
|
100974
|
+
fontSize: 12
|
|
100975
|
+
}
|
|
100976
|
+
}, 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.createElement("div", {
|
|
100977
|
+
"class": "col-lg-12 pl-0 pr-0",
|
|
100978
|
+
style: {}
|
|
100979
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
100980
|
+
"class": "".concat(card_cssstyles.sku) + ' wordbreak wordbreak1 font-md-13 m-0 ',
|
|
100981
|
+
style: {
|
|
100982
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
100983
|
+
}
|
|
100984
|
+
}, langdetect == 'en' ? 'SKU: ' : 'كود: ', item.sku)), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'No' && /*#__PURE__*/React.createElement("p", {
|
|
100985
|
+
"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 ',
|
|
100986
|
+
style: {
|
|
100987
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
100988
|
+
},
|
|
100989
|
+
dangerouslySetInnerHTML: {
|
|
100990
|
+
__html: item.shortdescription
|
|
100991
|
+
}
|
|
100992
|
+
}), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'Yes' && /*#__PURE__*/React.createElement("p", {
|
|
100993
|
+
"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 ',
|
|
100994
|
+
style: {
|
|
100995
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
100996
|
+
}
|
|
100997
|
+
}, plainString(item.shortdescription)), /*#__PURE__*/React.createElement("div", {
|
|
100998
|
+
style: {
|
|
100999
|
+
flexDirection: 'column',
|
|
101000
|
+
display: sectionproperties.prodPriceShow == 'Hide' && sectionproperties.showprofitcontainer == 'Hide' && sectionproperties.cartBtnShow == 'Hide' && sectionproperties.prodsalePriceshow == 'Hide' ? 'none' : 'flex'
|
|
101001
|
+
},
|
|
101002
|
+
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 mt-1 "
|
|
101003
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101004
|
+
"class": "row m-0 w-100 "
|
|
101005
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101006
|
+
"class": " d-flex flex-row col-lg-12 mx-0 p-0 align-items-center ",
|
|
101007
|
+
style: {
|
|
101008
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
101009
|
+
marginTop: sectionproperties.productpricemarginTop + 'px',
|
|
101010
|
+
marginBottom: sectionproperties.productpricemarginBottom + 'px'
|
|
101011
|
+
}
|
|
101012
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101013
|
+
"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 ',
|
|
101014
|
+
style: {
|
|
101015
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
101016
|
+
minHeight: sectionproperties.priceDirection == 'Horizontal Direction' ? '' : '10.5vh'
|
|
101017
|
+
}
|
|
101018
|
+
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
101019
|
+
"class": sectionproperties.priceDirection == 'Horizontal Direction' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 w-100' : "".concat(card_cssstyles.productPricestyles) + ' m-0 w-100'
|
|
101020
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", has_sale == 1 ? sale_price : price, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && has_sale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
101021
|
+
"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 '
|
|
101022
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
101023
|
+
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 '
|
|
101024
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname), /*#__PURE__*/React.createElement("div", {
|
|
101025
|
+
"class": ' px-2 allcentered mx-2',
|
|
101026
|
+
style: {
|
|
101027
|
+
width: 100,
|
|
101028
|
+
height: sectionproperties.pillheight + 'px',
|
|
101029
|
+
background: '#F9E1E0',
|
|
101030
|
+
borderRadius: 100
|
|
101031
|
+
}
|
|
101032
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
101033
|
+
"class": "m-0 p-0",
|
|
101034
|
+
style: {
|
|
101035
|
+
color: '#7D0808',
|
|
101036
|
+
fontSize: '15px',
|
|
101037
|
+
direction: 'ltr',
|
|
101038
|
+
fontWeight: 600
|
|
101039
|
+
}
|
|
101040
|
+
}, '-' + 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.createElement("div", {
|
|
101041
|
+
style: {}
|
|
101042
|
+
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
101043
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
|
|
101044
|
+
style: {
|
|
101045
|
+
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
101046
|
+
}
|
|
101047
|
+
}, /*#__PURE__*/React.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.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.showvariantscont == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
101063
|
+
"class": "col-12 p-0"
|
|
101064
|
+
}, /*#__PURE__*/React.createElement(Variants_J_Cards, {
|
|
101065
|
+
actions: {
|
|
101066
|
+
sectionproperties: sectionproperties,
|
|
101067
|
+
item: item,
|
|
101068
|
+
cardonclickfunctionContext: cardonclickfunctionContext,
|
|
101069
|
+
fetchingtypeprops: props.fetchingtypeprops
|
|
101070
|
+
},
|
|
101071
|
+
foundMatchedVariantFunc: function foundMatchedVariantFunc(variantCompletedObj) {
|
|
101072
|
+
// alert(JSON.stringify(variantCompletedObj));
|
|
101073
|
+
// console.log(variantCompletedObj);
|
|
101074
|
+
setvariantObj(variantCompletedObj);
|
|
101075
|
+
var variant_price = 0;
|
|
101076
|
+
var variant_saleprice = 0;
|
|
101077
|
+
var variant_hassale = 0;
|
|
101078
|
+
var is_found = false;
|
|
101079
|
+
if (variantCompletedObj != null && variantCompletedObj != undefined) {
|
|
101080
|
+
var _variantCompletedObj$1;
|
|
101081
|
+
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) {
|
|
101082
|
+
var _variantCompletedObj$10, _variantCompletedObj$11, _variantCompletedObj$13, _variantCompletedObj$14, _variantCompletedObj$16, _variantCompletedObj$17;
|
|
101083
|
+
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) {
|
|
101084
|
+
var _variantCompletedObj$12;
|
|
101085
|
+
variant_price = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$12 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$12 === void 0 ? void 0 : _variantCompletedObj$12.price;
|
|
101086
|
+
is_found = true;
|
|
101087
|
+
}
|
|
101088
|
+
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) {
|
|
101089
|
+
var _variantCompletedObj$15;
|
|
101090
|
+
variant_saleprice = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$15 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$15 === void 0 ? void 0 : _variantCompletedObj$15.saleprice;
|
|
101091
|
+
}
|
|
101092
|
+
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) {
|
|
101093
|
+
var _variantCompletedObj$18;
|
|
101094
|
+
variant_hassale = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$18 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$18 === void 0 ? void 0 : _variantCompletedObj$18.hassale;
|
|
101095
|
+
}
|
|
101096
|
+
}
|
|
101097
|
+
}
|
|
101098
|
+
if (is_found) {
|
|
101099
|
+
setprice(variant_price);
|
|
101100
|
+
setsale_price(variant_saleprice);
|
|
101101
|
+
sethas_sale(variant_hassale);
|
|
101102
|
+
}
|
|
101103
|
+
},
|
|
101104
|
+
foundImageColorMatchingFunc: function foundImageColorMatchingFunc(variantIMAGECompletedObj) {
|
|
101105
|
+
setVariant_Color_ImageObj(variantIMAGECompletedObj);
|
|
101106
|
+
}
|
|
101107
|
+
})), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
101108
|
+
"class": "col-lg-12 p-0",
|
|
101109
|
+
style: {
|
|
101110
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101111
|
+
}
|
|
101112
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101113
|
+
"class": card_cssstyles.profitcontainer + ' d-flex align-items-center flex-sm-column px-2',
|
|
101114
|
+
style: {
|
|
101115
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101116
|
+
}
|
|
101117
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
101118
|
+
"class": ' m-0 p-0 d-flex align-items-center ',
|
|
101119
|
+
style: {
|
|
101120
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101121
|
+
}
|
|
101122
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
101123
|
+
style: {
|
|
101124
|
+
fontWeight: sectionproperties.profitcontainerfontweight
|
|
101125
|
+
}
|
|
101126
|
+
}, langdetect == 'en' ? sectionproperties.profitcontainercontenten : sectionproperties.profitcontainercontentar, ":", ' '), /*#__PURE__*/React.createElement("span", {
|
|
101127
|
+
"class": "mx-1",
|
|
101128
|
+
style: {
|
|
101129
|
+
fontWeight: sectionproperties.profitcontainersecondaryfontweight
|
|
101130
|
+
}
|
|
101131
|
+
}, 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.createElement("div", {
|
|
101132
|
+
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
101133
|
+
style: {
|
|
101134
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101135
|
+
}
|
|
101136
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
101137
|
+
"class": "m-0 p-0",
|
|
101138
|
+
style: {
|
|
101139
|
+
fontSize: sectionproperties.quantityfontsize,
|
|
101140
|
+
color: sectionproperties.quantitycolor,
|
|
101141
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
101142
|
+
}
|
|
101143
|
+
}, 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.createElement("div", {
|
|
101144
|
+
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
101145
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101146
|
+
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
101147
|
+
style: {
|
|
101148
|
+
direction: 'ltr'
|
|
101149
|
+
}
|
|
101150
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
101151
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
101152
|
+
onClick: function onClick() {
|
|
101153
|
+
var tempitem = _objectSpread$6({}, item);
|
|
101154
|
+
tempitem.quantity = parseInt(tempitem.quantity);
|
|
101155
|
+
tempitem.quantity = tempitem.quantity - 1;
|
|
101156
|
+
if (tempitem.quantity <= 0) {
|
|
101157
|
+
tempitem.quantity = 0;
|
|
101158
|
+
}
|
|
101159
|
+
setitem(_objectSpread$6({}, tempitem));
|
|
101160
|
+
// addtocartfuncquantity('add', tempitem.quantity);
|
|
101161
|
+
},
|
|
101162
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
101163
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
101164
|
+
"class": "h-100 allcentered minusbtn"
|
|
101165
|
+
}, /*#__PURE__*/React.createElement(FiMinus, null))), /*#__PURE__*/React.createElement("span", {
|
|
101166
|
+
"class": ' d-flex align-items-center justify-content-center ',
|
|
101167
|
+
style: {
|
|
101168
|
+
fontSize: 14,
|
|
101169
|
+
fontWeight: 500,
|
|
101170
|
+
color: sectionproperties.cartBtnbgColor,
|
|
101171
|
+
flex: 1
|
|
101172
|
+
}
|
|
101173
|
+
}, addtocartbuttonrenderquantity()), /*#__PURE__*/React.createElement("button", {
|
|
101174
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
101175
|
+
onClick: function onClick() {
|
|
101176
|
+
var tempitem = _objectSpread$6({}, item);
|
|
101177
|
+
tempitem.quantity = parseInt(tempitem.quantity);
|
|
101178
|
+
tempitem.quantity = tempitem.quantity + 1;
|
|
101179
|
+
if (tempitem.quantity <= 0) {
|
|
101180
|
+
tempitem.quantity = 0;
|
|
101181
|
+
}
|
|
101182
|
+
setitem(_objectSpread$6({}, tempitem));
|
|
101183
|
+
// addtocartfuncquantity('add', tempitem.quantity);
|
|
101184
|
+
},
|
|
101185
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
101186
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
101187
|
+
"class": "h-100 allcentered addbtn"
|
|
101188
|
+
}, /*#__PURE__*/React.createElement(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.createElement("div", {
|
|
101189
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
101190
|
+
style: {
|
|
101191
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
101192
|
+
visibility: item.quantavailtype == 'nolimit' ? 'visible' : item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
101193
|
+
}
|
|
101194
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
101195
|
+
"class": "m-0 p-0",
|
|
101196
|
+
style: {
|
|
101197
|
+
width: 8,
|
|
101198
|
+
height: 8,
|
|
101199
|
+
borderRadius: 100,
|
|
101200
|
+
background: 'green'
|
|
101201
|
+
}
|
|
101202
|
+
}), /*#__PURE__*/React.createElement("p", {
|
|
101203
|
+
"class": 'm-0 mx-2 p-0',
|
|
101204
|
+
style: {
|
|
101205
|
+
color: 'green',
|
|
101206
|
+
fontSize: 13,
|
|
101207
|
+
fontWeight: 400
|
|
101208
|
+
}
|
|
101209
|
+
}, langdetect == 'en' ? 'In Stock' : 'متوفر')), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
101210
|
+
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
101211
|
+
style: {
|
|
101212
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101213
|
+
}
|
|
101214
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
101215
|
+
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
101216
|
+
onClick: function onClick() {
|
|
101217
|
+
var _authdetailsContext$i31;
|
|
101218
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '68527dfef348b') {
|
|
101219
|
+
// alert(item.path);
|
|
101220
|
+
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
101221
|
+
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
101222
|
+
addtocartfunc();
|
|
101223
|
+
} else {
|
|
101224
|
+
var productidtobesend = null;
|
|
101225
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
101226
|
+
productidtobesend = item.productendpointurl;
|
|
101227
|
+
} else {
|
|
101228
|
+
productidtobesend = item.productid;
|
|
101229
|
+
}
|
|
101230
|
+
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|
|
101231
|
+
if (item.extrafieldsarray.length == 0) {
|
|
101232
|
+
addtocartfunc();
|
|
101233
|
+
} else {
|
|
101234
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101235
|
+
}
|
|
101236
|
+
} else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
|
|
101237
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101238
|
+
} else {
|
|
101239
|
+
var productidtobesend = null;
|
|
101240
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
101241
|
+
productidtobesend = item.productendpointurl;
|
|
101242
|
+
} else {
|
|
101243
|
+
productidtobesend = item.productid;
|
|
101244
|
+
}
|
|
101245
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101246
|
+
}
|
|
101247
|
+
}
|
|
101248
|
+
}
|
|
101249
|
+
}, addtocartbuttonrender())))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React.createElement("div", {
|
|
101250
|
+
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
101251
|
+
style: {
|
|
101252
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101253
|
+
}
|
|
101254
|
+
}, /*#__PURE__*/React.createElement(ReactStars, {
|
|
101255
|
+
count: 5,
|
|
101256
|
+
value: item.productoverallrate,
|
|
101257
|
+
edit: false,
|
|
101258
|
+
size: 16,
|
|
101259
|
+
emptyIcon: /*#__PURE__*/React.createElement("i", {
|
|
101260
|
+
className: "far fa-star",
|
|
101261
|
+
style: {
|
|
101262
|
+
color: '#cccccc'
|
|
101263
|
+
}
|
|
101264
|
+
}),
|
|
101265
|
+
halfIcon: /*#__PURE__*/React.createElement("i", {
|
|
101266
|
+
className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
|
|
101267
|
+
}),
|
|
101268
|
+
filledIcon: /*#__PURE__*/React.createElement("i", {
|
|
101269
|
+
className: "fa fa-star",
|
|
101270
|
+
style: {
|
|
101271
|
+
color: '#FAB400'
|
|
101272
|
+
}
|
|
101273
|
+
}),
|
|
101274
|
+
activeColor: "#ffd700"
|
|
101275
|
+
})))))), cardsinglerow == 'single' && /*#__PURE__*/React.createElement("div", {
|
|
100835
101276
|
"class": card_cssstyles.cardconttt + ' cursor-pointer w-100 p-2',
|
|
100836
101277
|
style: {}
|
|
100837
101278
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -100876,8 +101317,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100876
101317
|
onClick: function onClick(e) {
|
|
100877
101318
|
var _sectionproperties$se2;
|
|
100878
101319
|
if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
|
|
100879
|
-
var _authdetailsContext$
|
|
100880
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101320
|
+
var _authdetailsContext$i32;
|
|
101321
|
+
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') {
|
|
100881
101322
|
e.stopPropagation();
|
|
100882
101323
|
setShowProductInfoModalContext(true);
|
|
100883
101324
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -100921,8 +101362,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100921
101362
|
}, /*#__PURE__*/React.createElement("p", {
|
|
100922
101363
|
onClick: function onClick() {
|
|
100923
101364
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
100924
|
-
var _authdetailsContext$
|
|
100925
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101365
|
+
var _authdetailsContext$i33;
|
|
101366
|
+
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') {
|
|
100926
101367
|
setShowProductInfoModalContext(true);
|
|
100927
101368
|
setProductIdProdutInfoModalContext(item.productid);
|
|
100928
101369
|
} else {
|
|
@@ -100941,7 +101382,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100941
101382
|
style: {
|
|
100942
101383
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
100943
101384
|
}
|
|
100944
|
-
}, item.name)), (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101385
|
+
}, 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) {
|
|
100945
101386
|
return /*#__PURE__*/React.createElement("div", {
|
|
100946
101387
|
"class": "text-start d-flex align-items-center col-lg-12 p-0 mb-1"
|
|
100947
101388
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -100959,7 +101400,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100959
101400
|
fontWeight: 300
|
|
100960
101401
|
}
|
|
100961
101402
|
}, "-"));
|
|
100962
|
-
})), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$
|
|
101403
|
+
})), (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.createElement("div", {
|
|
100963
101404
|
"class": "allcentered",
|
|
100964
101405
|
style: {
|
|
100965
101406
|
width: '100%',
|
|
@@ -100976,7 +101417,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100976
101417
|
color: sectionproperties.tagcolor,
|
|
100977
101418
|
fontSize: 12
|
|
100978
101419
|
}
|
|
100979
|
-
}, item === null || item === void 0 || (_item$producttags$
|
|
101420
|
+
}, 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.createElement("div", {
|
|
100980
101421
|
"class": "col-lg-12 pl-0 pr-0",
|
|
100981
101422
|
style: {}
|
|
100982
101423
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -101026,7 +101467,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101026
101467
|
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
101027
101468
|
}, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.showpill == 'Show' && has_sale == 1 && sectionproperties.counterposition == 'Besides Sale Price' && /*#__PURE__*/React.createElement("div", {
|
|
101028
101469
|
style: {}
|
|
101029
|
-
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101470
|
+
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
101030
101471
|
"class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
|
|
101031
101472
|
style: {
|
|
101032
101473
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -101064,21 +101505,21 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101064
101505
|
var variant_hassale = 0;
|
|
101065
101506
|
var is_found = false;
|
|
101066
101507
|
if (variantCompletedObj != null && variantCompletedObj != undefined) {
|
|
101067
|
-
var _variantCompletedObj$
|
|
101068
|
-
if (variantCompletedObj.variant_prices != undefined && variantCompletedObj != null && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
101069
|
-
var _variantCompletedObj$
|
|
101070
|
-
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
101071
|
-
var _variantCompletedObj$
|
|
101072
|
-
variant_price = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
101508
|
+
var _variantCompletedObj$19;
|
|
101509
|
+
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) {
|
|
101510
|
+
var _variantCompletedObj$20, _variantCompletedObj$21, _variantCompletedObj$23, _variantCompletedObj$24, _variantCompletedObj$26, _variantCompletedObj$27;
|
|
101511
|
+
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) {
|
|
101512
|
+
var _variantCompletedObj$22;
|
|
101513
|
+
variant_price = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$22 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$22 === void 0 ? void 0 : _variantCompletedObj$22.price;
|
|
101073
101514
|
is_found = true;
|
|
101074
101515
|
}
|
|
101075
|
-
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
101076
|
-
var _variantCompletedObj$
|
|
101077
|
-
variant_saleprice = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
101516
|
+
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) {
|
|
101517
|
+
var _variantCompletedObj$25;
|
|
101518
|
+
variant_saleprice = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$25 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$25 === void 0 ? void 0 : _variantCompletedObj$25.saleprice;
|
|
101078
101519
|
}
|
|
101079
|
-
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
101080
|
-
var _variantCompletedObj$
|
|
101081
|
-
variant_hassale = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
101520
|
+
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) {
|
|
101521
|
+
var _variantCompletedObj$28;
|
|
101522
|
+
variant_hassale = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$28 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$28 === void 0 ? void 0 : _variantCompletedObj$28.hassale;
|
|
101082
101523
|
}
|
|
101083
101524
|
}
|
|
101084
101525
|
}
|
|
@@ -101127,7 +101568,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101127
101568
|
color: sectionproperties.quantitycolor,
|
|
101128
101569
|
fontWeight: sectionproperties.quantityfontweight
|
|
101129
101570
|
}
|
|
101130
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101571
|
+
}, 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.createElement("div", {
|
|
101131
101572
|
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
101132
101573
|
}, /*#__PURE__*/React.createElement("div", {
|
|
101133
101574
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
@@ -101172,7 +101613,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101172
101613
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
101173
101614
|
}, /*#__PURE__*/React.createElement("i", {
|
|
101174
101615
|
"class": "h-100 allcentered addbtn"
|
|
101175
|
-
}, /*#__PURE__*/React.createElement(FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101616
|
+
}, /*#__PURE__*/React.createElement(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.createElement("div", {
|
|
101176
101617
|
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
101177
101618
|
style: {
|
|
101178
101619
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
@@ -101201,13 +101642,13 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101201
101642
|
}, /*#__PURE__*/React.createElement("p", {
|
|
101202
101643
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
101203
101644
|
onClick: function onClick() {
|
|
101204
|
-
var _authdetailsContext$
|
|
101205
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101645
|
+
var _authdetailsContext$i39;
|
|
101646
|
+
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') {
|
|
101206
101647
|
setShowProductInfoModalContext(true);
|
|
101207
101648
|
setProductIdProdutInfoModalContext(item.productid);
|
|
101208
101649
|
} else {
|
|
101209
|
-
var _authdetailsContext$
|
|
101210
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101650
|
+
var _authdetailsContext$i40;
|
|
101651
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '68527dfef348b') {
|
|
101211
101652
|
// alert(item.path);
|
|
101212
101653
|
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
101213
101654
|
} else if (sectionproperties.showvariantscont == 'Show') {
|