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.
@@ -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
- }, options));
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-NAUH6JUN.mjs";
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-3XSLM5GI.mjs";
16
+ } from "./chunk-DH6RVK5I.mjs";
17
17
  import {
18
18
  utils_notification_show
19
19
  } from "./chunk-7ZCOFATU.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  baseAxios_default,
12
12
  useMyReactMutation,
13
13
  useQ_AQ_GetAQModule
14
- } from "./chunk-3XSLM5GI.mjs";
14
+ } from "./chunk-DH6RVK5I.mjs";
15
15
  import {
16
16
  utils_notification_show
17
17
  } 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-NAUH6JUN.mjs";
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-3XSLM5GI.mjs";
74
+ import "../chunk-DH6RVK5I.mjs";
75
75
  import "../chunk-7ZCOFATU.mjs";
76
76
  import "../chunk-FWCSY2DS.mjs";
77
77
  export {
@@ -19,14 +19,14 @@ import {
19
19
  MyStatsCard,
20
20
  MyTextInput,
21
21
  MyWeeklySessionSchedulerPicker
22
- } from "../chunk-4HPNDEJQ.mjs";
23
- import "../chunk-NAUH6JUN.mjs";
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-3XSLM5GI.mjs";
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 {
@@ -8,7 +8,7 @@ import {
8
8
  useMyReactQuery,
9
9
  useMyRouter,
10
10
  useQ_AQ_GetAQModule
11
- } from "../chunk-3XSLM5GI.mjs";
11
+ } from "../chunk-DH6RVK5I.mjs";
12
12
  import "../chunk-7ZCOFATU.mjs";
13
13
  import "../chunk-FWCSY2DS.mjs";
14
14
  export {
@@ -16,7 +16,7 @@ import {
16
16
  MyButton as MyButton2,
17
17
  MyDataTableSelectOne,
18
18
  MyTextInput as MyTextInput2
19
- } from "../chunk-4HPNDEJQ.mjs";
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-NAUH6JUN.mjs";
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-3XSLM5GI.mjs";
69
+ } from "../chunk-DH6RVK5I.mjs";
70
70
  import {
71
71
  utils_notification_show
72
72
  } from "../chunk-7ZCOFATU.mjs";
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/columns/index.d.mts"
43
43
  }
44
44
  },
45
- "version": "0.1.526",
45
+ "version": "0.1.527",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"