aq-fe-framework 0.1.263 → 0.1.265

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.
@@ -96,6 +96,7 @@ function useMyReactMutation({
96
96
  return res.data.data;
97
97
  },
98
98
  onError: (e) => {
99
+ console.log(e);
99
100
  if (e.message == null) {
100
101
  notifications.show({
101
102
  message: "Kh\xF4ng th\u1EC3 thao t\xE1c, l\u1ED7i ch\u01B0a x\xE1c \u0111\u1ECBnh!",
@@ -8,7 +8,7 @@ import {
8
8
  baseAxios_default,
9
9
  useMyReactMutation,
10
10
  useQ_AQ_GetAQModule
11
- } from "./chunk-QAIXZSQA.mjs";
11
+ } from "./chunk-3ZMQJXS2.mjs";
12
12
  import {
13
13
  createGenericStore
14
14
  } from "./chunk-Y3YGC5IH.mjs";
@@ -55,14 +55,14 @@ interface IMyActionIconModal extends Omit<React.ButtonHTMLAttributes<HTMLButtonE
55
55
  }
56
56
  declare function MyActionIconModal({ fullScreen, crudType, disclosure, modalSize, title, children, icon, ...rest }: IMyActionIconModal): react_jsx_runtime.JSX.Element | undefined;
57
57
 
58
- interface IActionIconDelete<IReq, IRes> extends Omit<ComponentProps<typeof MyActionIconModal>, "disclosure" | "onSubmit"> {
58
+ interface IActionIconDelete<IRes> extends Omit<ComponentProps<typeof MyActionIconModal>, "disclosure" | "onSubmit"> {
59
59
  onSubmit: () => Promise<AxiosResponse<MyApiResponse<IRes>>>;
60
60
  onSuccess?: () => void;
61
61
  onError?: () => void;
62
62
  contextData?: string;
63
63
  loading?: boolean;
64
64
  }
65
- declare function MyActionIconDelete<IReq, IRes>({ onSubmit, onSuccess, onError, contextData, ...rest }: IActionIconDelete<IReq, IRes>): react_jsx_runtime.JSX.Element;
65
+ declare function MyActionIconDelete<IRes>({ onSubmit, onSuccess, onError, contextData, ...rest }: IActionIconDelete<IRes>): react_jsx_runtime.JSX.Element;
66
66
 
67
67
  interface IActionIconUpdate<IReq, IRes> extends Omit<ComponentProps<typeof MyActionIconModal>, "form" | "disclosure" | "onSubmit"> {
68
68
  resetFormWhenclose?: boolean;
@@ -68,10 +68,10 @@ import {
68
68
  useS_BasicAppShell,
69
69
  useS_ButtonImport,
70
70
  utils_layout_getItemsWithoutLinks
71
- } from "../chunk-TOSMACJI.mjs";
71
+ } from "../chunk-WDYMCJXX.mjs";
72
72
  import "../chunk-NWBLJ3W3.mjs";
73
73
  import "../chunk-K6S7R6LU.mjs";
74
- import "../chunk-QAIXZSQA.mjs";
74
+ import "../chunk-3ZMQJXS2.mjs";
75
75
  import "../chunk-Y3YGC5IH.mjs";
76
76
  import "../chunk-5U2JSHSJ.mjs";
77
77
  import "../chunk-7ZCOFATU.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  useMyReactMutation,
5
5
  useMyReactQuery,
6
6
  useQ_AQ_GetAQModule
7
- } from "../chunk-QAIXZSQA.mjs";
7
+ } from "../chunk-3ZMQJXS2.mjs";
8
8
  import "../chunk-7ZCOFATU.mjs";
9
9
  import "../chunk-FWCSY2DS.mjs";
10
10
  export {
@@ -24,7 +24,7 @@ import {
24
24
  useS_BasicAppShell,
25
25
  useS_authenticate,
26
26
  utils_layout_getItemsWithoutLinks
27
- } from "../chunk-TOSMACJI.mjs";
27
+ } from "../chunk-WDYMCJXX.mjs";
28
28
  import {
29
29
  const_object_documentTypes
30
30
  } from "../chunk-GFEMKKFH.mjs";
@@ -39,7 +39,7 @@ import {
39
39
  baseAxios_default,
40
40
  useQ_AQ_GetAQModule,
41
41
  useQ_SkillCenter_GetAll
42
- } from "../chunk-QAIXZSQA.mjs";
42
+ } from "../chunk-3ZMQJXS2.mjs";
43
43
  import {
44
44
  createGenericStore
45
45
  } from "../chunk-Y3YGC5IH.mjs";
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "types": "./dist/enum/index.d.mts"
35
35
  }
36
36
  },
37
- "version": "0.1.263",
37
+ "version": "0.1.265",
38
38
  "private": false,
39
39
  "files": [
40
40
  "dist"