aq-fe-framework 0.1.1145 → 0.1.1147
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-QULK5A43.mjs → chunk-AWRCM5I4.mjs} +8516 -8507
- package/dist/components/index.d.mts +6 -1
- package/dist/components/index.mjs +2 -2
- package/dist/core/index.mjs +2 -2
- package/dist/modules-features/index.mjs +2 -2
- package/dist/shared/index.mjs +2 -2
- package/dist/utils-v2/index.d.mts +14 -14
- package/dist/utils-v2/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/{chunk-7ZI7IOEP.mjs → chunk-HQRZOUVA.mjs} +1 -1
|
@@ -51,8 +51,13 @@ interface IActionIconDelete<IRes> extends Omit<MyButtonModalProps, "disclosure">
|
|
|
51
51
|
onSuccess?: () => void;
|
|
52
52
|
onError?: () => void;
|
|
53
53
|
contextData?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated Vui lòng không sử dụng props này
|
|
56
|
+
* Vui lòng dùng loading bên trong `actionIconProps`
|
|
57
|
+
*/
|
|
58
|
+
loading?: boolean;
|
|
54
59
|
}
|
|
55
|
-
declare function MyActionIconDelete<IRes>({ onSubmit, onSuccess, onError, contextData, ...rest }: IActionIconDelete<IRes>): react_jsx_runtime.JSX.Element;
|
|
60
|
+
declare function MyActionIconDelete<IRes>({ onSubmit, onSuccess, onError, contextData, loading, ...rest }: IActionIconDelete<IRes>): react_jsx_runtime.JSX.Element;
|
|
56
61
|
|
|
57
62
|
interface IMyActionIconModal extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style" | "title">, ActionIconProps {
|
|
58
63
|
title?: ReactNode;
|
|
@@ -65,10 +65,10 @@ import {
|
|
|
65
65
|
getReadablePageIdSet,
|
|
66
66
|
useHeaderMegaMenuStore,
|
|
67
67
|
useStore_BasicAppShell
|
|
68
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-AWRCM5I4.mjs";
|
|
69
69
|
import "../chunk-WW55EZ4B.mjs";
|
|
70
70
|
import "../chunk-LZVUOVHO.mjs";
|
|
71
|
-
import "../chunk-
|
|
71
|
+
import "../chunk-HQRZOUVA.mjs";
|
|
72
72
|
import "../chunk-NYAWQRB7.mjs";
|
|
73
73
|
import "../chunk-BTITP4TN.mjs";
|
|
74
74
|
import "../chunk-S5NCYRRY.mjs";
|
package/dist/core/index.mjs
CHANGED
|
@@ -36,10 +36,10 @@ import {
|
|
|
36
36
|
MyStatsCard,
|
|
37
37
|
MyTextInput2 as MyTextInput,
|
|
38
38
|
MyWeeklySessionSchedulerPicker
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-AWRCM5I4.mjs";
|
|
40
40
|
import "../chunk-WW55EZ4B.mjs";
|
|
41
41
|
import "../chunk-LZVUOVHO.mjs";
|
|
42
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-HQRZOUVA.mjs";
|
|
43
43
|
import "../chunk-NYAWQRB7.mjs";
|
|
44
44
|
import "../chunk-BTITP4TN.mjs";
|
|
45
45
|
import "../chunk-S5NCYRRY.mjs";
|
|
@@ -63,10 +63,10 @@ import {
|
|
|
63
63
|
MailTemplateDeleteButton,
|
|
64
64
|
useS_moduleConfig,
|
|
65
65
|
useStore_Authenticate
|
|
66
|
-
} from "../chunk-
|
|
66
|
+
} from "../chunk-AWRCM5I4.mjs";
|
|
67
67
|
import "../chunk-WW55EZ4B.mjs";
|
|
68
68
|
import "../chunk-LZVUOVHO.mjs";
|
|
69
|
-
import "../chunk-
|
|
69
|
+
import "../chunk-HQRZOUVA.mjs";
|
|
70
70
|
import "../chunk-NYAWQRB7.mjs";
|
|
71
71
|
import "../chunk-BTITP4TN.mjs";
|
|
72
72
|
import "../chunk-S5NCYRRY.mjs";
|
package/dist/shared/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MySelect,
|
|
3
3
|
Shared_DocTypeSelect
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-AWRCM5I4.mjs";
|
|
5
5
|
import "../chunk-WW55EZ4B.mjs";
|
|
6
6
|
import "../chunk-LZVUOVHO.mjs";
|
|
7
7
|
import {
|
|
8
8
|
utils_converter
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-HQRZOUVA.mjs";
|
|
10
10
|
import "../chunk-NYAWQRB7.mjs";
|
|
11
11
|
import "../chunk-BTITP4TN.mjs";
|
|
12
12
|
import "../chunk-S5NCYRRY.mjs";
|
|
@@ -5,20 +5,6 @@ import { M as MyColumnDef } from '../MyDataTable-D02NxkDu.mjs';
|
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import '@tanstack/react-table';
|
|
7
7
|
|
|
8
|
-
declare const utils_build: {
|
|
9
|
-
createEnumKeyMap<T extends Record<string, number | string>>(enumObj: T): Record<Extract<T[keyof T], number>, keyof T>;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
type OptionsRecord<T extends string> = Record<T, number>;
|
|
13
|
-
declare const utils_converter: {
|
|
14
|
-
mapEnumToSelectData<T extends Record<string, string | number>>(enumObj: T, labelMap: Record<string, string>): {
|
|
15
|
-
value: string;
|
|
16
|
-
label: string;
|
|
17
|
-
}[];
|
|
18
|
-
mapOptionsToSelectData<T extends string>(options: OptionsRecord<T>, t: (key: T) => string): ComboboxData;
|
|
19
|
-
invertObject<TKey extends string | number | symbol, TValue>(options: Record<TKey, TValue>): any;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
8
|
interface IExcelColumnConfig<T> {
|
|
23
9
|
fieldKey: keyof T | (string & {});
|
|
24
10
|
fieldName: string;
|
|
@@ -40,6 +26,20 @@ declare const utils_excel: {
|
|
|
40
26
|
};
|
|
41
27
|
declare function normalizeDate(input?: string | null): string | null;
|
|
42
28
|
|
|
29
|
+
declare const utils_build: {
|
|
30
|
+
createEnumKeyMap<T extends Record<string, number | string>>(enumObj: T): Record<Extract<T[keyof T], number>, keyof T>;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
type OptionsRecord<T extends string> = Record<T, number>;
|
|
34
|
+
declare const utils_converter: {
|
|
35
|
+
mapEnumToSelectData<T extends Record<string, string | number>>(enumObj: T, labelMap: Record<string, string>): {
|
|
36
|
+
value: string;
|
|
37
|
+
label: string;
|
|
38
|
+
}[];
|
|
39
|
+
mapOptionsToSelectData<T extends string>(options: OptionsRecord<T>, t: (key: T) => string): ComboboxData;
|
|
40
|
+
invertObject<TKey extends string | number | symbol, TValue>(options: Record<TKey, TValue>): any;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
43
|
declare const utils_file: {
|
|
44
44
|
base64ToBlobUrl(base64: string, mimeType: string): string;
|
|
45
45
|
};
|
package/dist/utils-v2/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -323,11 +323,11 @@ var utils_date = {
|
|
|
323
323
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
324
324
|
|
|
325
325
|
export {
|
|
326
|
-
utils_file,
|
|
327
326
|
utils_build,
|
|
328
327
|
utils_converter,
|
|
329
328
|
utils_excel,
|
|
330
329
|
normalizeDate,
|
|
330
|
+
utils_file,
|
|
331
331
|
utils_mantineReactTable,
|
|
332
332
|
utils_text,
|
|
333
333
|
utils_time,
|