aq-fe-framework 0.1.1007 → 0.1.1009
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/build-object/index.d.mts +1 -12
- package/dist/build-object/index.mjs +1 -3
- package/dist/{chunk-5F4MYOZX.mjs → chunk-BT6N7EEX.mjs} +27 -46
- package/dist/{chunk-LEFFCELO.mjs → chunk-NYAWQRB7.mjs} +0 -15
- package/dist/components/index.mjs +4 -4
- package/dist/core/index.mjs +4 -4
- package/dist/modules-features/index.mjs +4 -4
- package/dist/shared/index.mjs +4 -4
- package/package.json +1 -1
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
import * as zustand from 'zustand';
|
|
2
2
|
|
|
3
|
-
declare function createBaseUrl(baseUrl: string): {
|
|
4
|
-
get: string;
|
|
5
|
-
getAll: string;
|
|
6
|
-
create: string;
|
|
7
|
-
update: string;
|
|
8
|
-
updateList: string;
|
|
9
|
-
createOrUpdateList: string;
|
|
10
|
-
delete: string;
|
|
11
|
-
deleteList: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
3
|
interface GenericStore<T> {
|
|
15
4
|
state: T;
|
|
16
5
|
setState: (newState: T) => void;
|
|
@@ -41,4 +30,4 @@ declare function createTenantSettingsStore<TKey>(params: {
|
|
|
41
30
|
resetState: () => void;
|
|
42
31
|
};
|
|
43
32
|
|
|
44
|
-
export { type IStoreState, type ITenantSetting,
|
|
33
|
+
export { type IStoreState, type ITenantSetting, createGenericStore, createTenantSettingsStore };
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
createBaseUrl,
|
|
3
2
|
createTenantSettingsStore
|
|
4
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-NYAWQRB7.mjs";
|
|
5
4
|
import {
|
|
6
5
|
createGenericStore
|
|
7
6
|
} from "../chunk-BTITP4TN.mjs";
|
|
8
7
|
import "../chunk-JD6AELXS.mjs";
|
|
9
8
|
export {
|
|
10
|
-
createBaseUrl,
|
|
11
9
|
createGenericStore,
|
|
12
10
|
createTenantSettingsStore
|
|
13
11
|
};
|
|
@@ -3,6 +3,13 @@ import {
|
|
|
3
3
|
useStore_Permission,
|
|
4
4
|
useStore_ProjectInfo
|
|
5
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";
|
|
6
13
|
import {
|
|
7
14
|
utils_aq_mapBaseEntityToDomain,
|
|
8
15
|
utils_aq_mapDomainToEntity,
|
|
@@ -18,19 +25,12 @@ import {
|
|
|
18
25
|
utils_pdf_download
|
|
19
26
|
} from "./chunk-KGBXMHKR.mjs";
|
|
20
27
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
utils_file,
|
|
24
|
-
utils_mantineReactTable,
|
|
25
|
-
utils_text
|
|
26
|
-
} from "./chunk-7ZI7IOEP.mjs";
|
|
28
|
+
createGenericStore
|
|
29
|
+
} from "./chunk-BTITP4TN.mjs";
|
|
27
30
|
import {
|
|
28
31
|
const_object_colors,
|
|
29
32
|
const_object_documentTypes
|
|
30
33
|
} from "./chunk-C74M5VPE.mjs";
|
|
31
|
-
import {
|
|
32
|
-
createGenericStore
|
|
33
|
-
} from "./chunk-BTITP4TN.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";
|
|
@@ -17692,11 +17673,11 @@ function HeaderMegaMenu({ children, menus }) {
|
|
|
17692
17673
|
}
|
|
17693
17674
|
|
|
17694
17675
|
// src/api/services/service_aq.ts
|
|
17695
|
-
var
|
|
17696
|
-
var service_aq = __spreadProps(__spreadValues({}, createBaseApi(
|
|
17676
|
+
var CONTROLLER11 = "/AQ";
|
|
17677
|
+
var service_aq = __spreadProps(__spreadValues({}, createBaseApi(CONTROLLER11, baseAxios_default)), {
|
|
17697
17678
|
getFile: (params) => {
|
|
17698
17679
|
return baseAxios_default.get(
|
|
17699
|
-
|
|
17680
|
+
CONTROLLER11 + `/GetFile`,
|
|
17700
17681
|
{ params }
|
|
17701
17682
|
);
|
|
17702
17683
|
}
|
|
@@ -6,20 +6,6 @@ import {
|
|
|
6
6
|
__spreadValues
|
|
7
7
|
} from "./chunk-JD6AELXS.mjs";
|
|
8
8
|
|
|
9
|
-
// src/build-object/createBaseUrl.ts
|
|
10
|
-
function createBaseUrl(baseUrl) {
|
|
11
|
-
return {
|
|
12
|
-
get: `${baseUrl}/get`,
|
|
13
|
-
getAll: `${baseUrl}/GetAll`,
|
|
14
|
-
create: `${baseUrl}/create`,
|
|
15
|
-
update: `${baseUrl}/update`,
|
|
16
|
-
updateList: `${baseUrl}/updateList`,
|
|
17
|
-
createOrUpdateList: `${baseUrl}/createOrUpdateList`,
|
|
18
|
-
delete: `${baseUrl}/delete`,
|
|
19
|
-
deleteList: `${baseUrl}/deleteList`
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
|
|
23
9
|
// src/build-object/createTenantSettingsStore.ts
|
|
24
10
|
function createTenantSettingsStore(params) {
|
|
25
11
|
const useStore = createGenericStore({
|
|
@@ -39,6 +25,5 @@ function createTenantSettingsStore(params) {
|
|
|
39
25
|
}
|
|
40
26
|
|
|
41
27
|
export {
|
|
42
|
-
createBaseUrl,
|
|
43
28
|
createTenantSettingsStore
|
|
44
29
|
};
|
|
@@ -69,13 +69,13 @@ import {
|
|
|
69
69
|
useHeaderMegaMenuStore,
|
|
70
70
|
useS_ButtonImport,
|
|
71
71
|
useStore_BasicAppShell
|
|
72
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-BT6N7EEX.mjs";
|
|
73
73
|
import "../chunk-PKP6EDBO.mjs";
|
|
74
|
-
import "../chunk-KGBXMHKR.mjs";
|
|
75
74
|
import "../chunk-7ZI7IOEP.mjs";
|
|
76
|
-
import "../chunk-
|
|
77
|
-
import "../chunk-
|
|
75
|
+
import "../chunk-KGBXMHKR.mjs";
|
|
76
|
+
import "../chunk-NYAWQRB7.mjs";
|
|
78
77
|
import "../chunk-BTITP4TN.mjs";
|
|
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/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-BT6N7EEX.mjs";
|
|
35
35
|
import "../chunk-PKP6EDBO.mjs";
|
|
36
|
-
import "../chunk-KGBXMHKR.mjs";
|
|
37
36
|
import "../chunk-7ZI7IOEP.mjs";
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-KGBXMHKR.mjs";
|
|
38
|
+
import "../chunk-NYAWQRB7.mjs";
|
|
40
39
|
import "../chunk-BTITP4TN.mjs";
|
|
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-BT6N7EEX.mjs";
|
|
107
107
|
import "../chunk-PKP6EDBO.mjs";
|
|
108
|
-
import "../chunk-KGBXMHKR.mjs";
|
|
109
108
|
import "../chunk-7ZI7IOEP.mjs";
|
|
110
|
-
import "../chunk-
|
|
111
|
-
import "../chunk-
|
|
109
|
+
import "../chunk-KGBXMHKR.mjs";
|
|
110
|
+
import "../chunk-NYAWQRB7.mjs";
|
|
112
111
|
import "../chunk-BTITP4TN.mjs";
|
|
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-BT6N7EEX.mjs";
|
|
5
5
|
import "../chunk-PKP6EDBO.mjs";
|
|
6
|
-
import "../chunk-KGBXMHKR.mjs";
|
|
7
6
|
import {
|
|
8
7
|
utils_converter
|
|
9
8
|
} from "../chunk-7ZI7IOEP.mjs";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-KGBXMHKR.mjs";
|
|
10
|
+
import "../chunk-NYAWQRB7.mjs";
|
|
12
11
|
import "../chunk-BTITP4TN.mjs";
|
|
12
|
+
import "../chunk-C74M5VPE.mjs";
|
|
13
13
|
import {
|
|
14
14
|
enumLabel_gender,
|
|
15
15
|
enum_gender
|