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.esm.js
CHANGED
|
@@ -2771,7 +2771,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2771
2771
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2772
2772
|
"class": ' col-lg-12 p-0 '
|
|
2773
2773
|
}, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React.createElement("div", {
|
|
2774
|
-
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-
|
|
2774
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',
|
|
2775
2775
|
style: {
|
|
2776
2776
|
minHeight: sectionproperties.height + 'vh'
|
|
2777
2777
|
}
|
|
@@ -2837,7 +2837,7 @@ var Product_itemtype = function Product_itemtype(props) {
|
|
|
2837
2837
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2838
2838
|
className: 'row m-0 w-100'
|
|
2839
2839
|
}, sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React.createElement("div", {
|
|
2840
|
-
className: sectionproperties.evencols == 'Yes' ? productinfo_cssstyles.evencols + ' col-xl-6 col-lg-6 col-md-12 col-sm-12 mb-md-
|
|
2840
|
+
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'
|
|
2841
2841
|
}, /*#__PURE__*/React.createElement("div", {
|
|
2842
2842
|
className: sectionproperties.maximizegalleryfullscreen == 'Yes' ? ' col-lg-12 p-0 maximize ' : 'col-lg-12 p-0',
|
|
2843
2843
|
style: {
|
|
@@ -11601,13 +11601,13 @@ var Checkout = function Checkout(props) {
|
|
|
11601
11601
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
11602
11602
|
}, /*#__PURE__*/React.createElement("p", {
|
|
11603
11603
|
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
11604
|
-
}, 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.createElement("div", {
|
|
11604
|
+
}, 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.createElement("div", {
|
|
11605
11605
|
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
11606
11606
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11607
11607
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
11608
11608
|
}, /*#__PURE__*/React.createElement("p", {
|
|
11609
11609
|
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
11610
|
-
}, 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.createElement("div", {
|
|
11610
|
+
}, 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.createElement("div", {
|
|
11611
11611
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
11612
11612
|
}, /*#__PURE__*/React.createElement("p", {
|
|
11613
11613
|
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 '
|
|
@@ -16075,32 +16075,44 @@ var Categoriesdropdown = function Categoriesdropdown(props) {
|
|
|
16075
16075
|
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; }
|
|
16076
16076
|
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(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; }
|
|
16077
16077
|
var OrderSuccess = function OrderSuccess(props) {
|
|
16078
|
-
var _props$actions2;
|
|
16079
|
-
props.actions.lang;
|
|
16078
|
+
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;
|
|
16079
|
+
var lang = props.actions.lang;
|
|
16080
16080
|
var langdetect = props.actions.langdetect;
|
|
16081
16081
|
var routingcountext = props.actions.routingcountext;
|
|
16082
16082
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
16083
16083
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
16084
16084
|
var uselocation = props.actions.uselocation;
|
|
16085
|
-
props.actions.ikimagecredcontext;
|
|
16085
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
16086
|
+
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
16086
16087
|
var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
16087
|
-
|
|
16088
|
+
props.actions.fetchorderhistoryQueryContext;
|
|
16089
|
+
var _useState = useState(null),
|
|
16088
16090
|
_useState2 = _slicedToArray(_useState, 2),
|
|
16089
|
-
|
|
16090
|
-
|
|
16091
|
-
var _useState3 = useState(
|
|
16091
|
+
lastOrderinfoObj = _useState2[0],
|
|
16092
|
+
setlastOrderinfoObj = _useState2[1];
|
|
16093
|
+
var _useState3 = useState(false),
|
|
16092
16094
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
16093
|
-
|
|
16094
|
-
|
|
16095
|
+
IsOrderSuccess = _useState4[0],
|
|
16096
|
+
setIsOrderSuccess = _useState4[1];
|
|
16095
16097
|
var _useState5 = useState(''),
|
|
16096
16098
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
16097
|
-
|
|
16098
|
-
|
|
16099
|
+
ReasonFail = _useState6[0],
|
|
16100
|
+
setReasonFail = _useState6[1];
|
|
16099
16101
|
var _useState7 = useState(''),
|
|
16100
|
-
_useState8 = _slicedToArray(_useState7, 2)
|
|
16101
|
-
_useState8[0]
|
|
16102
|
-
|
|
16102
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
16103
|
+
sectionproperties = _useState8[0],
|
|
16104
|
+
setsectionproperties = _useState8[1];
|
|
16105
|
+
var _useState9 = useState(''),
|
|
16106
|
+
_useState10 = _slicedToArray(_useState9, 2);
|
|
16107
|
+
_useState10[0];
|
|
16108
|
+
var setCurrentPageId = _useState10[1];
|
|
16103
16109
|
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
16110
|
+
var _useState11 = useState([]),
|
|
16111
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
16112
|
+
logoarrayofobjects = _useState12[0],
|
|
16113
|
+
setlogoarrayofobjects = _useState12[1];
|
|
16114
|
+
var templateproperties_context = props.actions.templateproperties_context;
|
|
16115
|
+
|
|
16104
16116
|
// useEffect(() => {
|
|
16105
16117
|
// const query = new URLSearchParams(uselocation.search);
|
|
16106
16118
|
// var issuccess = query.get('status');
|
|
@@ -16154,6 +16166,40 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
16154
16166
|
});
|
|
16155
16167
|
setsectionproperties(_objectSpread$2h({}, secpropobj));
|
|
16156
16168
|
}, [props === null || props === void 0 || (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
16169
|
+
useEffect(function () {
|
|
16170
|
+
var query = new URLSearchParams(uselocation.search);
|
|
16171
|
+
var order_id = query.get('order_id');
|
|
16172
|
+
if (order_id != undefined && order_id != null && order_id.length != 0) {
|
|
16173
|
+
GeneralAPIMutationContext.mutate({
|
|
16174
|
+
endpointurl: '/p_fetchorderinformation',
|
|
16175
|
+
orderid: order_id,
|
|
16176
|
+
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
16177
|
+
var _data$data;
|
|
16178
|
+
var templastorderobj = _objectSpread$2h({}, lastOrderinfoObj);
|
|
16179
|
+
if ((data === null || data === void 0 || (_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.data) != null) {
|
|
16180
|
+
templastorderobj = data.data;
|
|
16181
|
+
} else {
|
|
16182
|
+
templastorderobj = {
|
|
16183
|
+
status: false
|
|
16184
|
+
};
|
|
16185
|
+
}
|
|
16186
|
+
setlastOrderinfoObj(_objectSpread$2h({}, templastorderobj));
|
|
16187
|
+
}
|
|
16188
|
+
});
|
|
16189
|
+
} else {
|
|
16190
|
+
setlastOrderinfoObj({
|
|
16191
|
+
status: false
|
|
16192
|
+
});
|
|
16193
|
+
}
|
|
16194
|
+
}, []);
|
|
16195
|
+
useEffect(function () {
|
|
16196
|
+
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
16197
|
+
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
16198
|
+
if (Array.isArray(logoarrayofobjectsparsed)) {
|
|
16199
|
+
setlogoarrayofobjects(_toConsumableArray(logoarrayofobjectsparsed));
|
|
16200
|
+
}
|
|
16201
|
+
}
|
|
16202
|
+
}, [templateproperties_context]);
|
|
16157
16203
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
16158
16204
|
var ordersuccessstyle = {
|
|
16159
16205
|
ordersuccessbtn: css({
|
|
@@ -16176,13 +16222,13 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
16176
16222
|
}
|
|
16177
16223
|
}),
|
|
16178
16224
|
containerstyle: css({
|
|
16179
|
-
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
16180
|
-
paddingRight: sectionproperties.paddingRight + 'px',
|
|
16181
|
-
paddingTop: sectionproperties.marginTop + 'px',
|
|
16182
|
-
paddingBottom: sectionproperties.marginBottom + 'px',
|
|
16225
|
+
paddingLeft: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.paddingLeft + 'px' : 0,
|
|
16226
|
+
paddingRight: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.paddingRight + 'px' : 0,
|
|
16227
|
+
paddingTop: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.marginTop + 'px' : 0,
|
|
16228
|
+
paddingBottom: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.marginBottom + 'px' : 0,
|
|
16183
16229
|
background: sectionproperties.outerbgcolor,
|
|
16184
16230
|
'@media (max-width: 800px)': {
|
|
16185
|
-
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
16231
|
+
paddingTop: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.marginTopResp + 'px' : 0
|
|
16186
16232
|
}
|
|
16187
16233
|
})
|
|
16188
16234
|
};
|
|
@@ -16190,12 +16236,235 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
16190
16236
|
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 ',
|
|
16191
16237
|
style: {}
|
|
16192
16238
|
}, IsOrderSuccess && /*#__PURE__*/React.createElement("div", {
|
|
16193
|
-
className
|
|
16239
|
+
// className="col-lg-12 allcentered flex-column d-none "
|
|
16240
|
+
className: sectionproperties.cardstyletype != 'Style 2' ? 'col-lg-12 allcentered flex-column d-none mt-4 mb-4 ' : 'col-lg-12 allcentered flex-column',
|
|
16194
16241
|
style: {
|
|
16195
|
-
minHeight: '50vh',
|
|
16242
|
+
minHeight: sectionproperties.cardstyletype != 'Style 2' ? '50vh' : '',
|
|
16196
16243
|
background: sectionproperties.backgroundColor,
|
|
16197
|
-
borderRadius: '10px'
|
|
16244
|
+
borderRadius: sectionproperties.cardstyletype != 'Style 2' ? '10px' : 0,
|
|
16245
|
+
color: '#000'
|
|
16246
|
+
}
|
|
16247
|
+
}, lastOrderinfoObj != null && lastOrderinfoObj.status && sectionproperties.cardstyletype != 'Style 2' && /*#__PURE__*/React.createElement("div", {
|
|
16248
|
+
"class": "row m-0 w-100 px-5 py-5 px-1025-1 px-md-0",
|
|
16249
|
+
style: {
|
|
16250
|
+
paddingLeft: 200,
|
|
16251
|
+
paddingRight: 200
|
|
16252
|
+
}
|
|
16253
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16254
|
+
"class": "col-12 p-0 text-start mb-4"
|
|
16255
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16256
|
+
"class": ' text-start',
|
|
16257
|
+
style: {
|
|
16258
|
+
width: '15%'
|
|
16259
|
+
}
|
|
16260
|
+
}, /*#__PURE__*/React.createElement(Imagekitimagecomp, {
|
|
16261
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
16262
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
16263
|
+
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,
|
|
16264
|
+
style: {
|
|
16265
|
+
maxWidth: '100%',
|
|
16266
|
+
maxHeight: '100%'
|
|
16267
|
+
}
|
|
16268
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
16269
|
+
"class": "col-6 col-md-12 text-start border-md-none",
|
|
16270
|
+
style: {
|
|
16271
|
+
borderRight: langdetect == 'en' ? '1px solid #ccc' : '',
|
|
16272
|
+
borderLeft: langdetect == 'ar' ? '1px solid #ccc' : ''
|
|
16273
|
+
}
|
|
16274
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16275
|
+
"class": "row m-0 w-100"
|
|
16276
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16277
|
+
"class": "col-12 p-0 text-start mb-1 font-weight-500",
|
|
16278
|
+
style: {
|
|
16279
|
+
fontSize: 15
|
|
16280
|
+
}
|
|
16281
|
+
}, "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.createElement("div", {
|
|
16282
|
+
"class": "col-12 p-0 text-start mb-4 font-weight-500"
|
|
16283
|
+
}, 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.createElement("div", {
|
|
16284
|
+
"class": "col-12 p-0 text-start font-weight-500"
|
|
16285
|
+
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React.createElement("div", {
|
|
16286
|
+
"class": "col-12 p-0 text-start font-weight-500"
|
|
16287
|
+
}, langdetect == 'en' ? 'You’ll receive a confirmation email with your order details shortly.' : 'ستتلقى رسالة تأكيد عبر البريد الإلكتروني تحتوي على تفاصيل طلبك قريبًا.'), /*#__PURE__*/React.createElement("div", {
|
|
16288
|
+
"class": "col-lg-12 p-0 mt-4",
|
|
16289
|
+
style: {
|
|
16290
|
+
border: '1px solid #ccc',
|
|
16291
|
+
borderRadius: 10
|
|
16292
|
+
}
|
|
16293
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16294
|
+
"class": "row m-0 w-100 px-3 py-4"
|
|
16295
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16296
|
+
"class": "col-12 text-start mb-3"
|
|
16297
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16298
|
+
"class": "m-0",
|
|
16299
|
+
style: {
|
|
16300
|
+
fontSize: 16,
|
|
16301
|
+
fontWeight: 600
|
|
16302
|
+
}
|
|
16303
|
+
}, langdetect == 'en' ? 'Order details' : 'تفاصيل الطلب')), /*#__PURE__*/React.createElement("div", {
|
|
16304
|
+
"class": "col-6 col-md-12"
|
|
16305
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16306
|
+
"class": "row m-0 w-100"
|
|
16307
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16308
|
+
"class": "col-12 p-0 text-start mb-2"
|
|
16309
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16310
|
+
"class": "m-0",
|
|
16311
|
+
style: {
|
|
16312
|
+
fontSize: 15,
|
|
16313
|
+
fontWeight: 600
|
|
16314
|
+
}
|
|
16315
|
+
}, langdetect == 'en' ? 'Contact Information' : 'بياتات العميل')), /*#__PURE__*/React.createElement("div", {
|
|
16316
|
+
"class": "col-12 p-0 text-start"
|
|
16317
|
+
}, /*#__PURE__*/React.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.createElement("div", {
|
|
16318
|
+
"class": "col-12 p-0 text-start"
|
|
16319
|
+
}, /*#__PURE__*/React.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.createElement("div", {
|
|
16320
|
+
"class": "col-12 p-0 text-start mb-2"
|
|
16321
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16322
|
+
style: {
|
|
16323
|
+
fontSize: 15,
|
|
16324
|
+
fontWeight: 600
|
|
16325
|
+
},
|
|
16326
|
+
"class": "m-0"
|
|
16327
|
+
}, langdetect == 'en' ? 'Shipping address' : 'عنوان الشحن')), /*#__PURE__*/React.createElement("div", {
|
|
16328
|
+
"class": "col-12 p-0 text-start"
|
|
16329
|
+
}, /*#__PURE__*/React.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.createElement("div", {
|
|
16330
|
+
"class": "col-6 col-md-12"
|
|
16331
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16332
|
+
"class": "col-12 p-0 text-start mb-2"
|
|
16333
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16334
|
+
style: {
|
|
16335
|
+
fontSize: 15,
|
|
16336
|
+
fontWeight: 600
|
|
16337
|
+
},
|
|
16338
|
+
"class": "m-0"
|
|
16339
|
+
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع')), /*#__PURE__*/React.createElement("div", {
|
|
16340
|
+
"class": "col-12 p-0 text-start"
|
|
16341
|
+
}, /*#__PURE__*/React.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.createElement("div", {
|
|
16342
|
+
"class": "col-6 col-md-12 p-md-0"
|
|
16343
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16344
|
+
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
16345
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16346
|
+
"class": "col-lg-12 text-start mb-3"
|
|
16347
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16348
|
+
"class": "m-0 p-0",
|
|
16349
|
+
style: {
|
|
16350
|
+
fontSize: 20,
|
|
16351
|
+
fontWeight: 600
|
|
16352
|
+
}
|
|
16353
|
+
}, langdetect == 'en' ? 'Items Ordered' : 'المنتجات')), /*#__PURE__*/React.createElement("div", {
|
|
16354
|
+
"class": "col-12 p-0"
|
|
16355
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16356
|
+
"class": "row m-0 w-100",
|
|
16357
|
+
style: {
|
|
16358
|
+
maxHeight: '40vh',
|
|
16359
|
+
overflowY: 'scroll'
|
|
16360
|
+
}
|
|
16361
|
+
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat8 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat8 === void 0 ? void 0 : _lastOrderinfoObj$dat8.orderitems.map(function (item, index) {
|
|
16362
|
+
var _lastOrderinfoObj$dat9, _lastOrderinfoObj$dat10;
|
|
16363
|
+
var variantoptions = [];
|
|
16364
|
+
if (item.isvariant == 1) {
|
|
16365
|
+
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
16366
|
+
variantoptions = decodevariantoptions;
|
|
16367
|
+
}
|
|
16368
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
16369
|
+
className: "col-lg-12 p-0"
|
|
16370
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16371
|
+
className: "row m-0 w-100 d-flex",
|
|
16372
|
+
style: {
|
|
16373
|
+
fontSize: 15
|
|
16374
|
+
}
|
|
16375
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16376
|
+
className: "col-8 d-flex"
|
|
16377
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16378
|
+
className: "row m-0 w-100"
|
|
16379
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16380
|
+
"class": "col-lg-12 p-0 text-start"
|
|
16381
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16382
|
+
className: ' m-0 p-0 ',
|
|
16383
|
+
style: {
|
|
16384
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
16385
|
+
}
|
|
16386
|
+
}, langdetect == 'en' ? item.productname_en : item.productname_ar)), (item === null || item === void 0 ? void 0 : item.isvariant) == 1 && /*#__PURE__*/React.createElement("div", {
|
|
16387
|
+
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
16388
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16389
|
+
"class": "row m-0 w-100"
|
|
16390
|
+
}, variantoptions.map(function (variantitem, variantindex) {
|
|
16391
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
16392
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16393
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16394
|
+
className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 font-13 '
|
|
16395
|
+
}, (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));
|
|
16396
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
16397
|
+
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
16398
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16399
|
+
className: "m-0 p-0 font-weight-500"
|
|
16400
|
+
}, lang.qty, ": ", item.quantity)))), /*#__PURE__*/React.createElement("div", {
|
|
16401
|
+
className: "col-4 d-flex text-end"
|
|
16402
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16403
|
+
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
16404
|
+
}, 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.createElement("div", {
|
|
16405
|
+
"class": "col-12 my-2"
|
|
16406
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16407
|
+
style: {
|
|
16408
|
+
width: '100%',
|
|
16409
|
+
height: 1,
|
|
16410
|
+
background: '#eee'
|
|
16411
|
+
}
|
|
16412
|
+
}))));
|
|
16413
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
16414
|
+
"class": "col-lg-12 p-0 mt-5",
|
|
16415
|
+
style: {
|
|
16416
|
+
fontSize: 16
|
|
16198
16417
|
}
|
|
16418
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16419
|
+
className: "row m-0 w-100 font-weight-600"
|
|
16420
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16421
|
+
"class": "col-6 text-start"
|
|
16422
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16423
|
+
className: "m-0 p-0"
|
|
16424
|
+
}, langdetect == 'en' ? 'Sub total' : 'الاجمالي')), /*#__PURE__*/React.createElement("div", {
|
|
16425
|
+
"class": "col-6 text-end"
|
|
16426
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16427
|
+
className: "m-0 p-0 font-weight-500"
|
|
16428
|
+
}, 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.createElement("div", {
|
|
16429
|
+
"class": "col-lg-12 p-0 mt-1",
|
|
16430
|
+
style: {
|
|
16431
|
+
fontSize: 16
|
|
16432
|
+
}
|
|
16433
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16434
|
+
className: "row m-0 w-100 font-weight-600"
|
|
16435
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16436
|
+
"class": "col-6 text-start"
|
|
16437
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16438
|
+
className: "m-0 p-0"
|
|
16439
|
+
}, langdetect == 'en' ? 'Shipping' : 'الشحن')), /*#__PURE__*/React.createElement("div", {
|
|
16440
|
+
"class": "col-6 text-end"
|
|
16441
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16442
|
+
className: "m-0 p-0 font-weight-500"
|
|
16443
|
+
}, 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.createElement("div", {
|
|
16444
|
+
"class": "col-lg-12 p-0 my-3"
|
|
16445
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16446
|
+
style: {
|
|
16447
|
+
width: '100%',
|
|
16448
|
+
height: 1,
|
|
16449
|
+
background: '#eee'
|
|
16450
|
+
}
|
|
16451
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
16452
|
+
"class": "col-lg-12 p-0 mt-1",
|
|
16453
|
+
style: {
|
|
16454
|
+
fontSize: 16
|
|
16455
|
+
}
|
|
16456
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16457
|
+
className: "row m-0 w-100 font-weight-600"
|
|
16458
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
16459
|
+
"class": "col-6 text-start"
|
|
16460
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16461
|
+
className: "m-0 p-0"
|
|
16462
|
+
}, langdetect == 'en' ? 'Total' : 'الاجمالي')), /*#__PURE__*/React.createElement("div", {
|
|
16463
|
+
"class": "col-6 text-end"
|
|
16464
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
16465
|
+
className: "m-0 p-0 font-weight-500"
|
|
16466
|
+
}, 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.createElement("div", {
|
|
16467
|
+
className: "col-lg-12 allcentered flex-column "
|
|
16199
16468
|
}, /*#__PURE__*/React.createElement(IoBagCheckOutline, {
|
|
16200
16469
|
size: sectionproperties.icontextfontsize,
|
|
16201
16470
|
color: sectionproperties.iconcontainercolor,
|
|
@@ -16215,7 +16484,7 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
16215
16484
|
onClick: function onClick() {
|
|
16216
16485
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
16217
16486
|
}
|
|
16218
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), !IsOrderSuccess && /*#__PURE__*/React.createElement("div", {
|
|
16487
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), !IsOrderSuccess && /*#__PURE__*/React.createElement("div", {
|
|
16219
16488
|
className: "col-lg-12 allcentered flex-column mt-4 mb-4 ",
|
|
16220
16489
|
style: {
|
|
16221
16490
|
minHeight: '50vh',
|
|
@@ -31996,13 +32265,17 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
31996
32265
|
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
31997
32266
|
}
|
|
31998
32267
|
}),
|
|
32268
|
+
waicon: css({
|
|
32269
|
+
color: sectionproperties.floatingwhatsappiconcolor,
|
|
32270
|
+
':hover': {
|
|
32271
|
+
color: sectionproperties.floatingwhatsappiconcoloronhover
|
|
32272
|
+
}
|
|
32273
|
+
}),
|
|
31999
32274
|
fbfloatingicon: css({
|
|
32000
32275
|
position: 'fixed',
|
|
32001
32276
|
zIndex: 999999,
|
|
32002
32277
|
transition: 'all 0.3s ease-out',
|
|
32003
32278
|
bottom: sectionproperties.floatingfbfrombottom + 'px',
|
|
32004
|
-
right: langdetect == 'en' ? sectionproperties.floatingfbfromright + 'px' : '',
|
|
32005
|
-
left: langdetect == 'en' ? sectionproperties.floatingfbfromright + 'px' : '',
|
|
32006
32279
|
width: sectionproperties.floatingfbiconwidth + 'px',
|
|
32007
32280
|
height: sectionproperties.floatingfbiconheight + 'px',
|
|
32008
32281
|
background: sectionproperties.floatingfbiconbgcolor,
|
|
@@ -32014,13 +32287,17 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32014
32287
|
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
32015
32288
|
}
|
|
32016
32289
|
}),
|
|
32290
|
+
fbfloatingiconen: css({
|
|
32291
|
+
right: sectionproperties.floatingfbfromright + 'px'
|
|
32292
|
+
}),
|
|
32293
|
+
fbfloatingiconar: css({
|
|
32294
|
+
left: sectionproperties.floatingfbfromright + 'px'
|
|
32295
|
+
}),
|
|
32017
32296
|
instagramfloatingicon: css({
|
|
32018
32297
|
position: 'fixed',
|
|
32019
32298
|
zIndex: 999999,
|
|
32020
32299
|
transition: 'all 0.3s ease-out',
|
|
32021
32300
|
bottom: sectionproperties.floatinginstagramfrombottom + 'px',
|
|
32022
|
-
right: langdetect == 'en' ? sectionproperties.floatinginstagramfromright + 'px' : '',
|
|
32023
|
-
left: langdetect == 'en' ? sectionproperties.floatinginstagramfromright + 'px' : '',
|
|
32024
32301
|
width: sectionproperties.floatinginstagramiconwidth + 'px',
|
|
32025
32302
|
height: sectionproperties.floatinginstagramiconheight + 'px',
|
|
32026
32303
|
background: sectionproperties.floatinginstagramiconbgcolor,
|
|
@@ -32031,13 +32308,17 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32031
32308
|
background: sectionproperties.floatinginstagramiconbgcoloronhover
|
|
32032
32309
|
}
|
|
32033
32310
|
}),
|
|
32311
|
+
instagramfloatingiconen: css({
|
|
32312
|
+
right: sectionproperties.floatinginstagramfromright + 'px'
|
|
32313
|
+
}),
|
|
32314
|
+
instagramfloatingiconar: css({
|
|
32315
|
+
left: sectionproperties.floatinginstagramfromright + 'px'
|
|
32316
|
+
}),
|
|
32034
32317
|
tiktokfloatingicon: css({
|
|
32035
32318
|
position: 'fixed',
|
|
32036
32319
|
zIndex: 999999,
|
|
32037
32320
|
transition: 'all 0.3s ease-out',
|
|
32038
32321
|
bottom: sectionproperties.tiktokfloatingiconfrombottom + 'px',
|
|
32039
|
-
right: langdetect == 'en' ? sectionproperties.tiktokfloatingiconfromright + 'px' : '',
|
|
32040
|
-
left: langdetect == 'en' ? sectionproperties.tiktokfloatingiconfromright + 'px' : '',
|
|
32041
32322
|
width: sectionproperties.tiktokfloatingiconiconwidth + 'px',
|
|
32042
32323
|
height: sectionproperties.tiktokfloatingiconheight + 'px',
|
|
32043
32324
|
background: sectionproperties.tiktokfloatingiconbgcolor,
|
|
@@ -32048,11 +32329,15 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32048
32329
|
background: sectionproperties.tiktokfloatingiconbgcoloronhover
|
|
32049
32330
|
}
|
|
32050
32331
|
}),
|
|
32332
|
+
tiktokfloatingiconen: css({
|
|
32333
|
+
right: sectionproperties.tiktokfloatingiconfromright + 'px'
|
|
32334
|
+
}),
|
|
32335
|
+
tiktokfloatingiconar: css({
|
|
32336
|
+
left: sectionproperties.tiktokfloatingiconfromright + 'px'
|
|
32337
|
+
}),
|
|
32051
32338
|
floatingbtn: css({
|
|
32052
32339
|
position: 'fixed',
|
|
32053
32340
|
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
32054
|
-
right: langdetect == 'en' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
32055
|
-
left: langdetect == 'ar' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
32056
32341
|
zIndex: 999999,
|
|
32057
32342
|
transition: 'all 0.3s ease-out',
|
|
32058
32343
|
width: sectionproperties.floatingbtnwidth + 'px',
|
|
@@ -32070,6 +32355,18 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32070
32355
|
// '@media (max-width: 800px)': {
|
|
32071
32356
|
// width: '50%',
|
|
32072
32357
|
// },
|
|
32358
|
+
}),
|
|
32359
|
+
floatingbtnen: css({
|
|
32360
|
+
right: sectionproperties.floatingbtnfromright + 'px'
|
|
32361
|
+
}),
|
|
32362
|
+
floatingbtnar: css({
|
|
32363
|
+
left: sectionproperties.floatingbtnfromright + 'px'
|
|
32364
|
+
}),
|
|
32365
|
+
callbtnen: css({
|
|
32366
|
+
right: sectionproperties.callppositionfromright + 'px'
|
|
32367
|
+
}),
|
|
32368
|
+
callbtnar: css({
|
|
32369
|
+
left: sectionproperties.callppositionfromright + 'px'
|
|
32073
32370
|
})
|
|
32074
32371
|
};
|
|
32075
32372
|
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);
|
|
@@ -32079,18 +32376,20 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32079
32376
|
style: {
|
|
32080
32377
|
position: 'relative'
|
|
32081
32378
|
}
|
|
32082
|
-
}, sectionproperties.showfloatingwaicon == 'Show' && /*#__PURE__*/React.createElement("
|
|
32379
|
+
}, sectionproperties.showfloatingwaicon == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
32380
|
+
"class": header_cssstyles.floatingwaicon + ' allcentered px-2 py-1 cursor-pointer '
|
|
32381
|
+
}, /*#__PURE__*/React.createElement("a", {
|
|
32083
32382
|
href: langdetect == 'en' ? whatsappUrl : whatsappUrl_ar,
|
|
32084
32383
|
target: "_blank",
|
|
32085
32384
|
rel: "noopener noreferrer",
|
|
32086
32385
|
style: {},
|
|
32087
|
-
"class": header_cssstyles.
|
|
32386
|
+
"class": header_cssstyles.waicon + ' allcentered px-2 py-1 cursor-pointer '
|
|
32088
32387
|
}, /*#__PURE__*/React.createElement(FaWhatsapp, {
|
|
32089
32388
|
size: sectionproperties.floatingwhatsappiconiconfontsize
|
|
32090
32389
|
}), sectionproperties.floatingwhatsappiconfontsize != 0 && /*#__PURE__*/React.createElement("span", {
|
|
32091
32390
|
"class": langdetect == 'en' ? 'ml-1' : 'mr-1'
|
|
32092
|
-
}, langdetect == 'en' ? sectionproperties.floatingwhatsappicontexten : sectionproperties.floatingwhatsappicontextar)), sectionproperties.showfloatingfbbtn == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
32093
|
-
"class": "".concat(header_cssstyles.fbfloatingicon) + ' allcentered cursor-pointer ',
|
|
32391
|
+
}, langdetect == 'en' ? sectionproperties.floatingwhatsappicontexten : sectionproperties.floatingwhatsappicontextar))), sectionproperties.showfloatingfbbtn == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
32392
|
+
"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 ',
|
|
32094
32393
|
onClick: function onClick() {
|
|
32095
32394
|
var _authdetailsContext$i3;
|
|
32096
32395
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
|
|
@@ -32101,7 +32400,7 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32101
32400
|
}, /*#__PURE__*/React.createElement(FaFacebook, {
|
|
32102
32401
|
size: sectionproperties.floatingfbiconiconsize
|
|
32103
32402
|
})), sectionproperties.instagramfloatingbtnshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
32104
|
-
"class": "".concat(header_cssstyles.instagramfloatingicon) + ' allcentered cursor-pointer ',
|
|
32403
|
+
"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 ',
|
|
32105
32404
|
onClick: function onClick() {
|
|
32106
32405
|
var _authdetailsContext$i5;
|
|
32107
32406
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
@@ -32112,7 +32411,7 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32112
32411
|
}, /*#__PURE__*/React.createElement(AiFillInstagram, {
|
|
32113
32412
|
size: sectionproperties.floatinginstagramiconiconsize
|
|
32114
32413
|
})), sectionproperties.tiktonfloatingbtnshow == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
32115
|
-
"class": "".concat(header_cssstyles.tiktokfloatingicon) + ' allcentered cursor-pointer ',
|
|
32414
|
+
"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 ',
|
|
32116
32415
|
onClick: function onClick() {
|
|
32117
32416
|
var _authdetailsContext$i7;
|
|
32118
32417
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null) {
|
|
@@ -32123,7 +32422,7 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32123
32422
|
}, /*#__PURE__*/React.createElement(IoLogoTiktok, {
|
|
32124
32423
|
size: sectionproperties.tiktokfloatingiconiconfontsize
|
|
32125
32424
|
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React.createElement("div", {
|
|
32126
|
-
"class": header_cssstyles.floatingbtn + ' allcentered cursor-pointer ',
|
|
32425
|
+
"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 ',
|
|
32127
32426
|
style: {},
|
|
32128
32427
|
onClick: function onClick() {
|
|
32129
32428
|
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
@@ -32161,10 +32460,10 @@ var FloatingIcons = function FloatingIcons(props) {
|
|
|
32161
32460
|
style: {
|
|
32162
32461
|
position: 'fixed',
|
|
32163
32462
|
bottom: sectionproperties.callppositionfrombottom + 'px',
|
|
32164
|
-
right: sectionproperties.callppositionfromright + 'px',
|
|
32165
32463
|
zIndex: 999999,
|
|
32166
32464
|
transition: 'all 0.3s ease-out'
|
|
32167
|
-
}
|
|
32465
|
+
},
|
|
32466
|
+
"class": langdetect == 'en' ? "".concat(header_cssstyles.callbtn, " ").concat(header_cssstyles.callbtnen) : "".concat(header_cssstyles.callbtn, " ").concat(header_cssstyles.callbtnar)
|
|
32168
32467
|
}, /*#__PURE__*/React.createElement("i", {
|
|
32169
32468
|
"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'
|
|
32170
32469
|
}, /*#__PURE__*/React.createElement(FiPhone, {
|
|
@@ -68151,7 +68450,7 @@ var ServicesectionCenteredcards = function ServicesectionCenteredcards(props) {
|
|
|
68151
68450
|
}
|
|
68152
68451
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))));
|
|
68153
68452
|
})), sectionproperties.view_as_slider_vertical == 'Vertical' && /*#__PURE__*/React.createElement("div", {
|
|
68154
|
-
"class": "row m-0 w-100"
|
|
68453
|
+
"class": "row m-0 w-100 d-flex justify-content-center"
|
|
68155
68454
|
}, sectionproperties.flippingcards == 'No' && cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
68156
68455
|
var _authdetailsContext$i3, _authdetailsContext$i4;
|
|
68157
68456
|
return /*#__PURE__*/React.createElement("div", {
|