tabexseriescomponents 0.2.854 → 0.2.856
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 +454 -83
- package/dist/index.esm.js +453 -83
- package/dist/index.umd.js +457 -87
- package/package.json +2 -1
package/dist/index.cjs.js
CHANGED
|
@@ -165,6 +165,7 @@ var GoStar = require('@react-icons/all-files/go/GoStar');
|
|
|
165
165
|
var IoIosStar = require('@react-icons/all-files/io/IoIosStar');
|
|
166
166
|
var reactCountdownCircleTimer = require('react-countdown-circle-timer');
|
|
167
167
|
var reactTypeAnimation = require('react-type-animation');
|
|
168
|
+
var AnimatedNumbers = require('react-animated-numbers');
|
|
168
169
|
var BackgroundSlideshow = require('react-background-slideshow');
|
|
169
170
|
var HiOutlineLocationMarker = require('@react-icons/all-files/hi/HiOutlineLocationMarker');
|
|
170
171
|
var FiPhoneCall = require('@react-icons/all-files/fi/FiPhoneCall');
|
|
@@ -220,6 +221,7 @@ var Select__default = /*#__PURE__*/_interopDefaultLegacy(Select$4);
|
|
|
220
221
|
var PhoneInput__default = /*#__PURE__*/_interopDefaultLegacy(PhoneInput);
|
|
221
222
|
var InputRange__default = /*#__PURE__*/_interopDefaultLegacy(InputRange);
|
|
222
223
|
var ReactPaginate__default = /*#__PURE__*/_interopDefaultLegacy(ReactPaginate);
|
|
224
|
+
var AnimatedNumbers__default = /*#__PURE__*/_interopDefaultLegacy(AnimatedNumbers);
|
|
223
225
|
var BackgroundSlideshow__default = /*#__PURE__*/_interopDefaultLegacy(BackgroundSlideshow);
|
|
224
226
|
|
|
225
227
|
// import './index.module.css'
|
|
@@ -1222,6 +1224,71 @@ styleInject(css_248z$J);
|
|
|
1222
1224
|
|
|
1223
1225
|
function ownKeys$2D(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; }
|
|
1224
1226
|
function _objectSpread$2D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2D(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1227
|
+
var selectcustomStyles = {
|
|
1228
|
+
option: function option(provided, state) {
|
|
1229
|
+
return _objectSpread$2D(_objectSpread$2D({}, provided), {}, {
|
|
1230
|
+
borderBottom: '1px solid #e6e6e6',
|
|
1231
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
1232
|
+
padding: 5,
|
|
1233
|
+
textTransform: 'capitalize',
|
|
1234
|
+
color: state.isSelected ? '#eac435' : '#022648',
|
|
1235
|
+
transition: '.3s',
|
|
1236
|
+
'&:hover': {
|
|
1237
|
+
color: '#eac435',
|
|
1238
|
+
cursor: 'pointer'
|
|
1239
|
+
}
|
|
1240
|
+
});
|
|
1241
|
+
},
|
|
1242
|
+
control: function control() {
|
|
1243
|
+
return {
|
|
1244
|
+
border: '1px solid #e6e6e6',
|
|
1245
|
+
// boxShadow: '0 0 10px #e6e6e6',
|
|
1246
|
+
borderRadius: '5px',
|
|
1247
|
+
display: 'flex',
|
|
1248
|
+
cursor: 'pointer',
|
|
1249
|
+
transition: '.3s',
|
|
1250
|
+
'&:hover': {
|
|
1251
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1252
|
+
}
|
|
1253
|
+
};
|
|
1254
|
+
}
|
|
1255
|
+
};
|
|
1256
|
+
var selectcustomStylesTranslated = {
|
|
1257
|
+
option: function option(provided, state) {
|
|
1258
|
+
return _objectSpread$2D(_objectSpread$2D({}, provided), {}, {
|
|
1259
|
+
borderBottom: '1px solid #e6e6e6',
|
|
1260
|
+
backgroundColor: state.isSelected ? '' : '',
|
|
1261
|
+
padding: 5,
|
|
1262
|
+
textTransform: 'capitalize',
|
|
1263
|
+
color: state.isSelected ? '#eac435' : '#ffffff',
|
|
1264
|
+
transition: '.3s',
|
|
1265
|
+
textAlign: 'right',
|
|
1266
|
+
'&:hover': {
|
|
1267
|
+
color: '#eac435',
|
|
1268
|
+
cursor: 'pointer'
|
|
1269
|
+
}
|
|
1270
|
+
});
|
|
1271
|
+
},
|
|
1272
|
+
control: function control() {
|
|
1273
|
+
return {
|
|
1274
|
+
border: '2px solid #e6e6e6',
|
|
1275
|
+
// boxShadow: '0 0 10px #e6e6e6',
|
|
1276
|
+
borderRadius: '10px',
|
|
1277
|
+
display: 'flex',
|
|
1278
|
+
cursor: 'pointer',
|
|
1279
|
+
transition: '.3s',
|
|
1280
|
+
textAlign: 'right',
|
|
1281
|
+
'&:hover': {
|
|
1282
|
+
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1283
|
+
}
|
|
1284
|
+
};
|
|
1285
|
+
},
|
|
1286
|
+
placeholder: function placeholder(provided, state) {
|
|
1287
|
+
return _objectSpread$2D(_objectSpread$2D({}, provided), {}, {
|
|
1288
|
+
textAlign: 'right'
|
|
1289
|
+
});
|
|
1290
|
+
}
|
|
1291
|
+
};
|
|
1225
1292
|
var defaultstyles = {
|
|
1226
1293
|
option: function option(provided, state) {
|
|
1227
1294
|
return _objectSpread$2D(_objectSpread$2D({}, provided), {}, {
|
|
@@ -1485,7 +1552,7 @@ var Variantoptions = function Variantoptions(props) {
|
|
|
1485
1552
|
}
|
|
1486
1553
|
if (item.optionname == 'color' || item.optionname == 'Color') {
|
|
1487
1554
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1488
|
-
className: productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active)
|
|
1555
|
+
className: issingleoptionoutofstock(optionvaluesitem)['isoutofstock'] == true && sectionproperties.showoutofstockwithoutselection == 'Show' ? productinfostyles.color_container + ' mr-2 variabttcontainer showcrossiconcolor ' + "".concat(productinfostyles.color_container_active) : productinfostyles.color_container + ' mr-2 variabttcontainer ' + "".concat(productinfostyles.color_container_active)
|
|
1489
1556
|
// `${isoptionvalueselected == 1 ? productinfostyles.color_container_active : ''}`
|
|
1490
1557
|
,
|
|
1491
1558
|
onClick: function onClick() {
|
|
@@ -5347,7 +5414,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
5347
5414
|
function ownKeys$2y(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; }
|
|
5348
5415
|
function _objectSpread$2y(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2y(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2y(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5349
5416
|
var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
5350
|
-
var _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer22, _fetchProductInfoQuer23;
|
|
5417
|
+
var _fetchProductInfoQuer10, _fetchProductInfoQuer11, _fetchProductInfoQuer12, _authdetailsContext$i, _fetchProductInfoQuer13, _fetchProductInfoQuer14, _fetchProductInfoQuer15, _fetchProductInfoQuer18, _fetchProductInfoQuer19, _fetchProductInfoQuer22, _fetchProductInfoQuer23;
|
|
5351
5418
|
var langdetect = props.actions.langdetect;
|
|
5352
5419
|
var lang = props.actions.lang;
|
|
5353
5420
|
var sectionproperties = props.actions.sectionproperties;
|
|
@@ -5377,10 +5444,6 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
5377
5444
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
5378
5445
|
tabsarray = _useState2[0];
|
|
5379
5446
|
_useState2[1];
|
|
5380
|
-
// const excludeDates = [
|
|
5381
|
-
// new Date(2024, 12, 20), // Dec 25, 2024
|
|
5382
|
-
// new Date(2024, 12, 31), // Dec 31, 2024
|
|
5383
|
-
// ];
|
|
5384
5447
|
var _useState3 = React.useState(''),
|
|
5385
5448
|
_useState4 = _slicedToArray__default["default"](_useState3, 2);
|
|
5386
5449
|
_useState4[0];
|
|
@@ -5791,7 +5854,7 @@ var Serviceinfotabs = function Serviceinfotabs(props) {
|
|
|
5791
5854
|
"class": "col-lg-12 col-md-12 col-sm-12 mb-2"
|
|
5792
5855
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5793
5856
|
"class": "row m-0 w-100"
|
|
5794
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5857
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.contactinfo.instid) != '66cf4427e144e' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5795
5858
|
"class": "col-lg-12 d-flex justify-content-start p-0"
|
|
5796
5859
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5797
5860
|
"class": TabsStyles.inputfield_label + ' m-0 pb-2 '
|
|
@@ -17145,7 +17208,7 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
17145
17208
|
function ownKeys$2j(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; }
|
|
17146
17209
|
function _objectSpread$2j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2j(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17147
17210
|
var OrderSuccess = function OrderSuccess(props) {
|
|
17148
|
-
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _logoarrayofobjects$, _logoarrayofobjects$2, _lastOrderinfoObj$
|
|
17211
|
+
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2, _logoarrayofobjects$, _logoarrayofobjects$2, _lastOrderinfoObj$dat3, _lastOrderinfoObj$dat4, _lastOrderinfoObj$dat5, _lastOrderinfoObj$dat6, _lastOrderinfoObj$dat7, _lastOrderinfoObj$dat8, _lastOrderinfoObj$dat9, _lastOrderinfoObj$dat0, _lastOrderinfoObj$dat11, _lastOrderinfoObj$dat12, _lastOrderinfoObj$dat13, _lastOrderinfoObj$dat14, _lastOrderinfoObj$dat15, _lastOrderinfoObj$dat16, _lastOrderinfoObj$dat17, _lastOrderinfoObj$dat18, _lastOrderinfoObj$dat19, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
17149
17212
|
var lang = props.actions.lang;
|
|
17150
17213
|
var langdetect = props.actions.langdetect;
|
|
17151
17214
|
var routingcountext = props.actions.routingcountext;
|
|
@@ -17311,6 +17374,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17311
17374
|
})
|
|
17312
17375
|
};
|
|
17313
17376
|
var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat('My order number is ' + (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));
|
|
17377
|
+
var whatsappUrlshelghada = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.whatsappnumber, "?text=").concat('My reservation number is ' + (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.orderid));
|
|
17314
17378
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17315
17379
|
className: ordersuccessstyle.containerstyle + ' row ml-0 mr-0 w-100 justify-content-center pl-md-3 pr-md-3 pl-sm-2 pr-sm-2 ',
|
|
17316
17380
|
style: {}
|
|
@@ -17359,9 +17423,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17359
17423
|
style: {
|
|
17360
17424
|
fontSize: 15
|
|
17361
17425
|
}
|
|
17362
|
-
}, "Order #", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17426
|
+
}, "Order #", 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.orderid), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17363
17427
|
"class": "col-12 p-0 text-start mb-4 font-weight-500"
|
|
17364
|
-
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17428
|
+
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", 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.customername), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17365
17429
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
17366
17430
|
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17367
17431
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
@@ -17395,9 +17459,9 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17395
17459
|
}
|
|
17396
17460
|
}, langdetect == 'en' ? 'Contact Information' : 'بياتات العميل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17397
17461
|
"class": "col-12 p-0 text-start"
|
|
17398
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17462
|
+
}, /*#__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.customeremail)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17399
17463
|
"class": "col-12 p-0 text-start"
|
|
17400
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17464
|
+
}, /*#__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.customerphonenumber)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17401
17465
|
"class": "col-12 p-0 text-start mb-2"
|
|
17402
17466
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17403
17467
|
style: {
|
|
@@ -17407,7 +17471,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17407
17471
|
"class": "m-0"
|
|
17408
17472
|
}, langdetect == 'en' ? 'Shipping address' : 'عنوان الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17409
17473
|
"class": "col-12 p-0 text-start"
|
|
17410
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17474
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, 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.address)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17411
17475
|
"class": "col-6 col-md-12"
|
|
17412
17476
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17413
17477
|
"class": "col-12 p-0 text-start mb-2"
|
|
@@ -17419,7 +17483,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17419
17483
|
"class": "m-0"
|
|
17420
17484
|
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17421
17485
|
"class": "col-12 p-0 text-start"
|
|
17422
|
-
}, /*#__PURE__*/React__default["default"].createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17486
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat8 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat8 === void 0 || (_lastOrderinfoObj$dat8 = _lastOrderinfoObj$dat8.orderinfo) === null || _lastOrderinfoObj$dat8 === void 0 ? void 0 : _lastOrderinfoObj$dat8.paymentmethod) == 'cod' ? langdetect == 'en' ? 'Cash on delivery' : 'الدفع عند الاستلام' : 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.paymentmethod))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17423
17487
|
"class": "col-6 col-md-12 p-md-0"
|
|
17424
17488
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17425
17489
|
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
@@ -17439,8 +17503,8 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17439
17503
|
maxHeight: '40vh',
|
|
17440
17504
|
overflowY: 'auto'
|
|
17441
17505
|
}
|
|
17442
|
-
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17443
|
-
var _lastOrderinfoObj$
|
|
17506
|
+
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat0 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat0 === void 0 ? void 0 : _lastOrderinfoObj$dat0.orderitems.map(function (item, index) {
|
|
17507
|
+
var _lastOrderinfoObj$dat1, _lastOrderinfoObj$dat10;
|
|
17444
17508
|
var variantoptions = [];
|
|
17445
17509
|
if (item.isvariant == 1) {
|
|
17446
17510
|
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
@@ -17482,7 +17546,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17482
17546
|
className: "col-4 d-flex text-end"
|
|
17483
17547
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17484
17548
|
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
17485
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17549
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat1 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat1 === void 0 || (_lastOrderinfoObj$dat1 = _lastOrderinfoObj$dat1.orderinfo) === null || _lastOrderinfoObj$dat1 === void 0 ? void 0 : _lastOrderinfoObj$dat1.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", {
|
|
17486
17550
|
"class": "col-12 my-2"
|
|
17487
17551
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17488
17552
|
style: {
|
|
@@ -17506,7 +17570,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17506
17570
|
"class": "col-6 text-end"
|
|
17507
17571
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17508
17572
|
className: "m-0 p-0 font-weight-500"
|
|
17509
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17573
|
+
}, 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", {
|
|
17510
17574
|
"class": "col-lg-12 p-0 mt-1",
|
|
17511
17575
|
style: {
|
|
17512
17576
|
fontSize: 16
|
|
@@ -17521,7 +17585,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17521
17585
|
"class": "col-6 text-end"
|
|
17522
17586
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17523
17587
|
className: "m-0 p-0 font-weight-500"
|
|
17524
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17588
|
+
}, 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", {
|
|
17525
17589
|
"class": "col-lg-12 p-0 my-3"
|
|
17526
17590
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17527
17591
|
style: {
|
|
@@ -17544,7 +17608,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17544
17608
|
"class": "col-6 text-end"
|
|
17545
17609
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
17546
17610
|
className: "m-0 p-0 font-weight-500"
|
|
17547
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$
|
|
17611
|
+
}, 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 : '')))))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid) == '67d5d6dfefe6d' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17548
17612
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
17549
17613
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17550
17614
|
"class": ' allcentered cursor-pointer ',
|
|
@@ -17565,7 +17629,28 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
17565
17629
|
}
|
|
17566
17630
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
17567
17631
|
"class": ''
|
|
17568
|
-
}, 'Send it to whatsApp'))))
|
|
17632
|
+
}, 'Send it to whatsApp')))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.instid) == '681d303ba75f2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17633
|
+
"class": "col-12 allcentered mt-5 mb-3"
|
|
17634
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17635
|
+
"class": ' allcentered cursor-pointer ',
|
|
17636
|
+
style: {
|
|
17637
|
+
width: '200px',
|
|
17638
|
+
height: 40,
|
|
17639
|
+
borderRadius: 10,
|
|
17640
|
+
color: 'white',
|
|
17641
|
+
background: '#22cd5b'
|
|
17642
|
+
}
|
|
17643
|
+
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
17644
|
+
href: langdetect == 'en' ? whatsappUrlshelghada : whatsappUrlshelghada,
|
|
17645
|
+
target: "_blank",
|
|
17646
|
+
rel: "noopener noreferrer",
|
|
17647
|
+
"class": ' allcentered cursor-pointer ',
|
|
17648
|
+
style: {
|
|
17649
|
+
color: 'white'
|
|
17650
|
+
}
|
|
17651
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
17652
|
+
"class": ''
|
|
17653
|
+
}, 'Send your passport number via whatsApp'))))), sectionproperties.cardstyletype != 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
17569
17654
|
className: "col-lg-12 allcentered flex-column "
|
|
17570
17655
|
}, /*#__PURE__*/React__default["default"].createElement(IoBagCheckOutline.IoBagCheckOutline, {
|
|
17571
17656
|
size: sectionproperties.icontextfontsize,
|
|
@@ -46746,7 +46831,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
46746
46831
|
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
46747
46832
|
transition: '.3s',
|
|
46748
46833
|
':hover': {
|
|
46749
|
-
background: sectionproperties.favBtnbgColoronhover,
|
|
46834
|
+
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
46750
46835
|
color: sectionproperties.favBtnTextcoloronhover,
|
|
46751
46836
|
borderColor: sectionproperties.favBtnTextcoloronhover
|
|
46752
46837
|
}
|
|
@@ -46760,7 +46845,7 @@ var CenteredLogoHeaderWithSlider = function CenteredLogoHeaderWithSlider(props)
|
|
|
46760
46845
|
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
46761
46846
|
transition: '.3s',
|
|
46762
46847
|
':hover': {
|
|
46763
|
-
background: sectionproperties.cartBtnbgColoronhover,
|
|
46848
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
46764
46849
|
color: sectionproperties.cartBtnTextcoloronhover,
|
|
46765
46850
|
borderColor: sectionproperties.cartBtnTextcoloronhover
|
|
46766
46851
|
}
|
|
@@ -54935,7 +55020,7 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
54935
55020
|
}
|
|
54936
55021
|
}, favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length), /*#__PURE__*/React__default["default"].createElement(FaRegHeart.FaRegHeart, {
|
|
54937
55022
|
size: 18
|
|
54938
|
-
})), langdetect == 'en' ? 'Wishlist' : '
|
|
55023
|
+
})), langdetect == 'en' ? 'Wishlist' : 'المفضلة'), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
54939
55024
|
"class": footerStyles.subPages + ' flex-row m-0 p-0 ',
|
|
54940
55025
|
style: {
|
|
54941
55026
|
textAlign: 'center',
|
|
@@ -61937,7 +62022,7 @@ var CustomerAddressForm = function CustomerAddressForm(props) {
|
|
|
61937
62022
|
function ownKeys$1g(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; }
|
|
61938
62023
|
function _objectSpread$1g(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1g(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1g(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
61939
62024
|
var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props) {
|
|
61940
|
-
var _css,
|
|
62025
|
+
var _css, _fetchProductFeatures;
|
|
61941
62026
|
var _useState = React.useState(''),
|
|
61942
62027
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
61943
62028
|
sectionproperties = _useState2[0],
|
|
@@ -61953,7 +62038,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
61953
62038
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
61954
62039
|
imagesarray = _useState6[0],
|
|
61955
62040
|
setimagesarray = _useState6[1];
|
|
61956
|
-
|
|
62041
|
+
props.actions.lang;
|
|
61957
62042
|
var langdetect = props.actions.langdetect;
|
|
61958
62043
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
61959
62044
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
@@ -61964,7 +62049,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
61964
62049
|
var fetchTabexStatesQueryContext = props.actions.fetchTabexStatesQueryContext;
|
|
61965
62050
|
var fetchTabexCitiesQueryContext = props.actions.fetchTabexCitiesQueryContext;
|
|
61966
62051
|
var fetchproductsfilerobjcontext = props.actions.fetchproductsfilerobjcontext;
|
|
61967
|
-
props.actions.fetchProductFeaturesQueryContext;
|
|
62052
|
+
var fetchProductFeaturesQueryContext = props.actions.fetchProductFeaturesQueryContext;
|
|
61968
62053
|
var routingcountext = props.actions.routingcountext;
|
|
61969
62054
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
61970
62055
|
// const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
|
|
@@ -61985,21 +62070,21 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
61985
62070
|
_useState10[0];
|
|
61986
62071
|
_useState10[1];
|
|
61987
62072
|
var _useState11 = React.useState([]),
|
|
61988
|
-
_useState12 = _slicedToArray__default["default"](_useState11, 2)
|
|
61989
|
-
_useState12[0]
|
|
61990
|
-
_useState12[1];
|
|
62073
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
62074
|
+
productfeatuesarr = _useState12[0],
|
|
62075
|
+
setproductfeatuesarr = _useState12[1];
|
|
61991
62076
|
var FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
|
|
61992
62077
|
var setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
|
|
61993
62078
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
61994
62079
|
props.actions.fetchcollectionsQueryContext;
|
|
61995
62080
|
var _useState13 = React.useState(''),
|
|
61996
|
-
_useState14 = _slicedToArray__default["default"](_useState13, 2)
|
|
61997
|
-
_useState14[0]
|
|
61998
|
-
_useState14[1];
|
|
62081
|
+
_useState14 = _slicedToArray__default["default"](_useState13, 2),
|
|
62082
|
+
from_date_filter_input = _useState14[0],
|
|
62083
|
+
setfrom_date_filter_input = _useState14[1];
|
|
61999
62084
|
var _useState15 = React.useState(''),
|
|
62000
|
-
_useState16 = _slicedToArray__default["default"](_useState15, 2)
|
|
62001
|
-
_useState16[0]
|
|
62002
|
-
_useState16[1];
|
|
62085
|
+
_useState16 = _slicedToArray__default["default"](_useState15, 2),
|
|
62086
|
+
to_date_filter_input = _useState16[0],
|
|
62087
|
+
setto_date_filter_input = _useState16[1];
|
|
62003
62088
|
React.useEffect(function () {
|
|
62004
62089
|
var tempFetchQueriesEngineContext = _objectSpread$1g({}, FetchQueriesEngineContext);
|
|
62005
62090
|
tempFetchQueriesEngineContext.fetchtabexcountries = true;
|
|
@@ -62038,17 +62123,6 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
62038
62123
|
}
|
|
62039
62124
|
}
|
|
62040
62125
|
}, [sectionproperties]);
|
|
62041
|
-
var options = [{
|
|
62042
|
-
value: 'chocolate',
|
|
62043
|
-
label: 'السعودية'
|
|
62044
|
-
}];
|
|
62045
|
-
var optionsSTATE = [{
|
|
62046
|
-
value: 'chocolate',
|
|
62047
|
-
label: 'جدة'
|
|
62048
|
-
}, {
|
|
62049
|
-
value: 'chocolate',
|
|
62050
|
-
label: 'مكة'
|
|
62051
|
-
}];
|
|
62052
62126
|
var sectionstyles = {
|
|
62053
62127
|
form_control: glamor.css((_css = {
|
|
62054
62128
|
position: 'relative',
|
|
@@ -62124,8 +62198,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
62124
62198
|
marginRight: sectionproperties.card_marginRight + 'px',
|
|
62125
62199
|
backgroundColor: 'white',
|
|
62126
62200
|
'@media (max-width: 800px)': {
|
|
62127
|
-
height: sectionproperties.height_responsive + 'vh'
|
|
62128
|
-
marginTop: sectionproperties.marginTopResp + 'px'
|
|
62201
|
+
height: sectionproperties.height_responsive + 'vh'
|
|
62129
62202
|
}
|
|
62130
62203
|
})
|
|
62131
62204
|
};
|
|
@@ -62211,7 +62284,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
62211
62284
|
}, langdetect == 'en' ? sectionproperties.formRightText2 : sectionproperties.formRightText2_ar), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62212
62285
|
"class": "row m-0 w-100 justify-content-center"
|
|
62213
62286
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
62214
|
-
"class": sectionstyles.btnstyles + ' allcentered
|
|
62287
|
+
"class": sectionstyles.btnstyles + ' allcentered '
|
|
62215
62288
|
// onClick={() => {
|
|
62216
62289
|
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
|
|
62217
62290
|
// }}
|
|
@@ -62296,7 +62369,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
62296
62369
|
placeholder: ''
|
|
62297
62370
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62298
62371
|
"class": sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Show' && sectionproperties.showpricerange == 'Show' ? 'col-lg-8 p-0' : sectionproperties.showpricerange == 'Show' ? 'col-lg-9 p-0' : sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Hide' ? 'col-lg-8 p-0' : 'col-lg-12 p-0'
|
|
62299
|
-
},
|
|
62372
|
+
}, /*#__PURE__*/React__default["default"].createElement(CustomerAddressForm, {
|
|
62300
62373
|
payloadobj: payloadobj,
|
|
62301
62374
|
setpayloadobj: setpayloadobj,
|
|
62302
62375
|
sectionproperties: sectionproperties
|
|
@@ -62309,30 +62382,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
62309
62382
|
fetchTabexCountriesQueryContext: fetchTabexCountriesQueryContext,
|
|
62310
62383
|
fetchTabexStatesQueryContext: fetchTabexStatesQueryContext,
|
|
62311
62384
|
fetchTabexCitiesQueryContext: fetchTabexCitiesQueryContext
|
|
62312
|
-
}),
|
|
62313
|
-
className: "row m-0 w-100",
|
|
62314
|
-
style: {
|
|
62315
|
-
display: sectionproperties.hidecountrystatecity == 'Show' ? 'flex' : sectionproperties.hideaddress == 'Show' ? 'flex' : 'none'
|
|
62316
|
-
}
|
|
62317
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62318
|
-
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
62319
|
-
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
62320
|
-
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
62321
|
-
}, lang.country), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
62322
|
-
options: options,
|
|
62323
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
62324
|
-
placeholder: '',
|
|
62325
|
-
isSearchable: true
|
|
62326
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62327
|
-
className: 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0'
|
|
62328
|
-
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
62329
|
-
className: formstyles.input_label_name + ' d-flex justify-content-start '
|
|
62330
|
-
}, 'المنطقة'), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
62331
|
-
options: optionsSTATE,
|
|
62332
|
-
styles: langdetect == 'en' ? defaultstyles : defaultstylestranslated,
|
|
62333
|
-
placeholder: '',
|
|
62334
|
-
isSearchable: true
|
|
62335
|
-
})))), sectionproperties.showpricerange == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62385
|
+
})), sectionproperties.showpricerange == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62336
62386
|
className: sectionproperties.showcollectionsfilter == 'Show' && sectionproperties.showpricerange == 'Show' && sectionproperties.showpricerange == 'Show' ? "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-2 col-md-12 col-sm-12 mb-sm-3 ' : "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-sm-3 '
|
|
62337
62387
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
62338
62388
|
className: "".concat(sectionstyles.input_label_name) + ' mb-3 '
|
|
@@ -62355,7 +62405,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
62355
62405
|
}))))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62356
62406
|
"class": 'col-lg-12 mt-3 p-0 allcentered'
|
|
62357
62407
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
62358
|
-
"class": sectionstyles.btnstyles + ' allcentered
|
|
62408
|
+
"class": sectionstyles.btnstyles + ' allcentered ',
|
|
62359
62409
|
onClick: function onClick() {
|
|
62360
62410
|
var _payloadobj$countryid, _payloadobj$stateid, _payloadobj$cityid, _pricevalue$min, _pricevalue$max;
|
|
62361
62411
|
var tempfetchproductsfilerobjcontext = _objectSpread$1g({}, fetchproductsfilerobjcontext);
|
|
@@ -62400,7 +62450,301 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
62400
62450
|
routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
62401
62451
|
}
|
|
62402
62452
|
}
|
|
62403
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))))))
|
|
62453
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))), sectionproperties.sectionstyletype == 'Style 3' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62454
|
+
"class": "row m-0 w-100 allcentered mt-auto mb-4 px-4",
|
|
62455
|
+
style: {
|
|
62456
|
+
zIndex: 2
|
|
62457
|
+
}
|
|
62458
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62459
|
+
"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'
|
|
62460
|
+
}, sectionproperties.sectiontitleshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62461
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 d-flex align-items-center justify-content-start"
|
|
62462
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62463
|
+
"class": "wordbreak",
|
|
62464
|
+
style: {
|
|
62465
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
62466
|
+
color: sectionproperties.sectionTitleColor,
|
|
62467
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
62468
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
62469
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
62470
|
+
marginBottom: sectionproperties.prodCatShow == 'Show' ? 0 : 20
|
|
62471
|
+
}
|
|
62472
|
+
}, langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar)), sectionproperties.prodCatShow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62473
|
+
"class": "col-lg-12 col-md-12 col-sm-12 p-0 allcentered"
|
|
62474
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62475
|
+
style: {
|
|
62476
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
62477
|
+
color: sectionproperties.prodCatColor,
|
|
62478
|
+
textTransform: sectionproperties.prodCatTextTranform,
|
|
62479
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
62480
|
+
maxWidth: '500px'
|
|
62481
|
+
}
|
|
62482
|
+
}, langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62483
|
+
"class": 'col-lg-11 col-md-12 col-sm-12 allcentered mt-3',
|
|
62484
|
+
style: {
|
|
62485
|
+
backgroundColor: sectionproperties.reservation_bgcolor,
|
|
62486
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
62487
|
+
paddingTop: sectionproperties.reservation_padding_top + 'px',
|
|
62488
|
+
paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
|
|
62489
|
+
paddingLeft: sectionproperties.reservation_padding_left + 'px',
|
|
62490
|
+
paddingRight: sectionproperties.reservation_padding_right + 'px'
|
|
62491
|
+
}
|
|
62492
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62493
|
+
"class": "row m-0 w-100 allcentered"
|
|
62494
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62495
|
+
"class": "col-lg-12 p-0"
|
|
62496
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62497
|
+
"class": "row m-0 w-100 d-flex align-items-center justify-content-start"
|
|
62498
|
+
}, (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) {
|
|
62499
|
+
if (item.type == 'Selectbox') {
|
|
62500
|
+
var _item$featuresselectb;
|
|
62501
|
+
var selectboxarr = [];
|
|
62502
|
+
item === null || item === void 0 || (_item$featuresselectb = item.featuresselectbovalue) === null || _item$featuresselectb === void 0 || _item$featuresselectb.forEach(function (slecitem) {
|
|
62503
|
+
var itemlabel = '';
|
|
62504
|
+
if (langdetect == 'en') {
|
|
62505
|
+
itemlabel = slecitem.value_en;
|
|
62506
|
+
} else {
|
|
62507
|
+
itemlabel = slecitem.value_ar;
|
|
62508
|
+
}
|
|
62509
|
+
selectboxarr.push({
|
|
62510
|
+
label: itemlabel,
|
|
62511
|
+
value: slecitem.value_en
|
|
62512
|
+
});
|
|
62513
|
+
});
|
|
62514
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62515
|
+
"class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
|
|
62516
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
62517
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
62518
|
+
style: {
|
|
62519
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
62520
|
+
}
|
|
62521
|
+
}, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62522
|
+
"class": 'col-lg-12 p-0'
|
|
62523
|
+
}, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
62524
|
+
options: selectboxarr,
|
|
62525
|
+
styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
|
|
62526
|
+
placeholder: '',
|
|
62527
|
+
onChange: function onChange(e) {
|
|
62528
|
+
var isattrexists = false;
|
|
62529
|
+
var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
|
|
62530
|
+
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
62531
|
+
if (attritem.id == item.id) {
|
|
62532
|
+
tempproductfeatuesarr[attrindex].value = e.value;
|
|
62533
|
+
isattrexists = true;
|
|
62534
|
+
}
|
|
62535
|
+
});
|
|
62536
|
+
if (isattrexists == false) {
|
|
62537
|
+
tempproductfeatuesarr.push({
|
|
62538
|
+
id: item.id,
|
|
62539
|
+
value: e.value
|
|
62540
|
+
});
|
|
62541
|
+
}
|
|
62542
|
+
setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
|
|
62543
|
+
}
|
|
62544
|
+
})));
|
|
62545
|
+
}
|
|
62546
|
+
if (item.type == 'Number') {
|
|
62547
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62548
|
+
"class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
|
|
62549
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
62550
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
62551
|
+
style: {
|
|
62552
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
62553
|
+
}
|
|
62554
|
+
}, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62555
|
+
"class": 'col-lg-12 p-0 mt-1'
|
|
62556
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
62557
|
+
type: "number",
|
|
62558
|
+
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control),
|
|
62559
|
+
placeholder: '',
|
|
62560
|
+
onChange: function onChange(e) {
|
|
62561
|
+
var isattrexists = false;
|
|
62562
|
+
var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
|
|
62563
|
+
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
62564
|
+
if (attritem.id == item.id) {
|
|
62565
|
+
tempproductfeatuesarr[attrindex].value = e.target.value;
|
|
62566
|
+
isattrexists = true;
|
|
62567
|
+
}
|
|
62568
|
+
});
|
|
62569
|
+
if (isattrexists == false) {
|
|
62570
|
+
tempproductfeatuesarr.push({
|
|
62571
|
+
id: item.id,
|
|
62572
|
+
value: e.target.value
|
|
62573
|
+
});
|
|
62574
|
+
}
|
|
62575
|
+
setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
|
|
62576
|
+
}
|
|
62577
|
+
})));
|
|
62578
|
+
}
|
|
62579
|
+
if (item.type == 'NumberRange') {
|
|
62580
|
+
var temppricevalue = {
|
|
62581
|
+
min: 0,
|
|
62582
|
+
max: 10000
|
|
62583
|
+
};
|
|
62584
|
+
var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
|
|
62585
|
+
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
62586
|
+
if (attritem.id == item.id) {
|
|
62587
|
+
var _attritem$value, _attritem$valuemax;
|
|
62588
|
+
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) {
|
|
62589
|
+
temppricevalue.min = attritem.value;
|
|
62590
|
+
}
|
|
62591
|
+
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) {
|
|
62592
|
+
temppricevalue.max = attritem.valuemax;
|
|
62593
|
+
}
|
|
62594
|
+
}
|
|
62595
|
+
});
|
|
62596
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62597
|
+
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-3 col-md-12 col-sm-12 mb-3 '
|
|
62598
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
62599
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100',
|
|
62600
|
+
style: {
|
|
62601
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
62602
|
+
}
|
|
62603
|
+
}, langdetect == 'en' ? item.name_en : item.name_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62604
|
+
"class": 'col-lg-12 pl-4 pr-4 mt-2 mb-2',
|
|
62605
|
+
style: {
|
|
62606
|
+
direction: 'ltr'
|
|
62607
|
+
}
|
|
62608
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputRange__default["default"], {
|
|
62609
|
+
draggableTrack: true,
|
|
62610
|
+
formatLabel: function formatLabel(value) {
|
|
62611
|
+
return "".concat(value);
|
|
62612
|
+
},
|
|
62613
|
+
maxValue: parseInt(sectionproperties.filterpricemaxvalue),
|
|
62614
|
+
minValue: parseInt(sectionproperties.filterpriceminvalue),
|
|
62615
|
+
value: temppricevalue,
|
|
62616
|
+
onChange: function onChange(e) {
|
|
62617
|
+
// setpricevalue({ ...value });
|
|
62618
|
+
var isattrexists = false;
|
|
62619
|
+
var tempproductfeatuesarr = _toConsumableArray__default["default"](productfeatuesarr);
|
|
62620
|
+
tempproductfeatuesarr === null || tempproductfeatuesarr === void 0 || tempproductfeatuesarr.forEach(function (attritem, attrindex) {
|
|
62621
|
+
if (attritem.id == item.id) {
|
|
62622
|
+
tempproductfeatuesarr[attrindex].value = e.min;
|
|
62623
|
+
tempproductfeatuesarr[attrindex].valuemax = e.max;
|
|
62624
|
+
isattrexists = true;
|
|
62625
|
+
}
|
|
62626
|
+
});
|
|
62627
|
+
if (isattrexists == false) {
|
|
62628
|
+
tempproductfeatuesarr.push({
|
|
62629
|
+
id: item.id,
|
|
62630
|
+
value: e.min,
|
|
62631
|
+
valuemax: e.max
|
|
62632
|
+
});
|
|
62633
|
+
}
|
|
62634
|
+
setproductfeatuesarr(_toConsumableArray__default["default"](tempproductfeatuesarr));
|
|
62635
|
+
}
|
|
62636
|
+
})));
|
|
62637
|
+
}
|
|
62638
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62639
|
+
"class": "col-lg-3 col-md-12"
|
|
62640
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62641
|
+
"class": "row m-0 w-100"
|
|
62642
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62643
|
+
"class": "col-lg-12 p-0 text-start"
|
|
62644
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
62645
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
62646
|
+
style: {
|
|
62647
|
+
color: sectionproperties.form_labelcolor,
|
|
62648
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
62649
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
62650
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
62651
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0,
|
|
62652
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
62653
|
+
}
|
|
62654
|
+
}, langdetect == 'en' ? 'From' : 'من')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62655
|
+
"class": "col-lg-12 p-0 text-start"
|
|
62656
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
62657
|
+
type: 'date',
|
|
62658
|
+
onChange: function onChange(e) {
|
|
62659
|
+
setfrom_date_filter_input(e.target.value);
|
|
62660
|
+
},
|
|
62661
|
+
value: from_date_filter_input,
|
|
62662
|
+
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
|
|
62663
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62664
|
+
"class": "col-lg-3 col-md-12"
|
|
62665
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62666
|
+
"class": "col-lg-12 p-0 text-start"
|
|
62667
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
62668
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
62669
|
+
style: {
|
|
62670
|
+
color: sectionproperties.form_labelcolor,
|
|
62671
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
62672
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
62673
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
62674
|
+
marginBottom: sectionproperties.inputfieldbordertype == 'All' ? 10 : 0,
|
|
62675
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
62676
|
+
}
|
|
62677
|
+
}, langdetect == 'en' ? 'To' : 'الى')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62678
|
+
"class": "col-lg-12 p-0 text-start"
|
|
62679
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
62680
|
+
type: 'date',
|
|
62681
|
+
onChange: function onChange(e) {
|
|
62682
|
+
setto_date_filter_input(e.target.value);
|
|
62683
|
+
},
|
|
62684
|
+
value: to_date_filter_input,
|
|
62685
|
+
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
|
|
62686
|
+
})), "\xA0"), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
62687
|
+
"class": "col-lg-2 col-md-12 text-end",
|
|
62688
|
+
style: {
|
|
62689
|
+
marginLeft: langdetect == 'en' ? 'auto' : '',
|
|
62690
|
+
marginRight: langdetect == 'ar' ? 'auto' : ''
|
|
62691
|
+
}
|
|
62692
|
+
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
62693
|
+
"class": sectionstyles.btnstyles + ' allcentered ',
|
|
62694
|
+
onClick: function onClick() {
|
|
62695
|
+
var _payloadobj$countryid2, _payloadobj$stateid2, _payloadobj$cityid2, _pricevalue$min2, _pricevalue$max2;
|
|
62696
|
+
var tempfetchproductsfilerobjcontext = _objectSpread$1g({}, fetchproductsfilerobjcontext);
|
|
62697
|
+
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) {
|
|
62698
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
62699
|
+
tempfetchproductsfilerobjcontext.country_ids = [payloadobj.countryid];
|
|
62700
|
+
} else {
|
|
62701
|
+
tempfetchproductsfilerobjcontext.countryid = payloadobj.countryid;
|
|
62702
|
+
}
|
|
62703
|
+
}
|
|
62704
|
+
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) {
|
|
62705
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
62706
|
+
tempfetchproductsfilerobjcontext.state_ids = [payloadobj.stateid];
|
|
62707
|
+
} else {
|
|
62708
|
+
tempfetchproductsfilerobjcontext.stateid = payloadobj.stateid;
|
|
62709
|
+
}
|
|
62710
|
+
}
|
|
62711
|
+
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) {
|
|
62712
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
62713
|
+
tempfetchproductsfilerobjcontext.city_ids = [payloadobj.cityid];
|
|
62714
|
+
} else {
|
|
62715
|
+
tempfetchproductsfilerobjcontext.cityid = payloadobj.cityid;
|
|
62716
|
+
}
|
|
62717
|
+
}
|
|
62718
|
+
if ((payloadobj === null || payloadobj === void 0 ? void 0 : payloadobj.collections) != null && payloadobj.collections.length != 0) {
|
|
62719
|
+
tempfetchproductsfilerobjcontext.collections = payloadobj.collections;
|
|
62720
|
+
}
|
|
62721
|
+
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) {
|
|
62722
|
+
tempfetchproductsfilerobjcontext.price_min = pricevalue.min;
|
|
62723
|
+
}
|
|
62724
|
+
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) {
|
|
62725
|
+
if (sectionproperties.showpricerange == 'Hide') {
|
|
62726
|
+
tempfetchproductsfilerobjcontext.price_max = 99999999999999;
|
|
62727
|
+
} else {
|
|
62728
|
+
tempfetchproductsfilerobjcontext.price_max = pricevalue.max;
|
|
62729
|
+
}
|
|
62730
|
+
}
|
|
62731
|
+
if (productfeatuesarr != undefined && productfeatuesarr != null && Array.isArray(productfeatuesarr) && (productfeatuesarr === null || productfeatuesarr === void 0 ? void 0 : productfeatuesarr.length) != 0) {
|
|
62732
|
+
tempfetchproductsfilerobjcontext.prod_featruesar = productfeatuesarr;
|
|
62733
|
+
}
|
|
62734
|
+
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) {
|
|
62735
|
+
tempfetchproductsfilerobjcontext.from_date_filter = from_date_filter_input;
|
|
62736
|
+
}
|
|
62737
|
+
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) {
|
|
62738
|
+
tempfetchproductsfilerobjcontext.to_date_filter = to_date_filter_input;
|
|
62739
|
+
}
|
|
62740
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Products') {
|
|
62741
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
62742
|
+
}
|
|
62743
|
+
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.generalbtnonclick) == 'Vendors') {
|
|
62744
|
+
routingcountext(StaticPagesLinksContext.Innervendor, true, encodeURIComponent(JSON.stringify(tempfetchproductsfilerobjcontext)));
|
|
62745
|
+
}
|
|
62746
|
+
}
|
|
62747
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)))))))));
|
|
62404
62748
|
};
|
|
62405
62749
|
|
|
62406
62750
|
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; }
|
|
@@ -69485,6 +69829,14 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
69485
69829
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
69486
69830
|
var routingcountext = props.actions.routingcountext;
|
|
69487
69831
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
69832
|
+
var _React$useState = React__default["default"].useState(331231),
|
|
69833
|
+
_React$useState2 = _slicedToArray__default["default"](_React$useState, 2);
|
|
69834
|
+
_React$useState2[0];
|
|
69835
|
+
_React$useState2[1];
|
|
69836
|
+
var _useState5 = React.useState([]),
|
|
69837
|
+
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
69838
|
+
maincontainerarrayofobjs = _useState6[0],
|
|
69839
|
+
setmaincontainerarrayofobjs = _useState6[1];
|
|
69488
69840
|
React.useEffect(function () {
|
|
69489
69841
|
var secpropobj = {};
|
|
69490
69842
|
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
@@ -69506,10 +69858,6 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
69506
69858
|
}
|
|
69507
69859
|
}
|
|
69508
69860
|
}, [sectionproperties]);
|
|
69509
|
-
var _useState5 = React.useState([]),
|
|
69510
|
-
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
69511
|
-
maincontainerarrayofobjs = _useState6[0],
|
|
69512
|
-
setmaincontainerarrayofobjs = _useState6[1];
|
|
69513
69861
|
React.useEffect(function () {
|
|
69514
69862
|
if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
|
|
69515
69863
|
var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
|
|
@@ -70160,7 +70508,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
70160
70508
|
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
70161
70509
|
}
|
|
70162
70510
|
}, sectionproperties.flippingcards == 'No' && cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
70163
|
-
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7;
|
|
70511
|
+
var _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9;
|
|
70164
70512
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
70165
70513
|
// class={
|
|
70166
70514
|
// sectionproperties.numofcols == '2'
|
|
@@ -70270,7 +70618,30 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
70270
70618
|
}
|
|
70271
70619
|
})),
|
|
70272
70620
|
activeColor: sectionproperties.generalbtn_textColor
|
|
70273
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
70621
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.contactinfo.instid) == '67b3592219709' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
70622
|
+
"class": "col-lg-12 d-flex p-0",
|
|
70623
|
+
style: {
|
|
70624
|
+
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
|
|
70625
|
+
justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start'
|
|
70626
|
+
}
|
|
70627
|
+
}, /*#__PURE__*/React__default["default"].createElement(AnimatedNumbers__default["default"], {
|
|
70628
|
+
includeComma: true,
|
|
70629
|
+
className: 'animatedcontainer',
|
|
70630
|
+
transitions: function transitions(index) {
|
|
70631
|
+
return {
|
|
70632
|
+
type: 'spring',
|
|
70633
|
+
duration: index + 0.3
|
|
70634
|
+
};
|
|
70635
|
+
},
|
|
70636
|
+
animateToNumber: langdetect == 'en' ? parseInt(cardinfoitem.cardobj_titleen) : parseInt(cardinfoitem.cardobj_titleen),
|
|
70637
|
+
fontStyle: {
|
|
70638
|
+
color: cardinfoitem.text1colorfromarray,
|
|
70639
|
+
textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
|
|
70640
|
+
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
70641
|
+
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
70642
|
+
direction: 'ltr'
|
|
70643
|
+
}
|
|
70644
|
+
})), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.contactinfo.instid) != '67b3592219709' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
70274
70645
|
"class": "col-lg-12 d-flex p-0",
|
|
70275
70646
|
style: {
|
|
70276
70647
|
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
|