tabexseriescomponents 0.0.476 → 0.0.477

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
@@ -19008,7 +19008,12 @@ var MarqueeHeader = function MarqueeHeader(props) {
19008
19008
  paddingLeft: '200px',
19009
19009
  paddingRight: '200px'
19010
19010
  }
19011
- }, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React__default["default"].createElement("marquee", null, /*#__PURE__*/React__default["default"].createElement("span", {
19011
+ }, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React__default["default"].createElement("marquee", {
19012
+ width: "100%",
19013
+ direction: "left",
19014
+ scrollamount: "3",
19015
+ behavior: "scroll"
19016
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
19012
19017
  "class": "d-flex flex-row align-items-center"
19013
19018
  }, textarray.map(function (item, index) {
19014
19019
  return /*#__PURE__*/React__default["default"].createElement("p", {
@@ -58788,8 +58793,21 @@ var Slideshowslide = function Slideshowslide(props) {
58788
58793
  }, /*#__PURE__*/React__default["default"].createElement("button", {
58789
58794
  "class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
58790
58795
  onClick: function onClick() {
58791
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
58796
+ if (item.IsClickableimg == 'Yes') {
58797
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
58798
+ routingcountext(item.clickableimg_page_route, false, '');
58799
+ // alert('1');
58800
+ } else if (item.productid != undefined && item.productid.length != 0) {
58801
+ // alert(item.productid);
58802
+ // routingcountext('/productinfo/' + item.productid, false, '');
58803
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
58804
+ } else {
58805
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
58806
+ // alert('3');
58807
+ }
58808
+ }
58792
58809
  },
58810
+
58793
58811
  style: {
58794
58812
  direction: langdetect == 'en' ? 'ltr' : 'rtl'
58795
58813
  }
@@ -59020,13 +59038,20 @@ var Slideshowslide = function Slideshowslide(props) {
59020
59038
  key: index,
59021
59039
  onClick: function onClick() {
59022
59040
  if (item.IsClickableimg == 'Yes') {
59023
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59041
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
59024
59042
  routingcountext(item.clickableimg_page_route, false, '');
59043
+ // alert('1');
59044
+ } else if (item.productid != undefined && item.productid.length != 0) {
59045
+ // alert(item.productid);
59046
+ // routingcountext('/productinfo/' + item.productid, false, '');
59047
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
59025
59048
  } else {
59026
59049
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
59050
+ // alert('3');
59027
59051
  }
59028
59052
  }
59029
59053
  },
59054
+
59030
59055
  style: _defineProperty__default["default"]({
59031
59056
  direction: langdetect == 'en' ? 'ltr' : 'rtl',
59032
59057
  width: '100%',
@@ -59059,10 +59084,17 @@ var Slideshowslide = function Slideshowslide(props) {
59059
59084
  },
59060
59085
  onClick: function onClick() {
59061
59086
  if (item.IsClickableimg == 'Yes') {
59062
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59087
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
59063
59088
  routingcountext(item.clickableimg_page_route, false, '');
59089
+ // alert('1');
59090
+ } else if (item.productid != undefined && item.productid.length != 0) {
59091
+ // alert(item.productid);
59092
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
59093
+
59094
+ // routingcountext('/productinfo/' + item.productid, false, '');
59064
59095
  } else {
59065
59096
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
59097
+ // alert('3');
59066
59098
  }
59067
59099
  }
59068
59100
  }
package/dist/index.esm.js CHANGED
@@ -18959,7 +18959,12 @@ var MarqueeHeader = function MarqueeHeader(props) {
18959
18959
  paddingLeft: '200px',
18960
18960
  paddingRight: '200px'
18961
18961
  }
18962
- }, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React.createElement("marquee", null, /*#__PURE__*/React.createElement("span", {
18962
+ }, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React.createElement("marquee", {
18963
+ width: "100%",
18964
+ direction: "left",
18965
+ scrollamount: "3",
18966
+ behavior: "scroll"
18967
+ }, /*#__PURE__*/React.createElement("span", {
18963
18968
  "class": "d-flex flex-row align-items-center"
18964
18969
  }, textarray.map(function (item, index) {
18965
18970
  return /*#__PURE__*/React.createElement("p", {
@@ -58739,8 +58744,21 @@ var Slideshowslide = function Slideshowslide(props) {
58739
58744
  }, /*#__PURE__*/React.createElement("button", {
58740
58745
  "class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
58741
58746
  onClick: function onClick() {
58742
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
58747
+ if (item.IsClickableimg == 'Yes') {
58748
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
58749
+ routingcountext(item.clickableimg_page_route, false, '');
58750
+ // alert('1');
58751
+ } else if (item.productid != undefined && item.productid.length != 0) {
58752
+ // alert(item.productid);
58753
+ // routingcountext('/productinfo/' + item.productid, false, '');
58754
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
58755
+ } else {
58756
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
58757
+ // alert('3');
58758
+ }
58759
+ }
58743
58760
  },
58761
+
58744
58762
  style: {
58745
58763
  direction: langdetect == 'en' ? 'ltr' : 'rtl'
58746
58764
  }
@@ -58971,13 +58989,20 @@ var Slideshowslide = function Slideshowslide(props) {
58971
58989
  key: index,
58972
58990
  onClick: function onClick() {
58973
58991
  if (item.IsClickableimg == 'Yes') {
58974
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
58992
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
58975
58993
  routingcountext(item.clickableimg_page_route, false, '');
58994
+ // alert('1');
58995
+ } else if (item.productid != undefined && item.productid.length != 0) {
58996
+ // alert(item.productid);
58997
+ // routingcountext('/productinfo/' + item.productid, false, '');
58998
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
58976
58999
  } else {
58977
59000
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
59001
+ // alert('3');
58978
59002
  }
58979
59003
  }
58980
59004
  },
59005
+
58981
59006
  style: _defineProperty({
58982
59007
  direction: langdetect == 'en' ? 'ltr' : 'rtl',
58983
59008
  width: '100%',
@@ -59010,10 +59035,17 @@ var Slideshowslide = function Slideshowslide(props) {
59010
59035
  },
59011
59036
  onClick: function onClick() {
59012
59037
  if (item.IsClickableimg == 'Yes') {
59013
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
59038
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
59014
59039
  routingcountext(item.clickableimg_page_route, false, '');
59040
+ // alert('1');
59041
+ } else if (item.productid != undefined && item.productid.length != 0) {
59042
+ // alert(item.productid);
59043
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
59044
+
59045
+ // routingcountext('/productinfo/' + item.productid, false, '');
59015
59046
  } else {
59016
59047
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
59048
+ // alert('3');
59017
59049
  }
59018
59050
  }
59019
59051
  }
package/dist/index.umd.js CHANGED
@@ -18834,7 +18834,12 @@
18834
18834
  paddingLeft: '200px',
18835
18835
  paddingRight: '200px'
18836
18836
  }
18837
- }, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React__default["default"].createElement("marquee", null, /*#__PURE__*/React__default["default"].createElement("span", {
18837
+ }, templateproperties_context.textslidertype == 'Slider' && /*#__PURE__*/React__default["default"].createElement("marquee", {
18838
+ width: "100%",
18839
+ direction: "left",
18840
+ scrollamount: "3",
18841
+ behavior: "scroll"
18842
+ }, /*#__PURE__*/React__default["default"].createElement("span", {
18838
18843
  "class": "d-flex flex-row align-items-center"
18839
18844
  }, textarray.map(function (item, index) {
18840
18845
  return /*#__PURE__*/React__default["default"].createElement("p", {
@@ -58614,8 +58619,21 @@
58614
58619
  }, /*#__PURE__*/React__default["default"].createElement("button", {
58615
58620
  "class": "".concat(slideshow_styles.slideshow_btn) + ' allcentered ',
58616
58621
  onClick: function onClick() {
58617
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
58622
+ if (item.IsClickableimg == 'Yes') {
58623
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
58624
+ routingcountext(item.clickableimg_page_route, false, '');
58625
+ // alert('1');
58626
+ } else if (item.productid != undefined && item.productid.length != 0) {
58627
+ // alert(item.productid);
58628
+ // routingcountext('/productinfo/' + item.productid, false, '');
58629
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
58630
+ } else {
58631
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
58632
+ // alert('3');
58633
+ }
58634
+ }
58618
58635
  },
58636
+
58619
58637
  style: {
58620
58638
  direction: langdetect == 'en' ? 'ltr' : 'rtl'
58621
58639
  }
@@ -58846,13 +58864,20 @@
58846
58864
  key: index,
58847
58865
  onClick: function onClick() {
58848
58866
  if (item.IsClickableimg == 'Yes') {
58849
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
58867
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
58850
58868
  routingcountext(item.clickableimg_page_route, false, '');
58869
+ // alert('1');
58870
+ } else if (item.productid != undefined && item.productid.length != 0) {
58871
+ // alert(item.productid);
58872
+ // routingcountext('/productinfo/' + item.productid, false, '');
58873
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
58851
58874
  } else {
58852
58875
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
58876
+ // alert('3');
58853
58877
  }
58854
58878
  }
58855
58879
  },
58880
+
58856
58881
  style: _defineProperty__default["default"]({
58857
58882
  direction: langdetect == 'en' ? 'ltr' : 'rtl',
58858
58883
  width: '100%',
@@ -58885,10 +58910,17 @@
58885
58910
  },
58886
58911
  onClick: function onClick() {
58887
58912
  if (item.IsClickableimg == 'Yes') {
58888
- if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
58913
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0 && item.productid.length == 0) {
58889
58914
  routingcountext(item.clickableimg_page_route, false, '');
58915
+ // alert('1');
58916
+ } else if (item.productid != undefined && item.productid.length != 0) {
58917
+ // alert(item.productid);
58918
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
58919
+
58920
+ // routingcountext('/productinfo/' + item.productid, false, '');
58890
58921
  } else {
58891
58922
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.Clickableimg_getcoection);
58923
+ // alert('3');
58892
58924
  }
58893
58925
  }
58894
58926
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.476",
3
+ "version": "0.0.477",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {