tabexseriescomponents 0.50.206 → 0.50.207

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
@@ -88603,7 +88603,7 @@ function ownKeys$m(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
88603
88603
  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
88604
  var MenuCard = function MenuCard(props) {
88605
88605
  var _css2;
88606
- var _useState = React.useState(""),
88606
+ var _useState = React.useState(''),
88607
88607
  _useState2 = _slicedToArray__default["default"](_useState, 2),
88608
88608
  sectionproperties = _useState2[0],
88609
88609
  setsectionproperties = _useState2[1];
@@ -88625,7 +88625,7 @@ var MenuCard = function MenuCard(props) {
88625
88625
  var ikimagecredcontext = props.actions.ikimagecredcontext;
88626
88626
  var NotificationManager = NotificationManager;
88627
88627
  React.useEffect(function () {
88628
- if (props.srcfrom == "addsectionform") {
88628
+ if (props.srcfrom == 'addsectionform') {
88629
88629
  var secpropobj = {};
88630
88630
  props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
88631
88631
  secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
@@ -88675,161 +88675,161 @@ var MenuCard = function MenuCard(props) {
88675
88675
 
88676
88676
  var card_cssstyles = {
88677
88677
  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",
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',
88695
88695
  color: sectionproperties.prodNameColor
88696
88696
  }),
88697
88697
  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 + "%"
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 + '%'
88711
88711
  })),
88712
88712
  productNameStyles: glamor.css({
88713
- fontSize: sectionproperties.prodNameFontSize + "px",
88713
+ fontSize: sectionproperties.prodNameFontSize + 'px',
88714
88714
  textTransform: sectionproperties.prodNameTextTranform,
88715
88715
  fontWeight: sectionproperties.prodNameFontWeight,
88716
- transition: ".3s",
88717
- cursor: "pointer",
88718
- ":hover": {
88716
+ transition: '.3s',
88717
+ cursor: 'pointer',
88718
+ ':hover': {
88719
88719
  color: sectionproperties.prodNameColorOnHover
88720
88720
  }
88721
88721
  }),
88722
88722
  productPricestyles: glamor.css({
88723
88723
  color: sectionproperties.prodPriceColor,
88724
- fontSize: sectionproperties.prodpriceFontSize + "px",
88724
+ fontSize: sectionproperties.prodpriceFontSize + 'px',
88725
88725
  fontWeight: sectionproperties.prodPriceFontWeight
88726
88726
  }),
88727
88727
  productSalePricestyles: glamor.css({
88728
88728
  color: sectionproperties.prodsalePriceColor,
88729
- fontSize: sectionproperties.prodsalepriceFontSize + "px",
88729
+ fontSize: sectionproperties.prodsalepriceFontSize + 'px',
88730
88730
  fontWeight: sectionproperties.prodsalePriceFontWeight
88731
88731
  }),
88732
88732
  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",
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',
88737
88737
  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,
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,
88743
88743
  color: sectionproperties.favBtnTextcoloronhover
88744
88744
  }
88745
88745
  }),
88746
88746
  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",
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',
88751
88751
  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,
88752
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
88753
+ transition: '.3s',
88754
+ ':hover': {
88755
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
88756
88756
  color: sectionproperties.cartBtnTextcoloronhover
88757
88757
  }
88758
88758
  }),
88759
88759
  cart_btntxt: glamor.css({
88760
88760
  color: sectionproperties.cartBtnTextcolor,
88761
- fontSize: sectionproperties.cartBtnTextfontsize + "px",
88761
+ fontSize: sectionproperties.cartBtnTextfontsize + 'px',
88762
88762
  fontWeight: sectionproperties.cartBtnTextfontweight,
88763
88763
  // border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
88764
- transition: ".3s",
88765
- ":hover": {
88766
- background: sectionproperties.cartbtn_transparentbgcoloronhover == "Transparent" ? "transparent" : sectionproperties.cartBtnbgColoronhover,
88764
+ transition: '.3s',
88765
+ ':hover': {
88766
+ background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
88767
88767
  color: sectionproperties.cartBtnTextcoloronhover
88768
88768
  }
88769
88769
  }),
88770
88770
  quantitybtn: glamor.css((_css2 = {
88771
88771
  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"))),
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'))),
88775
88775
  quantitybtn_text: glamor.css({
88776
- margin: "auto"
88776
+ margin: 'auto'
88777
88777
  }),
88778
88778
  add_quantitybtn_icon_container: glamor.css({
88779
- position: "relative",
88780
- width: sectionproperties.add_quantitybtn_width + "px",
88781
- height: sectionproperties.add_quantitybtn_height + "px",
88779
+ position: 'relative',
88780
+ width: sectionproperties.add_quantitybtn_width + 'px',
88781
+ height: sectionproperties.add_quantitybtn_height + 'px',
88782
88782
  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",
88783
+ display: 'flex',
88784
+ alignItems: 'center',
88785
+ justifyContent: 'center',
88786
+ borderRadius: sectionproperties.add_quantitybtn_borderradius + 'px',
88787
+ fontSize: sectionproperties.add_quantitybtn_textfontsize + 'px',
88788
88788
  color: sectionproperties.add_quantitybtn_textcolor,
88789
- transition: ".3s",
88790
- ":hover": {
88789
+ transition: '.3s',
88790
+ ':hover': {
88791
88791
  color: sectionproperties.add_quantitybtn_textcoloronhover,
88792
88792
  background: sectionproperties.add_quantitybtn_bgcoloronhover
88793
88793
  }
88794
88794
  }),
88795
88795
  minus_quantitybtn_icon_container: glamor.css({
88796
- position: "relative",
88797
- width: sectionproperties.remove_quantitybtn_width + "px",
88798
- height: sectionproperties.remove_quantitybtn_height + "px",
88796
+ position: 'relative',
88797
+ width: sectionproperties.remove_quantitybtn_width + 'px',
88798
+ height: sectionproperties.remove_quantitybtn_height + 'px',
88799
88799
  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",
88800
+ display: 'flex',
88801
+ alignItems: 'center',
88802
+ justifyContent: 'center',
88803
+ borderRadius: sectionproperties.remove_quantitybtn_borderradius + 'px',
88804
+ fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px',
88805
88805
  color: sectionproperties.remove_quantitybtn_textcolor,
88806
- transition: ".3s",
88807
- ":hover": {
88806
+ transition: '.3s',
88807
+ ':hover': {
88808
88808
  color: sectionproperties.remove_quantitybtn_textcoloronhover,
88809
88809
  background: sectionproperties.remove_quantitybtn_bgcoloronhover
88810
88810
  }
88811
88811
  }),
88812
88812
  producttotalstyles: glamor.css({
88813
88813
  color: sectionproperties.total_color,
88814
- fontSize: sectionproperties.total_fontsize + "px",
88814
+ fontSize: sectionproperties.total_fontsize + 'px',
88815
88815
  fontWeight: 500
88816
88816
  }),
88817
88817
  productDescStyles: glamor.css({
88818
88818
  color: sectionproperties.prodCatColor,
88819
- fontSize: sectionproperties.prodCatFontSize + "px",
88819
+ fontSize: sectionproperties.prodCatFontSize + 'px',
88820
88820
  textTransform: sectionproperties.prodCatTextTranform,
88821
88821
  fontWeight: sectionproperties.prodCatFontWeight,
88822
- transition: ".3s",
88823
- marginLeft: sectionproperties.description_marginLeft + "px",
88824
- marginRight: sectionproperties.description_marginRight + "px",
88825
- marginBottom: sectionproperties.descriptionMarginBottom + "px"
88822
+ transition: '.3s',
88823
+ marginLeft: sectionproperties.description_marginLeft + 'px',
88824
+ marginRight: sectionproperties.description_marginRight + 'px',
88825
+ marginBottom: sectionproperties.descriptionMarginBottom + 'px'
88826
88826
  })
88827
88827
  };
88828
88828
  var addtocartfunc = function addtocartfunc(type, quantity) {
88829
88829
  var addtocardpayloadobj = {
88830
- functype: "add",
88830
+ functype: 'add',
88831
88831
  productid: item.productid,
88832
- variantid: "",
88832
+ variantid: '',
88833
88833
  quantity: quantity
88834
88834
  };
88835
88835
  var runfunc = false;
@@ -88838,13 +88838,13 @@ var MenuCard = function MenuCard(props) {
88838
88838
  if (addtocardpayloadobj.variantid.length != 0) {
88839
88839
  runfunc = true;
88840
88840
  } else {
88841
- NotificationManager.warning("", langdetect != "ar" ? "Please Choose Product Options" : "من فضلك اختر متغير");
88841
+ NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Product Options' : 'من فضلك اختر متغير');
88842
88842
  }
88843
88843
  } else {
88844
88844
  runfunc = true;
88845
88845
  }
88846
88846
  } else {
88847
- NotificationManager.warning("", langdetect != "ar" ? "Please Choose Quantity" : "من فضلك اختر الكمية");
88847
+ NotificationManager.warning('', langdetect != 'ar' ? 'Please Choose Quantity' : 'من فضلك اختر الكمية');
88848
88848
  }
88849
88849
  if (runfunc == true) {
88850
88850
  AddtoCartContext(addtocardpayloadobj);
@@ -88855,9 +88855,9 @@ var MenuCard = function MenuCard(props) {
88855
88855
  var _AddtoCartMutationCon;
88856
88856
  if ((AddtoCartMutationContext === null || AddtoCartMutationContext === void 0 || (_AddtoCartMutationCon = AddtoCartMutationContext.variables) === null || _AddtoCartMutationCon === void 0 ? void 0 : _AddtoCartMutationCon.productid) == item.productid) {
88857
88857
  return /*#__PURE__*/React__default["default"].createElement("div", {
88858
- "class": " d-flex align-items-center justify-content-center "
88858
+ "class": ' d-flex align-items-center justify-content-center '
88859
88859
  }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
88860
- color: "#000",
88860
+ color: '#000',
88861
88861
  width: "20px",
88862
88862
  height: "20px",
88863
88863
  duration: "1s"
@@ -88873,22 +88873,22 @@ var MenuCard = function MenuCard(props) {
88873
88873
  return /*#__PURE__*/React__default["default"].createElement("div", {
88874
88874
  "class": "row m-0 w-100 pl-sm-2 pr-sm-2",
88875
88875
  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"
88876
+ paddingLeft: langdetect != 'ar' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
88877
+ paddingRight: langdetect != 'ar' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
88878
88878
  }
88879
88879
  }, 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 "
88880
+ "class": "".concat(card_cssstyles.productcard) + ' w-100 pl-sm-0 pr-sm-0 px-sm-2 '
88881
88881
  }, /*#__PURE__*/React__default["default"].createElement("div", {
88882
88882
  "class": "row w-100 m-0 d-flex"
88883
- }, sectionproperties.image_show == "show" && /*#__PURE__*/React__default["default"].createElement("div", {
88883
+ }, sectionproperties.image_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
88884
88884
  onClick: function onClick() {
88885
- if (props.fetchingtypeprops == "collections") {
88886
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, "collections/" + item.collectionid);
88885
+ if (props.fetchingtypeprops == 'collections') {
88886
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
88887
88887
  } else {
88888
88888
  routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
88889
88889
  }
88890
88890
  },
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 ",
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 ',
88892
88892
  style: {}
88893
88893
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
88894
88894
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -88896,10 +88896,10 @@ var MenuCard = function MenuCard(props) {
88896
88896
  path: item.image,
88897
88897
  loading: "lazy",
88898
88898
  style: {
88899
- width: "100%",
88900
- height: "100%",
88901
- objectFit: "cover",
88902
- cursor: "pointer"
88899
+ width: '100%',
88900
+ height: '100%',
88901
+ objectFit: 'cover',
88902
+ cursor: 'pointer'
88903
88903
  }
88904
88904
  })), /*#__PURE__*/React__default["default"].createElement("div", {
88905
88905
  style: {
@@ -88911,47 +88911,47 @@ var MenuCard = function MenuCard(props) {
88911
88911
  "class": "col-lg-9 col-md-9 col-sm-12 pl-1 pr-1 mt-2 p-0"
88912
88912
  }, /*#__PURE__*/React__default["default"].createElement("div", {
88913
88913
  "class": "row w-100 m-0"
88914
- }, sectionproperties.prodNameShow == "Show" && /*#__PURE__*/React__default["default"].createElement("div", {
88914
+ }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
88915
88915
  onClick: function onClick() {
88916
88916
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
88917
88917
  },
88918
88918
  "class": "col-lg-12 p-0 "
88919
88919
  }, /*#__PURE__*/React__default["default"].createElement("p", {
88920
- "class": "".concat(card_cssstyles.productNameStyles) + " font-md-15 wordbreak wordbreak1 m-0 ",
88920
+ "class": "".concat(card_cssstyles.productNameStyles) + ' font-md-15 wordbreak wordbreak1 m-0 ',
88921
88921
  style: {
88922
- textAlign: langdetect != "ar" ? "left" : "right"
88922
+ textAlign: langdetect != 'ar' ? 'left' : 'right'
88923
88923
  }
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 ",
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 ',
88926
88926
  style: {
88927
- textAlign: sectionproperties.productnamecentered == "Centered" ? "center" : langdetect != "ar" ? "left" : "right"
88927
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect != 'ar' ? 'left' : 'right'
88928
88928
  },
88929
88929
  dangerouslySetInnerHTML: {
88930
88930
  __html: item.shortdescription
88931
88931
  }
88932
88932
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
88933
88933
  style: {
88934
- display: "flex",
88935
- flexDirection: "column",
88936
- alignContent: "space-between"
88934
+ display: 'flex',
88935
+ flexDirection: 'column',
88936
+ alignContent: 'space-between'
88937
88937
  },
88938
88938
  "class": "col-lg-3 col-md-3 col-sm-12 mt-2 p-0"
88939
88939
  }, /*#__PURE__*/React__default["default"].createElement("div", {
88940
88940
  "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", {
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' ? 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", {
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' ? 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", {
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' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect != 'ar' ? '' : item.currencyname), 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' ? 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
88950
  "class": "row m-0 mt-auto w-100"
88951
88951
  }, /*#__PURE__*/React__default["default"].createElement("div", {
88952
88952
  "class": "col-lg-12 d-flex justify-content-end p-0"
88953
88953
  }, /*#__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 ",
88954
+ "class": "".concat(card_cssstyles.cart_btn) + ' font-md-13 m-0 p-0 d-flex align-items-center justify-content-center ',
88955
88955
  onClick: function onClick() {
88956
88956
  if (item.hasvariants == 0) {
88957
88957
  addtocartfunc();
@@ -88961,22 +88961,22 @@ var MenuCard = function MenuCard(props) {
88961
88961
  }
88962
88962
  }
88963
88963
  }, /*#__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, {
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, {
88966
88966
  "class": "",
88967
88967
  size: sectionproperties.cartBtn_iconFontSize
88968
- }), sectionproperties.carticonstyle == "Shopping bag 2" && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
88968
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
88969
88969
  "class": "",
88970
88970
  size: sectionproperties.cartBtn_iconFontSize
88971
- }), sectionproperties.carticonstyle == "Shopping bag 3" && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
88971
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
88972
88972
  "class": "",
88973
88973
  size: sectionproperties.cartBtn_iconFontSize
88974
- }), sectionproperties.carticonstyle == "Shopping bag 4" && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
88974
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
88975
88975
  size: sectionproperties.cartBtn_iconFontSize
88976
- }), sectionproperties.carticonstyle == "Shopping cart 1" && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
88976
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
88977
88977
  "class": "",
88978
88978
  size: sectionproperties.cartBtn_iconFontSize
88979
- }), sectionproperties.carticonstyle == "Shopping cart 2" && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
88979
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
88980
88980
  size: sectionproperties.cartBtn_iconFontSize
88981
88981
  })))))), /*#__PURE__*/React__default["default"].createElement("div", {
88982
88982
  "class": "col-lg-12 mt-1 p-0"
@@ -88984,18 +88984,18 @@ var MenuCard = function MenuCard(props) {
88984
88984
  "class": "row w-100 m-0"
88985
88985
  }, /*#__PURE__*/React__default["default"].createElement("div", {
88986
88986
  "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", {
88987
+ }, sectionproperties.quantitybtn_show == 'show' && /*#__PURE__*/React__default["default"].createElement("div", {
88988
88988
  style: {
88989
- width: sectionproperties.quantitybtn_width + "px",
88990
- height: sectionproperties.quantitybtn_height + "px"
88989
+ width: sectionproperties.quantitybtn_width + 'px',
88990
+ height: sectionproperties.quantitybtn_height + 'px'
88991
88991
  },
88992
- "class": " row m-0 d-flex align-items-center "
88992
+ "class": ' row m-0 d-flex align-items-center '
88993
88993
  }, /*#__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 ",
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 ',
88997
88997
  style: {
88998
- transform: " rotate(-180deg)"
88998
+ transform: ' rotate(-180deg)'
88999
88999
  },
89000
89000
  onClick: function onClick() {
89001
89001
  if (item.hasvariants == 0) {
@@ -89006,7 +89006,7 @@ var MenuCard = function MenuCard(props) {
89006
89006
  tempitem.quantity = 0;
89007
89007
  }
89008
89008
  setitem(_objectSpread$m({}, tempitem));
89009
- addtocartfunc("add", tempitem.quantity);
89009
+ addtocartfunc('add', tempitem.quantity);
89010
89010
  } else {
89011
89011
  setShowProductInfoModalContext(true);
89012
89012
  setProductIdProdutInfoModalContext(item.productid);
@@ -89015,8 +89015,8 @@ var MenuCard = function MenuCard(props) {
89015
89015
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
89016
89016
  }, /*#__PURE__*/React__default["default"].createElement("i", {
89017
89017
  "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 ",
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 ',
89020
89020
  onClick: function onClick() {
89021
89021
  if (item.hasvariants == 0) {
89022
89022
  var tempitem = _objectSpread$m({}, item);
@@ -89026,7 +89026,7 @@ var MenuCard = function MenuCard(props) {
89026
89026
  tempitem.quantity = 0;
89027
89027
  }
89028
89028
  setitem(_objectSpread$m({}, tempitem));
89029
- addtocartfunc("add", tempitem.quantity);
89029
+ addtocartfunc('add', tempitem.quantity);
89030
89030
  } else {
89031
89031
  setShowProductInfoModalContext(true);
89032
89032
  setProductIdProdutInfoModalContext(item.productid);
@@ -89036,17 +89036,17 @@ var MenuCard = function MenuCard(props) {
89036
89036
  }, /*#__PURE__*/React__default["default"].createElement("i", {
89037
89037
  "class": "h-100 allcentered"
89038
89038
  }, /*#__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 ",
89039
+ "class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center ',
89040
89040
  style: {
89041
89041
  background: sectionproperties.quantbtntextbgcolor,
89042
- width: sectionproperties.quantitybtntextwidth + "px",
89043
- height: sectionproperties.quantitybtntextheight + "px",
89044
- borderRadius: sectionproperties.addquantitytextborderraduis + "px"
89042
+ width: sectionproperties.quantitybtntextwidth + 'px',
89043
+ height: sectionproperties.quantitybtntextheight + 'px',
89044
+ borderRadius: sectionproperties.addquantitytextborderraduis + 'px'
89045
89045
  }
89046
- }, addtocartbuttonrender()), langdetect == "ar" && /*#__PURE__*/React__default["default"].createElement("button", {
89047
- "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + " m-1 ",
89046
+ }, addtocartbuttonrender()), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("button", {
89047
+ "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container) + ' m-1 ',
89048
89048
  style: {
89049
- transform: " rotate(-180deg)"
89049
+ transform: ' rotate(-180deg)'
89050
89050
  },
89051
89051
  onClick: function onClick() {
89052
89052
  if (item.hasvariants == 0) {
@@ -89057,7 +89057,7 @@ var MenuCard = function MenuCard(props) {
89057
89057
  tempitem.quantity = 0;
89058
89058
  }
89059
89059
  setitem(_objectSpread$m({}, tempitem));
89060
- addtocartfunc("add", tempitem.quantity);
89060
+ addtocartfunc('add', tempitem.quantity);
89061
89061
  } else {
89062
89062
  setShowProductInfoModalContext(true);
89063
89063
  setProductIdProdutInfoModalContext(item.productid);
@@ -89066,8 +89066,8 @@ var MenuCard = function MenuCard(props) {
89066
89066
  disabled: AddtoCartMutationContext.isLoading == true ? true : false
89067
89067
  }, /*#__PURE__*/React__default["default"].createElement("i", {
89068
89068
  "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 ",
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 ',
89071
89071
  onClick: function onClick() {
89072
89072
  if (item.hasvariants == 0) {
89073
89073
  var tempitem = _objectSpread$m({}, item);
@@ -89077,7 +89077,7 @@ var MenuCard = function MenuCard(props) {
89077
89077
  tempitem.quantity = 0;
89078
89078
  }
89079
89079
  setitem(_objectSpread$m({}, tempitem));
89080
- addtocartfunc("add", tempitem.quantity);
89080
+ addtocartfunc('add', tempitem.quantity);
89081
89081
  } else {
89082
89082
  setShowProductInfoModalContext(true);
89083
89083
  setProductIdProdutInfoModalContext(item.productid);
@@ -89088,34 +89088,34 @@ var MenuCard = function MenuCard(props) {
89088
89088
  "class": "h-100 allcentered"
89089
89089
  }, /*#__PURE__*/React__default["default"].createElement(IoIosArrowUp.IoIosArrowUp, null)))))), /*#__PURE__*/React__default["default"].createElement("div", {
89090
89090
  "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",
89091
+ }, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
89092
+ "class": card_cssstyles.wishlist_btn + ' ml-2 mr-2',
89093
89093
  onClick: function onClick() {
89094
89094
  addtofavoritescontext(item.productid);
89095
89095
  },
89096
89096
  style: {
89097
- background: item.IsFavExists == true ? sectionproperties.activebgcolor : ""
89097
+ background: item.IsFavExists == true ? sectionproperties.activebgcolor : ''
89098
89098
  }
89099
89099
  }, item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
89100
89100
  "class": "h-100 d-flex align-items-center justify-content-center"
89101
- }, sectionproperties.faviconshape == "Star Shape" && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
89101
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiFillStar$1.AiFillStar, {
89102
89102
  size: sectionproperties.favBtnIconfontsize,
89103
89103
  style: {
89104
89104
  color: sectionproperties.activefaviconcolor
89105
89105
  }
89106
- }), sectionproperties.faviconshape == "Heart Shape" && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
89106
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaHeart$1.FaHeart, {
89107
89107
  size: sectionproperties.favBtnIconfontsize,
89108
89108
  style: {
89109
89109
  color: sectionproperties.activefaviconcolor
89110
89110
  }
89111
89111
  })), !item.IsFavExists && /*#__PURE__*/React__default["default"].createElement("i", {
89112
89112
  "class": "h-100 d-flex align-items-center justify-content-center"
89113
- }, sectionproperties.faviconshape == "Star Shape" && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
89113
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React__default["default"].createElement(AiOutlineStar.AiOutlineStar, {
89114
89114
  size: sectionproperties.favBtnIconfontsize
89115
- }), sectionproperties.faviconshape == "Heart Shape" && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
89115
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
89116
89116
  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 ",
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 ',
89119
89119
  onClick: function onClick() {
89120
89120
  if (item.hasvariants == 0) {
89121
89121
  addtocartfunc();
@@ -89125,22 +89125,22 @@ var MenuCard = function MenuCard(props) {
89125
89125
  }
89126
89126
  }
89127
89127
  }, /*#__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, {
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, {
89130
89130
  "class": "",
89131
89131
  size: sectionproperties.cartBtn_iconFontSize
89132
- }), sectionproperties.carticonstyle == "Shopping bag 2" && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
89132
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React__default["default"].createElement(CgShoppingBag.CgShoppingBag, {
89133
89133
  "class": "",
89134
89134
  size: sectionproperties.cartBtn_iconFontSize
89135
- }), sectionproperties.carticonstyle == "Shopping bag 3" && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
89135
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React__default["default"].createElement(BsBag.BsBag, {
89136
89136
  "class": "",
89137
89137
  size: sectionproperties.cartBtn_iconFontSize
89138
- }), sectionproperties.carticonstyle == "Shopping bag 4" && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
89138
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React__default["default"].createElement(RiHandbagLine.RiHandbagLine, {
89139
89139
  size: sectionproperties.cartBtn_iconFontSize
89140
- }), sectionproperties.carticonstyle == "Shopping cart 1" && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
89140
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React__default["default"].createElement(FiShoppingCart.FiShoppingCart, {
89141
89141
  "class": "",
89142
89142
  size: sectionproperties.cartBtn_iconFontSize
89143
- }), sectionproperties.carticonstyle == "Shopping cart 2" && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
89143
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React__default["default"].createElement(MdAddShoppingCart.MdAddShoppingCart, {
89144
89144
  size: sectionproperties.cartBtn_iconFontSize
89145
89145
  })))))))))));
89146
89146
  };