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 +166 -151
- package/dist/index.esm.js +166 -151
- package/dist/index.umd.js +166 -151
- package/package.json +1 -1
- package/srclibrary.zip +0 -0
package/dist/index.umd.js
CHANGED
|
@@ -1428,7 +1428,7 @@
|
|
|
1428
1428
|
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; }
|
|
1429
1429
|
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; }
|
|
1430
1430
|
var Product_itemtype = function Product_itemtype(props) {
|
|
1431
|
-
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,
|
|
1431
|
+
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;
|
|
1432
1432
|
var lang = props.actions.lang;
|
|
1433
1433
|
var langdetect = props.actions.langdetect;
|
|
1434
1434
|
var srcfromprops = props.actions.srcfromprops;
|
|
@@ -1524,7 +1524,7 @@
|
|
|
1524
1524
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1525
1525
|
className: "col-xl-5 col-lg-4 col-md-12 col-sm-12 mb-md-3 pb-md-4 pl-1 pr-1"
|
|
1526
1526
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1527
|
-
className:
|
|
1527
|
+
className: sectionproperties.maximizegalleryfullscreen == 'Yes' ? 'col-lg-12 p-0 maximize' : 'col-lg-12 p-0',
|
|
1528
1528
|
style: {
|
|
1529
1529
|
width: '100%',
|
|
1530
1530
|
height: 'auto'
|
|
@@ -1584,8 +1584,19 @@
|
|
|
1584
1584
|
}
|
|
1585
1585
|
}),
|
|
1586
1586
|
activeColor: "#ffd700"
|
|
1587
|
-
})),
|
|
1588
|
-
"class":
|
|
1587
|
+
})), (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", {
|
|
1588
|
+
"class": "col-lg-12 p-0 d-flex justify-content-start mt-2 mb-2"
|
|
1589
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1590
|
+
"class": "m-0 p-0",
|
|
1591
|
+
style: {
|
|
1592
|
+
color: '#000'
|
|
1593
|
+
}
|
|
1594
|
+
}, langdetect == 'en' ? 'Seller' : 'البائع', ":", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1595
|
+
style: {
|
|
1596
|
+
fontWeight: 600
|
|
1597
|
+
}
|
|
1598
|
+
}, 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", {
|
|
1599
|
+
"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'
|
|
1589
1600
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1590
1601
|
"class": "m-0 p-0 d-flex justify-content-start"
|
|
1591
1602
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
@@ -1603,7 +1614,7 @@
|
|
|
1603
1614
|
fontSize: sectionproperties.skuFontSize + 'px',
|
|
1604
1615
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
1605
1616
|
}
|
|
1606
|
-
}, fetchProductInfoQueryContext.data.data.productinfo.sku))), sectionproperties.deliverytimeshow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1617
|
+
}, 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", {
|
|
1607
1618
|
"class": "mb-4 col-lg-12",
|
|
1608
1619
|
style: {
|
|
1609
1620
|
width: '100%',
|
|
@@ -1623,9 +1634,9 @@
|
|
|
1623
1634
|
style: {
|
|
1624
1635
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
1625
1636
|
}
|
|
1626
|
-
}, langdetect == 'en' ? 'Delivery Time' : 'مدة الشحن', ": ", fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1637
|
+
}, 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, {
|
|
1627
1638
|
actions: props.actions
|
|
1628
|
-
}), (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1639
|
+
}), (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", {
|
|
1629
1640
|
className: "row m-0 w-100 d-flex align-items-start"
|
|
1630
1641
|
}, 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) {
|
|
1631
1642
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1700,7 +1711,7 @@
|
|
|
1700
1711
|
}
|
|
1701
1712
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1702
1713
|
className: "row m-0 w-100 d-flex align-items-center"
|
|
1703
|
-
}, (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1714
|
+
}, (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", {
|
|
1704
1715
|
className: "col-lg-12 p-0 mb-2 d-flex justofy-content-start"
|
|
1705
1716
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
1706
1717
|
className: "m-0 p-0",
|
|
@@ -1710,7 +1721,7 @@
|
|
|
1710
1721
|
textTransform: sectionproperties.generaltext_textTransform,
|
|
1711
1722
|
fontWeight: sectionproperties.generaltext_fontWeight
|
|
1712
1723
|
}
|
|
1713
|
-
}, lang.quantity, ":")), sectionproperties.quantitybtn_show == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1724
|
+
}, 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", {
|
|
1714
1725
|
className: " ".concat(productinfo_cssstyles.quantitybtn) + ' p-0 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
1715
1726
|
style: {
|
|
1716
1727
|
height: sectionproperties.quantitybtn_height + 'px',
|
|
@@ -1746,7 +1757,7 @@
|
|
|
1746
1757
|
style: {
|
|
1747
1758
|
fontSize: sectionproperties.remove_quantitybtn_textfontsize + 'px'
|
|
1748
1759
|
}
|
|
1749
|
-
}))), sectionproperties.cartBtnShow == 'Show' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1760
|
+
}))), 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", {
|
|
1750
1761
|
className: "".concat(productinfo_cssstyles.cart_btn, " ") + ' ml-2 mr-2 d-flex align-items-center justify-content-center mb-sm-2 ',
|
|
1751
1762
|
onClick: function onClick() {
|
|
1752
1763
|
if (fetchProductInfoQueryContext.data.data.productinfo.maximumproductquant >= addtocardpayloadobj.quantity && fetchProductInfoQueryContext.data.data.productinfo.minimumproductquant <= addtocardpayloadobj.quantity) {
|
|
@@ -1812,7 +1823,7 @@
|
|
|
1812
1823
|
size: sectionproperties.favBtnIconfontsize
|
|
1813
1824
|
}), sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
1814
1825
|
size: sectionproperties.favBtnIconfontsize
|
|
1815
|
-
})))))), sectionproperties.productInformationType == 'Product/Service Information' && (fetchProductInfoQueryContext === null || fetchProductInfoQueryContext === void 0 ? void 0 : (
|
|
1826
|
+
})))))), 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", {
|
|
1816
1827
|
className: "col-lg-12 p-0 mb-3"
|
|
1817
1828
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1818
1829
|
className: "row m-0 w-100 d-flex flex-row"
|
|
@@ -1849,7 +1860,7 @@
|
|
|
1849
1860
|
style: {
|
|
1850
1861
|
textDecoration: 'none'
|
|
1851
1862
|
}
|
|
1852
|
-
}, "-"), 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 : (
|
|
1863
|
+
}, "-"), 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", {
|
|
1853
1864
|
className: "col-lg-12 p-0 mb-3 mt-2"
|
|
1854
1865
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1855
1866
|
style: {
|
|
@@ -10825,7 +10836,7 @@
|
|
|
10825
10836
|
return import('react-select');
|
|
10826
10837
|
});
|
|
10827
10838
|
var Filter$1 = function Filter(props) {
|
|
10828
|
-
var _authdetailsContext$i
|
|
10839
|
+
var _authdetailsContext$i;
|
|
10829
10840
|
var lang = props.actions.lang;
|
|
10830
10841
|
var langdetect = props.actions.langdetect;
|
|
10831
10842
|
props.actions.productfiltercontext;
|
|
@@ -11402,6 +11413,144 @@
|
|
|
11402
11413
|
routingcountext(StaticPagesLinksContext[pagenamepathinstaticpagelinkcont], true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
11403
11414
|
}
|
|
11404
11415
|
};
|
|
11416
|
+
var Countriesfilter = function Countriesfilter() {
|
|
11417
|
+
var _fetchTabexCountriesQ, _fetchTabexCountriesQ2, _fetchTabexStatesQuer, _fetchTabexStatesQuer2, _fetchTabexStatesQuer3, _fetchTabexStatesQuer4, _fetchTabexCitiesQuer, _fetchTabexCitiesQuer2, _fetchTabexCitiesQuer3, _fetchTabexCitiesQuer4;
|
|
11418
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11419
|
+
"class": "row m-0 w-100 pl-md-3 pr-md-3"
|
|
11420
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11421
|
+
"class": "col-lg-12 p-0 mt-3"
|
|
11422
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11423
|
+
"class": "row m-0 w-100"
|
|
11424
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11425
|
+
"class": "col-lg-12 p-0 mb-3"
|
|
11426
|
+
}, (fetchTabexCountriesQueryContext === null || fetchTabexCountriesQueryContext === void 0 ? void 0 : fetchTabexCountriesQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11427
|
+
className: "w-100 allcentered mt-1"
|
|
11428
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
11429
|
+
color: "#000",
|
|
11430
|
+
width: "20px",
|
|
11431
|
+
height: "20px",
|
|
11432
|
+
duration: "1s"
|
|
11433
|
+
})), !(fetchTabexCountriesQueryContext !== null && fetchTabexCountriesQueryContext !== void 0 && fetchTabexCountriesQueryContext.isFetching) && (fetchTabexCountriesQueryContext === null || fetchTabexCountriesQueryContext === void 0 ? void 0 : fetchTabexCountriesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
11434
|
+
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,
|
|
11435
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
11436
|
+
var crname = '';
|
|
11437
|
+
if (langdetect == 'en') {
|
|
11438
|
+
crname = option.name;
|
|
11439
|
+
} else if (langdetect == 'ar') {
|
|
11440
|
+
if (option.name_ar != null) {
|
|
11441
|
+
crname = option.name_ar;
|
|
11442
|
+
} else {
|
|
11443
|
+
crname = option.name;
|
|
11444
|
+
}
|
|
11445
|
+
}
|
|
11446
|
+
return crname;
|
|
11447
|
+
},
|
|
11448
|
+
getOptionValue: function getOptionValue(option) {
|
|
11449
|
+
return option.id;
|
|
11450
|
+
},
|
|
11451
|
+
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
11452
|
+
return option.id == ProductFilterObjContext.countryid;
|
|
11453
|
+
}),
|
|
11454
|
+
onChange: function onChange(option) {
|
|
11455
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1N({}, FetchTabexStatesPayloadobjContext);
|
|
11456
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
11457
|
+
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
11458
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$1N({}, tempFetchTabexStatesPayloadobjContext));
|
|
11459
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1N({}, ProductFilterObjContext);
|
|
11460
|
+
tempfetchproductsfilerobjcontext.countryid = option.id;
|
|
11461
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
11462
|
+
setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
|
|
11463
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
11464
|
+
},
|
|
11465
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
11466
|
+
placeholder: lang.choosecountry,
|
|
11467
|
+
isSearchable: true
|
|
11468
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11469
|
+
"class": "col-lg-12 mb-3 p-0"
|
|
11470
|
+
}, (fetchTabexStatesQueryContext === null || fetchTabexStatesQueryContext === void 0 ? void 0 : fetchTabexStatesQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11471
|
+
className: "w-100 allcentered mt-1"
|
|
11472
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
11473
|
+
color: "#000",
|
|
11474
|
+
width: "20px",
|
|
11475
|
+
height: "20px",
|
|
11476
|
+
duration: "1s"
|
|
11477
|
+
})), !(fetchTabexStatesQueryContext !== null && fetchTabexStatesQueryContext !== void 0 && fetchTabexStatesQueryContext.isFetching) && (fetchTabexStatesQueryContext === null || fetchTabexStatesQueryContext === void 0 ? void 0 : fetchTabexStatesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
11478
|
+
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,
|
|
11479
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
11480
|
+
var crname = '';
|
|
11481
|
+
if (langdetect == 'en') {
|
|
11482
|
+
crname = option.name;
|
|
11483
|
+
} else if (langdetect == 'ar') {
|
|
11484
|
+
if (option.name_ar != null) {
|
|
11485
|
+
crname = option.name_ar;
|
|
11486
|
+
} else {
|
|
11487
|
+
crname = option.name;
|
|
11488
|
+
}
|
|
11489
|
+
}
|
|
11490
|
+
return crname;
|
|
11491
|
+
},
|
|
11492
|
+
getOptionValue: function getOptionValue(option) {
|
|
11493
|
+
return option.id;
|
|
11494
|
+
},
|
|
11495
|
+
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) {
|
|
11496
|
+
return option.id == ProductFilterObjContext.stateid;
|
|
11497
|
+
}),
|
|
11498
|
+
onChange: function onChange(option) {
|
|
11499
|
+
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1N({}, FetchTabexStatesPayloadobjContext);
|
|
11500
|
+
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
11501
|
+
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
11502
|
+
setFetchTabexStatesPayloadobjContext(_objectSpread$1N({}, tempFetchTabexStatesPayloadobjContext));
|
|
11503
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1N({}, ProductFilterObjContext);
|
|
11504
|
+
tempfetchproductsfilerobjcontext.stateid = option.id;
|
|
11505
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
11506
|
+
setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
|
|
11507
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
11508
|
+
},
|
|
11509
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
11510
|
+
placeholder: lang.choosestategov,
|
|
11511
|
+
isSearchable: true
|
|
11512
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11513
|
+
"class": "col-lg-12 mb-3 p-0"
|
|
11514
|
+
}, (fetchTabexCitiesQueryContext === null || fetchTabexCitiesQueryContext === void 0 ? void 0 : fetchTabexCitiesQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11515
|
+
className: "w-100 allcentered mt-1"
|
|
11516
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
11517
|
+
color: "#000",
|
|
11518
|
+
width: "20px",
|
|
11519
|
+
height: "20px",
|
|
11520
|
+
duration: "1s"
|
|
11521
|
+
})), !(fetchTabexCitiesQueryContext !== null && fetchTabexCitiesQueryContext !== void 0 && fetchTabexCitiesQueryContext.isFetching) && (fetchTabexCitiesQueryContext === null || fetchTabexCitiesQueryContext === void 0 ? void 0 : fetchTabexCitiesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
11522
|
+
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,
|
|
11523
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
11524
|
+
var crname = '';
|
|
11525
|
+
if (langdetect == 'en') {
|
|
11526
|
+
crname = option.name;
|
|
11527
|
+
} else if (langdetect == 'ar') {
|
|
11528
|
+
if (option.name_ar != null) {
|
|
11529
|
+
crname = option.name_ar;
|
|
11530
|
+
} else {
|
|
11531
|
+
crname = option.name;
|
|
11532
|
+
}
|
|
11533
|
+
}
|
|
11534
|
+
return crname;
|
|
11535
|
+
},
|
|
11536
|
+
getOptionValue: function getOptionValue(option) {
|
|
11537
|
+
return option.id;
|
|
11538
|
+
},
|
|
11539
|
+
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) {
|
|
11540
|
+
return option.id == ProductFilterObjContext.cityid;
|
|
11541
|
+
}),
|
|
11542
|
+
onChange: function onChange(option) {
|
|
11543
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1N({}, ProductFilterObjContext);
|
|
11544
|
+
tempfetchproductsfilerobjcontext.cityid = option.id;
|
|
11545
|
+
tempfetchproductsfilerobjcontext.page = 0;
|
|
11546
|
+
setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
|
|
11547
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
11548
|
+
},
|
|
11549
|
+
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
11550
|
+
placeholder: lang.choosecity,
|
|
11551
|
+
isSearchable: true
|
|
11552
|
+
})))));
|
|
11553
|
+
};
|
|
11405
11554
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11406
11555
|
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',
|
|
11407
11556
|
style: {
|
|
@@ -11628,141 +11777,7 @@
|
|
|
11628
11777
|
className: "mt-2 mb-3"
|
|
11629
11778
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11630
11779
|
className: filter_cssstyles.filteraccordion + ' col-lg-12 filter-accordion p-md-0 pl-4 pr-4 '
|
|
11631
|
-
}, sectionproperties.showcountriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11632
|
-
"class": "row m-0 w-100"
|
|
11633
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11634
|
-
"class": "col-lg-12 p-0 mt-3"
|
|
11635
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11636
|
-
"class": "row m-0 w-100"
|
|
11637
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11638
|
-
"class": "col-lg-12 p-0 mb-3"
|
|
11639
|
-
}, (fetchTabexCountriesQueryContext === null || fetchTabexCountriesQueryContext === void 0 ? void 0 : fetchTabexCountriesQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11640
|
-
className: "w-100 allcentered mt-1"
|
|
11641
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
11642
|
-
color: "#000",
|
|
11643
|
-
width: "20px",
|
|
11644
|
-
height: "20px",
|
|
11645
|
-
duration: "1s"
|
|
11646
|
-
})), !(fetchTabexCountriesQueryContext !== null && fetchTabexCountriesQueryContext !== void 0 && fetchTabexCountriesQueryContext.isFetching) && (fetchTabexCountriesQueryContext === null || fetchTabexCountriesQueryContext === void 0 ? void 0 : fetchTabexCountriesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
11647
|
-
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,
|
|
11648
|
-
getOptionLabel: function getOptionLabel(option) {
|
|
11649
|
-
var crname = '';
|
|
11650
|
-
if (langdetect == 'en') {
|
|
11651
|
-
crname = option.name;
|
|
11652
|
-
} else if (langdetect == 'ar') {
|
|
11653
|
-
if (option.name_ar != null) {
|
|
11654
|
-
crname = option.name_ar;
|
|
11655
|
-
} else {
|
|
11656
|
-
crname = option.name;
|
|
11657
|
-
}
|
|
11658
|
-
}
|
|
11659
|
-
return crname;
|
|
11660
|
-
},
|
|
11661
|
-
getOptionValue: function getOptionValue(option) {
|
|
11662
|
-
return option.id;
|
|
11663
|
-
},
|
|
11664
|
-
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
11665
|
-
return option.id == ProductFilterObjContext.countryid;
|
|
11666
|
-
}),
|
|
11667
|
-
onChange: function onChange(option) {
|
|
11668
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1N({}, FetchTabexStatesPayloadobjContext);
|
|
11669
|
-
tempFetchTabexStatesPayloadobjContext.functype = 'states';
|
|
11670
|
-
tempFetchTabexStatesPayloadobjContext.country_id = option.id;
|
|
11671
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$1N({}, tempFetchTabexStatesPayloadobjContext));
|
|
11672
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$1N({}, ProductFilterObjContext);
|
|
11673
|
-
tempfetchproductsfilerobjcontext.countryid = option.id;
|
|
11674
|
-
tempfetchproductsfilerobjcontext.page = 0;
|
|
11675
|
-
setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
|
|
11676
|
-
filterrouting(tempfetchproductsfilerobjcontext);
|
|
11677
|
-
},
|
|
11678
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
11679
|
-
placeholder: lang.choosecountry,
|
|
11680
|
-
isSearchable: true
|
|
11681
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11682
|
-
"class": "col-lg-12 mb-3 p-0"
|
|
11683
|
-
}, (fetchTabexStatesQueryContext === null || fetchTabexStatesQueryContext === void 0 ? void 0 : fetchTabexStatesQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11684
|
-
className: "w-100 allcentered mt-1"
|
|
11685
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
11686
|
-
color: "#000",
|
|
11687
|
-
width: "20px",
|
|
11688
|
-
height: "20px",
|
|
11689
|
-
duration: "1s"
|
|
11690
|
-
})), !(fetchTabexStatesQueryContext !== null && fetchTabexStatesQueryContext !== void 0 && fetchTabexStatesQueryContext.isFetching) && (fetchTabexStatesQueryContext === null || fetchTabexStatesQueryContext === void 0 ? void 0 : fetchTabexStatesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
11691
|
-
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,
|
|
11692
|
-
getOptionLabel: function getOptionLabel(option) {
|
|
11693
|
-
var crname = '';
|
|
11694
|
-
if (langdetect == 'en') {
|
|
11695
|
-
crname = option.name;
|
|
11696
|
-
} else if (langdetect == 'ar') {
|
|
11697
|
-
if (option.name_ar != null) {
|
|
11698
|
-
crname = option.name_ar;
|
|
11699
|
-
} else {
|
|
11700
|
-
crname = option.name;
|
|
11701
|
-
}
|
|
11702
|
-
}
|
|
11703
|
-
return crname;
|
|
11704
|
-
},
|
|
11705
|
-
getOptionValue: function getOptionValue(option) {
|
|
11706
|
-
return option.id;
|
|
11707
|
-
},
|
|
11708
|
-
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) {
|
|
11709
|
-
return option.id == ProductFilterObjContext.stateid;
|
|
11710
|
-
}),
|
|
11711
|
-
onChange: function onChange(option) {
|
|
11712
|
-
var tempFetchTabexStatesPayloadobjContext = _objectSpread$1N({}, FetchTabexStatesPayloadobjContext);
|
|
11713
|
-
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
11714
|
-
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
11715
|
-
setFetchTabexStatesPayloadobjContext(_objectSpread$1N({}, tempFetchTabexStatesPayloadobjContext));
|
|
11716
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$1N({}, ProductFilterObjContext);
|
|
11717
|
-
tempfetchproductsfilerobjcontext.stateid = option.id;
|
|
11718
|
-
tempfetchproductsfilerobjcontext.page = 0;
|
|
11719
|
-
setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
|
|
11720
|
-
filterrouting(tempfetchproductsfilerobjcontext);
|
|
11721
|
-
},
|
|
11722
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
11723
|
-
placeholder: lang.choosestategov,
|
|
11724
|
-
isSearchable: true
|
|
11725
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11726
|
-
"class": "col-lg-12 mb-3 p-0"
|
|
11727
|
-
}, (fetchTabexCitiesQueryContext === null || fetchTabexCitiesQueryContext === void 0 ? void 0 : fetchTabexCitiesQueryContext.isFetching) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11728
|
-
className: "w-100 allcentered mt-1"
|
|
11729
|
-
}, /*#__PURE__*/React__default["default"].createElement(reactCssfxLoading.CircularProgress, {
|
|
11730
|
-
color: "#000",
|
|
11731
|
-
width: "20px",
|
|
11732
|
-
height: "20px",
|
|
11733
|
-
duration: "1s"
|
|
11734
|
-
})), !(fetchTabexCitiesQueryContext !== null && fetchTabexCitiesQueryContext !== void 0 && fetchTabexCitiesQueryContext.isFetching) && (fetchTabexCitiesQueryContext === null || fetchTabexCitiesQueryContext === void 0 ? void 0 : fetchTabexCitiesQueryContext.isSuccess) && /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
11735
|
-
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,
|
|
11736
|
-
getOptionLabel: function getOptionLabel(option) {
|
|
11737
|
-
var crname = '';
|
|
11738
|
-
if (langdetect == 'en') {
|
|
11739
|
-
crname = option.name;
|
|
11740
|
-
} else if (langdetect == 'ar') {
|
|
11741
|
-
if (option.name_ar != null) {
|
|
11742
|
-
crname = option.name_ar;
|
|
11743
|
-
} else {
|
|
11744
|
-
crname = option.name;
|
|
11745
|
-
}
|
|
11746
|
-
}
|
|
11747
|
-
return crname;
|
|
11748
|
-
},
|
|
11749
|
-
getOptionValue: function getOptionValue(option) {
|
|
11750
|
-
return option.id;
|
|
11751
|
-
},
|
|
11752
|
-
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) {
|
|
11753
|
-
return option.id == ProductFilterObjContext.cityid;
|
|
11754
|
-
}),
|
|
11755
|
-
onChange: function onChange(option) {
|
|
11756
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$1N({}, ProductFilterObjContext);
|
|
11757
|
-
tempfetchproductsfilerobjcontext.cityid = option.id;
|
|
11758
|
-
tempfetchproductsfilerobjcontext.page = 0;
|
|
11759
|
-
setProductFilterObjContext(_objectSpread$1N({}, tempfetchproductsfilerobjcontext));
|
|
11760
|
-
filterrouting(tempfetchproductsfilerobjcontext);
|
|
11761
|
-
},
|
|
11762
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
11763
|
-
placeholder: lang.choosecity,
|
|
11764
|
-
isSearchable: true
|
|
11765
|
-
}))))), sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11780
|
+
}, sectionproperties.showcountriesfilter == 'Show' && Countriesfilter(), sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11766
11781
|
"class": "row m-0 w-100"
|
|
11767
11782
|
}, CategoriesFilter()), sectionproperties.filterType == 'Collections' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11768
11783
|
"class": "row m-0 w-100"
|
|
@@ -11899,11 +11914,11 @@
|
|
|
11899
11914
|
className: "mt-2 mb-3"
|
|
11900
11915
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11901
11916
|
className: filter_cssstyles.filteraccordion + ' col-lg-12 filter-accordion p-md-0 '
|
|
11902
|
-
}, sectionproperties.filterType == 'All' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11917
|
+
}, sectionproperties.showcountriesfilter == 'Show' && Countriesfilter(), sectionproperties.filterType == 'All' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11903
11918
|
"class": "row m-0 w-100"
|
|
11904
|
-
}, CategoriesFilter()), sectionproperties.filterType == 'Collections' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11919
|
+
}, CategoriesFilter()), sectionproperties.filterType == 'Collections' && sectionproperties.showcategoriesfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11905
11920
|
"class": "row m-0 w-100"
|
|
11906
|
-
}, CollectionsFilter()), InstFilters())))))));
|
|
11921
|
+
}, CollectionsFilter()), sectionproperties.showvariantsfilter == 'Show' && InstFilters())))))));
|
|
11907
11922
|
};
|
|
11908
11923
|
|
|
11909
11924
|
var serverbaselink$1 = 'https://tabex-co.com';
|
package/package.json
CHANGED
package/srclibrary.zip
DELETED
|
Binary file
|