tabexseriescomponents 0.0.302 → 0.0.303

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
@@ -12635,6 +12635,10 @@ var CardsSection = function CardsSection(props) {
12635
12635
  // fetchProductsQuery.fetchNextPage();
12636
12636
  // }
12637
12637
  // }, [inView]);
12638
+ var _useState13 = React.useState(12),
12639
+ _useState14 = _slicedToArray__default["default"](_useState13, 2),
12640
+ perpageItems = _useState14[0],
12641
+ setperpageItems = _useState14[1];
12638
12642
  React.useEffect(function () {
12639
12643
  var productfilerobjtemp = ProductFilterObjContext;
12640
12644
  if (props.filterparamsprops != undefined) {
@@ -12808,11 +12812,15 @@ var CardsSection = function CardsSection(props) {
12808
12812
  React.useEffect(function () {
12809
12813
  if (fetchingtype == 'products') {
12810
12814
  if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
12811
- var _fetchProductsQuery$d4, _fetchProductsQuery$d5, _fetchProductsQuery$d6;
12815
+ var _fetchProductsQuery$d4, _fetchProductsQuery$d5, _fetchProductsQuery$d6, _fetchProductsQuery$d7, _fetchProductsQuery$d8, _fetchProductsQuery$d9, _fetchProductsQuery$d10, _fetchProductsQuery$d11, _fetchProductsQuery$d12, _fetchProductsQuery$d13;
12812
12816
  var allpagesarr = [];
12813
12817
  fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d4 = fetchProductsQuery.data) === null || _fetchProductsQuery$d4 === void 0 ? void 0 : (_fetchProductsQuery$d5 = _fetchProductsQuery$d4.data) === null || _fetchProductsQuery$d5 === void 0 ? void 0 : (_fetchProductsQuery$d6 = _fetchProductsQuery$d5.products) === null || _fetchProductsQuery$d6 === void 0 ? void 0 : _fetchProductsQuery$d6.forEach(function (item) {
12814
12818
  allpagesarr.push(item);
12815
12819
  });
12820
+ if ((fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d7 = fetchProductsQuery.data) === null || _fetchProductsQuery$d7 === void 0 ? void 0 : (_fetchProductsQuery$d8 = _fetchProductsQuery$d7.data) === null || _fetchProductsQuery$d8 === void 0 ? void 0 : _fetchProductsQuery$d8.PerPageProducts) != undefined && (fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d9 = fetchProductsQuery.data) === null || _fetchProductsQuery$d9 === void 0 ? void 0 : (_fetchProductsQuery$d10 = _fetchProductsQuery$d9.data) === null || _fetchProductsQuery$d10 === void 0 ? void 0 : _fetchProductsQuery$d10.PerPageProducts) != null && (fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d11 = fetchProductsQuery.data) === null || _fetchProductsQuery$d11 === void 0 ? void 0 : (_fetchProductsQuery$d12 = _fetchProductsQuery$d11.data) === null || _fetchProductsQuery$d12 === void 0 ? void 0 : (_fetchProductsQuery$d13 = _fetchProductsQuery$d12.PerPageProducts) === null || _fetchProductsQuery$d13 === void 0 ? void 0 : _fetchProductsQuery$d13.length) != 0) {
12821
+ var _fetchProductsQuery$d14, _fetchProductsQuery$d15;
12822
+ setperpageItems(fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d14 = fetchProductsQuery.data) === null || _fetchProductsQuery$d14 === void 0 ? void 0 : (_fetchProductsQuery$d15 = _fetchProductsQuery$d14.data) === null || _fetchProductsQuery$d15 === void 0 ? void 0 : _fetchProductsQuery$d15.PerPageProducts);
12823
+ }
12816
12824
  cardobjassigner(allpagesarr);
12817
12825
  }
12818
12826
  }
@@ -12976,14 +12984,15 @@ var CardsSection = function CardsSection(props) {
12976
12984
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, pasturl + encodeURIComponent(JSON.stringify(tempProductFilterObjContext)));
12977
12985
  };
12978
12986
  function PaginatedItems(_ref) {
12979
- var _fetchProductsQuery$d7, _fetchProductsQuery$d8, _fetchProductsQuery$d9, _fetchProductsQuery$d10;
12987
+ var _fetchProductsQuery$d16, _fetchProductsQuery$d17, _fetchProductsQuery$d18, _fetchProductsQuery$d19;
12980
12988
  _ref.itemsPerPage;
12981
- var pageCount = Math.ceil((fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d7 = fetchProductsQuery.data) === null || _fetchProductsQuery$d7 === void 0 ? void 0 : (_fetchProductsQuery$d8 = _fetchProductsQuery$d7.data) === null || _fetchProductsQuery$d8 === void 0 ? void 0 : _fetchProductsQuery$d8.productscou) / 12);
12989
+ // const pageCount = Math.ceil(fetchProductsQuery?.data?.data?.productscou / 12);
12990
+ var pageCount = Math.ceil((fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d16 = fetchProductsQuery.data) === null || _fetchProductsQuery$d16 === void 0 ? void 0 : (_fetchProductsQuery$d17 = _fetchProductsQuery$d16.data) === null || _fetchProductsQuery$d17 === void 0 ? void 0 : _fetchProductsQuery$d17.productscou) / perpageItems);
12982
12991
  return /*#__PURE__*/React__default["default"].createElement("div", {
12983
12992
  "class": "d-flex containerClassName"
12984
12993
  }, /*#__PURE__*/React__default["default"].createElement(ReactPaginate__default["default"], {
12985
12994
  breakLabel: "...",
12986
- forcePage: fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d9 = fetchProductsQuery.data) === null || _fetchProductsQuery$d9 === void 0 ? void 0 : (_fetchProductsQuery$d10 = _fetchProductsQuery$d9.data) === null || _fetchProductsQuery$d10 === void 0 ? void 0 : _fetchProductsQuery$d10.page,
12995
+ forcePage: fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d18 = fetchProductsQuery.data) === null || _fetchProductsQuery$d18 === void 0 ? void 0 : (_fetchProductsQuery$d19 = _fetchProductsQuery$d18.data) === null || _fetchProductsQuery$d19 === void 0 ? void 0 : _fetchProductsQuery$d19.page,
12987
12996
  nextLabel: /*#__PURE__*/React__default["default"].createElement(FiChevronRight.FiChevronRight, {
12988
12997
  size: parseInt(sectionproperties.paginationFontSize) + 3
12989
12998
  }),
@@ -13832,9 +13841,11 @@ var MarqueeHeader = function MarqueeHeader(props) {
13832
13841
  })
13833
13842
  };
13834
13843
  return /*#__PURE__*/React__default["default"].createElement("div", {
13835
- "class": "col-lg-12 p-0 pt-1",
13844
+ "class": "col-lg-12 px-0 d-flex align-items-center",
13836
13845
  style: {
13837
- background: templateproperties_context.textsliderbgcolor
13846
+ background: templateproperties_context.textsliderbgcolor,
13847
+ paddingTop: templateproperties_context.paddinghorizontal + 'px',
13848
+ paddingBottom: templateproperties_context.paddinghorizontal + 'px'
13838
13849
  }
13839
13850
  }, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React__default["default"].createElement("marquee", null, /*#__PURE__*/React__default["default"].createElement("span", {
13840
13851
  "class": "d-flex flex-row align-items-center"
@@ -18423,8 +18434,9 @@ var CTAHeader = function CTAHeader(props) {
18423
18434
  style: {
18424
18435
  position: sectionproperties.headerstyles_position
18425
18436
  }
18426
- }, sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
18437
+ }, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
18427
18438
  sectionpropertiesprops: sectionproperties,
18439
+ templateproperties_contextprops: templateproperties_context,
18428
18440
  actions: actions
18429
18441
  }), /*#__PURE__*/React__default["default"].createElement("div", {
18430
18442
  "class": header_cssstyles.upperheader + ' row m-0 w-100 justify-content-center px-2015-4 '
@@ -23804,7 +23816,8 @@ var Modernheader = function Modernheader(props) {
23804
23816
  height: sectionproperties.badge_height + 'px',
23805
23817
  color: sectionproperties.badge_color,
23806
23818
  borderRadius: sectionproperties.badge_borderradius + 'px',
23807
- fontSize: sectionproperties.badge_fontsize + 'px'
23819
+ fontSize: sectionproperties.badge_fontsize + 'px',
23820
+ fontWeight: sectionproperties.badgefontweight
23808
23821
  }),
23809
23822
  cartbadge: glamor.css({
23810
23823
  top: sectionproperties.cartbadgetop + 'px',
package/dist/index.esm.js CHANGED
@@ -12588,6 +12588,10 @@ var CardsSection = function CardsSection(props) {
12588
12588
  // fetchProductsQuery.fetchNextPage();
12589
12589
  // }
12590
12590
  // }, [inView]);
12591
+ var _useState13 = useState(12),
12592
+ _useState14 = _slicedToArray(_useState13, 2),
12593
+ perpageItems = _useState14[0],
12594
+ setperpageItems = _useState14[1];
12591
12595
  useEffect(function () {
12592
12596
  var productfilerobjtemp = ProductFilterObjContext;
12593
12597
  if (props.filterparamsprops != undefined) {
@@ -12761,11 +12765,15 @@ var CardsSection = function CardsSection(props) {
12761
12765
  useEffect(function () {
12762
12766
  if (fetchingtype == 'products') {
12763
12767
  if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
12764
- var _fetchProductsQuery$d4, _fetchProductsQuery$d5, _fetchProductsQuery$d6;
12768
+ var _fetchProductsQuery$d4, _fetchProductsQuery$d5, _fetchProductsQuery$d6, _fetchProductsQuery$d7, _fetchProductsQuery$d8, _fetchProductsQuery$d9, _fetchProductsQuery$d10, _fetchProductsQuery$d11, _fetchProductsQuery$d12, _fetchProductsQuery$d13;
12765
12769
  var allpagesarr = [];
12766
12770
  fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d4 = fetchProductsQuery.data) === null || _fetchProductsQuery$d4 === void 0 ? void 0 : (_fetchProductsQuery$d5 = _fetchProductsQuery$d4.data) === null || _fetchProductsQuery$d5 === void 0 ? void 0 : (_fetchProductsQuery$d6 = _fetchProductsQuery$d5.products) === null || _fetchProductsQuery$d6 === void 0 ? void 0 : _fetchProductsQuery$d6.forEach(function (item) {
12767
12771
  allpagesarr.push(item);
12768
12772
  });
12773
+ if ((fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d7 = fetchProductsQuery.data) === null || _fetchProductsQuery$d7 === void 0 ? void 0 : (_fetchProductsQuery$d8 = _fetchProductsQuery$d7.data) === null || _fetchProductsQuery$d8 === void 0 ? void 0 : _fetchProductsQuery$d8.PerPageProducts) != undefined && (fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d9 = fetchProductsQuery.data) === null || _fetchProductsQuery$d9 === void 0 ? void 0 : (_fetchProductsQuery$d10 = _fetchProductsQuery$d9.data) === null || _fetchProductsQuery$d10 === void 0 ? void 0 : _fetchProductsQuery$d10.PerPageProducts) != null && (fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d11 = fetchProductsQuery.data) === null || _fetchProductsQuery$d11 === void 0 ? void 0 : (_fetchProductsQuery$d12 = _fetchProductsQuery$d11.data) === null || _fetchProductsQuery$d12 === void 0 ? void 0 : (_fetchProductsQuery$d13 = _fetchProductsQuery$d12.PerPageProducts) === null || _fetchProductsQuery$d13 === void 0 ? void 0 : _fetchProductsQuery$d13.length) != 0) {
12774
+ var _fetchProductsQuery$d14, _fetchProductsQuery$d15;
12775
+ setperpageItems(fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d14 = fetchProductsQuery.data) === null || _fetchProductsQuery$d14 === void 0 ? void 0 : (_fetchProductsQuery$d15 = _fetchProductsQuery$d14.data) === null || _fetchProductsQuery$d15 === void 0 ? void 0 : _fetchProductsQuery$d15.PerPageProducts);
12776
+ }
12769
12777
  cardobjassigner(allpagesarr);
12770
12778
  }
12771
12779
  }
@@ -12929,14 +12937,15 @@ var CardsSection = function CardsSection(props) {
12929
12937
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, pasturl + encodeURIComponent(JSON.stringify(tempProductFilterObjContext)));
12930
12938
  };
12931
12939
  function PaginatedItems(_ref) {
12932
- var _fetchProductsQuery$d7, _fetchProductsQuery$d8, _fetchProductsQuery$d9, _fetchProductsQuery$d10;
12940
+ var _fetchProductsQuery$d16, _fetchProductsQuery$d17, _fetchProductsQuery$d18, _fetchProductsQuery$d19;
12933
12941
  _ref.itemsPerPage;
12934
- var pageCount = Math.ceil((fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d7 = fetchProductsQuery.data) === null || _fetchProductsQuery$d7 === void 0 ? void 0 : (_fetchProductsQuery$d8 = _fetchProductsQuery$d7.data) === null || _fetchProductsQuery$d8 === void 0 ? void 0 : _fetchProductsQuery$d8.productscou) / 12);
12942
+ // const pageCount = Math.ceil(fetchProductsQuery?.data?.data?.productscou / 12);
12943
+ var pageCount = Math.ceil((fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d16 = fetchProductsQuery.data) === null || _fetchProductsQuery$d16 === void 0 ? void 0 : (_fetchProductsQuery$d17 = _fetchProductsQuery$d16.data) === null || _fetchProductsQuery$d17 === void 0 ? void 0 : _fetchProductsQuery$d17.productscou) / perpageItems);
12935
12944
  return /*#__PURE__*/React.createElement("div", {
12936
12945
  "class": "d-flex containerClassName"
12937
12946
  }, /*#__PURE__*/React.createElement(ReactPaginate, {
12938
12947
  breakLabel: "...",
12939
- forcePage: fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d9 = fetchProductsQuery.data) === null || _fetchProductsQuery$d9 === void 0 ? void 0 : (_fetchProductsQuery$d10 = _fetchProductsQuery$d9.data) === null || _fetchProductsQuery$d10 === void 0 ? void 0 : _fetchProductsQuery$d10.page,
12948
+ forcePage: fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d18 = fetchProductsQuery.data) === null || _fetchProductsQuery$d18 === void 0 ? void 0 : (_fetchProductsQuery$d19 = _fetchProductsQuery$d18.data) === null || _fetchProductsQuery$d19 === void 0 ? void 0 : _fetchProductsQuery$d19.page,
12940
12949
  nextLabel: /*#__PURE__*/React.createElement(FiChevronRight, {
12941
12950
  size: parseInt(sectionproperties.paginationFontSize) + 3
12942
12951
  }),
@@ -13785,9 +13794,11 @@ var MarqueeHeader = function MarqueeHeader(props) {
13785
13794
  })
13786
13795
  };
13787
13796
  return /*#__PURE__*/React.createElement("div", {
13788
- "class": "col-lg-12 p-0 pt-1",
13797
+ "class": "col-lg-12 px-0 d-flex align-items-center",
13789
13798
  style: {
13790
- background: templateproperties_context.textsliderbgcolor
13799
+ background: templateproperties_context.textsliderbgcolor,
13800
+ paddingTop: templateproperties_context.paddinghorizontal + 'px',
13801
+ paddingBottom: templateproperties_context.paddinghorizontal + 'px'
13791
13802
  }
13792
13803
  }, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React.createElement("marquee", null, /*#__PURE__*/React.createElement("span", {
13793
13804
  "class": "d-flex flex-row align-items-center"
@@ -18376,8 +18387,9 @@ var CTAHeader = function CTAHeader(props) {
18376
18387
  style: {
18377
18388
  position: sectionproperties.headerstyles_position
18378
18389
  }
18379
- }, sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React.createElement(MarqueeHeader, {
18390
+ }, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React.createElement(MarqueeHeader, {
18380
18391
  sectionpropertiesprops: sectionproperties,
18392
+ templateproperties_contextprops: templateproperties_context,
18381
18393
  actions: actions
18382
18394
  }), /*#__PURE__*/React.createElement("div", {
18383
18395
  "class": header_cssstyles.upperheader + ' row m-0 w-100 justify-content-center px-2015-4 '
@@ -23757,7 +23769,8 @@ var Modernheader = function Modernheader(props) {
23757
23769
  height: sectionproperties.badge_height + 'px',
23758
23770
  color: sectionproperties.badge_color,
23759
23771
  borderRadius: sectionproperties.badge_borderradius + 'px',
23760
- fontSize: sectionproperties.badge_fontsize + 'px'
23772
+ fontSize: sectionproperties.badge_fontsize + 'px',
23773
+ fontWeight: sectionproperties.badgefontweight
23761
23774
  }),
23762
23775
  cartbadge: css({
23763
23776
  top: sectionproperties.cartbadgetop + 'px',
package/dist/index.umd.js CHANGED
@@ -12480,6 +12480,10 @@
12480
12480
  // fetchProductsQuery.fetchNextPage();
12481
12481
  // }
12482
12482
  // }, [inView]);
12483
+ var _useState13 = React.useState(12),
12484
+ _useState14 = _slicedToArray__default["default"](_useState13, 2),
12485
+ perpageItems = _useState14[0],
12486
+ setperpageItems = _useState14[1];
12483
12487
  React.useEffect(function () {
12484
12488
  var productfilerobjtemp = ProductFilterObjContext;
12485
12489
  if (props.filterparamsprops != undefined) {
@@ -12653,11 +12657,15 @@
12653
12657
  React.useEffect(function () {
12654
12658
  if (fetchingtype == 'products') {
12655
12659
  if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
12656
- var _fetchProductsQuery$d4, _fetchProductsQuery$d5, _fetchProductsQuery$d6;
12660
+ var _fetchProductsQuery$d4, _fetchProductsQuery$d5, _fetchProductsQuery$d6, _fetchProductsQuery$d7, _fetchProductsQuery$d8, _fetchProductsQuery$d9, _fetchProductsQuery$d10, _fetchProductsQuery$d11, _fetchProductsQuery$d12, _fetchProductsQuery$d13;
12657
12661
  var allpagesarr = [];
12658
12662
  fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d4 = fetchProductsQuery.data) === null || _fetchProductsQuery$d4 === void 0 ? void 0 : (_fetchProductsQuery$d5 = _fetchProductsQuery$d4.data) === null || _fetchProductsQuery$d5 === void 0 ? void 0 : (_fetchProductsQuery$d6 = _fetchProductsQuery$d5.products) === null || _fetchProductsQuery$d6 === void 0 ? void 0 : _fetchProductsQuery$d6.forEach(function (item) {
12659
12663
  allpagesarr.push(item);
12660
12664
  });
12665
+ if ((fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d7 = fetchProductsQuery.data) === null || _fetchProductsQuery$d7 === void 0 ? void 0 : (_fetchProductsQuery$d8 = _fetchProductsQuery$d7.data) === null || _fetchProductsQuery$d8 === void 0 ? void 0 : _fetchProductsQuery$d8.PerPageProducts) != undefined && (fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d9 = fetchProductsQuery.data) === null || _fetchProductsQuery$d9 === void 0 ? void 0 : (_fetchProductsQuery$d10 = _fetchProductsQuery$d9.data) === null || _fetchProductsQuery$d10 === void 0 ? void 0 : _fetchProductsQuery$d10.PerPageProducts) != null && (fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d11 = fetchProductsQuery.data) === null || _fetchProductsQuery$d11 === void 0 ? void 0 : (_fetchProductsQuery$d12 = _fetchProductsQuery$d11.data) === null || _fetchProductsQuery$d12 === void 0 ? void 0 : (_fetchProductsQuery$d13 = _fetchProductsQuery$d12.PerPageProducts) === null || _fetchProductsQuery$d13 === void 0 ? void 0 : _fetchProductsQuery$d13.length) != 0) {
12666
+ var _fetchProductsQuery$d14, _fetchProductsQuery$d15;
12667
+ setperpageItems(fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d14 = fetchProductsQuery.data) === null || _fetchProductsQuery$d14 === void 0 ? void 0 : (_fetchProductsQuery$d15 = _fetchProductsQuery$d14.data) === null || _fetchProductsQuery$d15 === void 0 ? void 0 : _fetchProductsQuery$d15.PerPageProducts);
12668
+ }
12661
12669
  cardobjassigner(allpagesarr);
12662
12670
  }
12663
12671
  }
@@ -12821,14 +12829,15 @@
12821
12829
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, pasturl + encodeURIComponent(JSON.stringify(tempProductFilterObjContext)));
12822
12830
  };
12823
12831
  function PaginatedItems(_ref) {
12824
- var _fetchProductsQuery$d7, _fetchProductsQuery$d8, _fetchProductsQuery$d9, _fetchProductsQuery$d10;
12832
+ var _fetchProductsQuery$d16, _fetchProductsQuery$d17, _fetchProductsQuery$d18, _fetchProductsQuery$d19;
12825
12833
  _ref.itemsPerPage;
12826
- var pageCount = Math.ceil((fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d7 = fetchProductsQuery.data) === null || _fetchProductsQuery$d7 === void 0 ? void 0 : (_fetchProductsQuery$d8 = _fetchProductsQuery$d7.data) === null || _fetchProductsQuery$d8 === void 0 ? void 0 : _fetchProductsQuery$d8.productscou) / 12);
12834
+ // const pageCount = Math.ceil(fetchProductsQuery?.data?.data?.productscou / 12);
12835
+ var pageCount = Math.ceil((fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d16 = fetchProductsQuery.data) === null || _fetchProductsQuery$d16 === void 0 ? void 0 : (_fetchProductsQuery$d17 = _fetchProductsQuery$d16.data) === null || _fetchProductsQuery$d17 === void 0 ? void 0 : _fetchProductsQuery$d17.productscou) / perpageItems);
12827
12836
  return /*#__PURE__*/React__default["default"].createElement("div", {
12828
12837
  "class": "d-flex containerClassName"
12829
12838
  }, /*#__PURE__*/React__default["default"].createElement(ReactPaginate__default["default"], {
12830
12839
  breakLabel: "...",
12831
- forcePage: fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d9 = fetchProductsQuery.data) === null || _fetchProductsQuery$d9 === void 0 ? void 0 : (_fetchProductsQuery$d10 = _fetchProductsQuery$d9.data) === null || _fetchProductsQuery$d10 === void 0 ? void 0 : _fetchProductsQuery$d10.page,
12840
+ forcePage: fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d18 = fetchProductsQuery.data) === null || _fetchProductsQuery$d18 === void 0 ? void 0 : (_fetchProductsQuery$d19 = _fetchProductsQuery$d18.data) === null || _fetchProductsQuery$d19 === void 0 ? void 0 : _fetchProductsQuery$d19.page,
12832
12841
  nextLabel: /*#__PURE__*/React__default["default"].createElement(FiChevronRight.FiChevronRight, {
12833
12842
  size: parseInt(sectionproperties.paginationFontSize) + 3
12834
12843
  }),
@@ -13677,9 +13686,11 @@
13677
13686
  })
13678
13687
  };
13679
13688
  return /*#__PURE__*/React__default["default"].createElement("div", {
13680
- "class": "col-lg-12 p-0 pt-1",
13689
+ "class": "col-lg-12 px-0 d-flex align-items-center",
13681
13690
  style: {
13682
- background: templateproperties_context.textsliderbgcolor
13691
+ background: templateproperties_context.textsliderbgcolor,
13692
+ paddingTop: templateproperties_context.paddinghorizontal + 'px',
13693
+ paddingBottom: templateproperties_context.paddinghorizontal + 'px'
13683
13694
  }
13684
13695
  }, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React__default["default"].createElement("marquee", null, /*#__PURE__*/React__default["default"].createElement("span", {
13685
13696
  "class": "d-flex flex-row align-items-center"
@@ -18268,8 +18279,9 @@
18268
18279
  style: {
18269
18280
  position: sectionproperties.headerstyles_position
18270
18281
  }
18271
- }, sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
18282
+ }, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
18272
18283
  sectionpropertiesprops: sectionproperties,
18284
+ templateproperties_contextprops: templateproperties_context,
18273
18285
  actions: actions
18274
18286
  }), /*#__PURE__*/React__default["default"].createElement("div", {
18275
18287
  "class": header_cssstyles.upperheader + ' row m-0 w-100 justify-content-center px-2015-4 '
@@ -23649,7 +23661,8 @@
23649
23661
  height: sectionproperties.badge_height + 'px',
23650
23662
  color: sectionproperties.badge_color,
23651
23663
  borderRadius: sectionproperties.badge_borderradius + 'px',
23652
- fontSize: sectionproperties.badge_fontsize + 'px'
23664
+ fontSize: sectionproperties.badge_fontsize + 'px',
23665
+ fontWeight: sectionproperties.badgefontweight
23653
23666
  }),
23654
23667
  cartbadge: glamor.css({
23655
23668
  top: sectionproperties.cartbadgetop + 'px',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.302",
3
+ "version": "0.0.303",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {