tabexseriescomponents 0.2.784 → 0.2.786
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 +54 -637
- package/dist/index.esm.js +54 -637
- package/dist/index.umd.js +54 -637
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1254,71 +1254,6 @@ styleInject(css_248z$J);
|
|
|
1254
1254
|
|
|
1255
1255
|
function ownKeys$2C(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; }
|
|
1256
1256
|
function _objectSpread$2C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2C(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1257
|
-
var selectcustomStyles = {
|
|
1258
|
-
option: function option(provided, state) {
|
|
1259
|
-
return _objectSpread$2C(_objectSpread$2C({}, provided), {}, {
|
|
1260
|
-
borderBottom: '1px solid #e6e6e6',
|
|
1261
|
-
backgroundColor: state.isSelected ? '' : '',
|
|
1262
|
-
padding: 5,
|
|
1263
|
-
textTransform: 'capitalize',
|
|
1264
|
-
color: state.isSelected ? '#eac435' : '#022648',
|
|
1265
|
-
transition: '.3s',
|
|
1266
|
-
'&:hover': {
|
|
1267
|
-
color: '#eac435',
|
|
1268
|
-
cursor: 'pointer'
|
|
1269
|
-
}
|
|
1270
|
-
});
|
|
1271
|
-
},
|
|
1272
|
-
control: function control() {
|
|
1273
|
-
return {
|
|
1274
|
-
border: '1px solid #e6e6e6',
|
|
1275
|
-
// boxShadow: '0 0 10px #e6e6e6',
|
|
1276
|
-
borderRadius: '5px',
|
|
1277
|
-
display: 'flex',
|
|
1278
|
-
cursor: 'pointer',
|
|
1279
|
-
transition: '.3s',
|
|
1280
|
-
'&:hover': {
|
|
1281
|
-
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1282
|
-
}
|
|
1283
|
-
};
|
|
1284
|
-
}
|
|
1285
|
-
};
|
|
1286
|
-
var selectcustomStylesTranslated = {
|
|
1287
|
-
option: function option(provided, state) {
|
|
1288
|
-
return _objectSpread$2C(_objectSpread$2C({}, provided), {}, {
|
|
1289
|
-
borderBottom: '1px solid #e6e6e6',
|
|
1290
|
-
backgroundColor: state.isSelected ? '' : '',
|
|
1291
|
-
padding: 5,
|
|
1292
|
-
textTransform: 'capitalize',
|
|
1293
|
-
color: state.isSelected ? '#eac435' : '#ffffff',
|
|
1294
|
-
transition: '.3s',
|
|
1295
|
-
textAlign: 'right',
|
|
1296
|
-
'&:hover': {
|
|
1297
|
-
color: '#eac435',
|
|
1298
|
-
cursor: 'pointer'
|
|
1299
|
-
}
|
|
1300
|
-
});
|
|
1301
|
-
},
|
|
1302
|
-
control: function control() {
|
|
1303
|
-
return {
|
|
1304
|
-
border: '2px solid #e6e6e6',
|
|
1305
|
-
// boxShadow: '0 0 10px #e6e6e6',
|
|
1306
|
-
borderRadius: '10px',
|
|
1307
|
-
display: 'flex',
|
|
1308
|
-
cursor: 'pointer',
|
|
1309
|
-
transition: '.3s',
|
|
1310
|
-
textAlign: 'right',
|
|
1311
|
-
'&:hover': {
|
|
1312
|
-
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1313
|
-
}
|
|
1314
|
-
};
|
|
1315
|
-
},
|
|
1316
|
-
placeholder: function placeholder(provided, state) {
|
|
1317
|
-
return _objectSpread$2C(_objectSpread$2C({}, provided), {}, {
|
|
1318
|
-
textAlign: 'right'
|
|
1319
|
-
});
|
|
1320
|
-
}
|
|
1321
|
-
};
|
|
1322
1257
|
var defaultstyles = {
|
|
1323
1258
|
option: function option(provided, state) {
|
|
1324
1259
|
return _objectSpread$2C(_objectSpread$2C({}, provided), {}, {
|
|
@@ -13691,7 +13626,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
13691
13626
|
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
13692
13627
|
}, lang.phonenumber), /*#__PURE__*/React__default["default"].createElement(PhoneInput__default["default"], {
|
|
13693
13628
|
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
13694
|
-
country: 'eg',
|
|
13629
|
+
country: sectionproperties.countrycode == 'SA' ? 'sa' : 'eg',
|
|
13695
13630
|
enableSearch: true,
|
|
13696
13631
|
autoFormat: true,
|
|
13697
13632
|
value: payloadobj.mobile,
|
|
@@ -13706,6 +13641,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
13706
13641
|
// payloadobjchange('mobile', event);
|
|
13707
13642
|
|
|
13708
13643
|
// alert(JSON.stringify(country));
|
|
13644
|
+
// alert(JSON.stringify(country));
|
|
13709
13645
|
},
|
|
13710
13646
|
style: {
|
|
13711
13647
|
direction: 'ltr',
|
|
@@ -16538,14 +16474,14 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
16538
16474
|
function ownKeys$2i(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; }
|
|
16539
16475
|
function _objectSpread$2i(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2i(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2i(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16540
16476
|
var OrderSuccess = function OrderSuccess(props) {
|
|
16541
|
-
var _props$actions2
|
|
16542
|
-
|
|
16477
|
+
var _props$actions2;
|
|
16478
|
+
props.actions.lang;
|
|
16543
16479
|
var langdetect = props.actions.langdetect;
|
|
16544
16480
|
var routingcountext = props.actions.routingcountext;
|
|
16545
16481
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
16546
16482
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
16547
16483
|
var uselocation = props.actions.uselocation;
|
|
16548
|
-
|
|
16484
|
+
props.actions.ikimagecredcontext;
|
|
16549
16485
|
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
16550
16486
|
var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
16551
16487
|
props.actions.fetchorderhistoryQueryContext;
|
|
@@ -16571,9 +16507,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
16571
16507
|
var setCurrentPageId = _useState10[1];
|
|
16572
16508
|
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
16573
16509
|
var _useState11 = React.useState([]),
|
|
16574
|
-
_useState12 = _slicedToArray__default["default"](_useState11, 2)
|
|
16575
|
-
|
|
16576
|
-
setlogoarrayofobjects = _useState12[1];
|
|
16510
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2);
|
|
16511
|
+
_useState12[0];
|
|
16512
|
+
var setlogoarrayofobjects = _useState12[1];
|
|
16577
16513
|
var templateproperties_context = props.actions.templateproperties_context;
|
|
16578
16514
|
|
|
16579
16515
|
// useEffect(() => {
|
|
@@ -16707,226 +16643,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
16707
16643
|
borderRadius: sectionproperties.cardstyletype != 'Style 2' ? '10px' : 0,
|
|
16708
16644
|
color: '#000'
|
|
16709
16645
|
}
|
|
16710
|
-
},
|
|
16711
|
-
"class": "row m-0 w-100 px-5 py-5 px-1025-1 px-md-0",
|
|
16712
|
-
style: {
|
|
16713
|
-
paddingLeft: 200,
|
|
16714
|
-
paddingRight: 200
|
|
16715
|
-
}
|
|
16716
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16717
|
-
"class": "col-12 p-0 text-start mb-4"
|
|
16718
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16719
|
-
"class": ' text-start',
|
|
16720
|
-
style: {
|
|
16721
|
-
width: '15%'
|
|
16722
|
-
}
|
|
16723
|
-
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
16724
|
-
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
16725
|
-
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
16726
|
-
path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
|
|
16727
|
-
style: {
|
|
16728
|
-
maxWidth: '100%',
|
|
16729
|
-
maxHeight: '100%'
|
|
16730
|
-
}
|
|
16731
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16732
|
-
"class": "col-6 col-md-12 text-start border-md-none",
|
|
16733
|
-
style: {
|
|
16734
|
-
borderRight: langdetect == 'en' ? '1px solid #ccc' : '',
|
|
16735
|
-
borderLeft: langdetect == 'ar' ? '1px solid #ccc' : ''
|
|
16736
|
-
}
|
|
16737
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16738
|
-
"class": "row m-0 w-100"
|
|
16739
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16740
|
-
"class": "col-12 p-0 text-start mb-1 font-weight-500",
|
|
16741
|
-
style: {
|
|
16742
|
-
fontSize: 15
|
|
16743
|
-
}
|
|
16744
|
-
}, "Order #", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat === void 0 || (_lastOrderinfoObj$dat = _lastOrderinfoObj$dat.orderinfo) === null || _lastOrderinfoObj$dat === void 0 ? void 0 : _lastOrderinfoObj$dat.orderid), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16745
|
-
"class": "col-12 p-0 text-start mb-4 font-weight-500"
|
|
16746
|
-
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat2 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat2 === void 0 || (_lastOrderinfoObj$dat2 = _lastOrderinfoObj$dat2.orderinfo) === null || _lastOrderinfoObj$dat2 === void 0 ? void 0 : _lastOrderinfoObj$dat2.customername), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16747
|
-
"class": "col-12 p-0 text-start font-weight-500"
|
|
16748
|
-
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16749
|
-
"class": "col-12 p-0 text-start font-weight-500"
|
|
16750
|
-
}, langdetect == 'en' ? 'You’ll receive a confirmation email with your order details shortly.' : 'ستتلقى رسالة تأكيد عبر البريد الإلكتروني تحتوي على تفاصيل طلبك قريبًا.'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16751
|
-
"class": "col-lg-12 p-0 mt-4",
|
|
16752
|
-
style: {
|
|
16753
|
-
border: '1px solid #ccc',
|
|
16754
|
-
borderRadius: 10
|
|
16755
|
-
}
|
|
16756
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16757
|
-
"class": "row m-0 w-100 px-3 py-4"
|
|
16758
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16759
|
-
"class": "col-12 text-start mb-3"
|
|
16760
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16761
|
-
"class": "m-0",
|
|
16762
|
-
style: {
|
|
16763
|
-
fontSize: 16,
|
|
16764
|
-
fontWeight: 600
|
|
16765
|
-
}
|
|
16766
|
-
}, langdetect == 'en' ? 'Order details' : 'تفاصيل الطلب')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16767
|
-
"class": "col-6 col-md-12"
|
|
16768
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16769
|
-
"class": "row m-0 w-100"
|
|
16770
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16771
|
-
"class": "col-12 p-0 text-start mb-2"
|
|
16772
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16773
|
-
"class": "m-0",
|
|
16774
|
-
style: {
|
|
16775
|
-
fontSize: 15,
|
|
16776
|
-
fontWeight: 600
|
|
16777
|
-
}
|
|
16778
|
-
}, langdetect == 'en' ? 'Contact Information' : 'بياتات العميل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16779
|
-
"class": "col-12 p-0 text-start"
|
|
16780
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat3 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat3 === void 0 || (_lastOrderinfoObj$dat3 = _lastOrderinfoObj$dat3.orderinfo) === null || _lastOrderinfoObj$dat3 === void 0 ? void 0 : _lastOrderinfoObj$dat3.customeremail)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16781
|
-
"class": "col-12 p-0 text-start"
|
|
16782
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat4 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat4 === void 0 || (_lastOrderinfoObj$dat4 = _lastOrderinfoObj$dat4.orderinfo) === null || _lastOrderinfoObj$dat4 === void 0 ? void 0 : _lastOrderinfoObj$dat4.customerphonenumber)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16783
|
-
"class": "col-12 p-0 text-start mb-2"
|
|
16784
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16785
|
-
style: {
|
|
16786
|
-
fontSize: 15,
|
|
16787
|
-
fontWeight: 600
|
|
16788
|
-
},
|
|
16789
|
-
"class": "m-0"
|
|
16790
|
-
}, langdetect == 'en' ? 'Shipping address' : 'عنوان الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16791
|
-
"class": "col-12 p-0 text-start"
|
|
16792
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat5 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat5 === void 0 || (_lastOrderinfoObj$dat5 = _lastOrderinfoObj$dat5.orderinfo) === null || _lastOrderinfoObj$dat5 === void 0 ? void 0 : _lastOrderinfoObj$dat5.address)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16793
|
-
"class": "col-6 col-md-12"
|
|
16794
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16795
|
-
"class": "col-12 p-0 text-start mb-2"
|
|
16796
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16797
|
-
style: {
|
|
16798
|
-
fontSize: 15,
|
|
16799
|
-
fontWeight: 600
|
|
16800
|
-
},
|
|
16801
|
-
"class": "m-0"
|
|
16802
|
-
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16803
|
-
"class": "col-12 p-0 text-start"
|
|
16804
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat6 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat6 === void 0 || (_lastOrderinfoObj$dat6 = _lastOrderinfoObj$dat6.orderinfo) === null || _lastOrderinfoObj$dat6 === void 0 ? void 0 : _lastOrderinfoObj$dat6.paymentmethod) == 'cod' ? langdetect == 'en' ? 'Cash on delivery' : 'الدفع عند الاستلام' : lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat7 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat7 === void 0 || (_lastOrderinfoObj$dat7 = _lastOrderinfoObj$dat7.orderinfo) === null || _lastOrderinfoObj$dat7 === void 0 ? void 0 : _lastOrderinfoObj$dat7.paymentmethod))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16805
|
-
"class": "col-6 col-md-12 p-md-0"
|
|
16806
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16807
|
-
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
16808
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16809
|
-
"class": "col-lg-12 text-start mb-3"
|
|
16810
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16811
|
-
"class": "m-0 p-0",
|
|
16812
|
-
style: {
|
|
16813
|
-
fontSize: 20,
|
|
16814
|
-
fontWeight: 600
|
|
16815
|
-
}
|
|
16816
|
-
}, langdetect == 'en' ? 'Items Ordered' : 'المنتجات')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16817
|
-
"class": "col-12 p-0"
|
|
16818
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16819
|
-
"class": "row m-0 w-100",
|
|
16820
|
-
style: {
|
|
16821
|
-
maxHeight: '40vh',
|
|
16822
|
-
overflowY: 'scroll'
|
|
16823
|
-
}
|
|
16824
|
-
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat8 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat8 === void 0 ? void 0 : _lastOrderinfoObj$dat8.orderitems.map(function (item, index) {
|
|
16825
|
-
var _lastOrderinfoObj$dat9, _lastOrderinfoObj$dat10;
|
|
16826
|
-
var variantoptions = [];
|
|
16827
|
-
if (item.isvariant == 1) {
|
|
16828
|
-
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
16829
|
-
variantoptions = decodevariantoptions;
|
|
16830
|
-
}
|
|
16831
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16832
|
-
className: "col-lg-12 p-0"
|
|
16833
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16834
|
-
className: "row m-0 w-100 d-flex",
|
|
16835
|
-
style: {
|
|
16836
|
-
fontSize: 15
|
|
16837
|
-
}
|
|
16838
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16839
|
-
className: "col-8 d-flex"
|
|
16840
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16841
|
-
className: "row m-0 w-100"
|
|
16842
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16843
|
-
"class": "col-lg-12 p-0 text-start"
|
|
16844
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16845
|
-
className: ' m-0 p-0 ',
|
|
16846
|
-
style: {
|
|
16847
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
16848
|
-
}
|
|
16849
|
-
}, langdetect == 'en' ? item.productname_en : item.productname_ar)), (item === null || item === void 0 ? void 0 : item.isvariant) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16850
|
-
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
16851
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16852
|
-
"class": "row m-0 w-100"
|
|
16853
|
-
}, variantoptions.map(function (variantitem, variantindex) {
|
|
16854
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16855
|
-
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16856
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16857
|
-
className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 font-13 '
|
|
16858
|
-
}, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue));
|
|
16859
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16860
|
-
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
16861
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16862
|
-
className: "m-0 p-0 font-weight-500"
|
|
16863
|
-
}, lang.qty, ": ", item.quantity)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16864
|
-
className: "col-4 d-flex text-end"
|
|
16865
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16866
|
-
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
16867
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat9 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat9 === void 0 || (_lastOrderinfoObj$dat9 = _lastOrderinfoObj$dat9.orderinfo) === null || _lastOrderinfoObj$dat9 === void 0 ? void 0 : _lastOrderinfoObj$dat9.currencyname_en : '', " ", item.finalprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat10 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat10 === void 0 || (_lastOrderinfoObj$dat10 = _lastOrderinfoObj$dat10.orderinfo) === null || _lastOrderinfoObj$dat10 === void 0 ? void 0 : _lastOrderinfoObj$dat10.currencyname_ar : '')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16868
|
-
"class": "col-12 my-2"
|
|
16869
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16870
|
-
style: {
|
|
16871
|
-
width: '100%',
|
|
16872
|
-
height: 1,
|
|
16873
|
-
background: '#eee'
|
|
16874
|
-
}
|
|
16875
|
-
}))));
|
|
16876
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16877
|
-
"class": "col-lg-12 p-0 mt-5",
|
|
16878
|
-
style: {
|
|
16879
|
-
fontSize: 16
|
|
16880
|
-
}
|
|
16881
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16882
|
-
className: "row m-0 w-100 font-weight-600"
|
|
16883
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16884
|
-
"class": "col-6 text-start"
|
|
16885
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16886
|
-
className: "m-0 p-0"
|
|
16887
|
-
}, langdetect == 'en' ? 'Sub total' : 'الاجمالي')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16888
|
-
"class": "col-6 text-end"
|
|
16889
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16890
|
-
className: "m-0 p-0 font-weight-500"
|
|
16891
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat11 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat11 === void 0 || (_lastOrderinfoObj$dat11 = _lastOrderinfoObj$dat11.orderinfo) === null || _lastOrderinfoObj$dat11 === void 0 ? void 0 : _lastOrderinfoObj$dat11.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat12 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat12 === void 0 ? void 0 : _lastOrderinfoObj$dat12.totalitemsprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat13 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat13 === void 0 || (_lastOrderinfoObj$dat13 = _lastOrderinfoObj$dat13.orderinfo) === null || _lastOrderinfoObj$dat13 === void 0 ? void 0 : _lastOrderinfoObj$dat13.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16892
|
-
"class": "col-lg-12 p-0 mt-1",
|
|
16893
|
-
style: {
|
|
16894
|
-
fontSize: 16
|
|
16895
|
-
}
|
|
16896
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16897
|
-
className: "row m-0 w-100 font-weight-600"
|
|
16898
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16899
|
-
"class": "col-6 text-start"
|
|
16900
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16901
|
-
className: "m-0 p-0"
|
|
16902
|
-
}, langdetect == 'en' ? 'Shipping' : 'الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16903
|
-
"class": "col-6 text-end"
|
|
16904
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16905
|
-
className: "m-0 p-0 font-weight-500"
|
|
16906
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat14 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat14 === void 0 || (_lastOrderinfoObj$dat14 = _lastOrderinfoObj$dat14.orderinfo) === null || _lastOrderinfoObj$dat14 === void 0 ? void 0 : _lastOrderinfoObj$dat14.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat15 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat15 === void 0 ? void 0 : _lastOrderinfoObj$dat15.ordershippingfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat16 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat16 === void 0 || (_lastOrderinfoObj$dat16 = _lastOrderinfoObj$dat16.orderinfo) === null || _lastOrderinfoObj$dat16 === void 0 ? void 0 : _lastOrderinfoObj$dat16.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16907
|
-
"class": "col-lg-12 p-0 my-3"
|
|
16908
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16909
|
-
style: {
|
|
16910
|
-
width: '100%',
|
|
16911
|
-
height: 1,
|
|
16912
|
-
background: '#eee'
|
|
16913
|
-
}
|
|
16914
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16915
|
-
"class": "col-lg-12 p-0 mt-1",
|
|
16916
|
-
style: {
|
|
16917
|
-
fontSize: 16
|
|
16918
|
-
}
|
|
16919
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16920
|
-
className: "row m-0 w-100 font-weight-600"
|
|
16921
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16922
|
-
"class": "col-6 text-start"
|
|
16923
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16924
|
-
className: "m-0 p-0"
|
|
16925
|
-
}, langdetect == 'en' ? 'Total' : 'الاجمالي')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16926
|
-
"class": "col-6 text-end"
|
|
16927
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16928
|
-
className: "m-0 p-0 font-weight-500"
|
|
16929
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat17 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat17 === void 0 || (_lastOrderinfoObj$dat17 = _lastOrderinfoObj$dat17.orderinfo) === null || _lastOrderinfoObj$dat17 === void 0 ? void 0 : _lastOrderinfoObj$dat17.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat18 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat18 === void 0 ? void 0 : _lastOrderinfoObj$dat18.totalorderfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat19 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat19 === void 0 || (_lastOrderinfoObj$dat19 = _lastOrderinfoObj$dat19.orderinfo) === null || _lastOrderinfoObj$dat19 === void 0 ? void 0 : _lastOrderinfoObj$dat19.currencyname_ar : ''))))))), sectionproperties.cardstyletype != 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16646
|
+
}, sectionproperties.cardstyletype != 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16930
16647
|
className: "col-lg-12 allcentered flex-column "
|
|
16931
16648
|
}, /*#__PURE__*/React__default["default"].createElement(IoBagCheckOutline.IoBagCheckOutline, {
|
|
16932
16649
|
size: sectionproperties.icontextfontsize,
|
|
@@ -33184,15 +32901,15 @@ var Simpleheader = function Simpleheader(props) {
|
|
|
33184
32901
|
}, /*#__PURE__*/React__default["default"].createElement(FloatingIcons, {
|
|
33185
32902
|
sectionpropertiesprops: sectionproperties,
|
|
33186
32903
|
actions: actions
|
|
33187
|
-
}), templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
|
|
33188
|
-
sectionpropertiesprops: sectionproperties,
|
|
33189
|
-
templateproperties_contextprops: templateproperties_context,
|
|
33190
|
-
actions: actions
|
|
33191
32904
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33192
32905
|
"class": " ".concat(header_cssstyles.headercontainer) + ' d-flex d-md-none align-items-center m-0 '
|
|
33193
32906
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33194
32907
|
"class": "row m-0 w-100 "
|
|
33195
|
-
}, templateproperties_context.
|
|
32908
|
+
}, templateproperties_context.showsocialmedia == 'Show' && /*#__PURE__*/React__default["default"].createElement(SocialMediaSection, {
|
|
32909
|
+
sectionpropertiesprops: sectionproperties,
|
|
32910
|
+
templateproperties_contextprops: templateproperties_context,
|
|
32911
|
+
actions: actions
|
|
32912
|
+
}), templateproperties_context.showtextslider == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
33196
32913
|
"class": "col-lg-12 p-0 d-flex d-md-none"
|
|
33197
32914
|
}, /*#__PURE__*/React__default["default"].createElement(MarqueeHeader, {
|
|
33198
32915
|
sectionpropertiesprops: sectionproperties,
|
|
@@ -52848,7 +52565,7 @@ var ModernFooter = function ModernFooter(props) {
|
|
|
52848
52565
|
function ownKeys$1v(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; }
|
|
52849
52566
|
function _objectSpread$1v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1v(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
52850
52567
|
var Newsletterfooter = function Newsletterfooter(props) {
|
|
52851
|
-
var _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$i26, _authdetailsContext$i28, _authdetailsContext$i30, _authdetailsContext$i32, _authdetailsContext$i34, _authdetailsContext$
|
|
52568
|
+
var _bgimagearrayofobjs$, _bgimagearrayofobjs$2, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i11, _authdetailsContext$i14, _authdetailsContext$i17, _authdetailsContext$i20, _authdetailsContext$i23, _authdetailsContext$i26, _authdetailsContext$i28, _authdetailsContext$i30, _authdetailsContext$i32, _authdetailsContext$i34, _authdetailsContext$i39, _authdetailsContext$i40, _fetchcustomercartQue, _fetchcustomercartQue2;
|
|
52852
52569
|
var _useState = React.useState(''),
|
|
52853
52570
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
52854
52571
|
sectionproperties = _useState2[0],
|
|
@@ -53518,17 +53235,6 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
53518
53235
|
}
|
|
53519
53236
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
53520
53237
|
size: sectionproperties.youtubebtniconfontsize
|
|
53521
|
-
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.googlemapslink) != null && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
53522
|
-
"class": footerStyles.youtube_btn + ' m-0 p-0 allcentered mx-2 mb-2 ',
|
|
53523
|
-
onClick: function onClick() {
|
|
53524
|
-
var _authdetailsContext$i38;
|
|
53525
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.googlemapslink) != null) {
|
|
53526
|
-
var _authdetailsContext$i39;
|
|
53527
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.googlemapslink, '_blank');
|
|
53528
|
-
}
|
|
53529
|
-
}
|
|
53530
|
-
}, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
|
|
53531
|
-
size: sectionproperties.youtubebtniconfontsize
|
|
53532
53238
|
}))), sectionproperties.showdownloadsection == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53533
53239
|
"class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
|
|
53534
53240
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -53544,15 +53250,15 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
53544
53250
|
"class": langdetect == 'en' ? "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer mr-2 ' : "".concat(footerStyles.apptore) + ' d-flex justify-content-center align-items-center cursor-pointer ml-2 ',
|
|
53545
53251
|
src: 'https://tabex-co.com/storage/StaticImages/appstore.png',
|
|
53546
53252
|
onClick: function onClick() {
|
|
53547
|
-
var _authdetailsContext$
|
|
53548
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
53253
|
+
var _authdetailsContext$i37;
|
|
53254
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i37 = authdetailsContext.instinfo) === null || _authdetailsContext$i37 === void 0 ? void 0 : _authdetailsContext$i37.mobileapplink_appstore, '_blank');
|
|
53549
53255
|
}
|
|
53550
53256
|
}), sectionproperties.showplaystore == 'Show' && /*#__PURE__*/React__default["default"].createElement("img", {
|
|
53551
53257
|
"class": "".concat(footerStyles.googleplay) + ' d-flex justify-content-center align-items-center cursor-pointer mx-2 ',
|
|
53552
53258
|
src: 'https://tabex-co.com/storage/StaticImages/googleplay.png',
|
|
53553
53259
|
onClick: function onClick() {
|
|
53554
|
-
var _authdetailsContext$
|
|
53555
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
53260
|
+
var _authdetailsContext$i38;
|
|
53261
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i38 = authdetailsContext.instinfo) === null || _authdetailsContext$i38 === void 0 ? void 0 : _authdetailsContext$i38.mobileapplink_playstore, '_blank');
|
|
53556
53262
|
}
|
|
53557
53263
|
}))), sectionproperties.showfooteraddress == 'Show' && sectionproperties.storeinfostyle == 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53558
53264
|
"class": "row m-0 w-100 d-flex flex-row justify-content-start align-items-center mt-4"
|
|
@@ -53569,7 +53275,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
53569
53275
|
"class": ' h-100 d-flex align-items-center justify-content-center mr-2 ml-2 '
|
|
53570
53276
|
}, /*#__PURE__*/React__default["default"].createElement(IoLocationSharp.IoLocationSharp, {
|
|
53571
53277
|
size: 30
|
|
53572
|
-
})), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
53278
|
+
})), langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i39 = authdetailsContext.instinfo) === null || _authdetailsContext$i39 === void 0 ? void 0 : _authdetailsContext$i39.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i40 = authdetailsContext.instinfo) === null || _authdetailsContext$i40 === void 0 ? void 0 : _authdetailsContext$i40.address_ar)))), sectionproperties.showpaymentfooter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
53573
53279
|
"class": "col-lg-12 p-0 d-block my-3"
|
|
53574
53280
|
}, /*#__PURE__*/React__default["default"].createElement("hr", {
|
|
53575
53281
|
"class": "m-0 p-0"
|
|
@@ -60349,7 +60055,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
|
|
|
60349
60055
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
60350
60056
|
placeholder: '',
|
|
60351
60057
|
isSearchable: true
|
|
60352
|
-
})), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60058
|
+
})), sectionproperties.hidecountrystatecity == 'Show' && props.srcfrom != 'filter' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60353
60059
|
className: props.srcfrom == 'filter' ? ' col-lg-4 col-md-12 col-sm-12 mb-sm-3 ' : sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
60354
60060
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
60355
60061
|
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
@@ -60408,7 +60114,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
|
|
|
60408
60114
|
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
60409
60115
|
placeholder: '',
|
|
60410
60116
|
isSearchable: true
|
|
60411
|
-
})), sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60117
|
+
})), sectionproperties.hidecountrystatecity == 'Show' && props.srcfrom != 'filter' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60412
60118
|
className: props.srcfrom == 'filter' ? ' col-lg-4 col-md-12 col-sm-12 mb-sm-3 ' : sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
60413
60119
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
60414
60120
|
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
@@ -60494,7 +60200,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
|
|
|
60494
60200
|
function ownKeys$1f(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; }
|
|
60495
60201
|
function _objectSpread$1f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1f(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
60496
60202
|
var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props) {
|
|
60497
|
-
var _css
|
|
60203
|
+
var _css;
|
|
60498
60204
|
var _useState = React.useState(''),
|
|
60499
60205
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
60500
60206
|
sectionproperties = _useState2[0],
|
|
@@ -60521,7 +60227,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
60521
60227
|
var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
60522
60228
|
var fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
|
|
60523
60229
|
var fetchproductsfilerobjcontext = props.actions.fetchproductsfilerobjcontext;
|
|
60524
|
-
|
|
60230
|
+
props.actions.fetchProductFeaturesQueryContext;
|
|
60525
60231
|
var routingcountext = props.actions.routingcountext;
|
|
60526
60232
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
60527
60233
|
// const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
|
|
@@ -60542,21 +60248,21 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
60542
60248
|
_useState12[0];
|
|
60543
60249
|
_useState12[1];
|
|
60544
60250
|
var _useState13 = React.useState([]),
|
|
60545
|
-
_useState14 = _slicedToArray__default["default"](_useState13, 2)
|
|
60546
|
-
|
|
60547
|
-
|
|
60251
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2);
|
|
60252
|
+
_useState14[0];
|
|
60253
|
+
_useState14[1];
|
|
60548
60254
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
60549
60255
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
60550
60256
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
60551
60257
|
props.actions.fetchcollectionsQueryContext;
|
|
60552
60258
|
var _useState15 = React.useState(''),
|
|
60553
|
-
_useState16 = _slicedToArray__default["default"](_useState15, 2)
|
|
60554
|
-
|
|
60555
|
-
|
|
60259
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2);
|
|
60260
|
+
_useState16[0];
|
|
60261
|
+
_useState16[1];
|
|
60556
60262
|
var _useState17 = React.useState(''),
|
|
60557
|
-
_useState18 = _slicedToArray__default["default"](_useState17, 2)
|
|
60558
|
-
|
|
60559
|
-
|
|
60263
|
+
_useState18 = _slicedToArray__default["default"](_useState17, 2);
|
|
60264
|
+
_useState18[0];
|
|
60265
|
+
_useState18[1];
|
|
60560
60266
|
React.useEffect(function () {
|
|
60561
60267
|
var tempFetchQueriesEngineContext = _objectSpread$1f({}, FetchQueriesEngineContext);
|
|
60562
60268
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
@@ -60922,299 +60628,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
60922
60628
|
routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
60923
60629
|
}
|
|
60924
60630
|
}
|
|
60925
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))
|
|
60926
|
-
"class": "row m-0 w-100 allcentered mt-auto mb-4 px-4",
|
|
60927
|
-
style: {
|
|
60928
|
-
zIndex: 2
|
|
60929
|
-
}
|
|
60930
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60931
|
-
"class": imagesarray.length != 0 ? 'row m-0 w-100 d-flex align-items-center justify-content-start' : 'row m-0 w-100 d-flex align-items-center justify-content-center'
|
|
60932
|
-
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60933
|
-
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
|
|
60934
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60935
|
-
"class": "wordbreak",
|
|
60936
|
-
style: {
|
|
60937
|
-
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
60938
|
-
color: sectionproperties.sectionTitleColor,
|
|
60939
|
-
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
60940
|
-
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
60941
|
-
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
60942
|
-
marginBottom: sectionproperties.prodCatShow == 'Show' ? 0 : 20
|
|
60943
|
-
}
|
|
60944
|
-
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60945
|
-
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
|
|
60946
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60947
|
-
style: {
|
|
60948
|
-
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
60949
|
-
color: sectionproperties.prodCatColor,
|
|
60950
|
-
textTransform: sectionproperties.prodCatTextTranform,
|
|
60951
|
-
fontWeight: sectionproperties.prodCatFontWeight,
|
|
60952
|
-
maxWidth: '500px'
|
|
60953
|
-
}
|
|
60954
|
-
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60955
|
-
"class": 'col-lg-11 col-md-12 col-sm-12 allcentered mt-3',
|
|
60956
|
-
style: {
|
|
60957
|
-
backgroundColor: sectionproperties.reservation_bgcolor,
|
|
60958
|
-
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
60959
|
-
paddingTop: sectionproperties.reservation_padding_top + 'px',
|
|
60960
|
-
paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
|
|
60961
|
-
paddingLeft: sectionproperties.reservation_padding_left + 'px',
|
|
60962
|
-
paddingRight: sectionproperties.reservation_padding_right + 'px'
|
|
60963
|
-
}
|
|
60964
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60965
|
-
"class": "row m-0 w-100 allcentered"
|
|
60966
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60967
|
-
"class": "col-lg-12 p-0"
|
|
60968
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60969
|
-
"class": "row m-0 w-100 d-flex align-items-center justify-content-start"
|
|
60970
|
-
}, (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) {
|
|
60971
|
-
if (item.type == 'Selectbox') {
|
|
60972
|
-
var _item$featuresselectb;
|
|
60973
|
-
var selectboxarr = [];
|
|
60974
|
-
item === null || item === void 0 || (_item$featuresselectb = item.featuresselectbovalue) === null || _item$featuresselectb === void 0 || _item$featuresselectb.forEach(function (slecitem) {
|
|
60975
|
-
var itemlabel = '';
|
|
60976
|
-
if (langdetect == 'en') {
|
|
60977
|
-
itemlabel = slecitem.value_en;
|
|
60978
|
-
} else {
|
|
60979
|
-
itemlabel = slecitem.value_ar;
|
|
60980
|
-
}
|
|
60981
|
-
selectboxarr.push({
|
|
60982
|
-
label: itemlabel,
|
|
60983
|
-
value: slecitem.value_en
|
|
60984
|
-
});
|
|
60985
|
-
});
|
|
60986
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60987
|
-
"class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
|
|
60988
|
-
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
60989
|
-
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
60990
|
-
style: {
|
|
60991
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
60992
|
-
}
|
|
60993
|
-
}, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
60994
|
-
"class": 'col-lg-12 p-0'
|
|
60995
|
-
}, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
60996
|
-
options: selectboxarr,
|
|
60997
|
-
styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
|
|
60998
|
-
placeholder: '',
|
|
60999
|
-
onChange: function onChange(e) {
|
|
61000
|
-
var isattrexists = false;
|
|
61001
|
-
var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
|
|
61002
|
-
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
61003
|
-
if (attritem.id == item.id) {
|
|
61004
|
-
tempproductfeatuesarr[attrindex].value = e.value;
|
|
61005
|
-
isattrexists = true;
|
|
61006
|
-
}
|
|
61007
|
-
});
|
|
61008
|
-
if (isattrexists == false) {
|
|
61009
|
-
tempproductfeatuesarr.push({
|
|
61010
|
-
id: item.id,
|
|
61011
|
-
value: e.value
|
|
61012
|
-
});
|
|
61013
|
-
}
|
|
61014
|
-
setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
|
|
61015
|
-
}
|
|
61016
|
-
})));
|
|
61017
|
-
}
|
|
61018
|
-
if (item.type == 'Number') {
|
|
61019
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61020
|
-
"class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
|
|
61021
|
-
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
61022
|
-
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
61023
|
-
style: {
|
|
61024
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
61025
|
-
}
|
|
61026
|
-
}, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61027
|
-
"class": 'col-lg-12 p-0 mt-1'
|
|
61028
|
-
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
61029
|
-
type: "number",
|
|
61030
|
-
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control),
|
|
61031
|
-
placeholder: '',
|
|
61032
|
-
onChange: function onChange(e) {
|
|
61033
|
-
var isattrexists = false;
|
|
61034
|
-
var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
|
|
61035
|
-
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
61036
|
-
if (attritem.id == item.id) {
|
|
61037
|
-
tempproductfeatuesarr[attrindex].value = e.target.value;
|
|
61038
|
-
isattrexists = true;
|
|
61039
|
-
}
|
|
61040
|
-
});
|
|
61041
|
-
if (isattrexists == false) {
|
|
61042
|
-
tempproductfeatuesarr.push({
|
|
61043
|
-
id: item.id,
|
|
61044
|
-
value: e.target.value
|
|
61045
|
-
});
|
|
61046
|
-
}
|
|
61047
|
-
setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
|
|
61048
|
-
}
|
|
61049
|
-
})));
|
|
61050
|
-
}
|
|
61051
|
-
if (item.type == 'NumberRange') {
|
|
61052
|
-
var temppricevalue = {
|
|
61053
|
-
min: 0,
|
|
61054
|
-
max: 10000
|
|
61055
|
-
};
|
|
61056
|
-
var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
|
|
61057
|
-
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
61058
|
-
if (attritem.id == item.id) {
|
|
61059
|
-
var _attritem$value, _attritem$valuemax;
|
|
61060
|
-
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) {
|
|
61061
|
-
temppricevalue.min = attritem.value;
|
|
61062
|
-
}
|
|
61063
|
-
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) {
|
|
61064
|
-
temppricevalue.max = attritem.valuemax;
|
|
61065
|
-
}
|
|
61066
|
-
}
|
|
61067
|
-
});
|
|
61068
|
-
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61069
|
-
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-3 '
|
|
61070
|
-
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
61071
|
-
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
|
|
61072
|
-
style: {
|
|
61073
|
-
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
61074
|
-
}
|
|
61075
|
-
}, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61076
|
-
"class": 'col-lg-12 pl-4 pr-4 mt-2 mb-2',
|
|
61077
|
-
style: {
|
|
61078
|
-
direction: 'ltr'
|
|
61079
|
-
}
|
|
61080
|
-
}, /*#__PURE__*/React__default["default"].createElement(InputRange__default["default"], {
|
|
61081
|
-
draggableTrack: true,
|
|
61082
|
-
formatLabel: function formatLabel(value) {
|
|
61083
|
-
return "".concat(value);
|
|
61084
|
-
},
|
|
61085
|
-
maxValue: parseInt(sectionproperties.filterpricemaxvalue),
|
|
61086
|
-
minValue: parseInt(sectionproperties.filterpriceminvalue),
|
|
61087
|
-
value: temppricevalue,
|
|
61088
|
-
onChange: function onChange(e) {
|
|
61089
|
-
// setpricevalue({ ...value });
|
|
61090
|
-
var isattrexists = false;
|
|
61091
|
-
var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
|
|
61092
|
-
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
61093
|
-
if (attritem.id == item.id) {
|
|
61094
|
-
tempproductfeatuesarr[attrindex].value = e.min;
|
|
61095
|
-
tempproductfeatuesarr[attrindex].valuemax = e.max;
|
|
61096
|
-
isattrexists = true;
|
|
61097
|
-
}
|
|
61098
|
-
});
|
|
61099
|
-
if (isattrexists == false) {
|
|
61100
|
-
tempproductfeatuesarr.push({
|
|
61101
|
-
id: item.id,
|
|
61102
|
-
value: e.min,
|
|
61103
|
-
valuemax: e.max
|
|
61104
|
-
});
|
|
61105
|
-
}
|
|
61106
|
-
setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
|
|
61107
|
-
}
|
|
61108
|
-
})));
|
|
61109
|
-
}
|
|
61110
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61111
|
-
"class": "col-lg-3 col-md-12"
|
|
61112
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61113
|
-
"class": "row m-0 w-100"
|
|
61114
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61115
|
-
"class": "col-lg-12 p-0 text-start"
|
|
61116
|
-
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
61117
|
-
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
|
|
61118
|
-
style: {
|
|
61119
|
-
color: sectionproperties.form_labelcolor,
|
|
61120
|
-
textTransform: sectionproperties.form_labeltexttransform,
|
|
61121
|
-
fontWeight: sectionproperties.form_labelfontweight,
|
|
61122
|
-
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
61123
|
-
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
|
|
61124
|
-
}
|
|
61125
|
-
}, langdetect == 'en' ? 'From' : 'من')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61126
|
-
"class": "col-lg-12 p-0 text-start"
|
|
61127
|
-
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
61128
|
-
type: 'date',
|
|
61129
|
-
onChange: function onChange(e) {
|
|
61130
|
-
setfrom_date_filter_input(e.target.value);
|
|
61131
|
-
},
|
|
61132
|
-
value: from_date_filter_input,
|
|
61133
|
-
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
|
|
61134
|
-
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61135
|
-
"class": "col-lg-3 col-md-12"
|
|
61136
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61137
|
-
"class": "col-lg-12 p-0 text-start"
|
|
61138
|
-
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
61139
|
-
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
|
|
61140
|
-
style: {
|
|
61141
|
-
color: sectionproperties.form_labelcolor,
|
|
61142
|
-
textTransform: sectionproperties.form_labeltexttransform,
|
|
61143
|
-
fontWeight: sectionproperties.form_labelfontweight,
|
|
61144
|
-
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
61145
|
-
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0
|
|
61146
|
-
}
|
|
61147
|
-
}, langdetect == 'en' ? 'To' : 'الى')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61148
|
-
"class": "col-lg-12 p-0 text-start"
|
|
61149
|
-
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
61150
|
-
type: 'date',
|
|
61151
|
-
onChange: function onChange(e) {
|
|
61152
|
-
setto_date_filter_input(e.target.value);
|
|
61153
|
-
},
|
|
61154
|
-
value: to_date_filter_input,
|
|
61155
|
-
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
|
|
61156
|
-
})), "\xA0"), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
61157
|
-
"class": "col-lg-2 col-md-12 text-end",
|
|
61158
|
-
style: {
|
|
61159
|
-
marginLeft: langdetect == 'en' ? 'auto' : '',
|
|
61160
|
-
marginRight: langdetect == 'ar' ? 'auto' : ''
|
|
61161
|
-
}
|
|
61162
|
-
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
61163
|
-
"class": sectionstyles.btnstyles + ' allcentered ',
|
|
61164
|
-
onClick: function onClick() {
|
|
61165
|
-
var _payloadobj$countryid2, _payloadobj$stateid2, _payloadobj$cityid2, _pricevalue$min2, _pricevalue$max2;
|
|
61166
|
-
var tempfetchproductsfilerobjcontext = _objectSpread$1f({}, fetchproductsfilerobjcontext);
|
|
61167
|
-
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.countryid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$countryid2 = payloadobj.countryid) === null || _payloadobj$countryid2 === void 0 ? void 0 : _payloadobj$countryid2.length) != 0) {
|
|
61168
|
-
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
61169
|
-
tempfetchproductsfilerobjcontext.country_ids = [payloadobj.countryid];
|
|
61170
|
-
} else {
|
|
61171
|
-
tempfetchproductsfilerobjcontext.countryid = payloadobj.countryid;
|
|
61172
|
-
}
|
|
61173
|
-
}
|
|
61174
|
-
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.stateid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$stateid2 = payloadobj.stateid) === null || _payloadobj$stateid2 === void 0 ? void 0 : _payloadobj$stateid2.length) != 0) {
|
|
61175
|
-
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
61176
|
-
tempfetchproductsfilerobjcontext.state_ids = [payloadobj.stateid];
|
|
61177
|
-
} else {
|
|
61178
|
-
tempfetchproductsfilerobjcontext.stateid = payloadobj.stateid;
|
|
61179
|
-
}
|
|
61180
|
-
}
|
|
61181
|
-
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.cityid) != null && (payloadobj === null || payloadobj === void 0 || (_payloadobj$cityid2 = payloadobj.cityid) === null || _payloadobj$cityid2 === void 0 ? void 0 : _payloadobj$cityid2.length) != 0) {
|
|
61182
|
-
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
61183
|
-
tempfetchproductsfilerobjcontext.city_ids = [payloadobj.cityid];
|
|
61184
|
-
} else {
|
|
61185
|
-
tempfetchproductsfilerobjcontext.cityid = payloadobj.cityid;
|
|
61186
|
-
}
|
|
61187
|
-
}
|
|
61188
|
-
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.collections) != null && payloadobj.collections.length != 0) {
|
|
61189
|
-
tempfetchproductsfilerobjcontext.collections = payloadobj.collections;
|
|
61190
|
-
}
|
|
61191
|
-
if ((pricevalue === null || pricevalue === void 0 ? void 0 : pricevalue.min) != null && (pricevalue === null || pricevalue === void 0 || (_pricevalue$min2 = pricevalue.min) === null || _pricevalue$min2 === void 0 ? void 0 : _pricevalue$min2.length) != 0) {
|
|
61192
|
-
tempfetchproductsfilerobjcontext.price_min = pricevalue.min;
|
|
61193
|
-
}
|
|
61194
|
-
if ((pricevalue === null || pricevalue === void 0 ? void 0 : pricevalue.max) != null && (pricevalue === null || pricevalue === void 0 || (_pricevalue$max2 = pricevalue.max) === null || _pricevalue$max2 === void 0 ? void 0 : _pricevalue$max2.length) != 0) {
|
|
61195
|
-
if (sectionproperties.showpricerange == 'Hide') {
|
|
61196
|
-
tempfetchproductsfilerobjcontext.price_max = 99999999999999;
|
|
61197
|
-
} else {
|
|
61198
|
-
tempfetchproductsfilerobjcontext.price_max = pricevalue.max;
|
|
61199
|
-
}
|
|
61200
|
-
}
|
|
61201
|
-
if (productfeatuesarr != undefined && productfeatuesarr != null && Array.isArray(productfeatuesarr) && (productfeatuesarr === null || productfeatuesarr === void 0 ? void 0 : productfeatuesarr.length) != 0) {
|
|
61202
|
-
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
61203
|
-
}
|
|
61204
|
-
if (from_date_filter_input != undefined && from_date_filter_input != null && (from_date_filter_input === null || from_date_filter_input === void 0 ? void 0 : from_date_filter_input.length) != 0) {
|
|
61205
|
-
tempfetchproductsfilerobjcontext.from_date_filter = from_date_filter_input;
|
|
61206
|
-
}
|
|
61207
|
-
if (to_date_filter_input != undefined && to_date_filter_input != null && (to_date_filter_input === null || to_date_filter_input === void 0 ? void 0 : to_date_filter_input.length) != 0) {
|
|
61208
|
-
tempfetchproductsfilerobjcontext.to_date_filter = to_date_filter_input;
|
|
61209
|
-
}
|
|
61210
|
-
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
61211
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
61212
|
-
}
|
|
61213
|
-
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Vendors') {
|
|
61214
|
-
routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
61215
|
-
}
|
|
61216
|
-
}
|
|
61217
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))))));
|
|
60631
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))));
|
|
61218
60632
|
};
|
|
61219
60633
|
|
|
61220
60634
|
function ownKeys$1e(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; }
|
|
@@ -66167,7 +65581,9 @@ var Image_with_leftwords = function Image_with_leftwords(props) {
|
|
|
66167
65581
|
style: {
|
|
66168
65582
|
position: 'relative',
|
|
66169
65583
|
justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
|
|
66170
|
-
fontSize: sectionproperties.prodCatFontSize + 'px'
|
|
65584
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
65585
|
+
marginLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
|
|
65586
|
+
marginRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px'
|
|
66171
65587
|
// paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
|
|
66172
65588
|
// paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
|
|
66173
65589
|
}
|
|
@@ -69133,10 +68549,11 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
69133
68549
|
}, sectionproperties.slideshowtext2_show && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
69134
68550
|
"class": "m-0 wordbreak",
|
|
69135
68551
|
style: {
|
|
69136
|
-
color: sectionproperties.slideshowText2ContentColor,
|
|
68552
|
+
// color: sectionproperties.slideshowText2ContentColor,
|
|
69137
68553
|
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
69138
68554
|
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
69139
|
-
textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : ''
|
|
68555
|
+
textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
|
|
68556
|
+
color: cardinfoitem.text2colorfromarray
|
|
69140
68557
|
}
|
|
69141
68558
|
}, langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar))))));
|
|
69142
68559
|
}))))));
|
|
@@ -85933,7 +85350,19 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
85933
85350
|
style: {
|
|
85934
85351
|
fontWeight: sectionproperties.profitcontainersecondaryfontweight
|
|
85935
85352
|
}
|
|
85936
|
-
}, langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.hassale == 1 ? item.defaultsaleprice : item.defaultprice) * (item.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.
|
|
85353
|
+
}, langdetect == 'en' ? item.currencyname : '', ' ', parseFloat(Math.round(parseInt(item.hassale == 1 ? item.defaultsaleprice : item.defaultprice) * (item.prodaffpercentprofit / 100))).toFixed(0), ' ', langdetect == 'en' ? '' : item.currencyname)))), sectionproperties.quantityshow == 'Show' && item.currentquantity > 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
85354
|
+
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
85355
|
+
style: {
|
|
85356
|
+
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
85357
|
+
}
|
|
85358
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
85359
|
+
"class": "m-0 p-0",
|
|
85360
|
+
style: {
|
|
85361
|
+
fontSize: sectionproperties.quantityfontsize,
|
|
85362
|
+
color: sectionproperties.quantitycolor,
|
|
85363
|
+
fontWeight: sectionproperties.quantityfontweight
|
|
85364
|
+
}
|
|
85365
|
+
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)), sectionproperties.cartBtnShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
85937
85366
|
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
85938
85367
|
style: {
|
|
85939
85368
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
@@ -85972,19 +85401,7 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
85972
85401
|
}
|
|
85973
85402
|
}
|
|
85974
85403
|
// disabled={AddtoCartMutationContext.isLoading == true ? true : false}
|
|
85975
|
-
}, addtocartbuttonrender())), sectionproperties.
|
|
85976
|
-
"class": "col-lg-12 p-0 d-flex align-items-center",
|
|
85977
|
-
style: {
|
|
85978
|
-
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|
|
85979
|
-
}
|
|
85980
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
85981
|
-
"class": "m-0 p-0",
|
|
85982
|
-
style: {
|
|
85983
|
-
fontSize: sectionproperties.quantityfontsize,
|
|
85984
|
-
color: sectionproperties.quantitycolor,
|
|
85985
|
-
fontWeight: sectionproperties.quantityfontweight
|
|
85986
|
-
}
|
|
85987
|
-
}, langdetect == 'en' ? sectionproperties.qtytextinen : sectionproperties.qtytextinar, " ", item.currentquantity, ' ', langdetect == 'en' ? sectionproperties.qtytextinen2 : sectionproperties.qtytextinar2)))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
85404
|
+
}, addtocartbuttonrender())))), sectionproperties.showrating == 'Show' && item.productcanrate == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
85988
85405
|
"class": "col-lg-12 d-flex align-items-center p-0",
|
|
85989
85406
|
style: {
|
|
85990
85407
|
justifyContent: sectionproperties.productnamecentered == 'Centered' ? 'center' : 'start'
|