jvs-draw 1.1.12 → 1.1.13
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/dist/components/BoardName.vue.d.ts +0 -1
- package/dist/components/FloatingPopovers.vue.d.ts +3 -1
- package/dist/components/panelCom/colorStyle.vue.d.ts +42 -6
- package/dist/const/index.d.ts +5 -0
- package/dist/core/element.d.ts +3 -0
- package/dist/jvs-draw.css +1 -1
- package/dist/jvs-draw.es.js +10587 -5930
- package/dist/jvs-draw.umd.js +26 -6
- package/dist/jvs-ui-public/fonts/AntonFont/Anton-Regular.ttf +0 -0
- package/dist/jvs-ui-public/fonts/AntonFont/OFL.txt +93 -0
- package/dist/jvs-ui-public/fonts/ClimateCrisis/ClimateCrisis-Regular.ttf +0 -0
- package/dist/jvs-ui-public/fonts/ClimateCrisis/OFL.txt +93 -0
- package/dist/jvs-ui-public/fonts/DouYinSans/DouyinSansBold.otf +0 -0
- package/dist/jvs-ui-public/fonts/DouYinSans/OFL.txt +30 -0
- package/dist/jvs-ui-public/fonts/Exo/Exo-Black.ttf +0 -0
- package/dist/jvs-ui-public/fonts/Exo/Exo-Bold.ttf +0 -0
- package/dist/jvs-ui-public/fonts/Exo/Exo-Light.ttf +0 -0
- package/dist/jvs-ui-public/fonts/Exo/Exo-Medium.ttf +0 -0
- package/dist/jvs-ui-public/fonts/Exo/Exo-Regular.ttf +0 -0
- package/dist/jvs-ui-public/fonts/Exo/OFL.txt +93 -0
- package/dist/jvs-ui-public/fonts/Goldman/Goldman-Bold.ttf +0 -0
- package/dist/jvs-ui-public/fonts/Goldman/Goldman-Regular.ttf +0 -0
- package/dist/jvs-ui-public/fonts/Goldman/OFL.txt +93 -0
- package/dist/jvs-ui-public/fonts/Goldman/OFL_ZHS.txt +104 -0
- package/dist/jvs-ui-public/fonts/Montserrat/Montserrat-Black.ttf +0 -0
- package/dist/jvs-ui-public/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
- package/dist/jvs-ui-public/fonts/Montserrat/Montserrat-Light.ttf +0 -0
- package/dist/jvs-ui-public/fonts/Montserrat/Montserrat-Medium.ttf +0 -0
- package/dist/jvs-ui-public/fonts/Montserrat/OFL.txt +93 -0
- package/dist/jvs-ui-public/fonts/SaDigtalNumber/OFL.txt +93 -0
- package/dist/jvs-ui-public/fonts/SaDigtalNumber/sa-digital-number.ttf +0 -0
- package/dist/jvs-ui-public/fonts/SourceHanSansCN/LICENSE.txt +96 -0
- package/dist/jvs-ui-public/fonts/SourceHanSansCN/SourceHanSansCN-Bold.ttf +0 -0
- package/dist/jvs-ui-public/fonts/SourceHanSansCN/SourceHanSansCN-Medium.ttf +0 -0
- package/dist/jvs-ui-public/fonts/SourceHanSansCN/SourceHanSansCN-Regular.ttf +0 -0
- package/dist/jvs-ui-public/fonts/WuJieHei/OFL.txt +94 -0
- package/dist/jvs-ui-public/fonts/WuJieHei/OFL_ZHS.txt +104 -0
- package/dist/jvs-ui-public/fonts/WuJieHei/WuJieHei.ttf +0 -0
- package/dist/jvs-ui-public/fonts/ZenTokyoZoo/OFL.txt +93 -0
- package/dist/jvs-ui-public/fonts/ZenTokyoZoo/ZenTokyoZoo-Regular.ttf +0 -0
- package/dist/jvs-ui-public/fonts/ZhuQueFangSong/LICENSE.txt +94 -0
- package/dist/jvs-ui-public/fonts/ZhuQueFangSong/ZhuqueFangsong-Regular.ttf +0 -0
- package/dist/jvs-ui-public/fonts/font.css +87 -0
- package/dist/jvs-ui-public/fonts/font_1456030_lnqmc6a6ca.ttf +0 -0
- package/dist/jvs-ui-public/fonts/font_1456030_lnqmc6a6ca.woff +0 -0
- package/dist/jvs-ui-public/fonts/font_1456030_lnqmc6a6ca.woff2 +0 -0
- package/dist/jvs-ui-public/icon-fonts/iconfont.css +11 -3
- package/dist/jvs-ui-public/icon-fonts/iconfont.js +1 -1
- package/dist/jvs-ui-public/icon-fonts/iconfont.json +14 -0
- package/dist/jvs-ui-public/icon-fonts/iconfont.ttf +0 -0
- package/dist/jvs-ui-public/icon-fonts/iconfont.woff +0 -0
- package/dist/jvs-ui-public/icon-fonts/iconfont.woff2 +0 -0
- package/dist/locales/en-US.d.ts +3 -0
- package/dist/locales/zh-CN.d.ts +3 -0
- package/dist/store/index.d.ts +218 -10
- package/dist/types/element.d.ts +7 -2
- package/dist/utils/math.d.ts +8 -0
- package/package.json +3 -3
package/dist/store/index.d.ts
CHANGED
|
@@ -34,6 +34,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
34
34
|
currentItemStrokeColor: string;
|
|
35
35
|
currentItemStrokeOpacity: number;
|
|
36
36
|
currentItemBackgroundColor: string;
|
|
37
|
+
currentNoteBackgroundColor: string;
|
|
38
|
+
currentNoteShape: string;
|
|
37
39
|
currentItemFillStyle: "solid";
|
|
38
40
|
currentItemStrokeWidth: number;
|
|
39
41
|
currentItemStrokeStyle: "solid";
|
|
@@ -45,12 +47,15 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
45
47
|
currentItemFontSize: number;
|
|
46
48
|
currentItemFontFamily: string;
|
|
47
49
|
currentItemFontBgColor: string;
|
|
48
|
-
currentItemTextAlign:
|
|
49
|
-
currentItemVerticalAlign:
|
|
50
|
+
currentItemTextAlign: string;
|
|
51
|
+
currentItemVerticalAlign: string;
|
|
50
52
|
currentItemIsBold: boolean;
|
|
51
53
|
currentItemIsItalic: boolean;
|
|
52
54
|
currentItemIsUnderline: boolean;
|
|
53
55
|
currentItemIsStrikethrough: boolean;
|
|
56
|
+
currentItemFontWeight: string;
|
|
57
|
+
currentItemLineHeight: number;
|
|
58
|
+
currentItemLetterSpacing: number;
|
|
54
59
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
55
60
|
currentItemStartArrowhead: string | null;
|
|
56
61
|
currentItemEndArrowhead: string | null;
|
|
@@ -125,6 +130,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
125
130
|
isFlippedVertical?: boolean | undefined;
|
|
126
131
|
isAspectRatioLocked?: boolean | undefined;
|
|
127
132
|
frameId: string | null;
|
|
133
|
+
lineHeight: number;
|
|
134
|
+
letterSpacing: number;
|
|
128
135
|
} | {
|
|
129
136
|
type: "ellipse";
|
|
130
137
|
id: string;
|
|
@@ -164,6 +171,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
164
171
|
isFlippedVertical?: boolean | undefined;
|
|
165
172
|
isAspectRatioLocked?: boolean | undefined;
|
|
166
173
|
frameId: string | null;
|
|
174
|
+
lineHeight: number;
|
|
175
|
+
letterSpacing: number;
|
|
167
176
|
} | {
|
|
168
177
|
type: "diamond";
|
|
169
178
|
id: string;
|
|
@@ -203,6 +212,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
203
212
|
isFlippedVertical?: boolean | undefined;
|
|
204
213
|
isAspectRatioLocked?: boolean | undefined;
|
|
205
214
|
frameId: string | null;
|
|
215
|
+
lineHeight: number;
|
|
216
|
+
letterSpacing: number;
|
|
206
217
|
} | {
|
|
207
218
|
type: "square";
|
|
208
219
|
id: string;
|
|
@@ -242,6 +253,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
242
253
|
isFlippedVertical?: boolean | undefined;
|
|
243
254
|
isAspectRatioLocked?: boolean | undefined;
|
|
244
255
|
frameId: string | null;
|
|
256
|
+
lineHeight: number;
|
|
257
|
+
letterSpacing: number;
|
|
245
258
|
} | {
|
|
246
259
|
type: "star";
|
|
247
260
|
id: string;
|
|
@@ -281,6 +294,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
281
294
|
isFlippedVertical?: boolean | undefined;
|
|
282
295
|
isAspectRatioLocked?: boolean | undefined;
|
|
283
296
|
frameId: string | null;
|
|
297
|
+
lineHeight: number;
|
|
298
|
+
letterSpacing: number;
|
|
284
299
|
} | {
|
|
285
300
|
type: "circle";
|
|
286
301
|
id: string;
|
|
@@ -320,6 +335,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
320
335
|
isFlippedVertical?: boolean | undefined;
|
|
321
336
|
isAspectRatioLocked?: boolean | undefined;
|
|
322
337
|
frameId: string | null;
|
|
338
|
+
lineHeight: number;
|
|
339
|
+
letterSpacing: number;
|
|
323
340
|
} | {
|
|
324
341
|
type: "cylinder";
|
|
325
342
|
id: string;
|
|
@@ -359,6 +376,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
359
376
|
isFlippedVertical?: boolean | undefined;
|
|
360
377
|
isAspectRatioLocked?: boolean | undefined;
|
|
361
378
|
frameId: string | null;
|
|
379
|
+
lineHeight: number;
|
|
380
|
+
letterSpacing: number;
|
|
362
381
|
} | {
|
|
363
382
|
type: "process";
|
|
364
383
|
id: string;
|
|
@@ -398,6 +417,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
398
417
|
isFlippedVertical?: boolean | undefined;
|
|
399
418
|
isAspectRatioLocked?: boolean | undefined;
|
|
400
419
|
frameId: string | null;
|
|
420
|
+
lineHeight: number;
|
|
421
|
+
letterSpacing: number;
|
|
401
422
|
} | {
|
|
402
423
|
type: "decision";
|
|
403
424
|
id: string;
|
|
@@ -437,6 +458,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
437
458
|
isFlippedVertical?: boolean | undefined;
|
|
438
459
|
isAspectRatioLocked?: boolean | undefined;
|
|
439
460
|
frameId: string | null;
|
|
461
|
+
lineHeight: number;
|
|
462
|
+
letterSpacing: number;
|
|
440
463
|
} | {
|
|
441
464
|
type: "trapezoid";
|
|
442
465
|
id: string;
|
|
@@ -476,6 +499,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
476
499
|
isFlippedVertical?: boolean | undefined;
|
|
477
500
|
isAspectRatioLocked?: boolean | undefined;
|
|
478
501
|
frameId: string | null;
|
|
502
|
+
lineHeight: number;
|
|
503
|
+
letterSpacing: number;
|
|
479
504
|
} | {
|
|
480
505
|
type: "parallelogram";
|
|
481
506
|
id: string;
|
|
@@ -515,6 +540,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
515
540
|
isFlippedVertical?: boolean | undefined;
|
|
516
541
|
isAspectRatioLocked?: boolean | undefined;
|
|
517
542
|
frameId: string | null;
|
|
543
|
+
lineHeight: number;
|
|
544
|
+
letterSpacing: number;
|
|
518
545
|
} | {
|
|
519
546
|
type: "cloud";
|
|
520
547
|
id: string;
|
|
@@ -554,6 +581,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
554
581
|
isFlippedVertical?: boolean | undefined;
|
|
555
582
|
isAspectRatioLocked?: boolean | undefined;
|
|
556
583
|
frameId: string | null;
|
|
584
|
+
lineHeight: number;
|
|
585
|
+
letterSpacing: number;
|
|
557
586
|
} | {
|
|
558
587
|
type: "pentagon";
|
|
559
588
|
id: string;
|
|
@@ -593,6 +622,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
593
622
|
isFlippedVertical?: boolean | undefined;
|
|
594
623
|
isAspectRatioLocked?: boolean | undefined;
|
|
595
624
|
frameId: string | null;
|
|
625
|
+
lineHeight: number;
|
|
626
|
+
letterSpacing: number;
|
|
596
627
|
} | {
|
|
597
628
|
type: "hexagon";
|
|
598
629
|
id: string;
|
|
@@ -632,6 +663,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
632
663
|
isFlippedVertical?: boolean | undefined;
|
|
633
664
|
isAspectRatioLocked?: boolean | undefined;
|
|
634
665
|
frameId: string | null;
|
|
666
|
+
lineHeight: number;
|
|
667
|
+
letterSpacing: number;
|
|
635
668
|
} | {
|
|
636
669
|
type: "message";
|
|
637
670
|
id: string;
|
|
@@ -671,6 +704,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
671
704
|
isFlippedVertical?: boolean | undefined;
|
|
672
705
|
isAspectRatioLocked?: boolean | undefined;
|
|
673
706
|
frameId: string | null;
|
|
707
|
+
lineHeight: number;
|
|
708
|
+
letterSpacing: number;
|
|
674
709
|
} | {
|
|
675
710
|
type: "doubleArrow";
|
|
676
711
|
id: string;
|
|
@@ -710,6 +745,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
710
745
|
isFlippedVertical?: boolean | undefined;
|
|
711
746
|
isAspectRatioLocked?: boolean | undefined;
|
|
712
747
|
frameId: string | null;
|
|
748
|
+
lineHeight: number;
|
|
749
|
+
letterSpacing: number;
|
|
713
750
|
} | {
|
|
714
751
|
type: "triangle";
|
|
715
752
|
id: string;
|
|
@@ -749,6 +786,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
749
786
|
isFlippedVertical?: boolean | undefined;
|
|
750
787
|
isAspectRatioLocked?: boolean | undefined;
|
|
751
788
|
frameId: string | null;
|
|
789
|
+
lineHeight: number;
|
|
790
|
+
letterSpacing: number;
|
|
752
791
|
} | {
|
|
753
792
|
type: "leftArrow";
|
|
754
793
|
id: string;
|
|
@@ -788,6 +827,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
788
827
|
isFlippedVertical?: boolean | undefined;
|
|
789
828
|
isAspectRatioLocked?: boolean | undefined;
|
|
790
829
|
frameId: string | null;
|
|
830
|
+
lineHeight: number;
|
|
831
|
+
letterSpacing: number;
|
|
791
832
|
} | {
|
|
792
833
|
type: "rightArrow";
|
|
793
834
|
id: string;
|
|
@@ -827,6 +868,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
827
868
|
isFlippedVertical?: boolean | undefined;
|
|
828
869
|
isAspectRatioLocked?: boolean | undefined;
|
|
829
870
|
frameId: string | null;
|
|
871
|
+
lineHeight: number;
|
|
872
|
+
letterSpacing: number;
|
|
830
873
|
} | {
|
|
831
874
|
type: "cube";
|
|
832
875
|
id: string;
|
|
@@ -866,6 +909,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
866
909
|
isFlippedVertical?: boolean | undefined;
|
|
867
910
|
isAspectRatioLocked?: boolean | undefined;
|
|
868
911
|
frameId: string | null;
|
|
912
|
+
lineHeight: number;
|
|
913
|
+
letterSpacing: number;
|
|
869
914
|
} | {
|
|
870
915
|
type: "step1";
|
|
871
916
|
id: string;
|
|
@@ -905,6 +950,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
905
950
|
isFlippedVertical?: boolean | undefined;
|
|
906
951
|
isAspectRatioLocked?: boolean | undefined;
|
|
907
952
|
frameId: string | null;
|
|
953
|
+
lineHeight: number;
|
|
954
|
+
letterSpacing: number;
|
|
908
955
|
} | {
|
|
909
956
|
type: "step2";
|
|
910
957
|
id: string;
|
|
@@ -944,6 +991,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
944
991
|
isFlippedVertical?: boolean | undefined;
|
|
945
992
|
isAspectRatioLocked?: boolean | undefined;
|
|
946
993
|
frameId: string | null;
|
|
994
|
+
lineHeight: number;
|
|
995
|
+
letterSpacing: number;
|
|
947
996
|
} | {
|
|
948
997
|
type: "text";
|
|
949
998
|
text: string;
|
|
@@ -951,7 +1000,6 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
951
1000
|
containerId: string | null;
|
|
952
1001
|
originalText: string;
|
|
953
1002
|
autoResize: boolean;
|
|
954
|
-
lineHeight: number;
|
|
955
1003
|
id: string;
|
|
956
1004
|
x: number;
|
|
957
1005
|
y: number;
|
|
@@ -989,6 +1037,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
989
1037
|
isFlippedVertical?: boolean | undefined;
|
|
990
1038
|
isAspectRatioLocked?: boolean | undefined;
|
|
991
1039
|
frameId: string | null;
|
|
1040
|
+
lineHeight: number;
|
|
1041
|
+
letterSpacing: number;
|
|
992
1042
|
} | {
|
|
993
1043
|
type: "line" | "arrow";
|
|
994
1044
|
points: readonly (readonly [number, number])[];
|
|
@@ -1047,6 +1097,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1047
1097
|
isFlippedVertical?: boolean | undefined;
|
|
1048
1098
|
isAspectRatioLocked?: boolean | undefined;
|
|
1049
1099
|
frameId: string | null;
|
|
1100
|
+
lineHeight: number;
|
|
1101
|
+
letterSpacing: number;
|
|
1050
1102
|
} | {
|
|
1051
1103
|
type: "image";
|
|
1052
1104
|
fileId: string;
|
|
@@ -1100,6 +1152,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1100
1152
|
isFlippedVertical?: boolean | undefined;
|
|
1101
1153
|
isAspectRatioLocked?: boolean | undefined;
|
|
1102
1154
|
frameId: string | null;
|
|
1155
|
+
lineHeight: number;
|
|
1156
|
+
letterSpacing: number;
|
|
1103
1157
|
} | {
|
|
1104
1158
|
type: "frame";
|
|
1105
1159
|
name?: string | undefined;
|
|
@@ -1140,6 +1194,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1140
1194
|
isFlippedVertical?: boolean | undefined;
|
|
1141
1195
|
isAspectRatioLocked?: boolean | undefined;
|
|
1142
1196
|
frameId: string | null;
|
|
1197
|
+
lineHeight: number;
|
|
1198
|
+
letterSpacing: number;
|
|
1143
1199
|
} | {
|
|
1144
1200
|
type: "freedraw";
|
|
1145
1201
|
points: readonly (readonly [number, number])[];
|
|
@@ -1183,6 +1239,50 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1183
1239
|
isFlippedVertical?: boolean | undefined;
|
|
1184
1240
|
isAspectRatioLocked?: boolean | undefined;
|
|
1185
1241
|
frameId: string | null;
|
|
1242
|
+
lineHeight: number;
|
|
1243
|
+
letterSpacing: number;
|
|
1244
|
+
} | {
|
|
1245
|
+
type: "note";
|
|
1246
|
+
noteShape: string;
|
|
1247
|
+
id: string;
|
|
1248
|
+
x: number;
|
|
1249
|
+
y: number;
|
|
1250
|
+
width: number;
|
|
1251
|
+
height: number;
|
|
1252
|
+
angle: number;
|
|
1253
|
+
strokeColor: string;
|
|
1254
|
+
backgroundColor: string;
|
|
1255
|
+
fillStyle: import('../types/element').FillStyle;
|
|
1256
|
+
strokeWidth: number;
|
|
1257
|
+
strokeStyle: import('../types/element').StrokeStyle;
|
|
1258
|
+
roughness: number;
|
|
1259
|
+
opacity: number;
|
|
1260
|
+
strokeOpacity: number;
|
|
1261
|
+
roundness: number;
|
|
1262
|
+
backgroundOpacity: number;
|
|
1263
|
+
fontSize: number;
|
|
1264
|
+
fontFamily: string;
|
|
1265
|
+
fontColor: string;
|
|
1266
|
+
fontBgColor: string;
|
|
1267
|
+
textAlign: "left" | "center" | "right";
|
|
1268
|
+
verticalAlign: "top" | "middle" | "bottom";
|
|
1269
|
+
isBold: boolean;
|
|
1270
|
+
isItalic: boolean;
|
|
1271
|
+
isUnderline: boolean;
|
|
1272
|
+
isStrikethrough: boolean;
|
|
1273
|
+
seed: number;
|
|
1274
|
+
version: number;
|
|
1275
|
+
isDeleted: boolean;
|
|
1276
|
+
groupIds: readonly string[];
|
|
1277
|
+
updated: number;
|
|
1278
|
+
link: string | null;
|
|
1279
|
+
locked: boolean;
|
|
1280
|
+
isFlippedHorizontal?: boolean | undefined;
|
|
1281
|
+
isFlippedVertical?: boolean | undefined;
|
|
1282
|
+
isAspectRatioLocked?: boolean | undefined;
|
|
1283
|
+
frameId: string | null;
|
|
1284
|
+
lineHeight: number;
|
|
1285
|
+
letterSpacing: number;
|
|
1186
1286
|
})[];
|
|
1187
1287
|
images: Record<string, string>;
|
|
1188
1288
|
history: ({
|
|
@@ -1224,6 +1324,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1224
1324
|
isFlippedVertical?: boolean | undefined;
|
|
1225
1325
|
isAspectRatioLocked?: boolean | undefined;
|
|
1226
1326
|
frameId: string | null;
|
|
1327
|
+
lineHeight: number;
|
|
1328
|
+
letterSpacing: number;
|
|
1227
1329
|
} | {
|
|
1228
1330
|
type: "ellipse";
|
|
1229
1331
|
id: string;
|
|
@@ -1263,6 +1365,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1263
1365
|
isFlippedVertical?: boolean | undefined;
|
|
1264
1366
|
isAspectRatioLocked?: boolean | undefined;
|
|
1265
1367
|
frameId: string | null;
|
|
1368
|
+
lineHeight: number;
|
|
1369
|
+
letterSpacing: number;
|
|
1266
1370
|
} | {
|
|
1267
1371
|
type: "diamond";
|
|
1268
1372
|
id: string;
|
|
@@ -1302,6 +1406,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1302
1406
|
isFlippedVertical?: boolean | undefined;
|
|
1303
1407
|
isAspectRatioLocked?: boolean | undefined;
|
|
1304
1408
|
frameId: string | null;
|
|
1409
|
+
lineHeight: number;
|
|
1410
|
+
letterSpacing: number;
|
|
1305
1411
|
} | {
|
|
1306
1412
|
type: "square";
|
|
1307
1413
|
id: string;
|
|
@@ -1341,6 +1447,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1341
1447
|
isFlippedVertical?: boolean | undefined;
|
|
1342
1448
|
isAspectRatioLocked?: boolean | undefined;
|
|
1343
1449
|
frameId: string | null;
|
|
1450
|
+
lineHeight: number;
|
|
1451
|
+
letterSpacing: number;
|
|
1344
1452
|
} | {
|
|
1345
1453
|
type: "star";
|
|
1346
1454
|
id: string;
|
|
@@ -1380,6 +1488,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1380
1488
|
isFlippedVertical?: boolean | undefined;
|
|
1381
1489
|
isAspectRatioLocked?: boolean | undefined;
|
|
1382
1490
|
frameId: string | null;
|
|
1491
|
+
lineHeight: number;
|
|
1492
|
+
letterSpacing: number;
|
|
1383
1493
|
} | {
|
|
1384
1494
|
type: "circle";
|
|
1385
1495
|
id: string;
|
|
@@ -1419,6 +1529,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1419
1529
|
isFlippedVertical?: boolean | undefined;
|
|
1420
1530
|
isAspectRatioLocked?: boolean | undefined;
|
|
1421
1531
|
frameId: string | null;
|
|
1532
|
+
lineHeight: number;
|
|
1533
|
+
letterSpacing: number;
|
|
1422
1534
|
} | {
|
|
1423
1535
|
type: "cylinder";
|
|
1424
1536
|
id: string;
|
|
@@ -1458,6 +1570,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1458
1570
|
isFlippedVertical?: boolean | undefined;
|
|
1459
1571
|
isAspectRatioLocked?: boolean | undefined;
|
|
1460
1572
|
frameId: string | null;
|
|
1573
|
+
lineHeight: number;
|
|
1574
|
+
letterSpacing: number;
|
|
1461
1575
|
} | {
|
|
1462
1576
|
type: "process";
|
|
1463
1577
|
id: string;
|
|
@@ -1497,6 +1611,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1497
1611
|
isFlippedVertical?: boolean | undefined;
|
|
1498
1612
|
isAspectRatioLocked?: boolean | undefined;
|
|
1499
1613
|
frameId: string | null;
|
|
1614
|
+
lineHeight: number;
|
|
1615
|
+
letterSpacing: number;
|
|
1500
1616
|
} | {
|
|
1501
1617
|
type: "decision";
|
|
1502
1618
|
id: string;
|
|
@@ -1536,6 +1652,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1536
1652
|
isFlippedVertical?: boolean | undefined;
|
|
1537
1653
|
isAspectRatioLocked?: boolean | undefined;
|
|
1538
1654
|
frameId: string | null;
|
|
1655
|
+
lineHeight: number;
|
|
1656
|
+
letterSpacing: number;
|
|
1539
1657
|
} | {
|
|
1540
1658
|
type: "trapezoid";
|
|
1541
1659
|
id: string;
|
|
@@ -1575,6 +1693,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1575
1693
|
isFlippedVertical?: boolean | undefined;
|
|
1576
1694
|
isAspectRatioLocked?: boolean | undefined;
|
|
1577
1695
|
frameId: string | null;
|
|
1696
|
+
lineHeight: number;
|
|
1697
|
+
letterSpacing: number;
|
|
1578
1698
|
} | {
|
|
1579
1699
|
type: "parallelogram";
|
|
1580
1700
|
id: string;
|
|
@@ -1614,6 +1734,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1614
1734
|
isFlippedVertical?: boolean | undefined;
|
|
1615
1735
|
isAspectRatioLocked?: boolean | undefined;
|
|
1616
1736
|
frameId: string | null;
|
|
1737
|
+
lineHeight: number;
|
|
1738
|
+
letterSpacing: number;
|
|
1617
1739
|
} | {
|
|
1618
1740
|
type: "cloud";
|
|
1619
1741
|
id: string;
|
|
@@ -1653,6 +1775,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1653
1775
|
isFlippedVertical?: boolean | undefined;
|
|
1654
1776
|
isAspectRatioLocked?: boolean | undefined;
|
|
1655
1777
|
frameId: string | null;
|
|
1778
|
+
lineHeight: number;
|
|
1779
|
+
letterSpacing: number;
|
|
1656
1780
|
} | {
|
|
1657
1781
|
type: "pentagon";
|
|
1658
1782
|
id: string;
|
|
@@ -1692,6 +1816,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1692
1816
|
isFlippedVertical?: boolean | undefined;
|
|
1693
1817
|
isAspectRatioLocked?: boolean | undefined;
|
|
1694
1818
|
frameId: string | null;
|
|
1819
|
+
lineHeight: number;
|
|
1820
|
+
letterSpacing: number;
|
|
1695
1821
|
} | {
|
|
1696
1822
|
type: "hexagon";
|
|
1697
1823
|
id: string;
|
|
@@ -1731,6 +1857,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1731
1857
|
isFlippedVertical?: boolean | undefined;
|
|
1732
1858
|
isAspectRatioLocked?: boolean | undefined;
|
|
1733
1859
|
frameId: string | null;
|
|
1860
|
+
lineHeight: number;
|
|
1861
|
+
letterSpacing: number;
|
|
1734
1862
|
} | {
|
|
1735
1863
|
type: "message";
|
|
1736
1864
|
id: string;
|
|
@@ -1770,6 +1898,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1770
1898
|
isFlippedVertical?: boolean | undefined;
|
|
1771
1899
|
isAspectRatioLocked?: boolean | undefined;
|
|
1772
1900
|
frameId: string | null;
|
|
1901
|
+
lineHeight: number;
|
|
1902
|
+
letterSpacing: number;
|
|
1773
1903
|
} | {
|
|
1774
1904
|
type: "doubleArrow";
|
|
1775
1905
|
id: string;
|
|
@@ -1809,6 +1939,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1809
1939
|
isFlippedVertical?: boolean | undefined;
|
|
1810
1940
|
isAspectRatioLocked?: boolean | undefined;
|
|
1811
1941
|
frameId: string | null;
|
|
1942
|
+
lineHeight: number;
|
|
1943
|
+
letterSpacing: number;
|
|
1812
1944
|
} | {
|
|
1813
1945
|
type: "triangle";
|
|
1814
1946
|
id: string;
|
|
@@ -1848,6 +1980,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1848
1980
|
isFlippedVertical?: boolean | undefined;
|
|
1849
1981
|
isAspectRatioLocked?: boolean | undefined;
|
|
1850
1982
|
frameId: string | null;
|
|
1983
|
+
lineHeight: number;
|
|
1984
|
+
letterSpacing: number;
|
|
1851
1985
|
} | {
|
|
1852
1986
|
type: "leftArrow";
|
|
1853
1987
|
id: string;
|
|
@@ -1887,6 +2021,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1887
2021
|
isFlippedVertical?: boolean | undefined;
|
|
1888
2022
|
isAspectRatioLocked?: boolean | undefined;
|
|
1889
2023
|
frameId: string | null;
|
|
2024
|
+
lineHeight: number;
|
|
2025
|
+
letterSpacing: number;
|
|
1890
2026
|
} | {
|
|
1891
2027
|
type: "rightArrow";
|
|
1892
2028
|
id: string;
|
|
@@ -1926,6 +2062,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1926
2062
|
isFlippedVertical?: boolean | undefined;
|
|
1927
2063
|
isAspectRatioLocked?: boolean | undefined;
|
|
1928
2064
|
frameId: string | null;
|
|
2065
|
+
lineHeight: number;
|
|
2066
|
+
letterSpacing: number;
|
|
1929
2067
|
} | {
|
|
1930
2068
|
type: "cube";
|
|
1931
2069
|
id: string;
|
|
@@ -1965,6 +2103,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
1965
2103
|
isFlippedVertical?: boolean | undefined;
|
|
1966
2104
|
isAspectRatioLocked?: boolean | undefined;
|
|
1967
2105
|
frameId: string | null;
|
|
2106
|
+
lineHeight: number;
|
|
2107
|
+
letterSpacing: number;
|
|
1968
2108
|
} | {
|
|
1969
2109
|
type: "step1";
|
|
1970
2110
|
id: string;
|
|
@@ -2004,6 +2144,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
2004
2144
|
isFlippedVertical?: boolean | undefined;
|
|
2005
2145
|
isAspectRatioLocked?: boolean | undefined;
|
|
2006
2146
|
frameId: string | null;
|
|
2147
|
+
lineHeight: number;
|
|
2148
|
+
letterSpacing: number;
|
|
2007
2149
|
} | {
|
|
2008
2150
|
type: "step2";
|
|
2009
2151
|
id: string;
|
|
@@ -2043,6 +2185,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
2043
2185
|
isFlippedVertical?: boolean | undefined;
|
|
2044
2186
|
isAspectRatioLocked?: boolean | undefined;
|
|
2045
2187
|
frameId: string | null;
|
|
2188
|
+
lineHeight: number;
|
|
2189
|
+
letterSpacing: number;
|
|
2046
2190
|
} | {
|
|
2047
2191
|
type: "text";
|
|
2048
2192
|
text: string;
|
|
@@ -2050,7 +2194,6 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
2050
2194
|
containerId: string | null;
|
|
2051
2195
|
originalText: string;
|
|
2052
2196
|
autoResize: boolean;
|
|
2053
|
-
lineHeight: number;
|
|
2054
2197
|
id: string;
|
|
2055
2198
|
x: number;
|
|
2056
2199
|
y: number;
|
|
@@ -2088,6 +2231,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
2088
2231
|
isFlippedVertical?: boolean | undefined;
|
|
2089
2232
|
isAspectRatioLocked?: boolean | undefined;
|
|
2090
2233
|
frameId: string | null;
|
|
2234
|
+
lineHeight: number;
|
|
2235
|
+
letterSpacing: number;
|
|
2091
2236
|
} | {
|
|
2092
2237
|
type: "line" | "arrow";
|
|
2093
2238
|
points: readonly (readonly [number, number])[];
|
|
@@ -2146,6 +2291,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
2146
2291
|
isFlippedVertical?: boolean | undefined;
|
|
2147
2292
|
isAspectRatioLocked?: boolean | undefined;
|
|
2148
2293
|
frameId: string | null;
|
|
2294
|
+
lineHeight: number;
|
|
2295
|
+
letterSpacing: number;
|
|
2149
2296
|
} | {
|
|
2150
2297
|
type: "image";
|
|
2151
2298
|
fileId: string;
|
|
@@ -2199,6 +2346,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
2199
2346
|
isFlippedVertical?: boolean | undefined;
|
|
2200
2347
|
isAspectRatioLocked?: boolean | undefined;
|
|
2201
2348
|
frameId: string | null;
|
|
2349
|
+
lineHeight: number;
|
|
2350
|
+
letterSpacing: number;
|
|
2202
2351
|
} | {
|
|
2203
2352
|
type: "frame";
|
|
2204
2353
|
name?: string | undefined;
|
|
@@ -2239,6 +2388,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
2239
2388
|
isFlippedVertical?: boolean | undefined;
|
|
2240
2389
|
isAspectRatioLocked?: boolean | undefined;
|
|
2241
2390
|
frameId: string | null;
|
|
2391
|
+
lineHeight: number;
|
|
2392
|
+
letterSpacing: number;
|
|
2242
2393
|
} | {
|
|
2243
2394
|
type: "freedraw";
|
|
2244
2395
|
points: readonly (readonly [number, number])[];
|
|
@@ -2282,6 +2433,50 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
2282
2433
|
isFlippedVertical?: boolean | undefined;
|
|
2283
2434
|
isAspectRatioLocked?: boolean | undefined;
|
|
2284
2435
|
frameId: string | null;
|
|
2436
|
+
lineHeight: number;
|
|
2437
|
+
letterSpacing: number;
|
|
2438
|
+
} | {
|
|
2439
|
+
type: "note";
|
|
2440
|
+
noteShape: string;
|
|
2441
|
+
id: string;
|
|
2442
|
+
x: number;
|
|
2443
|
+
y: number;
|
|
2444
|
+
width: number;
|
|
2445
|
+
height: number;
|
|
2446
|
+
angle: number;
|
|
2447
|
+
strokeColor: string;
|
|
2448
|
+
backgroundColor: string;
|
|
2449
|
+
fillStyle: import('../types/element').FillStyle;
|
|
2450
|
+
strokeWidth: number;
|
|
2451
|
+
strokeStyle: import('../types/element').StrokeStyle;
|
|
2452
|
+
roughness: number;
|
|
2453
|
+
opacity: number;
|
|
2454
|
+
strokeOpacity: number;
|
|
2455
|
+
roundness: number;
|
|
2456
|
+
backgroundOpacity: number;
|
|
2457
|
+
fontSize: number;
|
|
2458
|
+
fontFamily: string;
|
|
2459
|
+
fontColor: string;
|
|
2460
|
+
fontBgColor: string;
|
|
2461
|
+
textAlign: "left" | "center" | "right";
|
|
2462
|
+
verticalAlign: "top" | "middle" | "bottom";
|
|
2463
|
+
isBold: boolean;
|
|
2464
|
+
isItalic: boolean;
|
|
2465
|
+
isUnderline: boolean;
|
|
2466
|
+
isStrikethrough: boolean;
|
|
2467
|
+
seed: number;
|
|
2468
|
+
version: number;
|
|
2469
|
+
isDeleted: boolean;
|
|
2470
|
+
groupIds: readonly string[];
|
|
2471
|
+
updated: number;
|
|
2472
|
+
link: string | null;
|
|
2473
|
+
locked: boolean;
|
|
2474
|
+
isFlippedHorizontal?: boolean | undefined;
|
|
2475
|
+
isFlippedVertical?: boolean | undefined;
|
|
2476
|
+
isAspectRatioLocked?: boolean | undefined;
|
|
2477
|
+
frameId: string | null;
|
|
2478
|
+
lineHeight: number;
|
|
2479
|
+
letterSpacing: number;
|
|
2285
2480
|
})[][];
|
|
2286
2481
|
historyStep: number;
|
|
2287
2482
|
appConfig: {
|
|
@@ -2317,6 +2512,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
2317
2512
|
currentItemStrokeColor: string;
|
|
2318
2513
|
currentItemStrokeOpacity: number;
|
|
2319
2514
|
currentItemBackgroundColor: string;
|
|
2515
|
+
currentNoteBackgroundColor: string;
|
|
2516
|
+
currentNoteShape: string;
|
|
2320
2517
|
currentItemFillStyle: "solid";
|
|
2321
2518
|
currentItemStrokeWidth: number;
|
|
2322
2519
|
currentItemStrokeStyle: "solid";
|
|
@@ -2328,12 +2525,15 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
2328
2525
|
currentItemFontSize: number;
|
|
2329
2526
|
currentItemFontFamily: string;
|
|
2330
2527
|
currentItemFontBgColor: string;
|
|
2331
|
-
currentItemTextAlign:
|
|
2332
|
-
currentItemVerticalAlign:
|
|
2528
|
+
currentItemTextAlign: string;
|
|
2529
|
+
currentItemVerticalAlign: string;
|
|
2333
2530
|
currentItemIsBold: boolean;
|
|
2334
2531
|
currentItemIsItalic: boolean;
|
|
2335
2532
|
currentItemIsUnderline: boolean;
|
|
2336
2533
|
currentItemIsStrikethrough: boolean;
|
|
2534
|
+
currentItemFontWeight: string;
|
|
2535
|
+
currentItemLineHeight: number;
|
|
2536
|
+
currentItemLetterSpacing: number;
|
|
2337
2537
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
2338
2538
|
currentItemStartArrowhead: string | null;
|
|
2339
2539
|
currentItemEndArrowhead: string | null;
|
|
@@ -2402,6 +2602,8 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
2402
2602
|
currentItemStrokeColor: string;
|
|
2403
2603
|
currentItemStrokeOpacity: number;
|
|
2404
2604
|
currentItemBackgroundColor: string;
|
|
2605
|
+
currentNoteBackgroundColor: string;
|
|
2606
|
+
currentNoteShape: string;
|
|
2405
2607
|
currentItemFillStyle: "solid";
|
|
2406
2608
|
currentItemStrokeWidth: number;
|
|
2407
2609
|
currentItemStrokeStyle: "solid";
|
|
@@ -2413,12 +2615,15 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
2413
2615
|
currentItemFontSize: number;
|
|
2414
2616
|
currentItemFontFamily: string;
|
|
2415
2617
|
currentItemFontBgColor: string;
|
|
2416
|
-
currentItemTextAlign:
|
|
2417
|
-
currentItemVerticalAlign:
|
|
2618
|
+
currentItemTextAlign: string;
|
|
2619
|
+
currentItemVerticalAlign: string;
|
|
2418
2620
|
currentItemIsBold: boolean;
|
|
2419
2621
|
currentItemIsItalic: boolean;
|
|
2420
2622
|
currentItemIsUnderline: boolean;
|
|
2421
2623
|
currentItemIsStrikethrough: boolean;
|
|
2624
|
+
currentItemFontWeight: string;
|
|
2625
|
+
currentItemLineHeight: number;
|
|
2626
|
+
currentItemLetterSpacing: number;
|
|
2422
2627
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
2423
2628
|
currentItemStartArrowhead: string | null;
|
|
2424
2629
|
currentItemEndArrowhead: string | null;
|
|
@@ -2476,11 +2681,14 @@ export declare const useExcalidrawStore: (id?: string) => import('pinia').Store<
|
|
|
2476
2681
|
recordHistory(): void;
|
|
2477
2682
|
undo(): void;
|
|
2478
2683
|
redo(): void;
|
|
2479
|
-
setZoom(zoom: number
|
|
2684
|
+
setZoom(zoom: number, focalPoint?: {
|
|
2685
|
+
x: number;
|
|
2686
|
+
y: number;
|
|
2687
|
+
}): void;
|
|
2480
2688
|
zoomIn(): void;
|
|
2481
2689
|
zoomOut(): void;
|
|
2482
2690
|
selectAll(): void;
|
|
2483
|
-
copyElements(): Promise<void>;
|
|
2691
|
+
copyElements(isCut?: boolean): Promise<void>;
|
|
2484
2692
|
cutElements(): Promise<void>;
|
|
2485
2693
|
pasteElements(point?: {
|
|
2486
2694
|
x: number;
|
package/dist/types/element.d.ts
CHANGED
|
@@ -39,11 +39,17 @@ export interface ElementBase {
|
|
|
39
39
|
isFlippedVertical?: boolean;
|
|
40
40
|
isAspectRatioLocked?: boolean;
|
|
41
41
|
frameId: string | null;
|
|
42
|
+
lineHeight: number;
|
|
43
|
+
letterSpacing: number;
|
|
42
44
|
}
|
|
43
|
-
export type ExcalidrawElement = ExcalidrawRectangleElement | ExcalidrawEllipseElement | ExcalidrawDiamondElement | ExcalidrawSquareElement | ExcalidrawStarElement | ExcalidrawCircleElement | ExcalidrawCylinderElement | ExcalidrawProcessElement | ExcalidrawDecisionElement | ExcalidrawTrapezoidElement | ExcalidrawParallelogramElement | ExcalidrawCloudElement | ExcalidrawPentagonElement | ExcalidrawHexagonElement | ExcalidrawMessageElement | ExcalidrawDoubleArrowElement | ExcalidrawTriangleElement | ExcalidrawLeftArrowElement | ExcalidrawRightArrowElement | ExcalidrawCubeElement | ExcalidrawStep1Element | ExcalidrawStep2Element | ExcalidrawTextElement | ExcalidrawLinearElement | ExcalidrawImageElement | ExcalidrawFrameElement | ExcalidrawFreeDrawElement;
|
|
45
|
+
export type ExcalidrawElement = ExcalidrawRectangleElement | ExcalidrawEllipseElement | ExcalidrawDiamondElement | ExcalidrawSquareElement | ExcalidrawStarElement | ExcalidrawCircleElement | ExcalidrawCylinderElement | ExcalidrawProcessElement | ExcalidrawDecisionElement | ExcalidrawTrapezoidElement | ExcalidrawParallelogramElement | ExcalidrawCloudElement | ExcalidrawPentagonElement | ExcalidrawHexagonElement | ExcalidrawMessageElement | ExcalidrawDoubleArrowElement | ExcalidrawTriangleElement | ExcalidrawLeftArrowElement | ExcalidrawRightArrowElement | ExcalidrawCubeElement | ExcalidrawStep1Element | ExcalidrawStep2Element | ExcalidrawTextElement | ExcalidrawLinearElement | ExcalidrawImageElement | ExcalidrawFrameElement | ExcalidrawFreeDrawElement | ExcalidrawNoteElement;
|
|
44
46
|
export interface ExcalidrawRectangleElement extends ElementBase {
|
|
45
47
|
type: "rectangle";
|
|
46
48
|
}
|
|
49
|
+
export interface ExcalidrawNoteElement extends ElementBase {
|
|
50
|
+
type: "note";
|
|
51
|
+
noteShape: string;
|
|
52
|
+
}
|
|
47
53
|
export interface ExcalidrawEllipseElement extends ElementBase {
|
|
48
54
|
type: "ellipse";
|
|
49
55
|
}
|
|
@@ -118,7 +124,6 @@ export interface ExcalidrawTextElement extends ElementBase {
|
|
|
118
124
|
containerId: string | null;
|
|
119
125
|
originalText: string;
|
|
120
126
|
autoResize: boolean;
|
|
121
|
-
lineHeight: number;
|
|
122
127
|
}
|
|
123
128
|
export interface ExcalidrawLinearElement extends ElementBase {
|
|
124
129
|
type: "line" | "arrow";
|