@excalidraw/element 0.18.0-c158187 → 0.18.0-c1dbbdf
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/dev/index.js +3420 -2566
- package/dist/dev/index.js.map +4 -4
- package/dist/prod/index.js +12 -12
- package/dist/types/common/debug.d.ts +21 -0
- package/dist/types/common/src/colors.d.ts +57 -40
- package/dist/types/common/src/constants.d.ts +4 -0
- package/dist/types/common/src/editorInterface.d.ts +1 -1
- package/dist/types/common/src/index.d.ts +1 -1
- package/dist/types/common/src/utils.d.ts +3 -5
- package/dist/types/element/src/Scene.d.ts +2 -0
- package/dist/types/element/src/arrows/focus.d.ts +27 -0
- package/dist/types/element/src/arrows/helpers.d.ts +5 -0
- package/dist/types/element/src/binding.d.ts +13 -8
- package/dist/types/element/src/collision.d.ts +4 -3
- package/dist/types/element/src/distribute.d.ts +2 -1
- package/dist/types/element/src/elbowArrow.d.ts +2 -0
- package/dist/types/element/src/index.d.ts +2 -0
- package/dist/types/element/src/linearElementEditor.d.ts +5 -0
- package/dist/types/element/src/mutateElement.d.ts +2 -0
- package/dist/types/element/src/types.d.ts +1 -1
- package/dist/types/element/src/utils.d.ts +5 -3
- package/dist/types/{common → element}/src/visualdebug.d.ts +20 -2
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +30 -27
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +20 -18
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +121 -109
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +20 -18
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +10 -9
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +32 -27
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +6 -9
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +20 -18
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +10 -9
- package/dist/types/excalidraw/actions/actionExport.d.ts +42 -42
- package/dist/types/excalidraw/actions/actionFrame.d.ts +40 -36
- package/dist/types/excalidraw/actions/actionGroup.d.ts +20 -18
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +12 -9
- package/dist/types/excalidraw/actions/actionLink.d.ts +10 -9
- package/dist/types/excalidraw/actions/actionMenu.d.ts +6 -9
- package/dist/types/excalidraw/actions/actionProperties.d.ts +20 -18
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +10 -9
- package/dist/types/excalidraw/actions/actionStyles.d.ts +10 -9
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +172 -0
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +10 -9
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +172 -0
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +10 -9
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +6 -9
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +10 -9
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +10 -9
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +10 -9
- package/dist/types/excalidraw/actions/index.d.ts +2 -0
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +9 -7
- package/dist/types/excalidraw/charts/charts.bar.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.constants.d.ts +48 -0
- package/dist/types/excalidraw/charts/charts.helpers.d.ts +32 -0
- package/dist/types/excalidraw/charts/charts.line.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.parse.d.ts +10 -0
- package/dist/types/excalidraw/charts/charts.radar.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.types.d.ts +18 -0
- package/dist/types/excalidraw/charts/index.d.ts +7 -0
- package/dist/types/excalidraw/clipboard.d.ts +4 -4
- package/dist/types/excalidraw/components/App.d.ts +10 -3
- package/dist/types/excalidraw/components/Card.d.ts +1 -2
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +0 -5
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +0 -1
- package/dist/types/excalidraw/components/CommandPalette/types.d.ts +1 -1
- package/dist/types/excalidraw/components/FilledButton.d.ts +1 -0
- package/dist/types/excalidraw/components/PasteChartDialog.d.ts +4 -5
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/Chat/ChatHistoryMenu.d.ts +15 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/ChatInterface.d.ts +23 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/ChatMessage.d.ts +14 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/TTDChatPanel.d.ts +27 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/index.d.ts +3 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/useChatAgent.d.ts +8 -0
- package/dist/types/excalidraw/components/TTDDialog/CodeMirrorEditor.d.ts +11 -0
- package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +3 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDContext.d.ts +13 -0
- package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +12 -28
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +3 -3
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +5 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +13 -9
- package/dist/types/excalidraw/components/TTDDialog/TTDPreviewPanel.d.ts +9 -0
- package/dist/types/excalidraw/components/TTDDialog/TTDWelcomeMessage.d.ts +1 -0
- package/dist/types/excalidraw/components/TTDDialog/TextToDiagram.d.ts +9 -0
- package/dist/types/excalidraw/components/TTDDialog/common.d.ts +14 -13
- package/dist/types/excalidraw/components/TTDDialog/hooks/useChatManagement.d.ts +13 -0
- package/dist/types/excalidraw/components/TTDDialog/hooks/useMermaidRenderer.d.ts +14 -0
- package/dist/types/excalidraw/components/TTDDialog/hooks/useTextGeneration.d.ts +7 -0
- package/dist/types/excalidraw/components/TTDDialog/mermaid-lang-lite.d.ts +2 -0
- package/dist/types/excalidraw/components/TTDDialog/types.d.ts +95 -0
- package/dist/types/excalidraw/components/TTDDialog/useTTDChatStorage.d.ts +22 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/TTDStreamFetch.d.ts +24 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/chat.d.ts +10 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidAutoFix.d.ts +1 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidError.d.ts +10 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidValidation.d.ts +1 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +30 -16
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +3 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +11 -12
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCheckbox.d.ts +5 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +2 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSub.d.ts +23 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSubContent.d.ts +8 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSubTrigger.d.ts +12 -0
- package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +2 -0
- package/dist/types/excalidraw/components/icons.d.ts +11 -2
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +17 -0
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +23 -14
- package/dist/types/excalidraw/components/shapes.d.ts +74 -1
- package/dist/types/excalidraw/data/blob.d.ts +32 -30
- package/dist/types/excalidraw/data/json.d.ts +16 -15
- package/dist/types/excalidraw/errors.d.ts +14 -0
- package/dist/types/excalidraw/index.d.ts +4 -0
- package/dist/types/excalidraw/types.d.ts +24 -13
- package/dist/types/math/src/point.d.ts +6 -1
- package/dist/types/math/src/types.d.ts +25 -1
- package/package.json +9 -3
- package/dist/types/excalidraw/charts.d.ts +0 -27
|
@@ -28,13 +28,6 @@ export declare const actionClearCanvas: {
|
|
|
28
28
|
open: boolean;
|
|
29
29
|
panels: number;
|
|
30
30
|
};
|
|
31
|
-
pasteDialog: {
|
|
32
|
-
shown: false;
|
|
33
|
-
data: null;
|
|
34
|
-
} | {
|
|
35
|
-
shown: true;
|
|
36
|
-
data: import("../charts").Spreadsheet;
|
|
37
|
-
};
|
|
38
31
|
activeTool: {
|
|
39
32
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
40
33
|
locked: boolean;
|
|
@@ -64,6 +57,10 @@ export declare const actionClearCanvas: {
|
|
|
64
57
|
} | {
|
|
65
58
|
name: "elementLinkSelector";
|
|
66
59
|
sourceElementId: ExcalidrawElement["id"];
|
|
60
|
+
} | {
|
|
61
|
+
name: "charts";
|
|
62
|
+
data: import("../charts").Spreadsheet;
|
|
63
|
+
rawText: string;
|
|
67
64
|
};
|
|
68
65
|
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
69
66
|
selectedElementIds: Readonly<{
|
|
@@ -82,7 +79,11 @@ export declare const actionClearCanvas: {
|
|
|
82
79
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
83
80
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
84
81
|
isBindingEnabled: boolean;
|
|
85
|
-
|
|
82
|
+
isMidpointSnappingEnabled: boolean;
|
|
83
|
+
suggestedBinding: {
|
|
84
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
85
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
86
|
+
} | null;
|
|
86
87
|
isRotating: boolean;
|
|
87
88
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
88
89
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
@@ -101,6 +102,7 @@ export declare const actionClearCanvas: {
|
|
|
101
102
|
}>;
|
|
102
103
|
shouldCacheIgnoreZoom: boolean;
|
|
103
104
|
exportScale: number;
|
|
105
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
104
106
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
105
107
|
contextMenu: {
|
|
106
108
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -111,6 +113,7 @@ export declare const actionClearCanvas: {
|
|
|
111
113
|
isLoading: boolean;
|
|
112
114
|
errorMessage: React.ReactNode;
|
|
113
115
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
116
|
+
bindingPreference: "enabled" | "disabled";
|
|
114
117
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
115
118
|
editingFrame: string | null;
|
|
116
119
|
preferredSelectionTool: {
|
|
@@ -132,7 +135,6 @@ export declare const actionClearCanvas: {
|
|
|
132
135
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
133
136
|
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
134
137
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
135
|
-
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
136
138
|
cursorButton: "up" | "down";
|
|
137
139
|
scrolledOutside: boolean;
|
|
138
140
|
isResizing: boolean;
|
|
@@ -154,7 +156,6 @@ export declare const actionClearCanvas: {
|
|
|
154
156
|
duration?: number;
|
|
155
157
|
} | null;
|
|
156
158
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
157
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
158
159
|
showHyperlinkPopup: false | "info" | "editor";
|
|
159
160
|
originSnapOffset: {
|
|
160
161
|
x: number;
|
|
@@ -205,8 +206,13 @@ export declare const actionZoomIn: {
|
|
|
205
206
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
206
207
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
207
208
|
isBindingEnabled: boolean;
|
|
209
|
+
bindingPreference: "enabled" | "disabled";
|
|
210
|
+
isMidpointSnappingEnabled: boolean;
|
|
208
211
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
209
|
-
suggestedBinding:
|
|
212
|
+
suggestedBinding: {
|
|
213
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
214
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
215
|
+
} | null;
|
|
210
216
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
211
217
|
frameRendering: {
|
|
212
218
|
enabled: boolean;
|
|
@@ -271,6 +277,10 @@ export declare const actionZoomIn: {
|
|
|
271
277
|
} | {
|
|
272
278
|
name: "elementLinkSelector";
|
|
273
279
|
sourceElementId: ExcalidrawElement["id"];
|
|
280
|
+
} | {
|
|
281
|
+
name: "charts";
|
|
282
|
+
data: import("../charts").Spreadsheet;
|
|
283
|
+
rawText: string;
|
|
274
284
|
};
|
|
275
285
|
defaultSidebarDockedPreference: boolean;
|
|
276
286
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -310,14 +320,6 @@ export declare const actionZoomIn: {
|
|
|
310
320
|
open: boolean;
|
|
311
321
|
panels: number;
|
|
312
322
|
};
|
|
313
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
314
|
-
pasteDialog: {
|
|
315
|
-
shown: false;
|
|
316
|
-
data: null;
|
|
317
|
-
} | {
|
|
318
|
-
shown: true;
|
|
319
|
-
data: import("../charts").Spreadsheet;
|
|
320
|
-
};
|
|
321
323
|
showHyperlinkPopup: false | "info" | "editor";
|
|
322
324
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
323
325
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -379,8 +381,13 @@ export declare const actionZoomOut: {
|
|
|
379
381
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
380
382
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
381
383
|
isBindingEnabled: boolean;
|
|
384
|
+
bindingPreference: "enabled" | "disabled";
|
|
385
|
+
isMidpointSnappingEnabled: boolean;
|
|
382
386
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
383
|
-
suggestedBinding:
|
|
387
|
+
suggestedBinding: {
|
|
388
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
389
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
390
|
+
} | null;
|
|
384
391
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
385
392
|
frameRendering: {
|
|
386
393
|
enabled: boolean;
|
|
@@ -445,6 +452,10 @@ export declare const actionZoomOut: {
|
|
|
445
452
|
} | {
|
|
446
453
|
name: "elementLinkSelector";
|
|
447
454
|
sourceElementId: ExcalidrawElement["id"];
|
|
455
|
+
} | {
|
|
456
|
+
name: "charts";
|
|
457
|
+
data: import("../charts").Spreadsheet;
|
|
458
|
+
rawText: string;
|
|
448
459
|
};
|
|
449
460
|
defaultSidebarDockedPreference: boolean;
|
|
450
461
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -484,14 +495,6 @@ export declare const actionZoomOut: {
|
|
|
484
495
|
open: boolean;
|
|
485
496
|
panels: number;
|
|
486
497
|
};
|
|
487
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
488
|
-
pasteDialog: {
|
|
489
|
-
shown: false;
|
|
490
|
-
data: null;
|
|
491
|
-
} | {
|
|
492
|
-
shown: true;
|
|
493
|
-
data: import("../charts").Spreadsheet;
|
|
494
|
-
};
|
|
495
498
|
showHyperlinkPopup: false | "info" | "editor";
|
|
496
499
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
497
500
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -553,8 +556,13 @@ export declare const actionResetZoom: {
|
|
|
553
556
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
554
557
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
555
558
|
isBindingEnabled: boolean;
|
|
559
|
+
bindingPreference: "enabled" | "disabled";
|
|
560
|
+
isMidpointSnappingEnabled: boolean;
|
|
556
561
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
557
|
-
suggestedBinding:
|
|
562
|
+
suggestedBinding: {
|
|
563
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
564
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
565
|
+
} | null;
|
|
558
566
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
559
567
|
frameRendering: {
|
|
560
568
|
enabled: boolean;
|
|
@@ -619,6 +627,10 @@ export declare const actionResetZoom: {
|
|
|
619
627
|
} | {
|
|
620
628
|
name: "elementLinkSelector";
|
|
621
629
|
sourceElementId: ExcalidrawElement["id"];
|
|
630
|
+
} | {
|
|
631
|
+
name: "charts";
|
|
632
|
+
data: import("../charts").Spreadsheet;
|
|
633
|
+
rawText: string;
|
|
622
634
|
};
|
|
623
635
|
defaultSidebarDockedPreference: boolean;
|
|
624
636
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -658,14 +670,6 @@ export declare const actionResetZoom: {
|
|
|
658
670
|
open: boolean;
|
|
659
671
|
panels: number;
|
|
660
672
|
};
|
|
661
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
662
|
-
pasteDialog: {
|
|
663
|
-
shown: false;
|
|
664
|
-
data: null;
|
|
665
|
-
} | {
|
|
666
|
-
shown: true;
|
|
667
|
-
data: import("../charts").Spreadsheet;
|
|
668
|
-
};
|
|
669
673
|
showHyperlinkPopup: false | "info" | "editor";
|
|
670
674
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
671
675
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -728,8 +732,13 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
728
732
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
729
733
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
730
734
|
isBindingEnabled: boolean;
|
|
735
|
+
bindingPreference: "enabled" | "disabled";
|
|
736
|
+
isMidpointSnappingEnabled: boolean;
|
|
731
737
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
732
|
-
suggestedBinding:
|
|
738
|
+
suggestedBinding: {
|
|
739
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
740
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
741
|
+
} | null;
|
|
733
742
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
734
743
|
frameRendering: {
|
|
735
744
|
enabled: boolean;
|
|
@@ -794,6 +803,10 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
794
803
|
} | {
|
|
795
804
|
name: "elementLinkSelector";
|
|
796
805
|
sourceElementId: ExcalidrawElement["id"];
|
|
806
|
+
} | {
|
|
807
|
+
name: "charts";
|
|
808
|
+
data: import("../charts").Spreadsheet;
|
|
809
|
+
rawText: string;
|
|
797
810
|
};
|
|
798
811
|
defaultSidebarDockedPreference: boolean;
|
|
799
812
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -833,14 +846,6 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
833
846
|
open: boolean;
|
|
834
847
|
panels: number;
|
|
835
848
|
};
|
|
836
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
837
|
-
pasteDialog: {
|
|
838
|
-
shown: false;
|
|
839
|
-
data: null;
|
|
840
|
-
} | {
|
|
841
|
-
shown: true;
|
|
842
|
-
data: import("../charts").Spreadsheet;
|
|
843
|
-
};
|
|
844
849
|
showHyperlinkPopup: false | "info" | "editor";
|
|
845
850
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
846
851
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -899,8 +904,13 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
899
904
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
900
905
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
901
906
|
isBindingEnabled: boolean;
|
|
907
|
+
bindingPreference: "enabled" | "disabled";
|
|
908
|
+
isMidpointSnappingEnabled: boolean;
|
|
902
909
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
903
|
-
suggestedBinding:
|
|
910
|
+
suggestedBinding: {
|
|
911
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
912
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
913
|
+
} | null;
|
|
904
914
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
905
915
|
frameRendering: {
|
|
906
916
|
enabled: boolean;
|
|
@@ -965,6 +975,10 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
965
975
|
} | {
|
|
966
976
|
name: "elementLinkSelector";
|
|
967
977
|
sourceElementId: ExcalidrawElement["id"];
|
|
978
|
+
} | {
|
|
979
|
+
name: "charts";
|
|
980
|
+
data: import("../charts").Spreadsheet;
|
|
981
|
+
rawText: string;
|
|
968
982
|
};
|
|
969
983
|
defaultSidebarDockedPreference: boolean;
|
|
970
984
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -1004,14 +1018,6 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1004
1018
|
open: boolean;
|
|
1005
1019
|
panels: number;
|
|
1006
1020
|
};
|
|
1007
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1008
|
-
pasteDialog: {
|
|
1009
|
-
shown: false;
|
|
1010
|
-
data: null;
|
|
1011
|
-
} | {
|
|
1012
|
-
shown: true;
|
|
1013
|
-
data: import("../charts").Spreadsheet;
|
|
1014
|
-
};
|
|
1015
1021
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1016
1022
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1017
1023
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1067,8 +1073,13 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1067
1073
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1068
1074
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1069
1075
|
isBindingEnabled: boolean;
|
|
1076
|
+
bindingPreference: "enabled" | "disabled";
|
|
1077
|
+
isMidpointSnappingEnabled: boolean;
|
|
1070
1078
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1071
|
-
suggestedBinding:
|
|
1079
|
+
suggestedBinding: {
|
|
1080
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1081
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1082
|
+
} | null;
|
|
1072
1083
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1073
1084
|
frameRendering: {
|
|
1074
1085
|
enabled: boolean;
|
|
@@ -1133,6 +1144,10 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1133
1144
|
} | {
|
|
1134
1145
|
name: "elementLinkSelector";
|
|
1135
1146
|
sourceElementId: ExcalidrawElement["id"];
|
|
1147
|
+
} | {
|
|
1148
|
+
name: "charts";
|
|
1149
|
+
data: import("../charts").Spreadsheet;
|
|
1150
|
+
rawText: string;
|
|
1136
1151
|
};
|
|
1137
1152
|
defaultSidebarDockedPreference: boolean;
|
|
1138
1153
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -1172,14 +1187,6 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1172
1187
|
open: boolean;
|
|
1173
1188
|
panels: number;
|
|
1174
1189
|
};
|
|
1175
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1176
|
-
pasteDialog: {
|
|
1177
|
-
shown: false;
|
|
1178
|
-
data: null;
|
|
1179
|
-
} | {
|
|
1180
|
-
shown: true;
|
|
1181
|
-
data: import("../charts").Spreadsheet;
|
|
1182
|
-
};
|
|
1183
1190
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1184
1191
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1185
1192
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1239,8 +1246,13 @@ export declare const actionZoomToFitSelection: {
|
|
|
1239
1246
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1240
1247
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1241
1248
|
isBindingEnabled: boolean;
|
|
1249
|
+
bindingPreference: "enabled" | "disabled";
|
|
1250
|
+
isMidpointSnappingEnabled: boolean;
|
|
1242
1251
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1243
|
-
suggestedBinding:
|
|
1252
|
+
suggestedBinding: {
|
|
1253
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1254
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1255
|
+
} | null;
|
|
1244
1256
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1245
1257
|
frameRendering: {
|
|
1246
1258
|
enabled: boolean;
|
|
@@ -1305,6 +1317,10 @@ export declare const actionZoomToFitSelection: {
|
|
|
1305
1317
|
} | {
|
|
1306
1318
|
name: "elementLinkSelector";
|
|
1307
1319
|
sourceElementId: ExcalidrawElement["id"];
|
|
1320
|
+
} | {
|
|
1321
|
+
name: "charts";
|
|
1322
|
+
data: import("../charts").Spreadsheet;
|
|
1323
|
+
rawText: string;
|
|
1308
1324
|
};
|
|
1309
1325
|
defaultSidebarDockedPreference: boolean;
|
|
1310
1326
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -1344,14 +1360,6 @@ export declare const actionZoomToFitSelection: {
|
|
|
1344
1360
|
open: boolean;
|
|
1345
1361
|
panels: number;
|
|
1346
1362
|
};
|
|
1347
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1348
|
-
pasteDialog: {
|
|
1349
|
-
shown: false;
|
|
1350
|
-
data: null;
|
|
1351
|
-
} | {
|
|
1352
|
-
shown: true;
|
|
1353
|
-
data: import("../charts").Spreadsheet;
|
|
1354
|
-
};
|
|
1355
1363
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1356
1364
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1357
1365
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1412,8 +1420,13 @@ export declare const actionZoomToFit: {
|
|
|
1412
1420
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1413
1421
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1414
1422
|
isBindingEnabled: boolean;
|
|
1423
|
+
bindingPreference: "enabled" | "disabled";
|
|
1424
|
+
isMidpointSnappingEnabled: boolean;
|
|
1415
1425
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1416
|
-
suggestedBinding:
|
|
1426
|
+
suggestedBinding: {
|
|
1427
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1428
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1429
|
+
} | null;
|
|
1417
1430
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1418
1431
|
frameRendering: {
|
|
1419
1432
|
enabled: boolean;
|
|
@@ -1478,6 +1491,10 @@ export declare const actionZoomToFit: {
|
|
|
1478
1491
|
} | {
|
|
1479
1492
|
name: "elementLinkSelector";
|
|
1480
1493
|
sourceElementId: ExcalidrawElement["id"];
|
|
1494
|
+
} | {
|
|
1495
|
+
name: "charts";
|
|
1496
|
+
data: import("../charts").Spreadsheet;
|
|
1497
|
+
rawText: string;
|
|
1481
1498
|
};
|
|
1482
1499
|
defaultSidebarDockedPreference: boolean;
|
|
1483
1500
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -1517,14 +1534,6 @@ export declare const actionZoomToFit: {
|
|
|
1517
1534
|
open: boolean;
|
|
1518
1535
|
panels: number;
|
|
1519
1536
|
};
|
|
1520
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1521
|
-
pasteDialog: {
|
|
1522
|
-
shown: false;
|
|
1523
|
-
data: null;
|
|
1524
|
-
} | {
|
|
1525
|
-
shown: true;
|
|
1526
|
-
data: import("../charts").Spreadsheet;
|
|
1527
|
-
};
|
|
1528
1537
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1529
1538
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1530
1539
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1585,8 +1594,13 @@ export declare const actionToggleEraserTool: {
|
|
|
1585
1594
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1586
1595
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1587
1596
|
isBindingEnabled: boolean;
|
|
1597
|
+
bindingPreference: "enabled" | "disabled";
|
|
1598
|
+
isMidpointSnappingEnabled: boolean;
|
|
1588
1599
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1589
|
-
suggestedBinding:
|
|
1600
|
+
suggestedBinding: {
|
|
1601
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1602
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1603
|
+
} | null;
|
|
1590
1604
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1591
1605
|
frameRendering: {
|
|
1592
1606
|
enabled: boolean;
|
|
@@ -1649,6 +1663,10 @@ export declare const actionToggleEraserTool: {
|
|
|
1649
1663
|
} | {
|
|
1650
1664
|
name: "elementLinkSelector";
|
|
1651
1665
|
sourceElementId: ExcalidrawElement["id"];
|
|
1666
|
+
} | {
|
|
1667
|
+
name: "charts";
|
|
1668
|
+
data: import("../charts").Spreadsheet;
|
|
1669
|
+
rawText: string;
|
|
1652
1670
|
};
|
|
1653
1671
|
defaultSidebarDockedPreference: boolean;
|
|
1654
1672
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -1682,14 +1700,6 @@ export declare const actionToggleEraserTool: {
|
|
|
1682
1700
|
open: boolean;
|
|
1683
1701
|
panels: number;
|
|
1684
1702
|
};
|
|
1685
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1686
|
-
pasteDialog: {
|
|
1687
|
-
shown: false;
|
|
1688
|
-
data: null;
|
|
1689
|
-
} | {
|
|
1690
|
-
shown: true;
|
|
1691
|
-
data: import("../charts").Spreadsheet;
|
|
1692
|
-
};
|
|
1693
1703
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1694
1704
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1695
1705
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1749,8 +1759,13 @@ export declare const actionToggleLassoTool: {
|
|
|
1749
1759
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1750
1760
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1751
1761
|
isBindingEnabled: boolean;
|
|
1762
|
+
bindingPreference: "enabled" | "disabled";
|
|
1763
|
+
isMidpointSnappingEnabled: boolean;
|
|
1752
1764
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1753
|
-
suggestedBinding:
|
|
1765
|
+
suggestedBinding: {
|
|
1766
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1767
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1768
|
+
} | null;
|
|
1754
1769
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1755
1770
|
frameRendering: {
|
|
1756
1771
|
enabled: boolean;
|
|
@@ -1813,6 +1828,10 @@ export declare const actionToggleLassoTool: {
|
|
|
1813
1828
|
} | {
|
|
1814
1829
|
name: "elementLinkSelector";
|
|
1815
1830
|
sourceElementId: ExcalidrawElement["id"];
|
|
1831
|
+
} | {
|
|
1832
|
+
name: "charts";
|
|
1833
|
+
data: import("../charts").Spreadsheet;
|
|
1834
|
+
rawText: string;
|
|
1816
1835
|
};
|
|
1817
1836
|
defaultSidebarDockedPreference: boolean;
|
|
1818
1837
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -1846,14 +1865,6 @@ export declare const actionToggleLassoTool: {
|
|
|
1846
1865
|
open: boolean;
|
|
1847
1866
|
panels: number;
|
|
1848
1867
|
};
|
|
1849
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1850
|
-
pasteDialog: {
|
|
1851
|
-
shown: false;
|
|
1852
|
-
data: null;
|
|
1853
|
-
} | {
|
|
1854
|
-
shown: true;
|
|
1855
|
-
data: import("../charts").Spreadsheet;
|
|
1856
|
-
};
|
|
1857
1868
|
showHyperlinkPopup: false | "info" | "editor";
|
|
1858
1869
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1859
1870
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1912,8 +1923,13 @@ export declare const actionToggleHandTool: {
|
|
|
1912
1923
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1913
1924
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1914
1925
|
isBindingEnabled: boolean;
|
|
1926
|
+
bindingPreference: "enabled" | "disabled";
|
|
1927
|
+
isMidpointSnappingEnabled: boolean;
|
|
1915
1928
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1916
|
-
suggestedBinding:
|
|
1929
|
+
suggestedBinding: {
|
|
1930
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1931
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1932
|
+
} | null;
|
|
1917
1933
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1918
1934
|
frameRendering: {
|
|
1919
1935
|
enabled: boolean;
|
|
@@ -1976,6 +1992,10 @@ export declare const actionToggleHandTool: {
|
|
|
1976
1992
|
} | {
|
|
1977
1993
|
name: "elementLinkSelector";
|
|
1978
1994
|
sourceElementId: ExcalidrawElement["id"];
|
|
1995
|
+
} | {
|
|
1996
|
+
name: "charts";
|
|
1997
|
+
data: import("../charts").Spreadsheet;
|
|
1998
|
+
rawText: string;
|
|
1979
1999
|
};
|
|
1980
2000
|
defaultSidebarDockedPreference: boolean;
|
|
1981
2001
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -2009,14 +2029,6 @@ export declare const actionToggleHandTool: {
|
|
|
2009
2029
|
open: boolean;
|
|
2010
2030
|
panels: number;
|
|
2011
2031
|
};
|
|
2012
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
2013
|
-
pasteDialog: {
|
|
2014
|
-
shown: false;
|
|
2015
|
-
data: null;
|
|
2016
|
-
} | {
|
|
2017
|
-
shown: true;
|
|
2018
|
-
data: import("../charts").Spreadsheet;
|
|
2019
|
-
};
|
|
2020
2032
|
showHyperlinkPopup: false | "info" | "editor";
|
|
2021
2033
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2022
2034
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -27,8 +27,13 @@ export declare const actionPaste: {
|
|
|
27
27
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
28
28
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
29
29
|
isBindingEnabled: boolean;
|
|
30
|
+
bindingPreference: "enabled" | "disabled";
|
|
31
|
+
isMidpointSnappingEnabled: boolean;
|
|
30
32
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
31
|
-
suggestedBinding:
|
|
33
|
+
suggestedBinding: {
|
|
34
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
35
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
36
|
+
} | null;
|
|
32
37
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
33
38
|
frameRendering: {
|
|
34
39
|
enabled: boolean;
|
|
@@ -96,6 +101,10 @@ export declare const actionPaste: {
|
|
|
96
101
|
} | {
|
|
97
102
|
name: "elementLinkSelector";
|
|
98
103
|
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
104
|
+
} | {
|
|
105
|
+
name: "charts";
|
|
106
|
+
data: import("../charts").Spreadsheet;
|
|
107
|
+
rawText: string;
|
|
99
108
|
};
|
|
100
109
|
defaultSidebarDockedPreference: boolean;
|
|
101
110
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -135,14 +144,6 @@ export declare const actionPaste: {
|
|
|
135
144
|
open: boolean;
|
|
136
145
|
panels: number;
|
|
137
146
|
};
|
|
138
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
139
|
-
pasteDialog: {
|
|
140
|
-
shown: false;
|
|
141
|
-
data: null;
|
|
142
|
-
} | {
|
|
143
|
-
shown: true;
|
|
144
|
-
data: import("../charts").Spreadsheet;
|
|
145
|
-
};
|
|
146
147
|
showHyperlinkPopup: false | "info" | "editor";
|
|
147
148
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
148
149
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -235,8 +236,13 @@ export declare const actionCopyAsPng: {
|
|
|
235
236
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
236
237
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
237
238
|
isBindingEnabled: boolean;
|
|
239
|
+
bindingPreference: "enabled" | "disabled";
|
|
240
|
+
isMidpointSnappingEnabled: boolean;
|
|
238
241
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
239
|
-
suggestedBinding:
|
|
242
|
+
suggestedBinding: {
|
|
243
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
244
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
245
|
+
} | null;
|
|
240
246
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
241
247
|
frameRendering: {
|
|
242
248
|
enabled: boolean;
|
|
@@ -304,6 +310,10 @@ export declare const actionCopyAsPng: {
|
|
|
304
310
|
} | {
|
|
305
311
|
name: "elementLinkSelector";
|
|
306
312
|
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
313
|
+
} | {
|
|
314
|
+
name: "charts";
|
|
315
|
+
data: import("../charts").Spreadsheet;
|
|
316
|
+
rawText: string;
|
|
307
317
|
};
|
|
308
318
|
defaultSidebarDockedPreference: boolean;
|
|
309
319
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -343,14 +353,6 @@ export declare const actionCopyAsPng: {
|
|
|
343
353
|
open: boolean;
|
|
344
354
|
panels: number;
|
|
345
355
|
};
|
|
346
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
347
|
-
pasteDialog: {
|
|
348
|
-
shown: false;
|
|
349
|
-
data: null;
|
|
350
|
-
} | {
|
|
351
|
-
shown: true;
|
|
352
|
-
data: import("../charts").Spreadsheet;
|
|
353
|
-
};
|
|
354
356
|
showHyperlinkPopup: false | "info" | "editor";
|
|
355
357
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
356
358
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -28,8 +28,13 @@ export declare const actionToggleCropEditor: {
|
|
|
28
28
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
29
29
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
30
30
|
isBindingEnabled: boolean;
|
|
31
|
+
bindingPreference: "enabled" | "disabled";
|
|
32
|
+
isMidpointSnappingEnabled: boolean;
|
|
31
33
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
32
|
-
suggestedBinding:
|
|
34
|
+
suggestedBinding: {
|
|
35
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
36
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
37
|
+
} | null;
|
|
33
38
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
34
39
|
frameRendering: {
|
|
35
40
|
enabled: boolean;
|
|
@@ -97,6 +102,10 @@ export declare const actionToggleCropEditor: {
|
|
|
97
102
|
} | {
|
|
98
103
|
name: "elementLinkSelector";
|
|
99
104
|
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
105
|
+
} | {
|
|
106
|
+
name: "charts";
|
|
107
|
+
data: import("../charts").Spreadsheet;
|
|
108
|
+
rawText: string;
|
|
100
109
|
};
|
|
101
110
|
defaultSidebarDockedPreference: boolean;
|
|
102
111
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -136,14 +145,6 @@ export declare const actionToggleCropEditor: {
|
|
|
136
145
|
open: boolean;
|
|
137
146
|
panels: number;
|
|
138
147
|
};
|
|
139
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
140
|
-
pasteDialog: {
|
|
141
|
-
shown: false;
|
|
142
|
-
data: null;
|
|
143
|
-
} | {
|
|
144
|
-
shown: true;
|
|
145
|
-
data: import("../charts").Spreadsheet;
|
|
146
|
-
};
|
|
147
148
|
showHyperlinkPopup: false | "info" | "editor";
|
|
148
149
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
149
150
|
snapLines: readonly import("../snapping").SnapLine[];
|