@myoc/excalidraw 0.18.15 → 0.18.17
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-O7OUZ7ZJ.js → chunk-FQEIAL75.js} +14874 -9982
- package/dist/dev/chunk-FQEIAL75.js.map +7 -0
- package/dist/dev/{chunk-PEI7EPYO.js → chunk-KJKC5BJI.js} +10 -4
- package/dist/dev/chunk-KJKC5BJI.js.map +7 -0
- package/dist/dev/{chunk-DJKQZ4KD.js → chunk-XL2I4W52.js} +2 -2
- package/dist/dev/data/{image-NJWLICAS.js → image-WMF622SS.js} +3 -3
- package/dist/dev/index.css +69 -22
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +3104 -6547
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-R455UJTM.js → en-UQFCZXHO.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-NJOW7IOK.js → chunk-5JAQX5EH.js} +1 -1
- package/dist/prod/{chunk-KZWZ7WHC.js → chunk-EJLAYNAE.js} +4 -4
- package/dist/prod/chunk-LSNMPGNI.js +33 -0
- package/dist/prod/data/image-Z433FUMH.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +17 -16
- package/dist/prod/locales/{en-YWERZJD6.js → en-7EHYHCIL.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 +3 -1
- 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/{excalidraw/scene → element/src}/Scene.d.ts +11 -14
- package/dist/types/element/src/ShapeCache.d.ts +1 -1
- package/dist/types/element/src/align.d.ts +3 -3
- package/dist/types/element/src/arrange.d.ts +2 -1
- package/dist/types/element/src/binding.d.ts +18 -10
- 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 +3 -2
- package/dist/types/element/src/elbowArrow.d.ts +1 -1
- package/dist/types/element/src/flowchart.d.ts +3 -2
- package/dist/types/element/src/fractionalIndex.d.ts +2 -2
- package/dist/types/element/src/frame.d.ts +4 -3
- package/dist/types/element/src/index.d.ts +45 -2
- package/dist/types/element/src/linearElementEditor.d.ts +14 -18
- package/dist/types/element/src/mutateElement.d.ts +10 -2
- package/dist/types/element/src/newElement.d.ts +3 -3
- package/dist/types/element/src/resizeElements.d.ts +4 -4
- package/dist/types/element/src/selection.d.ts +1 -6
- package/dist/types/element/src/shapes.d.ts +1 -1
- package/dist/types/element/src/sizeHelpers.d.ts +0 -1
- package/dist/types/element/src/store.d.ts +227 -0
- package/dist/types/element/src/textElement.d.ts +4 -3
- package/dist/types/element/src/typeChecks.d.ts +5 -1
- package/dist/types/element/src/types.d.ts +8 -0
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +30 -48
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionArrange.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +20 -32
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +139 -211
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +62 -98
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +28 -46
- 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 +10 -16
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +22 -34
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionExport.d.ts +184 -238
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +18 -30
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +84 -108
- package/dist/types/excalidraw/actions/actionGroup.d.ts +26 -38
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +9 -15
- package/dist/types/excalidraw/actions/actionLink.d.ts +10 -16
- package/dist/types/excalidraw/actions/actionMenu.d.ts +30 -48
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +19 -31
- package/dist/types/excalidraw/actions/actionProperties.d.ts +138 -228
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +12 -18
- package/dist/types/excalidraw/actions/actionSmartZoom.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionStyles.d.ts +14 -20
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +12 -18
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +12 -18
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +12 -199
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +12 -18
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +12 -18
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +12 -18
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/actions/types.d.ts +3 -3
- package/dist/types/excalidraw/appState.d.ts +31 -31
- package/dist/types/excalidraw/components/App.d.ts +13 -8
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +5 -1
- package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -3
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -3
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
- package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
- package/dist/types/excalidraw/components/Range.d.ts +3 -3
- package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
- package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -11
- package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
- package/dist/types/excalidraw/components/icons.d.ts +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/editor-jotai.d.ts +6 -6
- 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 +16 -9
- package/dist/types/excalidraw/visualdebug.d.ts +1 -1
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -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 +5 -4
- package/dist/dev/chunk-O7OUZ7ZJ.js.map +0 -7
- package/dist/dev/chunk-PEI7EPYO.js.map +0 -7
- package/dist/prod/chunk-WGXUBJ4X.js +0 -33
- package/dist/prod/data/image-EKW6RBW7.js +0 -1
- package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
- package/dist/types/excalidraw/store.d.ts +0 -129
- /package/dist/dev/{chunk-DJKQZ4KD.js.map → chunk-XL2I4W52.js.map} +0 -0
- /package/dist/dev/data/{image-NJWLICAS.js.map → image-WMF622SS.js.map} +0 -0
- /package/dist/dev/locales/{en-R455UJTM.js.map → en-UQFCZXHO.js.map} +0 -0
|
@@ -18,9 +18,9 @@ export declare const actionCopy: {
|
|
|
18
18
|
showWelcomeScreen: boolean;
|
|
19
19
|
isLoading: boolean;
|
|
20
20
|
myocSimplifiedMode: boolean;
|
|
21
|
+
dontResizeLimitMBs: number;
|
|
21
22
|
hideMainMenus: boolean;
|
|
22
23
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
23
|
-
dontResizeLimitMBs: number;
|
|
24
24
|
arrangeConfiguration: {
|
|
25
25
|
algorithm: "bin-packing";
|
|
26
26
|
gap: number;
|
|
@@ -35,7 +35,7 @@ export declare const actionCopy: {
|
|
|
35
35
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
36
36
|
isBindingEnabled: boolean;
|
|
37
37
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
38
|
-
suggestedBindings: import("@excalidraw/element
|
|
38
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
39
39
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
40
40
|
frameRendering: {
|
|
41
41
|
enabled: boolean;
|
|
@@ -46,7 +46,7 @@ export declare const actionCopy: {
|
|
|
46
46
|
editingFrame: string | null;
|
|
47
47
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
48
48
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
49
|
-
editingLinearElement: import("@excalidraw/element
|
|
49
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
50
50
|
activeTool: {
|
|
51
51
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
52
52
|
locked: boolean;
|
|
@@ -84,7 +84,7 @@ export declare const actionCopy: {
|
|
|
84
84
|
zoom: Readonly<{
|
|
85
85
|
value: import("../types").NormalizedZoomValue;
|
|
86
86
|
}>;
|
|
87
|
-
openMenu: "
|
|
87
|
+
openMenu: "canvas" | "shape" | null;
|
|
88
88
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
89
89
|
openSidebar: {
|
|
90
90
|
name: string;
|
|
@@ -167,8 +167,8 @@ export declare const actionCopy: {
|
|
|
167
167
|
data: import("../charts").Spreadsheet;
|
|
168
168
|
};
|
|
169
169
|
pendingImageElementId: string | null;
|
|
170
|
-
showHyperlinkPopup: false | "
|
|
171
|
-
selectedLinearElement: import("@excalidraw/element
|
|
170
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
171
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
172
172
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
173
173
|
originSnapOffset: {
|
|
174
174
|
x: number;
|
|
@@ -179,16 +179,10 @@ export declare const actionCopy: {
|
|
|
179
179
|
followedBy: Set<import("../types").SocketId>;
|
|
180
180
|
isCropping: boolean;
|
|
181
181
|
croppingElementId: string | null;
|
|
182
|
-
searchMatches:
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
offsetX: number;
|
|
187
|
-
offsetY: number;
|
|
188
|
-
width: number;
|
|
189
|
-
height: number;
|
|
190
|
-
}[];
|
|
191
|
-
}[];
|
|
182
|
+
searchMatches: Readonly<{
|
|
183
|
+
focusedId: string | null;
|
|
184
|
+
matches: readonly import("../types").SearchMatch[];
|
|
185
|
+
}> | null;
|
|
192
186
|
};
|
|
193
187
|
} | {
|
|
194
188
|
captureUpdate: "EVENTUALLY";
|
|
@@ -216,9 +210,9 @@ export declare const actionPaste: {
|
|
|
216
210
|
showWelcomeScreen: boolean;
|
|
217
211
|
isLoading: boolean;
|
|
218
212
|
myocSimplifiedMode: boolean;
|
|
213
|
+
dontResizeLimitMBs: number;
|
|
219
214
|
hideMainMenus: boolean;
|
|
220
215
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
221
|
-
dontResizeLimitMBs: number;
|
|
222
216
|
arrangeConfiguration: {
|
|
223
217
|
algorithm: "bin-packing";
|
|
224
218
|
gap: number;
|
|
@@ -233,7 +227,7 @@ export declare const actionPaste: {
|
|
|
233
227
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
234
228
|
isBindingEnabled: boolean;
|
|
235
229
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
236
|
-
suggestedBindings: import("@excalidraw/element
|
|
230
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
237
231
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
238
232
|
frameRendering: {
|
|
239
233
|
enabled: boolean;
|
|
@@ -244,7 +238,7 @@ export declare const actionPaste: {
|
|
|
244
238
|
editingFrame: string | null;
|
|
245
239
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
246
240
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
247
|
-
editingLinearElement: import("@excalidraw/element
|
|
241
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
248
242
|
activeTool: {
|
|
249
243
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
250
244
|
locked: boolean;
|
|
@@ -282,7 +276,7 @@ export declare const actionPaste: {
|
|
|
282
276
|
zoom: Readonly<{
|
|
283
277
|
value: import("../types").NormalizedZoomValue;
|
|
284
278
|
}>;
|
|
285
|
-
openMenu: "
|
|
279
|
+
openMenu: "canvas" | "shape" | null;
|
|
286
280
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
287
281
|
openSidebar: {
|
|
288
282
|
name: string;
|
|
@@ -365,8 +359,8 @@ export declare const actionPaste: {
|
|
|
365
359
|
data: import("../charts").Spreadsheet;
|
|
366
360
|
};
|
|
367
361
|
pendingImageElementId: string | null;
|
|
368
|
-
showHyperlinkPopup: false | "
|
|
369
|
-
selectedLinearElement: import("@excalidraw/element
|
|
362
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
363
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
370
364
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
371
365
|
originSnapOffset: {
|
|
372
366
|
x: number;
|
|
@@ -377,16 +371,10 @@ export declare const actionPaste: {
|
|
|
377
371
|
followedBy: Set<import("../types").SocketId>;
|
|
378
372
|
isCropping: boolean;
|
|
379
373
|
croppingElementId: string | null;
|
|
380
|
-
searchMatches:
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
offsetX: number;
|
|
385
|
-
offsetY: number;
|
|
386
|
-
width: number;
|
|
387
|
-
height: number;
|
|
388
|
-
}[];
|
|
389
|
-
}[];
|
|
374
|
+
searchMatches: Readonly<{
|
|
375
|
+
focusedId: string | null;
|
|
376
|
+
matches: readonly import("../types").SearchMatch[];
|
|
377
|
+
}> | null;
|
|
390
378
|
};
|
|
391
379
|
} | {
|
|
392
380
|
captureUpdate: "EVENTUALLY";
|
|
@@ -415,9 +403,9 @@ export declare const actionCut: {
|
|
|
415
403
|
showWelcomeScreen: boolean;
|
|
416
404
|
isLoading: boolean;
|
|
417
405
|
myocSimplifiedMode: boolean;
|
|
406
|
+
dontResizeLimitMBs: number;
|
|
418
407
|
hideMainMenus: boolean;
|
|
419
408
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
420
|
-
dontResizeLimitMBs: number;
|
|
421
409
|
arrangeConfiguration: {
|
|
422
410
|
algorithm: "bin-packing";
|
|
423
411
|
gap: number;
|
|
@@ -433,7 +421,7 @@ export declare const actionCut: {
|
|
|
433
421
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
434
422
|
isBindingEnabled: boolean;
|
|
435
423
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
436
|
-
suggestedBindings: import("@excalidraw/element
|
|
424
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
437
425
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
438
426
|
frameRendering: {
|
|
439
427
|
enabled: boolean;
|
|
@@ -481,7 +469,7 @@ export declare const actionCut: {
|
|
|
481
469
|
zoom: Readonly<{
|
|
482
470
|
value: import("../types").NormalizedZoomValue;
|
|
483
471
|
}>;
|
|
484
|
-
openMenu: "
|
|
472
|
+
openMenu: "canvas" | "shape" | null;
|
|
485
473
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
486
474
|
openSidebar: {
|
|
487
475
|
name: string;
|
|
@@ -564,8 +552,8 @@ export declare const actionCut: {
|
|
|
564
552
|
data: import("../charts").Spreadsheet;
|
|
565
553
|
};
|
|
566
554
|
pendingImageElementId: string | null;
|
|
567
|
-
showHyperlinkPopup: false | "
|
|
568
|
-
selectedLinearElement: import("@excalidraw/element
|
|
555
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
556
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
569
557
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
570
558
|
originSnapOffset: {
|
|
571
559
|
x: number;
|
|
@@ -576,16 +564,10 @@ export declare const actionCut: {
|
|
|
576
564
|
followedBy: Set<import("../types").SocketId>;
|
|
577
565
|
isCropping: boolean;
|
|
578
566
|
croppingElementId: string | null;
|
|
579
|
-
searchMatches:
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
offsetX: number;
|
|
584
|
-
offsetY: number;
|
|
585
|
-
width: number;
|
|
586
|
-
height: number;
|
|
587
|
-
}[];
|
|
588
|
-
}[];
|
|
567
|
+
searchMatches: Readonly<{
|
|
568
|
+
focusedId: string | null;
|
|
569
|
+
matches: readonly import("../types").SearchMatch[];
|
|
570
|
+
}> | null;
|
|
589
571
|
};
|
|
590
572
|
captureUpdate: "IMMEDIATELY";
|
|
591
573
|
} | {
|
|
@@ -630,9 +612,9 @@ export declare const actionCut: {
|
|
|
630
612
|
showWelcomeScreen: boolean;
|
|
631
613
|
isLoading: boolean;
|
|
632
614
|
myocSimplifiedMode: boolean;
|
|
615
|
+
dontResizeLimitMBs: number;
|
|
633
616
|
hideMainMenus: boolean;
|
|
634
617
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
635
|
-
dontResizeLimitMBs: number;
|
|
636
618
|
arrangeConfiguration: {
|
|
637
619
|
algorithm: "bin-packing";
|
|
638
620
|
gap: number;
|
|
@@ -648,7 +630,7 @@ export declare const actionCut: {
|
|
|
648
630
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
649
631
|
isBindingEnabled: boolean;
|
|
650
632
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
651
|
-
suggestedBindings: import("@excalidraw/element
|
|
633
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
652
634
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
653
635
|
frameRendering: {
|
|
654
636
|
enabled: boolean;
|
|
@@ -696,7 +678,7 @@ export declare const actionCut: {
|
|
|
696
678
|
zoom: Readonly<{
|
|
697
679
|
value: import("../types").NormalizedZoomValue;
|
|
698
680
|
}>;
|
|
699
|
-
openMenu: "
|
|
681
|
+
openMenu: "canvas" | "shape" | null;
|
|
700
682
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
701
683
|
openSidebar: {
|
|
702
684
|
name: string;
|
|
@@ -779,8 +761,8 @@ export declare const actionCut: {
|
|
|
779
761
|
data: import("../charts").Spreadsheet;
|
|
780
762
|
};
|
|
781
763
|
pendingImageElementId: string | null;
|
|
782
|
-
showHyperlinkPopup: false | "
|
|
783
|
-
selectedLinearElement: import("@excalidraw/element
|
|
764
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
765
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
784
766
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
785
767
|
originSnapOffset: {
|
|
786
768
|
x: number;
|
|
@@ -791,16 +773,10 @@ export declare const actionCut: {
|
|
|
791
773
|
followedBy: Set<import("../types").SocketId>;
|
|
792
774
|
isCropping: boolean;
|
|
793
775
|
croppingElementId: string | null;
|
|
794
|
-
searchMatches:
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
offsetX: number;
|
|
799
|
-
offsetY: number;
|
|
800
|
-
width: number;
|
|
801
|
-
height: number;
|
|
802
|
-
}[];
|
|
803
|
-
}[];
|
|
776
|
+
searchMatches: Readonly<{
|
|
777
|
+
focusedId: string | null;
|
|
778
|
+
matches: readonly import("../types").SearchMatch[];
|
|
779
|
+
}> | null;
|
|
804
780
|
};
|
|
805
781
|
captureUpdate: "IMMEDIATELY";
|
|
806
782
|
} | {
|
|
@@ -814,13 +790,13 @@ export declare const actionCut: {
|
|
|
814
790
|
multiElement: null;
|
|
815
791
|
activeEmbeddable: null;
|
|
816
792
|
selectedLinearElement: null;
|
|
817
|
-
editingGroupId: string | null;
|
|
818
793
|
selectedElementIds: Readonly<{
|
|
819
794
|
[id: string]: true;
|
|
820
795
|
}>;
|
|
821
796
|
selectedGroupIds: {
|
|
822
797
|
[groupId: string]: boolean;
|
|
823
798
|
};
|
|
799
|
+
editingGroupId: string | null;
|
|
824
800
|
contextMenu: {
|
|
825
801
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
826
802
|
top: number;
|
|
@@ -829,9 +805,9 @@ export declare const actionCut: {
|
|
|
829
805
|
showWelcomeScreen: boolean;
|
|
830
806
|
isLoading: boolean;
|
|
831
807
|
myocSimplifiedMode: boolean;
|
|
808
|
+
dontResizeLimitMBs: number;
|
|
832
809
|
hideMainMenus: boolean;
|
|
833
810
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
834
|
-
dontResizeLimitMBs: number;
|
|
835
811
|
arrangeConfiguration: {
|
|
836
812
|
algorithm: "bin-packing";
|
|
837
813
|
gap: number;
|
|
@@ -842,7 +818,7 @@ export declare const actionCut: {
|
|
|
842
818
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
843
819
|
isBindingEnabled: boolean;
|
|
844
820
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
845
|
-
suggestedBindings: import("@excalidraw/element
|
|
821
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
846
822
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
847
823
|
frameRendering: {
|
|
848
824
|
enabled: boolean;
|
|
@@ -853,7 +829,7 @@ export declare const actionCut: {
|
|
|
853
829
|
editingFrame: string | null;
|
|
854
830
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
855
831
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
856
|
-
editingLinearElement: import("@excalidraw/element
|
|
832
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
857
833
|
penMode: boolean;
|
|
858
834
|
penDetected: boolean;
|
|
859
835
|
exportBackground: boolean;
|
|
@@ -886,7 +862,7 @@ export declare const actionCut: {
|
|
|
886
862
|
zoom: Readonly<{
|
|
887
863
|
value: import("../types").NormalizedZoomValue;
|
|
888
864
|
}>;
|
|
889
|
-
openMenu: "
|
|
865
|
+
openMenu: "canvas" | "shape" | null;
|
|
890
866
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
891
867
|
openSidebar: {
|
|
892
868
|
name: string;
|
|
@@ -962,7 +938,7 @@ export declare const actionCut: {
|
|
|
962
938
|
data: import("../charts").Spreadsheet;
|
|
963
939
|
};
|
|
964
940
|
pendingImageElementId: string | null;
|
|
965
|
-
showHyperlinkPopup: false | "
|
|
941
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
966
942
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
967
943
|
originSnapOffset: {
|
|
968
944
|
x: number;
|
|
@@ -973,22 +949,16 @@ export declare const actionCut: {
|
|
|
973
949
|
followedBy: Set<import("../types").SocketId>;
|
|
974
950
|
isCropping: boolean;
|
|
975
951
|
croppingElementId: string | null;
|
|
976
|
-
searchMatches:
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
offsetX: number;
|
|
981
|
-
offsetY: number;
|
|
982
|
-
width: number;
|
|
983
|
-
height: number;
|
|
984
|
-
}[];
|
|
985
|
-
}[];
|
|
952
|
+
searchMatches: Readonly<{
|
|
953
|
+
focusedId: string | null;
|
|
954
|
+
matches: readonly import("../types").SearchMatch[];
|
|
955
|
+
}> | null;
|
|
986
956
|
};
|
|
987
957
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
988
958
|
};
|
|
989
|
-
keyTest: (event:
|
|
959
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
990
960
|
} & {
|
|
991
|
-
keyTest?: ((event:
|
|
961
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
992
962
|
};
|
|
993
963
|
export declare const actionCopyAsSvg: {
|
|
994
964
|
name: "copyAsSvg";
|
|
@@ -1041,9 +1011,9 @@ export declare const actionCopyAsPng: {
|
|
|
1041
1011
|
showWelcomeScreen: boolean;
|
|
1042
1012
|
isLoading: boolean;
|
|
1043
1013
|
myocSimplifiedMode: boolean;
|
|
1014
|
+
dontResizeLimitMBs: number;
|
|
1044
1015
|
hideMainMenus: boolean;
|
|
1045
1016
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
1046
|
-
dontResizeLimitMBs: number;
|
|
1047
1017
|
arrangeConfiguration: {
|
|
1048
1018
|
algorithm: "bin-packing";
|
|
1049
1019
|
gap: number;
|
|
@@ -1058,7 +1028,7 @@ export declare const actionCopyAsPng: {
|
|
|
1058
1028
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1059
1029
|
isBindingEnabled: boolean;
|
|
1060
1030
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1061
|
-
suggestedBindings: import("@excalidraw/element
|
|
1031
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1062
1032
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1063
1033
|
frameRendering: {
|
|
1064
1034
|
enabled: boolean;
|
|
@@ -1069,7 +1039,7 @@ export declare const actionCopyAsPng: {
|
|
|
1069
1039
|
editingFrame: string | null;
|
|
1070
1040
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1071
1041
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1072
|
-
editingLinearElement: import("@excalidraw/element
|
|
1042
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1073
1043
|
activeTool: {
|
|
1074
1044
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1075
1045
|
locked: boolean;
|
|
@@ -1107,7 +1077,7 @@ export declare const actionCopyAsPng: {
|
|
|
1107
1077
|
zoom: Readonly<{
|
|
1108
1078
|
value: import("../types").NormalizedZoomValue;
|
|
1109
1079
|
}>;
|
|
1110
|
-
openMenu: "
|
|
1080
|
+
openMenu: "canvas" | "shape" | null;
|
|
1111
1081
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1112
1082
|
openSidebar: {
|
|
1113
1083
|
name: string;
|
|
@@ -1190,8 +1160,8 @@ export declare const actionCopyAsPng: {
|
|
|
1190
1160
|
data: import("../charts").Spreadsheet;
|
|
1191
1161
|
};
|
|
1192
1162
|
pendingImageElementId: string | null;
|
|
1193
|
-
showHyperlinkPopup: false | "
|
|
1194
|
-
selectedLinearElement: import("@excalidraw/element
|
|
1163
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1164
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1195
1165
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1196
1166
|
originSnapOffset: {
|
|
1197
1167
|
x: number;
|
|
@@ -1202,24 +1172,18 @@ export declare const actionCopyAsPng: {
|
|
|
1202
1172
|
followedBy: Set<import("../types").SocketId>;
|
|
1203
1173
|
isCropping: boolean;
|
|
1204
1174
|
croppingElementId: string | null;
|
|
1205
|
-
searchMatches:
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
offsetX: number;
|
|
1210
|
-
offsetY: number;
|
|
1211
|
-
width: number;
|
|
1212
|
-
height: number;
|
|
1213
|
-
}[];
|
|
1214
|
-
}[];
|
|
1175
|
+
searchMatches: Readonly<{
|
|
1176
|
+
focusedId: string | null;
|
|
1177
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1178
|
+
}> | null;
|
|
1215
1179
|
};
|
|
1216
1180
|
captureUpdate: "EVENTUALLY";
|
|
1217
1181
|
}>;
|
|
1218
1182
|
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[]) => boolean;
|
|
1219
|
-
keyTest: (event:
|
|
1183
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1220
1184
|
keywords: string[];
|
|
1221
1185
|
} & {
|
|
1222
|
-
keyTest?: ((event:
|
|
1186
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1223
1187
|
};
|
|
1224
1188
|
export declare const copyText: {
|
|
1225
1189
|
name: "copyText";
|
|
@@ -20,9 +20,9 @@ export declare const actionToggleCropEditor: {
|
|
|
20
20
|
showWelcomeScreen: boolean;
|
|
21
21
|
isLoading: boolean;
|
|
22
22
|
myocSimplifiedMode: boolean;
|
|
23
|
+
dontResizeLimitMBs: number;
|
|
23
24
|
hideMainMenus: boolean;
|
|
24
25
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
25
|
-
dontResizeLimitMBs: number;
|
|
26
26
|
arrangeConfiguration: {
|
|
27
27
|
algorithm: "bin-packing";
|
|
28
28
|
gap: number;
|
|
@@ -38,7 +38,7 @@ export declare const actionToggleCropEditor: {
|
|
|
38
38
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
39
39
|
isBindingEnabled: boolean;
|
|
40
40
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
41
|
-
suggestedBindings: import("@excalidraw/element
|
|
41
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
42
42
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
43
43
|
frameRendering: {
|
|
44
44
|
enabled: boolean;
|
|
@@ -49,7 +49,7 @@ export declare const actionToggleCropEditor: {
|
|
|
49
49
|
editingFrame: string | null;
|
|
50
50
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
51
51
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
52
|
-
editingLinearElement: import("@excalidraw/element
|
|
52
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
53
53
|
activeTool: {
|
|
54
54
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
55
55
|
locked: boolean;
|
|
@@ -87,7 +87,7 @@ export declare const actionToggleCropEditor: {
|
|
|
87
87
|
zoom: Readonly<{
|
|
88
88
|
value: import("../types").NormalizedZoomValue;
|
|
89
89
|
}>;
|
|
90
|
-
openMenu: "
|
|
90
|
+
openMenu: "canvas" | "shape" | null;
|
|
91
91
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
92
92
|
openSidebar: {
|
|
93
93
|
name: string;
|
|
@@ -170,8 +170,8 @@ export declare const actionToggleCropEditor: {
|
|
|
170
170
|
data: import("../charts").Spreadsheet;
|
|
171
171
|
};
|
|
172
172
|
pendingImageElementId: string | null;
|
|
173
|
-
showHyperlinkPopup: false | "
|
|
174
|
-
selectedLinearElement: import("@excalidraw/element
|
|
173
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
174
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
175
175
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
176
176
|
originSnapOffset: {
|
|
177
177
|
x: number;
|
|
@@ -180,16 +180,10 @@ export declare const actionToggleCropEditor: {
|
|
|
180
180
|
objectsSnapModeEnabled: boolean;
|
|
181
181
|
userToFollow: import("../types").UserToFollow | null;
|
|
182
182
|
followedBy: Set<import("../types").SocketId>;
|
|
183
|
-
searchMatches:
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
offsetX: number;
|
|
188
|
-
offsetY: number;
|
|
189
|
-
width: number;
|
|
190
|
-
height: number;
|
|
191
|
-
}[];
|
|
192
|
-
}[];
|
|
183
|
+
searchMatches: Readonly<{
|
|
184
|
+
focusedId: string | null;
|
|
185
|
+
matches: readonly import("../types").SearchMatch[];
|
|
186
|
+
}> | null;
|
|
193
187
|
};
|
|
194
188
|
captureUpdate: "IMMEDIATELY";
|
|
195
189
|
};
|