tabexseriescomponents 0.2.1452 → 0.2.1453

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
@@ -98316,6 +98316,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
98316
98316
  _useState6 = _slicedToArray__default["default"](_useState5, 2),
98317
98317
  secondimage = _useState6[0],
98318
98318
  setsecondimage = _useState6[1];
98319
+ var authdetailsContext = props.actions.authdetailsContext;
98319
98320
  React.useEffect(function () {
98320
98321
  var secpropobj = {};
98321
98322
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -98353,6 +98354,11 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
98353
98354
  }
98354
98355
  }
98355
98356
  }, [props.cardinfoitemprops]);
98357
+ var plainString = function plainString(html) {
98358
+ var divContainer = document.createElement('div');
98359
+ divContainer.innerHTML = html;
98360
+ return divContainer.textContent || divContainer.innerText || '';
98361
+ };
98356
98362
  var card_cssstyles = {
98357
98363
  colorvariantcontainer: glamor.css({
98358
98364
  width: sectionproperties.variantcontainer_minwidth + 'vh',
@@ -98528,7 +98534,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
98528
98534
  transition = true;
98529
98535
  }
98530
98536
  return /*#__PURE__*/React__default["default"].createElement("div", {
98531
- "class": "w-100 cursor-pointer",
98537
+ "class": authdetailsContext.instinfo.instid == '6aa2d0eec47d8' ? 'w-100 cursor-pointer h-100' : 'w-100 cursor-pointer',
98532
98538
  style: {
98533
98539
  position: 'relative'
98534
98540
  }
@@ -98649,7 +98655,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
98649
98655
  fontSize: sectionproperties.pillfontSize + 'px',
98650
98656
  direction: 'ltr'
98651
98657
  }
98652
- }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
98658
+ }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && authdetailsContext.instinfo.instid != '6aa2d0eec47d8' && /*#__PURE__*/React__default["default"].createElement("button", {
98653
98659
  "class": sectionproperties.transition == 'Bottom' ? "".concat(card_cssstyles.cart_btn_bottom) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_bottom ' : sectionproperties.transition == 'Center' ? "".concat(card_cssstyles.cart_btn_center) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_center ' : "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
98654
98660
  onClick: function onClick(e) {
98655
98661
  if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
@@ -98667,7 +98673,61 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
98667
98673
  "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
98668
98674
  }, /*#__PURE__*/React__default["default"].createElement("p", {
98669
98675
  "class": "m-0 p-0"
98670
- }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", {
98676
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar)), authdetailsContext.instinfo.instid == '6aa2d0eec47d8' && /*#__PURE__*/React__default["default"].createElement("div", {
98677
+ "class": 'row m-0 w-100 text-center mt-2 pt-4 pb-3 px-2',
98678
+ style: {
98679
+ background: 'rgba(226, 200, 227,0.7)',
98680
+ position: 'absolute',
98681
+ bottom: 0
98682
+ }
98683
+ }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
98684
+ "class": "col-lg-12 p-0",
98685
+ style: {
98686
+ minHeight: sectionproperties.wordbreak == '1' ? 'auto' : '6vh'
98687
+ }
98688
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
98689
+ onClick: function onClick() {
98690
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
98691
+ },
98692
+ "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ' : sectionproperties.wordbreak == '2' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak2 text-center ' : "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak3 text-center ',
98693
+ style: {
98694
+ // height: sectionproperties.wordbreak == '2' ? '6vh' : 'auto',
98695
+ }
98696
+ }, item.name)), /*#__PURE__*/React__default["default"].createElement("p", {
98697
+ "class": ' col-lg-12 wordbreak wordbreak2 p-0 mt-1 ',
98698
+ style: {
98699
+ textAlign: 'center',
98700
+ color: '#000',
98701
+ fontSize: '13px',
98702
+ fontWeight: 400
98703
+ }
98704
+ }, plainString(item.description)), /*#__PURE__*/React__default["default"].createElement("div", {
98705
+ "class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column",
98706
+ style: {
98707
+ marginTop: sectionproperties.productpricemarginTop + 'px'
98708
+ }
98709
+ }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
98710
+ "class": props.fontFamilyprops == 'ASUL' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 ASUL ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 '
98711
+ }, 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("p", {
98712
+ "class": props.fontFamilyprops == 'ASUL' ? "".concat(card_cssstyles.productSalePricestyles) + ' ASUL linethrough m-0 p-0 mr-2 ml-2 font-md-15 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 p-0 mr-2 ml-2 font-md-15 '
98713
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && authdetailsContext.instinfo.instid == '6aa2d0eec47d8' && /*#__PURE__*/React__default["default"].createElement("button", {
98714
+ "class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex justify-content-center align-items-center cart_btn mt-3 ',
98715
+ onClick: function onClick(e) {
98716
+ if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
98717
+ addtocartfunc();
98718
+ } else {
98719
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
98720
+ }
98721
+ // e.stopPropagation();
98722
+ // setShowProductInfoModalContext(true);
98723
+ // setProductIdProdutInfoModalContext(item.productid);
98724
+ },
98725
+ style: {
98726
+ position: 'relative'
98727
+ }
98728
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
98729
+ "class": props.fontFamilyprops == 'ASUL' ? 'ASUL' : ''
98730
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))), authdetailsContext.instinfo.instid != '6aa2d0eec47d8' && /*#__PURE__*/React__default["default"].createElement("div", {
98671
98731
  "class": sectionproperties.paddingLeft == 0 ? 'row m-0 w-100 text-center mt-2 px-2' : 'row m-0 w-100 text-center mt-2'
98672
98732
  }, /*#__PURE__*/React__default["default"].createElement("div", {
98673
98733
  "class": "col-12 p-0 d-flex flex-row align-items-center justify-content-center",
package/dist/index.esm.js CHANGED
@@ -98265,6 +98265,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
98265
98265
  _useState6 = _slicedToArray(_useState5, 2),
98266
98266
  secondimage = _useState6[0],
98267
98267
  setsecondimage = _useState6[1];
98268
+ var authdetailsContext = props.actions.authdetailsContext;
98268
98269
  useEffect(function () {
98269
98270
  var secpropobj = {};
98270
98271
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -98302,6 +98303,11 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
98302
98303
  }
98303
98304
  }
98304
98305
  }, [props.cardinfoitemprops]);
98306
+ var plainString = function plainString(html) {
98307
+ var divContainer = document.createElement('div');
98308
+ divContainer.innerHTML = html;
98309
+ return divContainer.textContent || divContainer.innerText || '';
98310
+ };
98305
98311
  var card_cssstyles = {
98306
98312
  colorvariantcontainer: css({
98307
98313
  width: sectionproperties.variantcontainer_minwidth + 'vh',
@@ -98477,7 +98483,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
98477
98483
  transition = true;
98478
98484
  }
98479
98485
  return /*#__PURE__*/React.createElement("div", {
98480
- "class": "w-100 cursor-pointer",
98486
+ "class": authdetailsContext.instinfo.instid == '6aa2d0eec47d8' ? 'w-100 cursor-pointer h-100' : 'w-100 cursor-pointer',
98481
98487
  style: {
98482
98488
  position: 'relative'
98483
98489
  }
@@ -98598,7 +98604,7 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
98598
98604
  fontSize: sectionproperties.pillfontSize + 'px',
98599
98605
  direction: 'ltr'
98600
98606
  }
98601
- }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React.createElement("button", {
98607
+ }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && authdetailsContext.instinfo.instid != '6aa2d0eec47d8' && /*#__PURE__*/React.createElement("button", {
98602
98608
  "class": sectionproperties.transition == 'Bottom' ? "".concat(card_cssstyles.cart_btn_bottom) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_bottom ' : sectionproperties.transition == 'Center' ? "".concat(card_cssstyles.cart_btn_center) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_center ' : "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
98603
98609
  onClick: function onClick(e) {
98604
98610
  if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
@@ -98616,7 +98622,61 @@ var Productcard_with_variants = function Productcard_with_variants(props) {
98616
98622
  "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
98617
98623
  }, /*#__PURE__*/React.createElement("p", {
98618
98624
  "class": "m-0 p-0"
98619
- }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React.createElement("div", {
98625
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar)), authdetailsContext.instinfo.instid == '6aa2d0eec47d8' && /*#__PURE__*/React.createElement("div", {
98626
+ "class": 'row m-0 w-100 text-center mt-2 pt-4 pb-3 px-2',
98627
+ style: {
98628
+ background: 'rgba(226, 200, 227,0.7)',
98629
+ position: 'absolute',
98630
+ bottom: 0
98631
+ }
98632
+ }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React.createElement("div", {
98633
+ "class": "col-lg-12 p-0",
98634
+ style: {
98635
+ minHeight: sectionproperties.wordbreak == '1' ? 'auto' : '6vh'
98636
+ }
98637
+ }, /*#__PURE__*/React.createElement("p", {
98638
+ onClick: function onClick() {
98639
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
98640
+ },
98641
+ "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ' : sectionproperties.wordbreak == '2' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak2 text-center ' : "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak3 text-center ',
98642
+ style: {
98643
+ // height: sectionproperties.wordbreak == '2' ? '6vh' : 'auto',
98644
+ }
98645
+ }, item.name)), /*#__PURE__*/React.createElement("p", {
98646
+ "class": ' col-lg-12 wordbreak wordbreak2 p-0 mt-1 ',
98647
+ style: {
98648
+ textAlign: 'center',
98649
+ color: '#000',
98650
+ fontSize: '13px',
98651
+ fontWeight: 400
98652
+ }
98653
+ }, plainString(item.description)), /*#__PURE__*/React.createElement("div", {
98654
+ "class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column",
98655
+ style: {
98656
+ marginTop: sectionproperties.productpricemarginTop + 'px'
98657
+ }
98658
+ }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React.createElement("p", {
98659
+ "class": props.fontFamilyprops == 'ASUL' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 ASUL ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 '
98660
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.hassale == 1 ? item.defaultsaleprice : item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname), sectionproperties.prodsalePriceshow == 'Show' && item.hassale == 1 && /*#__PURE__*/React.createElement("p", {
98661
+ "class": props.fontFamilyprops == 'ASUL' ? "".concat(card_cssstyles.productSalePricestyles) + ' ASUL linethrough m-0 p-0 mr-2 ml-2 font-md-15 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 p-0 mr-2 ml-2 font-md-15 '
98662
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && authdetailsContext.instinfo.instid == '6aa2d0eec47d8' && /*#__PURE__*/React.createElement("button", {
98663
+ "class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex justify-content-center align-items-center cart_btn mt-3 ',
98664
+ onClick: function onClick(e) {
98665
+ if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
98666
+ addtocartfunc();
98667
+ } else {
98668
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
98669
+ }
98670
+ // e.stopPropagation();
98671
+ // setShowProductInfoModalContext(true);
98672
+ // setProductIdProdutInfoModalContext(item.productid);
98673
+ },
98674
+ style: {
98675
+ position: 'relative'
98676
+ }
98677
+ }, /*#__PURE__*/React.createElement("span", {
98678
+ "class": props.fontFamilyprops == 'ASUL' ? 'ASUL' : ''
98679
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))), authdetailsContext.instinfo.instid != '6aa2d0eec47d8' && /*#__PURE__*/React.createElement("div", {
98620
98680
  "class": sectionproperties.paddingLeft == 0 ? 'row m-0 w-100 text-center mt-2 px-2' : 'row m-0 w-100 text-center mt-2'
98621
98681
  }, /*#__PURE__*/React.createElement("div", {
98622
98682
  "class": "col-12 p-0 d-flex flex-row align-items-center justify-content-center",
package/dist/index.umd.js CHANGED
@@ -98117,6 +98117,7 @@
98117
98117
  _useState6 = _slicedToArray__default["default"](_useState5, 2),
98118
98118
  secondimage = _useState6[0],
98119
98119
  setsecondimage = _useState6[1];
98120
+ var authdetailsContext = props.actions.authdetailsContext;
98120
98121
  React.useEffect(function () {
98121
98122
  var secpropobj = {};
98122
98123
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -98154,6 +98155,11 @@
98154
98155
  }
98155
98156
  }
98156
98157
  }, [props.cardinfoitemprops]);
98158
+ var plainString = function plainString(html) {
98159
+ var divContainer = document.createElement('div');
98160
+ divContainer.innerHTML = html;
98161
+ return divContainer.textContent || divContainer.innerText || '';
98162
+ };
98157
98163
  var card_cssstyles = {
98158
98164
  colorvariantcontainer: glamor.css({
98159
98165
  width: sectionproperties.variantcontainer_minwidth + 'vh',
@@ -98329,7 +98335,7 @@
98329
98335
  transition = true;
98330
98336
  }
98331
98337
  return /*#__PURE__*/React__default["default"].createElement("div", {
98332
- "class": "w-100 cursor-pointer",
98338
+ "class": authdetailsContext.instinfo.instid == '6aa2d0eec47d8' ? 'w-100 cursor-pointer h-100' : 'w-100 cursor-pointer',
98333
98339
  style: {
98334
98340
  position: 'relative'
98335
98341
  }
@@ -98450,7 +98456,7 @@
98450
98456
  fontSize: sectionproperties.pillfontSize + 'px',
98451
98457
  direction: 'ltr'
98452
98458
  }
98453
- }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("button", {
98459
+ }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && authdetailsContext.instinfo.instid != '6aa2d0eec47d8' && /*#__PURE__*/React__default["default"].createElement("button", {
98454
98460
  "class": sectionproperties.transition == 'Bottom' ? "".concat(card_cssstyles.cart_btn_bottom) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_bottom ' : sectionproperties.transition == 'Center' ? "".concat(card_cssstyles.cart_btn_center) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn_center ' : "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex d-md-none d-sm-none justify-content-center align-items-center cart_btn ',
98455
98461
  onClick: function onClick(e) {
98456
98462
  if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
@@ -98468,7 +98474,61 @@
98468
98474
  "class": "".concat(card_cssstyles.outstockbadge) + ' allcentered '
98469
98475
  }, /*#__PURE__*/React__default["default"].createElement("p", {
98470
98476
  "class": "m-0 p-0"
98471
- }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", {
98477
+ }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar)), authdetailsContext.instinfo.instid == '6aa2d0eec47d8' && /*#__PURE__*/React__default["default"].createElement("div", {
98478
+ "class": 'row m-0 w-100 text-center mt-2 pt-4 pb-3 px-2',
98479
+ style: {
98480
+ background: 'rgba(226, 200, 227,0.7)',
98481
+ position: 'absolute',
98482
+ bottom: 0
98483
+ }
98484
+ }, sectionproperties.prodNameShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
98485
+ "class": "col-lg-12 p-0",
98486
+ style: {
98487
+ minHeight: sectionproperties.wordbreak == '1' ? 'auto' : '6vh'
98488
+ }
98489
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
98490
+ onClick: function onClick() {
98491
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
98492
+ },
98493
+ "class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak1 text-center ' : sectionproperties.wordbreak == '2' ? "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak2 text-center ' : "".concat(card_cssstyles.productNameStyles) + ' p-0 m-0 wordbreak wordbreak3 text-center ',
98494
+ style: {
98495
+ // height: sectionproperties.wordbreak == '2' ? '6vh' : 'auto',
98496
+ }
98497
+ }, item.name)), /*#__PURE__*/React__default["default"].createElement("p", {
98498
+ "class": ' col-lg-12 wordbreak wordbreak2 p-0 mt-1 ',
98499
+ style: {
98500
+ textAlign: 'center',
98501
+ color: '#000',
98502
+ fontSize: '13px',
98503
+ fontWeight: 400
98504
+ }
98505
+ }, plainString(item.description)), /*#__PURE__*/React__default["default"].createElement("div", {
98506
+ "class": "col-lg-12 d-flex align-items-center justify-content-center p-0 flex-md-column",
98507
+ style: {
98508
+ marginTop: sectionproperties.productpricemarginTop + 'px'
98509
+ }
98510
+ }, sectionproperties.prodPriceShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
98511
+ "class": props.fontFamilyprops == 'ASUL' ? "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 ASUL ' : "".concat(card_cssstyles.productPricestyles) + ' m-0 p-0 font-md-15 '
98512
+ }, 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("p", {
98513
+ "class": props.fontFamilyprops == 'ASUL' ? "".concat(card_cssstyles.productSalePricestyles) + ' ASUL linethrough m-0 p-0 mr-2 ml-2 font-md-15 ' : "".concat(card_cssstyles.productSalePricestyles) + ' linethrough m-0 p-0 mr-2 ml-2 font-md-15 '
98514
+ }, langdetect == 'en' ? item.currencyname : '', " ", item.defaultprice, " ", langdetect == 'en' ? '' : item.currencyname)), sectionproperties.cartBtnShow == 'Show' && authdetailsContext.instinfo.instid == '6aa2d0eec47d8' && /*#__PURE__*/React__default["default"].createElement("button", {
98515
+ "class": "".concat(card_cssstyles.cart_btn) + ' cursor-pointer d-flex justify-content-center align-items-center cart_btn mt-3 ',
98516
+ onClick: function onClick(e) {
98517
+ if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
98518
+ addtocartfunc();
98519
+ } else {
98520
+ cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid, item.skiplayeronclick);
98521
+ }
98522
+ // e.stopPropagation();
98523
+ // setShowProductInfoModalContext(true);
98524
+ // setProductIdProdutInfoModalContext(item.productid);
98525
+ },
98526
+ style: {
98527
+ position: 'relative'
98528
+ }
98529
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
98530
+ "class": props.fontFamilyprops == 'ASUL' ? 'ASUL' : ''
98531
+ }, langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic)))), authdetailsContext.instinfo.instid != '6aa2d0eec47d8' && /*#__PURE__*/React__default["default"].createElement("div", {
98472
98532
  "class": sectionproperties.paddingLeft == 0 ? 'row m-0 w-100 text-center mt-2 px-2' : 'row m-0 w-100 text-center mt-2'
98473
98533
  }, /*#__PURE__*/React__default["default"].createElement("div", {
98474
98534
  "class": "col-12 p-0 d-flex flex-row align-items-center justify-content-center",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.1452",
3
+ "version": "0.2.1453",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",