@myoc/excalidraw 0.18.1 → 0.18.3
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-IVKGBVG7.js → chunk-3K6YEH7O.js} +2 -2
- package/dist/dev/{chunk-IVKGBVG7.js.map → chunk-3K6YEH7O.js.map} +1 -1
- package/dist/dev/{chunk-DYSQNY2T.js → chunk-6MXLCRC3.js} +2 -1
- package/dist/dev/chunk-6MXLCRC3.js.map +7 -0
- package/dist/dev/{chunk-ND5KUA7P.js → chunk-S4MA4GYT.js} +16541 -21170
- package/dist/dev/chunk-S4MA4GYT.js.map +7 -0
- package/dist/dev/data/{image-ZD4HK457.js → image-I5I3FC2R.js} +3 -3
- package/dist/dev/index.css +44 -47
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +6642 -1356
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-IW3FTNXY.js → en-FBYNI7ML.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-Y5S6JYT2.js → chunk-6NO4X5TH.js} +1 -1
- package/dist/prod/chunk-7TL427PR.js +31 -0
- package/dist/prod/{chunk-SIW4TYTH.js → chunk-ECENQK44.js} +1 -1
- package/dist/prod/data/image-TMH4UP47.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +17 -14
- package/dist/prod/locales/{en-3JJA6ONK.js → en-RF5UZHGV.js} +1 -1
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/{excalidraw/binaryheap.d.ts → common/src/binary-heap.d.ts} +1 -1
- package/dist/types/{excalidraw → common/src}/colors.d.ts +1 -0
- package/dist/types/{excalidraw → common/src}/constants.d.ts +7 -6
- package/dist/types/{excalidraw/fonts/FontMetadata.d.ts → common/src/font-metadata.d.ts} +11 -3
- package/dist/types/common/src/index.d.ts +11 -0
- package/dist/types/{excalidraw → common/src}/points.d.ts +2 -0
- package/dist/types/common/src/promise-pool.d.ts +6 -0
- package/dist/types/{excalidraw → common/src}/utils.d.ts +9 -12
- package/dist/types/{excalidraw/scene → element/src}/Shape.d.ts +2 -2
- package/dist/types/{excalidraw/scene → element/src}/ShapeCache.d.ts +4 -4
- package/dist/types/{excalidraw → element/src}/align.d.ts +2 -2
- package/dist/types/{excalidraw/element → element/src}/binding.d.ts +5 -4
- package/dist/types/{excalidraw/element → element/src}/bounds.d.ts +6 -1
- package/dist/types/{excalidraw/element → element/src}/collision.d.ts +2 -2
- package/dist/types/{excalidraw/scene → element/src}/comparisons.d.ts +1 -1
- package/dist/types/{excalidraw → element/src}/distribute.d.ts +1 -1
- package/dist/types/{excalidraw/element → element/src}/dragElements.d.ts +3 -3
- package/dist/types/element/src/duplicate.d.ts +66 -0
- package/dist/types/{excalidraw/element → element/src}/elementLink.d.ts +1 -1
- package/dist/types/element/src/embeddable.d.ts +10 -0
- package/dist/types/{excalidraw/element → element/src}/flowchart.d.ts +1 -1
- package/dist/types/{excalidraw → element/src}/fractionalIndex.d.ts +4 -1
- package/dist/types/{excalidraw → element/src}/frame.d.ts +6 -6
- package/dist/types/{excalidraw → element/src}/groups.d.ts +5 -5
- package/dist/types/{excalidraw/element → element/src}/heading.d.ts +1 -2
- package/dist/types/{excalidraw/element → element/src}/image.d.ts +2 -2
- package/dist/types/{excalidraw/element → element/src}/index.d.ts +0 -10
- package/dist/types/{excalidraw/element → element/src}/linearElementEditor.d.ts +5 -5
- package/dist/types/{excalidraw/element → element/src}/mutateElement.d.ts +1 -1
- package/dist/types/{excalidraw/element → element/src}/newElement.d.ts +3 -43
- package/dist/types/{excalidraw/renderer → element/src}/renderElement.d.ts +3 -3
- package/dist/types/{excalidraw/element → element/src}/resizeElements.d.ts +2 -2
- package/dist/types/{excalidraw/element → element/src}/resizeTest.d.ts +1 -1
- package/dist/types/{excalidraw/scene → element/src}/selection.d.ts +2 -2
- package/dist/types/{excalidraw → element/src}/shapes.d.ts +6 -6
- package/dist/types/{excalidraw/element → element/src}/showSelectedShapeActions.d.ts +1 -1
- package/dist/types/{excalidraw/element → element/src}/sizeHelpers.d.ts +1 -1
- package/dist/types/{excalidraw/element → element/src}/textElement.d.ts +3 -4
- package/dist/types/{excalidraw/element → element/src}/transformHandles.d.ts +5 -5
- package/dist/types/{excalidraw/element → element/src}/typeChecks.d.ts +2 -2
- package/dist/types/{excalidraw/element → element/src}/types.d.ts +2 -2
- package/dist/types/{excalidraw → element/src}/zindex.d.ts +5 -4
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +73 -70
- package/dist/types/excalidraw/actions/actionAlign.d.ts +7 -7
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +54 -52
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +456 -264
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +155 -149
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +26 -25
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +73 -70
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +3 -7
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +30 -29
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +53 -52
- package/dist/types/excalidraw/{element/embeddable.d.ts → actions/actionEmbeddable.d.ts} +26 -35
- package/dist/types/excalidraw/actions/actionExport.d.ts +306 -297
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +41 -39
- package/dist/types/excalidraw/actions/actionFlip.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionFrame.d.ts +217 -213
- package/dist/types/excalidraw/actions/actionGroup.d.ts +51 -49
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +27 -26
- package/dist/types/excalidraw/actions/actionLink.d.ts +26 -25
- package/dist/types/excalidraw/actions/actionMenu.d.ts +73 -70
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +48 -46
- package/dist/types/excalidraw/actions/actionProperties.d.ts +317 -302
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +26 -25
- package/dist/types/excalidraw/actions/actionSmartZoom.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionStyles.d.ts +28 -27
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +26 -25
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +26 -25
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +50 -48
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +25 -25
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +26 -26
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +26 -26
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/actions/index.d.ts +1 -0
- package/dist/types/excalidraw/actions/manager.d.ts +1 -1
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +2 -2
- package/dist/types/excalidraw/animated-trail.d.ts +7 -1
- package/dist/types/excalidraw/appState.d.ts +35 -34
- package/dist/types/excalidraw/change.d.ts +3 -3
- package/dist/types/excalidraw/charts.d.ts +1 -1
- package/dist/types/excalidraw/clipboard.d.ts +2 -2
- package/dist/types/excalidraw/components/Actions.d.ts +2 -2
- package/dist/types/excalidraw/components/App.d.ts +14 -9
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +1 -2
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +3 -3
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
- package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
- package/dist/types/excalidraw/{element → components}/ElementCanvasButtons.d.ts +1 -1
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +2 -2
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/excalidraw/components/ImageExportDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/InitializeApp.d.ts +1 -1
- package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryUnit.d.ts +1 -1
- package/dist/types/excalidraw/components/LoadingMessage.d.ts +1 -1
- package/dist/types/excalidraw/components/MobileMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -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/index.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
- package/dist/types/excalidraw/components/ToolButton.d.ts +1 -1
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +1 -1
- package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -1
- package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -2
- package/dist/types/excalidraw/components/icons.d.ts +2 -1
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -1
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +4 -1
- package/dist/types/excalidraw/components/shapes.d.ts +62 -0
- package/dist/types/excalidraw/data/EditorLocalStorage.d.ts +1 -1
- package/dist/types/excalidraw/data/blob.d.ts +5 -5
- package/dist/types/excalidraw/data/filesystem.d.ts +1 -1
- package/dist/types/excalidraw/data/index.d.ts +1 -1
- package/dist/types/excalidraw/data/json.d.ts +1 -1
- package/dist/types/excalidraw/data/library.d.ts +2 -2
- package/dist/types/excalidraw/data/reconcile.d.ts +2 -2
- package/dist/types/excalidraw/data/resave.d.ts +1 -1
- package/dist/types/excalidraw/data/restore.d.ts +1 -1
- package/dist/types/excalidraw/data/transform.d.ts +4 -4
- package/dist/types/excalidraw/data/types.d.ts +2 -2
- package/dist/types/excalidraw/errors.d.ts +0 -3
- package/dist/types/excalidraw/fonts/Fonts.d.ts +2 -12
- package/dist/types/excalidraw/history.d.ts +1 -1
- package/dist/types/excalidraw/i18n.d.ts +1 -1
- package/dist/types/excalidraw/index.d.ts +11 -10
- package/dist/types/excalidraw/lasso/index.d.ts +15 -0
- package/dist/types/excalidraw/lasso/utils.d.ts +13 -0
- package/dist/types/excalidraw/renderer/helpers.d.ts +1 -1
- package/dist/types/excalidraw/renderer/staticSvgScene.d.ts +1 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +2 -2
- package/dist/types/excalidraw/scene/Scene.d.ts +5 -5
- package/dist/types/excalidraw/scene/export.d.ts +1 -1
- package/dist/types/excalidraw/scene/index.d.ts +2 -2
- package/dist/types/excalidraw/scene/scroll.d.ts +1 -1
- package/dist/types/excalidraw/scene/scrollbars.d.ts +1 -1
- package/dist/types/excalidraw/scene/types.d.ts +3 -3
- package/dist/types/excalidraw/snapping.d.ts +4 -5
- package/dist/types/excalidraw/store.d.ts +2 -2
- package/dist/types/excalidraw/types.d.ts +10 -9
- package/dist/types/excalidraw/visualdebug.d.ts +1 -1
- package/dist/types/excalidraw/{element → wysiwyg}/textWysiwyg.d.ts +1 -1
- package/dist/types/math/{point.d.ts → src/point.d.ts} +2 -2
- package/dist/types/math/{polygon.d.ts → src/polygon.d.ts} +1 -0
- package/dist/types/math/{segment.d.ts → src/segment.d.ts} +1 -1
- package/dist/types/utils/{bbox.d.ts → src/bbox.d.ts} +1 -1
- package/dist/types/utils/{collision.d.ts → src/collision.d.ts} +1 -2
- package/dist/types/utils/{export.d.ts → src/export.d.ts} +2 -2
- package/dist/types/utils/{index.d.ts → src/index.d.ts} +1 -1
- package/dist/types/utils/{geometry → src}/shape.d.ts +1 -14
- package/dist/types/utils/{withinBounds.d.ts → src/withinBounds.d.ts} +2 -2
- package/history.ts +2 -1
- package/package.json +14 -2
- package/dist/dev/chunk-DYSQNY2T.js.map +0 -7
- package/dist/dev/chunk-ND5KUA7P.js.map +0 -7
- package/dist/prod/chunk-45TA3AZW.js +0 -34
- package/dist/prod/data/image-YE6T6FOC.js +0 -1
- /package/dist/dev/data/{image-ZD4HK457.js.map → image-I5I3FC2R.js.map} +0 -0
- /package/dist/dev/locales/{en-IW3FTNXY.js.map → en-FBYNI7ML.js.map} +0 -0
- /package/dist/types/{excalidraw → common/src}/keys.d.ts +0 -0
- /package/dist/types/{excalidraw → common/src}/queue.d.ts +0 -0
- /package/dist/types/{excalidraw → common/src}/random.d.ts +0 -0
- /package/dist/types/{excalidraw/data → common/src}/url.d.ts +0 -0
- /package/dist/types/{excalidraw → common/src}/utility-types.d.ts +0 -0
- /package/dist/types/{excalidraw/element → element/src}/containerCache.d.ts +0 -0
- /package/dist/types/{excalidraw/element → element/src}/cropElement.d.ts +0 -0
- /package/dist/types/{excalidraw/element → element/src}/distance.d.ts +0 -0
- /package/dist/types/{excalidraw/element → element/src}/elbowArrow.d.ts +0 -0
- /package/dist/types/{excalidraw/element → element/src}/sortElements.d.ts +0 -0
- /package/dist/types/{excalidraw/element → element/src}/textMeasurements.d.ts +0 -0
- /package/dist/types/{excalidraw/element → element/src}/textWrapping.d.ts +0 -0
- /package/dist/types/{excalidraw/element → element/src}/utils.d.ts +0 -0
- /package/dist/types/math/{angle.d.ts → src/angle.d.ts} +0 -0
- /package/dist/types/math/{curve.d.ts → src/curve.d.ts} +0 -0
- /package/dist/types/math/{ellipse.d.ts → src/ellipse.d.ts} +0 -0
- /package/dist/types/math/{index.d.ts → src/index.d.ts} +0 -0
- /package/dist/types/math/{line.d.ts → src/line.d.ts} +0 -0
- /package/dist/types/math/{range.d.ts → src/range.d.ts} +0 -0
- /package/dist/types/math/{rectangle.d.ts → src/rectangle.d.ts} +0 -0
- /package/dist/types/math/{triangle.d.ts → src/triangle.d.ts} +0 -0
- /package/dist/types/math/{types.d.ts → src/types.d.ts} +0 -0
- /package/dist/types/math/{utils.d.ts → src/utils.d.ts} +0 -0
- /package/dist/types/math/{vector.d.ts → src/vector.d.ts} +0 -0
|
@@ -5,7 +5,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
5
5
|
trackEvent: {
|
|
6
6
|
category: "menu";
|
|
7
7
|
};
|
|
8
|
-
perform: (_: readonly import("
|
|
8
|
+
perform: (_: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
|
|
9
9
|
appState: {
|
|
10
10
|
openMenu: "canvas" | null;
|
|
11
11
|
contextMenu: {
|
|
@@ -20,17 +20,17 @@ export declare const actionToggleCanvasMenu: {
|
|
|
20
20
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
21
21
|
errorMessage: import("react").ReactNode;
|
|
22
22
|
activeEmbeddable: {
|
|
23
|
-
element: import("
|
|
23
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
24
24
|
state: "hover" | "active";
|
|
25
25
|
} | null;
|
|
26
|
-
newElement: import("
|
|
27
|
-
resizingElement: import("
|
|
28
|
-
multiElement: import("
|
|
29
|
-
selectionElement: import("
|
|
26
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
27
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
28
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
29
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
30
30
|
isBindingEnabled: boolean;
|
|
31
|
-
startBoundElement: import("
|
|
32
|
-
suggestedBindings: import("
|
|
33
|
-
frameToHighlight: import("
|
|
31
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
32
|
+
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
33
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
34
34
|
frameRendering: {
|
|
35
35
|
enabled: boolean;
|
|
36
36
|
name: boolean;
|
|
@@ -38,12 +38,13 @@ export declare const actionToggleCanvasMenu: {
|
|
|
38
38
|
clip: boolean;
|
|
39
39
|
};
|
|
40
40
|
editingFrame: string | null;
|
|
41
|
-
elementsToHighlight: import("
|
|
42
|
-
editingTextElement: import("
|
|
43
|
-
editingLinearElement: import("
|
|
41
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
42
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
43
|
+
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
44
44
|
activeTool: {
|
|
45
45
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
46
46
|
locked: boolean;
|
|
47
|
+
fromSelection: boolean;
|
|
47
48
|
} & import("../types").ActiveTool;
|
|
48
49
|
penMode: boolean;
|
|
49
50
|
penDetected: boolean;
|
|
@@ -53,18 +54,18 @@ export declare const actionToggleCanvasMenu: {
|
|
|
53
54
|
exportScale: number;
|
|
54
55
|
currentItemStrokeColor: string;
|
|
55
56
|
currentItemBackgroundColor: string;
|
|
56
|
-
currentItemFillStyle: import("
|
|
57
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
57
58
|
currentItemStrokeWidth: number;
|
|
58
|
-
currentItemStrokeStyle: import("
|
|
59
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
59
60
|
currentItemRoughness: number;
|
|
60
61
|
currentItemOpacity: number;
|
|
61
62
|
currentItemFontFamily: number;
|
|
62
63
|
currentItemFontSize: number;
|
|
63
64
|
currentItemTextAlign: string;
|
|
64
|
-
currentItemStartArrowhead: import("
|
|
65
|
-
currentItemEndArrowhead: import("
|
|
65
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
66
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
66
67
|
currentHoveredFontFamily: number | null;
|
|
67
|
-
currentItemRoundness: import("
|
|
68
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
68
69
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
69
70
|
viewBackgroundColor: string;
|
|
70
71
|
scrollX: number;
|
|
@@ -94,7 +95,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
94
95
|
sourceElementId: string;
|
|
95
96
|
} | null;
|
|
96
97
|
defaultSidebarDockedPreference: boolean;
|
|
97
|
-
lastPointerDownWith: import("
|
|
98
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
98
99
|
selectedElementIds: Readonly<{
|
|
99
100
|
[id: string]: true;
|
|
100
101
|
}>;
|
|
@@ -112,7 +113,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
112
113
|
duration?: number | undefined;
|
|
113
114
|
} | null;
|
|
114
115
|
zenModeEnabled: boolean;
|
|
115
|
-
theme: import("
|
|
116
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
116
117
|
gridSize: number;
|
|
117
118
|
gridStep: number;
|
|
118
119
|
gridModeEnabled: boolean;
|
|
@@ -133,7 +134,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
133
134
|
[id: string]: true;
|
|
134
135
|
}> | undefined;
|
|
135
136
|
username?: string | null | undefined;
|
|
136
|
-
userState?: import("
|
|
137
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
137
138
|
color?: {
|
|
138
139
|
background: string;
|
|
139
140
|
stroke: string;
|
|
@@ -150,7 +151,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
150
151
|
open: boolean;
|
|
151
152
|
panels: number;
|
|
152
153
|
};
|
|
153
|
-
currentChartType: import("
|
|
154
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
154
155
|
pasteDialog: {
|
|
155
156
|
shown: false;
|
|
156
157
|
data: null;
|
|
@@ -159,8 +160,8 @@ export declare const actionToggleCanvasMenu: {
|
|
|
159
160
|
data: import("../charts").Spreadsheet;
|
|
160
161
|
};
|
|
161
162
|
pendingImageElementId: string | null;
|
|
162
|
-
showHyperlinkPopup: false | "
|
|
163
|
-
selectedLinearElement: import("
|
|
163
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
164
|
+
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
164
165
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
165
166
|
originSnapOffset: {
|
|
166
167
|
x: number;
|
|
@@ -194,7 +195,7 @@ export declare const actionToggleEditMenu: {
|
|
|
194
195
|
trackEvent: {
|
|
195
196
|
category: "menu";
|
|
196
197
|
};
|
|
197
|
-
perform: (_elements: readonly import("
|
|
198
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
|
|
198
199
|
appState: {
|
|
199
200
|
openMenu: "shape" | null;
|
|
200
201
|
contextMenu: {
|
|
@@ -209,17 +210,17 @@ export declare const actionToggleEditMenu: {
|
|
|
209
210
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
210
211
|
errorMessage: import("react").ReactNode;
|
|
211
212
|
activeEmbeddable: {
|
|
212
|
-
element: import("
|
|
213
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
213
214
|
state: "hover" | "active";
|
|
214
215
|
} | null;
|
|
215
|
-
newElement: import("
|
|
216
|
-
resizingElement: import("
|
|
217
|
-
multiElement: import("
|
|
218
|
-
selectionElement: import("
|
|
216
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
217
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
218
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
219
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
219
220
|
isBindingEnabled: boolean;
|
|
220
|
-
startBoundElement: import("
|
|
221
|
-
suggestedBindings: import("
|
|
222
|
-
frameToHighlight: import("
|
|
221
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
222
|
+
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
223
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
223
224
|
frameRendering: {
|
|
224
225
|
enabled: boolean;
|
|
225
226
|
name: boolean;
|
|
@@ -227,12 +228,13 @@ export declare const actionToggleEditMenu: {
|
|
|
227
228
|
clip: boolean;
|
|
228
229
|
};
|
|
229
230
|
editingFrame: string | null;
|
|
230
|
-
elementsToHighlight: import("
|
|
231
|
-
editingTextElement: import("
|
|
232
|
-
editingLinearElement: import("
|
|
231
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
232
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
233
|
+
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
233
234
|
activeTool: {
|
|
234
235
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
235
236
|
locked: boolean;
|
|
237
|
+
fromSelection: boolean;
|
|
236
238
|
} & import("../types").ActiveTool;
|
|
237
239
|
penMode: boolean;
|
|
238
240
|
penDetected: boolean;
|
|
@@ -242,18 +244,18 @@ export declare const actionToggleEditMenu: {
|
|
|
242
244
|
exportScale: number;
|
|
243
245
|
currentItemStrokeColor: string;
|
|
244
246
|
currentItemBackgroundColor: string;
|
|
245
|
-
currentItemFillStyle: import("
|
|
247
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
246
248
|
currentItemStrokeWidth: number;
|
|
247
|
-
currentItemStrokeStyle: import("
|
|
249
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
248
250
|
currentItemRoughness: number;
|
|
249
251
|
currentItemOpacity: number;
|
|
250
252
|
currentItemFontFamily: number;
|
|
251
253
|
currentItemFontSize: number;
|
|
252
254
|
currentItemTextAlign: string;
|
|
253
|
-
currentItemStartArrowhead: import("
|
|
254
|
-
currentItemEndArrowhead: import("
|
|
255
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
256
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
255
257
|
currentHoveredFontFamily: number | null;
|
|
256
|
-
currentItemRoundness: import("
|
|
258
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
257
259
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
258
260
|
viewBackgroundColor: string;
|
|
259
261
|
scrollX: number;
|
|
@@ -283,7 +285,7 @@ export declare const actionToggleEditMenu: {
|
|
|
283
285
|
sourceElementId: string;
|
|
284
286
|
} | null;
|
|
285
287
|
defaultSidebarDockedPreference: boolean;
|
|
286
|
-
lastPointerDownWith: import("
|
|
288
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
287
289
|
selectedElementIds: Readonly<{
|
|
288
290
|
[id: string]: true;
|
|
289
291
|
}>;
|
|
@@ -301,7 +303,7 @@ export declare const actionToggleEditMenu: {
|
|
|
301
303
|
duration?: number | undefined;
|
|
302
304
|
} | null;
|
|
303
305
|
zenModeEnabled: boolean;
|
|
304
|
-
theme: import("
|
|
306
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
305
307
|
gridSize: number;
|
|
306
308
|
gridStep: number;
|
|
307
309
|
gridModeEnabled: boolean;
|
|
@@ -322,7 +324,7 @@ export declare const actionToggleEditMenu: {
|
|
|
322
324
|
[id: string]: true;
|
|
323
325
|
}> | undefined;
|
|
324
326
|
username?: string | null | undefined;
|
|
325
|
-
userState?: import("
|
|
327
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
326
328
|
color?: {
|
|
327
329
|
background: string;
|
|
328
330
|
stroke: string;
|
|
@@ -339,7 +341,7 @@ export declare const actionToggleEditMenu: {
|
|
|
339
341
|
open: boolean;
|
|
340
342
|
panels: number;
|
|
341
343
|
};
|
|
342
|
-
currentChartType: import("
|
|
344
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
343
345
|
pasteDialog: {
|
|
344
346
|
shown: false;
|
|
345
347
|
data: null;
|
|
@@ -348,8 +350,8 @@ export declare const actionToggleEditMenu: {
|
|
|
348
350
|
data: import("../charts").Spreadsheet;
|
|
349
351
|
};
|
|
350
352
|
pendingImageElementId: string | null;
|
|
351
|
-
showHyperlinkPopup: false | "
|
|
352
|
-
selectedLinearElement: import("
|
|
353
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
354
|
+
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
353
355
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
354
356
|
originSnapOffset: {
|
|
355
357
|
x: number;
|
|
@@ -386,7 +388,7 @@ export declare const actionShortcuts: {
|
|
|
386
388
|
category: "menu";
|
|
387
389
|
action: string;
|
|
388
390
|
};
|
|
389
|
-
perform: (_elements: readonly import("
|
|
391
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, { focusContainer }: import("../types").AppClassProperties) => {
|
|
390
392
|
appState: {
|
|
391
393
|
openDialog: {
|
|
392
394
|
name: "help";
|
|
@@ -403,17 +405,17 @@ export declare const actionShortcuts: {
|
|
|
403
405
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
404
406
|
errorMessage: import("react").ReactNode;
|
|
405
407
|
activeEmbeddable: {
|
|
406
|
-
element: import("
|
|
408
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
407
409
|
state: "hover" | "active";
|
|
408
410
|
} | null;
|
|
409
|
-
newElement: import("
|
|
410
|
-
resizingElement: import("
|
|
411
|
-
multiElement: import("
|
|
412
|
-
selectionElement: import("
|
|
411
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
412
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
413
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
414
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
413
415
|
isBindingEnabled: boolean;
|
|
414
|
-
startBoundElement: import("
|
|
415
|
-
suggestedBindings: import("
|
|
416
|
-
frameToHighlight: import("
|
|
416
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
417
|
+
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
418
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
417
419
|
frameRendering: {
|
|
418
420
|
enabled: boolean;
|
|
419
421
|
name: boolean;
|
|
@@ -421,12 +423,13 @@ export declare const actionShortcuts: {
|
|
|
421
423
|
clip: boolean;
|
|
422
424
|
};
|
|
423
425
|
editingFrame: string | null;
|
|
424
|
-
elementsToHighlight: import("
|
|
425
|
-
editingTextElement: import("
|
|
426
|
-
editingLinearElement: import("
|
|
426
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
427
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
428
|
+
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
427
429
|
activeTool: {
|
|
428
430
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
429
431
|
locked: boolean;
|
|
432
|
+
fromSelection: boolean;
|
|
430
433
|
} & import("../types").ActiveTool;
|
|
431
434
|
penMode: boolean;
|
|
432
435
|
penDetected: boolean;
|
|
@@ -436,18 +439,18 @@ export declare const actionShortcuts: {
|
|
|
436
439
|
exportScale: number;
|
|
437
440
|
currentItemStrokeColor: string;
|
|
438
441
|
currentItemBackgroundColor: string;
|
|
439
|
-
currentItemFillStyle: import("
|
|
442
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
440
443
|
currentItemStrokeWidth: number;
|
|
441
|
-
currentItemStrokeStyle: import("
|
|
444
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
442
445
|
currentItemRoughness: number;
|
|
443
446
|
currentItemOpacity: number;
|
|
444
447
|
currentItemFontFamily: number;
|
|
445
448
|
currentItemFontSize: number;
|
|
446
449
|
currentItemTextAlign: string;
|
|
447
|
-
currentItemStartArrowhead: import("
|
|
448
|
-
currentItemEndArrowhead: import("
|
|
450
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
451
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
449
452
|
currentHoveredFontFamily: number | null;
|
|
450
|
-
currentItemRoundness: import("
|
|
453
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
451
454
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
452
455
|
viewBackgroundColor: string;
|
|
453
456
|
scrollX: number;
|
|
@@ -460,14 +463,14 @@ export declare const actionShortcuts: {
|
|
|
460
463
|
zoom: Readonly<{
|
|
461
464
|
value: import("../types").NormalizedZoomValue;
|
|
462
465
|
}>;
|
|
463
|
-
openMenu: "
|
|
466
|
+
openMenu: "shape" | "canvas" | null;
|
|
464
467
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
465
468
|
openSidebar: {
|
|
466
469
|
name: string;
|
|
467
470
|
tab?: string | undefined;
|
|
468
471
|
} | null;
|
|
469
472
|
defaultSidebarDockedPreference: boolean;
|
|
470
|
-
lastPointerDownWith: import("
|
|
473
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
471
474
|
selectedElementIds: Readonly<{
|
|
472
475
|
[id: string]: true;
|
|
473
476
|
}>;
|
|
@@ -485,7 +488,7 @@ export declare const actionShortcuts: {
|
|
|
485
488
|
duration?: number | undefined;
|
|
486
489
|
} | null;
|
|
487
490
|
zenModeEnabled: boolean;
|
|
488
|
-
theme: import("
|
|
491
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
489
492
|
gridSize: number;
|
|
490
493
|
gridStep: number;
|
|
491
494
|
gridModeEnabled: boolean;
|
|
@@ -506,7 +509,7 @@ export declare const actionShortcuts: {
|
|
|
506
509
|
[id: string]: true;
|
|
507
510
|
}> | undefined;
|
|
508
511
|
username?: string | null | undefined;
|
|
509
|
-
userState?: import("
|
|
512
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
510
513
|
color?: {
|
|
511
514
|
background: string;
|
|
512
515
|
stroke: string;
|
|
@@ -523,7 +526,7 @@ export declare const actionShortcuts: {
|
|
|
523
526
|
open: boolean;
|
|
524
527
|
panels: number;
|
|
525
528
|
};
|
|
526
|
-
currentChartType: import("
|
|
529
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
527
530
|
pasteDialog: {
|
|
528
531
|
shown: false;
|
|
529
532
|
data: null;
|
|
@@ -532,8 +535,8 @@ export declare const actionShortcuts: {
|
|
|
532
535
|
data: import("../charts").Spreadsheet;
|
|
533
536
|
};
|
|
534
537
|
pendingImageElementId: string | null;
|
|
535
|
-
showHyperlinkPopup: false | "
|
|
536
|
-
selectedLinearElement: import("
|
|
538
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
539
|
+
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
537
540
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
538
541
|
originSnapOffset: {
|
|
539
542
|
x: number;
|
|
@@ -7,7 +7,7 @@ export declare const actionGoToCollaborator: {
|
|
|
7
7
|
trackEvent: {
|
|
8
8
|
category: "collab";
|
|
9
9
|
};
|
|
10
|
-
perform: (_elements: readonly import("
|
|
10
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, collaborator: Collaborator) => {
|
|
11
11
|
appState: {
|
|
12
12
|
userToFollow: null;
|
|
13
13
|
contextMenu: {
|
|
@@ -22,17 +22,17 @@ export declare const actionGoToCollaborator: {
|
|
|
22
22
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
23
23
|
errorMessage: import("react").ReactNode;
|
|
24
24
|
activeEmbeddable: {
|
|
25
|
-
element: import("
|
|
25
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
26
26
|
state: "hover" | "active";
|
|
27
27
|
} | null;
|
|
28
|
-
newElement: import("
|
|
29
|
-
resizingElement: import("
|
|
30
|
-
multiElement: import("
|
|
31
|
-
selectionElement: import("
|
|
28
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
29
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
30
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
31
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
32
32
|
isBindingEnabled: boolean;
|
|
33
|
-
startBoundElement: import("
|
|
34
|
-
suggestedBindings: import("
|
|
35
|
-
frameToHighlight: import("
|
|
33
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
34
|
+
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
35
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
36
36
|
frameRendering: {
|
|
37
37
|
enabled: boolean;
|
|
38
38
|
name: boolean;
|
|
@@ -40,12 +40,13 @@ export declare const actionGoToCollaborator: {
|
|
|
40
40
|
clip: boolean;
|
|
41
41
|
};
|
|
42
42
|
editingFrame: string | null;
|
|
43
|
-
elementsToHighlight: import("
|
|
44
|
-
editingTextElement: import("
|
|
45
|
-
editingLinearElement: import("
|
|
43
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
44
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
45
|
+
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
46
46
|
activeTool: {
|
|
47
47
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
48
48
|
locked: boolean;
|
|
49
|
+
fromSelection: boolean;
|
|
49
50
|
} & import("../types").ActiveTool;
|
|
50
51
|
penMode: boolean;
|
|
51
52
|
penDetected: boolean;
|
|
@@ -55,18 +56,18 @@ export declare const actionGoToCollaborator: {
|
|
|
55
56
|
exportScale: number;
|
|
56
57
|
currentItemStrokeColor: string;
|
|
57
58
|
currentItemBackgroundColor: string;
|
|
58
|
-
currentItemFillStyle: import("
|
|
59
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
59
60
|
currentItemStrokeWidth: number;
|
|
60
|
-
currentItemStrokeStyle: import("
|
|
61
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
61
62
|
currentItemRoughness: number;
|
|
62
63
|
currentItemOpacity: number;
|
|
63
64
|
currentItemFontFamily: number;
|
|
64
65
|
currentItemFontSize: number;
|
|
65
66
|
currentItemTextAlign: string;
|
|
66
|
-
currentItemStartArrowhead: import("
|
|
67
|
-
currentItemEndArrowhead: import("
|
|
67
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
68
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
68
69
|
currentHoveredFontFamily: number | null;
|
|
69
|
-
currentItemRoundness: import("
|
|
70
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
70
71
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
71
72
|
viewBackgroundColor: string;
|
|
72
73
|
scrollX: number;
|
|
@@ -79,7 +80,7 @@ export declare const actionGoToCollaborator: {
|
|
|
79
80
|
zoom: Readonly<{
|
|
80
81
|
value: import("../types").NormalizedZoomValue;
|
|
81
82
|
}>;
|
|
82
|
-
openMenu: "
|
|
83
|
+
openMenu: "shape" | "canvas" | null;
|
|
83
84
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
84
85
|
openSidebar: {
|
|
85
86
|
name: string;
|
|
@@ -97,7 +98,7 @@ export declare const actionGoToCollaborator: {
|
|
|
97
98
|
sourceElementId: string;
|
|
98
99
|
} | null;
|
|
99
100
|
defaultSidebarDockedPreference: boolean;
|
|
100
|
-
lastPointerDownWith: import("
|
|
101
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
101
102
|
selectedElementIds: Readonly<{
|
|
102
103
|
[id: string]: true;
|
|
103
104
|
}>;
|
|
@@ -115,7 +116,7 @@ export declare const actionGoToCollaborator: {
|
|
|
115
116
|
duration?: number | undefined;
|
|
116
117
|
} | null;
|
|
117
118
|
zenModeEnabled: boolean;
|
|
118
|
-
theme: import("
|
|
119
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
119
120
|
gridSize: number;
|
|
120
121
|
gridStep: number;
|
|
121
122
|
gridModeEnabled: boolean;
|
|
@@ -136,7 +137,7 @@ export declare const actionGoToCollaborator: {
|
|
|
136
137
|
[id: string]: true;
|
|
137
138
|
}> | undefined;
|
|
138
139
|
username?: string | null | undefined;
|
|
139
|
-
userState?: import("
|
|
140
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
140
141
|
color?: {
|
|
141
142
|
background: string;
|
|
142
143
|
stroke: string;
|
|
@@ -153,7 +154,7 @@ export declare const actionGoToCollaborator: {
|
|
|
153
154
|
open: boolean;
|
|
154
155
|
panels: number;
|
|
155
156
|
};
|
|
156
|
-
currentChartType: import("
|
|
157
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
157
158
|
pasteDialog: {
|
|
158
159
|
shown: false;
|
|
159
160
|
data: null;
|
|
@@ -162,8 +163,8 @@ export declare const actionGoToCollaborator: {
|
|
|
162
163
|
data: import("../charts").Spreadsheet;
|
|
163
164
|
};
|
|
164
165
|
pendingImageElementId: string | null;
|
|
165
|
-
showHyperlinkPopup: false | "
|
|
166
|
-
selectedLinearElement: import("
|
|
166
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
167
|
+
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
167
168
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
168
169
|
originSnapOffset: {
|
|
169
170
|
x: number;
|
|
@@ -204,17 +205,17 @@ export declare const actionGoToCollaborator: {
|
|
|
204
205
|
wheelZoomsOnDefault?: boolean | undefined;
|
|
205
206
|
errorMessage: import("react").ReactNode;
|
|
206
207
|
activeEmbeddable: {
|
|
207
|
-
element: import("
|
|
208
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
208
209
|
state: "hover" | "active";
|
|
209
210
|
} | null;
|
|
210
|
-
newElement: import("
|
|
211
|
-
resizingElement: import("
|
|
212
|
-
multiElement: import("
|
|
213
|
-
selectionElement: import("
|
|
211
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
212
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
213
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
214
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
214
215
|
isBindingEnabled: boolean;
|
|
215
|
-
startBoundElement: import("
|
|
216
|
-
suggestedBindings: import("
|
|
217
|
-
frameToHighlight: import("
|
|
216
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
217
|
+
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
218
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
218
219
|
frameRendering: {
|
|
219
220
|
enabled: boolean;
|
|
220
221
|
name: boolean;
|
|
@@ -222,12 +223,13 @@ export declare const actionGoToCollaborator: {
|
|
|
222
223
|
clip: boolean;
|
|
223
224
|
};
|
|
224
225
|
editingFrame: string | null;
|
|
225
|
-
elementsToHighlight: import("
|
|
226
|
-
editingTextElement: import("
|
|
227
|
-
editingLinearElement: import("
|
|
226
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
227
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
228
|
+
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
228
229
|
activeTool: {
|
|
229
230
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
230
231
|
locked: boolean;
|
|
232
|
+
fromSelection: boolean;
|
|
231
233
|
} & import("../types").ActiveTool;
|
|
232
234
|
penMode: boolean;
|
|
233
235
|
penDetected: boolean;
|
|
@@ -237,18 +239,18 @@ export declare const actionGoToCollaborator: {
|
|
|
237
239
|
exportScale: number;
|
|
238
240
|
currentItemStrokeColor: string;
|
|
239
241
|
currentItemBackgroundColor: string;
|
|
240
|
-
currentItemFillStyle: import("
|
|
242
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
241
243
|
currentItemStrokeWidth: number;
|
|
242
|
-
currentItemStrokeStyle: import("
|
|
244
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
243
245
|
currentItemRoughness: number;
|
|
244
246
|
currentItemOpacity: number;
|
|
245
247
|
currentItemFontFamily: number;
|
|
246
248
|
currentItemFontSize: number;
|
|
247
249
|
currentItemTextAlign: string;
|
|
248
|
-
currentItemStartArrowhead: import("
|
|
249
|
-
currentItemEndArrowhead: import("
|
|
250
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
251
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
250
252
|
currentHoveredFontFamily: number | null;
|
|
251
|
-
currentItemRoundness: import("
|
|
253
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
252
254
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
253
255
|
viewBackgroundColor: string;
|
|
254
256
|
scrollX: number;
|
|
@@ -278,7 +280,7 @@ export declare const actionGoToCollaborator: {
|
|
|
278
280
|
sourceElementId: string;
|
|
279
281
|
} | null;
|
|
280
282
|
defaultSidebarDockedPreference: boolean;
|
|
281
|
-
lastPointerDownWith: import("
|
|
283
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
282
284
|
selectedElementIds: Readonly<{
|
|
283
285
|
[id: string]: true;
|
|
284
286
|
}>;
|
|
@@ -296,7 +298,7 @@ export declare const actionGoToCollaborator: {
|
|
|
296
298
|
duration?: number | undefined;
|
|
297
299
|
} | null;
|
|
298
300
|
zenModeEnabled: boolean;
|
|
299
|
-
theme: import("
|
|
301
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
300
302
|
gridSize: number;
|
|
301
303
|
gridStep: number;
|
|
302
304
|
gridModeEnabled: boolean;
|
|
@@ -317,7 +319,7 @@ export declare const actionGoToCollaborator: {
|
|
|
317
319
|
[id: string]: true;
|
|
318
320
|
}> | undefined;
|
|
319
321
|
username?: string | null | undefined;
|
|
320
|
-
userState?: import("
|
|
322
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
321
323
|
color?: {
|
|
322
324
|
background: string;
|
|
323
325
|
stroke: string;
|
|
@@ -334,7 +336,7 @@ export declare const actionGoToCollaborator: {
|
|
|
334
336
|
open: boolean;
|
|
335
337
|
panels: number;
|
|
336
338
|
};
|
|
337
|
-
currentChartType: import("
|
|
339
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
338
340
|
pasteDialog: {
|
|
339
341
|
shown: false;
|
|
340
342
|
data: null;
|
|
@@ -343,8 +345,8 @@ export declare const actionGoToCollaborator: {
|
|
|
343
345
|
data: import("../charts").Spreadsheet;
|
|
344
346
|
};
|
|
345
347
|
pendingImageElementId: string | null;
|
|
346
|
-
showHyperlinkPopup: false | "
|
|
347
|
-
selectedLinearElement: import("
|
|
348
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
349
|
+
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
348
350
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
349
351
|
originSnapOffset: {
|
|
350
352
|
x: number;
|