@myoc/excalidraw 0.18.16 → 0.18.18
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-3HLOFB5F.js → chunk-MAGRVBVM.js} +13453 -10629
- package/dist/dev/chunk-MAGRVBVM.js.map +7 -0
- package/dist/dev/{chunk-PEI7EPYO.js → chunk-QO4EFL6B.js} +15 -5
- package/dist/dev/chunk-QO4EFL6B.js.map +7 -0
- package/dist/dev/chunk-WUH7JFG4.js +7 -0
- package/dist/dev/chunk-WUH7JFG4.js.map +7 -0
- package/dist/dev/data/{image-XPEIZ6XQ.js → image-BBHDGXQ3.js} +3 -3
- package/dist/dev/index.css +101 -24
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +6587 -7610
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-R455UJTM.js → en-2WXBKZE2.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-4Z2WWUCC.js +7 -0
- package/dist/prod/chunk-KZXLT4YB.js +12 -0
- package/dist/prod/chunk-YBT3HBS6.js +33 -0
- package/dist/prod/data/image-JFILZTP3.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +18 -17
- package/dist/prod/locales/{en-YWERZJD6.js → en-XFR6MADM.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 +19 -2
- 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/points.d.ts +1 -1
- package/dist/types/common/src/utility-types.d.ts +5 -0
- package/dist/types/common/src/utils.d.ts +17 -7
- package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +11 -14
- package/dist/types/element/src/align.d.ts +3 -3
- package/dist/types/element/src/arrange.d.ts +2 -1
- package/dist/types/element/src/binding.d.ts +21 -14
- package/dist/types/element/src/bounds.d.ts +11 -5
- 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} +63 -38
- package/dist/types/element/src/distance.d.ts +2 -2
- package/dist/types/element/src/dragElements.d.ts +3 -2
- package/dist/types/element/src/elbowArrow.d.ts +2 -2
- 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/heading.d.ts +2 -2
- package/dist/types/element/src/index.d.ts +43 -2
- package/dist/types/element/src/linearElementEditor.d.ts +21 -32
- 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/resizeElements.d.ts +5 -4
- package/dist/types/element/src/resizeTest.d.ts +2 -2
- package/dist/types/element/src/selection.d.ts +1 -6
- package/dist/types/element/src/shape.d.ts +42 -0
- package/dist/types/element/src/shapes.d.ts +10 -10
- package/dist/types/element/src/sizeHelpers.d.ts +2 -2
- package/dist/types/element/src/store.d.ts +231 -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 +5 -1
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +42 -51
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionArrange.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +28 -34
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +187 -223
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +87 -104
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +41 -49
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +43 -50
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionExport.d.ts +219 -246
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +74 -40
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +100 -112
- package/dist/types/excalidraw/actions/actionGroup.d.ts +34 -40
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +506 -16
- 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 +27 -33
- package/dist/types/excalidraw/actions/actionProperties.d.ts +206 -243
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +16 -19
- package/dist/types/excalidraw/actions/actionSmartZoom.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionStyles.d.ts +18 -21
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +16 -19
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +16 -19
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +16 -200
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +16 -19
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +16 -19
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +16 -19
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/actions/types.d.ts +4 -3
- package/dist/types/excalidraw/appState.d.ts +40 -31
- package/dist/types/excalidraw/components/App.d.ts +15 -17
- 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 +5 -1
- 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/{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 +1 -1
- 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/dropdownMenu/common.d.ts +1 -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 +3 -0
- package/dist/types/excalidraw/components/shapes.d.ts +1 -1
- package/dist/types/excalidraw/data/blob.d.ts +1 -1
- package/dist/types/excalidraw/data/transform.d.ts +1 -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/index.d.ts +9 -9
- 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/scene/Renderer.d.ts +1 -2
- package/dist/types/excalidraw/scene/index.d.ts +2 -2
- package/dist/types/excalidraw/snapping.d.ts +2 -2
- package/dist/types/excalidraw/types.d.ts +25 -10
- package/dist/types/excalidraw/visualdebug.d.ts +1 -1
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
- package/dist/types/math/src/angle.d.ts +3 -1
- 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/ellipse.d.ts +3 -3
- package/dist/types/math/src/index.d.ts +1 -0
- package/dist/types/math/src/point.d.ts +3 -3
- package/dist/types/math/src/polygon.d.ts +2 -2
- package/dist/types/math/src/segment.d.ts +5 -5
- package/dist/types/math/src/utils.d.ts +2 -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/shape.d.ts +12 -12
- package/dist/types/utils/src/withinBounds.d.ts +1 -1
- package/history.ts +147 -110
- package/package.json +4 -4
- package/dist/dev/chunk-3HLOFB5F.js.map +0 -7
- package/dist/dev/chunk-PEI7EPYO.js.map +0 -7
- package/dist/dev/chunk-QQGTICP4.js +0 -7
- package/dist/dev/chunk-QQGTICP4.js.map +0 -7
- package/dist/prod/chunk-7HNFGNL7.js +0 -7
- package/dist/prod/chunk-KKQVTSHB.js +0 -33
- package/dist/prod/chunk-KZWZ7WHC.js +0 -12
- package/dist/prod/data/image-QD7FUQED.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/excalidraw/components/ButtonSelect.d.ts +0 -9
- package/dist/types/excalidraw/store.d.ts +0 -129
- package/dist/types/utils/src/collision.d.ts +0 -8
- /package/dist/dev/data/{image-XPEIZ6XQ.js.map → image-BBHDGXQ3.js.map} +0 -0
- /package/dist/dev/locales/{en-R455UJTM.js.map → en-2WXBKZE2.js.map} +0 -0
|
@@ -1,11 +1,51 @@
|
|
|
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
|
+
};
|
|
45
|
+
suggestedBindings: never[];
|
|
46
|
+
};
|
|
47
|
+
captureUpdate: "IMMEDIATELY";
|
|
48
|
+
} | {
|
|
9
49
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[] | undefined;
|
|
10
50
|
appState: {
|
|
11
51
|
cursorButton: "up";
|
|
@@ -30,14 +70,14 @@ export declare const actionFinalize: {
|
|
|
30
70
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
31
71
|
state: "hover" | "active";
|
|
32
72
|
} | null;
|
|
33
|
-
newElement:
|
|
73
|
+
newElement: NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
34
74
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
35
|
-
multiElement:
|
|
75
|
+
multiElement: NonDeleted<ExcalidrawLinearElement> | null;
|
|
36
76
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
37
77
|
isBindingEnabled: boolean;
|
|
38
|
-
startBoundElement:
|
|
39
|
-
suggestedBindings: import("@excalidraw/element
|
|
40
|
-
frameToHighlight:
|
|
78
|
+
startBoundElement: NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
79
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
80
|
+
frameToHighlight: NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
41
81
|
frameRendering: {
|
|
42
82
|
enabled: boolean;
|
|
43
83
|
name: boolean;
|
|
@@ -45,7 +85,7 @@ export declare const actionFinalize: {
|
|
|
45
85
|
clip: boolean;
|
|
46
86
|
};
|
|
47
87
|
editingFrame: string | null;
|
|
48
|
-
elementsToHighlight:
|
|
88
|
+
elementsToHighlight: NonDeleted<ExcalidrawElement>[] | null;
|
|
49
89
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
50
90
|
activeTool: {
|
|
51
91
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -72,7 +112,7 @@ export declare const actionFinalize: {
|
|
|
72
112
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
73
113
|
currentHoveredFontFamily: number | null;
|
|
74
114
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
75
|
-
currentItemArrowType: "
|
|
115
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
76
116
|
viewBackgroundColor: string;
|
|
77
117
|
scrollX: number;
|
|
78
118
|
scrollY: number;
|
|
@@ -83,7 +123,7 @@ export declare const actionFinalize: {
|
|
|
83
123
|
zoom: Readonly<{
|
|
84
124
|
value: import("../types").NormalizedZoomValue;
|
|
85
125
|
}>;
|
|
86
|
-
openMenu: "
|
|
126
|
+
openMenu: "canvas" | "shape" | null;
|
|
87
127
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
88
128
|
openSidebar: {
|
|
89
129
|
name: string;
|
|
@@ -165,8 +205,7 @@ export declare const actionFinalize: {
|
|
|
165
205
|
shown: true;
|
|
166
206
|
data: import("../charts").Spreadsheet;
|
|
167
207
|
};
|
|
168
|
-
|
|
169
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
208
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
170
209
|
selectedLinearElement: LinearElementEditor | null;
|
|
171
210
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
172
211
|
originSnapOffset: {
|
|
@@ -178,16 +217,14 @@ export declare const actionFinalize: {
|
|
|
178
217
|
followedBy: Set<import("../types").SocketId>;
|
|
179
218
|
isCropping: boolean;
|
|
180
219
|
croppingElementId: string | null;
|
|
181
|
-
searchMatches:
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
}[];
|
|
190
|
-
}[];
|
|
220
|
+
searchMatches: Readonly<{
|
|
221
|
+
focusedId: string | null;
|
|
222
|
+
matches: readonly import("../types").SearchMatch[];
|
|
223
|
+
}> | null;
|
|
224
|
+
activeLockedId: string | null;
|
|
225
|
+
lockedMultiSelections: {
|
|
226
|
+
[groupId: string]: true;
|
|
227
|
+
};
|
|
191
228
|
};
|
|
192
229
|
captureUpdate: "IMMEDIATELY";
|
|
193
230
|
} | {
|
|
@@ -210,7 +247,6 @@ export declare const actionFinalize: {
|
|
|
210
247
|
[id: string]: true;
|
|
211
248
|
}>;
|
|
212
249
|
selectedLinearElement: LinearElementEditor | null;
|
|
213
|
-
pendingImageElementId: null;
|
|
214
250
|
contextMenu: {
|
|
215
251
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
216
252
|
top: number;
|
|
@@ -229,7 +265,7 @@ export declare const actionFinalize: {
|
|
|
229
265
|
errorMessage: import("react").ReactNode;
|
|
230
266
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
231
267
|
isBindingEnabled: boolean;
|
|
232
|
-
frameToHighlight:
|
|
268
|
+
frameToHighlight: NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
233
269
|
frameRendering: {
|
|
234
270
|
enabled: boolean;
|
|
235
271
|
name: boolean;
|
|
@@ -237,7 +273,7 @@ export declare const actionFinalize: {
|
|
|
237
273
|
clip: boolean;
|
|
238
274
|
};
|
|
239
275
|
editingFrame: string | null;
|
|
240
|
-
elementsToHighlight:
|
|
276
|
+
elementsToHighlight: NonDeleted<ExcalidrawElement>[] | null;
|
|
241
277
|
editingLinearElement: LinearElementEditor | null;
|
|
242
278
|
penMode: boolean;
|
|
243
279
|
penDetected: boolean;
|
|
@@ -259,7 +295,7 @@ export declare const actionFinalize: {
|
|
|
259
295
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
260
296
|
currentHoveredFontFamily: number | null;
|
|
261
297
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
262
|
-
currentItemArrowType: "
|
|
298
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
263
299
|
viewBackgroundColor: string;
|
|
264
300
|
scrollX: number;
|
|
265
301
|
scrollY: number;
|
|
@@ -270,7 +306,7 @@ export declare const actionFinalize: {
|
|
|
270
306
|
zoom: Readonly<{
|
|
271
307
|
value: import("../types").NormalizedZoomValue;
|
|
272
308
|
}>;
|
|
273
|
-
openMenu: "
|
|
309
|
+
openMenu: "canvas" | "shape" | null;
|
|
274
310
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
275
311
|
openSidebar: {
|
|
276
312
|
name: string;
|
|
@@ -349,7 +385,7 @@ export declare const actionFinalize: {
|
|
|
349
385
|
shown: true;
|
|
350
386
|
data: import("../charts").Spreadsheet;
|
|
351
387
|
};
|
|
352
|
-
showHyperlinkPopup: false | "
|
|
388
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
353
389
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
354
390
|
originSnapOffset: {
|
|
355
391
|
x: number;
|
|
@@ -360,21 +396,19 @@ export declare const actionFinalize: {
|
|
|
360
396
|
followedBy: Set<import("../types").SocketId>;
|
|
361
397
|
isCropping: boolean;
|
|
362
398
|
croppingElementId: string | null;
|
|
363
|
-
searchMatches:
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
}[];
|
|
372
|
-
}[];
|
|
399
|
+
searchMatches: Readonly<{
|
|
400
|
+
focusedId: string | null;
|
|
401
|
+
matches: readonly import("../types").SearchMatch[];
|
|
402
|
+
}> | null;
|
|
403
|
+
activeLockedId: string | null;
|
|
404
|
+
lockedMultiSelections: {
|
|
405
|
+
[groupId: string]: true;
|
|
406
|
+
};
|
|
373
407
|
};
|
|
374
408
|
captureUpdate: "IMMEDIATELY";
|
|
375
409
|
};
|
|
376
|
-
keyTest: (event:
|
|
410
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent, appState: AppState) => boolean;
|
|
377
411
|
PanelComponent: ({ appState, updateData, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
378
412
|
} & {
|
|
379
|
-
keyTest?: ((event:
|
|
413
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent, appState: AppState) => boolean) | undefined;
|
|
380
414
|
};
|
|
@@ -13,9 +13,9 @@ export declare const actionFlipHorizontal: {
|
|
|
13
13
|
appState: Readonly<AppState>;
|
|
14
14
|
captureUpdate: "IMMEDIATELY";
|
|
15
15
|
};
|
|
16
|
-
keyTest: (event:
|
|
16
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
17
17
|
} & {
|
|
18
|
-
keyTest?: ((event:
|
|
18
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
19
19
|
};
|
|
20
20
|
export declare const actionFlipVertical: {
|
|
21
21
|
name: "flipVertical";
|
|
@@ -29,7 +29,7 @@ export declare const actionFlipVertical: {
|
|
|
29
29
|
appState: Readonly<AppState>;
|
|
30
30
|
captureUpdate: "IMMEDIATELY";
|
|
31
31
|
};
|
|
32
|
-
keyTest: (event:
|
|
32
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
33
33
|
} & {
|
|
34
|
-
keyTest?: ((event:
|
|
34
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
35
35
|
};
|