tabexseriescomponents 0.0.504 → 0.0.506

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
@@ -21436,7 +21436,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
21436
21436
  cursor: 'pointer'
21437
21437
  },
21438
21438
  onClick: function onClick() {
21439
- routingcountext('home');
21439
+ routingcountext(sectionproperties.logoonclickroute);
21440
21440
  }
21441
21441
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
21442
21442
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -45587,7 +45587,7 @@ var ModernFooter = function ModernFooter(props) {
45587
45587
  function ownKeys$1q(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; }
45588
45588
  function _objectSpread$1q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
45589
45589
  var Newsletterfooter = function Newsletterfooter(props) {
45590
- var _footerStyles, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
45590
+ var _footerStyles, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
45591
45591
  var _useState = React.useState(''),
45592
45592
  _useState2 = _slicedToArray__default["default"](_useState, 2),
45593
45593
  sectionproperties = _useState2[0],
@@ -45764,6 +45764,18 @@ var Newsletterfooter = function Newsletterfooter(props) {
45764
45764
  }
45765
45765
  }
45766
45766
  }, [templateproperties_context]);
45767
+ var _useState5 = React.useState([]),
45768
+ _useState6 = _slicedToArray__default["default"](_useState5, 2),
45769
+ bgimagearrayofobjs = _useState6[0],
45770
+ setbgimagearrayofobjs = _useState6[1];
45771
+ React.useEffect(function () {
45772
+ if (sectionproperties.length != 0 && sectionproperties.logoarrayofobjects != undefined) {
45773
+ var bg1_arrayofobjsparsed = JSON.parse(sectionproperties.logoarrayofobjects);
45774
+ if (Array.isArray(bg1_arrayofobjsparsed)) {
45775
+ setbgimagearrayofobjs(_toConsumableArray__default["default"](bg1_arrayofobjsparsed));
45776
+ }
45777
+ }
45778
+ }, [sectionproperties]);
45767
45779
  var Section1Title = function Section1Title() {
45768
45780
  return /*#__PURE__*/React__default["default"].createElement("div", {
45769
45781
  "class": "col-lg-12 p-0"
@@ -46012,7 +46024,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
46012
46024
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
46013
46025
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
46014
46026
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
46015
- path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
46027
+ path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$ = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$ === void 0 ? void 0 : _bgimagearrayofobjs$.englishlogo : (_bgimagearrayofobjs$2 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$2 === void 0 ? void 0 : _bgimagearrayofobjs$2.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
46016
46028
  style: {
46017
46029
  width: '100%',
46018
46030
  height: '100%',
package/dist/index.esm.js CHANGED
@@ -21387,7 +21387,7 @@ var HeaderresponsiveStyle2 = function HeaderresponsiveStyle2(props) {
21387
21387
  cursor: 'pointer'
21388
21388
  },
21389
21389
  onClick: function onClick() {
21390
- routingcountext('home');
21390
+ routingcountext(sectionproperties.logoonclickroute);
21391
21391
  }
21392
21392
  }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
21393
21393
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -45538,7 +45538,7 @@ var ModernFooter = function ModernFooter(props) {
45538
45538
  function ownKeys$1q(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; }
45539
45539
  function _objectSpread$1q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1q(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
45540
45540
  var Newsletterfooter = function Newsletterfooter(props) {
45541
- var _footerStyles, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
45541
+ var _footerStyles, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
45542
45542
  var _useState = useState(''),
45543
45543
  _useState2 = _slicedToArray(_useState, 2),
45544
45544
  sectionproperties = _useState2[0],
@@ -45715,6 +45715,18 @@ var Newsletterfooter = function Newsletterfooter(props) {
45715
45715
  }
45716
45716
  }
45717
45717
  }, [templateproperties_context]);
45718
+ var _useState5 = useState([]),
45719
+ _useState6 = _slicedToArray(_useState5, 2),
45720
+ bgimagearrayofobjs = _useState6[0],
45721
+ setbgimagearrayofobjs = _useState6[1];
45722
+ useEffect(function () {
45723
+ if (sectionproperties.length != 0 && sectionproperties.logoarrayofobjects != undefined) {
45724
+ var bg1_arrayofobjsparsed = JSON.parse(sectionproperties.logoarrayofobjects);
45725
+ if (Array.isArray(bg1_arrayofobjsparsed)) {
45726
+ setbgimagearrayofobjs(_toConsumableArray(bg1_arrayofobjsparsed));
45727
+ }
45728
+ }
45729
+ }, [sectionproperties]);
45718
45730
  var Section1Title = function Section1Title() {
45719
45731
  return /*#__PURE__*/React.createElement("div", {
45720
45732
  "class": "col-lg-12 p-0"
@@ -45963,7 +45975,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
45963
45975
  }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
45964
45976
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
45965
45977
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
45966
- path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
45978
+ path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$ = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$ === void 0 ? void 0 : _bgimagearrayofobjs$.englishlogo : (_bgimagearrayofobjs$2 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$2 === void 0 ? void 0 : _bgimagearrayofobjs$2.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
45967
45979
  style: {
45968
45980
  width: '100%',
45969
45981
  height: '100%',
package/dist/index.umd.js CHANGED
@@ -21262,7 +21262,7 @@
21262
21262
  cursor: 'pointer'
21263
21263
  },
21264
21264
  onClick: function onClick() {
21265
- routingcountext('home');
21265
+ routingcountext(sectionproperties.logoonclickroute);
21266
21266
  }
21267
21267
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
21268
21268
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -45413,7 +45413,7 @@
45413
45413
  function ownKeys$1q(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; }
45414
45414
  function _objectSpread$1q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1q(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
45415
45415
  var Newsletterfooter = function Newsletterfooter(props) {
45416
- var _footerStyles, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
45416
+ var _footerStyles, _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _authdetailsContext$i21;
45417
45417
  var _useState = React.useState(''),
45418
45418
  _useState2 = _slicedToArray__default["default"](_useState, 2),
45419
45419
  sectionproperties = _useState2[0],
@@ -45590,6 +45590,18 @@
45590
45590
  }
45591
45591
  }
45592
45592
  }, [templateproperties_context]);
45593
+ var _useState5 = React.useState([]),
45594
+ _useState6 = _slicedToArray__default["default"](_useState5, 2),
45595
+ bgimagearrayofobjs = _useState6[0],
45596
+ setbgimagearrayofobjs = _useState6[1];
45597
+ React.useEffect(function () {
45598
+ if (sectionproperties.length != 0 && sectionproperties.logoarrayofobjects != undefined) {
45599
+ var bg1_arrayofobjsparsed = JSON.parse(sectionproperties.logoarrayofobjects);
45600
+ if (Array.isArray(bg1_arrayofobjsparsed)) {
45601
+ setbgimagearrayofobjs(_toConsumableArray__default["default"](bg1_arrayofobjsparsed));
45602
+ }
45603
+ }
45604
+ }, [sectionproperties]);
45593
45605
  var Section1Title = function Section1Title() {
45594
45606
  return /*#__PURE__*/React__default["default"].createElement("div", {
45595
45607
  "class": "col-lg-12 p-0"
@@ -45838,7 +45850,7 @@
45838
45850
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
45839
45851
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
45840
45852
  publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
45841
- path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
45853
+ path: sectionproperties.replacelogo == 'Yes' ? langdetect == 'en' ? (_bgimagearrayofobjs$ = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$ === void 0 ? void 0 : _bgimagearrayofobjs$.englishlogo : (_bgimagearrayofobjs$2 = bgimagearrayofobjs[0]) === null || _bgimagearrayofobjs$2 === void 0 ? void 0 : _bgimagearrayofobjs$2.arabiclogo : langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
45842
45854
  style: {
45843
45855
  width: '100%',
45844
45856
  height: '100%',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.504",
3
+ "version": "0.0.506",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {