aq-fe-framework 0.1.322 → 0.1.324

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,10 +2,6 @@ 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
-
9
5
  interface IFile {
10
6
  fileName?: string | undefined;
11
7
  fileExtension?: string | undefined;
@@ -55,4 +51,8 @@ interface IUser extends IBaseEntity {
55
51
  email?: string;
56
52
  }
57
53
 
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 };
@@ -27,7 +27,7 @@ interface I_accessControl_RolePermission {
27
27
  isPrint?: boolean;
28
28
  isExport?: boolean;
29
29
  }
30
- interface I$k {
30
+ interface I$l {
31
31
  roleId?: number;
32
32
  rolePermissions?: I_accessControl_RolePermission[];
33
33
  }
@@ -36,9 +36,9 @@ declare function useS_accessControl(): {
36
36
  findByPageId: (pageId: number) => I_accessControl_RolePermission | undefined;
37
37
  updatePermission: (pageId: number, updatedPermission: Partial<I_accessControl_RolePermission>) => void;
38
38
  isAllPermission: (field: keyof I_accessControl_RolePermission) => boolean;
39
- state: I$k;
40
- setState: (newState: I$k) => void;
41
- setProperty: <K extends keyof I$k>(key: K, value: I$k[K]) => void;
39
+ state: I$l;
40
+ setState: (newState: I$l) => void;
41
+ setProperty: <K extends keyof I$l>(key: K, value: I$l[K]) => void;
42
42
  resetState: () => void;
43
43
  };
44
44
  declare function utils_accessControl_mergePage(arr1: I_accessControl_RolePermission[], arr2: I_accessControl_RolePermission[]): I_accessControl_RolePermission[];
@@ -90,7 +90,7 @@ interface IUserSkillCenters extends IBaseEntity {
90
90
  userId?: number;
91
91
  skillCenterId?: number;
92
92
  }
93
- interface I$j {
93
+ interface I$k {
94
94
  id?: number;
95
95
  userName?: string;
96
96
  code?: string;
@@ -100,7 +100,7 @@ interface I$j {
100
100
  userSkillCenters?: IUserSkillCenters[];
101
101
  }
102
102
  declare function F_accountManagement_Update({ user }: {
103
- user: I$j;
103
+ user: I$k;
104
104
  }): react_jsx_runtime.JSX.Element;
105
105
 
106
106
  declare function F_core12196({ FormTypeId }: {
@@ -149,11 +149,11 @@ interface IDocument$b {
149
149
  ngayChinhSua?: Date;
150
150
  nguoiChinhSua?: string;
151
151
  }
152
- interface I$i extends IDocument$b {
152
+ interface I$j extends IDocument$b {
153
153
  file?: File;
154
154
  }
155
155
  declare function F_core12196_Update({ values, FormTypeId, }: {
156
- values: I$i;
156
+ values: I$j;
157
157
  FormTypeId: number;
158
158
  }): react_jsx_runtime.JSX.Element;
159
159
 
@@ -199,11 +199,11 @@ interface IDocument$a {
199
199
  ngayChinhSua?: Date;
200
200
  nguoiChinhSua?: string;
201
201
  }
202
- interface I$h extends IDocument$a {
202
+ interface I$i extends IDocument$a {
203
203
  file?: File;
204
204
  }
205
205
  declare function F_core16209_Update({ values }: {
206
- values: I$h;
206
+ values: I$i;
207
207
  }): react_jsx_runtime.JSX.Element;
208
208
 
209
209
  declare function F_core18256(): react_jsx_runtime.JSX.Element;
@@ -220,7 +220,7 @@ declare function F_core18256_Read({ documentType }: {
220
220
  documentType: number;
221
221
  }): react_jsx_runtime.JSX.Element;
222
222
 
223
- interface ISelect extends SelectProps {
223
+ interface ISelect$1 extends SelectProps {
224
224
  documentTypeId?: number;
225
225
  label?: string;
226
226
  dataMapper?: (item: any) => {
@@ -228,15 +228,15 @@ interface ISelect extends SelectProps {
228
228
  label: string;
229
229
  };
230
230
  }
231
- declare function F_core18256_Select({ documentTypeId, label, dataMapper, ...rest }: ISelect): react_jsx_runtime.JSX.Element | "Loading...";
231
+ declare function F_core18256_Select({ documentTypeId, label, dataMapper, ...rest }: ISelect$1): react_jsx_runtime.JSX.Element | "Loading...";
232
232
 
233
- interface I$g {
233
+ interface I$h {
234
234
  id?: number;
235
235
  name?: string;
236
236
  code?: string;
237
237
  }
238
238
  declare function F_core18256_Update({ values }: {
239
- values: I$g;
239
+ values: I$h;
240
240
  }): react_jsx_runtime.JSX.Element;
241
241
 
242
242
  declare function F_core26965({ RegulationsTypeId }: {
@@ -281,11 +281,11 @@ interface IDocument$9 {
281
281
  ngayChinhSua?: Date;
282
282
  nguoiChinhSua?: string;
283
283
  }
284
- interface I$f extends IDocument$9 {
284
+ interface I$g extends IDocument$9 {
285
285
  file?: File;
286
286
  }
287
287
  declare function F_core26965_Update({ values, RegulationsTypeId, }: {
288
- values: I$f;
288
+ values: I$g;
289
289
  RegulationsTypeId: number;
290
290
  }): react_jsx_runtime.JSX.Element;
291
291
 
@@ -335,11 +335,11 @@ interface IDocument$8 {
335
335
  ngayChinhSua?: Date;
336
336
  nguoiChinhSua?: string;
337
337
  }
338
- interface I$e extends IDocument$8 {
338
+ interface I$f extends IDocument$8 {
339
339
  file?: File;
340
340
  }
341
341
  declare function F_core27311_Update({ values, WorkflowTypeId, }: {
342
- values: I$e;
342
+ values: I$f;
343
343
  WorkflowTypeId: number;
344
344
  }): react_jsx_runtime.JSX.Element;
345
345
 
@@ -391,11 +391,11 @@ interface IDocument$7 {
391
391
  ngayChinhSua?: Date;
392
392
  nguoiChinhSua?: string;
393
393
  }
394
- interface I$d extends IDocument$7 {
394
+ interface I$e extends IDocument$7 {
395
395
  file?: File;
396
396
  }
397
397
  declare function F_core40207_Update({ values }: {
398
- values: I$d;
398
+ values: I$e;
399
399
  }): react_jsx_runtime.JSX.Element;
400
400
 
401
401
  declare function F_core47643(): react_jsx_runtime.JSX.Element;
@@ -404,13 +404,13 @@ declare function F_core47643_Delete({ values }: {
404
404
  values: IBaseEntity;
405
405
  }): react_jsx_runtime.JSX.Element;
406
406
 
407
- interface I$c {
407
+ interface I$d {
408
408
  id?: number;
409
409
  code?: string;
410
410
  name?: string;
411
411
  }
412
412
  declare function F_core47643_Form({ values }: {
413
- values?: I$c;
413
+ values?: I$d;
414
414
  }): react_jsx_runtime.JSX.Element;
415
415
 
416
416
  declare function F_core47643_Read(): react_jsx_runtime.JSX.Element | "Có lỗi xảy ra!" | "Đang tải dữ liệu...";
@@ -421,11 +421,11 @@ declare function F_core64229_Delete({ values }: {
421
421
  values: IBaseEntity;
422
422
  }): react_jsx_runtime.JSX.Element;
423
423
 
424
- interface I$b extends IEmailConfig {
424
+ interface I$c extends IEmailConfig {
425
425
  password?: string;
426
426
  }
427
427
  declare function F_core64229_Form({ values, emailModule }: {
428
- values?: I$b;
428
+ values?: I$c;
429
429
  emailModule: (string | {
430
430
  value: string;
431
431
  label: string;
@@ -481,10 +481,43 @@ interface IDocument$6 {
481
481
  ngayChinhSua?: Date;
482
482
  nguoiChinhSua?: string;
483
483
  }
484
- interface I$a extends IDocument$6 {
484
+ interface I$b extends IDocument$6 {
485
485
  file?: File;
486
486
  }
487
487
  declare function F_core76318_Update({ values }: {
488
+ values: I$b;
489
+ }): react_jsx_runtime.JSX.Element;
490
+
491
+ declare function F_documentCategories(): react_jsx_runtime.JSX.Element;
492
+
493
+ declare function F_documentCategories_Create({ documentType }: {
494
+ documentType: number;
495
+ }): react_jsx_runtime.JSX.Element;
496
+
497
+ declare function F_documentCategories_Delete({ id }: {
498
+ id: number;
499
+ }): react_jsx_runtime.JSX.Element;
500
+
501
+ declare function F_documentCategories_Read({ documentType }: {
502
+ documentType: number;
503
+ }): react_jsx_runtime.JSX.Element;
504
+
505
+ interface ISelect extends SelectProps {
506
+ documentTypeId?: number;
507
+ label?: string;
508
+ dataMapper?: (item: any) => {
509
+ value: string;
510
+ label: string;
511
+ };
512
+ }
513
+ declare function F_documentCategories_Select({ documentTypeId, label, dataMapper, ...rest }: ISelect): react_jsx_runtime.JSX.Element | "Loading...";
514
+
515
+ interface I$a {
516
+ id?: number;
517
+ name?: string;
518
+ code?: string;
519
+ }
520
+ declare function F_documentCategories_Update({ values }: {
488
521
  values: I$a;
489
522
  }): react_jsx_runtime.JSX.Element;
490
523
 
@@ -858,6 +891,17 @@ declare function useS_authenticate(): {
858
891
  resetState: () => void;
859
892
  };
860
893
 
894
+ interface IData {
895
+ userName?: string;
896
+ userId?: number;
897
+ userFullName?: string;
898
+ token?: string;
899
+ }
900
+ interface IResponseData {
901
+ data?: IData;
902
+ isSuccess?: number | boolean;
903
+ message?: string;
904
+ }
861
905
  interface F_authenticate_Login_Props {
862
906
  header?: ReactNode;
863
907
  showLoginButton?: boolean;
@@ -866,9 +910,9 @@ interface F_authenticate_Login_Props {
866
910
  backgroundImage?: string;
867
911
  showSaveLogin?: boolean;
868
912
  showForgotPassword?: boolean;
869
- onSuccess?: (data?: any) => void;
913
+ onSuccess?: (data?: IResponseData) => void;
870
914
  customSubmit?: (username?: string, password?: string) => void;
871
915
  }
872
916
  declare function F_authenticate_Login({ header, redirectUrlAfterLogin, additionalActions, backgroundImage, onSuccess, showLoginButton, showSaveLogin, showForgotPassword, customSubmit }: F_authenticate_Login_Props): react_jsx_runtime.JSX.Element;
873
917
 
874
- 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_formTemplateDocs, F_formTemplateDocs_Create, F_formTemplateDocs_Delete, F_formTemplateDocs_Read, F_formTemplateDocs_Update, 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 };
918
+ 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_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 };