tabexseriescomponents 0.0.330 → 0.0.331
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 +97 -198
- package/dist/index.esm.js +97 -197
- package/dist/index.umd.js +98 -199
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -131,7 +131,7 @@ var GoLocation = require('@react-icons/all-files/go/GoLocation');
|
|
|
131
131
|
var RiRoadMapLine = require('@react-icons/all-files/ri/RiRoadMapLine');
|
|
132
132
|
var HiOutlineClock = require('@react-icons/all-files/hi/HiOutlineClock');
|
|
133
133
|
var AiOutlineLinkedin = require('@react-icons/all-files/ai/AiOutlineLinkedin');
|
|
134
|
-
|
|
134
|
+
require('react-select');
|
|
135
135
|
var ReactPlayer = require('react-player');
|
|
136
136
|
var BackgroundSlideshow = require('react-background-slideshow');
|
|
137
137
|
var _extends = require('@babel/runtime/helpers/extends');
|
|
@@ -185,7 +185,6 @@ var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
|
|
|
185
185
|
var PhoneInput__default = /*#__PURE__*/_interopDefaultLegacy(PhoneInput);
|
|
186
186
|
var InputRange__default = /*#__PURE__*/_interopDefaultLegacy(InputRange);
|
|
187
187
|
var ReactPaginate__default = /*#__PURE__*/_interopDefaultLegacy(ReactPaginate);
|
|
188
|
-
var Select__default = /*#__PURE__*/_interopDefaultLegacy(Select$5);
|
|
189
188
|
var ReactPlayer__default = /*#__PURE__*/_interopDefaultLegacy(ReactPlayer);
|
|
190
189
|
var BackgroundSlideshow__default = /*#__PURE__*/_interopDefaultLegacy(BackgroundSlideshow);
|
|
191
190
|
var _extends__default = /*#__PURE__*/_interopDefaultLegacy(_extends);
|
|
@@ -1247,88 +1246,6 @@ var defaultstylestranslated = {
|
|
|
1247
1246
|
});
|
|
1248
1247
|
}
|
|
1249
1248
|
};
|
|
1250
|
-
var defaultstylestransparent = {
|
|
1251
|
-
option: function option(provided, state) {
|
|
1252
|
-
return _objectSpread$2f(_objectSpread$2f({}, provided), {}, {
|
|
1253
|
-
borderBottom: '1px solid #e6e6e6',
|
|
1254
|
-
backgroundColor: state.isSelected ? '' : '',
|
|
1255
|
-
padding: 5,
|
|
1256
|
-
textTransform: 'capitalize',
|
|
1257
|
-
color: state.isSelected ? '#eac435' : 'black',
|
|
1258
|
-
transition: '.3s',
|
|
1259
|
-
'&:hover': {
|
|
1260
|
-
// color: '#eac435',
|
|
1261
|
-
cursor: 'pointer'
|
|
1262
|
-
}
|
|
1263
|
-
});
|
|
1264
|
-
},
|
|
1265
|
-
control: function control() {
|
|
1266
|
-
return {
|
|
1267
|
-
borderBottom: '1px solid #ccc',
|
|
1268
|
-
backgroundColor: 'transparent',
|
|
1269
|
-
display: 'flex',
|
|
1270
|
-
cursor: 'pointer',
|
|
1271
|
-
padding: 0,
|
|
1272
|
-
transition: '.3s',
|
|
1273
|
-
'&:hover': {
|
|
1274
|
-
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1275
|
-
// borderRadius: '10px',
|
|
1276
|
-
}
|
|
1277
|
-
};
|
|
1278
|
-
},
|
|
1279
|
-
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1280
|
-
return _objectSpread$2f(_objectSpread$2f({}, provided), {}, {
|
|
1281
|
-
'&:hover': {
|
|
1282
|
-
// color: '#eac435',
|
|
1283
|
-
}
|
|
1284
|
-
});
|
|
1285
|
-
}
|
|
1286
|
-
};
|
|
1287
|
-
var defaultstylestranslatedtransparent = {
|
|
1288
|
-
option: function option(provided, state) {
|
|
1289
|
-
return _objectSpread$2f(_objectSpread$2f({}, provided), {}, {
|
|
1290
|
-
borderBottom: '1px solid #e6e6e6',
|
|
1291
|
-
backgroundColor: state.isSelected ? '' : '',
|
|
1292
|
-
padding: 5,
|
|
1293
|
-
textTransform: 'capitalize',
|
|
1294
|
-
// color: state.isSelected ? '#eac435' : '#022648',
|
|
1295
|
-
color: state.isSelected ? '#eac435' : 'black',
|
|
1296
|
-
transition: '.3s',
|
|
1297
|
-
textAlign: 'right',
|
|
1298
|
-
'&:hover': {
|
|
1299
|
-
// color: '#eac435',
|
|
1300
|
-
cursor: 'pointer'
|
|
1301
|
-
}
|
|
1302
|
-
});
|
|
1303
|
-
},
|
|
1304
|
-
control: function control() {
|
|
1305
|
-
return {
|
|
1306
|
-
borderBottom: '1px solid #ccc',
|
|
1307
|
-
backgroundColor: 'transparent',
|
|
1308
|
-
display: 'flex',
|
|
1309
|
-
cursor: 'pointer',
|
|
1310
|
-
padding: 0,
|
|
1311
|
-
transition: '.3s',
|
|
1312
|
-
textAlign: 'right',
|
|
1313
|
-
'&:hover': {
|
|
1314
|
-
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1315
|
-
// borderRadius: '10px',
|
|
1316
|
-
}
|
|
1317
|
-
};
|
|
1318
|
-
},
|
|
1319
|
-
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1320
|
-
return _objectSpread$2f(_objectSpread$2f({}, provided), {}, {
|
|
1321
|
-
'&:hover': {
|
|
1322
|
-
// color: '#eac435',
|
|
1323
|
-
}
|
|
1324
|
-
});
|
|
1325
|
-
},
|
|
1326
|
-
placeholder: function placeholder(provided, state) {
|
|
1327
|
-
return _objectSpread$2f(_objectSpread$2f({}, provided), {}, {
|
|
1328
|
-
textAlign: 'right'
|
|
1329
|
-
});
|
|
1330
|
-
}
|
|
1331
|
-
};
|
|
1332
1249
|
var defaultstylesnone = {
|
|
1333
1250
|
option: function option(provided, state) {
|
|
1334
1251
|
return _objectSpread$2f(_objectSpread$2f({}, provided), {}, {
|
|
@@ -7930,7 +7847,7 @@ var Select$3 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
|
7930
7847
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
7931
7848
|
});
|
|
7932
7849
|
var Checkout = function Checkout(props) {
|
|
7933
|
-
var _css, _checkoutstyles,
|
|
7850
|
+
var _css, _checkoutstyles, _fetchcustomercartQue99, _fetchcustomercartQue100, _fetchcustomercartQue101, _fetchcustomercartQue102, _fetchcustomercartQue103, _fetchcustomercartQue104, _fetchcustomercartQue113, _fetchcustomercartQue114, _fetchcustomercartQue115, _fetchcustomercartQue116, _fetchcustomercartQue117, _fetchcustomercartQue118, _fetchcustomercartQue119, _fetchcustomercartQue120, _fetchcustomercartQue121, _fetchcustomercartQue124, _fetchcustomercartQue125, _fetchcustomercartQue128, _fetchcustomercartQue129, _fetchcustomercartQue132, _fetchcustomercartQue133, _fetchcustomercartQue136, _fetchcustomercartQue137;
|
|
7934
7851
|
var _useState = React.useState(null),
|
|
7935
7852
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
7936
7853
|
timer = _useState2[0],
|
|
@@ -8252,9 +8169,9 @@ var Checkout = function Checkout(props) {
|
|
|
8252
8169
|
}
|
|
8253
8170
|
})), _checkoutstyles);
|
|
8254
8171
|
var Mycart = function Mycart() {
|
|
8255
|
-
var _fetchcustomercartQue37, _fetchcustomercartQue38, _fetchcustomercartQue39, _fetchcustomercartQue40, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _fetchcustomercartQue67, _fetchcustomercartQue68, _fetchcustomercartQue69, _fetchcustomercartQue70, _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue79, _fetchcustomercartQue80, _fetchcustomercartQue81, _fetchcustomercartQue82, _fetchcustomercartQue83, _fetchcustomercartQue84, _fetchcustomercartQue85, _fetchcustomercartQue86, _fetchcustomercartQue87, _fetchcustomercartQue88, _fetchcustomercartQue89, _fetchcustomercartQue90;
|
|
8172
|
+
var _fetchcustomercartQue37, _fetchcustomercartQue38, _fetchcustomercartQue39, _fetchcustomercartQue40, _fetchcustomercartQue41, _fetchcustomercartQue42, _fetchcustomercartQue49, _fetchcustomercartQue50, _fetchcustomercartQue51, _fetchcustomercartQue52, _fetchcustomercartQue53, _fetchcustomercartQue54, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue58, _fetchcustomercartQue59, _fetchcustomercartQue60, _fetchcustomercartQue61, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue66, _fetchcustomercartQue67, _fetchcustomercartQue68, _fetchcustomercartQue69, _fetchcustomercartQue70, _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue79, _fetchcustomercartQue80, _fetchcustomercartQue81, _fetchcustomercartQue82, _fetchcustomercartQue83, _fetchcustomercartQue84, _fetchcustomercartQue85, _fetchcustomercartQue86, _fetchcustomercartQue87, _fetchcustomercartQue88, _fetchcustomercartQue89, _fetchcustomercartQue90, _fetchcustomercartQue91, _fetchcustomercartQue92, _fetchcustomercartQue93, _fetchcustomercartQue94, _fetchcustomercartQue95, _fetchcustomercartQue96, _fetchcustomercartQue97, _fetchcustomercartQue98;
|
|
8256
8173
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8257
|
-
className: "row m-0 w-100"
|
|
8174
|
+
className: "row m-0 w-100 mb-md-3"
|
|
8258
8175
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8259
8176
|
className: "col-lg-12 d-flex align-items-center p-0"
|
|
8260
8177
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -8468,7 +8385,29 @@ var Checkout = function Checkout(props) {
|
|
|
8468
8385
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
8469
8386
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8470
8387
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
8471
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue63 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue63 === void 0 ? void 0 : (_fetchcustomercartQue64 = _fetchcustomercartQue63.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))
|
|
8388
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue63 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue63 === void 0 ? void 0 : (_fetchcustomercartQue64 = _fetchcustomercartQue63.data) === null || _fetchcustomercartQue64 === void 0 ? void 0 : _fetchcustomercartQue64.customercart.totalprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), sectionproperties.showtotalsection == 'Show' && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue65 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue65 === void 0 ? void 0 : (_fetchcustomercartQue66 = _fetchcustomercartQue65.data) === null || _fetchcustomercartQue66 === void 0 ? void 0 : (_fetchcustomercartQue67 = _fetchcustomercartQue66.customercart) === null || _fetchcustomercartQue67 === void 0 ? void 0 : (_fetchcustomercartQue68 = _fetchcustomercartQue67.genpayments) === null || _fetchcustomercartQue68 === void 0 ? void 0 : _fetchcustomercartQue68.length) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8389
|
+
className: "row m-0 w-100"
|
|
8390
|
+
}, fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue69 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue69 === void 0 ? void 0 : (_fetchcustomercartQue70 = _fetchcustomercartQue69.data) === null || _fetchcustomercartQue70 === void 0 ? void 0 : (_fetchcustomercartQue71 = _fetchcustomercartQue70.customercart) === null || _fetchcustomercartQue71 === void 0 ? void 0 : (_fetchcustomercartQue72 = _fetchcustomercartQue71.genpayments) === null || _fetchcustomercartQue72 === void 0 ? void 0 : _fetchcustomercartQue72.map(function (item, index) {
|
|
8391
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8392
|
+
"class": "col-lg-12 p-0"
|
|
8393
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8394
|
+
className: "row m-0 w-100"
|
|
8395
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8396
|
+
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
8397
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8398
|
+
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-center wordbreak ',
|
|
8399
|
+
style: {
|
|
8400
|
+
color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
|
|
8401
|
+
}
|
|
8402
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8403
|
+
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
8404
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8405
|
+
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left ',
|
|
8406
|
+
style: {
|
|
8407
|
+
color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
|
|
8408
|
+
}
|
|
8409
|
+
}, item.addsubtype == 'subtract' && /*#__PURE__*/React__default["default"].createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React__default["default"].createElement("span", null, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " ", item.value, ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), item.valuetype == 'percentage' && /*#__PURE__*/React__default["default"].createElement("span", null, item.value, "%")))));
|
|
8410
|
+
}))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue73 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue73 === void 0 ? void 0 : (_fetchcustomercartQue74 = _fetchcustomercartQue73.data) === null || _fetchcustomercartQue74 === void 0 ? void 0 : (_fetchcustomercartQue75 = _fetchcustomercartQue74.customercart) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.usewalletpoints) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8472
8411
|
className: "row m-0 w-100"
|
|
8473
8412
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8474
8413
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -8481,7 +8420,7 @@ var Checkout = function Checkout(props) {
|
|
|
8481
8420
|
style: {
|
|
8482
8421
|
color: 'red'
|
|
8483
8422
|
}
|
|
8484
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8423
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 ? void 0 : (_fetchcustomercartQue77 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue77 === void 0 ? void 0 : (_fetchcustomercartQue78 = _fetchcustomercartQue77.customercart) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.walletpointsused), " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : (_fetchcustomercartQue80 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue80 === void 0 ? void 0 : _fetchcustomercartQue80.customercart.couponexists) && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue81 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue81 === void 0 ? void 0 : (_fetchcustomercartQue82 = _fetchcustomercartQue81.data) === null || _fetchcustomercartQue82 === void 0 ? void 0 : _fetchcustomercartQue82.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8485
8424
|
className: "col-lg-12 p-0 mb-1"
|
|
8486
8425
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8487
8426
|
className: "row m-0 w-100"
|
|
@@ -8493,7 +8432,7 @@ var Checkout = function Checkout(props) {
|
|
|
8493
8432
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
8494
8433
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8495
8434
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 text-danger wordbreak text-left '
|
|
8496
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8435
|
+
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue83 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue83 === void 0 ? void 0 : (_fetchcustomercartQue84 = _fetchcustomercartQue83.data) === null || _fetchcustomercartQue84 === void 0 ? void 0 : _fetchcustomercartQue84.customercart.discountprice) != 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "- ", langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue85 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue85 === void 0 ? void 0 : (_fetchcustomercartQue86 = _fetchcustomercartQue85.data) === null || _fetchcustomercartQue86 === void 0 ? void 0 : _fetchcustomercartQue86.customercart.discountprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue87 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue87 === void 0 ? void 0 : (_fetchcustomercartQue88 = _fetchcustomercartQue87.data) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.customercart.discountprice) == 0 && /*#__PURE__*/React__default["default"].createElement("span", null, "0"))))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8497
8436
|
className: "col-lg-12 p-0"
|
|
8498
8437
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8499
8438
|
className: "row m-0 w-100"
|
|
@@ -8501,11 +8440,11 @@ var Checkout = function Checkout(props) {
|
|
|
8501
8440
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
8502
8441
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8503
8442
|
className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
|
|
8504
|
-
}, lang.shippingfees)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8443
|
+
}, lang.shippingfees)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 ? void 0 : (_fetchcustomercartQue90 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8505
8444
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
8506
8445
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8507
8446
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
8508
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8447
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 ? void 0 : (_fetchcustomercartQue92 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.customercart.zoneprice).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), !(fetchcustomercartQueryContext !== null && fetchcustomercartQueryContext !== void 0 && (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) !== null && _fetchcustomercartQue93 !== void 0 && (_fetchcustomercartQue94 = _fetchcustomercartQue93.data) !== null && _fetchcustomercartQue94 !== void 0 && _fetchcustomercartQue94.customercart.zoneexists) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8509
8448
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
8510
8449
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8511
8450
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
|
|
@@ -8544,7 +8483,7 @@ var Checkout = function Checkout(props) {
|
|
|
8544
8483
|
textTransform: sectionproperties.total_texttransform,
|
|
8545
8484
|
color: sectionproperties.total_color
|
|
8546
8485
|
}
|
|
8547
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8486
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 ? void 0 : (_fetchcustomercartQue96 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.customercart.totalpriceafterdiscount).toFixed(2), ' ', langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)))))), sectionproperties.slideshowtext1_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8548
8487
|
"class": "col-lg-12 p-0 my-2 p-2 allcentered mb-3",
|
|
8549
8488
|
style: {
|
|
8550
8489
|
background: '#eee',
|
|
@@ -8577,7 +8516,7 @@ var Checkout = function Checkout(props) {
|
|
|
8577
8516
|
width: "20px",
|
|
8578
8517
|
height: "20px",
|
|
8579
8518
|
duration: "1s"
|
|
8580
|
-
}), !AddOrderMutationContext.isLoading ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8519
|
+
}), !AddOrderMutationContext.isLoading ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue97 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue97 === void 0 ? void 0 : (_fetchcustomercartQue98 = _fetchcustomercartQue97.data) === null || _fetchcustomercartQue98 === void 0 ? void 0 : _fetchcustomercartQue98.customercart.paymentmethod) == 'onlinepayment' ? lang.continuetopayment : authdetailsContext.loggedin ? langdetect == 'en' ? sectionproperties.checkoutbtn_en2 : sectionproperties.checkoutbtn_ar2 : langdetect == 'en' ? sectionproperties.checkoutbtn_en2 + ' ' + lang.asaguest : sectionproperties.checkoutbtn_ar2 + ' ' + lang.asaguest : ''))))));
|
|
8581
8520
|
};
|
|
8582
8521
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8583
8522
|
className: 'row m-0 w-100 d-flex justify-content-center p-sm-0 '
|
|
@@ -8724,7 +8663,7 @@ var Checkout = function Checkout(props) {
|
|
|
8724
8663
|
}, lang.name), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
8725
8664
|
type: 'text',
|
|
8726
8665
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
8727
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8666
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue99 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue99 === void 0 ? void 0 : (_fetchcustomercartQue100 = _fetchcustomercartQue99.data) === null || _fetchcustomercartQue100 === void 0 ? void 0 : _fetchcustomercartQue100.customercart.name,
|
|
8728
8667
|
onChange: function onChange(event) {
|
|
8729
8668
|
cartinfoupdater('name', event.target.value);
|
|
8730
8669
|
},
|
|
@@ -8739,7 +8678,7 @@ var Checkout = function Checkout(props) {
|
|
|
8739
8678
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
8740
8679
|
type: 'text',
|
|
8741
8680
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
8742
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8681
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue101 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue101 === void 0 ? void 0 : (_fetchcustomercartQue102 = _fetchcustomercartQue101.data) === null || _fetchcustomercartQue102 === void 0 ? void 0 : _fetchcustomercartQue102.customercart.mobile,
|
|
8743
8682
|
onChange: function onChange(event) {
|
|
8744
8683
|
cartinfoupdater('mobile', event.target.value);
|
|
8745
8684
|
},
|
|
@@ -8754,7 +8693,7 @@ var Checkout = function Checkout(props) {
|
|
|
8754
8693
|
}, lang.email), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
8755
8694
|
type: 'text',
|
|
8756
8695
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
8757
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8696
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue103 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue103 === void 0 ? void 0 : (_fetchcustomercartQue104 = _fetchcustomercartQue103.data) === null || _fetchcustomercartQue104 === void 0 ? void 0 : _fetchcustomercartQue104.customercart.email,
|
|
8758
8697
|
onChange: function onChange(event) {
|
|
8759
8698
|
cartinfoupdater('email', event.target.value);
|
|
8760
8699
|
},
|
|
@@ -8798,8 +8737,8 @@ var Checkout = function Checkout(props) {
|
|
|
8798
8737
|
return option.id;
|
|
8799
8738
|
},
|
|
8800
8739
|
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
8801
|
-
var
|
|
8802
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8740
|
+
var _fetchcustomercartQue105, _fetchcustomercartQue106;
|
|
8741
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue105 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue105 === void 0 ? void 0 : (_fetchcustomercartQue106 = _fetchcustomercartQue105.data) === null || _fetchcustomercartQue106 === void 0 ? void 0 : _fetchcustomercartQue106.customercart.countryid);
|
|
8803
8742
|
}),
|
|
8804
8743
|
onChange: function onChange(option) {
|
|
8805
8744
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$24({}, FetchTabexStatesPayloadobjContext);
|
|
@@ -8844,12 +8783,12 @@ var Checkout = function Checkout(props) {
|
|
|
8844
8783
|
return option.id;
|
|
8845
8784
|
},
|
|
8846
8785
|
value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
|
|
8847
|
-
var
|
|
8848
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8786
|
+
var _fetchcustomercartQue107, _fetchcustomercartQue108;
|
|
8787
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue107 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue107 === void 0 ? void 0 : (_fetchcustomercartQue108 = _fetchcustomercartQue107.data) === null || _fetchcustomercartQue108 === void 0 ? void 0 : _fetchcustomercartQue108.customercart.stateid);
|
|
8849
8788
|
}),
|
|
8850
8789
|
onChange: function onChange(option) {
|
|
8851
|
-
var
|
|
8852
|
-
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8790
|
+
var _fetchcustomercartQue109, _fetchcustomercartQue110;
|
|
8791
|
+
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue109 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue109 === void 0 ? void 0 : (_fetchcustomercartQue110 = _fetchcustomercartQue109.data) === null || _fetchcustomercartQue110 === void 0 ? void 0 : _fetchcustomercartQue110.customercart.countryid.length) != 0) {
|
|
8853
8792
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$24({}, FetchTabexStatesPayloadobjContext);
|
|
8854
8793
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
8855
8794
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
@@ -8892,8 +8831,8 @@ var Checkout = function Checkout(props) {
|
|
|
8892
8831
|
return option.id;
|
|
8893
8832
|
},
|
|
8894
8833
|
value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
|
|
8895
|
-
var
|
|
8896
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8834
|
+
var _fetchcustomercartQue111, _fetchcustomercartQue112;
|
|
8835
|
+
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue111 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue111 === void 0 ? void 0 : (_fetchcustomercartQue112 = _fetchcustomercartQue111.data) === null || _fetchcustomercartQue112 === void 0 ? void 0 : _fetchcustomercartQue112.customercart.cityid);
|
|
8897
8836
|
}),
|
|
8898
8837
|
onChange: function onChange(option) {
|
|
8899
8838
|
cartinfoupdater('cityid', option.id);
|
|
@@ -8908,7 +8847,7 @@ var Checkout = function Checkout(props) {
|
|
|
8908
8847
|
}, langdetect == 'en' ? sectionproperties.shippingaddressen : sectionproperties.shippingaddressar), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
8909
8848
|
type: 'text',
|
|
8910
8849
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
8911
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8850
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue113 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue113 === void 0 ? void 0 : (_fetchcustomercartQue114 = _fetchcustomercartQue113.data) === null || _fetchcustomercartQue114 === void 0 ? void 0 : _fetchcustomercartQue114.customercart.address,
|
|
8912
8851
|
onChange: function onChange(event) {
|
|
8913
8852
|
cartinfoupdater('address', event.target.value);
|
|
8914
8853
|
},
|
|
@@ -8923,7 +8862,7 @@ var Checkout = function Checkout(props) {
|
|
|
8923
8862
|
}, langdetect == 'en' ? 'Notes' : 'الملاحظات'), /*#__PURE__*/React__default["default"].createElement(TextareaAutosize__default["default"], {
|
|
8924
8863
|
type: 'text',
|
|
8925
8864
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
8926
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8865
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue115 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue115 === void 0 ? void 0 : (_fetchcustomercartQue116 = _fetchcustomercartQue115.data) === null || _fetchcustomercartQue116 === void 0 ? void 0 : _fetchcustomercartQue116.customercart.notes,
|
|
8927
8866
|
onChange: function onChange(event) {
|
|
8928
8867
|
cartinfoupdater('notes', event.target.value);
|
|
8929
8868
|
},
|
|
@@ -8938,7 +8877,7 @@ var Checkout = function Checkout(props) {
|
|
|
8938
8877
|
}, langdetect == 'en' ? 'Affiliate code' : 'رمز المسوق'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
8939
8878
|
type: 'number',
|
|
8940
8879
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
8941
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8880
|
+
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue117 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue117 === void 0 ? void 0 : (_fetchcustomercartQue118 = _fetchcustomercartQue117.data) === null || _fetchcustomercartQue118 === void 0 ? void 0 : (_fetchcustomercartQue119 = _fetchcustomercartQue118.customercart) === null || _fetchcustomercartQue119 === void 0 ? void 0 : _fetchcustomercartQue119.aff_code,
|
|
8942
8881
|
onChange: function onChange(event) {
|
|
8943
8882
|
cartinfoupdater('aff_code', event.target.value);
|
|
8944
8883
|
},
|
|
@@ -8969,10 +8908,10 @@ var Checkout = function Checkout(props) {
|
|
|
8969
8908
|
id: 'codcheckbox',
|
|
8970
8909
|
type: "checkbox",
|
|
8971
8910
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
8972
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8911
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue120 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue120 === void 0 ? void 0 : (_fetchcustomercartQue121 = _fetchcustomercartQue120.data) === null || _fetchcustomercartQue121 === void 0 ? void 0 : _fetchcustomercartQue121.customercart.paymentmethod) == 'cod' ? true : false,
|
|
8973
8912
|
onChange: function onChange() {
|
|
8974
|
-
var
|
|
8975
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8913
|
+
var _fetchcustomercartQue122, _fetchcustomercartQue123;
|
|
8914
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue122 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue122 === void 0 ? void 0 : (_fetchcustomercartQue123 = _fetchcustomercartQue122.data) === null || _fetchcustomercartQue123 === void 0 ? void 0 : _fetchcustomercartQue123.customercart.paymentmethod) != 'cod') {
|
|
8976
8915
|
cartinfoupdater('paymentmethod', 'cod');
|
|
8977
8916
|
}
|
|
8978
8917
|
}
|
|
@@ -8993,10 +8932,10 @@ var Checkout = function Checkout(props) {
|
|
|
8993
8932
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
8994
8933
|
type: "checkbox",
|
|
8995
8934
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
8996
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8935
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue124 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue124 === void 0 ? void 0 : (_fetchcustomercartQue125 = _fetchcustomercartQue124.data) === null || _fetchcustomercartQue125 === void 0 ? void 0 : _fetchcustomercartQue125.customercart.paymentmethod) == 'cardondelivery' ? true : false,
|
|
8997
8936
|
onChange: function onChange() {
|
|
8998
|
-
var
|
|
8999
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8937
|
+
var _fetchcustomercartQue126, _fetchcustomercartQue127;
|
|
8938
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue126 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue126 === void 0 ? void 0 : (_fetchcustomercartQue127 = _fetchcustomercartQue126.data) === null || _fetchcustomercartQue127 === void 0 ? void 0 : _fetchcustomercartQue127.customercart.paymentmethod) != 'cardondelivery') {
|
|
9000
8939
|
cartinfoupdater('paymentmethod', 'cardondelivery');
|
|
9001
8940
|
}
|
|
9002
8941
|
}
|
|
@@ -9014,10 +8953,10 @@ var Checkout = function Checkout(props) {
|
|
|
9014
8953
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
9015
8954
|
type: "checkbox",
|
|
9016
8955
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9017
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8956
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue128 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue128 === void 0 ? void 0 : (_fetchcustomercartQue129 = _fetchcustomercartQue128.data) === null || _fetchcustomercartQue129 === void 0 ? void 0 : _fetchcustomercartQue129.customercart.paymentmethod) == 'onlinepayment' ? true : false,
|
|
9018
8957
|
onChange: function onChange() {
|
|
9019
|
-
var
|
|
9020
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8958
|
+
var _fetchcustomercartQue130, _fetchcustomercartQue131;
|
|
8959
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue130 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue130 === void 0 ? void 0 : (_fetchcustomercartQue131 = _fetchcustomercartQue130.data) === null || _fetchcustomercartQue131 === void 0 ? void 0 : _fetchcustomercartQue131.customercart.paymentmethod) != 'onlinepayment') {
|
|
9021
8960
|
cartinfoupdater('paymentmethod', 'onlinepayment');
|
|
9022
8961
|
}
|
|
9023
8962
|
}
|
|
@@ -9035,10 +8974,10 @@ var Checkout = function Checkout(props) {
|
|
|
9035
8974
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
9036
8975
|
type: "checkbox",
|
|
9037
8976
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9038
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8977
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue132 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue132 === void 0 ? void 0 : (_fetchcustomercartQue133 = _fetchcustomercartQue132.data) === null || _fetchcustomercartQue133 === void 0 ? void 0 : _fetchcustomercartQue133.customercart.paymentmethod) == 'valU' ? true : false,
|
|
9039
8978
|
onChange: function onChange() {
|
|
9040
|
-
var
|
|
9041
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8979
|
+
var _fetchcustomercartQue134, _fetchcustomercartQue135;
|
|
8980
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue134 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue134 === void 0 ? void 0 : (_fetchcustomercartQue135 = _fetchcustomercartQue134.data) === null || _fetchcustomercartQue135 === void 0 ? void 0 : _fetchcustomercartQue135.customercart.paymentmethod) != 'valU') {
|
|
9042
8981
|
cartinfoupdater('paymentmethod', 'valU');
|
|
9043
8982
|
}
|
|
9044
8983
|
}
|
|
@@ -9049,7 +8988,7 @@ var Checkout = function Checkout(props) {
|
|
|
9049
8988
|
d: "M5,10.75 L8.5,14.25 L19.4,2.3 C18.8333333,1.43333333 18.0333333,1 17,1 L4,1 C2.35,1 1,2.35 1,4 L1,17 C1,18.65 2.35,20 4,20 L17,20 C18.65,20 20,18.65 20,17 L20,7.99769186"
|
|
9050
8989
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9051
8990
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9052
|
-
}, " ValU")))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8991
|
+
}, " ValU")))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue136 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue136 === void 0 ? void 0 : (_fetchcustomercartQue137 = _fetchcustomercartQue136.data) === null || _fetchcustomercartQue137 === void 0 ? void 0 : _fetchcustomercartQue137.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9053
8992
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
9054
8993
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9055
8994
|
style: {
|
|
@@ -35591,7 +35530,7 @@ var Footer7 = function Footer7(props) {
|
|
|
35591
35530
|
function ownKeys$1o(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
35592
35531
|
function _objectSpread$1o(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1o(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1o(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
35593
35532
|
var Footer8 = function Footer8(props) {
|
|
35594
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i8, _authdetailsContext$i9, _templatepropcontext$;
|
|
35533
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _templatepropcontext$;
|
|
35595
35534
|
var _useState = React.useState(''),
|
|
35596
35535
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
35597
35536
|
sectionproperties = _useState2[0],
|
|
@@ -35889,39 +35828,52 @@ var Footer8 = function Footer8(props) {
|
|
|
35889
35828
|
}
|
|
35890
35829
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35891
35830
|
"class": 'col-lg-12 p-0 d-flex align-items-center justify-content-start mt-3'
|
|
35892
|
-
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35893
|
-
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
|
|
35831
|
+
}, sectionproperties.fbbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.facebooklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35832
|
+
"class": langdetect == 'en' ? "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center mr-2 ' : "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ml-2 ',
|
|
35894
35833
|
onClick: function onClick() {
|
|
35895
|
-
var _authdetailsContext$
|
|
35896
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
35897
|
-
var _authdetailsContext$
|
|
35898
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
35834
|
+
var _authdetailsContext$i11;
|
|
35835
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.facebooklink) != null) {
|
|
35836
|
+
var _authdetailsContext$i12;
|
|
35837
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.facebooklink, '_blank');
|
|
35899
35838
|
}
|
|
35900
35839
|
}
|
|
35901
35840
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebookF.FaFacebookF, {
|
|
35902
35841
|
size: sectionproperties.facebkbtnniconfontsize
|
|
35903
|
-
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35904
|
-
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-
|
|
35842
|
+
})), sectionproperties.instbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.instagramlink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35843
|
+
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
35905
35844
|
onClick: function onClick() {
|
|
35906
|
-
var _authdetailsContext$
|
|
35907
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
35908
|
-
var _authdetailsContext$
|
|
35909
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
35845
|
+
var _authdetailsContext$i14;
|
|
35846
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.instagramlink) != null) {
|
|
35847
|
+
var _authdetailsContext$i15;
|
|
35848
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.instagramlink, '_blank');
|
|
35910
35849
|
}
|
|
35911
35850
|
}
|
|
35912
35851
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
35913
35852
|
size: sectionproperties.instgrambtniconfontsize
|
|
35914
|
-
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35915
|
-
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
35853
|
+
})), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.whatsappnumber) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35854
|
+
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
35916
35855
|
onClick: function onClick() {
|
|
35917
|
-
var _authdetailsContext$
|
|
35918
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
35919
|
-
var _authdetailsContext$
|
|
35920
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
35856
|
+
var _authdetailsContext$i17;
|
|
35857
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.whatsappnumber) != null) {
|
|
35858
|
+
var _authdetailsContext$i18;
|
|
35859
|
+
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.whatsappnumber), '_blank');
|
|
35921
35860
|
}
|
|
35922
35861
|
}
|
|
35923
35862
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
35924
35863
|
size: sectionproperties.youtubebtniconfontsize
|
|
35864
|
+
})), sectionproperties.tiktokshow == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.tiktoklink) != null && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35865
|
+
"class": langdetect == 'en' ? "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-2' : "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center mr-2 '
|
|
35866
|
+
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
35867
|
+
,
|
|
35868
|
+
onClick: function onClick() {
|
|
35869
|
+
var _authdetailsContext$i20;
|
|
35870
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.tiktoklink) != null) {
|
|
35871
|
+
var _authdetailsContext$i21;
|
|
35872
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.tiktoklink, '_blank');
|
|
35873
|
+
}
|
|
35874
|
+
}
|
|
35875
|
+
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
35876
|
+
size: sectionproperties.youtubebtniconfontsize
|
|
35925
35877
|
})))))), sectionproperties.showhidemainpages == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
35926
35878
|
"class": "row m-0 allcentered"
|
|
35927
35879
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -42914,7 +42866,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
42914
42866
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
42915
42867
|
imagesarray = _useState6[0],
|
|
42916
42868
|
setimagesarray = _useState6[1];
|
|
42917
|
-
|
|
42869
|
+
props.actions.lang;
|
|
42918
42870
|
var langdetect = props.actions.langdetect;
|
|
42919
42871
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
42920
42872
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
@@ -43041,29 +42993,6 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
43041
42993
|
}
|
|
43042
42994
|
})
|
|
43043
42995
|
};
|
|
43044
|
-
var countries = [{
|
|
43045
|
-
value: 'egypt',
|
|
43046
|
-
label: 'Egypt'
|
|
43047
|
-
}, {
|
|
43048
|
-
value: 'algeria',
|
|
43049
|
-
label: 'Algeria'
|
|
43050
|
-
}, {
|
|
43051
|
-
value: 'georgia',
|
|
43052
|
-
label: 'Georgia'
|
|
43053
|
-
}];
|
|
43054
|
-
var states = [{
|
|
43055
|
-
value: 'cairo',
|
|
43056
|
-
label: 'Cairo'
|
|
43057
|
-
}, {
|
|
43058
|
-
vlaue: 'giza',
|
|
43059
|
-
label: 'Giza'
|
|
43060
|
-
}, {
|
|
43061
|
-
vlaue: 'chlef',
|
|
43062
|
-
label: 'Chlef'
|
|
43063
|
-
}, {
|
|
43064
|
-
vlaue: 'alabama',
|
|
43065
|
-
label: 'Alabama'
|
|
43066
|
-
}];
|
|
43067
42996
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43068
42997
|
"class": sectionstyles.container + ' allcentered mx-md-0 '
|
|
43069
42998
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -43140,37 +43069,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
43140
43069
|
fontWeight: sectionproperties.formRightTextFontWeight2,
|
|
43141
43070
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
43142
43071
|
}
|
|
43143
|
-
}, langdetect == 'en' ? sectionproperties.formRightText2 : sectionproperties.formRightText2_ar), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43144
|
-
"class": "row m-0 w-100 mt-2"
|
|
43145
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43146
|
-
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-12 col-md-12 col-sm-12 mb-3 p-0 '
|
|
43147
|
-
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
43148
|
-
className: "".concat(sectionstyles.input_label_name) + ' m-0 '
|
|
43149
|
-
}, lang.country), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
43150
|
-
options: countries,
|
|
43151
|
-
styles: langdetect == 'en' ? defaultstylestransparent : defaultstylestranslatedtransparent
|
|
43152
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43153
|
-
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-12 col-md-12 col-sm-12 mb-3 p-0 '
|
|
43154
|
-
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
43155
|
-
className: "".concat(sectionstyles.input_label_name) + ' m-0 '
|
|
43156
|
-
}, langdetect == 'en' ? 'State' : 'الولاية'), /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
43157
|
-
options: states,
|
|
43158
|
-
styles: langdetect == 'en' ? defaultstylestransparent : defaultstylestranslatedtransparent
|
|
43159
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43160
|
-
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-12 col-md-12 col-sm-12 mb-3 p-0 '
|
|
43161
|
-
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
43162
|
-
className: "".concat(sectionstyles.input_label_name) + ' m-0 '
|
|
43163
|
-
}, langdetect == 'en' ? 'From' : 'من'), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
43164
|
-
className: "".concat(sectionstyles.dateInput),
|
|
43165
|
-
type: "date"
|
|
43166
|
-
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43167
|
-
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-12 col-md-12 col-sm-12 mb-3 p-0 '
|
|
43168
|
-
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
43169
|
-
className: "".concat(sectionstyles.input_label_name) + ' m-0 '
|
|
43170
|
-
}, langdetect == 'en' ? 'To' : 'إلى'), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
43171
|
-
className: "".concat(sectionstyles.dateInput),
|
|
43172
|
-
type: "date"
|
|
43173
|
-
})))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43072
|
+
}, langdetect == 'en' ? sectionproperties.formRightText2 : sectionproperties.formRightText2_ar), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43174
43073
|
"class": "row m-0 w-100 justify-content-center"
|
|
43175
43074
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
43176
43075
|
"class": sectionstyles.btnstyles + ' allcentered '
|
|
@@ -43253,13 +43152,13 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
43253
43152
|
formatLabel: function formatLabel(value) {
|
|
43254
43153
|
return "".concat(value);
|
|
43255
43154
|
},
|
|
43256
|
-
maxValue:
|
|
43257
|
-
minValue:
|
|
43155
|
+
maxValue: parseInt(sectionproperties.filterpricemaxvalue),
|
|
43156
|
+
minValue: parseInt(sectionproperties.filterpriceminvalue),
|
|
43258
43157
|
value: pricevalue,
|
|
43259
43158
|
onChange: function onChange(value) {
|
|
43260
43159
|
setpricevalue(_objectSpread$15({}, value));
|
|
43261
43160
|
}
|
|
43262
|
-
}))
|
|
43161
|
+
}))))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
43263
43162
|
"class": "col-lg-12 p-0 allcentered mt-3"
|
|
43264
43163
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
43265
43164
|
"class": sectionstyles.btnstyles + ' allcentered ',
|