@excalidraw/math 0.18.0-508de2f3a → 0.18.0-51ad895
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 +58 -61
- package/dist/dev/index.js.map +3 -3
- package/dist/prod/index.js +1 -1
- package/dist/types/common/src/constants.d.ts +20 -15
- package/dist/types/common/src/editorInterface.d.ts +34 -0
- package/dist/types/common/src/index.d.ts +2 -0
- package/dist/types/common/src/utils.d.ts +9 -3
- package/dist/types/common/src/visualdebug.d.ts +41 -0
- package/dist/types/element/src/binding.d.ts +55 -43
- package/dist/types/element/src/bounds.d.ts +1 -1
- package/dist/types/element/src/collision.d.ts +6 -2
- package/dist/types/element/src/delta.d.ts +4 -5
- package/dist/types/element/src/index.d.ts +1 -3
- package/dist/types/element/src/linearElementEditor.d.ts +15 -18
- package/dist/types/element/src/mutateElement.d.ts +0 -1
- package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
- package/dist/types/element/src/renderElement.d.ts +5 -2
- package/dist/types/element/src/resizeTest.d.ts +5 -4
- package/dist/types/element/src/store.d.ts +5 -0
- package/dist/types/element/src/textElement.d.ts +1 -1
- package/dist/types/element/src/transformHandles.d.ts +5 -4
- package/dist/types/element/src/typeChecks.d.ts +2 -3
- package/dist/types/element/src/types.d.ts +7 -11
- package/dist/types/element/src/utils.d.ts +2 -1
- package/dist/types/element/src/zindex.d.ts +7 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +34 -13
- package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -6
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +25 -11
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +153 -262
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +46 -773
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +12 -5
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +42 -23
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +11 -6
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +23 -9
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +12 -5
- package/dist/types/excalidraw/actions/actionExport.d.ts +68 -943
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +10 -393
- package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionFrame.d.ts +50 -24
- package/dist/types/excalidraw/actions/actionGroup.d.ts +24 -10
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +22 -19
- package/dist/types/excalidraw/actions/actionLink.d.ts +9 -2
- package/dist/types/excalidraw/actions/actionMenu.d.ts +10 -371
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +21 -359
- package/dist/types/excalidraw/actions/actionProperties.d.ts +87 -2403
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +12 -5
- package/dist/types/excalidraw/actions/actionStyles.d.ts +13 -6
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +11 -4
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +11 -4
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +10 -5
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +11 -4
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +11 -4
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +12 -5
- package/dist/types/excalidraw/actions/actionZindex.d.ts +2 -2
- package/dist/types/excalidraw/actions/index.d.ts +2 -2
- package/dist/types/excalidraw/actions/manager.d.ts +1 -1
- package/dist/types/excalidraw/actions/register.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +4 -4
- package/dist/types/excalidraw/appState.d.ts +9 -4
- package/dist/types/excalidraw/clipboard.d.ts +64 -1
- package/dist/types/excalidraw/components/Actions.d.ts +21 -4
- package/dist/types/excalidraw/components/App.d.ts +36 -27
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -1
- package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
- package/dist/types/excalidraw/components/CommandPalette/types.d.ts +1 -2
- package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
- package/dist/types/excalidraw/components/FilledButton.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +3 -1
- package/dist/types/excalidraw/components/HintViewer.d.ts +4 -3
- package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
- package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -5
- package/dist/types/excalidraw/components/MobileToolBar.d.ts +11 -0
- package/dist/types/excalidraw/components/Popover.d.ts +2 -1
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
- package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/TextField.d.ts +1 -0
- package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +6 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +4 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +2 -1
- package/dist/types/excalidraw/components/icons.d.ts +10 -0
- package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +13 -1
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +0 -3
- package/dist/types/excalidraw/components/shapes.d.ts +129 -1
- package/dist/types/excalidraw/data/blob.d.ts +3 -7
- package/dist/types/excalidraw/data/restore.d.ts +3 -3
- package/dist/types/excalidraw/data/types.d.ts +4 -1
- package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +3 -1
- package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
- package/dist/types/excalidraw/index.d.ts +2 -3
- package/dist/types/excalidraw/renderer/animation.d.ts +12 -0
- package/dist/types/excalidraw/renderer/helpers.d.ts +2 -6
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +5 -13
- package/dist/types/excalidraw/scene/types.d.ts +15 -3
- package/dist/types/excalidraw/shortcut.d.ts +1 -0
- package/dist/types/excalidraw/types.d.ts +32 -21
- package/dist/types/math/src/segment.d.ts +1 -0
- package/package.json +2 -2
|
@@ -8,7 +8,7 @@ export declare const actionToggleCropEditor: {
|
|
|
8
8
|
category: "menu";
|
|
9
9
|
};
|
|
10
10
|
keywords: string[];
|
|
11
|
-
perform(elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _:
|
|
11
|
+
perform(elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties): {
|
|
12
12
|
appState: {
|
|
13
13
|
isCropping: false;
|
|
14
14
|
croppingElementId: string;
|
|
@@ -30,7 +30,7 @@ export declare const actionToggleCropEditor: {
|
|
|
30
30
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
31
31
|
isBindingEnabled: boolean;
|
|
32
32
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
33
|
-
|
|
33
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
34
34
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
35
35
|
frameRendering: {
|
|
36
36
|
enabled: boolean;
|
|
@@ -46,6 +46,10 @@ export declare const actionToggleCropEditor: {
|
|
|
46
46
|
locked: boolean;
|
|
47
47
|
fromSelection: boolean;
|
|
48
48
|
} & import("../types").ActiveTool;
|
|
49
|
+
preferredSelectionTool: {
|
|
50
|
+
type: "selection" | "lasso";
|
|
51
|
+
initialized: boolean;
|
|
52
|
+
};
|
|
49
53
|
penMode: boolean;
|
|
50
54
|
penDetected: boolean;
|
|
51
55
|
exportBackground: boolean;
|
|
@@ -78,8 +82,8 @@ export declare const actionToggleCropEditor: {
|
|
|
78
82
|
zoom: Readonly<{
|
|
79
83
|
value: import("../types").NormalizedZoomValue;
|
|
80
84
|
}>;
|
|
81
|
-
openMenu: "canvas" |
|
|
82
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
85
|
+
openMenu: "canvas" | null;
|
|
86
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
83
87
|
openSidebar: {
|
|
84
88
|
name: string;
|
|
85
89
|
tab?: string | undefined;
|
|
@@ -91,6 +95,8 @@ export declare const actionToggleCropEditor: {
|
|
|
91
95
|
tab: "mermaid" | "text-to-diagram";
|
|
92
96
|
} | {
|
|
93
97
|
name: "commandPalette";
|
|
98
|
+
} | {
|
|
99
|
+
name: "settings";
|
|
94
100
|
} | {
|
|
95
101
|
name: "elementLinkSelector";
|
|
96
102
|
sourceElementId: string;
|
|
@@ -160,7 +166,7 @@ export declare const actionToggleCropEditor: {
|
|
|
160
166
|
shown: true;
|
|
161
167
|
data: import("../charts").Spreadsheet;
|
|
162
168
|
};
|
|
163
|
-
showHyperlinkPopup: false | "
|
|
169
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
164
170
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
165
171
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
166
172
|
originSnapOffset: {
|
|
@@ -178,6 +184,7 @@ export declare const actionToggleCropEditor: {
|
|
|
178
184
|
lockedMultiSelections: {
|
|
179
185
|
[groupId: string]: true;
|
|
180
186
|
};
|
|
187
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
181
188
|
};
|
|
182
189
|
captureUpdate: "IMMEDIATELY";
|
|
183
190
|
};
|
|
@@ -9,7 +9,7 @@ export declare const actionDeleteSelected: {
|
|
|
9
9
|
category: "element";
|
|
10
10
|
action: string;
|
|
11
11
|
};
|
|
12
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, formData:
|
|
12
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, formData: unknown, app: AppClassProperties) => false | {
|
|
13
13
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
14
14
|
appState: {
|
|
15
15
|
selectedLinearElement: null;
|
|
@@ -31,7 +31,7 @@ export declare const actionDeleteSelected: {
|
|
|
31
31
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
32
32
|
isBindingEnabled: boolean;
|
|
33
33
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
34
|
-
|
|
34
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
35
35
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
36
36
|
frameRendering: {
|
|
37
37
|
enabled: boolean;
|
|
@@ -47,6 +47,10 @@ export declare const actionDeleteSelected: {
|
|
|
47
47
|
locked: boolean;
|
|
48
48
|
fromSelection: boolean;
|
|
49
49
|
} & import("../types").ActiveTool;
|
|
50
|
+
preferredSelectionTool: {
|
|
51
|
+
type: "selection" | "lasso";
|
|
52
|
+
initialized: boolean;
|
|
53
|
+
};
|
|
50
54
|
penMode: boolean;
|
|
51
55
|
penDetected: boolean;
|
|
52
56
|
exportBackground: boolean;
|
|
@@ -79,8 +83,8 @@ export declare const actionDeleteSelected: {
|
|
|
79
83
|
zoom: Readonly<{
|
|
80
84
|
value: import("../types").NormalizedZoomValue;
|
|
81
85
|
}>;
|
|
82
|
-
openMenu: "canvas" |
|
|
83
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
86
|
+
openMenu: "canvas" | null;
|
|
87
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
84
88
|
openSidebar: {
|
|
85
89
|
name: string;
|
|
86
90
|
tab?: string | undefined;
|
|
@@ -92,6 +96,8 @@ export declare const actionDeleteSelected: {
|
|
|
92
96
|
tab: "mermaid" | "text-to-diagram";
|
|
93
97
|
} | {
|
|
94
98
|
name: "commandPalette";
|
|
99
|
+
} | {
|
|
100
|
+
name: "settings";
|
|
95
101
|
} | {
|
|
96
102
|
name: "elementLinkSelector";
|
|
97
103
|
sourceElementId: string;
|
|
@@ -161,7 +167,7 @@ export declare const actionDeleteSelected: {
|
|
|
161
167
|
shown: true;
|
|
162
168
|
data: import("../charts").Spreadsheet;
|
|
163
169
|
};
|
|
164
|
-
showHyperlinkPopup: false | "
|
|
170
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
165
171
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
166
172
|
originSnapOffset: {
|
|
167
173
|
x: number;
|
|
@@ -180,6 +186,7 @@ export declare const actionDeleteSelected: {
|
|
|
180
186
|
lockedMultiSelections: {
|
|
181
187
|
[groupId: string]: true;
|
|
182
188
|
};
|
|
189
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
183
190
|
};
|
|
184
191
|
captureUpdate: "IMMEDIATELY";
|
|
185
192
|
} | {
|
|
@@ -187,27 +194,24 @@ export declare const actionDeleteSelected: {
|
|
|
187
194
|
appState: {
|
|
188
195
|
selectedLinearElement: {
|
|
189
196
|
selectedPointsIndices: number[];
|
|
190
|
-
startBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
|
|
191
|
-
endBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
|
|
192
197
|
elementId: string & {
|
|
193
198
|
_brand: "excalidrawLinearElementId";
|
|
194
199
|
};
|
|
195
|
-
|
|
200
|
+
initialState: Readonly<{
|
|
196
201
|
prevSelectedPointsIndices: readonly number[] | null;
|
|
197
202
|
lastClickedPoint: number;
|
|
198
|
-
|
|
199
|
-
origin: Readonly<{
|
|
200
|
-
x: number;
|
|
201
|
-
y: number;
|
|
202
|
-
}> | null;
|
|
203
|
+
origin: Readonly<import("@excalidraw/math").GlobalPoint> | null;
|
|
203
204
|
segmentMidpoint: {
|
|
204
205
|
value: import("@excalidraw/math").GlobalPoint | null;
|
|
205
206
|
index: number | null;
|
|
206
207
|
added: boolean;
|
|
207
208
|
};
|
|
209
|
+
arrowStartIsInside: boolean;
|
|
210
|
+
altFocusPoint: Readonly<import("@excalidraw/math").GlobalPoint> | null;
|
|
208
211
|
}>;
|
|
209
212
|
isDragging: boolean;
|
|
210
213
|
lastUncommittedPoint: import("@excalidraw/math").LocalPoint | null;
|
|
214
|
+
lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
|
|
211
215
|
pointerOffset: Readonly<{
|
|
212
216
|
x: number;
|
|
213
217
|
y: number;
|
|
@@ -217,6 +221,7 @@ export declare const actionDeleteSelected: {
|
|
|
217
221
|
elbowed: boolean;
|
|
218
222
|
customLineAngle: number | null;
|
|
219
223
|
isEditing: boolean;
|
|
224
|
+
pointerDownState: never;
|
|
220
225
|
};
|
|
221
226
|
contextMenu: {
|
|
222
227
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -236,7 +241,7 @@ export declare const actionDeleteSelected: {
|
|
|
236
241
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
237
242
|
isBindingEnabled: boolean;
|
|
238
243
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
239
|
-
|
|
244
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
240
245
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
241
246
|
frameRendering: {
|
|
242
247
|
enabled: boolean;
|
|
@@ -252,6 +257,10 @@ export declare const actionDeleteSelected: {
|
|
|
252
257
|
locked: boolean;
|
|
253
258
|
fromSelection: boolean;
|
|
254
259
|
} & import("../types").ActiveTool;
|
|
260
|
+
preferredSelectionTool: {
|
|
261
|
+
type: "selection" | "lasso";
|
|
262
|
+
initialized: boolean;
|
|
263
|
+
};
|
|
255
264
|
penMode: boolean;
|
|
256
265
|
penDetected: boolean;
|
|
257
266
|
exportBackground: boolean;
|
|
@@ -284,8 +293,8 @@ export declare const actionDeleteSelected: {
|
|
|
284
293
|
zoom: Readonly<{
|
|
285
294
|
value: import("../types").NormalizedZoomValue;
|
|
286
295
|
}>;
|
|
287
|
-
openMenu: "canvas" |
|
|
288
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
296
|
+
openMenu: "canvas" | null;
|
|
297
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
289
298
|
openSidebar: {
|
|
290
299
|
name: string;
|
|
291
300
|
tab?: string | undefined;
|
|
@@ -297,6 +306,8 @@ export declare const actionDeleteSelected: {
|
|
|
297
306
|
tab: "mermaid" | "text-to-diagram";
|
|
298
307
|
} | {
|
|
299
308
|
name: "commandPalette";
|
|
309
|
+
} | {
|
|
310
|
+
name: "settings";
|
|
300
311
|
} | {
|
|
301
312
|
name: "elementLinkSelector";
|
|
302
313
|
sourceElementId: string;
|
|
@@ -366,7 +377,7 @@ export declare const actionDeleteSelected: {
|
|
|
366
377
|
shown: true;
|
|
367
378
|
data: import("../charts").Spreadsheet;
|
|
368
379
|
};
|
|
369
|
-
showHyperlinkPopup: false | "
|
|
380
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
370
381
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
371
382
|
originSnapOffset: {
|
|
372
383
|
x: number;
|
|
@@ -385,6 +396,7 @@ export declare const actionDeleteSelected: {
|
|
|
385
396
|
lockedMultiSelections: {
|
|
386
397
|
[groupId: string]: true;
|
|
387
398
|
};
|
|
399
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
388
400
|
};
|
|
389
401
|
captureUpdate: "IMMEDIATELY";
|
|
390
402
|
} | {
|
|
@@ -396,6 +408,7 @@ export declare const actionDeleteSelected: {
|
|
|
396
408
|
fromSelection: boolean;
|
|
397
409
|
} & import("../types").ActiveTool;
|
|
398
410
|
multiElement: null;
|
|
411
|
+
newElement: null;
|
|
399
412
|
activeEmbeddable: null;
|
|
400
413
|
selectedLinearElement: null;
|
|
401
414
|
editingGroupId: string | null;
|
|
@@ -413,12 +426,11 @@ export declare const actionDeleteSelected: {
|
|
|
413
426
|
showWelcomeScreen: boolean;
|
|
414
427
|
isLoading: boolean;
|
|
415
428
|
errorMessage: import("react").ReactNode;
|
|
416
|
-
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
417
429
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
418
430
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
419
431
|
isBindingEnabled: boolean;
|
|
420
432
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
421
|
-
|
|
433
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
422
434
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
423
435
|
frameRendering: {
|
|
424
436
|
enabled: boolean;
|
|
@@ -429,6 +441,10 @@ export declare const actionDeleteSelected: {
|
|
|
429
441
|
editingFrame: string | null;
|
|
430
442
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
431
443
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
444
|
+
preferredSelectionTool: {
|
|
445
|
+
type: "selection" | "lasso";
|
|
446
|
+
initialized: boolean;
|
|
447
|
+
};
|
|
432
448
|
penMode: boolean;
|
|
433
449
|
penDetected: boolean;
|
|
434
450
|
exportBackground: boolean;
|
|
@@ -461,8 +477,8 @@ export declare const actionDeleteSelected: {
|
|
|
461
477
|
zoom: Readonly<{
|
|
462
478
|
value: import("../types").NormalizedZoomValue;
|
|
463
479
|
}>;
|
|
464
|
-
openMenu: "canvas" |
|
|
465
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
480
|
+
openMenu: "canvas" | null;
|
|
481
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
466
482
|
openSidebar: {
|
|
467
483
|
name: string;
|
|
468
484
|
tab?: string | undefined;
|
|
@@ -474,6 +490,8 @@ export declare const actionDeleteSelected: {
|
|
|
474
490
|
tab: "mermaid" | "text-to-diagram";
|
|
475
491
|
} | {
|
|
476
492
|
name: "commandPalette";
|
|
493
|
+
} | {
|
|
494
|
+
name: "settings";
|
|
477
495
|
} | {
|
|
478
496
|
name: "elementLinkSelector";
|
|
479
497
|
sourceElementId: string;
|
|
@@ -536,7 +554,7 @@ export declare const actionDeleteSelected: {
|
|
|
536
554
|
shown: true;
|
|
537
555
|
data: import("../charts").Spreadsheet;
|
|
538
556
|
};
|
|
539
|
-
showHyperlinkPopup: false | "
|
|
557
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
540
558
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
541
559
|
originSnapOffset: {
|
|
542
560
|
x: number;
|
|
@@ -555,11 +573,12 @@ export declare const actionDeleteSelected: {
|
|
|
555
573
|
lockedMultiSelections: {
|
|
556
574
|
[groupId: string]: true;
|
|
557
575
|
};
|
|
576
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
558
577
|
};
|
|
559
578
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
560
579
|
};
|
|
561
580
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean;
|
|
562
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
581
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
563
582
|
} & {
|
|
564
583
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean) | undefined;
|
|
565
584
|
};
|
|
@@ -7,7 +7,7 @@ export declare const distributeHorizontally: {
|
|
|
7
7
|
trackEvent: {
|
|
8
8
|
category: "element";
|
|
9
9
|
};
|
|
10
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
10
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
11
11
|
appState: Readonly<AppState>;
|
|
12
12
|
elements: ExcalidrawElement[];
|
|
13
13
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -23,7 +23,7 @@ export declare const distributeVertically: {
|
|
|
23
23
|
trackEvent: {
|
|
24
24
|
category: "element";
|
|
25
25
|
};
|
|
26
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
26
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
27
27
|
appState: Readonly<AppState>;
|
|
28
28
|
elements: ExcalidrawElement[];
|
|
29
29
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -6,13 +6,13 @@ export declare const actionDuplicateSelection: {
|
|
|
6
6
|
trackEvent: {
|
|
7
7
|
category: "element";
|
|
8
8
|
};
|
|
9
|
-
perform: (elements: readonly import("../../element/src/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, formData:
|
|
9
|
+
perform: (elements: readonly import("../../element/src/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, formData: unknown, app: import("../types").AppClassProperties) => false | {
|
|
10
10
|
elements: readonly import("../../element/src/types").OrderedExcalidrawElement[];
|
|
11
11
|
appState: import("../types").AppState;
|
|
12
12
|
captureUpdate: "IMMEDIATELY";
|
|
13
13
|
};
|
|
14
14
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
15
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
} & {
|
|
17
17
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
18
18
|
};
|
|
@@ -6,7 +6,7 @@ export declare const actionCopyElementLink: {
|
|
|
6
6
|
trackEvent: {
|
|
7
7
|
category: "element";
|
|
8
8
|
};
|
|
9
|
-
perform: (elements: readonly import("../../element/src/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _:
|
|
9
|
+
perform: (elements: readonly import("../../element/src/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => Promise<{
|
|
10
10
|
appState: {
|
|
11
11
|
toast: {
|
|
12
12
|
message: string;
|
|
@@ -30,7 +30,7 @@ export declare const actionLinkToElement: {
|
|
|
30
30
|
name: "linkToElement";
|
|
31
31
|
label: string;
|
|
32
32
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
perform: (elements: readonly import("../../element/src/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _:
|
|
33
|
+
perform: (elements: readonly import("../../element/src/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
34
34
|
elements: readonly import("../../element/src/types").OrderedExcalidrawElement[];
|
|
35
35
|
appState: Readonly<import("../types").AppState>;
|
|
36
36
|
app: import("../types").AppClassProperties;
|
|
@@ -59,7 +59,7 @@ export declare const actionLinkToElement: {
|
|
|
59
59
|
selectionElement: import("../../element/src/types").NonDeletedExcalidrawElement | null;
|
|
60
60
|
isBindingEnabled: boolean;
|
|
61
61
|
startBoundElement: import("../../element/src/types").NonDeleted<import("../../element/src/types").ExcalidrawBindableElement> | null;
|
|
62
|
-
|
|
62
|
+
suggestedBinding: import("../../element/src/types").NonDeleted<import("../../element/src/types").ExcalidrawBindableElement> | null;
|
|
63
63
|
frameToHighlight: import("../../element/src/types").NonDeleted<import("../../element/src/types").ExcalidrawFrameLikeElement> | null;
|
|
64
64
|
frameRendering: {
|
|
65
65
|
enabled: boolean;
|
|
@@ -75,6 +75,10 @@ export declare const actionLinkToElement: {
|
|
|
75
75
|
locked: boolean;
|
|
76
76
|
fromSelection: boolean;
|
|
77
77
|
} & import("../types").ActiveTool;
|
|
78
|
+
preferredSelectionTool: {
|
|
79
|
+
type: "selection" | "lasso";
|
|
80
|
+
initialized: boolean;
|
|
81
|
+
};
|
|
78
82
|
penMode: boolean;
|
|
79
83
|
penDetected: boolean;
|
|
80
84
|
exportBackground: boolean;
|
|
@@ -107,8 +111,8 @@ export declare const actionLinkToElement: {
|
|
|
107
111
|
zoom: Readonly<{
|
|
108
112
|
value: import("../types").NormalizedZoomValue;
|
|
109
113
|
}>;
|
|
110
|
-
openMenu: "canvas" |
|
|
111
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
114
|
+
openMenu: "canvas" | null;
|
|
115
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
112
116
|
openSidebar: {
|
|
113
117
|
name: string;
|
|
114
118
|
tab?: string | undefined;
|
|
@@ -178,7 +182,7 @@ export declare const actionLinkToElement: {
|
|
|
178
182
|
shown: true;
|
|
179
183
|
data: import("../charts").Spreadsheet;
|
|
180
184
|
};
|
|
181
|
-
showHyperlinkPopup: false | "
|
|
185
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
182
186
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
183
187
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
184
188
|
originSnapOffset: {
|
|
@@ -198,6 +202,7 @@ export declare const actionLinkToElement: {
|
|
|
198
202
|
lockedMultiSelections: {
|
|
199
203
|
[groupId: string]: true;
|
|
200
204
|
};
|
|
205
|
+
bindMode: import("../../element/src/types").BindMode;
|
|
201
206
|
};
|
|
202
207
|
captureUpdate: "IMMEDIATELY";
|
|
203
208
|
elements?: undefined;
|
|
@@ -9,7 +9,7 @@ export declare const actionToggleElementLock: {
|
|
|
9
9
|
category: "element";
|
|
10
10
|
};
|
|
11
11
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
12
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
12
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => false | {
|
|
13
13
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
14
14
|
appState: {
|
|
15
15
|
selectedElementIds: Readonly<{
|
|
@@ -41,7 +41,7 @@ export declare const actionToggleElementLock: {
|
|
|
41
41
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
42
42
|
isBindingEnabled: boolean;
|
|
43
43
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
44
|
-
|
|
44
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
45
45
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
46
46
|
frameRendering: {
|
|
47
47
|
enabled: boolean;
|
|
@@ -57,6 +57,10 @@ export declare const actionToggleElementLock: {
|
|
|
57
57
|
locked: boolean;
|
|
58
58
|
fromSelection: boolean;
|
|
59
59
|
} & import("../types").ActiveTool;
|
|
60
|
+
preferredSelectionTool: {
|
|
61
|
+
type: "selection" | "lasso";
|
|
62
|
+
initialized: boolean;
|
|
63
|
+
};
|
|
60
64
|
penMode: boolean;
|
|
61
65
|
penDetected: boolean;
|
|
62
66
|
exportBackground: boolean;
|
|
@@ -89,8 +93,8 @@ export declare const actionToggleElementLock: {
|
|
|
89
93
|
zoom: Readonly<{
|
|
90
94
|
value: import("../types").NormalizedZoomValue;
|
|
91
95
|
}>;
|
|
92
|
-
openMenu: "canvas" |
|
|
93
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
96
|
+
openMenu: "canvas" | null;
|
|
97
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
94
98
|
openSidebar: {
|
|
95
99
|
name: string;
|
|
96
100
|
tab?: string | undefined;
|
|
@@ -102,6 +106,8 @@ export declare const actionToggleElementLock: {
|
|
|
102
106
|
tab: "mermaid" | "text-to-diagram";
|
|
103
107
|
} | {
|
|
104
108
|
name: "commandPalette";
|
|
109
|
+
} | {
|
|
110
|
+
name: "settings";
|
|
105
111
|
} | {
|
|
106
112
|
name: "elementLinkSelector";
|
|
107
113
|
sourceElementId: string;
|
|
@@ -165,7 +171,7 @@ export declare const actionToggleElementLock: {
|
|
|
165
171
|
shown: true;
|
|
166
172
|
data: import("../charts").Spreadsheet;
|
|
167
173
|
};
|
|
168
|
-
showHyperlinkPopup: false | "
|
|
174
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
169
175
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
170
176
|
originSnapOffset: {
|
|
171
177
|
x: number;
|
|
@@ -180,6 +186,7 @@ export declare const actionToggleElementLock: {
|
|
|
180
186
|
focusedId: string | null;
|
|
181
187
|
matches: readonly import("../types").SearchMatch[];
|
|
182
188
|
}> | null;
|
|
189
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
183
190
|
};
|
|
184
191
|
captureUpdate: "IMMEDIATELY";
|
|
185
192
|
};
|
|
@@ -224,7 +231,7 @@ export declare const actionUnlockAllElements: {
|
|
|
224
231
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
225
232
|
isBindingEnabled: boolean;
|
|
226
233
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
227
|
-
|
|
234
|
+
suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
228
235
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
229
236
|
frameRendering: {
|
|
230
237
|
enabled: boolean;
|
|
@@ -240,6 +247,10 @@ export declare const actionUnlockAllElements: {
|
|
|
240
247
|
locked: boolean;
|
|
241
248
|
fromSelection: boolean;
|
|
242
249
|
} & import("../types").ActiveTool;
|
|
250
|
+
preferredSelectionTool: {
|
|
251
|
+
type: "selection" | "lasso";
|
|
252
|
+
initialized: boolean;
|
|
253
|
+
};
|
|
243
254
|
penMode: boolean;
|
|
244
255
|
penDetected: boolean;
|
|
245
256
|
exportBackground: boolean;
|
|
@@ -272,8 +283,8 @@ export declare const actionUnlockAllElements: {
|
|
|
272
283
|
zoom: Readonly<{
|
|
273
284
|
value: import("../types").NormalizedZoomValue;
|
|
274
285
|
}>;
|
|
275
|
-
openMenu: "canvas" |
|
|
276
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
286
|
+
openMenu: "canvas" | null;
|
|
287
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
277
288
|
openSidebar: {
|
|
278
289
|
name: string;
|
|
279
290
|
tab?: string | undefined;
|
|
@@ -285,6 +296,8 @@ export declare const actionUnlockAllElements: {
|
|
|
285
296
|
tab: "mermaid" | "text-to-diagram";
|
|
286
297
|
} | {
|
|
287
298
|
name: "commandPalette";
|
|
299
|
+
} | {
|
|
300
|
+
name: "settings";
|
|
288
301
|
} | {
|
|
289
302
|
name: "elementLinkSelector";
|
|
290
303
|
sourceElementId: string;
|
|
@@ -348,7 +361,7 @@ export declare const actionUnlockAllElements: {
|
|
|
348
361
|
shown: true;
|
|
349
362
|
data: import("../charts").Spreadsheet;
|
|
350
363
|
};
|
|
351
|
-
showHyperlinkPopup: false | "
|
|
364
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
352
365
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
353
366
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
354
367
|
originSnapOffset: {
|
|
@@ -364,6 +377,7 @@ export declare const actionUnlockAllElements: {
|
|
|
364
377
|
focusedId: string | null;
|
|
365
378
|
matches: readonly import("../types").SearchMatch[];
|
|
366
379
|
}> | null;
|
|
380
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
367
381
|
};
|
|
368
382
|
captureUpdate: "IMMEDIATELY";
|
|
369
383
|
};
|
|
@@ -6,7 +6,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
6
6
|
};
|
|
7
7
|
target: string;
|
|
8
8
|
label: string;
|
|
9
|
-
perform: (elements: readonly import("../../element/src/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _:
|
|
9
|
+
perform: (elements: readonly import("../../element/src/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
10
10
|
elements: readonly import("../../element/src/types").OrderedExcalidrawElement[];
|
|
11
11
|
appState: {
|
|
12
12
|
activeTool: {
|
|
@@ -32,7 +32,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
32
32
|
selectionElement: import("../../element/src/types").NonDeletedExcalidrawElement | null;
|
|
33
33
|
isBindingEnabled: boolean;
|
|
34
34
|
startBoundElement: import("../../element/src/types").NonDeleted<import("../../element/src/types").ExcalidrawBindableElement> | null;
|
|
35
|
-
|
|
35
|
+
suggestedBinding: import("../../element/src/types").NonDeleted<import("../../element/src/types").ExcalidrawBindableElement> | null;
|
|
36
36
|
frameToHighlight: import("../../element/src/types").NonDeleted<import("../../element/src/types").ExcalidrawFrameLikeElement> | null;
|
|
37
37
|
frameRendering: {
|
|
38
38
|
enabled: boolean;
|
|
@@ -43,6 +43,10 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
43
43
|
editingFrame: string | null;
|
|
44
44
|
elementsToHighlight: import("../../element/src/types").NonDeleted<import("../../element/src/types").ExcalidrawElement>[] | null;
|
|
45
45
|
editingTextElement: import("../../element/src/types").NonDeletedExcalidrawElement | null;
|
|
46
|
+
preferredSelectionTool: {
|
|
47
|
+
type: "selection" | "lasso";
|
|
48
|
+
initialized: boolean;
|
|
49
|
+
};
|
|
46
50
|
penMode: boolean;
|
|
47
51
|
penDetected: boolean;
|
|
48
52
|
exportBackground: boolean;
|
|
@@ -75,8 +79,8 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
75
79
|
zoom: Readonly<{
|
|
76
80
|
value: import("../types").NormalizedZoomValue;
|
|
77
81
|
}>;
|
|
78
|
-
openMenu: "canvas" |
|
|
79
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
82
|
+
openMenu: "canvas" | null;
|
|
83
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
80
84
|
openSidebar: {
|
|
81
85
|
name: string;
|
|
82
86
|
tab?: string | undefined;
|
|
@@ -88,6 +92,8 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
88
92
|
tab: "mermaid" | "text-to-diagram";
|
|
89
93
|
} | {
|
|
90
94
|
name: "commandPalette";
|
|
95
|
+
} | {
|
|
96
|
+
name: "settings";
|
|
91
97
|
} | {
|
|
92
98
|
name: "elementLinkSelector";
|
|
93
99
|
sourceElementId: string;
|
|
@@ -157,7 +163,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
157
163
|
shown: true;
|
|
158
164
|
data: import("../charts").Spreadsheet;
|
|
159
165
|
};
|
|
160
|
-
showHyperlinkPopup: false | "
|
|
166
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
161
167
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
162
168
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
163
169
|
originSnapOffset: {
|
|
@@ -177,6 +183,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
177
183
|
lockedMultiSelections: {
|
|
178
184
|
[groupId: string]: true;
|
|
179
185
|
};
|
|
186
|
+
bindMode: import("../../element/src/types").BindMode;
|
|
180
187
|
};
|
|
181
188
|
captureUpdate: "EVENTUALLY";
|
|
182
189
|
};
|