aq-fe-framework 0.1.712 → 0.1.714
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-BP2L3A7N.mjs → chunk-VSFUQHJS.mjs} +7 -6
- package/dist/components/index.mjs +3 -3
- package/dist/const/index.mjs +1 -1
- package/dist/core/index.mjs +3 -3
- package/dist/coreService/index.mjs +3 -3
- package/dist/hooks/index.mjs +1 -1
- package/dist/modules-features/index.d.mts +11 -1
- package/dist/modules-features/index.mjs +3 -3
- package/package.json +1 -1
- package/dist/{chunk-IUTUR43V.mjs → chunk-REMYBOSK.mjs} +1 -1
|
@@ -17,10 +17,6 @@ import {
|
|
|
17
17
|
utils_mantineReactTable_sortColumnsByKeyOrder,
|
|
18
18
|
utils_pdf_download
|
|
19
19
|
} from "./chunk-2B2FKBKX.mjs";
|
|
20
|
-
import {
|
|
21
|
-
const_object_colors,
|
|
22
|
-
const_object_documentTypes
|
|
23
|
-
} from "./chunk-IUTUR43V.mjs";
|
|
24
20
|
import {
|
|
25
21
|
baseColumns
|
|
26
22
|
} from "./chunk-7PUDC2WF.mjs";
|
|
@@ -28,6 +24,10 @@ import {
|
|
|
28
24
|
U0DateToDDMMYYYString,
|
|
29
25
|
utils_date_dateToDDMMYYYString
|
|
30
26
|
} from "./chunk-EWDS5IOF.mjs";
|
|
27
|
+
import {
|
|
28
|
+
const_object_colors,
|
|
29
|
+
const_object_documentTypes
|
|
30
|
+
} from "./chunk-REMYBOSK.mjs";
|
|
31
31
|
import {
|
|
32
32
|
enum_daysOfWeek
|
|
33
33
|
} from "./chunk-K6S7R6LU.mjs";
|
|
@@ -16419,7 +16419,7 @@ function Feat_Authenticate_SSOHandler({
|
|
|
16419
16419
|
const data2 = await res.json();
|
|
16420
16420
|
if ((data2 == null ? void 0 : data2.isSuccess) && ((_a = data2 == null ? void 0 : data2.data) == null ? void 0 : _a.token)) {
|
|
16421
16421
|
manager.onLoginSuccessSaveStore({ data: data2.data });
|
|
16422
|
-
onSuccessNavigateFollowRole(data2.data
|
|
16422
|
+
onSuccessNavigateFollowRole(data2.data || []);
|
|
16423
16423
|
} else {
|
|
16424
16424
|
setMessError("\u0110\u0103ng nh\u1EADp kh\xF4ng th\xE0nh c\xF4ng");
|
|
16425
16425
|
}
|
|
@@ -16643,7 +16643,8 @@ function base64ToFaviconUrl(base64, ext) {
|
|
|
16643
16643
|
const blob = new Blob([byteArray], { type: `image/${ext}` });
|
|
16644
16644
|
return URL.createObjectURL(blob);
|
|
16645
16645
|
}
|
|
16646
|
-
function BasicAppShell({ children, menu, extraTopRight, title, logoutRedirect, isDev
|
|
16646
|
+
function BasicAppShell({ children, menu, extraTopRight, title, logoutRedirect, isDev }) {
|
|
16647
|
+
isDev = process.env.NEXT_PUBLIC_IS_DEV == "1";
|
|
16647
16648
|
const pathname = usePathname3();
|
|
16648
16649
|
const media = useMediaQuery("(min-width: 72em)");
|
|
16649
16650
|
const pageContentQuery = useMyReactQuery({
|
|
@@ -70,16 +70,16 @@ import {
|
|
|
70
70
|
useHeaderMegaMenuStore,
|
|
71
71
|
useS_ButtonImport,
|
|
72
72
|
useStore_BasicAppShell
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-VSFUQHJS.mjs";
|
|
74
74
|
import "../chunk-SUH3FFFV.mjs";
|
|
75
75
|
import "../chunk-2B2FKBKX.mjs";
|
|
76
|
-
import "../chunk-IUTUR43V.mjs";
|
|
77
76
|
import "../chunk-7PUDC2WF.mjs";
|
|
78
77
|
import "../chunk-EWDS5IOF.mjs";
|
|
78
|
+
import "../chunk-REMYBOSK.mjs";
|
|
79
79
|
import "../chunk-K6S7R6LU.mjs";
|
|
80
80
|
import "../chunk-G4GAKTUO.mjs";
|
|
81
|
-
import "../chunk-WZ6PXGGC.mjs";
|
|
82
81
|
import "../chunk-7ZCOFATU.mjs";
|
|
82
|
+
import "../chunk-WZ6PXGGC.mjs";
|
|
83
83
|
import "../chunk-FWCSY2DS.mjs";
|
|
84
84
|
export {
|
|
85
85
|
AQButtonCreateByImportFile,
|
package/dist/const/index.mjs
CHANGED
package/dist/core/index.mjs
CHANGED
|
@@ -25,16 +25,16 @@ import {
|
|
|
25
25
|
MyStatsCard,
|
|
26
26
|
MyTextInput2 as MyTextInput,
|
|
27
27
|
MyWeeklySessionSchedulerPicker
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-VSFUQHJS.mjs";
|
|
29
29
|
import "../chunk-SUH3FFFV.mjs";
|
|
30
30
|
import "../chunk-2B2FKBKX.mjs";
|
|
31
|
-
import "../chunk-IUTUR43V.mjs";
|
|
32
31
|
import "../chunk-7PUDC2WF.mjs";
|
|
33
32
|
import "../chunk-EWDS5IOF.mjs";
|
|
33
|
+
import "../chunk-REMYBOSK.mjs";
|
|
34
34
|
import "../chunk-K6S7R6LU.mjs";
|
|
35
35
|
import "../chunk-G4GAKTUO.mjs";
|
|
36
|
-
import "../chunk-WZ6PXGGC.mjs";
|
|
37
36
|
import "../chunk-7ZCOFATU.mjs";
|
|
37
|
+
import "../chunk-WZ6PXGGC.mjs";
|
|
38
38
|
import "../chunk-FWCSY2DS.mjs";
|
|
39
39
|
export {
|
|
40
40
|
DroppablePlaceholder,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MyModalDelete
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-VSFUQHJS.mjs";
|
|
4
4
|
import "../chunk-SUH3FFFV.mjs";
|
|
5
5
|
import "../chunk-2B2FKBKX.mjs";
|
|
6
|
-
import "../chunk-IUTUR43V.mjs";
|
|
7
6
|
import "../chunk-7PUDC2WF.mjs";
|
|
8
7
|
import "../chunk-EWDS5IOF.mjs";
|
|
8
|
+
import "../chunk-REMYBOSK.mjs";
|
|
9
9
|
import "../chunk-K6S7R6LU.mjs";
|
|
10
10
|
import {
|
|
11
11
|
useMyReactMutation
|
|
12
12
|
} from "../chunk-G4GAKTUO.mjs";
|
|
13
|
-
import "../chunk-WZ6PXGGC.mjs";
|
|
14
13
|
import "../chunk-7ZCOFATU.mjs";
|
|
14
|
+
import "../chunk-WZ6PXGGC.mjs";
|
|
15
15
|
import {
|
|
16
16
|
__objRest,
|
|
17
17
|
__spreadValues
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -963,8 +963,18 @@ interface I$1 {
|
|
|
963
963
|
}
|
|
964
964
|
declare function Feat_Authenticate_Logout({ redirectURL }: I$1): react_jsx_runtime.JSX.Element;
|
|
965
965
|
|
|
966
|
+
interface ISignInRes {
|
|
967
|
+
workingUnitId?: number;
|
|
968
|
+
userName?: string;
|
|
969
|
+
userId?: number;
|
|
970
|
+
userFullName?: string;
|
|
971
|
+
token?: string;
|
|
972
|
+
roleIds?: number[];
|
|
973
|
+
permissions?: IPagePermission[];
|
|
974
|
+
}
|
|
975
|
+
|
|
966
976
|
interface Feat_Authenticate_SSOHandlerProps {
|
|
967
|
-
onSuccessNavigateFollowRole: (
|
|
977
|
+
onSuccessNavigateFollowRole: (data: ISignInRes) => void;
|
|
968
978
|
}
|
|
969
979
|
declare function Feat_Authenticate_SSOHandler({ onSuccessNavigateFollowRole }: Feat_Authenticate_SSOHandlerProps): react_jsx_runtime.JSX.Element;
|
|
970
980
|
|
|
@@ -115,16 +115,16 @@ import {
|
|
|
115
115
|
MailTemplateDeleteButton,
|
|
116
116
|
useS_authenticate,
|
|
117
117
|
useS_moduleConfig
|
|
118
|
-
} from "../chunk-
|
|
118
|
+
} from "../chunk-VSFUQHJS.mjs";
|
|
119
119
|
import "../chunk-SUH3FFFV.mjs";
|
|
120
120
|
import "../chunk-2B2FKBKX.mjs";
|
|
121
|
-
import "../chunk-IUTUR43V.mjs";
|
|
122
121
|
import "../chunk-7PUDC2WF.mjs";
|
|
123
122
|
import "../chunk-EWDS5IOF.mjs";
|
|
123
|
+
import "../chunk-REMYBOSK.mjs";
|
|
124
124
|
import "../chunk-K6S7R6LU.mjs";
|
|
125
125
|
import "../chunk-G4GAKTUO.mjs";
|
|
126
|
-
import "../chunk-WZ6PXGGC.mjs";
|
|
127
126
|
import "../chunk-7ZCOFATU.mjs";
|
|
127
|
+
import "../chunk-WZ6PXGGC.mjs";
|
|
128
128
|
import "../chunk-FWCSY2DS.mjs";
|
|
129
129
|
export {
|
|
130
130
|
AcademicYearsCreate,
|
package/package.json
CHANGED