@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
|
@@ -18,7 +18,7 @@ export declare const actionChangeProjectName: {
|
|
|
18
18
|
errorMessage: import("react").ReactNode;
|
|
19
19
|
activeEmbeddable: {
|
|
20
20
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
21
|
-
state: "
|
|
21
|
+
state: "active" | "hover";
|
|
22
22
|
} | null;
|
|
23
23
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
24
24
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -26,7 +26,7 @@ export declare const actionChangeProjectName: {
|
|
|
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,6 @@ export declare const actionChangeProjectName: {
|
|
|
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/linearElementEditor").LinearElementEditor | null;
|
|
41
40
|
activeTool: {
|
|
42
41
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
43
42
|
locked: boolean;
|
|
@@ -74,8 +73,8 @@ export declare const actionChangeProjectName: {
|
|
|
74
73
|
zoom: Readonly<{
|
|
75
74
|
value: import("../types").NormalizedZoomValue;
|
|
76
75
|
}>;
|
|
77
|
-
openMenu: "
|
|
78
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
76
|
+
openMenu: "canvas" | "shape" | null;
|
|
77
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
79
78
|
openSidebar: {
|
|
80
79
|
name: string;
|
|
81
80
|
tab?: string | undefined;
|
|
@@ -84,7 +83,7 @@ export declare const actionChangeProjectName: {
|
|
|
84
83
|
name: "imageExport" | "help" | "jsonExport";
|
|
85
84
|
} | {
|
|
86
85
|
name: "ttd";
|
|
87
|
-
tab: "text-to-diagram"
|
|
86
|
+
tab: "mermaid" | "text-to-diagram";
|
|
88
87
|
} | {
|
|
89
88
|
name: "commandPalette";
|
|
90
89
|
} | {
|
|
@@ -156,9 +155,8 @@ export declare const actionChangeProjectName: {
|
|
|
156
155
|
shown: true;
|
|
157
156
|
data: import("../charts").Spreadsheet;
|
|
158
157
|
};
|
|
159
|
-
pendingImageElementId: string | null;
|
|
160
158
|
showHyperlinkPopup: false | "editor" | "info";
|
|
161
|
-
selectedLinearElement: import("@excalidraw/element
|
|
159
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
162
160
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
163
161
|
originSnapOffset: {
|
|
164
162
|
x: number;
|
|
@@ -169,16 +167,15 @@ export declare const actionChangeProjectName: {
|
|
|
169
167
|
followedBy: Set<import("../types").SocketId>;
|
|
170
168
|
isCropping: boolean;
|
|
171
169
|
croppingElementId: string | null;
|
|
172
|
-
searchMatches:
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
}[];
|
|
170
|
+
searchMatches: Readonly<{
|
|
171
|
+
focusedId: string | null;
|
|
172
|
+
matches: readonly import("../types").SearchMatch[];
|
|
173
|
+
}> | null;
|
|
174
|
+
activeLockedId: string | null;
|
|
175
|
+
lockedMultiSelections: {
|
|
176
|
+
[groupId: string]: true;
|
|
177
|
+
};
|
|
178
|
+
stylesPanelMode: "compact" | "full";
|
|
182
179
|
};
|
|
183
180
|
captureUpdate: "EVENTUALLY";
|
|
184
181
|
};
|
|
@@ -206,7 +203,7 @@ export declare const actionChangeExportScale: {
|
|
|
206
203
|
errorMessage: import("react").ReactNode;
|
|
207
204
|
activeEmbeddable: {
|
|
208
205
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
209
|
-
state: "
|
|
206
|
+
state: "active" | "hover";
|
|
210
207
|
} | null;
|
|
211
208
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
212
209
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -214,7 +211,7 @@ export declare const actionChangeExportScale: {
|
|
|
214
211
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
215
212
|
isBindingEnabled: boolean;
|
|
216
213
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
217
|
-
suggestedBindings: import("@excalidraw/element
|
|
214
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
218
215
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
219
216
|
frameRendering: {
|
|
220
217
|
enabled: boolean;
|
|
@@ -225,7 +222,6 @@ export declare const actionChangeExportScale: {
|
|
|
225
222
|
editingFrame: string | null;
|
|
226
223
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
227
224
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
228
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
229
225
|
activeTool: {
|
|
230
226
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
231
227
|
locked: boolean;
|
|
@@ -262,8 +258,8 @@ export declare const actionChangeExportScale: {
|
|
|
262
258
|
zoom: Readonly<{
|
|
263
259
|
value: import("../types").NormalizedZoomValue;
|
|
264
260
|
}>;
|
|
265
|
-
openMenu: "
|
|
266
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
261
|
+
openMenu: "canvas" | "shape" | null;
|
|
262
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
267
263
|
openSidebar: {
|
|
268
264
|
name: string;
|
|
269
265
|
tab?: string | undefined;
|
|
@@ -272,7 +268,7 @@ export declare const actionChangeExportScale: {
|
|
|
272
268
|
name: "imageExport" | "help" | "jsonExport";
|
|
273
269
|
} | {
|
|
274
270
|
name: "ttd";
|
|
275
|
-
tab: "text-to-diagram"
|
|
271
|
+
tab: "mermaid" | "text-to-diagram";
|
|
276
272
|
} | {
|
|
277
273
|
name: "commandPalette";
|
|
278
274
|
} | {
|
|
@@ -344,9 +340,8 @@ export declare const actionChangeExportScale: {
|
|
|
344
340
|
shown: true;
|
|
345
341
|
data: import("../charts").Spreadsheet;
|
|
346
342
|
};
|
|
347
|
-
pendingImageElementId: string | null;
|
|
348
343
|
showHyperlinkPopup: false | "editor" | "info";
|
|
349
|
-
selectedLinearElement: import("@excalidraw/element
|
|
344
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
350
345
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
351
346
|
originSnapOffset: {
|
|
352
347
|
x: number;
|
|
@@ -357,16 +352,15 @@ export declare const actionChangeExportScale: {
|
|
|
357
352
|
followedBy: Set<import("../types").SocketId>;
|
|
358
353
|
isCropping: boolean;
|
|
359
354
|
croppingElementId: string | null;
|
|
360
|
-
searchMatches:
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
}[];
|
|
355
|
+
searchMatches: Readonly<{
|
|
356
|
+
focusedId: string | null;
|
|
357
|
+
matches: readonly import("../types").SearchMatch[];
|
|
358
|
+
}> | null;
|
|
359
|
+
activeLockedId: string | null;
|
|
360
|
+
lockedMultiSelections: {
|
|
361
|
+
[groupId: string]: true;
|
|
362
|
+
};
|
|
363
|
+
stylesPanelMode: "compact" | "full";
|
|
370
364
|
};
|
|
371
365
|
captureUpdate: "EVENTUALLY";
|
|
372
366
|
};
|
|
@@ -394,7 +388,7 @@ export declare const actionChangeExportBackground: {
|
|
|
394
388
|
errorMessage: import("react").ReactNode;
|
|
395
389
|
activeEmbeddable: {
|
|
396
390
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
397
|
-
state: "
|
|
391
|
+
state: "active" | "hover";
|
|
398
392
|
} | null;
|
|
399
393
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
400
394
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -402,7 +396,7 @@ export declare const actionChangeExportBackground: {
|
|
|
402
396
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
403
397
|
isBindingEnabled: boolean;
|
|
404
398
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
405
|
-
suggestedBindings: import("@excalidraw/element
|
|
399
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
406
400
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
407
401
|
frameRendering: {
|
|
408
402
|
enabled: boolean;
|
|
@@ -413,7 +407,6 @@ export declare const actionChangeExportBackground: {
|
|
|
413
407
|
editingFrame: string | null;
|
|
414
408
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
415
409
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
416
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
417
410
|
activeTool: {
|
|
418
411
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
419
412
|
locked: boolean;
|
|
@@ -450,8 +443,8 @@ export declare const actionChangeExportBackground: {
|
|
|
450
443
|
zoom: Readonly<{
|
|
451
444
|
value: import("../types").NormalizedZoomValue;
|
|
452
445
|
}>;
|
|
453
|
-
openMenu: "
|
|
454
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
446
|
+
openMenu: "canvas" | "shape" | null;
|
|
447
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
455
448
|
openSidebar: {
|
|
456
449
|
name: string;
|
|
457
450
|
tab?: string | undefined;
|
|
@@ -460,7 +453,7 @@ export declare const actionChangeExportBackground: {
|
|
|
460
453
|
name: "imageExport" | "help" | "jsonExport";
|
|
461
454
|
} | {
|
|
462
455
|
name: "ttd";
|
|
463
|
-
tab: "text-to-diagram"
|
|
456
|
+
tab: "mermaid" | "text-to-diagram";
|
|
464
457
|
} | {
|
|
465
458
|
name: "commandPalette";
|
|
466
459
|
} | {
|
|
@@ -532,9 +525,8 @@ export declare const actionChangeExportBackground: {
|
|
|
532
525
|
shown: true;
|
|
533
526
|
data: import("../charts").Spreadsheet;
|
|
534
527
|
};
|
|
535
|
-
pendingImageElementId: string | null;
|
|
536
528
|
showHyperlinkPopup: false | "editor" | "info";
|
|
537
|
-
selectedLinearElement: import("@excalidraw/element
|
|
529
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
538
530
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
539
531
|
originSnapOffset: {
|
|
540
532
|
x: number;
|
|
@@ -545,16 +537,15 @@ export declare const actionChangeExportBackground: {
|
|
|
545
537
|
followedBy: Set<import("../types").SocketId>;
|
|
546
538
|
isCropping: boolean;
|
|
547
539
|
croppingElementId: string | null;
|
|
548
|
-
searchMatches:
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
}[];
|
|
540
|
+
searchMatches: Readonly<{
|
|
541
|
+
focusedId: string | null;
|
|
542
|
+
matches: readonly import("../types").SearchMatch[];
|
|
543
|
+
}> | null;
|
|
544
|
+
activeLockedId: string | null;
|
|
545
|
+
lockedMultiSelections: {
|
|
546
|
+
[groupId: string]: true;
|
|
547
|
+
};
|
|
548
|
+
stylesPanelMode: "compact" | "full";
|
|
558
549
|
};
|
|
559
550
|
captureUpdate: "EVENTUALLY";
|
|
560
551
|
};
|
|
@@ -582,7 +573,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
582
573
|
errorMessage: import("react").ReactNode;
|
|
583
574
|
activeEmbeddable: {
|
|
584
575
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
585
|
-
state: "
|
|
576
|
+
state: "active" | "hover";
|
|
586
577
|
} | null;
|
|
587
578
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
588
579
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -590,7 +581,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
590
581
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
591
582
|
isBindingEnabled: boolean;
|
|
592
583
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
593
|
-
suggestedBindings: import("@excalidraw/element
|
|
584
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
594
585
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
595
586
|
frameRendering: {
|
|
596
587
|
enabled: boolean;
|
|
@@ -601,7 +592,6 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
601
592
|
editingFrame: string | null;
|
|
602
593
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
603
594
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
604
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
605
595
|
activeTool: {
|
|
606
596
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
607
597
|
locked: boolean;
|
|
@@ -638,8 +628,8 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
638
628
|
zoom: Readonly<{
|
|
639
629
|
value: import("../types").NormalizedZoomValue;
|
|
640
630
|
}>;
|
|
641
|
-
openMenu: "
|
|
642
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
631
|
+
openMenu: "canvas" | "shape" | null;
|
|
632
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
643
633
|
openSidebar: {
|
|
644
634
|
name: string;
|
|
645
635
|
tab?: string | undefined;
|
|
@@ -648,7 +638,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
648
638
|
name: "imageExport" | "help" | "jsonExport";
|
|
649
639
|
} | {
|
|
650
640
|
name: "ttd";
|
|
651
|
-
tab: "text-to-diagram"
|
|
641
|
+
tab: "mermaid" | "text-to-diagram";
|
|
652
642
|
} | {
|
|
653
643
|
name: "commandPalette";
|
|
654
644
|
} | {
|
|
@@ -720,9 +710,8 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
720
710
|
shown: true;
|
|
721
711
|
data: import("../charts").Spreadsheet;
|
|
722
712
|
};
|
|
723
|
-
pendingImageElementId: string | null;
|
|
724
713
|
showHyperlinkPopup: false | "editor" | "info";
|
|
725
|
-
selectedLinearElement: import("@excalidraw/element
|
|
714
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
726
715
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
727
716
|
originSnapOffset: {
|
|
728
717
|
x: number;
|
|
@@ -733,16 +722,15 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
733
722
|
followedBy: Set<import("../types").SocketId>;
|
|
734
723
|
isCropping: boolean;
|
|
735
724
|
croppingElementId: string | null;
|
|
736
|
-
searchMatches:
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
}[];
|
|
725
|
+
searchMatches: Readonly<{
|
|
726
|
+
focusedId: string | null;
|
|
727
|
+
matches: readonly import("../types").SearchMatch[];
|
|
728
|
+
}> | null;
|
|
729
|
+
activeLockedId: string | null;
|
|
730
|
+
lockedMultiSelections: {
|
|
731
|
+
[groupId: string]: true;
|
|
732
|
+
};
|
|
733
|
+
stylesPanelMode: "compact" | "full";
|
|
746
734
|
};
|
|
747
735
|
captureUpdate: "EVENTUALLY";
|
|
748
736
|
};
|
|
@@ -775,7 +763,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
775
763
|
errorMessage: import("react").ReactNode;
|
|
776
764
|
activeEmbeddable: {
|
|
777
765
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
778
|
-
state: "
|
|
766
|
+
state: "active" | "hover";
|
|
779
767
|
} | null;
|
|
780
768
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
781
769
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -783,7 +771,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
783
771
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
784
772
|
isBindingEnabled: boolean;
|
|
785
773
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
786
|
-
suggestedBindings: import("@excalidraw/element
|
|
774
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
787
775
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
788
776
|
frameRendering: {
|
|
789
777
|
enabled: boolean;
|
|
@@ -794,7 +782,6 @@ export declare const actionSaveToActiveFile: {
|
|
|
794
782
|
editingFrame: string | null;
|
|
795
783
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
796
784
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
797
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
798
785
|
activeTool: {
|
|
799
786
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
800
787
|
locked: boolean;
|
|
@@ -832,8 +819,8 @@ export declare const actionSaveToActiveFile: {
|
|
|
832
819
|
zoom: Readonly<{
|
|
833
820
|
value: import("../types").NormalizedZoomValue;
|
|
834
821
|
}>;
|
|
835
|
-
openMenu: "
|
|
836
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
822
|
+
openMenu: "canvas" | "shape" | null;
|
|
823
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
837
824
|
openSidebar: {
|
|
838
825
|
name: string;
|
|
839
826
|
tab?: string | undefined;
|
|
@@ -842,7 +829,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
842
829
|
name: "imageExport" | "help" | "jsonExport";
|
|
843
830
|
} | {
|
|
844
831
|
name: "ttd";
|
|
845
|
-
tab: "text-to-diagram"
|
|
832
|
+
tab: "mermaid" | "text-to-diagram";
|
|
846
833
|
} | {
|
|
847
834
|
name: "commandPalette";
|
|
848
835
|
} | {
|
|
@@ -908,9 +895,8 @@ export declare const actionSaveToActiveFile: {
|
|
|
908
895
|
shown: true;
|
|
909
896
|
data: import("../charts").Spreadsheet;
|
|
910
897
|
};
|
|
911
|
-
pendingImageElementId: string | null;
|
|
912
898
|
showHyperlinkPopup: false | "editor" | "info";
|
|
913
|
-
selectedLinearElement: import("@excalidraw/element
|
|
899
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
914
900
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
915
901
|
originSnapOffset: {
|
|
916
902
|
x: number;
|
|
@@ -921,16 +907,15 @@ export declare const actionSaveToActiveFile: {
|
|
|
921
907
|
followedBy: Set<import("../types").SocketId>;
|
|
922
908
|
isCropping: boolean;
|
|
923
909
|
croppingElementId: string | null;
|
|
924
|
-
searchMatches:
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
}[];
|
|
910
|
+
searchMatches: Readonly<{
|
|
911
|
+
focusedId: string | null;
|
|
912
|
+
matches: readonly import("../types").SearchMatch[];
|
|
913
|
+
}> | null;
|
|
914
|
+
activeLockedId: string | null;
|
|
915
|
+
lockedMultiSelections: {
|
|
916
|
+
[groupId: string]: true;
|
|
917
|
+
};
|
|
918
|
+
stylesPanelMode: "compact" | "full";
|
|
934
919
|
};
|
|
935
920
|
} | {
|
|
936
921
|
captureUpdate: "EVENTUALLY";
|
|
@@ -966,7 +951,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
966
951
|
errorMessage: import("react").ReactNode;
|
|
967
952
|
activeEmbeddable: {
|
|
968
953
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
969
|
-
state: "
|
|
954
|
+
state: "active" | "hover";
|
|
970
955
|
} | null;
|
|
971
956
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
972
957
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -974,7 +959,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
974
959
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
975
960
|
isBindingEnabled: boolean;
|
|
976
961
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
977
|
-
suggestedBindings: import("@excalidraw/element
|
|
962
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
978
963
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
979
964
|
frameRendering: {
|
|
980
965
|
enabled: boolean;
|
|
@@ -985,7 +970,6 @@ export declare const actionSaveFileToDisk: {
|
|
|
985
970
|
editingFrame: string | null;
|
|
986
971
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
987
972
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
988
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
989
973
|
activeTool: {
|
|
990
974
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
991
975
|
locked: boolean;
|
|
@@ -1023,8 +1007,8 @@ export declare const actionSaveFileToDisk: {
|
|
|
1023
1007
|
zoom: Readonly<{
|
|
1024
1008
|
value: import("../types").NormalizedZoomValue;
|
|
1025
1009
|
}>;
|
|
1026
|
-
openMenu: "
|
|
1027
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1010
|
+
openMenu: "canvas" | "shape" | null;
|
|
1011
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1028
1012
|
openSidebar: {
|
|
1029
1013
|
name: string;
|
|
1030
1014
|
tab?: string | undefined;
|
|
@@ -1088,9 +1072,8 @@ export declare const actionSaveFileToDisk: {
|
|
|
1088
1072
|
shown: true;
|
|
1089
1073
|
data: import("../charts").Spreadsheet;
|
|
1090
1074
|
};
|
|
1091
|
-
pendingImageElementId: string | null;
|
|
1092
1075
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1093
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1076
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1094
1077
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1095
1078
|
originSnapOffset: {
|
|
1096
1079
|
x: number;
|
|
@@ -1101,16 +1084,15 @@ export declare const actionSaveFileToDisk: {
|
|
|
1101
1084
|
followedBy: Set<import("../types").SocketId>;
|
|
1102
1085
|
isCropping: boolean;
|
|
1103
1086
|
croppingElementId: string | null;
|
|
1104
|
-
searchMatches:
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
}[];
|
|
1087
|
+
searchMatches: Readonly<{
|
|
1088
|
+
focusedId: string | null;
|
|
1089
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1090
|
+
}> | null;
|
|
1091
|
+
activeLockedId: string | null;
|
|
1092
|
+
lockedMultiSelections: {
|
|
1093
|
+
[groupId: string]: true;
|
|
1094
|
+
};
|
|
1095
|
+
stylesPanelMode: "compact" | "full";
|
|
1114
1096
|
};
|
|
1115
1097
|
} | {
|
|
1116
1098
|
captureUpdate: "EVENTUALLY";
|
|
@@ -1149,7 +1131,7 @@ export declare const actionLoadScene: {
|
|
|
1149
1131
|
name: "imageExport" | "help" | "jsonExport";
|
|
1150
1132
|
} | {
|
|
1151
1133
|
name: "ttd";
|
|
1152
|
-
tab: "text-to-diagram"
|
|
1134
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1153
1135
|
} | {
|
|
1154
1136
|
name: "commandPalette";
|
|
1155
1137
|
} | {
|
|
@@ -1162,20 +1144,18 @@ export declare const actionLoadScene: {
|
|
|
1162
1144
|
}>;
|
|
1163
1145
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1164
1146
|
theme: Theme;
|
|
1165
|
-
pendingImageElementId: string | null;
|
|
1166
1147
|
activeEmbeddable: {
|
|
1167
1148
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1168
|
-
state: "
|
|
1149
|
+
state: "active" | "hover";
|
|
1169
1150
|
} | null;
|
|
1170
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1171
1151
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1172
1152
|
selectedGroupIds: {
|
|
1173
1153
|
[groupId: string]: boolean;
|
|
1174
1154
|
};
|
|
1175
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1155
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1176
1156
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1177
1157
|
isBindingEnabled: boolean;
|
|
1178
|
-
suggestedBindings: import("@excalidraw/element
|
|
1158
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1179
1159
|
isRotating: boolean;
|
|
1180
1160
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1181
1161
|
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
@@ -1203,27 +1183,11 @@ export declare const actionLoadScene: {
|
|
|
1203
1183
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1204
1184
|
isCropping: boolean;
|
|
1205
1185
|
croppingElementId: string | null;
|
|
1206
|
-
searchMatches:
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
offsetY: number;
|
|
1212
|
-
width: number;
|
|
1213
|
-
height: number;
|
|
1214
|
-
}[];
|
|
1215
|
-
}[];
|
|
1216
|
-
gridModeEnabled: boolean;
|
|
1217
|
-
objectsSnapModeEnabled: boolean;
|
|
1218
|
-
shouldCacheIgnoreZoom: boolean;
|
|
1219
|
-
exportScale: number;
|
|
1220
|
-
selectedElementsAreBeingDragged: boolean;
|
|
1221
|
-
gridSize: number;
|
|
1222
|
-
gridStep: number;
|
|
1223
|
-
currentHoveredFontFamily: number | null;
|
|
1224
|
-
hoveredElementIds: Readonly<{
|
|
1225
|
-
[id: string]: true;
|
|
1226
|
-
}>;
|
|
1186
|
+
searchMatches: Readonly<{
|
|
1187
|
+
focusedId: string | null;
|
|
1188
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1189
|
+
}> | null;
|
|
1190
|
+
activeLockedId: string | null;
|
|
1227
1191
|
contextMenu: {
|
|
1228
1192
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1229
1193
|
top: number;
|
|
@@ -1246,6 +1210,7 @@ export declare const actionLoadScene: {
|
|
|
1246
1210
|
exportBackground: boolean;
|
|
1247
1211
|
exportEmbedScene: boolean;
|
|
1248
1212
|
exportWithDarkMode: boolean;
|
|
1213
|
+
exportScale: number;
|
|
1249
1214
|
currentItemStrokeColor: string;
|
|
1250
1215
|
currentItemBackgroundColor: string;
|
|
1251
1216
|
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
@@ -1258,27 +1223,36 @@ export declare const actionLoadScene: {
|
|
|
1258
1223
|
currentItemTextAlign: string;
|
|
1259
1224
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1260
1225
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1226
|
+
currentHoveredFontFamily: number | null;
|
|
1261
1227
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1262
1228
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1263
1229
|
cursorButton: "up" | "down";
|
|
1264
1230
|
scrolledOutside: boolean;
|
|
1265
1231
|
isResizing: boolean;
|
|
1266
|
-
openMenu: "
|
|
1267
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1232
|
+
openMenu: "canvas" | "shape" | null;
|
|
1233
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1268
1234
|
openSidebar: {
|
|
1269
1235
|
name: string;
|
|
1270
1236
|
tab?: string | undefined;
|
|
1271
1237
|
} | null;
|
|
1272
1238
|
defaultSidebarDockedPreference: boolean;
|
|
1273
1239
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1240
|
+
hoveredElementIds: Readonly<{
|
|
1241
|
+
[id: string]: true;
|
|
1242
|
+
}>;
|
|
1274
1243
|
previousSelectedElementIds: {
|
|
1275
1244
|
[id: string]: true;
|
|
1276
1245
|
};
|
|
1246
|
+
selectedElementsAreBeingDragged: boolean;
|
|
1247
|
+
shouldCacheIgnoreZoom: boolean;
|
|
1277
1248
|
toast: {
|
|
1278
1249
|
message: string;
|
|
1279
1250
|
closable?: boolean | undefined;
|
|
1280
1251
|
duration?: number | undefined;
|
|
1281
1252
|
} | null;
|
|
1253
|
+
gridSize: number;
|
|
1254
|
+
gridStep: number;
|
|
1255
|
+
gridModeEnabled: boolean;
|
|
1282
1256
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1283
1257
|
stats: {
|
|
1284
1258
|
open: boolean;
|
|
@@ -1297,8 +1271,13 @@ export declare const actionLoadScene: {
|
|
|
1297
1271
|
x: number;
|
|
1298
1272
|
y: number;
|
|
1299
1273
|
} | null;
|
|
1274
|
+
objectsSnapModeEnabled: boolean;
|
|
1300
1275
|
userToFollow: import("../types").UserToFollow | null;
|
|
1301
1276
|
followedBy: Set<import("../types").SocketId>;
|
|
1277
|
+
lockedMultiSelections: {
|
|
1278
|
+
[groupId: string]: true;
|
|
1279
|
+
};
|
|
1280
|
+
stylesPanelMode: "compact" | "full";
|
|
1302
1281
|
};
|
|
1303
1282
|
files: import("../types").BinaryFiles;
|
|
1304
1283
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -1315,7 +1294,7 @@ export declare const actionLoadScene: {
|
|
|
1315
1294
|
isLoading: boolean;
|
|
1316
1295
|
activeEmbeddable: {
|
|
1317
1296
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1318
|
-
state: "
|
|
1297
|
+
state: "active" | "hover";
|
|
1319
1298
|
} | null;
|
|
1320
1299
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1321
1300
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1323,7 +1302,7 @@ export declare const actionLoadScene: {
|
|
|
1323
1302
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1324
1303
|
isBindingEnabled: boolean;
|
|
1325
1304
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1326
|
-
suggestedBindings: import("@excalidraw/element
|
|
1305
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1327
1306
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1328
1307
|
frameRendering: {
|
|
1329
1308
|
enabled: boolean;
|
|
@@ -1334,7 +1313,6 @@ export declare const actionLoadScene: {
|
|
|
1334
1313
|
editingFrame: string | null;
|
|
1335
1314
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1336
1315
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1337
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1338
1316
|
activeTool: {
|
|
1339
1317
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1340
1318
|
locked: boolean;
|
|
@@ -1372,8 +1350,8 @@ export declare const actionLoadScene: {
|
|
|
1372
1350
|
zoom: Readonly<{
|
|
1373
1351
|
value: import("../types").NormalizedZoomValue;
|
|
1374
1352
|
}>;
|
|
1375
|
-
openMenu: "
|
|
1376
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1353
|
+
openMenu: "canvas" | "shape" | null;
|
|
1354
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1377
1355
|
openSidebar: {
|
|
1378
1356
|
name: string;
|
|
1379
1357
|
tab?: string | undefined;
|
|
@@ -1382,7 +1360,7 @@ export declare const actionLoadScene: {
|
|
|
1382
1360
|
name: "imageExport" | "help" | "jsonExport";
|
|
1383
1361
|
} | {
|
|
1384
1362
|
name: "ttd";
|
|
1385
|
-
tab: "text-to-diagram"
|
|
1363
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1386
1364
|
} | {
|
|
1387
1365
|
name: "commandPalette";
|
|
1388
1366
|
} | {
|
|
@@ -1454,9 +1432,8 @@ export declare const actionLoadScene: {
|
|
|
1454
1432
|
shown: true;
|
|
1455
1433
|
data: import("../charts").Spreadsheet;
|
|
1456
1434
|
};
|
|
1457
|
-
pendingImageElementId: string | null;
|
|
1458
1435
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1459
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1436
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1460
1437
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1461
1438
|
originSnapOffset: {
|
|
1462
1439
|
x: number;
|
|
@@ -1467,16 +1444,15 @@ export declare const actionLoadScene: {
|
|
|
1467
1444
|
followedBy: Set<import("../types").SocketId>;
|
|
1468
1445
|
isCropping: boolean;
|
|
1469
1446
|
croppingElementId: string | null;
|
|
1470
|
-
searchMatches:
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
}[];
|
|
1447
|
+
searchMatches: Readonly<{
|
|
1448
|
+
focusedId: string | null;
|
|
1449
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1450
|
+
}> | null;
|
|
1451
|
+
activeLockedId: string | null;
|
|
1452
|
+
lockedMultiSelections: {
|
|
1453
|
+
[groupId: string]: true;
|
|
1454
|
+
};
|
|
1455
|
+
stylesPanelMode: "compact" | "full";
|
|
1480
1456
|
};
|
|
1481
1457
|
files: import("../types").BinaryFiles;
|
|
1482
1458
|
captureUpdate: "EVENTUALLY";
|
|
@@ -1505,7 +1481,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1505
1481
|
errorMessage: import("react").ReactNode;
|
|
1506
1482
|
activeEmbeddable: {
|
|
1507
1483
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1508
|
-
state: "
|
|
1484
|
+
state: "active" | "hover";
|
|
1509
1485
|
} | null;
|
|
1510
1486
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1511
1487
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1513,7 +1489,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1513
1489
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1514
1490
|
isBindingEnabled: boolean;
|
|
1515
1491
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1516
|
-
suggestedBindings: import("@excalidraw/element
|
|
1492
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1517
1493
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1518
1494
|
frameRendering: {
|
|
1519
1495
|
enabled: boolean;
|
|
@@ -1524,7 +1500,6 @@ export declare const actionExportWithDarkMode: {
|
|
|
1524
1500
|
editingFrame: string | null;
|
|
1525
1501
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1526
1502
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1527
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1528
1503
|
activeTool: {
|
|
1529
1504
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1530
1505
|
locked: boolean;
|
|
@@ -1561,8 +1536,8 @@ export declare const actionExportWithDarkMode: {
|
|
|
1561
1536
|
zoom: Readonly<{
|
|
1562
1537
|
value: import("../types").NormalizedZoomValue;
|
|
1563
1538
|
}>;
|
|
1564
|
-
openMenu: "
|
|
1565
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1539
|
+
openMenu: "canvas" | "shape" | null;
|
|
1540
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1566
1541
|
openSidebar: {
|
|
1567
1542
|
name: string;
|
|
1568
1543
|
tab?: string | undefined;
|
|
@@ -1571,7 +1546,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1571
1546
|
name: "imageExport" | "help" | "jsonExport";
|
|
1572
1547
|
} | {
|
|
1573
1548
|
name: "ttd";
|
|
1574
|
-
tab: "text-to-diagram"
|
|
1549
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1575
1550
|
} | {
|
|
1576
1551
|
name: "commandPalette";
|
|
1577
1552
|
} | {
|
|
@@ -1643,9 +1618,8 @@ export declare const actionExportWithDarkMode: {
|
|
|
1643
1618
|
shown: true;
|
|
1644
1619
|
data: import("../charts").Spreadsheet;
|
|
1645
1620
|
};
|
|
1646
|
-
pendingImageElementId: string | null;
|
|
1647
1621
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1648
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1622
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1649
1623
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1650
1624
|
originSnapOffset: {
|
|
1651
1625
|
x: number;
|
|
@@ -1656,16 +1630,15 @@ export declare const actionExportWithDarkMode: {
|
|
|
1656
1630
|
followedBy: Set<import("../types").SocketId>;
|
|
1657
1631
|
isCropping: boolean;
|
|
1658
1632
|
croppingElementId: string | null;
|
|
1659
|
-
searchMatches:
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
}[];
|
|
1633
|
+
searchMatches: Readonly<{
|
|
1634
|
+
focusedId: string | null;
|
|
1635
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1636
|
+
}> | null;
|
|
1637
|
+
activeLockedId: string | null;
|
|
1638
|
+
lockedMultiSelections: {
|
|
1639
|
+
[groupId: string]: true;
|
|
1640
|
+
};
|
|
1641
|
+
stylesPanelMode: "compact" | "full";
|
|
1669
1642
|
};
|
|
1670
1643
|
captureUpdate: "EVENTUALLY";
|
|
1671
1644
|
};
|