aq-fe-framework 0.1.1008 → 0.1.1010
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-OZIHCWNJ.mjs → chunk-TN2CFXUW.mjs} +37 -60
- package/dist/components/index.mjs +3 -3
- package/dist/const/index.mjs +1 -1
- package/dist/core/index.mjs +3 -3
- package/dist/modules-features/index.mjs +3 -3
- package/dist/shared/index.mjs +3 -3
- package/package.json +1 -1
- package/dist/{chunk-OHAOJE5F.mjs → chunk-C74M5VPE.mjs} +1 -1
|
@@ -1,15 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createGenericStore as createGenericStore2,
|
|
3
|
-
useStore_Permission,
|
|
4
|
-
useStore_ProjectInfo
|
|
5
|
-
} from "./chunk-PKP6EDBO.mjs";
|
|
6
|
-
import {
|
|
7
|
-
utils_date,
|
|
8
|
-
utils_excel,
|
|
9
|
-
utils_file,
|
|
10
|
-
utils_mantineReactTable,
|
|
11
|
-
utils_text
|
|
12
|
-
} from "./chunk-7ZI7IOEP.mjs";
|
|
13
1
|
import {
|
|
14
2
|
utils_aq_mapBaseEntityToDomain,
|
|
15
3
|
utils_aq_mapDomainToEntity,
|
|
@@ -24,13 +12,25 @@ import {
|
|
|
24
12
|
utils_notification_show,
|
|
25
13
|
utils_pdf_download
|
|
26
14
|
} from "./chunk-KGBXMHKR.mjs";
|
|
15
|
+
import {
|
|
16
|
+
createGenericStore as createGenericStore2,
|
|
17
|
+
useStore_Permission,
|
|
18
|
+
useStore_ProjectInfo
|
|
19
|
+
} from "./chunk-PKP6EDBO.mjs";
|
|
20
|
+
import {
|
|
21
|
+
utils_date,
|
|
22
|
+
utils_excel,
|
|
23
|
+
utils_file,
|
|
24
|
+
utils_mantineReactTable,
|
|
25
|
+
utils_text
|
|
26
|
+
} from "./chunk-7ZI7IOEP.mjs";
|
|
27
27
|
import {
|
|
28
28
|
createGenericStore
|
|
29
29
|
} from "./chunk-BTITP4TN.mjs";
|
|
30
30
|
import {
|
|
31
31
|
const_object_colors,
|
|
32
32
|
const_object_documentTypes
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-C74M5VPE.mjs";
|
|
34
34
|
import {
|
|
35
35
|
enumLabel_gender,
|
|
36
36
|
enum_daysOfWeek
|
|
@@ -10216,25 +10216,6 @@ function AccountManagement_Import() {
|
|
|
10216
10216
|
] });
|
|
10217
10217
|
}
|
|
10218
10218
|
|
|
10219
|
-
// src/api/services/accountService.ts
|
|
10220
|
-
var CONTROLLER6 = "/account";
|
|
10221
|
-
var apiData_Account = __spreadProps(__spreadValues({}, createBaseApi(CONTROLLER6, baseAxios_default)), {
|
|
10222
|
-
// Các hàm custom
|
|
10223
|
-
getCoeAccountById: (id) => {
|
|
10224
|
-
return baseAxios_default.post(CONTROLLER6 + `/getCOEAccount`, { userId: id });
|
|
10225
|
-
},
|
|
10226
|
-
getAdminAccount: (params) => {
|
|
10227
|
-
var _a, _b;
|
|
10228
|
-
return baseAxios_default.get(CONTROLLER6 + `/GetAdminAccount`, {
|
|
10229
|
-
params: {
|
|
10230
|
-
pageSize: (_a = params.paging) == null ? void 0 : _a.pageSize,
|
|
10231
|
-
pageNumber: (_b = params.paging) == null ? void 0 : _b.pageNumber,
|
|
10232
|
-
name: params.name
|
|
10233
|
-
}
|
|
10234
|
-
});
|
|
10235
|
-
}
|
|
10236
|
-
});
|
|
10237
|
-
|
|
10238
10219
|
// src/modules-features/admin/core/accountManagement/AccountManagement_SyncUserFormEdusoftnet.tsx
|
|
10239
10220
|
import { Button as Button17, Center as Center7, Flex as Flex7, Modal as Modal15, Text as Text18 } from "@mantine/core";
|
|
10240
10221
|
import { useDisclosure as useDisclosure13 } from "@mantine/hooks";
|
|
@@ -10298,7 +10279,7 @@ function AccountManagement_ReadUser() {
|
|
|
10298
10279
|
const AllUserQuery = useMyReactQuery({
|
|
10299
10280
|
queryKey: ["AllUserQuery", paginationState[0].pageIndex + 1, paginationState[0].pageSize, globalFilter],
|
|
10300
10281
|
axiosFn: () => {
|
|
10301
|
-
return
|
|
10282
|
+
return service_account.getAdminAccount({
|
|
10302
10283
|
paging: {
|
|
10303
10284
|
pageNumber: paginationState[0].pageIndex + 1,
|
|
10304
10285
|
pageSize: paginationState[0].pageSize
|
|
@@ -10435,8 +10416,8 @@ function F_accountManagement({ isRequireSkillCenter = false }) {
|
|
|
10435
10416
|
}
|
|
10436
10417
|
|
|
10437
10418
|
// src/api/services/service_codeFormula.ts
|
|
10438
|
-
var
|
|
10439
|
-
var service_codeFormula = __spreadValues({}, createBaseApi(
|
|
10419
|
+
var CONTROLLER6 = "/CodeFormula";
|
|
10420
|
+
var service_codeFormula = __spreadValues({}, createBaseApi(CONTROLLER6, baseAxios_default));
|
|
10440
10421
|
|
|
10441
10422
|
// src/modules-features/admin/core/CodeFormula/CodeFormulaCreate.tsx
|
|
10442
10423
|
import { Select as Select5 } from "@mantine/core";
|
|
@@ -13057,11 +13038,11 @@ function DepartmentFeature() {
|
|
|
13057
13038
|
import { Tabs as Tabs2 } from "@mantine/core";
|
|
13058
13039
|
|
|
13059
13040
|
// src/api/services/service_documentAttribute.ts
|
|
13060
|
-
var
|
|
13061
|
-
var service_documentAttribute = __spreadProps(__spreadValues({}, createBaseApi(
|
|
13041
|
+
var CONTROLLER7 = "/DocumentAttribute";
|
|
13042
|
+
var service_documentAttribute = __spreadProps(__spreadValues({}, createBaseApi(CONTROLLER7, baseAxios_default)), {
|
|
13062
13043
|
GetByType: (FormTypeId) => {
|
|
13063
13044
|
return baseAxios_default.get(
|
|
13064
|
-
|
|
13045
|
+
CONTROLLER7 + `/GetByType?documentType=${FormTypeId}`
|
|
13065
13046
|
);
|
|
13066
13047
|
}
|
|
13067
13048
|
});
|
|
@@ -13206,11 +13187,11 @@ function F_documentCategories_Select(_a) {
|
|
|
13206
13187
|
}
|
|
13207
13188
|
|
|
13208
13189
|
// src/api/services/service_emailTemplate.ts
|
|
13209
|
-
var
|
|
13210
|
-
var service_emailTemplate = __spreadProps(__spreadValues({}, createBaseApi(`${
|
|
13190
|
+
var CONTROLLER8 = "/EmailTemplate";
|
|
13191
|
+
var service_emailTemplate = __spreadProps(__spreadValues({}, createBaseApi(`${CONTROLLER8}`, baseAxios_default)), {
|
|
13211
13192
|
GetEmailVariables: (typeNumber) => {
|
|
13212
13193
|
return baseAxios_default.get(
|
|
13213
|
-
|
|
13194
|
+
CONTROLLER8 + `/GetEmailVariables?type=${typeNumber}`
|
|
13214
13195
|
);
|
|
13215
13196
|
}
|
|
13216
13197
|
});
|
|
@@ -13682,16 +13663,16 @@ function EmailTemplateTable({ emailTemplateEnum }) {
|
|
|
13682
13663
|
import { Space as Space7 } from "@mantine/core";
|
|
13683
13664
|
|
|
13684
13665
|
// src/api/services/service_document.ts
|
|
13685
|
-
var
|
|
13686
|
-
var service_document = __spreadProps(__spreadValues({}, createBaseApi(
|
|
13666
|
+
var CONTROLLER9 = "/Document";
|
|
13667
|
+
var service_document = __spreadProps(__spreadValues({}, createBaseApi(CONTROLLER9, baseAxios_default)), {
|
|
13687
13668
|
GetByDocumentAttribute: (documentType) => {
|
|
13688
13669
|
return baseAxios_default.get(
|
|
13689
|
-
|
|
13670
|
+
CONTROLLER9 + `/GetByDocumentAttribute?id=${documentType}`
|
|
13690
13671
|
);
|
|
13691
13672
|
},
|
|
13692
13673
|
GetByType: (documentId) => {
|
|
13693
13674
|
return baseAxios_default.get(
|
|
13694
|
-
|
|
13675
|
+
CONTROLLER9 + `/GetByType?documentType=${documentId}`
|
|
13695
13676
|
);
|
|
13696
13677
|
}
|
|
13697
13678
|
});
|
|
@@ -14239,8 +14220,8 @@ function LecturerListTable() {
|
|
|
14239
14220
|
}
|
|
14240
14221
|
|
|
14241
14222
|
// src/api/services/service_emailConfig.ts
|
|
14242
|
-
var
|
|
14243
|
-
var service_emailConfig = __spreadValues({}, createBaseApi(
|
|
14223
|
+
var CONTROLLER10 = "/EmailConfig";
|
|
14224
|
+
var service_emailConfig = __spreadValues({}, createBaseApi(CONTROLLER10, baseAxios_default));
|
|
14244
14225
|
|
|
14245
14226
|
// src/modules-features/admin/core/mailConfig/F_mailConfig_Read.tsx
|
|
14246
14227
|
import { Center as Center9 } from "@mantine/core";
|
|
@@ -16799,7 +16780,12 @@ function Feat_Authenticate_Login({
|
|
|
16799
16780
|
const router = useRouter4();
|
|
16800
16781
|
const authenticateStore = useStore_Authenticate();
|
|
16801
16782
|
const permissionStore = useStore_Permission();
|
|
16802
|
-
const mutation =
|
|
16783
|
+
const mutation = useMutation4({
|
|
16784
|
+
mutationFn: async (values) => {
|
|
16785
|
+
const result = await baseAxios_default.post("/Account/SignIn", values);
|
|
16786
|
+
return result.data;
|
|
16787
|
+
}
|
|
16788
|
+
});
|
|
16803
16789
|
const form = useForm41({
|
|
16804
16790
|
initialValues: {
|
|
16805
16791
|
username: "",
|
|
@@ -16918,15 +16904,6 @@ function Feat_Authenticate_Login({
|
|
|
16918
16904
|
}
|
|
16919
16905
|
);
|
|
16920
16906
|
}
|
|
16921
|
-
function useM_Account_Sigin() {
|
|
16922
|
-
const mutation = useMutation4({
|
|
16923
|
-
mutationFn: async (values) => {
|
|
16924
|
-
const result = await baseAxios_default.post("/Account/SignIn", values);
|
|
16925
|
-
return result.data;
|
|
16926
|
-
}
|
|
16927
|
-
});
|
|
16928
|
-
return mutation;
|
|
16929
|
-
}
|
|
16930
16907
|
|
|
16931
16908
|
// src/modules-features/authenticate/Feat_Authenticate_Logout.tsx
|
|
16932
16909
|
import { Button as Button21 } from "@mantine/core";
|
|
@@ -17692,11 +17669,11 @@ function HeaderMegaMenu({ children, menus }) {
|
|
|
17692
17669
|
}
|
|
17693
17670
|
|
|
17694
17671
|
// src/api/services/service_aq.ts
|
|
17695
|
-
var
|
|
17696
|
-
var service_aq = __spreadProps(__spreadValues({}, createBaseApi(
|
|
17672
|
+
var CONTROLLER11 = "/AQ";
|
|
17673
|
+
var service_aq = __spreadProps(__spreadValues({}, createBaseApi(CONTROLLER11, baseAxios_default)), {
|
|
17697
17674
|
getFile: (params) => {
|
|
17698
17675
|
return baseAxios_default.get(
|
|
17699
|
-
|
|
17676
|
+
CONTROLLER11 + `/GetFile`,
|
|
17700
17677
|
{ params }
|
|
17701
17678
|
);
|
|
17702
17679
|
}
|
|
@@ -69,13 +69,13 @@ import {
|
|
|
69
69
|
useHeaderMegaMenuStore,
|
|
70
70
|
useS_ButtonImport,
|
|
71
71
|
useStore_BasicAppShell
|
|
72
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-TN2CFXUW.mjs";
|
|
73
|
+
import "../chunk-KGBXMHKR.mjs";
|
|
73
74
|
import "../chunk-PKP6EDBO.mjs";
|
|
74
75
|
import "../chunk-7ZI7IOEP.mjs";
|
|
75
|
-
import "../chunk-KGBXMHKR.mjs";
|
|
76
76
|
import "../chunk-NYAWQRB7.mjs";
|
|
77
77
|
import "../chunk-BTITP4TN.mjs";
|
|
78
|
-
import "../chunk-
|
|
78
|
+
import "../chunk-C74M5VPE.mjs";
|
|
79
79
|
import "../chunk-J4WTZ3B4.mjs";
|
|
80
80
|
import "../chunk-Z76CSZFI.mjs";
|
|
81
81
|
import "../chunk-WZ6PXGGC.mjs";
|
package/dist/const/index.mjs
CHANGED
package/dist/core/index.mjs
CHANGED
|
@@ -31,13 +31,13 @@ import {
|
|
|
31
31
|
MyStatsCard,
|
|
32
32
|
MyTextInput2 as MyTextInput,
|
|
33
33
|
MyWeeklySessionSchedulerPicker
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-TN2CFXUW.mjs";
|
|
35
|
+
import "../chunk-KGBXMHKR.mjs";
|
|
35
36
|
import "../chunk-PKP6EDBO.mjs";
|
|
36
37
|
import "../chunk-7ZI7IOEP.mjs";
|
|
37
|
-
import "../chunk-KGBXMHKR.mjs";
|
|
38
38
|
import "../chunk-NYAWQRB7.mjs";
|
|
39
39
|
import "../chunk-BTITP4TN.mjs";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-C74M5VPE.mjs";
|
|
41
41
|
import "../chunk-J4WTZ3B4.mjs";
|
|
42
42
|
import "../chunk-Z76CSZFI.mjs";
|
|
43
43
|
import "../chunk-WZ6PXGGC.mjs";
|
|
@@ -103,13 +103,13 @@ import {
|
|
|
103
103
|
MailTemplateDeleteButton,
|
|
104
104
|
useS_moduleConfig,
|
|
105
105
|
useStore_Authenticate
|
|
106
|
-
} from "../chunk-
|
|
106
|
+
} from "../chunk-TN2CFXUW.mjs";
|
|
107
|
+
import "../chunk-KGBXMHKR.mjs";
|
|
107
108
|
import "../chunk-PKP6EDBO.mjs";
|
|
108
109
|
import "../chunk-7ZI7IOEP.mjs";
|
|
109
|
-
import "../chunk-KGBXMHKR.mjs";
|
|
110
110
|
import "../chunk-NYAWQRB7.mjs";
|
|
111
111
|
import "../chunk-BTITP4TN.mjs";
|
|
112
|
-
import "../chunk-
|
|
112
|
+
import "../chunk-C74M5VPE.mjs";
|
|
113
113
|
import "../chunk-J4WTZ3B4.mjs";
|
|
114
114
|
import "../chunk-Z76CSZFI.mjs";
|
|
115
115
|
import "../chunk-WZ6PXGGC.mjs";
|
package/dist/shared/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../chunk-NMY3UEY5.mjs";
|
|
2
2
|
import {
|
|
3
3
|
MySelect
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-TN2CFXUW.mjs";
|
|
5
|
+
import "../chunk-KGBXMHKR.mjs";
|
|
5
6
|
import "../chunk-PKP6EDBO.mjs";
|
|
6
7
|
import {
|
|
7
8
|
utils_converter
|
|
8
9
|
} from "../chunk-7ZI7IOEP.mjs";
|
|
9
|
-
import "../chunk-KGBXMHKR.mjs";
|
|
10
10
|
import "../chunk-NYAWQRB7.mjs";
|
|
11
11
|
import "../chunk-BTITP4TN.mjs";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-C74M5VPE.mjs";
|
|
13
13
|
import {
|
|
14
14
|
enumLabel_gender,
|
|
15
15
|
enum_gender
|
package/package.json
CHANGED