tabexseriescomponents 0.0.650 → 0.0.652

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.umd.js CHANGED
@@ -8204,7 +8204,7 @@
8204
8204
  style: {
8205
8205
  minWidth: '200px'
8206
8206
  }
8207
- }, lang.numberofproducts), /*#__PURE__*/React__default["default"].createElement("th", {
8207
+ }, langdetect == 'en' ? sectionproperties.productnametitle_en : sectionproperties.productnametitle_ar), /*#__PURE__*/React__default["default"].createElement("th", {
8208
8208
  className: "text-capitalize text-center font-weight-500 font-14 text-uppercase text-light"
8209
8209
  }, lang.showmore)), /*#__PURE__*/React__default["default"].createElement("tbody", null, fetchorderhistoryQueryContext.data.data.ordershistory.map(function (item, index) {
8210
8210
  return /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", {
@@ -10539,7 +10539,29 @@
10539
10539
  style: {
10540
10540
  textAlign: langdetect == 'en' ? 'left' : 'right'
10541
10541
  }
10542
- }, lang.qty, ": ", item.quantity)))), sectionproperties.prodPriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
10542
+ }, lang.qty, ": ", item.quantity)), /*#__PURE__*/React__default["default"].createElement("div", {
10543
+ className: "col-lg-12 col-md-12 col-sm-12 d-flex mt-2 flex-column p-0"
10544
+ }, item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantoptions.map(function (variantitem, variantindex) {
10545
+ return /*#__PURE__*/React__default["default"].createElement("div", {
10546
+ "class": "row m-0 w-100"
10547
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
10548
+ className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
10549
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
10550
+ className: 'text-capitalize text-dark m-0 p-0 font-weight-500 font-13 m-0 p-0 '
10551
+ }, variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
10552
+ className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 '
10553
+ }, variantitem.optionvalue == '#c9b0a1' ? 'Beige' : variantitem.optionvalue == '#000000' ? 'Black' : variantitem.optionvalue)));
10554
+ }), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
10555
+ return /*#__PURE__*/React__default["default"].createElement("div", {
10556
+ "class": "row m-0 w-100"
10557
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
10558
+ className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
10559
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
10560
+ className: 'text-capitalize text-dark m-0 p-0 font-weight-500 font-13 m-0 p-0 '
10561
+ }, langdetect == 'en' ? extrafielditem.title_en : extrafielditem.title_ar, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
10562
+ className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 '
10563
+ }, " ", extrafielditem.value)));
10564
+ })))), sectionproperties.prodPriceshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
10543
10565
  className: "col-lg-3 col-md-3 col-sm-2 p-0"
10544
10566
  }, /*#__PURE__*/React__default["default"].createElement("div", {
10545
10567
  className: "row m-0 w-100 h-100"
@@ -10577,29 +10599,7 @@
10577
10599
  className: "col-lg-12 p-0 d-flex justify-content-end"
10578
10600
  }, /*#__PURE__*/React__default["default"].createElement("p", {
10579
10601
  className: langdetect == 'en' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak d-flex align-items-center justify-content-end text-left '
10580
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))))), /*#__PURE__*/React__default["default"].createElement("div", {
10581
- className: "col-lg-12 col-md-12 col-sm-12 d-flex mt-2 flex-column"
10582
- }, item.productinfo.hasvariants == 1 && item.productinfo.variantinfo.variantoptions.map(function (variantitem, variantindex) {
10583
- return /*#__PURE__*/React__default["default"].createElement("div", {
10584
- "class": "row m-0 w-100"
10585
- }, /*#__PURE__*/React__default["default"].createElement("div", {
10586
- className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
10587
- }, /*#__PURE__*/React__default["default"].createElement("p", {
10588
- className: 'text-capitalize text-dark m-0 p-0 font-weight-500 font-13 m-0 p-0 '
10589
- }, variantitem.optionname, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
10590
- className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 '
10591
- }, variantitem.optionvalue == '#c9b0a1' ? 'Beige' : variantitem.optionvalue == '#000000' ? 'Black' : variantitem.optionvalue)));
10592
- }), item.product_extrafields != null && product_extrafields.map(function (extrafielditem, extrafieldindex) {
10593
- return /*#__PURE__*/React__default["default"].createElement("div", {
10594
- "class": "row m-0 w-100"
10595
- }, /*#__PURE__*/React__default["default"].createElement("div", {
10596
- className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
10597
- }, /*#__PURE__*/React__default["default"].createElement("p", {
10598
- className: 'text-capitalize text-dark m-0 p-0 font-weight-500 font-13 m-0 p-0 '
10599
- }, langdetect == 'en' ? extrafielditem.title_en : extrafielditem.title_ar, ":"), /*#__PURE__*/React__default["default"].createElement("p", {
10600
- className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 '
10601
- }, " ", extrafielditem.value)));
10602
- }))));
10602
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(item.productinfo.variantinfo.variantprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))))));
10603
10603
  }), /*#__PURE__*/React__default["default"].createElement("div", {
10604
10604
  "class": "".concat(checkoutstyles.innersection) + ' row m-0 w-100 p-3 '
10605
10605
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -12108,6 +12108,9 @@
12108
12108
  enableSearch: true,
12109
12109
  autoFormat: true,
12110
12110
  value: payloadobj.mobile,
12111
+ inputStyle: {
12112
+ color: sectionproperties.inputfieldcolor
12113
+ },
12111
12114
  onChange: function onChange(event, country) {
12112
12115
  var temp = _objectSpread$2j({}, payloadobj);
12113
12116
  temp.mobile = event;
@@ -17813,7 +17816,7 @@
17813
17816
  marginTop: sectionproperties.marginTop + 'px',
17814
17817
  '@media (max-width: 800px)': {
17815
17818
  marginTop: sectionproperties.marginTopResp != undefined && sectionproperties.marginTopResp != undefined ? sectionproperties.marginTopResp + 'px' : sectionproperties.marginTop + 'px',
17816
- width: sectionproperties.widthresponsive + 'vw'
17819
+ width: sectionproperties.widthresponsive + '%'
17817
17820
  }
17818
17821
  }),
17819
17822
  innercardssection: glamor.css({
@@ -30575,7 +30578,7 @@
30575
30578
  marginTop: sectionproperties.header_marginTop + 'px',
30576
30579
  marginBottom: sectionproperties.header_marginBottom + 'px'
30577
30580
  }
30578
- }, sectionproperties.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
30581
+ }, templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
30579
30582
  "class": "col-lg-12 p-0 d-md-none d-sm-none"
30580
30583
  }, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
30581
30584
  sectionpropertiesprops: sectionproperties,
@@ -44599,7 +44602,7 @@
44599
44602
  function ownKeys$1y(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; }
44600
44603
  function _objectSpread$1y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
44601
44604
  var Footer5 = function Footer5(props) {
44602
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$i25, _authdetailsContext$i28, _authdetailsContext$i31, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i40, _authdetailsContext$i43;
44605
+ var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _logoarrayofobjects$3, _logoarrayofobjects$4, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$i26, _authdetailsContext$i28, _authdetailsContext$i31, _authdetailsContext$i34, _authdetailsContext$i37, _authdetailsContext$i40, _authdetailsContext$i43, _authdetailsContext$i46;
44603
44606
  var _useState = React.useState(''),
44604
44607
  _useState2 = _slicedToArray__default["default"](_useState, 2),
44605
44608
  sectionproperties = _useState2[0],
@@ -45028,7 +45031,7 @@
45028
45031
  className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
45029
45032
  onClick: function onClick() {
45030
45033
  var _authdetailsContext$i21;
45031
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.tiktoklink) != null) {
45034
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.youtubelink) != null) {
45032
45035
  var _authdetailsContext$i22;
45033
45036
  window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.youtubelink, '_blank');
45034
45037
  }
@@ -45037,7 +45040,21 @@
45037
45040
  className: "h-100 allcentered"
45038
45041
  }, /*#__PURE__*/React__default["default"].createElement(AiFillYoutube.AiFillYoutube, {
45039
45042
  size: sectionproperties.instgrambtniconfontsize
45040
- })))))), /*#__PURE__*/React__default["default"].createElement("div", {
45043
+ }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.twitterlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
45044
+ className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
45045
+ onClick: function onClick() {
45046
+ var _authdetailsContext$i24;
45047
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.twitterlink) != null) {
45048
+ var _authdetailsContext$i25;
45049
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.twitterlink, '_blank');
45050
+ }
45051
+ }
45052
+ }, /*#__PURE__*/React__default["default"].createElement("i", {
45053
+ className: "h-100 allcentered",
45054
+ style: {
45055
+ fontSize: 20
45056
+ }
45057
+ }, "x"))))), /*#__PURE__*/React__default["default"].createElement("div", {
45041
45058
  className: "col-lg-4 mt-4 pl-md-2 pr-md-2",
45042
45059
  style: {
45043
45060
  paddingLeft: langdetect == 'en' ? '80px' : 0,
@@ -45056,11 +45073,11 @@
45056
45073
  size: 20
45057
45074
  })), /*#__PURE__*/React__default["default"].createElement("p", {
45058
45075
  className: ' p-0 m-0 wordbreak '
45059
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i23 = authdetailsContext.instinfo) === null || _authdetailsContext$i23 === void 0 ? void 0 : _authdetailsContext$i23.address_en)), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
45076
+ }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.address_en)), sectionproperties.showfooteremail == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
45060
45077
  className: "".concat(footerStyles.footerinformationstyles) + ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start justify-content-md-center align-items-center mb-3 storeinfotext cursor-pointer ',
45061
45078
  onClick: function onClick() {
45062
- var _authdetailsContext$i24;
45063
- window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i24 = authdetailsContext.instinfo) === null || _authdetailsContext$i24 === void 0 || (_authdetailsContext$i24 = _authdetailsContext$i24.contactinfo) === null || _authdetailsContext$i24 === void 0 ? void 0 : _authdetailsContext$i24.email), '_self');
45079
+ var _authdetailsContext$i27;
45080
+ window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 || (_authdetailsContext$i27 = _authdetailsContext$i27.contactinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.email), '_self');
45064
45081
  }
45065
45082
  }, /*#__PURE__*/React__default["default"].createElement("i", {
45066
45083
  className: "h-100 d-flex justify-content-center align-items-center"
@@ -45069,7 +45086,7 @@
45069
45086
  size: 20
45070
45087
  })), /*#__PURE__*/React__default["default"].createElement("p", {
45071
45088
  className: ' p-0 m-0 wordbreak text-transform-none storeinfotext '
45072
- }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i25 = authdetailsContext.instinfo) === null || _authdetailsContext$i25 === void 0 || (_authdetailsContext$i25 = _authdetailsContext$i25.contactinfo) === null || _authdetailsContext$i25 === void 0 ? void 0 : _authdetailsContext$i25.email)), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
45089
+ }, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 || (_authdetailsContext$i28 = _authdetailsContext$i28.contactinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.email)), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
45073
45090
  className: "".concat(footerStyles.footerinformationstyles) + ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start justify-content-md-center align-items-center mb-md-3 storeinfotext ',
45074
45091
  onClick: function onClick() {
45075
45092
  window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
@@ -45124,8 +45141,8 @@
45124
45141
  "class": "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ',
45125
45142
  src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
45126
45143
  onClick: function onClick() {
45127
- var _authdetailsContext$i26;
45128
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i26 = authdetailsContext.instinfo) === null || _authdetailsContext$i26 === void 0 ? void 0 : _authdetailsContext$i26.mobileapplink_appstore, '_blank');
45144
+ var _authdetailsContext$i29;
45145
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.mobileapplink_appstore, '_blank');
45129
45146
  },
45130
45147
  style: {
45131
45148
  width: '80%',
@@ -45137,8 +45154,8 @@
45137
45154
  "class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-start align-items-center cursor-pointer ',
45138
45155
  src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
45139
45156
  onClick: function onClick() {
45140
- var _authdetailsContext$i27;
45141
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i27 = authdetailsContext.instinfo) === null || _authdetailsContext$i27 === void 0 ? void 0 : _authdetailsContext$i27.mobileapplink_playstore, '_blank');
45157
+ var _authdetailsContext$i30;
45158
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.mobileapplink_playstore, '_blank');
45142
45159
  },
45143
45160
  style: {
45144
45161
  width: '80%',
@@ -45151,78 +45168,78 @@
45151
45168
  }
45152
45169
  }, /*#__PURE__*/React__default["default"].createElement("div", {
45153
45170
  className: "col-lg-12 allcentered"
45154
- }, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i28 = authdetailsContext.instinfo) === null || _authdetailsContext$i28 === void 0 ? void 0 : _authdetailsContext$i28.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
45171
+ }, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
45155
45172
  className: langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.facebook_btn) + ' allcentered ml-3 ml-sm-4 ',
45156
45173
  onClick: function onClick() {
45157
- var _authdetailsContext$i29;
45158
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i29 = authdetailsContext.instinfo) === null || _authdetailsContext$i29 === void 0 ? void 0 : _authdetailsContext$i29.facebooklink) != null) {
45159
- var _authdetailsContext$i30;
45160
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i30 = authdetailsContext.instinfo) === null || _authdetailsContext$i30 === void 0 ? void 0 : _authdetailsContext$i30.facebooklink, '_blank');
45174
+ var _authdetailsContext$i32;
45175
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.facebooklink) != null) {
45176
+ var _authdetailsContext$i33;
45177
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.facebooklink, '_blank');
45161
45178
  }
45162
45179
  }
45163
45180
  }, /*#__PURE__*/React__default["default"].createElement("i", {
45164
45181
  className: "h-100 allcentered"
45165
45182
  }, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
45166
45183
  size: sectionproperties.facebkbtnniconfontsize
45167
- }))), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i31 = authdetailsContext.instinfo) === null || _authdetailsContext$i31 === void 0 ? void 0 : _authdetailsContext$i31.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
45184
+ }))), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
45168
45185
  className: langdetect == 'en' ? "".concat(footerStyles.instgram_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.instgram_btn) + ' allcentered ml-3 ml-sm-4',
45169
45186
  onClick: function onClick() {
45170
- var _authdetailsContext$i32;
45171
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i32 = authdetailsContext.instinfo) === null || _authdetailsContext$i32 === void 0 ? void 0 : _authdetailsContext$i32.instagramlink) != null) {
45172
- var _authdetailsContext$i33;
45173
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i33 = authdetailsContext.instinfo) === null || _authdetailsContext$i33 === void 0 ? void 0 : _authdetailsContext$i33.instagramlink, '_blank');
45187
+ var _authdetailsContext$i35;
45188
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.instagramlink) != null) {
45189
+ var _authdetailsContext$i36;
45190
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.instagramlink, '_blank');
45174
45191
  }
45175
45192
  }
45176
45193
  }, /*#__PURE__*/React__default["default"].createElement("i", {
45177
45194
  className: "h-100 allcentered"
45178
45195
  }, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
45179
45196
  size: sectionproperties.instgrambtniconfontsize
45180
- }))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i34 = authdetailsContext.instinfo) === null || _authdetailsContext$i34 === void 0 ? void 0 : _authdetailsContext$i34.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
45197
+ }))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
45181
45198
  className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
45182
45199
  onClick: function onClick() {
45183
- var _authdetailsContext$i35;
45184
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i35 = authdetailsContext.instinfo) === null || _authdetailsContext$i35 === void 0 ? void 0 : _authdetailsContext$i35.whatsappnumber) != null) {
45185
- var _authdetailsContext$i36;
45186
- window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i36 = authdetailsContext.instinfo) === null || _authdetailsContext$i36 === void 0 ? void 0 : _authdetailsContext$i36.whatsappnumber), '_blank');
45200
+ var _authdetailsContext$i38;
45201
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.whatsappnumber) != null) {
45202
+ var _authdetailsContext$i39;
45203
+ window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.whatsappnumber), '_blank');
45187
45204
  }
45188
45205
  }
45189
45206
  }, /*#__PURE__*/React__default["default"].createElement("i", {
45190
45207
  className: "h-100 allcentered"
45191
45208
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
45192
45209
  size: sectionproperties.youtubebtniconfontsize
45193
- }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
45210
+ }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.linkedinlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
45194
45211
  className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
45195
45212
  onClick: function onClick() {
45196
- var _authdetailsContext$i38;
45197
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.linkedinlink) != null) {
45198
- var _authdetailsContext$i39;
45199
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.linkedinlink, '_blank');
45213
+ var _authdetailsContext$i41;
45214
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.linkedinlink) != null) {
45215
+ var _authdetailsContext$i42;
45216
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.linkedinlink, '_blank');
45200
45217
  }
45201
45218
  }
45202
45219
  }, /*#__PURE__*/React__default["default"].createElement("i", {
45203
45220
  className: "h-100 allcentered"
45204
45221
  }, /*#__PURE__*/React__default["default"].createElement(FaLinkedinIn.FaLinkedinIn, {
45205
45222
  size: sectionproperties.instgrambtniconfontsize
45206
- }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
45223
+ }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
45207
45224
  className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
45208
45225
  onClick: function onClick() {
45209
- var _authdetailsContext$i41;
45210
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i41 = authdetailsContext.instinfo) === null || _authdetailsContext$i41 === void 0 ? void 0 : _authdetailsContext$i41.tiktoklink) != null) {
45211
- var _authdetailsContext$i42;
45212
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i42 = authdetailsContext.instinfo) === null || _authdetailsContext$i42 === void 0 ? void 0 : _authdetailsContext$i42.tiktoklink, '_blank');
45226
+ var _authdetailsContext$i44;
45227
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.tiktoklink) != null) {
45228
+ var _authdetailsContext$i45;
45229
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.tiktoklink, '_blank');
45213
45230
  }
45214
45231
  }
45215
45232
  }, /*#__PURE__*/React__default["default"].createElement("i", {
45216
45233
  className: "h-100 allcentered"
45217
45234
  }, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
45218
45235
  size: sectionproperties.instgrambtniconfontsize
45219
- }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i43 = authdetailsContext.instinfo) === null || _authdetailsContext$i43 === void 0 ? void 0 : _authdetailsContext$i43.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
45236
+ }))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i46 = authdetailsContext.instinfo) === null || _authdetailsContext$i46 === void 0 ? void 0 : _authdetailsContext$i46.youtubelink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
45220
45237
  className: langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' allcentered mr-3 mr-sm-4 ' : "".concat(footerStyles.youtube_btn) + ' allcentered ml-3 ml-sm-4',
45221
45238
  onClick: function onClick() {
45222
- var _authdetailsContext$i44;
45223
- if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i44 = authdetailsContext.instinfo) === null || _authdetailsContext$i44 === void 0 ? void 0 : _authdetailsContext$i44.tiktoklink) != null) {
45224
- var _authdetailsContext$i45;
45225
- window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i45 = authdetailsContext.instinfo) === null || _authdetailsContext$i45 === void 0 ? void 0 : _authdetailsContext$i45.youtubelink, '_blank');
45239
+ var _authdetailsContext$i47;
45240
+ if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i47 = authdetailsContext.instinfo) === null || _authdetailsContext$i47 === void 0 ? void 0 : _authdetailsContext$i47.tiktoklink) != null) {
45241
+ var _authdetailsContext$i48;
45242
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i48 = authdetailsContext.instinfo) === null || _authdetailsContext$i48 === void 0 ? void 0 : _authdetailsContext$i48.youtubelink, '_blank');
45226
45243
  }
45227
45244
  }
45228
45245
  }, /*#__PURE__*/React__default["default"].createElement("i", {
@@ -47492,6 +47509,10 @@
47492
47509
  var templateproperties_context = props.actions.templateproperties_context;
47493
47510
  var templatepropcontext = props.actions.templatepropcontext;
47494
47511
  var ikimagecredcontext = props.actions.ikimagecredcontext;
47512
+ var _useState5 = React.useState([]),
47513
+ _useState6 = _slicedToArray__default["default"](_useState5, 2),
47514
+ maincontainerarrayofobjs = _useState6[0],
47515
+ setmaincontainerarrayofobjs = _useState6[1];
47495
47516
  React.useEffect(function () {
47496
47517
  var secpropobj = {};
47497
47518
  StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
@@ -47514,6 +47535,21 @@
47514
47535
  return policyobj;
47515
47536
  };
47516
47537
  var footerStyles = (_footerStyles = {
47538
+ imgcontainer: glamor.css({
47539
+ ':before': {
47540
+ width: '100%',
47541
+ height: '100%',
47542
+ background: 'rgba(0,0,0,' + sectionproperties.cardbg_opacity + ')',
47543
+ zIndex: 1,
47544
+ position: 'absolute',
47545
+ content: 's',
47546
+ fontSize: 0,
47547
+ left: 0,
47548
+ right: 0,
47549
+ top: 0,
47550
+ bottom: 0
47551
+ }
47552
+ }),
47517
47553
  divider: glamor.css({
47518
47554
  height: '1px',
47519
47555
  width: '100%',
@@ -47529,7 +47565,7 @@
47529
47565
  objectFit: 'contain'
47530
47566
  }),
47531
47567
  footerContainer: glamor.css({
47532
- background: sectionproperties.footerbgcolor,
47568
+ // background: sectionproperties.footerbgcolor,
47533
47569
  paddingTop: sectionproperties.footer_paddingTop + 'px',
47534
47570
  paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
47535
47571
  paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
@@ -47650,10 +47686,10 @@
47650
47686
  }
47651
47687
  }
47652
47688
  }, [templateproperties_context]);
47653
- var _useState5 = React.useState([]),
47654
- _useState6 = _slicedToArray__default["default"](_useState5, 2),
47655
- bgimagearrayofobjs = _useState6[0],
47656
- setbgimagearrayofobjs = _useState6[1];
47689
+ var _useState7 = React.useState([]),
47690
+ _useState8 = _slicedToArray__default["default"](_useState7, 2),
47691
+ bgimagearrayofobjs = _useState8[0],
47692
+ setbgimagearrayofobjs = _useState8[1];
47657
47693
  React.useEffect(function () {
47658
47694
  if (sectionproperties.length != 0 && sectionproperties.logoarrayofobjects != undefined) {
47659
47695
  var bg1_arrayofobjsparsed = JSON.parse(sectionproperties.logoarrayofobjects);
@@ -47662,6 +47698,14 @@
47662
47698
  }
47663
47699
  }
47664
47700
  }, [sectionproperties]);
47701
+ React.useEffect(function () {
47702
+ if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
47703
+ var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
47704
+ if (Array.isArray(maincontainerarrayofobjsparsed)) {
47705
+ setmaincontainerarrayofobjs(_toConsumableArray__default["default"](maincontainerarrayofobjsparsed));
47706
+ }
47707
+ }
47708
+ }, [sectionproperties]);
47665
47709
  var Section1Title = function Section1Title() {
47666
47710
  return /*#__PURE__*/React__default["default"].createElement("div", {
47667
47711
  "class": "col-lg-12 p-0"
@@ -47891,12 +47935,33 @@
47891
47935
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47892
47936
  "class": "row m-0 w-md-100",
47893
47937
  style: {
47894
- width: sectionproperties.footerwidth + 'vw'
47938
+ width: sectionproperties.footerwidth + 'vw',
47939
+ position: 'relative',
47940
+ background: sectionproperties.footerbgcolor
47895
47941
  }
47896
- }, /*#__PURE__*/React__default["default"].createElement("div", {
47942
+ }, maincontainerarrayofobjs.length != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
47943
+ className: footerStyles.imgcontainer
47944
+ }, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
47945
+ urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
47946
+ publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
47947
+ path: maincontainerarrayofobjs[0].back_bgimage,
47948
+ style: {
47949
+ height: '100%',
47950
+ width: '100%',
47951
+ objectFit: 'cover',
47952
+ margin: 0,
47953
+ padding: 0,
47954
+ position: 'absolute',
47955
+ top: 0,
47956
+ bottom: 0,
47957
+ right: 0,
47958
+ left: 0
47959
+ }
47960
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
47897
47961
  style: {
47898
47962
  paddingLeft: langdetect == 'en' ? sectionproperties.footer_paddingLeft + 'px' : sectionproperties.footer_paddingRight + 'px',
47899
- paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px'
47963
+ paddingRight: langdetect == 'en' ? sectionproperties.footer_paddingRight + 'px' : sectionproperties.footer_paddingLeft + 'px',
47964
+ zIndex: 1
47900
47965
  },
47901
47966
  "class": "".concat(footerStyles.footerContainer) + ' col-lg-12 col-md-12 col-sm-12 pl-sm-2 pr-sm-2 pl-md-3 pr-md-3 px-2015-3 py-lg-3 '
47902
47967
  }, /*#__PURE__*/React__default["default"].createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.650",
3
+ "version": "0.0.652",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {