tabexseriescomponents 0.2.1387 → 0.2.1389
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 +240 -63
- package/dist/index.esm.js +240 -63
- package/dist/index.umd.js +240 -63
- package/package.json +3 -2
package/dist/index.umd.js
CHANGED
|
@@ -22076,7 +22076,7 @@
|
|
|
22076
22076
|
function ownKeys$2o(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; }
|
|
22077
22077
|
function _objectSpread$2o(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2o(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2o(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
22078
22078
|
var OrderSuccess = function OrderSuccess(props) {
|
|
22079
|
-
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _lastOrderinfoObj$dat3, _lastOrderinfoObj$dat4, _authdetailsContext$
|
|
22079
|
+
var _props$actions2, _authdetailsContext$i, _lastOrderinfoObj$dat, _authdetailsContext$i2, _lastOrderinfoObj$dat2, _authdetailsContext$i3, _authdetailsContext$i4, _logoarrayofobjects$, _logoarrayofobjects$2, _authdetailsContext$i5, _lastOrderinfoObj$dat3, _lastOrderinfoObj$dat4, _authdetailsContext$i6, _lastOrderinfoObj$dat5, _lastOrderinfoObj$dat6, _lastOrderinfoObj$dat7, _authdetailsContext$i7, _authdetailsContext$i8, _authdetailsContext$i9, _lastOrderinfoObj$dat8, _lastOrderinfoObj$dat9, _lastOrderinfoObj$dat0, _lastOrderinfoObj$dat1, _lastOrderinfoObj$dat10, _authdetailsContext$i0, _lastOrderinfoObj$dat11, _lastOrderinfoObj$dat12, _lastOrderinfoObj$dat13, _lastOrderinfoObj$dat14, _lastOrderinfoObj$dat17, _lastOrderinfoObj$dat18, _lastOrderinfoObj$dat19, _lastOrderinfoObj$dat20, _lastOrderinfoObj$dat21, _lastOrderinfoObj$dat22, _lastOrderinfoObj$dat23, _lastOrderinfoObj$dat24, _lastOrderinfoObj$dat25, _authdetailsContext$i1, _authdetailsContext$i10;
|
|
22080
22080
|
var lang = props.actions.lang;
|
|
22081
22081
|
var langdetect = props.actions.langdetect;
|
|
22082
22082
|
var routingcountext = props.actions.routingcountext;
|
|
@@ -22174,6 +22174,7 @@
|
|
|
22174
22174
|
var query = new URLSearchParams(uselocation.search);
|
|
22175
22175
|
var order_id = query.get('order_id');
|
|
22176
22176
|
setOrderId(order_id);
|
|
22177
|
+
localStorage.setItem('currentOrderID', order_id);
|
|
22177
22178
|
if (order_id != undefined && order_id != null && order_id.length != 0) {
|
|
22178
22179
|
GeneralAPIMutationContext.mutate({
|
|
22179
22180
|
endpointurl: '/p_fetchorderinformation',
|
|
@@ -22188,6 +22189,7 @@
|
|
|
22188
22189
|
status: false
|
|
22189
22190
|
};
|
|
22190
22191
|
}
|
|
22192
|
+
localStorage.setItem('currentOrderObj', JSON.stringify(templastorderobj));
|
|
22191
22193
|
setlastOrderinfoObj(_objectSpread$2o({}, templastorderobj));
|
|
22192
22194
|
}
|
|
22193
22195
|
});
|
|
@@ -22323,13 +22325,13 @@
|
|
|
22323
22325
|
style: {
|
|
22324
22326
|
fontSize: 15
|
|
22325
22327
|
}
|
|
22326
|
-
}, langdetect == 'en' ? 'Order' : 'اوردر', " #", 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.orderid), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22328
|
+
}, langdetect == 'en' ? 'Order' : 'اوردر', " #", (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i5 = authdetailsContext.instinfo) === null || _authdetailsContext$i5 === void 0 ? void 0 : _authdetailsContext$i5.instid) == '69e4b49b26217' ? '100' : '', 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.orderid), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22327
22329
|
"class": "col-12 p-0 text-start mb-4 font-weight-500"
|
|
22328
22330
|
}, langdetect == 'en' ? 'Thank you,' : 'شكرا،', " ", 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.customername), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22329
22331
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
22330
22332
|
}, langdetect == 'en' ? 'Your order has been placed.' : 'الطلب تم بنجاح'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22331
22333
|
"class": "col-12 p-0 text-start font-weight-500"
|
|
22332
|
-
}, langdetect == 'en' ? 'You’ll receive a confirmation email with your order details shortly.' : 'ستتلقى رسالة تأكيد عبر البريد الإلكتروني تحتوي على تفاصيل طلبك قريبًا.'), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
22334
|
+
}, langdetect == 'en' ? 'You’ll receive a confirmation email with your order details shortly.' : 'ستتلقى رسالة تأكيد عبر البريد الإلكتروني تحتوي على تفاصيل طلبك قريبًا.'), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i6 = authdetailsContext.instinfo) === null || _authdetailsContext$i6 === void 0 ? void 0 : _authdetailsContext$i6.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22333
22335
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
22334
22336
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22335
22337
|
"class": ordersuccessstyle.whatsappbtn + ' allcentered cursor-pointer ',
|
|
@@ -22390,13 +22392,13 @@
|
|
|
22390
22392
|
"class": "col-6 col-md-12"
|
|
22391
22393
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22392
22394
|
"class": "col-12 p-0 text-start mb-2"
|
|
22393
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
22395
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i7 = authdetailsContext.instinfo) === null || _authdetailsContext$i7 === void 0 ? void 0 : _authdetailsContext$i7.instid) != '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22394
22396
|
style: {
|
|
22395
22397
|
fontSize: 15,
|
|
22396
22398
|
fontWeight: 600
|
|
22397
22399
|
},
|
|
22398
22400
|
"class": "m-0"
|
|
22399
|
-
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
22401
|
+
}, langdetect == 'en' ? 'Payment method' : 'طريقة الدفع'), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i8 = authdetailsContext.instinfo) === null || _authdetailsContext$i8 === void 0 ? void 0 : _authdetailsContext$i8.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22400
22402
|
style: {
|
|
22401
22403
|
fontSize: 15,
|
|
22402
22404
|
fontWeight: 600
|
|
@@ -22404,7 +22406,7 @@
|
|
|
22404
22406
|
"class": "m-0"
|
|
22405
22407
|
}, langdetect == 'en' ? 'Total' : 'الإجمالي')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22406
22408
|
"class": "col-12 p-0 text-start"
|
|
22407
|
-
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
22409
|
+
}, (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i9 = authdetailsContext.instinfo) === null || _authdetailsContext$i9 === void 0 ? void 0 : _authdetailsContext$i9.instid) != '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("p", null, (lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat8 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat8 === void 0 || (_lastOrderinfoObj$dat8 = _lastOrderinfoObj$dat8.orderinfo) === null || _lastOrderinfoObj$dat8 === void 0 ? void 0 : _lastOrderinfoObj$dat8.paymentmethod) == 'cod' ? langdetect == 'en' ? 'Cash on delivery' : 'الدفع عند الاستلام' : 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.paymentmethod, ' ', "(", langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat0 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat0 === void 0 || (_lastOrderinfoObj$dat0 = _lastOrderinfoObj$dat0.orderinfo) === null || _lastOrderinfoObj$dat0 === void 0 ? void 0 : _lastOrderinfoObj$dat0.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat1 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat1 === void 0 ? void 0 : _lastOrderinfoObj$dat1.totalorderfees, ' ', 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 : '', ")"), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i0 = authdetailsContext.instinfo) === null || _authdetailsContext$i0 === void 0 ? void 0 : _authdetailsContext$i0.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("p", null, "(", 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.totalorderfees, ' ', 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", {
|
|
22408
22410
|
"class": "col-6 col-md-12 p-md-0"
|
|
22409
22411
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22410
22412
|
"class": "row m-0 w-100 mb-auto mt-md-4"
|
|
@@ -22529,7 +22531,7 @@
|
|
|
22529
22531
|
"class": "col-6 text-end"
|
|
22530
22532
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22531
22533
|
className: "m-0 p-0 font-weight-500"
|
|
22532
|
-
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat23 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat23 === void 0 || (_lastOrderinfoObj$dat23 = _lastOrderinfoObj$dat23.orderinfo) === null || _lastOrderinfoObj$dat23 === void 0 ? void 0 : _lastOrderinfoObj$dat23.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat24 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat24 === void 0 ? void 0 : _lastOrderinfoObj$dat24.totalorderfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat25 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat25 === void 0 || (_lastOrderinfoObj$dat25 = _lastOrderinfoObj$dat25.orderinfo) === null || _lastOrderinfoObj$dat25 === void 0 ? void 0 : _lastOrderinfoObj$dat25.currencyname_ar : '')))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
22534
|
+
}, langdetect == 'en' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat23 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat23 === void 0 || (_lastOrderinfoObj$dat23 = _lastOrderinfoObj$dat23.orderinfo) === null || _lastOrderinfoObj$dat23 === void 0 ? void 0 : _lastOrderinfoObj$dat23.currencyname_en : '', " ", lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat24 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat24 === void 0 ? void 0 : _lastOrderinfoObj$dat24.totalorderfees, ' ', langdetect == 'ar' ? lastOrderinfoObj === null || lastOrderinfoObj === void 0 || (_lastOrderinfoObj$dat25 = lastOrderinfoObj.data) === null || _lastOrderinfoObj$dat25 === void 0 || (_lastOrderinfoObj$dat25 = _lastOrderinfoObj$dat25.orderinfo) === null || _lastOrderinfoObj$dat25 === void 0 ? void 0 : _lastOrderinfoObj$dat25.currencyname_ar : '')))), (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i1 = authdetailsContext.instinfo) === null || _authdetailsContext$i1 === void 0 ? void 0 : _authdetailsContext$i1.instid) == '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22533
22535
|
"class": "col-lg-12 p-0 mt-1 text-start mt-2",
|
|
22534
22536
|
style: {
|
|
22535
22537
|
fontSize: 16,
|
|
@@ -22537,7 +22539,7 @@
|
|
|
22537
22539
|
}
|
|
22538
22540
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
22539
22541
|
"class": "m-0 p-0"
|
|
22540
|
-
}, langdetect == 'en' ? 'Pay with InstaPay or cash when you receive your order' : 'الدفع انستا باي او كاش عند الاستلام')))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$
|
|
22542
|
+
}, langdetect == 'en' ? 'Pay with InstaPay or cash when you receive your order' : 'الدفع انستا باي او كاش عند الاستلام')))), sectionproperties.youtbtn_show == 'Show' && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i10 = authdetailsContext.instinfo) === null || _authdetailsContext$i10 === void 0 ? void 0 : _authdetailsContext$i10.instid) != '67e448d2ef6e0' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22541
22543
|
"class": "col-12 allcentered mt-5 mb-3"
|
|
22542
22544
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
22543
22545
|
"class": ordersuccessstyle.whatsappbtn + ' allcentered cursor-pointer ',
|
|
@@ -72109,7 +72111,55 @@
|
|
|
72109
72111
|
"class": "col-lg-12 p-0"
|
|
72110
72112
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72111
72113
|
"class": "row m-0 w-100 d-flex align-items-center justify-content-start"
|
|
72112
|
-
},
|
|
72114
|
+
}, sectionproperties.hidecountrystatecity == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72115
|
+
"class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
|
|
72116
|
+
}, /*#__PURE__*/React__default["default"].createElement(CustomerAddressForm, {
|
|
72117
|
+
payloadobj: payloadobj,
|
|
72118
|
+
setpayloadobj: setpayloadobj,
|
|
72119
|
+
sectionproperties: sectionproperties
|
|
72120
|
+
// setpayloadobj={setpayloadobj}
|
|
72121
|
+
,
|
|
72122
|
+
srcfrom: 'filter',
|
|
72123
|
+
actions: actions,
|
|
72124
|
+
FetchTabexStatesPayloadobjContext: FetchTabexStatesPayloadobjContext,
|
|
72125
|
+
setFetchTabexStatesPayloadobjContext: setFetchTabexStatesPayloadobjContext,
|
|
72126
|
+
fetchTabexCountriesQueryContext: fetchTabexCountriesQueryContext,
|
|
72127
|
+
fetchTabexStatesQueryContext: fetchTabexStatesQueryContext,
|
|
72128
|
+
fetchTabexCitiesQueryContext: fetchTabexCitiesQueryContext
|
|
72129
|
+
})), sectionproperties.showcollectionsfilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72130
|
+
"class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
|
|
72131
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
72132
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
72133
|
+
style: {
|
|
72134
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
72135
|
+
}
|
|
72136
|
+
}, langdetect == 'en' ? sectionproperties.collectionsfilternameen : sectionproperties.collectionsfilternamear), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72137
|
+
"class": 'col-lg-12 p-0'
|
|
72138
|
+
}, /*#__PURE__*/React__default["default"].createElement(Select__default["default"], {
|
|
72139
|
+
options: collectionsarray,
|
|
72140
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
72141
|
+
var crname = '';
|
|
72142
|
+
if (langdetect == 'en') {
|
|
72143
|
+
crname = option.title_en;
|
|
72144
|
+
} else if (langdetect == 'ar') {
|
|
72145
|
+
crname = option.title_ar;
|
|
72146
|
+
}
|
|
72147
|
+
return crname;
|
|
72148
|
+
},
|
|
72149
|
+
getOptionValue: function getOptionValue(option) {
|
|
72150
|
+
return option.collectionid;
|
|
72151
|
+
},
|
|
72152
|
+
autocomplete: "new-password",
|
|
72153
|
+
onChange: function onChange(option) {
|
|
72154
|
+
var temp = payloadobj;
|
|
72155
|
+
temp.collections = [];
|
|
72156
|
+
temp.collections.push(option.collectionid);
|
|
72157
|
+
setpayloadobj(_objectSpread$1j({}, temp));
|
|
72158
|
+
},
|
|
72159
|
+
styles: langdetect == 'en' ? selectcustomStyles : selectcustomStylesTranslated,
|
|
72160
|
+
isSearchable: true,
|
|
72161
|
+
placeholder: ''
|
|
72162
|
+
}))), (fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 ? void 0 : fetchProductFeaturesQueryContext.isSuccess) && (fetchProductFeaturesQueryContext === null || fetchProductFeaturesQueryContext === void 0 || (_fetchProductFeatures = fetchProductFeaturesQueryContext.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.data) === null || _fetchProductFeatures === void 0 || (_fetchProductFeatures = _fetchProductFeatures.productfeatues) === null || _fetchProductFeatures === void 0 ? void 0 : _fetchProductFeatures.map(function (item, index) {
|
|
72113
72163
|
if (item.type == 'Selectbox') {
|
|
72114
72164
|
var _item$featuresselectb;
|
|
72115
72165
|
var selectboxarr = [];
|
|
@@ -72249,8 +72299,8 @@
|
|
|
72249
72299
|
}
|
|
72250
72300
|
})));
|
|
72251
72301
|
}
|
|
72252
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72253
|
-
"class": "col-lg-3 col-md-12"
|
|
72302
|
+
})), sectionproperties.showfromtofilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72303
|
+
"class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
|
|
72254
72304
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72255
72305
|
"class": "row m-0 w-100"
|
|
72256
72306
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -72274,8 +72324,8 @@
|
|
|
72274
72324
|
},
|
|
72275
72325
|
value: from_date_filter_input,
|
|
72276
72326
|
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
|
|
72277
|
-
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72278
|
-
"class": "col-lg-3 col-md-12"
|
|
72327
|
+
})))), sectionproperties.showfromtofilter == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72328
|
+
"class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3"
|
|
72279
72329
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72280
72330
|
"class": "col-lg-12 p-0 text-start"
|
|
72281
72331
|
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
@@ -72297,8 +72347,28 @@
|
|
|
72297
72347
|
},
|
|
72298
72348
|
value: to_date_filter_input,
|
|
72299
72349
|
className: "".concat(formstyles.form_control, " ").concat(sectionstyles.form_control)
|
|
72300
|
-
})), "\xA0"), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72301
|
-
"class": "col-lg-
|
|
72350
|
+
})), "\xA0"), sectionproperties.showpricerange == 'Show' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72351
|
+
"class": "col-lg-3 col-md-12 d-flex flex-column align-items-center justify-content-start mb-3 px-4"
|
|
72352
|
+
}, /*#__PURE__*/React__default["default"].createElement("label", {
|
|
72353
|
+
className: "".concat(sectionstyles.input_label_name) + ' mb-3 w-100 ',
|
|
72354
|
+
style: {
|
|
72355
|
+
textAlign: langdetect == 'en' ? 'left' : 'right'
|
|
72356
|
+
}
|
|
72357
|
+
}, langdetect == 'en' ? 'Price' : 'السعر'), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72358
|
+
"class": 'col-lg-12 p-0'
|
|
72359
|
+
}, /*#__PURE__*/React__default["default"].createElement(InputRange__default["default"], {
|
|
72360
|
+
draggableTrack: true,
|
|
72361
|
+
formatLabel: function formatLabel(value) {
|
|
72362
|
+
return "".concat(value);
|
|
72363
|
+
},
|
|
72364
|
+
maxValue: parseInt(sectionproperties.filterpricemaxvalue),
|
|
72365
|
+
minValue: parseInt(sectionproperties.filterpriceminvalue),
|
|
72366
|
+
value: pricevalue,
|
|
72367
|
+
onChange: function onChange(value) {
|
|
72368
|
+
setpricevalue(_objectSpread$1j({}, value));
|
|
72369
|
+
}
|
|
72370
|
+
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
72371
|
+
"class": "col-lg-2 col-md-12 text-end mt-md-4",
|
|
72302
72372
|
style: {
|
|
72303
72373
|
marginLeft: langdetect == 'en' ? 'auto' : '',
|
|
72304
72374
|
marginRight: langdetect == 'ar' ? 'auto' : ''
|
|
@@ -83156,6 +83226,7 @@
|
|
|
83156
83226
|
function ownKeys$P(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; }
|
|
83157
83227
|
function _objectSpread$P(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$P(Object(t), !0).forEach(function (r) { _defineProperty__default["default"](e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$P(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
83158
83228
|
var TrackOrderStatus = function TrackOrderStatus(props) {
|
|
83229
|
+
var _lastorderobj$orderin;
|
|
83159
83230
|
props.actions;
|
|
83160
83231
|
var langdetect = props.actions.langdetect;
|
|
83161
83232
|
var StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
@@ -83171,10 +83242,11 @@
|
|
|
83171
83242
|
_useState6 = _slicedToArray__default["default"](_useState5, 2);
|
|
83172
83243
|
_useState6[0];
|
|
83173
83244
|
var setcardarrayofobjs = _useState6[1];
|
|
83245
|
+
var GeneralAPIMutationContext = props.actions.GeneralAPIMutationContext;
|
|
83174
83246
|
props.actions.ikimagecredcontext;
|
|
83175
83247
|
props.actions.routingcountext;
|
|
83176
|
-
|
|
83177
|
-
|
|
83248
|
+
props.actions.FetchQueriesEngineContext;
|
|
83249
|
+
props.actions.setFetchQueriesEngineContext;
|
|
83178
83250
|
props.actions.StaticPagesLinksContext;
|
|
83179
83251
|
var _useState7 = React.useState(null),
|
|
83180
83252
|
_useState8 = _slicedToArray__default["default"](_useState7, 2),
|
|
@@ -83188,31 +83260,135 @@
|
|
|
83188
83260
|
_useState10 = _slicedToArray__default["default"](_useState1, 2);
|
|
83189
83261
|
_useState10[0];
|
|
83190
83262
|
_useState10[1];
|
|
83263
|
+
// const [showOrderModal, setShowOrderModal] = useState(false);
|
|
83264
|
+
|
|
83265
|
+
var showOrderModal = props.actions.showTrackingOrderModalContext;
|
|
83266
|
+
var setShowOrderModal = props.actions.setshowTrackingOrderModalContext;
|
|
83191
83267
|
var authdetailsContext = props.actions.authdetailsContext;
|
|
83192
|
-
|
|
83268
|
+
props.actions.fetchorderhistoryQueryContext;
|
|
83269
|
+
|
|
83270
|
+
// useEffect(() => {
|
|
83271
|
+
// if (authdetailsContext?.loggedin == true) {
|
|
83272
|
+
// if (FetchQueriesEngineContext != undefined) {
|
|
83273
|
+
// var tempFetchQueriesEngineContext = { ...FetchQueriesEngineContext };
|
|
83274
|
+
// tempFetchQueriesEngineContext.orderhistory = true;
|
|
83275
|
+
// setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
|
|
83276
|
+
// }
|
|
83277
|
+
// } else {
|
|
83278
|
+
// // routingcountext('');
|
|
83279
|
+
// }
|
|
83280
|
+
// }, [authdetailsContext]);
|
|
83193
83281
|
React.useEffect(function () {
|
|
83194
|
-
|
|
83195
|
-
|
|
83196
|
-
var tempFetchQueriesEngineContext = _objectSpread$P({}, FetchQueriesEngineContext);
|
|
83197
|
-
tempFetchQueriesEngineContext.orderhistory = true;
|
|
83198
|
-
setFetchQueriesEngineContext(_objectSpread$P({}, tempFetchQueriesEngineContext));
|
|
83199
|
-
}
|
|
83282
|
+
function runsocket() {
|
|
83283
|
+
return _runsocket.apply(this, arguments);
|
|
83200
83284
|
}
|
|
83201
|
-
|
|
83202
|
-
|
|
83203
|
-
|
|
83204
|
-
|
|
83205
|
-
|
|
83206
|
-
|
|
83207
|
-
|
|
83208
|
-
|
|
83209
|
-
|
|
83210
|
-
|
|
83211
|
-
|
|
83285
|
+
function _runsocket() {
|
|
83286
|
+
_runsocket = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee() {
|
|
83287
|
+
return _regeneratorRuntime__default["default"].wrap(function (_context) {
|
|
83288
|
+
while (1) switch (_context.prev = _context.next) {
|
|
83289
|
+
case 0:
|
|
83290
|
+
_context.next = 1;
|
|
83291
|
+
return connectsocket();
|
|
83292
|
+
case 1:
|
|
83293
|
+
case "end":
|
|
83294
|
+
return _context.stop();
|
|
83295
|
+
}
|
|
83296
|
+
}, _callee);
|
|
83297
|
+
}));
|
|
83298
|
+
return _runsocket.apply(this, arguments);
|
|
83299
|
+
}
|
|
83300
|
+
runsocket();
|
|
83301
|
+
}, []);
|
|
83302
|
+
function connectsocket() {
|
|
83303
|
+
return _connectsocket.apply(this, arguments);
|
|
83304
|
+
}
|
|
83305
|
+
function _connectsocket() {
|
|
83306
|
+
_connectsocket = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee2() {
|
|
83307
|
+
var _authdetailsContext$i3;
|
|
83308
|
+
var orderid, instid, _yield$import, io, socket, roomEvent;
|
|
83309
|
+
return _regeneratorRuntime__default["default"].wrap(function (_context2) {
|
|
83310
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
83311
|
+
case 0:
|
|
83312
|
+
orderid = localStorage.getItem('currentOrderID'); // var orderid = '35';
|
|
83313
|
+
instid = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i3 = authdetailsContext.instinfo) === null || _authdetailsContext$i3 === void 0 ? void 0 : _authdetailsContext$i3.instid; // localStorage.setItem("currentOrderID", orderID);
|
|
83314
|
+
if (!(orderid && instid == '69e4b49b26217')) {
|
|
83315
|
+
_context2.next = 2;
|
|
83316
|
+
break;
|
|
83317
|
+
}
|
|
83318
|
+
_context2.next = 1;
|
|
83319
|
+
return import('socket.io-client');
|
|
83320
|
+
case 1:
|
|
83321
|
+
_yield$import = _context2.sent;
|
|
83322
|
+
io = _yield$import.io;
|
|
83323
|
+
socket = io('https://som.tabexseries.com/'); // const orderid = '35';
|
|
83324
|
+
roomEvent = "updateOrder_".concat(instid, "_").concat(orderid);
|
|
83325
|
+
socket.emit('joinOrderRoom', {
|
|
83326
|
+
instanceID: instid,
|
|
83327
|
+
orderID: orderid
|
|
83328
|
+
});
|
|
83329
|
+
socket.on(roomEvent, function (data) {
|
|
83330
|
+
console.log(data);
|
|
83331
|
+
set_order_obj();
|
|
83332
|
+
});
|
|
83333
|
+
return _context2.abrupt("return", function () {
|
|
83334
|
+
socket.off('newOrder');
|
|
83335
|
+
});
|
|
83336
|
+
case 2:
|
|
83337
|
+
case "end":
|
|
83338
|
+
return _context2.stop();
|
|
83212
83339
|
}
|
|
83213
|
-
}
|
|
83340
|
+
}, _callee2);
|
|
83341
|
+
}));
|
|
83342
|
+
return _connectsocket.apply(this, arguments);
|
|
83343
|
+
}
|
|
83344
|
+
var set_order_obj = function set_order_obj() {
|
|
83345
|
+
var _authdetailsContext$i;
|
|
83346
|
+
var order_id = localStorage.getItem('currentOrderID');
|
|
83347
|
+
// setlastorderobj({ ...lastorderobj });
|
|
83348
|
+
// setinst_all_status_arr([...fetchorderhistoryQueryContext?.data?.data?.inst_all_status]);
|
|
83349
|
+
var instid = authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i = authdetailsContext.instinfo) === null || _authdetailsContext$i === void 0 ? void 0 : _authdetailsContext$i.instid;
|
|
83350
|
+
if (order_id != undefined && order_id != null && order_id.length != 0 && instid == '69e4b49b26217') {
|
|
83351
|
+
GeneralAPIMutationContext.mutate({
|
|
83352
|
+
endpointurl: '/p_fetchorderinformation',
|
|
83353
|
+
orderid: order_id,
|
|
83354
|
+
mutateSuccesscallback: function mutateSuccesscallback(data, variables) {
|
|
83355
|
+
var _data$data;
|
|
83356
|
+
var templastorderobj = {};
|
|
83357
|
+
if ((data === null || data === void 0 || (_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.data) != null) {
|
|
83358
|
+
var _data$data2;
|
|
83359
|
+
templastorderobj = data.data.data;
|
|
83360
|
+
setinst_all_status_arr(_toConsumableArray__default["default"](data === null || data === void 0 || (_data$data2 = data.data) === null || _data$data2 === void 0 ? void 0 : _data$data2.inst_all_status));
|
|
83361
|
+
setShowOrderModal(true);
|
|
83362
|
+
} else {
|
|
83363
|
+
templastorderobj = {
|
|
83364
|
+
status: false
|
|
83365
|
+
};
|
|
83366
|
+
}
|
|
83367
|
+
setlastorderobj(_objectSpread$P({}, templastorderobj));
|
|
83368
|
+
}
|
|
83369
|
+
});
|
|
83370
|
+
} else {
|
|
83371
|
+
setlastorderobj({
|
|
83372
|
+
status: false
|
|
83373
|
+
});
|
|
83214
83374
|
}
|
|
83215
|
-
}
|
|
83375
|
+
};
|
|
83376
|
+
React.useEffect(function () {
|
|
83377
|
+
var _authdetailsContext$i2;
|
|
83378
|
+
if (authdetailsContext != undefined && authdetailsContext != null && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.instinfo) != undefined && (authdetailsContext === null || authdetailsContext === void 0 ? void 0 : authdetailsContext.instinfo) != null && (authdetailsContext === null || authdetailsContext === void 0 || (_authdetailsContext$i2 = authdetailsContext.instinfo) === null || _authdetailsContext$i2 === void 0 ? void 0 : _authdetailsContext$i2.instid) != undefined) {
|
|
83379
|
+
set_order_obj();
|
|
83380
|
+
}
|
|
83381
|
+
// var current_stored_order_obj = localStorage.getItem('currentOrderObj');
|
|
83382
|
+
// if (fetchorderhistoryQueryContext.isSuccess) {
|
|
83383
|
+
// if (fetchorderhistoryQueryContext?.data != undefined && fetchorderhistoryQueryContext?.data?.data?.ordershistory?.length > 0) {
|
|
83384
|
+
// var lastorderobj = fetchorderhistoryQueryContext?.data?.data?.ordershistory[0];
|
|
83385
|
+
// setlastorderobj({ ...lastorderobj });
|
|
83386
|
+
// if (fetchorderhistoryQueryContext?.data?.data?.inst_all_status != undefined && fetchorderhistoryQueryContext?.data?.data?.inst_all_status?.length > 0) {
|
|
83387
|
+
// setinst_all_status_arr([...fetchorderhistoryQueryContext?.data?.data?.inst_all_status]);
|
|
83388
|
+
// }
|
|
83389
|
+
// }
|
|
83390
|
+
// }
|
|
83391
|
+
}, [authdetailsContext]);
|
|
83216
83392
|
React.useEffect(function () {
|
|
83217
83393
|
if (props.srcfrom == 'addsectionform') {
|
|
83218
83394
|
var secpropobj = {};
|
|
@@ -83248,19 +83424,16 @@
|
|
|
83248
83424
|
}
|
|
83249
83425
|
}
|
|
83250
83426
|
}, [sectionproperties]);
|
|
83251
|
-
var _useState11 = React.useState(false),
|
|
83252
|
-
_useState12 = _slicedToArray__default["default"](_useState11, 2),
|
|
83253
|
-
showOrderModal = _useState12[0],
|
|
83254
|
-
setShowOrderModal = _useState12[1];
|
|
83255
83427
|
var handleClose = function handleClose() {
|
|
83256
83428
|
setShowOrderModal(false);
|
|
83257
83429
|
};
|
|
83258
|
-
|
|
83259
|
-
|
|
83260
|
-
|
|
83261
|
-
|
|
83262
|
-
|
|
83263
|
-
}, [authdetailsContext
|
|
83430
|
+
|
|
83431
|
+
// useEffect(() => {
|
|
83432
|
+
// if (authdetailsContext?.loggedin && lastorderobj && Object.keys(lastorderobj).length > 0 && lastorderobj?.instorderstatus?.orderstatusname_en !== 'Delivered') {
|
|
83433
|
+
// setShowOrderModal(true);
|
|
83434
|
+
// }
|
|
83435
|
+
// }, [authdetailsContext?.loggedin, lastorderobj]);
|
|
83436
|
+
|
|
83264
83437
|
var sectionstyles = {
|
|
83265
83438
|
statimage: glamor.css({
|
|
83266
83439
|
width: 150,
|
|
@@ -83274,7 +83447,7 @@
|
|
|
83274
83447
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
83275
83448
|
"class": "row m-0 w-100 px-5 align-items-center justify-content-center py-5",
|
|
83276
83449
|
style: {
|
|
83277
|
-
display: authdetailsContext
|
|
83450
|
+
// display: authdetailsContext?.loggedin ? 'flex' : 'none',
|
|
83278
83451
|
background: '#fff'
|
|
83279
83452
|
}
|
|
83280
83453
|
}, /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal, {
|
|
@@ -83293,7 +83466,7 @@
|
|
|
83293
83466
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
83294
83467
|
className: "allcentered cursor-pointer",
|
|
83295
83468
|
onClick: function onClick() {
|
|
83296
|
-
|
|
83469
|
+
handleClose();
|
|
83297
83470
|
},
|
|
83298
83471
|
style: {
|
|
83299
83472
|
width: 35,
|
|
@@ -83306,7 +83479,7 @@
|
|
|
83306
83479
|
size: 30,
|
|
83307
83480
|
"class": "",
|
|
83308
83481
|
color: '#fff'
|
|
83309
|
-
})))),
|
|
83482
|
+
})))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
83310
83483
|
"class": "row m-0 w-100 allcentered"
|
|
83311
83484
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
83312
83485
|
"class": "col-12 allcentered"
|
|
@@ -83317,7 +83490,7 @@
|
|
|
83317
83490
|
fontSize: 25,
|
|
83318
83491
|
fontWeight: 700
|
|
83319
83492
|
}
|
|
83320
|
-
},
|
|
83493
|
+
}, langdetect == 'en' ? 'Track Your Order Status' : 'تتبع حالة طلبك')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
83321
83494
|
"class": "col-12 allcentered"
|
|
83322
83495
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
83323
83496
|
"class": "m-0 p-0 text-center wordbreak",
|
|
@@ -83326,7 +83499,7 @@
|
|
|
83326
83499
|
fontSize: 20,
|
|
83327
83500
|
fontWeight: 600
|
|
83328
83501
|
}
|
|
83329
|
-
},
|
|
83502
|
+
}, langdetect == 'en' ? 'Stay updated with your order every step of the way' : 'ابقَ على اطلاع دائم بطلبك في كل خطوة على الطريق')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
83330
83503
|
"class": "col-12 allcentered mb-4"
|
|
83331
83504
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
83332
83505
|
"class": "m-0 p-0 text-center wordbreak",
|
|
@@ -83335,14 +83508,14 @@
|
|
|
83335
83508
|
fontSize: 25,
|
|
83336
83509
|
fontWeight: 700
|
|
83337
83510
|
}
|
|
83338
|
-
}, "Order Number: ", lastorderobj === null || lastorderobj === void 0 ? void 0 :
|
|
83511
|
+
}, "Order Number: 100", lastorderobj === null || lastorderobj === void 0 || (_lastorderobj$orderin = lastorderobj.orderinfo) === null || _lastorderobj$orderin === void 0 ? void 0 : _lastorderobj$orderin.orderid)), inst_all_status_arr.length != 0 && (inst_all_status_arr === null || inst_all_status_arr === void 0 ? void 0 : inst_all_status_arr.map(function (item, index) {
|
|
83339
83512
|
var foundIndex = inst_all_status_arr.findIndex(function (status) {
|
|
83340
|
-
var _lastorderobj$
|
|
83341
|
-
return status.orderstatuslogid === (lastorderobj === null || lastorderobj === void 0 || (_lastorderobj$
|
|
83513
|
+
var _lastorderobj$orderst;
|
|
83514
|
+
return status.orderstatuslogid === (lastorderobj === null || lastorderobj === void 0 || (_lastorderobj$orderst = lastorderobj.orderstatus) === null || _lastorderobj$orderst === void 0 ? void 0 : _lastorderobj$orderst.orderstatuslogid);
|
|
83342
83515
|
});
|
|
83343
83516
|
var currentStatusIndex = foundIndex === -1 ? 0 : foundIndex;
|
|
83344
83517
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
83345
|
-
"class": "col-3 col-md-6 \u0629\u0644\u0627-3 col-sm-12 allcentered col-md-4"
|
|
83518
|
+
"class": "col-3 col-md-6 \u0629\u0644\u0627-3 col-sm-12 allcentered col-md-4 mb-md-3"
|
|
83346
83519
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
83347
83520
|
className: "row m-0 w-100 flex-column allcentered p-4 ".concat(index === currentStatusIndex ? 'current-status' : ''),
|
|
83348
83521
|
style: {
|
|
@@ -83353,7 +83526,7 @@
|
|
|
83353
83526
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
83354
83527
|
className: sectionstyles.statimage + ' mb-1 '
|
|
83355
83528
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
83356
|
-
src: index == 0 ? 'https://ik.imagekit.io/42fa3n8bbf/products/69e4b49b26217/6a4543a0e4207generalimage.png' : index == 1 ? 'https://ik.imagekit.io/42fa3n8bbf/products/69e4b49b26217/6a453edf30256generalimage.png' : 'https://tabexseriesmedia.s3.eu-north-1.amazonaws.com/products/69e4b49b26217/6a4bb6a19bdd2generalimage.png',
|
|
83529
|
+
src: index == 0 ? 'https://ik.imagekit.io/42fa3n8bbf/products/69e4b49b26217/6a4543a0e4207generalimage.png' : index == 1 ? 'https://ik.imagekit.io/42fa3n8bbf/products/69e4b49b26217/6a453edf30256generalimage.png' : index == 2 ? 'https://ik.imagekit.io/42fa3n8bbf/products/69e4b49b26217/6a53b91573b4ageneralimage.png' : 'https://tabexseriesmedia.s3.eu-north-1.amazonaws.com/products/69e4b49b26217/6a4bb6a19bdd2generalimage.png',
|
|
83357
83530
|
style: {
|
|
83358
83531
|
width: '100%',
|
|
83359
83532
|
height: '100%',
|
|
@@ -83376,19 +83549,23 @@
|
|
|
83376
83549
|
}
|
|
83377
83550
|
}, langdetect == 'en' ? item.orderstatusname_en : item.orderstatusname_en)));
|
|
83378
83551
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
83379
|
-
"class": "col-12 allcentered mt-
|
|
83552
|
+
"class": "col-12 allcentered mt-5"
|
|
83380
83553
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
83381
83554
|
className: "p-2",
|
|
83382
83555
|
style: {
|
|
83383
|
-
width:
|
|
83556
|
+
width: 300,
|
|
83384
83557
|
height: 45,
|
|
83385
|
-
borderRadius:
|
|
83386
|
-
background: 'green'
|
|
83558
|
+
borderRadius: 12,
|
|
83559
|
+
background: 'green',
|
|
83560
|
+
color: '#fff'
|
|
83387
83561
|
},
|
|
83388
83562
|
onClick: function onClick() {
|
|
83389
|
-
fetchorderhistoryQueryContext.refetch();
|
|
83563
|
+
// fetchorderhistoryQueryContext.refetch();
|
|
83564
|
+
// set_order_obj();
|
|
83565
|
+
localStorage.setItem('currentOrderID', null);
|
|
83566
|
+
setShowOrderModal(false);
|
|
83390
83567
|
}
|
|
83391
|
-
}, "
|
|
83568
|
+
}, langdetect == 'en' ? "Thank you I've received my order" : 'شكرا لقد استلمت الطلب')))), /*#__PURE__*/React__default["default"].createElement(reactBootstrap.Modal.Footer, null)));
|
|
83392
83569
|
};
|
|
83393
83570
|
|
|
83394
83571
|
function ownKeys$O(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; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tabexseriescomponents",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1389",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "your description",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
@@ -65,7 +65,8 @@
|
|
|
65
65
|
"rollup-plugin-postcss": "^4.0.2",
|
|
66
66
|
"rollup-plugin-terser": "^7.0.2",
|
|
67
67
|
"swiper": "^9.2.4",
|
|
68
|
-
"universal-cookie": "^4.0.4"
|
|
68
|
+
"universal-cookie": "^4.0.4",
|
|
69
|
+
"socket.io-client": "^4.7.5"
|
|
69
70
|
},
|
|
70
71
|
"keywords": [
|
|
71
72
|
"react",
|