@excalidraw/excalidraw 0.18.0-195a743 → 0.18.0-298812e
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/{chunk-T3M44BFV.js → chunk-JCUIYZXF.js} +7 -3
- package/dist/dev/chunk-JCUIYZXF.js.map +7 -0
- package/dist/dev/{chunk-WMGEUIQQ.js → chunk-RQWTCZLD.js} +2 -2
- package/dist/dev/{chunk-H3EW23X2.js → chunk-ZPGIVNNG.js} +14840 -9652
- package/dist/dev/chunk-ZPGIVNNG.js.map +7 -0
- package/dist/dev/data/{image-TTQKTTOH.js → image-CB4ZYE3A.js} +3 -3
- package/dist/dev/index.css +38 -2
- package/dist/dev/index.css.map +2 -2
- package/dist/dev/index.js +857 -5250
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-I23TB6DJ.js → en-ZDTPSZNL.js} +2 -2
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/{chunk-GK4XUKZB.js → chunk-7TMLMBQX.js} +1 -1
- package/dist/prod/{chunk-2Z7RPVPO.js → chunk-GCFVWREF.js} +3 -3
- package/dist/prod/chunk-WFJFO6F4.js +33 -0
- package/dist/prod/data/image-XJI4SWH2.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +18 -18
- package/dist/prod/locales/{en-TC3OFDA6.js → en-MHZ26NAR.js} +1 -1
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/common/src/constants.d.ts +1 -0
- package/dist/types/{excalidraw → common/src}/emitter.d.ts +1 -1
- package/dist/types/common/src/font-metadata.d.ts +4 -2
- package/dist/types/common/src/index.d.ts +1 -0
- package/dist/types/common/src/utility-types.d.ts +5 -0
- package/dist/types/common/src/utils.d.ts +16 -4
- package/dist/types/element/src/Scene.d.ts +4 -4
- package/dist/types/element/src/ShapeCache.d.ts +1 -1
- package/dist/types/element/src/align.d.ts +1 -1
- package/dist/types/element/src/binding.d.ts +1 -1
- package/dist/types/element/src/bounds.d.ts +1 -1
- package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +40 -35
- package/dist/types/element/src/dragElements.d.ts +1 -1
- package/dist/types/element/src/flowchart.d.ts +1 -1
- package/dist/types/element/src/frame.d.ts +3 -2
- package/dist/types/element/src/index.d.ts +45 -2
- package/dist/types/element/src/linearElementEditor.d.ts +4 -8
- package/dist/types/element/src/newElement.d.ts +1 -1
- package/dist/types/element/src/resizeElements.d.ts +1 -1
- package/dist/types/element/src/selection.d.ts +1 -6
- package/dist/types/element/src/store.d.ts +227 -0
- package/dist/types/element/src/textElement.d.ts +1 -1
- package/dist/types/element/src/transformHandles.d.ts +4 -4
- package/dist/types/element/src/typeChecks.d.ts +2 -1
- package/dist/types/element/src/types.d.ts +6 -1
- package/dist/types/element/src/zindex.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +24 -42
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +16 -28
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +194 -272
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +50 -86
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +8 -14
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +22 -40
- 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 +8 -14
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +18 -30
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +8 -14
- package/dist/types/excalidraw/actions/actionExport.d.ts +159 -213
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +14 -26
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +76 -100
- package/dist/types/excalidraw/actions/actionGroup.d.ts +22 -34
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +7 -13
- package/dist/types/excalidraw/actions/actionLink.d.ts +9 -15
- package/dist/types/excalidraw/actions/actionMenu.d.ts +26 -44
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +16 -28
- package/dist/types/excalidraw/actions/actionProperties.d.ts +106 -196
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionStyles.d.ts +12 -18
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +10 -189
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionZindex.d.ts +10 -10
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +23 -23
- package/dist/types/excalidraw/components/App.d.ts +9 -9
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +5 -1
- package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -3
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -3
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -28
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/Range.d.ts +3 -3
- package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
- package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/utils.d.ts +2 -1
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -1
- package/dist/types/excalidraw/components/icons.d.ts +1 -0
- package/dist/types/excalidraw/components/shapes.d.ts +1 -1
- package/dist/types/excalidraw/data/blob.d.ts +1 -1
- package/dist/types/excalidraw/data/transform.d.ts +1 -1
- package/dist/types/excalidraw/fonts/Fonts.d.ts +1 -1
- package/dist/types/excalidraw/history.d.ts +14 -22
- package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
- package/dist/types/excalidraw/index.d.ts +9 -9
- package/dist/types/excalidraw/lasso/index.d.ts +1 -0
- package/dist/types/excalidraw/renderer/helpers.d.ts +6 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +1 -1
- package/dist/types/excalidraw/scene/index.d.ts +2 -2
- package/dist/types/excalidraw/snapping.d.ts +2 -2
- package/dist/types/excalidraw/types.d.ts +13 -6
- package/dist/types/excalidraw/visualdebug.d.ts +1 -1
- package/dist/types/math/src/curve.d.ts +2 -0
- package/dist/types/math/src/vector.d.ts +4 -0
- package/dist/types/utils/src/bbox.d.ts +1 -1
- package/dist/types/utils/src/index.d.ts +1 -1
- package/dist/types/utils/src/withinBounds.d.ts +1 -1
- package/history.ts +68 -94
- package/package.json +3 -3
- package/dist/dev/chunk-H3EW23X2.js.map +0 -7
- package/dist/dev/chunk-T3M44BFV.js.map +0 -7
- package/dist/prod/chunk-7M43VNIB.js +0 -33
- package/dist/prod/data/image-7YYIWLVQ.js +0 -1
- package/dist/types/excalidraw/store.d.ts +0 -129
- /package/dist/dev/{chunk-WMGEUIQQ.js.map → chunk-RQWTCZLD.js.map} +0 -0
- /package/dist/dev/data/{image-TTQKTTOH.js.map → image-CB4ZYE3A.js.map} +0 -0
- /package/dist/dev/locales/{en-I23TB6DJ.js.map → en-ZDTPSZNL.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { LinearElementEditor } from "@excalidraw/element
|
|
2
|
+
import { LinearElementEditor } from "@excalidraw/element";
|
|
3
3
|
import type { ExcalidrawLinearElement } from "@excalidraw/element/types";
|
|
4
4
|
export declare const actionToggleLinearEditor: {
|
|
5
5
|
name: "toggleLinearEditor";
|
|
@@ -31,7 +31,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
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
|
-
suggestedBindings: import("@excalidraw/element
|
|
34
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
35
35
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
36
36
|
frameRendering: {
|
|
37
37
|
enabled: boolean;
|
|
@@ -162,7 +162,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
162
162
|
data: import("../charts").Spreadsheet;
|
|
163
163
|
};
|
|
164
164
|
pendingImageElementId: string | null;
|
|
165
|
-
showHyperlinkPopup: false | "
|
|
165
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
166
166
|
selectedLinearElement: LinearElementEditor | null;
|
|
167
167
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
168
168
|
originSnapOffset: {
|
|
@@ -174,16 +174,10 @@ export declare const actionToggleLinearEditor: {
|
|
|
174
174
|
followedBy: Set<import("../types").SocketId>;
|
|
175
175
|
isCropping: boolean;
|
|
176
176
|
croppingElementId: string | null;
|
|
177
|
-
searchMatches:
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
offsetX: number;
|
|
182
|
-
offsetY: number;
|
|
183
|
-
width: number;
|
|
184
|
-
height: number;
|
|
185
|
-
}[];
|
|
186
|
-
}[];
|
|
177
|
+
searchMatches: Readonly<{
|
|
178
|
+
focusedId: string | null;
|
|
179
|
+
matches: readonly import("../types").SearchMatch[];
|
|
180
|
+
}> | null;
|
|
187
181
|
};
|
|
188
182
|
captureUpdate: "IMMEDIATELY";
|
|
189
183
|
};
|
|
@@ -26,7 +26,7 @@ export declare const actionLink: {
|
|
|
26
26
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
27
27
|
isBindingEnabled: boolean;
|
|
28
28
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
29
|
-
suggestedBindings: import("@excalidraw/element
|
|
29
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
30
30
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
31
31
|
frameRendering: {
|
|
32
32
|
enabled: boolean;
|
|
@@ -37,7 +37,7 @@ export declare const actionLink: {
|
|
|
37
37
|
editingFrame: string | null;
|
|
38
38
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
39
39
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
40
|
-
editingLinearElement: import("@excalidraw/element
|
|
40
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
41
41
|
activeTool: {
|
|
42
42
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
43
43
|
locked: boolean;
|
|
@@ -157,7 +157,7 @@ export declare const actionLink: {
|
|
|
157
157
|
data: import("../charts").Spreadsheet;
|
|
158
158
|
};
|
|
159
159
|
pendingImageElementId: string | null;
|
|
160
|
-
selectedLinearElement: import("@excalidraw/element
|
|
160
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
161
161
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
162
162
|
originSnapOffset: {
|
|
163
163
|
x: number;
|
|
@@ -168,16 +168,10 @@ export declare const actionLink: {
|
|
|
168
168
|
followedBy: Set<import("../types").SocketId>;
|
|
169
169
|
isCropping: boolean;
|
|
170
170
|
croppingElementId: string | null;
|
|
171
|
-
searchMatches:
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
offsetX: number;
|
|
176
|
-
offsetY: number;
|
|
177
|
-
width: number;
|
|
178
|
-
height: number;
|
|
179
|
-
}[];
|
|
180
|
-
}[];
|
|
171
|
+
searchMatches: Readonly<{
|
|
172
|
+
focusedId: string | null;
|
|
173
|
+
matches: readonly import("../types").SearchMatch[];
|
|
174
|
+
}> | null;
|
|
181
175
|
};
|
|
182
176
|
captureUpdate: "IMMEDIATELY";
|
|
183
177
|
};
|
|
@@ -185,9 +179,9 @@ export declare const actionLink: {
|
|
|
185
179
|
category: "hyperlink";
|
|
186
180
|
action: string;
|
|
187
181
|
};
|
|
188
|
-
keyTest: (event:
|
|
182
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
189
183
|
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState) => boolean;
|
|
190
184
|
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
191
185
|
} & {
|
|
192
|
-
keyTest?: ((event:
|
|
186
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
193
187
|
};
|
|
@@ -26,7 +26,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
26
26
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
27
27
|
isBindingEnabled: boolean;
|
|
28
28
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
29
|
-
suggestedBindings: import("@excalidraw/element
|
|
29
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
30
30
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
31
31
|
frameRendering: {
|
|
32
32
|
enabled: boolean;
|
|
@@ -37,7 +37,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
37
37
|
editingFrame: string | null;
|
|
38
38
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
39
39
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
40
|
-
editingLinearElement: import("@excalidraw/element
|
|
40
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
41
41
|
activeTool: {
|
|
42
42
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
43
43
|
locked: boolean;
|
|
@@ -157,8 +157,8 @@ export declare const actionToggleCanvasMenu: {
|
|
|
157
157
|
data: import("../charts").Spreadsheet;
|
|
158
158
|
};
|
|
159
159
|
pendingImageElementId: string | null;
|
|
160
|
-
showHyperlinkPopup: false | "
|
|
161
|
-
selectedLinearElement: import("@excalidraw/element
|
|
160
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
161
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
162
162
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
163
163
|
originSnapOffset: {
|
|
164
164
|
x: number;
|
|
@@ -169,16 +169,10 @@ export declare const actionToggleCanvasMenu: {
|
|
|
169
169
|
followedBy: Set<import("../types").SocketId>;
|
|
170
170
|
isCropping: boolean;
|
|
171
171
|
croppingElementId: string | null;
|
|
172
|
-
searchMatches:
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
offsetX: number;
|
|
177
|
-
offsetY: number;
|
|
178
|
-
width: number;
|
|
179
|
-
height: number;
|
|
180
|
-
}[];
|
|
181
|
-
}[];
|
|
172
|
+
searchMatches: Readonly<{
|
|
173
|
+
focusedId: string | null;
|
|
174
|
+
matches: readonly import("../types").SearchMatch[];
|
|
175
|
+
}> | null;
|
|
182
176
|
};
|
|
183
177
|
captureUpdate: "EVENTUALLY";
|
|
184
178
|
};
|
|
@@ -213,7 +207,7 @@ export declare const actionToggleEditMenu: {
|
|
|
213
207
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
214
208
|
isBindingEnabled: boolean;
|
|
215
209
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
216
|
-
suggestedBindings: import("@excalidraw/element
|
|
210
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
217
211
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
218
212
|
frameRendering: {
|
|
219
213
|
enabled: boolean;
|
|
@@ -224,7 +218,7 @@ export declare const actionToggleEditMenu: {
|
|
|
224
218
|
editingFrame: string | null;
|
|
225
219
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
226
220
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
227
|
-
editingLinearElement: import("@excalidraw/element
|
|
221
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
228
222
|
activeTool: {
|
|
229
223
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
230
224
|
locked: boolean;
|
|
@@ -344,8 +338,8 @@ export declare const actionToggleEditMenu: {
|
|
|
344
338
|
data: import("../charts").Spreadsheet;
|
|
345
339
|
};
|
|
346
340
|
pendingImageElementId: string | null;
|
|
347
|
-
showHyperlinkPopup: false | "
|
|
348
|
-
selectedLinearElement: import("@excalidraw/element
|
|
341
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
342
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
349
343
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
350
344
|
originSnapOffset: {
|
|
351
345
|
x: number;
|
|
@@ -356,16 +350,10 @@ export declare const actionToggleEditMenu: {
|
|
|
356
350
|
followedBy: Set<import("../types").SocketId>;
|
|
357
351
|
isCropping: boolean;
|
|
358
352
|
croppingElementId: string | null;
|
|
359
|
-
searchMatches:
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
offsetX: number;
|
|
364
|
-
offsetY: number;
|
|
365
|
-
width: number;
|
|
366
|
-
height: number;
|
|
367
|
-
}[];
|
|
368
|
-
}[];
|
|
353
|
+
searchMatches: Readonly<{
|
|
354
|
+
focusedId: string | null;
|
|
355
|
+
matches: readonly import("../types").SearchMatch[];
|
|
356
|
+
}> | null;
|
|
369
357
|
};
|
|
370
358
|
captureUpdate: "EVENTUALLY";
|
|
371
359
|
};
|
|
@@ -405,7 +393,7 @@ export declare const actionShortcuts: {
|
|
|
405
393
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
406
394
|
isBindingEnabled: boolean;
|
|
407
395
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
408
|
-
suggestedBindings: import("@excalidraw/element
|
|
396
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
409
397
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
410
398
|
frameRendering: {
|
|
411
399
|
enabled: boolean;
|
|
@@ -416,7 +404,7 @@ export declare const actionShortcuts: {
|
|
|
416
404
|
editingFrame: string | null;
|
|
417
405
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
418
406
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
419
|
-
editingLinearElement: import("@excalidraw/element
|
|
407
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
420
408
|
activeTool: {
|
|
421
409
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
422
410
|
locked: boolean;
|
|
@@ -526,8 +514,8 @@ export declare const actionShortcuts: {
|
|
|
526
514
|
data: import("../charts").Spreadsheet;
|
|
527
515
|
};
|
|
528
516
|
pendingImageElementId: string | null;
|
|
529
|
-
showHyperlinkPopup: false | "
|
|
530
|
-
selectedLinearElement: import("@excalidraw/element
|
|
517
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
518
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
531
519
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
532
520
|
originSnapOffset: {
|
|
533
521
|
x: number;
|
|
@@ -538,20 +526,14 @@ export declare const actionShortcuts: {
|
|
|
538
526
|
followedBy: Set<import("../types").SocketId>;
|
|
539
527
|
isCropping: boolean;
|
|
540
528
|
croppingElementId: string | null;
|
|
541
|
-
searchMatches:
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
offsetX: number;
|
|
546
|
-
offsetY: number;
|
|
547
|
-
width: number;
|
|
548
|
-
height: number;
|
|
549
|
-
}[];
|
|
550
|
-
}[];
|
|
529
|
+
searchMatches: Readonly<{
|
|
530
|
+
focusedId: string | null;
|
|
531
|
+
matches: readonly import("../types").SearchMatch[];
|
|
532
|
+
}> | null;
|
|
551
533
|
};
|
|
552
534
|
captureUpdate: "EVENTUALLY";
|
|
553
535
|
};
|
|
554
|
-
keyTest: (event:
|
|
536
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
555
537
|
} & {
|
|
556
|
-
keyTest?: ((event:
|
|
538
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
557
539
|
};
|
|
@@ -28,7 +28,7 @@ export declare const actionGoToCollaborator: {
|
|
|
28
28
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
29
29
|
isBindingEnabled: boolean;
|
|
30
30
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
31
|
-
suggestedBindings: import("@excalidraw/element
|
|
31
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
32
32
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
33
33
|
frameRendering: {
|
|
34
34
|
enabled: boolean;
|
|
@@ -39,7 +39,7 @@ export declare const actionGoToCollaborator: {
|
|
|
39
39
|
editingFrame: string | null;
|
|
40
40
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
41
41
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
42
|
-
editingLinearElement: import("@excalidraw/element
|
|
42
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
43
43
|
activeTool: {
|
|
44
44
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
45
45
|
locked: boolean;
|
|
@@ -160,8 +160,8 @@ export declare const actionGoToCollaborator: {
|
|
|
160
160
|
data: import("../charts").Spreadsheet;
|
|
161
161
|
};
|
|
162
162
|
pendingImageElementId: string | null;
|
|
163
|
-
showHyperlinkPopup: false | "
|
|
164
|
-
selectedLinearElement: import("@excalidraw/element
|
|
163
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
164
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
165
165
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
166
166
|
originSnapOffset: {
|
|
167
167
|
x: number;
|
|
@@ -171,16 +171,10 @@ export declare const actionGoToCollaborator: {
|
|
|
171
171
|
followedBy: Set<import("../types").SocketId>;
|
|
172
172
|
isCropping: boolean;
|
|
173
173
|
croppingElementId: string | null;
|
|
174
|
-
searchMatches:
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
offsetX: number;
|
|
179
|
-
offsetY: number;
|
|
180
|
-
width: number;
|
|
181
|
-
height: number;
|
|
182
|
-
}[];
|
|
183
|
-
}[];
|
|
174
|
+
searchMatches: Readonly<{
|
|
175
|
+
focusedId: string | null;
|
|
176
|
+
matches: readonly import("../types").SearchMatch[];
|
|
177
|
+
}> | null;
|
|
184
178
|
};
|
|
185
179
|
captureUpdate: "EVENTUALLY";
|
|
186
180
|
} | {
|
|
@@ -208,7 +202,7 @@ export declare const actionGoToCollaborator: {
|
|
|
208
202
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
209
203
|
isBindingEnabled: boolean;
|
|
210
204
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
211
|
-
suggestedBindings: import("@excalidraw/element
|
|
205
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
212
206
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
213
207
|
frameRendering: {
|
|
214
208
|
enabled: boolean;
|
|
@@ -219,7 +213,7 @@ export declare const actionGoToCollaborator: {
|
|
|
219
213
|
editingFrame: string | null;
|
|
220
214
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
221
215
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
222
|
-
editingLinearElement: import("@excalidraw/element
|
|
216
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
223
217
|
activeTool: {
|
|
224
218
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
225
219
|
locked: boolean;
|
|
@@ -339,8 +333,8 @@ export declare const actionGoToCollaborator: {
|
|
|
339
333
|
data: import("../charts").Spreadsheet;
|
|
340
334
|
};
|
|
341
335
|
pendingImageElementId: string | null;
|
|
342
|
-
showHyperlinkPopup: false | "
|
|
343
|
-
selectedLinearElement: import("@excalidraw/element
|
|
336
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
337
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
344
338
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
345
339
|
originSnapOffset: {
|
|
346
340
|
x: number;
|
|
@@ -350,16 +344,10 @@ export declare const actionGoToCollaborator: {
|
|
|
350
344
|
followedBy: Set<import("../types").SocketId>;
|
|
351
345
|
isCropping: boolean;
|
|
352
346
|
croppingElementId: string | null;
|
|
353
|
-
searchMatches:
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
offsetX: number;
|
|
358
|
-
offsetY: number;
|
|
359
|
-
width: number;
|
|
360
|
-
height: number;
|
|
361
|
-
}[];
|
|
362
|
-
}[];
|
|
347
|
+
searchMatches: Readonly<{
|
|
348
|
+
focusedId: string | null;
|
|
349
|
+
matches: readonly import("../types").SearchMatch[];
|
|
350
|
+
}> | null;
|
|
363
351
|
};
|
|
364
352
|
captureUpdate: "EVENTUALLY";
|
|
365
353
|
};
|