@excalidraw/excalidraw 0.18.0-a5d6939 → 0.18.0-a8acc82
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-6MX365WZ.js +5666 -0
- package/dist/dev/chunk-6MX365WZ.js.map +7 -0
- package/dist/dev/chunk-CP5DND7P.js +7 -0
- package/dist/dev/chunk-CP5DND7P.js.map +7 -0
- package/dist/dev/{chunk-X3RYHLJU.js → chunk-QF5FRM6O.js} +15 -5
- package/dist/dev/chunk-QF5FRM6O.js.map +7 -0
- package/dist/dev/data/{image-JN3Y4CVN.js → image-GQCFJKGM.js} +3 -3
- package/dist/dev/index.css +230 -23
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +10262 -10068
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-CKWC2GMK.js → en-SMAPCEOQ.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-A66AFZZU.js +7 -0
- package/dist/prod/chunk-I4UNSFV6.js +12 -0
- package/dist/prod/chunk-R2M7VUMD.js +4 -0
- package/dist/prod/data/image-JWK7QZ22.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +25 -17
- package/dist/prod/locales/{en-SBO6ZHT2.js → en-TYY6KWIJ.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 +40 -7
- 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 +18 -4
- package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +16 -15
- package/dist/types/element/src/align.d.ts +4 -3
- package/dist/types/element/src/binding.d.ts +25 -14
- package/dist/types/element/src/bounds.d.ts +14 -6
- package/dist/types/element/src/collision.d.ts +18 -12
- package/dist/types/element/src/cropElement.d.ts +1 -1
- package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +77 -40
- package/dist/types/element/src/distance.d.ts +2 -2
- package/dist/types/element/src/distribute.d.ts +2 -1
- 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 +9 -3
- package/dist/types/element/src/frame.d.ts +4 -3
- package/dist/types/element/src/groups.d.ts +1 -0
- package/dist/types/element/src/index.d.ts +44 -2
- package/dist/types/element/src/linearElementEditor.d.ts +23 -36
- package/dist/types/element/src/mutateElement.d.ts +11 -3
- package/dist/types/element/src/newElement.d.ts +4 -3
- package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
- package/dist/types/element/src/renderElement.d.ts +4 -1
- package/dist/types/element/src/resizeElements.d.ts +5 -4
- package/dist/types/element/src/selection.d.ts +0 -5
- package/dist/types/element/src/shape.d.ts +42 -0
- package/dist/types/element/src/sizeHelpers.d.ts +2 -2
- package/dist/types/element/src/store.d.ts +237 -0
- package/dist/types/element/src/textElement.d.ts +4 -3
- package/dist/types/element/src/typeChecks.d.ts +19 -1
- package/dist/types/element/src/types.d.ts +15 -2
- package/dist/types/element/src/utils.d.ts +16 -6
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +45 -54
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +30 -36
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +204 -242
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +90 -106
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +45 -53
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +45 -52
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionExport.d.ts +145 -172
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +77 -42
- package/dist/types/excalidraw/actions/actionFrame.d.ts +107 -119
- package/dist/types/excalidraw/actions/actionGroup.d.ts +30 -36
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +541 -20
- package/dist/types/excalidraw/actions/actionLink.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionMenu.d.ts +42 -51
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +29 -35
- package/dist/types/excalidraw/actions/actionProperties.d.ts +246 -274
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionStyles.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +14 -190
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +15 -18
- package/dist/types/excalidraw/actions/index.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +4 -3
- package/dist/types/excalidraw/appState.d.ts +20 -10
- package/dist/types/excalidraw/clipboard.d.ts +64 -1
- package/dist/types/excalidraw/components/Actions.d.ts +8 -5
- package/dist/types/excalidraw/components/App.d.ts +30 -30
- package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +7 -2
- 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/Ellipsify.d.ts +4 -0
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
- 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 +12 -2
- 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/UnlockPopup.d.ts +8 -0
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +1 -0
- 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 +9 -0
- 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/reconcile.d.ts +1 -0
- package/dist/types/excalidraw/data/restore.d.ts +6 -1
- package/dist/types/excalidraw/data/transform.d.ts +1 -1
- package/dist/types/excalidraw/data/types.d.ts +4 -1
- package/dist/types/excalidraw/editor-jotai.d.ts +6 -6
- package/dist/types/excalidraw/eraser/index.d.ts +0 -2
- package/dist/types/excalidraw/fonts/Fonts.d.ts +1 -1
- package/dist/types/excalidraw/history.d.ts +30 -22
- package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
- package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
- package/dist/types/excalidraw/index.d.ts +11 -10
- package/dist/types/excalidraw/lasso/index.d.ts +1 -0
- package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
- package/dist/types/excalidraw/renderer/helpers.d.ts +7 -2
- package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +1 -2
- package/dist/types/excalidraw/scene/index.d.ts +2 -2
- package/dist/types/excalidraw/scene/scrollbars.d.ts +2 -3
- package/dist/types/excalidraw/scene/types.d.ts +2 -0
- package/dist/types/excalidraw/snapping.d.ts +2 -2
- package/dist/types/excalidraw/types.d.ts +36 -15
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
- package/dist/types/math/src/angle.d.ts +2 -0
- package/dist/types/math/src/constants.d.ts +3 -0
- package/dist/types/math/src/curve.d.ts +34 -0
- package/dist/types/math/src/index.d.ts +1 -0
- package/dist/types/math/src/point.d.ts +1 -1
- package/dist/types/math/src/rectangle.d.ts +2 -0
- package/dist/types/math/src/segment.d.ts +1 -0
- package/dist/types/math/src/vector.d.ts +8 -2
- 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 +146 -109
- package/package.json +13 -10
- package/dist/dev/chunk-GBJ7S76A.js +0 -18599
- package/dist/dev/chunk-GBJ7S76A.js.map +0 -7
- package/dist/dev/chunk-GIMGG4AT.js +0 -7
- package/dist/dev/chunk-GIMGG4AT.js.map +0 -7
- package/dist/dev/chunk-X3RYHLJU.js.map +0 -7
- package/dist/prod/chunk-GKI4RZ6C.js +0 -7
- package/dist/prod/chunk-IUH5AXLB.js +0 -12
- package/dist/prod/chunk-TVF64BAY.js +0 -33
- package/dist/prod/data/image-CZ2OEVDB.js +0 -1
- package/dist/types/element/src/Shape.d.ts +0 -17
- package/dist/types/element/src/ShapeCache.d.ts +0 -25
- package/dist/types/element/src/shapes.d.ts +0 -23
- package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
- package/dist/types/excalidraw/store.d.ts +0 -129
- package/dist/types/excalidraw/visualdebug.d.ts +0 -41
- package/dist/types/utils/src/collision.d.ts +0 -8
- /package/dist/dev/data/{image-JN3Y4CVN.js.map → image-GQCFJKGM.js.map} +0 -0
- /package/dist/dev/locales/{en-CKWC2GMK.js.map → en-SMAPCEOQ.js.map} +0 -0
|
@@ -19,7 +19,7 @@ export declare const actionCopy: {
|
|
|
19
19
|
isLoading: boolean;
|
|
20
20
|
activeEmbeddable: {
|
|
21
21
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
22
|
-
state: "
|
|
22
|
+
state: "active" | "hover";
|
|
23
23
|
} | null;
|
|
24
24
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
25
25
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -27,7 +27,7 @@ export declare const actionCopy: {
|
|
|
27
27
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
28
28
|
isBindingEnabled: boolean;
|
|
29
29
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
30
|
-
suggestedBindings: import("@excalidraw/element
|
|
30
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
31
31
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
32
32
|
frameRendering: {
|
|
33
33
|
enabled: boolean;
|
|
@@ -38,7 +38,6 @@ export declare const actionCopy: {
|
|
|
38
38
|
editingFrame: string | null;
|
|
39
39
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
40
40
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
41
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
42
41
|
activeTool: {
|
|
43
42
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
44
43
|
locked: boolean;
|
|
@@ -76,8 +75,8 @@ export declare const actionCopy: {
|
|
|
76
75
|
zoom: Readonly<{
|
|
77
76
|
value: import("../types").NormalizedZoomValue;
|
|
78
77
|
}>;
|
|
79
|
-
openMenu: "
|
|
80
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
78
|
+
openMenu: "canvas" | "shape" | null;
|
|
79
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
81
80
|
openSidebar: {
|
|
82
81
|
name: string;
|
|
83
82
|
tab?: string | undefined;
|
|
@@ -86,7 +85,7 @@ export declare const actionCopy: {
|
|
|
86
85
|
name: "imageExport" | "help" | "jsonExport";
|
|
87
86
|
} | {
|
|
88
87
|
name: "ttd";
|
|
89
|
-
tab: "text-to-diagram"
|
|
88
|
+
tab: "mermaid" | "text-to-diagram";
|
|
90
89
|
} | {
|
|
91
90
|
name: "commandPalette";
|
|
92
91
|
} | {
|
|
@@ -158,9 +157,8 @@ export declare const actionCopy: {
|
|
|
158
157
|
shown: true;
|
|
159
158
|
data: import("../charts").Spreadsheet;
|
|
160
159
|
};
|
|
161
|
-
pendingImageElementId: string | null;
|
|
162
160
|
showHyperlinkPopup: false | "editor" | "info";
|
|
163
|
-
selectedLinearElement: import("@excalidraw/element
|
|
161
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
164
162
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
165
163
|
originSnapOffset: {
|
|
166
164
|
x: number;
|
|
@@ -171,16 +169,15 @@ export declare const actionCopy: {
|
|
|
171
169
|
followedBy: Set<import("../types").SocketId>;
|
|
172
170
|
isCropping: boolean;
|
|
173
171
|
croppingElementId: string | null;
|
|
174
|
-
searchMatches:
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
}[];
|
|
172
|
+
searchMatches: Readonly<{
|
|
173
|
+
focusedId: string | null;
|
|
174
|
+
matches: readonly import("../types").SearchMatch[];
|
|
175
|
+
}> | null;
|
|
176
|
+
activeLockedId: string | null;
|
|
177
|
+
lockedMultiSelections: {
|
|
178
|
+
[groupId: string]: true;
|
|
179
|
+
};
|
|
180
|
+
stylesPanelMode: "compact" | "full";
|
|
184
181
|
};
|
|
185
182
|
} | {
|
|
186
183
|
captureUpdate: "EVENTUALLY";
|
|
@@ -209,7 +206,7 @@ export declare const actionPaste: {
|
|
|
209
206
|
isLoading: boolean;
|
|
210
207
|
activeEmbeddable: {
|
|
211
208
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
212
|
-
state: "
|
|
209
|
+
state: "active" | "hover";
|
|
213
210
|
} | null;
|
|
214
211
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
215
212
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -217,7 +214,7 @@ export declare const actionPaste: {
|
|
|
217
214
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
218
215
|
isBindingEnabled: boolean;
|
|
219
216
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
220
|
-
suggestedBindings: import("@excalidraw/element
|
|
217
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
221
218
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
222
219
|
frameRendering: {
|
|
223
220
|
enabled: boolean;
|
|
@@ -228,7 +225,6 @@ export declare const actionPaste: {
|
|
|
228
225
|
editingFrame: string | null;
|
|
229
226
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
230
227
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
231
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
232
228
|
activeTool: {
|
|
233
229
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
234
230
|
locked: boolean;
|
|
@@ -266,8 +262,8 @@ export declare const actionPaste: {
|
|
|
266
262
|
zoom: Readonly<{
|
|
267
263
|
value: import("../types").NormalizedZoomValue;
|
|
268
264
|
}>;
|
|
269
|
-
openMenu: "
|
|
270
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
265
|
+
openMenu: "canvas" | "shape" | null;
|
|
266
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
271
267
|
openSidebar: {
|
|
272
268
|
name: string;
|
|
273
269
|
tab?: string | undefined;
|
|
@@ -276,7 +272,7 @@ export declare const actionPaste: {
|
|
|
276
272
|
name: "imageExport" | "help" | "jsonExport";
|
|
277
273
|
} | {
|
|
278
274
|
name: "ttd";
|
|
279
|
-
tab: "text-to-diagram"
|
|
275
|
+
tab: "mermaid" | "text-to-diagram";
|
|
280
276
|
} | {
|
|
281
277
|
name: "commandPalette";
|
|
282
278
|
} | {
|
|
@@ -348,9 +344,8 @@ export declare const actionPaste: {
|
|
|
348
344
|
shown: true;
|
|
349
345
|
data: import("../charts").Spreadsheet;
|
|
350
346
|
};
|
|
351
|
-
pendingImageElementId: string | null;
|
|
352
347
|
showHyperlinkPopup: false | "editor" | "info";
|
|
353
|
-
selectedLinearElement: import("@excalidraw/element
|
|
348
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
354
349
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
355
350
|
originSnapOffset: {
|
|
356
351
|
x: number;
|
|
@@ -361,16 +356,15 @@ export declare const actionPaste: {
|
|
|
361
356
|
followedBy: Set<import("../types").SocketId>;
|
|
362
357
|
isCropping: boolean;
|
|
363
358
|
croppingElementId: string | null;
|
|
364
|
-
searchMatches:
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
}[];
|
|
359
|
+
searchMatches: Readonly<{
|
|
360
|
+
focusedId: string | null;
|
|
361
|
+
matches: readonly import("../types").SearchMatch[];
|
|
362
|
+
}> | null;
|
|
363
|
+
activeLockedId: string | null;
|
|
364
|
+
lockedMultiSelections: {
|
|
365
|
+
[groupId: string]: true;
|
|
366
|
+
};
|
|
367
|
+
stylesPanelMode: "compact" | "full";
|
|
374
368
|
};
|
|
375
369
|
} | {
|
|
376
370
|
captureUpdate: "EVENTUALLY";
|
|
@@ -390,7 +384,7 @@ export declare const actionCut: {
|
|
|
390
384
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, event: ClipboardEvent | null, app: import("../types").AppClassProperties) => false | {
|
|
391
385
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
392
386
|
appState: {
|
|
393
|
-
|
|
387
|
+
selectedLinearElement: null;
|
|
394
388
|
contextMenu: {
|
|
395
389
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
396
390
|
top: number;
|
|
@@ -401,7 +395,7 @@ export declare const actionCut: {
|
|
|
401
395
|
errorMessage: import("react").ReactNode;
|
|
402
396
|
activeEmbeddable: {
|
|
403
397
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
404
|
-
state: "
|
|
398
|
+
state: "active" | "hover";
|
|
405
399
|
} | null;
|
|
406
400
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
407
401
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -409,7 +403,7 @@ export declare const actionCut: {
|
|
|
409
403
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
410
404
|
isBindingEnabled: boolean;
|
|
411
405
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
412
|
-
suggestedBindings: import("@excalidraw/element
|
|
406
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
413
407
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
414
408
|
frameRendering: {
|
|
415
409
|
enabled: boolean;
|
|
@@ -457,8 +451,8 @@ export declare const actionCut: {
|
|
|
457
451
|
zoom: Readonly<{
|
|
458
452
|
value: import("../types").NormalizedZoomValue;
|
|
459
453
|
}>;
|
|
460
|
-
openMenu: "
|
|
461
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
454
|
+
openMenu: "canvas" | "shape" | null;
|
|
455
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
462
456
|
openSidebar: {
|
|
463
457
|
name: string;
|
|
464
458
|
tab?: string | undefined;
|
|
@@ -467,7 +461,7 @@ export declare const actionCut: {
|
|
|
467
461
|
name: "imageExport" | "help" | "jsonExport";
|
|
468
462
|
} | {
|
|
469
463
|
name: "ttd";
|
|
470
|
-
tab: "text-to-diagram"
|
|
464
|
+
tab: "mermaid" | "text-to-diagram";
|
|
471
465
|
} | {
|
|
472
466
|
name: "commandPalette";
|
|
473
467
|
} | {
|
|
@@ -539,9 +533,7 @@ export declare const actionCut: {
|
|
|
539
533
|
shown: true;
|
|
540
534
|
data: import("../charts").Spreadsheet;
|
|
541
535
|
};
|
|
542
|
-
pendingImageElementId: string | null;
|
|
543
536
|
showHyperlinkPopup: false | "editor" | "info";
|
|
544
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
545
537
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
546
538
|
originSnapOffset: {
|
|
547
539
|
x: number;
|
|
@@ -552,22 +544,21 @@ export declare const actionCut: {
|
|
|
552
544
|
followedBy: Set<import("../types").SocketId>;
|
|
553
545
|
isCropping: boolean;
|
|
554
546
|
croppingElementId: string | null;
|
|
555
|
-
searchMatches:
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
}[];
|
|
547
|
+
searchMatches: Readonly<{
|
|
548
|
+
focusedId: string | null;
|
|
549
|
+
matches: readonly import("../types").SearchMatch[];
|
|
550
|
+
}> | null;
|
|
551
|
+
activeLockedId: string | null;
|
|
552
|
+
lockedMultiSelections: {
|
|
553
|
+
[groupId: string]: true;
|
|
554
|
+
};
|
|
555
|
+
stylesPanelMode: "compact" | "full";
|
|
565
556
|
};
|
|
566
557
|
captureUpdate: "IMMEDIATELY";
|
|
567
558
|
} | {
|
|
568
559
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
569
560
|
appState: {
|
|
570
|
-
|
|
561
|
+
selectedLinearElement: {
|
|
571
562
|
selectedPointsIndices: number[];
|
|
572
563
|
startBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
|
|
573
564
|
endBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
|
|
@@ -597,6 +588,8 @@ export declare const actionCut: {
|
|
|
597
588
|
hoverPointIndex: number;
|
|
598
589
|
segmentMidPointHoveredCoords: import("@excalidraw/math").GlobalPoint | null;
|
|
599
590
|
elbowed: boolean;
|
|
591
|
+
customLineAngle: number | null;
|
|
592
|
+
isEditing: boolean;
|
|
600
593
|
};
|
|
601
594
|
contextMenu: {
|
|
602
595
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -608,7 +601,7 @@ export declare const actionCut: {
|
|
|
608
601
|
errorMessage: import("react").ReactNode;
|
|
609
602
|
activeEmbeddable: {
|
|
610
603
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
611
|
-
state: "
|
|
604
|
+
state: "active" | "hover";
|
|
612
605
|
} | null;
|
|
613
606
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
614
607
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -616,7 +609,7 @@ export declare const actionCut: {
|
|
|
616
609
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
617
610
|
isBindingEnabled: boolean;
|
|
618
611
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
619
|
-
suggestedBindings: import("@excalidraw/element
|
|
612
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
620
613
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
621
614
|
frameRendering: {
|
|
622
615
|
enabled: boolean;
|
|
@@ -664,8 +657,8 @@ export declare const actionCut: {
|
|
|
664
657
|
zoom: Readonly<{
|
|
665
658
|
value: import("../types").NormalizedZoomValue;
|
|
666
659
|
}>;
|
|
667
|
-
openMenu: "
|
|
668
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
660
|
+
openMenu: "canvas" | "shape" | null;
|
|
661
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
669
662
|
openSidebar: {
|
|
670
663
|
name: string;
|
|
671
664
|
tab?: string | undefined;
|
|
@@ -674,7 +667,7 @@ export declare const actionCut: {
|
|
|
674
667
|
name: "imageExport" | "help" | "jsonExport";
|
|
675
668
|
} | {
|
|
676
669
|
name: "ttd";
|
|
677
|
-
tab: "text-to-diagram"
|
|
670
|
+
tab: "mermaid" | "text-to-diagram";
|
|
678
671
|
} | {
|
|
679
672
|
name: "commandPalette";
|
|
680
673
|
} | {
|
|
@@ -746,9 +739,7 @@ export declare const actionCut: {
|
|
|
746
739
|
shown: true;
|
|
747
740
|
data: import("../charts").Spreadsheet;
|
|
748
741
|
};
|
|
749
|
-
pendingImageElementId: string | null;
|
|
750
742
|
showHyperlinkPopup: false | "editor" | "info";
|
|
751
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
752
743
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
753
744
|
originSnapOffset: {
|
|
754
745
|
x: number;
|
|
@@ -759,16 +750,15 @@ export declare const actionCut: {
|
|
|
759
750
|
followedBy: Set<import("../types").SocketId>;
|
|
760
751
|
isCropping: boolean;
|
|
761
752
|
croppingElementId: string | null;
|
|
762
|
-
searchMatches:
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
}[];
|
|
753
|
+
searchMatches: Readonly<{
|
|
754
|
+
focusedId: string | null;
|
|
755
|
+
matches: readonly import("../types").SearchMatch[];
|
|
756
|
+
}> | null;
|
|
757
|
+
activeLockedId: string | null;
|
|
758
|
+
lockedMultiSelections: {
|
|
759
|
+
[groupId: string]: true;
|
|
760
|
+
};
|
|
761
|
+
stylesPanelMode: "compact" | "full";
|
|
772
762
|
};
|
|
773
763
|
captureUpdate: "IMMEDIATELY";
|
|
774
764
|
} | {
|
|
@@ -802,7 +792,7 @@ export declare const actionCut: {
|
|
|
802
792
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
803
793
|
isBindingEnabled: boolean;
|
|
804
794
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
805
|
-
suggestedBindings: import("@excalidraw/element
|
|
795
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
806
796
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
807
797
|
frameRendering: {
|
|
808
798
|
enabled: boolean;
|
|
@@ -813,7 +803,6 @@ export declare const actionCut: {
|
|
|
813
803
|
editingFrame: string | null;
|
|
814
804
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
815
805
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
816
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
817
806
|
penMode: boolean;
|
|
818
807
|
penDetected: boolean;
|
|
819
808
|
exportBackground: boolean;
|
|
@@ -846,8 +835,8 @@ export declare const actionCut: {
|
|
|
846
835
|
zoom: Readonly<{
|
|
847
836
|
value: import("../types").NormalizedZoomValue;
|
|
848
837
|
}>;
|
|
849
|
-
openMenu: "
|
|
850
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
838
|
+
openMenu: "canvas" | "shape" | null;
|
|
839
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
851
840
|
openSidebar: {
|
|
852
841
|
name: string;
|
|
853
842
|
tab?: string | undefined;
|
|
@@ -856,7 +845,7 @@ export declare const actionCut: {
|
|
|
856
845
|
name: "imageExport" | "help" | "jsonExport";
|
|
857
846
|
} | {
|
|
858
847
|
name: "ttd";
|
|
859
|
-
tab: "text-to-diagram"
|
|
848
|
+
tab: "mermaid" | "text-to-diagram";
|
|
860
849
|
} | {
|
|
861
850
|
name: "commandPalette";
|
|
862
851
|
} | {
|
|
@@ -921,7 +910,6 @@ export declare const actionCut: {
|
|
|
921
910
|
shown: true;
|
|
922
911
|
data: import("../charts").Spreadsheet;
|
|
923
912
|
};
|
|
924
|
-
pendingImageElementId: string | null;
|
|
925
913
|
showHyperlinkPopup: false | "editor" | "info";
|
|
926
914
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
927
915
|
originSnapOffset: {
|
|
@@ -933,16 +921,15 @@ export declare const actionCut: {
|
|
|
933
921
|
followedBy: Set<import("../types").SocketId>;
|
|
934
922
|
isCropping: boolean;
|
|
935
923
|
croppingElementId: string | null;
|
|
936
|
-
searchMatches:
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
}[];
|
|
924
|
+
searchMatches: Readonly<{
|
|
925
|
+
focusedId: string | null;
|
|
926
|
+
matches: readonly import("../types").SearchMatch[];
|
|
927
|
+
}> | null;
|
|
928
|
+
activeLockedId: string | null;
|
|
929
|
+
lockedMultiSelections: {
|
|
930
|
+
[groupId: string]: true;
|
|
931
|
+
};
|
|
932
|
+
stylesPanelMode: "compact" | "full";
|
|
946
933
|
};
|
|
947
934
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
948
935
|
};
|
|
@@ -1002,7 +989,7 @@ export declare const actionCopyAsPng: {
|
|
|
1002
989
|
isLoading: boolean;
|
|
1003
990
|
activeEmbeddable: {
|
|
1004
991
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1005
|
-
state: "
|
|
992
|
+
state: "active" | "hover";
|
|
1006
993
|
} | null;
|
|
1007
994
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1008
995
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1010,7 +997,7 @@ export declare const actionCopyAsPng: {
|
|
|
1010
997
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1011
998
|
isBindingEnabled: boolean;
|
|
1012
999
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1013
|
-
suggestedBindings: import("@excalidraw/element
|
|
1000
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1014
1001
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1015
1002
|
frameRendering: {
|
|
1016
1003
|
enabled: boolean;
|
|
@@ -1021,7 +1008,6 @@ export declare const actionCopyAsPng: {
|
|
|
1021
1008
|
editingFrame: string | null;
|
|
1022
1009
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1023
1010
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1024
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1025
1011
|
activeTool: {
|
|
1026
1012
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1027
1013
|
locked: boolean;
|
|
@@ -1059,8 +1045,8 @@ export declare const actionCopyAsPng: {
|
|
|
1059
1045
|
zoom: Readonly<{
|
|
1060
1046
|
value: import("../types").NormalizedZoomValue;
|
|
1061
1047
|
}>;
|
|
1062
|
-
openMenu: "
|
|
1063
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1048
|
+
openMenu: "canvas" | "shape" | null;
|
|
1049
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1064
1050
|
openSidebar: {
|
|
1065
1051
|
name: string;
|
|
1066
1052
|
tab?: string | undefined;
|
|
@@ -1069,7 +1055,7 @@ export declare const actionCopyAsPng: {
|
|
|
1069
1055
|
name: "imageExport" | "help" | "jsonExport";
|
|
1070
1056
|
} | {
|
|
1071
1057
|
name: "ttd";
|
|
1072
|
-
tab: "text-to-diagram"
|
|
1058
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1073
1059
|
} | {
|
|
1074
1060
|
name: "commandPalette";
|
|
1075
1061
|
} | {
|
|
@@ -1141,9 +1127,8 @@ export declare const actionCopyAsPng: {
|
|
|
1141
1127
|
shown: true;
|
|
1142
1128
|
data: import("../charts").Spreadsheet;
|
|
1143
1129
|
};
|
|
1144
|
-
pendingImageElementId: string | null;
|
|
1145
1130
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1146
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1131
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1147
1132
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1148
1133
|
originSnapOffset: {
|
|
1149
1134
|
x: number;
|
|
@@ -1154,16 +1139,15 @@ export declare const actionCopyAsPng: {
|
|
|
1154
1139
|
followedBy: Set<import("../types").SocketId>;
|
|
1155
1140
|
isCropping: boolean;
|
|
1156
1141
|
croppingElementId: string | null;
|
|
1157
|
-
searchMatches:
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
}[];
|
|
1142
|
+
searchMatches: Readonly<{
|
|
1143
|
+
focusedId: string | null;
|
|
1144
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1145
|
+
}> | null;
|
|
1146
|
+
activeLockedId: string | null;
|
|
1147
|
+
lockedMultiSelections: {
|
|
1148
|
+
[groupId: string]: true;
|
|
1149
|
+
};
|
|
1150
|
+
stylesPanelMode: "compact" | "full";
|
|
1167
1151
|
};
|
|
1168
1152
|
captureUpdate: "EVENTUALLY";
|
|
1169
1153
|
}>;
|
|
@@ -22,7 +22,7 @@ export declare const actionToggleCropEditor: {
|
|
|
22
22
|
errorMessage: import("react").ReactNode;
|
|
23
23
|
activeEmbeddable: {
|
|
24
24
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
25
|
-
state: "
|
|
25
|
+
state: "active" | "hover";
|
|
26
26
|
} | null;
|
|
27
27
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
28
28
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -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
|
-
suggestedBindings: import("@excalidraw/element
|
|
33
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
34
34
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
35
35
|
frameRendering: {
|
|
36
36
|
enabled: boolean;
|
|
@@ -41,7 +41,6 @@ export declare const actionToggleCropEditor: {
|
|
|
41
41
|
editingFrame: string | null;
|
|
42
42
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
43
43
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
44
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
45
44
|
activeTool: {
|
|
46
45
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
47
46
|
locked: boolean;
|
|
@@ -79,8 +78,8 @@ export declare const actionToggleCropEditor: {
|
|
|
79
78
|
zoom: Readonly<{
|
|
80
79
|
value: import("../types").NormalizedZoomValue;
|
|
81
80
|
}>;
|
|
82
|
-
openMenu: "
|
|
83
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
81
|
+
openMenu: "canvas" | "shape" | null;
|
|
82
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
84
83
|
openSidebar: {
|
|
85
84
|
name: string;
|
|
86
85
|
tab?: string | undefined;
|
|
@@ -89,7 +88,7 @@ export declare const actionToggleCropEditor: {
|
|
|
89
88
|
name: "imageExport" | "help" | "jsonExport";
|
|
90
89
|
} | {
|
|
91
90
|
name: "ttd";
|
|
92
|
-
tab: "text-to-diagram"
|
|
91
|
+
tab: "mermaid" | "text-to-diagram";
|
|
93
92
|
} | {
|
|
94
93
|
name: "commandPalette";
|
|
95
94
|
} | {
|
|
@@ -161,9 +160,8 @@ export declare const actionToggleCropEditor: {
|
|
|
161
160
|
shown: true;
|
|
162
161
|
data: import("../charts").Spreadsheet;
|
|
163
162
|
};
|
|
164
|
-
pendingImageElementId: string | null;
|
|
165
163
|
showHyperlinkPopup: false | "editor" | "info";
|
|
166
|
-
selectedLinearElement: import("@excalidraw/element
|
|
164
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
167
165
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
168
166
|
originSnapOffset: {
|
|
169
167
|
x: number;
|
|
@@ -172,16 +170,15 @@ export declare const actionToggleCropEditor: {
|
|
|
172
170
|
objectsSnapModeEnabled: boolean;
|
|
173
171
|
userToFollow: import("../types").UserToFollow | null;
|
|
174
172
|
followedBy: Set<import("../types").SocketId>;
|
|
175
|
-
searchMatches:
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
}[];
|
|
173
|
+
searchMatches: Readonly<{
|
|
174
|
+
focusedId: string | null;
|
|
175
|
+
matches: readonly import("../types").SearchMatch[];
|
|
176
|
+
}> | null;
|
|
177
|
+
activeLockedId: string | null;
|
|
178
|
+
lockedMultiSelections: {
|
|
179
|
+
[groupId: string]: true;
|
|
180
|
+
};
|
|
181
|
+
stylesPanelMode: "compact" | "full";
|
|
185
182
|
};
|
|
186
183
|
captureUpdate: "IMMEDIATELY";
|
|
187
184
|
};
|