aq-fe-framework 0.1.1073 → 0.1.1074
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-CCAB5RUC.mjs → chunk-2INPB2OV.mjs} +18 -18
- package/dist/components/index.mjs +4 -4
- package/dist/const/index.mjs +1 -1
- package/dist/core/index.d.mts +1 -1
- package/dist/core/index.mjs +4 -4
- package/dist/modules-features/index.mjs +4 -4
- package/dist/shared/index.mjs +5 -5
- package/package.json +1 -1
- package/dist/{chunk-OHAOJE5F.mjs → chunk-C74M5VPE.mjs} +1 -1
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
createGenericStore,
|
|
2
|
+
createGenericStore as createGenericStore2,
|
|
3
3
|
useAppStore,
|
|
4
4
|
useStore_Permission,
|
|
5
5
|
useStore_ProjectInfo
|
|
6
6
|
} from "./chunk-WW55EZ4B.mjs";
|
|
7
|
-
import {
|
|
8
|
-
utils_date,
|
|
9
|
-
utils_excel,
|
|
10
|
-
utils_file,
|
|
11
|
-
utils_mantineReactTable,
|
|
12
|
-
utils_text
|
|
13
|
-
} from "./chunk-7ZI7IOEP.mjs";
|
|
14
7
|
import {
|
|
15
8
|
utils_aq_mapBaseEntityToDomain,
|
|
16
9
|
utils_aq_mapDomainToEntity,
|
|
@@ -25,17 +18,24 @@ import {
|
|
|
25
18
|
utils_notification_show,
|
|
26
19
|
utils_pdf_download
|
|
27
20
|
} from "./chunk-KGBXMHKR.mjs";
|
|
21
|
+
import {
|
|
22
|
+
utils_date,
|
|
23
|
+
utils_excel,
|
|
24
|
+
utils_file,
|
|
25
|
+
utils_mantineReactTable,
|
|
26
|
+
utils_text
|
|
27
|
+
} from "./chunk-7ZI7IOEP.mjs";
|
|
28
|
+
import {
|
|
29
|
+
createGenericStore
|
|
30
|
+
} from "./chunk-BTITP4TN.mjs";
|
|
28
31
|
import {
|
|
29
32
|
const_object_colors,
|
|
30
33
|
const_object_documentTypes
|
|
31
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-C74M5VPE.mjs";
|
|
32
35
|
import {
|
|
33
36
|
enumLabel_gender,
|
|
34
37
|
enum_daysOfWeek
|
|
35
38
|
} from "./chunk-J4WTZ3B4.mjs";
|
|
36
|
-
import {
|
|
37
|
-
createGenericStore as createGenericStore2
|
|
38
|
-
} from "./chunk-BTITP4TN.mjs";
|
|
39
39
|
import {
|
|
40
40
|
baseAxios_default,
|
|
41
41
|
createBaseApi,
|
|
@@ -1881,7 +1881,7 @@ import { IconArrowBackUp, IconArrowBigLeft, IconArrowBigRight, IconSquareRounded
|
|
|
1881
1881
|
// src/components/Button/ButtonImport/useS_ButtonImport.ts
|
|
1882
1882
|
import { useEffect as useEffect5, useMemo as useMemo2 } from "react";
|
|
1883
1883
|
import * as XLSX2 from "xlsx";
|
|
1884
|
-
var useStore =
|
|
1884
|
+
var useStore = createGenericStore({
|
|
1885
1885
|
initialState: {
|
|
1886
1886
|
data: [],
|
|
1887
1887
|
title: [],
|
|
@@ -7825,7 +7825,7 @@ function AQStatCard2({
|
|
|
7825
7825
|
import { useEffect as useEffect9 } from "react";
|
|
7826
7826
|
|
|
7827
7827
|
// src/components/Layouts/BasicAppShell/useStore_BasicAppShell.ts
|
|
7828
|
-
var useStore2 =
|
|
7828
|
+
var useStore2 = createGenericStore({
|
|
7829
7829
|
initialState: {
|
|
7830
7830
|
menuCode: "",
|
|
7831
7831
|
moduleCode: "Module code",
|
|
@@ -10278,7 +10278,7 @@ import { IconSearch as IconSearch4 } from "@tabler/icons-react";
|
|
|
10278
10278
|
import { useEffect as useEffect20, useMemo as useMemo9, useState as useState18 } from "react";
|
|
10279
10279
|
|
|
10280
10280
|
// src/modules-features/admin/core/accountManagement/useStore_AccountManagement.ts
|
|
10281
|
-
var useStore3 =
|
|
10281
|
+
var useStore3 = createGenericStore2({
|
|
10282
10282
|
initialState: {}
|
|
10283
10283
|
});
|
|
10284
10284
|
function useStore_AccountManagement() {
|
|
@@ -14372,7 +14372,7 @@ import { useEffect as useEffect28 } from "react";
|
|
|
14372
14372
|
import { useMutation as useMutation3 } from "@tanstack/react-query";
|
|
14373
14373
|
|
|
14374
14374
|
// src/modules-features/admin/core/moduleConfig/useS_moduleConfig.ts
|
|
14375
|
-
var useStore4 =
|
|
14375
|
+
var useStore4 = createGenericStore({
|
|
14376
14376
|
initialState: {}
|
|
14377
14377
|
});
|
|
14378
14378
|
function useS_moduleConfig() {
|
|
@@ -16538,7 +16538,7 @@ import { useRouter as useRouter4 } from "next/navigation.js";
|
|
|
16538
16538
|
import { useEffect as useEffect36 } from "react";
|
|
16539
16539
|
|
|
16540
16540
|
// src/modules-features/authenticate/useStore_Authenticate.ts
|
|
16541
|
-
var useStore5 =
|
|
16541
|
+
var useStore5 = createGenericStore({
|
|
16542
16542
|
initialState: { token: "", saveLogin: false, username: "", password: "", workingUnitId: 0, roleIds: [] },
|
|
16543
16543
|
storageKey: "useStore_Authenticate"
|
|
16544
16544
|
});
|
|
@@ -17363,7 +17363,7 @@ import Link4 from "next/link.js";
|
|
|
17363
17363
|
import classes from "./css.module-4ICLUKPO.module.css";
|
|
17364
17364
|
|
|
17365
17365
|
// src/components/Layouts/HeaderMegaMenu/HeaderMegaMenuStore.ts
|
|
17366
|
-
var useStore6 =
|
|
17366
|
+
var useStore6 = createGenericStore({
|
|
17367
17367
|
initialState: { name: "\u0110\u0103ng k\xFD kh\xF3a h\u1ECDc" },
|
|
17368
17368
|
storageKey: "HeaderMegaMenuStore"
|
|
17369
17369
|
});
|
|
@@ -69,14 +69,14 @@ import {
|
|
|
69
69
|
useHeaderMegaMenuStore,
|
|
70
70
|
useS_ButtonImport,
|
|
71
71
|
useStore_BasicAppShell
|
|
72
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-2INPB2OV.mjs";
|
|
73
73
|
import "../chunk-WW55EZ4B.mjs";
|
|
74
|
-
import "../chunk-7ZI7IOEP.mjs";
|
|
75
74
|
import "../chunk-KGBXMHKR.mjs";
|
|
76
|
-
import "../chunk-
|
|
77
|
-
import "../chunk-J4WTZ3B4.mjs";
|
|
75
|
+
import "../chunk-7ZI7IOEP.mjs";
|
|
78
76
|
import "../chunk-NYAWQRB7.mjs";
|
|
79
77
|
import "../chunk-BTITP4TN.mjs";
|
|
78
|
+
import "../chunk-C74M5VPE.mjs";
|
|
79
|
+
import "../chunk-J4WTZ3B4.mjs";
|
|
80
80
|
import "../chunk-Z76CSZFI.mjs";
|
|
81
81
|
import "../chunk-WZ6PXGGC.mjs";
|
|
82
82
|
import "../chunk-JD6AELXS.mjs";
|
package/dist/const/index.mjs
CHANGED
package/dist/core/index.d.mts
CHANGED
|
@@ -314,7 +314,7 @@ interface CustomDataTableAPIProps<TData extends MRT_RowData, IReq, IRes> extends
|
|
|
314
314
|
enableCreate?: boolean;
|
|
315
315
|
enableUpdate?: boolean;
|
|
316
316
|
}
|
|
317
|
-
declare function CustomDataTableAPI<TData extends MRT_RowData, IReq =
|
|
317
|
+
declare function CustomDataTableAPI<TData extends MRT_RowData, IReq = any, IRes = TData[]>({ deleteFn, deleteListFn, buttonCreateUpdateProps, reactQueryProps, renderCreateUpdateContent, getInitValues, enableCreate, enableUpdate, ...rest }: CustomDataTableAPIProps<TData, IReq, IRes>): react_jsx_runtime.JSX.Element;
|
|
318
318
|
|
|
319
319
|
interface CustomDeleteListAPIProps<TData extends MRT_RowData> extends Omit<MyButtonDeleteListProps, "onSubmit"> {
|
|
320
320
|
table: MRT_TableInstance<TData>;
|
package/dist/core/index.mjs
CHANGED
|
@@ -34,14 +34,14 @@ import {
|
|
|
34
34
|
MyStatsCard,
|
|
35
35
|
MyTextInput2 as MyTextInput,
|
|
36
36
|
MyWeeklySessionSchedulerPicker
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-2INPB2OV.mjs";
|
|
38
38
|
import "../chunk-WW55EZ4B.mjs";
|
|
39
|
-
import "../chunk-7ZI7IOEP.mjs";
|
|
40
39
|
import "../chunk-KGBXMHKR.mjs";
|
|
41
|
-
import "../chunk-
|
|
42
|
-
import "../chunk-J4WTZ3B4.mjs";
|
|
40
|
+
import "../chunk-7ZI7IOEP.mjs";
|
|
43
41
|
import "../chunk-NYAWQRB7.mjs";
|
|
44
42
|
import "../chunk-BTITP4TN.mjs";
|
|
43
|
+
import "../chunk-C74M5VPE.mjs";
|
|
44
|
+
import "../chunk-J4WTZ3B4.mjs";
|
|
45
45
|
import "../chunk-Z76CSZFI.mjs";
|
|
46
46
|
import "../chunk-WZ6PXGGC.mjs";
|
|
47
47
|
import "../chunk-JD6AELXS.mjs";
|
|
@@ -97,14 +97,14 @@ import {
|
|
|
97
97
|
MailTemplateDeleteButton,
|
|
98
98
|
useS_moduleConfig,
|
|
99
99
|
useStore_Authenticate
|
|
100
|
-
} from "../chunk-
|
|
100
|
+
} from "../chunk-2INPB2OV.mjs";
|
|
101
101
|
import "../chunk-WW55EZ4B.mjs";
|
|
102
|
-
import "../chunk-7ZI7IOEP.mjs";
|
|
103
102
|
import "../chunk-KGBXMHKR.mjs";
|
|
104
|
-
import "../chunk-
|
|
105
|
-
import "../chunk-J4WTZ3B4.mjs";
|
|
103
|
+
import "../chunk-7ZI7IOEP.mjs";
|
|
106
104
|
import "../chunk-NYAWQRB7.mjs";
|
|
107
105
|
import "../chunk-BTITP4TN.mjs";
|
|
106
|
+
import "../chunk-C74M5VPE.mjs";
|
|
107
|
+
import "../chunk-J4WTZ3B4.mjs";
|
|
108
108
|
import "../chunk-Z76CSZFI.mjs";
|
|
109
109
|
import "../chunk-WZ6PXGGC.mjs";
|
|
110
110
|
import "../chunk-JD6AELXS.mjs";
|
package/dist/shared/index.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import "../chunk-NMY3UEY5.mjs";
|
|
2
2
|
import {
|
|
3
3
|
MySelect
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-2INPB2OV.mjs";
|
|
5
5
|
import "../chunk-WW55EZ4B.mjs";
|
|
6
|
+
import "../chunk-KGBXMHKR.mjs";
|
|
6
7
|
import {
|
|
7
8
|
utils_converter
|
|
8
9
|
} from "../chunk-7ZI7IOEP.mjs";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-NYAWQRB7.mjs";
|
|
11
|
+
import "../chunk-BTITP4TN.mjs";
|
|
12
|
+
import "../chunk-C74M5VPE.mjs";
|
|
11
13
|
import {
|
|
12
14
|
enumLabel_gender,
|
|
13
15
|
enum_gender
|
|
14
16
|
} from "../chunk-J4WTZ3B4.mjs";
|
|
15
|
-
import "../chunk-NYAWQRB7.mjs";
|
|
16
|
-
import "../chunk-BTITP4TN.mjs";
|
|
17
17
|
import "../chunk-Z76CSZFI.mjs";
|
|
18
18
|
import "../chunk-WZ6PXGGC.mjs";
|
|
19
19
|
import {
|
package/package.json
CHANGED