tabexseriescomponents 0.50.206 → 0.50.208
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 +177 -183
- package/dist/index.esm.js +177 -183
- package/dist/index.umd.js +177 -183
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -29132,7 +29132,7 @@
|
|
|
29132
29132
|
return policyobj;
|
|
29133
29133
|
};
|
|
29134
29134
|
var CartButton = function CartButton() {
|
|
29135
|
-
var _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
29135
|
+
var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
|
|
29136
29136
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
29137
29137
|
"class": "d-flex align-items-center",
|
|
29138
29138
|
style: {
|
|
@@ -29141,13 +29141,7 @@
|
|
|
29141
29141
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
29142
29142
|
className: "".concat(header_cssstyles.addtocartbtn_resp) + ' d-flex align-items-center justify-content-center p-0 ',
|
|
29143
29143
|
onClick: function onClick() {
|
|
29144
|
-
|
|
29145
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.data) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.customercart) === null || _fetchcustomercartQue === void 0 || (_fetchcustomercartQue = _fetchcustomercartQue.cartitems) === null || _fetchcustomercartQue === void 0 ? void 0 : _fetchcustomercartQue.length) > 7) {
|
|
29146
|
-
setopenmenuCanvas(false);
|
|
29147
|
-
routingcountext(StaticPagesLinksContext.viewcart);
|
|
29148
|
-
} else {
|
|
29149
|
-
setsidecartnavshowcontext(true);
|
|
29150
|
-
}
|
|
29144
|
+
setsidecartnavshowcontext(true);
|
|
29151
29145
|
}
|
|
29152
29146
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
29153
29147
|
className: ' h-100 d-flex align-items-center justify-content-center '
|
|
@@ -29171,7 +29165,7 @@
|
|
|
29171
29165
|
top: sectionproperties.cartbadgefromtop + 'px',
|
|
29172
29166
|
right: sectionproperties.cartbadgefromright + 'px'
|
|
29173
29167
|
}
|
|
29174
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0
|
|
29168
|
+
}, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue !== void 0 && (_fetchcustomercartQue = _fetchcustomercartQue.data) !== null && _fetchcustomercartQue !== void 0 && _fetchcustomercartQue.status && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.customercart) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.cartitems) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.length) != 0 ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.customercart.cartitems_count_withquantity : 0));
|
|
29175
29169
|
};
|
|
29176
29170
|
var _useState13 = React.useState(false),
|
|
29177
29171
|
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
@@ -39488,7 +39482,7 @@
|
|
|
39488
39482
|
function ownKeys$1_(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; }
|
|
39489
39483
|
function _objectSpread$1_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1_(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
39490
39484
|
var Header8 = function Header8(props) {
|
|
39491
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i21, _authdetailsContext$i23,
|
|
39485
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$c, _authdetailsContext$c2, _authdetailsContext$c3, _authdetailsContext$c4, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue2, _fetchcustomercartQue3, _fetchcustomercartQue4, _authdetailsContext$i10, _authdetailsContext$i11, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _authdetailsContext$i16, _authdetailsContext$i17, _authdetailsContext$i18, _authdetailsContext$i19, _authdetailsContext$i21, _authdetailsContext$i23, _fetchcustomercartQue5, _fetchcustomercartQue6;
|
|
39492
39486
|
var actions = props.actions;
|
|
39493
39487
|
props.actions.history;
|
|
39494
39488
|
var lang = props.actions.lang;
|
|
@@ -40363,7 +40357,7 @@
|
|
|
40363
40357
|
"class": "".concat(header_cssstyles.cart_btn) + ' cursor-pointer d-flex align-items-center justify-content-center '
|
|
40364
40358
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40365
40359
|
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
|
|
40366
|
-
},
|
|
40360
|
+
}, fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue2 !== void 0 && (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) !== null && _fetchcustomercartQue2 !== void 0 && _fetchcustomercartQue2.status && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue3 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.data) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.customercart) === null || _fetchcustomercartQue3 === void 0 || (_fetchcustomercartQue3 = _fetchcustomercartQue3.cartitems) === null || _fetchcustomercartQue3 === void 0 ? void 0 : _fetchcustomercartQue3.length) != 0 ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.customercart.cartitems_count_withquantity : 0), /*#__PURE__*/React__default["default"].createElement("i", {
|
|
40367
40361
|
"class": "h-100 allcentered"
|
|
40368
40362
|
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
40369
40363
|
size: sectionproperties.cartBtn_iconFontSize
|
|
@@ -40822,7 +40816,7 @@
|
|
|
40822
40816
|
"class": "".concat(header_cssstyles.cart_btn) + ' cursor-pointer d-flex align-items-center justify-content-end '
|
|
40823
40817
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
40824
40818
|
"class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
|
|
40825
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
40819
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 || (_fetchcustomercartQue5 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : _fetchcustomercartQue5.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue6 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue6 === void 0 || (_fetchcustomercartQue6 = _fetchcustomercartQue6.data) === null || _fetchcustomercartQue6 === void 0 || (_fetchcustomercartQue6 = _fetchcustomercartQue6.customercart) === null || _fetchcustomercartQue6 === void 0 || (_fetchcustomercartQue6 = _fetchcustomercartQue6.cartitems) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.length : 0), /*#__PURE__*/React__default["default"].createElement("i", {
|
|
40826
40820
|
"class": "h-100 allcentered"
|
|
40827
40821
|
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
40828
40822
|
size: sectionproperties.cartBtn_iconFontSize
|
|
@@ -88409,7 +88403,7 @@
|
|
|
88409
88403
|
function _objectSpread$m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$m(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
88410
88404
|
var MenuCard = function MenuCard(props) {
|
|
88411
88405
|
var _css2;
|
|
88412
|
-
var _useState = React.useState(
|
|
88406
|
+
var _useState = React.useState(''),
|
|
88413
88407
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
88414
88408
|
sectionproperties = _useState2[0],
|
|
88415
88409
|
setsectionproperties = _useState2[1];
|
|
@@ -88431,7 +88425,7 @@
|
|
|
88431
88425
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
88432
88426
|
var NotificationManager = NotificationManager;
|
|
88433
88427
|
React.useEffect(function () {
|
|
88434
|
-
if (props.srcfrom ==
|
|
88428
|
+
if (props.srcfrom == 'addsectionform') {
|
|
88435
88429
|
var secpropobj = {};
|
|
88436
88430
|
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
88437
88431
|
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
@@ -88481,161 +88475,161 @@
|
|
|
88481
88475
|
|
|
88482
88476
|
var card_cssstyles = {
|
|
88483
88477
|
productcard: glamor.css({
|
|
88484
|
-
background: sectionproperties.backgroundColortransparent ==
|
|
88485
|
-
borderBottomLeftRadius: langdetect !=
|
|
88486
|
-
borderBottomRightRadius: langdetect !=
|
|
88487
|
-
borderTopLeftRadius: langdetect !=
|
|
88488
|
-
borderTopRightRadius: langdetect !=
|
|
88489
|
-
marginTop: sectionproperties.marginTop +
|
|
88490
|
-
marginBottom: sectionproperties.marginBottom +
|
|
88491
|
-
paddingLeft: langdetect !=
|
|
88492
|
-
paddingRight: langdetect !=
|
|
88493
|
-
paddingTop: sectionproperties.paddingTop +
|
|
88494
|
-
paddingBottom: sectionproperties.paddingBottom +
|
|
88495
|
-
borderBottom: sectionproperties.border ==
|
|
88496
|
-
borderLeft: sectionproperties.border ==
|
|
88497
|
-
borderRight: sectionproperties.border ==
|
|
88498
|
-
borderTop: sectionproperties.border ==
|
|
88499
|
-
border: sectionproperties.border ==
|
|
88500
|
-
transition:
|
|
88478
|
+
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
88479
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
88480
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
88481
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
88482
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
88483
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
88484
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
88485
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
88486
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
88487
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
88488
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
88489
|
+
borderBottom: sectionproperties.border == 'border bottom' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
|
|
88490
|
+
borderLeft: sectionproperties.border == 'border left' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
|
|
88491
|
+
borderRight: sectionproperties.border == 'border right' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
|
|
88492
|
+
borderTop: sectionproperties.border == 'border top' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
|
|
88493
|
+
border: sectionproperties.border == 'all' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
|
|
88494
|
+
transition: '.3s',
|
|
88501
88495
|
color: sectionproperties.prodNameColor
|
|
88502
88496
|
}),
|
|
88503
88497
|
productcardimagecont: glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
|
|
88504
|
-
position:
|
|
88505
|
-
overflow:
|
|
88506
|
-
background: sectionproperties.image_bgtransparent ==
|
|
88507
|
-
border: sectionproperties.image_borderwidth +
|
|
88508
|
-
borderBottomLeftRadius: langdetect !=
|
|
88509
|
-
borderBottomRightRadius: langdetect !=
|
|
88510
|
-
borderTopLeftRadius: langdetect !=
|
|
88511
|
-
borderTopRightRadius: langdetect !=
|
|
88512
|
-
transition:
|
|
88513
|
-
height: sectionproperties.image_height +
|
|
88514
|
-
width: sectionproperties.image_width +
|
|
88515
|
-
}, "borderBottomLeftRadius", langdetect !=
|
|
88516
|
-
width: sectionproperties.image_width +
|
|
88498
|
+
position: 'relative',
|
|
88499
|
+
overflow: 'hidden',
|
|
88500
|
+
background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
|
|
88501
|
+
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
88502
|
+
borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
88503
|
+
borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
88504
|
+
borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
|
|
88505
|
+
borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
|
|
88506
|
+
transition: '.3s',
|
|
88507
|
+
height: sectionproperties.image_height + 'px',
|
|
88508
|
+
width: sectionproperties.image_width + 'px'
|
|
88509
|
+
}, "borderBottomLeftRadius", langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px'), "borderBottomRightRadius", langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px'), "borderTopLeftRadius", langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px'), "borderTopRightRadius", langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'), "overflow", 'hidden'), "cursor", 'pointer'), '@media (max-width: 800px)', {
|
|
88510
|
+
width: sectionproperties.image_width + '%'
|
|
88517
88511
|
})),
|
|
88518
88512
|
productNameStyles: glamor.css({
|
|
88519
|
-
fontSize: sectionproperties.prodNameFontSize +
|
|
88513
|
+
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
88520
88514
|
textTransform: sectionproperties.prodNameTextTranform,
|
|
88521
88515
|
fontWeight: sectionproperties.prodNameFontWeight,
|
|
88522
|
-
transition:
|
|
88523
|
-
cursor:
|
|
88524
|
-
|
|
88516
|
+
transition: '.3s',
|
|
88517
|
+
cursor: 'pointer',
|
|
88518
|
+
':hover': {
|
|
88525
88519
|
color: sectionproperties.prodNameColorOnHover
|
|
88526
88520
|
}
|
|
88527
88521
|
}),
|
|
88528
88522
|
productPricestyles: glamor.css({
|
|
88529
88523
|
color: sectionproperties.prodPriceColor,
|
|
88530
|
-
fontSize: sectionproperties.prodpriceFontSize +
|
|
88524
|
+
fontSize: sectionproperties.prodpriceFontSize + 'px',
|
|
88531
88525
|
fontWeight: sectionproperties.prodPriceFontWeight
|
|
88532
88526
|
}),
|
|
88533
88527
|
productSalePricestyles: glamor.css({
|
|
88534
88528
|
color: sectionproperties.prodsalePriceColor,
|
|
88535
|
-
fontSize: sectionproperties.prodsalepriceFontSize +
|
|
88529
|
+
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
88536
88530
|
fontWeight: sectionproperties.prodsalePriceFontWeight
|
|
88537
88531
|
}),
|
|
88538
88532
|
wishlist_btn: glamor.css({
|
|
88539
|
-
width: sectionproperties.favBtnWidth +
|
|
88540
|
-
height: sectionproperties.favBtnHeight +
|
|
88541
|
-
background: sectionproperties.favbtn_bgtransparent ==
|
|
88542
|
-
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius +
|
|
88533
|
+
width: sectionproperties.favBtnWidth + 'px',
|
|
88534
|
+
height: sectionproperties.favBtnHeight + 'px',
|
|
88535
|
+
background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
|
|
88536
|
+
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
|
|
88543
88537
|
color: sectionproperties.favBtniconcolor,
|
|
88544
|
-
fontSize: sectionproperties.favBtnTextfontsize +
|
|
88545
|
-
border: sectionproperties.favbtnborderwidth +
|
|
88546
|
-
transition:
|
|
88547
|
-
|
|
88548
|
-
background: sectionproperties.favbtn_transparentbgcoloronhover ==
|
|
88538
|
+
fontSize: sectionproperties.favBtnTextfontsize + 'px',
|
|
88539
|
+
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
88540
|
+
transition: '.4s',
|
|
88541
|
+
':hover': {
|
|
88542
|
+
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
88549
88543
|
color: sectionproperties.favBtnTextcoloronhover
|
|
88550
88544
|
}
|
|
88551
88545
|
}),
|
|
88552
88546
|
cart_btn: glamor.css({
|
|
88553
|
-
width: sectionproperties.cartBtnWidth +
|
|
88554
|
-
height: sectionproperties.cartBtnHeight +
|
|
88555
|
-
background: sectionproperties.cartbtn_bgtransparent ==
|
|
88556
|
-
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius +
|
|
88547
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
88548
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
88549
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
88550
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
88557
88551
|
color: sectionproperties.cart_iconcolor,
|
|
88558
|
-
border: sectionproperties.cartbtnborderwidth +
|
|
88559
|
-
transition:
|
|
88560
|
-
|
|
88561
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
88552
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
88553
|
+
transition: '.3s',
|
|
88554
|
+
':hover': {
|
|
88555
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
88562
88556
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
88563
88557
|
}
|
|
88564
88558
|
}),
|
|
88565
88559
|
cart_btntxt: glamor.css({
|
|
88566
88560
|
color: sectionproperties.cartBtnTextcolor,
|
|
88567
|
-
fontSize: sectionproperties.cartBtnTextfontsize +
|
|
88561
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
88568
88562
|
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
88569
88563
|
// border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
88570
|
-
transition:
|
|
88571
|
-
|
|
88572
|
-
background: sectionproperties.cartbtn_transparentbgcoloronhover ==
|
|
88564
|
+
transition: '.3s',
|
|
88565
|
+
':hover': {
|
|
88566
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
88573
88567
|
color: sectionproperties.cartBtnTextcoloronhover
|
|
88574
88568
|
}
|
|
88575
88569
|
}),
|
|
88576
88570
|
quantitybtn: glamor.css((_css2 = {
|
|
88577
88571
|
flex: 1,
|
|
88578
|
-
border: sectionproperties.quantitybtnborderwidth +
|
|
88579
|
-
height: sectionproperties.quantitybtn_height +
|
|
88580
|
-
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css2, "height",
|
|
88572
|
+
border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
|
|
88573
|
+
height: sectionproperties.quantitybtn_height + 'px'
|
|
88574
|
+
}, _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css2, "height", '40px'), "display", 'flex'), "flexDirection", 'row'), "overflow", 'hidden'), "borderRadius", sectionproperties.quantitybtn_borderradius + 'px'), "background", sectionproperties.quantitybtn_bgcolor), "alignItems", 'center'), "justifyContent", 'center'), "margin", 0), "position", 'relative'), _defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_css2, "fontWeight", sectionproperties.quantitybtn_textfontweight), "color", sectionproperties.quantitybtn_textcolor), "fontSize", sectionproperties.quantitybtn_textfontsize + 'px'))),
|
|
88581
88575
|
quantitybtn_text: glamor.css({
|
|
88582
|
-
margin:
|
|
88576
|
+
margin: 'auto'
|
|
88583
88577
|
}),
|
|
88584
88578
|
add_quantitybtn_icon_container: glamor.css({
|
|
88585
|
-
position:
|
|
88586
|
-
width: sectionproperties.add_quantitybtn_width +
|
|
88587
|
-
height: sectionproperties.add_quantitybtn_height +
|
|
88579
|
+
position: 'relative',
|
|
88580
|
+
width: sectionproperties.add_quantitybtn_width + 'px',
|
|
88581
|
+
height: sectionproperties.add_quantitybtn_height + 'px',
|
|
88588
88582
|
background: sectionproperties.add_quantitybtn_bgcolor,
|
|
88589
|
-
display:
|
|
88590
|
-
alignItems:
|
|
88591
|
-
justifyContent:
|
|
88592
|
-
borderRadius: sectionproperties.add_quantitybtn_borderradius +
|
|
88593
|
-
fontSize: sectionproperties.add_quantitybtn_textfontsize +
|
|
88583
|
+
display: 'flex',
|
|
88584
|
+
alignItems: 'center',
|
|
88585
|
+
justifyContent: 'center',
|
|
88586
|
+
borderRadius: sectionproperties.add_quantitybtn_borderradius + 'px',
|
|
88587
|
+
fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
|
|
88594
88588
|
color: sectionproperties.add_quantitybtn_textcolor,
|
|
88595
|
-
transition:
|
|
88596
|
-
|
|
88589
|
+
transition: '.3s',
|
|
88590
|
+
':hover': {
|
|
88597
88591
|
color: sectionproperties.add_quantitybtn_textcoloronhover,
|
|
88598
88592
|
background: sectionproperties.add_quantitybtn_bgcoloronhover
|
|
88599
88593
|
}
|
|
88600
88594
|
}),
|
|
88601
88595
|
minus_quantitybtn_icon_container: glamor.css({
|
|
88602
|
-
position:
|
|
88603
|
-
width: sectionproperties.remove_quantitybtn_width +
|
|
88604
|
-
height: sectionproperties.remove_quantitybtn_height +
|
|
88596
|
+
position: 'relative',
|
|
88597
|
+
width: sectionproperties.remove_quantitybtn_width + 'px',
|
|
88598
|
+
height: sectionproperties.remove_quantitybtn_height + 'px',
|
|
88605
88599
|
background: sectionproperties.remove_quantitybtn_bgcolor,
|
|
88606
|
-
display:
|
|
88607
|
-
alignItems:
|
|
88608
|
-
justifyContent:
|
|
88609
|
-
borderRadius: sectionproperties.remove_quantitybtn_borderradius +
|
|
88610
|
-
fontSize: sectionproperties.remove_quantitybtn_textfontsize +
|
|
88600
|
+
display: 'flex',
|
|
88601
|
+
alignItems: 'center',
|
|
88602
|
+
justifyContent: 'center',
|
|
88603
|
+
borderRadius: sectionproperties.remove_quantitybtn_borderradius + 'px',
|
|
88604
|
+
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
|
|
88611
88605
|
color: sectionproperties.remove_quantitybtn_textcolor,
|
|
88612
|
-
transition:
|
|
88613
|
-
|
|
88606
|
+
transition: '.3s',
|
|
88607
|
+
':hover': {
|
|
88614
88608
|
color: sectionproperties.remove_quantitybtn_textcoloronhover,
|
|
88615
88609
|
background: sectionproperties.remove_quantitybtn_bgcoloronhover
|
|
88616
88610
|
}
|
|
88617
88611
|
}),
|
|
88618
88612
|
producttotalstyles: glamor.css({
|
|
88619
88613
|
color: sectionproperties.total_color,
|
|
88620
|
-
fontSize: sectionproperties.total_fontsize +
|
|
88614
|
+
fontSize: sectionproperties.total_fontsize + 'px',
|
|
88621
88615
|
fontWeight: 500
|
|
88622
88616
|
}),
|
|
88623
88617
|
productDescStyles: glamor.css({
|
|
88624
88618
|
color: sectionproperties.prodCatColor,
|
|
88625
|
-
fontSize: sectionproperties.prodCatFontSize +
|
|
88619
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
88626
88620
|
textTransform: sectionproperties.prodCatTextTranform,
|
|
88627
88621
|
fontWeight: sectionproperties.prodCatFontWeight,
|
|
88628
|
-
transition:
|
|
88629
|
-
marginLeft: sectionproperties.description_marginLeft +
|
|
88630
|
-
marginRight: sectionproperties.description_marginRight +
|
|
88631
|
-
marginBottom: sectionproperties.descriptionMarginBottom +
|
|
88622
|
+
transition: '.3s',
|
|
88623
|
+
marginLeft: sectionproperties.description_marginLeft + 'px',
|
|
88624
|
+
marginRight: sectionproperties.description_marginRight + 'px',
|
|
88625
|
+
marginBottom: sectionproperties.descriptionMarginBottom + 'px'
|
|
88632
88626
|
})
|
|
88633
88627
|
};
|
|
88634
88628
|
var addtocartfunc = function addtocartfunc(type, quantity) {
|
|
88635
88629
|
var addtocardpayloadobj = {
|
|
88636
|
-
functype:
|
|
88630
|
+
functype: 'add',
|
|
88637
88631
|
productid: item.productid,
|
|
88638
|
-
variantid:
|
|
88632
|
+
variantid: '',
|
|
88639
88633
|
quantity: quantity
|
|
88640
88634
|
};
|
|
88641
88635
|
var runfunc = false;
|
|
@@ -88644,13 +88638,13 @@
|
|
|
88644
88638
|
if (addtocardpayloadobj.variantid.length != 0) {
|
|
88645
88639
|
runfunc = true;
|
|
88646
88640
|
} else {
|
|
88647
|
-
NotificationManager.warning(
|
|
88641
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
|
|
88648
88642
|
}
|
|
88649
88643
|
} else {
|
|
88650
88644
|
runfunc = true;
|
|
88651
88645
|
}
|
|
88652
88646
|
} else {
|
|
88653
|
-
NotificationManager.warning(
|
|
88647
|
+
NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
|
|
88654
88648
|
}
|
|
88655
88649
|
if (runfunc == true) {
|
|
88656
88650
|
AddtoCartContext(addtocardpayloadobj);
|
|
@@ -88661,9 +88655,9 @@
|
|
|
88661
88655
|
var _AddtoCartMutationCon;
|
|
88662
88656
|
if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 || (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
|
|
88663
88657
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88664
|
-
"class":
|
|
88658
|
+
"class": ' d-flex align-items-center justify-content-center '
|
|
88665
88659
|
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
88666
|
-
color:
|
|
88660
|
+
color: '#000',
|
|
88667
88661
|
width: "20px",
|
|
88668
88662
|
height: "20px",
|
|
88669
88663
|
duration: "1s"
|
|
@@ -88679,22 +88673,22 @@
|
|
|
88679
88673
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88680
88674
|
"class": "row m-0 w-100 pl-sm-2 pr-sm-2",
|
|
88681
88675
|
style: {
|
|
88682
|
-
paddingLeft: langdetect !=
|
|
88683
|
-
paddingRight: langdetect !=
|
|
88676
|
+
paddingLeft: langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
88677
|
+
paddingRight: langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
|
|
88684
88678
|
}
|
|
88685
88679
|
}, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88686
|
-
"class": "".concat(card_cssstyles.productcard) +
|
|
88680
|
+
"class": "".concat(card_cssstyles.productcard) + ' w-100 pl-sm-0 pr-sm-0 px-sm-2 '
|
|
88687
88681
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88688
88682
|
"class": "row w-100 m-0 d-flex"
|
|
88689
|
-
}, sectionproperties.image_show ==
|
|
88683
|
+
}, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88690
88684
|
onClick: function onClick() {
|
|
88691
|
-
if (props.fetchingtypeprops ==
|
|
88692
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true,
|
|
88685
|
+
if (props.fetchingtypeprops == 'collections') {
|
|
88686
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
|
|
88693
88687
|
} else {
|
|
88694
88688
|
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
88695
88689
|
}
|
|
88696
88690
|
},
|
|
88697
|
-
"class": langdetect !=
|
|
88691
|
+
"class": langdetect != 'ar' ? "".concat(card_cssstyles.productcardimagecont) + ' d-flex justify-content-start mr-2 m-sm-0 ' : "".concat(card_cssstyles.productcardimagecont) + ' d-flex justify-content-start ml-2 m-sm-0 ',
|
|
88698
88692
|
style: {}
|
|
88699
88693
|
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
88700
88694
|
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
@@ -88702,10 +88696,10 @@
|
|
|
88702
88696
|
path: item.image,
|
|
88703
88697
|
loading: "lazy",
|
|
88704
88698
|
style: {
|
|
88705
|
-
width:
|
|
88706
|
-
height:
|
|
88707
|
-
objectFit:
|
|
88708
|
-
cursor:
|
|
88699
|
+
width: '100%',
|
|
88700
|
+
height: '100%',
|
|
88701
|
+
objectFit: 'cover',
|
|
88702
|
+
cursor: 'pointer'
|
|
88709
88703
|
}
|
|
88710
88704
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88711
88705
|
style: {
|
|
@@ -88717,47 +88711,47 @@
|
|
|
88717
88711
|
"class": "col-lg-9 col-md-9 col-sm-12 pl-1 pr-1 mt-2 p-0"
|
|
88718
88712
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88719
88713
|
"class": "row w-100 m-0"
|
|
88720
|
-
}, sectionproperties.prodNameShow ==
|
|
88714
|
+
}, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88721
88715
|
onClick: function onClick() {
|
|
88722
88716
|
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
88723
88717
|
},
|
|
88724
88718
|
"class": "col-lg-12 p-0 "
|
|
88725
88719
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
88726
|
-
"class": "".concat(card_cssstyles.productNameStyles) +
|
|
88720
|
+
"class": "".concat(card_cssstyles.productNameStyles) + ' font-md-15 wordbreak wordbreak1 m-0 ',
|
|
88727
88721
|
style: {
|
|
88728
|
-
textAlign: langdetect !=
|
|
88722
|
+
textAlign: langdetect != 'ar' ? 'left' : 'right'
|
|
88729
88723
|
}
|
|
88730
|
-
}, item.name)), sectionproperties.prodCatShow ==
|
|
88731
|
-
"class": sectionproperties.descriptionwordbreak ==
|
|
88724
|
+
}, item.name)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
88725
|
+
"class": sectionproperties.descriptionwordbreak == 'None' ? "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 mt-1 ' : "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 p-0 wordbreak wordbreak4 mt-1 ',
|
|
88732
88726
|
style: {
|
|
88733
|
-
textAlign: sectionproperties.productnamecentered ==
|
|
88727
|
+
textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect != 'ar' ? 'left' : 'right'
|
|
88734
88728
|
},
|
|
88735
88729
|
dangerouslySetInnerHTML: {
|
|
88736
88730
|
__html: item.shortdescription
|
|
88737
88731
|
}
|
|
88738
88732
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88739
88733
|
style: {
|
|
88740
|
-
display:
|
|
88741
|
-
flexDirection:
|
|
88742
|
-
alignContent:
|
|
88734
|
+
display: 'flex',
|
|
88735
|
+
flexDirection: 'column',
|
|
88736
|
+
alignContent: 'space-between'
|
|
88743
88737
|
},
|
|
88744
88738
|
"class": "col-lg-3 col-md-3 col-sm-12 mt-2 p-0"
|
|
88745
88739
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88746
88740
|
"class": "row m-0 w-100 d-flex flex-column flex-sm-column justify-content-end justify-content-sm-start"
|
|
88747
|
-
}, sectionproperties.prodPriceShow ==
|
|
88748
|
-
"class": langdetect !=
|
|
88749
|
-
}, langdetect !=
|
|
88750
|
-
"class": langdetect !=
|
|
88751
|
-
}, langdetect !=
|
|
88752
|
-
"class": langdetect !=
|
|
88753
|
-
}, langdetect !=
|
|
88754
|
-
"class": langdetect !=
|
|
88755
|
-
}, langdetect !=
|
|
88741
|
+
}, sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
88742
|
+
"class": langdetect != 'ar' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
88743
|
+
}, langdetect != 'ar' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect != 'ar' ? '' : item.currencyname), sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
88744
|
+
"class": langdetect != 'ar' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
|
|
88745
|
+
}, langdetect != 'ar' ? item.currencyname : '', ' ', item.hassale == 1 ? parseFloat(Number(item.defaultsaleprice).toFixed(2)) : parseFloat(Number(item.defaultprice).toFixed(2)), ' ', langdetect != 'ar' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
88746
|
+
"class": langdetect != 'ar' ? "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3 m-sm-0 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right ml-sm-3 mr-sm-3 m-sm-0 '
|
|
88747
|
+
}, langdetect != 'ar' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect != 'ar' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && sectionproperties.removedecimals == 'Hide' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
88748
|
+
"class": langdetect != 'ar' ? "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ml-sm-3 mr-sm-3 m-sm-0 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right ml-sm-3 mr-sm-3 m-sm-0 '
|
|
88749
|
+
}, langdetect != 'ar' ? item.currencyname : '', " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect != 'ar' ? '' : item.currencyname)), sectionproperties.quantitybtn_show == 'hide' && sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88756
88750
|
"class": "row m-0 mt-auto w-100"
|
|
88757
88751
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88758
88752
|
"class": "col-lg-12 d-flex justify-content-end p-0"
|
|
88759
88753
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
88760
|
-
"class": "".concat(card_cssstyles.cart_btn) +
|
|
88754
|
+
"class": "".concat(card_cssstyles.cart_btn) + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
88761
88755
|
onClick: function onClick() {
|
|
88762
88756
|
if (item.hasvariants == 0) {
|
|
88763
88757
|
addtocartfunc();
|
|
@@ -88767,22 +88761,22 @@
|
|
|
88767
88761
|
}
|
|
88768
88762
|
}
|
|
88769
88763
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
88770
|
-
"class":
|
|
88771
|
-
}, sectionproperties.carticonstyle ==
|
|
88764
|
+
"class": 'h-100 d-flex align-items-center justify-content-center'
|
|
88765
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
88772
88766
|
"class": "",
|
|
88773
88767
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88774
|
-
}), sectionproperties.carticonstyle ==
|
|
88768
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
88775
88769
|
"class": "",
|
|
88776
88770
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88777
|
-
}), sectionproperties.carticonstyle ==
|
|
88771
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
88778
88772
|
"class": "",
|
|
88779
88773
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88780
|
-
}), sectionproperties.carticonstyle ==
|
|
88774
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
88781
88775
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88782
|
-
}), sectionproperties.carticonstyle ==
|
|
88776
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
88783
88777
|
"class": "",
|
|
88784
88778
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88785
|
-
}), sectionproperties.carticonstyle ==
|
|
88779
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
88786
88780
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88787
88781
|
})))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88788
88782
|
"class": "col-lg-12 mt-1 p-0"
|
|
@@ -88790,18 +88784,18 @@
|
|
|
88790
88784
|
"class": "row w-100 m-0"
|
|
88791
88785
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88792
88786
|
"class": "col-lg-6 col-md-6 col-sm-6 p-0 d-flex align-items-center justify-content-start"
|
|
88793
|
-
}, sectionproperties.quantitybtn_show ==
|
|
88787
|
+
}, sectionproperties.quantitybtn_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88794
88788
|
style: {
|
|
88795
|
-
width: sectionproperties.quantitybtn_width +
|
|
88796
|
-
height: sectionproperties.quantitybtn_height +
|
|
88789
|
+
width: sectionproperties.quantitybtn_width + 'px',
|
|
88790
|
+
height: sectionproperties.quantitybtn_height + 'px'
|
|
88797
88791
|
},
|
|
88798
|
-
"class":
|
|
88792
|
+
"class": ' row m-0 d-flex align-items-center '
|
|
88799
88793
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88800
|
-
"class": "".concat(card_cssstyles.quantitybtn) +
|
|
88801
|
-
}, langdetect !=
|
|
88802
|
-
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) +
|
|
88794
|
+
"class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
|
|
88795
|
+
}, langdetect != 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
88796
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
88803
88797
|
style: {
|
|
88804
|
-
transform:
|
|
88798
|
+
transform: ' rotate(-180deg)'
|
|
88805
88799
|
},
|
|
88806
88800
|
onClick: function onClick() {
|
|
88807
88801
|
if (item.hasvariants == 0) {
|
|
@@ -88812,7 +88806,7 @@
|
|
|
88812
88806
|
tempitem.quantity = 0;
|
|
88813
88807
|
}
|
|
88814
88808
|
setitem(_objectSpread$m({}, tempitem));
|
|
88815
|
-
addtocartfunc(
|
|
88809
|
+
addtocartfunc('add', tempitem.quantity);
|
|
88816
88810
|
} else {
|
|
88817
88811
|
setShowProductInfoModalContext(true);
|
|
88818
88812
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -88821,8 +88815,8 @@
|
|
|
88821
88815
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
88822
88816
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
88823
88817
|
"class": "h-100 allcentered"
|
|
88824
|
-
}, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect ==
|
|
88825
|
-
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) +
|
|
88818
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
88819
|
+
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
88826
88820
|
onClick: function onClick() {
|
|
88827
88821
|
if (item.hasvariants == 0) {
|
|
88828
88822
|
var tempitem = _objectSpread$m({}, item);
|
|
@@ -88832,7 +88826,7 @@
|
|
|
88832
88826
|
tempitem.quantity = 0;
|
|
88833
88827
|
}
|
|
88834
88828
|
setitem(_objectSpread$m({}, tempitem));
|
|
88835
|
-
addtocartfunc(
|
|
88829
|
+
addtocartfunc('add', tempitem.quantity);
|
|
88836
88830
|
} else {
|
|
88837
88831
|
setShowProductInfoModalContext(true);
|
|
88838
88832
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -88842,17 +88836,17 @@
|
|
|
88842
88836
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
88843
88837
|
"class": "h-100 allcentered"
|
|
88844
88838
|
}, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
88845
|
-
"class": "".concat(card_cssstyles.quantitybtn_text) +
|
|
88839
|
+
"class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
|
|
88846
88840
|
style: {
|
|
88847
88841
|
background: sectionproperties.quantbtntextbgcolor,
|
|
88848
|
-
width: sectionproperties.quantitybtntextwidth +
|
|
88849
|
-
height: sectionproperties.quantitybtntextheight +
|
|
88850
|
-
borderRadius: sectionproperties.addquantitytextborderraduis +
|
|
88842
|
+
width: sectionproperties.quantitybtntextwidth + 'px',
|
|
88843
|
+
height: sectionproperties.quantitybtntextheight + 'px',
|
|
88844
|
+
borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
|
|
88851
88845
|
}
|
|
88852
|
-
}, addtocartbuttonrender()), langdetect ==
|
|
88853
|
-
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) +
|
|
88846
|
+
}, addtocartbuttonrender()), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
88847
|
+
"class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
|
|
88854
88848
|
style: {
|
|
88855
|
-
transform:
|
|
88849
|
+
transform: ' rotate(-180deg)'
|
|
88856
88850
|
},
|
|
88857
88851
|
onClick: function onClick() {
|
|
88858
88852
|
if (item.hasvariants == 0) {
|
|
@@ -88863,7 +88857,7 @@
|
|
|
88863
88857
|
tempitem.quantity = 0;
|
|
88864
88858
|
}
|
|
88865
88859
|
setitem(_objectSpread$m({}, tempitem));
|
|
88866
|
-
addtocartfunc(
|
|
88860
|
+
addtocartfunc('add', tempitem.quantity);
|
|
88867
88861
|
} else {
|
|
88868
88862
|
setShowProductInfoModalContext(true);
|
|
88869
88863
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -88872,8 +88866,8 @@
|
|
|
88872
88866
|
disabled: AddtoCartMutationContext.isLoading == true ? true : false
|
|
88873
88867
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
88874
88868
|
"class": "h-100 allcentered"
|
|
88875
|
-
}, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect !=
|
|
88876
|
-
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) +
|
|
88869
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect != 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
88870
|
+
"class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
|
|
88877
88871
|
onClick: function onClick() {
|
|
88878
88872
|
if (item.hasvariants == 0) {
|
|
88879
88873
|
var tempitem = _objectSpread$m({}, item);
|
|
@@ -88883,7 +88877,7 @@
|
|
|
88883
88877
|
tempitem.quantity = 0;
|
|
88884
88878
|
}
|
|
88885
88879
|
setitem(_objectSpread$m({}, tempitem));
|
|
88886
|
-
addtocartfunc(
|
|
88880
|
+
addtocartfunc('add', tempitem.quantity);
|
|
88887
88881
|
} else {
|
|
88888
88882
|
setShowProductInfoModalContext(true);
|
|
88889
88883
|
setProductIdProdutInfoModalContext(item.productid);
|
|
@@ -88894,34 +88888,34 @@
|
|
|
88894
88888
|
"class": "h-100 allcentered"
|
|
88895
88889
|
}, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null)))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
88896
88890
|
"class": "col-lg-6 col-md-6 col-sm-6 p-0 d-flex align-items-center justify-content-end"
|
|
88897
|
-
}, sectionproperties.favBtnShow ==
|
|
88898
|
-
"class": card_cssstyles.wishlist_btn +
|
|
88891
|
+
}, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
88892
|
+
"class": card_cssstyles.wishlist_btn + ' ml-2 mr-2',
|
|
88899
88893
|
onClick: function onClick() {
|
|
88900
88894
|
addtofavoritescontext(item.productid);
|
|
88901
88895
|
},
|
|
88902
88896
|
style: {
|
|
88903
|
-
background: item.IsFavExists == true ? sectionproperties.activebgcolor :
|
|
88897
|
+
background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
|
|
88904
88898
|
}
|
|
88905
88899
|
}, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
88906
88900
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
88907
|
-
}, sectionproperties.faviconshape ==
|
|
88901
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
|
|
88908
88902
|
size: sectionproperties.favBtnIconfontsize,
|
|
88909
88903
|
style: {
|
|
88910
88904
|
color: sectionproperties.activefaviconcolor
|
|
88911
88905
|
}
|
|
88912
|
-
}), sectionproperties.faviconshape ==
|
|
88906
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
|
|
88913
88907
|
size: sectionproperties.favBtnIconfontsize,
|
|
88914
88908
|
style: {
|
|
88915
88909
|
color: sectionproperties.activefaviconcolor
|
|
88916
88910
|
}
|
|
88917
88911
|
})), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
|
|
88918
88912
|
"class": "h-100 d-flex align-items-center justify-content-center"
|
|
88919
|
-
}, sectionproperties.faviconshape ==
|
|
88913
|
+
}, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
|
|
88920
88914
|
size: sectionproperties.favBtnIconfontsize
|
|
88921
|
-
}), sectionproperties.faviconshape ==
|
|
88915
|
+
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
88922
88916
|
size: sectionproperties.favBtnIconfontsize
|
|
88923
|
-
}))), sectionproperties.cartBtnShow ==
|
|
88924
|
-
"class": "".concat(card_cssstyles.cart_btn) +
|
|
88917
|
+
}))), sectionproperties.cartBtnShow == 'Show' && sectionproperties.favBtnShow == 'Show' && sectionproperties.quantitybtn_show == 'show' && /*#__PURE__*/React__default["default"].createElement("button", {
|
|
88918
|
+
"class": "".concat(card_cssstyles.cart_btn) + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ',
|
|
88925
88919
|
onClick: function onClick() {
|
|
88926
88920
|
if (item.hasvariants == 0) {
|
|
88927
88921
|
addtocartfunc();
|
|
@@ -88931,22 +88925,22 @@
|
|
|
88931
88925
|
}
|
|
88932
88926
|
}
|
|
88933
88927
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
88934
|
-
"class":
|
|
88935
|
-
}, sectionproperties.carticonstyle ==
|
|
88928
|
+
"class": 'h-100 d-flex align-items-center justify-content-center'
|
|
88929
|
+
}, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
|
|
88936
88930
|
"class": "",
|
|
88937
88931
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88938
|
-
}), sectionproperties.carticonstyle ==
|
|
88932
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
|
|
88939
88933
|
"class": "",
|
|
88940
88934
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88941
|
-
}), sectionproperties.carticonstyle ==
|
|
88935
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
|
|
88942
88936
|
"class": "",
|
|
88943
88937
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88944
|
-
}), sectionproperties.carticonstyle ==
|
|
88938
|
+
}), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
|
|
88945
88939
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88946
|
-
}), sectionproperties.carticonstyle ==
|
|
88940
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
|
|
88947
88941
|
"class": "",
|
|
88948
88942
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88949
|
-
}), sectionproperties.carticonstyle ==
|
|
88943
|
+
}), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
|
|
88950
88944
|
size: sectionproperties.cartBtn_iconFontSize
|
|
88951
88945
|
})))))))))));
|
|
88952
88946
|
};
|