tabexseriescomponents 0.0.358 → 0.0.360
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 +407 -486
- package/dist/index.esm.js +407 -486
- package/dist/index.umd.js +409 -489
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -117,6 +117,7 @@ import { FiPhone } from '@react-icons/all-files/fi/FiPhone';
|
|
|
117
117
|
import { HiMenuAlt4 } from '@react-icons/all-files/hi/HiMenuAlt4';
|
|
118
118
|
import { FiSearch } from '@react-icons/all-files/fi/FiSearch';
|
|
119
119
|
import { BsSearch } from '@react-icons/all-files/bs/BsSearch';
|
|
120
|
+
import { AiOutlinePhone } from '@react-icons/all-files/ai/AiOutlinePhone';
|
|
120
121
|
import { GoSearch } from '@react-icons/all-files/go/GoSearch';
|
|
121
122
|
import { AiOutlineInstagram } from '@react-icons/all-files/ai/AiOutlineInstagram';
|
|
122
123
|
import { BsChevronDown } from '@react-icons/all-files/bs/BsChevronDown';
|
|
@@ -129,12 +130,12 @@ import { AiFillPhone } from '@react-icons/all-files/ai/AiFillPhone';
|
|
|
129
130
|
import { FaTelegramPlane } from '@react-icons/all-files/fa/FaTelegramPlane';
|
|
130
131
|
import { FaPhoneAlt } from '@react-icons/all-files/fa/FaPhoneAlt';
|
|
131
132
|
import { FaPhone } from '@react-icons/all-files/fa/FaPhone';
|
|
132
|
-
import { AiOutlinePhone } from '@react-icons/all-files/ai/AiOutlinePhone';
|
|
133
133
|
import { BiUserCircle } from '@react-icons/all-files/bi/BiUserCircle';
|
|
134
134
|
import { GoLocation } from '@react-icons/all-files/go/GoLocation';
|
|
135
135
|
import { RiRoadMapLine } from '@react-icons/all-files/ri/RiRoadMapLine';
|
|
136
136
|
import { HiOutlineClock } from '@react-icons/all-files/hi/HiOutlineClock';
|
|
137
137
|
import { AiOutlineLinkedin } from '@react-icons/all-files/ai/AiOutlineLinkedin';
|
|
138
|
+
import { FaLinkedinIn } from '@react-icons/all-files/fa/FaLinkedinIn';
|
|
138
139
|
import { FaArrowAltCircleRight } from '@react-icons/all-files/fa/FaArrowAltCircleRight';
|
|
139
140
|
import { FaArrowAltCircleLeft } from '@react-icons/all-files/fa/FaArrowAltCircleLeft';
|
|
140
141
|
import Select$5 from 'react-select';
|
|
@@ -11982,6 +11983,12 @@ var CartSlider = function CartSlider(props) {
|
|
|
11982
11983
|
marginRight: sectionproperties.sectionTitleMarginRight + 'px',
|
|
11983
11984
|
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
11984
11985
|
position: 'relative'
|
|
11986
|
+
}),
|
|
11987
|
+
cartslider_container: css({
|
|
11988
|
+
paddingBottom: '1rem',
|
|
11989
|
+
'@media (max-width: 800px)': {
|
|
11990
|
+
paddingBottom: '18rem'
|
|
11991
|
+
}
|
|
11985
11992
|
})
|
|
11986
11993
|
};
|
|
11987
11994
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -12049,7 +12056,7 @@ var CartSlider = function CartSlider(props) {
|
|
|
12049
12056
|
}))))), /*#__PURE__*/React.createElement(Offcanvas.Body, null, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue4 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue4 === void 0 || (_fetchcustomercartQue4 = _fetchcustomercartQue4.data) === null || _fetchcustomercartQue4 === void 0 ? void 0 : _fetchcustomercartQue4.status) && /*#__PURE__*/React.createElement("div", {
|
|
12050
12057
|
"class": "row m-0 w-100 h-100 px-2"
|
|
12051
12058
|
}, /*#__PURE__*/React.createElement("div", {
|
|
12052
|
-
className: "".concat(cartstyles.cartslider_container, " ") + '
|
|
12059
|
+
className: "".concat(cartstyles.cartslider_container, " ").concat(cart_cssstyles.cartslider_container) + ' h-100 w-100 ',
|
|
12053
12060
|
style: {
|
|
12054
12061
|
paddingLeft: '15px',
|
|
12055
12062
|
paddingRight: '15px',
|
|
@@ -12802,7 +12809,7 @@ var Select$1 = /*#__PURE__*/React.lazy(function () {
|
|
|
12802
12809
|
return import('react-select');
|
|
12803
12810
|
});
|
|
12804
12811
|
var Filter$1 = function Filter(props) {
|
|
12805
|
-
var _authdetailsContext$i;
|
|
12812
|
+
var _authdetailsContext$i, _css;
|
|
12806
12813
|
var lang = props.actions.lang;
|
|
12807
12814
|
var langdetect = props.actions.langdetect;
|
|
12808
12815
|
props.actions.productfiltercontext;
|
|
@@ -12817,9 +12824,13 @@ var Filter$1 = function Filter(props) {
|
|
|
12817
12824
|
min: 0,
|
|
12818
12825
|
max: 10000
|
|
12819
12826
|
}),
|
|
12820
|
-
_useState2 = _slicedToArray(_useState, 2)
|
|
12821
|
-
|
|
12822
|
-
|
|
12827
|
+
_useState2 = _slicedToArray(_useState, 2);
|
|
12828
|
+
_useState2[0];
|
|
12829
|
+
_useState2[1];
|
|
12830
|
+
var _useState3 = useState([]),
|
|
12831
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
12832
|
+
productfeatuesarr = _useState4[0],
|
|
12833
|
+
setproductfeatuesarr = _useState4[1];
|
|
12823
12834
|
var fetchTabexCountriesQueryContext = props.actions.fetchTabexCountriesQueryContext;
|
|
12824
12835
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
12825
12836
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
@@ -12827,40 +12838,41 @@ var Filter$1 = function Filter(props) {
|
|
|
12827
12838
|
var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
12828
12839
|
var FetchTabexStatesPayloadobjContext = props.actions.FetchTabexStatesPayloadobjContext;
|
|
12829
12840
|
var setFetchTabexStatesPayloadobjContext = props.actions.setFetchTabexStatesPayloadobjContext;
|
|
12830
|
-
var
|
|
12831
|
-
|
|
12832
|
-
sectionproperties = _useState4[0],
|
|
12833
|
-
setsectionproperties = _useState4[1];
|
|
12834
|
-
var _useState5 = useState(_toConsumableArray(authdetailsContext.instinfo.instfilters)),
|
|
12841
|
+
var fetchProductFeaturesQueryContext = props.actions.fetchProductFeaturesQueryContext;
|
|
12842
|
+
var _useState5 = useState(''),
|
|
12835
12843
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
12836
|
-
|
|
12837
|
-
|
|
12838
|
-
var _useState7 = useState(
|
|
12844
|
+
sectionproperties = _useState6[0],
|
|
12845
|
+
setsectionproperties = _useState6[1];
|
|
12846
|
+
var _useState7 = useState(_toConsumableArray(authdetailsContext.instinfo.instfilters)),
|
|
12839
12847
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
12840
|
-
|
|
12841
|
-
|
|
12842
|
-
var _useState9 = useState(
|
|
12848
|
+
instfilters = _useState8[0],
|
|
12849
|
+
setinstfilters = _useState8[1];
|
|
12850
|
+
var _useState9 = useState([]),
|
|
12843
12851
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
12844
|
-
|
|
12845
|
-
|
|
12846
|
-
var _useState11 = useState(_toConsumableArray(authdetailsContext
|
|
12852
|
+
collectionstobevisible = _useState10[0],
|
|
12853
|
+
setcollectionstobevisible = _useState10[1];
|
|
12854
|
+
var _useState11 = useState(_toConsumableArray(authdetailsContext.instinfo.instcollections)),
|
|
12847
12855
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
12848
|
-
|
|
12849
|
-
|
|
12856
|
+
instcollections = _useState12[0],
|
|
12857
|
+
setinstcollections = _useState12[1];
|
|
12858
|
+
var _useState13 = useState(_toConsumableArray(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instcategories)),
|
|
12859
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
12860
|
+
instcategories = _useState14[0],
|
|
12861
|
+
setinstcategories = _useState14[1];
|
|
12850
12862
|
// const [sortby, setSortby] = useState('Sort by');
|
|
12851
|
-
var
|
|
12863
|
+
var _useState15 = useState({
|
|
12852
12864
|
min: 0,
|
|
12853
12865
|
max: 5
|
|
12854
12866
|
}),
|
|
12855
|
-
|
|
12856
|
-
raterangevalue =
|
|
12857
|
-
setraterangevalue =
|
|
12867
|
+
_useState16 = _slicedToArray(_useState15, 2),
|
|
12868
|
+
raterangevalue = _useState16[0],
|
|
12869
|
+
setraterangevalue = _useState16[1];
|
|
12858
12870
|
var timeoutRef = React.useRef(null);
|
|
12859
|
-
var
|
|
12860
|
-
|
|
12861
|
-
|
|
12862
|
-
var setsortbycontext =
|
|
12863
|
-
var
|
|
12871
|
+
var _useState17 = useState(''),
|
|
12872
|
+
_useState18 = _slicedToArray(_useState17, 2);
|
|
12873
|
+
_useState18[0];
|
|
12874
|
+
var setsortbycontext = _useState18[1];
|
|
12875
|
+
var _useState19 = useState([{
|
|
12864
12876
|
payloadvalue: 'sortprice',
|
|
12865
12877
|
name: lang.price,
|
|
12866
12878
|
filterarray: [{
|
|
@@ -12885,9 +12897,9 @@ var Filter$1 = function Filter(props) {
|
|
|
12885
12897
|
isfilterselected: false
|
|
12886
12898
|
}]
|
|
12887
12899
|
}]),
|
|
12888
|
-
|
|
12889
|
-
otherfilters =
|
|
12890
|
-
|
|
12900
|
+
_useState20 = _slicedToArray(_useState19, 2),
|
|
12901
|
+
otherfilters = _useState20[0];
|
|
12902
|
+
_useState20[1];
|
|
12891
12903
|
useEffect(function () {
|
|
12892
12904
|
filterupdater();
|
|
12893
12905
|
}, []);
|
|
@@ -12997,6 +13009,14 @@ var Filter$1 = function Filter(props) {
|
|
|
12997
13009
|
setcollectionstobevisible(instcollections);
|
|
12998
13010
|
}
|
|
12999
13011
|
}, [ProductFilterObjContext]);
|
|
13012
|
+
useEffect(function () {
|
|
13013
|
+
if (productfeatuesarr.length != 0) {
|
|
13014
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$26({}, ProductFilterObjContext);
|
|
13015
|
+
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
13016
|
+
setProductFilterObjContext(_objectSpread$26({}, tempfetchproductsfilerobjcontext));
|
|
13017
|
+
filterrouting(tempfetchproductsfilerobjcontext);
|
|
13018
|
+
}
|
|
13019
|
+
}, [productfeatuesarr]);
|
|
13000
13020
|
useEffect(function () {
|
|
13001
13021
|
if (fetchTabexStatesQueryContext.isSuccess) {
|
|
13002
13022
|
if (ProductFilterObjContext.stateid != undefined && ProductFilterObjContext.stateid != null && ProductFilterObjContext.stateid != '' && ProductFilterObjContext.stateid != 'all') {
|
|
@@ -13336,308 +13356,159 @@ var Filter$1 = function Filter(props) {
|
|
|
13336
13356
|
})));
|
|
13337
13357
|
};
|
|
13338
13358
|
var DynamicFilter = function DynamicFilter() {
|
|
13339
|
-
var
|
|
13359
|
+
var _fetchProductFeatures;
|
|
13340
13360
|
return /*#__PURE__*/React.createElement("div", {
|
|
13341
13361
|
"class": "row m-0 w-100"
|
|
13342
13362
|
}, /*#__PURE__*/React.createElement("div", {
|
|
13343
13363
|
"class": "col-lg-12 p-0 mb-3"
|
|
13344
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
13345
|
-
className: ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 ',
|
|
13346
|
-
style: (_ref = {
|
|
13347
|
-
color: sectionproperties.filtertitle_color
|
|
13348
|
-
}, _defineProperty(_ref, "color", sectionproperties.filtertitle_color), _defineProperty(_ref, "fontSize", sectionproperties.filtertitle_fontsize + 'px'), _defineProperty(_ref, "fontWeight", sectionproperties.filtertitle_fontweight), _defineProperty(_ref, "color", sectionproperties.filtertitle_color), _ref)
|
|
13349
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
13350
|
-
className: "col-lg-10 col-md-10 col-sm-10 p-0"
|
|
13351
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
13352
|
-
className: langdetect == 'en' ? ' m-0 p-0 ' : ' m-0 p-0 text-right'
|
|
13353
|
-
}, langdetect == 'en' ? 'Car Brand' : 'الماركة'))), /*#__PURE__*/React.createElement("div", {
|
|
13364
|
+
}, (fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 ? void 0 : fetchProductFeaturesQueryContext.isSuccess) && /*#__PURE__*/React.createElement("div", {
|
|
13354
13365
|
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
|
|
13355
|
-
},
|
|
13356
|
-
|
|
13357
|
-
|
|
13358
|
-
|
|
13359
|
-
|
|
13360
|
-
|
|
13361
|
-
|
|
13362
|
-
|
|
13363
|
-
value: 'VW'
|
|
13364
|
-
}, {
|
|
13365
|
-
name: 'Mercedes',
|
|
13366
|
-
value: 'Mercedes'
|
|
13367
|
-
}],
|
|
13368
|
-
getOptionLabel: function getOptionLabel(option) {
|
|
13369
|
-
var crname = '';
|
|
13370
|
-
if (langdetect == 'en') {
|
|
13371
|
-
crname = option.name;
|
|
13372
|
-
} else if (langdetect == 'ar') {
|
|
13373
|
-
if (option.name_ar != null) {
|
|
13374
|
-
crname = option.name_ar;
|
|
13366
|
+
}, fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 || (_fetchProductFeatures = fetchProductFeaturesQueryContext.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.productfeatues) === null || _fetchProductFeatures === void 0 ? void 0 : _fetchProductFeatures.map(function (item, index) {
|
|
13367
|
+
if (item.type == 'Selectbox') {
|
|
13368
|
+
var _item$featuresselectb, _ref;
|
|
13369
|
+
var selectboxarr = [];
|
|
13370
|
+
item === null || item === void 0 || (_item$featuresselectb = item.featuresselectbovalue) === null || _item$featuresselectb === void 0 || _item$featuresselectb.forEach(function (slecitem) {
|
|
13371
|
+
var itemlabel = '';
|
|
13372
|
+
if (langdetect == 'en') {
|
|
13373
|
+
itemlabel = slecitem.value_en;
|
|
13375
13374
|
} else {
|
|
13376
|
-
|
|
13375
|
+
itemlabel = slecitem.value_ar;
|
|
13377
13376
|
}
|
|
13378
|
-
|
|
13379
|
-
|
|
13380
|
-
|
|
13381
|
-
|
|
13382
|
-
|
|
13383
|
-
|
|
13384
|
-
|
|
13385
|
-
|
|
13386
|
-
|
|
13387
|
-
|
|
13388
|
-
|
|
13389
|
-
|
|
13390
|
-
|
|
13391
|
-
|
|
13392
|
-
|
|
13393
|
-
|
|
13394
|
-
|
|
13395
|
-
|
|
13396
|
-
|
|
13397
|
-
|
|
13398
|
-
|
|
13399
|
-
|
|
13400
|
-
|
|
13401
|
-
|
|
13402
|
-
|
|
13403
|
-
|
|
13404
|
-
|
|
13405
|
-
|
|
13406
|
-
|
|
13407
|
-
|
|
13408
|
-
|
|
13409
|
-
|
|
13410
|
-
|
|
13411
|
-
|
|
13412
|
-
|
|
13413
|
-
}],
|
|
13414
|
-
getOptionLabel: function getOptionLabel(option) {
|
|
13415
|
-
var crname = '';
|
|
13416
|
-
if (langdetect == 'en') {
|
|
13417
|
-
crname = option.name;
|
|
13418
|
-
} else if (langdetect == 'ar') {
|
|
13419
|
-
if (option.name_ar != null) {
|
|
13420
|
-
crname = option.name_ar;
|
|
13421
|
-
} else {
|
|
13422
|
-
crname = option.name;
|
|
13377
|
+
selectboxarr.push({
|
|
13378
|
+
label: itemlabel,
|
|
13379
|
+
value: slecitem.value_en
|
|
13380
|
+
});
|
|
13381
|
+
});
|
|
13382
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
13383
|
+
"class": "col-lg-12 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3 p-0"
|
|
13384
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
13385
|
+
className: ' mb-3 w-100 ',
|
|
13386
|
+
style: (_ref = {
|
|
13387
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
13388
|
+
color: sectionproperties.filtertitle_color
|
|
13389
|
+
}, _defineProperty(_ref, "color", sectionproperties.filtertitle_color), _defineProperty(_ref, "fontSize", sectionproperties.filtertitle_fontsize + 'px'), _defineProperty(_ref, "fontWeight", sectionproperties.filtertitle_fontweight), _defineProperty(_ref, "color", sectionproperties.filtertitle_color), _defineProperty(_ref, "textTransform", 'capitalize'), _ref)
|
|
13390
|
+
}, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React.createElement("div", {
|
|
13391
|
+
"class": 'col-lg-12 p-0'
|
|
13392
|
+
}, /*#__PURE__*/React.createElement(Select$1, {
|
|
13393
|
+
options: selectboxarr,
|
|
13394
|
+
styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
|
|
13395
|
+
placeholder: '',
|
|
13396
|
+
onChange: function onChange(e) {
|
|
13397
|
+
var isattrexists = false;
|
|
13398
|
+
var tempproductfeatuesarr = _toConsumableArray(productfeatuesarr);
|
|
13399
|
+
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
13400
|
+
if (attritem.id == item.id) {
|
|
13401
|
+
tempproductfeatuesarr[attrindex].value = e.value;
|
|
13402
|
+
isattrexists = true;
|
|
13403
|
+
}
|
|
13404
|
+
});
|
|
13405
|
+
if (isattrexists == false) {
|
|
13406
|
+
tempproductfeatuesarr.push({
|
|
13407
|
+
id: item.id,
|
|
13408
|
+
value: e.value
|
|
13409
|
+
});
|
|
13410
|
+
}
|
|
13411
|
+
setproductfeatuesarr(_toConsumableArray(tempproductfeatuesarr));
|
|
13423
13412
|
}
|
|
13424
|
-
}
|
|
13425
|
-
|
|
13426
|
-
|
|
13427
|
-
|
|
13428
|
-
return
|
|
13429
|
-
|
|
13430
|
-
|
|
13431
|
-
|
|
13432
|
-
|
|
13433
|
-
|
|
13434
|
-
|
|
13435
|
-
|
|
13436
|
-
|
|
13437
|
-
|
|
13438
|
-
|
|
13439
|
-
|
|
13440
|
-
|
|
13441
|
-
|
|
13442
|
-
|
|
13443
|
-
|
|
13444
|
-
|
|
13445
|
-
|
|
13446
|
-
|
|
13447
|
-
|
|
13448
|
-
|
|
13449
|
-
|
|
13450
|
-
|
|
13451
|
-
|
|
13452
|
-
|
|
13453
|
-
|
|
13454
|
-
|
|
13455
|
-
|
|
13456
|
-
|
|
13457
|
-
|
|
13458
|
-
getOptionLabel: function getOptionLabel(option) {
|
|
13459
|
-
var crname = '';
|
|
13460
|
-
if (langdetect == 'en') {
|
|
13461
|
-
crname = option.name;
|
|
13462
|
-
} else if (langdetect == 'ar') {
|
|
13463
|
-
if (option.name_ar != null) {
|
|
13464
|
-
crname = option.name_ar;
|
|
13465
|
-
} else {
|
|
13466
|
-
crname = option.name;
|
|
13413
|
+
})));
|
|
13414
|
+
}
|
|
13415
|
+
if (item.type == 'Number') {
|
|
13416
|
+
var _ref2;
|
|
13417
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
13418
|
+
"class": "col-lg-12 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3 p-0"
|
|
13419
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
13420
|
+
className: "".concat(filter_cssstyles.input_label_name) + ' mb-3 w-100 ',
|
|
13421
|
+
style: (_ref2 = {
|
|
13422
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
13423
|
+
color: sectionproperties.filtertitle_color
|
|
13424
|
+
}, _defineProperty(_ref2, "color", sectionproperties.filtertitle_color), _defineProperty(_ref2, "fontSize", sectionproperties.filtertitle_fontsize + 'px'), _defineProperty(_ref2, "fontWeight", sectionproperties.filtertitle_fontweight), _defineProperty(_ref2, "color", sectionproperties.filtertitle_color), _defineProperty(_ref2, "textTransform", 'capitalize'), _ref2)
|
|
13425
|
+
}, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React.createElement("div", {
|
|
13426
|
+
"class": 'col-lg-12 p-0'
|
|
13427
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
13428
|
+
type: "number",
|
|
13429
|
+
className: "".concat(formstyles.form_control, " ").concat(filter_cssstyles.form_control),
|
|
13430
|
+
placeholder: '',
|
|
13431
|
+
onChange: function onChange(e) {
|
|
13432
|
+
var isattrexists = false;
|
|
13433
|
+
var tempproductfeatuesarr = _toConsumableArray(productfeatuesarr);
|
|
13434
|
+
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
13435
|
+
if (attritem.id == item.id) {
|
|
13436
|
+
tempproductfeatuesarr[attrindex].value = e.target.value;
|
|
13437
|
+
isattrexists = true;
|
|
13438
|
+
}
|
|
13439
|
+
});
|
|
13440
|
+
if (isattrexists == false) {
|
|
13441
|
+
tempproductfeatuesarr.push({
|
|
13442
|
+
id: item.id,
|
|
13443
|
+
value: e.target.value
|
|
13444
|
+
});
|
|
13445
|
+
}
|
|
13446
|
+
setproductfeatuesarr(_toConsumableArray(tempproductfeatuesarr));
|
|
13467
13447
|
}
|
|
13468
|
-
}
|
|
13469
|
-
|
|
13470
|
-
|
|
13471
|
-
|
|
13472
|
-
|
|
13473
|
-
|
|
13474
|
-
|
|
13475
|
-
|
|
13476
|
-
|
|
13477
|
-
|
|
13478
|
-
|
|
13479
|
-
|
|
13480
|
-
|
|
13481
|
-
|
|
13482
|
-
|
|
13483
|
-
|
|
13484
|
-
|
|
13485
|
-
|
|
13486
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
13487
|
-
className: "col-lg-10 col-md-10 col-sm-10 p-0"
|
|
13488
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
13489
|
-
className: langdetect == 'en' ? ' m-0 p-0 ' : ' m-0 p-0 text-right'
|
|
13490
|
-
}, langdetect == 'en' ? 'Kilometers (To)' : 'كيلومترات (الى)'))), /*#__PURE__*/React.createElement("div", {
|
|
13491
|
-
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
|
|
13492
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
13493
|
-
className: 'col-lg-12 p-0'
|
|
13494
|
-
}, /*#__PURE__*/React.createElement(Select$1, {
|
|
13495
|
-
options: [{
|
|
13496
|
-
name: '10000',
|
|
13497
|
-
value: '10000'
|
|
13498
|
-
}, {
|
|
13499
|
-
name: '20000',
|
|
13500
|
-
value: '20000'
|
|
13501
|
-
}],
|
|
13502
|
-
getOptionLabel: function getOptionLabel(option) {
|
|
13503
|
-
var crname = '';
|
|
13504
|
-
if (langdetect == 'en') {
|
|
13505
|
-
crname = option.name;
|
|
13506
|
-
} else if (langdetect == 'ar') {
|
|
13507
|
-
if (option.name_ar != null) {
|
|
13508
|
-
crname = option.name_ar;
|
|
13509
|
-
} else {
|
|
13510
|
-
crname = option.name;
|
|
13448
|
+
})));
|
|
13449
|
+
}
|
|
13450
|
+
if (item.type == 'NumberRange') {
|
|
13451
|
+
var _ref3;
|
|
13452
|
+
var temppricevalue = {
|
|
13453
|
+
min: 0,
|
|
13454
|
+
max: 10000
|
|
13455
|
+
};
|
|
13456
|
+
var tempproductfeatuesarr = _toConsumableArray(productfeatuesarr);
|
|
13457
|
+
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
13458
|
+
if (attritem.id == item.id) {
|
|
13459
|
+
var _attritem$value, _attritem$valuemax;
|
|
13460
|
+
if (attritem.value != undefined && attritem.value != null && (attritem === null || attritem === void 0 || (_attritem$value = attritem.value) === null || _attritem$value === void 0 ? void 0 : _attritem$value.length) != 0) {
|
|
13461
|
+
temppricevalue.min = attritem.value;
|
|
13462
|
+
}
|
|
13463
|
+
if (attritem.valuemax != undefined && attritem.valuemax != null && (attritem === null || attritem === void 0 || (_attritem$valuemax = attritem.valuemax) === null || _attritem$valuemax === void 0 ? void 0 : _attritem$valuemax.length) != 0) {
|
|
13464
|
+
temppricevalue.max = attritem.valuemax;
|
|
13465
|
+
}
|
|
13511
13466
|
}
|
|
13512
|
-
}
|
|
13513
|
-
return
|
|
13514
|
-
|
|
13515
|
-
|
|
13516
|
-
|
|
13517
|
-
|
|
13518
|
-
|
|
13519
|
-
|
|
13520
|
-
|
|
13521
|
-
|
|
13522
|
-
|
|
13523
|
-
|
|
13524
|
-
|
|
13525
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
13526
|
-
className: ' row m-0 p-0 mb-2 pl-md-3 pr-md-3 ',
|
|
13527
|
-
style: (_ref5 = {
|
|
13528
|
-
color: sectionproperties.filtertitle_color
|
|
13529
|
-
}, _defineProperty(_ref5, "color", sectionproperties.filtertitle_color), _defineProperty(_ref5, "fontSize", sectionproperties.filtertitle_fontsize + 'px'), _defineProperty(_ref5, "fontWeight", sectionproperties.filtertitle_fontweight), _defineProperty(_ref5, "color", sectionproperties.filtertitle_color), _ref5)
|
|
13530
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
13531
|
-
className: "col-lg-10 col-md-10 col-sm-10 p-0"
|
|
13532
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
13533
|
-
className: langdetect == 'en' ? ' m-0 p-0 ' : ' m-0 p-0 text-right'
|
|
13534
|
-
}, langdetect == 'en' ? 'Year of built (From)' : 'سنة الصنع (من)'))), /*#__PURE__*/React.createElement("div", {
|
|
13535
|
-
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
|
|
13536
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
13537
|
-
className: 'col-lg-12 p-0'
|
|
13538
|
-
}, /*#__PURE__*/React.createElement(Select$1, {
|
|
13539
|
-
options: [{
|
|
13540
|
-
name: '2020',
|
|
13541
|
-
value: '2020'
|
|
13542
|
-
}, {
|
|
13543
|
-
name: '2021',
|
|
13544
|
-
value: '2021'
|
|
13545
|
-
}],
|
|
13546
|
-
getOptionLabel: function getOptionLabel(option) {
|
|
13547
|
-
var crname = '';
|
|
13548
|
-
if (langdetect == 'en') {
|
|
13549
|
-
crname = option.name;
|
|
13550
|
-
} else if (langdetect == 'ar') {
|
|
13551
|
-
if (option.name_ar != null) {
|
|
13552
|
-
crname = option.name_ar;
|
|
13553
|
-
} else {
|
|
13554
|
-
crname = option.name;
|
|
13467
|
+
});
|
|
13468
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
13469
|
+
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-12 col-md-12 col-sm-12 mb-3 '
|
|
13470
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
13471
|
+
className: "".concat(filter_cssstyles.input_label_name) + ' mb-3 w-100',
|
|
13472
|
+
style: (_ref3 = {
|
|
13473
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
13474
|
+
color: sectionproperties.filtertitle_color
|
|
13475
|
+
}, _defineProperty(_ref3, "color", sectionproperties.filtertitle_color), _defineProperty(_ref3, "fontSize", sectionproperties.filtertitle_fontsize + 'px'), _defineProperty(_ref3, "fontWeight", sectionproperties.filtertitle_fontweight), _defineProperty(_ref3, "color", sectionproperties.filtertitle_color), _defineProperty(_ref3, "textTransform", 'capitalize'), _ref3)
|
|
13476
|
+
}, langdetect == 'en' ? item.name_en : item.name_ar, item.type), /*#__PURE__*/React.createElement("div", {
|
|
13477
|
+
"class": 'col-lg-12 pl-4 pr-4 mt-2 mb-2',
|
|
13478
|
+
style: {
|
|
13479
|
+
direction: 'ltr'
|
|
13555
13480
|
}
|
|
13556
|
-
}
|
|
13557
|
-
|
|
13558
|
-
|
|
13559
|
-
|
|
13560
|
-
|
|
13561
|
-
|
|
13562
|
-
|
|
13563
|
-
|
|
13564
|
-
|
|
13565
|
-
|
|
13566
|
-
|
|
13567
|
-
|
|
13568
|
-
|
|
13569
|
-
|
|
13570
|
-
|
|
13571
|
-
|
|
13572
|
-
|
|
13573
|
-
|
|
13574
|
-
|
|
13575
|
-
|
|
13576
|
-
|
|
13577
|
-
|
|
13578
|
-
|
|
13579
|
-
|
|
13580
|
-
|
|
13581
|
-
|
|
13582
|
-
|
|
13583
|
-
options: [{
|
|
13584
|
-
name: '2020',
|
|
13585
|
-
value: '2020'
|
|
13586
|
-
}, {
|
|
13587
|
-
name: '2021',
|
|
13588
|
-
value: '2021'
|
|
13589
|
-
}],
|
|
13590
|
-
getOptionLabel: function getOptionLabel(option) {
|
|
13591
|
-
var crname = '';
|
|
13592
|
-
if (langdetect == 'en') {
|
|
13593
|
-
crname = option.name;
|
|
13594
|
-
} else if (langdetect == 'ar') {
|
|
13595
|
-
if (option.name_ar != null) {
|
|
13596
|
-
crname = option.name_ar;
|
|
13597
|
-
} else {
|
|
13598
|
-
crname = option.name;
|
|
13481
|
+
}, /*#__PURE__*/React.createElement(InputRange, {
|
|
13482
|
+
draggableTrack: true,
|
|
13483
|
+
formatLabel: function formatLabel(value) {
|
|
13484
|
+
return "".concat(value);
|
|
13485
|
+
},
|
|
13486
|
+
maxValue: parseInt(sectionproperties.filterpricemaxvalue),
|
|
13487
|
+
minValue: parseInt(sectionproperties.filterpriceminvalue),
|
|
13488
|
+
value: temppricevalue,
|
|
13489
|
+
onChange: function onChange(e) {
|
|
13490
|
+
// setpricevalue({ ...value });
|
|
13491
|
+
var isattrexists = false;
|
|
13492
|
+
var tempproductfeatuesarr = _toConsumableArray(productfeatuesarr);
|
|
13493
|
+
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
13494
|
+
if (attritem.id == item.id) {
|
|
13495
|
+
tempproductfeatuesarr[attrindex].value = e.min;
|
|
13496
|
+
tempproductfeatuesarr[attrindex].valuemax = e.max;
|
|
13497
|
+
isattrexists = true;
|
|
13498
|
+
}
|
|
13499
|
+
});
|
|
13500
|
+
if (isattrexists == false) {
|
|
13501
|
+
tempproductfeatuesarr.push({
|
|
13502
|
+
id: item.id,
|
|
13503
|
+
value: e.min,
|
|
13504
|
+
valuemax: e.max
|
|
13505
|
+
});
|
|
13506
|
+
}
|
|
13507
|
+
setproductfeatuesarr(_toConsumableArray(tempproductfeatuesarr));
|
|
13599
13508
|
}
|
|
13600
|
-
}
|
|
13601
|
-
return crname;
|
|
13602
|
-
},
|
|
13603
|
-
getOptionValue: function getOptionValue(option) {
|
|
13604
|
-
return option.id;
|
|
13605
|
-
},
|
|
13606
|
-
value: '',
|
|
13607
|
-
onChange: function onChange(option) {},
|
|
13608
|
-
styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
|
|
13609
|
-
isSearchable: true,
|
|
13610
|
-
placeholder: ''
|
|
13611
|
-
})))), /*#__PURE__*/React.createElement("div", {
|
|
13612
|
-
"class": "col-lg-12 p-0 mb-3"
|
|
13613
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
13614
|
-
className: ' row m-0 p-0 mb-4 pl-md-3 pr-md-3 ',
|
|
13615
|
-
style: (_ref7 = {
|
|
13616
|
-
color: sectionproperties.filtertitle_color
|
|
13617
|
-
}, _defineProperty(_ref7, "color", sectionproperties.filtertitle_color), _defineProperty(_ref7, "fontSize", sectionproperties.filtertitle_fontsize + 'px'), _defineProperty(_ref7, "fontWeight", sectionproperties.filtertitle_fontweight), _defineProperty(_ref7, "color", sectionproperties.filtertitle_color), _ref7)
|
|
13618
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
13619
|
-
className: "col-lg-10 col-md-10 col-sm-10 p-0"
|
|
13620
|
-
}, /*#__PURE__*/React.createElement("p", {
|
|
13621
|
-
className: langdetect == 'en' ? ' m-0 p-0 ' : ' m-0 p-0 text-right'
|
|
13622
|
-
}, langdetect == 'en' ? 'Price' : 'السعر'))), /*#__PURE__*/React.createElement("div", {
|
|
13623
|
-
className: "row mt-0 mb-2 ml-0 mr-0 d-lg-flex pl-md-3 pr-md-3"
|
|
13624
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
13625
|
-
className: 'col-lg-12 p-0 px-md-4',
|
|
13626
|
-
style: {
|
|
13627
|
-
direction: 'ltr'
|
|
13628
|
-
}
|
|
13629
|
-
}, /*#__PURE__*/React.createElement(InputRange, {
|
|
13630
|
-
draggableTrack: true,
|
|
13631
|
-
formatLabel: function formatLabel(value) {
|
|
13632
|
-
return "".concat(value);
|
|
13633
|
-
},
|
|
13634
|
-
maxValue: parseInt(sectionproperties.filterpricemaxvalue),
|
|
13635
|
-
minValue: parseInt(sectionproperties.filterpriceminvalue),
|
|
13636
|
-
value: pricevalue,
|
|
13637
|
-
onChange: function onChange(value) {
|
|
13638
|
-
setpricevalue(_objectSpread$26({}, value));
|
|
13509
|
+
})));
|
|
13639
13510
|
}
|
|
13640
|
-
}))))
|
|
13511
|
+
}))));
|
|
13641
13512
|
};
|
|
13642
13513
|
var InstFilters = function InstFilters() {
|
|
13643
13514
|
return /*#__PURE__*/React.createElement(Accordion, {
|
|
@@ -13696,6 +13567,15 @@ var Filter$1 = function Filter(props) {
|
|
|
13696
13567
|
}));
|
|
13697
13568
|
};
|
|
13698
13569
|
var filter_cssstyles = {
|
|
13570
|
+
form_control: css((_css = {
|
|
13571
|
+
position: 'relative',
|
|
13572
|
+
display: 'flex',
|
|
13573
|
+
alignItems: 'center'
|
|
13574
|
+
}, _defineProperty(_css, "display", 'block'), _defineProperty(_css, "width", '100%'), _defineProperty(_css, "padding", '0 30px'), _defineProperty(_css, "transition", '.3s'), _defineProperty(_css, "fontWeight", 500), _defineProperty(_css, "border", '1px solid #ccc'), _defineProperty(_css, "borderRadius", '5px'), _defineProperty(_css, "height", '40px'), _defineProperty(_css, "background", 'transparent'), _defineProperty(_css, "color", '#000'), _defineProperty(_css, "fontSize", '14px'), _defineProperty(_css, ':focus', {
|
|
13575
|
+
// borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
13576
|
+
borderColor: '#eac435',
|
|
13577
|
+
boxShadow: 'none'
|
|
13578
|
+
}), _css)),
|
|
13699
13579
|
collapsetitle: css({
|
|
13700
13580
|
fontSize: sectionproperties.filtertitle_fontsize + 'px',
|
|
13701
13581
|
fontWeight: sectionproperties.filtertitle_fontweight,
|
|
@@ -13958,10 +13838,10 @@ var Filter$1 = function Filter(props) {
|
|
|
13958
13838
|
isSearchable: true
|
|
13959
13839
|
})))));
|
|
13960
13840
|
};
|
|
13961
|
-
var
|
|
13962
|
-
|
|
13963
|
-
checked =
|
|
13964
|
-
setChecked =
|
|
13841
|
+
var _useState21 = useState(false),
|
|
13842
|
+
_useState22 = _slicedToArray(_useState21, 2),
|
|
13843
|
+
checked = _useState22[0],
|
|
13844
|
+
setChecked = _useState22[1];
|
|
13965
13845
|
// const queryParameters = new URLSearchParams(window.location.search);
|
|
13966
13846
|
// useEffect(() => {
|
|
13967
13847
|
// // setsortbycontext('Sort By');
|
|
@@ -15853,7 +15733,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
15853
15733
|
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
15854
15734
|
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
15855
15735
|
marginTop: sectionproperties.marginTop + 'px',
|
|
15856
|
-
marginBottom: sectionproperties.marginBottom + 'px'
|
|
15736
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
15737
|
+
minHeight: sectionproperties.height == null || sectionproperties.height == 0 ? 'auto' : sectionproperties.height + 'vh'
|
|
15857
15738
|
}
|
|
15858
15739
|
}, sectionproperties.length != 0 && /*#__PURE__*/React.createElement("div", {
|
|
15859
15740
|
"class": section_cssstyles.innercardssection + ' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 '
|
|
@@ -21710,6 +21591,32 @@ var ClassicHeader = function ClassicHeader(props) {
|
|
|
21710
21591
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
21711
21592
|
size: 25,
|
|
21712
21593
|
color: '#fff'
|
|
21594
|
+
})))), sectionproperties.showwhatsapp == 'Show' && /*#__PURE__*/React.createElement("a", {
|
|
21595
|
+
href: 'tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber),
|
|
21596
|
+
target: '_blank',
|
|
21597
|
+
style: {
|
|
21598
|
+
position: 'fixed',
|
|
21599
|
+
bottom: 60,
|
|
21600
|
+
right: 10,
|
|
21601
|
+
zIndex: 999999,
|
|
21602
|
+
transition: 'all 0.3s ease-out'
|
|
21603
|
+
}
|
|
21604
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
21605
|
+
style: {
|
|
21606
|
+
width: 40,
|
|
21607
|
+
height: 40,
|
|
21608
|
+
borderRadius: 100,
|
|
21609
|
+
background: '#000',
|
|
21610
|
+
cursor: 'pointer'
|
|
21611
|
+
}
|
|
21612
|
+
}, /*#__PURE__*/React.createElement("i", {
|
|
21613
|
+
"class": "h-100 allcentered"
|
|
21614
|
+
}, /*#__PURE__*/React.createElement(AiOutlinePhone, {
|
|
21615
|
+
size: 25,
|
|
21616
|
+
color: '#fff',
|
|
21617
|
+
style: {
|
|
21618
|
+
transform: langdetect == 'en' ? 'scaleX(-1)' : 'scaleX(1)'
|
|
21619
|
+
}
|
|
21713
21620
|
})))), /*#__PURE__*/React.createElement("div", {
|
|
21714
21621
|
"class": "row m-0",
|
|
21715
21622
|
style: {
|
|
@@ -41729,7 +41636,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
41729
41636
|
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; }
|
|
41730
41637
|
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; }
|
|
41731
41638
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
41732
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14;
|
|
41639
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i2, _authdetailsContext$i5, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17;
|
|
41733
41640
|
var _useState = useState(''),
|
|
41734
41641
|
_useState2 = _slicedToArray(_useState, 2),
|
|
41735
41642
|
sectionproperties = _useState2[0],
|
|
@@ -42156,13 +42063,24 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
42156
42063
|
}
|
|
42157
42064
|
}, /*#__PURE__*/React.createElement(IoLogoTiktok, {
|
|
42158
42065
|
size: sectionproperties.instgrambtniconfontsize
|
|
42159
|
-
})),
|
|
42160
|
-
"class": footerStyles.
|
|
42066
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.linkedinlink) != null && /*#__PURE__*/React.createElement("p", {
|
|
42067
|
+
"class": footerStyles.instgram_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
42161
42068
|
onClick: function onClick() {
|
|
42162
42069
|
var _authdetailsContext$i15;
|
|
42163
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.
|
|
42070
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.tiktoklink) != null) {
|
|
42164
42071
|
var _authdetailsContext$i16;
|
|
42165
|
-
window.open(
|
|
42072
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.linkedinlink, '_blank');
|
|
42073
|
+
}
|
|
42074
|
+
}
|
|
42075
|
+
}, /*#__PURE__*/React.createElement(FaLinkedinIn, {
|
|
42076
|
+
size: sectionproperties.instgrambtniconfontsize
|
|
42077
|
+
})), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.whatsappnumber) != null && /*#__PURE__*/React.createElement("p", {
|
|
42078
|
+
"class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 ',
|
|
42079
|
+
onClick: function onClick() {
|
|
42080
|
+
var _authdetailsContext$i18;
|
|
42081
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.whatsappnumber) != null) {
|
|
42082
|
+
var _authdetailsContext$i19;
|
|
42083
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.whatsappnumber), '_blank');
|
|
42166
42084
|
}
|
|
42167
42085
|
}
|
|
42168
42086
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
@@ -47665,6 +47583,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
|
|
|
47665
47583
|
function ownKeys$17(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; }
|
|
47666
47584
|
function _objectSpread$17(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$17(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$17(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
47667
47585
|
var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props) {
|
|
47586
|
+
var _css, _fetchProductFeatures;
|
|
47668
47587
|
var _useState = useState(''),
|
|
47669
47588
|
_useState2 = _slicedToArray(_useState, 2),
|
|
47670
47589
|
sectionproperties = _useState2[0],
|
|
@@ -47691,6 +47610,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47691
47610
|
var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
47692
47611
|
var fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
|
|
47693
47612
|
var fetchproductsfilerobjcontext = props.actions.fetchproductsfilerobjcontext;
|
|
47613
|
+
var fetchProductFeaturesQueryContext = props.actions.fetchProductFeaturesQueryContext;
|
|
47694
47614
|
var routingcountext = props.actions.routingcountext;
|
|
47695
47615
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
47696
47616
|
// const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
|
|
@@ -47710,6 +47630,10 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47710
47630
|
_useState12 = _slicedToArray(_useState11, 2);
|
|
47711
47631
|
_useState12[0];
|
|
47712
47632
|
_useState12[1];
|
|
47633
|
+
var _useState13 = useState([]),
|
|
47634
|
+
_useState14 = _slicedToArray(_useState13, 2),
|
|
47635
|
+
productfeatuesarr = _useState14[0],
|
|
47636
|
+
setproductfeatuesarr = _useState14[1];
|
|
47713
47637
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
47714
47638
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
47715
47639
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
@@ -47753,6 +47677,15 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47753
47677
|
}
|
|
47754
47678
|
}, [sectionproperties]);
|
|
47755
47679
|
var sectionstyles = {
|
|
47680
|
+
form_control: css((_css = {
|
|
47681
|
+
position: 'relative',
|
|
47682
|
+
display: 'flex',
|
|
47683
|
+
alignItems: 'center'
|
|
47684
|
+
}, _defineProperty(_css, "display", 'block'), _defineProperty(_css, "width", '100%'), _defineProperty(_css, "padding", '0 30px'), _defineProperty(_css, "transition", '.3s'), _defineProperty(_css, "fontWeight", 500), _defineProperty(_css, "border", '1px solid #e6e6e6'), _defineProperty(_css, "borderRadius", '5px'), _defineProperty(_css, "height", '38px'), _defineProperty(_css, "background", 'transparent'), _defineProperty(_css, "color", '#000'), _defineProperty(_css, "fontSize", '14px'), _defineProperty(_css, ':focus', {
|
|
47685
|
+
// borderColor: sectionproperties.inputfeildbordercoloronfocus,
|
|
47686
|
+
borderColor: '#eac435',
|
|
47687
|
+
boxShadow: 'none'
|
|
47688
|
+
}), _css)),
|
|
47756
47689
|
btnstyles: css({
|
|
47757
47690
|
width: sectionproperties.generalbtn_width + '%',
|
|
47758
47691
|
height: sectionproperties.generalbtn_height + 'px',
|
|
@@ -47768,9 +47701,6 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
47768
47701
|
color: sectionproperties.generalbtn_textColoronhover
|
|
47769
47702
|
}
|
|
47770
47703
|
}),
|
|
47771
|
-
form_control: css({
|
|
47772
|
-
backgroundImage: 'linear-gradient(to top, #eac435 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px)'
|
|
47773
|
-
}),
|
|
47774
47704
|
input_label_name: css({
|
|
47775
47705
|
color: sectionproperties.form_labelcolor,
|
|
47776
47706
|
textTransform: sectionproperties.form_labeltexttransform,
|
|
@@ -48115,159 +48045,147 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
48115
48045
|
"class": "col-lg-12 p-0"
|
|
48116
48046
|
}, /*#__PURE__*/React.createElement("div", {
|
|
48117
48047
|
"class": "row m-0 w-100 d-flex align-items-center justify-content-start"
|
|
48118
|
-
},
|
|
48119
|
-
|
|
48120
|
-
|
|
48121
|
-
|
|
48122
|
-
|
|
48123
|
-
|
|
48124
|
-
|
|
48125
|
-
|
|
48126
|
-
|
|
48127
|
-
|
|
48128
|
-
|
|
48129
|
-
|
|
48130
|
-
|
|
48131
|
-
|
|
48132
|
-
|
|
48133
|
-
|
|
48134
|
-
|
|
48135
|
-
|
|
48136
|
-
|
|
48137
|
-
|
|
48138
|
-
|
|
48139
|
-
|
|
48140
|
-
|
|
48141
|
-
|
|
48142
|
-
|
|
48143
|
-
|
|
48144
|
-
|
|
48145
|
-
|
|
48146
|
-
|
|
48147
|
-
|
|
48148
|
-
|
|
48149
|
-
|
|
48150
|
-
|
|
48151
|
-
|
|
48152
|
-
|
|
48153
|
-
|
|
48154
|
-
|
|
48155
|
-
|
|
48156
|
-
|
|
48157
|
-
|
|
48158
|
-
|
|
48159
|
-
|
|
48160
|
-
|
|
48161
|
-
|
|
48162
|
-
|
|
48163
|
-
|
|
48164
|
-
|
|
48165
|
-
}
|
|
48166
|
-
}, langdetect == 'en' ? 'Kilometers (From)' : 'كيلومترات (من)'), /*#__PURE__*/React.createElement("div", {
|
|
48167
|
-
"class": 'col-lg-12 p-0'
|
|
48168
|
-
}, /*#__PURE__*/React.createElement(Select$5, {
|
|
48169
|
-
options: [{
|
|
48170
|
-
label: '100000',
|
|
48171
|
-
value: 1
|
|
48172
|
-
}, {
|
|
48173
|
-
label: '50000',
|
|
48174
|
-
value: 0
|
|
48175
|
-
}, {
|
|
48176
|
-
label: '30000',
|
|
48177
|
-
value: 0
|
|
48178
|
-
}],
|
|
48179
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
48180
|
-
placeholder: ''
|
|
48181
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
48182
|
-
"class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
|
|
48183
|
-
}, /*#__PURE__*/React.createElement("label", {
|
|
48184
|
-
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
48185
|
-
style: {
|
|
48186
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
48187
|
-
}
|
|
48188
|
-
}, langdetect == 'en' ? 'Kilometers (To)' : 'كيلومترات (الى)'), /*#__PURE__*/React.createElement("div", {
|
|
48189
|
-
"class": 'col-lg-12 p-0'
|
|
48190
|
-
}, /*#__PURE__*/React.createElement(Select$5, {
|
|
48191
|
-
options: [{
|
|
48192
|
-
label: '100000',
|
|
48193
|
-
value: 1
|
|
48194
|
-
}, {
|
|
48195
|
-
label: '50000',
|
|
48196
|
-
value: 0
|
|
48197
|
-
}, {
|
|
48198
|
-
label: '30000',
|
|
48199
|
-
value: 0
|
|
48200
|
-
}],
|
|
48201
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
48202
|
-
placeholder: ''
|
|
48203
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
48204
|
-
"class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
|
|
48205
|
-
}, /*#__PURE__*/React.createElement("label", {
|
|
48206
|
-
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
48207
|
-
style: {
|
|
48208
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
48209
|
-
}
|
|
48210
|
-
}, langdetect == 'en' ? 'Year of built (From)' : 'سنة الصنع (من)'), /*#__PURE__*/React.createElement("div", {
|
|
48211
|
-
"class": 'col-lg-12 p-0'
|
|
48212
|
-
}, /*#__PURE__*/React.createElement(Select$5, {
|
|
48213
|
-
options: [{
|
|
48214
|
-
label: '2023',
|
|
48215
|
-
value: 1
|
|
48216
|
-
}, {
|
|
48217
|
-
label: '2022',
|
|
48218
|
-
value: 0
|
|
48219
|
-
}, {
|
|
48220
|
-
label: '2021',
|
|
48221
|
-
value: 0
|
|
48222
|
-
}],
|
|
48223
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
48224
|
-
placeholder: ''
|
|
48225
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
48226
|
-
"class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
|
|
48227
|
-
}, /*#__PURE__*/React.createElement("label", {
|
|
48228
|
-
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
48229
|
-
style: {
|
|
48230
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
48231
|
-
}
|
|
48232
|
-
}, langdetect == 'en' ? 'Year of built (To)' : 'سنة الصنع (الى)'), /*#__PURE__*/React.createElement("div", {
|
|
48233
|
-
"class": 'col-lg-12 p-0'
|
|
48234
|
-
}, /*#__PURE__*/React.createElement(Select$5, {
|
|
48235
|
-
options: [{
|
|
48236
|
-
label: '2023',
|
|
48237
|
-
value: 1
|
|
48238
|
-
}, {
|
|
48239
|
-
label: '2022',
|
|
48240
|
-
value: 0
|
|
48241
|
-
}, {
|
|
48242
|
-
label: '2021',
|
|
48243
|
-
value: 0
|
|
48244
|
-
}],
|
|
48245
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
48246
|
-
placeholder: ''
|
|
48247
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
48248
|
-
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-3 '
|
|
48249
|
-
}, /*#__PURE__*/React.createElement("label", {
|
|
48250
|
-
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
|
|
48251
|
-
style: {
|
|
48252
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
48048
|
+
}, (fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 ? void 0 : fetchProductFeaturesQueryContext.isSuccess) && (fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 || (_fetchProductFeatures = fetchProductFeaturesQueryContext.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.productfeatues) === null || _fetchProductFeatures === void 0 ? void 0 : _fetchProductFeatures.map(function (item, index) {
|
|
48049
|
+
if (item.type == 'Selectbox') {
|
|
48050
|
+
var _item$featuresselectb;
|
|
48051
|
+
var selectboxarr = [];
|
|
48052
|
+
item === null || item === void 0 || (_item$featuresselectb = item.featuresselectbovalue) === null || _item$featuresselectb === void 0 || _item$featuresselectb.forEach(function (slecitem) {
|
|
48053
|
+
var itemlabel = '';
|
|
48054
|
+
if (langdetect == 'en') {
|
|
48055
|
+
itemlabel = slecitem.value_en;
|
|
48056
|
+
} else {
|
|
48057
|
+
itemlabel = slecitem.value_ar;
|
|
48058
|
+
}
|
|
48059
|
+
selectboxarr.push({
|
|
48060
|
+
label: itemlabel,
|
|
48061
|
+
value: slecitem.value_en
|
|
48062
|
+
});
|
|
48063
|
+
});
|
|
48064
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
48065
|
+
"class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
|
|
48066
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
48067
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
48068
|
+
style: {
|
|
48069
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
48070
|
+
}
|
|
48071
|
+
}, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React.createElement("div", {
|
|
48072
|
+
"class": 'col-lg-12 p-0'
|
|
48073
|
+
}, /*#__PURE__*/React.createElement(Select$5, {
|
|
48074
|
+
options: selectboxarr,
|
|
48075
|
+
styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
|
|
48076
|
+
placeholder: '',
|
|
48077
|
+
onChange: function onChange(e) {
|
|
48078
|
+
var isattrexists = false;
|
|
48079
|
+
var tempproductfeatuesarr = _toConsumableArray(productfeatuesarr);
|
|
48080
|
+
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
48081
|
+
if (attritem.id == item.id) {
|
|
48082
|
+
tempproductfeatuesarr[attrindex].value = e.value;
|
|
48083
|
+
isattrexists = true;
|
|
48084
|
+
}
|
|
48085
|
+
});
|
|
48086
|
+
if (isattrexists == false) {
|
|
48087
|
+
tempproductfeatuesarr.push({
|
|
48088
|
+
id: item.id,
|
|
48089
|
+
value: e.value
|
|
48090
|
+
});
|
|
48091
|
+
}
|
|
48092
|
+
setproductfeatuesarr(_toConsumableArray(tempproductfeatuesarr));
|
|
48093
|
+
}
|
|
48094
|
+
})));
|
|
48253
48095
|
}
|
|
48254
|
-
|
|
48255
|
-
|
|
48256
|
-
|
|
48257
|
-
|
|
48096
|
+
if (item.type == 'Number') {
|
|
48097
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
48098
|
+
"class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
|
|
48099
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
48100
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
48101
|
+
style: {
|
|
48102
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
48103
|
+
}
|
|
48104
|
+
}, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React.createElement("div", {
|
|
48105
|
+
"class": 'col-lg-12 p-0 mt-1'
|
|
48106
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
48107
|
+
type: "number",
|
|
48108
|
+
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control),
|
|
48109
|
+
placeholder: '',
|
|
48110
|
+
onChange: function onChange(e) {
|
|
48111
|
+
var isattrexists = false;
|
|
48112
|
+
var tempproductfeatuesarr = _toConsumableArray(productfeatuesarr);
|
|
48113
|
+
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
48114
|
+
if (attritem.id == item.id) {
|
|
48115
|
+
tempproductfeatuesarr[attrindex].value = e.target.value;
|
|
48116
|
+
isattrexists = true;
|
|
48117
|
+
}
|
|
48118
|
+
});
|
|
48119
|
+
if (isattrexists == false) {
|
|
48120
|
+
tempproductfeatuesarr.push({
|
|
48121
|
+
id: item.id,
|
|
48122
|
+
value: e.target.value
|
|
48123
|
+
});
|
|
48124
|
+
}
|
|
48125
|
+
setproductfeatuesarr(_toConsumableArray(tempproductfeatuesarr));
|
|
48126
|
+
}
|
|
48127
|
+
})));
|
|
48258
48128
|
}
|
|
48259
|
-
|
|
48260
|
-
|
|
48261
|
-
|
|
48262
|
-
|
|
48263
|
-
|
|
48264
|
-
|
|
48265
|
-
|
|
48266
|
-
|
|
48267
|
-
|
|
48268
|
-
|
|
48129
|
+
if (item.type == 'NumberRange') {
|
|
48130
|
+
var temppricevalue = {
|
|
48131
|
+
min: 0,
|
|
48132
|
+
max: 10000
|
|
48133
|
+
};
|
|
48134
|
+
var tempproductfeatuesarr = _toConsumableArray(productfeatuesarr);
|
|
48135
|
+
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
48136
|
+
if (attritem.id == item.id) {
|
|
48137
|
+
var _attritem$value, _attritem$valuemax;
|
|
48138
|
+
if (attritem.value != undefined && attritem.value != null && (attritem === null || attritem === void 0 || (_attritem$value = attritem.value) === null || _attritem$value === void 0 ? void 0 : _attritem$value.length) != 0) {
|
|
48139
|
+
temppricevalue.min = attritem.value;
|
|
48140
|
+
}
|
|
48141
|
+
if (attritem.valuemax != undefined && attritem.valuemax != null && (attritem === null || attritem === void 0 || (_attritem$valuemax = attritem.valuemax) === null || _attritem$valuemax === void 0 ? void 0 : _attritem$valuemax.length) != 0) {
|
|
48142
|
+
temppricevalue.max = attritem.valuemax;
|
|
48143
|
+
}
|
|
48144
|
+
}
|
|
48145
|
+
});
|
|
48146
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
48147
|
+
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-3 '
|
|
48148
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
48149
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
|
|
48150
|
+
style: {
|
|
48151
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
48152
|
+
}
|
|
48153
|
+
}, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React.createElement("div", {
|
|
48154
|
+
"class": 'col-lg-12 pl-4 pr-4 mt-2 mb-2',
|
|
48155
|
+
style: {
|
|
48156
|
+
direction: 'ltr'
|
|
48157
|
+
}
|
|
48158
|
+
}, /*#__PURE__*/React.createElement(InputRange, {
|
|
48159
|
+
draggableTrack: true,
|
|
48160
|
+
formatLabel: function formatLabel(value) {
|
|
48161
|
+
return "".concat(value);
|
|
48162
|
+
},
|
|
48163
|
+
maxValue: parseInt(sectionproperties.filterpricemaxvalue),
|
|
48164
|
+
minValue: parseInt(sectionproperties.filterpriceminvalue),
|
|
48165
|
+
value: temppricevalue,
|
|
48166
|
+
onChange: function onChange(e) {
|
|
48167
|
+
// setpricevalue({ ...value });
|
|
48168
|
+
var isattrexists = false;
|
|
48169
|
+
var tempproductfeatuesarr = _toConsumableArray(productfeatuesarr);
|
|
48170
|
+
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
48171
|
+
if (attritem.id == item.id) {
|
|
48172
|
+
tempproductfeatuesarr[attrindex].value = e.min;
|
|
48173
|
+
tempproductfeatuesarr[attrindex].valuemax = e.max;
|
|
48174
|
+
isattrexists = true;
|
|
48175
|
+
}
|
|
48176
|
+
});
|
|
48177
|
+
if (isattrexists == false) {
|
|
48178
|
+
tempproductfeatuesarr.push({
|
|
48179
|
+
id: item.id,
|
|
48180
|
+
value: e.min,
|
|
48181
|
+
valuemax: e.max
|
|
48182
|
+
});
|
|
48183
|
+
}
|
|
48184
|
+
setproductfeatuesarr(_toConsumableArray(tempproductfeatuesarr));
|
|
48185
|
+
}
|
|
48186
|
+
})));
|
|
48269
48187
|
}
|
|
48270
|
-
}))
|
|
48188
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
48271
48189
|
"class": "col-lg-2 col-md-12 text-end",
|
|
48272
48190
|
style: {
|
|
48273
48191
|
marginLeft: langdetect == 'en' ? 'auto' : '',
|
|
@@ -48312,6 +48230,9 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
48312
48230
|
tempfetchproductsfilerobjcontext.price_max = pricevalue.max;
|
|
48313
48231
|
}
|
|
48314
48232
|
}
|
|
48233
|
+
if (productfeatuesarr != undefined && productfeatuesarr != null && Array.isArray(productfeatuesarr) && (productfeatuesarr === null || productfeatuesarr === void 0 ? void 0 : productfeatuesarr.length) != 0) {
|
|
48234
|
+
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
48235
|
+
}
|
|
48315
48236
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
48316
48237
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
48317
48238
|
}
|