tabexseriescomponents 0.2.757 → 0.2.759
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 +344 -45
- package/dist/index.esm.js +344 -45
- package/dist/index.umd.js +344 -45
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2820,7 +2820,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2820
2820
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2821
2821
|
"class": ' col-lg-12 p-0 '
|
|
2822
2822
|
}, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2823
|
-
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-
|
|
2823
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',
|
|
2824
2824
|
style: {
|
|
2825
2825
|
minHeight: sectionproperties.height + 'vh'
|
|
2826
2826
|
}
|
|
@@ -2886,7 +2886,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2886
2886
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2887
2887
|
className: 'row m-0 w-100'
|
|
2888
2888
|
}, sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2889
|
-
className: sectionproperties.evencols == 'Yes' ? productinfo_cssstyles.evencols + ' col-xl-6 col-lg-6 col-md-12 col-sm-12 mb-md-
|
|
2889
|
+
className: sectionproperties.evencols == 'Yes' ? productinfo_cssstyles.evencols + ' col-xl-6 col-lg-6 col-md-12 col-sm-12 mb-md-2 pl-1 pr-1 evencols ' : 'col-xl-5 col-lg-5 col-md-12 col-sm-12 mb-md-5 pb-md-4 pl-1 pr-1'
|
|
2890
2890
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2891
2891
|
className: sectionproperties.maximizegalleryfullscreen == 'Yes' ? ' col-lg-12 p-0 maximize ' : 'col-lg-12 p-0',
|
|
2892
2892
|
style: {
|
|
@@ -11650,13 +11650,13 @@ var Checkout = function Checkout(props) {
|
|
|
11650
11650
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
11651
11651
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11652
11652
|
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
11653
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), item.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11653
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), item.productinfo.hassale == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11654
11654
|
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
11655
11655
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11656
11656
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
11657
11657
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11658
11658
|
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
11659
|
-
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11659
|
+
}, langdetect == 'en' ? authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_en : '', ' ', sectionproperties.removedecimals == 'Without Decimals' ? parseFloat(Number(item.finalprice).toFixed(2)) : sectionproperties.removedecimals == 'Without Decimals and Separated With Comma' ? Math.floor(item.finalprice).toLocaleString() : parseFloat(item.finalprice).toFixed(2), ' ', " ", langdetect == 'en' ? '' : authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.currencyname_ar)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11660
11660
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
11661
11661
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11662
11662
|
className: langdetect == 'en' ? "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.Salepricestyless) + ' linethrough mb-0 p-0 wordbreak text-left '
|
|
@@ -16124,32 +16124,44 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
16124
16124
|
function ownKeys$2h(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; }
|
|
16125
16125
|
function _objectSpread$2h(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2h(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2h(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16126
16126
|
var OrderSuccess = function OrderSuccess(props) {
|
|
16127
|
-
var _props$actions2;
|
|
16128
|
-
props.actions.lang;
|
|
16127
|
+
var _props$actions2, _logoarrayofobjects$, _logoarrayofobjects$2, _lastOrderinfoObj$dat, _lastOrderinfoObj$dat2, _lastOrderinfoObj$dat3, _lastOrderinfoObj$dat4, _lastOrderinfoObj$dat5, _lastOrderinfoObj$dat6, _lastOrderinfoObj$dat7, _lastOrderinfoObj$dat8, _lastOrderinfoObj$dat11, _lastOrderinfoObj$dat12, _lastOrderinfoObj$dat13, _lastOrderinfoObj$dat14, _lastOrderinfoObj$dat15, _lastOrderinfoObj$dat16, _lastOrderinfoObj$dat17, _lastOrderinfoObj$dat18, _lastOrderinfoObj$dat19;
|
|
16128
|
+
var lang = props.actions.lang;
|
|
16129
16129
|
var langdetect = props.actions.langdetect;
|
|
16130
16130
|
var routingcountext = props.actions.routingcountext;
|
|
16131
16131
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
16132
16132
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
16133
16133
|
var uselocation = props.actions.uselocation;
|
|
16134
|
-
props.actions.ikimagecredcontext;
|
|
16134
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
16135
|
+
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
16135
16136
|
var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
16136
|
-
|
|
16137
|
+
props.actions.fetchorderhistoryQueryContext;
|
|
16138
|
+
var _useState = React.useState(null),
|
|
16137
16139
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
16138
|
-
|
|
16139
|
-
|
|
16140
|
-
var _useState3 = React.useState(
|
|
16140
|
+
lastOrderinfoObj = _useState2[0],
|
|
16141
|
+
setlastOrderinfoObj = _useState2[1];
|
|
16142
|
+
var _useState3 = React.useState(false),
|
|
16141
16143
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
16142
|
-
|
|
16143
|
-
|
|
16144
|
+
IsOrderSuccess = _useState4[0],
|
|
16145
|
+
setIsOrderSuccess = _useState4[1];
|
|
16144
16146
|
var _useState5 = React.useState(''),
|
|
16145
16147
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
16146
|
-
|
|
16147
|
-
|
|
16148
|
+
ReasonFail = _useState6[0],
|
|
16149
|
+
setReasonFail = _useState6[1];
|
|
16148
16150
|
var _useState7 = React.useState(''),
|
|
16149
|
-
_useState8 = _slicedToArray__default["default"](_useState7, 2)
|
|
16150
|
-
_useState8[0]
|
|
16151
|
-
|
|
16151
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
16152
|
+
sectionproperties = _useState8[0],
|
|
16153
|
+
setsectionproperties = _useState8[1];
|
|
16154
|
+
var _useState9 = React.useState(''),
|
|
16155
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2);
|
|
16156
|
+
_useState10[0];
|
|
16157
|
+
var setCurrentPageId = _useState10[1];
|
|
16152
16158
|
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
16159
|
+
var _useState11 = React.useState([]),
|
|
16160
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
16161
|
+
logoarrayofobjects = _useState12[0],
|
|
16162
|
+
setlogoarrayofobjects = _useState12[1];
|
|
16163
|
+
var templateproperties_context = props.actions.templateproperties_context;
|
|
16164
|
+
|
|
16153
16165
|
// useEffect(() => {
|
|
16154
16166
|
// const query = new URLSearchParams(uselocation.search);
|
|
16155
16167
|
// var issuccess = query.get('status');
|
|
@@ -16203,6 +16215,40 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
16203
16215
|
});
|
|
16204
16216
|
setsectionproperties(_objectSpread$2h({}, secpropobj));
|
|
16205
16217
|
}, [props === null || props === void 0 || (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
16218
|
+
React.useEffect(function () {
|
|
16219
|
+
var query = new URLSearchParams(uselocation.search);
|
|
16220
|
+
var order_id = query.get('order_id');
|
|
16221
|
+
if (order_id != undefined && order_id != null && order_id.length != 0) {
|
|
16222
|
+
GeneralAPIMutationContext.mutate({
|
|
16223
|
+
endpointurl: '/p_fetchorderinformation',
|
|
16224
|
+
orderid: order_id,
|
|
16225
|
+
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
16226
|
+
var _data$data;
|
|
16227
|
+
var templastorderobj = _objectSpread$2h({}, lastOrderinfoObj);
|
|
16228
|
+
if ((data === null || data === void 0 || (_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.data) != null) {
|
|
16229
|
+
templastorderobj = data.data;
|
|
16230
|
+
} else {
|
|
16231
|
+
templastorderobj = {
|
|
16232
|
+
status: false
|
|
16233
|
+
};
|
|
16234
|
+
}
|
|
16235
|
+
setlastOrderinfoObj(_objectSpread$2h({}, templastorderobj));
|
|
16236
|
+
}
|
|
16237
|
+
});
|
|
16238
|
+
} else {
|
|
16239
|
+
setlastOrderinfoObj({
|
|
16240
|
+
status: false
|
|
16241
|
+
});
|
|
16242
|
+
}
|
|
16243
|
+
}, []);
|
|
16244
|
+
React.useEffect(function () {
|
|
16245
|
+
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
16246
|
+
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
16247
|
+
if (Array.isArray(logoarrayofobjectsparsed)) {
|
|
16248
|
+
setlogoarrayofobjects(_toConsumableArray__default["default"](logoarrayofobjectsparsed));
|
|
16249
|
+
}
|
|
16250
|
+
}
|
|
16251
|
+
}, [templateproperties_context]);
|
|
16206
16252
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
16207
16253
|
var ordersuccessstyle = {
|
|
16208
16254
|
ordersuccessbtn: glamor.css({
|
|
@@ -16225,13 +16271,13 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
16225
16271
|
}
|
|
16226
16272
|
}),
|
|
16227
16273
|
containerstyle: glamor.css({
|
|
16228
|
-
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
16229
|
-
paddingRight: sectionproperties.paddingRight + 'px',
|
|
16230
|
-
paddingTop: sectionproperties.marginTop + 'px',
|
|
16231
|
-
paddingBottom: sectionproperties.marginBottom + 'px',
|
|
16274
|
+
paddingLeft: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.paddingLeft + 'px' : 0,
|
|
16275
|
+
paddingRight: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.paddingRight + 'px' : 0,
|
|
16276
|
+
paddingTop: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.marginTop + 'px' : 0,
|
|
16277
|
+
paddingBottom: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.marginBottom + 'px' : 0,
|
|
16232
16278
|
background: sectionproperties.outerbgcolor,
|
|
16233
16279
|
'@media (max-width: 800px)': {
|
|
16234
|
-
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
16280
|
+
paddingTop: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.marginTopResp + 'px' : 0
|
|
16235
16281
|
}
|
|
16236
16282
|
})
|
|
16237
16283
|
};
|
|
@@ -16239,12 +16285,235 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
16239
16285
|
className: ordersuccessstyle.containerstyle + ' row ml-0 mr-0 w-100 justify-content-center pl-md-3 pr-md-3 pl-sm-2 pr-sm-2 ',
|
|
16240
16286
|
style: {}
|
|
16241
16287
|
}, IsOrderSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16242
|
-
className
|
|
16288
|
+
// className="col-lg-12 allcentered flex-column d-none "
|
|
16289
|
+
className: sectionproperties.cardstyletype != 'Style 2' ? 'col-lg-12 allcentered flex-column d-none mt-4 mb-4 ' : 'col-lg-12 allcentered flex-column',
|
|
16243
16290
|
style: {
|
|
16244
|
-
minHeight: '50vh',
|
|
16291
|
+
minHeight: sectionproperties.cardstyletype != 'Style 2' ? '50vh' : '',
|
|
16245
16292
|
background: sectionproperties.backgroundColor,
|
|
16246
|
-
borderRadius: '10px'
|
|
16293
|
+
borderRadius: sectionproperties.cardstyletype != 'Style 2' ? '10px' : 0,
|
|
16294
|
+
color: '#000'
|
|
16295
|
+
}
|
|
16296
|
+
}, lastOrderinfoObj != null && lastOrderinfoObj.status && sectionproperties.cardstyletype != 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16297
|
+
"class": "row m-0 w-100 px-5 py-5 px-1025-1 px-md-0",
|
|
16298
|
+
style: {
|
|
16299
|
+
paddingLeft: 200,
|
|
16300
|
+
paddingRight: 200
|
|
16301
|
+
}
|
|
16302
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16303
|
+
"class": "col-12 p-0 text-start mb-4"
|
|
16304
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16305
|
+
"class": ' text-start',
|
|
16306
|
+
style: {
|
|
16307
|
+
width: '15%'
|
|
16308
|
+
}
|
|
16309
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
16310
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
16311
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
16312
|
+
path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
|
|
16313
|
+
style: {
|
|
16314
|
+
maxWidth: '100%',
|
|
16315
|
+
maxHeight: '100%'
|
|
16316
|
+
}
|
|
16317
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16318
|
+
"class": "col-6 col-md-12 text-start border-md-none",
|
|
16319
|
+
style: {
|
|
16320
|
+
borderRight: langdetect == 'en' ? '1px solid #ccc' : '',
|
|
16321
|
+
borderLeft: langdetect == 'ar' ? '1px solid #ccc' : ''
|
|
16322
|
+
}
|
|
16323
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16324
|
+
"class": "row m-0 w-100"
|
|
16325
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16326
|
+
"class": "col-12 p-0 text-start mb-1 font-weight-500",
|
|
16327
|
+
style: {
|
|
16328
|
+
fontSize: 15
|
|
16329
|
+
}
|
|
16330
|
+
}, "Order #", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat === void 0 || (_lastOrderinfoObj$dat = _lastOrderinfoObj$dat.orderinfo) === null || _lastOrderinfoObj$dat === void 0 ? void 0 : _lastOrderinfoObj$dat.orderid), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16331
|
+
"class": "col-12 p-0 text-start mb-4 font-weight-500"
|
|
16332
|
+
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat2 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat2 === void 0 || (_lastOrderinfoObj$dat2 = _lastOrderinfoObj$dat2.orderinfo) === null || _lastOrderinfoObj$dat2 === void 0 ? void 0 : _lastOrderinfoObj$dat2.customername), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16333
|
+
"class": "col-12 p-0 text-start font-weight-500"
|
|
16334
|
+
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16335
|
+
"class": "col-12 p-0 text-start font-weight-500"
|
|
16336
|
+
}, langdetect == 'en' ? 'You’ll receive a confirmation email with your order details shortly.' : 'ستتلقى رسالة تأكيد عبر البريد الإلكتروني تحتوي على تفاصيل طلبك قريبًا.'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16337
|
+
"class": "col-lg-12 p-0 mt-4",
|
|
16338
|
+
style: {
|
|
16339
|
+
border: '1px solid #ccc',
|
|
16340
|
+
borderRadius: 10
|
|
16341
|
+
}
|
|
16342
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16343
|
+
"class": "row m-0 w-100 px-3 py-4"
|
|
16344
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16345
|
+
"class": "col-12 text-start mb-3"
|
|
16346
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16347
|
+
"class": "m-0",
|
|
16348
|
+
style: {
|
|
16349
|
+
fontSize: 16,
|
|
16350
|
+
fontWeight: 600
|
|
16351
|
+
}
|
|
16352
|
+
}, langdetect == 'en' ? 'Order details' : 'تفاصيل الطلب')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16353
|
+
"class": "col-6 col-md-12"
|
|
16354
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16355
|
+
"class": "row m-0 w-100"
|
|
16356
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16357
|
+
"class": "col-12 p-0 text-start mb-2"
|
|
16358
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16359
|
+
"class": "m-0",
|
|
16360
|
+
style: {
|
|
16361
|
+
fontSize: 15,
|
|
16362
|
+
fontWeight: 600
|
|
16363
|
+
}
|
|
16364
|
+
}, langdetect == 'en' ? 'Contact Information' : 'بياتات العميل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16365
|
+
"class": "col-12 p-0 text-start"
|
|
16366
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat3 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat3 === void 0 || (_lastOrderinfoObj$dat3 = _lastOrderinfoObj$dat3.orderinfo) === null || _lastOrderinfoObj$dat3 === void 0 ? void 0 : _lastOrderinfoObj$dat3.customeremail)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16367
|
+
"class": "col-12 p-0 text-start"
|
|
16368
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat4 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat4 === void 0 || (_lastOrderinfoObj$dat4 = _lastOrderinfoObj$dat4.orderinfo) === null || _lastOrderinfoObj$dat4 === void 0 ? void 0 : _lastOrderinfoObj$dat4.customerphonenumber)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16369
|
+
"class": "col-12 p-0 text-start mb-2"
|
|
16370
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16371
|
+
style: {
|
|
16372
|
+
fontSize: 15,
|
|
16373
|
+
fontWeight: 600
|
|
16374
|
+
},
|
|
16375
|
+
"class": "m-0"
|
|
16376
|
+
}, langdetect == 'en' ? 'Shipping address' : 'عنوان الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16377
|
+
"class": "col-12 p-0 text-start"
|
|
16378
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat5 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat5 === void 0 || (_lastOrderinfoObj$dat5 = _lastOrderinfoObj$dat5.orderinfo) === null || _lastOrderinfoObj$dat5 === void 0 ? void 0 : _lastOrderinfoObj$dat5.address)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16379
|
+
"class": "col-6 col-md-12"
|
|
16380
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16381
|
+
"class": "col-12 p-0 text-start mb-2"
|
|
16382
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16383
|
+
style: {
|
|
16384
|
+
fontSize: 15,
|
|
16385
|
+
fontWeight: 600
|
|
16386
|
+
},
|
|
16387
|
+
"class": "m-0"
|
|
16388
|
+
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16389
|
+
"class": "col-12 p-0 text-start"
|
|
16390
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat6 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat6 === void 0 || (_lastOrderinfoObj$dat6 = _lastOrderinfoObj$dat6.orderinfo) === null || _lastOrderinfoObj$dat6 === void 0 ? void 0 : _lastOrderinfoObj$dat6.paymentmethod) == 'cod' ? langdetect == 'en' ? 'Cash on delivery' : 'الدفع عند الاستلام' : lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat7 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat7 === void 0 || (_lastOrderinfoObj$dat7 = _lastOrderinfoObj$dat7.orderinfo) === null || _lastOrderinfoObj$dat7 === void 0 ? void 0 : _lastOrderinfoObj$dat7.paymentmethod))))))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16391
|
+
"class": "col-6 col-md-12 p-md-0"
|
|
16392
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16393
|
+
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
16394
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16395
|
+
"class": "col-lg-12 text-start mb-3"
|
|
16396
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16397
|
+
"class": "m-0 p-0",
|
|
16398
|
+
style: {
|
|
16399
|
+
fontSize: 20,
|
|
16400
|
+
fontWeight: 600
|
|
16401
|
+
}
|
|
16402
|
+
}, langdetect == 'en' ? 'Items Ordered' : 'المنتجات')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16403
|
+
"class": "col-12 p-0"
|
|
16404
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16405
|
+
"class": "row m-0 w-100",
|
|
16406
|
+
style: {
|
|
16407
|
+
maxHeight: '40vh',
|
|
16408
|
+
overflowY: 'scroll'
|
|
16409
|
+
}
|
|
16410
|
+
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat8 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat8 === void 0 ? void 0 : _lastOrderinfoObj$dat8.orderitems.map(function (item, index) {
|
|
16411
|
+
var _lastOrderinfoObj$dat9, _lastOrderinfoObj$dat10;
|
|
16412
|
+
var variantoptions = [];
|
|
16413
|
+
if (item.isvariant == 1) {
|
|
16414
|
+
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
16415
|
+
variantoptions = decodevariantoptions;
|
|
16416
|
+
}
|
|
16417
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16418
|
+
className: "col-lg-12 p-0"
|
|
16419
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16420
|
+
className: "row m-0 w-100 d-flex",
|
|
16421
|
+
style: {
|
|
16422
|
+
fontSize: 15
|
|
16423
|
+
}
|
|
16424
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16425
|
+
className: "col-8 d-flex"
|
|
16426
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16427
|
+
className: "row m-0 w-100"
|
|
16428
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16429
|
+
"class": "col-lg-12 p-0 text-start"
|
|
16430
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16431
|
+
className: ' m-0 p-0 ',
|
|
16432
|
+
style: {
|
|
16433
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
16434
|
+
}
|
|
16435
|
+
}, langdetect == 'en' ? item.productname_en : item.productname_ar)), (item === null || item === void 0 ? void 0 : item.isvariant) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16436
|
+
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
16437
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16438
|
+
"class": "row m-0 w-100"
|
|
16439
|
+
}, variantoptions.map(function (variantitem, variantindex) {
|
|
16440
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16441
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16442
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16443
|
+
className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 font-13 '
|
|
16444
|
+
}, (variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier) != null ? variantitem === null || variantitem === void 0 ? void 0 : variantitem.value_identifier : variantitem === null || variantitem === void 0 ? void 0 : variantitem.optionvalue));
|
|
16445
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16446
|
+
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
16447
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16448
|
+
className: "m-0 p-0 font-weight-500"
|
|
16449
|
+
}, lang.qty, ": ", item.quantity)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16450
|
+
className: "col-4 d-flex text-end"
|
|
16451
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16452
|
+
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
16453
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat9 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat9 === void 0 || (_lastOrderinfoObj$dat9 = _lastOrderinfoObj$dat9.orderinfo) === null || _lastOrderinfoObj$dat9 === void 0 ? void 0 : _lastOrderinfoObj$dat9.currencyname_en : '', " ", item.finalprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat10 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat10 === void 0 || (_lastOrderinfoObj$dat10 = _lastOrderinfoObj$dat10.orderinfo) === null || _lastOrderinfoObj$dat10 === void 0 ? void 0 : _lastOrderinfoObj$dat10.currencyname_ar : '')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16454
|
+
"class": "col-12 my-2"
|
|
16455
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16456
|
+
style: {
|
|
16457
|
+
width: '100%',
|
|
16458
|
+
height: 1,
|
|
16459
|
+
background: '#eee'
|
|
16460
|
+
}
|
|
16461
|
+
}))));
|
|
16462
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16463
|
+
"class": "col-lg-12 p-0 mt-5",
|
|
16464
|
+
style: {
|
|
16465
|
+
fontSize: 16
|
|
16247
16466
|
}
|
|
16467
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16468
|
+
className: "row m-0 w-100 font-weight-600"
|
|
16469
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16470
|
+
"class": "col-6 text-start"
|
|
16471
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16472
|
+
className: "m-0 p-0"
|
|
16473
|
+
}, langdetect == 'en' ? 'Sub total' : 'الاجمالي')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16474
|
+
"class": "col-6 text-end"
|
|
16475
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16476
|
+
className: "m-0 p-0 font-weight-500"
|
|
16477
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat11 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat11 === void 0 || (_lastOrderinfoObj$dat11 = _lastOrderinfoObj$dat11.orderinfo) === null || _lastOrderinfoObj$dat11 === void 0 ? void 0 : _lastOrderinfoObj$dat11.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat12 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat12 === void 0 ? void 0 : _lastOrderinfoObj$dat12.totalitemsprice, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat13 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat13 === void 0 || (_lastOrderinfoObj$dat13 = _lastOrderinfoObj$dat13.orderinfo) === null || _lastOrderinfoObj$dat13 === void 0 ? void 0 : _lastOrderinfoObj$dat13.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16478
|
+
"class": "col-lg-12 p-0 mt-1",
|
|
16479
|
+
style: {
|
|
16480
|
+
fontSize: 16
|
|
16481
|
+
}
|
|
16482
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16483
|
+
className: "row m-0 w-100 font-weight-600"
|
|
16484
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16485
|
+
"class": "col-6 text-start"
|
|
16486
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16487
|
+
className: "m-0 p-0"
|
|
16488
|
+
}, langdetect == 'en' ? 'Shipping' : 'الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16489
|
+
"class": "col-6 text-end"
|
|
16490
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16491
|
+
className: "m-0 p-0 font-weight-500"
|
|
16492
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat14 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat14 === void 0 || (_lastOrderinfoObj$dat14 = _lastOrderinfoObj$dat14.orderinfo) === null || _lastOrderinfoObj$dat14 === void 0 ? void 0 : _lastOrderinfoObj$dat14.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat15 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat15 === void 0 ? void 0 : _lastOrderinfoObj$dat15.ordershippingfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat16 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat16 === void 0 || (_lastOrderinfoObj$dat16 = _lastOrderinfoObj$dat16.orderinfo) === null || _lastOrderinfoObj$dat16 === void 0 ? void 0 : _lastOrderinfoObj$dat16.currencyname_ar : '')))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16493
|
+
"class": "col-lg-12 p-0 my-3"
|
|
16494
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16495
|
+
style: {
|
|
16496
|
+
width: '100%',
|
|
16497
|
+
height: 1,
|
|
16498
|
+
background: '#eee'
|
|
16499
|
+
}
|
|
16500
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16501
|
+
"class": "col-lg-12 p-0 mt-1",
|
|
16502
|
+
style: {
|
|
16503
|
+
fontSize: 16
|
|
16504
|
+
}
|
|
16505
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16506
|
+
className: "row m-0 w-100 font-weight-600"
|
|
16507
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16508
|
+
"class": "col-6 text-start"
|
|
16509
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16510
|
+
className: "m-0 p-0"
|
|
16511
|
+
}, langdetect == 'en' ? 'Total' : 'الاجمالي')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16512
|
+
"class": "col-6 text-end"
|
|
16513
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16514
|
+
className: "m-0 p-0 font-weight-500"
|
|
16515
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat17 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat17 === void 0 || (_lastOrderinfoObj$dat17 = _lastOrderinfoObj$dat17.orderinfo) === null || _lastOrderinfoObj$dat17 === void 0 ? void 0 : _lastOrderinfoObj$dat17.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat18 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat18 === void 0 ? void 0 : _lastOrderinfoObj$dat18.totalorderfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat19 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat19 === void 0 || (_lastOrderinfoObj$dat19 = _lastOrderinfoObj$dat19.orderinfo) === null || _lastOrderinfoObj$dat19 === void 0 ? void 0 : _lastOrderinfoObj$dat19.currencyname_ar : ''))))))), sectionproperties.cardstyletype != 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16516
|
+
className: "col-lg-12 allcentered flex-column "
|
|
16248
16517
|
}, /*#__PURE__*/React__default["default"].createElement(IoBagCheckOutline.IoBagCheckOutline, {
|
|
16249
16518
|
size: sectionproperties.icontextfontsize,
|
|
16250
16519
|
color: sectionproperties.iconcontainercolor,
|
|
@@ -16264,7 +16533,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
16264
16533
|
onClick: function onClick() {
|
|
16265
16534
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
16266
16535
|
}
|
|
16267
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), !IsOrderSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16536
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), !IsOrderSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16268
16537
|
className: "col-lg-12 allcentered flex-column mt-4 mb-4 ",
|
|
16269
16538
|
style: {
|
|
16270
16539
|
minHeight: '50vh',
|
|
@@ -32045,13 +32314,17 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32045
32314
|
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
32046
32315
|
}
|
|
32047
32316
|
}),
|
|
32317
|
+
waicon: glamor.css({
|
|
32318
|
+
color: sectionproperties.floatingwhatsappiconcolor,
|
|
32319
|
+
':hover': {
|
|
32320
|
+
color: sectionproperties.floatingwhatsappiconcoloronhover
|
|
32321
|
+
}
|
|
32322
|
+
}),
|
|
32048
32323
|
fbfloatingicon: glamor.css({
|
|
32049
32324
|
position: 'fixed',
|
|
32050
32325
|
zIndex: 999999,
|
|
32051
32326
|
transition: 'all 0.3s ease-out',
|
|
32052
32327
|
bottom: sectionproperties.floatingfbfrombottom + 'px',
|
|
32053
|
-
right: langdetect == 'en' ? sectionproperties.floatingfbfromright + 'px' : '',
|
|
32054
|
-
left: langdetect == 'en' ? sectionproperties.floatingfbfromright + 'px' : '',
|
|
32055
32328
|
width: sectionproperties.floatingfbiconwidth + 'px',
|
|
32056
32329
|
height: sectionproperties.floatingfbiconheight + 'px',
|
|
32057
32330
|
background: sectionproperties.floatingfbiconbgcolor,
|
|
@@ -32063,13 +32336,17 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32063
32336
|
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
32064
32337
|
}
|
|
32065
32338
|
}),
|
|
32339
|
+
fbfloatingiconen: glamor.css({
|
|
32340
|
+
right: sectionproperties.floatingfbfromright + 'px'
|
|
32341
|
+
}),
|
|
32342
|
+
fbfloatingiconar: glamor.css({
|
|
32343
|
+
left: sectionproperties.floatingfbfromright + 'px'
|
|
32344
|
+
}),
|
|
32066
32345
|
instagramfloatingicon: glamor.css({
|
|
32067
32346
|
position: 'fixed',
|
|
32068
32347
|
zIndex: 999999,
|
|
32069
32348
|
transition: 'all 0.3s ease-out',
|
|
32070
32349
|
bottom: sectionproperties.floatinginstagramfrombottom + 'px',
|
|
32071
|
-
right: langdetect == 'en' ? sectionproperties.floatinginstagramfromright + 'px' : '',
|
|
32072
|
-
left: langdetect == 'en' ? sectionproperties.floatinginstagramfromright + 'px' : '',
|
|
32073
32350
|
width: sectionproperties.floatinginstagramiconwidth + 'px',
|
|
32074
32351
|
height: sectionproperties.floatinginstagramiconheight + 'px',
|
|
32075
32352
|
background: sectionproperties.floatinginstagramiconbgcolor,
|
|
@@ -32080,13 +32357,17 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32080
32357
|
background: sectionproperties.floatinginstagramiconbgcoloronhover
|
|
32081
32358
|
}
|
|
32082
32359
|
}),
|
|
32360
|
+
instagramfloatingiconen: glamor.css({
|
|
32361
|
+
right: sectionproperties.floatinginstagramfromright + 'px'
|
|
32362
|
+
}),
|
|
32363
|
+
instagramfloatingiconar: glamor.css({
|
|
32364
|
+
left: sectionproperties.floatinginstagramfromright + 'px'
|
|
32365
|
+
}),
|
|
32083
32366
|
tiktokfloatingicon: glamor.css({
|
|
32084
32367
|
position: 'fixed',
|
|
32085
32368
|
zIndex: 999999,
|
|
32086
32369
|
transition: 'all 0.3s ease-out',
|
|
32087
32370
|
bottom: sectionproperties.tiktokfloatingiconfrombottom + 'px',
|
|
32088
|
-
right: langdetect == 'en' ? sectionproperties.tiktokfloatingiconfromright + 'px' : '',
|
|
32089
|
-
left: langdetect == 'en' ? sectionproperties.tiktokfloatingiconfromright + 'px' : '',
|
|
32090
32371
|
width: sectionproperties.tiktokfloatingiconiconwidth + 'px',
|
|
32091
32372
|
height: sectionproperties.tiktokfloatingiconheight + 'px',
|
|
32092
32373
|
background: sectionproperties.tiktokfloatingiconbgcolor,
|
|
@@ -32097,11 +32378,15 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32097
32378
|
background: sectionproperties.tiktokfloatingiconbgcoloronhover
|
|
32098
32379
|
}
|
|
32099
32380
|
}),
|
|
32381
|
+
tiktokfloatingiconen: glamor.css({
|
|
32382
|
+
right: sectionproperties.tiktokfloatingiconfromright + 'px'
|
|
32383
|
+
}),
|
|
32384
|
+
tiktokfloatingiconar: glamor.css({
|
|
32385
|
+
left: sectionproperties.tiktokfloatingiconfromright + 'px'
|
|
32386
|
+
}),
|
|
32100
32387
|
floatingbtn: glamor.css({
|
|
32101
32388
|
position: 'fixed',
|
|
32102
32389
|
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
32103
|
-
right: langdetect == 'en' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
32104
|
-
left: langdetect == 'ar' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
32105
32390
|
zIndex: 999999,
|
|
32106
32391
|
transition: 'all 0.3s ease-out',
|
|
32107
32392
|
width: sectionproperties.floatingbtnwidth + 'px',
|
|
@@ -32119,6 +32404,18 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32119
32404
|
// '@media (max-width: 800px)': {
|
|
32120
32405
|
// width: '50%',
|
|
32121
32406
|
// },
|
|
32407
|
+
}),
|
|
32408
|
+
floatingbtnen: glamor.css({
|
|
32409
|
+
right: sectionproperties.floatingbtnfromright + 'px'
|
|
32410
|
+
}),
|
|
32411
|
+
floatingbtnar: glamor.css({
|
|
32412
|
+
left: sectionproperties.floatingbtnfromright + 'px'
|
|
32413
|
+
}),
|
|
32414
|
+
callbtnen: glamor.css({
|
|
32415
|
+
right: sectionproperties.callppositionfromright + 'px'
|
|
32416
|
+
}),
|
|
32417
|
+
callbtnar: glamor.css({
|
|
32418
|
+
left: sectionproperties.callppositionfromright + 'px'
|
|
32122
32419
|
})
|
|
32123
32420
|
};
|
|
32124
32421
|
var whatsappUrl = "https://wa.me/".concat(authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.whatsappnumber, "?text=").concat(sectionproperties.directwabtnmessageen);
|
|
@@ -32128,18 +32425,20 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32128
32425
|
style: {
|
|
32129
32426
|
position: 'relative'
|
|
32130
32427
|
}
|
|
32131
|
-
}, sectionproperties.showfloatingwaicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("
|
|
32428
|
+
}, sectionproperties.showfloatingwaicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32429
|
+
"class": header_cssstyles.floatingwaicon + ' allcentered px-2 py-1 cursor-pointer '
|
|
32430
|
+
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
32132
32431
|
href: langdetect == 'en' ? whatsappUrl : whatsappUrl_ar,
|
|
32133
32432
|
target: "_blank",
|
|
32134
32433
|
rel: "noopener noreferrer",
|
|
32135
32434
|
style: {},
|
|
32136
|
-
"class": header_cssstyles.
|
|
32435
|
+
"class": header_cssstyles.waicon + ' allcentered px-2 py-1 cursor-pointer '
|
|
32137
32436
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
32138
32437
|
size: sectionproperties.floatingwhatsappiconiconfontsize
|
|
32139
32438
|
}), sectionproperties.floatingwhatsappiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
32140
32439
|
"class": langdetect == 'en' ? 'ml-1' : 'mr-1'
|
|
32141
|
-
}, langdetect == 'en' ? sectionproperties.floatingwhatsappicontexten : sectionproperties.floatingwhatsappicontextar)), sectionproperties.showfloatingfbbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32142
|
-
"class": "".concat(header_cssstyles.fbfloatingicon) + ' allcentered cursor-pointer ',
|
|
32440
|
+
}, langdetect == 'en' ? sectionproperties.floatingwhatsappicontexten : sectionproperties.floatingwhatsappicontextar))), sectionproperties.showfloatingfbbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32441
|
+
"class": langdetect == 'en' ? "".concat(header_cssstyles.fbfloatingicon, " ").concat(header_cssstyles.fbfloatingiconen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.fbfloatingicon, " ").concat(header_cssstyles.fbfloatingiconar) + ' allcentered cursor-pointer ',
|
|
32143
32442
|
onClick: function onClick() {
|
|
32144
32443
|
var _authdetailsContext$i3;
|
|
32145
32444
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
|
|
@@ -32150,7 +32449,7 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32150
32449
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebook.FaFacebook, {
|
|
32151
32450
|
size: sectionproperties.floatingfbiconiconsize
|
|
32152
32451
|
})), sectionproperties.instagramfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32153
|
-
"class": "".concat(header_cssstyles.instagramfloatingicon) + ' allcentered cursor-pointer ',
|
|
32452
|
+
"class": langdetect == 'en' ? "".concat(header_cssstyles.instagramfloatingicon, " ").concat(header_cssstyles.instagramfloatingiconen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.instagramfloatingicon, " ").concat(header_cssstyles.instagramfloatingiconar) + ' allcentered cursor-pointer ',
|
|
32154
32453
|
onClick: function onClick() {
|
|
32155
32454
|
var _authdetailsContext$i5;
|
|
32156
32455
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
@@ -32161,7 +32460,7 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32161
32460
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
32162
32461
|
size: sectionproperties.floatinginstagramiconiconsize
|
|
32163
32462
|
})), sectionproperties.tiktonfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32164
|
-
"class": "".concat(header_cssstyles.tiktokfloatingicon) + ' allcentered cursor-pointer ',
|
|
32463
|
+
"class": langdetect == 'en' ? "".concat(header_cssstyles.tiktokfloatingicon, " ").concat(header_cssstyles.tiktokfloatingiconen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.tiktokfloatingicon, " ").concat(header_cssstyles.tiktokfloatingiconar) + ' allcentered cursor-pointer ',
|
|
32165
32464
|
onClick: function onClick() {
|
|
32166
32465
|
var _authdetailsContext$i7;
|
|
32167
32466
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null) {
|
|
@@ -32172,7 +32471,7 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32172
32471
|
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
32173
32472
|
size: sectionproperties.tiktokfloatingiconiconfontsize
|
|
32174
32473
|
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32175
|
-
"class": header_cssstyles.floatingbtn + ' allcentered cursor-pointer ',
|
|
32474
|
+
"class": langdetect == 'en' ? "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnen) + ' allcentered cursor-pointer ' : "".concat(header_cssstyles.floatingbtn, " ").concat(header_cssstyles.floatingbtnar) + ' allcentered cursor-pointer ',
|
|
32176
32475
|
style: {},
|
|
32177
32476
|
onClick: function onClick() {
|
|
32178
32477
|
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
@@ -32210,10 +32509,10 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32210
32509
|
style: {
|
|
32211
32510
|
position: 'fixed',
|
|
32212
32511
|
bottom: sectionproperties.callppositionfrombottom + 'px',
|
|
32213
|
-
right: sectionproperties.callppositionfromright + 'px',
|
|
32214
32512
|
zIndex: 999999,
|
|
32215
32513
|
transition: 'all 0.3s ease-out'
|
|
32216
|
-
}
|
|
32514
|
+
},
|
|
32515
|
+
"class": langdetect == 'en' ? "".concat(header_cssstyles.callbtn, " ").concat(header_cssstyles.callbtnen) : "".concat(header_cssstyles.callbtn, " ").concat(header_cssstyles.callbtnar)
|
|
32217
32516
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
32218
32517
|
"class": langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
|
|
32219
32518
|
}, /*#__PURE__*/React__default["default"].createElement(FiPhone.FiPhone, {
|
|
@@ -68200,7 +68499,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
68200
68499
|
}
|
|
68201
68500
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))));
|
|
68202
68501
|
})), sectionproperties.view_as_slider_vertical == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68203
|
-
"class": "row m-0 w-100"
|
|
68502
|
+
"class": "row m-0 w-100 d-flex justify-content-center"
|
|
68204
68503
|
}, sectionproperties.flippingcards == 'No' && cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
68205
68504
|
var _authdetailsContext$i3, _authdetailsContext$i4;
|
|
68206
68505
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|