@vtj/ui 0.10.5 → 0.10.6

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 (43) hide show
  1. package/dist/index.mjs +2 -2
  2. package/dist/index.umd.js +2 -2
  3. package/package.json +3 -3
  4. package/types/components/action/Action.d.ts +3 -10
  5. package/types/components/attachment/Attachment.d.ts +274 -805
  6. package/types/components/container/Container.d.ts +178 -15
  7. package/types/components/data-item/DataItem.d.ts +517 -18
  8. package/types/components/dialog/Dialog.d.ts +372 -1143
  9. package/types/components/dialog-form/DialogForm.d.ts +104 -3049
  10. package/types/components/dialog-grid/DialogGrid.d.ts +69 -4907
  11. package/types/components/field/Field.d.ts +222 -353
  12. package/types/components/field/editors/SelectEditor.d.ts +21 -12
  13. package/types/components/form/Form.d.ts +116 -389
  14. package/types/components/grid/Grid.d.ts +787 -57
  15. package/types/components/grid/renderers/components/DateEdit.d.ts +2 -255
  16. package/types/components/grid/renderers/components/DateFilter.d.ts +1 -1
  17. package/types/components/grid/renderers/components/GridEdit.d.ts +2 -410
  18. package/types/components/grid/renderers/components/InputFilter.d.ts +1 -1
  19. package/types/components/grid/renderers/components/NumberFilter.d.ts +1 -1
  20. package/types/components/grid/renderers/components/PickerEdit.d.ts +2 -1926
  21. package/types/components/grid/renderers/components/SelectFilter.d.ts +1 -1
  22. package/types/components/grid-editor/GridEditor.d.ts +2 -375
  23. package/types/components/header/Header.d.ts +76 -14
  24. package/types/components/import-button/ImportButton.d.ts +47 -10
  25. package/types/components/list/List.d.ts +155 -30
  26. package/types/components/mask/Mask.d.ts +546 -562
  27. package/types/components/mask/components/Avatar.d.ts +16 -11
  28. package/types/components/mask/components/Brand.d.ts +17 -12
  29. package/types/components/mask/components/Content.d.ts +13 -12
  30. package/types/components/mask/components/Sidebar.d.ts +15 -12
  31. package/types/components/mask/components/Tabs.d.ts +2 -255
  32. package/types/components/mask/components/ThemeSwitch.d.ts +1 -1
  33. package/types/components/mask/components/Toolbar.d.ts +55 -13
  34. package/types/components/panel/Panel.d.ts +124 -521
  35. package/types/components/picker/Dialog.d.ts +2 -1291
  36. package/types/components/picker/Picker.d.ts +2 -1730
  37. package/types/components/qr-code/QrCode.d.ts +35 -13
  38. package/types/components/query-form/QueryForm.d.ts +418 -1105
  39. package/types/components/startup/Startup.d.ts +1 -1
  40. package/types/components/tabs/Tabs.d.ts +297 -53
  41. package/types/components/test/Test.d.ts +268 -41
  42. package/types/version.d.ts +2 -2
  43. package/types/components/icon/Icon.d.ts +0 -74
@@ -1,23 +1,28 @@
1
+ import { ElAvatar, ElPopover } from 'element-plus';
2
+ import { UserFilled } from '@vtj/icons';
1
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
4
  export interface Props {
3
5
  avatar?: string;
4
6
  width?: number;
5
7
  }
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- default?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: any;
13
- };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
8
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
9
+ declare var __VLS_10: {};
10
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
11
+ default?: (props: typeof __VLS_10) => any;
12
+ }>;
13
+ declare const __VLS_self: DefineComponent<Props, {
14
+ ElAvatar: typeof ElAvatar;
15
+ ElPopover: typeof ElPopover;
16
+ UserFilled: typeof UserFilled;
17
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
18
+ width: number;
19
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
15
20
  declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
16
21
  width: number;
17
22
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
18
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
24
  export default _default;
20
- type __VLS_WithTemplateSlots<T, S> = T & {
25
+ type __VLS_WithSlots<T, S> = T & {
21
26
  new (): {
22
27
  $slots: S;
23
28
  };
@@ -1,3 +1,4 @@
1
+ import { XContainer } from '../../';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
3
  export interface Props {
3
4
  collapsed?: boolean;
@@ -5,22 +6,26 @@ export interface Props {
5
6
  title?: string;
6
7
  url?: string;
7
8
  }
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
- slots: {
11
- logo?(_: {}): any;
12
- title?(_: {}): any;
13
- };
14
- refs: {};
15
- rootEl: any;
16
- };
17
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
+ declare const onClick: () => void;
10
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
11
+ declare var __VLS_14: {}, __VLS_20: {};
12
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
13
+ logo?: (props: typeof __VLS_14) => any;
14
+ } & {
15
+ title?: (props: typeof __VLS_20) => any;
16
+ }>;
17
+ declare const __VLS_self: DefineComponent<Props, {
18
+ XContainer: typeof XContainer;
19
+ onClick: typeof onClick;
20
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
21
+ collapsed: boolean;
22
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
18
23
  declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
19
24
  collapsed: boolean;
20
25
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
21
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
22
27
  export default _default;
23
- type __VLS_WithTemplateSlots<T, S> = T & {
28
+ type __VLS_WithSlots<T, S> = T & {
24
29
  new (): {
25
30
  $slots: S;
26
31
  };
@@ -1,23 +1,24 @@
1
- import { RouteLocationNormalizedLoaded } from 'vue-router';
1
+ import { RouterView, RouteLocationNormalizedLoaded } from 'vue-router';
2
+ import { XContainer } from '../../';
2
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
4
  export interface Props {
4
5
  createView: (module: any, route: RouteLocationNormalizedLoaded) => any;
5
6
  exclude: string[];
6
7
  pure: boolean;
7
8
  }
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
- slots: {
11
- default?(_: {}): any;
12
- };
13
- refs: {};
14
- rootEl: any;
15
- };
16
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
10
+ declare var __VLS_6: {};
11
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
12
+ default?: (props: typeof __VLS_6) => any;
13
+ }>;
14
+ declare const __VLS_self: DefineComponent<Props, {
15
+ RouterView: typeof RouterView;
16
+ XContainer: typeof XContainer;
17
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
17
18
  declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
18
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
20
  export default _default;
20
- type __VLS_WithTemplateSlots<T, S> = T & {
21
+ type __VLS_WithSlots<T, S> = T & {
21
22
  new (): {
22
23
  $slots: S;
23
24
  };
@@ -1,21 +1,24 @@
1
+ import { XContainer } from '../../';
2
+ import { vResizable } from '../../../directives';
1
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
4
  export interface Props {
3
5
  collapsed?: boolean;
4
6
  }
5
- declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
- slots: {
8
- brand?(_: {}): any;
9
- default?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: any;
13
- };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
7
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
8
+ declare var __VLS_6: {}, __VLS_12: {};
9
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
10
+ brand?: (props: typeof __VLS_6) => any;
11
+ } & {
12
+ default?: (props: typeof __VLS_12) => any;
13
+ }>;
14
+ declare const __VLS_self: DefineComponent<Props, {
15
+ XContainer: typeof XContainer;
16
+ vResizable: typeof vResizable;
17
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
15
18
  declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
16
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
20
  export default _default;
18
- type __VLS_WithTemplateSlots<T, S> = T & {
21
+ type __VLS_WithSlots<T, S> = T & {
19
22
  new (): {
20
23
  $slots: S;
21
24
  };
@@ -1,8 +1,6 @@
1
1
  import { MenuDataItem } from '../../';
2
2
  import { MaskTab } from '../types';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
4
- import { ContainerWrap, ContainerDirection, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent } from '../../container';
5
- import { OnCleanup } from '@vue/reactivity';
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
6
4
  export interface Props {
7
5
  tabs: MaskTab[];
8
6
  home: MaskTab;
@@ -22,256 +20,5 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
22
20
  onRemove?: ((tab: MaskTab) => any) | undefined;
23
21
  onRefresh?: ((tab: MaskTab) => any) | undefined;
24
22
  onToggleFavorite?: ((item: MenuDataItem) => any) | undefined;
25
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
26
- tabsRef: ({
27
- $: ComponentInternalInstance;
28
- $data: {};
29
- $props: Partial<{
30
- padding: boolean;
31
- tag: string;
32
- wrap: ContainerWrap;
33
- fit: boolean;
34
- flex: boolean;
35
- inline: boolean;
36
- direction: ContainerDirection;
37
- justify: ContainerJustifyContent;
38
- align: ContainerAlignItems;
39
- alignContent: ContainerAlignContent;
40
- grow: boolean;
41
- shrink: boolean;
42
- alignSelf: "auto" | ContainerAlignItems;
43
- gap: boolean;
44
- autoPointer: boolean;
45
- }> & Omit<{
46
- readonly padding: boolean;
47
- readonly tag: string;
48
- readonly wrap: ContainerWrap;
49
- readonly fit: boolean;
50
- readonly flex: boolean;
51
- readonly inline: boolean;
52
- readonly direction: ContainerDirection;
53
- readonly justify: ContainerJustifyContent;
54
- readonly align: ContainerAlignItems;
55
- readonly alignContent: ContainerAlignContent;
56
- readonly grow: boolean;
57
- readonly shrink: boolean;
58
- readonly alignSelf: "auto" | ContainerAlignItems;
59
- readonly gap: boolean;
60
- readonly autoPointer: boolean;
61
- readonly width?: string | number | undefined;
62
- readonly height?: string | number | undefined;
63
- readonly overflow?: "hidden" | "auto" | "visible" | undefined;
64
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer">;
65
- $attrs: {
66
- [x: string]: unknown;
67
- };
68
- $refs: {
69
- [x: string]: unknown;
70
- } & {
71
- elRef: unknown;
72
- };
73
- $slots: Readonly<{
74
- [name: string]: Slot<any> | undefined;
75
- }>;
76
- $root: ComponentPublicInstance | null;
77
- $parent: ComponentPublicInstance | null;
78
- $host: Element | null;
79
- $emit: (event: string, ...args: any[]) => void;
80
- $el: any;
81
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
82
- tag: {
83
- type: StringConstructor;
84
- default: string;
85
- };
86
- fit: {
87
- type: BooleanConstructor;
88
- default: boolean;
89
- };
90
- width: {
91
- type: (StringConstructor | NumberConstructor)[];
92
- };
93
- height: {
94
- type: (StringConstructor | NumberConstructor)[];
95
- };
96
- flex: {
97
- type: BooleanConstructor;
98
- default: boolean;
99
- };
100
- inline: {
101
- type: BooleanConstructor;
102
- };
103
- direction: {
104
- type: PropType<ContainerDirection>;
105
- default: string;
106
- };
107
- wrap: {
108
- type: PropType<ContainerWrap>;
109
- default: string;
110
- };
111
- justify: {
112
- type: PropType<ContainerJustifyContent>;
113
- default: string;
114
- };
115
- align: {
116
- type: PropType<ContainerAlignItems>;
117
- default: string;
118
- };
119
- alignContent: {
120
- type: PropType<ContainerAlignContent>;
121
- default: string;
122
- };
123
- grow: {
124
- type: BooleanConstructor;
125
- default: boolean;
126
- };
127
- shrink: {
128
- type: BooleanConstructor;
129
- default: boolean;
130
- };
131
- alignSelf: {
132
- type: PropType<"auto" | ContainerAlignItems>;
133
- default: string;
134
- };
135
- overflow: {
136
- type: PropType<"auto" | "hidden" | "visible">;
137
- };
138
- padding: {
139
- type: BooleanConstructor;
140
- default: boolean;
141
- };
142
- gap: {
143
- type: BooleanConstructor;
144
- };
145
- autoPointer: {
146
- type: BooleanConstructor;
147
- };
148
- }>> & Readonly<{}>, {
149
- $vtjEl: ComputedRef<any>;
150
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
151
- padding: boolean;
152
- tag: string;
153
- wrap: ContainerWrap;
154
- fit: boolean;
155
- flex: boolean;
156
- inline: boolean;
157
- direction: ContainerDirection;
158
- justify: ContainerJustifyContent;
159
- align: ContainerAlignItems;
160
- alignContent: ContainerAlignContent;
161
- grow: boolean;
162
- shrink: boolean;
163
- alignSelf: "auto" | ContainerAlignItems;
164
- gap: boolean;
165
- autoPointer: boolean;
166
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
167
- beforeCreate?: (() => void) | (() => void)[];
168
- created?: (() => void) | (() => void)[];
169
- beforeMount?: (() => void) | (() => void)[];
170
- mounted?: (() => void) | (() => void)[];
171
- beforeUpdate?: (() => void) | (() => void)[];
172
- updated?: (() => void) | (() => void)[];
173
- activated?: (() => void) | (() => void)[];
174
- deactivated?: (() => void) | (() => void)[];
175
- beforeDestroy?: (() => void) | (() => void)[];
176
- beforeUnmount?: (() => void) | (() => void)[];
177
- destroyed?: (() => void) | (() => void)[];
178
- unmounted?: (() => void) | (() => void)[];
179
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
180
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
181
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
182
- };
183
- $forceUpdate: () => void;
184
- $nextTick: nextTick;
185
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
186
- } & Readonly<{
187
- padding: boolean;
188
- tag: string;
189
- wrap: ContainerWrap;
190
- fit: boolean;
191
- flex: boolean;
192
- inline: boolean;
193
- direction: ContainerDirection;
194
- justify: ContainerJustifyContent;
195
- align: ContainerAlignItems;
196
- alignContent: ContainerAlignContent;
197
- grow: boolean;
198
- shrink: boolean;
199
- alignSelf: "auto" | ContainerAlignItems;
200
- gap: boolean;
201
- autoPointer: boolean;
202
- }> & Omit<Readonly< ExtractPropTypes<{
203
- tag: {
204
- type: StringConstructor;
205
- default: string;
206
- };
207
- fit: {
208
- type: BooleanConstructor;
209
- default: boolean;
210
- };
211
- width: {
212
- type: (StringConstructor | NumberConstructor)[];
213
- };
214
- height: {
215
- type: (StringConstructor | NumberConstructor)[];
216
- };
217
- flex: {
218
- type: BooleanConstructor;
219
- default: boolean;
220
- };
221
- inline: {
222
- type: BooleanConstructor;
223
- };
224
- direction: {
225
- type: PropType<ContainerDirection>;
226
- default: string;
227
- };
228
- wrap: {
229
- type: PropType<ContainerWrap>;
230
- default: string;
231
- };
232
- justify: {
233
- type: PropType<ContainerJustifyContent>;
234
- default: string;
235
- };
236
- align: {
237
- type: PropType<ContainerAlignItems>;
238
- default: string;
239
- };
240
- alignContent: {
241
- type: PropType<ContainerAlignContent>;
242
- default: string;
243
- };
244
- grow: {
245
- type: BooleanConstructor;
246
- default: boolean;
247
- };
248
- shrink: {
249
- type: BooleanConstructor;
250
- default: boolean;
251
- };
252
- alignSelf: {
253
- type: PropType<"auto" | ContainerAlignItems>;
254
- default: string;
255
- };
256
- overflow: {
257
- type: PropType<"auto" | "hidden" | "visible">;
258
- };
259
- padding: {
260
- type: BooleanConstructor;
261
- default: boolean;
262
- };
263
- gap: {
264
- type: BooleanConstructor;
265
- };
266
- autoPointer: {
267
- type: BooleanConstructor;
268
- };
269
- }>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & ShallowUnwrapRef<{
270
- $vtjEl: ComputedRef<any>;
271
- }> & {} & ComponentCustomProperties & {} & {
272
- $slots: {
273
- default?(_: {}): any;
274
- };
275
- }) | null;
276
- }, any>;
23
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
277
24
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
3
3
  export default _default;
@@ -1,20 +1,62 @@
1
- import { ActionBarItems } from '../../';
1
+ import { XContainer, XAction, ActionMenuItem, XIcon, XActionBar, ActionBarItems, ActionProps } from '../../';
2
+ import { MoreFilled, Close } from '@vtj/icons';
3
+ import { ElDivider } from 'element-plus';
4
+ import { default as ThemeSwitch } from './ThemeSwitch';
2
5
  import { MaskTab } from '../types';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
6
+ import { ComputedRef, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
7
  export interface Props {
5
8
  tabs: MaskTab[];
6
9
  actions?: ActionBarItems;
7
10
  theme?: boolean;
8
11
  }
9
- declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
- slots: {
12
- default?(_: {}): any;
13
- };
14
- refs: {};
15
- rootEl: any;
16
- };
17
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const tabs: ComputedRef<({
13
+ divided: boolean;
14
+ label: string | undefined;
15
+ command: MaskTab;
16
+ } | {
17
+ label: string;
18
+ command: string;
19
+ })[]>;
20
+ declare const onCloseItem: (item: ActionMenuItem) => void;
21
+ declare const onTabCommand: (item: ActionMenuItem) => void;
22
+ declare const onActionClick: (action: ActionProps) => void;
23
+ declare const onActionCommand: (action: ActionProps, item: ActionMenuItem) => void;
24
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
25
+ declare var __VLS_46: {};
26
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
27
+ default?: (props: typeof __VLS_46) => any;
28
+ }>;
29
+ declare const __VLS_self: DefineComponent<Props, {
30
+ XContainer: typeof XContainer;
31
+ XAction: typeof XAction;
32
+ XIcon: typeof XIcon;
33
+ XActionBar: typeof XActionBar;
34
+ MoreFilled: typeof MoreFilled;
35
+ Close: typeof Close;
36
+ ElDivider: typeof ElDivider;
37
+ ThemeSwitch: typeof ThemeSwitch;
38
+ tabs: typeof tabs;
39
+ onCloseItem: typeof onCloseItem;
40
+ onTabCommand: typeof onTabCommand;
41
+ onActionClick: typeof onActionClick;
42
+ onActionCommand: typeof onActionCommand;
43
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
44
+ actionClick: (...args: any[]) => void;
45
+ actionCommand: (...args: any[]) => void;
46
+ closeOtherTabs: (...args: any[]) => void;
47
+ closeAllTabs: (...args: any[]) => void;
48
+ closeTab: (...args: any[]) => void;
49
+ clickTab: (...args: any[]) => void;
50
+ }, string, PublicProps, Readonly<Props> & Readonly<{
51
+ onActionClick?: ((...args: any[]) => any) | undefined;
52
+ onActionCommand?: ((...args: any[]) => any) | undefined;
53
+ onCloseOtherTabs?: ((...args: any[]) => any) | undefined;
54
+ onCloseAllTabs?: ((...args: any[]) => any) | undefined;
55
+ onCloseTab?: ((...args: any[]) => any) | undefined;
56
+ onClickTab?: ((...args: any[]) => any) | undefined;
57
+ }>, {
58
+ tabs: MaskTab[];
59
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
18
60
  declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
19
61
  actionClick: (...args: any[]) => void;
20
62
  actionCommand: (...args: any[]) => void;
@@ -32,9 +74,9 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
32
74
  }>, {
33
75
  tabs: MaskTab[];
34
76
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
35
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
77
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
36
78
  export default _default;
37
- type __VLS_WithTemplateSlots<T, S> = T & {
79
+ type __VLS_WithSlots<T, S> = T & {
38
80
  new (): {
39
81
  $slots: S;
40
82
  };