@bjsdistribution/dms-client-return 0.0.68 → 0.0.69
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/common/date-picker/header/ClearDate.d.ts +1 -1
- package/dist/components/order-daily-overview/table/table-data/styles.d.ts +3 -3
- package/dist/components/order-daily-overview/table-view/TableStyle.d.ts +4 -4
- package/dist/components/order-view/view-reminder/reminder-styles.d.ts +2 -2
- package/dist/dms-client-return.cjs.development.js +25 -26
- package/dist/dms-client-return.cjs.development.js.map +1 -1
- package/dist/dms-client-return.cjs.production.min.js +1 -1
- package/dist/dms-client-return.cjs.production.min.js.map +1 -1
- package/dist/dms-client-return.esm.js +25 -26
- package/dist/dms-client-return.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/index.tsx +1 -1
|
@@ -54,7 +54,7 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
54
54
|
if (null == r) return {};
|
|
55
55
|
var t = {};
|
|
56
56
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
57
|
-
if (e.
|
|
57
|
+
if (e.includes(n)) continue;
|
|
58
58
|
t[n] = r[n];
|
|
59
59
|
}
|
|
60
60
|
return t;
|
|
@@ -3835,7 +3835,7 @@ function SpokePhoneIcon() {
|
|
|
3835
3835
|
|
|
3836
3836
|
function useCopyToClipboard() {
|
|
3837
3837
|
var copy = /*#__PURE__*/function () {
|
|
3838
|
-
var _ref = _asyncToGenerator(
|
|
3838
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(text) {
|
|
3839
3839
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
3840
3840
|
while (1) switch (_context.prev = _context.next) {
|
|
3841
3841
|
case 0:
|
|
@@ -5228,7 +5228,7 @@ function useUpdateOrder() {
|
|
|
5228
5228
|
var _useUpdateApiCall = useUpdateApiCall(),
|
|
5229
5229
|
setCallApi = _useUpdateApiCall[1]; //single detail
|
|
5230
5230
|
var update = /*#__PURE__*/function () {
|
|
5231
|
-
var _ref = _asyncToGenerator(
|
|
5231
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
5232
5232
|
var endpoint, signal, requestOptions, response, json;
|
|
5233
5233
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
5234
5234
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -5336,7 +5336,7 @@ function OrderDetailsFooter() {
|
|
|
5336
5336
|
return !isSame;
|
|
5337
5337
|
};
|
|
5338
5338
|
var onSave = /*#__PURE__*/function () {
|
|
5339
|
-
var _ref = _asyncToGenerator(
|
|
5339
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5340
5340
|
var _response$data;
|
|
5341
5341
|
var payload, response, _response$data$, _response$data$2;
|
|
5342
5342
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
@@ -5454,7 +5454,7 @@ function AddNote() {
|
|
|
5454
5454
|
notificationData = _useState2[0],
|
|
5455
5455
|
setNotificationData = _useState2[1];
|
|
5456
5456
|
var saveNote = /*#__PURE__*/function () {
|
|
5457
|
-
var _ref = _asyncToGenerator(
|
|
5457
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5458
5458
|
var endpoint, payload, response;
|
|
5459
5459
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
5460
5460
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -5957,7 +5957,7 @@ var tableColumns = [{
|
|
|
5957
5957
|
function useGetEventNotes() {
|
|
5958
5958
|
var ssoToken = getCookie('id_token');
|
|
5959
5959
|
var perform = /*#__PURE__*/function () {
|
|
5960
|
-
var _ref = _asyncToGenerator(
|
|
5960
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5961
5961
|
var endpoint, headers, response, _detail$, _json, detail, msg, json;
|
|
5962
5962
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
5963
5963
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -6042,7 +6042,7 @@ function SystemLogs() {
|
|
|
6042
6042
|
setNotesData = _useEventNotesData[1];
|
|
6043
6043
|
// const gsitId = orderDetails?.gsit_order_id;
|
|
6044
6044
|
var fetchReminderData = /*#__PURE__*/function () {
|
|
6045
|
-
var _ref = _asyncToGenerator(
|
|
6045
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
6046
6046
|
var result;
|
|
6047
6047
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
6048
6048
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -8246,7 +8246,7 @@ function ConfirmOrder() {
|
|
|
8246
8246
|
return Object.keys(obj).length === 1 && obj.hasOwnProperty('id');
|
|
8247
8247
|
}
|
|
8248
8248
|
var ConfirmOrder = /*#__PURE__*/function () {
|
|
8249
|
-
var _ref = _asyncToGenerator(
|
|
8249
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
8250
8250
|
var keysToRemovefromOrders, filteredOrderDetails, filteredPrevOrderDetails, payload, notUpdateOrder, _response$data, _response, formattedDate;
|
|
8251
8251
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
8252
8252
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -9093,7 +9093,7 @@ function useFetchSingleReminderData() {
|
|
|
9093
9093
|
setLoading = _useFlagsLoading[1];
|
|
9094
9094
|
var ssoToken = getCookie('id_token');
|
|
9095
9095
|
var res = /*#__PURE__*/function () {
|
|
9096
|
-
var _ref = _asyncToGenerator(
|
|
9096
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
9097
9097
|
var endpoint, headers, response, _detail$, _json, detail, msg, json;
|
|
9098
9098
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
9099
9099
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -9192,7 +9192,7 @@ function useUpdateReminder() {
|
|
|
9192
9192
|
var _useFlagsLoading = useFlagsLoading(),
|
|
9193
9193
|
setLoading = _useFlagsLoading[1];
|
|
9194
9194
|
var update = /*#__PURE__*/function () {
|
|
9195
|
-
var _ref = _asyncToGenerator(
|
|
9195
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
9196
9196
|
var endpoint, requestOptions, response, json;
|
|
9197
9197
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
9198
9198
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -9262,7 +9262,7 @@ function useFetchReminders() {
|
|
|
9262
9262
|
var _useOrderDetails = useOrderDetails(),
|
|
9263
9263
|
OrderData = _useOrderDetails[0];
|
|
9264
9264
|
var perform = /*#__PURE__*/function () {
|
|
9265
|
-
var _ref = _asyncToGenerator(
|
|
9265
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
9266
9266
|
var endpoint, headers, response, _detail$, _json, detail, msg, json;
|
|
9267
9267
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
9268
9268
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -9370,7 +9370,7 @@ var ViewReminderModal = function ViewReminderModal() {
|
|
|
9370
9370
|
setCurrentAction(undefined);
|
|
9371
9371
|
};
|
|
9372
9372
|
var fetchReminderData = /*#__PURE__*/function () {
|
|
9373
|
-
var _ref = _asyncToGenerator(
|
|
9373
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
9374
9374
|
var result;
|
|
9375
9375
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
9376
9376
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -9443,7 +9443,7 @@ var ViewReminderModal = function ViewReminderModal() {
|
|
|
9443
9443
|
}));
|
|
9444
9444
|
};
|
|
9445
9445
|
var handleEditReminder = /*#__PURE__*/function () {
|
|
9446
|
-
var _ref2 = _asyncToGenerator(
|
|
9446
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
9447
9447
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
9448
9448
|
while (1) switch (_context2.prev = _context2.next) {
|
|
9449
9449
|
case 0:
|
|
@@ -9764,7 +9764,7 @@ function useCreateReminder() {
|
|
|
9764
9764
|
var _useFlagsLoading = useFlagsLoading(),
|
|
9765
9765
|
setLoading = _useFlagsLoading[1];
|
|
9766
9766
|
var create = /*#__PURE__*/function () {
|
|
9767
|
-
var _ref = _asyncToGenerator(
|
|
9767
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
9768
9768
|
var endpoint, requestOptions, response, json;
|
|
9769
9769
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
9770
9770
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -9842,7 +9842,7 @@ function useFetchUnresolvedTasks() {
|
|
|
9842
9842
|
var _useOrderDetails = useOrderDetails(),
|
|
9843
9843
|
OrderData = _useOrderDetails[0];
|
|
9844
9844
|
var perform = /*#__PURE__*/function () {
|
|
9845
|
-
var _ref = _asyncToGenerator(
|
|
9845
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
9846
9846
|
var endpoint, headers, response, _detail$, _json, detail, msg, json;
|
|
9847
9847
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
9848
9848
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -9992,7 +9992,7 @@ function TaskReminderModal() {
|
|
|
9992
9992
|
setReminderPayload(initialValue);
|
|
9993
9993
|
};
|
|
9994
9994
|
var handleReminderSubmit = /*#__PURE__*/function () {
|
|
9995
|
-
var _ref = _asyncToGenerator(
|
|
9995
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
9996
9996
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
9997
9997
|
while (1) switch (_context.prev = _context.next) {
|
|
9998
9998
|
case 0:
|
|
@@ -10042,7 +10042,7 @@ function OrderLock() {
|
|
|
10042
10042
|
setCurrentAction(undefined);
|
|
10043
10043
|
};
|
|
10044
10044
|
var onComplete = /*#__PURE__*/function () {
|
|
10045
|
-
var _ref = _asyncToGenerator(
|
|
10045
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
10046
10046
|
var isLocked, payload, response;
|
|
10047
10047
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
10048
10048
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -10089,7 +10089,7 @@ function useUpdateFlag() {
|
|
|
10089
10089
|
var _useFlagsLoading = useFlagsLoading(),
|
|
10090
10090
|
setLoading = _useFlagsLoading[1];
|
|
10091
10091
|
var create = /*#__PURE__*/function () {
|
|
10092
|
-
var _ref = _asyncToGenerator(
|
|
10092
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
10093
10093
|
var endpoint, requestOptions, response, json;
|
|
10094
10094
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
10095
10095
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -10181,7 +10181,7 @@ function HeaderSection() {
|
|
|
10181
10181
|
setIsModalOpen(false);
|
|
10182
10182
|
};
|
|
10183
10183
|
var saveButton = /*#__PURE__*/function () {
|
|
10184
|
-
var _ref = _asyncToGenerator(
|
|
10184
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
10185
10185
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
10186
10186
|
while (1) switch (_context.prev = _context.next) {
|
|
10187
10187
|
case 0:
|
|
@@ -10357,7 +10357,7 @@ function ActionSection() {
|
|
|
10357
10357
|
setLoading = _useFlagsLoading[1];
|
|
10358
10358
|
var updateFlag = useUpdateFlag();
|
|
10359
10359
|
var onSubmit = /*#__PURE__*/function () {
|
|
10360
|
-
var _ref = _asyncToGenerator(
|
|
10360
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
10361
10361
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
10362
10362
|
while (1) switch (_context.prev = _context.next) {
|
|
10363
10363
|
case 0:
|
|
@@ -10464,7 +10464,7 @@ function useFetchSingleFlagsData() {
|
|
|
10464
10464
|
var ssoToken = getCookie('id_token');
|
|
10465
10465
|
console.log(loading, 'loading loading');
|
|
10466
10466
|
var res = /*#__PURE__*/function () {
|
|
10467
|
-
var _ref = _asyncToGenerator(
|
|
10467
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
10468
10468
|
var endpoint, headers, response, _detail$, _json, detail, msg, json;
|
|
10469
10469
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
10470
10470
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -10595,7 +10595,7 @@ function ViewFlag() {
|
|
|
10595
10595
|
}
|
|
10596
10596
|
}, [staticData]);
|
|
10597
10597
|
var fetchAndSetSingleFlagData = /*#__PURE__*/function () {
|
|
10598
|
-
var _ref = _asyncToGenerator(
|
|
10598
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
10599
10599
|
var result;
|
|
10600
10600
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
10601
10601
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -10779,7 +10779,7 @@ function useSystemLogs() {
|
|
|
10779
10779
|
var _useOrderProductSyste = useOrderProductSystemLogs(),
|
|
10780
10780
|
setSystemLogsEvents = _useOrderProductSyste[1];
|
|
10781
10781
|
var perform = /*#__PURE__*/function () {
|
|
10782
|
-
var _ref = _asyncToGenerator(
|
|
10782
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
10783
10783
|
var endpoint, headers, response, _detail$, _json, detail, msg, json;
|
|
10784
10784
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
10785
10785
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -11384,7 +11384,7 @@ function OrderView() {
|
|
|
11384
11384
|
var _useOrderProductSyste = useOrderProductSystemLogs(),
|
|
11385
11385
|
setSystemLogsEvents = _useOrderProductSyste[1];
|
|
11386
11386
|
var fetchReminderData = /*#__PURE__*/function () {
|
|
11387
|
-
var _ref = _asyncToGenerator(
|
|
11387
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
11388
11388
|
var result;
|
|
11389
11389
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
11390
11390
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -11920,8 +11920,7 @@ function ReturnClient() {
|
|
|
11920
11920
|
method: 'GET',
|
|
11921
11921
|
//@ts-ignore
|
|
11922
11922
|
pagination: {
|
|
11923
|
-
|
|
11924
|
-
per_page: 50
|
|
11923
|
+
is_pagination: false
|
|
11925
11924
|
}
|
|
11926
11925
|
}),
|
|
11927
11926
|
fetchedCustomerData = _useApiHook.data,
|