aq-fe-framework 0.1.526 → 0.1.527
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/{chunk-3XSLM5GI.mjs → chunk-DH6RVK5I.mjs} +4 -3
- package/dist/{chunk-4HPNDEJQ.mjs → chunk-FOE3PTQC.mjs} +5 -5
- package/dist/{chunk-NAUH6JUN.mjs → chunk-PFOC2A7E.mjs} +1 -1
- package/dist/components/index.mjs +2 -2
- package/dist/core/index.mjs +4 -4
- package/dist/hooks/index.mjs +1 -1
- package/dist/modules-features/index.mjs +7 -7
- package/package.json +1 -1
@@ -210,12 +210,13 @@ function useMyReactMutation({
|
|
210
210
|
enableDefaultError = true
|
211
211
|
}) {
|
212
212
|
const queryClient = useQueryClient2();
|
213
|
-
return useMutation(__spreadValues({
|
213
|
+
return useMutation(__spreadProps(__spreadValues({
|
214
214
|
mutationFn: async (values) => {
|
215
215
|
const res = await axiosFn(values);
|
216
216
|
if (res.data.isSuccess == 0) throw new Error(res.data.message);
|
217
217
|
return res.data.data;
|
218
|
-
}
|
218
|
+
}
|
219
|
+
}, options), {
|
219
220
|
onSuccess: (data, variables, context) => {
|
220
221
|
var _a;
|
221
222
|
if (enableDefaultSuccess) {
|
@@ -244,7 +245,7 @@ function useMyReactMutation({
|
|
244
245
|
}
|
245
246
|
(_a = options == null ? void 0 : options.onError) == null ? void 0 : _a.call(options, error, variables, context);
|
246
247
|
}
|
247
|
-
}
|
248
|
+
}));
|
248
249
|
}
|
249
250
|
|
250
251
|
// src/hooks/custom-hooks/useMyReactQuery.ts
|
@@ -3,17 +3,17 @@ import {
|
|
3
3
|
MyDataTable,
|
4
4
|
MyFlexColumn,
|
5
5
|
MyFlexRow
|
6
|
-
} from "./chunk-
|
7
|
-
import {
|
8
|
-
enum_daysOfWeek
|
9
|
-
} from "./chunk-K6S7R6LU.mjs";
|
6
|
+
} from "./chunk-PFOC2A7E.mjs";
|
10
7
|
import {
|
11
8
|
const_object_colors
|
12
9
|
} from "./chunk-OMJJAHOC.mjs";
|
10
|
+
import {
|
11
|
+
enum_daysOfWeek
|
12
|
+
} from "./chunk-K6S7R6LU.mjs";
|
13
13
|
import {
|
14
14
|
useMyReactMutation,
|
15
15
|
useMyReactQuery
|
16
|
-
} from "./chunk-
|
16
|
+
} from "./chunk-DH6RVK5I.mjs";
|
17
17
|
import {
|
18
18
|
utils_notification_show
|
19
19
|
} from "./chunk-7ZCOFATU.mjs";
|
@@ -67,11 +67,11 @@ import {
|
|
67
67
|
useS_BasicAppShell,
|
68
68
|
useS_ButtonImport,
|
69
69
|
utils_layout_getItemsWithoutLinks
|
70
|
-
} from "../chunk-
|
70
|
+
} from "../chunk-PFOC2A7E.mjs";
|
71
71
|
import "../chunk-U62R2QKJ.mjs";
|
72
72
|
import "../chunk-5U2JSHSJ.mjs";
|
73
73
|
import "../chunk-OMJJAHOC.mjs";
|
74
|
-
import "../chunk-
|
74
|
+
import "../chunk-DH6RVK5I.mjs";
|
75
75
|
import "../chunk-7ZCOFATU.mjs";
|
76
76
|
import "../chunk-FWCSY2DS.mjs";
|
77
77
|
export {
|
package/dist/core/index.mjs
CHANGED
@@ -19,14 +19,14 @@ import {
|
|
19
19
|
MyStatsCard,
|
20
20
|
MyTextInput,
|
21
21
|
MyWeeklySessionSchedulerPicker
|
22
|
-
} from "../chunk-
|
23
|
-
import "../chunk-
|
22
|
+
} from "../chunk-FOE3PTQC.mjs";
|
23
|
+
import "../chunk-PFOC2A7E.mjs";
|
24
24
|
import "../chunk-U62R2QKJ.mjs";
|
25
25
|
import "../chunk-5U2JSHSJ.mjs";
|
26
|
-
import "../chunk-K6S7R6LU.mjs";
|
27
26
|
import "../chunk-GFEMKKFH.mjs";
|
28
27
|
import "../chunk-OMJJAHOC.mjs";
|
29
|
-
import "../chunk-
|
28
|
+
import "../chunk-K6S7R6LU.mjs";
|
29
|
+
import "../chunk-DH6RVK5I.mjs";
|
30
30
|
import "../chunk-7ZCOFATU.mjs";
|
31
31
|
import "../chunk-FWCSY2DS.mjs";
|
32
32
|
export {
|
package/dist/hooks/index.mjs
CHANGED
@@ -16,7 +16,7 @@ import {
|
|
16
16
|
MyButton as MyButton2,
|
17
17
|
MyDataTableSelectOne,
|
18
18
|
MyTextInput as MyTextInput2
|
19
|
-
} from "../chunk-
|
19
|
+
} from "../chunk-FOE3PTQC.mjs";
|
20
20
|
import {
|
21
21
|
F_authenticate_Logout,
|
22
22
|
MyActionIconDelete,
|
@@ -42,21 +42,21 @@ import {
|
|
42
42
|
groupToTwoLevels,
|
43
43
|
useS_authenticate,
|
44
44
|
utils_layout_getItemsWithoutLinks
|
45
|
-
} from "../chunk-
|
45
|
+
} from "../chunk-PFOC2A7E.mjs";
|
46
46
|
import {
|
47
47
|
createGenericStore
|
48
48
|
} from "../chunk-U62R2QKJ.mjs";
|
49
49
|
import "../chunk-5U2JSHSJ.mjs";
|
50
|
-
import {
|
51
|
-
enum_emailConfigModule
|
52
|
-
} from "../chunk-VH4ZAD6M.mjs";
|
53
|
-
import "../chunk-K6S7R6LU.mjs";
|
54
50
|
import {
|
55
51
|
const_object_documentTypes
|
56
52
|
} from "../chunk-GFEMKKFH.mjs";
|
57
53
|
import {
|
58
54
|
const_object_colors
|
59
55
|
} from "../chunk-OMJJAHOC.mjs";
|
56
|
+
import {
|
57
|
+
enum_emailConfigModule
|
58
|
+
} from "../chunk-VH4ZAD6M.mjs";
|
59
|
+
import "../chunk-K6S7R6LU.mjs";
|
60
60
|
import {
|
61
61
|
baseAxios_default,
|
62
62
|
createBaseApi,
|
@@ -66,7 +66,7 @@ import {
|
|
66
66
|
useMyRouter,
|
67
67
|
useQ_AQ_GetAQModule,
|
68
68
|
useQ_SkillCenter_GetAll
|
69
|
-
} from "../chunk-
|
69
|
+
} from "../chunk-DH6RVK5I.mjs";
|
70
70
|
import {
|
71
71
|
utils_notification_show
|
72
72
|
} from "../chunk-7ZCOFATU.mjs";
|