@kengic/vue 0.24.1-beta.0 → 0.24.1-beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. package/dist/kengic-vue.js +874 -702
  2. package/dist/src/components/KgForm/KgForm.d.ts +3 -3
  3. package/dist/src/components/KgForm/index.d.ts +4 -4
  4. package/dist/src/components/KgModal/KgModal.service.d.ts +5 -5
  5. package/dist/src/config/index.store.d.ts +1 -16
  6. package/dist/src/helpers/ant-design-vue.d.ts +1 -1
  7. package/dist/src/index.d.ts +1 -0
  8. package/dist/src/project/index.d.ts +1 -0
  9. package/dist/src/project/src/api/index.d.ts +3 -0
  10. package/dist/{project/src/api/sys/model/menuModel.ts → src/project/src/api/sys/model/menuModel.d.ts} +1 -3
  11. package/dist/{project/src/api/sys/model/userModel.ts → src/project/src/api/sys/model/userModel.d.ts} +0 -12
  12. package/dist/src/project/src/components/Dropdown/index.d.ts +1 -0
  13. package/dist/src/project/src/components/Dropdown/src/typing.d.ts +9 -0
  14. package/dist/src/project/src/components/index.d.ts +1 -0
  15. package/dist/src/project/src/enums/CompTypeEnum.d.ts +19 -0
  16. package/dist/src/project/src/enums/DateTypeEnum.d.ts +8 -0
  17. package/dist/src/project/src/enums/appEnum.d.ts +40 -0
  18. package/dist/src/project/src/enums/breakpointEnum.d.ts +18 -0
  19. package/dist/src/project/src/enums/cacheEnum.d.ts +18 -0
  20. package/dist/src/project/src/enums/exceptionEnum.d.ts +17 -0
  21. package/dist/src/project/src/enums/httpEnum.d.ts +38 -0
  22. package/dist/src/project/src/enums/index.d.ts +13 -0
  23. package/dist/src/project/src/enums/jeecgEnum.d.ts +16 -0
  24. package/dist/src/project/src/enums/menuEnum.d.ts +35 -0
  25. package/dist/src/project/src/enums/pageEnum.d.ts +14 -0
  26. package/dist/src/project/src/enums/roleEnum.d.ts +4 -0
  27. package/dist/src/project/src/enums/sizeEnum.d.ts +18 -0
  28. package/dist/src/project/src/index.d.ts +3 -0
  29. package/dist/src/project/src/settings/componentSetting.d.ts +44 -0
  30. package/dist/src/project/src/settings/designSetting.d.ts +6 -0
  31. package/dist/src/project/src/settings/encryptionSetting.d.ts +6 -0
  32. package/dist/src/project/src/settings/index.d.ts +4 -0
  33. package/dist/src/project/src/settings/localeSetting.d.ts +7 -0
  34. package/package.json +1 -1
  35. package/dist/project/src/enums/CompTypeEnum.ts +0 -32
  36. package/dist/project/src/enums/DateTypeEnum.ts +0 -8
  37. package/dist/project/src/enums/appEnum.ts +0 -58
  38. package/dist/project/src/enums/breakpointEnum.ts +0 -28
  39. package/dist/project/src/enums/cacheEnum.ts +0 -39
  40. package/dist/project/src/enums/exceptionEnum.ts +0 -27
  41. package/dist/project/src/enums/httpEnum.ts +0 -50
  42. package/dist/project/src/enums/jeecgEnum.ts +0 -23
  43. package/dist/project/src/enums/menuEnum.ts +0 -50
  44. package/dist/project/src/enums/pageEnum.ts +0 -19
  45. package/dist/project/src/enums/roleEnum.ts +0 -7
  46. package/dist/project/src/enums/sizeEnum.ts +0 -27
  47. package/dist/project/types/axios.d.ts +0 -57
  48. package/dist/project/types/config.d.ts +0 -178
  49. package/dist/project/types/global.d.ts +0 -92
  50. package/dist/project/types/index.d.ts +0 -27
  51. package/dist/project/types/module.d.ts +0 -18
  52. package/dist/project/types/store.d.ts +0 -59
  53. package/dist/project/types/utils.d.ts +0 -5
  54. package/dist/project/types/vue-router.d.ts +0 -47
  55. /package/dist/{project/src/api/sys/model/uploadModel.ts → src/project/src/api/sys/model/uploadModel.d.ts} +0 -0
@@ -1,18 +0,0 @@
1
- declare module '*.vue' {
2
- import { DefineComponent } from 'vue';
3
- const Component: DefineComponent<{}, {}, any>;
4
- export default Component;
5
- }
6
-
7
- declare module 'ant-design-vue/dist/theme';
8
-
9
- declare module 'ant-design-vue/es/locale/*' {
10
- import { Locale } from 'ant-design-vue/types/locale-provider';
11
- const locale: Locale & ReadonlyRecordable;
12
- export default locale as Locale & ReadonlyRecordable;
13
- }
14
-
15
- declare module 'virtual:*' {
16
- const result: any;
17
- export default result;
18
- }
@@ -1,59 +0,0 @@
1
- import { RoleInfo } from '../src/api/sys/model/userModel';
2
- import { ErrorTypeEnum } from '../src/enums/exceptionEnum';
3
- import { MenuModeEnum, MenuTypeEnum } from '../src/enums/menuEnum';
4
-
5
- // Lock screen information
6
- export interface LockInfo {
7
- // Password required
8
- pwd?: string | undefined;
9
- // Is it locked?
10
- isLock?: boolean;
11
- }
12
-
13
- // Error-log information
14
- export interface ErrorLogInfo {
15
- // Type of error
16
- type: ErrorTypeEnum;
17
- // Error file
18
- file: string;
19
- // Error name
20
- name?: string;
21
- // Error message
22
- message: string;
23
- // Error stack
24
- stack?: string;
25
- // Error detail
26
- detail: string;
27
- // Error url
28
- url: string;
29
- // Error time
30
- time?: string;
31
- }
32
-
33
- export interface UserInfo {
34
- id: string | number;
35
- userId: string | number;
36
- username: string;
37
- realname: string;
38
- avatar: string;
39
- desc?: string;
40
- homePath?: string;
41
- tenantid?: string | number;
42
- roles: RoleInfo[];
43
- orgCode?: string;
44
- }
45
-
46
- export interface LoginInfo {
47
- multi_depart?: string | number;
48
- userInfo?: object;
49
- departs?: [];
50
- tenantList?: [];
51
- isLogin?: boolean;
52
- }
53
-
54
- export interface BeforeMiniState {
55
- menuCollapsed?: boolean;
56
- menuSplit?: boolean;
57
- menuMode?: MenuModeEnum;
58
- menuType?: MenuTypeEnum;
59
- }
@@ -1,5 +0,0 @@
1
- import type { ComputedRef, Ref } from 'vue';
2
-
3
- export type DynamicProps<T> = {
4
- [P in keyof T]: Ref<T[P]> | T[P] | ComputedRef<T[P]>;
5
- };
@@ -1,47 +0,0 @@
1
- import { RoleEnum } from '../src/enums/roleEnum';
2
-
3
- export {};
4
-
5
- declare module 'vue-router' {
6
- interface RouteMeta extends Record<string | number | symbol, unknown> {
7
- orderNo?: number;
8
- // title
9
- title: string;
10
- // dynamic router level.
11
- dynamicLevel?: number;
12
- // dynamic router real route path (For performance).
13
- realPath?: string;
14
- // Whether to ignore permissions
15
- ignoreAuth?: boolean;
16
- // role info
17
- roles?: RoleEnum[];
18
- // Whether not to cache
19
- ignoreKeepAlive?: boolean;
20
- // Is it fixed on tab
21
- affix?: boolean;
22
- // icon on tab
23
- icon?: string;
24
- frameSrc?: string;
25
- // current page transition
26
- transitionName?: string;
27
- // Whether the route has been dynamically added
28
- hideBreadcrumb?: boolean;
29
- // Hide submenu
30
- hideChildrenInMenu?: boolean;
31
- // Carrying parameters
32
- carryParam?: boolean;
33
- // Used internally to mark single-level menus
34
- single?: boolean;
35
- // Currently active menu
36
- currentActiveMenu?: string;
37
- // Never show in tab
38
- hideTab?: boolean;
39
- // Never show in menu
40
- hideMenu?: boolean;
41
- isLink?: boolean;
42
- // only build for Menu
43
- ignoreRoute?: boolean;
44
- // Hide path for children
45
- hidePathForChildren?: boolean;
46
- }
47
- }