aq-fe-framework 0.1.1086 → 0.1.1087
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
createGenericStore
|
|
2
|
+
createGenericStore,
|
|
3
3
|
useAppStore,
|
|
4
4
|
useStore_Permission,
|
|
5
5
|
useStore_ProjectInfo
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
utils_text
|
|
28
28
|
} from "./chunk-7ZI7IOEP.mjs";
|
|
29
29
|
import {
|
|
30
|
-
createGenericStore
|
|
30
|
+
createGenericStore as createGenericStore2
|
|
31
31
|
} from "./chunk-BTITP4TN.mjs";
|
|
32
32
|
import {
|
|
33
33
|
const_object_colors,
|
|
@@ -631,14 +631,7 @@ function MyButtonCreateUpdate({
|
|
|
631
631
|
},
|
|
632
632
|
mutationType: isUpdate ? "update" : "create"
|
|
633
633
|
}, useMyReactMutationProps), {
|
|
634
|
-
options: __spreadValues({
|
|
635
|
-
onSuccess: (...args) => {
|
|
636
|
-
if (!ignoreDefaultOnSuccess) {
|
|
637
|
-
if (closeModalWhenSubmit) disclosure[1].close();
|
|
638
|
-
if (resetFormWhenSubmit) form.reset();
|
|
639
|
-
}
|
|
640
|
-
onSuccess == null ? void 0 : onSuccess(...args);
|
|
641
|
-
},
|
|
634
|
+
options: __spreadProps(__spreadValues({
|
|
642
635
|
onError: (error) => {
|
|
643
636
|
let parsed;
|
|
644
637
|
try {
|
|
@@ -659,7 +652,15 @@ function MyButtonCreateUpdate({
|
|
|
659
652
|
return;
|
|
660
653
|
}
|
|
661
654
|
}
|
|
662
|
-
}, useMyReactMutationProps == null ? void 0 : useMyReactMutationProps.options)
|
|
655
|
+
}, useMyReactMutationProps == null ? void 0 : useMyReactMutationProps.options), {
|
|
656
|
+
onSuccess: (...args) => {
|
|
657
|
+
if (!ignoreDefaultOnSuccess) {
|
|
658
|
+
if (closeModalWhenSubmit) disclosure[1].close();
|
|
659
|
+
if (resetFormWhenSubmit) form.reset();
|
|
660
|
+
}
|
|
661
|
+
onSuccess == null ? void 0 : onSuccess(...args);
|
|
662
|
+
}
|
|
663
|
+
})
|
|
663
664
|
}));
|
|
664
665
|
useEffect3(() => {
|
|
665
666
|
if (disclosure[0]) {
|
|
@@ -1882,7 +1883,7 @@ import { IconArrowBackUp, IconArrowBigLeft, IconArrowBigRight, IconSquareRounded
|
|
|
1882
1883
|
// src/components/Button/ButtonImport/useS_ButtonImport.ts
|
|
1883
1884
|
import { useEffect as useEffect5, useMemo as useMemo2 } from "react";
|
|
1884
1885
|
import * as XLSX2 from "xlsx";
|
|
1885
|
-
var useStore =
|
|
1886
|
+
var useStore = createGenericStore2({
|
|
1886
1887
|
initialState: {
|
|
1887
1888
|
data: [],
|
|
1888
1889
|
title: [],
|
|
@@ -7897,7 +7898,7 @@ function AQStatCard2({
|
|
|
7897
7898
|
import { useEffect as useEffect9 } from "react";
|
|
7898
7899
|
|
|
7899
7900
|
// src/components/Layouts/BasicAppShell/useStore_BasicAppShell.ts
|
|
7900
|
-
var useStore2 =
|
|
7901
|
+
var useStore2 = createGenericStore2({
|
|
7901
7902
|
initialState: {
|
|
7902
7903
|
menuCode: "",
|
|
7903
7904
|
moduleCode: "Module code",
|
|
@@ -10350,7 +10351,7 @@ import { IconSearch as IconSearch4 } from "@tabler/icons-react";
|
|
|
10350
10351
|
import { useEffect as useEffect20, useMemo as useMemo9, useState as useState18 } from "react";
|
|
10351
10352
|
|
|
10352
10353
|
// src/modules-features/admin/core/accountManagement/useStore_AccountManagement.ts
|
|
10353
|
-
var useStore3 =
|
|
10354
|
+
var useStore3 = createGenericStore({
|
|
10354
10355
|
initialState: {}
|
|
10355
10356
|
});
|
|
10356
10357
|
function useStore_AccountManagement() {
|
|
@@ -14410,7 +14411,7 @@ import { useEffect as useEffect28 } from "react";
|
|
|
14410
14411
|
import { useMutation as useMutation3 } from "@tanstack/react-query";
|
|
14411
14412
|
|
|
14412
14413
|
// src/modules-features/admin/core/moduleConfig/useS_moduleConfig.ts
|
|
14413
|
-
var useStore4 =
|
|
14414
|
+
var useStore4 = createGenericStore2({
|
|
14414
14415
|
initialState: {}
|
|
14415
14416
|
});
|
|
14416
14417
|
function useS_moduleConfig() {
|
|
@@ -16576,7 +16577,7 @@ import { useRouter as useRouter4 } from "next/navigation.js";
|
|
|
16576
16577
|
import { useEffect as useEffect36 } from "react";
|
|
16577
16578
|
|
|
16578
16579
|
// src/modules-features/authenticate/useStore_Authenticate.ts
|
|
16579
|
-
var useStore5 =
|
|
16580
|
+
var useStore5 = createGenericStore2({
|
|
16580
16581
|
initialState: { token: "", saveLogin: false, username: "", password: "", workingUnitId: 0, roleIds: [] },
|
|
16581
16582
|
storageKey: "useStore_Authenticate"
|
|
16582
16583
|
});
|
|
@@ -17401,7 +17402,7 @@ import Link4 from "next/link.js";
|
|
|
17401
17402
|
import classes from "./css.module-4ICLUKPO.module.css";
|
|
17402
17403
|
|
|
17403
17404
|
// src/components/Layouts/HeaderMegaMenu/HeaderMegaMenuStore.ts
|
|
17404
|
-
var useStore6 =
|
|
17405
|
+
var useStore6 = createGenericStore2({
|
|
17405
17406
|
initialState: { name: "\u0110\u0103ng k\xFD kh\xF3a h\u1ECDc" },
|
|
17406
17407
|
storageKey: "HeaderMegaMenuStore"
|
|
17407
17408
|
});
|
package/dist/core/index.mjs
CHANGED
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
MyStatsCard,
|
|
35
35
|
MyTextInput2 as MyTextInput,
|
|
36
36
|
MyWeeklySessionSchedulerPicker
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-YIXR7XL3.mjs";
|
|
38
38
|
import "../chunk-WW55EZ4B.mjs";
|
|
39
39
|
import "../chunk-KGBXMHKR.mjs";
|
|
40
40
|
import "../chunk-7ZI7IOEP.mjs";
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
MailTemplateDeleteButton,
|
|
98
98
|
useS_moduleConfig,
|
|
99
99
|
useStore_Authenticate
|
|
100
|
-
} from "../chunk-
|
|
100
|
+
} from "../chunk-YIXR7XL3.mjs";
|
|
101
101
|
import "../chunk-WW55EZ4B.mjs";
|
|
102
102
|
import "../chunk-KGBXMHKR.mjs";
|
|
103
103
|
import "../chunk-7ZI7IOEP.mjs";
|
package/dist/shared/index.mjs
CHANGED