tabexseriescomponents 0.0.280 → 0.0.282

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
@@ -1583,7 +1583,7 @@ var ProductExtraFields = function ProductExtraFields(props) {
1583
1583
  function ownKeys$23(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1584
1584
  function _objectSpread$23(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$23(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$23(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1585
1585
  var Product_itemtype = function Product_itemtype(props) {
1586
- var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45;
1586
+ var _fetchProductInfoQuer, _fetchProductInfoQuer2, _fetchProductInfoQuer3, _fetchProductInfoQuer4, _fetchProductInfoQuer5, _fetchProductInfoQuer6, _fetchProductInfoQuer7, _fetchProductInfoQuer8, _fetchProductInfoQuer9, _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer16, _fetchProductInfoQuer17, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer20, _fetchProductInfoQuer21, _fetchProductInfoQuer22, _fetchProductInfoQuer23, _fetchProductInfoQuer24, _fetchProductInfoQuer25, _fetchProductInfoQuer26, _fetchProductInfoQuer27, _fetchProductInfoQuer28, _fetchProductInfoQuer29, _fetchProductInfoQuer30, _fetchProductInfoQuer31, _ProductInfoObj$data, _ProductInfoObj$data$, _ProductInfoObj$data$2, _fetchProductInfoQuer32, _fetchProductInfoQuer33, _fetchProductInfoQuer34, _fetchProductInfoQuer35, _fetchProductInfoQuer36, _fetchProductInfoQuer37, _fetchProductInfoQuer38, _fetchProductInfoQuer39, _fetchProductInfoQuer40, _fetchProductInfoQuer41, _fetchProductInfoQuer42, _fetchProductInfoQuer43, _fetchProductInfoQuer44, _fetchProductInfoQuer45, _fetchProductInfoQuer46, _fetchProductInfoQuer47, _fetchProductInfoQuer48, _fetchProductInfoQuer49, _fetchProductInfoQuer50, _fetchProductInfoQuer51, _fetchProductInfoQuer52;
1587
1587
  var lang = props.actions.lang;
1588
1588
  var langdetect = props.actions.langdetect;
1589
1589
  var srcfromprops = props.actions.srcfromprops;
@@ -1679,7 +1679,7 @@ var Product_itemtype = function Product_itemtype(props) {
1679
1679
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1680
1680
  className: "col-xl-5 col-lg-4 col-md-12 col-sm-12 mb-md-3 pb-md-4 pl-1 pr-1"
1681
1681
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1682
- className: "col-lg-12 p-0 ",
1682
+ className: sectionproperties.maximizegalleryfullscreen == 'Yes' ? 'col-lg-12 p-0 maximize' : 'col-lg-12 p-0',
1683
1683
  style: {
1684
1684
  width: '100%',
1685
1685
  height: 'auto'
@@ -1739,8 +1739,19 @@ var Product_itemtype = function Product_itemtype(props) {
1739
1739
  }
1740
1740
  }),
1741
1741
  activeColor: "#ffd700"
1742
- })), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
1743
- "class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
1742
+ })), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer10 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer10 === void 0 ? void 0 : (_fetchProductInfoQuer11 = _fetchProductInfoQuer10.data) === null || _fetchProductInfoQuer11 === void 0 ? void 0 : (_fetchProductInfoQuer12 = _fetchProductInfoQuer11.productinfo) === null || _fetchProductInfoQuer12 === void 0 ? void 0 : _fetchProductInfoQuer12.vendorinfo) != null && sectionproperties.showvendor == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
1743
+ "class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
1744
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
1745
+ "class": "m-0 p-0",
1746
+ style: {
1747
+ color: '#000'
1748
+ }
1749
+ }, langdetect == 'en' ? 'Seller' : 'البائع', ":", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
1750
+ style: {
1751
+ fontWeight: 600
1752
+ }
1753
+ }, fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : (_fetchProductInfoQuer14 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : (_fetchProductInfoQuer15 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : (_fetchProductInfoQuer16 = _fetchProductInfoQuer15.vendorinfo) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : _fetchProductInfoQuer16.vendorname))), sectionproperties.showSKU == 'Show' && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
1754
+ "class": sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer17 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : (_fetchProductInfoQuer18 = _fetchProductInfoQuer17.data) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : (_fetchProductInfoQuer19 = _fetchProductInfoQuer18.productinfo) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : _fetchProductInfoQuer19.deliverydatetext) != null ? 'col-lg-12 p-0 mb-2 d-flex justify-content-start' : 'col-lg-12 p-0 mb-3 d-flex justify-content-start'
1744
1755
  }, /*#__PURE__*/React__default["default"].createElement("p", {
1745
1756
  "class": "m-0 p-0 d-flex justify-content-start"
1746
1757
  }, /*#__PURE__*/React__default["default"].createElement("span", {
@@ -1758,7 +1769,7 @@ var Product_itemtype = function Product_itemtype(props) {
1758
1769
  fontSize: sectionproperties.skuFontSize + 'px',
1759
1770
  textAlign: langdetect == 'en' ? 'left' : 'right'
1760
1771
  }
1761
- }, fetchProductInfoQueryContext.data.data.productinfo.sku))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer13 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer13 === void 0 ? void 0 : (_fetchProductInfoQuer14 = _fetchProductInfoQuer13.data) === null || _fetchProductInfoQuer14 === void 0 ? void 0 : (_fetchProductInfoQuer15 = _fetchProductInfoQuer14.productinfo) === null || _fetchProductInfoQuer15 === void 0 ? void 0 : _fetchProductInfoQuer15.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
1772
+ }, fetchProductInfoQueryContext.data.data.productinfo.sku))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer20 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : (_fetchProductInfoQuer21 = _fetchProductInfoQuer20.data) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : (_fetchProductInfoQuer22 = _fetchProductInfoQuer21.productinfo) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : _fetchProductInfoQuer22.deliverydatetext) != null && /*#__PURE__*/React__default["default"].createElement("div", {
1762
1773
  "class": "mb-4 col-lg-12",
1763
1774
  style: {
1764
1775
  width: '100%',
@@ -1778,9 +1789,9 @@ var Product_itemtype = function Product_itemtype(props) {
1778
1789
  style: {
1779
1790
  textAlign: langdetect == 'en' ? 'left' : 'right'
1780
1791
  }
1781
- }, langdetect == 'en' ? 'Delivery Time' : 'مدة الشحن', ": ", fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer16 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer16 === void 0 ? void 0 : (_fetchProductInfoQuer17 = _fetchProductInfoQuer16.data) === null || _fetchProductInfoQuer17 === void 0 ? void 0 : (_fetchProductInfoQuer18 = _fetchProductInfoQuer17.productinfo) === null || _fetchProductInfoQuer18 === void 0 ? void 0 : _fetchProductInfoQuer18.deliverydatetext)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer19 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer19 === void 0 ? void 0 : (_fetchProductInfoQuer20 = _fetchProductInfoQuer19.data) === null || _fetchProductInfoQuer20 === void 0 ? void 0 : (_fetchProductInfoQuer21 = _fetchProductInfoQuer20.productinfo) === null || _fetchProductInfoQuer21 === void 0 ? void 0 : _fetchProductInfoQuer21.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
1792
+ }, langdetect == 'en' ? 'Delivery Time' : 'مدة الشحن', ": ", fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer23 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : (_fetchProductInfoQuer24 = _fetchProductInfoQuer23.data) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : (_fetchProductInfoQuer25 = _fetchProductInfoQuer24.productinfo) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : _fetchProductInfoQuer25.deliverydatetext)), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer26 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : (_fetchProductInfoQuer27 = _fetchProductInfoQuer26.data) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : (_fetchProductInfoQuer28 = _fetchProductInfoQuer27.productinfo) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : _fetchProductInfoQuer28.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement(ProductHeaderPricing, {
1782
1793
  actions: props.actions
1783
- }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer22 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer22 === void 0 ? void 0 : (_fetchProductInfoQuer23 = _fetchProductInfoQuer22.data) === null || _fetchProductInfoQuer23 === void 0 ? void 0 : (_fetchProductInfoQuer24 = _fetchProductInfoQuer23.productinfo) === null || _fetchProductInfoQuer24 === void 0 ? void 0 : _fetchProductInfoQuer24.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
1794
+ }), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer29 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : (_fetchProductInfoQuer30 = _fetchProductInfoQuer29.data) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : (_fetchProductInfoQuer31 = _fetchProductInfoQuer30.productinfo) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : _fetchProductInfoQuer31.hasvariants) == 1 && sectionproperties.productInformationType == 'Profile' && /*#__PURE__*/React__default["default"].createElement("div", {
1784
1795
  className: "row m-0 w-100 d-flex align-items-start"
1785
1796
  }, ProductInfoObj === null || ProductInfoObj === void 0 ? void 0 : (_ProductInfoObj$data = ProductInfoObj.data) === null || _ProductInfoObj$data === void 0 ? void 0 : (_ProductInfoObj$data$ = _ProductInfoObj$data.productinfo) === null || _ProductInfoObj$data$ === void 0 ? void 0 : (_ProductInfoObj$data$2 = _ProductInfoObj$data$.productoptions) === null || _ProductInfoObj$data$2 === void 0 ? void 0 : _ProductInfoObj$data$2.map(function (item, index) {
1786
1797
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -1855,7 +1866,7 @@ var Product_itemtype = function Product_itemtype(props) {
1855
1866
  }
1856
1867
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1857
1868
  className: "row m-0 w-100 d-flex align-items-center"
1858
- }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer25 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer25 === void 0 ? void 0 : (_fetchProductInfoQuer26 = _fetchProductInfoQuer25.data) === null || _fetchProductInfoQuer26 === void 0 ? void 0 : (_fetchProductInfoQuer27 = _fetchProductInfoQuer26.productinfo) === null || _fetchProductInfoQuer27 === void 0 ? void 0 : _fetchProductInfoQuer27.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer28 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer28 === void 0 ? void 0 : (_fetchProductInfoQuer29 = _fetchProductInfoQuer28.data) === null || _fetchProductInfoQuer29 === void 0 ? void 0 : (_fetchProductInfoQuer30 = _fetchProductInfoQuer29.productinfo) === null || _fetchProductInfoQuer30 === void 0 ? void 0 : _fetchProductInfoQuer30.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
1869
+ }, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer32 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : (_fetchProductInfoQuer33 = _fetchProductInfoQuer32.data) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : (_fetchProductInfoQuer34 = _fetchProductInfoQuer33.productinfo) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : _fetchProductInfoQuer34.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer35 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : (_fetchProductInfoQuer36 = _fetchProductInfoQuer35.data) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : (_fetchProductInfoQuer37 = _fetchProductInfoQuer36.productinfo) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : _fetchProductInfoQuer37.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
1859
1870
  className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
1860
1871
  }, /*#__PURE__*/React__default["default"].createElement("p", {
1861
1872
  className: "m-0 p-0",
@@ -1865,7 +1876,7 @@ var Product_itemtype = function Product_itemtype(props) {
1865
1876
  textTransform: sectionproperties.generaltext_textTransform,
1866
1877
  fontWeight: sectionproperties.generaltext_fontWeight
1867
1878
  }
1868
- }, lang.quantity, ":")), sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer31 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer31 === void 0 ? void 0 : (_fetchProductInfoQuer32 = _fetchProductInfoQuer31.data) === null || _fetchProductInfoQuer32 === void 0 ? void 0 : (_fetchProductInfoQuer33 = _fetchProductInfoQuer32.productinfo) === null || _fetchProductInfoQuer33 === void 0 ? void 0 : _fetchProductInfoQuer33.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer34 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer34 === void 0 ? void 0 : (_fetchProductInfoQuer35 = _fetchProductInfoQuer34.data) === null || _fetchProductInfoQuer35 === void 0 ? void 0 : (_fetchProductInfoQuer36 = _fetchProductInfoQuer35.productinfo) === null || _fetchProductInfoQuer36 === void 0 ? void 0 : _fetchProductInfoQuer36.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
1879
+ }, lang.quantity, ":")), sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer38 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : (_fetchProductInfoQuer39 = _fetchProductInfoQuer38.data) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : (_fetchProductInfoQuer40 = _fetchProductInfoQuer39.productinfo) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : _fetchProductInfoQuer40.isproducttobesold) == 1 && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer41 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : (_fetchProductInfoQuer42 = _fetchProductInfoQuer41.data) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : (_fetchProductInfoQuer43 = _fetchProductInfoQuer42.productinfo) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : _fetchProductInfoQuer43.isproducthasquantitychange) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
1869
1880
  className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
1870
1881
  style: {
1871
1882
  height: sectionproperties.quantitybtn_height + 'px',
@@ -1901,7 +1912,7 @@ var Product_itemtype = function Product_itemtype(props) {
1901
1912
  style: {
1902
1913
  fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px'
1903
1914
  }
1904
- }))), sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer37 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer37 === void 0 ? void 0 : (_fetchProductInfoQuer38 = _fetchProductInfoQuer37.data) === null || _fetchProductInfoQuer38 === void 0 ? void 0 : (_fetchProductInfoQuer39 = _fetchProductInfoQuer38.productinfo) === null || _fetchProductInfoQuer39 === void 0 ? void 0 : _fetchProductInfoQuer39.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
1915
+ }))), sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer44 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : (_fetchProductInfoQuer45 = _fetchProductInfoQuer44.data) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : (_fetchProductInfoQuer46 = _fetchProductInfoQuer45.productinfo) === null || _fetchProductInfoQuer46 === void 0 ? void 0 : _fetchProductInfoQuer46.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("button", {
1905
1916
  className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
1906
1917
  onClick: function onClick() {
1907
1918
  if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
@@ -1967,7 +1978,7 @@ var Product_itemtype = function Product_itemtype(props) {
1967
1978
  size: sectionproperties.favBtnIconfontsize
1968
1979
  }), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
1969
1980
  size: sectionproperties.favBtnIconfontsize
1970
- })))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer40 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer40 === void 0 ? void 0 : (_fetchProductInfoQuer41 = _fetchProductInfoQuer40.data) === null || _fetchProductInfoQuer41 === void 0 ? void 0 : (_fetchProductInfoQuer42 = _fetchProductInfoQuer41.productinfo) === null || _fetchProductInfoQuer42 === void 0 ? void 0 : _fetchProductInfoQuer42.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
1981
+ })))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer47 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer47 === void 0 ? void 0 : (_fetchProductInfoQuer48 = _fetchProductInfoQuer47.data) === null || _fetchProductInfoQuer48 === void 0 ? void 0 : (_fetchProductInfoQuer49 = _fetchProductInfoQuer48.productinfo) === null || _fetchProductInfoQuer49 === void 0 ? void 0 : _fetchProductInfoQuer49.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
1971
1982
  className: "col-lg-12 p-0 mb-3"
1972
1983
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1973
1984
  className: "row m-0 w-100 d-flex flex-row"
@@ -2004,7 +2015,7 @@ var Product_itemtype = function Product_itemtype(props) {
2004
2015
  style: {
2005
2016
  textDecoration: 'none'
2006
2017
  }
2007
- }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer43 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer43 === void 0 ? void 0 : (_fetchProductInfoQuer44 = _fetchProductInfoQuer43.data) === null || _fetchProductInfoQuer44 === void 0 ? void 0 : (_fetchProductInfoQuer45 = _fetchProductInfoQuer44.productinfo) === null || _fetchProductInfoQuer45 === void 0 ? void 0 : _fetchProductInfoQuer45.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2018
+ }, "-"), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(getprice_discountpriceprops('defaultprice', 1, variantindexcompleted)), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))))), sectionproperties.show_availability == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (_fetchProductInfoQuer50 = fetchProductInfoQueryContext.data) === null || _fetchProductInfoQuer50 === void 0 ? void 0 : (_fetchProductInfoQuer51 = _fetchProductInfoQuer50.data) === null || _fetchProductInfoQuer51 === void 0 ? void 0 : (_fetchProductInfoQuer52 = _fetchProductInfoQuer51.productinfo) === null || _fetchProductInfoQuer52 === void 0 ? void 0 : _fetchProductInfoQuer52.isproducttobesold) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
2008
2019
  className: "col-lg-12 p-0 mb-3 mt-2"
2009
2020
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2010
2021
  style: {
@@ -10980,7 +10991,7 @@ var Select = /*#__PURE__*/React__default["default"].lazy(function () {
10980
10991
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
10981
10992
  });
10982
10993
  var Filter$1 = function Filter(props) {
10983
- var _authdetailsContext$i, _fetchTabexCountriesQ, _fetchTabexCountriesQ2, _fetchTabexStatesQuer, _fetchTabexStatesQuer2, _fetchTabexStatesQuer3, _fetchTabexStatesQuer4, _fetchTabexCitiesQuer, _fetchTabexCitiesQuer2, _fetchTabexCitiesQuer3, _fetchTabexCitiesQuer4;
10994
+ var _authdetailsContext$i;
10984
10995
  var lang = props.actions.lang;
10985
10996
  var langdetect = props.actions.langdetect;
10986
10997
  props.actions.productfiltercontext;
@@ -11557,6 +11568,144 @@ var Filter$1 = function Filter(props) {
11557
11568
  routingcountext(StaticPagesLinksContext[pagenamepathinstaticpagelinkcont], true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
11558
11569
  }
11559
11570
  };
11571
+ var Countriesfilter = function Countriesfilter() {
11572
+ var _fetchTabexCountriesQ, _fetchTabexCountriesQ2, _fetchTabexStatesQuer, _fetchTabexStatesQuer2, _fetchTabexStatesQuer3, _fetchTabexStatesQuer4, _fetchTabexCitiesQuer, _fetchTabexCitiesQuer2, _fetchTabexCitiesQuer3, _fetchTabexCitiesQuer4;
11573
+ return /*#__PURE__*/React__default["default"].createElement("div", {
11574
+ "class": "row m-0 w-100 pl-md-3 pr-md-3"
11575
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
11576
+ "class": "col-lg-12 p-0 mt-3"
11577
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
11578
+ "class": "row m-0 w-100"
11579
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
11580
+ "class": "col-lg-12 p-0 mb-3"
11581
+ }, (fetchTabexCountriesQueryContext === null || fetchTabexCountriesQueryContext === void 0 ? void 0 : fetchTabexCountriesQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement("div", {
11582
+ className: "w-100 allcentered mt-1"
11583
+ }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
11584
+ color: "#000",
11585
+ width: "20px",
11586
+ height: "20px",
11587
+ duration: "1s"
11588
+ })), !(fetchTabexCountriesQueryContext !== null && fetchTabexCountriesQueryContext !== void 0 && fetchTabexCountriesQueryContext.isFetching) && (fetchTabexCountriesQueryContext === null || fetchTabexCountriesQueryContext === void 0 ? void 0 : fetchTabexCountriesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement(Select, {
11589
+ options: fetchTabexCountriesQueryContext === null || fetchTabexCountriesQueryContext === void 0 ? void 0 : (_fetchTabexCountriesQ = fetchTabexCountriesQueryContext.data) === null || _fetchTabexCountriesQ === void 0 ? void 0 : (_fetchTabexCountriesQ2 = _fetchTabexCountriesQ.data) === null || _fetchTabexCountriesQ2 === void 0 ? void 0 : _fetchTabexCountriesQ2.countries,
11590
+ getOptionLabel: function getOptionLabel(option) {
11591
+ var crname = '';
11592
+ if (langdetect == 'en') {
11593
+ crname = option.name;
11594
+ } else if (langdetect == 'ar') {
11595
+ if (option.name_ar != null) {
11596
+ crname = option.name_ar;
11597
+ } else {
11598
+ crname = option.name;
11599
+ }
11600
+ }
11601
+ return crname;
11602
+ },
11603
+ getOptionValue: function getOptionValue(option) {
11604
+ return option.id;
11605
+ },
11606
+ value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
11607
+ return option.id == ProductFilterObjContext.countryid;
11608
+ }),
11609
+ onChange: function onChange(option) {
11610
+ var tempFetchTabexStatesPayloadobjContext = _objectSpread$1N({}, FetchTabexStatesPayloadobjContext);
11611
+ tempFetchTabexStatesPayloadobjContext.functype = 'states';
11612
+ tempFetchTabexStatesPayloadobjContext.country_id = option.id;
11613
+ setFetchTabexStatesPayloadobjContext(_objectSpread$1N({}, tempFetchTabexStatesPayloadobjContext));
11614
+ var tempfetchproductsfilerobjcontext = _objectSpread$1N({}, ProductFilterObjContext);
11615
+ tempfetchproductsfilerobjcontext.countryid = option.id;
11616
+ tempfetchproductsfilerobjcontext.page = 0;
11617
+ setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
11618
+ filterrouting(tempfetchproductsfilerobjcontext);
11619
+ },
11620
+ styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
11621
+ placeholder: lang.choosecountry,
11622
+ isSearchable: true
11623
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
11624
+ "class": "col-lg-12 mb-3 p-0"
11625
+ }, (fetchTabexStatesQueryContext === null || fetchTabexStatesQueryContext === void 0 ? void 0 : fetchTabexStatesQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement("div", {
11626
+ className: "w-100 allcentered mt-1"
11627
+ }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
11628
+ color: "#000",
11629
+ width: "20px",
11630
+ height: "20px",
11631
+ duration: "1s"
11632
+ })), !(fetchTabexStatesQueryContext !== null && fetchTabexStatesQueryContext !== void 0 && fetchTabexStatesQueryContext.isFetching) && (fetchTabexStatesQueryContext === null || fetchTabexStatesQueryContext === void 0 ? void 0 : fetchTabexStatesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement(Select, {
11633
+ options: fetchTabexStatesQueryContext === null || fetchTabexStatesQueryContext === void 0 ? void 0 : (_fetchTabexStatesQuer = fetchTabexStatesQueryContext.data) === null || _fetchTabexStatesQuer === void 0 ? void 0 : (_fetchTabexStatesQuer2 = _fetchTabexStatesQuer.data) === null || _fetchTabexStatesQuer2 === void 0 ? void 0 : _fetchTabexStatesQuer2.states,
11634
+ getOptionLabel: function getOptionLabel(option) {
11635
+ var crname = '';
11636
+ if (langdetect == 'en') {
11637
+ crname = option.name;
11638
+ } else if (langdetect == 'ar') {
11639
+ if (option.name_ar != null) {
11640
+ crname = option.name_ar;
11641
+ } else {
11642
+ crname = option.name;
11643
+ }
11644
+ }
11645
+ return crname;
11646
+ },
11647
+ getOptionValue: function getOptionValue(option) {
11648
+ return option.id;
11649
+ },
11650
+ value: fetchTabexStatesQueryContext === null || fetchTabexStatesQueryContext === void 0 ? void 0 : (_fetchTabexStatesQuer3 = fetchTabexStatesQueryContext.data) === null || _fetchTabexStatesQuer3 === void 0 ? void 0 : (_fetchTabexStatesQuer4 = _fetchTabexStatesQuer3.data) === null || _fetchTabexStatesQuer4 === void 0 ? void 0 : _fetchTabexStatesQuer4.states.filter(function (option) {
11651
+ return option.id == ProductFilterObjContext.stateid;
11652
+ }),
11653
+ onChange: function onChange(option) {
11654
+ var tempFetchTabexStatesPayloadobjContext = _objectSpread$1N({}, FetchTabexStatesPayloadobjContext);
11655
+ tempFetchTabexStatesPayloadobjContext.functype = 'cities';
11656
+ tempFetchTabexStatesPayloadobjContext.state_id = option.id;
11657
+ setFetchTabexStatesPayloadobjContext(_objectSpread$1N({}, tempFetchTabexStatesPayloadobjContext));
11658
+ var tempfetchproductsfilerobjcontext = _objectSpread$1N({}, ProductFilterObjContext);
11659
+ tempfetchproductsfilerobjcontext.stateid = option.id;
11660
+ tempfetchproductsfilerobjcontext.page = 0;
11661
+ setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
11662
+ filterrouting(tempfetchproductsfilerobjcontext);
11663
+ },
11664
+ styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
11665
+ placeholder: lang.choosestategov,
11666
+ isSearchable: true
11667
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
11668
+ "class": "col-lg-12 mb-3 p-0"
11669
+ }, (fetchTabexCitiesQueryContext === null || fetchTabexCitiesQueryContext === void 0 ? void 0 : fetchTabexCitiesQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement("div", {
11670
+ className: "w-100 allcentered mt-1"
11671
+ }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
11672
+ color: "#000",
11673
+ width: "20px",
11674
+ height: "20px",
11675
+ duration: "1s"
11676
+ })), !(fetchTabexCitiesQueryContext !== null && fetchTabexCitiesQueryContext !== void 0 && fetchTabexCitiesQueryContext.isFetching) && (fetchTabexCitiesQueryContext === null || fetchTabexCitiesQueryContext === void 0 ? void 0 : fetchTabexCitiesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement(Select, {
11677
+ options: fetchTabexCitiesQueryContext === null || fetchTabexCitiesQueryContext === void 0 ? void 0 : (_fetchTabexCitiesQuer = fetchTabexCitiesQueryContext.data) === null || _fetchTabexCitiesQuer === void 0 ? void 0 : (_fetchTabexCitiesQuer2 = _fetchTabexCitiesQuer.data) === null || _fetchTabexCitiesQuer2 === void 0 ? void 0 : _fetchTabexCitiesQuer2.cities,
11678
+ getOptionLabel: function getOptionLabel(option) {
11679
+ var crname = '';
11680
+ if (langdetect == 'en') {
11681
+ crname = option.name;
11682
+ } else if (langdetect == 'ar') {
11683
+ if (option.name_ar != null) {
11684
+ crname = option.name_ar;
11685
+ } else {
11686
+ crname = option.name;
11687
+ }
11688
+ }
11689
+ return crname;
11690
+ },
11691
+ getOptionValue: function getOptionValue(option) {
11692
+ return option.id;
11693
+ },
11694
+ value: fetchTabexCitiesQueryContext === null || fetchTabexCitiesQueryContext === void 0 ? void 0 : (_fetchTabexCitiesQuer3 = fetchTabexCitiesQueryContext.data) === null || _fetchTabexCitiesQuer3 === void 0 ? void 0 : (_fetchTabexCitiesQuer4 = _fetchTabexCitiesQuer3.data) === null || _fetchTabexCitiesQuer4 === void 0 ? void 0 : _fetchTabexCitiesQuer4.cities.filter(function (option) {
11695
+ return option.id == ProductFilterObjContext.cityid;
11696
+ }),
11697
+ onChange: function onChange(option) {
11698
+ var tempfetchproductsfilerobjcontext = _objectSpread$1N({}, ProductFilterObjContext);
11699
+ tempfetchproductsfilerobjcontext.cityid = option.id;
11700
+ tempfetchproductsfilerobjcontext.page = 0;
11701
+ setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
11702
+ filterrouting(tempfetchproductsfilerobjcontext);
11703
+ },
11704
+ styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
11705
+ placeholder: lang.choosecity,
11706
+ isSearchable: true
11707
+ })))));
11708
+ };
11560
11709
  return /*#__PURE__*/React__default["default"].createElement("div", {
11561
11710
  className: sectionproperties.filterdirection == 'Horizontal' ? 'col-lg-12 p-0 w-100 filter mt-md-0 ' : 'col-lg-12 p-0 w-100 filter mt-md-0 d-md-none',
11562
11711
  style: {
@@ -11783,141 +11932,7 @@ var Filter$1 = function Filter(props) {
11783
11932
  className: "mt-2 mb-3"
11784
11933
  })), /*#__PURE__*/React__default["default"].createElement("div", {
11785
11934
  className: filter_cssstyles.filteraccordion + ' col-lg-12 filter-accordion p-md-0 pl-4 pr-4 '
11786
- }, sectionproperties.showcountriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
11787
- "class": "row m-0 w-100"
11788
- }, /*#__PURE__*/React__default["default"].createElement("div", {
11789
- "class": "col-lg-12 p-0 mt-3"
11790
- }, /*#__PURE__*/React__default["default"].createElement("div", {
11791
- "class": "row m-0 w-100"
11792
- }, /*#__PURE__*/React__default["default"].createElement("div", {
11793
- "class": "col-lg-12 p-0 mb-3"
11794
- }, (fetchTabexCountriesQueryContext === null || fetchTabexCountriesQueryContext === void 0 ? void 0 : fetchTabexCountriesQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement("div", {
11795
- className: "w-100 allcentered mt-1"
11796
- }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
11797
- color: "#000",
11798
- width: "20px",
11799
- height: "20px",
11800
- duration: "1s"
11801
- })), !(fetchTabexCountriesQueryContext !== null && fetchTabexCountriesQueryContext !== void 0 && fetchTabexCountriesQueryContext.isFetching) && (fetchTabexCountriesQueryContext === null || fetchTabexCountriesQueryContext === void 0 ? void 0 : fetchTabexCountriesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement(Select, {
11802
- options: fetchTabexCountriesQueryContext === null || fetchTabexCountriesQueryContext === void 0 ? void 0 : (_fetchTabexCountriesQ = fetchTabexCountriesQueryContext.data) === null || _fetchTabexCountriesQ === void 0 ? void 0 : (_fetchTabexCountriesQ2 = _fetchTabexCountriesQ.data) === null || _fetchTabexCountriesQ2 === void 0 ? void 0 : _fetchTabexCountriesQ2.countries,
11803
- getOptionLabel: function getOptionLabel(option) {
11804
- var crname = '';
11805
- if (langdetect == 'en') {
11806
- crname = option.name;
11807
- } else if (langdetect == 'ar') {
11808
- if (option.name_ar != null) {
11809
- crname = option.name_ar;
11810
- } else {
11811
- crname = option.name;
11812
- }
11813
- }
11814
- return crname;
11815
- },
11816
- getOptionValue: function getOptionValue(option) {
11817
- return option.id;
11818
- },
11819
- value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
11820
- return option.id == ProductFilterObjContext.countryid;
11821
- }),
11822
- onChange: function onChange(option) {
11823
- var tempFetchTabexStatesPayloadobjContext = _objectSpread$1N({}, FetchTabexStatesPayloadobjContext);
11824
- tempFetchTabexStatesPayloadobjContext.functype = 'states';
11825
- tempFetchTabexStatesPayloadobjContext.country_id = option.id;
11826
- setFetchTabexStatesPayloadobjContext(_objectSpread$1N({}, tempFetchTabexStatesPayloadobjContext));
11827
- var tempfetchproductsfilerobjcontext = _objectSpread$1N({}, ProductFilterObjContext);
11828
- tempfetchproductsfilerobjcontext.countryid = option.id;
11829
- tempfetchproductsfilerobjcontext.page = 0;
11830
- setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
11831
- filterrouting(tempfetchproductsfilerobjcontext);
11832
- },
11833
- styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
11834
- placeholder: lang.choosecountry,
11835
- isSearchable: true
11836
- })), /*#__PURE__*/React__default["default"].createElement("div", {
11837
- "class": "col-lg-12 mb-3 p-0"
11838
- }, (fetchTabexStatesQueryContext === null || fetchTabexStatesQueryContext === void 0 ? void 0 : fetchTabexStatesQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement("div", {
11839
- className: "w-100 allcentered mt-1"
11840
- }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
11841
- color: "#000",
11842
- width: "20px",
11843
- height: "20px",
11844
- duration: "1s"
11845
- })), !(fetchTabexStatesQueryContext !== null && fetchTabexStatesQueryContext !== void 0 && fetchTabexStatesQueryContext.isFetching) && (fetchTabexStatesQueryContext === null || fetchTabexStatesQueryContext === void 0 ? void 0 : fetchTabexStatesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement(Select, {
11846
- options: fetchTabexStatesQueryContext === null || fetchTabexStatesQueryContext === void 0 ? void 0 : (_fetchTabexStatesQuer = fetchTabexStatesQueryContext.data) === null || _fetchTabexStatesQuer === void 0 ? void 0 : (_fetchTabexStatesQuer2 = _fetchTabexStatesQuer.data) === null || _fetchTabexStatesQuer2 === void 0 ? void 0 : _fetchTabexStatesQuer2.states,
11847
- getOptionLabel: function getOptionLabel(option) {
11848
- var crname = '';
11849
- if (langdetect == 'en') {
11850
- crname = option.name;
11851
- } else if (langdetect == 'ar') {
11852
- if (option.name_ar != null) {
11853
- crname = option.name_ar;
11854
- } else {
11855
- crname = option.name;
11856
- }
11857
- }
11858
- return crname;
11859
- },
11860
- getOptionValue: function getOptionValue(option) {
11861
- return option.id;
11862
- },
11863
- value: fetchTabexStatesQueryContext === null || fetchTabexStatesQueryContext === void 0 ? void 0 : (_fetchTabexStatesQuer3 = fetchTabexStatesQueryContext.data) === null || _fetchTabexStatesQuer3 === void 0 ? void 0 : (_fetchTabexStatesQuer4 = _fetchTabexStatesQuer3.data) === null || _fetchTabexStatesQuer4 === void 0 ? void 0 : _fetchTabexStatesQuer4.states.filter(function (option) {
11864
- return option.id == ProductFilterObjContext.stateid;
11865
- }),
11866
- onChange: function onChange(option) {
11867
- var tempFetchTabexStatesPayloadobjContext = _objectSpread$1N({}, FetchTabexStatesPayloadobjContext);
11868
- tempFetchTabexStatesPayloadobjContext.functype = 'cities';
11869
- tempFetchTabexStatesPayloadobjContext.state_id = option.id;
11870
- setFetchTabexStatesPayloadobjContext(_objectSpread$1N({}, tempFetchTabexStatesPayloadobjContext));
11871
- var tempfetchproductsfilerobjcontext = _objectSpread$1N({}, ProductFilterObjContext);
11872
- tempfetchproductsfilerobjcontext.stateid = option.id;
11873
- tempfetchproductsfilerobjcontext.page = 0;
11874
- setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
11875
- filterrouting(tempfetchproductsfilerobjcontext);
11876
- },
11877
- styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
11878
- placeholder: lang.choosestategov,
11879
- isSearchable: true
11880
- })), /*#__PURE__*/React__default["default"].createElement("div", {
11881
- "class": "col-lg-12 mb-3 p-0"
11882
- }, (fetchTabexCitiesQueryContext === null || fetchTabexCitiesQueryContext === void 0 ? void 0 : fetchTabexCitiesQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement("div", {
11883
- className: "w-100 allcentered mt-1"
11884
- }, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
11885
- color: "#000",
11886
- width: "20px",
11887
- height: "20px",
11888
- duration: "1s"
11889
- })), !(fetchTabexCitiesQueryContext !== null && fetchTabexCitiesQueryContext !== void 0 && fetchTabexCitiesQueryContext.isFetching) && (fetchTabexCitiesQueryContext === null || fetchTabexCitiesQueryContext === void 0 ? void 0 : fetchTabexCitiesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement(Select, {
11890
- options: fetchTabexCitiesQueryContext === null || fetchTabexCitiesQueryContext === void 0 ? void 0 : (_fetchTabexCitiesQuer = fetchTabexCitiesQueryContext.data) === null || _fetchTabexCitiesQuer === void 0 ? void 0 : (_fetchTabexCitiesQuer2 = _fetchTabexCitiesQuer.data) === null || _fetchTabexCitiesQuer2 === void 0 ? void 0 : _fetchTabexCitiesQuer2.cities,
11891
- getOptionLabel: function getOptionLabel(option) {
11892
- var crname = '';
11893
- if (langdetect == 'en') {
11894
- crname = option.name;
11895
- } else if (langdetect == 'ar') {
11896
- if (option.name_ar != null) {
11897
- crname = option.name_ar;
11898
- } else {
11899
- crname = option.name;
11900
- }
11901
- }
11902
- return crname;
11903
- },
11904
- getOptionValue: function getOptionValue(option) {
11905
- return option.id;
11906
- },
11907
- value: fetchTabexCitiesQueryContext === null || fetchTabexCitiesQueryContext === void 0 ? void 0 : (_fetchTabexCitiesQuer3 = fetchTabexCitiesQueryContext.data) === null || _fetchTabexCitiesQuer3 === void 0 ? void 0 : (_fetchTabexCitiesQuer4 = _fetchTabexCitiesQuer3.data) === null || _fetchTabexCitiesQuer4 === void 0 ? void 0 : _fetchTabexCitiesQuer4.cities.filter(function (option) {
11908
- return option.id == ProductFilterObjContext.cityid;
11909
- }),
11910
- onChange: function onChange(option) {
11911
- var tempfetchproductsfilerobjcontext = _objectSpread$1N({}, ProductFilterObjContext);
11912
- tempfetchproductsfilerobjcontext.cityid = option.id;
11913
- tempfetchproductsfilerobjcontext.page = 0;
11914
- setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
11915
- filterrouting(tempfetchproductsfilerobjcontext);
11916
- },
11917
- styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
11918
- placeholder: lang.choosecity,
11919
- isSearchable: true
11920
- }))))), sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
11935
+ }, sectionproperties.showcountriesfilter == 'Show' && Countriesfilter(), sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
11921
11936
  "class": "row m-0 w-100"
11922
11937
  }, CategoriesFilter()), sectionproperties.filterType == 'Collections' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
11923
11938
  "class": "row m-0 w-100"
@@ -12054,11 +12069,11 @@ var Filter$1 = function Filter(props) {
12054
12069
  className: "mt-2 mb-3"
12055
12070
  })), /*#__PURE__*/React__default["default"].createElement("div", {
12056
12071
  className: filter_cssstyles.filteraccordion + ' col-lg-12 filter-accordion p-md-0 '
12057
- }, sectionproperties.filterType == 'All' && /*#__PURE__*/React__default["default"].createElement("div", {
12072
+ }, sectionproperties.showcountriesfilter == 'Show' && Countriesfilter(), sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
12058
12073
  "class": "row m-0 w-100"
12059
- }, CategoriesFilter()), sectionproperties.filterType == 'Collections' && /*#__PURE__*/React__default["default"].createElement("div", {
12074
+ }, CategoriesFilter()), sectionproperties.filterType == 'Collections' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
12060
12075
  "class": "row m-0 w-100"
12061
- }, CollectionsFilter()), InstFilters())))))));
12076
+ }, CollectionsFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters())))))));
12062
12077
  };
12063
12078
 
12064
12079
  var serverbaselink$1 = 'https://tabex-co.com';