@excalidraw/excalidraw 0.18.0-195a743 → 0.18.0-298812e
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-T3M44BFV.js → chunk-JCUIYZXF.js} +7 -3
- package/dist/dev/chunk-JCUIYZXF.js.map +7 -0
- package/dist/dev/{chunk-WMGEUIQQ.js → chunk-RQWTCZLD.js} +2 -2
- package/dist/dev/{chunk-H3EW23X2.js → chunk-ZPGIVNNG.js} +14840 -9652
- package/dist/dev/chunk-ZPGIVNNG.js.map +7 -0
- package/dist/dev/data/{image-TTQKTTOH.js → image-CB4ZYE3A.js} +3 -3
- package/dist/dev/index.css +38 -2
- package/dist/dev/index.css.map +2 -2
- package/dist/dev/index.js +857 -5250
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-I23TB6DJ.js → en-ZDTPSZNL.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-GK4XUKZB.js → chunk-7TMLMBQX.js} +1 -1
- package/dist/prod/{chunk-2Z7RPVPO.js → chunk-GCFVWREF.js} +3 -3
- package/dist/prod/chunk-WFJFO6F4.js +33 -0
- package/dist/prod/data/image-XJI4SWH2.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +18 -18
- package/dist/prod/locales/{en-TC3OFDA6.js → en-MHZ26NAR.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 +1 -0
- 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 +16 -4
- package/dist/types/element/src/Scene.d.ts +4 -4
- package/dist/types/element/src/ShapeCache.d.ts +1 -1
- package/dist/types/element/src/align.d.ts +1 -1
- package/dist/types/element/src/binding.d.ts +1 -1
- package/dist/types/element/src/bounds.d.ts +1 -1
- package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +40 -35
- package/dist/types/element/src/dragElements.d.ts +1 -1
- package/dist/types/element/src/flowchart.d.ts +1 -1
- package/dist/types/element/src/frame.d.ts +3 -2
- package/dist/types/element/src/index.d.ts +45 -2
- package/dist/types/element/src/linearElementEditor.d.ts +4 -8
- package/dist/types/element/src/newElement.d.ts +1 -1
- package/dist/types/element/src/resizeElements.d.ts +1 -1
- package/dist/types/element/src/selection.d.ts +1 -6
- package/dist/types/element/src/store.d.ts +227 -0
- package/dist/types/element/src/textElement.d.ts +1 -1
- package/dist/types/element/src/transformHandles.d.ts +4 -4
- package/dist/types/element/src/typeChecks.d.ts +2 -1
- package/dist/types/element/src/types.d.ts +6 -1
- package/dist/types/element/src/zindex.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +24 -42
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +16 -28
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +194 -272
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +50 -86
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +8 -14
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +22 -40
- 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 +8 -14
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +18 -30
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +8 -14
- package/dist/types/excalidraw/actions/actionExport.d.ts +159 -213
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +14 -26
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +76 -100
- package/dist/types/excalidraw/actions/actionGroup.d.ts +22 -34
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +7 -13
- package/dist/types/excalidraw/actions/actionLink.d.ts +9 -15
- package/dist/types/excalidraw/actions/actionMenu.d.ts +26 -44
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +16 -28
- package/dist/types/excalidraw/actions/actionProperties.d.ts +106 -196
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionStyles.d.ts +12 -18
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +10 -189
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionZindex.d.ts +10 -10
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +23 -23
- package/dist/types/excalidraw/components/App.d.ts +9 -9
- 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 +2 -28
- package/dist/types/excalidraw/components/ElementLinkDialog.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 +2 -1
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -1
- package/dist/types/excalidraw/components/icons.d.ts +1 -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/fonts/Fonts.d.ts +1 -1
- package/dist/types/excalidraw/history.d.ts +14 -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/renderer/helpers.d.ts +6 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +1 -1
- 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 +13 -6
- package/dist/types/excalidraw/visualdebug.d.ts +1 -1
- package/dist/types/math/src/curve.d.ts +2 -0
- package/dist/types/math/src/vector.d.ts +4 -0
- 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 +68 -94
- package/package.json +3 -3
- package/dist/dev/chunk-H3EW23X2.js.map +0 -7
- package/dist/dev/chunk-T3M44BFV.js.map +0 -7
- package/dist/prod/chunk-7M43VNIB.js +0 -33
- package/dist/prod/data/image-7YYIWLVQ.js +0 -1
- package/dist/types/excalidraw/store.d.ts +0 -129
- /package/dist/dev/{chunk-WMGEUIQQ.js.map → chunk-RQWTCZLD.js.map} +0 -0
- /package/dist/dev/data/{image-TTQKTTOH.js.map → image-CB4ZYE3A.js.map} +0 -0
- /package/dist/dev/locales/{en-I23TB6DJ.js.map → en-ZDTPSZNL.js.map} +0 -0
|
@@ -26,7 +26,7 @@ export declare const actionChangeProjectName: {
|
|
|
26
26
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
27
27
|
isBindingEnabled: boolean;
|
|
28
28
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
29
|
-
suggestedBindings: import("@excalidraw/element
|
|
29
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
30
30
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
31
31
|
frameRendering: {
|
|
32
32
|
enabled: boolean;
|
|
@@ -37,7 +37,7 @@ export declare const actionChangeProjectName: {
|
|
|
37
37
|
editingFrame: string | null;
|
|
38
38
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
39
39
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
40
|
-
editingLinearElement: import("@excalidraw/element
|
|
40
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
41
41
|
activeTool: {
|
|
42
42
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
43
43
|
locked: boolean;
|
|
@@ -157,8 +157,8 @@ export declare const actionChangeProjectName: {
|
|
|
157
157
|
data: import("../charts").Spreadsheet;
|
|
158
158
|
};
|
|
159
159
|
pendingImageElementId: string | null;
|
|
160
|
-
showHyperlinkPopup: false | "
|
|
161
|
-
selectedLinearElement: import("@excalidraw/element
|
|
160
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
161
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
162
162
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
163
163
|
originSnapOffset: {
|
|
164
164
|
x: number;
|
|
@@ -169,16 +169,10 @@ export declare const actionChangeProjectName: {
|
|
|
169
169
|
followedBy: Set<import("../types").SocketId>;
|
|
170
170
|
isCropping: boolean;
|
|
171
171
|
croppingElementId: string | null;
|
|
172
|
-
searchMatches:
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
offsetX: number;
|
|
177
|
-
offsetY: number;
|
|
178
|
-
width: number;
|
|
179
|
-
height: number;
|
|
180
|
-
}[];
|
|
181
|
-
}[];
|
|
172
|
+
searchMatches: Readonly<{
|
|
173
|
+
focusedId: string | null;
|
|
174
|
+
matches: readonly import("../types").SearchMatch[];
|
|
175
|
+
}> | null;
|
|
182
176
|
};
|
|
183
177
|
captureUpdate: "EVENTUALLY";
|
|
184
178
|
};
|
|
@@ -214,7 +208,7 @@ export declare const actionChangeExportScale: {
|
|
|
214
208
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
215
209
|
isBindingEnabled: boolean;
|
|
216
210
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
217
|
-
suggestedBindings: import("@excalidraw/element
|
|
211
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
218
212
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
219
213
|
frameRendering: {
|
|
220
214
|
enabled: boolean;
|
|
@@ -225,7 +219,7 @@ export declare const actionChangeExportScale: {
|
|
|
225
219
|
editingFrame: string | null;
|
|
226
220
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
227
221
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
228
|
-
editingLinearElement: import("@excalidraw/element
|
|
222
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
229
223
|
activeTool: {
|
|
230
224
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
231
225
|
locked: boolean;
|
|
@@ -345,8 +339,8 @@ export declare const actionChangeExportScale: {
|
|
|
345
339
|
data: import("../charts").Spreadsheet;
|
|
346
340
|
};
|
|
347
341
|
pendingImageElementId: string | null;
|
|
348
|
-
showHyperlinkPopup: false | "
|
|
349
|
-
selectedLinearElement: import("@excalidraw/element
|
|
342
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
343
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
350
344
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
351
345
|
originSnapOffset: {
|
|
352
346
|
x: number;
|
|
@@ -357,16 +351,10 @@ export declare const actionChangeExportScale: {
|
|
|
357
351
|
followedBy: Set<import("../types").SocketId>;
|
|
358
352
|
isCropping: boolean;
|
|
359
353
|
croppingElementId: string | null;
|
|
360
|
-
searchMatches:
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
offsetX: number;
|
|
365
|
-
offsetY: number;
|
|
366
|
-
width: number;
|
|
367
|
-
height: number;
|
|
368
|
-
}[];
|
|
369
|
-
}[];
|
|
354
|
+
searchMatches: Readonly<{
|
|
355
|
+
focusedId: string | null;
|
|
356
|
+
matches: readonly import("../types").SearchMatch[];
|
|
357
|
+
}> | null;
|
|
370
358
|
};
|
|
371
359
|
captureUpdate: "EVENTUALLY";
|
|
372
360
|
};
|
|
@@ -402,7 +390,7 @@ export declare const actionChangeExportBackground: {
|
|
|
402
390
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
403
391
|
isBindingEnabled: boolean;
|
|
404
392
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
405
|
-
suggestedBindings: import("@excalidraw/element
|
|
393
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
406
394
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
407
395
|
frameRendering: {
|
|
408
396
|
enabled: boolean;
|
|
@@ -413,7 +401,7 @@ export declare const actionChangeExportBackground: {
|
|
|
413
401
|
editingFrame: string | null;
|
|
414
402
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
415
403
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
416
|
-
editingLinearElement: import("@excalidraw/element
|
|
404
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
417
405
|
activeTool: {
|
|
418
406
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
419
407
|
locked: boolean;
|
|
@@ -533,8 +521,8 @@ export declare const actionChangeExportBackground: {
|
|
|
533
521
|
data: import("../charts").Spreadsheet;
|
|
534
522
|
};
|
|
535
523
|
pendingImageElementId: string | null;
|
|
536
|
-
showHyperlinkPopup: false | "
|
|
537
|
-
selectedLinearElement: import("@excalidraw/element
|
|
524
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
525
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
538
526
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
539
527
|
originSnapOffset: {
|
|
540
528
|
x: number;
|
|
@@ -545,16 +533,10 @@ export declare const actionChangeExportBackground: {
|
|
|
545
533
|
followedBy: Set<import("../types").SocketId>;
|
|
546
534
|
isCropping: boolean;
|
|
547
535
|
croppingElementId: string | null;
|
|
548
|
-
searchMatches:
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
offsetX: number;
|
|
553
|
-
offsetY: number;
|
|
554
|
-
width: number;
|
|
555
|
-
height: number;
|
|
556
|
-
}[];
|
|
557
|
-
}[];
|
|
536
|
+
searchMatches: Readonly<{
|
|
537
|
+
focusedId: string | null;
|
|
538
|
+
matches: readonly import("../types").SearchMatch[];
|
|
539
|
+
}> | null;
|
|
558
540
|
};
|
|
559
541
|
captureUpdate: "EVENTUALLY";
|
|
560
542
|
};
|
|
@@ -590,7 +572,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
590
572
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
591
573
|
isBindingEnabled: boolean;
|
|
592
574
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
593
|
-
suggestedBindings: import("@excalidraw/element
|
|
575
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
594
576
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
595
577
|
frameRendering: {
|
|
596
578
|
enabled: boolean;
|
|
@@ -601,7 +583,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
601
583
|
editingFrame: string | null;
|
|
602
584
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
603
585
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
604
|
-
editingLinearElement: import("@excalidraw/element
|
|
586
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
605
587
|
activeTool: {
|
|
606
588
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
607
589
|
locked: boolean;
|
|
@@ -721,8 +703,8 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
721
703
|
data: import("../charts").Spreadsheet;
|
|
722
704
|
};
|
|
723
705
|
pendingImageElementId: string | null;
|
|
724
|
-
showHyperlinkPopup: false | "
|
|
725
|
-
selectedLinearElement: import("@excalidraw/element
|
|
706
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
707
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
726
708
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
727
709
|
originSnapOffset: {
|
|
728
710
|
x: number;
|
|
@@ -733,16 +715,10 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
733
715
|
followedBy: Set<import("../types").SocketId>;
|
|
734
716
|
isCropping: boolean;
|
|
735
717
|
croppingElementId: string | null;
|
|
736
|
-
searchMatches:
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
offsetX: number;
|
|
741
|
-
offsetY: number;
|
|
742
|
-
width: number;
|
|
743
|
-
height: number;
|
|
744
|
-
}[];
|
|
745
|
-
}[];
|
|
718
|
+
searchMatches: Readonly<{
|
|
719
|
+
focusedId: string | null;
|
|
720
|
+
matches: readonly import("../types").SearchMatch[];
|
|
721
|
+
}> | null;
|
|
746
722
|
};
|
|
747
723
|
captureUpdate: "EVENTUALLY";
|
|
748
724
|
};
|
|
@@ -783,7 +759,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
783
759
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
784
760
|
isBindingEnabled: boolean;
|
|
785
761
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
786
|
-
suggestedBindings: import("@excalidraw/element
|
|
762
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
787
763
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
788
764
|
frameRendering: {
|
|
789
765
|
enabled: boolean;
|
|
@@ -794,7 +770,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
794
770
|
editingFrame: string | null;
|
|
795
771
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
796
772
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
797
|
-
editingLinearElement: import("@excalidraw/element
|
|
773
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
798
774
|
activeTool: {
|
|
799
775
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
800
776
|
locked: boolean;
|
|
@@ -909,8 +885,8 @@ export declare const actionSaveToActiveFile: {
|
|
|
909
885
|
data: import("../charts").Spreadsheet;
|
|
910
886
|
};
|
|
911
887
|
pendingImageElementId: string | null;
|
|
912
|
-
showHyperlinkPopup: false | "
|
|
913
|
-
selectedLinearElement: import("@excalidraw/element
|
|
888
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
889
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
914
890
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
915
891
|
originSnapOffset: {
|
|
916
892
|
x: number;
|
|
@@ -921,24 +897,18 @@ export declare const actionSaveToActiveFile: {
|
|
|
921
897
|
followedBy: Set<import("../types").SocketId>;
|
|
922
898
|
isCropping: boolean;
|
|
923
899
|
croppingElementId: string | null;
|
|
924
|
-
searchMatches:
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
offsetX: number;
|
|
929
|
-
offsetY: number;
|
|
930
|
-
width: number;
|
|
931
|
-
height: number;
|
|
932
|
-
}[];
|
|
933
|
-
}[];
|
|
900
|
+
searchMatches: Readonly<{
|
|
901
|
+
focusedId: string | null;
|
|
902
|
+
matches: readonly import("../types").SearchMatch[];
|
|
903
|
+
}> | null;
|
|
934
904
|
};
|
|
935
905
|
} | {
|
|
936
906
|
captureUpdate: "EVENTUALLY";
|
|
937
907
|
appState?: undefined;
|
|
938
908
|
}>;
|
|
939
|
-
keyTest: (event:
|
|
909
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
940
910
|
} & {
|
|
941
|
-
keyTest?: ((event:
|
|
911
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
942
912
|
};
|
|
943
913
|
export declare const actionSaveFileToDisk: {
|
|
944
914
|
name: "saveFileToDisk";
|
|
@@ -974,7 +944,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
974
944
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
975
945
|
isBindingEnabled: boolean;
|
|
976
946
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
977
|
-
suggestedBindings: import("@excalidraw/element
|
|
947
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
978
948
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
979
949
|
frameRendering: {
|
|
980
950
|
enabled: boolean;
|
|
@@ -985,7 +955,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
985
955
|
editingFrame: string | null;
|
|
986
956
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
987
957
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
988
|
-
editingLinearElement: import("@excalidraw/element
|
|
958
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
989
959
|
activeTool: {
|
|
990
960
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
991
961
|
locked: boolean;
|
|
@@ -1089,8 +1059,8 @@ export declare const actionSaveFileToDisk: {
|
|
|
1089
1059
|
data: import("../charts").Spreadsheet;
|
|
1090
1060
|
};
|
|
1091
1061
|
pendingImageElementId: string | null;
|
|
1092
|
-
showHyperlinkPopup: false | "
|
|
1093
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1062
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1063
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1094
1064
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1095
1065
|
originSnapOffset: {
|
|
1096
1066
|
x: number;
|
|
@@ -1101,25 +1071,19 @@ export declare const actionSaveFileToDisk: {
|
|
|
1101
1071
|
followedBy: Set<import("../types").SocketId>;
|
|
1102
1072
|
isCropping: boolean;
|
|
1103
1073
|
croppingElementId: string | null;
|
|
1104
|
-
searchMatches:
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
offsetX: number;
|
|
1109
|
-
offsetY: number;
|
|
1110
|
-
width: number;
|
|
1111
|
-
height: number;
|
|
1112
|
-
}[];
|
|
1113
|
-
}[];
|
|
1074
|
+
searchMatches: Readonly<{
|
|
1075
|
+
focusedId: string | null;
|
|
1076
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1077
|
+
}> | null;
|
|
1114
1078
|
};
|
|
1115
1079
|
} | {
|
|
1116
1080
|
captureUpdate: "EVENTUALLY";
|
|
1117
1081
|
appState?: undefined;
|
|
1118
1082
|
}>;
|
|
1119
|
-
keyTest: (event:
|
|
1083
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1120
1084
|
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
1121
1085
|
} & {
|
|
1122
|
-
keyTest?: ((event:
|
|
1086
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1123
1087
|
};
|
|
1124
1088
|
export declare const actionLoadScene: {
|
|
1125
1089
|
name: "loadScene";
|
|
@@ -1131,110 +1095,53 @@ export declare const actionLoadScene: {
|
|
|
1131
1095
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
|
|
1132
1096
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
1133
1097
|
appState: {
|
|
1134
|
-
name: string | null;
|
|
1135
|
-
activeTool: {
|
|
1136
|
-
lastActiveTool: import("../types").ActiveTool | null;
|
|
1137
|
-
locked: boolean;
|
|
1138
|
-
fromSelection: boolean;
|
|
1139
|
-
} & import("../types").ActiveTool;
|
|
1140
|
-
zoom: Readonly<{
|
|
1141
|
-
value: import("../types").NormalizedZoomValue;
|
|
1142
|
-
}>;
|
|
1143
|
-
scrollX: number;
|
|
1144
|
-
scrollY: number;
|
|
1145
|
-
viewBackgroundColor: string;
|
|
1146
|
-
frameRendering: {
|
|
1147
|
-
enabled: boolean;
|
|
1148
|
-
name: boolean;
|
|
1149
|
-
outline: boolean;
|
|
1150
|
-
clip: boolean;
|
|
1151
|
-
};
|
|
1152
|
-
viewModeEnabled: boolean;
|
|
1153
|
-
openDialog: {
|
|
1154
|
-
name: "imageExport" | "help" | "jsonExport";
|
|
1155
|
-
} | {
|
|
1156
|
-
name: "ttd";
|
|
1157
|
-
tab: "text-to-diagram" | "mermaid";
|
|
1158
|
-
} | {
|
|
1159
|
-
name: "commandPalette";
|
|
1160
|
-
} | {
|
|
1161
|
-
name: "elementLinkSelector";
|
|
1162
|
-
sourceElementId: string;
|
|
1163
|
-
} | null;
|
|
1164
|
-
editingGroupId: string | null;
|
|
1165
|
-
selectedElementIds: Readonly<{
|
|
1166
|
-
[id: string]: true;
|
|
1167
|
-
}>;
|
|
1168
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1169
|
-
theme: Theme;
|
|
1170
|
-
pendingImageElementId: string | null;
|
|
1171
|
-
activeEmbeddable: {
|
|
1172
|
-
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1173
|
-
state: "hover" | "active";
|
|
1174
|
-
} | null;
|
|
1175
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1176
|
-
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1177
|
-
selectedGroupIds: {
|
|
1178
|
-
[groupId: string]: boolean;
|
|
1179
|
-
};
|
|
1180
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1181
|
-
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1182
|
-
isBindingEnabled: boolean;
|
|
1183
|
-
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
1184
|
-
isRotating: boolean;
|
|
1185
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1186
|
-
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
1187
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
1188
|
-
button?: "up" | "down" | undefined;
|
|
1189
|
-
selectedElementIds?: Readonly<{
|
|
1190
|
-
[id: string]: true;
|
|
1191
|
-
}> | undefined;
|
|
1192
|
-
username?: string | null | undefined;
|
|
1193
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1194
|
-
color?: {
|
|
1195
|
-
background: string;
|
|
1196
|
-
stroke: string;
|
|
1197
|
-
} | undefined;
|
|
1198
|
-
avatarUrl?: string | undefined;
|
|
1199
|
-
id?: string | undefined;
|
|
1200
|
-
socketId?: import("../types").SocketId | undefined;
|
|
1201
|
-
isCurrentUser?: boolean | undefined;
|
|
1202
|
-
isInCall?: boolean | undefined;
|
|
1203
|
-
isSpeaking?: boolean | undefined;
|
|
1204
|
-
isMuted?: boolean | undefined;
|
|
1205
|
-
}>>;
|
|
1206
|
-
snapLines: readonly import("../snapping").SnapLine[];
|
|
1207
|
-
zenModeEnabled: boolean;
|
|
1208
|
-
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1209
|
-
isCropping: boolean;
|
|
1210
|
-
croppingElementId: string | null;
|
|
1211
|
-
searchMatches: readonly {
|
|
1212
|
-
id: string;
|
|
1213
|
-
focus: boolean;
|
|
1214
|
-
matchedLines: {
|
|
1215
|
-
offsetX: number;
|
|
1216
|
-
offsetY: number;
|
|
1217
|
-
width: number;
|
|
1218
|
-
height: number;
|
|
1219
|
-
}[];
|
|
1220
|
-
}[];
|
|
1221
1098
|
contextMenu: {
|
|
1222
1099
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1223
1100
|
top: number;
|
|
1224
1101
|
left: number;
|
|
1225
1102
|
} | null;
|
|
1103
|
+
stats: {
|
|
1104
|
+
open: boolean;
|
|
1105
|
+
panels: number;
|
|
1106
|
+
};
|
|
1107
|
+
exportWithDarkMode: boolean;
|
|
1108
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1109
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1110
|
+
cursorButton: "up" | "down";
|
|
1111
|
+
scrollX: number;
|
|
1112
|
+
scrollY: number;
|
|
1226
1113
|
showWelcomeScreen: boolean;
|
|
1227
1114
|
isLoading: boolean;
|
|
1228
1115
|
errorMessage: import("react").ReactNode;
|
|
1116
|
+
activeEmbeddable: {
|
|
1117
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1118
|
+
state: "hover" | "active";
|
|
1119
|
+
} | null;
|
|
1229
1120
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1230
1121
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1231
|
-
|
|
1122
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1123
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1124
|
+
isBindingEnabled: boolean;
|
|
1125
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1126
|
+
frameRendering: {
|
|
1127
|
+
enabled: boolean;
|
|
1128
|
+
name: boolean;
|
|
1129
|
+
outline: boolean;
|
|
1130
|
+
clip: boolean;
|
|
1131
|
+
};
|
|
1232
1132
|
editingFrame: string | null;
|
|
1133
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1134
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1135
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1136
|
+
activeTool: {
|
|
1137
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
1138
|
+
locked: boolean;
|
|
1139
|
+
fromSelection: boolean;
|
|
1140
|
+
} & import("../types").ActiveTool;
|
|
1233
1141
|
penMode: boolean;
|
|
1234
1142
|
penDetected: boolean;
|
|
1235
1143
|
exportBackground: boolean;
|
|
1236
1144
|
exportEmbedScene: boolean;
|
|
1237
|
-
exportWithDarkMode: boolean;
|
|
1238
1145
|
exportScale: number;
|
|
1239
1146
|
currentItemStrokeColor: string;
|
|
1240
1147
|
currentItemBackgroundColor: string;
|
|
@@ -1251,17 +1158,36 @@ export declare const actionLoadScene: {
|
|
|
1251
1158
|
currentHoveredFontFamily: number | null;
|
|
1252
1159
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1253
1160
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1254
|
-
|
|
1161
|
+
viewBackgroundColor: string;
|
|
1255
1162
|
scrolledOutside: boolean;
|
|
1163
|
+
name: string | null;
|
|
1256
1164
|
isResizing: boolean;
|
|
1165
|
+
isRotating: boolean;
|
|
1166
|
+
zoom: Readonly<{
|
|
1167
|
+
value: import("../types").NormalizedZoomValue;
|
|
1168
|
+
}>;
|
|
1257
1169
|
openMenu: "canvas" | "shape" | null;
|
|
1258
1170
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1259
1171
|
openSidebar: {
|
|
1260
1172
|
name: string;
|
|
1261
1173
|
tab?: string | undefined;
|
|
1262
1174
|
} | null;
|
|
1175
|
+
openDialog: {
|
|
1176
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1177
|
+
} | {
|
|
1178
|
+
name: "ttd";
|
|
1179
|
+
tab: "text-to-diagram" | "mermaid";
|
|
1180
|
+
} | {
|
|
1181
|
+
name: "commandPalette";
|
|
1182
|
+
} | {
|
|
1183
|
+
name: "elementLinkSelector";
|
|
1184
|
+
sourceElementId: string;
|
|
1185
|
+
} | null;
|
|
1263
1186
|
defaultSidebarDockedPreference: boolean;
|
|
1264
1187
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1188
|
+
selectedElementIds: Readonly<{
|
|
1189
|
+
[id: string]: true;
|
|
1190
|
+
}>;
|
|
1265
1191
|
hoveredElementIds: Readonly<{
|
|
1266
1192
|
[id: string]: true;
|
|
1267
1193
|
}>;
|
|
@@ -1275,14 +1201,37 @@ export declare const actionLoadScene: {
|
|
|
1275
1201
|
closable?: boolean | undefined;
|
|
1276
1202
|
duration?: number | undefined;
|
|
1277
1203
|
} | null;
|
|
1204
|
+
zenModeEnabled: boolean;
|
|
1205
|
+
theme: Theme;
|
|
1278
1206
|
gridSize: number;
|
|
1279
1207
|
gridStep: number;
|
|
1280
1208
|
gridModeEnabled: boolean;
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
panels: number;
|
|
1209
|
+
viewModeEnabled: boolean;
|
|
1210
|
+
selectedGroupIds: {
|
|
1211
|
+
[groupId: string]: boolean;
|
|
1285
1212
|
};
|
|
1213
|
+
editingGroupId: string | null;
|
|
1214
|
+
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1215
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
1216
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
1217
|
+
button?: "up" | "down" | undefined;
|
|
1218
|
+
selectedElementIds?: Readonly<{
|
|
1219
|
+
[id: string]: true;
|
|
1220
|
+
}> | undefined;
|
|
1221
|
+
username?: string | null | undefined;
|
|
1222
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1223
|
+
color?: {
|
|
1224
|
+
background: string;
|
|
1225
|
+
stroke: string;
|
|
1226
|
+
} | undefined;
|
|
1227
|
+
avatarUrl?: string | undefined;
|
|
1228
|
+
id?: string | undefined;
|
|
1229
|
+
socketId?: import("../types").SocketId | undefined;
|
|
1230
|
+
isCurrentUser?: boolean | undefined;
|
|
1231
|
+
isInCall?: boolean | undefined;
|
|
1232
|
+
isSpeaking?: boolean | undefined;
|
|
1233
|
+
isMuted?: boolean | undefined;
|
|
1234
|
+
}>>;
|
|
1286
1235
|
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1287
1236
|
pasteDialog: {
|
|
1288
1237
|
shown: false;
|
|
@@ -1291,7 +1240,10 @@ export declare const actionLoadScene: {
|
|
|
1291
1240
|
shown: true;
|
|
1292
1241
|
data: import("../charts").Spreadsheet;
|
|
1293
1242
|
};
|
|
1294
|
-
|
|
1243
|
+
pendingImageElementId: string | null;
|
|
1244
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1245
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1246
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
1295
1247
|
originSnapOffset: {
|
|
1296
1248
|
x: number;
|
|
1297
1249
|
y: number;
|
|
@@ -1299,6 +1251,12 @@ export declare const actionLoadScene: {
|
|
|
1299
1251
|
objectsSnapModeEnabled: boolean;
|
|
1300
1252
|
userToFollow: import("../types").UserToFollow | null;
|
|
1301
1253
|
followedBy: Set<import("../types").SocketId>;
|
|
1254
|
+
isCropping: boolean;
|
|
1255
|
+
croppingElementId: string | null;
|
|
1256
|
+
searchMatches: Readonly<{
|
|
1257
|
+
focusedId: string | null;
|
|
1258
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1259
|
+
}> | null;
|
|
1302
1260
|
};
|
|
1303
1261
|
files: import("../types").BinaryFiles;
|
|
1304
1262
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -1323,7 +1281,7 @@ export declare const actionLoadScene: {
|
|
|
1323
1281
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1324
1282
|
isBindingEnabled: boolean;
|
|
1325
1283
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1326
|
-
suggestedBindings: import("@excalidraw/element
|
|
1284
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1327
1285
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1328
1286
|
frameRendering: {
|
|
1329
1287
|
enabled: boolean;
|
|
@@ -1334,7 +1292,7 @@ export declare const actionLoadScene: {
|
|
|
1334
1292
|
editingFrame: string | null;
|
|
1335
1293
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1336
1294
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1337
|
-
editingLinearElement: import("@excalidraw/element
|
|
1295
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1338
1296
|
activeTool: {
|
|
1339
1297
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1340
1298
|
locked: boolean;
|
|
@@ -1455,8 +1413,8 @@ export declare const actionLoadScene: {
|
|
|
1455
1413
|
data: import("../charts").Spreadsheet;
|
|
1456
1414
|
};
|
|
1457
1415
|
pendingImageElementId: string | null;
|
|
1458
|
-
showHyperlinkPopup: false | "
|
|
1459
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1416
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1417
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1460
1418
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1461
1419
|
originSnapOffset: {
|
|
1462
1420
|
x: number;
|
|
@@ -1467,23 +1425,17 @@ export declare const actionLoadScene: {
|
|
|
1467
1425
|
followedBy: Set<import("../types").SocketId>;
|
|
1468
1426
|
isCropping: boolean;
|
|
1469
1427
|
croppingElementId: string | null;
|
|
1470
|
-
searchMatches:
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
offsetX: number;
|
|
1475
|
-
offsetY: number;
|
|
1476
|
-
width: number;
|
|
1477
|
-
height: number;
|
|
1478
|
-
}[];
|
|
1479
|
-
}[];
|
|
1428
|
+
searchMatches: Readonly<{
|
|
1429
|
+
focusedId: string | null;
|
|
1430
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1431
|
+
}> | null;
|
|
1480
1432
|
};
|
|
1481
1433
|
files: import("../types").BinaryFiles;
|
|
1482
1434
|
captureUpdate: "EVENTUALLY";
|
|
1483
1435
|
}>;
|
|
1484
|
-
keyTest: (event:
|
|
1436
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1485
1437
|
} & {
|
|
1486
|
-
keyTest?: ((event:
|
|
1438
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1487
1439
|
};
|
|
1488
1440
|
export declare const actionExportWithDarkMode: {
|
|
1489
1441
|
name: "exportWithDarkMode";
|
|
@@ -1513,7 +1465,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1513
1465
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1514
1466
|
isBindingEnabled: boolean;
|
|
1515
1467
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1516
|
-
suggestedBindings: import("@excalidraw/element
|
|
1468
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1517
1469
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1518
1470
|
frameRendering: {
|
|
1519
1471
|
enabled: boolean;
|
|
@@ -1524,7 +1476,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1524
1476
|
editingFrame: string | null;
|
|
1525
1477
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1526
1478
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1527
|
-
editingLinearElement: import("@excalidraw/element
|
|
1479
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1528
1480
|
activeTool: {
|
|
1529
1481
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1530
1482
|
locked: boolean;
|
|
@@ -1644,8 +1596,8 @@ export declare const actionExportWithDarkMode: {
|
|
|
1644
1596
|
data: import("../charts").Spreadsheet;
|
|
1645
1597
|
};
|
|
1646
1598
|
pendingImageElementId: string | null;
|
|
1647
|
-
showHyperlinkPopup: false | "
|
|
1648
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1599
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1600
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1649
1601
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1650
1602
|
originSnapOffset: {
|
|
1651
1603
|
x: number;
|
|
@@ -1656,16 +1608,10 @@ export declare const actionExportWithDarkMode: {
|
|
|
1656
1608
|
followedBy: Set<import("../types").SocketId>;
|
|
1657
1609
|
isCropping: boolean;
|
|
1658
1610
|
croppingElementId: string | null;
|
|
1659
|
-
searchMatches:
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
offsetX: number;
|
|
1664
|
-
offsetY: number;
|
|
1665
|
-
width: number;
|
|
1666
|
-
height: number;
|
|
1667
|
-
}[];
|
|
1668
|
-
}[];
|
|
1611
|
+
searchMatches: Readonly<{
|
|
1612
|
+
focusedId: string | null;
|
|
1613
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1614
|
+
}> | null;
|
|
1669
1615
|
};
|
|
1670
1616
|
captureUpdate: "EVENTUALLY";
|
|
1671
1617
|
};
|