tabexseriescomponents 0.0.418 → 0.0.419
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 +44 -2
- package/dist/index.esm.js +44 -2
- package/dist/index.umd.js +44 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -8649,7 +8649,7 @@ var Select$3 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
|
8649
8649
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
8650
8650
|
});
|
|
8651
8651
|
var Checkout = function Checkout(props) {
|
|
8652
|
-
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _fetchcustomercartQue75;
|
|
8652
|
+
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _authdetailsContext$i4, _fetchcustomercartQue75, _authdetailsContext$i5, _fetchcustomercartQue77, _fetchcustomercartQue79;
|
|
8653
8653
|
var _useState = React.useState(null),
|
|
8654
8654
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
8655
8655
|
_useState2[0];
|
|
@@ -9878,7 +9878,49 @@ var Checkout = function Checkout(props) {
|
|
|
9878
9878
|
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"
|
|
9879
9879
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9880
9880
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9881
|
-
}, langdetect == 'en' ? 'Mobile Wallet' : 'المحفظة الإلكترونية')))
|
|
9881
|
+
}, langdetect == 'en' ? 'Mobile Wallet' : 'المحفظة الإلكترونية'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9882
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
9883
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
9884
|
+
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 '
|
|
9885
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
9886
|
+
type: "checkbox",
|
|
9887
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9888
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.customercart) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.paymentmethod) == 'forsa' ? true : false,
|
|
9889
|
+
onChange: function onChange() {
|
|
9890
|
+
var _fetchcustomercartQue76;
|
|
9891
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.customercart) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.paymentmethod) != 'forsa') {
|
|
9892
|
+
cartinfoupdater('paymentmethod', 'forsa');
|
|
9893
|
+
}
|
|
9894
|
+
}
|
|
9895
|
+
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
9896
|
+
viewBox: "0 0 21 21",
|
|
9897
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
9898
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
9899
|
+
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"
|
|
9900
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9901
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9902
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9903
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
9904
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
9905
|
+
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 '
|
|
9906
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
9907
|
+
type: "checkbox",
|
|
9908
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9909
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.customercart) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.paymentmethod) == 'bankinstallments' ? true : false,
|
|
9910
|
+
onChange: function onChange() {
|
|
9911
|
+
var _fetchcustomercartQue78;
|
|
9912
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.customercart) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.paymentmethod) != 'bankinstallments') {
|
|
9913
|
+
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
9914
|
+
}
|
|
9915
|
+
}
|
|
9916
|
+
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
9917
|
+
viewBox: "0 0 21 21",
|
|
9918
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
9919
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
9920
|
+
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"
|
|
9921
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9922
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9923
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9882
9924
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
9883
9925
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9884
9926
|
style: {
|
package/dist/index.esm.js
CHANGED
|
@@ -8600,7 +8600,7 @@ var Select$3 = /*#__PURE__*/React.lazy(function () {
|
|
|
8600
8600
|
return import('react-select');
|
|
8601
8601
|
});
|
|
8602
8602
|
var Checkout = function Checkout(props) {
|
|
8603
|
-
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _fetchcustomercartQue75;
|
|
8603
|
+
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _authdetailsContext$i4, _fetchcustomercartQue75, _authdetailsContext$i5, _fetchcustomercartQue77, _fetchcustomercartQue79;
|
|
8604
8604
|
var _useState = useState(null),
|
|
8605
8605
|
_useState2 = _slicedToArray(_useState, 2);
|
|
8606
8606
|
_useState2[0];
|
|
@@ -9829,7 +9829,49 @@ var Checkout = function Checkout(props) {
|
|
|
9829
9829
|
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"
|
|
9830
9830
|
})), /*#__PURE__*/React.createElement("p", {
|
|
9831
9831
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9832
|
-
}, langdetect == 'en' ? 'Mobile Wallet' : 'المحفظة الإلكترونية')))
|
|
9832
|
+
}, langdetect == 'en' ? 'Mobile Wallet' : 'المحفظة الإلكترونية'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.acceptForsaCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
9833
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
9834
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
9835
|
+
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 '
|
|
9836
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
9837
|
+
type: "checkbox",
|
|
9838
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9839
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.customercart) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.paymentmethod) == 'forsa' ? true : false,
|
|
9840
|
+
onChange: function onChange() {
|
|
9841
|
+
var _fetchcustomercartQue76;
|
|
9842
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.customercart) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.paymentmethod) != 'forsa') {
|
|
9843
|
+
cartinfoupdater('paymentmethod', 'forsa');
|
|
9844
|
+
}
|
|
9845
|
+
}
|
|
9846
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
9847
|
+
viewBox: "0 0 21 21",
|
|
9848
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
9849
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
9850
|
+
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"
|
|
9851
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
9852
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9853
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
9854
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
9855
|
+
}, /*#__PURE__*/React.createElement("label", {
|
|
9856
|
+
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 '
|
|
9857
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
9858
|
+
type: "checkbox",
|
|
9859
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9860
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.customercart) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.paymentmethod) == 'bankinstallments' ? true : false,
|
|
9861
|
+
onChange: function onChange() {
|
|
9862
|
+
var _fetchcustomercartQue78;
|
|
9863
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.customercart) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.paymentmethod) != 'bankinstallments') {
|
|
9864
|
+
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
9865
|
+
}
|
|
9866
|
+
}
|
|
9867
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
9868
|
+
viewBox: "0 0 21 21",
|
|
9869
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
9870
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
9871
|
+
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"
|
|
9872
|
+
})), /*#__PURE__*/React.createElement("p", {
|
|
9873
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9874
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React.createElement("div", {
|
|
9833
9875
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
9834
9876
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9835
9877
|
style: {
|
package/dist/index.umd.js
CHANGED
|
@@ -8481,7 +8481,7 @@
|
|
|
8481
8481
|
return import('react-select');
|
|
8482
8482
|
});
|
|
8483
8483
|
var Checkout = function Checkout(props) {
|
|
8484
|
-
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _fetchcustomercartQue75;
|
|
8484
|
+
var _css, _checkoutstyles, _ref, _fetchcustomercartQue55, _fetchcustomercartQue56, _fetchcustomercartQue57, _fetchcustomercartQue62, _fetchcustomercartQue63, _fetchcustomercartQue64, _fetchcustomercartQue65, _fetchcustomercartQue67, _fetchcustomercartQue69, _fetchcustomercartQue71, _fetchcustomercartQue73, _authdetailsContext$i4, _fetchcustomercartQue75, _authdetailsContext$i5, _fetchcustomercartQue77, _fetchcustomercartQue79;
|
|
8485
8485
|
var _useState = React.useState(null),
|
|
8486
8486
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
8487
8487
|
_useState2[0];
|
|
@@ -9710,7 +9710,49 @@
|
|
|
9710
9710
|
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"
|
|
9711
9711
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9712
9712
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9713
|
-
}, langdetect == 'en' ? 'Mobile Wallet' : 'المحفظة الإلكترونية')))
|
|
9713
|
+
}, langdetect == 'en' ? 'Mobile Wallet' : 'المحفظة الإلكترونية'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9714
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
9715
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
9716
|
+
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 '
|
|
9717
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
9718
|
+
type: "checkbox",
|
|
9719
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9720
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue75 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.data) === null || _fetchcustomercartQue75 === void 0 || (_fetchcustomercartQue75 = _fetchcustomercartQue75.customercart) === null || _fetchcustomercartQue75 === void 0 ? void 0 : _fetchcustomercartQue75.paymentmethod) == 'forsa' ? true : false,
|
|
9721
|
+
onChange: function onChange() {
|
|
9722
|
+
var _fetchcustomercartQue76;
|
|
9723
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue76 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.data) === null || _fetchcustomercartQue76 === void 0 || (_fetchcustomercartQue76 = _fetchcustomercartQue76.customercart) === null || _fetchcustomercartQue76 === void 0 ? void 0 : _fetchcustomercartQue76.paymentmethod) != 'forsa') {
|
|
9724
|
+
cartinfoupdater('paymentmethod', 'forsa');
|
|
9725
|
+
}
|
|
9726
|
+
}
|
|
9727
|
+
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
9728
|
+
viewBox: "0 0 21 21",
|
|
9729
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
9730
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
9731
|
+
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"
|
|
9732
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9733
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9734
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9735
|
+
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
9736
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
9737
|
+
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 '
|
|
9738
|
+
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
|
9739
|
+
type: "checkbox",
|
|
9740
|
+
className: checkoutstyles.checkboxinputstyles + ' mt-auto mb-auto ',
|
|
9741
|
+
checked: (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue77 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.data) === null || _fetchcustomercartQue77 === void 0 || (_fetchcustomercartQue77 = _fetchcustomercartQue77.customercart) === null || _fetchcustomercartQue77 === void 0 ? void 0 : _fetchcustomercartQue77.paymentmethod) == 'bankinstallments' ? true : false,
|
|
9742
|
+
onChange: function onChange() {
|
|
9743
|
+
var _fetchcustomercartQue78;
|
|
9744
|
+
if ((fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue78 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.data) === null || _fetchcustomercartQue78 === void 0 || (_fetchcustomercartQue78 = _fetchcustomercartQue78.customercart) === null || _fetchcustomercartQue78 === void 0 ? void 0 : _fetchcustomercartQue78.paymentmethod) != 'bankinstallments') {
|
|
9745
|
+
cartinfoupdater('paymentmethod', 'bankinstallments');
|
|
9746
|
+
}
|
|
9747
|
+
}
|
|
9748
|
+
}), /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
9749
|
+
viewBox: "0 0 21 21",
|
|
9750
|
+
className: checkoutstyles.svgstyles + ' h-100 '
|
|
9751
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
9752
|
+
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"
|
|
9753
|
+
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
9754
|
+
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
9755
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك')))))), (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 || (_fetchcustomercartQue79 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue79 === void 0 || (_fetchcustomercartQue79 = _fetchcustomercartQue79.data) === null || _fetchcustomercartQue79 === void 0 ? void 0 : _fetchcustomercartQue79.customercart.paymentmethod) == 'onlinepayment1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9714
9756
|
className: "col-lg-12 p-0 w-100 mb-3"
|
|
9715
9757
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
9716
9758
|
style: {
|