tabexseriescomponents 0.2.1228 → 0.2.1230
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 +80 -15
- package/dist/index.esm.js +80 -15
- package/dist/index.umd.js +80 -15
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -27766,6 +27766,32 @@ var MarqueeHeader = function MarqueeHeader(props) {
|
|
|
27766
27766
|
}
|
|
27767
27767
|
}
|
|
27768
27768
|
}, [templateproperties_context]);
|
|
27769
|
+
var _useState7 = React.useState(0),
|
|
27770
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
27771
|
+
currentIndex = _useState8[0],
|
|
27772
|
+
setCurrentIndex = _useState8[1];
|
|
27773
|
+
var next = function next() {
|
|
27774
|
+
setCurrentIndex(function (prev) {
|
|
27775
|
+
return (prev + 1) % textarray.length;
|
|
27776
|
+
});
|
|
27777
|
+
};
|
|
27778
|
+
var prev = function prev() {
|
|
27779
|
+
setCurrentIndex(function (prev) {
|
|
27780
|
+
return prev === 0 ? textarray.length - 1 : prev - 1;
|
|
27781
|
+
});
|
|
27782
|
+
};
|
|
27783
|
+
React.useEffect(function () {
|
|
27784
|
+
if (!(textarray !== null && textarray !== void 0 && textarray.length)) return;
|
|
27785
|
+
var interval = setInterval(function () {
|
|
27786
|
+
setCurrentIndex(function (prev) {
|
|
27787
|
+
return (prev + 1) % textarray.length;
|
|
27788
|
+
});
|
|
27789
|
+
}, 4000); // change every 3s
|
|
27790
|
+
|
|
27791
|
+
return function () {
|
|
27792
|
+
return clearInterval(interval);
|
|
27793
|
+
};
|
|
27794
|
+
}, [textarray]);
|
|
27769
27795
|
var header_cssstyles = {
|
|
27770
27796
|
textSlider: glamor.css({
|
|
27771
27797
|
fontSize: templateproperties_context.textsliderfontsize + 'px',
|
|
@@ -27779,12 +27805,27 @@ var MarqueeHeader = function MarqueeHeader(props) {
|
|
|
27779
27805
|
background: templateproperties_context.textsliderbgcolor,
|
|
27780
27806
|
paddingTop: templateproperties_context.sliderpaddingvertical + 'px',
|
|
27781
27807
|
paddingBottom: templateproperties_context.sliderpaddingvertical + 'px',
|
|
27782
|
-
|
|
27783
|
-
|
|
27784
|
-
paddingLeft: '200px',
|
|
27785
|
-
paddingRight: '200px'
|
|
27808
|
+
paddingLeft: templateproperties_context.sliderpaddinghorizontal + 'px',
|
|
27809
|
+
paddingRight: templateproperties_context.sliderpaddinghorizontal + 'px'
|
|
27786
27810
|
}
|
|
27787
|
-
}, templateproperties_context.textslidertype == '
|
|
27811
|
+
}, templateproperties_context.textslidertype == 'Fading Text Carousel' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27812
|
+
className: "text-slider"
|
|
27813
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
27814
|
+
onClick: prev,
|
|
27815
|
+
className: "arrow left allcentered"
|
|
27816
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
|
|
27817
|
+
size: 19
|
|
27818
|
+
})), textarray.map(function (item, index) {
|
|
27819
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27820
|
+
key: index,
|
|
27821
|
+
className: "slide ".concat(index === currentIndex ? 'active' : '') + ' m-0 ' + header_cssstyles.textSlider
|
|
27822
|
+
}, langdetect == 'en' ? item.textEnglish : item.textArabic);
|
|
27823
|
+
}), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
27824
|
+
onClick: next,
|
|
27825
|
+
className: "arrow right allcentered"
|
|
27826
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronRight.BsChevronRight, {
|
|
27827
|
+
size: 19
|
|
27828
|
+
}))), templateproperties_context.textslidertype == 'Slider' &&
|
|
27788
27829
|
/*#__PURE__*/
|
|
27789
27830
|
// <marquee width="100%" direction="left" scrollamount="3" behavior="scroll" class="marquee">
|
|
27790
27831
|
React__default["default"].createElement("div", {
|
|
@@ -59599,7 +59640,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59599
59640
|
style: {
|
|
59600
59641
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59601
59642
|
}
|
|
59602
|
-
}, langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear))),
|
|
59643
|
+
}, langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear))), sectionproperties.showpolicies == 'Show' && sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59603
59644
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
59604
59645
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59605
59646
|
onClick: function onClick() {
|
|
@@ -59610,7 +59651,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59610
59651
|
style: {
|
|
59611
59652
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59612
59653
|
}
|
|
59613
|
-
}, langdetect == 'en' ? sectionproperties.policiestexten : sectionproperties.policiestextar))),
|
|
59654
|
+
}, langdetect == 'en' ? sectionproperties.policiestexten : sectionproperties.policiestextar))), sectionproperties.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59614
59655
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
59615
59656
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59616
59657
|
onClick: function onClick() {
|
|
@@ -59621,7 +59662,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59621
59662
|
style: {
|
|
59622
59663
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59623
59664
|
}
|
|
59624
|
-
}, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar))),
|
|
59665
|
+
}, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar))), sectionproperties.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59625
59666
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
59626
59667
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59627
59668
|
onClick: function onClick() {
|
|
@@ -59632,7 +59673,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59632
59673
|
style: {
|
|
59633
59674
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59634
59675
|
}
|
|
59635
|
-
}, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar))),
|
|
59676
|
+
}, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar))), sectionproperties.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59636
59677
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
59637
59678
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59638
59679
|
onClick: function onClick() {
|
|
@@ -59643,7 +59684,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59643
59684
|
style: {
|
|
59644
59685
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59645
59686
|
}
|
|
59646
|
-
}, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar))),
|
|
59687
|
+
}, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar))), sectionproperties.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59647
59688
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
59648
59689
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59649
59690
|
onClick: function onClick() {
|
|
@@ -93855,7 +93896,7 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
|
|
|
93855
93896
|
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; }
|
|
93856
93897
|
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; }
|
|
93857
93898
|
var Simpleproductcard = function Simpleproductcard(props) {
|
|
93858
|
-
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _item$producttags2, _authdetailsContext$
|
|
93899
|
+
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _item$producttags2, _authdetailsContext$i8, _item$producttags$2, _authdetailsContext$i9;
|
|
93859
93900
|
var _useState = React.useState(''),
|
|
93860
93901
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
93861
93902
|
sectionproperties = _useState2[0],
|
|
@@ -94694,6 +94735,30 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94694
94735
|
color: '#000',
|
|
94695
94736
|
fontSize: 13
|
|
94696
94737
|
}
|
|
94738
|
+
}, item.vendorname)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
94739
|
+
"class": "col-lg-12 p-0 text-start mb-1"
|
|
94740
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
94741
|
+
style: {
|
|
94742
|
+
width: 40,
|
|
94743
|
+
height: 40,
|
|
94744
|
+
borderRadius: 100,
|
|
94745
|
+
border: '1px solid #ccc'
|
|
94746
|
+
}
|
|
94747
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
94748
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
94749
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
94750
|
+
path: item.vendorlogo,
|
|
94751
|
+
loading: "lazy",
|
|
94752
|
+
style: {
|
|
94753
|
+
width: '100%',
|
|
94754
|
+
height: '100%'
|
|
94755
|
+
}
|
|
94756
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
94757
|
+
"class": "m-0 p-0 px-2",
|
|
94758
|
+
style: {
|
|
94759
|
+
color: '#000',
|
|
94760
|
+
fontSize: 13
|
|
94761
|
+
}
|
|
94697
94762
|
}, item.vendorname)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
94698
94763
|
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
|
|
94699
94764
|
style: {
|
|
@@ -94726,7 +94791,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94726
94791
|
style: {
|
|
94727
94792
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
94728
94793
|
}
|
|
94729
|
-
}, item.name)), (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$
|
|
94794
|
+
}, item.name)), (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$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
94730
94795
|
"class": "allcentered",
|
|
94731
94796
|
style: {
|
|
94732
94797
|
width: '100%',
|
|
@@ -94874,7 +94939,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94874
94939
|
color: sectionproperties.quantitycolor,
|
|
94875
94940
|
fontWeight: sectionproperties.quantityfontweight
|
|
94876
94941
|
}
|
|
94877
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
94942
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
94878
94943
|
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
94879
94944
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
94880
94945
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
@@ -94927,8 +94992,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94927
94992
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
94928
94993
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
94929
94994
|
onClick: function onClick() {
|
|
94930
|
-
var _authdetailsContext$
|
|
94931
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
94995
|
+
var _authdetailsContext$i0;
|
|
94996
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68527dfef348b') {
|
|
94932
94997
|
// alert(item.path);
|
|
94933
94998
|
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
94934
94999
|
} else if (sectionproperties.showvariantscont == 'Show') {
|
package/dist/index.esm.js
CHANGED
|
@@ -27715,6 +27715,32 @@ var MarqueeHeader = function MarqueeHeader(props) {
|
|
|
27715
27715
|
}
|
|
27716
27716
|
}
|
|
27717
27717
|
}, [templateproperties_context]);
|
|
27718
|
+
var _useState7 = useState(0),
|
|
27719
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
27720
|
+
currentIndex = _useState8[0],
|
|
27721
|
+
setCurrentIndex = _useState8[1];
|
|
27722
|
+
var next = function next() {
|
|
27723
|
+
setCurrentIndex(function (prev) {
|
|
27724
|
+
return (prev + 1) % textarray.length;
|
|
27725
|
+
});
|
|
27726
|
+
};
|
|
27727
|
+
var prev = function prev() {
|
|
27728
|
+
setCurrentIndex(function (prev) {
|
|
27729
|
+
return prev === 0 ? textarray.length - 1 : prev - 1;
|
|
27730
|
+
});
|
|
27731
|
+
};
|
|
27732
|
+
useEffect(function () {
|
|
27733
|
+
if (!(textarray !== null && textarray !== void 0 && textarray.length)) return;
|
|
27734
|
+
var interval = setInterval(function () {
|
|
27735
|
+
setCurrentIndex(function (prev) {
|
|
27736
|
+
return (prev + 1) % textarray.length;
|
|
27737
|
+
});
|
|
27738
|
+
}, 4000); // change every 3s
|
|
27739
|
+
|
|
27740
|
+
return function () {
|
|
27741
|
+
return clearInterval(interval);
|
|
27742
|
+
};
|
|
27743
|
+
}, [textarray]);
|
|
27718
27744
|
var header_cssstyles = {
|
|
27719
27745
|
textSlider: css({
|
|
27720
27746
|
fontSize: templateproperties_context.textsliderfontsize + 'px',
|
|
@@ -27728,12 +27754,27 @@ var MarqueeHeader = function MarqueeHeader(props) {
|
|
|
27728
27754
|
background: templateproperties_context.textsliderbgcolor,
|
|
27729
27755
|
paddingTop: templateproperties_context.sliderpaddingvertical + 'px',
|
|
27730
27756
|
paddingBottom: templateproperties_context.sliderpaddingvertical + 'px',
|
|
27731
|
-
|
|
27732
|
-
|
|
27733
|
-
paddingLeft: '200px',
|
|
27734
|
-
paddingRight: '200px'
|
|
27757
|
+
paddingLeft: templateproperties_context.sliderpaddinghorizontal + 'px',
|
|
27758
|
+
paddingRight: templateproperties_context.sliderpaddinghorizontal + 'px'
|
|
27735
27759
|
}
|
|
27736
|
-
}, templateproperties_context.textslidertype == '
|
|
27760
|
+
}, templateproperties_context.textslidertype == 'Fading Text Carousel' && /*#__PURE__*/React.createElement("div", {
|
|
27761
|
+
className: "text-slider"
|
|
27762
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
27763
|
+
onClick: prev,
|
|
27764
|
+
className: "arrow left allcentered"
|
|
27765
|
+
}, /*#__PURE__*/React.createElement(BsChevronLeft, {
|
|
27766
|
+
size: 19
|
|
27767
|
+
})), textarray.map(function (item, index) {
|
|
27768
|
+
return /*#__PURE__*/React.createElement("p", {
|
|
27769
|
+
key: index,
|
|
27770
|
+
className: "slide ".concat(index === currentIndex ? 'active' : '') + ' m-0 ' + header_cssstyles.textSlider
|
|
27771
|
+
}, langdetect == 'en' ? item.textEnglish : item.textArabic);
|
|
27772
|
+
}), /*#__PURE__*/React.createElement("button", {
|
|
27773
|
+
onClick: next,
|
|
27774
|
+
className: "arrow right allcentered"
|
|
27775
|
+
}, /*#__PURE__*/React.createElement(BsChevronRight, {
|
|
27776
|
+
size: 19
|
|
27777
|
+
}))), templateproperties_context.textslidertype == 'Slider' &&
|
|
27737
27778
|
/*#__PURE__*/
|
|
27738
27779
|
// <marquee width="100%" direction="left" scrollamount="3" behavior="scroll" class="marquee">
|
|
27739
27780
|
React.createElement("div", {
|
|
@@ -59548,7 +59589,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59548
59589
|
style: {
|
|
59549
59590
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59550
59591
|
}
|
|
59551
|
-
}, langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear))),
|
|
59592
|
+
}, langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear))), sectionproperties.showpolicies == 'Show' && sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React.createElement("div", {
|
|
59552
59593
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
59553
59594
|
}, /*#__PURE__*/React.createElement("div", {
|
|
59554
59595
|
onClick: function onClick() {
|
|
@@ -59559,7 +59600,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59559
59600
|
style: {
|
|
59560
59601
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59561
59602
|
}
|
|
59562
|
-
}, langdetect == 'en' ? sectionproperties.policiestexten : sectionproperties.policiestextar))),
|
|
59603
|
+
}, langdetect == 'en' ? sectionproperties.policiestexten : sectionproperties.policiestextar))), sectionproperties.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("div", {
|
|
59563
59604
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
59564
59605
|
}, /*#__PURE__*/React.createElement("div", {
|
|
59565
59606
|
onClick: function onClick() {
|
|
@@ -59570,7 +59611,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59570
59611
|
style: {
|
|
59571
59612
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59572
59613
|
}
|
|
59573
|
-
}, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar))),
|
|
59614
|
+
}, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar))), sectionproperties.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("div", {
|
|
59574
59615
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
59575
59616
|
}, /*#__PURE__*/React.createElement("div", {
|
|
59576
59617
|
onClick: function onClick() {
|
|
@@ -59581,7 +59622,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59581
59622
|
style: {
|
|
59582
59623
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59583
59624
|
}
|
|
59584
|
-
}, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar))),
|
|
59625
|
+
}, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar))), sectionproperties.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("div", {
|
|
59585
59626
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
59586
59627
|
}, /*#__PURE__*/React.createElement("div", {
|
|
59587
59628
|
onClick: function onClick() {
|
|
@@ -59592,7 +59633,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
59592
59633
|
style: {
|
|
59593
59634
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59594
59635
|
}
|
|
59595
|
-
}, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar))),
|
|
59636
|
+
}, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar))), sectionproperties.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React.createElement("div", {
|
|
59596
59637
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
59597
59638
|
}, /*#__PURE__*/React.createElement("div", {
|
|
59598
59639
|
onClick: function onClick() {
|
|
@@ -93804,7 +93845,7 @@ var Variants_J_Cards = function Variants_J_Cards(props) {
|
|
|
93804
93845
|
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; }
|
|
93805
93846
|
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; }
|
|
93806
93847
|
var Simpleproductcard = function Simpleproductcard(props) {
|
|
93807
|
-
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _item$producttags2, _authdetailsContext$
|
|
93848
|
+
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _item$producttags2, _authdetailsContext$i8, _item$producttags$2, _authdetailsContext$i9;
|
|
93808
93849
|
var _useState = useState(''),
|
|
93809
93850
|
_useState2 = _slicedToArray(_useState, 2),
|
|
93810
93851
|
sectionproperties = _useState2[0],
|
|
@@ -94643,6 +94684,30 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94643
94684
|
color: '#000',
|
|
94644
94685
|
fontSize: 13
|
|
94645
94686
|
}
|
|
94687
|
+
}, item.vendorname)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React.createElement("div", {
|
|
94688
|
+
"class": "col-lg-12 p-0 text-start mb-1"
|
|
94689
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
94690
|
+
style: {
|
|
94691
|
+
width: 40,
|
|
94692
|
+
height: 40,
|
|
94693
|
+
borderRadius: 100,
|
|
94694
|
+
border: '1px solid #ccc'
|
|
94695
|
+
}
|
|
94696
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
94697
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
94698
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
94699
|
+
path: item.vendorlogo,
|
|
94700
|
+
loading: "lazy",
|
|
94701
|
+
style: {
|
|
94702
|
+
width: '100%',
|
|
94703
|
+
height: '100%'
|
|
94704
|
+
}
|
|
94705
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
94706
|
+
"class": "m-0 p-0 px-2",
|
|
94707
|
+
style: {
|
|
94708
|
+
color: '#000',
|
|
94709
|
+
fontSize: 13
|
|
94710
|
+
}
|
|
94646
94711
|
}, item.vendorname)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
94647
94712
|
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
|
|
94648
94713
|
style: {
|
|
@@ -94675,7 +94740,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94675
94740
|
style: {
|
|
94676
94741
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
94677
94742
|
}
|
|
94678
|
-
}, item.name)), (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$
|
|
94743
|
+
}, item.name)), (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$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React.createElement("div", {
|
|
94679
94744
|
"class": "allcentered",
|
|
94680
94745
|
style: {
|
|
94681
94746
|
width: '100%',
|
|
@@ -94823,7 +94888,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94823
94888
|
color: sectionproperties.quantitycolor,
|
|
94824
94889
|
fontWeight: sectionproperties.quantityfontweight
|
|
94825
94890
|
}
|
|
94826
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
94891
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
94827
94892
|
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
94828
94893
|
}, /*#__PURE__*/React.createElement("div", {
|
|
94829
94894
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
@@ -94876,8 +94941,8 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94876
94941
|
}, /*#__PURE__*/React.createElement("p", {
|
|
94877
94942
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
94878
94943
|
onClick: function onClick() {
|
|
94879
|
-
var _authdetailsContext$
|
|
94880
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
94944
|
+
var _authdetailsContext$i0;
|
|
94945
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68527dfef348b') {
|
|
94881
94946
|
// alert(item.path);
|
|
94882
94947
|
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
94883
94948
|
} else if (sectionproperties.showvariantscont == 'Show') {
|
package/dist/index.umd.js
CHANGED
|
@@ -27572,6 +27572,32 @@
|
|
|
27572
27572
|
}
|
|
27573
27573
|
}
|
|
27574
27574
|
}, [templateproperties_context]);
|
|
27575
|
+
var _useState7 = React.useState(0),
|
|
27576
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
27577
|
+
currentIndex = _useState8[0],
|
|
27578
|
+
setCurrentIndex = _useState8[1];
|
|
27579
|
+
var next = function next() {
|
|
27580
|
+
setCurrentIndex(function (prev) {
|
|
27581
|
+
return (prev + 1) % textarray.length;
|
|
27582
|
+
});
|
|
27583
|
+
};
|
|
27584
|
+
var prev = function prev() {
|
|
27585
|
+
setCurrentIndex(function (prev) {
|
|
27586
|
+
return prev === 0 ? textarray.length - 1 : prev - 1;
|
|
27587
|
+
});
|
|
27588
|
+
};
|
|
27589
|
+
React.useEffect(function () {
|
|
27590
|
+
if (!(textarray !== null && textarray !== void 0 && textarray.length)) return;
|
|
27591
|
+
var interval = setInterval(function () {
|
|
27592
|
+
setCurrentIndex(function (prev) {
|
|
27593
|
+
return (prev + 1) % textarray.length;
|
|
27594
|
+
});
|
|
27595
|
+
}, 4000); // change every 3s
|
|
27596
|
+
|
|
27597
|
+
return function () {
|
|
27598
|
+
return clearInterval(interval);
|
|
27599
|
+
};
|
|
27600
|
+
}, [textarray]);
|
|
27575
27601
|
var header_cssstyles = {
|
|
27576
27602
|
textSlider: glamor.css({
|
|
27577
27603
|
fontSize: templateproperties_context.textsliderfontsize + 'px',
|
|
@@ -27585,12 +27611,27 @@
|
|
|
27585
27611
|
background: templateproperties_context.textsliderbgcolor,
|
|
27586
27612
|
paddingTop: templateproperties_context.sliderpaddingvertical + 'px',
|
|
27587
27613
|
paddingBottom: templateproperties_context.sliderpaddingvertical + 'px',
|
|
27588
|
-
|
|
27589
|
-
|
|
27590
|
-
paddingLeft: '200px',
|
|
27591
|
-
paddingRight: '200px'
|
|
27614
|
+
paddingLeft: templateproperties_context.sliderpaddinghorizontal + 'px',
|
|
27615
|
+
paddingRight: templateproperties_context.sliderpaddinghorizontal + 'px'
|
|
27592
27616
|
}
|
|
27593
|
-
}, templateproperties_context.textslidertype == '
|
|
27617
|
+
}, templateproperties_context.textslidertype == 'Fading Text Carousel' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
27618
|
+
className: "text-slider"
|
|
27619
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
27620
|
+
onClick: prev,
|
|
27621
|
+
className: "arrow left allcentered"
|
|
27622
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
|
|
27623
|
+
size: 19
|
|
27624
|
+
})), textarray.map(function (item, index) {
|
|
27625
|
+
return /*#__PURE__*/React__default["default"].createElement("p", {
|
|
27626
|
+
key: index,
|
|
27627
|
+
className: "slide ".concat(index === currentIndex ? 'active' : '') + ' m-0 ' + header_cssstyles.textSlider
|
|
27628
|
+
}, langdetect == 'en' ? item.textEnglish : item.textArabic);
|
|
27629
|
+
}), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
27630
|
+
onClick: next,
|
|
27631
|
+
className: "arrow right allcentered"
|
|
27632
|
+
}, /*#__PURE__*/React__default["default"].createElement(BsChevronRight.BsChevronRight, {
|
|
27633
|
+
size: 19
|
|
27634
|
+
}))), templateproperties_context.textslidertype == 'Slider' &&
|
|
27594
27635
|
/*#__PURE__*/
|
|
27595
27636
|
// <marquee width="100%" direction="left" scrollamount="3" behavior="scroll" class="marquee">
|
|
27596
27637
|
React__default["default"].createElement("div", {
|
|
@@ -59405,7 +59446,7 @@
|
|
|
59405
59446
|
style: {
|
|
59406
59447
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59407
59448
|
}
|
|
59408
|
-
}, langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear))),
|
|
59449
|
+
}, langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear))), sectionproperties.showpolicies == 'Show' && sectionproperties.separatepolicies == 'No' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59409
59450
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
59410
59451
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59411
59452
|
onClick: function onClick() {
|
|
@@ -59416,7 +59457,7 @@
|
|
|
59416
59457
|
style: {
|
|
59417
59458
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59418
59459
|
}
|
|
59419
|
-
}, langdetect == 'en' ? sectionproperties.policiestexten : sectionproperties.policiestextar))),
|
|
59460
|
+
}, langdetect == 'en' ? sectionproperties.policiestexten : sectionproperties.policiestextar))), sectionproperties.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59420
59461
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
59421
59462
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59422
59463
|
onClick: function onClick() {
|
|
@@ -59427,7 +59468,7 @@
|
|
|
59427
59468
|
style: {
|
|
59428
59469
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59429
59470
|
}
|
|
59430
|
-
}, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar))),
|
|
59471
|
+
}, langdetect == 'en' ? (_returnpolicyobj = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj === void 0 ? void 0 : _returnpolicyobj.policypagename_en : (_returnpolicyobj2 = returnpolicyobj('Privacy Policy')) === null || _returnpolicyobj2 === void 0 ? void 0 : _returnpolicyobj2.policypagename_ar))), sectionproperties.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59431
59472
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
59432
59473
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59433
59474
|
onClick: function onClick() {
|
|
@@ -59438,7 +59479,7 @@
|
|
|
59438
59479
|
style: {
|
|
59439
59480
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59440
59481
|
}
|
|
59441
|
-
}, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar))),
|
|
59482
|
+
}, langdetect == 'en' ? (_returnpolicyobj3 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj3 === void 0 ? void 0 : _returnpolicyobj3.policypagename_en : (_returnpolicyobj4 = returnpolicyobj('Shipping Policy')) === null || _returnpolicyobj4 === void 0 ? void 0 : _returnpolicyobj4.policypagename_ar))), sectionproperties.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59442
59483
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
59443
59484
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59444
59485
|
onClick: function onClick() {
|
|
@@ -59449,7 +59490,7 @@
|
|
|
59449
59490
|
style: {
|
|
59450
59491
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
59451
59492
|
}
|
|
59452
|
-
}, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar))),
|
|
59493
|
+
}, langdetect == 'en' ? (_returnpolicyobj5 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj5 === void 0 ? void 0 : _returnpolicyobj5.policypagename_en : (_returnpolicyobj6 = returnpolicyobj('Refund Policy')) === null || _returnpolicyobj6 === void 0 ? void 0 : _returnpolicyobj6.policypagename_ar))), sectionproperties.showpolicies == 'Show' && sectionproperties.separatepolicies == 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59453
59494
|
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex mb-1"
|
|
59454
59495
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
59455
59496
|
onClick: function onClick() {
|
|
@@ -93661,7 +93702,7 @@
|
|
|
93661
93702
|
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; }
|
|
93662
93703
|
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; }
|
|
93663
93704
|
var Simpleproductcard = function Simpleproductcard(props) {
|
|
93664
|
-
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _item$producttags2, _authdetailsContext$
|
|
93705
|
+
var _item$producttags, _authdetailsContext$i3, _item$producttags$, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _item$producttags2, _authdetailsContext$i8, _item$producttags$2, _authdetailsContext$i9;
|
|
93665
93706
|
var _useState = React.useState(''),
|
|
93666
93707
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
93667
93708
|
sectionproperties = _useState2[0],
|
|
@@ -94500,6 +94541,30 @@
|
|
|
94500
94541
|
color: '#000',
|
|
94501
94542
|
fontSize: 13
|
|
94502
94543
|
}
|
|
94544
|
+
}, item.vendorname)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '696b839eebc8c' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
94545
|
+
"class": "col-lg-12 p-0 text-start mb-1"
|
|
94546
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
94547
|
+
style: {
|
|
94548
|
+
width: 40,
|
|
94549
|
+
height: 40,
|
|
94550
|
+
borderRadius: 100,
|
|
94551
|
+
border: '1px solid #ccc'
|
|
94552
|
+
}
|
|
94553
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
94554
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
94555
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
94556
|
+
path: item.vendorlogo,
|
|
94557
|
+
loading: "lazy",
|
|
94558
|
+
style: {
|
|
94559
|
+
width: '100%',
|
|
94560
|
+
height: '100%'
|
|
94561
|
+
}
|
|
94562
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
94563
|
+
"class": "m-0 p-0 px-2",
|
|
94564
|
+
style: {
|
|
94565
|
+
color: '#000',
|
|
94566
|
+
fontSize: 13
|
|
94567
|
+
}
|
|
94503
94568
|
}, item.vendorname)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
94504
94569
|
"class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
|
|
94505
94570
|
style: {
|
|
@@ -94532,7 +94597,7 @@
|
|
|
94532
94597
|
style: {
|
|
94533
94598
|
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
|
|
94534
94599
|
}
|
|
94535
|
-
}, item.name)), (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$
|
|
94600
|
+
}, item.name)), (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$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '684fdf3f9e856' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
94536
94601
|
"class": "allcentered",
|
|
94537
94602
|
style: {
|
|
94538
94603
|
width: '100%',
|
|
@@ -94680,7 +94745,7 @@
|
|
|
94680
94745
|
color: sectionproperties.quantitycolor,
|
|
94681
94746
|
fontWeight: sectionproperties.quantityfontweight
|
|
94682
94747
|
}
|
|
94683
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
94748
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) == '6887802d26765' && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
94684
94749
|
"class": "col-lg-12 p-0 d-flex align-items-center allcentered"
|
|
94685
94750
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
94686
94751
|
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mx-auto mb-2 w-md-70 ',
|
|
@@ -94733,8 +94798,8 @@
|
|
|
94733
94798
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
94734
94799
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
94735
94800
|
onClick: function onClick() {
|
|
94736
|
-
var _authdetailsContext$
|
|
94737
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
94801
|
+
var _authdetailsContext$i0;
|
|
94802
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68527dfef348b') {
|
|
94738
94803
|
// alert(item.path);
|
|
94739
94804
|
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
94740
94805
|
} else if (sectionproperties.showvariantscont == 'Show') {
|