x-next 0.0.0-alpha.51 → 0.0.0-alpha.52
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.
- package/README.md +28 -21
- package/dist/_hooks/_types.d.ts +6 -0
- package/dist/_hooks/use-trigger.d.ts +13 -0
- package/dist/_utils/vue-eco.d.ts +4 -0
- package/dist/components/button/Button.d.ts +11 -5
- package/dist/components/button/ButtonGroup.vue.d.ts +90 -0
- package/dist/components/button/context.d.ts +11 -0
- package/dist/components/button/index.d.ts +143 -29
- package/dist/components/button/props.d.ts +10 -6
- package/dist/components/dialog/Dialog.d.ts +3 -3
- package/dist/components/dialog/index.d.ts +11 -11
- package/dist/components/drawer/index.d.ts +225 -133
- package/dist/components/drawer/src/Drawer.vue.d.ts +111 -65
- package/dist/components/dropdown/Dropdown.vue.d.ts +1143 -0
- package/dist/components/dropdown/DropdownButton.vue.d.ts +1612 -0
- package/dist/components/dropdown/DropdownGroup.vue.d.ts +21 -0
- package/dist/components/dropdown/DropdownOption.vue.d.ts +63 -0
- package/dist/components/dropdown/DropdownSubmenu.vue.d.ts +1234 -0
- package/dist/components/dropdown/context.d.ts +6 -0
- package/dist/components/dropdown/dropdown-panel.vue.d.ts +432 -0
- package/dist/components/dropdown/index.d.ts +7614 -0
- package/dist/components/dropdown/interface.d.ts +33 -0
- package/dist/components/dropdown/utils.d.ts +5 -0
- package/dist/components/empty/Empty.d.ts +44 -0
- package/dist/components/empty/index.d.ts +43 -0
- package/dist/components/image/Image.vue.d.ts +2179 -0
- package/dist/components/image/ImagePreview.vue.d.ts +1879 -0
- package/dist/components/image/ImagePreviewAction.d.ts +15 -15
- package/dist/components/image/ImagePreviewGroup.vue.d.ts +1975 -0
- package/dist/components/image/index.d.ts +14126 -0
- package/dist/components/image/interface.d.ts +8 -0
- package/dist/components/image/preview-toolbar.vue.d.ts +16 -22
- package/dist/components/index.d.ts +3 -1
- package/dist/components/input/Input.d.ts +14 -14
- package/dist/components/input/index.d.ts +35 -35
- package/dist/components/input/props.d.ts +2 -2
- package/dist/components/message/Message.d.ts +1 -1
- package/dist/components/message/MessageVue.vue.d.ts +1 -1
- package/dist/components/message/index.d.ts +5 -5
- package/dist/components/message-box/index.d.ts +2 -2
- package/dist/components/notification/index.d.ts +2 -2
- package/dist/components/popconfirm/index.d.ts +8 -8
- package/dist/components/popconfirm/src/Popconfirm.d.ts +2 -2
- package/dist/components/popconfirm/src/popup.vue.d.ts +18 -9
- package/dist/components/popup/Popup.d.ts +3 -3
- package/dist/components/popup/index.d.ts +11 -11
- package/dist/components/{scrollbar/src → scrollbar-v2}/Scrollbar.vue.d.ts +96 -28
- package/dist/components/{scrollbar → scrollbar-v2}/index.d.ts +94 -57
- package/dist/components/{scrollbar/src/types.d.ts → scrollbar-v2/interface.d.ts} +0 -2
- package/dist/components/scrollbar-v2/thumb.vue.d.ts +62 -0
- package/dist/components/space/index.d.ts +2 -2
- package/dist/components/tabs/index.d.ts +3 -3
- package/dist/components/tabs/tabs-nav.d.ts +1 -1
- package/dist/components/tabs/tabs-tab.vue.d.ts +1 -1
- package/dist/components/tag/index.d.ts +2 -2
- package/dist/components/timeline/index.d.ts +2 -2
- package/dist/components/timeline-item/index.d.ts +2 -2
- package/dist/components/tooltip/Tooltip.vue.d.ts +7 -7
- package/dist/components/tooltip/index.d.ts +17 -17
- package/dist/components/trend-chart/index.d.ts +2 -2
- package/dist/components/trigger/index.d.ts +6 -6
- package/dist/components/trigger/src/trigger.d.ts +2 -2
- package/dist/components/trigger-v2/index.d.ts +6 -6
- package/dist/components/trigger-v2/trigger.d.ts +2 -2
- package/dist/icons/_self/empty-better.d.ts +50 -0
- package/dist/icons/_self/empty.d.ts +50 -0
- package/dist/icons/_self/more-dot.d.ts +50 -0
- package/dist/index.es.js +3702 -2729
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +28 -21
- package/package.json +2 -2
- package/volar.d.ts +28 -21
- package/dist/components/scrollbar/src/constant.d.ts +0 -1
- package/dist/components/scrollbar/src/scrollbar.d.ts +0 -24
- package/dist/components/scrollbar/src/thumb.d.ts +0 -20
- package/dist/components/scrollbar/src/thumb.vue.d.ts +0 -47
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const
|
1
|
+
export declare const Scrollbar: {
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
3
3
|
type: {
|
4
4
|
type: import('vue').PropType<"track" | "embed">;
|
@@ -21,29 +21,28 @@ export declare const XScrollbar: {
|
|
21
21
|
default: boolean;
|
22
22
|
};
|
23
23
|
}>> & Readonly<{
|
24
|
-
onScroll?: ((
|
24
|
+
onScroll?: ((ev: Event) => any) | undefined;
|
25
25
|
}>, {
|
26
|
-
ns: string;
|
27
26
|
className: {
|
28
27
|
block: string;
|
29
28
|
element: (className: string) => string;
|
30
29
|
modifier: (className: string) => string;
|
31
30
|
is: (className: string) => string;
|
32
31
|
};
|
33
|
-
cls: import('vue').ComputedRef<(string |
|
34
|
-
style: import('vue').ComputedRef<
|
32
|
+
cls: import('vue').ComputedRef<(string | Record<string, any> | unknown[] | undefined)[]>;
|
33
|
+
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
35
34
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
36
35
|
horizontalThumbRef: import('vue').Ref<any, any>;
|
37
36
|
verticalThumbRef: import('vue').Ref<any, any>;
|
38
|
-
horizontalData: import('vue').Ref<import('./
|
39
|
-
verticalData: import('vue').Ref<import('./
|
37
|
+
horizontalData: import('vue').Ref<import('./interface').ThumbData | undefined, import('./interface').ThumbData | undefined>;
|
38
|
+
verticalData: import('vue').Ref<import('./interface').ThumbData | undefined, import('./interface').ThumbData | undefined>;
|
40
39
|
isBoth: import('vue').Ref<boolean, boolean>;
|
41
40
|
hasHorizontalScrollbar: import('vue').ComputedRef<boolean>;
|
42
41
|
hasVerticalScrollbar: import('vue').ComputedRef<boolean>;
|
42
|
+
handleResize: () => void;
|
43
43
|
handleScroll: (ev: Event) => void;
|
44
44
|
handleHorizontalScroll: (offset: number) => void;
|
45
45
|
handleVerticalScroll: (offset: number) => void;
|
46
|
-
handleResize: () => void;
|
47
46
|
}, {}, {}, {
|
48
47
|
scrollTo(options?: number | {
|
49
48
|
left?: number;
|
@@ -51,18 +50,31 @@ export declare const XScrollbar: {
|
|
51
50
|
}, y?: number): void;
|
52
51
|
scrollTop(top: number): void;
|
53
52
|
scrollLeft(left: number): void;
|
54
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin,
|
53
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
54
|
+
scroll: (ev: Event) => true;
|
55
|
+
}, import('vue').PublicProps, {
|
55
56
|
type: "embed" | "track";
|
56
57
|
hide: boolean;
|
57
58
|
disableHorizontal: boolean;
|
58
59
|
disableVertical: boolean;
|
59
60
|
}, true, {}, {}, {
|
61
|
+
ResizeObserver: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
62
|
+
watchOnUpdated: BooleanConstructor;
|
63
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
64
|
+
[key: string]: any;
|
65
|
+
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "resize"[], "resize", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
66
|
+
watchOnUpdated: BooleanConstructor;
|
67
|
+
}>> & Readonly<{
|
68
|
+
onResize?: ((...args: any[]) => any) | undefined;
|
69
|
+
}>, {
|
70
|
+
watchOnUpdated: boolean;
|
71
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
60
72
|
Thumb: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
61
73
|
data: {
|
62
|
-
type: import('vue').PropType<import('./
|
74
|
+
type: import('vue').PropType<import('./interface').ThumbData>;
|
63
75
|
};
|
64
76
|
direction: {
|
65
|
-
type: import('vue').PropType<import('
|
77
|
+
type: import('vue').PropType<import('../../_utils/constant').Direction>;
|
66
78
|
default: string;
|
67
79
|
};
|
68
80
|
alwaysShow: {
|
@@ -74,15 +86,30 @@ export declare const XScrollbar: {
|
|
74
86
|
default: boolean;
|
75
87
|
};
|
76
88
|
}>, {
|
89
|
+
visible: import('vue').Ref<boolean, boolean>;
|
90
|
+
trackRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
91
|
+
thumbRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
92
|
+
className: {
|
93
|
+
block: string;
|
94
|
+
element: (className: string) => string;
|
95
|
+
modifier: (className: string) => string;
|
96
|
+
is: (className: string) => string;
|
97
|
+
};
|
98
|
+
thumbCls: import('vue').ComputedRef<(string | {
|
99
|
+
[x: string]: boolean;
|
100
|
+
})[]>;
|
101
|
+
thumbStyle: import('vue').ComputedRef<{
|
102
|
+
[x: string]: string;
|
103
|
+
}>;
|
104
|
+
handleThumbMouseDown: (ev: MouseEvent) => void;
|
105
|
+
handleTrackClick: (ev: MouseEvent) => void;
|
77
106
|
setOffset: (_offset: number) => void;
|
78
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
79
|
-
scroll: (...args: any[]) => void;
|
80
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
107
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "scroll"[], "scroll", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
81
108
|
data: {
|
82
|
-
type: import('vue').PropType<import('./
|
109
|
+
type: import('vue').PropType<import('./interface').ThumbData>;
|
83
110
|
};
|
84
111
|
direction: {
|
85
|
-
type: import('vue').PropType<import('
|
112
|
+
type: import('vue').PropType<import('../../_utils/constant').Direction>;
|
86
113
|
default: string;
|
87
114
|
};
|
88
115
|
alwaysShow: {
|
@@ -99,15 +126,7 @@ export declare const XScrollbar: {
|
|
99
126
|
direction: "horizontal" | "vertical";
|
100
127
|
both: boolean;
|
101
128
|
alwaysShow: boolean;
|
102
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
103
|
-
trackRef: HTMLDivElement;
|
104
|
-
thumbRef: HTMLDivElement;
|
105
|
-
}, HTMLDivElement>;
|
106
|
-
ResizeObserver: import('vue').DefineComponent<{}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
107
|
-
[key: string]: any;
|
108
|
-
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "resize"[], "resize", import('vue').PublicProps, Readonly<{}> & Readonly<{
|
109
|
-
onResize?: ((...args: any[]) => any) | undefined;
|
110
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
129
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
111
130
|
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
112
131
|
P: {};
|
113
132
|
B: {};
|
@@ -137,29 +156,28 @@ export declare const XScrollbar: {
|
|
137
156
|
default: boolean;
|
138
157
|
};
|
139
158
|
}>> & Readonly<{
|
140
|
-
onScroll?: ((
|
159
|
+
onScroll?: ((ev: Event) => any) | undefined;
|
141
160
|
}>, {
|
142
|
-
ns: string;
|
143
161
|
className: {
|
144
162
|
block: string;
|
145
163
|
element: (className: string) => string;
|
146
164
|
modifier: (className: string) => string;
|
147
165
|
is: (className: string) => string;
|
148
166
|
};
|
149
|
-
cls: import('vue').ComputedRef<(string |
|
150
|
-
style: import('vue').ComputedRef<
|
167
|
+
cls: import('vue').ComputedRef<(string | Record<string, any> | unknown[] | undefined)[]>;
|
168
|
+
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
151
169
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
152
170
|
horizontalThumbRef: import('vue').Ref<any, any>;
|
153
171
|
verticalThumbRef: import('vue').Ref<any, any>;
|
154
|
-
horizontalData: import('vue').Ref<import('./
|
155
|
-
verticalData: import('vue').Ref<import('./
|
172
|
+
horizontalData: import('vue').Ref<import('./interface').ThumbData | undefined, import('./interface').ThumbData | undefined>;
|
173
|
+
verticalData: import('vue').Ref<import('./interface').ThumbData | undefined, import('./interface').ThumbData | undefined>;
|
156
174
|
isBoth: import('vue').Ref<boolean, boolean>;
|
157
175
|
hasHorizontalScrollbar: import('vue').ComputedRef<boolean>;
|
158
176
|
hasVerticalScrollbar: import('vue').ComputedRef<boolean>;
|
177
|
+
handleResize: () => void;
|
159
178
|
handleScroll: (ev: Event) => void;
|
160
179
|
handleHorizontalScroll: (offset: number) => void;
|
161
180
|
handleVerticalScroll: (offset: number) => void;
|
162
|
-
handleResize: () => void;
|
163
181
|
}, {}, {}, {
|
164
182
|
scrollTo(options?: number | {
|
165
183
|
left?: number;
|
@@ -198,29 +216,28 @@ export declare const XScrollbar: {
|
|
198
216
|
default: boolean;
|
199
217
|
};
|
200
218
|
}>> & Readonly<{
|
201
|
-
onScroll?: ((
|
219
|
+
onScroll?: ((ev: Event) => any) | undefined;
|
202
220
|
}>, {
|
203
|
-
ns: string;
|
204
221
|
className: {
|
205
222
|
block: string;
|
206
223
|
element: (className: string) => string;
|
207
224
|
modifier: (className: string) => string;
|
208
225
|
is: (className: string) => string;
|
209
226
|
};
|
210
|
-
cls: import('vue').ComputedRef<(string |
|
211
|
-
style: import('vue').ComputedRef<
|
227
|
+
cls: import('vue').ComputedRef<(string | Record<string, any> | unknown[] | undefined)[]>;
|
228
|
+
style: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
212
229
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
213
230
|
horizontalThumbRef: import('vue').Ref<any, any>;
|
214
231
|
verticalThumbRef: import('vue').Ref<any, any>;
|
215
|
-
horizontalData: import('vue').Ref<import('./
|
216
|
-
verticalData: import('vue').Ref<import('./
|
232
|
+
horizontalData: import('vue').Ref<import('./interface').ThumbData | undefined, import('./interface').ThumbData | undefined>;
|
233
|
+
verticalData: import('vue').Ref<import('./interface').ThumbData | undefined, import('./interface').ThumbData | undefined>;
|
217
234
|
isBoth: import('vue').Ref<boolean, boolean>;
|
218
235
|
hasHorizontalScrollbar: import('vue').ComputedRef<boolean>;
|
219
236
|
hasVerticalScrollbar: import('vue').ComputedRef<boolean>;
|
237
|
+
handleResize: () => void;
|
220
238
|
handleScroll: (ev: Event) => void;
|
221
239
|
handleHorizontalScroll: (offset: number) => void;
|
222
240
|
handleVerticalScroll: (offset: number) => void;
|
223
|
-
handleResize: () => void;
|
224
241
|
}, {}, {}, {
|
225
242
|
scrollTo(options?: number | {
|
226
243
|
left?: number;
|
@@ -228,18 +245,31 @@ export declare const XScrollbar: {
|
|
228
245
|
}, y?: number): void;
|
229
246
|
scrollTop(top: number): void;
|
230
247
|
scrollLeft(left: number): void;
|
231
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin,
|
248
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
249
|
+
scroll: (ev: Event) => true;
|
250
|
+
}, string, {
|
232
251
|
type: "embed" | "track";
|
233
252
|
hide: boolean;
|
234
253
|
disableHorizontal: boolean;
|
235
254
|
disableVertical: boolean;
|
236
255
|
}, {}, string, {}, {
|
256
|
+
ResizeObserver: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
257
|
+
watchOnUpdated: BooleanConstructor;
|
258
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
259
|
+
[key: string]: any;
|
260
|
+
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "resize"[], "resize", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
261
|
+
watchOnUpdated: BooleanConstructor;
|
262
|
+
}>> & Readonly<{
|
263
|
+
onResize?: ((...args: any[]) => any) | undefined;
|
264
|
+
}>, {
|
265
|
+
watchOnUpdated: boolean;
|
266
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
237
267
|
Thumb: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
238
268
|
data: {
|
239
|
-
type: import('vue').PropType<import('./
|
269
|
+
type: import('vue').PropType<import('./interface').ThumbData>;
|
240
270
|
};
|
241
271
|
direction: {
|
242
|
-
type: import('vue').PropType<import('
|
272
|
+
type: import('vue').PropType<import('../../_utils/constant').Direction>;
|
243
273
|
default: string;
|
244
274
|
};
|
245
275
|
alwaysShow: {
|
@@ -251,15 +281,30 @@ export declare const XScrollbar: {
|
|
251
281
|
default: boolean;
|
252
282
|
};
|
253
283
|
}>, {
|
284
|
+
visible: import('vue').Ref<boolean, boolean>;
|
285
|
+
trackRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
286
|
+
thumbRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
287
|
+
className: {
|
288
|
+
block: string;
|
289
|
+
element: (className: string) => string;
|
290
|
+
modifier: (className: string) => string;
|
291
|
+
is: (className: string) => string;
|
292
|
+
};
|
293
|
+
thumbCls: import('vue').ComputedRef<(string | {
|
294
|
+
[x: string]: boolean;
|
295
|
+
})[]>;
|
296
|
+
thumbStyle: import('vue').ComputedRef<{
|
297
|
+
[x: string]: string;
|
298
|
+
}>;
|
299
|
+
handleThumbMouseDown: (ev: MouseEvent) => void;
|
300
|
+
handleTrackClick: (ev: MouseEvent) => void;
|
254
301
|
setOffset: (_offset: number) => void;
|
255
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
256
|
-
scroll: (...args: any[]) => void;
|
257
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
302
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "scroll"[], "scroll", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
258
303
|
data: {
|
259
|
-
type: import('vue').PropType<import('./
|
304
|
+
type: import('vue').PropType<import('./interface').ThumbData>;
|
260
305
|
};
|
261
306
|
direction: {
|
262
|
-
type: import('vue').PropType<import('
|
307
|
+
type: import('vue').PropType<import('../../_utils/constant').Direction>;
|
263
308
|
default: string;
|
264
309
|
};
|
265
310
|
alwaysShow: {
|
@@ -276,16 +321,8 @@ export declare const XScrollbar: {
|
|
276
321
|
direction: "horizontal" | "vertical";
|
277
322
|
both: boolean;
|
278
323
|
alwaysShow: boolean;
|
279
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
280
|
-
trackRef: HTMLDivElement;
|
281
|
-
thumbRef: HTMLDivElement;
|
282
|
-
}, HTMLDivElement>;
|
283
|
-
ResizeObserver: import('vue').DefineComponent<{}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
284
|
-
[key: string]: any;
|
285
|
-
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "resize"[], "resize", import('vue').PublicProps, Readonly<{}> & Readonly<{
|
286
|
-
onResize?: ((...args: any[]) => any) | undefined;
|
287
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
324
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
288
325
|
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
289
326
|
install(app: import('vue').App): void;
|
290
327
|
};
|
291
|
-
export {
|
328
|
+
export { Scrollbar as default };
|
@@ -0,0 +1,62 @@
|
|
1
|
+
import { PropType } from 'vue';
|
2
|
+
import { ThumbData } from './interface';
|
3
|
+
import { Direction } from '../../_utils/constant';
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
5
|
+
data: {
|
6
|
+
type: PropType<ThumbData>;
|
7
|
+
};
|
8
|
+
direction: {
|
9
|
+
type: PropType<Direction>;
|
10
|
+
default: string;
|
11
|
+
};
|
12
|
+
alwaysShow: {
|
13
|
+
type: BooleanConstructor;
|
14
|
+
default: boolean;
|
15
|
+
};
|
16
|
+
both: {
|
17
|
+
type: BooleanConstructor;
|
18
|
+
default: boolean;
|
19
|
+
};
|
20
|
+
}>, {
|
21
|
+
visible: import('vue').Ref<boolean, boolean>;
|
22
|
+
trackRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
23
|
+
thumbRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
24
|
+
className: {
|
25
|
+
block: string;
|
26
|
+
element: (className: string) => string;
|
27
|
+
modifier: (className: string) => string;
|
28
|
+
is: (className: string) => string;
|
29
|
+
};
|
30
|
+
thumbCls: import('vue').ComputedRef<(string | {
|
31
|
+
[x: string]: boolean;
|
32
|
+
})[]>;
|
33
|
+
thumbStyle: import('vue').ComputedRef<{
|
34
|
+
[x: string]: string;
|
35
|
+
}>;
|
36
|
+
handleThumbMouseDown: (ev: MouseEvent) => void;
|
37
|
+
handleTrackClick: (ev: MouseEvent) => void;
|
38
|
+
setOffset: (_offset: number) => void;
|
39
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "scroll"[], "scroll", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
40
|
+
data: {
|
41
|
+
type: PropType<ThumbData>;
|
42
|
+
};
|
43
|
+
direction: {
|
44
|
+
type: PropType<Direction>;
|
45
|
+
default: string;
|
46
|
+
};
|
47
|
+
alwaysShow: {
|
48
|
+
type: BooleanConstructor;
|
49
|
+
default: boolean;
|
50
|
+
};
|
51
|
+
both: {
|
52
|
+
type: BooleanConstructor;
|
53
|
+
default: boolean;
|
54
|
+
};
|
55
|
+
}>> & Readonly<{
|
56
|
+
onScroll?: ((...args: any[]) => any) | undefined;
|
57
|
+
}>, {
|
58
|
+
direction: "horizontal" | "vertical";
|
59
|
+
both: boolean;
|
60
|
+
alwaysShow: boolean;
|
61
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
62
|
+
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const
|
1
|
+
export declare const Space: {
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
3
3
|
direction: {
|
4
4
|
type: import('vue').PropType<"horizontal" | "vertical">;
|
@@ -79,4 +79,4 @@ export declare const XSpace: {
|
|
79
79
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
80
80
|
install(app: import('vue').App): void;
|
81
81
|
};
|
82
|
-
export {
|
82
|
+
export { Space as default };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const
|
1
|
+
export declare const Tabs: {
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
3
3
|
activeKey: {
|
4
4
|
type: (NumberConstructor | StringConstructor)[];
|
@@ -298,7 +298,7 @@ export declare const XTabs: {
|
|
298
298
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
299
299
|
install(app: import('vue').App): void;
|
300
300
|
};
|
301
|
-
export declare const
|
301
|
+
export declare const TabPane: {
|
302
302
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
303
303
|
title: StringConstructor;
|
304
304
|
disabled: {
|
@@ -397,4 +397,4 @@ export declare const XTabPane: {
|
|
397
397
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
398
398
|
install(app: import('vue').App): void;
|
399
399
|
};
|
400
|
-
export {
|
400
|
+
export { Tabs as default };
|
@@ -49,7 +49,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
49
49
|
type: PropType<ScrollPosition>;
|
50
50
|
default: string;
|
51
51
|
};
|
52
|
-
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("
|
52
|
+
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("click" | "delete" | "add")[], "click" | "delete" | "add", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
53
53
|
tabs: {
|
54
54
|
type: PropType<TabData[]>;
|
55
55
|
required: true;
|
@@ -27,7 +27,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
27
27
|
onKeydown: (ev: KeyboardEvent) => void;
|
28
28
|
}>;
|
29
29
|
handleDelete: (e: Event) => void;
|
30
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("
|
30
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("click" | "delete")[], "click" | "delete", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
31
31
|
tab: {
|
32
32
|
type: PropType<TabData>;
|
33
33
|
required: true;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const
|
1
|
+
export declare const Tag: {
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
3
3
|
color: {
|
4
4
|
type: import('vue').PropType<import('./interface').TagColor | string>;
|
@@ -516,4 +516,4 @@ export declare const XTag: {
|
|
516
516
|
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
517
517
|
install(app: import('vue').App): void;
|
518
518
|
};
|
519
|
-
export {
|
519
|
+
export { Tag as default };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const
|
1
|
+
export declare const Timeline: {
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
3
3
|
reverse: {
|
4
4
|
type: BooleanConstructor;
|
@@ -55,4 +55,4 @@ export declare const XTimeline: {
|
|
55
55
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
56
56
|
install(app: import('vue').App): void;
|
57
57
|
};
|
58
|
-
export {
|
58
|
+
export { Timeline as default };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const
|
1
|
+
export declare const TimelineItem: {
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
3
3
|
dotColor: {
|
4
4
|
type: import('vue').PropType<import('../timeline/src/types').CSSColor>;
|
@@ -31,4 +31,4 @@ export declare const XTimelineItem: {
|
|
31
31
|
}>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "close"[], "close", {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
32
32
|
install(app: import('vue').App): void;
|
33
33
|
};
|
34
|
-
export {
|
34
|
+
export { TimelineItem as default };
|
@@ -191,7 +191,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
191
191
|
onPopupVisibleChange?: ((visible: boolean) => any) | undefined;
|
192
192
|
}>, {
|
193
193
|
mini: boolean;
|
194
|
-
position: "br" | "rt" | "tr" | "
|
194
|
+
position: "br" | "rt" | "tr" | "top" | "tl" | "bottom" | "bl" | "left" | "lt" | "lb" | "right" | "rb";
|
195
195
|
popupVisible: boolean;
|
196
196
|
defaultPopupVisible: boolean;
|
197
197
|
}, {}, {
|
@@ -354,11 +354,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
354
354
|
}, import('vue').PublicProps, {
|
355
355
|
disabled: boolean;
|
356
356
|
animationName: string;
|
357
|
-
position: "br" | "rt" | "tr" | "
|
357
|
+
position: "br" | "rt" | "tr" | "top" | "tl" | "bottom" | "bl" | "left" | "lt" | "lb" | "right" | "rb";
|
358
358
|
autoFitPosition: boolean;
|
359
359
|
popupVisible: boolean;
|
360
360
|
defaultPopupVisible: boolean;
|
361
|
-
trigger: "click" | "
|
361
|
+
trigger: "click" | "hover" | "focus" | "contextMenu" | ("click" | "hover" | "focus" | "contextMenu")[];
|
362
362
|
popupOffset: number;
|
363
363
|
showArrow: boolean;
|
364
364
|
alignPoint: boolean;
|
@@ -539,11 +539,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
539
539
|
}>, () => any, {}, {}, {}, {
|
540
540
|
disabled: boolean;
|
541
541
|
animationName: string;
|
542
|
-
position: "br" | "rt" | "tr" | "
|
542
|
+
position: "br" | "rt" | "tr" | "top" | "tl" | "bottom" | "bl" | "left" | "lt" | "lb" | "right" | "rb";
|
543
543
|
autoFitPosition: boolean;
|
544
544
|
popupVisible: boolean;
|
545
545
|
defaultPopupVisible: boolean;
|
546
|
-
trigger: "click" | "
|
546
|
+
trigger: "click" | "hover" | "focus" | "contextMenu" | ("click" | "hover" | "focus" | "contextMenu")[];
|
547
547
|
popupOffset: number;
|
548
548
|
showArrow: boolean;
|
549
549
|
alignPoint: boolean;
|
@@ -727,11 +727,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
727
727
|
}, string, {
|
728
728
|
disabled: boolean;
|
729
729
|
animationName: string;
|
730
|
-
position: "br" | "rt" | "tr" | "
|
730
|
+
position: "br" | "rt" | "tr" | "top" | "tl" | "bottom" | "bl" | "left" | "lt" | "lb" | "right" | "rb";
|
731
731
|
autoFitPosition: boolean;
|
732
732
|
popupVisible: boolean;
|
733
733
|
defaultPopupVisible: boolean;
|
734
|
-
trigger: "click" | "
|
734
|
+
trigger: "click" | "hover" | "focus" | "contextMenu" | ("click" | "hover" | "focus" | "contextMenu")[];
|
735
735
|
popupOffset: number;
|
736
736
|
showArrow: boolean;
|
737
737
|
alignPoint: boolean;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const
|
1
|
+
export declare const Tooltip: {
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
3
3
|
popupVisible: {
|
4
4
|
type: BooleanConstructor;
|
@@ -56,7 +56,7 @@ export declare const XTooltip: {
|
|
56
56
|
popupVisibleChange: (visible: boolean) => true;
|
57
57
|
}, import('vue').PublicProps, {
|
58
58
|
mini: boolean;
|
59
|
-
position: "br" | "rt" | "tr" | "
|
59
|
+
position: "br" | "rt" | "tr" | "top" | "tl" | "bottom" | "bl" | "left" | "lt" | "lb" | "right" | "rb";
|
60
60
|
popupVisible: boolean;
|
61
61
|
defaultPopupVisible: boolean;
|
62
62
|
}, true, {}, {}, {
|
@@ -219,11 +219,11 @@ export declare const XTooltip: {
|
|
219
219
|
}, import('vue').PublicProps, {
|
220
220
|
disabled: boolean;
|
221
221
|
animationName: string;
|
222
|
-
position: "br" | "rt" | "tr" | "
|
222
|
+
position: "br" | "rt" | "tr" | "top" | "tl" | "bottom" | "bl" | "left" | "lt" | "lb" | "right" | "rb";
|
223
223
|
autoFitPosition: boolean;
|
224
224
|
popupVisible: boolean;
|
225
225
|
defaultPopupVisible: boolean;
|
226
|
-
trigger: "click" | "
|
226
|
+
trigger: "click" | "hover" | "focus" | "contextMenu" | ("click" | "hover" | "focus" | "contextMenu")[];
|
227
227
|
popupOffset: number;
|
228
228
|
showArrow: boolean;
|
229
229
|
alignPoint: boolean;
|
@@ -404,11 +404,11 @@ export declare const XTooltip: {
|
|
404
404
|
}>, () => any, {}, {}, {}, {
|
405
405
|
disabled: boolean;
|
406
406
|
animationName: string;
|
407
|
-
position: "br" | "rt" | "tr" | "
|
407
|
+
position: "br" | "rt" | "tr" | "top" | "tl" | "bottom" | "bl" | "left" | "lt" | "lb" | "right" | "rb";
|
408
408
|
autoFitPosition: boolean;
|
409
409
|
popupVisible: boolean;
|
410
410
|
defaultPopupVisible: boolean;
|
411
|
-
trigger: "click" | "
|
411
|
+
trigger: "click" | "hover" | "focus" | "contextMenu" | ("click" | "hover" | "focus" | "contextMenu")[];
|
412
412
|
popupOffset: number;
|
413
413
|
showArrow: boolean;
|
414
414
|
alignPoint: boolean;
|
@@ -592,11 +592,11 @@ export declare const XTooltip: {
|
|
592
592
|
}, string, {
|
593
593
|
disabled: boolean;
|
594
594
|
animationName: string;
|
595
|
-
position: "br" | "rt" | "tr" | "
|
595
|
+
position: "br" | "rt" | "tr" | "top" | "tl" | "bottom" | "bl" | "left" | "lt" | "lb" | "right" | "rb";
|
596
596
|
autoFitPosition: boolean;
|
597
597
|
popupVisible: boolean;
|
598
598
|
defaultPopupVisible: boolean;
|
599
|
-
trigger: "click" | "
|
599
|
+
trigger: "click" | "hover" | "focus" | "contextMenu" | ("click" | "hover" | "focus" | "contextMenu")[];
|
600
600
|
popupOffset: number;
|
601
601
|
showArrow: boolean;
|
602
602
|
alignPoint: boolean;
|
@@ -682,7 +682,7 @@ export declare const XTooltip: {
|
|
682
682
|
handlePopupVisibleChange: (visible: boolean) => void;
|
683
683
|
}, {}, {}, {}, {
|
684
684
|
mini: boolean;
|
685
|
-
position: "br" | "rt" | "tr" | "
|
685
|
+
position: "br" | "rt" | "tr" | "top" | "tl" | "bottom" | "bl" | "left" | "lt" | "lb" | "right" | "rb";
|
686
686
|
popupVisible: boolean;
|
687
687
|
defaultPopupVisible: boolean;
|
688
688
|
}>;
|
@@ -746,7 +746,7 @@ export declare const XTooltip: {
|
|
746
746
|
popupVisibleChange: (visible: boolean) => true;
|
747
747
|
}, string, {
|
748
748
|
mini: boolean;
|
749
|
-
position: "br" | "rt" | "tr" | "
|
749
|
+
position: "br" | "rt" | "tr" | "top" | "tl" | "bottom" | "bl" | "left" | "lt" | "lb" | "right" | "rb";
|
750
750
|
popupVisible: boolean;
|
751
751
|
defaultPopupVisible: boolean;
|
752
752
|
}, {}, string, {}, {
|
@@ -909,11 +909,11 @@ export declare const XTooltip: {
|
|
909
909
|
}, import('vue').PublicProps, {
|
910
910
|
disabled: boolean;
|
911
911
|
animationName: string;
|
912
|
-
position: "br" | "rt" | "tr" | "
|
912
|
+
position: "br" | "rt" | "tr" | "top" | "tl" | "bottom" | "bl" | "left" | "lt" | "lb" | "right" | "rb";
|
913
913
|
autoFitPosition: boolean;
|
914
914
|
popupVisible: boolean;
|
915
915
|
defaultPopupVisible: boolean;
|
916
|
-
trigger: "click" | "
|
916
|
+
trigger: "click" | "hover" | "focus" | "contextMenu" | ("click" | "hover" | "focus" | "contextMenu")[];
|
917
917
|
popupOffset: number;
|
918
918
|
showArrow: boolean;
|
919
919
|
alignPoint: boolean;
|
@@ -1094,11 +1094,11 @@ export declare const XTooltip: {
|
|
1094
1094
|
}>, () => any, {}, {}, {}, {
|
1095
1095
|
disabled: boolean;
|
1096
1096
|
animationName: string;
|
1097
|
-
position: "br" | "rt" | "tr" | "
|
1097
|
+
position: "br" | "rt" | "tr" | "top" | "tl" | "bottom" | "bl" | "left" | "lt" | "lb" | "right" | "rb";
|
1098
1098
|
autoFitPosition: boolean;
|
1099
1099
|
popupVisible: boolean;
|
1100
1100
|
defaultPopupVisible: boolean;
|
1101
|
-
trigger: "click" | "
|
1101
|
+
trigger: "click" | "hover" | "focus" | "contextMenu" | ("click" | "hover" | "focus" | "contextMenu")[];
|
1102
1102
|
popupOffset: number;
|
1103
1103
|
showArrow: boolean;
|
1104
1104
|
alignPoint: boolean;
|
@@ -1282,11 +1282,11 @@ export declare const XTooltip: {
|
|
1282
1282
|
}, string, {
|
1283
1283
|
disabled: boolean;
|
1284
1284
|
animationName: string;
|
1285
|
-
position: "br" | "rt" | "tr" | "
|
1285
|
+
position: "br" | "rt" | "tr" | "top" | "tl" | "bottom" | "bl" | "left" | "lt" | "lb" | "right" | "rb";
|
1286
1286
|
autoFitPosition: boolean;
|
1287
1287
|
popupVisible: boolean;
|
1288
1288
|
defaultPopupVisible: boolean;
|
1289
|
-
trigger: "click" | "
|
1289
|
+
trigger: "click" | "hover" | "focus" | "contextMenu" | ("click" | "hover" | "focus" | "contextMenu")[];
|
1290
1290
|
popupOffset: number;
|
1291
1291
|
showArrow: boolean;
|
1292
1292
|
alignPoint: boolean;
|
@@ -1314,4 +1314,4 @@ export declare const XTooltip: {
|
|
1314
1314
|
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
1315
1315
|
install(app: import('vue').App): void;
|
1316
1316
|
};
|
1317
|
-
export {
|
1317
|
+
export { Tooltip as default };
|