aq-fe-framework 0.1.815 → 0.1.816
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-4OFNNM4J.mjs → chunk-TVGKUR6R.mjs} +27 -18
- package/dist/components/index.mjs +5 -5
- package/dist/const/index.mjs +1 -1
- package/dist/core/index.mjs +5 -5
- package/dist/coreService/index.mjs +7 -7
- package/dist/modules-features/index.d.mts +20 -0
- package/dist/modules-features/index.mjs +5 -5
- package/dist/shared/index.mjs +9 -9
- package/dist/utils/index.mjs +3 -3
- package/package.json +1 -1
- package/dist/{chunk-KAC7JMQB.mjs → chunk-DC3L5XSB.mjs} +1 -1
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
baseAxios_default,
|
|
3
|
+
createBaseApi,
|
|
4
|
+
useConfig,
|
|
5
|
+
useEditableRows,
|
|
6
|
+
useMyDevice,
|
|
7
|
+
useMyReactMutation,
|
|
8
|
+
useMyReactQuery,
|
|
9
|
+
useQ_AQ_GetAQModule
|
|
10
|
+
} from "./chunk-NSBIYOKX.mjs";
|
|
1
11
|
import {
|
|
2
12
|
createGenericStore,
|
|
3
13
|
useStore_Permission
|
|
@@ -13,6 +23,9 @@ import {
|
|
|
13
23
|
utils_mantineReactTable_sortColumnsByKeyOrder,
|
|
14
24
|
utils_pdf_download
|
|
15
25
|
} from "./chunk-RJH5TVHS.mjs";
|
|
26
|
+
import {
|
|
27
|
+
utils_notification_show
|
|
28
|
+
} from "./chunk-7ZCOFATU.mjs";
|
|
16
29
|
import {
|
|
17
30
|
utils_converter_enumToSelectOptions,
|
|
18
31
|
utils_converter_mapEnumToSelectData
|
|
@@ -27,23 +40,10 @@ import {
|
|
|
27
40
|
import {
|
|
28
41
|
const_object_colors,
|
|
29
42
|
const_object_documentTypes
|
|
30
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-DC3L5XSB.mjs";
|
|
31
44
|
import {
|
|
32
45
|
enum_daysOfWeek
|
|
33
46
|
} from "./chunk-K6S7R6LU.mjs";
|
|
34
|
-
import {
|
|
35
|
-
baseAxios_default,
|
|
36
|
-
createBaseApi,
|
|
37
|
-
useConfig,
|
|
38
|
-
useEditableRows,
|
|
39
|
-
useMyDevice,
|
|
40
|
-
useMyReactMutation,
|
|
41
|
-
useMyReactQuery,
|
|
42
|
-
useQ_AQ_GetAQModule
|
|
43
|
-
} from "./chunk-NSBIYOKX.mjs";
|
|
44
|
-
import {
|
|
45
|
-
utils_notification_show
|
|
46
|
-
} from "./chunk-7ZCOFATU.mjs";
|
|
47
47
|
import {
|
|
48
48
|
__objRest,
|
|
49
49
|
__spreadProps,
|
|
@@ -12758,7 +12758,7 @@ import { useForm as useForm23 } from "@mantine/form";
|
|
|
12758
12758
|
import { useEffect as useEffect24, useState as useState19 } from "react";
|
|
12759
12759
|
|
|
12760
12760
|
// src/modules-features/admin/core/departmentList/view/departmentCreateOrUpdate.tsx
|
|
12761
|
-
import { Textarea as Textarea5, TextInput as TextInput7 } from "@mantine/core";
|
|
12761
|
+
import { Checkbox as Checkbox7, Textarea as Textarea5, TextInput as TextInput7 } from "@mantine/core";
|
|
12762
12762
|
import { jsx as jsx153, jsxs as jsxs84 } from "react/jsx-runtime";
|
|
12763
12763
|
var type = {
|
|
12764
12764
|
1: "Khoa",
|
|
@@ -12797,6 +12797,7 @@ function DepartmentCreateOrUpdate({
|
|
|
12797
12797
|
/* @__PURE__ */ jsx153(
|
|
12798
12798
|
TextInput7,
|
|
12799
12799
|
__spreadValues({
|
|
12800
|
+
withAsterisk: true,
|
|
12800
12801
|
disabled: isUpdateMode,
|
|
12801
12802
|
label: "M\xE3 \u0111\u01A1n v\u1ECB",
|
|
12802
12803
|
placeholder: "\u0110i\u1EC1n m\xE3 \u0111\u01A1n v\u1ECB"
|
|
@@ -12805,6 +12806,7 @@ function DepartmentCreateOrUpdate({
|
|
|
12805
12806
|
/* @__PURE__ */ jsx153(
|
|
12806
12807
|
TextInput7,
|
|
12807
12808
|
__spreadValues({
|
|
12809
|
+
withAsterisk: true,
|
|
12808
12810
|
label: "T\xEAn \u0111\u01A1n v\u1ECB",
|
|
12809
12811
|
placeholder: "\u0110i\u1EC1n t\xEAn \u0111\u01A1n v\u1ECB"
|
|
12810
12812
|
}, form.getInputProps("name"))
|
|
@@ -12837,6 +12839,12 @@ function DepartmentCreateOrUpdate({
|
|
|
12837
12839
|
label: "Ghi ch\xFA",
|
|
12838
12840
|
placeholder: "Ghi ch\xFA"
|
|
12839
12841
|
}, form.getInputProps("note"))
|
|
12842
|
+
),
|
|
12843
|
+
/* @__PURE__ */ jsx153(
|
|
12844
|
+
Checkbox7,
|
|
12845
|
+
__spreadValues({
|
|
12846
|
+
label: "\u0110\u01A1n v\u1ECB ngo\xE0i tr\u01B0\u1EDDng"
|
|
12847
|
+
}, form.getInputProps("isWorkingUnit", { type: "checkbox" }))
|
|
12840
12848
|
)
|
|
12841
12849
|
]
|
|
12842
12850
|
}
|
|
@@ -12854,7 +12862,8 @@ var getDefaultInitialValues = () => ({
|
|
|
12854
12862
|
type: 1,
|
|
12855
12863
|
unitId: null,
|
|
12856
12864
|
note: "",
|
|
12857
|
-
unit: null
|
|
12865
|
+
unit: null,
|
|
12866
|
+
isWorkingUnit: false
|
|
12858
12867
|
});
|
|
12859
12868
|
function DepartmentCreateOrUpdateFeature({ mode, data: data2 }) {
|
|
12860
12869
|
const [fileData, setFileData] = useState19([]);
|
|
@@ -16714,7 +16723,7 @@ import {
|
|
|
16714
16723
|
BackgroundImage,
|
|
16715
16724
|
Button as Button21,
|
|
16716
16725
|
Center as Center9,
|
|
16717
|
-
Checkbox as
|
|
16726
|
+
Checkbox as Checkbox8,
|
|
16718
16727
|
Flex as Flex8,
|
|
16719
16728
|
Group as Group34,
|
|
16720
16729
|
Paper as Paper15,
|
|
@@ -16858,7 +16867,7 @@ function Feat_Authenticate_Login({
|
|
|
16858
16867
|
),
|
|
16859
16868
|
/* @__PURE__ */ jsxs127(Group34, { justify: "space-between", children: [
|
|
16860
16869
|
showSaveLogin && /* @__PURE__ */ jsx233(
|
|
16861
|
-
|
|
16870
|
+
Checkbox8,
|
|
16862
16871
|
{
|
|
16863
16872
|
checked: authenticateStore.state.saveLogin,
|
|
16864
16873
|
onChange: (e4) => authenticateStore.setProperty("saveLogin", e4.currentTarget.checked),
|
|
@@ -70,17 +70,17 @@ import {
|
|
|
70
70
|
useHeaderMegaMenuStore,
|
|
71
71
|
useS_ButtonImport,
|
|
72
72
|
useStore_BasicAppShell
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-TVGKUR6R.mjs";
|
|
74
|
+
import "../chunk-NSBIYOKX.mjs";
|
|
74
75
|
import "../chunk-SUH3FFFV.mjs";
|
|
76
|
+
import "../chunk-WZ6PXGGC.mjs";
|
|
75
77
|
import "../chunk-RJH5TVHS.mjs";
|
|
78
|
+
import "../chunk-7ZCOFATU.mjs";
|
|
76
79
|
import "../chunk-7NNLZDND.mjs";
|
|
77
80
|
import "../chunk-O7YCQQO5.mjs";
|
|
78
81
|
import "../chunk-QSWIVDXC.mjs";
|
|
79
|
-
import "../chunk-
|
|
82
|
+
import "../chunk-DC3L5XSB.mjs";
|
|
80
83
|
import "../chunk-K6S7R6LU.mjs";
|
|
81
|
-
import "../chunk-NSBIYOKX.mjs";
|
|
82
|
-
import "../chunk-WZ6PXGGC.mjs";
|
|
83
|
-
import "../chunk-7ZCOFATU.mjs";
|
|
84
84
|
import "../chunk-FWCSY2DS.mjs";
|
|
85
85
|
export {
|
|
86
86
|
AQButtonCreateByImportFile,
|
package/dist/const/index.mjs
CHANGED
package/dist/core/index.mjs
CHANGED
|
@@ -29,17 +29,17 @@ import {
|
|
|
29
29
|
MyStatsCard,
|
|
30
30
|
MyTextInput2 as MyTextInput,
|
|
31
31
|
MyWeeklySessionSchedulerPicker
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-TVGKUR6R.mjs";
|
|
33
|
+
import "../chunk-NSBIYOKX.mjs";
|
|
33
34
|
import "../chunk-SUH3FFFV.mjs";
|
|
35
|
+
import "../chunk-WZ6PXGGC.mjs";
|
|
34
36
|
import "../chunk-RJH5TVHS.mjs";
|
|
37
|
+
import "../chunk-7ZCOFATU.mjs";
|
|
35
38
|
import "../chunk-7NNLZDND.mjs";
|
|
36
39
|
import "../chunk-O7YCQQO5.mjs";
|
|
37
40
|
import "../chunk-QSWIVDXC.mjs";
|
|
38
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-DC3L5XSB.mjs";
|
|
39
42
|
import "../chunk-K6S7R6LU.mjs";
|
|
40
|
-
import "../chunk-NSBIYOKX.mjs";
|
|
41
|
-
import "../chunk-WZ6PXGGC.mjs";
|
|
42
|
-
import "../chunk-7ZCOFATU.mjs";
|
|
43
43
|
import "../chunk-FWCSY2DS.mjs";
|
|
44
44
|
export {
|
|
45
45
|
CustomAutocomplete,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MyModalDelete
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-TVGKUR6R.mjs";
|
|
4
|
+
import {
|
|
5
|
+
useMyReactMutation
|
|
6
|
+
} from "../chunk-NSBIYOKX.mjs";
|
|
4
7
|
import "../chunk-SUH3FFFV.mjs";
|
|
8
|
+
import "../chunk-WZ6PXGGC.mjs";
|
|
5
9
|
import "../chunk-RJH5TVHS.mjs";
|
|
10
|
+
import "../chunk-7ZCOFATU.mjs";
|
|
6
11
|
import "../chunk-7NNLZDND.mjs";
|
|
7
12
|
import "../chunk-O7YCQQO5.mjs";
|
|
8
13
|
import "../chunk-QSWIVDXC.mjs";
|
|
9
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-DC3L5XSB.mjs";
|
|
10
15
|
import "../chunk-K6S7R6LU.mjs";
|
|
11
|
-
import {
|
|
12
|
-
useMyReactMutation
|
|
13
|
-
} from "../chunk-NSBIYOKX.mjs";
|
|
14
|
-
import "../chunk-WZ6PXGGC.mjs";
|
|
15
|
-
import "../chunk-7ZCOFATU.mjs";
|
|
16
16
|
import {
|
|
17
17
|
__objRest,
|
|
18
18
|
__spreadValues
|
|
@@ -470,10 +470,30 @@ declare function F_core76318_Update({ values }: {
|
|
|
470
470
|
}): react_jsx_runtime.JSX.Element;
|
|
471
471
|
|
|
472
472
|
interface IUnit extends IBaseEntity {
|
|
473
|
+
/**
|
|
474
|
+
* Loại đơn vị
|
|
475
|
+
* 1: "Khoa"
|
|
476
|
+
* 2: "Bộ môn"
|
|
477
|
+
* 3: "Phòng"
|
|
478
|
+
* 4: "Trung tâm"
|
|
479
|
+
*/
|
|
473
480
|
type?: number | null;
|
|
481
|
+
/**
|
|
482
|
+
* Id của đơn vị trực thuộc
|
|
483
|
+
*/
|
|
474
484
|
unitId?: number | null;
|
|
485
|
+
/**
|
|
486
|
+
* Ghi chú
|
|
487
|
+
*/
|
|
475
488
|
note?: string;
|
|
489
|
+
/**
|
|
490
|
+
* Thông tin của đơn vị trực thuộc
|
|
491
|
+
*/
|
|
476
492
|
unit?: IUnit | null;
|
|
493
|
+
/**
|
|
494
|
+
* Đơn vị ngoài trường
|
|
495
|
+
*/
|
|
496
|
+
isWorkingUnit?: boolean;
|
|
477
497
|
}
|
|
478
498
|
|
|
479
499
|
declare function DepartmentFeature(): react_jsx_runtime.JSX.Element;
|
|
@@ -113,17 +113,17 @@ import {
|
|
|
113
113
|
MailTemplateDeleteButton,
|
|
114
114
|
useS_moduleConfig,
|
|
115
115
|
useStore_Authenticate
|
|
116
|
-
} from "../chunk-
|
|
116
|
+
} from "../chunk-TVGKUR6R.mjs";
|
|
117
|
+
import "../chunk-NSBIYOKX.mjs";
|
|
117
118
|
import "../chunk-SUH3FFFV.mjs";
|
|
119
|
+
import "../chunk-WZ6PXGGC.mjs";
|
|
118
120
|
import "../chunk-RJH5TVHS.mjs";
|
|
121
|
+
import "../chunk-7ZCOFATU.mjs";
|
|
119
122
|
import "../chunk-7NNLZDND.mjs";
|
|
120
123
|
import "../chunk-O7YCQQO5.mjs";
|
|
121
124
|
import "../chunk-QSWIVDXC.mjs";
|
|
122
|
-
import "../chunk-
|
|
125
|
+
import "../chunk-DC3L5XSB.mjs";
|
|
123
126
|
import "../chunk-K6S7R6LU.mjs";
|
|
124
|
-
import "../chunk-NSBIYOKX.mjs";
|
|
125
|
-
import "../chunk-WZ6PXGGC.mjs";
|
|
126
|
-
import "../chunk-7ZCOFATU.mjs";
|
|
127
127
|
import "../chunk-FWCSY2DS.mjs";
|
|
128
128
|
export {
|
|
129
129
|
AcademicYearsCreate,
|
package/dist/shared/index.mjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
utils_converter
|
|
3
3
|
} from "../chunk-JNYSYNJY.mjs";
|
|
4
|
+
import {
|
|
5
|
+
enumLabel_gender,
|
|
6
|
+
enum_gender
|
|
7
|
+
} from "../chunk-U42DQAY7.mjs";
|
|
4
8
|
import {
|
|
5
9
|
MySelect
|
|
6
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-TVGKUR6R.mjs";
|
|
11
|
+
import "../chunk-NSBIYOKX.mjs";
|
|
7
12
|
import "../chunk-SUH3FFFV.mjs";
|
|
13
|
+
import "../chunk-WZ6PXGGC.mjs";
|
|
8
14
|
import "../chunk-RJH5TVHS.mjs";
|
|
15
|
+
import "../chunk-7ZCOFATU.mjs";
|
|
9
16
|
import "../chunk-7NNLZDND.mjs";
|
|
10
17
|
import "../chunk-O7YCQQO5.mjs";
|
|
11
18
|
import "../chunk-QSWIVDXC.mjs";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import {
|
|
14
|
-
enumLabel_gender,
|
|
15
|
-
enum_gender
|
|
16
|
-
} from "../chunk-U42DQAY7.mjs";
|
|
19
|
+
import "../chunk-DC3L5XSB.mjs";
|
|
17
20
|
import "../chunk-K6S7R6LU.mjs";
|
|
18
|
-
import "../chunk-NSBIYOKX.mjs";
|
|
19
|
-
import "../chunk-WZ6PXGGC.mjs";
|
|
20
|
-
import "../chunk-7ZCOFATU.mjs";
|
|
21
21
|
import {
|
|
22
22
|
__objRest,
|
|
23
23
|
__spreadValues
|
package/dist/utils/index.mjs
CHANGED
|
@@ -28,6 +28,9 @@ import {
|
|
|
28
28
|
utils_time_getHourMinuteFromString,
|
|
29
29
|
utils_validator_validateCode
|
|
30
30
|
} from "../chunk-RJH5TVHS.mjs";
|
|
31
|
+
import {
|
|
32
|
+
utils_notification_show
|
|
33
|
+
} from "../chunk-7ZCOFATU.mjs";
|
|
31
34
|
import {
|
|
32
35
|
utils_converter_enumToSelectOptions,
|
|
33
36
|
utils_converter_getKeyByValue,
|
|
@@ -41,9 +44,6 @@ import {
|
|
|
41
44
|
utils_date_formatToDateTimeString,
|
|
42
45
|
utils_date_getHHmm
|
|
43
46
|
} from "../chunk-QSWIVDXC.mjs";
|
|
44
|
-
import {
|
|
45
|
-
utils_notification_show
|
|
46
|
-
} from "../chunk-7ZCOFATU.mjs";
|
|
47
47
|
import "../chunk-FWCSY2DS.mjs";
|
|
48
48
|
export {
|
|
49
49
|
updateEnableList,
|
package/package.json
CHANGED