hzdracom-datav-vue3
Version:
Datav for vue3+vite
220 lines (219 loc) • 8.95 kB
TypeScript
export default _sfc_main;
declare namespace _sfc_main {
namespace props {
namespace config {
export const type: ObjectConstructor;
function _default(): {};
export { _default as default };
}
namespace dev {
const type_1: BooleanConstructor;
export { type_1 as type };
const _default_1: boolean;
export { _default_1 as default };
}
}
function setup(__props: any, { expose }: {
expose: any;
}): {
props: any;
id: string;
flylineChart: import("vue").Ref<null>;
width: import("vue").Ref<number>;
height: import("vue").Ref<number>;
state: {
unique: number;
maskId: string;
maskCircleId: string;
gradientId: string;
gradient2Id: string;
defaultConfig: {
centerPoint: number[];
points: number[][];
lineWidth: number;
orbitColor: string;
flylineColor: string;
k: number;
curvature: number;
flylineRadius: number;
duration: number[];
relative: boolean;
bgImgUrl: string;
text: {
constructor: Function;
toString: () => string;
toLocaleString: () => string;
valueOf: () => Object;
hasOwnProperty: (v: PropertyKey) => boolean;
isPrototypeOf: (v: Object) => boolean;
propertyIsEnumerable: (v: PropertyKey) => boolean;
hasOwn: (o: object, v: PropertyKey) => boolean;
};
halo: {
constructor: Function;
toString: () => string;
toLocaleString: () => string;
valueOf: () => Object;
hasOwnProperty: (v: PropertyKey) => boolean;
isPrototypeOf: (v: Object) => boolean;
propertyIsEnumerable: (v: PropertyKey) => boolean;
hasOwn: (o: object, v: PropertyKey) => boolean;
};
centerPointImg: {
constructor: Function;
toString: () => string;
toLocaleString: () => string;
valueOf: () => Object;
hasOwnProperty: (v: PropertyKey) => boolean;
isPrototypeOf: (v: Object) => boolean;
propertyIsEnumerable: (v: PropertyKey) => boolean;
hasOwn: (o: object, v: PropertyKey) => boolean;
};
pointsImg: {
constructor: Function;
toString: () => string;
toLocaleString: () => string;
valueOf: () => Object;
hasOwnProperty: (v: PropertyKey) => boolean;
isPrototypeOf: (v: Object) => boolean;
propertyIsEnumerable: (v: PropertyKey) => boolean;
hasOwn: (o: object, v: PropertyKey) => boolean;
};
};
mergedConfig: null;
paths: never[];
lengths: never[];
times: never[];
texts: never[];
};
instance: undefined;
afterAutoResizeMixinInit: () => void;
onResize: () => void;
calcData: () => Promise<void>;
mergeConfig: () => void;
createFlylinePaths: () => void;
getPath: (center: any, point: any) => any[];
getControlPoint: ([sx, sy]: [any, any], [ex, ey]: [any, any]) => number[];
getKLinePointByx: (k: any, [lx, ly]: [any, any], x: any) => any[];
calcLineLengths: () => Promise<void>;
calcTimes: () => void;
calcTexts: () => void;
consoleClickPos: ({ offsetX, offsetY }: {
offsetX: any;
offsetY: any;
}) => void;
autoResize: (dom: import("vue").Ref<HTMLElement | null>, onResize?: (() => void) | undefined, afterAutoResizeMixinInit?: (() => void) | undefined) => {
width: import("vue").Ref<number>;
height: import("vue").Ref<number>;
};
deepClone: typeof deepClone;
deepMerge: typeof deepMerge;
getPointDistance: typeof getPointDistance;
randomExtend: typeof randomExtend;
uuid: typeof uuid;
};
function setup(__props: any, { expose }: {
expose: any;
}): {
props: any;
id: string;
flylineChart: import("vue").Ref<null>;
width: import("vue").Ref<number>;
height: import("vue").Ref<number>;
state: {
unique: number;
maskId: string;
maskCircleId: string;
gradientId: string;
gradient2Id: string;
defaultConfig: {
centerPoint: number[];
points: number[][];
lineWidth: number;
orbitColor: string;
flylineColor: string;
k: number;
curvature: number;
flylineRadius: number;
duration: number[];
relative: boolean;
bgImgUrl: string;
text: {
constructor: Function;
toString: () => string;
toLocaleString: () => string;
valueOf: () => Object;
hasOwnProperty: (v: PropertyKey) => boolean;
isPrototypeOf: (v: Object) => boolean;
propertyIsEnumerable: (v: PropertyKey) => boolean;
hasOwn: (o: object, v: PropertyKey) => boolean;
};
halo: {
constructor: Function;
toString: () => string;
toLocaleString: () => string;
valueOf: () => Object;
hasOwnProperty: (v: PropertyKey) => boolean;
isPrototypeOf: (v: Object) => boolean;
propertyIsEnumerable: (v: PropertyKey) => boolean;
hasOwn: (o: object, v: PropertyKey) => boolean;
};
centerPointImg: {
constructor: Function;
toString: () => string;
toLocaleString: () => string;
valueOf: () => Object;
hasOwnProperty: (v: PropertyKey) => boolean;
isPrototypeOf: (v: Object) => boolean;
propertyIsEnumerable: (v: PropertyKey) => boolean;
hasOwn: (o: object, v: PropertyKey) => boolean;
};
pointsImg: {
constructor: Function;
toString: () => string;
toLocaleString: () => string;
valueOf: () => Object;
hasOwnProperty: (v: PropertyKey) => boolean;
isPrototypeOf: (v: Object) => boolean;
propertyIsEnumerable: (v: PropertyKey) => boolean;
hasOwn: (o: object, v: PropertyKey) => boolean;
};
};
mergedConfig: null;
paths: never[];
lengths: never[];
times: never[];
texts: never[];
};
instance: undefined;
afterAutoResizeMixinInit: () => void;
onResize: () => void;
calcData: () => Promise<void>;
mergeConfig: () => void;
createFlylinePaths: () => void;
getPath: (center: any, point: any) => any[];
getControlPoint: ([sx, sy]: [any, any], [ex, ey]: [any, any]) => number[];
getKLinePointByx: (k: any, [lx, ly]: [any, any], x: any) => any[];
calcLineLengths: () => Promise<void>;
calcTimes: () => void;
calcTexts: () => void;
consoleClickPos: ({ offsetX, offsetY }: {
offsetX: any;
offsetY: any;
}) => void;
autoResize: (dom: import("vue").Ref<HTMLElement | null>, onResize?: (() => void) | undefined, afterAutoResizeMixinInit?: (() => void) | undefined) => {
width: import("vue").Ref<number>;
height: import("vue").Ref<number>;
};
deepClone: typeof deepClone;
deepMerge: typeof deepMerge;
getPointDistance: typeof getPointDistance;
randomExtend: typeof randomExtend;
uuid: typeof uuid;
};
}
import { deepClone } from '../../../../datav-vue3/utils';
import { deepMerge } from '../../../../datav-vue3/utils';
import { getPointDistance } from '../../../../datav-vue3/utils';
import { randomExtend } from '../../../../datav-vue3/utils';
import { uuid } from '../../../../datav-vue3/utils';