UNPKG

2.93 kBTypeScriptView Raw
1import { type ExtractPropTypes } from 'vue';
2import { RollingTextDirection, RollingTextStopOrder } from './types';
3export declare const rollingTextProps: {
4 startNum: {
5 type: NumberConstructor;
6 default: number;
7 };
8 targetNum: NumberConstructor;
9 textList: {
10 type: import("vue").PropType<string[]>;
11 default: () => never[];
12 };
13 duration: {
14 type: NumberConstructor;
15 default: number;
16 };
17 autoStart: {
18 type: BooleanConstructor;
19 default: true;
20 };
21 direction: {
22 type: import("vue").PropType<RollingTextDirection>;
23 default: RollingTextDirection;
24 };
25 stopOrder: {
26 type: import("vue").PropType<RollingTextStopOrder>;
27 default: RollingTextStopOrder;
28 };
29 height: {
30 type: NumberConstructor;
31 default: number;
32 };
33};
34export type RollingTextProps = ExtractPropTypes<typeof rollingTextProps>;
35declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
36 startNum: {
37 type: NumberConstructor;
38 default: number;
39 };
40 targetNum: NumberConstructor;
41 textList: {
42 type: import("vue").PropType<string[]>;
43 default: () => never[];
44 };
45 duration: {
46 type: NumberConstructor;
47 default: number;
48 };
49 autoStart: {
50 type: BooleanConstructor;
51 default: true;
52 };
53 direction: {
54 type: import("vue").PropType<RollingTextDirection>;
55 default: RollingTextDirection;
56 };
57 stopOrder: {
58 type: import("vue").PropType<RollingTextStopOrder>;
59 default: RollingTextStopOrder;
60 };
61 height: {
62 type: NumberConstructor;
63 default: number;
64 };
65}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
66 startNum: {
67 type: NumberConstructor;
68 default: number;
69 };
70 targetNum: NumberConstructor;
71 textList: {
72 type: import("vue").PropType<string[]>;
73 default: () => never[];
74 };
75 duration: {
76 type: NumberConstructor;
77 default: number;
78 };
79 autoStart: {
80 type: BooleanConstructor;
81 default: true;
82 };
83 direction: {
84 type: import("vue").PropType<RollingTextDirection>;
85 default: RollingTextDirection;
86 };
87 stopOrder: {
88 type: import("vue").PropType<RollingTextStopOrder>;
89 default: RollingTextStopOrder;
90 };
91 height: {
92 type: NumberConstructor;
93 default: number;
94 };
95}>> & Readonly<{}>, {
96 height: number;
97 duration: number;
98 direction: RollingTextDirection;
99 autoStart: boolean;
100 startNum: number;
101 textList: string[];
102 stopOrder: RollingTextStopOrder;
103}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
104export default _default;