aq-fe-framework 0.1.326 → 0.1.327
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.
@@ -2,6 +2,10 @@ import { I as IBaseEntity } from '../base-BprRafT5.mjs';
|
|
2
2
|
export { I as IEmailConfig } from '../EmailConfig-DvTXTBt3.mjs';
|
3
3
|
export { I as IAQModule } from '../IAQModule-CCtwv-e0.mjs';
|
4
4
|
|
5
|
+
interface IPageContent extends IBaseEntity {
|
6
|
+
description?: string;
|
7
|
+
}
|
8
|
+
|
5
9
|
interface IFile {
|
6
10
|
fileName?: string | undefined;
|
7
11
|
fileExtension?: string | undefined;
|
@@ -51,8 +55,4 @@ interface IUser extends IBaseEntity {
|
|
51
55
|
email?: string;
|
52
56
|
}
|
53
57
|
|
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 };
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
2
|
import { I as I_BasicAppShell_LinkItem } from '../BasicAppShell-CGKvZ5wV.mjs';
|
3
3
|
import { I as IBaseEntity } from '../base-BprRafT5.mjs';
|
4
|
-
import { SelectProps } from '@mantine/core';
|
4
|
+
import { SelectProps, ButtonProps } from '@mantine/core';
|
5
5
|
import { I as IEmailConfig } from '../EmailConfig-DvTXTBt3.mjs';
|
6
6
|
import { I as IAQModule } from '../IAQModule-CCtwv-e0.mjs';
|
7
7
|
import { ReactNode } from 'react';
|
@@ -937,7 +937,8 @@ interface F_authenticate_Login_Props {
|
|
937
937
|
showForgotPassword?: boolean;
|
938
938
|
onSuccess?: (data?: IResponseData) => void;
|
939
939
|
customSubmit?: (username?: string, password?: string) => void;
|
940
|
+
loginButtonProps?: ButtonProps;
|
940
941
|
}
|
941
|
-
declare function F_authenticate_Login({ header, redirectUrlAfterLogin, additionalActions, backgroundImage, onSuccess, showLoginButton, showSaveLogin, showForgotPassword, customSubmit }: F_authenticate_Login_Props): react_jsx_runtime.JSX.Element;
|
942
|
+
declare function F_authenticate_Login({ header, redirectUrlAfterLogin, additionalActions, backgroundImage, onSuccess, showLoginButton, showSaveLogin, showForgotPassword, customSubmit, loginButtonProps }: F_authenticate_Login_Props): react_jsx_runtime.JSX.Element;
|
942
943
|
|
943
944
|
export { F_accessControl, F_accessControlLevel, F_accessControlLevel_ReadUser, F_accessControlLevel_Save, F_accessControlLevel_ViewMenuPermissions, F_accessControl_ReadUser, F_accessControl_Save, F_accessControl_ViewMenuPermissions, 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_Delete, F_mailConfig_Form, 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, type I_accessControl_RolePermission, type I_accountManagement_Read, type I_moduleConfig_AQModule, useS_accessControl, useS_authenticate, useS_moduleConfig, utils_accessControl_mergePage };
|
@@ -5608,7 +5608,8 @@ function F_authenticate_Login({
|
|
5608
5608
|
showLoginButton = true,
|
5609
5609
|
showSaveLogin = true,
|
5610
5610
|
showForgotPassword = true,
|
5611
|
-
customSubmit
|
5611
|
+
customSubmit,
|
5612
|
+
loginButtonProps
|
5612
5613
|
}) {
|
5613
5614
|
const router = useRouter2();
|
5614
5615
|
const authenticate_store = useS_authenticate();
|
@@ -5713,12 +5714,13 @@ function F_authenticate_Login({
|
|
5713
5714
|
] }),
|
5714
5715
|
showLoginButton && /* @__PURE__ */ jsx111(
|
5715
5716
|
Button3,
|
5716
|
-
{
|
5717
|
+
__spreadProps(__spreadValues({
|
5717
5718
|
loading: loadingState[0],
|
5718
5719
|
type: "submit",
|
5719
|
-
fullWidth: true
|
5720
|
+
fullWidth: true
|
5721
|
+
}, loginButtonProps), {
|
5720
5722
|
children: "\u0110\u0103ng nh\u1EADp"
|
5721
|
-
}
|
5723
|
+
})
|
5722
5724
|
),
|
5723
5725
|
additionalActions
|
5724
5726
|
] }) })
|