UNPKG

3.57 kBTypeScriptView Raw
1import { type PropType, type ExtractPropTypes } from 'vue';
2export type CircleStartPosition = 'top' | 'right' | 'bottom' | 'left';
3export declare const circleProps: {
4 text: StringConstructor;
5 size: (NumberConstructor | StringConstructor)[];
6 fill: {
7 type: PropType<string>;
8 default: string;
9 };
10 rate: {
11 type: (NumberConstructor | StringConstructor)[];
12 default: number;
13 };
14 speed: {
15 type: (NumberConstructor | StringConstructor)[];
16 default: number;
17 };
18 color: PropType<string | Record<string, string>>;
19 clockwise: {
20 type: BooleanConstructor;
21 default: true;
22 };
23 layerColor: StringConstructor;
24 currentRate: {
25 type: NumberConstructor;
26 default: number;
27 };
28 strokeWidth: {
29 type: (NumberConstructor | StringConstructor)[];
30 default: number;
31 };
32 strokeLinecap: PropType<CanvasLineCap>;
33 startPosition: {
34 type: PropType<CircleStartPosition>;
35 default: CircleStartPosition;
36 };
37};
38export type CircleProps = ExtractPropTypes<typeof circleProps>;
39declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
40 text: StringConstructor;
41 size: (NumberConstructor | StringConstructor)[];
42 fill: {
43 type: PropType<string>;
44 default: string;
45 };
46 rate: {
47 type: (NumberConstructor | StringConstructor)[];
48 default: number;
49 };
50 speed: {
51 type: (NumberConstructor | StringConstructor)[];
52 default: number;
53 };
54 color: PropType<string | Record<string, string>>;
55 clockwise: {
56 type: BooleanConstructor;
57 default: true;
58 };
59 layerColor: StringConstructor;
60 currentRate: {
61 type: NumberConstructor;
62 default: number;
63 };
64 strokeWidth: {
65 type: (NumberConstructor | StringConstructor)[];
66 default: number;
67 };
68 strokeLinecap: PropType<CanvasLineCap>;
69 startPosition: {
70 type: PropType<CircleStartPosition>;
71 default: CircleStartPosition;
72 };
73}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:currentRate"[], "update:currentRate", import("vue").PublicProps, Readonly<ExtractPropTypes<{
74 text: StringConstructor;
75 size: (NumberConstructor | StringConstructor)[];
76 fill: {
77 type: PropType<string>;
78 default: string;
79 };
80 rate: {
81 type: (NumberConstructor | StringConstructor)[];
82 default: number;
83 };
84 speed: {
85 type: (NumberConstructor | StringConstructor)[];
86 default: number;
87 };
88 color: PropType<string | Record<string, string>>;
89 clockwise: {
90 type: BooleanConstructor;
91 default: true;
92 };
93 layerColor: StringConstructor;
94 currentRate: {
95 type: NumberConstructor;
96 default: number;
97 };
98 strokeWidth: {
99 type: (NumberConstructor | StringConstructor)[];
100 default: number;
101 };
102 strokeLinecap: PropType<CanvasLineCap>;
103 startPosition: {
104 type: PropType<CircleStartPosition>;
105 default: CircleStartPosition;
106 };
107}>> & Readonly<{
108 "onUpdate:currentRate"?: ((...args: any[]) => any) | undefined;
109}>, {
110 fill: string;
111 strokeWidth: string | number;
112 rate: string | number;
113 speed: string | number;
114 clockwise: boolean;
115 currentRate: number;
116 startPosition: CircleStartPosition;
117}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
118export default _default;
119
\No newline at end of file