tabexseriescomponents 0.2.1064 → 0.2.1066
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 +17 -13
- package/dist/index.esm.js +17 -13
- package/dist/index.umd.js +17 -13
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -293,7 +293,7 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
293
293
|
en: (_en = {
|
|
294
294
|
sortby: 'Sort by',
|
|
295
295
|
maximum: 'Maximum Quantity',
|
|
296
|
-
minimum: '
|
|
296
|
+
minimum: 'Minimum Quantity',
|
|
297
297
|
sendcode: 'Send code',
|
|
298
298
|
verifycode: 'Verify Code',
|
|
299
299
|
writevalidemail: 'Please write a valid email',
|
|
@@ -11518,7 +11518,7 @@ styleInject(css_248z$G);
|
|
|
11518
11518
|
function ownKeys$2v(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; }
|
|
11519
11519
|
function _objectSpread$2v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2v(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11520
11520
|
var Checkout = function Checkout(props) {
|
|
11521
|
-
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue66, _authdetailsContext$i10, _fetchcustomercartQue67, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _fetchcustomercartQue68, _authdetailsContext$
|
|
11521
|
+
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue66, _authdetailsContext$i10, _fetchcustomercartQue67, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _fetchcustomercartQue68, _authdetailsContext$i16, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _fetchcustomercartQue86, _fetchcustomercartQue88, _authdetailsContext$i18, _fetchcustomercartQue90, _authdetailsContext$i19, _fetchcustomercartQue92, _authdetailsContext$i20, _fetchcustomercartQue94, _authdetailsContext$i21, _fetchcustomercartQue96, _authdetailsContext$i22, _fetchcustomercartQue98, _fetchcustomercartQue100, _fetchcustomercartQue101;
|
|
11522
11522
|
var _useState = React.useState(null),
|
|
11523
11523
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
11524
11524
|
_useState2[0];
|
|
@@ -12672,12 +12672,12 @@ var Checkout = function Checkout(props) {
|
|
|
12672
12672
|
}
|
|
12673
12673
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
12674
12674
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
12675
|
-
}, lang.email, ' ', /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
12675
|
+
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.customerEmailrequiered) == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
12676
12676
|
"class": "mx-2",
|
|
12677
12677
|
style: {
|
|
12678
12678
|
color: 'var(--danger)'
|
|
12679
12679
|
}
|
|
12680
|
-
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12680
|
+
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12681
12681
|
"class": "mx-2",
|
|
12682
12682
|
style: {
|
|
12683
12683
|
fontSize: 13
|
|
@@ -12755,7 +12755,7 @@ var Checkout = function Checkout(props) {
|
|
|
12755
12755
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
12756
12756
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
12757
12757
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
12758
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12758
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Governorate' : 'المحافظة' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
12759
12759
|
"class": "mx-2",
|
|
12760
12760
|
style: {
|
|
12761
12761
|
color: 'var(--danger)'
|
|
@@ -12954,7 +12954,7 @@ var Checkout = function Checkout(props) {
|
|
|
12954
12954
|
className: "row m-0 w-100 mb-3 pl-3 pr-3"
|
|
12955
12955
|
}, orderextrafeilds === null || orderextrafeilds === void 0 ? void 0 : orderextrafeilds.map(function (item, index) {
|
|
12956
12956
|
if (item.type == 'date') {
|
|
12957
|
-
var _authdetailsContext$
|
|
12957
|
+
var _authdetailsContext$i17;
|
|
12958
12958
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12959
12959
|
className: "col-lg-6 col-md-12 mb-3"
|
|
12960
12960
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
@@ -12971,7 +12971,7 @@ var Checkout = function Checkout(props) {
|
|
|
12971
12971
|
style: {
|
|
12972
12972
|
boxShadow: 'none'
|
|
12973
12973
|
},
|
|
12974
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12974
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
12975
12975
|
.toISOString().split('T')[0] : null
|
|
12976
12976
|
}));
|
|
12977
12977
|
}
|
|
@@ -13170,7 +13170,7 @@ var Checkout = function Checkout(props) {
|
|
|
13170
13170
|
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"
|
|
13171
13171
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13172
13172
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13173
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13173
|
+
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13174
13174
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13175
13175
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13176
13176
|
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 '
|
|
@@ -13192,7 +13192,7 @@ var Checkout = function Checkout(props) {
|
|
|
13192
13192
|
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"
|
|
13193
13193
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13194
13194
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13195
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13195
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13196
13196
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13197
13197
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13198
13198
|
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 '
|
|
@@ -13214,7 +13214,7 @@ var Checkout = function Checkout(props) {
|
|
|
13214
13214
|
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"
|
|
13215
13215
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13216
13216
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13217
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13217
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13218
13218
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13219
13219
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13220
13220
|
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 '
|
|
@@ -13236,7 +13236,7 @@ var Checkout = function Checkout(props) {
|
|
|
13236
13236
|
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"
|
|
13237
13237
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13238
13238
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
13239
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13239
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13240
13240
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13241
13241
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13242
13242
|
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 '
|
|
@@ -13258,7 +13258,7 @@ var Checkout = function Checkout(props) {
|
|
|
13258
13258
|
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"
|
|
13259
13259
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13260
13260
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13261
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13261
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13262
13262
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13263
13263
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13264
13264
|
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 '
|
|
@@ -90975,7 +90975,11 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
90975
90975
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
90976
90976
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
90977
90977
|
onClick: function onClick() {
|
|
90978
|
-
|
|
90978
|
+
var _authdetailsContext$i7;
|
|
90979
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68527dfef348b') {
|
|
90980
|
+
// alert(item.path);
|
|
90981
|
+
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
90982
|
+
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
90979
90983
|
addtocartfunc();
|
|
90980
90984
|
} else {
|
|
90981
90985
|
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|
package/dist/index.esm.js
CHANGED
|
@@ -242,7 +242,7 @@ var LanguageProvider = /*#__PURE__*/function (_Component) {
|
|
|
242
242
|
en: (_en = {
|
|
243
243
|
sortby: 'Sort by',
|
|
244
244
|
maximum: 'Maximum Quantity',
|
|
245
|
-
minimum: '
|
|
245
|
+
minimum: 'Minimum Quantity',
|
|
246
246
|
sendcode: 'Send code',
|
|
247
247
|
verifycode: 'Verify Code',
|
|
248
248
|
writevalidemail: 'Please write a valid email',
|
|
@@ -11467,7 +11467,7 @@ styleInject(css_248z$G);
|
|
|
11467
11467
|
function ownKeys$2v(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; }
|
|
11468
11468
|
function _objectSpread$2v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2v(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11469
11469
|
var Checkout = function Checkout(props) {
|
|
11470
|
-
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue66, _authdetailsContext$i10, _fetchcustomercartQue67, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _fetchcustomercartQue68, _authdetailsContext$
|
|
11470
|
+
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue66, _authdetailsContext$i10, _fetchcustomercartQue67, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _fetchcustomercartQue68, _authdetailsContext$i16, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _fetchcustomercartQue86, _fetchcustomercartQue88, _authdetailsContext$i18, _fetchcustomercartQue90, _authdetailsContext$i19, _fetchcustomercartQue92, _authdetailsContext$i20, _fetchcustomercartQue94, _authdetailsContext$i21, _fetchcustomercartQue96, _authdetailsContext$i22, _fetchcustomercartQue98, _fetchcustomercartQue100, _fetchcustomercartQue101;
|
|
11471
11471
|
var _useState = useState(null),
|
|
11472
11472
|
_useState2 = _slicedToArray(_useState, 2);
|
|
11473
11473
|
_useState2[0];
|
|
@@ -12621,12 +12621,12 @@ var Checkout = function Checkout(props) {
|
|
|
12621
12621
|
}
|
|
12622
12622
|
}, /*#__PURE__*/React.createElement("label", {
|
|
12623
12623
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
12624
|
-
}, lang.email, ' ', /*#__PURE__*/React.createElement("sup", {
|
|
12624
|
+
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.customerEmailrequiered) == 1 && /*#__PURE__*/React.createElement("sup", {
|
|
12625
12625
|
"class": "mx-2",
|
|
12626
12626
|
style: {
|
|
12627
12627
|
color: 'var(--danger)'
|
|
12628
12628
|
}
|
|
12629
|
-
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12629
|
+
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React.createElement("span", {
|
|
12630
12630
|
"class": "mx-2",
|
|
12631
12631
|
style: {
|
|
12632
12632
|
fontSize: 13
|
|
@@ -12704,7 +12704,7 @@ var Checkout = function Checkout(props) {
|
|
|
12704
12704
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
12705
12705
|
}, /*#__PURE__*/React.createElement("label", {
|
|
12706
12706
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
12707
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12707
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Governorate' : 'المحافظة' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React.createElement("sup", {
|
|
12708
12708
|
"class": "mx-2",
|
|
12709
12709
|
style: {
|
|
12710
12710
|
color: 'var(--danger)'
|
|
@@ -12903,7 +12903,7 @@ var Checkout = function Checkout(props) {
|
|
|
12903
12903
|
className: "row m-0 w-100 mb-3 pl-3 pr-3"
|
|
12904
12904
|
}, orderextrafeilds === null || orderextrafeilds === void 0 ? void 0 : orderextrafeilds.map(function (item, index) {
|
|
12905
12905
|
if (item.type == 'date') {
|
|
12906
|
-
var _authdetailsContext$
|
|
12906
|
+
var _authdetailsContext$i17;
|
|
12907
12907
|
return /*#__PURE__*/React.createElement("div", {
|
|
12908
12908
|
className: "col-lg-6 col-md-12 mb-3"
|
|
12909
12909
|
}, /*#__PURE__*/React.createElement("label", {
|
|
@@ -12920,7 +12920,7 @@ var Checkout = function Checkout(props) {
|
|
|
12920
12920
|
style: {
|
|
12921
12921
|
boxShadow: 'none'
|
|
12922
12922
|
},
|
|
12923
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12923
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
12924
12924
|
.toISOString().split('T')[0] : null
|
|
12925
12925
|
}));
|
|
12926
12926
|
}
|
|
@@ -13119,7 +13119,7 @@ var Checkout = function Checkout(props) {
|
|
|
13119
13119
|
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"
|
|
13120
13120
|
})), /*#__PURE__*/React.createElement("p", {
|
|
13121
13121
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13122
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13122
|
+
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.acceptForsaCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
13123
13123
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13124
13124
|
}, /*#__PURE__*/React.createElement("label", {
|
|
13125
13125
|
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 '
|
|
@@ -13141,7 +13141,7 @@ var Checkout = function Checkout(props) {
|
|
|
13141
13141
|
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"
|
|
13142
13142
|
})), /*#__PURE__*/React.createElement("p", {
|
|
13143
13143
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13144
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13144
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.acceptSouhoolaCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
13145
13145
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13146
13146
|
}, /*#__PURE__*/React.createElement("label", {
|
|
13147
13147
|
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 '
|
|
@@ -13163,7 +13163,7 @@ var Checkout = function Checkout(props) {
|
|
|
13163
13163
|
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"
|
|
13164
13164
|
})), /*#__PURE__*/React.createElement("p", {
|
|
13165
13165
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13166
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13166
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.acceptonlinePaypal) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
13167
13167
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13168
13168
|
}, /*#__PURE__*/React.createElement("label", {
|
|
13169
13169
|
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 '
|
|
@@ -13185,7 +13185,7 @@ var Checkout = function Checkout(props) {
|
|
|
13185
13185
|
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"
|
|
13186
13186
|
})), /*#__PURE__*/React.createElement("p", {
|
|
13187
13187
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
13188
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13188
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
13189
13189
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13190
13190
|
}, /*#__PURE__*/React.createElement("label", {
|
|
13191
13191
|
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 '
|
|
@@ -13207,7 +13207,7 @@ var Checkout = function Checkout(props) {
|
|
|
13207
13207
|
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"
|
|
13208
13208
|
})), /*#__PURE__*/React.createElement("p", {
|
|
13209
13209
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13210
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13210
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.acceptAmanCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
13211
13211
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13212
13212
|
}, /*#__PURE__*/React.createElement("label", {
|
|
13213
13213
|
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 '
|
|
@@ -90924,7 +90924,11 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
90924
90924
|
}, /*#__PURE__*/React.createElement("p", {
|
|
90925
90925
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
90926
90926
|
onClick: function onClick() {
|
|
90927
|
-
|
|
90927
|
+
var _authdetailsContext$i7;
|
|
90928
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68527dfef348b') {
|
|
90929
|
+
// alert(item.path);
|
|
90930
|
+
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
90931
|
+
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
90928
90932
|
addtocartfunc();
|
|
90929
90933
|
} else {
|
|
90930
90934
|
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|
package/dist/index.umd.js
CHANGED
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
en: (_en = {
|
|
102
102
|
sortby: 'Sort by',
|
|
103
103
|
maximum: 'Maximum Quantity',
|
|
104
|
-
minimum: '
|
|
104
|
+
minimum: 'Minimum Quantity',
|
|
105
105
|
sendcode: 'Send code',
|
|
106
106
|
verifycode: 'Verify Code',
|
|
107
107
|
writevalidemail: 'Please write a valid email',
|
|
@@ -11326,7 +11326,7 @@
|
|
|
11326
11326
|
function ownKeys$2v(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; }
|
|
11327
11327
|
function _objectSpread$2v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2v(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11328
11328
|
var Checkout = function Checkout(props) {
|
|
11329
|
-
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue66, _authdetailsContext$i10, _fetchcustomercartQue67, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _fetchcustomercartQue68, _authdetailsContext$
|
|
11329
|
+
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue66, _authdetailsContext$i10, _fetchcustomercartQue67, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _authdetailsContext$i15, _fetchcustomercartQue68, _authdetailsContext$i16, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _fetchcustomercartQue86, _fetchcustomercartQue88, _authdetailsContext$i18, _fetchcustomercartQue90, _authdetailsContext$i19, _fetchcustomercartQue92, _authdetailsContext$i20, _fetchcustomercartQue94, _authdetailsContext$i21, _fetchcustomercartQue96, _authdetailsContext$i22, _fetchcustomercartQue98, _fetchcustomercartQue100, _fetchcustomercartQue101;
|
|
11330
11330
|
var _useState = React.useState(null),
|
|
11331
11331
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
11332
11332
|
_useState2[0];
|
|
@@ -12480,12 +12480,12 @@
|
|
|
12480
12480
|
}
|
|
12481
12481
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
12482
12482
|
className: "".concat(checkoutstyles.input_label_name) + ' d-flex align-items-start '
|
|
12483
|
-
}, lang.email, ' ', /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
12483
|
+
}, lang.email, ' ', (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i14 = authdetailsContext.instinfo) === null || _authdetailsContext$i14 === void 0 ? void 0 : _authdetailsContext$i14.customerEmailrequiered) == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
12484
12484
|
"class": "mx-2",
|
|
12485
12485
|
style: {
|
|
12486
12486
|
color: 'var(--danger)'
|
|
12487
12487
|
}
|
|
12488
|
-
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12488
|
+
}, "*"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i15 = authdetailsContext.instinfo) === null || _authdetailsContext$i15 === void 0 ? void 0 : _authdetailsContext$i15.contactinfo.instid) == '6739bf5880c04' && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
12489
12489
|
"class": "mx-2",
|
|
12490
12490
|
style: {
|
|
12491
12491
|
fontSize: 13
|
|
@@ -12563,7 +12563,7 @@
|
|
|
12563
12563
|
className: sectionproperties.inputfieldcolor == '#ffffff' ? 'col-lg-4 col-md-12 mb-3 selectwhite' : 'col-lg-4 col-md-12 mb-3'
|
|
12564
12564
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
12565
12565
|
className: "".concat(checkoutstyles.input_label_name) + ' m-0 d-flex align-items-start '
|
|
12566
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12566
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '67e448d2ef6e0' ? langdetect == 'en' ? 'Governorate' : 'المحافظة' : lang.stategov, authdetailsContext.instinfo.customerAddressrequiered == 1 && /*#__PURE__*/React__default["default"].createElement("sup", {
|
|
12567
12567
|
"class": "mx-2",
|
|
12568
12568
|
style: {
|
|
12569
12569
|
color: 'var(--danger)'
|
|
@@ -12762,7 +12762,7 @@
|
|
|
12762
12762
|
className: "row m-0 w-100 mb-3 pl-3 pr-3"
|
|
12763
12763
|
}, orderextrafeilds === null || orderextrafeilds === void 0 ? void 0 : orderextrafeilds.map(function (item, index) {
|
|
12764
12764
|
if (item.type == 'date') {
|
|
12765
|
-
var _authdetailsContext$
|
|
12765
|
+
var _authdetailsContext$i17;
|
|
12766
12766
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12767
12767
|
className: "col-lg-6 col-md-12 mb-3"
|
|
12768
12768
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
@@ -12779,7 +12779,7 @@
|
|
|
12779
12779
|
style: {
|
|
12780
12780
|
boxShadow: 'none'
|
|
12781
12781
|
},
|
|
12782
|
-
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12782
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
12783
12783
|
.toISOString().split('T')[0] : null
|
|
12784
12784
|
}));
|
|
12785
12785
|
}
|
|
@@ -12978,7 +12978,7 @@
|
|
|
12978
12978
|
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"
|
|
12979
12979
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12980
12980
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
12981
|
-
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
12981
|
+
}, langdetect == 'en' ? sectionproperties.walletnameen : sectionproperties.walletnamear))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12982
12982
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
12983
12983
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
12984
12984
|
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 '
|
|
@@ -13000,7 +13000,7 @@
|
|
|
13000
13000
|
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"
|
|
13001
13001
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13002
13002
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13003
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13003
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13004
13004
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13005
13005
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13006
13006
|
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 '
|
|
@@ -13022,7 +13022,7 @@
|
|
|
13022
13022
|
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"
|
|
13023
13023
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13024
13024
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13025
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13025
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13026
13026
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13027
13027
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13028
13028
|
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 '
|
|
@@ -13044,7 +13044,7 @@
|
|
|
13044
13044
|
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"
|
|
13045
13045
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13046
13046
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
13047
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13047
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13048
13048
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13049
13049
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13050
13050
|
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 '
|
|
@@ -13066,7 +13066,7 @@
|
|
|
13066
13066
|
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"
|
|
13067
13067
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13068
13068
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13069
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13069
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i22 = authdetailsContext.instinfo) === null || _authdetailsContext$i22 === void 0 ? void 0 : _authdetailsContext$i22.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13070
13070
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13071
13071
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13072
13072
|
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 '
|
|
@@ -90783,7 +90783,11 @@
|
|
|
90783
90783
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
90784
90784
|
"class": "".concat(card_cssstyles.cart_btn) + ' m-0 p-0 d-flex align-items-center justify-content-center mt-1 ',
|
|
90785
90785
|
onClick: function onClick() {
|
|
90786
|
-
|
|
90786
|
+
var _authdetailsContext$i7;
|
|
90787
|
+
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.contactinfo.instid) == '68527dfef348b') {
|
|
90788
|
+
// alert(item.path);
|
|
90789
|
+
window.open((ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint) + item.image, '_blank');
|
|
90790
|
+
} else if (sectionproperties.showvariantscont == 'Show') {
|
|
90787
90791
|
addtocartfunc();
|
|
90788
90792
|
} else {
|
|
90789
90793
|
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|