@vtj/ui 0.8.91 → 0.8.93

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.
Files changed (53) hide show
  1. package/dist/index.mjs +3 -3
  2. package/dist/index.umd.js +3 -3
  3. package/package.json +4 -4
  4. package/types/components/action/Action.d.ts +52 -124
  5. package/types/components/action/Trigger.d.ts +7 -81
  6. package/types/components/action/hooks.d.ts +6 -6
  7. package/types/components/action/types.d.ts +3 -41
  8. package/types/components/action-bar/ActionBar.d.ts +37 -285
  9. package/types/components/action-bar/types.d.ts +5 -43
  10. package/types/components/attachment/Attachment.d.ts +10 -8
  11. package/types/components/container/Container.d.ts +10 -8
  12. package/types/components/container/types.d.ts +2 -2
  13. package/types/components/data-item/DataItem.d.ts +38 -36
  14. package/types/components/dialog/Dialog.d.ts +14 -16
  15. package/types/components/dialog/types.d.ts +2 -4
  16. package/types/components/dialog-form/DialogForm.d.ts +12 -11
  17. package/types/components/dialog-form/types.d.ts +2 -3
  18. package/types/components/dialog-grid/DialogGrid.d.ts +8 -6
  19. package/types/components/field/Field.d.ts +23 -25
  20. package/types/components/field/editors/SelectEditor.d.ts +8 -6
  21. package/types/components/field/types.d.ts +3 -5
  22. package/types/components/form/Form.d.ts +10 -8
  23. package/types/components/grid/Grid.d.ts +281 -295
  24. package/types/components/grid/hooks/useEditRender.d.ts +2 -2
  25. package/types/components/grid/hooks/useLoader.d.ts +251 -267
  26. package/types/components/grid/hooks/useProps.d.ts +44 -44
  27. package/types/components/grid/hooks/useState.d.ts +251 -267
  28. package/types/components/grid/props.d.ts +3 -4
  29. package/types/components/header/Header.d.ts +8 -6
  30. package/types/components/icon/Icon.d.ts +9 -11
  31. package/types/components/icon/types.d.ts +2 -4
  32. package/types/components/import-button/ImportButton.d.ts +6 -4
  33. package/types/components/input-unit/InputUnit.d.ts +4 -4
  34. package/types/components/input-unit/types.d.ts +1 -1
  35. package/types/components/list/List.d.ts +12 -10
  36. package/types/components/mask/Mask.d.ts +41 -39
  37. package/types/components/mask/components/Avatar.d.ts +4 -2
  38. package/types/components/mask/components/Brand.d.ts +7 -5
  39. package/types/components/mask/components/Content.d.ts +4 -2
  40. package/types/components/mask/components/Sidebar.d.ts +4 -2
  41. package/types/components/mask/components/Toolbar.d.ts +6 -4
  42. package/types/components/panel/Panel.d.ts +20 -328
  43. package/types/components/panel/types.d.ts +6 -170
  44. package/types/components/picker/Picker.d.ts +14 -341
  45. package/types/components/picker/props.d.ts +7 -176
  46. package/types/components/qr-code/QrCode.d.ts +6 -4
  47. package/types/components/query-form/QueryForm.d.ts +29 -27
  48. package/types/components/tabs/Tabs.d.ts +48 -222
  49. package/types/components/tabs/types.d.ts +1 -1
  50. package/types/components/test/Test.d.ts +36 -34
  51. package/types/install.d.ts +1 -1
  52. package/types/utils/util.d.ts +1 -1
  53. package/types/version.d.ts +2 -2
@@ -1,6 +1,5 @@
1
1
  import { PropType, InjectionKey, ComponentInternalInstance } from 'vue';
2
- import { GridColumns, GridCustomInfo, GridCellRenders, GridEditRenders, GridFilterRenders, GridLoader } from './types';
3
- import { Options } from 'sortablejs';
2
+ import { GridSortableOptions, GridColumns, GridCustomInfo, GridCellRenders, GridEditRenders, GridFilterRenders, GridLoader } from './types';
4
3
 
5
4
  export declare const gridProps: {
6
5
  /**
@@ -23,14 +22,14 @@ export declare const gridProps: {
23
22
  * 行拖拽排序
24
23
  */
25
24
  rowSortable: {
26
- type: PropType<boolean | Options>;
25
+ type: PropType<boolean | GridSortableOptions>;
27
26
  default: boolean;
28
27
  };
29
28
  /**
30
29
  * 列拖拽排序
31
30
  */
32
31
  columnSortable: {
33
- type: PropType<boolean | Options>;
32
+ type: PropType<boolean | GridSortableOptions>;
34
33
  default: boolean;
35
34
  };
36
35
  /**
@@ -1,7 +1,12 @@
1
1
  import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
  import { BaseSize } from '../shared';
3
3
  import { IconParam } from '../';
4
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ subtitle?(_: {}): any;
7
+ actions?(_: {}): any;
8
+ };
9
+ declare const __VLS_component: DefineComponent<{
5
10
  size: {
6
11
  type: PropType<BaseSize>;
7
12
  default: string;
@@ -48,11 +53,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
48
53
  content: string;
49
54
  border: boolean;
50
55
  more: boolean;
51
- }, {}>, {
52
- default?(_: {}): any;
53
- subtitle?(_: {}): any;
54
- actions?(_: {}): any;
55
- }>;
56
+ }, {}>;
57
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
56
58
  export default _default;
57
59
  type __VLS_WithTemplateSlots<T, S> = T & {
58
60
  new (): {
@@ -1,10 +1,11 @@
1
- import { DefineComponent, PropType, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
1
+ import { DefineComponent, PropType, VNode, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
  import { IconSize } from './types';
3
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: DefineComponent<{
4
7
  icon: {
5
- type: PropType<string | object | VNode<RendererNode, RendererElement, {
6
- [key: string]: any;
7
- }>>;
8
+ type: PropType<string | object | VNode>;
8
9
  };
9
10
  color: {
10
11
  type: StringConstructor;
@@ -27,9 +28,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
27
28
  };
28
29
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
29
30
  icon: {
30
- type: PropType<string | object | VNode<RendererNode, RendererElement, {
31
- [key: string]: any;
32
- }>>;
31
+ type: PropType<string | object | VNode>;
33
32
  };
34
33
  color: {
35
34
  type: StringConstructor;
@@ -52,9 +51,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
52
51
  };
53
52
  }>>, {
54
53
  size: IconSize;
55
- }, {}>, {
56
- default?(_: {}): any;
57
- }>;
54
+ }, {}>;
55
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
58
56
  export default _default;
59
57
  type __VLS_WithTemplateSlots<T, S> = T & {
60
58
  new (): {
@@ -1,4 +1,4 @@
1
- import { ExtractPropTypes, PropType, VNode, RendererNode, RendererElement } from 'vue';
1
+ import { ExtractPropTypes, PropType, VNode } from 'vue';
2
2
 
3
3
  export type IconParam = string | VNode | IconProps | Record<string, any>;
4
4
  export type IconSize = number | 'inherit' | 'large' | 'default' | 'small';
@@ -10,9 +10,7 @@ export declare const iconSizeMap: {
10
10
  export type IconSizeKey = keyof typeof iconSizeMap;
11
11
  export declare const iconProps: {
12
12
  icon: {
13
- type: PropType<string | object | VNode< RendererNode, RendererElement, {
14
- [key: string]: any;
15
- }>>;
13
+ type: PropType<string | object | VNode>;
16
14
  };
17
15
  color: {
18
16
  type: StringConstructor;
@@ -1,6 +1,9 @@
1
1
  import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
  import { ImportButtonParserType, ImportButtonParser } from './types';
3
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: DefineComponent<{
4
7
  uploader: {
5
8
  type: FunctionConstructor;
6
9
  };
@@ -34,9 +37,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
34
37
  onFail?: ((e: any) => any) | undefined;
35
38
  }, {
36
39
  multiple: boolean;
37
- }, {}>, {
38
- default?(_: {}): any;
39
- }>;
40
+ }, {}>;
41
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
40
42
  export default _default;
41
43
  type __VLS_WithTemplateSlots<T, S> = T & {
42
44
  new (): {
@@ -2,7 +2,7 @@ import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractP
2
2
  import { InputUnitOption } from './types';
3
3
  declare const _default: DefineComponent<{
4
4
  units: {
5
- type: PropType<(string | InputUnitOption)[]>;
5
+ type: PropType<Array<string | InputUnitOption>>;
6
6
  };
7
7
  unit: {
8
8
  type: StringConstructor;
@@ -25,11 +25,11 @@ declare const _default: DefineComponent<{
25
25
  type: PropType<Record<string, any>>;
26
26
  };
27
27
  }, {
28
- parser: (value?: string | number | undefined) => {
28
+ parser: (value?: string | number) => {
29
29
  value: string | number | undefined;
30
30
  unit: string | undefined;
31
31
  };
32
- formatValue: (value?: string | number | undefined) => string | number | undefined;
32
+ formatValue: (value?: string | number) => string | number | undefined;
33
33
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
34
34
  change: (args_0: string | number | undefined) => void;
35
35
  "update:modelValue": (args_0: string | number | undefined) => void;
@@ -37,7 +37,7 @@ declare const _default: DefineComponent<{
37
37
  "unit-change": (args_0: string | undefined) => void;
38
38
  }, string, PublicProps, Readonly< ExtractPropTypes<{
39
39
  units: {
40
- type: PropType<(string | InputUnitOption)[]>;
40
+ type: PropType<Array<string | InputUnitOption>>;
41
41
  };
42
42
  unit: {
43
43
  type: StringConstructor;
@@ -7,7 +7,7 @@ export interface InputUnitOption {
7
7
  }
8
8
  export declare const inputUnitProps: {
9
9
  units: {
10
- type: PropType<(string | InputUnitOption)[]>;
10
+ type: PropType<Array<string | InputUnitOption>>;
11
11
  };
12
12
  unit: {
13
13
  type: StringConstructor;
@@ -4,7 +4,16 @@ import { DataLoader } from '..';
4
4
  import { PaginationProps } from 'element-plus';
5
5
  import { UseVirtualListItem } from '@vueuse/core';
6
6
 
7
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
7
+ declare function __VLS_template(): {
8
+ empty?(_: {}): any;
9
+ default?(_: {
10
+ item: any;
11
+ index: number;
12
+ }): any;
13
+ loading?(_: {}): any;
14
+ nomore?(_: {}): any;
15
+ };
16
+ declare const __VLS_component: DefineComponent<{
8
17
  data: {
9
18
  type: PropType<DataLoader<ListData, ListState>>;
10
19
  default(): never[];
@@ -93,15 +102,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
93
102
  height: string | number;
94
103
  page: number;
95
104
  pageSize: number;
96
- }, {}>, {
97
- empty?(_: {}): any;
98
- default?(_: {
99
- item: any;
100
- index: number;
101
- }): any;
102
- loading?(_: {}): any;
103
- nomore?(_: {}): any;
104
- }>;
105
+ }, {}>;
106
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
105
107
  export default _default;
106
108
  type __VLS_WithTemplateSlots<T, S> = T & {
107
109
  new (): {
@@ -6,7 +6,11 @@ import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mj
6
6
  import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
7
7
  import { BaseSize, BaseType } from '../shared';
8
8
 
9
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
9
+ declare function __VLS_template(): {
10
+ user?(_: {}): any;
11
+ default?(_: {}): any;
12
+ };
13
+ declare const __VLS_component: DefineComponent<{
10
14
  logo: {
11
15
  type: StringConstructor;
12
16
  default: string;
@@ -16,11 +20,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
16
20
  default: string;
17
21
  };
18
22
  menus: {
19
- type: PropType< MenuDataItem[] | (() => MenuDataItem[] | Promise< MenuDataItem[]>)>;
23
+ type: PropType< MenuDataItem[] | (() => Promise< MenuDataItem[]> | MenuDataItem[])>;
20
24
  default(): never[];
21
25
  };
22
26
  favorites: {
23
- type: PropType< MenuDataItem[] | (() => MenuDataItem[] | Promise< MenuDataItem[]>)>;
27
+ type: PropType< MenuDataItem[] | (() => Promise< MenuDataItem[]> | MenuDataItem[])>;
24
28
  default(): never[];
25
29
  };
26
30
  menuAdapter: {
@@ -82,7 +86,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
82
86
  };
83
87
  dropdown: {
84
88
  type: PropType<Partial< ExtractPropTypes<{
85
- readonly trigger: EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
89
+ readonly trigger: EpPropFinalized<(new (...args: any[]) => Arrayable<TooltipTriggerType> & {}) | (() => Arrayable<TooltipTriggerType>) | ((new (...args: any[]) => Arrayable<TooltipTriggerType> & {}) | (() => Arrayable<TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
86
90
  readonly effect: {
87
91
  readonly default: "light";
88
92
  readonly type: PropType<string>;
@@ -91,13 +95,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
91
95
  readonly __epPropKey: true;
92
96
  };
93
97
  readonly type: {
94
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text") | (() => EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text", unknown>) | ((new (...args: any[]) => "" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text") | (() => EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text", unknown>))[], unknown, unknown>>;
98
+ readonly type: PropType<EpPropMergeType<(new (...args: any[]) => EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown> & {}) | (() => EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>) | ((new (...args: any[]) => EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown> & {}) | (() => EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>))[], unknown, unknown>>;
95
99
  readonly required: false;
96
100
  readonly validator: ((val: unknown) => boolean) | undefined;
97
101
  __epPropKey: true;
98
102
  };
99
- readonly placement: EpPropFinalized<(new (...args: any[]) => any) | (() => Placement) | ((new (...args: any[]) => any) | (() => Placement))[], unknown, unknown, "bottom", boolean>;
100
- readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Options) | (() => Options) | ((new (...args: any[]) => Options) | (() => Options))[], unknown, unknown, () => {}, boolean>;
103
+ readonly placement: EpPropFinalized<(new (...args: any[]) => Placement & {}) | (() => Placement) | ((new (...args: any[]) => Placement & {}) | (() => Placement))[], unknown, unknown, "bottom", boolean>;
104
+ readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
101
105
  readonly id: StringConstructor;
102
106
  readonly size: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
103
107
  readonly splitButton: BooleanConstructor;
@@ -105,8 +109,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
105
109
  readonly loop: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
106
110
  readonly showTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
107
111
  readonly hideTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
108
- readonly tabindex: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
109
- readonly maxHeight: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
112
+ readonly tabindex: EpPropFinalized<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown, 0, boolean>;
113
+ readonly maxHeight: EpPropFinalized<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown, "", boolean>;
110
114
  readonly popperClass: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
111
115
  readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
112
116
  readonly role: EpPropFinalized<StringConstructor, unknown, unknown, "menu", boolean>;
@@ -133,7 +137,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
133
137
  type: PropType<BaseType>;
134
138
  };
135
139
  background: {
136
- type: PropType<"hover" | "always" | "none">;
140
+ type: PropType<"always" | "hover" | "none">;
137
141
  default: string;
138
142
  };
139
143
  circle: {
@@ -171,7 +175,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
171
175
  };
172
176
  dropdown: {
173
177
  type: PropType<Partial< ExtractPropTypes<{
174
- readonly trigger: EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
178
+ readonly trigger: EpPropFinalized<(new (...args: any[]) => Arrayable<TooltipTriggerType> & {}) | (() => Arrayable<TooltipTriggerType>) | ((new (...args: any[]) => Arrayable<TooltipTriggerType> & {}) | (() => Arrayable<TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
175
179
  readonly effect: {
176
180
  readonly default: "light";
177
181
  readonly type: PropType<string>;
@@ -180,13 +184,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
180
184
  readonly __epPropKey: true;
181
185
  };
182
186
  readonly type: {
183
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text") | (() => EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text", unknown>) | ((new (...args: any[]) => "" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text") | (() => EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text", unknown>))[], unknown, unknown>>;
187
+ readonly type: PropType<EpPropMergeType<(new (...args: any[]) => EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown> & {}) | (() => EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>) | ((new (...args: any[]) => EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown> & {}) | (() => EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>))[], unknown, unknown>>;
184
188
  readonly required: false;
185
189
  readonly validator: ((val: unknown) => boolean) | undefined;
186
190
  __epPropKey: true;
187
191
  };
188
- readonly placement: EpPropFinalized<(new (...args: any[]) => any) | (() => Placement) | ((new (...args: any[]) => any) | (() => Placement))[], unknown, unknown, "bottom", boolean>;
189
- readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Options) | (() => Options) | ((new (...args: any[]) => Options) | (() => Options))[], unknown, unknown, () => {}, boolean>;
192
+ readonly placement: EpPropFinalized<(new (...args: any[]) => Placement & {}) | (() => Placement) | ((new (...args: any[]) => Placement & {}) | (() => Placement))[], unknown, unknown, "bottom", boolean>;
193
+ readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
190
194
  readonly id: StringConstructor;
191
195
  readonly size: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
192
196
  readonly splitButton: BooleanConstructor;
@@ -194,8 +198,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
194
198
  readonly loop: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
195
199
  readonly showTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
196
200
  readonly hideTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
197
- readonly tabindex: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
198
- readonly maxHeight: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
201
+ readonly tabindex: EpPropFinalized<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown, 0, boolean>;
202
+ readonly maxHeight: EpPropFinalized<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown, "", boolean>;
199
203
  readonly popperClass: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
200
204
  readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
201
205
  readonly role: EpPropFinalized<StringConstructor, unknown, unknown, "menu", boolean>;
@@ -222,7 +226,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
222
226
  type: PropType<BaseType>;
223
227
  };
224
228
  background: {
225
- type: PropType<"hover" | "always" | "none">;
229
+ type: PropType<"always" | "hover" | "none">;
226
230
  default: string;
227
231
  };
228
232
  circle: {
@@ -242,11 +246,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
242
246
  default: string;
243
247
  };
244
248
  menus: {
245
- type: PropType< MenuDataItem[] | (() => MenuDataItem[] | Promise< MenuDataItem[]>)>;
249
+ type: PropType< MenuDataItem[] | (() => Promise< MenuDataItem[]> | MenuDataItem[])>;
246
250
  default(): never[];
247
251
  };
248
252
  favorites: {
249
- type: PropType< MenuDataItem[] | (() => MenuDataItem[] | Promise< MenuDataItem[]>)>;
253
+ type: PropType< MenuDataItem[] | (() => Promise< MenuDataItem[]> | MenuDataItem[])>;
250
254
  default(): never[];
251
255
  };
252
256
  menuAdapter: {
@@ -308,7 +312,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
308
312
  };
309
313
  dropdown: {
310
314
  type: PropType<Partial< ExtractPropTypes<{
311
- readonly trigger: EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
315
+ readonly trigger: EpPropFinalized<(new (...args: any[]) => Arrayable<TooltipTriggerType> & {}) | (() => Arrayable<TooltipTriggerType>) | ((new (...args: any[]) => Arrayable<TooltipTriggerType> & {}) | (() => Arrayable<TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
312
316
  readonly effect: {
313
317
  readonly default: "light";
314
318
  readonly type: PropType<string>;
@@ -317,13 +321,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
317
321
  readonly __epPropKey: true;
318
322
  };
319
323
  readonly type: {
320
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text") | (() => EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text", unknown>) | ((new (...args: any[]) => "" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text") | (() => EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text", unknown>))[], unknown, unknown>>;
324
+ readonly type: PropType<EpPropMergeType<(new (...args: any[]) => EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown> & {}) | (() => EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>) | ((new (...args: any[]) => EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown> & {}) | (() => EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>))[], unknown, unknown>>;
321
325
  readonly required: false;
322
326
  readonly validator: ((val: unknown) => boolean) | undefined;
323
327
  __epPropKey: true;
324
328
  };
325
- readonly placement: EpPropFinalized<(new (...args: any[]) => any) | (() => Placement) | ((new (...args: any[]) => any) | (() => Placement))[], unknown, unknown, "bottom", boolean>;
326
- readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Options) | (() => Options) | ((new (...args: any[]) => Options) | (() => Options))[], unknown, unknown, () => {}, boolean>;
329
+ readonly placement: EpPropFinalized<(new (...args: any[]) => Placement & {}) | (() => Placement) | ((new (...args: any[]) => Placement & {}) | (() => Placement))[], unknown, unknown, "bottom", boolean>;
330
+ readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
327
331
  readonly id: StringConstructor;
328
332
  readonly size: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
329
333
  readonly splitButton: BooleanConstructor;
@@ -331,8 +335,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
331
335
  readonly loop: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
332
336
  readonly showTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
333
337
  readonly hideTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
334
- readonly tabindex: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
335
- readonly maxHeight: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
338
+ readonly tabindex: EpPropFinalized<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown, 0, boolean>;
339
+ readonly maxHeight: EpPropFinalized<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown, "", boolean>;
336
340
  readonly popperClass: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
337
341
  readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
338
342
  readonly role: EpPropFinalized<StringConstructor, unknown, unknown, "menu", boolean>;
@@ -359,7 +363,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
359
363
  type: PropType<BaseType>;
360
364
  };
361
365
  background: {
362
- type: PropType<"hover" | "always" | "none">;
366
+ type: PropType<"always" | "hover" | "none">;
363
367
  default: string;
364
368
  };
365
369
  circle: {
@@ -397,7 +401,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
397
401
  };
398
402
  dropdown: {
399
403
  type: PropType<Partial< ExtractPropTypes<{
400
- readonly trigger: EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
404
+ readonly trigger: EpPropFinalized<(new (...args: any[]) => Arrayable<TooltipTriggerType> & {}) | (() => Arrayable<TooltipTriggerType>) | ((new (...args: any[]) => Arrayable<TooltipTriggerType> & {}) | (() => Arrayable<TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
401
405
  readonly effect: {
402
406
  readonly default: "light";
403
407
  readonly type: PropType<string>;
@@ -406,13 +410,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
406
410
  readonly __epPropKey: true;
407
411
  };
408
412
  readonly type: {
409
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text") | (() => EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text", unknown>) | ((new (...args: any[]) => "" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text") | (() => EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text", unknown>))[], unknown, unknown>>;
413
+ readonly type: PropType<EpPropMergeType<(new (...args: any[]) => EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown> & {}) | (() => EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>) | ((new (...args: any[]) => EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown> & {}) | (() => EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>))[], unknown, unknown>>;
410
414
  readonly required: false;
411
415
  readonly validator: ((val: unknown) => boolean) | undefined;
412
416
  __epPropKey: true;
413
417
  };
414
- readonly placement: EpPropFinalized<(new (...args: any[]) => any) | (() => Placement) | ((new (...args: any[]) => any) | (() => Placement))[], unknown, unknown, "bottom", boolean>;
415
- readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Options) | (() => Options) | ((new (...args: any[]) => Options) | (() => Options))[], unknown, unknown, () => {}, boolean>;
418
+ readonly placement: EpPropFinalized<(new (...args: any[]) => Placement & {}) | (() => Placement) | ((new (...args: any[]) => Placement & {}) | (() => Placement))[], unknown, unknown, "bottom", boolean>;
419
+ readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
416
420
  readonly id: StringConstructor;
417
421
  readonly size: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
418
422
  readonly splitButton: BooleanConstructor;
@@ -420,8 +424,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
420
424
  readonly loop: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
421
425
  readonly showTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
422
426
  readonly hideTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
423
- readonly tabindex: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
424
- readonly maxHeight: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
427
+ readonly tabindex: EpPropFinalized<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown, 0, boolean>;
428
+ readonly maxHeight: EpPropFinalized<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown, "", boolean>;
425
429
  readonly popperClass: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
426
430
  readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
427
431
  readonly role: EpPropFinalized<StringConstructor, unknown, unknown, "menu", boolean>;
@@ -448,7 +452,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
448
452
  type: PropType<BaseType>;
449
453
  };
450
454
  background: {
451
- type: PropType<"hover" | "always" | "none">;
455
+ type: PropType<"always" | "hover" | "none">;
452
456
  default: string;
453
457
  };
454
458
  circle: {
@@ -461,16 +465,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
461
465
  }, {
462
466
  disabled: boolean;
463
467
  title: string;
464
- menus: MenuDataItem[] | (() => MenuDataItem[] | Promise< MenuDataItem[]>);
468
+ menus: MenuDataItem[] | (() => Promise< MenuDataItem[]> | MenuDataItem[]);
465
469
  logo: string;
466
- favorites: MenuDataItem[] | (() => MenuDataItem[] | Promise< MenuDataItem[]>);
470
+ favorites: MenuDataItem[] | (() => Promise< MenuDataItem[]> | MenuDataItem[]);
467
471
  home: string | MaskTab;
468
472
  tabs: number;
469
473
  theme: boolean;
470
- }, {}>, {
471
- user?(_: {}): any;
472
- default?(_: {}): any;
473
- }>;
474
+ }, {}>;
475
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
474
476
  export default _default;
475
477
  type __VLS_WithTemplateSlots<T, S> = T & {
476
478
  new (): {
@@ -2,9 +2,11 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes,
2
2
  export interface Props {
3
3
  avatar?: string;
4
4
  }
5
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
5
+ declare function __VLS_template(): {
6
6
  default?(_: {}): any;
7
- }>;
7
+ };
8
+ declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
9
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
8
10
  export default _default;
9
11
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
12
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -5,16 +5,18 @@ export interface Props {
5
5
  title?: string;
6
6
  url?: string;
7
7
  }
8
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
+ declare function __VLS_template(): {
9
+ logo?(_: {}): any;
10
+ title?(_: {}): any;
11
+ };
12
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
9
13
  collapsed: boolean;
10
14
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
15
  collapsed: boolean;
12
16
  }>>>, {
13
17
  collapsed: boolean;
14
- }, {}>, {
15
- logo?(_: {}): any;
16
- title?(_: {}): any;
17
- }>;
18
+ }, {}>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
18
20
  export default _default;
19
21
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
22
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -5,9 +5,11 @@ export interface Props {
5
5
  createView: (module: any, route: RouteLocationNormalizedLoaded) => any;
6
6
  exclude: string[];
7
7
  }
8
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
8
+ declare function __VLS_template(): {
9
9
  default?(_: {}): any;
10
- }>;
10
+ };
11
+ declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
11
13
  export default _default;
12
14
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
15
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -2,10 +2,12 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes,
2
2
  export interface Props {
3
3
  collapsed?: boolean;
4
4
  }
5
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
5
+ declare function __VLS_template(): {
6
6
  brand?(_: {}): any;
7
7
  default?(_: {}): any;
8
- }>;
8
+ };
9
+ declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
10
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
9
11
  export default _default;
10
12
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
13
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -7,7 +7,10 @@ export interface Props {
7
7
  actions?: ActionBarItems;
8
8
  theme?: boolean;
9
9
  }
10
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
10
+ declare function __VLS_template(): {
11
+ default?(_: {}): any;
12
+ };
13
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
14
  tabs: () => never[];
12
15
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
13
16
  actionClick: (...args: any[]) => void;
@@ -27,9 +30,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
27
30
  onClickTab?: ((...args: any[]) => any) | undefined;
28
31
  }, {
29
32
  tabs: MaskTab[];
30
- }, {}>, {
31
- default?(_: {}): any;
32
- }>;
33
+ }, {}>;
34
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
33
35
  export default _default;
34
36
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
37
  type __VLS_TypePropsToRuntimeProps<T> = {