tabexseriescomponents 0.0.370 → 0.0.372

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
@@ -2069,6 +2069,10 @@ var ProductExtraFields = function ProductExtraFields(props) {
2069
2069
  });
2070
2070
  return /*#__PURE__*/React__default["default"].createElement("div", {
2071
2071
  className: 'col-lg-6 col-md-6 col-sm-12 mb-4 p-sm-0'
2072
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2073
+ "class": "row m-0 w-100"
2074
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2075
+ "class": "col-lg-12 p-0 d-flex align-items-start flex-row"
2072
2076
  }, /*#__PURE__*/React__default["default"].createElement("label", {
2073
2077
  className: ' d-flex align-items-start ',
2074
2078
  style: {
@@ -2079,7 +2083,17 @@ var ProductExtraFields = function ProductExtraFields(props) {
2079
2083
  }
2080
2084
  }, langdetect == 'en' ? item.title_en : item.title_ar, " ", /*#__PURE__*/React__default["default"].createElement("span", {
2081
2085
  "class": "text-danger ml-1 mr-1"
2082
- }, item.isrequired == 1 ? '*' : '')), /*#__PURE__*/React__default["default"].createElement("div", {
2086
+ }, item.isrequired == 1 ? '*' : '')), /*#__PURE__*/React__default["default"].createElement("label", {
2087
+ className: ' d-flex align-items-start mx-2 ',
2088
+ style: {
2089
+ color: '#666666',
2090
+ fontWeight: 400,
2091
+ fontSize: '13px',
2092
+ textTransform: sectionproperties.form_labeltexttransform
2093
+ }
2094
+ }, item.subtitle_en != null && langdetect == 'en' && '(' + item.subtitle_en + ')', item.subtitle_ar != null && langdetect == 'ar' && '(' + item.subtitle_ar + ')')), /*#__PURE__*/React__default["default"].createElement("div", {
2095
+ "class": "col-lg-12 p-0"
2096
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
2083
2097
  className: loginstyles.wrap_input100 + ' textarea '
2084
2098
  }, isinputcomponent == 1 && /*#__PURE__*/React__default["default"].createElement("input", {
2085
2099
  className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
@@ -2112,7 +2126,7 @@ var ProductExtraFields = function ProductExtraFields(props) {
2112
2126
  }
2113
2127
  })), /*#__PURE__*/React__default["default"].createElement("span", {
2114
2128
  className: loginstyles.login_input_focus
2115
- })));
2129
+ })))));
2116
2130
  }))));
2117
2131
  };
2118
2132
 
@@ -6747,7 +6761,7 @@ var Ordershistory = function Ordershistory(props) {
6747
6761
  style: {
6748
6762
  textAlign: langdetect == 'en' ? 'left' : 'right'
6749
6763
  }
6750
- }, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ' '), /*#__PURE__*/React__default["default"].createElement("th", {
6764
+ }, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ' '), sectionproperties.statusvisibility == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
6751
6765
  className: "text-center font-weight-500 font-14 text-uppercase text-light",
6752
6766
  style: {
6753
6767
  minWidth: '200px'
@@ -6765,7 +6779,13 @@ var Ordershistory = function Ordershistory(props) {
6765
6779
  style: {
6766
6780
  textAlign: langdetect == 'en' ? 'left' : 'right'
6767
6781
  }
6768
- }, item.orderid), /*#__PURE__*/React__default["default"].createElement("td", {
6782
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
6783
+ "class": "row m-0 w-100"
6784
+ }, sectionproperties.showorderid == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
6785
+ "class": "col-lg-12 p-0 text-start"
6786
+ }, item.orderid), sectionproperties.showtimestamp == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
6787
+ "class": "col-lg-12 p-0 text-start"
6788
+ }, item.timestamp))), sectionproperties.statusvisibility == 'Show' && /*#__PURE__*/React__default["default"].createElement("td", {
6769
6789
  className: "text-center",
6770
6790
  style: {
6771
6791
  minWidth: '200px'
@@ -6833,13 +6853,18 @@ var Ordershistory = function Ordershistory(props) {
6833
6853
  textTransform: sectionproperties.sectionTitleTextTransform,
6834
6854
  fontWeight: sectionproperties.sectionTitleFontWeight
6835
6855
  }
6836
- }, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ":", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
6856
+ }, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ":", ' ', sectionproperties.showorderid == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", {
6857
+ style: {
6858
+ color: sectionproperties.sectiontitlesecondarycolor,
6859
+ direction: 'ltr'
6860
+ }
6861
+ }, "#", fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].orderid), sectionproperties.showtimestamp == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", {
6837
6862
  style: {
6838
6863
  color: sectionproperties.sectiontitlesecondarycolor,
6839
6864
  direction: 'ltr'
6840
6865
  }
6841
- }, "#", fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].orderid))), /*#__PURE__*/React__default["default"].createElement("div", {
6842
- className: langdetect == 'en' ? 'col-lg-9 pl-0 p-md-0 mb-md-3' : 'col-lg-9 pr-0 p-md-0 mb-md-3'
6866
+ }, fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].timestamp))), /*#__PURE__*/React__default["default"].createElement("div", {
6867
+ className: sectionproperties.shownotes == 'Hide' && sectionproperties.showtotalsection == 'Hide' && sectionproperties.showpayemntsection == 'Hide' && sectionproperties.hidecountrystatecity == 'Hide' && sectionproperties.hideshipping == 'Hide' && sectionproperties.hideaddress == 'Hide' ? 'col-lg-12 p-0' : langdetect == 'en' ? 'col-lg-9 pl-0 p-md-0 mb-md-3' : 'col-lg-9 pr-0 p-md-0 mb-md-3'
6843
6868
  }, /*#__PURE__*/React__default["default"].createElement("div", {
6844
6869
  className: "row m-0 w-100"
6845
6870
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -6857,7 +6882,7 @@ var Ordershistory = function Ordershistory(props) {
6857
6882
  style: {
6858
6883
  textAlign: langdetect == 'en' ? 'left' : 'right'
6859
6884
  }
6860
- }, langdetect == 'en' ? 'Details' : 'التفاصيل')), /*#__PURE__*/React__default["default"].createElement("div", {
6885
+ }, langdetect == 'en' ? 'Details' : 'التفاصيل')), sectionproperties.statusvisibility == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
6861
6886
  className: "col-lg-3 col-md-3 col-sm-6 p-0 d-flex align-items-center justify-content-end"
6862
6887
  }, /*#__PURE__*/React__default["default"].createElement("p", {
6863
6888
  style: {
@@ -7044,7 +7069,10 @@ var Ordershistory = function Ordershistory(props) {
7044
7069
  }), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("p", {
7045
7070
  "class": "m-0 p-0"
7046
7071
  }, " ", langdetect == 'en' ? 'Delete Order' : 'حذف الطلب'))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
7047
- className: langdetect == 'en' ? 'col-lg-3 pr-0 p-md-0' : 'col-lg-3 pl-0 p-md-0'
7072
+ className: langdetect == 'en' ? 'col-lg-3 pr-0 p-md-0' : 'col-lg-3 pl-0 p-md-0',
7073
+ style: {
7074
+ display: sectionproperties.shownotes == 'Hide' && sectionproperties.showtotalsection == 'Hide' && sectionproperties.showpayemntsection == 'Hide' && sectionproperties.hidecountrystatecity == 'Hide' && sectionproperties.hideshipping == 'Hide' && sectionproperties.hideaddress == 'Hide' ? 'none' : 'flex'
7075
+ }
7048
7076
  }, /*#__PURE__*/React__default["default"].createElement("div", {
7049
7077
  className: "row m-0 w-100 mb-3",
7050
7078
  style: {
@@ -7240,7 +7268,7 @@ var Ordershistory = function Ordershistory(props) {
7240
7268
  textTransform: sectionproperties.total_texttransform,
7241
7269
  color: sectionproperties.total_color
7242
7270
  }
7243
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].totalorderprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), /*#__PURE__*/React__default["default"].createElement("div", {
7271
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].totalorderprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.showpayemntsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
7244
7272
  className: "row m-0 w-100 mb-3",
7245
7273
  style: {
7246
7274
  background: sectionproperties.payment_sectionbgcolor,
@@ -36363,7 +36391,7 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
36363
36391
  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
36392
  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
36393
  var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props) {
36366
- var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2;
36394
+ var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2, _authdetailsContext$i3;
36367
36395
  var _useState = React.useState(''),
36368
36396
  _useState2 = _slicedToArray__default["default"](_useState, 2),
36369
36397
  sectionproperties = _useState2[0],
@@ -37038,7 +37066,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
37038
37066
  }
37039
37067
  }))));
37040
37068
  }
37041
- }), /*#__PURE__*/React__default["default"].createElement("div", {
37069
+ }), 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
37070
  "class": ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '
37043
37071
  }, /*#__PURE__*/React__default["default"].createElement("div", {
37044
37072
  "class": "row m-0 w-100"
@@ -37062,7 +37090,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
37062
37090
  background: '#f4f4f4',
37063
37091
  borderRadius: 5
37064
37092
  }
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) {
37093
+ }, 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
37094
  return /*#__PURE__*/React__default["default"].createElement("div", {
37067
37095
  "class": header_cssstyles.navbarItem + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
37068
37096
  onClick: function onClick() {
@@ -38236,7 +38264,7 @@ var Footer2 = function Footer2(props) {
38236
38264
  return /*#__PURE__*/React__default["default"].createElement("div", {
38237
38265
  "class": "row m-0 w-100 d-flex justify-content-center"
38238
38266
  }, /*#__PURE__*/React__default["default"].createElement("footer", {
38239
- "class": "".concat(footerStyles.footerContainer)
38267
+ "class": "".concat(footerStyles.footerContainer) + ' pl-md-2 pr-md-2 '
38240
38268
  }, /*#__PURE__*/React__default["default"].createElement("div", {
38241
38269
  "class": "row w-100 m-0 d-flex justify-content-center"
38242
38270
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -41864,7 +41892,7 @@ var ModernFooter = function ModernFooter(props) {
41864
41892
  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
41893
  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
41894
  var Newsletterfooter = function Newsletterfooter(props) {
41867
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i16;
41895
+ var _footerStyles, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i16;
41868
41896
  var _useState = React.useState(''),
41869
41897
  _useState2 = _slicedToArray__default["default"](_useState, 2),
41870
41898
  sectionproperties = _useState2[0],
@@ -41904,7 +41932,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
41904
41932
  });
41905
41933
  return policyobj;
41906
41934
  };
41907
- var footerStyles = {
41935
+ var footerStyles = (_footerStyles = {
41908
41936
  payimgcont: glamor.css({
41909
41937
  marginLeft: '10px',
41910
41938
  marginRight: '10px'
@@ -42016,7 +42044,19 @@ var Newsletterfooter = function Newsletterfooter(props) {
42016
42044
  color: sectionproperties.prodCatColor,
42017
42045
  fontWeight: sectionproperties.prodCatFontWeight
42018
42046
  })
42019
- };
42047
+ }, _defineProperty__default["default"](_footerStyles, "apptore", glamor.css({
42048
+ width: '35%',
42049
+ objectFit: 'contain',
42050
+ '@media (max-width: 800px)': {
42051
+ width: '30%'
42052
+ }
42053
+ })), _defineProperty__default["default"](_footerStyles, "googleplay", glamor.css({
42054
+ width: '35%',
42055
+ objectFit: 'contain',
42056
+ '@media (max-width: 800px)': {
42057
+ width: '30%'
42058
+ }
42059
+ })), _footerStyles);
42020
42060
  React.useEffect(function () {
42021
42061
  if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
42022
42062
  var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
@@ -42319,6 +42359,31 @@ var Newsletterfooter = function Newsletterfooter(props) {
42319
42359
  }
42320
42360
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
42321
42361
  size: sectionproperties.youtubebtniconfontsize
42362
+ }))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42363
+ "class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
42364
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
42365
+ "class": "col-lg-12 p-0"
42366
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
42367
+ "class": "".concat(footerStyles.sectionTitle) + ' m-0 p-0 mb-2 mb-md-0 wordbreak mb-md-2 ',
42368
+ style: {
42369
+ textAlign: langdetect == 'en' ? 'left' : 'right'
42370
+ }
42371
+ }, langdetect == 'en' ? 'Download Our App' : 'حمل التطبيق')), /*#__PURE__*/React__default["default"].createElement("div", {
42372
+ "class": "col-lg-12 d-flex align-items-center justify-content-start p-sm-0"
42373
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
42374
+ "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 ',
42375
+ src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
42376
+ onClick: function onClick() {
42377
+ var _authdetailsContext$i19;
42378
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.mobileapplink_appstore, '_blank');
42379
+ }
42380
+ }), /*#__PURE__*/React__default["default"].createElement("img", {
42381
+ "class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
42382
+ src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
42383
+ onClick: function onClick() {
42384
+ var _authdetailsContext$i20;
42385
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.mobileapplink_playstore, '_blank');
42386
+ }
42322
42387
  })))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42323
42388
  "class": "col-lg-12 p-0 d-block my-3"
42324
42389
  }, /*#__PURE__*/React__default["default"].createElement("hr", {
package/dist/index.esm.js CHANGED
@@ -2020,6 +2020,10 @@ var ProductExtraFields = function ProductExtraFields(props) {
2020
2020
  });
2021
2021
  return /*#__PURE__*/React.createElement("div", {
2022
2022
  className: 'col-lg-6 col-md-6 col-sm-12 mb-4 p-sm-0'
2023
+ }, /*#__PURE__*/React.createElement("div", {
2024
+ "class": "row m-0 w-100"
2025
+ }, /*#__PURE__*/React.createElement("div", {
2026
+ "class": "col-lg-12 p-0 d-flex align-items-start flex-row"
2023
2027
  }, /*#__PURE__*/React.createElement("label", {
2024
2028
  className: ' d-flex align-items-start ',
2025
2029
  style: {
@@ -2030,7 +2034,17 @@ var ProductExtraFields = function ProductExtraFields(props) {
2030
2034
  }
2031
2035
  }, langdetect == 'en' ? item.title_en : item.title_ar, " ", /*#__PURE__*/React.createElement("span", {
2032
2036
  "class": "text-danger ml-1 mr-1"
2033
- }, item.isrequired == 1 ? '*' : '')), /*#__PURE__*/React.createElement("div", {
2037
+ }, item.isrequired == 1 ? '*' : '')), /*#__PURE__*/React.createElement("label", {
2038
+ className: ' d-flex align-items-start mx-2 ',
2039
+ style: {
2040
+ color: '#666666',
2041
+ fontWeight: 400,
2042
+ fontSize: '13px',
2043
+ textTransform: sectionproperties.form_labeltexttransform
2044
+ }
2045
+ }, item.subtitle_en != null && langdetect == 'en' && '(' + item.subtitle_en + ')', item.subtitle_ar != null && langdetect == 'ar' && '(' + item.subtitle_ar + ')')), /*#__PURE__*/React.createElement("div", {
2046
+ "class": "col-lg-12 p-0"
2047
+ }, /*#__PURE__*/React.createElement("div", {
2034
2048
  className: loginstyles.wrap_input100 + ' textarea '
2035
2049
  }, isinputcomponent == 1 && /*#__PURE__*/React.createElement("input", {
2036
2050
  className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
@@ -2063,7 +2077,7 @@ var ProductExtraFields = function ProductExtraFields(props) {
2063
2077
  }
2064
2078
  })), /*#__PURE__*/React.createElement("span", {
2065
2079
  className: loginstyles.login_input_focus
2066
- })));
2080
+ })))));
2067
2081
  }))));
2068
2082
  };
2069
2083
 
@@ -6698,7 +6712,7 @@ var Ordershistory = function Ordershistory(props) {
6698
6712
  style: {
6699
6713
  textAlign: langdetect == 'en' ? 'left' : 'right'
6700
6714
  }
6701
- }, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ' '), /*#__PURE__*/React.createElement("th", {
6715
+ }, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ' '), sectionproperties.statusvisibility == 'Show' && /*#__PURE__*/React.createElement("th", {
6702
6716
  className: "text-center font-weight-500 font-14 text-uppercase text-light",
6703
6717
  style: {
6704
6718
  minWidth: '200px'
@@ -6716,7 +6730,13 @@ var Ordershistory = function Ordershistory(props) {
6716
6730
  style: {
6717
6731
  textAlign: langdetect == 'en' ? 'left' : 'right'
6718
6732
  }
6719
- }, item.orderid), /*#__PURE__*/React.createElement("td", {
6733
+ }, /*#__PURE__*/React.createElement("div", {
6734
+ "class": "row m-0 w-100"
6735
+ }, sectionproperties.showorderid == 'Show' && /*#__PURE__*/React.createElement("div", {
6736
+ "class": "col-lg-12 p-0 text-start"
6737
+ }, item.orderid), sectionproperties.showtimestamp == 'Show' && /*#__PURE__*/React.createElement("div", {
6738
+ "class": "col-lg-12 p-0 text-start"
6739
+ }, item.timestamp))), sectionproperties.statusvisibility == 'Show' && /*#__PURE__*/React.createElement("td", {
6720
6740
  className: "text-center",
6721
6741
  style: {
6722
6742
  minWidth: '200px'
@@ -6784,13 +6804,18 @@ var Ordershistory = function Ordershistory(props) {
6784
6804
  textTransform: sectionproperties.sectionTitleTextTransform,
6785
6805
  fontWeight: sectionproperties.sectionTitleFontWeight
6786
6806
  }
6787
- }, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ":", ' ', /*#__PURE__*/React.createElement("span", {
6807
+ }, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ":", ' ', sectionproperties.showorderid == 'Show' && /*#__PURE__*/React.createElement("span", {
6808
+ style: {
6809
+ color: sectionproperties.sectiontitlesecondarycolor,
6810
+ direction: 'ltr'
6811
+ }
6812
+ }, "#", fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].orderid), sectionproperties.showtimestamp == 'Show' && /*#__PURE__*/React.createElement("span", {
6788
6813
  style: {
6789
6814
  color: sectionproperties.sectiontitlesecondarycolor,
6790
6815
  direction: 'ltr'
6791
6816
  }
6792
- }, "#", fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].orderid))), /*#__PURE__*/React.createElement("div", {
6793
- className: langdetect == 'en' ? 'col-lg-9 pl-0 p-md-0 mb-md-3' : 'col-lg-9 pr-0 p-md-0 mb-md-3'
6817
+ }, fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].timestamp))), /*#__PURE__*/React.createElement("div", {
6818
+ className: sectionproperties.shownotes == 'Hide' && sectionproperties.showtotalsection == 'Hide' && sectionproperties.showpayemntsection == 'Hide' && sectionproperties.hidecountrystatecity == 'Hide' && sectionproperties.hideshipping == 'Hide' && sectionproperties.hideaddress == 'Hide' ? 'col-lg-12 p-0' : langdetect == 'en' ? 'col-lg-9 pl-0 p-md-0 mb-md-3' : 'col-lg-9 pr-0 p-md-0 mb-md-3'
6794
6819
  }, /*#__PURE__*/React.createElement("div", {
6795
6820
  className: "row m-0 w-100"
6796
6821
  }, /*#__PURE__*/React.createElement("div", {
@@ -6808,7 +6833,7 @@ var Ordershistory = function Ordershistory(props) {
6808
6833
  style: {
6809
6834
  textAlign: langdetect == 'en' ? 'left' : 'right'
6810
6835
  }
6811
- }, langdetect == 'en' ? 'Details' : 'التفاصيل')), /*#__PURE__*/React.createElement("div", {
6836
+ }, langdetect == 'en' ? 'Details' : 'التفاصيل')), sectionproperties.statusvisibility == 'Show' && /*#__PURE__*/React.createElement("div", {
6812
6837
  className: "col-lg-3 col-md-3 col-sm-6 p-0 d-flex align-items-center justify-content-end"
6813
6838
  }, /*#__PURE__*/React.createElement("p", {
6814
6839
  style: {
@@ -6995,7 +7020,10 @@ var Ordershistory = function Ordershistory(props) {
6995
7020
  }), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React.createElement("p", {
6996
7021
  "class": "m-0 p-0"
6997
7022
  }, " ", langdetect == 'en' ? 'Delete Order' : 'حذف الطلب'))))))))), /*#__PURE__*/React.createElement("div", {
6998
- className: langdetect == 'en' ? 'col-lg-3 pr-0 p-md-0' : 'col-lg-3 pl-0 p-md-0'
7023
+ className: langdetect == 'en' ? 'col-lg-3 pr-0 p-md-0' : 'col-lg-3 pl-0 p-md-0',
7024
+ style: {
7025
+ display: sectionproperties.shownotes == 'Hide' && sectionproperties.showtotalsection == 'Hide' && sectionproperties.showpayemntsection == 'Hide' && sectionproperties.hidecountrystatecity == 'Hide' && sectionproperties.hideshipping == 'Hide' && sectionproperties.hideaddress == 'Hide' ? 'none' : 'flex'
7026
+ }
6999
7027
  }, /*#__PURE__*/React.createElement("div", {
7000
7028
  className: "row m-0 w-100 mb-3",
7001
7029
  style: {
@@ -7191,7 +7219,7 @@ var Ordershistory = function Ordershistory(props) {
7191
7219
  textTransform: sectionproperties.total_texttransform,
7192
7220
  color: sectionproperties.total_color
7193
7221
  }
7194
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].totalorderprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), /*#__PURE__*/React.createElement("div", {
7222
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].totalorderprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.showpayemntsection == 'Show' && /*#__PURE__*/React.createElement("div", {
7195
7223
  className: "row m-0 w-100 mb-3",
7196
7224
  style: {
7197
7225
  background: sectionproperties.payment_sectionbgcolor,
@@ -36314,7 +36342,7 @@ var TwoTieredWithCenteredLogoHeader = function TwoTieredWithCenteredLogoHeader(p
36314
36342
  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
36343
  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
36344
  var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props) {
36317
- var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2;
36345
+ var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2, _authdetailsContext$i3;
36318
36346
  var _useState = useState(''),
36319
36347
  _useState2 = _slicedToArray(_useState, 2),
36320
36348
  sectionproperties = _useState2[0],
@@ -36989,7 +37017,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
36989
37017
  }
36990
37018
  }))));
36991
37019
  }
36992
- }), /*#__PURE__*/React.createElement("div", {
37020
+ }), 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
37021
  "class": ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '
36994
37022
  }, /*#__PURE__*/React.createElement("div", {
36995
37023
  "class": "row m-0 w-100"
@@ -37013,7 +37041,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
37013
37041
  background: '#f4f4f4',
37014
37042
  borderRadius: 5
37015
37043
  }
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) {
37044
+ }, 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
37045
  return /*#__PURE__*/React.createElement("div", {
37018
37046
  "class": header_cssstyles.navbarItem + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
37019
37047
  onClick: function onClick() {
@@ -38187,7 +38215,7 @@ var Footer2 = function Footer2(props) {
38187
38215
  return /*#__PURE__*/React.createElement("div", {
38188
38216
  "class": "row m-0 w-100 d-flex justify-content-center"
38189
38217
  }, /*#__PURE__*/React.createElement("footer", {
38190
- "class": "".concat(footerStyles.footerContainer)
38218
+ "class": "".concat(footerStyles.footerContainer) + ' pl-md-2 pr-md-2 '
38191
38219
  }, /*#__PURE__*/React.createElement("div", {
38192
38220
  "class": "row w-100 m-0 d-flex justify-content-center"
38193
38221
  }, /*#__PURE__*/React.createElement("div", {
@@ -41815,7 +41843,7 @@ var ModernFooter = function ModernFooter(props) {
41815
41843
  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
41844
  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
41845
  var Newsletterfooter = function Newsletterfooter(props) {
41818
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i16;
41846
+ var _footerStyles, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i16;
41819
41847
  var _useState = useState(''),
41820
41848
  _useState2 = _slicedToArray(_useState, 2),
41821
41849
  sectionproperties = _useState2[0],
@@ -41855,7 +41883,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
41855
41883
  });
41856
41884
  return policyobj;
41857
41885
  };
41858
- var footerStyles = {
41886
+ var footerStyles = (_footerStyles = {
41859
41887
  payimgcont: css({
41860
41888
  marginLeft: '10px',
41861
41889
  marginRight: '10px'
@@ -41967,7 +41995,19 @@ var Newsletterfooter = function Newsletterfooter(props) {
41967
41995
  color: sectionproperties.prodCatColor,
41968
41996
  fontWeight: sectionproperties.prodCatFontWeight
41969
41997
  })
41970
- };
41998
+ }, _defineProperty(_footerStyles, "apptore", css({
41999
+ width: '35%',
42000
+ objectFit: 'contain',
42001
+ '@media (max-width: 800px)': {
42002
+ width: '30%'
42003
+ }
42004
+ })), _defineProperty(_footerStyles, "googleplay", css({
42005
+ width: '35%',
42006
+ objectFit: 'contain',
42007
+ '@media (max-width: 800px)': {
42008
+ width: '30%'
42009
+ }
42010
+ })), _footerStyles);
41971
42011
  useEffect(function () {
41972
42012
  if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
41973
42013
  var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
@@ -42270,6 +42310,31 @@ var Newsletterfooter = function Newsletterfooter(props) {
42270
42310
  }
42271
42311
  }, /*#__PURE__*/React.createElement(FaWhatsapp, {
42272
42312
  size: sectionproperties.youtubebtniconfontsize
42313
+ }))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React.createElement("div", {
42314
+ "class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
42315
+ }, /*#__PURE__*/React.createElement("div", {
42316
+ "class": "col-lg-12 p-0"
42317
+ }, /*#__PURE__*/React.createElement("p", {
42318
+ "class": "".concat(footerStyles.sectionTitle) + ' m-0 p-0 mb-2 mb-md-0 wordbreak mb-md-2 ',
42319
+ style: {
42320
+ textAlign: langdetect == 'en' ? 'left' : 'right'
42321
+ }
42322
+ }, langdetect == 'en' ? 'Download Our App' : 'حمل التطبيق')), /*#__PURE__*/React.createElement("div", {
42323
+ "class": "col-lg-12 d-flex align-items-center justify-content-start p-sm-0"
42324
+ }, /*#__PURE__*/React.createElement("img", {
42325
+ "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 ',
42326
+ src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
42327
+ onClick: function onClick() {
42328
+ var _authdetailsContext$i19;
42329
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.mobileapplink_appstore, '_blank');
42330
+ }
42331
+ }), /*#__PURE__*/React.createElement("img", {
42332
+ "class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
42333
+ src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
42334
+ onClick: function onClick() {
42335
+ var _authdetailsContext$i20;
42336
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.mobileapplink_playstore, '_blank');
42337
+ }
42273
42338
  })))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React.createElement("div", {
42274
42339
  "class": "col-lg-12 p-0 d-block my-3"
42275
42340
  }, /*#__PURE__*/React.createElement("hr", {
package/dist/index.umd.js CHANGED
@@ -1902,6 +1902,10 @@
1902
1902
  });
1903
1903
  return /*#__PURE__*/React__default["default"].createElement("div", {
1904
1904
  className: 'col-lg-6 col-md-6 col-sm-12 mb-4 p-sm-0'
1905
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
1906
+ "class": "row m-0 w-100"
1907
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
1908
+ "class": "col-lg-12 p-0 d-flex align-items-start flex-row"
1905
1909
  }, /*#__PURE__*/React__default["default"].createElement("label", {
1906
1910
  className: ' d-flex align-items-start ',
1907
1911
  style: {
@@ -1912,7 +1916,17 @@
1912
1916
  }
1913
1917
  }, langdetect == 'en' ? item.title_en : item.title_ar, " ", /*#__PURE__*/React__default["default"].createElement("span", {
1914
1918
  "class": "text-danger ml-1 mr-1"
1915
- }, item.isrequired == 1 ? '*' : '')), /*#__PURE__*/React__default["default"].createElement("div", {
1919
+ }, item.isrequired == 1 ? '*' : '')), /*#__PURE__*/React__default["default"].createElement("label", {
1920
+ className: ' d-flex align-items-start mx-2 ',
1921
+ style: {
1922
+ color: '#666666',
1923
+ fontWeight: 400,
1924
+ fontSize: '13px',
1925
+ textTransform: sectionproperties.form_labeltexttransform
1926
+ }
1927
+ }, item.subtitle_en != null && langdetect == 'en' && '(' + item.subtitle_en + ')', item.subtitle_ar != null && langdetect == 'ar' && '(' + item.subtitle_ar + ')')), /*#__PURE__*/React__default["default"].createElement("div", {
1928
+ "class": "col-lg-12 p-0"
1929
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
1916
1930
  className: loginstyles.wrap_input100 + ' textarea '
1917
1931
  }, isinputcomponent == 1 && /*#__PURE__*/React__default["default"].createElement("input", {
1918
1932
  className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
@@ -1945,7 +1959,7 @@
1945
1959
  }
1946
1960
  })), /*#__PURE__*/React__default["default"].createElement("span", {
1947
1961
  className: loginstyles.login_input_focus
1948
- })));
1962
+ })))));
1949
1963
  }))));
1950
1964
  };
1951
1965
 
@@ -6580,7 +6594,7 @@
6580
6594
  style: {
6581
6595
  textAlign: langdetect == 'en' ? 'left' : 'right'
6582
6596
  }
6583
- }, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ' '), /*#__PURE__*/React__default["default"].createElement("th", {
6597
+ }, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ' '), sectionproperties.statusvisibility == 'Show' && /*#__PURE__*/React__default["default"].createElement("th", {
6584
6598
  className: "text-center font-weight-500 font-14 text-uppercase text-light",
6585
6599
  style: {
6586
6600
  minWidth: '200px'
@@ -6598,7 +6612,13 @@
6598
6612
  style: {
6599
6613
  textAlign: langdetect == 'en' ? 'left' : 'right'
6600
6614
  }
6601
- }, item.orderid), /*#__PURE__*/React__default["default"].createElement("td", {
6615
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
6616
+ "class": "row m-0 w-100"
6617
+ }, sectionproperties.showorderid == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
6618
+ "class": "col-lg-12 p-0 text-start"
6619
+ }, item.orderid), sectionproperties.showtimestamp == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
6620
+ "class": "col-lg-12 p-0 text-start"
6621
+ }, item.timestamp))), sectionproperties.statusvisibility == 'Show' && /*#__PURE__*/React__default["default"].createElement("td", {
6602
6622
  className: "text-center",
6603
6623
  style: {
6604
6624
  minWidth: '200px'
@@ -6666,13 +6686,18 @@
6666
6686
  textTransform: sectionproperties.sectionTitleTextTransform,
6667
6687
  fontWeight: sectionproperties.sectionTitleFontWeight
6668
6688
  }
6669
- }, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ":", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
6689
+ }, langdetect == 'en' ? sectionproperties.orderidtitleen : sectionproperties.orderidtitlear, ":", ' ', sectionproperties.showorderid == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", {
6690
+ style: {
6691
+ color: sectionproperties.sectiontitlesecondarycolor,
6692
+ direction: 'ltr'
6693
+ }
6694
+ }, "#", fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].orderid), sectionproperties.showtimestamp == 'Show' && /*#__PURE__*/React__default["default"].createElement("span", {
6670
6695
  style: {
6671
6696
  color: sectionproperties.sectiontitlesecondarycolor,
6672
6697
  direction: 'ltr'
6673
6698
  }
6674
- }, "#", fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].orderid))), /*#__PURE__*/React__default["default"].createElement("div", {
6675
- className: langdetect == 'en' ? 'col-lg-9 pl-0 p-md-0 mb-md-3' : 'col-lg-9 pr-0 p-md-0 mb-md-3'
6699
+ }, fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].timestamp))), /*#__PURE__*/React__default["default"].createElement("div", {
6700
+ className: sectionproperties.shownotes == 'Hide' && sectionproperties.showtotalsection == 'Hide' && sectionproperties.showpayemntsection == 'Hide' && sectionproperties.hidecountrystatecity == 'Hide' && sectionproperties.hideshipping == 'Hide' && sectionproperties.hideaddress == 'Hide' ? 'col-lg-12 p-0' : langdetect == 'en' ? 'col-lg-9 pl-0 p-md-0 mb-md-3' : 'col-lg-9 pr-0 p-md-0 mb-md-3'
6676
6701
  }, /*#__PURE__*/React__default["default"].createElement("div", {
6677
6702
  className: "row m-0 w-100"
6678
6703
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -6690,7 +6715,7 @@
6690
6715
  style: {
6691
6716
  textAlign: langdetect == 'en' ? 'left' : 'right'
6692
6717
  }
6693
- }, langdetect == 'en' ? 'Details' : 'التفاصيل')), /*#__PURE__*/React__default["default"].createElement("div", {
6718
+ }, langdetect == 'en' ? 'Details' : 'التفاصيل')), sectionproperties.statusvisibility == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
6694
6719
  className: "col-lg-3 col-md-3 col-sm-6 p-0 d-flex align-items-center justify-content-end"
6695
6720
  }, /*#__PURE__*/React__default["default"].createElement("p", {
6696
6721
  style: {
@@ -6877,7 +6902,10 @@
6877
6902
  }), !GeneralAPIMutationContext.isLoading && /*#__PURE__*/React__default["default"].createElement("p", {
6878
6903
  "class": "m-0 p-0"
6879
6904
  }, " ", langdetect == 'en' ? 'Delete Order' : 'حذف الطلب'))))))))), /*#__PURE__*/React__default["default"].createElement("div", {
6880
- className: langdetect == 'en' ? 'col-lg-3 pr-0 p-md-0' : 'col-lg-3 pl-0 p-md-0'
6905
+ className: langdetect == 'en' ? 'col-lg-3 pr-0 p-md-0' : 'col-lg-3 pl-0 p-md-0',
6906
+ style: {
6907
+ display: sectionproperties.shownotes == 'Hide' && sectionproperties.showtotalsection == 'Hide' && sectionproperties.showpayemntsection == 'Hide' && sectionproperties.hidecountrystatecity == 'Hide' && sectionproperties.hideshipping == 'Hide' && sectionproperties.hideaddress == 'Hide' ? 'none' : 'flex'
6908
+ }
6881
6909
  }, /*#__PURE__*/React__default["default"].createElement("div", {
6882
6910
  className: "row m-0 w-100 mb-3",
6883
6911
  style: {
@@ -7073,7 +7101,7 @@
7073
7101
  textTransform: sectionproperties.total_texttransform,
7074
7102
  color: sectionproperties.total_color
7075
7103
  }
7076
- }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].totalorderprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), /*#__PURE__*/React__default["default"].createElement("div", {
7104
+ }, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', fetchorderhistoryQueryContext.data.data.ordershistory[orderindex].totalorderprice, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.showpayemntsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
7077
7105
  className: "row m-0 w-100 mb-3",
7078
7106
  style: {
7079
7107
  background: sectionproperties.payment_sectionbgcolor,
@@ -36196,7 +36224,7 @@
36196
36224
  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
36225
  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
36226
  var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props) {
36199
- var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2;
36227
+ var _authdetailsContext$i, _logoarrayofobjects$, _logoarrayofobjects$2, _fetchcustomercartQue, _fetchcustomercartQue2, _fetchcustomercartQue3, _authdetailsContext$i2, _authdetailsContext$i3;
36200
36228
  var _useState = React.useState(''),
36201
36229
  _useState2 = _slicedToArray__default["default"](_useState, 2),
36202
36230
  sectionproperties = _useState2[0],
@@ -36871,7 +36899,7 @@
36871
36899
  }
36872
36900
  }))));
36873
36901
  }
36874
- }), /*#__PURE__*/React__default["default"].createElement("div", {
36902
+ }), 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
36903
  "class": ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '
36876
36904
  }, /*#__PURE__*/React__default["default"].createElement("div", {
36877
36905
  "class": "row m-0 w-100"
@@ -36895,7 +36923,7 @@
36895
36923
  background: '#f4f4f4',
36896
36924
  borderRadius: 5
36897
36925
  }
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) {
36926
+ }, 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
36927
  return /*#__PURE__*/React__default["default"].createElement("div", {
36900
36928
  "class": header_cssstyles.navbarItem + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer ',
36901
36929
  onClick: function onClick() {
@@ -38069,7 +38097,7 @@
38069
38097
  return /*#__PURE__*/React__default["default"].createElement("div", {
38070
38098
  "class": "row m-0 w-100 d-flex justify-content-center"
38071
38099
  }, /*#__PURE__*/React__default["default"].createElement("footer", {
38072
- "class": "".concat(footerStyles.footerContainer)
38100
+ "class": "".concat(footerStyles.footerContainer) + ' pl-md-2 pr-md-2 '
38073
38101
  }, /*#__PURE__*/React__default["default"].createElement("div", {
38074
38102
  "class": "row w-100 m-0 d-flex justify-content-center"
38075
38103
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -41697,7 +41725,7 @@
41697
41725
  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
41726
  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
41727
  var Newsletterfooter = function Newsletterfooter(props) {
41700
- var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i16;
41728
+ var _footerStyles, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i16;
41701
41729
  var _useState = React.useState(''),
41702
41730
  _useState2 = _slicedToArray__default["default"](_useState, 2),
41703
41731
  sectionproperties = _useState2[0],
@@ -41737,7 +41765,7 @@
41737
41765
  });
41738
41766
  return policyobj;
41739
41767
  };
41740
- var footerStyles = {
41768
+ var footerStyles = (_footerStyles = {
41741
41769
  payimgcont: glamor.css({
41742
41770
  marginLeft: '10px',
41743
41771
  marginRight: '10px'
@@ -41849,7 +41877,19 @@
41849
41877
  color: sectionproperties.prodCatColor,
41850
41878
  fontWeight: sectionproperties.prodCatFontWeight
41851
41879
  })
41852
- };
41880
+ }, _defineProperty__default["default"](_footerStyles, "apptore", glamor.css({
41881
+ width: '35%',
41882
+ objectFit: 'contain',
41883
+ '@media (max-width: 800px)': {
41884
+ width: '30%'
41885
+ }
41886
+ })), _defineProperty__default["default"](_footerStyles, "googleplay", glamor.css({
41887
+ width: '35%',
41888
+ objectFit: 'contain',
41889
+ '@media (max-width: 800px)': {
41890
+ width: '30%'
41891
+ }
41892
+ })), _footerStyles);
41853
41893
  React.useEffect(function () {
41854
41894
  if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
41855
41895
  var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
@@ -42152,6 +42192,31 @@
42152
42192
  }
42153
42193
  }, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
42154
42194
  size: sectionproperties.youtubebtniconfontsize
42195
+ }))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42196
+ "class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
42197
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
42198
+ "class": "col-lg-12 p-0"
42199
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
42200
+ "class": "".concat(footerStyles.sectionTitle) + ' m-0 p-0 mb-2 mb-md-0 wordbreak mb-md-2 ',
42201
+ style: {
42202
+ textAlign: langdetect == 'en' ? 'left' : 'right'
42203
+ }
42204
+ }, langdetect == 'en' ? 'Download Our App' : 'حمل التطبيق')), /*#__PURE__*/React__default["default"].createElement("div", {
42205
+ "class": "col-lg-12 d-flex align-items-center justify-content-start p-sm-0"
42206
+ }, /*#__PURE__*/React__default["default"].createElement("img", {
42207
+ "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 ',
42208
+ src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
42209
+ onClick: function onClick() {
42210
+ var _authdetailsContext$i19;
42211
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.mobileapplink_appstore, '_blank');
42212
+ }
42213
+ }), /*#__PURE__*/React__default["default"].createElement("img", {
42214
+ "class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
42215
+ src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
42216
+ onClick: function onClick() {
42217
+ var _authdetailsContext$i20;
42218
+ window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.mobileapplink_playstore, '_blank');
42219
+ }
42155
42220
  })))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
42156
42221
  "class": "col-lg-12 p-0 d-block my-3"
42157
42222
  }, /*#__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.372",
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",