@excalidraw/excalidraw 0.18.0-817d8c5 → 0.18.0-864353b
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-LMHBUWQS.js → chunk-7YMZV3TY.js} +15 -4
- package/dist/dev/chunk-7YMZV3TY.js.map +7 -0
- package/dist/dev/chunk-BBNNHA7I.js +7 -0
- package/dist/dev/chunk-BBNNHA7I.js.map +7 -0
- package/dist/dev/chunk-FB2NA5UG.js +4132 -0
- package/dist/dev/chunk-FB2NA5UG.js.map +7 -0
- package/dist/dev/{chunk-3SN6HYVK.js → chunk-LL55DS44.js} +19504 -21522
- package/dist/dev/chunk-LL55DS44.js.map +7 -0
- package/dist/dev/data/{image-V26YBSDB.js → image-OFYK7EOY.js} +3 -3
- package/dist/dev/index.css +3098 -3023
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +27238 -22881
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-OZCJJ2HN.js → en-KIY5SGI3.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-F44EGBV2.js +33 -0
- package/dist/prod/chunk-LS7FJGPW.js +86 -0
- package/dist/prod/{chunk-6U3AYISY.js → chunk-OUULIERA.js} +4 -4
- package/dist/prod/chunk-UH6Q3EIV.js +7 -0
- package/dist/prod/data/image-CUOH64HE.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +20 -16
- package/dist/prod/locales/{en-B4ZKOASM.js → en-GCLCIHXH.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 +18 -7
- package/dist/types/{excalidraw → common/src}/emitter.d.ts +1 -1
- package/dist/types/{excalidraw/fonts/FontMetadata.d.ts → common/src/font-metadata.d.ts} +15 -5
- package/dist/types/common/src/index.d.ts +12 -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}/utility-types.d.ts +5 -0
- package/dist/types/{excalidraw → common/src}/utils.d.ts +24 -11
- package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +14 -17
- 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 +24 -16
- 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/change.d.ts → element/src/delta.d.ts} +41 -36
- 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 +8 -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/element/src/index.d.ts +59 -0
- package/dist/types/{excalidraw/element → element/src}/linearElementEditor.d.ts +22 -33
- package/dist/types/{excalidraw/element → element/src}/mutateElement.d.ts +11 -3
- package/dist/types/{excalidraw/element → element/src}/newElement.d.ts +4 -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 -7
- package/dist/types/element/src/shapes.d.ts +27 -0
- package/dist/types/{excalidraw/element → element/src}/showSelectedShapeActions.d.ts +1 -1
- package/dist/types/{excalidraw/element → element/src}/sizeHelpers.d.ts +3 -3
- package/dist/types/element/src/store.d.ts +227 -0
- package/dist/types/{excalidraw/element → element/src}/textElement.d.ts +8 -7
- package/dist/types/{excalidraw/element → element/src}/transformHandles.d.ts +3 -3
- package/dist/types/{excalidraw/element → element/src}/typeChecks.d.ts +17 -3
- package/dist/types/{excalidraw/element → element/src}/types.d.ts +16 -3
- package/dist/types/{excalidraw → element/src}/zindex.d.ts +5 -4
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +91 -94
- package/dist/types/excalidraw/actions/actionAlign.d.ts +15 -15
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +66 -68
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +576 -413
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +195 -200
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +32 -33
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +93 -95
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +7 -7
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +5 -9
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +36 -37
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +78 -82
- package/dist/types/excalidraw/{element/embeddable.d.ts → actions/actionEmbeddable.d.ts} +32 -43
- package/dist/types/excalidraw/actions/actionExport.d.ts +295 -304
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +95 -57
- package/dist/types/excalidraw/actions/actionFlip.d.ts +7 -7
- package/dist/types/excalidraw/actions/actionFrame.d.ts +203 -207
- package/dist/types/excalidraw/actions/actionGroup.d.ts +65 -67
- package/dist/types/excalidraw/actions/actionHistory.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +526 -34
- package/dist/types/excalidraw/actions/actionLink.d.ts +36 -37
- package/dist/types/excalidraw/actions/actionMenu.d.ts +95 -98
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +61 -63
- package/dist/types/excalidraw/actions/actionProperties.d.ts +428 -435
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +33 -34
- package/dist/types/excalidraw/actions/actionStyles.d.ts +38 -39
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +34 -35
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +34 -35
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +34 -207
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +33 -35
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +34 -36
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +34 -36
- package/dist/types/excalidraw/actions/actionZindex.d.ts +16 -16
- 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 +6 -5
- package/dist/types/excalidraw/animated-trail.d.ts +7 -1
- package/dist/types/excalidraw/appState.d.ts +33 -23
- 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 +38 -20
- package/dist/types/excalidraw/components/Avatar.d.ts +1 -1
- package/dist/types/excalidraw/components/ButtonIcon.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +9 -5
- package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +1 -2
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +4 -5
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +3 -4
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +3 -3
- package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +4 -4
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +2 -2
- 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/ConvertElementTypePopup.d.ts +23 -0
- 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/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
- package/dist/types/excalidraw/components/Range.d.ts +3 -3
- 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/Collapsible.d.ts +2 -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 -11
- 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/UnlockPopup.d.ts +8 -0
- 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 +3 -2
- package/dist/types/excalidraw/components/icons.d.ts +5 -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 +3 -3
- 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/editor-jotai.d.ts +6 -6
- 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 +15 -23
- package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
- package/dist/types/excalidraw/i18n.d.ts +1 -1
- package/dist/types/excalidraw/index.d.ts +16 -15
- package/dist/types/excalidraw/laser-trails.d.ts +1 -1
- package/dist/types/excalidraw/lasso/index.d.ts +16 -0
- package/dist/types/excalidraw/lasso/utils.d.ts +12 -0
- package/dist/types/excalidraw/renderer/helpers.d.ts +8 -3
- 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/types.d.ts +39 -18
- package/dist/types/excalidraw/visualdebug.d.ts +2 -2
- package/dist/types/excalidraw/{element → wysiwyg}/textWysiwyg.d.ts +4 -2
- package/dist/types/math/{angle.d.ts → src/angle.d.ts} +2 -0
- package/dist/types/math/{curve.d.ts → src/curve.d.ts} +2 -0
- package/dist/types/math/{point.d.ts → src/point.d.ts} +3 -3
- 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/math/{vector.d.ts → src/vector.d.ts} +4 -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 +70 -94
- package/package.json +16 -4
- package/dist/dev/chunk-3SN6HYVK.js.map +0 -7
- package/dist/dev/chunk-53KHN5WM.js +0 -7
- package/dist/dev/chunk-53KHN5WM.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/chunk-G5N3DNGT.js +0 -7
- package/dist/prod/data/image-N4WCURRR.js +0 -1
- package/dist/types/excalidraw/align.d.ts +0 -7
- package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
- package/dist/types/excalidraw/element/index.d.ts +0 -26
- package/dist/types/excalidraw/shapes.d.ts +0 -85
- package/dist/types/excalidraw/store.d.ts +0 -129
- package/dist/dev/data/{image-V26YBSDB.js.map → image-OFYK7EOY.js.map} +0 -0
- package/dist/dev/locales/{en-OZCJJ2HN.js.map → en-KIY5SGI3.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/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/{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
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { LinearElementEditor } from "@excalidraw/element";
|
|
3
|
+
import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement } from "@excalidraw/element/types";
|
|
2
4
|
import type { AppClassProperties, AppState, Primitive } from "../types";
|
|
3
|
-
import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement } from "../element/types";
|
|
4
|
-
import { LinearElementEditor } from "../element/linearElementEditor";
|
|
5
5
|
export declare const changeProperty: (elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: ExcalidrawElement) => ExcalidrawElement, includeBoundText?: boolean) => ExcalidrawElement[];
|
|
6
|
-
export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[],
|
|
6
|
+
export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], app: AppClassProperties, getAttribute: (element: ExcalidrawElement) => T, isRelevantElement: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
|
|
7
7
|
export declare const actionChangeStrokeColor: {
|
|
8
8
|
name: "changeStrokeColor";
|
|
9
9
|
label: string;
|
|
10
10
|
trackEvent: false;
|
|
11
|
-
perform: (elements: readonly import("
|
|
12
|
-
PanelComponent: ({ elements, appState, updateData,
|
|
11
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
12
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
} & {
|
|
14
14
|
keyTest?: undefined;
|
|
15
15
|
};
|
|
@@ -17,8 +17,16 @@ export declare const actionChangeBackgroundColor: {
|
|
|
17
17
|
name: "changeBackgroundColor";
|
|
18
18
|
label: string;
|
|
19
19
|
trackEvent: false;
|
|
20
|
-
perform: (elements: readonly import("
|
|
21
|
-
|
|
20
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
|
|
21
|
+
appState: any;
|
|
22
|
+
captureUpdate: "EVENTUALLY";
|
|
23
|
+
elements?: undefined;
|
|
24
|
+
} | {
|
|
25
|
+
elements: ExcalidrawElement[];
|
|
26
|
+
appState: any;
|
|
27
|
+
captureUpdate: "IMMEDIATELY";
|
|
28
|
+
};
|
|
29
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
30
|
} & {
|
|
23
31
|
keyTest?: undefined;
|
|
24
32
|
};
|
|
@@ -26,7 +34,7 @@ export declare const actionChangeFillStyle: {
|
|
|
26
34
|
name: "changeFillStyle";
|
|
27
35
|
label: string;
|
|
28
36
|
trackEvent: false;
|
|
29
|
-
perform: (elements: readonly import("
|
|
37
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
|
|
30
38
|
elements: ExcalidrawElement[];
|
|
31
39
|
appState: {
|
|
32
40
|
currentItemFillStyle: any;
|
|
@@ -39,17 +47,17 @@ export declare const actionChangeFillStyle: {
|
|
|
39
47
|
isLoading: boolean;
|
|
40
48
|
errorMessage: import("react").ReactNode;
|
|
41
49
|
activeEmbeddable: {
|
|
42
|
-
element: import("
|
|
50
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
43
51
|
state: "hover" | "active";
|
|
44
52
|
} | null;
|
|
45
|
-
newElement: import("
|
|
46
|
-
resizingElement: import("
|
|
47
|
-
multiElement: import("
|
|
48
|
-
selectionElement: import("
|
|
53
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
54
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
55
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
56
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
49
57
|
isBindingEnabled: boolean;
|
|
50
|
-
startBoundElement: import("
|
|
51
|
-
suggestedBindings: import("
|
|
52
|
-
frameToHighlight: import("
|
|
58
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
59
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
60
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
53
61
|
frameRendering: {
|
|
54
62
|
enabled: boolean;
|
|
55
63
|
name: boolean;
|
|
@@ -57,12 +65,13 @@ export declare const actionChangeFillStyle: {
|
|
|
57
65
|
clip: boolean;
|
|
58
66
|
};
|
|
59
67
|
editingFrame: string | null;
|
|
60
|
-
elementsToHighlight: import("
|
|
61
|
-
editingTextElement: import("
|
|
68
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
69
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
62
70
|
editingLinearElement: LinearElementEditor | null;
|
|
63
71
|
activeTool: {
|
|
64
72
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
65
73
|
locked: boolean;
|
|
74
|
+
fromSelection: boolean;
|
|
66
75
|
} & import("../types").ActiveTool;
|
|
67
76
|
penMode: boolean;
|
|
68
77
|
penDetected: boolean;
|
|
@@ -73,7 +82,7 @@ export declare const actionChangeFillStyle: {
|
|
|
73
82
|
currentItemStrokeColor: string;
|
|
74
83
|
currentItemBackgroundColor: string;
|
|
75
84
|
currentItemStrokeWidth: number;
|
|
76
|
-
currentItemStrokeStyle: import("
|
|
85
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
77
86
|
currentItemRoughness: number;
|
|
78
87
|
currentItemOpacity: number;
|
|
79
88
|
currentItemFontFamily: number;
|
|
@@ -82,7 +91,7 @@ export declare const actionChangeFillStyle: {
|
|
|
82
91
|
currentItemStartArrowhead: Arrowhead | null;
|
|
83
92
|
currentItemEndArrowhead: Arrowhead | null;
|
|
84
93
|
currentHoveredFontFamily: number | null;
|
|
85
|
-
currentItemRoundness: import("
|
|
94
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
86
95
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
87
96
|
viewBackgroundColor: string;
|
|
88
97
|
scrollX: number;
|
|
@@ -113,7 +122,7 @@ export declare const actionChangeFillStyle: {
|
|
|
113
122
|
sourceElementId: string;
|
|
114
123
|
} | null;
|
|
115
124
|
defaultSidebarDockedPreference: boolean;
|
|
116
|
-
lastPointerDownWith: import("
|
|
125
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
117
126
|
selectedElementIds: Readonly<{
|
|
118
127
|
[id: string]: true;
|
|
119
128
|
}>;
|
|
@@ -131,7 +140,7 @@ export declare const actionChangeFillStyle: {
|
|
|
131
140
|
duration?: number | undefined;
|
|
132
141
|
} | null;
|
|
133
142
|
zenModeEnabled: boolean;
|
|
134
|
-
theme: import("
|
|
143
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
135
144
|
gridSize: number;
|
|
136
145
|
gridStep: number;
|
|
137
146
|
gridModeEnabled: boolean;
|
|
@@ -152,7 +161,7 @@ export declare const actionChangeFillStyle: {
|
|
|
152
161
|
[id: string]: true;
|
|
153
162
|
}> | undefined;
|
|
154
163
|
username?: string | null | undefined;
|
|
155
|
-
userState?: import("
|
|
164
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
156
165
|
color?: {
|
|
157
166
|
background: string;
|
|
158
167
|
stroke: string;
|
|
@@ -169,7 +178,7 @@ export declare const actionChangeFillStyle: {
|
|
|
169
178
|
open: boolean;
|
|
170
179
|
panels: number;
|
|
171
180
|
};
|
|
172
|
-
currentChartType: import("
|
|
181
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
173
182
|
pasteDialog: {
|
|
174
183
|
shown: false;
|
|
175
184
|
data: null;
|
|
@@ -190,20 +199,18 @@ export declare const actionChangeFillStyle: {
|
|
|
190
199
|
followedBy: Set<import("../types").SocketId>;
|
|
191
200
|
isCropping: boolean;
|
|
192
201
|
croppingElementId: string | null;
|
|
193
|
-
searchMatches:
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}[];
|
|
202
|
-
}[];
|
|
202
|
+
searchMatches: Readonly<{
|
|
203
|
+
focusedId: string | null;
|
|
204
|
+
matches: readonly import("../types").SearchMatch[];
|
|
205
|
+
}> | null;
|
|
206
|
+
activeLockedId: string | null;
|
|
207
|
+
lockedMultiSelections: {
|
|
208
|
+
[groupId: string]: true;
|
|
209
|
+
};
|
|
203
210
|
};
|
|
204
211
|
captureUpdate: "IMMEDIATELY";
|
|
205
212
|
};
|
|
206
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
213
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
207
214
|
} & {
|
|
208
215
|
keyTest?: undefined;
|
|
209
216
|
};
|
|
@@ -211,7 +218,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
211
218
|
name: "changeStrokeWidth";
|
|
212
219
|
label: string;
|
|
213
220
|
trackEvent: false;
|
|
214
|
-
perform: (elements: readonly import("
|
|
221
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
215
222
|
elements: ExcalidrawElement[];
|
|
216
223
|
appState: {
|
|
217
224
|
currentItemStrokeWidth: any;
|
|
@@ -224,17 +231,17 @@ export declare const actionChangeStrokeWidth: {
|
|
|
224
231
|
isLoading: boolean;
|
|
225
232
|
errorMessage: import("react").ReactNode;
|
|
226
233
|
activeEmbeddable: {
|
|
227
|
-
element: import("
|
|
234
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
228
235
|
state: "hover" | "active";
|
|
229
236
|
} | null;
|
|
230
|
-
newElement: import("
|
|
231
|
-
resizingElement: import("
|
|
232
|
-
multiElement: import("
|
|
233
|
-
selectionElement: import("
|
|
237
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
238
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
239
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
240
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
234
241
|
isBindingEnabled: boolean;
|
|
235
|
-
startBoundElement: import("
|
|
236
|
-
suggestedBindings: import("
|
|
237
|
-
frameToHighlight: import("
|
|
242
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
243
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
244
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
238
245
|
frameRendering: {
|
|
239
246
|
enabled: boolean;
|
|
240
247
|
name: boolean;
|
|
@@ -242,12 +249,13 @@ export declare const actionChangeStrokeWidth: {
|
|
|
242
249
|
clip: boolean;
|
|
243
250
|
};
|
|
244
251
|
editingFrame: string | null;
|
|
245
|
-
elementsToHighlight: import("
|
|
246
|
-
editingTextElement: import("
|
|
252
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
253
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
247
254
|
editingLinearElement: LinearElementEditor | null;
|
|
248
255
|
activeTool: {
|
|
249
256
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
250
257
|
locked: boolean;
|
|
258
|
+
fromSelection: boolean;
|
|
251
259
|
} & import("../types").ActiveTool;
|
|
252
260
|
penMode: boolean;
|
|
253
261
|
penDetected: boolean;
|
|
@@ -257,8 +265,8 @@ export declare const actionChangeStrokeWidth: {
|
|
|
257
265
|
exportScale: number;
|
|
258
266
|
currentItemStrokeColor: string;
|
|
259
267
|
currentItemBackgroundColor: string;
|
|
260
|
-
currentItemFillStyle: import("
|
|
261
|
-
currentItemStrokeStyle: import("
|
|
268
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
269
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
262
270
|
currentItemRoughness: number;
|
|
263
271
|
currentItemOpacity: number;
|
|
264
272
|
currentItemFontFamily: number;
|
|
@@ -267,7 +275,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
267
275
|
currentItemStartArrowhead: Arrowhead | null;
|
|
268
276
|
currentItemEndArrowhead: Arrowhead | null;
|
|
269
277
|
currentHoveredFontFamily: number | null;
|
|
270
|
-
currentItemRoundness: import("
|
|
278
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
271
279
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
272
280
|
viewBackgroundColor: string;
|
|
273
281
|
scrollX: number;
|
|
@@ -298,7 +306,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
298
306
|
sourceElementId: string;
|
|
299
307
|
} | null;
|
|
300
308
|
defaultSidebarDockedPreference: boolean;
|
|
301
|
-
lastPointerDownWith: import("
|
|
309
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
302
310
|
selectedElementIds: Readonly<{
|
|
303
311
|
[id: string]: true;
|
|
304
312
|
}>;
|
|
@@ -316,7 +324,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
316
324
|
duration?: number | undefined;
|
|
317
325
|
} | null;
|
|
318
326
|
zenModeEnabled: boolean;
|
|
319
|
-
theme: import("
|
|
327
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
320
328
|
gridSize: number;
|
|
321
329
|
gridStep: number;
|
|
322
330
|
gridModeEnabled: boolean;
|
|
@@ -337,7 +345,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
337
345
|
[id: string]: true;
|
|
338
346
|
}> | undefined;
|
|
339
347
|
username?: string | null | undefined;
|
|
340
|
-
userState?: import("
|
|
348
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
341
349
|
color?: {
|
|
342
350
|
background: string;
|
|
343
351
|
stroke: string;
|
|
@@ -354,7 +362,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
354
362
|
open: boolean;
|
|
355
363
|
panels: number;
|
|
356
364
|
};
|
|
357
|
-
currentChartType: import("
|
|
365
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
358
366
|
pasteDialog: {
|
|
359
367
|
shown: false;
|
|
360
368
|
data: null;
|
|
@@ -375,20 +383,18 @@ export declare const actionChangeStrokeWidth: {
|
|
|
375
383
|
followedBy: Set<import("../types").SocketId>;
|
|
376
384
|
isCropping: boolean;
|
|
377
385
|
croppingElementId: string | null;
|
|
378
|
-
searchMatches:
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
}[];
|
|
387
|
-
}[];
|
|
386
|
+
searchMatches: Readonly<{
|
|
387
|
+
focusedId: string | null;
|
|
388
|
+
matches: readonly import("../types").SearchMatch[];
|
|
389
|
+
}> | null;
|
|
390
|
+
activeLockedId: string | null;
|
|
391
|
+
lockedMultiSelections: {
|
|
392
|
+
[groupId: string]: true;
|
|
393
|
+
};
|
|
388
394
|
};
|
|
389
395
|
captureUpdate: "IMMEDIATELY";
|
|
390
396
|
};
|
|
391
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
397
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
392
398
|
} & {
|
|
393
399
|
keyTest?: undefined;
|
|
394
400
|
};
|
|
@@ -396,7 +402,7 @@ export declare const actionChangeSloppiness: {
|
|
|
396
402
|
name: "changeSloppiness";
|
|
397
403
|
label: string;
|
|
398
404
|
trackEvent: false;
|
|
399
|
-
perform: (elements: readonly import("
|
|
405
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
400
406
|
elements: ExcalidrawElement[];
|
|
401
407
|
appState: {
|
|
402
408
|
currentItemRoughness: any;
|
|
@@ -409,17 +415,17 @@ export declare const actionChangeSloppiness: {
|
|
|
409
415
|
isLoading: boolean;
|
|
410
416
|
errorMessage: import("react").ReactNode;
|
|
411
417
|
activeEmbeddable: {
|
|
412
|
-
element: import("
|
|
418
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
413
419
|
state: "hover" | "active";
|
|
414
420
|
} | null;
|
|
415
|
-
newElement: import("
|
|
416
|
-
resizingElement: import("
|
|
417
|
-
multiElement: import("
|
|
418
|
-
selectionElement: import("
|
|
421
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
422
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
423
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
424
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
419
425
|
isBindingEnabled: boolean;
|
|
420
|
-
startBoundElement: import("
|
|
421
|
-
suggestedBindings: import("
|
|
422
|
-
frameToHighlight: import("
|
|
426
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
427
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
428
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
423
429
|
frameRendering: {
|
|
424
430
|
enabled: boolean;
|
|
425
431
|
name: boolean;
|
|
@@ -427,12 +433,13 @@ export declare const actionChangeSloppiness: {
|
|
|
427
433
|
clip: boolean;
|
|
428
434
|
};
|
|
429
435
|
editingFrame: string | null;
|
|
430
|
-
elementsToHighlight: import("
|
|
431
|
-
editingTextElement: import("
|
|
436
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
437
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
432
438
|
editingLinearElement: LinearElementEditor | null;
|
|
433
439
|
activeTool: {
|
|
434
440
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
435
441
|
locked: boolean;
|
|
442
|
+
fromSelection: boolean;
|
|
436
443
|
} & import("../types").ActiveTool;
|
|
437
444
|
penMode: boolean;
|
|
438
445
|
penDetected: boolean;
|
|
@@ -442,9 +449,9 @@ export declare const actionChangeSloppiness: {
|
|
|
442
449
|
exportScale: number;
|
|
443
450
|
currentItemStrokeColor: string;
|
|
444
451
|
currentItemBackgroundColor: string;
|
|
445
|
-
currentItemFillStyle: import("
|
|
452
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
446
453
|
currentItemStrokeWidth: number;
|
|
447
|
-
currentItemStrokeStyle: import("
|
|
454
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
448
455
|
currentItemOpacity: number;
|
|
449
456
|
currentItemFontFamily: number;
|
|
450
457
|
currentItemFontSize: number;
|
|
@@ -452,7 +459,7 @@ export declare const actionChangeSloppiness: {
|
|
|
452
459
|
currentItemStartArrowhead: Arrowhead | null;
|
|
453
460
|
currentItemEndArrowhead: Arrowhead | null;
|
|
454
461
|
currentHoveredFontFamily: number | null;
|
|
455
|
-
currentItemRoundness: import("
|
|
462
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
456
463
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
457
464
|
viewBackgroundColor: string;
|
|
458
465
|
scrollX: number;
|
|
@@ -483,7 +490,7 @@ export declare const actionChangeSloppiness: {
|
|
|
483
490
|
sourceElementId: string;
|
|
484
491
|
} | null;
|
|
485
492
|
defaultSidebarDockedPreference: boolean;
|
|
486
|
-
lastPointerDownWith: import("
|
|
493
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
487
494
|
selectedElementIds: Readonly<{
|
|
488
495
|
[id: string]: true;
|
|
489
496
|
}>;
|
|
@@ -501,7 +508,7 @@ export declare const actionChangeSloppiness: {
|
|
|
501
508
|
duration?: number | undefined;
|
|
502
509
|
} | null;
|
|
503
510
|
zenModeEnabled: boolean;
|
|
504
|
-
theme: import("
|
|
511
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
505
512
|
gridSize: number;
|
|
506
513
|
gridStep: number;
|
|
507
514
|
gridModeEnabled: boolean;
|
|
@@ -522,7 +529,7 @@ export declare const actionChangeSloppiness: {
|
|
|
522
529
|
[id: string]: true;
|
|
523
530
|
}> | undefined;
|
|
524
531
|
username?: string | null | undefined;
|
|
525
|
-
userState?: import("
|
|
532
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
526
533
|
color?: {
|
|
527
534
|
background: string;
|
|
528
535
|
stroke: string;
|
|
@@ -539,7 +546,7 @@ export declare const actionChangeSloppiness: {
|
|
|
539
546
|
open: boolean;
|
|
540
547
|
panels: number;
|
|
541
548
|
};
|
|
542
|
-
currentChartType: import("
|
|
549
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
543
550
|
pasteDialog: {
|
|
544
551
|
shown: false;
|
|
545
552
|
data: null;
|
|
@@ -560,20 +567,18 @@ export declare const actionChangeSloppiness: {
|
|
|
560
567
|
followedBy: Set<import("../types").SocketId>;
|
|
561
568
|
isCropping: boolean;
|
|
562
569
|
croppingElementId: string | null;
|
|
563
|
-
searchMatches:
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
}[];
|
|
572
|
-
}[];
|
|
570
|
+
searchMatches: Readonly<{
|
|
571
|
+
focusedId: string | null;
|
|
572
|
+
matches: readonly import("../types").SearchMatch[];
|
|
573
|
+
}> | null;
|
|
574
|
+
activeLockedId: string | null;
|
|
575
|
+
lockedMultiSelections: {
|
|
576
|
+
[groupId: string]: true;
|
|
577
|
+
};
|
|
573
578
|
};
|
|
574
579
|
captureUpdate: "IMMEDIATELY";
|
|
575
580
|
};
|
|
576
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
581
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
577
582
|
} & {
|
|
578
583
|
keyTest?: undefined;
|
|
579
584
|
};
|
|
@@ -581,7 +586,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
581
586
|
name: "changeStrokeStyle";
|
|
582
587
|
label: string;
|
|
583
588
|
trackEvent: false;
|
|
584
|
-
perform: (elements: readonly import("
|
|
589
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
585
590
|
elements: ExcalidrawElement[];
|
|
586
591
|
appState: {
|
|
587
592
|
currentItemStrokeStyle: any;
|
|
@@ -594,17 +599,17 @@ export declare const actionChangeStrokeStyle: {
|
|
|
594
599
|
isLoading: boolean;
|
|
595
600
|
errorMessage: import("react").ReactNode;
|
|
596
601
|
activeEmbeddable: {
|
|
597
|
-
element: import("
|
|
602
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
598
603
|
state: "hover" | "active";
|
|
599
604
|
} | null;
|
|
600
|
-
newElement: import("
|
|
601
|
-
resizingElement: import("
|
|
602
|
-
multiElement: import("
|
|
603
|
-
selectionElement: import("
|
|
605
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
606
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
607
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
608
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
604
609
|
isBindingEnabled: boolean;
|
|
605
|
-
startBoundElement: import("
|
|
606
|
-
suggestedBindings: import("
|
|
607
|
-
frameToHighlight: import("
|
|
610
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
611
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
612
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
608
613
|
frameRendering: {
|
|
609
614
|
enabled: boolean;
|
|
610
615
|
name: boolean;
|
|
@@ -612,12 +617,13 @@ export declare const actionChangeStrokeStyle: {
|
|
|
612
617
|
clip: boolean;
|
|
613
618
|
};
|
|
614
619
|
editingFrame: string | null;
|
|
615
|
-
elementsToHighlight: import("
|
|
616
|
-
editingTextElement: import("
|
|
620
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
621
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
617
622
|
editingLinearElement: LinearElementEditor | null;
|
|
618
623
|
activeTool: {
|
|
619
624
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
620
625
|
locked: boolean;
|
|
626
|
+
fromSelection: boolean;
|
|
621
627
|
} & import("../types").ActiveTool;
|
|
622
628
|
penMode: boolean;
|
|
623
629
|
penDetected: boolean;
|
|
@@ -627,7 +633,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
627
633
|
exportScale: number;
|
|
628
634
|
currentItemStrokeColor: string;
|
|
629
635
|
currentItemBackgroundColor: string;
|
|
630
|
-
currentItemFillStyle: import("
|
|
636
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
631
637
|
currentItemStrokeWidth: number;
|
|
632
638
|
currentItemRoughness: number;
|
|
633
639
|
currentItemOpacity: number;
|
|
@@ -637,7 +643,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
637
643
|
currentItemStartArrowhead: Arrowhead | null;
|
|
638
644
|
currentItemEndArrowhead: Arrowhead | null;
|
|
639
645
|
currentHoveredFontFamily: number | null;
|
|
640
|
-
currentItemRoundness: import("
|
|
646
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
641
647
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
642
648
|
viewBackgroundColor: string;
|
|
643
649
|
scrollX: number;
|
|
@@ -668,7 +674,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
668
674
|
sourceElementId: string;
|
|
669
675
|
} | null;
|
|
670
676
|
defaultSidebarDockedPreference: boolean;
|
|
671
|
-
lastPointerDownWith: import("
|
|
677
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
672
678
|
selectedElementIds: Readonly<{
|
|
673
679
|
[id: string]: true;
|
|
674
680
|
}>;
|
|
@@ -686,7 +692,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
686
692
|
duration?: number | undefined;
|
|
687
693
|
} | null;
|
|
688
694
|
zenModeEnabled: boolean;
|
|
689
|
-
theme: import("
|
|
695
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
690
696
|
gridSize: number;
|
|
691
697
|
gridStep: number;
|
|
692
698
|
gridModeEnabled: boolean;
|
|
@@ -707,7 +713,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
707
713
|
[id: string]: true;
|
|
708
714
|
}> | undefined;
|
|
709
715
|
username?: string | null | undefined;
|
|
710
|
-
userState?: import("
|
|
716
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
711
717
|
color?: {
|
|
712
718
|
background: string;
|
|
713
719
|
stroke: string;
|
|
@@ -724,7 +730,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
724
730
|
open: boolean;
|
|
725
731
|
panels: number;
|
|
726
732
|
};
|
|
727
|
-
currentChartType: import("
|
|
733
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
728
734
|
pasteDialog: {
|
|
729
735
|
shown: false;
|
|
730
736
|
data: null;
|
|
@@ -745,20 +751,18 @@ export declare const actionChangeStrokeStyle: {
|
|
|
745
751
|
followedBy: Set<import("../types").SocketId>;
|
|
746
752
|
isCropping: boolean;
|
|
747
753
|
croppingElementId: string | null;
|
|
748
|
-
searchMatches:
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
}[];
|
|
757
|
-
}[];
|
|
754
|
+
searchMatches: Readonly<{
|
|
755
|
+
focusedId: string | null;
|
|
756
|
+
matches: readonly import("../types").SearchMatch[];
|
|
757
|
+
}> | null;
|
|
758
|
+
activeLockedId: string | null;
|
|
759
|
+
lockedMultiSelections: {
|
|
760
|
+
[groupId: string]: true;
|
|
761
|
+
};
|
|
758
762
|
};
|
|
759
763
|
captureUpdate: "IMMEDIATELY";
|
|
760
764
|
};
|
|
761
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
765
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
762
766
|
} & {
|
|
763
767
|
keyTest?: undefined;
|
|
764
768
|
};
|
|
@@ -766,7 +770,7 @@ export declare const actionChangeOpacity: {
|
|
|
766
770
|
name: "changeOpacity";
|
|
767
771
|
label: string;
|
|
768
772
|
trackEvent: false;
|
|
769
|
-
perform: (elements: readonly import("
|
|
773
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
770
774
|
elements: ExcalidrawElement[];
|
|
771
775
|
appState: {
|
|
772
776
|
currentItemOpacity: any;
|
|
@@ -779,17 +783,17 @@ export declare const actionChangeOpacity: {
|
|
|
779
783
|
isLoading: boolean;
|
|
780
784
|
errorMessage: import("react").ReactNode;
|
|
781
785
|
activeEmbeddable: {
|
|
782
|
-
element: import("
|
|
786
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
783
787
|
state: "hover" | "active";
|
|
784
788
|
} | null;
|
|
785
|
-
newElement: import("
|
|
786
|
-
resizingElement: import("
|
|
787
|
-
multiElement: import("
|
|
788
|
-
selectionElement: import("
|
|
789
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
790
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
791
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
792
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
789
793
|
isBindingEnabled: boolean;
|
|
790
|
-
startBoundElement: import("
|
|
791
|
-
suggestedBindings: import("
|
|
792
|
-
frameToHighlight: import("
|
|
794
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
795
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
796
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
793
797
|
frameRendering: {
|
|
794
798
|
enabled: boolean;
|
|
795
799
|
name: boolean;
|
|
@@ -797,12 +801,13 @@ export declare const actionChangeOpacity: {
|
|
|
797
801
|
clip: boolean;
|
|
798
802
|
};
|
|
799
803
|
editingFrame: string | null;
|
|
800
|
-
elementsToHighlight: import("
|
|
801
|
-
editingTextElement: import("
|
|
804
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
805
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
802
806
|
editingLinearElement: LinearElementEditor | null;
|
|
803
807
|
activeTool: {
|
|
804
808
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
805
809
|
locked: boolean;
|
|
810
|
+
fromSelection: boolean;
|
|
806
811
|
} & import("../types").ActiveTool;
|
|
807
812
|
penMode: boolean;
|
|
808
813
|
penDetected: boolean;
|
|
@@ -812,9 +817,9 @@ export declare const actionChangeOpacity: {
|
|
|
812
817
|
exportScale: number;
|
|
813
818
|
currentItemStrokeColor: string;
|
|
814
819
|
currentItemBackgroundColor: string;
|
|
815
|
-
currentItemFillStyle: import("
|
|
820
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
816
821
|
currentItemStrokeWidth: number;
|
|
817
|
-
currentItemStrokeStyle: import("
|
|
822
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
818
823
|
currentItemRoughness: number;
|
|
819
824
|
currentItemFontFamily: number;
|
|
820
825
|
currentItemFontSize: number;
|
|
@@ -822,7 +827,7 @@ export declare const actionChangeOpacity: {
|
|
|
822
827
|
currentItemStartArrowhead: Arrowhead | null;
|
|
823
828
|
currentItemEndArrowhead: Arrowhead | null;
|
|
824
829
|
currentHoveredFontFamily: number | null;
|
|
825
|
-
currentItemRoundness: import("
|
|
830
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
826
831
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
827
832
|
viewBackgroundColor: string;
|
|
828
833
|
scrollX: number;
|
|
@@ -853,7 +858,7 @@ export declare const actionChangeOpacity: {
|
|
|
853
858
|
sourceElementId: string;
|
|
854
859
|
} | null;
|
|
855
860
|
defaultSidebarDockedPreference: boolean;
|
|
856
|
-
lastPointerDownWith: import("
|
|
861
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
857
862
|
selectedElementIds: Readonly<{
|
|
858
863
|
[id: string]: true;
|
|
859
864
|
}>;
|
|
@@ -871,7 +876,7 @@ export declare const actionChangeOpacity: {
|
|
|
871
876
|
duration?: number | undefined;
|
|
872
877
|
} | null;
|
|
873
878
|
zenModeEnabled: boolean;
|
|
874
|
-
theme: import("
|
|
879
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
875
880
|
gridSize: number;
|
|
876
881
|
gridStep: number;
|
|
877
882
|
gridModeEnabled: boolean;
|
|
@@ -892,7 +897,7 @@ export declare const actionChangeOpacity: {
|
|
|
892
897
|
[id: string]: true;
|
|
893
898
|
}> | undefined;
|
|
894
899
|
username?: string | null | undefined;
|
|
895
|
-
userState?: import("
|
|
900
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
896
901
|
color?: {
|
|
897
902
|
background: string;
|
|
898
903
|
stroke: string;
|
|
@@ -909,7 +914,7 @@ export declare const actionChangeOpacity: {
|
|
|
909
914
|
open: boolean;
|
|
910
915
|
panels: number;
|
|
911
916
|
};
|
|
912
|
-
currentChartType: import("
|
|
917
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
913
918
|
pasteDialog: {
|
|
914
919
|
shown: false;
|
|
915
920
|
data: null;
|
|
@@ -930,20 +935,18 @@ export declare const actionChangeOpacity: {
|
|
|
930
935
|
followedBy: Set<import("../types").SocketId>;
|
|
931
936
|
isCropping: boolean;
|
|
932
937
|
croppingElementId: string | null;
|
|
933
|
-
searchMatches:
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
}[];
|
|
942
|
-
}[];
|
|
938
|
+
searchMatches: Readonly<{
|
|
939
|
+
focusedId: string | null;
|
|
940
|
+
matches: readonly import("../types").SearchMatch[];
|
|
941
|
+
}> | null;
|
|
942
|
+
activeLockedId: string | null;
|
|
943
|
+
lockedMultiSelections: {
|
|
944
|
+
[groupId: string]: true;
|
|
945
|
+
};
|
|
943
946
|
};
|
|
944
947
|
captureUpdate: "IMMEDIATELY";
|
|
945
948
|
};
|
|
946
|
-
PanelComponent: ({
|
|
949
|
+
PanelComponent: ({ app, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
947
950
|
} & {
|
|
948
951
|
keyTest?: undefined;
|
|
949
952
|
};
|
|
@@ -951,7 +954,7 @@ export declare const actionChangeFontSize: {
|
|
|
951
954
|
name: "changeFontSize";
|
|
952
955
|
label: string;
|
|
953
956
|
trackEvent: false;
|
|
954
|
-
perform: (elements: readonly import("
|
|
957
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
|
|
955
958
|
elements: ExcalidrawElement[];
|
|
956
959
|
appState: {
|
|
957
960
|
currentItemFontSize: number;
|
|
@@ -964,17 +967,17 @@ export declare const actionChangeFontSize: {
|
|
|
964
967
|
isLoading: boolean;
|
|
965
968
|
errorMessage: import("react").ReactNode;
|
|
966
969
|
activeEmbeddable: {
|
|
967
|
-
element: import("
|
|
970
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
968
971
|
state: "hover" | "active";
|
|
969
972
|
} | null;
|
|
970
|
-
newElement: import("
|
|
971
|
-
resizingElement: import("
|
|
972
|
-
multiElement: import("
|
|
973
|
-
selectionElement: import("
|
|
973
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
974
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
975
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
976
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
974
977
|
isBindingEnabled: boolean;
|
|
975
|
-
startBoundElement: import("
|
|
976
|
-
suggestedBindings: import("
|
|
977
|
-
frameToHighlight: import("
|
|
978
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
979
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
980
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
978
981
|
frameRendering: {
|
|
979
982
|
enabled: boolean;
|
|
980
983
|
name: boolean;
|
|
@@ -982,12 +985,13 @@ export declare const actionChangeFontSize: {
|
|
|
982
985
|
clip: boolean;
|
|
983
986
|
};
|
|
984
987
|
editingFrame: string | null;
|
|
985
|
-
elementsToHighlight: import("
|
|
986
|
-
editingTextElement: import("
|
|
988
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
989
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
987
990
|
editingLinearElement: LinearElementEditor | null;
|
|
988
991
|
activeTool: {
|
|
989
992
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
990
993
|
locked: boolean;
|
|
994
|
+
fromSelection: boolean;
|
|
991
995
|
} & import("../types").ActiveTool;
|
|
992
996
|
penMode: boolean;
|
|
993
997
|
penDetected: boolean;
|
|
@@ -997,9 +1001,9 @@ export declare const actionChangeFontSize: {
|
|
|
997
1001
|
exportScale: number;
|
|
998
1002
|
currentItemStrokeColor: string;
|
|
999
1003
|
currentItemBackgroundColor: string;
|
|
1000
|
-
currentItemFillStyle: import("
|
|
1004
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1001
1005
|
currentItemStrokeWidth: number;
|
|
1002
|
-
currentItemStrokeStyle: import("
|
|
1006
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1003
1007
|
currentItemRoughness: number;
|
|
1004
1008
|
currentItemOpacity: number;
|
|
1005
1009
|
currentItemFontFamily: number;
|
|
@@ -1007,7 +1011,7 @@ export declare const actionChangeFontSize: {
|
|
|
1007
1011
|
currentItemStartArrowhead: Arrowhead | null;
|
|
1008
1012
|
currentItemEndArrowhead: Arrowhead | null;
|
|
1009
1013
|
currentHoveredFontFamily: number | null;
|
|
1010
|
-
currentItemRoundness: import("
|
|
1014
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1011
1015
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1012
1016
|
viewBackgroundColor: string;
|
|
1013
1017
|
scrollX: number;
|
|
@@ -1038,7 +1042,7 @@ export declare const actionChangeFontSize: {
|
|
|
1038
1042
|
sourceElementId: string;
|
|
1039
1043
|
} | null;
|
|
1040
1044
|
defaultSidebarDockedPreference: boolean;
|
|
1041
|
-
lastPointerDownWith: import("
|
|
1045
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1042
1046
|
selectedElementIds: Readonly<{
|
|
1043
1047
|
[id: string]: true;
|
|
1044
1048
|
}>;
|
|
@@ -1056,7 +1060,7 @@ export declare const actionChangeFontSize: {
|
|
|
1056
1060
|
duration?: number | undefined;
|
|
1057
1061
|
} | null;
|
|
1058
1062
|
zenModeEnabled: boolean;
|
|
1059
|
-
theme: import("
|
|
1063
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
1060
1064
|
gridSize: number;
|
|
1061
1065
|
gridStep: number;
|
|
1062
1066
|
gridModeEnabled: boolean;
|
|
@@ -1077,7 +1081,7 @@ export declare const actionChangeFontSize: {
|
|
|
1077
1081
|
[id: string]: true;
|
|
1078
1082
|
}> | undefined;
|
|
1079
1083
|
username?: string | null | undefined;
|
|
1080
|
-
userState?: import("
|
|
1084
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1081
1085
|
color?: {
|
|
1082
1086
|
background: string;
|
|
1083
1087
|
stroke: string;
|
|
@@ -1094,7 +1098,7 @@ export declare const actionChangeFontSize: {
|
|
|
1094
1098
|
open: boolean;
|
|
1095
1099
|
panels: number;
|
|
1096
1100
|
};
|
|
1097
|
-
currentChartType: import("
|
|
1101
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1098
1102
|
pasteDialog: {
|
|
1099
1103
|
shown: false;
|
|
1100
1104
|
data: null;
|
|
@@ -1115,16 +1119,14 @@ export declare const actionChangeFontSize: {
|
|
|
1115
1119
|
followedBy: Set<import("../types").SocketId>;
|
|
1116
1120
|
isCropping: boolean;
|
|
1117
1121
|
croppingElementId: string | null;
|
|
1118
|
-
searchMatches:
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
}[];
|
|
1127
|
-
}[];
|
|
1122
|
+
searchMatches: Readonly<{
|
|
1123
|
+
focusedId: string | null;
|
|
1124
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1125
|
+
}> | null;
|
|
1126
|
+
activeLockedId: string | null;
|
|
1127
|
+
lockedMultiSelections: {
|
|
1128
|
+
[groupId: string]: true;
|
|
1129
|
+
};
|
|
1128
1130
|
};
|
|
1129
1131
|
captureUpdate: "IMMEDIATELY";
|
|
1130
1132
|
};
|
|
@@ -1137,7 +1139,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1137
1139
|
label: string;
|
|
1138
1140
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
1139
1141
|
trackEvent: false;
|
|
1140
|
-
perform: (elements: readonly import("
|
|
1142
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
|
|
1141
1143
|
elements: ExcalidrawElement[];
|
|
1142
1144
|
appState: {
|
|
1143
1145
|
currentItemFontSize: number;
|
|
@@ -1150,17 +1152,17 @@ export declare const actionDecreaseFontSize: {
|
|
|
1150
1152
|
isLoading: boolean;
|
|
1151
1153
|
errorMessage: import("react").ReactNode;
|
|
1152
1154
|
activeEmbeddable: {
|
|
1153
|
-
element: import("
|
|
1155
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1154
1156
|
state: "hover" | "active";
|
|
1155
1157
|
} | null;
|
|
1156
|
-
newElement: import("
|
|
1157
|
-
resizingElement: import("
|
|
1158
|
-
multiElement: import("
|
|
1159
|
-
selectionElement: import("
|
|
1158
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1159
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1160
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
1161
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1160
1162
|
isBindingEnabled: boolean;
|
|
1161
|
-
startBoundElement: import("
|
|
1162
|
-
suggestedBindings: import("
|
|
1163
|
-
frameToHighlight: import("
|
|
1163
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1164
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1165
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1164
1166
|
frameRendering: {
|
|
1165
1167
|
enabled: boolean;
|
|
1166
1168
|
name: boolean;
|
|
@@ -1168,12 +1170,13 @@ export declare const actionDecreaseFontSize: {
|
|
|
1168
1170
|
clip: boolean;
|
|
1169
1171
|
};
|
|
1170
1172
|
editingFrame: string | null;
|
|
1171
|
-
elementsToHighlight: import("
|
|
1172
|
-
editingTextElement: import("
|
|
1173
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1174
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1173
1175
|
editingLinearElement: LinearElementEditor | null;
|
|
1174
1176
|
activeTool: {
|
|
1175
1177
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1176
1178
|
locked: boolean;
|
|
1179
|
+
fromSelection: boolean;
|
|
1177
1180
|
} & import("../types").ActiveTool;
|
|
1178
1181
|
penMode: boolean;
|
|
1179
1182
|
penDetected: boolean;
|
|
@@ -1183,9 +1186,9 @@ export declare const actionDecreaseFontSize: {
|
|
|
1183
1186
|
exportScale: number;
|
|
1184
1187
|
currentItemStrokeColor: string;
|
|
1185
1188
|
currentItemBackgroundColor: string;
|
|
1186
|
-
currentItemFillStyle: import("
|
|
1189
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1187
1190
|
currentItemStrokeWidth: number;
|
|
1188
|
-
currentItemStrokeStyle: import("
|
|
1191
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1189
1192
|
currentItemRoughness: number;
|
|
1190
1193
|
currentItemOpacity: number;
|
|
1191
1194
|
currentItemFontFamily: number;
|
|
@@ -1193,7 +1196,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1193
1196
|
currentItemStartArrowhead: Arrowhead | null;
|
|
1194
1197
|
currentItemEndArrowhead: Arrowhead | null;
|
|
1195
1198
|
currentHoveredFontFamily: number | null;
|
|
1196
|
-
currentItemRoundness: import("
|
|
1199
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1197
1200
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1198
1201
|
viewBackgroundColor: string;
|
|
1199
1202
|
scrollX: number;
|
|
@@ -1224,7 +1227,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1224
1227
|
sourceElementId: string;
|
|
1225
1228
|
} | null;
|
|
1226
1229
|
defaultSidebarDockedPreference: boolean;
|
|
1227
|
-
lastPointerDownWith: import("
|
|
1230
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1228
1231
|
selectedElementIds: Readonly<{
|
|
1229
1232
|
[id: string]: true;
|
|
1230
1233
|
}>;
|
|
@@ -1242,7 +1245,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1242
1245
|
duration?: number | undefined;
|
|
1243
1246
|
} | null;
|
|
1244
1247
|
zenModeEnabled: boolean;
|
|
1245
|
-
theme: import("
|
|
1248
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
1246
1249
|
gridSize: number;
|
|
1247
1250
|
gridStep: number;
|
|
1248
1251
|
gridModeEnabled: boolean;
|
|
@@ -1263,7 +1266,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1263
1266
|
[id: string]: true;
|
|
1264
1267
|
}> | undefined;
|
|
1265
1268
|
username?: string | null | undefined;
|
|
1266
|
-
userState?: import("
|
|
1269
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1267
1270
|
color?: {
|
|
1268
1271
|
background: string;
|
|
1269
1272
|
stroke: string;
|
|
@@ -1280,7 +1283,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1280
1283
|
open: boolean;
|
|
1281
1284
|
panels: number;
|
|
1282
1285
|
};
|
|
1283
|
-
currentChartType: import("
|
|
1286
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1284
1287
|
pasteDialog: {
|
|
1285
1288
|
shown: false;
|
|
1286
1289
|
data: null;
|
|
@@ -1301,29 +1304,27 @@ export declare const actionDecreaseFontSize: {
|
|
|
1301
1304
|
followedBy: Set<import("../types").SocketId>;
|
|
1302
1305
|
isCropping: boolean;
|
|
1303
1306
|
croppingElementId: string | null;
|
|
1304
|
-
searchMatches:
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
}[];
|
|
1313
|
-
}[];
|
|
1307
|
+
searchMatches: Readonly<{
|
|
1308
|
+
focusedId: string | null;
|
|
1309
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1310
|
+
}> | null;
|
|
1311
|
+
activeLockedId: string | null;
|
|
1312
|
+
lockedMultiSelections: {
|
|
1313
|
+
[groupId: string]: true;
|
|
1314
|
+
};
|
|
1314
1315
|
};
|
|
1315
1316
|
captureUpdate: "IMMEDIATELY";
|
|
1316
1317
|
};
|
|
1317
|
-
keyTest: (event:
|
|
1318
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1318
1319
|
} & {
|
|
1319
|
-
keyTest?: ((event:
|
|
1320
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1320
1321
|
};
|
|
1321
1322
|
export declare const actionIncreaseFontSize: {
|
|
1322
1323
|
name: "increaseFontSize";
|
|
1323
1324
|
label: string;
|
|
1324
1325
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
1325
1326
|
trackEvent: false;
|
|
1326
|
-
perform: (elements: readonly import("
|
|
1327
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
|
|
1327
1328
|
elements: ExcalidrawElement[];
|
|
1328
1329
|
appState: {
|
|
1329
1330
|
currentItemFontSize: number;
|
|
@@ -1336,17 +1337,17 @@ export declare const actionIncreaseFontSize: {
|
|
|
1336
1337
|
isLoading: boolean;
|
|
1337
1338
|
errorMessage: import("react").ReactNode;
|
|
1338
1339
|
activeEmbeddable: {
|
|
1339
|
-
element: import("
|
|
1340
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1340
1341
|
state: "hover" | "active";
|
|
1341
1342
|
} | null;
|
|
1342
|
-
newElement: import("
|
|
1343
|
-
resizingElement: import("
|
|
1344
|
-
multiElement: import("
|
|
1345
|
-
selectionElement: import("
|
|
1343
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1344
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1345
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
1346
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1346
1347
|
isBindingEnabled: boolean;
|
|
1347
|
-
startBoundElement: import("
|
|
1348
|
-
suggestedBindings: import("
|
|
1349
|
-
frameToHighlight: import("
|
|
1348
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1349
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1350
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1350
1351
|
frameRendering: {
|
|
1351
1352
|
enabled: boolean;
|
|
1352
1353
|
name: boolean;
|
|
@@ -1354,12 +1355,13 @@ export declare const actionIncreaseFontSize: {
|
|
|
1354
1355
|
clip: boolean;
|
|
1355
1356
|
};
|
|
1356
1357
|
editingFrame: string | null;
|
|
1357
|
-
elementsToHighlight: import("
|
|
1358
|
-
editingTextElement: import("
|
|
1358
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1359
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1359
1360
|
editingLinearElement: LinearElementEditor | null;
|
|
1360
1361
|
activeTool: {
|
|
1361
1362
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1362
1363
|
locked: boolean;
|
|
1364
|
+
fromSelection: boolean;
|
|
1363
1365
|
} & import("../types").ActiveTool;
|
|
1364
1366
|
penMode: boolean;
|
|
1365
1367
|
penDetected: boolean;
|
|
@@ -1369,9 +1371,9 @@ export declare const actionIncreaseFontSize: {
|
|
|
1369
1371
|
exportScale: number;
|
|
1370
1372
|
currentItemStrokeColor: string;
|
|
1371
1373
|
currentItemBackgroundColor: string;
|
|
1372
|
-
currentItemFillStyle: import("
|
|
1374
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1373
1375
|
currentItemStrokeWidth: number;
|
|
1374
|
-
currentItemStrokeStyle: import("
|
|
1376
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1375
1377
|
currentItemRoughness: number;
|
|
1376
1378
|
currentItemOpacity: number;
|
|
1377
1379
|
currentItemFontFamily: number;
|
|
@@ -1379,7 +1381,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1379
1381
|
currentItemStartArrowhead: Arrowhead | null;
|
|
1380
1382
|
currentItemEndArrowhead: Arrowhead | null;
|
|
1381
1383
|
currentHoveredFontFamily: number | null;
|
|
1382
|
-
currentItemRoundness: import("
|
|
1384
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1383
1385
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1384
1386
|
viewBackgroundColor: string;
|
|
1385
1387
|
scrollX: number;
|
|
@@ -1410,7 +1412,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1410
1412
|
sourceElementId: string;
|
|
1411
1413
|
} | null;
|
|
1412
1414
|
defaultSidebarDockedPreference: boolean;
|
|
1413
|
-
lastPointerDownWith: import("
|
|
1415
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1414
1416
|
selectedElementIds: Readonly<{
|
|
1415
1417
|
[id: string]: true;
|
|
1416
1418
|
}>;
|
|
@@ -1428,7 +1430,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1428
1430
|
duration?: number | undefined;
|
|
1429
1431
|
} | null;
|
|
1430
1432
|
zenModeEnabled: boolean;
|
|
1431
|
-
theme: import("
|
|
1433
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
1432
1434
|
gridSize: number;
|
|
1433
1435
|
gridStep: number;
|
|
1434
1436
|
gridModeEnabled: boolean;
|
|
@@ -1449,7 +1451,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1449
1451
|
[id: string]: true;
|
|
1450
1452
|
}> | undefined;
|
|
1451
1453
|
username?: string | null | undefined;
|
|
1452
|
-
userState?: import("
|
|
1454
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1453
1455
|
color?: {
|
|
1454
1456
|
background: string;
|
|
1455
1457
|
stroke: string;
|
|
@@ -1466,7 +1468,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1466
1468
|
open: boolean;
|
|
1467
1469
|
panels: number;
|
|
1468
1470
|
};
|
|
1469
|
-
currentChartType: import("
|
|
1471
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1470
1472
|
pasteDialog: {
|
|
1471
1473
|
shown: false;
|
|
1472
1474
|
data: null;
|
|
@@ -1487,28 +1489,26 @@ export declare const actionIncreaseFontSize: {
|
|
|
1487
1489
|
followedBy: Set<import("../types").SocketId>;
|
|
1488
1490
|
isCropping: boolean;
|
|
1489
1491
|
croppingElementId: string | null;
|
|
1490
|
-
searchMatches:
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
}[];
|
|
1499
|
-
}[];
|
|
1492
|
+
searchMatches: Readonly<{
|
|
1493
|
+
focusedId: string | null;
|
|
1494
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1495
|
+
}> | null;
|
|
1496
|
+
activeLockedId: string | null;
|
|
1497
|
+
lockedMultiSelections: {
|
|
1498
|
+
[groupId: string]: true;
|
|
1499
|
+
};
|
|
1500
1500
|
};
|
|
1501
1501
|
captureUpdate: "IMMEDIATELY";
|
|
1502
1502
|
};
|
|
1503
|
-
keyTest: (event:
|
|
1503
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
1504
1504
|
} & {
|
|
1505
|
-
keyTest?: ((event:
|
|
1505
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
1506
1506
|
};
|
|
1507
1507
|
export declare const actionChangeFontFamily: {
|
|
1508
1508
|
name: "changeFontFamily";
|
|
1509
1509
|
label: string;
|
|
1510
1510
|
trackEvent: false;
|
|
1511
|
-
perform: (elements: readonly import("
|
|
1511
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
|
|
1512
1512
|
appState: {
|
|
1513
1513
|
currentItemFontFamily: number;
|
|
1514
1514
|
currentHoveredFontFamily: number | null;
|
|
@@ -1522,17 +1522,17 @@ export declare const actionChangeFontFamily: {
|
|
|
1522
1522
|
isLoading: boolean;
|
|
1523
1523
|
errorMessage: import("react").ReactNode;
|
|
1524
1524
|
activeEmbeddable: {
|
|
1525
|
-
element: import("
|
|
1525
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1526
1526
|
state: "hover" | "active";
|
|
1527
1527
|
} | null;
|
|
1528
|
-
newElement: import("
|
|
1529
|
-
resizingElement: import("
|
|
1530
|
-
multiElement: import("
|
|
1531
|
-
selectionElement: import("
|
|
1528
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1529
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1530
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
1531
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1532
1532
|
isBindingEnabled: boolean;
|
|
1533
|
-
startBoundElement: import("
|
|
1534
|
-
suggestedBindings: import("
|
|
1535
|
-
frameToHighlight: import("
|
|
1533
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1534
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1535
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1536
1536
|
frameRendering: {
|
|
1537
1537
|
enabled: boolean;
|
|
1538
1538
|
name: boolean;
|
|
@@ -1540,12 +1540,13 @@ export declare const actionChangeFontFamily: {
|
|
|
1540
1540
|
clip: boolean;
|
|
1541
1541
|
};
|
|
1542
1542
|
editingFrame: string | null;
|
|
1543
|
-
elementsToHighlight: import("
|
|
1544
|
-
editingTextElement: import("
|
|
1543
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1544
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1545
1545
|
editingLinearElement: LinearElementEditor | null;
|
|
1546
1546
|
activeTool: {
|
|
1547
1547
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1548
1548
|
locked: boolean;
|
|
1549
|
+
fromSelection: boolean;
|
|
1549
1550
|
} & import("../types").ActiveTool;
|
|
1550
1551
|
penMode: boolean;
|
|
1551
1552
|
penDetected: boolean;
|
|
@@ -1555,16 +1556,16 @@ export declare const actionChangeFontFamily: {
|
|
|
1555
1556
|
exportScale: number;
|
|
1556
1557
|
currentItemStrokeColor: string;
|
|
1557
1558
|
currentItemBackgroundColor: string;
|
|
1558
|
-
currentItemFillStyle: import("
|
|
1559
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1559
1560
|
currentItemStrokeWidth: number;
|
|
1560
|
-
currentItemStrokeStyle: import("
|
|
1561
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1561
1562
|
currentItemRoughness: number;
|
|
1562
1563
|
currentItemOpacity: number;
|
|
1563
1564
|
currentItemFontSize: number;
|
|
1564
1565
|
currentItemTextAlign: string;
|
|
1565
1566
|
currentItemStartArrowhead: Arrowhead | null;
|
|
1566
1567
|
currentItemEndArrowhead: Arrowhead | null;
|
|
1567
|
-
currentItemRoundness: import("
|
|
1568
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1568
1569
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1569
1570
|
viewBackgroundColor: string;
|
|
1570
1571
|
scrollX: number;
|
|
@@ -1594,7 +1595,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1594
1595
|
sourceElementId: string;
|
|
1595
1596
|
} | null;
|
|
1596
1597
|
defaultSidebarDockedPreference: boolean;
|
|
1597
|
-
lastPointerDownWith: import("
|
|
1598
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1598
1599
|
selectedElementIds: Readonly<{
|
|
1599
1600
|
[id: string]: true;
|
|
1600
1601
|
}>;
|
|
@@ -1612,7 +1613,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1612
1613
|
duration?: number | undefined;
|
|
1613
1614
|
} | null;
|
|
1614
1615
|
zenModeEnabled: boolean;
|
|
1615
|
-
theme: import("
|
|
1616
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
1616
1617
|
gridSize: number;
|
|
1617
1618
|
gridStep: number;
|
|
1618
1619
|
gridModeEnabled: boolean;
|
|
@@ -1633,7 +1634,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1633
1634
|
[id: string]: true;
|
|
1634
1635
|
}> | undefined;
|
|
1635
1636
|
username?: string | null | undefined;
|
|
1636
|
-
userState?: import("
|
|
1637
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1637
1638
|
color?: {
|
|
1638
1639
|
background: string;
|
|
1639
1640
|
stroke: string;
|
|
@@ -1650,7 +1651,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1650
1651
|
open: boolean;
|
|
1651
1652
|
panels: number;
|
|
1652
1653
|
};
|
|
1653
|
-
currentChartType: import("
|
|
1654
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1654
1655
|
pasteDialog: {
|
|
1655
1656
|
shown: false;
|
|
1656
1657
|
data: null;
|
|
@@ -1671,16 +1672,14 @@ export declare const actionChangeFontFamily: {
|
|
|
1671
1672
|
followedBy: Set<import("../types").SocketId>;
|
|
1672
1673
|
isCropping: boolean;
|
|
1673
1674
|
croppingElementId: string | null;
|
|
1674
|
-
searchMatches:
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
}[];
|
|
1683
|
-
}[];
|
|
1675
|
+
searchMatches: Readonly<{
|
|
1676
|
+
focusedId: string | null;
|
|
1677
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1678
|
+
}> | null;
|
|
1679
|
+
activeLockedId: string | null;
|
|
1680
|
+
lockedMultiSelections: {
|
|
1681
|
+
[groupId: string]: true;
|
|
1682
|
+
};
|
|
1684
1683
|
};
|
|
1685
1684
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
1686
1685
|
} | {
|
|
@@ -1698,17 +1697,17 @@ export declare const actionChangeFontFamily: {
|
|
|
1698
1697
|
isLoading: boolean;
|
|
1699
1698
|
errorMessage: import("react").ReactNode;
|
|
1700
1699
|
activeEmbeddable: {
|
|
1701
|
-
element: import("
|
|
1700
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1702
1701
|
state: "hover" | "active";
|
|
1703
1702
|
} | null;
|
|
1704
|
-
newElement: import("
|
|
1705
|
-
resizingElement: import("
|
|
1706
|
-
multiElement: import("
|
|
1707
|
-
selectionElement: import("
|
|
1703
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1704
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1705
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
1706
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1708
1707
|
isBindingEnabled: boolean;
|
|
1709
|
-
startBoundElement: import("
|
|
1710
|
-
suggestedBindings: import("
|
|
1711
|
-
frameToHighlight: import("
|
|
1708
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1709
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1710
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1712
1711
|
frameRendering: {
|
|
1713
1712
|
enabled: boolean;
|
|
1714
1713
|
name: boolean;
|
|
@@ -1716,12 +1715,13 @@ export declare const actionChangeFontFamily: {
|
|
|
1716
1715
|
clip: boolean;
|
|
1717
1716
|
};
|
|
1718
1717
|
editingFrame: string | null;
|
|
1719
|
-
elementsToHighlight: import("
|
|
1720
|
-
editingTextElement: import("
|
|
1718
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1719
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1721
1720
|
editingLinearElement: LinearElementEditor | null;
|
|
1722
1721
|
activeTool: {
|
|
1723
1722
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1724
1723
|
locked: boolean;
|
|
1724
|
+
fromSelection: boolean;
|
|
1725
1725
|
} & import("../types").ActiveTool;
|
|
1726
1726
|
penMode: boolean;
|
|
1727
1727
|
penDetected: boolean;
|
|
@@ -1731,16 +1731,16 @@ export declare const actionChangeFontFamily: {
|
|
|
1731
1731
|
exportScale: number;
|
|
1732
1732
|
currentItemStrokeColor: string;
|
|
1733
1733
|
currentItemBackgroundColor: string;
|
|
1734
|
-
currentItemFillStyle: import("
|
|
1734
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1735
1735
|
currentItemStrokeWidth: number;
|
|
1736
|
-
currentItemStrokeStyle: import("
|
|
1736
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1737
1737
|
currentItemRoughness: number;
|
|
1738
1738
|
currentItemOpacity: number;
|
|
1739
1739
|
currentItemFontSize: number;
|
|
1740
1740
|
currentItemTextAlign: string;
|
|
1741
1741
|
currentItemStartArrowhead: Arrowhead | null;
|
|
1742
1742
|
currentItemEndArrowhead: Arrowhead | null;
|
|
1743
|
-
currentItemRoundness: import("
|
|
1743
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1744
1744
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1745
1745
|
viewBackgroundColor: string;
|
|
1746
1746
|
scrollX: number;
|
|
@@ -1770,7 +1770,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1770
1770
|
sourceElementId: string;
|
|
1771
1771
|
} | null;
|
|
1772
1772
|
defaultSidebarDockedPreference: boolean;
|
|
1773
|
-
lastPointerDownWith: import("
|
|
1773
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1774
1774
|
selectedElementIds: Readonly<{
|
|
1775
1775
|
[id: string]: true;
|
|
1776
1776
|
}>;
|
|
@@ -1788,7 +1788,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1788
1788
|
duration?: number | undefined;
|
|
1789
1789
|
} | null;
|
|
1790
1790
|
zenModeEnabled: boolean;
|
|
1791
|
-
theme: import("
|
|
1791
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
1792
1792
|
gridSize: number;
|
|
1793
1793
|
gridStep: number;
|
|
1794
1794
|
gridModeEnabled: boolean;
|
|
@@ -1809,7 +1809,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1809
1809
|
[id: string]: true;
|
|
1810
1810
|
}> | undefined;
|
|
1811
1811
|
username?: string | null | undefined;
|
|
1812
|
-
userState?: import("
|
|
1812
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1813
1813
|
color?: {
|
|
1814
1814
|
background: string;
|
|
1815
1815
|
stroke: string;
|
|
@@ -1826,7 +1826,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1826
1826
|
open: boolean;
|
|
1827
1827
|
panels: number;
|
|
1828
1828
|
};
|
|
1829
|
-
currentChartType: import("
|
|
1829
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1830
1830
|
pasteDialog: {
|
|
1831
1831
|
shown: false;
|
|
1832
1832
|
data: null;
|
|
@@ -1847,16 +1847,14 @@ export declare const actionChangeFontFamily: {
|
|
|
1847
1847
|
followedBy: Set<import("../types").SocketId>;
|
|
1848
1848
|
isCropping: boolean;
|
|
1849
1849
|
croppingElementId: string | null;
|
|
1850
|
-
searchMatches:
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
}[];
|
|
1859
|
-
}[];
|
|
1850
|
+
searchMatches: Readonly<{
|
|
1851
|
+
focusedId: string | null;
|
|
1852
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1853
|
+
}> | null;
|
|
1854
|
+
activeLockedId: string | null;
|
|
1855
|
+
lockedMultiSelections: {
|
|
1856
|
+
[groupId: string]: true;
|
|
1857
|
+
};
|
|
1860
1858
|
};
|
|
1861
1859
|
captureUpdate: "NEVER";
|
|
1862
1860
|
};
|
|
@@ -1868,7 +1866,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1868
1866
|
name: "changeTextAlign";
|
|
1869
1867
|
label: string;
|
|
1870
1868
|
trackEvent: false;
|
|
1871
|
-
perform: (elements: readonly import("
|
|
1869
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
|
|
1872
1870
|
elements: ExcalidrawElement[];
|
|
1873
1871
|
appState: {
|
|
1874
1872
|
currentItemTextAlign: any;
|
|
@@ -1881,17 +1879,17 @@ export declare const actionChangeTextAlign: {
|
|
|
1881
1879
|
isLoading: boolean;
|
|
1882
1880
|
errorMessage: import("react").ReactNode;
|
|
1883
1881
|
activeEmbeddable: {
|
|
1884
|
-
element: import("
|
|
1882
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1885
1883
|
state: "hover" | "active";
|
|
1886
1884
|
} | null;
|
|
1887
|
-
newElement: import("
|
|
1888
|
-
resizingElement: import("
|
|
1889
|
-
multiElement: import("
|
|
1890
|
-
selectionElement: import("
|
|
1885
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1886
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1887
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
1888
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1891
1889
|
isBindingEnabled: boolean;
|
|
1892
|
-
startBoundElement: import("
|
|
1893
|
-
suggestedBindings: import("
|
|
1894
|
-
frameToHighlight: import("
|
|
1890
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
1891
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1892
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1895
1893
|
frameRendering: {
|
|
1896
1894
|
enabled: boolean;
|
|
1897
1895
|
name: boolean;
|
|
@@ -1899,12 +1897,13 @@ export declare const actionChangeTextAlign: {
|
|
|
1899
1897
|
clip: boolean;
|
|
1900
1898
|
};
|
|
1901
1899
|
editingFrame: string | null;
|
|
1902
|
-
elementsToHighlight: import("
|
|
1903
|
-
editingTextElement: import("
|
|
1900
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1901
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1904
1902
|
editingLinearElement: LinearElementEditor | null;
|
|
1905
1903
|
activeTool: {
|
|
1906
1904
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1907
1905
|
locked: boolean;
|
|
1906
|
+
fromSelection: boolean;
|
|
1908
1907
|
} & import("../types").ActiveTool;
|
|
1909
1908
|
penMode: boolean;
|
|
1910
1909
|
penDetected: boolean;
|
|
@@ -1914,9 +1913,9 @@ export declare const actionChangeTextAlign: {
|
|
|
1914
1913
|
exportScale: number;
|
|
1915
1914
|
currentItemStrokeColor: string;
|
|
1916
1915
|
currentItemBackgroundColor: string;
|
|
1917
|
-
currentItemFillStyle: import("
|
|
1916
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1918
1917
|
currentItemStrokeWidth: number;
|
|
1919
|
-
currentItemStrokeStyle: import("
|
|
1918
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1920
1919
|
currentItemRoughness: number;
|
|
1921
1920
|
currentItemOpacity: number;
|
|
1922
1921
|
currentItemFontFamily: number;
|
|
@@ -1924,7 +1923,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1924
1923
|
currentItemStartArrowhead: Arrowhead | null;
|
|
1925
1924
|
currentItemEndArrowhead: Arrowhead | null;
|
|
1926
1925
|
currentHoveredFontFamily: number | null;
|
|
1927
|
-
currentItemRoundness: import("
|
|
1926
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1928
1927
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1929
1928
|
viewBackgroundColor: string;
|
|
1930
1929
|
scrollX: number;
|
|
@@ -1955,7 +1954,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1955
1954
|
sourceElementId: string;
|
|
1956
1955
|
} | null;
|
|
1957
1956
|
defaultSidebarDockedPreference: boolean;
|
|
1958
|
-
lastPointerDownWith: import("
|
|
1957
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1959
1958
|
selectedElementIds: Readonly<{
|
|
1960
1959
|
[id: string]: true;
|
|
1961
1960
|
}>;
|
|
@@ -1973,7 +1972,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1973
1972
|
duration?: number | undefined;
|
|
1974
1973
|
} | null;
|
|
1975
1974
|
zenModeEnabled: boolean;
|
|
1976
|
-
theme: import("
|
|
1975
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
1977
1976
|
gridSize: number;
|
|
1978
1977
|
gridStep: number;
|
|
1979
1978
|
gridModeEnabled: boolean;
|
|
@@ -1994,7 +1993,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1994
1993
|
[id: string]: true;
|
|
1995
1994
|
}> | undefined;
|
|
1996
1995
|
username?: string | null | undefined;
|
|
1997
|
-
userState?: import("
|
|
1996
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1998
1997
|
color?: {
|
|
1999
1998
|
background: string;
|
|
2000
1999
|
stroke: string;
|
|
@@ -2011,7 +2010,7 @@ export declare const actionChangeTextAlign: {
|
|
|
2011
2010
|
open: boolean;
|
|
2012
2011
|
panels: number;
|
|
2013
2012
|
};
|
|
2014
|
-
currentChartType: import("
|
|
2013
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
2015
2014
|
pasteDialog: {
|
|
2016
2015
|
shown: false;
|
|
2017
2016
|
data: null;
|
|
@@ -2032,16 +2031,14 @@ export declare const actionChangeTextAlign: {
|
|
|
2032
2031
|
followedBy: Set<import("../types").SocketId>;
|
|
2033
2032
|
isCropping: boolean;
|
|
2034
2033
|
croppingElementId: string | null;
|
|
2035
|
-
searchMatches:
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
}[];
|
|
2044
|
-
}[];
|
|
2034
|
+
searchMatches: Readonly<{
|
|
2035
|
+
focusedId: string | null;
|
|
2036
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2037
|
+
}> | null;
|
|
2038
|
+
activeLockedId: string | null;
|
|
2039
|
+
lockedMultiSelections: {
|
|
2040
|
+
[groupId: string]: true;
|
|
2041
|
+
};
|
|
2045
2042
|
};
|
|
2046
2043
|
captureUpdate: "IMMEDIATELY";
|
|
2047
2044
|
};
|
|
@@ -2055,7 +2052,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2055
2052
|
trackEvent: {
|
|
2056
2053
|
category: "element";
|
|
2057
2054
|
};
|
|
2058
|
-
perform: (elements: readonly import("
|
|
2055
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
|
|
2059
2056
|
elements: ExcalidrawElement[];
|
|
2060
2057
|
appState: {
|
|
2061
2058
|
contextMenu: {
|
|
@@ -2067,17 +2064,17 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2067
2064
|
isLoading: boolean;
|
|
2068
2065
|
errorMessage: import("react").ReactNode;
|
|
2069
2066
|
activeEmbeddable: {
|
|
2070
|
-
element: import("
|
|
2067
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2071
2068
|
state: "hover" | "active";
|
|
2072
2069
|
} | null;
|
|
2073
|
-
newElement: import("
|
|
2074
|
-
resizingElement: import("
|
|
2075
|
-
multiElement: import("
|
|
2076
|
-
selectionElement: import("
|
|
2070
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2071
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2072
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
2073
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2077
2074
|
isBindingEnabled: boolean;
|
|
2078
|
-
startBoundElement: import("
|
|
2079
|
-
suggestedBindings: import("
|
|
2080
|
-
frameToHighlight: import("
|
|
2075
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2076
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2077
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2081
2078
|
frameRendering: {
|
|
2082
2079
|
enabled: boolean;
|
|
2083
2080
|
name: boolean;
|
|
@@ -2085,12 +2082,13 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2085
2082
|
clip: boolean;
|
|
2086
2083
|
};
|
|
2087
2084
|
editingFrame: string | null;
|
|
2088
|
-
elementsToHighlight: import("
|
|
2089
|
-
editingTextElement: import("
|
|
2085
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2086
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2090
2087
|
editingLinearElement: LinearElementEditor | null;
|
|
2091
2088
|
activeTool: {
|
|
2092
2089
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2093
2090
|
locked: boolean;
|
|
2091
|
+
fromSelection: boolean;
|
|
2094
2092
|
} & import("../types").ActiveTool;
|
|
2095
2093
|
penMode: boolean;
|
|
2096
2094
|
penDetected: boolean;
|
|
@@ -2100,9 +2098,9 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2100
2098
|
exportScale: number;
|
|
2101
2099
|
currentItemStrokeColor: string;
|
|
2102
2100
|
currentItemBackgroundColor: string;
|
|
2103
|
-
currentItemFillStyle: import("
|
|
2101
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
2104
2102
|
currentItemStrokeWidth: number;
|
|
2105
|
-
currentItemStrokeStyle: import("
|
|
2103
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
2106
2104
|
currentItemRoughness: number;
|
|
2107
2105
|
currentItemOpacity: number;
|
|
2108
2106
|
currentItemFontFamily: number;
|
|
@@ -2111,7 +2109,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2111
2109
|
currentItemStartArrowhead: Arrowhead | null;
|
|
2112
2110
|
currentItemEndArrowhead: Arrowhead | null;
|
|
2113
2111
|
currentHoveredFontFamily: number | null;
|
|
2114
|
-
currentItemRoundness: import("
|
|
2112
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
2115
2113
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
2116
2114
|
viewBackgroundColor: string;
|
|
2117
2115
|
scrollX: number;
|
|
@@ -2142,7 +2140,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2142
2140
|
sourceElementId: string;
|
|
2143
2141
|
} | null;
|
|
2144
2142
|
defaultSidebarDockedPreference: boolean;
|
|
2145
|
-
lastPointerDownWith: import("
|
|
2143
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
2146
2144
|
selectedElementIds: Readonly<{
|
|
2147
2145
|
[id: string]: true;
|
|
2148
2146
|
}>;
|
|
@@ -2160,7 +2158,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2160
2158
|
duration?: number | undefined;
|
|
2161
2159
|
} | null;
|
|
2162
2160
|
zenModeEnabled: boolean;
|
|
2163
|
-
theme: import("
|
|
2161
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
2164
2162
|
gridSize: number;
|
|
2165
2163
|
gridStep: number;
|
|
2166
2164
|
gridModeEnabled: boolean;
|
|
@@ -2181,7 +2179,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2181
2179
|
[id: string]: true;
|
|
2182
2180
|
}> | undefined;
|
|
2183
2181
|
username?: string | null | undefined;
|
|
2184
|
-
userState?: import("
|
|
2182
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
2185
2183
|
color?: {
|
|
2186
2184
|
background: string;
|
|
2187
2185
|
stroke: string;
|
|
@@ -2198,7 +2196,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2198
2196
|
open: boolean;
|
|
2199
2197
|
panels: number;
|
|
2200
2198
|
};
|
|
2201
|
-
currentChartType: import("
|
|
2199
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
2202
2200
|
pasteDialog: {
|
|
2203
2201
|
shown: false;
|
|
2204
2202
|
data: null;
|
|
@@ -2219,16 +2217,14 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2219
2217
|
followedBy: Set<import("../types").SocketId>;
|
|
2220
2218
|
isCropping: boolean;
|
|
2221
2219
|
croppingElementId: string | null;
|
|
2222
|
-
searchMatches:
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
}[];
|
|
2231
|
-
}[];
|
|
2220
|
+
searchMatches: Readonly<{
|
|
2221
|
+
focusedId: string | null;
|
|
2222
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2223
|
+
}> | null;
|
|
2224
|
+
activeLockedId: string | null;
|
|
2225
|
+
lockedMultiSelections: {
|
|
2226
|
+
[groupId: string]: true;
|
|
2227
|
+
};
|
|
2232
2228
|
};
|
|
2233
2229
|
captureUpdate: "IMMEDIATELY";
|
|
2234
2230
|
};
|
|
@@ -2240,7 +2236,7 @@ export declare const actionChangeRoundness: {
|
|
|
2240
2236
|
name: "changeRoundness";
|
|
2241
2237
|
label: string;
|
|
2242
2238
|
trackEvent: false;
|
|
2243
|
-
perform: (elements: readonly import("
|
|
2239
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
|
|
2244
2240
|
elements: ExcalidrawElement[];
|
|
2245
2241
|
appState: {
|
|
2246
2242
|
currentItemRoundness: any;
|
|
@@ -2253,17 +2249,17 @@ export declare const actionChangeRoundness: {
|
|
|
2253
2249
|
isLoading: boolean;
|
|
2254
2250
|
errorMessage: import("react").ReactNode;
|
|
2255
2251
|
activeEmbeddable: {
|
|
2256
|
-
element: import("
|
|
2252
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2257
2253
|
state: "hover" | "active";
|
|
2258
2254
|
} | null;
|
|
2259
|
-
newElement: import("
|
|
2260
|
-
resizingElement: import("
|
|
2261
|
-
multiElement: import("
|
|
2262
|
-
selectionElement: import("
|
|
2255
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2256
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2257
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
2258
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2263
2259
|
isBindingEnabled: boolean;
|
|
2264
|
-
startBoundElement: import("
|
|
2265
|
-
suggestedBindings: import("
|
|
2266
|
-
frameToHighlight: import("
|
|
2260
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2261
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2262
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2267
2263
|
frameRendering: {
|
|
2268
2264
|
enabled: boolean;
|
|
2269
2265
|
name: boolean;
|
|
@@ -2271,12 +2267,13 @@ export declare const actionChangeRoundness: {
|
|
|
2271
2267
|
clip: boolean;
|
|
2272
2268
|
};
|
|
2273
2269
|
editingFrame: string | null;
|
|
2274
|
-
elementsToHighlight: import("
|
|
2275
|
-
editingTextElement: import("
|
|
2270
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2271
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2276
2272
|
editingLinearElement: LinearElementEditor | null;
|
|
2277
2273
|
activeTool: {
|
|
2278
2274
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2279
2275
|
locked: boolean;
|
|
2276
|
+
fromSelection: boolean;
|
|
2280
2277
|
} & import("../types").ActiveTool;
|
|
2281
2278
|
penMode: boolean;
|
|
2282
2279
|
penDetected: boolean;
|
|
@@ -2286,9 +2283,9 @@ export declare const actionChangeRoundness: {
|
|
|
2286
2283
|
exportScale: number;
|
|
2287
2284
|
currentItemStrokeColor: string;
|
|
2288
2285
|
currentItemBackgroundColor: string;
|
|
2289
|
-
currentItemFillStyle: import("
|
|
2286
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
2290
2287
|
currentItemStrokeWidth: number;
|
|
2291
|
-
currentItemStrokeStyle: import("
|
|
2288
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
2292
2289
|
currentItemRoughness: number;
|
|
2293
2290
|
currentItemOpacity: number;
|
|
2294
2291
|
currentItemFontFamily: number;
|
|
@@ -2327,7 +2324,7 @@ export declare const actionChangeRoundness: {
|
|
|
2327
2324
|
sourceElementId: string;
|
|
2328
2325
|
} | null;
|
|
2329
2326
|
defaultSidebarDockedPreference: boolean;
|
|
2330
|
-
lastPointerDownWith: import("
|
|
2327
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
2331
2328
|
selectedElementIds: Readonly<{
|
|
2332
2329
|
[id: string]: true;
|
|
2333
2330
|
}>;
|
|
@@ -2345,7 +2342,7 @@ export declare const actionChangeRoundness: {
|
|
|
2345
2342
|
duration?: number | undefined;
|
|
2346
2343
|
} | null;
|
|
2347
2344
|
zenModeEnabled: boolean;
|
|
2348
|
-
theme: import("
|
|
2345
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
2349
2346
|
gridSize: number;
|
|
2350
2347
|
gridStep: number;
|
|
2351
2348
|
gridModeEnabled: boolean;
|
|
@@ -2366,7 +2363,7 @@ export declare const actionChangeRoundness: {
|
|
|
2366
2363
|
[id: string]: true;
|
|
2367
2364
|
}> | undefined;
|
|
2368
2365
|
username?: string | null | undefined;
|
|
2369
|
-
userState?: import("
|
|
2366
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
2370
2367
|
color?: {
|
|
2371
2368
|
background: string;
|
|
2372
2369
|
stroke: string;
|
|
@@ -2383,7 +2380,7 @@ export declare const actionChangeRoundness: {
|
|
|
2383
2380
|
open: boolean;
|
|
2384
2381
|
panels: number;
|
|
2385
2382
|
};
|
|
2386
|
-
currentChartType: import("
|
|
2383
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
2387
2384
|
pasteDialog: {
|
|
2388
2385
|
shown: false;
|
|
2389
2386
|
data: null;
|
|
@@ -2404,20 +2401,18 @@ export declare const actionChangeRoundness: {
|
|
|
2404
2401
|
followedBy: Set<import("../types").SocketId>;
|
|
2405
2402
|
isCropping: boolean;
|
|
2406
2403
|
croppingElementId: string | null;
|
|
2407
|
-
searchMatches:
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
}[];
|
|
2416
|
-
}[];
|
|
2404
|
+
searchMatches: Readonly<{
|
|
2405
|
+
focusedId: string | null;
|
|
2406
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2407
|
+
}> | null;
|
|
2408
|
+
activeLockedId: string | null;
|
|
2409
|
+
lockedMultiSelections: {
|
|
2410
|
+
[groupId: string]: true;
|
|
2411
|
+
};
|
|
2417
2412
|
};
|
|
2418
2413
|
captureUpdate: "IMMEDIATELY";
|
|
2419
2414
|
};
|
|
2420
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2415
|
+
PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2421
2416
|
} & {
|
|
2422
2417
|
keyTest?: undefined;
|
|
2423
2418
|
};
|
|
@@ -2425,7 +2420,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2425
2420
|
name: "changeArrowhead";
|
|
2426
2421
|
label: string;
|
|
2427
2422
|
trackEvent: false;
|
|
2428
|
-
perform: (elements: readonly import("
|
|
2423
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: {
|
|
2429
2424
|
position: "start" | "end";
|
|
2430
2425
|
type: Arrowhead;
|
|
2431
2426
|
}) => {
|
|
@@ -2440,17 +2435,17 @@ export declare const actionChangeArrowhead: {
|
|
|
2440
2435
|
isLoading: boolean;
|
|
2441
2436
|
errorMessage: import("react").ReactNode;
|
|
2442
2437
|
activeEmbeddable: {
|
|
2443
|
-
element: import("
|
|
2438
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2444
2439
|
state: "hover" | "active";
|
|
2445
2440
|
} | null;
|
|
2446
|
-
newElement: import("
|
|
2447
|
-
resizingElement: import("
|
|
2448
|
-
multiElement: import("
|
|
2449
|
-
selectionElement: import("
|
|
2441
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2442
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2443
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
2444
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2450
2445
|
isBindingEnabled: boolean;
|
|
2451
|
-
startBoundElement: import("
|
|
2452
|
-
suggestedBindings: import("
|
|
2453
|
-
frameToHighlight: import("
|
|
2446
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2447
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2448
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2454
2449
|
frameRendering: {
|
|
2455
2450
|
enabled: boolean;
|
|
2456
2451
|
name: boolean;
|
|
@@ -2458,12 +2453,13 @@ export declare const actionChangeArrowhead: {
|
|
|
2458
2453
|
clip: boolean;
|
|
2459
2454
|
};
|
|
2460
2455
|
editingFrame: string | null;
|
|
2461
|
-
elementsToHighlight: import("
|
|
2462
|
-
editingTextElement: import("
|
|
2456
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2457
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2463
2458
|
editingLinearElement: LinearElementEditor | null;
|
|
2464
2459
|
activeTool: {
|
|
2465
2460
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2466
2461
|
locked: boolean;
|
|
2462
|
+
fromSelection: boolean;
|
|
2467
2463
|
} & import("../types").ActiveTool;
|
|
2468
2464
|
penMode: boolean;
|
|
2469
2465
|
penDetected: boolean;
|
|
@@ -2473,9 +2469,9 @@ export declare const actionChangeArrowhead: {
|
|
|
2473
2469
|
exportScale: number;
|
|
2474
2470
|
currentItemStrokeColor: string;
|
|
2475
2471
|
currentItemBackgroundColor: string;
|
|
2476
|
-
currentItemFillStyle: import("
|
|
2472
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
2477
2473
|
currentItemStrokeWidth: number;
|
|
2478
|
-
currentItemStrokeStyle: import("
|
|
2474
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
2479
2475
|
currentItemRoughness: number;
|
|
2480
2476
|
currentItemOpacity: number;
|
|
2481
2477
|
currentItemFontFamily: number;
|
|
@@ -2484,7 +2480,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2484
2480
|
currentItemStartArrowhead: Arrowhead | null;
|
|
2485
2481
|
currentItemEndArrowhead: Arrowhead | null;
|
|
2486
2482
|
currentHoveredFontFamily: number | null;
|
|
2487
|
-
currentItemRoundness: import("
|
|
2483
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
2488
2484
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
2489
2485
|
viewBackgroundColor: string;
|
|
2490
2486
|
scrollX: number;
|
|
@@ -2515,7 +2511,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2515
2511
|
sourceElementId: string;
|
|
2516
2512
|
} | null;
|
|
2517
2513
|
defaultSidebarDockedPreference: boolean;
|
|
2518
|
-
lastPointerDownWith: import("
|
|
2514
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
2519
2515
|
selectedElementIds: Readonly<{
|
|
2520
2516
|
[id: string]: true;
|
|
2521
2517
|
}>;
|
|
@@ -2533,7 +2529,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2533
2529
|
duration?: number | undefined;
|
|
2534
2530
|
} | null;
|
|
2535
2531
|
zenModeEnabled: boolean;
|
|
2536
|
-
theme: import("
|
|
2532
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
2537
2533
|
gridSize: number;
|
|
2538
2534
|
gridStep: number;
|
|
2539
2535
|
gridModeEnabled: boolean;
|
|
@@ -2554,7 +2550,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2554
2550
|
[id: string]: true;
|
|
2555
2551
|
}> | undefined;
|
|
2556
2552
|
username?: string | null | undefined;
|
|
2557
|
-
userState?: import("
|
|
2553
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
2558
2554
|
color?: {
|
|
2559
2555
|
background: string;
|
|
2560
2556
|
stroke: string;
|
|
@@ -2571,7 +2567,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2571
2567
|
open: boolean;
|
|
2572
2568
|
panels: number;
|
|
2573
2569
|
};
|
|
2574
|
-
currentChartType: import("
|
|
2570
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
2575
2571
|
pasteDialog: {
|
|
2576
2572
|
shown: false;
|
|
2577
2573
|
data: null;
|
|
@@ -2592,20 +2588,18 @@ export declare const actionChangeArrowhead: {
|
|
|
2592
2588
|
followedBy: Set<import("../types").SocketId>;
|
|
2593
2589
|
isCropping: boolean;
|
|
2594
2590
|
croppingElementId: string | null;
|
|
2595
|
-
searchMatches:
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
}[];
|
|
2604
|
-
}[];
|
|
2591
|
+
searchMatches: Readonly<{
|
|
2592
|
+
focusedId: string | null;
|
|
2593
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2594
|
+
}> | null;
|
|
2595
|
+
activeLockedId: string | null;
|
|
2596
|
+
lockedMultiSelections: {
|
|
2597
|
+
[groupId: string]: true;
|
|
2598
|
+
};
|
|
2605
2599
|
};
|
|
2606
2600
|
captureUpdate: "IMMEDIATELY";
|
|
2607
2601
|
};
|
|
2608
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2602
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2609
2603
|
} & {
|
|
2610
2604
|
keyTest?: undefined;
|
|
2611
2605
|
};
|
|
@@ -2613,7 +2607,7 @@ export declare const actionChangeArrowType: {
|
|
|
2613
2607
|
name: "changeArrowType";
|
|
2614
2608
|
label: string;
|
|
2615
2609
|
trackEvent: false;
|
|
2616
|
-
perform: (elements: readonly import("
|
|
2610
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
|
|
2617
2611
|
elements: ExcalidrawElement[];
|
|
2618
2612
|
appState: {
|
|
2619
2613
|
currentItemArrowType: any;
|
|
@@ -2626,17 +2620,17 @@ export declare const actionChangeArrowType: {
|
|
|
2626
2620
|
isLoading: boolean;
|
|
2627
2621
|
errorMessage: import("react").ReactNode;
|
|
2628
2622
|
activeEmbeddable: {
|
|
2629
|
-
element: import("
|
|
2623
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
2630
2624
|
state: "hover" | "active";
|
|
2631
2625
|
} | null;
|
|
2632
|
-
newElement: import("
|
|
2633
|
-
resizingElement: import("
|
|
2634
|
-
multiElement: import("
|
|
2635
|
-
selectionElement: import("
|
|
2626
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
2627
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2628
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
2629
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2636
2630
|
isBindingEnabled: boolean;
|
|
2637
|
-
startBoundElement: import("
|
|
2638
|
-
suggestedBindings: import("
|
|
2639
|
-
frameToHighlight: import("
|
|
2631
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
|
|
2632
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
2633
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
2640
2634
|
frameRendering: {
|
|
2641
2635
|
enabled: boolean;
|
|
2642
2636
|
name: boolean;
|
|
@@ -2644,12 +2638,13 @@ export declare const actionChangeArrowType: {
|
|
|
2644
2638
|
clip: boolean;
|
|
2645
2639
|
};
|
|
2646
2640
|
editingFrame: string | null;
|
|
2647
|
-
elementsToHighlight: import("
|
|
2648
|
-
editingTextElement: import("
|
|
2641
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2642
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2649
2643
|
editingLinearElement: LinearElementEditor | null;
|
|
2650
2644
|
activeTool: {
|
|
2651
2645
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
2652
2646
|
locked: boolean;
|
|
2647
|
+
fromSelection: boolean;
|
|
2653
2648
|
} & import("../types").ActiveTool;
|
|
2654
2649
|
penMode: boolean;
|
|
2655
2650
|
penDetected: boolean;
|
|
@@ -2659,9 +2654,9 @@ export declare const actionChangeArrowType: {
|
|
|
2659
2654
|
exportScale: number;
|
|
2660
2655
|
currentItemStrokeColor: string;
|
|
2661
2656
|
currentItemBackgroundColor: string;
|
|
2662
|
-
currentItemFillStyle: import("
|
|
2657
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
2663
2658
|
currentItemStrokeWidth: number;
|
|
2664
|
-
currentItemStrokeStyle: import("
|
|
2659
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
2665
2660
|
currentItemRoughness: number;
|
|
2666
2661
|
currentItemOpacity: number;
|
|
2667
2662
|
currentItemFontFamily: number;
|
|
@@ -2670,7 +2665,7 @@ export declare const actionChangeArrowType: {
|
|
|
2670
2665
|
currentItemStartArrowhead: Arrowhead | null;
|
|
2671
2666
|
currentItemEndArrowhead: Arrowhead | null;
|
|
2672
2667
|
currentHoveredFontFamily: number | null;
|
|
2673
|
-
currentItemRoundness: import("
|
|
2668
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
2674
2669
|
viewBackgroundColor: string;
|
|
2675
2670
|
scrollX: number;
|
|
2676
2671
|
scrollY: number;
|
|
@@ -2700,7 +2695,7 @@ export declare const actionChangeArrowType: {
|
|
|
2700
2695
|
sourceElementId: string;
|
|
2701
2696
|
} | null;
|
|
2702
2697
|
defaultSidebarDockedPreference: boolean;
|
|
2703
|
-
lastPointerDownWith: import("
|
|
2698
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
2704
2699
|
selectedElementIds: Readonly<{
|
|
2705
2700
|
[id: string]: true;
|
|
2706
2701
|
}>;
|
|
@@ -2718,7 +2713,7 @@ export declare const actionChangeArrowType: {
|
|
|
2718
2713
|
duration?: number | undefined;
|
|
2719
2714
|
} | null;
|
|
2720
2715
|
zenModeEnabled: boolean;
|
|
2721
|
-
theme: import("
|
|
2716
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
2722
2717
|
gridSize: number;
|
|
2723
2718
|
gridStep: number;
|
|
2724
2719
|
gridModeEnabled: boolean;
|
|
@@ -2739,7 +2734,7 @@ export declare const actionChangeArrowType: {
|
|
|
2739
2734
|
[id: string]: true;
|
|
2740
2735
|
}> | undefined;
|
|
2741
2736
|
username?: string | null | undefined;
|
|
2742
|
-
userState?: import("
|
|
2737
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
2743
2738
|
color?: {
|
|
2744
2739
|
background: string;
|
|
2745
2740
|
stroke: string;
|
|
@@ -2756,7 +2751,7 @@ export declare const actionChangeArrowType: {
|
|
|
2756
2751
|
open: boolean;
|
|
2757
2752
|
panels: number;
|
|
2758
2753
|
};
|
|
2759
|
-
currentChartType: import("
|
|
2754
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
2760
2755
|
pasteDialog: {
|
|
2761
2756
|
shown: false;
|
|
2762
2757
|
data: null;
|
|
@@ -2777,20 +2772,18 @@ export declare const actionChangeArrowType: {
|
|
|
2777
2772
|
followedBy: Set<import("../types").SocketId>;
|
|
2778
2773
|
isCropping: boolean;
|
|
2779
2774
|
croppingElementId: string | null;
|
|
2780
|
-
searchMatches:
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
}[];
|
|
2789
|
-
}[];
|
|
2775
|
+
searchMatches: Readonly<{
|
|
2776
|
+
focusedId: string | null;
|
|
2777
|
+
matches: readonly import("../types").SearchMatch[];
|
|
2778
|
+
}> | null;
|
|
2779
|
+
activeLockedId: string | null;
|
|
2780
|
+
lockedMultiSelections: {
|
|
2781
|
+
[groupId: string]: true;
|
|
2782
|
+
};
|
|
2790
2783
|
};
|
|
2791
2784
|
captureUpdate: "IMMEDIATELY";
|
|
2792
2785
|
};
|
|
2793
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2786
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2794
2787
|
} & {
|
|
2795
2788
|
keyTest?: undefined;
|
|
2796
2789
|
};
|