@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { type SceneBounds } from "@excalidraw/element
|
|
2
|
+
import { type SceneBounds } from "@excalidraw/element";
|
|
3
3
|
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
4
4
|
import type { AppState, Offsets } from "../types";
|
|
5
5
|
export declare const actionChangeViewBackgroundColor: {
|
|
@@ -11,7 +11,7 @@ export declare const actionChangeViewBackgroundColor: {
|
|
|
11
11
|
appState: any;
|
|
12
12
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
13
13
|
};
|
|
14
|
-
PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
PanelComponent: ({ elements, appState, updateData, appProps, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
} & {
|
|
16
16
|
keyTest?: undefined;
|
|
17
17
|
};
|
|
@@ -69,7 +69,7 @@ export declare const actionClearCanvas: {
|
|
|
69
69
|
name: "imageExport" | "help" | "jsonExport";
|
|
70
70
|
} | {
|
|
71
71
|
name: "ttd";
|
|
72
|
-
tab: "text-to-diagram"
|
|
72
|
+
tab: "mermaid" | "text-to-diagram";
|
|
73
73
|
} | {
|
|
74
74
|
name: "commandPalette";
|
|
75
75
|
} | {
|
|
@@ -81,20 +81,18 @@ export declare const actionClearCanvas: {
|
|
|
81
81
|
[id: string]: true;
|
|
82
82
|
}>;
|
|
83
83
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
84
|
-
pendingImageElementId: string | null;
|
|
85
84
|
activeEmbeddable: {
|
|
86
85
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
87
|
-
state: "
|
|
86
|
+
state: "active" | "hover";
|
|
88
87
|
} | null;
|
|
89
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
90
88
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
91
89
|
selectedGroupIds: {
|
|
92
90
|
[groupId: string]: boolean;
|
|
93
91
|
};
|
|
94
|
-
selectedLinearElement: import("@excalidraw/element
|
|
92
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
95
93
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
96
94
|
isBindingEnabled: boolean;
|
|
97
|
-
suggestedBindings: import("@excalidraw/element
|
|
95
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
98
96
|
isRotating: boolean;
|
|
99
97
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
100
98
|
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
@@ -122,24 +120,11 @@ export declare const actionClearCanvas: {
|
|
|
122
120
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
123
121
|
isCropping: boolean;
|
|
124
122
|
croppingElementId: string | null;
|
|
125
|
-
searchMatches:
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
offsetY: number;
|
|
131
|
-
width: number;
|
|
132
|
-
height: number;
|
|
133
|
-
}[];
|
|
134
|
-
}[];
|
|
135
|
-
objectsSnapModeEnabled: boolean;
|
|
136
|
-
shouldCacheIgnoreZoom: boolean;
|
|
137
|
-
exportScale: number;
|
|
138
|
-
selectedElementsAreBeingDragged: boolean;
|
|
139
|
-
currentHoveredFontFamily: number | null;
|
|
140
|
-
hoveredElementIds: Readonly<{
|
|
141
|
-
[id: string]: true;
|
|
142
|
-
}>;
|
|
123
|
+
searchMatches: Readonly<{
|
|
124
|
+
focusedId: string | null;
|
|
125
|
+
matches: readonly import("../types").SearchMatch[];
|
|
126
|
+
}> | null;
|
|
127
|
+
activeLockedId: string | null;
|
|
143
128
|
contextMenu: {
|
|
144
129
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
145
130
|
top: number;
|
|
@@ -153,6 +138,7 @@ export declare const actionClearCanvas: {
|
|
|
153
138
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
154
139
|
editingFrame: string | null;
|
|
155
140
|
exportWithDarkMode: boolean;
|
|
141
|
+
exportScale: number;
|
|
156
142
|
currentItemStrokeColor: string;
|
|
157
143
|
currentItemBackgroundColor: string;
|
|
158
144
|
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
@@ -165,22 +151,28 @@ export declare const actionClearCanvas: {
|
|
|
165
151
|
currentItemTextAlign: string;
|
|
166
152
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
167
153
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
154
|
+
currentHoveredFontFamily: number | null;
|
|
168
155
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
169
156
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
170
157
|
cursorButton: "up" | "down";
|
|
171
158
|
scrolledOutside: boolean;
|
|
172
159
|
isResizing: boolean;
|
|
173
|
-
openMenu: "
|
|
174
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
160
|
+
openMenu: "canvas" | "shape" | null;
|
|
161
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
175
162
|
openSidebar: {
|
|
176
163
|
name: string;
|
|
177
164
|
tab?: string | undefined;
|
|
178
165
|
} | null;
|
|
179
166
|
defaultSidebarDockedPreference: boolean;
|
|
180
167
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
168
|
+
hoveredElementIds: Readonly<{
|
|
169
|
+
[id: string]: true;
|
|
170
|
+
}>;
|
|
181
171
|
previousSelectedElementIds: {
|
|
182
172
|
[id: string]: true;
|
|
183
173
|
};
|
|
174
|
+
selectedElementsAreBeingDragged: boolean;
|
|
175
|
+
shouldCacheIgnoreZoom: boolean;
|
|
184
176
|
toast: {
|
|
185
177
|
message: string;
|
|
186
178
|
closable?: boolean | undefined;
|
|
@@ -193,8 +185,13 @@ export declare const actionClearCanvas: {
|
|
|
193
185
|
x: number;
|
|
194
186
|
y: number;
|
|
195
187
|
} | null;
|
|
188
|
+
objectsSnapModeEnabled: boolean;
|
|
196
189
|
userToFollow: import("../types").UserToFollow | null;
|
|
197
190
|
followedBy: Set<import("../types").SocketId>;
|
|
191
|
+
lockedMultiSelections: {
|
|
192
|
+
[groupId: string]: true;
|
|
193
|
+
};
|
|
194
|
+
stylesPanelMode: "compact" | "full";
|
|
198
195
|
};
|
|
199
196
|
captureUpdate: "IMMEDIATELY";
|
|
200
197
|
};
|
|
@@ -227,7 +224,7 @@ export declare const actionZoomIn: {
|
|
|
227
224
|
errorMessage: import("react").ReactNode;
|
|
228
225
|
activeEmbeddable: {
|
|
229
226
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
230
|
-
state: "
|
|
227
|
+
state: "active" | "hover";
|
|
231
228
|
} | null;
|
|
232
229
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
233
230
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -235,7 +232,7 @@ export declare const actionZoomIn: {
|
|
|
235
232
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
236
233
|
isBindingEnabled: boolean;
|
|
237
234
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
238
|
-
suggestedBindings: import("@excalidraw/element
|
|
235
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
239
236
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
240
237
|
frameRendering: {
|
|
241
238
|
enabled: boolean;
|
|
@@ -246,7 +243,6 @@ export declare const actionZoomIn: {
|
|
|
246
243
|
editingFrame: string | null;
|
|
247
244
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
248
245
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
249
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
250
246
|
activeTool: {
|
|
251
247
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
252
248
|
locked: boolean;
|
|
@@ -279,8 +275,8 @@ export declare const actionZoomIn: {
|
|
|
279
275
|
name: string | null;
|
|
280
276
|
isResizing: boolean;
|
|
281
277
|
isRotating: boolean;
|
|
282
|
-
openMenu: "
|
|
283
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
278
|
+
openMenu: "canvas" | "shape" | null;
|
|
279
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
284
280
|
openSidebar: {
|
|
285
281
|
name: string;
|
|
286
282
|
tab?: string | undefined;
|
|
@@ -289,7 +285,7 @@ export declare const actionZoomIn: {
|
|
|
289
285
|
name: "imageExport" | "help" | "jsonExport";
|
|
290
286
|
} | {
|
|
291
287
|
name: "ttd";
|
|
292
|
-
tab: "text-to-diagram"
|
|
288
|
+
tab: "mermaid" | "text-to-diagram";
|
|
293
289
|
} | {
|
|
294
290
|
name: "commandPalette";
|
|
295
291
|
} | {
|
|
@@ -361,9 +357,8 @@ export declare const actionZoomIn: {
|
|
|
361
357
|
shown: true;
|
|
362
358
|
data: import("../charts").Spreadsheet;
|
|
363
359
|
};
|
|
364
|
-
pendingImageElementId: string | null;
|
|
365
360
|
showHyperlinkPopup: false | "editor" | "info";
|
|
366
|
-
selectedLinearElement: import("@excalidraw/element
|
|
361
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
367
362
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
368
363
|
originSnapOffset: {
|
|
369
364
|
x: number;
|
|
@@ -373,16 +368,15 @@ export declare const actionZoomIn: {
|
|
|
373
368
|
followedBy: Set<import("../types").SocketId>;
|
|
374
369
|
isCropping: boolean;
|
|
375
370
|
croppingElementId: string | null;
|
|
376
|
-
searchMatches:
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
}[];
|
|
371
|
+
searchMatches: Readonly<{
|
|
372
|
+
focusedId: string | null;
|
|
373
|
+
matches: readonly import("../types").SearchMatch[];
|
|
374
|
+
}> | null;
|
|
375
|
+
activeLockedId: string | null;
|
|
376
|
+
lockedMultiSelections: {
|
|
377
|
+
[groupId: string]: true;
|
|
378
|
+
};
|
|
379
|
+
stylesPanelMode: "compact" | "full";
|
|
386
380
|
};
|
|
387
381
|
captureUpdate: "EVENTUALLY";
|
|
388
382
|
};
|
|
@@ -417,7 +411,7 @@ export declare const actionZoomOut: {
|
|
|
417
411
|
errorMessage: import("react").ReactNode;
|
|
418
412
|
activeEmbeddable: {
|
|
419
413
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
420
|
-
state: "
|
|
414
|
+
state: "active" | "hover";
|
|
421
415
|
} | null;
|
|
422
416
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
423
417
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -425,7 +419,7 @@ export declare const actionZoomOut: {
|
|
|
425
419
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
426
420
|
isBindingEnabled: boolean;
|
|
427
421
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
428
|
-
suggestedBindings: import("@excalidraw/element
|
|
422
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
429
423
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
430
424
|
frameRendering: {
|
|
431
425
|
enabled: boolean;
|
|
@@ -436,7 +430,6 @@ export declare const actionZoomOut: {
|
|
|
436
430
|
editingFrame: string | null;
|
|
437
431
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
438
432
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
439
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
440
433
|
activeTool: {
|
|
441
434
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
442
435
|
locked: boolean;
|
|
@@ -469,8 +462,8 @@ export declare const actionZoomOut: {
|
|
|
469
462
|
name: string | null;
|
|
470
463
|
isResizing: boolean;
|
|
471
464
|
isRotating: boolean;
|
|
472
|
-
openMenu: "
|
|
473
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
465
|
+
openMenu: "canvas" | "shape" | null;
|
|
466
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
474
467
|
openSidebar: {
|
|
475
468
|
name: string;
|
|
476
469
|
tab?: string | undefined;
|
|
@@ -479,7 +472,7 @@ export declare const actionZoomOut: {
|
|
|
479
472
|
name: "imageExport" | "help" | "jsonExport";
|
|
480
473
|
} | {
|
|
481
474
|
name: "ttd";
|
|
482
|
-
tab: "text-to-diagram"
|
|
475
|
+
tab: "mermaid" | "text-to-diagram";
|
|
483
476
|
} | {
|
|
484
477
|
name: "commandPalette";
|
|
485
478
|
} | {
|
|
@@ -551,9 +544,8 @@ export declare const actionZoomOut: {
|
|
|
551
544
|
shown: true;
|
|
552
545
|
data: import("../charts").Spreadsheet;
|
|
553
546
|
};
|
|
554
|
-
pendingImageElementId: string | null;
|
|
555
547
|
showHyperlinkPopup: false | "editor" | "info";
|
|
556
|
-
selectedLinearElement: import("@excalidraw/element
|
|
548
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
557
549
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
558
550
|
originSnapOffset: {
|
|
559
551
|
x: number;
|
|
@@ -563,16 +555,15 @@ export declare const actionZoomOut: {
|
|
|
563
555
|
followedBy: Set<import("../types").SocketId>;
|
|
564
556
|
isCropping: boolean;
|
|
565
557
|
croppingElementId: string | null;
|
|
566
|
-
searchMatches:
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
}[];
|
|
558
|
+
searchMatches: Readonly<{
|
|
559
|
+
focusedId: string | null;
|
|
560
|
+
matches: readonly import("../types").SearchMatch[];
|
|
561
|
+
}> | null;
|
|
562
|
+
activeLockedId: string | null;
|
|
563
|
+
lockedMultiSelections: {
|
|
564
|
+
[groupId: string]: true;
|
|
565
|
+
};
|
|
566
|
+
stylesPanelMode: "compact" | "full";
|
|
576
567
|
};
|
|
577
568
|
captureUpdate: "EVENTUALLY";
|
|
578
569
|
};
|
|
@@ -607,7 +598,7 @@ export declare const actionResetZoom: {
|
|
|
607
598
|
errorMessage: import("react").ReactNode;
|
|
608
599
|
activeEmbeddable: {
|
|
609
600
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
610
|
-
state: "
|
|
601
|
+
state: "active" | "hover";
|
|
611
602
|
} | null;
|
|
612
603
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
613
604
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -615,7 +606,7 @@ export declare const actionResetZoom: {
|
|
|
615
606
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
616
607
|
isBindingEnabled: boolean;
|
|
617
608
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
618
|
-
suggestedBindings: import("@excalidraw/element
|
|
609
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
619
610
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
620
611
|
frameRendering: {
|
|
621
612
|
enabled: boolean;
|
|
@@ -626,7 +617,6 @@ export declare const actionResetZoom: {
|
|
|
626
617
|
editingFrame: string | null;
|
|
627
618
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
628
619
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
629
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
630
620
|
activeTool: {
|
|
631
621
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
632
622
|
locked: boolean;
|
|
@@ -659,8 +649,8 @@ export declare const actionResetZoom: {
|
|
|
659
649
|
name: string | null;
|
|
660
650
|
isResizing: boolean;
|
|
661
651
|
isRotating: boolean;
|
|
662
|
-
openMenu: "
|
|
663
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
652
|
+
openMenu: "canvas" | "shape" | null;
|
|
653
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
664
654
|
openSidebar: {
|
|
665
655
|
name: string;
|
|
666
656
|
tab?: string | undefined;
|
|
@@ -669,7 +659,7 @@ export declare const actionResetZoom: {
|
|
|
669
659
|
name: "imageExport" | "help" | "jsonExport";
|
|
670
660
|
} | {
|
|
671
661
|
name: "ttd";
|
|
672
|
-
tab: "text-to-diagram"
|
|
662
|
+
tab: "mermaid" | "text-to-diagram";
|
|
673
663
|
} | {
|
|
674
664
|
name: "commandPalette";
|
|
675
665
|
} | {
|
|
@@ -741,9 +731,8 @@ export declare const actionResetZoom: {
|
|
|
741
731
|
shown: true;
|
|
742
732
|
data: import("../charts").Spreadsheet;
|
|
743
733
|
};
|
|
744
|
-
pendingImageElementId: string | null;
|
|
745
734
|
showHyperlinkPopup: false | "editor" | "info";
|
|
746
|
-
selectedLinearElement: import("@excalidraw/element
|
|
735
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
747
736
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
748
737
|
originSnapOffset: {
|
|
749
738
|
x: number;
|
|
@@ -753,16 +742,15 @@ export declare const actionResetZoom: {
|
|
|
753
742
|
followedBy: Set<import("../types").SocketId>;
|
|
754
743
|
isCropping: boolean;
|
|
755
744
|
croppingElementId: string | null;
|
|
756
|
-
searchMatches:
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
}[];
|
|
745
|
+
searchMatches: Readonly<{
|
|
746
|
+
focusedId: string | null;
|
|
747
|
+
matches: readonly import("../types").SearchMatch[];
|
|
748
|
+
}> | null;
|
|
749
|
+
activeLockedId: string | null;
|
|
750
|
+
lockedMultiSelections: {
|
|
751
|
+
[groupId: string]: true;
|
|
752
|
+
};
|
|
753
|
+
stylesPanelMode: "compact" | "full";
|
|
766
754
|
};
|
|
767
755
|
captureUpdate: "EVENTUALLY";
|
|
768
756
|
};
|
|
@@ -803,7 +791,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
803
791
|
errorMessage: import("react").ReactNode;
|
|
804
792
|
activeEmbeddable: {
|
|
805
793
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
806
|
-
state: "
|
|
794
|
+
state: "active" | "hover";
|
|
807
795
|
} | null;
|
|
808
796
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
809
797
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -811,7 +799,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
811
799
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
812
800
|
isBindingEnabled: boolean;
|
|
813
801
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
814
|
-
suggestedBindings: import("@excalidraw/element
|
|
802
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
815
803
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
816
804
|
frameRendering: {
|
|
817
805
|
enabled: boolean;
|
|
@@ -822,7 +810,6 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
822
810
|
editingFrame: string | null;
|
|
823
811
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
824
812
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
825
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
826
813
|
activeTool: {
|
|
827
814
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
828
815
|
locked: boolean;
|
|
@@ -855,8 +842,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
855
842
|
name: string | null;
|
|
856
843
|
isResizing: boolean;
|
|
857
844
|
isRotating: boolean;
|
|
858
|
-
openMenu: "
|
|
859
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
845
|
+
openMenu: "canvas" | "shape" | null;
|
|
846
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
860
847
|
openSidebar: {
|
|
861
848
|
name: string;
|
|
862
849
|
tab?: string | undefined;
|
|
@@ -865,7 +852,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
865
852
|
name: "imageExport" | "help" | "jsonExport";
|
|
866
853
|
} | {
|
|
867
854
|
name: "ttd";
|
|
868
|
-
tab: "text-to-diagram"
|
|
855
|
+
tab: "mermaid" | "text-to-diagram";
|
|
869
856
|
} | {
|
|
870
857
|
name: "commandPalette";
|
|
871
858
|
} | {
|
|
@@ -937,9 +924,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
937
924
|
shown: true;
|
|
938
925
|
data: import("../charts").Spreadsheet;
|
|
939
926
|
};
|
|
940
|
-
pendingImageElementId: string | null;
|
|
941
927
|
showHyperlinkPopup: false | "editor" | "info";
|
|
942
|
-
selectedLinearElement: import("@excalidraw/element
|
|
928
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
943
929
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
944
930
|
originSnapOffset: {
|
|
945
931
|
x: number;
|
|
@@ -950,16 +936,15 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
950
936
|
followedBy: Set<import("../types").SocketId>;
|
|
951
937
|
isCropping: boolean;
|
|
952
938
|
croppingElementId: string | null;
|
|
953
|
-
searchMatches:
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
}[];
|
|
939
|
+
searchMatches: Readonly<{
|
|
940
|
+
focusedId: string | null;
|
|
941
|
+
matches: readonly import("../types").SearchMatch[];
|
|
942
|
+
}> | null;
|
|
943
|
+
activeLockedId: string | null;
|
|
944
|
+
lockedMultiSelections: {
|
|
945
|
+
[groupId: string]: true;
|
|
946
|
+
};
|
|
947
|
+
stylesPanelMode: "compact" | "full";
|
|
963
948
|
};
|
|
964
949
|
captureUpdate: "EVENTUALLY";
|
|
965
950
|
};
|
|
@@ -995,7 +980,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
995
980
|
errorMessage: import("react").ReactNode;
|
|
996
981
|
activeEmbeddable: {
|
|
997
982
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
998
|
-
state: "
|
|
983
|
+
state: "active" | "hover";
|
|
999
984
|
} | null;
|
|
1000
985
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1001
986
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1003,7 +988,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1003
988
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1004
989
|
isBindingEnabled: boolean;
|
|
1005
990
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1006
|
-
suggestedBindings: import("@excalidraw/element
|
|
991
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1007
992
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1008
993
|
frameRendering: {
|
|
1009
994
|
enabled: boolean;
|
|
@@ -1014,7 +999,6 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1014
999
|
editingFrame: string | null;
|
|
1015
1000
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1016
1001
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1017
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1018
1002
|
activeTool: {
|
|
1019
1003
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1020
1004
|
locked: boolean;
|
|
@@ -1047,8 +1031,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1047
1031
|
name: string | null;
|
|
1048
1032
|
isResizing: boolean;
|
|
1049
1033
|
isRotating: boolean;
|
|
1050
|
-
openMenu: "
|
|
1051
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1034
|
+
openMenu: "canvas" | "shape" | null;
|
|
1035
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1052
1036
|
openSidebar: {
|
|
1053
1037
|
name: string;
|
|
1054
1038
|
tab?: string | undefined;
|
|
@@ -1057,7 +1041,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1057
1041
|
name: "imageExport" | "help" | "jsonExport";
|
|
1058
1042
|
} | {
|
|
1059
1043
|
name: "ttd";
|
|
1060
|
-
tab: "text-to-diagram"
|
|
1044
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1061
1045
|
} | {
|
|
1062
1046
|
name: "commandPalette";
|
|
1063
1047
|
} | {
|
|
@@ -1129,9 +1113,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1129
1113
|
shown: true;
|
|
1130
1114
|
data: import("../charts").Spreadsheet;
|
|
1131
1115
|
};
|
|
1132
|
-
pendingImageElementId: string | null;
|
|
1133
1116
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1134
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1117
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1135
1118
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1136
1119
|
originSnapOffset: {
|
|
1137
1120
|
x: number;
|
|
@@ -1142,16 +1125,15 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1142
1125
|
followedBy: Set<import("../types").SocketId>;
|
|
1143
1126
|
isCropping: boolean;
|
|
1144
1127
|
croppingElementId: string | null;
|
|
1145
|
-
searchMatches:
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
}[];
|
|
1128
|
+
searchMatches: Readonly<{
|
|
1129
|
+
focusedId: string | null;
|
|
1130
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1131
|
+
}> | null;
|
|
1132
|
+
activeLockedId: string | null;
|
|
1133
|
+
lockedMultiSelections: {
|
|
1134
|
+
[groupId: string]: true;
|
|
1135
|
+
};
|
|
1136
|
+
stylesPanelMode: "compact" | "full";
|
|
1155
1137
|
};
|
|
1156
1138
|
captureUpdate: "EVENTUALLY";
|
|
1157
1139
|
};
|
|
@@ -1179,7 +1161,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1179
1161
|
errorMessage: import("react").ReactNode;
|
|
1180
1162
|
activeEmbeddable: {
|
|
1181
1163
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1182
|
-
state: "
|
|
1164
|
+
state: "active" | "hover";
|
|
1183
1165
|
} | null;
|
|
1184
1166
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1185
1167
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1187,7 +1169,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1187
1169
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1188
1170
|
isBindingEnabled: boolean;
|
|
1189
1171
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1190
|
-
suggestedBindings: import("@excalidraw/element
|
|
1172
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1191
1173
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1192
1174
|
frameRendering: {
|
|
1193
1175
|
enabled: boolean;
|
|
@@ -1198,7 +1180,6 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1198
1180
|
editingFrame: string | null;
|
|
1199
1181
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1200
1182
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1201
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1202
1183
|
activeTool: {
|
|
1203
1184
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1204
1185
|
locked: boolean;
|
|
@@ -1231,8 +1212,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1231
1212
|
name: string | null;
|
|
1232
1213
|
isResizing: boolean;
|
|
1233
1214
|
isRotating: boolean;
|
|
1234
|
-
openMenu: "
|
|
1235
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1215
|
+
openMenu: "canvas" | "shape" | null;
|
|
1216
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1236
1217
|
openSidebar: {
|
|
1237
1218
|
name: string;
|
|
1238
1219
|
tab?: string | undefined;
|
|
@@ -1241,7 +1222,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1241
1222
|
name: "imageExport" | "help" | "jsonExport";
|
|
1242
1223
|
} | {
|
|
1243
1224
|
name: "ttd";
|
|
1244
|
-
tab: "text-to-diagram"
|
|
1225
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1245
1226
|
} | {
|
|
1246
1227
|
name: "commandPalette";
|
|
1247
1228
|
} | {
|
|
@@ -1313,9 +1294,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1313
1294
|
shown: true;
|
|
1314
1295
|
data: import("../charts").Spreadsheet;
|
|
1315
1296
|
};
|
|
1316
|
-
pendingImageElementId: string | null;
|
|
1317
1297
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1318
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1298
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1319
1299
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1320
1300
|
originSnapOffset: {
|
|
1321
1301
|
x: number;
|
|
@@ -1326,16 +1306,15 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1326
1306
|
followedBy: Set<import("../types").SocketId>;
|
|
1327
1307
|
isCropping: boolean;
|
|
1328
1308
|
croppingElementId: string | null;
|
|
1329
|
-
searchMatches:
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
}[];
|
|
1309
|
+
searchMatches: Readonly<{
|
|
1310
|
+
focusedId: string | null;
|
|
1311
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1312
|
+
}> | null;
|
|
1313
|
+
activeLockedId: string | null;
|
|
1314
|
+
lockedMultiSelections: {
|
|
1315
|
+
[groupId: string]: true;
|
|
1316
|
+
};
|
|
1317
|
+
stylesPanelMode: "compact" | "full";
|
|
1339
1318
|
};
|
|
1340
1319
|
captureUpdate: "EVENTUALLY";
|
|
1341
1320
|
};
|
|
@@ -1367,7 +1346,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1367
1346
|
errorMessage: import("react").ReactNode;
|
|
1368
1347
|
activeEmbeddable: {
|
|
1369
1348
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1370
|
-
state: "
|
|
1349
|
+
state: "active" | "hover";
|
|
1371
1350
|
} | null;
|
|
1372
1351
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1373
1352
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1375,7 +1354,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1375
1354
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1376
1355
|
isBindingEnabled: boolean;
|
|
1377
1356
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1378
|
-
suggestedBindings: import("@excalidraw/element
|
|
1357
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1379
1358
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1380
1359
|
frameRendering: {
|
|
1381
1360
|
enabled: boolean;
|
|
@@ -1386,7 +1365,6 @@ export declare const actionZoomToFitSelection: {
|
|
|
1386
1365
|
editingFrame: string | null;
|
|
1387
1366
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1388
1367
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1389
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1390
1368
|
activeTool: {
|
|
1391
1369
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1392
1370
|
locked: boolean;
|
|
@@ -1419,8 +1397,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
1419
1397
|
name: string | null;
|
|
1420
1398
|
isResizing: boolean;
|
|
1421
1399
|
isRotating: boolean;
|
|
1422
|
-
openMenu: "
|
|
1423
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1400
|
+
openMenu: "canvas" | "shape" | null;
|
|
1401
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1424
1402
|
openSidebar: {
|
|
1425
1403
|
name: string;
|
|
1426
1404
|
tab?: string | undefined;
|
|
@@ -1429,7 +1407,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1429
1407
|
name: "imageExport" | "help" | "jsonExport";
|
|
1430
1408
|
} | {
|
|
1431
1409
|
name: "ttd";
|
|
1432
|
-
tab: "text-to-diagram"
|
|
1410
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1433
1411
|
} | {
|
|
1434
1412
|
name: "commandPalette";
|
|
1435
1413
|
} | {
|
|
@@ -1501,9 +1479,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
1501
1479
|
shown: true;
|
|
1502
1480
|
data: import("../charts").Spreadsheet;
|
|
1503
1481
|
};
|
|
1504
|
-
pendingImageElementId: string | null;
|
|
1505
1482
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1506
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1483
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1507
1484
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1508
1485
|
originSnapOffset: {
|
|
1509
1486
|
x: number;
|
|
@@ -1514,16 +1491,15 @@ export declare const actionZoomToFitSelection: {
|
|
|
1514
1491
|
followedBy: Set<import("../types").SocketId>;
|
|
1515
1492
|
isCropping: boolean;
|
|
1516
1493
|
croppingElementId: string | null;
|
|
1517
|
-
searchMatches:
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
}[];
|
|
1494
|
+
searchMatches: Readonly<{
|
|
1495
|
+
focusedId: string | null;
|
|
1496
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1497
|
+
}> | null;
|
|
1498
|
+
activeLockedId: string | null;
|
|
1499
|
+
lockedMultiSelections: {
|
|
1500
|
+
[groupId: string]: true;
|
|
1501
|
+
};
|
|
1502
|
+
stylesPanelMode: "compact" | "full";
|
|
1527
1503
|
};
|
|
1528
1504
|
captureUpdate: "EVENTUALLY";
|
|
1529
1505
|
};
|
|
@@ -1556,7 +1532,7 @@ export declare const actionZoomToFit: {
|
|
|
1556
1532
|
errorMessage: import("react").ReactNode;
|
|
1557
1533
|
activeEmbeddable: {
|
|
1558
1534
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1559
|
-
state: "
|
|
1535
|
+
state: "active" | "hover";
|
|
1560
1536
|
} | null;
|
|
1561
1537
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1562
1538
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1564,7 +1540,7 @@ export declare const actionZoomToFit: {
|
|
|
1564
1540
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1565
1541
|
isBindingEnabled: boolean;
|
|
1566
1542
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1567
|
-
suggestedBindings: import("@excalidraw/element
|
|
1543
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1568
1544
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1569
1545
|
frameRendering: {
|
|
1570
1546
|
enabled: boolean;
|
|
@@ -1575,7 +1551,6 @@ export declare const actionZoomToFit: {
|
|
|
1575
1551
|
editingFrame: string | null;
|
|
1576
1552
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1577
1553
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1578
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1579
1554
|
activeTool: {
|
|
1580
1555
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1581
1556
|
locked: boolean;
|
|
@@ -1608,8 +1583,8 @@ export declare const actionZoomToFit: {
|
|
|
1608
1583
|
name: string | null;
|
|
1609
1584
|
isResizing: boolean;
|
|
1610
1585
|
isRotating: boolean;
|
|
1611
|
-
openMenu: "
|
|
1612
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1586
|
+
openMenu: "canvas" | "shape" | null;
|
|
1587
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1613
1588
|
openSidebar: {
|
|
1614
1589
|
name: string;
|
|
1615
1590
|
tab?: string | undefined;
|
|
@@ -1618,7 +1593,7 @@ export declare const actionZoomToFit: {
|
|
|
1618
1593
|
name: "imageExport" | "help" | "jsonExport";
|
|
1619
1594
|
} | {
|
|
1620
1595
|
name: "ttd";
|
|
1621
|
-
tab: "text-to-diagram"
|
|
1596
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1622
1597
|
} | {
|
|
1623
1598
|
name: "commandPalette";
|
|
1624
1599
|
} | {
|
|
@@ -1690,9 +1665,8 @@ export declare const actionZoomToFit: {
|
|
|
1690
1665
|
shown: true;
|
|
1691
1666
|
data: import("../charts").Spreadsheet;
|
|
1692
1667
|
};
|
|
1693
|
-
pendingImageElementId: string | null;
|
|
1694
1668
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1695
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1669
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1696
1670
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1697
1671
|
originSnapOffset: {
|
|
1698
1672
|
x: number;
|
|
@@ -1703,16 +1677,15 @@ export declare const actionZoomToFit: {
|
|
|
1703
1677
|
followedBy: Set<import("../types").SocketId>;
|
|
1704
1678
|
isCropping: boolean;
|
|
1705
1679
|
croppingElementId: string | null;
|
|
1706
|
-
searchMatches:
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
}[];
|
|
1680
|
+
searchMatches: Readonly<{
|
|
1681
|
+
focusedId: string | null;
|
|
1682
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1683
|
+
}> | null;
|
|
1684
|
+
activeLockedId: string | null;
|
|
1685
|
+
lockedMultiSelections: {
|
|
1686
|
+
[groupId: string]: true;
|
|
1687
|
+
};
|
|
1688
|
+
stylesPanelMode: "compact" | "full";
|
|
1716
1689
|
};
|
|
1717
1690
|
captureUpdate: "EVENTUALLY";
|
|
1718
1691
|
};
|
|
@@ -1742,7 +1715,7 @@ export declare const actionToggleTheme: {
|
|
|
1742
1715
|
errorMessage: import("react").ReactNode;
|
|
1743
1716
|
activeEmbeddable: {
|
|
1744
1717
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1745
|
-
state: "
|
|
1718
|
+
state: "active" | "hover";
|
|
1746
1719
|
} | null;
|
|
1747
1720
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1748
1721
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1750,7 +1723,7 @@ export declare const actionToggleTheme: {
|
|
|
1750
1723
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1751
1724
|
isBindingEnabled: boolean;
|
|
1752
1725
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1753
|
-
suggestedBindings: import("@excalidraw/element
|
|
1726
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1754
1727
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1755
1728
|
frameRendering: {
|
|
1756
1729
|
enabled: boolean;
|
|
@@ -1761,7 +1734,6 @@ export declare const actionToggleTheme: {
|
|
|
1761
1734
|
editingFrame: string | null;
|
|
1762
1735
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1763
1736
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1764
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1765
1737
|
activeTool: {
|
|
1766
1738
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1767
1739
|
locked: boolean;
|
|
@@ -1799,8 +1771,8 @@ export declare const actionToggleTheme: {
|
|
|
1799
1771
|
zoom: Readonly<{
|
|
1800
1772
|
value: import("../types").NormalizedZoomValue;
|
|
1801
1773
|
}>;
|
|
1802
|
-
openMenu: "
|
|
1803
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1774
|
+
openMenu: "canvas" | "shape" | null;
|
|
1775
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1804
1776
|
openSidebar: {
|
|
1805
1777
|
name: string;
|
|
1806
1778
|
tab?: string | undefined;
|
|
@@ -1809,7 +1781,7 @@ export declare const actionToggleTheme: {
|
|
|
1809
1781
|
name: "imageExport" | "help" | "jsonExport";
|
|
1810
1782
|
} | {
|
|
1811
1783
|
name: "ttd";
|
|
1812
|
-
tab: "text-to-diagram"
|
|
1784
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1813
1785
|
} | {
|
|
1814
1786
|
name: "commandPalette";
|
|
1815
1787
|
} | {
|
|
@@ -1880,9 +1852,8 @@ export declare const actionToggleTheme: {
|
|
|
1880
1852
|
shown: true;
|
|
1881
1853
|
data: import("../charts").Spreadsheet;
|
|
1882
1854
|
};
|
|
1883
|
-
pendingImageElementId: string | null;
|
|
1884
1855
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1885
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1856
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1886
1857
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1887
1858
|
originSnapOffset: {
|
|
1888
1859
|
x: number;
|
|
@@ -1893,16 +1864,15 @@ export declare const actionToggleTheme: {
|
|
|
1893
1864
|
followedBy: Set<import("../types").SocketId>;
|
|
1894
1865
|
isCropping: boolean;
|
|
1895
1866
|
croppingElementId: string | null;
|
|
1896
|
-
searchMatches:
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
}[];
|
|
1867
|
+
searchMatches: Readonly<{
|
|
1868
|
+
focusedId: string | null;
|
|
1869
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1870
|
+
}> | null;
|
|
1871
|
+
activeLockedId: string | null;
|
|
1872
|
+
lockedMultiSelections: {
|
|
1873
|
+
[groupId: string]: true;
|
|
1874
|
+
};
|
|
1875
|
+
stylesPanelMode: "compact" | "full";
|
|
1906
1876
|
};
|
|
1907
1877
|
captureUpdate: "EVENTUALLY";
|
|
1908
1878
|
};
|
|
@@ -1917,7 +1887,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1917
1887
|
trackEvent: {
|
|
1918
1888
|
category: "toolbar";
|
|
1919
1889
|
};
|
|
1920
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState
|
|
1890
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
|
|
1921
1891
|
appState: {
|
|
1922
1892
|
selectedElementIds: {};
|
|
1923
1893
|
selectedGroupIds: {};
|
|
@@ -1941,7 +1911,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1941
1911
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1942
1912
|
isBindingEnabled: boolean;
|
|
1943
1913
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1944
|
-
suggestedBindings: import("@excalidraw/element
|
|
1914
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1945
1915
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1946
1916
|
frameRendering: {
|
|
1947
1917
|
enabled: boolean;
|
|
@@ -1952,7 +1922,6 @@ export declare const actionToggleEraserTool: {
|
|
|
1952
1922
|
editingFrame: string | null;
|
|
1953
1923
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1954
1924
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1955
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1956
1925
|
penMode: boolean;
|
|
1957
1926
|
penDetected: boolean;
|
|
1958
1927
|
exportBackground: boolean;
|
|
@@ -1985,8 +1954,8 @@ export declare const actionToggleEraserTool: {
|
|
|
1985
1954
|
zoom: Readonly<{
|
|
1986
1955
|
value: import("../types").NormalizedZoomValue;
|
|
1987
1956
|
}>;
|
|
1988
|
-
openMenu: "
|
|
1989
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1957
|
+
openMenu: "canvas" | "shape" | null;
|
|
1958
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1990
1959
|
openSidebar: {
|
|
1991
1960
|
name: string;
|
|
1992
1961
|
tab?: string | undefined;
|
|
@@ -1995,7 +1964,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1995
1964
|
name: "imageExport" | "help" | "jsonExport";
|
|
1996
1965
|
} | {
|
|
1997
1966
|
name: "ttd";
|
|
1998
|
-
tab: "text-to-diagram"
|
|
1967
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1999
1968
|
} | {
|
|
2000
1969
|
name: "commandPalette";
|
|
2001
1970
|
} | {
|
|
@@ -2061,9 +2030,8 @@ export declare const actionToggleEraserTool: {
|
|
|
2061
2030
|
shown: true;
|
|
2062
2031
|
data: import("../charts").Spreadsheet;
|
|
2063
2032
|
};
|
|
2064
|
-
pendingImageElementId: string | null;
|
|
2065
2033
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2066
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2034
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2067
2035
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2068
2036
|
originSnapOffset: {
|
|
2069
2037
|
x: number;
|
|
@@ -2074,16 +2042,15 @@ export declare const actionToggleEraserTool: {
|
|
|
2074
2042
|
followedBy: Set<import("../types").SocketId>;
|
|
2075
2043
|
isCropping: boolean;
|
|
2076
2044
|
croppingElementId: string | null;
|
|
2077
|
-
searchMatches:
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
}[];
|
|
2045
|
+
searchMatches: Readonly<{
|
|
2046
|
+
focusedId: string | null;
|
|
2047
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2048
|
+
}> | null;
|
|
2049
|
+
activeLockedId: string | null;
|
|
2050
|
+
lockedMultiSelections: {
|
|
2051
|
+
[groupId: string]: true;
|
|
2052
|
+
};
|
|
2053
|
+
stylesPanelMode: "compact" | "full";
|
|
2087
2054
|
};
|
|
2088
2055
|
captureUpdate: "IMMEDIATELY";
|
|
2089
2056
|
};
|
|
@@ -2098,6 +2065,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2098
2065
|
trackEvent: {
|
|
2099
2066
|
category: "toolbar";
|
|
2100
2067
|
};
|
|
2068
|
+
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
2101
2069
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
|
|
2102
2070
|
appState: {
|
|
2103
2071
|
selectedElementIds: {};
|
|
@@ -2122,7 +2090,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2122
2090
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2123
2091
|
isBindingEnabled: boolean;
|
|
2124
2092
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2125
|
-
suggestedBindings: import("@excalidraw/element
|
|
2093
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2126
2094
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2127
2095
|
frameRendering: {
|
|
2128
2096
|
enabled: boolean;
|
|
@@ -2133,7 +2101,6 @@ export declare const actionToggleLassoTool: {
|
|
|
2133
2101
|
editingFrame: string | null;
|
|
2134
2102
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2135
2103
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2136
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
2137
2104
|
penMode: boolean;
|
|
2138
2105
|
penDetected: boolean;
|
|
2139
2106
|
exportBackground: boolean;
|
|
@@ -2166,8 +2133,8 @@ export declare const actionToggleLassoTool: {
|
|
|
2166
2133
|
zoom: Readonly<{
|
|
2167
2134
|
value: import("../types").NormalizedZoomValue;
|
|
2168
2135
|
}>;
|
|
2169
|
-
openMenu: "
|
|
2170
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2136
|
+
openMenu: "canvas" | "shape" | null;
|
|
2137
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2171
2138
|
openSidebar: {
|
|
2172
2139
|
name: string;
|
|
2173
2140
|
tab?: string | undefined;
|
|
@@ -2176,7 +2143,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2176
2143
|
name: "imageExport" | "help" | "jsonExport";
|
|
2177
2144
|
} | {
|
|
2178
2145
|
name: "ttd";
|
|
2179
|
-
tab: "text-to-diagram"
|
|
2146
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2180
2147
|
} | {
|
|
2181
2148
|
name: "commandPalette";
|
|
2182
2149
|
} | {
|
|
@@ -2242,9 +2209,8 @@ export declare const actionToggleLassoTool: {
|
|
|
2242
2209
|
shown: true;
|
|
2243
2210
|
data: import("../charts").Spreadsheet;
|
|
2244
2211
|
};
|
|
2245
|
-
pendingImageElementId: string | null;
|
|
2246
2212
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2247
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2213
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2248
2214
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2249
2215
|
originSnapOffset: {
|
|
2250
2216
|
x: number;
|
|
@@ -2255,16 +2221,15 @@ export declare const actionToggleLassoTool: {
|
|
|
2255
2221
|
followedBy: Set<import("../types").SocketId>;
|
|
2256
2222
|
isCropping: boolean;
|
|
2257
2223
|
croppingElementId: string | null;
|
|
2258
|
-
searchMatches:
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
}[];
|
|
2224
|
+
searchMatches: Readonly<{
|
|
2225
|
+
focusedId: string | null;
|
|
2226
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2227
|
+
}> | null;
|
|
2228
|
+
activeLockedId: string | null;
|
|
2229
|
+
lockedMultiSelections: {
|
|
2230
|
+
[groupId: string]: true;
|
|
2231
|
+
};
|
|
2232
|
+
stylesPanelMode: "compact" | "full";
|
|
2268
2233
|
};
|
|
2269
2234
|
captureUpdate: "NEVER";
|
|
2270
2235
|
};
|
|
@@ -2303,7 +2268,7 @@ export declare const actionToggleHandTool: {
|
|
|
2303
2268
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2304
2269
|
isBindingEnabled: boolean;
|
|
2305
2270
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2306
|
-
suggestedBindings: import("@excalidraw/element
|
|
2271
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2307
2272
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2308
2273
|
frameRendering: {
|
|
2309
2274
|
enabled: boolean;
|
|
@@ -2314,7 +2279,6 @@ export declare const actionToggleHandTool: {
|
|
|
2314
2279
|
editingFrame: string | null;
|
|
2315
2280
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2316
2281
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2317
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
2318
2282
|
penMode: boolean;
|
|
2319
2283
|
penDetected: boolean;
|
|
2320
2284
|
exportBackground: boolean;
|
|
@@ -2347,8 +2311,8 @@ export declare const actionToggleHandTool: {
|
|
|
2347
2311
|
zoom: Readonly<{
|
|
2348
2312
|
value: import("../types").NormalizedZoomValue;
|
|
2349
2313
|
}>;
|
|
2350
|
-
openMenu: "
|
|
2351
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2314
|
+
openMenu: "canvas" | "shape" | null;
|
|
2315
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2352
2316
|
openSidebar: {
|
|
2353
2317
|
name: string;
|
|
2354
2318
|
tab?: string | undefined;
|
|
@@ -2357,7 +2321,7 @@ export declare const actionToggleHandTool: {
|
|
|
2357
2321
|
name: "imageExport" | "help" | "jsonExport";
|
|
2358
2322
|
} | {
|
|
2359
2323
|
name: "ttd";
|
|
2360
|
-
tab: "text-to-diagram"
|
|
2324
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2361
2325
|
} | {
|
|
2362
2326
|
name: "commandPalette";
|
|
2363
2327
|
} | {
|
|
@@ -2423,9 +2387,8 @@ export declare const actionToggleHandTool: {
|
|
|
2423
2387
|
shown: true;
|
|
2424
2388
|
data: import("../charts").Spreadsheet;
|
|
2425
2389
|
};
|
|
2426
|
-
pendingImageElementId: string | null;
|
|
2427
2390
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2428
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2391
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2429
2392
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2430
2393
|
originSnapOffset: {
|
|
2431
2394
|
x: number;
|
|
@@ -2436,16 +2399,15 @@ export declare const actionToggleHandTool: {
|
|
|
2436
2399
|
followedBy: Set<import("../types").SocketId>;
|
|
2437
2400
|
isCropping: boolean;
|
|
2438
2401
|
croppingElementId: string | null;
|
|
2439
|
-
searchMatches:
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
}[];
|
|
2402
|
+
searchMatches: Readonly<{
|
|
2403
|
+
focusedId: string | null;
|
|
2404
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2405
|
+
}> | null;
|
|
2406
|
+
activeLockedId: string | null;
|
|
2407
|
+
lockedMultiSelections: {
|
|
2408
|
+
[groupId: string]: true;
|
|
2409
|
+
};
|
|
2410
|
+
stylesPanelMode: "compact" | "full";
|
|
2449
2411
|
};
|
|
2450
2412
|
captureUpdate: "IMMEDIATELY";
|
|
2451
2413
|
};
|