tabexseriescomponents 0.0.455 → 0.0.458

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
@@ -86,6 +86,7 @@ var IoBagRemoveOutline = require('@react-icons/all-files/io5/IoBagRemoveOutline'
86
86
  var InputRange = require('react-input-range');
87
87
  var reactIntersectionObserver = require('react-intersection-observer');
88
88
  var FiFilter = require('@react-icons/all-files/fi/FiFilter');
89
+ var FiSliders = require('@react-icons/all-files/fi/FiSliders');
89
90
  var FiChevronLeft = require('@react-icons/all-files/fi/FiChevronLeft');
90
91
  var FiChevronRight = require('@react-icons/all-files/fi/FiChevronRight');
91
92
  var HiOutlineArrowRight = require('@react-icons/all-files/hi/HiOutlineArrowRight');
@@ -14239,13 +14240,28 @@ var Filter$1 = function Filter(props) {
14239
14240
  }, [raterangevalue]);
14240
14241
  React.useEffect(function () {
14241
14242
  if (fetchCategoriesQueryContext.isSuccess && fetchcollectionsQueryContext.isSuccess) {
14243
+ var parentcollections_for_collectionsFilter = null;
14244
+ var IsValid_parentcollections_for_collectionsFilter = false;
14245
+ if (ProductFilterObjContext.parentcollections_for_collectionsFilter != undefined && ProductFilterObjContext.parentcollections_for_collectionsFilter != null && Array.isArray(ProductFilterObjContext.parentcollections_for_collectionsFilter)) {
14246
+ parentcollections_for_collectionsFilter = ProductFilterObjContext.parentcollections_for_collectionsFilter;
14247
+ }
14248
+ if (parentcollections_for_collectionsFilter != null && Array.isArray(parentcollections_for_collectionsFilter) && parentcollections_for_collectionsFilter.length != 0) {
14249
+ // parentcollections_for_collectionsFilter?.forEach(function(item,index){
14250
+ // if(item.)
14251
+ // })
14252
+ IsValid_parentcollections_for_collectionsFilter = true;
14253
+ }
14242
14254
  if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.filterretreivetype) == 'Depend on chosen parent group') {
14243
14255
  if ((ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections) != undefined && (ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections) != null && Array.isArray(ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections)) {
14244
14256
  var _parentidsfound;
14245
14257
  var collectiontobevisible = [];
14246
14258
  var parentidsfound = [];
14247
- if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
14248
- parentidsfound = ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections;
14259
+ if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection' || IsValid_parentcollections_for_collectionsFilter == true) {
14260
+ if (parentcollections_for_collectionsFilter != null) {
14261
+ parentidsfound = parentcollections_for_collectionsFilter;
14262
+ } else {
14263
+ parentidsfound = ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections;
14264
+ }
14249
14265
  } else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
14250
14266
  instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
14251
14267
  var _ProductFilterObjCont;
@@ -14439,6 +14455,9 @@ var Filter$1 = function Filter(props) {
14439
14455
  var _tempfetchproductsfil2;
14440
14456
  var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
14441
14457
  var CollectionExists = false;
14458
+ if (tempfetchproductsfilerobjcontext.ProductFetchingType == 'Parent Collection' && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter == undefined) {
14459
+ tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter = tempfetchproductsfilerobjcontext.collections;
14460
+ }
14442
14461
  tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil2 = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil2 === void 0 || _tempfetchproductsfil2.forEach(function (filteritem, filterindex) {
14443
14462
  if (filteritem == collectionid) {
14444
14463
  CollectionExists = true;
@@ -15889,10 +15908,42 @@ var Filter$1 = function Filter(props) {
15889
15908
  borderRadius: sectionproperties.filter_borderBottomLeftRadius + 'px'
15890
15909
  },
15891
15910
  backdrop: true
15892
- }, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, /*#__PURE__*/React__default["default"].createElement("div", {
15911
+ }, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
15912
+ "class": "allcentered",
15913
+ style: {
15914
+ position: 'absolute',
15915
+ left: -34,
15916
+ top: 5,
15917
+ width: 30,
15918
+ height: 30,
15919
+ background: '#000'
15920
+ },
15921
+ onClick: function onClick() {
15922
+ props.setopenFilterSlider(false);
15923
+ }
15924
+ }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
15925
+ color: '#fff',
15926
+ size: 16
15927
+ })), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
15928
+ "class": "allcentered",
15929
+ style: {
15930
+ position: 'absolute',
15931
+ right: -34,
15932
+ top: 5,
15933
+ width: 30,
15934
+ height: 30,
15935
+ background: '#000'
15936
+ },
15937
+ onClick: function onClick() {
15938
+ props.setopenFilterSlider(false);
15939
+ }
15940
+ }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
15941
+ color: '#fff',
15942
+ size: 16
15943
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
15893
15944
  className: "row m-0 w-100 mt-2"
15894
15945
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15895
- className: "col-lg-9 col-md-9 col-sm-9 d-none align-items-center d-md-flex"
15946
+ className: "col-12 d-none justify-content-center align-items-center d-md-flex my-2"
15896
15947
  }, /*#__PURE__*/React__default["default"].createElement("p", {
15897
15948
  className: "m-0 p-0 font-16 font-weight-600",
15898
15949
  style: {
@@ -15901,21 +15952,7 @@ var Filter$1 = function Filter(props) {
15901
15952
  fontWeight: sectionproperties.filter_titlefontweight,
15902
15953
  textTransform: sectionproperties.filter_titletextransform
15903
15954
  }
15904
- }, langdetect == 'en' ? 'Filter' : 'فلترة')), /*#__PURE__*/React__default["default"].createElement("div", {
15905
- className: "col-lg-3 col-md-3 col-sm-3 d-none d-md-flex align-items-center justify-content-end p-0"
15906
- }, /*#__PURE__*/React__default["default"].createElement("div", {
15907
- className: "".concat(filterstyles.close_menu_icon_cont, " ").concat(filter_cssstyles.close_menu_icon_cont) + ' d-none d-md-flex align-items-center justify-content-center ',
15908
- onClick: function onClick() {
15909
- props.setopenFilterSlider(false);
15910
- }
15911
- }, /*#__PURE__*/React__default["default"].createElement("i", {
15912
- className: "h-100 d-flex align-items-center justify-content-center"
15913
- }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
15914
- size: sectionproperties.closeSlider_fontSize,
15915
- style: {
15916
- color: sectionproperties.closeSlider_color
15917
- }
15918
- })))), /*#__PURE__*/React__default["default"].createElement("div", {
15955
+ }, langdetect == 'en' ? 'Filter & Sort' : 'فلترة')), /*#__PURE__*/React__default["default"].createElement("div", {
15919
15956
  "class": "col-lg-12"
15920
15957
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
15921
15958
  "class": "mt-2 mb-2"
@@ -16632,6 +16669,14 @@ var CardsSection = function CardsSection(props) {
16632
16669
  });
16633
16670
  }
16634
16671
  cardobj.image = arrayItem.productinfo.productmainimage;
16672
+ cardobj.producttags = arrayItem.tags;
16673
+ if (langdetect == 'en') {
16674
+ var _arrayItem$features;
16675
+ cardobj.productfeature = arrayItem === null || arrayItem === void 0 || (_arrayItem$features = arrayItem.features) === null || _arrayItem$features === void 0 ? void 0 : _arrayItem$features.value_en;
16676
+ } else {
16677
+ var _arrayItem$features2;
16678
+ cardobj.productfeature = arrayItem === null || arrayItem === void 0 || (_arrayItem$features2 = arrayItem.features) === null || _arrayItem$features2 === void 0 ? void 0 : _arrayItem$features2.value_ar;
16679
+ }
16635
16680
  cardobj.hassale = arrayItem.productinfo.hassale;
16636
16681
  cardobj.productid = arrayItem.productinfo.productid;
16637
16682
  cardobj.hasvariants = arrayItem.productinfo.hasvariants;
@@ -16678,6 +16723,8 @@ var CardsSection = function CardsSection(props) {
16678
16723
  cardobj.description = arrayItem.description_ar;
16679
16724
  }
16680
16725
  cardobj.image = arrayItem.collectionlogo;
16726
+ cardobj.producttags = [];
16727
+ cardobj.productfeatures = [];
16681
16728
  } else if (fetchingtype == 'categories') {
16682
16729
  cardobj.collectionid = arrayItem.categoryid;
16683
16730
  cardobj.skiplayeronclick = arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.skiplayeronclick;
@@ -16689,6 +16736,8 @@ var CardsSection = function CardsSection(props) {
16689
16736
  cardobj.description = arrayItem.description_ar;
16690
16737
  }
16691
16738
  cardobj.image = arrayItem.categorylogo;
16739
+ cardobj.producttags = [];
16740
+ cardobj.productfeatures = [];
16692
16741
  } else if (fetchingtype == 'parentcollections' || fetchingtype == 'innercategories') {
16693
16742
  cardobj.collectionid = arrayItem.parentcollectionid;
16694
16743
  cardobj.skiplayeronclick = arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.skiplayeronclick;
@@ -16700,10 +16749,17 @@ var CardsSection = function CardsSection(props) {
16700
16749
  cardobj.description = arrayItem.description_ar;
16701
16750
  }
16702
16751
  cardobj.image = arrayItem.parentcollectionlogo;
16703
- } else if (fetchingtype == 'custom') ; else if (fetchingtype == 'vendors') {
16752
+ cardobj.producttags = [];
16753
+ cardobj.productfeatures = [];
16754
+ } else if (fetchingtype == 'custom') {
16755
+ cardobj.producttags = [];
16756
+ cardobj.productfeatures = [];
16757
+ } else if (fetchingtype == 'vendors') {
16704
16758
  cardobj.name = arrayItem.vendorname;
16705
16759
  cardobj.collectionid = arrayItem.vendorid;
16706
16760
  cardobj.image = arrayItem.vendorlogourl;
16761
+ cardobj.producttags = [];
16762
+ cardobj.productfeatures = [];
16707
16763
  }
16708
16764
  temparray.push(cardobj);
16709
16765
  });
@@ -17203,7 +17259,7 @@ var CardsSection = function CardsSection(props) {
17203
17259
  }) : /*#__PURE__*/React__default["default"].createElement(HiOutlineArrowLeft.HiOutlineArrowLeft, {
17204
17260
  size: sectionproperties.viewmoreiconfontsizeresp,
17205
17261
  color: sectionproperties.viewmorebtn_Textcolor
17206
- })))), sectionproperties.showFilter == 'show' && sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection != 'Collections Horizontal' && /*#__PURE__*/React__default["default"].createElement("button", {
17262
+ })))), sectionproperties.showFilter == 'show' && sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection != 'Collections Horizontal' && sectionproperties.filterbtnstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("button", {
17207
17263
  "class": sectionproperties.filterdirection == 'Horizontal' ? ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ' : ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ',
17208
17264
  onClick: function onClick() {
17209
17265
  setopenFilterSlider(true);
@@ -17219,11 +17275,31 @@ var CardsSection = function CardsSection(props) {
17219
17275
  }
17220
17276
  }, langdetect == 'en' ? sectionproperties.filterbtntexten : sectionproperties.filterbtntextar), sectionproperties.filterbtniconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("i", {
17221
17277
  "class": "h-100 d-flex align-items-center justify-content-center"
17222
- }, /*#__PURE__*/React__default["default"].createElement(FiFilter.FiFilter, {
17278
+ }, /*#__PURE__*/React__default["default"].createElement(BsSliders, {
17223
17279
  style: {
17224
17280
  fontSize: sectionproperties.filterbtniconfontsize
17225
17281
  }
17226
- })))))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
17282
+ })))), sectionproperties.showFilter == 'show' && sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection != 'Collections Horizontal' && sectionproperties.filterbtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("button", {
17283
+ "class": sectionproperties.filterdirection == 'Horizontal' ? ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ' : ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ',
17284
+ onClick: function onClick() {
17285
+ setopenFilterSlider(true);
17286
+ },
17287
+ style: {
17288
+ color: sectionproperties.filterbtn_Textcolor
17289
+ }
17290
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
17291
+ "class": "h-100 d-flex align-items-center justify-content-center",
17292
+ style: {
17293
+ transform: 'rotate(90deg)'
17294
+ }
17295
+ }, /*#__PURE__*/React__default["default"].createElement(FiSliders.FiSliders, {
17296
+ style: {
17297
+ fontSize: 15,
17298
+ color: sectionproperties.filterbtn_Textcolor
17299
+ }
17300
+ })), /*#__PURE__*/React__default["default"].createElement("span", {
17301
+ "class": "mx-2"
17302
+ }, langdetect == 'en' ? 'Filter & Sort By' : 'فلتر')))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
17227
17303
  "class": "col-lg-12 p-0"
17228
17304
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
17229
17305
  "class": "mt-3 mb-2",
@@ -28948,7 +29024,7 @@ var Header8 = function Header8(props) {
28948
29024
  borderBottomRightRadius: langdetect == 'en' ? 0 : '',
28949
29025
  borderBottomLeftRadius: langdetect == 'ar' ? 0 : '',
28950
29026
  borderTopLeftRadius: langdetect == 'ar' ? 0 : '',
28951
- zIndex: 100
29027
+ zIndex: 100000
28952
29028
  }
28953
29029
  }, /*#__PURE__*/React__default["default"].createElement("li", {
28954
29030
  "class": langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'
@@ -71525,6 +71601,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
71525
71601
  function ownKeys$6(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
71526
71602
  function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
71527
71603
  var Simpleproductcard = function Simpleproductcard(props) {
71604
+ var _item$producttags, _item$producttags$;
71528
71605
  var _useState = React.useState(''),
71529
71606
  _useState2 = _slicedToArray__default["default"](_useState, 2),
71530
71607
  sectionproperties = _useState2[0],
@@ -71869,7 +71946,26 @@ var Simpleproductcard = function Simpleproductcard(props) {
71869
71946
  fontSize: sectionproperties.pillfontSize + 'px',
71870
71947
  direction: 'ltr'
71871
71948
  }
71872
- }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React__default["default"].createElement("div", {
71949
+ }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags = item.producttags) === null || _item$producttags === void 0 ? void 0 : _item$producttags.length) != 0 && sectionproperties.showtag == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
71950
+ "class": "allcentered",
71951
+ style: {
71952
+ position: 'absolute',
71953
+ bottom: 20,
71954
+ width: '100%',
71955
+ left: 0,
71956
+ right: 0,
71957
+ zIndex: 100
71958
+ }
71959
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
71960
+ "class": "px-3 py-1",
71961
+ style: {
71962
+ width: 'fit-content',
71963
+ background: sectionproperties.tagbackgroundcolor,
71964
+ borderRadius: sectionproperties.tagborderradius + 'px',
71965
+ color: sectionproperties.tagcolor,
71966
+ fontSize: 12
71967
+ }
71968
+ }, item === null || item === void 0 || (_item$producttags$ = item.producttags[0]) === null || _item$producttags$ === void 0 || (_item$producttags$ = _item$producttags$.taginfo) === null || _item$producttags$ === void 0 ? void 0 : _item$producttags$.tagname)), /*#__PURE__*/React__default["default"].createElement("div", {
71873
71969
  "class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$7.imagecontainer) + ' d-flex d-md-none ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-flex d-md-none ',
71874
71970
  style: {
71875
71971
  marginBottom: sectionproperties.image_mb + 'px'
@@ -71892,7 +71988,18 @@ var Simpleproductcard = function Simpleproductcard(props) {
71892
71988
  "class": "m-0 p-0"
71893
71989
  }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
71894
71990
  "class": "row m-0 w-100 "
71895
- }, sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
71991
+ }, sectionproperties.showfeatures == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
71992
+ "class": "allcentered col-lg-12 p-0",
71993
+ style: {
71994
+ height: 40
71995
+ }
71996
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
71997
+ "class": "text-capitalize",
71998
+ style: {
71999
+ color: sectionproperties.tagcolor,
72000
+ fontSize: 14
72001
+ }
72002
+ }, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
71896
72003
  "class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
71897
72004
  style: {
71898
72005
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
package/dist/index.esm.js CHANGED
@@ -84,6 +84,7 @@ import { IoBagRemoveOutline } from '@react-icons/all-files/io5/IoBagRemoveOutlin
84
84
  import InputRange from 'react-input-range';
85
85
  import { useInView } from 'react-intersection-observer';
86
86
  import { FiFilter } from '@react-icons/all-files/fi/FiFilter';
87
+ import { FiSliders } from '@react-icons/all-files/fi/FiSliders';
87
88
  import { FiChevronLeft } from '@react-icons/all-files/fi/FiChevronLeft';
88
89
  import { FiChevronRight } from '@react-icons/all-files/fi/FiChevronRight';
89
90
  import { HiOutlineArrowRight } from '@react-icons/all-files/hi/HiOutlineArrowRight';
@@ -14190,13 +14191,28 @@ var Filter$1 = function Filter(props) {
14190
14191
  }, [raterangevalue]);
14191
14192
  useEffect(function () {
14192
14193
  if (fetchCategoriesQueryContext.isSuccess && fetchcollectionsQueryContext.isSuccess) {
14194
+ var parentcollections_for_collectionsFilter = null;
14195
+ var IsValid_parentcollections_for_collectionsFilter = false;
14196
+ if (ProductFilterObjContext.parentcollections_for_collectionsFilter != undefined && ProductFilterObjContext.parentcollections_for_collectionsFilter != null && Array.isArray(ProductFilterObjContext.parentcollections_for_collectionsFilter)) {
14197
+ parentcollections_for_collectionsFilter = ProductFilterObjContext.parentcollections_for_collectionsFilter;
14198
+ }
14199
+ if (parentcollections_for_collectionsFilter != null && Array.isArray(parentcollections_for_collectionsFilter) && parentcollections_for_collectionsFilter.length != 0) {
14200
+ // parentcollections_for_collectionsFilter?.forEach(function(item,index){
14201
+ // if(item.)
14202
+ // })
14203
+ IsValid_parentcollections_for_collectionsFilter = true;
14204
+ }
14193
14205
  if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.filterretreivetype) == 'Depend on chosen parent group') {
14194
14206
  if ((ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections) != undefined && (ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections) != null && Array.isArray(ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections)) {
14195
14207
  var _parentidsfound;
14196
14208
  var collectiontobevisible = [];
14197
14209
  var parentidsfound = [];
14198
- if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
14199
- parentidsfound = ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections;
14210
+ if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection' || IsValid_parentcollections_for_collectionsFilter == true) {
14211
+ if (parentcollections_for_collectionsFilter != null) {
14212
+ parentidsfound = parentcollections_for_collectionsFilter;
14213
+ } else {
14214
+ parentidsfound = ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections;
14215
+ }
14200
14216
  } else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
14201
14217
  instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
14202
14218
  var _ProductFilterObjCont;
@@ -14390,6 +14406,9 @@ var Filter$1 = function Filter(props) {
14390
14406
  var _tempfetchproductsfil2;
14391
14407
  var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
14392
14408
  var CollectionExists = false;
14409
+ if (tempfetchproductsfilerobjcontext.ProductFetchingType == 'Parent Collection' && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter == undefined) {
14410
+ tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter = tempfetchproductsfilerobjcontext.collections;
14411
+ }
14393
14412
  tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil2 = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil2 === void 0 || _tempfetchproductsfil2.forEach(function (filteritem, filterindex) {
14394
14413
  if (filteritem == collectionid) {
14395
14414
  CollectionExists = true;
@@ -15840,10 +15859,42 @@ var Filter$1 = function Filter(props) {
15840
15859
  borderRadius: sectionproperties.filter_borderBottomLeftRadius + 'px'
15841
15860
  },
15842
15861
  backdrop: true
15843
- }, /*#__PURE__*/React.createElement(Offcanvas.Header, null, /*#__PURE__*/React.createElement(Offcanvas.Title, null, /*#__PURE__*/React.createElement("div", {
15862
+ }, /*#__PURE__*/React.createElement(Offcanvas.Header, null, /*#__PURE__*/React.createElement(Offcanvas.Title, null, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
15863
+ "class": "allcentered",
15864
+ style: {
15865
+ position: 'absolute',
15866
+ left: -34,
15867
+ top: 5,
15868
+ width: 30,
15869
+ height: 30,
15870
+ background: '#000'
15871
+ },
15872
+ onClick: function onClick() {
15873
+ props.setopenFilterSlider(false);
15874
+ }
15875
+ }, /*#__PURE__*/React.createElement(IoMdClose, {
15876
+ color: '#fff',
15877
+ size: 16
15878
+ })), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
15879
+ "class": "allcentered",
15880
+ style: {
15881
+ position: 'absolute',
15882
+ right: -34,
15883
+ top: 5,
15884
+ width: 30,
15885
+ height: 30,
15886
+ background: '#000'
15887
+ },
15888
+ onClick: function onClick() {
15889
+ props.setopenFilterSlider(false);
15890
+ }
15891
+ }, /*#__PURE__*/React.createElement(IoMdClose, {
15892
+ color: '#fff',
15893
+ size: 16
15894
+ })), /*#__PURE__*/React.createElement("div", {
15844
15895
  className: "row m-0 w-100 mt-2"
15845
15896
  }, /*#__PURE__*/React.createElement("div", {
15846
- className: "col-lg-9 col-md-9 col-sm-9 d-none align-items-center d-md-flex"
15897
+ className: "col-12 d-none justify-content-center align-items-center d-md-flex my-2"
15847
15898
  }, /*#__PURE__*/React.createElement("p", {
15848
15899
  className: "m-0 p-0 font-16 font-weight-600",
15849
15900
  style: {
@@ -15852,21 +15903,7 @@ var Filter$1 = function Filter(props) {
15852
15903
  fontWeight: sectionproperties.filter_titlefontweight,
15853
15904
  textTransform: sectionproperties.filter_titletextransform
15854
15905
  }
15855
- }, langdetect == 'en' ? 'Filter' : 'فلترة')), /*#__PURE__*/React.createElement("div", {
15856
- className: "col-lg-3 col-md-3 col-sm-3 d-none d-md-flex align-items-center justify-content-end p-0"
15857
- }, /*#__PURE__*/React.createElement("div", {
15858
- className: "".concat(filterstyles.close_menu_icon_cont, " ").concat(filter_cssstyles.close_menu_icon_cont) + ' d-none d-md-flex align-items-center justify-content-center ',
15859
- onClick: function onClick() {
15860
- props.setopenFilterSlider(false);
15861
- }
15862
- }, /*#__PURE__*/React.createElement("i", {
15863
- className: "h-100 d-flex align-items-center justify-content-center"
15864
- }, /*#__PURE__*/React.createElement(IoMdClose, {
15865
- size: sectionproperties.closeSlider_fontSize,
15866
- style: {
15867
- color: sectionproperties.closeSlider_color
15868
- }
15869
- })))), /*#__PURE__*/React.createElement("div", {
15906
+ }, langdetect == 'en' ? 'Filter & Sort' : 'فلترة')), /*#__PURE__*/React.createElement("div", {
15870
15907
  "class": "col-lg-12"
15871
15908
  }, /*#__PURE__*/React.createElement("hr", {
15872
15909
  "class": "mt-2 mb-2"
@@ -16583,6 +16620,14 @@ var CardsSection = function CardsSection(props) {
16583
16620
  });
16584
16621
  }
16585
16622
  cardobj.image = arrayItem.productinfo.productmainimage;
16623
+ cardobj.producttags = arrayItem.tags;
16624
+ if (langdetect == 'en') {
16625
+ var _arrayItem$features;
16626
+ cardobj.productfeature = arrayItem === null || arrayItem === void 0 || (_arrayItem$features = arrayItem.features) === null || _arrayItem$features === void 0 ? void 0 : _arrayItem$features.value_en;
16627
+ } else {
16628
+ var _arrayItem$features2;
16629
+ cardobj.productfeature = arrayItem === null || arrayItem === void 0 || (_arrayItem$features2 = arrayItem.features) === null || _arrayItem$features2 === void 0 ? void 0 : _arrayItem$features2.value_ar;
16630
+ }
16586
16631
  cardobj.hassale = arrayItem.productinfo.hassale;
16587
16632
  cardobj.productid = arrayItem.productinfo.productid;
16588
16633
  cardobj.hasvariants = arrayItem.productinfo.hasvariants;
@@ -16629,6 +16674,8 @@ var CardsSection = function CardsSection(props) {
16629
16674
  cardobj.description = arrayItem.description_ar;
16630
16675
  }
16631
16676
  cardobj.image = arrayItem.collectionlogo;
16677
+ cardobj.producttags = [];
16678
+ cardobj.productfeatures = [];
16632
16679
  } else if (fetchingtype == 'categories') {
16633
16680
  cardobj.collectionid = arrayItem.categoryid;
16634
16681
  cardobj.skiplayeronclick = arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.skiplayeronclick;
@@ -16640,6 +16687,8 @@ var CardsSection = function CardsSection(props) {
16640
16687
  cardobj.description = arrayItem.description_ar;
16641
16688
  }
16642
16689
  cardobj.image = arrayItem.categorylogo;
16690
+ cardobj.producttags = [];
16691
+ cardobj.productfeatures = [];
16643
16692
  } else if (fetchingtype == 'parentcollections' || fetchingtype == 'innercategories') {
16644
16693
  cardobj.collectionid = arrayItem.parentcollectionid;
16645
16694
  cardobj.skiplayeronclick = arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.skiplayeronclick;
@@ -16651,10 +16700,17 @@ var CardsSection = function CardsSection(props) {
16651
16700
  cardobj.description = arrayItem.description_ar;
16652
16701
  }
16653
16702
  cardobj.image = arrayItem.parentcollectionlogo;
16654
- } else if (fetchingtype == 'custom') ; else if (fetchingtype == 'vendors') {
16703
+ cardobj.producttags = [];
16704
+ cardobj.productfeatures = [];
16705
+ } else if (fetchingtype == 'custom') {
16706
+ cardobj.producttags = [];
16707
+ cardobj.productfeatures = [];
16708
+ } else if (fetchingtype == 'vendors') {
16655
16709
  cardobj.name = arrayItem.vendorname;
16656
16710
  cardobj.collectionid = arrayItem.vendorid;
16657
16711
  cardobj.image = arrayItem.vendorlogourl;
16712
+ cardobj.producttags = [];
16713
+ cardobj.productfeatures = [];
16658
16714
  }
16659
16715
  temparray.push(cardobj);
16660
16716
  });
@@ -17154,7 +17210,7 @@ var CardsSection = function CardsSection(props) {
17154
17210
  }) : /*#__PURE__*/React.createElement(HiOutlineArrowLeft, {
17155
17211
  size: sectionproperties.viewmoreiconfontsizeresp,
17156
17212
  color: sectionproperties.viewmorebtn_Textcolor
17157
- })))), sectionproperties.showFilter == 'show' && sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection != 'Collections Horizontal' && /*#__PURE__*/React.createElement("button", {
17213
+ })))), sectionproperties.showFilter == 'show' && sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection != 'Collections Horizontal' && sectionproperties.filterbtnstyle == 'Style 1' && /*#__PURE__*/React.createElement("button", {
17158
17214
  "class": sectionproperties.filterdirection == 'Horizontal' ? ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ' : ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ',
17159
17215
  onClick: function onClick() {
17160
17216
  setopenFilterSlider(true);
@@ -17170,11 +17226,31 @@ var CardsSection = function CardsSection(props) {
17170
17226
  }
17171
17227
  }, langdetect == 'en' ? sectionproperties.filterbtntexten : sectionproperties.filterbtntextar), sectionproperties.filterbtniconfontsize != 0 && /*#__PURE__*/React.createElement("i", {
17172
17228
  "class": "h-100 d-flex align-items-center justify-content-center"
17173
- }, /*#__PURE__*/React.createElement(FiFilter, {
17229
+ }, /*#__PURE__*/React.createElement(BsSliders, {
17174
17230
  style: {
17175
17231
  fontSize: sectionproperties.filterbtniconfontsize
17176
17232
  }
17177
- })))))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React.createElement("div", {
17233
+ })))), sectionproperties.showFilter == 'show' && sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection != 'Collections Horizontal' && sectionproperties.filterbtnstyle == 'Style 2' && /*#__PURE__*/React.createElement("button", {
17234
+ "class": sectionproperties.filterdirection == 'Horizontal' ? ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ' : ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ',
17235
+ onClick: function onClick() {
17236
+ setopenFilterSlider(true);
17237
+ },
17238
+ style: {
17239
+ color: sectionproperties.filterbtn_Textcolor
17240
+ }
17241
+ }, /*#__PURE__*/React.createElement("i", {
17242
+ "class": "h-100 d-flex align-items-center justify-content-center",
17243
+ style: {
17244
+ transform: 'rotate(90deg)'
17245
+ }
17246
+ }, /*#__PURE__*/React.createElement(FiSliders, {
17247
+ style: {
17248
+ fontSize: 15,
17249
+ color: sectionproperties.filterbtn_Textcolor
17250
+ }
17251
+ })), /*#__PURE__*/React.createElement("span", {
17252
+ "class": "mx-2"
17253
+ }, langdetect == 'en' ? 'Filter & Sort By' : 'فلتر')))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React.createElement("div", {
17178
17254
  "class": "col-lg-12 p-0"
17179
17255
  }, /*#__PURE__*/React.createElement("hr", {
17180
17256
  "class": "mt-3 mb-2",
@@ -28899,7 +28975,7 @@ var Header8 = function Header8(props) {
28899
28975
  borderBottomRightRadius: langdetect == 'en' ? 0 : '',
28900
28976
  borderBottomLeftRadius: langdetect == 'ar' ? 0 : '',
28901
28977
  borderTopLeftRadius: langdetect == 'ar' ? 0 : '',
28902
- zIndex: 100
28978
+ zIndex: 100000
28903
28979
  }
28904
28980
  }, /*#__PURE__*/React.createElement("li", {
28905
28981
  "class": langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'
@@ -71476,6 +71552,7 @@ var Simplecategorycardwithtextbelow = function Simplecategorycardwithtextbelow(p
71476
71552
  function ownKeys$6(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
71477
71553
  function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
71478
71554
  var Simpleproductcard = function Simpleproductcard(props) {
71555
+ var _item$producttags, _item$producttags$;
71479
71556
  var _useState = useState(''),
71480
71557
  _useState2 = _slicedToArray(_useState, 2),
71481
71558
  sectionproperties = _useState2[0],
@@ -71820,7 +71897,26 @@ var Simpleproductcard = function Simpleproductcard(props) {
71820
71897
  fontSize: sectionproperties.pillfontSize + 'px',
71821
71898
  direction: 'ltr'
71822
71899
  }
71823
- }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React.createElement("div", {
71900
+ }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags = item.producttags) === null || _item$producttags === void 0 ? void 0 : _item$producttags.length) != 0 && sectionproperties.showtag == 'Show' && /*#__PURE__*/React.createElement("div", {
71901
+ "class": "allcentered",
71902
+ style: {
71903
+ position: 'absolute',
71904
+ bottom: 20,
71905
+ width: '100%',
71906
+ left: 0,
71907
+ right: 0,
71908
+ zIndex: 100
71909
+ }
71910
+ }, /*#__PURE__*/React.createElement("div", {
71911
+ "class": "px-3 py-1",
71912
+ style: {
71913
+ width: 'fit-content',
71914
+ background: sectionproperties.tagbackgroundcolor,
71915
+ borderRadius: sectionproperties.tagborderradius + 'px',
71916
+ color: sectionproperties.tagcolor,
71917
+ fontSize: 12
71918
+ }
71919
+ }, item === null || item === void 0 || (_item$producttags$ = item.producttags[0]) === null || _item$producttags$ === void 0 || (_item$producttags$ = _item$producttags$.taginfo) === null || _item$producttags$ === void 0 ? void 0 : _item$producttags$.tagname)), /*#__PURE__*/React.createElement("div", {
71824
71920
  "class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$7.imagecontainer) + ' d-flex d-md-none ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-flex d-md-none ',
71825
71921
  style: {
71826
71922
  marginBottom: sectionproperties.image_mb + 'px'
@@ -71843,7 +71939,18 @@ var Simpleproductcard = function Simpleproductcard(props) {
71843
71939
  "class": "m-0 p-0"
71844
71940
  }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
71845
71941
  "class": "row m-0 w-100 "
71846
- }, sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React.createElement("p", {
71942
+ }, sectionproperties.showfeatures == 'Show' && /*#__PURE__*/React.createElement("div", {
71943
+ "class": "allcentered col-lg-12 p-0",
71944
+ style: {
71945
+ height: 40
71946
+ }
71947
+ }, /*#__PURE__*/React.createElement("div", {
71948
+ "class": "text-capitalize",
71949
+ style: {
71950
+ color: sectionproperties.tagcolor,
71951
+ fontSize: 14
71952
+ }
71953
+ }, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React.createElement("p", {
71847
71954
  "class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
71848
71955
  style: {
71849
71956
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
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('imagekitio-react'), require('@babel/runtime/helpers/toConsumableArray'), 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/fa/FaPlus'), require('@react-icons/all-files/fa/FaMinus'), require('@react-icons/all-files/fi/FiBox'), require('@react-icons/all-files/ri/RiArrowGoBackLine'), require('react-accessible-accordion'), require('react-share'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('react-textarea-autosize'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-horizontal-scrolling-menu'), require('@mui/material'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineMail'), require('@react-icons/all-files/fa/FaShippingFast'), require('@react-icons/all-files/ri/RiSecurePaymentLine'), require('react-player'), require('@react-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fa/FaStar'), require('@react-icons/all-files/io5/IoLocationSharp'), require('@react-icons/all-files/hi/HiOutlineChevronRight'), require('@react-icons/all-files/hi/HiOutlineChevronLeft'), require('@react-icons/all-files/go/GoGlobe'), require('@react-icons/all-files/vsc/VscGlobe'), require('react-bootstrap/Dropdown'), require('@react-icons/all-files/fi/FiCalendar'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('react-phone-input-2'), require('@react-icons/all-files/bs/BsChevronLeft'), require('@react-icons/all-files/bs/BsChevronRight'), require('@react-icons/all-files/ri/RiArrowUpSLine'), require('@react-icons/all-files/ri/RiArrowDownSLine'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), require('@react-icons/all-files/fi/FiChevronUp'), require('@react-icons/all-files/fi/FiChevronDown'), require('@react-icons/all-files/hi/HiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineMinus'), require('react-router-dom'), require('react-query'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('react-input-range'), require('react-intersection-observer'), require('@react-icons/all-files/fi/FiFilter'), require('@react-icons/all-files/fi/FiChevronLeft'), require('@react-icons/all-files/fi/FiChevronRight'), require('@react-icons/all-files/hi/HiOutlineArrowRight'), require('@react-icons/all-files/hi/HiOutlineArrowLeft'), require('react-paginate'), require('@react-icons/all-files/fa/FaFacebook'), require('@react-icons/all-files/ai/AiFillInstagram'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/md/MdKeyboardArrowDown'), require('@react-icons/all-files/fa/FaMoneyBillWave'), require('@react-icons/all-files/bi/BiLogOutCircle'), require('@react-icons/all-files/bi/BiChevronDown'), require('@react-icons/all-files/bi/BiUser'), require('@react-icons/all-files/ai/AiOutlineLogin'), require('@react-icons/all-files/ai/AiOutlineUserAdd'), require('@react-icons/all-files/ri/RiSearchLine'), require('@react-icons/all-files/cg/CgMenuLeft'), require('@react-icons/all-files/cg/CgMenuRight'), require('@react-icons/all-files/hi/HiOutlineShoppingBag'), require('@react-icons/all-files/ri/RiHandbagLine'), require('@react-icons/all-files/ai/AiOutlineClose'), require('@react-icons/all-files/vsc/VscMenu'), require('@react-icons/all-files/vsc/VscHeart'), require('@react-icons/all-files/io5/IoSearchOutline'), require('@react-icons/all-files/ai/AiFillYoutube'), require('@react-icons/all-files/io5/IoLogoTiktok'), require('@react-icons/all-files/fi/FiMenu'), require('@react-icons/all-files/io5/IoClose'), require('@react-icons/all-files/bi/BiSearch'), require('@react-icons/all-files/fi/FiUser'), require('@react-icons/all-files/ai/AiOutlineHeart'), require('@react-icons/all-files/fi/FiPhone'), require('@react-icons/all-files/hi/HiMenuAlt4'), require('@react-icons/all-files/fi/FiSearch'), require('@react-icons/all-files/bs/BsSearch'), require('@react-icons/all-files/ai/AiOutlinePhone'), require('@react-icons/all-files/go/GoSearch'), require('@react-icons/all-files/ai/AiOutlineInstagram'), require('@react-icons/all-files/bs/BsChevronDown'), require('@react-icons/all-files/ri/RiUserSettingsLine'), require('@react-icons/all-files/hi/HiUserCircle'), require('@react-icons/all-files/md/MdKeyboardArrowUp'), require('@react-icons/all-files/bs/BsInfoCircle'), require('@react-icons/all-files/ai/AiFillPhone'), require('@react-icons/all-files/fa/FaTelegramPlane'), require('@react-icons/all-files/fa/FaPhoneAlt'), require('@react-icons/all-files/fa/FaPhone'), require('@react-icons/all-files/fi/FiGlobe'), require('@react-icons/all-files/bi/BiUserCircle'), require('@react-icons/all-files/go/GoLocation'), require('@react-icons/all-files/fa/FaLinkedinIn'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('@react-icons/all-files/ai/AiOutlineLinkedin'), require('@react-icons/all-files/fa/FaArrowAltCircleRight'), require('@react-icons/all-files/fa/FaArrowAltCircleLeft'), require('react-select'), require('@react-icons/all-files/go/GoStar'), require('@react-icons/all-files/io/IoIosStar'), require('react-background-slideshow'), require('@babel/runtime/helpers/extends'), require('react-slideshow-image'), require('@react-icons/all-files/hi/HiOutlineLocationMarker'), require('@react-icons/all-files/fi/FiPhoneCall'), require('@react-icons/all-files/fa/FaRegEye'), require('@react-icons/all-files/bs/BsArrowRight'), require('@react-icons/all-files/bs/BsArrowLeft'), require('@react-icons/all-files/bs/BsEye'), require('@react-icons/all-files/bi/BiTimeFive'), require('@react-icons/all-files/io/IoIosArrowUp')) :
3
- typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'imagekitio-react', '@babel/runtime/helpers/toConsumableArray', '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/fa/FaPlus', '@react-icons/all-files/fa/FaMinus', '@react-icons/all-files/fi/FiBox', '@react-icons/all-files/ri/RiArrowGoBackLine', 'react-accessible-accordion', 'react-share', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', 'react-textarea-autosize', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-horizontal-scrolling-menu', '@mui/material', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineMail', '@react-icons/all-files/fa/FaShippingFast', '@react-icons/all-files/ri/RiSecurePaymentLine', 'react-player', '@react-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fa/FaStar', '@react-icons/all-files/io5/IoLocationSharp', '@react-icons/all-files/hi/HiOutlineChevronRight', '@react-icons/all-files/hi/HiOutlineChevronLeft', '@react-icons/all-files/go/GoGlobe', '@react-icons/all-files/vsc/VscGlobe', 'react-bootstrap/Dropdown', '@react-icons/all-files/fi/FiCalendar', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', 'react-phone-input-2', '@react-icons/all-files/bs/BsChevronLeft', '@react-icons/all-files/bs/BsChevronRight', '@react-icons/all-files/ri/RiArrowUpSLine', '@react-icons/all-files/ri/RiArrowDownSLine', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', '@react-icons/all-files/fi/FiChevronUp', '@react-icons/all-files/fi/FiChevronDown', '@react-icons/all-files/hi/HiOutlinePlus', '@react-icons/all-files/ai/AiOutlineMinus', 'react-router-dom', 'react-query', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-input-range', 'react-intersection-observer', '@react-icons/all-files/fi/FiFilter', '@react-icons/all-files/fi/FiChevronLeft', '@react-icons/all-files/fi/FiChevronRight', '@react-icons/all-files/hi/HiOutlineArrowRight', '@react-icons/all-files/hi/HiOutlineArrowLeft', 'react-paginate', '@react-icons/all-files/fa/FaFacebook', '@react-icons/all-files/ai/AiFillInstagram', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/md/MdKeyboardArrowDown', '@react-icons/all-files/fa/FaMoneyBillWave', '@react-icons/all-files/bi/BiLogOutCircle', '@react-icons/all-files/bi/BiChevronDown', '@react-icons/all-files/bi/BiUser', '@react-icons/all-files/ai/AiOutlineLogin', '@react-icons/all-files/ai/AiOutlineUserAdd', '@react-icons/all-files/ri/RiSearchLine', '@react-icons/all-files/cg/CgMenuLeft', '@react-icons/all-files/cg/CgMenuRight', '@react-icons/all-files/hi/HiOutlineShoppingBag', '@react-icons/all-files/ri/RiHandbagLine', '@react-icons/all-files/ai/AiOutlineClose', '@react-icons/all-files/vsc/VscMenu', '@react-icons/all-files/vsc/VscHeart', '@react-icons/all-files/io5/IoSearchOutline', '@react-icons/all-files/ai/AiFillYoutube', '@react-icons/all-files/io5/IoLogoTiktok', '@react-icons/all-files/fi/FiMenu', '@react-icons/all-files/io5/IoClose', '@react-icons/all-files/bi/BiSearch', '@react-icons/all-files/fi/FiUser', '@react-icons/all-files/ai/AiOutlineHeart', '@react-icons/all-files/fi/FiPhone', '@react-icons/all-files/hi/HiMenuAlt4', '@react-icons/all-files/fi/FiSearch', '@react-icons/all-files/bs/BsSearch', '@react-icons/all-files/ai/AiOutlinePhone', '@react-icons/all-files/go/GoSearch', '@react-icons/all-files/ai/AiOutlineInstagram', '@react-icons/all-files/bs/BsChevronDown', '@react-icons/all-files/ri/RiUserSettingsLine', '@react-icons/all-files/hi/HiUserCircle', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/fa/FaTelegramPlane', '@react-icons/all-files/fa/FaPhoneAlt', '@react-icons/all-files/fa/FaPhone', '@react-icons/all-files/fi/FiGlobe', '@react-icons/all-files/bi/BiUserCircle', '@react-icons/all-files/go/GoLocation', '@react-icons/all-files/fa/FaLinkedinIn', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', '@react-icons/all-files/ai/AiOutlineLinkedin', '@react-icons/all-files/fa/FaArrowAltCircleRight', '@react-icons/all-files/fa/FaArrowAltCircleLeft', 'react-select', '@react-icons/all-files/go/GoStar', '@react-icons/all-files/io/IoIosStar', 'react-background-slideshow', '@babel/runtime/helpers/extends', 'react-slideshow-image', '@react-icons/all-files/hi/HiOutlineLocationMarker', '@react-icons/all-files/fi/FiPhoneCall', '@react-icons/all-files/fa/FaRegEye', '@react-icons/all-files/bs/BsArrowRight', '@react-icons/all-files/bs/BsArrowLeft', '@react-icons/all-files/bs/BsEye', '@react-icons/all-files/bi/BiTimeFive', '@react-icons/all-files/io/IoIosArrowUp'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, global.imagekitioReact, global._toConsumableArray, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart$1, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar$1, global.AiOutlineStar, global.FaPlus, global.FaMinus, global.FiBox, global.RiArrowGoBackLine, global.reactAccessibleAccordion, global.reactShare, global.FiMinus, global.FiPlus, global.ReactStars, global.FiLayers, global.TextareaAutosize, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.material, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.ReactPlayer, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.Dropdown, global.FiCalendar, global._asyncToGenerator, global._regeneratorRuntime, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.BsChevronLeft, global.BsChevronRight, null, null, global.IoIosArrowRoundForward, global.IoIosArrowRoundBack, global.FiChevronUp, global.FiChevronDown, global.HiOutlinePlus, global.AiOutlineMinus, null, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.InputRange, global.reactIntersectionObserver, global.FiFilter, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.FaFacebook, global.AiFillInstagram, global.FaWhatsapp, global.BiGlobe, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.AiOutlineClose, global.VscMenu, global.VscHeart, global.IoSearchOutline, global.AiFillYoutube, global.IoLogoTiktok, global.FiMenu, global.IoClose, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiOutlinePhone, global.GoSearch, global.AiOutlineInstagram, global.BsChevronDown, global.RiUserSettingsLine, global.HiUserCircle, global.MdKeyboardArrowUp, global.BsInfoCircle, global.AiFillPhone, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.FiGlobe, global.BiUserCircle, global.GoLocation, global.FaLinkedinIn, global.RiRoadMapLine, global.HiOutlineClock, global.AiOutlineLinkedin, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.Select$5, global.GoStar, global.IoIosStar, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.FaRegEye, global.BsArrowRight, global.BsArrowLeft, global.BsEye, global.BiTimeFive, global.IoIosArrowUp));
5
- })(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, imagekitioReact, _toConsumableArray, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart$1, FiShoppingBag, FiShoppingCart, AiFillStar$1, AiOutlineStar, FaPlus, FaMinus, FiBox, RiArrowGoBackLine, reactAccessibleAccordion, reactShare, FiMinus, FiPlus, ReactStars, FiLayers, TextareaAutosize, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, material, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, ReactPlayer, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, Dropdown, FiCalendar, _asyncToGenerator, _regeneratorRuntime, HiUser, GrMail, FiCheckCircle, BiPhone, PhoneInput, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, IoIosArrowRoundForward, IoIosArrowRoundBack, FiChevronUp, FiChevronDown, HiOutlinePlus, AiOutlineMinus, reactRouterDom, reactQuery, IoBagCheckOutline, IoBagRemoveOutline, InputRange, reactIntersectionObserver, FiFilter, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, FaFacebook, AiFillInstagram, FaWhatsapp, BiGlobe, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, AiOutlineClose, VscMenu, VscHeart, IoSearchOutline, AiFillYoutube, IoLogoTiktok, FiMenu, IoClose, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiOutlinePhone, GoSearch, AiOutlineInstagram, BsChevronDown, RiUserSettingsLine, HiUserCircle, MdKeyboardArrowUp, BsInfoCircle, AiFillPhone, FaTelegramPlane, FaPhoneAlt, FaPhone, FiGlobe, BiUserCircle, GoLocation, FaLinkedinIn, RiRoadMapLine, HiOutlineClock, AiOutlineLinkedin, FaArrowAltCircleRight, FaArrowAltCircleLeft, Select$5, GoStar, IoIosStar, BackgroundSlideshow, _extends, reactSlideshowImage, HiOutlineLocationMarker, FiPhoneCall, FaRegEye, BsArrowRight, BsArrowLeft, BsEye, BiTimeFive, IoIosArrowUp) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('@babel/runtime/helpers/assertThisInitialized'), require('@babel/runtime/helpers/inherits'), require('@babel/runtime/helpers/possibleConstructorReturn'), require('@babel/runtime/helpers/getPrototypeOf'), require('@babel/runtime/helpers/defineProperty'), require('universal-cookie'), require('react-cssfx-loading'), require('glamor'), require('@react-oauth/google'), require('jwt-decode'), require('react-facebook-login/dist/facebook-login-render-props'), require('@react-icons/all-files/fa/FaFacebookF'), require('@react-icons/all-files/ai/AiOutlineUser'), require('@react-icons/all-files/io/IoMdClose'), require('react-bootstrap'), require('imagekitio-react'), require('@babel/runtime/helpers/toConsumableArray'), 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/fa/FaPlus'), require('@react-icons/all-files/fa/FaMinus'), require('@react-icons/all-files/fi/FiBox'), require('@react-icons/all-files/ri/RiArrowGoBackLine'), require('react-accessible-accordion'), require('react-share'), require('@react-icons/all-files/fi/FiMinus'), require('@react-icons/all-files/fi/FiPlus'), require('react-rating-stars-component'), require('@react-icons/all-files/fi/FiLayers'), require('react-textarea-autosize'), require('@react-icons/all-files/ai/AiOutlineClockCircle'), require('@react-icons/all-files/ai/AiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineCheck'), require('react-horizontal-scrolling-menu'), require('@mui/material'), require('@react-icons/all-files/hi/HiOutlinePhone'), require('@react-icons/all-files/ai/AiOutlineMail'), require('@react-icons/all-files/fa/FaShippingFast'), require('@react-icons/all-files/ri/RiSecurePaymentLine'), require('react-player'), require('@react-icons/all-files/ai/AiOutlineSecurityScan'), require('@react-icons/all-files/fa/FaStar'), require('@react-icons/all-files/io5/IoLocationSharp'), require('@react-icons/all-files/hi/HiOutlineChevronRight'), require('@react-icons/all-files/hi/HiOutlineChevronLeft'), require('@react-icons/all-files/go/GoGlobe'), require('@react-icons/all-files/vsc/VscGlobe'), require('react-bootstrap/Dropdown'), require('@react-icons/all-files/fi/FiCalendar'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/regenerator'), require('@react-icons/all-files/hi/HiUser'), require('@react-icons/all-files/gr/GrMail'), require('@react-icons/all-files/fi/FiCheckCircle'), require('@react-icons/all-files/bi/BiPhone'), require('react-phone-input-2'), require('@react-icons/all-files/bs/BsChevronLeft'), require('@react-icons/all-files/bs/BsChevronRight'), require('@react-icons/all-files/ri/RiArrowUpSLine'), require('@react-icons/all-files/ri/RiArrowDownSLine'), require('@react-icons/all-files/io/IoIosArrowRoundForward'), require('@react-icons/all-files/io/IoIosArrowRoundBack'), require('@react-icons/all-files/fi/FiChevronUp'), require('@react-icons/all-files/fi/FiChevronDown'), require('@react-icons/all-files/hi/HiOutlinePlus'), require('@react-icons/all-files/ai/AiOutlineMinus'), require('react-router-dom'), require('react-query'), require('@react-icons/all-files/io5/IoBagCheckOutline'), require('@react-icons/all-files/io5/IoBagRemoveOutline'), require('react-input-range'), require('react-intersection-observer'), require('@react-icons/all-files/fi/FiFilter'), require('@react-icons/all-files/fi/FiSliders'), require('@react-icons/all-files/fi/FiChevronLeft'), require('@react-icons/all-files/fi/FiChevronRight'), require('@react-icons/all-files/hi/HiOutlineArrowRight'), require('@react-icons/all-files/hi/HiOutlineArrowLeft'), require('react-paginate'), require('@react-icons/all-files/fa/FaFacebook'), require('@react-icons/all-files/ai/AiFillInstagram'), require('@react-icons/all-files/fa/FaWhatsapp'), require('@react-icons/all-files/bi/BiGlobe'), require('@react-icons/all-files/md/MdKeyboardArrowDown'), require('@react-icons/all-files/fa/FaMoneyBillWave'), require('@react-icons/all-files/bi/BiLogOutCircle'), require('@react-icons/all-files/bi/BiChevronDown'), require('@react-icons/all-files/bi/BiUser'), require('@react-icons/all-files/ai/AiOutlineLogin'), require('@react-icons/all-files/ai/AiOutlineUserAdd'), require('@react-icons/all-files/ri/RiSearchLine'), require('@react-icons/all-files/cg/CgMenuLeft'), require('@react-icons/all-files/cg/CgMenuRight'), require('@react-icons/all-files/hi/HiOutlineShoppingBag'), require('@react-icons/all-files/ri/RiHandbagLine'), require('@react-icons/all-files/ai/AiOutlineClose'), require('@react-icons/all-files/vsc/VscMenu'), require('@react-icons/all-files/vsc/VscHeart'), require('@react-icons/all-files/io5/IoSearchOutline'), require('@react-icons/all-files/ai/AiFillYoutube'), require('@react-icons/all-files/io5/IoLogoTiktok'), require('@react-icons/all-files/fi/FiMenu'), require('@react-icons/all-files/io5/IoClose'), require('@react-icons/all-files/bi/BiSearch'), require('@react-icons/all-files/fi/FiUser'), require('@react-icons/all-files/ai/AiOutlineHeart'), require('@react-icons/all-files/fi/FiPhone'), require('@react-icons/all-files/hi/HiMenuAlt4'), require('@react-icons/all-files/fi/FiSearch'), require('@react-icons/all-files/bs/BsSearch'), require('@react-icons/all-files/ai/AiOutlinePhone'), require('@react-icons/all-files/go/GoSearch'), require('@react-icons/all-files/ai/AiOutlineInstagram'), require('@react-icons/all-files/bs/BsChevronDown'), require('@react-icons/all-files/ri/RiUserSettingsLine'), require('@react-icons/all-files/hi/HiUserCircle'), require('@react-icons/all-files/md/MdKeyboardArrowUp'), require('@react-icons/all-files/bs/BsInfoCircle'), require('@react-icons/all-files/ai/AiFillPhone'), require('@react-icons/all-files/fa/FaTelegramPlane'), require('@react-icons/all-files/fa/FaPhoneAlt'), require('@react-icons/all-files/fa/FaPhone'), require('@react-icons/all-files/fi/FiGlobe'), require('@react-icons/all-files/bi/BiUserCircle'), require('@react-icons/all-files/go/GoLocation'), require('@react-icons/all-files/fa/FaLinkedinIn'), require('@react-icons/all-files/ri/RiRoadMapLine'), require('@react-icons/all-files/hi/HiOutlineClock'), require('@react-icons/all-files/ai/AiOutlineLinkedin'), require('@react-icons/all-files/fa/FaArrowAltCircleRight'), require('@react-icons/all-files/fa/FaArrowAltCircleLeft'), require('react-select'), require('@react-icons/all-files/go/GoStar'), require('@react-icons/all-files/io/IoIosStar'), require('react-background-slideshow'), require('@babel/runtime/helpers/extends'), require('react-slideshow-image'), require('@react-icons/all-files/hi/HiOutlineLocationMarker'), require('@react-icons/all-files/fi/FiPhoneCall'), require('@react-icons/all-files/fa/FaRegEye'), require('@react-icons/all-files/bs/BsArrowRight'), require('@react-icons/all-files/bs/BsArrowLeft'), require('@react-icons/all-files/bs/BsEye'), require('@react-icons/all-files/bi/BiTimeFive'), require('@react-icons/all-files/io/IoIosArrowUp')) :
3
+ typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', '@babel/runtime/helpers/assertThisInitialized', '@babel/runtime/helpers/inherits', '@babel/runtime/helpers/possibleConstructorReturn', '@babel/runtime/helpers/getPrototypeOf', '@babel/runtime/helpers/defineProperty', 'universal-cookie', 'react-cssfx-loading', 'glamor', '@react-oauth/google', 'jwt-decode', 'react-facebook-login/dist/facebook-login-render-props', '@react-icons/all-files/fa/FaFacebookF', '@react-icons/all-files/ai/AiOutlineUser', '@react-icons/all-files/io/IoMdClose', 'react-bootstrap', 'imagekitio-react', '@babel/runtime/helpers/toConsumableArray', '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/fa/FaPlus', '@react-icons/all-files/fa/FaMinus', '@react-icons/all-files/fi/FiBox', '@react-icons/all-files/ri/RiArrowGoBackLine', 'react-accessible-accordion', 'react-share', '@react-icons/all-files/fi/FiMinus', '@react-icons/all-files/fi/FiPlus', 'react-rating-stars-component', '@react-icons/all-files/fi/FiLayers', 'react-textarea-autosize', '@react-icons/all-files/ai/AiOutlineClockCircle', '@react-icons/all-files/ai/AiOutlinePlus', '@react-icons/all-files/ai/AiOutlineCheck', 'react-horizontal-scrolling-menu', '@mui/material', '@react-icons/all-files/hi/HiOutlinePhone', '@react-icons/all-files/ai/AiOutlineMail', '@react-icons/all-files/fa/FaShippingFast', '@react-icons/all-files/ri/RiSecurePaymentLine', 'react-player', '@react-icons/all-files/ai/AiOutlineSecurityScan', '@react-icons/all-files/fa/FaStar', '@react-icons/all-files/io5/IoLocationSharp', '@react-icons/all-files/hi/HiOutlineChevronRight', '@react-icons/all-files/hi/HiOutlineChevronLeft', '@react-icons/all-files/go/GoGlobe', '@react-icons/all-files/vsc/VscGlobe', 'react-bootstrap/Dropdown', '@react-icons/all-files/fi/FiCalendar', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/regenerator', '@react-icons/all-files/hi/HiUser', '@react-icons/all-files/gr/GrMail', '@react-icons/all-files/fi/FiCheckCircle', '@react-icons/all-files/bi/BiPhone', 'react-phone-input-2', '@react-icons/all-files/bs/BsChevronLeft', '@react-icons/all-files/bs/BsChevronRight', '@react-icons/all-files/ri/RiArrowUpSLine', '@react-icons/all-files/ri/RiArrowDownSLine', '@react-icons/all-files/io/IoIosArrowRoundForward', '@react-icons/all-files/io/IoIosArrowRoundBack', '@react-icons/all-files/fi/FiChevronUp', '@react-icons/all-files/fi/FiChevronDown', '@react-icons/all-files/hi/HiOutlinePlus', '@react-icons/all-files/ai/AiOutlineMinus', 'react-router-dom', 'react-query', '@react-icons/all-files/io5/IoBagCheckOutline', '@react-icons/all-files/io5/IoBagRemoveOutline', 'react-input-range', 'react-intersection-observer', '@react-icons/all-files/fi/FiFilter', '@react-icons/all-files/fi/FiSliders', '@react-icons/all-files/fi/FiChevronLeft', '@react-icons/all-files/fi/FiChevronRight', '@react-icons/all-files/hi/HiOutlineArrowRight', '@react-icons/all-files/hi/HiOutlineArrowLeft', 'react-paginate', '@react-icons/all-files/fa/FaFacebook', '@react-icons/all-files/ai/AiFillInstagram', '@react-icons/all-files/fa/FaWhatsapp', '@react-icons/all-files/bi/BiGlobe', '@react-icons/all-files/md/MdKeyboardArrowDown', '@react-icons/all-files/fa/FaMoneyBillWave', '@react-icons/all-files/bi/BiLogOutCircle', '@react-icons/all-files/bi/BiChevronDown', '@react-icons/all-files/bi/BiUser', '@react-icons/all-files/ai/AiOutlineLogin', '@react-icons/all-files/ai/AiOutlineUserAdd', '@react-icons/all-files/ri/RiSearchLine', '@react-icons/all-files/cg/CgMenuLeft', '@react-icons/all-files/cg/CgMenuRight', '@react-icons/all-files/hi/HiOutlineShoppingBag', '@react-icons/all-files/ri/RiHandbagLine', '@react-icons/all-files/ai/AiOutlineClose', '@react-icons/all-files/vsc/VscMenu', '@react-icons/all-files/vsc/VscHeart', '@react-icons/all-files/io5/IoSearchOutline', '@react-icons/all-files/ai/AiFillYoutube', '@react-icons/all-files/io5/IoLogoTiktok', '@react-icons/all-files/fi/FiMenu', '@react-icons/all-files/io5/IoClose', '@react-icons/all-files/bi/BiSearch', '@react-icons/all-files/fi/FiUser', '@react-icons/all-files/ai/AiOutlineHeart', '@react-icons/all-files/fi/FiPhone', '@react-icons/all-files/hi/HiMenuAlt4', '@react-icons/all-files/fi/FiSearch', '@react-icons/all-files/bs/BsSearch', '@react-icons/all-files/ai/AiOutlinePhone', '@react-icons/all-files/go/GoSearch', '@react-icons/all-files/ai/AiOutlineInstagram', '@react-icons/all-files/bs/BsChevronDown', '@react-icons/all-files/ri/RiUserSettingsLine', '@react-icons/all-files/hi/HiUserCircle', '@react-icons/all-files/md/MdKeyboardArrowUp', '@react-icons/all-files/bs/BsInfoCircle', '@react-icons/all-files/ai/AiFillPhone', '@react-icons/all-files/fa/FaTelegramPlane', '@react-icons/all-files/fa/FaPhoneAlt', '@react-icons/all-files/fa/FaPhone', '@react-icons/all-files/fi/FiGlobe', '@react-icons/all-files/bi/BiUserCircle', '@react-icons/all-files/go/GoLocation', '@react-icons/all-files/fa/FaLinkedinIn', '@react-icons/all-files/ri/RiRoadMapLine', '@react-icons/all-files/hi/HiOutlineClock', '@react-icons/all-files/ai/AiOutlineLinkedin', '@react-icons/all-files/fa/FaArrowAltCircleRight', '@react-icons/all-files/fa/FaArrowAltCircleLeft', 'react-select', '@react-icons/all-files/go/GoStar', '@react-icons/all-files/io/IoIosStar', 'react-background-slideshow', '@babel/runtime/helpers/extends', 'react-slideshow-image', '@react-icons/all-files/hi/HiOutlineLocationMarker', '@react-icons/all-files/fi/FiPhoneCall', '@react-icons/all-files/fa/FaRegEye', '@react-icons/all-files/bs/BsArrowRight', '@react-icons/all-files/bs/BsArrowLeft', '@react-icons/all-files/bs/BsEye', '@react-icons/all-files/bi/BiTimeFive', '@react-icons/all-files/io/IoIosArrowUp'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.tabexseriescomponents = factory(global._slicedToArray, global.React, global._classCallCheck, global._createClass, global._assertThisInitialized, global._inherits, global._possibleConstructorReturn, global._getPrototypeOf, global._defineProperty, global.Cookies, global.reactCssfxLoading, global.glamor, global.google, global.jwtDecode, global.FacebookLogin, global.FaFacebookF, global.AiOutlineUser, global.IoMdClose, global.reactBootstrap, global.imagekitioReact, global._toConsumableArray, global.ImageGallery, global.MdAddShoppingCart, global.IoBagHandleOutline, global.BsBag, global.CgShoppingBag, global.FaRegHeart, global.FaHeart$1, global.FiShoppingBag, global.FiShoppingCart, global.AiFillStar$1, global.AiOutlineStar, global.FaPlus, global.FaMinus, global.FiBox, global.RiArrowGoBackLine, global.reactAccessibleAccordion, global.reactShare, global.FiMinus, global.FiPlus, global.ReactStars, global.FiLayers, global.TextareaAutosize, global.AiOutlineClockCircle, global.AiOutlinePlus, global.AiOutlineCheck, global.reactHorizontalScrollingMenu, global.material, global.HiOutlinePhone, global.AiOutlineMail, global.FaShippingFast, global.RiSecurePaymentLine, global.ReactPlayer, global.AiOutlineSecurityScan, global.FaStar, global.IoLocationSharp, global.HiOutlineChevronRight, global.HiOutlineChevronLeft, global.GoGlobe, global.VscGlobe, global.Dropdown, global.FiCalendar, global._asyncToGenerator, global._regeneratorRuntime, global.HiUser, global.GrMail, global.FiCheckCircle, global.BiPhone, global.PhoneInput, global.BsChevronLeft, global.BsChevronRight, null, null, global.IoIosArrowRoundForward, global.IoIosArrowRoundBack, global.FiChevronUp, global.FiChevronDown, global.HiOutlinePlus, global.AiOutlineMinus, null, null, global.IoBagCheckOutline, global.IoBagRemoveOutline, global.InputRange, global.reactIntersectionObserver, global.FiFilter, global.FiSliders, global.FiChevronLeft, global.FiChevronRight, global.HiOutlineArrowRight, global.HiOutlineArrowLeft, global.ReactPaginate, global.FaFacebook, global.AiFillInstagram, global.FaWhatsapp, global.BiGlobe, global.MdKeyboardArrowDown, global.FaMoneyBillWave, global.BiLogOutCircle, global.BiChevronDown, global.BiUser, global.AiOutlineLogin, global.AiOutlineUserAdd, global.RiSearchLine, global.CgMenuLeft, global.CgMenuRight, global.HiOutlineShoppingBag, global.RiHandbagLine, global.AiOutlineClose, global.VscMenu, global.VscHeart, global.IoSearchOutline, global.AiFillYoutube, global.IoLogoTiktok, global.FiMenu, global.IoClose, global.BiSearch, global.FiUser, global.AiOutlineHeart, global.FiPhone, global.HiMenuAlt4, global.FiSearch, global.BsSearch, global.AiOutlinePhone, global.GoSearch, global.AiOutlineInstagram, global.BsChevronDown, global.RiUserSettingsLine, global.HiUserCircle, global.MdKeyboardArrowUp, global.BsInfoCircle, global.AiFillPhone, global.FaTelegramPlane, global.FaPhoneAlt, global.FaPhone, global.FiGlobe, global.BiUserCircle, global.GoLocation, global.FaLinkedinIn, global.RiRoadMapLine, global.HiOutlineClock, global.AiOutlineLinkedin, global.FaArrowAltCircleRight, global.FaArrowAltCircleLeft, global.Select$5, global.GoStar, global.IoIosStar, global.BackgroundSlideshow, global._extends, global.reactSlideshowImage, global.HiOutlineLocationMarker, global.FiPhoneCall, global.FaRegEye, global.BsArrowRight, global.BsArrowLeft, global.BsEye, global.BiTimeFive, global.IoIosArrowUp));
5
+ })(this, (function (_slicedToArray, React, _classCallCheck, _createClass, _assertThisInitialized, _inherits, _possibleConstructorReturn, _getPrototypeOf, _defineProperty, Cookies, reactCssfxLoading, glamor, google, jwtDecode, FacebookLogin, FaFacebookF, AiOutlineUser, IoMdClose, reactBootstrap, imagekitioReact, _toConsumableArray, ImageGallery, MdAddShoppingCart, IoBagHandleOutline, BsBag, CgShoppingBag, FaRegHeart, FaHeart$1, FiShoppingBag, FiShoppingCart, AiFillStar$1, AiOutlineStar, FaPlus, FaMinus, FiBox, RiArrowGoBackLine, reactAccessibleAccordion, reactShare, FiMinus, FiPlus, ReactStars, FiLayers, TextareaAutosize, AiOutlineClockCircle, AiOutlinePlus, AiOutlineCheck, reactHorizontalScrollingMenu, material, HiOutlinePhone, AiOutlineMail, FaShippingFast, RiSecurePaymentLine, ReactPlayer, AiOutlineSecurityScan, FaStar, IoLocationSharp, HiOutlineChevronRight, HiOutlineChevronLeft, GoGlobe, VscGlobe, Dropdown, FiCalendar, _asyncToGenerator, _regeneratorRuntime, HiUser, GrMail, FiCheckCircle, BiPhone, PhoneInput, BsChevronLeft, BsChevronRight, RiArrowUpSLine, RiArrowDownSLine, IoIosArrowRoundForward, IoIosArrowRoundBack, FiChevronUp, FiChevronDown, HiOutlinePlus, AiOutlineMinus, reactRouterDom, reactQuery, IoBagCheckOutline, IoBagRemoveOutline, InputRange, reactIntersectionObserver, FiFilter, FiSliders, FiChevronLeft, FiChevronRight, HiOutlineArrowRight, HiOutlineArrowLeft, ReactPaginate, FaFacebook, AiFillInstagram, FaWhatsapp, BiGlobe, MdKeyboardArrowDown, FaMoneyBillWave, BiLogOutCircle, BiChevronDown, BiUser, AiOutlineLogin, AiOutlineUserAdd, RiSearchLine, CgMenuLeft, CgMenuRight, HiOutlineShoppingBag, RiHandbagLine, AiOutlineClose, VscMenu, VscHeart, IoSearchOutline, AiFillYoutube, IoLogoTiktok, FiMenu, IoClose, BiSearch, FiUser, AiOutlineHeart, FiPhone, HiMenuAlt4, FiSearch, BsSearch, AiOutlinePhone, GoSearch, AiOutlineInstagram, BsChevronDown, RiUserSettingsLine, HiUserCircle, MdKeyboardArrowUp, BsInfoCircle, AiFillPhone, FaTelegramPlane, FaPhoneAlt, FaPhone, FiGlobe, BiUserCircle, GoLocation, FaLinkedinIn, RiRoadMapLine, HiOutlineClock, AiOutlineLinkedin, FaArrowAltCircleRight, FaArrowAltCircleLeft, Select$5, GoStar, IoIosStar, BackgroundSlideshow, _extends, reactSlideshowImage, HiOutlineLocationMarker, FiPhoneCall, FaRegEye, BsArrowRight, BsArrowLeft, BsEye, BiTimeFive, IoIosArrowUp) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -14067,13 +14067,28 @@
14067
14067
  }, [raterangevalue]);
14068
14068
  React.useEffect(function () {
14069
14069
  if (fetchCategoriesQueryContext.isSuccess && fetchcollectionsQueryContext.isSuccess) {
14070
+ var parentcollections_for_collectionsFilter = null;
14071
+ var IsValid_parentcollections_for_collectionsFilter = false;
14072
+ if (ProductFilterObjContext.parentcollections_for_collectionsFilter != undefined && ProductFilterObjContext.parentcollections_for_collectionsFilter != null && Array.isArray(ProductFilterObjContext.parentcollections_for_collectionsFilter)) {
14073
+ parentcollections_for_collectionsFilter = ProductFilterObjContext.parentcollections_for_collectionsFilter;
14074
+ }
14075
+ if (parentcollections_for_collectionsFilter != null && Array.isArray(parentcollections_for_collectionsFilter) && parentcollections_for_collectionsFilter.length != 0) {
14076
+ // parentcollections_for_collectionsFilter?.forEach(function(item,index){
14077
+ // if(item.)
14078
+ // })
14079
+ IsValid_parentcollections_for_collectionsFilter = true;
14080
+ }
14070
14081
  if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.filterretreivetype) == 'Depend on chosen parent group') {
14071
14082
  if ((ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections) != undefined && (ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections) != null && Array.isArray(ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections)) {
14072
14083
  var _parentidsfound;
14073
14084
  var collectiontobevisible = [];
14074
14085
  var parentidsfound = [];
14075
- if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection') {
14076
- parentidsfound = ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections;
14086
+ if (ProductFilterObjContext.ProductFetchingType == 'Parent Collection' || IsValid_parentcollections_for_collectionsFilter == true) {
14087
+ if (parentcollections_for_collectionsFilter != null) {
14088
+ parentidsfound = parentcollections_for_collectionsFilter;
14089
+ } else {
14090
+ parentidsfound = ProductFilterObjContext === null || ProductFilterObjContext === void 0 ? void 0 : ProductFilterObjContext.collections;
14091
+ }
14077
14092
  } else if (ProductFilterObjContext.ProductFetchingType == 'Category') {
14078
14093
  instcategories === null || instcategories === void 0 || instcategories.forEach(function (catitem, catindex) {
14079
14094
  var _ProductFilterObjCont;
@@ -14267,6 +14282,9 @@
14267
14282
  var _tempfetchproductsfil2;
14268
14283
  var tempfetchproductsfilerobjcontext = _objectSpread$29({}, ProductFilterObjContext);
14269
14284
  var CollectionExists = false;
14285
+ if (tempfetchproductsfilerobjcontext.ProductFetchingType == 'Parent Collection' && tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter == undefined) {
14286
+ tempfetchproductsfilerobjcontext.parentcollections_for_collectionsFilter = tempfetchproductsfilerobjcontext.collections;
14287
+ }
14270
14288
  tempfetchproductsfilerobjcontext === null || tempfetchproductsfilerobjcontext === void 0 || (_tempfetchproductsfil2 = tempfetchproductsfilerobjcontext.collections) === null || _tempfetchproductsfil2 === void 0 || _tempfetchproductsfil2.forEach(function (filteritem, filterindex) {
14271
14289
  if (filteritem == collectionid) {
14272
14290
  CollectionExists = true;
@@ -15717,10 +15735,42 @@
15717
15735
  borderRadius: sectionproperties.filter_borderBottomLeftRadius + 'px'
15718
15736
  },
15719
15737
  backdrop: true
15720
- }, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, /*#__PURE__*/React__default["default"].createElement("div", {
15738
+ }, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Header, null, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Offcanvas.Title, null, langdetect == 'en' && /*#__PURE__*/React__default["default"].createElement("div", {
15739
+ "class": "allcentered",
15740
+ style: {
15741
+ position: 'absolute',
15742
+ left: -34,
15743
+ top: 5,
15744
+ width: 30,
15745
+ height: 30,
15746
+ background: '#000'
15747
+ },
15748
+ onClick: function onClick() {
15749
+ props.setopenFilterSlider(false);
15750
+ }
15751
+ }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
15752
+ color: '#fff',
15753
+ size: 16
15754
+ })), langdetect == 'ar' && /*#__PURE__*/React__default["default"].createElement("div", {
15755
+ "class": "allcentered",
15756
+ style: {
15757
+ position: 'absolute',
15758
+ right: -34,
15759
+ top: 5,
15760
+ width: 30,
15761
+ height: 30,
15762
+ background: '#000'
15763
+ },
15764
+ onClick: function onClick() {
15765
+ props.setopenFilterSlider(false);
15766
+ }
15767
+ }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
15768
+ color: '#fff',
15769
+ size: 16
15770
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
15721
15771
  className: "row m-0 w-100 mt-2"
15722
15772
  }, /*#__PURE__*/React__default["default"].createElement("div", {
15723
- className: "col-lg-9 col-md-9 col-sm-9 d-none align-items-center d-md-flex"
15773
+ className: "col-12 d-none justify-content-center align-items-center d-md-flex my-2"
15724
15774
  }, /*#__PURE__*/React__default["default"].createElement("p", {
15725
15775
  className: "m-0 p-0 font-16 font-weight-600",
15726
15776
  style: {
@@ -15729,21 +15779,7 @@
15729
15779
  fontWeight: sectionproperties.filter_titlefontweight,
15730
15780
  textTransform: sectionproperties.filter_titletextransform
15731
15781
  }
15732
- }, langdetect == 'en' ? 'Filter' : 'فلترة')), /*#__PURE__*/React__default["default"].createElement("div", {
15733
- className: "col-lg-3 col-md-3 col-sm-3 d-none d-md-flex align-items-center justify-content-end p-0"
15734
- }, /*#__PURE__*/React__default["default"].createElement("div", {
15735
- className: "".concat(filterstyles.close_menu_icon_cont, " ").concat(filter_cssstyles.close_menu_icon_cont) + ' d-none d-md-flex align-items-center justify-content-center ',
15736
- onClick: function onClick() {
15737
- props.setopenFilterSlider(false);
15738
- }
15739
- }, /*#__PURE__*/React__default["default"].createElement("i", {
15740
- className: "h-100 d-flex align-items-center justify-content-center"
15741
- }, /*#__PURE__*/React__default["default"].createElement(IoMdClose.IoMdClose, {
15742
- size: sectionproperties.closeSlider_fontSize,
15743
- style: {
15744
- color: sectionproperties.closeSlider_color
15745
- }
15746
- })))), /*#__PURE__*/React__default["default"].createElement("div", {
15782
+ }, langdetect == 'en' ? 'Filter & Sort' : 'فلترة')), /*#__PURE__*/React__default["default"].createElement("div", {
15747
15783
  "class": "col-lg-12"
15748
15784
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
15749
15785
  "class": "mt-2 mb-2"
@@ -16460,6 +16496,14 @@
16460
16496
  });
16461
16497
  }
16462
16498
  cardobj.image = arrayItem.productinfo.productmainimage;
16499
+ cardobj.producttags = arrayItem.tags;
16500
+ if (langdetect == 'en') {
16501
+ var _arrayItem$features;
16502
+ cardobj.productfeature = arrayItem === null || arrayItem === void 0 || (_arrayItem$features = arrayItem.features) === null || _arrayItem$features === void 0 ? void 0 : _arrayItem$features.value_en;
16503
+ } else {
16504
+ var _arrayItem$features2;
16505
+ cardobj.productfeature = arrayItem === null || arrayItem === void 0 || (_arrayItem$features2 = arrayItem.features) === null || _arrayItem$features2 === void 0 ? void 0 : _arrayItem$features2.value_ar;
16506
+ }
16463
16507
  cardobj.hassale = arrayItem.productinfo.hassale;
16464
16508
  cardobj.productid = arrayItem.productinfo.productid;
16465
16509
  cardobj.hasvariants = arrayItem.productinfo.hasvariants;
@@ -16506,6 +16550,8 @@
16506
16550
  cardobj.description = arrayItem.description_ar;
16507
16551
  }
16508
16552
  cardobj.image = arrayItem.collectionlogo;
16553
+ cardobj.producttags = [];
16554
+ cardobj.productfeatures = [];
16509
16555
  } else if (fetchingtype == 'categories') {
16510
16556
  cardobj.collectionid = arrayItem.categoryid;
16511
16557
  cardobj.skiplayeronclick = arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.skiplayeronclick;
@@ -16517,6 +16563,8 @@
16517
16563
  cardobj.description = arrayItem.description_ar;
16518
16564
  }
16519
16565
  cardobj.image = arrayItem.categorylogo;
16566
+ cardobj.producttags = [];
16567
+ cardobj.productfeatures = [];
16520
16568
  } else if (fetchingtype == 'parentcollections' || fetchingtype == 'innercategories') {
16521
16569
  cardobj.collectionid = arrayItem.parentcollectionid;
16522
16570
  cardobj.skiplayeronclick = arrayItem === null || arrayItem === void 0 ? void 0 : arrayItem.skiplayeronclick;
@@ -16528,10 +16576,17 @@
16528
16576
  cardobj.description = arrayItem.description_ar;
16529
16577
  }
16530
16578
  cardobj.image = arrayItem.parentcollectionlogo;
16531
- } else if (fetchingtype == 'custom') ; else if (fetchingtype == 'vendors') {
16579
+ cardobj.producttags = [];
16580
+ cardobj.productfeatures = [];
16581
+ } else if (fetchingtype == 'custom') {
16582
+ cardobj.producttags = [];
16583
+ cardobj.productfeatures = [];
16584
+ } else if (fetchingtype == 'vendors') {
16532
16585
  cardobj.name = arrayItem.vendorname;
16533
16586
  cardobj.collectionid = arrayItem.vendorid;
16534
16587
  cardobj.image = arrayItem.vendorlogourl;
16588
+ cardobj.producttags = [];
16589
+ cardobj.productfeatures = [];
16535
16590
  }
16536
16591
  temparray.push(cardobj);
16537
16592
  });
@@ -17031,7 +17086,7 @@
17031
17086
  }) : /*#__PURE__*/React__default["default"].createElement(HiOutlineArrowLeft.HiOutlineArrowLeft, {
17032
17087
  size: sectionproperties.viewmoreiconfontsizeresp,
17033
17088
  color: sectionproperties.viewmorebtn_Textcolor
17034
- })))), sectionproperties.showFilter == 'show' && sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection != 'Collections Horizontal' && /*#__PURE__*/React__default["default"].createElement("button", {
17089
+ })))), sectionproperties.showFilter == 'show' && sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection != 'Collections Horizontal' && sectionproperties.filterbtnstyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("button", {
17035
17090
  "class": sectionproperties.filterdirection == 'Horizontal' ? ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ' : ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ',
17036
17091
  onClick: function onClick() {
17037
17092
  setopenFilterSlider(true);
@@ -17047,11 +17102,31 @@
17047
17102
  }
17048
17103
  }, langdetect == 'en' ? sectionproperties.filterbtntexten : sectionproperties.filterbtntextar), sectionproperties.filterbtniconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("i", {
17049
17104
  "class": "h-100 d-flex align-items-center justify-content-center"
17050
- }, /*#__PURE__*/React__default["default"].createElement(FiFilter.FiFilter, {
17105
+ }, /*#__PURE__*/React__default["default"].createElement(BsSliders, {
17051
17106
  style: {
17052
17107
  fontSize: sectionproperties.filterbtniconfontsize
17053
17108
  }
17054
- })))))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
17109
+ })))), sectionproperties.showFilter == 'show' && sectionproperties.filterType != 'Title & Sort By Only' && sectionproperties.filterdirection != 'Collections Horizontal' && sectionproperties.filterbtnstyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("button", {
17110
+ "class": sectionproperties.filterdirection == 'Horizontal' ? ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ' : ' col-lg-12 col-md-12 pl-0 pr-0 d-none d-md-flex justify-content-end ',
17111
+ onClick: function onClick() {
17112
+ setopenFilterSlider(true);
17113
+ },
17114
+ style: {
17115
+ color: sectionproperties.filterbtn_Textcolor
17116
+ }
17117
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
17118
+ "class": "h-100 d-flex align-items-center justify-content-center",
17119
+ style: {
17120
+ transform: 'rotate(90deg)'
17121
+ }
17122
+ }, /*#__PURE__*/React__default["default"].createElement(FiSliders.FiSliders, {
17123
+ style: {
17124
+ fontSize: 15,
17125
+ color: sectionproperties.filterbtn_Textcolor
17126
+ }
17127
+ })), /*#__PURE__*/React__default["default"].createElement("span", {
17128
+ "class": "mx-2"
17129
+ }, langdetect == 'en' ? 'Filter & Sort By' : 'فلتر')))), sectionproperties.showseparator == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
17055
17130
  "class": "col-lg-12 p-0"
17056
17131
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
17057
17132
  "class": "mt-3 mb-2",
@@ -28776,7 +28851,7 @@
28776
28851
  borderBottomRightRadius: langdetect == 'en' ? 0 : '',
28777
28852
  borderBottomLeftRadius: langdetect == 'ar' ? 0 : '',
28778
28853
  borderTopLeftRadius: langdetect == 'ar' ? 0 : '',
28779
- zIndex: 100
28854
+ zIndex: 100000
28780
28855
  }
28781
28856
  }, /*#__PURE__*/React__default["default"].createElement("li", {
28782
28857
  "class": langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'
@@ -71353,6 +71428,7 @@
71353
71428
  function ownKeys$6(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
71354
71429
  function _objectSpread$6(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$6(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$6(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
71355
71430
  var Simpleproductcard = function Simpleproductcard(props) {
71431
+ var _item$producttags, _item$producttags$;
71356
71432
  var _useState = React.useState(''),
71357
71433
  _useState2 = _slicedToArray__default["default"](_useState, 2),
71358
71434
  sectionproperties = _useState2[0],
@@ -71697,7 +71773,26 @@
71697
71773
  fontSize: sectionproperties.pillfontSize + 'px',
71698
71774
  direction: 'ltr'
71699
71775
  }
71700
- }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), /*#__PURE__*/React__default["default"].createElement("div", {
71776
+ }, langdetect == 'en' ? 'Save' : 'وفر', " ", langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.defaultprice) - parseInt(item.defaultsaleprice))).toFixed(0), " ", langdetect == 'en' ? '' : item.currencyname)), (item === null || item === void 0 ? void 0 : item.producttags) != undefined && (item === null || item === void 0 || (_item$producttags = item.producttags) === null || _item$producttags === void 0 ? void 0 : _item$producttags.length) != 0 && sectionproperties.showtag == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
71777
+ "class": "allcentered",
71778
+ style: {
71779
+ position: 'absolute',
71780
+ bottom: 20,
71781
+ width: '100%',
71782
+ left: 0,
71783
+ right: 0,
71784
+ zIndex: 100
71785
+ }
71786
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
71787
+ "class": "px-3 py-1",
71788
+ style: {
71789
+ width: 'fit-content',
71790
+ background: sectionproperties.tagbackgroundcolor,
71791
+ borderRadius: sectionproperties.tagborderradius + 'px',
71792
+ color: sectionproperties.tagcolor,
71793
+ fontSize: 12
71794
+ }
71795
+ }, item === null || item === void 0 || (_item$producttags$ = item.producttags[0]) === null || _item$producttags$ === void 0 || (_item$producttags$ = _item$producttags$.taginfo) === null || _item$producttags$ === void 0 ? void 0 : _item$producttags$.tagname)), /*#__PURE__*/React__default["default"].createElement("div", {
71701
71796
  "class": sectionproperties.hideshowcardtransition == 'Show' ? " ".concat(card_cssstyles.productcardimagecont, " ").concat(cardstyles$7.imagecontainer) + ' d-flex d-md-none ' : " ".concat(card_cssstyles.productcardimagecont, " ") + ' d-flex d-md-none ',
71702
71797
  style: {
71703
71798
  marginBottom: sectionproperties.image_mb + 'px'
@@ -71720,7 +71815,18 @@
71720
71815
  "class": "m-0 p-0"
71721
71816
  }, langdetect == 'en' ? sectionproperties.outstock_contenten : sectionproperties.outstock_contentar))), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", {
71722
71817
  "class": "row m-0 w-100 "
71723
- }, sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
71818
+ }, sectionproperties.showfeatures == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
71819
+ "class": "allcentered col-lg-12 p-0",
71820
+ style: {
71821
+ height: 40
71822
+ }
71823
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
71824
+ "class": "text-capitalize",
71825
+ style: {
71826
+ color: sectionproperties.tagcolor,
71827
+ fontSize: 14
71828
+ }
71829
+ }, (item === null || item === void 0 ? void 0 : item.productfeature) != undefined && (item === null || item === void 0 ? void 0 : item.productfeature) != null ? item === null || item === void 0 ? void 0 : item.productfeature : '')), sectionproperties.showmeasurementunit == 'Show' && /*#__PURE__*/React__default["default"].createElement("p", {
71724
71830
  "class": "".concat(card_cssstyles.productDescStyles) + ' col-lg-12 wordbreak wordbreak1 p-0 mb-2 ',
71725
71831
  style: {
71726
71832
  textAlign: sectionproperties.productnamecentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.455",
3
+ "version": "0.0.458",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {
package/src.zip CHANGED
Binary file