@excalidraw/excalidraw 0.18.0-58f7d33 → 0.18.0-5fffc47
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-CP5DND7P.js +7 -0
- package/dist/dev/chunk-CP5DND7P.js.map +7 -0
- package/dist/dev/{chunk-X3RYHLJU.js → chunk-PWQMCSHA.js} +26 -8
- package/dist/dev/chunk-PWQMCSHA.js.map +7 -0
- package/dist/dev/chunk-YMRX7R7U.js +5671 -0
- package/dist/dev/chunk-YMRX7R7U.js.map +7 -0
- package/dist/dev/data/{image-U2IPNUKJ.js → image-L23D26XS.js} +3 -3
- package/dist/dev/index.css +964 -501
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +11915 -10771
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-CKWC2GMK.js → en-V3NQTBPG.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-GF46JCB3.js +12 -0
- package/dist/prod/chunk-HT4FKTIQ.js +4 -0
- package/dist/prod/data/image-NWF7UX55.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-LQE6K457.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 +44 -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 +20 -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 +26 -16
- 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/duplicate.d.ts +10 -13
- 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 +5 -4
- 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 +11 -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 +57 -54
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +38 -36
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +256 -242
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +114 -106
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +19 -18
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +57 -53
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +18 -17
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +53 -52
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +19 -18
- package/dist/types/excalidraw/actions/actionExport.d.ts +181 -172
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +85 -42
- package/dist/types/excalidraw/actions/actionFrame.d.ts +123 -119
- package/dist/types/excalidraw/actions/actionGroup.d.ts +38 -36
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +545 -20
- package/dist/types/excalidraw/actions/actionLink.d.ts +18 -17
- package/dist/types/excalidraw/actions/actionMenu.d.ts +18 -391
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +38 -36
- package/dist/types/excalidraw/actions/actionProperties.d.ts +305 -273
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +19 -18
- package/dist/types/excalidraw/actions/actionStyles.d.ts +19 -18
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +19 -18
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +19 -18
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +18 -190
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +19 -18
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +19 -18
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +19 -18
- package/dist/types/excalidraw/actions/index.d.ts +2 -2
- package/dist/types/excalidraw/actions/types.d.ts +4 -3
- package/dist/types/excalidraw/appState.d.ts +23 -10
- package/dist/types/excalidraw/clipboard.d.ts +64 -1
- package/dist/types/excalidraw/components/Actions.d.ts +17 -7
- package/dist/types/excalidraw/components/App.d.ts +35 -22
- 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 +6 -1
- package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +4 -3
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +3 -3
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +3 -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/CommandPalette/CommandPalette.d.ts +1 -0
- 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/ExcalidrawLogo.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +3 -1
- package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
- package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -5
- package/dist/types/excalidraw/components/MobileToolBar.d.ts +11 -0
- 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/TTDDialog/TTDDialogTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/TextField.d.ts +1 -0
- package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
- 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/dropdownMenu/DropdownMenu.d.ts +4 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +2 -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 +8 -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/useLibraryItemSvg.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 +46 -16
- 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-KKJLIRJU.js +0 -7
- package/dist/dev/chunk-KKJLIRJU.js.map +0 -7
- package/dist/dev/chunk-LEJJ2YZY.js +0 -18711
- package/dist/dev/chunk-LEJJ2YZY.js.map +0 -7
- package/dist/dev/chunk-X3RYHLJU.js.map +0 -7
- package/dist/prod/chunk-IUH5AXLB.js +0 -12
- package/dist/prod/chunk-QUX7WTVH.js +0 -7
- package/dist/prod/chunk-RQK6WG4F.js +0 -33
- package/dist/prod/data/image-UQDATCXC.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-U2IPNUKJ.js.map → image-L23D26XS.js.map} +0 -0
- /package/dist/dev/locales/{en-CKWC2GMK.js.map → en-V3NQTBPG.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,12 +37,15 @@ 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;
|
|
44
43
|
fromSelection: boolean;
|
|
45
44
|
} & import("../types").ActiveTool;
|
|
45
|
+
preferredSelectionTool: {
|
|
46
|
+
type: "selection" | "lasso";
|
|
47
|
+
initialized: boolean;
|
|
48
|
+
};
|
|
46
49
|
penMode: boolean;
|
|
47
50
|
penDetected: boolean;
|
|
48
51
|
exportBackground: boolean;
|
|
@@ -74,8 +77,8 @@ export declare const actionChangeProjectName: {
|
|
|
74
77
|
zoom: Readonly<{
|
|
75
78
|
value: import("../types").NormalizedZoomValue;
|
|
76
79
|
}>;
|
|
77
|
-
openMenu: "
|
|
78
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
80
|
+
openMenu: "canvas" | null;
|
|
81
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
79
82
|
openSidebar: {
|
|
80
83
|
name: string;
|
|
81
84
|
tab?: string | undefined;
|
|
@@ -84,7 +87,7 @@ export declare const actionChangeProjectName: {
|
|
|
84
87
|
name: "imageExport" | "help" | "jsonExport";
|
|
85
88
|
} | {
|
|
86
89
|
name: "ttd";
|
|
87
|
-
tab: "text-to-diagram"
|
|
90
|
+
tab: "mermaid" | "text-to-diagram";
|
|
88
91
|
} | {
|
|
89
92
|
name: "commandPalette";
|
|
90
93
|
} | {
|
|
@@ -156,9 +159,8 @@ export declare const actionChangeProjectName: {
|
|
|
156
159
|
shown: true;
|
|
157
160
|
data: import("../charts").Spreadsheet;
|
|
158
161
|
};
|
|
159
|
-
pendingImageElementId: string | null;
|
|
160
162
|
showHyperlinkPopup: false | "editor" | "info";
|
|
161
|
-
selectedLinearElement: import("@excalidraw/element
|
|
163
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
162
164
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
163
165
|
originSnapOffset: {
|
|
164
166
|
x: number;
|
|
@@ -169,16 +171,15 @@ export declare const actionChangeProjectName: {
|
|
|
169
171
|
followedBy: Set<import("../types").SocketId>;
|
|
170
172
|
isCropping: boolean;
|
|
171
173
|
croppingElementId: string | null;
|
|
172
|
-
searchMatches:
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
}[];
|
|
174
|
+
searchMatches: Readonly<{
|
|
175
|
+
focusedId: string | null;
|
|
176
|
+
matches: readonly import("../types").SearchMatch[];
|
|
177
|
+
}> | null;
|
|
178
|
+
activeLockedId: string | null;
|
|
179
|
+
lockedMultiSelections: {
|
|
180
|
+
[groupId: string]: true;
|
|
181
|
+
};
|
|
182
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
182
183
|
};
|
|
183
184
|
captureUpdate: "EVENTUALLY";
|
|
184
185
|
};
|
|
@@ -206,7 +207,7 @@ export declare const actionChangeExportScale: {
|
|
|
206
207
|
errorMessage: import("react").ReactNode;
|
|
207
208
|
activeEmbeddable: {
|
|
208
209
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
209
|
-
state: "
|
|
210
|
+
state: "active" | "hover";
|
|
210
211
|
} | null;
|
|
211
212
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
212
213
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -214,7 +215,7 @@ export declare const actionChangeExportScale: {
|
|
|
214
215
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
215
216
|
isBindingEnabled: boolean;
|
|
216
217
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
217
|
-
suggestedBindings: import("@excalidraw/element
|
|
218
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
218
219
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
219
220
|
frameRendering: {
|
|
220
221
|
enabled: boolean;
|
|
@@ -225,12 +226,15 @@ export declare const actionChangeExportScale: {
|
|
|
225
226
|
editingFrame: string | null;
|
|
226
227
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
227
228
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
228
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
229
229
|
activeTool: {
|
|
230
230
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
231
231
|
locked: boolean;
|
|
232
232
|
fromSelection: boolean;
|
|
233
233
|
} & import("../types").ActiveTool;
|
|
234
|
+
preferredSelectionTool: {
|
|
235
|
+
type: "selection" | "lasso";
|
|
236
|
+
initialized: boolean;
|
|
237
|
+
};
|
|
234
238
|
penMode: boolean;
|
|
235
239
|
penDetected: boolean;
|
|
236
240
|
exportBackground: boolean;
|
|
@@ -262,8 +266,8 @@ export declare const actionChangeExportScale: {
|
|
|
262
266
|
zoom: Readonly<{
|
|
263
267
|
value: import("../types").NormalizedZoomValue;
|
|
264
268
|
}>;
|
|
265
|
-
openMenu: "
|
|
266
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
269
|
+
openMenu: "canvas" | null;
|
|
270
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
267
271
|
openSidebar: {
|
|
268
272
|
name: string;
|
|
269
273
|
tab?: string | undefined;
|
|
@@ -272,7 +276,7 @@ export declare const actionChangeExportScale: {
|
|
|
272
276
|
name: "imageExport" | "help" | "jsonExport";
|
|
273
277
|
} | {
|
|
274
278
|
name: "ttd";
|
|
275
|
-
tab: "text-to-diagram"
|
|
279
|
+
tab: "mermaid" | "text-to-diagram";
|
|
276
280
|
} | {
|
|
277
281
|
name: "commandPalette";
|
|
278
282
|
} | {
|
|
@@ -344,9 +348,8 @@ export declare const actionChangeExportScale: {
|
|
|
344
348
|
shown: true;
|
|
345
349
|
data: import("../charts").Spreadsheet;
|
|
346
350
|
};
|
|
347
|
-
pendingImageElementId: string | null;
|
|
348
351
|
showHyperlinkPopup: false | "editor" | "info";
|
|
349
|
-
selectedLinearElement: import("@excalidraw/element
|
|
352
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
350
353
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
351
354
|
originSnapOffset: {
|
|
352
355
|
x: number;
|
|
@@ -357,16 +360,15 @@ export declare const actionChangeExportScale: {
|
|
|
357
360
|
followedBy: Set<import("../types").SocketId>;
|
|
358
361
|
isCropping: boolean;
|
|
359
362
|
croppingElementId: string | null;
|
|
360
|
-
searchMatches:
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
}[];
|
|
363
|
+
searchMatches: Readonly<{
|
|
364
|
+
focusedId: string | null;
|
|
365
|
+
matches: readonly import("../types").SearchMatch[];
|
|
366
|
+
}> | null;
|
|
367
|
+
activeLockedId: string | null;
|
|
368
|
+
lockedMultiSelections: {
|
|
369
|
+
[groupId: string]: true;
|
|
370
|
+
};
|
|
371
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
370
372
|
};
|
|
371
373
|
captureUpdate: "EVENTUALLY";
|
|
372
374
|
};
|
|
@@ -394,7 +396,7 @@ export declare const actionChangeExportBackground: {
|
|
|
394
396
|
errorMessage: import("react").ReactNode;
|
|
395
397
|
activeEmbeddable: {
|
|
396
398
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
397
|
-
state: "
|
|
399
|
+
state: "active" | "hover";
|
|
398
400
|
} | null;
|
|
399
401
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
400
402
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -402,7 +404,7 @@ export declare const actionChangeExportBackground: {
|
|
|
402
404
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
403
405
|
isBindingEnabled: boolean;
|
|
404
406
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
405
|
-
suggestedBindings: import("@excalidraw/element
|
|
407
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
406
408
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
407
409
|
frameRendering: {
|
|
408
410
|
enabled: boolean;
|
|
@@ -413,12 +415,15 @@ export declare const actionChangeExportBackground: {
|
|
|
413
415
|
editingFrame: string | null;
|
|
414
416
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
415
417
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
416
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
417
418
|
activeTool: {
|
|
418
419
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
419
420
|
locked: boolean;
|
|
420
421
|
fromSelection: boolean;
|
|
421
422
|
} & import("../types").ActiveTool;
|
|
423
|
+
preferredSelectionTool: {
|
|
424
|
+
type: "selection" | "lasso";
|
|
425
|
+
initialized: boolean;
|
|
426
|
+
};
|
|
422
427
|
penMode: boolean;
|
|
423
428
|
penDetected: boolean;
|
|
424
429
|
exportEmbedScene: boolean;
|
|
@@ -450,8 +455,8 @@ export declare const actionChangeExportBackground: {
|
|
|
450
455
|
zoom: Readonly<{
|
|
451
456
|
value: import("../types").NormalizedZoomValue;
|
|
452
457
|
}>;
|
|
453
|
-
openMenu: "
|
|
454
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
458
|
+
openMenu: "canvas" | null;
|
|
459
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
455
460
|
openSidebar: {
|
|
456
461
|
name: string;
|
|
457
462
|
tab?: string | undefined;
|
|
@@ -460,7 +465,7 @@ export declare const actionChangeExportBackground: {
|
|
|
460
465
|
name: "imageExport" | "help" | "jsonExport";
|
|
461
466
|
} | {
|
|
462
467
|
name: "ttd";
|
|
463
|
-
tab: "text-to-diagram"
|
|
468
|
+
tab: "mermaid" | "text-to-diagram";
|
|
464
469
|
} | {
|
|
465
470
|
name: "commandPalette";
|
|
466
471
|
} | {
|
|
@@ -532,9 +537,8 @@ export declare const actionChangeExportBackground: {
|
|
|
532
537
|
shown: true;
|
|
533
538
|
data: import("../charts").Spreadsheet;
|
|
534
539
|
};
|
|
535
|
-
pendingImageElementId: string | null;
|
|
536
540
|
showHyperlinkPopup: false | "editor" | "info";
|
|
537
|
-
selectedLinearElement: import("@excalidraw/element
|
|
541
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
538
542
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
539
543
|
originSnapOffset: {
|
|
540
544
|
x: number;
|
|
@@ -545,16 +549,15 @@ export declare const actionChangeExportBackground: {
|
|
|
545
549
|
followedBy: Set<import("../types").SocketId>;
|
|
546
550
|
isCropping: boolean;
|
|
547
551
|
croppingElementId: string | null;
|
|
548
|
-
searchMatches:
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
}[];
|
|
552
|
+
searchMatches: Readonly<{
|
|
553
|
+
focusedId: string | null;
|
|
554
|
+
matches: readonly import("../types").SearchMatch[];
|
|
555
|
+
}> | null;
|
|
556
|
+
activeLockedId: string | null;
|
|
557
|
+
lockedMultiSelections: {
|
|
558
|
+
[groupId: string]: true;
|
|
559
|
+
};
|
|
560
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
558
561
|
};
|
|
559
562
|
captureUpdate: "EVENTUALLY";
|
|
560
563
|
};
|
|
@@ -582,7 +585,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
582
585
|
errorMessage: import("react").ReactNode;
|
|
583
586
|
activeEmbeddable: {
|
|
584
587
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
585
|
-
state: "
|
|
588
|
+
state: "active" | "hover";
|
|
586
589
|
} | null;
|
|
587
590
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
588
591
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -590,7 +593,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
590
593
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
591
594
|
isBindingEnabled: boolean;
|
|
592
595
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
593
|
-
suggestedBindings: import("@excalidraw/element
|
|
596
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
594
597
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
595
598
|
frameRendering: {
|
|
596
599
|
enabled: boolean;
|
|
@@ -601,12 +604,15 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
601
604
|
editingFrame: string | null;
|
|
602
605
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
603
606
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
604
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
605
607
|
activeTool: {
|
|
606
608
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
607
609
|
locked: boolean;
|
|
608
610
|
fromSelection: boolean;
|
|
609
611
|
} & import("../types").ActiveTool;
|
|
612
|
+
preferredSelectionTool: {
|
|
613
|
+
type: "selection" | "lasso";
|
|
614
|
+
initialized: boolean;
|
|
615
|
+
};
|
|
610
616
|
penMode: boolean;
|
|
611
617
|
penDetected: boolean;
|
|
612
618
|
exportBackground: boolean;
|
|
@@ -638,8 +644,8 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
638
644
|
zoom: Readonly<{
|
|
639
645
|
value: import("../types").NormalizedZoomValue;
|
|
640
646
|
}>;
|
|
641
|
-
openMenu: "
|
|
642
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
647
|
+
openMenu: "canvas" | null;
|
|
648
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
643
649
|
openSidebar: {
|
|
644
650
|
name: string;
|
|
645
651
|
tab?: string | undefined;
|
|
@@ -648,7 +654,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
648
654
|
name: "imageExport" | "help" | "jsonExport";
|
|
649
655
|
} | {
|
|
650
656
|
name: "ttd";
|
|
651
|
-
tab: "text-to-diagram"
|
|
657
|
+
tab: "mermaid" | "text-to-diagram";
|
|
652
658
|
} | {
|
|
653
659
|
name: "commandPalette";
|
|
654
660
|
} | {
|
|
@@ -720,9 +726,8 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
720
726
|
shown: true;
|
|
721
727
|
data: import("../charts").Spreadsheet;
|
|
722
728
|
};
|
|
723
|
-
pendingImageElementId: string | null;
|
|
724
729
|
showHyperlinkPopup: false | "editor" | "info";
|
|
725
|
-
selectedLinearElement: import("@excalidraw/element
|
|
730
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
726
731
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
727
732
|
originSnapOffset: {
|
|
728
733
|
x: number;
|
|
@@ -733,16 +738,15 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
733
738
|
followedBy: Set<import("../types").SocketId>;
|
|
734
739
|
isCropping: boolean;
|
|
735
740
|
croppingElementId: string | null;
|
|
736
|
-
searchMatches:
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
}[];
|
|
741
|
+
searchMatches: Readonly<{
|
|
742
|
+
focusedId: string | null;
|
|
743
|
+
matches: readonly import("../types").SearchMatch[];
|
|
744
|
+
}> | null;
|
|
745
|
+
activeLockedId: string | null;
|
|
746
|
+
lockedMultiSelections: {
|
|
747
|
+
[groupId: string]: true;
|
|
748
|
+
};
|
|
749
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
746
750
|
};
|
|
747
751
|
captureUpdate: "EVENTUALLY";
|
|
748
752
|
};
|
|
@@ -775,7 +779,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
775
779
|
errorMessage: import("react").ReactNode;
|
|
776
780
|
activeEmbeddable: {
|
|
777
781
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
778
|
-
state: "
|
|
782
|
+
state: "active" | "hover";
|
|
779
783
|
} | null;
|
|
780
784
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
781
785
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -783,7 +787,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
783
787
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
784
788
|
isBindingEnabled: boolean;
|
|
785
789
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
786
|
-
suggestedBindings: import("@excalidraw/element
|
|
790
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
787
791
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
788
792
|
frameRendering: {
|
|
789
793
|
enabled: boolean;
|
|
@@ -794,12 +798,15 @@ export declare const actionSaveToActiveFile: {
|
|
|
794
798
|
editingFrame: string | null;
|
|
795
799
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
796
800
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
797
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
798
801
|
activeTool: {
|
|
799
802
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
800
803
|
locked: boolean;
|
|
801
804
|
fromSelection: boolean;
|
|
802
805
|
} & import("../types").ActiveTool;
|
|
806
|
+
preferredSelectionTool: {
|
|
807
|
+
type: "selection" | "lasso";
|
|
808
|
+
initialized: boolean;
|
|
809
|
+
};
|
|
803
810
|
penMode: boolean;
|
|
804
811
|
penDetected: boolean;
|
|
805
812
|
exportBackground: boolean;
|
|
@@ -832,8 +839,8 @@ export declare const actionSaveToActiveFile: {
|
|
|
832
839
|
zoom: Readonly<{
|
|
833
840
|
value: import("../types").NormalizedZoomValue;
|
|
834
841
|
}>;
|
|
835
|
-
openMenu: "
|
|
836
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
842
|
+
openMenu: "canvas" | null;
|
|
843
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
837
844
|
openSidebar: {
|
|
838
845
|
name: string;
|
|
839
846
|
tab?: string | undefined;
|
|
@@ -842,7 +849,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
842
849
|
name: "imageExport" | "help" | "jsonExport";
|
|
843
850
|
} | {
|
|
844
851
|
name: "ttd";
|
|
845
|
-
tab: "text-to-diagram"
|
|
852
|
+
tab: "mermaid" | "text-to-diagram";
|
|
846
853
|
} | {
|
|
847
854
|
name: "commandPalette";
|
|
848
855
|
} | {
|
|
@@ -908,9 +915,8 @@ export declare const actionSaveToActiveFile: {
|
|
|
908
915
|
shown: true;
|
|
909
916
|
data: import("../charts").Spreadsheet;
|
|
910
917
|
};
|
|
911
|
-
pendingImageElementId: string | null;
|
|
912
918
|
showHyperlinkPopup: false | "editor" | "info";
|
|
913
|
-
selectedLinearElement: import("@excalidraw/element
|
|
919
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
914
920
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
915
921
|
originSnapOffset: {
|
|
916
922
|
x: number;
|
|
@@ -921,16 +927,15 @@ export declare const actionSaveToActiveFile: {
|
|
|
921
927
|
followedBy: Set<import("../types").SocketId>;
|
|
922
928
|
isCropping: boolean;
|
|
923
929
|
croppingElementId: string | null;
|
|
924
|
-
searchMatches:
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
}[];
|
|
930
|
+
searchMatches: Readonly<{
|
|
931
|
+
focusedId: string | null;
|
|
932
|
+
matches: readonly import("../types").SearchMatch[];
|
|
933
|
+
}> | null;
|
|
934
|
+
activeLockedId: string | null;
|
|
935
|
+
lockedMultiSelections: {
|
|
936
|
+
[groupId: string]: true;
|
|
937
|
+
};
|
|
938
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
934
939
|
};
|
|
935
940
|
} | {
|
|
936
941
|
captureUpdate: "EVENTUALLY";
|
|
@@ -966,7 +971,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
966
971
|
errorMessage: import("react").ReactNode;
|
|
967
972
|
activeEmbeddable: {
|
|
968
973
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
969
|
-
state: "
|
|
974
|
+
state: "active" | "hover";
|
|
970
975
|
} | null;
|
|
971
976
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
972
977
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -974,7 +979,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
974
979
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
975
980
|
isBindingEnabled: boolean;
|
|
976
981
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
977
|
-
suggestedBindings: import("@excalidraw/element
|
|
982
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
978
983
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
979
984
|
frameRendering: {
|
|
980
985
|
enabled: boolean;
|
|
@@ -985,12 +990,15 @@ export declare const actionSaveFileToDisk: {
|
|
|
985
990
|
editingFrame: string | null;
|
|
986
991
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
987
992
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
988
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
989
993
|
activeTool: {
|
|
990
994
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
991
995
|
locked: boolean;
|
|
992
996
|
fromSelection: boolean;
|
|
993
997
|
} & import("../types").ActiveTool;
|
|
998
|
+
preferredSelectionTool: {
|
|
999
|
+
type: "selection" | "lasso";
|
|
1000
|
+
initialized: boolean;
|
|
1001
|
+
};
|
|
994
1002
|
penMode: boolean;
|
|
995
1003
|
penDetected: boolean;
|
|
996
1004
|
exportBackground: boolean;
|
|
@@ -1023,8 +1031,8 @@ export declare const actionSaveFileToDisk: {
|
|
|
1023
1031
|
zoom: Readonly<{
|
|
1024
1032
|
value: import("../types").NormalizedZoomValue;
|
|
1025
1033
|
}>;
|
|
1026
|
-
openMenu: "
|
|
1027
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1034
|
+
openMenu: "canvas" | null;
|
|
1035
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1028
1036
|
openSidebar: {
|
|
1029
1037
|
name: string;
|
|
1030
1038
|
tab?: string | undefined;
|
|
@@ -1088,9 +1096,8 @@ export declare const actionSaveFileToDisk: {
|
|
|
1088
1096
|
shown: true;
|
|
1089
1097
|
data: import("../charts").Spreadsheet;
|
|
1090
1098
|
};
|
|
1091
|
-
pendingImageElementId: string | null;
|
|
1092
1099
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1093
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1100
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1094
1101
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1095
1102
|
originSnapOffset: {
|
|
1096
1103
|
x: number;
|
|
@@ -1101,16 +1108,15 @@ export declare const actionSaveFileToDisk: {
|
|
|
1101
1108
|
followedBy: Set<import("../types").SocketId>;
|
|
1102
1109
|
isCropping: boolean;
|
|
1103
1110
|
croppingElementId: string | null;
|
|
1104
|
-
searchMatches:
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
}[];
|
|
1111
|
+
searchMatches: Readonly<{
|
|
1112
|
+
focusedId: string | null;
|
|
1113
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1114
|
+
}> | null;
|
|
1115
|
+
activeLockedId: string | null;
|
|
1116
|
+
lockedMultiSelections: {
|
|
1117
|
+
[groupId: string]: true;
|
|
1118
|
+
};
|
|
1119
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1114
1120
|
};
|
|
1115
1121
|
} | {
|
|
1116
1122
|
captureUpdate: "EVENTUALLY";
|
|
@@ -1149,7 +1155,7 @@ export declare const actionLoadScene: {
|
|
|
1149
1155
|
name: "imageExport" | "help" | "jsonExport";
|
|
1150
1156
|
} | {
|
|
1151
1157
|
name: "ttd";
|
|
1152
|
-
tab: "text-to-diagram"
|
|
1158
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1153
1159
|
} | {
|
|
1154
1160
|
name: "commandPalette";
|
|
1155
1161
|
} | {
|
|
@@ -1162,20 +1168,18 @@ export declare const actionLoadScene: {
|
|
|
1162
1168
|
}>;
|
|
1163
1169
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1164
1170
|
theme: Theme;
|
|
1165
|
-
pendingImageElementId: string | null;
|
|
1166
1171
|
activeEmbeddable: {
|
|
1167
1172
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1168
|
-
state: "
|
|
1173
|
+
state: "active" | "hover";
|
|
1169
1174
|
} | null;
|
|
1170
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1171
1175
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1172
1176
|
selectedGroupIds: {
|
|
1173
1177
|
[groupId: string]: boolean;
|
|
1174
1178
|
};
|
|
1175
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1179
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1176
1180
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1177
1181
|
isBindingEnabled: boolean;
|
|
1178
|
-
suggestedBindings: import("@excalidraw/element
|
|
1182
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1179
1183
|
isRotating: boolean;
|
|
1180
1184
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1181
1185
|
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
@@ -1203,27 +1207,11 @@ export declare const actionLoadScene: {
|
|
|
1203
1207
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1204
1208
|
isCropping: boolean;
|
|
1205
1209
|
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
|
-
}>;
|
|
1210
|
+
searchMatches: Readonly<{
|
|
1211
|
+
focusedId: string | null;
|
|
1212
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1213
|
+
}> | null;
|
|
1214
|
+
activeLockedId: string | null;
|
|
1227
1215
|
contextMenu: {
|
|
1228
1216
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1229
1217
|
top: number;
|
|
@@ -1241,11 +1229,16 @@ export declare const actionLoadScene: {
|
|
|
1241
1229
|
locked: boolean;
|
|
1242
1230
|
fromSelection: boolean;
|
|
1243
1231
|
} & import("../types").ActiveTool;
|
|
1232
|
+
preferredSelectionTool: {
|
|
1233
|
+
type: "selection" | "lasso";
|
|
1234
|
+
initialized: boolean;
|
|
1235
|
+
};
|
|
1244
1236
|
penMode: boolean;
|
|
1245
1237
|
penDetected: boolean;
|
|
1246
1238
|
exportBackground: boolean;
|
|
1247
1239
|
exportEmbedScene: boolean;
|
|
1248
1240
|
exportWithDarkMode: boolean;
|
|
1241
|
+
exportScale: number;
|
|
1249
1242
|
currentItemStrokeColor: string;
|
|
1250
1243
|
currentItemBackgroundColor: string;
|
|
1251
1244
|
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
@@ -1258,27 +1251,36 @@ export declare const actionLoadScene: {
|
|
|
1258
1251
|
currentItemTextAlign: string;
|
|
1259
1252
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1260
1253
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1254
|
+
currentHoveredFontFamily: number | null;
|
|
1261
1255
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1262
1256
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1263
1257
|
cursorButton: "up" | "down";
|
|
1264
1258
|
scrolledOutside: boolean;
|
|
1265
1259
|
isResizing: boolean;
|
|
1266
|
-
openMenu: "
|
|
1267
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1260
|
+
openMenu: "canvas" | null;
|
|
1261
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1268
1262
|
openSidebar: {
|
|
1269
1263
|
name: string;
|
|
1270
1264
|
tab?: string | undefined;
|
|
1271
1265
|
} | null;
|
|
1272
1266
|
defaultSidebarDockedPreference: boolean;
|
|
1273
1267
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1268
|
+
hoveredElementIds: Readonly<{
|
|
1269
|
+
[id: string]: true;
|
|
1270
|
+
}>;
|
|
1274
1271
|
previousSelectedElementIds: {
|
|
1275
1272
|
[id: string]: true;
|
|
1276
1273
|
};
|
|
1274
|
+
selectedElementsAreBeingDragged: boolean;
|
|
1275
|
+
shouldCacheIgnoreZoom: boolean;
|
|
1277
1276
|
toast: {
|
|
1278
1277
|
message: string;
|
|
1279
1278
|
closable?: boolean | undefined;
|
|
1280
1279
|
duration?: number | undefined;
|
|
1281
1280
|
} | null;
|
|
1281
|
+
gridSize: number;
|
|
1282
|
+
gridStep: number;
|
|
1283
|
+
gridModeEnabled: boolean;
|
|
1282
1284
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1283
1285
|
stats: {
|
|
1284
1286
|
open: boolean;
|
|
@@ -1297,8 +1299,13 @@ export declare const actionLoadScene: {
|
|
|
1297
1299
|
x: number;
|
|
1298
1300
|
y: number;
|
|
1299
1301
|
} | null;
|
|
1302
|
+
objectsSnapModeEnabled: boolean;
|
|
1300
1303
|
userToFollow: import("../types").UserToFollow | null;
|
|
1301
1304
|
followedBy: Set<import("../types").SocketId>;
|
|
1305
|
+
lockedMultiSelections: {
|
|
1306
|
+
[groupId: string]: true;
|
|
1307
|
+
};
|
|
1308
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1302
1309
|
};
|
|
1303
1310
|
files: import("../types").BinaryFiles;
|
|
1304
1311
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -1315,7 +1322,7 @@ export declare const actionLoadScene: {
|
|
|
1315
1322
|
isLoading: boolean;
|
|
1316
1323
|
activeEmbeddable: {
|
|
1317
1324
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1318
|
-
state: "
|
|
1325
|
+
state: "active" | "hover";
|
|
1319
1326
|
} | null;
|
|
1320
1327
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1321
1328
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1323,7 +1330,7 @@ export declare const actionLoadScene: {
|
|
|
1323
1330
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1324
1331
|
isBindingEnabled: boolean;
|
|
1325
1332
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1326
|
-
suggestedBindings: import("@excalidraw/element
|
|
1333
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1327
1334
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1328
1335
|
frameRendering: {
|
|
1329
1336
|
enabled: boolean;
|
|
@@ -1334,12 +1341,15 @@ export declare const actionLoadScene: {
|
|
|
1334
1341
|
editingFrame: string | null;
|
|
1335
1342
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1336
1343
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1337
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1338
1344
|
activeTool: {
|
|
1339
1345
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1340
1346
|
locked: boolean;
|
|
1341
1347
|
fromSelection: boolean;
|
|
1342
1348
|
} & import("../types").ActiveTool;
|
|
1349
|
+
preferredSelectionTool: {
|
|
1350
|
+
type: "selection" | "lasso";
|
|
1351
|
+
initialized: boolean;
|
|
1352
|
+
};
|
|
1343
1353
|
penMode: boolean;
|
|
1344
1354
|
penDetected: boolean;
|
|
1345
1355
|
exportBackground: boolean;
|
|
@@ -1372,8 +1382,8 @@ export declare const actionLoadScene: {
|
|
|
1372
1382
|
zoom: Readonly<{
|
|
1373
1383
|
value: import("../types").NormalizedZoomValue;
|
|
1374
1384
|
}>;
|
|
1375
|
-
openMenu: "
|
|
1376
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1385
|
+
openMenu: "canvas" | null;
|
|
1386
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1377
1387
|
openSidebar: {
|
|
1378
1388
|
name: string;
|
|
1379
1389
|
tab?: string | undefined;
|
|
@@ -1382,7 +1392,7 @@ export declare const actionLoadScene: {
|
|
|
1382
1392
|
name: "imageExport" | "help" | "jsonExport";
|
|
1383
1393
|
} | {
|
|
1384
1394
|
name: "ttd";
|
|
1385
|
-
tab: "text-to-diagram"
|
|
1395
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1386
1396
|
} | {
|
|
1387
1397
|
name: "commandPalette";
|
|
1388
1398
|
} | {
|
|
@@ -1454,9 +1464,8 @@ export declare const actionLoadScene: {
|
|
|
1454
1464
|
shown: true;
|
|
1455
1465
|
data: import("../charts").Spreadsheet;
|
|
1456
1466
|
};
|
|
1457
|
-
pendingImageElementId: string | null;
|
|
1458
1467
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1459
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1468
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1460
1469
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1461
1470
|
originSnapOffset: {
|
|
1462
1471
|
x: number;
|
|
@@ -1467,16 +1476,15 @@ export declare const actionLoadScene: {
|
|
|
1467
1476
|
followedBy: Set<import("../types").SocketId>;
|
|
1468
1477
|
isCropping: boolean;
|
|
1469
1478
|
croppingElementId: string | null;
|
|
1470
|
-
searchMatches:
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
}[];
|
|
1479
|
+
searchMatches: Readonly<{
|
|
1480
|
+
focusedId: string | null;
|
|
1481
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1482
|
+
}> | null;
|
|
1483
|
+
activeLockedId: string | null;
|
|
1484
|
+
lockedMultiSelections: {
|
|
1485
|
+
[groupId: string]: true;
|
|
1486
|
+
};
|
|
1487
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1480
1488
|
};
|
|
1481
1489
|
files: import("../types").BinaryFiles;
|
|
1482
1490
|
captureUpdate: "EVENTUALLY";
|
|
@@ -1505,7 +1513,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1505
1513
|
errorMessage: import("react").ReactNode;
|
|
1506
1514
|
activeEmbeddable: {
|
|
1507
1515
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1508
|
-
state: "
|
|
1516
|
+
state: "active" | "hover";
|
|
1509
1517
|
} | null;
|
|
1510
1518
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1511
1519
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1513,7 +1521,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1513
1521
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1514
1522
|
isBindingEnabled: boolean;
|
|
1515
1523
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1516
|
-
suggestedBindings: import("@excalidraw/element
|
|
1524
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1517
1525
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1518
1526
|
frameRendering: {
|
|
1519
1527
|
enabled: boolean;
|
|
@@ -1524,12 +1532,15 @@ export declare const actionExportWithDarkMode: {
|
|
|
1524
1532
|
editingFrame: string | null;
|
|
1525
1533
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1526
1534
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1527
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1528
1535
|
activeTool: {
|
|
1529
1536
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1530
1537
|
locked: boolean;
|
|
1531
1538
|
fromSelection: boolean;
|
|
1532
1539
|
} & import("../types").ActiveTool;
|
|
1540
|
+
preferredSelectionTool: {
|
|
1541
|
+
type: "selection" | "lasso";
|
|
1542
|
+
initialized: boolean;
|
|
1543
|
+
};
|
|
1533
1544
|
penMode: boolean;
|
|
1534
1545
|
penDetected: boolean;
|
|
1535
1546
|
exportBackground: boolean;
|
|
@@ -1561,8 +1572,8 @@ export declare const actionExportWithDarkMode: {
|
|
|
1561
1572
|
zoom: Readonly<{
|
|
1562
1573
|
value: import("../types").NormalizedZoomValue;
|
|
1563
1574
|
}>;
|
|
1564
|
-
openMenu: "
|
|
1565
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1575
|
+
openMenu: "canvas" | null;
|
|
1576
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1566
1577
|
openSidebar: {
|
|
1567
1578
|
name: string;
|
|
1568
1579
|
tab?: string | undefined;
|
|
@@ -1571,7 +1582,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1571
1582
|
name: "imageExport" | "help" | "jsonExport";
|
|
1572
1583
|
} | {
|
|
1573
1584
|
name: "ttd";
|
|
1574
|
-
tab: "text-to-diagram"
|
|
1585
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1575
1586
|
} | {
|
|
1576
1587
|
name: "commandPalette";
|
|
1577
1588
|
} | {
|
|
@@ -1643,9 +1654,8 @@ export declare const actionExportWithDarkMode: {
|
|
|
1643
1654
|
shown: true;
|
|
1644
1655
|
data: import("../charts").Spreadsheet;
|
|
1645
1656
|
};
|
|
1646
|
-
pendingImageElementId: string | null;
|
|
1647
1657
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1648
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1658
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1649
1659
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1650
1660
|
originSnapOffset: {
|
|
1651
1661
|
x: number;
|
|
@@ -1656,16 +1666,15 @@ export declare const actionExportWithDarkMode: {
|
|
|
1656
1666
|
followedBy: Set<import("../types").SocketId>;
|
|
1657
1667
|
isCropping: boolean;
|
|
1658
1668
|
croppingElementId: string | null;
|
|
1659
|
-
searchMatches:
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
}[];
|
|
1669
|
+
searchMatches: Readonly<{
|
|
1670
|
+
focusedId: string | null;
|
|
1671
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1672
|
+
}> | null;
|
|
1673
|
+
activeLockedId: string | null;
|
|
1674
|
+
lockedMultiSelections: {
|
|
1675
|
+
[groupId: string]: true;
|
|
1676
|
+
};
|
|
1677
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1669
1678
|
};
|
|
1670
1679
|
captureUpdate: "EVENTUALLY";
|
|
1671
1680
|
};
|