tabexseriescomponents 0.2.984 → 0.2.985

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
@@ -76742,16 +76742,21 @@ var Slideshowslide = function Slideshowslide(props) {
76742
76742
  "class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
76743
76743
  onClick: function onClick() {
76744
76744
  if (item.IsClickableimg == 'Yes') {
76745
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
76745
+ var _authdetailsContext$i3;
76746
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68a9e83c05b75') {
76746
76747
  routingcountext(item.clickableimg_page_route, false, '');
76747
- // alert('1');
76748
- } else if (item.productid != undefined && item.productid.length != 0) {
76749
- // alert(item.productid);
76750
- // routingcountext('/productinfo/' + item.productid, false, '');
76751
- routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
76752
76748
  } else {
76753
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
76754
- // alert('3');
76749
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
76750
+ routingcountext(item.clickableimg_page_route, false, '');
76751
+ // alert('1');
76752
+ } else if (item.productid != undefined && item.productid.length != 0) {
76753
+ // alert(item.productid);
76754
+ // routingcountext('/productinfo/' + item.productid, false, '');
76755
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
76756
+ } else {
76757
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
76758
+ // alert('3');
76759
+ }
76755
76760
  }
76756
76761
  }
76757
76762
  },
@@ -76761,7 +76766,7 @@ var Slideshowslide = function Slideshowslide(props) {
76761
76766
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')));
76762
76767
  };
76763
76768
  var SlideshowContent = function SlideshowContent() {
76764
- var _authdetailsContext$i3, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8;
76769
+ var _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
76765
76770
  return /*#__PURE__*/React__default["default"].createElement("div", {
76766
76771
  "class": "col-lg-12 p-0"
76767
76772
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -76794,8 +76799,8 @@ var Slideshowslide = function Slideshowslide(props) {
76794
76799
  height: sectionproperties.height + 'vh',
76795
76800
  overflowY: 'scroll'
76796
76801
  }
76797
- }, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcategories) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
76798
- var _authdetailsContext$i4;
76802
+ }, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcategories) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.map(function (item, index) {
76803
+ var _authdetailsContext$i5;
76799
76804
  return /*#__PURE__*/React__default["default"].createElement("div", {
76800
76805
  "class": slideshow_styles.categoryname + ' row ml-0 mr-0 w-100 cursor-pointer ',
76801
76806
  onMouseEnter: function onMouseEnter() {
@@ -76817,7 +76822,7 @@ var Slideshowslide = function Slideshowslide(props) {
76817
76822
  size: sectionproperties.collectionsectioniconfontsize
76818
76823
  }) : /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
76819
76824
  size: sectionproperties.collectionsectioniconfontsize
76820
- }))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instcategories) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
76825
+ }))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instcategories) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
76821
76826
  className: "col-lg-12 p-0 mt-3 mb-3"
76822
76827
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
76823
76828
  "class": "m-0"
@@ -76851,7 +76856,7 @@ var Slideshowslide = function Slideshowslide(props) {
76851
76856
  "class": "m-0"
76852
76857
  })));
76853
76858
  }
76854
- })), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instcollections.map(function (item, index) {
76859
+ })), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instcollections.map(function (item, index) {
76855
76860
  if (item.isshowntocustomers == 1) {
76856
76861
  return /*#__PURE__*/React__default["default"].createElement("div", {
76857
76862
  "class": slideshow_styles.parentcollection + ' row ml-0 mr-0 w-100 cursor-pointer ',
@@ -76889,7 +76894,7 @@ var Slideshowslide = function Slideshowslide(props) {
76889
76894
  "class": "m-0"
76890
76895
  })));
76891
76896
  }
76892
- }))), sectionproperties.fetchparenttype == 'Categories' && Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.instcategories[Choosenindex]) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.parentcolletions) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
76897
+ }))), sectionproperties.fetchparenttype == 'Categories' && Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.instcategories[Choosenindex]) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.parentcolletions) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
76893
76898
  "class": langdetect == 'en' ? 'cat_dropdown-menu cat_dropdown cat_dropdownen' : 'cat_dropdown-menu cat_dropdown cat_dropdownar',
76894
76899
  style: {
76895
76900
  minHeight: sectionproperties.height + 'vh'
@@ -76899,7 +76904,7 @@ var Slideshowslide = function Slideshowslide(props) {
76899
76904
  }
76900
76905
  }, /*#__PURE__*/React__default["default"].createElement("div", {
76901
76906
  "class": "row m-0 w-100"
76902
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.instcategories[Choosenindex]) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.parentcolletions) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.map(function (item, index) {
76907
+ }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.instcategories[Choosenindex]) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.parentcolletions) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.map(function (item, index) {
76903
76908
  var _item$collections;
76904
76909
  return /*#__PURE__*/React__default["default"].createElement("div", {
76905
76910
  "class": "col-lg-4 p-0"
@@ -76934,7 +76939,7 @@ var Slideshowslide = function Slideshowslide(props) {
76934
76939
  }
76935
76940
  }, /*#__PURE__*/React__default["default"].createElement("div", {
76936
76941
  "class": "row m-0 w-100"
76937
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.instcategories[0]) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.parentcolletions[Choosenindex]) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.collections) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.map(function (item, index) {
76942
+ }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.instcategories[0]) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.parentcolletions[Choosenindex]) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.collections) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.map(function (item, index) {
76938
76943
  return /*#__PURE__*/React__default["default"].createElement("div", {
76939
76944
  "class": "col-lg-4 p-0",
76940
76945
  onClick: function onClick() {
@@ -76985,16 +76990,21 @@ var Slideshowslide = function Slideshowslide(props) {
76985
76990
  key: index,
76986
76991
  onClick: function onClick() {
76987
76992
  if (item.IsClickableimg == 'Yes') {
76988
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
76993
+ var _authdetailsContext$i0;
76994
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68a9e83c05b75') {
76989
76995
  routingcountext(item.clickableimg_page_route, false, '');
76990
- // alert('1');
76991
- } else if (item.productid != undefined && item.productid.length != 0) {
76992
- // alert(item.productid);
76993
- // routingcountext('/productinfo/' + item.productid, false, '');
76994
- routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
76995
76996
  } else {
76996
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
76997
- // alert('3');
76997
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
76998
+ routingcountext(item.clickableimg_page_route, false, '');
76999
+ // alert('1');
77000
+ } else if (item.productid != undefined && item.productid.length != 0) {
77001
+ // alert(item.productid);
77002
+ // routingcountext('/productinfo/' + item.productid, false, '');
77003
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
77004
+ } else {
77005
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
77006
+ // alert('3');
77007
+ }
76998
77008
  }
76999
77009
  }
77000
77010
  },
@@ -77030,17 +77040,22 @@ var Slideshowslide = function Slideshowslide(props) {
77030
77040
  },
77031
77041
  onClick: function onClick() {
77032
77042
  if (item.IsClickableimg == 'Yes') {
77033
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
77043
+ var _authdetailsContext$i1;
77044
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '68a9e83c05b75') {
77034
77045
  routingcountext(item.clickableimg_page_route, false, '');
77035
- // alert('1');
77036
- } else if (item.productid != undefined && item.productid.length != 0) {
77037
- // alert(item.productid);
77038
- routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
77039
-
77040
- // routingcountext('/productinfo/' + item.productid, false, '');
77041
77046
  } else {
77042
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
77043
- // alert('3');
77047
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
77048
+ routingcountext(item.clickableimg_page_route, false, '');
77049
+ // alert('1');
77050
+ } else if (item.productid != undefined && item.productid.length != 0) {
77051
+ // alert(item.productid);
77052
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
77053
+
77054
+ // routingcountext('/productinfo/' + item.productid, false, '');
77055
+ } else {
77056
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
77057
+ // alert('3');
77058
+ }
77044
77059
  }
77045
77060
  }
77046
77061
  }
package/dist/index.esm.js CHANGED
@@ -76691,16 +76691,21 @@ var Slideshowslide = function Slideshowslide(props) {
76691
76691
  "class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
76692
76692
  onClick: function onClick() {
76693
76693
  if (item.IsClickableimg == 'Yes') {
76694
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
76694
+ var _authdetailsContext$i3;
76695
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68a9e83c05b75') {
76695
76696
  routingcountext(item.clickableimg_page_route, false, '');
76696
- // alert('1');
76697
- } else if (item.productid != undefined && item.productid.length != 0) {
76698
- // alert(item.productid);
76699
- // routingcountext('/productinfo/' + item.productid, false, '');
76700
- routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
76701
76697
  } else {
76702
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
76703
- // alert('3');
76698
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
76699
+ routingcountext(item.clickableimg_page_route, false, '');
76700
+ // alert('1');
76701
+ } else if (item.productid != undefined && item.productid.length != 0) {
76702
+ // alert(item.productid);
76703
+ // routingcountext('/productinfo/' + item.productid, false, '');
76704
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
76705
+ } else {
76706
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
76707
+ // alert('3');
76708
+ }
76704
76709
  }
76705
76710
  }
76706
76711
  },
@@ -76710,7 +76715,7 @@ var Slideshowslide = function Slideshowslide(props) {
76710
76715
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')));
76711
76716
  };
76712
76717
  var SlideshowContent = function SlideshowContent() {
76713
- var _authdetailsContext$i3, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8;
76718
+ var _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
76714
76719
  return /*#__PURE__*/React.createElement("div", {
76715
76720
  "class": "col-lg-12 p-0"
76716
76721
  }, /*#__PURE__*/React.createElement("div", {
@@ -76743,8 +76748,8 @@ var Slideshowslide = function Slideshowslide(props) {
76743
76748
  height: sectionproperties.height + 'vh',
76744
76749
  overflowY: 'scroll'
76745
76750
  }
76746
- }, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcategories) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
76747
- var _authdetailsContext$i4;
76751
+ }, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcategories) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.map(function (item, index) {
76752
+ var _authdetailsContext$i5;
76748
76753
  return /*#__PURE__*/React.createElement("div", {
76749
76754
  "class": slideshow_styles.categoryname + ' row ml-0 mr-0 w-100 cursor-pointer ',
76750
76755
  onMouseEnter: function onMouseEnter() {
@@ -76766,7 +76771,7 @@ var Slideshowslide = function Slideshowslide(props) {
76766
76771
  size: sectionproperties.collectionsectioniconfontsize
76767
76772
  }) : /*#__PURE__*/React.createElement(BsChevronLeft, {
76768
76773
  size: sectionproperties.collectionsectioniconfontsize
76769
- }))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instcategories) - 1 && /*#__PURE__*/React.createElement("div", {
76774
+ }))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instcategories) - 1 && /*#__PURE__*/React.createElement("div", {
76770
76775
  className: "col-lg-12 p-0 mt-3 mb-3"
76771
76776
  }, /*#__PURE__*/React.createElement("hr", {
76772
76777
  "class": "m-0"
@@ -76800,7 +76805,7 @@ var Slideshowslide = function Slideshowslide(props) {
76800
76805
  "class": "m-0"
76801
76806
  })));
76802
76807
  }
76803
- })), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instcollections.map(function (item, index) {
76808
+ })), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instcollections.map(function (item, index) {
76804
76809
  if (item.isshowntocustomers == 1) {
76805
76810
  return /*#__PURE__*/React.createElement("div", {
76806
76811
  "class": slideshow_styles.parentcollection + ' row ml-0 mr-0 w-100 cursor-pointer ',
@@ -76838,7 +76843,7 @@ var Slideshowslide = function Slideshowslide(props) {
76838
76843
  "class": "m-0"
76839
76844
  })));
76840
76845
  }
76841
- }))), sectionproperties.fetchparenttype == 'Categories' && Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.instcategories[Choosenindex]) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.parentcolletions) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.length) != 0 && /*#__PURE__*/React.createElement("div", {
76846
+ }))), sectionproperties.fetchparenttype == 'Categories' && Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.instcategories[Choosenindex]) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.parentcolletions) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.length) != 0 && /*#__PURE__*/React.createElement("div", {
76842
76847
  "class": langdetect == 'en' ? 'cat_dropdown-menu cat_dropdown cat_dropdownen' : 'cat_dropdown-menu cat_dropdown cat_dropdownar',
76843
76848
  style: {
76844
76849
  minHeight: sectionproperties.height + 'vh'
@@ -76848,7 +76853,7 @@ var Slideshowslide = function Slideshowslide(props) {
76848
76853
  }
76849
76854
  }, /*#__PURE__*/React.createElement("div", {
76850
76855
  "class": "row m-0 w-100"
76851
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.instcategories[Choosenindex]) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.parentcolletions) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.map(function (item, index) {
76856
+ }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.instcategories[Choosenindex]) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.parentcolletions) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.map(function (item, index) {
76852
76857
  var _item$collections;
76853
76858
  return /*#__PURE__*/React.createElement("div", {
76854
76859
  "class": "col-lg-4 p-0"
@@ -76883,7 +76888,7 @@ var Slideshowslide = function Slideshowslide(props) {
76883
76888
  }
76884
76889
  }, /*#__PURE__*/React.createElement("div", {
76885
76890
  "class": "row m-0 w-100"
76886
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.instcategories[0]) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.parentcolletions[Choosenindex]) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.collections) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.map(function (item, index) {
76891
+ }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.instcategories[0]) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.parentcolletions[Choosenindex]) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.collections) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.map(function (item, index) {
76887
76892
  return /*#__PURE__*/React.createElement("div", {
76888
76893
  "class": "col-lg-4 p-0",
76889
76894
  onClick: function onClick() {
@@ -76934,16 +76939,21 @@ var Slideshowslide = function Slideshowslide(props) {
76934
76939
  key: index,
76935
76940
  onClick: function onClick() {
76936
76941
  if (item.IsClickableimg == 'Yes') {
76937
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
76942
+ var _authdetailsContext$i0;
76943
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68a9e83c05b75') {
76938
76944
  routingcountext(item.clickableimg_page_route, false, '');
76939
- // alert('1');
76940
- } else if (item.productid != undefined && item.productid.length != 0) {
76941
- // alert(item.productid);
76942
- // routingcountext('/productinfo/' + item.productid, false, '');
76943
- routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
76944
76945
  } else {
76945
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
76946
- // alert('3');
76946
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
76947
+ routingcountext(item.clickableimg_page_route, false, '');
76948
+ // alert('1');
76949
+ } else if (item.productid != undefined && item.productid.length != 0) {
76950
+ // alert(item.productid);
76951
+ // routingcountext('/productinfo/' + item.productid, false, '');
76952
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
76953
+ } else {
76954
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
76955
+ // alert('3');
76956
+ }
76947
76957
  }
76948
76958
  }
76949
76959
  },
@@ -76979,17 +76989,22 @@ var Slideshowslide = function Slideshowslide(props) {
76979
76989
  },
76980
76990
  onClick: function onClick() {
76981
76991
  if (item.IsClickableimg == 'Yes') {
76982
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
76992
+ var _authdetailsContext$i1;
76993
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '68a9e83c05b75') {
76983
76994
  routingcountext(item.clickableimg_page_route, false, '');
76984
- // alert('1');
76985
- } else if (item.productid != undefined && item.productid.length != 0) {
76986
- // alert(item.productid);
76987
- routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
76988
-
76989
- // routingcountext('/productinfo/' + item.productid, false, '');
76990
76995
  } else {
76991
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
76992
- // alert('3');
76996
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
76997
+ routingcountext(item.clickableimg_page_route, false, '');
76998
+ // alert('1');
76999
+ } else if (item.productid != undefined && item.productid.length != 0) {
77000
+ // alert(item.productid);
77001
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
77002
+
77003
+ // routingcountext('/productinfo/' + item.productid, false, '');
77004
+ } else {
77005
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
77006
+ // alert('3');
77007
+ }
76993
77008
  }
76994
77009
  }
76995
77010
  }
package/dist/index.umd.js CHANGED
@@ -76551,16 +76551,21 @@
76551
76551
  "class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
76552
76552
  onClick: function onClick() {
76553
76553
  if (item.IsClickableimg == 'Yes') {
76554
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
76554
+ var _authdetailsContext$i3;
76555
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.contactinfo.instid) == '68a9e83c05b75') {
76555
76556
  routingcountext(item.clickableimg_page_route, false, '');
76556
- // alert('1');
76557
- } else if (item.productid != undefined && item.productid.length != 0) {
76558
- // alert(item.productid);
76559
- // routingcountext('/productinfo/' + item.productid, false, '');
76560
- routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
76561
76557
  } else {
76562
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
76563
- // alert('3');
76558
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
76559
+ routingcountext(item.clickableimg_page_route, false, '');
76560
+ // alert('1');
76561
+ } else if (item.productid != undefined && item.productid.length != 0) {
76562
+ // alert(item.productid);
76563
+ // routingcountext('/productinfo/' + item.productid, false, '');
76564
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
76565
+ } else {
76566
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
76567
+ // alert('3');
76568
+ }
76564
76569
  }
76565
76570
  }
76566
76571
  },
@@ -76570,7 +76575,7 @@
76570
76575
  }, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar, ' ')));
76571
76576
  };
76572
76577
  var SlideshowContent = function SlideshowContent() {
76573
- var _authdetailsContext$i3, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8;
76578
+ var _authdetailsContext$i4, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
76574
76579
  return /*#__PURE__*/React__default["default"].createElement("div", {
76575
76580
  "class": "col-lg-12 p-0"
76576
76581
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -76603,8 +76608,8 @@
76603
76608
  height: sectionproperties.height + 'vh',
76604
76609
  overflowY: 'scroll'
76605
76610
  }
76606
- }, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcategories) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
76607
- var _authdetailsContext$i4;
76611
+ }, sectionproperties.fetchparenttype == 'Categories' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 || (_authdetailsContext$i4 = _authdetailsContext$i4.instcategories) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.map(function (item, index) {
76612
+ var _authdetailsContext$i5;
76608
76613
  return /*#__PURE__*/React__default["default"].createElement("div", {
76609
76614
  "class": slideshow_styles.categoryname + ' row ml-0 mr-0 w-100 cursor-pointer ',
76610
76615
  onMouseEnter: function onMouseEnter() {
@@ -76626,7 +76631,7 @@
76626
76631
  size: sectionproperties.collectionsectioniconfontsize
76627
76632
  }) : /*#__PURE__*/React__default["default"].createElement(BsChevronLeft.BsChevronLeft, {
76628
76633
  size: sectionproperties.collectionsectioniconfontsize
76629
- }))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instcategories) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
76634
+ }))), index != (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instcategories) - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
76630
76635
  className: "col-lg-12 p-0 mt-3 mb-3"
76631
76636
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
76632
76637
  "class": "m-0"
@@ -76660,7 +76665,7 @@
76660
76665
  "class": "m-0"
76661
76666
  })));
76662
76667
  }
76663
- })), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instcollections.map(function (item, index) {
76668
+ })), sectionproperties.fetchparenttype == 'Collections' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instcollections.map(function (item, index) {
76664
76669
  if (item.isshowntocustomers == 1) {
76665
76670
  return /*#__PURE__*/React__default["default"].createElement("div", {
76666
76671
  "class": slideshow_styles.parentcollection + ' row ml-0 mr-0 w-100 cursor-pointer ',
@@ -76698,7 +76703,7 @@
76698
76703
  "class": "m-0"
76699
76704
  })));
76700
76705
  }
76701
- }))), sectionproperties.fetchparenttype == 'Categories' && Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.instcategories[Choosenindex]) === null || _authdetailsContext$i6 === void 0 || (_authdetailsContext$i6 = _authdetailsContext$i6.parentcolletions) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
76706
+ }))), sectionproperties.fetchparenttype == 'Categories' && Choosenindex.length != 0 && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.instcategories[Choosenindex]) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.parentcolletions) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
76702
76707
  "class": langdetect == 'en' ? 'cat_dropdown-menu cat_dropdown cat_dropdownen' : 'cat_dropdown-menu cat_dropdown cat_dropdownar',
76703
76708
  style: {
76704
76709
  minHeight: sectionproperties.height + 'vh'
@@ -76708,7 +76713,7 @@
76708
76713
  }
76709
76714
  }, /*#__PURE__*/React__default["default"].createElement("div", {
76710
76715
  "class": "row m-0 w-100"
76711
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.instcategories[Choosenindex]) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.parentcolletions) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.map(function (item, index) {
76716
+ }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.instcategories[Choosenindex]) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.parentcolletions) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.map(function (item, index) {
76712
76717
  var _item$collections;
76713
76718
  return /*#__PURE__*/React__default["default"].createElement("div", {
76714
76719
  "class": "col-lg-4 p-0"
@@ -76743,7 +76748,7 @@
76743
76748
  }
76744
76749
  }, /*#__PURE__*/React__default["default"].createElement("div", {
76745
76750
  "class": "row m-0 w-100"
76746
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.instcategories[0]) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.parentcolletions[Choosenindex]) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.collections) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.map(function (item, index) {
76751
+ }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.instcategories[0]) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.parentcolletions[Choosenindex]) === null || _authdetailsContext$i9 === void 0 || (_authdetailsContext$i9 = _authdetailsContext$i9.collections) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.map(function (item, index) {
76747
76752
  return /*#__PURE__*/React__default["default"].createElement("div", {
76748
76753
  "class": "col-lg-4 p-0",
76749
76754
  onClick: function onClick() {
@@ -76794,16 +76799,21 @@
76794
76799
  key: index,
76795
76800
  onClick: function onClick() {
76796
76801
  if (item.IsClickableimg == 'Yes') {
76797
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
76802
+ var _authdetailsContext$i0;
76803
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '68a9e83c05b75') {
76798
76804
  routingcountext(item.clickableimg_page_route, false, '');
76799
- // alert('1');
76800
- } else if (item.productid != undefined && item.productid.length != 0) {
76801
- // alert(item.productid);
76802
- // routingcountext('/productinfo/' + item.productid, false, '');
76803
- routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
76804
76805
  } else {
76805
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
76806
- // alert('3');
76806
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
76807
+ routingcountext(item.clickableimg_page_route, false, '');
76808
+ // alert('1');
76809
+ } else if (item.productid != undefined && item.productid.length != 0) {
76810
+ // alert(item.productid);
76811
+ // routingcountext('/productinfo/' + item.productid, false, '');
76812
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
76813
+ } else {
76814
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
76815
+ // alert('3');
76816
+ }
76807
76817
  }
76808
76818
  }
76809
76819
  },
@@ -76839,17 +76849,22 @@
76839
76849
  },
76840
76850
  onClick: function onClick() {
76841
76851
  if (item.IsClickableimg == 'Yes') {
76842
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
76852
+ var _authdetailsContext$i1;
76853
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '68a9e83c05b75') {
76843
76854
  routingcountext(item.clickableimg_page_route, false, '');
76844
- // alert('1');
76845
- } else if (item.productid != undefined && item.productid.length != 0) {
76846
- // alert(item.productid);
76847
- routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
76848
-
76849
- // routingcountext('/productinfo/' + item.productid, false, '');
76850
76855
  } else {
76851
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
76852
- // alert('3');
76856
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
76857
+ routingcountext(item.clickableimg_page_route, false, '');
76858
+ // alert('1');
76859
+ } else if (item.productid != undefined && item.productid.length != 0) {
76860
+ // alert(item.productid);
76861
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
76862
+
76863
+ // routingcountext('/productinfo/' + item.productid, false, '');
76864
+ } else {
76865
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
76866
+ // alert('3');
76867
+ }
76853
76868
  }
76854
76869
  }
76855
76870
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.984",
3
+ "version": "0.2.985",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",