@vanduo-oss/vd3-cbun 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +3 -2
- package/dist/draw/core.d.ts +3 -0
- package/dist/draw/index.cjs +44 -5
- package/dist/draw/index.cjs.map +3 -3
- package/dist/draw/index.js +44 -5
- package/dist/draw/index.js.map +3 -3
- package/dist/draw/vue.d.ts +12 -0
- package/dist/meta.json +13 -13
- package/package.json +1 -1
package/dist/draw/vue.d.ts
CHANGED
|
@@ -52,6 +52,18 @@ export interface VdDrawExposed {
|
|
|
52
52
|
canRedo(): boolean;
|
|
53
53
|
toSVG(): string | undefined;
|
|
54
54
|
toPNG(options?: { scale?: number }): Promise<string> | undefined;
|
|
55
|
+
addShape(partial?: Record<string, unknown>): Record<string, unknown> | undefined;
|
|
56
|
+
updateShape(
|
|
57
|
+
id: string,
|
|
58
|
+
patch?: Record<string, unknown>,
|
|
59
|
+
options?: Record<string, unknown>,
|
|
60
|
+
): Record<string, unknown> | null | undefined;
|
|
61
|
+
removeShape(id: string): boolean | undefined;
|
|
62
|
+
getShape(id: string): Record<string, unknown> | null | undefined;
|
|
63
|
+
getShapes(): Array<Record<string, unknown>> | undefined;
|
|
64
|
+
clear(): void;
|
|
65
|
+
load(data: Record<string, unknown>): void;
|
|
66
|
+
toJSON(): DrawDocument | undefined;
|
|
55
67
|
}
|
|
56
68
|
|
|
57
69
|
/* eslint-disable @typescript-eslint/no-empty-object-type -- DefineComponent filler params */
|
package/dist/meta.json
CHANGED
|
@@ -251,12 +251,12 @@
|
|
|
251
251
|
"format": "esm"
|
|
252
252
|
},
|
|
253
253
|
"src/draw/shapes.js": {
|
|
254
|
-
"bytes":
|
|
254
|
+
"bytes": 20554,
|
|
255
255
|
"imports": [],
|
|
256
256
|
"format": "esm"
|
|
257
257
|
},
|
|
258
258
|
"src/draw/core.js": {
|
|
259
|
-
"bytes":
|
|
259
|
+
"bytes": 69102,
|
|
260
260
|
"imports": [
|
|
261
261
|
{
|
|
262
262
|
"path": "src/draw/shapes.js",
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
"format": "esm"
|
|
268
268
|
},
|
|
269
269
|
"src/draw/vue.js": {
|
|
270
|
-
"bytes":
|
|
270
|
+
"bytes": 4123,
|
|
271
271
|
"imports": [
|
|
272
272
|
{
|
|
273
273
|
"path": "vue",
|
|
@@ -693,7 +693,7 @@
|
|
|
693
693
|
"imports": [],
|
|
694
694
|
"exports": [],
|
|
695
695
|
"inputs": {},
|
|
696
|
-
"bytes":
|
|
696
|
+
"bytes": 162707
|
|
697
697
|
},
|
|
698
698
|
"dist/draw/index.js": {
|
|
699
699
|
"imports": [
|
|
@@ -714,25 +714,25 @@
|
|
|
714
714
|
"entryPoint": "src/draw/index.js",
|
|
715
715
|
"inputs": {
|
|
716
716
|
"src/draw/vue.js": {
|
|
717
|
-
"bytesInOutput":
|
|
717
|
+
"bytesInOutput": 3560
|
|
718
718
|
},
|
|
719
719
|
"src/draw/shapes.js": {
|
|
720
|
-
"bytesInOutput":
|
|
720
|
+
"bytesInOutput": 15146
|
|
721
721
|
},
|
|
722
722
|
"src/draw/core.js": {
|
|
723
|
-
"bytesInOutput":
|
|
723
|
+
"bytesInOutput": 66656
|
|
724
724
|
},
|
|
725
725
|
"src/draw/index.js": {
|
|
726
726
|
"bytesInOutput": 0
|
|
727
727
|
}
|
|
728
728
|
},
|
|
729
|
-
"bytes":
|
|
729
|
+
"bytes": 85605
|
|
730
730
|
},
|
|
731
731
|
"dist/draw/index.cjs.map": {
|
|
732
732
|
"imports": [],
|
|
733
733
|
"exports": [],
|
|
734
734
|
"inputs": {},
|
|
735
|
-
"bytes":
|
|
735
|
+
"bytes": 163190
|
|
736
736
|
},
|
|
737
737
|
"dist/draw/index.cjs": {
|
|
738
738
|
"imports": [
|
|
@@ -749,16 +749,16 @@
|
|
|
749
749
|
"bytesInOutput": 308
|
|
750
750
|
},
|
|
751
751
|
"src/draw/vue.js": {
|
|
752
|
-
"bytesInOutput":
|
|
752
|
+
"bytesInOutput": 3655
|
|
753
753
|
},
|
|
754
754
|
"src/draw/shapes.js": {
|
|
755
|
-
"bytesInOutput":
|
|
755
|
+
"bytesInOutput": 15146
|
|
756
756
|
},
|
|
757
757
|
"src/draw/core.js": {
|
|
758
|
-
"bytesInOutput":
|
|
758
|
+
"bytesInOutput": 66656
|
|
759
759
|
}
|
|
760
760
|
},
|
|
761
|
-
"bytes":
|
|
761
|
+
"bytes": 86705
|
|
762
762
|
},
|
|
763
763
|
"dist/flowchart/index.js.map": {
|
|
764
764
|
"imports": [],
|
package/package.json
CHANGED