tabexseriescomponents 0.2.865 → 0.2.866
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 +18 -18
- package/dist/index.esm.js +18 -18
- package/dist/index.umd.js +18 -18
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -11963,7 +11963,7 @@ styleInject(css_248z$G);
|
|
|
11963
11963
|
function ownKeys$2s(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11964
11964
|
function _objectSpread$2s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2s(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11965
11965
|
var Checkout = function Checkout(props) {
|
|
11966
|
-
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i5,
|
|
11966
|
+
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i5, _authdetailsContext$i6, _fetchcustomercartQue63, _authdetailsContext$i7, _fetchcustomercartQue64, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue65, _fetchcustomercartQue70, _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue76, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _authdetailsContext$i10, _fetchcustomercartQue86, _authdetailsContext$i11, _fetchcustomercartQue88, _authdetailsContext$i12, _fetchcustomercartQue90, _authdetailsContext$i13, _fetchcustomercartQue92, _authdetailsContext$i14, _fetchcustomercartQue94, _fetchcustomercartQue96;
|
|
11967
11967
|
var _useState = React.useState(null),
|
|
11968
11968
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
11969
11969
|
_useState2[0];
|
|
@@ -12964,7 +12964,7 @@ var Checkout = function Checkout(props) {
|
|
|
12964
12964
|
}
|
|
12965
12965
|
}, /*#__PURE__*/React__default["default"].createElement(BiPhone.BiPhone, null)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12966
12966
|
className: "m-0 p-0 wordbreak"
|
|
12967
|
-
}, authdetailsContext.customerinfo.mobile))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12967
|
+
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12968
12968
|
className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
|
|
12969
12969
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12970
12970
|
className: "m-0 p-0 d-flex align-items-center"
|
|
@@ -13028,7 +13028,7 @@ var Checkout = function Checkout(props) {
|
|
|
13028
13028
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13029
13029
|
className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
|
|
13030
13030
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13031
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13031
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
13032
13032
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13033
13033
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
13034
13034
|
}, lang.name), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
@@ -13043,7 +13043,7 @@ var Checkout = function Checkout(props) {
|
|
|
13043
13043
|
boxShadow: 'none'
|
|
13044
13044
|
}
|
|
13045
13045
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13046
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13046
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
13047
13047
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13048
13048
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
13049
13049
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
@@ -13060,11 +13060,11 @@ var Checkout = function Checkout(props) {
|
|
|
13060
13060
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13061
13061
|
className: "col-lg-4 col-md-12 mb-3 flex-column",
|
|
13062
13062
|
style: {
|
|
13063
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13063
|
+
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
|
|
13064
13064
|
}
|
|
13065
13065
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13066
13066
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
13067
|
-
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13067
|
+
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
13068
13068
|
"class": "mx-2",
|
|
13069
13069
|
style: {
|
|
13070
13070
|
fontSize: 13
|
|
@@ -13550,7 +13550,7 @@ var Checkout = function Checkout(props) {
|
|
|
13550
13550
|
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"
|
|
13551
13551
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13552
13552
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13553
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13553
|
+
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13554
13554
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13555
13555
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13556
13556
|
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 '
|
|
@@ -13572,7 +13572,7 @@ var Checkout = function Checkout(props) {
|
|
|
13572
13572
|
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"
|
|
13573
13573
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13574
13574
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13575
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13575
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13576
13576
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13577
13577
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13578
13578
|
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 '
|
|
@@ -13594,7 +13594,7 @@ var Checkout = function Checkout(props) {
|
|
|
13594
13594
|
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"
|
|
13595
13595
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13596
13596
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13597
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13597
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13598
13598
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13599
13599
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13600
13600
|
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 '
|
|
@@ -13616,7 +13616,7 @@ var Checkout = function Checkout(props) {
|
|
|
13616
13616
|
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"
|
|
13617
13617
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13618
13618
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
13619
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13619
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13620
13620
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13621
13621
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13622
13622
|
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 '
|
|
@@ -13638,7 +13638,7 @@ var Checkout = function Checkout(props) {
|
|
|
13638
13638
|
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"
|
|
13639
13639
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13640
13640
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13641
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13641
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13642
13642
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13643
13643
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13644
13644
|
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 '
|
|
@@ -13938,7 +13938,7 @@ var Select$2 = /*#__PURE__*/React__default["default"].lazy(function () {
|
|
|
13938
13938
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('react-select')); });
|
|
13939
13939
|
});
|
|
13940
13940
|
var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
13941
|
-
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$
|
|
13941
|
+
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$i6, _authdetailsContext$c, _authdetailsContext$c2;
|
|
13942
13942
|
var lang = props.actions.lang;
|
|
13943
13943
|
var langdetect = props.actions.langdetect;
|
|
13944
13944
|
props.actions.routingcountext;
|
|
@@ -14305,7 +14305,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
14305
14305
|
})
|
|
14306
14306
|
};
|
|
14307
14307
|
var PersonalInformation = function PersonalInformation() {
|
|
14308
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
14308
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
14309
14309
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14310
14310
|
className: "row m-0 w-100"
|
|
14311
14311
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -14327,11 +14327,11 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
14327
14327
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14328
14328
|
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0 flex-column' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0 flex-column',
|
|
14329
14329
|
style: {
|
|
14330
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.customerEmailrequiered) == 0 ? 'none' : 'flex'
|
|
14330
|
+
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
|
|
14331
14331
|
}
|
|
14332
14332
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
14333
14333
|
className: "".concat(formstyles.input_label_name) + ' d-flex align-items-start '
|
|
14334
|
-
}, lang.email, " ", props.srcfromprops == 'signup' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14334
|
+
}, lang.email, " ", props.srcfromprops == 'signup' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.customerEmailrequiered) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
14335
14335
|
"class": "text-danger ml-1 mr-1"
|
|
14336
14336
|
}, "*")), sectionproperties.showemaildisclaimer == 'Show' && /*#__PURE__*/React__default["default"].createElement("sup", null, langdetect == 'en' ? sectionproperties.emaildisclaimeren : sectionproperties.emaildisclaimerar), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
14337
14337
|
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
@@ -14755,7 +14755,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
14755
14755
|
style: {
|
|
14756
14756
|
background: sectionproperties.formLeftbgColor
|
|
14757
14757
|
}
|
|
14758
|
-
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14758
|
+
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.ispasswordrequired_signup) == 1 && Password()), dataloaded && props.srcfromprops == 'accountinfo' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14759
14759
|
className: "col-lg-12 p-0"
|
|
14760
14760
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14761
14761
|
className: "row ml-0 mr-0 w-100"
|
|
@@ -21316,8 +21316,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
21316
21316
|
path: show_product_group_titles()['logo'],
|
|
21317
21317
|
className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
|
|
21318
21318
|
style: {
|
|
21319
|
-
height: '
|
|
21320
|
-
width: '
|
|
21319
|
+
height: '15%',
|
|
21320
|
+
width: '15%'
|
|
21321
21321
|
}
|
|
21322
21322
|
}), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
21323
21323
|
"class": section_cssstyles.line_left
|
package/dist/index.esm.js
CHANGED
|
@@ -11913,7 +11913,7 @@ styleInject(css_248z$G);
|
|
|
11913
11913
|
function ownKeys$2s(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11914
11914
|
function _objectSpread$2s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2s(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11915
11915
|
var Checkout = function Checkout(props) {
|
|
11916
|
-
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i5,
|
|
11916
|
+
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i5, _authdetailsContext$i6, _fetchcustomercartQue63, _authdetailsContext$i7, _fetchcustomercartQue64, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue65, _fetchcustomercartQue70, _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue76, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _authdetailsContext$i10, _fetchcustomercartQue86, _authdetailsContext$i11, _fetchcustomercartQue88, _authdetailsContext$i12, _fetchcustomercartQue90, _authdetailsContext$i13, _fetchcustomercartQue92, _authdetailsContext$i14, _fetchcustomercartQue94, _fetchcustomercartQue96;
|
|
11917
11917
|
var _useState = useState(null),
|
|
11918
11918
|
_useState2 = _slicedToArray(_useState, 2);
|
|
11919
11919
|
_useState2[0];
|
|
@@ -12914,7 +12914,7 @@ var Checkout = function Checkout(props) {
|
|
|
12914
12914
|
}
|
|
12915
12915
|
}, /*#__PURE__*/React.createElement(BiPhone, null)), /*#__PURE__*/React.createElement("p", {
|
|
12916
12916
|
className: "m-0 p-0 wordbreak"
|
|
12917
|
-
}, authdetailsContext.customerinfo.mobile))), /*#__PURE__*/React.createElement("div", {
|
|
12917
|
+
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React.createElement("div", {
|
|
12918
12918
|
className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
|
|
12919
12919
|
}, /*#__PURE__*/React.createElement("div", {
|
|
12920
12920
|
className: "m-0 p-0 d-flex align-items-center"
|
|
@@ -12978,7 +12978,7 @@ var Checkout = function Checkout(props) {
|
|
|
12978
12978
|
})), /*#__PURE__*/React.createElement("div", {
|
|
12979
12979
|
className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
|
|
12980
12980
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
12981
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12981
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
12982
12982
|
}, /*#__PURE__*/React.createElement("label", {
|
|
12983
12983
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
12984
12984
|
}, lang.name), /*#__PURE__*/React.createElement("input", {
|
|
@@ -12993,7 +12993,7 @@ var Checkout = function Checkout(props) {
|
|
|
12993
12993
|
boxShadow: 'none'
|
|
12994
12994
|
}
|
|
12995
12995
|
})), /*#__PURE__*/React.createElement("div", {
|
|
12996
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12996
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
12997
12997
|
}, /*#__PURE__*/React.createElement("label", {
|
|
12998
12998
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
12999
12999
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React.createElement("input", {
|
|
@@ -13010,11 +13010,11 @@ var Checkout = function Checkout(props) {
|
|
|
13010
13010
|
})), /*#__PURE__*/React.createElement("div", {
|
|
13011
13011
|
className: "col-lg-4 col-md-12 mb-3 flex-column",
|
|
13012
13012
|
style: {
|
|
13013
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13013
|
+
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
|
|
13014
13014
|
}
|
|
13015
13015
|
}, /*#__PURE__*/React.createElement("label", {
|
|
13016
13016
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
13017
|
-
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13017
|
+
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React.createElement("span", {
|
|
13018
13018
|
"class": "mx-2",
|
|
13019
13019
|
style: {
|
|
13020
13020
|
fontSize: 13
|
|
@@ -13500,7 +13500,7 @@ var Checkout = function Checkout(props) {
|
|
|
13500
13500
|
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"
|
|
13501
13501
|
})), /*#__PURE__*/React.createElement("p", {
|
|
13502
13502
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13503
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13503
|
+
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.acceptForsaCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
13504
13504
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13505
13505
|
}, /*#__PURE__*/React.createElement("label", {
|
|
13506
13506
|
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 '
|
|
@@ -13522,7 +13522,7 @@ var Checkout = function Checkout(props) {
|
|
|
13522
13522
|
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"
|
|
13523
13523
|
})), /*#__PURE__*/React.createElement("p", {
|
|
13524
13524
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13525
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13525
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.acceptSouhoolaCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
13526
13526
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13527
13527
|
}, /*#__PURE__*/React.createElement("label", {
|
|
13528
13528
|
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 '
|
|
@@ -13544,7 +13544,7 @@ var Checkout = function Checkout(props) {
|
|
|
13544
13544
|
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"
|
|
13545
13545
|
})), /*#__PURE__*/React.createElement("p", {
|
|
13546
13546
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13547
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13547
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.acceptonlinePaypal) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
13548
13548
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13549
13549
|
}, /*#__PURE__*/React.createElement("label", {
|
|
13550
13550
|
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 '
|
|
@@ -13566,7 +13566,7 @@ var Checkout = function Checkout(props) {
|
|
|
13566
13566
|
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"
|
|
13567
13567
|
})), /*#__PURE__*/React.createElement("p", {
|
|
13568
13568
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
13569
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13569
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
13570
13570
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13571
13571
|
}, /*#__PURE__*/React.createElement("label", {
|
|
13572
13572
|
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 '
|
|
@@ -13588,7 +13588,7 @@ var Checkout = function Checkout(props) {
|
|
|
13588
13588
|
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"
|
|
13589
13589
|
})), /*#__PURE__*/React.createElement("p", {
|
|
13590
13590
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13591
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13591
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.acceptAmanCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
13592
13592
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13593
13593
|
}, /*#__PURE__*/React.createElement("label", {
|
|
13594
13594
|
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 '
|
|
@@ -13888,7 +13888,7 @@ var Select$2 = /*#__PURE__*/React.lazy(function () {
|
|
|
13888
13888
|
return import('react-select');
|
|
13889
13889
|
});
|
|
13890
13890
|
var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
13891
|
-
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$
|
|
13891
|
+
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$i6, _authdetailsContext$c, _authdetailsContext$c2;
|
|
13892
13892
|
var lang = props.actions.lang;
|
|
13893
13893
|
var langdetect = props.actions.langdetect;
|
|
13894
13894
|
props.actions.routingcountext;
|
|
@@ -14255,7 +14255,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
14255
14255
|
})
|
|
14256
14256
|
};
|
|
14257
14257
|
var PersonalInformation = function PersonalInformation() {
|
|
14258
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
14258
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
14259
14259
|
return /*#__PURE__*/React.createElement("div", {
|
|
14260
14260
|
className: "row m-0 w-100"
|
|
14261
14261
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -14277,11 +14277,11 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
14277
14277
|
})), /*#__PURE__*/React.createElement("div", {
|
|
14278
14278
|
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0 flex-column' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0 flex-column',
|
|
14279
14279
|
style: {
|
|
14280
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.customerEmailrequiered) == 0 ? 'none' : 'flex'
|
|
14280
|
+
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
|
|
14281
14281
|
}
|
|
14282
14282
|
}, /*#__PURE__*/React.createElement("label", {
|
|
14283
14283
|
className: "".concat(formstyles.input_label_name) + ' d-flex align-items-start '
|
|
14284
|
-
}, lang.email, " ", props.srcfromprops == 'signup' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14284
|
+
}, lang.email, " ", props.srcfromprops == 'signup' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.customerEmailrequiered) == 1 && /*#__PURE__*/React.createElement("span", {
|
|
14285
14285
|
"class": "text-danger ml-1 mr-1"
|
|
14286
14286
|
}, "*")), sectionproperties.showemaildisclaimer == 'Show' && /*#__PURE__*/React.createElement("sup", null, langdetect == 'en' ? sectionproperties.emaildisclaimeren : sectionproperties.emaildisclaimerar), /*#__PURE__*/React.createElement("input", {
|
|
14287
14287
|
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
@@ -14705,7 +14705,7 @@ var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
|
14705
14705
|
style: {
|
|
14706
14706
|
background: sectionproperties.formLeftbgColor
|
|
14707
14707
|
}
|
|
14708
|
-
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14708
|
+
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.ispasswordrequired_signup) == 1 && Password()), dataloaded && props.srcfromprops == 'accountinfo' && /*#__PURE__*/React.createElement("div", {
|
|
14709
14709
|
className: "col-lg-12 p-0"
|
|
14710
14710
|
}, /*#__PURE__*/React.createElement("div", {
|
|
14711
14711
|
className: "row ml-0 mr-0 w-100"
|
|
@@ -21266,8 +21266,8 @@ var CardsSection = function CardsSection(props) {
|
|
|
21266
21266
|
path: show_product_group_titles()['logo'],
|
|
21267
21267
|
className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
|
|
21268
21268
|
style: {
|
|
21269
|
-
height: '
|
|
21270
|
-
width: '
|
|
21269
|
+
height: '15%',
|
|
21270
|
+
width: '15%'
|
|
21271
21271
|
}
|
|
21272
21272
|
}), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React.createElement("span", {
|
|
21273
21273
|
"class": section_cssstyles.line_left
|
package/dist/index.umd.js
CHANGED
|
@@ -11773,7 +11773,7 @@
|
|
|
11773
11773
|
function ownKeys$2s(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11774
11774
|
function _objectSpread$2s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2s(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11775
11775
|
var Checkout = function Checkout(props) {
|
|
11776
|
-
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i5,
|
|
11776
|
+
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i5, _authdetailsContext$i6, _fetchcustomercartQue63, _authdetailsContext$i7, _fetchcustomercartQue64, _authdetailsContext$i8, _authdetailsContext$i9, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue65, _fetchcustomercartQue70, _fetchcustomercartQue71, _fetchcustomercartQue72, _fetchcustomercartQue73, _fetchcustomercartQue74, _fetchcustomercartQue76, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _authdetailsContext$i10, _fetchcustomercartQue86, _authdetailsContext$i11, _fetchcustomercartQue88, _authdetailsContext$i12, _fetchcustomercartQue90, _authdetailsContext$i13, _fetchcustomercartQue92, _authdetailsContext$i14, _fetchcustomercartQue94, _fetchcustomercartQue96;
|
|
11777
11777
|
var _useState = React.useState(null),
|
|
11778
11778
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
11779
11779
|
_useState2[0];
|
|
@@ -12774,7 +12774,7 @@
|
|
|
12774
12774
|
}
|
|
12775
12775
|
}, /*#__PURE__*/React__default["default"].createElement(BiPhone.BiPhone, null)), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12776
12776
|
className: "m-0 p-0 wordbreak"
|
|
12777
|
-
}, authdetailsContext.customerinfo.mobile))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12777
|
+
}, authdetailsContext.customerinfo.mobile))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.contactinfo.instid) != '6808c6295b598' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12778
12778
|
className: "".concat(checkoutstyles.userinfotextstyles) + ' col-lg-4 col-md-6 col-sm-12 d-flex align-items-center pl-1 pr-1 '
|
|
12779
12779
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12780
12780
|
className: "m-0 p-0 d-flex align-items-center"
|
|
@@ -12838,7 +12838,7 @@
|
|
|
12838
12838
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12839
12839
|
className: "row m-0 w-100 mb-3 pl-3 pr-3 pb-3"
|
|
12840
12840
|
}, !authdetailsContext.loggedin && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12841
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12841
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
12842
12842
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
12843
12843
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
12844
12844
|
}, lang.name), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
@@ -12853,7 +12853,7 @@
|
|
|
12853
12853
|
boxShadow: 'none'
|
|
12854
12854
|
}
|
|
12855
12855
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12856
|
-
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12856
|
+
className: sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.customerEmailrequiered) == 0 ? 'col-lg-6 col-md-12 mb-3' : 'col-lg-4 col-md-12 mb-3'
|
|
12857
12857
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
12858
12858
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
12859
12859
|
}, langdetect == 'en' ? 'Phone Number' : 'رقم الهاتف'), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
@@ -12870,11 +12870,11 @@
|
|
|
12870
12870
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12871
12871
|
className: "col-lg-4 col-md-12 mb-3 flex-column",
|
|
12872
12872
|
style: {
|
|
12873
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12873
|
+
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
|
|
12874
12874
|
}
|
|
12875
12875
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
12876
12876
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
12877
|
-
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12877
|
+
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12878
12878
|
"class": "mx-2",
|
|
12879
12879
|
style: {
|
|
12880
12880
|
fontSize: 13
|
|
@@ -13360,7 +13360,7 @@
|
|
|
13360
13360
|
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"
|
|
13361
13361
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13362
13362
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13363
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13363
|
+
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13364
13364
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13365
13365
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13366
13366
|
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 '
|
|
@@ -13382,7 +13382,7 @@
|
|
|
13382
13382
|
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"
|
|
13383
13383
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13384
13384
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13385
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13385
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i11 = authdetailsContext.instinfo) === null || _authdetailsContext$i11 === void 0 ? void 0 : _authdetailsContext$i11.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13386
13386
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13387
13387
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13388
13388
|
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 '
|
|
@@ -13404,7 +13404,7 @@
|
|
|
13404
13404
|
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"
|
|
13405
13405
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13406
13406
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13407
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13407
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i12 = authdetailsContext.instinfo) === null || _authdetailsContext$i12 === void 0 ? void 0 : _authdetailsContext$i12.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13408
13408
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13409
13409
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13410
13410
|
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 '
|
|
@@ -13426,7 +13426,7 @@
|
|
|
13426
13426
|
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"
|
|
13427
13427
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13428
13428
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
13429
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13429
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i13 = authdetailsContext.instinfo) === null || _authdetailsContext$i13 === void 0 ? void 0 : _authdetailsContext$i13.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13430
13430
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13431
13431
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13432
13432
|
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 '
|
|
@@ -13448,7 +13448,7 @@
|
|
|
13448
13448
|
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"
|
|
13449
13449
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13450
13450
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13451
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13451
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13452
13452
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13453
13453
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13454
13454
|
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 '
|
|
@@ -13748,7 +13748,7 @@
|
|
|
13748
13748
|
return import('react-select');
|
|
13749
13749
|
});
|
|
13750
13750
|
var CustomerInformationForm = function CustomerInformationForm(props) {
|
|
13751
|
-
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$
|
|
13751
|
+
var _fetchAuthorizationQu, _fetchAuthorizationQu2, _fetchAuthorizationQu3, _css, _authdetailsContext$i6, _authdetailsContext$c, _authdetailsContext$c2;
|
|
13752
13752
|
var lang = props.actions.lang;
|
|
13753
13753
|
var langdetect = props.actions.langdetect;
|
|
13754
13754
|
props.actions.routingcountext;
|
|
@@ -14115,7 +14115,7 @@
|
|
|
14115
14115
|
})
|
|
14116
14116
|
};
|
|
14117
14117
|
var PersonalInformation = function PersonalInformation() {
|
|
14118
|
-
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4;
|
|
14118
|
+
var _authdetailsContext$i2, _authdetailsContext$i3, _authdetailsContext$i4, _authdetailsContext$i5;
|
|
14119
14119
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14120
14120
|
className: "row m-0 w-100"
|
|
14121
14121
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -14137,11 +14137,11 @@
|
|
|
14137
14137
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14138
14138
|
className: sectionproperties.cardstyletype == 'Style 1' ? 'col-lg-4 col-md-12 col-sm-12 mb-4 p-sm-0 flex-column' : 'col-lg-12 col-md-12 col-sm-12 mb-4 p-sm-0 flex-column',
|
|
14139
14139
|
style: {
|
|
14140
|
-
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.customerEmailrequiered) == 0 ? 'none' : 'flex'
|
|
14140
|
+
display: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.customerEmailrequiered) == 1 ? 'flex' : sectionproperties.showemail == 'Hide' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.customerEmailrequiered) == 0 ? 'none' : (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.contactinfo.instid) == '6808c6295b598' ? 'none' : 'flex'
|
|
14141
14141
|
}
|
|
14142
14142
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
14143
14143
|
className: "".concat(formstyles.input_label_name) + ' d-flex align-items-start '
|
|
14144
|
-
}, lang.email, " ", props.srcfromprops == 'signup' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14144
|
+
}, lang.email, " ", props.srcfromprops == 'signup' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.customerEmailrequiered) == 1 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
14145
14145
|
"class": "text-danger ml-1 mr-1"
|
|
14146
14146
|
}, "*")), sectionproperties.showemaildisclaimer == 'Show' && /*#__PURE__*/React__default["default"].createElement("sup", null, langdetect == 'en' ? sectionproperties.emaildisclaimeren : sectionproperties.emaildisclaimerar), /*#__PURE__*/React__default["default"].createElement("input", {
|
|
14147
14147
|
className: "".concat(loginstyles.form_control, " ").concat(formstyles.form_control),
|
|
@@ -14565,7 +14565,7 @@
|
|
|
14565
14565
|
style: {
|
|
14566
14566
|
background: sectionproperties.formLeftbgColor
|
|
14567
14567
|
}
|
|
14568
|
-
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
14568
|
+
}, PersonalInformation(), Address(), Otherinformation(), sectionproperties.hidepassword == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.ispasswordrequired_signup) == 1 && Password()), dataloaded && props.srcfromprops == 'accountinfo' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14569
14569
|
className: "col-lg-12 p-0"
|
|
14570
14570
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
14571
14571
|
className: "row ml-0 mr-0 w-100"
|
|
@@ -21126,8 +21126,8 @@
|
|
|
21126
21126
|
path: show_product_group_titles()['logo'],
|
|
21127
21127
|
className: sectionproperties.bgcovercontainresponsive == 'Contain' ? 'objectFit-md-contain' : '',
|
|
21128
21128
|
style: {
|
|
21129
|
-
height: '
|
|
21130
|
-
width: '
|
|
21129
|
+
height: '15%',
|
|
21130
|
+
width: '15%'
|
|
21131
21131
|
}
|
|
21132
21132
|
}), sectionproperties.sectiontitlestyle == 'Line Before Text' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
21133
21133
|
"class": section_cssstyles.line_left
|