tabexseriescomponents 0.50.193 → 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 +603 -603
- package/dist/index.esm.js +603 -603
- package/dist/index.umd.js +603 -603
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -82928,7 +82928,7 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
|
|
|
82928
82928
|
"class": "".concat(card_cssstyles.outstockbadge) + " allcentered "
|
|
82929
82929
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
82930
82930
|
"class": "m-0 p-0"
|
|
82931
|
-
}, sectionproperties
|
|
82931
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
82932
82932
|
"class": "col-lg-12 p-0"
|
|
82933
82933
|
}, sectionproperties.prodNameShow == "Show" && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
82934
82934
|
"class": "row m-0 w-100 align-items-center justify-content-center text-center mb-2"
|
|
@@ -85212,7 +85212,7 @@ var Card23 = function Card23(props) {
|
|
|
85212
85212
|
"class": "".concat(cardsstyles2.outstockbadge) + ' allcentered '
|
|
85213
85213
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
85214
85214
|
"class": "m-0 p-0"
|
|
85215
|
-
}, sectionproperties
|
|
85215
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar)));
|
|
85216
85216
|
};
|
|
85217
85217
|
var _useState9 = React.useState(''),
|
|
85218
85218
|
_useState0 = _slicedToArray__default["default"](_useState9, 2),
|
|
@@ -85844,7 +85844,7 @@ styleInject(css_248z$c);
|
|
|
85844
85844
|
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; }
|
|
85845
85845
|
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__default["default"](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; }
|
|
85846
85846
|
var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(props) {
|
|
85847
|
-
var _useState = React.useState(
|
|
85847
|
+
var _useState = React.useState(''),
|
|
85848
85848
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
85849
85849
|
sectionproperties = _useState2[0],
|
|
85850
85850
|
setsectionproperties = _useState2[1];
|
|
@@ -85866,7 +85866,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
85866
85866
|
var NotificationManager = props.actions.NotificationManager;
|
|
85867
85867
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
85868
85868
|
React.useEffect(function () {
|
|
85869
|
-
if (props.srcfrom ==
|
|
85869
|
+
if (props.srcfrom == 'addsectionform') {
|
|
85870
85870
|
var secpropobj = {};
|
|
85871
85871
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
85872
85872
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
@@ -85890,9 +85890,9 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
85890
85890
|
var updatequantity = function updatequantity(type) {
|
|
85891
85891
|
var tempitem = _objectSpread$w({}, item);
|
|
85892
85892
|
tempitem.quantity = parseInt(tempitem.quantity);
|
|
85893
|
-
if (type ==
|
|
85893
|
+
if (type == 'add') {
|
|
85894
85894
|
tempitem.quantity = tempitem.quantity + 1;
|
|
85895
|
-
} else if (type ==
|
|
85895
|
+
} else if (type == 'remove') {
|
|
85896
85896
|
tempitem.quantity = tempitem.quantity - 1;
|
|
85897
85897
|
}
|
|
85898
85898
|
if (tempitem.quantity <= 0) {
|
|
@@ -85902,9 +85902,9 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
85902
85902
|
};
|
|
85903
85903
|
var addtocartfunc = function addtocartfunc() {
|
|
85904
85904
|
var addtocardpayloadobj = {
|
|
85905
|
-
functype:
|
|
85905
|
+
functype: 'add',
|
|
85906
85906
|
productid: item.productid,
|
|
85907
|
-
variantid:
|
|
85907
|
+
variantid: '',
|
|
85908
85908
|
quantity: item.quantity,
|
|
85909
85909
|
vendorid: item.vendorid
|
|
85910
85910
|
};
|
|
@@ -85914,19 +85914,19 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
85914
85914
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
85915
85915
|
runfunc = true;
|
|
85916
85916
|
} else {
|
|
85917
|
-
NotificationManager.warning(
|
|
85917
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
|
|
85918
85918
|
}
|
|
85919
85919
|
} else {
|
|
85920
85920
|
runfunc = true;
|
|
85921
85921
|
}
|
|
85922
85922
|
} else {
|
|
85923
|
-
NotificationManager.warning(
|
|
85923
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
|
|
85924
85924
|
}
|
|
85925
85925
|
if (runfunc == true) {
|
|
85926
85926
|
AddtoCartContext(addtocardpayloadobj);
|
|
85927
85927
|
}
|
|
85928
85928
|
};
|
|
85929
|
-
var _useState5 = React.useState(
|
|
85929
|
+
var _useState5 = React.useState(''),
|
|
85930
85930
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
85931
85931
|
secondimage = _useState6[0],
|
|
85932
85932
|
setsecondimage = _useState6[1];
|
|
@@ -85958,35 +85958,35 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
85958
85958
|
}, [props.cardinfoitemprops]);
|
|
85959
85959
|
var Image = function Image(type) {
|
|
85960
85960
|
var transition = false;
|
|
85961
|
-
if (sectionproperties.hideshowcardtransition ==
|
|
85961
|
+
if (sectionproperties.hideshowcardtransition == 'Show' && type != 'responsive') {
|
|
85962
85962
|
transition = true;
|
|
85963
85963
|
}
|
|
85964
85964
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
85965
85965
|
"class": "w-100 cursor-pointer h-100",
|
|
85966
85966
|
style: {
|
|
85967
|
-
position:
|
|
85967
|
+
position: 'relative'
|
|
85968
85968
|
}
|
|
85969
85969
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
85970
|
-
"class": transition ? cardsstyles$4.intialimage :
|
|
85970
|
+
"class": transition ? cardsstyles$4.intialimage : '',
|
|
85971
85971
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
85972
85972
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
85973
|
-
path:
|
|
85973
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
85974
85974
|
loading: "lazy",
|
|
85975
85975
|
style: {
|
|
85976
|
-
width:
|
|
85977
|
-
height:
|
|
85978
|
-
objectFit: sectionproperties.bgcovercontain ==
|
|
85976
|
+
width: '100%',
|
|
85977
|
+
height: '100%',
|
|
85978
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
85979
85979
|
}
|
|
85980
85980
|
}), transition && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
85981
85981
|
"class": cardsstyles$4.secondaryimage,
|
|
85982
85982
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
85983
85983
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
85984
|
-
path:
|
|
85984
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + secondimage,
|
|
85985
85985
|
loading: "lazy",
|
|
85986
85986
|
style: {
|
|
85987
|
-
width:
|
|
85988
|
-
height:
|
|
85989
|
-
objectFit: sectionproperties.bgcovercontain ==
|
|
85987
|
+
width: '100%',
|
|
85988
|
+
height: '100%',
|
|
85989
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
85990
85990
|
}
|
|
85991
85991
|
}));
|
|
85992
85992
|
};
|
|
@@ -85996,171 +85996,171 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
85996
85996
|
_useState8[1];
|
|
85997
85997
|
var cardsstyles2 = {
|
|
85998
85998
|
productcard: glamor.css({
|
|
85999
|
-
background: sectionproperties.backgroundColortransparent ==
|
|
85999
|
+
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
86000
86000
|
opacity: sectionproperties.cardbg_opacity,
|
|
86001
|
-
borderBottomLeftRadius: langdetect !=
|
|
86002
|
-
borderBottomRightRadius: langdetect !=
|
|
86003
|
-
borderTopLeftRadius: langdetect !=
|
|
86004
|
-
borderTopRightRadius: langdetect !=
|
|
86005
|
-
paddingTop: sectionproperties.paddingTop +
|
|
86006
|
-
paddingBottom: sectionproperties.paddingBottom +
|
|
86007
|
-
paddingLeft: langdetect !=
|
|
86008
|
-
paddingRight: langdetect !=
|
|
86009
|
-
boxShadow: sectionproperties.sectioncardshadow ==
|
|
86010
|
-
border: sectionproperties.sectioncardborderwidth +
|
|
86011
|
-
transition:
|
|
86012
|
-
|
|
86001
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
86002
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
86003
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
86004
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
86005
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
86006
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
86007
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
86008
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
86009
|
+
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
86010
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
86011
|
+
transition: '.3s',
|
|
86012
|
+
':hover': {
|
|
86013
86013
|
// zIndex: 1000,
|
|
86014
86014
|
}
|
|
86015
86015
|
}),
|
|
86016
86016
|
productNameStyles: glamor.css({
|
|
86017
86017
|
color: sectionproperties.prodNameColor,
|
|
86018
|
-
fontSize: sectionproperties.prodNameFontSize +
|
|
86018
|
+
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
86019
86019
|
textTransform: sectionproperties.prodNameTextTranform,
|
|
86020
86020
|
fontWeight: sectionproperties.prodNameFontWeight,
|
|
86021
|
-
transition:
|
|
86022
|
-
cursor:
|
|
86023
|
-
|
|
86021
|
+
transition: '.3s',
|
|
86022
|
+
cursor: 'pointer',
|
|
86023
|
+
':hover': {
|
|
86024
86024
|
color: sectionproperties.prodNameColorOnHover
|
|
86025
86025
|
}
|
|
86026
86026
|
}),
|
|
86027
86027
|
productDescStyles: glamor.css({
|
|
86028
86028
|
color: sectionproperties.prodCatColor,
|
|
86029
|
-
fontSize: sectionproperties.prodCatFontSize +
|
|
86029
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
86030
86030
|
textTransform: sectionproperties.prodCatTextTranform,
|
|
86031
86031
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
86032
|
-
transition:
|
|
86032
|
+
transition: '.3s'
|
|
86033
86033
|
}),
|
|
86034
86034
|
productPricestyles: glamor.css({
|
|
86035
86035
|
color: sectionproperties.prodPriceColor,
|
|
86036
|
-
fontSize: sectionproperties.prodpriceFontSize +
|
|
86036
|
+
fontSize: sectionproperties.prodpriceFontSize + 'px',
|
|
86037
86037
|
fontWeight: sectionproperties.prodPriceFontWeight
|
|
86038
86038
|
}),
|
|
86039
86039
|
productSalePricestyles: glamor.css({
|
|
86040
86040
|
color: sectionproperties.prodsalePriceColor,
|
|
86041
|
-
fontSize: sectionproperties.prodsalepriceFontSize +
|
|
86041
|
+
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
86042
86042
|
fontWeight: sectionproperties.prodsalePriceFontWeight
|
|
86043
86043
|
}),
|
|
86044
86044
|
producttotalstyles: glamor.css({
|
|
86045
86045
|
color: sectionproperties.total_color,
|
|
86046
|
-
fontSize: sectionproperties.total_fontsize +
|
|
86046
|
+
fontSize: sectionproperties.total_fontsize + 'px',
|
|
86047
86047
|
fontWeight: 500
|
|
86048
86048
|
}),
|
|
86049
86049
|
wishlist_btn: glamor.css({
|
|
86050
|
-
width: sectionproperties.favBtnWidth +
|
|
86051
|
-
height: sectionproperties.favBtnHeight +
|
|
86052
|
-
background: sectionproperties.favbtn_bgtransparent ==
|
|
86053
|
-
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius +
|
|
86050
|
+
width: sectionproperties.favBtnWidth + 'px',
|
|
86051
|
+
height: sectionproperties.favBtnHeight + 'px',
|
|
86052
|
+
background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
|
|
86053
|
+
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
|
|
86054
86054
|
color: sectionproperties.favBtniconcolor,
|
|
86055
|
-
fontSize: sectionproperties.favBtnTextfontsize +
|
|
86055
|
+
fontSize: sectionproperties.favBtnTextfontsize + 'px',
|
|
86056
86056
|
fontWeight: sectionproperties.favBtnTextfontweight,
|
|
86057
|
-
transition:
|
|
86058
|
-
border: sectionproperties.favbtnborderwidth +
|
|
86059
|
-
|
|
86060
|
-
background: sectionproperties.favbtn_transparentbgcoloronhover ==
|
|
86057
|
+
transition: '.3s',
|
|
86058
|
+
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
86059
|
+
':hover': {
|
|
86060
|
+
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
86061
86061
|
color: sectionproperties.favBtnTextcoloronhover
|
|
86062
86062
|
}
|
|
86063
86063
|
}),
|
|
86064
86064
|
cart_btn: glamor.css({
|
|
86065
|
-
width: sectionproperties.cartBtnWidth +
|
|
86066
|
-
height: sectionproperties.cartBtnHeight +
|
|
86067
|
-
background: sectionproperties.cartbtn_bgtransparent ==
|
|
86068
|
-
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius +
|
|
86065
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
86066
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
86067
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
86068
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
86069
86069
|
color: sectionproperties.cartBtnTextcolor,
|
|
86070
|
-
fontSize: sectionproperties.cartBtnTextfontsize +
|
|
86070
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
86071
86071
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
86072
|
-
border: sectionproperties.cartbtnborderwidth +
|
|
86073
|
-
transition:
|
|
86074
|
-
|
|
86075
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
86072
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
86073
|
+
transition: '.3s',
|
|
86074
|
+
':hover': {
|
|
86075
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
86076
86076
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
86077
86077
|
}
|
|
86078
86078
|
}),
|
|
86079
86079
|
img_container: glamor.css({
|
|
86080
|
-
position:
|
|
86081
|
-
height: sectionproperties.image_height +
|
|
86082
|
-
border: sectionproperties.image_borderwidth +
|
|
86083
|
-
borderBottomLeftRadius: langdetect !=
|
|
86084
|
-
borderBottomRightRadius: langdetect !=
|
|
86085
|
-
borderTopLeftRadius: langdetect !=
|
|
86086
|
-
borderTopRightRadius: langdetect !=
|
|
86087
|
-
background: sectionproperties.image_bgtransparent ==
|
|
86088
|
-
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
86089
|
-
|
|
86090
|
-
height: sectionproperties.height_responsive +
|
|
86080
|
+
position: 'relative',
|
|
86081
|
+
height: sectionproperties.image_height + 'px',
|
|
86082
|
+
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
86083
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
86084
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
86085
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
86086
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
86087
|
+
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
|
|
86088
|
+
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' ? 0.4 : 1,
|
|
86089
|
+
'@media (max-width: 800px)': {
|
|
86090
|
+
height: sectionproperties.height_responsive + 'px'
|
|
86091
86091
|
}
|
|
86092
86092
|
}),
|
|
86093
86093
|
quantitybtn: glamor.css({
|
|
86094
86094
|
flex: 1,
|
|
86095
|
-
border: sectionproperties.quantitybtnborderwidth +
|
|
86096
|
-
height: sectionproperties.quantitybtn_height +
|
|
86097
|
-
display:
|
|
86098
|
-
flexDirection:
|
|
86099
|
-
overflow:
|
|
86100
|
-
borderRadius: sectionproperties.quantitybtn_borderradius +
|
|
86095
|
+
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
86096
|
+
height: sectionproperties.quantitybtn_height + 'px',
|
|
86097
|
+
display: 'flex',
|
|
86098
|
+
flexDirection: 'row',
|
|
86099
|
+
overflow: 'hidden',
|
|
86100
|
+
borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
|
|
86101
86101
|
background: sectionproperties.quantitybtn_bgcolor,
|
|
86102
|
-
alignItems:
|
|
86103
|
-
justifyContent:
|
|
86102
|
+
alignItems: 'center',
|
|
86103
|
+
justifyContent: 'center',
|
|
86104
86104
|
margin: 0,
|
|
86105
|
-
position:
|
|
86105
|
+
position: 'relative',
|
|
86106
86106
|
fontWeight: sectionproperties.quantitybtn_textfontweight,
|
|
86107
86107
|
color: sectionproperties.quantitybtn_textcolor,
|
|
86108
|
-
fontSize: sectionproperties.quantitybtn_textfontsize +
|
|
86109
|
-
|
|
86110
|
-
width:
|
|
86108
|
+
fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
|
|
86109
|
+
'@media (max-width: 800px)': {
|
|
86110
|
+
width: '100%'
|
|
86111
86111
|
}
|
|
86112
86112
|
}),
|
|
86113
86113
|
quantitybtn_text: glamor.css({
|
|
86114
|
-
margin:
|
|
86114
|
+
margin: 'auto'
|
|
86115
86115
|
}),
|
|
86116
86116
|
add_quantitybtn_icon_container: glamor.css({
|
|
86117
|
-
position:
|
|
86118
|
-
width: sectionproperties.add_quantitybtn_width +
|
|
86119
|
-
height: sectionproperties.add_quantitybtn_height +
|
|
86117
|
+
position: 'relative',
|
|
86118
|
+
width: sectionproperties.add_quantitybtn_width + 'px',
|
|
86119
|
+
height: sectionproperties.add_quantitybtn_height + 'px',
|
|
86120
86120
|
background: sectionproperties.add_quantitybtn_bgcolor,
|
|
86121
|
-
display:
|
|
86122
|
-
alignItems:
|
|
86123
|
-
justifyContent:
|
|
86124
|
-
borderRadius: sectionproperties.add_quantitybtn_borderradius +
|
|
86125
|
-
fontSize: sectionproperties.add_quantitybtn_textfontsize +
|
|
86121
|
+
display: 'flex',
|
|
86122
|
+
alignItems: 'center',
|
|
86123
|
+
justifyContent: 'center',
|
|
86124
|
+
borderRadius: sectionproperties.add_quantitybtn_borderradius + 'px',
|
|
86125
|
+
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
|
|
86126
86126
|
color: sectionproperties.add_quantitybtn_textcolor,
|
|
86127
|
-
transition:
|
|
86128
|
-
|
|
86127
|
+
transition: '.3s',
|
|
86128
|
+
':hover': {
|
|
86129
86129
|
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
86130
86130
|
background: sectionproperties.add_quantitybtn_bgcoloronhover
|
|
86131
86131
|
}
|
|
86132
86132
|
}),
|
|
86133
86133
|
minus_quantitybtn_icon_container: glamor.css({
|
|
86134
|
-
position:
|
|
86135
|
-
width: sectionproperties.remove_quantitybtn_width +
|
|
86136
|
-
height: sectionproperties.remove_quantitybtn_height +
|
|
86134
|
+
position: 'relative',
|
|
86135
|
+
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
86136
|
+
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
86137
86137
|
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
86138
|
-
display:
|
|
86139
|
-
alignItems:
|
|
86140
|
-
justifyContent:
|
|
86141
|
-
borderRadius: sectionproperties.remove_quantitybtn_borderradius +
|
|
86142
|
-
fontSize: sectionproperties.remove_quantitybtn_textfontsize +
|
|
86138
|
+
display: 'flex',
|
|
86139
|
+
alignItems: 'center',
|
|
86140
|
+
justifyContent: 'center',
|
|
86141
|
+
borderRadius: sectionproperties.remove_quantitybtn_borderradius + 'px',
|
|
86142
|
+
fontSize: sectionproperties.remove_quantitybtn_textfontsize + '25px',
|
|
86143
86143
|
color: sectionproperties.remove_quantitybtn_textcolor,
|
|
86144
|
-
transition:
|
|
86145
|
-
|
|
86144
|
+
transition: '.3s',
|
|
86145
|
+
':hover': {
|
|
86146
86146
|
color: sectionproperties.remove_quantitybtn_textcoloronhover,
|
|
86147
86147
|
background: sectionproperties.remove_quantitybtn_bgcoloronhover
|
|
86148
86148
|
}
|
|
86149
86149
|
}),
|
|
86150
86150
|
outstockbadge: glamor.css({
|
|
86151
|
-
width: sectionproperties.outstock_width +
|
|
86152
|
-
height: sectionproperties.outstock_height +
|
|
86151
|
+
width: sectionproperties.outstock_width + 'px',
|
|
86152
|
+
height: sectionproperties.outstock_height + 'px',
|
|
86153
86153
|
background: sectionproperties.outstock_bg,
|
|
86154
86154
|
color: sectionproperties.outstock_color,
|
|
86155
|
-
fontSize: sectionproperties.outstock_fontSize +
|
|
86156
|
-
borderRadius: sectionproperties.outstock_borderradius +
|
|
86157
|
-
position:
|
|
86155
|
+
fontSize: sectionproperties.outstock_fontSize + 'px',
|
|
86156
|
+
borderRadius: sectionproperties.outstock_borderradius + 'px',
|
|
86157
|
+
position: 'absolute',
|
|
86158
86158
|
zIndex: 2,
|
|
86159
86159
|
top: 0,
|
|
86160
86160
|
bottom: 0,
|
|
86161
86161
|
left: 0,
|
|
86162
86162
|
right: 0,
|
|
86163
|
-
margin:
|
|
86163
|
+
margin: 'auto'
|
|
86164
86164
|
})
|
|
86165
86165
|
};
|
|
86166
86166
|
var addtocartbuttonrender = function addtocartbuttonrender() {
|
|
@@ -86168,7 +86168,7 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
86168
86168
|
var _AddtoCartMutationCon;
|
|
86169
86169
|
if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 || (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
|
|
86170
86170
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86171
|
-
"class":
|
|
86171
|
+
"class": ' d-flex align-items-center justify-content-center '
|
|
86172
86172
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
86173
86173
|
color: sectionproperties.cartBtnTextcolor,
|
|
86174
86174
|
width: "20px",
|
|
@@ -86179,163 +86179,163 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
86179
86179
|
return /*#__PURE__*/React__default["default"].createElement("span", {
|
|
86180
86180
|
"class": "w-100 allcentered"
|
|
86181
86181
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
86182
|
-
"class": langdetect !=
|
|
86183
|
-
}, sectionproperties.carticonstyle ==
|
|
86182
|
+
"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'
|
|
86183
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
86184
86184
|
"class": "",
|
|
86185
86185
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86186
|
-
}), sectionproperties.carticonstyle ==
|
|
86186
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
86187
86187
|
"class": "",
|
|
86188
86188
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86189
|
-
}), sectionproperties.carticonstyle ==
|
|
86189
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
86190
86190
|
"class": "",
|
|
86191
86191
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86192
|
-
}), sectionproperties.carticonstyle ==
|
|
86192
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
86193
86193
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86194
|
-
}), sectionproperties.carticonstyle ==
|
|
86194
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
86195
86195
|
"class": "",
|
|
86196
86196
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86197
|
-
}), sectionproperties.carticonstyle ==
|
|
86197
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
86198
86198
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86199
|
-
})), langdetect ===
|
|
86199
|
+
})), langdetect === 'ar' ? sectionproperties.cartBtnContentarabic : langdetect === 'chin' ? sectionproperties.cartBtnContentchin : langdetect === 'es' ? sectionproperties.cartBtnContentspanish : langdetect === 'fr' ? sectionproperties.cartBtnContentfrench : langdetect === 'rus' ? sectionproperties.cartBtnContentrussian : sectionproperties.cartBtnContentenglish);
|
|
86200
86200
|
}
|
|
86201
86201
|
}
|
|
86202
86202
|
if (!AddtoCartMutationContext.isLoading) {
|
|
86203
86203
|
return /*#__PURE__*/React__default["default"].createElement("span", {
|
|
86204
86204
|
"class": "w-100 allcentered"
|
|
86205
86205
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
86206
|
-
"class": langdetect !=
|
|
86207
|
-
}, sectionproperties.carticonstyle ==
|
|
86206
|
+
"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'
|
|
86207
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
86208
86208
|
"class": "",
|
|
86209
86209
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86210
|
-
}), sectionproperties.carticonstyle ==
|
|
86210
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
86211
86211
|
"class": "",
|
|
86212
86212
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86213
|
-
}), sectionproperties.carticonstyle ==
|
|
86213
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
86214
86214
|
"class": "",
|
|
86215
86215
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86216
|
-
}), sectionproperties.carticonstyle ==
|
|
86216
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
86217
86217
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86218
|
-
}), sectionproperties.carticonstyle ==
|
|
86218
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
86219
86219
|
"class": "",
|
|
86220
86220
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86221
|
-
}), sectionproperties.carticonstyle ==
|
|
86221
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
86222
86222
|
size: sectionproperties.cartBtn_iconFontSize
|
|
86223
|
-
})), langdetect ===
|
|
86223
|
+
})), langdetect === 'ar' ? sectionproperties.cartBtnContentarabic : langdetect === 'chin' ? sectionproperties.cartBtnContentchin : langdetect === 'es' ? sectionproperties.cartBtnContentspanish : langdetect === 'fr' ? sectionproperties.cartBtnContentfrench : langdetect === 'rus' ? sectionproperties.cartBtnContentrussian : sectionproperties.cartBtnContentenglish);
|
|
86224
86224
|
}
|
|
86225
86225
|
};
|
|
86226
86226
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86227
86227
|
"class": "row ml-0 mr-0 w-100 mb-sm-5",
|
|
86228
86228
|
style: {
|
|
86229
|
-
paddingLeft: langdetect !=
|
|
86230
|
-
paddingRight: langdetect !=
|
|
86231
|
-
marginBottom: sectionproperties.marginBottom +
|
|
86232
|
-
minHeight:
|
|
86229
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
86230
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
86231
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
86232
|
+
minHeight: '370px'
|
|
86233
86233
|
}
|
|
86234
86234
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86235
|
-
"class": "".concat(cardsstyles$4.productcard, " ").concat(cardsstyles2.productcard) +
|
|
86235
|
+
"class": "".concat(cardsstyles$4.productcard, " ").concat(cardsstyles2.productcard) + ' w-100 '
|
|
86236
86236
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86237
86237
|
"class": "".concat(cardsstyles$4.card_inner)
|
|
86238
86238
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86239
86239
|
"class": "".concat(cardsstyles$4.card_thumbnail),
|
|
86240
86240
|
style: {
|
|
86241
|
-
position:
|
|
86241
|
+
position: 'relative'
|
|
86242
86242
|
}
|
|
86243
86243
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86244
|
-
"class": "".concat(cardsstyles$4.img_container, " ").concat(cardsstyles2.img_container) +
|
|
86244
|
+
"class": "".concat(cardsstyles$4.img_container, " ").concat(cardsstyles2.img_container) + ' w-100 allcentered ',
|
|
86245
86245
|
onClick: function onClick() {
|
|
86246
86246
|
setShowProductInfoModalContext(true);
|
|
86247
86247
|
setProductIdProdutInfoModalContext(item.productid);
|
|
86248
86248
|
},
|
|
86249
86249
|
style: {
|
|
86250
|
-
cursor:
|
|
86251
|
-
overflow:
|
|
86250
|
+
cursor: 'pointer',
|
|
86251
|
+
overflow: 'hidden'
|
|
86252
86252
|
}
|
|
86253
|
-
}, Image(
|
|
86253
|
+
}, Image('normal')), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86254
86254
|
"class": "".concat(cardsstyles$4.wishlistbtn),
|
|
86255
86255
|
onClick: function onClick() {
|
|
86256
86256
|
addtofavoritescontext(item.productid);
|
|
86257
86257
|
}
|
|
86258
86258
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
86259
|
-
"class": " ".concat(cardsstyles2.wishlist_btn) +
|
|
86259
|
+
"class": " ".concat(cardsstyles2.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
86260
86260
|
style: {
|
|
86261
|
-
position:
|
|
86261
|
+
position: 'absolute',
|
|
86262
86262
|
top: 10,
|
|
86263
86263
|
right: 10,
|
|
86264
|
-
background: item.IsFavExists == true ? sectionproperties.activebgcolor :
|
|
86264
|
+
background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
86265
86265
|
}
|
|
86266
86266
|
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
86267
86267
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
86268
|
-
}, sectionproperties.faviconshape ==
|
|
86268
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
86269
86269
|
size: sectionproperties.favBtnIconfontsize,
|
|
86270
86270
|
style: {
|
|
86271
86271
|
color: sectionproperties.activefaviconcolor
|
|
86272
86272
|
}
|
|
86273
|
-
}), sectionproperties.faviconshape ==
|
|
86273
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
|
|
86274
86274
|
size: sectionproperties.favBtnIconfontsize,
|
|
86275
86275
|
style: {
|
|
86276
86276
|
color: sectionproperties.activefaviconcolor
|
|
86277
86277
|
}
|
|
86278
86278
|
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
86279
86279
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
86280
|
-
}, sectionproperties.faviconshape ==
|
|
86280
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
86281
86281
|
size: sectionproperties.favBtnIconfontsize
|
|
86282
|
-
}), sectionproperties.faviconshape ==
|
|
86282
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
86283
86283
|
size: sectionproperties.favBtnIconfontsize
|
|
86284
|
-
})))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow ==
|
|
86284
|
+
})))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == 'Show' && sectionproperties.showbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86285
86285
|
"class": "allcentered",
|
|
86286
86286
|
style: {
|
|
86287
|
-
position:
|
|
86287
|
+
position: 'absolute',
|
|
86288
86288
|
top: 10,
|
|
86289
86289
|
left: 10,
|
|
86290
|
-
width: sectionproperties.badge_width +
|
|
86291
|
-
height: sectionproperties.badge_height +
|
|
86290
|
+
width: sectionproperties.badge_width + 'px',
|
|
86291
|
+
height: sectionproperties.badge_height + 'px',
|
|
86292
86292
|
background: sectionproperties.badge_bgcolor,
|
|
86293
|
-
borderRadius: sectionproperties.badge_borderradius +
|
|
86293
|
+
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
86294
86294
|
}
|
|
86295
86295
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
86296
86296
|
"class": "m-0 p-0",
|
|
86297
86297
|
style: {
|
|
86298
86298
|
color: sectionproperties.badge_color,
|
|
86299
|
-
fontSize: sectionproperties.badge_fontsize +
|
|
86299
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
86300
86300
|
}
|
|
86301
|
-
}, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill ==
|
|
86301
|
+
}, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86302
86302
|
style: {
|
|
86303
|
-
position:
|
|
86304
|
-
top: sectionproperties.pillpositionfromtop +
|
|
86305
|
-
left: sectionproperties.pillpositionfromright +
|
|
86303
|
+
position: 'absolute',
|
|
86304
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
86305
|
+
left: sectionproperties.pillpositionfromright + 'px',
|
|
86306
86306
|
// right: langdetect != 'ar' ? '' : sectionproperties.pillpositionfromright + 'px',
|
|
86307
86307
|
zIndex: 3
|
|
86308
86308
|
}
|
|
86309
86309
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86310
|
-
"class": sectionproperties.pillwidth == 0 ?
|
|
86310
|
+
"class": sectionproperties.pillwidth == 0 ? ' px-2 allcentered' : 'allcentered',
|
|
86311
86311
|
style: {
|
|
86312
86312
|
zIndex: 2,
|
|
86313
|
-
width: sectionproperties.pillwidth == 0 ?
|
|
86314
|
-
height: sectionproperties.pillheight +
|
|
86313
|
+
width: sectionproperties.pillwidth == 0 ? 'auto' : sectionproperties.pillwidth + 'px',
|
|
86314
|
+
height: sectionproperties.pillheight + 'px',
|
|
86315
86315
|
background: sectionproperties.pillbgcolor,
|
|
86316
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius +
|
|
86316
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
86317
86317
|
}
|
|
86318
|
-
}, sectionproperties.countertype ==
|
|
86318
|
+
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
86319
86319
|
"class": "m-0 p-0",
|
|
86320
86320
|
style: {
|
|
86321
86321
|
color: sectionproperties.pillcolor,
|
|
86322
|
-
fontSize: sectionproperties.pillfontSize +
|
|
86323
|
-
direction:
|
|
86322
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
86323
|
+
direction: 'ltr'
|
|
86324
86324
|
}
|
|
86325
|
-
},
|
|
86325
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
86326
86326
|
"class": "m-0 p-0 text-uppercase",
|
|
86327
86327
|
style: {
|
|
86328
86328
|
color: sectionproperties.pillcolor,
|
|
86329
|
-
fontSize: sectionproperties.pillfontSize +
|
|
86330
|
-
direction:
|
|
86329
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
86330
|
+
direction: 'ltr'
|
|
86331
86331
|
}
|
|
86332
|
-
}, langdetect ===
|
|
86333
|
-
"class": "".concat(cardsstyles2.outstockbadge) +
|
|
86332
|
+
}, 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__default["default"].createElement("div", {
|
|
86333
|
+
"class": "".concat(cardsstyles2.outstockbadge) + ' allcentered '
|
|
86334
86334
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
86335
86335
|
"class": "m-0 p-0"
|
|
86336
|
-
}, sectionproperties
|
|
86337
|
-
"class": "".concat(cardsstyles$4.product_details) +
|
|
86338
|
-
}, sectionproperties.quantityshow ==
|
|
86336
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86337
|
+
"class": "".concat(cardsstyles$4.product_details) + ' mb-2 '
|
|
86338
|
+
}, sectionproperties.quantityshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86339
86339
|
"class": "col-lg-12 p-0 allcentered"
|
|
86340
86340
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
86341
86341
|
"class": "m-0 p-0",
|
|
@@ -86344,52 +86344,52 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
86344
86344
|
color: sectionproperties.quantitycolor,
|
|
86345
86345
|
fontWeight: sectionproperties.quantityfontweight
|
|
86346
86346
|
}
|
|
86347
|
-
}, sectionproperties["qtytextin".concat(langdetect)] || sectionproperties.qtytextinen, ": ", item.currentquantity)), sectionproperties.prodNameShow ==
|
|
86347
|
+
}, sectionproperties["qtytextin".concat(langdetect)] || sectionproperties.qtytextinen, ": ", item.currentquantity)), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86348
86348
|
"class": "col-lg-12"
|
|
86349
86349
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
86350
86350
|
onClick: function onClick() {
|
|
86351
86351
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
86352
86352
|
},
|
|
86353
|
-
"class": sectionproperties.wordbreak ==
|
|
86353
|
+
"class": sectionproperties.wordbreak == '1' ? "".concat(cardsstyles2.productNameStyles) + ' m-0 p-0 wordbreak wordbreak1 ' : "".concat(cardsstyles2.productNameStyles) + ' m-0 p-0 wordbreak wordbreak2 ',
|
|
86354
86354
|
style: {
|
|
86355
|
-
textAlign: langdetect !=
|
|
86355
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
86356
86356
|
}
|
|
86357
|
-
}, item.name)), sectionproperties.showmeasurementunit ==
|
|
86358
|
-
"class":
|
|
86357
|
+
}, item.name)), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
86358
|
+
"class": ' col-lg-12 wordbreak wordbreak1 mb-2 ',
|
|
86359
86359
|
style: {
|
|
86360
|
-
textAlign: langdetect !=
|
|
86361
|
-
fontSize: sectionproperties.measurementunitfontsize +
|
|
86360
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
86361
|
+
fontSize: sectionproperties.measurementunitfontsize + 'px',
|
|
86362
86362
|
color: sectionproperties.measurementunitcolor
|
|
86363
86363
|
}
|
|
86364
86364
|
}, item.measurmentunit), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86365
86365
|
"class": "col-lg-12 d-flex align-items-center flex-md-column justify-content-start"
|
|
86366
|
-
}, sectionproperties.prodPriceShow ==
|
|
86367
|
-
"class": "".concat(cardsstyles2.productPricestyles) +
|
|
86366
|
+
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
86367
|
+
"class": "".concat(cardsstyles2.productPricestyles) + ' m-0 p-0 wordbreak w-md-100 ',
|
|
86368
86368
|
style: {
|
|
86369
|
-
textAlign: langdetect !=
|
|
86369
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
86370
86370
|
}
|
|
86371
|
-
}, langdetect !=
|
|
86372
|
-
"class": "".concat(cardsstyles2.productSalePricestyles) +
|
|
86371
|
+
}, langdetect != 'ar' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != 'ar' ? '' : item.currencyname), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
86372
|
+
"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 ',
|
|
86373
86373
|
style: {
|
|
86374
|
-
textAlign: langdetect !=
|
|
86375
|
-
visibility: item.hassale == 1 ?
|
|
86374
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
86375
|
+
visibility: item.hassale == 1 ? 'visible' : 'hidden'
|
|
86376
86376
|
}
|
|
86377
|
-
}, langdetect !=
|
|
86377
|
+
}, langdetect != 'ar' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect != 'ar' ? '' : item.currencyname))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86378
86378
|
"class": "".concat(cardsstyles$4.card_informationcontainer)
|
|
86379
86379
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86380
86380
|
"class": "row m-0 w-100 d-flex align-items-center"
|
|
86381
86381
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
86382
|
-
"class": "".concat(cardsstyles2.quantitybtn) +
|
|
86383
|
-
}, langdetect !=
|
|
86384
|
-
"class": "".concat(cardsstyles2.minus_quantitybtn_icon_container) +
|
|
86382
|
+
"class": "".concat(cardsstyles2.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
|
|
86383
|
+
}, langdetect != 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
86384
|
+
"class": "".concat(cardsstyles2.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
86385
86385
|
style: {
|
|
86386
|
-
transform:
|
|
86386
|
+
transform: ' rotate(-180deg)'
|
|
86387
86387
|
},
|
|
86388
86388
|
onClick: function onClick() {
|
|
86389
|
-
if (item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
86390
|
-
NotificationManager.warning(
|
|
86389
|
+
if (item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit') {
|
|
86390
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Sold Out' : 'نفذت الكمية');
|
|
86391
86391
|
} else if (item.hasvariants == 0) {
|
|
86392
|
-
updatequantity(
|
|
86392
|
+
updatequantity('remove');
|
|
86393
86393
|
} else {
|
|
86394
86394
|
setShowProductInfoModalContext(true);
|
|
86395
86395
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -86397,13 +86397,13 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
86397
86397
|
}
|
|
86398
86398
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
86399
86399
|
"class": "fa fa-chevron-up font-12"
|
|
86400
|
-
})), langdetect ==
|
|
86401
|
-
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container) +
|
|
86400
|
+
})), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
86401
|
+
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container) + ' m-1 ',
|
|
86402
86402
|
onClick: function onClick() {
|
|
86403
|
-
if (item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
86404
|
-
NotificationManager.warning(
|
|
86403
|
+
if (item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit') {
|
|
86404
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Sold Out' : 'نفذت الكمية');
|
|
86405
86405
|
} else if (item.hasvariants == 0) {
|
|
86406
|
-
updatequantity(
|
|
86406
|
+
updatequantity('add');
|
|
86407
86407
|
} else {
|
|
86408
86408
|
setShowProductInfoModalContext(true);
|
|
86409
86409
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -86412,17 +86412,17 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
86412
86412
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
86413
86413
|
"class": "fa fa-chevron-up font-12"
|
|
86414
86414
|
})), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
86415
|
-
"class": "".concat(cardsstyles2.quantitybtn_text) +
|
|
86416
|
-
}, item.quantity), langdetect ==
|
|
86417
|
-
"class": "".concat(cardsstyles2.minus_quantitybtn_icon_container) +
|
|
86415
|
+
"class": "".concat(cardsstyles2.quantitybtn_text) + ' d-flex align-items-center justify-content-center '
|
|
86416
|
+
}, item.quantity), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
86417
|
+
"class": "".concat(cardsstyles2.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
86418
86418
|
style: {
|
|
86419
|
-
transform:
|
|
86419
|
+
transform: ' rotate(-180deg)'
|
|
86420
86420
|
},
|
|
86421
86421
|
onClick: function onClick() {
|
|
86422
|
-
if (item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
86423
|
-
NotificationManager.warning(
|
|
86422
|
+
if (item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit') {
|
|
86423
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Sold Out' : 'نفذت الكمية');
|
|
86424
86424
|
} else if (item.hasvariants == 0) {
|
|
86425
|
-
updatequantity(
|
|
86425
|
+
updatequantity('remove');
|
|
86426
86426
|
} else {
|
|
86427
86427
|
setShowProductInfoModalContext(true);
|
|
86428
86428
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -86430,13 +86430,13 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
86430
86430
|
}
|
|
86431
86431
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
86432
86432
|
"class": "fa fa-chevron-up font-12"
|
|
86433
|
-
})), langdetect !=
|
|
86434
|
-
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container) +
|
|
86433
|
+
})), langdetect != 'ar' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
86434
|
+
"class": "".concat(cardsstyles2.add_quantitybtn_icon_container) + ' m-1 ',
|
|
86435
86435
|
onClick: function onClick() {
|
|
86436
|
-
if (item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
86437
|
-
NotificationManager.warning(
|
|
86436
|
+
if (item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit') {
|
|
86437
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Sold Out' : 'نفذت الكمية');
|
|
86438
86438
|
} else if (item.hasvariants == 0) {
|
|
86439
|
-
updatequantity(
|
|
86439
|
+
updatequantity('add');
|
|
86440
86440
|
} else {
|
|
86441
86441
|
setShowProductInfoModalContext(true);
|
|
86442
86442
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -86445,25 +86445,25 @@ var Productcard_with_zoominonhover = function Productcard_with_zoominonhover(pro
|
|
|
86445
86445
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
86446
86446
|
"class": "fa fa-chevron-up font-12"
|
|
86447
86447
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86448
|
-
"class": sectionproperties.total_fontsize != 0 ?
|
|
86448
|
+
"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',
|
|
86449
86449
|
style: {
|
|
86450
86450
|
flex: 1
|
|
86451
86451
|
}
|
|
86452
86452
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
86453
|
-
"class": "".concat(cardsstyles2.producttotalstyles) +
|
|
86453
|
+
"class": "".concat(cardsstyles2.producttotalstyles) + ' mb-0 ',
|
|
86454
86454
|
style: {
|
|
86455
|
-
textAlign: langdetect !=
|
|
86455
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
86456
86456
|
}
|
|
86457
86457
|
}, lang.total, ": ", /*#__PURE__*/React__default["default"].createElement("br", null), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
86458
86458
|
style: {
|
|
86459
86459
|
color: sectionproperties.total_secondaryColor,
|
|
86460
86460
|
fontWeight: sectionproperties.total_fontweight,
|
|
86461
|
-
textAlign: langdetect !=
|
|
86461
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
86462
86462
|
}
|
|
86463
|
-
}, langdetect !=
|
|
86463
|
+
}, langdetect != 'ar' ? item.currencyname : '', " ", item.hassale == 1 ? item.quantity * item.defaultsaleprice : item.quantity * item.defaultprice, ' ', langdetect != 'ar' ? '' : item.currencyname)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
86464
86464
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 mb-2 mt-2"
|
|
86465
|
-
}, sectionproperties.cartBtnShow ==
|
|
86466
|
-
"class": "".concat(cardsstyles2.cart_btn) +
|
|
86465
|
+
}, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
86466
|
+
"class": "".concat(cardsstyles2.cart_btn) + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
86467
86467
|
onClick: function onClick() {
|
|
86468
86468
|
if (item.hasvariants == 0) {
|
|
86469
86469
|
addtocartfunc();
|
|
@@ -88315,7 +88315,7 @@ var Horizontalcard = function Horizontalcard(props) {
|
|
|
88315
88315
|
"class": "".concat(card_cssstyles.outstockbadge) + " allcentered "
|
|
88316
88316
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
88317
88317
|
"class": "m-0 p-0"
|
|
88318
|
-
}, sectionproperties
|
|
88318
|
+
}, 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__default["default"].createElement("div", {
|
|
88319
88319
|
"class": "allcentered",
|
|
88320
88320
|
style: {
|
|
88321
88321
|
position: "absolute",
|
|
@@ -91604,7 +91604,7 @@ var Productcard_with_slideanimation = function Productcard_with_slideanimation(p
|
|
|
91604
91604
|
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; }
|
|
91605
91605
|
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__default["default"](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; }
|
|
91606
91606
|
var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
91607
|
-
var _useState = React.useState(
|
|
91607
|
+
var _useState = React.useState(''),
|
|
91608
91608
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
91609
91609
|
sectionproperties = _useState2[0],
|
|
91610
91610
|
setsectionproperties = _useState2[1];
|
|
@@ -91625,7 +91625,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
91625
91625
|
var cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
91626
91626
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
91627
91627
|
props.actions.NotificationManager;
|
|
91628
|
-
var _useState5 = React.useState(
|
|
91628
|
+
var _useState5 = React.useState(''),
|
|
91629
91629
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
91630
91630
|
secondimage = _useState6[0],
|
|
91631
91631
|
setsecondimage = _useState6[1];
|
|
@@ -91668,223 +91668,223 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
91668
91668
|
}, [props.cardinfoitemprops]);
|
|
91669
91669
|
var card_cssstyles = {
|
|
91670
91670
|
colorvariantcontainer: glamor.css({
|
|
91671
|
-
width: sectionproperties.variantcontainer_minwidth +
|
|
91672
|
-
height: sectionproperties.variantcontainer_height +
|
|
91673
|
-
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius +
|
|
91671
|
+
width: sectionproperties.variantcontainer_minwidth + 'vh',
|
|
91672
|
+
height: sectionproperties.variantcontainer_height + 'vh',
|
|
91673
|
+
borderRadius: sectionproperties.variantcontainer_borderBottomLeftRadius + 'px'
|
|
91674
91674
|
}),
|
|
91675
91675
|
productcard_imgcontainer: glamor.css({
|
|
91676
|
-
height: sectionproperties.image_height +
|
|
91677
|
-
background: sectionproperties.image_bgtransparent ==
|
|
91678
|
-
border: sectionproperties.image_borderwidth +
|
|
91679
|
-
borderBottomLeftRadius: langdetect !=
|
|
91680
|
-
borderBottomRightRadius: langdetect !=
|
|
91681
|
-
borderTopLeftRadius: langdetect !=
|
|
91682
|
-
borderTopRightRadius: langdetect !=
|
|
91683
|
-
transition:
|
|
91676
|
+
height: sectionproperties.image_height + 'px',
|
|
91677
|
+
background: sectionproperties.image_bgtransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
|
|
91678
|
+
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
91679
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
91680
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
91681
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
91682
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
91683
|
+
transition: '.3s'
|
|
91684
91684
|
}),
|
|
91685
91685
|
productNameStyles: glamor.css({
|
|
91686
|
-
fontSize: sectionproperties.prodNameFontSize +
|
|
91686
|
+
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
91687
91687
|
textTransform: sectionproperties.prodNameTextTranform,
|
|
91688
91688
|
fontWeight: sectionproperties.prodNameFontWeight,
|
|
91689
|
-
cursor:
|
|
91690
|
-
transition:
|
|
91691
|
-
|
|
91689
|
+
cursor: 'pointer',
|
|
91690
|
+
transition: '.3s',
|
|
91691
|
+
':hover': {
|
|
91692
91692
|
color: sectionproperties.prodNameColorOnHover
|
|
91693
91693
|
}
|
|
91694
91694
|
}),
|
|
91695
91695
|
productPricestyles: glamor.css({
|
|
91696
91696
|
color: sectionproperties.prodPriceColor,
|
|
91697
|
-
fontSize: sectionproperties.prodpriceFontSize +
|
|
91697
|
+
fontSize: sectionproperties.prodpriceFontSize + 'px',
|
|
91698
91698
|
fontWeight: sectionproperties.prodPriceFontWeight
|
|
91699
91699
|
}),
|
|
91700
91700
|
productSalePricestyles: glamor.css({
|
|
91701
91701
|
color: sectionproperties.prodsalePriceColor,
|
|
91702
|
-
fontSize: sectionproperties.prodsalepriceFontSize +
|
|
91702
|
+
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
91703
91703
|
fontWeight: sectionproperties.prodsalePriceFontWeight
|
|
91704
91704
|
}),
|
|
91705
91705
|
wishlist_btn: glamor.css({
|
|
91706
|
-
position:
|
|
91706
|
+
position: 'absolute',
|
|
91707
91707
|
top: 6,
|
|
91708
91708
|
right: 13,
|
|
91709
|
-
left: langdetect !=
|
|
91710
|
-
width: sectionproperties.favBtnWidth +
|
|
91711
|
-
height: sectionproperties.favBtnHeight +
|
|
91712
|
-
background: sectionproperties.favbtn_bgtransparent ==
|
|
91713
|
-
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius +
|
|
91709
|
+
left: langdetect != 'ar' ? '' : sectionproperties.favbtn_marginRight + 'px',
|
|
91710
|
+
width: sectionproperties.favBtnWidth + 'px',
|
|
91711
|
+
height: sectionproperties.favBtnHeight + 'px',
|
|
91712
|
+
background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
|
|
91713
|
+
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
|
|
91714
91714
|
color: sectionproperties.favBtnTextcolor,
|
|
91715
|
-
fontSize: sectionproperties.favBtnTextfontsize +
|
|
91715
|
+
fontSize: sectionproperties.favBtnTextfontsize + 'px',
|
|
91716
91716
|
textTransform: sectionproperties.favBtnTexttransform,
|
|
91717
91717
|
fontWeight: sectionproperties.favBtnTextfontweight,
|
|
91718
|
-
transition:
|
|
91719
|
-
border: sectionproperties.favbtnborderwidth +
|
|
91720
|
-
|
|
91718
|
+
transition: '.3s',
|
|
91719
|
+
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
91720
|
+
':hover': {
|
|
91721
91721
|
color: sectionproperties.favBtnTextcoloronhover,
|
|
91722
|
-
background: sectionproperties.favbtn_transparentbgcoloronhover ==
|
|
91722
|
+
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover
|
|
91723
91723
|
}
|
|
91724
91724
|
}),
|
|
91725
91725
|
cart_btn: glamor.css({
|
|
91726
|
-
position:
|
|
91726
|
+
position: 'absolute',
|
|
91727
91727
|
left: 0,
|
|
91728
91728
|
right: 0,
|
|
91729
|
-
bottom:
|
|
91729
|
+
bottom: '10px',
|
|
91730
91730
|
opacity: 1,
|
|
91731
|
-
margin:
|
|
91732
|
-
transition:
|
|
91733
|
-
width: sectionproperties.cartBtnWidth +
|
|
91734
|
-
maxWidth:
|
|
91735
|
-
height: sectionproperties.cartBtnHeight +
|
|
91736
|
-
background: sectionproperties.cartbtn_bgtransparent ==
|
|
91737
|
-
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius +
|
|
91731
|
+
margin: 'auto',
|
|
91732
|
+
transition: 'all, 0.3s',
|
|
91733
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
91734
|
+
maxWidth: '100%',
|
|
91735
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
91736
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
91737
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
91738
91738
|
color: sectionproperties.cart_iconcolor,
|
|
91739
|
-
fontSize: sectionproperties.cartBtnTextfontsize +
|
|
91739
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
91740
91740
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
91741
91741
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
91742
|
-
border: sectionproperties.cartbtnborderwidth +
|
|
91743
|
-
|
|
91744
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
91742
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
91743
|
+
':hover': {
|
|
91744
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
91745
91745
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
91746
91746
|
}
|
|
91747
91747
|
}),
|
|
91748
91748
|
cart_btn_bottom: glamor.css({
|
|
91749
|
-
position:
|
|
91749
|
+
position: 'absolute',
|
|
91750
91750
|
left: 0,
|
|
91751
91751
|
right: 0,
|
|
91752
|
-
bottom:
|
|
91752
|
+
bottom: '-20px',
|
|
91753
91753
|
opacity: 0,
|
|
91754
|
-
margin:
|
|
91755
|
-
transition:
|
|
91756
|
-
width: sectionproperties.cartBtnWidth +
|
|
91757
|
-
height: sectionproperties.cartBtnHeight +
|
|
91758
|
-
background: sectionproperties.cartbtn_bgtransparent ==
|
|
91759
|
-
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius +
|
|
91754
|
+
margin: 'auto',
|
|
91755
|
+
transition: 'all, 0.3s',
|
|
91756
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
91757
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
91758
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
91759
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
91760
91760
|
color: sectionproperties.cart_iconcolor,
|
|
91761
|
-
fontSize: sectionproperties.cartBtnTextfontsize +
|
|
91761
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
91762
91762
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
91763
91763
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
91764
|
-
border: sectionproperties.cartbtnborderwidth +
|
|
91765
|
-
|
|
91766
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
91764
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
91765
|
+
':hover': {
|
|
91766
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
91767
91767
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
91768
91768
|
}
|
|
91769
91769
|
}),
|
|
91770
91770
|
cart_btn_center: glamor.css({
|
|
91771
|
-
position:
|
|
91771
|
+
position: 'absolute',
|
|
91772
91772
|
left: 0,
|
|
91773
91773
|
right: 0,
|
|
91774
|
-
bottom:
|
|
91774
|
+
bottom: '60px',
|
|
91775
91775
|
opacity: 0,
|
|
91776
|
-
margin:
|
|
91777
|
-
transition:
|
|
91778
|
-
width: sectionproperties.cartBtnWidth +
|
|
91779
|
-
height: sectionproperties.cartBtnHeight +
|
|
91780
|
-
background: sectionproperties.cartbtn_bgtransparent ==
|
|
91781
|
-
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius +
|
|
91776
|
+
margin: 'auto',
|
|
91777
|
+
transition: 'all, 0.3s',
|
|
91778
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
91779
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
91780
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
91781
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
91782
91782
|
color: sectionproperties.cart_iconcolor,
|
|
91783
|
-
fontSize: sectionproperties.cartBtnTextfontsize +
|
|
91783
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
91784
91784
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
91785
91785
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
91786
|
-
border: sectionproperties.cartbtnborderwidth +
|
|
91787
|
-
|
|
91788
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
91786
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
91787
|
+
':hover': {
|
|
91788
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
91789
91789
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
91790
91790
|
}
|
|
91791
91791
|
}),
|
|
91792
91792
|
productcard: glamor.css({
|
|
91793
|
-
background: sectionproperties.backgroundColortransparent ==
|
|
91794
|
-
borderBottomLeftRadius: langdetect !=
|
|
91795
|
-
borderBottomRightRadius: langdetect !=
|
|
91796
|
-
borderTopLeftRadius: langdetect !=
|
|
91797
|
-
borderTopRightRadius: langdetect !=
|
|
91798
|
-
marginTop: sectionproperties.marginTop +
|
|
91799
|
-
marginBottom: sectionproperties.marginBottom +
|
|
91800
|
-
paddingLeft: langdetect !=
|
|
91801
|
-
paddingRight: langdetect !=
|
|
91802
|
-
paddingTop: sectionproperties.paddingTop +
|
|
91803
|
-
paddingBottom: sectionproperties.paddingBottom +
|
|
91804
|
-
border: sectionproperties.sectioncardborderwidth +
|
|
91793
|
+
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
91794
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
91795
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
91796
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
91797
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
91798
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
91799
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
91800
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
91801
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
91802
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
91803
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
91804
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
91805
91805
|
color: sectionproperties.prodNameColor,
|
|
91806
|
-
transition:
|
|
91807
|
-
|
|
91808
|
-
marginRight: langdetect !=
|
|
91809
|
-
marginLeft: langdetect !=
|
|
91806
|
+
transition: '.3s',
|
|
91807
|
+
':hover .wishlist_btn': {
|
|
91808
|
+
marginRight: langdetect != 'ar' ? '10px' : 0,
|
|
91809
|
+
marginLeft: langdetect != 'ar' ? 0 : '10px'
|
|
91810
91810
|
},
|
|
91811
|
-
|
|
91811
|
+
':hover .cart_btn_bottom': {
|
|
91812
91812
|
opacity: 1,
|
|
91813
|
-
bottom:
|
|
91813
|
+
bottom: '10px'
|
|
91814
91814
|
},
|
|
91815
|
-
|
|
91815
|
+
':hover .cart_btn_center': {
|
|
91816
91816
|
opacity: 1,
|
|
91817
|
-
bottom:
|
|
91817
|
+
bottom: '40%'
|
|
91818
91818
|
}
|
|
91819
91819
|
}),
|
|
91820
91820
|
cart_btnresponsive: glamor.css({
|
|
91821
|
-
position:
|
|
91821
|
+
position: 'absolute',
|
|
91822
91822
|
opacity: 1,
|
|
91823
|
-
bottom:
|
|
91823
|
+
bottom: '10px',
|
|
91824
91824
|
left: 0,
|
|
91825
91825
|
right: 0,
|
|
91826
|
-
margin:
|
|
91827
|
-
transition:
|
|
91828
|
-
width: sectionproperties.cartBtnWidth +
|
|
91829
|
-
height: sectionproperties.cartBtnHeight +
|
|
91830
|
-
background: sectionproperties.cartbtn_bgtransparent ==
|
|
91831
|
-
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius +
|
|
91826
|
+
margin: 'auto',
|
|
91827
|
+
transition: 'all, 0.3s',
|
|
91828
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
91829
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
91830
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
91831
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
91832
91832
|
color: sectionproperties.cart_iconcolor,
|
|
91833
|
-
fontSize: sectionproperties.cartBtnTextfontsize +
|
|
91833
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
91834
91834
|
textTransform: sectionproperties.cartBtnTexttransform,
|
|
91835
91835
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
91836
|
-
border: sectionproperties.cartbtnborderwidth +
|
|
91837
|
-
|
|
91838
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
91836
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
91837
|
+
':hover': {
|
|
91838
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
91839
91839
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
91840
91840
|
}
|
|
91841
91841
|
}),
|
|
91842
91842
|
imageContainer: glamor.css({
|
|
91843
91843
|
backgroundColor: sectionproperties.image_bgcolor,
|
|
91844
|
-
borderBottomLeftRadius: langdetect !=
|
|
91845
|
-
borderBottomRightRadius: langdetect !=
|
|
91846
|
-
borderTopLeftRadius: langdetect !=
|
|
91847
|
-
borderTopRightRadius: langdetect !=
|
|
91848
|
-
height: sectionproperties.image_height == 0 ?
|
|
91849
|
-
marginBottom: sectionproperties.image_mb +
|
|
91850
|
-
|
|
91851
|
-
height: sectionproperties.height_responsive == 0 ?
|
|
91844
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
91845
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
91846
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
91847
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
91848
|
+
height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
|
|
91849
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
91850
|
+
'@media (max-width: 800px)': {
|
|
91851
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + 'px'
|
|
91852
91852
|
}
|
|
91853
91853
|
}),
|
|
91854
91854
|
productoutercard: glamor.css({
|
|
91855
|
-
minWidth: sectionproperties.width +
|
|
91856
|
-
maxWidth: sectionproperties.width +
|
|
91857
|
-
|
|
91858
|
-
minWidth: sectionproperties.widthresponsive +
|
|
91859
|
-
maxWidth: sectionproperties.widthresponsive +
|
|
91855
|
+
minWidth: sectionproperties.width + 'px',
|
|
91856
|
+
maxWidth: sectionproperties.width + 'px',
|
|
91857
|
+
'@media (max-width: 800px)': {
|
|
91858
|
+
minWidth: sectionproperties.widthresponsive + 'px',
|
|
91859
|
+
maxWidth: sectionproperties.widthresponsive + 'px'
|
|
91860
91860
|
}
|
|
91861
91861
|
})
|
|
91862
91862
|
};
|
|
91863
91863
|
var Image = function Image(type) {
|
|
91864
91864
|
var transition = false;
|
|
91865
|
-
if (sectionproperties.showimagetransition ==
|
|
91865
|
+
if (sectionproperties.showimagetransition == 'Show' && type != 'responsive') {
|
|
91866
91866
|
transition = true;
|
|
91867
91867
|
}
|
|
91868
91868
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
91869
91869
|
"class": "w-100 cursor-pointer",
|
|
91870
91870
|
style: {
|
|
91871
|
-
position:
|
|
91871
|
+
position: 'relative'
|
|
91872
91872
|
}
|
|
91873
91873
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
91874
|
-
"class": transition ? generalCardsStyles.intialimage :
|
|
91874
|
+
"class": transition ? generalCardsStyles.intialimage : '',
|
|
91875
91875
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
91876
91876
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
91877
|
-
path:
|
|
91877
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
91878
91878
|
style: _defineProperty__default["default"](_defineProperty__default["default"]({
|
|
91879
|
-
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
91880
|
-
width: sectionproperties.imageInnerWidth_Height +
|
|
91881
|
-
height: sectionproperties.imageInnerWidth_Height +
|
|
91882
|
-
objectFit: sectionproperties.bgcovercontain ==
|
|
91883
|
-
borderBottomLeftRadius: sectionproperties.bgcovercontain ==
|
|
91884
|
-
borderBottomRightRadius: sectionproperties.bgcovercontain ==
|
|
91885
|
-
borderTopLeftRadius: sectionproperties.bgcovercontain ==
|
|
91886
|
-
borderTopRightRadius: sectionproperties.bgcovercontain ==
|
|
91887
|
-
}, "width",
|
|
91879
|
+
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? sectionproperties.outofstockimageopcity : 1,
|
|
91880
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
91881
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
91882
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
91883
|
+
borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
|
|
91884
|
+
borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0,
|
|
91885
|
+
borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
|
|
91886
|
+
borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0
|
|
91887
|
+
}, "width", '100%'), "height", '100%'),
|
|
91888
91888
|
loading: "lazy",
|
|
91889
91889
|
onClick: function onClick() {
|
|
91890
91890
|
setShowProductInfoModalContext(true);
|
|
@@ -91894,23 +91894,23 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
91894
91894
|
"class": generalCardsStyles.secondaryimage,
|
|
91895
91895
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
91896
91896
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
91897
|
-
path:
|
|
91897
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + secondimage,
|
|
91898
91898
|
style: {
|
|
91899
|
-
width:
|
|
91900
|
-
height:
|
|
91901
|
-
objectFit: sectionproperties.bgcovercontain ==
|
|
91902
|
-
borderBottomLeftRadius: sectionproperties.bgcovercontain ==
|
|
91903
|
-
borderBottomRightRadius: sectionproperties.bgcovercontain ==
|
|
91904
|
-
borderTopLeftRadius: sectionproperties.bgcovercontain ==
|
|
91905
|
-
borderTopRightRadius: sectionproperties.bgcovercontain ==
|
|
91899
|
+
width: '100%',
|
|
91900
|
+
height: '100%',
|
|
91901
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
|
|
91902
|
+
borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
|
|
91903
|
+
borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0,
|
|
91904
|
+
borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
|
|
91905
|
+
borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0
|
|
91906
91906
|
},
|
|
91907
91907
|
loading: "lazy",
|
|
91908
91908
|
onClick: function onClick() {
|
|
91909
91909
|
setShowProductInfoModalContext(true);
|
|
91910
91910
|
setProductIdProdutInfoModalContext(item.productid);
|
|
91911
91911
|
}
|
|
91912
|
-
}), sectionproperties.favBtnShow ==
|
|
91913
|
-
"class": "".concat(card_cssstyles.wishlist_btn) +
|
|
91912
|
+
}), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
91913
|
+
"class": "".concat(card_cssstyles.wishlist_btn) + ' wishlist_btn cursor-pointer ',
|
|
91914
91914
|
onClick: function onClick(e) {
|
|
91915
91915
|
e.stopPropagation();
|
|
91916
91916
|
addtofavoritescontext(item.productid);
|
|
@@ -91919,108 +91919,108 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
|
|
|
91919
91919
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
91920
91920
|
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
91921
91921
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
91922
|
-
}, sectionproperties.faviconshape ==
|
|
91922
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
91923
91923
|
size: sectionproperties.favBtnIconfontsize,
|
|
91924
91924
|
style: {
|
|
91925
91925
|
color: sectionproperties.activefaviconcolor
|
|
91926
91926
|
}
|
|
91927
|
-
}), sectionproperties.faviconshape ==
|
|
91927
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
|
|
91928
91928
|
size: sectionproperties.favBtnIconfontsize,
|
|
91929
91929
|
style: {
|
|
91930
91930
|
color: sectionproperties.activefaviconcolor
|
|
91931
91931
|
}
|
|
91932
91932
|
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
91933
91933
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
91934
|
-
}, sectionproperties.faviconshape ==
|
|
91934
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
91935
91935
|
size: sectionproperties.favBtnIconfontsize
|
|
91936
|
-
}), sectionproperties.faviconshape ==
|
|
91936
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
91937
91937
|
size: sectionproperties.favBtnIconfontsize
|
|
91938
|
-
})))), sectionproperties.showbadge ==
|
|
91938
|
+
})))), sectionproperties.showbadge == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
91939
91939
|
"class": "allcentered",
|
|
91940
91940
|
style: {
|
|
91941
|
-
position:
|
|
91942
|
-
top: sectionproperties.badge_top +
|
|
91943
|
-
left: sectionproperties.badge_right +
|
|
91944
|
-
width: sectionproperties.badge_width +
|
|
91945
|
-
height: sectionproperties.badge_height +
|
|
91941
|
+
position: 'absolute',
|
|
91942
|
+
top: sectionproperties.badge_top + 'px',
|
|
91943
|
+
left: sectionproperties.badge_right + 'px',
|
|
91944
|
+
width: sectionproperties.badge_width + 'px',
|
|
91945
|
+
height: sectionproperties.badge_height + 'px',
|
|
91946
91946
|
background: sectionproperties.badge_bgcolor,
|
|
91947
|
-
borderRadius: sectionproperties.badge_borderradius +
|
|
91947
|
+
borderRadius: sectionproperties.badge_borderradius + 'px'
|
|
91948
91948
|
}
|
|
91949
91949
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
91950
|
-
"class": props.fontFamilyprops ==
|
|
91950
|
+
"class": props.fontFamilyprops == 'ASUL' ? ' ASUL m-0 p-0 text-uppercase' : ' m-0 p-0 text-uppercase',
|
|
91951
91951
|
style: {
|
|
91952
91952
|
color: sectionproperties.badge_color,
|
|
91953
|
-
fontSize: sectionproperties.badge_fontsize +
|
|
91953
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
91954
91954
|
}
|
|
91955
|
-
}, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill ==
|
|
91955
|
+
}, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
91956
91956
|
"class": "allcentered",
|
|
91957
91957
|
style: {
|
|
91958
|
-
position:
|
|
91959
|
-
top: sectionproperties.pillpositionfromtop +
|
|
91960
|
-
left: sectionproperties.pillpositionfromright +
|
|
91961
|
-
width: sectionproperties.pillwidth +
|
|
91962
|
-
height: sectionproperties.pillheight +
|
|
91958
|
+
position: 'absolute',
|
|
91959
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
91960
|
+
left: sectionproperties.pillpositionfromright + 'px',
|
|
91961
|
+
width: sectionproperties.pillwidth + 'px',
|
|
91962
|
+
height: sectionproperties.pillheight + 'px',
|
|
91963
91963
|
background: sectionproperties.pillbgcolor,
|
|
91964
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius +
|
|
91964
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
|
|
91965
91965
|
}
|
|
91966
|
-
}, sectionproperties.countertype ==
|
|
91966
|
+
}, sectionproperties.countertype == 'Percentage' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
91967
91967
|
"class": "m-0 p-0 text-uppercase",
|
|
91968
91968
|
style: {
|
|
91969
91969
|
color: sectionproperties.pillcolor,
|
|
91970
|
-
fontSize: sectionproperties.pillfontSize +
|
|
91971
|
-
direction:
|
|
91970
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
91971
|
+
direction: 'ltr'
|
|
91972
91972
|
}
|
|
91973
|
-
},
|
|
91973
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%'), sectionproperties.countertype == 'Value' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
91974
91974
|
"class": "m-0 p-0 text-uppercase",
|
|
91975
91975
|
style: {
|
|
91976
91976
|
color: sectionproperties.pillcolor,
|
|
91977
|
-
fontSize: sectionproperties.pillfontSize +
|
|
91978
|
-
direction:
|
|
91977
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
91978
|
+
direction: 'ltr'
|
|
91979
91979
|
}
|
|
91980
|
-
}, langdetect ===
|
|
91981
|
-
"class": sectionproperties.transition ==
|
|
91980
|
+
}, 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__default["default"].createElement("button", {
|
|
91981
|
+
"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 ',
|
|
91982
91982
|
onClick: function onClick(e) {
|
|
91983
91983
|
e.stopPropagation();
|
|
91984
91984
|
setShowProductInfoModalContext(true);
|
|
91985
91985
|
setProductIdProdutInfoModalContext(item.productid);
|
|
91986
91986
|
}
|
|
91987
91987
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
91988
|
-
"class": props.fontFamilyprops ==
|
|
91989
|
-
}, langdetect ===
|
|
91990
|
-
"class": "".concat(card_cssstyles.outstockbadge) +
|
|
91988
|
+
"class": props.fontFamilyprops == 'ASUL' ? 'ASUL' : ''
|
|
91989
|
+
}, 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__default["default"].createElement("div", {
|
|
91990
|
+
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
91991
91991
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
91992
91992
|
"class": "m-0 p-0"
|
|
91993
|
-
}, sectionproperties
|
|
91993
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar)));
|
|
91994
91994
|
};
|
|
91995
91995
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
91996
|
-
"class": props.sectiontypeprops2 ==
|
|
91996
|
+
"class": props.sectiontypeprops2 == 'vertical' ? 'row m-0 w-100' : " ".concat(card_cssstyles.productoutercard),
|
|
91997
91997
|
style: {
|
|
91998
|
-
paddingLeft: langdetect !=
|
|
91999
|
-
paddingRight: langdetect !=
|
|
91998
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
91999
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
92000
92000
|
}
|
|
92001
92001
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
92002
|
-
"class": "".concat(card_cssstyles.productcard) +
|
|
92002
|
+
"class": "".concat(card_cssstyles.productcard) + ' w-100 '
|
|
92003
92003
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
92004
|
-
"class": sectionproperties.showimagetransition ==
|
|
92005
|
-
}, Image(
|
|
92006
|
-
"class":
|
|
92007
|
-
}, sectionproperties.prodNameShow ==
|
|
92004
|
+
"class": sectionproperties.showimagetransition == 'Show' ? " ".concat(card_cssstyles.imageContainer, " ").concat(generalCardsStyles.imagecontainer) + ' d-flex ' : " ".concat(card_cssstyles.imageContainer, " ") + ' allcentered '
|
|
92005
|
+
}, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
92006
|
+
"class": 'row m-0 w-100 text-center mt-2'
|
|
92007
|
+
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
92008
92008
|
"class": "col-lg-12 p-0"
|
|
92009
92009
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
92010
92010
|
onClick: function onClick() {
|
|
92011
92011
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
92012
92012
|
},
|
|
92013
|
-
"class": props.fontFamilyprops ==
|
|
92013
|
+
"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 '
|
|
92014
92014
|
}, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
92015
92015
|
"class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column",
|
|
92016
92016
|
style: {
|
|
92017
|
-
marginTop: sectionproperties.productpricemarginTop +
|
|
92017
|
+
marginTop: sectionproperties.productpricemarginTop + 'px'
|
|
92018
92018
|
}
|
|
92019
|
-
}, sectionproperties.prodPriceShow ==
|
|
92020
|
-
"class": props.fontFamilyprops ==
|
|
92021
|
-
}, langdetect !=
|
|
92022
|
-
"class": props.fontFamilyprops ==
|
|
92023
|
-
}, langdetect !=
|
|
92019
|
+
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
92020
|
+
"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 '
|
|
92021
|
+
}, langdetect != 'ar' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != 'ar' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
92022
|
+
"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 '
|
|
92023
|
+
}, langdetect != 'ar' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect != 'ar' ? '' : 'ج.م')))));
|
|
92024
92024
|
};
|
|
92025
92025
|
|
|
92026
92026
|
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";
|
|
@@ -95784,7 +95784,7 @@ var CardAll = function CardAll(props) {
|
|
|
95784
95784
|
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; }
|
|
95785
95785
|
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__default["default"](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; }
|
|
95786
95786
|
var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(props) {
|
|
95787
|
-
var _useState = React.useState(
|
|
95787
|
+
var _useState = React.useState(''),
|
|
95788
95788
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
95789
95789
|
sectionproperties = _useState2[0],
|
|
95790
95790
|
setsectionproperties = _useState2[1];
|
|
@@ -95836,9 +95836,9 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
95836
95836
|
}, [props.cardinfoitemprops]);
|
|
95837
95837
|
var addtocartfunc = function addtocartfunc(type, quantity) {
|
|
95838
95838
|
var addtocardpayloadobj = {
|
|
95839
|
-
functype:
|
|
95839
|
+
functype: 'add',
|
|
95840
95840
|
productid: item.productid,
|
|
95841
|
-
variantid:
|
|
95841
|
+
variantid: '',
|
|
95842
95842
|
quantity: quantity
|
|
95843
95843
|
};
|
|
95844
95844
|
var runfunc = false;
|
|
@@ -95847,13 +95847,13 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
95847
95847
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
95848
95848
|
runfunc = true;
|
|
95849
95849
|
} else {
|
|
95850
|
-
NotificationManager.warning(
|
|
95850
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
|
|
95851
95851
|
}
|
|
95852
95852
|
} else {
|
|
95853
95853
|
runfunc = true;
|
|
95854
95854
|
}
|
|
95855
95855
|
} else {
|
|
95856
|
-
NotificationManager.warning(
|
|
95856
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
|
|
95857
95857
|
}
|
|
95858
95858
|
if (runfunc == true) {
|
|
95859
95859
|
AddtoCartContext(addtocardpayloadobj);
|
|
@@ -95864,7 +95864,7 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
95864
95864
|
var _AddtoCartMutationCon;
|
|
95865
95865
|
if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 || (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
|
|
95866
95866
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
95867
|
-
"class":
|
|
95867
|
+
"class": ' d-flex align-items-center justify-content-center '
|
|
95868
95868
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
95869
95869
|
color: sectionproperties.quantitybtn_textcolor,
|
|
95870
95870
|
width: "20px",
|
|
@@ -95881,353 +95881,353 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
95881
95881
|
};
|
|
95882
95882
|
var card_cssstyles = {
|
|
95883
95883
|
productcard: glamor.css({
|
|
95884
|
-
minWidth: props.sectiontypeprops2 ==
|
|
95885
|
-
maxWidth: props.sectiontypeprops2 ==
|
|
95886
|
-
|
|
95887
|
-
minWidth: props.sectiontypeprops2 ==
|
|
95888
|
-
maxWidth: props.sectiontypeprops2 ==
|
|
95884
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
95885
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.width + 'px',
|
|
95886
|
+
'@media (max-width: 800px)': {
|
|
95887
|
+
minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
|
|
95888
|
+
maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px'
|
|
95889
95889
|
}
|
|
95890
95890
|
}),
|
|
95891
95891
|
productcardimagecont: glamor.css({
|
|
95892
|
-
position:
|
|
95893
|
-
overflow:
|
|
95894
|
-
height: sectionproperties.image_height +
|
|
95895
|
-
background: sectionproperties.image_bgtransparent ==
|
|
95896
|
-
border: sectionproperties.image_borderwidth +
|
|
95897
|
-
borderBottomLeftRadius: langdetect !=
|
|
95898
|
-
borderBottomRightRadius: langdetect !=
|
|
95899
|
-
borderTopLeftRadius: langdetect !=
|
|
95900
|
-
borderTopRightRadius: langdetect !=
|
|
95901
|
-
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
95902
|
-
transition:
|
|
95892
|
+
position: 'relative',
|
|
95893
|
+
overflow: 'hidden',
|
|
95894
|
+
height: sectionproperties.image_height + 'px',
|
|
95895
|
+
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
|
|
95896
|
+
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
95897
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
95898
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
95899
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
95900
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
95901
|
+
opacity: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? sectionproperties.outofstockimageopcity : 1,
|
|
95902
|
+
transition: '.3s'
|
|
95903
95903
|
}),
|
|
95904
95904
|
productNameStyles: glamor.css({
|
|
95905
95905
|
color: sectionproperties.prodNameColor,
|
|
95906
|
-
fontSize: sectionproperties.prodNameFontSize +
|
|
95906
|
+
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
95907
95907
|
textTransform: sectionproperties.prodNameTextTranform,
|
|
95908
95908
|
fontWeight: sectionproperties.prodNameFontWeight,
|
|
95909
|
-
transition:
|
|
95910
|
-
cursor:
|
|
95911
|
-
|
|
95909
|
+
transition: '.3s',
|
|
95910
|
+
cursor: 'pointer',
|
|
95911
|
+
':hover': {
|
|
95912
95912
|
color: sectionproperties.prodNameColorOnHover
|
|
95913
95913
|
}
|
|
95914
95914
|
}),
|
|
95915
95915
|
productPricestyles: glamor.css({
|
|
95916
95916
|
color: sectionproperties.prodPriceColor,
|
|
95917
|
-
fontSize: sectionproperties.prodpriceFontSize +
|
|
95917
|
+
fontSize: sectionproperties.prodpriceFontSize + 'px',
|
|
95918
95918
|
fontWeight: sectionproperties.prodPriceFontWeight
|
|
95919
95919
|
}),
|
|
95920
95920
|
productSalePricestyles: glamor.css({
|
|
95921
95921
|
color: sectionproperties.prodsalePriceColor,
|
|
95922
|
-
fontSize: sectionproperties.prodsalepriceFontSize +
|
|
95922
|
+
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
95923
95923
|
fontWeight: sectionproperties.prodsalePriceFontWeight
|
|
95924
95924
|
}),
|
|
95925
95925
|
wishlist_btn: glamor.css({
|
|
95926
|
-
width: sectionproperties.favBtnWidth +
|
|
95927
|
-
height: sectionproperties.favBtnHeight +
|
|
95928
|
-
background: sectionproperties.favbtn_bgtransparent ==
|
|
95929
|
-
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius +
|
|
95930
|
-
border: sectionproperties.favbtnborderwidth +
|
|
95926
|
+
width: sectionproperties.favBtnWidth + 'px',
|
|
95927
|
+
height: sectionproperties.favBtnHeight + 'px',
|
|
95928
|
+
background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
|
|
95929
|
+
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
|
|
95930
|
+
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
95931
95931
|
color: sectionproperties.favBtniconcolor,
|
|
95932
|
-
transition:
|
|
95933
|
-
|
|
95934
|
-
background: sectionproperties.favbtn_transparentbgcoloronhover ==
|
|
95932
|
+
transition: '.3s',
|
|
95933
|
+
':hover': {
|
|
95934
|
+
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
95935
95935
|
color: sectionproperties.favBtnTextcoloronhover
|
|
95936
95936
|
}
|
|
95937
95937
|
}),
|
|
95938
95938
|
cart_btn: glamor.css({
|
|
95939
|
-
position:
|
|
95939
|
+
position: 'absolute',
|
|
95940
95940
|
bottom: 10,
|
|
95941
95941
|
right: 10,
|
|
95942
|
-
width: sectionproperties.cartBtnWidth +
|
|
95943
|
-
height: sectionproperties.cartBtnHeight +
|
|
95944
|
-
background: sectionproperties.cartbtn_bgtransparent ==
|
|
95945
|
-
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius +
|
|
95942
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
95943
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
95944
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
95945
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
95946
95946
|
color: sectionproperties.cart_iconcolor,
|
|
95947
|
-
border: sectionproperties.cartbtnborderwidth +
|
|
95947
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
95948
95948
|
zIndex: 100,
|
|
95949
|
-
transition:
|
|
95950
|
-
|
|
95951
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
95949
|
+
transition: '.3s',
|
|
95950
|
+
':hover': {
|
|
95951
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
95952
95952
|
color: sectionproperties.cartBtnTextcoloronhover,
|
|
95953
95953
|
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
95954
95954
|
}
|
|
95955
95955
|
}),
|
|
95956
95956
|
outstockbadge: glamor.css({
|
|
95957
|
-
position:
|
|
95958
|
-
top: sectionproperties.outstock_top +
|
|
95959
|
-
left: langdetect !=
|
|
95960
|
-
right: langdetect !=
|
|
95961
|
-
width: sectionproperties.outstock_width +
|
|
95962
|
-
height: sectionproperties.outstock_height +
|
|
95957
|
+
position: 'absolute',
|
|
95958
|
+
top: sectionproperties.outstock_top + 'px',
|
|
95959
|
+
left: langdetect != 'ar' ? sectionproperties.outstock_right + 'px' : '',
|
|
95960
|
+
right: langdetect != 'ar' ? '' : sectionproperties.outstock_right + 'px',
|
|
95961
|
+
width: sectionproperties.outstock_width + 'px',
|
|
95962
|
+
height: sectionproperties.outstock_height + 'px',
|
|
95963
95963
|
background: sectionproperties.outstock_bg,
|
|
95964
95964
|
color: sectionproperties.outstock_color,
|
|
95965
|
-
fontSize: sectionproperties.outstock_fontSize +
|
|
95966
|
-
borderRadius: sectionproperties.outstock_borderradius +
|
|
95965
|
+
fontSize: sectionproperties.outstock_fontSize + 'px',
|
|
95966
|
+
borderRadius: sectionproperties.outstock_borderradius + 'px',
|
|
95967
95967
|
zIndex: 2
|
|
95968
95968
|
}),
|
|
95969
95969
|
outstockbadgecentered: glamor.css({
|
|
95970
|
-
position:
|
|
95970
|
+
position: 'absolute',
|
|
95971
95971
|
top: 0,
|
|
95972
95972
|
bottom: 0,
|
|
95973
95973
|
left: 0,
|
|
95974
95974
|
right: 0,
|
|
95975
|
-
margin:
|
|
95976
|
-
width: sectionproperties.outstock_width +
|
|
95977
|
-
height: sectionproperties.outstock_height +
|
|
95975
|
+
margin: 'auto',
|
|
95976
|
+
width: sectionproperties.outstock_width + 'px',
|
|
95977
|
+
height: sectionproperties.outstock_height + 'px',
|
|
95978
95978
|
background: sectionproperties.outstock_bg,
|
|
95979
95979
|
color: sectionproperties.outstock_color,
|
|
95980
|
-
fontSize: sectionproperties.outstock_fontSize +
|
|
95981
|
-
borderRadius: sectionproperties.outstock_borderradius +
|
|
95980
|
+
fontSize: sectionproperties.outstock_fontSize + 'px',
|
|
95981
|
+
borderRadius: sectionproperties.outstock_borderradius + 'px',
|
|
95982
95982
|
zIndex: 2
|
|
95983
95983
|
}),
|
|
95984
95984
|
quantity: glamor.css({
|
|
95985
95985
|
color: sectionproperties.quantitycolor,
|
|
95986
|
-
fontSize: sectionproperties.quantityfontsize +
|
|
95986
|
+
fontSize: sectionproperties.quantityfontsize + 'px',
|
|
95987
95987
|
fontWeight: sectionproperties.quantityfontweight
|
|
95988
95988
|
}),
|
|
95989
95989
|
quantitybtn: glamor.css({
|
|
95990
|
-
height: sectionproperties.quantitybtn_height +
|
|
95991
|
-
width: sectionproperties.quantitybtn_width +
|
|
95992
|
-
display:
|
|
95993
|
-
flexDirection:
|
|
95994
|
-
overflow:
|
|
95995
|
-
borderRadius: sectionproperties.quantitybtn_borderradius +
|
|
95990
|
+
height: sectionproperties.quantitybtn_height + 'px',
|
|
95991
|
+
width: sectionproperties.quantitybtn_width + 'px',
|
|
95992
|
+
display: 'flex',
|
|
95993
|
+
flexDirection: 'row',
|
|
95994
|
+
overflow: 'hidden',
|
|
95995
|
+
borderRadius: sectionproperties.quantitybtn_borderradius + 'px',
|
|
95996
95996
|
background: sectionproperties.quantitybtn_bgcolor,
|
|
95997
|
-
alignItems:
|
|
95998
|
-
justifyContent:
|
|
95997
|
+
alignItems: 'center',
|
|
95998
|
+
justifyContent: 'center',
|
|
95999
95999
|
margin: 0,
|
|
96000
|
-
position:
|
|
96000
|
+
position: 'relative',
|
|
96001
96001
|
fontWeight: sectionproperties.quantitybtn_textfontweight,
|
|
96002
96002
|
color: sectionproperties.quantitybtn_textcolor,
|
|
96003
|
-
fontSize: sectionproperties.quantitybtn_textfontsize +
|
|
96004
|
-
border: sectionproperties.quantitybtnborderwidth +
|
|
96003
|
+
fontSize: sectionproperties.quantitybtn_textfontsize + 'px',
|
|
96004
|
+
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
96005
96005
|
zIndex: 100
|
|
96006
96006
|
}),
|
|
96007
96007
|
quantitybtn_text: glamor.css({
|
|
96008
|
-
margin:
|
|
96008
|
+
margin: 'auto'
|
|
96009
96009
|
}),
|
|
96010
96010
|
add_quantitybtn_icon_container: glamor.css({
|
|
96011
|
-
position:
|
|
96012
|
-
width: sectionproperties.add_quantitybtn_width +
|
|
96013
|
-
height: sectionproperties.add_quantitybtn_height +
|
|
96011
|
+
position: 'relative',
|
|
96012
|
+
width: sectionproperties.add_quantitybtn_width + 'px',
|
|
96013
|
+
height: sectionproperties.add_quantitybtn_height + 'px',
|
|
96014
96014
|
background: sectionproperties.add_quantitybtn_bgcolor,
|
|
96015
|
-
display:
|
|
96016
|
-
alignItems:
|
|
96017
|
-
justifyContent:
|
|
96018
|
-
borderTopLeftRadius: langdetect !=
|
|
96019
|
-
borderBottomLeftRadius: langdetect !=
|
|
96020
|
-
borderTopRightRadius: langdetect !=
|
|
96021
|
-
borderBottomRightRadius: langdetect !=
|
|
96022
|
-
fontSize: sectionproperties.add_quantitybtn_textfontsize +
|
|
96015
|
+
display: 'flex',
|
|
96016
|
+
alignItems: 'center',
|
|
96017
|
+
justifyContent: 'center',
|
|
96018
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
|
|
96019
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.add_quantitybtn_leftborderradius + 'px' : sectionproperties.add_quantitybtn_rightborderradius + 'px',
|
|
96020
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
|
|
96021
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.add_quantitybtn_rightborderradius + 'px' : sectionproperties.add_quantitybtn_leftborderradius + 'px',
|
|
96022
|
+
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
|
|
96023
96023
|
color: sectionproperties.add_quantitybtn_textcolor,
|
|
96024
|
-
transition:
|
|
96025
|
-
|
|
96024
|
+
transition: '.3s',
|
|
96025
|
+
':hover': {
|
|
96026
96026
|
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
96027
96027
|
background: sectionproperties.add_quantitybtn_bgcoloronhover
|
|
96028
96028
|
},
|
|
96029
|
-
|
|
96029
|
+
':hover .addbtn': {
|
|
96030
96030
|
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
96031
|
-
transition:
|
|
96031
|
+
transition: '.3s'
|
|
96032
96032
|
}
|
|
96033
96033
|
}),
|
|
96034
96034
|
minus_quantitybtn_icon_container: glamor.css({
|
|
96035
|
-
position:
|
|
96036
|
-
display:
|
|
96037
|
-
alignItems:
|
|
96038
|
-
justifyContent:
|
|
96039
|
-
width: sectionproperties.remove_quantitybtn_width +
|
|
96040
|
-
height: sectionproperties.remove_quantitybtn_height +
|
|
96035
|
+
position: 'relative',
|
|
96036
|
+
display: 'flex',
|
|
96037
|
+
alignItems: 'center',
|
|
96038
|
+
justifyContent: 'center',
|
|
96039
|
+
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
96040
|
+
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
96041
96041
|
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
96042
|
-
fontSize: sectionproperties.remove_quantitybtn_textfontsize +
|
|
96042
|
+
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
|
|
96043
96043
|
color: sectionproperties.remove_quantitybtn_textcolor,
|
|
96044
|
-
borderTopLeftRadius: langdetect !=
|
|
96045
|
-
borderBottomLeftRadius: langdetect !=
|
|
96046
|
-
borderTopRightRadius: langdetect !=
|
|
96047
|
-
borderBottomRightRadius: langdetect !=
|
|
96048
|
-
transition:
|
|
96049
|
-
|
|
96044
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
|
|
96045
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.remove_quantitybtn_leftborderradius + 'px' : sectionproperties.remove_quantitybtn_rightborderradius + 'px',
|
|
96046
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
|
|
96047
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.remove_quantitybtn_rightborderradius + 'px' : sectionproperties.remove_quantitybtn_leftborderradius + 'px',
|
|
96048
|
+
transition: '.3s',
|
|
96049
|
+
':hover': {
|
|
96050
96050
|
color: sectionproperties.remove_quantitybtn_textcoloronhover,
|
|
96051
96051
|
background: sectionproperties.remove_quantitybtn_bgcoloronhover
|
|
96052
96052
|
},
|
|
96053
|
-
|
|
96054
|
-
transition:
|
|
96053
|
+
':hover .minusbtn': {
|
|
96054
|
+
transition: '.3s',
|
|
96055
96055
|
color: sectionproperties.remove_quantitybtn_textcoloronhover
|
|
96056
96056
|
}
|
|
96057
96057
|
})
|
|
96058
96058
|
};
|
|
96059
96059
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96060
|
-
"class": props.sectiontypeprops2 ==
|
|
96060
|
+
"class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard) + ' w-100 ' : " ".concat(card_cssstyles.productcard),
|
|
96061
96061
|
style: {
|
|
96062
|
-
paddingLeft: langdetect !=
|
|
96063
|
-
paddingRight: langdetect !=
|
|
96062
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
96063
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
96064
96064
|
}
|
|
96065
96065
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96066
|
-
"class":
|
|
96066
|
+
"class": ' cursor-pointer w-100 ',
|
|
96067
96067
|
style: {
|
|
96068
96068
|
background: sectionproperties.backgroundColor,
|
|
96069
|
-
borderBottomLeftRadius: langdetect !=
|
|
96070
|
-
borderBottomRightRadius: langdetect !=
|
|
96071
|
-
borderTopLeftRadius: langdetect !=
|
|
96072
|
-
borderTopRightRadius: langdetect !=
|
|
96073
|
-
marginTop: sectionproperties.marginTop +
|
|
96074
|
-
marginBottom: sectionproperties.marginBottom +
|
|
96075
|
-
border: sectionproperties.sectioncardborderwidth +
|
|
96076
|
-
paddingTop: sectionproperties.paddingTop +
|
|
96077
|
-
paddingBottom: sectionproperties.paddingBottom +
|
|
96078
|
-
paddingLeft: langdetect !=
|
|
96079
|
-
paddingRight: langdetect !=
|
|
96080
|
-
transition:
|
|
96069
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
96070
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
96071
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
96072
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
96073
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
96074
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
96075
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
96076
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
96077
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
96078
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
96079
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
96080
|
+
transition: '.3s'
|
|
96081
96081
|
}
|
|
96082
96082
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96083
96083
|
"class": "w-100",
|
|
96084
96084
|
style: {
|
|
96085
|
-
position:
|
|
96085
|
+
position: 'relative'
|
|
96086
96086
|
}
|
|
96087
|
-
}, sectionproperties.favBtnShow ==
|
|
96088
|
-
"class": " ".concat(card_cssstyles.wishlist_btn) +
|
|
96087
|
+
}, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
96088
|
+
"class": " ".concat(card_cssstyles.wishlist_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
96089
96089
|
onClick: function onClick(e) {
|
|
96090
96090
|
e.stopPropagation();
|
|
96091
96091
|
addtofavoritescontext(item.productid);
|
|
96092
96092
|
},
|
|
96093
96093
|
style: {
|
|
96094
96094
|
zIndex: 2,
|
|
96095
|
-
position:
|
|
96095
|
+
position: 'absolute',
|
|
96096
96096
|
top: 5,
|
|
96097
|
-
right: langdetect !=
|
|
96098
|
-
left: langdetect !=
|
|
96099
|
-
background: item.IsFavExists == true ? sectionproperties.favbtn_bgtransparent ==
|
|
96097
|
+
right: langdetect != 'ar' ? 5 : '',
|
|
96098
|
+
left: langdetect != 'ar' ? '' : 5,
|
|
96099
|
+
background: item.IsFavExists == true ? sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.activebgcolor : ''
|
|
96100
96100
|
}
|
|
96101
96101
|
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
96102
96102
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
96103
|
-
}, sectionproperties.faviconshape ==
|
|
96103
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
96104
96104
|
size: sectionproperties.favBtnIconfontsize,
|
|
96105
96105
|
style: {
|
|
96106
96106
|
color: sectionproperties.activefaviconcolor
|
|
96107
96107
|
}
|
|
96108
|
-
}), sectionproperties.faviconshape ==
|
|
96108
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
|
|
96109
96109
|
size: sectionproperties.favBtnIconfontsize,
|
|
96110
96110
|
style: {
|
|
96111
96111
|
color: sectionproperties.activefaviconcolor
|
|
96112
96112
|
}
|
|
96113
96113
|
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
96114
96114
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
96115
|
-
}, sectionproperties.faviconshape ==
|
|
96115
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
96116
96116
|
size: sectionproperties.favBtnIconfontsize
|
|
96117
|
-
}), sectionproperties.faviconshape ==
|
|
96117
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
96118
96118
|
size: sectionproperties.favBtnIconfontsize
|
|
96119
|
-
}))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge ==
|
|
96119
|
+
}))), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.showbadge == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96120
96120
|
"class": "align-items-center justify-content-center font-weight-500",
|
|
96121
96121
|
style: {
|
|
96122
96122
|
zIndex: 2,
|
|
96123
|
-
position:
|
|
96124
|
-
top: sectionproperties.badge_top +
|
|
96125
|
-
left: langdetect !=
|
|
96126
|
-
right: langdetect !=
|
|
96127
|
-
width: sectionproperties.badge_width +
|
|
96128
|
-
height: sectionproperties.badge_height +
|
|
96123
|
+
position: 'absolute',
|
|
96124
|
+
top: sectionproperties.badge_top + 'px',
|
|
96125
|
+
left: langdetect != 'ar' ? sectionproperties.badge_right + 'px' : '',
|
|
96126
|
+
right: langdetect != 'ar' ? '' : sectionproperties.badge_right + 'px',
|
|
96127
|
+
width: sectionproperties.badge_width + 'px',
|
|
96128
|
+
height: sectionproperties.badge_height + 'px',
|
|
96129
96129
|
background: sectionproperties.badge_bgcolor,
|
|
96130
|
-
borderRadius: sectionproperties.badge_borderradius +
|
|
96131
|
-
display: item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
96130
|
+
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
96131
|
+
display: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && sectionproperties.outofstock_replacebadges == 'Replace' ? 'none' : 'flex'
|
|
96132
96132
|
}
|
|
96133
96133
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
96134
96134
|
"class": "m-0 p-0",
|
|
96135
96135
|
style: {
|
|
96136
96136
|
color: sectionproperties.badge_color,
|
|
96137
|
-
fontSize: sectionproperties.badge_fontsize +
|
|
96137
|
+
fontSize: sectionproperties.badge_fontsize + 'px'
|
|
96138
96138
|
}
|
|
96139
|
-
}, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill ==
|
|
96139
|
+
}, sectionproperties["badgeContent".concat(langdetect.charAt(0).toUpperCase() + langdetect.slice(1))] || sectionproperties.badgeContentEn)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96140
96140
|
"class": "align-items-center justify-content-center",
|
|
96141
96141
|
style: {
|
|
96142
96142
|
zIndex: 2,
|
|
96143
|
-
position:
|
|
96144
|
-
top: sectionproperties.pillpositionfromtop +
|
|
96145
|
-
left: langdetect !=
|
|
96146
|
-
right: langdetect !=
|
|
96147
|
-
width: sectionproperties.pillwidth +
|
|
96148
|
-
height: sectionproperties.pillheight +
|
|
96143
|
+
position: 'absolute',
|
|
96144
|
+
top: sectionproperties.pillpositionfromtop + 'px',
|
|
96145
|
+
left: langdetect != 'ar' ? sectionproperties.pillpositionfromright + 'px' : '',
|
|
96146
|
+
right: langdetect != 'ar' ? '' : sectionproperties.pillpositionfromright + 'px',
|
|
96147
|
+
width: sectionproperties.pillwidth + 'px',
|
|
96148
|
+
height: sectionproperties.pillheight + 'px',
|
|
96149
96149
|
background: sectionproperties.pillbgcolor,
|
|
96150
|
-
borderRadius: sectionproperties.pillborderBottomLeftRadius +
|
|
96151
|
-
display: item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
96150
|
+
borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px',
|
|
96151
|
+
display: item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && sectionproperties.outofstock_replacebadges == 'Replace' ? 'none' : 'flex'
|
|
96152
96152
|
}
|
|
96153
96153
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
96154
96154
|
"class": "m-0 p-0 text-uppercase",
|
|
96155
96155
|
style: {
|
|
96156
96156
|
color: sectionproperties.pillcolor,
|
|
96157
|
-
fontSize: sectionproperties.pillfontSize +
|
|
96158
|
-
direction:
|
|
96157
|
+
fontSize: sectionproperties.pillfontSize + 'px',
|
|
96158
|
+
direction: 'ltr'
|
|
96159
96159
|
}
|
|
96160
|
-
},
|
|
96160
|
+
}, '-' + parseFloat(Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0).toFixed(0) + '%')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96161
96161
|
onClick: function onClick() {
|
|
96162
|
-
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) ==
|
|
96162
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
|
|
96163
96163
|
setShowProductInfoModalContext(true);
|
|
96164
96164
|
setProductIdProdutInfoModalContext(item.productid);
|
|
96165
96165
|
} else {
|
|
96166
96166
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
96167
96167
|
}
|
|
96168
96168
|
},
|
|
96169
|
-
"class": "".concat(card_cssstyles.productcardimagecont) +
|
|
96169
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center d-md-none ',
|
|
96170
96170
|
style: {
|
|
96171
96171
|
zIndex: 1,
|
|
96172
|
-
marginBottom: sectionproperties.image_mb +
|
|
96172
|
+
marginBottom: sectionproperties.image_mb + 'px'
|
|
96173
96173
|
}
|
|
96174
|
-
}, item.image !=
|
|
96174
|
+
}, item.image != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
96175
96175
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
96176
96176
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
96177
|
-
path:
|
|
96177
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
96178
96178
|
loading: "lazy",
|
|
96179
96179
|
style: {
|
|
96180
|
-
width: sectionproperties.imageInnerWidth_Height +
|
|
96181
|
-
height: sectionproperties.imageInnerWidth_Height +
|
|
96182
|
-
objectFit: sectionproperties.bgcovercontain ==
|
|
96180
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
96181
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
96182
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
96183
96183
|
}
|
|
96184
96184
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96185
96185
|
onClick: function onClick() {
|
|
96186
|
-
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) ==
|
|
96186
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
|
|
96187
96187
|
setShowProductInfoModalContext(true);
|
|
96188
96188
|
setProductIdProdutInfoModalContext(item.productid);
|
|
96189
96189
|
} else {
|
|
96190
96190
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
96191
96191
|
}
|
|
96192
96192
|
},
|
|
96193
|
-
"class": "".concat(card_cssstyles.productcardimagecont) +
|
|
96193
|
+
"class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-none d-md-flex align-items-center justify-content-center ',
|
|
96194
96194
|
style: {
|
|
96195
96195
|
zIndex: 1,
|
|
96196
|
-
marginBottom: sectionproperties.image_mb +
|
|
96197
|
-
height: sectionproperties.height_responsive == 0 ?
|
|
96196
|
+
marginBottom: sectionproperties.image_mb + 'px',
|
|
96197
|
+
height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + 'px'
|
|
96198
96198
|
}
|
|
96199
|
-
}, item.image !=
|
|
96199
|
+
}, item.image != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
96200
96200
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
96201
96201
|
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
96202
|
-
path:
|
|
96202
|
+
path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
|
|
96203
96203
|
loading: "lazy",
|
|
96204
96204
|
style: {
|
|
96205
|
-
width: sectionproperties.imageInnerWidth_Height +
|
|
96206
|
-
height: sectionproperties.imageInnerWidth_Height +
|
|
96207
|
-
objectFit: sectionproperties.bgcovercontain ==
|
|
96205
|
+
width: sectionproperties.imageInnerWidth_Height + '%',
|
|
96206
|
+
height: sectionproperties.imageInnerWidth_Height + '%',
|
|
96207
|
+
objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
|
|
96208
96208
|
}
|
|
96209
|
-
})), item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
96210
|
-
"class": "".concat(card_cssstyles.outstockbadge) +
|
|
96209
|
+
})), item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && sectionproperties.outofstock_centered == 'Not centered' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96210
|
+
"class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
|
|
96211
96211
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
96212
96212
|
"class": "m-0 p-0"
|
|
96213
|
-
}, sectionproperties
|
|
96214
|
-
"class": "".concat(card_cssstyles.outstockbadgecentered) +
|
|
96213
|
+
}, 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__default["default"].createElement("div", {
|
|
96214
|
+
"class": "".concat(card_cssstyles.outstockbadgecentered) + ' allcentered '
|
|
96215
96215
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
96216
96216
|
"class": "m-0 p-0"
|
|
96217
|
-
}, sectionproperties
|
|
96218
|
-
"class": "".concat(card_cssstyles.cart_btn) +
|
|
96217
|
+
}, langdetect == 'en' ? sectionproperties.outstock_contenten : langdetect == 'chin' ? '缺货' : sectionproperties.outstock_contentar)), sectionproperties.cartBtnShow == 'Show' && showquantity == false && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96218
|
+
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
96219
96219
|
onClick: function onClick() {
|
|
96220
|
-
if (sectionproperties.quantitybtn_show ==
|
|
96220
|
+
if (sectionproperties.quantitybtn_show == 'Show' && showquantity == false) {
|
|
96221
96221
|
setshowquantity(true);
|
|
96222
96222
|
if (item.hasvariants == 0) {
|
|
96223
96223
|
var tempitem = _objectSpread$2({}, item);
|
|
96224
96224
|
tempitem.quantity = 1;
|
|
96225
96225
|
setitem(_objectSpread$2({}, tempitem));
|
|
96226
|
-
addtocartfunc(
|
|
96226
|
+
addtocartfunc('add', tempitem.quantity);
|
|
96227
96227
|
}
|
|
96228
96228
|
} else {
|
|
96229
|
-
if (item.currentquantity < 1 && sectionproperties.showoutofstock ==
|
|
96230
|
-
NotificationManager.warning(
|
|
96229
|
+
if (item.currentquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0) {
|
|
96230
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Sold Out' : 'نفذت الكمية');
|
|
96231
96231
|
} else {
|
|
96232
96232
|
setShowProductInfoModalContext(true);
|
|
96233
96233
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -96235,36 +96235,36 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
96235
96235
|
}
|
|
96236
96236
|
}
|
|
96237
96237
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
96238
|
-
"class":
|
|
96239
|
-
}, sectionproperties.carticonstyle ==
|
|
96238
|
+
"class": 'h-100 allcentered'
|
|
96239
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
96240
96240
|
"class": "",
|
|
96241
96241
|
size: sectionproperties.cartBtn_iconFontSize
|
|
96242
|
-
}), sectionproperties.carticonstyle ==
|
|
96242
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
96243
96243
|
"class": "",
|
|
96244
96244
|
size: sectionproperties.cartBtn_iconFontSize
|
|
96245
|
-
}), sectionproperties.carticonstyle ==
|
|
96245
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
96246
96246
|
"class": "",
|
|
96247
96247
|
size: sectionproperties.cartBtn_iconFontSize
|
|
96248
|
-
}), sectionproperties.carticonstyle ==
|
|
96248
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
96249
96249
|
size: sectionproperties.cartBtn_iconFontSize
|
|
96250
|
-
}), sectionproperties.carticonstyle ==
|
|
96250
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
96251
96251
|
"class": "",
|
|
96252
96252
|
size: sectionproperties.cartBtn_iconFontSize
|
|
96253
|
-
}), sectionproperties.carticonstyle ==
|
|
96253
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
96254
96254
|
size: sectionproperties.cartBtn_iconFontSize
|
|
96255
|
-
}), sectionproperties.carticonstyle ==
|
|
96255
|
+
}), sectionproperties.carticonstyle == 'Plus Icon' && /*#__PURE__*/React__default["default"].createElement(HiOutlinePlus.HiOutlinePlus, {
|
|
96256
96256
|
size: sectionproperties.cartBtn_iconFontSize
|
|
96257
|
-
}))), showquantity == true && sectionproperties.quantitybtn_show ==
|
|
96257
|
+
}))), showquantity == true && sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96258
96258
|
"class": "row m-0 w-100 d-flex align-items-center justify-content-end",
|
|
96259
96259
|
style: {
|
|
96260
|
-
position:
|
|
96260
|
+
position: 'absolute',
|
|
96261
96261
|
bottom: 10,
|
|
96262
96262
|
right: 10
|
|
96263
96263
|
}
|
|
96264
96264
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96265
|
-
"class": "".concat(card_cssstyles.quantitybtn) +
|
|
96265
|
+
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center ',
|
|
96266
96266
|
style: {
|
|
96267
|
-
direction:
|
|
96267
|
+
direction: 'ltr'
|
|
96268
96268
|
}
|
|
96269
96269
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
96270
96270
|
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
|
|
@@ -96277,7 +96277,7 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
96277
96277
|
tempitem.quantity = 0;
|
|
96278
96278
|
}
|
|
96279
96279
|
setitem(_objectSpread$2({}, tempitem));
|
|
96280
|
-
addtocartfunc(
|
|
96280
|
+
addtocartfunc('add', tempitem.quantity);
|
|
96281
96281
|
} else {
|
|
96282
96282
|
setShowProductInfoModalContext(true);
|
|
96283
96283
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -96287,7 +96287,7 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
96287
96287
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
96288
96288
|
"class": "h-100 allcentered minusbtn"
|
|
96289
96289
|
}, /*#__PURE__*/React__default["default"].createElement(FiMinus.FiMinus, null))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
96290
|
-
"class": "".concat(card_cssstyles.quantitybtn_text) +
|
|
96290
|
+
"class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center '
|
|
96291
96291
|
}, addtocartbuttonrender()), /*#__PURE__*/React__default["default"].createElement("button", {
|
|
96292
96292
|
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container),
|
|
96293
96293
|
onClick: function onClick() {
|
|
@@ -96299,7 +96299,7 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
96299
96299
|
tempitem.quantity = 0;
|
|
96300
96300
|
}
|
|
96301
96301
|
setitem(_objectSpread$2({}, tempitem));
|
|
96302
|
-
addtocartfunc(
|
|
96302
|
+
addtocartfunc('add', tempitem.quantity);
|
|
96303
96303
|
} else {
|
|
96304
96304
|
setShowProductInfoModalContext(true);
|
|
96305
96305
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -96314,27 +96314,27 @@ var QuantityButtonBasedProductCard = function QuantityButtonBasedProductCard(pro
|
|
|
96314
96314
|
"class": "col-lg-12 p-0 mb-1"
|
|
96315
96315
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96316
96316
|
"class": "row m-0 w-100 d-flex align-items-center justify-content-start"
|
|
96317
|
-
}, sectionproperties.prodPriceShow ==
|
|
96318
|
-
"class": "".concat(card_cssstyles.productPricestyles) +
|
|
96319
|
-
}, langdetect !=
|
|
96317
|
+
}, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
96318
|
+
"class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
|
|
96319
|
+
}, langdetect != 'ar' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != 'ar' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96320
96320
|
"class": " d-flex align-items-center justify-content-center p-0 mb-0"
|
|
96321
96321
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
96322
|
-
"class": "".concat(card_cssstyles.productSalePricestyles) +
|
|
96323
|
-
}, langdetect !=
|
|
96322
|
+
"class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
|
|
96323
|
+
}, langdetect != 'ar' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect != 'ar' ? '' : 'ج.م')))), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96324
96324
|
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
96325
96325
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
96326
96326
|
onClick: function onClick() {
|
|
96327
96327
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
96328
96328
|
},
|
|
96329
|
-
"class": sectionproperties.wordbreak ==
|
|
96329
|
+
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 m-0 ',
|
|
96330
96330
|
style: {
|
|
96331
|
-
textAlign: langdetect !=
|
|
96332
|
-
height: sectionproperties.wordbreak ==
|
|
96331
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right',
|
|
96332
|
+
height: sectionproperties.wordbreak == '2' ? '6vh' : 'auto'
|
|
96333
96333
|
}
|
|
96334
|
-
}, item.name)), sectionproperties.quantityshow ==
|
|
96334
|
+
}, item.name)), sectionproperties.quantityshow == 'Show' && item.quantity != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
96335
96335
|
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start"
|
|
96336
96336
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
96337
|
-
"class": "".concat(card_cssstyles.quantity) +
|
|
96337
|
+
"class": "".concat(card_cssstyles.quantity) + ' m-0 '
|
|
96338
96338
|
}, item.measurmentunit))))));
|
|
96339
96339
|
};
|
|
96340
96340
|
|