UNPKG

2.13 kBTypeScriptView Raw
1export declare const TextEllipsis: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 rows: {
3 type: (NumberConstructor | StringConstructor)[];
4 default: number;
5 };
6 dots: {
7 type: import("vue").PropType<string>;
8 default: string;
9 };
10 content: {
11 type: import("vue").PropType<string>;
12 default: string;
13 };
14 expandText: {
15 type: import("vue").PropType<string>;
16 default: string;
17 };
18 collapseText: {
19 type: import("vue").PropType<string>;
20 default: string;
21 };
22 position: {
23 type: import("vue").PropType<string>;
24 default: string;
25 };
26}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clickAction"[], "clickAction", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
27 rows: {
28 type: (NumberConstructor | StringConstructor)[];
29 default: number;
30 };
31 dots: {
32 type: import("vue").PropType<string>;
33 default: string;
34 };
35 content: {
36 type: import("vue").PropType<string>;
37 default: string;
38 };
39 expandText: {
40 type: import("vue").PropType<string>;
41 default: string;
42 };
43 collapseText: {
44 type: import("vue").PropType<string>;
45 default: string;
46 };
47 position: {
48 type: import("vue").PropType<string>;
49 default: string;
50 };
51}>> & Readonly<{
52 onClickAction?: ((...args: any[]) => any) | undefined;
53}>, {
54 content: string;
55 position: string;
56 rows: string | number;
57 dots: string;
58 expandText: string;
59 collapseText: string;
60}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
61export default TextEllipsis;
62export { textEllipsisProps } from './TextEllipsis';
63export type { TextEllipsisProps } from './TextEllipsis';
64export type { TextEllipsisInstance, TextEllipsisThemeVars } from './types';
65declare module 'vue' {
66 interface GlobalComponents {
67 VanTextEllipsis: typeof TextEllipsis;
68 }
69}
70
\No newline at end of file