@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
|
@@ -19,7 +19,7 @@ export declare const actionCopy: {
|
|
|
19
19
|
isLoading: boolean;
|
|
20
20
|
activeEmbeddable: {
|
|
21
21
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
22
|
-
state: "
|
|
22
|
+
state: "active" | "hover";
|
|
23
23
|
} | null;
|
|
24
24
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
25
25
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -27,7 +27,7 @@ export declare const actionCopy: {
|
|
|
27
27
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
28
28
|
isBindingEnabled: boolean;
|
|
29
29
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
30
|
-
suggestedBindings: import("@excalidraw/element
|
|
30
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
31
31
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
32
32
|
frameRendering: {
|
|
33
33
|
enabled: boolean;
|
|
@@ -38,12 +38,15 @@ export declare const actionCopy: {
|
|
|
38
38
|
editingFrame: string | null;
|
|
39
39
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
40
40
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
41
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
42
41
|
activeTool: {
|
|
43
42
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
44
43
|
locked: boolean;
|
|
45
44
|
fromSelection: boolean;
|
|
46
45
|
} & import("../types").ActiveTool;
|
|
46
|
+
preferredSelectionTool: {
|
|
47
|
+
type: "selection" | "lasso";
|
|
48
|
+
initialized: boolean;
|
|
49
|
+
};
|
|
47
50
|
penMode: boolean;
|
|
48
51
|
penDetected: boolean;
|
|
49
52
|
exportBackground: boolean;
|
|
@@ -76,8 +79,8 @@ export declare const actionCopy: {
|
|
|
76
79
|
zoom: Readonly<{
|
|
77
80
|
value: import("../types").NormalizedZoomValue;
|
|
78
81
|
}>;
|
|
79
|
-
openMenu: "
|
|
80
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
82
|
+
openMenu: "canvas" | null;
|
|
83
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
81
84
|
openSidebar: {
|
|
82
85
|
name: string;
|
|
83
86
|
tab?: string | undefined;
|
|
@@ -86,7 +89,7 @@ export declare const actionCopy: {
|
|
|
86
89
|
name: "imageExport" | "help" | "jsonExport";
|
|
87
90
|
} | {
|
|
88
91
|
name: "ttd";
|
|
89
|
-
tab: "text-to-diagram"
|
|
92
|
+
tab: "mermaid" | "text-to-diagram";
|
|
90
93
|
} | {
|
|
91
94
|
name: "commandPalette";
|
|
92
95
|
} | {
|
|
@@ -158,9 +161,8 @@ export declare const actionCopy: {
|
|
|
158
161
|
shown: true;
|
|
159
162
|
data: import("../charts").Spreadsheet;
|
|
160
163
|
};
|
|
161
|
-
pendingImageElementId: string | null;
|
|
162
164
|
showHyperlinkPopup: false | "editor" | "info";
|
|
163
|
-
selectedLinearElement: import("@excalidraw/element
|
|
165
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
164
166
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
165
167
|
originSnapOffset: {
|
|
166
168
|
x: number;
|
|
@@ -171,16 +173,15 @@ export declare const actionCopy: {
|
|
|
171
173
|
followedBy: Set<import("../types").SocketId>;
|
|
172
174
|
isCropping: boolean;
|
|
173
175
|
croppingElementId: string | null;
|
|
174
|
-
searchMatches:
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
}[];
|
|
176
|
+
searchMatches: Readonly<{
|
|
177
|
+
focusedId: string | null;
|
|
178
|
+
matches: readonly import("../types").SearchMatch[];
|
|
179
|
+
}> | null;
|
|
180
|
+
activeLockedId: string | null;
|
|
181
|
+
lockedMultiSelections: {
|
|
182
|
+
[groupId: string]: true;
|
|
183
|
+
};
|
|
184
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
184
185
|
};
|
|
185
186
|
} | {
|
|
186
187
|
captureUpdate: "EVENTUALLY";
|
|
@@ -209,7 +210,7 @@ export declare const actionPaste: {
|
|
|
209
210
|
isLoading: boolean;
|
|
210
211
|
activeEmbeddable: {
|
|
211
212
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
212
|
-
state: "
|
|
213
|
+
state: "active" | "hover";
|
|
213
214
|
} | null;
|
|
214
215
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
215
216
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -217,7 +218,7 @@ export declare const actionPaste: {
|
|
|
217
218
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
218
219
|
isBindingEnabled: boolean;
|
|
219
220
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
220
|
-
suggestedBindings: import("@excalidraw/element
|
|
221
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
221
222
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
222
223
|
frameRendering: {
|
|
223
224
|
enabled: boolean;
|
|
@@ -228,12 +229,15 @@ export declare const actionPaste: {
|
|
|
228
229
|
editingFrame: string | null;
|
|
229
230
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
230
231
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
231
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
232
232
|
activeTool: {
|
|
233
233
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
234
234
|
locked: boolean;
|
|
235
235
|
fromSelection: boolean;
|
|
236
236
|
} & import("../types").ActiveTool;
|
|
237
|
+
preferredSelectionTool: {
|
|
238
|
+
type: "selection" | "lasso";
|
|
239
|
+
initialized: boolean;
|
|
240
|
+
};
|
|
237
241
|
penMode: boolean;
|
|
238
242
|
penDetected: boolean;
|
|
239
243
|
exportBackground: boolean;
|
|
@@ -266,8 +270,8 @@ export declare const actionPaste: {
|
|
|
266
270
|
zoom: Readonly<{
|
|
267
271
|
value: import("../types").NormalizedZoomValue;
|
|
268
272
|
}>;
|
|
269
|
-
openMenu: "
|
|
270
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
273
|
+
openMenu: "canvas" | null;
|
|
274
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
271
275
|
openSidebar: {
|
|
272
276
|
name: string;
|
|
273
277
|
tab?: string | undefined;
|
|
@@ -276,7 +280,7 @@ export declare const actionPaste: {
|
|
|
276
280
|
name: "imageExport" | "help" | "jsonExport";
|
|
277
281
|
} | {
|
|
278
282
|
name: "ttd";
|
|
279
|
-
tab: "text-to-diagram"
|
|
283
|
+
tab: "mermaid" | "text-to-diagram";
|
|
280
284
|
} | {
|
|
281
285
|
name: "commandPalette";
|
|
282
286
|
} | {
|
|
@@ -348,9 +352,8 @@ export declare const actionPaste: {
|
|
|
348
352
|
shown: true;
|
|
349
353
|
data: import("../charts").Spreadsheet;
|
|
350
354
|
};
|
|
351
|
-
pendingImageElementId: string | null;
|
|
352
355
|
showHyperlinkPopup: false | "editor" | "info";
|
|
353
|
-
selectedLinearElement: import("@excalidraw/element
|
|
356
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
354
357
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
355
358
|
originSnapOffset: {
|
|
356
359
|
x: number;
|
|
@@ -361,16 +364,15 @@ export declare const actionPaste: {
|
|
|
361
364
|
followedBy: Set<import("../types").SocketId>;
|
|
362
365
|
isCropping: boolean;
|
|
363
366
|
croppingElementId: string | null;
|
|
364
|
-
searchMatches:
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
}[];
|
|
367
|
+
searchMatches: Readonly<{
|
|
368
|
+
focusedId: string | null;
|
|
369
|
+
matches: readonly import("../types").SearchMatch[];
|
|
370
|
+
}> | null;
|
|
371
|
+
activeLockedId: string | null;
|
|
372
|
+
lockedMultiSelections: {
|
|
373
|
+
[groupId: string]: true;
|
|
374
|
+
};
|
|
375
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
374
376
|
};
|
|
375
377
|
} | {
|
|
376
378
|
captureUpdate: "EVENTUALLY";
|
|
@@ -390,7 +392,7 @@ export declare const actionCut: {
|
|
|
390
392
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, event: ClipboardEvent | null, app: import("../types").AppClassProperties) => false | {
|
|
391
393
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
392
394
|
appState: {
|
|
393
|
-
|
|
395
|
+
selectedLinearElement: null;
|
|
394
396
|
contextMenu: {
|
|
395
397
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
396
398
|
top: number;
|
|
@@ -401,7 +403,7 @@ export declare const actionCut: {
|
|
|
401
403
|
errorMessage: import("react").ReactNode;
|
|
402
404
|
activeEmbeddable: {
|
|
403
405
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
404
|
-
state: "
|
|
406
|
+
state: "active" | "hover";
|
|
405
407
|
} | null;
|
|
406
408
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
407
409
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -409,7 +411,7 @@ export declare const actionCut: {
|
|
|
409
411
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
410
412
|
isBindingEnabled: boolean;
|
|
411
413
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
412
|
-
suggestedBindings: import("@excalidraw/element
|
|
414
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
413
415
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
414
416
|
frameRendering: {
|
|
415
417
|
enabled: boolean;
|
|
@@ -425,6 +427,10 @@ export declare const actionCut: {
|
|
|
425
427
|
locked: boolean;
|
|
426
428
|
fromSelection: boolean;
|
|
427
429
|
} & import("../types").ActiveTool;
|
|
430
|
+
preferredSelectionTool: {
|
|
431
|
+
type: "selection" | "lasso";
|
|
432
|
+
initialized: boolean;
|
|
433
|
+
};
|
|
428
434
|
penMode: boolean;
|
|
429
435
|
penDetected: boolean;
|
|
430
436
|
exportBackground: boolean;
|
|
@@ -457,8 +463,8 @@ export declare const actionCut: {
|
|
|
457
463
|
zoom: Readonly<{
|
|
458
464
|
value: import("../types").NormalizedZoomValue;
|
|
459
465
|
}>;
|
|
460
|
-
openMenu: "
|
|
461
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
466
|
+
openMenu: "canvas" | null;
|
|
467
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
462
468
|
openSidebar: {
|
|
463
469
|
name: string;
|
|
464
470
|
tab?: string | undefined;
|
|
@@ -467,7 +473,7 @@ export declare const actionCut: {
|
|
|
467
473
|
name: "imageExport" | "help" | "jsonExport";
|
|
468
474
|
} | {
|
|
469
475
|
name: "ttd";
|
|
470
|
-
tab: "text-to-diagram"
|
|
476
|
+
tab: "mermaid" | "text-to-diagram";
|
|
471
477
|
} | {
|
|
472
478
|
name: "commandPalette";
|
|
473
479
|
} | {
|
|
@@ -539,9 +545,7 @@ export declare const actionCut: {
|
|
|
539
545
|
shown: true;
|
|
540
546
|
data: import("../charts").Spreadsheet;
|
|
541
547
|
};
|
|
542
|
-
pendingImageElementId: string | null;
|
|
543
548
|
showHyperlinkPopup: false | "editor" | "info";
|
|
544
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
545
549
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
546
550
|
originSnapOffset: {
|
|
547
551
|
x: number;
|
|
@@ -552,22 +556,21 @@ export declare const actionCut: {
|
|
|
552
556
|
followedBy: Set<import("../types").SocketId>;
|
|
553
557
|
isCropping: boolean;
|
|
554
558
|
croppingElementId: string | null;
|
|
555
|
-
searchMatches:
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
}[];
|
|
559
|
+
searchMatches: Readonly<{
|
|
560
|
+
focusedId: string | null;
|
|
561
|
+
matches: readonly import("../types").SearchMatch[];
|
|
562
|
+
}> | null;
|
|
563
|
+
activeLockedId: string | null;
|
|
564
|
+
lockedMultiSelections: {
|
|
565
|
+
[groupId: string]: true;
|
|
566
|
+
};
|
|
567
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
565
568
|
};
|
|
566
569
|
captureUpdate: "IMMEDIATELY";
|
|
567
570
|
} | {
|
|
568
571
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
569
572
|
appState: {
|
|
570
|
-
|
|
573
|
+
selectedLinearElement: {
|
|
571
574
|
selectedPointsIndices: number[];
|
|
572
575
|
startBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
|
|
573
576
|
endBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
|
|
@@ -597,6 +600,8 @@ export declare const actionCut: {
|
|
|
597
600
|
hoverPointIndex: number;
|
|
598
601
|
segmentMidPointHoveredCoords: import("@excalidraw/math").GlobalPoint | null;
|
|
599
602
|
elbowed: boolean;
|
|
603
|
+
customLineAngle: number | null;
|
|
604
|
+
isEditing: boolean;
|
|
600
605
|
};
|
|
601
606
|
contextMenu: {
|
|
602
607
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -608,7 +613,7 @@ export declare const actionCut: {
|
|
|
608
613
|
errorMessage: import("react").ReactNode;
|
|
609
614
|
activeEmbeddable: {
|
|
610
615
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
611
|
-
state: "
|
|
616
|
+
state: "active" | "hover";
|
|
612
617
|
} | null;
|
|
613
618
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
614
619
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -616,7 +621,7 @@ export declare const actionCut: {
|
|
|
616
621
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
617
622
|
isBindingEnabled: boolean;
|
|
618
623
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
619
|
-
suggestedBindings: import("@excalidraw/element
|
|
624
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
620
625
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
621
626
|
frameRendering: {
|
|
622
627
|
enabled: boolean;
|
|
@@ -632,6 +637,10 @@ export declare const actionCut: {
|
|
|
632
637
|
locked: boolean;
|
|
633
638
|
fromSelection: boolean;
|
|
634
639
|
} & import("../types").ActiveTool;
|
|
640
|
+
preferredSelectionTool: {
|
|
641
|
+
type: "selection" | "lasso";
|
|
642
|
+
initialized: boolean;
|
|
643
|
+
};
|
|
635
644
|
penMode: boolean;
|
|
636
645
|
penDetected: boolean;
|
|
637
646
|
exportBackground: boolean;
|
|
@@ -664,8 +673,8 @@ export declare const actionCut: {
|
|
|
664
673
|
zoom: Readonly<{
|
|
665
674
|
value: import("../types").NormalizedZoomValue;
|
|
666
675
|
}>;
|
|
667
|
-
openMenu: "
|
|
668
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
676
|
+
openMenu: "canvas" | null;
|
|
677
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
669
678
|
openSidebar: {
|
|
670
679
|
name: string;
|
|
671
680
|
tab?: string | undefined;
|
|
@@ -674,7 +683,7 @@ export declare const actionCut: {
|
|
|
674
683
|
name: "imageExport" | "help" | "jsonExport";
|
|
675
684
|
} | {
|
|
676
685
|
name: "ttd";
|
|
677
|
-
tab: "text-to-diagram"
|
|
686
|
+
tab: "mermaid" | "text-to-diagram";
|
|
678
687
|
} | {
|
|
679
688
|
name: "commandPalette";
|
|
680
689
|
} | {
|
|
@@ -746,9 +755,7 @@ export declare const actionCut: {
|
|
|
746
755
|
shown: true;
|
|
747
756
|
data: import("../charts").Spreadsheet;
|
|
748
757
|
};
|
|
749
|
-
pendingImageElementId: string | null;
|
|
750
758
|
showHyperlinkPopup: false | "editor" | "info";
|
|
751
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
752
759
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
753
760
|
originSnapOffset: {
|
|
754
761
|
x: number;
|
|
@@ -759,16 +766,15 @@ export declare const actionCut: {
|
|
|
759
766
|
followedBy: Set<import("../types").SocketId>;
|
|
760
767
|
isCropping: boolean;
|
|
761
768
|
croppingElementId: string | null;
|
|
762
|
-
searchMatches:
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
}[];
|
|
769
|
+
searchMatches: Readonly<{
|
|
770
|
+
focusedId: string | null;
|
|
771
|
+
matches: readonly import("../types").SearchMatch[];
|
|
772
|
+
}> | null;
|
|
773
|
+
activeLockedId: string | null;
|
|
774
|
+
lockedMultiSelections: {
|
|
775
|
+
[groupId: string]: true;
|
|
776
|
+
};
|
|
777
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
772
778
|
};
|
|
773
779
|
captureUpdate: "IMMEDIATELY";
|
|
774
780
|
} | {
|
|
@@ -802,7 +808,7 @@ export declare const actionCut: {
|
|
|
802
808
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
803
809
|
isBindingEnabled: boolean;
|
|
804
810
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
805
|
-
suggestedBindings: import("@excalidraw/element
|
|
811
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
806
812
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
807
813
|
frameRendering: {
|
|
808
814
|
enabled: boolean;
|
|
@@ -813,7 +819,10 @@ export declare const actionCut: {
|
|
|
813
819
|
editingFrame: string | null;
|
|
814
820
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
815
821
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
816
|
-
|
|
822
|
+
preferredSelectionTool: {
|
|
823
|
+
type: "selection" | "lasso";
|
|
824
|
+
initialized: boolean;
|
|
825
|
+
};
|
|
817
826
|
penMode: boolean;
|
|
818
827
|
penDetected: boolean;
|
|
819
828
|
exportBackground: boolean;
|
|
@@ -846,8 +855,8 @@ export declare const actionCut: {
|
|
|
846
855
|
zoom: Readonly<{
|
|
847
856
|
value: import("../types").NormalizedZoomValue;
|
|
848
857
|
}>;
|
|
849
|
-
openMenu: "
|
|
850
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
858
|
+
openMenu: "canvas" | null;
|
|
859
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
851
860
|
openSidebar: {
|
|
852
861
|
name: string;
|
|
853
862
|
tab?: string | undefined;
|
|
@@ -856,7 +865,7 @@ export declare const actionCut: {
|
|
|
856
865
|
name: "imageExport" | "help" | "jsonExport";
|
|
857
866
|
} | {
|
|
858
867
|
name: "ttd";
|
|
859
|
-
tab: "text-to-diagram"
|
|
868
|
+
tab: "mermaid" | "text-to-diagram";
|
|
860
869
|
} | {
|
|
861
870
|
name: "commandPalette";
|
|
862
871
|
} | {
|
|
@@ -921,7 +930,6 @@ export declare const actionCut: {
|
|
|
921
930
|
shown: true;
|
|
922
931
|
data: import("../charts").Spreadsheet;
|
|
923
932
|
};
|
|
924
|
-
pendingImageElementId: string | null;
|
|
925
933
|
showHyperlinkPopup: false | "editor" | "info";
|
|
926
934
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
927
935
|
originSnapOffset: {
|
|
@@ -933,16 +941,15 @@ export declare const actionCut: {
|
|
|
933
941
|
followedBy: Set<import("../types").SocketId>;
|
|
934
942
|
isCropping: boolean;
|
|
935
943
|
croppingElementId: string | null;
|
|
936
|
-
searchMatches:
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
}[];
|
|
944
|
+
searchMatches: Readonly<{
|
|
945
|
+
focusedId: string | null;
|
|
946
|
+
matches: readonly import("../types").SearchMatch[];
|
|
947
|
+
}> | null;
|
|
948
|
+
activeLockedId: string | null;
|
|
949
|
+
lockedMultiSelections: {
|
|
950
|
+
[groupId: string]: true;
|
|
951
|
+
};
|
|
952
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
946
953
|
};
|
|
947
954
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
948
955
|
};
|
|
@@ -1002,7 +1009,7 @@ export declare const actionCopyAsPng: {
|
|
|
1002
1009
|
isLoading: boolean;
|
|
1003
1010
|
activeEmbeddable: {
|
|
1004
1011
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1005
|
-
state: "
|
|
1012
|
+
state: "active" | "hover";
|
|
1006
1013
|
} | null;
|
|
1007
1014
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1008
1015
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -1010,7 +1017,7 @@ export declare const actionCopyAsPng: {
|
|
|
1010
1017
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1011
1018
|
isBindingEnabled: boolean;
|
|
1012
1019
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1013
|
-
suggestedBindings: import("@excalidraw/element
|
|
1020
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1014
1021
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1015
1022
|
frameRendering: {
|
|
1016
1023
|
enabled: boolean;
|
|
@@ -1021,12 +1028,15 @@ export declare const actionCopyAsPng: {
|
|
|
1021
1028
|
editingFrame: string | null;
|
|
1022
1029
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1023
1030
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1024
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1025
1031
|
activeTool: {
|
|
1026
1032
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1027
1033
|
locked: boolean;
|
|
1028
1034
|
fromSelection: boolean;
|
|
1029
1035
|
} & import("../types").ActiveTool;
|
|
1036
|
+
preferredSelectionTool: {
|
|
1037
|
+
type: "selection" | "lasso";
|
|
1038
|
+
initialized: boolean;
|
|
1039
|
+
};
|
|
1030
1040
|
penMode: boolean;
|
|
1031
1041
|
penDetected: boolean;
|
|
1032
1042
|
exportBackground: boolean;
|
|
@@ -1059,8 +1069,8 @@ export declare const actionCopyAsPng: {
|
|
|
1059
1069
|
zoom: Readonly<{
|
|
1060
1070
|
value: import("../types").NormalizedZoomValue;
|
|
1061
1071
|
}>;
|
|
1062
|
-
openMenu: "
|
|
1063
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1072
|
+
openMenu: "canvas" | null;
|
|
1073
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1064
1074
|
openSidebar: {
|
|
1065
1075
|
name: string;
|
|
1066
1076
|
tab?: string | undefined;
|
|
@@ -1069,7 +1079,7 @@ export declare const actionCopyAsPng: {
|
|
|
1069
1079
|
name: "imageExport" | "help" | "jsonExport";
|
|
1070
1080
|
} | {
|
|
1071
1081
|
name: "ttd";
|
|
1072
|
-
tab: "text-to-diagram"
|
|
1082
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1073
1083
|
} | {
|
|
1074
1084
|
name: "commandPalette";
|
|
1075
1085
|
} | {
|
|
@@ -1141,9 +1151,8 @@ export declare const actionCopyAsPng: {
|
|
|
1141
1151
|
shown: true;
|
|
1142
1152
|
data: import("../charts").Spreadsheet;
|
|
1143
1153
|
};
|
|
1144
|
-
pendingImageElementId: string | null;
|
|
1145
1154
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1146
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1155
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1147
1156
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1148
1157
|
originSnapOffset: {
|
|
1149
1158
|
x: number;
|
|
@@ -1154,16 +1163,15 @@ export declare const actionCopyAsPng: {
|
|
|
1154
1163
|
followedBy: Set<import("../types").SocketId>;
|
|
1155
1164
|
isCropping: boolean;
|
|
1156
1165
|
croppingElementId: string | null;
|
|
1157
|
-
searchMatches:
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
}[];
|
|
1166
|
+
searchMatches: Readonly<{
|
|
1167
|
+
focusedId: string | null;
|
|
1168
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1169
|
+
}> | null;
|
|
1170
|
+
activeLockedId: string | null;
|
|
1171
|
+
lockedMultiSelections: {
|
|
1172
|
+
[groupId: string]: true;
|
|
1173
|
+
};
|
|
1174
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1167
1175
|
};
|
|
1168
1176
|
captureUpdate: "EVENTUALLY";
|
|
1169
1177
|
}>;
|
|
@@ -22,7 +22,7 @@ export declare const actionToggleCropEditor: {
|
|
|
22
22
|
errorMessage: import("react").ReactNode;
|
|
23
23
|
activeEmbeddable: {
|
|
24
24
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
25
|
-
state: "
|
|
25
|
+
state: "active" | "hover";
|
|
26
26
|
} | null;
|
|
27
27
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
28
28
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -30,7 +30,7 @@ export declare const actionToggleCropEditor: {
|
|
|
30
30
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
31
31
|
isBindingEnabled: boolean;
|
|
32
32
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
33
|
-
suggestedBindings: import("@excalidraw/element
|
|
33
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
34
34
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
35
35
|
frameRendering: {
|
|
36
36
|
enabled: boolean;
|
|
@@ -41,12 +41,15 @@ export declare const actionToggleCropEditor: {
|
|
|
41
41
|
editingFrame: string | null;
|
|
42
42
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
43
43
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
44
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
45
44
|
activeTool: {
|
|
46
45
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
47
46
|
locked: boolean;
|
|
48
47
|
fromSelection: boolean;
|
|
49
48
|
} & import("../types").ActiveTool;
|
|
49
|
+
preferredSelectionTool: {
|
|
50
|
+
type: "selection" | "lasso";
|
|
51
|
+
initialized: boolean;
|
|
52
|
+
};
|
|
50
53
|
penMode: boolean;
|
|
51
54
|
penDetected: boolean;
|
|
52
55
|
exportBackground: boolean;
|
|
@@ -79,8 +82,8 @@ export declare const actionToggleCropEditor: {
|
|
|
79
82
|
zoom: Readonly<{
|
|
80
83
|
value: import("../types").NormalizedZoomValue;
|
|
81
84
|
}>;
|
|
82
|
-
openMenu: "
|
|
83
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
85
|
+
openMenu: "canvas" | null;
|
|
86
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
84
87
|
openSidebar: {
|
|
85
88
|
name: string;
|
|
86
89
|
tab?: string | undefined;
|
|
@@ -89,7 +92,7 @@ export declare const actionToggleCropEditor: {
|
|
|
89
92
|
name: "imageExport" | "help" | "jsonExport";
|
|
90
93
|
} | {
|
|
91
94
|
name: "ttd";
|
|
92
|
-
tab: "text-to-diagram"
|
|
95
|
+
tab: "mermaid" | "text-to-diagram";
|
|
93
96
|
} | {
|
|
94
97
|
name: "commandPalette";
|
|
95
98
|
} | {
|
|
@@ -161,9 +164,8 @@ export declare const actionToggleCropEditor: {
|
|
|
161
164
|
shown: true;
|
|
162
165
|
data: import("../charts").Spreadsheet;
|
|
163
166
|
};
|
|
164
|
-
pendingImageElementId: string | null;
|
|
165
167
|
showHyperlinkPopup: false | "editor" | "info";
|
|
166
|
-
selectedLinearElement: import("@excalidraw/element
|
|
168
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
167
169
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
168
170
|
originSnapOffset: {
|
|
169
171
|
x: number;
|
|
@@ -172,16 +174,15 @@ export declare const actionToggleCropEditor: {
|
|
|
172
174
|
objectsSnapModeEnabled: boolean;
|
|
173
175
|
userToFollow: import("../types").UserToFollow | null;
|
|
174
176
|
followedBy: Set<import("../types").SocketId>;
|
|
175
|
-
searchMatches:
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
}[];
|
|
177
|
+
searchMatches: Readonly<{
|
|
178
|
+
focusedId: string | null;
|
|
179
|
+
matches: readonly import("../types").SearchMatch[];
|
|
180
|
+
}> | null;
|
|
181
|
+
activeLockedId: string | null;
|
|
182
|
+
lockedMultiSelections: {
|
|
183
|
+
[groupId: string]: true;
|
|
184
|
+
};
|
|
185
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
185
186
|
};
|
|
186
187
|
captureUpdate: "IMMEDIATELY";
|
|
187
188
|
};
|