更新logicflow包
This commit is contained in:
1 parent
e78ebb747d
commit
2583575725
113 files changed
+41211
-588
No files matched your search
+15
-7
@@ -1,17 +1,25 @@
|
||||
/**
|
||||
* 快照插件,生成视图
|
||||
*/
|
||||
declare const Snapshot: {
|
||||
pluginName: string;
|
||||
install(lf: any): void;
|
||||
declare class Snapshot {
|
||||
static pluginName: string;
|
||||
lf: any;
|
||||
offsetX: number;
|
||||
offsetY: number;
|
||||
fileName: string;
|
||||
customCssRules: string;
|
||||
useGlobalRules: boolean;
|
||||
constructor({ lf }: {
|
||||
lf: any;
|
||||
});
|
||||
getSvgRootElement(lf: any): any;
|
||||
triggerDownload(imgURI: string): void;
|
||||
removeAnchor(element: any): void;
|
||||
downloadSvg(svg: SVGGraphicsElement, fileName: string, backgroundColor: string): void;
|
||||
getBase64(svg: SVGGraphicsElement, backgroundColor: string): Promise<unknown>;
|
||||
getBlob(svg: SVGGraphicsElement, backgroundColor: string): Promise<unknown>;
|
||||
getSnapshot(fileName: string, backgroundColor: string): void;
|
||||
getSnapshotBase64(backgroundColor: string): Promise<unknown>;
|
||||
getSnapshotBlob(backgroundColor: string): Promise<unknown>;
|
||||
getClassRules(): string;
|
||||
getCanvasData(svg: SVGGraphicsElement, backgroundColor: string): Promise<unknown>;
|
||||
};
|
||||
}
|
||||
export default Snapshot;
|
||||
export { Snapshot, };
|
||||
Reference in new issue
Block a user