UNPKG

2.98 kBTypeScriptView Raw
1export declare const Circle: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 text: StringConstructor;
3 size: (NumberConstructor | StringConstructor)[];
4 fill: {
5 type: import("vue").PropType<string>;
6 default: string;
7 };
8 rate: {
9 type: (NumberConstructor | StringConstructor)[];
10 default: number;
11 };
12 speed: {
13 type: (NumberConstructor | StringConstructor)[];
14 default: number;
15 };
16 color: import("vue").PropType<string | Record<string, string>>;
17 clockwise: {
18 type: BooleanConstructor;
19 default: true;
20 };
21 layerColor: StringConstructor;
22 currentRate: {
23 type: NumberConstructor;
24 default: number;
25 };
26 strokeWidth: {
27 type: (NumberConstructor | StringConstructor)[];
28 default: number;
29 };
30 strokeLinecap: import("vue").PropType<CanvasLineCap>;
31 startPosition: {
32 type: import("vue").PropType<import("./Circle").CircleStartPosition>;
33 default: import("./Circle").CircleStartPosition;
34 };
35}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:currentRate"[], "update:currentRate", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36 text: StringConstructor;
37 size: (NumberConstructor | StringConstructor)[];
38 fill: {
39 type: import("vue").PropType<string>;
40 default: string;
41 };
42 rate: {
43 type: (NumberConstructor | StringConstructor)[];
44 default: number;
45 };
46 speed: {
47 type: (NumberConstructor | StringConstructor)[];
48 default: number;
49 };
50 color: import("vue").PropType<string | Record<string, string>>;
51 clockwise: {
52 type: BooleanConstructor;
53 default: true;
54 };
55 layerColor: StringConstructor;
56 currentRate: {
57 type: NumberConstructor;
58 default: number;
59 };
60 strokeWidth: {
61 type: (NumberConstructor | StringConstructor)[];
62 default: number;
63 };
64 strokeLinecap: import("vue").PropType<CanvasLineCap>;
65 startPosition: {
66 type: import("vue").PropType<import("./Circle").CircleStartPosition>;
67 default: import("./Circle").CircleStartPosition;
68 };
69}>> & Readonly<{
70 "onUpdate:currentRate"?: ((...args: any[]) => any) | undefined;
71}>, {
72 fill: string;
73 strokeWidth: string | number;
74 rate: string | number;
75 speed: string | number;
76 clockwise: boolean;
77 currentRate: number;
78 startPosition: import("./Circle").CircleStartPosition;
79}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
80export default Circle;
81export { circleProps } from './Circle';
82export type { CircleProps, CircleStartPosition } from './Circle';
83export type { CircleThemeVars } from './types';
84declare module 'vue' {
85 interface GlobalComponents {
86 VanCircle: typeof Circle;
87 }
88}
89
\No newline at end of file