tabexseriescomponents 0.0.370 → 0.0.371

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
@@ -36363,7 +36363,7 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
36363
36363
  function ownKeys$1z(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; }
36364
36364
  function _objectSpread$1z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
36365
36365
  var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props) {
36366
- var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2;
36366
+ var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2, _authdetailsContext$i3;
36367
36367
  var _useState = React.useState(''),
36368
36368
  _useState2 = _slicedToArray__default["default"](_useState, 2),
36369
36369
  sectionproperties = _useState2[0],
@@ -37038,7 +37038,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
37038
37038
  }
37039
37039
  }))));
37040
37040
  }
37041
- }), /*#__PURE__*/React__default["default"].createElement("div", {
37041
+ }), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
37042
37042
  "class": ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '
37043
37043
  }, /*#__PURE__*/React__default["default"].createElement("div", {
37044
37044
  "class": "row m-0 w-100"
@@ -37062,7 +37062,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
37062
37062
  background: '#f4f4f4',
37063
37063
  borderRadius: 5
37064
37064
  }
37065
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.map(function (item, index) {
37065
+ }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
37066
37066
  return /*#__PURE__*/React__default["default"].createElement("div", {
37067
37067
  "class": header_cssstyles.navbarItem + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
37068
37068
  onClick: function onClick() {
@@ -41864,7 +41864,7 @@ var ModernFooter = function ModernFooter(props) {
41864
41864
  function ownKeys$1m(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; }
41865
41865
  function _objectSpread$1m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1m(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
41866
41866
  var Newsletterfooter = function Newsletterfooter(props) {
41867
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i16;
41867
+ var _footerStyles, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i16;
41868
41868
  var _useState = React.useState(''),
41869
41869
  _useState2 = _slicedToArray__default["default"](_useState, 2),
41870
41870
  sectionproperties = _useState2[0],
@@ -41904,7 +41904,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
41904
41904
  });
41905
41905
  return policyobj;
41906
41906
  };
41907
- var footerStyles = {
41907
+ var footerStyles = (_footerStyles = {
41908
41908
  payimgcont: glamor.css({
41909
41909
  marginLeft: '10px',
41910
41910
  marginRight: '10px'
@@ -42016,7 +42016,19 @@ var Newsletterfooter = function Newsletterfooter(props) {
42016
42016
  color: sectionproperties.prodCatColor,
42017
42017
  fontWeight: sectionproperties.prodCatFontWeight
42018
42018
  })
42019
- };
42019
+ }, _defineProperty__default["default"](_footerStyles, "apptore", glamor.css({
42020
+ width: '35%',
42021
+ objectFit: 'contain',
42022
+ '@media (max-width: 800px)': {
42023
+ width: '30%'
42024
+ }
42025
+ })), _defineProperty__default["default"](_footerStyles, "googleplay", glamor.css({
42026
+ width: '35%',
42027
+ objectFit: 'contain',
42028
+ '@media (max-width: 800px)': {
42029
+ width: '30%'
42030
+ }
42031
+ })), _footerStyles);
42020
42032
  React.useEffect(function () {
42021
42033
  if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
42022
42034
  var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
@@ -42319,6 +42331,31 @@ var Newsletterfooter = function Newsletterfooter(props) {
42319
42331
  }
42320
42332
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
42321
42333
  size: sectionproperties.youtubebtniconfontsize
42334
+ }))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42335
+ "class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
42336
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
42337
+ "class": "col-lg-12 p-0"
42338
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
42339
+ "class": "".concat(footerStyles.sectionTitle) + ' m-0 p-0 mb-2 mb-md-0 wordbreak mb-md-2 ',
42340
+ style: {
42341
+ textAlign: langdetect == 'en' ? 'left' : 'right'
42342
+ }
42343
+ }, langdetect == 'en' ? 'Download Our App' : 'حمل التطبيق')), /*#__PURE__*/React__default["default"].createElement("div", {
42344
+ "class": "col-lg-12 d-flex align-items-center justify-content-start p-sm-0"
42345
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
42346
+ "class": langdetect == 'en' ? "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mr-2 ' : "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ml-2 ',
42347
+ src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
42348
+ onClick: function onClick() {
42349
+ var _authdetailsContext$i19;
42350
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.mobileapplink_appstore, '_blank');
42351
+ }
42352
+ }), /*#__PURE__*/React__default["default"].createElement("img", {
42353
+ "class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
42354
+ src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
42355
+ onClick: function onClick() {
42356
+ var _authdetailsContext$i20;
42357
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.mobileapplink_playstore, '_blank');
42358
+ }
42322
42359
  })))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42323
42360
  "class": "col-lg-12 p-0 d-block my-3"
42324
42361
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
package/dist/index.esm.js CHANGED
@@ -36314,7 +36314,7 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
36314
36314
  function ownKeys$1z(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; }
36315
36315
  function _objectSpread$1z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
36316
36316
  var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props) {
36317
- var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2;
36317
+ var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2, _authdetailsContext$i3;
36318
36318
  var _useState = useState(''),
36319
36319
  _useState2 = _slicedToArray(_useState, 2),
36320
36320
  sectionproperties = _useState2[0],
@@ -36989,7 +36989,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
36989
36989
  }
36990
36990
  }))));
36991
36991
  }
36992
- }), /*#__PURE__*/React.createElement("div", {
36992
+ }), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) > 1 && /*#__PURE__*/React.createElement("div", {
36993
36993
  "class": ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '
36994
36994
  }, /*#__PURE__*/React.createElement("div", {
36995
36995
  "class": "row m-0 w-100"
@@ -37013,7 +37013,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
37013
37013
  background: '#f4f4f4',
37014
37014
  borderRadius: 5
37015
37015
  }
37016
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.map(function (item, index) {
37016
+ }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
37017
37017
  return /*#__PURE__*/React.createElement("div", {
37018
37018
  "class": header_cssstyles.navbarItem + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
37019
37019
  onClick: function onClick() {
@@ -41815,7 +41815,7 @@ var ModernFooter = function ModernFooter(props) {
41815
41815
  function ownKeys$1m(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; }
41816
41816
  function _objectSpread$1m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1m(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
41817
41817
  var Newsletterfooter = function Newsletterfooter(props) {
41818
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i16;
41818
+ var _footerStyles, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i16;
41819
41819
  var _useState = useState(''),
41820
41820
  _useState2 = _slicedToArray(_useState, 2),
41821
41821
  sectionproperties = _useState2[0],
@@ -41855,7 +41855,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
41855
41855
  });
41856
41856
  return policyobj;
41857
41857
  };
41858
- var footerStyles = {
41858
+ var footerStyles = (_footerStyles = {
41859
41859
  payimgcont: css({
41860
41860
  marginLeft: '10px',
41861
41861
  marginRight: '10px'
@@ -41967,7 +41967,19 @@ var Newsletterfooter = function Newsletterfooter(props) {
41967
41967
  color: sectionproperties.prodCatColor,
41968
41968
  fontWeight: sectionproperties.prodCatFontWeight
41969
41969
  })
41970
- };
41970
+ }, _defineProperty(_footerStyles, "apptore", css({
41971
+ width: '35%',
41972
+ objectFit: 'contain',
41973
+ '@media (max-width: 800px)': {
41974
+ width: '30%'
41975
+ }
41976
+ })), _defineProperty(_footerStyles, "googleplay", css({
41977
+ width: '35%',
41978
+ objectFit: 'contain',
41979
+ '@media (max-width: 800px)': {
41980
+ width: '30%'
41981
+ }
41982
+ })), _footerStyles);
41971
41983
  useEffect(function () {
41972
41984
  if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
41973
41985
  var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
@@ -42270,6 +42282,31 @@ var Newsletterfooter = function Newsletterfooter(props) {
42270
42282
  }
42271
42283
  }, /*#__PURE__*/React.createElement(FaWhatsapp, {
42272
42284
  size: sectionproperties.youtubebtniconfontsize
42285
+ }))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React.createElement("div", {
42286
+ "class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
42287
+ }, /*#__PURE__*/React.createElement("div", {
42288
+ "class": "col-lg-12 p-0"
42289
+ }, /*#__PURE__*/React.createElement("p", {
42290
+ "class": "".concat(footerStyles.sectionTitle) + ' m-0 p-0 mb-2 mb-md-0 wordbreak mb-md-2 ',
42291
+ style: {
42292
+ textAlign: langdetect == 'en' ? 'left' : 'right'
42293
+ }
42294
+ }, langdetect == 'en' ? 'Download Our App' : 'حمل التطبيق')), /*#__PURE__*/React.createElement("div", {
42295
+ "class": "col-lg-12 d-flex align-items-center justify-content-start p-sm-0"
42296
+ }, /*#__PURE__*/React.createElement("img", {
42297
+ "class": langdetect == 'en' ? "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mr-2 ' : "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ml-2 ',
42298
+ src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
42299
+ onClick: function onClick() {
42300
+ var _authdetailsContext$i19;
42301
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.mobileapplink_appstore, '_blank');
42302
+ }
42303
+ }), /*#__PURE__*/React.createElement("img", {
42304
+ "class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
42305
+ src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
42306
+ onClick: function onClick() {
42307
+ var _authdetailsContext$i20;
42308
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.mobileapplink_playstore, '_blank');
42309
+ }
42273
42310
  })))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React.createElement("div", {
42274
42311
  "class": "col-lg-12 p-0 d-block my-3"
42275
42312
  }, /*#__PURE__*/React.createElement("hr", {
package/dist/index.umd.js CHANGED
@@ -36196,7 +36196,7 @@
36196
36196
  function ownKeys$1z(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; }
36197
36197
  function _objectSpread$1z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1z(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
36198
36198
  var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props) {
36199
- var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2;
36199
+ var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2, _authdetailsContext$i3;
36200
36200
  var _useState = React.useState(''),
36201
36201
  _useState2 = _slicedToArray__default["default"](_useState, 2),
36202
36202
  sectionproperties = _useState2[0],
@@ -36871,7 +36871,7 @@
36871
36871
  }
36872
36872
  }))));
36873
36873
  }
36874
- }), /*#__PURE__*/React__default["default"].createElement("div", {
36874
+ }), authdetailsContext != undefined && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.length) > 1 && /*#__PURE__*/React__default["default"].createElement("div", {
36875
36875
  "class": ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '
36876
36876
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36877
36877
  "class": "row m-0 w-100"
@@ -36895,7 +36895,7 @@
36895
36895
  background: '#f4f4f4',
36896
36896
  borderRadius: 5
36897
36897
  }
36898
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 || (_authdetailsContext$i2 = _authdetailsContext$i2.instcurrencies) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.map(function (item, index) {
36898
+ }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 || (_authdetailsContext$i3 = _authdetailsContext$i3.instcurrencies) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.map(function (item, index) {
36899
36899
  return /*#__PURE__*/React__default["default"].createElement("div", {
36900
36900
  "class": header_cssstyles.navbarItem + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
36901
36901
  onClick: function onClick() {
@@ -41697,7 +41697,7 @@
41697
41697
  function ownKeys$1m(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; }
41698
41698
  function _objectSpread$1m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1m(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
41699
41699
  var Newsletterfooter = function Newsletterfooter(props) {
41700
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i16;
41700
+ var _footerStyles, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i16;
41701
41701
  var _useState = React.useState(''),
41702
41702
  _useState2 = _slicedToArray__default["default"](_useState, 2),
41703
41703
  sectionproperties = _useState2[0],
@@ -41737,7 +41737,7 @@
41737
41737
  });
41738
41738
  return policyobj;
41739
41739
  };
41740
- var footerStyles = {
41740
+ var footerStyles = (_footerStyles = {
41741
41741
  payimgcont: glamor.css({
41742
41742
  marginLeft: '10px',
41743
41743
  marginRight: '10px'
@@ -41849,7 +41849,19 @@
41849
41849
  color: sectionproperties.prodCatColor,
41850
41850
  fontWeight: sectionproperties.prodCatFontWeight
41851
41851
  })
41852
- };
41852
+ }, _defineProperty__default["default"](_footerStyles, "apptore", glamor.css({
41853
+ width: '35%',
41854
+ objectFit: 'contain',
41855
+ '@media (max-width: 800px)': {
41856
+ width: '30%'
41857
+ }
41858
+ })), _defineProperty__default["default"](_footerStyles, "googleplay", glamor.css({
41859
+ width: '35%',
41860
+ objectFit: 'contain',
41861
+ '@media (max-width: 800px)': {
41862
+ width: '30%'
41863
+ }
41864
+ })), _footerStyles);
41853
41865
  React.useEffect(function () {
41854
41866
  if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
41855
41867
  var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
@@ -42152,6 +42164,31 @@
42152
42164
  }
42153
42165
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
42154
42166
  size: sectionproperties.youtubebtniconfontsize
42167
+ }))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42168
+ "class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
42169
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
42170
+ "class": "col-lg-12 p-0"
42171
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
42172
+ "class": "".concat(footerStyles.sectionTitle) + ' m-0 p-0 mb-2 mb-md-0 wordbreak mb-md-2 ',
42173
+ style: {
42174
+ textAlign: langdetect == 'en' ? 'left' : 'right'
42175
+ }
42176
+ }, langdetect == 'en' ? 'Download Our App' : 'حمل التطبيق')), /*#__PURE__*/React__default["default"].createElement("div", {
42177
+ "class": "col-lg-12 d-flex align-items-center justify-content-start p-sm-0"
42178
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
42179
+ "class": langdetect == 'en' ? "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mr-2 ' : "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ml-2 ',
42180
+ src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
42181
+ onClick: function onClick() {
42182
+ var _authdetailsContext$i19;
42183
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.mobileapplink_appstore, '_blank');
42184
+ }
42185
+ }), /*#__PURE__*/React__default["default"].createElement("img", {
42186
+ "class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
42187
+ src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
42188
+ onClick: function onClick() {
42189
+ var _authdetailsContext$i20;
42190
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.mobileapplink_playstore, '_blank');
42191
+ }
42155
42192
  })))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42156
42193
  "class": "col-lg-12 p-0 d-block my-3"
42157
42194
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.370",
3
+ "version": "0.0.371",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {
@@ -17,6 +17,7 @@
17
17
  "@react-oauth/google": "^0.2.6",
18
18
  "@rollup/plugin-node-resolve": "^13.3.0",
19
19
  "axios": "^0.27.2",
20
+ "before-after-react": "^1.0.5",
20
21
  "glamor": "^2.20.40",
21
22
  "google-map-react": "^2.2.0",
22
23
  "imagekitio-react": "^1.1.1",