@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
|
@@ -34,7 +34,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
34
34
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
35
35
|
isBindingEnabled: boolean;
|
|
36
36
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
37
|
-
suggestedBindings: import("@excalidraw/element
|
|
37
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
38
38
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
39
39
|
frameRendering: {
|
|
40
40
|
enabled: boolean;
|
|
@@ -45,7 +45,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
45
45
|
editingFrame: string | null;
|
|
46
46
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
47
47
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
48
|
-
editingLinearElement: import("@excalidraw/element
|
|
48
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
49
49
|
activeTool: {
|
|
50
50
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
51
51
|
locked: boolean;
|
|
@@ -71,7 +71,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
71
71
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
72
72
|
currentHoveredFontFamily: number | null;
|
|
73
73
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
74
|
-
currentItemArrowType: "
|
|
74
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
75
75
|
viewBackgroundColor: string;
|
|
76
76
|
scrollX: number;
|
|
77
77
|
scrollY: number;
|
|
@@ -164,9 +164,8 @@ export declare const actionToggleCanvasMenu: {
|
|
|
164
164
|
shown: true;
|
|
165
165
|
data: import("../charts").Spreadsheet;
|
|
166
166
|
};
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
167
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
168
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
170
169
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
171
170
|
originSnapOffset: {
|
|
172
171
|
x: number;
|
|
@@ -177,16 +176,14 @@ export declare const actionToggleCanvasMenu: {
|
|
|
177
176
|
followedBy: Set<import("../types").SocketId>;
|
|
178
177
|
isCropping: boolean;
|
|
179
178
|
croppingElementId: string | null;
|
|
180
|
-
searchMatches:
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
}[];
|
|
189
|
-
}[];
|
|
179
|
+
searchMatches: Readonly<{
|
|
180
|
+
focusedId: string | null;
|
|
181
|
+
matches: readonly import("../types").SearchMatch[];
|
|
182
|
+
}> | null;
|
|
183
|
+
activeLockedId: string | null;
|
|
184
|
+
lockedMultiSelections: {
|
|
185
|
+
[groupId: string]: true;
|
|
186
|
+
};
|
|
190
187
|
};
|
|
191
188
|
captureUpdate: "EVENTUALLY";
|
|
192
189
|
};
|
|
@@ -229,7 +226,7 @@ export declare const actionToggleEditMenu: {
|
|
|
229
226
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
230
227
|
isBindingEnabled: boolean;
|
|
231
228
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
232
|
-
suggestedBindings: import("@excalidraw/element
|
|
229
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
233
230
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
234
231
|
frameRendering: {
|
|
235
232
|
enabled: boolean;
|
|
@@ -240,7 +237,7 @@ export declare const actionToggleEditMenu: {
|
|
|
240
237
|
editingFrame: string | null;
|
|
241
238
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
242
239
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
243
|
-
editingLinearElement: import("@excalidraw/element
|
|
240
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
244
241
|
activeTool: {
|
|
245
242
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
246
243
|
locked: boolean;
|
|
@@ -266,7 +263,7 @@ export declare const actionToggleEditMenu: {
|
|
|
266
263
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
267
264
|
currentHoveredFontFamily: number | null;
|
|
268
265
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
269
|
-
currentItemArrowType: "
|
|
266
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
270
267
|
viewBackgroundColor: string;
|
|
271
268
|
scrollX: number;
|
|
272
269
|
scrollY: number;
|
|
@@ -359,9 +356,8 @@ export declare const actionToggleEditMenu: {
|
|
|
359
356
|
shown: true;
|
|
360
357
|
data: import("../charts").Spreadsheet;
|
|
361
358
|
};
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
359
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
360
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
365
361
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
366
362
|
originSnapOffset: {
|
|
367
363
|
x: number;
|
|
@@ -372,16 +368,14 @@ export declare const actionToggleEditMenu: {
|
|
|
372
368
|
followedBy: Set<import("../types").SocketId>;
|
|
373
369
|
isCropping: boolean;
|
|
374
370
|
croppingElementId: string | null;
|
|
375
|
-
searchMatches:
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
}[];
|
|
384
|
-
}[];
|
|
371
|
+
searchMatches: Readonly<{
|
|
372
|
+
focusedId: string | null;
|
|
373
|
+
matches: readonly import("../types").SearchMatch[];
|
|
374
|
+
}> | null;
|
|
375
|
+
activeLockedId: string | null;
|
|
376
|
+
lockedMultiSelections: {
|
|
377
|
+
[groupId: string]: true;
|
|
378
|
+
};
|
|
385
379
|
};
|
|
386
380
|
captureUpdate: "EVENTUALLY";
|
|
387
381
|
};
|
|
@@ -429,7 +423,7 @@ export declare const actionShortcuts: {
|
|
|
429
423
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
430
424
|
isBindingEnabled: boolean;
|
|
431
425
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
432
|
-
suggestedBindings: import("@excalidraw/element
|
|
426
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
433
427
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
434
428
|
frameRendering: {
|
|
435
429
|
enabled: boolean;
|
|
@@ -440,7 +434,7 @@ export declare const actionShortcuts: {
|
|
|
440
434
|
editingFrame: string | null;
|
|
441
435
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
442
436
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
443
|
-
editingLinearElement: import("@excalidraw/element
|
|
437
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
444
438
|
activeTool: {
|
|
445
439
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
446
440
|
locked: boolean;
|
|
@@ -466,7 +460,7 @@ export declare const actionShortcuts: {
|
|
|
466
460
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
467
461
|
currentHoveredFontFamily: number | null;
|
|
468
462
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
469
|
-
currentItemArrowType: "
|
|
463
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
470
464
|
viewBackgroundColor: string;
|
|
471
465
|
scrollX: number;
|
|
472
466
|
scrollY: number;
|
|
@@ -478,7 +472,7 @@ export declare const actionShortcuts: {
|
|
|
478
472
|
zoom: Readonly<{
|
|
479
473
|
value: import("../types").NormalizedZoomValue;
|
|
480
474
|
}>;
|
|
481
|
-
openMenu: "
|
|
475
|
+
openMenu: "canvas" | "shape" | null;
|
|
482
476
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
483
477
|
openSidebar: {
|
|
484
478
|
name: string;
|
|
@@ -549,9 +543,8 @@ export declare const actionShortcuts: {
|
|
|
549
543
|
shown: true;
|
|
550
544
|
data: import("../charts").Spreadsheet;
|
|
551
545
|
};
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
546
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
547
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
555
548
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
556
549
|
originSnapOffset: {
|
|
557
550
|
x: number;
|
|
@@ -562,20 +555,18 @@ export declare const actionShortcuts: {
|
|
|
562
555
|
followedBy: Set<import("../types").SocketId>;
|
|
563
556
|
isCropping: boolean;
|
|
564
557
|
croppingElementId: string | null;
|
|
565
|
-
searchMatches:
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
}[];
|
|
574
|
-
}[];
|
|
558
|
+
searchMatches: Readonly<{
|
|
559
|
+
focusedId: string | null;
|
|
560
|
+
matches: readonly import("../types").SearchMatch[];
|
|
561
|
+
}> | null;
|
|
562
|
+
activeLockedId: string | null;
|
|
563
|
+
lockedMultiSelections: {
|
|
564
|
+
[groupId: string]: true;
|
|
565
|
+
};
|
|
575
566
|
};
|
|
576
567
|
captureUpdate: "EVENTUALLY";
|
|
577
568
|
};
|
|
578
|
-
keyTest: (event:
|
|
569
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
579
570
|
} & {
|
|
580
|
-
keyTest?: ((event:
|
|
571
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
581
572
|
};
|
|
@@ -36,7 +36,7 @@ export declare const actionGoToCollaborator: {
|
|
|
36
36
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
37
37
|
isBindingEnabled: boolean;
|
|
38
38
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
39
|
-
suggestedBindings: import("@excalidraw/element
|
|
39
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
40
40
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
41
41
|
frameRendering: {
|
|
42
42
|
enabled: boolean;
|
|
@@ -47,7 +47,7 @@ export declare const actionGoToCollaborator: {
|
|
|
47
47
|
editingFrame: string | null;
|
|
48
48
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
49
49
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
50
|
-
editingLinearElement: import("@excalidraw/element
|
|
50
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
51
51
|
activeTool: {
|
|
52
52
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
53
53
|
locked: boolean;
|
|
@@ -73,7 +73,7 @@ export declare const actionGoToCollaborator: {
|
|
|
73
73
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
74
74
|
currentHoveredFontFamily: number | null;
|
|
75
75
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
76
|
-
currentItemArrowType: "
|
|
76
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
77
77
|
viewBackgroundColor: string;
|
|
78
78
|
scrollX: number;
|
|
79
79
|
scrollY: number;
|
|
@@ -85,7 +85,7 @@ export declare const actionGoToCollaborator: {
|
|
|
85
85
|
zoom: Readonly<{
|
|
86
86
|
value: import("../types").NormalizedZoomValue;
|
|
87
87
|
}>;
|
|
88
|
-
openMenu: "
|
|
88
|
+
openMenu: "canvas" | "shape" | null;
|
|
89
89
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
90
90
|
openSidebar: {
|
|
91
91
|
name: string;
|
|
@@ -167,9 +167,8 @@ export declare const actionGoToCollaborator: {
|
|
|
167
167
|
shown: true;
|
|
168
168
|
data: import("../charts").Spreadsheet;
|
|
169
169
|
};
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
170
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
171
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
173
172
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
174
173
|
originSnapOffset: {
|
|
175
174
|
x: number;
|
|
@@ -179,16 +178,14 @@ export declare const actionGoToCollaborator: {
|
|
|
179
178
|
followedBy: Set<import("../types").SocketId>;
|
|
180
179
|
isCropping: boolean;
|
|
181
180
|
croppingElementId: string | null;
|
|
182
|
-
searchMatches:
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
}[];
|
|
191
|
-
}[];
|
|
181
|
+
searchMatches: Readonly<{
|
|
182
|
+
focusedId: string | null;
|
|
183
|
+
matches: readonly import("../types").SearchMatch[];
|
|
184
|
+
}> | null;
|
|
185
|
+
activeLockedId: string | null;
|
|
186
|
+
lockedMultiSelections: {
|
|
187
|
+
[groupId: string]: true;
|
|
188
|
+
};
|
|
192
189
|
};
|
|
193
190
|
captureUpdate: "EVENTUALLY";
|
|
194
191
|
} | {
|
|
@@ -224,7 +221,7 @@ export declare const actionGoToCollaborator: {
|
|
|
224
221
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
225
222
|
isBindingEnabled: boolean;
|
|
226
223
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
227
|
-
suggestedBindings: import("@excalidraw/element
|
|
224
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
228
225
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
229
226
|
frameRendering: {
|
|
230
227
|
enabled: boolean;
|
|
@@ -235,7 +232,7 @@ export declare const actionGoToCollaborator: {
|
|
|
235
232
|
editingFrame: string | null;
|
|
236
233
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
237
234
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
238
|
-
editingLinearElement: import("@excalidraw/element
|
|
235
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
239
236
|
activeTool: {
|
|
240
237
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
241
238
|
locked: boolean;
|
|
@@ -261,7 +258,7 @@ export declare const actionGoToCollaborator: {
|
|
|
261
258
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
262
259
|
currentHoveredFontFamily: number | null;
|
|
263
260
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
264
|
-
currentItemArrowType: "
|
|
261
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
265
262
|
viewBackgroundColor: string;
|
|
266
263
|
scrollX: number;
|
|
267
264
|
scrollY: number;
|
|
@@ -354,9 +351,8 @@ export declare const actionGoToCollaborator: {
|
|
|
354
351
|
shown: true;
|
|
355
352
|
data: import("../charts").Spreadsheet;
|
|
356
353
|
};
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
354
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
355
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
360
356
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
361
357
|
originSnapOffset: {
|
|
362
358
|
x: number;
|
|
@@ -366,16 +362,14 @@ export declare const actionGoToCollaborator: {
|
|
|
366
362
|
followedBy: Set<import("../types").SocketId>;
|
|
367
363
|
isCropping: boolean;
|
|
368
364
|
croppingElementId: string | null;
|
|
369
|
-
searchMatches:
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
}[];
|
|
378
|
-
}[];
|
|
365
|
+
searchMatches: Readonly<{
|
|
366
|
+
focusedId: string | null;
|
|
367
|
+
matches: readonly import("../types").SearchMatch[];
|
|
368
|
+
}> | null;
|
|
369
|
+
activeLockedId: string | null;
|
|
370
|
+
lockedMultiSelections: {
|
|
371
|
+
[groupId: string]: true;
|
|
372
|
+
};
|
|
379
373
|
};
|
|
380
374
|
captureUpdate: "EVENTUALLY";
|
|
381
375
|
};
|