aq-fe-framework 0.1.398 → 0.1.400
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-GV2TEJNI.mjs → chunk-KPQFRQ6R.mjs} +1 -1
- package/dist/{chunk-6FYCF5IJ.mjs → chunk-NCNHWCYV.mjs} +7 -7
- package/dist/{chunk-UNMZHBJW.mjs → chunk-PRN7KYPD.mjs} +2 -1
- package/dist/components/index.mjs +2 -2
- package/dist/core/index.mjs +3 -3
- package/dist/hooks/index.mjs +1 -1
- package/dist/interfaces/index.d.mts +4 -4
- package/dist/modules-features/index.mjs +7 -7
- package/package.json +1 -1
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
const_object_colors
|
|
8
8
|
} from "./chunk-7ORPZMGL.mjs";
|
|
9
|
+
import {
|
|
10
|
+
enum_daysOfWeek
|
|
11
|
+
} from "./chunk-K6S7R6LU.mjs";
|
|
9
12
|
import {
|
|
10
13
|
useMyReactMutation,
|
|
11
14
|
useMyReactQuery
|
|
12
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PRN7KYPD.mjs";
|
|
13
16
|
import {
|
|
14
17
|
utils_notification_show
|
|
15
18
|
} from "./chunk-7ZCOFATU.mjs";
|
|
16
|
-
import {
|
|
17
|
-
enum_daysOfWeek
|
|
18
|
-
} from "./chunk-K6S7R6LU.mjs";
|
|
19
19
|
import {
|
|
20
20
|
__objRest,
|
|
21
21
|
__spreadProps,
|
|
@@ -299,9 +299,9 @@ function MyButtonCreateUpdate({
|
|
|
299
299
|
/* @__PURE__ */ jsx4(
|
|
300
300
|
ScrollArea,
|
|
301
301
|
__spreadProps(__spreadValues({
|
|
302
|
-
|
|
302
|
+
h: (modalProps == null ? void 0 : modalProps.fullScreen) ? "calc(100vh - 140px)" : "68vh"
|
|
303
303
|
}, scrollAreaAutosizeProps), {
|
|
304
|
-
children: /* @__PURE__ */ jsx4(MyFlexColumn2, { children })
|
|
304
|
+
children: /* @__PURE__ */ jsx4(MyFlexColumn2, { p: "md", children })
|
|
305
305
|
})
|
|
306
306
|
),
|
|
307
307
|
/* @__PURE__ */ jsx4(Space, {}),
|
|
@@ -834,12 +834,12 @@ function MyWeeklySessionSchedulerPicker({
|
|
|
834
834
|
}
|
|
835
835
|
|
|
836
836
|
export {
|
|
837
|
-
MyDataTableSelectOne,
|
|
838
837
|
MyActionIcon,
|
|
839
838
|
MyButton,
|
|
840
839
|
MyFlexColumn2 as MyFlexColumn,
|
|
841
840
|
MyButtonCreateUpdate,
|
|
842
841
|
MyButtonModal,
|
|
842
|
+
MyDataTableSelectOne,
|
|
843
843
|
MyLabelValueRow,
|
|
844
844
|
MyStatsCard,
|
|
845
845
|
MyDayOfWeekPicker,
|
|
@@ -126,7 +126,7 @@ var useLoadAxiosConfig = ({
|
|
|
126
126
|
}) => {
|
|
127
127
|
const [flag, setFlag] = useState(false);
|
|
128
128
|
useEffect(() => {
|
|
129
|
-
async () => {
|
|
129
|
+
const loadConfig = async () => {
|
|
130
130
|
try {
|
|
131
131
|
const res = await fetch("/config.json");
|
|
132
132
|
const config = await res.json();
|
|
@@ -139,6 +139,7 @@ var useLoadAxiosConfig = ({
|
|
|
139
139
|
console.error("\u274C L\u1ED7i khi load config.json:", err);
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
|
+
loadConfig();
|
|
142
143
|
}, [axiosInstance, url]);
|
|
143
144
|
return { flag, setFlag };
|
|
144
145
|
};
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
useS_BasicAppShell,
|
|
63
63
|
useS_ButtonImport,
|
|
64
64
|
utils_layout_getItemsWithoutLinks
|
|
65
|
-
} from "../chunk-
|
|
65
|
+
} from "../chunk-KPQFRQ6R.mjs";
|
|
66
66
|
import "../chunk-Y3YGC5IH.mjs";
|
|
67
67
|
import "../chunk-5U2JSHSJ.mjs";
|
|
68
68
|
import {
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
MyFlexRow
|
|
72
72
|
} from "../chunk-GEYCGM75.mjs";
|
|
73
73
|
import "../chunk-7ORPZMGL.mjs";
|
|
74
|
-
import "../chunk-
|
|
74
|
+
import "../chunk-PRN7KYPD.mjs";
|
|
75
75
|
import "../chunk-7ZCOFATU.mjs";
|
|
76
76
|
import "../chunk-FWCSY2DS.mjs";
|
|
77
77
|
export {
|
package/dist/core/index.mjs
CHANGED
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
MyStatsCard,
|
|
14
14
|
MyTextInput,
|
|
15
15
|
MyWeeklySessionSchedulerPicker
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-NCNHWCYV.mjs";
|
|
17
17
|
import "../chunk-GEYCGM75.mjs";
|
|
18
18
|
import "../chunk-7ORPZMGL.mjs";
|
|
19
|
-
import "../chunk-UNMZHBJW.mjs";
|
|
20
|
-
import "../chunk-7ZCOFATU.mjs";
|
|
21
19
|
import "../chunk-K6S7R6LU.mjs";
|
|
20
|
+
import "../chunk-PRN7KYPD.mjs";
|
|
21
|
+
import "../chunk-7ZCOFATU.mjs";
|
|
22
22
|
import "../chunk-FWCSY2DS.mjs";
|
|
23
23
|
export {
|
|
24
24
|
MyActionIcon,
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -2,10 +2,6 @@ export { I as IEmailConfig } from '../EmailConfig-Bza2PzTi.mjs';
|
|
|
2
2
|
export { I as IAQModule } from '../IAQModule-DfONsRwE.mjs';
|
|
3
3
|
import { I as IBaseEntity } from '../IBaseEntity-BprRafT5.mjs';
|
|
4
4
|
|
|
5
|
-
interface IPageContent extends IBaseEntity {
|
|
6
|
-
description?: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
5
|
interface IFile {
|
|
10
6
|
fileName?: string | undefined;
|
|
11
7
|
fileExtension?: string | undefined;
|
|
@@ -55,4 +51,8 @@ interface IUser extends IBaseEntity {
|
|
|
55
51
|
email?: string;
|
|
56
52
|
}
|
|
57
53
|
|
|
54
|
+
interface IPageContent extends IBaseEntity {
|
|
55
|
+
description?: string;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
58
|
export { IBaseEntity, type IDocument, type IFile, type IPageContent, type IPagePermission, type IRole, type IUser };
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
groupToTwoLevels,
|
|
34
34
|
useS_authenticate,
|
|
35
35
|
utils_layout_getItemsWithoutLinks
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-KPQFRQ6R.mjs";
|
|
37
37
|
import {
|
|
38
38
|
createGenericStore
|
|
39
39
|
} from "../chunk-Y3YGC5IH.mjs";
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
MyButton as MyButton2,
|
|
46
46
|
MyDataTableSelectOne,
|
|
47
47
|
MyTextInput as MyTextInput2
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-NCNHWCYV.mjs";
|
|
49
49
|
import {
|
|
50
50
|
MyDataTable,
|
|
51
51
|
MyFlexColumn,
|
|
@@ -54,6 +54,10 @@ import {
|
|
|
54
54
|
import {
|
|
55
55
|
const_object_colors
|
|
56
56
|
} from "../chunk-7ORPZMGL.mjs";
|
|
57
|
+
import {
|
|
58
|
+
enum_emailConfigModule
|
|
59
|
+
} from "../chunk-VH4ZAD6M.mjs";
|
|
60
|
+
import "../chunk-K6S7R6LU.mjs";
|
|
57
61
|
import {
|
|
58
62
|
baseAxios_default,
|
|
59
63
|
createBaseApi,
|
|
@@ -63,14 +67,10 @@ import {
|
|
|
63
67
|
useMyRouter,
|
|
64
68
|
useQ_AQ_GetAQModule,
|
|
65
69
|
useQ_SkillCenter_GetAll
|
|
66
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-PRN7KYPD.mjs";
|
|
67
71
|
import {
|
|
68
72
|
utils_notification_show
|
|
69
73
|
} from "../chunk-7ZCOFATU.mjs";
|
|
70
|
-
import {
|
|
71
|
-
enum_emailConfigModule
|
|
72
|
-
} from "../chunk-VH4ZAD6M.mjs";
|
|
73
|
-
import "../chunk-K6S7R6LU.mjs";
|
|
74
74
|
import {
|
|
75
75
|
__objRest,
|
|
76
76
|
__spreadProps,
|