@excalidraw/element 0.18.0-2874f9e → 0.18.0-2a82821
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/index.js +5228 -4610
- package/dist/dev/index.js.map +4 -4
- package/dist/prod/index.js +19 -18
- package/dist/types/common/src/appEventBus.d.ts +27 -0
- package/dist/types/common/src/colors.d.ts +2 -2
- package/dist/types/common/src/constants.d.ts +9 -7
- package/dist/types/common/src/index.d.ts +2 -0
- package/dist/types/common/src/utils.d.ts +1 -3
- package/dist/types/common/src/versionedSnapshotStore.d.ts +17 -0
- package/dist/types/element/src/Scene.d.ts +7 -3
- package/dist/types/element/src/arrowheads.d.ts +3 -0
- package/dist/types/element/src/binding.d.ts +3 -4
- package/dist/types/element/src/bounds.d.ts +22 -3
- package/dist/types/element/src/comparisons.d.ts +1 -0
- package/dist/types/element/src/duplicate.d.ts +1 -0
- package/dist/types/element/src/elbowArrow.d.ts +2 -0
- package/dist/types/element/src/frame.d.ts +7 -6
- package/dist/types/element/src/index.d.ts +1 -0
- package/dist/types/element/src/linearElementEditor.d.ts +5 -2
- package/dist/types/element/src/mutateElement.d.ts +2 -0
- package/dist/types/element/src/newElement.d.ts +1 -0
- package/dist/types/element/src/selection.d.ts +7 -3
- package/dist/types/element/src/shape.d.ts +1 -1
- package/dist/types/element/src/textElement.d.ts +1 -1
- package/dist/types/element/src/textWrapping.d.ts +26 -0
- package/dist/types/element/src/typeChecks.d.ts +1 -0
- package/dist/types/element/src/types.d.ts +11 -2
- package/dist/types/element/src/utils.d.ts +2 -2
- package/dist/types/element/src/visualdebug.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +35 -38
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +25 -27
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +144 -156
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +24 -26
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +12 -13
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +36 -39
- package/dist/types/excalidraw/actions/actionDeselect.d.ts +160 -0
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +8 -13
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +24 -26
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +12 -13
- package/dist/types/excalidraw/actions/actionExport.d.ts +67 -349
- package/dist/types/excalidraw/actions/actionFrame.d.ts +49 -52
- package/dist/types/excalidraw/actions/actionGroup.d.ts +25 -27
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +13 -13
- package/dist/types/excalidraw/actions/actionLink.d.ts +12 -13
- package/dist/types/excalidraw/actions/actionMenu.d.ts +8 -13
- package/dist/types/excalidraw/actions/actionProperties.d.ts +36 -29
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +12 -13
- package/dist/types/excalidraw/actions/actionStyles.d.ts +12 -12
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +173 -0
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +12 -13
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +173 -0
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +12 -13
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +8 -13
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +12 -13
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +12 -13
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +12 -13
- package/dist/types/excalidraw/actions/index.d.ts +4 -1
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/{animated-trail.d.ts → animatedTrail.d.ts} +4 -3
- package/dist/types/excalidraw/appState.d.ts +6 -2
- package/dist/types/excalidraw/charts/charts.bar.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.constants.d.ts +48 -0
- package/dist/types/excalidraw/charts/charts.helpers.d.ts +32 -0
- package/dist/types/excalidraw/charts/charts.line.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.parse.d.ts +10 -0
- package/dist/types/excalidraw/charts/charts.radar.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.types.d.ts +18 -0
- package/dist/types/excalidraw/charts/index.d.ts +7 -0
- package/dist/types/excalidraw/clipboard.d.ts +2 -5
- package/dist/types/excalidraw/components/ActiveConfirmDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/App.d.ts +54 -14
- package/dist/types/excalidraw/components/AppStateObserver.d.ts +37 -0
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
- package/dist/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts +1 -2
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +1 -1
- package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
- package/dist/types/excalidraw/components/IconPicker.d.ts +14 -9
- package/dist/types/excalidraw/components/LibraryMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts +1 -1
- package/dist/types/excalidraw/components/PasteChartDialog.d.ts +4 -5
- package/dist/types/excalidraw/components/Range.d.ts +10 -4
- package/dist/types/excalidraw/components/SVGLayer.d.ts +1 -1
- package/dist/types/excalidraw/components/SearchMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/CodeMirrorEditor.d.ts +11 -0
- package/dist/types/excalidraw/components/TTDDialog/TTDContext.d.ts +4 -4
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +3 -3
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +4 -1
- package/dist/types/excalidraw/components/TTDDialog/mermaid-lang-lite.d.ts +2 -0
- package/dist/types/excalidraw/components/TTDDialog/useTTDChatStorage.d.ts +3 -3
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidAutoFix.d.ts +1 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidError.d.ts +10 -0
- package/dist/types/excalidraw/components/Toast.d.ts +8 -4
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -1
- package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -0
- package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +2 -1
- package/dist/types/excalidraw/components/icons.d.ts +19 -8
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +9 -3
- package/dist/types/excalidraw/components/shapes.d.ts +7 -0
- package/dist/types/excalidraw/data/blob.d.ts +31 -34
- package/dist/types/excalidraw/data/filesystem.d.ts +3 -5
- package/dist/types/excalidraw/data/index.d.ts +2 -3
- package/dist/types/excalidraw/data/json.d.ts +30 -23
- package/dist/types/excalidraw/data/library.d.ts +1 -1
- package/dist/types/excalidraw/data/resave.d.ts +7 -2
- package/dist/types/excalidraw/eraser/index.d.ts +2 -3
- package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/dist/types/excalidraw/{laser-trails.d.ts → laserTrails.d.ts} +5 -7
- package/dist/types/excalidraw/lasso/index.d.ts +2 -3
- package/dist/types/excalidraw/renderer/animation.d.ts +4 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +426 -19
- package/dist/types/excalidraw/scene/index.d.ts +1 -1
- package/dist/types/excalidraw/textAutoResizeHandle.d.ts +15 -0
- package/dist/types/excalidraw/types.d.ts +110 -18
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +5 -1
- package/dist/types/fractional-indexing/src/index.d.ts +29 -0
- package/dist/types/laser-pointer/src/index.d.ts +2 -0
- package/dist/types/laser-pointer/src/math.d.ts +16 -0
- package/dist/types/laser-pointer/src/simplify.d.ts +2 -0
- package/dist/types/laser-pointer/src/state.d.ts +35 -0
- package/dist/types/math/src/constants.d.ts +0 -1
- package/dist/types/math/src/curve.d.ts +4 -1
- package/dist/types/math/src/point.d.ts +2 -1
- package/dist/types/utils/src/index.d.ts +1 -2
- package/package.json +4 -3
- package/dist/types/excalidraw/animation-frame-handler.d.ts +0 -16
- package/dist/types/excalidraw/charts.d.ts +0 -27
- package/dist/types/excalidraw/components/DiagramToCodePlugin/DiagramToCodePlugin.d.ts +0 -4
- package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +0 -15
- package/dist/types/excalidraw/components/InitializeApp.d.ts +0 -10
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +0 -8
- package/dist/types/excalidraw/components/TTDDialog/utils/TTDStreamFetch.d.ts +0 -24
- package/dist/types/excalidraw/components/footer/FooterCenter.d.ts +0 -8
- package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +0 -11
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +0 -58
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +0 -19
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +0 -84
- package/dist/types/excalidraw/data/reconcile.d.ts +0 -7
- package/dist/types/excalidraw/index.d.ts +0 -47
- package/dist/types/excalidraw/polyfill.d.ts +0 -2
- package/dist/types/utils/src/bbox.d.ts +0 -9
- package/dist/types/utils/src/withinBounds.d.ts +0 -19
|
@@ -27,7 +27,9 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
27
27
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
28
28
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
29
29
|
isBindingEnabled: boolean;
|
|
30
|
-
|
|
30
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
31
|
+
bindingPreference: "enabled" | "disabled";
|
|
32
|
+
isMidpointSnappingEnabled: boolean;
|
|
31
33
|
suggestedBinding: {
|
|
32
34
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
33
35
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -41,7 +43,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
41
43
|
};
|
|
42
44
|
editingFrame: string | null;
|
|
43
45
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
44
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
46
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
45
47
|
activeTool: {
|
|
46
48
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
47
49
|
locked: boolean;
|
|
@@ -60,9 +62,10 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
60
62
|
currentItemStrokeColor: string;
|
|
61
63
|
currentItemBackgroundColor: string;
|
|
62
64
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
63
|
-
|
|
65
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
64
66
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
65
67
|
currentItemRoughness: number;
|
|
68
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
66
69
|
currentItemOpacity: number;
|
|
67
70
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
68
71
|
currentItemFontSize: number;
|
|
@@ -99,6 +102,10 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
99
102
|
} | {
|
|
100
103
|
name: "elementLinkSelector";
|
|
101
104
|
sourceElementId: ExcalidrawElement["id"];
|
|
105
|
+
} | {
|
|
106
|
+
name: "charts";
|
|
107
|
+
data: import("../charts").Spreadsheet;
|
|
108
|
+
rawText: string;
|
|
102
109
|
};
|
|
103
110
|
defaultSidebarDockedPreference: boolean;
|
|
104
111
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -111,7 +118,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
111
118
|
selectedElementsAreBeingDragged: boolean;
|
|
112
119
|
shouldCacheIgnoreZoom: boolean;
|
|
113
120
|
toast: {
|
|
114
|
-
message:
|
|
121
|
+
message: React.ReactNode;
|
|
115
122
|
closable?: boolean;
|
|
116
123
|
duration?: number;
|
|
117
124
|
} | null;
|
|
@@ -129,20 +136,12 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
129
136
|
height: number;
|
|
130
137
|
offsetTop: number;
|
|
131
138
|
offsetLeft: number;
|
|
132
|
-
fileHandle:
|
|
139
|
+
fileHandle: FileSystemFileHandle | null;
|
|
133
140
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
134
141
|
stats: {
|
|
135
142
|
open: boolean;
|
|
136
143
|
panels: number;
|
|
137
144
|
};
|
|
138
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
139
|
-
pasteDialog: {
|
|
140
|
-
shown: false;
|
|
141
|
-
data: null;
|
|
142
|
-
} | {
|
|
143
|
-
shown: true;
|
|
144
|
-
data: import("../charts").Spreadsheet;
|
|
145
|
-
};
|
|
146
145
|
showHyperlinkPopup: false | "info" | "editor";
|
|
147
146
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
148
147
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -204,7 +203,9 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
204
203
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
205
204
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
206
205
|
isBindingEnabled: boolean;
|
|
207
|
-
|
|
206
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
207
|
+
bindingPreference: "enabled" | "disabled";
|
|
208
|
+
isMidpointSnappingEnabled: boolean;
|
|
208
209
|
suggestedBinding: {
|
|
209
210
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
210
211
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -218,7 +219,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
218
219
|
};
|
|
219
220
|
editingFrame: string | null;
|
|
220
221
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
221
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
222
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
222
223
|
activeTool: {
|
|
223
224
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
224
225
|
locked: boolean;
|
|
@@ -237,9 +238,10 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
237
238
|
currentItemStrokeColor: string;
|
|
238
239
|
currentItemBackgroundColor: string;
|
|
239
240
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
240
|
-
|
|
241
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
241
242
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
242
243
|
currentItemRoughness: number;
|
|
244
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
243
245
|
currentItemOpacity: number;
|
|
244
246
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
245
247
|
currentItemFontSize: number;
|
|
@@ -276,6 +278,10 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
276
278
|
} | {
|
|
277
279
|
name: "elementLinkSelector";
|
|
278
280
|
sourceElementId: ExcalidrawElement["id"];
|
|
281
|
+
} | {
|
|
282
|
+
name: "charts";
|
|
283
|
+
data: import("../charts").Spreadsheet;
|
|
284
|
+
rawText: string;
|
|
279
285
|
};
|
|
280
286
|
defaultSidebarDockedPreference: boolean;
|
|
281
287
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -288,7 +294,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
288
294
|
selectedElementsAreBeingDragged: boolean;
|
|
289
295
|
shouldCacheIgnoreZoom: boolean;
|
|
290
296
|
toast: {
|
|
291
|
-
message:
|
|
297
|
+
message: React.ReactNode;
|
|
292
298
|
closable?: boolean;
|
|
293
299
|
duration?: number;
|
|
294
300
|
} | null;
|
|
@@ -306,20 +312,12 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
306
312
|
height: number;
|
|
307
313
|
offsetTop: number;
|
|
308
314
|
offsetLeft: number;
|
|
309
|
-
fileHandle:
|
|
315
|
+
fileHandle: FileSystemFileHandle | null;
|
|
310
316
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
311
317
|
stats: {
|
|
312
318
|
open: boolean;
|
|
313
319
|
panels: number;
|
|
314
320
|
};
|
|
315
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
316
|
-
pasteDialog: {
|
|
317
|
-
shown: false;
|
|
318
|
-
data: null;
|
|
319
|
-
} | {
|
|
320
|
-
shown: true;
|
|
321
|
-
data: import("../charts").Spreadsheet;
|
|
322
|
-
};
|
|
323
321
|
showHyperlinkPopup: false | "info" | "editor";
|
|
324
322
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
325
323
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -385,7 +383,9 @@ export declare const actionupdateFrameRendering: {
|
|
|
385
383
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
386
384
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
387
385
|
isBindingEnabled: boolean;
|
|
388
|
-
|
|
386
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
387
|
+
bindingPreference: "enabled" | "disabled";
|
|
388
|
+
isMidpointSnappingEnabled: boolean;
|
|
389
389
|
suggestedBinding: {
|
|
390
390
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
391
391
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -393,7 +393,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
393
393
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
394
394
|
editingFrame: string | null;
|
|
395
395
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
396
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
396
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
397
397
|
activeTool: {
|
|
398
398
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
399
399
|
locked: boolean;
|
|
@@ -412,9 +412,10 @@ export declare const actionupdateFrameRendering: {
|
|
|
412
412
|
currentItemStrokeColor: string;
|
|
413
413
|
currentItemBackgroundColor: string;
|
|
414
414
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
415
|
-
|
|
415
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
416
416
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
417
417
|
currentItemRoughness: number;
|
|
418
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
418
419
|
currentItemOpacity: number;
|
|
419
420
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
420
421
|
currentItemFontSize: number;
|
|
@@ -451,6 +452,10 @@ export declare const actionupdateFrameRendering: {
|
|
|
451
452
|
} | {
|
|
452
453
|
name: "elementLinkSelector";
|
|
453
454
|
sourceElementId: ExcalidrawElement["id"];
|
|
455
|
+
} | {
|
|
456
|
+
name: "charts";
|
|
457
|
+
data: import("../charts").Spreadsheet;
|
|
458
|
+
rawText: string;
|
|
454
459
|
};
|
|
455
460
|
defaultSidebarDockedPreference: boolean;
|
|
456
461
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -466,7 +471,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
466
471
|
selectedElementsAreBeingDragged: boolean;
|
|
467
472
|
shouldCacheIgnoreZoom: boolean;
|
|
468
473
|
toast: {
|
|
469
|
-
message:
|
|
474
|
+
message: React.ReactNode;
|
|
470
475
|
closable?: boolean;
|
|
471
476
|
duration?: number;
|
|
472
477
|
} | null;
|
|
@@ -484,20 +489,12 @@ export declare const actionupdateFrameRendering: {
|
|
|
484
489
|
height: number;
|
|
485
490
|
offsetTop: number;
|
|
486
491
|
offsetLeft: number;
|
|
487
|
-
fileHandle:
|
|
492
|
+
fileHandle: FileSystemFileHandle | null;
|
|
488
493
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
489
494
|
stats: {
|
|
490
495
|
open: boolean;
|
|
491
496
|
panels: number;
|
|
492
497
|
};
|
|
493
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
494
|
-
pasteDialog: {
|
|
495
|
-
shown: false;
|
|
496
|
-
data: null;
|
|
497
|
-
} | {
|
|
498
|
-
shown: true;
|
|
499
|
-
data: import("../charts").Spreadsheet;
|
|
500
|
-
};
|
|
501
498
|
showHyperlinkPopup: false | "info" | "editor";
|
|
502
499
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
503
500
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -559,7 +556,9 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
559
556
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
560
557
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
561
558
|
isBindingEnabled: boolean;
|
|
562
|
-
|
|
559
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
560
|
+
bindingPreference: "enabled" | "disabled";
|
|
561
|
+
isMidpointSnappingEnabled: boolean;
|
|
563
562
|
suggestedBinding: {
|
|
564
563
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
565
564
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -573,7 +572,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
573
572
|
};
|
|
574
573
|
editingFrame: string | null;
|
|
575
574
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
576
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
575
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
577
576
|
preferredSelectionTool: {
|
|
578
577
|
type: "selection" | "lasso";
|
|
579
578
|
initialized: boolean;
|
|
@@ -587,9 +586,10 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
587
586
|
currentItemStrokeColor: string;
|
|
588
587
|
currentItemBackgroundColor: string;
|
|
589
588
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
590
|
-
|
|
589
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
591
590
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
592
591
|
currentItemRoughness: number;
|
|
592
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
593
593
|
currentItemOpacity: number;
|
|
594
594
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
595
595
|
currentItemFontSize: number;
|
|
@@ -626,6 +626,10 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
626
626
|
} | {
|
|
627
627
|
name: "elementLinkSelector";
|
|
628
628
|
sourceElementId: ExcalidrawElement["id"];
|
|
629
|
+
} | {
|
|
630
|
+
name: "charts";
|
|
631
|
+
data: import("../charts").Spreadsheet;
|
|
632
|
+
rawText: string;
|
|
629
633
|
};
|
|
630
634
|
defaultSidebarDockedPreference: boolean;
|
|
631
635
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -641,7 +645,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
641
645
|
selectedElementsAreBeingDragged: boolean;
|
|
642
646
|
shouldCacheIgnoreZoom: boolean;
|
|
643
647
|
toast: {
|
|
644
|
-
message:
|
|
648
|
+
message: React.ReactNode;
|
|
645
649
|
closable?: boolean;
|
|
646
650
|
duration?: number;
|
|
647
651
|
} | null;
|
|
@@ -659,20 +663,12 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
659
663
|
height: number;
|
|
660
664
|
offsetTop: number;
|
|
661
665
|
offsetLeft: number;
|
|
662
|
-
fileHandle:
|
|
666
|
+
fileHandle: FileSystemFileHandle | null;
|
|
663
667
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
664
668
|
stats: {
|
|
665
669
|
open: boolean;
|
|
666
670
|
panels: number;
|
|
667
671
|
};
|
|
668
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
669
|
-
pasteDialog: {
|
|
670
|
-
shown: false;
|
|
671
|
-
data: null;
|
|
672
|
-
} | {
|
|
673
|
-
shown: true;
|
|
674
|
-
data: import("../charts").Spreadsheet;
|
|
675
|
-
};
|
|
676
672
|
showHyperlinkPopup: false | "info" | "editor";
|
|
677
673
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
678
674
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -1143,6 +1139,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1143
1139
|
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
1144
1140
|
pressures: readonly number[];
|
|
1145
1141
|
simulatePressure: boolean;
|
|
1142
|
+
strokeOptions: import("@excalidraw/element/types").StrokeOptions;
|
|
1146
1143
|
}> & {
|
|
1147
1144
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1148
1145
|
}) | import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameElement>)[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExcalidrawElement, OrderedExcalidrawElement } from "@excalidraw/element/types";
|
|
1
|
+
import type { ExcalidrawElement, ExcalidrawTextElement, OrderedExcalidrawElement } from "@excalidraw/element/types";
|
|
2
2
|
import type { AppClassProperties, AppState } from "../types";
|
|
3
3
|
export declare const actionGroup: {
|
|
4
4
|
name: "group";
|
|
@@ -33,7 +33,9 @@ export declare const actionGroup: {
|
|
|
33
33
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
34
34
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
35
35
|
isBindingEnabled: boolean;
|
|
36
|
-
|
|
36
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
37
|
+
bindingPreference: "enabled" | "disabled";
|
|
38
|
+
isMidpointSnappingEnabled: boolean;
|
|
37
39
|
suggestedBinding: {
|
|
38
40
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
39
41
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -47,7 +49,7 @@ export declare const actionGroup: {
|
|
|
47
49
|
};
|
|
48
50
|
editingFrame: string | null;
|
|
49
51
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
50
|
-
editingTextElement:
|
|
52
|
+
editingTextElement: ExcalidrawTextElement | null;
|
|
51
53
|
activeTool: {
|
|
52
54
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
53
55
|
locked: boolean;
|
|
@@ -66,9 +68,10 @@ export declare const actionGroup: {
|
|
|
66
68
|
currentItemStrokeColor: string;
|
|
67
69
|
currentItemBackgroundColor: string;
|
|
68
70
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
69
|
-
|
|
71
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
70
72
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
71
73
|
currentItemRoughness: number;
|
|
74
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
72
75
|
currentItemOpacity: number;
|
|
73
76
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
74
77
|
currentItemFontSize: number;
|
|
@@ -105,6 +108,10 @@ export declare const actionGroup: {
|
|
|
105
108
|
} | {
|
|
106
109
|
name: "elementLinkSelector";
|
|
107
110
|
sourceElementId: ExcalidrawElement["id"];
|
|
111
|
+
} | {
|
|
112
|
+
name: "charts";
|
|
113
|
+
data: import("../charts").Spreadsheet;
|
|
114
|
+
rawText: string;
|
|
108
115
|
};
|
|
109
116
|
defaultSidebarDockedPreference: boolean;
|
|
110
117
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -117,7 +124,7 @@ export declare const actionGroup: {
|
|
|
117
124
|
selectedElementsAreBeingDragged: boolean;
|
|
118
125
|
shouldCacheIgnoreZoom: boolean;
|
|
119
126
|
toast: {
|
|
120
|
-
message:
|
|
127
|
+
message: React.ReactNode;
|
|
121
128
|
closable?: boolean;
|
|
122
129
|
duration?: number;
|
|
123
130
|
} | null;
|
|
@@ -131,20 +138,12 @@ export declare const actionGroup: {
|
|
|
131
138
|
height: number;
|
|
132
139
|
offsetTop: number;
|
|
133
140
|
offsetLeft: number;
|
|
134
|
-
fileHandle:
|
|
141
|
+
fileHandle: FileSystemFileHandle | null;
|
|
135
142
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
136
143
|
stats: {
|
|
137
144
|
open: boolean;
|
|
138
145
|
panels: number;
|
|
139
146
|
};
|
|
140
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
141
|
-
pasteDialog: {
|
|
142
|
-
shown: false;
|
|
143
|
-
data: null;
|
|
144
|
-
} | {
|
|
145
|
-
shown: true;
|
|
146
|
-
data: import("../charts").Spreadsheet;
|
|
147
|
-
};
|
|
148
147
|
showHyperlinkPopup: false | "info" | "editor";
|
|
149
148
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
150
149
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -209,7 +208,9 @@ export declare const actionUngroup: {
|
|
|
209
208
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
210
209
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
211
210
|
isBindingEnabled: boolean;
|
|
212
|
-
|
|
211
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
212
|
+
bindingPreference: "enabled" | "disabled";
|
|
213
|
+
isMidpointSnappingEnabled: boolean;
|
|
213
214
|
suggestedBinding: {
|
|
214
215
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
215
216
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -223,7 +224,7 @@ export declare const actionUngroup: {
|
|
|
223
224
|
};
|
|
224
225
|
editingFrame: string | null;
|
|
225
226
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
226
|
-
editingTextElement:
|
|
227
|
+
editingTextElement: ExcalidrawTextElement | null;
|
|
227
228
|
activeTool: {
|
|
228
229
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
229
230
|
locked: boolean;
|
|
@@ -242,9 +243,10 @@ export declare const actionUngroup: {
|
|
|
242
243
|
currentItemStrokeColor: string;
|
|
243
244
|
currentItemBackgroundColor: string;
|
|
244
245
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
245
|
-
|
|
246
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
246
247
|
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
247
248
|
currentItemRoughness: number;
|
|
249
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
248
250
|
currentItemOpacity: number;
|
|
249
251
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
250
252
|
currentItemFontSize: number;
|
|
@@ -281,6 +283,10 @@ export declare const actionUngroup: {
|
|
|
281
283
|
} | {
|
|
282
284
|
name: "elementLinkSelector";
|
|
283
285
|
sourceElementId: ExcalidrawElement["id"];
|
|
286
|
+
} | {
|
|
287
|
+
name: "charts";
|
|
288
|
+
data: import("../charts").Spreadsheet;
|
|
289
|
+
rawText: string;
|
|
284
290
|
};
|
|
285
291
|
defaultSidebarDockedPreference: boolean;
|
|
286
292
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -293,7 +299,7 @@ export declare const actionUngroup: {
|
|
|
293
299
|
selectedElementsAreBeingDragged: boolean;
|
|
294
300
|
shouldCacheIgnoreZoom: boolean;
|
|
295
301
|
toast: {
|
|
296
|
-
message:
|
|
302
|
+
message: React.ReactNode;
|
|
297
303
|
closable?: boolean;
|
|
298
304
|
duration?: number;
|
|
299
305
|
} | null;
|
|
@@ -307,20 +313,12 @@ export declare const actionUngroup: {
|
|
|
307
313
|
height: number;
|
|
308
314
|
offsetTop: number;
|
|
309
315
|
offsetLeft: number;
|
|
310
|
-
fileHandle:
|
|
316
|
+
fileHandle: FileSystemFileHandle | null;
|
|
311
317
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
312
318
|
stats: {
|
|
313
319
|
open: boolean;
|
|
314
320
|
panels: number;
|
|
315
321
|
};
|
|
316
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
317
|
-
pasteDialog: {
|
|
318
|
-
shown: false;
|
|
319
|
-
data: null;
|
|
320
|
-
} | {
|
|
321
|
-
shown: true;
|
|
322
|
-
data: import("../charts").Spreadsheet;
|
|
323
|
-
};
|
|
324
322
|
showHyperlinkPopup: false | "info" | "editor";
|
|
325
323
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
326
324
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
@@ -60,7 +60,9 @@ export declare const actionToggleLinearEditor: {
|
|
|
60
60
|
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
61
61
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
62
62
|
isBindingEnabled: boolean;
|
|
63
|
-
|
|
63
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
64
|
+
bindingPreference: "enabled" | "disabled";
|
|
65
|
+
isMidpointSnappingEnabled: boolean;
|
|
64
66
|
suggestedBinding: {
|
|
65
67
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
66
68
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -74,7 +76,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
74
76
|
};
|
|
75
77
|
editingFrame: string | null;
|
|
76
78
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
77
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
79
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
78
80
|
activeTool: {
|
|
79
81
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
80
82
|
locked: boolean;
|
|
@@ -93,9 +95,10 @@ export declare const actionToggleLinearEditor: {
|
|
|
93
95
|
currentItemStrokeColor: string;
|
|
94
96
|
currentItemBackgroundColor: string;
|
|
95
97
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
96
|
-
|
|
98
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
97
99
|
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
98
100
|
currentItemRoughness: number;
|
|
101
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
99
102
|
currentItemOpacity: number;
|
|
100
103
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
101
104
|
currentItemFontSize: number;
|
|
@@ -132,6 +135,10 @@ export declare const actionToggleLinearEditor: {
|
|
|
132
135
|
} | {
|
|
133
136
|
name: "elementLinkSelector";
|
|
134
137
|
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
138
|
+
} | {
|
|
139
|
+
name: "charts";
|
|
140
|
+
data: import("../charts").Spreadsheet;
|
|
141
|
+
rawText: string;
|
|
135
142
|
};
|
|
136
143
|
defaultSidebarDockedPreference: boolean;
|
|
137
144
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -147,7 +154,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
147
154
|
selectedElementsAreBeingDragged: boolean;
|
|
148
155
|
shouldCacheIgnoreZoom: boolean;
|
|
149
156
|
toast: {
|
|
150
|
-
message:
|
|
157
|
+
message: React.ReactNode;
|
|
151
158
|
closable?: boolean;
|
|
152
159
|
duration?: number;
|
|
153
160
|
} | null;
|
|
@@ -165,20 +172,12 @@ export declare const actionToggleLinearEditor: {
|
|
|
165
172
|
height: number;
|
|
166
173
|
offsetTop: number;
|
|
167
174
|
offsetLeft: number;
|
|
168
|
-
fileHandle:
|
|
175
|
+
fileHandle: FileSystemFileHandle | null;
|
|
169
176
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
170
177
|
stats: {
|
|
171
178
|
open: boolean;
|
|
172
179
|
panels: number;
|
|
173
180
|
};
|
|
174
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
175
|
-
pasteDialog: {
|
|
176
|
-
shown: false;
|
|
177
|
-
data: null;
|
|
178
|
-
} | {
|
|
179
|
-
shown: true;
|
|
180
|
-
data: import("../charts").Spreadsheet;
|
|
181
|
-
};
|
|
182
181
|
showHyperlinkPopup: false | "info" | "editor";
|
|
183
182
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
184
183
|
originSnapOffset: {
|
|
@@ -651,6 +650,7 @@ export declare const actionTogglePolygon: {
|
|
|
651
650
|
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
652
651
|
pressures: readonly number[];
|
|
653
652
|
simulatePressure: boolean;
|
|
653
|
+
strokeOptions: import("@excalidraw/element/types").StrokeOptions;
|
|
654
654
|
}> & {
|
|
655
655
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
656
656
|
}))[];
|
|
@@ -24,7 +24,9 @@ export declare const actionLink: {
|
|
|
24
24
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
25
25
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
26
26
|
isBindingEnabled: boolean;
|
|
27
|
-
|
|
27
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
28
|
+
bindingPreference: "enabled" | "disabled";
|
|
29
|
+
isMidpointSnappingEnabled: boolean;
|
|
28
30
|
suggestedBinding: {
|
|
29
31
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
30
32
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
@@ -38,7 +40,7 @@ export declare const actionLink: {
|
|
|
38
40
|
};
|
|
39
41
|
editingFrame: string | null;
|
|
40
42
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
41
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
43
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
42
44
|
activeTool: {
|
|
43
45
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
44
46
|
locked: boolean;
|
|
@@ -57,9 +59,10 @@ export declare const actionLink: {
|
|
|
57
59
|
currentItemStrokeColor: string;
|
|
58
60
|
currentItemBackgroundColor: string;
|
|
59
61
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
60
|
-
|
|
62
|
+
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
61
63
|
currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
|
|
62
64
|
currentItemRoughness: number;
|
|
65
|
+
currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
|
|
63
66
|
currentItemOpacity: number;
|
|
64
67
|
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
65
68
|
currentItemFontSize: number;
|
|
@@ -95,6 +98,10 @@ export declare const actionLink: {
|
|
|
95
98
|
} | {
|
|
96
99
|
name: "elementLinkSelector";
|
|
97
100
|
sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
101
|
+
} | {
|
|
102
|
+
name: "charts";
|
|
103
|
+
data: import("../charts").Spreadsheet;
|
|
104
|
+
rawText: string;
|
|
98
105
|
};
|
|
99
106
|
defaultSidebarDockedPreference: boolean;
|
|
100
107
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
@@ -110,7 +117,7 @@ export declare const actionLink: {
|
|
|
110
117
|
selectedElementsAreBeingDragged: boolean;
|
|
111
118
|
shouldCacheIgnoreZoom: boolean;
|
|
112
119
|
toast: {
|
|
113
|
-
message:
|
|
120
|
+
message: React.ReactNode;
|
|
114
121
|
closable?: boolean;
|
|
115
122
|
duration?: number;
|
|
116
123
|
} | null;
|
|
@@ -128,20 +135,12 @@ export declare const actionLink: {
|
|
|
128
135
|
height: number;
|
|
129
136
|
offsetTop: number;
|
|
130
137
|
offsetLeft: number;
|
|
131
|
-
fileHandle:
|
|
138
|
+
fileHandle: FileSystemFileHandle | null;
|
|
132
139
|
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
133
140
|
stats: {
|
|
134
141
|
open: boolean;
|
|
135
142
|
panels: number;
|
|
136
143
|
};
|
|
137
|
-
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
138
|
-
pasteDialog: {
|
|
139
|
-
shown: false;
|
|
140
|
-
data: null;
|
|
141
|
-
} | {
|
|
142
|
-
shown: true;
|
|
143
|
-
data: import("../charts").Spreadsheet;
|
|
144
|
-
};
|
|
145
144
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
146
145
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
147
146
|
originSnapOffset: {
|