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.cjs.js
CHANGED
|
@@ -99607,7 +99607,7 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
|
|
|
99607
99607
|
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; }
|
|
99608
99608
|
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; }
|
|
99609
99609
|
var Simpleproductcard = function Simpleproductcard(props) {
|
|
99610
|
-
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$
|
|
99610
|
+
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;
|
|
99611
99611
|
var _useState = React.useState(''),
|
|
99612
99612
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
99613
99613
|
sectionproperties = _useState2[0],
|
|
@@ -100437,7 +100437,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100437
100437
|
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,
|
|
100438
100438
|
zIndex: 10
|
|
100439
100439
|
}
|
|
100440
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100440
|
+
}, (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", {
|
|
100441
100441
|
"class": sectionproperties.productnamecentered == 'Centered' ? card_cssstyles.innersection + ' row m-0 w-100 allcentered ' : card_cssstyles.innersection + ' row m-0 w-100 ',
|
|
100442
100442
|
style: {
|
|
100443
100443
|
// move to spo
|
|
@@ -100445,7 +100445,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100445
100445
|
// bottom: authdetailsContext?.instinfo?.contactinfo.instid == '682dfdcdb9720' && sectionproperties.image_mb == -1 ? 30 : 0,
|
|
100446
100446
|
// zIndex: 10,
|
|
100447
100447
|
}
|
|
100448
|
-
}, (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100448
|
+
}, (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) {
|
|
100449
100449
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100450
100450
|
"class": "text-start d-flex align-items-center col-lg- p-0 mb-1"
|
|
100451
100451
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -100463,7 +100463,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100463
100463
|
fontWeight: 300
|
|
100464
100464
|
}
|
|
100465
100465
|
}, "-"));
|
|
100466
|
-
})), sectionproperties.showfeatures == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100466
|
+
})), 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", {
|
|
100467
100467
|
"class": "allcentered col-lg-12 p-0",
|
|
100468
100468
|
style: {
|
|
100469
100469
|
height: 40
|
|
@@ -100483,7 +100483,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100483
100483
|
color: sectionproperties.featurecolor,
|
|
100484
100484
|
fontSize: sectionproperties.featurefontsize + 'px'
|
|
100485
100485
|
}
|
|
100486
|
-
}, (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$
|
|
100486
|
+
}, (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", {
|
|
100487
100487
|
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
100488
100488
|
style: {
|
|
100489
100489
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -100522,8 +100522,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100522
100522
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100523
100523
|
onClick: function onClick() {
|
|
100524
100524
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
100525
|
-
var _authdetailsContext$
|
|
100526
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100525
|
+
var _authdetailsContext$i14;
|
|
100526
|
+
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') {
|
|
100527
100527
|
setShowProductInfoModalContext(true);
|
|
100528
100528
|
setProductIdProdutInfoModalContext(item.productid);
|
|
100529
100529
|
} else {
|
|
@@ -100542,7 +100542,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100542
100542
|
style: {
|
|
100543
100543
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
100544
100544
|
}
|
|
100545
|
-
}, item.name)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100545
|
+
}, 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", {
|
|
100546
100546
|
"class": "text-start d-flex align-items-center col-lg-12 flex-row p-0 mb-1 mt-1"
|
|
100547
100547
|
}, (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) {
|
|
100548
100548
|
if (ffindex < 2) {
|
|
@@ -100574,7 +100574,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100574
100574
|
}
|
|
100575
100575
|
})), langdetect == 'en' ? ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_en : ffitem === null || ffitem === void 0 ? void 0 : ffitem.value_ar);
|
|
100576
100576
|
}
|
|
100577
|
-
}))), (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$
|
|
100577
|
+
}))), (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", {
|
|
100578
100578
|
"class": "allcentered",
|
|
100579
100579
|
style: {
|
|
100580
100580
|
width: '100%',
|
|
@@ -100641,7 +100641,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100641
100641
|
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
100642
100642
|
}, 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", {
|
|
100643
100643
|
style: {}
|
|
100644
|
-
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100644
|
+
}, 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", {
|
|
100645
100645
|
"class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
|
|
100646
100646
|
style: {
|
|
100647
100647
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -100742,7 +100742,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100742
100742
|
color: sectionproperties.quantitycolor,
|
|
100743
100743
|
fontWeight: sectionproperties.quantityfontweight
|
|
100744
100744
|
}
|
|
100745
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100745
|
+
}, 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", {
|
|
100746
100746
|
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
100747
100747
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100748
100748
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
@@ -100787,7 +100787,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100787
100787
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
100788
100788
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
100789
100789
|
"class": "h-100 allcentered addbtn"
|
|
100790
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100790
|
+
}, /*#__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", {
|
|
100791
100791
|
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
100792
100792
|
style: {
|
|
100793
100793
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
@@ -100816,13 +100816,13 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100816
100816
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100817
100817
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
100818
100818
|
onClick: function onClick() {
|
|
100819
|
-
var _authdetailsContext$
|
|
100820
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100819
|
+
var _authdetailsContext$i20;
|
|
100820
|
+
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') {
|
|
100821
100821
|
setShowProductInfoModalContext(true);
|
|
100822
100822
|
setProductIdProdutInfoModalContext(item.productid);
|
|
100823
100823
|
} else {
|
|
100824
|
-
var _authdetailsContext$
|
|
100825
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
100824
|
+
var _authdetailsContext$i21;
|
|
100825
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.contactinfo.instid) == '68527dfef348b') {
|
|
100826
100826
|
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
100827
100827
|
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
100828
100828
|
addtocartfunc();
|
|
@@ -100882,7 +100882,448 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100882
100882
|
}
|
|
100883
100883
|
}),
|
|
100884
100884
|
activeColor: "#ffd700"
|
|
100885
|
-
})))))
|
|
100885
|
+
}))), (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", {
|
|
100886
|
+
"class": sectionproperties.productnamecentered == 'Centered' ? card_cssstyles.innersection + ' row m-0 w-100 allcentered ' : card_cssstyles.innersection + ' row m-0 w-100 allcentered ',
|
|
100887
|
+
style: {}
|
|
100888
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100889
|
+
style: {
|
|
100890
|
+
width: '97%',
|
|
100891
|
+
borderRadius: 20
|
|
100892
|
+
},
|
|
100893
|
+
"class": "product-content px-3 py-5"
|
|
100894
|
+
}, (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) {
|
|
100895
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100896
|
+
"class": "text-start d-flex align-items-center col-lg- p-0 mb-1"
|
|
100897
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100898
|
+
"class": "text-capitalize d-flex flex-row",
|
|
100899
|
+
style: {
|
|
100900
|
+
color: sectionproperties.featurecolor,
|
|
100901
|
+
fontSize: sectionproperties.featurefontsize + 'px',
|
|
100902
|
+
fontWeight: 300
|
|
100903
|
+
}
|
|
100904
|
+
}, 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", {
|
|
100905
|
+
"class": "mx-2 ",
|
|
100906
|
+
style: {
|
|
100907
|
+
color: sectionproperties.featurecolor,
|
|
100908
|
+
fontSize: sectionproperties.featurefontsize + 'px',
|
|
100909
|
+
fontWeight: 300
|
|
100910
|
+
}
|
|
100911
|
+
}, "-"));
|
|
100912
|
+
})), 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", {
|
|
100913
|
+
"class": "allcentered col-lg-12 p-0",
|
|
100914
|
+
style: {
|
|
100915
|
+
height: 40
|
|
100916
|
+
}
|
|
100917
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
100918
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
100919
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
100920
|
+
path: item === null || item === void 0 ? void 0 : item.feature_image_url,
|
|
100921
|
+
loading: "lazy",
|
|
100922
|
+
style: {
|
|
100923
|
+
maxWidth: '50%',
|
|
100924
|
+
maxHeight: '50%'
|
|
100925
|
+
}
|
|
100926
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100927
|
+
"class": "text-capitalize mx-2",
|
|
100928
|
+
style: {
|
|
100929
|
+
color: sectionproperties.featurecolor,
|
|
100930
|
+
fontSize: sectionproperties.featurefontsize + 'px'
|
|
100931
|
+
}
|
|
100932
|
+
}, (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", {
|
|
100933
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
100934
|
+
style: {
|
|
100935
|
+
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
100936
|
+
}
|
|
100937
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100938
|
+
"class": "m-0 p-0",
|
|
100939
|
+
style: {
|
|
100940
|
+
width: 8,
|
|
100941
|
+
height: 8,
|
|
100942
|
+
borderRadius: 100,
|
|
100943
|
+
background: 'green'
|
|
100944
|
+
}
|
|
100945
|
+
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100946
|
+
"class": 'm-0 mx-2 p-0',
|
|
100947
|
+
style: {
|
|
100948
|
+
color: 'green',
|
|
100949
|
+
fontSize: 13,
|
|
100950
|
+
fontWeight: 400
|
|
100951
|
+
}
|
|
100952
|
+
}, 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", {
|
|
100953
|
+
"class": "col-lg-12 p-0 d-flex align-items-center mb-1 flex-row"
|
|
100954
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100955
|
+
style: {
|
|
100956
|
+
width: 40,
|
|
100957
|
+
height: 40,
|
|
100958
|
+
borderRadius: 100,
|
|
100959
|
+
border: '1px solid #ccc'
|
|
100960
|
+
}
|
|
100961
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
100962
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
100963
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
100964
|
+
path: item.vendorlogo,
|
|
100965
|
+
loading: "lazy",
|
|
100966
|
+
style: {
|
|
100967
|
+
width: '100%',
|
|
100968
|
+
height: '100%'
|
|
100969
|
+
}
|
|
100970
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100971
|
+
"class": "m-0 p-0 px-2",
|
|
100972
|
+
style: {
|
|
100973
|
+
color: '#000',
|
|
100974
|
+
fontSize: 13
|
|
100975
|
+
}
|
|
100976
|
+
}, item.vendorname)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100977
|
+
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
|
|
100978
|
+
style: {
|
|
100979
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
100980
|
+
fontSize: sectionproperties.measurementunitfontsize + 'px',
|
|
100981
|
+
color: sectionproperties.measurementunitcolor
|
|
100982
|
+
}
|
|
100983
|
+
}, item.measurmentunit), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100984
|
+
"class": "col-lg-12 pl-0 pr-0",
|
|
100985
|
+
style: {
|
|
100986
|
+
minHeight: sectionproperties.wordbreak == '1' ? 'auto' : '6vh',
|
|
100987
|
+
background: sectionproperties.prodNameBackgroundColor,
|
|
100988
|
+
borderRadius: '15px',
|
|
100989
|
+
paddingTop: sectionproperties.productnamepaddingvertical + 'px',
|
|
100990
|
+
paddingBottom: sectionproperties.productnamepaddingvertical + 'px'
|
|
100991
|
+
}
|
|
100992
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100993
|
+
onClick: function onClick() {
|
|
100994
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
100995
|
+
var productidtobesend = null;
|
|
100996
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
100997
|
+
productidtobesend = item.productendpointurl;
|
|
100998
|
+
} else {
|
|
100999
|
+
productidtobesend = item.productid;
|
|
101000
|
+
}
|
|
101001
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101002
|
+
}
|
|
101003
|
+
},
|
|
101004
|
+
"class": sectionproperties.wordbreak == '1' ?
|
|
101005
|
+
// move to spo
|
|
101006
|
+
"".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 pname ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 wordbreak-md-4 m-0 pname ',
|
|
101007
|
+
style: {
|
|
101008
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
101009
|
+
}
|
|
101010
|
+
}, 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", {
|
|
101011
|
+
"class": "allcentered",
|
|
101012
|
+
style: {
|
|
101013
|
+
width: '100%',
|
|
101014
|
+
left: 0,
|
|
101015
|
+
right: 0,
|
|
101016
|
+
zIndex: 100
|
|
101017
|
+
}
|
|
101018
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
101019
|
+
"class": "px-3 py-1",
|
|
101020
|
+
style: {
|
|
101021
|
+
width: 'fit-content',
|
|
101022
|
+
background: sectionproperties.tagbackgroundcolor,
|
|
101023
|
+
borderRadius: sectionproperties.tagborderradius + 'px',
|
|
101024
|
+
color: sectionproperties.tagcolor,
|
|
101025
|
+
fontSize: 12
|
|
101026
|
+
}
|
|
101027
|
+
}, 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", {
|
|
101028
|
+
"class": "col-lg-12 pl-0 pr-0",
|
|
101029
|
+
style: {}
|
|
101030
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101031
|
+
"class": "".concat(card_cssstyles.sku) + ' wordbreak wordbreak1 font-md-13 m-0 ',
|
|
101032
|
+
style: {
|
|
101033
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
101034
|
+
}
|
|
101035
|
+
}, langdetect == 'en' ? 'SKU: ' : 'كود: ', item.sku)), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'No' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101036
|
+
"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 ',
|
|
101037
|
+
style: {
|
|
101038
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
101039
|
+
},
|
|
101040
|
+
dangerouslySetInnerHTML: {
|
|
101041
|
+
__html: item.shortdescription
|
|
101042
|
+
}
|
|
101043
|
+
}), sectionproperties.prodCatShow == 'Show' && sectionproperties.descriptionoverwritestyles == 'Yes' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101044
|
+
"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 ',
|
|
101045
|
+
style: {
|
|
101046
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
101047
|
+
}
|
|
101048
|
+
}, plainString(item.shortdescription)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
101049
|
+
style: {
|
|
101050
|
+
flexDirection: 'column',
|
|
101051
|
+
display: sectionproperties.prodPriceShow == 'Hide' && sectionproperties.showprofitcontainer == 'Hide' && sectionproperties.cartBtnShow == 'Hide' && sectionproperties.prodsalePriceshow == 'Hide' ? 'none' : 'flex'
|
|
101052
|
+
},
|
|
101053
|
+
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 mt-1 "
|
|
101054
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
101055
|
+
"class": "row m-0 w-100 "
|
|
101056
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
101057
|
+
"class": " d-flex flex-row col-lg-12 mx-0 p-0 align-items-center ",
|
|
101058
|
+
style: {
|
|
101059
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
101060
|
+
marginTop: sectionproperties.productpricemarginTop + 'px',
|
|
101061
|
+
marginBottom: sectionproperties.productpricemarginBottom + 'px'
|
|
101062
|
+
}
|
|
101063
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
101064
|
+
"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 ',
|
|
101065
|
+
style: {
|
|
101066
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
101067
|
+
minHeight: sectionproperties.priceDirection == 'Horizontal Direction' ? '' : '10.5vh'
|
|
101068
|
+
}
|
|
101069
|
+
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101070
|
+
"class": sectionproperties.priceDirection == 'Horizontal Direction' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 w-100' : "".concat(card_cssstyles.productPricestyles) + ' m-0 w-100'
|
|
101071
|
+
}, 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", {
|
|
101072
|
+
"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 '
|
|
101073
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101074
|
+
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 '
|
|
101075
|
+
}, langdetect == 'en' ? item.currencyname : '', " ", price, " ", langdetect == 'en' ? '' : item.currencyname), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
101076
|
+
"class": ' px-2 allcentered mx-2',
|
|
101077
|
+
style: {
|
|
101078
|
+
width: 100,
|
|
101079
|
+
height: sectionproperties.pillheight + 'px',
|
|
101080
|
+
background: '#F9E1E0',
|
|
101081
|
+
borderRadius: 100
|
|
101082
|
+
}
|
|
101083
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101084
|
+
"class": "m-0 p-0",
|
|
101085
|
+
style: {
|
|
101086
|
+
color: '#7D0808',
|
|
101087
|
+
fontSize: '15px',
|
|
101088
|
+
direction: 'ltr',
|
|
101089
|
+
fontWeight: 600
|
|
101090
|
+
}
|
|
101091
|
+
}, '-' + 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", {
|
|
101092
|
+
style: {}
|
|
101093
|
+
}, 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", {
|
|
101094
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
|
|
101095
|
+
style: {
|
|
101096
|
+
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
101097
|
+
}
|
|
101098
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101099
|
+
"class": "m-0 p-0",
|
|
101100
|
+
style: {
|
|
101101
|
+
width: 8,
|
|
101102
|
+
height: 8,
|
|
101103
|
+
borderRadius: 100,
|
|
101104
|
+
background: 'green'
|
|
101105
|
+
}
|
|
101106
|
+
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101107
|
+
"class": 'm-0 mx-2 p-0',
|
|
101108
|
+
style: {
|
|
101109
|
+
color: 'green',
|
|
101110
|
+
fontSize: 13,
|
|
101111
|
+
fontWeight: 400
|
|
101112
|
+
}
|
|
101113
|
+
}, langdetect == 'en' ? 'In Stock' : 'متوفر')), sectionproperties.showvariantscont == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
101114
|
+
"class": "col-12 p-0"
|
|
101115
|
+
}, /*#__PURE__*/React__default["default"].createElement(Variants_J_Cards, {
|
|
101116
|
+
actions: {
|
|
101117
|
+
sectionproperties: sectionproperties,
|
|
101118
|
+
item: item,
|
|
101119
|
+
cardonclickfunctionContext: cardonclickfunctionContext,
|
|
101120
|
+
fetchingtypeprops: props.fetchingtypeprops
|
|
101121
|
+
},
|
|
101122
|
+
foundMatchedVariantFunc: function foundMatchedVariantFunc(variantCompletedObj) {
|
|
101123
|
+
// alert(JSON.stringify(variantCompletedObj));
|
|
101124
|
+
// console.log(variantCompletedObj);
|
|
101125
|
+
setvariantObj(variantCompletedObj);
|
|
101126
|
+
var variant_price = 0;
|
|
101127
|
+
var variant_saleprice = 0;
|
|
101128
|
+
var variant_hassale = 0;
|
|
101129
|
+
var is_found = false;
|
|
101130
|
+
if (variantCompletedObj != null && variantCompletedObj != undefined) {
|
|
101131
|
+
var _variantCompletedObj$1;
|
|
101132
|
+
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) {
|
|
101133
|
+
var _variantCompletedObj$10, _variantCompletedObj$11, _variantCompletedObj$13, _variantCompletedObj$14, _variantCompletedObj$16, _variantCompletedObj$17;
|
|
101134
|
+
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) {
|
|
101135
|
+
var _variantCompletedObj$12;
|
|
101136
|
+
variant_price = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$12 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$12 === void 0 ? void 0 : _variantCompletedObj$12.price;
|
|
101137
|
+
is_found = true;
|
|
101138
|
+
}
|
|
101139
|
+
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) {
|
|
101140
|
+
var _variantCompletedObj$15;
|
|
101141
|
+
variant_saleprice = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$15 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$15 === void 0 ? void 0 : _variantCompletedObj$15.saleprice;
|
|
101142
|
+
}
|
|
101143
|
+
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) {
|
|
101144
|
+
var _variantCompletedObj$18;
|
|
101145
|
+
variant_hassale = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$18 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$18 === void 0 ? void 0 : _variantCompletedObj$18.hassale;
|
|
101146
|
+
}
|
|
101147
|
+
}
|
|
101148
|
+
}
|
|
101149
|
+
if (is_found) {
|
|
101150
|
+
setprice(variant_price);
|
|
101151
|
+
setsale_price(variant_saleprice);
|
|
101152
|
+
sethas_sale(variant_hassale);
|
|
101153
|
+
}
|
|
101154
|
+
},
|
|
101155
|
+
foundImageColorMatchingFunc: function foundImageColorMatchingFunc(variantIMAGECompletedObj) {
|
|
101156
|
+
setVariant_Color_ImageObj(variantIMAGECompletedObj);
|
|
101157
|
+
}
|
|
101158
|
+
})), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
101159
|
+
"class": "col-lg-12 p-0",
|
|
101160
|
+
style: {
|
|
101161
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101162
|
+
}
|
|
101163
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
101164
|
+
"class": card_cssstyles.profitcontainer + ' d-flex align-items-center flex-sm-column px-2',
|
|
101165
|
+
style: {
|
|
101166
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101167
|
+
}
|
|
101168
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101169
|
+
"class": ' m-0 p-0 d-flex align-items-center ',
|
|
101170
|
+
style: {
|
|
101171
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101172
|
+
}
|
|
101173
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
101174
|
+
style: {
|
|
101175
|
+
fontWeight: sectionproperties.profitcontainerfontweight
|
|
101176
|
+
}
|
|
101177
|
+
}, langdetect == 'en' ? sectionproperties.profitcontainercontenten : sectionproperties.profitcontainercontentar, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
101178
|
+
"class": "mx-1",
|
|
101179
|
+
style: {
|
|
101180
|
+
fontWeight: sectionproperties.profitcontainersecondaryfontweight
|
|
101181
|
+
}
|
|
101182
|
+
}, 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", {
|
|
101183
|
+
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
101184
|
+
style: {
|
|
101185
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101186
|
+
}
|
|
101187
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101188
|
+
"class": "m-0 p-0",
|
|
101189
|
+
style: {
|
|
101190
|
+
fontSize: sectionproperties.quantityfontsize,
|
|
101191
|
+
color: sectionproperties.quantitycolor,
|
|
101192
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
101193
|
+
}
|
|
101194
|
+
}, 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", {
|
|
101195
|
+
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
101196
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
101197
|
+
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
101198
|
+
style: {
|
|
101199
|
+
direction: 'ltr'
|
|
101200
|
+
}
|
|
101201
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
101202
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
101203
|
+
onClick: function onClick() {
|
|
101204
|
+
var tempitem = _objectSpread$6({}, item);
|
|
101205
|
+
tempitem.quantity = parseInt(tempitem.quantity);
|
|
101206
|
+
tempitem.quantity = tempitem.quantity - 1;
|
|
101207
|
+
if (tempitem.quantity <= 0) {
|
|
101208
|
+
tempitem.quantity = 0;
|
|
101209
|
+
}
|
|
101210
|
+
setitem(_objectSpread$6({}, tempitem));
|
|
101211
|
+
// addtocartfuncquantity('add', tempitem.quantity);
|
|
101212
|
+
},
|
|
101213
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
101214
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
101215
|
+
"class": "h-100 allcentered minusbtn"
|
|
101216
|
+
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, null))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
101217
|
+
"class": ' d-flex align-items-center justify-content-center ',
|
|
101218
|
+
style: {
|
|
101219
|
+
fontSize: 14,
|
|
101220
|
+
fontWeight: 500,
|
|
101221
|
+
color: sectionproperties.cartBtnbgColor,
|
|
101222
|
+
flex: 1
|
|
101223
|
+
}
|
|
101224
|
+
}, addtocartbuttonrenderquantity()), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
101225
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
101226
|
+
onClick: function onClick() {
|
|
101227
|
+
var tempitem = _objectSpread$6({}, item);
|
|
101228
|
+
tempitem.quantity = parseInt(tempitem.quantity);
|
|
101229
|
+
tempitem.quantity = tempitem.quantity + 1;
|
|
101230
|
+
if (tempitem.quantity <= 0) {
|
|
101231
|
+
tempitem.quantity = 0;
|
|
101232
|
+
}
|
|
101233
|
+
setitem(_objectSpread$6({}, tempitem));
|
|
101234
|
+
// addtocartfuncquantity('add', tempitem.quantity);
|
|
101235
|
+
},
|
|
101236
|
+
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
101237
|
+
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
101238
|
+
"class": "h-100 allcentered addbtn"
|
|
101239
|
+
}, /*#__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", {
|
|
101240
|
+
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
101241
|
+
style: {
|
|
101242
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
101243
|
+
visibility: item.quantavailtype == 'nolimit' ? 'visible' : item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
101244
|
+
}
|
|
101245
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101246
|
+
"class": "m-0 p-0",
|
|
101247
|
+
style: {
|
|
101248
|
+
width: 8,
|
|
101249
|
+
height: 8,
|
|
101250
|
+
borderRadius: 100,
|
|
101251
|
+
background: 'green'
|
|
101252
|
+
}
|
|
101253
|
+
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101254
|
+
"class": 'm-0 mx-2 p-0',
|
|
101255
|
+
style: {
|
|
101256
|
+
color: 'green',
|
|
101257
|
+
fontSize: 13,
|
|
101258
|
+
fontWeight: 400
|
|
101259
|
+
}
|
|
101260
|
+
}, langdetect == 'en' ? 'In Stock' : 'متوفر')), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
101261
|
+
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
101262
|
+
style: {
|
|
101263
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101264
|
+
}
|
|
101265
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101266
|
+
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
101267
|
+
onClick: function onClick() {
|
|
101268
|
+
var _authdetailsContext$i31;
|
|
101269
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.contactinfo.instid) == '68527dfef348b') {
|
|
101270
|
+
// alert(item.path);
|
|
101271
|
+
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
101272
|
+
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
101273
|
+
addtocartfunc();
|
|
101274
|
+
} else {
|
|
101275
|
+
var productidtobesend = null;
|
|
101276
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
101277
|
+
productidtobesend = item.productendpointurl;
|
|
101278
|
+
} else {
|
|
101279
|
+
productidtobesend = item.productid;
|
|
101280
|
+
}
|
|
101281
|
+
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|
|
101282
|
+
if (item.extrafieldsarray.length == 0) {
|
|
101283
|
+
addtocartfunc();
|
|
101284
|
+
} else {
|
|
101285
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101286
|
+
}
|
|
101287
|
+
} else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
|
|
101288
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101289
|
+
} else {
|
|
101290
|
+
var productidtobesend = null;
|
|
101291
|
+
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
101292
|
+
productidtobesend = item.productendpointurl;
|
|
101293
|
+
} else {
|
|
101294
|
+
productidtobesend = item.productid;
|
|
101295
|
+
}
|
|
101296
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
|
|
101297
|
+
}
|
|
101298
|
+
}
|
|
101299
|
+
}
|
|
101300
|
+
}, addtocartbuttonrender())))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
101301
|
+
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
101302
|
+
style: {
|
|
101303
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
101304
|
+
}
|
|
101305
|
+
}, /*#__PURE__*/React__default["default"].createElement(ReactStars__default["default"], {
|
|
101306
|
+
count: 5,
|
|
101307
|
+
value: item.productoverallrate,
|
|
101308
|
+
edit: false,
|
|
101309
|
+
size: 16,
|
|
101310
|
+
emptyIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
101311
|
+
className: "far fa-star",
|
|
101312
|
+
style: {
|
|
101313
|
+
color: '#cccccc'
|
|
101314
|
+
}
|
|
101315
|
+
}),
|
|
101316
|
+
halfIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
101317
|
+
className: "fa fa-star-half-alt style={{ color: '#FAB400' }}"
|
|
101318
|
+
}),
|
|
101319
|
+
filledIcon: /*#__PURE__*/React__default["default"].createElement("i", {
|
|
101320
|
+
className: "fa fa-star",
|
|
101321
|
+
style: {
|
|
101322
|
+
color: '#FAB400'
|
|
101323
|
+
}
|
|
101324
|
+
}),
|
|
101325
|
+
activeColor: "#ffd700"
|
|
101326
|
+
})))))), cardsinglerow == 'single' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100886
101327
|
"class": card_cssstyles.cardconttt + ' cursor-pointer w-100 p-2',
|
|
100887
101328
|
style: {}
|
|
100888
101329
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -100927,8 +101368,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100927
101368
|
onClick: function onClick(e) {
|
|
100928
101369
|
var _sectionproperties$se2;
|
|
100929
101370
|
if (((_sectionproperties$se2 = sectionproperties.sectionproperties) === null || _sectionproperties$se2 === void 0 ? void 0 : _sectionproperties$se2.onClickRoute) == 'None') ; else {
|
|
100930
|
-
var _authdetailsContext$
|
|
100931
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101371
|
+
var _authdetailsContext$i32;
|
|
101372
|
+
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') {
|
|
100932
101373
|
e.stopPropagation();
|
|
100933
101374
|
setShowProductInfoModalContext(true);
|
|
100934
101375
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -100972,8 +101413,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100972
101413
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
100973
101414
|
onClick: function onClick() {
|
|
100974
101415
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
100975
|
-
var _authdetailsContext$
|
|
100976
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101416
|
+
var _authdetailsContext$i33;
|
|
101417
|
+
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') {
|
|
100977
101418
|
setShowProductInfoModalContext(true);
|
|
100978
101419
|
setProductIdProdutInfoModalContext(item.productid);
|
|
100979
101420
|
} else {
|
|
@@ -100992,7 +101433,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
100992
101433
|
style: {
|
|
100993
101434
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
100994
101435
|
}
|
|
100995
|
-
}, item.name)), (item === null || item === void 0 ? void 0 : item.productfeaturesarray) != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101436
|
+
}, 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) {
|
|
100996
101437
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
100997
101438
|
"class": "text-start d-flex align-items-center col-lg-12 p-0 mb-1"
|
|
100998
101439
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -101010,7 +101451,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101010
101451
|
fontWeight: 300
|
|
101011
101452
|
}
|
|
101012
101453
|
}, "-"));
|
|
101013
|
-
})), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$
|
|
101454
|
+
})), (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", {
|
|
101014
101455
|
"class": "allcentered",
|
|
101015
101456
|
style: {
|
|
101016
101457
|
width: '100%',
|
|
@@ -101027,7 +101468,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101027
101468
|
color: sectionproperties.tagcolor,
|
|
101028
101469
|
fontSize: 12
|
|
101029
101470
|
}
|
|
101030
|
-
}, item === null || item === void 0 || (_item$producttags$
|
|
101471
|
+
}, 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", {
|
|
101031
101472
|
"class": "col-lg-12 pl-0 pr-0",
|
|
101032
101473
|
style: {}
|
|
101033
101474
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -101077,7 +101518,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101077
101518
|
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
101078
101519
|
}, 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", {
|
|
101079
101520
|
style: {}
|
|
101080
|
-
}, PillContainer()))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101521
|
+
}, 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", {
|
|
101081
101522
|
"class": "col-12 p-0 d-flex flex-row align-items-center mb-2",
|
|
101082
101523
|
style: {
|
|
101083
101524
|
visibility: item.currentquantity > 1 ? 'visible' : 'hidden'
|
|
@@ -101115,21 +101556,21 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101115
101556
|
var variant_hassale = 0;
|
|
101116
101557
|
var is_found = false;
|
|
101117
101558
|
if (variantCompletedObj != null && variantCompletedObj != undefined) {
|
|
101118
|
-
var _variantCompletedObj$
|
|
101119
|
-
if (variantCompletedObj.variant_prices != undefined && variantCompletedObj != null && (variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
101120
|
-
var _variantCompletedObj$
|
|
101121
|
-
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
101122
|
-
var _variantCompletedObj$
|
|
101123
|
-
variant_price = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
101559
|
+
var _variantCompletedObj$19;
|
|
101560
|
+
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) {
|
|
101561
|
+
var _variantCompletedObj$20, _variantCompletedObj$21, _variantCompletedObj$23, _variantCompletedObj$24, _variantCompletedObj$26, _variantCompletedObj$27;
|
|
101562
|
+
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) {
|
|
101563
|
+
var _variantCompletedObj$22;
|
|
101564
|
+
variant_price = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$22 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$22 === void 0 ? void 0 : _variantCompletedObj$22.price;
|
|
101124
101565
|
is_found = true;
|
|
101125
101566
|
}
|
|
101126
|
-
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
101127
|
-
var _variantCompletedObj$
|
|
101128
|
-
variant_saleprice = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
101567
|
+
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) {
|
|
101568
|
+
var _variantCompletedObj$25;
|
|
101569
|
+
variant_saleprice = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$25 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$25 === void 0 ? void 0 : _variantCompletedObj$25.saleprice;
|
|
101129
101570
|
}
|
|
101130
|
-
if ((variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
101131
|
-
var _variantCompletedObj$
|
|
101132
|
-
variant_hassale = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$
|
|
101571
|
+
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) {
|
|
101572
|
+
var _variantCompletedObj$28;
|
|
101573
|
+
variant_hassale = variantCompletedObj === null || variantCompletedObj === void 0 || (_variantCompletedObj$28 = variantCompletedObj.variant_prices[0]) === null || _variantCompletedObj$28 === void 0 ? void 0 : _variantCompletedObj$28.hassale;
|
|
101133
101574
|
}
|
|
101134
101575
|
}
|
|
101135
101576
|
}
|
|
@@ -101178,7 +101619,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101178
101619
|
color: sectionproperties.quantitycolor,
|
|
101179
101620
|
fontWeight: sectionproperties.quantityfontweight
|
|
101180
101621
|
}
|
|
101181
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101622
|
+
}, 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", {
|
|
101182
101623
|
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
101183
101624
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
101184
101625
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
@@ -101223,7 +101664,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101223
101664
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
101224
101665
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
101225
101666
|
"class": "h-100 allcentered addbtn"
|
|
101226
|
-
}, /*#__PURE__*/React__default["default"].createElement(FiPlus.FiPlus, null))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101667
|
+
}, /*#__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", {
|
|
101227
101668
|
"class": "col-12 p-0 d-flex flex-row align-items-center",
|
|
101228
101669
|
style: {
|
|
101229
101670
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start',
|
|
@@ -101252,13 +101693,13 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
101252
101693
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
101253
101694
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
101254
101695
|
onClick: function onClick() {
|
|
101255
|
-
var _authdetailsContext$
|
|
101256
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101696
|
+
var _authdetailsContext$i39;
|
|
101697
|
+
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') {
|
|
101257
101698
|
setShowProductInfoModalContext(true);
|
|
101258
101699
|
setProductIdProdutInfoModalContext(item.productid);
|
|
101259
101700
|
} else {
|
|
101260
|
-
var _authdetailsContext$
|
|
101261
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
101701
|
+
var _authdetailsContext$i40;
|
|
101702
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.contactinfo.instid) == '68527dfef348b') {
|
|
101262
101703
|
// alert(item.path);
|
|
101263
101704
|
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
101264
101705
|
} else if (sectionproperties.showvariantscont == 'Show') {
|