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 CHANGED
@@ -29326,7 +29326,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
29326
29326
  return policyobj;
29327
29327
  };
29328
29328
  var CartButton = function CartButton() {
29329
- var _fetchcustomercartQue2, _fetchcustomercartQue3;
29329
+ var _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3;
29330
29330
  return /*#__PURE__*/React__default["default"].createElement("div", {
29331
29331
  "class": "d-flex align-items-center",
29332
29332
  style: {
@@ -29335,13 +29335,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
29335
29335
  }, /*#__PURE__*/React__default["default"].createElement("button", {
29336
29336
  className: "".concat(header_cssstyles.addtocartbtn_resp) + ' d-flex align-items-center justify-content-center p-0 ',
29337
29337
  onClick: function onClick() {
29338
- var _fetchcustomercartQue;
29339
- 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) {
29340
- setopenmenuCanvas(false);
29341
- routingcountext(StaticPagesLinksContext.viewcart);
29342
- } else {
29343
- setsidecartnavshowcontext(true);
29344
- }
29338
+ setsidecartnavshowcontext(true);
29345
29339
  }
29346
29340
  }, /*#__PURE__*/React__default["default"].createElement("i", {
29347
29341
  className: ' h-100 d-flex align-items-center justify-content-center '
@@ -29365,7 +29359,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
29365
29359
  top: sectionproperties.cartbadgefromtop + 'px',
29366
29360
  right: sectionproperties.cartbadgefromright + 'px'
29367
29361
  }
29368
- }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? 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));
29362
+ }, 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));
29369
29363
  };
29370
29364
  var _useState13 = React.useState(false),
29371
29365
  _useState14 = _slicedToArray__default["default"](_useState13, 2),
@@ -39682,7 +39676,7 @@ var Simpleheader = function Simpleheader(props) {
39682
39676
  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; }
39683
39677
  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; }
39684
39678
  var Header8 = function Header8(props) {
39685
- 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, _fetchcustomercartQue4, _fetchcustomercartQue5;
39679
+ 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;
39686
39680
  var actions = props.actions;
39687
39681
  props.actions.history;
39688
39682
  var lang = props.actions.lang;
@@ -40557,7 +40551,7 @@ var Header8 = function Header8(props) {
40557
40551
  "class": "".concat(header_cssstyles.cart_btn) + ' cursor-pointer d-flex align-items-center justify-content-center '
40558
40552
  }, /*#__PURE__*/React__default["default"].createElement("div", {
40559
40553
  "class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
40560
- }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue2 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue2 === void 0 || (_fetchcustomercartQue2 = _fetchcustomercartQue2.data) === null || _fetchcustomercartQue2 === void 0 ? void 0 : _fetchcustomercartQue2.customercart) != null ? 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), /*#__PURE__*/React__default["default"].createElement("i", {
40554
+ }, 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", {
40561
40555
  "class": "h-100 allcentered"
40562
40556
  }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
40563
40557
  size: sectionproperties.cartBtn_iconFontSize
@@ -41016,7 +41010,7 @@ var Header8 = function Header8(props) {
41016
41010
  "class": "".concat(header_cssstyles.cart_btn) + ' cursor-pointer d-flex align-items-center justify-content-end '
41017
41011
  }, /*#__PURE__*/React__default["default"].createElement("div", {
41018
41012
  "class": "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
41019
- }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 || (_fetchcustomercartQue5 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue5 === void 0 || (_fetchcustomercartQue5 = _fetchcustomercartQue5.customercart) === null || _fetchcustomercartQue5 === void 0 || (_fetchcustomercartQue5 = _fetchcustomercartQue5.cartitems) === null || _fetchcustomercartQue5 === void 0 ? void 0 : _fetchcustomercartQue5.length : 0), /*#__PURE__*/React__default["default"].createElement("i", {
41013
+ }, (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", {
41020
41014
  "class": "h-100 allcentered"
41021
41015
  }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
41022
41016
  size: sectionproperties.cartBtn_iconFontSize
@@ -88603,7 +88597,7 @@ function ownKeys$m(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
88603
88597
  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; }
88604
88598
  var MenuCard = function MenuCard(props) {
88605
88599
  var _css2;
88606
- var _useState = React.useState(""),
88600
+ var _useState = React.useState(''),
88607
88601
  _useState2 = _slicedToArray__default["default"](_useState, 2),
88608
88602
  sectionproperties = _useState2[0],
88609
88603
  setsectionproperties = _useState2[1];
@@ -88625,7 +88619,7 @@ var MenuCard = function MenuCard(props) {
88625
88619
  var ikimagecredcontext = props.actions.ikimagecredcontext;
88626
88620
  var NotificationManager = NotificationManager;
88627
88621
  React.useEffect(function () {
88628
- if (props.srcfrom == "addsectionform") {
88622
+ if (props.srcfrom == 'addsectionform') {
88629
88623
  var secpropobj = {};
88630
88624
  props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
88631
88625
  secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
@@ -88675,161 +88669,161 @@ var MenuCard = function MenuCard(props) {
88675
88669
 
88676
88670
  var card_cssstyles = {
88677
88671
  productcard: glamor.css({
88678
- background: sectionproperties.backgroundColortransparent == "Transparent" ? "transparent" : sectionproperties.backgroundColor,
88679
- borderBottomLeftRadius: langdetect != "ar" ? sectionproperties.borderBottomLeftRadius + "px" : sectionproperties.borderBottomRightRadius + "px",
88680
- borderBottomRightRadius: langdetect != "ar" ? sectionproperties.borderBottomRightRadius + "px" : sectionproperties.borderBottomLeftRadius + "px",
88681
- borderTopLeftRadius: langdetect != "ar" ? sectionproperties.borderTopLeftRadius + "px" : sectionproperties.borderTopRightRadius + "px",
88682
- borderTopRightRadius: langdetect != "ar" ? sectionproperties.borderTopRightRadius + "px" : sectionproperties.borderTopLeftRadius + "px",
88683
- marginTop: sectionproperties.marginTop + "px",
88684
- marginBottom: sectionproperties.marginBottom + "px",
88685
- paddingLeft: langdetect != "ar" ? sectionproperties.paddingLeft + "px" : sectionproperties.paddingRight + "px",
88686
- paddingRight: langdetect != "ar" ? sectionproperties.paddingRight + "px" : sectionproperties.paddingLeft + "px",
88687
- paddingTop: sectionproperties.paddingTop + "px",
88688
- paddingBottom: sectionproperties.paddingBottom + "px",
88689
- borderBottom: sectionproperties.border == "border bottom" ? sectionproperties.sectioncardborderwidth + "px " + sectionproperties.bordertype + " " + sectionproperties.sectioncardbordercolor : "",
88690
- borderLeft: sectionproperties.border == "border left" ? sectionproperties.sectioncardborderwidth + "px " + sectionproperties.bordertype + " " + sectionproperties.sectioncardbordercolor : "",
88691
- borderRight: sectionproperties.border == "border right" ? sectionproperties.sectioncardborderwidth + "px " + sectionproperties.bordertype + " " + sectionproperties.sectioncardbordercolor : "",
88692
- borderTop: sectionproperties.border == "border top" ? sectionproperties.sectioncardborderwidth + "px " + sectionproperties.bordertype + " " + sectionproperties.sectioncardbordercolor : "",
88693
- border: sectionproperties.border == "all" ? sectionproperties.sectioncardborderwidth + "px " + sectionproperties.bordertype + " " + sectionproperties.sectioncardbordercolor : "",
88694
- transition: ".3s",
88672
+ background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
88673
+ borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
88674
+ borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
88675
+ borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
88676
+ borderTopRightRadius: langdetect != 'ar' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
88677
+ marginTop: sectionproperties.marginTop + 'px',
88678
+ marginBottom: sectionproperties.marginBottom + 'px',
88679
+ paddingLeft: langdetect != 'ar' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
88680
+ paddingRight: langdetect != 'ar' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
88681
+ paddingTop: sectionproperties.paddingTop + 'px',
88682
+ paddingBottom: sectionproperties.paddingBottom + 'px',
88683
+ borderBottom: sectionproperties.border == 'border bottom' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
88684
+ borderLeft: sectionproperties.border == 'border left' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
88685
+ borderRight: sectionproperties.border == 'border right' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
88686
+ borderTop: sectionproperties.border == 'border top' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
88687
+ border: sectionproperties.border == 'all' ? sectionproperties.sectioncardborderwidth + 'px ' + sectionproperties.bordertype + ' ' + sectionproperties.sectioncardbordercolor : '',
88688
+ transition: '.3s',
88695
88689
  color: sectionproperties.prodNameColor
88696
88690
  }),
88697
88691
  productcardimagecont: glamor.css(_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"](_defineProperty__default["default"]({
88698
- position: "relative",
88699
- overflow: "hidden",
88700
- background: sectionproperties.image_bgtransparent == "Transparent" ? "transparent" : sectionproperties.image_bgcolor,
88701
- border: sectionproperties.image_borderwidth + "px solid " + sectionproperties.image_bordercolor,
88702
- borderBottomLeftRadius: langdetect != "ar" ? sectionproperties.image_borderBottomLeftRadius + "px" : sectionproperties.image_borderBottomRightRadius + "px",
88703
- borderBottomRightRadius: langdetect != "ar" ? sectionproperties.image_borderBottomRightRadius + "px" : sectionproperties.image_borderBottomLeftRadius + "px",
88704
- borderTopLeftRadius: langdetect != "ar" ? sectionproperties.image_bordertopleftradius + "px" : sectionproperties.image_bordertoprightradius + "px",
88705
- borderTopRightRadius: langdetect != "ar" ? sectionproperties.image_bordertoprightradius + "px" : sectionproperties.image_bordertopleftradius + "px",
88706
- transition: ".3s",
88707
- height: sectionproperties.image_height + "px",
88708
- width: sectionproperties.image_width + "px"
88709
- }, "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)", {
88710
- width: sectionproperties.image_width + "%"
88692
+ position: 'relative',
88693
+ overflow: 'hidden',
88694
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
88695
+ border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
88696
+ borderBottomLeftRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
88697
+ borderBottomRightRadius: langdetect != 'ar' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
88698
+ borderTopLeftRadius: langdetect != 'ar' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
88699
+ borderTopRightRadius: langdetect != 'ar' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
88700
+ transition: '.3s',
88701
+ height: sectionproperties.image_height + 'px',
88702
+ width: sectionproperties.image_width + 'px'
88703
+ }, "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)', {
88704
+ width: sectionproperties.image_width + '%'
88711
88705
  })),
88712
88706
  productNameStyles: glamor.css({
88713
- fontSize: sectionproperties.prodNameFontSize + "px",
88707
+ fontSize: sectionproperties.prodNameFontSize + 'px',
88714
88708
  textTransform: sectionproperties.prodNameTextTranform,
88715
88709
  fontWeight: sectionproperties.prodNameFontWeight,
88716
- transition: ".3s",
88717
- cursor: "pointer",
88718
- ":hover": {
88710
+ transition: '.3s',
88711
+ cursor: 'pointer',
88712
+ ':hover': {
88719
88713
  color: sectionproperties.prodNameColorOnHover
88720
88714
  }
88721
88715
  }),
88722
88716
  productPricestyles: glamor.css({
88723
88717
  color: sectionproperties.prodPriceColor,
88724
- fontSize: sectionproperties.prodpriceFontSize + "px",
88718
+ fontSize: sectionproperties.prodpriceFontSize + 'px',
88725
88719
  fontWeight: sectionproperties.prodPriceFontWeight
88726
88720
  }),
88727
88721
  productSalePricestyles: glamor.css({
88728
88722
  color: sectionproperties.prodsalePriceColor,
88729
- fontSize: sectionproperties.prodsalepriceFontSize + "px",
88723
+ fontSize: sectionproperties.prodsalepriceFontSize + 'px',
88730
88724
  fontWeight: sectionproperties.prodsalePriceFontWeight
88731
88725
  }),
88732
88726
  wishlist_btn: glamor.css({
88733
- width: sectionproperties.favBtnWidth + "px",
88734
- height: sectionproperties.favBtnHeight + "px",
88735
- background: sectionproperties.favbtn_bgtransparent == "Transparent" ? "transparent" : sectionproperties.favBtnbgColor,
88736
- borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + "px",
88727
+ width: sectionproperties.favBtnWidth + 'px',
88728
+ height: sectionproperties.favBtnHeight + 'px',
88729
+ background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
88730
+ borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
88737
88731
  color: sectionproperties.favBtniconcolor,
88738
- fontSize: sectionproperties.favBtnTextfontsize + "px",
88739
- border: sectionproperties.favbtnborderwidth + "px solid " + sectionproperties.favbtnbordercolor,
88740
- transition: ".4s",
88741
- ":hover": {
88742
- background: sectionproperties.favbtn_transparentbgcoloronhover == "Transparent" ? "transparent" : sectionproperties.favBtnbgColoronhover,
88732
+ fontSize: sectionproperties.favBtnTextfontsize + 'px',
88733
+ border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
88734
+ transition: '.4s',
88735
+ ':hover': {
88736
+ background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
88743
88737
  color: sectionproperties.favBtnTextcoloronhover
88744
88738
  }
88745
88739
  }),
88746
88740
  cart_btn: glamor.css({
88747
- width: sectionproperties.cartBtnWidth + "px",
88748
- height: sectionproperties.cartBtnHeight + "px",
88749
- background: sectionproperties.cartbtn_bgtransparent == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColor,
88750
- borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + "px",
88741
+ width: sectionproperties.cartBtnWidth + 'px',
88742
+ height: sectionproperties.cartBtnHeight + 'px',
88743
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
88744
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
88751
88745
  color: sectionproperties.cart_iconcolor,
88752
- border: sectionproperties.cartbtnborderwidth + "px solid " + sectionproperties.cartbtnbordercolor,
88753
- transition: ".3s",
88754
- ":hover": {
88755
- background: sectionproperties.cartbtn_transparentbgcoloronhover == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColoronhover,
88746
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
88747
+ transition: '.3s',
88748
+ ':hover': {
88749
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
88756
88750
  color: sectionproperties.cartBtnTextcoloronhover
88757
88751
  }
88758
88752
  }),
88759
88753
  cart_btntxt: glamor.css({
88760
88754
  color: sectionproperties.cartBtnTextcolor,
88761
- fontSize: sectionproperties.cartBtnTextfontsize + "px",
88755
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
88762
88756
  fontWeight: sectionproperties.cartBtnTextfontweight,
88763
88757
  // border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
88764
- transition: ".3s",
88765
- ":hover": {
88766
- background: sectionproperties.cartbtn_transparentbgcoloronhover == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColoronhover,
88758
+ transition: '.3s',
88759
+ ':hover': {
88760
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
88767
88761
  color: sectionproperties.cartBtnTextcoloronhover
88768
88762
  }
88769
88763
  }),
88770
88764
  quantitybtn: glamor.css((_css2 = {
88771
88765
  flex: 1,
88772
- border: sectionproperties.quantitybtnborderwidth + "px solid " + sectionproperties.quantitybtnbordercolor,
88773
- height: sectionproperties.quantitybtn_height + "px"
88774
- }, _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"))),
88766
+ border: sectionproperties.quantitybtnborderwidth + 'px solid ' + sectionproperties.quantitybtnbordercolor,
88767
+ height: sectionproperties.quantitybtn_height + 'px'
88768
+ }, _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'))),
88775
88769
  quantitybtn_text: glamor.css({
88776
- margin: "auto"
88770
+ margin: 'auto'
88777
88771
  }),
88778
88772
  add_quantitybtn_icon_container: glamor.css({
88779
- position: "relative",
88780
- width: sectionproperties.add_quantitybtn_width + "px",
88781
- height: sectionproperties.add_quantitybtn_height + "px",
88773
+ position: 'relative',
88774
+ width: sectionproperties.add_quantitybtn_width + 'px',
88775
+ height: sectionproperties.add_quantitybtn_height + 'px',
88782
88776
  background: sectionproperties.add_quantitybtn_bgcolor,
88783
- display: "flex",
88784
- alignItems: "center",
88785
- justifyContent: "center",
88786
- borderRadius: sectionproperties.add_quantitybtn_borderradius + "px",
88787
- fontSize: sectionproperties.add_quantitybtn_textfontsize + "px",
88777
+ display: 'flex',
88778
+ alignItems: 'center',
88779
+ justifyContent: 'center',
88780
+ borderRadius: sectionproperties.add_quantitybtn_borderradius + 'px',
88781
+ fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
88788
88782
  color: sectionproperties.add_quantitybtn_textcolor,
88789
- transition: ".3s",
88790
- ":hover": {
88783
+ transition: '.3s',
88784
+ ':hover': {
88791
88785
  color: sectionproperties.add_quantitybtn_textcoloronhover,
88792
88786
  background: sectionproperties.add_quantitybtn_bgcoloronhover
88793
88787
  }
88794
88788
  }),
88795
88789
  minus_quantitybtn_icon_container: glamor.css({
88796
- position: "relative",
88797
- width: sectionproperties.remove_quantitybtn_width + "px",
88798
- height: sectionproperties.remove_quantitybtn_height + "px",
88790
+ position: 'relative',
88791
+ width: sectionproperties.remove_quantitybtn_width + 'px',
88792
+ height: sectionproperties.remove_quantitybtn_height + 'px',
88799
88793
  background: sectionproperties.remove_quantitybtn_bgcolor,
88800
- display: "flex",
88801
- alignItems: "center",
88802
- justifyContent: "center",
88803
- borderRadius: sectionproperties.remove_quantitybtn_borderradius + "px",
88804
- fontSize: sectionproperties.remove_quantitybtn_textfontsize + "px",
88794
+ display: 'flex',
88795
+ alignItems: 'center',
88796
+ justifyContent: 'center',
88797
+ borderRadius: sectionproperties.remove_quantitybtn_borderradius + 'px',
88798
+ fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
88805
88799
  color: sectionproperties.remove_quantitybtn_textcolor,
88806
- transition: ".3s",
88807
- ":hover": {
88800
+ transition: '.3s',
88801
+ ':hover': {
88808
88802
  color: sectionproperties.remove_quantitybtn_textcoloronhover,
88809
88803
  background: sectionproperties.remove_quantitybtn_bgcoloronhover
88810
88804
  }
88811
88805
  }),
88812
88806
  producttotalstyles: glamor.css({
88813
88807
  color: sectionproperties.total_color,
88814
- fontSize: sectionproperties.total_fontsize + "px",
88808
+ fontSize: sectionproperties.total_fontsize + 'px',
88815
88809
  fontWeight: 500
88816
88810
  }),
88817
88811
  productDescStyles: glamor.css({
88818
88812
  color: sectionproperties.prodCatColor,
88819
- fontSize: sectionproperties.prodCatFontSize + "px",
88813
+ fontSize: sectionproperties.prodCatFontSize + 'px',
88820
88814
  textTransform: sectionproperties.prodCatTextTranform,
88821
88815
  fontWeight: sectionproperties.prodCatFontWeight,
88822
- transition: ".3s",
88823
- marginLeft: sectionproperties.description_marginLeft + "px",
88824
- marginRight: sectionproperties.description_marginRight + "px",
88825
- marginBottom: sectionproperties.descriptionMarginBottom + "px"
88816
+ transition: '.3s',
88817
+ marginLeft: sectionproperties.description_marginLeft + 'px',
88818
+ marginRight: sectionproperties.description_marginRight + 'px',
88819
+ marginBottom: sectionproperties.descriptionMarginBottom + 'px'
88826
88820
  })
88827
88821
  };
88828
88822
  var addtocartfunc = function addtocartfunc(type, quantity) {
88829
88823
  var addtocardpayloadobj = {
88830
- functype: "add",
88824
+ functype: 'add',
88831
88825
  productid: item.productid,
88832
- variantid: "",
88826
+ variantid: '',
88833
88827
  quantity: quantity
88834
88828
  };
88835
88829
  var runfunc = false;
@@ -88838,13 +88832,13 @@ var MenuCard = function MenuCard(props) {
88838
88832
  if (addtocardpayloadobj.variantid.length != 0) {
88839
88833
  runfunc = true;
88840
88834
  } else {
88841
- NotificationManager.warning("", langdetect != "ar" ? "Please Choose Product Options" : "من فضلك اختر متغير");
88835
+ NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
88842
88836
  }
88843
88837
  } else {
88844
88838
  runfunc = true;
88845
88839
  }
88846
88840
  } else {
88847
- NotificationManager.warning("", langdetect != "ar" ? "Please Choose Quantity" : "من فضلك اختر الكمية");
88841
+ NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
88848
88842
  }
88849
88843
  if (runfunc == true) {
88850
88844
  AddtoCartContext(addtocardpayloadobj);
@@ -88855,9 +88849,9 @@ var MenuCard = function MenuCard(props) {
88855
88849
  var _AddtoCartMutationCon;
88856
88850
  if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 || (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
88857
88851
  return /*#__PURE__*/React__default["default"].createElement("div", {
88858
- "class": " d-flex align-items-center justify-content-center "
88852
+ "class": ' d-flex align-items-center justify-content-center '
88859
88853
  }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
88860
- color: "#000",
88854
+ color: '#000',
88861
88855
  width: "20px",
88862
88856
  height: "20px",
88863
88857
  duration: "1s"
@@ -88873,22 +88867,22 @@ var MenuCard = function MenuCard(props) {
88873
88867
  return /*#__PURE__*/React__default["default"].createElement("div", {
88874
88868
  "class": "row m-0 w-100 pl-sm-2 pr-sm-2",
88875
88869
  style: {
88876
- paddingLeft: langdetect != "ar" ? sectionproperties.card_marginLeft + "px" : sectionproperties.card_marginRight + "px",
88877
- paddingRight: langdetect != "ar" ? sectionproperties.card_marginRight + "px" : sectionproperties.card_marginLeft + "px"
88870
+ paddingLeft: langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
88871
+ paddingRight: langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
88878
88872
  }
88879
88873
  }, sectionproperties.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
88880
- "class": "".concat(card_cssstyles.productcard) + " w-100 pl-sm-0 pr-sm-0 px-sm-2 "
88874
+ "class": "".concat(card_cssstyles.productcard) + ' w-100 pl-sm-0 pr-sm-0 px-sm-2 '
88881
88875
  }, /*#__PURE__*/React__default["default"].createElement("div", {
88882
88876
  "class": "row w-100 m-0 d-flex"
88883
- }, sectionproperties.image_show == "show" && /*#__PURE__*/React__default["default"].createElement("div", {
88877
+ }, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
88884
88878
  onClick: function onClick() {
88885
- if (props.fetchingtypeprops == "collections") {
88886
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, "collections/" + item.collectionid);
88879
+ if (props.fetchingtypeprops == 'collections') {
88880
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
88887
88881
  } else {
88888
88882
  routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
88889
88883
  }
88890
88884
  },
88891
- "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 ",
88885
+ "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 ',
88892
88886
  style: {}
88893
88887
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
88894
88888
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -88896,10 +88890,10 @@ var MenuCard = function MenuCard(props) {
88896
88890
  path: item.image,
88897
88891
  loading: "lazy",
88898
88892
  style: {
88899
- width: "100%",
88900
- height: "100%",
88901
- objectFit: "cover",
88902
- cursor: "pointer"
88893
+ width: '100%',
88894
+ height: '100%',
88895
+ objectFit: 'cover',
88896
+ cursor: 'pointer'
88903
88897
  }
88904
88898
  })), /*#__PURE__*/React__default["default"].createElement("div", {
88905
88899
  style: {
@@ -88911,47 +88905,47 @@ var MenuCard = function MenuCard(props) {
88911
88905
  "class": "col-lg-9 col-md-9 col-sm-12 pl-1 pr-1 mt-2 p-0"
88912
88906
  }, /*#__PURE__*/React__default["default"].createElement("div", {
88913
88907
  "class": "row w-100 m-0"
88914
- }, sectionproperties.prodNameShow == "Show" && /*#__PURE__*/React__default["default"].createElement("div", {
88908
+ }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
88915
88909
  onClick: function onClick() {
88916
88910
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
88917
88911
  },
88918
88912
  "class": "col-lg-12 p-0 "
88919
88913
  }, /*#__PURE__*/React__default["default"].createElement("p", {
88920
- "class": "".concat(card_cssstyles.productNameStyles) + " font-md-15 wordbreak wordbreak1 m-0 ",
88914
+ "class": "".concat(card_cssstyles.productNameStyles) + ' font-md-15 wordbreak wordbreak1 m-0 ',
88921
88915
  style: {
88922
- textAlign: langdetect != "ar" ? "left" : "right"
88916
+ textAlign: langdetect != 'ar' ? 'left' : 'right'
88923
88917
  }
88924
- }, item.name)), sectionproperties.prodCatShow == "Show" && /*#__PURE__*/React__default["default"].createElement("p", {
88925
- "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 ",
88918
+ }, item.name)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
88919
+ "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 ',
88926
88920
  style: {
88927
- textAlign: sectionproperties.productnamecentered == "Centered" ? "center" : langdetect != "ar" ? "left" : "right"
88921
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect != 'ar' ? 'left' : 'right'
88928
88922
  },
88929
88923
  dangerouslySetInnerHTML: {
88930
88924
  __html: item.shortdescription
88931
88925
  }
88932
88926
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
88933
88927
  style: {
88934
- display: "flex",
88935
- flexDirection: "column",
88936
- alignContent: "space-between"
88928
+ display: 'flex',
88929
+ flexDirection: 'column',
88930
+ alignContent: 'space-between'
88937
88931
  },
88938
88932
  "class": "col-lg-3 col-md-3 col-sm-12 mt-2 p-0"
88939
88933
  }, /*#__PURE__*/React__default["default"].createElement("div", {
88940
88934
  "class": "row m-0 w-100 d-flex flex-column flex-sm-column justify-content-end justify-content-sm-start"
88941
- }, sectionproperties.prodPriceShow == "Show" && sectionproperties.removedecimals == "Show" && /*#__PURE__*/React__default["default"].createElement("p", {
88942
- "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 "
88943
- }, langdetect != "ar" ? "EGP" : "", " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect != "ar" ? "" : "ج.م"), sectionproperties.prodPriceShow == "Show" && sectionproperties.removedecimals == "Hide" && /*#__PURE__*/React__default["default"].createElement("p", {
88944
- "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 "
88945
- }, langdetect != "ar" ? "EGP" : "", " ", item.hassale == 1 ? parseFloat(Number(item.defaultsaleprice).toFixed(2)) : parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect != "ar" ? "" : "ج.م"), sectionproperties.prodsalePriceshow == "Show" && item.hassale == 1 && sectionproperties.removedecimals == "Show" && /*#__PURE__*/React__default["default"].createElement("p", {
88946
- "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 "
88947
- }, langdetect != "ar" ? "EGP" : "", " ", item.defaultprice, " ", langdetect != "ar" ? "" : "ج.م"), sectionproperties.prodsalePriceshow == "Show" && item.hassale == 1 && sectionproperties.removedecimals == "Hide" && /*#__PURE__*/React__default["default"].createElement("p", {
88948
- "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 "
88949
- }, langdetect != "ar" ? "EGP" : "", " ", parseFloat(Number(item.defaultprice).toFixed(2)), " ", langdetect != "ar" ? "" : "ج.م")), sectionproperties.quantitybtn_show == "hide" && sectionproperties.favBtnShow == "Hide" && sectionproperties.cartBtnShow == "Show" && /*#__PURE__*/React__default["default"].createElement("div", {
88935
+ }, sectionproperties.prodPriceShow == 'Show' && sectionproperties.removedecimals == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
88936
+ "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 '
88937
+ }, 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", {
88938
+ "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 '
88939
+ }, 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", {
88940
+ "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 '
88941
+ }, 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", {
88942
+ "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 '
88943
+ }, 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", {
88950
88944
  "class": "row m-0 mt-auto w-100"
88951
88945
  }, /*#__PURE__*/React__default["default"].createElement("div", {
88952
88946
  "class": "col-lg-12 d-flex justify-content-end p-0"
88953
88947
  }, /*#__PURE__*/React__default["default"].createElement("button", {
88954
- "class": "".concat(card_cssstyles.cart_btn) + " font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ",
88948
+ "class": "".concat(card_cssstyles.cart_btn) + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ',
88955
88949
  onClick: function onClick() {
88956
88950
  if (item.hasvariants == 0) {
88957
88951
  addtocartfunc();
@@ -88961,22 +88955,22 @@ var MenuCard = function MenuCard(props) {
88961
88955
  }
88962
88956
  }
88963
88957
  }, /*#__PURE__*/React__default["default"].createElement("i", {
88964
- "class": "h-100 d-flex align-items-center justify-content-center"
88965
- }, sectionproperties.carticonstyle == "Shopping bag 1" && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
88958
+ "class": 'h-100 d-flex align-items-center justify-content-center'
88959
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
88966
88960
  "class": "",
88967
88961
  size: sectionproperties.cartBtn_iconFontSize
88968
- }), sectionproperties.carticonstyle == "Shopping bag 2" && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
88962
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
88969
88963
  "class": "",
88970
88964
  size: sectionproperties.cartBtn_iconFontSize
88971
- }), sectionproperties.carticonstyle == "Shopping bag 3" && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
88965
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
88972
88966
  "class": "",
88973
88967
  size: sectionproperties.cartBtn_iconFontSize
88974
- }), sectionproperties.carticonstyle == "Shopping bag 4" && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
88968
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
88975
88969
  size: sectionproperties.cartBtn_iconFontSize
88976
- }), sectionproperties.carticonstyle == "Shopping cart 1" && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
88970
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
88977
88971
  "class": "",
88978
88972
  size: sectionproperties.cartBtn_iconFontSize
88979
- }), sectionproperties.carticonstyle == "Shopping cart 2" && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
88973
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
88980
88974
  size: sectionproperties.cartBtn_iconFontSize
88981
88975
  })))))), /*#__PURE__*/React__default["default"].createElement("div", {
88982
88976
  "class": "col-lg-12 mt-1 p-0"
@@ -88984,18 +88978,18 @@ var MenuCard = function MenuCard(props) {
88984
88978
  "class": "row w-100 m-0"
88985
88979
  }, /*#__PURE__*/React__default["default"].createElement("div", {
88986
88980
  "class": "col-lg-6 col-md-6 col-sm-6 p-0 d-flex align-items-center justify-content-start"
88987
- }, sectionproperties.quantitybtn_show == "show" && /*#__PURE__*/React__default["default"].createElement("div", {
88981
+ }, sectionproperties.quantitybtn_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
88988
88982
  style: {
88989
- width: sectionproperties.quantitybtn_width + "px",
88990
- height: sectionproperties.quantitybtn_height + "px"
88983
+ width: sectionproperties.quantitybtn_width + 'px',
88984
+ height: sectionproperties.quantitybtn_height + 'px'
88991
88985
  },
88992
- "class": " row m-0 d-flex align-items-center "
88986
+ "class": ' row m-0 d-flex align-items-center '
88993
88987
  }, /*#__PURE__*/React__default["default"].createElement("div", {
88994
- "class": "".concat(card_cssstyles.quantitybtn) + " p-0 d-flex align-items-center justify-content-center "
88995
- }, langdetect != "ar" && /*#__PURE__*/React__default["default"].createElement("button", {
88996
- "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + " m-1 ",
88988
+ "class": "".concat(card_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center '
88989
+ }, langdetect != 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
88990
+ "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
88997
88991
  style: {
88998
- transform: " rotate(-180deg)"
88992
+ transform: ' rotate(-180deg)'
88999
88993
  },
89000
88994
  onClick: function onClick() {
89001
88995
  if (item.hasvariants == 0) {
@@ -89006,7 +89000,7 @@ var MenuCard = function MenuCard(props) {
89006
89000
  tempitem.quantity = 0;
89007
89001
  }
89008
89002
  setitem(_objectSpread$m({}, tempitem));
89009
- addtocartfunc("add", tempitem.quantity);
89003
+ addtocartfunc('add', tempitem.quantity);
89010
89004
  } else {
89011
89005
  setShowProductInfoModalContext(true);
89012
89006
  setProductIdProdutInfoModalContext(item.productid);
@@ -89015,8 +89009,8 @@ var MenuCard = function MenuCard(props) {
89015
89009
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
89016
89010
  }, /*#__PURE__*/React__default["default"].createElement("i", {
89017
89011
  "class": "h-100 allcentered"
89018
- }, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect == "ar" && /*#__PURE__*/React__default["default"].createElement("button", {
89019
- "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + " m-1 ",
89012
+ }, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
89013
+ "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
89020
89014
  onClick: function onClick() {
89021
89015
  if (item.hasvariants == 0) {
89022
89016
  var tempitem = _objectSpread$m({}, item);
@@ -89026,7 +89020,7 @@ var MenuCard = function MenuCard(props) {
89026
89020
  tempitem.quantity = 0;
89027
89021
  }
89028
89022
  setitem(_objectSpread$m({}, tempitem));
89029
- addtocartfunc("add", tempitem.quantity);
89023
+ addtocartfunc('add', tempitem.quantity);
89030
89024
  } else {
89031
89025
  setShowProductInfoModalContext(true);
89032
89026
  setProductIdProdutInfoModalContext(item.productid);
@@ -89036,17 +89030,17 @@ var MenuCard = function MenuCard(props) {
89036
89030
  }, /*#__PURE__*/React__default["default"].createElement("i", {
89037
89031
  "class": "h-100 allcentered"
89038
89032
  }, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), /*#__PURE__*/React__default["default"].createElement("span", {
89039
- "class": "".concat(card_cssstyles.quantitybtn_text) + " d-flex align-items-center justify-content-center ",
89033
+ "class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
89040
89034
  style: {
89041
89035
  background: sectionproperties.quantbtntextbgcolor,
89042
- width: sectionproperties.quantitybtntextwidth + "px",
89043
- height: sectionproperties.quantitybtntextheight + "px",
89044
- borderRadius: sectionproperties.addquantitytextborderraduis + "px"
89036
+ width: sectionproperties.quantitybtntextwidth + 'px',
89037
+ height: sectionproperties.quantitybtntextheight + 'px',
89038
+ borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
89045
89039
  }
89046
- }, addtocartbuttonrender()), langdetect == "ar" && /*#__PURE__*/React__default["default"].createElement("button", {
89047
- "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + " m-1 ",
89040
+ }, addtocartbuttonrender()), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
89041
+ "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
89048
89042
  style: {
89049
- transform: " rotate(-180deg)"
89043
+ transform: ' rotate(-180deg)'
89050
89044
  },
89051
89045
  onClick: function onClick() {
89052
89046
  if (item.hasvariants == 0) {
@@ -89057,7 +89051,7 @@ var MenuCard = function MenuCard(props) {
89057
89051
  tempitem.quantity = 0;
89058
89052
  }
89059
89053
  setitem(_objectSpread$m({}, tempitem));
89060
- addtocartfunc("add", tempitem.quantity);
89054
+ addtocartfunc('add', tempitem.quantity);
89061
89055
  } else {
89062
89056
  setShowProductInfoModalContext(true);
89063
89057
  setProductIdProdutInfoModalContext(item.productid);
@@ -89066,8 +89060,8 @@ var MenuCard = function MenuCard(props) {
89066
89060
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
89067
89061
  }, /*#__PURE__*/React__default["default"].createElement("i", {
89068
89062
  "class": "h-100 allcentered"
89069
- }, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect != "ar" && /*#__PURE__*/React__default["default"].createElement("button", {
89070
- "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + " m-1 ",
89063
+ }, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null))), langdetect != 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
89064
+ "class": "".concat(card_cssstyles.add_quantitybtn_icon_container) + ' m-1 ',
89071
89065
  onClick: function onClick() {
89072
89066
  if (item.hasvariants == 0) {
89073
89067
  var tempitem = _objectSpread$m({}, item);
@@ -89077,7 +89071,7 @@ var MenuCard = function MenuCard(props) {
89077
89071
  tempitem.quantity = 0;
89078
89072
  }
89079
89073
  setitem(_objectSpread$m({}, tempitem));
89080
- addtocartfunc("add", tempitem.quantity);
89074
+ addtocartfunc('add', tempitem.quantity);
89081
89075
  } else {
89082
89076
  setShowProductInfoModalContext(true);
89083
89077
  setProductIdProdutInfoModalContext(item.productid);
@@ -89088,34 +89082,34 @@ var MenuCard = function MenuCard(props) {
89088
89082
  "class": "h-100 allcentered"
89089
89083
  }, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null)))))), /*#__PURE__*/React__default["default"].createElement("div", {
89090
89084
  "class": "col-lg-6 col-md-6 col-sm-6 p-0 d-flex align-items-center justify-content-end"
89091
- }, sectionproperties.favBtnShow == "Show" && /*#__PURE__*/React__default["default"].createElement("button", {
89092
- "class": card_cssstyles.wishlist_btn + " ml-2 mr-2",
89085
+ }, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
89086
+ "class": card_cssstyles.wishlist_btn + ' ml-2 mr-2',
89093
89087
  onClick: function onClick() {
89094
89088
  addtofavoritescontext(item.productid);
89095
89089
  },
89096
89090
  style: {
89097
- background: item.IsFavExists == true ? sectionproperties.activebgcolor : ""
89091
+ background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
89098
89092
  }
89099
89093
  }, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
89100
89094
  "class": "h-100 d-flex align-items-center justify-content-center"
89101
- }, sectionproperties.faviconshape == "Star Shape" && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
89095
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
89102
89096
  size: sectionproperties.favBtnIconfontsize,
89103
89097
  style: {
89104
89098
  color: sectionproperties.activefaviconcolor
89105
89099
  }
89106
- }), sectionproperties.faviconshape == "Heart Shape" && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
89100
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
89107
89101
  size: sectionproperties.favBtnIconfontsize,
89108
89102
  style: {
89109
89103
  color: sectionproperties.activefaviconcolor
89110
89104
  }
89111
89105
  })), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
89112
89106
  "class": "h-100 d-flex align-items-center justify-content-center"
89113
- }, sectionproperties.faviconshape == "Star Shape" && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
89107
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
89114
89108
  size: sectionproperties.favBtnIconfontsize
89115
- }), sectionproperties.faviconshape == "Heart Shape" && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
89109
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
89116
89110
  size: sectionproperties.favBtnIconfontsize
89117
- }))), sectionproperties.cartBtnShow == "Show" && sectionproperties.favBtnShow == "Show" && sectionproperties.quantitybtn_show == "show" && /*#__PURE__*/React__default["default"].createElement("button", {
89118
- "class": "".concat(card_cssstyles.cart_btn) + " font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ",
89111
+ }))), sectionproperties.cartBtnShow == 'Show' && sectionproperties.favBtnShow == 'Show' && sectionproperties.quantitybtn_show == 'show' && /*#__PURE__*/React__default["default"].createElement("button", {
89112
+ "class": "".concat(card_cssstyles.cart_btn) + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ',
89119
89113
  onClick: function onClick() {
89120
89114
  if (item.hasvariants == 0) {
89121
89115
  addtocartfunc();
@@ -89125,22 +89119,22 @@ var MenuCard = function MenuCard(props) {
89125
89119
  }
89126
89120
  }
89127
89121
  }, /*#__PURE__*/React__default["default"].createElement("i", {
89128
- "class": "h-100 d-flex align-items-center justify-content-center"
89129
- }, sectionproperties.carticonstyle == "Shopping bag 1" && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
89122
+ "class": 'h-100 d-flex align-items-center justify-content-center'
89123
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingBag.FiShoppingBag, {
89130
89124
  "class": "",
89131
89125
  size: sectionproperties.cartBtn_iconFontSize
89132
- }), sectionproperties.carticonstyle == "Shopping bag 2" && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
89126
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
89133
89127
  "class": "",
89134
89128
  size: sectionproperties.cartBtn_iconFontSize
89135
- }), sectionproperties.carticonstyle == "Shopping bag 3" && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
89129
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
89136
89130
  "class": "",
89137
89131
  size: sectionproperties.cartBtn_iconFontSize
89138
- }), sectionproperties.carticonstyle == "Shopping bag 4" && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
89132
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
89139
89133
  size: sectionproperties.cartBtn_iconFontSize
89140
- }), sectionproperties.carticonstyle == "Shopping cart 1" && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
89134
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
89141
89135
  "class": "",
89142
89136
  size: sectionproperties.cartBtn_iconFontSize
89143
- }), sectionproperties.carticonstyle == "Shopping cart 2" && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
89137
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
89144
89138
  size: sectionproperties.cartBtn_iconFontSize
89145
89139
  })))))))))));
89146
89140
  };