tabexseriescomponents 0.0.417 → 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/Env.js +1 -0
- package/dist/index.cjs.js +46 -3
- package/dist/index.esm.js +46 -3
- package/dist/index.umd.js +46 -3
- package/package.json +1 -1
package/Env.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export const IKurlEndpoint = 'https://ik.imagekit.io/ppcqtfrxp';
|
|
2
2
|
export const IKpublicKey = 'public_h8U+4K+MFoeq+MKLf34NST4axAo=';
|
|
3
3
|
export const serverbaselink = 'https://tabex-co.com';
|
|
4
|
+
export const image_serverbaselink = 'https://tabexseriesmedia.s3.eu-north-1.amazonaws.com';
|
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: {
|
|
@@ -15207,6 +15249,7 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15207
15249
|
};
|
|
15208
15250
|
|
|
15209
15251
|
var serverbaselink$1 = 'https://tabex-co.com';
|
|
15252
|
+
var image_serverbaselink = 'https://tabexseriesmedia.s3.eu-north-1.amazonaws.com';
|
|
15210
15253
|
|
|
15211
15254
|
function ownKeys$26(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; }
|
|
15212
15255
|
function _objectSpread$26(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$26(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$26(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -16428,7 +16471,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
16428
16471
|
style: {
|
|
16429
16472
|
zIndex: 2,
|
|
16430
16473
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
16431
|
-
backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' +
|
|
16474
|
+
backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' + image_serverbaselink + maincontainerarrayofobjs[0].back_bgimage + ')' : '',
|
|
16432
16475
|
backgroundSize: 'cover',
|
|
16433
16476
|
width: sectionproperties.width + 'vw',
|
|
16434
16477
|
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
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: {
|
|
@@ -15158,6 +15200,7 @@ var CollectionsFilterHorizontal = function CollectionsFilterHorizontal(props) {
|
|
|
15158
15200
|
};
|
|
15159
15201
|
|
|
15160
15202
|
var serverbaselink$1 = 'https://tabex-co.com';
|
|
15203
|
+
var image_serverbaselink = 'https://tabexseriesmedia.s3.eu-north-1.amazonaws.com';
|
|
15161
15204
|
|
|
15162
15205
|
function ownKeys$26(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; }
|
|
15163
15206
|
function _objectSpread$26(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$26(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$26(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -16379,7 +16422,7 @@ var CardsSection = function CardsSection(props) {
|
|
|
16379
16422
|
style: {
|
|
16380
16423
|
zIndex: 2,
|
|
16381
16424
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
16382
|
-
backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' +
|
|
16425
|
+
backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' + image_serverbaselink + maincontainerarrayofobjs[0].back_bgimage + ')' : '',
|
|
16383
16426
|
backgroundSize: 'cover',
|
|
16384
16427
|
width: sectionproperties.width + 'vw',
|
|
16385
16428
|
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
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: {
|
|
@@ -15039,6 +15081,7 @@
|
|
|
15039
15081
|
};
|
|
15040
15082
|
|
|
15041
15083
|
var serverbaselink$1 = 'https://tabex-co.com';
|
|
15084
|
+
var image_serverbaselink = 'https://tabexseriesmedia.s3.eu-north-1.amazonaws.com';
|
|
15042
15085
|
|
|
15043
15086
|
function ownKeys$26(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; }
|
|
15044
15087
|
function _objectSpread$26(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$26(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$26(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -16260,7 +16303,7 @@
|
|
|
16260
16303
|
style: {
|
|
16261
16304
|
zIndex: 2,
|
|
16262
16305
|
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
16263
|
-
backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' +
|
|
16306
|
+
backgroundImage: maincontainerarrayofobjs.length != 0 ? 'url(' + image_serverbaselink + maincontainerarrayofobjs[0].back_bgimage + ')' : '',
|
|
16264
16307
|
backgroundSize: 'cover',
|
|
16265
16308
|
width: sectionproperties.width + 'vw',
|
|
16266
16309
|
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|