aq-fe-framework 0.1.525 → 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-W4WLEEWI.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 +3 -3
- package/dist/hooks/index.mjs +1 -1
- package/dist/modules-features/index.mjs +3 -3
- 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,7 +3,7 @@ import {
|
|
3
3
|
MyDataTable,
|
4
4
|
MyFlexColumn,
|
5
5
|
MyFlexRow
|
6
|
-
} from "./chunk-
|
6
|
+
} from "./chunk-PFOC2A7E.mjs";
|
7
7
|
import {
|
8
8
|
const_object_colors
|
9
9
|
} from "./chunk-OMJJAHOC.mjs";
|
@@ -13,7 +13,7 @@ import {
|
|
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";
|
@@ -1076,10 +1076,10 @@ function MyModalDelete(_a) {
|
|
1076
1076
|
return /* @__PURE__ */ jsxs12(
|
1077
1077
|
Modal3,
|
1078
1078
|
__spreadProps(__spreadValues({
|
1079
|
-
title: "X\xF3a d\u1EEF li\u1EC7u"
|
1080
|
-
}, rest), {
|
1079
|
+
title: "X\xF3a d\u1EEF li\u1EC7u",
|
1081
1080
|
onClose: disclosure[1].close,
|
1082
|
-
opened: disclosure[0]
|
1081
|
+
opened: disclosure[0]
|
1082
|
+
}, rest), {
|
1083
1083
|
children: [
|
1084
1084
|
/* @__PURE__ */ jsx22(
|
1085
1085
|
Highlight2,
|
@@ -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
26
|
import "../chunk-GFEMKKFH.mjs";
|
27
27
|
import "../chunk-OMJJAHOC.mjs";
|
28
28
|
import "../chunk-K6S7R6LU.mjs";
|
29
|
-
import "../chunk-
|
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,7 +42,7 @@ 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";
|
@@ -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";
|