tabexseriescomponents 0.0.498 → 0.0.500

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
@@ -46004,7 +46004,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
46004
46004
  }, /*#__PURE__*/React__default["default"].createElement("div", {
46005
46005
  "class": "".concat(footerStyles.logoStyles) + ' cursor-pointer ',
46006
46006
  onClick: function onClick() {
46007
- routingcountext('home');
46007
+ routingcountext(sectionproperties.logoonclickroute);
46008
46008
  }
46009
46009
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
46010
46010
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -55880,7 +55880,7 @@ var DynamicForm = function DynamicForm(props) {
55880
55880
  }, /*#__PURE__*/React__default["default"].createElement("p", {
55881
55881
  "class": form_cssstyles.formlabel + ' m-0 p-0 ',
55882
55882
  style: {}
55883
- }, currentDate, " ", langdetect == 'en' ? item.title_en : item.title_ar, " ", item.isrequired == 1 ? '*' : '')), /*#__PURE__*/React__default["default"].createElement("div", {
55883
+ }, langdetect == 'en' ? item.title_en : item.title_ar, " ", item.isrequired == 1 ? '*' : '')), /*#__PURE__*/React__default["default"].createElement("div", {
55884
55884
  "class": "col-lg-12 text-start"
55885
55885
  }, /*#__PURE__*/React__default["default"].createElement("input", {
55886
55886
  type: type,
@@ -58848,7 +58848,13 @@ var Slideshowfade = function Slideshowfade(props) {
58848
58848
  letterSpacing: langdetect == 'en' ? '1px' : 0
58849
58849
  },
58850
58850
  onClick: function onClick() {
58851
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
58851
+ if (item.IsClickableimg == 'Yes') {
58852
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
58853
+ routingcountext(item.clickableimg_page_route, true, '');
58854
+ } else {
58855
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
58856
+ }
58857
+ }
58852
58858
  }
58853
58859
  }, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar, ' ')));
58854
58860
  };
package/dist/index.esm.js CHANGED
@@ -45955,7 +45955,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
45955
45955
  }, /*#__PURE__*/React.createElement("div", {
45956
45956
  "class": "".concat(footerStyles.logoStyles) + ' cursor-pointer ',
45957
45957
  onClick: function onClick() {
45958
- routingcountext('home');
45958
+ routingcountext(sectionproperties.logoonclickroute);
45959
45959
  }
45960
45960
  }, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
45961
45961
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -55831,7 +55831,7 @@ var DynamicForm = function DynamicForm(props) {
55831
55831
  }, /*#__PURE__*/React.createElement("p", {
55832
55832
  "class": form_cssstyles.formlabel + ' m-0 p-0 ',
55833
55833
  style: {}
55834
- }, currentDate, " ", langdetect == 'en' ? item.title_en : item.title_ar, " ", item.isrequired == 1 ? '*' : '')), /*#__PURE__*/React.createElement("div", {
55834
+ }, langdetect == 'en' ? item.title_en : item.title_ar, " ", item.isrequired == 1 ? '*' : '')), /*#__PURE__*/React.createElement("div", {
55835
55835
  "class": "col-lg-12 text-start"
55836
55836
  }, /*#__PURE__*/React.createElement("input", {
55837
55837
  type: type,
@@ -58799,7 +58799,13 @@ var Slideshowfade = function Slideshowfade(props) {
58799
58799
  letterSpacing: langdetect == 'en' ? '1px' : 0
58800
58800
  },
58801
58801
  onClick: function onClick() {
58802
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
58802
+ if (item.IsClickableimg == 'Yes') {
58803
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
58804
+ routingcountext(item.clickableimg_page_route, true, '');
58805
+ } else {
58806
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
58807
+ }
58808
+ }
58803
58809
  }
58804
58810
  }, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar, ' ')));
58805
58811
  };
package/dist/index.umd.js CHANGED
@@ -45830,7 +45830,7 @@
45830
45830
  }, /*#__PURE__*/React__default["default"].createElement("div", {
45831
45831
  "class": "".concat(footerStyles.logoStyles) + ' cursor-pointer ',
45832
45832
  onClick: function onClick() {
45833
- routingcountext('home');
45833
+ routingcountext(sectionproperties.logoonclickroute);
45834
45834
  }
45835
45835
  }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
45836
45836
  urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
@@ -58674,7 +58674,13 @@
58674
58674
  letterSpacing: langdetect == 'en' ? '1px' : 0
58675
58675
  },
58676
58676
  onClick: function onClick() {
58677
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
58677
+ if (item.IsClickableimg == 'Yes') {
58678
+ if (item.clickableimg_page_route && item.clickableimg_page_route.length != 0) {
58679
+ routingcountext(item.clickableimg_page_route, true, '');
58680
+ } else {
58681
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.Clickableimg_getcoection);
58682
+ }
58683
+ }
58678
58684
  }
58679
58685
  }, langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar, ' ')));
58680
58686
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.498",
3
+ "version": "0.0.500",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {