@bjsdistribution/dms-client-return 0.0.5 → 0.0.6
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/common/css/TableStyle.d.ts +4 -4
- 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 +26 -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 +26 -26
- package/dist/dms-client-return.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/index.tsx +2 -2
|
@@ -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.indexOf(n) >= 0) continue;
|
|
58
58
|
t[n] = r[n];
|
|
59
59
|
}
|
|
60
60
|
return t;
|
|
@@ -498,7 +498,7 @@ function SpokePhoneIcon() {
|
|
|
498
498
|
|
|
499
499
|
function useCopyToClipboard() {
|
|
500
500
|
var copy = /*#__PURE__*/function () {
|
|
501
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(text) {
|
|
501
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(text) {
|
|
502
502
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
503
503
|
while (1) switch (_context.prev = _context.next) {
|
|
504
504
|
case 0:
|
|
@@ -2273,7 +2273,7 @@ function AddNote() {
|
|
|
2273
2273
|
notificationData = _useState2[0],
|
|
2274
2274
|
setNotificationData = _useState2[1];
|
|
2275
2275
|
var saveNote = /*#__PURE__*/function () {
|
|
2276
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
2276
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
2277
2277
|
var endpoint, payload, response, message, error;
|
|
2278
2278
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
2279
2279
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -2788,7 +2788,7 @@ var tableColumns = [{
|
|
|
2788
2788
|
function useGetEventNotes() {
|
|
2789
2789
|
var ssoToken = getCookie('id_token');
|
|
2790
2790
|
var perform = /*#__PURE__*/function () {
|
|
2791
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
2791
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
2792
2792
|
var endpoint, headers, response, _detail$, _json, detail, msg, json;
|
|
2793
2793
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
2794
2794
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -2867,7 +2867,7 @@ function SystemLogs() {
|
|
|
2867
2867
|
setNotesData = _useEventNotesData[1];
|
|
2868
2868
|
var gsitId = orderDetails == null ? void 0 : orderDetails.gsit_order_id;
|
|
2869
2869
|
var fetchReminderData = /*#__PURE__*/function () {
|
|
2870
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
2870
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
2871
2871
|
var result;
|
|
2872
2872
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
2873
2873
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -4071,7 +4071,7 @@ var UpdateProductType = function UpdateProductType() {
|
|
|
4071
4071
|
setCurrentAction(undefined);
|
|
4072
4072
|
};
|
|
4073
4073
|
var onChange = /*#__PURE__*/function () {
|
|
4074
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(event) {
|
|
4074
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(event) {
|
|
4075
4075
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
4076
4076
|
while (1) switch (_context.prev = _context.next) {
|
|
4077
4077
|
case 0:
|
|
@@ -5726,7 +5726,7 @@ function useFetchSingleReminderData() {
|
|
|
5726
5726
|
setLoading = _useFlagsLoading[1];
|
|
5727
5727
|
var ssoToken = getCookie('id_token');
|
|
5728
5728
|
var res = /*#__PURE__*/function () {
|
|
5729
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5729
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5730
5730
|
var endpoint, headers, response, _detail$, _json, detail, msg, json;
|
|
5731
5731
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
5732
5732
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -5833,7 +5833,7 @@ function useUpdateReminder() {
|
|
|
5833
5833
|
var _useFlagsLoading = useFlagsLoading(),
|
|
5834
5834
|
setLoading = _useFlagsLoading[1];
|
|
5835
5835
|
var update = /*#__PURE__*/function () {
|
|
5836
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
5836
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
5837
5837
|
var endpoint, requestOptions, response, json;
|
|
5838
5838
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
5839
5839
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -5895,7 +5895,7 @@ function useFetchReminders() {
|
|
|
5895
5895
|
var _useOrderDetails = useOrderDetails(),
|
|
5896
5896
|
OrderData = _useOrderDetails[0];
|
|
5897
5897
|
var perform = /*#__PURE__*/function () {
|
|
5898
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5898
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5899
5899
|
var endpoint, headers, response, _detail$, _json, detail, msg, json;
|
|
5900
5900
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
5901
5901
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -5996,7 +5996,7 @@ var ViewReminderModal = function ViewReminderModal() {
|
|
|
5996
5996
|
setCurrentAction(undefined);
|
|
5997
5997
|
};
|
|
5998
5998
|
var fetchReminderData = /*#__PURE__*/function () {
|
|
5999
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
5999
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
6000
6000
|
var result;
|
|
6001
6001
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
6002
6002
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -6069,7 +6069,7 @@ var ViewReminderModal = function ViewReminderModal() {
|
|
|
6069
6069
|
}));
|
|
6070
6070
|
};
|
|
6071
6071
|
var handleEditReminder = /*#__PURE__*/function () {
|
|
6072
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
6072
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
6073
6073
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
6074
6074
|
while (1) switch (_context2.prev = _context2.next) {
|
|
6075
6075
|
case 0:
|
|
@@ -6637,7 +6637,7 @@ function useCreateTask() {
|
|
|
6637
6637
|
var _useFlagsLoading = useFlagsLoading(),
|
|
6638
6638
|
setLoading = _useFlagsLoading[1];
|
|
6639
6639
|
var create = /*#__PURE__*/function () {
|
|
6640
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
6640
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
6641
6641
|
var endpoint, requestOptions, response, json;
|
|
6642
6642
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
6643
6643
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -6702,7 +6702,7 @@ function useCreateReminder() {
|
|
|
6702
6702
|
var _useFlagsLoading = useFlagsLoading(),
|
|
6703
6703
|
setLoading = _useFlagsLoading[1];
|
|
6704
6704
|
var create = /*#__PURE__*/function () {
|
|
6705
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
6705
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
6706
6706
|
var endpoint, requestOptions, response, json;
|
|
6707
6707
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
6708
6708
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -6768,7 +6768,7 @@ function useFetchUnresolvedTasks() {
|
|
|
6768
6768
|
var _useOrderDetails = useOrderDetails(),
|
|
6769
6769
|
OrderData = _useOrderDetails[0];
|
|
6770
6770
|
var perform = /*#__PURE__*/function () {
|
|
6771
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
6771
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
6772
6772
|
var endpoint, headers, response, _detail$, _json, detail, msg, json;
|
|
6773
6773
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
6774
6774
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -6935,7 +6935,7 @@ function TaskReminderModal() {
|
|
|
6935
6935
|
}
|
|
6936
6936
|
};
|
|
6937
6937
|
var handleTaskSubmit = /*#__PURE__*/function () {
|
|
6938
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
6938
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
6939
6939
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
6940
6940
|
while (1) switch (_context.prev = _context.next) {
|
|
6941
6941
|
case 0:
|
|
@@ -6957,7 +6957,7 @@ function TaskReminderModal() {
|
|
|
6957
6957
|
};
|
|
6958
6958
|
}();
|
|
6959
6959
|
var handleReminderSubmit = /*#__PURE__*/function () {
|
|
6960
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
6960
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
6961
6961
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
6962
6962
|
while (1) switch (_context2.prev = _context2.next) {
|
|
6963
6963
|
case 0:
|
|
@@ -7022,7 +7022,7 @@ function useUpdateOrder() {
|
|
|
7022
7022
|
var controller;
|
|
7023
7023
|
var ssoToken = getCookie('id_token');
|
|
7024
7024
|
var update = /*#__PURE__*/function () {
|
|
7025
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
7025
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
7026
7026
|
var endpoint, signal, requestOptions, response, json;
|
|
7027
7027
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
7028
7028
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -7095,7 +7095,7 @@ function OrderLock() {
|
|
|
7095
7095
|
setCurrentAction(undefined);
|
|
7096
7096
|
};
|
|
7097
7097
|
var onComplete = /*#__PURE__*/function () {
|
|
7098
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
7098
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
7099
7099
|
var isLocked, payload, response;
|
|
7100
7100
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
7101
7101
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -7142,7 +7142,7 @@ function useUpdateFlag() {
|
|
|
7142
7142
|
var _useFlagsLoading = useFlagsLoading(),
|
|
7143
7143
|
setLoading = _useFlagsLoading[1];
|
|
7144
7144
|
var create = /*#__PURE__*/function () {
|
|
7145
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
7145
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
7146
7146
|
var endpoint, requestOptions, response, json;
|
|
7147
7147
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
7148
7148
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -7226,7 +7226,7 @@ function HeaderSection() {
|
|
|
7226
7226
|
setIsModalOpen(false);
|
|
7227
7227
|
};
|
|
7228
7228
|
var saveButton = /*#__PURE__*/function () {
|
|
7229
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
7229
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
7230
7230
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
7231
7231
|
while (1) switch (_context.prev = _context.next) {
|
|
7232
7232
|
case 0:
|
|
@@ -7402,7 +7402,7 @@ function ActionSection() {
|
|
|
7402
7402
|
setLoading = _useFlagsLoading[1];
|
|
7403
7403
|
var updateFlag = useUpdateFlag();
|
|
7404
7404
|
var onSubmit = /*#__PURE__*/function () {
|
|
7405
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
7405
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
7406
7406
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
7407
7407
|
while (1) switch (_context.prev = _context.next) {
|
|
7408
7408
|
case 0:
|
|
@@ -7511,7 +7511,7 @@ function useFetchSingleFlagsData() {
|
|
|
7511
7511
|
var ssoToken = getCookie('id_token');
|
|
7512
7512
|
console.log(loading, "loading loading");
|
|
7513
7513
|
var res = /*#__PURE__*/function () {
|
|
7514
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
7514
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
7515
7515
|
var endpoint, headers, response, _detail$, _json, detail, msg, json;
|
|
7516
7516
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
7517
7517
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -7635,7 +7635,7 @@ function ViewFlag() {
|
|
|
7635
7635
|
}
|
|
7636
7636
|
}, [staticData]);
|
|
7637
7637
|
var fetchAndSetSingleFlagData = /*#__PURE__*/function () {
|
|
7638
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
7638
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
7639
7639
|
var result;
|
|
7640
7640
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
7641
7641
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -7811,7 +7811,7 @@ function useSystemLogs() {
|
|
|
7811
7811
|
var _useOrderProductSyste = useOrderProductSystemLogs(),
|
|
7812
7812
|
setSystemLogsEvents = _useOrderProductSyste[1];
|
|
7813
7813
|
var perform = /*#__PURE__*/function () {
|
|
7814
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
7814
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
7815
7815
|
var endpoint, headers, response, _detail$, _json, detail, msg, json;
|
|
7816
7816
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
7817
7817
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -8003,7 +8003,7 @@ function OrderView() {
|
|
|
8003
8003
|
var _useOrderProductSyste = useOrderProductSystemLogs(),
|
|
8004
8004
|
setSystemLogsEvents = _useOrderProductSyste[1];
|
|
8005
8005
|
var fetchReminderData = /*#__PURE__*/function () {
|
|
8006
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
8006
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
8007
8007
|
var result;
|
|
8008
8008
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
8009
8009
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -10676,7 +10676,7 @@ function ReturnClient() {
|
|
|
10676
10676
|
}), React.createElement(Route, {
|
|
10677
10677
|
path: "",
|
|
10678
10678
|
element: selectedClient ? React.createElement(Navigate, {
|
|
10679
|
-
to: "/return/" + selectedClient
|
|
10679
|
+
to: "returnclient/return/" + selectedClient
|
|
10680
10680
|
}) : React.createElement(ReturnMainTable, null)
|
|
10681
10681
|
})));
|
|
10682
10682
|
}
|