@excalidraw/element 0.18.0-ac0d305 → 0.18.0-b1c6bfc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev/index.js +5259 -2685
- package/dist/dev/index.js.map +4 -4
- package/dist/prod/index.js +19 -18
- package/dist/types/common/debug.d.ts +21 -0
- package/dist/types/common/src/appEventBus.d.ts +27 -0
- package/dist/types/common/src/bounds.d.ts +10 -0
- package/dist/types/common/src/colors.d.ts +59 -39
- package/dist/types/common/src/constants.d.ts +25 -27
- package/dist/types/common/src/editorInterface.d.ts +34 -0
- package/dist/types/common/src/font-metadata.d.ts +1 -3
- package/dist/types/common/src/index.d.ts +5 -0
- package/dist/types/common/src/keys.d.ts +1 -1
- package/dist/types/common/src/utility-types.d.ts +0 -1
- package/dist/types/common/src/utils.d.ts +53 -42
- package/dist/types/common/src/versionedSnapshotStore.d.ts +17 -0
- package/dist/types/element/src/Scene.d.ts +5 -3
- package/dist/types/element/src/arrowheads.d.ts +3 -0
- package/dist/types/element/src/arrows/focus.d.ts +27 -0
- package/dist/types/element/src/arrows/helpers.d.ts +5 -0
- package/dist/types/element/src/binding.d.ts +67 -48
- package/dist/types/element/src/bounds.d.ts +7 -13
- package/dist/types/element/src/collision.d.ts +7 -2
- package/dist/types/element/src/comparisons.d.ts +7 -7
- package/dist/types/element/src/distribute.d.ts +2 -1
- package/dist/types/element/src/dragElements.d.ts +3 -3
- package/dist/types/element/src/duplicate.d.ts +3 -3
- package/dist/types/element/src/elbowArrow.d.ts +2 -0
- package/dist/types/element/src/fractionalIndex.d.ts +2 -2
- package/dist/types/element/src/frame.d.ts +6 -2
- package/dist/types/element/src/heading.d.ts +2 -1
- package/dist/types/element/src/image.d.ts +1 -11
- package/dist/types/element/src/index.d.ts +4 -3
- package/dist/types/element/src/linearElementEditor.d.ts +23 -22
- package/dist/types/element/src/mutateElement.d.ts +5 -1
- package/dist/types/element/src/newElement.d.ts +6 -6
- package/dist/types/element/src/renderElement.d.ts +1 -7
- package/dist/types/element/src/resizeElements.d.ts +10 -10
- package/dist/types/element/src/resizeTest.d.ts +6 -5
- package/dist/types/element/src/selection.d.ts +10 -10
- package/dist/types/element/src/shape.d.ts +9 -8
- package/dist/types/element/src/textElement.d.ts +1 -1
- package/dist/types/element/src/textMeasurements.d.ts +1 -3
- package/dist/types/element/src/textWrapping.d.ts +26 -0
- package/dist/types/{excalidraw/data → element/src}/transform.d.ts +3 -3
- package/dist/types/element/src/transformHandles.d.ts +8 -27
- package/dist/types/element/src/typeChecks.d.ts +4 -7
- package/dist/types/element/src/types.d.ts +12 -13
- package/dist/types/element/src/utils.d.ts +9 -4
- package/dist/types/element/src/visualdebug.d.ts +59 -0
- package/dist/types/element/src/zindex.d.ts +7 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +131 -171
- package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +94 -121
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +556 -902
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +112 -884
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +45 -59
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +151 -195
- package/dist/types/excalidraw/actions/actionDeselect.d.ts +160 -0
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +37 -57
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +92 -119
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +46 -60
- package/dist/types/excalidraw/actions/actionExport.d.ts +173 -1412
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +10 -396
- package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionFrame.d.ts +279 -370
- package/dist/types/excalidraw/actions/actionGroup.d.ts +97 -132
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +154 -206
- package/dist/types/excalidraw/actions/actionLink.d.ts +43 -57
- package/dist/types/excalidraw/actions/actionMenu.d.ts +36 -424
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +18 -361
- package/dist/types/excalidraw/actions/actionProperties.d.ts +154 -2533
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +48 -66
- package/dist/types/excalidraw/actions/actionStyles.d.ts +45 -58
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +173 -0
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +45 -59
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +173 -0
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +45 -59
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +34 -54
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +45 -59
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +45 -59
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +46 -60
- package/dist/types/excalidraw/actions/actionZindex.d.ts +2 -3
- package/dist/types/excalidraw/actions/index.d.ts +4 -1
- package/dist/types/excalidraw/actions/register.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/appState.d.ts +22 -15
- package/dist/types/excalidraw/charts/charts.bar.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.constants.d.ts +48 -0
- package/dist/types/excalidraw/charts/charts.helpers.d.ts +32 -0
- package/dist/types/excalidraw/charts/charts.line.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.parse.d.ts +10 -0
- package/dist/types/excalidraw/charts/charts.radar.d.ts +2 -0
- package/dist/types/excalidraw/charts/charts.types.d.ts +18 -0
- package/dist/types/excalidraw/charts/index.d.ts +7 -0
- package/dist/types/excalidraw/clipboard.d.ts +13 -36
- package/dist/types/excalidraw/components/Actions.d.ts +14 -4
- package/dist/types/excalidraw/components/App.d.ts +109 -70
- package/dist/types/excalidraw/components/AppStateObserver.d.ts +37 -0
- package/dist/types/excalidraw/components/Card.d.ts +1 -3
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -4
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +1 -3
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +0 -1
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +0 -1
- package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
- package/dist/types/excalidraw/components/CommandPalette/types.d.ts +2 -4
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
- package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
- package/dist/types/excalidraw/components/DefaultSidebar.d.ts +9 -13
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/Ellipsify.d.ts +1 -2
- package/dist/types/excalidraw/components/ErrorDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/EyeDropper.d.ts +0 -1
- package/dist/types/excalidraw/components/FilledButton.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +0 -1
- package/dist/types/excalidraw/components/HelpDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/HintViewer.d.ts +4 -3
- package/dist/types/excalidraw/components/IconPicker.d.ts +14 -9
- package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
- package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
- package/dist/types/excalidraw/components/LibraryMenuControlButtons.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -2
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -3
- package/dist/types/excalidraw/components/LoadingMessage.d.ts +0 -1
- package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -5
- package/dist/types/excalidraw/components/MobileToolBar.d.ts +10 -0
- package/dist/types/excalidraw/components/Modal.d.ts +0 -1
- package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +1 -1
- package/dist/types/excalidraw/components/PasteChartDialog.d.ts +4 -5
- package/dist/types/excalidraw/components/Popover.d.ts +2 -1
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -1
- package/dist/types/excalidraw/components/RadioGroup.d.ts +0 -1
- package/dist/types/excalidraw/components/RadioSelection.d.ts +4 -4
- package/dist/types/excalidraw/components/Range.d.ts +10 -4
- package/dist/types/excalidraw/components/ScrollableList.d.ts +0 -1
- package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +15 -21
- package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +1 -1
- package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +1 -2
- package/dist/types/excalidraw/components/Spinner.d.ts +4 -4
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/index.d.ts +7 -8
- package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/Chat/ChatHistoryMenu.d.ts +15 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/ChatInterface.d.ts +23 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/ChatMessage.d.ts +14 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/TTDChatPanel.d.ts +27 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/index.d.ts +3 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/useChatAgent.d.ts +8 -0
- package/dist/types/excalidraw/components/TTDDialog/CodeMirrorEditor.d.ts +11 -0
- package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +3 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDContext.d.ts +13 -0
- package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +12 -29
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +3 -3
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +5 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +13 -9
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDPreviewPanel.d.ts +9 -0
- package/dist/types/excalidraw/components/TTDDialog/TTDWelcomeMessage.d.ts +1 -0
- package/dist/types/excalidraw/components/TTDDialog/TextToDiagram.d.ts +9 -0
- package/dist/types/excalidraw/components/TTDDialog/common.d.ts +16 -16
- package/dist/types/excalidraw/components/TTDDialog/hooks/useChatManagement.d.ts +13 -0
- package/dist/types/excalidraw/components/TTDDialog/hooks/useMermaidRenderer.d.ts +14 -0
- package/dist/types/excalidraw/components/TTDDialog/hooks/useTextGeneration.d.ts +7 -0
- package/dist/types/excalidraw/components/TTDDialog/mermaid-lang-lite.d.ts +2 -0
- package/dist/types/excalidraw/components/TTDDialog/types.d.ts +95 -0
- package/dist/types/excalidraw/components/TTDDialog/useTTDChatStorage.d.ts +22 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/chat.d.ts +10 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidAutoFix.d.ts +1 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidError.d.ts +10 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidValidation.d.ts +1 -0
- package/dist/types/excalidraw/components/TextField.d.ts +1 -0
- package/dist/types/excalidraw/components/Toast.d.ts +11 -7
- package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
- package/dist/types/excalidraw/components/Trans.d.ts +2 -2
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +7 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +47 -35
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +7 -5
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +3 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +13 -22
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCheckbox.d.ts +5 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +5 -4
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +2 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +2 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +6 -6
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSub.d.ts +23 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSubContent.d.ts +8 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSubTrigger.d.ts +12 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +3 -4
- package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +2 -2
- package/dist/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +2 -0
- package/dist/types/excalidraw/components/hoc/withInternalFallback.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -1
- package/dist/types/excalidraw/components/icons.d.ts +44 -22
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +20 -2
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +39 -35
- package/dist/types/excalidraw/components/shapes.d.ts +74 -1
- package/dist/types/excalidraw/data/blob.d.ts +329 -8
- package/dist/types/excalidraw/data/encode.d.ts +4 -4
- package/dist/types/excalidraw/data/encryption.d.ts +5 -5
- package/dist/types/excalidraw/data/filesystem.d.ts +5 -7
- package/dist/types/excalidraw/data/index.d.ts +4 -5
- package/dist/types/excalidraw/data/json.d.ts +171 -4
- package/dist/types/excalidraw/data/library.d.ts +24 -9
- package/dist/types/excalidraw/data/resave.d.ts +7 -2
- package/dist/types/excalidraw/data/restore.d.ts +25 -10
- package/dist/types/excalidraw/data/types.d.ts +4 -1
- package/dist/types/excalidraw/editor-jotai.d.ts +11 -11
- package/dist/types/excalidraw/errors.d.ts +14 -0
- package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +4 -3
- package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -2
- package/dist/types/excalidraw/i18n.d.ts +2 -2
- package/dist/types/excalidraw/renderer/animation.d.ts +12 -0
- package/dist/types/excalidraw/renderer/helpers.d.ts +6 -8
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +8 -14
- package/dist/types/excalidraw/scene/Renderer.d.ts +5 -2
- package/dist/types/excalidraw/scene/export.d.ts +2 -2
- package/dist/types/excalidraw/scene/scroll.d.ts +1 -6
- package/dist/types/excalidraw/scene/types.d.ts +22 -5
- package/dist/types/excalidraw/shortcut.d.ts +1 -0
- package/dist/types/excalidraw/snapping.d.ts +5 -5
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-bindings.d.ts +1 -1
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-loader.d.ts +1 -1
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-wasm.d.ts +1 -1
- package/dist/types/excalidraw/subset/woff2/woff2-loader.d.ts +2 -2
- package/dist/types/excalidraw/subset/woff2/woff2-wasm.d.ts +1 -1
- package/dist/types/excalidraw/textAutoResizeHandle.d.ts +15 -0
- package/dist/types/excalidraw/types.d.ts +123 -36
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +7 -3
- package/dist/types/math/src/curve.d.ts +4 -1
- package/dist/types/math/src/point.d.ts +7 -2
- package/dist/types/math/src/polygon.d.ts +2 -2
- package/dist/types/math/src/range.d.ts +1 -3
- package/dist/types/math/src/segment.d.ts +3 -3
- package/dist/types/math/src/types.d.ts +25 -1
- package/dist/types/utils/src/bbox.d.ts +1 -1
- package/dist/types/utils/src/export.d.ts +5 -5
- package/dist/types/utils/src/shape.d.ts +6 -6
- package/dist/types/utils/src/withinBounds.d.ts +2 -2
- package/package.json +9 -3
- package/dist/types/excalidraw/charts.d.ts +0 -27
- package/dist/types/excalidraw/components/DiagramToCodePlugin/DiagramToCodePlugin.d.ts +0 -4
- package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +0 -16
- package/dist/types/excalidraw/components/InitializeApp.d.ts +0 -10
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +0 -9
- package/dist/types/excalidraw/components/footer/FooterCenter.d.ts +0 -8
- package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +0 -10
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +0 -58
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +0 -19
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +0 -85
- package/dist/types/excalidraw/data/reconcile.d.ts +0 -7
- package/dist/types/excalidraw/index.d.ts +0 -47
- package/dist/types/excalidraw/polyfill.d.ts +0 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
3
2
|
import type { AppClassProperties, AppState } from "../types";
|
|
4
3
|
export declare const actionSelectAllElementsInFrame: {
|
|
@@ -7,7 +6,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
7
6
|
trackEvent: {
|
|
8
7
|
category: "canvas";
|
|
9
8
|
};
|
|
10
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
9
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
11
10
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
12
11
|
appState: {
|
|
13
12
|
selectedElementIds: Record<string, true>;
|
|
@@ -18,18 +17,24 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
18
17
|
} | null;
|
|
19
18
|
showWelcomeScreen: boolean;
|
|
20
19
|
isLoading: boolean;
|
|
21
|
-
errorMessage:
|
|
20
|
+
errorMessage: React.ReactNode;
|
|
22
21
|
activeEmbeddable: {
|
|
23
22
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
24
|
-
state: "
|
|
23
|
+
state: "hover" | "active";
|
|
25
24
|
} | null;
|
|
26
25
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
27
26
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
28
27
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
29
28
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
30
29
|
isBindingEnabled: boolean;
|
|
30
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
31
|
+
bindingPreference: "enabled" | "disabled";
|
|
32
|
+
isMidpointSnappingEnabled: boolean;
|
|
31
33
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
32
|
-
|
|
34
|
+
suggestedBinding: {
|
|
35
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
36
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
37
|
+
} | null;
|
|
33
38
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
34
39
|
frameRendering: {
|
|
35
40
|
enabled: boolean;
|
|
@@ -39,12 +44,16 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
39
44
|
};
|
|
40
45
|
editingFrame: string | null;
|
|
41
46
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
42
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
47
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
43
48
|
activeTool: {
|
|
44
49
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
45
50
|
locked: boolean;
|
|
46
51
|
fromSelection: boolean;
|
|
47
52
|
} & import("../types").ActiveTool;
|
|
53
|
+
preferredSelectionTool: {
|
|
54
|
+
type: "selection" | "lasso";
|
|
55
|
+
initialized: boolean;
|
|
56
|
+
};
|
|
48
57
|
penMode: boolean;
|
|
49
58
|
penDetected: boolean;
|
|
50
59
|
exportBackground: boolean;
|
|
@@ -53,19 +62,19 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
53
62
|
exportScale: number;
|
|
54
63
|
currentItemStrokeColor: string;
|
|
55
64
|
currentItemBackgroundColor: string;
|
|
56
|
-
currentItemFillStyle:
|
|
65
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
57
66
|
currentItemStrokeWidth: number;
|
|
58
|
-
currentItemStrokeStyle:
|
|
67
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
59
68
|
currentItemRoughness: number;
|
|
60
69
|
currentItemOpacity: number;
|
|
61
|
-
currentItemFontFamily:
|
|
70
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
62
71
|
currentItemFontSize: number;
|
|
63
|
-
currentItemTextAlign:
|
|
72
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
64
73
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
65
74
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
66
|
-
currentHoveredFontFamily:
|
|
75
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
67
76
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
68
|
-
currentItemArrowType: "
|
|
77
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
69
78
|
viewBackgroundColor: string;
|
|
70
79
|
scrollX: number;
|
|
71
80
|
scrollY: number;
|
|
@@ -74,26 +83,30 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
74
83
|
name: string | null;
|
|
75
84
|
isResizing: boolean;
|
|
76
85
|
isRotating: boolean;
|
|
77
|
-
zoom:
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
openMenu: "canvas" | "shape" | null;
|
|
81
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
86
|
+
zoom: import("../types").Zoom;
|
|
87
|
+
openMenu: "canvas" | null;
|
|
88
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
82
89
|
openSidebar: {
|
|
83
|
-
name:
|
|
84
|
-
tab?:
|
|
90
|
+
name: import("../types").SidebarName;
|
|
91
|
+
tab?: import("../types").SidebarTabName;
|
|
85
92
|
} | null;
|
|
86
|
-
openDialog: {
|
|
93
|
+
openDialog: null | {
|
|
87
94
|
name: "imageExport" | "help" | "jsonExport";
|
|
88
95
|
} | {
|
|
89
96
|
name: "ttd";
|
|
90
|
-
tab: "
|
|
97
|
+
tab: "text-to-diagram" | "mermaid";
|
|
91
98
|
} | {
|
|
92
99
|
name: "commandPalette";
|
|
100
|
+
} | {
|
|
101
|
+
name: "settings";
|
|
93
102
|
} | {
|
|
94
103
|
name: "elementLinkSelector";
|
|
95
|
-
sourceElementId:
|
|
96
|
-
} |
|
|
104
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
105
|
+
} | {
|
|
106
|
+
name: "charts";
|
|
107
|
+
data: import("../charts").Spreadsheet;
|
|
108
|
+
rawText: string;
|
|
109
|
+
};
|
|
97
110
|
defaultSidebarDockedPreference: boolean;
|
|
98
111
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
99
112
|
hoveredElementIds: Readonly<{
|
|
@@ -105,9 +118,9 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
105
118
|
selectedElementsAreBeingDragged: boolean;
|
|
106
119
|
shouldCacheIgnoreZoom: boolean;
|
|
107
120
|
toast: {
|
|
108
|
-
message:
|
|
109
|
-
closable?: boolean
|
|
110
|
-
duration?: number
|
|
121
|
+
message: React.ReactNode;
|
|
122
|
+
closable?: boolean;
|
|
123
|
+
duration?: number;
|
|
111
124
|
} | null;
|
|
112
125
|
zenModeEnabled: boolean;
|
|
113
126
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -118,45 +131,18 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
118
131
|
selectedGroupIds: {
|
|
119
132
|
[groupId: string]: boolean;
|
|
120
133
|
};
|
|
121
|
-
editingGroupId:
|
|
134
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
122
135
|
width: number;
|
|
123
136
|
height: number;
|
|
124
137
|
offsetTop: number;
|
|
125
138
|
offsetLeft: number;
|
|
126
|
-
fileHandle:
|
|
127
|
-
collaborators: Map<import("../types").SocketId,
|
|
128
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
129
|
-
button?: "up" | "down" | undefined;
|
|
130
|
-
selectedElementIds?: Readonly<{
|
|
131
|
-
[id: string]: true;
|
|
132
|
-
}> | undefined;
|
|
133
|
-
username?: string | null | undefined;
|
|
134
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
135
|
-
color?: {
|
|
136
|
-
background: string;
|
|
137
|
-
stroke: string;
|
|
138
|
-
} | undefined;
|
|
139
|
-
avatarUrl?: string | undefined;
|
|
140
|
-
id?: string | undefined;
|
|
141
|
-
socketId?: import("../types").SocketId | undefined;
|
|
142
|
-
isCurrentUser?: boolean | undefined;
|
|
143
|
-
isInCall?: boolean | undefined;
|
|
144
|
-
isSpeaking?: boolean | undefined;
|
|
145
|
-
isMuted?: boolean | undefined;
|
|
146
|
-
}>>;
|
|
139
|
+
fileHandle: FileSystemFileHandle | null;
|
|
140
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
147
141
|
stats: {
|
|
148
142
|
open: boolean;
|
|
149
143
|
panels: number;
|
|
150
144
|
};
|
|
151
|
-
|
|
152
|
-
pasteDialog: {
|
|
153
|
-
shown: false;
|
|
154
|
-
data: null;
|
|
155
|
-
} | {
|
|
156
|
-
shown: true;
|
|
157
|
-
data: import("../charts").Spreadsheet;
|
|
158
|
-
};
|
|
159
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
145
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
160
146
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
161
147
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
162
148
|
originSnapOffset: {
|
|
@@ -167,16 +153,16 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
167
153
|
userToFollow: import("../types").UserToFollow | null;
|
|
168
154
|
followedBy: Set<import("../types").SocketId>;
|
|
169
155
|
isCropping: boolean;
|
|
170
|
-
croppingElementId:
|
|
156
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
171
157
|
searchMatches: Readonly<{
|
|
172
|
-
focusedId:
|
|
158
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
173
159
|
matches: readonly import("../types").SearchMatch[];
|
|
174
160
|
}> | null;
|
|
175
161
|
activeLockedId: string | null;
|
|
176
162
|
lockedMultiSelections: {
|
|
177
163
|
[groupId: string]: true;
|
|
178
164
|
};
|
|
179
|
-
|
|
165
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
180
166
|
};
|
|
181
167
|
captureUpdate: "IMMEDIATELY";
|
|
182
168
|
} | {
|
|
@@ -194,7 +180,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
194
180
|
trackEvent: {
|
|
195
181
|
category: "history";
|
|
196
182
|
};
|
|
197
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
183
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
198
184
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
199
185
|
appState: {
|
|
200
186
|
selectedElementIds: {
|
|
@@ -207,18 +193,24 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
207
193
|
} | null;
|
|
208
194
|
showWelcomeScreen: boolean;
|
|
209
195
|
isLoading: boolean;
|
|
210
|
-
errorMessage:
|
|
196
|
+
errorMessage: React.ReactNode;
|
|
211
197
|
activeEmbeddable: {
|
|
212
198
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
213
|
-
state: "
|
|
199
|
+
state: "hover" | "active";
|
|
214
200
|
} | null;
|
|
215
201
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
216
202
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
217
203
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
218
204
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
219
205
|
isBindingEnabled: boolean;
|
|
206
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
207
|
+
bindingPreference: "enabled" | "disabled";
|
|
208
|
+
isMidpointSnappingEnabled: boolean;
|
|
220
209
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
221
|
-
|
|
210
|
+
suggestedBinding: {
|
|
211
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
212
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
213
|
+
} | null;
|
|
222
214
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
223
215
|
frameRendering: {
|
|
224
216
|
enabled: boolean;
|
|
@@ -228,12 +220,16 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
228
220
|
};
|
|
229
221
|
editingFrame: string | null;
|
|
230
222
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
231
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
223
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
232
224
|
activeTool: {
|
|
233
225
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
234
226
|
locked: boolean;
|
|
235
227
|
fromSelection: boolean;
|
|
236
228
|
} & import("../types").ActiveTool;
|
|
229
|
+
preferredSelectionTool: {
|
|
230
|
+
type: "selection" | "lasso";
|
|
231
|
+
initialized: boolean;
|
|
232
|
+
};
|
|
237
233
|
penMode: boolean;
|
|
238
234
|
penDetected: boolean;
|
|
239
235
|
exportBackground: boolean;
|
|
@@ -242,19 +238,19 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
242
238
|
exportScale: number;
|
|
243
239
|
currentItemStrokeColor: string;
|
|
244
240
|
currentItemBackgroundColor: string;
|
|
245
|
-
currentItemFillStyle:
|
|
241
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
246
242
|
currentItemStrokeWidth: number;
|
|
247
|
-
currentItemStrokeStyle:
|
|
243
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
248
244
|
currentItemRoughness: number;
|
|
249
245
|
currentItemOpacity: number;
|
|
250
|
-
currentItemFontFamily:
|
|
246
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
251
247
|
currentItemFontSize: number;
|
|
252
|
-
currentItemTextAlign:
|
|
248
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
253
249
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
254
250
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
255
|
-
currentHoveredFontFamily:
|
|
251
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
256
252
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
257
|
-
currentItemArrowType: "
|
|
253
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
258
254
|
viewBackgroundColor: string;
|
|
259
255
|
scrollX: number;
|
|
260
256
|
scrollY: number;
|
|
@@ -263,26 +259,30 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
263
259
|
name: string | null;
|
|
264
260
|
isResizing: boolean;
|
|
265
261
|
isRotating: boolean;
|
|
266
|
-
zoom:
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
openMenu: "canvas" | "shape" | null;
|
|
270
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
262
|
+
zoom: import("../types").Zoom;
|
|
263
|
+
openMenu: "canvas" | null;
|
|
264
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
271
265
|
openSidebar: {
|
|
272
|
-
name:
|
|
273
|
-
tab?:
|
|
266
|
+
name: import("../types").SidebarName;
|
|
267
|
+
tab?: import("../types").SidebarTabName;
|
|
274
268
|
} | null;
|
|
275
|
-
openDialog: {
|
|
269
|
+
openDialog: null | {
|
|
276
270
|
name: "imageExport" | "help" | "jsonExport";
|
|
277
271
|
} | {
|
|
278
272
|
name: "ttd";
|
|
279
|
-
tab: "
|
|
273
|
+
tab: "text-to-diagram" | "mermaid";
|
|
280
274
|
} | {
|
|
281
275
|
name: "commandPalette";
|
|
276
|
+
} | {
|
|
277
|
+
name: "settings";
|
|
282
278
|
} | {
|
|
283
279
|
name: "elementLinkSelector";
|
|
284
|
-
sourceElementId:
|
|
285
|
-
} |
|
|
280
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
281
|
+
} | {
|
|
282
|
+
name: "charts";
|
|
283
|
+
data: import("../charts").Spreadsheet;
|
|
284
|
+
rawText: string;
|
|
285
|
+
};
|
|
286
286
|
defaultSidebarDockedPreference: boolean;
|
|
287
287
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
288
288
|
hoveredElementIds: Readonly<{
|
|
@@ -294,9 +294,9 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
294
294
|
selectedElementsAreBeingDragged: boolean;
|
|
295
295
|
shouldCacheIgnoreZoom: boolean;
|
|
296
296
|
toast: {
|
|
297
|
-
message:
|
|
298
|
-
closable?: boolean
|
|
299
|
-
duration?: number
|
|
297
|
+
message: React.ReactNode;
|
|
298
|
+
closable?: boolean;
|
|
299
|
+
duration?: number;
|
|
300
300
|
} | null;
|
|
301
301
|
zenModeEnabled: boolean;
|
|
302
302
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -307,45 +307,18 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
307
307
|
selectedGroupIds: {
|
|
308
308
|
[groupId: string]: boolean;
|
|
309
309
|
};
|
|
310
|
-
editingGroupId:
|
|
310
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
311
311
|
width: number;
|
|
312
312
|
height: number;
|
|
313
313
|
offsetTop: number;
|
|
314
314
|
offsetLeft: number;
|
|
315
|
-
fileHandle:
|
|
316
|
-
collaborators: Map<import("../types").SocketId,
|
|
317
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
318
|
-
button?: "up" | "down" | undefined;
|
|
319
|
-
selectedElementIds?: Readonly<{
|
|
320
|
-
[id: string]: true;
|
|
321
|
-
}> | undefined;
|
|
322
|
-
username?: string | null | undefined;
|
|
323
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
324
|
-
color?: {
|
|
325
|
-
background: string;
|
|
326
|
-
stroke: string;
|
|
327
|
-
} | undefined;
|
|
328
|
-
avatarUrl?: string | undefined;
|
|
329
|
-
id?: string | undefined;
|
|
330
|
-
socketId?: import("../types").SocketId | undefined;
|
|
331
|
-
isCurrentUser?: boolean | undefined;
|
|
332
|
-
isInCall?: boolean | undefined;
|
|
333
|
-
isSpeaking?: boolean | undefined;
|
|
334
|
-
isMuted?: boolean | undefined;
|
|
335
|
-
}>>;
|
|
315
|
+
fileHandle: FileSystemFileHandle | null;
|
|
316
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
336
317
|
stats: {
|
|
337
318
|
open: boolean;
|
|
338
319
|
panels: number;
|
|
339
320
|
};
|
|
340
|
-
|
|
341
|
-
pasteDialog: {
|
|
342
|
-
shown: false;
|
|
343
|
-
data: null;
|
|
344
|
-
} | {
|
|
345
|
-
shown: true;
|
|
346
|
-
data: import("../charts").Spreadsheet;
|
|
347
|
-
};
|
|
348
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
321
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
349
322
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
350
323
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
351
324
|
originSnapOffset: {
|
|
@@ -356,16 +329,16 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
356
329
|
userToFollow: import("../types").UserToFollow | null;
|
|
357
330
|
followedBy: Set<import("../types").SocketId>;
|
|
358
331
|
isCropping: boolean;
|
|
359
|
-
croppingElementId:
|
|
332
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
360
333
|
searchMatches: Readonly<{
|
|
361
|
-
focusedId:
|
|
334
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
362
335
|
matches: readonly import("../types").SearchMatch[];
|
|
363
336
|
}> | null;
|
|
364
337
|
activeLockedId: string | null;
|
|
365
338
|
lockedMultiSelections: {
|
|
366
339
|
[groupId: string]: true;
|
|
367
340
|
};
|
|
368
|
-
|
|
341
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
369
342
|
};
|
|
370
343
|
captureUpdate: "IMMEDIATELY";
|
|
371
344
|
} | {
|
|
@@ -400,27 +373,37 @@ export declare const actionupdateFrameRendering: {
|
|
|
400
373
|
} | null;
|
|
401
374
|
showWelcomeScreen: boolean;
|
|
402
375
|
isLoading: boolean;
|
|
403
|
-
errorMessage:
|
|
376
|
+
errorMessage: React.ReactNode;
|
|
404
377
|
activeEmbeddable: {
|
|
405
378
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
406
|
-
state: "
|
|
379
|
+
state: "hover" | "active";
|
|
407
380
|
} | null;
|
|
408
381
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
409
382
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
410
383
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
411
384
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
412
385
|
isBindingEnabled: boolean;
|
|
386
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
387
|
+
bindingPreference: "enabled" | "disabled";
|
|
388
|
+
isMidpointSnappingEnabled: boolean;
|
|
413
389
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
414
|
-
|
|
390
|
+
suggestedBinding: {
|
|
391
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
392
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
393
|
+
} | null;
|
|
415
394
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
416
395
|
editingFrame: string | null;
|
|
417
396
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
418
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
397
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
419
398
|
activeTool: {
|
|
420
399
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
421
400
|
locked: boolean;
|
|
422
401
|
fromSelection: boolean;
|
|
423
402
|
} & import("../types").ActiveTool;
|
|
403
|
+
preferredSelectionTool: {
|
|
404
|
+
type: "selection" | "lasso";
|
|
405
|
+
initialized: boolean;
|
|
406
|
+
};
|
|
424
407
|
penMode: boolean;
|
|
425
408
|
penDetected: boolean;
|
|
426
409
|
exportBackground: boolean;
|
|
@@ -429,19 +412,19 @@ export declare const actionupdateFrameRendering: {
|
|
|
429
412
|
exportScale: number;
|
|
430
413
|
currentItemStrokeColor: string;
|
|
431
414
|
currentItemBackgroundColor: string;
|
|
432
|
-
currentItemFillStyle:
|
|
415
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
433
416
|
currentItemStrokeWidth: number;
|
|
434
|
-
currentItemStrokeStyle:
|
|
417
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
435
418
|
currentItemRoughness: number;
|
|
436
419
|
currentItemOpacity: number;
|
|
437
|
-
currentItemFontFamily:
|
|
420
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
438
421
|
currentItemFontSize: number;
|
|
439
|
-
currentItemTextAlign:
|
|
422
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
440
423
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
441
424
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
442
|
-
currentHoveredFontFamily:
|
|
425
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
443
426
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
444
|
-
currentItemArrowType: "
|
|
427
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
445
428
|
viewBackgroundColor: string;
|
|
446
429
|
scrollX: number;
|
|
447
430
|
scrollY: number;
|
|
@@ -450,26 +433,30 @@ export declare const actionupdateFrameRendering: {
|
|
|
450
433
|
name: string | null;
|
|
451
434
|
isResizing: boolean;
|
|
452
435
|
isRotating: boolean;
|
|
453
|
-
zoom:
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
openMenu: "canvas" | "shape" | null;
|
|
457
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
436
|
+
zoom: import("../types").Zoom;
|
|
437
|
+
openMenu: "canvas" | null;
|
|
438
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
458
439
|
openSidebar: {
|
|
459
|
-
name:
|
|
460
|
-
tab?:
|
|
440
|
+
name: import("../types").SidebarName;
|
|
441
|
+
tab?: import("../types").SidebarTabName;
|
|
461
442
|
} | null;
|
|
462
|
-
openDialog: {
|
|
443
|
+
openDialog: null | {
|
|
463
444
|
name: "imageExport" | "help" | "jsonExport";
|
|
464
445
|
} | {
|
|
465
446
|
name: "ttd";
|
|
466
|
-
tab: "
|
|
447
|
+
tab: "text-to-diagram" | "mermaid";
|
|
467
448
|
} | {
|
|
468
449
|
name: "commandPalette";
|
|
450
|
+
} | {
|
|
451
|
+
name: "settings";
|
|
469
452
|
} | {
|
|
470
453
|
name: "elementLinkSelector";
|
|
471
|
-
sourceElementId:
|
|
472
|
-
} |
|
|
454
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
455
|
+
} | {
|
|
456
|
+
name: "charts";
|
|
457
|
+
data: import("../charts").Spreadsheet;
|
|
458
|
+
rawText: string;
|
|
459
|
+
};
|
|
473
460
|
defaultSidebarDockedPreference: boolean;
|
|
474
461
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
475
462
|
selectedElementIds: Readonly<{
|
|
@@ -484,9 +471,9 @@ export declare const actionupdateFrameRendering: {
|
|
|
484
471
|
selectedElementsAreBeingDragged: boolean;
|
|
485
472
|
shouldCacheIgnoreZoom: boolean;
|
|
486
473
|
toast: {
|
|
487
|
-
message:
|
|
488
|
-
closable?: boolean
|
|
489
|
-
duration?: number
|
|
474
|
+
message: React.ReactNode;
|
|
475
|
+
closable?: boolean;
|
|
476
|
+
duration?: number;
|
|
490
477
|
} | null;
|
|
491
478
|
zenModeEnabled: boolean;
|
|
492
479
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -497,45 +484,18 @@ export declare const actionupdateFrameRendering: {
|
|
|
497
484
|
selectedGroupIds: {
|
|
498
485
|
[groupId: string]: boolean;
|
|
499
486
|
};
|
|
500
|
-
editingGroupId:
|
|
487
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
501
488
|
width: number;
|
|
502
489
|
height: number;
|
|
503
490
|
offsetTop: number;
|
|
504
491
|
offsetLeft: number;
|
|
505
|
-
fileHandle:
|
|
506
|
-
collaborators: Map<import("../types").SocketId,
|
|
507
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
508
|
-
button?: "up" | "down" | undefined;
|
|
509
|
-
selectedElementIds?: Readonly<{
|
|
510
|
-
[id: string]: true;
|
|
511
|
-
}> | undefined;
|
|
512
|
-
username?: string | null | undefined;
|
|
513
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
514
|
-
color?: {
|
|
515
|
-
background: string;
|
|
516
|
-
stroke: string;
|
|
517
|
-
} | undefined;
|
|
518
|
-
avatarUrl?: string | undefined;
|
|
519
|
-
id?: string | undefined;
|
|
520
|
-
socketId?: import("../types").SocketId | undefined;
|
|
521
|
-
isCurrentUser?: boolean | undefined;
|
|
522
|
-
isInCall?: boolean | undefined;
|
|
523
|
-
isSpeaking?: boolean | undefined;
|
|
524
|
-
isMuted?: boolean | undefined;
|
|
525
|
-
}>>;
|
|
492
|
+
fileHandle: FileSystemFileHandle | null;
|
|
493
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
526
494
|
stats: {
|
|
527
495
|
open: boolean;
|
|
528
496
|
panels: number;
|
|
529
497
|
};
|
|
530
|
-
|
|
531
|
-
pasteDialog: {
|
|
532
|
-
shown: false;
|
|
533
|
-
data: null;
|
|
534
|
-
} | {
|
|
535
|
-
shown: true;
|
|
536
|
-
data: import("../charts").Spreadsheet;
|
|
537
|
-
};
|
|
538
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
498
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
539
499
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
540
500
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
541
501
|
originSnapOffset: {
|
|
@@ -546,16 +506,16 @@ export declare const actionupdateFrameRendering: {
|
|
|
546
506
|
userToFollow: import("../types").UserToFollow | null;
|
|
547
507
|
followedBy: Set<import("../types").SocketId>;
|
|
548
508
|
isCropping: boolean;
|
|
549
|
-
croppingElementId:
|
|
509
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
550
510
|
searchMatches: Readonly<{
|
|
551
|
-
focusedId:
|
|
511
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
552
512
|
matches: readonly import("../types").SearchMatch[];
|
|
553
513
|
}> | null;
|
|
554
514
|
activeLockedId: string | null;
|
|
555
515
|
lockedMultiSelections: {
|
|
556
516
|
[groupId: string]: true;
|
|
557
517
|
};
|
|
558
|
-
|
|
518
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
559
519
|
};
|
|
560
520
|
captureUpdate: "EVENTUALLY";
|
|
561
521
|
};
|
|
@@ -571,7 +531,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
571
531
|
};
|
|
572
532
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
573
533
|
viewMode: false;
|
|
574
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
534
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
575
535
|
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
576
536
|
appState: {
|
|
577
537
|
activeTool: {
|
|
@@ -586,18 +546,24 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
586
546
|
} | null;
|
|
587
547
|
showWelcomeScreen: boolean;
|
|
588
548
|
isLoading: boolean;
|
|
589
|
-
errorMessage:
|
|
549
|
+
errorMessage: React.ReactNode;
|
|
590
550
|
activeEmbeddable: {
|
|
591
551
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
592
|
-
state: "
|
|
552
|
+
state: "hover" | "active";
|
|
593
553
|
} | null;
|
|
594
554
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
595
555
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
596
556
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
597
557
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
598
558
|
isBindingEnabled: boolean;
|
|
559
|
+
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
560
|
+
bindingPreference: "enabled" | "disabled";
|
|
561
|
+
isMidpointSnappingEnabled: boolean;
|
|
599
562
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
600
|
-
|
|
563
|
+
suggestedBinding: {
|
|
564
|
+
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
565
|
+
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
566
|
+
} | null;
|
|
601
567
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
602
568
|
frameRendering: {
|
|
603
569
|
enabled: boolean;
|
|
@@ -607,7 +573,11 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
607
573
|
};
|
|
608
574
|
editingFrame: string | null;
|
|
609
575
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
610
|
-
editingTextElement: import("@excalidraw/element/types").
|
|
576
|
+
editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
|
|
577
|
+
preferredSelectionTool: {
|
|
578
|
+
type: "selection" | "lasso";
|
|
579
|
+
initialized: boolean;
|
|
580
|
+
};
|
|
611
581
|
penMode: boolean;
|
|
612
582
|
penDetected: boolean;
|
|
613
583
|
exportBackground: boolean;
|
|
@@ -616,19 +586,19 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
616
586
|
exportScale: number;
|
|
617
587
|
currentItemStrokeColor: string;
|
|
618
588
|
currentItemBackgroundColor: string;
|
|
619
|
-
currentItemFillStyle:
|
|
589
|
+
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
620
590
|
currentItemStrokeWidth: number;
|
|
621
|
-
currentItemStrokeStyle:
|
|
591
|
+
currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
|
|
622
592
|
currentItemRoughness: number;
|
|
623
593
|
currentItemOpacity: number;
|
|
624
|
-
currentItemFontFamily:
|
|
594
|
+
currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
625
595
|
currentItemFontSize: number;
|
|
626
|
-
currentItemTextAlign:
|
|
596
|
+
currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
|
|
627
597
|
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
628
598
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
629
|
-
currentHoveredFontFamily:
|
|
599
|
+
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
630
600
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
631
|
-
currentItemArrowType: "
|
|
601
|
+
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
632
602
|
viewBackgroundColor: string;
|
|
633
603
|
scrollX: number;
|
|
634
604
|
scrollY: number;
|
|
@@ -637,26 +607,30 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
637
607
|
name: string | null;
|
|
638
608
|
isResizing: boolean;
|
|
639
609
|
isRotating: boolean;
|
|
640
|
-
zoom:
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
openMenu: "canvas" | "shape" | null;
|
|
644
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
610
|
+
zoom: import("../types").Zoom;
|
|
611
|
+
openMenu: "canvas" | null;
|
|
612
|
+
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
645
613
|
openSidebar: {
|
|
646
|
-
name:
|
|
647
|
-
tab?:
|
|
614
|
+
name: import("../types").SidebarName;
|
|
615
|
+
tab?: import("../types").SidebarTabName;
|
|
648
616
|
} | null;
|
|
649
|
-
openDialog: {
|
|
617
|
+
openDialog: null | {
|
|
650
618
|
name: "imageExport" | "help" | "jsonExport";
|
|
651
619
|
} | {
|
|
652
620
|
name: "ttd";
|
|
653
|
-
tab: "
|
|
621
|
+
tab: "text-to-diagram" | "mermaid";
|
|
654
622
|
} | {
|
|
655
623
|
name: "commandPalette";
|
|
624
|
+
} | {
|
|
625
|
+
name: "settings";
|
|
656
626
|
} | {
|
|
657
627
|
name: "elementLinkSelector";
|
|
658
|
-
sourceElementId:
|
|
659
|
-
} |
|
|
628
|
+
sourceElementId: ExcalidrawElement["id"];
|
|
629
|
+
} | {
|
|
630
|
+
name: "charts";
|
|
631
|
+
data: import("../charts").Spreadsheet;
|
|
632
|
+
rawText: string;
|
|
633
|
+
};
|
|
660
634
|
defaultSidebarDockedPreference: boolean;
|
|
661
635
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
662
636
|
selectedElementIds: Readonly<{
|
|
@@ -671,9 +645,9 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
671
645
|
selectedElementsAreBeingDragged: boolean;
|
|
672
646
|
shouldCacheIgnoreZoom: boolean;
|
|
673
647
|
toast: {
|
|
674
|
-
message:
|
|
675
|
-
closable?: boolean
|
|
676
|
-
duration?: number
|
|
648
|
+
message: React.ReactNode;
|
|
649
|
+
closable?: boolean;
|
|
650
|
+
duration?: number;
|
|
677
651
|
} | null;
|
|
678
652
|
zenModeEnabled: boolean;
|
|
679
653
|
theme: import("@excalidraw/element/types").Theme;
|
|
@@ -684,45 +658,18 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
684
658
|
selectedGroupIds: {
|
|
685
659
|
[groupId: string]: boolean;
|
|
686
660
|
};
|
|
687
|
-
editingGroupId:
|
|
661
|
+
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
688
662
|
width: number;
|
|
689
663
|
height: number;
|
|
690
664
|
offsetTop: number;
|
|
691
665
|
offsetLeft: number;
|
|
692
|
-
fileHandle:
|
|
693
|
-
collaborators: Map<import("../types").SocketId,
|
|
694
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
695
|
-
button?: "up" | "down" | undefined;
|
|
696
|
-
selectedElementIds?: Readonly<{
|
|
697
|
-
[id: string]: true;
|
|
698
|
-
}> | undefined;
|
|
699
|
-
username?: string | null | undefined;
|
|
700
|
-
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
701
|
-
color?: {
|
|
702
|
-
background: string;
|
|
703
|
-
stroke: string;
|
|
704
|
-
} | undefined;
|
|
705
|
-
avatarUrl?: string | undefined;
|
|
706
|
-
id?: string | undefined;
|
|
707
|
-
socketId?: import("../types").SocketId | undefined;
|
|
708
|
-
isCurrentUser?: boolean | undefined;
|
|
709
|
-
isInCall?: boolean | undefined;
|
|
710
|
-
isSpeaking?: boolean | undefined;
|
|
711
|
-
isMuted?: boolean | undefined;
|
|
712
|
-
}>>;
|
|
666
|
+
fileHandle: FileSystemFileHandle | null;
|
|
667
|
+
collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
|
|
713
668
|
stats: {
|
|
714
669
|
open: boolean;
|
|
715
670
|
panels: number;
|
|
716
671
|
};
|
|
717
|
-
|
|
718
|
-
pasteDialog: {
|
|
719
|
-
shown: false;
|
|
720
|
-
data: null;
|
|
721
|
-
} | {
|
|
722
|
-
shown: true;
|
|
723
|
-
data: import("../charts").Spreadsheet;
|
|
724
|
-
};
|
|
725
|
-
showHyperlinkPopup: false | "editor" | "info";
|
|
672
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
726
673
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
727
674
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
728
675
|
originSnapOffset: {
|
|
@@ -733,16 +680,16 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
733
680
|
userToFollow: import("../types").UserToFollow | null;
|
|
734
681
|
followedBy: Set<import("../types").SocketId>;
|
|
735
682
|
isCropping: boolean;
|
|
736
|
-
croppingElementId:
|
|
683
|
+
croppingElementId: ExcalidrawElement["id"] | null;
|
|
737
684
|
searchMatches: Readonly<{
|
|
738
|
-
focusedId:
|
|
685
|
+
focusedId: ExcalidrawElement["id"] | null;
|
|
739
686
|
matches: readonly import("../types").SearchMatch[];
|
|
740
687
|
}> | null;
|
|
741
688
|
activeLockedId: string | null;
|
|
742
689
|
lockedMultiSelections: {
|
|
743
690
|
[groupId: string]: true;
|
|
744
691
|
};
|
|
745
|
-
|
|
692
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
746
693
|
};
|
|
747
694
|
captureUpdate: "EVENTUALLY";
|
|
748
695
|
};
|
|
@@ -757,7 +704,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
757
704
|
category: "element";
|
|
758
705
|
};
|
|
759
706
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
760
|
-
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _:
|
|
707
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
|
|
761
708
|
elements: ((Readonly<{
|
|
762
709
|
id: string;
|
|
763
710
|
x: number;
|
|
@@ -767,36 +714,32 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
767
714
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
768
715
|
strokeWidth: number;
|
|
769
716
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
770
|
-
roundness: {
|
|
717
|
+
roundness: null | {
|
|
771
718
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
772
|
-
value?: number
|
|
773
|
-
}
|
|
719
|
+
value?: number;
|
|
720
|
+
};
|
|
774
721
|
roughness: number;
|
|
775
722
|
opacity: number;
|
|
776
723
|
width: number;
|
|
777
724
|
height: number;
|
|
778
|
-
angle: import("
|
|
725
|
+
angle: import("@excalidraw/math").Radians;
|
|
779
726
|
seed: number;
|
|
780
727
|
version: number;
|
|
781
728
|
versionNonce: number;
|
|
782
729
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
783
730
|
isDeleted: boolean;
|
|
784
|
-
groupIds: readonly
|
|
731
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
785
732
|
frameId: string | null;
|
|
786
|
-
boundElements: readonly
|
|
787
|
-
id: string;
|
|
788
|
-
type: "arrow" | "text";
|
|
789
|
-
}>[] | null;
|
|
733
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
790
734
|
updated: number;
|
|
791
735
|
link: string | null;
|
|
792
736
|
locked: boolean;
|
|
793
|
-
customData?: Record<string, any
|
|
737
|
+
customData?: Record<string, any>;
|
|
794
738
|
}> & Readonly<{
|
|
795
739
|
type: "line" | "arrow";
|
|
796
|
-
points: readonly import("
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
endBinding: import("@excalidraw/element/types").PointBinding | null;
|
|
740
|
+
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
741
|
+
startBinding: import("@excalidraw/element/types").FixedPointBinding | null;
|
|
742
|
+
endBinding: import("@excalidraw/element/types").FixedPointBinding | null;
|
|
800
743
|
startArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
801
744
|
endArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
802
745
|
}> & {
|
|
@@ -810,30 +753,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
810
753
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
811
754
|
strokeWidth: number;
|
|
812
755
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
813
|
-
roundness: {
|
|
756
|
+
roundness: null | {
|
|
814
757
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
815
|
-
value?: number
|
|
816
|
-
}
|
|
758
|
+
value?: number;
|
|
759
|
+
};
|
|
817
760
|
roughness: number;
|
|
818
761
|
opacity: number;
|
|
819
762
|
width: number;
|
|
820
763
|
height: number;
|
|
821
|
-
angle: import("
|
|
764
|
+
angle: import("@excalidraw/math").Radians;
|
|
822
765
|
seed: number;
|
|
823
766
|
version: number;
|
|
824
767
|
versionNonce: number;
|
|
825
768
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
826
769
|
isDeleted: boolean;
|
|
827
|
-
groupIds: readonly
|
|
770
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
828
771
|
frameId: string | null;
|
|
829
|
-
boundElements: readonly
|
|
830
|
-
id: string;
|
|
831
|
-
type: "arrow" | "text";
|
|
832
|
-
}>[] | null;
|
|
772
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
833
773
|
updated: number;
|
|
834
774
|
link: string | null;
|
|
835
775
|
locked: boolean;
|
|
836
|
-
customData?: Record<string, any
|
|
776
|
+
customData?: Record<string, any>;
|
|
837
777
|
}> & {
|
|
838
778
|
type: "selection";
|
|
839
779
|
} & {
|
|
@@ -847,30 +787,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
847
787
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
848
788
|
strokeWidth: number;
|
|
849
789
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
850
|
-
roundness: {
|
|
790
|
+
roundness: null | {
|
|
851
791
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
852
|
-
value?: number
|
|
853
|
-
}
|
|
792
|
+
value?: number;
|
|
793
|
+
};
|
|
854
794
|
roughness: number;
|
|
855
795
|
opacity: number;
|
|
856
796
|
width: number;
|
|
857
797
|
height: number;
|
|
858
|
-
angle: import("
|
|
798
|
+
angle: import("@excalidraw/math").Radians;
|
|
859
799
|
seed: number;
|
|
860
800
|
version: number;
|
|
861
801
|
versionNonce: number;
|
|
862
802
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
863
803
|
isDeleted: boolean;
|
|
864
|
-
groupIds: readonly
|
|
804
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
865
805
|
frameId: string | null;
|
|
866
|
-
boundElements: readonly
|
|
867
|
-
id: string;
|
|
868
|
-
type: "arrow" | "text";
|
|
869
|
-
}>[] | null;
|
|
806
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
870
807
|
updated: number;
|
|
871
808
|
link: string | null;
|
|
872
809
|
locked: boolean;
|
|
873
|
-
customData?: Record<string, any
|
|
810
|
+
customData?: Record<string, any>;
|
|
874
811
|
}> & {
|
|
875
812
|
type: "rectangle";
|
|
876
813
|
} & {
|
|
@@ -884,30 +821,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
884
821
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
885
822
|
strokeWidth: number;
|
|
886
823
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
887
|
-
roundness: {
|
|
824
|
+
roundness: null | {
|
|
888
825
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
889
|
-
value?: number
|
|
890
|
-
}
|
|
826
|
+
value?: number;
|
|
827
|
+
};
|
|
891
828
|
roughness: number;
|
|
892
829
|
opacity: number;
|
|
893
830
|
width: number;
|
|
894
831
|
height: number;
|
|
895
|
-
angle: import("
|
|
832
|
+
angle: import("@excalidraw/math").Radians;
|
|
896
833
|
seed: number;
|
|
897
834
|
version: number;
|
|
898
835
|
versionNonce: number;
|
|
899
836
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
900
837
|
isDeleted: boolean;
|
|
901
|
-
groupIds: readonly
|
|
838
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
902
839
|
frameId: string | null;
|
|
903
|
-
boundElements: readonly
|
|
904
|
-
id: string;
|
|
905
|
-
type: "arrow" | "text";
|
|
906
|
-
}>[] | null;
|
|
840
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
907
841
|
updated: number;
|
|
908
842
|
link: string | null;
|
|
909
843
|
locked: boolean;
|
|
910
|
-
customData?: Record<string, any
|
|
844
|
+
customData?: Record<string, any>;
|
|
911
845
|
}> & {
|
|
912
846
|
type: "diamond";
|
|
913
847
|
} & {
|
|
@@ -921,30 +855,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
921
855
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
922
856
|
strokeWidth: number;
|
|
923
857
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
924
|
-
roundness: {
|
|
858
|
+
roundness: null | {
|
|
925
859
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
926
|
-
value?: number
|
|
927
|
-
}
|
|
860
|
+
value?: number;
|
|
861
|
+
};
|
|
928
862
|
roughness: number;
|
|
929
863
|
opacity: number;
|
|
930
864
|
width: number;
|
|
931
865
|
height: number;
|
|
932
|
-
angle: import("
|
|
866
|
+
angle: import("@excalidraw/math").Radians;
|
|
933
867
|
seed: number;
|
|
934
868
|
version: number;
|
|
935
869
|
versionNonce: number;
|
|
936
870
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
937
871
|
isDeleted: boolean;
|
|
938
|
-
groupIds: readonly
|
|
872
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
939
873
|
frameId: string | null;
|
|
940
|
-
boundElements: readonly
|
|
941
|
-
id: string;
|
|
942
|
-
type: "arrow" | "text";
|
|
943
|
-
}>[] | null;
|
|
874
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
944
875
|
updated: number;
|
|
945
876
|
link: string | null;
|
|
946
877
|
locked: boolean;
|
|
947
|
-
customData?: Record<string, any
|
|
878
|
+
customData?: Record<string, any>;
|
|
948
879
|
}> & {
|
|
949
880
|
type: "ellipse";
|
|
950
881
|
} & {
|
|
@@ -958,30 +889,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
958
889
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
959
890
|
strokeWidth: number;
|
|
960
891
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
961
|
-
roundness: {
|
|
892
|
+
roundness: null | {
|
|
962
893
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
963
|
-
value?: number
|
|
964
|
-
}
|
|
894
|
+
value?: number;
|
|
895
|
+
};
|
|
965
896
|
roughness: number;
|
|
966
897
|
opacity: number;
|
|
967
898
|
width: number;
|
|
968
899
|
height: number;
|
|
969
|
-
angle: import("
|
|
900
|
+
angle: import("@excalidraw/math").Radians;
|
|
970
901
|
seed: number;
|
|
971
902
|
version: number;
|
|
972
903
|
versionNonce: number;
|
|
973
904
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
974
905
|
isDeleted: boolean;
|
|
975
|
-
groupIds: readonly
|
|
906
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
976
907
|
frameId: string | null;
|
|
977
|
-
boundElements: readonly
|
|
978
|
-
id: string;
|
|
979
|
-
type: "arrow" | "text";
|
|
980
|
-
}>[] | null;
|
|
908
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
981
909
|
updated: number;
|
|
982
910
|
link: string | null;
|
|
983
911
|
locked: boolean;
|
|
984
|
-
customData?: Record<string, any
|
|
912
|
+
customData?: Record<string, any>;
|
|
985
913
|
}> & Readonly<{
|
|
986
914
|
type: "embeddable";
|
|
987
915
|
}> & {
|
|
@@ -995,35 +923,32 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
995
923
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
996
924
|
strokeWidth: number;
|
|
997
925
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
998
|
-
roundness: {
|
|
926
|
+
roundness: null | {
|
|
999
927
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1000
|
-
value?: number
|
|
1001
|
-
}
|
|
928
|
+
value?: number;
|
|
929
|
+
};
|
|
1002
930
|
roughness: number;
|
|
1003
931
|
opacity: number;
|
|
1004
932
|
width: number;
|
|
1005
933
|
height: number;
|
|
1006
|
-
angle: import("
|
|
934
|
+
angle: import("@excalidraw/math").Radians;
|
|
1007
935
|
seed: number;
|
|
1008
936
|
version: number;
|
|
1009
937
|
versionNonce: number;
|
|
1010
938
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1011
939
|
isDeleted: boolean;
|
|
1012
|
-
groupIds: readonly
|
|
940
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1013
941
|
frameId: string | null;
|
|
1014
|
-
boundElements: readonly
|
|
1015
|
-
id: string;
|
|
1016
|
-
type: "arrow" | "text";
|
|
1017
|
-
}>[] | null;
|
|
942
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1018
943
|
updated: number;
|
|
1019
944
|
link: string | null;
|
|
1020
945
|
locked: boolean;
|
|
1021
|
-
customData?: Record<string, any
|
|
946
|
+
customData?: Record<string, any>;
|
|
1022
947
|
}> & Readonly<{
|
|
1023
948
|
type: "iframe";
|
|
1024
949
|
customData?: {
|
|
1025
|
-
generationData?: import("@excalidraw/element/types").MagicGenerationData
|
|
1026
|
-
}
|
|
950
|
+
generationData?: import("@excalidraw/element/types").MagicGenerationData;
|
|
951
|
+
};
|
|
1027
952
|
}> & {
|
|
1028
953
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1029
954
|
}) | (Readonly<{
|
|
@@ -1035,34 +960,31 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1035
960
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1036
961
|
strokeWidth: number;
|
|
1037
962
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1038
|
-
roundness: {
|
|
963
|
+
roundness: null | {
|
|
1039
964
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1040
|
-
value?: number
|
|
1041
|
-
}
|
|
965
|
+
value?: number;
|
|
966
|
+
};
|
|
1042
967
|
roughness: number;
|
|
1043
968
|
opacity: number;
|
|
1044
969
|
width: number;
|
|
1045
970
|
height: number;
|
|
1046
|
-
angle: import("
|
|
971
|
+
angle: import("@excalidraw/math").Radians;
|
|
1047
972
|
seed: number;
|
|
1048
973
|
version: number;
|
|
1049
974
|
versionNonce: number;
|
|
1050
975
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1051
976
|
isDeleted: boolean;
|
|
1052
|
-
groupIds: readonly
|
|
977
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1053
978
|
frameId: string | null;
|
|
1054
|
-
boundElements: readonly
|
|
1055
|
-
id: string;
|
|
1056
|
-
type: "arrow" | "text";
|
|
1057
|
-
}>[] | null;
|
|
979
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1058
980
|
updated: number;
|
|
1059
981
|
link: string | null;
|
|
1060
982
|
locked: boolean;
|
|
1061
|
-
customData?: Record<string, any
|
|
983
|
+
customData?: Record<string, any>;
|
|
1062
984
|
}> & Readonly<{
|
|
1063
985
|
type: "image";
|
|
1064
986
|
fileId: import("@excalidraw/element/types").FileId | null;
|
|
1065
|
-
status: "pending" | "
|
|
987
|
+
status: "pending" | "saved" | "error";
|
|
1066
988
|
scale: [number, number];
|
|
1067
989
|
crop: import("@excalidraw/element/types").ImageCrop | null;
|
|
1068
990
|
}> & {
|
|
@@ -1076,30 +998,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1076
998
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1077
999
|
strokeWidth: number;
|
|
1078
1000
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1079
|
-
roundness: {
|
|
1001
|
+
roundness: null | {
|
|
1080
1002
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1081
|
-
value?: number
|
|
1082
|
-
}
|
|
1003
|
+
value?: number;
|
|
1004
|
+
};
|
|
1083
1005
|
roughness: number;
|
|
1084
1006
|
opacity: number;
|
|
1085
1007
|
width: number;
|
|
1086
1008
|
height: number;
|
|
1087
|
-
angle: import("
|
|
1009
|
+
angle: import("@excalidraw/math").Radians;
|
|
1088
1010
|
seed: number;
|
|
1089
1011
|
version: number;
|
|
1090
1012
|
versionNonce: number;
|
|
1091
1013
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1092
1014
|
isDeleted: boolean;
|
|
1093
|
-
groupIds: readonly
|
|
1015
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1094
1016
|
frameId: string | null;
|
|
1095
|
-
boundElements: readonly
|
|
1096
|
-
id: string;
|
|
1097
|
-
type: "arrow" | "text";
|
|
1098
|
-
}>[] | null;
|
|
1017
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1099
1018
|
updated: number;
|
|
1100
1019
|
link: string | null;
|
|
1101
1020
|
locked: boolean;
|
|
1102
|
-
customData?: Record<string, any
|
|
1021
|
+
customData?: Record<string, any>;
|
|
1103
1022
|
}> & {
|
|
1104
1023
|
type: "frame";
|
|
1105
1024
|
name: string | null;
|
|
@@ -1114,30 +1033,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1114
1033
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1115
1034
|
strokeWidth: number;
|
|
1116
1035
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1117
|
-
roundness: {
|
|
1036
|
+
roundness: null | {
|
|
1118
1037
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1119
|
-
value?: number
|
|
1120
|
-
}
|
|
1038
|
+
value?: number;
|
|
1039
|
+
};
|
|
1121
1040
|
roughness: number;
|
|
1122
1041
|
opacity: number;
|
|
1123
1042
|
width: number;
|
|
1124
1043
|
height: number;
|
|
1125
|
-
angle: import("
|
|
1044
|
+
angle: import("@excalidraw/math").Radians;
|
|
1126
1045
|
seed: number;
|
|
1127
1046
|
version: number;
|
|
1128
1047
|
versionNonce: number;
|
|
1129
1048
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1130
1049
|
isDeleted: boolean;
|
|
1131
|
-
groupIds: readonly
|
|
1050
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1132
1051
|
frameId: string | null;
|
|
1133
|
-
boundElements: readonly
|
|
1134
|
-
id: string;
|
|
1135
|
-
type: "arrow" | "text";
|
|
1136
|
-
}>[] | null;
|
|
1052
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1137
1053
|
updated: number;
|
|
1138
1054
|
link: string | null;
|
|
1139
1055
|
locked: boolean;
|
|
1140
|
-
customData?: Record<string, any
|
|
1056
|
+
customData?: Record<string, any>;
|
|
1141
1057
|
}> & {
|
|
1142
1058
|
type: "magicframe";
|
|
1143
1059
|
name: string | null;
|
|
@@ -1152,38 +1068,35 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1152
1068
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1153
1069
|
strokeWidth: number;
|
|
1154
1070
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1155
|
-
roundness: {
|
|
1071
|
+
roundness: null | {
|
|
1156
1072
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1157
|
-
value?: number
|
|
1158
|
-
}
|
|
1073
|
+
value?: number;
|
|
1074
|
+
};
|
|
1159
1075
|
roughness: number;
|
|
1160
1076
|
opacity: number;
|
|
1161
1077
|
width: number;
|
|
1162
1078
|
height: number;
|
|
1163
|
-
angle: import("
|
|
1079
|
+
angle: import("@excalidraw/math").Radians;
|
|
1164
1080
|
seed: number;
|
|
1165
1081
|
version: number;
|
|
1166
1082
|
versionNonce: number;
|
|
1167
1083
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1168
1084
|
isDeleted: boolean;
|
|
1169
|
-
groupIds: readonly
|
|
1085
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1170
1086
|
frameId: string | null;
|
|
1171
|
-
boundElements: readonly
|
|
1172
|
-
id: string;
|
|
1173
|
-
type: "arrow" | "text";
|
|
1174
|
-
}>[] | null;
|
|
1087
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1175
1088
|
updated: number;
|
|
1176
1089
|
link: string | null;
|
|
1177
1090
|
locked: boolean;
|
|
1178
|
-
customData?: Record<string, any
|
|
1091
|
+
customData?: Record<string, any>;
|
|
1179
1092
|
}> & Readonly<{
|
|
1180
1093
|
type: "text";
|
|
1181
1094
|
fontSize: number;
|
|
1182
|
-
fontFamily:
|
|
1095
|
+
fontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1183
1096
|
text: string;
|
|
1184
|
-
textAlign:
|
|
1185
|
-
verticalAlign:
|
|
1186
|
-
containerId:
|
|
1097
|
+
textAlign: import("@excalidraw/element/types").TextAlign;
|
|
1098
|
+
verticalAlign: import("@excalidraw/element/types").VerticalAlign;
|
|
1099
|
+
containerId: import("@excalidraw/element/types").ExcalidrawGenericElement["id"] | null;
|
|
1187
1100
|
originalText: string;
|
|
1188
1101
|
autoResize: boolean;
|
|
1189
1102
|
lineHeight: number & {
|
|
@@ -1200,36 +1113,32 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1200
1113
|
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1201
1114
|
strokeWidth: number;
|
|
1202
1115
|
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1203
|
-
roundness: {
|
|
1116
|
+
roundness: null | {
|
|
1204
1117
|
type: import("@excalidraw/element/types").RoundnessType;
|
|
1205
|
-
value?: number
|
|
1206
|
-
}
|
|
1118
|
+
value?: number;
|
|
1119
|
+
};
|
|
1207
1120
|
roughness: number;
|
|
1208
1121
|
opacity: number;
|
|
1209
1122
|
width: number;
|
|
1210
1123
|
height: number;
|
|
1211
|
-
angle: import("
|
|
1124
|
+
angle: import("@excalidraw/math").Radians;
|
|
1212
1125
|
seed: number;
|
|
1213
1126
|
version: number;
|
|
1214
1127
|
versionNonce: number;
|
|
1215
1128
|
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1216
1129
|
isDeleted: boolean;
|
|
1217
|
-
groupIds: readonly
|
|
1130
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
1218
1131
|
frameId: string | null;
|
|
1219
|
-
boundElements: readonly
|
|
1220
|
-
id: string;
|
|
1221
|
-
type: "arrow" | "text";
|
|
1222
|
-
}>[] | null;
|
|
1132
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
1223
1133
|
updated: number;
|
|
1224
1134
|
link: string | null;
|
|
1225
1135
|
locked: boolean;
|
|
1226
|
-
customData?: Record<string, any
|
|
1136
|
+
customData?: Record<string, any>;
|
|
1227
1137
|
}> & Readonly<{
|
|
1228
1138
|
type: "freedraw";
|
|
1229
|
-
points: readonly import("
|
|
1139
|
+
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
1230
1140
|
pressures: readonly number[];
|
|
1231
1141
|
simulatePressure: boolean;
|
|
1232
|
-
lastCommittedPoint: import("../../math/src").LocalPoint | null;
|
|
1233
1142
|
}> & {
|
|
1234
1143
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1235
1144
|
}) | import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameElement>)[];
|