@myoc/math 0.19.502-ff5a131b0 → 0.19.504
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 +116 -125
- package/dist/dev/index.js.map +4 -4
- package/dist/prod/index.js +1 -1
- package/dist/types/common/debug.d.ts +21 -0
- package/dist/types/common/src/appEventBus.d.ts +27 -0
- package/dist/types/common/src/colors.d.ts +1 -1
- package/dist/types/common/src/constants.d.ts +3 -0
- package/dist/types/common/src/index.d.ts +3 -0
- package/dist/types/common/src/utils.d.ts +4 -7
- package/dist/types/common/src/versionedSnapshotStore.d.ts +17 -0
- package/dist/types/element/src/Scene.d.ts +2 -0
- package/dist/types/element/src/arrange-algorithms/maxRects.d.ts +16 -0
- package/dist/types/element/src/arrowheads.d.ts +3 -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/bounds.d.ts +1 -1
- 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 +4 -0
- package/dist/types/element/src/linearElementEditor.d.ts +6 -1
- package/dist/types/element/src/mutateElement.d.ts +2 -0
- package/dist/types/element/src/selection.d.ts +5 -1
- package/dist/types/element/src/shapes.d.ts +2 -22
- package/dist/types/element/src/textElement.d.ts +1 -1
- package/dist/types/element/src/textWrapping.d.ts +26 -0
- package/dist/types/element/src/types.d.ts +6 -3
- package/dist/types/element/src/utils.d.ts +5 -3
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +38 -35
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionArrange.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +27 -25
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +159 -148
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +28 -26
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +13 -12
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +43 -38
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +9 -12
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +28 -26
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +13 -12
- package/dist/types/excalidraw/actions/actionExport.d.ts +87 -380
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +54 -50
- package/dist/types/excalidraw/actions/actionGroup.d.ts +31 -29
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +15 -12
- package/dist/types/excalidraw/actions/actionLink.d.ts +15 -14
- package/dist/types/excalidraw/actions/actionMenu.d.ts +11 -14
- package/dist/types/excalidraw/actions/actionProperties.d.ts +33 -31
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +16 -15
- package/dist/types/excalidraw/actions/actionSmartZoom.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionStyles.d.ts +17 -15
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +181 -0
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +15 -14
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +181 -0
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +15 -14
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +11 -14
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +15 -14
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +15 -14
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +15 -14
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- 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 +15 -13
- 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 +6 -7
- package/dist/types/excalidraw/components/App.d.ts +57 -14
- package/dist/types/excalidraw/components/AppStateObserver.d.ts +37 -0
- package/dist/types/excalidraw/components/CommandPalette/types.d.ts +1 -1
- package/dist/types/excalidraw/components/IconPicker.d.ts +14 -9
- 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/Range.d.ts +10 -4
- package/dist/types/excalidraw/components/Toast.d.ts +8 -4
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +1 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +30 -17
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +3 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +11 -13
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCheckbox.d.ts +5 -0
- 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 +23 -9
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +17 -0
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +23 -13
- package/dist/types/excalidraw/data/blob.d.ts +57 -56
- package/dist/types/excalidraw/data/filesystem.d.ts +3 -5
- package/dist/types/excalidraw/data/index.d.ts +2 -3
- package/dist/types/excalidraw/data/json.d.ts +43 -34
- package/dist/types/excalidraw/data/resave.d.ts +7 -2
- package/dist/types/excalidraw/editorPreferences.d.ts +11 -0
- package/dist/types/excalidraw/textAutoResizeHandle.d.ts +15 -0
- package/dist/types/excalidraw/types.d.ts +114 -16
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +5 -1
- package/dist/types/math/src/point.d.ts +7 -2
- package/dist/types/math/src/types.d.ts +25 -1
- package/package.json +2 -2
- package/dist/types/excalidraw/charts.d.ts +0 -27
- package/dist/types/excalidraw/components/DiagramToCodePlugin/DiagramToCodePlugin.d.ts +0 -4
- package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +0 -15
- package/dist/types/excalidraw/components/InitializeApp.d.ts +0 -10
- package/dist/types/excalidraw/components/footer/FooterCenter.d.ts +0 -8
- package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +0 -11
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +0 -58
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +0 -19
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +0 -84
- package/dist/types/excalidraw/data/reconcile.d.ts +0 -7
- package/dist/types/excalidraw/index.d.ts +0 -42
- package/dist/types/excalidraw/polyfill.d.ts +0 -2
|
@@ -43,8 +43,13 @@ export declare const actionShortcuts: {
|
|
|
43
43
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
44
44
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
45
45
|
isBindingEnabled: boolean;
|
|
46
|
+
bindingPreference: "enabled" | "disabled";
|
|
47
|
+
isMidpointSnappingEnabled: boolean;
|
|
46
48
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
47
|
-
suggestedBinding:
|
|
49
|
+
suggestedBinding: {
|
|
50
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
51
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
52
|
+
} | null;
|
|
48
53
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
49
54
|
frameRendering: {
|
|
50
55
|
enabled: boolean;
|
|
@@ -54,7 +59,7 @@ export declare const actionShortcuts: {
|
|
|
54
59
|
};
|
|
55
60
|
editingFrame: string | null;
|
|
56
61
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
57
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
62
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
58
63
|
activeTool: {
|
|
59
64
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
60
65
|
locked: boolean;
|
|
@@ -112,7 +117,7 @@ export declare const actionShortcuts: {
|
|
|
112
117
|
selectedElementsAreBeingDragged: boolean;
|
|
113
118
|
shouldCacheIgnoreZoom: boolean;
|
|
114
119
|
toast: {
|
|
115
|
-
message:
|
|
120
|
+
message: React.ReactNode;
|
|
116
121
|
closable?: boolean;
|
|
117
122
|
duration?: number;
|
|
118
123
|
} | null;
|
|
@@ -130,20 +135,12 @@ export declare const actionShortcuts: {
|
|
|
130
135
|
height: number;
|
|
131
136
|
offsetTop: number;
|
|
132
137
|
offsetLeft: number;
|
|
133
|
-
fileHandle:
|
|
138
|
+
fileHandle: FileSystemFileHandle | null;
|
|
134
139
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
135
140
|
stats: {
|
|
136
141
|
open: boolean;
|
|
137
142
|
panels: number;
|
|
138
143
|
};
|
|
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
144
|
showHyperlinkPopup: false | "info" | "editor";
|
|
148
145
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
149
146
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -168,7 +165,7 @@ export declare const actionShortcuts: {
|
|
|
168
165
|
};
|
|
169
166
|
captureUpdate: "EVENTUALLY";
|
|
170
167
|
};
|
|
171
|
-
keyTest: (event:
|
|
168
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
172
169
|
} & {
|
|
173
|
-
keyTest?: ((event:
|
|
170
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
174
171
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { LinearElementEditor } from "@excalidraw/element";
|
|
2
|
-
import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement, FontFamilyValues, TextAlign } from "@excalidraw/element/types";
|
|
1
|
+
import { LinearElementEditor } from "@excalidraw/element/linearElementEditor";
|
|
2
|
+
import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement, ExcalidrawTextElement, FontFamilyValues, TextAlign } from "@excalidraw/element/types";
|
|
3
3
|
import type { AppClassProperties, AppState, Primitive } from "../types";
|
|
4
4
|
export declare const changeProperty: (elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: ExcalidrawElement) => ExcalidrawElement, includeBoundText?: boolean) => ExcalidrawElement[];
|
|
5
|
-
export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], app: AppClassProperties, getAttribute: (element: ExcalidrawElement) => T,
|
|
5
|
+
export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], app: AppClassProperties, getAttribute: (element: ExcalidrawElement) => T, elementPredicate: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
|
|
6
6
|
export declare const actionChangeStrokeColor: import("./types").Action<Pick<AppState, "currentItemStrokeColor">> & {
|
|
7
7
|
keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly ExcalidrawElement[], app: AppClassProperties) => boolean) | undefined;
|
|
8
8
|
};
|
|
@@ -65,8 +65,13 @@ export declare const actionDecreaseFontSize: {
|
|
|
65
65
|
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
66
66
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
67
67
|
isBindingEnabled: boolean;
|
|
68
|
+
bindingPreference: "enabled" | "disabled";
|
|
69
|
+
isMidpointSnappingEnabled: boolean;
|
|
68
70
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
69
|
-
suggestedBinding:
|
|
71
|
+
suggestedBinding: {
|
|
72
|
+
element: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement>;
|
|
73
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
74
|
+
} | null;
|
|
70
75
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
71
76
|
frameRendering: {
|
|
72
77
|
enabled: boolean;
|
|
@@ -76,7 +81,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
76
81
|
};
|
|
77
82
|
editingFrame: string | null;
|
|
78
83
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
79
|
-
editingTextElement:
|
|
84
|
+
editingTextElement: ExcalidrawTextElement | null;
|
|
80
85
|
activeTool: {
|
|
81
86
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
82
87
|
locked: boolean;
|
|
@@ -130,6 +135,10 @@ export declare const actionDecreaseFontSize: {
|
|
|
130
135
|
} | {
|
|
131
136
|
name: "elementLinkSelector";
|
|
132
137
|
sourceElementId: ExcalidrawElement["id"];
|
|
138
|
+
} | {
|
|
139
|
+
name: "charts";
|
|
140
|
+
data: import("../charts").Spreadsheet;
|
|
141
|
+
rawText: string;
|
|
133
142
|
};
|
|
134
143
|
defaultSidebarDockedPreference: boolean;
|
|
135
144
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -145,7 +154,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
145
154
|
selectedElementsAreBeingDragged: boolean;
|
|
146
155
|
shouldCacheIgnoreZoom: boolean;
|
|
147
156
|
toast: {
|
|
148
|
-
message:
|
|
157
|
+
message: React.ReactNode;
|
|
149
158
|
closable?: boolean;
|
|
150
159
|
duration?: number;
|
|
151
160
|
} | null;
|
|
@@ -163,20 +172,12 @@ export declare const actionDecreaseFontSize: {
|
|
|
163
172
|
height: number;
|
|
164
173
|
offsetTop: number;
|
|
165
174
|
offsetLeft: number;
|
|
166
|
-
fileHandle:
|
|
175
|
+
fileHandle: FileSystemFileHandle | null;
|
|
167
176
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
168
177
|
stats: {
|
|
169
178
|
open: boolean;
|
|
170
179
|
panels: number;
|
|
171
180
|
};
|
|
172
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
173
|
-
pasteDialog: {
|
|
174
|
-
shown: false;
|
|
175
|
-
data: null;
|
|
176
|
-
} | {
|
|
177
|
-
shown: true;
|
|
178
|
-
data: import("../charts").Spreadsheet;
|
|
179
|
-
};
|
|
180
181
|
showHyperlinkPopup: false | "info" | "editor";
|
|
181
182
|
selectedLinearElement: LinearElementEditor | null;
|
|
182
183
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -201,9 +202,9 @@ export declare const actionDecreaseFontSize: {
|
|
|
201
202
|
};
|
|
202
203
|
captureUpdate: "IMMEDIATELY";
|
|
203
204
|
};
|
|
204
|
-
keyTest: (event:
|
|
205
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
205
206
|
} & {
|
|
206
|
-
keyTest?: ((event:
|
|
207
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
207
208
|
};
|
|
208
209
|
export declare const actionIncreaseFontSize: {
|
|
209
210
|
name: "increaseFontSize";
|
|
@@ -243,8 +244,13 @@ export declare const actionIncreaseFontSize: {
|
|
|
243
244
|
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
244
245
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
245
246
|
isBindingEnabled: boolean;
|
|
247
|
+
bindingPreference: "enabled" | "disabled";
|
|
248
|
+
isMidpointSnappingEnabled: boolean;
|
|
246
249
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
247
|
-
suggestedBinding:
|
|
250
|
+
suggestedBinding: {
|
|
251
|
+
element: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement>;
|
|
252
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
253
|
+
} | null;
|
|
248
254
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
249
255
|
frameRendering: {
|
|
250
256
|
enabled: boolean;
|
|
@@ -254,7 +260,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
254
260
|
};
|
|
255
261
|
editingFrame: string | null;
|
|
256
262
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
257
|
-
editingTextElement:
|
|
263
|
+
editingTextElement: ExcalidrawTextElement | null;
|
|
258
264
|
activeTool: {
|
|
259
265
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
260
266
|
locked: boolean;
|
|
@@ -308,6 +314,10 @@ export declare const actionIncreaseFontSize: {
|
|
|
308
314
|
} | {
|
|
309
315
|
name: "elementLinkSelector";
|
|
310
316
|
sourceElementId: ExcalidrawElement["id"];
|
|
317
|
+
} | {
|
|
318
|
+
name: "charts";
|
|
319
|
+
data: import("../charts").Spreadsheet;
|
|
320
|
+
rawText: string;
|
|
311
321
|
};
|
|
312
322
|
defaultSidebarDockedPreference: boolean;
|
|
313
323
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -323,7 +333,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
323
333
|
selectedElementsAreBeingDragged: boolean;
|
|
324
334
|
shouldCacheIgnoreZoom: boolean;
|
|
325
335
|
toast: {
|
|
326
|
-
message:
|
|
336
|
+
message: React.ReactNode;
|
|
327
337
|
closable?: boolean;
|
|
328
338
|
duration?: number;
|
|
329
339
|
} | null;
|
|
@@ -341,20 +351,12 @@ export declare const actionIncreaseFontSize: {
|
|
|
341
351
|
height: number;
|
|
342
352
|
offsetTop: number;
|
|
343
353
|
offsetLeft: number;
|
|
344
|
-
fileHandle:
|
|
354
|
+
fileHandle: FileSystemFileHandle | null;
|
|
345
355
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
346
356
|
stats: {
|
|
347
357
|
open: boolean;
|
|
348
358
|
panels: number;
|
|
349
359
|
};
|
|
350
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
351
|
-
pasteDialog: {
|
|
352
|
-
shown: false;
|
|
353
|
-
data: null;
|
|
354
|
-
} | {
|
|
355
|
-
shown: true;
|
|
356
|
-
data: import("../charts").Spreadsheet;
|
|
357
|
-
};
|
|
358
360
|
showHyperlinkPopup: false | "info" | "editor";
|
|
359
361
|
selectedLinearElement: LinearElementEditor | null;
|
|
360
362
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -379,9 +381,9 @@ export declare const actionIncreaseFontSize: {
|
|
|
379
381
|
};
|
|
380
382
|
captureUpdate: "IMMEDIATELY";
|
|
381
383
|
};
|
|
382
|
-
keyTest: (event:
|
|
384
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
383
385
|
} & {
|
|
384
|
-
keyTest?: ((event:
|
|
386
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
385
387
|
};
|
|
386
388
|
export declare const actionChangeFontFamily: import("./types").Action<{
|
|
387
389
|
currentItemFontFamily: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LinearElementEditor } from "@excalidraw/element";
|
|
1
|
+
import { LinearElementEditor } from "@excalidraw/element/linearElementEditor";
|
|
2
2
|
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
3
3
|
export declare const actionSelectAll: {
|
|
4
4
|
name: "selectAll";
|
|
@@ -43,8 +43,13 @@ export declare const actionSelectAll: {
|
|
|
43
43
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
44
44
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
45
45
|
isBindingEnabled: boolean;
|
|
46
|
+
bindingPreference: "enabled" | "disabled";
|
|
47
|
+
isMidpointSnappingEnabled: boolean;
|
|
46
48
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
47
|
-
suggestedBinding:
|
|
49
|
+
suggestedBinding: {
|
|
50
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
51
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
52
|
+
} | null;
|
|
48
53
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
49
54
|
frameRendering: {
|
|
50
55
|
enabled: boolean;
|
|
@@ -54,7 +59,7 @@ export declare const actionSelectAll: {
|
|
|
54
59
|
};
|
|
55
60
|
editingFrame: string | null;
|
|
56
61
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
57
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
62
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
58
63
|
activeTool: {
|
|
59
64
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
60
65
|
locked: boolean;
|
|
@@ -109,6 +114,10 @@ export declare const actionSelectAll: {
|
|
|
109
114
|
} | {
|
|
110
115
|
name: "elementLinkSelector";
|
|
111
116
|
sourceElementId: ExcalidrawElement["id"];
|
|
117
|
+
} | {
|
|
118
|
+
name: "charts";
|
|
119
|
+
data: import("../charts").Spreadsheet;
|
|
120
|
+
rawText: string;
|
|
112
121
|
};
|
|
113
122
|
defaultSidebarDockedPreference: boolean;
|
|
114
123
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -121,7 +130,7 @@ export declare const actionSelectAll: {
|
|
|
121
130
|
selectedElementsAreBeingDragged: boolean;
|
|
122
131
|
shouldCacheIgnoreZoom: boolean;
|
|
123
132
|
toast: {
|
|
124
|
-
message:
|
|
133
|
+
message: React.ReactNode;
|
|
125
134
|
closable?: boolean;
|
|
126
135
|
duration?: number;
|
|
127
136
|
} | null;
|
|
@@ -135,20 +144,12 @@ export declare const actionSelectAll: {
|
|
|
135
144
|
height: number;
|
|
136
145
|
offsetTop: number;
|
|
137
146
|
offsetLeft: number;
|
|
138
|
-
fileHandle:
|
|
147
|
+
fileHandle: FileSystemFileHandle | null;
|
|
139
148
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
140
149
|
stats: {
|
|
141
150
|
open: boolean;
|
|
142
151
|
panels: number;
|
|
143
152
|
};
|
|
144
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
145
|
-
pasteDialog: {
|
|
146
|
-
shown: false;
|
|
147
|
-
data: null;
|
|
148
|
-
} | {
|
|
149
|
-
shown: true;
|
|
150
|
-
data: import("../charts").Spreadsheet;
|
|
151
|
-
};
|
|
152
153
|
showHyperlinkPopup: false | "info" | "editor";
|
|
153
154
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
154
155
|
originSnapOffset: {
|
|
@@ -172,7 +173,7 @@ export declare const actionSelectAll: {
|
|
|
172
173
|
};
|
|
173
174
|
captureUpdate: "IMMEDIATELY";
|
|
174
175
|
};
|
|
175
|
-
keyTest: (event:
|
|
176
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
176
177
|
} & {
|
|
177
|
-
keyTest?: ((event:
|
|
178
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
178
179
|
};
|
|
@@ -9,8 +9,8 @@ export declare const actionSmartZoom: {
|
|
|
9
9
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: import("../types").AppClassProperties) => {
|
|
10
10
|
captureUpdate: "NEVER";
|
|
11
11
|
};
|
|
12
|
-
keyTest: (event:
|
|
12
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
13
13
|
PanelComponent: ({ data, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
} & {
|
|
15
|
-
keyTest?: ((event:
|
|
15
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
16
16
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ExcalidrawTextElement } from "@excalidraw/element/types";
|
|
1
2
|
export declare let copiedStyles: string;
|
|
2
3
|
export declare const actionCopyStyles: {
|
|
3
4
|
name: "copyStyles";
|
|
@@ -40,8 +41,13 @@ export declare const actionCopyStyles: {
|
|
|
40
41
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
41
42
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
42
43
|
isBindingEnabled: boolean;
|
|
44
|
+
bindingPreference: "enabled" | "disabled";
|
|
45
|
+
isMidpointSnappingEnabled: boolean;
|
|
43
46
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
44
|
-
suggestedBinding:
|
|
47
|
+
suggestedBinding: {
|
|
48
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
49
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
50
|
+
} | null;
|
|
45
51
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
46
52
|
frameRendering: {
|
|
47
53
|
enabled: boolean;
|
|
@@ -51,7 +57,7 @@ export declare const actionCopyStyles: {
|
|
|
51
57
|
};
|
|
52
58
|
editingFrame: string | null;
|
|
53
59
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
54
|
-
editingTextElement:
|
|
60
|
+
editingTextElement: ExcalidrawTextElement | null;
|
|
55
61
|
activeTool: {
|
|
56
62
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
57
63
|
locked: boolean;
|
|
@@ -106,6 +112,10 @@ export declare const actionCopyStyles: {
|
|
|
106
112
|
} | {
|
|
107
113
|
name: "elementLinkSelector";
|
|
108
114
|
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
115
|
+
} | {
|
|
116
|
+
name: "charts";
|
|
117
|
+
data: import("../charts").Spreadsheet;
|
|
118
|
+
rawText: string;
|
|
109
119
|
};
|
|
110
120
|
defaultSidebarDockedPreference: boolean;
|
|
111
121
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -134,20 +144,12 @@ export declare const actionCopyStyles: {
|
|
|
134
144
|
height: number;
|
|
135
145
|
offsetTop: number;
|
|
136
146
|
offsetLeft: number;
|
|
137
|
-
fileHandle:
|
|
147
|
+
fileHandle: FileSystemFileHandle | null;
|
|
138
148
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
139
149
|
stats: {
|
|
140
150
|
open: boolean;
|
|
141
151
|
panels: number;
|
|
142
152
|
};
|
|
143
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
144
|
-
pasteDialog: {
|
|
145
|
-
shown: false;
|
|
146
|
-
data: null;
|
|
147
|
-
} | {
|
|
148
|
-
shown: true;
|
|
149
|
-
data: import("../charts").Spreadsheet;
|
|
150
|
-
};
|
|
151
153
|
showHyperlinkPopup: false | "info" | "editor";
|
|
152
154
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
153
155
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -172,9 +174,9 @@ export declare const actionCopyStyles: {
|
|
|
172
174
|
};
|
|
173
175
|
captureUpdate: "EVENTUALLY";
|
|
174
176
|
};
|
|
175
|
-
keyTest: (event:
|
|
177
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
176
178
|
} & {
|
|
177
|
-
keyTest?: ((event:
|
|
179
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
178
180
|
};
|
|
179
181
|
export declare const actionPasteStyles: {
|
|
180
182
|
name: "pasteStyles";
|
|
@@ -190,7 +192,7 @@ export declare const actionPasteStyles: {
|
|
|
190
192
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
191
193
|
captureUpdate: "IMMEDIATELY";
|
|
192
194
|
};
|
|
193
|
-
keyTest: (event:
|
|
195
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
194
196
|
} & {
|
|
195
|
-
keyTest?: ((event:
|
|
197
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
196
198
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
2
2
|
export declare const actionTextAutoResize: {
|
|
3
3
|
name: "autoResize";
|
|
4
4
|
label: string;
|
|
@@ -6,8 +6,8 @@ export declare const actionTextAutoResize: {
|
|
|
6
6
|
trackEvent: {
|
|
7
7
|
category: "element";
|
|
8
8
|
};
|
|
9
|
-
predicate: (elements: readonly
|
|
10
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>,
|
|
9
|
+
predicate: (elements: readonly ExcalidrawElement[], appState: import("../types").AppState, _: unknown) => boolean;
|
|
10
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, targetElement: unknown) => {
|
|
11
11
|
appState: Readonly<import("../types").AppState>;
|
|
12
12
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
13
13
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
export declare const actionToggleArrowBinding: {
|
|
2
|
+
name: "arrowBinding";
|
|
3
|
+
label: string;
|
|
4
|
+
viewMode: false;
|
|
5
|
+
trackEvent: {
|
|
6
|
+
category: "canvas";
|
|
7
|
+
predicate: (appState: Readonly<import("../types").AppState>) => boolean;
|
|
8
|
+
};
|
|
9
|
+
perform(elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>): {
|
|
10
|
+
appState: {
|
|
11
|
+
bindingPreference: "disabled" | "enabled";
|
|
12
|
+
isBindingEnabled: boolean;
|
|
13
|
+
contextMenu: {
|
|
14
|
+
items: import("../components/ContextMenu").ContextMenuItems;
|
|
15
|
+
top: number;
|
|
16
|
+
left: number;
|
|
17
|
+
} | null;
|
|
18
|
+
showWelcomeScreen: boolean;
|
|
19
|
+
isLoading: boolean;
|
|
20
|
+
myocSimplifiedMode: boolean;
|
|
21
|
+
dontResizeLimitMBs: number;
|
|
22
|
+
hideMainMenus: boolean;
|
|
23
|
+
wheelZoomsOnDefault?: boolean;
|
|
24
|
+
arrangeConfiguration: {
|
|
25
|
+
algorithm: import("@excalidraw/element/types").ArrangeAlgorithms;
|
|
26
|
+
gap: number;
|
|
27
|
+
};
|
|
28
|
+
normaliseConfiguration: {
|
|
29
|
+
mode: import("../types").NormaliseMode;
|
|
30
|
+
metric: import("../types").NormaliseMetric;
|
|
31
|
+
};
|
|
32
|
+
errorMessage: React.ReactNode;
|
|
33
|
+
activeEmbeddable: {
|
|
34
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
35
|
+
state: "hover" | "active";
|
|
36
|
+
} | null;
|
|
37
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
38
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
39
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
40
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
41
|
+
isMidpointSnappingEnabled: boolean;
|
|
42
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
43
|
+
suggestedBinding: {
|
|
44
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
45
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
46
|
+
} | null;
|
|
47
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
48
|
+
frameRendering: {
|
|
49
|
+
enabled: boolean;
|
|
50
|
+
name: boolean;
|
|
51
|
+
outline: boolean;
|
|
52
|
+
clip: boolean;
|
|
53
|
+
};
|
|
54
|
+
editingFrame: string | null;
|
|
55
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
56
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
57
|
+
activeTool: {
|
|
58
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
59
|
+
locked: boolean;
|
|
60
|
+
fromSelection: boolean;
|
|
61
|
+
} & import("../types").ActiveTool;
|
|
62
|
+
preferredSelectionTool: {
|
|
63
|
+
type: "selection" | "lasso";
|
|
64
|
+
initialized: boolean;
|
|
65
|
+
};
|
|
66
|
+
penMode: boolean;
|
|
67
|
+
penDetected: boolean;
|
|
68
|
+
exportBackground: boolean;
|
|
69
|
+
exportEmbedScene: boolean;
|
|
70
|
+
exportWithDarkMode: boolean;
|
|
71
|
+
exportScale: number;
|
|
72
|
+
currentItemStrokeColor: string;
|
|
73
|
+
currentItemBackgroundColor: string;
|
|
74
|
+
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
75
|
+
currentItemStrokeWidth: number;
|
|
76
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
77
|
+
currentItemRoughness: number;
|
|
78
|
+
currentItemOpacity: number;
|
|
79
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
80
|
+
currentItemFontSize: number;
|
|
81
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
82
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
83
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
84
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
85
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
86
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
87
|
+
viewBackgroundColor: string;
|
|
88
|
+
scrollX: number;
|
|
89
|
+
scrollY: number;
|
|
90
|
+
cursorButton: "up" | "down";
|
|
91
|
+
scrolledOutside: boolean;
|
|
92
|
+
name: string | null;
|
|
93
|
+
isResizing: boolean;
|
|
94
|
+
isRotating: boolean;
|
|
95
|
+
zoom: import("../types").Zoom;
|
|
96
|
+
openMenu: "canvas" | null;
|
|
97
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
98
|
+
openSidebar: {
|
|
99
|
+
name: import("../types").SidebarName;
|
|
100
|
+
tab?: import("../types").SidebarTabName;
|
|
101
|
+
} | null;
|
|
102
|
+
openDialog: null | {
|
|
103
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
104
|
+
} | {
|
|
105
|
+
name: "commandPalette";
|
|
106
|
+
} | {
|
|
107
|
+
name: "settings";
|
|
108
|
+
} | {
|
|
109
|
+
name: "elementLinkSelector";
|
|
110
|
+
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
111
|
+
} | {
|
|
112
|
+
name: "charts";
|
|
113
|
+
data: import("../charts").Spreadsheet;
|
|
114
|
+
rawText: string;
|
|
115
|
+
};
|
|
116
|
+
defaultSidebarDockedPreference: boolean;
|
|
117
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
118
|
+
selectedElementIds: Readonly<{
|
|
119
|
+
[id: string]: true;
|
|
120
|
+
}>;
|
|
121
|
+
hoveredElementIds: Readonly<{
|
|
122
|
+
[id: string]: true;
|
|
123
|
+
}>;
|
|
124
|
+
previousSelectedElementIds: {
|
|
125
|
+
[id: string]: true;
|
|
126
|
+
};
|
|
127
|
+
selectedElementsAreBeingDragged: boolean;
|
|
128
|
+
shouldCacheIgnoreZoom: boolean;
|
|
129
|
+
toast: {
|
|
130
|
+
message: React.ReactNode;
|
|
131
|
+
closable?: boolean;
|
|
132
|
+
duration?: number;
|
|
133
|
+
} | null;
|
|
134
|
+
zenModeEnabled: boolean;
|
|
135
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
136
|
+
gridSize: number;
|
|
137
|
+
gridStep: number;
|
|
138
|
+
gridModeEnabled: boolean;
|
|
139
|
+
viewModeEnabled: boolean;
|
|
140
|
+
selectedGroupIds: {
|
|
141
|
+
[groupId: string]: boolean;
|
|
142
|
+
};
|
|
143
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
144
|
+
width: number;
|
|
145
|
+
height: number;
|
|
146
|
+
offsetTop: number;
|
|
147
|
+
offsetLeft: number;
|
|
148
|
+
fileHandle: FileSystemFileHandle | null;
|
|
149
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
150
|
+
stats: {
|
|
151
|
+
open: boolean;
|
|
152
|
+
panels: number;
|
|
153
|
+
};
|
|
154
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
155
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
156
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
157
|
+
originSnapOffset: {
|
|
158
|
+
x: number;
|
|
159
|
+
y: number;
|
|
160
|
+
} | null;
|
|
161
|
+
objectsSnapModeEnabled: boolean;
|
|
162
|
+
userToFollow: import("../types").UserToFollow | null;
|
|
163
|
+
followedBy: Set<import("../types").SocketId>;
|
|
164
|
+
isCropping: boolean;
|
|
165
|
+
croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
166
|
+
searchMatches: Readonly<{
|
|
167
|
+
focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
|
|
168
|
+
matches: readonly import("../types").SearchMatch[];
|
|
169
|
+
}> | null;
|
|
170
|
+
activeLockedId: string | null;
|
|
171
|
+
lockedMultiSelections: {
|
|
172
|
+
[groupId: string]: true;
|
|
173
|
+
};
|
|
174
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
175
|
+
};
|
|
176
|
+
captureUpdate: "NEVER";
|
|
177
|
+
};
|
|
178
|
+
checked: (appState: Readonly<import("../types").AppState>) => boolean;
|
|
179
|
+
} & {
|
|
180
|
+
keyTest?: undefined;
|
|
181
|
+
};
|