@zhangqingcq/vgce 0.1.15 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/types/index.d.ts +6 -2
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
@@ -8,6 +8,7 @@ import { DefineComponent } from 'vue'
|
|
8
8
|
export declare const SvgEditor: DefineComponent<{
|
9
9
|
data?: string
|
10
10
|
customToolbar?: any[]
|
11
|
+
vueComp?: Record<string, any>
|
11
12
|
saveFile?: boolean
|
12
13
|
onOnPreview?: (d: Record<string, any>) => void
|
13
14
|
onOnSave?: (d: Record<string, any>) => void
|
@@ -15,11 +16,14 @@ export declare const SvgEditor: DefineComponent<{
|
|
15
16
|
}>
|
16
17
|
export declare const SvgViewer: DefineComponent<{
|
17
18
|
data?: Record<string, any>
|
19
|
+
vueComp?: Record<string, any>
|
18
20
|
canvasDrag?: boolean
|
19
|
-
|
21
|
+
showCanvasInfo?: boolean
|
22
|
+
onOnMessage?: (d: { topics: string; message: string }) => void
|
23
|
+
onOnEvent?: (d: { event: Record<string, any>; target: Record<string, any> }) => void
|
20
24
|
}>
|
21
25
|
|
22
26
|
export default {
|
23
27
|
SvgEditor,
|
24
28
|
SvgViewer
|
25
|
-
}
|
29
|
+
}
|