aq-fe-framework 0.1.319 → 0.1.320

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.
@@ -10,7 +10,7 @@ declare function F_accessControl({ menuData }: {
10
10
  menuData: I_BasicAppShell_LinkItem[];
11
11
  }): react_jsx_runtime.JSX.Element;
12
12
 
13
- declare function F_accessControl_ReadUser(): react_jsx_runtime.JSX.Element | "Có lỗi xảy ra!" | "Loading...";
13
+ declare function F_accessControl_ReadUser(): react_jsx_runtime.JSX.Element;
14
14
 
15
15
  declare function F_accessControl_Save(): react_jsx_runtime.JSX.Element;
16
16
 
@@ -27,7 +27,7 @@ interface I_accessControl_RolePermission {
27
27
  isPrint?: boolean;
28
28
  isExport?: boolean;
29
29
  }
30
- interface I$l {
30
+ interface I$k {
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$l;
40
- setState: (newState: I$l) => void;
41
- setProperty: <K extends keyof I$l>(key: K, value: I$l[K]) => void;
39
+ state: I$k;
40
+ setState: (newState: I$k) => void;
41
+ setProperty: <K extends keyof I$k>(key: K, value: I$k[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[];
@@ -47,9 +47,7 @@ declare function F_accessControlLevel({ menuData }: {
47
47
  menuData: I_BasicAppShell_LinkItem[];
48
48
  }): react_jsx_runtime.JSX.Element;
49
49
 
50
- interface I_core38677_User extends IBaseEntity {
51
- }
52
- declare function F_accessControlLevel_ReadUser(): react_jsx_runtime.JSX.Element | "Có lỗi xảy ra!" | "Loading...";
50
+ declare function F_accessControlLevel_ReadUser(): react_jsx_runtime.JSX.Element;
53
51
 
54
52
  declare function F_accessControlLevel_Save(): react_jsx_runtime.JSX.Element;
55
53
 
@@ -92,7 +90,7 @@ interface IUserSkillCenters extends IBaseEntity {
92
90
  userId?: number;
93
91
  skillCenterId?: number;
94
92
  }
95
- interface I$k {
93
+ interface I$j {
96
94
  id?: number;
97
95
  userName?: string;
98
96
  code?: string;
@@ -102,7 +100,7 @@ interface I$k {
102
100
  userSkillCenters?: IUserSkillCenters[];
103
101
  }
104
102
  declare function F_accountManagement_Update({ user }: {
105
- user: I$k;
103
+ user: I$j;
106
104
  }): react_jsx_runtime.JSX.Element;
107
105
 
108
106
  declare function F_core12196({ FormTypeId }: {
@@ -151,11 +149,11 @@ interface IDocument$b {
151
149
  ngayChinhSua?: Date;
152
150
  nguoiChinhSua?: string;
153
151
  }
154
- interface I$j extends IDocument$b {
152
+ interface I$i extends IDocument$b {
155
153
  file?: File;
156
154
  }
157
155
  declare function F_core12196_Update({ values, FormTypeId, }: {
158
- values: I$j;
156
+ values: I$i;
159
157
  FormTypeId: number;
160
158
  }): react_jsx_runtime.JSX.Element;
161
159
 
@@ -201,11 +199,11 @@ interface IDocument$a {
201
199
  ngayChinhSua?: Date;
202
200
  nguoiChinhSua?: string;
203
201
  }
204
- interface I$i extends IDocument$a {
202
+ interface I$h extends IDocument$a {
205
203
  file?: File;
206
204
  }
207
205
  declare function F_core16209_Update({ values }: {
208
- values: I$i;
206
+ values: I$h;
209
207
  }): react_jsx_runtime.JSX.Element;
210
208
 
211
209
  declare function F_core18256(): react_jsx_runtime.JSX.Element;
@@ -232,13 +230,13 @@ interface ISelect extends SelectProps {
232
230
  }
233
231
  declare function F_core18256_Select({ documentTypeId, label, dataMapper, ...rest }: ISelect): react_jsx_runtime.JSX.Element | "Loading...";
234
232
 
235
- interface I$h {
233
+ interface I$g {
236
234
  id?: number;
237
235
  name?: string;
238
236
  code?: string;
239
237
  }
240
238
  declare function F_core18256_Update({ values }: {
241
- values: I$h;
239
+ values: I$g;
242
240
  }): react_jsx_runtime.JSX.Element;
243
241
 
244
242
  declare function F_core26965({ RegulationsTypeId }: {
@@ -283,11 +281,11 @@ interface IDocument$9 {
283
281
  ngayChinhSua?: Date;
284
282
  nguoiChinhSua?: string;
285
283
  }
286
- interface I$g extends IDocument$9 {
284
+ interface I$f extends IDocument$9 {
287
285
  file?: File;
288
286
  }
289
287
  declare function F_core26965_Update({ values, RegulationsTypeId, }: {
290
- values: I$g;
288
+ values: I$f;
291
289
  RegulationsTypeId: number;
292
290
  }): react_jsx_runtime.JSX.Element;
293
291
 
@@ -337,11 +335,11 @@ interface IDocument$8 {
337
335
  ngayChinhSua?: Date;
338
336
  nguoiChinhSua?: string;
339
337
  }
340
- interface I$f extends IDocument$8 {
338
+ interface I$e extends IDocument$8 {
341
339
  file?: File;
342
340
  }
343
341
  declare function F_core27311_Update({ values, WorkflowTypeId, }: {
344
- values: I$f;
342
+ values: I$e;
345
343
  WorkflowTypeId: number;
346
344
  }): react_jsx_runtime.JSX.Element;
347
345
 
@@ -393,11 +391,11 @@ interface IDocument$7 {
393
391
  ngayChinhSua?: Date;
394
392
  nguoiChinhSua?: string;
395
393
  }
396
- interface I$e extends IDocument$7 {
394
+ interface I$d extends IDocument$7 {
397
395
  file?: File;
398
396
  }
399
397
  declare function F_core40207_Update({ values }: {
400
- values: I$e;
398
+ values: I$d;
401
399
  }): react_jsx_runtime.JSX.Element;
402
400
 
403
401
  declare function F_core47643(): react_jsx_runtime.JSX.Element;
@@ -406,13 +404,13 @@ declare function F_core47643_Delete({ values }: {
406
404
  values: IBaseEntity;
407
405
  }): react_jsx_runtime.JSX.Element;
408
406
 
409
- interface I$d {
407
+ interface I$c {
410
408
  id?: number;
411
409
  code?: string;
412
410
  name?: string;
413
411
  }
414
412
  declare function F_core47643_Form({ values }: {
415
- values?: I$d;
413
+ values?: I$c;
416
414
  }): react_jsx_runtime.JSX.Element;
417
415
 
418
416
  declare function F_core47643_Read(): react_jsx_runtime.JSX.Element | "Có lỗi xảy ra!" | "Đang tải dữ liệu...";
@@ -423,11 +421,11 @@ declare function F_core64229_Delete({ values }: {
423
421
  values: IBaseEntity;
424
422
  }): react_jsx_runtime.JSX.Element;
425
423
 
426
- interface I$c extends IEmailConfig {
424
+ interface I$b extends IEmailConfig {
427
425
  password?: string;
428
426
  }
429
427
  declare function F_core64229_Form({ values, emailModule }: {
430
- values?: I$c;
428
+ values?: I$b;
431
429
  emailModule: (string | {
432
430
  value: string;
433
431
  label: string;
@@ -483,11 +481,11 @@ interface IDocument$6 {
483
481
  ngayChinhSua?: Date;
484
482
  nguoiChinhSua?: string;
485
483
  }
486
- interface I$b extends IDocument$6 {
484
+ interface I$a extends IDocument$6 {
487
485
  file?: File;
488
486
  }
489
487
  declare function F_core76318_Update({ values }: {
490
- values: I$b;
488
+ values: I$a;
491
489
  }): react_jsx_runtime.JSX.Element;
492
490
 
493
491
  declare function F_formTemplateDocs({ FormTypeId }: {
@@ -536,11 +534,11 @@ interface IDocument$5 {
536
534
  ngayChinhSua?: Date;
537
535
  nguoiChinhSua?: string;
538
536
  }
539
- interface I$a extends IDocument$5 {
537
+ interface I$9 extends IDocument$5 {
540
538
  file?: File;
541
539
  }
542
540
  declare function F_formTemplateDocs_Update({ values, FormTypeId, }: {
543
- values: I$a;
541
+ values: I$9;
544
542
  FormTypeId: number;
545
543
  }): react_jsx_runtime.JSX.Element;
546
544
 
@@ -553,13 +551,13 @@ interface I_moduleConfig_AQModule extends IAQModule {
553
551
  logoFile?: File;
554
552
  }
555
553
 
556
- interface I$9 {
554
+ interface I$8 {
557
555
  AQModuleId?: number;
558
556
  }
559
557
  declare function useS_moduleConfig(): {
560
- state: I$9;
561
- setState: (newState: I$9) => void;
562
- setProperty: <K extends "AQModuleId">(key: K, value: I$9[K]) => void;
558
+ state: I$8;
559
+ setState: (newState: I$8) => void;
560
+ setProperty: <K extends "AQModuleId">(key: K, value: I$8[K]) => void;
563
561
  resetState: () => void;
564
562
  };
565
563
 
@@ -605,11 +603,11 @@ interface IDocument$4 {
605
603
  ngayChinhSua?: Date;
606
604
  nguoiChinhSua?: string;
607
605
  }
608
- interface I$8 extends IDocument$4 {
606
+ interface I$7 extends IDocument$4 {
609
607
  file?: File;
610
608
  }
611
609
  declare function F_organizationPolicyDocs_Update({ values, RegulationsTypeId, }: {
612
- values: I$8;
610
+ values: I$7;
613
611
  RegulationsTypeId: number;
614
612
  }): react_jsx_runtime.JSX.Element;
615
613
 
@@ -621,13 +619,13 @@ declare function F_roleCatalog_Delete({ values }: {
621
619
  values: IBaseEntity;
622
620
  }): react_jsx_runtime.JSX.Element;
623
621
 
624
- interface I$7 {
622
+ interface I$6 {
625
623
  id?: number;
626
624
  code?: string;
627
625
  name?: string;
628
626
  }
629
627
  declare function F_roleCatalog_Form({ values }: {
630
- values?: I$7;
628
+ values?: I$6;
631
629
  }): react_jsx_runtime.JSX.Element;
632
630
 
633
631
  declare function F_roleCatalog_Read(): react_jsx_runtime.JSX.Element;
@@ -674,11 +672,11 @@ interface IDocument$3 {
674
672
  ngayChinhSua?: Date;
675
673
  nguoiChinhSua?: string;
676
674
  }
677
- interface I$6 extends IDocument$3 {
675
+ interface I$5 extends IDocument$3 {
678
676
  file?: File;
679
677
  }
680
678
  declare function F_securityPolicyDocs_Update({ values }: {
681
- values: I$6;
679
+ values: I$5;
682
680
  }): react_jsx_runtime.JSX.Element;
683
681
 
684
682
  declare function F_systemUpdateDocs({ RefinementTypeId }: {
@@ -723,11 +721,11 @@ interface IDocument$2 {
723
721
  ngayChinhSua?: Date;
724
722
  nguoiChinhSua?: string;
725
723
  }
726
- interface I$5 extends IDocument$2 {
724
+ interface I$4 extends IDocument$2 {
727
725
  file?: File;
728
726
  }
729
727
  declare function F_systemUpdateDocs_Update({ values }: {
730
- values: I$5;
728
+ values: I$4;
731
729
  }): react_jsx_runtime.JSX.Element;
732
730
 
733
731
  declare function F_userGuideDocs({ GuidelineTypeId }: {
@@ -776,11 +774,11 @@ interface IDocument$1 {
776
774
  ngayChinhSua?: Date;
777
775
  nguoiChinhSua?: string;
778
776
  }
779
- interface I$4 extends IDocument$1 {
777
+ interface I$3 extends IDocument$1 {
780
778
  file?: File;
781
779
  }
782
780
  declare function F_userGuideDocs_Update({ values }: {
783
- values: I$4;
781
+ values: I$3;
784
782
  }): react_jsx_runtime.JSX.Element;
785
783
 
786
784
  declare function F_workflowProcessDocs({ WorkflowTypeId }: {
@@ -829,22 +827,22 @@ interface IDocument {
829
827
  ngayChinhSua?: Date;
830
828
  nguoiChinhSua?: string;
831
829
  }
832
- interface I$3 extends IDocument {
830
+ interface I$2 extends IDocument {
833
831
  file?: File;
834
832
  }
835
833
  declare function F_workflowProcessDocs_Update({ values, WorkflowTypeId, }: {
836
- values: I$3;
834
+ values: I$2;
837
835
  WorkflowTypeId: number;
838
836
  }): react_jsx_runtime.JSX.Element;
839
837
 
840
- interface I$2 {
838
+ interface I$1 {
841
839
  redirectURL?: string;
842
840
  }
843
- declare function F_authenticate_Logout({ redirectURL }: I$2): react_jsx_runtime.JSX.Element;
841
+ declare function F_authenticate_Logout({ redirectURL }: I$1): react_jsx_runtime.JSX.Element;
844
842
 
845
843
  declare function F_authenticate_SplashPage(): react_jsx_runtime.JSX.Element;
846
844
 
847
- interface I$1 {
845
+ interface I {
848
846
  token?: string;
849
847
  userId?: number;
850
848
  fullName?: string;
@@ -854,13 +852,13 @@ interface I$1 {
854
852
  saveLogin?: boolean;
855
853
  }
856
854
  declare function useS_authenticate(): {
857
- state: I$1;
858
- setState: (newState: I$1) => void;
859
- setProperty: <K extends keyof I$1>(key: K, value: I$1[K]) => void;
855
+ state: I;
856
+ setState: (newState: I) => void;
857
+ setProperty: <K extends keyof I>(key: K, value: I[K]) => void;
860
858
  resetState: () => void;
861
859
  };
862
860
 
863
- interface I {
861
+ interface F_authenticate_Login_Props {
864
862
  header?: ReactNode;
865
863
  showLoginButton?: boolean;
866
864
  redirectUrlAfterLogin?: string;
@@ -869,7 +867,8 @@ interface I {
869
867
  showSaveLogin?: boolean;
870
868
  showForgotPassword?: boolean;
871
869
  onSuccess?: (data?: any) => void;
870
+ customSubmit?: (username?: string, password?: string) => void;
872
871
  }
873
- declare function F_authenticate_Login({ header, redirectUrlAfterLogin, additionalActions, backgroundImage, onSuccess, showLoginButton, showSaveLogin, showForgotPassword }: I): react_jsx_runtime.JSX.Element;
872
+ declare function F_authenticate_Login({ header, redirectUrlAfterLogin, additionalActions, backgroundImage, onSuccess, showLoginButton, showSaveLogin, showForgotPassword, customSubmit }: F_authenticate_Login_Props): react_jsx_runtime.JSX.Element;
874
873
 
875
- 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_core38677_User, type I_moduleConfig_AQModule, useS_accessControl, useS_authenticate, useS_moduleConfig, utils_accessControl_mergePage };
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 };