@myoc/excalidraw 0.18.16 → 0.18.17
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-3HLOFB5F.js → chunk-FQEIAL75.js} +14723 -9831
- package/dist/dev/chunk-FQEIAL75.js.map +7 -0
- package/dist/dev/{chunk-PEI7EPYO.js → chunk-KJKC5BJI.js} +10 -4
- package/dist/dev/chunk-KJKC5BJI.js.map +7 -0
- package/dist/dev/{chunk-QQGTICP4.js → chunk-XL2I4W52.js} +2 -2
- package/dist/dev/data/{image-XPEIZ6XQ.js → image-WMF622SS.js} +3 -3
- package/dist/dev/index.css +69 -22
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +3099 -6535
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-R455UJTM.js → en-UQFCZXHO.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-7HNFGNL7.js → chunk-5JAQX5EH.js} +1 -1
- package/dist/prod/{chunk-KZWZ7WHC.js → chunk-EJLAYNAE.js} +4 -4
- package/dist/prod/chunk-LSNMPGNI.js +33 -0
- package/dist/prod/data/image-Z433FUMH.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +17 -16
- package/dist/prod/locales/{en-YWERZJD6.js → en-7EHYHCIL.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 +3 -1
- 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/{excalidraw/scene → element/src}/Scene.d.ts +11 -14
- package/dist/types/element/src/ShapeCache.d.ts +1 -1
- package/dist/types/element/src/align.d.ts +3 -3
- package/dist/types/element/src/arrange.d.ts +2 -1
- package/dist/types/element/src/binding.d.ts +18 -10
- 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 +3 -2
- package/dist/types/element/src/elbowArrow.d.ts +1 -1
- package/dist/types/element/src/flowchart.d.ts +3 -2
- package/dist/types/element/src/fractionalIndex.d.ts +2 -2
- package/dist/types/element/src/frame.d.ts +4 -3
- package/dist/types/element/src/index.d.ts +45 -2
- package/dist/types/element/src/linearElementEditor.d.ts +14 -18
- package/dist/types/element/src/mutateElement.d.ts +10 -2
- package/dist/types/element/src/newElement.d.ts +3 -3
- package/dist/types/element/src/resizeElements.d.ts +4 -4
- package/dist/types/element/src/selection.d.ts +1 -6
- package/dist/types/element/src/shapes.d.ts +1 -1
- package/dist/types/element/src/sizeHelpers.d.ts +0 -1
- package/dist/types/element/src/store.d.ts +227 -0
- package/dist/types/element/src/textElement.d.ts +4 -3
- package/dist/types/element/src/typeChecks.d.ts +5 -1
- package/dist/types/element/src/types.d.ts +8 -0
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +27 -45
- 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 +18 -30
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +127 -199
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +56 -92
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +9 -15
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +25 -43
- 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 -15
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +20 -32
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +9 -15
- package/dist/types/excalidraw/actions/actionExport.d.ts +175 -229
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +16 -28
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +80 -104
- package/dist/types/excalidraw/actions/actionGroup.d.ts +24 -36
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +8 -14
- package/dist/types/excalidraw/actions/actionLink.d.ts +9 -15
- package/dist/types/excalidraw/actions/actionMenu.d.ts +27 -45
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +17 -29
- package/dist/types/excalidraw/actions/actionProperties.d.ts +123 -213
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +11 -17
- package/dist/types/excalidraw/actions/actionSmartZoom.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionStyles.d.ts +13 -19
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +11 -17
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +11 -17
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +11 -198
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +11 -17
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +11 -17
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +11 -17
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/actions/types.d.ts +3 -3
- package/dist/types/excalidraw/appState.d.ts +30 -30
- package/dist/types/excalidraw/components/App.d.ts +13 -8
- 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 +23 -0
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
- package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.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 +4 -11
- package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -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/editor-jotai.d.ts +6 -6
- 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 +15 -6
- package/dist/types/excalidraw/visualdebug.d.ts +1 -1
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -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 +4 -4
- package/dist/dev/chunk-3HLOFB5F.js.map +0 -7
- package/dist/dev/chunk-PEI7EPYO.js.map +0 -7
- package/dist/prod/chunk-KKQVTSHB.js +0 -33
- package/dist/prod/data/image-QD7FUQED.js +0 -1
- package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
- package/dist/types/excalidraw/store.d.ts +0 -129
- /package/dist/dev/{chunk-QQGTICP4.js.map → chunk-XL2I4W52.js.map} +0 -0
- /package/dist/dev/data/{image-XPEIZ6XQ.js.map → image-WMF622SS.js.map} +0 -0
- /package/dist/dev/locales/{en-R455UJTM.js.map → en-UQFCZXHO.js.map} +0 -0
|
@@ -67,7 +67,7 @@ export declare const actionLinkToElement: {
|
|
|
67
67
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
68
68
|
isBindingEnabled: boolean;
|
|
69
69
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
70
|
-
suggestedBindings: import("@excalidraw/element
|
|
70
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
71
71
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
72
72
|
frameRendering: {
|
|
73
73
|
enabled: boolean;
|
|
@@ -78,7 +78,7 @@ export declare const actionLinkToElement: {
|
|
|
78
78
|
editingFrame: string | null;
|
|
79
79
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
80
80
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
81
|
-
editingLinearElement: import("@excalidraw/element
|
|
81
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
82
82
|
activeTool: {
|
|
83
83
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
84
84
|
locked: boolean;
|
|
@@ -116,7 +116,7 @@ export declare const actionLinkToElement: {
|
|
|
116
116
|
zoom: Readonly<{
|
|
117
117
|
value: import("../types").NormalizedZoomValue;
|
|
118
118
|
}>;
|
|
119
|
-
openMenu: "
|
|
119
|
+
openMenu: "canvas" | "shape" | null;
|
|
120
120
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
121
121
|
openSidebar: {
|
|
122
122
|
name: string;
|
|
@@ -188,8 +188,8 @@ export declare const actionLinkToElement: {
|
|
|
188
188
|
data: import("../charts").Spreadsheet;
|
|
189
189
|
};
|
|
190
190
|
pendingImageElementId: string | null;
|
|
191
|
-
showHyperlinkPopup: false | "
|
|
192
|
-
selectedLinearElement: import("@excalidraw/element
|
|
191
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
192
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
193
193
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
194
194
|
originSnapOffset: {
|
|
195
195
|
x: number;
|
|
@@ -200,16 +200,10 @@ export declare const actionLinkToElement: {
|
|
|
200
200
|
followedBy: Set<import("../types").SocketId>;
|
|
201
201
|
isCropping: boolean;
|
|
202
202
|
croppingElementId: string | null;
|
|
203
|
-
searchMatches:
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
offsetX: number;
|
|
208
|
-
offsetY: number;
|
|
209
|
-
width: number;
|
|
210
|
-
height: number;
|
|
211
|
-
}[];
|
|
212
|
-
}[];
|
|
203
|
+
searchMatches: Readonly<{
|
|
204
|
+
focusedId: string | null;
|
|
205
|
+
matches: readonly import("../types").SearchMatch[];
|
|
206
|
+
}> | null;
|
|
213
207
|
};
|
|
214
208
|
captureUpdate: "IMMEDIATELY";
|
|
215
209
|
elements?: undefined;
|
|
@@ -11,7 +11,7 @@ export declare const actionToggleElementLock: {
|
|
|
11
11
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => false | {
|
|
12
12
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
13
13
|
appState: {
|
|
14
|
-
selectedLinearElement: import("@excalidraw/element
|
|
14
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
15
15
|
contextMenu: {
|
|
16
16
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
17
17
|
top: number;
|
|
@@ -38,7 +38,7 @@ export declare const actionToggleElementLock: {
|
|
|
38
38
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
39
39
|
isBindingEnabled: boolean;
|
|
40
40
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
41
|
-
suggestedBindings: import("@excalidraw/element
|
|
41
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
42
42
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
43
43
|
frameRendering: {
|
|
44
44
|
enabled: boolean;
|
|
@@ -49,7 +49,7 @@ export declare const actionToggleElementLock: {
|
|
|
49
49
|
editingFrame: string | null;
|
|
50
50
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
51
51
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
52
|
-
editingLinearElement: import("@excalidraw/element
|
|
52
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
53
53
|
activeTool: {
|
|
54
54
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
55
55
|
locked: boolean;
|
|
@@ -87,7 +87,7 @@ export declare const actionToggleElementLock: {
|
|
|
87
87
|
zoom: Readonly<{
|
|
88
88
|
value: import("../types").NormalizedZoomValue;
|
|
89
89
|
}>;
|
|
90
|
-
openMenu: "
|
|
90
|
+
openMenu: "canvas" | "shape" | null;
|
|
91
91
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
92
92
|
openSidebar: {
|
|
93
93
|
name: string;
|
|
@@ -170,7 +170,7 @@ export declare const actionToggleElementLock: {
|
|
|
170
170
|
data: import("../charts").Spreadsheet;
|
|
171
171
|
};
|
|
172
172
|
pendingImageElementId: string | null;
|
|
173
|
-
showHyperlinkPopup: false | "
|
|
173
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
174
174
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
175
175
|
originSnapOffset: {
|
|
176
176
|
x: number;
|
|
@@ -181,22 +181,16 @@ export declare const actionToggleElementLock: {
|
|
|
181
181
|
followedBy: Set<import("../types").SocketId>;
|
|
182
182
|
isCropping: boolean;
|
|
183
183
|
croppingElementId: string | null;
|
|
184
|
-
searchMatches:
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
offsetX: number;
|
|
189
|
-
offsetY: number;
|
|
190
|
-
width: number;
|
|
191
|
-
height: number;
|
|
192
|
-
}[];
|
|
193
|
-
}[];
|
|
184
|
+
searchMatches: Readonly<{
|
|
185
|
+
focusedId: string | null;
|
|
186
|
+
matches: readonly import("../types").SearchMatch[];
|
|
187
|
+
}> | null;
|
|
194
188
|
};
|
|
195
189
|
captureUpdate: "IMMEDIATELY";
|
|
196
190
|
};
|
|
197
|
-
keyTest: (event:
|
|
191
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent, appState: import("../types").AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean;
|
|
198
192
|
} & {
|
|
199
|
-
keyTest?: ((event:
|
|
193
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent, appState: import("../types").AppState, elements: readonly ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
|
|
200
194
|
};
|
|
201
195
|
export declare const actionUnlockAllElements: {
|
|
202
196
|
name: "unlockAllElements";
|
|
@@ -238,7 +232,7 @@ export declare const actionUnlockAllElements: {
|
|
|
238
232
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
239
233
|
isBindingEnabled: boolean;
|
|
240
234
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
241
|
-
suggestedBindings: import("@excalidraw/element
|
|
235
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
242
236
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
243
237
|
frameRendering: {
|
|
244
238
|
enabled: boolean;
|
|
@@ -249,7 +243,7 @@ export declare const actionUnlockAllElements: {
|
|
|
249
243
|
editingFrame: string | null;
|
|
250
244
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
251
245
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
252
|
-
editingLinearElement: import("@excalidraw/element
|
|
246
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
253
247
|
activeTool: {
|
|
254
248
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
255
249
|
locked: boolean;
|
|
@@ -287,7 +281,7 @@ export declare const actionUnlockAllElements: {
|
|
|
287
281
|
zoom: Readonly<{
|
|
288
282
|
value: import("../types").NormalizedZoomValue;
|
|
289
283
|
}>;
|
|
290
|
-
openMenu: "
|
|
284
|
+
openMenu: "canvas" | "shape" | null;
|
|
291
285
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
292
286
|
openSidebar: {
|
|
293
287
|
name: string;
|
|
@@ -367,8 +361,8 @@ export declare const actionUnlockAllElements: {
|
|
|
367
361
|
data: import("../charts").Spreadsheet;
|
|
368
362
|
};
|
|
369
363
|
pendingImageElementId: string | null;
|
|
370
|
-
showHyperlinkPopup: false | "
|
|
371
|
-
selectedLinearElement: import("@excalidraw/element
|
|
364
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
365
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
372
366
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
373
367
|
originSnapOffset: {
|
|
374
368
|
x: number;
|
|
@@ -379,16 +373,10 @@ export declare const actionUnlockAllElements: {
|
|
|
379
373
|
followedBy: Set<import("../types").SocketId>;
|
|
380
374
|
isCropping: boolean;
|
|
381
375
|
croppingElementId: string | null;
|
|
382
|
-
searchMatches:
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
offsetX: number;
|
|
387
|
-
offsetY: number;
|
|
388
|
-
width: number;
|
|
389
|
-
height: number;
|
|
390
|
-
}[];
|
|
391
|
-
}[];
|
|
376
|
+
searchMatches: Readonly<{
|
|
377
|
+
focusedId: string | null;
|
|
378
|
+
matches: readonly import("../types").SearchMatch[];
|
|
379
|
+
}> | null;
|
|
392
380
|
};
|
|
393
381
|
captureUpdate: "IMMEDIATELY";
|
|
394
382
|
};
|
|
@@ -40,7 +40,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
40
40
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
41
41
|
isBindingEnabled: boolean;
|
|
42
42
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
43
|
-
suggestedBindings: import("@excalidraw/element
|
|
43
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
44
44
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
45
45
|
frameRendering: {
|
|
46
46
|
enabled: boolean;
|
|
@@ -51,7 +51,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
51
51
|
editingFrame: string | null;
|
|
52
52
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
53
53
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
54
|
-
editingLinearElement: import("@excalidraw/element
|
|
54
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
55
55
|
penMode: boolean;
|
|
56
56
|
penDetected: boolean;
|
|
57
57
|
exportBackground: boolean;
|
|
@@ -84,7 +84,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
84
84
|
zoom: Readonly<{
|
|
85
85
|
value: import("../types").NormalizedZoomValue;
|
|
86
86
|
}>;
|
|
87
|
-
openMenu: "
|
|
87
|
+
openMenu: "canvas" | "shape" | null;
|
|
88
88
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
89
89
|
openSidebar: {
|
|
90
90
|
name: string;
|
|
@@ -167,8 +167,8 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
167
167
|
data: import("../charts").Spreadsheet;
|
|
168
168
|
};
|
|
169
169
|
pendingImageElementId: string | null;
|
|
170
|
-
showHyperlinkPopup: false | "
|
|
171
|
-
selectedLinearElement: import("@excalidraw/element
|
|
170
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
171
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
172
172
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
173
173
|
originSnapOffset: {
|
|
174
174
|
x: number;
|
|
@@ -179,16 +179,10 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
179
179
|
followedBy: Set<import("../types").SocketId>;
|
|
180
180
|
isCropping: boolean;
|
|
181
181
|
croppingElementId: string | null;
|
|
182
|
-
searchMatches:
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
offsetX: number;
|
|
187
|
-
offsetY: number;
|
|
188
|
-
width: number;
|
|
189
|
-
height: number;
|
|
190
|
-
}[];
|
|
191
|
-
}[];
|
|
182
|
+
searchMatches: Readonly<{
|
|
183
|
+
focusedId: string | null;
|
|
184
|
+
matches: readonly import("../types").SearchMatch[];
|
|
185
|
+
}> | null;
|
|
192
186
|
};
|
|
193
187
|
captureUpdate: "EVENTUALLY";
|
|
194
188
|
};
|