@zsviczian/excalidraw 0.15.2-obsidian-7 → 0.15.2-obsidian-8
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/excalidraw.development.js +30 -30
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +24 -9
- package/types/actions/actionBoundText.d.ts +16 -6
- package/types/actions/actionCanvas.d.ts +96 -36
- package/types/actions/actionClipboard.d.ts +40 -15
- package/types/actions/actionDeleteSelected.d.ts +24 -9
- package/types/actions/actionElementLock.d.ts +16 -6
- package/types/actions/actionExport.d.ts +72 -27
- package/types/actions/actionFinalize.d.ts +16 -6
- package/types/actions/actionFrame.d.ts +26 -11
- package/types/actions/actionLinearEditor.d.ts +8 -3
- package/types/actions/actionMenu.d.ts +24 -9
- package/types/actions/actionProperties.d.ts +104 -39
- package/types/actions/actionStyles.d.ts +8 -3
- package/types/actions/actionToggleGridMode.d.ts +8 -3
- package/types/actions/actionToggleStats.d.ts +8 -3
- package/types/actions/actionToggleViewMode.d.ts +8 -3
- package/types/actions/actionToggleZenMode.d.ts +8 -3
- package/types/actions/types.d.ts +1 -1
- package/types/appState.d.ts +1 -1
- package/types/components/App.d.ts +13 -8
- package/types/element/Hyperlink.d.ts +8 -3
- package/types/element/collision.d.ts +2 -2
- package/types/element/embeddable.d.ts +171 -0
- package/types/element/linearElementEditor.d.ts +8 -3
- package/types/element/newElement.d.ts +4 -4
- package/types/element/typeChecks.d.ts +4 -4
- package/types/element/types.d.ts +6 -6
- package/types/types.d.ts +15 -10
- package/types/utils.d.ts +1 -1
|
@@ -44,7 +44,7 @@ export declare const actionCut: {
|
|
|
44
44
|
showWelcomeScreen: boolean;
|
|
45
45
|
isLoading: boolean;
|
|
46
46
|
errorMessage: import("react").ReactNode;
|
|
47
|
-
|
|
47
|
+
activeEmbeddable: {
|
|
48
48
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
49
49
|
state: "active" | "hover";
|
|
50
50
|
} | null;
|
|
@@ -56,7 +56,12 @@ export declare const actionCut: {
|
|
|
56
56
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
57
57
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
58
58
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
59
|
-
|
|
59
|
+
frameRendering: {
|
|
60
|
+
enabled: boolean;
|
|
61
|
+
name: boolean;
|
|
62
|
+
outline: boolean;
|
|
63
|
+
clip: boolean;
|
|
64
|
+
};
|
|
60
65
|
editingFrame: string | null;
|
|
61
66
|
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
62
67
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -64,7 +69,7 @@ export declare const actionCut: {
|
|
|
64
69
|
lastActiveTool: import("../types").LastActiveTool;
|
|
65
70
|
locked: boolean;
|
|
66
71
|
} & ({
|
|
67
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
72
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
68
73
|
customType: null;
|
|
69
74
|
} | {
|
|
70
75
|
type: "custom";
|
|
@@ -212,7 +217,7 @@ export declare const actionCut: {
|
|
|
212
217
|
showWelcomeScreen: boolean;
|
|
213
218
|
isLoading: boolean;
|
|
214
219
|
errorMessage: import("react").ReactNode;
|
|
215
|
-
|
|
220
|
+
activeEmbeddable: {
|
|
216
221
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
217
222
|
state: "active" | "hover";
|
|
218
223
|
} | null;
|
|
@@ -224,7 +229,12 @@ export declare const actionCut: {
|
|
|
224
229
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
225
230
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
226
231
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
227
|
-
|
|
232
|
+
frameRendering: {
|
|
233
|
+
enabled: boolean;
|
|
234
|
+
name: boolean;
|
|
235
|
+
outline: boolean;
|
|
236
|
+
clip: boolean;
|
|
237
|
+
};
|
|
228
238
|
editingFrame: string | null;
|
|
229
239
|
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
230
240
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -232,7 +242,7 @@ export declare const actionCut: {
|
|
|
232
242
|
lastActiveTool: import("../types").LastActiveTool;
|
|
233
243
|
locked: boolean;
|
|
234
244
|
} & ({
|
|
235
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
245
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
236
246
|
customType: null;
|
|
237
247
|
} | {
|
|
238
248
|
type: "custom";
|
|
@@ -347,14 +357,14 @@ export declare const actionCut: {
|
|
|
347
357
|
lastActiveTool: import("../types").LastActiveTool;
|
|
348
358
|
locked: boolean;
|
|
349
359
|
} & ({
|
|
350
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
360
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
351
361
|
customType: null;
|
|
352
362
|
} | {
|
|
353
363
|
type: "custom";
|
|
354
364
|
customType: string;
|
|
355
365
|
});
|
|
356
366
|
multiElement: null;
|
|
357
|
-
|
|
367
|
+
activeEmbeddable: null;
|
|
358
368
|
selectedElementIds: {};
|
|
359
369
|
contextMenu: {
|
|
360
370
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -371,7 +381,12 @@ export declare const actionCut: {
|
|
|
371
381
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
372
382
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
373
383
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
374
|
-
|
|
384
|
+
frameRendering: {
|
|
385
|
+
enabled: boolean;
|
|
386
|
+
name: boolean;
|
|
387
|
+
outline: boolean;
|
|
388
|
+
clip: boolean;
|
|
389
|
+
};
|
|
375
390
|
editingFrame: string | null;
|
|
376
391
|
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
377
392
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -500,7 +515,7 @@ export declare const actionCopyAsSvg: {
|
|
|
500
515
|
} | null;
|
|
501
516
|
showWelcomeScreen: boolean;
|
|
502
517
|
isLoading: boolean;
|
|
503
|
-
|
|
518
|
+
activeEmbeddable: {
|
|
504
519
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
505
520
|
state: "active" | "hover";
|
|
506
521
|
} | null;
|
|
@@ -512,7 +527,12 @@ export declare const actionCopyAsSvg: {
|
|
|
512
527
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
513
528
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
514
529
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
515
|
-
|
|
530
|
+
frameRendering: {
|
|
531
|
+
enabled: boolean;
|
|
532
|
+
name: boolean;
|
|
533
|
+
outline: boolean;
|
|
534
|
+
clip: boolean;
|
|
535
|
+
};
|
|
516
536
|
editingFrame: string | null;
|
|
517
537
|
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
518
538
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -521,7 +541,7 @@ export declare const actionCopyAsSvg: {
|
|
|
521
541
|
lastActiveTool: import("../types").LastActiveTool;
|
|
522
542
|
locked: boolean;
|
|
523
543
|
} & ({
|
|
524
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
544
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
525
545
|
customType: null;
|
|
526
546
|
} | {
|
|
527
547
|
type: "custom";
|
|
@@ -653,7 +673,7 @@ export declare const actionCopyAsPng: {
|
|
|
653
673
|
} | null;
|
|
654
674
|
showWelcomeScreen: boolean;
|
|
655
675
|
isLoading: boolean;
|
|
656
|
-
|
|
676
|
+
activeEmbeddable: {
|
|
657
677
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
658
678
|
state: "active" | "hover";
|
|
659
679
|
} | null;
|
|
@@ -665,7 +685,12 @@ export declare const actionCopyAsPng: {
|
|
|
665
685
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
666
686
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
667
687
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
668
|
-
|
|
688
|
+
frameRendering: {
|
|
689
|
+
enabled: boolean;
|
|
690
|
+
name: boolean;
|
|
691
|
+
outline: boolean;
|
|
692
|
+
clip: boolean;
|
|
693
|
+
};
|
|
669
694
|
editingFrame: string | null;
|
|
670
695
|
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
671
696
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -674,7 +699,7 @@ export declare const actionCopyAsPng: {
|
|
|
674
699
|
lastActiveTool: import("../types").LastActiveTool;
|
|
675
700
|
locked: boolean;
|
|
676
701
|
} & ({
|
|
677
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
702
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
678
703
|
customType: null;
|
|
679
704
|
} | {
|
|
680
705
|
type: "custom";
|
|
@@ -20,7 +20,7 @@ export declare const actionDeleteSelected: {
|
|
|
20
20
|
showWelcomeScreen: boolean;
|
|
21
21
|
isLoading: boolean;
|
|
22
22
|
errorMessage: import("react").ReactNode;
|
|
23
|
-
|
|
23
|
+
activeEmbeddable: {
|
|
24
24
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
25
25
|
state: "active" | "hover";
|
|
26
26
|
} | null;
|
|
@@ -32,7 +32,12 @@ export declare const actionDeleteSelected: {
|
|
|
32
32
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
33
33
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
34
34
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
35
|
-
|
|
35
|
+
frameRendering: {
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
name: boolean;
|
|
38
|
+
outline: boolean;
|
|
39
|
+
clip: boolean;
|
|
40
|
+
};
|
|
36
41
|
editingFrame: string | null;
|
|
37
42
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
38
43
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -40,7 +45,7 @@ export declare const actionDeleteSelected: {
|
|
|
40
45
|
lastActiveTool: import("../types").LastActiveTool;
|
|
41
46
|
locked: boolean;
|
|
42
47
|
} & ({
|
|
43
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
48
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
44
49
|
customType: null;
|
|
45
50
|
} | {
|
|
46
51
|
type: "custom";
|
|
@@ -188,7 +193,7 @@ export declare const actionDeleteSelected: {
|
|
|
188
193
|
showWelcomeScreen: boolean;
|
|
189
194
|
isLoading: boolean;
|
|
190
195
|
errorMessage: import("react").ReactNode;
|
|
191
|
-
|
|
196
|
+
activeEmbeddable: {
|
|
192
197
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
193
198
|
state: "active" | "hover";
|
|
194
199
|
} | null;
|
|
@@ -200,7 +205,12 @@ export declare const actionDeleteSelected: {
|
|
|
200
205
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
201
206
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
202
207
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
203
|
-
|
|
208
|
+
frameRendering: {
|
|
209
|
+
enabled: boolean;
|
|
210
|
+
name: boolean;
|
|
211
|
+
outline: boolean;
|
|
212
|
+
clip: boolean;
|
|
213
|
+
};
|
|
204
214
|
editingFrame: string | null;
|
|
205
215
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
206
216
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -208,7 +218,7 @@ export declare const actionDeleteSelected: {
|
|
|
208
218
|
lastActiveTool: import("../types").LastActiveTool;
|
|
209
219
|
locked: boolean;
|
|
210
220
|
} & ({
|
|
211
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
221
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
212
222
|
customType: null;
|
|
213
223
|
} | {
|
|
214
224
|
type: "custom";
|
|
@@ -323,14 +333,14 @@ export declare const actionDeleteSelected: {
|
|
|
323
333
|
lastActiveTool: import("../types").LastActiveTool;
|
|
324
334
|
locked: boolean;
|
|
325
335
|
} & ({
|
|
326
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
336
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
327
337
|
customType: null;
|
|
328
338
|
} | {
|
|
329
339
|
type: "custom";
|
|
330
340
|
customType: string;
|
|
331
341
|
});
|
|
332
342
|
multiElement: null;
|
|
333
|
-
|
|
343
|
+
activeEmbeddable: null;
|
|
334
344
|
selectedElementIds: {};
|
|
335
345
|
contextMenu: {
|
|
336
346
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -347,7 +357,12 @@ export declare const actionDeleteSelected: {
|
|
|
347
357
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
348
358
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
349
359
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
350
|
-
|
|
360
|
+
frameRendering: {
|
|
361
|
+
enabled: boolean;
|
|
362
|
+
name: boolean;
|
|
363
|
+
outline: boolean;
|
|
364
|
+
clip: boolean;
|
|
365
|
+
};
|
|
351
366
|
editingFrame: string | null;
|
|
352
367
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
353
368
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -18,7 +18,7 @@ export declare const actionToggleElementLock: {
|
|
|
18
18
|
showWelcomeScreen: boolean;
|
|
19
19
|
isLoading: boolean;
|
|
20
20
|
errorMessage: import("react").ReactNode;
|
|
21
|
-
|
|
21
|
+
activeEmbeddable: {
|
|
22
22
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
23
23
|
state: "active" | "hover";
|
|
24
24
|
} | null;
|
|
@@ -30,7 +30,12 @@ export declare const actionToggleElementLock: {
|
|
|
30
30
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
31
31
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
32
32
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
33
|
-
|
|
33
|
+
frameRendering: {
|
|
34
|
+
enabled: boolean;
|
|
35
|
+
name: boolean;
|
|
36
|
+
outline: boolean;
|
|
37
|
+
clip: boolean;
|
|
38
|
+
};
|
|
34
39
|
editingFrame: string | null;
|
|
35
40
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
36
41
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -39,7 +44,7 @@ export declare const actionToggleElementLock: {
|
|
|
39
44
|
lastActiveTool: import("../types").LastActiveTool;
|
|
40
45
|
locked: boolean;
|
|
41
46
|
} & ({
|
|
42
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
47
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
43
48
|
customType: null;
|
|
44
49
|
} | {
|
|
45
50
|
type: "custom";
|
|
@@ -173,7 +178,7 @@ export declare const actionUnlockAllElements: {
|
|
|
173
178
|
showWelcomeScreen: boolean;
|
|
174
179
|
isLoading: boolean;
|
|
175
180
|
errorMessage: import("react").ReactNode;
|
|
176
|
-
|
|
181
|
+
activeEmbeddable: {
|
|
177
182
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
178
183
|
state: "active" | "hover";
|
|
179
184
|
} | null;
|
|
@@ -185,7 +190,12 @@ export declare const actionUnlockAllElements: {
|
|
|
185
190
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
186
191
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
187
192
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
188
|
-
|
|
193
|
+
frameRendering: {
|
|
194
|
+
enabled: boolean;
|
|
195
|
+
name: boolean;
|
|
196
|
+
outline: boolean;
|
|
197
|
+
clip: boolean;
|
|
198
|
+
};
|
|
189
199
|
editingFrame: string | null;
|
|
190
200
|
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
191
201
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -194,7 +204,7 @@ export declare const actionUnlockAllElements: {
|
|
|
194
204
|
lastActiveTool: import("../types").LastActiveTool;
|
|
195
205
|
locked: boolean;
|
|
196
206
|
} & ({
|
|
197
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
207
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
198
208
|
customType: null;
|
|
199
209
|
} | {
|
|
200
210
|
type: "custom";
|
|
@@ -14,7 +14,7 @@ export declare const actionChangeProjectName: {
|
|
|
14
14
|
showWelcomeScreen: boolean;
|
|
15
15
|
isLoading: boolean;
|
|
16
16
|
errorMessage: import("react").ReactNode;
|
|
17
|
-
|
|
17
|
+
activeEmbeddable: {
|
|
18
18
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
19
19
|
state: "active" | "hover";
|
|
20
20
|
} | null;
|
|
@@ -26,7 +26,12 @@ export declare const actionChangeProjectName: {
|
|
|
26
26
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
27
27
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
28
28
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
29
|
-
|
|
29
|
+
frameRendering: {
|
|
30
|
+
enabled: boolean;
|
|
31
|
+
name: boolean;
|
|
32
|
+
outline: boolean;
|
|
33
|
+
clip: boolean;
|
|
34
|
+
};
|
|
30
35
|
editingFrame: string | null;
|
|
31
36
|
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
32
37
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -35,7 +40,7 @@ export declare const actionChangeProjectName: {
|
|
|
35
40
|
lastActiveTool: import("../types").LastActiveTool;
|
|
36
41
|
locked: boolean;
|
|
37
42
|
} & ({
|
|
38
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
43
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
39
44
|
customType: null;
|
|
40
45
|
} | {
|
|
41
46
|
type: "custom";
|
|
@@ -164,7 +169,7 @@ export declare const actionChangeExportScale: {
|
|
|
164
169
|
showWelcomeScreen: boolean;
|
|
165
170
|
isLoading: boolean;
|
|
166
171
|
errorMessage: import("react").ReactNode;
|
|
167
|
-
|
|
172
|
+
activeEmbeddable: {
|
|
168
173
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
169
174
|
state: "active" | "hover";
|
|
170
175
|
} | null;
|
|
@@ -176,7 +181,12 @@ export declare const actionChangeExportScale: {
|
|
|
176
181
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
177
182
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
178
183
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
179
|
-
|
|
184
|
+
frameRendering: {
|
|
185
|
+
enabled: boolean;
|
|
186
|
+
name: boolean;
|
|
187
|
+
outline: boolean;
|
|
188
|
+
clip: boolean;
|
|
189
|
+
};
|
|
180
190
|
editingFrame: string | null;
|
|
181
191
|
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
182
192
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -185,7 +195,7 @@ export declare const actionChangeExportScale: {
|
|
|
185
195
|
lastActiveTool: import("../types").LastActiveTool;
|
|
186
196
|
locked: boolean;
|
|
187
197
|
} & ({
|
|
188
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
198
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
189
199
|
customType: null;
|
|
190
200
|
} | {
|
|
191
201
|
type: "custom";
|
|
@@ -314,7 +324,7 @@ export declare const actionChangeExportBackground: {
|
|
|
314
324
|
showWelcomeScreen: boolean;
|
|
315
325
|
isLoading: boolean;
|
|
316
326
|
errorMessage: import("react").ReactNode;
|
|
317
|
-
|
|
327
|
+
activeEmbeddable: {
|
|
318
328
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
319
329
|
state: "active" | "hover";
|
|
320
330
|
} | null;
|
|
@@ -326,7 +336,12 @@ export declare const actionChangeExportBackground: {
|
|
|
326
336
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
327
337
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
328
338
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
329
|
-
|
|
339
|
+
frameRendering: {
|
|
340
|
+
enabled: boolean;
|
|
341
|
+
name: boolean;
|
|
342
|
+
outline: boolean;
|
|
343
|
+
clip: boolean;
|
|
344
|
+
};
|
|
330
345
|
editingFrame: string | null;
|
|
331
346
|
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
332
347
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -335,7 +350,7 @@ export declare const actionChangeExportBackground: {
|
|
|
335
350
|
lastActiveTool: import("../types").LastActiveTool;
|
|
336
351
|
locked: boolean;
|
|
337
352
|
} & ({
|
|
338
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
353
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
339
354
|
customType: null;
|
|
340
355
|
} | {
|
|
341
356
|
type: "custom";
|
|
@@ -464,7 +479,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
464
479
|
showWelcomeScreen: boolean;
|
|
465
480
|
isLoading: boolean;
|
|
466
481
|
errorMessage: import("react").ReactNode;
|
|
467
|
-
|
|
482
|
+
activeEmbeddable: {
|
|
468
483
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
469
484
|
state: "active" | "hover";
|
|
470
485
|
} | null;
|
|
@@ -476,7 +491,12 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
476
491
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
477
492
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
478
493
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
479
|
-
|
|
494
|
+
frameRendering: {
|
|
495
|
+
enabled: boolean;
|
|
496
|
+
name: boolean;
|
|
497
|
+
outline: boolean;
|
|
498
|
+
clip: boolean;
|
|
499
|
+
};
|
|
480
500
|
editingFrame: string | null;
|
|
481
501
|
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
482
502
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -485,7 +505,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
485
505
|
lastActiveTool: import("../types").LastActiveTool;
|
|
486
506
|
locked: boolean;
|
|
487
507
|
} & ({
|
|
488
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
508
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
489
509
|
customType: null;
|
|
490
510
|
} | {
|
|
491
511
|
type: "custom";
|
|
@@ -618,7 +638,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
618
638
|
showWelcomeScreen: boolean;
|
|
619
639
|
isLoading: boolean;
|
|
620
640
|
errorMessage: import("react").ReactNode;
|
|
621
|
-
|
|
641
|
+
activeEmbeddable: {
|
|
622
642
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
623
643
|
state: "active" | "hover";
|
|
624
644
|
} | null;
|
|
@@ -630,7 +650,12 @@ export declare const actionSaveToActiveFile: {
|
|
|
630
650
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
631
651
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
632
652
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
633
|
-
|
|
653
|
+
frameRendering: {
|
|
654
|
+
enabled: boolean;
|
|
655
|
+
name: boolean;
|
|
656
|
+
outline: boolean;
|
|
657
|
+
clip: boolean;
|
|
658
|
+
};
|
|
634
659
|
editingFrame: string | null;
|
|
635
660
|
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
636
661
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -639,7 +664,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
639
664
|
lastActiveTool: import("../types").LastActiveTool;
|
|
640
665
|
locked: boolean;
|
|
641
666
|
} & ({
|
|
642
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
667
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
643
668
|
customType: null;
|
|
644
669
|
} | {
|
|
645
670
|
type: "custom";
|
|
@@ -766,7 +791,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
766
791
|
showWelcomeScreen: boolean;
|
|
767
792
|
isLoading: boolean;
|
|
768
793
|
errorMessage: import("react").ReactNode;
|
|
769
|
-
|
|
794
|
+
activeEmbeddable: {
|
|
770
795
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
771
796
|
state: "active" | "hover";
|
|
772
797
|
} | null;
|
|
@@ -778,7 +803,12 @@ export declare const actionSaveFileToDisk: {
|
|
|
778
803
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
779
804
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
780
805
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
781
|
-
|
|
806
|
+
frameRendering: {
|
|
807
|
+
enabled: boolean;
|
|
808
|
+
name: boolean;
|
|
809
|
+
outline: boolean;
|
|
810
|
+
clip: boolean;
|
|
811
|
+
};
|
|
782
812
|
editingFrame: string | null;
|
|
783
813
|
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
784
814
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -787,7 +817,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
787
817
|
lastActiveTool: import("../types").LastActiveTool;
|
|
788
818
|
locked: boolean;
|
|
789
819
|
} & ({
|
|
790
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
820
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
791
821
|
customType: null;
|
|
792
822
|
} | {
|
|
793
823
|
type: "custom";
|
|
@@ -917,7 +947,7 @@ export declare const actionLoadScene: {
|
|
|
917
947
|
lastActiveTool: import("../types").LastActiveTool;
|
|
918
948
|
locked: boolean;
|
|
919
949
|
} & ({
|
|
920
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
950
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
921
951
|
customType: null;
|
|
922
952
|
} | {
|
|
923
953
|
type: "custom";
|
|
@@ -931,7 +961,7 @@ export declare const actionLoadScene: {
|
|
|
931
961
|
showWelcomeScreen: boolean;
|
|
932
962
|
isLoading: boolean;
|
|
933
963
|
errorMessage: import("react").ReactNode;
|
|
934
|
-
|
|
964
|
+
activeEmbeddable: {
|
|
935
965
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
936
966
|
state: "active" | "hover";
|
|
937
967
|
} | null;
|
|
@@ -943,7 +973,12 @@ export declare const actionLoadScene: {
|
|
|
943
973
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
944
974
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
945
975
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
946
|
-
|
|
976
|
+
frameRendering: {
|
|
977
|
+
enabled: boolean;
|
|
978
|
+
name: boolean;
|
|
979
|
+
outline: boolean;
|
|
980
|
+
clip: boolean;
|
|
981
|
+
};
|
|
947
982
|
editingFrame: string | null;
|
|
948
983
|
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
949
984
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1056,7 +1091,7 @@ export declare const actionLoadScene: {
|
|
|
1056
1091
|
} | null;
|
|
1057
1092
|
showWelcomeScreen: boolean;
|
|
1058
1093
|
isLoading: boolean;
|
|
1059
|
-
|
|
1094
|
+
activeEmbeddable: {
|
|
1060
1095
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1061
1096
|
state: "active" | "hover";
|
|
1062
1097
|
} | null;
|
|
@@ -1068,7 +1103,12 @@ export declare const actionLoadScene: {
|
|
|
1068
1103
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1069
1104
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1070
1105
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
1071
|
-
|
|
1106
|
+
frameRendering: {
|
|
1107
|
+
enabled: boolean;
|
|
1108
|
+
name: boolean;
|
|
1109
|
+
outline: boolean;
|
|
1110
|
+
clip: boolean;
|
|
1111
|
+
};
|
|
1072
1112
|
editingFrame: string | null;
|
|
1073
1113
|
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
1074
1114
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1077,7 +1117,7 @@ export declare const actionLoadScene: {
|
|
|
1077
1117
|
lastActiveTool: import("../types").LastActiveTool;
|
|
1078
1118
|
locked: boolean;
|
|
1079
1119
|
} & ({
|
|
1080
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
1120
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1081
1121
|
customType: null;
|
|
1082
1122
|
} | {
|
|
1083
1123
|
type: "custom";
|
|
@@ -1208,7 +1248,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1208
1248
|
showWelcomeScreen: boolean;
|
|
1209
1249
|
isLoading: boolean;
|
|
1210
1250
|
errorMessage: import("react").ReactNode;
|
|
1211
|
-
|
|
1251
|
+
activeEmbeddable: {
|
|
1212
1252
|
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1213
1253
|
state: "active" | "hover";
|
|
1214
1254
|
} | null;
|
|
@@ -1220,7 +1260,12 @@ export declare const actionExportWithDarkMode: {
|
|
|
1220
1260
|
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1221
1261
|
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1222
1262
|
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
|
|
1223
|
-
|
|
1263
|
+
frameRendering: {
|
|
1264
|
+
enabled: boolean;
|
|
1265
|
+
name: boolean;
|
|
1266
|
+
outline: boolean;
|
|
1267
|
+
clip: boolean;
|
|
1268
|
+
};
|
|
1224
1269
|
editingFrame: string | null;
|
|
1225
1270
|
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
1226
1271
|
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1229,7 +1274,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1229
1274
|
lastActiveTool: import("../types").LastActiveTool;
|
|
1230
1275
|
locked: boolean;
|
|
1231
1276
|
} & ({
|
|
1232
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "
|
|
1277
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1233
1278
|
customType: null;
|
|
1234
1279
|
} | {
|
|
1235
1280
|
type: "custom";
|