aq-fe-framework 0.1.308 → 0.1.310

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.
@@ -1,11 +1,59 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { I as IBaseEntity } from '../base-BprRafT5.mjs';
2
3
  import { SelectProps } from '@mantine/core';
3
4
  import { I as I_BasicAppShell_LinkItem } from '../BasicAppShell-CGKvZ5wV.mjs';
4
- import { I as IBaseEntity } from '../base-BprRafT5.mjs';
5
5
  import { I as IAQModule } from '../IAQModule-CCtwv-e0.mjs';
6
6
  import { I as IEmailConfig } from '../EmailConfig-DvTXTBt3.mjs';
7
7
  import { ReactNode } from 'react';
8
8
 
9
+ interface IProps$1 {
10
+ isRequireSkillCenter?: boolean;
11
+ }
12
+ declare function F_accountManagement({ isRequireSkillCenter }: IProps$1): react_jsx_runtime.JSX.Element;
13
+
14
+ interface IUserSkillCenters$3 extends IBaseEntity {
15
+ userId?: number;
16
+ skillCenterId?: number;
17
+ }
18
+ interface IRoles$1 extends IBaseEntity {
19
+ }
20
+ interface I_accountManagement_Read extends IBaseEntity {
21
+ userName?: string;
22
+ fullName?: string;
23
+ email?: string;
24
+ roles?: IRoles$1[];
25
+ userSkillCenters?: IUserSkillCenters$3[];
26
+ }
27
+ declare function F_accountManagement_Read(): react_jsx_runtime.JSX.Element;
28
+
29
+ declare function F_accountManagement_ChangePermission({ user }: {
30
+ user: I_accountManagement_Read;
31
+ }): react_jsx_runtime.JSX.Element;
32
+
33
+ declare function F_accountManagement_Create(): react_jsx_runtime.JSX.Element;
34
+
35
+ declare function F_accountManagement_Delete({ id, code }: {
36
+ id: number;
37
+ code: string;
38
+ }): react_jsx_runtime.JSX.Element;
39
+
40
+ interface IUserSkillCenters$2 extends IBaseEntity {
41
+ userId?: number;
42
+ skillCenterId?: number;
43
+ }
44
+ interface I$m {
45
+ id?: number;
46
+ userName?: string;
47
+ code?: string;
48
+ fullName?: string;
49
+ email?: string;
50
+ phoneNumber?: string;
51
+ userSkillCenters?: IUserSkillCenters$2[];
52
+ }
53
+ declare function F_accountManagement_Update({ user }: {
54
+ user: I$m;
55
+ }): react_jsx_runtime.JSX.Element;
56
+
9
57
  declare function F_core12196({ FormTypeId }: {
10
58
  FormTypeId: number;
11
59
  }): react_jsx_runtime.JSX.Element;
@@ -52,11 +100,11 @@ interface IDocument$b {
52
100
  ngayChinhSua?: Date;
53
101
  nguoiChinhSua?: string;
54
102
  }
55
- interface I$k extends IDocument$b {
103
+ interface I$l extends IDocument$b {
56
104
  file?: File;
57
105
  }
58
106
  declare function F_core12196_Update({ values, FormTypeId, }: {
59
- values: I$k;
107
+ values: I$l;
60
108
  FormTypeId: number;
61
109
  }): react_jsx_runtime.JSX.Element;
62
110
 
@@ -102,11 +150,11 @@ interface IDocument$a {
102
150
  ngayChinhSua?: Date;
103
151
  nguoiChinhSua?: string;
104
152
  }
105
- interface I$j extends IDocument$a {
153
+ interface I$k extends IDocument$a {
106
154
  file?: File;
107
155
  }
108
156
  declare function F_core16209_Update({ values }: {
109
- values: I$j;
157
+ values: I$k;
110
158
  }): react_jsx_runtime.JSX.Element;
111
159
 
112
160
  declare function F_core18256(): react_jsx_runtime.JSX.Element;
@@ -133,13 +181,13 @@ interface ISelect extends SelectProps {
133
181
  }
134
182
  declare function F_core18256_Select({ documentTypeId, label, dataMapper, ...rest }: ISelect): react_jsx_runtime.JSX.Element | "Loading...";
135
183
 
136
- interface I$i {
184
+ interface I$j {
137
185
  id?: number;
138
186
  name?: string;
139
187
  code?: string;
140
188
  }
141
189
  declare function F_core18256_Update({ values }: {
142
- values: I$i;
190
+ values: I$j;
143
191
  }): react_jsx_runtime.JSX.Element;
144
192
 
145
193
  declare function F_core26965({ RegulationsTypeId }: {
@@ -184,11 +232,11 @@ interface IDocument$9 {
184
232
  ngayChinhSua?: Date;
185
233
  nguoiChinhSua?: string;
186
234
  }
187
- interface I$h extends IDocument$9 {
235
+ interface I$i extends IDocument$9 {
188
236
  file?: File;
189
237
  }
190
238
  declare function F_core26965_Update({ values, RegulationsTypeId, }: {
191
- values: I$h;
239
+ values: I$i;
192
240
  RegulationsTypeId: number;
193
241
  }): react_jsx_runtime.JSX.Element;
194
242
 
@@ -238,11 +286,11 @@ interface IDocument$8 {
238
286
  ngayChinhSua?: Date;
239
287
  nguoiChinhSua?: string;
240
288
  }
241
- interface I$g extends IDocument$8 {
289
+ interface I$h extends IDocument$8 {
242
290
  file?: File;
243
291
  }
244
292
  declare function F_core27311_Update({ values, WorkflowTypeId, }: {
245
- values: I$g;
293
+ values: I$h;
246
294
  WorkflowTypeId: number;
247
295
  }): react_jsx_runtime.JSX.Element;
248
296
 
@@ -308,11 +356,11 @@ interface IDocument$7 {
308
356
  ngayChinhSua?: Date;
309
357
  nguoiChinhSua?: string;
310
358
  }
311
- interface I$f extends IDocument$7 {
359
+ interface I$g extends IDocument$7 {
312
360
  file?: File;
313
361
  }
314
362
  declare function F_core40207_Update({ values }: {
315
- values: I$f;
363
+ values: I$g;
316
364
  }): react_jsx_runtime.JSX.Element;
317
365
 
318
366
  declare function F_core47643(): react_jsx_runtime.JSX.Element;
@@ -321,13 +369,13 @@ declare function F_core47643_Delete({ values }: {
321
369
  values: IBaseEntity;
322
370
  }): react_jsx_runtime.JSX.Element;
323
371
 
324
- interface I$e {
372
+ interface I$f {
325
373
  id?: number;
326
374
  code?: string;
327
375
  name?: string;
328
376
  }
329
377
  declare function F_core47643_Form({ values }: {
330
- values?: I$e;
378
+ values?: I$f;
331
379
  }): react_jsx_runtime.JSX.Element;
332
380
 
333
381
  declare function F_core47643_Read(): react_jsx_runtime.JSX.Element | "Có lỗi xảy ra!" | "Đang tải dữ liệu...";
@@ -341,13 +389,13 @@ interface I_core60524_AQModule extends IAQModule {
341
389
  logoFile?: File;
342
390
  }
343
391
 
344
- interface I$d {
392
+ interface I$e {
345
393
  AQModuleId?: number;
346
394
  }
347
395
  declare function useS_core60524(): {
348
- state: I$d;
349
- setState: (newState: I$d) => void;
350
- setProperty: <K extends "AQModuleId">(key: K, value: I$d[K]) => void;
396
+ state: I$e;
397
+ setState: (newState: I$e) => void;
398
+ setProperty: <K extends "AQModuleId">(key: K, value: I$e[K]) => void;
351
399
  resetState: () => void;
352
400
  };
353
401
 
@@ -357,11 +405,11 @@ declare function F_core64229_Delete({ values }: {
357
405
  values: IBaseEntity;
358
406
  }): react_jsx_runtime.JSX.Element;
359
407
 
360
- interface I$c extends IEmailConfig {
408
+ interface I$d extends IEmailConfig {
361
409
  password?: string;
362
410
  }
363
411
  declare function F_core64229_Form({ values, emailModule }: {
364
- values?: I$c;
412
+ values?: I$d;
365
413
  emailModule: (string | {
366
414
  value: string;
367
415
  label: string;
@@ -393,7 +441,7 @@ interface I_core71678_Read extends IBaseEntity {
393
441
  roles?: IRoles[];
394
442
  userSkillCenters?: IUserSkillCenters$1[];
395
443
  }
396
- declare function F_core71678_Read(): react_jsx_runtime.JSX.Element | "Loading...";
444
+ declare function F_core71678_Read(): react_jsx_runtime.JSX.Element;
397
445
 
398
446
  declare function F_core71678_ChangePermission({ user }: {
399
447
  user: I_core71678_Read;
@@ -410,7 +458,7 @@ interface IUserSkillCenters extends IBaseEntity {
410
458
  userId?: number;
411
459
  skillCenterId?: number;
412
460
  }
413
- interface I$b {
461
+ interface I$c {
414
462
  id?: number;
415
463
  userName?: string;
416
464
  code?: string;
@@ -420,7 +468,7 @@ interface I$b {
420
468
  userSkillCenters?: IUserSkillCenters[];
421
469
  }
422
470
  declare function F_core71678_Update({ user }: {
423
- user: I$b;
471
+ user: I$c;
424
472
  }): react_jsx_runtime.JSX.Element;
425
473
 
426
474
  declare function F_core76318({ SecurityTypeId }: {
@@ -465,11 +513,11 @@ interface IDocument$6 {
465
513
  ngayChinhSua?: Date;
466
514
  nguoiChinhSua?: string;
467
515
  }
468
- interface I$a extends IDocument$6 {
516
+ interface I$b extends IDocument$6 {
469
517
  file?: File;
470
518
  }
471
519
  declare function F_core76318_Update({ values }: {
472
- values: I$a;
520
+ values: I$b;
473
521
  }): react_jsx_runtime.JSX.Element;
474
522
 
475
523
  declare function F_core83092({ menuData }: {
@@ -493,7 +541,7 @@ interface I_core83092_RolePermission {
493
541
  isPrint?: boolean;
494
542
  isExport?: boolean;
495
543
  }
496
- interface I$9 {
544
+ interface I$a {
497
545
  roleId?: number;
498
546
  rolePermissions?: I_core83092_RolePermission[];
499
547
  }
@@ -502,9 +550,9 @@ declare function useS_core83092(): {
502
550
  findByPageId: (pageId: number) => I_core83092_RolePermission | undefined;
503
551
  updatePermission: (pageId: number, updatedPermission: Partial<I_core83092_RolePermission>) => void;
504
552
  isAllPermission: (field: keyof I_core83092_RolePermission) => boolean;
505
- state: I$9;
506
- setState: (newState: I$9) => void;
507
- setProperty: <K extends keyof I$9>(key: K, value: I$9[K]) => void;
553
+ state: I$a;
554
+ setState: (newState: I$a) => void;
555
+ setProperty: <K extends keyof I$a>(key: K, value: I$a[K]) => void;
508
556
  resetState: () => void;
509
557
  };
510
558
  declare function utils_core83092_mergePage(arr1: I_core83092_RolePermission[], arr2: I_core83092_RolePermission[]): I_core83092_RolePermission[];
@@ -555,11 +603,11 @@ interface IDocument$5 {
555
603
  ngayChinhSua?: Date;
556
604
  nguoiChinhSua?: string;
557
605
  }
558
- interface I$8 extends IDocument$5 {
606
+ interface I$9 extends IDocument$5 {
559
607
  file?: File;
560
608
  }
561
609
  declare function F_formTemplateDocs_Update({ values, FormTypeId, }: {
562
- values: I$8;
610
+ values: I$9;
563
611
  FormTypeId: number;
564
612
  }): react_jsx_runtime.JSX.Element;
565
613
 
@@ -605,14 +653,33 @@ interface IDocument$4 {
605
653
  ngayChinhSua?: Date;
606
654
  nguoiChinhSua?: string;
607
655
  }
608
- interface I$7 extends IDocument$4 {
656
+ interface I$8 extends IDocument$4 {
609
657
  file?: File;
610
658
  }
611
659
  declare function F_organizationPolicyDocs_Update({ values, RegulationsTypeId, }: {
612
- values: I$7;
660
+ values: I$8;
613
661
  RegulationsTypeId: number;
614
662
  }): react_jsx_runtime.JSX.Element;
615
663
 
664
+ declare function F_pageContentConfig(): react_jsx_runtime.JSX.Element;
665
+
666
+ declare function F_roleCatalog(): react_jsx_runtime.JSX.Element;
667
+
668
+ declare function F_roleCatalog_Delete({ values }: {
669
+ values: IBaseEntity;
670
+ }): react_jsx_runtime.JSX.Element;
671
+
672
+ interface I$7 {
673
+ id?: number;
674
+ code?: string;
675
+ name?: string;
676
+ }
677
+ declare function F_roleCatalog_Form({ values }: {
678
+ values?: I$7;
679
+ }): react_jsx_runtime.JSX.Element;
680
+
681
+ declare function F_roleCatalog_Read(): react_jsx_runtime.JSX.Element | "Có lỗi xảy ra!" | "Đang tải dữ liệu...";
682
+
616
683
  declare function F_securityPolicyDocs({ SecurityTypeId }: {
617
684
  SecurityTypeId: number;
618
685
  }): react_jsx_runtime.JSX.Element;
@@ -853,4 +920,4 @@ interface I {
853
920
  }
854
921
  declare function F_authenticate_Login({ header, redirectUrlAfterLogin, additionalActions, backgroundImage, onSuccess, showLoginButton, showSaveLogin, showForgotPassword }: I): react_jsx_runtime.JSX.Element;
855
922
 
856
- export { 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_core38677, F_core38677_ReadUser, F_core38677_Save, F_core38677_ViewMenuPermissions, 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_core60524, F_core64229, F_core64229_Delete, F_core64229_Form, F_core64229_Read, F_core71678, F_core71678_ChangePermission, F_core71678_Create, F_core71678_Delete, F_core71678_Read, F_core71678_Update, F_core76318, F_core76318_Create, F_core76318_Delete, F_core76318_Update, F_core83092, F_core83092_ReadUser, F_core83092_Save, F_core83092_ViewMenuPermissions, F_formTemplateDocs, F_formTemplateDocs_Create, F_formTemplateDocs_Delete, F_formTemplateDocs_Read, F_formTemplateDocs_Update, F_organizationPolicyDocs, F_organizationPolicyDocs_Create, F_organizationPolicyDocs_Delete, F_organizationPolicyDocs_Update, 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_core38677_User, type I_core60524_AQModule, type I_core71678_Read, type I_core83092_RolePermission, useS_authenticate, useS_core60524, useS_core83092, utils_core83092_mergePage };
923
+ 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_core38677, F_core38677_ReadUser, F_core38677_Save, F_core38677_ViewMenuPermissions, 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_core60524, F_core64229, F_core64229_Delete, F_core64229_Form, F_core64229_Read, F_core71678, F_core71678_ChangePermission, F_core71678_Create, F_core71678_Delete, F_core71678_Read, F_core71678_Update, F_core76318, F_core76318_Create, F_core76318_Delete, F_core76318_Update, F_core83092, F_core83092_ReadUser, F_core83092_Save, F_core83092_ViewMenuPermissions, F_formTemplateDocs, F_formTemplateDocs_Create, F_formTemplateDocs_Delete, F_formTemplateDocs_Read, F_formTemplateDocs_Update, 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_accountManagement_Read, type I_core38677_User, type I_core60524_AQModule, type I_core71678_Read, type I_core83092_RolePermission, useS_authenticate, useS_core60524, useS_core83092, utils_core83092_mergePage };