@excalidraw/excalidraw 0.18.0-817d8c5 → 0.18.0-a18b139
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/CHANGELOG.md +11 -11
- package/dist/dev/chunk-FB2NA5UG.js +4132 -0
- package/dist/dev/chunk-FB2NA5UG.js.map +7 -0
- package/dist/dev/{chunk-53KHN5WM.js → chunk-MJMGTOVG.js} +2 -2
- package/dist/dev/{chunk-53KHN5WM.js.map → chunk-MJMGTOVG.js.map} +1 -1
- package/dist/dev/{chunk-3SN6HYVK.js → chunk-U3G3LY5D.js} +14433 -21847
- package/dist/dev/chunk-U3G3LY5D.js.map +7 -0
- package/dist/dev/{chunk-LMHBUWQS.js → chunk-X3RYHLJU.js} +2 -1
- package/dist/dev/chunk-X3RYHLJU.js.map +7 -0
- package/dist/dev/data/{image-V26YBSDB.js → image-Y366K5SN.js} +3 -3
- package/dist/dev/index.css +3031 -3034
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +30824 -23152
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-OZCJJ2HN.js → en-CKWC2GMK.js} +2 -2
- package/dist/dev/subset-shared.chunk.js +2 -2
- package/dist/dev/subset-worker.chunk.js +2 -2
- package/dist/prod/{chunk-6U3AYISY.js → chunk-IUH5AXLB.js} +1 -1
- package/dist/prod/chunk-LS7FJGPW.js +86 -0
- package/dist/prod/chunk-PUQLEN73.js +33 -0
- package/dist/prod/{chunk-G5N3DNGT.js → chunk-VQA74LVG.js} +1 -1
- package/dist/prod/data/image-WY2VMQLG.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +17 -14
- package/dist/prod/locales/{en-B4ZKOASM.js → en-SBO6ZHT2.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 +9 -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 +13 -12
- package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +12 -15
- 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/element/src/align.d.ts +7 -0
- package/dist/types/{excalidraw/element → element/src}/binding.d.ts +15 -15
- package/dist/types/{excalidraw/element → element/src}/bounds.d.ts +9 -4
- package/dist/types/{excalidraw/element → element/src}/collision.d.ts +3 -3
- 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 +5 -4
- package/dist/types/element/src/duplicate.d.ts +63 -0
- package/dist/types/{excalidraw/element → element/src}/elbowArrow.d.ts +1 -1
- 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 +4 -3
- package/dist/types/{excalidraw → element/src}/fractionalIndex.d.ts +5 -2
- package/dist/types/{excalidraw → element/src}/frame.d.ts +7 -7
- 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 +16 -16
- package/dist/types/{excalidraw/element → element/src}/mutateElement.d.ts +11 -3
- 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 +6 -6
- package/dist/types/{excalidraw/element → element/src}/resizeTest.d.ts +4 -4
- package/dist/types/{excalidraw/scene → element/src}/selection.d.ts +13 -2
- package/dist/types/element/src/shapes.d.ts +23 -0
- package/dist/types/{excalidraw/element → element/src}/showSelectedShapeActions.d.ts +1 -1
- package/dist/types/{excalidraw/element → element/src}/sizeHelpers.d.ts +1 -2
- package/dist/types/{excalidraw/element → element/src}/textElement.d.ts +8 -7
- package/dist/types/{excalidraw/element → element/src}/transformHandles.d.ts +7 -7
- 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/element/src/zindex.d.ts +7 -0
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +70 -67
- package/dist/types/excalidraw/actions/actionAlign.d.ts +7 -7
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +52 -50
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +533 -344
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +149 -143
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +25 -24
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +70 -67
- 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 +29 -28
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +51 -50
- package/dist/types/excalidraw/{element/embeddable.d.ts → actions/actionEmbeddable.d.ts} +25 -34
- package/dist/types/excalidraw/actions/actionExport.d.ts +288 -279
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +39 -37
- package/dist/types/excalidraw/actions/actionFlip.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionFrame.d.ts +208 -204
- package/dist/types/excalidraw/actions/actionGroup.d.ts +49 -47
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +26 -25
- package/dist/types/excalidraw/actions/actionLink.d.ts +26 -25
- package/dist/types/excalidraw/actions/actionMenu.d.ts +72 -69
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +47 -45
- package/dist/types/excalidraw/actions/actionProperties.d.ts +300 -285
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +25 -24
- package/dist/types/excalidraw/actions/actionStyles.d.ts +27 -26
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +25 -24
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +25 -24
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +48 -46
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +24 -24
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +25 -25
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +25 -25
- 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 +2 -2
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +4 -4
- package/dist/types/excalidraw/animated-trail.d.ts +7 -1
- package/dist/types/excalidraw/appState.d.ts +30 -29
- 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 +7 -7
- package/dist/types/excalidraw/components/Actions.d.ts +3 -3
- package/dist/types/excalidraw/components/App.d.ts +34 -18
- package/dist/types/excalidraw/components/Avatar.d.ts +1 -1
- package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +4 -4
- 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/CommandPalette/CommandPalette.d.ts +1 -1
- package/dist/types/excalidraw/components/ConfirmDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/ContextMenu.d.ts +2 -2
- package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
- package/dist/types/excalidraw/components/DefaultSidebar.d.ts +2 -2
- package/dist/types/excalidraw/components/DialogActionButton.d.ts +1 -1
- package/dist/types/excalidraw/{element → components}/ElementCanvasButtons.d.ts +1 -1
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +5 -4
- package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
- package/dist/types/excalidraw/components/FixedSideContainer.d.ts +1 -1
- package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +3 -3
- 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/HintViewer.d.ts +1 -1
- package/dist/types/excalidraw/components/IconPicker.d.ts +1 -1
- package/dist/types/excalidraw/components/ImageExportDialog.d.ts +2 -2
- package/dist/types/excalidraw/components/InitializeApp.d.ts +1 -1
- package/dist/types/excalidraw/components/Island.d.ts +1 -1
- package/dist/types/excalidraw/components/JSONExportDialog.d.ts +2 -2
- package/dist/types/excalidraw/components/LayerUI.d.ts +3 -3
- package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryMenuItems.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +3 -3
- package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -2
- package/dist/types/excalidraw/components/LoadingMessage.d.ts +1 -1
- package/dist/types/excalidraw/components/MagicButton.d.ts +1 -1
- package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -3
- package/dist/types/excalidraw/components/PasteChartDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -1
- package/dist/types/excalidraw/components/PublishLibrary.d.ts +1 -1
- package/dist/types/excalidraw/components/SVGLayer.d.ts +1 -1
- package/dist/types/excalidraw/components/Sidebar/SidebarTrigger.d.ts +1 -1
- package/dist/types/excalidraw/components/Sidebar/common.d.ts +1 -1
- package/dist/types/excalidraw/components/Stack.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Angle.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Dimension.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +3 -3
- package/dist/types/excalidraw/components/Stats/FontSize.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +3 -3
- package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/Position.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/index.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -4
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
- package/dist/types/excalidraw/components/TextField.d.ts +1 -1
- package/dist/types/excalidraw/components/Toast.d.ts +1 -1
- package/dist/types/excalidraw/components/ToolButton.d.ts +2 -2
- package/dist/types/excalidraw/components/Tooltip.d.ts +1 -1
- package/dist/types/excalidraw/components/UserList.d.ts +1 -1
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +4 -3
- package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +2 -2
- package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +3 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +2 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +5 -4
- 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/context/tunnels.d.ts +1 -1
- package/dist/types/excalidraw/data/EditorLocalStorage.d.ts +1 -1
- package/dist/types/excalidraw/data/blob.d.ts +4 -4
- package/dist/types/excalidraw/data/filesystem.d.ts +2 -2
- package/dist/types/excalidraw/data/index.d.ts +2 -2
- package/dist/types/excalidraw/data/json.d.ts +1 -1
- package/dist/types/excalidraw/data/library.d.ts +3 -3
- 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 +3 -3
- package/dist/types/excalidraw/eraser/index.d.ts +14 -0
- package/dist/types/excalidraw/errors.d.ts +0 -3
- package/dist/types/excalidraw/fonts/Fonts.d.ts +3 -13
- package/dist/types/excalidraw/history.d.ts +2 -2
- package/dist/types/excalidraw/i18n.d.ts +1 -1
- package/dist/types/excalidraw/index.d.ts +15 -14
- package/dist/types/excalidraw/laser-trails.d.ts +1 -1
- package/dist/types/excalidraw/lasso/index.d.ts +15 -0
- package/dist/types/excalidraw/lasso/utils.d.ts +12 -0
- package/dist/types/excalidraw/renderer/helpers.d.ts +2 -2
- package/dist/types/excalidraw/renderer/staticSvgScene.d.ts +2 -2
- package/dist/types/excalidraw/scene/Renderer.d.ts +3 -3
- 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 +2 -3
- package/dist/types/excalidraw/scene/types.d.ts +6 -4
- package/dist/types/excalidraw/snapping.d.ts +5 -6
- package/dist/types/excalidraw/store.d.ts +2 -2
- package/dist/types/excalidraw/types.d.ts +20 -15
- package/dist/types/excalidraw/visualdebug.d.ts +2 -2
- 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/math/{types.d.ts → src/types.d.ts} +1 -0
- package/dist/types/utils/{bbox.d.ts → src/bbox.d.ts} +1 -1
- package/dist/types/utils/{collision.d.ts → src/collision.d.ts} +2 -3
- 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 +2 -15
- package/dist/types/utils/{withinBounds.d.ts → src/withinBounds.d.ts} +2 -2
- package/history.ts +4 -2
- package/package.json +14 -2
- package/dist/dev/chunk-3SN6HYVK.js.map +0 -7
- package/dist/dev/chunk-LMHBUWQS.js.map +0 -7
- package/dist/dev/chunk-OKSO7T74.js +0 -4132
- package/dist/dev/chunk-OKSO7T74.js.map +0 -7
- package/dist/prod/chunk-36CXSE6H.js +0 -34
- package/dist/prod/chunk-EIO257PC.js +0 -86
- package/dist/prod/data/image-N4WCURRR.js +0 -1
- package/dist/types/excalidraw/align.d.ts +0 -7
- package/dist/types/excalidraw/shapes.d.ts +0 -85
- package/dist/types/excalidraw/zindex.d.ts +0 -6
- package/dist/dev/data/{image-V26YBSDB.js.map → image-Y366K5SN.js.map} +0 -0
- package/dist/dev/locales/{en-OZCJJ2HN.js.map → en-CKWC2GMK.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}/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 +1 -1
- /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/{utils.d.ts → src/utils.d.ts} +0 -0
- /package/dist/types/math/{vector.d.ts → src/vector.d.ts} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { Theme } from "
|
|
2
|
+
import type { Theme } from "@excalidraw/element/types";
|
|
3
3
|
import "../components/ToolIcon.scss";
|
|
4
4
|
export declare const actionChangeProjectName: {
|
|
5
5
|
name: "changeProjectName";
|
|
6
6
|
label: string;
|
|
7
7
|
trackEvent: false;
|
|
8
|
-
perform: (_elements: readonly import("
|
|
8
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
|
|
9
9
|
appState: {
|
|
10
10
|
name: any;
|
|
11
11
|
contextMenu: {
|
|
@@ -17,17 +17,17 @@ export declare const actionChangeProjectName: {
|
|
|
17
17
|
isLoading: boolean;
|
|
18
18
|
errorMessage: import("react").ReactNode;
|
|
19
19
|
activeEmbeddable: {
|
|
20
|
-
element: import("
|
|
20
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
21
21
|
state: "hover" | "active";
|
|
22
22
|
} | null;
|
|
23
|
-
newElement: import("
|
|
24
|
-
resizingElement: import("
|
|
25
|
-
multiElement: import("
|
|
26
|
-
selectionElement: import("
|
|
23
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
24
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
25
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
26
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
27
27
|
isBindingEnabled: boolean;
|
|
28
|
-
startBoundElement: import("
|
|
29
|
-
suggestedBindings: import("
|
|
30
|
-
frameToHighlight: import("
|
|
28
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
29
|
+
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
30
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
31
31
|
frameRendering: {
|
|
32
32
|
enabled: boolean;
|
|
33
33
|
name: boolean;
|
|
@@ -35,12 +35,13 @@ export declare const actionChangeProjectName: {
|
|
|
35
35
|
clip: boolean;
|
|
36
36
|
};
|
|
37
37
|
editingFrame: string | null;
|
|
38
|
-
elementsToHighlight: import("
|
|
39
|
-
editingTextElement: import("
|
|
40
|
-
editingLinearElement: import("
|
|
38
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
39
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
40
|
+
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
41
41
|
activeTool: {
|
|
42
42
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
43
43
|
locked: boolean;
|
|
44
|
+
fromSelection: boolean;
|
|
44
45
|
} & import("../types").ActiveTool;
|
|
45
46
|
penMode: boolean;
|
|
46
47
|
penDetected: boolean;
|
|
@@ -50,18 +51,18 @@ export declare const actionChangeProjectName: {
|
|
|
50
51
|
exportScale: number;
|
|
51
52
|
currentItemStrokeColor: string;
|
|
52
53
|
currentItemBackgroundColor: string;
|
|
53
|
-
currentItemFillStyle: import("
|
|
54
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
54
55
|
currentItemStrokeWidth: number;
|
|
55
|
-
currentItemStrokeStyle: import("
|
|
56
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
56
57
|
currentItemRoughness: number;
|
|
57
58
|
currentItemOpacity: number;
|
|
58
59
|
currentItemFontFamily: number;
|
|
59
60
|
currentItemFontSize: number;
|
|
60
61
|
currentItemTextAlign: string;
|
|
61
|
-
currentItemStartArrowhead: import("
|
|
62
|
-
currentItemEndArrowhead: import("
|
|
62
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
63
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
63
64
|
currentHoveredFontFamily: number | null;
|
|
64
|
-
currentItemRoundness: import("
|
|
65
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
65
66
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
66
67
|
viewBackgroundColor: string;
|
|
67
68
|
scrollX: number;
|
|
@@ -91,7 +92,7 @@ export declare const actionChangeProjectName: {
|
|
|
91
92
|
sourceElementId: string;
|
|
92
93
|
} | null;
|
|
93
94
|
defaultSidebarDockedPreference: boolean;
|
|
94
|
-
lastPointerDownWith: import("
|
|
95
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
95
96
|
selectedElementIds: Readonly<{
|
|
96
97
|
[id: string]: true;
|
|
97
98
|
}>;
|
|
@@ -130,7 +131,7 @@ export declare const actionChangeProjectName: {
|
|
|
130
131
|
[id: string]: true;
|
|
131
132
|
}> | undefined;
|
|
132
133
|
username?: string | null | undefined;
|
|
133
|
-
userState?: import("
|
|
134
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
134
135
|
color?: {
|
|
135
136
|
background: string;
|
|
136
137
|
stroke: string;
|
|
@@ -147,7 +148,7 @@ export declare const actionChangeProjectName: {
|
|
|
147
148
|
open: boolean;
|
|
148
149
|
panels: number;
|
|
149
150
|
};
|
|
150
|
-
currentChartType: import("
|
|
151
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
151
152
|
pasteDialog: {
|
|
152
153
|
shown: false;
|
|
153
154
|
data: null;
|
|
@@ -156,8 +157,8 @@ export declare const actionChangeProjectName: {
|
|
|
156
157
|
data: import("../charts").Spreadsheet;
|
|
157
158
|
};
|
|
158
159
|
pendingImageElementId: string | null;
|
|
159
|
-
showHyperlinkPopup: false | "
|
|
160
|
-
selectedLinearElement: import("
|
|
160
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
161
|
+
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
161
162
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
162
163
|
originSnapOffset: {
|
|
163
164
|
x: number;
|
|
@@ -192,7 +193,7 @@ export declare const actionChangeExportScale: {
|
|
|
192
193
|
category: "export";
|
|
193
194
|
action: string;
|
|
194
195
|
};
|
|
195
|
-
perform: (_elements: readonly import("
|
|
196
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
|
|
196
197
|
appState: {
|
|
197
198
|
exportScale: any;
|
|
198
199
|
contextMenu: {
|
|
@@ -204,17 +205,17 @@ export declare const actionChangeExportScale: {
|
|
|
204
205
|
isLoading: boolean;
|
|
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 actionChangeExportScale: {
|
|
|
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;
|
|
@@ -236,18 +238,18 @@ export declare const actionChangeExportScale: {
|
|
|
236
238
|
exportWithDarkMode: boolean;
|
|
237
239
|
currentItemStrokeColor: string;
|
|
238
240
|
currentItemBackgroundColor: string;
|
|
239
|
-
currentItemFillStyle: import("
|
|
241
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
240
242
|
currentItemStrokeWidth: number;
|
|
241
|
-
currentItemStrokeStyle: import("
|
|
243
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
242
244
|
currentItemRoughness: number;
|
|
243
245
|
currentItemOpacity: number;
|
|
244
246
|
currentItemFontFamily: number;
|
|
245
247
|
currentItemFontSize: number;
|
|
246
248
|
currentItemTextAlign: string;
|
|
247
|
-
currentItemStartArrowhead: import("
|
|
248
|
-
currentItemEndArrowhead: import("
|
|
249
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
250
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
249
251
|
currentHoveredFontFamily: number | null;
|
|
250
|
-
currentItemRoundness: import("
|
|
252
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
251
253
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
252
254
|
viewBackgroundColor: string;
|
|
253
255
|
scrollX: number;
|
|
@@ -278,7 +280,7 @@ export declare const actionChangeExportScale: {
|
|
|
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
|
}>;
|
|
@@ -317,7 +319,7 @@ export declare const actionChangeExportScale: {
|
|
|
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 actionChangeExportScale: {
|
|
|
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 actionChangeExportScale: {
|
|
|
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;
|
|
@@ -379,7 +381,7 @@ export declare const actionChangeExportBackground: {
|
|
|
379
381
|
category: "export";
|
|
380
382
|
action: string;
|
|
381
383
|
};
|
|
382
|
-
perform: (_elements: readonly import("
|
|
384
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
|
|
383
385
|
appState: {
|
|
384
386
|
exportBackground: any;
|
|
385
387
|
contextMenu: {
|
|
@@ -391,17 +393,17 @@ export declare const actionChangeExportBackground: {
|
|
|
391
393
|
isLoading: boolean;
|
|
392
394
|
errorMessage: import("react").ReactNode;
|
|
393
395
|
activeEmbeddable: {
|
|
394
|
-
element: import("
|
|
396
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
395
397
|
state: "hover" | "active";
|
|
396
398
|
} | null;
|
|
397
|
-
newElement: import("
|
|
398
|
-
resizingElement: import("
|
|
399
|
-
multiElement: import("
|
|
400
|
-
selectionElement: import("
|
|
399
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
400
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
401
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
402
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
401
403
|
isBindingEnabled: boolean;
|
|
402
|
-
startBoundElement: import("
|
|
403
|
-
suggestedBindings: import("
|
|
404
|
-
frameToHighlight: import("
|
|
404
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
405
|
+
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
406
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
405
407
|
frameRendering: {
|
|
406
408
|
enabled: boolean;
|
|
407
409
|
name: boolean;
|
|
@@ -409,12 +411,13 @@ export declare const actionChangeExportBackground: {
|
|
|
409
411
|
clip: boolean;
|
|
410
412
|
};
|
|
411
413
|
editingFrame: string | null;
|
|
412
|
-
elementsToHighlight: import("
|
|
413
|
-
editingTextElement: import("
|
|
414
|
-
editingLinearElement: import("
|
|
414
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
415
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
416
|
+
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
415
417
|
activeTool: {
|
|
416
418
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
417
419
|
locked: boolean;
|
|
420
|
+
fromSelection: boolean;
|
|
418
421
|
} & import("../types").ActiveTool;
|
|
419
422
|
penMode: boolean;
|
|
420
423
|
penDetected: boolean;
|
|
@@ -423,18 +426,18 @@ export declare const actionChangeExportBackground: {
|
|
|
423
426
|
exportScale: number;
|
|
424
427
|
currentItemStrokeColor: string;
|
|
425
428
|
currentItemBackgroundColor: string;
|
|
426
|
-
currentItemFillStyle: import("
|
|
429
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
427
430
|
currentItemStrokeWidth: number;
|
|
428
|
-
currentItemStrokeStyle: import("
|
|
431
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
429
432
|
currentItemRoughness: number;
|
|
430
433
|
currentItemOpacity: number;
|
|
431
434
|
currentItemFontFamily: number;
|
|
432
435
|
currentItemFontSize: number;
|
|
433
436
|
currentItemTextAlign: string;
|
|
434
|
-
currentItemStartArrowhead: import("
|
|
435
|
-
currentItemEndArrowhead: import("
|
|
437
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
438
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
436
439
|
currentHoveredFontFamily: number | null;
|
|
437
|
-
currentItemRoundness: import("
|
|
440
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
438
441
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
439
442
|
viewBackgroundColor: string;
|
|
440
443
|
scrollX: number;
|
|
@@ -465,7 +468,7 @@ export declare const actionChangeExportBackground: {
|
|
|
465
468
|
sourceElementId: string;
|
|
466
469
|
} | null;
|
|
467
470
|
defaultSidebarDockedPreference: boolean;
|
|
468
|
-
lastPointerDownWith: import("
|
|
471
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
469
472
|
selectedElementIds: Readonly<{
|
|
470
473
|
[id: string]: true;
|
|
471
474
|
}>;
|
|
@@ -504,7 +507,7 @@ export declare const actionChangeExportBackground: {
|
|
|
504
507
|
[id: string]: true;
|
|
505
508
|
}> | undefined;
|
|
506
509
|
username?: string | null | undefined;
|
|
507
|
-
userState?: import("
|
|
510
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
508
511
|
color?: {
|
|
509
512
|
background: string;
|
|
510
513
|
stroke: string;
|
|
@@ -521,7 +524,7 @@ export declare const actionChangeExportBackground: {
|
|
|
521
524
|
open: boolean;
|
|
522
525
|
panels: number;
|
|
523
526
|
};
|
|
524
|
-
currentChartType: import("
|
|
527
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
525
528
|
pasteDialog: {
|
|
526
529
|
shown: false;
|
|
527
530
|
data: null;
|
|
@@ -530,8 +533,8 @@ export declare const actionChangeExportBackground: {
|
|
|
530
533
|
data: import("../charts").Spreadsheet;
|
|
531
534
|
};
|
|
532
535
|
pendingImageElementId: string | null;
|
|
533
|
-
showHyperlinkPopup: false | "
|
|
534
|
-
selectedLinearElement: import("
|
|
536
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
537
|
+
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
535
538
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
536
539
|
originSnapOffset: {
|
|
537
540
|
x: number;
|
|
@@ -566,7 +569,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
566
569
|
category: "export";
|
|
567
570
|
action: string;
|
|
568
571
|
};
|
|
569
|
-
perform: (_elements: readonly import("
|
|
572
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
|
|
570
573
|
appState: {
|
|
571
574
|
exportEmbedScene: any;
|
|
572
575
|
contextMenu: {
|
|
@@ -578,17 +581,17 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
578
581
|
isLoading: boolean;
|
|
579
582
|
errorMessage: import("react").ReactNode;
|
|
580
583
|
activeEmbeddable: {
|
|
581
|
-
element: import("
|
|
584
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
582
585
|
state: "hover" | "active";
|
|
583
586
|
} | null;
|
|
584
|
-
newElement: import("
|
|
585
|
-
resizingElement: import("
|
|
586
|
-
multiElement: import("
|
|
587
|
-
selectionElement: import("
|
|
587
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
588
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
589
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
590
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
588
591
|
isBindingEnabled: boolean;
|
|
589
|
-
startBoundElement: import("
|
|
590
|
-
suggestedBindings: import("
|
|
591
|
-
frameToHighlight: import("
|
|
592
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
593
|
+
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
594
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
592
595
|
frameRendering: {
|
|
593
596
|
enabled: boolean;
|
|
594
597
|
name: boolean;
|
|
@@ -596,12 +599,13 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
596
599
|
clip: boolean;
|
|
597
600
|
};
|
|
598
601
|
editingFrame: string | null;
|
|
599
|
-
elementsToHighlight: import("
|
|
600
|
-
editingTextElement: import("
|
|
601
|
-
editingLinearElement: import("
|
|
602
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
603
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
604
|
+
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
602
605
|
activeTool: {
|
|
603
606
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
604
607
|
locked: boolean;
|
|
608
|
+
fromSelection: boolean;
|
|
605
609
|
} & import("../types").ActiveTool;
|
|
606
610
|
penMode: boolean;
|
|
607
611
|
penDetected: boolean;
|
|
@@ -610,18 +614,18 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
610
614
|
exportScale: number;
|
|
611
615
|
currentItemStrokeColor: string;
|
|
612
616
|
currentItemBackgroundColor: string;
|
|
613
|
-
currentItemFillStyle: import("
|
|
617
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
614
618
|
currentItemStrokeWidth: number;
|
|
615
|
-
currentItemStrokeStyle: import("
|
|
619
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
616
620
|
currentItemRoughness: number;
|
|
617
621
|
currentItemOpacity: number;
|
|
618
622
|
currentItemFontFamily: number;
|
|
619
623
|
currentItemFontSize: number;
|
|
620
624
|
currentItemTextAlign: string;
|
|
621
|
-
currentItemStartArrowhead: import("
|
|
622
|
-
currentItemEndArrowhead: import("
|
|
625
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
626
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
623
627
|
currentHoveredFontFamily: number | null;
|
|
624
|
-
currentItemRoundness: import("
|
|
628
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
625
629
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
626
630
|
viewBackgroundColor: string;
|
|
627
631
|
scrollX: number;
|
|
@@ -652,7 +656,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
652
656
|
sourceElementId: string;
|
|
653
657
|
} | null;
|
|
654
658
|
defaultSidebarDockedPreference: boolean;
|
|
655
|
-
lastPointerDownWith: import("
|
|
659
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
656
660
|
selectedElementIds: Readonly<{
|
|
657
661
|
[id: string]: true;
|
|
658
662
|
}>;
|
|
@@ -691,7 +695,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
691
695
|
[id: string]: true;
|
|
692
696
|
}> | undefined;
|
|
693
697
|
username?: string | null | undefined;
|
|
694
|
-
userState?: import("
|
|
698
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
695
699
|
color?: {
|
|
696
700
|
background: string;
|
|
697
701
|
stroke: string;
|
|
@@ -708,7 +712,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
708
712
|
open: boolean;
|
|
709
713
|
panels: number;
|
|
710
714
|
};
|
|
711
|
-
currentChartType: import("
|
|
715
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
712
716
|
pasteDialog: {
|
|
713
717
|
shown: false;
|
|
714
718
|
data: null;
|
|
@@ -717,8 +721,8 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
717
721
|
data: import("../charts").Spreadsheet;
|
|
718
722
|
};
|
|
719
723
|
pendingImageElementId: string | null;
|
|
720
|
-
showHyperlinkPopup: false | "
|
|
721
|
-
selectedLinearElement: import("
|
|
724
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
725
|
+
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
722
726
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
723
727
|
originSnapOffset: {
|
|
724
728
|
x: number;
|
|
@@ -753,8 +757,8 @@ export declare const actionSaveToActiveFile: {
|
|
|
753
757
|
trackEvent: {
|
|
754
758
|
category: "export";
|
|
755
759
|
};
|
|
756
|
-
predicate: (elements: readonly import("
|
|
757
|
-
perform: (elements: readonly import("
|
|
760
|
+
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
761
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any, app: import("../types").AppClassProperties) => Promise<{
|
|
758
762
|
captureUpdate: "EVENTUALLY";
|
|
759
763
|
appState: {
|
|
760
764
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
@@ -770,17 +774,17 @@ export declare const actionSaveToActiveFile: {
|
|
|
770
774
|
isLoading: boolean;
|
|
771
775
|
errorMessage: import("react").ReactNode;
|
|
772
776
|
activeEmbeddable: {
|
|
773
|
-
element: import("
|
|
777
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
774
778
|
state: "hover" | "active";
|
|
775
779
|
} | null;
|
|
776
|
-
newElement: import("
|
|
777
|
-
resizingElement: import("
|
|
778
|
-
multiElement: import("
|
|
779
|
-
selectionElement: import("
|
|
780
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
781
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
782
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
783
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
780
784
|
isBindingEnabled: boolean;
|
|
781
|
-
startBoundElement: import("
|
|
782
|
-
suggestedBindings: import("
|
|
783
|
-
frameToHighlight: import("
|
|
785
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
786
|
+
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
787
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
784
788
|
frameRendering: {
|
|
785
789
|
enabled: boolean;
|
|
786
790
|
name: boolean;
|
|
@@ -788,12 +792,13 @@ export declare const actionSaveToActiveFile: {
|
|
|
788
792
|
clip: boolean;
|
|
789
793
|
};
|
|
790
794
|
editingFrame: string | null;
|
|
791
|
-
elementsToHighlight: import("
|
|
792
|
-
editingTextElement: import("
|
|
793
|
-
editingLinearElement: import("
|
|
795
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
796
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
797
|
+
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
794
798
|
activeTool: {
|
|
795
799
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
796
800
|
locked: boolean;
|
|
801
|
+
fromSelection: boolean;
|
|
797
802
|
} & import("../types").ActiveTool;
|
|
798
803
|
penMode: boolean;
|
|
799
804
|
penDetected: boolean;
|
|
@@ -803,18 +808,18 @@ export declare const actionSaveToActiveFile: {
|
|
|
803
808
|
exportScale: number;
|
|
804
809
|
currentItemStrokeColor: string;
|
|
805
810
|
currentItemBackgroundColor: string;
|
|
806
|
-
currentItemFillStyle: import("
|
|
811
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
807
812
|
currentItemStrokeWidth: number;
|
|
808
|
-
currentItemStrokeStyle: import("
|
|
813
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
809
814
|
currentItemRoughness: number;
|
|
810
815
|
currentItemOpacity: number;
|
|
811
816
|
currentItemFontFamily: number;
|
|
812
817
|
currentItemFontSize: number;
|
|
813
818
|
currentItemTextAlign: string;
|
|
814
|
-
currentItemStartArrowhead: import("
|
|
815
|
-
currentItemEndArrowhead: import("
|
|
819
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
820
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
816
821
|
currentHoveredFontFamily: number | null;
|
|
817
|
-
currentItemRoundness: import("
|
|
822
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
818
823
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
819
824
|
viewBackgroundColor: string;
|
|
820
825
|
scrollX: number;
|
|
@@ -845,7 +850,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
845
850
|
sourceElementId: string;
|
|
846
851
|
} | null;
|
|
847
852
|
defaultSidebarDockedPreference: boolean;
|
|
848
|
-
lastPointerDownWith: import("
|
|
853
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
849
854
|
selectedElementIds: Readonly<{
|
|
850
855
|
[id: string]: true;
|
|
851
856
|
}>;
|
|
@@ -878,7 +883,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
878
883
|
[id: string]: true;
|
|
879
884
|
}> | undefined;
|
|
880
885
|
username?: string | null | undefined;
|
|
881
|
-
userState?: import("
|
|
886
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
882
887
|
color?: {
|
|
883
888
|
background: string;
|
|
884
889
|
stroke: string;
|
|
@@ -895,7 +900,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
895
900
|
open: boolean;
|
|
896
901
|
panels: number;
|
|
897
902
|
};
|
|
898
|
-
currentChartType: import("
|
|
903
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
899
904
|
pasteDialog: {
|
|
900
905
|
shown: false;
|
|
901
906
|
data: null;
|
|
@@ -904,8 +909,8 @@ export declare const actionSaveToActiveFile: {
|
|
|
904
909
|
data: import("../charts").Spreadsheet;
|
|
905
910
|
};
|
|
906
911
|
pendingImageElementId: string | null;
|
|
907
|
-
showHyperlinkPopup: false | "
|
|
908
|
-
selectedLinearElement: import("
|
|
912
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
913
|
+
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
909
914
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
910
915
|
originSnapOffset: {
|
|
911
916
|
x: number;
|
|
@@ -943,7 +948,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
943
948
|
trackEvent: {
|
|
944
949
|
category: "export";
|
|
945
950
|
};
|
|
946
|
-
perform: (elements: readonly import("
|
|
951
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any, app: import("../types").AppClassProperties) => Promise<{
|
|
947
952
|
captureUpdate: "EVENTUALLY";
|
|
948
953
|
appState: {
|
|
949
954
|
openDialog: null;
|
|
@@ -960,17 +965,17 @@ export declare const actionSaveFileToDisk: {
|
|
|
960
965
|
isLoading: boolean;
|
|
961
966
|
errorMessage: import("react").ReactNode;
|
|
962
967
|
activeEmbeddable: {
|
|
963
|
-
element: import("
|
|
968
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
964
969
|
state: "hover" | "active";
|
|
965
970
|
} | null;
|
|
966
|
-
newElement: import("
|
|
967
|
-
resizingElement: import("
|
|
968
|
-
multiElement: import("
|
|
969
|
-
selectionElement: import("
|
|
971
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
972
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
973
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
974
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
970
975
|
isBindingEnabled: boolean;
|
|
971
|
-
startBoundElement: import("
|
|
972
|
-
suggestedBindings: import("
|
|
973
|
-
frameToHighlight: import("
|
|
976
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
977
|
+
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
978
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
974
979
|
frameRendering: {
|
|
975
980
|
enabled: boolean;
|
|
976
981
|
name: boolean;
|
|
@@ -978,12 +983,13 @@ export declare const actionSaveFileToDisk: {
|
|
|
978
983
|
clip: boolean;
|
|
979
984
|
};
|
|
980
985
|
editingFrame: string | null;
|
|
981
|
-
elementsToHighlight: import("
|
|
982
|
-
editingTextElement: import("
|
|
983
|
-
editingLinearElement: import("
|
|
986
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
987
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
988
|
+
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
984
989
|
activeTool: {
|
|
985
990
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
986
991
|
locked: boolean;
|
|
992
|
+
fromSelection: boolean;
|
|
987
993
|
} & import("../types").ActiveTool;
|
|
988
994
|
penMode: boolean;
|
|
989
995
|
penDetected: boolean;
|
|
@@ -993,18 +999,18 @@ export declare const actionSaveFileToDisk: {
|
|
|
993
999
|
exportScale: number;
|
|
994
1000
|
currentItemStrokeColor: string;
|
|
995
1001
|
currentItemBackgroundColor: string;
|
|
996
|
-
currentItemFillStyle: import("
|
|
1002
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
997
1003
|
currentItemStrokeWidth: number;
|
|
998
|
-
currentItemStrokeStyle: import("
|
|
1004
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
999
1005
|
currentItemRoughness: number;
|
|
1000
1006
|
currentItemOpacity: number;
|
|
1001
1007
|
currentItemFontFamily: number;
|
|
1002
1008
|
currentItemFontSize: number;
|
|
1003
1009
|
currentItemTextAlign: string;
|
|
1004
|
-
currentItemStartArrowhead: import("
|
|
1005
|
-
currentItemEndArrowhead: import("
|
|
1010
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1011
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1006
1012
|
currentHoveredFontFamily: number | null;
|
|
1007
|
-
currentItemRoundness: import("
|
|
1013
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1008
1014
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1009
1015
|
viewBackgroundColor: string;
|
|
1010
1016
|
scrollX: number;
|
|
@@ -1024,7 +1030,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
1024
1030
|
tab?: string | undefined;
|
|
1025
1031
|
} | null;
|
|
1026
1032
|
defaultSidebarDockedPreference: boolean;
|
|
1027
|
-
lastPointerDownWith: import("
|
|
1033
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1028
1034
|
selectedElementIds: Readonly<{
|
|
1029
1035
|
[id: string]: true;
|
|
1030
1036
|
}>;
|
|
@@ -1057,7 +1063,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
1057
1063
|
[id: string]: true;
|
|
1058
1064
|
}> | undefined;
|
|
1059
1065
|
username?: string | null | undefined;
|
|
1060
|
-
userState?: import("
|
|
1066
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1061
1067
|
color?: {
|
|
1062
1068
|
background: string;
|
|
1063
1069
|
stroke: string;
|
|
@@ -1074,7 +1080,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
1074
1080
|
open: boolean;
|
|
1075
1081
|
panels: number;
|
|
1076
1082
|
};
|
|
1077
|
-
currentChartType: import("
|
|
1083
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1078
1084
|
pasteDialog: {
|
|
1079
1085
|
shown: false;
|
|
1080
1086
|
data: null;
|
|
@@ -1083,8 +1089,8 @@ export declare const actionSaveFileToDisk: {
|
|
|
1083
1089
|
data: import("../charts").Spreadsheet;
|
|
1084
1090
|
};
|
|
1085
1091
|
pendingImageElementId: string | null;
|
|
1086
|
-
showHyperlinkPopup: false | "
|
|
1087
|
-
selectedLinearElement: import("
|
|
1092
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1093
|
+
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1088
1094
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1089
1095
|
originSnapOffset: {
|
|
1090
1096
|
x: number;
|
|
@@ -1121,17 +1127,97 @@ export declare const actionLoadScene: {
|
|
|
1121
1127
|
trackEvent: {
|
|
1122
1128
|
category: "export";
|
|
1123
1129
|
};
|
|
1124
|
-
predicate: (elements: readonly import("
|
|
1125
|
-
perform: (elements: readonly import("
|
|
1126
|
-
elements: import("
|
|
1130
|
+
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
1131
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
|
|
1132
|
+
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
1127
1133
|
appState: {
|
|
1134
|
+
name: string | null;
|
|
1135
|
+
activeTool: {
|
|
1136
|
+
lastActiveTool: import("../types").ActiveTool | null;
|
|
1137
|
+
locked: boolean;
|
|
1138
|
+
fromSelection: boolean;
|
|
1139
|
+
} & import("../types").ActiveTool;
|
|
1140
|
+
zoom: Readonly<{
|
|
1141
|
+
value: import("../types").NormalizedZoomValue;
|
|
1142
|
+
}>;
|
|
1143
|
+
scrollX: number;
|
|
1144
|
+
scrollY: number;
|
|
1145
|
+
viewBackgroundColor: string;
|
|
1146
|
+
frameRendering: {
|
|
1147
|
+
enabled: boolean;
|
|
1148
|
+
name: boolean;
|
|
1149
|
+
outline: boolean;
|
|
1150
|
+
clip: boolean;
|
|
1151
|
+
};
|
|
1128
1152
|
viewModeEnabled: boolean;
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1153
|
+
openDialog: {
|
|
1154
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1155
|
+
} | {
|
|
1156
|
+
name: "ttd";
|
|
1157
|
+
tab: "text-to-diagram" | "mermaid";
|
|
1158
|
+
} | {
|
|
1159
|
+
name: "commandPalette";
|
|
1160
|
+
} | {
|
|
1161
|
+
name: "elementLinkSelector";
|
|
1162
|
+
sourceElementId: string;
|
|
1163
|
+
} | null;
|
|
1164
|
+
editingGroupId: string | null;
|
|
1165
|
+
selectedElementIds: Readonly<{
|
|
1166
|
+
[id: string]: true;
|
|
1167
|
+
}>;
|
|
1168
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1132
1169
|
theme: Theme;
|
|
1133
|
-
|
|
1134
|
-
|
|
1170
|
+
pendingImageElementId: string | null;
|
|
1171
|
+
activeEmbeddable: {
|
|
1172
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1173
|
+
state: "hover" | "active";
|
|
1174
|
+
} | null;
|
|
1175
|
+
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1176
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1177
|
+
selectedGroupIds: {
|
|
1178
|
+
[groupId: string]: boolean;
|
|
1179
|
+
};
|
|
1180
|
+
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1181
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1182
|
+
isBindingEnabled: boolean;
|
|
1183
|
+
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
1184
|
+
isRotating: boolean;
|
|
1185
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1186
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
1187
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
1188
|
+
button?: "up" | "down" | undefined;
|
|
1189
|
+
selectedElementIds?: Readonly<{
|
|
1190
|
+
[id: string]: true;
|
|
1191
|
+
}> | undefined;
|
|
1192
|
+
username?: string | null | undefined;
|
|
1193
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1194
|
+
color?: {
|
|
1195
|
+
background: string;
|
|
1196
|
+
stroke: string;
|
|
1197
|
+
} | undefined;
|
|
1198
|
+
avatarUrl?: string | undefined;
|
|
1199
|
+
id?: string | undefined;
|
|
1200
|
+
socketId?: import("../types").SocketId | undefined;
|
|
1201
|
+
isCurrentUser?: boolean | undefined;
|
|
1202
|
+
isInCall?: boolean | undefined;
|
|
1203
|
+
isSpeaking?: boolean | undefined;
|
|
1204
|
+
isMuted?: boolean | undefined;
|
|
1205
|
+
}>>;
|
|
1206
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
1207
|
+
zenModeEnabled: boolean;
|
|
1208
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1209
|
+
isCropping: boolean;
|
|
1210
|
+
croppingElementId: string | null;
|
|
1211
|
+
searchMatches: readonly {
|
|
1212
|
+
id: string;
|
|
1213
|
+
focus: boolean;
|
|
1214
|
+
matchedLines: {
|
|
1215
|
+
offsetX: number;
|
|
1216
|
+
offsetY: number;
|
|
1217
|
+
width: number;
|
|
1218
|
+
height: number;
|
|
1219
|
+
}[];
|
|
1220
|
+
}[];
|
|
1135
1221
|
contextMenu: {
|
|
1136
1222
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1137
1223
|
top: number;
|
|
@@ -1140,32 +1226,10 @@ export declare const actionLoadScene: {
|
|
|
1140
1226
|
showWelcomeScreen: boolean;
|
|
1141
1227
|
isLoading: boolean;
|
|
1142
1228
|
errorMessage: import("react").ReactNode;
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
} | null;
|
|
1147
|
-
newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
|
|
1148
|
-
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1149
|
-
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
1150
|
-
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1151
|
-
isBindingEnabled: boolean;
|
|
1152
|
-
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1153
|
-
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1154
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1155
|
-
frameRendering: {
|
|
1156
|
-
enabled: boolean;
|
|
1157
|
-
name: boolean;
|
|
1158
|
-
outline: boolean;
|
|
1159
|
-
clip: boolean;
|
|
1160
|
-
};
|
|
1229
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1230
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1231
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1161
1232
|
editingFrame: string | null;
|
|
1162
|
-
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
1163
|
-
editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1164
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1165
|
-
activeTool: {
|
|
1166
|
-
lastActiveTool: import("../types").ActiveTool | null;
|
|
1167
|
-
locked: boolean;
|
|
1168
|
-
} & import("../types").ActiveTool;
|
|
1169
1233
|
penMode: boolean;
|
|
1170
1234
|
penDetected: boolean;
|
|
1171
1235
|
exportBackground: boolean;
|
|
@@ -1174,50 +1238,30 @@ export declare const actionLoadScene: {
|
|
|
1174
1238
|
exportScale: number;
|
|
1175
1239
|
currentItemStrokeColor: string;
|
|
1176
1240
|
currentItemBackgroundColor: string;
|
|
1177
|
-
currentItemFillStyle: import("
|
|
1241
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1178
1242
|
currentItemStrokeWidth: number;
|
|
1179
|
-
currentItemStrokeStyle: import("
|
|
1243
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1180
1244
|
currentItemRoughness: number;
|
|
1181
1245
|
currentItemOpacity: number;
|
|
1182
1246
|
currentItemFontFamily: number;
|
|
1183
1247
|
currentItemFontSize: number;
|
|
1184
1248
|
currentItemTextAlign: string;
|
|
1185
|
-
currentItemStartArrowhead: import("
|
|
1186
|
-
currentItemEndArrowhead: import("
|
|
1249
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1250
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1187
1251
|
currentHoveredFontFamily: number | null;
|
|
1188
|
-
currentItemRoundness: import("
|
|
1189
|
-
|
|
1190
|
-
scrollX: number;
|
|
1191
|
-
scrollY: number;
|
|
1252
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1253
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1192
1254
|
cursorButton: "up" | "down";
|
|
1193
1255
|
scrolledOutside: boolean;
|
|
1194
1256
|
isResizing: boolean;
|
|
1195
|
-
isRotating: boolean;
|
|
1196
|
-
zoom: Readonly<{
|
|
1197
|
-
value: import("../types").NormalizedZoomValue;
|
|
1198
|
-
}>;
|
|
1199
1257
|
openMenu: "canvas" | "shape" | null;
|
|
1200
1258
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1201
1259
|
openSidebar: {
|
|
1202
1260
|
name: string;
|
|
1203
1261
|
tab?: string | undefined;
|
|
1204
1262
|
} | null;
|
|
1205
|
-
openDialog: {
|
|
1206
|
-
name: "imageExport" | "help" | "jsonExport";
|
|
1207
|
-
} | {
|
|
1208
|
-
name: "ttd";
|
|
1209
|
-
tab: "text-to-diagram" | "mermaid";
|
|
1210
|
-
} | {
|
|
1211
|
-
name: "commandPalette";
|
|
1212
|
-
} | {
|
|
1213
|
-
name: "elementLinkSelector";
|
|
1214
|
-
sourceElementId: string;
|
|
1215
|
-
} | null;
|
|
1216
1263
|
defaultSidebarDockedPreference: boolean;
|
|
1217
|
-
lastPointerDownWith: import("
|
|
1218
|
-
selectedElementIds: Readonly<{
|
|
1219
|
-
[id: string]: true;
|
|
1220
|
-
}>;
|
|
1264
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1221
1265
|
hoveredElementIds: Readonly<{
|
|
1222
1266
|
[id: string]: true;
|
|
1223
1267
|
}>;
|
|
@@ -1233,36 +1277,13 @@ export declare const actionLoadScene: {
|
|
|
1233
1277
|
} | null;
|
|
1234
1278
|
gridSize: number;
|
|
1235
1279
|
gridStep: number;
|
|
1236
|
-
|
|
1237
|
-
[groupId: string]: boolean;
|
|
1238
|
-
};
|
|
1239
|
-
editingGroupId: string | null;
|
|
1280
|
+
gridModeEnabled: boolean;
|
|
1240
1281
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1241
|
-
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
1242
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
1243
|
-
button?: "up" | "down" | undefined;
|
|
1244
|
-
selectedElementIds?: Readonly<{
|
|
1245
|
-
[id: string]: true;
|
|
1246
|
-
}> | undefined;
|
|
1247
|
-
username?: string | null | undefined;
|
|
1248
|
-
userState?: import("../constants").UserIdleState | undefined;
|
|
1249
|
-
color?: {
|
|
1250
|
-
background: string;
|
|
1251
|
-
stroke: string;
|
|
1252
|
-
} | undefined;
|
|
1253
|
-
avatarUrl?: string | undefined;
|
|
1254
|
-
id?: string | undefined;
|
|
1255
|
-
socketId?: import("../types").SocketId | undefined;
|
|
1256
|
-
isCurrentUser?: boolean | undefined;
|
|
1257
|
-
isInCall?: boolean | undefined;
|
|
1258
|
-
isSpeaking?: boolean | undefined;
|
|
1259
|
-
isMuted?: boolean | undefined;
|
|
1260
|
-
}>>;
|
|
1261
1282
|
stats: {
|
|
1262
1283
|
open: boolean;
|
|
1263
1284
|
panels: number;
|
|
1264
1285
|
};
|
|
1265
|
-
currentChartType: import("
|
|
1286
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1266
1287
|
pasteDialog: {
|
|
1267
1288
|
shown: false;
|
|
1268
1289
|
data: null;
|
|
@@ -1270,33 +1291,19 @@ export declare const actionLoadScene: {
|
|
|
1270
1291
|
shown: true;
|
|
1271
1292
|
data: import("../charts").Spreadsheet;
|
|
1272
1293
|
};
|
|
1273
|
-
|
|
1274
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1275
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1276
|
-
snapLines: readonly import("../snapping").SnapLine[];
|
|
1294
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1277
1295
|
originSnapOffset: {
|
|
1278
1296
|
x: number;
|
|
1279
1297
|
y: number;
|
|
1280
1298
|
} | null;
|
|
1299
|
+
objectsSnapModeEnabled: boolean;
|
|
1281
1300
|
userToFollow: import("../types").UserToFollow | null;
|
|
1282
1301
|
followedBy: Set<import("../types").SocketId>;
|
|
1283
|
-
isCropping: boolean;
|
|
1284
|
-
croppingElementId: string | null;
|
|
1285
|
-
searchMatches: readonly {
|
|
1286
|
-
id: string;
|
|
1287
|
-
focus: boolean;
|
|
1288
|
-
matchedLines: {
|
|
1289
|
-
offsetX: number;
|
|
1290
|
-
offsetY: number;
|
|
1291
|
-
width: number;
|
|
1292
|
-
height: number;
|
|
1293
|
-
}[];
|
|
1294
|
-
}[];
|
|
1295
1302
|
};
|
|
1296
1303
|
files: import("../types").BinaryFiles;
|
|
1297
1304
|
captureUpdate: "IMMEDIATELY";
|
|
1298
1305
|
} | {
|
|
1299
|
-
elements: readonly import("
|
|
1306
|
+
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
1300
1307
|
appState: {
|
|
1301
1308
|
errorMessage: any;
|
|
1302
1309
|
contextMenu: {
|
|
@@ -1307,17 +1314,17 @@ export declare const actionLoadScene: {
|
|
|
1307
1314
|
showWelcomeScreen: boolean;
|
|
1308
1315
|
isLoading: boolean;
|
|
1309
1316
|
activeEmbeddable: {
|
|
1310
|
-
element: import("
|
|
1317
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1311
1318
|
state: "hover" | "active";
|
|
1312
1319
|
} | null;
|
|
1313
|
-
newElement: import("
|
|
1314
|
-
resizingElement: import("
|
|
1315
|
-
multiElement: import("
|
|
1316
|
-
selectionElement: import("
|
|
1320
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1321
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1322
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1323
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1317
1324
|
isBindingEnabled: boolean;
|
|
1318
|
-
startBoundElement: import("
|
|
1319
|
-
suggestedBindings: import("
|
|
1320
|
-
frameToHighlight: import("
|
|
1325
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1326
|
+
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
1327
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1321
1328
|
frameRendering: {
|
|
1322
1329
|
enabled: boolean;
|
|
1323
1330
|
name: boolean;
|
|
@@ -1325,12 +1332,13 @@ export declare const actionLoadScene: {
|
|
|
1325
1332
|
clip: boolean;
|
|
1326
1333
|
};
|
|
1327
1334
|
editingFrame: string | null;
|
|
1328
|
-
elementsToHighlight: import("
|
|
1329
|
-
editingTextElement: import("
|
|
1330
|
-
editingLinearElement: import("
|
|
1335
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1336
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1337
|
+
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1331
1338
|
activeTool: {
|
|
1332
1339
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1333
1340
|
locked: boolean;
|
|
1341
|
+
fromSelection: boolean;
|
|
1334
1342
|
} & import("../types").ActiveTool;
|
|
1335
1343
|
penMode: boolean;
|
|
1336
1344
|
penDetected: boolean;
|
|
@@ -1340,18 +1348,18 @@ export declare const actionLoadScene: {
|
|
|
1340
1348
|
exportScale: number;
|
|
1341
1349
|
currentItemStrokeColor: string;
|
|
1342
1350
|
currentItemBackgroundColor: string;
|
|
1343
|
-
currentItemFillStyle: import("
|
|
1351
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1344
1352
|
currentItemStrokeWidth: number;
|
|
1345
|
-
currentItemStrokeStyle: import("
|
|
1353
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1346
1354
|
currentItemRoughness: number;
|
|
1347
1355
|
currentItemOpacity: number;
|
|
1348
1356
|
currentItemFontFamily: number;
|
|
1349
1357
|
currentItemFontSize: number;
|
|
1350
1358
|
currentItemTextAlign: string;
|
|
1351
|
-
currentItemStartArrowhead: import("
|
|
1352
|
-
currentItemEndArrowhead: import("
|
|
1359
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1360
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1353
1361
|
currentHoveredFontFamily: number | null;
|
|
1354
|
-
currentItemRoundness: import("
|
|
1362
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1355
1363
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1356
1364
|
viewBackgroundColor: string;
|
|
1357
1365
|
scrollX: number;
|
|
@@ -1382,7 +1390,7 @@ export declare const actionLoadScene: {
|
|
|
1382
1390
|
sourceElementId: string;
|
|
1383
1391
|
} | null;
|
|
1384
1392
|
defaultSidebarDockedPreference: boolean;
|
|
1385
|
-
lastPointerDownWith: import("
|
|
1393
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1386
1394
|
selectedElementIds: Readonly<{
|
|
1387
1395
|
[id: string]: true;
|
|
1388
1396
|
}>;
|
|
@@ -1421,7 +1429,7 @@ export declare const actionLoadScene: {
|
|
|
1421
1429
|
[id: string]: true;
|
|
1422
1430
|
}> | undefined;
|
|
1423
1431
|
username?: string | null | undefined;
|
|
1424
|
-
userState?: import("
|
|
1432
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1425
1433
|
color?: {
|
|
1426
1434
|
background: string;
|
|
1427
1435
|
stroke: string;
|
|
@@ -1438,7 +1446,7 @@ export declare const actionLoadScene: {
|
|
|
1438
1446
|
open: boolean;
|
|
1439
1447
|
panels: number;
|
|
1440
1448
|
};
|
|
1441
|
-
currentChartType: import("
|
|
1449
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1442
1450
|
pasteDialog: {
|
|
1443
1451
|
shown: false;
|
|
1444
1452
|
data: null;
|
|
@@ -1447,8 +1455,8 @@ export declare const actionLoadScene: {
|
|
|
1447
1455
|
data: import("../charts").Spreadsheet;
|
|
1448
1456
|
};
|
|
1449
1457
|
pendingImageElementId: string | null;
|
|
1450
|
-
showHyperlinkPopup: false | "
|
|
1451
|
-
selectedLinearElement: import("
|
|
1458
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1459
|
+
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1452
1460
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1453
1461
|
originSnapOffset: {
|
|
1454
1462
|
x: number;
|
|
@@ -1484,7 +1492,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1484
1492
|
category: "export";
|
|
1485
1493
|
action: string;
|
|
1486
1494
|
};
|
|
1487
|
-
perform: (_elements: readonly import("
|
|
1495
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
|
|
1488
1496
|
appState: {
|
|
1489
1497
|
exportWithDarkMode: any;
|
|
1490
1498
|
contextMenu: {
|
|
@@ -1496,17 +1504,17 @@ export declare const actionExportWithDarkMode: {
|
|
|
1496
1504
|
isLoading: boolean;
|
|
1497
1505
|
errorMessage: import("react").ReactNode;
|
|
1498
1506
|
activeEmbeddable: {
|
|
1499
|
-
element: import("
|
|
1507
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1500
1508
|
state: "hover" | "active";
|
|
1501
1509
|
} | null;
|
|
1502
|
-
newElement: import("
|
|
1503
|
-
resizingElement: import("
|
|
1504
|
-
multiElement: import("
|
|
1505
|
-
selectionElement: import("
|
|
1510
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1511
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1512
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1513
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1506
1514
|
isBindingEnabled: boolean;
|
|
1507
|
-
startBoundElement: import("
|
|
1508
|
-
suggestedBindings: import("
|
|
1509
|
-
frameToHighlight: import("
|
|
1515
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1516
|
+
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
1517
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1510
1518
|
frameRendering: {
|
|
1511
1519
|
enabled: boolean;
|
|
1512
1520
|
name: boolean;
|
|
@@ -1514,12 +1522,13 @@ export declare const actionExportWithDarkMode: {
|
|
|
1514
1522
|
clip: boolean;
|
|
1515
1523
|
};
|
|
1516
1524
|
editingFrame: string | null;
|
|
1517
|
-
elementsToHighlight: import("
|
|
1518
|
-
editingTextElement: import("
|
|
1519
|
-
editingLinearElement: import("
|
|
1525
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1526
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1527
|
+
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1520
1528
|
activeTool: {
|
|
1521
1529
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1522
1530
|
locked: boolean;
|
|
1531
|
+
fromSelection: boolean;
|
|
1523
1532
|
} & import("../types").ActiveTool;
|
|
1524
1533
|
penMode: boolean;
|
|
1525
1534
|
penDetected: boolean;
|
|
@@ -1528,18 +1537,18 @@ export declare const actionExportWithDarkMode: {
|
|
|
1528
1537
|
exportScale: number;
|
|
1529
1538
|
currentItemStrokeColor: string;
|
|
1530
1539
|
currentItemBackgroundColor: string;
|
|
1531
|
-
currentItemFillStyle: import("
|
|
1540
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1532
1541
|
currentItemStrokeWidth: number;
|
|
1533
|
-
currentItemStrokeStyle: import("
|
|
1542
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1534
1543
|
currentItemRoughness: number;
|
|
1535
1544
|
currentItemOpacity: number;
|
|
1536
1545
|
currentItemFontFamily: number;
|
|
1537
1546
|
currentItemFontSize: number;
|
|
1538
1547
|
currentItemTextAlign: string;
|
|
1539
|
-
currentItemStartArrowhead: import("
|
|
1540
|
-
currentItemEndArrowhead: import("
|
|
1548
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1549
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1541
1550
|
currentHoveredFontFamily: number | null;
|
|
1542
|
-
currentItemRoundness: import("
|
|
1551
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1543
1552
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1544
1553
|
viewBackgroundColor: string;
|
|
1545
1554
|
scrollX: number;
|
|
@@ -1570,7 +1579,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1570
1579
|
sourceElementId: string;
|
|
1571
1580
|
} | null;
|
|
1572
1581
|
defaultSidebarDockedPreference: boolean;
|
|
1573
|
-
lastPointerDownWith: import("
|
|
1582
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1574
1583
|
selectedElementIds: Readonly<{
|
|
1575
1584
|
[id: string]: true;
|
|
1576
1585
|
}>;
|
|
@@ -1609,7 +1618,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1609
1618
|
[id: string]: true;
|
|
1610
1619
|
}> | undefined;
|
|
1611
1620
|
username?: string | null | undefined;
|
|
1612
|
-
userState?: import("
|
|
1621
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1613
1622
|
color?: {
|
|
1614
1623
|
background: string;
|
|
1615
1624
|
stroke: string;
|
|
@@ -1626,7 +1635,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1626
1635
|
open: boolean;
|
|
1627
1636
|
panels: number;
|
|
1628
1637
|
};
|
|
1629
|
-
currentChartType: import("
|
|
1638
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1630
1639
|
pasteDialog: {
|
|
1631
1640
|
shown: false;
|
|
1632
1641
|
data: null;
|
|
@@ -1635,8 +1644,8 @@ export declare const actionExportWithDarkMode: {
|
|
|
1635
1644
|
data: import("../charts").Spreadsheet;
|
|
1636
1645
|
};
|
|
1637
1646
|
pendingImageElementId: string | null;
|
|
1638
|
-
showHyperlinkPopup: false | "
|
|
1639
|
-
selectedLinearElement: import("
|
|
1647
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1648
|
+
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
1640
1649
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1641
1650
|
originSnapOffset: {
|
|
1642
1651
|
x: number;
|