@excalidraw/math 0.18.0-2b1c2a9 → 0.18.0-2c3dcc0
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 +8 -2
- package/dist/dev/index.js.map +2 -2
- package/dist/prod/index.js +1 -1
- package/dist/types/common/src/colors.d.ts +3 -0
- package/dist/types/common/src/constants.d.ts +56 -0
- package/dist/types/common/src/keys.d.ts +4 -0
- package/dist/types/common/src/random.d.ts +7 -0
- package/dist/types/common/src/utils.d.ts +12 -1
- package/dist/types/element/src/Scene.d.ts +1 -1
- package/dist/types/element/src/align.d.ts +4 -1
- package/dist/types/element/src/binding.d.ts +75 -7
- package/dist/types/element/src/bounds.d.ts +10 -2
- package/dist/types/element/src/collision.d.ts +21 -5
- package/dist/types/element/src/comparisons.d.ts +5 -3
- package/dist/types/element/src/cropElement.d.ts +36 -4
- package/dist/types/element/src/delta.d.ts +30 -2
- package/dist/types/element/src/distribute.d.ts +4 -1
- package/dist/types/element/src/dragElements.d.ts +8 -3
- package/dist/types/element/src/duplicate.d.ts +60 -0
- package/dist/types/element/src/elbowArrow.d.ts +5 -0
- package/dist/types/element/src/embeddable.d.ts +2 -1
- package/dist/types/element/src/flowchart.d.ts +6 -8
- package/dist/types/element/src/frame.d.ts +21 -3
- package/dist/types/element/src/groups.d.ts +1 -6
- package/dist/types/element/src/image.d.ts +5 -2
- package/dist/types/element/src/index.d.ts +3 -0
- package/dist/types/element/src/linearElementEditor.d.ts +4 -1
- package/dist/types/element/src/listMarker.d.ts +39 -0
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/newElement.d.ts +40 -3
- package/dist/types/element/src/renderElement.d.ts +31 -4
- package/dist/types/element/src/renderEnvironment.d.ts +66 -0
- package/dist/types/element/src/resizeElements.d.ts +15 -5
- package/dist/types/element/src/selection.d.ts +4 -10
- package/dist/types/element/src/shape.d.ts +17 -1
- package/dist/types/element/src/sizeHelpers.d.ts +6 -0
- package/dist/types/element/src/stickyNote.d.ts +191 -0
- package/dist/types/element/src/textElement.d.ts +10 -2
- package/dist/types/element/src/textMeasurements.d.ts +15 -11
- package/dist/types/element/src/textWrapping.d.ts +3 -2
- package/dist/types/element/src/transform.d.ts +30 -7
- package/dist/types/element/src/typeChecks.d.ts +3 -2
- package/dist/types/element/src/types.d.ts +28 -6
- package/dist/types/element/src/utils.d.ts +8 -1
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +48 -3
- package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -6
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +62 -208
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +121 -16
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +32 -2
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +4 -546
- package/dist/types/excalidraw/actions/actionDeselect.d.ts +20 -2
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +32 -2
- package/dist/types/excalidraw/actions/actionExport.d.ts +39 -9
- package/dist/types/excalidraw/actions/actionFrame.d.ts +92 -479
- package/dist/types/excalidraw/actions/actionGroup.d.ts +34 -4
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +66 -2
- package/dist/types/excalidraw/actions/actionLink.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionMenu.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionProperties.d.ts +42 -8
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +17 -2
- package/dist/types/excalidraw/actions/actionStyles.d.ts +17 -2
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +452 -6
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionToggleMinimap.d.ts +201 -0
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionToggleShowHints.d.ts +198 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionToggleWrap.d.ts +12 -0
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +16 -1
- package/dist/types/excalidraw/actions/colorTargets.d.ts +39 -0
- package/dist/types/excalidraw/actions/index.d.ts +3 -0
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +26 -8
- package/dist/types/excalidraw/charts/charts.bar.d.ts +2 -1
- package/dist/types/excalidraw/charts/charts.helpers.d.ts +6 -5
- package/dist/types/excalidraw/charts/charts.line.d.ts +2 -1
- package/dist/types/excalidraw/charts/charts.radar.d.ts +2 -1
- package/dist/types/excalidraw/charts/index.d.ts +2 -1
- package/dist/types/excalidraw/components/Actions.d.ts +10 -2
- package/dist/types/excalidraw/components/App.arrowText.d.ts +5 -39
- package/dist/types/excalidraw/components/App.clipboard.d.ts +31 -0
- package/dist/types/excalidraw/components/App.d.ts +129 -218
- package/dist/types/excalidraw/components/App.duplicate.d.ts +101 -0
- package/dist/types/excalidraw/components/App.host.d.ts +102 -0
- package/dist/types/excalidraw/components/App.modifiers.d.ts +38 -0
- package/dist/types/excalidraw/components/App.pan.d.ts +62 -0
- package/dist/types/excalidraw/components/App.selection.d.ts +265 -0
- package/dist/types/excalidraw/components/App.selectionTool.d.ts +94 -0
- package/dist/types/excalidraw/components/App.text.d.ts +194 -0
- package/dist/types/excalidraw/components/App.textTool.d.ts +140 -0
- package/dist/types/excalidraw/components/App.toolDrag.d.ts +63 -0
- package/dist/types/excalidraw/components/App.viewport.d.ts +64 -4
- package/dist/types/excalidraw/components/App.wheel.d.ts +30 -0
- package/dist/types/excalidraw/components/App.wrap.d.ts +39 -0
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
- package/dist/types/excalidraw/components/ColorPicker/colorTopPicksDnD.d.ts +11 -0
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -1
- package/dist/types/excalidraw/components/FileDropOverlay.d.ts +2 -0
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +4 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +6 -1
- package/dist/types/excalidraw/components/FontPicker/fontTopPicksDnD.d.ts +12 -0
- package/dist/types/excalidraw/components/IconButton.d.ts +2 -0
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +6 -2
- package/dist/types/excalidraw/components/LibraryUnit.d.ts +7 -2
- package/dist/types/excalidraw/components/Minimap/Minimap.d.ts +15 -0
- package/dist/types/excalidraw/components/Minimap/MinimapAnnouncementDot.d.ts +10 -0
- package/dist/types/excalidraw/components/Minimap/minimap-controller.chunk.d.ts +90 -0
- package/dist/types/excalidraw/components/Minimap/minimap-shared.chunk.d.ts +122 -0
- package/dist/types/excalidraw/components/Minimap/minimap-worker.chunk.d.ts +12 -0
- package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -2
- package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +2 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +5 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDPreviewPanel.d.ts +5 -2
- package/dist/types/excalidraw/components/TTDDialog/TextToDiagram.d.ts +2 -1
- package/dist/types/excalidraw/components/TTDDialog/common.d.ts +4 -1
- package/dist/types/excalidraw/components/TTDDialog/hooks/useTextGeneration.d.ts +3 -2
- package/dist/types/excalidraw/components/TTDDialog/types.d.ts +14 -1
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidError.d.ts +16 -0
- package/dist/types/excalidraw/components/Tools.d.ts +7 -2
- package/dist/types/excalidraw/components/Tooltip.d.ts +26 -2
- package/dist/types/excalidraw/components/TopPicksDnD/TopPicksContextMenu.d.ts +14 -0
- package/dist/types/excalidraw/components/TopPicksDnD/TopPicksTip.d.ts +11 -0
- package/dist/types/excalidraw/components/TopPicksDnD/topPicksDnD.d.ts +58 -0
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +0 -1
- package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +2 -0
- package/dist/types/excalidraw/components/footer/Footer.d.ts +3 -1
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +13 -2
- package/dist/types/excalidraw/components/icons.d.ts +2 -0
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +3 -0
- package/dist/types/excalidraw/components/shapeActionPredicates.d.ts +2 -2
- package/dist/types/excalidraw/data/blob.d.ts +46 -16
- package/dist/types/excalidraw/data/index.d.ts +3 -3
- package/dist/types/excalidraw/data/json.d.ts +23 -8
- package/dist/types/excalidraw/fonts/Fonts.d.ts +9 -6
- package/dist/types/excalidraw/history.d.ts +10 -4
- package/dist/types/excalidraw/mermaid.d.ts +7 -0
- package/dist/types/excalidraw/reactUtils.d.ts +1 -1
- package/dist/types/excalidraw/renderOverrides.d.ts +9 -0
- package/dist/types/excalidraw/renderer/animation.d.ts +11 -4
- package/dist/types/excalidraw/renderer/helpers.d.ts +18 -0
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
- package/dist/types/excalidraw/renderer/staticScene.d.ts +11 -6
- package/dist/types/excalidraw/scene/Renderer.d.ts +64 -3
- package/dist/types/excalidraw/scene/export.d.ts +343 -20
- package/dist/types/excalidraw/scene/index.d.ts +1 -1
- package/dist/types/excalidraw/scene/types.d.ts +26 -2
- package/dist/types/excalidraw/types.d.ts +191 -22
- package/dist/types/excalidraw/viewport.d.ts +29 -1
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +12 -1
- package/dist/types/utils/src/index.d.ts +3 -1
- package/dist/types/utils/src/shape.d.ts +2 -2
- package/package.json +2 -2
- package/dist/types/excalidraw/components/ColorPicker/topPicksDnD.d.ts +0 -31
- package/dist/types/utils/src/export.d.ts +0 -35
|
@@ -60,11 +60,20 @@ export declare const actionLinkToElement: {
|
|
|
60
60
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
61
61
|
bindingPreference: "enabled" | "disabled";
|
|
62
62
|
isMidpointSnappingEnabled: boolean;
|
|
63
|
+
showHints: boolean;
|
|
64
|
+
inputDevice: import("../types").InputDevice;
|
|
63
65
|
suggestedBinding: {
|
|
64
66
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
65
67
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
66
68
|
} | null;
|
|
67
|
-
|
|
69
|
+
textToolHover: {
|
|
70
|
+
type: "text";
|
|
71
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
72
|
+
} | {
|
|
73
|
+
type: "container";
|
|
74
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
75
|
+
} | {
|
|
76
|
+
type: "arrow";
|
|
68
77
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
69
78
|
anchor: "start" | "end" | "label";
|
|
70
79
|
} | null;
|
|
@@ -94,6 +103,8 @@ export declare const actionLinkToElement: {
|
|
|
94
103
|
exportWithDarkMode: boolean;
|
|
95
104
|
exportScale: number;
|
|
96
105
|
currentItemStrokeColor: string;
|
|
106
|
+
currentItemStickynoteStrokeColor: string;
|
|
107
|
+
currentItemStickynoteBackgroundColor: string;
|
|
97
108
|
currentItemBackgroundColor: string;
|
|
98
109
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
99
110
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -144,6 +155,7 @@ export declare const actionLinkToElement: {
|
|
|
144
155
|
duration?: number;
|
|
145
156
|
} | null;
|
|
146
157
|
zenModeEnabled: boolean;
|
|
158
|
+
minimapEnabled: boolean;
|
|
147
159
|
theme: import("@excalidraw/element/types").Theme;
|
|
148
160
|
gridSize: number;
|
|
149
161
|
gridStep: number;
|
|
@@ -186,7 +198,10 @@ export declare const actionLinkToElement: {
|
|
|
186
198
|
elementStroke: readonly string[] | null;
|
|
187
199
|
elementBackground: readonly string[] | null;
|
|
188
200
|
bucketFill: readonly string[] | null;
|
|
201
|
+
stickyNoteStroke: readonly string[] | null;
|
|
202
|
+
stickyNoteBackground: readonly string[] | null;
|
|
189
203
|
};
|
|
204
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
190
205
|
};
|
|
191
206
|
captureUpdate: "IMMEDIATELY";
|
|
192
207
|
elements?: undefined;
|
|
@@ -42,11 +42,20 @@ export declare const actionToggleElementLock: {
|
|
|
42
42
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
43
43
|
bindingPreference: "enabled" | "disabled";
|
|
44
44
|
isMidpointSnappingEnabled: boolean;
|
|
45
|
+
showHints: boolean;
|
|
46
|
+
inputDevice: import("../types").InputDevice;
|
|
45
47
|
suggestedBinding: {
|
|
46
48
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
47
49
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
48
50
|
} | null;
|
|
49
|
-
|
|
51
|
+
textToolHover: {
|
|
52
|
+
type: "text";
|
|
53
|
+
elementId: ExcalidrawElement["id"];
|
|
54
|
+
} | {
|
|
55
|
+
type: "container";
|
|
56
|
+
elementId: ExcalidrawElement["id"];
|
|
57
|
+
} | {
|
|
58
|
+
type: "arrow";
|
|
50
59
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
51
60
|
anchor: "start" | "end" | "label";
|
|
52
61
|
} | null;
|
|
@@ -76,6 +85,8 @@ export declare const actionToggleElementLock: {
|
|
|
76
85
|
exportWithDarkMode: boolean;
|
|
77
86
|
exportScale: number;
|
|
78
87
|
currentItemStrokeColor: string;
|
|
88
|
+
currentItemStickynoteStrokeColor: string;
|
|
89
|
+
currentItemStickynoteBackgroundColor: string;
|
|
79
90
|
currentItemBackgroundColor: string;
|
|
80
91
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
81
92
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -140,6 +151,7 @@ export declare const actionToggleElementLock: {
|
|
|
140
151
|
duration?: number;
|
|
141
152
|
} | null;
|
|
142
153
|
zenModeEnabled: boolean;
|
|
154
|
+
minimapEnabled: boolean;
|
|
143
155
|
theme: import("@excalidraw/element/types").Theme;
|
|
144
156
|
gridSize: number;
|
|
145
157
|
gridStep: number;
|
|
@@ -174,7 +186,10 @@ export declare const actionToggleElementLock: {
|
|
|
174
186
|
elementStroke: readonly string[] | null;
|
|
175
187
|
elementBackground: readonly string[] | null;
|
|
176
188
|
bucketFill: readonly string[] | null;
|
|
189
|
+
stickyNoteStroke: readonly string[] | null;
|
|
190
|
+
stickyNoteBackground: readonly string[] | null;
|
|
177
191
|
};
|
|
192
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
178
193
|
};
|
|
179
194
|
captureUpdate: "IMMEDIATELY";
|
|
180
195
|
};
|
|
@@ -221,11 +236,20 @@ export declare const actionUnlockAllElements: {
|
|
|
221
236
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
222
237
|
bindingPreference: "enabled" | "disabled";
|
|
223
238
|
isMidpointSnappingEnabled: boolean;
|
|
239
|
+
showHints: boolean;
|
|
240
|
+
inputDevice: import("../types").InputDevice;
|
|
224
241
|
suggestedBinding: {
|
|
225
242
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
226
243
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
227
244
|
} | null;
|
|
228
|
-
|
|
245
|
+
textToolHover: {
|
|
246
|
+
type: "text";
|
|
247
|
+
elementId: ExcalidrawElement["id"];
|
|
248
|
+
} | {
|
|
249
|
+
type: "container";
|
|
250
|
+
elementId: ExcalidrawElement["id"];
|
|
251
|
+
} | {
|
|
252
|
+
type: "arrow";
|
|
229
253
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
230
254
|
anchor: "start" | "end" | "label";
|
|
231
255
|
} | null;
|
|
@@ -255,6 +279,8 @@ export declare const actionUnlockAllElements: {
|
|
|
255
279
|
exportWithDarkMode: boolean;
|
|
256
280
|
exportScale: number;
|
|
257
281
|
currentItemStrokeColor: string;
|
|
282
|
+
currentItemStickynoteStrokeColor: string;
|
|
283
|
+
currentItemStickynoteBackgroundColor: string;
|
|
258
284
|
currentItemBackgroundColor: string;
|
|
259
285
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
260
286
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -319,6 +345,7 @@ export declare const actionUnlockAllElements: {
|
|
|
319
345
|
duration?: number;
|
|
320
346
|
} | null;
|
|
321
347
|
zenModeEnabled: boolean;
|
|
348
|
+
minimapEnabled: boolean;
|
|
322
349
|
theme: import("@excalidraw/element/types").Theme;
|
|
323
350
|
gridSize: number;
|
|
324
351
|
gridStep: number;
|
|
@@ -354,7 +381,10 @@ export declare const actionUnlockAllElements: {
|
|
|
354
381
|
elementStroke: readonly string[] | null;
|
|
355
382
|
elementBackground: readonly string[] | null;
|
|
356
383
|
bucketFill: readonly string[] | null;
|
|
384
|
+
stickyNoteStroke: readonly string[] | null;
|
|
385
|
+
stickyNoteBackground: readonly string[] | null;
|
|
357
386
|
};
|
|
387
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
358
388
|
};
|
|
359
389
|
captureUpdate: "IMMEDIATELY";
|
|
360
390
|
};
|
|
@@ -92,6 +92,11 @@ export declare const actionLoadScene: {
|
|
|
92
92
|
};
|
|
93
93
|
name: string | null;
|
|
94
94
|
zoom: import("../types").Zoom;
|
|
95
|
+
isBindingEnabled: boolean;
|
|
96
|
+
isMidpointSnappingEnabled: boolean;
|
|
97
|
+
selectedElementIds: Readonly<{
|
|
98
|
+
[id: string]: true;
|
|
99
|
+
}>;
|
|
95
100
|
scrollX: number;
|
|
96
101
|
scrollY: number;
|
|
97
102
|
viewModeEnabled: boolean;
|
|
@@ -113,9 +118,6 @@ export declare const actionLoadScene: {
|
|
|
113
118
|
rawText: string;
|
|
114
119
|
};
|
|
115
120
|
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
116
|
-
selectedElementIds: Readonly<{
|
|
117
|
-
[id: string]: true;
|
|
118
|
-
}>;
|
|
119
121
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
120
122
|
activeTool: {
|
|
121
123
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -133,14 +135,19 @@ export declare const actionLoadScene: {
|
|
|
133
135
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
134
136
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
135
137
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
136
|
-
isBindingEnabled: boolean;
|
|
137
|
-
isMidpointSnappingEnabled: boolean;
|
|
138
138
|
gridModeEnabled: boolean;
|
|
139
139
|
suggestedBinding: {
|
|
140
140
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
141
141
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
142
142
|
} | null;
|
|
143
|
-
|
|
143
|
+
textToolHover: {
|
|
144
|
+
type: "text";
|
|
145
|
+
elementId: ExcalidrawElement["id"];
|
|
146
|
+
} | {
|
|
147
|
+
type: "container";
|
|
148
|
+
elementId: ExcalidrawElement["id"];
|
|
149
|
+
} | {
|
|
150
|
+
type: "arrow";
|
|
144
151
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
145
152
|
anchor: "start" | "end" | "label";
|
|
146
153
|
} | null;
|
|
@@ -163,8 +170,6 @@ export declare const actionLoadScene: {
|
|
|
163
170
|
shouldCacheIgnoreZoom: boolean;
|
|
164
171
|
exportScale: number;
|
|
165
172
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
166
|
-
gridSize: number;
|
|
167
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
168
173
|
contextMenu: {
|
|
169
174
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
170
175
|
top: number;
|
|
@@ -176,6 +181,8 @@ export declare const actionLoadScene: {
|
|
|
176
181
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
177
182
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
178
183
|
bindingPreference: "enabled" | "disabled";
|
|
184
|
+
showHints: boolean;
|
|
185
|
+
inputDevice: import("../types").InputDevice;
|
|
179
186
|
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
180
187
|
preferredSelectionTool: {
|
|
181
188
|
type: "selection" | "lasso";
|
|
@@ -187,6 +194,8 @@ export declare const actionLoadScene: {
|
|
|
187
194
|
exportEmbedScene: boolean;
|
|
188
195
|
exportWithDarkMode: boolean;
|
|
189
196
|
currentItemStrokeColor: string;
|
|
197
|
+
currentItemStickynoteStrokeColor: string;
|
|
198
|
+
currentItemStickynoteBackgroundColor: string;
|
|
190
199
|
currentItemBackgroundColor: string;
|
|
191
200
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
192
201
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -222,6 +231,8 @@ export declare const actionLoadScene: {
|
|
|
222
231
|
closable?: boolean;
|
|
223
232
|
duration?: number;
|
|
224
233
|
} | null;
|
|
234
|
+
minimapEnabled: boolean;
|
|
235
|
+
gridSize: number;
|
|
225
236
|
gridStep: number;
|
|
226
237
|
fileHandle: FileSystemFileHandle | null;
|
|
227
238
|
stats: {
|
|
@@ -237,11 +248,15 @@ export declare const actionLoadScene: {
|
|
|
237
248
|
lockedMultiSelections: {
|
|
238
249
|
[groupId: string]: true;
|
|
239
250
|
};
|
|
251
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
240
252
|
colorTopPicks: {
|
|
241
253
|
elementStroke: readonly string[] | null;
|
|
242
254
|
elementBackground: readonly string[] | null;
|
|
243
255
|
bucketFill: readonly string[] | null;
|
|
256
|
+
stickyNoteStroke: readonly string[] | null;
|
|
257
|
+
stickyNoteBackground: readonly string[] | null;
|
|
244
258
|
};
|
|
259
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
245
260
|
};
|
|
246
261
|
files: BinaryFiles;
|
|
247
262
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -268,11 +283,20 @@ export declare const actionLoadScene: {
|
|
|
268
283
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
269
284
|
bindingPreference: "enabled" | "disabled";
|
|
270
285
|
isMidpointSnappingEnabled: boolean;
|
|
286
|
+
showHints: boolean;
|
|
287
|
+
inputDevice: import("../types").InputDevice;
|
|
271
288
|
suggestedBinding: {
|
|
272
289
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
273
290
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
274
291
|
} | null;
|
|
275
|
-
|
|
292
|
+
textToolHover: {
|
|
293
|
+
type: "text";
|
|
294
|
+
elementId: ExcalidrawElement["id"];
|
|
295
|
+
} | {
|
|
296
|
+
type: "container";
|
|
297
|
+
elementId: ExcalidrawElement["id"];
|
|
298
|
+
} | {
|
|
299
|
+
type: "arrow";
|
|
276
300
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
277
301
|
anchor: "start" | "end" | "label";
|
|
278
302
|
} | null;
|
|
@@ -302,6 +326,8 @@ export declare const actionLoadScene: {
|
|
|
302
326
|
exportWithDarkMode: boolean;
|
|
303
327
|
exportScale: number;
|
|
304
328
|
currentItemStrokeColor: string;
|
|
329
|
+
currentItemStickynoteStrokeColor: string;
|
|
330
|
+
currentItemStickynoteBackgroundColor: string;
|
|
305
331
|
currentItemBackgroundColor: string;
|
|
306
332
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
307
333
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -369,6 +395,7 @@ export declare const actionLoadScene: {
|
|
|
369
395
|
duration?: number;
|
|
370
396
|
} | null;
|
|
371
397
|
zenModeEnabled: boolean;
|
|
398
|
+
minimapEnabled: boolean;
|
|
372
399
|
theme: Theme;
|
|
373
400
|
gridSize: number;
|
|
374
401
|
gridStep: number;
|
|
@@ -411,7 +438,10 @@ export declare const actionLoadScene: {
|
|
|
411
438
|
elementStroke: readonly string[] | null;
|
|
412
439
|
elementBackground: readonly string[] | null;
|
|
413
440
|
bucketFill: readonly string[] | null;
|
|
441
|
+
stickyNoteStroke: readonly string[] | null;
|
|
442
|
+
stickyNoteBackground: readonly string[] | null;
|
|
414
443
|
};
|
|
444
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
415
445
|
};
|
|
416
446
|
files: BinaryFiles;
|
|
417
447
|
captureUpdate: "EVENTUALLY";
|