@excalidraw/excalidraw 0.18.0-817d8c5 → 0.18.0-8fc71066d
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-CP5DND7P.js +7 -0
- package/dist/dev/chunk-CP5DND7P.js.map +7 -0
- package/dist/dev/chunk-CRKRRBMD.js +5677 -0
- package/dist/dev/chunk-CRKRRBMD.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-LMHBUWQS.js → chunk-QF5FRM6O.js} +16 -5
- package/dist/dev/chunk-QF5FRM6O.js.map +7 -0
- package/dist/dev/data/{image-V26YBSDB.js → image-IWGLHPIX.js} +3 -3
- package/dist/dev/index.css +3021 -2942
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +30925 -24333
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-OZCJJ2HN.js → en-SMAPCEOQ.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-A66AFZZU.js +7 -0
- package/dist/prod/chunk-HHV2PJKY.js +4 -0
- package/dist/prod/chunk-I4UNSFV6.js +12 -0
- package/dist/prod/chunk-LS7FJGPW.js +86 -0
- package/dist/prod/data/image-4SM4COIL.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +27 -16
- package/dist/prod/locales/{en-B4ZKOASM.js → en-TYY6KWIJ.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 +29 -8
- 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 +22 -11
- package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +19 -18
- package/dist/types/element/src/align.d.ts +8 -0
- package/dist/types/{excalidraw/element → element/src}/binding.d.ts +30 -19
- package/dist/types/{excalidraw/element → element/src}/bounds.d.ts +19 -6
- package/dist/types/element/src/collision.d.ts +32 -0
- package/dist/types/{excalidraw/scene → element/src}/comparisons.d.ts +1 -1
- package/dist/types/{excalidraw/element → element/src}/cropElement.d.ts +1 -1
- package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +79 -41
- package/dist/types/element/src/distance.d.ts +3 -0
- package/dist/types/{excalidraw → element/src}/distribute.d.ts +3 -2
- 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 +12 -3
- package/dist/types/{excalidraw → element/src}/frame.d.ts +8 -7
- package/dist/types/{excalidraw → element/src}/groups.d.ts +6 -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 +57 -0
- package/dist/types/{excalidraw/element → element/src}/linearElementEditor.d.ts +24 -37
- package/dist/types/element/src/mutateElement.d.ts +21 -0
- 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 +7 -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/shape.d.ts +42 -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 +232 -0
- package/dist/types/{excalidraw/element → element/src}/textElement.d.ts +8 -7
- package/dist/types/{excalidraw/element → element/src}/transformHandles.d.ts +7 -7
- package/dist/types/{excalidraw/element → element/src}/typeChecks.d.ts +21 -3
- package/dist/types/{excalidraw/element → element/src}/types.d.ts +17 -4
- package/dist/types/element/src/utils.d.ts +31 -0
- package/dist/types/{excalidraw → element/src}/zindex.d.ts +5 -4
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +97 -106
- package/dist/types/excalidraw/actions/actionAlign.d.ts +7 -7
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +70 -76
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +627 -490
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +206 -222
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +34 -37
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +102 -110
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +3 -7
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +37 -40
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +82 -90
- package/dist/types/excalidraw/{element/embeddable.d.ts → actions/actionEmbeddable.d.ts} +34 -47
- package/dist/types/excalidraw/actions/actionExport.d.ts +351 -378
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +100 -65
- package/dist/types/excalidraw/actions/actionFlip.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionFrame.d.ts +252 -264
- package/dist/types/excalidraw/actions/actionGroup.d.ts +67 -73
- package/dist/types/excalidraw/actions/actionHistory.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +561 -40
- package/dist/types/excalidraw/actions/actionLink.d.ts +35 -38
- package/dist/types/excalidraw/actions/actionMenu.d.ts +98 -107
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +65 -71
- package/dist/types/excalidraw/actions/actionProperties.d.ts +469 -506
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +35 -38
- package/dist/types/excalidraw/actions/actionStyles.d.ts +36 -39
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +34 -37
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +34 -37
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +33 -208
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +33 -37
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +34 -38
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +34 -38
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/actions/index.d.ts +1 -0
- package/dist/types/excalidraw/actions/manager.d.ts +2 -2
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +6 -5
- package/dist/types/excalidraw/animated-trail.d.ts +7 -1
- package/dist/types/excalidraw/appState.d.ts +38 -28
- 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 -7
- package/dist/types/excalidraw/components/App.d.ts +46 -29
- 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/Ellipsify.d.ts +4 -0
- 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 +14 -4
- 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 +4 -4
- package/dist/types/excalidraw/data/filesystem.d.ts +2 -2
- package/dist/types/excalidraw/data/index.d.ts +2 -2
- package/dist/types/excalidraw/data/json.d.ts +1 -1
- package/dist/types/excalidraw/data/library.d.ts +3 -3
- package/dist/types/excalidraw/data/reconcile.d.ts +3 -2
- package/dist/types/excalidraw/data/resave.d.ts +1 -1
- package/dist/types/excalidraw/data/restore.d.ts +6 -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 +12 -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 +31 -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 +18 -16
- 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 +13 -0
- package/dist/types/excalidraw/renderer/helpers.d.ts +8 -3
- package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
- package/dist/types/excalidraw/renderer/staticSvgScene.d.ts +2 -2
- package/dist/types/excalidraw/scene/Renderer.d.ts +3 -4
- 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 +46 -25
- 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/src/constants.d.ts +3 -0
- package/dist/types/math/src/curve.d.ts +74 -0
- package/dist/types/math/{index.d.ts → src/index.d.ts} +1 -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/{rectangle.d.ts → src/rectangle.d.ts} +2 -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} +8 -2
- package/dist/types/utils/{bbox.d.ts → src/bbox.d.ts} +1 -1
- 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 +148 -109
- package/package.json +25 -10
- package/dist/dev/chunk-3SN6HYVK.js +0 -25695
- 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-6U3AYISY.js +0 -12
- 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/collision.d.ts +0 -26
- package/dist/types/excalidraw/element/distance.d.ts +0 -3
- package/dist/types/excalidraw/element/index.d.ts +0 -26
- package/dist/types/excalidraw/element/mutateElement.d.ts +0 -13
- package/dist/types/excalidraw/element/utils.d.ts +0 -21
- package/dist/types/excalidraw/scene/Shape.d.ts +0 -17
- package/dist/types/excalidraw/scene/ShapeCache.d.ts +0 -25
- package/dist/types/excalidraw/shapes.d.ts +0 -85
- package/dist/types/excalidraw/store.d.ts +0 -129
- package/dist/types/excalidraw/visualdebug.d.ts +0 -41
- package/dist/types/math/curve.d.ts +0 -40
- package/dist/types/utils/collision.d.ts +0 -9
- /package/dist/dev/data/{image-V26YBSDB.js.map → image-IWGLHPIX.js.map} +0 -0
- /package/dist/dev/locales/{en-OZCJJ2HN.js.map → en-SMAPCEOQ.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}/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/math/{ellipse.d.ts → src/ellipse.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/{triangle.d.ts → src/triangle.d.ts} +0 -0
- /package/dist/types/math/{utils.d.ts → src/utils.d.ts} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { Theme } from "
|
|
2
|
+
import type { Theme } from "@excalidraw/element/types";
|
|
3
3
|
import "../components/ToolIcon.scss";
|
|
4
4
|
export declare const actionChangeProjectName: {
|
|
5
5
|
name: "changeProjectName";
|
|
6
6
|
label: string;
|
|
7
7
|
trackEvent: false;
|
|
8
|
-
perform: (_elements: readonly import("
|
|
8
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
|
|
9
9
|
appState: {
|
|
10
10
|
name: any;
|
|
11
11
|
contextMenu: {
|
|
@@ -17,17 +17,17 @@ export declare const actionChangeProjectName: {
|
|
|
17
17
|
isLoading: boolean;
|
|
18
18
|
errorMessage: import("react").ReactNode;
|
|
19
19
|
activeEmbeddable: {
|
|
20
|
-
element: import("
|
|
21
|
-
state: "
|
|
20
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
21
|
+
state: "active" | "hover";
|
|
22
22
|
} | null;
|
|
23
|
-
newElement: import("
|
|
24
|
-
resizingElement: import("
|
|
25
|
-
multiElement: import("
|
|
26
|
-
selectionElement: import("
|
|
23
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
24
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
25
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
26
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
27
27
|
isBindingEnabled: boolean;
|
|
28
|
-
startBoundElement: import("
|
|
29
|
-
suggestedBindings: import("
|
|
30
|
-
frameToHighlight: import("
|
|
28
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
29
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
30
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
31
31
|
frameRendering: {
|
|
32
32
|
enabled: boolean;
|
|
33
33
|
name: boolean;
|
|
@@ -35,12 +35,12 @@ export declare const actionChangeProjectName: {
|
|
|
35
35
|
clip: boolean;
|
|
36
36
|
};
|
|
37
37
|
editingFrame: string | null;
|
|
38
|
-
elementsToHighlight: import("
|
|
39
|
-
editingTextElement: import("
|
|
40
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
38
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
39
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
41
40
|
activeTool: {
|
|
42
41
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
43
42
|
locked: boolean;
|
|
43
|
+
fromSelection: boolean;
|
|
44
44
|
} & import("../types").ActiveTool;
|
|
45
45
|
penMode: boolean;
|
|
46
46
|
penDetected: boolean;
|
|
@@ -50,18 +50,18 @@ export declare const actionChangeProjectName: {
|
|
|
50
50
|
exportScale: number;
|
|
51
51
|
currentItemStrokeColor: string;
|
|
52
52
|
currentItemBackgroundColor: string;
|
|
53
|
-
currentItemFillStyle: import("
|
|
53
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
54
54
|
currentItemStrokeWidth: number;
|
|
55
|
-
currentItemStrokeStyle: import("
|
|
55
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
56
56
|
currentItemRoughness: number;
|
|
57
57
|
currentItemOpacity: number;
|
|
58
58
|
currentItemFontFamily: number;
|
|
59
59
|
currentItemFontSize: number;
|
|
60
60
|
currentItemTextAlign: string;
|
|
61
|
-
currentItemStartArrowhead: import("
|
|
62
|
-
currentItemEndArrowhead: import("
|
|
61
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
62
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
63
63
|
currentHoveredFontFamily: number | null;
|
|
64
|
-
currentItemRoundness: import("
|
|
64
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
65
65
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
66
66
|
viewBackgroundColor: string;
|
|
67
67
|
scrollX: number;
|
|
@@ -83,7 +83,7 @@ export declare const actionChangeProjectName: {
|
|
|
83
83
|
name: "imageExport" | "help" | "jsonExport";
|
|
84
84
|
} | {
|
|
85
85
|
name: "ttd";
|
|
86
|
-
tab: "text-to-diagram"
|
|
86
|
+
tab: "mermaid" | "text-to-diagram";
|
|
87
87
|
} | {
|
|
88
88
|
name: "commandPalette";
|
|
89
89
|
} | {
|
|
@@ -91,7 +91,7 @@ export declare const actionChangeProjectName: {
|
|
|
91
91
|
sourceElementId: string;
|
|
92
92
|
} | null;
|
|
93
93
|
defaultSidebarDockedPreference: boolean;
|
|
94
|
-
lastPointerDownWith: import("
|
|
94
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
95
95
|
selectedElementIds: Readonly<{
|
|
96
96
|
[id: string]: true;
|
|
97
97
|
}>;
|
|
@@ -130,7 +130,7 @@ export declare const actionChangeProjectName: {
|
|
|
130
130
|
[id: string]: true;
|
|
131
131
|
}> | undefined;
|
|
132
132
|
username?: string | null | undefined;
|
|
133
|
-
userState?: import("
|
|
133
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
134
134
|
color?: {
|
|
135
135
|
background: string;
|
|
136
136
|
stroke: string;
|
|
@@ -147,7 +147,7 @@ export declare const actionChangeProjectName: {
|
|
|
147
147
|
open: boolean;
|
|
148
148
|
panels: number;
|
|
149
149
|
};
|
|
150
|
-
currentChartType: import("
|
|
150
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
151
151
|
pasteDialog: {
|
|
152
152
|
shown: false;
|
|
153
153
|
data: null;
|
|
@@ -155,9 +155,8 @@ export declare const actionChangeProjectName: {
|
|
|
155
155
|
shown: true;
|
|
156
156
|
data: import("../charts").Spreadsheet;
|
|
157
157
|
};
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
158
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
159
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
161
160
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
162
161
|
originSnapOffset: {
|
|
163
162
|
x: number;
|
|
@@ -168,16 +167,14 @@ export declare const actionChangeProjectName: {
|
|
|
168
167
|
followedBy: Set<import("../types").SocketId>;
|
|
169
168
|
isCropping: boolean;
|
|
170
169
|
croppingElementId: string | null;
|
|
171
|
-
searchMatches:
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}[];
|
|
180
|
-
}[];
|
|
170
|
+
searchMatches: Readonly<{
|
|
171
|
+
focusedId: string | null;
|
|
172
|
+
matches: readonly import("../types").SearchMatch[];
|
|
173
|
+
}> | null;
|
|
174
|
+
activeLockedId: string | null;
|
|
175
|
+
lockedMultiSelections: {
|
|
176
|
+
[groupId: string]: true;
|
|
177
|
+
};
|
|
181
178
|
};
|
|
182
179
|
captureUpdate: "EVENTUALLY";
|
|
183
180
|
};
|
|
@@ -192,7 +189,7 @@ export declare const actionChangeExportScale: {
|
|
|
192
189
|
category: "export";
|
|
193
190
|
action: string;
|
|
194
191
|
};
|
|
195
|
-
perform: (_elements: readonly import("
|
|
192
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
|
|
196
193
|
appState: {
|
|
197
194
|
exportScale: any;
|
|
198
195
|
contextMenu: {
|
|
@@ -204,17 +201,17 @@ export declare const actionChangeExportScale: {
|
|
|
204
201
|
isLoading: boolean;
|
|
205
202
|
errorMessage: import("react").ReactNode;
|
|
206
203
|
activeEmbeddable: {
|
|
207
|
-
element: import("
|
|
208
|
-
state: "
|
|
204
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
205
|
+
state: "active" | "hover";
|
|
209
206
|
} | null;
|
|
210
|
-
newElement: import("
|
|
211
|
-
resizingElement: import("
|
|
212
|
-
multiElement: import("
|
|
213
|
-
selectionElement: import("
|
|
207
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
208
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
209
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
210
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
214
211
|
isBindingEnabled: boolean;
|
|
215
|
-
startBoundElement: import("
|
|
216
|
-
suggestedBindings: import("
|
|
217
|
-
frameToHighlight: import("
|
|
212
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
213
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
214
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
218
215
|
frameRendering: {
|
|
219
216
|
enabled: boolean;
|
|
220
217
|
name: boolean;
|
|
@@ -222,12 +219,12 @@ export declare const actionChangeExportScale: {
|
|
|
222
219
|
clip: boolean;
|
|
223
220
|
};
|
|
224
221
|
editingFrame: string | null;
|
|
225
|
-
elementsToHighlight: import("
|
|
226
|
-
editingTextElement: import("
|
|
227
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
222
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
223
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
228
224
|
activeTool: {
|
|
229
225
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
230
226
|
locked: boolean;
|
|
227
|
+
fromSelection: boolean;
|
|
231
228
|
} & import("../types").ActiveTool;
|
|
232
229
|
penMode: boolean;
|
|
233
230
|
penDetected: boolean;
|
|
@@ -236,18 +233,18 @@ export declare const actionChangeExportScale: {
|
|
|
236
233
|
exportWithDarkMode: boolean;
|
|
237
234
|
currentItemStrokeColor: string;
|
|
238
235
|
currentItemBackgroundColor: string;
|
|
239
|
-
currentItemFillStyle: import("
|
|
236
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
240
237
|
currentItemStrokeWidth: number;
|
|
241
|
-
currentItemStrokeStyle: import("
|
|
238
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
242
239
|
currentItemRoughness: number;
|
|
243
240
|
currentItemOpacity: number;
|
|
244
241
|
currentItemFontFamily: number;
|
|
245
242
|
currentItemFontSize: number;
|
|
246
243
|
currentItemTextAlign: string;
|
|
247
|
-
currentItemStartArrowhead: import("
|
|
248
|
-
currentItemEndArrowhead: import("
|
|
244
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
245
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
249
246
|
currentHoveredFontFamily: number | null;
|
|
250
|
-
currentItemRoundness: import("
|
|
247
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
251
248
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
252
249
|
viewBackgroundColor: string;
|
|
253
250
|
scrollX: number;
|
|
@@ -270,7 +267,7 @@ export declare const actionChangeExportScale: {
|
|
|
270
267
|
name: "imageExport" | "help" | "jsonExport";
|
|
271
268
|
} | {
|
|
272
269
|
name: "ttd";
|
|
273
|
-
tab: "text-to-diagram"
|
|
270
|
+
tab: "mermaid" | "text-to-diagram";
|
|
274
271
|
} | {
|
|
275
272
|
name: "commandPalette";
|
|
276
273
|
} | {
|
|
@@ -278,7 +275,7 @@ export declare const actionChangeExportScale: {
|
|
|
278
275
|
sourceElementId: string;
|
|
279
276
|
} | null;
|
|
280
277
|
defaultSidebarDockedPreference: boolean;
|
|
281
|
-
lastPointerDownWith: import("
|
|
278
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
282
279
|
selectedElementIds: Readonly<{
|
|
283
280
|
[id: string]: true;
|
|
284
281
|
}>;
|
|
@@ -317,7 +314,7 @@ export declare const actionChangeExportScale: {
|
|
|
317
314
|
[id: string]: true;
|
|
318
315
|
}> | undefined;
|
|
319
316
|
username?: string | null | undefined;
|
|
320
|
-
userState?: import("
|
|
317
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
321
318
|
color?: {
|
|
322
319
|
background: string;
|
|
323
320
|
stroke: string;
|
|
@@ -334,7 +331,7 @@ export declare const actionChangeExportScale: {
|
|
|
334
331
|
open: boolean;
|
|
335
332
|
panels: number;
|
|
336
333
|
};
|
|
337
|
-
currentChartType: import("
|
|
334
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
338
335
|
pasteDialog: {
|
|
339
336
|
shown: false;
|
|
340
337
|
data: null;
|
|
@@ -342,9 +339,8 @@ export declare const actionChangeExportScale: {
|
|
|
342
339
|
shown: true;
|
|
343
340
|
data: import("../charts").Spreadsheet;
|
|
344
341
|
};
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
342
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
343
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
348
344
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
349
345
|
originSnapOffset: {
|
|
350
346
|
x: number;
|
|
@@ -355,16 +351,14 @@ export declare const actionChangeExportScale: {
|
|
|
355
351
|
followedBy: Set<import("../types").SocketId>;
|
|
356
352
|
isCropping: boolean;
|
|
357
353
|
croppingElementId: string | null;
|
|
358
|
-
searchMatches:
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
}[];
|
|
367
|
-
}[];
|
|
354
|
+
searchMatches: Readonly<{
|
|
355
|
+
focusedId: string | null;
|
|
356
|
+
matches: readonly import("../types").SearchMatch[];
|
|
357
|
+
}> | null;
|
|
358
|
+
activeLockedId: string | null;
|
|
359
|
+
lockedMultiSelections: {
|
|
360
|
+
[groupId: string]: true;
|
|
361
|
+
};
|
|
368
362
|
};
|
|
369
363
|
captureUpdate: "EVENTUALLY";
|
|
370
364
|
};
|
|
@@ -379,7 +373,7 @@ export declare const actionChangeExportBackground: {
|
|
|
379
373
|
category: "export";
|
|
380
374
|
action: string;
|
|
381
375
|
};
|
|
382
|
-
perform: (_elements: readonly import("
|
|
376
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
|
|
383
377
|
appState: {
|
|
384
378
|
exportBackground: any;
|
|
385
379
|
contextMenu: {
|
|
@@ -391,17 +385,17 @@ export declare const actionChangeExportBackground: {
|
|
|
391
385
|
isLoading: boolean;
|
|
392
386
|
errorMessage: import("react").ReactNode;
|
|
393
387
|
activeEmbeddable: {
|
|
394
|
-
element: import("
|
|
395
|
-
state: "
|
|
388
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
389
|
+
state: "active" | "hover";
|
|
396
390
|
} | null;
|
|
397
|
-
newElement: import("
|
|
398
|
-
resizingElement: import("
|
|
399
|
-
multiElement: import("
|
|
400
|
-
selectionElement: import("
|
|
391
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
392
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
393
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
394
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
401
395
|
isBindingEnabled: boolean;
|
|
402
|
-
startBoundElement: import("
|
|
403
|
-
suggestedBindings: import("
|
|
404
|
-
frameToHighlight: import("
|
|
396
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
397
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
398
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
405
399
|
frameRendering: {
|
|
406
400
|
enabled: boolean;
|
|
407
401
|
name: boolean;
|
|
@@ -409,12 +403,12 @@ export declare const actionChangeExportBackground: {
|
|
|
409
403
|
clip: boolean;
|
|
410
404
|
};
|
|
411
405
|
editingFrame: string | null;
|
|
412
|
-
elementsToHighlight: import("
|
|
413
|
-
editingTextElement: import("
|
|
414
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
406
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
407
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
415
408
|
activeTool: {
|
|
416
409
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
417
410
|
locked: boolean;
|
|
411
|
+
fromSelection: boolean;
|
|
418
412
|
} & import("../types").ActiveTool;
|
|
419
413
|
penMode: boolean;
|
|
420
414
|
penDetected: boolean;
|
|
@@ -423,18 +417,18 @@ export declare const actionChangeExportBackground: {
|
|
|
423
417
|
exportScale: number;
|
|
424
418
|
currentItemStrokeColor: string;
|
|
425
419
|
currentItemBackgroundColor: string;
|
|
426
|
-
currentItemFillStyle: import("
|
|
420
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
427
421
|
currentItemStrokeWidth: number;
|
|
428
|
-
currentItemStrokeStyle: import("
|
|
422
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
429
423
|
currentItemRoughness: number;
|
|
430
424
|
currentItemOpacity: number;
|
|
431
425
|
currentItemFontFamily: number;
|
|
432
426
|
currentItemFontSize: number;
|
|
433
427
|
currentItemTextAlign: string;
|
|
434
|
-
currentItemStartArrowhead: import("
|
|
435
|
-
currentItemEndArrowhead: import("
|
|
428
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
429
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
436
430
|
currentHoveredFontFamily: number | null;
|
|
437
|
-
currentItemRoundness: import("
|
|
431
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
438
432
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
439
433
|
viewBackgroundColor: string;
|
|
440
434
|
scrollX: number;
|
|
@@ -457,7 +451,7 @@ export declare const actionChangeExportBackground: {
|
|
|
457
451
|
name: "imageExport" | "help" | "jsonExport";
|
|
458
452
|
} | {
|
|
459
453
|
name: "ttd";
|
|
460
|
-
tab: "text-to-diagram"
|
|
454
|
+
tab: "mermaid" | "text-to-diagram";
|
|
461
455
|
} | {
|
|
462
456
|
name: "commandPalette";
|
|
463
457
|
} | {
|
|
@@ -465,7 +459,7 @@ export declare const actionChangeExportBackground: {
|
|
|
465
459
|
sourceElementId: string;
|
|
466
460
|
} | null;
|
|
467
461
|
defaultSidebarDockedPreference: boolean;
|
|
468
|
-
lastPointerDownWith: import("
|
|
462
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
469
463
|
selectedElementIds: Readonly<{
|
|
470
464
|
[id: string]: true;
|
|
471
465
|
}>;
|
|
@@ -504,7 +498,7 @@ export declare const actionChangeExportBackground: {
|
|
|
504
498
|
[id: string]: true;
|
|
505
499
|
}> | undefined;
|
|
506
500
|
username?: string | null | undefined;
|
|
507
|
-
userState?: import("
|
|
501
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
508
502
|
color?: {
|
|
509
503
|
background: string;
|
|
510
504
|
stroke: string;
|
|
@@ -521,7 +515,7 @@ export declare const actionChangeExportBackground: {
|
|
|
521
515
|
open: boolean;
|
|
522
516
|
panels: number;
|
|
523
517
|
};
|
|
524
|
-
currentChartType: import("
|
|
518
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
525
519
|
pasteDialog: {
|
|
526
520
|
shown: false;
|
|
527
521
|
data: null;
|
|
@@ -529,9 +523,8 @@ export declare const actionChangeExportBackground: {
|
|
|
529
523
|
shown: true;
|
|
530
524
|
data: import("../charts").Spreadsheet;
|
|
531
525
|
};
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
526
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
527
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
535
528
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
536
529
|
originSnapOffset: {
|
|
537
530
|
x: number;
|
|
@@ -542,16 +535,14 @@ export declare const actionChangeExportBackground: {
|
|
|
542
535
|
followedBy: Set<import("../types").SocketId>;
|
|
543
536
|
isCropping: boolean;
|
|
544
537
|
croppingElementId: string | null;
|
|
545
|
-
searchMatches:
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
}[];
|
|
554
|
-
}[];
|
|
538
|
+
searchMatches: Readonly<{
|
|
539
|
+
focusedId: string | null;
|
|
540
|
+
matches: readonly import("../types").SearchMatch[];
|
|
541
|
+
}> | null;
|
|
542
|
+
activeLockedId: string | null;
|
|
543
|
+
lockedMultiSelections: {
|
|
544
|
+
[groupId: string]: true;
|
|
545
|
+
};
|
|
555
546
|
};
|
|
556
547
|
captureUpdate: "EVENTUALLY";
|
|
557
548
|
};
|
|
@@ -566,7 +557,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
566
557
|
category: "export";
|
|
567
558
|
action: string;
|
|
568
559
|
};
|
|
569
|
-
perform: (_elements: readonly import("
|
|
560
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
|
|
570
561
|
appState: {
|
|
571
562
|
exportEmbedScene: any;
|
|
572
563
|
contextMenu: {
|
|
@@ -578,17 +569,17 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
578
569
|
isLoading: boolean;
|
|
579
570
|
errorMessage: import("react").ReactNode;
|
|
580
571
|
activeEmbeddable: {
|
|
581
|
-
element: import("
|
|
582
|
-
state: "
|
|
572
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
573
|
+
state: "active" | "hover";
|
|
583
574
|
} | null;
|
|
584
|
-
newElement: import("
|
|
585
|
-
resizingElement: import("
|
|
586
|
-
multiElement: import("
|
|
587
|
-
selectionElement: import("
|
|
575
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
576
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
577
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
578
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
588
579
|
isBindingEnabled: boolean;
|
|
589
|
-
startBoundElement: import("
|
|
590
|
-
suggestedBindings: import("
|
|
591
|
-
frameToHighlight: import("
|
|
580
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
581
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
582
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
592
583
|
frameRendering: {
|
|
593
584
|
enabled: boolean;
|
|
594
585
|
name: boolean;
|
|
@@ -596,12 +587,12 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
596
587
|
clip: boolean;
|
|
597
588
|
};
|
|
598
589
|
editingFrame: string | null;
|
|
599
|
-
elementsToHighlight: import("
|
|
600
|
-
editingTextElement: import("
|
|
601
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
590
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
591
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
602
592
|
activeTool: {
|
|
603
593
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
604
594
|
locked: boolean;
|
|
595
|
+
fromSelection: boolean;
|
|
605
596
|
} & import("../types").ActiveTool;
|
|
606
597
|
penMode: boolean;
|
|
607
598
|
penDetected: boolean;
|
|
@@ -610,18 +601,18 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
610
601
|
exportScale: number;
|
|
611
602
|
currentItemStrokeColor: string;
|
|
612
603
|
currentItemBackgroundColor: string;
|
|
613
|
-
currentItemFillStyle: import("
|
|
604
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
614
605
|
currentItemStrokeWidth: number;
|
|
615
|
-
currentItemStrokeStyle: import("
|
|
606
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
616
607
|
currentItemRoughness: number;
|
|
617
608
|
currentItemOpacity: number;
|
|
618
609
|
currentItemFontFamily: number;
|
|
619
610
|
currentItemFontSize: number;
|
|
620
611
|
currentItemTextAlign: string;
|
|
621
|
-
currentItemStartArrowhead: import("
|
|
622
|
-
currentItemEndArrowhead: import("
|
|
612
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
613
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
623
614
|
currentHoveredFontFamily: number | null;
|
|
624
|
-
currentItemRoundness: import("
|
|
615
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
625
616
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
626
617
|
viewBackgroundColor: string;
|
|
627
618
|
scrollX: number;
|
|
@@ -644,7 +635,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
644
635
|
name: "imageExport" | "help" | "jsonExport";
|
|
645
636
|
} | {
|
|
646
637
|
name: "ttd";
|
|
647
|
-
tab: "text-to-diagram"
|
|
638
|
+
tab: "mermaid" | "text-to-diagram";
|
|
648
639
|
} | {
|
|
649
640
|
name: "commandPalette";
|
|
650
641
|
} | {
|
|
@@ -652,7 +643,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
652
643
|
sourceElementId: string;
|
|
653
644
|
} | null;
|
|
654
645
|
defaultSidebarDockedPreference: boolean;
|
|
655
|
-
lastPointerDownWith: import("
|
|
646
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
656
647
|
selectedElementIds: Readonly<{
|
|
657
648
|
[id: string]: true;
|
|
658
649
|
}>;
|
|
@@ -691,7 +682,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
691
682
|
[id: string]: true;
|
|
692
683
|
}> | undefined;
|
|
693
684
|
username?: string | null | undefined;
|
|
694
|
-
userState?: import("
|
|
685
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
695
686
|
color?: {
|
|
696
687
|
background: string;
|
|
697
688
|
stroke: string;
|
|
@@ -708,7 +699,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
708
699
|
open: boolean;
|
|
709
700
|
panels: number;
|
|
710
701
|
};
|
|
711
|
-
currentChartType: import("
|
|
702
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
712
703
|
pasteDialog: {
|
|
713
704
|
shown: false;
|
|
714
705
|
data: null;
|
|
@@ -716,9 +707,8 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
716
707
|
shown: true;
|
|
717
708
|
data: import("../charts").Spreadsheet;
|
|
718
709
|
};
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
710
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
711
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
722
712
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
723
713
|
originSnapOffset: {
|
|
724
714
|
x: number;
|
|
@@ -729,16 +719,14 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
729
719
|
followedBy: Set<import("../types").SocketId>;
|
|
730
720
|
isCropping: boolean;
|
|
731
721
|
croppingElementId: string | null;
|
|
732
|
-
searchMatches:
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
}[];
|
|
741
|
-
}[];
|
|
722
|
+
searchMatches: Readonly<{
|
|
723
|
+
focusedId: string | null;
|
|
724
|
+
matches: readonly import("../types").SearchMatch[];
|
|
725
|
+
}> | null;
|
|
726
|
+
activeLockedId: string | null;
|
|
727
|
+
lockedMultiSelections: {
|
|
728
|
+
[groupId: string]: true;
|
|
729
|
+
};
|
|
742
730
|
};
|
|
743
731
|
captureUpdate: "EVENTUALLY";
|
|
744
732
|
};
|
|
@@ -753,8 +741,8 @@ export declare const actionSaveToActiveFile: {
|
|
|
753
741
|
trackEvent: {
|
|
754
742
|
category: "export";
|
|
755
743
|
};
|
|
756
|
-
predicate: (elements: readonly import("
|
|
757
|
-
perform: (elements: readonly import("
|
|
744
|
+
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
745
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any, app: import("../types").AppClassProperties) => Promise<{
|
|
758
746
|
captureUpdate: "EVENTUALLY";
|
|
759
747
|
appState: {
|
|
760
748
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
@@ -770,17 +758,17 @@ export declare const actionSaveToActiveFile: {
|
|
|
770
758
|
isLoading: boolean;
|
|
771
759
|
errorMessage: import("react").ReactNode;
|
|
772
760
|
activeEmbeddable: {
|
|
773
|
-
element: import("
|
|
774
|
-
state: "
|
|
761
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
762
|
+
state: "active" | "hover";
|
|
775
763
|
} | null;
|
|
776
|
-
newElement: import("
|
|
777
|
-
resizingElement: import("
|
|
778
|
-
multiElement: import("
|
|
779
|
-
selectionElement: import("
|
|
764
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
765
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
766
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
767
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
780
768
|
isBindingEnabled: boolean;
|
|
781
|
-
startBoundElement: import("
|
|
782
|
-
suggestedBindings: import("
|
|
783
|
-
frameToHighlight: import("
|
|
769
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
770
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
771
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
784
772
|
frameRendering: {
|
|
785
773
|
enabled: boolean;
|
|
786
774
|
name: boolean;
|
|
@@ -788,12 +776,12 @@ export declare const actionSaveToActiveFile: {
|
|
|
788
776
|
clip: boolean;
|
|
789
777
|
};
|
|
790
778
|
editingFrame: string | null;
|
|
791
|
-
elementsToHighlight: import("
|
|
792
|
-
editingTextElement: import("
|
|
793
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
779
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
780
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
794
781
|
activeTool: {
|
|
795
782
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
796
783
|
locked: boolean;
|
|
784
|
+
fromSelection: boolean;
|
|
797
785
|
} & import("../types").ActiveTool;
|
|
798
786
|
penMode: boolean;
|
|
799
787
|
penDetected: boolean;
|
|
@@ -803,18 +791,18 @@ export declare const actionSaveToActiveFile: {
|
|
|
803
791
|
exportScale: number;
|
|
804
792
|
currentItemStrokeColor: string;
|
|
805
793
|
currentItemBackgroundColor: string;
|
|
806
|
-
currentItemFillStyle: import("
|
|
794
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
807
795
|
currentItemStrokeWidth: number;
|
|
808
|
-
currentItemStrokeStyle: import("
|
|
796
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
809
797
|
currentItemRoughness: number;
|
|
810
798
|
currentItemOpacity: number;
|
|
811
799
|
currentItemFontFamily: number;
|
|
812
800
|
currentItemFontSize: number;
|
|
813
801
|
currentItemTextAlign: string;
|
|
814
|
-
currentItemStartArrowhead: import("
|
|
815
|
-
currentItemEndArrowhead: import("
|
|
802
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
803
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
816
804
|
currentHoveredFontFamily: number | null;
|
|
817
|
-
currentItemRoundness: import("
|
|
805
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
818
806
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
819
807
|
viewBackgroundColor: string;
|
|
820
808
|
scrollX: number;
|
|
@@ -837,7 +825,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
837
825
|
name: "imageExport" | "help" | "jsonExport";
|
|
838
826
|
} | {
|
|
839
827
|
name: "ttd";
|
|
840
|
-
tab: "text-to-diagram"
|
|
828
|
+
tab: "mermaid" | "text-to-diagram";
|
|
841
829
|
} | {
|
|
842
830
|
name: "commandPalette";
|
|
843
831
|
} | {
|
|
@@ -845,7 +833,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
845
833
|
sourceElementId: string;
|
|
846
834
|
} | null;
|
|
847
835
|
defaultSidebarDockedPreference: boolean;
|
|
848
|
-
lastPointerDownWith: import("
|
|
836
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
849
837
|
selectedElementIds: Readonly<{
|
|
850
838
|
[id: string]: true;
|
|
851
839
|
}>;
|
|
@@ -878,7 +866,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
878
866
|
[id: string]: true;
|
|
879
867
|
}> | undefined;
|
|
880
868
|
username?: string | null | undefined;
|
|
881
|
-
userState?: import("
|
|
869
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
882
870
|
color?: {
|
|
883
871
|
background: string;
|
|
884
872
|
stroke: string;
|
|
@@ -895,7 +883,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
895
883
|
open: boolean;
|
|
896
884
|
panels: number;
|
|
897
885
|
};
|
|
898
|
-
currentChartType: import("
|
|
886
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
899
887
|
pasteDialog: {
|
|
900
888
|
shown: false;
|
|
901
889
|
data: null;
|
|
@@ -903,9 +891,8 @@ export declare const actionSaveToActiveFile: {
|
|
|
903
891
|
shown: true;
|
|
904
892
|
data: import("../charts").Spreadsheet;
|
|
905
893
|
};
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
894
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
895
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
909
896
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
910
897
|
originSnapOffset: {
|
|
911
898
|
x: number;
|
|
@@ -916,16 +903,14 @@ export declare const actionSaveToActiveFile: {
|
|
|
916
903
|
followedBy: Set<import("../types").SocketId>;
|
|
917
904
|
isCropping: boolean;
|
|
918
905
|
croppingElementId: string | null;
|
|
919
|
-
searchMatches:
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
}[];
|
|
928
|
-
}[];
|
|
906
|
+
searchMatches: Readonly<{
|
|
907
|
+
focusedId: string | null;
|
|
908
|
+
matches: readonly import("../types").SearchMatch[];
|
|
909
|
+
}> | null;
|
|
910
|
+
activeLockedId: string | null;
|
|
911
|
+
lockedMultiSelections: {
|
|
912
|
+
[groupId: string]: true;
|
|
913
|
+
};
|
|
929
914
|
};
|
|
930
915
|
} | {
|
|
931
916
|
captureUpdate: "EVENTUALLY";
|
|
@@ -943,7 +928,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
943
928
|
trackEvent: {
|
|
944
929
|
category: "export";
|
|
945
930
|
};
|
|
946
|
-
perform: (elements: readonly import("
|
|
931
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any, app: import("../types").AppClassProperties) => Promise<{
|
|
947
932
|
captureUpdate: "EVENTUALLY";
|
|
948
933
|
appState: {
|
|
949
934
|
openDialog: null;
|
|
@@ -960,17 +945,17 @@ export declare const actionSaveFileToDisk: {
|
|
|
960
945
|
isLoading: boolean;
|
|
961
946
|
errorMessage: import("react").ReactNode;
|
|
962
947
|
activeEmbeddable: {
|
|
963
|
-
element: import("
|
|
964
|
-
state: "
|
|
948
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
949
|
+
state: "active" | "hover";
|
|
965
950
|
} | null;
|
|
966
|
-
newElement: import("
|
|
967
|
-
resizingElement: import("
|
|
968
|
-
multiElement: import("
|
|
969
|
-
selectionElement: import("
|
|
951
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
952
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
953
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
954
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
970
955
|
isBindingEnabled: boolean;
|
|
971
|
-
startBoundElement: import("
|
|
972
|
-
suggestedBindings: import("
|
|
973
|
-
frameToHighlight: import("
|
|
956
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
957
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
958
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
974
959
|
frameRendering: {
|
|
975
960
|
enabled: boolean;
|
|
976
961
|
name: boolean;
|
|
@@ -978,12 +963,12 @@ export declare const actionSaveFileToDisk: {
|
|
|
978
963
|
clip: boolean;
|
|
979
964
|
};
|
|
980
965
|
editingFrame: string | null;
|
|
981
|
-
elementsToHighlight: import("
|
|
982
|
-
editingTextElement: import("
|
|
983
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
966
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
967
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
984
968
|
activeTool: {
|
|
985
969
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
986
970
|
locked: boolean;
|
|
971
|
+
fromSelection: boolean;
|
|
987
972
|
} & import("../types").ActiveTool;
|
|
988
973
|
penMode: boolean;
|
|
989
974
|
penDetected: boolean;
|
|
@@ -993,18 +978,18 @@ export declare const actionSaveFileToDisk: {
|
|
|
993
978
|
exportScale: number;
|
|
994
979
|
currentItemStrokeColor: string;
|
|
995
980
|
currentItemBackgroundColor: string;
|
|
996
|
-
currentItemFillStyle: import("
|
|
981
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
997
982
|
currentItemStrokeWidth: number;
|
|
998
|
-
currentItemStrokeStyle: import("
|
|
983
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
999
984
|
currentItemRoughness: number;
|
|
1000
985
|
currentItemOpacity: number;
|
|
1001
986
|
currentItemFontFamily: number;
|
|
1002
987
|
currentItemFontSize: number;
|
|
1003
988
|
currentItemTextAlign: string;
|
|
1004
|
-
currentItemStartArrowhead: import("
|
|
1005
|
-
currentItemEndArrowhead: import("
|
|
989
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
990
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1006
991
|
currentHoveredFontFamily: number | null;
|
|
1007
|
-
currentItemRoundness: import("
|
|
992
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1008
993
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1009
994
|
viewBackgroundColor: string;
|
|
1010
995
|
scrollX: number;
|
|
@@ -1024,7 +1009,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
1024
1009
|
tab?: string | undefined;
|
|
1025
1010
|
} | null;
|
|
1026
1011
|
defaultSidebarDockedPreference: boolean;
|
|
1027
|
-
lastPointerDownWith: import("
|
|
1012
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1028
1013
|
selectedElementIds: Readonly<{
|
|
1029
1014
|
[id: string]: true;
|
|
1030
1015
|
}>;
|
|
@@ -1057,7 +1042,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
1057
1042
|
[id: string]: true;
|
|
1058
1043
|
}> | undefined;
|
|
1059
1044
|
username?: string | null | undefined;
|
|
1060
|
-
userState?: import("
|
|
1045
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1061
1046
|
color?: {
|
|
1062
1047
|
background: string;
|
|
1063
1048
|
stroke: string;
|
|
@@ -1074,7 +1059,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
1074
1059
|
open: boolean;
|
|
1075
1060
|
panels: number;
|
|
1076
1061
|
};
|
|
1077
|
-
currentChartType: import("
|
|
1062
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1078
1063
|
pasteDialog: {
|
|
1079
1064
|
shown: false;
|
|
1080
1065
|
data: null;
|
|
@@ -1082,9 +1067,8 @@ export declare const actionSaveFileToDisk: {
|
|
|
1082
1067
|
shown: true;
|
|
1083
1068
|
data: import("../charts").Spreadsheet;
|
|
1084
1069
|
};
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1070
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1071
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1088
1072
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1089
1073
|
originSnapOffset: {
|
|
1090
1074
|
x: number;
|
|
@@ -1095,16 +1079,14 @@ export declare const actionSaveFileToDisk: {
|
|
|
1095
1079
|
followedBy: Set<import("../types").SocketId>;
|
|
1096
1080
|
isCropping: boolean;
|
|
1097
1081
|
croppingElementId: string | null;
|
|
1098
|
-
searchMatches:
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
}[];
|
|
1107
|
-
}[];
|
|
1082
|
+
searchMatches: Readonly<{
|
|
1083
|
+
focusedId: string | null;
|
|
1084
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1085
|
+
}> | null;
|
|
1086
|
+
activeLockedId: string | null;
|
|
1087
|
+
lockedMultiSelections: {
|
|
1088
|
+
[groupId: string]: true;
|
|
1089
|
+
};
|
|
1108
1090
|
};
|
|
1109
1091
|
} | {
|
|
1110
1092
|
captureUpdate: "EVENTUALLY";
|
|
@@ -1121,17 +1103,85 @@ export declare const actionLoadScene: {
|
|
|
1121
1103
|
trackEvent: {
|
|
1122
1104
|
category: "export";
|
|
1123
1105
|
};
|
|
1124
|
-
predicate: (elements: readonly import("
|
|
1125
|
-
perform: (elements: readonly import("
|
|
1126
|
-
elements: import("
|
|
1106
|
+
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
1107
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
|
|
1108
|
+
elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
1127
1109
|
appState: {
|
|
1110
|
+
viewBackgroundColor: string;
|
|
1111
|
+
frameRendering: {
|
|
1112
|
+
enabled: boolean;
|
|
1113
|
+
name: boolean;
|
|
1114
|
+
outline: boolean;
|
|
1115
|
+
clip: boolean;
|
|
1116
|
+
};
|
|
1117
|
+
name: string | null;
|
|
1118
|
+
zoom: Readonly<{
|
|
1119
|
+
value: import("../types").NormalizedZoomValue;
|
|
1120
|
+
}>;
|
|
1121
|
+
scrollX: number;
|
|
1122
|
+
scrollY: number;
|
|
1128
1123
|
viewModeEnabled: boolean;
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1124
|
+
openDialog: {
|
|
1125
|
+
name: "imageExport" | "help" | "jsonExport";
|
|
1126
|
+
} | {
|
|
1127
|
+
name: "ttd";
|
|
1128
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1129
|
+
} | {
|
|
1130
|
+
name: "commandPalette";
|
|
1131
|
+
} | {
|
|
1132
|
+
name: "elementLinkSelector";
|
|
1133
|
+
sourceElementId: string;
|
|
1134
|
+
} | null;
|
|
1135
|
+
editingGroupId: string | null;
|
|
1136
|
+
selectedElementIds: Readonly<{
|
|
1137
|
+
[id: string]: true;
|
|
1138
|
+
}>;
|
|
1139
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1132
1140
|
theme: Theme;
|
|
1133
|
-
|
|
1134
|
-
|
|
1141
|
+
activeEmbeddable: {
|
|
1142
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1143
|
+
state: "active" | "hover";
|
|
1144
|
+
} | null;
|
|
1145
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1146
|
+
selectedGroupIds: {
|
|
1147
|
+
[groupId: string]: boolean;
|
|
1148
|
+
};
|
|
1149
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1150
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1151
|
+
isBindingEnabled: boolean;
|
|
1152
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1153
|
+
isRotating: boolean;
|
|
1154
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1155
|
+
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
1156
|
+
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
1157
|
+
button?: "up" | "down" | undefined;
|
|
1158
|
+
selectedElementIds?: Readonly<{
|
|
1159
|
+
[id: string]: true;
|
|
1160
|
+
}> | undefined;
|
|
1161
|
+
username?: string | null | undefined;
|
|
1162
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1163
|
+
color?: {
|
|
1164
|
+
background: string;
|
|
1165
|
+
stroke: string;
|
|
1166
|
+
} | undefined;
|
|
1167
|
+
avatarUrl?: string | undefined;
|
|
1168
|
+
id?: string | undefined;
|
|
1169
|
+
socketId?: import("../types").SocketId | undefined;
|
|
1170
|
+
isCurrentUser?: boolean | undefined;
|
|
1171
|
+
isInCall?: boolean | undefined;
|
|
1172
|
+
isSpeaking?: boolean | undefined;
|
|
1173
|
+
isMuted?: boolean | undefined;
|
|
1174
|
+
}>>;
|
|
1175
|
+
snapLines: readonly import("../snapping").SnapLine[];
|
|
1176
|
+
zenModeEnabled: boolean;
|
|
1177
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1178
|
+
isCropping: boolean;
|
|
1179
|
+
croppingElementId: string | null;
|
|
1180
|
+
searchMatches: Readonly<{
|
|
1181
|
+
focusedId: string | null;
|
|
1182
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1183
|
+
}> | null;
|
|
1184
|
+
activeLockedId: string | null;
|
|
1135
1185
|
contextMenu: {
|
|
1136
1186
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1137
1187
|
top: number;
|
|
@@ -1140,31 +1190,14 @@ export declare const actionLoadScene: {
|
|
|
1140
1190
|
showWelcomeScreen: boolean;
|
|
1141
1191
|
isLoading: boolean;
|
|
1142
1192
|
errorMessage: import("react").ReactNode;
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
} | null;
|
|
1147
|
-
newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
|
|
1148
|
-
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1149
|
-
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
1150
|
-
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1151
|
-
isBindingEnabled: boolean;
|
|
1152
|
-
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
1153
|
-
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
1154
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
1155
|
-
frameRendering: {
|
|
1156
|
-
enabled: boolean;
|
|
1157
|
-
name: boolean;
|
|
1158
|
-
outline: boolean;
|
|
1159
|
-
clip: boolean;
|
|
1160
|
-
};
|
|
1193
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1194
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1195
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1161
1196
|
editingFrame: string | null;
|
|
1162
|
-
elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
|
|
1163
|
-
editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
1164
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1165
1197
|
activeTool: {
|
|
1166
1198
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1167
1199
|
locked: boolean;
|
|
1200
|
+
fromSelection: boolean;
|
|
1168
1201
|
} & import("../types").ActiveTool;
|
|
1169
1202
|
penMode: boolean;
|
|
1170
1203
|
penDetected: boolean;
|
|
@@ -1174,50 +1207,30 @@ export declare const actionLoadScene: {
|
|
|
1174
1207
|
exportScale: number;
|
|
1175
1208
|
currentItemStrokeColor: string;
|
|
1176
1209
|
currentItemBackgroundColor: string;
|
|
1177
|
-
currentItemFillStyle: import("
|
|
1210
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1178
1211
|
currentItemStrokeWidth: number;
|
|
1179
|
-
currentItemStrokeStyle: import("
|
|
1212
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1180
1213
|
currentItemRoughness: number;
|
|
1181
1214
|
currentItemOpacity: number;
|
|
1182
1215
|
currentItemFontFamily: number;
|
|
1183
1216
|
currentItemFontSize: number;
|
|
1184
1217
|
currentItemTextAlign: string;
|
|
1185
|
-
currentItemStartArrowhead: import("
|
|
1186
|
-
currentItemEndArrowhead: import("
|
|
1218
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1219
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1187
1220
|
currentHoveredFontFamily: number | null;
|
|
1188
|
-
currentItemRoundness: import("
|
|
1189
|
-
|
|
1190
|
-
scrollX: number;
|
|
1191
|
-
scrollY: number;
|
|
1221
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1222
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1192
1223
|
cursorButton: "up" | "down";
|
|
1193
1224
|
scrolledOutside: boolean;
|
|
1194
1225
|
isResizing: boolean;
|
|
1195
|
-
isRotating: boolean;
|
|
1196
|
-
zoom: Readonly<{
|
|
1197
|
-
value: import("../types").NormalizedZoomValue;
|
|
1198
|
-
}>;
|
|
1199
1226
|
openMenu: "canvas" | "shape" | null;
|
|
1200
1227
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1201
1228
|
openSidebar: {
|
|
1202
1229
|
name: string;
|
|
1203
1230
|
tab?: string | undefined;
|
|
1204
1231
|
} | null;
|
|
1205
|
-
openDialog: {
|
|
1206
|
-
name: "imageExport" | "help" | "jsonExport";
|
|
1207
|
-
} | {
|
|
1208
|
-
name: "ttd";
|
|
1209
|
-
tab: "text-to-diagram" | "mermaid";
|
|
1210
|
-
} | {
|
|
1211
|
-
name: "commandPalette";
|
|
1212
|
-
} | {
|
|
1213
|
-
name: "elementLinkSelector";
|
|
1214
|
-
sourceElementId: string;
|
|
1215
|
-
} | null;
|
|
1216
1232
|
defaultSidebarDockedPreference: boolean;
|
|
1217
|
-
lastPointerDownWith: import("
|
|
1218
|
-
selectedElementIds: Readonly<{
|
|
1219
|
-
[id: string]: true;
|
|
1220
|
-
}>;
|
|
1233
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1221
1234
|
hoveredElementIds: Readonly<{
|
|
1222
1235
|
[id: string]: true;
|
|
1223
1236
|
}>;
|
|
@@ -1233,36 +1246,13 @@ export declare const actionLoadScene: {
|
|
|
1233
1246
|
} | null;
|
|
1234
1247
|
gridSize: number;
|
|
1235
1248
|
gridStep: number;
|
|
1236
|
-
|
|
1237
|
-
[groupId: string]: boolean;
|
|
1238
|
-
};
|
|
1239
|
-
editingGroupId: string | null;
|
|
1249
|
+
gridModeEnabled: boolean;
|
|
1240
1250
|
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
1241
|
-
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
1242
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
1243
|
-
button?: "up" | "down" | undefined;
|
|
1244
|
-
selectedElementIds?: Readonly<{
|
|
1245
|
-
[id: string]: true;
|
|
1246
|
-
}> | undefined;
|
|
1247
|
-
username?: string | null | undefined;
|
|
1248
|
-
userState?: import("../constants").UserIdleState | undefined;
|
|
1249
|
-
color?: {
|
|
1250
|
-
background: string;
|
|
1251
|
-
stroke: string;
|
|
1252
|
-
} | undefined;
|
|
1253
|
-
avatarUrl?: string | undefined;
|
|
1254
|
-
id?: string | undefined;
|
|
1255
|
-
socketId?: import("../types").SocketId | undefined;
|
|
1256
|
-
isCurrentUser?: boolean | undefined;
|
|
1257
|
-
isInCall?: boolean | undefined;
|
|
1258
|
-
isSpeaking?: boolean | undefined;
|
|
1259
|
-
isMuted?: boolean | undefined;
|
|
1260
|
-
}>>;
|
|
1261
1251
|
stats: {
|
|
1262
1252
|
open: boolean;
|
|
1263
1253
|
panels: number;
|
|
1264
1254
|
};
|
|
1265
|
-
currentChartType: import("
|
|
1255
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1266
1256
|
pasteDialog: {
|
|
1267
1257
|
shown: false;
|
|
1268
1258
|
data: null;
|
|
@@ -1270,33 +1260,22 @@ export declare const actionLoadScene: {
|
|
|
1270
1260
|
shown: true;
|
|
1271
1261
|
data: import("../charts").Spreadsheet;
|
|
1272
1262
|
};
|
|
1273
|
-
|
|
1274
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
1275
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1276
|
-
snapLines: readonly import("../snapping").SnapLine[];
|
|
1263
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1277
1264
|
originSnapOffset: {
|
|
1278
1265
|
x: number;
|
|
1279
1266
|
y: number;
|
|
1280
1267
|
} | null;
|
|
1268
|
+
objectsSnapModeEnabled: boolean;
|
|
1281
1269
|
userToFollow: import("../types").UserToFollow | null;
|
|
1282
1270
|
followedBy: Set<import("../types").SocketId>;
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
id: string;
|
|
1287
|
-
focus: boolean;
|
|
1288
|
-
matchedLines: {
|
|
1289
|
-
offsetX: number;
|
|
1290
|
-
offsetY: number;
|
|
1291
|
-
width: number;
|
|
1292
|
-
height: number;
|
|
1293
|
-
}[];
|
|
1294
|
-
}[];
|
|
1271
|
+
lockedMultiSelections: {
|
|
1272
|
+
[groupId: string]: true;
|
|
1273
|
+
};
|
|
1295
1274
|
};
|
|
1296
1275
|
files: import("../types").BinaryFiles;
|
|
1297
1276
|
captureUpdate: "IMMEDIATELY";
|
|
1298
1277
|
} | {
|
|
1299
|
-
elements: readonly import("
|
|
1278
|
+
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
1300
1279
|
appState: {
|
|
1301
1280
|
errorMessage: any;
|
|
1302
1281
|
contextMenu: {
|
|
@@ -1307,17 +1286,17 @@ export declare const actionLoadScene: {
|
|
|
1307
1286
|
showWelcomeScreen: boolean;
|
|
1308
1287
|
isLoading: boolean;
|
|
1309
1288
|
activeEmbeddable: {
|
|
1310
|
-
element: import("
|
|
1311
|
-
state: "
|
|
1289
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1290
|
+
state: "active" | "hover";
|
|
1312
1291
|
} | null;
|
|
1313
|
-
newElement: import("
|
|
1314
|
-
resizingElement: import("
|
|
1315
|
-
multiElement: import("
|
|
1316
|
-
selectionElement: import("
|
|
1292
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1293
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1294
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1295
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1317
1296
|
isBindingEnabled: boolean;
|
|
1318
|
-
startBoundElement: import("
|
|
1319
|
-
suggestedBindings: import("
|
|
1320
|
-
frameToHighlight: import("
|
|
1297
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1298
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1299
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1321
1300
|
frameRendering: {
|
|
1322
1301
|
enabled: boolean;
|
|
1323
1302
|
name: boolean;
|
|
@@ -1325,12 +1304,12 @@ export declare const actionLoadScene: {
|
|
|
1325
1304
|
clip: boolean;
|
|
1326
1305
|
};
|
|
1327
1306
|
editingFrame: string | null;
|
|
1328
|
-
elementsToHighlight: import("
|
|
1329
|
-
editingTextElement: import("
|
|
1330
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1307
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1308
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1331
1309
|
activeTool: {
|
|
1332
1310
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1333
1311
|
locked: boolean;
|
|
1312
|
+
fromSelection: boolean;
|
|
1334
1313
|
} & import("../types").ActiveTool;
|
|
1335
1314
|
penMode: boolean;
|
|
1336
1315
|
penDetected: boolean;
|
|
@@ -1340,18 +1319,18 @@ export declare const actionLoadScene: {
|
|
|
1340
1319
|
exportScale: number;
|
|
1341
1320
|
currentItemStrokeColor: string;
|
|
1342
1321
|
currentItemBackgroundColor: string;
|
|
1343
|
-
currentItemFillStyle: import("
|
|
1322
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1344
1323
|
currentItemStrokeWidth: number;
|
|
1345
|
-
currentItemStrokeStyle: import("
|
|
1324
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1346
1325
|
currentItemRoughness: number;
|
|
1347
1326
|
currentItemOpacity: number;
|
|
1348
1327
|
currentItemFontFamily: number;
|
|
1349
1328
|
currentItemFontSize: number;
|
|
1350
1329
|
currentItemTextAlign: string;
|
|
1351
|
-
currentItemStartArrowhead: import("
|
|
1352
|
-
currentItemEndArrowhead: import("
|
|
1330
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1331
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1353
1332
|
currentHoveredFontFamily: number | null;
|
|
1354
|
-
currentItemRoundness: import("
|
|
1333
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1355
1334
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1356
1335
|
viewBackgroundColor: string;
|
|
1357
1336
|
scrollX: number;
|
|
@@ -1374,7 +1353,7 @@ export declare const actionLoadScene: {
|
|
|
1374
1353
|
name: "imageExport" | "help" | "jsonExport";
|
|
1375
1354
|
} | {
|
|
1376
1355
|
name: "ttd";
|
|
1377
|
-
tab: "text-to-diagram"
|
|
1356
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1378
1357
|
} | {
|
|
1379
1358
|
name: "commandPalette";
|
|
1380
1359
|
} | {
|
|
@@ -1382,7 +1361,7 @@ export declare const actionLoadScene: {
|
|
|
1382
1361
|
sourceElementId: string;
|
|
1383
1362
|
} | null;
|
|
1384
1363
|
defaultSidebarDockedPreference: boolean;
|
|
1385
|
-
lastPointerDownWith: import("
|
|
1364
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1386
1365
|
selectedElementIds: Readonly<{
|
|
1387
1366
|
[id: string]: true;
|
|
1388
1367
|
}>;
|
|
@@ -1421,7 +1400,7 @@ export declare const actionLoadScene: {
|
|
|
1421
1400
|
[id: string]: true;
|
|
1422
1401
|
}> | undefined;
|
|
1423
1402
|
username?: string | null | undefined;
|
|
1424
|
-
userState?: import("
|
|
1403
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1425
1404
|
color?: {
|
|
1426
1405
|
background: string;
|
|
1427
1406
|
stroke: string;
|
|
@@ -1438,7 +1417,7 @@ export declare const actionLoadScene: {
|
|
|
1438
1417
|
open: boolean;
|
|
1439
1418
|
panels: number;
|
|
1440
1419
|
};
|
|
1441
|
-
currentChartType: import("
|
|
1420
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1442
1421
|
pasteDialog: {
|
|
1443
1422
|
shown: false;
|
|
1444
1423
|
data: null;
|
|
@@ -1446,9 +1425,8 @@ export declare const actionLoadScene: {
|
|
|
1446
1425
|
shown: true;
|
|
1447
1426
|
data: import("../charts").Spreadsheet;
|
|
1448
1427
|
};
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1428
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1429
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1452
1430
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1453
1431
|
originSnapOffset: {
|
|
1454
1432
|
x: number;
|
|
@@ -1459,16 +1437,14 @@ export declare const actionLoadScene: {
|
|
|
1459
1437
|
followedBy: Set<import("../types").SocketId>;
|
|
1460
1438
|
isCropping: boolean;
|
|
1461
1439
|
croppingElementId: string | null;
|
|
1462
|
-
searchMatches:
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
}[];
|
|
1471
|
-
}[];
|
|
1440
|
+
searchMatches: Readonly<{
|
|
1441
|
+
focusedId: string | null;
|
|
1442
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1443
|
+
}> | null;
|
|
1444
|
+
activeLockedId: string | null;
|
|
1445
|
+
lockedMultiSelections: {
|
|
1446
|
+
[groupId: string]: true;
|
|
1447
|
+
};
|
|
1472
1448
|
};
|
|
1473
1449
|
files: import("../types").BinaryFiles;
|
|
1474
1450
|
captureUpdate: "EVENTUALLY";
|
|
@@ -1484,7 +1460,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1484
1460
|
category: "export";
|
|
1485
1461
|
action: string;
|
|
1486
1462
|
};
|
|
1487
|
-
perform: (_elements: readonly import("
|
|
1463
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
|
|
1488
1464
|
appState: {
|
|
1489
1465
|
exportWithDarkMode: any;
|
|
1490
1466
|
contextMenu: {
|
|
@@ -1496,17 +1472,17 @@ export declare const actionExportWithDarkMode: {
|
|
|
1496
1472
|
isLoading: boolean;
|
|
1497
1473
|
errorMessage: import("react").ReactNode;
|
|
1498
1474
|
activeEmbeddable: {
|
|
1499
|
-
element: import("
|
|
1500
|
-
state: "
|
|
1475
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
1476
|
+
state: "active" | "hover";
|
|
1501
1477
|
} | null;
|
|
1502
|
-
newElement: import("
|
|
1503
|
-
resizingElement: import("
|
|
1504
|
-
multiElement: import("
|
|
1505
|
-
selectionElement: import("
|
|
1478
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
1479
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1480
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
1481
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1506
1482
|
isBindingEnabled: boolean;
|
|
1507
|
-
startBoundElement: import("
|
|
1508
|
-
suggestedBindings: import("
|
|
1509
|
-
frameToHighlight: import("
|
|
1483
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
1484
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
1485
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
1510
1486
|
frameRendering: {
|
|
1511
1487
|
enabled: boolean;
|
|
1512
1488
|
name: boolean;
|
|
@@ -1514,12 +1490,12 @@ export declare const actionExportWithDarkMode: {
|
|
|
1514
1490
|
clip: boolean;
|
|
1515
1491
|
};
|
|
1516
1492
|
editingFrame: string | null;
|
|
1517
|
-
elementsToHighlight: import("
|
|
1518
|
-
editingTextElement: import("
|
|
1519
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1493
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
1494
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1520
1495
|
activeTool: {
|
|
1521
1496
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
1522
1497
|
locked: boolean;
|
|
1498
|
+
fromSelection: boolean;
|
|
1523
1499
|
} & import("../types").ActiveTool;
|
|
1524
1500
|
penMode: boolean;
|
|
1525
1501
|
penDetected: boolean;
|
|
@@ -1528,18 +1504,18 @@ export declare const actionExportWithDarkMode: {
|
|
|
1528
1504
|
exportScale: number;
|
|
1529
1505
|
currentItemStrokeColor: string;
|
|
1530
1506
|
currentItemBackgroundColor: string;
|
|
1531
|
-
currentItemFillStyle: import("
|
|
1507
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1532
1508
|
currentItemStrokeWidth: number;
|
|
1533
|
-
currentItemStrokeStyle: import("
|
|
1509
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1534
1510
|
currentItemRoughness: number;
|
|
1535
1511
|
currentItemOpacity: number;
|
|
1536
1512
|
currentItemFontFamily: number;
|
|
1537
1513
|
currentItemFontSize: number;
|
|
1538
1514
|
currentItemTextAlign: string;
|
|
1539
|
-
currentItemStartArrowhead: import("
|
|
1540
|
-
currentItemEndArrowhead: import("
|
|
1515
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1516
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1541
1517
|
currentHoveredFontFamily: number | null;
|
|
1542
|
-
currentItemRoundness: import("
|
|
1518
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
1543
1519
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
1544
1520
|
viewBackgroundColor: string;
|
|
1545
1521
|
scrollX: number;
|
|
@@ -1562,7 +1538,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1562
1538
|
name: "imageExport" | "help" | "jsonExport";
|
|
1563
1539
|
} | {
|
|
1564
1540
|
name: "ttd";
|
|
1565
|
-
tab: "text-to-diagram"
|
|
1541
|
+
tab: "mermaid" | "text-to-diagram";
|
|
1566
1542
|
} | {
|
|
1567
1543
|
name: "commandPalette";
|
|
1568
1544
|
} | {
|
|
@@ -1570,7 +1546,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1570
1546
|
sourceElementId: string;
|
|
1571
1547
|
} | null;
|
|
1572
1548
|
defaultSidebarDockedPreference: boolean;
|
|
1573
|
-
lastPointerDownWith: import("
|
|
1549
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
1574
1550
|
selectedElementIds: Readonly<{
|
|
1575
1551
|
[id: string]: true;
|
|
1576
1552
|
}>;
|
|
@@ -1609,7 +1585,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1609
1585
|
[id: string]: true;
|
|
1610
1586
|
}> | undefined;
|
|
1611
1587
|
username?: string | null | undefined;
|
|
1612
|
-
userState?: import("
|
|
1588
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
1613
1589
|
color?: {
|
|
1614
1590
|
background: string;
|
|
1615
1591
|
stroke: string;
|
|
@@ -1626,7 +1602,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1626
1602
|
open: boolean;
|
|
1627
1603
|
panels: number;
|
|
1628
1604
|
};
|
|
1629
|
-
currentChartType: import("
|
|
1605
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
1630
1606
|
pasteDialog: {
|
|
1631
1607
|
shown: false;
|
|
1632
1608
|
data: null;
|
|
@@ -1634,9 +1610,8 @@ export declare const actionExportWithDarkMode: {
|
|
|
1634
1610
|
shown: true;
|
|
1635
1611
|
data: import("../charts").Spreadsheet;
|
|
1636
1612
|
};
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
1613
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
1614
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1640
1615
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1641
1616
|
originSnapOffset: {
|
|
1642
1617
|
x: number;
|
|
@@ -1647,16 +1622,14 @@ export declare const actionExportWithDarkMode: {
|
|
|
1647
1622
|
followedBy: Set<import("../types").SocketId>;
|
|
1648
1623
|
isCropping: boolean;
|
|
1649
1624
|
croppingElementId: string | null;
|
|
1650
|
-
searchMatches:
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
}[];
|
|
1659
|
-
}[];
|
|
1625
|
+
searchMatches: Readonly<{
|
|
1626
|
+
focusedId: string | null;
|
|
1627
|
+
matches: readonly import("../types").SearchMatch[];
|
|
1628
|
+
}> | null;
|
|
1629
|
+
activeLockedId: string | null;
|
|
1630
|
+
lockedMultiSelections: {
|
|
1631
|
+
[groupId: string]: true;
|
|
1632
|
+
};
|
|
1660
1633
|
};
|
|
1661
1634
|
captureUpdate: "EVENTUALLY";
|
|
1662
1635
|
};
|