aq-fe-framework 0.1.586 → 0.1.587
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/IBaseDomain-jvFcmDYD.d.mts +14 -0
- package/dist/{IRole-DuAWX8GZ.d.mts → IRole-DMQeBuXf.d.mts} +1 -0
- package/dist/{chunk-PAA4BOR3.mjs → chunk-POGG4DRT.mjs} +1 -1
- package/dist/{chunk-HKNJ3Z5S.mjs → chunk-QYAGST5Z.mjs} +1 -1
- package/dist/{chunk-7THDVNI5.mjs → chunk-V55EBMN5.mjs} +29 -0
- package/dist/{chunk-E3HQJQYH.mjs → chunk-XXXOP2LV.mjs} +1 -1
- package/dist/components/index.mjs +2 -2
- package/dist/core/index.mjs +4 -4
- package/dist/coreService/index.mjs +3 -3
- package/dist/interfaces/index.d.mts +2 -1
- package/dist/modules-features/index.d.mts +4 -2
- package/dist/modules-features/index.mjs +1037 -737
- package/dist/utils/index.d.mts +6 -2
- package/dist/utils/index.mjs +5 -1
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface IBaseDomain {
|
|
2
|
+
id: string;
|
|
3
|
+
code?: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
createDate?: Date;
|
|
7
|
+
createByUserName?: string;
|
|
8
|
+
editDate?: Date;
|
|
9
|
+
editByUserName?: string;
|
|
10
|
+
concurrencyStamp?: string;
|
|
11
|
+
isEnabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type { IBaseDomain as I };
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
utils_mantineReactTable_filterColumnsByVisibleKeys,
|
|
7
7
|
utils_mantineReactTable_sortColumnsByKeyOrder,
|
|
8
8
|
utils_pdf_download
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-V55EBMN5.mjs";
|
|
10
10
|
import {
|
|
11
11
|
const_object_colors
|
|
12
12
|
} from "./chunk-OMJJAHOC.mjs";
|
|
@@ -3,6 +3,33 @@ import {
|
|
|
3
3
|
__spreadValues
|
|
4
4
|
} from "./chunk-FWCSY2DS.mjs";
|
|
5
5
|
|
|
6
|
+
// src/utils/utils_aq.ts
|
|
7
|
+
function utils_aq_mapBaseEntityToDomain(entity) {
|
|
8
|
+
var _a, _b;
|
|
9
|
+
return {
|
|
10
|
+
id: (_b = (_a = entity.id) == null ? void 0 : _a.toString()) != null ? _b : "",
|
|
11
|
+
// đảm bảo string
|
|
12
|
+
code: entity.code,
|
|
13
|
+
name: entity.name,
|
|
14
|
+
editDate: entity.modifiedWhen,
|
|
15
|
+
editByUserName: entity.modifiedFullName,
|
|
16
|
+
concurrencyStamp: entity.concurrencyStamp,
|
|
17
|
+
isEnabled: entity.isEnabled
|
|
18
|
+
// Các field khác nếu có trong IBaseDomain mà không có trong IBaseEntity thì sẽ undefined
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function utils_aq_mapDomainToEntity(domain) {
|
|
22
|
+
return {
|
|
23
|
+
id: domain.id ? parseInt(domain.id) : void 0,
|
|
24
|
+
code: domain.code,
|
|
25
|
+
name: domain.name,
|
|
26
|
+
concurrencyStamp: domain.concurrencyStamp,
|
|
27
|
+
modifiedWhen: domain.editDate,
|
|
28
|
+
modifiedFullName: domain.editByUserName,
|
|
29
|
+
isEnabled: domain.isEnabled
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
6
33
|
// src/utils/utils_config.ts
|
|
7
34
|
async function utils_config_getENV() {
|
|
8
35
|
return {
|
|
@@ -375,6 +402,8 @@ var utils_validator_validateCode = (value) => {
|
|
|
375
402
|
|
|
376
403
|
export {
|
|
377
404
|
utils_pdf_download,
|
|
405
|
+
utils_aq_mapBaseEntityToDomain,
|
|
406
|
+
utils_aq_mapDomainToEntity,
|
|
378
407
|
utils_config_getENV,
|
|
379
408
|
utils_converter_mapEnumToSelectData,
|
|
380
409
|
utils_converter_getLabelByValue,
|
|
@@ -68,9 +68,9 @@ import {
|
|
|
68
68
|
useHeaderMegaMenuStore,
|
|
69
69
|
useS_ButtonImport,
|
|
70
70
|
useStore_BasicAppShell
|
|
71
|
-
} from "../chunk-
|
|
71
|
+
} from "../chunk-POGG4DRT.mjs";
|
|
72
72
|
import "../chunk-PW6WTEVB.mjs";
|
|
73
|
-
import "../chunk-
|
|
73
|
+
import "../chunk-V55EBMN5.mjs";
|
|
74
74
|
import "../chunk-EWDS5IOF.mjs";
|
|
75
75
|
import "../chunk-OMJJAHOC.mjs";
|
|
76
76
|
import "../chunk-I6PPEZBF.mjs";
|
package/dist/core/index.mjs
CHANGED
|
@@ -22,14 +22,14 @@ import {
|
|
|
22
22
|
MyStatsCard,
|
|
23
23
|
MyTextInput,
|
|
24
24
|
MyWeeklySessionSchedulerPicker
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-XXXOP2LV.mjs";
|
|
26
26
|
import "../chunk-GFEMKKFH.mjs";
|
|
27
27
|
import {
|
|
28
28
|
MyModalDelete
|
|
29
|
-
} from "../chunk-
|
|
30
|
-
import "../chunk-
|
|
29
|
+
} from "../chunk-QYAGST5Z.mjs";
|
|
30
|
+
import "../chunk-POGG4DRT.mjs";
|
|
31
31
|
import "../chunk-PW6WTEVB.mjs";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-V55EBMN5.mjs";
|
|
33
33
|
import "../chunk-EWDS5IOF.mjs";
|
|
34
34
|
import "../chunk-OMJJAHOC.mjs";
|
|
35
35
|
import "../chunk-K6S7R6LU.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MyModalDelete
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-QYAGST5Z.mjs";
|
|
4
|
+
import "../chunk-POGG4DRT.mjs";
|
|
5
5
|
import "../chunk-PW6WTEVB.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-V55EBMN5.mjs";
|
|
7
7
|
import "../chunk-EWDS5IOF.mjs";
|
|
8
8
|
import "../chunk-OMJJAHOC.mjs";
|
|
9
9
|
import {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { I as IBaseEntity } from '../IBaseEntity-ChMy9RzQ.mjs';
|
|
2
2
|
import { I as IAQFileDetail } from '../utils_file-D9Yd0c4T.mjs';
|
|
3
3
|
export { I as IAQModule } from '../IAQModule-4U3n2emx.mjs';
|
|
4
|
-
export { I as
|
|
4
|
+
export { I as IBaseDomain } from '../IBaseDomain-jvFcmDYD.mjs';
|
|
5
|
+
export { I as IEmailConfig, a as IRole } from '../IRole-DMQeBuXf.mjs';
|
|
5
6
|
export { I as IPagePermission } from '../IPagePermission-992CbJhp.mjs';
|
|
6
7
|
|
|
7
8
|
interface IAccount extends IBaseEntity {
|
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import { I as I_BasicAppShell_LinkItem } from '../types-DcfN8y1h.mjs';
|
|
3
3
|
import { I as IBaseEntity } from '../IBaseEntity-ChMy9RzQ.mjs';
|
|
4
4
|
import { SelectProps, ButtonProps } from '@mantine/core';
|
|
5
|
-
import { I as IEmailConfig, a as IRole } from '../IRole-
|
|
5
|
+
import { I as IEmailConfig, a as IRole } from '../IRole-DMQeBuXf.mjs';
|
|
6
6
|
import { I as IAQModule } from '../IAQModule-4U3n2emx.mjs';
|
|
7
7
|
import { I as IPagePermission } from '../IPagePermission-992CbJhp.mjs';
|
|
8
8
|
import { ReactNode } from 'react';
|
|
@@ -15,6 +15,8 @@ declare function Feat_accessControlLevel({ menuData }: {
|
|
|
15
15
|
menuData: I_BasicAppShell_LinkItem[];
|
|
16
16
|
}): react_jsx_runtime.JSX.Element;
|
|
17
17
|
|
|
18
|
+
declare function Feat_AccountGroup(): react_jsx_runtime.JSX.Element;
|
|
19
|
+
|
|
18
20
|
interface IProps {
|
|
19
21
|
isRequireSkillCenter?: boolean;
|
|
20
22
|
}
|
|
@@ -901,4 +903,4 @@ interface F_authenticate_Login_Props {
|
|
|
901
903
|
}
|
|
902
904
|
declare function F_authenticate_Login({ header, redirectUrlAfterLogin, additionalActions, backgroundImage, onSuccess, showLoginButton, showSaveLogin, showForgotPassword, customSubmit, loginButtonProps }: F_authenticate_Login_Props): react_jsx_runtime.JSX.Element;
|
|
903
905
|
|
|
904
|
-
export { F_accountManagement, F_accountManagement_ChangePermission, F_accountManagement_Create, F_accountManagement_Delete, F_accountManagement_Read, F_accountManagement_Update, F_authenticate_Login, F_authenticate_Logout, F_authenticate_SplashPage, F_core12196, F_core12196_Create, F_core12196_Delete, F_core12196_Read, F_core12196_Update, F_core16209, F_core16209_Create, F_core16209_Delete, F_core16209_Update, F_core18256, F_core18256_Create, F_core18256_Delete, F_core18256_Read, F_core18256_Select, F_core18256_Update, F_core26965, F_core26965_Create, F_core26965_Delete, F_core26965_Update, F_core27311, F_core27311_Create, F_core27311_Delete, F_core27311_Read, F_core27311_Update, F_core35923, F_core40207, F_core40207_Create, F_core40207_Delete, F_core40207_Read, F_core40207_Update, F_core47643, F_core47643_Delete, F_core47643_Form, F_core47643_Read, F_core64229, F_core64229_Delete, F_core64229_Form, F_core64229_Read, F_core76318, F_core76318_Create, F_core76318_Delete, F_core76318_Update, F_documentCategories, F_documentCategories_Create, F_documentCategories_Delete, F_documentCategories_Read, F_documentCategories_Select, F_documentCategories_Update, F_formTemplateDocs, F_formTemplateDocs_Create, F_formTemplateDocs_Delete, F_formTemplateDocs_Read, F_formTemplateDocs_Update, F_mailConfig, F_mailConfig_CreateUpdate, F_mailConfig_Delete, F_mailConfig_Read, F_moduleConfig, F_organizationPolicyDocs, F_organizationPolicyDocs_Create, F_organizationPolicyDocs_Delete, F_organizationPolicyDocs_Update, F_pageContentConfig, F_roleCatalog, F_roleCatalog_Delete, F_roleCatalog_Form, F_roleCatalog_Read, F_securityPolicyDocs, F_securityPolicyDocs_Create, F_securityPolicyDocs_Delete, F_securityPolicyDocs_Update, F_systemUpdateDocs, F_systemUpdateDocs_Create, F_systemUpdateDocs_Delete, F_systemUpdateDocs_Update, F_userGuideDocs, F_userGuideDocs_Create, F_userGuideDocs_Delete, F_userGuideDocs_Read, F_userGuideDocs_Update, F_workflowProcessDocs, F_workflowProcessDocs_Create, F_workflowProcessDocs_Delete, F_workflowProcessDocs_Read, F_workflowProcessDocs_Update, Feat_accessControl, Feat_accessControlLevel, type I_accountManagement_Read, type I_moduleConfig_AQModule, useS_authenticate, useS_moduleConfig };
|
|
906
|
+
export { F_accountManagement, F_accountManagement_ChangePermission, F_accountManagement_Create, F_accountManagement_Delete, F_accountManagement_Read, F_accountManagement_Update, F_authenticate_Login, F_authenticate_Logout, F_authenticate_SplashPage, F_core12196, F_core12196_Create, F_core12196_Delete, F_core12196_Read, F_core12196_Update, F_core16209, F_core16209_Create, F_core16209_Delete, F_core16209_Update, F_core18256, F_core18256_Create, F_core18256_Delete, F_core18256_Read, F_core18256_Select, F_core18256_Update, F_core26965, F_core26965_Create, F_core26965_Delete, F_core26965_Update, F_core27311, F_core27311_Create, F_core27311_Delete, F_core27311_Read, F_core27311_Update, F_core35923, F_core40207, F_core40207_Create, F_core40207_Delete, F_core40207_Read, F_core40207_Update, F_core47643, F_core47643_Delete, F_core47643_Form, F_core47643_Read, F_core64229, F_core64229_Delete, F_core64229_Form, F_core64229_Read, F_core76318, F_core76318_Create, F_core76318_Delete, F_core76318_Update, F_documentCategories, F_documentCategories_Create, F_documentCategories_Delete, F_documentCategories_Read, F_documentCategories_Select, F_documentCategories_Update, F_formTemplateDocs, F_formTemplateDocs_Create, F_formTemplateDocs_Delete, F_formTemplateDocs_Read, F_formTemplateDocs_Update, F_mailConfig, F_mailConfig_CreateUpdate, F_mailConfig_Delete, F_mailConfig_Read, F_moduleConfig, F_organizationPolicyDocs, F_organizationPolicyDocs_Create, F_organizationPolicyDocs_Delete, F_organizationPolicyDocs_Update, F_pageContentConfig, F_roleCatalog, F_roleCatalog_Delete, F_roleCatalog_Form, F_roleCatalog_Read, F_securityPolicyDocs, F_securityPolicyDocs_Create, F_securityPolicyDocs_Delete, F_securityPolicyDocs_Update, F_systemUpdateDocs, F_systemUpdateDocs_Create, F_systemUpdateDocs_Delete, F_systemUpdateDocs_Update, F_userGuideDocs, F_userGuideDocs_Create, F_userGuideDocs_Delete, F_userGuideDocs_Read, F_userGuideDocs_Update, F_workflowProcessDocs, F_workflowProcessDocs_Create, F_workflowProcessDocs_Delete, F_workflowProcessDocs_Read, F_workflowProcessDocs_Update, Feat_AccountGroup, Feat_accessControl, Feat_accessControlLevel, type I_accountManagement_Read, type I_moduleConfig_AQModule, useS_authenticate, useS_moduleConfig };
|