tabexseriescomponents 0.2.785 → 0.2.787

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
@@ -67795,6 +67795,7 @@ var Servicesection = function Servicesection(props) {
67795
67795
  function ownKeys$V(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
67796
67796
  function _objectSpread$V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$V(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
67797
67797
  var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
67798
+ var _maincontainerarrayof, _maincontainerarrayof2;
67798
67799
  var _useState = React.useState(''),
67799
67800
  _useState2 = _slicedToArray__default["default"](_useState, 2),
67800
67801
  sectionproperties = _useState2[0],
@@ -67830,15 +67831,18 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
67830
67831
  }
67831
67832
  }
67832
67833
  }, [sectionproperties]);
67833
- // const [maincontainerarrayofobjs, setmaincontainerarrayofobjs] = useState([]);
67834
- // useEffect(() => {
67835
- // if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
67836
- // var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
67837
- // if (Array.isArray(maincontainerarrayofobjsparsed)) {
67838
- // setmaincontainerarrayofobjs([...maincontainerarrayofobjsparsed]);
67839
- // }
67840
- // }
67841
- // }, [sectionproperties]);
67834
+ var _useState5 = React.useState([]),
67835
+ _useState6 = _slicedToArray__default["default"](_useState5, 2),
67836
+ maincontainerarrayofobjs = _useState6[0],
67837
+ setmaincontainerarrayofobjs = _useState6[1];
67838
+ React.useEffect(function () {
67839
+ if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
67840
+ var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
67841
+ if (Array.isArray(maincontainerarrayofobjsparsed)) {
67842
+ setmaincontainerarrayofobjs(_toConsumableArray__default["default"](maincontainerarrayofobjsparsed));
67843
+ }
67844
+ }
67845
+ }, [sectionproperties]);
67842
67846
  var sectionStyles = {
67843
67847
  containerrrr: glamor.css({
67844
67848
  marginTop: sectionproperties.marginTop + 'px',
@@ -68004,7 +68008,25 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
68004
68008
  "class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
68005
68009
  style: {},
68006
68010
  "data-aos": 'fade-up'
68007
- }, /*#__PURE__*/React__default["default"].createElement("div", {
68011
+ }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
68012
+ "class": sectionStyles.imgcontainer
68013
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
68014
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
68015
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
68016
+ path: (_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage,
68017
+ style: {
68018
+ height: '100%',
68019
+ width: '100%',
68020
+ objectFit: 'cover',
68021
+ margin: 0,
68022
+ padding: 0,
68023
+ position: 'absolute',
68024
+ top: 0,
68025
+ bottom: 0,
68026
+ right: 0,
68027
+ left: 0
68028
+ }
68029
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
68008
68030
  "class": sectionStyles.containerrrr + ' row ml-0 mr-0 w-100 d-flex justify-content-center pl-md-3 pr-md-3 px-2015-3 ',
68009
68031
  style: {}
68010
68032
  }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -68230,7 +68252,25 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
68230
68252
  }))), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
68231
68253
  "class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
68232
68254
  style: {}
68233
- }, /*#__PURE__*/React__default["default"].createElement("div", {
68255
+ }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
68256
+ "class": sectionStyles.imgcontainer
68257
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
68258
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
68259
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
68260
+ path: (_maincontainerarrayof2 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof2 === void 0 ? void 0 : _maincontainerarrayof2.back_bgimage,
68261
+ style: {
68262
+ height: '100%',
68263
+ width: '100%',
68264
+ objectFit: 'cover',
68265
+ margin: 0,
68266
+ padding: 0,
68267
+ position: 'absolute',
68268
+ top: 0,
68269
+ bottom: 0,
68270
+ right: 0,
68271
+ left: 0
68272
+ }
68273
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
68234
68274
  "class": sectionStyles.containerrrr + ' row ml-0 mr-0 w-100 d-flex justify-content-center pl-md-3 pr-md-3 px-2015-3 ',
68235
68275
  style: {}
68236
68276
  }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -68728,10 +68768,11 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
68728
68768
  }, sectionproperties.slideshowtext2_show && /*#__PURE__*/React__default["default"].createElement("p", {
68729
68769
  "class": "m-0 wordbreak",
68730
68770
  style: {
68731
- color: sectionproperties.slideshowText2ContentColor,
68771
+ // color: sectionproperties.slideshowText2ContentColor,
68732
68772
  fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
68733
68773
  fontWeight: sectionproperties.slideshowText2ContentFontWeight,
68734
- textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
68774
+ textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
68775
+ color: cardinfoitem.text2colorfromarray
68735
68776
  }
68736
68777
  }, langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar))))));
68737
68778
  }))))));
package/dist/index.esm.js CHANGED
@@ -67746,6 +67746,7 @@ var Servicesection = function Servicesection(props) {
67746
67746
  function ownKeys$V(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
67747
67747
  function _objectSpread$V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$V(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
67748
67748
  var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
67749
+ var _maincontainerarrayof, _maincontainerarrayof2;
67749
67750
  var _useState = useState(''),
67750
67751
  _useState2 = _slicedToArray(_useState, 2),
67751
67752
  sectionproperties = _useState2[0],
@@ -67781,15 +67782,18 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
67781
67782
  }
67782
67783
  }
67783
67784
  }, [sectionproperties]);
67784
- // const [maincontainerarrayofobjs, setmaincontainerarrayofobjs] = useState([]);
67785
- // useEffect(() => {
67786
- // if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
67787
- // var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
67788
- // if (Array.isArray(maincontainerarrayofobjsparsed)) {
67789
- // setmaincontainerarrayofobjs([...maincontainerarrayofobjsparsed]);
67790
- // }
67791
- // }
67792
- // }, [sectionproperties]);
67785
+ var _useState5 = useState([]),
67786
+ _useState6 = _slicedToArray(_useState5, 2),
67787
+ maincontainerarrayofobjs = _useState6[0],
67788
+ setmaincontainerarrayofobjs = _useState6[1];
67789
+ useEffect(function () {
67790
+ if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
67791
+ var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
67792
+ if (Array.isArray(maincontainerarrayofobjsparsed)) {
67793
+ setmaincontainerarrayofobjs(_toConsumableArray(maincontainerarrayofobjsparsed));
67794
+ }
67795
+ }
67796
+ }, [sectionproperties]);
67793
67797
  var sectionStyles = {
67794
67798
  containerrrr: css({
67795
67799
  marginTop: sectionproperties.marginTop + 'px',
@@ -67955,7 +67959,25 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
67955
67959
  "class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
67956
67960
  style: {},
67957
67961
  "data-aos": 'fade-up'
67958
- }, /*#__PURE__*/React.createElement("div", {
67962
+ }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React.createElement("div", {
67963
+ "class": sectionStyles.imgcontainer
67964
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
67965
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
67966
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
67967
+ path: (_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage,
67968
+ style: {
67969
+ height: '100%',
67970
+ width: '100%',
67971
+ objectFit: 'cover',
67972
+ margin: 0,
67973
+ padding: 0,
67974
+ position: 'absolute',
67975
+ top: 0,
67976
+ bottom: 0,
67977
+ right: 0,
67978
+ left: 0
67979
+ }
67980
+ })), /*#__PURE__*/React.createElement("div", {
67959
67981
  "class": sectionStyles.containerrrr + ' row ml-0 mr-0 w-100 d-flex justify-content-center pl-md-3 pr-md-3 px-2015-3 ',
67960
67982
  style: {}
67961
67983
  }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
@@ -68181,7 +68203,25 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
68181
68203
  }))), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React.createElement("div", {
68182
68204
  "class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
68183
68205
  style: {}
68184
- }, /*#__PURE__*/React.createElement("div", {
68206
+ }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React.createElement("div", {
68207
+ "class": sectionStyles.imgcontainer
68208
+ }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
68209
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
68210
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
68211
+ path: (_maincontainerarrayof2 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof2 === void 0 ? void 0 : _maincontainerarrayof2.back_bgimage,
68212
+ style: {
68213
+ height: '100%',
68214
+ width: '100%',
68215
+ objectFit: 'cover',
68216
+ margin: 0,
68217
+ padding: 0,
68218
+ position: 'absolute',
68219
+ top: 0,
68220
+ bottom: 0,
68221
+ right: 0,
68222
+ left: 0
68223
+ }
68224
+ })), /*#__PURE__*/React.createElement("div", {
68185
68225
  "class": sectionStyles.containerrrr + ' row ml-0 mr-0 w-100 d-flex justify-content-center pl-md-3 pr-md-3 px-2015-3 ',
68186
68226
  style: {}
68187
68227
  }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React.createElement("div", {
@@ -68679,10 +68719,11 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
68679
68719
  }, sectionproperties.slideshowtext2_show && /*#__PURE__*/React.createElement("p", {
68680
68720
  "class": "m-0 wordbreak",
68681
68721
  style: {
68682
- color: sectionproperties.slideshowText2ContentColor,
68722
+ // color: sectionproperties.slideshowText2ContentColor,
68683
68723
  fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
68684
68724
  fontWeight: sectionproperties.slideshowText2ContentFontWeight,
68685
- textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
68725
+ textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
68726
+ color: cardinfoitem.text2colorfromarray
68686
68727
  }
68687
68728
  }, langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar))))));
68688
68729
  }))))));
package/dist/index.umd.js CHANGED
@@ -67608,6 +67608,7 @@
67608
67608
  function ownKeys$V(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
67609
67609
  function _objectSpread$V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$V(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
67610
67610
  var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
67611
+ var _maincontainerarrayof, _maincontainerarrayof2;
67611
67612
  var _useState = React.useState(''),
67612
67613
  _useState2 = _slicedToArray__default["default"](_useState, 2),
67613
67614
  sectionproperties = _useState2[0],
@@ -67643,15 +67644,18 @@
67643
67644
  }
67644
67645
  }
67645
67646
  }, [sectionproperties]);
67646
- // const [maincontainerarrayofobjs, setmaincontainerarrayofobjs] = useState([]);
67647
- // useEffect(() => {
67648
- // if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
67649
- // var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
67650
- // if (Array.isArray(maincontainerarrayofobjsparsed)) {
67651
- // setmaincontainerarrayofobjs([...maincontainerarrayofobjsparsed]);
67652
- // }
67653
- // }
67654
- // }, [sectionproperties]);
67647
+ var _useState5 = React.useState([]),
67648
+ _useState6 = _slicedToArray__default["default"](_useState5, 2),
67649
+ maincontainerarrayofobjs = _useState6[0],
67650
+ setmaincontainerarrayofobjs = _useState6[1];
67651
+ React.useEffect(function () {
67652
+ if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
67653
+ var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
67654
+ if (Array.isArray(maincontainerarrayofobjsparsed)) {
67655
+ setmaincontainerarrayofobjs(_toConsumableArray__default["default"](maincontainerarrayofobjsparsed));
67656
+ }
67657
+ }
67658
+ }, [sectionproperties]);
67655
67659
  var sectionStyles = {
67656
67660
  containerrrr: glamor.css({
67657
67661
  marginTop: sectionproperties.marginTop + 'px',
@@ -67817,7 +67821,25 @@
67817
67821
  "class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
67818
67822
  style: {},
67819
67823
  "data-aos": 'fade-up'
67820
- }, /*#__PURE__*/React__default["default"].createElement("div", {
67824
+ }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
67825
+ "class": sectionStyles.imgcontainer
67826
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
67827
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
67828
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
67829
+ path: (_maincontainerarrayof = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof === void 0 ? void 0 : _maincontainerarrayof.back_bgimage,
67830
+ style: {
67831
+ height: '100%',
67832
+ width: '100%',
67833
+ objectFit: 'cover',
67834
+ margin: 0,
67835
+ padding: 0,
67836
+ position: 'absolute',
67837
+ top: 0,
67838
+ bottom: 0,
67839
+ right: 0,
67840
+ left: 0
67841
+ }
67842
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
67821
67843
  "class": sectionStyles.containerrrr + ' row ml-0 mr-0 w-100 d-flex justify-content-center pl-md-3 pr-md-3 px-2015-3 ',
67822
67844
  style: {}
67823
67845
  }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -68043,7 +68065,25 @@
68043
68065
  }))), sectionproperties.showanimation != 'Yes' && /*#__PURE__*/React__default["default"].createElement("div", {
68044
68066
  "class": sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center ',
68045
68067
  style: {}
68046
- }, /*#__PURE__*/React__default["default"].createElement("div", {
68068
+ }, maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
68069
+ "class": sectionStyles.imgcontainer
68070
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
68071
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
68072
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
68073
+ path: (_maincontainerarrayof2 = maincontainerarrayofobjs[0]) === null || _maincontainerarrayof2 === void 0 ? void 0 : _maincontainerarrayof2.back_bgimage,
68074
+ style: {
68075
+ height: '100%',
68076
+ width: '100%',
68077
+ objectFit: 'cover',
68078
+ margin: 0,
68079
+ padding: 0,
68080
+ position: 'absolute',
68081
+ top: 0,
68082
+ bottom: 0,
68083
+ right: 0,
68084
+ left: 0
68085
+ }
68086
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
68047
68087
  "class": sectionStyles.containerrrr + ' row ml-0 mr-0 w-100 d-flex justify-content-center pl-md-3 pr-md-3 px-2015-3 ',
68048
68088
  style: {}
68049
68089
  }, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
@@ -68541,10 +68581,11 @@
68541
68581
  }, sectionproperties.slideshowtext2_show && /*#__PURE__*/React__default["default"].createElement("p", {
68542
68582
  "class": "m-0 wordbreak",
68543
68583
  style: {
68544
- color: sectionproperties.slideshowText2ContentColor,
68584
+ // color: sectionproperties.slideshowText2ContentColor,
68545
68585
  fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
68546
68586
  fontWeight: sectionproperties.slideshowText2ContentFontWeight,
68547
- textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
68587
+ textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
68588
+ color: cardinfoitem.text2colorfromarray
68548
68589
  }
68549
68590
  }, langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar))))));
68550
68591
  }))))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.785",
3
+ "version": "0.2.787",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",