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.umd.js
CHANGED
|
@@ -2635,7 +2635,7 @@
|
|
|
2635
2635
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2636
2636
|
"class": ' col-lg-12 p-0 '
|
|
2637
2637
|
}, Object.keys(sectionproperties).length != 0 && sectionproperties.productInformationType == 'Product/Service Information' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2638
|
-
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-
|
|
2638
|
+
"class": "".concat(productinfo_cssstyles.cardcontainer) + ' row ml-0 mr-0 w-100 pl-md-2 pr-md-2 px-1025-1 ',
|
|
2639
2639
|
style: {
|
|
2640
2640
|
minHeight: sectionproperties.height + 'vh'
|
|
2641
2641
|
}
|
|
@@ -2701,7 +2701,7 @@
|
|
|
2701
2701
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2702
2702
|
className: 'row m-0 w-100'
|
|
2703
2703
|
}, sectionproperties.gallerystyle == 'Style 1' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2704
|
-
className: sectionproperties.evencols == 'Yes' ? productinfo_cssstyles.evencols + ' col-xl-6 col-lg-6 col-md-12 col-sm-12 mb-md-
|
|
2704
|
+
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'
|
|
2705
2705
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2706
2706
|
className: sectionproperties.maximizegalleryfullscreen == 'Yes' ? ' col-lg-12 p-0 maximize ' : 'col-lg-12 p-0',
|
|
2707
2707
|
style: {
|
|
@@ -11465,13 +11465,13 @@
|
|
|
11465
11465
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
11466
11466
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11467
11467
|
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
11468
|
-
}, 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", {
|
|
11468
|
+
}, 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", {
|
|
11469
11469
|
className: "row m-0 w-100 d-flex flex-column justify-content-end"
|
|
11470
11470
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
11471
11471
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
11472
11472
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11473
11473
|
className: langdetect == 'en' ? "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-right ' : "".concat(checkoutstyles.productPricestyles) + ' m-0 p-0 wordbreak text-left '
|
|
11474
|
-
}, 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", {
|
|
11474
|
+
}, 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", {
|
|
11475
11475
|
className: "col-lg-12 p-0 d-flex justify-content-end"
|
|
11476
11476
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
11477
11477
|
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 '
|
|
@@ -15939,32 +15939,44 @@
|
|
|
15939
15939
|
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; }
|
|
15940
15940
|
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; }
|
|
15941
15941
|
var OrderSuccess = function OrderSuccess(props) {
|
|
15942
|
-
var _props$actions2;
|
|
15943
|
-
props.actions.lang;
|
|
15942
|
+
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;
|
|
15943
|
+
var lang = props.actions.lang;
|
|
15944
15944
|
var langdetect = props.actions.langdetect;
|
|
15945
15945
|
var routingcountext = props.actions.routingcountext;
|
|
15946
15946
|
var StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
15947
15947
|
var templatepropcontext = props.actions.templatepropcontext;
|
|
15948
15948
|
var uselocation = props.actions.uselocation;
|
|
15949
|
-
props.actions.ikimagecredcontext;
|
|
15949
|
+
var ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
15950
|
+
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
15950
15951
|
var fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
15951
|
-
|
|
15952
|
+
props.actions.fetchorderhistoryQueryContext;
|
|
15953
|
+
var _useState = React.useState(null),
|
|
15952
15954
|
_useState2 = _slicedToArray__default["default"](_useState, 2),
|
|
15953
|
-
|
|
15954
|
-
|
|
15955
|
-
var _useState3 = React.useState(
|
|
15955
|
+
lastOrderinfoObj = _useState2[0],
|
|
15956
|
+
setlastOrderinfoObj = _useState2[1];
|
|
15957
|
+
var _useState3 = React.useState(false),
|
|
15956
15958
|
_useState4 = _slicedToArray__default["default"](_useState3, 2),
|
|
15957
|
-
|
|
15958
|
-
|
|
15959
|
+
IsOrderSuccess = _useState4[0],
|
|
15960
|
+
setIsOrderSuccess = _useState4[1];
|
|
15959
15961
|
var _useState5 = React.useState(''),
|
|
15960
15962
|
_useState6 = _slicedToArray__default["default"](_useState5, 2),
|
|
15961
|
-
|
|
15962
|
-
|
|
15963
|
+
ReasonFail = _useState6[0],
|
|
15964
|
+
setReasonFail = _useState6[1];
|
|
15963
15965
|
var _useState7 = React.useState(''),
|
|
15964
|
-
_useState8 = _slicedToArray__default["default"](_useState7, 2)
|
|
15965
|
-
_useState8[0]
|
|
15966
|
-
|
|
15966
|
+
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
15967
|
+
sectionproperties = _useState8[0],
|
|
15968
|
+
setsectionproperties = _useState8[1];
|
|
15969
|
+
var _useState9 = React.useState(''),
|
|
15970
|
+
_useState10 = _slicedToArray__default["default"](_useState9, 2);
|
|
15971
|
+
_useState10[0];
|
|
15972
|
+
var setCurrentPageId = _useState10[1];
|
|
15967
15973
|
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
15974
|
+
var _useState11 = React.useState([]),
|
|
15975
|
+
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
15976
|
+
logoarrayofobjects = _useState12[0],
|
|
15977
|
+
setlogoarrayofobjects = _useState12[1];
|
|
15978
|
+
var templateproperties_context = props.actions.templateproperties_context;
|
|
15979
|
+
|
|
15968
15980
|
// useEffect(() => {
|
|
15969
15981
|
// const query = new URLSearchParams(uselocation.search);
|
|
15970
15982
|
// var issuccess = query.get('status');
|
|
@@ -16018,6 +16030,40 @@
|
|
|
16018
16030
|
});
|
|
16019
16031
|
setsectionproperties(_objectSpread$2h({}, secpropobj));
|
|
16020
16032
|
}, [props === null || props === void 0 || (_props$actions2 = props.actions) === null || _props$actions2 === void 0 ? void 0 : _props$actions2.StatePagePropertiesContext]);
|
|
16033
|
+
React.useEffect(function () {
|
|
16034
|
+
var query = new URLSearchParams(uselocation.search);
|
|
16035
|
+
var order_id = query.get('order_id');
|
|
16036
|
+
if (order_id != undefined && order_id != null && order_id.length != 0) {
|
|
16037
|
+
GeneralAPIMutationContext.mutate({
|
|
16038
|
+
endpointurl: '/p_fetchorderinformation',
|
|
16039
|
+
orderid: order_id,
|
|
16040
|
+
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
16041
|
+
var _data$data;
|
|
16042
|
+
var templastorderobj = _objectSpread$2h({}, lastOrderinfoObj);
|
|
16043
|
+
if ((data === null || data === void 0 || (_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.data) != null) {
|
|
16044
|
+
templastorderobj = data.data;
|
|
16045
|
+
} else {
|
|
16046
|
+
templastorderobj = {
|
|
16047
|
+
status: false
|
|
16048
|
+
};
|
|
16049
|
+
}
|
|
16050
|
+
setlastOrderinfoObj(_objectSpread$2h({}, templastorderobj));
|
|
16051
|
+
}
|
|
16052
|
+
});
|
|
16053
|
+
} else {
|
|
16054
|
+
setlastOrderinfoObj({
|
|
16055
|
+
status: false
|
|
16056
|
+
});
|
|
16057
|
+
}
|
|
16058
|
+
}, []);
|
|
16059
|
+
React.useEffect(function () {
|
|
16060
|
+
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
16061
|
+
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
16062
|
+
if (Array.isArray(logoarrayofobjectsparsed)) {
|
|
16063
|
+
setlogoarrayofobjects(_toConsumableArray__default["default"](logoarrayofobjectsparsed));
|
|
16064
|
+
}
|
|
16065
|
+
}
|
|
16066
|
+
}, [templateproperties_context]);
|
|
16021
16067
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
16022
16068
|
var ordersuccessstyle = {
|
|
16023
16069
|
ordersuccessbtn: glamor.css({
|
|
@@ -16040,13 +16086,13 @@
|
|
|
16040
16086
|
}
|
|
16041
16087
|
}),
|
|
16042
16088
|
containerstyle: glamor.css({
|
|
16043
|
-
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
16044
|
-
paddingRight: sectionproperties.paddingRight + 'px',
|
|
16045
|
-
paddingTop: sectionproperties.marginTop + 'px',
|
|
16046
|
-
paddingBottom: sectionproperties.marginBottom + 'px',
|
|
16089
|
+
paddingLeft: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.paddingLeft + 'px' : 0,
|
|
16090
|
+
paddingRight: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.paddingRight + 'px' : 0,
|
|
16091
|
+
paddingTop: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.marginTop + 'px' : 0,
|
|
16092
|
+
paddingBottom: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.marginBottom + 'px' : 0,
|
|
16047
16093
|
background: sectionproperties.outerbgcolor,
|
|
16048
16094
|
'@media (max-width: 800px)': {
|
|
16049
|
-
paddingTop: sectionproperties.marginTopResp + 'px'
|
|
16095
|
+
paddingTop: sectionproperties.cardstyletype != 'Style 2' ? sectionproperties.marginTopResp + 'px' : 0
|
|
16050
16096
|
}
|
|
16051
16097
|
})
|
|
16052
16098
|
};
|
|
@@ -16054,12 +16100,235 @@
|
|
|
16054
16100
|
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 ',
|
|
16055
16101
|
style: {}
|
|
16056
16102
|
}, IsOrderSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16057
|
-
className
|
|
16103
|
+
// className="col-lg-12 allcentered flex-column d-none "
|
|
16104
|
+
className: sectionproperties.cardstyletype != 'Style 2' ? 'col-lg-12 allcentered flex-column d-none mt-4 mb-4 ' : 'col-lg-12 allcentered flex-column',
|
|
16058
16105
|
style: {
|
|
16059
|
-
minHeight: '50vh',
|
|
16106
|
+
minHeight: sectionproperties.cardstyletype != 'Style 2' ? '50vh' : '',
|
|
16060
16107
|
background: sectionproperties.backgroundColor,
|
|
16061
|
-
borderRadius: '10px'
|
|
16108
|
+
borderRadius: sectionproperties.cardstyletype != 'Style 2' ? '10px' : 0,
|
|
16109
|
+
color: '#000'
|
|
16110
|
+
}
|
|
16111
|
+
}, lastOrderinfoObj != null && lastOrderinfoObj.status && sectionproperties.cardstyletype != 'Style 2' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16112
|
+
"class": "row m-0 w-100 px-5 py-5 px-1025-1 px-md-0",
|
|
16113
|
+
style: {
|
|
16114
|
+
paddingLeft: 200,
|
|
16115
|
+
paddingRight: 200
|
|
16116
|
+
}
|
|
16117
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16118
|
+
"class": "col-12 p-0 text-start mb-4"
|
|
16119
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16120
|
+
"class": ' text-start',
|
|
16121
|
+
style: {
|
|
16122
|
+
width: '15%'
|
|
16123
|
+
}
|
|
16124
|
+
}, /*#__PURE__*/React__default["default"].createElement(Imagekitimagecomp, {
|
|
16125
|
+
urlEndpoint: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimageendpoint,
|
|
16126
|
+
publicKey: ikimagecredcontext === null || ikimagecredcontext === void 0 ? void 0 : ikimagecredcontext.ikimagepublickey,
|
|
16127
|
+
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,
|
|
16128
|
+
style: {
|
|
16129
|
+
maxWidth: '100%',
|
|
16130
|
+
maxHeight: '100%'
|
|
16131
|
+
}
|
|
16132
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16133
|
+
"class": "col-6 col-md-12 text-start border-md-none",
|
|
16134
|
+
style: {
|
|
16135
|
+
borderRight: langdetect == 'en' ? '1px solid #ccc' : '',
|
|
16136
|
+
borderLeft: langdetect == 'ar' ? '1px solid #ccc' : ''
|
|
16137
|
+
}
|
|
16138
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16139
|
+
"class": "row m-0 w-100"
|
|
16140
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16141
|
+
"class": "col-12 p-0 text-start mb-1 font-weight-500",
|
|
16142
|
+
style: {
|
|
16143
|
+
fontSize: 15
|
|
16144
|
+
}
|
|
16145
|
+
}, "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", {
|
|
16146
|
+
"class": "col-12 p-0 text-start mb-4 font-weight-500"
|
|
16147
|
+
}, 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", {
|
|
16148
|
+
"class": "col-12 p-0 text-start font-weight-500"
|
|
16149
|
+
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16150
|
+
"class": "col-12 p-0 text-start font-weight-500"
|
|
16151
|
+
}, langdetect == 'en' ? 'You’ll receive a confirmation email with your order details shortly.' : 'ستتلقى رسالة تأكيد عبر البريد الإلكتروني تحتوي على تفاصيل طلبك قريبًا.'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16152
|
+
"class": "col-lg-12 p-0 mt-4",
|
|
16153
|
+
style: {
|
|
16154
|
+
border: '1px solid #ccc',
|
|
16155
|
+
borderRadius: 10
|
|
16156
|
+
}
|
|
16157
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16158
|
+
"class": "row m-0 w-100 px-3 py-4"
|
|
16159
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16160
|
+
"class": "col-12 text-start mb-3"
|
|
16161
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16162
|
+
"class": "m-0",
|
|
16163
|
+
style: {
|
|
16164
|
+
fontSize: 16,
|
|
16165
|
+
fontWeight: 600
|
|
16166
|
+
}
|
|
16167
|
+
}, langdetect == 'en' ? 'Order details' : 'تفاصيل الطلب')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16168
|
+
"class": "col-6 col-md-12"
|
|
16169
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16170
|
+
"class": "row m-0 w-100"
|
|
16171
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16172
|
+
"class": "col-12 p-0 text-start mb-2"
|
|
16173
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16174
|
+
"class": "m-0",
|
|
16175
|
+
style: {
|
|
16176
|
+
fontSize: 15,
|
|
16177
|
+
fontWeight: 600
|
|
16178
|
+
}
|
|
16179
|
+
}, langdetect == 'en' ? 'Contact Information' : 'بياتات العميل')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16180
|
+
"class": "col-12 p-0 text-start"
|
|
16181
|
+
}, /*#__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", {
|
|
16182
|
+
"class": "col-12 p-0 text-start"
|
|
16183
|
+
}, /*#__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", {
|
|
16184
|
+
"class": "col-12 p-0 text-start mb-2"
|
|
16185
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16186
|
+
style: {
|
|
16187
|
+
fontSize: 15,
|
|
16188
|
+
fontWeight: 600
|
|
16189
|
+
},
|
|
16190
|
+
"class": "m-0"
|
|
16191
|
+
}, langdetect == 'en' ? 'Shipping address' : 'عنوان الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16192
|
+
"class": "col-12 p-0 text-start"
|
|
16193
|
+
}, /*#__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", {
|
|
16194
|
+
"class": "col-6 col-md-12"
|
|
16195
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16196
|
+
"class": "col-12 p-0 text-start mb-2"
|
|
16197
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16198
|
+
style: {
|
|
16199
|
+
fontSize: 15,
|
|
16200
|
+
fontWeight: 600
|
|
16201
|
+
},
|
|
16202
|
+
"class": "m-0"
|
|
16203
|
+
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16204
|
+
"class": "col-12 p-0 text-start"
|
|
16205
|
+
}, /*#__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", {
|
|
16206
|
+
"class": "col-6 col-md-12 p-md-0"
|
|
16207
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16208
|
+
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
16209
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16210
|
+
"class": "col-lg-12 text-start mb-3"
|
|
16211
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16212
|
+
"class": "m-0 p-0",
|
|
16213
|
+
style: {
|
|
16214
|
+
fontSize: 20,
|
|
16215
|
+
fontWeight: 600
|
|
16216
|
+
}
|
|
16217
|
+
}, langdetect == 'en' ? 'Items Ordered' : 'المنتجات')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16218
|
+
"class": "col-12 p-0"
|
|
16219
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16220
|
+
"class": "row m-0 w-100",
|
|
16221
|
+
style: {
|
|
16222
|
+
maxHeight: '40vh',
|
|
16223
|
+
overflowY: 'scroll'
|
|
16224
|
+
}
|
|
16225
|
+
}, lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat8 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat8 === void 0 ? void 0 : _lastOrderinfoObj$dat8.orderitems.map(function (item, index) {
|
|
16226
|
+
var _lastOrderinfoObj$dat9, _lastOrderinfoObj$dat10;
|
|
16227
|
+
var variantoptions = [];
|
|
16228
|
+
if (item.isvariant == 1) {
|
|
16229
|
+
var decodevariantoptions = JSON.parse(item.variantoptions);
|
|
16230
|
+
variantoptions = decodevariantoptions;
|
|
16231
|
+
}
|
|
16232
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16233
|
+
className: "col-lg-12 p-0"
|
|
16234
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16235
|
+
className: "row m-0 w-100 d-flex",
|
|
16236
|
+
style: {
|
|
16237
|
+
fontSize: 15
|
|
16238
|
+
}
|
|
16239
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16240
|
+
className: "col-8 d-flex"
|
|
16241
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16242
|
+
className: "row m-0 w-100"
|
|
16243
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16244
|
+
"class": "col-lg-12 p-0 text-start"
|
|
16245
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16246
|
+
className: ' m-0 p-0 ',
|
|
16247
|
+
style: {
|
|
16248
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
16249
|
+
}
|
|
16250
|
+
}, langdetect == 'en' ? item.productname_en : item.productname_ar)), (item === null || item === void 0 ? void 0 : item.isvariant) == 1 && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16251
|
+
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
16252
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16253
|
+
"class": "row m-0 w-100"
|
|
16254
|
+
}, variantoptions.map(function (variantitem, variantindex) {
|
|
16255
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16256
|
+
className: "col-lg-12 col-md-12 col-sm-12 p-0 d-flex"
|
|
16257
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16258
|
+
className: ' text-capitalize text-dark font-weight-500 m-0 p-0 ml-1 mr-1 font-13 '
|
|
16259
|
+
}, (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));
|
|
16260
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16261
|
+
className: "col-lg-12 p-0 d-flex justify-content-start"
|
|
16262
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16263
|
+
className: "m-0 p-0 font-weight-500"
|
|
16264
|
+
}, lang.qty, ": ", item.quantity)))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16265
|
+
className: "col-4 d-flex text-end"
|
|
16266
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16267
|
+
"class": "m-0 p-0 font-weight-500 mb-auto"
|
|
16268
|
+
}, 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", {
|
|
16269
|
+
"class": "col-12 my-2"
|
|
16270
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16271
|
+
style: {
|
|
16272
|
+
width: '100%',
|
|
16273
|
+
height: 1,
|
|
16274
|
+
background: '#eee'
|
|
16275
|
+
}
|
|
16276
|
+
}))));
|
|
16277
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16278
|
+
"class": "col-lg-12 p-0 mt-5",
|
|
16279
|
+
style: {
|
|
16280
|
+
fontSize: 16
|
|
16062
16281
|
}
|
|
16282
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16283
|
+
className: "row m-0 w-100 font-weight-600"
|
|
16284
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16285
|
+
"class": "col-6 text-start"
|
|
16286
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16287
|
+
className: "m-0 p-0"
|
|
16288
|
+
}, langdetect == 'en' ? 'Sub total' : 'الاجمالي')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16289
|
+
"class": "col-6 text-end"
|
|
16290
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16291
|
+
className: "m-0 p-0 font-weight-500"
|
|
16292
|
+
}, 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", {
|
|
16293
|
+
"class": "col-lg-12 p-0 mt-1",
|
|
16294
|
+
style: {
|
|
16295
|
+
fontSize: 16
|
|
16296
|
+
}
|
|
16297
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16298
|
+
className: "row m-0 w-100 font-weight-600"
|
|
16299
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16300
|
+
"class": "col-6 text-start"
|
|
16301
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16302
|
+
className: "m-0 p-0"
|
|
16303
|
+
}, langdetect == 'en' ? 'Shipping' : 'الشحن')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16304
|
+
"class": "col-6 text-end"
|
|
16305
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16306
|
+
className: "m-0 p-0 font-weight-500"
|
|
16307
|
+
}, 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", {
|
|
16308
|
+
"class": "col-lg-12 p-0 my-3"
|
|
16309
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16310
|
+
style: {
|
|
16311
|
+
width: '100%',
|
|
16312
|
+
height: 1,
|
|
16313
|
+
background: '#eee'
|
|
16314
|
+
}
|
|
16315
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16316
|
+
"class": "col-lg-12 p-0 mt-1",
|
|
16317
|
+
style: {
|
|
16318
|
+
fontSize: 16
|
|
16319
|
+
}
|
|
16320
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16321
|
+
className: "row m-0 w-100 font-weight-600"
|
|
16322
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16323
|
+
"class": "col-6 text-start"
|
|
16324
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16325
|
+
className: "m-0 p-0"
|
|
16326
|
+
}, langdetect == 'en' ? 'Total' : 'الاجمالي')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16327
|
+
"class": "col-6 text-end"
|
|
16328
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
16329
|
+
className: "m-0 p-0 font-weight-500"
|
|
16330
|
+
}, 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", {
|
|
16331
|
+
className: "col-lg-12 allcentered flex-column "
|
|
16063
16332
|
}, /*#__PURE__*/React__default["default"].createElement(IoBagCheckOutline.IoBagCheckOutline, {
|
|
16064
16333
|
size: sectionproperties.icontextfontsize,
|
|
16065
16334
|
color: sectionproperties.iconcontainercolor,
|
|
@@ -16079,7 +16348,7 @@
|
|
|
16079
16348
|
onClick: function onClick() {
|
|
16080
16349
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
16081
16350
|
}
|
|
16082
|
-
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar)), !IsOrderSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16351
|
+
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))), !IsOrderSuccess && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
16083
16352
|
className: "col-lg-12 allcentered flex-column mt-4 mb-4 ",
|
|
16084
16353
|
style: {
|
|
16085
16354
|
minHeight: '50vh',
|
|
@@ -31860,13 +32129,17 @@
|
|
|
31860
32129
|
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
31861
32130
|
}
|
|
31862
32131
|
}),
|
|
32132
|
+
waicon: glamor.css({
|
|
32133
|
+
color: sectionproperties.floatingwhatsappiconcolor,
|
|
32134
|
+
':hover': {
|
|
32135
|
+
color: sectionproperties.floatingwhatsappiconcoloronhover
|
|
32136
|
+
}
|
|
32137
|
+
}),
|
|
31863
32138
|
fbfloatingicon: glamor.css({
|
|
31864
32139
|
position: 'fixed',
|
|
31865
32140
|
zIndex: 999999,
|
|
31866
32141
|
transition: 'all 0.3s ease-out',
|
|
31867
32142
|
bottom: sectionproperties.floatingfbfrombottom + 'px',
|
|
31868
|
-
right: langdetect == 'en' ? sectionproperties.floatingfbfromright + 'px' : '',
|
|
31869
|
-
left: langdetect == 'en' ? sectionproperties.floatingfbfromright + 'px' : '',
|
|
31870
32143
|
width: sectionproperties.floatingfbiconwidth + 'px',
|
|
31871
32144
|
height: sectionproperties.floatingfbiconheight + 'px',
|
|
31872
32145
|
background: sectionproperties.floatingfbiconbgcolor,
|
|
@@ -31878,13 +32151,17 @@
|
|
|
31878
32151
|
background: sectionproperties.floatingwhatappiconbgcoloronhover
|
|
31879
32152
|
}
|
|
31880
32153
|
}),
|
|
32154
|
+
fbfloatingiconen: glamor.css({
|
|
32155
|
+
right: sectionproperties.floatingfbfromright + 'px'
|
|
32156
|
+
}),
|
|
32157
|
+
fbfloatingiconar: glamor.css({
|
|
32158
|
+
left: sectionproperties.floatingfbfromright + 'px'
|
|
32159
|
+
}),
|
|
31881
32160
|
instagramfloatingicon: glamor.css({
|
|
31882
32161
|
position: 'fixed',
|
|
31883
32162
|
zIndex: 999999,
|
|
31884
32163
|
transition: 'all 0.3s ease-out',
|
|
31885
32164
|
bottom: sectionproperties.floatinginstagramfrombottom + 'px',
|
|
31886
|
-
right: langdetect == 'en' ? sectionproperties.floatinginstagramfromright + 'px' : '',
|
|
31887
|
-
left: langdetect == 'en' ? sectionproperties.floatinginstagramfromright + 'px' : '',
|
|
31888
32165
|
width: sectionproperties.floatinginstagramiconwidth + 'px',
|
|
31889
32166
|
height: sectionproperties.floatinginstagramiconheight + 'px',
|
|
31890
32167
|
background: sectionproperties.floatinginstagramiconbgcolor,
|
|
@@ -31895,13 +32172,17 @@
|
|
|
31895
32172
|
background: sectionproperties.floatinginstagramiconbgcoloronhover
|
|
31896
32173
|
}
|
|
31897
32174
|
}),
|
|
32175
|
+
instagramfloatingiconen: glamor.css({
|
|
32176
|
+
right: sectionproperties.floatinginstagramfromright + 'px'
|
|
32177
|
+
}),
|
|
32178
|
+
instagramfloatingiconar: glamor.css({
|
|
32179
|
+
left: sectionproperties.floatinginstagramfromright + 'px'
|
|
32180
|
+
}),
|
|
31898
32181
|
tiktokfloatingicon: glamor.css({
|
|
31899
32182
|
position: 'fixed',
|
|
31900
32183
|
zIndex: 999999,
|
|
31901
32184
|
transition: 'all 0.3s ease-out',
|
|
31902
32185
|
bottom: sectionproperties.tiktokfloatingiconfrombottom + 'px',
|
|
31903
|
-
right: langdetect == 'en' ? sectionproperties.tiktokfloatingiconfromright + 'px' : '',
|
|
31904
|
-
left: langdetect == 'en' ? sectionproperties.tiktokfloatingiconfromright + 'px' : '',
|
|
31905
32186
|
width: sectionproperties.tiktokfloatingiconiconwidth + 'px',
|
|
31906
32187
|
height: sectionproperties.tiktokfloatingiconheight + 'px',
|
|
31907
32188
|
background: sectionproperties.tiktokfloatingiconbgcolor,
|
|
@@ -31912,11 +32193,15 @@
|
|
|
31912
32193
|
background: sectionproperties.tiktokfloatingiconbgcoloronhover
|
|
31913
32194
|
}
|
|
31914
32195
|
}),
|
|
32196
|
+
tiktokfloatingiconen: glamor.css({
|
|
32197
|
+
right: sectionproperties.tiktokfloatingiconfromright + 'px'
|
|
32198
|
+
}),
|
|
32199
|
+
tiktokfloatingiconar: glamor.css({
|
|
32200
|
+
left: sectionproperties.tiktokfloatingiconfromright + 'px'
|
|
32201
|
+
}),
|
|
31915
32202
|
floatingbtn: glamor.css({
|
|
31916
32203
|
position: 'fixed',
|
|
31917
32204
|
bottom: sectionproperties.floatingbtnfrombottom + 'px',
|
|
31918
|
-
right: langdetect == 'en' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
31919
|
-
left: langdetect == 'ar' ? sectionproperties.floatingbtnfromright + 'px' : '',
|
|
31920
32205
|
zIndex: 999999,
|
|
31921
32206
|
transition: 'all 0.3s ease-out',
|
|
31922
32207
|
width: sectionproperties.floatingbtnwidth + 'px',
|
|
@@ -31934,6 +32219,18 @@
|
|
|
31934
32219
|
// '@media (max-width: 800px)': {
|
|
31935
32220
|
// width: '50%',
|
|
31936
32221
|
// },
|
|
32222
|
+
}),
|
|
32223
|
+
floatingbtnen: glamor.css({
|
|
32224
|
+
right: sectionproperties.floatingbtnfromright + 'px'
|
|
32225
|
+
}),
|
|
32226
|
+
floatingbtnar: glamor.css({
|
|
32227
|
+
left: sectionproperties.floatingbtnfromright + 'px'
|
|
32228
|
+
}),
|
|
32229
|
+
callbtnen: glamor.css({
|
|
32230
|
+
right: sectionproperties.callppositionfromright + 'px'
|
|
32231
|
+
}),
|
|
32232
|
+
callbtnar: glamor.css({
|
|
32233
|
+
left: sectionproperties.callppositionfromright + 'px'
|
|
31937
32234
|
})
|
|
31938
32235
|
};
|
|
31939
32236
|
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);
|
|
@@ -31943,18 +32240,20 @@
|
|
|
31943
32240
|
style: {
|
|
31944
32241
|
position: 'relative'
|
|
31945
32242
|
}
|
|
31946
|
-
}, sectionproperties.showfloatingwaicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("
|
|
32243
|
+
}, sectionproperties.showfloatingwaicon == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32244
|
+
"class": header_cssstyles.floatingwaicon + ' allcentered px-2 py-1 cursor-pointer '
|
|
32245
|
+
}, /*#__PURE__*/React__default["default"].createElement("a", {
|
|
31947
32246
|
href: langdetect == 'en' ? whatsappUrl : whatsappUrl_ar,
|
|
31948
32247
|
target: "_blank",
|
|
31949
32248
|
rel: "noopener noreferrer",
|
|
31950
32249
|
style: {},
|
|
31951
|
-
"class": header_cssstyles.
|
|
32250
|
+
"class": header_cssstyles.waicon + ' allcentered px-2 py-1 cursor-pointer '
|
|
31952
32251
|
}, /*#__PURE__*/React__default["default"].createElement(FaWhatsapp.FaWhatsapp, {
|
|
31953
32252
|
size: sectionproperties.floatingwhatsappiconiconfontsize
|
|
31954
32253
|
}), sectionproperties.floatingwhatsappiconfontsize != 0 && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
31955
32254
|
"class": langdetect == 'en' ? 'ml-1' : 'mr-1'
|
|
31956
|
-
}, langdetect == 'en' ? sectionproperties.floatingwhatsappicontexten : sectionproperties.floatingwhatsappicontextar)), sectionproperties.showfloatingfbbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31957
|
-
"class": "".concat(header_cssstyles.fbfloatingicon) + ' allcentered cursor-pointer ',
|
|
32255
|
+
}, langdetect == 'en' ? sectionproperties.floatingwhatsappicontexten : sectionproperties.floatingwhatsappicontextar))), sectionproperties.showfloatingfbbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
32256
|
+
"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 ',
|
|
31958
32257
|
onClick: function onClick() {
|
|
31959
32258
|
var _authdetailsContext$i3;
|
|
31960
32259
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.facebooklink) != null) {
|
|
@@ -31965,7 +32264,7 @@
|
|
|
31965
32264
|
}, /*#__PURE__*/React__default["default"].createElement(FaFacebook.FaFacebook, {
|
|
31966
32265
|
size: sectionproperties.floatingfbiconiconsize
|
|
31967
32266
|
})), sectionproperties.instagramfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31968
|
-
"class": "".concat(header_cssstyles.instagramfloatingicon) + ' allcentered cursor-pointer ',
|
|
32267
|
+
"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 ',
|
|
31969
32268
|
onClick: function onClick() {
|
|
31970
32269
|
var _authdetailsContext$i5;
|
|
31971
32270
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instagramlink) != null) {
|
|
@@ -31976,7 +32275,7 @@
|
|
|
31976
32275
|
}, /*#__PURE__*/React__default["default"].createElement(AiFillInstagram.AiFillInstagram, {
|
|
31977
32276
|
size: sectionproperties.floatinginstagramiconiconsize
|
|
31978
32277
|
})), sectionproperties.tiktonfloatingbtnshow == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31979
|
-
"class": "".concat(header_cssstyles.tiktokfloatingicon) + ' allcentered cursor-pointer ',
|
|
32278
|
+
"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 ',
|
|
31980
32279
|
onClick: function onClick() {
|
|
31981
32280
|
var _authdetailsContext$i7;
|
|
31982
32281
|
if ((authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instagramlink) != null) {
|
|
@@ -31987,7 +32286,7 @@
|
|
|
31987
32286
|
}, /*#__PURE__*/React__default["default"].createElement(IoLogoTiktok.IoLogoTiktok, {
|
|
31988
32287
|
size: sectionproperties.tiktokfloatingiconiconfontsize
|
|
31989
32288
|
})), sectionproperties.showfloatingbtn == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31990
|
-
"class": header_cssstyles.floatingbtn + ' allcentered cursor-pointer ',
|
|
32289
|
+
"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 ',
|
|
31991
32290
|
style: {},
|
|
31992
32291
|
onClick: function onClick() {
|
|
31993
32292
|
routingcountext(sectionproperties.floatingbtnlink, false, '');
|
|
@@ -32025,10 +32324,10 @@
|
|
|
32025
32324
|
style: {
|
|
32026
32325
|
position: 'fixed',
|
|
32027
32326
|
bottom: sectionproperties.callppositionfrombottom + 'px',
|
|
32028
|
-
right: sectionproperties.callppositionfromright + 'px',
|
|
32029
32327
|
zIndex: 999999,
|
|
32030
32328
|
transition: 'all 0.3s ease-out'
|
|
32031
|
-
}
|
|
32329
|
+
},
|
|
32330
|
+
"class": langdetect == 'en' ? "".concat(header_cssstyles.callbtn, " ").concat(header_cssstyles.callbtnen) : "".concat(header_cssstyles.callbtn, " ").concat(header_cssstyles.callbtnar)
|
|
32032
32331
|
}, /*#__PURE__*/React__default["default"].createElement("i", {
|
|
32033
32332
|
"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'
|
|
32034
32333
|
}, /*#__PURE__*/React__default["default"].createElement(FiPhone.FiPhone, {
|
|
@@ -68015,7 +68314,7 @@
|
|
|
68015
68314
|
}
|
|
68016
68315
|
}, langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar))));
|
|
68017
68316
|
})), sectionproperties.view_as_slider_vertical == 'Vertical' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
68018
|
-
"class": "row m-0 w-100"
|
|
68317
|
+
"class": "row m-0 w-100 d-flex justify-content-center"
|
|
68019
68318
|
}, sectionproperties.flippingcards == 'No' && cardsarray.map(function (cardinfoitem, cardinfoindex) {
|
|
68020
68319
|
var _authdetailsContext$i3, _authdetailsContext$i4;
|
|
68021
68320
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|