@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
|
@@ -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;
|
|
@@ -152,7 +137,12 @@ export declare const actionClearCanvas: {
|
|
|
152
137
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
153
138
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
154
139
|
editingFrame: string | null;
|
|
140
|
+
preferredSelectionTool: {
|
|
141
|
+
type: "selection" | "lasso";
|
|
142
|
+
initialized: boolean;
|
|
143
|
+
};
|
|
155
144
|
exportWithDarkMode: boolean;
|
|
145
|
+
exportScale: number;
|
|
156
146
|
currentItemStrokeColor: string;
|
|
157
147
|
currentItemBackgroundColor: string;
|
|
158
148
|
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
@@ -165,22 +155,28 @@ export declare const actionClearCanvas: {
|
|
|
165
155
|
currentItemTextAlign: string;
|
|
166
156
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
167
157
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
158
|
+
currentHoveredFontFamily: number | null;
|
|
168
159
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
169
160
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
170
161
|
cursorButton: "up" | "down";
|
|
171
162
|
scrolledOutside: boolean;
|
|
172
163
|
isResizing: boolean;
|
|
173
|
-
openMenu: "
|
|
174
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
164
|
+
openMenu: "canvas" | null;
|
|
165
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
175
166
|
openSidebar: {
|
|
176
167
|
name: string;
|
|
177
168
|
tab?: string | undefined;
|
|
178
169
|
} | null;
|
|
179
170
|
defaultSidebarDockedPreference: boolean;
|
|
180
171
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
172
|
+
hoveredElementIds: Readonly<{
|
|
173
|
+
[id: string]: true;
|
|
174
|
+
}>;
|
|
181
175
|
previousSelectedElementIds: {
|
|
182
176
|
[id: string]: true;
|
|
183
177
|
};
|
|
178
|
+
selectedElementsAreBeingDragged: boolean;
|
|
179
|
+
shouldCacheIgnoreZoom: boolean;
|
|
184
180
|
toast: {
|
|
185
181
|
message: string;
|
|
186
182
|
closable?: boolean | undefined;
|
|
@@ -193,8 +189,13 @@ export declare const actionClearCanvas: {
|
|
|
193
189
|
x: number;
|
|
194
190
|
y: number;
|
|
195
191
|
} | null;
|
|
192
|
+
objectsSnapModeEnabled: boolean;
|
|
196
193
|
userToFollow: import("../types").UserToFollow | null;
|
|
197
194
|
followedBy: Set<import("../types").SocketId>;
|
|
195
|
+
lockedMultiSelections: {
|
|
196
|
+
[groupId: string]: true;
|
|
197
|
+
};
|
|
198
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
198
199
|
};
|
|
199
200
|
captureUpdate: "IMMEDIATELY";
|
|
200
201
|
};
|
|
@@ -227,7 +228,7 @@ export declare const actionZoomIn: {
|
|
|
227
228
|
errorMessage: import("react").ReactNode;
|
|
228
229
|
activeEmbeddable: {
|
|
229
230
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
230
|
-
state: "
|
|
231
|
+
state: "active" | "hover";
|
|
231
232
|
} | null;
|
|
232
233
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
233
234
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -235,7 +236,7 @@ export declare const actionZoomIn: {
|
|
|
235
236
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
236
237
|
isBindingEnabled: boolean;
|
|
237
238
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
238
|
-
suggestedBindings: import("@excalidraw/element
|
|
239
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
239
240
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
240
241
|
frameRendering: {
|
|
241
242
|
enabled: boolean;
|
|
@@ -246,12 +247,15 @@ export declare const actionZoomIn: {
|
|
|
246
247
|
editingFrame: string | null;
|
|
247
248
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
248
249
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
249
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
250
250
|
activeTool: {
|
|
251
251
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
252
252
|
locked: boolean;
|
|
253
253
|
fromSelection: boolean;
|
|
254
254
|
} & import("../types").ActiveTool;
|
|
255
|
+
preferredSelectionTool: {
|
|
256
|
+
type: "selection" | "lasso";
|
|
257
|
+
initialized: boolean;
|
|
258
|
+
};
|
|
255
259
|
penMode: boolean;
|
|
256
260
|
penDetected: boolean;
|
|
257
261
|
exportBackground: boolean;
|
|
@@ -279,8 +283,8 @@ export declare const actionZoomIn: {
|
|
|
279
283
|
name: string | null;
|
|
280
284
|
isResizing: boolean;
|
|
281
285
|
isRotating: boolean;
|
|
282
|
-
openMenu: "
|
|
283
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
286
|
+
openMenu: "canvas" | null;
|
|
287
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
284
288
|
openSidebar: {
|
|
285
289
|
name: string;
|
|
286
290
|
tab?: string | undefined;
|
|
@@ -289,7 +293,7 @@ export declare const actionZoomIn: {
|
|
|
289
293
|
name: "imageExport" | "help" | "jsonExport";
|
|
290
294
|
} | {
|
|
291
295
|
name: "ttd";
|
|
292
|
-
tab: "text-to-diagram"
|
|
296
|
+
tab: "mermaid" | "text-to-diagram";
|
|
293
297
|
} | {
|
|
294
298
|
name: "commandPalette";
|
|
295
299
|
} | {
|
|
@@ -361,9 +365,8 @@ export declare const actionZoomIn: {
|
|
|
361
365
|
shown: true;
|
|
362
366
|
data: import("../charts").Spreadsheet;
|
|
363
367
|
};
|
|
364
|
-
pendingImageElementId: string | null;
|
|
365
368
|
showHyperlinkPopup: false | "editor" | "info";
|
|
366
|
-
selectedLinearElement: import("@excalidraw/element
|
|
369
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
367
370
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
368
371
|
originSnapOffset: {
|
|
369
372
|
x: number;
|
|
@@ -373,16 +376,15 @@ export declare const actionZoomIn: {
|
|
|
373
376
|
followedBy: Set<import("../types").SocketId>;
|
|
374
377
|
isCropping: boolean;
|
|
375
378
|
croppingElementId: string | null;
|
|
376
|
-
searchMatches:
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
}[];
|
|
379
|
+
searchMatches: Readonly<{
|
|
380
|
+
focusedId: string | null;
|
|
381
|
+
matches: readonly import("../types").SearchMatch[];
|
|
382
|
+
}> | null;
|
|
383
|
+
activeLockedId: string | null;
|
|
384
|
+
lockedMultiSelections: {
|
|
385
|
+
[groupId: string]: true;
|
|
386
|
+
};
|
|
387
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
386
388
|
};
|
|
387
389
|
captureUpdate: "EVENTUALLY";
|
|
388
390
|
};
|
|
@@ -417,7 +419,7 @@ export declare const actionZoomOut: {
|
|
|
417
419
|
errorMessage: import("react").ReactNode;
|
|
418
420
|
activeEmbeddable: {
|
|
419
421
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
420
|
-
state: "
|
|
422
|
+
state: "active" | "hover";
|
|
421
423
|
} | null;
|
|
422
424
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
423
425
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -425,7 +427,7 @@ export declare const actionZoomOut: {
|
|
|
425
427
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
426
428
|
isBindingEnabled: boolean;
|
|
427
429
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
428
|
-
suggestedBindings: import("@excalidraw/element
|
|
430
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
429
431
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
430
432
|
frameRendering: {
|
|
431
433
|
enabled: boolean;
|
|
@@ -436,12 +438,15 @@ export declare const actionZoomOut: {
|
|
|
436
438
|
editingFrame: string | null;
|
|
437
439
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
438
440
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
439
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
440
441
|
activeTool: {
|
|
441
442
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
442
443
|
locked: boolean;
|
|
443
444
|
fromSelection: boolean;
|
|
444
445
|
} & import("../types").ActiveTool;
|
|
446
|
+
preferredSelectionTool: {
|
|
447
|
+
type: "selection" | "lasso";
|
|
448
|
+
initialized: boolean;
|
|
449
|
+
};
|
|
445
450
|
penMode: boolean;
|
|
446
451
|
penDetected: boolean;
|
|
447
452
|
exportBackground: boolean;
|
|
@@ -469,8 +474,8 @@ export declare const actionZoomOut: {
|
|
|
469
474
|
name: string | null;
|
|
470
475
|
isResizing: boolean;
|
|
471
476
|
isRotating: boolean;
|
|
472
|
-
openMenu: "
|
|
473
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
477
|
+
openMenu: "canvas" | null;
|
|
478
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
474
479
|
openSidebar: {
|
|
475
480
|
name: string;
|
|
476
481
|
tab?: string | undefined;
|
|
@@ -479,7 +484,7 @@ export declare const actionZoomOut: {
|
|
|
479
484
|
name: "imageExport" | "help" | "jsonExport";
|
|
480
485
|
} | {
|
|
481
486
|
name: "ttd";
|
|
482
|
-
tab: "text-to-diagram"
|
|
487
|
+
tab: "mermaid" | "text-to-diagram";
|
|
483
488
|
} | {
|
|
484
489
|
name: "commandPalette";
|
|
485
490
|
} | {
|
|
@@ -551,9 +556,8 @@ export declare const actionZoomOut: {
|
|
|
551
556
|
shown: true;
|
|
552
557
|
data: import("../charts").Spreadsheet;
|
|
553
558
|
};
|
|
554
|
-
pendingImageElementId: string | null;
|
|
555
559
|
showHyperlinkPopup: false | "editor" | "info";
|
|
556
|
-
selectedLinearElement: import("@excalidraw/element
|
|
560
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
557
561
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
558
562
|
originSnapOffset: {
|
|
559
563
|
x: number;
|
|
@@ -563,16 +567,15 @@ export declare const actionZoomOut: {
|
|
|
563
567
|
followedBy: Set<import("../types").SocketId>;
|
|
564
568
|
isCropping: boolean;
|
|
565
569
|
croppingElementId: string | null;
|
|
566
|
-
searchMatches:
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
}[];
|
|
570
|
+
searchMatches: Readonly<{
|
|
571
|
+
focusedId: string | null;
|
|
572
|
+
matches: readonly import("../types").SearchMatch[];
|
|
573
|
+
}> | null;
|
|
574
|
+
activeLockedId: string | null;
|
|
575
|
+
lockedMultiSelections: {
|
|
576
|
+
[groupId: string]: true;
|
|
577
|
+
};
|
|
578
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
576
579
|
};
|
|
577
580
|
captureUpdate: "EVENTUALLY";
|
|
578
581
|
};
|
|
@@ -607,7 +610,7 @@ export declare const actionResetZoom: {
|
|
|
607
610
|
errorMessage: import("react").ReactNode;
|
|
608
611
|
activeEmbeddable: {
|
|
609
612
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
610
|
-
state: "
|
|
613
|
+
state: "active" | "hover";
|
|
611
614
|
} | null;
|
|
612
615
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
613
616
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -615,7 +618,7 @@ export declare const actionResetZoom: {
|
|
|
615
618
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
616
619
|
isBindingEnabled: boolean;
|
|
617
620
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
618
|
-
suggestedBindings: import("@excalidraw/element
|
|
621
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
619
622
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
620
623
|
frameRendering: {
|
|
621
624
|
enabled: boolean;
|
|
@@ -626,12 +629,15 @@ export declare const actionResetZoom: {
|
|
|
626
629
|
editingFrame: string | null;
|
|
627
630
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
628
631
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
629
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
630
632
|
activeTool: {
|
|
631
633
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
632
634
|
locked: boolean;
|
|
633
635
|
fromSelection: boolean;
|
|
634
636
|
} & import("../types").ActiveTool;
|
|
637
|
+
preferredSelectionTool: {
|
|
638
|
+
type: "selection" | "lasso";
|
|
639
|
+
initialized: boolean;
|
|
640
|
+
};
|
|
635
641
|
penMode: boolean;
|
|
636
642
|
penDetected: boolean;
|
|
637
643
|
exportBackground: boolean;
|
|
@@ -659,8 +665,8 @@ export declare const actionResetZoom: {
|
|
|
659
665
|
name: string | null;
|
|
660
666
|
isResizing: boolean;
|
|
661
667
|
isRotating: boolean;
|
|
662
|
-
openMenu: "
|
|
663
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
668
|
+
openMenu: "canvas" | null;
|
|
669
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
664
670
|
openSidebar: {
|
|
665
671
|
name: string;
|
|
666
672
|
tab?: string | undefined;
|
|
@@ -669,7 +675,7 @@ export declare const actionResetZoom: {
|
|
|
669
675
|
name: "imageExport" | "help" | "jsonExport";
|
|
670
676
|
} | {
|
|
671
677
|
name: "ttd";
|
|
672
|
-
tab: "text-to-diagram"
|
|
678
|
+
tab: "mermaid" | "text-to-diagram";
|
|
673
679
|
} | {
|
|
674
680
|
name: "commandPalette";
|
|
675
681
|
} | {
|
|
@@ -741,9 +747,8 @@ export declare const actionResetZoom: {
|
|
|
741
747
|
shown: true;
|
|
742
748
|
data: import("../charts").Spreadsheet;
|
|
743
749
|
};
|
|
744
|
-
pendingImageElementId: string | null;
|
|
745
750
|
showHyperlinkPopup: false | "editor" | "info";
|
|
746
|
-
selectedLinearElement: import("@excalidraw/element
|
|
751
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
747
752
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
748
753
|
originSnapOffset: {
|
|
749
754
|
x: number;
|
|
@@ -753,16 +758,15 @@ export declare const actionResetZoom: {
|
|
|
753
758
|
followedBy: Set<import("../types").SocketId>;
|
|
754
759
|
isCropping: boolean;
|
|
755
760
|
croppingElementId: string | null;
|
|
756
|
-
searchMatches:
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
}[];
|
|
761
|
+
searchMatches: Readonly<{
|
|
762
|
+
focusedId: string | null;
|
|
763
|
+
matches: readonly import("../types").SearchMatch[];
|
|
764
|
+
}> | null;
|
|
765
|
+
activeLockedId: string | null;
|
|
766
|
+
lockedMultiSelections: {
|
|
767
|
+
[groupId: string]: true;
|
|
768
|
+
};
|
|
769
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
766
770
|
};
|
|
767
771
|
captureUpdate: "EVENTUALLY";
|
|
768
772
|
};
|
|
@@ -803,7 +807,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
803
807
|
errorMessage: import("react").ReactNode;
|
|
804
808
|
activeEmbeddable: {
|
|
805
809
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
806
|
-
state: "
|
|
810
|
+
state: "active" | "hover";
|
|
807
811
|
} | null;
|
|
808
812
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
809
813
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -811,7 +815,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
811
815
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
812
816
|
isBindingEnabled: boolean;
|
|
813
817
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
814
|
-
suggestedBindings: import("@excalidraw/element
|
|
818
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
815
819
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
816
820
|
frameRendering: {
|
|
817
821
|
enabled: boolean;
|
|
@@ -822,12 +826,15 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
822
826
|
editingFrame: string | null;
|
|
823
827
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
824
828
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
825
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
826
829
|
activeTool: {
|
|
827
830
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
828
831
|
locked: boolean;
|
|
829
832
|
fromSelection: boolean;
|
|
830
833
|
} & import("../types").ActiveTool;
|
|
834
|
+
preferredSelectionTool: {
|
|
835
|
+
type: "selection" | "lasso";
|
|
836
|
+
initialized: boolean;
|
|
837
|
+
};
|
|
831
838
|
penMode: boolean;
|
|
832
839
|
penDetected: boolean;
|
|
833
840
|
exportBackground: boolean;
|
|
@@ -855,8 +862,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
855
862
|
name: string | null;
|
|
856
863
|
isResizing: boolean;
|
|
857
864
|
isRotating: boolean;
|
|
858
|
-
openMenu: "
|
|
859
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
865
|
+
openMenu: "canvas" | null;
|
|
866
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
860
867
|
openSidebar: {
|
|
861
868
|
name: string;
|
|
862
869
|
tab?: string | undefined;
|
|
@@ -865,7 +872,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
865
872
|
name: "imageExport" | "help" | "jsonExport";
|
|
866
873
|
} | {
|
|
867
874
|
name: "ttd";
|
|
868
|
-
tab: "text-to-diagram"
|
|
875
|
+
tab: "mermaid" | "text-to-diagram";
|
|
869
876
|
} | {
|
|
870
877
|
name: "commandPalette";
|
|
871
878
|
} | {
|
|
@@ -937,9 +944,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
937
944
|
shown: true;
|
|
938
945
|
data: import("../charts").Spreadsheet;
|
|
939
946
|
};
|
|
940
|
-
pendingImageElementId: string | null;
|
|
941
947
|
showHyperlinkPopup: false | "editor" | "info";
|
|
942
|
-
selectedLinearElement: import("@excalidraw/element
|
|
948
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
943
949
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
944
950
|
originSnapOffset: {
|
|
945
951
|
x: number;
|
|
@@ -950,16 +956,15 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
950
956
|
followedBy: Set<import("../types").SocketId>;
|
|
951
957
|
isCropping: boolean;
|
|
952
958
|
croppingElementId: string | null;
|
|
953
|
-
searchMatches:
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
}[];
|
|
959
|
+
searchMatches: Readonly<{
|
|
960
|
+
focusedId: string | null;
|
|
961
|
+
matches: readonly import("../types").SearchMatch[];
|
|
962
|
+
}> | null;
|
|
963
|
+
activeLockedId: string | null;
|
|
964
|
+
lockedMultiSelections: {
|
|
965
|
+
[groupId: string]: true;
|
|
966
|
+
};
|
|
967
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
963
968
|
};
|
|
964
969
|
captureUpdate: "EVENTUALLY";
|
|
965
970
|
};
|
|
@@ -995,7 +1000,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
995
1000
|
errorMessage: import("react").ReactNode;
|
|
996
1001
|
activeEmbeddable: {
|
|
997
1002
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
998
|
-
state: "
|
|
1003
|
+
state: "active" | "hover";
|
|
999
1004
|
} | null;
|
|
1000
1005
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1001
1006
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1003,7 +1008,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1003
1008
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1004
1009
|
isBindingEnabled: boolean;
|
|
1005
1010
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1006
|
-
suggestedBindings: import("@excalidraw/element
|
|
1011
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1007
1012
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1008
1013
|
frameRendering: {
|
|
1009
1014
|
enabled: boolean;
|
|
@@ -1014,12 +1019,15 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1014
1019
|
editingFrame: string | null;
|
|
1015
1020
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1016
1021
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1017
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1018
1022
|
activeTool: {
|
|
1019
1023
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1020
1024
|
locked: boolean;
|
|
1021
1025
|
fromSelection: boolean;
|
|
1022
1026
|
} & import("../types").ActiveTool;
|
|
1027
|
+
preferredSelectionTool: {
|
|
1028
|
+
type: "selection" | "lasso";
|
|
1029
|
+
initialized: boolean;
|
|
1030
|
+
};
|
|
1023
1031
|
penMode: boolean;
|
|
1024
1032
|
penDetected: boolean;
|
|
1025
1033
|
exportBackground: boolean;
|
|
@@ -1047,8 +1055,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1047
1055
|
name: string | null;
|
|
1048
1056
|
isResizing: boolean;
|
|
1049
1057
|
isRotating: boolean;
|
|
1050
|
-
openMenu: "
|
|
1051
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1058
|
+
openMenu: "canvas" | null;
|
|
1059
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1052
1060
|
openSidebar: {
|
|
1053
1061
|
name: string;
|
|
1054
1062
|
tab?: string | undefined;
|
|
@@ -1057,7 +1065,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1057
1065
|
name: "imageExport" | "help" | "jsonExport";
|
|
1058
1066
|
} | {
|
|
1059
1067
|
name: "ttd";
|
|
1060
|
-
tab: "text-to-diagram"
|
|
1068
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1061
1069
|
} | {
|
|
1062
1070
|
name: "commandPalette";
|
|
1063
1071
|
} | {
|
|
@@ -1129,9 +1137,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1129
1137
|
shown: true;
|
|
1130
1138
|
data: import("../charts").Spreadsheet;
|
|
1131
1139
|
};
|
|
1132
|
-
pendingImageElementId: string | null;
|
|
1133
1140
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1134
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1141
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1135
1142
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1136
1143
|
originSnapOffset: {
|
|
1137
1144
|
x: number;
|
|
@@ -1142,16 +1149,15 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1142
1149
|
followedBy: Set<import("../types").SocketId>;
|
|
1143
1150
|
isCropping: boolean;
|
|
1144
1151
|
croppingElementId: string | null;
|
|
1145
|
-
searchMatches:
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
}[];
|
|
1152
|
+
searchMatches: Readonly<{
|
|
1153
|
+
focusedId: string | null;
|
|
1154
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1155
|
+
}> | null;
|
|
1156
|
+
activeLockedId: string | null;
|
|
1157
|
+
lockedMultiSelections: {
|
|
1158
|
+
[groupId: string]: true;
|
|
1159
|
+
};
|
|
1160
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1155
1161
|
};
|
|
1156
1162
|
captureUpdate: "EVENTUALLY";
|
|
1157
1163
|
};
|
|
@@ -1179,7 +1185,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1179
1185
|
errorMessage: import("react").ReactNode;
|
|
1180
1186
|
activeEmbeddable: {
|
|
1181
1187
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1182
|
-
state: "
|
|
1188
|
+
state: "active" | "hover";
|
|
1183
1189
|
} | null;
|
|
1184
1190
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1185
1191
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1187,7 +1193,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1187
1193
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1188
1194
|
isBindingEnabled: boolean;
|
|
1189
1195
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1190
|
-
suggestedBindings: import("@excalidraw/element
|
|
1196
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1191
1197
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1192
1198
|
frameRendering: {
|
|
1193
1199
|
enabled: boolean;
|
|
@@ -1198,12 +1204,15 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1198
1204
|
editingFrame: string | null;
|
|
1199
1205
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1200
1206
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1201
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1202
1207
|
activeTool: {
|
|
1203
1208
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1204
1209
|
locked: boolean;
|
|
1205
1210
|
fromSelection: boolean;
|
|
1206
1211
|
} & import("../types").ActiveTool;
|
|
1212
|
+
preferredSelectionTool: {
|
|
1213
|
+
type: "selection" | "lasso";
|
|
1214
|
+
initialized: boolean;
|
|
1215
|
+
};
|
|
1207
1216
|
penMode: boolean;
|
|
1208
1217
|
penDetected: boolean;
|
|
1209
1218
|
exportBackground: boolean;
|
|
@@ -1231,8 +1240,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1231
1240
|
name: string | null;
|
|
1232
1241
|
isResizing: boolean;
|
|
1233
1242
|
isRotating: boolean;
|
|
1234
|
-
openMenu: "
|
|
1235
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1243
|
+
openMenu: "canvas" | null;
|
|
1244
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1236
1245
|
openSidebar: {
|
|
1237
1246
|
name: string;
|
|
1238
1247
|
tab?: string | undefined;
|
|
@@ -1241,7 +1250,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1241
1250
|
name: "imageExport" | "help" | "jsonExport";
|
|
1242
1251
|
} | {
|
|
1243
1252
|
name: "ttd";
|
|
1244
|
-
tab: "text-to-diagram"
|
|
1253
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1245
1254
|
} | {
|
|
1246
1255
|
name: "commandPalette";
|
|
1247
1256
|
} | {
|
|
@@ -1313,9 +1322,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1313
1322
|
shown: true;
|
|
1314
1323
|
data: import("../charts").Spreadsheet;
|
|
1315
1324
|
};
|
|
1316
|
-
pendingImageElementId: string | null;
|
|
1317
1325
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1318
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1326
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1319
1327
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1320
1328
|
originSnapOffset: {
|
|
1321
1329
|
x: number;
|
|
@@ -1326,16 +1334,15 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1326
1334
|
followedBy: Set<import("../types").SocketId>;
|
|
1327
1335
|
isCropping: boolean;
|
|
1328
1336
|
croppingElementId: string | null;
|
|
1329
|
-
searchMatches:
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
}[];
|
|
1337
|
+
searchMatches: Readonly<{
|
|
1338
|
+
focusedId: string | null;
|
|
1339
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1340
|
+
}> | null;
|
|
1341
|
+
activeLockedId: string | null;
|
|
1342
|
+
lockedMultiSelections: {
|
|
1343
|
+
[groupId: string]: true;
|
|
1344
|
+
};
|
|
1345
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1339
1346
|
};
|
|
1340
1347
|
captureUpdate: "EVENTUALLY";
|
|
1341
1348
|
};
|
|
@@ -1367,7 +1374,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1367
1374
|
errorMessage: import("react").ReactNode;
|
|
1368
1375
|
activeEmbeddable: {
|
|
1369
1376
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1370
|
-
state: "
|
|
1377
|
+
state: "active" | "hover";
|
|
1371
1378
|
} | null;
|
|
1372
1379
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1373
1380
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1375,7 +1382,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1375
1382
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1376
1383
|
isBindingEnabled: boolean;
|
|
1377
1384
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1378
|
-
suggestedBindings: import("@excalidraw/element
|
|
1385
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1379
1386
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1380
1387
|
frameRendering: {
|
|
1381
1388
|
enabled: boolean;
|
|
@@ -1386,12 +1393,15 @@ export declare const actionZoomToFitSelection: {
|
|
|
1386
1393
|
editingFrame: string | null;
|
|
1387
1394
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1388
1395
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1389
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1390
1396
|
activeTool: {
|
|
1391
1397
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1392
1398
|
locked: boolean;
|
|
1393
1399
|
fromSelection: boolean;
|
|
1394
1400
|
} & import("../types").ActiveTool;
|
|
1401
|
+
preferredSelectionTool: {
|
|
1402
|
+
type: "selection" | "lasso";
|
|
1403
|
+
initialized: boolean;
|
|
1404
|
+
};
|
|
1395
1405
|
penMode: boolean;
|
|
1396
1406
|
penDetected: boolean;
|
|
1397
1407
|
exportBackground: boolean;
|
|
@@ -1419,8 +1429,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
1419
1429
|
name: string | null;
|
|
1420
1430
|
isResizing: boolean;
|
|
1421
1431
|
isRotating: boolean;
|
|
1422
|
-
openMenu: "
|
|
1423
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1432
|
+
openMenu: "canvas" | null;
|
|
1433
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1424
1434
|
openSidebar: {
|
|
1425
1435
|
name: string;
|
|
1426
1436
|
tab?: string | undefined;
|
|
@@ -1429,7 +1439,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1429
1439
|
name: "imageExport" | "help" | "jsonExport";
|
|
1430
1440
|
} | {
|
|
1431
1441
|
name: "ttd";
|
|
1432
|
-
tab: "text-to-diagram"
|
|
1442
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1433
1443
|
} | {
|
|
1434
1444
|
name: "commandPalette";
|
|
1435
1445
|
} | {
|
|
@@ -1501,9 +1511,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
1501
1511
|
shown: true;
|
|
1502
1512
|
data: import("../charts").Spreadsheet;
|
|
1503
1513
|
};
|
|
1504
|
-
pendingImageElementId: string | null;
|
|
1505
1514
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1506
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1515
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1507
1516
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1508
1517
|
originSnapOffset: {
|
|
1509
1518
|
x: number;
|
|
@@ -1514,16 +1523,15 @@ export declare const actionZoomToFitSelection: {
|
|
|
1514
1523
|
followedBy: Set<import("../types").SocketId>;
|
|
1515
1524
|
isCropping: boolean;
|
|
1516
1525
|
croppingElementId: string | null;
|
|
1517
|
-
searchMatches:
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
}[];
|
|
1526
|
+
searchMatches: Readonly<{
|
|
1527
|
+
focusedId: string | null;
|
|
1528
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1529
|
+
}> | null;
|
|
1530
|
+
activeLockedId: string | null;
|
|
1531
|
+
lockedMultiSelections: {
|
|
1532
|
+
[groupId: string]: true;
|
|
1533
|
+
};
|
|
1534
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1527
1535
|
};
|
|
1528
1536
|
captureUpdate: "EVENTUALLY";
|
|
1529
1537
|
};
|
|
@@ -1556,7 +1564,7 @@ export declare const actionZoomToFit: {
|
|
|
1556
1564
|
errorMessage: import("react").ReactNode;
|
|
1557
1565
|
activeEmbeddable: {
|
|
1558
1566
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1559
|
-
state: "
|
|
1567
|
+
state: "active" | "hover";
|
|
1560
1568
|
} | null;
|
|
1561
1569
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1562
1570
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1564,7 +1572,7 @@ export declare const actionZoomToFit: {
|
|
|
1564
1572
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1565
1573
|
isBindingEnabled: boolean;
|
|
1566
1574
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1567
|
-
suggestedBindings: import("@excalidraw/element
|
|
1575
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1568
1576
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1569
1577
|
frameRendering: {
|
|
1570
1578
|
enabled: boolean;
|
|
@@ -1575,12 +1583,15 @@ export declare const actionZoomToFit: {
|
|
|
1575
1583
|
editingFrame: string | null;
|
|
1576
1584
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1577
1585
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1578
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1579
1586
|
activeTool: {
|
|
1580
1587
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1581
1588
|
locked: boolean;
|
|
1582
1589
|
fromSelection: boolean;
|
|
1583
1590
|
} & import("../types").ActiveTool;
|
|
1591
|
+
preferredSelectionTool: {
|
|
1592
|
+
type: "selection" | "lasso";
|
|
1593
|
+
initialized: boolean;
|
|
1594
|
+
};
|
|
1584
1595
|
penMode: boolean;
|
|
1585
1596
|
penDetected: boolean;
|
|
1586
1597
|
exportBackground: boolean;
|
|
@@ -1608,8 +1619,8 @@ export declare const actionZoomToFit: {
|
|
|
1608
1619
|
name: string | null;
|
|
1609
1620
|
isResizing: boolean;
|
|
1610
1621
|
isRotating: boolean;
|
|
1611
|
-
openMenu: "
|
|
1612
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1622
|
+
openMenu: "canvas" | null;
|
|
1623
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1613
1624
|
openSidebar: {
|
|
1614
1625
|
name: string;
|
|
1615
1626
|
tab?: string | undefined;
|
|
@@ -1618,7 +1629,7 @@ export declare const actionZoomToFit: {
|
|
|
1618
1629
|
name: "imageExport" | "help" | "jsonExport";
|
|
1619
1630
|
} | {
|
|
1620
1631
|
name: "ttd";
|
|
1621
|
-
tab: "text-to-diagram"
|
|
1632
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1622
1633
|
} | {
|
|
1623
1634
|
name: "commandPalette";
|
|
1624
1635
|
} | {
|
|
@@ -1690,9 +1701,8 @@ export declare const actionZoomToFit: {
|
|
|
1690
1701
|
shown: true;
|
|
1691
1702
|
data: import("../charts").Spreadsheet;
|
|
1692
1703
|
};
|
|
1693
|
-
pendingImageElementId: string | null;
|
|
1694
1704
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1695
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1705
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1696
1706
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1697
1707
|
originSnapOffset: {
|
|
1698
1708
|
x: number;
|
|
@@ -1703,16 +1713,15 @@ export declare const actionZoomToFit: {
|
|
|
1703
1713
|
followedBy: Set<import("../types").SocketId>;
|
|
1704
1714
|
isCropping: boolean;
|
|
1705
1715
|
croppingElementId: string | null;
|
|
1706
|
-
searchMatches:
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
}[];
|
|
1716
|
+
searchMatches: Readonly<{
|
|
1717
|
+
focusedId: string | null;
|
|
1718
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1719
|
+
}> | null;
|
|
1720
|
+
activeLockedId: string | null;
|
|
1721
|
+
lockedMultiSelections: {
|
|
1722
|
+
[groupId: string]: true;
|
|
1723
|
+
};
|
|
1724
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1716
1725
|
};
|
|
1717
1726
|
captureUpdate: "EVENTUALLY";
|
|
1718
1727
|
};
|
|
@@ -1742,7 +1751,7 @@ export declare const actionToggleTheme: {
|
|
|
1742
1751
|
errorMessage: import("react").ReactNode;
|
|
1743
1752
|
activeEmbeddable: {
|
|
1744
1753
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1745
|
-
state: "
|
|
1754
|
+
state: "active" | "hover";
|
|
1746
1755
|
} | null;
|
|
1747
1756
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1748
1757
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1750,7 +1759,7 @@ export declare const actionToggleTheme: {
|
|
|
1750
1759
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1751
1760
|
isBindingEnabled: boolean;
|
|
1752
1761
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1753
|
-
suggestedBindings: import("@excalidraw/element
|
|
1762
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1754
1763
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1755
1764
|
frameRendering: {
|
|
1756
1765
|
enabled: boolean;
|
|
@@ -1761,12 +1770,15 @@ export declare const actionToggleTheme: {
|
|
|
1761
1770
|
editingFrame: string | null;
|
|
1762
1771
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1763
1772
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1764
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1765
1773
|
activeTool: {
|
|
1766
1774
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1767
1775
|
locked: boolean;
|
|
1768
1776
|
fromSelection: boolean;
|
|
1769
1777
|
} & import("../types").ActiveTool;
|
|
1778
|
+
preferredSelectionTool: {
|
|
1779
|
+
type: "selection" | "lasso";
|
|
1780
|
+
initialized: boolean;
|
|
1781
|
+
};
|
|
1770
1782
|
penMode: boolean;
|
|
1771
1783
|
penDetected: boolean;
|
|
1772
1784
|
exportBackground: boolean;
|
|
@@ -1799,8 +1811,8 @@ export declare const actionToggleTheme: {
|
|
|
1799
1811
|
zoom: Readonly<{
|
|
1800
1812
|
value: import("../types").NormalizedZoomValue;
|
|
1801
1813
|
}>;
|
|
1802
|
-
openMenu: "
|
|
1803
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1814
|
+
openMenu: "canvas" | null;
|
|
1815
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1804
1816
|
openSidebar: {
|
|
1805
1817
|
name: string;
|
|
1806
1818
|
tab?: string | undefined;
|
|
@@ -1809,7 +1821,7 @@ export declare const actionToggleTheme: {
|
|
|
1809
1821
|
name: "imageExport" | "help" | "jsonExport";
|
|
1810
1822
|
} | {
|
|
1811
1823
|
name: "ttd";
|
|
1812
|
-
tab: "text-to-diagram"
|
|
1824
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1813
1825
|
} | {
|
|
1814
1826
|
name: "commandPalette";
|
|
1815
1827
|
} | {
|
|
@@ -1880,9 +1892,8 @@ export declare const actionToggleTheme: {
|
|
|
1880
1892
|
shown: true;
|
|
1881
1893
|
data: import("../charts").Spreadsheet;
|
|
1882
1894
|
};
|
|
1883
|
-
pendingImageElementId: string | null;
|
|
1884
1895
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1885
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1896
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1886
1897
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1887
1898
|
originSnapOffset: {
|
|
1888
1899
|
x: number;
|
|
@@ -1893,16 +1904,15 @@ export declare const actionToggleTheme: {
|
|
|
1893
1904
|
followedBy: Set<import("../types").SocketId>;
|
|
1894
1905
|
isCropping: boolean;
|
|
1895
1906
|
croppingElementId: string | null;
|
|
1896
|
-
searchMatches:
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
}[];
|
|
1907
|
+
searchMatches: Readonly<{
|
|
1908
|
+
focusedId: string | null;
|
|
1909
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1910
|
+
}> | null;
|
|
1911
|
+
activeLockedId: string | null;
|
|
1912
|
+
lockedMultiSelections: {
|
|
1913
|
+
[groupId: string]: true;
|
|
1914
|
+
};
|
|
1915
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1906
1916
|
};
|
|
1907
1917
|
captureUpdate: "EVENTUALLY";
|
|
1908
1918
|
};
|
|
@@ -1917,7 +1927,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1917
1927
|
trackEvent: {
|
|
1918
1928
|
category: "toolbar";
|
|
1919
1929
|
};
|
|
1920
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState
|
|
1930
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
|
|
1921
1931
|
appState: {
|
|
1922
1932
|
selectedElementIds: {};
|
|
1923
1933
|
selectedGroupIds: {};
|
|
@@ -1941,7 +1951,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1941
1951
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1942
1952
|
isBindingEnabled: boolean;
|
|
1943
1953
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1944
|
-
suggestedBindings: import("@excalidraw/element
|
|
1954
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1945
1955
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1946
1956
|
frameRendering: {
|
|
1947
1957
|
enabled: boolean;
|
|
@@ -1952,7 +1962,10 @@ export declare const actionToggleEraserTool: {
|
|
|
1952
1962
|
editingFrame: string | null;
|
|
1953
1963
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1954
1964
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1955
|
-
|
|
1965
|
+
preferredSelectionTool: {
|
|
1966
|
+
type: "selection" | "lasso";
|
|
1967
|
+
initialized: boolean;
|
|
1968
|
+
};
|
|
1956
1969
|
penMode: boolean;
|
|
1957
1970
|
penDetected: boolean;
|
|
1958
1971
|
exportBackground: boolean;
|
|
@@ -1985,8 +1998,8 @@ export declare const actionToggleEraserTool: {
|
|
|
1985
1998
|
zoom: Readonly<{
|
|
1986
1999
|
value: import("../types").NormalizedZoomValue;
|
|
1987
2000
|
}>;
|
|
1988
|
-
openMenu: "
|
|
1989
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2001
|
+
openMenu: "canvas" | null;
|
|
2002
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1990
2003
|
openSidebar: {
|
|
1991
2004
|
name: string;
|
|
1992
2005
|
tab?: string | undefined;
|
|
@@ -1995,7 +2008,7 @@ export declare const actionToggleEraserTool: {
|
|
|
1995
2008
|
name: "imageExport" | "help" | "jsonExport";
|
|
1996
2009
|
} | {
|
|
1997
2010
|
name: "ttd";
|
|
1998
|
-
tab: "text-to-diagram"
|
|
2011
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1999
2012
|
} | {
|
|
2000
2013
|
name: "commandPalette";
|
|
2001
2014
|
} | {
|
|
@@ -2061,9 +2074,8 @@ export declare const actionToggleEraserTool: {
|
|
|
2061
2074
|
shown: true;
|
|
2062
2075
|
data: import("../charts").Spreadsheet;
|
|
2063
2076
|
};
|
|
2064
|
-
pendingImageElementId: string | null;
|
|
2065
2077
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2066
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2078
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2067
2079
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2068
2080
|
originSnapOffset: {
|
|
2069
2081
|
x: number;
|
|
@@ -2074,16 +2086,15 @@ export declare const actionToggleEraserTool: {
|
|
|
2074
2086
|
followedBy: Set<import("../types").SocketId>;
|
|
2075
2087
|
isCropping: boolean;
|
|
2076
2088
|
croppingElementId: string | null;
|
|
2077
|
-
searchMatches:
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
}[];
|
|
2089
|
+
searchMatches: Readonly<{
|
|
2090
|
+
focusedId: string | null;
|
|
2091
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2092
|
+
}> | null;
|
|
2093
|
+
activeLockedId: string | null;
|
|
2094
|
+
lockedMultiSelections: {
|
|
2095
|
+
[groupId: string]: true;
|
|
2096
|
+
};
|
|
2097
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
2087
2098
|
};
|
|
2088
2099
|
captureUpdate: "IMMEDIATELY";
|
|
2089
2100
|
};
|
|
@@ -2098,6 +2109,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2098
2109
|
trackEvent: {
|
|
2099
2110
|
category: "toolbar";
|
|
2100
2111
|
};
|
|
2112
|
+
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
2101
2113
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
|
|
2102
2114
|
appState: {
|
|
2103
2115
|
selectedElementIds: {};
|
|
@@ -2122,7 +2134,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2122
2134
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2123
2135
|
isBindingEnabled: boolean;
|
|
2124
2136
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2125
|
-
suggestedBindings: import("@excalidraw/element
|
|
2137
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2126
2138
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2127
2139
|
frameRendering: {
|
|
2128
2140
|
enabled: boolean;
|
|
@@ -2133,7 +2145,10 @@ export declare const actionToggleLassoTool: {
|
|
|
2133
2145
|
editingFrame: string | null;
|
|
2134
2146
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2135
2147
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2136
|
-
|
|
2148
|
+
preferredSelectionTool: {
|
|
2149
|
+
type: "selection" | "lasso";
|
|
2150
|
+
initialized: boolean;
|
|
2151
|
+
};
|
|
2137
2152
|
penMode: boolean;
|
|
2138
2153
|
penDetected: boolean;
|
|
2139
2154
|
exportBackground: boolean;
|
|
@@ -2166,8 +2181,8 @@ export declare const actionToggleLassoTool: {
|
|
|
2166
2181
|
zoom: Readonly<{
|
|
2167
2182
|
value: import("../types").NormalizedZoomValue;
|
|
2168
2183
|
}>;
|
|
2169
|
-
openMenu: "
|
|
2170
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2184
|
+
openMenu: "canvas" | null;
|
|
2185
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2171
2186
|
openSidebar: {
|
|
2172
2187
|
name: string;
|
|
2173
2188
|
tab?: string | undefined;
|
|
@@ -2176,7 +2191,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2176
2191
|
name: "imageExport" | "help" | "jsonExport";
|
|
2177
2192
|
} | {
|
|
2178
2193
|
name: "ttd";
|
|
2179
|
-
tab: "text-to-diagram"
|
|
2194
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2180
2195
|
} | {
|
|
2181
2196
|
name: "commandPalette";
|
|
2182
2197
|
} | {
|
|
@@ -2242,9 +2257,8 @@ export declare const actionToggleLassoTool: {
|
|
|
2242
2257
|
shown: true;
|
|
2243
2258
|
data: import("../charts").Spreadsheet;
|
|
2244
2259
|
};
|
|
2245
|
-
pendingImageElementId: string | null;
|
|
2246
2260
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2247
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2261
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2248
2262
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2249
2263
|
originSnapOffset: {
|
|
2250
2264
|
x: number;
|
|
@@ -2255,16 +2269,15 @@ export declare const actionToggleLassoTool: {
|
|
|
2255
2269
|
followedBy: Set<import("../types").SocketId>;
|
|
2256
2270
|
isCropping: boolean;
|
|
2257
2271
|
croppingElementId: string | null;
|
|
2258
|
-
searchMatches:
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
}[];
|
|
2272
|
+
searchMatches: Readonly<{
|
|
2273
|
+
focusedId: string | null;
|
|
2274
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2275
|
+
}> | null;
|
|
2276
|
+
activeLockedId: string | null;
|
|
2277
|
+
lockedMultiSelections: {
|
|
2278
|
+
[groupId: string]: true;
|
|
2279
|
+
};
|
|
2280
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
2268
2281
|
};
|
|
2269
2282
|
captureUpdate: "NEVER";
|
|
2270
2283
|
};
|
|
@@ -2303,7 +2316,7 @@ export declare const actionToggleHandTool: {
|
|
|
2303
2316
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2304
2317
|
isBindingEnabled: boolean;
|
|
2305
2318
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
2306
|
-
suggestedBindings: import("@excalidraw/element
|
|
2319
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2307
2320
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2308
2321
|
frameRendering: {
|
|
2309
2322
|
enabled: boolean;
|
|
@@ -2314,7 +2327,10 @@ export declare const actionToggleHandTool: {
|
|
|
2314
2327
|
editingFrame: string | null;
|
|
2315
2328
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2316
2329
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2317
|
-
|
|
2330
|
+
preferredSelectionTool: {
|
|
2331
|
+
type: "selection" | "lasso";
|
|
2332
|
+
initialized: boolean;
|
|
2333
|
+
};
|
|
2318
2334
|
penMode: boolean;
|
|
2319
2335
|
penDetected: boolean;
|
|
2320
2336
|
exportBackground: boolean;
|
|
@@ -2347,8 +2363,8 @@ export declare const actionToggleHandTool: {
|
|
|
2347
2363
|
zoom: Readonly<{
|
|
2348
2364
|
value: import("../types").NormalizedZoomValue;
|
|
2349
2365
|
}>;
|
|
2350
|
-
openMenu: "
|
|
2351
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2366
|
+
openMenu: "canvas" | null;
|
|
2367
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2352
2368
|
openSidebar: {
|
|
2353
2369
|
name: string;
|
|
2354
2370
|
tab?: string | undefined;
|
|
@@ -2357,7 +2373,7 @@ export declare const actionToggleHandTool: {
|
|
|
2357
2373
|
name: "imageExport" | "help" | "jsonExport";
|
|
2358
2374
|
} | {
|
|
2359
2375
|
name: "ttd";
|
|
2360
|
-
tab: "text-to-diagram"
|
|
2376
|
+
tab: "mermaid" | "text-to-diagram";
|
|
2361
2377
|
} | {
|
|
2362
2378
|
name: "commandPalette";
|
|
2363
2379
|
} | {
|
|
@@ -2423,9 +2439,8 @@ export declare const actionToggleHandTool: {
|
|
|
2423
2439
|
shown: true;
|
|
2424
2440
|
data: import("../charts").Spreadsheet;
|
|
2425
2441
|
};
|
|
2426
|
-
pendingImageElementId: string | null;
|
|
2427
2442
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2428
|
-
selectedLinearElement: import("@excalidraw/element
|
|
2443
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
2429
2444
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2430
2445
|
originSnapOffset: {
|
|
2431
2446
|
x: number;
|
|
@@ -2436,16 +2451,15 @@ export declare const actionToggleHandTool: {
|
|
|
2436
2451
|
followedBy: Set<import("../types").SocketId>;
|
|
2437
2452
|
isCropping: boolean;
|
|
2438
2453
|
croppingElementId: string | null;
|
|
2439
|
-
searchMatches:
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
}[];
|
|
2454
|
+
searchMatches: Readonly<{
|
|
2455
|
+
focusedId: string | null;
|
|
2456
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2457
|
+
}> | null;
|
|
2458
|
+
activeLockedId: string | null;
|
|
2459
|
+
lockedMultiSelections: {
|
|
2460
|
+
[groupId: string]: true;
|
|
2461
|
+
};
|
|
2462
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
2449
2463
|
};
|
|
2450
2464
|
captureUpdate: "IMMEDIATELY";
|
|
2451
2465
|
};
|