tabexseriescomponents 0.50.192 → 0.50.194
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 +728 -728
- package/dist/index.esm.js +728 -728
- package/dist/index.umd.js +728 -728
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -82876,7 +82876,7 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
|
|
|
82876
82876
|
"class": "".concat(card_cssstyles.outstockbadge) + " allcentered "
|
|
82877
82877
|
}, /*#__PURE__*/React.createElement("p", {
|
|
82878
82878
|
"class": "m-0 p-0"
|
|
82879
|
-
}, sectionproperties
|
|
82879
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar)))), /*#__PURE__*/React.createElement("div", {
|
|
82880
82880
|
"class": "col-lg-12 p-0"
|
|
82881
82881
|
}, sectionproperties.prodNameShow == "Show" && /*#__PURE__*/React.createElement("div", {
|
|
82882
82882
|
"class": "row m-0 w-100 align-items-center justify-content-center text-center mb-2"
|
|
@@ -85160,7 +85160,7 @@ var Card23 = function Card23(props) {
|
|
|
85160
85160
|
"class": "".concat(cardsstyles2.outstockbadge) + ' allcentered '
|
|
85161
85161
|
}, /*#__PURE__*/React.createElement("p", {
|
|
85162
85162
|
"class": "m-0 p-0"
|
|
85163
|
-
}, sectionproperties
|
|
85163
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar)));
|
|
85164
85164
|
};
|
|
85165
85165
|
var _useState9 = useState(''),
|
|
85166
85166
|
_useState0 = _slicedToArray(_useState9, 2),
|
|
@@ -85792,7 +85792,7 @@ styleInject(css_248z$c);
|
|
|
85792
85792
|
function ownKeys$w(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; }
|
|
85793
85793
|
function _objectSpread$w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$w(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
85794
85794
|
var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(props) {
|
|
85795
|
-
var _useState = useState(
|
|
85795
|
+
var _useState = useState(''),
|
|
85796
85796
|
_useState2 = _slicedToArray(_useState, 2),
|
|
85797
85797
|
sectionproperties = _useState2[0],
|
|
85798
85798
|
setsectionproperties = _useState2[1];
|
|
@@ -85814,7 +85814,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
85814
85814
|
var NotificationManager = props.actions.NotificationManager;
|
|
85815
85815
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
85816
85816
|
useEffect(function () {
|
|
85817
|
-
if (props.srcfrom ==
|
|
85817
|
+
if (props.srcfrom == 'addsectionform') {
|
|
85818
85818
|
var secpropobj = {};
|
|
85819
85819
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
85820
85820
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
@@ -85838,9 +85838,9 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
85838
85838
|
var updatequantity = function updatequantity(type) {
|
|
85839
85839
|
var tempitem = _objectSpread$w({}, item);
|
|
85840
85840
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
85841
|
-
if (type ==
|
|
85841
|
+
if (type == 'add') {
|
|
85842
85842
|
tempitem.quantity = tempitem.quantity + 1;
|
|
85843
|
-
} else if (type ==
|
|
85843
|
+
} else if (type == 'remove') {
|
|
85844
85844
|
tempitem.quantity = tempitem.quantity - 1;
|
|
85845
85845
|
}
|
|
85846
85846
|
if (tempitem.quantity <= 0) {
|
|
@@ -85850,9 +85850,9 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
85850
85850
|
};
|
|
85851
85851
|
var addtocartfunc = function addtocartfunc() {
|
|
85852
85852
|
var addtocardpayloadobj = {
|
|
85853
|
-
functype:
|
|
85853
|
+
functype: 'add',
|
|
85854
85854
|
productid: item.productid,
|
|
85855
|
-
variantid:
|
|
85855
|
+
variantid: '',
|
|
85856
85856
|
quantity: item.quantity,
|
|
85857
85857
|
vendorid: item.vendorid
|
|
85858
85858
|
};
|
|
@@ -85862,19 +85862,19 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
85862
85862
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
85863
85863
|
runfunc = true;
|
|
85864
85864
|
} else {
|
|
85865
|
-
NotificationManager.warning(
|
|
85865
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
|
|
85866
85866
|
}
|
|
85867
85867
|
} else {
|
|
85868
85868
|
runfunc = true;
|
|
85869
85869
|
}
|
|
85870
85870
|
} else {
|
|
85871
|
-
NotificationManager.warning(
|
|
85871
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
|
|
85872
85872
|
}
|
|
85873
85873
|
if (runfunc == true) {
|
|
85874
85874
|
AddtoCartContext(addtocardpayloadobj);
|
|
85875
85875
|
}
|
|
85876
85876
|
};
|
|
85877
|
-
var _useState5 = useState(
|
|
85877
|
+
var _useState5 = useState(''),
|
|
85878
85878
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
85879
85879
|
secondimage = _useState6[0],
|
|
85880
85880
|
setsecondimage = _useState6[1];
|
|
@@ -85906,35 +85906,35 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
85906
85906
|
}, [props.cardinfoitemprops]);
|
|
85907
85907
|
var Image = function Image(type) {
|
|
85908
85908
|
var transition = false;
|
|
85909
|
-
if (sectionproperties.hideshowcardtransition ==
|
|
85909
|
+
if (sectionproperties.hideshowcardtransition == 'Show' && type != 'responsive') {
|
|
85910
85910
|
transition = true;
|
|
85911
85911
|
}
|
|
85912
85912
|
return /*#__PURE__*/React.createElement("div", {
|
|
85913
85913
|
"class": "w-100 cursor-pointer h-100",
|
|
85914
85914
|
style: {
|
|
85915
|
-
position:
|
|
85915
|
+
position: 'relative'
|
|
85916
85916
|
}
|
|
85917
85917
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
85918
|
-
"class": transition ? cardsstyles$4.intialimage :
|
|
85918
|
+
"class": transition ? cardsstyles$4.intialimage : '',
|
|
85919
85919
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
85920
85920
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
85921
|
-
path:
|
|
85921
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
85922
85922
|
loading: "lazy",
|
|
85923
85923
|
style: {
|
|
85924
|
-
width:
|
|
85925
|
-
height:
|
|
85926
|
-
objectFit: sectionproperties.bgcovercontain ==
|
|
85924
|
+
width: '100%',
|
|
85925
|
+
height: '100%',
|
|
85926
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
85927
85927
|
}
|
|
85928
85928
|
}), transition && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
85929
85929
|
"class": cardsstyles$4.secondaryimage,
|
|
85930
85930
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
85931
85931
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
85932
|
-
path:
|
|
85932
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + secondimage,
|
|
85933
85933
|
loading: "lazy",
|
|
85934
85934
|
style: {
|
|
85935
|
-
width:
|
|
85936
|
-
height:
|
|
85937
|
-
objectFit: sectionproperties.bgcovercontain ==
|
|
85935
|
+
width: '100%',
|
|
85936
|
+
height: '100%',
|
|
85937
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
85938
85938
|
}
|
|
85939
85939
|
}));
|
|
85940
85940
|
};
|
|
@@ -85944,171 +85944,171 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
85944
85944
|
_useState8[1];
|
|
85945
85945
|
var cardsstyles2 = {
|
|
85946
85946
|
productcard: css({
|
|
85947
|
-
background: sectionproperties.backgroundColortransparent ==
|
|
85947
|
+
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
85948
85948
|
opacity: sectionproperties.cardbg_opacity,
|
|
85949
|
-
borderBottomLeftRadius: langdetect !=
|
|
85950
|
-
borderBottomRightRadius: langdetect !=
|
|
85951
|
-
borderTopLeftRadius: langdetect !=
|
|
85952
|
-
borderTopRightRadius: langdetect !=
|
|
85953
|
-
paddingTop: sectionproperties.paddingTop +
|
|
85954
|
-
paddingBottom: sectionproperties.paddingBottom +
|
|
85955
|
-
paddingLeft: langdetect !=
|
|
85956
|
-
paddingRight: langdetect !=
|
|
85957
|
-
boxShadow: sectionproperties.sectioncardshadow ==
|
|
85958
|
-
border: sectionproperties.sectioncardborderwidth +
|
|
85959
|
-
transition:
|
|
85960
|
-
|
|
85949
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
85950
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
85951
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
85952
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
85953
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
85954
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
85955
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
85956
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
85957
|
+
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
85958
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
85959
|
+
transition: '.3s',
|
|
85960
|
+
':hover': {
|
|
85961
85961
|
// zIndex: 1000,
|
|
85962
85962
|
}
|
|
85963
85963
|
}),
|
|
85964
85964
|
productNameStyles: css({
|
|
85965
85965
|
color: sectionproperties.prodNameColor,
|
|
85966
|
-
fontSize: sectionproperties.prodNameFontSize +
|
|
85966
|
+
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
85967
85967
|
textTransform: sectionproperties.prodNameTextTranform,
|
|
85968
85968
|
fontWeight: sectionproperties.prodNameFontWeight,
|
|
85969
|
-
transition:
|
|
85970
|
-
cursor:
|
|
85971
|
-
|
|
85969
|
+
transition: '.3s',
|
|
85970
|
+
cursor: 'pointer',
|
|
85971
|
+
':hover': {
|
|
85972
85972
|
color: sectionproperties.prodNameColorOnHover
|
|
85973
85973
|
}
|
|
85974
85974
|
}),
|
|
85975
85975
|
productDescStyles: css({
|
|
85976
85976
|
color: sectionproperties.prodCatColor,
|
|
85977
|
-
fontSize: sectionproperties.prodCatFontSize +
|
|
85977
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
85978
85978
|
textTransform: sectionproperties.prodCatTextTranform,
|
|
85979
85979
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
85980
|
-
transition:
|
|
85980
|
+
transition: '.3s'
|
|
85981
85981
|
}),
|
|
85982
85982
|
productPricestyles: css({
|
|
85983
85983
|
color: sectionproperties.prodPriceColor,
|
|
85984
|
-
fontSize: sectionproperties.prodpriceFontSize +
|
|
85984
|
+
fontSize: sectionproperties.prodpriceFontSize + 'px',
|
|
85985
85985
|
fontWeight: sectionproperties.prodPriceFontWeight
|
|
85986
85986
|
}),
|
|
85987
85987
|
productSalePricestyles: css({
|
|
85988
85988
|
color: sectionproperties.prodsalePriceColor,
|
|
85989
|
-
fontSize: sectionproperties.prodsalepriceFontSize +
|
|
85989
|
+
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
85990
85990
|
fontWeight: sectionproperties.prodsalePriceFontWeight
|
|
85991
85991
|
}),
|
|
85992
85992
|
producttotalstyles: css({
|
|
85993
85993
|
color: sectionproperties.total_color,
|
|
85994
|
-
fontSize: sectionproperties.total_fontsize +
|
|
85994
|
+
fontSize: sectionproperties.total_fontsize + 'px',
|
|
85995
85995
|
fontWeight: 500
|
|
85996
85996
|
}),
|
|
85997
85997
|
wishlist_btn: css({
|
|
85998
|
-
width: sectionproperties.favBtnWidth +
|
|
85999
|
-
height: sectionproperties.favBtnHeight +
|
|
86000
|
-
background: sectionproperties.favbtn_bgtransparent ==
|
|
86001
|
-
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius +
|
|
85998
|
+
width: sectionproperties.favBtnWidth + 'px',
|
|
85999
|
+
height: sectionproperties.favBtnHeight + 'px',
|
|
86000
|
+
background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
|
|
86001
|
+
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
|
|
86002
86002
|
color: sectionproperties.favBtniconcolor,
|
|
86003
|
-
fontSize: sectionproperties.favBtnTextfontsize +
|
|
86003
|
+
fontSize: sectionproperties.favBtnTextfontsize + 'px',
|
|
86004
86004
|
fontWeight: sectionproperties.favBtnTextfontweight,
|
|
86005
|
-
transition:
|
|
86006
|
-
border: sectionproperties.favbtnborderwidth +
|
|
86007
|
-
|
|
86008
|
-
background: sectionproperties.favbtn_transparentbgcoloronhover ==
|
|
86005
|
+
transition: '.3s',
|
|
86006
|
+
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
86007
|
+
':hover': {
|
|
86008
|
+
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
86009
86009
|
color: sectionproperties.favBtnTextcoloronhover
|
|
86010
86010
|
}
|
|
86011
86011
|
}),
|
|
86012
86012
|
cart_btn: css({
|
|
86013
|
-
width: sectionproperties.cartBtnWidth +
|
|
86014
|
-
height: sectionproperties.cartBtnHeight +
|
|
86015
|
-
background: sectionproperties.cartbtn_bgtransparent ==
|
|
86016
|
-
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius +
|
|
86013
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
86014
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
86015
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
86016
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
86017
86017
|
color: sectionproperties.cartBtnTextcolor,
|
|
86018
|
-
fontSize: sectionproperties.cartBtnTextfontsize +
|
|
86018
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
86019
86019
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
86020
|
-
border: sectionproperties.cartbtnborderwidth +
|
|
86021
|
-
transition:
|
|
86022
|
-
|
|
86023
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
86020
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
86021
|
+
transition: '.3s',
|
|
86022
|
+
':hover': {
|
|
86023
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
86024
86024
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
86025
86025
|
}
|
|
86026
86026
|
}),
|
|
86027
86027
|
img_container: css({
|
|
86028
|
-
position:
|
|
86029
|
-
height: sectionproperties.image_height +
|
|
86030
|
-
border: sectionproperties.image_borderwidth +
|
|
86031
|
-
borderBottomLeftRadius: langdetect !=
|
|
86032
|
-
borderBottomRightRadius: langdetect !=
|
|
86033
|
-
borderTopLeftRadius: langdetect !=
|
|
86034
|
-
borderTopRightRadius: langdetect !=
|
|
86035
|
-
background: sectionproperties.image_bgtransparent ==
|
|
86036
|
-
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
86037
|
-
|
|
86038
|
-
height: sectionproperties.height_responsive +
|
|
86028
|
+
position: 'relative',
|
|
86029
|
+
height: sectionproperties.image_height + 'px',
|
|
86030
|
+
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
86031
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
86032
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
86033
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
86034
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
86035
|
+
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
|
|
86036
|
+
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' ? 0.4 : 1,
|
|
86037
|
+
'@media (max-width: 800px)': {
|
|
86038
|
+
height: sectionproperties.height_responsive + 'px'
|
|
86039
86039
|
}
|
|
86040
86040
|
}),
|
|
86041
86041
|
quantitybtn: css({
|
|
86042
86042
|
flex: 1,
|
|
86043
|
-
border: sectionproperties.quantitybtnborderwidth +
|
|
86044
|
-
height: sectionproperties.quantitybtn_height +
|
|
86045
|
-
display:
|
|
86046
|
-
flexDirection:
|
|
86047
|
-
overflow:
|
|
86048
|
-
borderRadius: sectionproperties.quantitybtn_borderradius +
|
|
86043
|
+
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
86044
|
+
height: sectionproperties.quantitybtn_height + 'px',
|
|
86045
|
+
display: 'flex',
|
|
86046
|
+
flexDirection: 'row',
|
|
86047
|
+
overflow: 'hidden',
|
|
86048
|
+
borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
|
|
86049
86049
|
background: sectionproperties.quantitybtn_bgcolor,
|
|
86050
|
-
alignItems:
|
|
86051
|
-
justifyContent:
|
|
86050
|
+
alignItems: 'center',
|
|
86051
|
+
justifyContent: 'center',
|
|
86052
86052
|
margin: 0,
|
|
86053
|
-
position:
|
|
86053
|
+
position: 'relative',
|
|
86054
86054
|
fontWeight: sectionproperties.quantitybtn_textfontweight,
|
|
86055
86055
|
color: sectionproperties.quantitybtn_textcolor,
|
|
86056
|
-
fontSize: sectionproperties.quantitybtn_textfontsize +
|
|
86057
|
-
|
|
86058
|
-
width:
|
|
86056
|
+
fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
|
|
86057
|
+
'@media (max-width: 800px)': {
|
|
86058
|
+
width: '100%'
|
|
86059
86059
|
}
|
|
86060
86060
|
}),
|
|
86061
86061
|
quantitybtn_text: css({
|
|
86062
|
-
margin:
|
|
86062
|
+
margin: 'auto'
|
|
86063
86063
|
}),
|
|
86064
86064
|
add_quantitybtn_icon_container: css({
|
|
86065
|
-
position:
|
|
86066
|
-
width: sectionproperties.add_quantitybtn_width +
|
|
86067
|
-
height: sectionproperties.add_quantitybtn_height +
|
|
86065
|
+
position: 'relative',
|
|
86066
|
+
width: sectionproperties.add_quantitybtn_width + 'px',
|
|
86067
|
+
height: sectionproperties.add_quantitybtn_height + 'px',
|
|
86068
86068
|
background: sectionproperties.add_quantitybtn_bgcolor,
|
|
86069
|
-
display:
|
|
86070
|
-
alignItems:
|
|
86071
|
-
justifyContent:
|
|
86072
|
-
borderRadius: sectionproperties.add_quantitybtn_borderradius +
|
|
86073
|
-
fontSize: sectionproperties.add_quantitybtn_textfontsize +
|
|
86069
|
+
display: 'flex',
|
|
86070
|
+
alignItems: 'center',
|
|
86071
|
+
justifyContent: 'center',
|
|
86072
|
+
borderRadius: sectionproperties.add_quantitybtn_borderradius + 'px',
|
|
86073
|
+
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
|
|
86074
86074
|
color: sectionproperties.add_quantitybtn_textcolor,
|
|
86075
|
-
transition:
|
|
86076
|
-
|
|
86075
|
+
transition: '.3s',
|
|
86076
|
+
':hover': {
|
|
86077
86077
|
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
86078
86078
|
background: sectionproperties.add_quantitybtn_bgcoloronhover
|
|
86079
86079
|
}
|
|
86080
86080
|
}),
|
|
86081
86081
|
minus_quantitybtn_icon_container: css({
|
|
86082
|
-
position:
|
|
86083
|
-
width: sectionproperties.remove_quantitybtn_width +
|
|
86084
|
-
height: sectionproperties.remove_quantitybtn_height +
|
|
86082
|
+
position: 'relative',
|
|
86083
|
+
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
86084
|
+
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
86085
86085
|
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
86086
|
-
display:
|
|
86087
|
-
alignItems:
|
|
86088
|
-
justifyContent:
|
|
86089
|
-
borderRadius: sectionproperties.remove_quantitybtn_borderradius +
|
|
86090
|
-
fontSize: sectionproperties.remove_quantitybtn_textfontsize +
|
|
86086
|
+
display: 'flex',
|
|
86087
|
+
alignItems: 'center',
|
|
86088
|
+
justifyContent: 'center',
|
|
86089
|
+
borderRadius: sectionproperties.remove_quantitybtn_borderradius + 'px',
|
|
86090
|
+
fontSize: sectionproperties.remove_quantitybtn_textfontsize + '25px',
|
|
86091
86091
|
color: sectionproperties.remove_quantitybtn_textcolor,
|
|
86092
|
-
transition:
|
|
86093
|
-
|
|
86092
|
+
transition: '.3s',
|
|
86093
|
+
':hover': {
|
|
86094
86094
|
color: sectionproperties.remove_quantitybtn_textcoloronhover,
|
|
86095
86095
|
background: sectionproperties.remove_quantitybtn_bgcoloronhover
|
|
86096
86096
|
}
|
|
86097
86097
|
}),
|
|
86098
86098
|
outstockbadge: css({
|
|
86099
|
-
width: sectionproperties.outstock_width +
|
|
86100
|
-
height: sectionproperties.outstock_height +
|
|
86099
|
+
width: sectionproperties.outstock_width + 'px',
|
|
86100
|
+
height: sectionproperties.outstock_height + 'px',
|
|
86101
86101
|
background: sectionproperties.outstock_bg,
|
|
86102
86102
|
color: sectionproperties.outstock_color,
|
|
86103
|
-
fontSize: sectionproperties.outstock_fontSize +
|
|
86104
|
-
borderRadius: sectionproperties.outstock_borderradius +
|
|
86105
|
-
position:
|
|
86103
|
+
fontSize: sectionproperties.outstock_fontSize + 'px',
|
|
86104
|
+
borderRadius: sectionproperties.outstock_borderradius + 'px',
|
|
86105
|
+
position: 'absolute',
|
|
86106
86106
|
zIndex: 2,
|
|
86107
86107
|
top: 0,
|
|
86108
86108
|
bottom: 0,
|
|
86109
86109
|
left: 0,
|
|
86110
86110
|
right: 0,
|
|
86111
|
-
margin:
|
|
86111
|
+
margin: 'auto'
|
|
86112
86112
|
})
|
|
86113
86113
|
};
|
|
86114
86114
|
var addtocartbuttonrender = function addtocartbuttonrender() {
|
|
@@ -86116,7 +86116,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
86116
86116
|
var _AddtoCartMutationCon;
|
|
86117
86117
|
if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 || (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
|
|
86118
86118
|
return /*#__PURE__*/React.createElement("div", {
|
|
86119
|
-
"class":
|
|
86119
|
+
"class": ' d-flex align-items-center justify-content-center '
|
|
86120
86120
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
86121
86121
|
color: sectionproperties.cartBtnTextcolor,
|
|
86122
86122
|
width: "20px",
|
|
@@ -86127,163 +86127,163 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
86127
86127
|
return /*#__PURE__*/React.createElement("span", {
|
|
86128
86128
|
"class": "w-100 allcentered"
|
|
86129
86129
|
}, /*#__PURE__*/React.createElement("i", {
|
|
86130
|
-
"class": langdetect !=
|
|
86131
|
-
}, sectionproperties.carticonstyle ==
|
|
86130
|
+
"class": langdetect != 'ar' ? 'h-100 mr-2 d-flex align-items-center justify-content-center' : 'h-100 ml-2 d-flex align-items-center justify-content-center'
|
|
86131
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
86132
86132
|
"class": "",
|
|
86133
86133
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86134
|
-
}), sectionproperties.carticonstyle ==
|
|
86134
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
|
|
86135
86135
|
"class": "",
|
|
86136
86136
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86137
|
-
}), sectionproperties.carticonstyle ==
|
|
86137
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
|
|
86138
86138
|
"class": "",
|
|
86139
86139
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86140
|
-
}), sectionproperties.carticonstyle ==
|
|
86140
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
|
|
86141
86141
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86142
|
-
}), sectionproperties.carticonstyle ==
|
|
86142
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
86143
86143
|
"class": "",
|
|
86144
86144
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86145
|
-
}), sectionproperties.carticonstyle ==
|
|
86145
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
86146
86146
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86147
|
-
})), langdetect ===
|
|
86147
|
+
})), langdetect === 'ar' ? sectionproperties.cartBtnContentarabic : langdetect === 'chin' ? sectionproperties.cartBtnContentchin : langdetect === 'es' ? sectionproperties.cartBtnContentspanish : langdetect === 'fr' ? sectionproperties.cartBtnContentfrench : langdetect === 'rus' ? sectionproperties.cartBtnContentrussian : sectionproperties.cartBtnContentenglish);
|
|
86148
86148
|
}
|
|
86149
86149
|
}
|
|
86150
86150
|
if (!AddtoCartMutationContext.isLoading) {
|
|
86151
86151
|
return /*#__PURE__*/React.createElement("span", {
|
|
86152
86152
|
"class": "w-100 allcentered"
|
|
86153
86153
|
}, /*#__PURE__*/React.createElement("i", {
|
|
86154
|
-
"class": langdetect !=
|
|
86155
|
-
}, sectionproperties.carticonstyle ==
|
|
86154
|
+
"class": langdetect != 'ar' ? 'h-100 mr-2 d-flex align-items-center justify-content-center' : 'h-100 ml-2 d-flex align-items-center justify-content-center'
|
|
86155
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
86156
86156
|
"class": "",
|
|
86157
86157
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86158
|
-
}), sectionproperties.carticonstyle ==
|
|
86158
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
|
|
86159
86159
|
"class": "",
|
|
86160
86160
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86161
|
-
}), sectionproperties.carticonstyle ==
|
|
86161
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
|
|
86162
86162
|
"class": "",
|
|
86163
86163
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86164
|
-
}), sectionproperties.carticonstyle ==
|
|
86164
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
|
|
86165
86165
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86166
|
-
}), sectionproperties.carticonstyle ==
|
|
86166
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
86167
86167
|
"class": "",
|
|
86168
86168
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86169
|
-
}), sectionproperties.carticonstyle ==
|
|
86169
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
86170
86170
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86171
|
-
})), langdetect ===
|
|
86171
|
+
})), langdetect === 'ar' ? sectionproperties.cartBtnContentarabic : langdetect === 'chin' ? sectionproperties.cartBtnContentchin : langdetect === 'es' ? sectionproperties.cartBtnContentspanish : langdetect === 'fr' ? sectionproperties.cartBtnContentfrench : langdetect === 'rus' ? sectionproperties.cartBtnContentrussian : sectionproperties.cartBtnContentenglish);
|
|
86172
86172
|
}
|
|
86173
86173
|
};
|
|
86174
86174
|
return /*#__PURE__*/React.createElement("div", {
|
|
86175
86175
|
"class": "row ml-0 mr-0 w-100 mb-sm-5",
|
|
86176
86176
|
style: {
|
|
86177
|
-
paddingLeft: langdetect !=
|
|
86178
|
-
paddingRight: langdetect !=
|
|
86179
|
-
marginBottom: sectionproperties.marginBottom +
|
|
86180
|
-
minHeight:
|
|
86177
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
86178
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
86179
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
86180
|
+
minHeight: '370px'
|
|
86181
86181
|
}
|
|
86182
86182
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
86183
|
-
"class": "".concat(cardsstyles$4.productcard, " ").concat(cardsstyles2.productcard) +
|
|
86183
|
+
"class": "".concat(cardsstyles$4.productcard, " ").concat(cardsstyles2.productcard) + ' w-100 '
|
|
86184
86184
|
}, /*#__PURE__*/React.createElement("div", {
|
|
86185
86185
|
"class": "".concat(cardsstyles$4.card_inner)
|
|
86186
86186
|
}, /*#__PURE__*/React.createElement("div", {
|
|
86187
86187
|
"class": "".concat(cardsstyles$4.card_thumbnail),
|
|
86188
86188
|
style: {
|
|
86189
|
-
position:
|
|
86189
|
+
position: 'relative'
|
|
86190
86190
|
}
|
|
86191
86191
|
}, /*#__PURE__*/React.createElement("div", {
|
|
86192
|
-
"class": "".concat(cardsstyles$4.img_container, " ").concat(cardsstyles2.img_container) +
|
|
86192
|
+
"class": "".concat(cardsstyles$4.img_container, " ").concat(cardsstyles2.img_container) + ' w-100 allcentered ',
|
|
86193
86193
|
onClick: function onClick() {
|
|
86194
86194
|
setShowProductInfoModalContext(true);
|
|
86195
86195
|
setProductIdProdutInfoModalContext(item.productid);
|
|
86196
86196
|
},
|
|
86197
86197
|
style: {
|
|
86198
|
-
cursor:
|
|
86199
|
-
overflow:
|
|
86198
|
+
cursor: 'pointer',
|
|
86199
|
+
overflow: 'hidden'
|
|
86200
86200
|
}
|
|
86201
|
-
}, Image(
|
|
86201
|
+
}, Image('normal')), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
86202
86202
|
"class": "".concat(cardsstyles$4.wishlistbtn),
|
|
86203
86203
|
onClick: function onClick() {
|
|
86204
86204
|
addtofavoritescontext(item.productid);
|
|
86205
86205
|
}
|
|
86206
86206
|
}, /*#__PURE__*/React.createElement("button", {
|
|
86207
|
-
"class": " ".concat(cardsstyles2.wishlist_btn) +
|
|
86207
|
+
"class": " ".concat(cardsstyles2.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
86208
86208
|
style: {
|
|
86209
|
-
position:
|
|
86209
|
+
position: 'absolute',
|
|
86210
86210
|
top: 10,
|
|
86211
86211
|
right: 10,
|
|
86212
|
-
background: item.IsFavExists == true ? sectionproperties.activebgcolor :
|
|
86212
|
+
background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
86213
86213
|
}
|
|
86214
86214
|
}, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
86215
86215
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
86216
|
-
}, sectionproperties.faviconshape ==
|
|
86216
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar$1, {
|
|
86217
86217
|
size: sectionproperties.favBtnIconfontsize,
|
|
86218
86218
|
style: {
|
|
86219
86219
|
color: sectionproperties.activefaviconcolor
|
|
86220
86220
|
}
|
|
86221
|
-
}), sectionproperties.faviconshape ==
|
|
86221
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart$1, {
|
|
86222
86222
|
size: sectionproperties.favBtnIconfontsize,
|
|
86223
86223
|
style: {
|
|
86224
86224
|
color: sectionproperties.activefaviconcolor
|
|
86225
86225
|
}
|
|
86226
86226
|
})), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
86227
86227
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
86228
|
-
}, sectionproperties.faviconshape ==
|
|
86228
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
|
|
86229
86229
|
size: sectionproperties.favBtnIconfontsize
|
|
86230
|
-
}), sectionproperties.faviconshape ==
|
|
86230
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
86231
86231
|
size: sectionproperties.favBtnIconfontsize
|
|
86232
|
-
})))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow ==
|
|
86232
|
+
})))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == 'Show' && sectionproperties.showbadge == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
86233
86233
|
"class": "allcentered",
|
|
86234
86234
|
style: {
|
|
86235
|
-
position:
|
|
86235
|
+
position: 'absolute',
|
|
86236
86236
|
top: 10,
|
|
86237
86237
|
left: 10,
|
|
86238
|
-
width: sectionproperties.badge_width +
|
|
86239
|
-
height: sectionproperties.badge_height +
|
|
86238
|
+
width: sectionproperties.badge_width + 'px',
|
|
86239
|
+
height: sectionproperties.badge_height + 'px',
|
|
86240
86240
|
background: sectionproperties.badge_bgcolor,
|
|
86241
|
-
borderRadius: sectionproperties.badge_borderradius +
|
|
86241
|
+
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
86242
86242
|
}
|
|
86243
86243
|
}, /*#__PURE__*/React.createElement("p", {
|
|
86244
86244
|
"class": "m-0 p-0",
|
|
86245
86245
|
style: {
|
|
86246
86246
|
color: sectionproperties.badge_color,
|
|
86247
|
-
fontSize: sectionproperties.badge_fontsize +
|
|
86247
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
86248
86248
|
}
|
|
86249
|
-
}, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill ==
|
|
86249
|
+
}, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
86250
86250
|
style: {
|
|
86251
|
-
position:
|
|
86252
|
-
top: sectionproperties.pillpositionfromtop +
|
|
86253
|
-
left: sectionproperties.pillpositionfromright +
|
|
86251
|
+
position: 'absolute',
|
|
86252
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
86253
|
+
left: sectionproperties.pillpositionfromright + 'px',
|
|
86254
86254
|
// right: langdetect != 'ar' ? '' : sectionproperties.pillpositionfromright + 'px',
|
|
86255
86255
|
zIndex: 3
|
|
86256
86256
|
}
|
|
86257
86257
|
}, /*#__PURE__*/React.createElement("div", {
|
|
86258
|
-
"class": sectionproperties.pillwidth == 0 ?
|
|
86258
|
+
"class": sectionproperties.pillwidth == 0 ? ' px-2 allcentered' : 'allcentered',
|
|
86259
86259
|
style: {
|
|
86260
86260
|
zIndex: 2,
|
|
86261
|
-
width: sectionproperties.pillwidth == 0 ?
|
|
86262
|
-
height: sectionproperties.pillheight +
|
|
86261
|
+
width: sectionproperties.pillwidth == 0 ? 'auto' : sectionproperties.pillwidth + 'px',
|
|
86262
|
+
height: sectionproperties.pillheight + 'px',
|
|
86263
86263
|
background: sectionproperties.pillbgcolor,
|
|
86264
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius +
|
|
86264
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
86265
86265
|
}
|
|
86266
|
-
}, sectionproperties.countertype ==
|
|
86266
|
+
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React.createElement("p", {
|
|
86267
86267
|
"class": "m-0 p-0",
|
|
86268
86268
|
style: {
|
|
86269
86269
|
color: sectionproperties.pillcolor,
|
|
86270
|
-
fontSize: sectionproperties.pillfontSize +
|
|
86271
|
-
direction:
|
|
86270
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
86271
|
+
direction: 'ltr'
|
|
86272
86272
|
}
|
|
86273
|
-
},
|
|
86273
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React.createElement("p", {
|
|
86274
86274
|
"class": "m-0 p-0 text-uppercase",
|
|
86275
86275
|
style: {
|
|
86276
86276
|
color: sectionproperties.pillcolor,
|
|
86277
|
-
fontSize: sectionproperties.pillfontSize +
|
|
86278
|
-
direction:
|
|
86277
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
86278
|
+
direction: 'ltr'
|
|
86279
86279
|
}
|
|
86280
|
-
}, langdetect ===
|
|
86281
|
-
"class": "".concat(cardsstyles2.outstockbadge) +
|
|
86280
|
+
}, langdetect === 'ar' ? 'وفّر' : langdetect === 'chin' ? '保存' : langdetect === 'es' ? 'Guardar' : langdetect === 'fr' ? 'Enregistrer' : langdetect === 'rus' ? 'Сохранить' : 'Save', ' ', langdetect != 'ar' ? item.currencyname : '', " ", parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), ' ', langdetect != 'ar' ? '' : item.currencyname))), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && /*#__PURE__*/React.createElement("div", {
|
|
86281
|
+
"class": "".concat(cardsstyles2.outstockbadge) + ' allcentered '
|
|
86282
86282
|
}, /*#__PURE__*/React.createElement("p", {
|
|
86283
86283
|
"class": "m-0 p-0"
|
|
86284
|
-
}, sectionproperties
|
|
86285
|
-
"class": "".concat(cardsstyles$4.product_details) +
|
|
86286
|
-
}, sectionproperties.quantityshow ==
|
|
86284
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar))), /*#__PURE__*/React.createElement("div", {
|
|
86285
|
+
"class": "".concat(cardsstyles$4.product_details) + ' mb-2 '
|
|
86286
|
+
}, sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
86287
86287
|
"class": "col-lg-12 p-0 allcentered"
|
|
86288
86288
|
}, /*#__PURE__*/React.createElement("p", {
|
|
86289
86289
|
"class": "m-0 p-0",
|
|
@@ -86292,52 +86292,52 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
86292
86292
|
color: sectionproperties.quantitycolor,
|
|
86293
86293
|
fontWeight: sectionproperties.quantityfontweight
|
|
86294
86294
|
}
|
|
86295
|
-
}, sectionproperties["qtytextin".concat(langdetect)] || sectionproperties.qtytextinen, ": ", item.currentquantity)), sectionproperties.prodNameShow ==
|
|
86295
|
+
}, sectionproperties["qtytextin".concat(langdetect)] || sectionproperties.qtytextinen, ": ", item.currentquantity)), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
86296
86296
|
"class": "col-lg-12"
|
|
86297
86297
|
}, /*#__PURE__*/React.createElement("p", {
|
|
86298
86298
|
onClick: function onClick() {
|
|
86299
86299
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
86300
86300
|
},
|
|
86301
|
-
"class": sectionproperties.wordbreak ==
|
|
86301
|
+
"class": sectionproperties.wordbreak == '1' ? "".concat(cardsstyles2.productNameStyles) + ' m-0 p-0 wordbreak wordbreak1 ' : "".concat(cardsstyles2.productNameStyles) + ' m-0 p-0 wordbreak wordbreak2 ',
|
|
86302
86302
|
style: {
|
|
86303
|
-
textAlign: langdetect !=
|
|
86303
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
86304
86304
|
}
|
|
86305
|
-
}, item.name)), sectionproperties.showmeasurementunit ==
|
|
86306
|
-
"class":
|
|
86305
|
+
}, item.name)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
86306
|
+
"class": ' col-lg-12 wordbreak wordbreak1 mb-2 ',
|
|
86307
86307
|
style: {
|
|
86308
|
-
textAlign: langdetect !=
|
|
86309
|
-
fontSize: sectionproperties.measurementunitfontsize +
|
|
86308
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
86309
|
+
fontSize: sectionproperties.measurementunitfontsize + 'px',
|
|
86310
86310
|
color: sectionproperties.measurementunitcolor
|
|
86311
86311
|
}
|
|
86312
86312
|
}, item.measurmentunit), /*#__PURE__*/React.createElement("div", {
|
|
86313
86313
|
"class": "col-lg-12 d-flex align-items-center flex-md-column justify-content-start"
|
|
86314
|
-
}, sectionproperties.prodPriceShow ==
|
|
86315
|
-
"class": "".concat(cardsstyles2.productPricestyles) +
|
|
86314
|
+
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
86315
|
+
"class": "".concat(cardsstyles2.productPricestyles) + ' m-0 p-0 wordbreak w-md-100 ',
|
|
86316
86316
|
style: {
|
|
86317
|
-
textAlign: langdetect !=
|
|
86317
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
86318
86318
|
}
|
|
86319
|
-
}, langdetect !=
|
|
86320
|
-
"class": "".concat(cardsstyles2.productSalePricestyles) +
|
|
86319
|
+
}, langdetect != 'ar' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != 'ar' ? '' : item.currencyname), /*#__PURE__*/React.createElement("p", {
|
|
86320
|
+
"class": "".concat(cardsstyles2.productSalePricestyles) + ' linethrough mt-auto mb-0 p-0 wordbreak mr-1 ml-1 w-md-100 ml-md-0 mr-md-0 ',
|
|
86321
86321
|
style: {
|
|
86322
|
-
textAlign: langdetect !=
|
|
86323
|
-
visibility: item.hassale == 1 ?
|
|
86322
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
86323
|
+
visibility: item.hassale == 1 ? 'visible' : 'hidden'
|
|
86324
86324
|
}
|
|
86325
|
-
}, langdetect !=
|
|
86325
|
+
}, langdetect != 'ar' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect != 'ar' ? '' : item.currencyname))), /*#__PURE__*/React.createElement("div", {
|
|
86326
86326
|
"class": "".concat(cardsstyles$4.card_informationcontainer)
|
|
86327
86327
|
}, /*#__PURE__*/React.createElement("div", {
|
|
86328
86328
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
86329
86329
|
}, /*#__PURE__*/React.createElement("button", {
|
|
86330
|
-
"class": "".concat(cardsstyles2.quantitybtn) +
|
|
86331
|
-
}, langdetect !=
|
|
86332
|
-
"class": "".concat(cardsstyles2.minus_quantitybtn_icon_container) +
|
|
86330
|
+
"class": "".concat(cardsstyles2.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
|
|
86331
|
+
}, langdetect != 'ar' && /*#__PURE__*/React.createElement("span", {
|
|
86332
|
+
"class": "".concat(cardsstyles2.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
86333
86333
|
style: {
|
|
86334
|
-
transform:
|
|
86334
|
+
transform: ' rotate(-180deg)'
|
|
86335
86335
|
},
|
|
86336
86336
|
onClick: function onClick() {
|
|
86337
|
-
if (item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
86338
|
-
NotificationManager.warning(
|
|
86337
|
+
if (item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit') {
|
|
86338
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Sold Out' : 'نفذت الكمية');
|
|
86339
86339
|
} else if (item.hasvariants == 0) {
|
|
86340
|
-
updatequantity(
|
|
86340
|
+
updatequantity('remove');
|
|
86341
86341
|
} else {
|
|
86342
86342
|
setShowProductInfoModalContext(true);
|
|
86343
86343
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -86345,13 +86345,13 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
86345
86345
|
}
|
|
86346
86346
|
}, /*#__PURE__*/React.createElement("i", {
|
|
86347
86347
|
"class": "fa fa-chevron-up font-12"
|
|
86348
|
-
})), langdetect ==
|
|
86349
|
-
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container) +
|
|
86348
|
+
})), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
|
|
86349
|
+
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container) + ' m-1 ',
|
|
86350
86350
|
onClick: function onClick() {
|
|
86351
|
-
if (item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
86352
|
-
NotificationManager.warning(
|
|
86351
|
+
if (item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit') {
|
|
86352
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Sold Out' : 'نفذت الكمية');
|
|
86353
86353
|
} else if (item.hasvariants == 0) {
|
|
86354
|
-
updatequantity(
|
|
86354
|
+
updatequantity('add');
|
|
86355
86355
|
} else {
|
|
86356
86356
|
setShowProductInfoModalContext(true);
|
|
86357
86357
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -86360,17 +86360,17 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
86360
86360
|
}, /*#__PURE__*/React.createElement("i", {
|
|
86361
86361
|
"class": "fa fa-chevron-up font-12"
|
|
86362
86362
|
})), /*#__PURE__*/React.createElement("span", {
|
|
86363
|
-
"class": "".concat(cardsstyles2.quantitybtn_text) +
|
|
86364
|
-
}, item.quantity), langdetect ==
|
|
86365
|
-
"class": "".concat(cardsstyles2.minus_quantitybtn_icon_container) +
|
|
86363
|
+
"class": "".concat(cardsstyles2.quantitybtn_text) + ' d-flex align-items-center justify-content-center '
|
|
86364
|
+
}, item.quantity), langdetect == 'ar' && /*#__PURE__*/React.createElement("span", {
|
|
86365
|
+
"class": "".concat(cardsstyles2.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
86366
86366
|
style: {
|
|
86367
|
-
transform:
|
|
86367
|
+
transform: ' rotate(-180deg)'
|
|
86368
86368
|
},
|
|
86369
86369
|
onClick: function onClick() {
|
|
86370
|
-
if (item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
86371
|
-
NotificationManager.warning(
|
|
86370
|
+
if (item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit') {
|
|
86371
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Sold Out' : 'نفذت الكمية');
|
|
86372
86372
|
} else if (item.hasvariants == 0) {
|
|
86373
|
-
updatequantity(
|
|
86373
|
+
updatequantity('remove');
|
|
86374
86374
|
} else {
|
|
86375
86375
|
setShowProductInfoModalContext(true);
|
|
86376
86376
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -86378,13 +86378,13 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
86378
86378
|
}
|
|
86379
86379
|
}, /*#__PURE__*/React.createElement("i", {
|
|
86380
86380
|
"class": "fa fa-chevron-up font-12"
|
|
86381
|
-
})), langdetect !=
|
|
86382
|
-
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container) +
|
|
86381
|
+
})), langdetect != 'ar' && /*#__PURE__*/React.createElement("span", {
|
|
86382
|
+
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container) + ' m-1 ',
|
|
86383
86383
|
onClick: function onClick() {
|
|
86384
|
-
if (item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
86385
|
-
NotificationManager.warning(
|
|
86384
|
+
if (item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit') {
|
|
86385
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Sold Out' : 'نفذت الكمية');
|
|
86386
86386
|
} else if (item.hasvariants == 0) {
|
|
86387
|
-
updatequantity(
|
|
86387
|
+
updatequantity('add');
|
|
86388
86388
|
} else {
|
|
86389
86389
|
setShowProductInfoModalContext(true);
|
|
86390
86390
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -86393,25 +86393,25 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
86393
86393
|
}, /*#__PURE__*/React.createElement("i", {
|
|
86394
86394
|
"class": "fa fa-chevron-up font-12"
|
|
86395
86395
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
86396
|
-
"class": sectionproperties.total_fontsize != 0 ?
|
|
86396
|
+
"class": sectionproperties.total_fontsize != 0 ? 'd-flex justify-content-start pl-2 pr-2' : 'd-flex d-md-none justify-content-start pl-2 pr-2',
|
|
86397
86397
|
style: {
|
|
86398
86398
|
flex: 1
|
|
86399
86399
|
}
|
|
86400
86400
|
}, /*#__PURE__*/React.createElement("p", {
|
|
86401
|
-
"class": "".concat(cardsstyles2.producttotalstyles) +
|
|
86401
|
+
"class": "".concat(cardsstyles2.producttotalstyles) + ' mb-0 ',
|
|
86402
86402
|
style: {
|
|
86403
|
-
textAlign: langdetect !=
|
|
86403
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
86404
86404
|
}
|
|
86405
86405
|
}, lang.total, ": ", /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("span", {
|
|
86406
86406
|
style: {
|
|
86407
86407
|
color: sectionproperties.total_secondaryColor,
|
|
86408
86408
|
fontWeight: sectionproperties.total_fontweight,
|
|
86409
|
-
textAlign: langdetect !=
|
|
86409
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
86410
86410
|
}
|
|
86411
|
-
}, langdetect !=
|
|
86411
|
+
}, langdetect != 'ar' ? item.currencyname : '', " ", item.hassale == 1 ? item.quantity * item.defaultsaleprice : item.quantity * item.defaultprice, ' ', langdetect != 'ar' ? '' : item.currencyname)))), /*#__PURE__*/React.createElement("div", {
|
|
86412
86412
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 mb-2 mt-2"
|
|
86413
|
-
}, sectionproperties.cartBtnShow ==
|
|
86414
|
-
"class": "".concat(cardsstyles2.cart_btn) +
|
|
86413
|
+
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
86414
|
+
"class": "".concat(cardsstyles2.cart_btn) + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
86415
86415
|
onClick: function onClick() {
|
|
86416
86416
|
if (item.hasvariants == 0) {
|
|
86417
86417
|
addtocartfunc();
|
|
@@ -88263,7 +88263,7 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
88263
88263
|
"class": "".concat(card_cssstyles.outstockbadge) + " allcentered "
|
|
88264
88264
|
}, /*#__PURE__*/React.createElement("p", {
|
|
88265
88265
|
"class": "m-0 p-0"
|
|
88266
|
-
}, sectionproperties
|
|
88266
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge == "Show" && /*#__PURE__*/React.createElement("div", {
|
|
88267
88267
|
"class": "allcentered",
|
|
88268
88268
|
style: {
|
|
88269
88269
|
position: "absolute",
|
|
@@ -91261,7 +91261,7 @@ var Productcard_with_circularhover = function Productcard_with_circularhover(pro
|
|
|
91261
91261
|
function ownKeys$f(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; }
|
|
91262
91262
|
function _objectSpread$f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$f(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
91263
91263
|
var Productcard_with_slideanimation = function Productcard_with_slideanimation(props) {
|
|
91264
|
-
var _useState = useState(
|
|
91264
|
+
var _useState = useState(''),
|
|
91265
91265
|
_useState2 = _slicedToArray(_useState, 2),
|
|
91266
91266
|
sectionproperties = _useState2[0],
|
|
91267
91267
|
setsectionproperties = _useState2[1];
|
|
@@ -91294,257 +91294,257 @@ var Productcard_with_slideanimation = function Productcard_with_slideanimation(p
|
|
|
91294
91294
|
}, [props.cardinfoitemprops]);
|
|
91295
91295
|
var card_cssstyles = {
|
|
91296
91296
|
cardcont: css({
|
|
91297
|
-
width: sectionproperties.width +
|
|
91297
|
+
width: sectionproperties.width + 'px'
|
|
91298
91298
|
}),
|
|
91299
91299
|
productcard: css({
|
|
91300
|
-
position:
|
|
91301
|
-
background: sectionproperties.backgroundColortransparent ==
|
|
91302
|
-
borderBottomLeftRadius: langdetect !=
|
|
91303
|
-
borderBottomRightRadius: langdetect !=
|
|
91304
|
-
borderTopLeftRadius: langdetect !=
|
|
91305
|
-
borderTopRightRadius: langdetect !=
|
|
91306
|
-
marginTop: sectionproperties.marginTop +
|
|
91307
|
-
marginBottom: sectionproperties.marginBottom +
|
|
91308
|
-
paddingLeft: langdetect !=
|
|
91309
|
-
paddingRight: langdetect !=
|
|
91310
|
-
paddingTop: sectionproperties.paddingTop +
|
|
91311
|
-
paddingBottom: sectionproperties.paddingBottom +
|
|
91312
|
-
boxShadow: sectionproperties.sectioncardshadow ==
|
|
91313
|
-
border: sectionproperties.sectioncardborderwidth +
|
|
91300
|
+
position: 'relative',
|
|
91301
|
+
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
91302
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
91303
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
91304
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
91305
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
91306
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
91307
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
91308
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
91309
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
91310
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
91311
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
91312
|
+
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
91313
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
91314
91314
|
color: sectionproperties.prodNameColor,
|
|
91315
|
-
transition:
|
|
91316
|
-
|
|
91315
|
+
transition: '.5s',
|
|
91316
|
+
':hover': {
|
|
91317
91317
|
color: sectionproperties.prodNameColorOnHover
|
|
91318
91318
|
},
|
|
91319
|
-
|
|
91320
|
-
paddingLeft:
|
|
91321
|
-
paddingRight:
|
|
91319
|
+
':hover .text_container': {
|
|
91320
|
+
paddingLeft: '10px',
|
|
91321
|
+
paddingRight: '10px'
|
|
91322
91322
|
}
|
|
91323
91323
|
}),
|
|
91324
91324
|
text_container: css({
|
|
91325
|
-
padding:
|
|
91326
|
-
transition:
|
|
91325
|
+
padding: '5px',
|
|
91326
|
+
transition: '.5s'
|
|
91327
91327
|
}),
|
|
91328
91328
|
productcardimagecont: css({
|
|
91329
|
-
position:
|
|
91330
|
-
overflow:
|
|
91331
|
-
background: sectionproperties.image_bgcolortransparent ==
|
|
91329
|
+
position: 'relative',
|
|
91330
|
+
overflow: 'hidden',
|
|
91331
|
+
background: sectionproperties.image_bgcolortransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
|
|
91332
91332
|
opacity: sectionproperties.darknessopacity,
|
|
91333
|
-
border: sectionproperties.image_borderwidth +
|
|
91334
|
-
borderBottomLeftRadius: langdetect !=
|
|
91335
|
-
borderBottomRightRadius: langdetect !=
|
|
91336
|
-
borderTopLeftRadius: langdetect !=
|
|
91337
|
-
borderTopRightRadius: langdetect !=
|
|
91338
|
-
|
|
91333
|
+
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
91334
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
91335
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
91336
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
91337
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
91338
|
+
':hover': css({
|
|
91339
91339
|
opacity: sectionproperties.cardimg_opacityonhover
|
|
91340
91340
|
})
|
|
91341
91341
|
}),
|
|
91342
91342
|
productNameStyles: css({
|
|
91343
|
-
fontSize: sectionproperties.prodNameFontSize +
|
|
91343
|
+
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
91344
91344
|
textTransform: sectionproperties.prodNameTextTranform,
|
|
91345
91345
|
fontWeight: sectionproperties.prodNameFontWeight,
|
|
91346
91346
|
marginBottom: 3,
|
|
91347
|
-
transition:
|
|
91348
|
-
cursor:
|
|
91347
|
+
transition: '.3s',
|
|
91348
|
+
cursor: 'pointer'
|
|
91349
91349
|
}),
|
|
91350
91350
|
productPricestyles: css({
|
|
91351
91351
|
color: sectionproperties.prodPriceColor,
|
|
91352
|
-
fontSize: sectionproperties.prodpriceFontSize +
|
|
91352
|
+
fontSize: sectionproperties.prodpriceFontSize + 'px',
|
|
91353
91353
|
fontWeight: sectionproperties.prodPriceFontWeight
|
|
91354
91354
|
}),
|
|
91355
91355
|
productSalePricestyles: css({
|
|
91356
91356
|
color: sectionproperties.prodsalePriceColor,
|
|
91357
|
-
fontSize: sectionproperties.prodsalepriceFontSize +
|
|
91357
|
+
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
91358
91358
|
fontWeight: sectionproperties.prodsalePriceFontWeight
|
|
91359
91359
|
}),
|
|
91360
91360
|
wishlist_btn: css({
|
|
91361
|
-
width: sectionproperties.favBtnWidth +
|
|
91362
|
-
height: sectionproperties.favBtnHeight +
|
|
91363
|
-
background: sectionproperties.favbtn_bgtransparent ==
|
|
91364
|
-
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius +
|
|
91361
|
+
width: sectionproperties.favBtnWidth + 'px',
|
|
91362
|
+
height: sectionproperties.favBtnHeight + 'px',
|
|
91363
|
+
background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
|
|
91364
|
+
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
|
|
91365
91365
|
color: sectionproperties.favBtniconcolor,
|
|
91366
|
-
fontSize: sectionproperties.favBtnTextfontsize +
|
|
91366
|
+
fontSize: sectionproperties.favBtnTextfontsize + 'px',
|
|
91367
91367
|
textTransform: sectionproperties.favBtnTexttransform,
|
|
91368
91368
|
fontWeight: sectionproperties.favBtnTextfontweight,
|
|
91369
|
-
transition:
|
|
91370
|
-
border: sectionproperties.favbtnborderwidth +
|
|
91371
|
-
|
|
91372
|
-
background: sectionproperties.favbtn_transparentbgcoloronhover ==
|
|
91369
|
+
transition: '.3s',
|
|
91370
|
+
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
91371
|
+
':hover': {
|
|
91372
|
+
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
91373
91373
|
color: sectionproperties.favBtnTextcoloronhover,
|
|
91374
|
-
borderColor: sectionproperties.favbtn_transparentbgcoloronhover ==
|
|
91374
|
+
borderColor: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.favBtnTextcoloronhover : sectionproperties.favBtnbgColoronhover
|
|
91375
91375
|
}
|
|
91376
91376
|
}),
|
|
91377
91377
|
cart_btn: css({
|
|
91378
|
-
width: sectionproperties.cartBtnWidth == 0 ?
|
|
91379
|
-
height: sectionproperties.cartBtnHeight == 0 ?
|
|
91380
|
-
background: sectionproperties.cartbtn_bgtransparent ==
|
|
91381
|
-
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius +
|
|
91378
|
+
width: sectionproperties.cartBtnWidth == 0 ? 'auto' : sectionproperties.cartBtnWidth + 'px',
|
|
91379
|
+
height: sectionproperties.cartBtnHeight == 0 ? 'auto' : sectionproperties.cartBtnHeight + 'px',
|
|
91380
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
91381
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
91382
91382
|
color: sectionproperties.cartBtnTextcolor,
|
|
91383
|
-
fontSize: sectionproperties.cartBtnTextfontsize +
|
|
91383
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
91384
91384
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
91385
|
-
border: sectionproperties.cartbtnborderwidth +
|
|
91386
|
-
transition:
|
|
91387
|
-
|
|
91388
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
91385
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
91386
|
+
transition: '.3s',
|
|
91387
|
+
':hover': {
|
|
91388
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
91389
91389
|
color: sectionproperties.cartBtnTextcoloronhover,
|
|
91390
91390
|
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
91391
91391
|
}
|
|
91392
91392
|
}),
|
|
91393
91393
|
outstockbadge: css({
|
|
91394
|
-
width: sectionproperties.outstock_width +
|
|
91395
|
-
height: sectionproperties.outstock_height +
|
|
91394
|
+
width: sectionproperties.outstock_width + 'px',
|
|
91395
|
+
height: sectionproperties.outstock_height + 'px',
|
|
91396
91396
|
background: sectionproperties.outstock_bg,
|
|
91397
91397
|
color: sectionproperties.outstock_color,
|
|
91398
|
-
fontSize: sectionproperties.outstock_fontSize +
|
|
91399
|
-
borderRadius: sectionproperties.outstock_borderradius +
|
|
91400
|
-
position:
|
|
91398
|
+
fontSize: sectionproperties.outstock_fontSize + 'px',
|
|
91399
|
+
borderRadius: sectionproperties.outstock_borderradius + 'px',
|
|
91400
|
+
position: 'absolute',
|
|
91401
91401
|
zIndex: 2,
|
|
91402
91402
|
top: 0,
|
|
91403
91403
|
bottom: 0,
|
|
91404
91404
|
left: 0,
|
|
91405
91405
|
right: 0,
|
|
91406
|
-
margin:
|
|
91406
|
+
margin: 'auto'
|
|
91407
91407
|
})
|
|
91408
91408
|
};
|
|
91409
91409
|
return /*#__PURE__*/React.createElement("div", {
|
|
91410
|
-
"class": props.sectiontypeprops2 ==
|
|
91410
|
+
"class": props.sectiontypeprops2 == 'vertical' ? 'w-100' : "".concat(card_cssstyles.cardcont)
|
|
91411
91411
|
}, /*#__PURE__*/React.createElement("div", {
|
|
91412
91412
|
"class": "row m-0 w-100 pl-sm-2 pr-sm-2",
|
|
91413
91413
|
style: {
|
|
91414
|
-
paddingLeft: langdetect !=
|
|
91415
|
-
paddingRight: langdetect !=
|
|
91414
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
91415
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
91416
91416
|
}
|
|
91417
91417
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
91418
|
-
"class": "".concat(card_cssstyles.productcard) +
|
|
91418
|
+
"class": "".concat(card_cssstyles.productcard) + ' w-100 '
|
|
91419
91419
|
}, /*#__PURE__*/React.createElement("div", {
|
|
91420
91420
|
onClick: function onClick() {
|
|
91421
91421
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
91422
91422
|
},
|
|
91423
|
-
"class": "".concat(card_cssstyles.productcardimagecont) +
|
|
91423
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' p-0 cursor-pointer ',
|
|
91424
91424
|
style: {
|
|
91425
|
-
height: sectionproperties.image_height +
|
|
91426
|
-
marginBottom: sectionproperties.image_mb +
|
|
91427
|
-
position:
|
|
91425
|
+
height: sectionproperties.image_height + 'px',
|
|
91426
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
91427
|
+
position: 'relative'
|
|
91428
91428
|
}
|
|
91429
91429
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
91430
91430
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
91431
91431
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
91432
|
-
path:
|
|
91432
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_w + '/' + item.image,
|
|
91433
91433
|
loading: "lazy",
|
|
91434
91434
|
style: {
|
|
91435
|
-
width: sectionproperties.imageInnerWidth_Height +
|
|
91436
|
-
height: sectionproperties.imageInnerWidth_Height +
|
|
91437
|
-
objectFit: sectionproperties.bgcovercontain ==
|
|
91438
|
-
background: sectionproperties.image_bgcolortransparent ==
|
|
91439
|
-
border: sectionproperties.image_borderwidth +
|
|
91440
|
-
borderBottomLeftRadius: langdetect !=
|
|
91441
|
-
borderBottomRightRadius: langdetect !=
|
|
91442
|
-
borderTopLeftRadius: langdetect !=
|
|
91443
|
-
borderTopRightRadius: langdetect !=
|
|
91444
|
-
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
91435
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
91436
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
91437
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
91438
|
+
background: sectionproperties.image_bgcolortransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
|
|
91439
|
+
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
91440
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
91441
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
91442
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
91443
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
91444
|
+
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1
|
|
91445
91445
|
}
|
|
91446
|
-
}), sectionproperties.showbadge ==
|
|
91446
|
+
}), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
91447
91447
|
"class": "allcentered",
|
|
91448
91448
|
style: {
|
|
91449
|
-
position:
|
|
91450
|
-
top: sectionproperties.badge_top +
|
|
91451
|
-
left: langdetect !=
|
|
91452
|
-
right: langdetect !=
|
|
91453
|
-
width: sectionproperties.badge_width +
|
|
91454
|
-
height: sectionproperties.badge_height +
|
|
91449
|
+
position: 'absolute',
|
|
91450
|
+
top: sectionproperties.badge_top + 'px',
|
|
91451
|
+
left: langdetect != 'ar' ? '10px' : 0,
|
|
91452
|
+
right: langdetect != 'ar' ? 0 : '10px',
|
|
91453
|
+
width: sectionproperties.badge_width + 'px',
|
|
91454
|
+
height: sectionproperties.badge_height + 'px',
|
|
91455
91455
|
background: sectionproperties.badge_bgcolor,
|
|
91456
|
-
borderRadius: sectionproperties.badge_borderradius +
|
|
91456
|
+
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
91457
91457
|
}
|
|
91458
91458
|
}, /*#__PURE__*/React.createElement("p", {
|
|
91459
91459
|
"class": "m-0 p-0 text-uppercase",
|
|
91460
91460
|
style: {
|
|
91461
91461
|
color: sectionproperties.badge_color,
|
|
91462
|
-
fontSize: sectionproperties.badge_fontsize +
|
|
91462
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
91463
91463
|
}
|
|
91464
|
-
}, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill ==
|
|
91464
|
+
}, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
91465
91465
|
"class": "allcentered",
|
|
91466
91466
|
style: {
|
|
91467
|
-
position:
|
|
91468
|
-
top: sectionproperties.pillpositionfromtop +
|
|
91469
|
-
left: sectionproperties.pillpositionfromright +
|
|
91470
|
-
width: sectionproperties.pillwidth +
|
|
91471
|
-
height: sectionproperties.pillheight +
|
|
91467
|
+
position: 'absolute',
|
|
91468
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
91469
|
+
left: sectionproperties.pillpositionfromright + 'px',
|
|
91470
|
+
width: sectionproperties.pillwidth + 'px',
|
|
91471
|
+
height: sectionproperties.pillheight + 'px',
|
|
91472
91472
|
background: sectionproperties.pillbgcolor,
|
|
91473
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius +
|
|
91473
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
91474
91474
|
}
|
|
91475
91475
|
}, /*#__PURE__*/React.createElement("p", {
|
|
91476
91476
|
"class": "m-0 p-0 text-uppercase",
|
|
91477
91477
|
style: {
|
|
91478
91478
|
color: sectionproperties.pillcolor,
|
|
91479
|
-
fontSize: sectionproperties.pillfontSize +
|
|
91480
|
-
direction:
|
|
91479
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
91480
|
+
direction: 'ltr'
|
|
91481
91481
|
}
|
|
91482
|
-
},
|
|
91483
|
-
"class": "".concat(card_cssstyles.outstockbadge) +
|
|
91482
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React.createElement("div", {
|
|
91483
|
+
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
91484
91484
|
}, /*#__PURE__*/React.createElement("p", {
|
|
91485
91485
|
"class": "m-0 p-0"
|
|
91486
|
-
}, sectionproperties
|
|
91487
|
-
"class": card_cssstyles.text_container +
|
|
91488
|
-
}, sectionproperties.prodNameShow ==
|
|
91486
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar))), /*#__PURE__*/React.createElement("div", {
|
|
91487
|
+
"class": card_cssstyles.text_container + ' row m-0 w-100 text_container '
|
|
91488
|
+
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
91489
91489
|
onClick: function onClick() {
|
|
91490
91490
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
91491
91491
|
},
|
|
91492
91492
|
"class": "col-lg-12 p-0 d-flex justify-content-stretch"
|
|
91493
91493
|
}, /*#__PURE__*/React.createElement("p", {
|
|
91494
|
-
"class": "".concat(card_cssstyles.productNameStyles) +
|
|
91494
|
+
"class": "".concat(card_cssstyles.productNameStyles) + ' p-0 wordbreak wordbreak1 m-0 '
|
|
91495
91495
|
}, item.name)), /*#__PURE__*/React.createElement("div", {
|
|
91496
91496
|
"class": "col-lg-12 d-flex align-items-center p-0 mb-1"
|
|
91497
|
-
}, sectionproperties.prodPriceShow ==
|
|
91498
|
-
"class": "".concat(card_cssstyles.productPricestyles) +
|
|
91499
|
-
}, langdetect !=
|
|
91500
|
-
"class": "".concat(card_cssstyles.productSalePricestyles) +
|
|
91501
|
-
}, langdetect !=
|
|
91497
|
+
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
91498
|
+
"class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
|
|
91499
|
+
}, langdetect != 'ar' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != 'ar' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
|
|
91500
|
+
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
91501
|
+
}, langdetect != 'ar' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect != 'ar' ? '' : item.currencyname)), /*#__PURE__*/React.createElement("div", {
|
|
91502
91502
|
"class": "col-lg-12 d-flex align-items-center p-0 "
|
|
91503
91503
|
}, /*#__PURE__*/React.createElement("div", {
|
|
91504
91504
|
"class": "col-lg-9 col-md-9 d-flex align-items-center justify-content-start p-0"
|
|
91505
|
-
}, sectionproperties.cartBtnShow ==
|
|
91506
|
-
"class": "".concat(card_cssstyles.cart_btn) +
|
|
91505
|
+
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
91506
|
+
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center cursor-pointer ',
|
|
91507
91507
|
onClick: function onClick() {
|
|
91508
|
-
if (item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
91509
|
-
NotificationManager.warning(
|
|
91508
|
+
if (item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0) {
|
|
91509
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Sold Out' : 'نفذت الكمية');
|
|
91510
91510
|
} else {
|
|
91511
91511
|
setShowProductInfoModalContext(true);
|
|
91512
91512
|
setProductIdProdutInfoModalContext(item.productid);
|
|
91513
91513
|
}
|
|
91514
91514
|
}
|
|
91515
91515
|
}, sectionproperties.cartBtn_iconFontSize != 0 && /*#__PURE__*/React.createElement("span", {
|
|
91516
|
-
className: langdetect !=
|
|
91516
|
+
className: langdetect != 'ar' ? 'mr-2' : 'ml-2',
|
|
91517
91517
|
style: {
|
|
91518
|
-
fontSize: sectionproperties.cartBtn_iconFontSize +
|
|
91518
|
+
fontSize: sectionproperties.cartBtn_iconFontSize + 'px'
|
|
91519
91519
|
}
|
|
91520
|
-
}, "+"), langdetect ===
|
|
91520
|
+
}, "+"), langdetect === 'ar' ? sectionproperties.cartBtnContentarabic : langdetect === 'chin' ? sectionproperties.cartBtnContentchin : langdetect === 'es' ? sectionproperties.cartBtnContentspanish : langdetect === 'fr' ? sectionproperties.cartBtnContentfrench : langdetect === 'rus' ? sectionproperties.cartBtnContentrussian : sectionproperties.cartBtnContentenglish)), /*#__PURE__*/React.createElement("div", {
|
|
91521
91521
|
"class": "col-lg-3 col-md-3 d-flex align-items-center justify-content-end p-0"
|
|
91522
|
-
}, sectionproperties.favBtnShow ==
|
|
91523
|
-
"class": " ".concat(card_cssstyles.wishlist_btn) +
|
|
91522
|
+
}, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
91523
|
+
"class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
91524
91524
|
onClick: function onClick() {
|
|
91525
91525
|
addtofavoritescontext(item.productid);
|
|
91526
91526
|
},
|
|
91527
91527
|
style: {
|
|
91528
|
-
background: item.IsFavExists ? sectionproperties.activebgcolor :
|
|
91529
|
-
borderColor: item.IsFavExists == true ? sectionproperties.activefaviconcolor :
|
|
91528
|
+
background: item.IsFavExists ? sectionproperties.activebgcolor : '',
|
|
91529
|
+
borderColor: item.IsFavExists == true ? sectionproperties.activefaviconcolor : ''
|
|
91530
91530
|
}
|
|
91531
91531
|
}, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
91532
91532
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
91533
|
-
}, sectionproperties.faviconshape ==
|
|
91533
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar$1, {
|
|
91534
91534
|
size: sectionproperties.favBtnIconfontsize,
|
|
91535
91535
|
style: {
|
|
91536
91536
|
color: sectionproperties.activefaviconcolor
|
|
91537
91537
|
}
|
|
91538
|
-
}), sectionproperties.faviconshape ==
|
|
91538
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart$1, {
|
|
91539
91539
|
size: sectionproperties.favBtnIconfontsize,
|
|
91540
91540
|
style: {
|
|
91541
91541
|
color: sectionproperties.activefaviconcolor
|
|
91542
91542
|
}
|
|
91543
91543
|
})), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
91544
91544
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
91545
|
-
}, sectionproperties.faviconshape ==
|
|
91545
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
|
|
91546
91546
|
size: sectionproperties.favBtnIconfontsize
|
|
91547
|
-
}), sectionproperties.faviconshape ==
|
|
91547
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
91548
91548
|
size: sectionproperties.favBtnIconfontsize
|
|
91549
91549
|
})))))))));
|
|
91550
91550
|
};
|
|
@@ -91552,7 +91552,7 @@ var Productcard_with_slideanimation = function Productcard_with_slideanimation(p
|
|
|
91552
91552
|
function ownKeys$e(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; }
|
|
91553
91553
|
function _objectSpread$e(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$e(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$e(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
91554
91554
|
var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
91555
|
-
var _useState = useState(
|
|
91555
|
+
var _useState = useState(''),
|
|
91556
91556
|
_useState2 = _slicedToArray(_useState, 2),
|
|
91557
91557
|
sectionproperties = _useState2[0],
|
|
91558
91558
|
setsectionproperties = _useState2[1];
|
|
@@ -91573,7 +91573,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
91573
91573
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
91574
91574
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
91575
91575
|
props.actions.NotificationManager;
|
|
91576
|
-
var _useState5 = useState(
|
|
91576
|
+
var _useState5 = useState(''),
|
|
91577
91577
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
91578
91578
|
secondimage = _useState6[0],
|
|
91579
91579
|
setsecondimage = _useState6[1];
|
|
@@ -91616,223 +91616,223 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
91616
91616
|
}, [props.cardinfoitemprops]);
|
|
91617
91617
|
var card_cssstyles = {
|
|
91618
91618
|
colorvariantcontainer: css({
|
|
91619
|
-
width: sectionproperties.variantcontainer_minwidth +
|
|
91620
|
-
height: sectionproperties.variantcontainer_height +
|
|
91621
|
-
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius +
|
|
91619
|
+
width: sectionproperties.variantcontainer_minwidth + 'vh',
|
|
91620
|
+
height: sectionproperties.variantcontainer_height + 'vh',
|
|
91621
|
+
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px'
|
|
91622
91622
|
}),
|
|
91623
91623
|
productcard_imgcontainer: css({
|
|
91624
|
-
height: sectionproperties.image_height +
|
|
91625
|
-
background: sectionproperties.image_bgtransparent ==
|
|
91626
|
-
border: sectionproperties.image_borderwidth +
|
|
91627
|
-
borderBottomLeftRadius: langdetect !=
|
|
91628
|
-
borderBottomRightRadius: langdetect !=
|
|
91629
|
-
borderTopLeftRadius: langdetect !=
|
|
91630
|
-
borderTopRightRadius: langdetect !=
|
|
91631
|
-
transition:
|
|
91624
|
+
height: sectionproperties.image_height + 'px',
|
|
91625
|
+
background: sectionproperties.image_bgtransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
|
|
91626
|
+
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
91627
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
91628
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
91629
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
91630
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
91631
|
+
transition: '.3s'
|
|
91632
91632
|
}),
|
|
91633
91633
|
productNameStyles: css({
|
|
91634
|
-
fontSize: sectionproperties.prodNameFontSize +
|
|
91634
|
+
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
91635
91635
|
textTransform: sectionproperties.prodNameTextTranform,
|
|
91636
91636
|
fontWeight: sectionproperties.prodNameFontWeight,
|
|
91637
|
-
cursor:
|
|
91638
|
-
transition:
|
|
91639
|
-
|
|
91637
|
+
cursor: 'pointer',
|
|
91638
|
+
transition: '.3s',
|
|
91639
|
+
':hover': {
|
|
91640
91640
|
color: sectionproperties.prodNameColorOnHover
|
|
91641
91641
|
}
|
|
91642
91642
|
}),
|
|
91643
91643
|
productPricestyles: css({
|
|
91644
91644
|
color: sectionproperties.prodPriceColor,
|
|
91645
|
-
fontSize: sectionproperties.prodpriceFontSize +
|
|
91645
|
+
fontSize: sectionproperties.prodpriceFontSize + 'px',
|
|
91646
91646
|
fontWeight: sectionproperties.prodPriceFontWeight
|
|
91647
91647
|
}),
|
|
91648
91648
|
productSalePricestyles: css({
|
|
91649
91649
|
color: sectionproperties.prodsalePriceColor,
|
|
91650
|
-
fontSize: sectionproperties.prodsalepriceFontSize +
|
|
91650
|
+
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
91651
91651
|
fontWeight: sectionproperties.prodsalePriceFontWeight
|
|
91652
91652
|
}),
|
|
91653
91653
|
wishlist_btn: css({
|
|
91654
|
-
position:
|
|
91654
|
+
position: 'absolute',
|
|
91655
91655
|
top: 6,
|
|
91656
91656
|
right: 13,
|
|
91657
|
-
left: langdetect !=
|
|
91658
|
-
width: sectionproperties.favBtnWidth +
|
|
91659
|
-
height: sectionproperties.favBtnHeight +
|
|
91660
|
-
background: sectionproperties.favbtn_bgtransparent ==
|
|
91661
|
-
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius +
|
|
91657
|
+
left: langdetect != 'ar' ? '' : sectionproperties.favbtn_marginRight + 'px',
|
|
91658
|
+
width: sectionproperties.favBtnWidth + 'px',
|
|
91659
|
+
height: sectionproperties.favBtnHeight + 'px',
|
|
91660
|
+
background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
|
|
91661
|
+
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
|
|
91662
91662
|
color: sectionproperties.favBtnTextcolor,
|
|
91663
|
-
fontSize: sectionproperties.favBtnTextfontsize +
|
|
91663
|
+
fontSize: sectionproperties.favBtnTextfontsize + 'px',
|
|
91664
91664
|
textTransform: sectionproperties.favBtnTexttransform,
|
|
91665
91665
|
fontWeight: sectionproperties.favBtnTextfontweight,
|
|
91666
|
-
transition:
|
|
91667
|
-
border: sectionproperties.favbtnborderwidth +
|
|
91668
|
-
|
|
91666
|
+
transition: '.3s',
|
|
91667
|
+
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
91668
|
+
':hover': {
|
|
91669
91669
|
color: sectionproperties.favBtnTextcoloronhover,
|
|
91670
|
-
background: sectionproperties.favbtn_transparentbgcoloronhover ==
|
|
91670
|
+
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover
|
|
91671
91671
|
}
|
|
91672
91672
|
}),
|
|
91673
91673
|
cart_btn: css({
|
|
91674
|
-
position:
|
|
91674
|
+
position: 'absolute',
|
|
91675
91675
|
left: 0,
|
|
91676
91676
|
right: 0,
|
|
91677
|
-
bottom:
|
|
91677
|
+
bottom: '10px',
|
|
91678
91678
|
opacity: 1,
|
|
91679
|
-
margin:
|
|
91680
|
-
transition:
|
|
91681
|
-
width: sectionproperties.cartBtnWidth +
|
|
91682
|
-
maxWidth:
|
|
91683
|
-
height: sectionproperties.cartBtnHeight +
|
|
91684
|
-
background: sectionproperties.cartbtn_bgtransparent ==
|
|
91685
|
-
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius +
|
|
91679
|
+
margin: 'auto',
|
|
91680
|
+
transition: 'all, 0.3s',
|
|
91681
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
91682
|
+
maxWidth: '100%',
|
|
91683
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
91684
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
91685
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
91686
91686
|
color: sectionproperties.cart_iconcolor,
|
|
91687
|
-
fontSize: sectionproperties.cartBtnTextfontsize +
|
|
91687
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
91688
91688
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
91689
91689
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
91690
|
-
border: sectionproperties.cartbtnborderwidth +
|
|
91691
|
-
|
|
91692
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
91690
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
91691
|
+
':hover': {
|
|
91692
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
91693
91693
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
91694
91694
|
}
|
|
91695
91695
|
}),
|
|
91696
91696
|
cart_btn_bottom: css({
|
|
91697
|
-
position:
|
|
91697
|
+
position: 'absolute',
|
|
91698
91698
|
left: 0,
|
|
91699
91699
|
right: 0,
|
|
91700
|
-
bottom:
|
|
91700
|
+
bottom: '-20px',
|
|
91701
91701
|
opacity: 0,
|
|
91702
|
-
margin:
|
|
91703
|
-
transition:
|
|
91704
|
-
width: sectionproperties.cartBtnWidth +
|
|
91705
|
-
height: sectionproperties.cartBtnHeight +
|
|
91706
|
-
background: sectionproperties.cartbtn_bgtransparent ==
|
|
91707
|
-
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius +
|
|
91702
|
+
margin: 'auto',
|
|
91703
|
+
transition: 'all, 0.3s',
|
|
91704
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
91705
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
91706
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
91707
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
91708
91708
|
color: sectionproperties.cart_iconcolor,
|
|
91709
|
-
fontSize: sectionproperties.cartBtnTextfontsize +
|
|
91709
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
91710
91710
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
91711
91711
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
91712
|
-
border: sectionproperties.cartbtnborderwidth +
|
|
91713
|
-
|
|
91714
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
91712
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
91713
|
+
':hover': {
|
|
91714
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
91715
91715
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
91716
91716
|
}
|
|
91717
91717
|
}),
|
|
91718
91718
|
cart_btn_center: css({
|
|
91719
|
-
position:
|
|
91719
|
+
position: 'absolute',
|
|
91720
91720
|
left: 0,
|
|
91721
91721
|
right: 0,
|
|
91722
|
-
bottom:
|
|
91722
|
+
bottom: '60px',
|
|
91723
91723
|
opacity: 0,
|
|
91724
|
-
margin:
|
|
91725
|
-
transition:
|
|
91726
|
-
width: sectionproperties.cartBtnWidth +
|
|
91727
|
-
height: sectionproperties.cartBtnHeight +
|
|
91728
|
-
background: sectionproperties.cartbtn_bgtransparent ==
|
|
91729
|
-
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius +
|
|
91724
|
+
margin: 'auto',
|
|
91725
|
+
transition: 'all, 0.3s',
|
|
91726
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
91727
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
91728
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
91729
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
91730
91730
|
color: sectionproperties.cart_iconcolor,
|
|
91731
|
-
fontSize: sectionproperties.cartBtnTextfontsize +
|
|
91731
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
91732
91732
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
91733
91733
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
91734
|
-
border: sectionproperties.cartbtnborderwidth +
|
|
91735
|
-
|
|
91736
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
91734
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
91735
|
+
':hover': {
|
|
91736
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
91737
91737
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
91738
91738
|
}
|
|
91739
91739
|
}),
|
|
91740
91740
|
productcard: css({
|
|
91741
|
-
background: sectionproperties.backgroundColortransparent ==
|
|
91742
|
-
borderBottomLeftRadius: langdetect !=
|
|
91743
|
-
borderBottomRightRadius: langdetect !=
|
|
91744
|
-
borderTopLeftRadius: langdetect !=
|
|
91745
|
-
borderTopRightRadius: langdetect !=
|
|
91746
|
-
marginTop: sectionproperties.marginTop +
|
|
91747
|
-
marginBottom: sectionproperties.marginBottom +
|
|
91748
|
-
paddingLeft: langdetect !=
|
|
91749
|
-
paddingRight: langdetect !=
|
|
91750
|
-
paddingTop: sectionproperties.paddingTop +
|
|
91751
|
-
paddingBottom: sectionproperties.paddingBottom +
|
|
91752
|
-
border: sectionproperties.sectioncardborderwidth +
|
|
91741
|
+
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
91742
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
91743
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
91744
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
91745
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
91746
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
91747
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
91748
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
91749
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
91750
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
91751
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
91752
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
91753
91753
|
color: sectionproperties.prodNameColor,
|
|
91754
|
-
transition:
|
|
91755
|
-
|
|
91756
|
-
marginRight: langdetect !=
|
|
91757
|
-
marginLeft: langdetect !=
|
|
91754
|
+
transition: '.3s',
|
|
91755
|
+
':hover .wishlist_btn': {
|
|
91756
|
+
marginRight: langdetect != 'ar' ? '10px' : 0,
|
|
91757
|
+
marginLeft: langdetect != 'ar' ? 0 : '10px'
|
|
91758
91758
|
},
|
|
91759
|
-
|
|
91759
|
+
':hover .cart_btn_bottom': {
|
|
91760
91760
|
opacity: 1,
|
|
91761
|
-
bottom:
|
|
91761
|
+
bottom: '10px'
|
|
91762
91762
|
},
|
|
91763
|
-
|
|
91763
|
+
':hover .cart_btn_center': {
|
|
91764
91764
|
opacity: 1,
|
|
91765
|
-
bottom:
|
|
91765
|
+
bottom: '40%'
|
|
91766
91766
|
}
|
|
91767
91767
|
}),
|
|
91768
91768
|
cart_btnresponsive: css({
|
|
91769
|
-
position:
|
|
91769
|
+
position: 'absolute',
|
|
91770
91770
|
opacity: 1,
|
|
91771
|
-
bottom:
|
|
91771
|
+
bottom: '10px',
|
|
91772
91772
|
left: 0,
|
|
91773
91773
|
right: 0,
|
|
91774
|
-
margin:
|
|
91775
|
-
transition:
|
|
91776
|
-
width: sectionproperties.cartBtnWidth +
|
|
91777
|
-
height: sectionproperties.cartBtnHeight +
|
|
91778
|
-
background: sectionproperties.cartbtn_bgtransparent ==
|
|
91779
|
-
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius +
|
|
91774
|
+
margin: 'auto',
|
|
91775
|
+
transition: 'all, 0.3s',
|
|
91776
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
91777
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
91778
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
91779
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
91780
91780
|
color: sectionproperties.cart_iconcolor,
|
|
91781
|
-
fontSize: sectionproperties.cartBtnTextfontsize +
|
|
91781
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
91782
91782
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
91783
91783
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
91784
|
-
border: sectionproperties.cartbtnborderwidth +
|
|
91785
|
-
|
|
91786
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
91784
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
91785
|
+
':hover': {
|
|
91786
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
91787
91787
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
91788
91788
|
}
|
|
91789
91789
|
}),
|
|
91790
91790
|
imageContainer: css({
|
|
91791
91791
|
backgroundColor: sectionproperties.image_bgcolor,
|
|
91792
|
-
borderBottomLeftRadius: langdetect !=
|
|
91793
|
-
borderBottomRightRadius: langdetect !=
|
|
91794
|
-
borderTopLeftRadius: langdetect !=
|
|
91795
|
-
borderTopRightRadius: langdetect !=
|
|
91796
|
-
height: sectionproperties.image_height == 0 ?
|
|
91797
|
-
marginBottom: sectionproperties.image_mb +
|
|
91798
|
-
|
|
91799
|
-
height: sectionproperties.height_responsive == 0 ?
|
|
91792
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
91793
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
91794
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
91795
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
91796
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
91797
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
91798
|
+
'@media (max-width: 800px)': {
|
|
91799
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + 'px'
|
|
91800
91800
|
}
|
|
91801
91801
|
}),
|
|
91802
91802
|
productoutercard: css({
|
|
91803
|
-
minWidth: sectionproperties.width +
|
|
91804
|
-
maxWidth: sectionproperties.width +
|
|
91805
|
-
|
|
91806
|
-
minWidth: sectionproperties.widthresponsive +
|
|
91807
|
-
maxWidth: sectionproperties.widthresponsive +
|
|
91803
|
+
minWidth: sectionproperties.width + 'px',
|
|
91804
|
+
maxWidth: sectionproperties.width + 'px',
|
|
91805
|
+
'@media (max-width: 800px)': {
|
|
91806
|
+
minWidth: sectionproperties.widthresponsive + 'px',
|
|
91807
|
+
maxWidth: sectionproperties.widthresponsive + 'px'
|
|
91808
91808
|
}
|
|
91809
91809
|
})
|
|
91810
91810
|
};
|
|
91811
91811
|
var Image = function Image(type) {
|
|
91812
91812
|
var transition = false;
|
|
91813
|
-
if (sectionproperties.showimagetransition ==
|
|
91813
|
+
if (sectionproperties.showimagetransition == 'Show' && type != 'responsive') {
|
|
91814
91814
|
transition = true;
|
|
91815
91815
|
}
|
|
91816
91816
|
return /*#__PURE__*/React.createElement("div", {
|
|
91817
91817
|
"class": "w-100 cursor-pointer",
|
|
91818
91818
|
style: {
|
|
91819
|
-
position:
|
|
91819
|
+
position: 'relative'
|
|
91820
91820
|
}
|
|
91821
91821
|
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
91822
|
-
"class": transition ? generalCardsStyles.intialimage :
|
|
91822
|
+
"class": transition ? generalCardsStyles.intialimage : '',
|
|
91823
91823
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
91824
91824
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
91825
|
-
path:
|
|
91825
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
91826
91826
|
style: _defineProperty(_defineProperty({
|
|
91827
|
-
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
91828
|
-
width: sectionproperties.imageInnerWidth_Height +
|
|
91829
|
-
height: sectionproperties.imageInnerWidth_Height +
|
|
91830
|
-
objectFit: sectionproperties.bgcovercontain ==
|
|
91831
|
-
borderBottomLeftRadius: sectionproperties.bgcovercontain ==
|
|
91832
|
-
borderBottomRightRadius: sectionproperties.bgcovercontain ==
|
|
91833
|
-
borderTopLeftRadius: sectionproperties.bgcovercontain ==
|
|
91834
|
-
borderTopRightRadius: sectionproperties.bgcovercontain ==
|
|
91835
|
-
}, "width",
|
|
91827
|
+
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? sectionproperties.outofstockimageopcity : 1,
|
|
91828
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
91829
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
91830
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
91831
|
+
borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
|
|
91832
|
+
borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0,
|
|
91833
|
+
borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
|
|
91834
|
+
borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0
|
|
91835
|
+
}, "width", '100%'), "height", '100%'),
|
|
91836
91836
|
loading: "lazy",
|
|
91837
91837
|
onClick: function onClick() {
|
|
91838
91838
|
setShowProductInfoModalContext(true);
|
|
@@ -91842,23 +91842,23 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
91842
91842
|
"class": generalCardsStyles.secondaryimage,
|
|
91843
91843
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
91844
91844
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
91845
|
-
path:
|
|
91845
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + secondimage,
|
|
91846
91846
|
style: {
|
|
91847
|
-
width:
|
|
91848
|
-
height:
|
|
91849
|
-
objectFit: sectionproperties.bgcovercontain ==
|
|
91850
|
-
borderBottomLeftRadius: sectionproperties.bgcovercontain ==
|
|
91851
|
-
borderBottomRightRadius: sectionproperties.bgcovercontain ==
|
|
91852
|
-
borderTopLeftRadius: sectionproperties.bgcovercontain ==
|
|
91853
|
-
borderTopRightRadius: sectionproperties.bgcovercontain ==
|
|
91847
|
+
width: '100%',
|
|
91848
|
+
height: '100%',
|
|
91849
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
91850
|
+
borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
|
|
91851
|
+
borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0,
|
|
91852
|
+
borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
|
|
91853
|
+
borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0
|
|
91854
91854
|
},
|
|
91855
91855
|
loading: "lazy",
|
|
91856
91856
|
onClick: function onClick() {
|
|
91857
91857
|
setShowProductInfoModalContext(true);
|
|
91858
91858
|
setProductIdProdutInfoModalContext(item.productid);
|
|
91859
91859
|
}
|
|
91860
|
-
}), sectionproperties.favBtnShow ==
|
|
91861
|
-
"class": "".concat(card_cssstyles.wishlist_btn) +
|
|
91860
|
+
}), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
91861
|
+
"class": "".concat(card_cssstyles.wishlist_btn) + ' wishlist_btn cursor-pointer ',
|
|
91862
91862
|
onClick: function onClick(e) {
|
|
91863
91863
|
e.stopPropagation();
|
|
91864
91864
|
addtofavoritescontext(item.productid);
|
|
@@ -91867,108 +91867,108 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
91867
91867
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
91868
91868
|
}, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
91869
91869
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
91870
|
-
}, sectionproperties.faviconshape ==
|
|
91870
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar$1, {
|
|
91871
91871
|
size: sectionproperties.favBtnIconfontsize,
|
|
91872
91872
|
style: {
|
|
91873
91873
|
color: sectionproperties.activefaviconcolor
|
|
91874
91874
|
}
|
|
91875
|
-
}), sectionproperties.faviconshape ==
|
|
91875
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart$1, {
|
|
91876
91876
|
size: sectionproperties.favBtnIconfontsize,
|
|
91877
91877
|
style: {
|
|
91878
91878
|
color: sectionproperties.activefaviconcolor
|
|
91879
91879
|
}
|
|
91880
91880
|
})), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
91881
91881
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
91882
|
-
}, sectionproperties.faviconshape ==
|
|
91882
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
|
|
91883
91883
|
size: sectionproperties.favBtnIconfontsize
|
|
91884
|
-
}), sectionproperties.faviconshape ==
|
|
91884
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
91885
91885
|
size: sectionproperties.favBtnIconfontsize
|
|
91886
|
-
})))), sectionproperties.showbadge ==
|
|
91886
|
+
})))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
91887
91887
|
"class": "allcentered",
|
|
91888
91888
|
style: {
|
|
91889
|
-
position:
|
|
91890
|
-
top: sectionproperties.badge_top +
|
|
91891
|
-
left: sectionproperties.badge_right +
|
|
91892
|
-
width: sectionproperties.badge_width +
|
|
91893
|
-
height: sectionproperties.badge_height +
|
|
91889
|
+
position: 'absolute',
|
|
91890
|
+
top: sectionproperties.badge_top + 'px',
|
|
91891
|
+
left: sectionproperties.badge_right + 'px',
|
|
91892
|
+
width: sectionproperties.badge_width + 'px',
|
|
91893
|
+
height: sectionproperties.badge_height + 'px',
|
|
91894
91894
|
background: sectionproperties.badge_bgcolor,
|
|
91895
|
-
borderRadius: sectionproperties.badge_borderradius +
|
|
91895
|
+
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
91896
91896
|
}
|
|
91897
91897
|
}, /*#__PURE__*/React.createElement("p", {
|
|
91898
|
-
"class": props.fontFamilyprops ==
|
|
91898
|
+
"class": props.fontFamilyprops == 'ASUL' ? ' ASUL m-0 p-0 text-uppercase' : ' m-0 p-0 text-uppercase',
|
|
91899
91899
|
style: {
|
|
91900
91900
|
color: sectionproperties.badge_color,
|
|
91901
|
-
fontSize: sectionproperties.badge_fontsize +
|
|
91901
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
91902
91902
|
}
|
|
91903
|
-
}, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill ==
|
|
91903
|
+
}, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
91904
91904
|
"class": "allcentered",
|
|
91905
91905
|
style: {
|
|
91906
|
-
position:
|
|
91907
|
-
top: sectionproperties.pillpositionfromtop +
|
|
91908
|
-
left: sectionproperties.pillpositionfromright +
|
|
91909
|
-
width: sectionproperties.pillwidth +
|
|
91910
|
-
height: sectionproperties.pillheight +
|
|
91906
|
+
position: 'absolute',
|
|
91907
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
91908
|
+
left: sectionproperties.pillpositionfromright + 'px',
|
|
91909
|
+
width: sectionproperties.pillwidth + 'px',
|
|
91910
|
+
height: sectionproperties.pillheight + 'px',
|
|
91911
91911
|
background: sectionproperties.pillbgcolor,
|
|
91912
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius +
|
|
91912
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
91913
91913
|
}
|
|
91914
|
-
}, sectionproperties.countertype ==
|
|
91914
|
+
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React.createElement("p", {
|
|
91915
91915
|
"class": "m-0 p-0 text-uppercase",
|
|
91916
91916
|
style: {
|
|
91917
91917
|
color: sectionproperties.pillcolor,
|
|
91918
|
-
fontSize: sectionproperties.pillfontSize +
|
|
91919
|
-
direction:
|
|
91918
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
91919
|
+
direction: 'ltr'
|
|
91920
91920
|
}
|
|
91921
|
-
},
|
|
91921
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React.createElement("p", {
|
|
91922
91922
|
"class": "m-0 p-0 text-uppercase",
|
|
91923
91923
|
style: {
|
|
91924
91924
|
color: sectionproperties.pillcolor,
|
|
91925
|
-
fontSize: sectionproperties.pillfontSize +
|
|
91926
|
-
direction:
|
|
91925
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
91926
|
+
direction: 'ltr'
|
|
91927
91927
|
}
|
|
91928
|
-
}, langdetect ===
|
|
91929
|
-
"class": sectionproperties.transition ==
|
|
91928
|
+
}, langdetect === 'ar' ? 'وفّر' : langdetect === 'chin' ? '保存' : langdetect === 'es' ? 'Guardar' : langdetect === 'fr' ? 'Enregistrer' : langdetect === 'rus' ? 'Сохранить' : 'Save', ' ', langdetect != 'ar' ? item.currencyname : '', " ", parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), ' ', langdetect != 'ar' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
91929
|
+
"class": sectionproperties.transition == 'Bottom' ? "".concat(card_cssstyles.cart_btn_bottom) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_bottom ' : sectionproperties.transition == 'Center' ? "".concat(card_cssstyles.cart_btn_center) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_center ' : "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
|
|
91930
91930
|
onClick: function onClick(e) {
|
|
91931
91931
|
e.stopPropagation();
|
|
91932
91932
|
setShowProductInfoModalContext(true);
|
|
91933
91933
|
setProductIdProdutInfoModalContext(item.productid);
|
|
91934
91934
|
}
|
|
91935
91935
|
}, /*#__PURE__*/React.createElement("span", {
|
|
91936
|
-
"class": props.fontFamilyprops ==
|
|
91937
|
-
}, langdetect ===
|
|
91938
|
-
"class": "".concat(card_cssstyles.outstockbadge) +
|
|
91936
|
+
"class": props.fontFamilyprops == 'ASUL' ? 'ASUL' : ''
|
|
91937
|
+
}, langdetect === 'ar' ? sectionproperties.cartBtnContentarabic : langdetect === 'chin' ? sectionproperties.cartBtnContentchin : langdetect === 'es' ? sectionproperties.cartBtnContentspanish : langdetect === 'fr' ? sectionproperties.cartBtnContentfrench : langdetect === 'rus' ? sectionproperties.cartBtnContentrussian : sectionproperties.cartBtnContentenglish)), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React.createElement("div", {
|
|
91938
|
+
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
91939
91939
|
}, /*#__PURE__*/React.createElement("p", {
|
|
91940
91940
|
"class": "m-0 p-0"
|
|
91941
|
-
}, sectionproperties
|
|
91941
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar)));
|
|
91942
91942
|
};
|
|
91943
91943
|
return /*#__PURE__*/React.createElement("div", {
|
|
91944
|
-
"class": props.sectiontypeprops2 ==
|
|
91944
|
+
"class": props.sectiontypeprops2 == 'vertical' ? 'row m-0 w-100' : " ".concat(card_cssstyles.productoutercard),
|
|
91945
91945
|
style: {
|
|
91946
|
-
paddingLeft: langdetect !=
|
|
91947
|
-
paddingRight: langdetect !=
|
|
91946
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
91947
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
91948
91948
|
}
|
|
91949
91949
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
91950
|
-
"class": "".concat(card_cssstyles.productcard) +
|
|
91950
|
+
"class": "".concat(card_cssstyles.productcard) + ' w-100 '
|
|
91951
91951
|
}, /*#__PURE__*/React.createElement("div", {
|
|
91952
|
-
"class": sectionproperties.showimagetransition ==
|
|
91953
|
-
}, Image(
|
|
91954
|
-
"class":
|
|
91955
|
-
}, sectionproperties.prodNameShow ==
|
|
91952
|
+
"class": sectionproperties.showimagetransition == 'Show' ? " ".concat(card_cssstyles.imageContainer, " ").concat(generalCardsStyles.imagecontainer) + ' d-flex ' : " ".concat(card_cssstyles.imageContainer, " ") + ' allcentered '
|
|
91953
|
+
}, Image('normal')), /*#__PURE__*/React.createElement("div", {
|
|
91954
|
+
"class": 'row m-0 w-100 text-center mt-2'
|
|
91955
|
+
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
91956
91956
|
"class": "col-lg-12 p-0"
|
|
91957
91957
|
}, /*#__PURE__*/React.createElement("p", {
|
|
91958
91958
|
onClick: function onClick() {
|
|
91959
91959
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
91960
91960
|
},
|
|
91961
|
-
"class": props.fontFamilyprops ==
|
|
91961
|
+
"class": props.fontFamilyprops == 'ASUL' && sectionproperties.prodNameFontWeight > 100 && sectionproperties.prodNameFontWeight < 600 ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ASUL-400 ' : props.fontFamilyprops == 'ASUL' && sectionproperties.prodNameFontWeight > 600 ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ASUL-700 ' : "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center '
|
|
91962
91962
|
}, item.name)), /*#__PURE__*/React.createElement("div", {
|
|
91963
91963
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column",
|
|
91964
91964
|
style: {
|
|
91965
|
-
marginTop: sectionproperties.productpricemarginTop +
|
|
91965
|
+
marginTop: sectionproperties.productpricemarginTop + 'px'
|
|
91966
91966
|
}
|
|
91967
|
-
}, sectionproperties.prodPriceShow ==
|
|
91968
|
-
"class": props.fontFamilyprops ==
|
|
91969
|
-
}, langdetect !=
|
|
91970
|
-
"class": props.fontFamilyprops ==
|
|
91971
|
-
}, langdetect !=
|
|
91967
|
+
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
91968
|
+
"class": props.fontFamilyprops == 'ASUL' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 ASUL ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 '
|
|
91969
|
+
}, langdetect != 'ar' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != 'ar' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
|
|
91970
|
+
"class": props.fontFamilyprops == 'ASUL' ? "".concat(card_cssstyles.productSalePricestyles) + ' ASUL linethrough m-0 p-0 mr-2 ml-2 font-md-15 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 p-0 mr-2 ml-2 font-md-15 '
|
|
91971
|
+
}, langdetect != 'ar' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect != 'ar' ? '' : 'ج.م')))));
|
|
91972
91972
|
};
|
|
91973
91973
|
|
|
91974
91974
|
var css_248z$3 = ".Productcard6-module_productcard__Vx7dM {\r\n position: relative;\r\n cursor: pointer;\r\n transition: 0.3s !important;\r\n}\r\n\r\n.Productcard6-module_addbtn__x6bMd:hover {\r\n transition: 0.3s;\r\n}\r\n";
|
|
@@ -95732,7 +95732,7 @@ var CardAll = function CardAll(props) {
|
|
|
95732
95732
|
function ownKeys$2(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; }
|
|
95733
95733
|
function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
95734
95734
|
var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(props) {
|
|
95735
|
-
var _useState = useState(
|
|
95735
|
+
var _useState = useState(''),
|
|
95736
95736
|
_useState2 = _slicedToArray(_useState, 2),
|
|
95737
95737
|
sectionproperties = _useState2[0],
|
|
95738
95738
|
setsectionproperties = _useState2[1];
|
|
@@ -95784,9 +95784,9 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
95784
95784
|
}, [props.cardinfoitemprops]);
|
|
95785
95785
|
var addtocartfunc = function addtocartfunc(type, quantity) {
|
|
95786
95786
|
var addtocardpayloadobj = {
|
|
95787
|
-
functype:
|
|
95787
|
+
functype: 'add',
|
|
95788
95788
|
productid: item.productid,
|
|
95789
|
-
variantid:
|
|
95789
|
+
variantid: '',
|
|
95790
95790
|
quantity: quantity
|
|
95791
95791
|
};
|
|
95792
95792
|
var runfunc = false;
|
|
@@ -95795,13 +95795,13 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
95795
95795
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
95796
95796
|
runfunc = true;
|
|
95797
95797
|
} else {
|
|
95798
|
-
NotificationManager.warning(
|
|
95798
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
|
|
95799
95799
|
}
|
|
95800
95800
|
} else {
|
|
95801
95801
|
runfunc = true;
|
|
95802
95802
|
}
|
|
95803
95803
|
} else {
|
|
95804
|
-
NotificationManager.warning(
|
|
95804
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
|
|
95805
95805
|
}
|
|
95806
95806
|
if (runfunc == true) {
|
|
95807
95807
|
AddtoCartContext(addtocardpayloadobj);
|
|
@@ -95812,7 +95812,7 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
95812
95812
|
var _AddtoCartMutationCon;
|
|
95813
95813
|
if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 || (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
|
|
95814
95814
|
return /*#__PURE__*/React.createElement("div", {
|
|
95815
|
-
"class":
|
|
95815
|
+
"class": ' d-flex align-items-center justify-content-center '
|
|
95816
95816
|
}, /*#__PURE__*/React.createElement(CircularProgress, {
|
|
95817
95817
|
color: sectionproperties.quantitybtn_textcolor,
|
|
95818
95818
|
width: "20px",
|
|
@@ -95829,353 +95829,353 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
95829
95829
|
};
|
|
95830
95830
|
var card_cssstyles = {
|
|
95831
95831
|
productcard: css({
|
|
95832
|
-
minWidth: props.sectiontypeprops2 ==
|
|
95833
|
-
maxWidth: props.sectiontypeprops2 ==
|
|
95834
|
-
|
|
95835
|
-
minWidth: props.sectiontypeprops2 ==
|
|
95836
|
-
maxWidth: props.sectiontypeprops2 ==
|
|
95832
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
95833
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
95834
|
+
'@media (max-width: 800px)': {
|
|
95835
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
95836
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
95837
95837
|
}
|
|
95838
95838
|
}),
|
|
95839
95839
|
productcardimagecont: css({
|
|
95840
|
-
position:
|
|
95841
|
-
overflow:
|
|
95842
|
-
height: sectionproperties.image_height +
|
|
95843
|
-
background: sectionproperties.image_bgtransparent ==
|
|
95844
|
-
border: sectionproperties.image_borderwidth +
|
|
95845
|
-
borderBottomLeftRadius: langdetect !=
|
|
95846
|
-
borderBottomRightRadius: langdetect !=
|
|
95847
|
-
borderTopLeftRadius: langdetect !=
|
|
95848
|
-
borderTopRightRadius: langdetect !=
|
|
95849
|
-
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
95850
|
-
transition:
|
|
95840
|
+
position: 'relative',
|
|
95841
|
+
overflow: 'hidden',
|
|
95842
|
+
height: sectionproperties.image_height + 'px',
|
|
95843
|
+
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
|
|
95844
|
+
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
95845
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
95846
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
95847
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
95848
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
95849
|
+
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? sectionproperties.outofstockimageopcity : 1,
|
|
95850
|
+
transition: '.3s'
|
|
95851
95851
|
}),
|
|
95852
95852
|
productNameStyles: css({
|
|
95853
95853
|
color: sectionproperties.prodNameColor,
|
|
95854
|
-
fontSize: sectionproperties.prodNameFontSize +
|
|
95854
|
+
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
95855
95855
|
textTransform: sectionproperties.prodNameTextTranform,
|
|
95856
95856
|
fontWeight: sectionproperties.prodNameFontWeight,
|
|
95857
|
-
transition:
|
|
95858
|
-
cursor:
|
|
95859
|
-
|
|
95857
|
+
transition: '.3s',
|
|
95858
|
+
cursor: 'pointer',
|
|
95859
|
+
':hover': {
|
|
95860
95860
|
color: sectionproperties.prodNameColorOnHover
|
|
95861
95861
|
}
|
|
95862
95862
|
}),
|
|
95863
95863
|
productPricestyles: css({
|
|
95864
95864
|
color: sectionproperties.prodPriceColor,
|
|
95865
|
-
fontSize: sectionproperties.prodpriceFontSize +
|
|
95865
|
+
fontSize: sectionproperties.prodpriceFontSize + 'px',
|
|
95866
95866
|
fontWeight: sectionproperties.prodPriceFontWeight
|
|
95867
95867
|
}),
|
|
95868
95868
|
productSalePricestyles: css({
|
|
95869
95869
|
color: sectionproperties.prodsalePriceColor,
|
|
95870
|
-
fontSize: sectionproperties.prodsalepriceFontSize +
|
|
95870
|
+
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
95871
95871
|
fontWeight: sectionproperties.prodsalePriceFontWeight
|
|
95872
95872
|
}),
|
|
95873
95873
|
wishlist_btn: css({
|
|
95874
|
-
width: sectionproperties.favBtnWidth +
|
|
95875
|
-
height: sectionproperties.favBtnHeight +
|
|
95876
|
-
background: sectionproperties.favbtn_bgtransparent ==
|
|
95877
|
-
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius +
|
|
95878
|
-
border: sectionproperties.favbtnborderwidth +
|
|
95874
|
+
width: sectionproperties.favBtnWidth + 'px',
|
|
95875
|
+
height: sectionproperties.favBtnHeight + 'px',
|
|
95876
|
+
background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
|
|
95877
|
+
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
|
|
95878
|
+
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
95879
95879
|
color: sectionproperties.favBtniconcolor,
|
|
95880
|
-
transition:
|
|
95881
|
-
|
|
95882
|
-
background: sectionproperties.favbtn_transparentbgcoloronhover ==
|
|
95880
|
+
transition: '.3s',
|
|
95881
|
+
':hover': {
|
|
95882
|
+
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
95883
95883
|
color: sectionproperties.favBtnTextcoloronhover
|
|
95884
95884
|
}
|
|
95885
95885
|
}),
|
|
95886
95886
|
cart_btn: css({
|
|
95887
|
-
position:
|
|
95887
|
+
position: 'absolute',
|
|
95888
95888
|
bottom: 10,
|
|
95889
95889
|
right: 10,
|
|
95890
|
-
width: sectionproperties.cartBtnWidth +
|
|
95891
|
-
height: sectionproperties.cartBtnHeight +
|
|
95892
|
-
background: sectionproperties.cartbtn_bgtransparent ==
|
|
95893
|
-
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius +
|
|
95890
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
95891
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
95892
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
95893
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
95894
95894
|
color: sectionproperties.cart_iconcolor,
|
|
95895
|
-
border: sectionproperties.cartbtnborderwidth +
|
|
95895
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
95896
95896
|
zIndex: 100,
|
|
95897
|
-
transition:
|
|
95898
|
-
|
|
95899
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
95897
|
+
transition: '.3s',
|
|
95898
|
+
':hover': {
|
|
95899
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
95900
95900
|
color: sectionproperties.cartBtnTextcoloronhover,
|
|
95901
95901
|
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
95902
95902
|
}
|
|
95903
95903
|
}),
|
|
95904
95904
|
outstockbadge: css({
|
|
95905
|
-
position:
|
|
95906
|
-
top: sectionproperties.outstock_top +
|
|
95907
|
-
left: langdetect !=
|
|
95908
|
-
right: langdetect !=
|
|
95909
|
-
width: sectionproperties.outstock_width +
|
|
95910
|
-
height: sectionproperties.outstock_height +
|
|
95905
|
+
position: 'absolute',
|
|
95906
|
+
top: sectionproperties.outstock_top + 'px',
|
|
95907
|
+
left: langdetect != 'ar' ? sectionproperties.outstock_right + 'px' : '',
|
|
95908
|
+
right: langdetect != 'ar' ? '' : sectionproperties.outstock_right + 'px',
|
|
95909
|
+
width: sectionproperties.outstock_width + 'px',
|
|
95910
|
+
height: sectionproperties.outstock_height + 'px',
|
|
95911
95911
|
background: sectionproperties.outstock_bg,
|
|
95912
95912
|
color: sectionproperties.outstock_color,
|
|
95913
|
-
fontSize: sectionproperties.outstock_fontSize +
|
|
95914
|
-
borderRadius: sectionproperties.outstock_borderradius +
|
|
95913
|
+
fontSize: sectionproperties.outstock_fontSize + 'px',
|
|
95914
|
+
borderRadius: sectionproperties.outstock_borderradius + 'px',
|
|
95915
95915
|
zIndex: 2
|
|
95916
95916
|
}),
|
|
95917
95917
|
outstockbadgecentered: css({
|
|
95918
|
-
position:
|
|
95918
|
+
position: 'absolute',
|
|
95919
95919
|
top: 0,
|
|
95920
95920
|
bottom: 0,
|
|
95921
95921
|
left: 0,
|
|
95922
95922
|
right: 0,
|
|
95923
|
-
margin:
|
|
95924
|
-
width: sectionproperties.outstock_width +
|
|
95925
|
-
height: sectionproperties.outstock_height +
|
|
95923
|
+
margin: 'auto',
|
|
95924
|
+
width: sectionproperties.outstock_width + 'px',
|
|
95925
|
+
height: sectionproperties.outstock_height + 'px',
|
|
95926
95926
|
background: sectionproperties.outstock_bg,
|
|
95927
95927
|
color: sectionproperties.outstock_color,
|
|
95928
|
-
fontSize: sectionproperties.outstock_fontSize +
|
|
95929
|
-
borderRadius: sectionproperties.outstock_borderradius +
|
|
95928
|
+
fontSize: sectionproperties.outstock_fontSize + 'px',
|
|
95929
|
+
borderRadius: sectionproperties.outstock_borderradius + 'px',
|
|
95930
95930
|
zIndex: 2
|
|
95931
95931
|
}),
|
|
95932
95932
|
quantity: css({
|
|
95933
95933
|
color: sectionproperties.quantitycolor,
|
|
95934
|
-
fontSize: sectionproperties.quantityfontsize +
|
|
95934
|
+
fontSize: sectionproperties.quantityfontsize + 'px',
|
|
95935
95935
|
fontWeight: sectionproperties.quantityfontweight
|
|
95936
95936
|
}),
|
|
95937
95937
|
quantitybtn: css({
|
|
95938
|
-
height: sectionproperties.quantitybtn_height +
|
|
95939
|
-
width: sectionproperties.quantitybtn_width +
|
|
95940
|
-
display:
|
|
95941
|
-
flexDirection:
|
|
95942
|
-
overflow:
|
|
95943
|
-
borderRadius: sectionproperties.quantitybtn_borderradius +
|
|
95938
|
+
height: sectionproperties.quantitybtn_height + 'px',
|
|
95939
|
+
width: sectionproperties.quantitybtn_width + 'px',
|
|
95940
|
+
display: 'flex',
|
|
95941
|
+
flexDirection: 'row',
|
|
95942
|
+
overflow: 'hidden',
|
|
95943
|
+
borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
|
|
95944
95944
|
background: sectionproperties.quantitybtn_bgcolor,
|
|
95945
|
-
alignItems:
|
|
95946
|
-
justifyContent:
|
|
95945
|
+
alignItems: 'center',
|
|
95946
|
+
justifyContent: 'center',
|
|
95947
95947
|
margin: 0,
|
|
95948
|
-
position:
|
|
95948
|
+
position: 'relative',
|
|
95949
95949
|
fontWeight: sectionproperties.quantitybtn_textfontweight,
|
|
95950
95950
|
color: sectionproperties.quantitybtn_textcolor,
|
|
95951
|
-
fontSize: sectionproperties.quantitybtn_textfontsize +
|
|
95952
|
-
border: sectionproperties.quantitybtnborderwidth +
|
|
95951
|
+
fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
|
|
95952
|
+
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
95953
95953
|
zIndex: 100
|
|
95954
95954
|
}),
|
|
95955
95955
|
quantitybtn_text: css({
|
|
95956
|
-
margin:
|
|
95956
|
+
margin: 'auto'
|
|
95957
95957
|
}),
|
|
95958
95958
|
add_quantitybtn_icon_container: css({
|
|
95959
|
-
position:
|
|
95960
|
-
width: sectionproperties.add_quantitybtn_width +
|
|
95961
|
-
height: sectionproperties.add_quantitybtn_height +
|
|
95959
|
+
position: 'relative',
|
|
95960
|
+
width: sectionproperties.add_quantitybtn_width + 'px',
|
|
95961
|
+
height: sectionproperties.add_quantitybtn_height + 'px',
|
|
95962
95962
|
background: sectionproperties.add_quantitybtn_bgcolor,
|
|
95963
|
-
display:
|
|
95964
|
-
alignItems:
|
|
95965
|
-
justifyContent:
|
|
95966
|
-
borderTopLeftRadius: langdetect !=
|
|
95967
|
-
borderBottomLeftRadius: langdetect !=
|
|
95968
|
-
borderTopRightRadius: langdetect !=
|
|
95969
|
-
borderBottomRightRadius: langdetect !=
|
|
95970
|
-
fontSize: sectionproperties.add_quantitybtn_textfontsize +
|
|
95963
|
+
display: 'flex',
|
|
95964
|
+
alignItems: 'center',
|
|
95965
|
+
justifyContent: 'center',
|
|
95966
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
|
|
95967
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
|
|
95968
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
|
|
95969
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
|
|
95970
|
+
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
|
|
95971
95971
|
color: sectionproperties.add_quantitybtn_textcolor,
|
|
95972
|
-
transition:
|
|
95973
|
-
|
|
95972
|
+
transition: '.3s',
|
|
95973
|
+
':hover': {
|
|
95974
95974
|
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
95975
95975
|
background: sectionproperties.add_quantitybtn_bgcoloronhover
|
|
95976
95976
|
},
|
|
95977
|
-
|
|
95977
|
+
':hover .addbtn': {
|
|
95978
95978
|
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
95979
|
-
transition:
|
|
95979
|
+
transition: '.3s'
|
|
95980
95980
|
}
|
|
95981
95981
|
}),
|
|
95982
95982
|
minus_quantitybtn_icon_container: css({
|
|
95983
|
-
position:
|
|
95984
|
-
display:
|
|
95985
|
-
alignItems:
|
|
95986
|
-
justifyContent:
|
|
95987
|
-
width: sectionproperties.remove_quantitybtn_width +
|
|
95988
|
-
height: sectionproperties.remove_quantitybtn_height +
|
|
95983
|
+
position: 'relative',
|
|
95984
|
+
display: 'flex',
|
|
95985
|
+
alignItems: 'center',
|
|
95986
|
+
justifyContent: 'center',
|
|
95987
|
+
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
95988
|
+
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
95989
95989
|
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
95990
|
-
fontSize: sectionproperties.remove_quantitybtn_textfontsize +
|
|
95990
|
+
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
|
|
95991
95991
|
color: sectionproperties.remove_quantitybtn_textcolor,
|
|
95992
|
-
borderTopLeftRadius: langdetect !=
|
|
95993
|
-
borderBottomLeftRadius: langdetect !=
|
|
95994
|
-
borderTopRightRadius: langdetect !=
|
|
95995
|
-
borderBottomRightRadius: langdetect !=
|
|
95996
|
-
transition:
|
|
95997
|
-
|
|
95992
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
|
|
95993
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
|
|
95994
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
|
|
95995
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
|
|
95996
|
+
transition: '.3s',
|
|
95997
|
+
':hover': {
|
|
95998
95998
|
color: sectionproperties.remove_quantitybtn_textcoloronhover,
|
|
95999
95999
|
background: sectionproperties.remove_quantitybtn_bgcoloronhover
|
|
96000
96000
|
},
|
|
96001
|
-
|
|
96002
|
-
transition:
|
|
96001
|
+
':hover .minusbtn': {
|
|
96002
|
+
transition: '.3s',
|
|
96003
96003
|
color: sectionproperties.remove_quantitybtn_textcoloronhover
|
|
96004
96004
|
}
|
|
96005
96005
|
})
|
|
96006
96006
|
};
|
|
96007
96007
|
return /*#__PURE__*/React.createElement("div", {
|
|
96008
|
-
"class": props.sectiontypeprops2 ==
|
|
96008
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : " ".concat(card_cssstyles.productcard),
|
|
96009
96009
|
style: {
|
|
96010
|
-
paddingLeft: langdetect !=
|
|
96011
|
-
paddingRight: langdetect !=
|
|
96010
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
96011
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
96012
96012
|
}
|
|
96013
96013
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
96014
|
-
"class":
|
|
96014
|
+
"class": ' cursor-pointer w-100 ',
|
|
96015
96015
|
style: {
|
|
96016
96016
|
background: sectionproperties.backgroundColor,
|
|
96017
|
-
borderBottomLeftRadius: langdetect !=
|
|
96018
|
-
borderBottomRightRadius: langdetect !=
|
|
96019
|
-
borderTopLeftRadius: langdetect !=
|
|
96020
|
-
borderTopRightRadius: langdetect !=
|
|
96021
|
-
marginTop: sectionproperties.marginTop +
|
|
96022
|
-
marginBottom: sectionproperties.marginBottom +
|
|
96023
|
-
border: sectionproperties.sectioncardborderwidth +
|
|
96024
|
-
paddingTop: sectionproperties.paddingTop +
|
|
96025
|
-
paddingBottom: sectionproperties.paddingBottom +
|
|
96026
|
-
paddingLeft: langdetect !=
|
|
96027
|
-
paddingRight: langdetect !=
|
|
96028
|
-
transition:
|
|
96017
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
96018
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
96019
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
96020
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
96021
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
96022
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
96023
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
96024
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
96025
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
96026
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
96027
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
96028
|
+
transition: '.3s'
|
|
96029
96029
|
}
|
|
96030
96030
|
}, /*#__PURE__*/React.createElement("div", {
|
|
96031
96031
|
"class": "w-100",
|
|
96032
96032
|
style: {
|
|
96033
|
-
position:
|
|
96033
|
+
position: 'relative'
|
|
96034
96034
|
}
|
|
96035
|
-
}, sectionproperties.favBtnShow ==
|
|
96036
|
-
"class": " ".concat(card_cssstyles.wishlist_btn) +
|
|
96035
|
+
}, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
|
|
96036
|
+
"class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
96037
96037
|
onClick: function onClick(e) {
|
|
96038
96038
|
e.stopPropagation();
|
|
96039
96039
|
addtofavoritescontext(item.productid);
|
|
96040
96040
|
},
|
|
96041
96041
|
style: {
|
|
96042
96042
|
zIndex: 2,
|
|
96043
|
-
position:
|
|
96043
|
+
position: 'absolute',
|
|
96044
96044
|
top: 5,
|
|
96045
|
-
right: langdetect !=
|
|
96046
|
-
left: langdetect !=
|
|
96047
|
-
background: item.IsFavExists == true ? sectionproperties.favbtn_bgtransparent ==
|
|
96045
|
+
right: langdetect != 'ar' ? 5 : '',
|
|
96046
|
+
left: langdetect != 'ar' ? '' : 5,
|
|
96047
|
+
background: item.IsFavExists == true ? sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.activebgcolor : ''
|
|
96048
96048
|
}
|
|
96049
96049
|
}, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
96050
96050
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
96051
|
-
}, sectionproperties.faviconshape ==
|
|
96051
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar$1, {
|
|
96052
96052
|
size: sectionproperties.favBtnIconfontsize,
|
|
96053
96053
|
style: {
|
|
96054
96054
|
color: sectionproperties.activefaviconcolor
|
|
96055
96055
|
}
|
|
96056
|
-
}), sectionproperties.faviconshape ==
|
|
96056
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart$1, {
|
|
96057
96057
|
size: sectionproperties.favBtnIconfontsize,
|
|
96058
96058
|
style: {
|
|
96059
96059
|
color: sectionproperties.activefaviconcolor
|
|
96060
96060
|
}
|
|
96061
96061
|
})), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
|
|
96062
96062
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
96063
|
-
}, sectionproperties.faviconshape ==
|
|
96063
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
|
|
96064
96064
|
size: sectionproperties.favBtnIconfontsize
|
|
96065
|
-
}), sectionproperties.faviconshape ==
|
|
96065
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
|
|
96066
96066
|
size: sectionproperties.favBtnIconfontsize
|
|
96067
|
-
}))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge ==
|
|
96067
|
+
}))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
96068
96068
|
"class": "align-items-center justify-content-center font-weight-500",
|
|
96069
96069
|
style: {
|
|
96070
96070
|
zIndex: 2,
|
|
96071
|
-
position:
|
|
96072
|
-
top: sectionproperties.badge_top +
|
|
96073
|
-
left: langdetect !=
|
|
96074
|
-
right: langdetect !=
|
|
96075
|
-
width: sectionproperties.badge_width +
|
|
96076
|
-
height: sectionproperties.badge_height +
|
|
96071
|
+
position: 'absolute',
|
|
96072
|
+
top: sectionproperties.badge_top + 'px',
|
|
96073
|
+
left: langdetect != 'ar' ? sectionproperties.badge_right + 'px' : '',
|
|
96074
|
+
right: langdetect != 'ar' ? '' : sectionproperties.badge_right + 'px',
|
|
96075
|
+
width: sectionproperties.badge_width + 'px',
|
|
96076
|
+
height: sectionproperties.badge_height + 'px',
|
|
96077
96077
|
background: sectionproperties.badge_bgcolor,
|
|
96078
|
-
borderRadius: sectionproperties.badge_borderradius +
|
|
96079
|
-
display: item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
96078
|
+
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
96079
|
+
display: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && sectionproperties.outofstock_replacebadges == 'Replace' ? 'none' : 'flex'
|
|
96080
96080
|
}
|
|
96081
96081
|
}, /*#__PURE__*/React.createElement("p", {
|
|
96082
96082
|
"class": "m-0 p-0",
|
|
96083
96083
|
style: {
|
|
96084
96084
|
color: sectionproperties.badge_color,
|
|
96085
|
-
fontSize: sectionproperties.badge_fontsize +
|
|
96085
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
96086
96086
|
}
|
|
96087
|
-
}, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill ==
|
|
96087
|
+
}, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
96088
96088
|
"class": "align-items-center justify-content-center",
|
|
96089
96089
|
style: {
|
|
96090
96090
|
zIndex: 2,
|
|
96091
|
-
position:
|
|
96092
|
-
top: sectionproperties.pillpositionfromtop +
|
|
96093
|
-
left: langdetect !=
|
|
96094
|
-
right: langdetect !=
|
|
96095
|
-
width: sectionproperties.pillwidth +
|
|
96096
|
-
height: sectionproperties.pillheight +
|
|
96091
|
+
position: 'absolute',
|
|
96092
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
96093
|
+
left: langdetect != 'ar' ? sectionproperties.pillpositionfromright + 'px' : '',
|
|
96094
|
+
right: langdetect != 'ar' ? '' : sectionproperties.pillpositionfromright + 'px',
|
|
96095
|
+
width: sectionproperties.pillwidth + 'px',
|
|
96096
|
+
height: sectionproperties.pillheight + 'px',
|
|
96097
96097
|
background: sectionproperties.pillbgcolor,
|
|
96098
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius +
|
|
96099
|
-
display: item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
96098
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
|
|
96099
|
+
display: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && sectionproperties.outofstock_replacebadges == 'Replace' ? 'none' : 'flex'
|
|
96100
96100
|
}
|
|
96101
96101
|
}, /*#__PURE__*/React.createElement("p", {
|
|
96102
96102
|
"class": "m-0 p-0 text-uppercase",
|
|
96103
96103
|
style: {
|
|
96104
96104
|
color: sectionproperties.pillcolor,
|
|
96105
|
-
fontSize: sectionproperties.pillfontSize +
|
|
96106
|
-
direction:
|
|
96105
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
96106
|
+
direction: 'ltr'
|
|
96107
96107
|
}
|
|
96108
|
-
},
|
|
96108
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')), /*#__PURE__*/React.createElement("div", {
|
|
96109
96109
|
onClick: function onClick() {
|
|
96110
|
-
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) ==
|
|
96110
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
|
|
96111
96111
|
setShowProductInfoModalContext(true);
|
|
96112
96112
|
setProductIdProdutInfoModalContext(item.productid);
|
|
96113
96113
|
} else {
|
|
96114
96114
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
96115
96115
|
}
|
|
96116
96116
|
},
|
|
96117
|
-
"class": "".concat(card_cssstyles.productcardimagecont) +
|
|
96117
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center d-md-none ',
|
|
96118
96118
|
style: {
|
|
96119
96119
|
zIndex: 1,
|
|
96120
|
-
marginBottom: sectionproperties.image_mb +
|
|
96120
|
+
marginBottom: sectionproperties.image_mb + 'px'
|
|
96121
96121
|
}
|
|
96122
|
-
}, item.image !=
|
|
96122
|
+
}, item.image != '' && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
96123
96123
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
96124
96124
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
96125
|
-
path:
|
|
96125
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
96126
96126
|
loading: "lazy",
|
|
96127
96127
|
style: {
|
|
96128
|
-
width: sectionproperties.imageInnerWidth_Height +
|
|
96129
|
-
height: sectionproperties.imageInnerWidth_Height +
|
|
96130
|
-
objectFit: sectionproperties.bgcovercontain ==
|
|
96128
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
96129
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
96130
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
96131
96131
|
}
|
|
96132
96132
|
})), /*#__PURE__*/React.createElement("div", {
|
|
96133
96133
|
onClick: function onClick() {
|
|
96134
|
-
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) ==
|
|
96134
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
|
|
96135
96135
|
setShowProductInfoModalContext(true);
|
|
96136
96136
|
setProductIdProdutInfoModalContext(item.productid);
|
|
96137
96137
|
} else {
|
|
96138
96138
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
96139
96139
|
}
|
|
96140
96140
|
},
|
|
96141
|
-
"class": "".concat(card_cssstyles.productcardimagecont) +
|
|
96141
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-none d-md-flex align-items-center justify-content-center ',
|
|
96142
96142
|
style: {
|
|
96143
96143
|
zIndex: 1,
|
|
96144
|
-
marginBottom: sectionproperties.image_mb +
|
|
96145
|
-
height: sectionproperties.height_responsive == 0 ?
|
|
96144
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
96145
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + 'px'
|
|
96146
96146
|
}
|
|
96147
|
-
}, item.image !=
|
|
96147
|
+
}, item.image != '' && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
96148
96148
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
96149
96149
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
96150
|
-
path:
|
|
96150
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
96151
96151
|
loading: "lazy",
|
|
96152
96152
|
style: {
|
|
96153
|
-
width: sectionproperties.imageInnerWidth_Height +
|
|
96154
|
-
height: sectionproperties.imageInnerWidth_Height +
|
|
96155
|
-
objectFit: sectionproperties.bgcovercontain ==
|
|
96153
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
96154
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
96155
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
96156
96156
|
}
|
|
96157
|
-
})), item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
96158
|
-
"class": "".concat(card_cssstyles.outstockbadge) +
|
|
96157
|
+
})), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && sectionproperties.outofstock_centered == 'Not centered' && /*#__PURE__*/React.createElement("div", {
|
|
96158
|
+
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
96159
96159
|
}, /*#__PURE__*/React.createElement("p", {
|
|
96160
96160
|
"class": "m-0 p-0"
|
|
96161
|
-
}, sectionproperties
|
|
96162
|
-
"class": "".concat(card_cssstyles.outstockbadgecentered) +
|
|
96161
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar)), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && sectionproperties.outofstock_centered == 'Centered' && /*#__PURE__*/React.createElement("div", {
|
|
96162
|
+
"class": "".concat(card_cssstyles.outstockbadgecentered) + ' allcentered '
|
|
96163
96163
|
}, /*#__PURE__*/React.createElement("p", {
|
|
96164
96164
|
"class": "m-0 p-0"
|
|
96165
|
-
}, sectionproperties
|
|
96166
|
-
"class": "".concat(card_cssstyles.cart_btn) +
|
|
96165
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar)), sectionproperties.cartBtnShow == 'Show' && showquantity == false && /*#__PURE__*/React.createElement("div", {
|
|
96166
|
+
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
96167
96167
|
onClick: function onClick() {
|
|
96168
|
-
if (sectionproperties.quantitybtn_show ==
|
|
96168
|
+
if (sectionproperties.quantitybtn_show == 'Show' && showquantity == false) {
|
|
96169
96169
|
setshowquantity(true);
|
|
96170
96170
|
if (item.hasvariants == 0) {
|
|
96171
96171
|
var tempitem = _objectSpread$2({}, item);
|
|
96172
96172
|
tempitem.quantity = 1;
|
|
96173
96173
|
setitem(_objectSpread$2({}, tempitem));
|
|
96174
|
-
addtocartfunc(
|
|
96174
|
+
addtocartfunc('add', tempitem.quantity);
|
|
96175
96175
|
}
|
|
96176
96176
|
} else {
|
|
96177
|
-
if (item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
96178
|
-
NotificationManager.warning(
|
|
96177
|
+
if (item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0) {
|
|
96178
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Sold Out' : 'نفذت الكمية');
|
|
96179
96179
|
} else {
|
|
96180
96180
|
setShowProductInfoModalContext(true);
|
|
96181
96181
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -96183,36 +96183,36 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
96183
96183
|
}
|
|
96184
96184
|
}
|
|
96185
96185
|
}, /*#__PURE__*/React.createElement("i", {
|
|
96186
|
-
"class":
|
|
96187
|
-
}, sectionproperties.carticonstyle ==
|
|
96186
|
+
"class": 'h-100 allcentered'
|
|
96187
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
|
|
96188
96188
|
"class": "",
|
|
96189
96189
|
size: sectionproperties.cartBtn_iconFontSize
|
|
96190
|
-
}), sectionproperties.carticonstyle ==
|
|
96190
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
|
|
96191
96191
|
"class": "",
|
|
96192
96192
|
size: sectionproperties.cartBtn_iconFontSize
|
|
96193
|
-
}), sectionproperties.carticonstyle ==
|
|
96193
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
|
|
96194
96194
|
"class": "",
|
|
96195
96195
|
size: sectionproperties.cartBtn_iconFontSize
|
|
96196
|
-
}), sectionproperties.carticonstyle ==
|
|
96196
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
|
|
96197
96197
|
size: sectionproperties.cartBtn_iconFontSize
|
|
96198
|
-
}), sectionproperties.carticonstyle ==
|
|
96198
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
|
|
96199
96199
|
"class": "",
|
|
96200
96200
|
size: sectionproperties.cartBtn_iconFontSize
|
|
96201
|
-
}), sectionproperties.carticonstyle ==
|
|
96201
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
|
|
96202
96202
|
size: sectionproperties.cartBtn_iconFontSize
|
|
96203
|
-
}), sectionproperties.carticonstyle ==
|
|
96203
|
+
}), sectionproperties.carticonstyle == 'Plus Icon' && /*#__PURE__*/React.createElement(HiOutlinePlus, {
|
|
96204
96204
|
size: sectionproperties.cartBtn_iconFontSize
|
|
96205
|
-
}))), showquantity == true && sectionproperties.quantitybtn_show ==
|
|
96205
|
+
}))), showquantity == true && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
96206
96206
|
"class": "row m-0 w-100 d-flex align-items-center justify-content-end",
|
|
96207
96207
|
style: {
|
|
96208
|
-
position:
|
|
96208
|
+
position: 'absolute',
|
|
96209
96209
|
bottom: 10,
|
|
96210
96210
|
right: 10
|
|
96211
96211
|
}
|
|
96212
96212
|
}, /*#__PURE__*/React.createElement("div", {
|
|
96213
|
-
"class": "".concat(card_cssstyles.quantitybtn) +
|
|
96213
|
+
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center ',
|
|
96214
96214
|
style: {
|
|
96215
|
-
direction:
|
|
96215
|
+
direction: 'ltr'
|
|
96216
96216
|
}
|
|
96217
96217
|
}, /*#__PURE__*/React.createElement("button", {
|
|
96218
96218
|
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
@@ -96225,7 +96225,7 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
96225
96225
|
tempitem.quantity = 0;
|
|
96226
96226
|
}
|
|
96227
96227
|
setitem(_objectSpread$2({}, tempitem));
|
|
96228
|
-
addtocartfunc(
|
|
96228
|
+
addtocartfunc('add', tempitem.quantity);
|
|
96229
96229
|
} else {
|
|
96230
96230
|
setShowProductInfoModalContext(true);
|
|
96231
96231
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -96235,7 +96235,7 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
96235
96235
|
}, /*#__PURE__*/React.createElement("i", {
|
|
96236
96236
|
"class": "h-100 allcentered minusbtn"
|
|
96237
96237
|
}, /*#__PURE__*/React.createElement(FiMinus, null))), /*#__PURE__*/React.createElement("span", {
|
|
96238
|
-
"class": "".concat(card_cssstyles.quantitybtn_text) +
|
|
96238
|
+
"class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center '
|
|
96239
96239
|
}, addtocartbuttonrender()), /*#__PURE__*/React.createElement("button", {
|
|
96240
96240
|
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container),
|
|
96241
96241
|
onClick: function onClick() {
|
|
@@ -96247,7 +96247,7 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
96247
96247
|
tempitem.quantity = 0;
|
|
96248
96248
|
}
|
|
96249
96249
|
setitem(_objectSpread$2({}, tempitem));
|
|
96250
|
-
addtocartfunc(
|
|
96250
|
+
addtocartfunc('add', tempitem.quantity);
|
|
96251
96251
|
} else {
|
|
96252
96252
|
setShowProductInfoModalContext(true);
|
|
96253
96253
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -96262,27 +96262,27 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
96262
96262
|
"class": "col-lg-12 p-0 mb-1"
|
|
96263
96263
|
}, /*#__PURE__*/React.createElement("div", {
|
|
96264
96264
|
"class": "row m-0 w-100 d-flex align-items-center justify-content-start"
|
|
96265
|
-
}, sectionproperties.prodPriceShow ==
|
|
96266
|
-
"class": "".concat(card_cssstyles.productPricestyles) +
|
|
96267
|
-
}, langdetect !=
|
|
96265
|
+
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
|
|
96266
|
+
"class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
|
|
96267
|
+
}, langdetect != 'ar' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != 'ar' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
|
|
96268
96268
|
"class": " d-flex align-items-center justify-content-center p-0 mb-0"
|
|
96269
96269
|
}, /*#__PURE__*/React.createElement("p", {
|
|
96270
|
-
"class": "".concat(card_cssstyles.productSalePricestyles) +
|
|
96271
|
-
}, langdetect !=
|
|
96270
|
+
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
96271
|
+
}, langdetect != 'ar' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect != 'ar' ? '' : 'ج.م')))), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
96272
96272
|
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
96273
96273
|
}, /*#__PURE__*/React.createElement("p", {
|
|
96274
96274
|
onClick: function onClick() {
|
|
96275
96275
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
96276
96276
|
},
|
|
96277
|
-
"class": sectionproperties.wordbreak ==
|
|
96277
|
+
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 m-0 ',
|
|
96278
96278
|
style: {
|
|
96279
|
-
textAlign: langdetect !=
|
|
96280
|
-
height: sectionproperties.wordbreak ==
|
|
96279
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
96280
|
+
height: sectionproperties.wordbreak == '2' ? '6vh' : 'auto'
|
|
96281
96281
|
}
|
|
96282
|
-
}, item.name)), sectionproperties.quantityshow ==
|
|
96282
|
+
}, item.name)), sectionproperties.quantityshow == 'Show' && item.quantity != null && /*#__PURE__*/React.createElement("div", {
|
|
96283
96283
|
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
96284
96284
|
}, /*#__PURE__*/React.createElement("p", {
|
|
96285
|
-
"class": "".concat(card_cssstyles.quantity) +
|
|
96285
|
+
"class": "".concat(card_cssstyles.quantity) + ' m-0 '
|
|
96286
96286
|
}, item.measurmentunit))))));
|
|
96287
96287
|
};
|
|
96288
96288
|
|