tabexseriescomponents 0.0.237 → 0.0.239

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.esm.js CHANGED
@@ -15275,12 +15275,7 @@ var CTAHeader = function CTAHeader(props) {
15275
15275
  style: {
15276
15276
  color: '#8fa0bd'
15277
15277
  }
15278
- }, lang.hello, ","), /*#__PURE__*/React.createElement("span", {
15279
- "class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem font-weight-600 text-overflow text-capitalize p-0 ml-1 mr-1 ',
15280
- onClick: function onClick() {
15281
- routingcountext(StaticPagesLinksContext.accountinfo);
15282
- }
15283
- }, authdetailsContext.customerinfo.name))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
15278
+ }, lang.hello, ","))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
15284
15279
  onClick: function onClick() {
15285
15280
  routingcountext(StaticPagesLinksContext.Ordershistory);
15286
15281
  }
@@ -15288,9 +15283,9 @@ var CTAHeader = function CTAHeader(props) {
15288
15283
  "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
15289
15284
  }, /*#__PURE__*/React.createElement("p", {
15290
15285
  "class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
15291
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), /*#__PURE__*/React.createElement("span", {
15286
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, null), /*#__PURE__*/React.createElement("span", {
15292
15287
  "class": "ml-2 mr-2"
15293
- }, lang.orderhistory)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
15288
+ }, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)))), /*#__PURE__*/React.createElement(Dropdown.Divider, null), /*#__PURE__*/React.createElement(Dropdown.Item, {
15294
15289
  onClick: function onClick() {
15295
15290
  routingcountext(StaticPagesLinksContext.Wishlist);
15296
15291
  }
@@ -15360,6 +15355,8 @@ var CTAHeader = function CTAHeader(props) {
15360
15355
  size: sectionproperties.cartBtn_iconFontSize
15361
15356
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
15362
15357
  size: sectionproperties.cartBtn_iconFontSize
15358
+ }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
15359
+ size: sectionproperties.cartBtn_iconFontSize
15363
15360
  })))), /*#__PURE__*/React.createElement("div", {
15364
15361
  "class": "col-lg-12 p-0 allcentered",
15365
15362
  style: {
@@ -26172,9 +26169,9 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
26172
26169
  "class": "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
26173
26170
  }, /*#__PURE__*/React.createElement("p", {
26174
26171
  "class": "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
26175
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), /*#__PURE__*/React.createElement("span", {
26172
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(HiOutlineShoppingBag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, null), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, null), /*#__PURE__*/React.createElement("span", {
26176
26173
  "class": "ml-2 mr-2"
26177
- }, lang.orderhistory)))), /*#__PURE__*/React.createElement(Dropdown.Divider, {
26174
+ }, langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear)))), /*#__PURE__*/React.createElement(Dropdown.Divider, {
26178
26175
  style: {
26179
26176
  marginBottom: 0,
26180
26177
  marginTop: 0
@@ -26413,6 +26410,8 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
26413
26410
  size: sectionproperties.cartBtn_iconFontSize
26414
26411
  }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
26415
26412
  size: sectionproperties.cartBtn_iconFontSize
26413
+ }), sectionproperties.carticonstyle == 'Calendar 1' && /*#__PURE__*/React.createElement(FiCalendar, {
26414
+ size: sectionproperties.cartBtn_iconFontSize
26416
26415
  }))))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React.createElement("div", {
26417
26416
  "class": "row m-0 w-100 justify-content-center align-items-center",
26418
26417
  style: {
@@ -36589,6 +36588,19 @@ var VideosSection = function VideosSection(props) {
36589
36588
  }
36590
36589
  }, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr);
36591
36590
  };
36591
+ var ImageContent = function ImageContent(item, index) {
36592
+ return /*#__PURE__*/React.createElement("div", {
36593
+ "class": "row m-0 w-100"
36594
+ }, sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React.createElement("div", {
36595
+ className: bgcssstyles.text1styles + ' col-lg-12 p-0 w-100 d-flex align-items-center '
36596
+ }, /*#__PURE__*/React.createElement("p", {
36597
+ className: bgcssstyles.text1styles + ' d-flex wordbreak m-0 p-0 '
36598
+ }, langdetect == 'en' ? item.title_en : item.title_ar)), sectionproperties.slideshowtext2_show == 'Show' && /*#__PURE__*/React.createElement("div", {
36599
+ className: bgcssstyles.text2styles + ' col-lg-12 p-0 w-100 d-flex '
36600
+ }, /*#__PURE__*/React.createElement("p", {
36601
+ className: bgcssstyles.text2styles + ' d-flex wordbreak m-0 p-0 '
36602
+ }, langdetect == 'en' ? item.description_en : item.description_ar)));
36603
+ };
36592
36604
  return /*#__PURE__*/React.createElement("div", {
36593
36605
  className: "row ml-0 mr-0 w-100 pl-md-0 pr-md-0",
36594
36606
  style: {
@@ -36626,21 +36638,15 @@ var VideosSection = function VideosSection(props) {
36626
36638
  }
36627
36639
  }, Description()), Object.keys(videosarrayofobjs).length != 0 && videosarrayofobjs.map(function (item, index) {
36628
36640
  return /*#__PURE__*/React.createElement("div", {
36629
- className: 'd-flex align-items-stretch col-md-6 col-sm-12 col-lg-' + videosarrayofobjs[index].numberofcols,
36641
+ className: 'd-flex align-items-stretch col-md-6 col-sm-12 col-lg-' + item.numberofcols,
36630
36642
  style: {
36631
36643
  marginBottom: sectionproperties.image_mb + 'px'
36632
36644
  }
36633
36645
  }, /*#__PURE__*/React.createElement("div", {
36634
36646
  className: "row ml-0 mr-0 d-flex w-100"
36635
- }, sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React.createElement("div", {
36636
- className: bgcssstyles.text1styles + ' col-lg-12 p-0 w-100 d-flex align-items-center '
36637
- }, /*#__PURE__*/React.createElement("p", {
36638
- className: bgcssstyles.text1styles + ' d-flex wordbreak m-0 p-0 '
36639
- }, langdetect == 'en' ? videosarrayofobjs[index].title_en : videosarrayofobjs[index].title_ar)), sectionproperties.slideshowtext2_show == 'Show' && /*#__PURE__*/React.createElement("div", {
36640
- className: bgcssstyles.text2styles + ' col-lg-12 p-0 w-100 d-flex '
36641
- }, /*#__PURE__*/React.createElement("p", {
36642
- className: bgcssstyles.text2styles + ' d-flex wordbreak m-0 p-0 '
36643
- }, langdetect == 'en' ? videosarrayofobjs[index].description_en : videosarrayofobjs[index].description_ar)), /*#__PURE__*/React.createElement("div", {
36647
+ }, sectionproperties.sectionbgstyle == 'Text above image' && /*#__PURE__*/React.createElement("div", {
36648
+ "class": "col-lg-12 p-0"
36649
+ }, ImageContent(item)), /*#__PURE__*/React.createElement("div", {
36644
36650
  className: 'col-lg-12 p-0 d-md-flex w-100 mt-auto',
36645
36651
  style: {
36646
36652
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
@@ -36649,8 +36655,8 @@ var VideosSection = function VideosSection(props) {
36649
36655
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
36650
36656
  height: sectionproperties.image_height + 'px'
36651
36657
  }
36652
- }, item.linkclicked == true && videosarrayofobjs[index].linktype != 'External Link ' && /*#__PURE__*/React.createElement(ReactPlayer, {
36653
- url: videosarrayofobjs[index].url,
36658
+ }, item.linkclicked == true && item.linktype != 'External Link ' && /*#__PURE__*/React.createElement(ReactPlayer, {
36659
+ url: item.url,
36654
36660
  height: sectionproperties.image_height + 'px',
36655
36661
  width: '100%',
36656
36662
  playing: true,
@@ -36658,28 +36664,33 @@ var VideosSection = function VideosSection(props) {
36658
36664
  loop: true,
36659
36665
  muted: true,
36660
36666
  playsinline: true
36661
- }), item.linkclicked == false && /*#__PURE__*/React.createElement("button", {
36667
+ }), item.linkclicked == false && /*#__PURE__*/React.createElement("div", {
36662
36668
  onClick: function onClick() {
36663
- if (videosarrayofobjs[index].linktype == 'External Link') {
36664
- window.open(videosarrayofobjs[index].url, '_blank');
36665
- } else {
36669
+ if (item.linktype == 'External Link') {
36670
+ window.open(item.url, '_blank');
36671
+ } else if (item.linktype == 'Image') ; else {
36666
36672
  var temparr = _toConsumableArray(videosarrayofobjs);
36667
36673
  temparr[index].linkclicked = true;
36668
36674
  setvideosarrayofobjs(_toConsumableArray(temparr));
36669
36675
  }
36670
36676
  },
36671
- "class": "w-100 h-100"
36677
+ "class": "w-100 h-100",
36678
+ style: {
36679
+ cursor: item.linktype == 'Image' ? 'default' : 'pointer'
36680
+ }
36672
36681
  }, /*#__PURE__*/React.createElement(IKImage, {
36673
36682
  urlEndpoint: IKurlEndpoint,
36674
36683
  publicKey: IKpublicKey,
36675
- path: videosarrayofobjs.length != 0 ? videosarrayofobjs[index].image : '',
36684
+ path: videosarrayofobjs.length != 0 ? item.image : '',
36676
36685
  className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
36677
36686
  style: {
36678
36687
  height: '100%',
36679
36688
  width: '100%',
36680
36689
  objectFit: sectionproperties.bgcovercontain
36681
36690
  }
36682
- })))));
36691
+ }))), sectionproperties.sectionbgstyle != 'Text above image' && /*#__PURE__*/React.createElement("div", {
36692
+ "class": "col-lg-12 p-0 mt-3"
36693
+ }, ImageContent(item))));
36683
36694
  }));
36684
36695
  };
36685
36696
 
@@ -41933,6 +41944,110 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
41933
41944
  }
41934
41945
  })
41935
41946
  };
41947
+ var Buttons = function Buttons() {
41948
+ return /*#__PURE__*/React.createElement("div", {
41949
+ "class": "w-100 allcentered"
41950
+ }, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("button", {
41951
+ "class": sectionproperties.cartBtnShow == 'Hide' ? "".concat(card_cssstyles.button_styles) + ' ml-2 mr-2 ' : "".concat(card_cssstyles.button_styles) + ' ',
41952
+ onClick: function onClick(e) {
41953
+ e.stopPropagation();
41954
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
41955
+ }
41956
+ }, /*#__PURE__*/React.createElement("i", {
41957
+ "class": "h-100 d-flex align-items-center justify-content-center"
41958
+ }, /*#__PURE__*/React.createElement(FaRegEye, {
41959
+ size: sectionproperties.generalbtn_fontsize
41960
+ }))), sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
41961
+ "class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-sm-100px font-sm-12 ',
41962
+ onClick: function onClick(e) {
41963
+ e.stopPropagation();
41964
+ setShowProductInfoModalContext(true);
41965
+ setProductIdProdutInfoModalContext(item.productid);
41966
+ }
41967
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React.createElement("div", null, sectionproperties.cartBtnShow == 'Show' && showquantity == false && /*#__PURE__*/React.createElement("button", {
41968
+ "class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-sm-100px font-sm-12 ',
41969
+ onClick: function onClick(e) {
41970
+ e.stopPropagation();
41971
+ setshowquantity(true);
41972
+ }
41973
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), showquantity == true && /*#__PURE__*/React.createElement("div", {
41974
+ "class": "".concat(card_cssstyles.quantitybtn) + ' w-sm-100px p-0 d-flex align-items-center justify-content-center ml-2 mr-2 ml-sm-1 mr-sm-1 ',
41975
+ style: {
41976
+ direction: 'ltr'
41977
+ }
41978
+ }, /*#__PURE__*/React.createElement("button", {
41979
+ "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
41980
+ onClick: function onClick(e) {
41981
+ e.stopPropagation();
41982
+ if (item.hasvariants == 0) {
41983
+ var tempitem = _objectSpread$C({}, item);
41984
+ tempitem.quantity = parseInt(tempitem.quantity);
41985
+ tempitem.quantity = tempitem.quantity - 1;
41986
+ if (tempitem.quantity <= 0) {
41987
+ tempitem.quantity = 0;
41988
+ }
41989
+ setitem(_objectSpread$C({}, tempitem));
41990
+ addtocartfunc('add', tempitem.quantity);
41991
+ } else {
41992
+ setShowProductInfoModalContext(true);
41993
+ setProductIdProdutInfoModalContext(item.productid);
41994
+ }
41995
+ },
41996
+ disabled: AddtoCartMutationContext.isLoading == true ? true : false
41997
+ }, /*#__PURE__*/React.createElement("i", {
41998
+ "class": "h-100 allcentered minusbtn"
41999
+ }, /*#__PURE__*/React.createElement(FiMinus, null))), /*#__PURE__*/React.createElement("span", {
42000
+ "class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center '
42001
+ }, addtocartbuttonrender()), /*#__PURE__*/React.createElement("button", {
42002
+ "class": "".concat(card_cssstyles.add_quantitybtn_icon_container),
42003
+ onClick: function onClick(e) {
42004
+ e.stopPropagation();
42005
+ if (item.hasvariants == 0) {
42006
+ var tempitem = _objectSpread$C({}, item);
42007
+ tempitem.quantity = parseInt(tempitem.quantity);
42008
+ tempitem.quantity = tempitem.quantity + 1;
42009
+ if (tempitem.quantity <= 0) {
42010
+ tempitem.quantity = 0;
42011
+ }
42012
+ setitem(_objectSpread$C({}, tempitem));
42013
+ addtocartfunc('add', tempitem.quantity);
42014
+ } else {
42015
+ setShowProductInfoModalContext(true);
42016
+ setProductIdProdutInfoModalContext(item.productid);
42017
+ }
42018
+ },
42019
+ disabled: AddtoCartMutationContext.isLoading == true ? true : false
42020
+ }, /*#__PURE__*/React.createElement("i", {
42021
+ "class": "h-100 allcentered addbtn"
42022
+ }, /*#__PURE__*/React.createElement(FiPlus, null))))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
42023
+ "class": sectionproperties.cartBtnShow == 'Hide' ? "".concat(card_cssstyles.wishlist_btn) + ' ml-2 mr-2 ' : "".concat(card_cssstyles.wishlist_btn) + ' ',
42024
+ onClick: function onClick(e) {
42025
+ e.stopPropagation();
42026
+ addtofavoritescontext(item.productid);
42027
+ },
42028
+ style: {
42029
+ background: item.IsFavExists == true ? sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.activebgcolor : ''
42030
+ }
42031
+ }, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
42032
+ "class": "h-100 d-flex align-items-center justify-content-center"
42033
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, {
42034
+ size: sectionproperties.favBtnIconfontsize,
42035
+ style: {
42036
+ color: sectionproperties.activefaviconcolor
42037
+ }
42038
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart, {
42039
+ size: sectionproperties.favBtnIconfontsize,
42040
+ style: {
42041
+ color: sectionproperties.activefaviconcolor
42042
+ }
42043
+ })), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
42044
+ "class": "h-100 d-flex align-items-center justify-content-center"
42045
+ }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
42046
+ size: sectionproperties.favBtnIconfontsize
42047
+ }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
42048
+ size: sectionproperties.favBtnIconfontsize
42049
+ }))));
42050
+ };
41936
42051
  return /*#__PURE__*/React.createElement("div", {
41937
42052
  "class": props.sectiontypeprops2 == 'vertical' ? "".concat(card_cssstyles.productcard2) + ' w-100 ' : " ".concat(card_cssstyles.productcard, " ").concat(generalCardsStyles.productcard),
41938
42053
  style: {
@@ -42022,107 +42137,10 @@ var UpSlideEffectCard = function UpSlideEffectCard(props) {
42022
42137
  fontSize: sectionproperties.badge_fontsize + 'px'
42023
42138
  }
42024
42139
  }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), /*#__PURE__*/React.createElement("div", {
42025
- "class": sectionproperties.transition == 'Show By Default' ? "".concat(card_cssstyles.floating_content_show) + ' row m-0 align-items-center justify-content-center ' : "".concat(card_cssstyles.floating_content) + ' row m-0 align-items-center justify-content-center floating_content '
42026
- }, sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("button", {
42027
- "class": sectionproperties.cartBtnShow == 'Hide' ? "".concat(card_cssstyles.button_styles) + ' ml-2 mr-2 ' : "".concat(card_cssstyles.button_styles) + ' ml-2 mr-2 ',
42028
- onClick: function onClick(e) {
42029
- e.stopPropagation();
42030
- routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
42031
- }
42032
- }, /*#__PURE__*/React.createElement("i", {
42033
- "class": "h-100 d-flex align-items-center justify-content-center"
42034
- }, /*#__PURE__*/React.createElement(FaRegEye, {
42035
- size: sectionproperties.generalbtn_fontsize
42036
- }))), sectionproperties.quantitybtn_show == 'Hide' && sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
42037
- "class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-sm-100px font-sm-12 ',
42038
- onClick: function onClick(e) {
42039
- e.stopPropagation();
42040
- setShowProductInfoModalContext(true);
42041
- setProductIdProdutInfoModalContext(item.productid);
42042
- }
42043
- }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), sectionproperties.quantitybtn_show == 'Show' && /*#__PURE__*/React.createElement("div", null, sectionproperties.cartBtnShow == 'Show' && showquantity == false && /*#__PURE__*/React.createElement("button", {
42044
- "class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-sm-100px font-sm-12 ',
42045
- onClick: function onClick(e) {
42046
- e.stopPropagation();
42047
- setshowquantity(true);
42048
- }
42049
- }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic), showquantity == true && /*#__PURE__*/React.createElement("div", {
42050
- "class": "".concat(card_cssstyles.quantitybtn) + ' w-sm-100px p-0 d-flex align-items-center justify-content-center ml-2 mr-2 ml-sm-1 mr-sm-1 ',
42051
- style: {
42052
- direction: 'ltr'
42053
- }
42054
- }, /*#__PURE__*/React.createElement("button", {
42055
- "class": "".concat(card_cssstyles.minus_quantitybtn_icon_container),
42056
- onClick: function onClick(e) {
42057
- e.stopPropagation();
42058
- if (item.hasvariants == 0) {
42059
- var tempitem = _objectSpread$C({}, item);
42060
- tempitem.quantity = parseInt(tempitem.quantity);
42061
- tempitem.quantity = tempitem.quantity - 1;
42062
- if (tempitem.quantity <= 0) {
42063
- tempitem.quantity = 0;
42064
- }
42065
- setitem(_objectSpread$C({}, tempitem));
42066
- addtocartfunc('add', tempitem.quantity);
42067
- } else {
42068
- setShowProductInfoModalContext(true);
42069
- setProductIdProdutInfoModalContext(item.productid);
42070
- }
42071
- },
42072
- disabled: AddtoCartMutationContext.isLoading == true ? true : false
42073
- }, /*#__PURE__*/React.createElement("i", {
42074
- "class": "h-100 allcentered minusbtn"
42075
- }, /*#__PURE__*/React.createElement(FiMinus, null))), /*#__PURE__*/React.createElement("span", {
42076
- "class": "".concat(card_cssstyles.quantitybtn_text) + ' d-flex align-items-center justify-content-center '
42077
- }, addtocartbuttonrender()), /*#__PURE__*/React.createElement("button", {
42078
- "class": "".concat(card_cssstyles.add_quantitybtn_icon_container),
42079
- onClick: function onClick(e) {
42080
- e.stopPropagation();
42081
- if (item.hasvariants == 0) {
42082
- var tempitem = _objectSpread$C({}, item);
42083
- tempitem.quantity = parseInt(tempitem.quantity);
42084
- tempitem.quantity = tempitem.quantity + 1;
42085
- if (tempitem.quantity <= 0) {
42086
- tempitem.quantity = 0;
42087
- }
42088
- setitem(_objectSpread$C({}, tempitem));
42089
- addtocartfunc('add', tempitem.quantity);
42090
- } else {
42091
- setShowProductInfoModalContext(true);
42092
- setProductIdProdutInfoModalContext(item.productid);
42093
- }
42094
- },
42095
- disabled: AddtoCartMutationContext.isLoading == true ? true : false
42096
- }, /*#__PURE__*/React.createElement("i", {
42097
- "class": "h-100 allcentered addbtn"
42098
- }, /*#__PURE__*/React.createElement(FiPlus, null))))), sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
42099
- "class": sectionproperties.cartBtnShow == 'Hide' ? "".concat(card_cssstyles.wishlist_btn) + '' : "".concat(card_cssstyles.wishlist_btn) + ' ml-2 mr-2 ',
42100
- onClick: function onClick(e) {
42101
- e.stopPropagation();
42102
- addtofavoritescontext(item.productid);
42103
- },
42104
- style: {
42105
- background: item.IsFavExists == true ? sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.activebgcolor : ''
42106
- }
42107
- }, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
42108
- "class": "h-100 d-flex align-items-center justify-content-center"
42109
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, {
42110
- size: sectionproperties.favBtnIconfontsize,
42111
- style: {
42112
- color: sectionproperties.activefaviconcolor
42113
- }
42114
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart, {
42115
- size: sectionproperties.favBtnIconfontsize,
42116
- style: {
42117
- color: sectionproperties.activefaviconcolor
42118
- }
42119
- })), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
42120
- "class": "h-100 d-flex align-items-center justify-content-center"
42121
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
42122
- size: sectionproperties.favBtnIconfontsize
42123
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
42124
- size: sectionproperties.favBtnIconfontsize
42125
- }))))), /*#__PURE__*/React.createElement("div", {
42140
+ "class": sectionproperties.transition == 'Show By Default' ? "".concat(card_cssstyles.floating_content_show) + ' row m-0 align-items-center justify-content-center d-flex d-md-none ' : "".concat(card_cssstyles.floating_content) + ' row m-0 align-items-center justify-content-center floating_content d-flex d-md-none '
42141
+ }, Buttons()), /*#__PURE__*/React.createElement("div", {
42142
+ "class": "".concat(card_cssstyles.floating_content_show) + ' row m-0 align-items-center justify-content-center d-none d-md-flex '
42143
+ }, Buttons())), /*#__PURE__*/React.createElement("div", {
42126
42144
  "class": "col-lg-12",
42127
42145
  style: {
42128
42146
  paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
@@ -44478,6 +44496,13 @@ var Card23 = function Card23(props) {
44478
44496
  transition: 'all, 0.4s',
44479
44497
  right: 10,
44480
44498
  transform: "translateX(0px)"
44499
+ }),
44500
+ imageContainer: css({
44501
+ backgroundColor: sectionproperties.image_bgcolor,
44502
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
44503
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
44504
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
44505
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
44481
44506
  })
44482
44507
  };
44483
44508
  var plainString = function plainString(html) {
@@ -44485,6 +44510,65 @@ var Card23 = function Card23(props) {
44485
44510
  divContainer.innerHTML = html;
44486
44511
  return divContainer.textContent || divContainer.innerText || '';
44487
44512
  };
44513
+ var Image = function Image() {
44514
+ return /*#__PURE__*/React.createElement("div", {
44515
+ "class": "w-100"
44516
+ }, /*#__PURE__*/React.createElement(IKImage, {
44517
+ urlEndpoint: IKurlEndpoint,
44518
+ publicKey: IKpublicKey,
44519
+ path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
44520
+ style: {
44521
+ width: sectionproperties.imageInnerWidth_Height + '%',
44522
+ height: sectionproperties.imageInnerWidth_Height + '%',
44523
+ objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
44524
+ borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
44525
+ borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0,
44526
+ borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
44527
+ borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0
44528
+ },
44529
+ loading: "lazy",
44530
+ onClick: function onClick() {
44531
+ setShowProductInfoModalContext(true);
44532
+ setProductIdProdutInfoModalContext(item.productid);
44533
+ }
44534
+ }), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("div", {
44535
+ "class": "row m-0 align-items-center justify-content-center",
44536
+ style: {
44537
+ position: 'absolute',
44538
+ top: 10,
44539
+ left: 10,
44540
+ height: sectionproperties.badge_height + 'px',
44541
+ width: sectionproperties.badge_width + 'px',
44542
+ backgroundColor: sectionproperties.badge_bgcolor,
44543
+ borderRadius: sectionproperties.badge_borderradius + 'px',
44544
+ paddingLeft: '10px',
44545
+ paddingRight: '10px',
44546
+ color: sectionproperties.badge_color
44547
+ }
44548
+ }, /*#__PURE__*/React.createElement("div", {
44549
+ style: {
44550
+ fontSize: sectionproperties.badge_fontsize + 'px'
44551
+ }
44552
+ }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
44553
+ "class": "allcentered",
44554
+ style: {
44555
+ position: 'absolute',
44556
+ top: sectionproperties.pillpositionfromtop + 'px',
44557
+ left: sectionproperties.pillpositionfromright + 'px',
44558
+ width: sectionproperties.pillwidth + 'px',
44559
+ height: sectionproperties.pillheight + 'px',
44560
+ background: sectionproperties.pillbgcolor,
44561
+ borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
44562
+ }
44563
+ }, /*#__PURE__*/React.createElement("p", {
44564
+ "class": "m-0 p-0 text-uppercase",
44565
+ style: {
44566
+ color: sectionproperties.pillcolor,
44567
+ fontSize: sectionproperties.pillfontSize + 'px',
44568
+ direction: 'ltr'
44569
+ }
44570
+ }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')));
44571
+ };
44488
44572
  return /*#__PURE__*/React.createElement("div", {
44489
44573
  "class": "row m-0 w-100 pl-sm-2 pr-sm-2",
44490
44574
  style: {
@@ -44492,7 +44576,7 @@ var Card23 = function Card23(props) {
44492
44576
  paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px'
44493
44577
  }
44494
44578
  }, /*#__PURE__*/React.createElement("div", {
44495
- "class": "".concat(cardsstyles2.card) + ' d-flex d-md-none '
44579
+ "class": "".concat(cardsstyles2.card) + ' '
44496
44580
  }, /*#__PURE__*/React.createElement("div", {
44497
44581
  "class": item.IsFavExists == true ? "".concat(cardsstyles2.iconsContainer, " ").concat(cardsstyles2.iconsContainer2) + ' iconsContainer d-flex d-md-none ' : "".concat(cardsstyles2.iconsContainer) + ' iconsContainer d-flex d-md-none ',
44498
44582
  style: {
@@ -44576,288 +44660,16 @@ var Card23 = function Card23(props) {
44576
44660
  paddingBottom: sectionproperties.paddingBottom + 'px'
44577
44661
  }
44578
44662
  }, /*#__PURE__*/React.createElement("div", {
44579
- "class": "cursor-pointer",
44663
+ "class": cardsstyles2.imageContainer + ' d-flex d-md-none ',
44580
44664
  style: {
44581
- backgroundColor: sectionproperties.image_bgcolor,
44582
- height: sectionproperties.image_height + 'px',
44583
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
44584
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
44585
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
44586
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
44587
- }
44588
- }, /*#__PURE__*/React.createElement(IKImage, {
44589
- urlEndpoint: IKurlEndpoint,
44590
- publicKey: IKpublicKey,
44591
- path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
44592
- style: {
44593
- width: '100%',
44594
- height: '100%',
44595
- objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain',
44596
- borderBottomLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px' : 0,
44597
- borderBottomRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px' : 0,
44598
- borderTopLeftRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px' : 0,
44599
- borderTopRightRadius: sectionproperties.bgcovercontain == 'Cover' ? langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px' : 0
44600
- },
44601
- loading: "lazy",
44602
- onClick: function onClick() {
44603
- setShowProductInfoModalContext(true);
44604
- setProductIdProdutInfoModalContext(item.productid);
44605
- }
44606
- }), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("div", {
44607
- "class": "row m-0 align-items-center justify-content-center",
44608
- style: {
44609
- position: 'absolute',
44610
- top: 10,
44611
- left: 10,
44612
- height: sectionproperties.badge_height + 'px',
44613
- width: sectionproperties.badge_width + 'px',
44614
- backgroundColor: sectionproperties.badge_bgcolor,
44615
- borderRadius: sectionproperties.badge_borderradius + 'px',
44616
- paddingLeft: '10px',
44617
- paddingRight: '10px',
44618
- color: sectionproperties.badge_color
44619
- }
44620
- }, /*#__PURE__*/React.createElement("div", {
44621
- style: {
44622
- fontSize: sectionproperties.badge_fontsize + 'px'
44623
- }
44624
- }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
44625
- "class": "allcentered",
44626
- style: {
44627
- position: 'absolute',
44628
- top: sectionproperties.pillpositionfromtop + 'px',
44629
- left: sectionproperties.pillpositionfromright + 'px',
44630
- width: sectionproperties.pillwidth + 'px',
44631
- height: sectionproperties.pillheight + 'px',
44632
- background: sectionproperties.pillbgcolor,
44633
- borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
44634
- }
44635
- }, /*#__PURE__*/React.createElement("p", {
44636
- "class": "m-0 p-0 text-uppercase",
44637
- style: {
44638
- color: sectionproperties.pillcolor,
44639
- fontSize: sectionproperties.pillfontSize + 'px',
44640
- direction: 'ltr'
44641
- }
44642
- }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%'))), /*#__PURE__*/React.createElement("div", {
44643
- "class": 'row m-0 w-100 pl-sm-0 pr-sm-0',
44644
- style: {
44645
- paddingLeft: '10px',
44646
- paddingRight: '10px',
44647
- paddingTop: '10px',
44648
- paddingBottom: '10px'
44649
- }
44650
- }, /*#__PURE__*/React.createElement("div", {
44651
- "class": "col-lg-12 p-0"
44652
- }, sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React.createElement("p", {
44653
- "class": "".concat(cardsstyles2.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 m-0 ',
44654
- style: {
44655
- textAlign: langdetect == 'en' ? 'left' : 'right'
44656
- }
44657
- }, plainString(langdetect == 'en' ? item.description_en : item.description_ar)), sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
44658
- "class": "col-lg-12 p-0 ",
44659
- style: {
44660
- minHeight: '6vh'
44661
- }
44662
- }, /*#__PURE__*/React.createElement("p", {
44663
- onClick: function onClick() {
44664
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
44665
- },
44666
- "class": sectionproperties.wordbreak == '1' ? "".concat(cardsstyles2.productNameStyles) + ' wordbreak wordbreak2 m-0 ' : "".concat(cardsstyles2.productNameStyles) + ' wordbreak wordbreak2 m-0 ',
44667
- style: {
44668
- textAlign: langdetect == 'en' ? 'left' : 'right'
44669
- }
44670
- }, item.name))), /*#__PURE__*/React.createElement("div", {
44671
- "class": "row m-0 w-100 align-items-center mt-1 mb-1"
44672
- }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
44673
- "class": langdetect == 'en' ? "".concat(cardsstyles2.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-right text-sm-left ' : "".concat(cardsstyles2.productPricestyles) + ' m-0 wordbreak d-flex align-items-center text-left text-sm-right '
44674
- }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("span", {
44675
- "class": "".concat(cardsstyles2.productSalePricestyles)
44676
- }, "/"), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
44677
- "class": langdetect == 'en' ? "".concat(cardsstyles2.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-right text-sm-left ' : "".concat(cardsstyles2.productSalePricestyles) + ' linethrough m-0 wordbreak d-flex mt-sm-auto mb-sm-auto text-left text-sm-right '
44678
- }, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م')), /*#__PURE__*/React.createElement("div", {
44679
- "class": "d-flex align-items-center m-0"
44680
- }, sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
44681
- "class": "".concat(cardsstyles2.cart_btn) + ' allcentered ',
44682
- onClick: function onClick() {
44683
- setShowProductInfoModalContext(true);
44684
- setProductIdProdutInfoModalContext(item.productid);
44685
- }
44686
- }, /*#__PURE__*/React.createElement("div", {
44687
- "class": "d-flex align-items-center justify-content-center"
44688
- }, sectionproperties.cartBtn_iconFontSize != 0 && /*#__PURE__*/React.createElement("i", {
44689
- "class": "allcentered mr-2",
44690
- style: {
44691
- color: sectionproperties.cart_iconcolor,
44692
- fontSize: sectionproperties.cartBtn_iconFontSize
44693
- }
44694
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
44695
- "class": "",
44696
- size: sectionproperties.cartBtn_iconFontSize
44697
- }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
44698
- "class": "",
44699
- size: sectionproperties.cartBtn_iconFontSize
44700
- }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
44701
- "class": "",
44702
- size: sectionproperties.cartBtn_iconFontSize
44703
- }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(RiHandbagLine, {
44704
- size: sectionproperties.cartBtn_iconFontSize
44705
- }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
44706
- "class": "",
44707
- size: sectionproperties.cartBtn_iconFontSize
44708
- }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdAddShoppingCart, {
44709
- size: sectionproperties.cartBtn_iconFontSize
44710
- })), /*#__PURE__*/React.createElement("p", {
44711
- "class": "m-0 p-0"
44712
- }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic))))))), /*#__PURE__*/React.createElement("div", {
44713
- "class": props.sectiontypeprops2 == 'vertical' ? "".concat(cardsstyles2.card) + ' d-none d-md-flex w-100 ' : "".concat(cardsstyles2.card) + ' d-none d-md-flex ',
44714
- style: {
44715
- minWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + 'px',
44716
- maxWidth: props.sectiontypeprops2 == 'vertical' ? '100%' : sectionproperties.widthresponsive + ' px'
44717
- }
44718
- }, /*#__PURE__*/React.createElement("div", {
44719
- "class": item.IsFavExists == true ? "".concat(cardsstyles2.iconsContainer, " ").concat(cardsstyles2.iconsContainer2) + ' iconsContainer d-flex d-md-none ' : "".concat(cardsstyles2.iconsContainer) + ' iconsContainer d-flex d-md-none ',
44720
- style: {
44721
- zIndex: 100
44722
- }
44723
- }, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
44724
- "class": "".concat(cardsstyles2.wishlist_btn) + ' mb-1 ',
44725
- onClick: function onClick() {
44726
- addtofavoritescontext(item.productid);
44727
- }
44728
- }, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
44729
- "class": "h-100 d-flex align-items-center justify-content-center icon"
44730
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, {
44731
- size: sectionproperties.favBtnIconfontsize,
44732
- style: {
44733
- color: sectionproperties.activefaviconcolor
44734
- }
44735
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart, {
44736
- size: sectionproperties.favBtnIconfontsize,
44737
- style: {
44738
- color: sectionproperties.activefaviconcolor
44739
- }
44740
- })), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
44741
- "class": "h-100 d-flex align-items-center justify-content-center"
44742
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
44743
- size: sectionproperties.favBtnIconfontsize
44744
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
44745
- size: sectionproperties.favBtnIconfontsize
44746
- }))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("button", {
44747
- "class": " ".concat(cardsstyles2.showmodal),
44748
- onClick: function onClick(e) {
44749
- e.stopPropagation();
44750
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
44751
- }
44752
- }, /*#__PURE__*/React.createElement("i", {
44753
- "class": "h-100 d-flex align-items-center justify-content-center"
44754
- }, /*#__PURE__*/React.createElement(BsEye, {
44755
- size: sectionproperties.generalbtn_fontsize
44756
- })))), /*#__PURE__*/React.createElement("div", {
44757
- "class": "".concat(cardsstyles2.iconsContainer, " ").concat(cardsstyles2.iconsContainer2) + ' iconsContainer d-none d-md-flex ',
44758
- style: {
44759
- zIndex: 100
44760
- }
44761
- }, sectionproperties.favBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
44762
- "class": " ".concat(cardsstyles2.wishlist_btn) + ' mb-1 ',
44763
- onClick: function onClick() {
44764
- addtofavoritescontext(item.productid);
44765
- }
44766
- }, item.IsFavExists && /*#__PURE__*/React.createElement("i", {
44767
- "class": "h-100 d-flex align-items-center justify-content-center icon"
44768
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, {
44769
- size: sectionproperties.favBtnIconfontsize,
44770
- style: {
44771
- color: sectionproperties.activefaviconcolor
44772
- }
44773
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaHeart, {
44774
- size: sectionproperties.favBtnIconfontsize,
44775
- style: {
44776
- color: sectionproperties.activefaviconcolor
44777
- }
44778
- })), !item.IsFavExists && /*#__PURE__*/React.createElement("i", {
44779
- "class": "h-100 d-flex align-items-center justify-content-center"
44780
- }, sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiOutlineStar, {
44781
- size: sectionproperties.favBtnIconfontsize
44782
- }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(FaRegHeart, {
44783
- size: sectionproperties.favBtnIconfontsize
44784
- }))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("button", {
44785
- "class": " ".concat(cardsstyles2.showmodal),
44786
- onClick: function onClick(e) {
44787
- e.stopPropagation();
44788
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
44789
- }
44790
- }, /*#__PURE__*/React.createElement("i", {
44791
- "class": "h-100 d-flex align-items-center justify-content-center"
44792
- }, /*#__PURE__*/React.createElement(BsEye, {
44793
- size: sectionproperties.generalbtn_fontsize
44794
- })))), sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
44795
- "class": "col-lg-12 col-md-12 col-sm-12 pl-0 pr-0 pl-sm-2 pr-sm-2",
44796
- style: {
44797
- paddingTop: sectionproperties.paddingTop + 'px',
44798
- paddingBottom: sectionproperties.paddingBottom + 'px'
44799
- }
44800
- }, /*#__PURE__*/React.createElement("div", {
44801
- "class": "cursor-pointer",
44802
- style: {
44803
- backgroundColor: sectionproperties.image_bgcolor,
44804
- height: sectionproperties.image_height + 'px',
44805
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
44806
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
44807
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
44808
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
44809
- }
44810
- }, /*#__PURE__*/React.createElement(IKImage, {
44811
- urlEndpoint: IKurlEndpoint,
44812
- publicKey: IKpublicKey,
44813
- path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
44814
- style: {
44815
- width: '100%',
44816
- height: '100%',
44817
- objectFit: 'contain'
44818
- },
44819
- loading: "lazy",
44820
- onClick: function onClick() {
44821
- setShowProductInfoModalContext(true);
44822
- setProductIdProdutInfoModalContext(item.productid);
44823
- }
44824
- }), (item === null || item === void 0 ? void 0 : item.hassale) == 1 && sectionproperties.prodsalePriceshow == 'Show' && /*#__PURE__*/React.createElement("div", {
44825
- "class": "row m-0 align-items-center justify-content-center",
44826
- style: {
44827
- position: 'absolute',
44828
- top: 10,
44829
- left: 10,
44830
- height: sectionproperties.badge_height + 'px',
44831
- width: sectionproperties.badge_width + 'px',
44832
- backgroundColor: sectionproperties.badge_bgcolor,
44833
- borderRadius: sectionproperties.badge_borderradius + 'px',
44834
- paddingLeft: '10px',
44835
- paddingRight: '10px',
44836
- color: sectionproperties.badge_color
44837
- }
44838
- }, /*#__PURE__*/React.createElement("div", {
44839
- style: {
44840
- fontSize: sectionproperties.badge_fontsize + 'px'
44841
- }
44842
- }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr)), sectionproperties.showpill == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
44843
- "class": "allcentered",
44844
- style: {
44845
- position: 'absolute',
44846
- top: sectionproperties.pillpositionfromtop + 'px',
44847
- left: sectionproperties.pillpositionfromright + 'px',
44848
- width: sectionproperties.pillwidth + 'px',
44849
- height: sectionproperties.pillheight + 'px',
44850
- background: sectionproperties.pillbgcolor,
44851
- borderRadius: sectionproperties.pillborderBottomLeftRadius + 'px'
44665
+ height: sectionproperties.image_height + 'px'
44852
44666
  }
44853
- }, /*#__PURE__*/React.createElement("p", {
44854
- "class": "m-0 p-0 text-uppercase",
44667
+ }, Image()), /*#__PURE__*/React.createElement("div", {
44668
+ "class": cardsstyles2.imageContainer + ' d-none d-md-flex ',
44855
44669
  style: {
44856
- color: sectionproperties.pillcolor,
44857
- fontSize: sectionproperties.pillfontSize + 'px',
44858
- direction: 'ltr'
44670
+ height: sectionproperties.height_responsive + 'px'
44859
44671
  }
44860
- }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%'))), /*#__PURE__*/React.createElement("div", {
44672
+ }, Image()), /*#__PURE__*/React.createElement("div", {
44861
44673
  "class": 'row m-0 w-100 pl-sm-0 pr-sm-0',
44862
44674
  style: {
44863
44675
  paddingLeft: '10px',
@@ -47315,7 +47127,7 @@ var Horizontalcard = function Horizontalcard(props) {
47315
47127
  paddingTop: sectionproperties.paddingTop + 'px',
47316
47128
  paddingBottom: sectionproperties.paddingBottom + 'px'
47317
47129
  }
47318
- }, /*#__PURE__*/React.createElement("div", {
47130
+ }, sectionproperties.image_show == 'show' && /*#__PURE__*/React.createElement("div", {
47319
47131
  "class": "col-lg-4 col-md-4 col-sm-4 p-0 h-100"
47320
47132
  }, /*#__PURE__*/React.createElement("div", {
47321
47133
  "class": "d-flex d-md-none",
@@ -47381,7 +47193,7 @@ var Horizontalcard = function Horizontalcard(props) {
47381
47193
  fontSize: sectionproperties.badge_fontsize + 'px'
47382
47194
  }
47383
47195
  }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))), /*#__PURE__*/React.createElement("div", {
47384
- "class": 'col-lg-8 col-md-8 col-sm-8 pt-2',
47196
+ "class": sectionproperties.image_show == 'Show' ? 'col-lg-8 col-md-8 col-sm-8 pt-2' : 'col-lg-12 col-md-12 col-sm-12 pt-2',
47385
47197
  style: {
47386
47198
  paddingRight: langdetect == 'en' ? 0 : '',
47387
47199
  paddingLeft: langdetect == 'ar' ? 0 : '',