@dwelle/excalidraw 0.5.0-8cb033d → 0.5.0-90f2d4e
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-C6WW3IWU.js → chunk-BIYCCCC4.js} +14 -4
- package/dist/dev/chunk-BIYCCCC4.js.map +7 -0
- package/dist/dev/chunk-QW2KPMGE.js +7 -0
- package/dist/dev/chunk-QW2KPMGE.js.map +7 -0
- package/dist/dev/{chunk-2LNRWI74.js → chunk-VPDGV5DO.js} +9679 -8756
- package/dist/dev/chunk-VPDGV5DO.js.map +7 -0
- package/dist/dev/data/{image-7QZI7GM4.js → image-RC4Z3PZK.js} +3 -3
- package/dist/dev/index.css +695 -506
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +4223 -2821
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-VFJV7E2V.js → en-XLJO5VTH.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-DUG5AXRR.js +33 -0
- package/dist/prod/chunk-M2OFWNPH.js +7 -0
- package/dist/prod/{chunk-O65DDAOS.js → chunk-SPUFWQ3U.js} +4 -4
- package/dist/prod/data/image-W7J67QSB.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +20 -20
- package/dist/prod/locales/{en-UUHXMMMY.js → en-DMU2KFKH.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 +38 -6
- package/dist/types/common/src/utils.d.ts +6 -5
- package/dist/types/element/src/Scene.d.ts +7 -3
- package/dist/types/element/src/align.d.ts +2 -1
- package/dist/types/element/src/binding.d.ts +10 -7
- package/dist/types/element/src/bounds.d.ts +12 -4
- package/dist/types/element/src/collision.d.ts +18 -12
- package/dist/types/element/src/cropElement.d.ts +1 -1
- package/dist/types/element/src/delta.d.ts +41 -9
- package/dist/types/element/src/distance.d.ts +2 -2
- package/dist/types/element/src/distribute.d.ts +2 -1
- package/dist/types/element/src/fractionalIndex.d.ts +8 -2
- package/dist/types/element/src/frame.d.ts +2 -2
- package/dist/types/element/src/groups.d.ts +1 -0
- package/dist/types/element/src/index.d.ts +2 -3
- package/dist/types/element/src/linearElementEditor.d.ts +13 -15
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/newElement.d.ts +2 -1
- package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
- package/dist/types/element/src/renderElement.d.ts +4 -1
- package/dist/types/element/src/resizeElements.d.ts +1 -0
- package/dist/types/element/src/selection.d.ts +1 -1
- package/dist/types/element/src/shape.d.ts +42 -0
- package/dist/types/element/src/sizeHelpers.d.ts +2 -1
- package/dist/types/element/src/store.d.ts +19 -9
- package/dist/types/element/src/textElement.d.ts +1 -1
- package/dist/types/element/src/transformHandles.d.ts +4 -4
- package/dist/types/element/src/typeChecks.d.ts +15 -1
- package/dist/types/element/src/types.d.ts +8 -3
- package/dist/types/element/src/utils.d.ts +16 -6
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +10 -12
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +158 -170
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +38 -42
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +5 -6
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +21 -23
- 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 +4 -5
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +12 -14
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +5 -6
- package/dist/types/excalidraw/actions/actionExport.d.ts +130 -139
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +61 -22
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +70 -74
- package/dist/types/excalidraw/actions/actionGroup.d.ts +16 -18
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +532 -9
- package/dist/types/excalidraw/actions/actionLink.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionMenu.d.ts +16 -19
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +10 -12
- package/dist/types/excalidraw/actions/actionProperties.d.ts +107 -105
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +8 -9
- package/dist/types/excalidraw/actions/actionStyles.d.ts +9 -10
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +7 -8
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +7 -8
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +7 -8
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +7 -8
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +7 -8
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/actions/index.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +2 -1
- package/dist/types/excalidraw/appState.d.ts +21 -20
- package/dist/types/excalidraw/clipboard.d.ts +64 -1
- package/dist/types/excalidraw/components/Actions.d.ts +8 -5
- package/dist/types/excalidraw/components/App.d.ts +21 -27
- package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
- package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
- package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +11 -1
- package/dist/types/excalidraw/components/TextField.d.ts +1 -0
- package/dist/types/excalidraw/components/icons.d.ts +7 -0
- package/dist/types/excalidraw/components/shapes.d.ts +129 -1
- package/dist/types/excalidraw/data/blob.d.ts +4 -8
- package/dist/types/excalidraw/data/reconcile.d.ts +1 -0
- package/dist/types/excalidraw/data/restore.d.ts +6 -1
- package/dist/types/excalidraw/data/types.d.ts +4 -1
- package/dist/types/excalidraw/eraser/index.d.ts +0 -2
- package/dist/types/excalidraw/history.d.ts +21 -5
- package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
- package/dist/types/excalidraw/index.d.ts +2 -1
- package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
- package/dist/types/excalidraw/renderer/helpers.d.ts +4 -4
- package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +0 -1
- package/dist/types/excalidraw/types.d.ts +12 -9
- package/dist/types/math/src/angle.d.ts +2 -0
- package/dist/types/math/src/constants.d.ts +3 -0
- package/dist/types/math/src/curve.d.ts +32 -0
- package/dist/types/math/src/index.d.ts +1 -0
- package/dist/types/math/src/point.d.ts +1 -1
- package/dist/types/math/src/rectangle.d.ts +2 -0
- package/dist/types/math/src/segment.d.ts +1 -0
- package/dist/types/math/src/vector.d.ts +4 -2
- package/history.ts +107 -44
- package/package.json +9 -9
- package/dist/dev/chunk-2LNRWI74.js.map +0 -7
- package/dist/dev/chunk-C6WW3IWU.js.map +0 -7
- package/dist/dev/chunk-NR24AOHB.js +0 -7
- package/dist/dev/chunk-NR24AOHB.js.map +0 -7
- package/dist/prod/chunk-JUZ2P6ZK.js +0 -33
- package/dist/prod/chunk-ZSOIT5RG.js +0 -7
- package/dist/prod/data/image-RPTD4VCP.js +0 -1
- package/dist/types/element/src/Shape.d.ts +0 -17
- package/dist/types/element/src/ShapeCache.d.ts +0 -25
- package/dist/types/element/src/shapes.d.ts +0 -23
- package/dist/types/excalidraw/visualdebug.d.ts +0 -41
- package/dist/types/utils/src/collision.d.ts +0 -8
- /package/dist/dev/data/{image-7QZI7GM4.js.map → image-RC4Z3PZK.js.map} +0 -0
- /package/dist/dev/locales/{en-VFJV7E2V.js.map → en-XLJO5VTH.js.map} +0 -0
|
@@ -18,7 +18,7 @@ export declare const actionChangeProjectName: {
|
|
|
18
18
|
errorMessage: import("react").ReactNode;
|
|
19
19
|
activeEmbeddable: {
|
|
20
20
|
element: NonDeletedExcalidrawElement;
|
|
21
|
-
state: "
|
|
21
|
+
state: "active" | "hover";
|
|
22
22
|
} | null;
|
|
23
23
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
24
24
|
resizingElement: NonDeletedExcalidrawElement | null;
|
|
@@ -37,7 +37,6 @@ export declare const actionChangeProjectName: {
|
|
|
37
37
|
editingFrame: string | null;
|
|
38
38
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
39
39
|
editingTextElement: NonDeletedExcalidrawElement | null;
|
|
40
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
41
40
|
activeTool: {
|
|
42
41
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
43
42
|
locked: boolean;
|
|
@@ -75,7 +74,7 @@ export declare const actionChangeProjectName: {
|
|
|
75
74
|
value: import("../types").NormalizedZoomValue;
|
|
76
75
|
}>;
|
|
77
76
|
openMenu: "canvas" | "shape" | null;
|
|
78
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
77
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
79
78
|
openSidebar: {
|
|
80
79
|
name: string;
|
|
81
80
|
tab?: string | undefined;
|
|
@@ -84,7 +83,7 @@ export declare const actionChangeProjectName: {
|
|
|
84
83
|
name: "imageExport" | "help" | "jsonExport";
|
|
85
84
|
} | {
|
|
86
85
|
name: "ttd";
|
|
87
|
-
tab: "text-to-diagram"
|
|
86
|
+
tab: "mermaid" | "text-to-diagram";
|
|
88
87
|
} | {
|
|
89
88
|
name: "commandPalette";
|
|
90
89
|
} | {
|
|
@@ -156,8 +155,7 @@ export declare const actionChangeProjectName: {
|
|
|
156
155
|
shown: true;
|
|
157
156
|
data: import("../charts").Spreadsheet;
|
|
158
157
|
};
|
|
159
|
-
|
|
160
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
158
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
161
159
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
162
160
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
163
161
|
originSnapOffset: {
|
|
@@ -177,6 +175,7 @@ export declare const actionChangeProjectName: {
|
|
|
177
175
|
lockedMultiSelections: {
|
|
178
176
|
[groupId: string]: true;
|
|
179
177
|
};
|
|
178
|
+
stylesPanelMode: "compact" | "full";
|
|
180
179
|
};
|
|
181
180
|
captureUpdate: "EVENTUALLY";
|
|
182
181
|
};
|
|
@@ -204,7 +203,7 @@ export declare const actionChangeExportScale: {
|
|
|
204
203
|
errorMessage: import("react").ReactNode;
|
|
205
204
|
activeEmbeddable: {
|
|
206
205
|
element: NonDeletedExcalidrawElement;
|
|
207
|
-
state: "
|
|
206
|
+
state: "active" | "hover";
|
|
208
207
|
} | null;
|
|
209
208
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
210
209
|
resizingElement: NonDeletedExcalidrawElement | null;
|
|
@@ -223,7 +222,6 @@ export declare const actionChangeExportScale: {
|
|
|
223
222
|
editingFrame: string | null;
|
|
224
223
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
225
224
|
editingTextElement: NonDeletedExcalidrawElement | null;
|
|
226
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
227
225
|
activeTool: {
|
|
228
226
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
229
227
|
locked: boolean;
|
|
@@ -261,7 +259,7 @@ export declare const actionChangeExportScale: {
|
|
|
261
259
|
value: import("../types").NormalizedZoomValue;
|
|
262
260
|
}>;
|
|
263
261
|
openMenu: "canvas" | "shape" | null;
|
|
264
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
262
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
265
263
|
openSidebar: {
|
|
266
264
|
name: string;
|
|
267
265
|
tab?: string | undefined;
|
|
@@ -270,7 +268,7 @@ export declare const actionChangeExportScale: {
|
|
|
270
268
|
name: "imageExport" | "help" | "jsonExport";
|
|
271
269
|
} | {
|
|
272
270
|
name: "ttd";
|
|
273
|
-
tab: "text-to-diagram"
|
|
271
|
+
tab: "mermaid" | "text-to-diagram";
|
|
274
272
|
} | {
|
|
275
273
|
name: "commandPalette";
|
|
276
274
|
} | {
|
|
@@ -342,8 +340,7 @@ export declare const actionChangeExportScale: {
|
|
|
342
340
|
shown: true;
|
|
343
341
|
data: import("../charts").Spreadsheet;
|
|
344
342
|
};
|
|
345
|
-
|
|
346
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
343
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
347
344
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
348
345
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
349
346
|
originSnapOffset: {
|
|
@@ -363,6 +360,7 @@ export declare const actionChangeExportScale: {
|
|
|
363
360
|
lockedMultiSelections: {
|
|
364
361
|
[groupId: string]: true;
|
|
365
362
|
};
|
|
363
|
+
stylesPanelMode: "compact" | "full";
|
|
366
364
|
};
|
|
367
365
|
captureUpdate: "EVENTUALLY";
|
|
368
366
|
};
|
|
@@ -390,7 +388,7 @@ export declare const actionChangeExportBackground: {
|
|
|
390
388
|
errorMessage: import("react").ReactNode;
|
|
391
389
|
activeEmbeddable: {
|
|
392
390
|
element: NonDeletedExcalidrawElement;
|
|
393
|
-
state: "
|
|
391
|
+
state: "active" | "hover";
|
|
394
392
|
} | null;
|
|
395
393
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
396
394
|
resizingElement: NonDeletedExcalidrawElement | null;
|
|
@@ -409,7 +407,6 @@ export declare const actionChangeExportBackground: {
|
|
|
409
407
|
editingFrame: string | null;
|
|
410
408
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
411
409
|
editingTextElement: NonDeletedExcalidrawElement | null;
|
|
412
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
413
410
|
activeTool: {
|
|
414
411
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
415
412
|
locked: boolean;
|
|
@@ -447,7 +444,7 @@ export declare const actionChangeExportBackground: {
|
|
|
447
444
|
value: import("../types").NormalizedZoomValue;
|
|
448
445
|
}>;
|
|
449
446
|
openMenu: "canvas" | "shape" | null;
|
|
450
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
447
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
451
448
|
openSidebar: {
|
|
452
449
|
name: string;
|
|
453
450
|
tab?: string | undefined;
|
|
@@ -456,7 +453,7 @@ export declare const actionChangeExportBackground: {
|
|
|
456
453
|
name: "imageExport" | "help" | "jsonExport";
|
|
457
454
|
} | {
|
|
458
455
|
name: "ttd";
|
|
459
|
-
tab: "text-to-diagram"
|
|
456
|
+
tab: "mermaid" | "text-to-diagram";
|
|
460
457
|
} | {
|
|
461
458
|
name: "commandPalette";
|
|
462
459
|
} | {
|
|
@@ -528,8 +525,7 @@ export declare const actionChangeExportBackground: {
|
|
|
528
525
|
shown: true;
|
|
529
526
|
data: import("../charts").Spreadsheet;
|
|
530
527
|
};
|
|
531
|
-
|
|
532
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
528
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
533
529
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
534
530
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
535
531
|
originSnapOffset: {
|
|
@@ -549,6 +545,7 @@ export declare const actionChangeExportBackground: {
|
|
|
549
545
|
lockedMultiSelections: {
|
|
550
546
|
[groupId: string]: true;
|
|
551
547
|
};
|
|
548
|
+
stylesPanelMode: "compact" | "full";
|
|
552
549
|
};
|
|
553
550
|
captureUpdate: "EVENTUALLY";
|
|
554
551
|
};
|
|
@@ -576,7 +573,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
576
573
|
errorMessage: import("react").ReactNode;
|
|
577
574
|
activeEmbeddable: {
|
|
578
575
|
element: NonDeletedExcalidrawElement;
|
|
579
|
-
state: "
|
|
576
|
+
state: "active" | "hover";
|
|
580
577
|
} | null;
|
|
581
578
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
582
579
|
resizingElement: NonDeletedExcalidrawElement | null;
|
|
@@ -595,7 +592,6 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
595
592
|
editingFrame: string | null;
|
|
596
593
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
597
594
|
editingTextElement: NonDeletedExcalidrawElement | null;
|
|
598
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
599
595
|
activeTool: {
|
|
600
596
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
601
597
|
locked: boolean;
|
|
@@ -633,7 +629,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
633
629
|
value: import("../types").NormalizedZoomValue;
|
|
634
630
|
}>;
|
|
635
631
|
openMenu: "canvas" | "shape" | null;
|
|
636
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
632
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
637
633
|
openSidebar: {
|
|
638
634
|
name: string;
|
|
639
635
|
tab?: string | undefined;
|
|
@@ -642,7 +638,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
642
638
|
name: "imageExport" | "help" | "jsonExport";
|
|
643
639
|
} | {
|
|
644
640
|
name: "ttd";
|
|
645
|
-
tab: "text-to-diagram"
|
|
641
|
+
tab: "mermaid" | "text-to-diagram";
|
|
646
642
|
} | {
|
|
647
643
|
name: "commandPalette";
|
|
648
644
|
} | {
|
|
@@ -714,8 +710,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
714
710
|
shown: true;
|
|
715
711
|
data: import("../charts").Spreadsheet;
|
|
716
712
|
};
|
|
717
|
-
|
|
718
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
713
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
719
714
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
720
715
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
721
716
|
originSnapOffset: {
|
|
@@ -735,6 +730,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
735
730
|
lockedMultiSelections: {
|
|
736
731
|
[groupId: string]: true;
|
|
737
732
|
};
|
|
733
|
+
stylesPanelMode: "compact" | "full";
|
|
738
734
|
};
|
|
739
735
|
captureUpdate: "EVENTUALLY";
|
|
740
736
|
};
|
|
@@ -767,7 +763,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
767
763
|
errorMessage: import("react").ReactNode;
|
|
768
764
|
activeEmbeddable: {
|
|
769
765
|
element: NonDeletedExcalidrawElement;
|
|
770
|
-
state: "
|
|
766
|
+
state: "active" | "hover";
|
|
771
767
|
} | null;
|
|
772
768
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
773
769
|
resizingElement: NonDeletedExcalidrawElement | null;
|
|
@@ -786,7 +782,6 @@ export declare const actionSaveToActiveFile: {
|
|
|
786
782
|
editingFrame: string | null;
|
|
787
783
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
788
784
|
editingTextElement: NonDeletedExcalidrawElement | null;
|
|
789
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
790
785
|
activeTool: {
|
|
791
786
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
792
787
|
locked: boolean;
|
|
@@ -825,7 +820,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
825
820
|
value: import("../types").NormalizedZoomValue;
|
|
826
821
|
}>;
|
|
827
822
|
openMenu: "canvas" | "shape" | null;
|
|
828
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
823
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
829
824
|
openSidebar: {
|
|
830
825
|
name: string;
|
|
831
826
|
tab?: string | undefined;
|
|
@@ -834,7 +829,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
834
829
|
name: "imageExport" | "help" | "jsonExport";
|
|
835
830
|
} | {
|
|
836
831
|
name: "ttd";
|
|
837
|
-
tab: "text-to-diagram"
|
|
832
|
+
tab: "mermaid" | "text-to-diagram";
|
|
838
833
|
} | {
|
|
839
834
|
name: "commandPalette";
|
|
840
835
|
} | {
|
|
@@ -900,8 +895,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
900
895
|
shown: true;
|
|
901
896
|
data: import("../charts").Spreadsheet;
|
|
902
897
|
};
|
|
903
|
-
|
|
904
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
898
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
905
899
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
906
900
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
907
901
|
originSnapOffset: {
|
|
@@ -921,14 +915,15 @@ export declare const actionSaveToActiveFile: {
|
|
|
921
915
|
lockedMultiSelections: {
|
|
922
916
|
[groupId: string]: true;
|
|
923
917
|
};
|
|
918
|
+
stylesPanelMode: "compact" | "full";
|
|
924
919
|
};
|
|
925
920
|
} | {
|
|
926
921
|
captureUpdate: "EVENTUALLY";
|
|
927
922
|
appState?: undefined;
|
|
928
923
|
}>;
|
|
929
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
924
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
930
925
|
} & {
|
|
931
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
926
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
932
927
|
};
|
|
933
928
|
export declare const actionSaveFileToDisk: {
|
|
934
929
|
name: "saveFileToDisk";
|
|
@@ -956,7 +951,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
956
951
|
errorMessage: import("react").ReactNode;
|
|
957
952
|
activeEmbeddable: {
|
|
958
953
|
element: NonDeletedExcalidrawElement;
|
|
959
|
-
state: "
|
|
954
|
+
state: "active" | "hover";
|
|
960
955
|
} | null;
|
|
961
956
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
962
957
|
resizingElement: NonDeletedExcalidrawElement | null;
|
|
@@ -975,7 +970,6 @@ export declare const actionSaveFileToDisk: {
|
|
|
975
970
|
editingFrame: string | null;
|
|
976
971
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
977
972
|
editingTextElement: NonDeletedExcalidrawElement | null;
|
|
978
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
979
973
|
activeTool: {
|
|
980
974
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
981
975
|
locked: boolean;
|
|
@@ -1014,7 +1008,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
1014
1008
|
value: import("../types").NormalizedZoomValue;
|
|
1015
1009
|
}>;
|
|
1016
1010
|
openMenu: "canvas" | "shape" | null;
|
|
1017
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1011
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1018
1012
|
openSidebar: {
|
|
1019
1013
|
name: string;
|
|
1020
1014
|
tab?: string | undefined;
|
|
@@ -1078,8 +1072,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
1078
1072
|
shown: true;
|
|
1079
1073
|
data: import("../charts").Spreadsheet;
|
|
1080
1074
|
};
|
|
1081
|
-
|
|
1082
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1075
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1083
1076
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1084
1077
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1085
1078
|
originSnapOffset: {
|
|
@@ -1099,15 +1092,16 @@ export declare const actionSaveFileToDisk: {
|
|
|
1099
1092
|
lockedMultiSelections: {
|
|
1100
1093
|
[groupId: string]: true;
|
|
1101
1094
|
};
|
|
1095
|
+
stylesPanelMode: "compact" | "full";
|
|
1102
1096
|
};
|
|
1103
1097
|
} | {
|
|
1104
1098
|
captureUpdate: "EVENTUALLY";
|
|
1105
1099
|
appState?: undefined;
|
|
1106
1100
|
}>;
|
|
1107
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1101
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1108
1102
|
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
1109
1103
|
} & {
|
|
1110
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1104
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1111
1105
|
};
|
|
1112
1106
|
export declare const actionLoadScene: {
|
|
1113
1107
|
name: "loadScene";
|
|
@@ -1119,44 +1113,93 @@ export declare const actionLoadScene: {
|
|
|
1119
1113
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
|
|
1120
1114
|
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
1121
1115
|
appState: {
|
|
1116
|
+
frameRendering: {
|
|
1117
|
+
enabled: boolean;
|
|
1118
|
+
name: boolean;
|
|
1119
|
+
outline: boolean;
|
|
1120
|
+
clip: boolean;
|
|
1121
|
+
};
|
|
1122
|
+
viewBackgroundColor: string;
|
|
1123
|
+
name: string | null;
|
|
1124
|
+
zoom: Readonly<{
|
|
1125
|
+
value: import("../types").NormalizedZoomValue;
|
|
1126
|
+
}>;
|
|
1127
|
+
scrollX: number;
|
|
1128
|
+
scrollY: number;
|
|
1129
|
+
viewModeEnabled: boolean;
|
|
1130
|
+
openDialog: {
|
|
1131
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1132
|
+
} | {
|
|
1133
|
+
name: "ttd";
|
|
1134
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1135
|
+
} | {
|
|
1136
|
+
name: "commandPalette";
|
|
1137
|
+
} | {
|
|
1138
|
+
name: "elementLinkSelector";
|
|
1139
|
+
sourceElementId: string;
|
|
1140
|
+
} | null;
|
|
1141
|
+
editingGroupId: string | null;
|
|
1142
|
+
selectedElementIds: Readonly<{
|
|
1143
|
+
[id: string]: true;
|
|
1144
|
+
}>;
|
|
1145
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1146
|
+
theme: Theme;
|
|
1147
|
+
activeEmbeddable: {
|
|
1148
|
+
element: NonDeletedExcalidrawElement;
|
|
1149
|
+
state: "active" | "hover";
|
|
1150
|
+
} | null;
|
|
1151
|
+
selectionElement: NonDeletedExcalidrawElement | null;
|
|
1152
|
+
selectedGroupIds: {
|
|
1153
|
+
[groupId: string]: boolean;
|
|
1154
|
+
};
|
|
1155
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1156
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1157
|
+
isBindingEnabled: boolean;
|
|
1158
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1159
|
+
isRotating: boolean;
|
|
1160
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1161
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
1162
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
1163
|
+
button?: "up" | "down" | undefined;
|
|
1164
|
+
selectedElementIds?: Readonly<{
|
|
1165
|
+
[id: string]: true;
|
|
1166
|
+
}> | undefined;
|
|
1167
|
+
username?: string | null | undefined;
|
|
1168
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1169
|
+
color?: {
|
|
1170
|
+
background: string;
|
|
1171
|
+
stroke: string;
|
|
1172
|
+
} | undefined;
|
|
1173
|
+
avatarUrl?: string | undefined;
|
|
1174
|
+
id?: string | undefined;
|
|
1175
|
+
socketId?: import("../types").SocketId | undefined;
|
|
1176
|
+
isCurrentUser?: boolean | undefined;
|
|
1177
|
+
isInCall?: boolean | undefined;
|
|
1178
|
+
isSpeaking?: boolean | undefined;
|
|
1179
|
+
isMuted?: boolean | undefined;
|
|
1180
|
+
}>>;
|
|
1181
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
1182
|
+
zenModeEnabled: boolean;
|
|
1183
|
+
editingTextElement: NonDeletedExcalidrawElement | null;
|
|
1184
|
+
isCropping: boolean;
|
|
1185
|
+
croppingElementId: string | null;
|
|
1186
|
+
searchMatches: Readonly<{
|
|
1187
|
+
focusedId: string | null;
|
|
1188
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1189
|
+
}> | null;
|
|
1190
|
+
activeLockedId: string | null;
|
|
1122
1191
|
contextMenu: {
|
|
1123
1192
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1124
1193
|
top: number;
|
|
1125
1194
|
left: number;
|
|
1126
1195
|
} | null;
|
|
1127
|
-
stats: {
|
|
1128
|
-
open: boolean;
|
|
1129
|
-
panels: number;
|
|
1130
|
-
};
|
|
1131
|
-
exportWithDarkMode: boolean;
|
|
1132
|
-
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1133
|
-
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1134
|
-
cursorButton: "up" | "down";
|
|
1135
|
-
scrollX: number;
|
|
1136
|
-
scrollY: number;
|
|
1137
1196
|
showWelcomeScreen: boolean;
|
|
1138
1197
|
isLoading: boolean;
|
|
1139
1198
|
errorMessage: import("react").ReactNode;
|
|
1140
|
-
activeEmbeddable: {
|
|
1141
|
-
element: NonDeletedExcalidrawElement;
|
|
1142
|
-
state: "hover" | "active";
|
|
1143
|
-
} | null;
|
|
1144
1199
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1145
1200
|
resizingElement: NonDeletedExcalidrawElement | null;
|
|
1146
|
-
|
|
1147
|
-
selectionElement: NonDeletedExcalidrawElement | null;
|
|
1148
|
-
isBindingEnabled: boolean;
|
|
1149
|
-
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1150
|
-
frameRendering: {
|
|
1151
|
-
enabled: boolean;
|
|
1152
|
-
name: boolean;
|
|
1153
|
-
outline: boolean;
|
|
1154
|
-
clip: boolean;
|
|
1155
|
-
};
|
|
1201
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1156
1202
|
editingFrame: string | null;
|
|
1157
|
-
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1158
|
-
editingTextElement: NonDeletedExcalidrawElement | null;
|
|
1159
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1160
1203
|
activeTool: {
|
|
1161
1204
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1162
1205
|
locked: boolean;
|
|
@@ -1166,6 +1209,7 @@ export declare const actionLoadScene: {
|
|
|
1166
1209
|
penDetected: boolean;
|
|
1167
1210
|
exportBackground: boolean;
|
|
1168
1211
|
exportEmbedScene: boolean;
|
|
1212
|
+
exportWithDarkMode: boolean;
|
|
1169
1213
|
exportScale: number;
|
|
1170
1214
|
currentItemStrokeColor: string;
|
|
1171
1215
|
currentItemBackgroundColor: string;
|
|
@@ -1182,36 +1226,17 @@ export declare const actionLoadScene: {
|
|
|
1182
1226
|
currentHoveredFontFamily: number | null;
|
|
1183
1227
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1184
1228
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1185
|
-
|
|
1229
|
+
cursorButton: "up" | "down";
|
|
1186
1230
|
scrolledOutside: boolean;
|
|
1187
|
-
name: string | null;
|
|
1188
1231
|
isResizing: boolean;
|
|
1189
|
-
isRotating: boolean;
|
|
1190
|
-
zoom: Readonly<{
|
|
1191
|
-
value: import("../types").NormalizedZoomValue;
|
|
1192
|
-
}>;
|
|
1193
1232
|
openMenu: "canvas" | "shape" | null;
|
|
1194
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1233
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1195
1234
|
openSidebar: {
|
|
1196
1235
|
name: string;
|
|
1197
1236
|
tab?: string | undefined;
|
|
1198
1237
|
} | null;
|
|
1199
|
-
openDialog: {
|
|
1200
|
-
name: "imageExport" | "help" | "jsonExport";
|
|
1201
|
-
} | {
|
|
1202
|
-
name: "ttd";
|
|
1203
|
-
tab: "text-to-diagram" | "mermaid";
|
|
1204
|
-
} | {
|
|
1205
|
-
name: "commandPalette";
|
|
1206
|
-
} | {
|
|
1207
|
-
name: "elementLinkSelector";
|
|
1208
|
-
sourceElementId: string;
|
|
1209
|
-
} | null;
|
|
1210
1238
|
defaultSidebarDockedPreference: boolean;
|
|
1211
1239
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1212
|
-
selectedElementIds: Readonly<{
|
|
1213
|
-
[id: string]: true;
|
|
1214
|
-
}>;
|
|
1215
1240
|
hoveredElementIds: Readonly<{
|
|
1216
1241
|
[id: string]: true;
|
|
1217
1242
|
}>;
|
|
@@ -1225,37 +1250,14 @@ export declare const actionLoadScene: {
|
|
|
1225
1250
|
closable?: boolean | undefined;
|
|
1226
1251
|
duration?: number | undefined;
|
|
1227
1252
|
} | null;
|
|
1228
|
-
zenModeEnabled: boolean;
|
|
1229
|
-
theme: Theme;
|
|
1230
1253
|
gridSize: number;
|
|
1231
1254
|
gridStep: number;
|
|
1232
1255
|
gridModeEnabled: boolean;
|
|
1233
|
-
viewModeEnabled: boolean;
|
|
1234
|
-
selectedGroupIds: {
|
|
1235
|
-
[groupId: string]: boolean;
|
|
1236
|
-
};
|
|
1237
|
-
editingGroupId: string | null;
|
|
1238
1256
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
[id: string]: true;
|
|
1244
|
-
}> | undefined;
|
|
1245
|
-
username?: string | null | undefined;
|
|
1246
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1247
|
-
color?: {
|
|
1248
|
-
background: string;
|
|
1249
|
-
stroke: string;
|
|
1250
|
-
} | undefined;
|
|
1251
|
-
avatarUrl?: string | undefined;
|
|
1252
|
-
id?: string | undefined;
|
|
1253
|
-
socketId?: import("../types").SocketId | undefined;
|
|
1254
|
-
isCurrentUser?: boolean | undefined;
|
|
1255
|
-
isInCall?: boolean | undefined;
|
|
1256
|
-
isSpeaking?: boolean | undefined;
|
|
1257
|
-
isMuted?: boolean | undefined;
|
|
1258
|
-
}>>;
|
|
1257
|
+
stats: {
|
|
1258
|
+
open: boolean;
|
|
1259
|
+
panels: number;
|
|
1260
|
+
};
|
|
1259
1261
|
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1260
1262
|
pasteDialog: {
|
|
1261
1263
|
shown: false;
|
|
@@ -1264,10 +1266,7 @@ export declare const actionLoadScene: {
|
|
|
1264
1266
|
shown: true;
|
|
1265
1267
|
data: import("../charts").Spreadsheet;
|
|
1266
1268
|
};
|
|
1267
|
-
|
|
1268
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1269
|
-
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1270
|
-
snapLines: readonly import("../snapping").SnapLine[];
|
|
1269
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1271
1270
|
originSnapOffset: {
|
|
1272
1271
|
x: number;
|
|
1273
1272
|
y: number;
|
|
@@ -1275,16 +1274,10 @@ export declare const actionLoadScene: {
|
|
|
1275
1274
|
objectsSnapModeEnabled: boolean;
|
|
1276
1275
|
userToFollow: import("../types").UserToFollow | null;
|
|
1277
1276
|
followedBy: Set<import("../types").SocketId>;
|
|
1278
|
-
isCropping: boolean;
|
|
1279
|
-
croppingElementId: string | null;
|
|
1280
|
-
searchMatches: Readonly<{
|
|
1281
|
-
focusedId: string | null;
|
|
1282
|
-
matches: readonly import("../types").SearchMatch[];
|
|
1283
|
-
}> | null;
|
|
1284
|
-
activeLockedId: string | null;
|
|
1285
1277
|
lockedMultiSelections: {
|
|
1286
1278
|
[groupId: string]: true;
|
|
1287
1279
|
};
|
|
1280
|
+
stylesPanelMode: "compact" | "full";
|
|
1288
1281
|
};
|
|
1289
1282
|
files: import("../types").BinaryFiles;
|
|
1290
1283
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -1301,7 +1294,7 @@ export declare const actionLoadScene: {
|
|
|
1301
1294
|
isLoading: boolean;
|
|
1302
1295
|
activeEmbeddable: {
|
|
1303
1296
|
element: NonDeletedExcalidrawElement;
|
|
1304
|
-
state: "
|
|
1297
|
+
state: "active" | "hover";
|
|
1305
1298
|
} | null;
|
|
1306
1299
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1307
1300
|
resizingElement: NonDeletedExcalidrawElement | null;
|
|
@@ -1320,7 +1313,6 @@ export declare const actionLoadScene: {
|
|
|
1320
1313
|
editingFrame: string | null;
|
|
1321
1314
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1322
1315
|
editingTextElement: NonDeletedExcalidrawElement | null;
|
|
1323
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1324
1316
|
activeTool: {
|
|
1325
1317
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1326
1318
|
locked: boolean;
|
|
@@ -1359,7 +1351,7 @@ export declare const actionLoadScene: {
|
|
|
1359
1351
|
value: import("../types").NormalizedZoomValue;
|
|
1360
1352
|
}>;
|
|
1361
1353
|
openMenu: "canvas" | "shape" | null;
|
|
1362
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1354
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1363
1355
|
openSidebar: {
|
|
1364
1356
|
name: string;
|
|
1365
1357
|
tab?: string | undefined;
|
|
@@ -1368,7 +1360,7 @@ export declare const actionLoadScene: {
|
|
|
1368
1360
|
name: "imageExport" | "help" | "jsonExport";
|
|
1369
1361
|
} | {
|
|
1370
1362
|
name: "ttd";
|
|
1371
|
-
tab: "text-to-diagram"
|
|
1363
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1372
1364
|
} | {
|
|
1373
1365
|
name: "commandPalette";
|
|
1374
1366
|
} | {
|
|
@@ -1440,8 +1432,7 @@ export declare const actionLoadScene: {
|
|
|
1440
1432
|
shown: true;
|
|
1441
1433
|
data: import("../charts").Spreadsheet;
|
|
1442
1434
|
};
|
|
1443
|
-
|
|
1444
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1435
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1445
1436
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1446
1437
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1447
1438
|
originSnapOffset: {
|
|
@@ -1461,13 +1452,14 @@ export declare const actionLoadScene: {
|
|
|
1461
1452
|
lockedMultiSelections: {
|
|
1462
1453
|
[groupId: string]: true;
|
|
1463
1454
|
};
|
|
1455
|
+
stylesPanelMode: "compact" | "full";
|
|
1464
1456
|
};
|
|
1465
1457
|
files: import("../types").BinaryFiles;
|
|
1466
1458
|
captureUpdate: "EVENTUALLY";
|
|
1467
1459
|
}>;
|
|
1468
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
1460
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
1469
1461
|
} & {
|
|
1470
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
1462
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
1471
1463
|
};
|
|
1472
1464
|
export declare const actionExportWithDarkMode: {
|
|
1473
1465
|
name: "exportWithDarkMode";
|
|
@@ -1489,7 +1481,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1489
1481
|
errorMessage: import("react").ReactNode;
|
|
1490
1482
|
activeEmbeddable: {
|
|
1491
1483
|
element: NonDeletedExcalidrawElement;
|
|
1492
|
-
state: "
|
|
1484
|
+
state: "active" | "hover";
|
|
1493
1485
|
} | null;
|
|
1494
1486
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1495
1487
|
resizingElement: NonDeletedExcalidrawElement | null;
|
|
@@ -1508,7 +1500,6 @@ export declare const actionExportWithDarkMode: {
|
|
|
1508
1500
|
editingFrame: string | null;
|
|
1509
1501
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1510
1502
|
editingTextElement: NonDeletedExcalidrawElement | null;
|
|
1511
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1512
1503
|
activeTool: {
|
|
1513
1504
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1514
1505
|
locked: boolean;
|
|
@@ -1546,7 +1537,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1546
1537
|
value: import("../types").NormalizedZoomValue;
|
|
1547
1538
|
}>;
|
|
1548
1539
|
openMenu: "canvas" | "shape" | null;
|
|
1549
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1540
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1550
1541
|
openSidebar: {
|
|
1551
1542
|
name: string;
|
|
1552
1543
|
tab?: string | undefined;
|
|
@@ -1555,7 +1546,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1555
1546
|
name: "imageExport" | "help" | "jsonExport";
|
|
1556
1547
|
} | {
|
|
1557
1548
|
name: "ttd";
|
|
1558
|
-
tab: "text-to-diagram"
|
|
1549
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1559
1550
|
} | {
|
|
1560
1551
|
name: "commandPalette";
|
|
1561
1552
|
} | {
|
|
@@ -1627,8 +1618,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1627
1618
|
shown: true;
|
|
1628
1619
|
data: import("../charts").Spreadsheet;
|
|
1629
1620
|
};
|
|
1630
|
-
|
|
1631
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1621
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1632
1622
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1633
1623
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1634
1624
|
originSnapOffset: {
|
|
@@ -1648,6 +1638,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1648
1638
|
lockedMultiSelections: {
|
|
1649
1639
|
[groupId: string]: true;
|
|
1650
1640
|
};
|
|
1641
|
+
stylesPanelMode: "compact" | "full";
|
|
1651
1642
|
};
|
|
1652
1643
|
captureUpdate: "EVENTUALLY";
|
|
1653
1644
|
};
|