tabexseriescomponents 0.2.1060 → 0.2.1062
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 +24 -18
- package/dist/index.esm.js +24 -18
- package/dist/index.umd.js +24 -18
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -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$i15, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _fetchcustomercartQue86, _fetchcustomercartQue88, _authdetailsContext$
|
|
11521
|
+
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue66, _authdetailsContext$i10, _fetchcustomercartQue67, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _fetchcustomercartQue68, _authdetailsContext$i15, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _fetchcustomercartQue86, _fetchcustomercartQue88, _authdetailsContext$i17, _fetchcustomercartQue90, _authdetailsContext$i18, _fetchcustomercartQue92, _authdetailsContext$i19, _fetchcustomercartQue94, _authdetailsContext$i20, _fetchcustomercartQue96, _authdetailsContext$i21, _fetchcustomercartQue98, _fetchcustomercartQue100, _fetchcustomercartQue101;
|
|
11522
11522
|
var _useState = React.useState(null),
|
|
11523
11523
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
11524
11524
|
_useState2[0];
|
|
@@ -12954,6 +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$i16;
|
|
12957
12958
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12958
12959
|
className: "col-lg-6 col-md-12 mb-3"
|
|
12959
12960
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
@@ -12969,7 +12970,9 @@ var Checkout = function Checkout(props) {
|
|
|
12969
12970
|
},
|
|
12970
12971
|
style: {
|
|
12971
12972
|
boxShadow: 'none'
|
|
12972
|
-
}
|
|
12973
|
+
},
|
|
12974
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
12975
|
+
.toISOString().split('T')[0] : null
|
|
12973
12976
|
}));
|
|
12974
12977
|
}
|
|
12975
12978
|
if (item.type == 'time') {
|
|
@@ -13167,7 +13170,7 @@ var Checkout = function Checkout(props) {
|
|
|
13167
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"
|
|
13168
13171
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13169
13172
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13170
|
-
}, 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$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13171
13174
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13172
13175
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13173
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 '
|
|
@@ -13189,7 +13192,7 @@ var Checkout = function Checkout(props) {
|
|
|
13189
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"
|
|
13190
13193
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13191
13194
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13192
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13195
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13193
13196
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13194
13197
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13195
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 '
|
|
@@ -13211,7 +13214,7 @@ var Checkout = function Checkout(props) {
|
|
|
13211
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"
|
|
13212
13215
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13213
13216
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13214
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13217
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13215
13218
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13216
13219
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13217
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 '
|
|
@@ -13233,7 +13236,7 @@ var Checkout = function Checkout(props) {
|
|
|
13233
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"
|
|
13234
13237
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13235
13238
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
13236
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13239
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13237
13240
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13238
13241
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13239
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 '
|
|
@@ -13255,7 +13258,7 @@ var Checkout = function Checkout(props) {
|
|
|
13255
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"
|
|
13256
13259
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13257
13260
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13258
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13261
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13259
13262
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13260
13263
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13261
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 '
|
|
@@ -56477,7 +56480,10 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
56477
56480
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
56478
56481
|
}
|
|
56479
56482
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
56480
|
-
"class": ' fa fa-phone mr-2 ml-2 '
|
|
56483
|
+
"class": ' fa fa-phone mr-2 ml-2 ',
|
|
56484
|
+
style: {
|
|
56485
|
+
transform: langdetect == 'en' ? 'scaleX(-1)' : 'scaleX(1)'
|
|
56486
|
+
}
|
|
56481
56487
|
}), authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), sectionproperties.showfooteraddress == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56482
56488
|
"class": "col-lg-4 col-md-4 col-sm-12 d-flex justify-content-end justify-content-md-start align-items-center p-0"
|
|
56483
56489
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -76048,7 +76054,7 @@ var TwoWayServiceSectionWithImage = function TwoWayServiceSectionWithImage(props
|
|
|
76048
76054
|
function ownKeys$N(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; }
|
|
76049
76055
|
function _objectSpread$N(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$N(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$N(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
76050
76056
|
var ContactUsSection = function ContactUsSection(props) {
|
|
76051
|
-
var _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$
|
|
76057
|
+
var _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$i0, _authdetailsContext$i1;
|
|
76052
76058
|
var _useState = React.useState(''),
|
|
76053
76059
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
76054
76060
|
sectionproperties = _useState2[0],
|
|
@@ -76255,10 +76261,10 @@ var ContactUsSection = function ContactUsSection(props) {
|
|
|
76255
76261
|
}
|
|
76256
76262
|
}, langdetect == 'en' ? sectionproperties.addresstitle_en : sectionproperties.addresstitle_ar), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
76257
76263
|
"class": "storeinfo"
|
|
76258
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.address_en)))))), sectionproperties.showmap == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76264
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.address_ar)))))), sectionproperties.showmap == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76259
76265
|
"class": "col-lg-6 allcentered p-0 h-100"
|
|
76260
76266
|
}, /*#__PURE__*/React__default["default"].createElement("iframe", {
|
|
76261
|
-
src: authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76267
|
+
src: authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.googlemapslink,
|
|
76262
76268
|
width: "100%",
|
|
76263
76269
|
height: "100%",
|
|
76264
76270
|
allowfullscreen: "",
|
|
@@ -76304,8 +76310,8 @@ var ContactUsSection = function ContactUsSection(props) {
|
|
|
76304
76310
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
76305
76311
|
"class": section_styles.storeinfo + ' m-0 p-0 d-flex justify-content-start flex-row ',
|
|
76306
76312
|
onClick: function onClick() {
|
|
76307
|
-
var _authdetailsContext$
|
|
76308
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76313
|
+
var _authdetailsContext$i7;
|
|
76314
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.contactinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.email), '_self');
|
|
76309
76315
|
}
|
|
76310
76316
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
76311
76317
|
"class": section_styles.iconContainer + ' allcentered storeinfoicon '
|
|
@@ -76322,7 +76328,7 @@ var ContactUsSection = function ContactUsSection(props) {
|
|
|
76322
76328
|
}
|
|
76323
76329
|
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
76324
76330
|
"class": "storeinfo"
|
|
76325
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76331
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.contactinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.email)))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76326
76332
|
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start mb-5"
|
|
76327
76333
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
76328
76334
|
"class": section_styles.storeinfo + ' m-0 p-0 d-flex justify-content-start flex-row ',
|
|
@@ -76349,8 +76355,8 @@ var ContactUsSection = function ContactUsSection(props) {
|
|
|
76349
76355
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
76350
76356
|
"class": section_styles.storeinfo + ' m-0 p-0 d-flex justify-content-start flex-row ',
|
|
76351
76357
|
onClick: function onClick() {
|
|
76352
|
-
var _authdetailsContext$
|
|
76353
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76358
|
+
var _authdetailsContext$i9;
|
|
76359
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.googlemapslink);
|
|
76354
76360
|
}
|
|
76355
76361
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
76356
76362
|
"class": section_styles.iconContainer + ' allcentered storeinfoicon '
|
|
@@ -76369,10 +76375,10 @@ var ContactUsSection = function ContactUsSection(props) {
|
|
|
76369
76375
|
}
|
|
76370
76376
|
}, langdetect == 'en' ? sectionproperties.addresstitle_en : sectionproperties.addresstitle_ar), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
76371
76377
|
"class": "storeinfo"
|
|
76372
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76378
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.address_en)))))), sectionproperties.showmap == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76373
76379
|
"class": "col-lg-6 allcentered p-0 h-100"
|
|
76374
76380
|
}, /*#__PURE__*/React__default["default"].createElement("iframe", {
|
|
76375
|
-
src: authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76381
|
+
src: authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.googlemapslink,
|
|
76376
76382
|
width: "100%",
|
|
76377
76383
|
height: "100%",
|
|
76378
76384
|
allowfullscreen: "",
|
package/dist/index.esm.js
CHANGED
|
@@ -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$i15, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _fetchcustomercartQue86, _fetchcustomercartQue88, _authdetailsContext$
|
|
11470
|
+
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue66, _authdetailsContext$i10, _fetchcustomercartQue67, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _fetchcustomercartQue68, _authdetailsContext$i15, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _fetchcustomercartQue86, _fetchcustomercartQue88, _authdetailsContext$i17, _fetchcustomercartQue90, _authdetailsContext$i18, _fetchcustomercartQue92, _authdetailsContext$i19, _fetchcustomercartQue94, _authdetailsContext$i20, _fetchcustomercartQue96, _authdetailsContext$i21, _fetchcustomercartQue98, _fetchcustomercartQue100, _fetchcustomercartQue101;
|
|
11471
11471
|
var _useState = useState(null),
|
|
11472
11472
|
_useState2 = _slicedToArray(_useState, 2);
|
|
11473
11473
|
_useState2[0];
|
|
@@ -12903,6 +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$i16;
|
|
12906
12907
|
return /*#__PURE__*/React.createElement("div", {
|
|
12907
12908
|
className: "col-lg-6 col-md-12 mb-3"
|
|
12908
12909
|
}, /*#__PURE__*/React.createElement("label", {
|
|
@@ -12918,7 +12919,9 @@ var Checkout = function Checkout(props) {
|
|
|
12918
12919
|
},
|
|
12919
12920
|
style: {
|
|
12920
12921
|
boxShadow: 'none'
|
|
12921
|
-
}
|
|
12922
|
+
},
|
|
12923
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
12924
|
+
.toISOString().split('T')[0] : null
|
|
12922
12925
|
}));
|
|
12923
12926
|
}
|
|
12924
12927
|
if (item.type == 'time') {
|
|
@@ -13116,7 +13119,7 @@ var Checkout = function Checkout(props) {
|
|
|
13116
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"
|
|
13117
13120
|
})), /*#__PURE__*/React.createElement("p", {
|
|
13118
13121
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13119
|
-
}, 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$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.acceptForsaCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
13120
13123
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13121
13124
|
}, /*#__PURE__*/React.createElement("label", {
|
|
13122
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 '
|
|
@@ -13138,7 +13141,7 @@ var Checkout = function Checkout(props) {
|
|
|
13138
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"
|
|
13139
13142
|
})), /*#__PURE__*/React.createElement("p", {
|
|
13140
13143
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13141
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13144
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.acceptSouhoolaCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
13142
13145
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13143
13146
|
}, /*#__PURE__*/React.createElement("label", {
|
|
13144
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 '
|
|
@@ -13160,7 +13163,7 @@ var Checkout = function Checkout(props) {
|
|
|
13160
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"
|
|
13161
13164
|
})), /*#__PURE__*/React.createElement("p", {
|
|
13162
13165
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13163
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13166
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.acceptonlinePaypal) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
13164
13167
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13165
13168
|
}, /*#__PURE__*/React.createElement("label", {
|
|
13166
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 '
|
|
@@ -13182,7 +13185,7 @@ var Checkout = function Checkout(props) {
|
|
|
13182
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"
|
|
13183
13186
|
})), /*#__PURE__*/React.createElement("p", {
|
|
13184
13187
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
13185
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13188
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
13186
13189
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13187
13190
|
}, /*#__PURE__*/React.createElement("label", {
|
|
13188
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 '
|
|
@@ -13204,7 +13207,7 @@ var Checkout = function Checkout(props) {
|
|
|
13204
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"
|
|
13205
13208
|
})), /*#__PURE__*/React.createElement("p", {
|
|
13206
13209
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13207
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13210
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.acceptAmanCard) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
13208
13211
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13209
13212
|
}, /*#__PURE__*/React.createElement("label", {
|
|
13210
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 '
|
|
@@ -56426,7 +56429,10 @@ var Newsletterfooter = function Newsletterfooter(props) {
|
|
|
56426
56429
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
56427
56430
|
}
|
|
56428
56431
|
}, /*#__PURE__*/React.createElement("i", {
|
|
56429
|
-
"class": ' fa fa-phone mr-2 ml-2 '
|
|
56432
|
+
"class": ' fa fa-phone mr-2 ml-2 ',
|
|
56433
|
+
style: {
|
|
56434
|
+
transform: langdetect == 'en' ? 'scaleX(-1)' : 'scaleX(1)'
|
|
56435
|
+
}
|
|
56430
56436
|
}), authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), sectionproperties.showfooteraddress == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
56431
56437
|
"class": "col-lg-4 col-md-4 col-sm-12 d-flex justify-content-end justify-content-md-start align-items-center p-0"
|
|
56432
56438
|
}, /*#__PURE__*/React.createElement("p", {
|
|
@@ -75997,7 +76003,7 @@ var TwoWayServiceSectionWithImage = function TwoWayServiceSectionWithImage(props
|
|
|
75997
76003
|
function ownKeys$N(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; }
|
|
75998
76004
|
function _objectSpread$N(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$N(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$N(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
75999
76005
|
var ContactUsSection = function ContactUsSection(props) {
|
|
76000
|
-
var _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$
|
|
76006
|
+
var _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$i0, _authdetailsContext$i1;
|
|
76001
76007
|
var _useState = useState(''),
|
|
76002
76008
|
_useState2 = _slicedToArray(_useState, 2),
|
|
76003
76009
|
sectionproperties = _useState2[0],
|
|
@@ -76204,10 +76210,10 @@ var ContactUsSection = function ContactUsSection(props) {
|
|
|
76204
76210
|
}
|
|
76205
76211
|
}, langdetect == 'en' ? sectionproperties.addresstitle_en : sectionproperties.addresstitle_ar), /*#__PURE__*/React.createElement("span", {
|
|
76206
76212
|
"class": "storeinfo"
|
|
76207
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.address_en)))))), sectionproperties.showmap == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
76213
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.address_ar)))))), sectionproperties.showmap == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
76208
76214
|
"class": "col-lg-6 allcentered p-0 h-100"
|
|
76209
76215
|
}, /*#__PURE__*/React.createElement("iframe", {
|
|
76210
|
-
src: authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76216
|
+
src: authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.googlemapslink,
|
|
76211
76217
|
width: "100%",
|
|
76212
76218
|
height: "100%",
|
|
76213
76219
|
allowfullscreen: "",
|
|
@@ -76253,8 +76259,8 @@ var ContactUsSection = function ContactUsSection(props) {
|
|
|
76253
76259
|
}, /*#__PURE__*/React.createElement("p", {
|
|
76254
76260
|
"class": section_styles.storeinfo + ' m-0 p-0 d-flex justify-content-start flex-row ',
|
|
76255
76261
|
onClick: function onClick() {
|
|
76256
|
-
var _authdetailsContext$
|
|
76257
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76262
|
+
var _authdetailsContext$i7;
|
|
76263
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.contactinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.email), '_self');
|
|
76258
76264
|
}
|
|
76259
76265
|
}, /*#__PURE__*/React.createElement("span", {
|
|
76260
76266
|
"class": section_styles.iconContainer + ' allcentered storeinfoicon '
|
|
@@ -76271,7 +76277,7 @@ var ContactUsSection = function ContactUsSection(props) {
|
|
|
76271
76277
|
}
|
|
76272
76278
|
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar), /*#__PURE__*/React.createElement("span", {
|
|
76273
76279
|
"class": "storeinfo"
|
|
76274
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76280
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.contactinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.email)))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
76275
76281
|
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start mb-5"
|
|
76276
76282
|
}, /*#__PURE__*/React.createElement("p", {
|
|
76277
76283
|
"class": section_styles.storeinfo + ' m-0 p-0 d-flex justify-content-start flex-row ',
|
|
@@ -76298,8 +76304,8 @@ var ContactUsSection = function ContactUsSection(props) {
|
|
|
76298
76304
|
}, /*#__PURE__*/React.createElement("p", {
|
|
76299
76305
|
"class": section_styles.storeinfo + ' m-0 p-0 d-flex justify-content-start flex-row ',
|
|
76300
76306
|
onClick: function onClick() {
|
|
76301
|
-
var _authdetailsContext$
|
|
76302
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76307
|
+
var _authdetailsContext$i9;
|
|
76308
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.googlemapslink);
|
|
76303
76309
|
}
|
|
76304
76310
|
}, /*#__PURE__*/React.createElement("span", {
|
|
76305
76311
|
"class": section_styles.iconContainer + ' allcentered storeinfoicon '
|
|
@@ -76318,10 +76324,10 @@ var ContactUsSection = function ContactUsSection(props) {
|
|
|
76318
76324
|
}
|
|
76319
76325
|
}, langdetect == 'en' ? sectionproperties.addresstitle_en : sectionproperties.addresstitle_ar), /*#__PURE__*/React.createElement("span", {
|
|
76320
76326
|
"class": "storeinfo"
|
|
76321
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76327
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.address_en)))))), sectionproperties.showmap == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
76322
76328
|
"class": "col-lg-6 allcentered p-0 h-100"
|
|
76323
76329
|
}, /*#__PURE__*/React.createElement("iframe", {
|
|
76324
|
-
src: authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76330
|
+
src: authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.googlemapslink,
|
|
76325
76331
|
width: "100%",
|
|
76326
76332
|
height: "100%",
|
|
76327
76333
|
allowfullscreen: "",
|
package/dist/index.umd.js
CHANGED
|
@@ -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$i15, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _fetchcustomercartQue86, _fetchcustomercartQue88, _authdetailsContext$
|
|
11329
|
+
var _fetchTabexCountriesQ2, _css, _authdetailsContext$i0, _authdetailsContext$i1, _fetchcustomercartQue66, _authdetailsContext$i10, _fetchcustomercartQue67, _authdetailsContext$i11, _authdetailsContext$i12, _authdetailsContext$i13, _authdetailsContext$i14, _fetchcustomercartQue68, _authdetailsContext$i15, _fetchcustomercartQue74, _fetchcustomercartQue75, _fetchcustomercartQue76, _fetchcustomercartQue77, _fetchcustomercartQue78, _fetchcustomercartQue80, _fetchcustomercartQue82, _fetchcustomercartQue84, _fetchcustomercartQue86, _fetchcustomercartQue88, _authdetailsContext$i17, _fetchcustomercartQue90, _authdetailsContext$i18, _fetchcustomercartQue92, _authdetailsContext$i19, _fetchcustomercartQue94, _authdetailsContext$i20, _fetchcustomercartQue96, _authdetailsContext$i21, _fetchcustomercartQue98, _fetchcustomercartQue100, _fetchcustomercartQue101;
|
|
11330
11330
|
var _useState = React.useState(null),
|
|
11331
11331
|
_useState2 = _slicedToArray__default["default"](_useState, 2);
|
|
11332
11332
|
_useState2[0];
|
|
@@ -12762,6 +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$i16;
|
|
12765
12766
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12766
12767
|
className: "col-lg-6 col-md-12 mb-3"
|
|
12767
12768
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
@@ -12777,7 +12778,9 @@
|
|
|
12777
12778
|
},
|
|
12778
12779
|
style: {
|
|
12779
12780
|
boxShadow: 'none'
|
|
12780
|
-
}
|
|
12781
|
+
},
|
|
12782
|
+
min: (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i16 = authdetailsContext.instinfo) === null || _authdetailsContext$i16 === void 0 ? void 0 : _authdetailsContext$i16.contactinfo.instid) == '66b4a0338cb14' ? new Date(Date.now() + 11 * 24 * 60 * 60 * 1000) // allow starting 11 days after today
|
|
12783
|
+
.toISOString().split('T')[0] : null
|
|
12781
12784
|
}));
|
|
12782
12785
|
}
|
|
12783
12786
|
if (item.type == 'time') {
|
|
@@ -12975,7 +12978,7 @@
|
|
|
12975
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"
|
|
12976
12979
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12977
12980
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
12978
|
-
}, 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$i17 = authdetailsContext.instinfo) === null || _authdetailsContext$i17 === void 0 ? void 0 : _authdetailsContext$i17.acceptForsaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
12979
12982
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
12980
12983
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
12981
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 '
|
|
@@ -12997,7 +13000,7 @@
|
|
|
12997
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"
|
|
12998
13001
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
12999
13002
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13000
|
-
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13003
|
+
}, langdetect == 'en' ? 'Forsa' : ' Forsa'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i18 = authdetailsContext.instinfo) === null || _authdetailsContext$i18 === void 0 ? void 0 : _authdetailsContext$i18.acceptSouhoolaCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13001
13004
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13002
13005
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13003
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 '
|
|
@@ -13019,7 +13022,7 @@
|
|
|
13019
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"
|
|
13020
13023
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13021
13024
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13022
|
-
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13025
|
+
}, langdetect == 'en' ? 'Souhoola' : ' Souhoola'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i19 = authdetailsContext.instinfo) === null || _authdetailsContext$i19 === void 0 ? void 0 : _authdetailsContext$i19.acceptonlinePaypal) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13023
13026
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13024
13027
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13025
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 '
|
|
@@ -13041,7 +13044,7 @@
|
|
|
13041
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"
|
|
13042
13045
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13043
13046
|
className: "".concat(formstyles.checkbox_label, " + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '")
|
|
13044
|
-
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13047
|
+
}, langdetect == 'en' ? 'Paypal' : ' Paypal'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i20 = authdetailsContext.instinfo) === null || _authdetailsContext$i20 === void 0 ? void 0 : _authdetailsContext$i20.acceptBankInstallementsCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13045
13048
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13046
13049
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13047
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 '
|
|
@@ -13063,7 +13066,7 @@
|
|
|
13063
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"
|
|
13064
13067
|
})), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
13065
13068
|
className: "".concat(formstyles.checkbox_label) + ' ml-2 mb-0 wordbreak cursor-pointer mr-2 '
|
|
13066
|
-
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
13069
|
+
}, langdetect == 'en' ? 'Bank Installments' : ' التقسيط عن طريق البنك'))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i21 = authdetailsContext.instinfo) === null || _authdetailsContext$i21 === void 0 ? void 0 : _authdetailsContext$i21.acceptAmanCard) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
13067
13070
|
className: "col-xl-4 col-lg-4 col-md-12 mb-3"
|
|
13068
13071
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
13069
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 '
|
|
@@ -56285,7 +56288,10 @@
|
|
|
56285
56288
|
window.open('tel:' + (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber), '_self');
|
|
56286
56289
|
}
|
|
56287
56290
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
56288
|
-
"class": ' fa fa-phone mr-2 ml-2 '
|
|
56291
|
+
"class": ' fa fa-phone mr-2 ml-2 ',
|
|
56292
|
+
style: {
|
|
56293
|
+
transform: langdetect == 'en' ? 'scaleX(-1)' : 'scaleX(1)'
|
|
56294
|
+
}
|
|
56289
56295
|
}), authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.CuContactphonenumber)), sectionproperties.showfooteraddress == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
56290
56296
|
"class": "col-lg-4 col-md-4 col-sm-12 d-flex justify-content-end justify-content-md-start align-items-center p-0"
|
|
56291
56297
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -75856,7 +75862,7 @@
|
|
|
75856
75862
|
function ownKeys$N(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; }
|
|
75857
75863
|
function _objectSpread$N(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$N(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$N(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
75858
75864
|
var ContactUsSection = function ContactUsSection(props) {
|
|
75859
|
-
var _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$
|
|
75865
|
+
var _authdetailsContext$i2, _authdetailsContext$i4, _authdetailsContext$i5, _authdetailsContext$i6, _authdetailsContext$i8, _authdetailsContext$i0, _authdetailsContext$i1;
|
|
75860
75866
|
var _useState = React.useState(''),
|
|
75861
75867
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
75862
75868
|
sectionproperties = _useState2[0],
|
|
@@ -76063,10 +76069,10 @@
|
|
|
76063
76069
|
}
|
|
76064
76070
|
}, langdetect == 'en' ? sectionproperties.addresstitle_en : sectionproperties.addresstitle_ar), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
76065
76071
|
"class": "storeinfo"
|
|
76066
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.address_en)))))), sectionproperties.showmap == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76072
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i4 = authdetailsContext.instinfo) === null || _authdetailsContext$i4 === void 0 ? void 0 : _authdetailsContext$i4.address_en : authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.address_ar)))))), sectionproperties.showmap == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76067
76073
|
"class": "col-lg-6 allcentered p-0 h-100"
|
|
76068
76074
|
}, /*#__PURE__*/React__default["default"].createElement("iframe", {
|
|
76069
|
-
src: authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76075
|
+
src: authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.googlemapslink,
|
|
76070
76076
|
width: "100%",
|
|
76071
76077
|
height: "100%",
|
|
76072
76078
|
allowfullscreen: "",
|
|
@@ -76112,8 +76118,8 @@
|
|
|
76112
76118
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
76113
76119
|
"class": section_styles.storeinfo + ' m-0 p-0 d-flex justify-content-start flex-row ',
|
|
76114
76120
|
onClick: function onClick() {
|
|
76115
|
-
var _authdetailsContext$
|
|
76116
|
-
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76121
|
+
var _authdetailsContext$i7;
|
|
76122
|
+
window.open('mailto:' + (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 || (_authdetailsContext$i7 = _authdetailsContext$i7.contactinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.email), '_self');
|
|
76117
76123
|
}
|
|
76118
76124
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
76119
76125
|
"class": section_styles.iconContainer + ' allcentered storeinfoicon '
|
|
@@ -76130,7 +76136,7 @@
|
|
|
76130
76136
|
}
|
|
76131
76137
|
}, langdetect == 'en' ? sectionproperties.emailtitle_en : sectionproperties.emailtitle_ar), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
76132
76138
|
"class": "storeinfo"
|
|
76133
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76139
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 || (_authdetailsContext$i8 = _authdetailsContext$i8.contactinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.email)))), sectionproperties.showfooterphonenumber == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76134
76140
|
"class": "col-lg-12 p-0 d-flex align-items-center justify-content-start mb-5"
|
|
76135
76141
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
76136
76142
|
"class": section_styles.storeinfo + ' m-0 p-0 d-flex justify-content-start flex-row ',
|
|
@@ -76157,8 +76163,8 @@
|
|
|
76157
76163
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
76158
76164
|
"class": section_styles.storeinfo + ' m-0 p-0 d-flex justify-content-start flex-row ',
|
|
76159
76165
|
onClick: function onClick() {
|
|
76160
|
-
var _authdetailsContext$
|
|
76161
|
-
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76166
|
+
var _authdetailsContext$i9;
|
|
76167
|
+
window.open(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.googlemapslink);
|
|
76162
76168
|
}
|
|
76163
76169
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
76164
76170
|
"class": section_styles.iconContainer + ' allcentered storeinfoicon '
|
|
@@ -76177,10 +76183,10 @@
|
|
|
76177
76183
|
}
|
|
76178
76184
|
}, langdetect == 'en' ? sectionproperties.addresstitle_en : sectionproperties.addresstitle_ar), /*#__PURE__*/React__default["default"].createElement("span", {
|
|
76179
76185
|
"class": "storeinfo"
|
|
76180
|
-
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76186
|
+
}, authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.address_en)))))), sectionproperties.showmap == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
76181
76187
|
"class": "col-lg-6 allcentered p-0 h-100"
|
|
76182
76188
|
}, /*#__PURE__*/React__default["default"].createElement("iframe", {
|
|
76183
|
-
src: authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
76189
|
+
src: authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.googlemapslink,
|
|
76184
76190
|
width: "100%",
|
|
76185
76191
|
height: "100%",
|
|
76186
76192
|
allowfullscreen: "",
|