@excalidraw/excalidraw 0.15.2-6546-a6b389c → 0.15.2-6546-3398d86
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 +19 -0
- package/dist/excalidraw-assets/locales/{es-ES-json-f2467c6a875a9e288756.js → es-ES-json-4f3da97feff33cb00e6d.js} +1 -1
- package/dist/excalidraw-assets/locales/{hi-IN-json-e22f4ad73126c2971850.js → hi-IN-json-3898c9c1216b44476529.js} +1 -1
- package/dist/excalidraw-assets/locales/{id-ID-json-0e69caf5d919807ed234.js → id-ID-json-43d505d7071a0e359681.js} +1 -1
- package/dist/excalidraw-assets/locales/{kk-KZ-json-106d2a41c68f69765668.js → kk-KZ-json-f648362328b839e9313f.js} +1 -1
- package/dist/excalidraw-assets/locales/{pa-IN-json-0fd029451b07248c5194.js → pa-IN-json-d9ee09801ed220840b2b.js} +1 -1
- package/dist/excalidraw-assets/{vendor-53d1c69ef585b6dd219b.js → vendor-ef3c5d81a00ef582b871.js} +2 -2
- package/dist/excalidraw-assets-dev/{vendor-e6df8519da951026ff69.js → vendor-a14cd58fa2db417e42b2.js} +6 -6
- package/dist/excalidraw.development.js +2163 -2119
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +15 -0
- package/package.json +7 -2
- package/types/actions/actionAddToLibrary.d.ts +21 -10
- package/types/actions/actionAlign.d.ts +0 -1
- package/types/actions/actionBoundText.d.ts +14 -7
- package/types/actions/actionCanvas.d.ts +76 -39
- package/types/actions/actionClipboard.d.ts +32 -16
- package/types/actions/actionDeleteSelected.d.ts +18 -10
- package/types/actions/actionDistribute.d.ts +0 -1
- package/types/actions/actionDuplicateSelection.d.ts +0 -1
- package/types/actions/actionElementLock.d.ts +14 -7
- package/types/actions/actionExport.d.ts +71 -35
- package/types/actions/actionFinalize.d.ts +11 -7
- package/types/actions/actionFlip.d.ts +0 -1
- package/types/actions/actionFrame.d.ts +21 -10
- package/types/actions/actionGroup.d.ts +0 -1
- package/types/actions/actionLinearEditor.d.ts +7 -4
- package/types/actions/actionMenu.d.ts +21 -10
- package/types/actions/actionProperties.d.ts +91 -40
- package/types/actions/actionSelectAll.d.ts +0 -1
- package/types/actions/actionStyles.d.ts +7 -4
- package/types/actions/actionToggleGridMode.d.ts +7 -4
- package/types/actions/actionToggleStats.d.ts +7 -4
- package/types/actions/actionToggleViewMode.d.ts +7 -4
- package/types/actions/actionToggleZenMode.d.ts +7 -4
- package/types/actions/types.d.ts +1 -1
- package/types/appState.d.ts +3 -3
- package/types/colors.d.ts +9 -9
- package/types/components/App.d.ts +10 -0
- package/types/components/Button.d.ts +0 -1
- package/types/components/Card.d.ts +0 -1
- package/types/components/ColorPicker/keyboardNavHandlers.d.ts +0 -1
- package/types/components/DefaultSidebar.d.ts +0 -1
- package/types/components/EyeDropper.d.ts +0 -1
- package/types/components/LibraryMenuHeaderContent.d.ts +0 -1
- package/types/components/LibraryUnit.d.ts +0 -1
- package/types/components/LoadingMessage.d.ts +0 -1
- package/types/components/Section.d.ts +1 -1
- package/types/components/Sidebar/SidebarTab.d.ts +0 -1
- package/types/components/Sidebar/SidebarTabTrigger.d.ts +0 -1
- package/types/components/Sidebar/SidebarTabTriggers.d.ts +0 -1
- package/types/components/Sidebar/SidebarTabs.d.ts +0 -1
- package/types/components/Stack.d.ts +2 -2
- package/types/components/Trans.d.ts +2 -1
- package/types/components/dropdownMenu/DropdownMenuTrigger.d.ts +0 -1
- package/types/components/icons.d.ts +1 -0
- package/types/components/live-collaboration/LiveCollaborationTrigger.d.ts +0 -1
- package/types/components/welcome-screen/WelcomeScreen.Center.d.ts +0 -1
- package/types/components/welcome-screen/WelcomeScreen.d.ts +0 -1
- package/types/constants.d.ts +16 -3
- package/types/data/transform.d.ts +8 -11
- package/types/data/url.d.ts +5 -0
- package/types/element/Hyperlink.d.ts +16 -7
- package/types/element/collision.d.ts +2 -2
- package/types/element/embeddable.d.ts +153 -0
- package/types/element/linearElementEditor.d.ts +8 -5
- package/types/element/newElement.d.ts +5 -2
- package/types/element/textElement.d.ts +4 -7
- package/types/element/transformHandles.d.ts +1 -1
- package/types/element/typeChecks.d.ts +2 -1
- package/types/element/types.d.ts +13 -2
- package/types/hooks/useOutsideClick.d.ts +0 -1
- package/types/hooks/useScrollPosition.d.ts +0 -1
- package/types/i18n.d.ts +5 -2
- package/types/keys.d.ts +1 -0
- package/types/packages/excalidraw/example/initialData.d.ts +2 -1
- package/types/packages/excalidraw/index.d.ts +1 -0
- package/types/packages/excalidraw/webpack.dev.config.d.ts +5 -2
- package/types/packages/excalidraw/webpack.prod.config.d.ts +3 -0
- package/types/packages/utils.d.ts +2 -1
- package/types/renderer/renderElement.d.ts +1 -1
- package/types/renderer/renderScene.d.ts +2 -1
- package/types/scene/export.d.ts +1 -0
- package/types/types.d.ts +9 -3
- package/types/utility-types.d.ts +1 -1
- package/types/utils.d.ts +2 -1
- /package/dist/excalidraw-assets/{vendor-53d1c69ef585b6dd219b.js.LICENSE.txt → vendor-ef3c5d81a00ef582b871.js.LICENSE.txt} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{es-ES-json-f2467c6a875a9e288756.d.ts → es-ES-json-4f3da97feff33cb00e6d.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hi-IN-json-e22f4ad73126c2971850.d.ts → hi-IN-json-3898c9c1216b44476529.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{id-ID-json-0e69caf5d919807ed234.d.ts → id-ID-json-43d505d7071a0e359681.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kk-KZ-json-106d2a41c68f69765668.d.ts → kk-KZ-json-f648362328b839e9313f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pa-IN-json-0fd029451b07248c5194.d.ts → pa-IN-json-d9ee09801ed220840b2b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/{vendor-53d1c69ef585b6dd219b.d.ts → vendor-ef3c5d81a00ef582b871.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/{vendor-e6df8519da951026ff69.d.ts → vendor-a14cd58fa2db417e42b2.d.ts} +0 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AppState } from "../../src/types";
|
|
3
2
|
import { Arrowhead, ExcalidrawElement, ExcalidrawLinearElement } from "../element/types";
|
|
4
3
|
export declare const actionChangeStrokeColor: {
|
|
@@ -32,6 +31,10 @@ export declare const actionChangeFillStyle: {
|
|
|
32
31
|
showWelcomeScreen: boolean;
|
|
33
32
|
isLoading: boolean;
|
|
34
33
|
errorMessage: import("react").ReactNode;
|
|
34
|
+
activeEmbeddable: {
|
|
35
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
36
|
+
state: "active" | "hover";
|
|
37
|
+
} | null;
|
|
35
38
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
36
39
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
37
40
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -54,7 +57,7 @@ export declare const actionChangeFillStyle: {
|
|
|
54
57
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
55
58
|
locked: boolean;
|
|
56
59
|
} & ({
|
|
57
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
60
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
58
61
|
customType: null;
|
|
59
62
|
} | {
|
|
60
63
|
type: "custom";
|
|
@@ -112,7 +115,7 @@ export declare const actionChangeFillStyle: {
|
|
|
112
115
|
duration?: number | undefined;
|
|
113
116
|
} | null;
|
|
114
117
|
zenModeEnabled: boolean;
|
|
115
|
-
theme:
|
|
118
|
+
theme: import("../element/types").Theme;
|
|
116
119
|
gridSize: number | null;
|
|
117
120
|
viewModeEnabled: boolean;
|
|
118
121
|
selectedGroupIds: {
|
|
@@ -135,7 +138,7 @@ export declare const actionChangeFillStyle: {
|
|
|
135
138
|
data: import("../charts").Spreadsheet;
|
|
136
139
|
};
|
|
137
140
|
pendingImageElementId: string | null;
|
|
138
|
-
showHyperlinkPopup: false | "
|
|
141
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
139
142
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
140
143
|
};
|
|
141
144
|
commitToHistory: true;
|
|
@@ -159,6 +162,10 @@ export declare const actionChangeStrokeWidth: {
|
|
|
159
162
|
showWelcomeScreen: boolean;
|
|
160
163
|
isLoading: boolean;
|
|
161
164
|
errorMessage: import("react").ReactNode;
|
|
165
|
+
activeEmbeddable: {
|
|
166
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
167
|
+
state: "active" | "hover";
|
|
168
|
+
} | null;
|
|
162
169
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
163
170
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
164
171
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -181,7 +188,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
181
188
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
182
189
|
locked: boolean;
|
|
183
190
|
} & ({
|
|
184
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
191
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
185
192
|
customType: null;
|
|
186
193
|
} | {
|
|
187
194
|
type: "custom";
|
|
@@ -239,7 +246,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
239
246
|
duration?: number | undefined;
|
|
240
247
|
} | null;
|
|
241
248
|
zenModeEnabled: boolean;
|
|
242
|
-
theme:
|
|
249
|
+
theme: import("../element/types").Theme;
|
|
243
250
|
gridSize: number | null;
|
|
244
251
|
viewModeEnabled: boolean;
|
|
245
252
|
selectedGroupIds: {
|
|
@@ -262,7 +269,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
262
269
|
data: import("../charts").Spreadsheet;
|
|
263
270
|
};
|
|
264
271
|
pendingImageElementId: string | null;
|
|
265
|
-
showHyperlinkPopup: false | "
|
|
272
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
266
273
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
267
274
|
};
|
|
268
275
|
commitToHistory: true;
|
|
@@ -286,6 +293,10 @@ export declare const actionChangeSloppiness: {
|
|
|
286
293
|
showWelcomeScreen: boolean;
|
|
287
294
|
isLoading: boolean;
|
|
288
295
|
errorMessage: import("react").ReactNode;
|
|
296
|
+
activeEmbeddable: {
|
|
297
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
298
|
+
state: "active" | "hover";
|
|
299
|
+
} | null;
|
|
289
300
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
290
301
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
291
302
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -308,7 +319,7 @@ export declare const actionChangeSloppiness: {
|
|
|
308
319
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
309
320
|
locked: boolean;
|
|
310
321
|
} & ({
|
|
311
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
322
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
312
323
|
customType: null;
|
|
313
324
|
} | {
|
|
314
325
|
type: "custom";
|
|
@@ -366,7 +377,7 @@ export declare const actionChangeSloppiness: {
|
|
|
366
377
|
duration?: number | undefined;
|
|
367
378
|
} | null;
|
|
368
379
|
zenModeEnabled: boolean;
|
|
369
|
-
theme:
|
|
380
|
+
theme: import("../element/types").Theme;
|
|
370
381
|
gridSize: number | null;
|
|
371
382
|
viewModeEnabled: boolean;
|
|
372
383
|
selectedGroupIds: {
|
|
@@ -389,7 +400,7 @@ export declare const actionChangeSloppiness: {
|
|
|
389
400
|
data: import("../charts").Spreadsheet;
|
|
390
401
|
};
|
|
391
402
|
pendingImageElementId: string | null;
|
|
392
|
-
showHyperlinkPopup: false | "
|
|
403
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
393
404
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
394
405
|
};
|
|
395
406
|
commitToHistory: true;
|
|
@@ -413,6 +424,10 @@ export declare const actionChangeStrokeStyle: {
|
|
|
413
424
|
showWelcomeScreen: boolean;
|
|
414
425
|
isLoading: boolean;
|
|
415
426
|
errorMessage: import("react").ReactNode;
|
|
427
|
+
activeEmbeddable: {
|
|
428
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
429
|
+
state: "active" | "hover";
|
|
430
|
+
} | null;
|
|
416
431
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
417
432
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
418
433
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -435,7 +450,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
435
450
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
436
451
|
locked: boolean;
|
|
437
452
|
} & ({
|
|
438
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
453
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
439
454
|
customType: null;
|
|
440
455
|
} | {
|
|
441
456
|
type: "custom";
|
|
@@ -493,7 +508,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
493
508
|
duration?: number | undefined;
|
|
494
509
|
} | null;
|
|
495
510
|
zenModeEnabled: boolean;
|
|
496
|
-
theme:
|
|
511
|
+
theme: import("../element/types").Theme;
|
|
497
512
|
gridSize: number | null;
|
|
498
513
|
viewModeEnabled: boolean;
|
|
499
514
|
selectedGroupIds: {
|
|
@@ -516,7 +531,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
516
531
|
data: import("../charts").Spreadsheet;
|
|
517
532
|
};
|
|
518
533
|
pendingImageElementId: string | null;
|
|
519
|
-
showHyperlinkPopup: false | "
|
|
534
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
520
535
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
521
536
|
};
|
|
522
537
|
commitToHistory: true;
|
|
@@ -540,6 +555,10 @@ export declare const actionChangeOpacity: {
|
|
|
540
555
|
showWelcomeScreen: boolean;
|
|
541
556
|
isLoading: boolean;
|
|
542
557
|
errorMessage: import("react").ReactNode;
|
|
558
|
+
activeEmbeddable: {
|
|
559
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
560
|
+
state: "active" | "hover";
|
|
561
|
+
} | null;
|
|
543
562
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
544
563
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
545
564
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -562,7 +581,7 @@ export declare const actionChangeOpacity: {
|
|
|
562
581
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
563
582
|
locked: boolean;
|
|
564
583
|
} & ({
|
|
565
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
584
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
566
585
|
customType: null;
|
|
567
586
|
} | {
|
|
568
587
|
type: "custom";
|
|
@@ -620,7 +639,7 @@ export declare const actionChangeOpacity: {
|
|
|
620
639
|
duration?: number | undefined;
|
|
621
640
|
} | null;
|
|
622
641
|
zenModeEnabled: boolean;
|
|
623
|
-
theme:
|
|
642
|
+
theme: import("../element/types").Theme;
|
|
624
643
|
gridSize: number | null;
|
|
625
644
|
viewModeEnabled: boolean;
|
|
626
645
|
selectedGroupIds: {
|
|
@@ -643,7 +662,7 @@ export declare const actionChangeOpacity: {
|
|
|
643
662
|
data: import("../charts").Spreadsheet;
|
|
644
663
|
};
|
|
645
664
|
pendingImageElementId: string | null;
|
|
646
|
-
showHyperlinkPopup: false | "
|
|
665
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
647
666
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
648
667
|
};
|
|
649
668
|
commitToHistory: true;
|
|
@@ -667,6 +686,10 @@ export declare const actionChangeFontSize: {
|
|
|
667
686
|
showWelcomeScreen: boolean;
|
|
668
687
|
isLoading: boolean;
|
|
669
688
|
errorMessage: import("react").ReactNode;
|
|
689
|
+
activeEmbeddable: {
|
|
690
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
691
|
+
state: "active" | "hover";
|
|
692
|
+
} | null;
|
|
670
693
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
671
694
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
672
695
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -689,7 +712,7 @@ export declare const actionChangeFontSize: {
|
|
|
689
712
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
690
713
|
locked: boolean;
|
|
691
714
|
} & ({
|
|
692
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
715
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
693
716
|
customType: null;
|
|
694
717
|
} | {
|
|
695
718
|
type: "custom";
|
|
@@ -747,7 +770,7 @@ export declare const actionChangeFontSize: {
|
|
|
747
770
|
duration?: number | undefined;
|
|
748
771
|
} | null;
|
|
749
772
|
zenModeEnabled: boolean;
|
|
750
|
-
theme:
|
|
773
|
+
theme: import("../element/types").Theme;
|
|
751
774
|
gridSize: number | null;
|
|
752
775
|
viewModeEnabled: boolean;
|
|
753
776
|
selectedGroupIds: {
|
|
@@ -770,7 +793,7 @@ export declare const actionChangeFontSize: {
|
|
|
770
793
|
data: import("../charts").Spreadsheet;
|
|
771
794
|
};
|
|
772
795
|
pendingImageElementId: string | null;
|
|
773
|
-
showHyperlinkPopup: false | "
|
|
796
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
774
797
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
775
798
|
};
|
|
776
799
|
commitToHistory: boolean;
|
|
@@ -794,6 +817,10 @@ export declare const actionDecreaseFontSize: {
|
|
|
794
817
|
showWelcomeScreen: boolean;
|
|
795
818
|
isLoading: boolean;
|
|
796
819
|
errorMessage: import("react").ReactNode;
|
|
820
|
+
activeEmbeddable: {
|
|
821
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
822
|
+
state: "active" | "hover";
|
|
823
|
+
} | null;
|
|
797
824
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
798
825
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
799
826
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -816,7 +843,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
816
843
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
817
844
|
locked: boolean;
|
|
818
845
|
} & ({
|
|
819
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
846
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
820
847
|
customType: null;
|
|
821
848
|
} | {
|
|
822
849
|
type: "custom";
|
|
@@ -874,7 +901,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
874
901
|
duration?: number | undefined;
|
|
875
902
|
} | null;
|
|
876
903
|
zenModeEnabled: boolean;
|
|
877
|
-
theme:
|
|
904
|
+
theme: import("../element/types").Theme;
|
|
878
905
|
gridSize: number | null;
|
|
879
906
|
viewModeEnabled: boolean;
|
|
880
907
|
selectedGroupIds: {
|
|
@@ -897,7 +924,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
897
924
|
data: import("../charts").Spreadsheet;
|
|
898
925
|
};
|
|
899
926
|
pendingImageElementId: string | null;
|
|
900
|
-
showHyperlinkPopup: false | "
|
|
927
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
901
928
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
902
929
|
};
|
|
903
930
|
commitToHistory: boolean;
|
|
@@ -921,6 +948,10 @@ export declare const actionIncreaseFontSize: {
|
|
|
921
948
|
showWelcomeScreen: boolean;
|
|
922
949
|
isLoading: boolean;
|
|
923
950
|
errorMessage: import("react").ReactNode;
|
|
951
|
+
activeEmbeddable: {
|
|
952
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
953
|
+
state: "active" | "hover";
|
|
954
|
+
} | null;
|
|
924
955
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
925
956
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
926
957
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -943,7 +974,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
943
974
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
944
975
|
locked: boolean;
|
|
945
976
|
} & ({
|
|
946
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
977
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
947
978
|
customType: null;
|
|
948
979
|
} | {
|
|
949
980
|
type: "custom";
|
|
@@ -1001,7 +1032,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1001
1032
|
duration?: number | undefined;
|
|
1002
1033
|
} | null;
|
|
1003
1034
|
zenModeEnabled: boolean;
|
|
1004
|
-
theme:
|
|
1035
|
+
theme: import("../element/types").Theme;
|
|
1005
1036
|
gridSize: number | null;
|
|
1006
1037
|
viewModeEnabled: boolean;
|
|
1007
1038
|
selectedGroupIds: {
|
|
@@ -1024,7 +1055,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1024
1055
|
data: import("../charts").Spreadsheet;
|
|
1025
1056
|
};
|
|
1026
1057
|
pendingImageElementId: string | null;
|
|
1027
|
-
showHyperlinkPopup: false | "
|
|
1058
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1028
1059
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1029
1060
|
};
|
|
1030
1061
|
commitToHistory: boolean;
|
|
@@ -1048,6 +1079,10 @@ export declare const actionChangeFontFamily: {
|
|
|
1048
1079
|
showWelcomeScreen: boolean;
|
|
1049
1080
|
isLoading: boolean;
|
|
1050
1081
|
errorMessage: import("react").ReactNode;
|
|
1082
|
+
activeEmbeddable: {
|
|
1083
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1084
|
+
state: "active" | "hover";
|
|
1085
|
+
} | null;
|
|
1051
1086
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1052
1087
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1053
1088
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -1070,7 +1105,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1070
1105
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
1071
1106
|
locked: boolean;
|
|
1072
1107
|
} & ({
|
|
1073
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1108
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1074
1109
|
customType: null;
|
|
1075
1110
|
} | {
|
|
1076
1111
|
type: "custom";
|
|
@@ -1128,7 +1163,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1128
1163
|
duration?: number | undefined;
|
|
1129
1164
|
} | null;
|
|
1130
1165
|
zenModeEnabled: boolean;
|
|
1131
|
-
theme:
|
|
1166
|
+
theme: import("../element/types").Theme;
|
|
1132
1167
|
gridSize: number | null;
|
|
1133
1168
|
viewModeEnabled: boolean;
|
|
1134
1169
|
selectedGroupIds: {
|
|
@@ -1151,7 +1186,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1151
1186
|
data: import("../charts").Spreadsheet;
|
|
1152
1187
|
};
|
|
1153
1188
|
pendingImageElementId: string | null;
|
|
1154
|
-
showHyperlinkPopup: false | "
|
|
1189
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1155
1190
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1156
1191
|
};
|
|
1157
1192
|
commitToHistory: true;
|
|
@@ -1175,6 +1210,10 @@ export declare const actionChangeTextAlign: {
|
|
|
1175
1210
|
showWelcomeScreen: boolean;
|
|
1176
1211
|
isLoading: boolean;
|
|
1177
1212
|
errorMessage: import("react").ReactNode;
|
|
1213
|
+
activeEmbeddable: {
|
|
1214
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1215
|
+
state: "active" | "hover";
|
|
1216
|
+
} | null;
|
|
1178
1217
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1179
1218
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1180
1219
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -1197,7 +1236,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1197
1236
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
1198
1237
|
locked: boolean;
|
|
1199
1238
|
} & ({
|
|
1200
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1239
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1201
1240
|
customType: null;
|
|
1202
1241
|
} | {
|
|
1203
1242
|
type: "custom";
|
|
@@ -1255,7 +1294,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1255
1294
|
duration?: number | undefined;
|
|
1256
1295
|
} | null;
|
|
1257
1296
|
zenModeEnabled: boolean;
|
|
1258
|
-
theme:
|
|
1297
|
+
theme: import("../element/types").Theme;
|
|
1259
1298
|
gridSize: number | null;
|
|
1260
1299
|
viewModeEnabled: boolean;
|
|
1261
1300
|
selectedGroupIds: {
|
|
@@ -1278,7 +1317,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1278
1317
|
data: import("../charts").Spreadsheet;
|
|
1279
1318
|
};
|
|
1280
1319
|
pendingImageElementId: string | null;
|
|
1281
|
-
showHyperlinkPopup: false | "
|
|
1320
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1282
1321
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1283
1322
|
};
|
|
1284
1323
|
commitToHistory: true;
|
|
@@ -1303,6 +1342,10 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1303
1342
|
showWelcomeScreen: boolean;
|
|
1304
1343
|
isLoading: boolean;
|
|
1305
1344
|
errorMessage: import("react").ReactNode;
|
|
1345
|
+
activeEmbeddable: {
|
|
1346
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1347
|
+
state: "active" | "hover";
|
|
1348
|
+
} | null;
|
|
1306
1349
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1307
1350
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1308
1351
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -1325,7 +1368,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1325
1368
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
1326
1369
|
locked: boolean;
|
|
1327
1370
|
} & ({
|
|
1328
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1371
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1329
1372
|
customType: null;
|
|
1330
1373
|
} | {
|
|
1331
1374
|
type: "custom";
|
|
@@ -1384,7 +1427,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1384
1427
|
duration?: number | undefined;
|
|
1385
1428
|
} | null;
|
|
1386
1429
|
zenModeEnabled: boolean;
|
|
1387
|
-
theme:
|
|
1430
|
+
theme: import("../element/types").Theme;
|
|
1388
1431
|
gridSize: number | null;
|
|
1389
1432
|
viewModeEnabled: boolean;
|
|
1390
1433
|
selectedGroupIds: {
|
|
@@ -1407,7 +1450,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1407
1450
|
data: import("../charts").Spreadsheet;
|
|
1408
1451
|
};
|
|
1409
1452
|
pendingImageElementId: string | null;
|
|
1410
|
-
showHyperlinkPopup: false | "
|
|
1453
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1411
1454
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1412
1455
|
};
|
|
1413
1456
|
commitToHistory: true;
|
|
@@ -1431,6 +1474,10 @@ export declare const actionChangeRoundness: {
|
|
|
1431
1474
|
showWelcomeScreen: boolean;
|
|
1432
1475
|
isLoading: boolean;
|
|
1433
1476
|
errorMessage: import("react").ReactNode;
|
|
1477
|
+
activeEmbeddable: {
|
|
1478
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1479
|
+
state: "active" | "hover";
|
|
1480
|
+
} | null;
|
|
1434
1481
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1435
1482
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1436
1483
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -1453,7 +1500,7 @@ export declare const actionChangeRoundness: {
|
|
|
1453
1500
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
1454
1501
|
locked: boolean;
|
|
1455
1502
|
} & ({
|
|
1456
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1503
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1457
1504
|
customType: null;
|
|
1458
1505
|
} | {
|
|
1459
1506
|
type: "custom";
|
|
@@ -1511,7 +1558,7 @@ export declare const actionChangeRoundness: {
|
|
|
1511
1558
|
duration?: number | undefined;
|
|
1512
1559
|
} | null;
|
|
1513
1560
|
zenModeEnabled: boolean;
|
|
1514
|
-
theme:
|
|
1561
|
+
theme: import("../element/types").Theme;
|
|
1515
1562
|
gridSize: number | null;
|
|
1516
1563
|
viewModeEnabled: boolean;
|
|
1517
1564
|
selectedGroupIds: {
|
|
@@ -1534,7 +1581,7 @@ export declare const actionChangeRoundness: {
|
|
|
1534
1581
|
data: import("../charts").Spreadsheet;
|
|
1535
1582
|
};
|
|
1536
1583
|
pendingImageElementId: string | null;
|
|
1537
|
-
showHyperlinkPopup: false | "
|
|
1584
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1538
1585
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1539
1586
|
};
|
|
1540
1587
|
commitToHistory: true;
|
|
@@ -1560,6 +1607,10 @@ export declare const actionChangeArrowhead: {
|
|
|
1560
1607
|
showWelcomeScreen: boolean;
|
|
1561
1608
|
isLoading: boolean;
|
|
1562
1609
|
errorMessage: import("react").ReactNode;
|
|
1610
|
+
activeEmbeddable: {
|
|
1611
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
1612
|
+
state: "active" | "hover";
|
|
1613
|
+
} | null;
|
|
1563
1614
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1564
1615
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1565
1616
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -1582,7 +1633,7 @@ export declare const actionChangeArrowhead: {
|
|
|
1582
1633
|
lastActiveTool: import("../../src/types").LastActiveTool;
|
|
1583
1634
|
locked: boolean;
|
|
1584
1635
|
} & ({
|
|
1585
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1636
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
1586
1637
|
customType: null;
|
|
1587
1638
|
} | {
|
|
1588
1639
|
type: "custom";
|
|
@@ -1641,7 +1692,7 @@ export declare const actionChangeArrowhead: {
|
|
|
1641
1692
|
duration?: number | undefined;
|
|
1642
1693
|
} | null;
|
|
1643
1694
|
zenModeEnabled: boolean;
|
|
1644
|
-
theme:
|
|
1695
|
+
theme: import("../element/types").Theme;
|
|
1645
1696
|
gridSize: number | null;
|
|
1646
1697
|
viewModeEnabled: boolean;
|
|
1647
1698
|
selectedGroupIds: {
|
|
@@ -1664,7 +1715,7 @@ export declare const actionChangeArrowhead: {
|
|
|
1664
1715
|
data: import("../charts").Spreadsheet;
|
|
1665
1716
|
};
|
|
1666
1717
|
pendingImageElementId: string | null;
|
|
1667
|
-
showHyperlinkPopup: false | "
|
|
1718
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1668
1719
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1669
1720
|
};
|
|
1670
1721
|
commitToHistory: true;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare let copiedStyles: string;
|
|
3
2
|
export declare const actionCopyStyles: {
|
|
4
3
|
name: "copyStyles";
|
|
@@ -18,6 +17,10 @@ export declare const actionCopyStyles: {
|
|
|
18
17
|
showWelcomeScreen: boolean;
|
|
19
18
|
isLoading: boolean;
|
|
20
19
|
errorMessage: import("react").ReactNode;
|
|
20
|
+
activeEmbeddable: {
|
|
21
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
22
|
+
state: "active" | "hover";
|
|
23
|
+
} | null;
|
|
21
24
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
22
25
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
23
26
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -40,7 +43,7 @@ export declare const actionCopyStyles: {
|
|
|
40
43
|
lastActiveTool: import("../types").LastActiveTool;
|
|
41
44
|
locked: boolean;
|
|
42
45
|
} & ({
|
|
43
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
46
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
44
47
|
customType: null;
|
|
45
48
|
} | {
|
|
46
49
|
type: "custom";
|
|
@@ -94,7 +97,7 @@ export declare const actionCopyStyles: {
|
|
|
94
97
|
selectedElementsAreBeingDragged: boolean;
|
|
95
98
|
shouldCacheIgnoreZoom: boolean;
|
|
96
99
|
zenModeEnabled: boolean;
|
|
97
|
-
theme:
|
|
100
|
+
theme: import("../element/types").Theme;
|
|
98
101
|
gridSize: number | null;
|
|
99
102
|
viewModeEnabled: boolean;
|
|
100
103
|
selectedGroupIds: {
|
|
@@ -117,7 +120,7 @@ export declare const actionCopyStyles: {
|
|
|
117
120
|
data: import("../charts").Spreadsheet;
|
|
118
121
|
};
|
|
119
122
|
pendingImageElementId: string | null;
|
|
120
|
-
showHyperlinkPopup: false | "
|
|
123
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
121
124
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
122
125
|
};
|
|
123
126
|
commitToHistory: false;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AppState } from "../types";
|
|
3
2
|
export declare const actionToggleGridMode: {
|
|
4
3
|
name: "gridMode";
|
|
@@ -18,6 +17,10 @@ export declare const actionToggleGridMode: {
|
|
|
18
17
|
showWelcomeScreen: boolean;
|
|
19
18
|
isLoading: boolean;
|
|
20
19
|
errorMessage: import("react").ReactNode;
|
|
20
|
+
activeEmbeddable: {
|
|
21
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
22
|
+
state: "active" | "hover";
|
|
23
|
+
} | null;
|
|
21
24
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
22
25
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
23
26
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -40,7 +43,7 @@ export declare const actionToggleGridMode: {
|
|
|
40
43
|
lastActiveTool: import("../types").LastActiveTool;
|
|
41
44
|
locked: boolean;
|
|
42
45
|
} & ({
|
|
43
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
46
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
44
47
|
customType: null;
|
|
45
48
|
} | {
|
|
46
49
|
type: "custom";
|
|
@@ -99,7 +102,7 @@ export declare const actionToggleGridMode: {
|
|
|
99
102
|
duration?: number | undefined;
|
|
100
103
|
} | null;
|
|
101
104
|
zenModeEnabled: boolean;
|
|
102
|
-
theme:
|
|
105
|
+
theme: import("../element/types").Theme;
|
|
103
106
|
viewModeEnabled: boolean;
|
|
104
107
|
selectedGroupIds: {
|
|
105
108
|
[groupId: string]: boolean;
|
|
@@ -121,7 +124,7 @@ export declare const actionToggleGridMode: {
|
|
|
121
124
|
data: import("../charts").Spreadsheet;
|
|
122
125
|
};
|
|
123
126
|
pendingImageElementId: string | null;
|
|
124
|
-
showHyperlinkPopup: false | "
|
|
127
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
125
128
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
126
129
|
};
|
|
127
130
|
commitToHistory: false;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const actionToggleStats: {
|
|
3
2
|
name: "stats";
|
|
4
3
|
viewMode: true;
|
|
@@ -16,6 +15,10 @@ export declare const actionToggleStats: {
|
|
|
16
15
|
showWelcomeScreen: boolean;
|
|
17
16
|
isLoading: boolean;
|
|
18
17
|
errorMessage: import("react").ReactNode;
|
|
18
|
+
activeEmbeddable: {
|
|
19
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
20
|
+
state: "active" | "hover";
|
|
21
|
+
} | null;
|
|
19
22
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
20
23
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
21
24
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -38,7 +41,7 @@ export declare const actionToggleStats: {
|
|
|
38
41
|
lastActiveTool: import("../types").LastActiveTool;
|
|
39
42
|
locked: boolean;
|
|
40
43
|
} & ({
|
|
41
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
44
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
42
45
|
customType: null;
|
|
43
46
|
} | {
|
|
44
47
|
type: "custom";
|
|
@@ -97,7 +100,7 @@ export declare const actionToggleStats: {
|
|
|
97
100
|
duration?: number | undefined;
|
|
98
101
|
} | null;
|
|
99
102
|
zenModeEnabled: boolean;
|
|
100
|
-
theme:
|
|
103
|
+
theme: import("../element/types").Theme;
|
|
101
104
|
gridSize: number | null;
|
|
102
105
|
viewModeEnabled: boolean;
|
|
103
106
|
selectedGroupIds: {
|
|
@@ -119,7 +122,7 @@ export declare const actionToggleStats: {
|
|
|
119
122
|
data: import("../charts").Spreadsheet;
|
|
120
123
|
};
|
|
121
124
|
pendingImageElementId: string | null;
|
|
122
|
-
showHyperlinkPopup: false | "
|
|
125
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
123
126
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
124
127
|
};
|
|
125
128
|
commitToHistory: false;
|