tabexseriescomponents 0.0.843 → 0.0.844
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 +34 -13
- package/dist/index.esm.js +34 -13
- package/dist/index.umd.js +34 -13
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -10913,7 +10913,7 @@ var Select$3 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
|
10913
10913
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
10914
10914
|
});
|
|
10915
10915
|
var Checkout = function Checkout(props) {
|
|
10916
|
-
var _css, _fetchcustomercartQue65, _fetchcustomercartQue66, _authdetailsContext$i4, _fetchcustomercartQue67, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _authdetailsContext$i5, _fetchcustomercartQue86, _authdetailsContext$i6, _fetchcustomercartQue88, _authdetailsContext$i7, _fetchcustomercartQue90, _authdetailsContext$i8, _fetchcustomercartQue92, _fetchcustomercartQue94;
|
|
10916
|
+
var _css, _fetchcustomercartQue65, _fetchcustomercartQue66, _authdetailsContext$i4, _fetchcustomercartQue67, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _authdetailsContext$i5, _fetchcustomercartQue86, _authdetailsContext$i6, _fetchcustomercartQue88, _authdetailsContext$i7, _fetchcustomercartQue90, _authdetailsContext$i8, _fetchcustomercartQue92, _authdetailsContext$i9, _fetchcustomercartQue94, _fetchcustomercartQue96;
|
|
10917
10917
|
var _useState = React.useState(null),
|
|
10918
10918
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
10919
10919
|
_useState2[0];
|
|
@@ -12402,17 +12402,38 @@ var Checkout = function Checkout(props) {
|
|
|
12402
12402
|
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"
|
|
12403
12403
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12404
12404
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
12405
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.
|
|
12405
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12406
12406
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
12407
12407
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
12408
12408
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
12409
12409
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
12410
12410
|
type: "checkbox",
|
|
12411
12411
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
12412
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.customercart) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.paymentmethod) == '
|
|
12412
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.customercart) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.paymentmethod) == 'Souhoola' ? true : false,
|
|
12413
12413
|
onChange: function onChange() {
|
|
12414
12414
|
var _fetchcustomercartQue89;
|
|
12415
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.customercart) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.paymentmethod) != '
|
|
12415
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.customercart) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.paymentmethod) != 'Souhoola') {
|
|
12416
|
+
cartinfoupdater('paymentmethod', 'Souhoola');
|
|
12417
|
+
}
|
|
12418
|
+
}
|
|
12419
|
+
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
12420
|
+
viewBox: "0 0 21 21",
|
|
12421
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
12422
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
12423
|
+
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"
|
|
12424
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12425
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
12426
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12427
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
12428
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
12429
|
+
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
12430
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
12431
|
+
type: "checkbox",
|
|
12432
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
12433
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue90 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.customercart) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.paymentmethod) == 'paypal' ? true : false,
|
|
12434
|
+
onChange: function onChange() {
|
|
12435
|
+
var _fetchcustomercartQue91;
|
|
12436
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.customercart) === null || _fetchcustomercartQue91 === void 0 ? void 0 : _fetchcustomercartQue91.paymentmethod) != 'paypal') {
|
|
12416
12437
|
cartinfoupdater('paymentmethod', 'paypal');
|
|
12417
12438
|
}
|
|
12418
12439
|
}
|
|
@@ -12423,17 +12444,17 @@ var Checkout = function Checkout(props) {
|
|
|
12423
12444
|
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"
|
|
12424
12445
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12425
12446
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
12426
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12447
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12427
12448
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
12428
12449
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
12429
12450
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
12430
12451
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
12431
12452
|
type: "checkbox",
|
|
12432
12453
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
12433
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12454
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue92 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.customercart) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.paymentmethod) == 'bankinstallments' ? true : false,
|
|
12434
12455
|
onChange: function onChange() {
|
|
12435
|
-
var
|
|
12436
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12456
|
+
var _fetchcustomercartQue93;
|
|
12457
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.customercart) === null || _fetchcustomercartQue93 === void 0 ? void 0 : _fetchcustomercartQue93.paymentmethod) != 'bankinstallments') {
|
|
12437
12458
|
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
12438
12459
|
}
|
|
12439
12460
|
}
|
|
@@ -12444,17 +12465,17 @@ var Checkout = function Checkout(props) {
|
|
|
12444
12465
|
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"
|
|
12445
12466
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12446
12467
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
12447
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12468
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12448
12469
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
12449
12470
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
12450
12471
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
12451
12472
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
12452
12473
|
type: "checkbox",
|
|
12453
12474
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
12454
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12475
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue94 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.customercart) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.paymentmethod) == 'Aman' ? true : false,
|
|
12455
12476
|
onChange: function onChange() {
|
|
12456
|
-
var
|
|
12457
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12477
|
+
var _fetchcustomercartQue95;
|
|
12478
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.customercart) === null || _fetchcustomercartQue95 === void 0 ? void 0 : _fetchcustomercartQue95.paymentmethod) != 'Aman') {
|
|
12458
12479
|
cartinfoupdater('paymentmethod', 'Aman');
|
|
12459
12480
|
}
|
|
12460
12481
|
}
|
|
@@ -12465,7 +12486,7 @@ var Checkout = function Checkout(props) {
|
|
|
12465
12486
|
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"
|
|
12466
12487
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12467
12488
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
12468
|
-
}, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12489
|
+
}, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue96 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.data) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12469
12490
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
12470
12491
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12471
12492
|
style: {
|
package/dist/index.esm.js
CHANGED
|
@@ -10864,7 +10864,7 @@ var Select$3 = /*#__PURE__*/React.lazy(function () {
|
|
|
10864
10864
|
return import('react-select');
|
|
10865
10865
|
});
|
|
10866
10866
|
var Checkout = function Checkout(props) {
|
|
10867
|
-
var _css, _fetchcustomercartQue65, _fetchcustomercartQue66, _authdetailsContext$i4, _fetchcustomercartQue67, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _authdetailsContext$i5, _fetchcustomercartQue86, _authdetailsContext$i6, _fetchcustomercartQue88, _authdetailsContext$i7, _fetchcustomercartQue90, _authdetailsContext$i8, _fetchcustomercartQue92, _fetchcustomercartQue94;
|
|
10867
|
+
var _css, _fetchcustomercartQue65, _fetchcustomercartQue66, _authdetailsContext$i4, _fetchcustomercartQue67, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _authdetailsContext$i5, _fetchcustomercartQue86, _authdetailsContext$i6, _fetchcustomercartQue88, _authdetailsContext$i7, _fetchcustomercartQue90, _authdetailsContext$i8, _fetchcustomercartQue92, _authdetailsContext$i9, _fetchcustomercartQue94, _fetchcustomercartQue96;
|
|
10868
10868
|
var _useState = useState(null),
|
|
10869
10869
|
_useState2 = _slicedToArray(_useState, 2);
|
|
10870
10870
|
_useState2[0];
|
|
@@ -12353,17 +12353,38 @@ var Checkout = function Checkout(props) {
|
|
|
12353
12353
|
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"
|
|
12354
12354
|
})), /*#__PURE__*/React.createElement("p", {
|
|
12355
12355
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
12356
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.
|
|
12356
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.acceptSouhoolaCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
12357
12357
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
12358
12358
|
}, /*#__PURE__*/React.createElement("label", {
|
|
12359
12359
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
12360
12360
|
}, /*#__PURE__*/React.createElement("input", {
|
|
12361
12361
|
type: "checkbox",
|
|
12362
12362
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
12363
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.customercart) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.paymentmethod) == '
|
|
12363
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.customercart) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.paymentmethod) == 'Souhoola' ? true : false,
|
|
12364
12364
|
onChange: function onChange() {
|
|
12365
12365
|
var _fetchcustomercartQue89;
|
|
12366
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.customercart) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.paymentmethod) != '
|
|
12366
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.customercart) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.paymentmethod) != 'Souhoola') {
|
|
12367
|
+
cartinfoupdater('paymentmethod', 'Souhoola');
|
|
12368
|
+
}
|
|
12369
|
+
}
|
|
12370
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
12371
|
+
viewBox: "0 0 21 21",
|
|
12372
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
12373
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
12374
|
+
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"
|
|
12375
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
12376
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
12377
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.acceptonlinePaypal) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
12378
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
12379
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
12380
|
+
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
12381
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
12382
|
+
type: "checkbox",
|
|
12383
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
12384
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue90 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.customercart) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.paymentmethod) == 'paypal' ? true : false,
|
|
12385
|
+
onChange: function onChange() {
|
|
12386
|
+
var _fetchcustomercartQue91;
|
|
12387
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.customercart) === null || _fetchcustomercartQue91 === void 0 ? void 0 : _fetchcustomercartQue91.paymentmethod) != 'paypal') {
|
|
12367
12388
|
cartinfoupdater('paymentmethod', 'paypal');
|
|
12368
12389
|
}
|
|
12369
12390
|
}
|
|
@@ -12374,17 +12395,17 @@ var Checkout = function Checkout(props) {
|
|
|
12374
12395
|
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"
|
|
12375
12396
|
})), /*#__PURE__*/React.createElement("p", {
|
|
12376
12397
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
12377
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12398
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
12378
12399
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
12379
12400
|
}, /*#__PURE__*/React.createElement("label", {
|
|
12380
12401
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
12381
12402
|
}, /*#__PURE__*/React.createElement("input", {
|
|
12382
12403
|
type: "checkbox",
|
|
12383
12404
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
12384
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12405
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue92 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.customercart) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.paymentmethod) == 'bankinstallments' ? true : false,
|
|
12385
12406
|
onChange: function onChange() {
|
|
12386
|
-
var
|
|
12387
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12407
|
+
var _fetchcustomercartQue93;
|
|
12408
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.customercart) === null || _fetchcustomercartQue93 === void 0 ? void 0 : _fetchcustomercartQue93.paymentmethod) != 'bankinstallments') {
|
|
12388
12409
|
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
12389
12410
|
}
|
|
12390
12411
|
}
|
|
@@ -12395,17 +12416,17 @@ var Checkout = function Checkout(props) {
|
|
|
12395
12416
|
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"
|
|
12396
12417
|
})), /*#__PURE__*/React.createElement("p", {
|
|
12397
12418
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
12398
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12419
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.acceptAmanCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
12399
12420
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
12400
12421
|
}, /*#__PURE__*/React.createElement("label", {
|
|
12401
12422
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
12402
12423
|
}, /*#__PURE__*/React.createElement("input", {
|
|
12403
12424
|
type: "checkbox",
|
|
12404
12425
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
12405
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12426
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue94 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.customercart) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.paymentmethod) == 'Aman' ? true : false,
|
|
12406
12427
|
onChange: function onChange() {
|
|
12407
|
-
var
|
|
12408
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12428
|
+
var _fetchcustomercartQue95;
|
|
12429
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.customercart) === null || _fetchcustomercartQue95 === void 0 ? void 0 : _fetchcustomercartQue95.paymentmethod) != 'Aman') {
|
|
12409
12430
|
cartinfoupdater('paymentmethod', 'Aman');
|
|
12410
12431
|
}
|
|
12411
12432
|
}
|
|
@@ -12416,7 +12437,7 @@ var Checkout = function Checkout(props) {
|
|
|
12416
12437
|
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"
|
|
12417
12438
|
})), /*#__PURE__*/React.createElement("p", {
|
|
12418
12439
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
12419
|
-
}, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12440
|
+
}, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue96 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.data) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React.createElement("div", {
|
|
12420
12441
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
12421
12442
|
}, /*#__PURE__*/React.createElement("div", {
|
|
12422
12443
|
style: {
|
package/dist/index.umd.js
CHANGED
|
@@ -10729,7 +10729,7 @@
|
|
|
10729
10729
|
return import('react-select');
|
|
10730
10730
|
});
|
|
10731
10731
|
var Checkout = function Checkout(props) {
|
|
10732
|
-
var _css, _fetchcustomercartQue65, _fetchcustomercartQue66, _authdetailsContext$i4, _fetchcustomercartQue67, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _authdetailsContext$i5, _fetchcustomercartQue86, _authdetailsContext$i6, _fetchcustomercartQue88, _authdetailsContext$i7, _fetchcustomercartQue90, _authdetailsContext$i8, _fetchcustomercartQue92, _fetchcustomercartQue94;
|
|
10732
|
+
var _css, _fetchcustomercartQue65, _fetchcustomercartQue66, _authdetailsContext$i4, _fetchcustomercartQue67, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _authdetailsContext$i5, _fetchcustomercartQue86, _authdetailsContext$i6, _fetchcustomercartQue88, _authdetailsContext$i7, _fetchcustomercartQue90, _authdetailsContext$i8, _fetchcustomercartQue92, _authdetailsContext$i9, _fetchcustomercartQue94, _fetchcustomercartQue96;
|
|
10733
10733
|
var _useState = React.useState(null),
|
|
10734
10734
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
10735
10735
|
_useState2[0];
|
|
@@ -12218,17 +12218,38 @@
|
|
|
12218
12218
|
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"
|
|
12219
12219
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12220
12220
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
12221
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.
|
|
12221
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12222
12222
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
12223
12223
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
12224
12224
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
12225
12225
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
12226
12226
|
type: "checkbox",
|
|
12227
12227
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
12228
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.customercart) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.paymentmethod) == '
|
|
12228
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue88 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.data) === null || _fetchcustomercartQue88 === void 0 || (_fetchcustomercartQue88 = _fetchcustomercartQue88.customercart) === null || _fetchcustomercartQue88 === void 0 ? void 0 : _fetchcustomercartQue88.paymentmethod) == 'Souhoola' ? true : false,
|
|
12229
12229
|
onChange: function onChange() {
|
|
12230
12230
|
var _fetchcustomercartQue89;
|
|
12231
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.customercart) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.paymentmethod) != '
|
|
12231
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue89 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.data) === null || _fetchcustomercartQue89 === void 0 || (_fetchcustomercartQue89 = _fetchcustomercartQue89.customercart) === null || _fetchcustomercartQue89 === void 0 ? void 0 : _fetchcustomercartQue89.paymentmethod) != 'Souhoola') {
|
|
12232
|
+
cartinfoupdater('paymentmethod', 'Souhoola');
|
|
12233
|
+
}
|
|
12234
|
+
}
|
|
12235
|
+
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
12236
|
+
viewBox: "0 0 21 21",
|
|
12237
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
12238
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
12239
|
+
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"
|
|
12240
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12241
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
12242
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12243
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
12244
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
12245
|
+
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
12246
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
12247
|
+
type: "checkbox",
|
|
12248
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
12249
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue90 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.data) === null || _fetchcustomercartQue90 === void 0 || (_fetchcustomercartQue90 = _fetchcustomercartQue90.customercart) === null || _fetchcustomercartQue90 === void 0 ? void 0 : _fetchcustomercartQue90.paymentmethod) == 'paypal' ? true : false,
|
|
12250
|
+
onChange: function onChange() {
|
|
12251
|
+
var _fetchcustomercartQue91;
|
|
12252
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue91 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.data) === null || _fetchcustomercartQue91 === void 0 || (_fetchcustomercartQue91 = _fetchcustomercartQue91.customercart) === null || _fetchcustomercartQue91 === void 0 ? void 0 : _fetchcustomercartQue91.paymentmethod) != 'paypal') {
|
|
12232
12253
|
cartinfoupdater('paymentmethod', 'paypal');
|
|
12233
12254
|
}
|
|
12234
12255
|
}
|
|
@@ -12239,17 +12260,17 @@
|
|
|
12239
12260
|
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"
|
|
12240
12261
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12241
12262
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
12242
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12263
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12243
12264
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
12244
12265
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
12245
12266
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
12246
12267
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
12247
12268
|
type: "checkbox",
|
|
12248
12269
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
12249
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12270
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue92 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.data) === null || _fetchcustomercartQue92 === void 0 || (_fetchcustomercartQue92 = _fetchcustomercartQue92.customercart) === null || _fetchcustomercartQue92 === void 0 ? void 0 : _fetchcustomercartQue92.paymentmethod) == 'bankinstallments' ? true : false,
|
|
12250
12271
|
onChange: function onChange() {
|
|
12251
|
-
var
|
|
12252
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12272
|
+
var _fetchcustomercartQue93;
|
|
12273
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue93 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.data) === null || _fetchcustomercartQue93 === void 0 || (_fetchcustomercartQue93 = _fetchcustomercartQue93.customercart) === null || _fetchcustomercartQue93 === void 0 ? void 0 : _fetchcustomercartQue93.paymentmethod) != 'bankinstallments') {
|
|
12253
12274
|
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
12254
12275
|
}
|
|
12255
12276
|
}
|
|
@@ -12260,17 +12281,17 @@
|
|
|
12260
12281
|
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"
|
|
12261
12282
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12262
12283
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
12263
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12284
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12264
12285
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
12265
12286
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
12266
12287
|
className: langdetect == 'en' ? "".concat(formstyles.checkbox, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 ' : "".concat(formstyles.checkbox, " ").concat(formstyles.checkboxtranslated, " ").concat(checkoutstyles.checkbox, " ") + ' d-flex mb-0 '
|
|
12267
12288
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
12268
12289
|
type: "checkbox",
|
|
12269
12290
|
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
12270
|
-
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12291
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue94 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.data) === null || _fetchcustomercartQue94 === void 0 || (_fetchcustomercartQue94 = _fetchcustomercartQue94.customercart) === null || _fetchcustomercartQue94 === void 0 ? void 0 : _fetchcustomercartQue94.paymentmethod) == 'Aman' ? true : false,
|
|
12271
12292
|
onChange: function onChange() {
|
|
12272
|
-
var
|
|
12273
|
-
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12293
|
+
var _fetchcustomercartQue95;
|
|
12294
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue95 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.data) === null || _fetchcustomercartQue95 === void 0 || (_fetchcustomercartQue95 = _fetchcustomercartQue95.customercart) === null || _fetchcustomercartQue95 === void 0 ? void 0 : _fetchcustomercartQue95.paymentmethod) != 'Aman') {
|
|
12274
12295
|
cartinfoupdater('paymentmethod', 'Aman');
|
|
12275
12296
|
}
|
|
12276
12297
|
}
|
|
@@ -12281,7 +12302,7 @@
|
|
|
12281
12302
|
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"
|
|
12282
12303
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12283
12304
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
12284
|
-
}, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (
|
|
12305
|
+
}, langdetect == 'en' ? 'Aman' : 'Aman')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue96 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue96 === void 0 || (_fetchcustomercartQue96 = _fetchcustomercartQue96.data) === null || _fetchcustomercartQue96 === void 0 ? void 0 : _fetchcustomercartQue96.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12285
12306
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
12286
12307
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12287
12308
|
style: {
|