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.esm.js
CHANGED
|
@@ -129,7 +129,7 @@ import { GoLocation } from '@react-icons/all-files/go/GoLocation';
|
|
|
129
129
|
import { RiRoadMapLine } from '@react-icons/all-files/ri/RiRoadMapLine';
|
|
130
130
|
import { HiOutlineClock } from '@react-icons/all-files/hi/HiOutlineClock';
|
|
131
131
|
import { AiOutlineLinkedin } from '@react-icons/all-files/ai/AiOutlineLinkedin';
|
|
132
|
-
import
|
|
132
|
+
import 'react-select';
|
|
133
133
|
import ReactPlayer from 'react-player';
|
|
134
134
|
import BackgroundSlideshow from 'react-background-slideshow';
|
|
135
135
|
import _extends from '@babel/runtime/helpers/extends';
|
|
@@ -1200,88 +1200,6 @@ var defaultstylestranslated = {
|
|
|
1200
1200
|
});
|
|
1201
1201
|
}
|
|
1202
1202
|
};
|
|
1203
|
-
var defaultstylestransparent = {
|
|
1204
|
-
option: function option(provided, state) {
|
|
1205
|
-
return _objectSpread$2f(_objectSpread$2f({}, provided), {}, {
|
|
1206
|
-
borderBottom: '1px solid #e6e6e6',
|
|
1207
|
-
backgroundColor: state.isSelected ? '' : '',
|
|
1208
|
-
padding: 5,
|
|
1209
|
-
textTransform: 'capitalize',
|
|
1210
|
-
color: state.isSelected ? '#eac435' : 'black',
|
|
1211
|
-
transition: '.3s',
|
|
1212
|
-
'&:hover': {
|
|
1213
|
-
// color: '#eac435',
|
|
1214
|
-
cursor: 'pointer'
|
|
1215
|
-
}
|
|
1216
|
-
});
|
|
1217
|
-
},
|
|
1218
|
-
control: function control() {
|
|
1219
|
-
return {
|
|
1220
|
-
borderBottom: '1px solid #ccc',
|
|
1221
|
-
backgroundColor: 'transparent',
|
|
1222
|
-
display: 'flex',
|
|
1223
|
-
cursor: 'pointer',
|
|
1224
|
-
padding: 0,
|
|
1225
|
-
transition: '.3s',
|
|
1226
|
-
'&:hover': {
|
|
1227
|
-
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1228
|
-
// borderRadius: '10px',
|
|
1229
|
-
}
|
|
1230
|
-
};
|
|
1231
|
-
},
|
|
1232
|
-
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1233
|
-
return _objectSpread$2f(_objectSpread$2f({}, provided), {}, {
|
|
1234
|
-
'&:hover': {
|
|
1235
|
-
// color: '#eac435',
|
|
1236
|
-
}
|
|
1237
|
-
});
|
|
1238
|
-
}
|
|
1239
|
-
};
|
|
1240
|
-
var defaultstylestranslatedtransparent = {
|
|
1241
|
-
option: function option(provided, state) {
|
|
1242
|
-
return _objectSpread$2f(_objectSpread$2f({}, provided), {}, {
|
|
1243
|
-
borderBottom: '1px solid #e6e6e6',
|
|
1244
|
-
backgroundColor: state.isSelected ? '' : '',
|
|
1245
|
-
padding: 5,
|
|
1246
|
-
textTransform: 'capitalize',
|
|
1247
|
-
// color: state.isSelected ? '#eac435' : '#022648',
|
|
1248
|
-
color: state.isSelected ? '#eac435' : 'black',
|
|
1249
|
-
transition: '.3s',
|
|
1250
|
-
textAlign: 'right',
|
|
1251
|
-
'&:hover': {
|
|
1252
|
-
// color: '#eac435',
|
|
1253
|
-
cursor: 'pointer'
|
|
1254
|
-
}
|
|
1255
|
-
});
|
|
1256
|
-
},
|
|
1257
|
-
control: function control() {
|
|
1258
|
-
return {
|
|
1259
|
-
borderBottom: '1px solid #ccc',
|
|
1260
|
-
backgroundColor: 'transparent',
|
|
1261
|
-
display: 'flex',
|
|
1262
|
-
cursor: 'pointer',
|
|
1263
|
-
padding: 0,
|
|
1264
|
-
transition: '.3s',
|
|
1265
|
-
textAlign: 'right',
|
|
1266
|
-
'&:hover': {
|
|
1267
|
-
// boxShadow: '0px 9px 20px rgba(75, 72, 72, 0.3)',
|
|
1268
|
-
// borderRadius: '10px',
|
|
1269
|
-
}
|
|
1270
|
-
};
|
|
1271
|
-
},
|
|
1272
|
-
dropdownIndicator: function dropdownIndicator(provided) {
|
|
1273
|
-
return _objectSpread$2f(_objectSpread$2f({}, provided), {}, {
|
|
1274
|
-
'&:hover': {
|
|
1275
|
-
// color: '#eac435',
|
|
1276
|
-
}
|
|
1277
|
-
});
|
|
1278
|
-
},
|
|
1279
|
-
placeholder: function placeholder(provided, state) {
|
|
1280
|
-
return _objectSpread$2f(_objectSpread$2f({}, provided), {}, {
|
|
1281
|
-
textAlign: 'right'
|
|
1282
|
-
});
|
|
1283
|
-
}
|
|
1284
|
-
};
|
|
1285
1203
|
var defaultstylesnone = {
|
|
1286
1204
|
option: function option(provided, state) {
|
|
1287
1205
|
return _objectSpread$2f(_objectSpread$2f({}, provided), {}, {
|
|
@@ -7883,7 +7801,7 @@ var Select$3 = /*#__PURE__*/React.lazy(function () {
|
|
|
7883
7801
|
return import('react-select');
|
|
7884
7802
|
});
|
|
7885
7803
|
var Checkout = function Checkout(props) {
|
|
7886
|
-
var _css, _checkoutstyles,
|
|
7804
|
+
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;
|
|
7887
7805
|
var _useState = useState(null),
|
|
7888
7806
|
_useState2 = _slicedToArray(_useState, 2),
|
|
7889
7807
|
timer = _useState2[0],
|
|
@@ -8205,9 +8123,9 @@ var Checkout = function Checkout(props) {
|
|
|
8205
8123
|
}
|
|
8206
8124
|
})), _checkoutstyles);
|
|
8207
8125
|
var Mycart = function Mycart() {
|
|
8208
|
-
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;
|
|
8126
|
+
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;
|
|
8209
8127
|
return /*#__PURE__*/React.createElement("div", {
|
|
8210
|
-
className: "row m-0 w-100"
|
|
8128
|
+
className: "row m-0 w-100 mb-md-3"
|
|
8211
8129
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8212
8130
|
className: "col-lg-12 d-flex align-items-center p-0"
|
|
8213
8131
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -8421,7 +8339,29 @@ var Checkout = function Checkout(props) {
|
|
|
8421
8339
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
8422
8340
|
}, /*#__PURE__*/React.createElement("p", {
|
|
8423
8341
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
8424
|
-
}, 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)))
|
|
8342
|
+
}, 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.createElement("div", {
|
|
8343
|
+
className: "row m-0 w-100"
|
|
8344
|
+
}, 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) {
|
|
8345
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
8346
|
+
"class": "col-lg-12 p-0"
|
|
8347
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8348
|
+
className: "row m-0 w-100"
|
|
8349
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
8350
|
+
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
8351
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8352
|
+
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-center wordbreak ',
|
|
8353
|
+
style: {
|
|
8354
|
+
color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
|
|
8355
|
+
}
|
|
8356
|
+
}, langdetect == 'en' ? item.title_en : item.title_ar)), /*#__PURE__*/React.createElement("div", {
|
|
8357
|
+
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
8358
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8359
|
+
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left ',
|
|
8360
|
+
style: {
|
|
8361
|
+
color: item.addsubtype == 'subtract' ? 'var(--danger)' : 'var(--success)'
|
|
8362
|
+
}
|
|
8363
|
+
}, item.addsubtype == 'subtract' && /*#__PURE__*/React.createElement("span", null, "-"), item.valuetype == 'value' && /*#__PURE__*/React.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.createElement("span", null, item.value, "%")))));
|
|
8364
|
+
}))), (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.createElement("div", {
|
|
8425
8365
|
className: "row m-0 w-100"
|
|
8426
8366
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8427
8367
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
@@ -8434,7 +8374,7 @@ var Checkout = function Checkout(props) {
|
|
|
8434
8374
|
style: {
|
|
8435
8375
|
color: 'red'
|
|
8436
8376
|
}
|
|
8437
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', " -", ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8377
|
+
}, 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.createElement("div", {
|
|
8438
8378
|
className: "col-lg-12 p-0 mb-1"
|
|
8439
8379
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8440
8380
|
className: "row m-0 w-100"
|
|
@@ -8446,7 +8386,7 @@ var Checkout = function Checkout(props) {
|
|
|
8446
8386
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
8447
8387
|
}, /*#__PURE__*/React.createElement("p", {
|
|
8448
8388
|
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 '
|
|
8449
|
-
}, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8389
|
+
}, (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.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.createElement("span", null, "0"))))), sectionproperties.hideshipping == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
8450
8390
|
className: "col-lg-12 p-0"
|
|
8451
8391
|
}, /*#__PURE__*/React.createElement("div", {
|
|
8452
8392
|
className: "row m-0 w-100"
|
|
@@ -8454,11 +8394,11 @@ var Checkout = function Checkout(props) {
|
|
|
8454
8394
|
className: "col-lg-6 col-md-6 col-sm-6 p-0"
|
|
8455
8395
|
}, /*#__PURE__*/React.createElement("p", {
|
|
8456
8396
|
className: "".concat(checkoutstyles.summarysectionstyles, " ") + ' m-0 p-0 d-flex align-items-start wordbreak '
|
|
8457
|
-
}, lang.shippingfees)), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8397
|
+
}, 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.createElement("div", {
|
|
8458
8398
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
8459
8399
|
}, /*#__PURE__*/React.createElement("p", {
|
|
8460
8400
|
className: langdetect == 'en' ? "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 wordbreak text-left '
|
|
8461
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8401
|
+
}, 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.createElement("div", {
|
|
8462
8402
|
className: "col-lg-6 col-md-6 col-sm-6 d-flex justify-content-end p-0"
|
|
8463
8403
|
}, /*#__PURE__*/React.createElement("p", {
|
|
8464
8404
|
className: "".concat(checkoutstyles.summarysectionstyles) + ' m-0 p-0 d-flex align-items-start wordbreak ',
|
|
@@ -8497,7 +8437,7 @@ var Checkout = function Checkout(props) {
|
|
|
8497
8437
|
textTransform: sectionproperties.total_texttransform,
|
|
8498
8438
|
color: sectionproperties.total_color
|
|
8499
8439
|
}
|
|
8500
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', parseFloat(fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8440
|
+
}, 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.createElement("div", {
|
|
8501
8441
|
"class": "col-lg-12 p-0 my-2 p-2 allcentered mb-3",
|
|
8502
8442
|
style: {
|
|
8503
8443
|
background: '#eee',
|
|
@@ -8530,7 +8470,7 @@ var Checkout = function Checkout(props) {
|
|
|
8530
8470
|
width: "20px",
|
|
8531
8471
|
height: "20px",
|
|
8532
8472
|
duration: "1s"
|
|
8533
|
-
}), !AddOrderMutationContext.isLoading ? (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8473
|
+
}), !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 : ''))))));
|
|
8534
8474
|
};
|
|
8535
8475
|
return /*#__PURE__*/React.createElement("div", {
|
|
8536
8476
|
className: 'row m-0 w-100 d-flex justify-content-center p-sm-0 '
|
|
@@ -8677,7 +8617,7 @@ var Checkout = function Checkout(props) {
|
|
|
8677
8617
|
}, lang.name), /*#__PURE__*/React.createElement("input", {
|
|
8678
8618
|
type: 'text',
|
|
8679
8619
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
8680
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8620
|
+
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,
|
|
8681
8621
|
onChange: function onChange(event) {
|
|
8682
8622
|
cartinfoupdater('name', event.target.value);
|
|
8683
8623
|
},
|
|
@@ -8692,7 +8632,7 @@ var Checkout = function Checkout(props) {
|
|
|
8692
8632
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React.createElement("input", {
|
|
8693
8633
|
type: 'text',
|
|
8694
8634
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
8695
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8635
|
+
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,
|
|
8696
8636
|
onChange: function onChange(event) {
|
|
8697
8637
|
cartinfoupdater('mobile', event.target.value);
|
|
8698
8638
|
},
|
|
@@ -8707,7 +8647,7 @@ var Checkout = function Checkout(props) {
|
|
|
8707
8647
|
}, lang.email), /*#__PURE__*/React.createElement("input", {
|
|
8708
8648
|
type: 'text',
|
|
8709
8649
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
8710
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8650
|
+
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,
|
|
8711
8651
|
onChange: function onChange(event) {
|
|
8712
8652
|
cartinfoupdater('email', event.target.value);
|
|
8713
8653
|
},
|
|
@@ -8751,8 +8691,8 @@ var Checkout = function Checkout(props) {
|
|
|
8751
8691
|
return option.id;
|
|
8752
8692
|
},
|
|
8753
8693
|
value: fetchTabexCountriesQueryContext.data.data.countries.filter(function (option) {
|
|
8754
|
-
var
|
|
8755
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8694
|
+
var _fetchcustomercartQue105, _fetchcustomercartQue106;
|
|
8695
|
+
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);
|
|
8756
8696
|
}),
|
|
8757
8697
|
onChange: function onChange(option) {
|
|
8758
8698
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$24({}, FetchTabexStatesPayloadobjContext);
|
|
@@ -8797,12 +8737,12 @@ var Checkout = function Checkout(props) {
|
|
|
8797
8737
|
return option.id;
|
|
8798
8738
|
},
|
|
8799
8739
|
value: fetchTabexStatesQueryContext.data.data.states.filter(function (option) {
|
|
8800
|
-
var
|
|
8801
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8740
|
+
var _fetchcustomercartQue107, _fetchcustomercartQue108;
|
|
8741
|
+
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);
|
|
8802
8742
|
}),
|
|
8803
8743
|
onChange: function onChange(option) {
|
|
8804
|
-
var
|
|
8805
|
-
if (option.id.length != 0 && (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8744
|
+
var _fetchcustomercartQue109, _fetchcustomercartQue110;
|
|
8745
|
+
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) {
|
|
8806
8746
|
var tempFetchTabexStatesPayloadobjContext = _objectSpread$24({}, FetchTabexStatesPayloadobjContext);
|
|
8807
8747
|
tempFetchTabexStatesPayloadobjContext.functype = 'cities';
|
|
8808
8748
|
tempFetchTabexStatesPayloadobjContext.state_id = option.id;
|
|
@@ -8845,8 +8785,8 @@ var Checkout = function Checkout(props) {
|
|
|
8845
8785
|
return option.id;
|
|
8846
8786
|
},
|
|
8847
8787
|
value: fetchTabexCitiesQueryContext.data.data.cities.filter(function (option) {
|
|
8848
|
-
var
|
|
8849
|
-
return option.id == (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8788
|
+
var _fetchcustomercartQue111, _fetchcustomercartQue112;
|
|
8789
|
+
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);
|
|
8850
8790
|
}),
|
|
8851
8791
|
onChange: function onChange(option) {
|
|
8852
8792
|
cartinfoupdater('cityid', option.id);
|
|
@@ -8861,7 +8801,7 @@ var Checkout = function Checkout(props) {
|
|
|
8861
8801
|
}, langdetect == 'en' ? sectionproperties.shippingaddressen : sectionproperties.shippingaddressar), /*#__PURE__*/React.createElement(TextareaAutosize, {
|
|
8862
8802
|
type: 'text',
|
|
8863
8803
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
8864
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8804
|
+
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,
|
|
8865
8805
|
onChange: function onChange(event) {
|
|
8866
8806
|
cartinfoupdater('address', event.target.value);
|
|
8867
8807
|
},
|
|
@@ -8876,7 +8816,7 @@ var Checkout = function Checkout(props) {
|
|
|
8876
8816
|
}, langdetect == 'en' ? 'Notes' : 'الملاحظات'), /*#__PURE__*/React.createElement(TextareaAutosize, {
|
|
8877
8817
|
type: 'text',
|
|
8878
8818
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
8879
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8819
|
+
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,
|
|
8880
8820
|
onChange: function onChange(event) {
|
|
8881
8821
|
cartinfoupdater('notes', event.target.value);
|
|
8882
8822
|
},
|
|
@@ -8891,7 +8831,7 @@ var Checkout = function Checkout(props) {
|
|
|
8891
8831
|
}, langdetect == 'en' ? 'Affiliate code' : 'رمز المسوق'), /*#__PURE__*/React.createElement("input", {
|
|
8892
8832
|
type: 'number',
|
|
8893
8833
|
className: "".concat(formstyles.form_control, " ").concat(checkoutstyles.form_control),
|
|
8894
|
-
value: fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8834
|
+
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,
|
|
8895
8835
|
onChange: function onChange(event) {
|
|
8896
8836
|
cartinfoupdater('aff_code', event.target.value);
|
|
8897
8837
|
},
|
|
@@ -8922,10 +8862,10 @@ var Checkout = function Checkout(props) {
|
|
|
8922
8862
|
id: 'codcheckbox',
|
|
8923
8863
|
type: "checkbox",
|
|
8924
8864
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
8925
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8865
|
+
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,
|
|
8926
8866
|
onChange: function onChange() {
|
|
8927
|
-
var
|
|
8928
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8867
|
+
var _fetchcustomercartQue122, _fetchcustomercartQue123;
|
|
8868
|
+
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') {
|
|
8929
8869
|
cartinfoupdater('paymentmethod', 'cod');
|
|
8930
8870
|
}
|
|
8931
8871
|
}
|
|
@@ -8946,10 +8886,10 @@ var Checkout = function Checkout(props) {
|
|
|
8946
8886
|
}, /*#__PURE__*/React.createElement("input", {
|
|
8947
8887
|
type: "checkbox",
|
|
8948
8888
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
8949
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8889
|
+
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,
|
|
8950
8890
|
onChange: function onChange() {
|
|
8951
|
-
var
|
|
8952
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8891
|
+
var _fetchcustomercartQue126, _fetchcustomercartQue127;
|
|
8892
|
+
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') {
|
|
8953
8893
|
cartinfoupdater('paymentmethod', 'cardondelivery');
|
|
8954
8894
|
}
|
|
8955
8895
|
}
|
|
@@ -8967,10 +8907,10 @@ var Checkout = function Checkout(props) {
|
|
|
8967
8907
|
}, /*#__PURE__*/React.createElement("input", {
|
|
8968
8908
|
type: "checkbox",
|
|
8969
8909
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
8970
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8910
|
+
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,
|
|
8971
8911
|
onChange: function onChange() {
|
|
8972
|
-
var
|
|
8973
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8912
|
+
var _fetchcustomercartQue130, _fetchcustomercartQue131;
|
|
8913
|
+
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') {
|
|
8974
8914
|
cartinfoupdater('paymentmethod', 'onlinepayment');
|
|
8975
8915
|
}
|
|
8976
8916
|
}
|
|
@@ -8988,10 +8928,10 @@ var Checkout = function Checkout(props) {
|
|
|
8988
8928
|
}, /*#__PURE__*/React.createElement("input", {
|
|
8989
8929
|
type: "checkbox",
|
|
8990
8930
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
8991
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8931
|
+
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,
|
|
8992
8932
|
onChange: function onChange() {
|
|
8993
|
-
var
|
|
8994
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8933
|
+
var _fetchcustomercartQue134, _fetchcustomercartQue135;
|
|
8934
|
+
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') {
|
|
8995
8935
|
cartinfoupdater('paymentmethod', 'valU');
|
|
8996
8936
|
}
|
|
8997
8937
|
}
|
|
@@ -9002,7 +8942,7 @@ var Checkout = function Checkout(props) {
|
|
|
9002
8942
|
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"
|
|
9003
8943
|
})), /*#__PURE__*/React.createElement("p", {
|
|
9004
8944
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9005
|
-
}, " ValU")))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (
|
|
8945
|
+
}, " 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.createElement("div", {
|
|
9006
8946
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
9007
8947
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9008
8948
|
style: {
|
|
@@ -35544,7 +35484,7 @@ var Footer7 = function Footer7(props) {
|
|
|
35544
35484
|
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; }
|
|
35545
35485
|
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(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; }
|
|
35546
35486
|
var Footer8 = function Footer8(props) {
|
|
35547
|
-
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i8, _authdetailsContext$i9, _templatepropcontext$;
|
|
35487
|
+
var _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i, _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i10, _authdetailsContext$i13, _authdetailsContext$i16, _authdetailsContext$i19, _templatepropcontext$;
|
|
35548
35488
|
var _useState = useState(''),
|
|
35549
35489
|
_useState2 = _slicedToArray(_useState, 2),
|
|
35550
35490
|
sectionproperties = _useState2[0],
|
|
@@ -35842,39 +35782,52 @@ var Footer8 = function Footer8(props) {
|
|
|
35842
35782
|
}
|
|
35843
35783
|
}, authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber))), /*#__PURE__*/React.createElement("div", {
|
|
35844
35784
|
"class": 'col-lg-12 p-0 d-flex align-items-center justify-content-start mt-3'
|
|
35845
|
-
}, sectionproperties.fbbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
35846
|
-
"class": "".concat(footerStyles.facebook_btn) + ' d-flex align-items-center justify-content-center ',
|
|
35785
|
+
}, 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.createElement("div", {
|
|
35786
|
+
"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 ',
|
|
35847
35787
|
onClick: function onClick() {
|
|
35848
|
-
var _authdetailsContext$
|
|
35849
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
35850
|
-
var _authdetailsContext$
|
|
35851
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
35788
|
+
var _authdetailsContext$i11;
|
|
35789
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.facebooklink) != null) {
|
|
35790
|
+
var _authdetailsContext$i12;
|
|
35791
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.facebooklink, '_blank');
|
|
35852
35792
|
}
|
|
35853
35793
|
}
|
|
35854
35794
|
}, /*#__PURE__*/React.createElement(FaFacebookF, {
|
|
35855
35795
|
size: sectionproperties.facebkbtnniconfontsize
|
|
35856
|
-
})), sectionproperties.instbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
35857
|
-
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-
|
|
35796
|
+
})), 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.createElement("div", {
|
|
35797
|
+
"class": "".concat(footerStyles.instgram_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
35858
35798
|
onClick: function onClick() {
|
|
35859
|
-
var _authdetailsContext$
|
|
35860
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
35861
|
-
var _authdetailsContext$
|
|
35862
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
35799
|
+
var _authdetailsContext$i14;
|
|
35800
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.instagramlink) != null) {
|
|
35801
|
+
var _authdetailsContext$i15;
|
|
35802
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.instagramlink, '_blank');
|
|
35863
35803
|
}
|
|
35864
35804
|
}
|
|
35865
35805
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
35866
35806
|
size: sectionproperties.instgrambtniconfontsize
|
|
35867
|
-
})), sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
35868
|
-
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ',
|
|
35807
|
+
})), 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.createElement("div", {
|
|
35808
|
+
"class": "".concat(footerStyles.youtube_btn) + ' d-flex align-items-center justify-content-center ml-2 mr-2 ',
|
|
35869
35809
|
onClick: function onClick() {
|
|
35870
|
-
var _authdetailsContext$
|
|
35871
|
-
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
35872
|
-
var _authdetailsContext$
|
|
35873
|
-
window.open('https://api.whatsapp.com/send?phone=' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$
|
|
35810
|
+
var _authdetailsContext$i17;
|
|
35811
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.whatsappnumber) != null) {
|
|
35812
|
+
var _authdetailsContext$i18;
|
|
35813
|
+
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');
|
|
35874
35814
|
}
|
|
35875
35815
|
}
|
|
35876
35816
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
35877
35817
|
size: sectionproperties.youtubebtniconfontsize
|
|
35818
|
+
})), 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.createElement("div", {
|
|
35819
|
+
"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 '
|
|
35820
|
+
// class={`${footerStyles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-1 mr-1 '}
|
|
35821
|
+
,
|
|
35822
|
+
onClick: function onClick() {
|
|
35823
|
+
var _authdetailsContext$i20;
|
|
35824
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.tiktoklink) != null) {
|
|
35825
|
+
var _authdetailsContext$i21;
|
|
35826
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 ? void 0 : (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.tiktoklink, '_blank');
|
|
35827
|
+
}
|
|
35828
|
+
}
|
|
35829
|
+
}, /*#__PURE__*/React.createElement(IoLogoTiktok, {
|
|
35830
|
+
size: sectionproperties.youtubebtniconfontsize
|
|
35878
35831
|
})))))), sectionproperties.showhidemainpages == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
35879
35832
|
"class": "row m-0 allcentered"
|
|
35880
35833
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -42867,7 +42820,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
42867
42820
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
42868
42821
|
imagesarray = _useState6[0],
|
|
42869
42822
|
setimagesarray = _useState6[1];
|
|
42870
|
-
|
|
42823
|
+
props.actions.lang;
|
|
42871
42824
|
var langdetect = props.actions.langdetect;
|
|
42872
42825
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
42873
42826
|
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
@@ -42994,29 +42947,6 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
42994
42947
|
}
|
|
42995
42948
|
})
|
|
42996
42949
|
};
|
|
42997
|
-
var countries = [{
|
|
42998
|
-
value: 'egypt',
|
|
42999
|
-
label: 'Egypt'
|
|
43000
|
-
}, {
|
|
43001
|
-
value: 'algeria',
|
|
43002
|
-
label: 'Algeria'
|
|
43003
|
-
}, {
|
|
43004
|
-
value: 'georgia',
|
|
43005
|
-
label: 'Georgia'
|
|
43006
|
-
}];
|
|
43007
|
-
var states = [{
|
|
43008
|
-
value: 'cairo',
|
|
43009
|
-
label: 'Cairo'
|
|
43010
|
-
}, {
|
|
43011
|
-
vlaue: 'giza',
|
|
43012
|
-
label: 'Giza'
|
|
43013
|
-
}, {
|
|
43014
|
-
vlaue: 'chlef',
|
|
43015
|
-
label: 'Chlef'
|
|
43016
|
-
}, {
|
|
43017
|
-
vlaue: 'alabama',
|
|
43018
|
-
label: 'Alabama'
|
|
43019
|
-
}];
|
|
43020
42950
|
return /*#__PURE__*/React.createElement("div", {
|
|
43021
42951
|
"class": sectionstyles.container + ' allcentered mx-md-0 '
|
|
43022
42952
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -43093,37 +43023,7 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
43093
43023
|
fontWeight: sectionproperties.formRightTextFontWeight2,
|
|
43094
43024
|
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
43095
43025
|
}
|
|
43096
|
-
}, langdetect == 'en' ? sectionproperties.formRightText2 : sectionproperties.formRightText2_ar), /*#__PURE__*/React.createElement("div", {
|
|
43097
|
-
"class": "row m-0 w-100 mt-2"
|
|
43098
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
43099
|
-
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-12 col-md-12 col-sm-12 mb-3 p-0 '
|
|
43100
|
-
}, /*#__PURE__*/React.createElement("label", {
|
|
43101
|
-
className: "".concat(sectionstyles.input_label_name) + ' m-0 '
|
|
43102
|
-
}, lang.country), /*#__PURE__*/React.createElement(Select$5, {
|
|
43103
|
-
options: countries,
|
|
43104
|
-
styles: langdetect == 'en' ? defaultstylestransparent : defaultstylestranslatedtransparent
|
|
43105
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
43106
|
-
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-12 col-md-12 col-sm-12 mb-3 p-0 '
|
|
43107
|
-
}, /*#__PURE__*/React.createElement("label", {
|
|
43108
|
-
className: "".concat(sectionstyles.input_label_name) + ' m-0 '
|
|
43109
|
-
}, langdetect == 'en' ? 'State' : 'الولاية'), /*#__PURE__*/React.createElement(Select$5, {
|
|
43110
|
-
options: states,
|
|
43111
|
-
styles: langdetect == 'en' ? defaultstylestransparent : defaultstylestranslatedtransparent
|
|
43112
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
43113
|
-
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-12 col-md-12 col-sm-12 mb-3 p-0 '
|
|
43114
|
-
}, /*#__PURE__*/React.createElement("label", {
|
|
43115
|
-
className: "".concat(sectionstyles.input_label_name) + ' m-0 '
|
|
43116
|
-
}, langdetect == 'en' ? 'From' : 'من'), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("input", {
|
|
43117
|
-
className: "".concat(sectionstyles.dateInput),
|
|
43118
|
-
type: "date"
|
|
43119
|
-
}))), /*#__PURE__*/React.createElement("div", {
|
|
43120
|
-
className: "".concat(langdetect == 'en' ? 'text-left' : 'text-right') + ' col-lg-12 col-md-12 col-sm-12 mb-3 p-0 '
|
|
43121
|
-
}, /*#__PURE__*/React.createElement("label", {
|
|
43122
|
-
className: "".concat(sectionstyles.input_label_name) + ' m-0 '
|
|
43123
|
-
}, langdetect == 'en' ? 'To' : 'إلى'), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("input", {
|
|
43124
|
-
className: "".concat(sectionstyles.dateInput),
|
|
43125
|
-
type: "date"
|
|
43126
|
-
})))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
43026
|
+
}, langdetect == 'en' ? sectionproperties.formRightText2 : sectionproperties.formRightText2_ar), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
43127
43027
|
"class": "row m-0 w-100 justify-content-center"
|
|
43128
43028
|
}, /*#__PURE__*/React.createElement("button", {
|
|
43129
43029
|
"class": sectionstyles.btnstyles + ' allcentered '
|
|
@@ -43206,13 +43106,13 @@ var BackgroundImageWithTopContent = function BackgroundImageWithTopContent(props
|
|
|
43206
43106
|
formatLabel: function formatLabel(value) {
|
|
43207
43107
|
return "".concat(value);
|
|
43208
43108
|
},
|
|
43209
|
-
maxValue:
|
|
43210
|
-
minValue:
|
|
43109
|
+
maxValue: parseInt(sectionproperties.filterpricemaxvalue),
|
|
43110
|
+
minValue: parseInt(sectionproperties.filterpriceminvalue),
|
|
43211
43111
|
value: pricevalue,
|
|
43212
43112
|
onChange: function onChange(value) {
|
|
43213
43113
|
setpricevalue(_objectSpread$15({}, value));
|
|
43214
43114
|
}
|
|
43215
|
-
}))
|
|
43115
|
+
}))))), sectionproperties.generalbtn_show == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
43216
43116
|
"class": "col-lg-12 p-0 allcentered mt-3"
|
|
43217
43117
|
}, /*#__PURE__*/React.createElement("button", {
|
|
43218
43118
|
"class": sectionstyles.btnstyles + ' allcentered ',
|