tabexseriescomponents 0.0.650 → 0.0.651

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
@@ -17989,7 +17989,7 @@ var CardsSection = function CardsSection(props) {
17989
17989
  marginTop: sectionproperties.marginTop + 'px',
17990
17990
  '@media (max-width: 800px)': {
17991
17991
  marginTop: sectionproperties.marginTopResp != undefined && sectionproperties.marginTopResp != undefined ? sectionproperties.marginTopResp + 'px' : sectionproperties.marginTop + 'px',
17992
- width: sectionproperties.widthresponsive + 'vw'
17992
+ width: sectionproperties.widthresponsive + '%'
17993
17993
  }
17994
17994
  }),
17995
17995
  innercardssection: glamor.css({
@@ -30751,7 +30751,7 @@ var Header8 = function Header8(props) {
30751
30751
  marginTop: sectionproperties.header_marginTop + 'px',
30752
30752
  marginBottom: sectionproperties.header_marginBottom + 'px'
30753
30753
  }
30754
- }, sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
30754
+ }, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
30755
30755
  "class": "col-lg-12 p-0 d-md-none d-sm-none"
30756
30756
  }, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
30757
30757
  sectionpropertiesprops: sectionproperties,
@@ -47668,6 +47668,10 @@ var Newsletterfooter = function Newsletterfooter(props) {
47668
47668
  var templateproperties_context = props.actions.templateproperties_context;
47669
47669
  var templatepropcontext = props.actions.templatepropcontext;
47670
47670
  var ikimagecredcontext = props.actions.ikimagecredcontext;
47671
+ var _useState5 = React.useState([]),
47672
+ _useState6 = _slicedToArray__default["default"](_useState5, 2),
47673
+ maincontainerarrayofobjs = _useState6[0],
47674
+ setmaincontainerarrayofobjs = _useState6[1];
47671
47675
  React.useEffect(function () {
47672
47676
  var secpropobj = {};
47673
47677
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -47690,6 +47694,21 @@ var Newsletterfooter = function Newsletterfooter(props) {
47690
47694
  return policyobj;
47691
47695
  };
47692
47696
  var footerStyles = (_footerStyles = {
47697
+ imgcontainer: glamor.css({
47698
+ ':before': {
47699
+ width: '100%',
47700
+ height: '100%',
47701
+ background: 'rgba(0,0,0,' + sectionproperties.cardbg_opacity + ')',
47702
+ zIndex: 1,
47703
+ position: 'absolute',
47704
+ content: 's',
47705
+ fontSize: 0,
47706
+ left: 0,
47707
+ right: 0,
47708
+ top: 0,
47709
+ bottom: 0
47710
+ }
47711
+ }),
47693
47712
  divider: glamor.css({
47694
47713
  height: '1px',
47695
47714
  width: '100%',
@@ -47705,7 +47724,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
47705
47724
  objectFit: 'contain'
47706
47725
  }),
47707
47726
  footerContainer: glamor.css({
47708
- background: sectionproperties.footerbgcolor,
47727
+ // background: sectionproperties.footerbgcolor,
47709
47728
  paddingTop: sectionproperties.footer_paddingTop + 'px',
47710
47729
  paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
47711
47730
  paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
@@ -47826,10 +47845,10 @@ var Newsletterfooter = function Newsletterfooter(props) {
47826
47845
  }
47827
47846
  }
47828
47847
  }, [templateproperties_context]);
47829
- var _useState5 = React.useState([]),
47830
- _useState6 = _slicedToArray__default["default"](_useState5, 2),
47831
- bgimagearrayofobjs = _useState6[0],
47832
- setbgimagearrayofobjs = _useState6[1];
47848
+ var _useState7 = React.useState([]),
47849
+ _useState8 = _slicedToArray__default["default"](_useState7, 2),
47850
+ bgimagearrayofobjs = _useState8[0],
47851
+ setbgimagearrayofobjs = _useState8[1];
47833
47852
  React.useEffect(function () {
47834
47853
  if (sectionproperties.length != 0 && sectionproperties.logoarrayofobjects != undefined) {
47835
47854
  var bg1_arrayofobjsparsed = JSON.parse(sectionproperties.logoarrayofobjects);
@@ -47838,6 +47857,14 @@ var Newsletterfooter = function Newsletterfooter(props) {
47838
47857
  }
47839
47858
  }
47840
47859
  }, [sectionproperties]);
47860
+ React.useEffect(function () {
47861
+ if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
47862
+ var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
47863
+ if (Array.isArray(maincontainerarrayofobjsparsed)) {
47864
+ setmaincontainerarrayofobjs(_toConsumableArray__default["default"](maincontainerarrayofobjsparsed));
47865
+ }
47866
+ }
47867
+ }, [sectionproperties]);
47841
47868
  var Section1Title = function Section1Title() {
47842
47869
  return /*#__PURE__*/React__default["default"].createElement("div", {
47843
47870
  "class": "col-lg-12 p-0"
@@ -48067,12 +48094,33 @@ var Newsletterfooter = function Newsletterfooter(props) {
48067
48094
  }, /*#__PURE__*/React__default["default"].createElement("div", {
48068
48095
  "class": "row m-0 w-md-100",
48069
48096
  style: {
48070
- width: sectionproperties.footerwidth + 'vw'
48097
+ width: sectionproperties.footerwidth + 'vw',
48098
+ position: 'relative',
48099
+ background: sectionproperties.footerbgcolor
48071
48100
  }
48072
- }, /*#__PURE__*/React__default["default"].createElement("div", {
48101
+ }, maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
48102
+ className: footerStyles.imgcontainer
48103
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
48104
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
48105
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
48106
+ path: maincontainerarrayofobjs[0].back_bgimage,
48107
+ style: {
48108
+ height: '100%',
48109
+ width: '100%',
48110
+ objectFit: 'cover',
48111
+ margin: 0,
48112
+ padding: 0,
48113
+ position: 'absolute',
48114
+ top: 0,
48115
+ bottom: 0,
48116
+ right: 0,
48117
+ left: 0
48118
+ }
48119
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
48073
48120
  style: {
48074
48121
  paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
48075
- paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px'
48122
+ paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
48123
+ zIndex: 1
48076
48124
  },
48077
48125
  "class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3 px-2015-3 py-lg-3 '
48078
48126
  }, /*#__PURE__*/React__default["default"].createElement("div", {
package/dist/index.esm.js CHANGED
@@ -17940,7 +17940,7 @@ var CardsSection = function CardsSection(props) {
17940
17940
  marginTop: sectionproperties.marginTop + 'px',
17941
17941
  '@media (max-width: 800px)': {
17942
17942
  marginTop: sectionproperties.marginTopResp != undefined && sectionproperties.marginTopResp != undefined ? sectionproperties.marginTopResp + 'px' : sectionproperties.marginTop + 'px',
17943
- width: sectionproperties.widthresponsive + 'vw'
17943
+ width: sectionproperties.widthresponsive + '%'
17944
17944
  }
17945
17945
  }),
17946
17946
  innercardssection: css({
@@ -30702,7 +30702,7 @@ var Header8 = function Header8(props) {
30702
30702
  marginTop: sectionproperties.header_marginTop + 'px',
30703
30703
  marginBottom: sectionproperties.header_marginBottom + 'px'
30704
30704
  }
30705
- }, sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React.createElement("div", {
30705
+ }, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React.createElement("div", {
30706
30706
  "class": "col-lg-12 p-0 d-md-none d-sm-none"
30707
30707
  }, /*#__PURE__*/React.createElement(MarqueeHeader, {
30708
30708
  sectionpropertiesprops: sectionproperties,
@@ -47619,6 +47619,10 @@ var Newsletterfooter = function Newsletterfooter(props) {
47619
47619
  var templateproperties_context = props.actions.templateproperties_context;
47620
47620
  var templatepropcontext = props.actions.templatepropcontext;
47621
47621
  var ikimagecredcontext = props.actions.ikimagecredcontext;
47622
+ var _useState5 = useState([]),
47623
+ _useState6 = _slicedToArray(_useState5, 2),
47624
+ maincontainerarrayofobjs = _useState6[0],
47625
+ setmaincontainerarrayofobjs = _useState6[1];
47622
47626
  useEffect(function () {
47623
47627
  var secpropobj = {};
47624
47628
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -47641,6 +47645,21 @@ var Newsletterfooter = function Newsletterfooter(props) {
47641
47645
  return policyobj;
47642
47646
  };
47643
47647
  var footerStyles = (_footerStyles = {
47648
+ imgcontainer: css({
47649
+ ':before': {
47650
+ width: '100%',
47651
+ height: '100%',
47652
+ background: 'rgba(0,0,0,' + sectionproperties.cardbg_opacity + ')',
47653
+ zIndex: 1,
47654
+ position: 'absolute',
47655
+ content: 's',
47656
+ fontSize: 0,
47657
+ left: 0,
47658
+ right: 0,
47659
+ top: 0,
47660
+ bottom: 0
47661
+ }
47662
+ }),
47644
47663
  divider: css({
47645
47664
  height: '1px',
47646
47665
  width: '100%',
@@ -47656,7 +47675,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
47656
47675
  objectFit: 'contain'
47657
47676
  }),
47658
47677
  footerContainer: css({
47659
- background: sectionproperties.footerbgcolor,
47678
+ // background: sectionproperties.footerbgcolor,
47660
47679
  paddingTop: sectionproperties.footer_paddingTop + 'px',
47661
47680
  paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
47662
47681
  paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
@@ -47777,10 +47796,10 @@ var Newsletterfooter = function Newsletterfooter(props) {
47777
47796
  }
47778
47797
  }
47779
47798
  }, [templateproperties_context]);
47780
- var _useState5 = useState([]),
47781
- _useState6 = _slicedToArray(_useState5, 2),
47782
- bgimagearrayofobjs = _useState6[0],
47783
- setbgimagearrayofobjs = _useState6[1];
47799
+ var _useState7 = useState([]),
47800
+ _useState8 = _slicedToArray(_useState7, 2),
47801
+ bgimagearrayofobjs = _useState8[0],
47802
+ setbgimagearrayofobjs = _useState8[1];
47784
47803
  useEffect(function () {
47785
47804
  if (sectionproperties.length != 0 && sectionproperties.logoarrayofobjects != undefined) {
47786
47805
  var bg1_arrayofobjsparsed = JSON.parse(sectionproperties.logoarrayofobjects);
@@ -47789,6 +47808,14 @@ var Newsletterfooter = function Newsletterfooter(props) {
47789
47808
  }
47790
47809
  }
47791
47810
  }, [sectionproperties]);
47811
+ useEffect(function () {
47812
+ if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
47813
+ var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
47814
+ if (Array.isArray(maincontainerarrayofobjsparsed)) {
47815
+ setmaincontainerarrayofobjs(_toConsumableArray(maincontainerarrayofobjsparsed));
47816
+ }
47817
+ }
47818
+ }, [sectionproperties]);
47792
47819
  var Section1Title = function Section1Title() {
47793
47820
  return /*#__PURE__*/React.createElement("div", {
47794
47821
  "class": "col-lg-12 p-0"
@@ -48018,12 +48045,33 @@ var Newsletterfooter = function Newsletterfooter(props) {
48018
48045
  }, /*#__PURE__*/React.createElement("div", {
48019
48046
  "class": "row m-0 w-md-100",
48020
48047
  style: {
48021
- width: sectionproperties.footerwidth + 'vw'
48048
+ width: sectionproperties.footerwidth + 'vw',
48049
+ position: 'relative',
48050
+ background: sectionproperties.footerbgcolor
48022
48051
  }
48023
- }, /*#__PURE__*/React.createElement("div", {
48052
+ }, maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React.createElement("div", {
48053
+ className: footerStyles.imgcontainer
48054
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
48055
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
48056
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
48057
+ path: maincontainerarrayofobjs[0].back_bgimage,
48058
+ style: {
48059
+ height: '100%',
48060
+ width: '100%',
48061
+ objectFit: 'cover',
48062
+ margin: 0,
48063
+ padding: 0,
48064
+ position: 'absolute',
48065
+ top: 0,
48066
+ bottom: 0,
48067
+ right: 0,
48068
+ left: 0
48069
+ }
48070
+ })), /*#__PURE__*/React.createElement("div", {
48024
48071
  style: {
48025
48072
  paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
48026
- paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px'
48073
+ paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
48074
+ zIndex: 1
48027
48075
  },
48028
48076
  "class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3 px-2015-3 py-lg-3 '
48029
48077
  }, /*#__PURE__*/React.createElement("div", {
package/dist/index.umd.js CHANGED
@@ -17813,7 +17813,7 @@
17813
17813
  marginTop: sectionproperties.marginTop + 'px',
17814
17814
  '@media (max-width: 800px)': {
17815
17815
  marginTop: sectionproperties.marginTopResp != undefined && sectionproperties.marginTopResp != undefined ? sectionproperties.marginTopResp + 'px' : sectionproperties.marginTop + 'px',
17816
- width: sectionproperties.widthresponsive + 'vw'
17816
+ width: sectionproperties.widthresponsive + '%'
17817
17817
  }
17818
17818
  }),
17819
17819
  innercardssection: glamor.css({
@@ -30575,7 +30575,7 @@
30575
30575
  marginTop: sectionproperties.header_marginTop + 'px',
30576
30576
  marginBottom: sectionproperties.header_marginBottom + 'px'
30577
30577
  }
30578
- }, sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
30578
+ }, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
30579
30579
  "class": "col-lg-12 p-0 d-md-none d-sm-none"
30580
30580
  }, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
30581
30581
  sectionpropertiesprops: sectionproperties,
@@ -47492,6 +47492,10 @@
47492
47492
  var templateproperties_context = props.actions.templateproperties_context;
47493
47493
  var templatepropcontext = props.actions.templatepropcontext;
47494
47494
  var ikimagecredcontext = props.actions.ikimagecredcontext;
47495
+ var _useState5 = React.useState([]),
47496
+ _useState6 = _slicedToArray__default["default"](_useState5, 2),
47497
+ maincontainerarrayofobjs = _useState6[0],
47498
+ setmaincontainerarrayofobjs = _useState6[1];
47495
47499
  React.useEffect(function () {
47496
47500
  var secpropobj = {};
47497
47501
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -47514,6 +47518,21 @@
47514
47518
  return policyobj;
47515
47519
  };
47516
47520
  var footerStyles = (_footerStyles = {
47521
+ imgcontainer: glamor.css({
47522
+ ':before': {
47523
+ width: '100%',
47524
+ height: '100%',
47525
+ background: 'rgba(0,0,0,' + sectionproperties.cardbg_opacity + ')',
47526
+ zIndex: 1,
47527
+ position: 'absolute',
47528
+ content: 's',
47529
+ fontSize: 0,
47530
+ left: 0,
47531
+ right: 0,
47532
+ top: 0,
47533
+ bottom: 0
47534
+ }
47535
+ }),
47517
47536
  divider: glamor.css({
47518
47537
  height: '1px',
47519
47538
  width: '100%',
@@ -47529,7 +47548,7 @@
47529
47548
  objectFit: 'contain'
47530
47549
  }),
47531
47550
  footerContainer: glamor.css({
47532
- background: sectionproperties.footerbgcolor,
47551
+ // background: sectionproperties.footerbgcolor,
47533
47552
  paddingTop: sectionproperties.footer_paddingTop + 'px',
47534
47553
  paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
47535
47554
  paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
@@ -47650,10 +47669,10 @@
47650
47669
  }
47651
47670
  }
47652
47671
  }, [templateproperties_context]);
47653
- var _useState5 = React.useState([]),
47654
- _useState6 = _slicedToArray__default["default"](_useState5, 2),
47655
- bgimagearrayofobjs = _useState6[0],
47656
- setbgimagearrayofobjs = _useState6[1];
47672
+ var _useState7 = React.useState([]),
47673
+ _useState8 = _slicedToArray__default["default"](_useState7, 2),
47674
+ bgimagearrayofobjs = _useState8[0],
47675
+ setbgimagearrayofobjs = _useState8[1];
47657
47676
  React.useEffect(function () {
47658
47677
  if (sectionproperties.length != 0 && sectionproperties.logoarrayofobjects != undefined) {
47659
47678
  var bg1_arrayofobjsparsed = JSON.parse(sectionproperties.logoarrayofobjects);
@@ -47662,6 +47681,14 @@
47662
47681
  }
47663
47682
  }
47664
47683
  }, [sectionproperties]);
47684
+ React.useEffect(function () {
47685
+ if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
47686
+ var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
47687
+ if (Array.isArray(maincontainerarrayofobjsparsed)) {
47688
+ setmaincontainerarrayofobjs(_toConsumableArray__default["default"](maincontainerarrayofobjsparsed));
47689
+ }
47690
+ }
47691
+ }, [sectionproperties]);
47665
47692
  var Section1Title = function Section1Title() {
47666
47693
  return /*#__PURE__*/React__default["default"].createElement("div", {
47667
47694
  "class": "col-lg-12 p-0"
@@ -47891,12 +47918,33 @@
47891
47918
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47892
47919
  "class": "row m-0 w-md-100",
47893
47920
  style: {
47894
- width: sectionproperties.footerwidth + 'vw'
47921
+ width: sectionproperties.footerwidth + 'vw',
47922
+ position: 'relative',
47923
+ background: sectionproperties.footerbgcolor
47895
47924
  }
47896
- }, /*#__PURE__*/React__default["default"].createElement("div", {
47925
+ }, maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
47926
+ className: footerStyles.imgcontainer
47927
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
47928
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
47929
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
47930
+ path: maincontainerarrayofobjs[0].back_bgimage,
47931
+ style: {
47932
+ height: '100%',
47933
+ width: '100%',
47934
+ objectFit: 'cover',
47935
+ margin: 0,
47936
+ padding: 0,
47937
+ position: 'absolute',
47938
+ top: 0,
47939
+ bottom: 0,
47940
+ right: 0,
47941
+ left: 0
47942
+ }
47943
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
47897
47944
  style: {
47898
47945
  paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
47899
- paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px'
47946
+ paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
47947
+ zIndex: 1
47900
47948
  },
47901
47949
  "class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3 px-2015-3 py-lg-3 '
47902
47950
  }, /*#__PURE__*/React__default["default"].createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.650",
3
+ "version": "0.0.651",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {