myprint-design
Version:
操作简单,组件丰富的一站式打印解决方案打印设计器
162 lines (161 loc) • 5.42 kB
TypeScript
import { MyElement, Point } from '../../../types/entity';
import { BaseType, Selection } from 'd3-selection';
declare const _default: import("vue").DefineComponent<{
element: {
type: any;
required: false;
default: () => MyElement;
};
}, {
props: any;
ellipse: any;
svgOptions: {
width: number;
height: number;
rotateControl: {};
centerPoint: {
x: number;
y: number;
};
drawAuxiliary: boolean;
};
changeSize: () => boolean;
draw: (chart: Selection<BaseType, any, BaseType, any>) => void;
initPoint: () => void;
SvgBase: import("vue").DefineComponent<{
element: {
type: any;
required: false;
default: () => MyElement;
};
svgOptions: {
type: any;
required: true;
default: () => {
width: number;
height: number;
controlLine: import("../../../types/entity").Line[];
centerPoint: Point;
controlPointScale: import("../../../types/entity").PointLabel;
controlPointResize: import("../../../types/entity").PointLabel;
controlPointEndDragStart: Point;
allPoint: import("../../../types/entity").PointLabel[];
virtualPoint: import("../../../types/entity").PointLabel[];
drawAuxiliary: boolean;
};
};
draw: {
type: FunctionConstructor;
required: true;
default: () => void;
};
dragStart: {
type: FunctionConstructor;
required: false;
default: () => void;
};
dragIng: {
type: FunctionConstructor;
required: false;
default: (_subject: import("../../../types/entity").PointLabel, _event: import("../../../types/d3Type").D3DragEvent, _dx: number, _dy: number) => void;
};
dragEnd: {
type: FunctionConstructor;
required: false;
default: () => void;
};
changeSize: {
type: FunctionConstructor;
required: false;
default: () => boolean;
};
doubleClick: {
type: FunctionConstructor;
required: false;
default: () => void;
};
}, {
props: any;
path: import("d3-path").Path;
chartRef: import("vue").Ref<any>;
subject: import("../../../types/entity").PointLabel;
dx: any;
dy: any;
startX: any;
startY: any;
dragFun: any;
lastClickPoint: import("../../../types/entity").PointClick;
draggable: () => void;
dragSubject: (event: any) => import("../../../types/entity").PointLabel;
readonly displayDesign: typeof import("../../../utils/elementUtil").displayDesign;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
element: {
type: any;
required: false;
default: () => MyElement;
};
svgOptions: {
type: any;
required: true;
default: () => {
width: number;
height: number;
controlLine: import("../../../types/entity").Line[];
centerPoint: Point;
controlPointScale: import("../../../types/entity").PointLabel;
controlPointResize: import("../../../types/entity").PointLabel;
controlPointEndDragStart: Point;
allPoint: import("../../../types/entity").PointLabel[];
virtualPoint: import("../../../types/entity").PointLabel[];
drawAuxiliary: boolean;
};
};
draw: {
type: FunctionConstructor;
required: true;
default: () => void;
};
dragStart: {
type: FunctionConstructor;
required: false;
default: () => void;
};
dragIng: {
type: FunctionConstructor;
required: false;
default: (_subject: import("../../../types/entity").PointLabel, _event: import("../../../types/d3Type").D3DragEvent, _dx: number, _dy: number) => void;
};
dragEnd: {
type: FunctionConstructor;
required: false;
default: () => void;
};
changeSize: {
type: FunctionConstructor;
required: false;
default: () => boolean;
};
doubleClick: {
type: FunctionConstructor;
required: false;
default: () => void;
};
}>>, {
element: any;
dragStart: Function;
draw: Function;
dragIng: Function;
dragEnd: Function;
changeSize: Function;
doubleClick: Function;
}, {}>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
element: {
type: any;
required: false;
default: () => MyElement;
};
}>>, {
element: any;
}, {}>;
export default _default;