tabexseriescomponents 0.0.504 → 0.0.505

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,
@@ -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
+ _useState6[0];
45770
+ var 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,13 @@ 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:
46028
+ // sectionproperties.replacelogo == 'Yes'
46029
+ // ? langdetect == 'en'
46030
+ // ? bgimagearrayofobjs[0].englishlogo
46031
+ // : bgimagearrayofobjs[0].arabiclogo
46032
+ // :
46033
+ 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
46034
  style: {
46017
46035
  width: '100%',
46018
46036
  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,
@@ -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
+ _useState6[0];
45721
+ var 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,13 @@ 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:
45979
+ // sectionproperties.replacelogo == 'Yes'
45980
+ // ? langdetect == 'en'
45981
+ // ? bgimagearrayofobjs[0].englishlogo
45982
+ // : bgimagearrayofobjs[0].arabiclogo
45983
+ // :
45984
+ 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
45985
  style: {
45968
45986
  width: '100%',
45969
45987
  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,
@@ -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
+ _useState6[0];
45596
+ var 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,13 @@
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:
45854
+ // sectionproperties.replacelogo == 'Yes'
45855
+ // ? langdetect == 'en'
45856
+ // ? bgimagearrayofobjs[0].englishlogo
45857
+ // : bgimagearrayofobjs[0].arabiclogo
45858
+ // :
45859
+ 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
45860
  style: {
45843
45861
  width: '100%',
45844
45862
  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.505",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {