@excalidraw/excalidraw 0.18.0-a5d6939 → 0.18.0-a8acc82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev/chunk-6MX365WZ.js +5666 -0
- package/dist/dev/chunk-6MX365WZ.js.map +7 -0
- package/dist/dev/chunk-CP5DND7P.js +7 -0
- package/dist/dev/chunk-CP5DND7P.js.map +7 -0
- package/dist/dev/{chunk-X3RYHLJU.js → chunk-QF5FRM6O.js} +15 -5
- package/dist/dev/chunk-QF5FRM6O.js.map +7 -0
- package/dist/dev/data/{image-JN3Y4CVN.js → image-GQCFJKGM.js} +3 -3
- package/dist/dev/index.css +230 -23
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +10262 -10068
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-CKWC2GMK.js → en-SMAPCEOQ.js} +2 -2
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/chunk-A66AFZZU.js +7 -0
- package/dist/prod/chunk-I4UNSFV6.js +12 -0
- package/dist/prod/chunk-R2M7VUMD.js +4 -0
- package/dist/prod/data/image-JWK7QZ22.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +25 -17
- package/dist/prod/locales/{en-SBO6ZHT2.js → en-TYY6KWIJ.js} +1 -1
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/common/src/constants.d.ts +40 -7
- package/dist/types/{excalidraw → common/src}/emitter.d.ts +1 -1
- package/dist/types/common/src/font-metadata.d.ts +4 -2
- package/dist/types/common/src/index.d.ts +1 -0
- package/dist/types/common/src/utility-types.d.ts +5 -0
- package/dist/types/common/src/utils.d.ts +18 -4
- package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +16 -15
- package/dist/types/element/src/align.d.ts +4 -3
- package/dist/types/element/src/binding.d.ts +25 -14
- package/dist/types/element/src/bounds.d.ts +14 -6
- package/dist/types/element/src/collision.d.ts +18 -12
- package/dist/types/element/src/cropElement.d.ts +1 -1
- package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +77 -40
- package/dist/types/element/src/distance.d.ts +2 -2
- package/dist/types/element/src/distribute.d.ts +2 -1
- package/dist/types/element/src/dragElements.d.ts +3 -2
- package/dist/types/element/src/elbowArrow.d.ts +1 -1
- package/dist/types/element/src/flowchart.d.ts +3 -2
- package/dist/types/element/src/fractionalIndex.d.ts +9 -3
- package/dist/types/element/src/frame.d.ts +4 -3
- package/dist/types/element/src/groups.d.ts +1 -0
- package/dist/types/element/src/index.d.ts +44 -2
- package/dist/types/element/src/linearElementEditor.d.ts +23 -36
- package/dist/types/element/src/mutateElement.d.ts +11 -3
- package/dist/types/element/src/newElement.d.ts +4 -3
- package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
- package/dist/types/element/src/renderElement.d.ts +4 -1
- package/dist/types/element/src/resizeElements.d.ts +5 -4
- package/dist/types/element/src/selection.d.ts +0 -5
- package/dist/types/element/src/shape.d.ts +42 -0
- package/dist/types/element/src/sizeHelpers.d.ts +2 -2
- package/dist/types/element/src/store.d.ts +237 -0
- package/dist/types/element/src/textElement.d.ts +4 -3
- package/dist/types/element/src/typeChecks.d.ts +19 -1
- package/dist/types/element/src/types.d.ts +15 -2
- package/dist/types/element/src/utils.d.ts +16 -6
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +45 -54
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +30 -36
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +204 -242
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +90 -106
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +45 -53
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +45 -52
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionExport.d.ts +145 -172
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +77 -42
- package/dist/types/excalidraw/actions/actionFrame.d.ts +107 -119
- package/dist/types/excalidraw/actions/actionGroup.d.ts +30 -36
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +541 -20
- package/dist/types/excalidraw/actions/actionLink.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionMenu.d.ts +42 -51
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +29 -35
- package/dist/types/excalidraw/actions/actionProperties.d.ts +246 -274
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionStyles.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +14 -190
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +15 -18
- package/dist/types/excalidraw/actions/index.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +4 -3
- package/dist/types/excalidraw/appState.d.ts +20 -10
- package/dist/types/excalidraw/clipboard.d.ts +64 -1
- package/dist/types/excalidraw/components/Actions.d.ts +8 -5
- package/dist/types/excalidraw/components/App.d.ts +30 -30
- package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +7 -2
- package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -3
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -3
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
- package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
- package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
- package/dist/types/excalidraw/components/Range.d.ts +3 -3
- package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
- package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +12 -2
- package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -11
- package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +1 -0
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
- package/dist/types/excalidraw/components/icons.d.ts +9 -0
- package/dist/types/excalidraw/components/shapes.d.ts +129 -1
- package/dist/types/excalidraw/data/blob.d.ts +3 -7
- package/dist/types/excalidraw/data/reconcile.d.ts +1 -0
- package/dist/types/excalidraw/data/restore.d.ts +6 -1
- package/dist/types/excalidraw/data/transform.d.ts +1 -1
- package/dist/types/excalidraw/data/types.d.ts +4 -1
- package/dist/types/excalidraw/editor-jotai.d.ts +6 -6
- package/dist/types/excalidraw/eraser/index.d.ts +0 -2
- package/dist/types/excalidraw/fonts/Fonts.d.ts +1 -1
- package/dist/types/excalidraw/history.d.ts +30 -22
- package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
- package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
- package/dist/types/excalidraw/index.d.ts +11 -10
- package/dist/types/excalidraw/lasso/index.d.ts +1 -0
- package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
- package/dist/types/excalidraw/renderer/helpers.d.ts +7 -2
- package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +1 -2
- package/dist/types/excalidraw/scene/index.d.ts +2 -2
- package/dist/types/excalidraw/scene/scrollbars.d.ts +2 -3
- package/dist/types/excalidraw/scene/types.d.ts +2 -0
- package/dist/types/excalidraw/snapping.d.ts +2 -2
- package/dist/types/excalidraw/types.d.ts +36 -15
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
- package/dist/types/math/src/angle.d.ts +2 -0
- package/dist/types/math/src/constants.d.ts +3 -0
- package/dist/types/math/src/curve.d.ts +34 -0
- package/dist/types/math/src/index.d.ts +1 -0
- package/dist/types/math/src/point.d.ts +1 -1
- package/dist/types/math/src/rectangle.d.ts +2 -0
- package/dist/types/math/src/segment.d.ts +1 -0
- package/dist/types/math/src/vector.d.ts +8 -2
- package/dist/types/utils/src/bbox.d.ts +1 -1
- package/dist/types/utils/src/index.d.ts +1 -1
- package/dist/types/utils/src/withinBounds.d.ts +1 -1
- package/history.ts +146 -109
- package/package.json +13 -10
- package/dist/dev/chunk-GBJ7S76A.js +0 -18599
- package/dist/dev/chunk-GBJ7S76A.js.map +0 -7
- package/dist/dev/chunk-GIMGG4AT.js +0 -7
- package/dist/dev/chunk-GIMGG4AT.js.map +0 -7
- package/dist/dev/chunk-X3RYHLJU.js.map +0 -7
- package/dist/prod/chunk-GKI4RZ6C.js +0 -7
- package/dist/prod/chunk-IUH5AXLB.js +0 -12
- package/dist/prod/chunk-TVF64BAY.js +0 -33
- package/dist/prod/data/image-CZ2OEVDB.js +0 -1
- package/dist/types/element/src/Shape.d.ts +0 -17
- package/dist/types/element/src/ShapeCache.d.ts +0 -25
- package/dist/types/element/src/shapes.d.ts +0 -23
- package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
- package/dist/types/excalidraw/store.d.ts +0 -129
- package/dist/types/excalidraw/visualdebug.d.ts +0 -41
- package/dist/types/utils/src/collision.d.ts +0 -8
- /package/dist/dev/data/{image-JN3Y4CVN.js.map → image-GQCFJKGM.js.map} +0 -0
- /package/dist/dev/locales/{en-CKWC2GMK.js.map → en-SMAPCEOQ.js.map} +0 -0
|
@@ -1,15 +1,56 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { LinearElementEditor } from "@excalidraw/element
|
|
2
|
+
import { LinearElementEditor } from "@excalidraw/element";
|
|
3
|
+
import type { LocalPoint } from "@excalidraw/math";
|
|
4
|
+
import type { ExcalidrawElement, ExcalidrawLinearElement, NonDeleted } from "@excalidraw/element/types";
|
|
3
5
|
import type { AppState } from "../types";
|
|
4
6
|
export declare const actionFinalize: {
|
|
5
7
|
name: "finalize";
|
|
6
8
|
label: string;
|
|
7
9
|
trackEvent: false;
|
|
8
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>,
|
|
10
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, data: any, app: import("../types").AppClassProperties) => {
|
|
11
|
+
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
12
|
+
appState: {
|
|
13
|
+
selectedLinearElement: {
|
|
14
|
+
selectedPointsIndices: null;
|
|
15
|
+
elementId: string & {
|
|
16
|
+
_brand: "excalidrawLinearElementId";
|
|
17
|
+
};
|
|
18
|
+
pointerDownState: Readonly<{
|
|
19
|
+
prevSelectedPointsIndices: readonly number[] | null;
|
|
20
|
+
lastClickedPoint: number;
|
|
21
|
+
lastClickedIsEndPoint: boolean;
|
|
22
|
+
origin: Readonly<{
|
|
23
|
+
x: number;
|
|
24
|
+
y: number;
|
|
25
|
+
}> | null;
|
|
26
|
+
segmentMidpoint: {
|
|
27
|
+
value: import("@excalidraw/math").GlobalPoint | null;
|
|
28
|
+
index: number | null;
|
|
29
|
+
added: boolean;
|
|
30
|
+
};
|
|
31
|
+
}>;
|
|
32
|
+
isDragging: boolean;
|
|
33
|
+
lastUncommittedPoint: LocalPoint | null;
|
|
34
|
+
pointerOffset: Readonly<{
|
|
35
|
+
x: number;
|
|
36
|
+
y: number;
|
|
37
|
+
}>;
|
|
38
|
+
startBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
|
|
39
|
+
endBindingElement: import("@excalidraw/element/types").ExcalidrawBindableElement | "keep" | null;
|
|
40
|
+
hoverPointIndex: number;
|
|
41
|
+
segmentMidPointHoveredCoords: import("@excalidraw/math").GlobalPoint | null;
|
|
42
|
+
elbowed: boolean;
|
|
43
|
+
customLineAngle: number | null;
|
|
44
|
+
isEditing: boolean;
|
|
45
|
+
};
|
|
46
|
+
suggestedBindings: never[];
|
|
47
|
+
};
|
|
48
|
+
captureUpdate: "IMMEDIATELY";
|
|
49
|
+
} | {
|
|
9
50
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[] | undefined;
|
|
10
51
|
appState: {
|
|
11
52
|
cursorButton: "up";
|
|
12
|
-
|
|
53
|
+
selectedLinearElement: LinearElementEditor;
|
|
13
54
|
contextMenu: {
|
|
14
55
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
15
56
|
top: number;
|
|
@@ -20,16 +61,16 @@ export declare const actionFinalize: {
|
|
|
20
61
|
errorMessage: import("react").ReactNode;
|
|
21
62
|
activeEmbeddable: {
|
|
22
63
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
23
|
-
state: "
|
|
64
|
+
state: "active" | "hover";
|
|
24
65
|
} | null;
|
|
25
|
-
newElement:
|
|
66
|
+
newElement: NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
26
67
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
27
|
-
multiElement:
|
|
68
|
+
multiElement: NonDeleted<ExcalidrawLinearElement> | null;
|
|
28
69
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
29
70
|
isBindingEnabled: boolean;
|
|
30
|
-
startBoundElement:
|
|
31
|
-
suggestedBindings: import("@excalidraw/element
|
|
32
|
-
frameToHighlight:
|
|
71
|
+
startBoundElement: NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
72
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
73
|
+
frameToHighlight: NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
33
74
|
frameRendering: {
|
|
34
75
|
enabled: boolean;
|
|
35
76
|
name: boolean;
|
|
@@ -37,7 +78,7 @@ export declare const actionFinalize: {
|
|
|
37
78
|
clip: boolean;
|
|
38
79
|
};
|
|
39
80
|
editingFrame: string | null;
|
|
40
|
-
elementsToHighlight:
|
|
81
|
+
elementsToHighlight: NonDeleted<ExcalidrawElement>[] | null;
|
|
41
82
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
42
83
|
activeTool: {
|
|
43
84
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -75,8 +116,8 @@ export declare const actionFinalize: {
|
|
|
75
116
|
zoom: Readonly<{
|
|
76
117
|
value: import("../types").NormalizedZoomValue;
|
|
77
118
|
}>;
|
|
78
|
-
openMenu: "
|
|
79
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
119
|
+
openMenu: "canvas" | "shape" | null;
|
|
120
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
80
121
|
openSidebar: {
|
|
81
122
|
name: string;
|
|
82
123
|
tab?: string | undefined;
|
|
@@ -85,7 +126,7 @@ export declare const actionFinalize: {
|
|
|
85
126
|
name: "imageExport" | "help" | "jsonExport";
|
|
86
127
|
} | {
|
|
87
128
|
name: "ttd";
|
|
88
|
-
tab: "text-to-diagram"
|
|
129
|
+
tab: "mermaid" | "text-to-diagram";
|
|
89
130
|
} | {
|
|
90
131
|
name: "commandPalette";
|
|
91
132
|
} | {
|
|
@@ -157,9 +198,7 @@ export declare const actionFinalize: {
|
|
|
157
198
|
shown: true;
|
|
158
199
|
data: import("../charts").Spreadsheet;
|
|
159
200
|
};
|
|
160
|
-
pendingImageElementId: string | null;
|
|
161
201
|
showHyperlinkPopup: false | "editor" | "info";
|
|
162
|
-
selectedLinearElement: LinearElementEditor | null;
|
|
163
202
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
164
203
|
originSnapOffset: {
|
|
165
204
|
x: number;
|
|
@@ -170,16 +209,15 @@ export declare const actionFinalize: {
|
|
|
170
209
|
followedBy: Set<import("../types").SocketId>;
|
|
171
210
|
isCropping: boolean;
|
|
172
211
|
croppingElementId: string | null;
|
|
173
|
-
searchMatches:
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
}[];
|
|
212
|
+
searchMatches: Readonly<{
|
|
213
|
+
focusedId: string | null;
|
|
214
|
+
matches: readonly import("../types").SearchMatch[];
|
|
215
|
+
}> | null;
|
|
216
|
+
activeLockedId: string | null;
|
|
217
|
+
lockedMultiSelections: {
|
|
218
|
+
[groupId: string]: true;
|
|
219
|
+
};
|
|
220
|
+
stylesPanelMode: "compact" | "full";
|
|
183
221
|
};
|
|
184
222
|
captureUpdate: "IMMEDIATELY";
|
|
185
223
|
} | {
|
|
@@ -202,7 +240,6 @@ export declare const actionFinalize: {
|
|
|
202
240
|
[id: string]: true;
|
|
203
241
|
}>;
|
|
204
242
|
selectedLinearElement: LinearElementEditor | null;
|
|
205
|
-
pendingImageElementId: null;
|
|
206
243
|
contextMenu: {
|
|
207
244
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
208
245
|
top: number;
|
|
@@ -213,7 +250,7 @@ export declare const actionFinalize: {
|
|
|
213
250
|
errorMessage: import("react").ReactNode;
|
|
214
251
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
215
252
|
isBindingEnabled: boolean;
|
|
216
|
-
frameToHighlight:
|
|
253
|
+
frameToHighlight: NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
217
254
|
frameRendering: {
|
|
218
255
|
enabled: boolean;
|
|
219
256
|
name: boolean;
|
|
@@ -221,8 +258,7 @@ export declare const actionFinalize: {
|
|
|
221
258
|
clip: boolean;
|
|
222
259
|
};
|
|
223
260
|
editingFrame: string | null;
|
|
224
|
-
elementsToHighlight:
|
|
225
|
-
editingLinearElement: LinearElementEditor | null;
|
|
261
|
+
elementsToHighlight: NonDeleted<ExcalidrawElement>[] | null;
|
|
226
262
|
penMode: boolean;
|
|
227
263
|
penDetected: boolean;
|
|
228
264
|
exportBackground: boolean;
|
|
@@ -254,8 +290,8 @@ export declare const actionFinalize: {
|
|
|
254
290
|
zoom: Readonly<{
|
|
255
291
|
value: import("../types").NormalizedZoomValue;
|
|
256
292
|
}>;
|
|
257
|
-
openMenu: "
|
|
258
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
293
|
+
openMenu: "canvas" | "shape" | null;
|
|
294
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
259
295
|
openSidebar: {
|
|
260
296
|
name: string;
|
|
261
297
|
tab?: string | undefined;
|
|
@@ -264,7 +300,7 @@ export declare const actionFinalize: {
|
|
|
264
300
|
name: "imageExport" | "help" | "jsonExport";
|
|
265
301
|
} | {
|
|
266
302
|
name: "ttd";
|
|
267
|
-
tab: "text-to-diagram"
|
|
303
|
+
tab: "mermaid" | "text-to-diagram";
|
|
268
304
|
} | {
|
|
269
305
|
name: "commandPalette";
|
|
270
306
|
} | {
|
|
@@ -344,16 +380,15 @@ export declare const actionFinalize: {
|
|
|
344
380
|
followedBy: Set<import("../types").SocketId>;
|
|
345
381
|
isCropping: boolean;
|
|
346
382
|
croppingElementId: string | null;
|
|
347
|
-
searchMatches:
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
}[];
|
|
383
|
+
searchMatches: Readonly<{
|
|
384
|
+
focusedId: string | null;
|
|
385
|
+
matches: readonly import("../types").SearchMatch[];
|
|
386
|
+
}> | null;
|
|
387
|
+
activeLockedId: string | null;
|
|
388
|
+
lockedMultiSelections: {
|
|
389
|
+
[groupId: string]: true;
|
|
390
|
+
};
|
|
391
|
+
stylesPanelMode: "compact" | "full";
|
|
357
392
|
};
|
|
358
393
|
captureUpdate: "IMMEDIATELY";
|
|
359
394
|
};
|