tabexseriescomponents 0.0.289 → 0.0.291

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
@@ -35,13 +35,13 @@ var reactShare = require('react-share');
35
35
  var imagekitioReact = require('imagekitio-react');
36
36
  var ReactStars = require('react-rating-stars-component');
37
37
  var FiLayers = require('@react-icons/all-files/fi/FiLayers');
38
- var material = require('@mui/material');
39
38
  var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
40
39
  var TextareaAutosize = require('react-textarea-autosize');
41
40
  var AiOutlineClockCircle = require('@react-icons/all-files/ai/AiOutlineClockCircle');
42
41
  var AiOutlinePlus = require('@react-icons/all-files/ai/AiOutlinePlus');
43
42
  var AiOutlineCheck = require('@react-icons/all-files/ai/AiOutlineCheck');
44
43
  var reactHorizontalScrollingMenu = require('react-horizontal-scrolling-menu');
44
+ var material = require('@mui/material');
45
45
  var HiOutlinePhone = require('@react-icons/all-files/hi/HiOutlinePhone');
46
46
  var AiOutlineMail = require('@react-icons/all-files/ai/AiOutlineMail');
47
47
  var FaShippingFast = require('@react-icons/all-files/fa/FaShippingFast');
@@ -1486,10 +1486,26 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
1486
1486
  var sectionproperties = props.actions.sectionproperties;
1487
1487
  var authdetailsContext = props.actions.authdetailsContext;
1488
1488
  var variantindexcompleted = props.actions.variantindexcompleted;
1489
- props.actions.ikimagecredcontext;
1490
1489
  var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
1491
1490
  var quantityconditionfoundobjprops = props.actions.quantityconditionfoundobjprops;
1492
- return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
1491
+ var productinfo_cssstyles = {
1492
+ profitcontainer: glamor.css({
1493
+ width: sectionproperties.profitcontainerwidth + '%',
1494
+ height: sectionproperties.profitcontainerheight + 'px',
1495
+ background: sectionproperties.profitcontainerbgcolor,
1496
+ border: sectionproperties.profitcontainerborderwidth + 'px solid' + sectionproperties.profitcontainerbordercolor,
1497
+ borderRadius: sectionproperties.profitcontainerborderradius + 'px',
1498
+ color: sectionproperties.profitcontainercolor,
1499
+ '@media (max-width: 800px)': {
1500
+ width: '90%'
1501
+ }
1502
+ })
1503
+ };
1504
+ return /*#__PURE__*/React__default["default"].createElement("div", {
1505
+ "class": "col-lg-12 p-0"
1506
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
1507
+ "class": "row m-0 w-100"
1508
+ }, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
1493
1509
  "class": "col-lg-12 p-0 mb-3 d-flex justift-content-start",
1494
1510
  style: {
1495
1511
  background: sectionproperties.reservation_bgcolor,
@@ -1566,7 +1582,22 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
1566
1582
  fontSize: '13px',
1567
1583
  lineHeight: '25px'
1568
1584
  }
1569
- }, '-' + parseFloat(Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0).toFixed(0) + '%'))))));
1585
+ }, '-' + parseFloat(Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0).toFixed(0) + '%'))))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
1586
+ "class": "col-lg-12 p-0 mb-2"
1587
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
1588
+ "class": productinfo_cssstyles.profitcontainer + ' allcentered '
1589
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
1590
+ "class": ' m-0 p-0 d-flex align-items-center justify-content-center '
1591
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
1592
+ style: {
1593
+ fontWeight: sectionproperties.profitcontainerfontweight
1594
+ }
1595
+ }, langdetect == 'en' ? sectionproperties.profitcontainercontenten : sectionproperties.profitcontainercontentar, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
1596
+ "class": "mx-1",
1597
+ style: {
1598
+ fontWeight: sectionproperties.profitcontainersecondaryfontweight
1599
+ }
1600
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(Math.round(parseInt(fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2) : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)) * (fetchProductInfoQueryContext.data.data.productinfo.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))));
1570
1601
  };
1571
1602
 
1572
1603
  function ownKeys$28(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -12672,6 +12703,7 @@ var CardsSection = function CardsSection(props) {
12672
12703
  cardobj.quantavailtype = arrayItem.productinfo.quantavailtype;
12673
12704
  cardobj.isproducttobesold = arrayItem.productinfo.isproducttobesold;
12674
12705
  cardobj.measurmentunit = arrayItem.productinfo.measurmentunit;
12706
+ cardobj.prodaffpercentprofit = arrayItem.productinfo.prodaffpercentprofit;
12675
12707
  if (langdetect == 'en') {
12676
12708
  cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.data.data.currencyname_en;
12677
12709
  } else {
@@ -43437,7 +43469,18 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
43437
43469
  })), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
43438
43470
  "class": "col-lg-12 p-0"
43439
43471
  }, /*#__PURE__*/React__default["default"].createElement("button", {
43440
- "class": "".concat(section_styles.btn)
43472
+ "class": "".concat(section_styles.btn),
43473
+ onClick: function onClick() {
43474
+ if (sectionproperties.btntype == 'WhatsApp') {
43475
+ var _authdetailsContext$i;
43476
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber) != null) {
43477
+ var _authdetailsContext$i2;
43478
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber), '_blank');
43479
+ }
43480
+ } else {
43481
+ window.open(sectionproperties.btnlink, '_blank');
43482
+ }
43483
+ }
43441
43484
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
43442
43485
  "class": "col-lg-12 p-0 d-flex justify-content-sm-center mb-sm-4 align-items-center",
43443
43486
  style: {
@@ -43447,10 +43490,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
43447
43490
  }, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
43448
43491
  "class": "".concat(section_styles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
43449
43492
  onClick: function onClick() {
43450
- var _authdetailsContext$i;
43451
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.facebooklink) != null) {
43452
- var _authdetailsContext$i2;
43453
- window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink, '_blank');
43493
+ var _authdetailsContext$i3;
43494
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
43495
+ var _authdetailsContext$i4;
43496
+ window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
43454
43497
  }
43455
43498
  }
43456
43499
  }, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
@@ -43458,10 +43501,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
43458
43501
  })), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
43459
43502
  "class": "".concat(section_styles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
43460
43503
  onClick: function onClick() {
43461
- var _authdetailsContext$i3;
43462
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instagramlink) != null) {
43463
- var _authdetailsContext$i4;
43464
- window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instagramlink, '_blank');
43504
+ var _authdetailsContext$i5;
43505
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
43506
+ var _authdetailsContext$i6;
43507
+ window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
43465
43508
  }
43466
43509
  }
43467
43510
  }, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
@@ -43469,10 +43512,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
43469
43512
  })), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
43470
43513
  "class": "".concat(section_styles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
43471
43514
  onClick: function onClick() {
43472
- var _authdetailsContext$i5;
43473
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.whatsappnumber) != null) {
43474
- var _authdetailsContext$i6;
43475
- window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber), '_blank');
43515
+ var _authdetailsContext$i7;
43516
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber) != null) {
43517
+ var _authdetailsContext$i8;
43518
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber), '_blank');
43476
43519
  }
43477
43520
  }
43478
43521
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
@@ -48289,6 +48332,21 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
48289
48332
  transition: '.3s',
48290
48333
  color: sectionproperties.remove_quantitybtn_textcoloronhover
48291
48334
  }
48335
+ }),
48336
+ outstockbadge: glamor.css({
48337
+ width: sectionproperties.outstock_width + 'px',
48338
+ height: sectionproperties.outstock_height + 'px',
48339
+ background: sectionproperties.outstock_bg,
48340
+ color: sectionproperties.outstock_color,
48341
+ fontSize: sectionproperties.outstock_fontSize + 'px',
48342
+ borderRadius: sectionproperties.outstock_borderradius + 'px',
48343
+ position: 'absolute',
48344
+ zIndex: 2,
48345
+ top: 0,
48346
+ bottom: 0,
48347
+ left: 0,
48348
+ right: 0,
48349
+ margin: 'auto'
48292
48350
  })
48293
48351
  };
48294
48352
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -48343,7 +48401,9 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
48343
48401
  borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
48344
48402
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
48345
48403
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
48346
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
48404
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
48405
+ opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1
48406
+
48347
48407
  // border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
48348
48408
  },
48349
48409
 
@@ -48375,7 +48435,11 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
48375
48435
  fontSize: sectionproperties.pillfontSize + 'px',
48376
48436
  direction: 'ltr'
48377
48437
  }
48378
- }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')))), /*#__PURE__*/React__default["default"].createElement("div", {
48438
+ }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
48439
+ "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
48440
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
48441
+ "class": "m-0 p-0"
48442
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar)))), /*#__PURE__*/React__default["default"].createElement("div", {
48379
48443
  "class": "col-lg-12 p-0"
48380
48444
  }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
48381
48445
  "class": "row m-0 w-100 align-items-center justify-content-center text-center mb-2"
@@ -48422,7 +48486,9 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
48422
48486
  }))), sectionproperties.cartBtnShow == 'Show' && showquantity == false && /*#__PURE__*/React__default["default"].createElement("button", {
48423
48487
  "class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-md-130px w-sm-100px font-sm-12 ',
48424
48488
  onClick: function onClick() {
48425
- if (sectionproperties.quantitybtn_show == 'Show') {
48489
+ if (item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0) {
48490
+ NotificationManager.warning('', langdetect == 'en' ? 'Sold Out' : 'نفذت الكمية');
48491
+ } else if (sectionproperties.quantitybtn_show == 'Show') {
48426
48492
  setshowquantity(true);
48427
48493
  } else {
48428
48494
  setShowProductInfoModalContext(true);
@@ -57675,7 +57741,10 @@ var Simpleproductcard = function Simpleproductcard(props) {
57675
57741
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
57676
57742
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
57677
57743
  transition: '.3s',
57678
- opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1
57744
+ opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1,
57745
+ '@media (max-width: 800px)': {
57746
+ height: sectionproperties.height_responsive != null ? sectionproperties.height_responsive + 'px' : sectionproperties.image_height + 'px'
57747
+ }
57679
57748
  }),
57680
57749
  productNameStyles: glamor.css({
57681
57750
  color: sectionproperties.prodNameColor,
@@ -57745,6 +57814,17 @@ var Simpleproductcard = function Simpleproductcard(props) {
57745
57814
  left: 0,
57746
57815
  right: 0,
57747
57816
  margin: 'auto'
57817
+ }),
57818
+ profitcontainer: glamor.css({
57819
+ width: sectionproperties.profitcontainerwidth + '%',
57820
+ height: sectionproperties.profitcontainerheight + 'px',
57821
+ background: sectionproperties.profitcontainerbgcolor,
57822
+ border: sectionproperties.profitcontainerborderwidth + 'px solid' + sectionproperties.profitcontainerbordercolor,
57823
+ borderRadius: sectionproperties.profitcontainerborderradius + 'px',
57824
+ color: sectionproperties.profitcontainercolor,
57825
+ '@media (max-width: 800px)': {
57826
+ width: '100%'
57827
+ }
57748
57828
  })
57749
57829
  };
57750
57830
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -57857,7 +57937,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
57857
57937
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
57858
57938
  }
57859
57939
  },
57860
- "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center d-md-none ',
57940
+ "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center ',
57861
57941
  style: {
57862
57942
  zIndex: 1,
57863
57943
  marginBottom: sectionproperties.image_mb + 'px'
@@ -57872,31 +57952,6 @@ var Simpleproductcard = function Simpleproductcard(props) {
57872
57952
  height: sectionproperties.imageInnerWidth_Height + '%',
57873
57953
  objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
57874
57954
  }
57875
- })), /*#__PURE__*/React__default["default"].createElement("div", {
57876
- onClick: function onClick() {
57877
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
57878
- setShowProductInfoModalContext(true);
57879
- setProductIdProdutInfoModalContext(item.productid);
57880
- } else {
57881
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
57882
- }
57883
- },
57884
- "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-none d-md-flex align-items-center justify-content-center ',
57885
- style: {
57886
- zIndex: 1,
57887
- marginBottom: sectionproperties.image_mb + 'px',
57888
- height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive
57889
- }
57890
- }, item.image != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
57891
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
57892
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
57893
- path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
57894
- loading: "lazy",
57895
- style: {
57896
- width: sectionproperties.imageInnerWidth_Height + '%',
57897
- height: sectionproperties.imageInnerWidth_Height + '%',
57898
- objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
57899
- }
57900
57955
  })), item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
57901
57956
  "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
57902
57957
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -57909,7 +57964,10 @@ var Simpleproductcard = function Simpleproductcard(props) {
57909
57964
  onClick: function onClick() {
57910
57965
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
57911
57966
  },
57912
- "class": "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 text-center m-0 '
57967
+ "class": "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 ',
57968
+ style: {
57969
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
57970
+ }
57913
57971
  }, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
57914
57972
  style: {
57915
57973
  flexDirection: 'column'
@@ -57918,16 +57976,46 @@ var Simpleproductcard = function Simpleproductcard(props) {
57918
57976
  }, /*#__PURE__*/React__default["default"].createElement("div", {
57919
57977
  "class": "row m-0 w-100 "
57920
57978
  }, /*#__PURE__*/React__default["default"].createElement("div", {
57921
- "class": "d-flex flex-row col-lg-12 m-0 p-0 align-items-center justify-content-center mb-1 "
57979
+ "class": "d-flex flex-row col-lg-12 m-0 p-0 align-items-center mb-1 ",
57980
+ style: {
57981
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
57982
+ }
57922
57983
  }, /*#__PURE__*/React__default["default"].createElement("div", {
57923
- "class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center justify-content-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center justify-content-center p-0 mb-0 '
57984
+ "class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center p-0 mb-0 ',
57985
+ style: {
57986
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
57987
+ }
57924
57988
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
57925
57989
  "class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
57926
- }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
57927
- "class": " d-flex align-items-center justify-content-center p-0 mb-0"
57990
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
57991
+ "class": " d-flex align-items-center p-0 mb-0"
57928
57992
  }, /*#__PURE__*/React__default["default"].createElement("p", {
57929
57993
  "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
57930
- }, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'))))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
57994
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
57995
+ "class": "col-lg-12 p-0",
57996
+ style: {
57997
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
57998
+ }
57999
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
58000
+ "class": card_cssstyles.profitcontainer + ' d-flex align-items-center flex-sm-column px-2',
58001
+ style: {
58002
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
58003
+ }
58004
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
58005
+ "class": ' m-0 p-0 d-flex align-items-center ',
58006
+ style: {
58007
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
58008
+ }
58009
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
58010
+ style: {
58011
+ fontWeight: sectionproperties.profitcontainerfontweight
58012
+ }
58013
+ }, langdetect == 'en' ? sectionproperties.profitcontainercontenten : sectionproperties.profitcontainercontentar, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
58014
+ "class": "mx-1",
58015
+ style: {
58016
+ fontWeight: sectionproperties.profitcontainersecondaryfontweight
58017
+ }
58018
+ }, langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.hassale == 1 ? item.defaultsaleprice : item.defaultprice) * (item.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname))))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
57931
58019
  "class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
57932
58020
  onClick: function onClick() {
57933
58021
  if (item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0) {
package/dist/index.esm.js CHANGED
@@ -33,13 +33,13 @@ import { FacebookShareButton, FacebookIcon, TwitterShareButton, TwitterIcon, Wha
33
33
  import { IKImage } from 'imagekitio-react';
34
34
  import ReactStars from 'react-rating-stars-component';
35
35
  import { FiLayers } from '@react-icons/all-files/fi/FiLayers';
36
- import { Box, Tabs, Tab } from '@mui/material';
37
36
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
38
37
  import TextareaAutosize from 'react-textarea-autosize';
39
38
  import { AiOutlineClockCircle } from '@react-icons/all-files/ai/AiOutlineClockCircle';
40
39
  import { AiOutlinePlus } from '@react-icons/all-files/ai/AiOutlinePlus';
41
40
  import { AiOutlineCheck } from '@react-icons/all-files/ai/AiOutlineCheck';
42
41
  import { ScrollMenu } from 'react-horizontal-scrolling-menu';
42
+ import { Box, Tabs, Tab } from '@mui/material';
43
43
  import { HiOutlinePhone } from '@react-icons/all-files/hi/HiOutlinePhone';
44
44
  import { AiOutlineMail } from '@react-icons/all-files/ai/AiOutlineMail';
45
45
  import { FaShippingFast } from '@react-icons/all-files/fa/FaShippingFast';
@@ -1439,10 +1439,26 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
1439
1439
  var sectionproperties = props.actions.sectionproperties;
1440
1440
  var authdetailsContext = props.actions.authdetailsContext;
1441
1441
  var variantindexcompleted = props.actions.variantindexcompleted;
1442
- props.actions.ikimagecredcontext;
1443
1442
  var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
1444
1443
  var quantityconditionfoundobjprops = props.actions.quantityconditionfoundobjprops;
1445
- return /*#__PURE__*/React.createElement(React.Fragment, null, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React.createElement("div", {
1444
+ var productinfo_cssstyles = {
1445
+ profitcontainer: css({
1446
+ width: sectionproperties.profitcontainerwidth + '%',
1447
+ height: sectionproperties.profitcontainerheight + 'px',
1448
+ background: sectionproperties.profitcontainerbgcolor,
1449
+ border: sectionproperties.profitcontainerborderwidth + 'px solid' + sectionproperties.profitcontainerbordercolor,
1450
+ borderRadius: sectionproperties.profitcontainerborderradius + 'px',
1451
+ color: sectionproperties.profitcontainercolor,
1452
+ '@media (max-width: 800px)': {
1453
+ width: '90%'
1454
+ }
1455
+ })
1456
+ };
1457
+ return /*#__PURE__*/React.createElement("div", {
1458
+ "class": "col-lg-12 p-0"
1459
+ }, /*#__PURE__*/React.createElement("div", {
1460
+ "class": "row m-0 w-100"
1461
+ }, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React.createElement("div", {
1446
1462
  "class": "col-lg-12 p-0 mb-3 d-flex justift-content-start",
1447
1463
  style: {
1448
1464
  background: sectionproperties.reservation_bgcolor,
@@ -1519,7 +1535,22 @@ var ProductHeaderPricing = function ProductHeaderPricing(props) {
1519
1535
  fontSize: '13px',
1520
1536
  lineHeight: '25px'
1521
1537
  }
1522
- }, '-' + parseFloat(Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0).toFixed(0) + '%'))))));
1538
+ }, '-' + parseFloat(Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0).toFixed(0) + '%'))))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
1539
+ "class": "col-lg-12 p-0 mb-2"
1540
+ }, /*#__PURE__*/React.createElement("div", {
1541
+ "class": productinfo_cssstyles.profitcontainer + ' allcentered '
1542
+ }, /*#__PURE__*/React.createElement("p", {
1543
+ "class": ' m-0 p-0 d-flex align-items-center justify-content-center '
1544
+ }, /*#__PURE__*/React.createElement("span", {
1545
+ style: {
1546
+ fontWeight: sectionproperties.profitcontainerfontweight
1547
+ }
1548
+ }, langdetect == 'en' ? sectionproperties.profitcontainercontenten : sectionproperties.profitcontainercontentar, ":", ' '), /*#__PURE__*/React.createElement("span", {
1549
+ "class": "mx-1",
1550
+ style: {
1551
+ fontWeight: sectionproperties.profitcontainersecondaryfontweight
1552
+ }
1553
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(Math.round(parseInt(fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2) : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)) * (fetchProductInfoQueryContext.data.data.productinfo.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))));
1523
1554
  };
1524
1555
 
1525
1556
  function ownKeys$28(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -12625,6 +12656,7 @@ var CardsSection = function CardsSection(props) {
12625
12656
  cardobj.quantavailtype = arrayItem.productinfo.quantavailtype;
12626
12657
  cardobj.isproducttobesold = arrayItem.productinfo.isproducttobesold;
12627
12658
  cardobj.measurmentunit = arrayItem.productinfo.measurmentunit;
12659
+ cardobj.prodaffpercentprofit = arrayItem.productinfo.prodaffpercentprofit;
12628
12660
  if (langdetect == 'en') {
12629
12661
  cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.data.data.currencyname_en;
12630
12662
  } else {
@@ -43390,7 +43422,18 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
43390
43422
  })), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
43391
43423
  "class": "col-lg-12 p-0"
43392
43424
  }, /*#__PURE__*/React.createElement("button", {
43393
- "class": "".concat(section_styles.btn)
43425
+ "class": "".concat(section_styles.btn),
43426
+ onClick: function onClick() {
43427
+ if (sectionproperties.btntype == 'WhatsApp') {
43428
+ var _authdetailsContext$i;
43429
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber) != null) {
43430
+ var _authdetailsContext$i2;
43431
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber), '_blank');
43432
+ }
43433
+ } else {
43434
+ window.open(sectionproperties.btnlink, '_blank');
43435
+ }
43436
+ }
43394
43437
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React.createElement("div", {
43395
43438
  "class": "col-lg-12 p-0 d-flex justify-content-sm-center mb-sm-4 align-items-center",
43396
43439
  style: {
@@ -43400,10 +43443,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
43400
43443
  }, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
43401
43444
  "class": "".concat(section_styles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
43402
43445
  onClick: function onClick() {
43403
- var _authdetailsContext$i;
43404
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.facebooklink) != null) {
43405
- var _authdetailsContext$i2;
43406
- window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink, '_blank');
43446
+ var _authdetailsContext$i3;
43447
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
43448
+ var _authdetailsContext$i4;
43449
+ window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
43407
43450
  }
43408
43451
  }
43409
43452
  }, /*#__PURE__*/React.createElement(FaFacebookF, {
@@ -43411,10 +43454,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
43411
43454
  })), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
43412
43455
  "class": "".concat(section_styles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
43413
43456
  onClick: function onClick() {
43414
- var _authdetailsContext$i3;
43415
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instagramlink) != null) {
43416
- var _authdetailsContext$i4;
43417
- window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instagramlink, '_blank');
43457
+ var _authdetailsContext$i5;
43458
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
43459
+ var _authdetailsContext$i6;
43460
+ window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
43418
43461
  }
43419
43462
  }
43420
43463
  }, /*#__PURE__*/React.createElement(AiFillInstagram, {
@@ -43422,10 +43465,10 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
43422
43465
  })), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
43423
43466
  "class": "".concat(section_styles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
43424
43467
  onClick: function onClick() {
43425
- var _authdetailsContext$i5;
43426
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.whatsappnumber) != null) {
43427
- var _authdetailsContext$i6;
43428
- window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber), '_blank');
43468
+ var _authdetailsContext$i7;
43469
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber) != null) {
43470
+ var _authdetailsContext$i8;
43471
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber), '_blank');
43429
43472
  }
43430
43473
  }
43431
43474
  }, /*#__PURE__*/React.createElement(FaWhatsapp, {
@@ -48242,6 +48285,21 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
48242
48285
  transition: '.3s',
48243
48286
  color: sectionproperties.remove_quantitybtn_textcoloronhover
48244
48287
  }
48288
+ }),
48289
+ outstockbadge: css({
48290
+ width: sectionproperties.outstock_width + 'px',
48291
+ height: sectionproperties.outstock_height + 'px',
48292
+ background: sectionproperties.outstock_bg,
48293
+ color: sectionproperties.outstock_color,
48294
+ fontSize: sectionproperties.outstock_fontSize + 'px',
48295
+ borderRadius: sectionproperties.outstock_borderradius + 'px',
48296
+ position: 'absolute',
48297
+ zIndex: 2,
48298
+ top: 0,
48299
+ bottom: 0,
48300
+ left: 0,
48301
+ right: 0,
48302
+ margin: 'auto'
48245
48303
  })
48246
48304
  };
48247
48305
  return /*#__PURE__*/React.createElement("div", {
@@ -48296,7 +48354,9 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
48296
48354
  borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
48297
48355
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
48298
48356
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
48299
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
48357
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
48358
+ opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1
48359
+
48300
48360
  // border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
48301
48361
  },
48302
48362
 
@@ -48328,7 +48388,11 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
48328
48388
  fontSize: sectionproperties.pillfontSize + 'px',
48329
48389
  direction: 'ltr'
48330
48390
  }
48331
- }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')))), /*#__PURE__*/React.createElement("div", {
48391
+ }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React.createElement("div", {
48392
+ "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
48393
+ }, /*#__PURE__*/React.createElement("p", {
48394
+ "class": "m-0 p-0"
48395
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar)))), /*#__PURE__*/React.createElement("div", {
48332
48396
  "class": "col-lg-12 p-0"
48333
48397
  }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
48334
48398
  "class": "row m-0 w-100 align-items-center justify-content-center text-center mb-2"
@@ -48375,7 +48439,9 @@ var CircleCardWithVariants = function CircleCardWithVariants(props) {
48375
48439
  }))), sectionproperties.cartBtnShow == 'Show' && showquantity == false && /*#__PURE__*/React.createElement("button", {
48376
48440
  "class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-md-130px w-sm-100px font-sm-12 ',
48377
48441
  onClick: function onClick() {
48378
- if (sectionproperties.quantitybtn_show == 'Show') {
48442
+ if (item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0) {
48443
+ NotificationManager.warning('', langdetect == 'en' ? 'Sold Out' : 'نفذت الكمية');
48444
+ } else if (sectionproperties.quantitybtn_show == 'Show') {
48379
48445
  setshowquantity(true);
48380
48446
  } else {
48381
48447
  setShowProductInfoModalContext(true);
@@ -57628,7 +57694,10 @@ var Simpleproductcard = function Simpleproductcard(props) {
57628
57694
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
57629
57695
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
57630
57696
  transition: '.3s',
57631
- opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1
57697
+ opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1,
57698
+ '@media (max-width: 800px)': {
57699
+ height: sectionproperties.height_responsive != null ? sectionproperties.height_responsive + 'px' : sectionproperties.image_height + 'px'
57700
+ }
57632
57701
  }),
57633
57702
  productNameStyles: css({
57634
57703
  color: sectionproperties.prodNameColor,
@@ -57698,6 +57767,17 @@ var Simpleproductcard = function Simpleproductcard(props) {
57698
57767
  left: 0,
57699
57768
  right: 0,
57700
57769
  margin: 'auto'
57770
+ }),
57771
+ profitcontainer: css({
57772
+ width: sectionproperties.profitcontainerwidth + '%',
57773
+ height: sectionproperties.profitcontainerheight + 'px',
57774
+ background: sectionproperties.profitcontainerbgcolor,
57775
+ border: sectionproperties.profitcontainerborderwidth + 'px solid' + sectionproperties.profitcontainerbordercolor,
57776
+ borderRadius: sectionproperties.profitcontainerborderradius + 'px',
57777
+ color: sectionproperties.profitcontainercolor,
57778
+ '@media (max-width: 800px)': {
57779
+ width: '100%'
57780
+ }
57701
57781
  })
57702
57782
  };
57703
57783
  return /*#__PURE__*/React.createElement("div", {
@@ -57810,7 +57890,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
57810
57890
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
57811
57891
  }
57812
57892
  },
57813
- "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center d-md-none ',
57893
+ "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center ',
57814
57894
  style: {
57815
57895
  zIndex: 1,
57816
57896
  marginBottom: sectionproperties.image_mb + 'px'
@@ -57825,31 +57905,6 @@ var Simpleproductcard = function Simpleproductcard(props) {
57825
57905
  height: sectionproperties.imageInnerWidth_Height + '%',
57826
57906
  objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
57827
57907
  }
57828
- })), /*#__PURE__*/React.createElement("div", {
57829
- onClick: function onClick() {
57830
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
57831
- setShowProductInfoModalContext(true);
57832
- setProductIdProdutInfoModalContext(item.productid);
57833
- } else {
57834
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
57835
- }
57836
- },
57837
- "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-none d-md-flex align-items-center justify-content-center ',
57838
- style: {
57839
- zIndex: 1,
57840
- marginBottom: sectionproperties.image_mb + 'px',
57841
- height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive
57842
- }
57843
- }, item.image != '' && /*#__PURE__*/React.createElement(Imagekitimagecomp, {
57844
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
57845
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
57846
- path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
57847
- loading: "lazy",
57848
- style: {
57849
- width: sectionproperties.imageInnerWidth_Height + '%',
57850
- height: sectionproperties.imageInnerWidth_Height + '%',
57851
- objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
57852
- }
57853
57908
  })), item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React.createElement("div", {
57854
57909
  "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
57855
57910
  }, /*#__PURE__*/React.createElement("p", {
@@ -57862,7 +57917,10 @@ var Simpleproductcard = function Simpleproductcard(props) {
57862
57917
  onClick: function onClick() {
57863
57918
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
57864
57919
  },
57865
- "class": "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 text-center m-0 '
57920
+ "class": "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 ',
57921
+ style: {
57922
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
57923
+ }
57866
57924
  }, item.name)), /*#__PURE__*/React.createElement("div", {
57867
57925
  style: {
57868
57926
  flexDirection: 'column'
@@ -57871,16 +57929,46 @@ var Simpleproductcard = function Simpleproductcard(props) {
57871
57929
  }, /*#__PURE__*/React.createElement("div", {
57872
57930
  "class": "row m-0 w-100 "
57873
57931
  }, /*#__PURE__*/React.createElement("div", {
57874
- "class": "d-flex flex-row col-lg-12 m-0 p-0 align-items-center justify-content-center mb-1 "
57932
+ "class": "d-flex flex-row col-lg-12 m-0 p-0 align-items-center mb-1 ",
57933
+ style: {
57934
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
57935
+ }
57875
57936
  }, /*#__PURE__*/React.createElement("div", {
57876
- "class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center justify-content-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center justify-content-center p-0 mb-0 '
57937
+ "class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center p-0 mb-0 ',
57938
+ style: {
57939
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
57940
+ }
57877
57941
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
57878
57942
  "class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
57879
- }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
57880
- "class": " d-flex align-items-center justify-content-center p-0 mb-0"
57943
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("div", {
57944
+ "class": " d-flex align-items-center p-0 mb-0"
57881
57945
  }, /*#__PURE__*/React.createElement("p", {
57882
57946
  "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
57883
- }, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'))))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("p", {
57947
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React.createElement("div", {
57948
+ "class": "col-lg-12 p-0",
57949
+ style: {
57950
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
57951
+ }
57952
+ }, /*#__PURE__*/React.createElement("div", {
57953
+ "class": card_cssstyles.profitcontainer + ' d-flex align-items-center flex-sm-column px-2',
57954
+ style: {
57955
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
57956
+ }
57957
+ }, /*#__PURE__*/React.createElement("p", {
57958
+ "class": ' m-0 p-0 d-flex align-items-center ',
57959
+ style: {
57960
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
57961
+ }
57962
+ }, /*#__PURE__*/React.createElement("span", {
57963
+ style: {
57964
+ fontWeight: sectionproperties.profitcontainerfontweight
57965
+ }
57966
+ }, langdetect == 'en' ? sectionproperties.profitcontainercontenten : sectionproperties.profitcontainercontentar, ":", ' '), /*#__PURE__*/React.createElement("span", {
57967
+ "class": "mx-1",
57968
+ style: {
57969
+ fontWeight: sectionproperties.profitcontainersecondaryfontweight
57970
+ }
57971
+ }, langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.hassale == 1 ? item.defaultsaleprice : item.defaultprice) * (item.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname))))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("p", {
57884
57972
  "class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
57885
57973
  onClick: function onClick() {
57886
57974
  if (item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0) {
package/dist/index.umd.js CHANGED
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/assertThisInitialized'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('@react-icons/all-files/fa/FaFacebookF'), require('@react-icons/all-files/ai/AiOutlineUser'), require('@react-icons/all-files/io/IoMdClose'), require('react-bootstrap'), require('react-query'), require('react-image-gallery'), require('@react-icons/all-files/md/MdAddShoppingCart'), require('@react-icons/all-files/io5/IoBagHandleOutline'), require('@react-icons/all-files/bs/BsBag'), require('@react-icons/all-files/cg/CgShoppingBag'), require('@react-icons/all-files/fa/FaRegHeart'), require('@react-icons/all-files/fa/FaHeart'), require('@react-icons/all-files/fi/FiShoppingBag'), require('@react-icons/all-files/fi/FiShoppingCart'), require('@react-icons/all-files/ai/AiFillStar'), require('@react-icons/all-files/ai/AiOutlineStar'), require('react-share'), require('imagekitio-react'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('@mui/material'), require('@babel/runtime/helpers/toConsumableArray'), require('react-textarea-autosize'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-horizontal-scrolling-menu'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineMail'), require('@react-icons/all-files/fa/FaShippingFast'), require('@react-icons/all-files/ri/RiSecurePaymentLine'), require('@react-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fa/FaStar'), require('@react-icons/all-files/io5/IoLocationSharp'), require('@react-icons/all-files/hi/HiOutlineChevronRight'), require('@react-icons/all-files/hi/HiOutlineChevronLeft'), require('@react-icons/all-files/go/GoGlobe'), require('@react-icons/all-files/vsc/VscGlobe'), require('@react-icons/all-files/hi/HiOutlineTrash'), require('@react-icons/all-files/bi/BiSad'), require('@react-icons/all-files/fi/FiCalendar'), require('react-bootstrap/Dropdown'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('react-phone-input-2'), require('@react-icons/all-files/bs/BsChevronLeft'), require('@react-icons/all-files/bs/BsChevronRight'), require('@react-icons/all-files/ri/RiArrowUpSLine'), require('@react-icons/all-files/ri/RiArrowDownSLine'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), require('react-accessible-accordion'), require('@react-icons/all-files/fi/FiChevronUp'), require('@react-icons/all-files/fi/FiChevronDown'), require('@react-icons/all-files/hi/HiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineMinus'), require('react-router-dom'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('react-input-range'), require('react-intersection-observer'), require('@react-icons/all-files/fa/FaArrowAltCircleRight'), require('@react-icons/all-files/fa/FaArrowAltCircleLeft'), require('@react-icons/all-files/fi/FiFilter'), require('@react-icons/all-files/fi/FiChevronLeft'), require('@react-icons/all-files/fi/FiChevronRight'), require('@react-icons/all-files/hi/HiOutlineArrowRight'), require('@react-icons/all-files/hi/HiOutlineArrowLeft'), require('react-paginate'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/md/MdKeyboardArrowDown'), require('@react-icons/all-files/fa/FaMoneyBillWave'), require('@react-icons/all-files/bi/BiLogOutCircle'), require('@react-icons/all-files/bi/BiChevronDown'), require('@react-icons/all-files/bi/BiUser'), require('@react-icons/all-files/ai/AiOutlineLogin'), require('@react-icons/all-files/ai/AiOutlineUserAdd'), require('@react-icons/all-files/ri/RiSearchLine'), require('@react-icons/all-files/cg/CgMenuLeft'), require('@react-icons/all-files/cg/CgMenuRight'), require('@react-icons/all-files/hi/HiOutlineShoppingBag'), require('@react-icons/all-files/ri/RiHandbagLine'), require('@react-icons/all-files/bi/BiSearch'), require('@react-icons/all-files/fi/FiUser'), require('@react-icons/all-files/ai/AiOutlineHeart'), require('@react-icons/all-files/fi/FiPhone'), require('@react-icons/all-files/hi/HiMenuAlt4'), require('@react-icons/all-files/fi/FiSearch'), require('@react-icons/all-files/bs/BsSearch'), require('@react-icons/all-files/ai/AiFillInstagram'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/go/GoSearch'), require('@react-icons/all-files/ai/AiOutlineInstagram'), require('@react-icons/all-files/bs/BsChevronDown'), require('@react-icons/all-files/bs/BsChevronUp'), require('@react-icons/all-files/ri/RiUserSettingsLine'), require('@react-icons/all-files/io5/IoClose'), require('@react-icons/all-files/hi/HiUserCircle'), require('@react-icons/all-files/md/MdKeyboardArrowUp'), require('@react-icons/all-files/bs/BsInfoCircle'), require('@react-icons/all-files/ai/AiFillPhone'), require('@react-icons/all-files/fa/FaTelegramPlane'), require('@react-icons/all-files/fa/FaPhoneAlt'), require('@react-icons/all-files/fa/FaPhone'), require('@react-icons/all-files/ai/AiOutlinePhone'), require('@react-icons/all-files/go/GoLocation'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('react-select'), require('react-player'), require('react-background-slideshow'), require('@babel/runtime/helpers/extends'), require('react-slideshow-image'), require('@react-icons/all-files/hi/HiOutlineLocationMarker'), require('@react-icons/all-files/fi/FiPhoneCall'), require('@react-icons/all-files/fa/FaRegEye'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('@react-icons/all-files/bs/BsArrowRight'), require('@react-icons/all-files/bs/BsArrowLeft'), require('@react-icons/all-files/bs/BsEye'), require('@react-icons/all-files/bi/BiTimeFive'), require('@react-icons/all-files/io/IoIosArrowUp')) :
3
- typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'react-query', 'react-image-gallery', '@react-icons/all-files/md/MdAddShoppingCart', '@react-icons/all-files/io5/IoBagHandleOutline', '@react-icons/all-files/bs/BsBag', '@react-icons/all-files/cg/CgShoppingBag', '@react-icons/all-files/fa/FaRegHeart', '@react-icons/all-files/fa/FaHeart', '@react-icons/all-files/fi/FiShoppingBag', '@react-icons/all-files/fi/FiShoppingCart', '@react-icons/all-files/ai/AiFillStar', '@react-icons/all-files/ai/AiOutlineStar', 'react-share', 'imagekitio-react', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', '@mui/material', '@babel/runtime/helpers/toConsumableArray', 'react-textarea-autosize', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-horizontal-scrolling-menu', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineMail', '@react-icons/all-files/fa/FaShippingFast', '@react-icons/all-files/ri/RiSecurePaymentLine', '@react-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fa/FaStar', '@react-icons/all-files/io5/IoLocationSharp', '@react-icons/all-files/hi/HiOutlineChevronRight', '@react-icons/all-files/hi/HiOutlineChevronLeft', '@react-icons/all-files/go/GoGlobe', '@react-icons/all-files/vsc/VscGlobe', '@react-icons/all-files/hi/HiOutlineTrash', '@react-icons/all-files/bi/BiSad', '@react-icons/all-files/fi/FiCalendar', 'react-bootstrap/Dropdown', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', 'react-phone-input-2', '@react-icons/all-files/bs/BsChevronLeft', '@react-icons/all-files/bs/BsChevronRight', '@react-icons/all-files/ri/RiArrowUpSLine', '@react-icons/all-files/ri/RiArrowDownSLine', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', 'react-accessible-accordion', '@react-icons/all-files/fi/FiChevronUp', '@react-icons/all-files/fi/FiChevronDown', '@react-icons/all-files/hi/HiOutlinePlus', '@react-icons/all-files/ai/AiOutlineMinus', 'react-router-dom', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-input-range', 'react-intersection-observer', '@react-icons/all-files/fa/FaArrowAltCircleRight', '@react-icons/all-files/fa/FaArrowAltCircleLeft', '@react-icons/all-files/fi/FiFilter', '@react-icons/all-files/fi/FiChevronLeft', '@react-icons/all-files/fi/FiChevronRight', '@react-icons/all-files/hi/HiOutlineArrowRight', '@react-icons/all-files/hi/HiOutlineArrowLeft', 'react-paginate', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/md/MdKeyboardArrowDown', '@react-icons/all-files/fa/FaMoneyBillWave', '@react-icons/all-files/bi/BiLogOutCircle', '@react-icons/all-files/bi/BiChevronDown', '@react-icons/all-files/bi/BiUser', '@react-icons/all-files/ai/AiOutlineLogin', '@react-icons/all-files/ai/AiOutlineUserAdd', '@react-icons/all-files/ri/RiSearchLine', '@react-icons/all-files/cg/CgMenuLeft', '@react-icons/all-files/cg/CgMenuRight', '@react-icons/all-files/hi/HiOutlineShoppingBag', '@react-icons/all-files/ri/RiHandbagLine', '@react-icons/all-files/bi/BiSearch', '@react-icons/all-files/fi/FiUser', '@react-icons/all-files/ai/AiOutlineHeart', '@react-icons/all-files/fi/FiPhone', '@react-icons/all-files/hi/HiMenuAlt4', '@react-icons/all-files/fi/FiSearch', '@react-icons/all-files/bs/BsSearch', '@react-icons/all-files/ai/AiFillInstagram', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/go/GoSearch', '@react-icons/all-files/ai/AiOutlineInstagram', '@react-icons/all-files/bs/BsChevronDown', '@react-icons/all-files/bs/BsChevronUp', '@react-icons/all-files/ri/RiUserSettingsLine', '@react-icons/all-files/io5/IoClose', '@react-icons/all-files/hi/HiUserCircle', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/fa/FaTelegramPlane', '@react-icons/all-files/fa/FaPhoneAlt', '@react-icons/all-files/fa/FaPhone', '@react-icons/all-files/ai/AiOutlinePhone', '@react-icons/all-files/go/GoLocation', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', 'react-select', 'react-player', 'react-background-slideshow', '@babel/runtime/helpers/extends', 'react-slideshow-image', '@react-icons/all-files/hi/HiOutlineLocationMarker', '@react-icons/all-files/fi/FiPhoneCall', '@react-icons/all-files/fa/FaRegEye', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', '@react-icons/all-files/bs/BsArrowRight', '@react-icons/all-files/bs/BsArrowLeft', '@react-icons/all-files/bs/BsEye', '@react-icons/all-files/bi/BiTimeFive', '@react-icons/all-files/io/IoIosArrowUp'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, null, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar, global.AiOutlineStar, global.reactShare, global.imagekitioReact, global.ReactStars, global.FiLayers, global.material, global._toConsumableArray, global.TextareaAutosize, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.HiOutlineTrash, global.BiSad, global.FiCalendar, global.Dropdown, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.BsChevronLeft, global.BsChevronRight, null, null, global.IoIosArrowRoundForward, global.IoIosArrowRoundBack, global.reactAccessibleAccordion, global.FiChevronUp, global.FiChevronDown, global.HiOutlinePlus, global.AiOutlineMinus, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.InputRange, global.reactIntersectionObserver, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.FiFilter, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.BiGlobe, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiFillInstagram, global.FaWhatsapp, global.GoSearch, global.AiOutlineInstagram, global.BsChevronDown, null, global.RiUserSettingsLine, global.IoClose, global.HiUserCircle, global.MdKeyboardArrowUp, global.BsInfoCircle, global.AiFillPhone, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.AiOutlinePhone, global.GoLocation, global.RiRoadMapLine, global.HiOutlineClock, global.Select$4, global.ReactPlayer, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.FaRegEye, global.FiMinus, global.FiPlus, global.BsArrowRight, global.BsArrowLeft, global.BsEye, global.BiTimeFive, global.IoIosArrowUp));
5
- })(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, reactQuery, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart, FiShoppingBag, FiShoppingCart, AiFillStar, AiOutlineStar, reactShare, imagekitioReact, ReactStars, FiLayers, material, _toConsumableArray, TextareaAutosize, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, HiOutlineTrash, BiSad, FiCalendar, Dropdown, HiUser, GrMail, FiCheckCircle, BiPhone, PhoneInput, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, IoIosArrowRoundForward, IoIosArrowRoundBack, reactAccessibleAccordion, FiChevronUp, FiChevronDown, HiOutlinePlus, AiOutlineMinus, reactRouterDom, IoBagCheckOutline, IoBagRemoveOutline, InputRange, reactIntersectionObserver, FaArrowAltCircleRight, FaArrowAltCircleLeft, FiFilter, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, BiGlobe, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiFillInstagram, FaWhatsapp, GoSearch, AiOutlineInstagram, BsChevronDown, BsChevronUp, RiUserSettingsLine, IoClose, HiUserCircle, MdKeyboardArrowUp, BsInfoCircle, AiFillPhone, FaTelegramPlane, FaPhoneAlt, FaPhone, AiOutlinePhone, GoLocation, RiRoadMapLine, HiOutlineClock, Select$4, ReactPlayer, BackgroundSlideshow, _extends, reactSlideshowImage, HiOutlineLocationMarker, FiPhoneCall, FaRegEye, FiMinus, FiPlus, BsArrowRight, BsArrowLeft, BsEye, BiTimeFive, IoIosArrowUp) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/assertThisInitialized'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('@react-icons/all-files/fa/FaFacebookF'), require('@react-icons/all-files/ai/AiOutlineUser'), require('@react-icons/all-files/io/IoMdClose'), require('react-bootstrap'), require('react-query'), require('react-image-gallery'), require('@react-icons/all-files/md/MdAddShoppingCart'), require('@react-icons/all-files/io5/IoBagHandleOutline'), require('@react-icons/all-files/bs/BsBag'), require('@react-icons/all-files/cg/CgShoppingBag'), require('@react-icons/all-files/fa/FaRegHeart'), require('@react-icons/all-files/fa/FaHeart'), require('@react-icons/all-files/fi/FiShoppingBag'), require('@react-icons/all-files/fi/FiShoppingCart'), require('@react-icons/all-files/ai/AiFillStar'), require('@react-icons/all-files/ai/AiOutlineStar'), require('react-share'), require('imagekitio-react'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('@babel/runtime/helpers/toConsumableArray'), require('react-textarea-autosize'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-horizontal-scrolling-menu'), require('@mui/material'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineMail'), require('@react-icons/all-files/fa/FaShippingFast'), require('@react-icons/all-files/ri/RiSecurePaymentLine'), require('@react-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fa/FaStar'), require('@react-icons/all-files/io5/IoLocationSharp'), require('@react-icons/all-files/hi/HiOutlineChevronRight'), require('@react-icons/all-files/hi/HiOutlineChevronLeft'), require('@react-icons/all-files/go/GoGlobe'), require('@react-icons/all-files/vsc/VscGlobe'), require('@react-icons/all-files/hi/HiOutlineTrash'), require('@react-icons/all-files/bi/BiSad'), require('@react-icons/all-files/fi/FiCalendar'), require('react-bootstrap/Dropdown'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('react-phone-input-2'), require('@react-icons/all-files/bs/BsChevronLeft'), require('@react-icons/all-files/bs/BsChevronRight'), require('@react-icons/all-files/ri/RiArrowUpSLine'), require('@react-icons/all-files/ri/RiArrowDownSLine'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), require('react-accessible-accordion'), require('@react-icons/all-files/fi/FiChevronUp'), require('@react-icons/all-files/fi/FiChevronDown'), require('@react-icons/all-files/hi/HiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineMinus'), require('react-router-dom'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('react-input-range'), require('react-intersection-observer'), require('@react-icons/all-files/fa/FaArrowAltCircleRight'), require('@react-icons/all-files/fa/FaArrowAltCircleLeft'), require('@react-icons/all-files/fi/FiFilter'), require('@react-icons/all-files/fi/FiChevronLeft'), require('@react-icons/all-files/fi/FiChevronRight'), require('@react-icons/all-files/hi/HiOutlineArrowRight'), require('@react-icons/all-files/hi/HiOutlineArrowLeft'), require('react-paginate'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/md/MdKeyboardArrowDown'), require('@react-icons/all-files/fa/FaMoneyBillWave'), require('@react-icons/all-files/bi/BiLogOutCircle'), require('@react-icons/all-files/bi/BiChevronDown'), require('@react-icons/all-files/bi/BiUser'), require('@react-icons/all-files/ai/AiOutlineLogin'), require('@react-icons/all-files/ai/AiOutlineUserAdd'), require('@react-icons/all-files/ri/RiSearchLine'), require('@react-icons/all-files/cg/CgMenuLeft'), require('@react-icons/all-files/cg/CgMenuRight'), require('@react-icons/all-files/hi/HiOutlineShoppingBag'), require('@react-icons/all-files/ri/RiHandbagLine'), require('@react-icons/all-files/bi/BiSearch'), require('@react-icons/all-files/fi/FiUser'), require('@react-icons/all-files/ai/AiOutlineHeart'), require('@react-icons/all-files/fi/FiPhone'), require('@react-icons/all-files/hi/HiMenuAlt4'), require('@react-icons/all-files/fi/FiSearch'), require('@react-icons/all-files/bs/BsSearch'), require('@react-icons/all-files/ai/AiFillInstagram'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/go/GoSearch'), require('@react-icons/all-files/ai/AiOutlineInstagram'), require('@react-icons/all-files/bs/BsChevronDown'), require('@react-icons/all-files/bs/BsChevronUp'), require('@react-icons/all-files/ri/RiUserSettingsLine'), require('@react-icons/all-files/io5/IoClose'), require('@react-icons/all-files/hi/HiUserCircle'), require('@react-icons/all-files/md/MdKeyboardArrowUp'), require('@react-icons/all-files/bs/BsInfoCircle'), require('@react-icons/all-files/ai/AiFillPhone'), require('@react-icons/all-files/fa/FaTelegramPlane'), require('@react-icons/all-files/fa/FaPhoneAlt'), require('@react-icons/all-files/fa/FaPhone'), require('@react-icons/all-files/ai/AiOutlinePhone'), require('@react-icons/all-files/go/GoLocation'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('react-select'), require('react-player'), require('react-background-slideshow'), require('@babel/runtime/helpers/extends'), require('react-slideshow-image'), require('@react-icons/all-files/hi/HiOutlineLocationMarker'), require('@react-icons/all-files/fi/FiPhoneCall'), require('@react-icons/all-files/fa/FaRegEye'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('@react-icons/all-files/bs/BsArrowRight'), require('@react-icons/all-files/bs/BsArrowLeft'), require('@react-icons/all-files/bs/BsEye'), require('@react-icons/all-files/bi/BiTimeFive'), require('@react-icons/all-files/io/IoIosArrowUp')) :
3
+ typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'react-query', 'react-image-gallery', '@react-icons/all-files/md/MdAddShoppingCart', '@react-icons/all-files/io5/IoBagHandleOutline', '@react-icons/all-files/bs/BsBag', '@react-icons/all-files/cg/CgShoppingBag', '@react-icons/all-files/fa/FaRegHeart', '@react-icons/all-files/fa/FaHeart', '@react-icons/all-files/fi/FiShoppingBag', '@react-icons/all-files/fi/FiShoppingCart', '@react-icons/all-files/ai/AiFillStar', '@react-icons/all-files/ai/AiOutlineStar', 'react-share', 'imagekitio-react', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', '@babel/runtime/helpers/toConsumableArray', 'react-textarea-autosize', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-horizontal-scrolling-menu', '@mui/material', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineMail', '@react-icons/all-files/fa/FaShippingFast', '@react-icons/all-files/ri/RiSecurePaymentLine', '@react-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fa/FaStar', '@react-icons/all-files/io5/IoLocationSharp', '@react-icons/all-files/hi/HiOutlineChevronRight', '@react-icons/all-files/hi/HiOutlineChevronLeft', '@react-icons/all-files/go/GoGlobe', '@react-icons/all-files/vsc/VscGlobe', '@react-icons/all-files/hi/HiOutlineTrash', '@react-icons/all-files/bi/BiSad', '@react-icons/all-files/fi/FiCalendar', 'react-bootstrap/Dropdown', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', 'react-phone-input-2', '@react-icons/all-files/bs/BsChevronLeft', '@react-icons/all-files/bs/BsChevronRight', '@react-icons/all-files/ri/RiArrowUpSLine', '@react-icons/all-files/ri/RiArrowDownSLine', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', 'react-accessible-accordion', '@react-icons/all-files/fi/FiChevronUp', '@react-icons/all-files/fi/FiChevronDown', '@react-icons/all-files/hi/HiOutlinePlus', '@react-icons/all-files/ai/AiOutlineMinus', 'react-router-dom', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-input-range', 'react-intersection-observer', '@react-icons/all-files/fa/FaArrowAltCircleRight', '@react-icons/all-files/fa/FaArrowAltCircleLeft', '@react-icons/all-files/fi/FiFilter', '@react-icons/all-files/fi/FiChevronLeft', '@react-icons/all-files/fi/FiChevronRight', '@react-icons/all-files/hi/HiOutlineArrowRight', '@react-icons/all-files/hi/HiOutlineArrowLeft', 'react-paginate', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/md/MdKeyboardArrowDown', '@react-icons/all-files/fa/FaMoneyBillWave', '@react-icons/all-files/bi/BiLogOutCircle', '@react-icons/all-files/bi/BiChevronDown', '@react-icons/all-files/bi/BiUser', '@react-icons/all-files/ai/AiOutlineLogin', '@react-icons/all-files/ai/AiOutlineUserAdd', '@react-icons/all-files/ri/RiSearchLine', '@react-icons/all-files/cg/CgMenuLeft', '@react-icons/all-files/cg/CgMenuRight', '@react-icons/all-files/hi/HiOutlineShoppingBag', '@react-icons/all-files/ri/RiHandbagLine', '@react-icons/all-files/bi/BiSearch', '@react-icons/all-files/fi/FiUser', '@react-icons/all-files/ai/AiOutlineHeart', '@react-icons/all-files/fi/FiPhone', '@react-icons/all-files/hi/HiMenuAlt4', '@react-icons/all-files/fi/FiSearch', '@react-icons/all-files/bs/BsSearch', '@react-icons/all-files/ai/AiFillInstagram', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/go/GoSearch', '@react-icons/all-files/ai/AiOutlineInstagram', '@react-icons/all-files/bs/BsChevronDown', '@react-icons/all-files/bs/BsChevronUp', '@react-icons/all-files/ri/RiUserSettingsLine', '@react-icons/all-files/io5/IoClose', '@react-icons/all-files/hi/HiUserCircle', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/fa/FaTelegramPlane', '@react-icons/all-files/fa/FaPhoneAlt', '@react-icons/all-files/fa/FaPhone', '@react-icons/all-files/ai/AiOutlinePhone', '@react-icons/all-files/go/GoLocation', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', 'react-select', 'react-player', 'react-background-slideshow', '@babel/runtime/helpers/extends', 'react-slideshow-image', '@react-icons/all-files/hi/HiOutlineLocationMarker', '@react-icons/all-files/fi/FiPhoneCall', '@react-icons/all-files/fa/FaRegEye', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', '@react-icons/all-files/bs/BsArrowRight', '@react-icons/all-files/bs/BsArrowLeft', '@react-icons/all-files/bs/BsEye', '@react-icons/all-files/bi/BiTimeFive', '@react-icons/all-files/io/IoIosArrowUp'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, null, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar, global.AiOutlineStar, global.reactShare, global.imagekitioReact, global.ReactStars, global.FiLayers, global._toConsumableArray, global.TextareaAutosize, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.material, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.HiOutlineTrash, global.BiSad, global.FiCalendar, global.Dropdown, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.BsChevronLeft, global.BsChevronRight, null, null, global.IoIosArrowRoundForward, global.IoIosArrowRoundBack, global.reactAccessibleAccordion, global.FiChevronUp, global.FiChevronDown, global.HiOutlinePlus, global.AiOutlineMinus, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.InputRange, global.reactIntersectionObserver, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.FiFilter, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.BiGlobe, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiFillInstagram, global.FaWhatsapp, global.GoSearch, global.AiOutlineInstagram, global.BsChevronDown, null, global.RiUserSettingsLine, global.IoClose, global.HiUserCircle, global.MdKeyboardArrowUp, global.BsInfoCircle, global.AiFillPhone, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.AiOutlinePhone, global.GoLocation, global.RiRoadMapLine, global.HiOutlineClock, global.Select$4, global.ReactPlayer, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.FaRegEye, global.FiMinus, global.FiPlus, global.BsArrowRight, global.BsArrowLeft, global.BsEye, global.BiTimeFive, global.IoIosArrowUp));
5
+ })(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, reactQuery, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart, FiShoppingBag, FiShoppingCart, AiFillStar, AiOutlineStar, reactShare, imagekitioReact, ReactStars, FiLayers, _toConsumableArray, TextareaAutosize, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, material, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, HiOutlineTrash, BiSad, FiCalendar, Dropdown, HiUser, GrMail, FiCheckCircle, BiPhone, PhoneInput, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, IoIosArrowRoundForward, IoIosArrowRoundBack, reactAccessibleAccordion, FiChevronUp, FiChevronDown, HiOutlinePlus, AiOutlineMinus, reactRouterDom, IoBagCheckOutline, IoBagRemoveOutline, InputRange, reactIntersectionObserver, FaArrowAltCircleRight, FaArrowAltCircleLeft, FiFilter, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, BiGlobe, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiFillInstagram, FaWhatsapp, GoSearch, AiOutlineInstagram, BsChevronDown, BsChevronUp, RiUserSettingsLine, IoClose, HiUserCircle, MdKeyboardArrowUp, BsInfoCircle, AiFillPhone, FaTelegramPlane, FaPhoneAlt, FaPhone, AiOutlinePhone, GoLocation, RiRoadMapLine, HiOutlineClock, Select$4, ReactPlayer, BackgroundSlideshow, _extends, reactSlideshowImage, HiOutlineLocationMarker, FiPhoneCall, FaRegEye, FiMinus, FiPlus, BsArrowRight, BsArrowLeft, BsEye, BiTimeFive, IoIosArrowUp) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -1331,10 +1331,26 @@
1331
1331
  var sectionproperties = props.actions.sectionproperties;
1332
1332
  var authdetailsContext = props.actions.authdetailsContext;
1333
1333
  var variantindexcompleted = props.actions.variantindexcompleted;
1334
- props.actions.ikimagecredcontext;
1335
1334
  var getprice_discountpriceprops = props.actions.getprice_discountpriceprops;
1336
1335
  var quantityconditionfoundobjprops = props.actions.quantityconditionfoundobjprops;
1337
- return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
1336
+ var productinfo_cssstyles = {
1337
+ profitcontainer: glamor.css({
1338
+ width: sectionproperties.profitcontainerwidth + '%',
1339
+ height: sectionproperties.profitcontainerheight + 'px',
1340
+ background: sectionproperties.profitcontainerbgcolor,
1341
+ border: sectionproperties.profitcontainerborderwidth + 'px solid' + sectionproperties.profitcontainerbordercolor,
1342
+ borderRadius: sectionproperties.profitcontainerborderradius + 'px',
1343
+ color: sectionproperties.profitcontainercolor,
1344
+ '@media (max-width: 800px)': {
1345
+ width: '90%'
1346
+ }
1347
+ })
1348
+ };
1349
+ return /*#__PURE__*/React__default["default"].createElement("div", {
1350
+ "class": "col-lg-12 p-0"
1351
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
1352
+ "class": "row m-0 w-100"
1353
+ }, sectionproperties.showDefaultPricingSection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
1338
1354
  "class": "col-lg-12 p-0 mb-3 d-flex justift-content-start",
1339
1355
  style: {
1340
1356
  background: sectionproperties.reservation_bgcolor,
@@ -1411,7 +1427,22 @@
1411
1427
  fontSize: '13px',
1412
1428
  lineHeight: '25px'
1413
1429
  }
1414
- }, '-' + parseFloat(Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0).toFixed(0) + '%'))))));
1430
+ }, '-' + parseFloat(Math.round(10.0 * ((parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted)) - parseFloat(getprice_discountpriceprops('defaultsaleprice', 0, variantindexcompleted))) / parseFloat(getprice_discountpriceprops('defaultprice', 0, variantindexcompleted))) * 100) / 10.0).toFixed(0) + '%'))))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
1431
+ "class": "col-lg-12 p-0 mb-2"
1432
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
1433
+ "class": productinfo_cssstyles.profitcontainer + ' allcentered '
1434
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
1435
+ "class": ' m-0 p-0 d-flex align-items-center justify-content-center '
1436
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
1437
+ style: {
1438
+ fontWeight: sectionproperties.profitcontainerfontweight
1439
+ }
1440
+ }, langdetect == 'en' ? sectionproperties.profitcontainercontenten : sectionproperties.profitcontainercontentar, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
1441
+ "class": "mx-1",
1442
+ style: {
1443
+ fontWeight: sectionproperties.profitcontainersecondaryfontweight
1444
+ }
1445
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(Math.round(parseInt(fetchProductInfoQueryContext.data.data.productinfo.hassale == 0 ? parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)).toFixed(2) : parseFloat(getprice_discountpriceprops('defaultsaleprice', 1, variantindexcompleted)).toFixed(2)) * (fetchProductInfoQueryContext.data.data.productinfo.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))));
1415
1446
  };
1416
1447
 
1417
1448
  function ownKeys$28(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -12517,6 +12548,7 @@
12517
12548
  cardobj.quantavailtype = arrayItem.productinfo.quantavailtype;
12518
12549
  cardobj.isproducttobesold = arrayItem.productinfo.isproducttobesold;
12519
12550
  cardobj.measurmentunit = arrayItem.productinfo.measurmentunit;
12551
+ cardobj.prodaffpercentprofit = arrayItem.productinfo.prodaffpercentprofit;
12520
12552
  if (langdetect == 'en') {
12521
12553
  cardobj.currencyname = fetchAuthorizationQueryContext === null || fetchAuthorizationQueryContext === void 0 ? void 0 : fetchAuthorizationQueryContext.data.data.currencyname_en;
12522
12554
  } else {
@@ -43282,7 +43314,18 @@
43282
43314
  })), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
43283
43315
  "class": "col-lg-12 p-0"
43284
43316
  }, /*#__PURE__*/React__default["default"].createElement("button", {
43285
- "class": "".concat(section_styles.btn)
43317
+ "class": "".concat(section_styles.btn),
43318
+ onClick: function onClick() {
43319
+ if (sectionproperties.btntype == 'WhatsApp') {
43320
+ var _authdetailsContext$i;
43321
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber) != null) {
43322
+ var _authdetailsContext$i2;
43323
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber), '_blank');
43324
+ }
43325
+ } else {
43326
+ window.open(sectionproperties.btnlink, '_blank');
43327
+ }
43328
+ }
43286
43329
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
43287
43330
  "class": "col-lg-12 p-0 d-flex justify-content-sm-center mb-sm-4 align-items-center",
43288
43331
  style: {
@@ -43292,10 +43335,10 @@
43292
43335
  }, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
43293
43336
  "class": "".concat(section_styles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
43294
43337
  onClick: function onClick() {
43295
- var _authdetailsContext$i;
43296
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.facebooklink) != null) {
43297
- var _authdetailsContext$i2;
43298
- window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.facebooklink, '_blank');
43338
+ var _authdetailsContext$i3;
43339
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
43340
+ var _authdetailsContext$i4;
43341
+ window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.facebooklink, '_blank');
43299
43342
  }
43300
43343
  }
43301
43344
  }, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
@@ -43303,10 +43346,10 @@
43303
43346
  })), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
43304
43347
  "class": "".concat(section_styles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
43305
43348
  onClick: function onClick() {
43306
- var _authdetailsContext$i3;
43307
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instagramlink) != null) {
43308
- var _authdetailsContext$i4;
43309
- window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instagramlink, '_blank');
43349
+ var _authdetailsContext$i5;
43350
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
43351
+ var _authdetailsContext$i6;
43352
+ window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instagramlink, '_blank');
43310
43353
  }
43311
43354
  }
43312
43355
  }, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
@@ -43314,10 +43357,10 @@
43314
43357
  })), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
43315
43358
  "class": "".concat(section_styles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-3 mr-3 ',
43316
43359
  onClick: function onClick() {
43317
- var _authdetailsContext$i5;
43318
- if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.whatsappnumber) != null) {
43319
- var _authdetailsContext$i6;
43320
- window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.whatsappnumber), '_blank');
43360
+ var _authdetailsContext$i7;
43361
+ if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.whatsappnumber) != null) {
43362
+ var _authdetailsContext$i8;
43363
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.whatsappnumber), '_blank');
43321
43364
  }
43322
43365
  }
43323
43366
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
@@ -48134,6 +48177,21 @@
48134
48177
  transition: '.3s',
48135
48178
  color: sectionproperties.remove_quantitybtn_textcoloronhover
48136
48179
  }
48180
+ }),
48181
+ outstockbadge: glamor.css({
48182
+ width: sectionproperties.outstock_width + 'px',
48183
+ height: sectionproperties.outstock_height + 'px',
48184
+ background: sectionproperties.outstock_bg,
48185
+ color: sectionproperties.outstock_color,
48186
+ fontSize: sectionproperties.outstock_fontSize + 'px',
48187
+ borderRadius: sectionproperties.outstock_borderradius + 'px',
48188
+ position: 'absolute',
48189
+ zIndex: 2,
48190
+ top: 0,
48191
+ bottom: 0,
48192
+ left: 0,
48193
+ right: 0,
48194
+ margin: 'auto'
48137
48195
  })
48138
48196
  };
48139
48197
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -48188,7 +48246,9 @@
48188
48246
  borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
48189
48247
  borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
48190
48248
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
48191
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px'
48249
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
48250
+ opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1
48251
+
48192
48252
  // border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
48193
48253
  },
48194
48254
 
@@ -48220,7 +48280,11 @@
48220
48280
  fontSize: sectionproperties.pillfontSize + 'px',
48221
48281
  direction: 'ltr'
48222
48282
  }
48223
- }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')))), /*#__PURE__*/React__default["default"].createElement("div", {
48283
+ }, '-' + Math.round(10.0 * ((parseInt(item.defaultprice) - parseInt(item.defaultsaleprice)) / parseInt(item.defaultprice)) * 100) / 10.0 + '%')), item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
48284
+ "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
48285
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
48286
+ "class": "m-0 p-0"
48287
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar)))), /*#__PURE__*/React__default["default"].createElement("div", {
48224
48288
  "class": "col-lg-12 p-0"
48225
48289
  }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
48226
48290
  "class": "row m-0 w-100 align-items-center justify-content-center text-center mb-2"
@@ -48267,7 +48331,9 @@
48267
48331
  }))), sectionproperties.cartBtnShow == 'Show' && showquantity == false && /*#__PURE__*/React__default["default"].createElement("button", {
48268
48332
  "class": "".concat(card_cssstyles.cart_btn) + ' ml-2 mr-2 ml-sm-1 mr-sm-1 w-md-130px w-sm-100px font-sm-12 ',
48269
48333
  onClick: function onClick() {
48270
- if (sectionproperties.quantitybtn_show == 'Show') {
48334
+ if (item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0) {
48335
+ NotificationManager.warning('', langdetect == 'en' ? 'Sold Out' : 'نفذت الكمية');
48336
+ } else if (sectionproperties.quantitybtn_show == 'Show') {
48271
48337
  setshowquantity(true);
48272
48338
  } else {
48273
48339
  setShowProductInfoModalContext(true);
@@ -57520,7 +57586,10 @@
57520
57586
  borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
57521
57587
  borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
57522
57588
  transition: '.3s',
57523
- opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1
57589
+ opacity: item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 ? 0.4 : 1,
57590
+ '@media (max-width: 800px)': {
57591
+ height: sectionproperties.height_responsive != null ? sectionproperties.height_responsive + 'px' : sectionproperties.image_height + 'px'
57592
+ }
57524
57593
  }),
57525
57594
  productNameStyles: glamor.css({
57526
57595
  color: sectionproperties.prodNameColor,
@@ -57590,6 +57659,17 @@
57590
57659
  left: 0,
57591
57660
  right: 0,
57592
57661
  margin: 'auto'
57662
+ }),
57663
+ profitcontainer: glamor.css({
57664
+ width: sectionproperties.profitcontainerwidth + '%',
57665
+ height: sectionproperties.profitcontainerheight + 'px',
57666
+ background: sectionproperties.profitcontainerbgcolor,
57667
+ border: sectionproperties.profitcontainerborderwidth + 'px solid' + sectionproperties.profitcontainerbordercolor,
57668
+ borderRadius: sectionproperties.profitcontainerborderradius + 'px',
57669
+ color: sectionproperties.profitcontainercolor,
57670
+ '@media (max-width: 800px)': {
57671
+ width: '100%'
57672
+ }
57593
57673
  })
57594
57674
  };
57595
57675
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -57702,7 +57782,7 @@
57702
57782
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
57703
57783
  }
57704
57784
  },
57705
- "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center d-md-none ',
57785
+ "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-flex align-items-center justify-content-center ',
57706
57786
  style: {
57707
57787
  zIndex: 1,
57708
57788
  marginBottom: sectionproperties.image_mb + 'px'
@@ -57717,31 +57797,6 @@
57717
57797
  height: sectionproperties.imageInnerWidth_Height + '%',
57718
57798
  objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
57719
57799
  }
57720
- })), /*#__PURE__*/React__default["default"].createElement("div", {
57721
- onClick: function onClick() {
57722
- if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'Product Information') {
57723
- setShowProductInfoModalContext(true);
57724
- setProductIdProdutInfoModalContext(item.productid);
57725
- } else {
57726
- cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
57727
- }
57728
- },
57729
- "class": "".concat(card_cssstyles.productcardimagecont) + ' w-100 p-0 d-none d-md-flex align-items-center justify-content-center ',
57730
- style: {
57731
- zIndex: 1,
57732
- marginBottom: sectionproperties.image_mb + 'px',
57733
- height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive
57734
- }
57735
- }, item.image != '' && /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
57736
- urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
57737
- publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
57738
- path: '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + item.image,
57739
- loading: "lazy",
57740
- style: {
57741
- width: sectionproperties.imageInnerWidth_Height + '%',
57742
- height: sectionproperties.imageInnerWidth_Height + '%',
57743
- objectFit: sectionproperties.bgcovercontain == 'Cover' ? 'cover' : 'contain'
57744
- }
57745
57800
  })), item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0 && /*#__PURE__*/React__default["default"].createElement("div", {
57746
57801
  "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
57747
57802
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -57754,7 +57809,10 @@
57754
57809
  onClick: function onClick() {
57755
57810
  cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
57756
57811
  },
57757
- "class": "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 text-center m-0 '
57812
+ "class": "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 m-0 ',
57813
+ style: {
57814
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
57815
+ }
57758
57816
  }, item.name)), /*#__PURE__*/React__default["default"].createElement("div", {
57759
57817
  style: {
57760
57818
  flexDirection: 'column'
@@ -57763,16 +57821,46 @@
57763
57821
  }, /*#__PURE__*/React__default["default"].createElement("div", {
57764
57822
  "class": "row m-0 w-100 "
57765
57823
  }, /*#__PURE__*/React__default["default"].createElement("div", {
57766
- "class": "d-flex flex-row col-lg-12 m-0 p-0 align-items-center justify-content-center mb-1 "
57824
+ "class": "d-flex flex-row col-lg-12 m-0 p-0 align-items-center mb-1 ",
57825
+ style: {
57826
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
57827
+ }
57767
57828
  }, /*#__PURE__*/React__default["default"].createElement("div", {
57768
- "class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center justify-content-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center justify-content-center p-0 mb-0 '
57829
+ "class": props.sectiontypeprops2 == 'vertical' ? ' d-flex align-items-center p-0 mb-0 flex-sm-column ' : ' d-flex align-items-center p-0 mb-0 ',
57830
+ style: {
57831
+ textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right'
57832
+ }
57769
57833
  }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
57770
57834
  "class": "".concat(card_cssstyles.productPricestyles) + ' m-0 '
57771
- }, langdetect == 'en' ? 'EGP' : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
57772
- "class": " d-flex align-items-center justify-content-center p-0 mb-0"
57835
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, ' ', langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
57836
+ "class": " d-flex align-items-center p-0 mb-0"
57773
57837
  }, /*#__PURE__*/React__default["default"].createElement("p", {
57774
57838
  "class": "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 mr-2 ml-2 '
57775
- }, langdetect == 'en' ? 'EGP' : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : 'ج.م'))))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
57839
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.showprofitcontainer == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
57840
+ "class": "col-lg-12 p-0",
57841
+ style: {
57842
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
57843
+ }
57844
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
57845
+ "class": card_cssstyles.profitcontainer + ' d-flex align-items-center flex-sm-column px-2',
57846
+ style: {
57847
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
57848
+ }
57849
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
57850
+ "class": ' m-0 p-0 d-flex align-items-center ',
57851
+ style: {
57852
+ justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
57853
+ }
57854
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
57855
+ style: {
57856
+ fontWeight: sectionproperties.profitcontainerfontweight
57857
+ }
57858
+ }, langdetect == 'en' ? sectionproperties.profitcontainercontenten : sectionproperties.profitcontainercontentar, ":", ' '), /*#__PURE__*/React__default["default"].createElement("span", {
57859
+ "class": "mx-1",
57860
+ style: {
57861
+ fontWeight: sectionproperties.profitcontainersecondaryfontweight
57862
+ }
57863
+ }, langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.hassale == 1 ? item.defaultsaleprice : item.defaultprice) * (item.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname))))), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
57776
57864
  "class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
57777
57865
  onClick: function onClick() {
57778
57866
  if (item.productquantity < 1 && sectionproperties.showoutofstock == 'Show' && item.quantavailtype == 'limit' && item.hasvariants == 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.289",
3
+ "version": "0.0.291",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {