tabexseriescomponents 0.0.526 → 0.0.527

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
@@ -18165,7 +18165,7 @@ var CardsSection = function CardsSection(props) {
18165
18165
  color: sectionproperties.sectionTitleColor
18166
18166
  }
18167
18167
  }, show_product_group_titles()['title_en'])), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
18168
- "class": "col-lg-12 mb-5"
18168
+ "class": "col-lg-12 mb-3"
18169
18169
  }, /*#__PURE__*/React__default["default"].createElement("p", {
18170
18170
  "class": "m-0",
18171
18171
  style: {
@@ -40447,6 +40447,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
40447
40447
  openSideNav = _useState8[0],
40448
40448
  setopenSideNav = _useState8[1];
40449
40449
  var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
40450
+ var scrollYposittionprops = props.actions.scrollYposittionprops;
40450
40451
  React.useEffect(function () {
40451
40452
  var secpropobj = {};
40452
40453
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -40490,7 +40491,8 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
40490
40491
  }
40491
40492
  }),
40492
40493
  lowerHeaderSection: glamor.css({
40493
- background: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.lowersection_backgroundColor,
40494
+ backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' && window.location.pathname == '/home' ? scrollYposittionprops > 300 ? sectionproperties.lowersection_backgroundColor : 'transparent' : sectionproperties.lowersection_backgroundColor,
40495
+ // background: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.lowersection_backgroundColor,
40494
40496
  paddingLeft: langdetect == 'en' ? sectionproperties.lowersection_paddingleft + 'px' : sectionproperties.lowersection_paddingright + 'px',
40495
40497
  paddingRight: langdetect == 'en' ? sectionproperties.lowersection_paddingright + 'px' : sectionproperties.lowersection_paddingleft + 'px',
40496
40498
  paddingTop: sectionproperties.lowersection_paddingtop + 'px',
@@ -40571,7 +40573,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
40571
40573
  wishlist_btn: glamor.css({
40572
40574
  width: sectionproperties.favBtnWidth + 'px',
40573
40575
  height: sectionproperties.favBtnHeight + 'px',
40574
- background: sectionproperties.favBtnbgColor,
40576
+ background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
40575
40577
  borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
40576
40578
  color: sectionproperties.favBtniconcolor,
40577
40579
  border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
@@ -40585,7 +40587,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
40585
40587
  cart_btn: glamor.css({
40586
40588
  width: sectionproperties.cartBtnWidth == 0 ? 'auto' : sectionproperties.cartBtnWidth + 'px',
40587
40589
  height: sectionproperties.cartBtnHeight == 0 ? 'auto' : sectionproperties.cartBtnHeight + 'px',
40588
- background: sectionproperties.cartBtnbgColor,
40590
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
40589
40591
  borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
40590
40592
  color: sectionproperties.cart_iconcolor,
40591
40593
  border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
@@ -46868,7 +46870,7 @@ var Newsletterincenter = function Newsletterincenter(props) {
46868
46870
  }, /*#__PURE__*/React__default["default"].createElement("input", {
46869
46871
  type: "text",
46870
46872
  className: "".concat(footerStyles.form_control),
46871
- value: '',
46873
+ value: event.target.value,
46872
46874
  placeholder: "your email",
46873
46875
  onChange: function onChange(event) {
46874
46876
  var newslettertemp = _objectSpread$1p({}, newsletter);
@@ -57780,7 +57782,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
57780
57782
  window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber), '_blank');
57781
57783
  }
57782
57784
  } else if (sectionproperties.btntype == 'App/Web Page') {
57783
- window.open(sectionproperties.btnlink, '_target');
57785
+ // window.open(sectionproperties.btnlink, '_target');
57786
+ routingcountext(sectionproperties.btnlink, false, '');
57784
57787
  } else {
57785
57788
  window.open(sectionproperties.btnlink, '_blank');
57786
57789
  }
@@ -57839,7 +57842,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
57839
57842
  var _imagesarray$2;
57840
57843
  if (((_imagesarray$2 = imagesarray[0]) === null || _imagesarray$2 === void 0 ? void 0 : _imagesarray$2.IsClickableimg) == 'Yes') {
57841
57844
  var _imagesarray$3, _imagesarray$4;
57842
- if ((_imagesarray$3 = imagesarray[0]) !== null && _imagesarray$3 !== void 0 && _imagesarray$3.clickableimg_page_route && ((_imagesarray$4 = imagesarray[0]) === null || _imagesarray$4 === void 0 ? void 0 : _imagesarray$4.clickableimg_page_route.length) != 0) {
57845
+ if (((_imagesarray$3 = imagesarray[0]) === null || _imagesarray$3 === void 0 ? void 0 : _imagesarray$3.clickableimg_page_route) != undefined && ((_imagesarray$4 = imagesarray[0]) === null || _imagesarray$4 === void 0 ? void 0 : _imagesarray$4.clickableimg_page_route.length) != 0) {
57843
57846
  var _imagesarray$5;
57844
57847
  routingcountext((_imagesarray$5 = imagesarray[0]) === null || _imagesarray$5 === void 0 ? void 0 : _imagesarray$5.clickableimg_page_route, false, '');
57845
57848
  } else {
package/dist/index.esm.js CHANGED
@@ -18116,7 +18116,7 @@ var CardsSection = function CardsSection(props) {
18116
18116
  color: sectionproperties.sectionTitleColor
18117
18117
  }
18118
18118
  }, show_product_group_titles()['title_en'])), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React.createElement("div", {
18119
- "class": "col-lg-12 mb-5"
18119
+ "class": "col-lg-12 mb-3"
18120
18120
  }, /*#__PURE__*/React.createElement("p", {
18121
18121
  "class": "m-0",
18122
18122
  style: {
@@ -40398,6 +40398,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
40398
40398
  openSideNav = _useState8[0],
40399
40399
  setopenSideNav = _useState8[1];
40400
40400
  var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
40401
+ var scrollYposittionprops = props.actions.scrollYposittionprops;
40401
40402
  useEffect(function () {
40402
40403
  var secpropobj = {};
40403
40404
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -40441,7 +40442,8 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
40441
40442
  }
40442
40443
  }),
40443
40444
  lowerHeaderSection: css({
40444
- background: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.lowersection_backgroundColor,
40445
+ backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' && window.location.pathname == '/home' ? scrollYposittionprops > 300 ? sectionproperties.lowersection_backgroundColor : 'transparent' : sectionproperties.lowersection_backgroundColor,
40446
+ // background: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.lowersection_backgroundColor,
40445
40447
  paddingLeft: langdetect == 'en' ? sectionproperties.lowersection_paddingleft + 'px' : sectionproperties.lowersection_paddingright + 'px',
40446
40448
  paddingRight: langdetect == 'en' ? sectionproperties.lowersection_paddingright + 'px' : sectionproperties.lowersection_paddingleft + 'px',
40447
40449
  paddingTop: sectionproperties.lowersection_paddingtop + 'px',
@@ -40522,7 +40524,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
40522
40524
  wishlist_btn: css({
40523
40525
  width: sectionproperties.favBtnWidth + 'px',
40524
40526
  height: sectionproperties.favBtnHeight + 'px',
40525
- background: sectionproperties.favBtnbgColor,
40527
+ background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
40526
40528
  borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
40527
40529
  color: sectionproperties.favBtniconcolor,
40528
40530
  border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
@@ -40536,7 +40538,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
40536
40538
  cart_btn: css({
40537
40539
  width: sectionproperties.cartBtnWidth == 0 ? 'auto' : sectionproperties.cartBtnWidth + 'px',
40538
40540
  height: sectionproperties.cartBtnHeight == 0 ? 'auto' : sectionproperties.cartBtnHeight + 'px',
40539
- background: sectionproperties.cartBtnbgColor,
40541
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
40540
40542
  borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
40541
40543
  color: sectionproperties.cart_iconcolor,
40542
40544
  border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
@@ -46819,7 +46821,7 @@ var Newsletterincenter = function Newsletterincenter(props) {
46819
46821
  }, /*#__PURE__*/React.createElement("input", {
46820
46822
  type: "text",
46821
46823
  className: "".concat(footerStyles.form_control),
46822
- value: '',
46824
+ value: event.target.value,
46823
46825
  placeholder: "your email",
46824
46826
  onChange: function onChange(event) {
46825
46827
  var newslettertemp = _objectSpread$1p({}, newsletter);
@@ -57731,7 +57733,8 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
57731
57733
  window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber), '_blank');
57732
57734
  }
57733
57735
  } else if (sectionproperties.btntype == 'App/Web Page') {
57734
- window.open(sectionproperties.btnlink, '_target');
57736
+ // window.open(sectionproperties.btnlink, '_target');
57737
+ routingcountext(sectionproperties.btnlink, false, '');
57735
57738
  } else {
57736
57739
  window.open(sectionproperties.btnlink, '_blank');
57737
57740
  }
@@ -57790,7 +57793,7 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
57790
57793
  var _imagesarray$2;
57791
57794
  if (((_imagesarray$2 = imagesarray[0]) === null || _imagesarray$2 === void 0 ? void 0 : _imagesarray$2.IsClickableimg) == 'Yes') {
57792
57795
  var _imagesarray$3, _imagesarray$4;
57793
- if ((_imagesarray$3 = imagesarray[0]) !== null && _imagesarray$3 !== void 0 && _imagesarray$3.clickableimg_page_route && ((_imagesarray$4 = imagesarray[0]) === null || _imagesarray$4 === void 0 ? void 0 : _imagesarray$4.clickableimg_page_route.length) != 0) {
57796
+ if (((_imagesarray$3 = imagesarray[0]) === null || _imagesarray$3 === void 0 ? void 0 : _imagesarray$3.clickableimg_page_route) != undefined && ((_imagesarray$4 = imagesarray[0]) === null || _imagesarray$4 === void 0 ? void 0 : _imagesarray$4.clickableimg_page_route.length) != 0) {
57794
57797
  var _imagesarray$5;
57795
57798
  routingcountext((_imagesarray$5 = imagesarray[0]) === null || _imagesarray$5 === void 0 ? void 0 : _imagesarray$5.clickableimg_page_route, false, '');
57796
57799
  } else {
package/dist/index.umd.js CHANGED
@@ -17991,7 +17991,7 @@
17991
17991
  color: sectionproperties.sectionTitleColor
17992
17992
  }
17993
17993
  }, show_product_group_titles()['title_en'])), sectionproperties.showproductgroupbytitle == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
17994
- "class": "col-lg-12 mb-5"
17994
+ "class": "col-lg-12 mb-3"
17995
17995
  }, /*#__PURE__*/React__default["default"].createElement("p", {
17996
17996
  "class": "m-0",
17997
17997
  style: {
@@ -40273,6 +40273,7 @@
40273
40273
  openSideNav = _useState8[0],
40274
40274
  setopenSideNav = _useState8[1];
40275
40275
  var setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
40276
+ var scrollYposittionprops = props.actions.scrollYposittionprops;
40276
40277
  React.useEffect(function () {
40277
40278
  var secpropobj = {};
40278
40279
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -40316,7 +40317,8 @@
40316
40317
  }
40317
40318
  }),
40318
40319
  lowerHeaderSection: glamor.css({
40319
- background: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.lowersection_backgroundColor,
40320
+ backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' && window.location.pathname == '/home' ? scrollYposittionprops > 300 ? sectionproperties.lowersection_backgroundColor : 'transparent' : sectionproperties.lowersection_backgroundColor,
40321
+ // background: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.lowersection_backgroundColor,
40320
40322
  paddingLeft: langdetect == 'en' ? sectionproperties.lowersection_paddingleft + 'px' : sectionproperties.lowersection_paddingright + 'px',
40321
40323
  paddingRight: langdetect == 'en' ? sectionproperties.lowersection_paddingright + 'px' : sectionproperties.lowersection_paddingleft + 'px',
40322
40324
  paddingTop: sectionproperties.lowersection_paddingtop + 'px',
@@ -40397,7 +40399,7 @@
40397
40399
  wishlist_btn: glamor.css({
40398
40400
  width: sectionproperties.favBtnWidth + 'px',
40399
40401
  height: sectionproperties.favBtnHeight + 'px',
40400
- background: sectionproperties.favBtnbgColor,
40402
+ background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
40401
40403
  borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
40402
40404
  color: sectionproperties.favBtniconcolor,
40403
40405
  border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
@@ -40411,7 +40413,7 @@
40411
40413
  cart_btn: glamor.css({
40412
40414
  width: sectionproperties.cartBtnWidth == 0 ? 'auto' : sectionproperties.cartBtnWidth + 'px',
40413
40415
  height: sectionproperties.cartBtnHeight == 0 ? 'auto' : sectionproperties.cartBtnHeight + 'px',
40414
- background: sectionproperties.cartBtnbgColor,
40416
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
40415
40417
  borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
40416
40418
  color: sectionproperties.cart_iconcolor,
40417
40419
  border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
@@ -46694,7 +46696,7 @@
46694
46696
  }, /*#__PURE__*/React__default["default"].createElement("input", {
46695
46697
  type: "text",
46696
46698
  className: "".concat(footerStyles.form_control),
46697
- value: '',
46699
+ value: event.target.value,
46698
46700
  placeholder: "your email",
46699
46701
  onChange: function onChange(event) {
46700
46702
  var newslettertemp = _objectSpread$1p({}, newsletter);
@@ -57606,7 +57608,8 @@
57606
57608
  window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber), '_blank');
57607
57609
  }
57608
57610
  } else if (sectionproperties.btntype == 'App/Web Page') {
57609
- window.open(sectionproperties.btnlink, '_target');
57611
+ // window.open(sectionproperties.btnlink, '_target');
57612
+ routingcountext(sectionproperties.btnlink, false, '');
57610
57613
  } else {
57611
57614
  window.open(sectionproperties.btnlink, '_blank');
57612
57615
  }
@@ -57665,7 +57668,7 @@
57665
57668
  var _imagesarray$2;
57666
57669
  if (((_imagesarray$2 = imagesarray[0]) === null || _imagesarray$2 === void 0 ? void 0 : _imagesarray$2.IsClickableimg) == 'Yes') {
57667
57670
  var _imagesarray$3, _imagesarray$4;
57668
- if ((_imagesarray$3 = imagesarray[0]) !== null && _imagesarray$3 !== void 0 && _imagesarray$3.clickableimg_page_route && ((_imagesarray$4 = imagesarray[0]) === null || _imagesarray$4 === void 0 ? void 0 : _imagesarray$4.clickableimg_page_route.length) != 0) {
57671
+ if (((_imagesarray$3 = imagesarray[0]) === null || _imagesarray$3 === void 0 ? void 0 : _imagesarray$3.clickableimg_page_route) != undefined && ((_imagesarray$4 = imagesarray[0]) === null || _imagesarray$4 === void 0 ? void 0 : _imagesarray$4.clickableimg_page_route.length) != 0) {
57669
57672
  var _imagesarray$5;
57670
57673
  routingcountext((_imagesarray$5 = imagesarray[0]) === null || _imagesarray$5 === void 0 ? void 0 : _imagesarray$5.clickableimg_page_route, false, '');
57671
57674
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.526",
3
+ "version": "0.0.527",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {