@excalidraw/excalidraw 0.18.0-817d8c5 → 0.18.0-880dbb25e
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 +30933 -24345
- 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} +80 -42
- 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 +236 -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 +45 -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,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { ExcalidrawElement } from "
|
|
2
|
+
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
3
3
|
import type { AppClassProperties, AppState } from "../types";
|
|
4
4
|
export declare const actionSelectAllElementsInFrame: {
|
|
5
5
|
name: "selectAllElementsInFrame";
|
|
@@ -7,8 +7,8 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
7
7
|
trackEvent: {
|
|
8
8
|
category: "canvas";
|
|
9
9
|
};
|
|
10
|
-
perform: (elements: readonly import("
|
|
11
|
-
elements: readonly import("
|
|
10
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
11
|
+
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
12
12
|
appState: {
|
|
13
13
|
selectedElementIds: Record<string, true>;
|
|
14
14
|
contextMenu: {
|
|
@@ -20,17 +20,17 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
20
20
|
isLoading: boolean;
|
|
21
21
|
errorMessage: import("react").ReactNode;
|
|
22
22
|
activeEmbeddable: {
|
|
23
|
-
element: import("
|
|
24
|
-
state: "
|
|
23
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
24
|
+
state: "active" | "hover";
|
|
25
25
|
} | null;
|
|
26
|
-
newElement: import("
|
|
27
|
-
resizingElement: import("
|
|
28
|
-
multiElement: import("
|
|
29
|
-
selectionElement: import("
|
|
26
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
27
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
28
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
29
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
30
30
|
isBindingEnabled: boolean;
|
|
31
|
-
startBoundElement: import("
|
|
32
|
-
suggestedBindings: import("
|
|
33
|
-
frameToHighlight: import("
|
|
31
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
32
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
33
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
34
34
|
frameRendering: {
|
|
35
35
|
enabled: boolean;
|
|
36
36
|
name: boolean;
|
|
@@ -38,12 +38,12 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
38
38
|
clip: boolean;
|
|
39
39
|
};
|
|
40
40
|
editingFrame: string | null;
|
|
41
|
-
elementsToHighlight: import("
|
|
42
|
-
editingTextElement: import("
|
|
43
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
41
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
42
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
44
43
|
activeTool: {
|
|
45
44
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
46
45
|
locked: boolean;
|
|
46
|
+
fromSelection: boolean;
|
|
47
47
|
} & import("../types").ActiveTool;
|
|
48
48
|
penMode: boolean;
|
|
49
49
|
penDetected: boolean;
|
|
@@ -53,18 +53,18 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
53
53
|
exportScale: number;
|
|
54
54
|
currentItemStrokeColor: string;
|
|
55
55
|
currentItemBackgroundColor: string;
|
|
56
|
-
currentItemFillStyle: import("
|
|
56
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
57
57
|
currentItemStrokeWidth: number;
|
|
58
|
-
currentItemStrokeStyle: import("
|
|
58
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
59
59
|
currentItemRoughness: number;
|
|
60
60
|
currentItemOpacity: number;
|
|
61
61
|
currentItemFontFamily: number;
|
|
62
62
|
currentItemFontSize: number;
|
|
63
63
|
currentItemTextAlign: string;
|
|
64
|
-
currentItemStartArrowhead: import("
|
|
65
|
-
currentItemEndArrowhead: import("
|
|
64
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
65
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
66
66
|
currentHoveredFontFamily: number | null;
|
|
67
|
-
currentItemRoundness: import("
|
|
67
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
68
68
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
69
69
|
viewBackgroundColor: string;
|
|
70
70
|
scrollX: number;
|
|
@@ -87,7 +87,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
87
87
|
name: "imageExport" | "help" | "jsonExport";
|
|
88
88
|
} | {
|
|
89
89
|
name: "ttd";
|
|
90
|
-
tab: "text-to-diagram"
|
|
90
|
+
tab: "mermaid" | "text-to-diagram";
|
|
91
91
|
} | {
|
|
92
92
|
name: "commandPalette";
|
|
93
93
|
} | {
|
|
@@ -95,7 +95,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
95
95
|
sourceElementId: string;
|
|
96
96
|
} | null;
|
|
97
97
|
defaultSidebarDockedPreference: boolean;
|
|
98
|
-
lastPointerDownWith: import("
|
|
98
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
99
99
|
hoveredElementIds: Readonly<{
|
|
100
100
|
[id: string]: true;
|
|
101
101
|
}>;
|
|
@@ -110,7 +110,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
110
110
|
duration?: number | undefined;
|
|
111
111
|
} | null;
|
|
112
112
|
zenModeEnabled: boolean;
|
|
113
|
-
theme: import("
|
|
113
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
114
114
|
gridSize: number;
|
|
115
115
|
gridStep: number;
|
|
116
116
|
gridModeEnabled: boolean;
|
|
@@ -131,7 +131,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
131
131
|
[id: string]: true;
|
|
132
132
|
}> | undefined;
|
|
133
133
|
username?: string | null | undefined;
|
|
134
|
-
userState?: import("
|
|
134
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
135
135
|
color?: {
|
|
136
136
|
background: string;
|
|
137
137
|
stroke: string;
|
|
@@ -148,7 +148,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
148
148
|
open: boolean;
|
|
149
149
|
panels: number;
|
|
150
150
|
};
|
|
151
|
-
currentChartType: import("
|
|
151
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
152
152
|
pasteDialog: {
|
|
153
153
|
shown: false;
|
|
154
154
|
data: null;
|
|
@@ -156,9 +156,8 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
156
156
|
shown: true;
|
|
157
157
|
data: import("../charts").Spreadsheet;
|
|
158
158
|
};
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
159
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
160
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
162
161
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
163
162
|
originSnapOffset: {
|
|
164
163
|
x: number;
|
|
@@ -169,20 +168,18 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
169
168
|
followedBy: Set<import("../types").SocketId>;
|
|
170
169
|
isCropping: boolean;
|
|
171
170
|
croppingElementId: string | null;
|
|
172
|
-
searchMatches:
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
}[];
|
|
181
|
-
}[];
|
|
171
|
+
searchMatches: Readonly<{
|
|
172
|
+
focusedId: string | null;
|
|
173
|
+
matches: readonly import("../types").SearchMatch[];
|
|
174
|
+
}> | null;
|
|
175
|
+
activeLockedId: string | null;
|
|
176
|
+
lockedMultiSelections: {
|
|
177
|
+
[groupId: string]: true;
|
|
178
|
+
};
|
|
182
179
|
};
|
|
183
180
|
captureUpdate: "IMMEDIATELY";
|
|
184
181
|
} | {
|
|
185
|
-
elements: readonly import("
|
|
182
|
+
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
186
183
|
appState: Readonly<AppState>;
|
|
187
184
|
captureUpdate: "EVENTUALLY";
|
|
188
185
|
};
|
|
@@ -196,8 +193,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
196
193
|
trackEvent: {
|
|
197
194
|
category: "history";
|
|
198
195
|
};
|
|
199
|
-
perform: (elements: readonly import("
|
|
200
|
-
elements: readonly import("
|
|
196
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
197
|
+
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
201
198
|
appState: {
|
|
202
199
|
selectedElementIds: {
|
|
203
200
|
[x: string]: true;
|
|
@@ -211,17 +208,17 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
211
208
|
isLoading: boolean;
|
|
212
209
|
errorMessage: import("react").ReactNode;
|
|
213
210
|
activeEmbeddable: {
|
|
214
|
-
element: import("
|
|
215
|
-
state: "
|
|
211
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
212
|
+
state: "active" | "hover";
|
|
216
213
|
} | null;
|
|
217
|
-
newElement: import("
|
|
218
|
-
resizingElement: import("
|
|
219
|
-
multiElement: import("
|
|
220
|
-
selectionElement: import("
|
|
214
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
215
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
216
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
217
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
221
218
|
isBindingEnabled: boolean;
|
|
222
|
-
startBoundElement: import("
|
|
223
|
-
suggestedBindings: import("
|
|
224
|
-
frameToHighlight: import("
|
|
219
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
220
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
221
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
225
222
|
frameRendering: {
|
|
226
223
|
enabled: boolean;
|
|
227
224
|
name: boolean;
|
|
@@ -229,12 +226,12 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
229
226
|
clip: boolean;
|
|
230
227
|
};
|
|
231
228
|
editingFrame: string | null;
|
|
232
|
-
elementsToHighlight: import("
|
|
233
|
-
editingTextElement: import("
|
|
234
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
229
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
230
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
235
231
|
activeTool: {
|
|
236
232
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
237
233
|
locked: boolean;
|
|
234
|
+
fromSelection: boolean;
|
|
238
235
|
} & import("../types").ActiveTool;
|
|
239
236
|
penMode: boolean;
|
|
240
237
|
penDetected: boolean;
|
|
@@ -244,18 +241,18 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
244
241
|
exportScale: number;
|
|
245
242
|
currentItemStrokeColor: string;
|
|
246
243
|
currentItemBackgroundColor: string;
|
|
247
|
-
currentItemFillStyle: import("
|
|
244
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
248
245
|
currentItemStrokeWidth: number;
|
|
249
|
-
currentItemStrokeStyle: import("
|
|
246
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
250
247
|
currentItemRoughness: number;
|
|
251
248
|
currentItemOpacity: number;
|
|
252
249
|
currentItemFontFamily: number;
|
|
253
250
|
currentItemFontSize: number;
|
|
254
251
|
currentItemTextAlign: string;
|
|
255
|
-
currentItemStartArrowhead: import("
|
|
256
|
-
currentItemEndArrowhead: import("
|
|
252
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
253
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
257
254
|
currentHoveredFontFamily: number | null;
|
|
258
|
-
currentItemRoundness: import("
|
|
255
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
259
256
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
260
257
|
viewBackgroundColor: string;
|
|
261
258
|
scrollX: number;
|
|
@@ -278,7 +275,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
278
275
|
name: "imageExport" | "help" | "jsonExport";
|
|
279
276
|
} | {
|
|
280
277
|
name: "ttd";
|
|
281
|
-
tab: "text-to-diagram"
|
|
278
|
+
tab: "mermaid" | "text-to-diagram";
|
|
282
279
|
} | {
|
|
283
280
|
name: "commandPalette";
|
|
284
281
|
} | {
|
|
@@ -286,7 +283,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
286
283
|
sourceElementId: string;
|
|
287
284
|
} | null;
|
|
288
285
|
defaultSidebarDockedPreference: boolean;
|
|
289
|
-
lastPointerDownWith: import("
|
|
286
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
290
287
|
hoveredElementIds: Readonly<{
|
|
291
288
|
[id: string]: true;
|
|
292
289
|
}>;
|
|
@@ -301,7 +298,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
301
298
|
duration?: number | undefined;
|
|
302
299
|
} | null;
|
|
303
300
|
zenModeEnabled: boolean;
|
|
304
|
-
theme: import("
|
|
301
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
305
302
|
gridSize: number;
|
|
306
303
|
gridStep: number;
|
|
307
304
|
gridModeEnabled: boolean;
|
|
@@ -322,7 +319,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
322
319
|
[id: string]: true;
|
|
323
320
|
}> | undefined;
|
|
324
321
|
username?: string | null | undefined;
|
|
325
|
-
userState?: import("
|
|
322
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
326
323
|
color?: {
|
|
327
324
|
background: string;
|
|
328
325
|
stroke: string;
|
|
@@ -339,7 +336,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
339
336
|
open: boolean;
|
|
340
337
|
panels: number;
|
|
341
338
|
};
|
|
342
|
-
currentChartType: import("
|
|
339
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
343
340
|
pasteDialog: {
|
|
344
341
|
shown: false;
|
|
345
342
|
data: null;
|
|
@@ -347,9 +344,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
347
344
|
shown: true;
|
|
348
345
|
data: import("../charts").Spreadsheet;
|
|
349
346
|
};
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
347
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
348
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
353
349
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
354
350
|
originSnapOffset: {
|
|
355
351
|
x: number;
|
|
@@ -360,20 +356,18 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
360
356
|
followedBy: Set<import("../types").SocketId>;
|
|
361
357
|
isCropping: boolean;
|
|
362
358
|
croppingElementId: string | null;
|
|
363
|
-
searchMatches:
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
}[];
|
|
372
|
-
}[];
|
|
359
|
+
searchMatches: Readonly<{
|
|
360
|
+
focusedId: string | null;
|
|
361
|
+
matches: readonly import("../types").SearchMatch[];
|
|
362
|
+
}> | null;
|
|
363
|
+
activeLockedId: string | null;
|
|
364
|
+
lockedMultiSelections: {
|
|
365
|
+
[groupId: string]: true;
|
|
366
|
+
};
|
|
373
367
|
};
|
|
374
368
|
captureUpdate: "IMMEDIATELY";
|
|
375
369
|
} | {
|
|
376
|
-
elements: readonly import("
|
|
370
|
+
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
377
371
|
appState: Readonly<AppState>;
|
|
378
372
|
captureUpdate: "EVENTUALLY";
|
|
379
373
|
};
|
|
@@ -388,8 +382,8 @@ export declare const actionupdateFrameRendering: {
|
|
|
388
382
|
trackEvent: {
|
|
389
383
|
category: "canvas";
|
|
390
384
|
};
|
|
391
|
-
perform: (elements: readonly import("
|
|
392
|
-
elements: readonly import("
|
|
385
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
|
|
386
|
+
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
393
387
|
appState: {
|
|
394
388
|
frameRendering: {
|
|
395
389
|
enabled: boolean;
|
|
@@ -406,24 +400,24 @@ export declare const actionupdateFrameRendering: {
|
|
|
406
400
|
isLoading: boolean;
|
|
407
401
|
errorMessage: import("react").ReactNode;
|
|
408
402
|
activeEmbeddable: {
|
|
409
|
-
element: import("
|
|
410
|
-
state: "
|
|
403
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
404
|
+
state: "active" | "hover";
|
|
411
405
|
} | null;
|
|
412
|
-
newElement: import("
|
|
413
|
-
resizingElement: import("
|
|
414
|
-
multiElement: import("
|
|
415
|
-
selectionElement: import("
|
|
406
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
407
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
408
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
409
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
416
410
|
isBindingEnabled: boolean;
|
|
417
|
-
startBoundElement: import("
|
|
418
|
-
suggestedBindings: import("
|
|
419
|
-
frameToHighlight: import("
|
|
411
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
412
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
413
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
420
414
|
editingFrame: string | null;
|
|
421
|
-
elementsToHighlight: import("
|
|
422
|
-
editingTextElement: import("
|
|
423
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
415
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
416
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
424
417
|
activeTool: {
|
|
425
418
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
426
419
|
locked: boolean;
|
|
420
|
+
fromSelection: boolean;
|
|
427
421
|
} & import("../types").ActiveTool;
|
|
428
422
|
penMode: boolean;
|
|
429
423
|
penDetected: boolean;
|
|
@@ -433,18 +427,18 @@ export declare const actionupdateFrameRendering: {
|
|
|
433
427
|
exportScale: number;
|
|
434
428
|
currentItemStrokeColor: string;
|
|
435
429
|
currentItemBackgroundColor: string;
|
|
436
|
-
currentItemFillStyle: import("
|
|
430
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
437
431
|
currentItemStrokeWidth: number;
|
|
438
|
-
currentItemStrokeStyle: import("
|
|
432
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
439
433
|
currentItemRoughness: number;
|
|
440
434
|
currentItemOpacity: number;
|
|
441
435
|
currentItemFontFamily: number;
|
|
442
436
|
currentItemFontSize: number;
|
|
443
437
|
currentItemTextAlign: string;
|
|
444
|
-
currentItemStartArrowhead: import("
|
|
445
|
-
currentItemEndArrowhead: import("
|
|
438
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
439
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
446
440
|
currentHoveredFontFamily: number | null;
|
|
447
|
-
currentItemRoundness: import("
|
|
441
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
448
442
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
449
443
|
viewBackgroundColor: string;
|
|
450
444
|
scrollX: number;
|
|
@@ -467,7 +461,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
467
461
|
name: "imageExport" | "help" | "jsonExport";
|
|
468
462
|
} | {
|
|
469
463
|
name: "ttd";
|
|
470
|
-
tab: "text-to-diagram"
|
|
464
|
+
tab: "mermaid" | "text-to-diagram";
|
|
471
465
|
} | {
|
|
472
466
|
name: "commandPalette";
|
|
473
467
|
} | {
|
|
@@ -475,7 +469,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
475
469
|
sourceElementId: string;
|
|
476
470
|
} | null;
|
|
477
471
|
defaultSidebarDockedPreference: boolean;
|
|
478
|
-
lastPointerDownWith: import("
|
|
472
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
479
473
|
selectedElementIds: Readonly<{
|
|
480
474
|
[id: string]: true;
|
|
481
475
|
}>;
|
|
@@ -493,7 +487,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
493
487
|
duration?: number | undefined;
|
|
494
488
|
} | null;
|
|
495
489
|
zenModeEnabled: boolean;
|
|
496
|
-
theme: import("
|
|
490
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
497
491
|
gridSize: number;
|
|
498
492
|
gridStep: number;
|
|
499
493
|
gridModeEnabled: boolean;
|
|
@@ -514,7 +508,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
514
508
|
[id: string]: true;
|
|
515
509
|
}> | undefined;
|
|
516
510
|
username?: string | null | undefined;
|
|
517
|
-
userState?: import("
|
|
511
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
518
512
|
color?: {
|
|
519
513
|
background: string;
|
|
520
514
|
stroke: string;
|
|
@@ -531,7 +525,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
531
525
|
open: boolean;
|
|
532
526
|
panels: number;
|
|
533
527
|
};
|
|
534
|
-
currentChartType: import("
|
|
528
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
535
529
|
pasteDialog: {
|
|
536
530
|
shown: false;
|
|
537
531
|
data: null;
|
|
@@ -539,9 +533,8 @@ export declare const actionupdateFrameRendering: {
|
|
|
539
533
|
shown: true;
|
|
540
534
|
data: import("../charts").Spreadsheet;
|
|
541
535
|
};
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
536
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
537
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
545
538
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
546
539
|
originSnapOffset: {
|
|
547
540
|
x: number;
|
|
@@ -552,16 +545,14 @@ export declare const actionupdateFrameRendering: {
|
|
|
552
545
|
followedBy: Set<import("../types").SocketId>;
|
|
553
546
|
isCropping: boolean;
|
|
554
547
|
croppingElementId: string | null;
|
|
555
|
-
searchMatches:
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
}[];
|
|
564
|
-
}[];
|
|
548
|
+
searchMatches: Readonly<{
|
|
549
|
+
focusedId: string | null;
|
|
550
|
+
matches: readonly import("../types").SearchMatch[];
|
|
551
|
+
}> | null;
|
|
552
|
+
activeLockedId: string | null;
|
|
553
|
+
lockedMultiSelections: {
|
|
554
|
+
[groupId: string]: true;
|
|
555
|
+
};
|
|
565
556
|
};
|
|
566
557
|
captureUpdate: "EVENTUALLY";
|
|
567
558
|
};
|
|
@@ -577,12 +568,13 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
577
568
|
};
|
|
578
569
|
icon: import("react/jsx-runtime").JSX.Element;
|
|
579
570
|
viewMode: false;
|
|
580
|
-
perform: (elements: readonly import("
|
|
581
|
-
elements: readonly import("
|
|
571
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
572
|
+
elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
|
|
582
573
|
appState: {
|
|
583
574
|
activeTool: {
|
|
584
575
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
585
576
|
locked: boolean;
|
|
577
|
+
fromSelection: boolean;
|
|
586
578
|
} & import("../types").ActiveTool;
|
|
587
579
|
contextMenu: {
|
|
588
580
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
@@ -593,17 +585,17 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
593
585
|
isLoading: boolean;
|
|
594
586
|
errorMessage: import("react").ReactNode;
|
|
595
587
|
activeEmbeddable: {
|
|
596
|
-
element: import("
|
|
597
|
-
state: "
|
|
588
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
589
|
+
state: "active" | "hover";
|
|
598
590
|
} | null;
|
|
599
|
-
newElement: import("
|
|
600
|
-
resizingElement: import("
|
|
601
|
-
multiElement: import("
|
|
602
|
-
selectionElement: import("
|
|
591
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
592
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
593
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
594
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
603
595
|
isBindingEnabled: boolean;
|
|
604
|
-
startBoundElement: import("
|
|
605
|
-
suggestedBindings: import("
|
|
606
|
-
frameToHighlight: import("
|
|
596
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
597
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
598
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
607
599
|
frameRendering: {
|
|
608
600
|
enabled: boolean;
|
|
609
601
|
name: boolean;
|
|
@@ -611,9 +603,8 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
611
603
|
clip: boolean;
|
|
612
604
|
};
|
|
613
605
|
editingFrame: string | null;
|
|
614
|
-
elementsToHighlight: import("
|
|
615
|
-
editingTextElement: import("
|
|
616
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
606
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
607
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
617
608
|
penMode: boolean;
|
|
618
609
|
penDetected: boolean;
|
|
619
610
|
exportBackground: boolean;
|
|
@@ -622,18 +613,18 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
622
613
|
exportScale: number;
|
|
623
614
|
currentItemStrokeColor: string;
|
|
624
615
|
currentItemBackgroundColor: string;
|
|
625
|
-
currentItemFillStyle: import("
|
|
616
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
626
617
|
currentItemStrokeWidth: number;
|
|
627
|
-
currentItemStrokeStyle: import("
|
|
618
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
628
619
|
currentItemRoughness: number;
|
|
629
620
|
currentItemOpacity: number;
|
|
630
621
|
currentItemFontFamily: number;
|
|
631
622
|
currentItemFontSize: number;
|
|
632
623
|
currentItemTextAlign: string;
|
|
633
|
-
currentItemStartArrowhead: import("
|
|
634
|
-
currentItemEndArrowhead: import("
|
|
624
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
625
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
635
626
|
currentHoveredFontFamily: number | null;
|
|
636
|
-
currentItemRoundness: import("
|
|
627
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
637
628
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
638
629
|
viewBackgroundColor: string;
|
|
639
630
|
scrollX: number;
|
|
@@ -656,7 +647,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
656
647
|
name: "imageExport" | "help" | "jsonExport";
|
|
657
648
|
} | {
|
|
658
649
|
name: "ttd";
|
|
659
|
-
tab: "text-to-diagram"
|
|
650
|
+
tab: "mermaid" | "text-to-diagram";
|
|
660
651
|
} | {
|
|
661
652
|
name: "commandPalette";
|
|
662
653
|
} | {
|
|
@@ -664,7 +655,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
664
655
|
sourceElementId: string;
|
|
665
656
|
} | null;
|
|
666
657
|
defaultSidebarDockedPreference: boolean;
|
|
667
|
-
lastPointerDownWith: import("
|
|
658
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
668
659
|
selectedElementIds: Readonly<{
|
|
669
660
|
[id: string]: true;
|
|
670
661
|
}>;
|
|
@@ -682,7 +673,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
682
673
|
duration?: number | undefined;
|
|
683
674
|
} | null;
|
|
684
675
|
zenModeEnabled: boolean;
|
|
685
|
-
theme: import("
|
|
676
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
686
677
|
gridSize: number;
|
|
687
678
|
gridStep: number;
|
|
688
679
|
gridModeEnabled: boolean;
|
|
@@ -703,7 +694,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
703
694
|
[id: string]: true;
|
|
704
695
|
}> | undefined;
|
|
705
696
|
username?: string | null | undefined;
|
|
706
|
-
userState?: import("
|
|
697
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
707
698
|
color?: {
|
|
708
699
|
background: string;
|
|
709
700
|
stroke: string;
|
|
@@ -720,7 +711,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
720
711
|
open: boolean;
|
|
721
712
|
panels: number;
|
|
722
713
|
};
|
|
723
|
-
currentChartType: import("
|
|
714
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
724
715
|
pasteDialog: {
|
|
725
716
|
shown: false;
|
|
726
717
|
data: null;
|
|
@@ -728,9 +719,8 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
728
719
|
shown: true;
|
|
729
720
|
data: import("../charts").Spreadsheet;
|
|
730
721
|
};
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
722
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
723
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
734
724
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
735
725
|
originSnapOffset: {
|
|
736
726
|
x: number;
|
|
@@ -741,16 +731,14 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
741
731
|
followedBy: Set<import("../types").SocketId>;
|
|
742
732
|
isCropping: boolean;
|
|
743
733
|
croppingElementId: string | null;
|
|
744
|
-
searchMatches:
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
}[];
|
|
753
|
-
}[];
|
|
734
|
+
searchMatches: Readonly<{
|
|
735
|
+
focusedId: string | null;
|
|
736
|
+
matches: readonly import("../types").SearchMatch[];
|
|
737
|
+
}> | null;
|
|
738
|
+
activeLockedId: string | null;
|
|
739
|
+
lockedMultiSelections: {
|
|
740
|
+
[groupId: string]: true;
|
|
741
|
+
};
|
|
754
742
|
};
|
|
755
743
|
captureUpdate: "EVENTUALLY";
|
|
756
744
|
};
|
|
@@ -765,18 +753,18 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
765
753
|
category: "element";
|
|
766
754
|
};
|
|
767
755
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
768
|
-
perform: (elements: readonly import("
|
|
769
|
-
elements: (
|
|
756
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
757
|
+
elements: ((Readonly<{
|
|
770
758
|
id: string;
|
|
771
759
|
x: number;
|
|
772
760
|
y: number;
|
|
773
761
|
strokeColor: string;
|
|
774
762
|
backgroundColor: string;
|
|
775
|
-
fillStyle: import("
|
|
763
|
+
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
776
764
|
strokeWidth: number;
|
|
777
|
-
strokeStyle: import("
|
|
765
|
+
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
778
766
|
roundness: {
|
|
779
|
-
type: import("
|
|
767
|
+
type: import("@excalidraw/element/types").RoundnessType;
|
|
780
768
|
value?: number | undefined;
|
|
781
769
|
} | null;
|
|
782
770
|
roughness: number;
|
|
@@ -787,33 +775,39 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
787
775
|
seed: number;
|
|
788
776
|
version: number;
|
|
789
777
|
versionNonce: number;
|
|
790
|
-
index: import("
|
|
778
|
+
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
791
779
|
isDeleted: boolean;
|
|
792
780
|
groupIds: readonly string[];
|
|
793
781
|
frameId: string | null;
|
|
794
782
|
boundElements: readonly Readonly<{
|
|
795
783
|
id: string;
|
|
796
|
-
type: "
|
|
784
|
+
type: "arrow" | "text";
|
|
797
785
|
}>[] | null;
|
|
798
786
|
updated: number;
|
|
799
787
|
link: string | null;
|
|
800
788
|
locked: boolean;
|
|
801
789
|
customData?: Record<string, any> | undefined;
|
|
790
|
+
}> & Readonly<{
|
|
791
|
+
type: "line" | "arrow";
|
|
792
|
+
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
793
|
+
lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
|
|
794
|
+
startBinding: import("@excalidraw/element/types").PointBinding | null;
|
|
795
|
+
endBinding: import("@excalidraw/element/types").PointBinding | null;
|
|
796
|
+
startArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
797
|
+
endArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
802
798
|
}> & {
|
|
803
|
-
|
|
804
|
-
} & {
|
|
805
|
-
index: import("../element/types").FractionalIndex;
|
|
799
|
+
index: import("@excalidraw/element/types").FractionalIndex;
|
|
806
800
|
}) | (Readonly<{
|
|
807
801
|
id: string;
|
|
808
802
|
x: number;
|
|
809
803
|
y: number;
|
|
810
804
|
strokeColor: string;
|
|
811
805
|
backgroundColor: string;
|
|
812
|
-
fillStyle: import("
|
|
806
|
+
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
813
807
|
strokeWidth: number;
|
|
814
|
-
strokeStyle: import("
|
|
808
|
+
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
815
809
|
roundness: {
|
|
816
|
-
type: import("
|
|
810
|
+
type: import("@excalidraw/element/types").RoundnessType;
|
|
817
811
|
value?: number | undefined;
|
|
818
812
|
} | null;
|
|
819
813
|
roughness: number;
|
|
@@ -824,33 +818,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
824
818
|
seed: number;
|
|
825
819
|
version: number;
|
|
826
820
|
versionNonce: number;
|
|
827
|
-
index: import("
|
|
821
|
+
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
828
822
|
isDeleted: boolean;
|
|
829
823
|
groupIds: readonly string[];
|
|
830
824
|
frameId: string | null;
|
|
831
825
|
boundElements: readonly Readonly<{
|
|
832
826
|
id: string;
|
|
833
|
-
type: "
|
|
827
|
+
type: "arrow" | "text";
|
|
834
828
|
}>[] | null;
|
|
835
829
|
updated: number;
|
|
836
830
|
link: string | null;
|
|
837
831
|
locked: boolean;
|
|
838
832
|
customData?: Record<string, any> | undefined;
|
|
839
833
|
}> & {
|
|
840
|
-
type: "
|
|
834
|
+
type: "selection";
|
|
841
835
|
} & {
|
|
842
|
-
index: import("
|
|
836
|
+
index: import("@excalidraw/element/types").FractionalIndex;
|
|
843
837
|
}) | (Readonly<{
|
|
844
838
|
id: string;
|
|
845
839
|
x: number;
|
|
846
840
|
y: number;
|
|
847
841
|
strokeColor: string;
|
|
848
842
|
backgroundColor: string;
|
|
849
|
-
fillStyle: import("
|
|
843
|
+
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
850
844
|
strokeWidth: number;
|
|
851
|
-
strokeStyle: import("
|
|
845
|
+
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
852
846
|
roundness: {
|
|
853
|
-
type: import("
|
|
847
|
+
type: import("@excalidraw/element/types").RoundnessType;
|
|
854
848
|
value?: number | undefined;
|
|
855
849
|
} | null;
|
|
856
850
|
roughness: number;
|
|
@@ -861,33 +855,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
861
855
|
seed: number;
|
|
862
856
|
version: number;
|
|
863
857
|
versionNonce: number;
|
|
864
|
-
index: import("
|
|
858
|
+
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
865
859
|
isDeleted: boolean;
|
|
866
860
|
groupIds: readonly string[];
|
|
867
861
|
frameId: string | null;
|
|
868
862
|
boundElements: readonly Readonly<{
|
|
869
863
|
id: string;
|
|
870
|
-
type: "
|
|
864
|
+
type: "arrow" | "text";
|
|
871
865
|
}>[] | null;
|
|
872
866
|
updated: number;
|
|
873
867
|
link: string | null;
|
|
874
868
|
locked: boolean;
|
|
875
869
|
customData?: Record<string, any> | undefined;
|
|
876
870
|
}> & {
|
|
877
|
-
type: "
|
|
871
|
+
type: "rectangle";
|
|
878
872
|
} & {
|
|
879
|
-
index: import("
|
|
873
|
+
index: import("@excalidraw/element/types").FractionalIndex;
|
|
880
874
|
}) | (Readonly<{
|
|
881
875
|
id: string;
|
|
882
876
|
x: number;
|
|
883
877
|
y: number;
|
|
884
878
|
strokeColor: string;
|
|
885
879
|
backgroundColor: string;
|
|
886
|
-
fillStyle: import("
|
|
880
|
+
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
887
881
|
strokeWidth: number;
|
|
888
|
-
strokeStyle: import("
|
|
882
|
+
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
889
883
|
roundness: {
|
|
890
|
-
type: import("
|
|
884
|
+
type: import("@excalidraw/element/types").RoundnessType;
|
|
891
885
|
value?: number | undefined;
|
|
892
886
|
} | null;
|
|
893
887
|
roughness: number;
|
|
@@ -898,33 +892,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
898
892
|
seed: number;
|
|
899
893
|
version: number;
|
|
900
894
|
versionNonce: number;
|
|
901
|
-
index: import("
|
|
895
|
+
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
902
896
|
isDeleted: boolean;
|
|
903
897
|
groupIds: readonly string[];
|
|
904
898
|
frameId: string | null;
|
|
905
899
|
boundElements: readonly Readonly<{
|
|
906
900
|
id: string;
|
|
907
|
-
type: "
|
|
901
|
+
type: "arrow" | "text";
|
|
908
902
|
}>[] | null;
|
|
909
903
|
updated: number;
|
|
910
904
|
link: string | null;
|
|
911
905
|
locked: boolean;
|
|
912
906
|
customData?: Record<string, any> | undefined;
|
|
913
907
|
}> & {
|
|
914
|
-
type: "
|
|
908
|
+
type: "diamond";
|
|
915
909
|
} & {
|
|
916
|
-
index: import("
|
|
910
|
+
index: import("@excalidraw/element/types").FractionalIndex;
|
|
917
911
|
}) | (Readonly<{
|
|
918
912
|
id: string;
|
|
919
913
|
x: number;
|
|
920
914
|
y: number;
|
|
921
915
|
strokeColor: string;
|
|
922
916
|
backgroundColor: string;
|
|
923
|
-
fillStyle: import("
|
|
917
|
+
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
924
918
|
strokeWidth: number;
|
|
925
|
-
strokeStyle: import("
|
|
919
|
+
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
926
920
|
roundness: {
|
|
927
|
-
type: import("
|
|
921
|
+
type: import("@excalidraw/element/types").RoundnessType;
|
|
928
922
|
value?: number | undefined;
|
|
929
923
|
} | null;
|
|
930
924
|
roughness: number;
|
|
@@ -935,44 +929,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
935
929
|
seed: number;
|
|
936
930
|
version: number;
|
|
937
931
|
versionNonce: number;
|
|
938
|
-
index: import("
|
|
932
|
+
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
939
933
|
isDeleted: boolean;
|
|
940
934
|
groupIds: readonly string[];
|
|
941
935
|
frameId: string | null;
|
|
942
936
|
boundElements: readonly Readonly<{
|
|
943
937
|
id: string;
|
|
944
|
-
type: "
|
|
938
|
+
type: "arrow" | "text";
|
|
945
939
|
}>[] | null;
|
|
946
940
|
updated: number;
|
|
947
941
|
link: string | null;
|
|
948
942
|
locked: boolean;
|
|
949
943
|
customData?: Record<string, any> | undefined;
|
|
950
|
-
}> & Readonly<{
|
|
951
|
-
type: "text";
|
|
952
|
-
fontSize: number;
|
|
953
|
-
fontFamily: number;
|
|
954
|
-
text: string;
|
|
955
|
-
textAlign: string;
|
|
956
|
-
verticalAlign: string;
|
|
957
|
-
containerId: string | null;
|
|
958
|
-
originalText: string;
|
|
959
|
-
autoResize: boolean;
|
|
960
|
-
lineHeight: number & {
|
|
961
|
-
_brand: "unitlessLineHeight";
|
|
962
|
-
};
|
|
963
944
|
}> & {
|
|
964
|
-
|
|
945
|
+
type: "ellipse";
|
|
946
|
+
} & {
|
|
947
|
+
index: import("@excalidraw/element/types").FractionalIndex;
|
|
965
948
|
}) | (Readonly<{
|
|
966
949
|
id: string;
|
|
967
950
|
x: number;
|
|
968
951
|
y: number;
|
|
969
952
|
strokeColor: string;
|
|
970
953
|
backgroundColor: string;
|
|
971
|
-
fillStyle: import("
|
|
954
|
+
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
972
955
|
strokeWidth: number;
|
|
973
|
-
strokeStyle: import("
|
|
956
|
+
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
974
957
|
roundness: {
|
|
975
|
-
type: import("
|
|
958
|
+
type: import("@excalidraw/element/types").RoundnessType;
|
|
976
959
|
value?: number | undefined;
|
|
977
960
|
} | null;
|
|
978
961
|
roughness: number;
|
|
@@ -983,39 +966,33 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
983
966
|
seed: number;
|
|
984
967
|
version: number;
|
|
985
968
|
versionNonce: number;
|
|
986
|
-
index: import("
|
|
969
|
+
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
987
970
|
isDeleted: boolean;
|
|
988
971
|
groupIds: readonly string[];
|
|
989
972
|
frameId: string | null;
|
|
990
973
|
boundElements: readonly Readonly<{
|
|
991
974
|
id: string;
|
|
992
|
-
type: "
|
|
975
|
+
type: "arrow" | "text";
|
|
993
976
|
}>[] | null;
|
|
994
977
|
updated: number;
|
|
995
978
|
link: string | null;
|
|
996
979
|
locked: boolean;
|
|
997
980
|
customData?: Record<string, any> | undefined;
|
|
998
981
|
}> & Readonly<{
|
|
999
|
-
type: "
|
|
1000
|
-
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
1001
|
-
lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
|
|
1002
|
-
startBinding: import("../element/types").PointBinding | null;
|
|
1003
|
-
endBinding: import("../element/types").PointBinding | null;
|
|
1004
|
-
startArrowhead: import("../element/types").Arrowhead | null;
|
|
1005
|
-
endArrowhead: import("../element/types").Arrowhead | null;
|
|
982
|
+
type: "embeddable";
|
|
1006
983
|
}> & {
|
|
1007
|
-
index: import("
|
|
984
|
+
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1008
985
|
}) | (Readonly<{
|
|
1009
986
|
id: string;
|
|
1010
987
|
x: number;
|
|
1011
988
|
y: number;
|
|
1012
989
|
strokeColor: string;
|
|
1013
990
|
backgroundColor: string;
|
|
1014
|
-
fillStyle: import("
|
|
991
|
+
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1015
992
|
strokeWidth: number;
|
|
1016
|
-
strokeStyle: import("
|
|
993
|
+
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1017
994
|
roundness: {
|
|
1018
|
-
type: import("
|
|
995
|
+
type: import("@excalidraw/element/types").RoundnessType;
|
|
1019
996
|
value?: number | undefined;
|
|
1020
997
|
} | null;
|
|
1021
998
|
roughness: number;
|
|
@@ -1026,37 +1003,36 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1026
1003
|
seed: number;
|
|
1027
1004
|
version: number;
|
|
1028
1005
|
versionNonce: number;
|
|
1029
|
-
index: import("
|
|
1006
|
+
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1030
1007
|
isDeleted: boolean;
|
|
1031
1008
|
groupIds: readonly string[];
|
|
1032
1009
|
frameId: string | null;
|
|
1033
1010
|
boundElements: readonly Readonly<{
|
|
1034
1011
|
id: string;
|
|
1035
|
-
type: "
|
|
1012
|
+
type: "arrow" | "text";
|
|
1036
1013
|
}>[] | null;
|
|
1037
1014
|
updated: number;
|
|
1038
1015
|
link: string | null;
|
|
1039
1016
|
locked: boolean;
|
|
1040
1017
|
customData?: Record<string, any> | undefined;
|
|
1041
1018
|
}> & Readonly<{
|
|
1042
|
-
type: "
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
|
|
1019
|
+
type: "iframe";
|
|
1020
|
+
customData?: {
|
|
1021
|
+
generationData?: import("@excalidraw/element/types").MagicGenerationData | undefined;
|
|
1022
|
+
} | undefined;
|
|
1047
1023
|
}> & {
|
|
1048
|
-
index: import("
|
|
1024
|
+
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1049
1025
|
}) | (Readonly<{
|
|
1050
1026
|
id: string;
|
|
1051
1027
|
x: number;
|
|
1052
1028
|
y: number;
|
|
1053
1029
|
strokeColor: string;
|
|
1054
1030
|
backgroundColor: string;
|
|
1055
|
-
fillStyle: import("
|
|
1031
|
+
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1056
1032
|
strokeWidth: number;
|
|
1057
|
-
strokeStyle: import("
|
|
1033
|
+
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1058
1034
|
roundness: {
|
|
1059
|
-
type: import("
|
|
1035
|
+
type: import("@excalidraw/element/types").RoundnessType;
|
|
1060
1036
|
value?: number | undefined;
|
|
1061
1037
|
} | null;
|
|
1062
1038
|
roughness: number;
|
|
@@ -1067,13 +1043,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1067
1043
|
seed: number;
|
|
1068
1044
|
version: number;
|
|
1069
1045
|
versionNonce: number;
|
|
1070
|
-
index: import("
|
|
1046
|
+
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1071
1047
|
isDeleted: boolean;
|
|
1072
1048
|
groupIds: readonly string[];
|
|
1073
1049
|
frameId: string | null;
|
|
1074
1050
|
boundElements: readonly Readonly<{
|
|
1075
1051
|
id: string;
|
|
1076
|
-
type: "
|
|
1052
|
+
type: "arrow" | "text";
|
|
1077
1053
|
}>[] | null;
|
|
1078
1054
|
updated: number;
|
|
1079
1055
|
link: string | null;
|
|
@@ -1081,23 +1057,23 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1081
1057
|
customData?: Record<string, any> | undefined;
|
|
1082
1058
|
}> & Readonly<{
|
|
1083
1059
|
type: "image";
|
|
1084
|
-
fileId: import("
|
|
1085
|
-
status: "
|
|
1060
|
+
fileId: import("@excalidraw/element/types").FileId | null;
|
|
1061
|
+
status: "pending" | "error" | "saved";
|
|
1086
1062
|
scale: [number, number];
|
|
1087
|
-
crop: import("
|
|
1063
|
+
crop: import("@excalidraw/element/types").ImageCrop | null;
|
|
1088
1064
|
}> & {
|
|
1089
|
-
index: import("
|
|
1065
|
+
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1090
1066
|
}) | (Readonly<{
|
|
1091
1067
|
id: string;
|
|
1092
1068
|
x: number;
|
|
1093
1069
|
y: number;
|
|
1094
1070
|
strokeColor: string;
|
|
1095
1071
|
backgroundColor: string;
|
|
1096
|
-
fillStyle: import("
|
|
1072
|
+
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1097
1073
|
strokeWidth: number;
|
|
1098
|
-
strokeStyle: import("
|
|
1074
|
+
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1099
1075
|
roundness: {
|
|
1100
|
-
type: import("
|
|
1076
|
+
type: import("@excalidraw/element/types").RoundnessType;
|
|
1101
1077
|
value?: number | undefined;
|
|
1102
1078
|
} | null;
|
|
1103
1079
|
roughness: number;
|
|
@@ -1108,13 +1084,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1108
1084
|
seed: number;
|
|
1109
1085
|
version: number;
|
|
1110
1086
|
versionNonce: number;
|
|
1111
|
-
index: import("
|
|
1087
|
+
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1112
1088
|
isDeleted: boolean;
|
|
1113
1089
|
groupIds: readonly string[];
|
|
1114
1090
|
frameId: string | null;
|
|
1115
1091
|
boundElements: readonly Readonly<{
|
|
1116
1092
|
id: string;
|
|
1117
|
-
type: "
|
|
1093
|
+
type: "arrow" | "text";
|
|
1118
1094
|
}>[] | null;
|
|
1119
1095
|
updated: number;
|
|
1120
1096
|
link: string | null;
|
|
@@ -1124,18 +1100,18 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1124
1100
|
type: "frame";
|
|
1125
1101
|
name: string | null;
|
|
1126
1102
|
} & {
|
|
1127
|
-
index: import("
|
|
1103
|
+
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1128
1104
|
}) | (Readonly<{
|
|
1129
1105
|
id: string;
|
|
1130
1106
|
x: number;
|
|
1131
1107
|
y: number;
|
|
1132
1108
|
strokeColor: string;
|
|
1133
1109
|
backgroundColor: string;
|
|
1134
|
-
fillStyle: import("
|
|
1110
|
+
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1135
1111
|
strokeWidth: number;
|
|
1136
|
-
strokeStyle: import("
|
|
1112
|
+
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1137
1113
|
roundness: {
|
|
1138
|
-
type: import("
|
|
1114
|
+
type: import("@excalidraw/element/types").RoundnessType;
|
|
1139
1115
|
value?: number | undefined;
|
|
1140
1116
|
} | null;
|
|
1141
1117
|
roughness: number;
|
|
@@ -1146,13 +1122,13 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1146
1122
|
seed: number;
|
|
1147
1123
|
version: number;
|
|
1148
1124
|
versionNonce: number;
|
|
1149
|
-
index: import("
|
|
1125
|
+
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1150
1126
|
isDeleted: boolean;
|
|
1151
1127
|
groupIds: readonly string[];
|
|
1152
1128
|
frameId: string | null;
|
|
1153
1129
|
boundElements: readonly Readonly<{
|
|
1154
1130
|
id: string;
|
|
1155
|
-
type: "
|
|
1131
|
+
type: "arrow" | "text";
|
|
1156
1132
|
}>[] | null;
|
|
1157
1133
|
updated: number;
|
|
1158
1134
|
link: string | null;
|
|
@@ -1162,18 +1138,18 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1162
1138
|
type: "magicframe";
|
|
1163
1139
|
name: string | null;
|
|
1164
1140
|
} & {
|
|
1165
|
-
index: import("
|
|
1141
|
+
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1166
1142
|
}) | (Readonly<{
|
|
1167
1143
|
id: string;
|
|
1168
1144
|
x: number;
|
|
1169
1145
|
y: number;
|
|
1170
1146
|
strokeColor: string;
|
|
1171
1147
|
backgroundColor: string;
|
|
1172
|
-
fillStyle: import("
|
|
1148
|
+
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1173
1149
|
strokeWidth: number;
|
|
1174
|
-
strokeStyle: import("
|
|
1150
|
+
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1175
1151
|
roundness: {
|
|
1176
|
-
type: import("
|
|
1152
|
+
type: import("@excalidraw/element/types").RoundnessType;
|
|
1177
1153
|
value?: number | undefined;
|
|
1178
1154
|
} | null;
|
|
1179
1155
|
roughness: number;
|
|
@@ -1184,36 +1160,44 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1184
1160
|
seed: number;
|
|
1185
1161
|
version: number;
|
|
1186
1162
|
versionNonce: number;
|
|
1187
|
-
index: import("
|
|
1163
|
+
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1188
1164
|
isDeleted: boolean;
|
|
1189
1165
|
groupIds: readonly string[];
|
|
1190
1166
|
frameId: string | null;
|
|
1191
1167
|
boundElements: readonly Readonly<{
|
|
1192
1168
|
id: string;
|
|
1193
|
-
type: "
|
|
1169
|
+
type: "arrow" | "text";
|
|
1194
1170
|
}>[] | null;
|
|
1195
1171
|
updated: number;
|
|
1196
1172
|
link: string | null;
|
|
1197
1173
|
locked: boolean;
|
|
1198
1174
|
customData?: Record<string, any> | undefined;
|
|
1199
1175
|
}> & Readonly<{
|
|
1200
|
-
type: "
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1176
|
+
type: "text";
|
|
1177
|
+
fontSize: number;
|
|
1178
|
+
fontFamily: number;
|
|
1179
|
+
text: string;
|
|
1180
|
+
textAlign: string;
|
|
1181
|
+
verticalAlign: string;
|
|
1182
|
+
containerId: string | null;
|
|
1183
|
+
originalText: string;
|
|
1184
|
+
autoResize: boolean;
|
|
1185
|
+
lineHeight: number & {
|
|
1186
|
+
_brand: "unitlessLineHeight";
|
|
1187
|
+
};
|
|
1204
1188
|
}> & {
|
|
1205
|
-
index: import("
|
|
1189
|
+
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1206
1190
|
}) | (Readonly<{
|
|
1207
1191
|
id: string;
|
|
1208
1192
|
x: number;
|
|
1209
1193
|
y: number;
|
|
1210
1194
|
strokeColor: string;
|
|
1211
1195
|
backgroundColor: string;
|
|
1212
|
-
fillStyle: import("
|
|
1196
|
+
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
1213
1197
|
strokeWidth: number;
|
|
1214
|
-
strokeStyle: import("
|
|
1198
|
+
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
1215
1199
|
roundness: {
|
|
1216
|
-
type: import("
|
|
1200
|
+
type: import("@excalidraw/element/types").RoundnessType;
|
|
1217
1201
|
value?: number | undefined;
|
|
1218
1202
|
} | null;
|
|
1219
1203
|
roughness: number;
|
|
@@ -1224,23 +1208,27 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1224
1208
|
seed: number;
|
|
1225
1209
|
version: number;
|
|
1226
1210
|
versionNonce: number;
|
|
1227
|
-
index: import("
|
|
1211
|
+
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
1228
1212
|
isDeleted: boolean;
|
|
1229
1213
|
groupIds: readonly string[];
|
|
1230
1214
|
frameId: string | null;
|
|
1231
1215
|
boundElements: readonly Readonly<{
|
|
1232
1216
|
id: string;
|
|
1233
|
-
type: "
|
|
1217
|
+
type: "arrow" | "text";
|
|
1234
1218
|
}>[] | null;
|
|
1235
1219
|
updated: number;
|
|
1236
1220
|
link: string | null;
|
|
1237
1221
|
locked: boolean;
|
|
1238
1222
|
customData?: Record<string, any> | undefined;
|
|
1239
1223
|
}> & Readonly<{
|
|
1240
|
-
type: "
|
|
1224
|
+
type: "freedraw";
|
|
1225
|
+
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
1226
|
+
pressures: readonly number[];
|
|
1227
|
+
simulatePressure: boolean;
|
|
1228
|
+
lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
|
|
1241
1229
|
}> & {
|
|
1242
|
-
index: import("
|
|
1243
|
-
}))[];
|
|
1230
|
+
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1231
|
+
}) | import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameElement>)[];
|
|
1244
1232
|
appState: {
|
|
1245
1233
|
selectedElementIds: {
|
|
1246
1234
|
[x: string]: true;
|