tabexseriescomponents 0.0.172 → 0.0.174

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
@@ -72,6 +72,9 @@ var reactIntersectionObserver = require('react-intersection-observer');
72
72
  var FaArrowAltCircleRight = require('@react-icons/all-files/fa/FaArrowAltCircleRight');
73
73
  var FaArrowAltCircleLeft = require('@react-icons/all-files/fa/FaArrowAltCircleLeft');
74
74
  var FiFilter = require('@react-icons/all-files/fi/FiFilter');
75
+ var FiChevronLeft = require('@react-icons/all-files/fi/FiChevronLeft');
76
+ var FiChevronRight = require('@react-icons/all-files/fi/FiChevronRight');
77
+ var ReactPaginate = require('react-paginate');
75
78
  var MdKeyboardArrowDown = require('@react-icons/all-files/md/MdKeyboardArrowDown');
76
79
  var FaMoneyBillWave = require('@react-icons/all-files/fa/FaMoneyBillWave');
77
80
  var BiLogOutCircle = require('@react-icons/all-files/bi/BiLogOutCircle');
@@ -158,6 +161,7 @@ var ImageGallery__default = /*#__PURE__*/_interopDefaultLegacy(ImageGallery);
158
161
  var _toConsumableArray__default = /*#__PURE__*/_interopDefaultLegacy(_toConsumableArray);
159
162
  var TextareaAutosize__default = /*#__PURE__*/_interopDefaultLegacy(TextareaAutosize);
160
163
  var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
164
+ var ReactPaginate__default = /*#__PURE__*/_interopDefaultLegacy(ReactPaginate);
161
165
  var Select__default = /*#__PURE__*/_interopDefaultLegacy(Select$2);
162
166
  var ReactPlayer__default = /*#__PURE__*/_interopDefaultLegacy(ReactPlayer);
163
167
  var BackgroundSlideshow__default = /*#__PURE__*/_interopDefaultLegacy(BackgroundSlideshow);
@@ -432,7 +436,8 @@ var ProductsCardsSectionContext_Provider = function ProductsCardsSectionContext_
432
436
  grouptype: '',
433
437
  grouptyperefid: '',
434
438
  sortprice: '',
435
- sortdates: ''
439
+ sortdates: '',
440
+ page: 0
436
441
  }),
437
442
  _useState4 = _slicedToArray__default["default"](_useState3, 2),
438
443
  ProductFilterObjContext = _useState4[0],
@@ -9207,9 +9212,10 @@ var Filter$1 = function Filter(props) {
9207
9212
  function ownKeys$1B(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; }
9208
9213
  function _objectSpread$1B(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1B(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1B(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
9209
9214
  var CardsSection = function CardsSection(props) {
9210
- var _useInView = reactIntersectionObserver.useInView(),
9211
- ref = _useInView.ref,
9212
- inView = _useInView.inView;
9215
+ var refscr = /*#__PURE__*/React.createRef();
9216
+ var _useInView = reactIntersectionObserver.useInView();
9217
+ _useInView.ref;
9218
+ _useInView.inView;
9213
9219
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
9214
9220
  props.actions.lang;
9215
9221
  var langdetect = props.actions.langdetect;
@@ -9259,11 +9265,11 @@ var CardsSection = function CardsSection(props) {
9259
9265
  _useState12 = _slicedToArray__default["default"](_useState11, 2),
9260
9266
  maincontainerarrayofobjs = _useState12[0],
9261
9267
  setmaincontainerarrayofobjs = _useState12[1];
9262
- React__default["default"].useEffect(function () {
9263
- if (inView) {
9264
- fetchProductsQuery.fetchNextPage();
9265
- }
9266
- }, [inView]);
9268
+ // React.useEffect(() => {
9269
+ // if (inView) {
9270
+ // fetchProductsQuery.fetchNextPage();
9271
+ // }
9272
+ // }, [inView]);
9267
9273
  React.useEffect(function () {
9268
9274
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
9269
9275
  if (sectionitem.sectionid == props.sectionidprops) {
@@ -9304,11 +9310,15 @@ var CardsSection = function CardsSection(props) {
9304
9310
  }
9305
9311
  } else if (fetchingtype == 'products') {
9306
9312
  if (fetchProductsQuery.isSuccess) {
9313
+ var _fetchProductsQuery$d, _fetchProductsQuery$d2, _fetchProductsQuery$d3;
9307
9314
  var allpagesarr = [];
9308
- fetchProductsQuery.data.pages.forEach(function (page) {
9309
- page.data.products.forEach(function (productobj) {
9310
- allpagesarr.push(productobj);
9311
- });
9315
+ // fetchProductsQuery.data.pages.forEach((page) => {
9316
+ // page.data.products.forEach((productobj) => {
9317
+ // allpagesarr.push(productobj);
9318
+ // });
9319
+ // });
9320
+ fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d = fetchProductsQuery.data) === null || _fetchProductsQuery$d === void 0 ? void 0 : (_fetchProductsQuery$d2 = _fetchProductsQuery$d.data) === null || _fetchProductsQuery$d2 === void 0 ? void 0 : (_fetchProductsQuery$d3 = _fetchProductsQuery$d2.products) === null || _fetchProductsQuery$d3 === void 0 ? void 0 : _fetchProductsQuery$d3.forEach(function (item) {
9321
+ allpagesarr.push(item);
9312
9322
  });
9313
9323
  cardobjassigner(allpagesarr);
9314
9324
  }
@@ -9416,11 +9426,15 @@ var CardsSection = function CardsSection(props) {
9416
9426
  React.useEffect(function () {
9417
9427
  if (fetchingtype == 'products') {
9418
9428
  if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
9429
+ var _fetchProductsQuery$d4, _fetchProductsQuery$d5, _fetchProductsQuery$d6;
9419
9430
  var allpagesarr = [];
9420
- fetchProductsQuery.data.pages.forEach(function (page) {
9421
- page.data.products.forEach(function (productobj) {
9422
- allpagesarr.push(productobj);
9423
- });
9431
+ // fetchProductsQuery.data.pages.forEach((page) => {
9432
+ // page.data.products.forEach((productobj) => {
9433
+ // allpagesarr.push(productobj);
9434
+ // });
9435
+ // });
9436
+ 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) {
9437
+ allpagesarr.push(item);
9424
9438
  });
9425
9439
  cardobjassigner(allpagesarr);
9426
9440
  }
@@ -9548,7 +9562,142 @@ var CardsSection = function CardsSection(props) {
9548
9562
  });
9549
9563
  setcardsarray([].concat(temparray));
9550
9564
  };
9565
+ // Example items, to simulate fetching from another resources.
9566
+
9567
+ var handlePageClick = function handlePageClick(event) {
9568
+ props.scrolltotop();
9569
+ var tempProductFilterObjContext = _objectSpread$1B({}, ProductFilterObjContext);
9570
+ tempProductFilterObjContext.page = event.selected;
9571
+ setProductFilterObjContext(_objectSpread$1B({}, tempProductFilterObjContext));
9572
+ };
9573
+ function PaginatedItems(_ref) {
9574
+ var _fetchProductsQuery$d7, _fetchProductsQuery$d8, _fetchProductsQuery$d9, _fetchProductsQuery$d10;
9575
+ _ref.itemsPerPage;
9576
+ // Here we use item offsets; we could also use page offsets
9577
+ // following the API or data you're working with.
9578
+ var _useState13 = React.useState(0),
9579
+ _useState14 = _slicedToArray__default["default"](_useState13, 2);
9580
+ _useState14[0];
9581
+ _useState14[1];
9582
+
9583
+ // const currentItems = items.slice(itemOffset, endOffset);
9584
+ // const pageCount = Math.ceil(items.length / itemsPerPage);
9585
+ 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);
9586
+ //
9587
+
9588
+ // Invoke when user click to request another page.
9589
+
9590
+ return /*#__PURE__*/React__default["default"].createElement("div", {
9591
+ "class": "d-flex containerClassName"
9592
+ }, /*#__PURE__*/React__default["default"].createElement(ReactPaginate__default["default"], {
9593
+ breakLabel: "...",
9594
+ 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,
9595
+ nextLabel: /*#__PURE__*/React__default["default"].createElement(FiChevronRight.FiChevronRight, {
9596
+ size: parseInt(sectionproperties.paginationFontSize) + 3
9597
+ }),
9598
+ onPageChange: handlePageClick,
9599
+ active: true,
9600
+ pageRangeDisplayed: 5,
9601
+ pageCount: pageCount,
9602
+ previousLabel: /*#__PURE__*/React__default["default"].createElement(FiChevronLeft.FiChevronLeft, {
9603
+ size: parseInt(sectionproperties.paginationFontSize) + 3
9604
+ }),
9605
+ renderOnZeroPageCount: null,
9606
+ pageLinkClassName: section_cssstyles.pageLinkClassName,
9607
+ nextLinkClassName: section_cssstyles.nextLinkClassName,
9608
+ previousLinkClassName: section_cssstyles.previousLinkClassName,
9609
+ activeClassName: section_cssstyles.activeClassName,
9610
+ activeLinkClassName: section_cssstyles.activeLinkClassName,
9611
+ previousClassName: section_cssstyles.previousClassName,
9612
+ nextClassName: section_cssstyles.nextClassName,
9613
+ disabledClassName: section_cssstyles.disabledClassName,
9614
+ disabledLinkClassName: section_cssstyles.disabledLinkClassName
9615
+ }));
9616
+ }
9551
9617
  var section_cssstyles = {
9618
+ disabledClassName: glamor.css({
9619
+ cursor: 'not-allowed',
9620
+ ':hover': {
9621
+ cursor: 'not-allowed',
9622
+ color: sectionproperties.paginationColor
9623
+ }
9624
+ }),
9625
+ disabledLinkClassName: glamor.css({
9626
+ cursor: 'not-allowed',
9627
+ ':hover': {
9628
+ cursor: 'not-allowed',
9629
+ color: sectionproperties.paginationColor
9630
+ }
9631
+ }),
9632
+ pageLinkClassName: glamor.css({
9633
+ minWidth: sectionproperties.paginationContainerWidth + 'vh',
9634
+ height: sectionproperties.paginationContainerHeight + 'vh',
9635
+ padding: '17px',
9636
+ display: 'flex',
9637
+ alignItems: 'center',
9638
+ justifyContent: 'center',
9639
+ color: sectionproperties.paginationColor,
9640
+ border: sectionproperties.paginationBorderWidth + 'px solid ' + sectionproperties.paginationBorderColor,
9641
+ transition: '.3s',
9642
+ ':hover': {
9643
+ color: sectionproperties.paginationColoronHover,
9644
+ borderColor: sectionproperties.paginationColoronHover
9645
+ }
9646
+ }),
9647
+ activeClassName: glamor.css({
9648
+ color: sectionproperties.paginationActiveColor,
9649
+ borderColor: sectionproperties.paginationActiveColor
9650
+ }),
9651
+ activeLinkClassName: glamor.css({
9652
+ color: sectionproperties.paginationActiveColor,
9653
+ borderColor: sectionproperties.paginationActiveColor
9654
+ }),
9655
+ previousClassName: glamor.css({
9656
+ width: sectionproperties.paginationContainerWidth + 'vh',
9657
+ height: sectionproperties.paginationContainerHeight + 'vh',
9658
+ padding: '17px',
9659
+ display: 'flex',
9660
+ alignItems: 'center',
9661
+ justifyContent: 'center',
9662
+ color: sectionproperties.paginationColor,
9663
+ border: sectionproperties.paginationBorderWidth + 'px solid ' + sectionproperties.paginationBorderColor,
9664
+ transition: '.3s',
9665
+ ':hover': {
9666
+ color: sectionproperties.paginationColoronHover,
9667
+ borderColor: sectionproperties.paginationColoronHover
9668
+ }
9669
+ }),
9670
+ nextClassName: glamor.css({
9671
+ width: sectionproperties.paginationContainerWidth + 'vh',
9672
+ height: sectionproperties.paginationContainerHeight + 'vh',
9673
+ padding: '17px',
9674
+ display: 'flex',
9675
+ alignItems: 'center',
9676
+ justifyContent: 'center',
9677
+ color: sectionproperties.paginationColor,
9678
+ border: sectionproperties.paginationBorderWidth + 'px solid ' + sectionproperties.paginationBorderColor,
9679
+ transition: '.3s',
9680
+ ':hover': {
9681
+ color: sectionproperties.paginationColoronHover,
9682
+ borderColor: sectionproperties.paginationColoronHover
9683
+ }
9684
+ }),
9685
+ previousLinkClassName: glamor.css({
9686
+ fontSize: sectionproperties.paginationFontSize + 'px',
9687
+ color: sectionproperties.paginationColor,
9688
+ transition: '.3s',
9689
+ ':hover': {
9690
+ color: sectionproperties.paginationColoronHover
9691
+ }
9692
+ }),
9693
+ nextLinkClassName: glamor.css({
9694
+ fontSize: sectionproperties.paginationFontSize + 'px',
9695
+ color: sectionproperties.paginationColor,
9696
+ transition: '.3s',
9697
+ ':hover': {
9698
+ color: sectionproperties.paginationColoronHover
9699
+ }
9700
+ }),
9552
9701
  sectiontitlespan: glamor.css({
9553
9702
  ':after': {
9554
9703
  height: '5px',
@@ -9812,19 +9961,7 @@ var CardsSection = function CardsSection(props) {
9812
9961
  actions: actions,
9813
9962
  fontFamilyprops: sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : ''
9814
9963
  }));
9815
- }), fetchingtype == 'products' && fetchProductsQuery.isFetchingNextPage && /*#__PURE__*/React__default["default"].createElement("button", {
9816
- className: section_cssstyles.loadbtn + ' d-flex justify-content-end align-items-center mt-4 ',
9817
- ref: ref,
9818
- onClick: function onClick() {
9819
- return fetchProductsQuery.fetchNextPage();
9820
- },
9821
- disabled: !fetchProductsQuery.hasNextPage || fetchProductsQuery.isFetchingNextPage
9822
- }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
9823
- color: "#000",
9824
- width: "20px",
9825
- height: "20px",
9826
- duration: "1s"
9827
- })))), sectionproperties.view_as_slider_vertical != 'Slider (Horizontal)' && /*#__PURE__*/React__default["default"].createElement("div", {
9964
+ }))), sectionproperties.view_as_slider_vertical != 'Slider (Horizontal)' && /*#__PURE__*/React__default["default"].createElement("div", {
9828
9965
  className: "row m-0 w-100 d-flex ",
9829
9966
  style: {
9830
9967
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
@@ -9844,30 +9981,15 @@ var CardsSection = function CardsSection(props) {
9844
9981
  }));
9845
9982
  }), fetchingtype == 'products' && /*#__PURE__*/React__default["default"].createElement("div", {
9846
9983
  className: "w-100 col-lg-12 allcentered mt-2"
9847
- }, /*#__PURE__*/React__default["default"].createElement("button", {
9848
- className: section_cssstyles.loadbtn + ' d-flex justify-content-end align-items-center '
9849
- // ref={ref}
9850
- ,
9851
- onClick: function onClick() {
9852
- return fetchProductsQuery.fetchNextPage();
9853
- },
9854
- disabled: !fetchProductsQuery.hasNextPage || fetchProductsQuery.isFetchingNextPage
9855
- }, fetchProductsQuery.isFetchingNextPage ? /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
9856
- color: "#000",
9857
- width: "20px",
9858
- height: "20px",
9859
- duration: "1s"
9860
- }) : fetchProductsQuery.hasNextPage ? langdetect == 'en' ? 'Load more' : 'المزيد' : /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
9861
- color: "#000",
9862
- width: "20px",
9863
- height: "20px",
9864
- duration: "1s"
9865
- })))));
9984
+ }, /*#__PURE__*/React__default["default"].createElement(PaginatedItems, {
9985
+ itemsPerPage: 5
9986
+ }))));
9866
9987
  }
9867
9988
  }
9868
9989
  }))));
9869
9990
  };
9870
9991
  return /*#__PURE__*/React__default["default"].createElement("div", {
9992
+ ref: refscr,
9871
9993
  "class": ' row m-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
9872
9994
  style: {
9873
9995
  zIndex: 2,
@@ -23481,7 +23603,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
23481
23603
  }
23482
23604
  }, lang.loginregister)))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
23483
23605
  "class": header_cssstyles.userBtnLoggedinContainer + ' allcentered ',
23484
- sytle: {
23606
+ style: {
23485
23607
  position: 'relative'
23486
23608
  }
23487
23609
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -23506,7 +23628,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
23506
23628
  }, lang.hello, langdetect == 'en' ? ',' : '،'), /*#__PURE__*/React__default["default"].createElement("p", {
23507
23629
  "class": header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow ',
23508
23630
  style: {
23509
- maxWidth: '65px'
23631
+ maxWidth: sectionproperties.showfooterphonenumber == 'Show' ? '65px' : '140px'
23510
23632
  }
23511
23633
  }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.name)))), !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
23512
23634
  onClick: function onClick() {
@@ -39897,7 +40019,7 @@ var Card23 = function Card23(props) {
39897
40019
  fontSize: '12px'
39898
40020
  }
39899
40021
  }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))), /*#__PURE__*/React__default["default"].createElement("div", {
39900
- "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'row m-0 w-100 pl-sm-0 pr-sm-0' : ' row m-0 w-100' : ' row m-0 w-100',
40022
+ "class": 'row m-0 w-100 pl-sm-0 pr-sm-0',
39901
40023
  style: {
39902
40024
  paddingLeft: '10px',
39903
40025
  paddingRight: '10px',
package/dist/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
- import React, { useState, useEffect, Component, useContext } from 'react';
2
+ import React, { useState, useEffect, Component, createRef, useContext } from 'react';
3
3
  import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
4
4
  import _createClass from '@babel/runtime/helpers/createClass';
5
5
  import _assertThisInitialized from '@babel/runtime/helpers/assertThisInitialized';
@@ -70,6 +70,9 @@ import { useInView } from 'react-intersection-observer';
70
70
  import { FaArrowAltCircleRight } from '@react-icons/all-files/fa/FaArrowAltCircleRight';
71
71
  import { FaArrowAltCircleLeft } from '@react-icons/all-files/fa/FaArrowAltCircleLeft';
72
72
  import { FiFilter } from '@react-icons/all-files/fi/FiFilter';
73
+ import { FiChevronLeft } from '@react-icons/all-files/fi/FiChevronLeft';
74
+ import { FiChevronRight } from '@react-icons/all-files/fi/FiChevronRight';
75
+ import ReactPaginate from 'react-paginate';
73
76
  import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
74
77
  import { FaMoneyBillWave } from '@react-icons/all-files/fa/FaMoneyBillWave';
75
78
  import { BiLogOutCircle } from '@react-icons/all-files/bi/BiLogOutCircle';
@@ -389,7 +392,8 @@ var ProductsCardsSectionContext_Provider = function ProductsCardsSectionContext_
389
392
  grouptype: '',
390
393
  grouptyperefid: '',
391
394
  sortprice: '',
392
- sortdates: ''
395
+ sortdates: '',
396
+ page: 0
393
397
  }),
394
398
  _useState4 = _slicedToArray(_useState3, 2),
395
399
  ProductFilterObjContext = _useState4[0],
@@ -9164,9 +9168,10 @@ var Filter$1 = function Filter(props) {
9164
9168
  function ownKeys$1B(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; }
9165
9169
  function _objectSpread$1B(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1B(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1B(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
9166
9170
  var CardsSection = function CardsSection(props) {
9167
- var _useInView = useInView(),
9168
- ref = _useInView.ref,
9169
- inView = _useInView.inView;
9171
+ var refscr = /*#__PURE__*/createRef();
9172
+ var _useInView = useInView();
9173
+ _useInView.ref;
9174
+ _useInView.inView;
9170
9175
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
9171
9176
  props.actions.lang;
9172
9177
  var langdetect = props.actions.langdetect;
@@ -9216,11 +9221,11 @@ var CardsSection = function CardsSection(props) {
9216
9221
  _useState12 = _slicedToArray(_useState11, 2),
9217
9222
  maincontainerarrayofobjs = _useState12[0],
9218
9223
  setmaincontainerarrayofobjs = _useState12[1];
9219
- React.useEffect(function () {
9220
- if (inView) {
9221
- fetchProductsQuery.fetchNextPage();
9222
- }
9223
- }, [inView]);
9224
+ // React.useEffect(() => {
9225
+ // if (inView) {
9226
+ // fetchProductsQuery.fetchNextPage();
9227
+ // }
9228
+ // }, [inView]);
9224
9229
  useEffect(function () {
9225
9230
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
9226
9231
  if (sectionitem.sectionid == props.sectionidprops) {
@@ -9261,11 +9266,15 @@ var CardsSection = function CardsSection(props) {
9261
9266
  }
9262
9267
  } else if (fetchingtype == 'products') {
9263
9268
  if (fetchProductsQuery.isSuccess) {
9269
+ var _fetchProductsQuery$d, _fetchProductsQuery$d2, _fetchProductsQuery$d3;
9264
9270
  var allpagesarr = [];
9265
- fetchProductsQuery.data.pages.forEach(function (page) {
9266
- page.data.products.forEach(function (productobj) {
9267
- allpagesarr.push(productobj);
9268
- });
9271
+ // fetchProductsQuery.data.pages.forEach((page) => {
9272
+ // page.data.products.forEach((productobj) => {
9273
+ // allpagesarr.push(productobj);
9274
+ // });
9275
+ // });
9276
+ fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d = fetchProductsQuery.data) === null || _fetchProductsQuery$d === void 0 ? void 0 : (_fetchProductsQuery$d2 = _fetchProductsQuery$d.data) === null || _fetchProductsQuery$d2 === void 0 ? void 0 : (_fetchProductsQuery$d3 = _fetchProductsQuery$d2.products) === null || _fetchProductsQuery$d3 === void 0 ? void 0 : _fetchProductsQuery$d3.forEach(function (item) {
9277
+ allpagesarr.push(item);
9269
9278
  });
9270
9279
  cardobjassigner(allpagesarr);
9271
9280
  }
@@ -9373,11 +9382,15 @@ var CardsSection = function CardsSection(props) {
9373
9382
  useEffect(function () {
9374
9383
  if (fetchingtype == 'products') {
9375
9384
  if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
9385
+ var _fetchProductsQuery$d4, _fetchProductsQuery$d5, _fetchProductsQuery$d6;
9376
9386
  var allpagesarr = [];
9377
- fetchProductsQuery.data.pages.forEach(function (page) {
9378
- page.data.products.forEach(function (productobj) {
9379
- allpagesarr.push(productobj);
9380
- });
9387
+ // fetchProductsQuery.data.pages.forEach((page) => {
9388
+ // page.data.products.forEach((productobj) => {
9389
+ // allpagesarr.push(productobj);
9390
+ // });
9391
+ // });
9392
+ 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) {
9393
+ allpagesarr.push(item);
9381
9394
  });
9382
9395
  cardobjassigner(allpagesarr);
9383
9396
  }
@@ -9505,7 +9518,142 @@ var CardsSection = function CardsSection(props) {
9505
9518
  });
9506
9519
  setcardsarray([].concat(temparray));
9507
9520
  };
9521
+ // Example items, to simulate fetching from another resources.
9522
+
9523
+ var handlePageClick = function handlePageClick(event) {
9524
+ props.scrolltotop();
9525
+ var tempProductFilterObjContext = _objectSpread$1B({}, ProductFilterObjContext);
9526
+ tempProductFilterObjContext.page = event.selected;
9527
+ setProductFilterObjContext(_objectSpread$1B({}, tempProductFilterObjContext));
9528
+ };
9529
+ function PaginatedItems(_ref) {
9530
+ var _fetchProductsQuery$d7, _fetchProductsQuery$d8, _fetchProductsQuery$d9, _fetchProductsQuery$d10;
9531
+ _ref.itemsPerPage;
9532
+ // Here we use item offsets; we could also use page offsets
9533
+ // following the API or data you're working with.
9534
+ var _useState13 = useState(0),
9535
+ _useState14 = _slicedToArray(_useState13, 2);
9536
+ _useState14[0];
9537
+ _useState14[1];
9538
+
9539
+ // const currentItems = items.slice(itemOffset, endOffset);
9540
+ // const pageCount = Math.ceil(items.length / itemsPerPage);
9541
+ 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);
9542
+ //
9543
+
9544
+ // Invoke when user click to request another page.
9545
+
9546
+ return /*#__PURE__*/React.createElement("div", {
9547
+ "class": "d-flex containerClassName"
9548
+ }, /*#__PURE__*/React.createElement(ReactPaginate, {
9549
+ breakLabel: "...",
9550
+ 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,
9551
+ nextLabel: /*#__PURE__*/React.createElement(FiChevronRight, {
9552
+ size: parseInt(sectionproperties.paginationFontSize) + 3
9553
+ }),
9554
+ onPageChange: handlePageClick,
9555
+ active: true,
9556
+ pageRangeDisplayed: 5,
9557
+ pageCount: pageCount,
9558
+ previousLabel: /*#__PURE__*/React.createElement(FiChevronLeft, {
9559
+ size: parseInt(sectionproperties.paginationFontSize) + 3
9560
+ }),
9561
+ renderOnZeroPageCount: null,
9562
+ pageLinkClassName: section_cssstyles.pageLinkClassName,
9563
+ nextLinkClassName: section_cssstyles.nextLinkClassName,
9564
+ previousLinkClassName: section_cssstyles.previousLinkClassName,
9565
+ activeClassName: section_cssstyles.activeClassName,
9566
+ activeLinkClassName: section_cssstyles.activeLinkClassName,
9567
+ previousClassName: section_cssstyles.previousClassName,
9568
+ nextClassName: section_cssstyles.nextClassName,
9569
+ disabledClassName: section_cssstyles.disabledClassName,
9570
+ disabledLinkClassName: section_cssstyles.disabledLinkClassName
9571
+ }));
9572
+ }
9508
9573
  var section_cssstyles = {
9574
+ disabledClassName: css({
9575
+ cursor: 'not-allowed',
9576
+ ':hover': {
9577
+ cursor: 'not-allowed',
9578
+ color: sectionproperties.paginationColor
9579
+ }
9580
+ }),
9581
+ disabledLinkClassName: css({
9582
+ cursor: 'not-allowed',
9583
+ ':hover': {
9584
+ cursor: 'not-allowed',
9585
+ color: sectionproperties.paginationColor
9586
+ }
9587
+ }),
9588
+ pageLinkClassName: css({
9589
+ minWidth: sectionproperties.paginationContainerWidth + 'vh',
9590
+ height: sectionproperties.paginationContainerHeight + 'vh',
9591
+ padding: '17px',
9592
+ display: 'flex',
9593
+ alignItems: 'center',
9594
+ justifyContent: 'center',
9595
+ color: sectionproperties.paginationColor,
9596
+ border: sectionproperties.paginationBorderWidth + 'px solid ' + sectionproperties.paginationBorderColor,
9597
+ transition: '.3s',
9598
+ ':hover': {
9599
+ color: sectionproperties.paginationColoronHover,
9600
+ borderColor: sectionproperties.paginationColoronHover
9601
+ }
9602
+ }),
9603
+ activeClassName: css({
9604
+ color: sectionproperties.paginationActiveColor,
9605
+ borderColor: sectionproperties.paginationActiveColor
9606
+ }),
9607
+ activeLinkClassName: css({
9608
+ color: sectionproperties.paginationActiveColor,
9609
+ borderColor: sectionproperties.paginationActiveColor
9610
+ }),
9611
+ previousClassName: css({
9612
+ width: sectionproperties.paginationContainerWidth + 'vh',
9613
+ height: sectionproperties.paginationContainerHeight + 'vh',
9614
+ padding: '17px',
9615
+ display: 'flex',
9616
+ alignItems: 'center',
9617
+ justifyContent: 'center',
9618
+ color: sectionproperties.paginationColor,
9619
+ border: sectionproperties.paginationBorderWidth + 'px solid ' + sectionproperties.paginationBorderColor,
9620
+ transition: '.3s',
9621
+ ':hover': {
9622
+ color: sectionproperties.paginationColoronHover,
9623
+ borderColor: sectionproperties.paginationColoronHover
9624
+ }
9625
+ }),
9626
+ nextClassName: css({
9627
+ width: sectionproperties.paginationContainerWidth + 'vh',
9628
+ height: sectionproperties.paginationContainerHeight + 'vh',
9629
+ padding: '17px',
9630
+ display: 'flex',
9631
+ alignItems: 'center',
9632
+ justifyContent: 'center',
9633
+ color: sectionproperties.paginationColor,
9634
+ border: sectionproperties.paginationBorderWidth + 'px solid ' + sectionproperties.paginationBorderColor,
9635
+ transition: '.3s',
9636
+ ':hover': {
9637
+ color: sectionproperties.paginationColoronHover,
9638
+ borderColor: sectionproperties.paginationColoronHover
9639
+ }
9640
+ }),
9641
+ previousLinkClassName: css({
9642
+ fontSize: sectionproperties.paginationFontSize + 'px',
9643
+ color: sectionproperties.paginationColor,
9644
+ transition: '.3s',
9645
+ ':hover': {
9646
+ color: sectionproperties.paginationColoronHover
9647
+ }
9648
+ }),
9649
+ nextLinkClassName: css({
9650
+ fontSize: sectionproperties.paginationFontSize + 'px',
9651
+ color: sectionproperties.paginationColor,
9652
+ transition: '.3s',
9653
+ ':hover': {
9654
+ color: sectionproperties.paginationColoronHover
9655
+ }
9656
+ }),
9509
9657
  sectiontitlespan: css({
9510
9658
  ':after': {
9511
9659
  height: '5px',
@@ -9769,19 +9917,7 @@ var CardsSection = function CardsSection(props) {
9769
9917
  actions: actions,
9770
9918
  fontFamilyprops: sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : ''
9771
9919
  }));
9772
- }), fetchingtype == 'products' && fetchProductsQuery.isFetchingNextPage && /*#__PURE__*/React.createElement("button", {
9773
- className: section_cssstyles.loadbtn + ' d-flex justify-content-end align-items-center mt-4 ',
9774
- ref: ref,
9775
- onClick: function onClick() {
9776
- return fetchProductsQuery.fetchNextPage();
9777
- },
9778
- disabled: !fetchProductsQuery.hasNextPage || fetchProductsQuery.isFetchingNextPage
9779
- }, /*#__PURE__*/React.createElement(CircularProgress, {
9780
- color: "#000",
9781
- width: "20px",
9782
- height: "20px",
9783
- duration: "1s"
9784
- })))), sectionproperties.view_as_slider_vertical != 'Slider (Horizontal)' && /*#__PURE__*/React.createElement("div", {
9920
+ }))), sectionproperties.view_as_slider_vertical != 'Slider (Horizontal)' && /*#__PURE__*/React.createElement("div", {
9785
9921
  className: "row m-0 w-100 d-flex ",
9786
9922
  style: {
9787
9923
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
@@ -9801,30 +9937,15 @@ var CardsSection = function CardsSection(props) {
9801
9937
  }));
9802
9938
  }), fetchingtype == 'products' && /*#__PURE__*/React.createElement("div", {
9803
9939
  className: "w-100 col-lg-12 allcentered mt-2"
9804
- }, /*#__PURE__*/React.createElement("button", {
9805
- className: section_cssstyles.loadbtn + ' d-flex justify-content-end align-items-center '
9806
- // ref={ref}
9807
- ,
9808
- onClick: function onClick() {
9809
- return fetchProductsQuery.fetchNextPage();
9810
- },
9811
- disabled: !fetchProductsQuery.hasNextPage || fetchProductsQuery.isFetchingNextPage
9812
- }, fetchProductsQuery.isFetchingNextPage ? /*#__PURE__*/React.createElement(CircularProgress, {
9813
- color: "#000",
9814
- width: "20px",
9815
- height: "20px",
9816
- duration: "1s"
9817
- }) : fetchProductsQuery.hasNextPage ? langdetect == 'en' ? 'Load more' : 'المزيد' : /*#__PURE__*/React.createElement(CircularProgress, {
9818
- color: "#000",
9819
- width: "20px",
9820
- height: "20px",
9821
- duration: "1s"
9822
- })))));
9940
+ }, /*#__PURE__*/React.createElement(PaginatedItems, {
9941
+ itemsPerPage: 5
9942
+ }))));
9823
9943
  }
9824
9944
  }
9825
9945
  }))));
9826
9946
  };
9827
9947
  return /*#__PURE__*/React.createElement("div", {
9948
+ ref: refscr,
9828
9949
  "class": ' row m-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
9829
9950
  style: {
9830
9951
  zIndex: 2,
@@ -23438,7 +23559,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
23438
23559
  }
23439
23560
  }, lang.loginregister)))), authdetailsContext.loggedin && /*#__PURE__*/React.createElement("div", {
23440
23561
  "class": header_cssstyles.userBtnLoggedinContainer + ' allcentered ',
23441
- sytle: {
23562
+ style: {
23442
23563
  position: 'relative'
23443
23564
  }
23444
23565
  }, /*#__PURE__*/React.createElement("div", {
@@ -23463,7 +23584,7 @@ var TwoTieredHeader = function TwoTieredHeader(props) {
23463
23584
  }, lang.hello, langdetect == 'en' ? ',' : '،'), /*#__PURE__*/React.createElement("p", {
23464
23585
  "class": header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow ',
23465
23586
  style: {
23466
- maxWidth: '65px'
23587
+ maxWidth: sectionproperties.showfooterphonenumber == 'Show' ? '65px' : '140px'
23467
23588
  }
23468
23589
  }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.name)))), !authdetailsContext.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, null, /*#__PURE__*/React.createElement(Dropdown.Item, {
23469
23590
  onClick: function onClick() {
@@ -39854,7 +39975,7 @@ var Card23 = function Card23(props) {
39854
39975
  fontSize: '12px'
39855
39976
  }
39856
39977
  }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))), /*#__PURE__*/React.createElement("div", {
39857
- "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'row m-0 w-100 pl-sm-0 pr-sm-0' : ' row m-0 w-100' : ' row m-0 w-100',
39978
+ "class": 'row m-0 w-100 pl-sm-0 pr-sm-0',
39858
39979
  style: {
39859
39980
  paddingLeft: '10px',
39860
39981
  paddingRight: '10px',
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('imagekitio-react'), 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-icons/all-files/ri/RiSecurePaymentLine'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fi/FiMapPin'), require('@react-icons/all-files/fa/FaShippingFast'), require('react-share'), require('@babel/runtime/helpers/toConsumableArray'), 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/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/fi/FiLayers'), require('@react-icons/all-files/hi/HiOutlineTrash'), require('@react-icons/all-files/bi/BiSad'), require('react-textarea-autosize'), 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-accessible-accordion'), 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-router-dom'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('react-bootstrap/Dropdown'), require('@react-icons/all-files/hi/HiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineMinus'), 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/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/go/GoSearch'), require('@react-icons/all-files/fi/FiUser'), require('@react-icons/all-files/bi/BiSearch'), require('@react-icons/all-files/ai/AiOutlineHeart'), require('@react-icons/all-files/ai/AiOutlineMail'), 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/ai/AiOutlineInstagram'), require('@react-icons/all-files/bs/BsInfoCircle'), require('@react-icons/all-files/ai/AiFillPhone'), require('@react-icons/all-files/io5/IoClose'), require('@react-icons/all-files/md/MdKeyboardArrowUp'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/fa/FaPhoneAlt'), require('@react-icons/all-files/fa/FaPhone'), require('@react-icons/all-files/go/GoLocation'), require('@react-icons/all-files/ai/AiOutlinePhone'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('react-select'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), 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/bs/BsEye'), require('@react-icons/all-files/bi/BiTimeFive'), require('@react-icons/all-files/io/IoIosArrowUp'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus')) :
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', 'imagekitio-react', '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-icons/all-files/ri/RiSecurePaymentLine', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fi/FiMapPin', '@react-icons/all-files/fa/FaShippingFast', 'react-share', '@babel/runtime/helpers/toConsumableArray', '@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/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/fi/FiLayers', '@react-icons/all-files/hi/HiOutlineTrash', '@react-icons/all-files/bi/BiSad', 'react-textarea-autosize', '@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-accessible-accordion', '@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-router-dom', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-bootstrap/Dropdown', '@react-icons/all-files/hi/HiOutlinePlus', '@react-icons/all-files/ai/AiOutlineMinus', '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/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/go/GoSearch', '@react-icons/all-files/fi/FiUser', '@react-icons/all-files/bi/BiSearch', '@react-icons/all-files/ai/AiOutlineHeart', '@react-icons/all-files/ai/AiOutlineMail', '@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/ai/AiOutlineInstagram', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/io5/IoClose', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/fa/FaPhoneAlt', '@react-icons/all-files/fa/FaPhone', '@react-icons/all-files/go/GoLocation', '@react-icons/all-files/ai/AiOutlinePhone', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', 'react-select', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', '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/bs/BsEye', '@react-icons/all-files/bi/BiTimeFive', '@react-icons/all-files/io/IoIosArrowUp', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus'], 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.imagekitioReact, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar, global.AiOutlineStar, global.RiSecurePaymentLine, global.HiOutlinePhone, global.AiOutlineSecurityScan, global.FiMapPin, global.FaShippingFast, global.reactShare, global._toConsumableArray, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.FiLayers, global.HiOutlineTrash, global.BiSad, global.TextareaAutosize, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.reactAccessibleAccordion, global.BsChevronLeft, global.BsChevronRight, global.RiArrowUpSLine, global.RiArrowDownSLine, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.Dropdown, global.HiOutlinePlus, global.AiOutlineMinus, global.reactIntersectionObserver, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.FiFilter, 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.GoSearch, global.FiUser, global.BiSearch, global.AiOutlineHeart, global.AiOutlineMail, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiFillInstagram, global.FaWhatsapp, global.AiOutlineInstagram, global.BsInfoCircle, global.AiFillPhone, global.IoClose, global.MdKeyboardArrowUp, global.BiGlobe, global.FaPhoneAlt, global.FaPhone, global.GoLocation, global.AiOutlinePhone, global.RiRoadMapLine, global.HiOutlineClock, global.Select$2, global.IoIosArrowRoundForward, global.IoIosArrowRoundBack, global.ReactPlayer, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.BsEye, global.BiTimeFive, global.IoIosArrowUp, global.FiMinus, global.FiPlus));
5
- })(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, reactQuery, imagekitioReact, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart, FiShoppingBag, FiShoppingCart, AiFillStar, AiOutlineStar, RiSecurePaymentLine, HiOutlinePhone, AiOutlineSecurityScan, FiMapPin, FaShippingFast, reactShare, _toConsumableArray, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, FiLayers, HiOutlineTrash, BiSad, TextareaAutosize, HiUser, GrMail, FiCheckCircle, BiPhone, reactAccessibleAccordion, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, reactRouterDom, IoBagCheckOutline, IoBagRemoveOutline, Dropdown, HiOutlinePlus, AiOutlineMinus, reactIntersectionObserver, FaArrowAltCircleRight, FaArrowAltCircleLeft, FiFilter, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, GoSearch, FiUser, BiSearch, AiOutlineHeart, AiOutlineMail, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiFillInstagram, FaWhatsapp, AiOutlineInstagram, BsInfoCircle, AiFillPhone, IoClose, MdKeyboardArrowUp, BiGlobe, FaPhoneAlt, FaPhone, GoLocation, AiOutlinePhone, RiRoadMapLine, HiOutlineClock, Select$2, IoIosArrowRoundForward, IoIosArrowRoundBack, ReactPlayer, BackgroundSlideshow, _extends, reactSlideshowImage, HiOutlineLocationMarker, FiPhoneCall, BsEye, BiTimeFive, IoIosArrowUp, FiMinus, FiPlus) { '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('imagekitio-react'), 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-icons/all-files/ri/RiSecurePaymentLine'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fi/FiMapPin'), require('@react-icons/all-files/fa/FaShippingFast'), require('react-share'), require('@babel/runtime/helpers/toConsumableArray'), 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/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/fi/FiLayers'), require('@react-icons/all-files/hi/HiOutlineTrash'), require('@react-icons/all-files/bi/BiSad'), require('react-textarea-autosize'), 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-accessible-accordion'), 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-router-dom'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('react-bootstrap/Dropdown'), require('@react-icons/all-files/hi/HiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineMinus'), 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-paginate'), 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/go/GoSearch'), require('@react-icons/all-files/fi/FiUser'), require('@react-icons/all-files/bi/BiSearch'), require('@react-icons/all-files/ai/AiOutlineHeart'), require('@react-icons/all-files/ai/AiOutlineMail'), 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/ai/AiOutlineInstagram'), require('@react-icons/all-files/bs/BsInfoCircle'), require('@react-icons/all-files/ai/AiFillPhone'), require('@react-icons/all-files/io5/IoClose'), require('@react-icons/all-files/md/MdKeyboardArrowUp'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/fa/FaPhoneAlt'), require('@react-icons/all-files/fa/FaPhone'), require('@react-icons/all-files/go/GoLocation'), require('@react-icons/all-files/ai/AiOutlinePhone'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('react-select'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), 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/bs/BsEye'), require('@react-icons/all-files/bi/BiTimeFive'), require('@react-icons/all-files/io/IoIosArrowUp'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus')) :
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', 'imagekitio-react', '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-icons/all-files/ri/RiSecurePaymentLine', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fi/FiMapPin', '@react-icons/all-files/fa/FaShippingFast', 'react-share', '@babel/runtime/helpers/toConsumableArray', '@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/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/fi/FiLayers', '@react-icons/all-files/hi/HiOutlineTrash', '@react-icons/all-files/bi/BiSad', 'react-textarea-autosize', '@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-accessible-accordion', '@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-router-dom', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-bootstrap/Dropdown', '@react-icons/all-files/hi/HiOutlinePlus', '@react-icons/all-files/ai/AiOutlineMinus', '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-paginate', '@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/go/GoSearch', '@react-icons/all-files/fi/FiUser', '@react-icons/all-files/bi/BiSearch', '@react-icons/all-files/ai/AiOutlineHeart', '@react-icons/all-files/ai/AiOutlineMail', '@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/ai/AiOutlineInstagram', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/io5/IoClose', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/fa/FaPhoneAlt', '@react-icons/all-files/fa/FaPhone', '@react-icons/all-files/go/GoLocation', '@react-icons/all-files/ai/AiOutlinePhone', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', 'react-select', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', '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/bs/BsEye', '@react-icons/all-files/bi/BiTimeFive', '@react-icons/all-files/io/IoIosArrowUp', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus'], 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.imagekitioReact, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar, global.AiOutlineStar, global.RiSecurePaymentLine, global.HiOutlinePhone, global.AiOutlineSecurityScan, global.FiMapPin, global.FaShippingFast, global.reactShare, global._toConsumableArray, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.FiLayers, global.HiOutlineTrash, global.BiSad, global.TextareaAutosize, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.reactAccessibleAccordion, global.BsChevronLeft, global.BsChevronRight, global.RiArrowUpSLine, global.RiArrowDownSLine, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.Dropdown, global.HiOutlinePlus, global.AiOutlineMinus, global.reactIntersectionObserver, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.FiFilter, global.FiChevronLeft, global.FiChevronRight, global.ReactPaginate, 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.GoSearch, global.FiUser, global.BiSearch, global.AiOutlineHeart, global.AiOutlineMail, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiFillInstagram, global.FaWhatsapp, global.AiOutlineInstagram, global.BsInfoCircle, global.AiFillPhone, global.IoClose, global.MdKeyboardArrowUp, global.BiGlobe, global.FaPhoneAlt, global.FaPhone, global.GoLocation, global.AiOutlinePhone, global.RiRoadMapLine, global.HiOutlineClock, global.Select$2, global.IoIosArrowRoundForward, global.IoIosArrowRoundBack, global.ReactPlayer, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.BsEye, global.BiTimeFive, global.IoIosArrowUp, global.FiMinus, global.FiPlus));
5
+ })(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, reactQuery, imagekitioReact, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart, FiShoppingBag, FiShoppingCart, AiFillStar, AiOutlineStar, RiSecurePaymentLine, HiOutlinePhone, AiOutlineSecurityScan, FiMapPin, FaShippingFast, reactShare, _toConsumableArray, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, FiLayers, HiOutlineTrash, BiSad, TextareaAutosize, HiUser, GrMail, FiCheckCircle, BiPhone, reactAccessibleAccordion, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, reactRouterDom, IoBagCheckOutline, IoBagRemoveOutline, Dropdown, HiOutlinePlus, AiOutlineMinus, reactIntersectionObserver, FaArrowAltCircleRight, FaArrowAltCircleLeft, FiFilter, FiChevronLeft, FiChevronRight, ReactPaginate, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, GoSearch, FiUser, BiSearch, AiOutlineHeart, AiOutlineMail, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiFillInstagram, FaWhatsapp, AiOutlineInstagram, BsInfoCircle, AiFillPhone, IoClose, MdKeyboardArrowUp, BiGlobe, FaPhoneAlt, FaPhone, GoLocation, AiOutlinePhone, RiRoadMapLine, HiOutlineClock, Select$2, IoIosArrowRoundForward, IoIosArrowRoundBack, ReactPlayer, BackgroundSlideshow, _extends, reactSlideshowImage, HiOutlineLocationMarker, FiPhoneCall, BsEye, BiTimeFive, IoIosArrowUp, FiMinus, FiPlus) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -22,6 +22,7 @@
22
22
  var _toConsumableArray__default = /*#__PURE__*/_interopDefaultLegacy(_toConsumableArray);
23
23
  var TextareaAutosize__default = /*#__PURE__*/_interopDefaultLegacy(TextareaAutosize);
24
24
  var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
25
+ var ReactPaginate__default = /*#__PURE__*/_interopDefaultLegacy(ReactPaginate);
25
26
  var Select__default = /*#__PURE__*/_interopDefaultLegacy(Select$2);
26
27
  var ReactPlayer__default = /*#__PURE__*/_interopDefaultLegacy(ReactPlayer);
27
28
  var BackgroundSlideshow__default = /*#__PURE__*/_interopDefaultLegacy(BackgroundSlideshow);
@@ -296,7 +297,8 @@
296
297
  grouptype: '',
297
298
  grouptyperefid: '',
298
299
  sortprice: '',
299
- sortdates: ''
300
+ sortdates: '',
301
+ page: 0
300
302
  }),
301
303
  _useState4 = _slicedToArray__default["default"](_useState3, 2),
302
304
  ProductFilterObjContext = _useState4[0],
@@ -9071,9 +9073,10 @@
9071
9073
  function ownKeys$1B(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; }
9072
9074
  function _objectSpread$1B(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1B(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1B(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
9073
9075
  var CardsSection = function CardsSection(props) {
9074
- var _useInView = reactIntersectionObserver.useInView(),
9075
- ref = _useInView.ref,
9076
- inView = _useInView.inView;
9076
+ var refscr = /*#__PURE__*/React.createRef();
9077
+ var _useInView = reactIntersectionObserver.useInView();
9078
+ _useInView.ref;
9079
+ _useInView.inView;
9077
9080
  var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
9078
9081
  props.actions.lang;
9079
9082
  var langdetect = props.actions.langdetect;
@@ -9123,11 +9126,11 @@
9123
9126
  _useState12 = _slicedToArray__default["default"](_useState11, 2),
9124
9127
  maincontainerarrayofobjs = _useState12[0],
9125
9128
  setmaincontainerarrayofobjs = _useState12[1];
9126
- React__default["default"].useEffect(function () {
9127
- if (inView) {
9128
- fetchProductsQuery.fetchNextPage();
9129
- }
9130
- }, [inView]);
9129
+ // React.useEffect(() => {
9130
+ // if (inView) {
9131
+ // fetchProductsQuery.fetchNextPage();
9132
+ // }
9133
+ // }, [inView]);
9131
9134
  React.useEffect(function () {
9132
9135
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
9133
9136
  if (sectionitem.sectionid == props.sectionidprops) {
@@ -9168,11 +9171,15 @@
9168
9171
  }
9169
9172
  } else if (fetchingtype == 'products') {
9170
9173
  if (fetchProductsQuery.isSuccess) {
9174
+ var _fetchProductsQuery$d, _fetchProductsQuery$d2, _fetchProductsQuery$d3;
9171
9175
  var allpagesarr = [];
9172
- fetchProductsQuery.data.pages.forEach(function (page) {
9173
- page.data.products.forEach(function (productobj) {
9174
- allpagesarr.push(productobj);
9175
- });
9176
+ // fetchProductsQuery.data.pages.forEach((page) => {
9177
+ // page.data.products.forEach((productobj) => {
9178
+ // allpagesarr.push(productobj);
9179
+ // });
9180
+ // });
9181
+ fetchProductsQuery === null || fetchProductsQuery === void 0 ? void 0 : (_fetchProductsQuery$d = fetchProductsQuery.data) === null || _fetchProductsQuery$d === void 0 ? void 0 : (_fetchProductsQuery$d2 = _fetchProductsQuery$d.data) === null || _fetchProductsQuery$d2 === void 0 ? void 0 : (_fetchProductsQuery$d3 = _fetchProductsQuery$d2.products) === null || _fetchProductsQuery$d3 === void 0 ? void 0 : _fetchProductsQuery$d3.forEach(function (item) {
9182
+ allpagesarr.push(item);
9176
9183
  });
9177
9184
  cardobjassigner(allpagesarr);
9178
9185
  }
@@ -9280,11 +9287,15 @@
9280
9287
  React.useEffect(function () {
9281
9288
  if (fetchingtype == 'products') {
9282
9289
  if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
9290
+ var _fetchProductsQuery$d4, _fetchProductsQuery$d5, _fetchProductsQuery$d6;
9283
9291
  var allpagesarr = [];
9284
- fetchProductsQuery.data.pages.forEach(function (page) {
9285
- page.data.products.forEach(function (productobj) {
9286
- allpagesarr.push(productobj);
9287
- });
9292
+ // fetchProductsQuery.data.pages.forEach((page) => {
9293
+ // page.data.products.forEach((productobj) => {
9294
+ // allpagesarr.push(productobj);
9295
+ // });
9296
+ // });
9297
+ 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) {
9298
+ allpagesarr.push(item);
9288
9299
  });
9289
9300
  cardobjassigner(allpagesarr);
9290
9301
  }
@@ -9412,7 +9423,142 @@
9412
9423
  });
9413
9424
  setcardsarray([].concat(temparray));
9414
9425
  };
9426
+ // Example items, to simulate fetching from another resources.
9427
+
9428
+ var handlePageClick = function handlePageClick(event) {
9429
+ props.scrolltotop();
9430
+ var tempProductFilterObjContext = _objectSpread$1B({}, ProductFilterObjContext);
9431
+ tempProductFilterObjContext.page = event.selected;
9432
+ setProductFilterObjContext(_objectSpread$1B({}, tempProductFilterObjContext));
9433
+ };
9434
+ function PaginatedItems(_ref) {
9435
+ var _fetchProductsQuery$d7, _fetchProductsQuery$d8, _fetchProductsQuery$d9, _fetchProductsQuery$d10;
9436
+ _ref.itemsPerPage;
9437
+ // Here we use item offsets; we could also use page offsets
9438
+ // following the API or data you're working with.
9439
+ var _useState13 = React.useState(0),
9440
+ _useState14 = _slicedToArray__default["default"](_useState13, 2);
9441
+ _useState14[0];
9442
+ _useState14[1];
9443
+
9444
+ // const currentItems = items.slice(itemOffset, endOffset);
9445
+ // const pageCount = Math.ceil(items.length / itemsPerPage);
9446
+ 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);
9447
+ //
9448
+
9449
+ // Invoke when user click to request another page.
9450
+
9451
+ return /*#__PURE__*/React__default["default"].createElement("div", {
9452
+ "class": "d-flex containerClassName"
9453
+ }, /*#__PURE__*/React__default["default"].createElement(ReactPaginate__default["default"], {
9454
+ breakLabel: "...",
9455
+ 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,
9456
+ nextLabel: /*#__PURE__*/React__default["default"].createElement(FiChevronRight.FiChevronRight, {
9457
+ size: parseInt(sectionproperties.paginationFontSize) + 3
9458
+ }),
9459
+ onPageChange: handlePageClick,
9460
+ active: true,
9461
+ pageRangeDisplayed: 5,
9462
+ pageCount: pageCount,
9463
+ previousLabel: /*#__PURE__*/React__default["default"].createElement(FiChevronLeft.FiChevronLeft, {
9464
+ size: parseInt(sectionproperties.paginationFontSize) + 3
9465
+ }),
9466
+ renderOnZeroPageCount: null,
9467
+ pageLinkClassName: section_cssstyles.pageLinkClassName,
9468
+ nextLinkClassName: section_cssstyles.nextLinkClassName,
9469
+ previousLinkClassName: section_cssstyles.previousLinkClassName,
9470
+ activeClassName: section_cssstyles.activeClassName,
9471
+ activeLinkClassName: section_cssstyles.activeLinkClassName,
9472
+ previousClassName: section_cssstyles.previousClassName,
9473
+ nextClassName: section_cssstyles.nextClassName,
9474
+ disabledClassName: section_cssstyles.disabledClassName,
9475
+ disabledLinkClassName: section_cssstyles.disabledLinkClassName
9476
+ }));
9477
+ }
9415
9478
  var section_cssstyles = {
9479
+ disabledClassName: glamor.css({
9480
+ cursor: 'not-allowed',
9481
+ ':hover': {
9482
+ cursor: 'not-allowed',
9483
+ color: sectionproperties.paginationColor
9484
+ }
9485
+ }),
9486
+ disabledLinkClassName: glamor.css({
9487
+ cursor: 'not-allowed',
9488
+ ':hover': {
9489
+ cursor: 'not-allowed',
9490
+ color: sectionproperties.paginationColor
9491
+ }
9492
+ }),
9493
+ pageLinkClassName: glamor.css({
9494
+ minWidth: sectionproperties.paginationContainerWidth + 'vh',
9495
+ height: sectionproperties.paginationContainerHeight + 'vh',
9496
+ padding: '17px',
9497
+ display: 'flex',
9498
+ alignItems: 'center',
9499
+ justifyContent: 'center',
9500
+ color: sectionproperties.paginationColor,
9501
+ border: sectionproperties.paginationBorderWidth + 'px solid ' + sectionproperties.paginationBorderColor,
9502
+ transition: '.3s',
9503
+ ':hover': {
9504
+ color: sectionproperties.paginationColoronHover,
9505
+ borderColor: sectionproperties.paginationColoronHover
9506
+ }
9507
+ }),
9508
+ activeClassName: glamor.css({
9509
+ color: sectionproperties.paginationActiveColor,
9510
+ borderColor: sectionproperties.paginationActiveColor
9511
+ }),
9512
+ activeLinkClassName: glamor.css({
9513
+ color: sectionproperties.paginationActiveColor,
9514
+ borderColor: sectionproperties.paginationActiveColor
9515
+ }),
9516
+ previousClassName: glamor.css({
9517
+ width: sectionproperties.paginationContainerWidth + 'vh',
9518
+ height: sectionproperties.paginationContainerHeight + 'vh',
9519
+ padding: '17px',
9520
+ display: 'flex',
9521
+ alignItems: 'center',
9522
+ justifyContent: 'center',
9523
+ color: sectionproperties.paginationColor,
9524
+ border: sectionproperties.paginationBorderWidth + 'px solid ' + sectionproperties.paginationBorderColor,
9525
+ transition: '.3s',
9526
+ ':hover': {
9527
+ color: sectionproperties.paginationColoronHover,
9528
+ borderColor: sectionproperties.paginationColoronHover
9529
+ }
9530
+ }),
9531
+ nextClassName: glamor.css({
9532
+ width: sectionproperties.paginationContainerWidth + 'vh',
9533
+ height: sectionproperties.paginationContainerHeight + 'vh',
9534
+ padding: '17px',
9535
+ display: 'flex',
9536
+ alignItems: 'center',
9537
+ justifyContent: 'center',
9538
+ color: sectionproperties.paginationColor,
9539
+ border: sectionproperties.paginationBorderWidth + 'px solid ' + sectionproperties.paginationBorderColor,
9540
+ transition: '.3s',
9541
+ ':hover': {
9542
+ color: sectionproperties.paginationColoronHover,
9543
+ borderColor: sectionproperties.paginationColoronHover
9544
+ }
9545
+ }),
9546
+ previousLinkClassName: glamor.css({
9547
+ fontSize: sectionproperties.paginationFontSize + 'px',
9548
+ color: sectionproperties.paginationColor,
9549
+ transition: '.3s',
9550
+ ':hover': {
9551
+ color: sectionproperties.paginationColoronHover
9552
+ }
9553
+ }),
9554
+ nextLinkClassName: glamor.css({
9555
+ fontSize: sectionproperties.paginationFontSize + 'px',
9556
+ color: sectionproperties.paginationColor,
9557
+ transition: '.3s',
9558
+ ':hover': {
9559
+ color: sectionproperties.paginationColoronHover
9560
+ }
9561
+ }),
9416
9562
  sectiontitlespan: glamor.css({
9417
9563
  ':after': {
9418
9564
  height: '5px',
@@ -9676,19 +9822,7 @@
9676
9822
  actions: actions,
9677
9823
  fontFamilyprops: sectionproperties.sectiontitlefontfamily == 'ASUL' ? 'ASUL' : ''
9678
9824
  }));
9679
- }), fetchingtype == 'products' && fetchProductsQuery.isFetchingNextPage && /*#__PURE__*/React__default["default"].createElement("button", {
9680
- className: section_cssstyles.loadbtn + ' d-flex justify-content-end align-items-center mt-4 ',
9681
- ref: ref,
9682
- onClick: function onClick() {
9683
- return fetchProductsQuery.fetchNextPage();
9684
- },
9685
- disabled: !fetchProductsQuery.hasNextPage || fetchProductsQuery.isFetchingNextPage
9686
- }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
9687
- color: "#000",
9688
- width: "20px",
9689
- height: "20px",
9690
- duration: "1s"
9691
- })))), sectionproperties.view_as_slider_vertical != 'Slider (Horizontal)' && /*#__PURE__*/React__default["default"].createElement("div", {
9825
+ }))), sectionproperties.view_as_slider_vertical != 'Slider (Horizontal)' && /*#__PURE__*/React__default["default"].createElement("div", {
9692
9826
  className: "row m-0 w-100 d-flex ",
9693
9827
  style: {
9694
9828
  justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
@@ -9708,30 +9842,15 @@
9708
9842
  }));
9709
9843
  }), fetchingtype == 'products' && /*#__PURE__*/React__default["default"].createElement("div", {
9710
9844
  className: "w-100 col-lg-12 allcentered mt-2"
9711
- }, /*#__PURE__*/React__default["default"].createElement("button", {
9712
- className: section_cssstyles.loadbtn + ' d-flex justify-content-end align-items-center '
9713
- // ref={ref}
9714
- ,
9715
- onClick: function onClick() {
9716
- return fetchProductsQuery.fetchNextPage();
9717
- },
9718
- disabled: !fetchProductsQuery.hasNextPage || fetchProductsQuery.isFetchingNextPage
9719
- }, fetchProductsQuery.isFetchingNextPage ? /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
9720
- color: "#000",
9721
- width: "20px",
9722
- height: "20px",
9723
- duration: "1s"
9724
- }) : fetchProductsQuery.hasNextPage ? langdetect == 'en' ? 'Load more' : 'المزيد' : /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
9725
- color: "#000",
9726
- width: "20px",
9727
- height: "20px",
9728
- duration: "1s"
9729
- })))));
9845
+ }, /*#__PURE__*/React__default["default"].createElement(PaginatedItems, {
9846
+ itemsPerPage: 5
9847
+ }))));
9730
9848
  }
9731
9849
  }
9732
9850
  }))));
9733
9851
  };
9734
9852
  return /*#__PURE__*/React__default["default"].createElement("div", {
9853
+ ref: refscr,
9735
9854
  "class": ' row m-0 d-flex justify-content-center ml-auto mr-auto w-md-100 w-sm-100 ',
9736
9855
  style: {
9737
9856
  zIndex: 2,
@@ -23345,7 +23464,7 @@
23345
23464
  }
23346
23465
  }, lang.loginregister)))), authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement("div", {
23347
23466
  "class": header_cssstyles.userBtnLoggedinContainer + ' allcentered ',
23348
- sytle: {
23467
+ style: {
23349
23468
  position: 'relative'
23350
23469
  }
23351
23470
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -23370,7 +23489,7 @@
23370
23489
  }, lang.hello, langdetect == 'en' ? ',' : '،'), /*#__PURE__*/React__default["default"].createElement("p", {
23371
23490
  "class": header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow ',
23372
23491
  style: {
23373
- maxWidth: '65px'
23492
+ maxWidth: sectionproperties.showfooterphonenumber == 'Show' ? '65px' : '140px'
23374
23493
  }
23375
23494
  }, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$c = authdetailsContext.customerinfo) === null || _authdetailsContext$c === void 0 ? void 0 : _authdetailsContext$c.name)))), !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Menu, null, /*#__PURE__*/React__default["default"].createElement(Dropdown__default["default"].Item, {
23376
23495
  onClick: function onClick() {
@@ -39761,7 +39880,7 @@
39761
39880
  fontSize: '12px'
39762
39881
  }
39763
39882
  }, langdetect == 'en' ? sectionproperties.badgeContentEn : sectionproperties.badgeContentAr))), /*#__PURE__*/React__default["default"].createElement("div", {
39764
- "class": sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0 ? langdetect == 'en' ? 'row m-0 w-100 pl-sm-0 pr-sm-0' : ' row m-0 w-100' : ' row m-0 w-100',
39883
+ "class": 'row m-0 w-100 pl-sm-0 pr-sm-0',
39765
39884
  style: {
39766
39885
  paddingLeft: '10px',
39767
39886
  paddingRight: '10px',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.172",
3
+ "version": "0.0.174",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {
@@ -29,6 +29,7 @@
29
29
  "react-image-gallery": "^1.2.9",
30
30
  "react-intersection-observer": "^9.4.0",
31
31
  "react-notifications": "^1.7.4",
32
+ "react-paginate": "^8.1.4",
32
33
  "react-player": "^2.11.0",
33
34
  "react-query": "^3.39.2",
34
35
  "react-router": "^6.3.0",